1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59 for bookview 3.2.1. 4# 5# Copyright (C) 2003 Free Software Foundation, Inc. 6# This configure script is free software; the Free Software Foundation 7# gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME='bookview' 269PACKAGE_TARNAME='bookview' 270PACKAGE_VERSION='3.2.1' 271PACKAGE_STRING='bookview 3.2.1' 272PACKAGE_BUGREPORT='' 273 274ac_unique_file="bookview/bookview.in" 275ac_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 pkgdocdir WISH PERL LIBOBJS LTLIBOBJS' 276ac_subst_files='' 277 278# Initialize some variables set by options. 279ac_init_help= 280ac_init_version=false 281# The variables have the same names as the options, with 282# dashes changed to underlines. 283cache_file=/dev/null 284exec_prefix=NONE 285no_create= 286no_recursion= 287prefix=NONE 288program_prefix=NONE 289program_suffix=NONE 290program_transform_name=s,x,x, 291silent= 292site= 293srcdir= 294verbose= 295x_includes=NONE 296x_libraries=NONE 297 298# Installation directory options. 299# These are left unexpanded so users can "make install exec_prefix=/foo" 300# and all the variables that are supposed to be based on exec_prefix 301# by default will actually change. 302# Use braces instead of parens because sh, perl, etc. also accept them. 303bindir='${exec_prefix}/bin' 304sbindir='${exec_prefix}/sbin' 305libexecdir='${exec_prefix}/libexec' 306datadir='${prefix}/share' 307sysconfdir='${prefix}/etc' 308sharedstatedir='${prefix}/com' 309localstatedir='${prefix}/var' 310libdir='${exec_prefix}/lib' 311includedir='${prefix}/include' 312oldincludedir='/usr/include' 313infodir='${prefix}/info' 314mandir='${prefix}/man' 315 316ac_prev= 317for ac_option 318do 319 # If the previous option needs an argument, assign it. 320 if test -n "$ac_prev"; then 321 eval "$ac_prev=\$ac_option" 322 ac_prev= 323 continue 324 fi 325 326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 327 328 # Accept the important Cygnus configure options, so we can diagnose typos. 329 330 case $ac_option in 331 332 -bindir | --bindir | --bindi | --bind | --bin | --bi) 333 ac_prev=bindir ;; 334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 335 bindir=$ac_optarg ;; 336 337 -build | --build | --buil | --bui | --bu) 338 ac_prev=build_alias ;; 339 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 340 build_alias=$ac_optarg ;; 341 342 -cache-file | --cache-file | --cache-fil | --cache-fi \ 343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 344 ac_prev=cache_file ;; 345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 347 cache_file=$ac_optarg ;; 348 349 --config-cache | -C) 350 cache_file=config.cache ;; 351 352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 353 ac_prev=datadir ;; 354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 355 | --da=*) 356 datadir=$ac_optarg ;; 357 358 -disable-* | --disable-*) 359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 360 # Reject names that are not valid shell variable names. 361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 363 { (exit 1); exit 1; }; } 364 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 365 eval "enable_$ac_feature=no" ;; 366 367 -enable-* | --enable-*) 368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 369 # Reject names that are not valid shell variable names. 370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 372 { (exit 1); exit 1; }; } 373 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 374 case $ac_option in 375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 376 *) ac_optarg=yes ;; 377 esac 378 eval "enable_$ac_feature='$ac_optarg'" ;; 379 380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 382 | --exec | --exe | --ex) 383 ac_prev=exec_prefix ;; 384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 386 | --exec=* | --exe=* | --ex=*) 387 exec_prefix=$ac_optarg ;; 388 389 -gas | --gas | --ga | --g) 390 # Obsolete; use --with-gas. 391 with_gas=yes ;; 392 393 -help | --help | --hel | --he | -h) 394 ac_init_help=long ;; 395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 396 ac_init_help=recursive ;; 397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 398 ac_init_help=short ;; 399 400 -host | --host | --hos | --ho) 401 ac_prev=host_alias ;; 402 -host=* | --host=* | --hos=* | --ho=*) 403 host_alias=$ac_optarg ;; 404 405 -includedir | --includedir | --includedi | --included | --include \ 406 | --includ | --inclu | --incl | --inc) 407 ac_prev=includedir ;; 408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 409 | --includ=* | --inclu=* | --incl=* | --inc=*) 410 includedir=$ac_optarg ;; 411 412 -infodir | --infodir | --infodi | --infod | --info | --inf) 413 ac_prev=infodir ;; 414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 415 infodir=$ac_optarg ;; 416 417 -libdir | --libdir | --libdi | --libd) 418 ac_prev=libdir ;; 419 -libdir=* | --libdir=* | --libdi=* | --libd=*) 420 libdir=$ac_optarg ;; 421 422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 423 | --libexe | --libex | --libe) 424 ac_prev=libexecdir ;; 425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 426 | --libexe=* | --libex=* | --libe=*) 427 libexecdir=$ac_optarg ;; 428 429 -localstatedir | --localstatedir | --localstatedi | --localstated \ 430 | --localstate | --localstat | --localsta | --localst \ 431 | --locals | --local | --loca | --loc | --lo) 432 ac_prev=localstatedir ;; 433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 436 localstatedir=$ac_optarg ;; 437 438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 439 ac_prev=mandir ;; 440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 441 mandir=$ac_optarg ;; 442 443 -nfp | --nfp | --nf) 444 # Obsolete; use --without-fp. 445 with_fp=no ;; 446 447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 448 | --no-cr | --no-c | -n) 449 no_create=yes ;; 450 451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 453 no_recursion=yes ;; 454 455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 457 | --oldin | --oldi | --old | --ol | --o) 458 ac_prev=oldincludedir ;; 459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 462 oldincludedir=$ac_optarg ;; 463 464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 465 ac_prev=prefix ;; 466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 467 prefix=$ac_optarg ;; 468 469 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 470 | --program-pre | --program-pr | --program-p) 471 ac_prev=program_prefix ;; 472 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 474 program_prefix=$ac_optarg ;; 475 476 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 477 | --program-suf | --program-su | --program-s) 478 ac_prev=program_suffix ;; 479 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 481 program_suffix=$ac_optarg ;; 482 483 -program-transform-name | --program-transform-name \ 484 | --program-transform-nam | --program-transform-na \ 485 | --program-transform-n | --program-transform- \ 486 | --program-transform | --program-transfor \ 487 | --program-transfo | --program-transf \ 488 | --program-trans | --program-tran \ 489 | --progr-tra | --program-tr | --program-t) 490 ac_prev=program_transform_name ;; 491 -program-transform-name=* | --program-transform-name=* \ 492 | --program-transform-nam=* | --program-transform-na=* \ 493 | --program-transform-n=* | --program-transform-=* \ 494 | --program-transform=* | --program-transfor=* \ 495 | --program-transfo=* | --program-transf=* \ 496 | --program-trans=* | --program-tran=* \ 497 | --progr-tra=* | --program-tr=* | --program-t=*) 498 program_transform_name=$ac_optarg ;; 499 500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 501 | -silent | --silent | --silen | --sile | --sil) 502 silent=yes ;; 503 504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 505 ac_prev=sbindir ;; 506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 507 | --sbi=* | --sb=*) 508 sbindir=$ac_optarg ;; 509 510 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 512 | --sharedst | --shareds | --shared | --share | --shar \ 513 | --sha | --sh) 514 ac_prev=sharedstatedir ;; 515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 518 | --sha=* | --sh=*) 519 sharedstatedir=$ac_optarg ;; 520 521 -site | --site | --sit) 522 ac_prev=site ;; 523 -site=* | --site=* | --sit=*) 524 site=$ac_optarg ;; 525 526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 527 ac_prev=srcdir ;; 528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 529 srcdir=$ac_optarg ;; 530 531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 532 | --syscon | --sysco | --sysc | --sys | --sy) 533 ac_prev=sysconfdir ;; 534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 536 sysconfdir=$ac_optarg ;; 537 538 -target | --target | --targe | --targ | --tar | --ta | --t) 539 ac_prev=target_alias ;; 540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 541 target_alias=$ac_optarg ;; 542 543 -v | -verbose | --verbose | --verbos | --verbo | --verb) 544 verbose=yes ;; 545 546 -version | --version | --versio | --versi | --vers | -V) 547 ac_init_version=: ;; 548 549 -with-* | --with-*) 550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 551 # Reject names that are not valid shell variable names. 552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 553 { echo "$as_me: error: invalid package name: $ac_package" >&2 554 { (exit 1); exit 1; }; } 555 ac_package=`echo $ac_package| sed 's/-/_/g'` 556 case $ac_option in 557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 558 *) ac_optarg=yes ;; 559 esac 560 eval "with_$ac_package='$ac_optarg'" ;; 561 562 -without-* | --without-*) 563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 564 # Reject names that are not valid shell variable names. 565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 566 { echo "$as_me: error: invalid package name: $ac_package" >&2 567 { (exit 1); exit 1; }; } 568 ac_package=`echo $ac_package | sed 's/-/_/g'` 569 eval "with_$ac_package=no" ;; 570 571 --x) 572 # Obsolete; use --with-x. 573 with_x=yes ;; 574 575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 576 | --x-incl | --x-inc | --x-in | --x-i) 577 ac_prev=x_includes ;; 578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 580 x_includes=$ac_optarg ;; 581 582 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 584 ac_prev=x_libraries ;; 585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 587 x_libraries=$ac_optarg ;; 588 589 -*) { echo "$as_me: error: unrecognized option: $ac_option 590Try \`$0 --help' for more information." >&2 591 { (exit 1); exit 1; }; } 592 ;; 593 594 *=*) 595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 596 # Reject names that are not valid shell variable names. 597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 599 { (exit 1); exit 1; }; } 600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 601 eval "$ac_envvar='$ac_optarg'" 602 export $ac_envvar ;; 603 604 *) 605 # FIXME: should be removed in autoconf 3.0. 606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 610 ;; 611 612 esac 613done 614 615if test -n "$ac_prev"; then 616 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 617 { echo "$as_me: error: missing argument to $ac_option" >&2 618 { (exit 1); exit 1; }; } 619fi 620 621# Be sure to have absolute paths. 622for ac_var in exec_prefix prefix 623do 624 eval ac_val=$`echo $ac_var` 625 case $ac_val in 626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 628 { (exit 1); exit 1; }; };; 629 esac 630done 631 632# Be sure to have absolute paths. 633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 634 localstatedir libdir includedir oldincludedir infodir mandir 635do 636 eval ac_val=$`echo $ac_var` 637 case $ac_val in 638 [\\/$]* | ?:[\\/]* ) ;; 639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 640 { (exit 1); exit 1; }; };; 641 esac 642done 643 644# There might be people who depend on the old broken behavior: `$host' 645# used to hold the argument of --host etc. 646# FIXME: To remove some day. 647build=$build_alias 648host=$host_alias 649target=$target_alias 650 651# FIXME: To remove some day. 652if test "x$host_alias" != x; then 653 if test "x$build_alias" = x; then 654 cross_compiling=maybe 655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 656 If a cross compiler is detected then cross compile mode will be used." >&2 657 elif test "x$build_alias" != "x$host_alias"; then 658 cross_compiling=yes 659 fi 660fi 661 662ac_tool_prefix= 663test -n "$host_alias" && ac_tool_prefix=$host_alias- 664 665test "$silent" = yes && exec 6>/dev/null 666 667 668# Find the source files, if location was not specified. 669if test -z "$srcdir"; then 670 ac_srcdir_defaulted=yes 671 # Try the directory containing this script, then its parent. 672 ac_confdir=`(dirname "$0") 2>/dev/null || 673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 674 X"$0" : 'X\(//\)[^/]' \| \ 675 X"$0" : 'X\(//\)$' \| \ 676 X"$0" : 'X\(/\)' \| \ 677 . : '\(.\)' 2>/dev/null || 678echo X"$0" | 679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 680 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 681 /^X\(\/\/\)$/{ s//\1/; q; } 682 /^X\(\/\).*/{ s//\1/; q; } 683 s/.*/./; q'` 684 srcdir=$ac_confdir 685 if test ! -r $srcdir/$ac_unique_file; then 686 srcdir=.. 687 fi 688else 689 ac_srcdir_defaulted=no 690fi 691if test ! -r $srcdir/$ac_unique_file; then 692 if test "$ac_srcdir_defaulted" = yes; then 693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 694 { (exit 1); exit 1; }; } 695 else 696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 697 { (exit 1); exit 1; }; } 698 fi 699fi 700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 702 { (exit 1); exit 1; }; } 703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 704ac_env_build_alias_set=${build_alias+set} 705ac_env_build_alias_value=$build_alias 706ac_cv_env_build_alias_set=${build_alias+set} 707ac_cv_env_build_alias_value=$build_alias 708ac_env_host_alias_set=${host_alias+set} 709ac_env_host_alias_value=$host_alias 710ac_cv_env_host_alias_set=${host_alias+set} 711ac_cv_env_host_alias_value=$host_alias 712ac_env_target_alias_set=${target_alias+set} 713ac_env_target_alias_value=$target_alias 714ac_cv_env_target_alias_set=${target_alias+set} 715ac_cv_env_target_alias_value=$target_alias 716 717# 718# Report the --help message. 719# 720if test "$ac_init_help" = "long"; then 721 # Omit some internal or obsolete options to make the list less imposing. 722 # This message is too long to be a string in the A/UX 3.1 sh. 723 cat <<_ACEOF 724\`configure' configures bookview 3.2.1 to adapt to many kinds of systems. 725 726Usage: $0 [OPTION]... [VAR=VALUE]... 727 728To assign environment variables (e.g., CC, CFLAGS...), specify them as 729VAR=VALUE. See below for descriptions of some of the useful variables. 730 731Defaults for the options are specified in brackets. 732 733Configuration: 734 -h, --help display this help and exit 735 --help=short display options specific to this package 736 --help=recursive display the short help of all the included packages 737 -V, --version display version information and exit 738 -q, --quiet, --silent do not print \`checking...' messages 739 --cache-file=FILE cache test results in FILE [disabled] 740 -C, --config-cache alias for \`--cache-file=config.cache' 741 -n, --no-create do not create output files 742 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 743 744_ACEOF 745 746 cat <<_ACEOF 747Installation directories: 748 --prefix=PREFIX install architecture-independent files in PREFIX 749 [$ac_default_prefix] 750 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 751 [PREFIX] 752 753By default, \`make install' will install all the files in 754\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 755an installation prefix other than \`$ac_default_prefix' using \`--prefix', 756for instance \`--prefix=\$HOME'. 757 758For better control, use the options below. 759 760Fine tuning of the installation directories: 761 --bindir=DIR user executables [EPREFIX/bin] 762 --sbindir=DIR system admin executables [EPREFIX/sbin] 763 --libexecdir=DIR program executables [EPREFIX/libexec] 764 --datadir=DIR read-only architecture-independent data [PREFIX/share] 765 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 766 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 767 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 768 --libdir=DIR object code libraries [EPREFIX/lib] 769 --includedir=DIR C header files [PREFIX/include] 770 --oldincludedir=DIR C header files for non-gcc [/usr/include] 771 --infodir=DIR info documentation [PREFIX/info] 772 --mandir=DIR man documentation [PREFIX/man] 773_ACEOF 774 775 cat <<\_ACEOF 776 777Program names: 778 --program-prefix=PREFIX prepend PREFIX to installed program names 779 --program-suffix=SUFFIX append SUFFIX to installed program names 780 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 781_ACEOF 782fi 783 784if test -n "$ac_init_help"; then 785 case $ac_init_help in 786 short | recursive ) echo "Configuration of bookview 3.2.1:";; 787 esac 788 cat <<\_ACEOF 789 790Optional Packages: 791 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 792 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 793 --with-pkgdocdir=DIR HTML documents in DIR 794 [default=DATADIR/bookview/doc] 795 796_ACEOF 797fi 798 799if test "$ac_init_help" = "recursive"; then 800 # If there are subdirs, report their specific --help. 801 ac_popdir=`pwd` 802 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 803 test -d $ac_dir || continue 804 ac_builddir=. 805 806if test "$ac_dir" != .; then 807 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 808 # A "../" for each directory in $ac_dir_suffix. 809 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 810else 811 ac_dir_suffix= ac_top_builddir= 812fi 813 814case $srcdir in 815 .) # No --srcdir option. We are building in place. 816 ac_srcdir=. 817 if test -z "$ac_top_builddir"; then 818 ac_top_srcdir=. 819 else 820 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 821 fi ;; 822 [\\/]* | ?:[\\/]* ) # Absolute path. 823 ac_srcdir=$srcdir$ac_dir_suffix; 824 ac_top_srcdir=$srcdir ;; 825 *) # Relative path. 826 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 827 ac_top_srcdir=$ac_top_builddir$srcdir ;; 828esac 829 830# Do not use `cd foo && pwd` to compute absolute paths, because 831# the directories may not exist. 832case `pwd` in 833.) ac_abs_builddir="$ac_dir";; 834*) 835 case "$ac_dir" in 836 .) ac_abs_builddir=`pwd`;; 837 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 838 *) ac_abs_builddir=`pwd`/"$ac_dir";; 839 esac;; 840esac 841case $ac_abs_builddir in 842.) ac_abs_top_builddir=${ac_top_builddir}.;; 843*) 844 case ${ac_top_builddir}. in 845 .) ac_abs_top_builddir=$ac_abs_builddir;; 846 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 847 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 848 esac;; 849esac 850case $ac_abs_builddir in 851.) ac_abs_srcdir=$ac_srcdir;; 852*) 853 case $ac_srcdir in 854 .) ac_abs_srcdir=$ac_abs_builddir;; 855 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 856 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 857 esac;; 858esac 859case $ac_abs_builddir in 860.) ac_abs_top_srcdir=$ac_top_srcdir;; 861*) 862 case $ac_top_srcdir in 863 .) ac_abs_top_srcdir=$ac_abs_builddir;; 864 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 865 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 866 esac;; 867esac 868 869 cd $ac_dir 870 # Check for guested configure; otherwise get Cygnus style configure. 871 if test -f $ac_srcdir/configure.gnu; then 872 echo 873 $SHELL $ac_srcdir/configure.gnu --help=recursive 874 elif test -f $ac_srcdir/configure; then 875 echo 876 $SHELL $ac_srcdir/configure --help=recursive 877 elif test -f $ac_srcdir/configure.ac || 878 test -f $ac_srcdir/configure.in; then 879 echo 880 $ac_configure --help 881 else 882 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 883 fi 884 cd $ac_popdir 885 done 886fi 887 888test -n "$ac_init_help" && exit 0 889if $ac_init_version; then 890 cat <<\_ACEOF 891bookview configure 3.2.1 892generated by GNU Autoconf 2.59 893 894Copyright (C) 2003 Free Software Foundation, Inc. 895This configure script is free software; the Free Software Foundation 896gives unlimited permission to copy, distribute and modify it. 897_ACEOF 898 exit 0 899fi 900exec 5>config.log 901cat >&5 <<_ACEOF 902This file contains any messages produced by compilers while 903running configure, to aid debugging if configure makes a mistake. 904 905It was created by bookview $as_me 3.2.1, which was 906generated by GNU Autoconf 2.59. Invocation command line was 907 908 $ $0 $@ 909 910_ACEOF 911{ 912cat <<_ASUNAME 913## --------- ## 914## Platform. ## 915## --------- ## 916 917hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 918uname -m = `(uname -m) 2>/dev/null || echo unknown` 919uname -r = `(uname -r) 2>/dev/null || echo unknown` 920uname -s = `(uname -s) 2>/dev/null || echo unknown` 921uname -v = `(uname -v) 2>/dev/null || echo unknown` 922 923/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 924/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 925 926/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 927/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 928/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 929hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 930/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 931/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 932/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 933 934_ASUNAME 935 936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 937for as_dir in $PATH 938do 939 IFS=$as_save_IFS 940 test -z "$as_dir" && as_dir=. 941 echo "PATH: $as_dir" 942done 943 944} >&5 945 946cat >&5 <<_ACEOF 947 948 949## ----------- ## 950## Core tests. ## 951## ----------- ## 952 953_ACEOF 954 955 956# Keep a trace of the command line. 957# Strip out --no-create and --no-recursion so they do not pile up. 958# Strip out --silent because we don't want to record it for future runs. 959# Also quote any args containing shell meta-characters. 960# Make two passes to allow for proper duplicate-argument suppression. 961ac_configure_args= 962ac_configure_args0= 963ac_configure_args1= 964ac_sep= 965ac_must_keep_next=false 966for ac_pass in 1 2 967do 968 for ac_arg 969 do 970 case $ac_arg in 971 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 973 | -silent | --silent | --silen | --sile | --sil) 974 continue ;; 975 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 976 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 977 esac 978 case $ac_pass in 979 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 980 2) 981 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 982 if test $ac_must_keep_next = true; then 983 ac_must_keep_next=false # Got value, back to normal. 984 else 985 case $ac_arg in 986 *=* | --config-cache | -C | -disable-* | --disable-* \ 987 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 988 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 989 | -with-* | --with-* | -without-* | --without-* | --x) 990 case "$ac_configure_args0 " in 991 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 992 esac 993 ;; 994 -* ) ac_must_keep_next=true ;; 995 esac 996 fi 997 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 998 # Get rid of the leading space. 999 ac_sep=" " 1000 ;; 1001 esac 1002 done 1003done 1004$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1005$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1006 1007# When interrupted or exit'd, cleanup temporary files, and complete 1008# config.log. We remove comments because anyway the quotes in there 1009# would cause problems or look ugly. 1010# WARNING: Be sure not to use single quotes in there, as some shells, 1011# such as our DU 5.0 friend, will then `close' the trap. 1012trap 'exit_status=$? 1013 # Save into config.log some information that might help in debugging. 1014 { 1015 echo 1016 1017 cat <<\_ASBOX 1018## ---------------- ## 1019## Cache variables. ## 1020## ---------------- ## 1021_ASBOX 1022 echo 1023 # The following way of writing the cache mishandles newlines in values, 1024{ 1025 (set) 2>&1 | 1026 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1027 *ac_space=\ *) 1028 sed -n \ 1029 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1031 ;; 1032 *) 1033 sed -n \ 1034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1035 ;; 1036 esac; 1037} 1038 echo 1039 1040 cat <<\_ASBOX 1041## ----------------- ## 1042## Output variables. ## 1043## ----------------- ## 1044_ASBOX 1045 echo 1046 for ac_var in $ac_subst_vars 1047 do 1048 eval ac_val=$`echo $ac_var` 1049 echo "$ac_var='"'"'$ac_val'"'"'" 1050 done | sort 1051 echo 1052 1053 if test -n "$ac_subst_files"; then 1054 cat <<\_ASBOX 1055## ------------- ## 1056## Output files. ## 1057## ------------- ## 1058_ASBOX 1059 echo 1060 for ac_var in $ac_subst_files 1061 do 1062 eval ac_val=$`echo $ac_var` 1063 echo "$ac_var='"'"'$ac_val'"'"'" 1064 done | sort 1065 echo 1066 fi 1067 1068 if test -s confdefs.h; then 1069 cat <<\_ASBOX 1070## ----------- ## 1071## confdefs.h. ## 1072## ----------- ## 1073_ASBOX 1074 echo 1075 sed "/^$/d" confdefs.h | sort 1076 echo 1077 fi 1078 test "$ac_signal" != 0 && 1079 echo "$as_me: caught signal $ac_signal" 1080 echo "$as_me: exit $exit_status" 1081 } >&5 1082 rm -f core *.core && 1083 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1084 exit $exit_status 1085 ' 0 1086for ac_signal in 1 2 13 15; do 1087 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1088done 1089ac_signal=0 1090 1091# confdefs.h avoids OS command line length limits that DEFS can exceed. 1092rm -rf conftest* confdefs.h 1093# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1094echo >confdefs.h 1095 1096# Predefined preprocessor variables. 1097 1098cat >>confdefs.h <<_ACEOF 1099#define PACKAGE_NAME "$PACKAGE_NAME" 1100_ACEOF 1101 1102 1103cat >>confdefs.h <<_ACEOF 1104#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1105_ACEOF 1106 1107 1108cat >>confdefs.h <<_ACEOF 1109#define PACKAGE_VERSION "$PACKAGE_VERSION" 1110_ACEOF 1111 1112 1113cat >>confdefs.h <<_ACEOF 1114#define PACKAGE_STRING "$PACKAGE_STRING" 1115_ACEOF 1116 1117 1118cat >>confdefs.h <<_ACEOF 1119#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1120_ACEOF 1121 1122 1123# Let the site file select an alternate cache file if it wants to. 1124# Prefer explicitly selected file to automatically selected ones. 1125if test -z "$CONFIG_SITE"; then 1126 if test "x$prefix" != xNONE; then 1127 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1128 else 1129 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1130 fi 1131fi 1132for ac_site_file in $CONFIG_SITE; do 1133 if test -r "$ac_site_file"; then 1134 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1135echo "$as_me: loading site script $ac_site_file" >&6;} 1136 sed 's/^/| /' "$ac_site_file" >&5 1137 . "$ac_site_file" 1138 fi 1139done 1140 1141if test -r "$cache_file"; then 1142 # Some versions of bash will fail to source /dev/null (special 1143 # files actually), so we avoid doing that. 1144 if test -f "$cache_file"; then 1145 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1146echo "$as_me: loading cache $cache_file" >&6;} 1147 case $cache_file in 1148 [\\/]* | ?:[\\/]* ) . $cache_file;; 1149 *) . ./$cache_file;; 1150 esac 1151 fi 1152else 1153 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1154echo "$as_me: creating cache $cache_file" >&6;} 1155 >$cache_file 1156fi 1157 1158# Check that the precious variables saved in the cache have kept the same 1159# value. 1160ac_cache_corrupted=false 1161for ac_var in `(set) 2>&1 | 1162 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1163 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1164 eval ac_new_set=\$ac_env_${ac_var}_set 1165 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1166 eval ac_new_val="\$ac_env_${ac_var}_value" 1167 case $ac_old_set,$ac_new_set in 1168 set,) 1169 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1170echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1171 ac_cache_corrupted=: ;; 1172 ,set) 1173 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1174echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1175 ac_cache_corrupted=: ;; 1176 ,);; 1177 *) 1178 if test "x$ac_old_val" != "x$ac_new_val"; then 1179 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1180echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1181 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1182echo "$as_me: former value: $ac_old_val" >&2;} 1183 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1184echo "$as_me: current value: $ac_new_val" >&2;} 1185 ac_cache_corrupted=: 1186 fi;; 1187 esac 1188 # Pass precious variables to config.status. 1189 if test "$ac_new_set" = set; then 1190 case $ac_new_val in 1191 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1192 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1193 *) ac_arg=$ac_var=$ac_new_val ;; 1194 esac 1195 case " $ac_configure_args " in 1196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1197 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1198 esac 1199 fi 1200done 1201if $ac_cache_corrupted; then 1202 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1203echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1204 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1205echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1206 { (exit 1); exit 1; }; } 1207fi 1208 1209ac_ext=c 1210ac_cpp='$CPP $CPPFLAGS' 1211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1213ac_compiler_gnu=$ac_cv_c_compiler_gnu 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243am__api_version="1.9" 1244ac_aux_dir= 1245for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1246 if test -f $ac_dir/install-sh; then 1247 ac_aux_dir=$ac_dir 1248 ac_install_sh="$ac_aux_dir/install-sh -c" 1249 break 1250 elif test -f $ac_dir/install.sh; then 1251 ac_aux_dir=$ac_dir 1252 ac_install_sh="$ac_aux_dir/install.sh -c" 1253 break 1254 elif test -f $ac_dir/shtool; then 1255 ac_aux_dir=$ac_dir 1256 ac_install_sh="$ac_aux_dir/shtool install -c" 1257 break 1258 fi 1259done 1260if test -z "$ac_aux_dir"; then 1261 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1262echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1263 { (exit 1); exit 1; }; } 1264fi 1265ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1266ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1267ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1268 1269# Find a good install program. We prefer a C program (faster), 1270# so one script is as good as another. But avoid the broken or 1271# incompatible versions: 1272# SysV /etc/install, /usr/sbin/install 1273# SunOS /usr/etc/install 1274# IRIX /sbin/install 1275# AIX /bin/install 1276# AmigaOS /C/install, which installs bootblocks on floppy discs 1277# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1278# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1279# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1280# OS/2's system install, which has a completely different semantic 1281# ./install, which can be erroneously created by make from ./install.sh. 1282echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1283echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1284if test -z "$INSTALL"; then 1285if test "${ac_cv_path_install+set}" = set; then 1286 echo $ECHO_N "(cached) $ECHO_C" >&6 1287else 1288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1289for as_dir in $PATH 1290do 1291 IFS=$as_save_IFS 1292 test -z "$as_dir" && as_dir=. 1293 # Account for people who put trailing slashes in PATH elements. 1294case $as_dir/ in 1295 ./ | .// | /cC/* | \ 1296 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1297 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1298 /usr/ucb/* ) ;; 1299 *) 1300 # OSF1 and SCO ODT 3.0 have their own names for install. 1301 # Don't use installbsd from OSF since it installs stuff as root 1302 # by default. 1303 for ac_prog in ginstall scoinst install; do 1304 for ac_exec_ext in '' $ac_executable_extensions; do 1305 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1306 if test $ac_prog = install && 1307 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1308 # AIX install. It has an incompatible calling convention. 1309 : 1310 elif test $ac_prog = install && 1311 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1312 # program-specific install script used by HP pwplus--don't use. 1313 : 1314 else 1315 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1316 break 3 1317 fi 1318 fi 1319 done 1320 done 1321 ;; 1322esac 1323done 1324 1325 1326fi 1327 if test "${ac_cv_path_install+set}" = set; then 1328 INSTALL=$ac_cv_path_install 1329 else 1330 # As a last resort, use the slow shell script. We don't cache a 1331 # path for INSTALL within a source directory, because that will 1332 # break other packages using the cache if that directory is 1333 # removed, or if the path is relative. 1334 INSTALL=$ac_install_sh 1335 fi 1336fi 1337echo "$as_me:$LINENO: result: $INSTALL" >&5 1338echo "${ECHO_T}$INSTALL" >&6 1339 1340# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1341# It thinks the first close brace ends the variable substitution. 1342test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1343 1344test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1345 1346test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1347 1348echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1349echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1350# Just in case 1351sleep 1 1352echo timestamp > conftest.file 1353# Do `set' in a subshell so we don't clobber the current shell's 1354# arguments. Must try -L first in case configure is actually a 1355# symlink; some systems play weird games with the mod time of symlinks 1356# (eg FreeBSD returns the mod time of the symlink's containing 1357# directory). 1358if ( 1359 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1360 if test "$*" = "X"; then 1361 # -L didn't work. 1362 set X `ls -t $srcdir/configure conftest.file` 1363 fi 1364 rm -f conftest.file 1365 if test "$*" != "X $srcdir/configure conftest.file" \ 1366 && test "$*" != "X conftest.file $srcdir/configure"; then 1367 1368 # If neither matched, then we have a broken ls. This can happen 1369 # if, for instance, CONFIG_SHELL is bash and it inherits a 1370 # broken ls alias from the environment. This has actually 1371 # happened. Such a system could not be considered "sane". 1372 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1373alias in your environment" >&5 1374echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1375alias in your environment" >&2;} 1376 { (exit 1); exit 1; }; } 1377 fi 1378 1379 test "$2" = conftest.file 1380 ) 1381then 1382 # Ok. 1383 : 1384else 1385 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1386Check your system clock" >&5 1387echo "$as_me: error: newly created file is older than distributed files! 1388Check your system clock" >&2;} 1389 { (exit 1); exit 1; }; } 1390fi 1391echo "$as_me:$LINENO: result: yes" >&5 1392echo "${ECHO_T}yes" >&6 1393test "$program_prefix" != NONE && 1394 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1395# Use a double $ so make ignores it. 1396test "$program_suffix" != NONE && 1397 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1398# Double any \ or $. echo might interpret backslashes. 1399# By default was `s,x,x', remove it if useless. 1400cat <<\_ACEOF >conftest.sed 1401s/[\\$]/&&/g;s/;s,x,x,$// 1402_ACEOF 1403program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1404rm conftest.sed 1405 1406# expand $ac_aux_dir to an absolute path 1407am_aux_dir=`cd $ac_aux_dir && pwd` 1408 1409test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1410# Use eval to expand $SHELL 1411if eval "$MISSING --run true"; then 1412 am_missing_run="$MISSING --run " 1413else 1414 am_missing_run= 1415 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1416echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1417fi 1418 1419if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1420 # We used to keeping the `.' as first argument, in order to 1421 # allow $(mkdir_p) to be used without argument. As in 1422 # $(mkdir_p) $(somedir) 1423 # where $(somedir) is conditionally defined. However this is wrong 1424 # for two reasons: 1425 # 1. if the package is installed by a user who cannot write `.' 1426 # make install will fail, 1427 # 2. the above comment should most certainly read 1428 # $(mkdir_p) $(DESTDIR)$(somedir) 1429 # so it does not work when $(somedir) is undefined and 1430 # $(DESTDIR) is not. 1431 # To support the latter case, we have to write 1432 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1433 # so the `.' trick is pointless. 1434 mkdir_p='mkdir -p --' 1435else 1436 # On NextStep and OpenStep, the `mkdir' command does not 1437 # recognize any option. It will interpret all options as 1438 # directories to create, and then abort because `.' already 1439 # exists. 1440 for d in ./-p ./--version; 1441 do 1442 test -d $d && rmdir $d 1443 done 1444 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1445 if test -f "$ac_aux_dir/mkinstalldirs"; then 1446 mkdir_p='$(mkinstalldirs)' 1447 else 1448 mkdir_p='$(install_sh) -d' 1449 fi 1450fi 1451 1452for ac_prog in gawk mawk nawk awk 1453do 1454 # Extract the first word of "$ac_prog", so it can be a program name with args. 1455set dummy $ac_prog; ac_word=$2 1456echo "$as_me:$LINENO: checking for $ac_word" >&5 1457echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1458if test "${ac_cv_prog_AWK+set}" = set; then 1459 echo $ECHO_N "(cached) $ECHO_C" >&6 1460else 1461 if test -n "$AWK"; then 1462 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1463else 1464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1465for as_dir in $PATH 1466do 1467 IFS=$as_save_IFS 1468 test -z "$as_dir" && as_dir=. 1469 for ac_exec_ext in '' $ac_executable_extensions; do 1470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1471 ac_cv_prog_AWK="$ac_prog" 1472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1473 break 2 1474 fi 1475done 1476done 1477 1478fi 1479fi 1480AWK=$ac_cv_prog_AWK 1481if test -n "$AWK"; then 1482 echo "$as_me:$LINENO: result: $AWK" >&5 1483echo "${ECHO_T}$AWK" >&6 1484else 1485 echo "$as_me:$LINENO: result: no" >&5 1486echo "${ECHO_T}no" >&6 1487fi 1488 1489 test -n "$AWK" && break 1490done 1491 1492echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1493echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1494set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1495if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1496 echo $ECHO_N "(cached) $ECHO_C" >&6 1497else 1498 cat >conftest.make <<\_ACEOF 1499all: 1500 @echo 'ac_maketemp="$(MAKE)"' 1501_ACEOF 1502# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1503eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1504if test -n "$ac_maketemp"; then 1505 eval ac_cv_prog_make_${ac_make}_set=yes 1506else 1507 eval ac_cv_prog_make_${ac_make}_set=no 1508fi 1509rm -f conftest.make 1510fi 1511if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1512 echo "$as_me:$LINENO: result: yes" >&5 1513echo "${ECHO_T}yes" >&6 1514 SET_MAKE= 1515else 1516 echo "$as_me:$LINENO: result: no" >&5 1517echo "${ECHO_T}no" >&6 1518 SET_MAKE="MAKE=${MAKE-make}" 1519fi 1520 1521rm -rf .tst 2>/dev/null 1522mkdir .tst 2>/dev/null 1523if test -d .tst; then 1524 am__leading_dot=. 1525else 1526 am__leading_dot=_ 1527fi 1528rmdir .tst 2>/dev/null 1529 1530# test to see if srcdir already configured 1531if test "`cd $srcdir && pwd`" != "`pwd`" && 1532 test -f $srcdir/config.status; then 1533 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1534echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1535 { (exit 1); exit 1; }; } 1536fi 1537 1538# test whether we have cygpath 1539if test -z "$CYGPATH_W"; then 1540 if (cygpath --version) >/dev/null 2>/dev/null; then 1541 CYGPATH_W='cygpath -w' 1542 else 1543 CYGPATH_W=echo 1544 fi 1545fi 1546 1547 1548# Define the identity of the package. 1549 PACKAGE='bookview' 1550 VERSION='3.2.1' 1551 1552 1553cat >>confdefs.h <<_ACEOF 1554#define PACKAGE "$PACKAGE" 1555_ACEOF 1556 1557 1558cat >>confdefs.h <<_ACEOF 1559#define VERSION "$VERSION" 1560_ACEOF 1561 1562# Some tools Automake needs. 1563 1564ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1565 1566 1567AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1568 1569 1570AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1571 1572 1573AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1574 1575 1576MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1577 1578install_sh=${install_sh-"$am_aux_dir/install-sh"} 1579 1580# Installed binaries are usually stripped using `strip' when the user 1581# run `make install-strip'. However `strip' might not be the right 1582# tool to use in cross-compilation environments, therefore Automake 1583# will honor the `STRIP' environment variable to overrule this program. 1584if test "$cross_compiling" != no; then 1585 if test -n "$ac_tool_prefix"; then 1586 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1587set dummy ${ac_tool_prefix}strip; ac_word=$2 1588echo "$as_me:$LINENO: checking for $ac_word" >&5 1589echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1590if test "${ac_cv_prog_STRIP+set}" = set; then 1591 echo $ECHO_N "(cached) $ECHO_C" >&6 1592else 1593 if test -n "$STRIP"; then 1594 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1595else 1596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1597for as_dir in $PATH 1598do 1599 IFS=$as_save_IFS 1600 test -z "$as_dir" && as_dir=. 1601 for ac_exec_ext in '' $ac_executable_extensions; do 1602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1603 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1605 break 2 1606 fi 1607done 1608done 1609 1610fi 1611fi 1612STRIP=$ac_cv_prog_STRIP 1613if test -n "$STRIP"; then 1614 echo "$as_me:$LINENO: result: $STRIP" >&5 1615echo "${ECHO_T}$STRIP" >&6 1616else 1617 echo "$as_me:$LINENO: result: no" >&5 1618echo "${ECHO_T}no" >&6 1619fi 1620 1621fi 1622if test -z "$ac_cv_prog_STRIP"; then 1623 ac_ct_STRIP=$STRIP 1624 # Extract the first word of "strip", so it can be a program name with args. 1625set dummy strip; ac_word=$2 1626echo "$as_me:$LINENO: checking for $ac_word" >&5 1627echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1628if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1629 echo $ECHO_N "(cached) $ECHO_C" >&6 1630else 1631 if test -n "$ac_ct_STRIP"; then 1632 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1633else 1634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1635for as_dir in $PATH 1636do 1637 IFS=$as_save_IFS 1638 test -z "$as_dir" && as_dir=. 1639 for ac_exec_ext in '' $ac_executable_extensions; do 1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1641 ac_cv_prog_ac_ct_STRIP="strip" 1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1643 break 2 1644 fi 1645done 1646done 1647 1648 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1649fi 1650fi 1651ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1652if test -n "$ac_ct_STRIP"; then 1653 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1654echo "${ECHO_T}$ac_ct_STRIP" >&6 1655else 1656 echo "$as_me:$LINENO: result: no" >&5 1657echo "${ECHO_T}no" >&6 1658fi 1659 1660 STRIP=$ac_ct_STRIP 1661else 1662 STRIP="$ac_cv_prog_STRIP" 1663fi 1664 1665fi 1666INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1667 1668# We need awk for the "check" target. The system "awk" is bad on 1669# some platforms. 1670# Always define AMTAR for backward compatibility. 1671 1672AMTAR=${AMTAR-"${am_missing_run}tar"} 1673 1674am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1675 1676 1677 1678 1679 1680 1681 1682# Check whether --with-pkgdocdir or --without-pkgdocdir was given. 1683if test "${with_pkgdocdir+set}" = set; then 1684 withval="$with_pkgdocdir" 1685 pkgdocdir="${withval}" 1686else 1687 pkgdocdir='${datadir}/bookview/doc' 1688fi; 1689 1690 1691for ac_prog in wish8.0jp wish 1692do 1693 # Extract the first word of "$ac_prog", so it can be a program name with args. 1694set dummy $ac_prog; ac_word=$2 1695echo "$as_me:$LINENO: checking for $ac_word" >&5 1696echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1697if test "${ac_cv_path_WISH+set}" = set; then 1698 echo $ECHO_N "(cached) $ECHO_C" >&6 1699else 1700 case $WISH in 1701 [\\/]* | ?:[\\/]*) 1702 ac_cv_path_WISH="$WISH" # Let the user override the test with a path. 1703 ;; 1704 *) 1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1706for as_dir in $PATH 1707do 1708 IFS=$as_save_IFS 1709 test -z "$as_dir" && as_dir=. 1710 for ac_exec_ext in '' $ac_executable_extensions; do 1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1712 ac_cv_path_WISH="$as_dir/$ac_word$ac_exec_ext" 1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1714 break 2 1715 fi 1716done 1717done 1718 1719 ;; 1720esac 1721fi 1722WISH=$ac_cv_path_WISH 1723 1724if test -n "$WISH"; then 1725 echo "$as_me:$LINENO: result: $WISH" >&5 1726echo "${ECHO_T}$WISH" >&6 1727else 1728 echo "$as_me:$LINENO: result: no" >&5 1729echo "${ECHO_T}no" >&6 1730fi 1731 1732 test -n "$WISH" && break 1733done 1734test -n "$WISH" || WISH="no" 1735 1736if test "$WISH" = no; then 1737 { { echo "$as_me:$LINENO: error: wish (Tcl/Tk windowing shell) not found" >&5 1738echo "$as_me: error: wish (Tcl/Tk windowing shell) not found" >&2;} 1739 { (exit 1); exit 1; }; } 1740fi 1741 1742# Extract the first word of "perl", so it can be a program name with args. 1743set dummy perl; ac_word=$2 1744echo "$as_me:$LINENO: checking for $ac_word" >&5 1745echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1746if test "${ac_cv_path_PERL+set}" = set; then 1747 echo $ECHO_N "(cached) $ECHO_C" >&6 1748else 1749 case $PERL in 1750 [\\/]* | ?:[\\/]*) 1751 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 1752 ;; 1753 *) 1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1755for as_dir in $PATH 1756do 1757 IFS=$as_save_IFS 1758 test -z "$as_dir" && as_dir=. 1759 for ac_exec_ext in '' $ac_executable_extensions; do 1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1761 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1763 break 2 1764 fi 1765done 1766done 1767 1768 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" 1769 ;; 1770esac 1771fi 1772PERL=$ac_cv_path_PERL 1773 1774if test -n "$PERL"; then 1775 echo "$as_me:$LINENO: result: $PERL" >&5 1776echo "${ECHO_T}$PERL" >&6 1777else 1778 echo "$as_me:$LINENO: result: no" >&5 1779echo "${ECHO_T}no" >&6 1780fi 1781 1782 1783 ac_config_files="$ac_config_files Makefile bitmap/Makefile tools/Makefile bookview/Makefile doc/Makefile version.tcl" 1784 1785cat >confcache <<\_ACEOF 1786# This file is a shell script that caches the results of configure 1787# tests run on this system so they can be shared between configure 1788# scripts and configure runs, see configure's option --config-cache. 1789# It is not useful on other systems. If it contains results you don't 1790# want to keep, you may remove or edit it. 1791# 1792# config.status only pays attention to the cache file if you give it 1793# the --recheck option to rerun configure. 1794# 1795# `ac_cv_env_foo' variables (set or unset) will be overridden when 1796# loading this file, other *unset* `ac_cv_foo' will be assigned the 1797# following values. 1798 1799_ACEOF 1800 1801# The following way of writing the cache mishandles newlines in values, 1802# but we know of no workaround that is simple, portable, and efficient. 1803# So, don't put newlines in cache variables' values. 1804# Ultrix sh set writes to stderr and can't be redirected directly, 1805# and sets the high bit in the cache file unless we assign to the vars. 1806{ 1807 (set) 2>&1 | 1808 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1809 *ac_space=\ *) 1810 # `set' does not quote correctly, so add quotes (double-quote 1811 # substitution turns \\\\ into \\, and sed turns \\ into \). 1812 sed -n \ 1813 "s/'/'\\\\''/g; 1814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1815 ;; 1816 *) 1817 # `set' quotes correctly as required by POSIX, so do not add quotes. 1818 sed -n \ 1819 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1820 ;; 1821 esac; 1822} | 1823 sed ' 1824 t clear 1825 : clear 1826 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1827 t end 1828 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1829 : end' >>confcache 1830if diff $cache_file confcache >/dev/null 2>&1; then :; else 1831 if test -w $cache_file; then 1832 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 1833 cat confcache >$cache_file 1834 else 1835 echo "not updating unwritable cache $cache_file" 1836 fi 1837fi 1838rm -f confcache 1839 1840test "x$prefix" = xNONE && prefix=$ac_default_prefix 1841# Let make expand exec_prefix. 1842test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1843 1844# VPATH may cause trouble with some makes, so we remove $(srcdir), 1845# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 1846# trailing colons and then remove the whole line if VPATH becomes empty 1847# (actually we leave an empty line to preserve line numbers). 1848if test "x$srcdir" = x.; then 1849 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 1850s/:*\$(srcdir):*/:/; 1851s/:*\${srcdir}:*/:/; 1852s/:*@srcdir@:*/:/; 1853s/^\([^=]*=[ ]*\):*/\1/; 1854s/:*$//; 1855s/^[^=]*=[ ]*$//; 1856}' 1857fi 1858 1859# Transform confdefs.h into DEFS. 1860# Protect against shell expansion while executing Makefile rules. 1861# Protect against Makefile macro expansion. 1862# 1863# If the first sed substitution is executed (which looks for macros that 1864# take arguments), then we branch to the quote section. Otherwise, 1865# look for a macro that doesn't take arguments. 1866cat >confdef2opt.sed <<\_ACEOF 1867t clear 1868: clear 1869s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 1870t quote 1871s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 1872t quote 1873d 1874: quote 1875s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 1876s,\[,\\&,g 1877s,\],\\&,g 1878s,\$,$$,g 1879p 1880_ACEOF 1881# We use echo to avoid assuming a particular line-breaking character. 1882# The extra dot is to prevent the shell from consuming trailing 1883# line-breaks from the sub-command output. A line-break within 1884# single-quotes doesn't work because, if this script is created in a 1885# platform that uses two characters for line-breaks (e.g., DOS), tr 1886# would break. 1887ac_LF_and_DOT=`echo; echo .` 1888DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 1889rm -f confdef2opt.sed 1890 1891 1892ac_libobjs= 1893ac_ltlibobjs= 1894for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1895 # 1. Remove the extension, and $U if already installed. 1896 ac_i=`echo "$ac_i" | 1897 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 1898 # 2. Add them. 1899 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 1900 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 1901done 1902LIBOBJS=$ac_libobjs 1903 1904LTLIBOBJS=$ac_ltlibobjs 1905 1906 1907 1908: ${CONFIG_STATUS=./config.status} 1909ac_clean_files_save=$ac_clean_files 1910ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1911{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 1912echo "$as_me: creating $CONFIG_STATUS" >&6;} 1913cat >$CONFIG_STATUS <<_ACEOF 1914#! $SHELL 1915# Generated by $as_me. 1916# Run this file to recreate the current configuration. 1917# Compiler output produced by configure, useful for debugging 1918# configure, is in config.log if it exists. 1919 1920debug=false 1921ac_cs_recheck=false 1922ac_cs_silent=false 1923SHELL=\${CONFIG_SHELL-$SHELL} 1924_ACEOF 1925 1926cat >>$CONFIG_STATUS <<\_ACEOF 1927## --------------------- ## 1928## M4sh Initialization. ## 1929## --------------------- ## 1930 1931# Be Bourne compatible 1932if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1933 emulate sh 1934 NULLCMD=: 1935 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 1936 # is contrary to our usage. Disable this feature. 1937 alias -g '${1+"$@"}'='"$@"' 1938elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 1939 set -o posix 1940fi 1941DUALCASE=1; export DUALCASE # for MKS sh 1942 1943# Support unset when possible. 1944if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 1945 as_unset=unset 1946else 1947 as_unset=false 1948fi 1949 1950 1951# Work around bugs in pre-3.0 UWIN ksh. 1952$as_unset ENV MAIL MAILPATH 1953PS1='$ ' 1954PS2='> ' 1955PS4='+ ' 1956 1957# NLS nuisances. 1958for as_var in \ 1959 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 1960 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 1961 LC_TELEPHONE LC_TIME 1962do 1963 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 1964 eval $as_var=C; export $as_var 1965 else 1966 $as_unset $as_var 1967 fi 1968done 1969 1970# Required to use basename. 1971if expr a : '\(a\)' >/dev/null 2>&1; then 1972 as_expr=expr 1973else 1974 as_expr=false 1975fi 1976 1977if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 1978 as_basename=basename 1979else 1980 as_basename=false 1981fi 1982 1983 1984# Name of the executable. 1985as_me=`$as_basename "$0" || 1986$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1987 X"$0" : 'X\(//\)$' \| \ 1988 X"$0" : 'X\(/\)$' \| \ 1989 . : '\(.\)' 2>/dev/null || 1990echo X/"$0" | 1991 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 1992 /^X\/\(\/\/\)$/{ s//\1/; q; } 1993 /^X\/\(\/\).*/{ s//\1/; q; } 1994 s/.*/./; q'` 1995 1996 1997# PATH needs CR, and LINENO needs CR and PATH. 1998# Avoid depending upon Character Ranges. 1999as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2000as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2001as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2002as_cr_digits='0123456789' 2003as_cr_alnum=$as_cr_Letters$as_cr_digits 2004 2005# The user is always right. 2006if test "${PATH_SEPARATOR+set}" != set; then 2007 echo "#! /bin/sh" >conf$$.sh 2008 echo "exit 0" >>conf$$.sh 2009 chmod +x conf$$.sh 2010 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2011 PATH_SEPARATOR=';' 2012 else 2013 PATH_SEPARATOR=: 2014 fi 2015 rm -f conf$$.sh 2016fi 2017 2018 2019 as_lineno_1=$LINENO 2020 as_lineno_2=$LINENO 2021 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 2022 test "x$as_lineno_1" != "x$as_lineno_2" && 2023 test "x$as_lineno_3" = "x$as_lineno_2" || { 2024 # Find who we are. Look in the path if we contain no path at all 2025 # relative or not. 2026 case $0 in 2027 *[\\/]* ) as_myself=$0 ;; 2028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2029for as_dir in $PATH 2030do 2031 IFS=$as_save_IFS 2032 test -z "$as_dir" && as_dir=. 2033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2034done 2035 2036 ;; 2037 esac 2038 # We did not find ourselves, most probably we were run as `sh COMMAND' 2039 # in which case we are not to be found in the path. 2040 if test "x$as_myself" = x; then 2041 as_myself=$0 2042 fi 2043 if test ! -f "$as_myself"; then 2044 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 2045echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 2046 { (exit 1); exit 1; }; } 2047 fi 2048 case $CONFIG_SHELL in 2049 '') 2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2051for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2052do 2053 IFS=$as_save_IFS 2054 test -z "$as_dir" && as_dir=. 2055 for as_base in sh bash ksh sh5; do 2056 case $as_dir in 2057 /*) 2058 if ("$as_dir/$as_base" -c ' 2059 as_lineno_1=$LINENO 2060 as_lineno_2=$LINENO 2061 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 2062 test "x$as_lineno_1" != "x$as_lineno_2" && 2063 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 2064 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 2065 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 2066 CONFIG_SHELL=$as_dir/$as_base 2067 export CONFIG_SHELL 2068 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 2069 fi;; 2070 esac 2071 done 2072done 2073;; 2074 esac 2075 2076 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2077 # uniformly replaced by the line number. The first 'sed' inserts a 2078 # line-number line before each line; the second 'sed' does the real 2079 # work. The second script uses 'N' to pair each line-number line 2080 # with the numbered line, and appends trailing '-' during 2081 # substitution so that $LINENO is not a special case at line end. 2082 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2083 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 2084 sed '=' <$as_myself | 2085 sed ' 2086 N 2087 s,$,-, 2088 : loop 2089 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 2090 t loop 2091 s,-$,, 2092 s,^['$as_cr_digits']*\n,, 2093 ' >$as_me.lineno && 2094 chmod +x $as_me.lineno || 2095 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 2096echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 2097 { (exit 1); exit 1; }; } 2098 2099 # Don't try to exec as it changes $[0], causing all sort of problems 2100 # (the dirname of $[0] is not the place where we might find the 2101 # original and so on. Autoconf is especially sensible to this). 2102 . ./$as_me.lineno 2103 # Exit status is that of the last command. 2104 exit 2105} 2106 2107 2108case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 2109 *c*,-n*) ECHO_N= ECHO_C=' 2110' ECHO_T=' ' ;; 2111 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 2112 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 2113esac 2114 2115if expr a : '\(a\)' >/dev/null 2>&1; then 2116 as_expr=expr 2117else 2118 as_expr=false 2119fi 2120 2121rm -f conf$$ conf$$.exe conf$$.file 2122echo >conf$$.file 2123if ln -s conf$$.file conf$$ 2>/dev/null; then 2124 # We could just check for DJGPP; but this test a) works b) is more generic 2125 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2126 if test -f conf$$.exe; then 2127 # Don't use ln at all; we don't have any links 2128 as_ln_s='cp -p' 2129 else 2130 as_ln_s='ln -s' 2131 fi 2132elif ln conf$$.file conf$$ 2>/dev/null; then 2133 as_ln_s=ln 2134else 2135 as_ln_s='cp -p' 2136fi 2137rm -f conf$$ conf$$.exe conf$$.file 2138 2139if mkdir -p . 2>/dev/null; then 2140 as_mkdir_p=: 2141else 2142 test -d ./-p && rmdir ./-p 2143 as_mkdir_p=false 2144fi 2145 2146as_executable_p="test -f" 2147 2148# Sed expression to map a string onto a valid CPP name. 2149as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2150 2151# Sed expression to map a string onto a valid variable name. 2152as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2153 2154 2155# IFS 2156# We need space, tab and new line, in precisely that order. 2157as_nl=' 2158' 2159IFS=" $as_nl" 2160 2161# CDPATH. 2162$as_unset CDPATH 2163 2164exec 6>&1 2165 2166# Open the log real soon, to keep \$[0] and so on meaningful, and to 2167# report actual input values of CONFIG_FILES etc. instead of their 2168# values after options handling. Logging --version etc. is OK. 2169exec 5>>config.log 2170{ 2171 echo 2172 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2173## Running $as_me. ## 2174_ASBOX 2175} >&5 2176cat >&5 <<_CSEOF 2177 2178This file was extended by bookview $as_me 3.2.1, which was 2179generated by GNU Autoconf 2.59. Invocation command line was 2180 2181 CONFIG_FILES = $CONFIG_FILES 2182 CONFIG_HEADERS = $CONFIG_HEADERS 2183 CONFIG_LINKS = $CONFIG_LINKS 2184 CONFIG_COMMANDS = $CONFIG_COMMANDS 2185 $ $0 $@ 2186 2187_CSEOF 2188echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 2189echo >&5 2190_ACEOF 2191 2192# Files that config.status was made for. 2193if test -n "$ac_config_files"; then 2194 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 2195fi 2196 2197if test -n "$ac_config_headers"; then 2198 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 2199fi 2200 2201if test -n "$ac_config_links"; then 2202 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 2203fi 2204 2205if test -n "$ac_config_commands"; then 2206 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 2207fi 2208 2209cat >>$CONFIG_STATUS <<\_ACEOF 2210 2211ac_cs_usage="\ 2212\`$as_me' instantiates files from templates according to the 2213current configuration. 2214 2215Usage: $0 [OPTIONS] [FILE]... 2216 2217 -h, --help print this help, then exit 2218 -V, --version print version number, then exit 2219 -q, --quiet do not print progress messages 2220 -d, --debug don't remove temporary files 2221 --recheck update $as_me by reconfiguring in the same conditions 2222 --file=FILE[:TEMPLATE] 2223 instantiate the configuration file FILE 2224 2225Configuration files: 2226$config_files 2227 2228Report bugs to <bug-autoconf@gnu.org>." 2229_ACEOF 2230 2231cat >>$CONFIG_STATUS <<_ACEOF 2232ac_cs_version="\\ 2233bookview config.status 3.2.1 2234configured by $0, generated by GNU Autoconf 2.59, 2235 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 2236 2237Copyright (C) 2003 Free Software Foundation, Inc. 2238This config.status script is free software; the Free Software Foundation 2239gives unlimited permission to copy, distribute and modify it." 2240srcdir=$srcdir 2241INSTALL="$INSTALL" 2242_ACEOF 2243 2244cat >>$CONFIG_STATUS <<\_ACEOF 2245# If no file are specified by the user, then we need to provide default 2246# value. By we need to know if files were specified by the user. 2247ac_need_defaults=: 2248while test $# != 0 2249do 2250 case $1 in 2251 --*=*) 2252 ac_option=`expr "x$1" : 'x\([^=]*\)='` 2253 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 2254 ac_shift=: 2255 ;; 2256 -*) 2257 ac_option=$1 2258 ac_optarg=$2 2259 ac_shift=shift 2260 ;; 2261 *) # This is not an option, so the user has probably given explicit 2262 # arguments. 2263 ac_option=$1 2264 ac_need_defaults=false;; 2265 esac 2266 2267 case $ac_option in 2268 # Handling of the options. 2269_ACEOF 2270cat >>$CONFIG_STATUS <<\_ACEOF 2271 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2272 ac_cs_recheck=: ;; 2273 --version | --vers* | -V ) 2274 echo "$ac_cs_version"; exit 0 ;; 2275 --he | --h) 2276 # Conflict between --help and --header 2277 { { echo "$as_me:$LINENO: error: ambiguous option: $1 2278Try \`$0 --help' for more information." >&5 2279echo "$as_me: error: ambiguous option: $1 2280Try \`$0 --help' for more information." >&2;} 2281 { (exit 1); exit 1; }; };; 2282 --help | --hel | -h ) 2283 echo "$ac_cs_usage"; exit 0 ;; 2284 --debug | --d* | -d ) 2285 debug=: ;; 2286 --file | --fil | --fi | --f ) 2287 $ac_shift 2288 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 2289 ac_need_defaults=false;; 2290 --header | --heade | --head | --hea ) 2291 $ac_shift 2292 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 2293 ac_need_defaults=false;; 2294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2295 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2296 ac_cs_silent=: ;; 2297 2298 # This is an error. 2299 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 2300Try \`$0 --help' for more information." >&5 2301echo "$as_me: error: unrecognized option: $1 2302Try \`$0 --help' for more information." >&2;} 2303 { (exit 1); exit 1; }; } ;; 2304 2305 *) ac_config_targets="$ac_config_targets $1" ;; 2306 2307 esac 2308 shift 2309done 2310 2311ac_configure_extra_args= 2312 2313if $ac_cs_silent; then 2314 exec 6>/dev/null 2315 ac_configure_extra_args="$ac_configure_extra_args --silent" 2316fi 2317 2318_ACEOF 2319cat >>$CONFIG_STATUS <<_ACEOF 2320if \$ac_cs_recheck; then 2321 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 2322 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2323fi 2324 2325_ACEOF 2326 2327 2328 2329 2330 2331cat >>$CONFIG_STATUS <<\_ACEOF 2332for ac_config_target in $ac_config_targets 2333do 2334 case "$ac_config_target" in 2335 # Handling of arguments. 2336 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2337 "bitmap/Makefile" ) CONFIG_FILES="$CONFIG_FILES bitmap/Makefile" ;; 2338 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 2339 "bookview/Makefile" ) CONFIG_FILES="$CONFIG_FILES bookview/Makefile" ;; 2340 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 2341 "version.tcl" ) CONFIG_FILES="$CONFIG_FILES version.tcl" ;; 2342 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 2343echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 2344 { (exit 1); exit 1; }; };; 2345 esac 2346done 2347 2348# If the user did not use the arguments to specify the items to instantiate, 2349# then the envvar interface is used. Set only those that are not. 2350# We use the long form for the default assignment because of an extremely 2351# bizarre bug on SunOS 4.1.3. 2352if $ac_need_defaults; then 2353 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2354fi 2355 2356# Have a temporary directory for convenience. Make it in the build tree 2357# simply because there is no reason to put it here, and in addition, 2358# creating and moving files from /tmp can sometimes cause problems. 2359# Create a temporary directory, and hook for its removal unless debugging. 2360$debug || 2361{ 2362 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2363 trap '{ (exit 1); exit 1; }' 1 2 13 15 2364} 2365 2366# Create a (secure) tmp directory for tmp files. 2367 2368{ 2369 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 2370 test -n "$tmp" && test -d "$tmp" 2371} || 2372{ 2373 tmp=./confstat$$-$RANDOM 2374 (umask 077 && mkdir $tmp) 2375} || 2376{ 2377 echo "$me: cannot create a temporary directory in ." >&2 2378 { (exit 1); exit 1; } 2379} 2380 2381_ACEOF 2382 2383cat >>$CONFIG_STATUS <<_ACEOF 2384 2385# 2386# CONFIG_FILES section. 2387# 2388 2389# No need to generate the scripts if there are no CONFIG_FILES. 2390# This happens for instance when ./config.status config.h 2391if test -n "\$CONFIG_FILES"; then 2392 # Protect against being on the right side of a sed subst in config.status. 2393 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 2394 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 2395s,@SHELL@,$SHELL,;t t 2396s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 2397s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 2398s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 2399s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 2400s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 2401s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 2402s,@exec_prefix@,$exec_prefix,;t t 2403s,@prefix@,$prefix,;t t 2404s,@program_transform_name@,$program_transform_name,;t t 2405s,@bindir@,$bindir,;t t 2406s,@sbindir@,$sbindir,;t t 2407s,@libexecdir@,$libexecdir,;t t 2408s,@datadir@,$datadir,;t t 2409s,@sysconfdir@,$sysconfdir,;t t 2410s,@sharedstatedir@,$sharedstatedir,;t t 2411s,@localstatedir@,$localstatedir,;t t 2412s,@libdir@,$libdir,;t t 2413s,@includedir@,$includedir,;t t 2414s,@oldincludedir@,$oldincludedir,;t t 2415s,@infodir@,$infodir,;t t 2416s,@mandir@,$mandir,;t t 2417s,@build_alias@,$build_alias,;t t 2418s,@host_alias@,$host_alias,;t t 2419s,@target_alias@,$target_alias,;t t 2420s,@DEFS@,$DEFS,;t t 2421s,@ECHO_C@,$ECHO_C,;t t 2422s,@ECHO_N@,$ECHO_N,;t t 2423s,@ECHO_T@,$ECHO_T,;t t 2424s,@LIBS@,$LIBS,;t t 2425s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 2426s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 2427s,@INSTALL_DATA@,$INSTALL_DATA,;t t 2428s,@CYGPATH_W@,$CYGPATH_W,;t t 2429s,@PACKAGE@,$PACKAGE,;t t 2430s,@VERSION@,$VERSION,;t t 2431s,@ACLOCAL@,$ACLOCAL,;t t 2432s,@AUTOCONF@,$AUTOCONF,;t t 2433s,@AUTOMAKE@,$AUTOMAKE,;t t 2434s,@AUTOHEADER@,$AUTOHEADER,;t t 2435s,@MAKEINFO@,$MAKEINFO,;t t 2436s,@install_sh@,$install_sh,;t t 2437s,@STRIP@,$STRIP,;t t 2438s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 2439s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 2440s,@mkdir_p@,$mkdir_p,;t t 2441s,@AWK@,$AWK,;t t 2442s,@SET_MAKE@,$SET_MAKE,;t t 2443s,@am__leading_dot@,$am__leading_dot,;t t 2444s,@AMTAR@,$AMTAR,;t t 2445s,@am__tar@,$am__tar,;t t 2446s,@am__untar@,$am__untar,;t t 2447s,@pkgdocdir@,$pkgdocdir,;t t 2448s,@WISH@,$WISH,;t t 2449s,@PERL@,$PERL,;t t 2450s,@LIBOBJS@,$LIBOBJS,;t t 2451s,@LTLIBOBJS@,$LTLIBOBJS,;t t 2452CEOF 2453 2454_ACEOF 2455 2456 cat >>$CONFIG_STATUS <<\_ACEOF 2457 # Split the substitutions into bite-sized pieces for seds with 2458 # small command number limits, like on Digital OSF/1 and HP-UX. 2459 ac_max_sed_lines=48 2460 ac_sed_frag=1 # Number of current file. 2461 ac_beg=1 # First line for current file. 2462 ac_end=$ac_max_sed_lines # Line after last line for current file. 2463 ac_more_lines=: 2464 ac_sed_cmds= 2465 while $ac_more_lines; do 2466 if test $ac_beg -gt 1; then 2467 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2468 else 2469 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2470 fi 2471 if test ! -s $tmp/subs.frag; then 2472 ac_more_lines=false 2473 else 2474 # The purpose of the label and of the branching condition is to 2475 # speed up the sed processing (if there are no `@' at all, there 2476 # is no need to browse any of the substitutions). 2477 # These are the two extra sed commands mentioned above. 2478 (echo ':t 2479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 2480 if test -z "$ac_sed_cmds"; then 2481 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 2482 else 2483 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 2484 fi 2485 ac_sed_frag=`expr $ac_sed_frag + 1` 2486 ac_beg=$ac_end 2487 ac_end=`expr $ac_end + $ac_max_sed_lines` 2488 fi 2489 done 2490 if test -z "$ac_sed_cmds"; then 2491 ac_sed_cmds=cat 2492 fi 2493fi # test -n "$CONFIG_FILES" 2494 2495_ACEOF 2496cat >>$CONFIG_STATUS <<\_ACEOF 2497for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 2498 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2499 case $ac_file in 2500 - | *:- | *:-:* ) # input from stdin 2501 cat >$tmp/stdin 2502 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2503 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2504 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2505 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2506 * ) ac_file_in=$ac_file.in ;; 2507 esac 2508 2509 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 2510 ac_dir=`(dirname "$ac_file") 2>/dev/null || 2511$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2512 X"$ac_file" : 'X\(//\)[^/]' \| \ 2513 X"$ac_file" : 'X\(//\)$' \| \ 2514 X"$ac_file" : 'X\(/\)' \| \ 2515 . : '\(.\)' 2>/dev/null || 2516echo X"$ac_file" | 2517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 2518 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 2519 /^X\(\/\/\)$/{ s//\1/; q; } 2520 /^X\(\/\).*/{ s//\1/; q; } 2521 s/.*/./; q'` 2522 { if $as_mkdir_p; then 2523 mkdir -p "$ac_dir" 2524 else 2525 as_dir="$ac_dir" 2526 as_dirs= 2527 while test ! -d "$as_dir"; do 2528 as_dirs="$as_dir $as_dirs" 2529 as_dir=`(dirname "$as_dir") 2>/dev/null || 2530$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2531 X"$as_dir" : 'X\(//\)[^/]' \| \ 2532 X"$as_dir" : 'X\(//\)$' \| \ 2533 X"$as_dir" : 'X\(/\)' \| \ 2534 . : '\(.\)' 2>/dev/null || 2535echo X"$as_dir" | 2536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 2537 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 2538 /^X\(\/\/\)$/{ s//\1/; q; } 2539 /^X\(\/\).*/{ s//\1/; q; } 2540 s/.*/./; q'` 2541 done 2542 test ! -n "$as_dirs" || mkdir $as_dirs 2543 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 2544echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 2545 { (exit 1); exit 1; }; }; } 2546 2547 ac_builddir=. 2548 2549if test "$ac_dir" != .; then 2550 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 2551 # A "../" for each directory in $ac_dir_suffix. 2552 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 2553else 2554 ac_dir_suffix= ac_top_builddir= 2555fi 2556 2557case $srcdir in 2558 .) # No --srcdir option. We are building in place. 2559 ac_srcdir=. 2560 if test -z "$ac_top_builddir"; then 2561 ac_top_srcdir=. 2562 else 2563 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 2564 fi ;; 2565 [\\/]* | ?:[\\/]* ) # Absolute path. 2566 ac_srcdir=$srcdir$ac_dir_suffix; 2567 ac_top_srcdir=$srcdir ;; 2568 *) # Relative path. 2569 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 2570 ac_top_srcdir=$ac_top_builddir$srcdir ;; 2571esac 2572 2573# Do not use `cd foo && pwd` to compute absolute paths, because 2574# the directories may not exist. 2575case `pwd` in 2576.) ac_abs_builddir="$ac_dir";; 2577*) 2578 case "$ac_dir" in 2579 .) ac_abs_builddir=`pwd`;; 2580 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 2581 *) ac_abs_builddir=`pwd`/"$ac_dir";; 2582 esac;; 2583esac 2584case $ac_abs_builddir in 2585.) ac_abs_top_builddir=${ac_top_builddir}.;; 2586*) 2587 case ${ac_top_builddir}. in 2588 .) ac_abs_top_builddir=$ac_abs_builddir;; 2589 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 2590 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 2591 esac;; 2592esac 2593case $ac_abs_builddir in 2594.) ac_abs_srcdir=$ac_srcdir;; 2595*) 2596 case $ac_srcdir in 2597 .) ac_abs_srcdir=$ac_abs_builddir;; 2598 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 2599 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 2600 esac;; 2601esac 2602case $ac_abs_builddir in 2603.) ac_abs_top_srcdir=$ac_top_srcdir;; 2604*) 2605 case $ac_top_srcdir in 2606 .) ac_abs_top_srcdir=$ac_abs_builddir;; 2607 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 2608 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 2609 esac;; 2610esac 2611 2612 2613 case $INSTALL in 2614 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 2615 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 2616 esac 2617 2618 if test x"$ac_file" != x-; then 2619 { echo "$as_me:$LINENO: creating $ac_file" >&5 2620echo "$as_me: creating $ac_file" >&6;} 2621 rm -f "$ac_file" 2622 fi 2623 # Let's still pretend it is `configure' which instantiates (i.e., don't 2624 # use $as_me), people would be surprised to read: 2625 # /* config.h. Generated by config.status. */ 2626 if test x"$ac_file" = x-; then 2627 configure_input= 2628 else 2629 configure_input="$ac_file. " 2630 fi 2631 configure_input=$configure_input"Generated from `echo $ac_file_in | 2632 sed 's,.*/,,'` by configure." 2633 2634 # First look for the input files in the build tree, otherwise in the 2635 # src tree. 2636 ac_file_inputs=`IFS=: 2637 for f in $ac_file_in; do 2638 case $f in 2639 -) echo $tmp/stdin ;; 2640 [\\/$]*) 2641 # Absolute (can't be DOS-style, as IFS=:) 2642 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2643echo "$as_me: error: cannot find input file: $f" >&2;} 2644 { (exit 1); exit 1; }; } 2645 echo "$f";; 2646 *) # Relative 2647 if test -f "$f"; then 2648 # Build tree 2649 echo "$f" 2650 elif test -f "$srcdir/$f"; then 2651 # Source tree 2652 echo "$srcdir/$f" 2653 else 2654 # /dev/null tree 2655 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2656echo "$as_me: error: cannot find input file: $f" >&2;} 2657 { (exit 1); exit 1; }; } 2658 fi;; 2659 esac 2660 done` || { (exit 1); exit 1; } 2661_ACEOF 2662cat >>$CONFIG_STATUS <<_ACEOF 2663 sed "$ac_vpsub 2664$extrasub 2665_ACEOF 2666cat >>$CONFIG_STATUS <<\_ACEOF 2667:t 2668/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2669s,@configure_input@,$configure_input,;t t 2670s,@srcdir@,$ac_srcdir,;t t 2671s,@abs_srcdir@,$ac_abs_srcdir,;t t 2672s,@top_srcdir@,$ac_top_srcdir,;t t 2673s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 2674s,@builddir@,$ac_builddir,;t t 2675s,@abs_builddir@,$ac_abs_builddir,;t t 2676s,@top_builddir@,$ac_top_builddir,;t t 2677s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 2678s,@INSTALL@,$ac_INSTALL,;t t 2679" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 2680 rm -f $tmp/stdin 2681 if test x"$ac_file" != x-; then 2682 mv $tmp/out $ac_file 2683 else 2684 cat $tmp/out 2685 rm -f $tmp/out 2686 fi 2687 2688done 2689_ACEOF 2690 2691cat >>$CONFIG_STATUS <<\_ACEOF 2692 2693{ (exit 0); exit 0; } 2694_ACEOF 2695chmod +x $CONFIG_STATUS 2696ac_clean_files=$ac_clean_files_save 2697 2698 2699# configure is writing to config.log, and then calls config.status. 2700# config.status does its own redirection, appending to config.log. 2701# Unfortunately, on DOS this fails, as config.log is still kept open 2702# by configure, so config.status won't be able to write to it; its 2703# output is simply discarded. So we exec the FD to /dev/null, 2704# effectively closing config.log, so it can be properly (re)opened and 2705# appended to by config.status. When coming back to configure, we 2706# need to make the FD available again. 2707if test "$no_create" != yes; then 2708 ac_cs_success=: 2709 ac_config_status_args= 2710 test "$silent" = yes && 2711 ac_config_status_args="$ac_config_status_args --quiet" 2712 exec 5>/dev/null 2713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 2714 exec 5>>config.log 2715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2716 # would make configure fail if this is the last instruction. 2717 $ac_cs_success || { (exit 1); exit 1; } 2718fi 2719 2720