3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --with-buildroot RPM Build root"
17 --with-tclconfig Path for tclConfig.sh/tkConfig.sh"
19 --with-yazconfig Path for yaz-config"
21 # Initialize some variables set by options.
22 # The variables have the same names as the options, with
23 # dashes changed to underlines.
25 cache_file=./config.cache
34 program_transform_name=s,x,x,
42 bindir='${exec_prefix}/bin'
43 sbindir='${exec_prefix}/sbin'
44 libexecdir='${exec_prefix}/libexec'
45 datadir='${prefix}/share'
46 sysconfdir='${prefix}/etc'
47 sharedstatedir='${prefix}/com'
48 localstatedir='${prefix}/var'
49 libdir='${exec_prefix}/lib'
50 includedir='${prefix}/include'
51 oldincludedir='/usr/include'
52 infodir='${prefix}/info'
53 mandir='${prefix}/man'
55 # Initialize some other variables.
58 SHELL=${CONFIG_SHELL-/bin/sh}
59 # Maximum number of lines to put in a shell here document.
66 # If the previous option needs an argument, assign it.
67 if test -n "$ac_prev"; then
68 eval "$ac_prev=\$ac_option"
74 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
78 # Accept the important Cygnus configure options, so we can diagnose typos.
82 -bindir | --bindir | --bindi | --bind | --bin | --bi)
84 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85 bindir="$ac_optarg" ;;
87 -build | --build | --buil | --bui | --bu)
89 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
92 -cache-file | --cache-file | --cache-fil | --cache-fi \
93 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
95 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
96 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
97 cache_file="$ac_optarg" ;;
99 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
101 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
103 datadir="$ac_optarg" ;;
105 -disable-* | --disable-*)
106 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
107 # Reject names that are not valid shell variable names.
108 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
109 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
111 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
112 eval "enable_${ac_feature}=no" ;;
114 -enable-* | --enable-*)
115 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
116 # Reject names that are not valid shell variable names.
117 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
118 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
120 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
125 eval "enable_${ac_feature}='$ac_optarg'" ;;
127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
129 | --exec | --exe | --ex)
130 ac_prev=exec_prefix ;;
131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
133 | --exec=* | --exe=* | --ex=*)
134 exec_prefix="$ac_optarg" ;;
136 -gas | --gas | --ga | --g)
137 # Obsolete; use --with-gas.
140 -help | --help | --hel | --he)
141 # Omit some internal or obsolete options to make the list less imposing.
142 # This message is too long to be a string in the A/UX 3.1 sh.
144 Usage: configure [options] [host]
145 Options: [defaults in brackets after descriptions]
147 --cache-file=FILE cache test results in FILE
148 --help print this message
149 --no-create do not create output files
150 --quiet, --silent do not print \`checking...' messages
151 --version print the version of autoconf that created configure
152 Directory and file names:
153 --prefix=PREFIX install architecture-independent files in PREFIX
155 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
157 --bindir=DIR user executables in DIR [EPREFIX/bin]
158 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
159 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
160 --datadir=DIR read-only architecture-independent data in DIR
162 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
163 --sharedstatedir=DIR modifiable architecture-independent data in DIR
165 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
166 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
167 --includedir=DIR C header files in DIR [PREFIX/include]
168 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
169 --infodir=DIR info documentation in DIR [PREFIX/info]
170 --mandir=DIR man documentation in DIR [PREFIX/man]
171 --srcdir=DIR find the sources in DIR [configure dir or ..]
172 --program-prefix=PREFIX prepend PREFIX to installed program names
173 --program-suffix=SUFFIX append SUFFIX to installed program names
174 --program-transform-name=PROGRAM
175 run sed PROGRAM on installed program names
179 --build=BUILD configure for building on BUILD [BUILD=HOST]
180 --host=HOST configure for HOST [guessed]
181 --target=TARGET configure for TARGET [TARGET=HOST]
182 Features and packages:
183 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
184 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
185 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
186 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
187 --x-includes=DIR X include files are in DIR
188 --x-libraries=DIR X library files are in DIR
190 if test -n "$ac_help"; then
191 echo "--enable and --with options recognized:$ac_help"
195 -host | --host | --hos | --ho)
197 -host=* | --host=* | --hos=* | --ho=*)
200 -includedir | --includedir | --includedi | --included | --include \
201 | --includ | --inclu | --incl | --inc)
202 ac_prev=includedir ;;
203 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
204 | --includ=* | --inclu=* | --incl=* | --inc=*)
205 includedir="$ac_optarg" ;;
207 -infodir | --infodir | --infodi | --infod | --info | --inf)
209 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
210 infodir="$ac_optarg" ;;
212 -libdir | --libdir | --libdi | --libd)
214 -libdir=* | --libdir=* | --libdi=* | --libd=*)
215 libdir="$ac_optarg" ;;
217 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
218 | --libexe | --libex | --libe)
219 ac_prev=libexecdir ;;
220 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
221 | --libexe=* | --libex=* | --libe=*)
222 libexecdir="$ac_optarg" ;;
224 -localstatedir | --localstatedir | --localstatedi | --localstated \
225 | --localstate | --localstat | --localsta | --localst \
226 | --locals | --local | --loca | --loc | --lo)
227 ac_prev=localstatedir ;;
228 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
229 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
230 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
231 localstatedir="$ac_optarg" ;;
233 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
235 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
236 mandir="$ac_optarg" ;;
239 # Obsolete; use --without-fp.
242 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
246 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
247 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
250 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
251 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
252 | --oldin | --oldi | --old | --ol | --o)
253 ac_prev=oldincludedir ;;
254 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
255 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
256 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
257 oldincludedir="$ac_optarg" ;;
259 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
261 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
262 prefix="$ac_optarg" ;;
264 -program-prefix | --program-prefix | --program-prefi | --program-pref \
265 | --program-pre | --program-pr | --program-p)
266 ac_prev=program_prefix ;;
267 -program-prefix=* | --program-prefix=* | --program-prefi=* \
268 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
269 program_prefix="$ac_optarg" ;;
271 -program-suffix | --program-suffix | --program-suffi | --program-suff \
272 | --program-suf | --program-su | --program-s)
273 ac_prev=program_suffix ;;
274 -program-suffix=* | --program-suffix=* | --program-suffi=* \
275 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
276 program_suffix="$ac_optarg" ;;
278 -program-transform-name | --program-transform-name \
279 | --program-transform-nam | --program-transform-na \
280 | --program-transform-n | --program-transform- \
281 | --program-transform | --program-transfor \
282 | --program-transfo | --program-transf \
283 | --program-trans | --program-tran \
284 | --progr-tra | --program-tr | --program-t)
285 ac_prev=program_transform_name ;;
286 -program-transform-name=* | --program-transform-name=* \
287 | --program-transform-nam=* | --program-transform-na=* \
288 | --program-transform-n=* | --program-transform-=* \
289 | --program-transform=* | --program-transfor=* \
290 | --program-transfo=* | --program-transf=* \
291 | --program-trans=* | --program-tran=* \
292 | --progr-tra=* | --program-tr=* | --program-t=*)
293 program_transform_name="$ac_optarg" ;;
295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
296 | -silent | --silent | --silen | --sile | --sil)
299 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
301 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
303 sbindir="$ac_optarg" ;;
305 -sharedstatedir | --sharedstatedir | --sharedstatedi \
306 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
307 | --sharedst | --shareds | --shared | --share | --shar \
309 ac_prev=sharedstatedir ;;
310 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
311 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
312 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
314 sharedstatedir="$ac_optarg" ;;
316 -site | --site | --sit)
318 -site=* | --site=* | --sit=*)
321 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
323 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
324 srcdir="$ac_optarg" ;;
326 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
327 | --syscon | --sysco | --sysc | --sys | --sy)
328 ac_prev=sysconfdir ;;
329 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
330 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
331 sysconfdir="$ac_optarg" ;;
333 -target | --target | --targe | --targ | --tar | --ta | --t)
335 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
336 target="$ac_optarg" ;;
338 -v | -verbose | --verbose | --verbos | --verbo | --verb)
341 -version | --version | --versio | --versi | --vers)
342 echo "configure generated by autoconf version 2.13"
346 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
347 # Reject names that are not valid shell variable names.
348 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
349 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
351 ac_package=`echo $ac_package| sed 's/-/_/g'`
356 eval "with_${ac_package}='$ac_optarg'" ;;
358 -without-* | --without-*)
359 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
360 # Reject names that are not valid shell variable names.
361 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
362 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
364 ac_package=`echo $ac_package| sed 's/-/_/g'`
365 eval "with_${ac_package}=no" ;;
368 # Obsolete; use --with-x.
371 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
372 | --x-incl | --x-inc | --x-in | --x-i)
373 ac_prev=x_includes ;;
374 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
375 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
376 x_includes="$ac_optarg" ;;
378 -x-libraries | --x-libraries | --x-librarie | --x-librari \
379 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
380 ac_prev=x_libraries ;;
381 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
382 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
383 x_libraries="$ac_optarg" ;;
385 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
389 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
390 echo "configure: warning: $ac_option: invalid host type" 1>&2
392 if test "x$nonopt" != xNONE; then
393 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
401 if test -n "$ac_prev"; then
402 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
405 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
407 # File descriptor usage:
410 # 2 errors and warnings
411 # 3 some systems may open it to /dev/tty
412 # 4 used on the Kubota Titan
413 # 6 checking for... messages and results
414 # 5 compiler messages saved in config.log
415 if test "$silent" = yes; then
423 This file contains any messages produced by compilers while
424 running configure, to aid debugging if configure makes a mistake.
427 # Strip out --no-create and --no-recursion so they do not pile up.
428 # Also quote any args containing shell metacharacters.
433 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
434 | --no-cr | --no-c) ;;
435 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
436 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
438 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
439 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
444 # Only set these to C if already set. These must not be set unconditionally
445 # because not all systems understand e.g. LANG=C (notably SCO).
446 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
447 # Non-C LC_CTYPE values break the ctype check.
448 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
449 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
450 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
451 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
454 rm -rf conftest* confdefs.h
455 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
458 # A filename unique to this package, relative to the directory that
459 # configure is in, which we can look for to find out if srcdir is correct.
460 ac_unique_file=hswitch.c
462 # Find the source files, if location was not specified.
463 if test -z "$srcdir"; then
464 ac_srcdir_defaulted=yes
465 # Try the directory containing this script, then its parent.
467 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
468 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
470 if test ! -r $srcdir/$ac_unique_file; then
474 ac_srcdir_defaulted=no
476 if test ! -r $srcdir/$ac_unique_file; then
477 if test "$ac_srcdir_defaulted" = yes; then
478 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
480 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
483 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
485 # Prefer explicitly selected file to automatically selected ones.
486 if test -z "$CONFIG_SITE"; then
487 if test "x$prefix" != xNONE; then
488 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
490 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
493 for ac_site_file in $CONFIG_SITE; do
494 if test -r "$ac_site_file"; then
495 echo "loading site script $ac_site_file"
500 if test -r "$cache_file"; then
501 echo "loading cache $cache_file"
504 echo "creating cache $cache_file"
509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
510 ac_cpp='$CPP $CPPFLAGS'
511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
513 cross_compiling=$ac_cv_prog_cc_cross
517 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
518 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
519 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
526 ac_n= ac_c='\c' ac_t=
540 # Check whether --with-build-root or --without-build-root was given.
541 if test "${with_build_root+set}" = set; then
542 withval="$with_build_root"
549 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
550 if test -f $ac_dir/install-sh; then
552 ac_install_sh="$ac_aux_dir/install-sh -c"
554 elif test -f $ac_dir/install.sh; then
556 ac_install_sh="$ac_aux_dir/install.sh -c"
560 if test -z "$ac_aux_dir"; then
561 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
563 ac_config_guess=$ac_aux_dir/config.guess
564 ac_config_sub=$ac_aux_dir/config.sub
565 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
567 # Find a good install program. We prefer a C program (faster),
568 # so one script is as good as another. But avoid the broken or
569 # incompatible versions:
570 # SysV /etc/install, /usr/sbin/install
571 # SunOS /usr/etc/install
574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
577 # ./install, which can be erroneously created by make from ./install.sh.
578 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
579 echo "configure:580: checking for a BSD compatible install" >&5
580 if test -z "$INSTALL"; then
581 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
582 echo $ac_n "(cached) $ac_c" 1>&6
584 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
585 for ac_dir in $PATH; do
586 # Account for people who put trailing slashes in PATH elements.
588 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
590 # OSF1 and SCO ODT 3.0 have their own names for install.
591 # Don't use installbsd from OSF since it installs stuff as root
593 for ac_prog in ginstall scoinst install; do
594 if test -f $ac_dir/$ac_prog; then
595 if test $ac_prog = install &&
596 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
597 # AIX install. It has an incompatible calling convention.
600 ac_cv_path_install="$ac_dir/$ac_prog -c"
611 if test "${ac_cv_path_install+set}" = set; then
612 INSTALL="$ac_cv_path_install"
614 # As a last resort, use the slow shell script. We don't cache a
615 # path for INSTALL within a source directory, because that will
616 # break other packages using the cache if that directory is
617 # removed, or if the path is relative.
618 INSTALL="$ac_install_sh"
621 echo "$ac_t""$INSTALL" 1>&6
623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
624 # It thinks the first close brace ends the variable substitution.
625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
629 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
633 # Check whether --with-tclconfig or --without-tclconfig was given.
634 if test "${with_tclconfig+set}" = set; then
635 withval="$with_tclconfig"
639 if test "x$tclconfig" = xNONE; then
641 if test "x$prefix" = xNONE; then
642 echo $ac_n "checking for prefix by $ac_c" 1>&6
643 # Extract the first word of "tclsh", so it can be a program name with args.
644 set dummy tclsh; ac_word=$2
645 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
646 echo "configure:647: checking for $ac_word" >&5
647 if eval "test \"`echo '$''{'ac_cv_path_TCLSH'+set}'`\" = set"; then
648 echo $ac_n "(cached) $ac_c" 1>&6
652 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
655 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a dos path.
658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
660 for ac_dir in $ac_dummy; do
661 test -z "$ac_dir" && ac_dir=.
662 if test -f $ac_dir/$ac_word; then
663 ac_cv_path_TCLSH="$ac_dir/$ac_word"
671 TCLSH="$ac_cv_path_TCLSH"
672 if test -n "$TCLSH"; then
673 echo "$ac_t""$TCLSH" 1>&6
675 echo "$ac_t""no" 1>&6
678 if test -n "$ac_cv_path_TCLSH"; then
679 prefix=`echo $ac_cv_path_TCLSH|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
683 if test "x$prefix" = xNONE; then
684 if test "x$prefix" = xNONE; then
685 echo $ac_n "checking for prefix by $ac_c" 1>&6
686 # Extract the first word of "tclsh8.2", so it can be a program name with args.
687 set dummy tclsh8.2; ac_word=$2
688 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
689 echo "configure:690: checking for $ac_word" >&5
690 if eval "test \"`echo '$''{'ac_cv_path_TCLSH8.2'+set}'`\" = set"; then
691 echo $ac_n "(cached) $ac_c" 1>&6
695 ac_cv_path_TCLSH8.2="$TCLSH8.2" # Let the user override the test with a path.
698 ac_cv_path_TCLSH8.2="$TCLSH8.2" # Let the user override the test with a dos path.
701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
703 for ac_dir in $ac_dummy; do
704 test -z "$ac_dir" && ac_dir=.
705 if test -f $ac_dir/$ac_word; then
706 ac_cv_path_TCLSH8.2="$ac_dir/$ac_word"
714 TCLSH8.2="$ac_cv_path_TCLSH8.2"
715 if test -n "$TCLSH8.2"; then
716 echo "$ac_t""$TCLSH8.2" 1>&6
718 echo "$ac_t""no" 1>&6
721 if test -n "$ac_cv_path_TCLSH8.2"; then
722 prefix=`echo $ac_cv_path_TCLSH8.2|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
727 if test "x$prefix" = xNONE; then
728 if test "x$prefix" = xNONE; then
729 echo $ac_n "checking for prefix by $ac_c" 1>&6
730 # Extract the first word of "tclsh8.1", so it can be a program name with args.
731 set dummy tclsh8.1; ac_word=$2
732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
733 echo "configure:734: checking for $ac_word" >&5
734 if eval "test \"`echo '$''{'ac_cv_path_TCLSH8.1'+set}'`\" = set"; then
735 echo $ac_n "(cached) $ac_c" 1>&6
739 ac_cv_path_TCLSH8.1="$TCLSH8.1" # Let the user override the test with a path.
742 ac_cv_path_TCLSH8.1="$TCLSH8.1" # Let the user override the test with a dos path.
745 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
747 for ac_dir in $ac_dummy; do
748 test -z "$ac_dir" && ac_dir=.
749 if test -f $ac_dir/$ac_word; then
750 ac_cv_path_TCLSH8.1="$ac_dir/$ac_word"
758 TCLSH8.1="$ac_cv_path_TCLSH8.1"
759 if test -n "$TCLSH8.1"; then
760 echo "$ac_t""$TCLSH8.1" 1>&6
762 echo "$ac_t""no" 1>&6
765 if test -n "$ac_cv_path_TCLSH8.1"; then
766 prefix=`echo $ac_cv_path_TCLSH8.1|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
771 if test "x$prefix" = xNONE; then
772 if test "x$prefix" = xNONE; then
773 echo $ac_n "checking for prefix by $ac_c" 1>&6
774 # Extract the first word of "tclsh8.0", so it can be a program name with args.
775 set dummy tclsh8.0; ac_word=$2
776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
777 echo "configure:778: checking for $ac_word" >&5
778 if eval "test \"`echo '$''{'ac_cv_path_TCLSH8.0'+set}'`\" = set"; then
779 echo $ac_n "(cached) $ac_c" 1>&6
783 ac_cv_path_TCLSH8.0="$TCLSH8.0" # Let the user override the test with a path.
786 ac_cv_path_TCLSH8.0="$TCLSH8.0" # Let the user override the test with a dos path.
789 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
791 for ac_dir in $ac_dummy; do
792 test -z "$ac_dir" && ac_dir=.
793 if test -f $ac_dir/$ac_word; then
794 ac_cv_path_TCLSH8.0="$ac_dir/$ac_word"
802 TCLSH8.0="$ac_cv_path_TCLSH8.0"
803 if test -n "$TCLSH8.0"; then
804 echo "$ac_t""$TCLSH8.0" 1>&6
806 echo "$ac_t""no" 1>&6
809 if test -n "$ac_cv_path_TCLSH8.0"; then
810 prefix=`echo $ac_cv_path_TCLSH8.0|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
815 if test "x$prefix" = xNONE; then
816 if test "x$prefix" = xNONE; then
817 echo $ac_n "checking for prefix by $ac_c" 1>&6
818 # Extract the first word of "tclsh7.6", so it can be a program name with args.
819 set dummy tclsh7.6; ac_word=$2
820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
821 echo "configure:822: checking for $ac_word" >&5
822 if eval "test \"`echo '$''{'ac_cv_path_TCLSH7.6'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
827 ac_cv_path_TCLSH7.6="$TCLSH7.6" # Let the user override the test with a path.
830 ac_cv_path_TCLSH7.6="$TCLSH7.6" # Let the user override the test with a dos path.
833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
835 for ac_dir in $ac_dummy; do
836 test -z "$ac_dir" && ac_dir=.
837 if test -f $ac_dir/$ac_word; then
838 ac_cv_path_TCLSH7.6="$ac_dir/$ac_word"
846 TCLSH7.6="$ac_cv_path_TCLSH7.6"
847 if test -n "$TCLSH7.6"; then
848 echo "$ac_t""$TCLSH7.6" 1>&6
850 echo "$ac_t""no" 1>&6
853 if test -n "$ac_cv_path_TCLSH7.6"; then
854 prefix=`echo $ac_cv_path_TCLSH7.6|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
859 if test "x$prefix" = xNONE; then
860 if test "x$prefix" = xNONE; then
861 echo $ac_n "checking for prefix by $ac_c" 1>&6
862 # Extract the first word of "tclsh7.5", so it can be a program name with args.
863 set dummy tclsh7.5; ac_word=$2
864 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
865 echo "configure:866: checking for $ac_word" >&5
866 if eval "test \"`echo '$''{'ac_cv_path_TCLSH7.5'+set}'`\" = set"; then
867 echo $ac_n "(cached) $ac_c" 1>&6
871 ac_cv_path_TCLSH7.5="$TCLSH7.5" # Let the user override the test with a path.
874 ac_cv_path_TCLSH7.5="$TCLSH7.5" # Let the user override the test with a dos path.
877 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
879 for ac_dir in $ac_dummy; do
880 test -z "$ac_dir" && ac_dir=.
881 if test -f $ac_dir/$ac_word; then
882 ac_cv_path_TCLSH7.5="$ac_dir/$ac_word"
890 TCLSH7.5="$ac_cv_path_TCLSH7.5"
891 if test -n "$TCLSH7.5"; then
892 echo "$ac_t""$TCLSH7.5" 1>&6
894 echo "$ac_t""no" 1>&6
897 if test -n "$ac_cv_path_TCLSH7.5"; then
898 prefix=`echo $ac_cv_path_TCLSH7.5|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
903 if test "x$prefix" = xNONE; then
906 tclconfig=${prefix}/lib
910 if test -r ${tclconfig}/tclConfig.sh; then
911 echo $ac_n "checking for Tcl""... $ac_c" 1>&6
912 echo "configure:913: checking for Tcl" >&5
913 . ${tclconfig}/tclConfig.sh
914 TCLLIB="${TCL_LIB_SPEC} ${TCL_LIBS}"
915 TCLINC=-I${TCL_PREFIX}/include
917 SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
918 SHLIB_LD=$TCL_SHLIB_LD
919 SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
920 SHLIB_VERSION=$TCL_SHLIB_VERSION
921 echo "$ac_t""$TCL_VERSION" 1>&6
924 # Extract the first word of "gcc", so it can be a program name with args.
925 set dummy gcc; ac_word=$2
926 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
927 echo "configure:928: checking for $ac_word" >&5
928 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
929 echo $ac_n "(cached) $ac_c" 1>&6
931 if test -n "$CC"; then
932 ac_cv_prog_CC="$CC" # Let the user override the test.
934 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
936 for ac_dir in $ac_dummy; do
937 test -z "$ac_dir" && ac_dir=.
938 if test -f $ac_dir/$ac_word; then
947 if test -n "$CC"; then
948 echo "$ac_t""$CC" 1>&6
950 echo "$ac_t""no" 1>&6
953 if test -z "$CC"; then
954 # Extract the first word of "cc", so it can be a program name with args.
955 set dummy cc; ac_word=$2
956 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
957 echo "configure:958: checking for $ac_word" >&5
958 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
959 echo $ac_n "(cached) $ac_c" 1>&6
961 if test -n "$CC"; then
962 ac_cv_prog_CC="$CC" # Let the user override the test.
964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
967 for ac_dir in $ac_dummy; do
968 test -z "$ac_dir" && ac_dir=.
969 if test -f $ac_dir/$ac_word; then
970 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
979 if test $ac_prog_rejected = yes; then
980 # We found a bogon in the path, so make sure we never use it.
981 set dummy $ac_cv_prog_CC
983 if test $# -gt 0; then
984 # We chose a different compiler from the bogus one.
985 # However, it has the same basename, so the bogon will be chosen
986 # first if we set CC to just the basename; use the full file name.
988 set dummy "$ac_dir/$ac_word" "$@"
996 if test -n "$CC"; then
997 echo "$ac_t""$CC" 1>&6
999 echo "$ac_t""no" 1>&6
1002 if test -z "$CC"; then
1003 case "`uname -s`" in
1005 # Extract the first word of "cl", so it can be a program name with args.
1006 set dummy cl; ac_word=$2
1007 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1008 echo "configure:1009: checking for $ac_word" >&5
1009 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1010 echo $ac_n "(cached) $ac_c" 1>&6
1012 if test -n "$CC"; then
1013 ac_cv_prog_CC="$CC" # Let the user override the test.
1015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1017 for ac_dir in $ac_dummy; do
1018 test -z "$ac_dir" && ac_dir=.
1019 if test -f $ac_dir/$ac_word; then
1028 if test -n "$CC"; then
1029 echo "$ac_t""$CC" 1>&6
1031 echo "$ac_t""no" 1>&6
1036 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1039 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1040 echo "configure:1041: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1044 ac_cpp='$CPP $CPPFLAGS'
1045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1047 cross_compiling=$ac_cv_prog_cc_cross
1049 cat > conftest.$ac_ext << EOF
1051 #line 1052 "configure"
1052 #include "confdefs.h"
1056 if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1057 ac_cv_prog_cc_works=yes
1058 # If we can't run a trivial program, we are probably using a cross compiler.
1059 if (./conftest; exit) 2>/dev/null; then
1060 ac_cv_prog_cc_cross=no
1062 ac_cv_prog_cc_cross=yes
1065 echo "configure: failed program was:" >&5
1066 cat conftest.$ac_ext >&5
1067 ac_cv_prog_cc_works=no
1071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1072 ac_cpp='$CPP $CPPFLAGS'
1073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1075 cross_compiling=$ac_cv_prog_cc_cross
1077 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1078 if test $ac_cv_prog_cc_works = no; then
1079 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1081 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1082 echo "configure:1083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1083 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1084 cross_compiling=$ac_cv_prog_cc_cross
1086 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1087 echo "configure:1088: checking whether we are using GNU C" >&5
1088 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1089 echo $ac_n "(cached) $ac_c" 1>&6
1091 cat > conftest.c <<EOF
1096 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1103 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1105 if test $ac_cv_prog_gcc = yes; then
1111 ac_test_CFLAGS="${CFLAGS+set}"
1112 ac_save_CFLAGS="$CFLAGS"
1114 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1115 echo "configure:1116: checking whether ${CC-cc} accepts -g" >&5
1116 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1117 echo $ac_n "(cached) $ac_c" 1>&6
1119 echo 'void f(){}' > conftest.c
1120 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1129 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1130 if test "$ac_test_CFLAGS" = set; then
1131 CFLAGS="$ac_save_CFLAGS"
1132 elif test $ac_cv_prog_cc_g = yes; then
1133 if test "$GCC" = yes; then
1139 if test "$GCC" = yes; then
1147 SHLIB_LD="shared-linker"
1150 # Extract the first word of "ranlib", so it can be a program name with args.
1151 set dummy ranlib; ac_word=$2
1152 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1153 echo "configure:1154: checking for $ac_word" >&5
1154 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1155 echo $ac_n "(cached) $ac_c" 1>&6
1157 if test -n "$RANLIB"; then
1158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1162 for ac_dir in $ac_dummy; do
1163 test -z "$ac_dir" && ac_dir=.
1164 if test -f $ac_dir/$ac_word; then
1165 ac_cv_prog_RANLIB="ranlib"
1170 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1173 RANLIB="$ac_cv_prog_RANLIB"
1174 if test -n "$RANLIB"; then
1175 echo "$ac_t""$RANLIB" 1>&6
1177 echo "$ac_t""no" 1>&6
1180 echo $ac_n "checking for Tcl""... $ac_c" 1>&6
1181 echo "configure:1182: checking for Tcl" >&5
1183 for i in "" 7.4 7.5 7.6 8.0; do
1184 if test -r ${tryprefix}/lib/libtcl${i}.a; then
1188 if test "$TCL_VERSION" = nope; then
1189 echo "configure: warning: Didn't find Tcl" 1>&2
1191 TCLINC=" # -I.. Tcl/Tk include path"
1193 if test "$TCL_VERSION" = ""; then
1194 echo "$ac_t""7.3" 1>&6
1196 echo "$ac_t""$TCL_VERSION" 1>&6
1198 TCL_LIB_SPEC=${tryprefix}/lib/libtcl${TCL_VERSION}.a
1199 TCLINC=-I${tryprefix}/include
1201 TCLLIB="${TCL_LIB_SPEC} ${LIBS} -lm"
1205 # Check whether --with-yazconfig or --without-yazconfig was given.
1206 if test "${with_yazconfig+set}" = set; then
1207 withval="$with_yazconfig"
1211 if test "x$yazpath" != "xNONE"; then
1212 yazconfig=$yazpath/yaz-config
1214 for i in ../yaz* ../yaz; do
1216 if test -r $i/yaz-config; then
1217 yazconfig=$i/yaz-config
1221 if test "x$yazconfig" = "xNONE"; then
1222 # Extract the first word of "yaz-config", so it can be a program name with args.
1223 set dummy yaz-config; ac_word=$2
1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1225 echo "configure:1226: checking for $ac_word" >&5
1226 if eval "test \"`echo '$''{'ac_cv_path_yazconfig'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 case "$yazconfig" in
1231 ac_cv_path_yazconfig="$yazconfig" # Let the user override the test with a path.
1234 ac_cv_path_yazconfig="$yazconfig" # Let the user override the test with a dos path.
1237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1239 for ac_dir in $ac_dummy; do
1240 test -z "$ac_dir" && ac_dir=.
1241 if test -f $ac_dir/$ac_word; then
1242 ac_cv_path_yazconfig="$ac_dir/$ac_word"
1247 test -z "$ac_cv_path_yazconfig" && ac_cv_path_yazconfig="NONE"
1251 yazconfig="$ac_cv_path_yazconfig"
1252 if test -n "$yazconfig"; then
1253 echo "$ac_t""$yazconfig" 1>&6
1255 echo "$ac_t""no" 1>&6
1260 echo $ac_n "checking for YAZ""... $ac_c" 1>&6
1261 echo "configure:1262: checking for YAZ" >&5
1262 if test -r $yazconfig; then
1264 echo "$ac_t""$yazconfig" 1>&6
1266 echo "$ac_t""Not found" 1>&6
1269 cat > confcache <<\EOF
1270 # This file is a shell script that caches the results of configure
1271 # tests run on this system so they can be shared between configure
1272 # scripts and configure runs. It is not useful on other systems.
1273 # If it contains results you don't want to keep, you may remove or edit it.
1275 # By default, configure uses ./config.cache as the cache file,
1276 # creating it if it does not exist already. You can give configure
1277 # the --cache-file=FILE option to use a different cache file; that is
1278 # what configure does when it calls configure scripts in
1279 # subdirectories, so they share the cache.
1280 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1281 # config.status only pays attention to the cache file if you give it the
1282 # --recheck option to rerun configure.
1285 # The following way of writing the cache mishandles newlines in values,
1286 # but we know of no workaround that is simple, portable, and efficient.
1287 # So, don't put newlines in cache variables' values.
1288 # Ultrix sh set writes to stderr and can't be redirected directly,
1289 # and sets the high bit in the cache file unless we assign to the vars.
1291 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1293 # `set' does not quote correctly, so add quotes (double-quote substitution
1294 # turns \\\\ into \\, and sed turns \\ into \).
1296 -e "s/'/'\\\\''/g" \
1297 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1300 # `set' quotes correctly as required by POSIX, so do not add quotes.
1301 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1304 if cmp -s $cache_file confcache; then
1307 if test -w $cache_file; then
1308 echo "updating cache $cache_file"
1309 cat confcache > $cache_file
1311 echo "not updating unwritable cache $cache_file"
1316 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1319 # Let make expand exec_prefix.
1320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1322 # Any assignment to VPATH causes Sun make to only execute
1323 # the first set of double-colon rules, so remove it if not needed.
1324 # If there is a colon in the path, we need to keep it.
1325 if test "x$srcdir" = x.; then
1326 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1329 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1331 # Transform confdefs.h into DEFS.
1332 # Protect against shell expansion while executing Makefile rules.
1333 # Protect against Makefile macro expansion.
1334 cat > conftest.defs <<\EOF
1335 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1336 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1341 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1345 # Without the "./", some shells look in PATH for config.status.
1346 : ${CONFIG_STATUS=./config.status}
1348 echo creating $CONFIG_STATUS
1349 rm -f $CONFIG_STATUS
1350 cat > $CONFIG_STATUS <<EOF
1352 # Generated automatically by configure.
1353 # Run this file to recreate the current configuration.
1354 # This directory was configured as follows,
1355 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1357 # $0 $ac_configure_args
1359 # Compiler output produced by configure, useful for debugging
1360 # configure, is in ./config.log if it exists.
1362 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1365 case "\$ac_option" in
1366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1367 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1368 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1369 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1370 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1372 -help | --help | --hel | --he | --h)
1373 echo "\$ac_cs_usage"; exit 0 ;;
1374 *) echo "\$ac_cs_usage"; exit 1 ;;
1378 ac_given_srcdir=$srcdir
1379 ac_given_INSTALL="$INSTALL"
1381 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1383 cat >> $CONFIG_STATUS <<EOF
1385 # Protect against being on the right side of a sed subst in config.status.
1386 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1387 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1391 s%@CFLAGS@%$CFLAGS%g
1392 s%@CPPFLAGS@%$CPPFLAGS%g
1393 s%@CXXFLAGS@%$CXXFLAGS%g
1394 s%@FFLAGS@%$FFLAGS%g
1396 s%@LDFLAGS@%$LDFLAGS%g
1398 s%@exec_prefix@%$exec_prefix%g
1399 s%@prefix@%$prefix%g
1400 s%@program_transform_name@%$program_transform_name%g
1401 s%@bindir@%$bindir%g
1402 s%@sbindir@%$sbindir%g
1403 s%@libexecdir@%$libexecdir%g
1404 s%@datadir@%$datadir%g
1405 s%@sysconfdir@%$sysconfdir%g
1406 s%@sharedstatedir@%$sharedstatedir%g
1407 s%@localstatedir@%$localstatedir%g
1408 s%@libdir@%$libdir%g
1409 s%@includedir@%$includedir%g
1410 s%@oldincludedir@%$oldincludedir%g
1411 s%@infodir@%$infodir%g
1412 s%@mandir@%$mandir%g
1414 s%@TCLLIB@%$TCLLIB%g
1415 s%@TCLINC@%$TCLINC%g
1416 s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g
1417 s%@SHLIB_LD@%$SHLIB_LD%g
1418 s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g
1419 s%@SHLIB_VERSION@%$SHLIB_VERSION%g
1420 s%@YAZLIB@%$YAZLIB%g
1421 s%@YAZINC@%$YAZINC%g
1422 s%@build_root@%$build_root%g
1423 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1424 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1425 s%@INSTALL_DATA@%$INSTALL_DATA%g
1427 s%@TCLSH8.2@%$TCLSH8.2%g
1428 s%@TCLSH8.1@%$TCLSH8.1%g
1429 s%@TCLSH8.0@%$TCLSH8.0%g
1430 s%@TCLSH7.6@%$TCLSH7.6%g
1431 s%@TCLSH7.5@%$TCLSH7.5%g
1432 s%@RANLIB@%$RANLIB%g
1433 s%@yazconfig@%$yazconfig%g
1438 cat >> $CONFIG_STATUS <<\EOF
1440 # Split the substitutions into bite-sized pieces for seds with
1441 # small command number limits, like on Digital OSF/1 and HP-UX.
1442 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1443 ac_file=1 # Number of current file.
1444 ac_beg=1 # First line for current file.
1445 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1448 while $ac_more_lines; do
1449 if test $ac_beg -gt 1; then
1450 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1452 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1454 if test ! -s conftest.s$ac_file; then
1456 rm -f conftest.s$ac_file
1458 if test -z "$ac_sed_cmds"; then
1459 ac_sed_cmds="sed -f conftest.s$ac_file"
1461 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1463 ac_file=`expr $ac_file + 1`
1465 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1468 if test -z "$ac_sed_cmds"; then
1473 cat >> $CONFIG_STATUS <<EOF
1475 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1477 cat >> $CONFIG_STATUS <<\EOF
1478 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1479 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1481 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1482 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1483 *) ac_file_in="${ac_file}.in" ;;
1486 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1488 # Remove last slash and all that follows it. Not all systems have dirname.
1489 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1490 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1491 # The file is in a subdirectory.
1492 test ! -d "$ac_dir" && mkdir "$ac_dir"
1493 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1494 # A "../" for each directory in $ac_dir_suffix.
1495 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1497 ac_dir_suffix= ac_dots=
1500 case "$ac_given_srcdir" in
1502 if test -z "$ac_dots"; then top_srcdir=.
1503 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1504 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1506 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1507 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1510 case "$ac_given_INSTALL" in
1511 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1512 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1515 echo creating "$ac_file"
1517 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1519 *Makefile*) ac_comsub="1i\\
1520 # $configure_input" ;;
1524 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1526 s%@configure_input@%$configure_input%g
1527 s%@srcdir@%$srcdir%g
1528 s%@top_srcdir@%$top_srcdir%g
1529 s%@INSTALL@%$INSTALL%g
1530 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1535 cat >> $CONFIG_STATUS <<EOF
1538 cat >> $CONFIG_STATUS <<\EOF
1542 chmod +x $CONFIG_STATUS
1543 rm -fr confdefs* $ac_clean_files
1544 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1