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-yazconfig=DIR yaz-config in DIR (example /home/yaz-1.7)"
17 --with-tclconfig=DIR tclConfig.sh in DIR"
19 # Initialize some variables set by options.
20 # The variables have the same names as the options, with
21 # dashes changed to underlines.
23 cache_file=./config.cache
32 program_transform_name=s,x,x,
40 bindir='${exec_prefix}/bin'
41 sbindir='${exec_prefix}/sbin'
42 libexecdir='${exec_prefix}/libexec'
43 datadir='${prefix}/share'
44 sysconfdir='${prefix}/etc'
45 sharedstatedir='${prefix}/com'
46 localstatedir='${prefix}/var'
47 libdir='${exec_prefix}/lib'
48 includedir='${prefix}/include'
49 oldincludedir='/usr/include'
50 infodir='${prefix}/info'
51 mandir='${prefix}/man'
53 # Initialize some other variables.
56 SHELL=${CONFIG_SHELL-/bin/sh}
57 # Maximum number of lines to put in a shell here document.
64 # If the previous option needs an argument, assign it.
65 if test -n "$ac_prev"; then
66 eval "$ac_prev=\$ac_option"
72 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
76 # Accept the important Cygnus configure options, so we can diagnose typos.
80 -bindir | --bindir | --bindi | --bind | --bin | --bi)
82 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
83 bindir="$ac_optarg" ;;
85 -build | --build | --buil | --bui | --bu)
87 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
90 -cache-file | --cache-file | --cache-fil | --cache-fi \
91 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
93 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
94 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
95 cache_file="$ac_optarg" ;;
97 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
99 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
101 datadir="$ac_optarg" ;;
103 -disable-* | --disable-*)
104 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
105 # Reject names that are not valid shell variable names.
106 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
107 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
109 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
110 eval "enable_${ac_feature}=no" ;;
112 -enable-* | --enable-*)
113 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
114 # Reject names that are not valid shell variable names.
115 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
116 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
118 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
123 eval "enable_${ac_feature}='$ac_optarg'" ;;
125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
127 | --exec | --exe | --ex)
128 ac_prev=exec_prefix ;;
129 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
130 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
131 | --exec=* | --exe=* | --ex=*)
132 exec_prefix="$ac_optarg" ;;
134 -gas | --gas | --ga | --g)
135 # Obsolete; use --with-gas.
138 -help | --help | --hel | --he)
139 # Omit some internal or obsolete options to make the list less imposing.
140 # This message is too long to be a string in the A/UX 3.1 sh.
142 Usage: configure [options] [host]
143 Options: [defaults in brackets after descriptions]
145 --cache-file=FILE cache test results in FILE
146 --help print this message
147 --no-create do not create output files
148 --quiet, --silent do not print \`checking...' messages
149 --version print the version of autoconf that created configure
150 Directory and file names:
151 --prefix=PREFIX install architecture-independent files in PREFIX
153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
155 --bindir=DIR user executables in DIR [EPREFIX/bin]
156 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
157 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
158 --datadir=DIR read-only architecture-independent data in DIR
160 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
161 --sharedstatedir=DIR modifiable architecture-independent data in DIR
163 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
164 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
165 --includedir=DIR C header files in DIR [PREFIX/include]
166 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
167 --infodir=DIR info documentation in DIR [PREFIX/info]
168 --mandir=DIR man documentation in DIR [PREFIX/man]
169 --srcdir=DIR find the sources in DIR [configure dir or ..]
170 --program-prefix=PREFIX prepend PREFIX to installed program names
171 --program-suffix=SUFFIX append SUFFIX to installed program names
172 --program-transform-name=PROGRAM
173 run sed PROGRAM on installed program names
177 --build=BUILD configure for building on BUILD [BUILD=HOST]
178 --host=HOST configure for HOST [guessed]
179 --target=TARGET configure for TARGET [TARGET=HOST]
180 Features and packages:
181 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
182 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
183 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
184 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
185 --x-includes=DIR X include files are in DIR
186 --x-libraries=DIR X library files are in DIR
188 if test -n "$ac_help"; then
189 echo "--enable and --with options recognized:$ac_help"
193 -host | --host | --hos | --ho)
195 -host=* | --host=* | --hos=* | --ho=*)
198 -includedir | --includedir | --includedi | --included | --include \
199 | --includ | --inclu | --incl | --inc)
200 ac_prev=includedir ;;
201 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
202 | --includ=* | --inclu=* | --incl=* | --inc=*)
203 includedir="$ac_optarg" ;;
205 -infodir | --infodir | --infodi | --infod | --info | --inf)
207 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
208 infodir="$ac_optarg" ;;
210 -libdir | --libdir | --libdi | --libd)
212 -libdir=* | --libdir=* | --libdi=* | --libd=*)
213 libdir="$ac_optarg" ;;
215 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
216 | --libexe | --libex | --libe)
217 ac_prev=libexecdir ;;
218 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
219 | --libexe=* | --libex=* | --libe=*)
220 libexecdir="$ac_optarg" ;;
222 -localstatedir | --localstatedir | --localstatedi | --localstated \
223 | --localstate | --localstat | --localsta | --localst \
224 | --locals | --local | --loca | --loc | --lo)
225 ac_prev=localstatedir ;;
226 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
227 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
228 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
229 localstatedir="$ac_optarg" ;;
231 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
233 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
234 mandir="$ac_optarg" ;;
237 # Obsolete; use --without-fp.
240 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
244 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
245 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
248 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
249 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
250 | --oldin | --oldi | --old | --ol | --o)
251 ac_prev=oldincludedir ;;
252 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
253 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
254 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
255 oldincludedir="$ac_optarg" ;;
257 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
259 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
260 prefix="$ac_optarg" ;;
262 -program-prefix | --program-prefix | --program-prefi | --program-pref \
263 | --program-pre | --program-pr | --program-p)
264 ac_prev=program_prefix ;;
265 -program-prefix=* | --program-prefix=* | --program-prefi=* \
266 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
267 program_prefix="$ac_optarg" ;;
269 -program-suffix | --program-suffix | --program-suffi | --program-suff \
270 | --program-suf | --program-su | --program-s)
271 ac_prev=program_suffix ;;
272 -program-suffix=* | --program-suffix=* | --program-suffi=* \
273 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
274 program_suffix="$ac_optarg" ;;
276 -program-transform-name | --program-transform-name \
277 | --program-transform-nam | --program-transform-na \
278 | --program-transform-n | --program-transform- \
279 | --program-transform | --program-transfor \
280 | --program-transfo | --program-transf \
281 | --program-trans | --program-tran \
282 | --progr-tra | --program-tr | --program-t)
283 ac_prev=program_transform_name ;;
284 -program-transform-name=* | --program-transform-name=* \
285 | --program-transform-nam=* | --program-transform-na=* \
286 | --program-transform-n=* | --program-transform-=* \
287 | --program-transform=* | --program-transfor=* \
288 | --program-transfo=* | --program-transf=* \
289 | --program-trans=* | --program-tran=* \
290 | --progr-tra=* | --program-tr=* | --program-t=*)
291 program_transform_name="$ac_optarg" ;;
293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
294 | -silent | --silent | --silen | --sile | --sil)
297 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
299 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
301 sbindir="$ac_optarg" ;;
303 -sharedstatedir | --sharedstatedir | --sharedstatedi \
304 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
305 | --sharedst | --shareds | --shared | --share | --shar \
307 ac_prev=sharedstatedir ;;
308 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
309 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
310 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
312 sharedstatedir="$ac_optarg" ;;
314 -site | --site | --sit)
316 -site=* | --site=* | --sit=*)
319 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
321 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
322 srcdir="$ac_optarg" ;;
324 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
325 | --syscon | --sysco | --sysc | --sys | --sy)
326 ac_prev=sysconfdir ;;
327 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
328 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
329 sysconfdir="$ac_optarg" ;;
331 -target | --target | --targe | --targ | --tar | --ta | --t)
333 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
334 target="$ac_optarg" ;;
336 -v | -verbose | --verbose | --verbos | --verbo | --verb)
339 -version | --version | --versio | --versi | --vers)
340 echo "configure generated by autoconf version 2.13"
344 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
345 # Reject names that are not valid shell variable names.
346 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
347 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
349 ac_package=`echo $ac_package| sed 's/-/_/g'`
354 eval "with_${ac_package}='$ac_optarg'" ;;
356 -without-* | --without-*)
357 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
358 # Reject names that are not valid shell variable names.
359 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
360 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362 ac_package=`echo $ac_package| sed 's/-/_/g'`
363 eval "with_${ac_package}=no" ;;
366 # Obsolete; use --with-x.
369 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
370 | --x-incl | --x-inc | --x-in | --x-i)
371 ac_prev=x_includes ;;
372 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
373 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
374 x_includes="$ac_optarg" ;;
376 -x-libraries | --x-libraries | --x-librarie | --x-librari \
377 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
378 ac_prev=x_libraries ;;
379 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
380 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
381 x_libraries="$ac_optarg" ;;
383 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
387 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
388 echo "configure: warning: $ac_option: invalid host type" 1>&2
390 if test "x$nonopt" != xNONE; then
391 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
399 if test -n "$ac_prev"; then
400 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
403 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
405 # File descriptor usage:
408 # 2 errors and warnings
409 # 3 some systems may open it to /dev/tty
410 # 4 used on the Kubota Titan
411 # 6 checking for... messages and results
412 # 5 compiler messages saved in config.log
413 if test "$silent" = yes; then
421 This file contains any messages produced by compilers while
422 running configure, to aid debugging if configure makes a mistake.
425 # Strip out --no-create and --no-recursion so they do not pile up.
426 # Also quote any args containing shell metacharacters.
431 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
432 | --no-cr | --no-c) ;;
433 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
434 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
436 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
437 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
442 # Only set these to C if already set. These must not be set unconditionally
443 # because not all systems understand e.g. LANG=C (notably SCO).
444 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
445 # Non-C LC_CTYPE values break the ctype check.
446 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
447 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
448 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
449 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
451 # confdefs.h avoids OS command line length limits that DEFS can exceed.
452 rm -rf conftest* confdefs.h
453 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
456 # A filename unique to this package, relative to the directory that
457 # configure is in, which we can look for to find out if srcdir is correct.
458 ac_unique_file=include/zebraver.h
460 # Find the source files, if location was not specified.
461 if test -z "$srcdir"; then
462 ac_srcdir_defaulted=yes
463 # Try the directory containing this script, then its parent.
465 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
466 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
468 if test ! -r $srcdir/$ac_unique_file; then
472 ac_srcdir_defaulted=no
474 if test ! -r $srcdir/$ac_unique_file; then
475 if test "$ac_srcdir_defaulted" = yes; then
476 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
478 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
481 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
483 # Prefer explicitly selected file to automatically selected ones.
484 if test -z "$CONFIG_SITE"; then
485 if test "x$prefix" != xNONE; then
486 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
488 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
491 for ac_site_file in $CONFIG_SITE; do
492 if test -r "$ac_site_file"; then
493 echo "loading site script $ac_site_file"
498 if test -r "$cache_file"; then
499 echo "loading cache $cache_file"
502 echo "creating cache $cache_file"
507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
508 ac_cpp='$CPP $CPPFLAGS'
509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
511 cross_compiling=$ac_cv_prog_cc_cross
515 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
516 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
517 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
524 ac_n= ac_c='\c' ac_t=
528 echo $ac_n "checking for package""... $ac_c" 1>&6
529 echo "configure:530: checking for package" >&5
530 if test -r ${srcdir}/LICENSE.zmbol; then
531 echo "$ac_t""Z'mbol" 1>&6
533 cat >> confdefs.h <<\EOF
538 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
539 if test -f $ac_dir/install-sh; then
541 ac_install_sh="$ac_aux_dir/install-sh -c"
543 elif test -f $ac_dir/install.sh; then
545 ac_install_sh="$ac_aux_dir/install.sh -c"
549 if test -z "$ac_aux_dir"; then
550 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
552 ac_config_guess=$ac_aux_dir/config.guess
553 ac_config_sub=$ac_aux_dir/config.sub
554 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
556 # Find a good install program. We prefer a C program (faster),
557 # so one script is as good as another. But avoid the broken or
558 # incompatible versions:
559 # SysV /etc/install, /usr/sbin/install
560 # SunOS /usr/etc/install
563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
566 # ./install, which can be erroneously created by make from ./install.sh.
567 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
568 echo "configure:569: checking for a BSD compatible install" >&5
569 if test -z "$INSTALL"; then
570 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
571 echo $ac_n "(cached) $ac_c" 1>&6
573 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
574 for ac_dir in $PATH; do
575 # Account for people who put trailing slashes in PATH elements.
577 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
579 # OSF1 and SCO ODT 3.0 have their own names for install.
580 # Don't use installbsd from OSF since it installs stuff as root
582 for ac_prog in ginstall scoinst install; do
583 if test -f $ac_dir/$ac_prog; then
584 if test $ac_prog = install &&
585 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
586 # AIX install. It has an incompatible calling convention.
589 ac_cv_path_install="$ac_dir/$ac_prog -c"
600 if test "${ac_cv_path_install+set}" = set; then
601 INSTALL="$ac_cv_path_install"
603 # As a last resort, use the slow shell script. We don't cache a
604 # path for INSTALL within a source directory, because that will
605 # break other packages using the cache if that directory is
606 # removed, or if the path is relative.
607 INSTALL="$ac_install_sh"
610 echo "$ac_t""$INSTALL" 1>&6
612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
613 # It thinks the first close brace ends the variable substitution.
614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
620 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
621 echo "configure:622: checking whether build environment is sane" >&5
624 echo timestamp > conftestfile
625 # Do `set' in a subshell so we don't clobber the current shell's
626 # arguments. Must try -L first in case configure is actually a
627 # symlink; some systems play weird games with the mod time of symlinks
628 # (eg FreeBSD returns the mod time of the symlink's containing
631 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
632 if test "$*" = "X"; then
634 set X `ls -t $srcdir/configure conftestfile`
636 if test "$*" != "X $srcdir/configure conftestfile" \
637 && test "$*" != "X conftestfile $srcdir/configure"; then
639 # If neither matched, then we have a broken ls. This can happen
640 # if, for instance, CONFIG_SHELL is bash and it inherits a
641 # broken ls alias from the environment. This has actually
642 # happened. Such a system could not be considered "sane".
643 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
644 alias in your environment" 1>&2; exit 1; }
647 test "$2" = conftestfile
653 { echo "configure: error: newly created file is older than distributed files!
654 Check your system clock" 1>&2; exit 1; }
657 echo "$ac_t""yes" 1>&6
658 if test "$program_transform_name" = s,x,x,; then
659 program_transform_name=
661 # Double any \ or $. echo might interpret backslashes.
662 cat <<\EOF_SED > conftestsed
663 s,\\,\\\\,g; s,\$,$$,g
665 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
668 test "$program_prefix" != NONE &&
669 program_transform_name="s,^,${program_prefix},; $program_transform_name"
670 # Use a double $ so make ignores it.
671 test "$program_suffix" != NONE &&
672 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
674 # sed with no file args requires a program.
675 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
677 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
678 echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5
679 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
680 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
681 echo $ac_n "(cached) $ac_c" 1>&6
683 cat > conftestmake <<\EOF
685 @echo 'ac_maketemp="${MAKE}"'
687 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
688 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
689 if test -n "$ac_maketemp"; then
690 eval ac_cv_prog_make_${ac_make}_set=yes
692 eval ac_cv_prog_make_${ac_make}_set=no
696 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
697 echo "$ac_t""yes" 1>&6
700 echo "$ac_t""no" 1>&6
701 SET_MAKE="MAKE=${MAKE-make}"
709 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
710 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
712 cat >> confdefs.h <<EOF
713 #define PACKAGE "$PACKAGE"
716 cat >> confdefs.h <<EOF
717 #define VERSION "$VERSION"
722 missing_dir=`cd $ac_aux_dir && pwd`
723 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
724 echo "configure:725: checking for working aclocal" >&5
725 # Run test in a subshell; some versions of sh will print an error if
726 # an executable is not found, even if stderr is redirected.
727 # Redirect stdin to placate older versions of autoconf. Sigh.
728 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
730 echo "$ac_t""found" 1>&6
732 ACLOCAL="$missing_dir/missing aclocal"
733 echo "$ac_t""missing" 1>&6
736 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
737 echo "configure:738: checking for working autoconf" >&5
738 # Run test in a subshell; some versions of sh will print an error if
739 # an executable is not found, even if stderr is redirected.
740 # Redirect stdin to placate older versions of autoconf. Sigh.
741 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
743 echo "$ac_t""found" 1>&6
745 AUTOCONF="$missing_dir/missing autoconf"
746 echo "$ac_t""missing" 1>&6
749 echo $ac_n "checking for working automake""... $ac_c" 1>&6
750 echo "configure:751: checking for working automake" >&5
751 # Run test in a subshell; some versions of sh will print an error if
752 # an executable is not found, even if stderr is redirected.
753 # Redirect stdin to placate older versions of autoconf. Sigh.
754 if (automake --version) < /dev/null > /dev/null 2>&1; then
756 echo "$ac_t""found" 1>&6
758 AUTOMAKE="$missing_dir/missing automake"
759 echo "$ac_t""missing" 1>&6
762 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
763 echo "configure:764: checking for working autoheader" >&5
764 # Run test in a subshell; some versions of sh will print an error if
765 # an executable is not found, even if stderr is redirected.
766 # Redirect stdin to placate older versions of autoconf. Sigh.
767 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
768 AUTOHEADER=autoheader
769 echo "$ac_t""found" 1>&6
771 AUTOHEADER="$missing_dir/missing autoheader"
772 echo "$ac_t""missing" 1>&6
775 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
776 echo "configure:777: checking for working makeinfo" >&5
777 # Run test in a subshell; some versions of sh will print an error if
778 # an executable is not found, even if stderr is redirected.
779 # Redirect stdin to placate older versions of autoconf. Sigh.
780 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
782 echo "$ac_t""found" 1>&6
784 MAKEINFO="$missing_dir/missing makeinfo"
785 echo "$ac_t""missing" 1>&6
790 echo "$ac_t""Zebra" 1>&6
792 cat >> confdefs.h <<\EOF
801 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
802 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
804 cat >> confdefs.h <<EOF
805 #define PACKAGE "$PACKAGE"
808 cat >> confdefs.h <<EOF
809 #define VERSION "$VERSION"
814 missing_dir=`cd $ac_aux_dir && pwd`
815 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
816 echo "configure:817: checking for working aclocal" >&5
817 # Run test in a subshell; some versions of sh will print an error if
818 # an executable is not found, even if stderr is redirected.
819 # Redirect stdin to placate older versions of autoconf. Sigh.
820 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
822 echo "$ac_t""found" 1>&6
824 ACLOCAL="$missing_dir/missing aclocal"
825 echo "$ac_t""missing" 1>&6
828 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
829 echo "configure:830: checking for working autoconf" >&5
830 # Run test in a subshell; some versions of sh will print an error if
831 # an executable is not found, even if stderr is redirected.
832 # Redirect stdin to placate older versions of autoconf. Sigh.
833 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
835 echo "$ac_t""found" 1>&6
837 AUTOCONF="$missing_dir/missing autoconf"
838 echo "$ac_t""missing" 1>&6
841 echo $ac_n "checking for working automake""... $ac_c" 1>&6
842 echo "configure:843: checking for working automake" >&5
843 # Run test in a subshell; some versions of sh will print an error if
844 # an executable is not found, even if stderr is redirected.
845 # Redirect stdin to placate older versions of autoconf. Sigh.
846 if (automake --version) < /dev/null > /dev/null 2>&1; then
848 echo "$ac_t""found" 1>&6
850 AUTOMAKE="$missing_dir/missing automake"
851 echo "$ac_t""missing" 1>&6
854 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
855 echo "configure:856: checking for working autoheader" >&5
856 # Run test in a subshell; some versions of sh will print an error if
857 # an executable is not found, even if stderr is redirected.
858 # Redirect stdin to placate older versions of autoconf. Sigh.
859 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
860 AUTOHEADER=autoheader
861 echo "$ac_t""found" 1>&6
863 AUTOHEADER="$missing_dir/missing autoheader"
864 echo "$ac_t""missing" 1>&6
867 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
868 echo "configure:869: checking for working makeinfo" >&5
869 # Run test in a subshell; some versions of sh will print an error if
870 # an executable is not found, even if stderr is redirected.
871 # Redirect stdin to placate older versions of autoconf. Sigh.
872 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
874 echo "$ac_t""found" 1>&6
876 MAKEINFO="$missing_dir/missing makeinfo"
877 echo "$ac_t""missing" 1>&6
881 if test ! -r ${srcdir}/isam; then
883 touch ${srcdir}/isam/Makefile.in
885 if test ! -r ${srcdir}/isamc; then
886 mkdir ${srcdir}/isamc
887 touch ${srcdir}/isamc/Makefile.in
889 if test ! -r ${srcdir}/isamb; then
890 mkdir ${srcdir}/isamb
891 touch ${srcdir}/isamb/Makefile.in
896 if test $PACKAGE = zmbol; then
907 # Extract the first word of "gcc", so it can be a program name with args.
908 set dummy gcc; ac_word=$2
909 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
910 echo "configure:911: checking for $ac_word" >&5
911 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
912 echo $ac_n "(cached) $ac_c" 1>&6
914 if test -n "$CC"; then
915 ac_cv_prog_CC="$CC" # Let the user override the test.
917 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
919 for ac_dir in $ac_dummy; do
920 test -z "$ac_dir" && ac_dir=.
921 if test -f $ac_dir/$ac_word; then
930 if test -n "$CC"; then
931 echo "$ac_t""$CC" 1>&6
933 echo "$ac_t""no" 1>&6
936 if test -z "$CC"; then
937 # Extract the first word of "cc", so it can be a program name with args.
938 set dummy cc; ac_word=$2
939 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
940 echo "configure:941: checking for $ac_word" >&5
941 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
942 echo $ac_n "(cached) $ac_c" 1>&6
944 if test -n "$CC"; then
945 ac_cv_prog_CC="$CC" # Let the user override the test.
947 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
950 for ac_dir in $ac_dummy; do
951 test -z "$ac_dir" && ac_dir=.
952 if test -f $ac_dir/$ac_word; then
953 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
962 if test $ac_prog_rejected = yes; then
963 # We found a bogon in the path, so make sure we never use it.
964 set dummy $ac_cv_prog_CC
966 if test $# -gt 0; then
967 # We chose a different compiler from the bogus one.
968 # However, it has the same basename, so the bogon will be chosen
969 # first if we set CC to just the basename; use the full file name.
971 set dummy "$ac_dir/$ac_word" "$@"
979 if test -n "$CC"; then
980 echo "$ac_t""$CC" 1>&6
982 echo "$ac_t""no" 1>&6
985 if test -z "$CC"; then
988 # Extract the first word of "cl", so it can be a program name with args.
989 set dummy cl; ac_word=$2
990 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
991 echo "configure:992: checking for $ac_word" >&5
992 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
993 echo $ac_n "(cached) $ac_c" 1>&6
995 if test -n "$CC"; then
996 ac_cv_prog_CC="$CC" # Let the user override the test.
998 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1000 for ac_dir in $ac_dummy; do
1001 test -z "$ac_dir" && ac_dir=.
1002 if test -f $ac_dir/$ac_word; then
1011 if test -n "$CC"; then
1012 echo "$ac_t""$CC" 1>&6
1014 echo "$ac_t""no" 1>&6
1019 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1022 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1023 echo "configure:1024: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1027 ac_cpp='$CPP $CPPFLAGS'
1028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1030 cross_compiling=$ac_cv_prog_cc_cross
1032 cat > conftest.$ac_ext << EOF
1034 #line 1035 "configure"
1035 #include "confdefs.h"
1039 if { (eval echo configure:1040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1040 ac_cv_prog_cc_works=yes
1041 # If we can't run a trivial program, we are probably using a cross compiler.
1042 if (./conftest; exit) 2>/dev/null; then
1043 ac_cv_prog_cc_cross=no
1045 ac_cv_prog_cc_cross=yes
1048 echo "configure: failed program was:" >&5
1049 cat conftest.$ac_ext >&5
1050 ac_cv_prog_cc_works=no
1054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1055 ac_cpp='$CPP $CPPFLAGS'
1056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1058 cross_compiling=$ac_cv_prog_cc_cross
1060 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1061 if test $ac_cv_prog_cc_works = no; then
1062 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1064 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1065 echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1066 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1067 cross_compiling=$ac_cv_prog_cc_cross
1069 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1070 echo "configure:1071: checking whether we are using GNU C" >&5
1071 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1072 echo $ac_n "(cached) $ac_c" 1>&6
1074 cat > conftest.c <<EOF
1079 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1086 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1088 if test $ac_cv_prog_gcc = yes; then
1094 ac_test_CFLAGS="${CFLAGS+set}"
1095 ac_save_CFLAGS="$CFLAGS"
1097 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1098 echo "configure:1099: checking whether ${CC-cc} accepts -g" >&5
1099 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1100 echo $ac_n "(cached) $ac_c" 1>&6
1102 echo 'void f(){}' > conftest.c
1103 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1112 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1113 if test "$ac_test_CFLAGS" = set; then
1114 CFLAGS="$ac_save_CFLAGS"
1115 elif test $ac_cv_prog_cc_g = yes; then
1116 if test "$GCC" = yes; then
1122 if test "$GCC" = yes; then
1129 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1130 echo "configure:1131: checking how to run the C preprocessor" >&5
1131 # On Suns, sometimes $CPP names a directory.
1132 if test -n "$CPP" && test -d "$CPP"; then
1135 if test -z "$CPP"; then
1136 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1137 echo $ac_n "(cached) $ac_c" 1>&6
1139 # This must be in double quotes, not single quotes, because CPP may get
1140 # substituted into the Makefile and "${CC-cc}" will confuse make.
1142 # On the NeXT, cc -E runs the code through the compiler's parser,
1143 # not just through cpp.
1144 cat > conftest.$ac_ext <<EOF
1145 #line 1146 "configure"
1146 #include "confdefs.h"
1150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1151 { (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1153 if test -z "$ac_err"; then
1157 echo "configure: failed program was:" >&5
1158 cat conftest.$ac_ext >&5
1160 CPP="${CC-cc} -E -traditional-cpp"
1161 cat > conftest.$ac_ext <<EOF
1162 #line 1163 "configure"
1163 #include "confdefs.h"
1167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1168 { (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1170 if test -z "$ac_err"; then
1174 echo "configure: failed program was:" >&5
1175 cat conftest.$ac_ext >&5
1177 CPP="${CC-cc} -nologo -E"
1178 cat > conftest.$ac_ext <<EOF
1179 #line 1180 "configure"
1180 #include "confdefs.h"
1184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1185 { (eval echo configure:1186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1187 if test -z "$ac_err"; then
1191 echo "configure: failed program was:" >&5
1192 cat conftest.$ac_ext >&5
1201 ac_cv_prog_CPP="$CPP"
1203 CPP="$ac_cv_prog_CPP"
1205 ac_cv_prog_CPP="$CPP"
1207 echo "$ac_t""$CPP" 1>&6
1209 # Find a good install program. We prefer a C program (faster),
1210 # so one script is as good as another. But avoid the broken or
1211 # incompatible versions:
1212 # SysV /etc/install, /usr/sbin/install
1213 # SunOS /usr/etc/install
1214 # IRIX /sbin/install
1216 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1217 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1218 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1219 # ./install, which can be erroneously created by make from ./install.sh.
1220 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1221 echo "configure:1222: checking for a BSD compatible install" >&5
1222 if test -z "$INSTALL"; then
1223 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1224 echo $ac_n "(cached) $ac_c" 1>&6
1226 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1227 for ac_dir in $PATH; do
1228 # Account for people who put trailing slashes in PATH elements.
1230 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1232 # OSF1 and SCO ODT 3.0 have their own names for install.
1233 # Don't use installbsd from OSF since it installs stuff as root
1235 for ac_prog in ginstall scoinst install; do
1236 if test -f $ac_dir/$ac_prog; then
1237 if test $ac_prog = install &&
1238 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1239 # AIX install. It has an incompatible calling convention.
1242 ac_cv_path_install="$ac_dir/$ac_prog -c"
1253 if test "${ac_cv_path_install+set}" = set; then
1254 INSTALL="$ac_cv_path_install"
1256 # As a last resort, use the slow shell script. We don't cache a
1257 # path for INSTALL within a source directory, because that will
1258 # break other packages using the cache if that directory is
1259 # removed, or if the path is relative.
1260 INSTALL="$ac_install_sh"
1263 echo "$ac_t""$INSTALL" 1>&6
1265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1266 # It thinks the first close brace ends the variable substitution.
1267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1269 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1271 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1273 # Extract the first word of "ranlib", so it can be a program name with args.
1274 set dummy ranlib; ac_word=$2
1275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1276 echo "configure:1277: checking for $ac_word" >&5
1277 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 if test -n "$RANLIB"; then
1281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1283 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1285 for ac_dir in $ac_dummy; do
1286 test -z "$ac_dir" && ac_dir=.
1287 if test -f $ac_dir/$ac_word; then
1288 ac_cv_prog_RANLIB="ranlib"
1293 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1296 RANLIB="$ac_cv_prog_RANLIB"
1297 if test -n "$RANLIB"; then
1298 echo "$ac_t""$RANLIB" 1>&6
1300 echo "$ac_t""no" 1>&6
1311 # Check whether --with-yazconfig or --without-yazconfig was given.
1312 if test "${with_yazconfig+set}" = set; then
1313 withval="$with_yazconfig"
1317 if test "x$yazpath" != "xNONE"; then
1318 yazconfig=$yazpath/yaz-config
1320 for i in ../yaz* ../yaz; do
1322 if test -r $i/yaz-config; then
1323 yazconfig=$i/yaz-config
1327 if test "x$yazconfig" = "xNONE"; then
1328 # Extract the first word of "yaz-config", so it can be a program name with args.
1329 set dummy yaz-config; ac_word=$2
1330 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1331 echo "configure:1332: checking for $ac_word" >&5
1332 if eval "test \"`echo '$''{'ac_cv_path_yazconfig'+set}'`\" = set"; then
1333 echo $ac_n "(cached) $ac_c" 1>&6
1335 case "$yazconfig" in
1337 ac_cv_path_yazconfig="$yazconfig" # Let the user override the test with a path.
1340 ac_cv_path_yazconfig="$yazconfig" # Let the user override the test with a dos path.
1343 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1345 for ac_dir in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir=.
1347 if test -f $ac_dir/$ac_word; then
1348 ac_cv_path_yazconfig="$ac_dir/$ac_word"
1353 test -z "$ac_cv_path_yazconfig" && ac_cv_path_yazconfig="NONE"
1357 yazconfig="$ac_cv_path_yazconfig"
1358 if test -n "$yazconfig"; then
1359 echo "$ac_t""$yazconfig" 1>&6
1361 echo "$ac_t""no" 1>&6
1366 echo $ac_n "checking for YAZ""... $ac_c" 1>&6
1367 echo "configure:1368: checking for YAZ" >&5
1368 if $yazconfig --version >/dev/null 2>&1; then
1369 YAZLIB=`$yazconfig --libs threads`
1370 # if this is empty, it's a simple version YAZ 1.6 script
1371 # so we have to source it instead...
1372 if test "X$YAZLIB" = "X"; then
1375 YAZLALIB=`$yazconfig --lalibs threads`
1376 YAZINC=`$yazconfig --cflags threads`
1377 YAZVERSION=`$yazconfig --version`
1379 echo "$ac_t""$yazconfig" 1>&6
1381 echo "$ac_t""Not found" 1>&6
1388 # Check whether --with-tclconfig or --without-tclconfig was given.
1389 if test "${with_tclconfig+set}" = set; then
1390 withval="$with_tclconfig"
1394 if test "x$tclconfig" = xNONE; then
1395 saveprefix=${prefix}
1396 if test "x$prefix" = xNONE; then
1397 echo $ac_n "checking for prefix by $ac_c" 1>&6
1398 # Extract the first word of "tclsh", so it can be a program name with args.
1399 set dummy tclsh; ac_word=$2
1400 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1401 echo "configure:1402: checking for $ac_word" >&5
1402 if eval "test \"`echo '$''{'ac_cv_path_TCLSH'+set}'`\" = set"; then
1403 echo $ac_n "(cached) $ac_c" 1>&6
1407 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
1410 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a dos path.
1413 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1415 for ac_dir in $ac_dummy; do
1416 test -z "$ac_dir" && ac_dir=.
1417 if test -f $ac_dir/$ac_word; then
1418 ac_cv_path_TCLSH="$ac_dir/$ac_word"
1426 TCLSH="$ac_cv_path_TCLSH"
1427 if test -n "$TCLSH"; then
1428 echo "$ac_t""$TCLSH" 1>&6
1430 echo "$ac_t""no" 1>&6
1433 if test -n "$ac_cv_path_TCLSH"; then
1434 prefix=`echo $ac_cv_path_TCLSH|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
1438 tclconfig=${prefix}/lib
1439 prefix=${saveprefix}
1441 echo $ac_n "checking for Tcl""... $ac_c" 1>&6
1442 echo "configure:1443: checking for Tcl" >&5
1443 if test -r ${tclconfig}/tclConfig.sh; then
1444 . ${tclconfig}/tclConfig.sh
1445 if test -r ${tclconfig}/../generic/tcl.h; then
1446 TCL_INCLUDE=-I${tclconfig}/../generic
1447 TCL_LIB="$TCL_BUILD_LIB_SPEC $TCL_LIBS"
1449 TCL_INCLUDE=-I${TCL_PREFIX}/include
1450 TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS"
1452 SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
1453 SHLIB_LD=$TCL_SHLIB_LD
1454 SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
1455 SHLIB_VERSION=$TCL_SHLIB_VERSION
1456 echo "$ac_t""$TCL_VERSION" 1>&6
1457 cat >> confdefs.h <<\EOF
1458 #define HAVE_TCL_H 1
1462 echo "$ac_t""Not found" 1>&6
1463 cat >> confdefs.h <<\EOF
1464 #define HAVE_TCL_H 0
1468 for ac_hdr in sys/times.h pthread.h
1470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1472 echo "configure:1473: checking for $ac_hdr" >&5
1473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1474 echo $ac_n "(cached) $ac_c" 1>&6
1476 cat > conftest.$ac_ext <<EOF
1477 #line 1478 "configure"
1478 #include "confdefs.h"
1481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1482 { (eval echo configure:1483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1484 if test -z "$ac_err"; then
1486 eval "ac_cv_header_$ac_safe=yes"
1489 echo "configure: failed program was:" >&5
1490 cat conftest.$ac_ext >&5
1492 eval "ac_cv_header_$ac_safe=no"
1496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1497 echo "$ac_t""yes" 1>&6
1498 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1499 cat >> confdefs.h <<EOF
1500 #define $ac_tr_hdr 1
1504 echo "$ac_t""no" 1>&6
1508 echo $ac_n "checking for bzCompressInit in -lbz2""... $ac_c" 1>&6
1509 echo "configure:1510: checking for bzCompressInit in -lbz2" >&5
1510 ac_lib_var=`echo bz2'_'bzCompressInit | sed 'y%./+-%__p_%'`
1511 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1512 echo $ac_n "(cached) $ac_c" 1>&6
1514 ac_save_LIBS="$LIBS"
1516 cat > conftest.$ac_ext <<EOF
1517 #line 1518 "configure"
1518 #include "confdefs.h"
1519 /* Override any gcc2 internal prototype to avoid an error. */
1520 /* We use char because int might match the return type of a gcc2
1521 builtin and then its argument prototype would still apply. */
1522 char bzCompressInit();
1528 if { (eval echo configure:1529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1530 eval "ac_cv_lib_$ac_lib_var=yes"
1532 echo "configure: failed program was:" >&5
1533 cat conftest.$ac_ext >&5
1535 eval "ac_cv_lib_$ac_lib_var=no"
1538 LIBS="$ac_save_LIBS"
1541 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1542 echo "$ac_t""yes" 1>&6
1543 ac_tr_lib=HAVE_LIB`echo bz2 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1544 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1545 cat >> confdefs.h <<EOF
1546 #define $ac_tr_lib 1
1552 echo "$ac_t""no" 1>&6
1555 if test "$ac_cv_lib_bz2_bzCompressInit" = "yes"; then
1556 for ac_hdr in bzlib.h
1558 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1559 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1560 echo "configure:1561: checking for $ac_hdr" >&5
1561 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1562 echo $ac_n "(cached) $ac_c" 1>&6
1564 cat > conftest.$ac_ext <<EOF
1565 #line 1566 "configure"
1566 #include "confdefs.h"
1569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1570 { (eval echo configure:1571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1572 if test -z "$ac_err"; then
1574 eval "ac_cv_header_$ac_safe=yes"
1577 echo "configure: failed program was:" >&5
1578 cat conftest.$ac_ext >&5
1580 eval "ac_cv_header_$ac_safe=no"
1584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1585 echo "$ac_t""yes" 1>&6
1586 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1587 cat >> confdefs.h <<EOF
1588 #define $ac_tr_hdr 1
1592 echo "$ac_t""no" 1>&6
1597 echo $ac_n "checking for LFS""... $ac_c" 1>&6
1598 echo "configure:1599: checking for LFS" >&5
1599 if test "$cross_compiling" = yes; then
1602 cat > conftest.$ac_ext <<EOF
1603 #line 1604 "configure"
1604 #include "confdefs.h"
1605 #define _FILE_OFFSET_BITS 64
1609 int main(int argc, char **argv)
1613 if (sizeof(off_t) == 8) {
1615 sprintf (tmp_str, "%Ld", o+o+o);
1616 if (!strcmp (tmp_str, "6000000000"))
1623 if { (eval echo configure:1624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1627 echo "configure: failed program was:" >&5
1628 cat conftest.$ac_ext >&5
1635 if test "$bits" = "64"; then
1636 cat >> confdefs.h <<\EOF
1637 #define _FILE_OFFSET_BITS 64
1640 echo "$ac_t""yes" 1>&6
1642 echo "$ac_t""no" 1>&6
1644 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1645 echo "configure:1646: checking for ANSI C header files" >&5
1646 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1647 echo $ac_n "(cached) $ac_c" 1>&6
1649 cat > conftest.$ac_ext <<EOF
1650 #line 1651 "configure"
1651 #include "confdefs.h"
1657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1658 { (eval echo configure:1659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1660 if test -z "$ac_err"; then
1662 ac_cv_header_stdc=yes
1665 echo "configure: failed program was:" >&5
1666 cat conftest.$ac_ext >&5
1668 ac_cv_header_stdc=no
1672 if test $ac_cv_header_stdc = yes; then
1673 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1674 cat > conftest.$ac_ext <<EOF
1675 #line 1676 "configure"
1676 #include "confdefs.h"
1679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1680 egrep "memchr" >/dev/null 2>&1; then
1684 ac_cv_header_stdc=no
1690 if test $ac_cv_header_stdc = yes; then
1691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1692 cat > conftest.$ac_ext <<EOF
1693 #line 1694 "configure"
1694 #include "confdefs.h"
1697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1698 egrep "free" >/dev/null 2>&1; then
1702 ac_cv_header_stdc=no
1708 if test $ac_cv_header_stdc = yes; then
1709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1710 if test "$cross_compiling" = yes; then
1713 cat > conftest.$ac_ext <<EOF
1714 #line 1715 "configure"
1715 #include "confdefs.h"
1717 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1718 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1719 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1720 int main () { int i; for (i = 0; i < 256; i++)
1721 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1725 if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1729 echo "configure: failed program was:" >&5
1730 cat conftest.$ac_ext >&5
1732 ac_cv_header_stdc=no
1740 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1741 if test $ac_cv_header_stdc = yes; then
1742 cat >> confdefs.h <<\EOF
1743 #define STDC_HEADERS 1
1748 if test "$ac_cv_header_stdc" = "no"; then
1749 echo "configure: warning: Your system doesn't seem to support ANSI C" 1>&2
1752 cat > confcache <<\EOF
1753 # This file is a shell script that caches the results of configure
1754 # tests run on this system so they can be shared between configure
1755 # scripts and configure runs. It is not useful on other systems.
1756 # If it contains results you don't want to keep, you may remove or edit it.
1758 # By default, configure uses ./config.cache as the cache file,
1759 # creating it if it does not exist already. You can give configure
1760 # the --cache-file=FILE option to use a different cache file; that is
1761 # what configure does when it calls configure scripts in
1762 # subdirectories, so they share the cache.
1763 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1764 # config.status only pays attention to the cache file if you give it the
1765 # --recheck option to rerun configure.
1768 # The following way of writing the cache mishandles newlines in values,
1769 # but we know of no workaround that is simple, portable, and efficient.
1770 # So, don't put newlines in cache variables' values.
1771 # Ultrix sh set writes to stderr and can't be redirected directly,
1772 # and sets the high bit in the cache file unless we assign to the vars.
1774 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1776 # `set' does not quote correctly, so add quotes (double-quote substitution
1777 # turns \\\\ into \\, and sed turns \\ into \).
1779 -e "s/'/'\\\\''/g" \
1780 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1783 # `set' quotes correctly as required by POSIX, so do not add quotes.
1784 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1787 if cmp -s $cache_file confcache; then
1790 if test -w $cache_file; then
1791 echo "updating cache $cache_file"
1792 cat confcache > $cache_file
1794 echo "not updating unwritable cache $cache_file"
1799 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1801 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1802 # Let make expand exec_prefix.
1803 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1805 # Any assignment to VPATH causes Sun make to only execute
1806 # the first set of double-colon rules, so remove it if not needed.
1807 # If there is a colon in the path, we need to keep it.
1808 if test "x$srcdir" = x.; then
1809 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1812 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1814 # Transform confdefs.h into DEFS.
1815 # Protect against shell expansion while executing Makefile rules.
1816 # Protect against Makefile macro expansion.
1817 cat > conftest.defs <<\EOF
1818 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1819 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1824 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1828 # Without the "./", some shells look in PATH for config.status.
1829 : ${CONFIG_STATUS=./config.status}
1831 echo creating $CONFIG_STATUS
1832 rm -f $CONFIG_STATUS
1833 cat > $CONFIG_STATUS <<EOF
1835 # Generated automatically by configure.
1836 # Run this file to recreate the current configuration.
1837 # This directory was configured as follows,
1838 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1840 # $0 $ac_configure_args
1842 # Compiler output produced by configure, useful for debugging
1843 # configure, is in ./config.log if it exists.
1845 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1848 case "\$ac_option" in
1849 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1850 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1851 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1852 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1853 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1855 -help | --help | --hel | --he | --h)
1856 echo "\$ac_cs_usage"; exit 0 ;;
1857 *) echo "\$ac_cs_usage"; exit 1 ;;
1861 ac_given_srcdir=$srcdir
1862 ac_given_INSTALL="$INSTALL"
1864 trap 'rm -fr `echo "
1880 test/Makefile test/gils/Makefile test/usmarc/Makefile
1881 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1883 cat >> $CONFIG_STATUS <<EOF
1885 # Protect against being on the right side of a sed subst in config.status.
1886 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1887 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1891 s%@CFLAGS@%$CFLAGS%g
1892 s%@CPPFLAGS@%$CPPFLAGS%g
1893 s%@CXXFLAGS@%$CXXFLAGS%g
1894 s%@FFLAGS@%$FFLAGS%g
1896 s%@LDFLAGS@%$LDFLAGS%g
1898 s%@exec_prefix@%$exec_prefix%g
1899 s%@prefix@%$prefix%g
1900 s%@program_transform_name@%$program_transform_name%g
1901 s%@bindir@%$bindir%g
1902 s%@sbindir@%$sbindir%g
1903 s%@libexecdir@%$libexecdir%g
1904 s%@datadir@%$datadir%g
1905 s%@sysconfdir@%$sysconfdir%g
1906 s%@sharedstatedir@%$sharedstatedir%g
1907 s%@localstatedir@%$localstatedir%g
1908 s%@libdir@%$libdir%g
1909 s%@includedir@%$includedir%g
1910 s%@oldincludedir@%$oldincludedir%g
1911 s%@infodir@%$infodir%g
1912 s%@mandir@%$mandir%g
1913 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1914 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1915 s%@INSTALL_DATA@%$INSTALL_DATA%g
1916 s%@PACKAGE@%$PACKAGE%g
1917 s%@VERSION@%$VERSION%g
1918 s%@ACLOCAL@%$ACLOCAL%g
1919 s%@AUTOCONF@%$AUTOCONF%g
1920 s%@AUTOMAKE@%$AUTOMAKE%g
1921 s%@AUTOHEADER@%$AUTOHEADER%g
1922 s%@MAKEINFO@%$MAKEINFO%g
1923 s%@SET_MAKE@%$SET_MAKE%g
1924 s%@ISZMBOL_TRUE@%$ISZMBOL_TRUE%g
1925 s%@ISZMBOL_FALSE@%$ISZMBOL_FALSE%g
1926 s%@TCL_INCLUDE@%$TCL_INCLUDE%g
1927 s%@TCL_LIB@%$TCL_LIB%g
1928 s%@PROGPREFIX@%$PROGPREFIX%g
1931 s%@RANLIB@%$RANLIB%g
1932 s%@YAZLIB@%$YAZLIB%g
1933 s%@YAZLALIB@%$YAZLALIB%g
1934 s%@YAZINC@%$YAZINC%g
1935 s%@YAZVERSION@%$YAZVERSION%g
1936 s%@yazconfig@%$yazconfig%g
1942 cat >> $CONFIG_STATUS <<\EOF
1944 # Split the substitutions into bite-sized pieces for seds with
1945 # small command number limits, like on Digital OSF/1 and HP-UX.
1946 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1947 ac_file=1 # Number of current file.
1948 ac_beg=1 # First line for current file.
1949 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1952 while $ac_more_lines; do
1953 if test $ac_beg -gt 1; then
1954 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1956 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1958 if test ! -s conftest.s$ac_file; then
1960 rm -f conftest.s$ac_file
1962 if test -z "$ac_sed_cmds"; then
1963 ac_sed_cmds="sed -f conftest.s$ac_file"
1965 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1967 ac_file=`expr $ac_file + 1`
1969 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1972 if test -z "$ac_sed_cmds"; then
1977 cat >> $CONFIG_STATUS <<EOF
1979 CONFIG_FILES=\${CONFIG_FILES-"Makefile
1994 test/Makefile test/gils/Makefile test/usmarc/Makefile
1997 cat >> $CONFIG_STATUS <<\EOF
1998 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1999 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2001 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2002 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2003 *) ac_file_in="${ac_file}.in" ;;
2006 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2008 # Remove last slash and all that follows it. Not all systems have dirname.
2009 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2010 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2011 # The file is in a subdirectory.
2012 test ! -d "$ac_dir" && mkdir "$ac_dir"
2013 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2014 # A "../" for each directory in $ac_dir_suffix.
2015 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2017 ac_dir_suffix= ac_dots=
2020 case "$ac_given_srcdir" in
2022 if test -z "$ac_dots"; then top_srcdir=.
2023 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2024 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2026 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2027 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2030 case "$ac_given_INSTALL" in
2031 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2032 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2035 echo creating "$ac_file"
2037 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2039 *Makefile*) ac_comsub="1i\\
2040 # $configure_input" ;;
2044 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2046 s%@configure_input@%$configure_input%g
2047 s%@srcdir@%$srcdir%g
2048 s%@top_srcdir@%$top_srcdir%g
2049 s%@INSTALL@%$INSTALL%g
2050 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2055 cat >> $CONFIG_STATUS <<EOF
2058 cat >> $CONFIG_STATUS <<\EOF
2062 chmod +x $CONFIG_STATUS
2063 rm -fr confdefs* $ac_clean_files
2064 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1