source: trunk/gsdl/packages/yaz/configure@ 1343

Last change on this file since 1343 was 1343, checked in by johnmcp, 24 years ago

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 69.5 KB
Line 
1#! /bin/sh
2
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.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15 --disable-comp use old encoders, i.e. disable the YAZ ASN.1 Compiler"
16ac_help="$ac_help
17 --enable-tcpd enable TCP wrapper for server if available"
18ac_help="$ac_help
19 --enable-threads enable threads if available"
20
21# Initialize some variables set by options.
22# The variables have the same names as the options, with
23# dashes changed to underlines.
24build=NONE
25cache_file=./config.cache
26exec_prefix=NONE
27host=NONE
28no_create=
29nonopt=NONE
30no_recursion=
31prefix=NONE
32program_prefix=NONE
33program_suffix=NONE
34program_transform_name=s,x,x,
35silent=
36site=
37srcdir=
38target=NONE
39verbose=
40x_includes=NONE
41x_libraries=NONE
42bindir='${exec_prefix}/bin'
43sbindir='${exec_prefix}/sbin'
44libexecdir='${exec_prefix}/libexec'
45datadir='${prefix}/share'
46sysconfdir='${prefix}/etc'
47sharedstatedir='${prefix}/com'
48localstatedir='${prefix}/var'
49libdir='${exec_prefix}/lib'
50includedir='${prefix}/include'
51oldincludedir='/usr/include'
52infodir='${prefix}/info'
53mandir='${prefix}/man'
54
55# Initialize some other variables.
56subdirs=
57MFLAGS= MAKEFLAGS=
58SHELL=${CONFIG_SHELL-/bin/sh}
59# Maximum number of lines to put in a shell here document.
60ac_max_here_lines=12
61
62ac_prev=
63for ac_option
64do
65
66 # If the previous option needs an argument, assign it.
67 if test -n "$ac_prev"; then
68 eval "$ac_prev=\$ac_option"
69 ac_prev=
70 continue
71 fi
72
73 case "$ac_option" in
74 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
75 *) ac_optarg= ;;
76 esac
77
78 # Accept the important Cygnus configure options, so we can diagnose typos.
79
80 case "$ac_option" in
81
82 -bindir | --bindir | --bindi | --bind | --bin | --bi)
83 ac_prev=bindir ;;
84 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85 bindir="$ac_optarg" ;;
86
87 -build | --build | --buil | --bui | --bu)
88 ac_prev=build ;;
89 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
90 build="$ac_optarg" ;;
91
92 -cache-file | --cache-file | --cache-fil | --cache-fi \
93 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
94 ac_prev=cache_file ;;
95 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
96 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
97 cache_file="$ac_optarg" ;;
98
99 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
100 ac_prev=datadir ;;
101 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
102 | --da=*)
103 datadir="$ac_optarg" ;;
104
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; }
110 fi
111 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
112 eval "enable_${ac_feature}=no" ;;
113
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; }
119 fi
120 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
121 case "$ac_option" in
122 *=*) ;;
123 *) ac_optarg=yes ;;
124 esac
125 eval "enable_${ac_feature}='$ac_optarg'" ;;
126
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" ;;
135
136 -gas | --gas | --ga | --g)
137 # Obsolete; use --with-gas.
138 with_gas=yes ;;
139
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.
143 cat << EOF
144Usage: configure [options] [host]
145Options: [defaults in brackets after descriptions]
146Configuration:
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
152Directory and file names:
153 --prefix=PREFIX install architecture-independent files in PREFIX
154 [$ac_default_prefix]
155 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
156 [same as prefix]
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
161 [PREFIX/share]
162 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
163 --sharedstatedir=DIR modifiable architecture-independent data in DIR
164 [PREFIX/com]
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
176EOF
177 cat << EOF
178Host type:
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]
182Features 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
189EOF
190 if test -n "$ac_help"; then
191 echo "--enable and --with options recognized:$ac_help"
192 fi
193 exit 0 ;;
194
195 -host | --host | --hos | --ho)
196 ac_prev=host ;;
197 -host=* | --host=* | --hos=* | --ho=*)
198 host="$ac_optarg" ;;
199
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" ;;
206
207 -infodir | --infodir | --infodi | --infod | --info | --inf)
208 ac_prev=infodir ;;
209 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
210 infodir="$ac_optarg" ;;
211
212 -libdir | --libdir | --libdi | --libd)
213 ac_prev=libdir ;;
214 -libdir=* | --libdir=* | --libdi=* | --libd=*)
215 libdir="$ac_optarg" ;;
216
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" ;;
223
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" ;;
232
233 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
234 ac_prev=mandir ;;
235 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
236 mandir="$ac_optarg" ;;
237
238 -nfp | --nfp | --nf)
239 # Obsolete; use --without-fp.
240 with_fp=no ;;
241
242 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
243 | --no-cr | --no-c)
244 no_create=yes ;;
245
246 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
247 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
248 no_recursion=yes ;;
249
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" ;;
258
259 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
260 ac_prev=prefix ;;
261 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
262 prefix="$ac_optarg" ;;
263
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" ;;
270
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" ;;
277
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" ;;
294
295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
296 | -silent | --silent | --silen | --sile | --sil)
297 silent=yes ;;
298
299 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
300 ac_prev=sbindir ;;
301 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
302 | --sbi=* | --sb=*)
303 sbindir="$ac_optarg" ;;
304
305 -sharedstatedir | --sharedstatedir | --sharedstatedi \
306 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
307 | --sharedst | --shareds | --shared | --share | --shar \
308 | --sha | --sh)
309 ac_prev=sharedstatedir ;;
310 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
311 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
312 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
313 | --sha=* | --sh=*)
314 sharedstatedir="$ac_optarg" ;;
315
316 -site | --site | --sit)
317 ac_prev=site ;;
318 -site=* | --site=* | --sit=*)
319 site="$ac_optarg" ;;
320
321 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
322 ac_prev=srcdir ;;
323 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
324 srcdir="$ac_optarg" ;;
325
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" ;;
332
333 -target | --target | --targe | --targ | --tar | --ta | --t)
334 ac_prev=target ;;
335 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
336 target="$ac_optarg" ;;
337
338 -v | -verbose | --verbose | --verbos | --verbo | --verb)
339 verbose=yes ;;
340
341 -version | --version | --versio | --versi | --vers)
342 echo "configure generated by autoconf version 2.13"
343 exit 0 ;;
344
345 -with-* | --with-*)
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; }
350 fi
351 ac_package=`echo $ac_package| sed 's/-/_/g'`
352 case "$ac_option" in
353 *=*) ;;
354 *) ac_optarg=yes ;;
355 esac
356 eval "with_${ac_package}='$ac_optarg'" ;;
357
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; }
363 fi
364 ac_package=`echo $ac_package| sed 's/-/_/g'`
365 eval "with_${ac_package}=no" ;;
366
367 --x)
368 # Obsolete; use --with-x.
369 with_x=yes ;;
370
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" ;;
377
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" ;;
384
385 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
386 ;;
387
388 *)
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
391 fi
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; }
394 fi
395 nonopt="$ac_option"
396 ;;
397
398 esac
399done
400
401if test -n "$ac_prev"; then
402 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
403fi
404
405trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
406
407# File descriptor usage:
408# 0 standard input
409# 1 file creation
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
415if test "$silent" = yes; then
416 exec 6>/dev/null
417else
418 exec 6>&1
419fi
420exec 5>./config.log
421
422echo "\
423This file contains any messages produced by compilers while
424running configure, to aid debugging if configure makes a mistake.
425" 1>&5
426
427# Strip out --no-create and --no-recursion so they do not pile up.
428# Also quote any args containing shell metacharacters.
429ac_configure_args=
430for ac_arg
431do
432 case "$ac_arg" in
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" ;;
440 esac
441done
442
443# NLS nuisances.
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.
448if test "${LANG+set}" = set; then LANG=C; export LANG; fi
449if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
450if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
451if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
452
453# confdefs.h avoids OS command line length limits that DEFS can exceed.
454rm -rf conftest* confdefs.h
455# AIX cpp loses on an empty file, so make sure it contains at least a newline.
456echo > confdefs.h
457
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.
460ac_unique_file=include/yaz/yaz-version.h
461
462# Find the source files, if location was not specified.
463if test -z "$srcdir"; then
464 ac_srcdir_defaulted=yes
465 # Try the directory containing this script, then its parent.
466 ac_prog=$0
467 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
468 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
469 srcdir=$ac_confdir
470 if test ! -r $srcdir/$ac_unique_file; then
471 srcdir=..
472 fi
473else
474 ac_srcdir_defaulted=no
475fi
476if 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; }
479 else
480 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
481 fi
482fi
483srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
484
485# Prefer explicitly selected file to automatically selected ones.
486if test -z "$CONFIG_SITE"; then
487 if test "x$prefix" != xNONE; then
488 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
489 else
490 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
491 fi
492fi
493for ac_site_file in $CONFIG_SITE; do
494 if test -r "$ac_site_file"; then
495 echo "loading site script $ac_site_file"
496 . "$ac_site_file"
497 fi
498done
499
500if test -r "$cache_file"; then
501 echo "loading cache $cache_file"
502 . $cache_file
503else
504 echo "creating cache $cache_file"
505 > $cache_file
506fi
507
508ac_ext=c
509# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
510ac_cpp='$CPP $CPPFLAGS'
511ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
512ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
513cross_compiling=$ac_cv_prog_cc_cross
514
515ac_exeext=
516ac_objext=o
517if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
518 # Stardent Vistra SVR4 grep lacks -e, says [email protected].
519 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
520 ac_n= ac_c='
521' ac_t=' '
522 else
523 ac_n=-n ac_c= ac_t=
524 fi
525else
526 ac_n= ac_c='\c' ac_t=
527fi
528
529
530ac_aux_dir=
531for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
532 if test -f $ac_dir/install-sh; then
533 ac_aux_dir=$ac_dir
534 ac_install_sh="$ac_aux_dir/install-sh -c"
535 break
536 elif test -f $ac_dir/install.sh; then
537 ac_aux_dir=$ac_dir
538 ac_install_sh="$ac_aux_dir/install.sh -c"
539 break
540 fi
541done
542if test -z "$ac_aux_dir"; then
543 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
544fi
545ac_config_guess=$ac_aux_dir/config.guess
546ac_config_sub=$ac_aux_dir/config.sub
547ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
548
549# Find a good install program. We prefer a C program (faster),
550# so one script is as good as another. But avoid the broken or
551# incompatible versions:
552# SysV /etc/install, /usr/sbin/install
553# SunOS /usr/etc/install
554# IRIX /sbin/install
555# AIX /bin/install
556# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
557# AFS /usr/afsws/bin/install, which mishandles nonexistent args
558# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
559# ./install, which can be erroneously created by make from ./install.sh.
560echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
561echo "configure:562: checking for a BSD compatible install" >&5
562if test -z "$INSTALL"; then
563if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
564 echo $ac_n "(cached) $ac_c" 1>&6
565else
566 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
567 for ac_dir in $PATH; do
568 # Account for people who put trailing slashes in PATH elements.
569 case "$ac_dir/" in
570 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
571 *)
572 # OSF1 and SCO ODT 3.0 have their own names for install.
573 # Don't use installbsd from OSF since it installs stuff as root
574 # by default.
575 for ac_prog in ginstall scoinst install; do
576 if test -f $ac_dir/$ac_prog; then
577 if test $ac_prog = install &&
578 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
579 # AIX install. It has an incompatible calling convention.
580 :
581 else
582 ac_cv_path_install="$ac_dir/$ac_prog -c"
583 break 2
584 fi
585 fi
586 done
587 ;;
588 esac
589 done
590 IFS="$ac_save_IFS"
591
592fi
593 if test "${ac_cv_path_install+set}" = set; then
594 INSTALL="$ac_cv_path_install"
595 else
596 # As a last resort, use the slow shell script. We don't cache a
597 # path for INSTALL within a source directory, because that will
598 # break other packages using the cache if that directory is
599 # removed, or if the path is relative.
600 INSTALL="$ac_install_sh"
601 fi
602fi
603echo "$ac_t""$INSTALL" 1>&6
604
605# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
606# It thinks the first close brace ends the variable substitution.
607test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
608
609test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
610
611test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
612
613echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
614echo "configure:615: checking whether build environment is sane" >&5
615# Just in case
616sleep 1
617echo timestamp > conftestfile
618# Do `set' in a subshell so we don't clobber the current shell's
619# arguments. Must try -L first in case configure is actually a
620# symlink; some systems play weird games with the mod time of symlinks
621# (eg FreeBSD returns the mod time of the symlink's containing
622# directory).
623if (
624 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
625 if test "$*" = "X"; then
626 # -L didn't work.
627 set X `ls -t $srcdir/configure conftestfile`
628 fi
629 if test "$*" != "X $srcdir/configure conftestfile" \
630 && test "$*" != "X conftestfile $srcdir/configure"; then
631
632 # If neither matched, then we have a broken ls. This can happen
633 # if, for instance, CONFIG_SHELL is bash and it inherits a
634 # broken ls alias from the environment. This has actually
635 # happened. Such a system could not be considered "sane".
636 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
637alias in your environment" 1>&2; exit 1; }
638 fi
639
640 test "$2" = conftestfile
641 )
642then
643 # Ok.
644 :
645else
646 { echo "configure: error: newly created file is older than distributed files!
647Check your system clock" 1>&2; exit 1; }
648fi
649rm -f conftest*
650echo "$ac_t""yes" 1>&6
651if test "$program_transform_name" = s,x,x,; then
652 program_transform_name=
653else
654 # Double any \ or $. echo might interpret backslashes.
655 cat <<\EOF_SED > conftestsed
656s,\\,\\\\,g; s,\$,$$,g
657EOF_SED
658 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
659 rm -f conftestsed
660fi
661test "$program_prefix" != NONE &&
662 program_transform_name="s,^,${program_prefix},; $program_transform_name"
663# Use a double $ so make ignores it.
664test "$program_suffix" != NONE &&
665 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
666
667# sed with no file args requires a program.
668test "$program_transform_name" = "" && program_transform_name="s,x,x,"
669
670echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
671echo "configure:672: checking whether ${MAKE-make} sets \${MAKE}" >&5
672set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
673if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
674 echo $ac_n "(cached) $ac_c" 1>&6
675else
676 cat > conftestmake <<\EOF
677all:
678 @echo 'ac_maketemp="${MAKE}"'
679EOF
680# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
681eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
682if test -n "$ac_maketemp"; then
683 eval ac_cv_prog_make_${ac_make}_set=yes
684else
685 eval ac_cv_prog_make_${ac_make}_set=no
686fi
687rm -f conftestmake
688fi
689if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
690 echo "$ac_t""yes" 1>&6
691 SET_MAKE=
692else
693 echo "$ac_t""no" 1>&6
694 SET_MAKE="MAKE=${MAKE-make}"
695fi
696
697
698PACKAGE=yaz
699
700VERSION=1.6
701
702if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
703 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
704fi
705cat >> confdefs.h <<EOF
706#define PACKAGE "$PACKAGE"
707EOF
708
709cat >> confdefs.h <<EOF
710#define VERSION "$VERSION"
711EOF
712
713
714
715missing_dir=`cd $ac_aux_dir && pwd`
716echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
717echo "configure:718: checking for working aclocal" >&5
718# Run test in a subshell; some versions of sh will print an error if
719# an executable is not found, even if stderr is redirected.
720# Redirect stdin to placate older versions of autoconf. Sigh.
721if (aclocal --version) < /dev/null > /dev/null 2>&1; then
722 ACLOCAL=aclocal
723 echo "$ac_t""found" 1>&6
724else
725 ACLOCAL="$missing_dir/missing aclocal"
726 echo "$ac_t""missing" 1>&6
727fi
728
729echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
730echo "configure:731: checking for working autoconf" >&5
731# Run test in a subshell; some versions of sh will print an error if
732# an executable is not found, even if stderr is redirected.
733# Redirect stdin to placate older versions of autoconf. Sigh.
734if (autoconf --version) < /dev/null > /dev/null 2>&1; then
735 AUTOCONF=autoconf
736 echo "$ac_t""found" 1>&6
737else
738 AUTOCONF="$missing_dir/missing autoconf"
739 echo "$ac_t""missing" 1>&6
740fi
741
742echo $ac_n "checking for working automake""... $ac_c" 1>&6
743echo "configure:744: checking for working automake" >&5
744# Run test in a subshell; some versions of sh will print an error if
745# an executable is not found, even if stderr is redirected.
746# Redirect stdin to placate older versions of autoconf. Sigh.
747if (automake --version) < /dev/null > /dev/null 2>&1; then
748 AUTOMAKE=automake
749 echo "$ac_t""found" 1>&6
750else
751 AUTOMAKE="$missing_dir/missing automake"
752 echo "$ac_t""missing" 1>&6
753fi
754
755echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
756echo "configure:757: checking for working autoheader" >&5
757# Run test in a subshell; some versions of sh will print an error if
758# an executable is not found, even if stderr is redirected.
759# Redirect stdin to placate older versions of autoconf. Sigh.
760if (autoheader --version) < /dev/null > /dev/null 2>&1; then
761 AUTOHEADER=autoheader
762 echo "$ac_t""found" 1>&6
763else
764 AUTOHEADER="$missing_dir/missing autoheader"
765 echo "$ac_t""missing" 1>&6
766fi
767
768echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
769echo "configure:770: checking for working makeinfo" >&5
770# Run test in a subshell; some versions of sh will print an error if
771# an executable is not found, even if stderr is redirected.
772# Redirect stdin to placate older versions of autoconf. Sigh.
773if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
774 MAKEINFO=makeinfo
775 echo "$ac_t""found" 1>&6
776else
777 MAKEINFO="$missing_dir/missing makeinfo"
778 echo "$ac_t""missing" 1>&6
779fi
780
781
782# Extract the first word of "gcc", so it can be a program name with args.
783set dummy gcc; ac_word=$2
784echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
785echo "configure:786: checking for $ac_word" >&5
786if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
787 echo $ac_n "(cached) $ac_c" 1>&6
788else
789 if test -n "$CC"; then
790 ac_cv_prog_CC="$CC" # Let the user override the test.
791else
792 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
793 ac_dummy="$PATH"
794 for ac_dir in $ac_dummy; do
795 test -z "$ac_dir" && ac_dir=.
796 if test -f $ac_dir/$ac_word; then
797 ac_cv_prog_CC="gcc"
798 break
799 fi
800 done
801 IFS="$ac_save_ifs"
802fi
803fi
804CC="$ac_cv_prog_CC"
805if test -n "$CC"; then
806 echo "$ac_t""$CC" 1>&6
807else
808 echo "$ac_t""no" 1>&6
809fi
810
811if test -z "$CC"; then
812 # Extract the first word of "cc", so it can be a program name with args.
813set dummy cc; ac_word=$2
814echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
815echo "configure:816: checking for $ac_word" >&5
816if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
817 echo $ac_n "(cached) $ac_c" 1>&6
818else
819 if test -n "$CC"; then
820 ac_cv_prog_CC="$CC" # Let the user override the test.
821else
822 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
823 ac_prog_rejected=no
824 ac_dummy="$PATH"
825 for ac_dir in $ac_dummy; do
826 test -z "$ac_dir" && ac_dir=.
827 if test -f $ac_dir/$ac_word; then
828 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
829 ac_prog_rejected=yes
830 continue
831 fi
832 ac_cv_prog_CC="cc"
833 break
834 fi
835 done
836 IFS="$ac_save_ifs"
837if test $ac_prog_rejected = yes; then
838 # We found a bogon in the path, so make sure we never use it.
839 set dummy $ac_cv_prog_CC
840 shift
841 if test $# -gt 0; then
842 # We chose a different compiler from the bogus one.
843 # However, it has the same basename, so the bogon will be chosen
844 # first if we set CC to just the basename; use the full file name.
845 shift
846 set dummy "$ac_dir/$ac_word" "$@"
847 shift
848 ac_cv_prog_CC="$@"
849 fi
850fi
851fi
852fi
853CC="$ac_cv_prog_CC"
854if test -n "$CC"; then
855 echo "$ac_t""$CC" 1>&6
856else
857 echo "$ac_t""no" 1>&6
858fi
859
860 if test -z "$CC"; then
861 case "`uname -s`" in
862 *win32* | *WIN32*)
863 # Extract the first word of "cl", so it can be a program name with args.
864set dummy cl; ac_word=$2
865echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
866echo "configure:867: checking for $ac_word" >&5
867if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
868 echo $ac_n "(cached) $ac_c" 1>&6
869else
870 if test -n "$CC"; then
871 ac_cv_prog_CC="$CC" # Let the user override the test.
872else
873 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
874 ac_dummy="$PATH"
875 for ac_dir in $ac_dummy; do
876 test -z "$ac_dir" && ac_dir=.
877 if test -f $ac_dir/$ac_word; then
878 ac_cv_prog_CC="cl"
879 break
880 fi
881 done
882 IFS="$ac_save_ifs"
883fi
884fi
885CC="$ac_cv_prog_CC"
886if test -n "$CC"; then
887 echo "$ac_t""$CC" 1>&6
888else
889 echo "$ac_t""no" 1>&6
890fi
891 ;;
892 esac
893 fi
894 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
895fi
896
897echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
898echo "configure:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
899
900ac_ext=c
901# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
902ac_cpp='$CPP $CPPFLAGS'
903ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
904ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
905cross_compiling=$ac_cv_prog_cc_cross
906
907cat > conftest.$ac_ext << EOF
908
909#line 910 "configure"
910#include "confdefs.h"
911
912main(){return(0);}
913EOF
914if { (eval echo configure:915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
915 ac_cv_prog_cc_works=yes
916 # If we can't run a trivial program, we are probably using a cross compiler.
917 if (./conftest; exit) 2>/dev/null; then
918 ac_cv_prog_cc_cross=no
919 else
920 ac_cv_prog_cc_cross=yes
921 fi
922else
923 echo "configure: failed program was:" >&5
924 cat conftest.$ac_ext >&5
925 ac_cv_prog_cc_works=no
926fi
927rm -fr conftest*
928ac_ext=c
929# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
930ac_cpp='$CPP $CPPFLAGS'
931ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
932ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
933cross_compiling=$ac_cv_prog_cc_cross
934
935echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
936if test $ac_cv_prog_cc_works = no; then
937 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
938fi
939echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
940echo "configure:941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
941echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
942cross_compiling=$ac_cv_prog_cc_cross
943
944echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
945echo "configure:946: checking whether we are using GNU C" >&5
946if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
947 echo $ac_n "(cached) $ac_c" 1>&6
948else
949 cat > conftest.c <<EOF
950#ifdef __GNUC__
951 yes;
952#endif
953EOF
954if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
955 ac_cv_prog_gcc=yes
956else
957 ac_cv_prog_gcc=no
958fi
959fi
960
961echo "$ac_t""$ac_cv_prog_gcc" 1>&6
962
963if test $ac_cv_prog_gcc = yes; then
964 GCC=yes
965else
966 GCC=
967fi
968
969ac_test_CFLAGS="${CFLAGS+set}"
970ac_save_CFLAGS="$CFLAGS"
971CFLAGS=
972echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
973echo "configure:974: checking whether ${CC-cc} accepts -g" >&5
974if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
975 echo $ac_n "(cached) $ac_c" 1>&6
976else
977 echo 'void f(){}' > conftest.c
978if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
979 ac_cv_prog_cc_g=yes
980else
981 ac_cv_prog_cc_g=no
982fi
983rm -f conftest*
984
985fi
986
987echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
988if test "$ac_test_CFLAGS" = set; then
989 CFLAGS="$ac_save_CFLAGS"
990elif test $ac_cv_prog_cc_g = yes; then
991 if test "$GCC" = yes; then
992 CFLAGS="-g -O2"
993 else
994 CFLAGS="-g"
995 fi
996else
997 if test "$GCC" = yes; then
998 CFLAGS="-O2"
999 else
1000 CFLAGS=
1001 fi
1002fi
1003
1004echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1005echo "configure:1006: checking how to run the C preprocessor" >&5
1006# On Suns, sometimes $CPP names a directory.
1007if test -n "$CPP" && test -d "$CPP"; then
1008 CPP=
1009fi
1010if test -z "$CPP"; then
1011if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1012 echo $ac_n "(cached) $ac_c" 1>&6
1013else
1014 # This must be in double quotes, not single quotes, because CPP may get
1015 # substituted into the Makefile and "${CC-cc}" will confuse make.
1016 CPP="${CC-cc} -E"
1017 # On the NeXT, cc -E runs the code through the compiler's parser,
1018 # not just through cpp.
1019 cat > conftest.$ac_ext <<EOF
1020#line 1021 "configure"
1021#include "confdefs.h"
1022#include <assert.h>
1023Syntax Error
1024EOF
1025ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1026{ (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1027ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1028if test -z "$ac_err"; then
1029 :
1030else
1031 echo "$ac_err" >&5
1032 echo "configure: failed program was:" >&5
1033 cat conftest.$ac_ext >&5
1034 rm -rf conftest*
1035 CPP="${CC-cc} -E -traditional-cpp"
1036 cat > conftest.$ac_ext <<EOF
1037#line 1038 "configure"
1038#include "confdefs.h"
1039#include <assert.h>
1040Syntax Error
1041EOF
1042ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1043{ (eval echo configure:1044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1044ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1045if test -z "$ac_err"; then
1046 :
1047else
1048 echo "$ac_err" >&5
1049 echo "configure: failed program was:" >&5
1050 cat conftest.$ac_ext >&5
1051 rm -rf conftest*
1052 CPP="${CC-cc} -nologo -E"
1053 cat > conftest.$ac_ext <<EOF
1054#line 1055 "configure"
1055#include "confdefs.h"
1056#include <assert.h>
1057Syntax Error
1058EOF
1059ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1060{ (eval echo configure:1061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1061ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1062if test -z "$ac_err"; then
1063 :
1064else
1065 echo "$ac_err" >&5
1066 echo "configure: failed program was:" >&5
1067 cat conftest.$ac_ext >&5
1068 rm -rf conftest*
1069 CPP=/lib/cpp
1070fi
1071rm -f conftest*
1072fi
1073rm -f conftest*
1074fi
1075rm -f conftest*
1076 ac_cv_prog_CPP="$CPP"
1077fi
1078 CPP="$ac_cv_prog_CPP"
1079else
1080 ac_cv_prog_CPP="$CPP"
1081fi
1082echo "$ac_t""$CPP" 1>&6
1083
1084# Find a good install program. We prefer a C program (faster),
1085# so one script is as good as another. But avoid the broken or
1086# incompatible versions:
1087# SysV /etc/install, /usr/sbin/install
1088# SunOS /usr/etc/install
1089# IRIX /sbin/install
1090# AIX /bin/install
1091# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1092# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1093# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1094# ./install, which can be erroneously created by make from ./install.sh.
1095echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1096echo "configure:1097: checking for a BSD compatible install" >&5
1097if test -z "$INSTALL"; then
1098if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1099 echo $ac_n "(cached) $ac_c" 1>&6
1100else
1101 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1102 for ac_dir in $PATH; do
1103 # Account for people who put trailing slashes in PATH elements.
1104 case "$ac_dir/" in
1105 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1106 *)
1107 # OSF1 and SCO ODT 3.0 have their own names for install.
1108 # Don't use installbsd from OSF since it installs stuff as root
1109 # by default.
1110 for ac_prog in ginstall scoinst install; do
1111 if test -f $ac_dir/$ac_prog; then
1112 if test $ac_prog = install &&
1113 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1114 # AIX install. It has an incompatible calling convention.
1115 :
1116 else
1117 ac_cv_path_install="$ac_dir/$ac_prog -c"
1118 break 2
1119 fi
1120 fi
1121 done
1122 ;;
1123 esac
1124 done
1125 IFS="$ac_save_IFS"
1126
1127fi
1128 if test "${ac_cv_path_install+set}" = set; then
1129 INSTALL="$ac_cv_path_install"
1130 else
1131 # As a last resort, use the slow shell script. We don't cache a
1132 # path for INSTALL within a source directory, because that will
1133 # break other packages using the cache if that directory is
1134 # removed, or if the path is relative.
1135 INSTALL="$ac_install_sh"
1136 fi
1137fi
1138echo "$ac_t""$INSTALL" 1>&6
1139
1140# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1141# It thinks the first close brace ends the variable substitution.
1142test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1143
1144test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1145
1146test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1147
1148# Extract the first word of "ranlib", so it can be a program name with args.
1149set dummy ranlib; ac_word=$2
1150echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1151echo "configure:1152: checking for $ac_word" >&5
1152if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1153 echo $ac_n "(cached) $ac_c" 1>&6
1154else
1155 if test -n "$RANLIB"; then
1156 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1157else
1158 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1159 ac_dummy="$PATH"
1160 for ac_dir in $ac_dummy; do
1161 test -z "$ac_dir" && ac_dir=.
1162 if test -f $ac_dir/$ac_word; then
1163 ac_cv_prog_RANLIB="ranlib"
1164 break
1165 fi
1166 done
1167 IFS="$ac_save_ifs"
1168 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1169fi
1170fi
1171RANLIB="$ac_cv_prog_RANLIB"
1172if test -n "$RANLIB"; then
1173 echo "$ac_t""$RANLIB" 1>&6
1174else
1175 echo "$ac_t""no" 1>&6
1176fi
1177
1178for ac_prog in sgml2txt
1179do
1180# Extract the first word of "$ac_prog", so it can be a program name with args.
1181set dummy $ac_prog; ac_word=$2
1182echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1183echo "configure:1184: checking for $ac_word" >&5
1184if eval "test \"`echo '$''{'ac_cv_prog_have_sgml2txt'+set}'`\" = set"; then
1185 echo $ac_n "(cached) $ac_c" 1>&6
1186else
1187 if test -n "$have_sgml2txt"; then
1188 ac_cv_prog_have_sgml2txt="$have_sgml2txt" # Let the user override the test.
1189else
1190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1191 ac_dummy="$PATH"
1192 for ac_dir in $ac_dummy; do
1193 test -z "$ac_dir" && ac_dir=.
1194 if test -f $ac_dir/$ac_word; then
1195 ac_cv_prog_have_sgml2txt="$ac_prog"
1196 break
1197 fi
1198 done
1199 IFS="$ac_save_ifs"
1200fi
1201fi
1202have_sgml2txt="$ac_cv_prog_have_sgml2txt"
1203if test -n "$have_sgml2txt"; then
1204 echo "$ac_t""$have_sgml2txt" 1>&6
1205else
1206 echo "$ac_t""no" 1>&6
1207fi
1208
1209test -n "$have_sgml2txt" && break
1210done
1211test -n "$have_sgml2txt" || have_sgml2txt="no"
1212
1213for ac_prog in sgml2latex
1214do
1215# Extract the first word of "$ac_prog", so it can be a program name with args.
1216set dummy $ac_prog; ac_word=$2
1217echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1218echo "configure:1219: checking for $ac_word" >&5
1219if eval "test \"`echo '$''{'ac_cv_prog_have_sgml2latex'+set}'`\" = set"; then
1220 echo $ac_n "(cached) $ac_c" 1>&6
1221else
1222 if test -n "$have_sgml2latex"; then
1223 ac_cv_prog_have_sgml2latex="$have_sgml2latex" # Let the user override the test.
1224else
1225 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1226 ac_dummy="$PATH"
1227 for ac_dir in $ac_dummy; do
1228 test -z "$ac_dir" && ac_dir=.
1229 if test -f $ac_dir/$ac_word; then
1230 ac_cv_prog_have_sgml2latex="$ac_prog"
1231 break
1232 fi
1233 done
1234 IFS="$ac_save_ifs"
1235fi
1236fi
1237have_sgml2latex="$ac_cv_prog_have_sgml2latex"
1238if test -n "$have_sgml2latex"; then
1239 echo "$ac_t""$have_sgml2latex" 1>&6
1240else
1241 echo "$ac_t""no" 1>&6
1242fi
1243
1244test -n "$have_sgml2latex" && break
1245done
1246test -n "$have_sgml2latex" || have_sgml2latex="no"
1247
1248for ac_prog in sgml2html
1249do
1250# Extract the first word of "$ac_prog", so it can be a program name with args.
1251set dummy $ac_prog; ac_word=$2
1252echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1253echo "configure:1254: checking for $ac_word" >&5
1254if eval "test \"`echo '$''{'ac_cv_prog_have_sgml2html'+set}'`\" = set"; then
1255 echo $ac_n "(cached) $ac_c" 1>&6
1256else
1257 if test -n "$have_sgml2html"; then
1258 ac_cv_prog_have_sgml2html="$have_sgml2html" # Let the user override the test.
1259else
1260 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1261 ac_dummy="$PATH"
1262 for ac_dir in $ac_dummy; do
1263 test -z "$ac_dir" && ac_dir=.
1264 if test -f $ac_dir/$ac_word; then
1265 ac_cv_prog_have_sgml2html="$ac_prog"
1266 break
1267 fi
1268 done
1269 IFS="$ac_save_ifs"
1270fi
1271fi
1272have_sgml2html="$ac_cv_prog_have_sgml2html"
1273if test -n "$have_sgml2html"; then
1274 echo "$ac_t""$have_sgml2html" 1>&6
1275else
1276 echo "$ac_t""no" 1>&6
1277fi
1278
1279test -n "$have_sgml2html" && break
1280done
1281test -n "$have_sgml2html" || have_sgml2html="no"
1282
1283if test "$have_sgml2txt" = "no" -o "$have_sgml2latex" = "no" -o "$have_sgml2html" = "no"; then
1284 DOCMODULE=""
1285else
1286 DOCMODULE="doc"
1287fi
1288
1289
1290
1291# Check whether --enable-comp or --disable-comp was given.
1292if test "${enable_comp+set}" = set; then
1293 enableval="$enable_comp"
1294 :
1295else
1296 enable_comp=yes
1297fi
1298
1299if test "$enable_comp" = "yes"; then
1300 ASNMODULE="z39.50"
1301 ILLMODULE="ill"
1302 ILLLIB=../ill/libill.a
1303 ASN_MAKEFILES="z39.50/Makefile ill/Makefile"
1304 cp -f include/yaz/z-proto.h include/yaz/proto.h
1305else
1306 ILLMODULE=""
1307 ASNMODULE=asn
1308 ILLLIB=""
1309 ASN_MAKEFILES="asn/Makefile"
1310 cp -f include/yaz/prt-proto.h include/yaz/proto.h
1311fi
1312checkBoth=0
1313echo $ac_n "checking for connect""... $ac_c" 1>&6
1314echo "configure:1315: checking for connect" >&5
1315if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1316 echo $ac_n "(cached) $ac_c" 1>&6
1317else
1318 cat > conftest.$ac_ext <<EOF
1319#line 1320 "configure"
1320#include "confdefs.h"
1321/* System header to define __stub macros and hopefully few prototypes,
1322 which can conflict with char connect(); below. */
1323#include <assert.h>
1324/* Override any gcc2 internal prototype to avoid an error. */
1325/* We use char because int might match the return type of a gcc2
1326 builtin and then its argument prototype would still apply. */
1327char connect();
1328
1329int main() {
1330
1331/* The GNU C library defines this for functions which it implements
1332 to always fail with ENOSYS. Some functions are actually named
1333 something starting with __ and the normal name is an alias. */
1334#if defined (__stub_connect) || defined (__stub___connect)
1335choke me
1336#else
1337connect();
1338#endif
1339
1340; return 0; }
1341EOF
1342if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1343 rm -rf conftest*
1344 eval "ac_cv_func_connect=yes"
1345else
1346 echo "configure: failed program was:" >&5
1347 cat conftest.$ac_ext >&5
1348 rm -rf conftest*
1349 eval "ac_cv_func_connect=no"
1350fi
1351rm -f conftest*
1352fi
1353
1354if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1355 echo "$ac_t""yes" 1>&6
1356 :
1357else
1358 echo "$ac_t""no" 1>&6
1359fi
1360
1361if test "$ac_cv_func_connect" = "no"; then
1362 echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
1363echo "configure:1364: checking for main in -lsocket" >&5
1364ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
1365if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1366 echo $ac_n "(cached) $ac_c" 1>&6
1367else
1368 ac_save_LIBS="$LIBS"
1369LIBS="-lsocket $LIBS"
1370cat > conftest.$ac_ext <<EOF
1371#line 1372 "configure"
1372#include "confdefs.h"
1373
1374int main() {
1375main()
1376; return 0; }
1377EOF
1378if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1379 rm -rf conftest*
1380 eval "ac_cv_lib_$ac_lib_var=yes"
1381else
1382 echo "configure: failed program was:" >&5
1383 cat conftest.$ac_ext >&5
1384 rm -rf conftest*
1385 eval "ac_cv_lib_$ac_lib_var=no"
1386fi
1387rm -f conftest*
1388LIBS="$ac_save_LIBS"
1389
1390fi
1391if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1392 echo "$ac_t""yes" 1>&6
1393 LIBS="$LIBS -lsocket"
1394else
1395 echo "$ac_t""no" 1>&6
1396checkBoth=1
1397fi
1398
1399fi
1400if test "$checkBoth" = "1"; then
1401 oldLibs=$LIBS
1402 LIBS="$LIBS -lsocket -lnsl"
1403 echo $ac_n "checking for accept""... $ac_c" 1>&6
1404echo "configure:1405: checking for accept" >&5
1405if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
1406 echo $ac_n "(cached) $ac_c" 1>&6
1407else
1408 cat > conftest.$ac_ext <<EOF
1409#line 1410 "configure"
1410#include "confdefs.h"
1411/* System header to define __stub macros and hopefully few prototypes,
1412 which can conflict with char accept(); below. */
1413#include <assert.h>
1414/* Override any gcc2 internal prototype to avoid an error. */
1415/* We use char because int might match the return type of a gcc2
1416 builtin and then its argument prototype would still apply. */
1417char accept();
1418
1419int main() {
1420
1421/* The GNU C library defines this for functions which it implements
1422 to always fail with ENOSYS. Some functions are actually named
1423 something starting with __ and the normal name is an alias. */
1424#if defined (__stub_accept) || defined (__stub___accept)
1425choke me
1426#else
1427accept();
1428#endif
1429
1430; return 0; }
1431EOF
1432if { (eval echo configure:1433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1433 rm -rf conftest*
1434 eval "ac_cv_func_accept=yes"
1435else
1436 echo "configure: failed program was:" >&5
1437 cat conftest.$ac_ext >&5
1438 rm -rf conftest*
1439 eval "ac_cv_func_accept=no"
1440fi
1441rm -f conftest*
1442fi
1443
1444if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then
1445 echo "$ac_t""yes" 1>&6
1446 :
1447else
1448 echo "$ac_t""no" 1>&6
1449LIBS=$oldLibs
1450fi
1451
1452fi
1453echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1454echo "configure:1455: checking for gethostbyname" >&5
1455if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1456 echo $ac_n "(cached) $ac_c" 1>&6
1457else
1458 cat > conftest.$ac_ext <<EOF
1459#line 1460 "configure"
1460#include "confdefs.h"
1461/* System header to define __stub macros and hopefully few prototypes,
1462 which can conflict with char gethostbyname(); below. */
1463#include <assert.h>
1464/* Override any gcc2 internal prototype to avoid an error. */
1465/* We use char because int might match the return type of a gcc2
1466 builtin and then its argument prototype would still apply. */
1467char gethostbyname();
1468
1469int main() {
1470
1471/* The GNU C library defines this for functions which it implements
1472 to always fail with ENOSYS. Some functions are actually named
1473 something starting with __ and the normal name is an alias. */
1474#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1475choke me
1476#else
1477gethostbyname();
1478#endif
1479
1480; return 0; }
1481EOF
1482if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1483 rm -rf conftest*
1484 eval "ac_cv_func_gethostbyname=yes"
1485else
1486 echo "configure: failed program was:" >&5
1487 cat conftest.$ac_ext >&5
1488 rm -rf conftest*
1489 eval "ac_cv_func_gethostbyname=no"
1490fi
1491rm -f conftest*
1492fi
1493
1494if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1495 echo "$ac_t""yes" 1>&6
1496 :
1497else
1498 echo "$ac_t""no" 1>&6
1499echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
1500echo "configure:1501: checking for main in -lnsl" >&5
1501ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
1502if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1503 echo $ac_n "(cached) $ac_c" 1>&6
1504else
1505 ac_save_LIBS="$LIBS"
1506LIBS="-lnsl $LIBS"
1507cat > conftest.$ac_ext <<EOF
1508#line 1509 "configure"
1509#include "confdefs.h"
1510
1511int main() {
1512main()
1513; return 0; }
1514EOF
1515if { (eval echo configure:1516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1516 rm -rf conftest*
1517 eval "ac_cv_lib_$ac_lib_var=yes"
1518else
1519 echo "configure: failed program was:" >&5
1520 cat conftest.$ac_ext >&5
1521 rm -rf conftest*
1522 eval "ac_cv_lib_$ac_lib_var=no"
1523fi
1524rm -f conftest*
1525LIBS="$ac_save_LIBS"
1526
1527fi
1528if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1529 echo "$ac_t""yes" 1>&6
1530 LIBS="$LIBS -lnsl"
1531else
1532 echo "$ac_t""no" 1>&6
1533fi
1534
1535fi
1536
1537echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1538echo "configure:1539: checking for readline in -lreadline" >&5
1539ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1540if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1541 echo $ac_n "(cached) $ac_c" 1>&6
1542else
1543 ac_save_LIBS="$LIBS"
1544LIBS="-lreadline $LIBS"
1545cat > conftest.$ac_ext <<EOF
1546#line 1547 "configure"
1547#include "confdefs.h"
1548/* Override any gcc2 internal prototype to avoid an error. */
1549/* We use char because int might match the return type of a gcc2
1550 builtin and then its argument prototype would still apply. */
1551char readline();
1552
1553int main() {
1554readline()
1555; return 0; }
1556EOF
1557if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1558 rm -rf conftest*
1559 eval "ac_cv_lib_$ac_lib_var=yes"
1560else
1561 echo "configure: failed program was:" >&5
1562 cat conftest.$ac_ext >&5
1563 rm -rf conftest*
1564 eval "ac_cv_lib_$ac_lib_var=no"
1565fi
1566rm -f conftest*
1567LIBS="$ac_save_LIBS"
1568
1569fi
1570if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1571 echo "$ac_t""yes" 1>&6
1572 LIBS="$LIBS -lreadline"
1573else
1574 echo "$ac_t""no" 1>&6
1575fi
1576
1577if test "$ac_cv_lib_readline_readline" = "no"; then
1578 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1579echo "configure:1580: checking for readline in -lreadline" >&5
1580ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1581if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1582 echo $ac_n "(cached) $ac_c" 1>&6
1583else
1584 ac_save_LIBS="$LIBS"
1585LIBS="-lreadline $LIBS"
1586cat > conftest.$ac_ext <<EOF
1587#line 1588 "configure"
1588#include "confdefs.h"
1589/* Override any gcc2 internal prototype to avoid an error. */
1590/* We use char because int might match the return type of a gcc2
1591 builtin and then its argument prototype would still apply. */
1592char readline();
1593
1594int main() {
1595readline()
1596; return 0; }
1597EOF
1598if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1599 rm -rf conftest*
1600 eval "ac_cv_lib_$ac_lib_var=yes"
1601else
1602 echo "configure: failed program was:" >&5
1603 cat conftest.$ac_ext >&5
1604 rm -rf conftest*
1605 eval "ac_cv_lib_$ac_lib_var=no"
1606fi
1607rm -f conftest*
1608LIBS="$ac_save_LIBS"
1609
1610fi
1611if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1612 echo "$ac_t""yes" 1>&6
1613 LIBS="$LIBS -lreadline -ltermcap"
1614else
1615 echo "$ac_t""no" 1>&6
1616fi
1617
1618fi
1619echo $ac_n "checking for add_history in -lhistory""... $ac_c" 1>&6
1620echo "configure:1621: checking for add_history in -lhistory" >&5
1621ac_lib_var=`echo history'_'add_history | sed 'y%./+-%__p_%'`
1622if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1623 echo $ac_n "(cached) $ac_c" 1>&6
1624else
1625 ac_save_LIBS="$LIBS"
1626LIBS="-lhistory $LIBS"
1627cat > conftest.$ac_ext <<EOF
1628#line 1629 "configure"
1629#include "confdefs.h"
1630/* Override any gcc2 internal prototype to avoid an error. */
1631/* We use char because int might match the return type of a gcc2
1632 builtin and then its argument prototype would still apply. */
1633char add_history();
1634
1635int main() {
1636add_history()
1637; return 0; }
1638EOF
1639if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1640 rm -rf conftest*
1641 eval "ac_cv_lib_$ac_lib_var=yes"
1642else
1643 echo "configure: failed program was:" >&5
1644 cat conftest.$ac_ext >&5
1645 rm -rf conftest*
1646 eval "ac_cv_lib_$ac_lib_var=no"
1647fi
1648rm -f conftest*
1649LIBS="$ac_save_LIBS"
1650
1651fi
1652if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1653 echo "$ac_t""yes" 1>&6
1654 LIBS="$LIBS -lhistory"
1655else
1656 echo "$ac_t""no" 1>&6
1657fi
1658
1659if test "$ac_cv_lib_readline_readline" = "yes"; then
1660 for ac_hdr in readline/readline.h readline/history.h
1661do
1662ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1663echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1664echo "configure:1665: checking for $ac_hdr" >&5
1665if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1666 echo $ac_n "(cached) $ac_c" 1>&6
1667else
1668 cat > conftest.$ac_ext <<EOF
1669#line 1670 "configure"
1670#include "confdefs.h"
1671#include <$ac_hdr>
1672EOF
1673ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1674{ (eval echo configure:1675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1675ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1676if test -z "$ac_err"; then
1677 rm -rf conftest*
1678 eval "ac_cv_header_$ac_safe=yes"
1679else
1680 echo "$ac_err" >&5
1681 echo "configure: failed program was:" >&5
1682 cat conftest.$ac_ext >&5
1683 rm -rf conftest*
1684 eval "ac_cv_header_$ac_safe=no"
1685fi
1686rm -f conftest*
1687fi
1688if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1689 echo "$ac_t""yes" 1>&6
1690 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1691 cat >> confdefs.h <<EOF
1692#define $ac_tr_hdr 1
1693EOF
1694
1695else
1696 echo "$ac_t""no" 1>&6
1697fi
1698done
1699
1700fi
1701# Check whether --enable-tcpd or --disable-tcpd was given.
1702if test "${enable_tcpd+set}" = set; then
1703 enableval="$enable_tcpd"
1704 :
1705fi
1706
1707if test "$enable_tcpd" = "yes"; then
1708 echo $ac_n "checking for working tcpd.h""... $ac_c" 1>&6
1709echo "configure:1710: checking for working tcpd.h" >&5
1710 oldLibs=$LIBS
1711 LIBS="$LIBS -lwrap -lnsl"
1712 cat > conftest.$ac_ext <<EOF
1713#line 1714 "configure"
1714#include "confdefs.h"
1715#include <syslog.h>
1716 #include <tcpd.h>
1717 int allow_severity = LOG_INFO;
1718 int deny_severity = LOG_WARNING;
1719int main() {
1720struct request_info request_info; int i;
1721 i = hosts_access(&request_info);
1722; return 0; }
1723EOF
1724if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1725 rm -rf conftest*
1726 tcpd_ok=1
1727else
1728 echo "configure: failed program was:" >&5
1729 cat conftest.$ac_ext >&5
1730 rm -rf conftest*
1731 tcpd_ok=0
1732fi
1733rm -f conftest*
1734 if test "$tcpd_ok" = "0"; then
1735 echo "$ac_t""no" 1>&6
1736 LIBS=$oldLibs
1737 else
1738 echo "$ac_t""yes" 1>&6
1739 cat >> confdefs.h <<\EOF
1740#define HAVE_TCPD_H 1
1741EOF
1742
1743 fi
1744fi
1745echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1746echo "configure:1747: checking for ANSI C header files" >&5
1747if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1748 echo $ac_n "(cached) $ac_c" 1>&6
1749else
1750 cat > conftest.$ac_ext <<EOF
1751#line 1752 "configure"
1752#include "confdefs.h"
1753#include <stdlib.h>
1754#include <stdarg.h>
1755#include <string.h>
1756#include <float.h>
1757EOF
1758ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1759{ (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1760ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1761if test -z "$ac_err"; then
1762 rm -rf conftest*
1763 ac_cv_header_stdc=yes
1764else
1765 echo "$ac_err" >&5
1766 echo "configure: failed program was:" >&5
1767 cat conftest.$ac_ext >&5
1768 rm -rf conftest*
1769 ac_cv_header_stdc=no
1770fi
1771rm -f conftest*
1772
1773if test $ac_cv_header_stdc = yes; then
1774 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1775cat > conftest.$ac_ext <<EOF
1776#line 1777 "configure"
1777#include "confdefs.h"
1778#include <string.h>
1779EOF
1780if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1781 egrep "memchr" >/dev/null 2>&1; then
1782 :
1783else
1784 rm -rf conftest*
1785 ac_cv_header_stdc=no
1786fi
1787rm -f conftest*
1788
1789fi
1790
1791if test $ac_cv_header_stdc = yes; then
1792 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1793cat > conftest.$ac_ext <<EOF
1794#line 1795 "configure"
1795#include "confdefs.h"
1796#include <stdlib.h>
1797EOF
1798if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1799 egrep "free" >/dev/null 2>&1; then
1800 :
1801else
1802 rm -rf conftest*
1803 ac_cv_header_stdc=no
1804fi
1805rm -f conftest*
1806
1807fi
1808
1809if test $ac_cv_header_stdc = yes; then
1810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1811if test "$cross_compiling" = yes; then
1812 :
1813else
1814 cat > conftest.$ac_ext <<EOF
1815#line 1816 "configure"
1816#include "confdefs.h"
1817#include <ctype.h>
1818#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1819#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1820#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1821int main () { int i; for (i = 0; i < 256; i++)
1822if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1823exit (0); }
1824
1825EOF
1826if { (eval echo configure:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1827then
1828 :
1829else
1830 echo "configure: failed program was:" >&5
1831 cat conftest.$ac_ext >&5
1832 rm -fr conftest*
1833 ac_cv_header_stdc=no
1834fi
1835rm -fr conftest*
1836fi
1837
1838fi
1839fi
1840
1841echo "$ac_t""$ac_cv_header_stdc" 1>&6
1842if test $ac_cv_header_stdc = yes; then
1843 cat >> confdefs.h <<\EOF
1844#define STDC_HEADERS 1
1845EOF
1846
1847fi
1848
1849if test "$ac_cv_header_stdc" = "no"; then
1850 echo "configure: warning: Your system doesn't seem to support ANSI C" 1>&2
1851fi
1852# Check whether --enable-threads or --disable-threads was given.
1853if test "${enable_threads+set}" = set; then
1854 enableval="$enable_threads"
1855 :
1856fi
1857
1858if test "$enable_threads" = "yes"; then
1859 for ac_hdr in pthread.h threads.h
1860do
1861ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1862echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1863echo "configure:1864: checking for $ac_hdr" >&5
1864if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1865 echo $ac_n "(cached) $ac_c" 1>&6
1866else
1867 cat > conftest.$ac_ext <<EOF
1868#line 1869 "configure"
1869#include "confdefs.h"
1870#include <$ac_hdr>
1871EOF
1872ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1873{ (eval echo configure:1874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1874ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1875if test -z "$ac_err"; then
1876 rm -rf conftest*
1877 eval "ac_cv_header_$ac_safe=yes"
1878else
1879 echo "$ac_err" >&5
1880 echo "configure: failed program was:" >&5
1881 cat conftest.$ac_ext >&5
1882 rm -rf conftest*
1883 eval "ac_cv_header_$ac_safe=no"
1884fi
1885rm -f conftest*
1886fi
1887if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1888 echo "$ac_t""yes" 1>&6
1889 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1890 cat >> confdefs.h <<EOF
1891#define $ac_tr_hdr 1
1892EOF
1893
1894else
1895 echo "$ac_t""no" 1>&6
1896fi
1897done
1898
1899 echo $ac_n "checking for pthread_mutex_lock""... $ac_c" 1>&6
1900echo "configure:1901: checking for pthread_mutex_lock" >&5
1901if eval "test \"`echo '$''{'ac_cv_func_pthread_mutex_lock'+set}'`\" = set"; then
1902 echo $ac_n "(cached) $ac_c" 1>&6
1903else
1904 cat > conftest.$ac_ext <<EOF
1905#line 1906 "configure"
1906#include "confdefs.h"
1907/* System header to define __stub macros and hopefully few prototypes,
1908 which can conflict with char pthread_mutex_lock(); below. */
1909#include <assert.h>
1910/* Override any gcc2 internal prototype to avoid an error. */
1911/* We use char because int might match the return type of a gcc2
1912 builtin and then its argument prototype would still apply. */
1913char pthread_mutex_lock();
1914
1915int main() {
1916
1917/* The GNU C library defines this for functions which it implements
1918 to always fail with ENOSYS. Some functions are actually named
1919 something starting with __ and the normal name is an alias. */
1920#if defined (__stub_pthread_mutex_lock) || defined (__stub___pthread_mutex_lock)
1921choke me
1922#else
1923pthread_mutex_lock();
1924#endif
1925
1926; return 0; }
1927EOF
1928if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1929 rm -rf conftest*
1930 eval "ac_cv_func_pthread_mutex_lock=yes"
1931else
1932 echo "configure: failed program was:" >&5
1933 cat conftest.$ac_ext >&5
1934 rm -rf conftest*
1935 eval "ac_cv_func_pthread_mutex_lock=no"
1936fi
1937rm -f conftest*
1938fi
1939
1940if eval "test \"`echo '$ac_cv_func_'pthread_mutex_lock`\" = yes"; then
1941 echo "$ac_t""yes" 1>&6
1942 :
1943else
1944 echo "$ac_t""no" 1>&6
1945fi
1946
1947 if test "$ac_cv_func_pthread_mutex_lock" = "no"; then
1948 echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6
1949echo "configure:1950: checking for main in -lpthread" >&5
1950ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'`
1951if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1952 echo $ac_n "(cached) $ac_c" 1>&6
1953else
1954 ac_save_LIBS="$LIBS"
1955LIBS="-lpthread $LIBS"
1956cat > conftest.$ac_ext <<EOF
1957#line 1958 "configure"
1958#include "confdefs.h"
1959
1960int main() {
1961main()
1962; return 0; }
1963EOF
1964if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1965 rm -rf conftest*
1966 eval "ac_cv_lib_$ac_lib_var=yes"
1967else
1968 echo "configure: failed program was:" >&5
1969 cat conftest.$ac_ext >&5
1970 rm -rf conftest*
1971 eval "ac_cv_lib_$ac_lib_var=no"
1972fi
1973rm -f conftest*
1974LIBS="$ac_save_LIBS"
1975
1976fi
1977if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1978 echo "$ac_t""yes" 1>&6
1979 ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1980 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1981 cat >> confdefs.h <<EOF
1982#define $ac_tr_lib 1
1983EOF
1984
1985 LIBS="-lpthread $LIBS"
1986
1987else
1988 echo "$ac_t""no" 1>&6
1989fi
1990
1991 fi
1992 cat >> confdefs.h <<\EOF
1993#define _REENTRANT 1
1994EOF
1995
1996fi
1997SUBDIRS_VAR="util odr $ASNMODULE $ILLMODULE zutil comstack ccl tab retrieval server include lib client ztest $DOCMODULE"
1998
1999trap '' 1 2 15
2000cat > confcache <<\EOF
2001# This file is a shell script that caches the results of configure
2002# tests run on this system so they can be shared between configure
2003# scripts and configure runs. It is not useful on other systems.
2004# If it contains results you don't want to keep, you may remove or edit it.
2005#
2006# By default, configure uses ./config.cache as the cache file,
2007# creating it if it does not exist already. You can give configure
2008# the --cache-file=FILE option to use a different cache file; that is
2009# what configure does when it calls configure scripts in
2010# subdirectories, so they share the cache.
2011# Giving --cache-file=/dev/null disables caching, for debugging configure.
2012# config.status only pays attention to the cache file if you give it the
2013# --recheck option to rerun configure.
2014#
2015EOF
2016# The following way of writing the cache mishandles newlines in values,
2017# but we know of no workaround that is simple, portable, and efficient.
2018# So, don't put newlines in cache variables' values.
2019# Ultrix sh set writes to stderr and can't be redirected directly,
2020# and sets the high bit in the cache file unless we assign to the vars.
2021(set) 2>&1 |
2022 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2023 *ac_space=\ *)
2024 # `set' does not quote correctly, so add quotes (double-quote substitution
2025 # turns \\\\ into \\, and sed turns \\ into \).
2026 sed -n \
2027 -e "s/'/'\\\\''/g" \
2028 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2029 ;;
2030 *)
2031 # `set' quotes correctly as required by POSIX, so do not add quotes.
2032 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2033 ;;
2034 esac >> confcache
2035if cmp -s $cache_file confcache; then
2036 :
2037else
2038 if test -w $cache_file; then
2039 echo "updating cache $cache_file"
2040 cat confcache > $cache_file
2041 else
2042 echo "not updating unwritable cache $cache_file"
2043 fi
2044fi
2045rm -f confcache
2046
2047trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2048
2049test "x$prefix" = xNONE && prefix=$ac_default_prefix
2050# Let make expand exec_prefix.
2051test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2052
2053# Any assignment to VPATH causes Sun make to only execute
2054# the first set of double-colon rules, so remove it if not needed.
2055# If there is a colon in the path, we need to keep it.
2056if test "x$srcdir" = x.; then
2057 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2058fi
2059
2060trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2061
2062# Transform confdefs.h into DEFS.
2063# Protect against shell expansion while executing Makefile rules.
2064# Protect against Makefile macro expansion.
2065cat > conftest.defs <<\EOF
2066s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2067s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
2068s%\[%\\&%g
2069s%\]%\\&%g
2070s%\$%$$%g
2071EOF
2072DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
2073rm -f conftest.defs
2074
2075
2076# Without the "./", some shells look in PATH for config.status.
2077: ${CONFIG_STATUS=./config.status}
2078
2079echo creating $CONFIG_STATUS
2080rm -f $CONFIG_STATUS
2081cat > $CONFIG_STATUS <<EOF
2082#! /bin/sh
2083# Generated automatically by configure.
2084# Run this file to recreate the current configuration.
2085# This directory was configured as follows,
2086# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2087#
2088# $0 $ac_configure_args
2089#
2090# Compiler output produced by configure, useful for debugging
2091# configure, is in ./config.log if it exists.
2092
2093ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2094for ac_option
2095do
2096 case "\$ac_option" in
2097 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2098 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2099 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2100 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2101 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2102 exit 0 ;;
2103 -help | --help | --hel | --he | --h)
2104 echo "\$ac_cs_usage"; exit 0 ;;
2105 *) echo "\$ac_cs_usage"; exit 1 ;;
2106 esac
2107done
2108
2109ac_given_srcdir=$srcdir
2110ac_given_INSTALL="$INSTALL"
2111
2112trap 'rm -fr `echo "Makefile util/Makefile odr/Makefile z39.50/Makefile asn/Makefile ill/Makefile zutil/Makefile comstack/Makefile ccl/Makefile tab/Makefile retrieval/Makefile server/Makefile include/Makefile include/yaz/Makefile lib/Makefile client/Makefile ztest/Makefile doc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2113EOF
2114cat >> $CONFIG_STATUS <<EOF
2115
2116# Protect against being on the right side of a sed subst in config.status.
2117sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2118 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2119$ac_vpsub
2120$extrasub
2121s%@SHELL@%$SHELL%g
2122s%@CFLAGS@%$CFLAGS%g
2123s%@CPPFLAGS@%$CPPFLAGS%g
2124s%@CXXFLAGS@%$CXXFLAGS%g
2125s%@FFLAGS@%$FFLAGS%g
2126s%@DEFS@%$DEFS%g
2127s%@LDFLAGS@%$LDFLAGS%g
2128s%@LIBS@%$LIBS%g
2129s%@exec_prefix@%$exec_prefix%g
2130s%@prefix@%$prefix%g
2131s%@program_transform_name@%$program_transform_name%g
2132s%@bindir@%$bindir%g
2133s%@sbindir@%$sbindir%g
2134s%@libexecdir@%$libexecdir%g
2135s%@datadir@%$datadir%g
2136s%@sysconfdir@%$sysconfdir%g
2137s%@sharedstatedir@%$sharedstatedir%g
2138s%@localstatedir@%$localstatedir%g
2139s%@libdir@%$libdir%g
2140s%@includedir@%$includedir%g
2141s%@oldincludedir@%$oldincludedir%g
2142s%@infodir@%$infodir%g
2143s%@mandir@%$mandir%g
2144s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2145s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2146s%@INSTALL_DATA@%$INSTALL_DATA%g
2147s%@PACKAGE@%$PACKAGE%g
2148s%@VERSION@%$VERSION%g
2149s%@ACLOCAL@%$ACLOCAL%g
2150s%@AUTOCONF@%$AUTOCONF%g
2151s%@AUTOMAKE@%$AUTOMAKE%g
2152s%@AUTOHEADER@%$AUTOHEADER%g
2153s%@MAKEINFO@%$MAKEINFO%g
2154s%@SET_MAKE@%$SET_MAKE%g
2155s%@CC@%$CC%g
2156s%@CPP@%$CPP%g
2157s%@RANLIB@%$RANLIB%g
2158s%@have_sgml2txt@%$have_sgml2txt%g
2159s%@have_sgml2latex@%$have_sgml2latex%g
2160s%@have_sgml2html@%$have_sgml2html%g
2161s%@ASNMODULE@%$ASNMODULE%g
2162s%@ILLMODULE@%$ILLMODULE%g
2163s%@ILLLIB@%$ILLLIB%g
2164s%@SUBDIRS_VAR@%$SUBDIRS_VAR%g
2165
2166CEOF
2167EOF
2168
2169cat >> $CONFIG_STATUS <<\EOF
2170
2171# Split the substitutions into bite-sized pieces for seds with
2172# small command number limits, like on Digital OSF/1 and HP-UX.
2173ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2174ac_file=1 # Number of current file.
2175ac_beg=1 # First line for current file.
2176ac_end=$ac_max_sed_cmds # Line after last line for current file.
2177ac_more_lines=:
2178ac_sed_cmds=""
2179while $ac_more_lines; do
2180 if test $ac_beg -gt 1; then
2181 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2182 else
2183 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2184 fi
2185 if test ! -s conftest.s$ac_file; then
2186 ac_more_lines=false
2187 rm -f conftest.s$ac_file
2188 else
2189 if test -z "$ac_sed_cmds"; then
2190 ac_sed_cmds="sed -f conftest.s$ac_file"
2191 else
2192 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2193 fi
2194 ac_file=`expr $ac_file + 1`
2195 ac_beg=$ac_end
2196 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2197 fi
2198done
2199if test -z "$ac_sed_cmds"; then
2200 ac_sed_cmds=cat
2201fi
2202EOF
2203
2204cat >> $CONFIG_STATUS <<EOF
2205
2206CONFIG_FILES=\${CONFIG_FILES-"Makefile util/Makefile odr/Makefile z39.50/Makefile asn/Makefile ill/Makefile zutil/Makefile comstack/Makefile ccl/Makefile tab/Makefile retrieval/Makefile server/Makefile include/Makefile include/yaz/Makefile lib/Makefile client/Makefile ztest/Makefile doc/Makefile"}
2207EOF
2208cat >> $CONFIG_STATUS <<\EOF
2209for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2211 case "$ac_file" in
2212 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2213 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2214 *) ac_file_in="${ac_file}.in" ;;
2215 esac
2216
2217 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2218
2219 # Remove last slash and all that follows it. Not all systems have dirname.
2220 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2221 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2222 # The file is in a subdirectory.
2223 test ! -d "$ac_dir" && mkdir "$ac_dir"
2224 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2225 # A "../" for each directory in $ac_dir_suffix.
2226 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2227 else
2228 ac_dir_suffix= ac_dots=
2229 fi
2230
2231 case "$ac_given_srcdir" in
2232 .) srcdir=.
2233 if test -z "$ac_dots"; then top_srcdir=.
2234 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2235 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2236 *) # Relative path.
2237 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2238 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2239 esac
2240
2241 case "$ac_given_INSTALL" in
2242 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2243 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2244 esac
2245
2246 echo creating "$ac_file"
2247 rm -f "$ac_file"
2248 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2249 case "$ac_file" in
2250 *Makefile*) ac_comsub="1i\\
2251# $configure_input" ;;
2252 *) ac_comsub= ;;
2253 esac
2254
2255 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2256 sed -e "$ac_comsub
2257s%@configure_input@%$configure_input%g
2258s%@srcdir@%$srcdir%g
2259s%@top_srcdir@%$top_srcdir%g
2260s%@INSTALL@%$INSTALL%g
2261" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2262fi; done
2263rm -f conftest.s*
2264
2265EOF
2266cat >> $CONFIG_STATUS <<EOF
2267
2268EOF
2269cat >> $CONFIG_STATUS <<\EOF
2270
2271exit 0
2272EOF
2273chmod +x $CONFIG_STATUS
2274rm -fr confdefs* $ac_clean_files
2275test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2276
Note: See TracBrowser for help on using the repository browser.