]> andersk Git - moira.git/blame - configure
fix depend rule for case with no DEPDIRS
[moira.git] / configure
CommitLineData
ea0caf4a 1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.12
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 --enable-athena Enable Athena-specific policy decisions"
16ac_help="$ac_help
17 --with-com_err=PREFIX Specify location of com_err"
18ac_help="$ac_help
19 --with-krb4=PREFIX Specify location of krb4"
20ac_help="$ac_help
21 --with-hesiod=PREFIX Specify location of Hesiod"
22ac_help="$ac_help
23 --with-zephyr=PREFIX Specify location of Zephyr"
24ac_help="$ac_help
25 --with-gdss=PREFIX Specify location of GDSS"
26ac_help="$ac_help
27 --with-oracle=PREFIX Specify location of Oracle (for server)"
28ac_help="$ac_help
29 --with-afs=PREFIX Specify location of AFS libs (for server)"
30ac_help="$ac_help
31 --with-readline=PREFIX Specify location of GNU readline"
32
33# Initialize some variables set by options.
34# The variables have the same names as the options, with
35# dashes changed to underlines.
36build=NONE
37cache_file=./config.cache
38exec_prefix=NONE
39host=NONE
40no_create=
41nonopt=NONE
42no_recursion=
43prefix=NONE
44program_prefix=NONE
45program_suffix=NONE
46program_transform_name=s,x,x,
47silent=
48site=
49srcdir=
50target=NONE
51verbose=
52x_includes=NONE
53x_libraries=NONE
54bindir='${exec_prefix}/bin'
55sbindir='${exec_prefix}/sbin'
56libexecdir='${exec_prefix}/libexec'
57datadir='${prefix}/share'
58sysconfdir='${prefix}/etc'
59sharedstatedir='${prefix}/com'
60localstatedir='${prefix}/var'
61libdir='${exec_prefix}/lib'
62includedir='${prefix}/include'
63oldincludedir='/usr/include'
64infodir='${prefix}/info'
65mandir='${prefix}/man'
66
67# Initialize some other variables.
68subdirs=
69MFLAGS= MAKEFLAGS=
70# Maximum number of lines to put in a shell here document.
71ac_max_here_lines=12
72
73ac_prev=
74for ac_option
75do
76
77 # If the previous option needs an argument, assign it.
78 if test -n "$ac_prev"; then
79 eval "$ac_prev=\$ac_option"
80 ac_prev=
81 continue
82 fi
83
84 case "$ac_option" in
85 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
86 *) ac_optarg= ;;
87 esac
88
89 # Accept the important Cygnus configure options, so we can diagnose typos.
90
91 case "$ac_option" in
92
93 -bindir | --bindir | --bindi | --bind | --bin | --bi)
94 ac_prev=bindir ;;
95 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
96 bindir="$ac_optarg" ;;
97
98 -build | --build | --buil | --bui | --bu)
99 ac_prev=build ;;
100 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
101 build="$ac_optarg" ;;
102
103 -cache-file | --cache-file | --cache-fil | --cache-fi \
104 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
105 ac_prev=cache_file ;;
106 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
107 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
108 cache_file="$ac_optarg" ;;
109
110 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
111 ac_prev=datadir ;;
112 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
113 | --da=*)
114 datadir="$ac_optarg" ;;
115
116 -disable-* | --disable-*)
117 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
118 # Reject names that are not valid shell variable names.
119 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
120 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
121 fi
122 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
123 eval "enable_${ac_feature}=no" ;;
124
125 -enable-* | --enable-*)
126 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
127 # Reject names that are not valid shell variable names.
128 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
129 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
130 fi
131 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
132 case "$ac_option" in
133 *=*) ;;
134 *) ac_optarg=yes ;;
135 esac
136 eval "enable_${ac_feature}='$ac_optarg'" ;;
137
138 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
139 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
140 | --exec | --exe | --ex)
141 ac_prev=exec_prefix ;;
142 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
143 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
144 | --exec=* | --exe=* | --ex=*)
145 exec_prefix="$ac_optarg" ;;
146
147 -gas | --gas | --ga | --g)
148 # Obsolete; use --with-gas.
149 with_gas=yes ;;
150
151 -help | --help | --hel | --he)
152 # Omit some internal or obsolete options to make the list less imposing.
153 # This message is too long to be a string in the A/UX 3.1 sh.
154 cat << EOF
155Usage: configure [options] [host]
156Options: [defaults in brackets after descriptions]
157Configuration:
158 --cache-file=FILE cache test results in FILE
159 --help print this message
160 --no-create do not create output files
161 --quiet, --silent do not print \`checking...' messages
162 --version print the version of autoconf that created configure
163Directory and file names:
164 --prefix=PREFIX install architecture-independent files in PREFIX
165 [$ac_default_prefix]
166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
167 [same as prefix]
168 --bindir=DIR user executables in DIR [EPREFIX/bin]
169 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
170 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
171 --datadir=DIR read-only architecture-independent data in DIR
172 [PREFIX/share]
173 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
174 --sharedstatedir=DIR modifiable architecture-independent data in DIR
175 [PREFIX/com]
176 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
177 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
178 --includedir=DIR C header files in DIR [PREFIX/include]
179 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
180 --infodir=DIR info documentation in DIR [PREFIX/info]
181 --mandir=DIR man documentation in DIR [PREFIX/man]
182 --srcdir=DIR find the sources in DIR [configure dir or ..]
183 --program-prefix=PREFIX prepend PREFIX to installed program names
184 --program-suffix=SUFFIX append SUFFIX to installed program names
185 --program-transform-name=PROGRAM
186 run sed PROGRAM on installed program names
187EOF
188 cat << EOF
189Host type:
190 --build=BUILD configure for building on BUILD [BUILD=HOST]
191 --host=HOST configure for HOST [guessed]
192 --target=TARGET configure for TARGET [TARGET=HOST]
193Features and packages:
194 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
195 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
196 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
197 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
198 --x-includes=DIR X include files are in DIR
199 --x-libraries=DIR X library files are in DIR
200EOF
201 if test -n "$ac_help"; then
202 echo "--enable and --with options recognized:$ac_help"
203 fi
204 exit 0 ;;
205
206 -host | --host | --hos | --ho)
207 ac_prev=host ;;
208 -host=* | --host=* | --hos=* | --ho=*)
209 host="$ac_optarg" ;;
210
211 -includedir | --includedir | --includedi | --included | --include \
212 | --includ | --inclu | --incl | --inc)
213 ac_prev=includedir ;;
214 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
215 | --includ=* | --inclu=* | --incl=* | --inc=*)
216 includedir="$ac_optarg" ;;
217
218 -infodir | --infodir | --infodi | --infod | --info | --inf)
219 ac_prev=infodir ;;
220 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
221 infodir="$ac_optarg" ;;
222
223 -libdir | --libdir | --libdi | --libd)
224 ac_prev=libdir ;;
225 -libdir=* | --libdir=* | --libdi=* | --libd=*)
226 libdir="$ac_optarg" ;;
227
228 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
229 | --libexe | --libex | --libe)
230 ac_prev=libexecdir ;;
231 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
232 | --libexe=* | --libex=* | --libe=*)
233 libexecdir="$ac_optarg" ;;
234
235 -localstatedir | --localstatedir | --localstatedi | --localstated \
236 | --localstate | --localstat | --localsta | --localst \
237 | --locals | --local | --loca | --loc | --lo)
238 ac_prev=localstatedir ;;
239 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
240 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
241 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
242 localstatedir="$ac_optarg" ;;
243
244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
245 ac_prev=mandir ;;
246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
247 mandir="$ac_optarg" ;;
248
249 -nfp | --nfp | --nf)
250 # Obsolete; use --without-fp.
251 with_fp=no ;;
252
253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
254 | --no-cr | --no-c)
255 no_create=yes ;;
256
257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
259 no_recursion=yes ;;
260
261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
263 | --oldin | --oldi | --old | --ol | --o)
264 ac_prev=oldincludedir ;;
265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
268 oldincludedir="$ac_optarg" ;;
269
270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
271 ac_prev=prefix ;;
272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
273 prefix="$ac_optarg" ;;
274
275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
276 | --program-pre | --program-pr | --program-p)
277 ac_prev=program_prefix ;;
278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
280 program_prefix="$ac_optarg" ;;
281
282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
283 | --program-suf | --program-su | --program-s)
284 ac_prev=program_suffix ;;
285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
287 program_suffix="$ac_optarg" ;;
288
289 -program-transform-name | --program-transform-name \
290 | --program-transform-nam | --program-transform-na \
291 | --program-transform-n | --program-transform- \
292 | --program-transform | --program-transfor \
293 | --program-transfo | --program-transf \
294 | --program-trans | --program-tran \
295 | --progr-tra | --program-tr | --program-t)
296 ac_prev=program_transform_name ;;
297 -program-transform-name=* | --program-transform-name=* \
298 | --program-transform-nam=* | --program-transform-na=* \
299 | --program-transform-n=* | --program-transform-=* \
300 | --program-transform=* | --program-transfor=* \
301 | --program-transfo=* | --program-transf=* \
302 | --program-trans=* | --program-tran=* \
303 | --progr-tra=* | --program-tr=* | --program-t=*)
304 program_transform_name="$ac_optarg" ;;
305
306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
307 | -silent | --silent | --silen | --sile | --sil)
308 silent=yes ;;
309
310 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
311 ac_prev=sbindir ;;
312 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
313 | --sbi=* | --sb=*)
314 sbindir="$ac_optarg" ;;
315
316 -sharedstatedir | --sharedstatedir | --sharedstatedi \
317 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
318 | --sharedst | --shareds | --shared | --share | --shar \
319 | --sha | --sh)
320 ac_prev=sharedstatedir ;;
321 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
322 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
323 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
324 | --sha=* | --sh=*)
325 sharedstatedir="$ac_optarg" ;;
326
327 -site | --site | --sit)
328 ac_prev=site ;;
329 -site=* | --site=* | --sit=*)
330 site="$ac_optarg" ;;
331
332 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
333 ac_prev=srcdir ;;
334 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
335 srcdir="$ac_optarg" ;;
336
337 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
338 | --syscon | --sysco | --sysc | --sys | --sy)
339 ac_prev=sysconfdir ;;
340 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
341 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
342 sysconfdir="$ac_optarg" ;;
343
344 -target | --target | --targe | --targ | --tar | --ta | --t)
345 ac_prev=target ;;
346 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
347 target="$ac_optarg" ;;
348
349 -v | -verbose | --verbose | --verbos | --verbo | --verb)
350 verbose=yes ;;
351
352 -version | --version | --versio | --versi | --vers)
353 echo "configure generated by autoconf version 2.12"
354 exit 0 ;;
355
356 -with-* | --with-*)
357 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
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; }
361 fi
362 ac_package=`echo $ac_package| sed 's/-/_/g'`
363 case "$ac_option" in
364 *=*) ;;
365 *) ac_optarg=yes ;;
366 esac
367 eval "with_${ac_package}='$ac_optarg'" ;;
368
369 -without-* | --without-*)
370 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
371 # Reject names that are not valid shell variable names.
372 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
373 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
374 fi
375 ac_package=`echo $ac_package| sed 's/-/_/g'`
376 eval "with_${ac_package}=no" ;;
377
378 --x)
379 # Obsolete; use --with-x.
380 with_x=yes ;;
381
382 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
383 | --x-incl | --x-inc | --x-in | --x-i)
384 ac_prev=x_includes ;;
385 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
386 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
387 x_includes="$ac_optarg" ;;
388
389 -x-libraries | --x-libraries | --x-librarie | --x-librari \
390 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
391 ac_prev=x_libraries ;;
392 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
393 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
394 x_libraries="$ac_optarg" ;;
395
396 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
397 ;;
398
399 *)
400 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
401 echo "configure: warning: $ac_option: invalid host type" 1>&2
402 fi
403 if test "x$nonopt" != xNONE; then
404 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
405 fi
406 nonopt="$ac_option"
407 ;;
408
409 esac
410done
411
412if test -n "$ac_prev"; then
413 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
414fi
415
416trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
417
418# File descriptor usage:
419# 0 standard input
420# 1 file creation
421# 2 errors and warnings
422# 3 some systems may open it to /dev/tty
423# 4 used on the Kubota Titan
424# 6 checking for... messages and results
425# 5 compiler messages saved in config.log
426if test "$silent" = yes; then
427 exec 6>/dev/null
428else
429 exec 6>&1
430fi
431exec 5>./config.log
432
433echo "\
434This file contains any messages produced by compilers while
435running configure, to aid debugging if configure makes a mistake.
436" 1>&5
437
438# Strip out --no-create and --no-recursion so they do not pile up.
439# Also quote any args containing shell metacharacters.
440ac_configure_args=
441for ac_arg
442do
443 case "$ac_arg" in
444 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
445 | --no-cr | --no-c) ;;
446 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
447 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
448 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
449 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
450 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
451 esac
452done
453
454# NLS nuisances.
455# Only set these to C if already set. These must not be set unconditionally
456# because not all systems understand e.g. LANG=C (notably SCO).
457# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
458# Non-C LC_CTYPE values break the ctype check.
459if test "${LANG+set}" = set; then LANG=C; export LANG; fi
460if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
461if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
462if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
463
464# confdefs.h avoids OS command line length limits that DEFS can exceed.
465rm -rf conftest* confdefs.h
466# AIX cpp loses on an empty file, so make sure it contains at least a newline.
467echo > confdefs.h
468
469# A filename unique to this package, relative to the directory that
470# configure is in, which we can look for to find out if srcdir is correct.
471ac_unique_file=patchlevel.h
472
473# Find the source files, if location was not specified.
474if test -z "$srcdir"; then
475 ac_srcdir_defaulted=yes
476 # Try the directory containing this script, then its parent.
477 ac_prog=$0
478 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
479 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
480 srcdir=$ac_confdir
481 if test ! -r $srcdir/$ac_unique_file; then
482 srcdir=..
483 fi
484else
485 ac_srcdir_defaulted=no
486fi
487if test ! -r $srcdir/$ac_unique_file; then
488 if test "$ac_srcdir_defaulted" = yes; then
489 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
490 else
491 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
492 fi
493fi
494srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
495
496# Prefer explicitly selected file to automatically selected ones.
497if test -z "$CONFIG_SITE"; then
498 if test "x$prefix" != xNONE; then
499 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
500 else
501 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
502 fi
503fi
504for ac_site_file in $CONFIG_SITE; do
505 if test -r "$ac_site_file"; then
506 echo "loading site script $ac_site_file"
507 . "$ac_site_file"
508 fi
509done
510
511if test -r "$cache_file"; then
512 echo "loading cache $cache_file"
513 . $cache_file
514else
515 echo "creating cache $cache_file"
516 > $cache_file
517fi
518
519ac_ext=c
520# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
521ac_cpp='$CPP $CPPFLAGS'
522ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
523ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
524cross_compiling=$ac_cv_prog_cc_cross
525
526if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
527 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
528 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
529 ac_n= ac_c='
530' ac_t=' '
531 else
532 ac_n=-n ac_c= ac_t=
533 fi
534else
535 ac_n= ac_c='\c' ac_t=
536fi
537
538
539
540
541
542
543
544
545
546
547
548# Extract the first word of "gcc", so it can be a program name with args.
549set dummy gcc; ac_word=$2
550echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
551echo "configure:552: checking for $ac_word" >&5
552if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
553 echo $ac_n "(cached) $ac_c" 1>&6
554else
555 if test -n "$CC"; then
556 ac_cv_prog_CC="$CC" # Let the user override the test.
557else
558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
559 for ac_dir in $PATH; do
560 test -z "$ac_dir" && ac_dir=.
561 if test -f $ac_dir/$ac_word; then
562 ac_cv_prog_CC="gcc"
563 break
564 fi
565 done
566 IFS="$ac_save_ifs"
567fi
568fi
569CC="$ac_cv_prog_CC"
570if test -n "$CC"; then
571 echo "$ac_t""$CC" 1>&6
572else
573 echo "$ac_t""no" 1>&6
574fi
575
576if test -z "$CC"; then
577 # Extract the first word of "cc", so it can be a program name with args.
578set dummy cc; ac_word=$2
579echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
580echo "configure:581: checking for $ac_word" >&5
581if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
582 echo $ac_n "(cached) $ac_c" 1>&6
583else
584 if test -n "$CC"; then
585 ac_cv_prog_CC="$CC" # Let the user override the test.
586else
587 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
588 ac_prog_rejected=no
589 for ac_dir in $PATH; do
590 test -z "$ac_dir" && ac_dir=.
591 if test -f $ac_dir/$ac_word; then
592 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
593 ac_prog_rejected=yes
594 continue
595 fi
596 ac_cv_prog_CC="cc"
597 break
598 fi
599 done
600 IFS="$ac_save_ifs"
601if test $ac_prog_rejected = yes; then
602 # We found a bogon in the path, so make sure we never use it.
603 set dummy $ac_cv_prog_CC
604 shift
605 if test $# -gt 0; then
606 # We chose a different compiler from the bogus one.
607 # However, it has the same basename, so the bogon will be chosen
608 # first if we set CC to just the basename; use the full file name.
609 shift
610 set dummy "$ac_dir/$ac_word" "$@"
611 shift
612 ac_cv_prog_CC="$@"
613 fi
614fi
615fi
616fi
617CC="$ac_cv_prog_CC"
618if test -n "$CC"; then
619 echo "$ac_t""$CC" 1>&6
620else
621 echo "$ac_t""no" 1>&6
622fi
623
624 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
625fi
626
627echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
628echo "configure:629: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
629
630ac_ext=c
631# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
632ac_cpp='$CPP $CPPFLAGS'
633ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
634ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
635cross_compiling=$ac_cv_prog_cc_cross
636
637cat > conftest.$ac_ext <<EOF
638#line 639 "configure"
639#include "confdefs.h"
640main(){return(0);}
641EOF
642if { (eval echo configure:643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
643 ac_cv_prog_cc_works=yes
644 # If we can't run a trivial program, we are probably using a cross compiler.
645 if (./conftest; exit) 2>/dev/null; then
646 ac_cv_prog_cc_cross=no
647 else
648 ac_cv_prog_cc_cross=yes
649 fi
650else
651 echo "configure: failed program was:" >&5
652 cat conftest.$ac_ext >&5
653 ac_cv_prog_cc_works=no
654fi
655rm -fr conftest*
656
657echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
658if test $ac_cv_prog_cc_works = no; then
659 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
660fi
661echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
662echo "configure:663: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
663echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
664cross_compiling=$ac_cv_prog_cc_cross
665
666echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
667echo "configure:668: checking whether we are using GNU C" >&5
668if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
669 echo $ac_n "(cached) $ac_c" 1>&6
670else
671 cat > conftest.c <<EOF
672#ifdef __GNUC__
673 yes;
674#endif
675EOF
676if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
677 ac_cv_prog_gcc=yes
678else
679 ac_cv_prog_gcc=no
680fi
681fi
682
683echo "$ac_t""$ac_cv_prog_gcc" 1>&6
684
685if test $ac_cv_prog_gcc = yes; then
686 GCC=yes
687 ac_test_CFLAGS="${CFLAGS+set}"
688 ac_save_CFLAGS="$CFLAGS"
689 CFLAGS=
690 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
691echo "configure:692: checking whether ${CC-cc} accepts -g" >&5
692if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
693 echo $ac_n "(cached) $ac_c" 1>&6
694else
695 echo 'void f(){}' > conftest.c
696if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
697 ac_cv_prog_cc_g=yes
698else
699 ac_cv_prog_cc_g=no
700fi
701rm -f conftest*
702
703fi
704
705echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
706 if test "$ac_test_CFLAGS" = set; then
707 CFLAGS="$ac_save_CFLAGS"
708 elif test $ac_cv_prog_cc_g = yes; then
709 CFLAGS="-g -O2"
710 else
711 CFLAGS="-O2"
712 fi
713else
714 GCC=
715 test "${CFLAGS+set}" = set || CFLAGS="-g"
716fi
717
718ac_aux_dir=
719for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
720 if test -f $ac_dir/install-sh; then
721 ac_aux_dir=$ac_dir
722 ac_install_sh="$ac_aux_dir/install-sh -c"
723 break
724 elif test -f $ac_dir/install.sh; then
725 ac_aux_dir=$ac_dir
726 ac_install_sh="$ac_aux_dir/install.sh -c"
727 break
728 fi
729done
730if test -z "$ac_aux_dir"; then
731 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
732fi
733ac_config_guess=$ac_aux_dir/config.guess
734ac_config_sub=$ac_aux_dir/config.sub
735ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
736
737# Find a good install program. We prefer a C program (faster),
738# so one script is as good as another. But avoid the broken or
739# incompatible versions:
740# SysV /etc/install, /usr/sbin/install
741# SunOS /usr/etc/install
742# IRIX /sbin/install
743# AIX /bin/install
744# AFS /usr/afsws/bin/install, which mishandles nonexistent args
745# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
746# ./install, which can be erroneously created by make from ./install.sh.
747echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
748echo "configure:749: checking for a BSD compatible install" >&5
749if test -z "$INSTALL"; then
750if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
751 echo $ac_n "(cached) $ac_c" 1>&6
752else
753 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
754 for ac_dir in $PATH; do
755 # Account for people who put trailing slashes in PATH elements.
756 case "$ac_dir/" in
757 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
758 *)
759 # OSF1 and SCO ODT 3.0 have their own names for install.
760 for ac_prog in ginstall installbsd scoinst install; do
761 if test -f $ac_dir/$ac_prog; then
762 if test $ac_prog = install &&
763 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
764 # AIX install. It has an incompatible calling convention.
765 # OSF/1 installbsd also uses dspmsg, but is usable.
766 :
767 else
768 ac_cv_path_install="$ac_dir/$ac_prog -c"
769 break 2
770 fi
771 fi
772 done
773 ;;
774 esac
775 done
776 IFS="$ac_save_IFS"
777
778fi
779 if test "${ac_cv_path_install+set}" = set; then
780 INSTALL="$ac_cv_path_install"
781 else
782 # As a last resort, use the slow shell script. We don't cache a
783 # path for INSTALL within a source directory, because that will
784 # break other packages using the cache if that directory is
785 # removed, or if the path is relative.
786 INSTALL="$ac_install_sh"
787 fi
788fi
789echo "$ac_t""$INSTALL" 1>&6
790
791# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
792# It thinks the first close brace ends the variable substitution.
793test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
794
795test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
796
797# Extract the first word of "ranlib", so it can be a program name with args.
798set dummy ranlib; ac_word=$2
799echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
800echo "configure:801: checking for $ac_word" >&5
801if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
802 echo $ac_n "(cached) $ac_c" 1>&6
803else
804 if test -n "$RANLIB"; then
805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
806else
807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
808 for ac_dir in $PATH; do
809 test -z "$ac_dir" && ac_dir=.
810 if test -f $ac_dir/$ac_word; then
811 ac_cv_prog_RANLIB="ranlib"
812 break
813 fi
814 done
815 IFS="$ac_save_ifs"
816 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
817fi
818fi
819RANLIB="$ac_cv_prog_RANLIB"
820if test -n "$RANLIB"; then
821 echo "$ac_t""$RANLIB" 1>&6
822else
823 echo "$ac_t""no" 1>&6
824fi
825
826echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
827echo "configure:828: checking whether ${MAKE-make} sets \${MAKE}" >&5
828set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
829if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
830 echo $ac_n "(cached) $ac_c" 1>&6
831else
832 cat > conftestmake <<\EOF
833all:
834 @echo 'ac_maketemp="${MAKE}"'
835EOF
836# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
837eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
838if test -n "$ac_maketemp"; then
839 eval ac_cv_prog_make_${ac_make}_set=yes
840else
841 eval ac_cv_prog_make_${ac_make}_set=no
842fi
843rm -f conftestmake
844fi
845if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
846 echo "$ac_t""yes" 1>&6
847 SET_MAKE=
848else
849 echo "$ac_t""no" 1>&6
850 SET_MAKE="MAKE=${MAKE-make}"
851fi
852
853
854if test "$athena" = true; then
855 enable_athena=yes
856 with_readline=/mit/gnu
857 prefix=/afs/athena.mit.edu/system/moira
858 bindir=$prefix/arch/$ATHENA_SYS/bin
859 sbindir=$bindir
860fi
861
862# We currently just don't support changing this
863mrbindir=/moira/bin
864
865
866# Athena-local policy decisions
867echo $ac_n "checking for Athena""... $ac_c" 1>&6
868echo "configure:869: checking for Athena" >&5
869# Check whether --enable-athena or --disable-athena was given.
870if test "${enable_athena+set}" = set; then
871 enableval="$enable_athena"
872 :
873else
874 if test "$athena" = true; then
875 enableval=yes
876 else
877 enableval=no
878 fi
879fi
880
881echo "$ac_t""$enableval" 1>&6
882if test "$enableval" = yes; then
883
884 cat >> confdefs.h <<\EOF
885#define ATHENA 1
886EOF
887
888
889 case $PRO_C_DEFS in
890 *DEFINE=ATHENA*) ;;
891 *) PRO_C_DEFS=DEFINE=ATHENA\ $PRO_C_DEFS ;;
892 esac
893
894
895fi
896
897# Networking libraries
898echo "checking network libraries..." 1>&6
899echo "configure:900: checking network libraries..." >&5
900echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
901echo "configure:902: checking for gethostbyname" >&5
902if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
903 echo $ac_n "(cached) $ac_c" 1>&6
904else
905 cat > conftest.$ac_ext <<EOF
906#line 907 "configure"
907#include "confdefs.h"
908/* System header to define __stub macros and hopefully few prototypes,
909 which can conflict with char gethostbyname(); below. */
910#include <assert.h>
911/* Override any gcc2 internal prototype to avoid an error. */
912/* We use char because int might match the return type of a gcc2
913 builtin and then its argument prototype would still apply. */
914char gethostbyname();
915
916int main() {
917
918/* The GNU C library defines this for functions which it implements
919 to always fail with ENOSYS. Some functions are actually named
920 something starting with __ and the normal name is an alias. */
921#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
922choke me
923#else
924gethostbyname();
925#endif
926
927; return 0; }
928EOF
929if { (eval echo configure:930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
930 rm -rf conftest*
931 eval "ac_cv_func_gethostbyname=yes"
932else
933 echo "configure: failed program was:" >&5
934 cat conftest.$ac_ext >&5
935 rm -rf conftest*
936 eval "ac_cv_func_gethostbyname=no"
937fi
938rm -f conftest*
939fi
940
941if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
942 echo "$ac_t""yes" 1>&6
943 :
944else
945 echo "$ac_t""no" 1>&6
946echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
947echo "configure:948: checking for gethostbyname in -lnsl" >&5
948ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
949if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
950 echo $ac_n "(cached) $ac_c" 1>&6
951else
952 ac_save_LIBS="$LIBS"
953LIBS="-lnsl $LIBS"
954cat > conftest.$ac_ext <<EOF
955#line 956 "configure"
956#include "confdefs.h"
957/* Override any gcc2 internal prototype to avoid an error. */
958/* We use char because int might match the return type of a gcc2
959 builtin and then its argument prototype would still apply. */
960char gethostbyname();
961
962int main() {
963gethostbyname()
964; return 0; }
965EOF
966if { (eval echo configure:967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
967 rm -rf conftest*
968 eval "ac_cv_lib_$ac_lib_var=yes"
969else
970 echo "configure: failed program was:" >&5
971 cat conftest.$ac_ext >&5
972 rm -rf conftest*
973 eval "ac_cv_lib_$ac_lib_var=no"
974fi
975rm -f conftest*
976LIBS="$ac_save_LIBS"
977
978fi
979if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
980 echo "$ac_t""yes" 1>&6
981 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
982 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
983 cat >> confdefs.h <<EOF
984#define $ac_tr_lib 1
985EOF
986
987 LIBS="-lnsl $LIBS"
988
989else
990 echo "$ac_t""no" 1>&6
991echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6
992echo "configure:993: checking for gethostbyname in -lresolv" >&5
993ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'`
994if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
995 echo $ac_n "(cached) $ac_c" 1>&6
996else
997 ac_save_LIBS="$LIBS"
998LIBS="-lresolv $LIBS"
999cat > conftest.$ac_ext <<EOF
1000#line 1001 "configure"
1001#include "confdefs.h"
1002/* Override any gcc2 internal prototype to avoid an error. */
1003/* We use char because int might match the return type of a gcc2
1004 builtin and then its argument prototype would still apply. */
1005char gethostbyname();
1006
1007int main() {
1008gethostbyname()
1009; return 0; }
1010EOF
1011if { (eval echo configure:1012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1012 rm -rf conftest*
1013 eval "ac_cv_lib_$ac_lib_var=yes"
1014else
1015 echo "configure: failed program was:" >&5
1016 cat conftest.$ac_ext >&5
1017 rm -rf conftest*
1018 eval "ac_cv_lib_$ac_lib_var=no"
1019fi
1020rm -f conftest*
1021LIBS="$ac_save_LIBS"
1022
1023fi
1024if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1025 echo "$ac_t""yes" 1>&6
1026 ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/^a-zA-Z0-9_/_/g' \
1027 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1028 cat >> confdefs.h <<EOF
1029#define $ac_tr_lib 1
1030EOF
1031
1032 LIBS="-lresolv $LIBS"
1033
1034else
1035 echo "$ac_t""no" 1>&6
1036fi
1037
1038fi
1039
1040fi
1041
1042echo $ac_n "checking for socket""... $ac_c" 1>&6
1043echo "configure:1044: checking for socket" >&5
1044if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
1045 echo $ac_n "(cached) $ac_c" 1>&6
1046else
1047 cat > conftest.$ac_ext <<EOF
1048#line 1049 "configure"
1049#include "confdefs.h"
1050/* System header to define __stub macros and hopefully few prototypes,
1051 which can conflict with char socket(); below. */
1052#include <assert.h>
1053/* Override any gcc2 internal prototype to avoid an error. */
1054/* We use char because int might match the return type of a gcc2
1055 builtin and then its argument prototype would still apply. */
1056char socket();
1057
1058int main() {
1059
1060/* The GNU C library defines this for functions which it implements
1061 to always fail with ENOSYS. Some functions are actually named
1062 something starting with __ and the normal name is an alias. */
1063#if defined (__stub_socket) || defined (__stub___socket)
1064choke me
1065#else
1066socket();
1067#endif
1068
1069; return 0; }
1070EOF
1071if { (eval echo configure:1072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1072 rm -rf conftest*
1073 eval "ac_cv_func_socket=yes"
1074else
1075 echo "configure: failed program was:" >&5
1076 cat conftest.$ac_ext >&5
1077 rm -rf conftest*
1078 eval "ac_cv_func_socket=no"
1079fi
1080rm -f conftest*
1081fi
1082
1083if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
1084 echo "$ac_t""yes" 1>&6
1085 :
1086else
1087 echo "$ac_t""no" 1>&6
1088echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
1089echo "configure:1090: checking for socket in -lsocket" >&5
1090ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
1091if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1092 echo $ac_n "(cached) $ac_c" 1>&6
1093else
1094 ac_save_LIBS="$LIBS"
1095LIBS="-lsocket $LIBS"
1096cat > conftest.$ac_ext <<EOF
1097#line 1098 "configure"
1098#include "confdefs.h"
1099/* Override any gcc2 internal prototype to avoid an error. */
1100/* We use char because int might match the return type of a gcc2
1101 builtin and then its argument prototype would still apply. */
1102char socket();
1103
1104int main() {
1105socket()
1106; return 0; }
1107EOF
1108if { (eval echo configure:1109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1109 rm -rf conftest*
1110 eval "ac_cv_lib_$ac_lib_var=yes"
1111else
1112 echo "configure: failed program was:" >&5
1113 cat conftest.$ac_ext >&5
1114 rm -rf conftest*
1115 eval "ac_cv_lib_$ac_lib_var=no"
1116fi
1117rm -f conftest*
1118LIBS="$ac_save_LIBS"
1119
1120fi
1121if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1122 echo "$ac_t""yes" 1>&6
1123 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
1124 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1125 cat >> confdefs.h <<EOF
1126#define $ac_tr_lib 1
1127EOF
1128
1129 LIBS="-lsocket $LIBS"
1130
1131else
1132 echo "$ac_t""no" 1>&6
1133echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
1134echo "configure:1135: checking for socket in -lsocket" >&5
1135ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
1136if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1137 echo $ac_n "(cached) $ac_c" 1>&6
1138else
1139 ac_save_LIBS="$LIBS"
1140LIBS="-lsocket -lnsl $LIBS"
1141cat > conftest.$ac_ext <<EOF
1142#line 1143 "configure"
1143#include "confdefs.h"
1144/* Override any gcc2 internal prototype to avoid an error. */
1145/* We use char because int might match the return type of a gcc2
1146 builtin and then its argument prototype would still apply. */
1147char socket();
1148
1149int main() {
1150socket()
1151; return 0; }
1152EOF
1153if { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1154 rm -rf conftest*
1155 eval "ac_cv_lib_$ac_lib_var=yes"
1156else
1157 echo "configure: failed program was:" >&5
1158 cat conftest.$ac_ext >&5
1159 rm -rf conftest*
1160 eval "ac_cv_lib_$ac_lib_var=no"
1161fi
1162rm -f conftest*
1163LIBS="$ac_save_LIBS"
1164
1165fi
1166if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1167 echo "$ac_t""yes" 1>&6
1168 LIBS="-lsocket -lnsl $LIBS"
1169else
1170 echo "$ac_t""no" 1>&6
1171:
1172fi
1173
1174fi
1175
1176fi
1177
1178
1179# com_err (required, but can be built)
1180echo $ac_n "checking for com_err""... $ac_c" 1>&6
1181echo "configure:1182: checking for com_err" >&5
1182# Check whether --with-com_err or --without-com_err was given.
1183if test "${with_com_err+set}" = set; then
1184 withval="$with_com_err"
1185 echo "$ac_t""$withval" 1>&6
1186 if test $withval = "no"; then
1187 { echo "configure: error: com_err is required for Moira" 1>&2; exit 1; }
1188 fi
1189 if test $withval != "yes"; then
1190
1191
1192 case $CPPFLAGS in
1193 *-I$withval/include*) ;;
1194 *) CPPFLAGS=-I$withval/include\ $CPPFLAGS ;;
1195 esac
1196
1197
1198 case $PRO_C_INCLUDES in
1199 *INCLUDE=$withval/include*) ;;
1200 *) PRO_C_INCLUDES=INCLUDE=$withval/include\ $PRO_C_INCLUDES ;;
1201 esac
1202
1203
1204
1205 case $LIBPATH in
1206 *-L$withval/lib*) ;;
1207 *) LIBPATH=-L$withval/lib\ $LIBPATH ;;
1208 esac
1209
1210 fi
1211 COMPILE_ET=compile_et
1212else
1213 echo "$ac_t""util/et" 1>&6
1214 COM_ERR_SUBDIR=util/et;
1215
1216
1217 case $CPPFLAGS in
1218 *-I`pwd`/util/et*) ;;
1219 *) CPPFLAGS=-I`pwd`/util/et\ $CPPFLAGS ;;
1220 esac
1221
1222
1223 case $PRO_C_INCLUDES in
1224 *INCLUDE=`pwd`/util/et*) ;;
1225 *) PRO_C_INCLUDES=INCLUDE=`pwd`/util/et\ $PRO_C_INCLUDES ;;
1226 esac
1227
1228
1229
1230 case $LIBPATH in
1231 *-L`pwd`/util/et*) ;;
1232 *) LIBPATH=-L`pwd`/util/et\ $LIBPATH ;;
1233 esac
1234
1235 COMPILE_ET=`pwd`/util/et/compile_et
1236 subdirs="$COM_ERR_SUBDIR"
1237
1238fi
1239
1240
1241
1242
1243# Kerberos (required)
1244echo $ac_n "checking for Kerberos 4""... $ac_c" 1>&6
1245echo "configure:1246: checking for Kerberos 4" >&5
1246# Check whether --with-krb4 or --without-krb4 was given.
1247if test "${with_krb4+set}" = set; then
1248 withval="$with_krb4"
1249 krb4="$withval"
1250else
1251 krb4=no
1252fi
1253
1254echo "$ac_t""$krb4" 1>&6
1255if test $krb4 = "no"; then
1256 { echo "configure: error: Kerberos is required for Moira" 1>&2; exit 1; }
1257fi
1258if test "$krb4" != yes; then
1259
1260
1261 case $CPPFLAGS in
1262 *-I$krb4/include*) ;;
1263 *) CPPFLAGS=-I$krb4/include\ $CPPFLAGS ;;
1264 esac
1265
1266
1267 case $PRO_C_INCLUDES in
1268 *INCLUDE=$krb4/include*) ;;
1269 *) PRO_C_INCLUDES=INCLUDE=$krb4/include\ $PRO_C_INCLUDES ;;
1270 esac
1271
1272
1273 if test -d "$krb4/include/kerberosIV"; then
1274
1275
1276 case $CPPFLAGS in
1277 *-I$krb4/include/kerberosIV*) ;;
1278 *) CPPFLAGS=-I$krb4/include/kerberosIV\ $CPPFLAGS ;;
1279 esac
1280
1281
1282 case $PRO_C_INCLUDES in
1283 *INCLUDE=$krb4/include/kerberosIV*) ;;
1284 *) PRO_C_INCLUDES=INCLUDE=$krb4/include/kerberosIV\ $PRO_C_INCLUDES ;;
1285 esac
1286
1287
1288 fi
1289
1290 case $LIBPATH in
1291 *-L$krb4/lib*) ;;
1292 *) LIBPATH=-L$krb4/lib\ $LIBPATH ;;
1293 esac
1294
1295elif test -d /usr/include/kerberosIV; then
1296
1297
1298 case $CPPFLAGS in
1299 *-I/usr/include/kerberosIV*) ;;
1300 *) CPPFLAGS=-I/usr/include/kerberosIV\ $CPPFLAGS ;;
1301 esac
1302
1303
1304 case $PRO_C_INCLUDES in
1305 *INCLUDE=/usr/include/kerberosIV*) ;;
1306 *) PRO_C_INCLUDES=INCLUDE=/usr/include/kerberosIV\ $PRO_C_INCLUDES ;;
1307 esac
1308
1309
1310fi
1311echo $ac_n "checking for krb_rd_req in -lkrb4""... $ac_c" 1>&6
1312echo "configure:1313: checking for krb_rd_req in -lkrb4" >&5
1313ac_lib_var=`echo krb4'_'krb_rd_req | sed 'y%./+-%__p_%'`
1314if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1315 echo $ac_n "(cached) $ac_c" 1>&6
1316else
1317 ac_save_LIBS="$LIBS"
1318LIBS="-lkrb4 $LIBPATH -ldes425 -lkrb5 -lcrypto $LIBS"
1319cat > conftest.$ac_ext <<EOF
1320#line 1321 "configure"
1321#include "confdefs.h"
1322/* Override any gcc2 internal prototype to avoid an error. */
1323/* We use char because int might match the return type of a gcc2
1324 builtin and then its argument prototype would still apply. */
1325char krb_rd_req();
1326
1327int main() {
1328krb_rd_req()
1329; return 0; }
1330EOF
1331if { (eval echo configure:1332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1332 rm -rf conftest*
1333 eval "ac_cv_lib_$ac_lib_var=yes"
1334else
1335 echo "configure: failed program was:" >&5
1336 cat conftest.$ac_ext >&5
1337 rm -rf conftest*
1338 eval "ac_cv_lib_$ac_lib_var=no"
1339fi
1340rm -f conftest*
1341LIBS="$ac_save_LIBS"
1342
1343fi
1344if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1345 echo "$ac_t""yes" 1>&6
1346 KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto"
1347else
1348 echo "$ac_t""no" 1>&6
1349echo $ac_n "checking for krb_rd_req in -lkrb""... $ac_c" 1>&6
1350echo "configure:1351: checking for krb_rd_req in -lkrb" >&5
1351ac_lib_var=`echo krb'_'krb_rd_req | sed 'y%./+-%__p_%'`
1352if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1353 echo $ac_n "(cached) $ac_c" 1>&6
1354else
1355 ac_save_LIBS="$LIBS"
1356LIBS="-lkrb $LIBPATH -ldes $LIBS"
1357cat > conftest.$ac_ext <<EOF
1358#line 1359 "configure"
1359#include "confdefs.h"
1360/* Override any gcc2 internal prototype to avoid an error. */
1361/* We use char because int might match the return type of a gcc2
1362 builtin and then its argument prototype would still apply. */
1363char krb_rd_req();
1364
1365int main() {
1366krb_rd_req()
1367; return 0; }
1368EOF
1369if { (eval echo configure:1370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1370 rm -rf conftest*
1371 eval "ac_cv_lib_$ac_lib_var=yes"
1372else
1373 echo "configure: failed program was:" >&5
1374 cat conftest.$ac_ext >&5
1375 rm -rf conftest*
1376 eval "ac_cv_lib_$ac_lib_var=no"
1377fi
1378rm -f conftest*
1379LIBS="$ac_save_LIBS"
1380
1381fi
1382if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1383 echo "$ac_t""yes" 1>&6
1384 KRB4_LIBS="-lkrb -ldes"
1385else
1386 echo "$ac_t""no" 1>&6
1387{ echo "configure: error: Kerberos 4 libraries not found" 1>&2; exit 1; }
1388fi
1389
1390fi
1391
1392
1393# Hesiod support
1394echo $ac_n "checking for Hesiod""... $ac_c" 1>&6
1395echo "configure:1396: checking for Hesiod" >&5
1396# Check whether --with-hesiod or --without-hesiod was given.
1397if test "${with_hesiod+set}" = set; then
1398 withval="$with_hesiod"
1399 hesiod="$withval"
1400else
1401 hesiod=no
1402fi
1403
1404echo "$ac_t""$hesiod" 1>&6
1405if test "$hesiod" != no; then
1406 if test "$hesiod" != yes; then
1407
1408
1409 case $CPPFLAGS in
1410 *-I$hesiod/include*) ;;
1411 *) CPPFLAGS=-I$hesiod/include\ $CPPFLAGS ;;
1412 esac
1413
1414
1415 case $PRO_C_INCLUDES in
1416 *INCLUDE=$hesiod/include*) ;;
1417 *) PRO_C_INCLUDES=INCLUDE=$hesiod/include\ $PRO_C_INCLUDES ;;
1418 esac
1419
1420
1421
1422 case $LIBPATH in
1423 *-L$hesiod/lib*) ;;
1424 *) LIBPATH=-L$hesiod/lib\ $LIBPATH ;;
1425 esac
1426
1427 fi
1428 echo $ac_n "checking for res_send""... $ac_c" 1>&6
1429echo "configure:1430: checking for res_send" >&5
1430if eval "test \"`echo '$''{'ac_cv_func_res_send'+set}'`\" = set"; then
1431 echo $ac_n "(cached) $ac_c" 1>&6
1432else
1433 cat > conftest.$ac_ext <<EOF
1434#line 1435 "configure"
1435#include "confdefs.h"
1436/* System header to define __stub macros and hopefully few prototypes,
1437 which can conflict with char res_send(); below. */
1438#include <assert.h>
1439/* Override any gcc2 internal prototype to avoid an error. */
1440/* We use char because int might match the return type of a gcc2
1441 builtin and then its argument prototype would still apply. */
1442char res_send();
1443
1444int main() {
1445
1446/* The GNU C library defines this for functions which it implements
1447 to always fail with ENOSYS. Some functions are actually named
1448 something starting with __ and the normal name is an alias. */
1449#if defined (__stub_res_send) || defined (__stub___res_send)
1450choke me
1451#else
1452res_send();
1453#endif
1454
1455; return 0; }
1456EOF
1457if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1458 rm -rf conftest*
1459 eval "ac_cv_func_res_send=yes"
1460else
1461 echo "configure: failed program was:" >&5
1462 cat conftest.$ac_ext >&5
1463 rm -rf conftest*
1464 eval "ac_cv_func_res_send=no"
1465fi
1466rm -f conftest*
1467fi
1468
1469if eval "test \"`echo '$ac_cv_func_'res_send`\" = yes"; then
1470 echo "$ac_t""yes" 1>&6
1471 :
1472else
1473 echo "$ac_t""no" 1>&6
1474echo $ac_n "checking for res_send in -lresolv""... $ac_c" 1>&6
1475echo "configure:1476: checking for res_send in -lresolv" >&5
1476ac_lib_var=`echo resolv'_'res_send | sed 'y%./+-%__p_%'`
1477if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1478 echo $ac_n "(cached) $ac_c" 1>&6
1479else
1480 ac_save_LIBS="$LIBS"
1481LIBS="-lresolv $LIBS"
1482cat > conftest.$ac_ext <<EOF
1483#line 1484 "configure"
1484#include "confdefs.h"
1485/* Override any gcc2 internal prototype to avoid an error. */
1486/* We use char because int might match the return type of a gcc2
1487 builtin and then its argument prototype would still apply. */
1488char res_send();
1489
1490int main() {
1491res_send()
1492; return 0; }
1493EOF
1494if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1495 rm -rf conftest*
1496 eval "ac_cv_lib_$ac_lib_var=yes"
1497else
1498 echo "configure: failed program was:" >&5
1499 cat conftest.$ac_ext >&5
1500 rm -rf conftest*
1501 eval "ac_cv_lib_$ac_lib_var=no"
1502fi
1503rm -f conftest*
1504LIBS="$ac_save_LIBS"
1505
1506fi
1507if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1508 echo "$ac_t""yes" 1>&6
1509 ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/^a-zA-Z0-9_/_/g' \
1510 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1511 cat >> confdefs.h <<EOF
1512#define $ac_tr_lib 1
1513EOF
1514
1515 LIBS="-lresolv $LIBS"
1516
1517else
1518 echo "$ac_t""no" 1>&6
1519fi
1520
1521fi
1522
1523 echo $ac_n "checking for hes_resolve in -lhesiod""... $ac_c" 1>&6
1524echo "configure:1525: checking for hes_resolve in -lhesiod" >&5
1525ac_lib_var=`echo hesiod'_'hes_resolve | sed 'y%./+-%__p_%'`
1526if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1527 echo $ac_n "(cached) $ac_c" 1>&6
1528else
1529 ac_save_LIBS="$LIBS"
1530LIBS="-lhesiod $LIBPATH $LIBS $LIBS"
1531cat > conftest.$ac_ext <<EOF
1532#line 1533 "configure"
1533#include "confdefs.h"
1534/* Override any gcc2 internal prototype to avoid an error. */
1535/* We use char because int might match the return type of a gcc2
1536 builtin and then its argument prototype would still apply. */
1537char hes_resolve();
1538
1539int main() {
1540hes_resolve()
1541; return 0; }
1542EOF
1543if { (eval echo configure:1544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1544 rm -rf conftest*
1545 eval "ac_cv_lib_$ac_lib_var=yes"
1546else
1547 echo "configure: failed program was:" >&5
1548 cat conftest.$ac_ext >&5
1549 rm -rf conftest*
1550 eval "ac_cv_lib_$ac_lib_var=no"
1551fi
1552rm -f conftest*
1553LIBS="$ac_save_LIBS"
1554
1555fi
1556if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1557 echo "$ac_t""yes" 1>&6
1558 :
1559else
1560 echo "$ac_t""no" 1>&6
1561{ echo "configure: error: Hesiod library not found" 1>&2; exit 1; }
1562fi
1563
1564
1565 cat >> confdefs.h <<\EOF
1566#define HAVE_HESIOD 1
1567EOF
1568
1569
1570 case $PRO_C_DEFS in
1571 *DEFINE=HAVE_HESIOD*) ;;
1572 *) PRO_C_DEFS=DEFINE=HAVE_HESIOD\ $PRO_C_DEFS ;;
1573 esac
1574
1575
1576fi
1577
1578# Zephyr support
1579echo $ac_n "checking for Zephyr""... $ac_c" 1>&6
1580echo "configure:1581: checking for Zephyr" >&5
1581# Check whether --with-zephyr or --without-zephyr was given.
1582if test "${with_zephyr+set}" = set; then
1583 withval="$with_zephyr"
1584 zephyr="$withval"
1585else
1586 zephyr=no
1587fi
1588
1589echo "$ac_t""$zephyr" 1>&6
1590if test "$zephyr" != no; then
1591 if test "$zephyr" != yes; then
1592
1593
1594 case $CPPFLAGS in
1595 *-I$zephyr/include*) ;;
1596 *) CPPFLAGS=-I$zephyr/include\ $CPPFLAGS ;;
1597 esac
1598
1599
1600 case $PRO_C_INCLUDES in
1601 *INCLUDE=$zephyr/include*) ;;
1602 *) PRO_C_INCLUDES=INCLUDE=$zephyr/include\ $PRO_C_INCLUDES ;;
1603 esac
1604
1605
1606
1607 case $LIBPATH in
1608 *-L$zephyr/lib*) ;;
1609 *) LIBPATH=-L$zephyr/lib\ $LIBPATH ;;
1610 esac
1611
1612 fi
1613 echo $ac_n "checking for ZInitialize in -lzephyr""... $ac_c" 1>&6
1614echo "configure:1615: checking for ZInitialize in -lzephyr" >&5
1615ac_lib_var=`echo zephyr'_'ZInitialize | sed 'y%./+-%__p_%'`
1616if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1617 echo $ac_n "(cached) $ac_c" 1>&6
1618else
1619 ac_save_LIBS="$LIBS"
1620LIBS="-lzephyr $LIBPATH $KRB4_LIBS -lcom_err $LIBS"
1621cat > conftest.$ac_ext <<EOF
1622#line 1623 "configure"
1623#include "confdefs.h"
1624/* Override any gcc2 internal prototype to avoid an error. */
1625/* We use char because int might match the return type of a gcc2
1626 builtin and then its argument prototype would still apply. */
1627char ZInitialize();
1628
1629int main() {
1630ZInitialize()
1631; return 0; }
1632EOF
1633if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1634 rm -rf conftest*
1635 eval "ac_cv_lib_$ac_lib_var=yes"
1636else
1637 echo "configure: failed program was:" >&5
1638 cat conftest.$ac_ext >&5
1639 rm -rf conftest*
1640 eval "ac_cv_lib_$ac_lib_var=no"
1641fi
1642rm -f conftest*
1643LIBS="$ac_save_LIBS"
1644
1645fi
1646if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1647 echo "$ac_t""yes" 1>&6
1648 :
1649else
1650 echo "$ac_t""no" 1>&6
1651{ echo "configure: error: Zephyr library not found" 1>&2; exit 1; }
1652fi
1653
1654
1655 cat >> confdefs.h <<\EOF
1656#define HAVE_ZEPHYR 1
1657EOF
1658
1659
1660 case $PRO_C_DEFS in
1661 *DEFINE=HAVE_ZEPHYR*) ;;
1662 *) PRO_C_DEFS=DEFINE=HAVE_ZEPHYR\ $PRO_C_DEFS ;;
1663 esac
1664
1665
1666fi
1667
1668# GDSS support (default: build util/gdss if present)
1669echo $ac_n "checking for GDSS""... $ac_c" 1>&6
1670echo "configure:1671: checking for GDSS" >&5
1671# Check whether --with-gdss or --without-gdss was given.
1672if test "${with_gdss+set}" = set; then
1673 withval="$with_gdss"
1674 gdss="$withval"
1675 GDSS_CPPFLAGS="-I$gdss/include"
1676 GDSS_LIBS="-L$gdss/lib -lgdss"
1677else
1678 if test -d $srcdir/util/gdss; then
1679 gdss=$srcdir/util/gdss
1680 GDSS_SUBDIR=util/gdss
1681 GDSS_OUTPUT_FILES="util/gdss/Makefile util/gdss/lib/Makefile \
1682 util/gdss/lib/crypto/Makefile util/gdss/lib/crypto/bignum/Makefile \
1683 util/gdss/lib/crypto/algorithm/Makefile"
1684 # autoconf can't deal with creating util/gdss if util doesn't exist
1685 if test ! -d util; then
1686 mkdir util
1687 fi
1688 GDSS_CPPFLGAS="-I$gdss/include"
1689 GDSS_LIBS='-L$(BUILDTOP)/util/gdss/lib -lgdss'
1690 else
1691 gdss=no
1692 fi
1693fi
1694
1695echo "$ac_t""$gdss" 1>&6
1696if test "$gdss" != no; then
1697 GDSS_OBJS='$(GDSS_OBJS)'
1698 GDSS_CFILES='$(GDSS_CFILES)'
1699 GDSS_TARGET='$(GDSS_TARGET)'
1700
1701 cat >> confdefs.h <<\EOF
1702#define HAVE_GDSS 1
1703EOF
1704
1705
1706 case $PRO_C_DEFS in
1707 *DEFINE=HAVE_GDSS*) ;;
1708 *) PRO_C_DEFS=DEFINE=HAVE_GDSS\ $PRO_C_DEFS ;;
1709 esac
1710
1711
1712fi
1713
1714
1715
1716
1717
1718
1719
bbdb0564 1720# Oracle (default: yes, if $ORACLE_HOME is set)
ea0caf4a 1721echo $ac_n "checking for Oracle""... $ac_c" 1>&6
1722echo "configure:1723: checking for Oracle" >&5
1723# Check whether --with-oracle or --without-oracle was given.
1724if test "${with_oracle+set}" = set; then
1725 withval="$with_oracle"
1726 oracle="$withval"
1727else
bbdb0564 1728 if test -n "$ORACLE_HOME" -a -d "$ORACLE_HOME"; then
1729 oracle=$ORACLE_HOME
ea0caf4a 1730 else
1731 oracle=no
1732 fi
1733fi
1734
1735echo "$ac_t""$oracle" 1>&6
1736if test "$oracle" != no; then
1737 SQL_LIBS="-L$oracle/lib -lsql $oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcore -lm"
1738 SVRSUBDIRS='$(SVRDIRS)'
1739 SERVER_OUTPUT_FILES="db/Makefile server/Makefile afssync/Makefile backup/Makefile dbck/Makefile dcm/Makefile gen/Makefile incremental/Makefile reg_svr/Makefile regtape/Makefile"
1740 PRO_C=$oracle/bin/proc
1741 PRO_C_OPTS=CODE=ANSI_C
1742fi
1743
1744
1745
1746
1747
1748
1749
1750# AFS support
1751echo $ac_n "checking for AFS""... $ac_c" 1>&6
1752echo "configure:1753: checking for AFS" >&5
1753# Check whether --with-afs or --without-afs was given.
1754if test "${with_afs+set}" = set; then
1755 withval="$with_afs"
1756 afs="$withval"
1757else
1758 afs=no
1759fi
1760
1761echo "$ac_t""$afs" 1>&6
1762if test "$afs" != no -a "$oracle" != no; then
1763 if test "$afs" != yes; then
1764 AFS_CPPFLAGS="-I$afs/include -I$afs/include/afs -I$afs/include/rx"
1765 AFS_PRO_C_INCLUDES="INCLUDE=$afs/include INCLUDE=$afs/include/afs INCLUDE=$afs/include/rx"
1766 AFS_LIBS="-L$afs/lib -L$afs/lib/afs"
1767 AFS_DIR=$afs
1768 fi
1769 echo $ac_n "checking for insque""... $ac_c" 1>&6
1770echo "configure:1771: checking for insque" >&5
1771if eval "test \"`echo '$''{'ac_cv_func_insque'+set}'`\" = set"; then
1772 echo $ac_n "(cached) $ac_c" 1>&6
1773else
1774 cat > conftest.$ac_ext <<EOF
1775#line 1776 "configure"
1776#include "confdefs.h"
1777/* System header to define __stub macros and hopefully few prototypes,
1778 which can conflict with char insque(); below. */
1779#include <assert.h>
1780/* Override any gcc2 internal prototype to avoid an error. */
1781/* We use char because int might match the return type of a gcc2
1782 builtin and then its argument prototype would still apply. */
1783char insque();
1784
1785int main() {
1786
1787/* The GNU C library defines this for functions which it implements
1788 to always fail with ENOSYS. Some functions are actually named
1789 something starting with __ and the normal name is an alias. */
1790#if defined (__stub_insque) || defined (__stub___insque)
1791choke me
1792#else
1793insque();
1794#endif
1795
1796; return 0; }
1797EOF
1798if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1799 rm -rf conftest*
1800 eval "ac_cv_func_insque=yes"
1801else
1802 echo "configure: failed program was:" >&5
1803 cat conftest.$ac_ext >&5
1804 rm -rf conftest*
1805 eval "ac_cv_func_insque=no"
1806fi
1807rm -f conftest*
1808fi
1809
1810if eval "test \"`echo '$ac_cv_func_'insque`\" = yes"; then
1811 echo "$ac_t""yes" 1>&6
1812 :
1813else
1814 echo "$ac_t""no" 1>&6
1815echo $ac_n "checking for insque in -lcompat""... $ac_c" 1>&6
1816echo "configure:1817: checking for insque in -lcompat" >&5
1817ac_lib_var=`echo compat'_'insque | sed 'y%./+-%__p_%'`
1818if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1819 echo $ac_n "(cached) $ac_c" 1>&6
1820else
1821 ac_save_LIBS="$LIBS"
1822LIBS="-lcompat $LIBS"
1823cat > conftest.$ac_ext <<EOF
1824#line 1825 "configure"
1825#include "confdefs.h"
1826/* Override any gcc2 internal prototype to avoid an error. */
1827/* We use char because int might match the return type of a gcc2
1828 builtin and then its argument prototype would still apply. */
1829char insque();
1830
1831int main() {
1832insque()
1833; return 0; }
1834EOF
1835if { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1836 rm -rf conftest*
1837 eval "ac_cv_lib_$ac_lib_var=yes"
1838else
1839 echo "configure: failed program was:" >&5
1840 cat conftest.$ac_ext >&5
1841 rm -rf conftest*
1842 eval "ac_cv_lib_$ac_lib_var=no"
1843fi
1844rm -f conftest*
1845LIBS="$ac_save_LIBS"
1846
1847fi
1848if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1849 echo "$ac_t""yes" 1>&6
1850 AFS_EXTRA_LIBS="-lcompat"
1851else
1852 echo "$ac_t""no" 1>&6
1853{ echo "configure: error: insque not found" 1>&2; exit 1; }
1854fi
1855
1856fi
1857
1858 echo $ac_n "checking for sigvec""... $ac_c" 1>&6
1859echo "configure:1860: checking for sigvec" >&5
1860if eval "test \"`echo '$''{'ac_cv_func_sigvec'+set}'`\" = set"; then
1861 echo $ac_n "(cached) $ac_c" 1>&6
1862else
1863 cat > conftest.$ac_ext <<EOF
1864#line 1865 "configure"
1865#include "confdefs.h"
1866/* System header to define __stub macros and hopefully few prototypes,
1867 which can conflict with char sigvec(); below. */
1868#include <assert.h>
1869/* Override any gcc2 internal prototype to avoid an error. */
1870/* We use char because int might match the return type of a gcc2
1871 builtin and then its argument prototype would still apply. */
1872char sigvec();
1873
1874int main() {
1875
1876/* The GNU C library defines this for functions which it implements
1877 to always fail with ENOSYS. Some functions are actually named
1878 something starting with __ and the normal name is an alias. */
1879#if defined (__stub_sigvec) || defined (__stub___sigvec)
1880choke me
1881#else
1882sigvec();
1883#endif
1884
1885; return 0; }
1886EOF
1887if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1888 rm -rf conftest*
1889 eval "ac_cv_func_sigvec=yes"
1890else
1891 echo "configure: failed program was:" >&5
1892 cat conftest.$ac_ext >&5
1893 rm -rf conftest*
1894 eval "ac_cv_func_sigvec=no"
1895fi
1896rm -f conftest*
1897fi
1898
1899if eval "test \"`echo '$ac_cv_func_'sigvec`\" = yes"; then
1900 echo "$ac_t""yes" 1>&6
1901 :
1902else
1903 echo "$ac_t""no" 1>&6
1904echo $ac_n "checking for sigvec in -lucb""... $ac_c" 1>&6
1905echo "configure:1906: checking for sigvec in -lucb" >&5
1906ac_lib_var=`echo ucb'_'sigvec | sed 'y%./+-%__p_%'`
1907if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1908 echo $ac_n "(cached) $ac_c" 1>&6
1909else
1910 ac_save_LIBS="$LIBS"
1911LIBS="-lucb -L/usr/ucblib $LIBS"
1912cat > conftest.$ac_ext <<EOF
1913#line 1914 "configure"
1914#include "confdefs.h"
1915/* Override any gcc2 internal prototype to avoid an error. */
1916/* We use char because int might match the return type of a gcc2
1917 builtin and then its argument prototype would still apply. */
1918char sigvec();
1919
1920int main() {
1921sigvec()
1922; return 0; }
1923EOF
1924if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1925 rm -rf conftest*
1926 eval "ac_cv_lib_$ac_lib_var=yes"
1927else
1928 echo "configure: failed program was:" >&5
1929 cat conftest.$ac_ext >&5
1930 rm -rf conftest*
1931 eval "ac_cv_lib_$ac_lib_var=no"
1932fi
1933rm -f conftest*
1934LIBS="$ac_save_LIBS"
1935
1936fi
1937if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1938 echo "$ac_t""yes" 1>&6
1939 AFS_EXTRA_LIBS="$AFS_EXTRA_LIBS -L/usr/ucblib -lc -lucb"
1940else
1941 echo "$ac_t""no" 1>&6
1942:
1943fi
1944
1945fi
1946
1947 echo $ac_n "checking for pioctl in -lsys""... $ac_c" 1>&6
1948echo "configure:1949: checking for pioctl in -lsys" >&5
1949ac_lib_var=`echo sys'_'pioctl | sed 'y%./+-%__p_%'`
1950if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1951 echo $ac_n "(cached) $ac_c" 1>&6
1952else
1953 ac_save_LIBS="$LIBS"
1954LIBS="-lsys $AFS_LIBS -lrx -llwp -lsys $AFS_EXTRA_LIBS $LIBS"
1955cat > conftest.$ac_ext <<EOF
1956#line 1957 "configure"
1957#include "confdefs.h"
1958/* Override any gcc2 internal prototype to avoid an error. */
1959/* We use char because int might match the return type of a gcc2
1960 builtin and then its argument prototype would still apply. */
1961char pioctl();
1962
1963int main() {
1964pioctl()
1965; return 0; }
1966EOF
1967if { (eval echo configure:1968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1968 rm -rf conftest*
1969 eval "ac_cv_lib_$ac_lib_var=yes"
1970else
1971 echo "configure: failed program was:" >&5
1972 cat conftest.$ac_ext >&5
1973 rm -rf conftest*
1974 eval "ac_cv_lib_$ac_lib_var=no"
1975fi
1976rm -f conftest*
1977LIBS="$ac_save_LIBS"
1978
1979fi
1980if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1981 echo "$ac_t""yes" 1>&6
1982 :
1983else
1984 echo "$ac_t""no" 1>&6
1985{ echo "configure: error: AFS libraries not found" 1>&2; exit 1; }
1986fi
1987
1988
1989 cat >> confdefs.h <<\EOF
1990#define HAVE_AFS 1
1991EOF
1992
1993
1994 case $PRO_C_DEFS in
1995 *DEFINE=HAVE_AFS*) ;;
1996 *) PRO_C_DEFS=DEFINE=HAVE_AFS\ $PRO_C_DEFS ;;
1997 esac
1998
1999
2000fi
2001
2002
2003
2004
2005
2006
2007# GNU readline
2008echo "checking for GNU readline..." 1>&6
2009echo "configure:2010: checking for GNU readline..." >&5
2010# Check whether --with-readline or --without-readline was given.
2011if test "${with_readline+set}" = set; then
2012 withval="$with_readline"
2013 readline="$withval"
2014else
2015 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
2016echo "configure:2017: checking for readline in -lreadline" >&5
2017ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
2018if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2019 echo $ac_n "(cached) $ac_c" 1>&6
2020else
2021 ac_save_LIBS="$LIBS"
2022LIBS="-lreadline -ltermcap $LIBS"
2023cat > conftest.$ac_ext <<EOF
2024#line 2025 "configure"
2025#include "confdefs.h"
2026/* Override any gcc2 internal prototype to avoid an error. */
2027/* We use char because int might match the return type of a gcc2
2028 builtin and then its argument prototype would still apply. */
2029char readline();
2030
2031int main() {
2032readline()
2033; return 0; }
2034EOF
2035if { (eval echo configure:2036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2036 rm -rf conftest*
2037 eval "ac_cv_lib_$ac_lib_var=yes"
2038else
2039 echo "configure: failed program was:" >&5
2040 cat conftest.$ac_ext >&5
2041 rm -rf conftest*
2042 eval "ac_cv_lib_$ac_lib_var=no"
2043fi
2044rm -f conftest*
2045LIBS="$ac_save_LIBS"
2046
2047fi
2048if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2049 echo "$ac_t""yes" 1>&6
2050 readline=yes
2051else
2052 echo "$ac_t""no" 1>&6
2053:
2054fi
2055
2056fi
2057
2058if test "$readline" != no; then
2059 if test "$readline" != yes; then
2060 READLINE_CPPFLAGS="-I$readline/include/readline -DHAVE_READLINE"
2061 READLINE_LIBS="-L$readline/lib -lreadline -ltermcap"
2062 fi
2063fi
2064
2065
2066
2067# Curses
2068curses=curses
2069echo "checking for curses" 1>&6
2070echo "configure:2071: checking for curses" >&5
2071echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
2072echo "configure:2073: checking for main in -lcurses" >&5
2073ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`
2074if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2075 echo $ac_n "(cached) $ac_c" 1>&6
2076else
2077 ac_save_LIBS="$LIBS"
2078LIBS="-lcurses $LIBS"
2079cat > conftest.$ac_ext <<EOF
2080#line 2081 "configure"
2081#include "confdefs.h"
2082
2083int main() {
2084main()
2085; return 0; }
2086EOF
2087if { (eval echo configure:2088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2088 rm -rf conftest*
2089 eval "ac_cv_lib_$ac_lib_var=yes"
2090else
2091 echo "configure: failed program was:" >&5
2092 cat conftest.$ac_ext >&5
2093 rm -rf conftest*
2094 eval "ac_cv_lib_$ac_lib_var=no"
2095fi
2096rm -f conftest*
2097LIBS="$ac_save_LIBS"
2098
2099fi
2100if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2101 echo "$ac_t""yes" 1>&6
2102 :
2103else
2104 echo "$ac_t""no" 1>&6
2105echo $ac_n "checking for main in -lncurses""... $ac_c" 1>&6
2106echo "configure:2107: checking for main in -lncurses" >&5
2107ac_lib_var=`echo ncurses'_'main | sed 'y%./+-%__p_%'`
2108if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2109 echo $ac_n "(cached) $ac_c" 1>&6
2110else
2111 ac_save_LIBS="$LIBS"
2112LIBS="-lncurses $LIBS"
2113cat > conftest.$ac_ext <<EOF
2114#line 2115 "configure"
2115#include "confdefs.h"
2116
2117int main() {
2118main()
2119; return 0; }
2120EOF
2121if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2122 rm -rf conftest*
2123 eval "ac_cv_lib_$ac_lib_var=yes"
2124else
2125 echo "configure: failed program was:" >&5
2126 cat conftest.$ac_ext >&5
2127 rm -rf conftest*
2128 eval "ac_cv_lib_$ac_lib_var=no"
2129fi
2130rm -f conftest*
2131LIBS="$ac_save_LIBS"
2132
2133fi
2134if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2135 echo "$ac_t""yes" 1>&6
2136 curses=ncurses
2137else
2138 echo "$ac_t""no" 1>&6
2139fi
2140
2141fi
2142
2143if test -n "$curses"; then
2144 OLDLIBS=$LIBS
2145 LIBS=-l$curses
2146 echo "checking if curses needs termcap" 1>&6
2147echo "configure:2148: checking if curses needs termcap" >&5
2148 if test "$cross_compiling" = yes; then
2149 :
2150else
2151 cat > conftest.$ac_ext <<EOF
2152#line 2153 "configure"
2153#include "confdefs.h"
2154#include <curses.h>
2155 main(int argc, char **argv)
2156 {
2157 initscr();
2158 endwin();
2159 return 0;
2160 }
2161EOF
2162if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2163then
2164 CURSES_LIBS="-l$curses"
2165else
2166 echo "configure: failed program was:" >&5
2167 cat conftest.$ac_ext >&5
2168 rm -fr conftest*
2169 LIBS="-l$curses -ltermcap"
2170 if test "$cross_compiling" = yes; then
2171 :
2172else
2173 cat > conftest.$ac_ext <<EOF
2174#line 2175 "configure"
2175#include "confdefs.h"
2176#include <curses.h>
2177 main(int argc, char **argv)
2178 {
2179 initscr();
2180 endwin();
2181 return 0;
2182 }
2183EOF
2184if { (eval echo configure:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2185then
2186 CURSES_LIBS="-l$curses -ltermcap"
2187else
2188 echo "configure: failed program was:" >&5
2189 cat conftest.$ac_ext >&5
2190 rm -fr conftest*
2191 :
2192fi
2193rm -fr conftest*
2194fi
2195
2196fi
2197rm -fr conftest*
2198fi
2199
2200 LIBS=$OLDLIBS
2201fi
2202if test -n "$CURSES_LIBS"; then
2203 OLDLIBS=$LIBS
2204 LIBS=$CURSES_LIBS
2205 cat > conftest.$ac_ext <<EOF
2206#line 2207 "configure"
2207#include "confdefs.h"
2208#include <curses.h>
2209int main() {
2210WINDOW *w; getmaxx(w);
2211; return 0; }
2212EOF
2213if { (eval echo configure:2214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2214 rm -rf conftest*
2215 :
2216else
2217 echo "configure: failed program was:" >&5
2218 cat conftest.$ac_ext >&5
2219 rm -rf conftest*
2220 cat > conftest.$ac_ext <<EOF
2221#line 2222 "configure"
2222#include "confdefs.h"
2223#include <curses.h>
2224int main() {
2225WINDOW *w; w->_maxx;
2226; return 0; }
2227EOF
2228if { (eval echo configure:2229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2229 rm -rf conftest*
2230 CURSES_CPPFLAGS="-D'getmaxx(w)=w->_maxx'"
2231else
2232 echo "configure: failed program was:" >&5
2233 cat conftest.$ac_ext >&5
2234 rm -rf conftest*
2235 CURSES_CPPFLAGS="-D'getmaxx(w)=w->maxx'"
2236fi
2237rm -f conftest*
2238fi
2239rm -f conftest*
2240 LIBS=$OLDLIBS
2241 CURSES_CPPFLAGS="-DHAVE_CURSES $CURSES_CPPFLAGS"
2242 CURSES_SUBDIRS='$(CURSES_SUBDIRS)'
2243else
2244 echo "configure: warning: Couldn't find -lcurses" 1>&2
2245fi
2246
2247
2248
2249
2250
2251for ac_func in getusershell
2252do
2253echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2254echo "configure:2255: checking for $ac_func" >&5
2255if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2256 echo $ac_n "(cached) $ac_c" 1>&6
2257else
2258 cat > conftest.$ac_ext <<EOF
2259#line 2260 "configure"
2260#include "confdefs.h"
2261/* System header to define __stub macros and hopefully few prototypes,
2262 which can conflict with char $ac_func(); below. */
2263#include <assert.h>
2264/* Override any gcc2 internal prototype to avoid an error. */
2265/* We use char because int might match the return type of a gcc2
2266 builtin and then its argument prototype would still apply. */
2267char $ac_func();
2268
2269int main() {
2270
2271/* The GNU C library defines this for functions which it implements
2272 to always fail with ENOSYS. Some functions are actually named
2273 something starting with __ and the normal name is an alias. */
2274#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2275choke me
2276#else
2277$ac_func();
2278#endif
2279
2280; return 0; }
2281EOF
2282if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2283 rm -rf conftest*
2284 eval "ac_cv_func_$ac_func=yes"
2285else
2286 echo "configure: failed program was:" >&5
2287 cat conftest.$ac_ext >&5
2288 rm -rf conftest*
2289 eval "ac_cv_func_$ac_func=no"
2290fi
2291rm -f conftest*
2292fi
2293
2294if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2295 echo "$ac_t""yes" 1>&6
2296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2297 cat >> confdefs.h <<EOF
2298#define $ac_tr_func 1
2299EOF
2300
2301else
2302 echo "$ac_t""no" 1>&6
2303fi
2304done
2305
2306
2307echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2308echo "configure:2309: checking how to run the C preprocessor" >&5
2309# On Suns, sometimes $CPP names a directory.
2310if test -n "$CPP" && test -d "$CPP"; then
2311 CPP=
2312fi
2313if test -z "$CPP"; then
2314if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2315 echo $ac_n "(cached) $ac_c" 1>&6
2316else
2317 # This must be in double quotes, not single quotes, because CPP may get
2318 # substituted into the Makefile and "${CC-cc}" will confuse make.
2319 CPP="${CC-cc} -E"
2320 # On the NeXT, cc -E runs the code through the compiler's parser,
2321 # not just through cpp.
2322 cat > conftest.$ac_ext <<EOF
2323#line 2324 "configure"
2324#include "confdefs.h"
2325#include <assert.h>
2326Syntax Error
2327EOF
2328ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2329{ (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2330ac_err=`grep -v '^ *+' conftest.out`
2331if test -z "$ac_err"; then
2332 :
2333else
2334 echo "$ac_err" >&5
2335 echo "configure: failed program was:" >&5
2336 cat conftest.$ac_ext >&5
2337 rm -rf conftest*
2338 CPP="${CC-cc} -E -traditional-cpp"
2339 cat > conftest.$ac_ext <<EOF
2340#line 2341 "configure"
2341#include "confdefs.h"
2342#include <assert.h>
2343Syntax Error
2344EOF
2345ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2346{ (eval echo configure:2347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2347ac_err=`grep -v '^ *+' conftest.out`
2348if test -z "$ac_err"; then
2349 :
2350else
2351 echo "$ac_err" >&5
2352 echo "configure: failed program was:" >&5
2353 cat conftest.$ac_ext >&5
2354 rm -rf conftest*
2355 CPP=/lib/cpp
2356fi
2357rm -f conftest*
2358fi
2359rm -f conftest*
2360 ac_cv_prog_CPP="$CPP"
2361fi
2362 CPP="$ac_cv_prog_CPP"
2363else
2364 ac_cv_prog_CPP="$CPP"
2365fi
2366echo "$ac_t""$CPP" 1>&6
2367
2368ac_safe=`echo "crypt.h" | sed 'y%./+-%__p_%'`
2369echo $ac_n "checking for crypt.h""... $ac_c" 1>&6
2370echo "configure:2371: checking for crypt.h" >&5
2371if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2372 echo $ac_n "(cached) $ac_c" 1>&6
2373else
2374 cat > conftest.$ac_ext <<EOF
2375#line 2376 "configure"
2376#include "confdefs.h"
2377#include <crypt.h>
2378EOF
2379ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2380{ (eval echo configure:2381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2381ac_err=`grep -v '^ *+' conftest.out`
2382if test -z "$ac_err"; then
2383 rm -rf conftest*
2384 eval "ac_cv_header_$ac_safe=yes"
2385else
2386 echo "$ac_err" >&5
2387 echo "configure: failed program was:" >&5
2388 cat conftest.$ac_ext >&5
2389 rm -rf conftest*
2390 eval "ac_cv_header_$ac_safe=no"
2391fi
2392rm -f conftest*
2393fi
2394if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2395 echo "$ac_t""yes" 1>&6
2396 CRYPT_CPPFLAGS=-DHAVE_CRYPT_H
2397else
2398 echo "$ac_t""no" 1>&6
2399fi
2400
2401echo $ac_n "checking for crypt""... $ac_c" 1>&6
2402echo "configure:2403: checking for crypt" >&5
2403if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
2404 echo $ac_n "(cached) $ac_c" 1>&6
2405else
2406 cat > conftest.$ac_ext <<EOF
2407#line 2408 "configure"
2408#include "confdefs.h"
2409/* System header to define __stub macros and hopefully few prototypes,
2410 which can conflict with char crypt(); below. */
2411#include <assert.h>
2412/* Override any gcc2 internal prototype to avoid an error. */
2413/* We use char because int might match the return type of a gcc2
2414 builtin and then its argument prototype would still apply. */
2415char crypt();
2416
2417int main() {
2418
2419/* The GNU C library defines this for functions which it implements
2420 to always fail with ENOSYS. Some functions are actually named
2421 something starting with __ and the normal name is an alias. */
2422#if defined (__stub_crypt) || defined (__stub___crypt)
2423choke me
2424#else
2425crypt();
2426#endif
2427
2428; return 0; }
2429EOF
2430if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2431 rm -rf conftest*
2432 eval "ac_cv_func_crypt=yes"
2433else
2434 echo "configure: failed program was:" >&5
2435 cat conftest.$ac_ext >&5
2436 rm -rf conftest*
2437 eval "ac_cv_func_crypt=no"
2438fi
2439rm -f conftest*
2440fi
2441
2442if eval "test \"`echo '$ac_cv_func_'crypt`\" = yes"; then
2443 echo "$ac_t""yes" 1>&6
2444 :
2445else
2446 echo "$ac_t""no" 1>&6
2447echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
2448echo "configure:2449: checking for crypt in -lcrypt" >&5
2449ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
2450if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2451 echo $ac_n "(cached) $ac_c" 1>&6
2452else
2453 ac_save_LIBS="$LIBS"
2454LIBS="-lcrypt $LIBS"
2455cat > conftest.$ac_ext <<EOF
2456#line 2457 "configure"
2457#include "confdefs.h"
2458/* Override any gcc2 internal prototype to avoid an error. */
2459/* We use char because int might match the return type of a gcc2
2460 builtin and then its argument prototype would still apply. */
2461char crypt();
2462
2463int main() {
2464crypt()
2465; return 0; }
2466EOF
2467if { (eval echo configure:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2468 rm -rf conftest*
2469 eval "ac_cv_lib_$ac_lib_var=yes"
2470else
2471 echo "configure: failed program was:" >&5
2472 cat conftest.$ac_ext >&5
2473 rm -rf conftest*
2474 eval "ac_cv_lib_$ac_lib_var=no"
2475fi
2476rm -f conftest*
2477LIBS="$ac_save_LIBS"
2478
2479fi
2480if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2481 echo "$ac_t""yes" 1>&6
2482 CRYPT_LIBS=-lcrypt
2483else
2484 echo "$ac_t""no" 1>&6
2485fi
2486
2487fi
2488
2489
2490
2491
2492
2493
2494 case $CPPFLAGS in
2495 *-I'$(SRCTOP)/include'*) ;;
2496 *) CPPFLAGS=-I'$(SRCTOP)/include'\ $CPPFLAGS ;;
2497 esac
2498
2499
2500 case $PRO_C_INCLUDES in
2501 *INCLUDE='$(SRCTOP)/include'*) ;;
2502 *) PRO_C_INCLUDES=INCLUDE='$(SRCTOP)/include'\ $PRO_C_INCLUDES ;;
2503 esac
2504
2505
2506
2507
2508 case $CPPFLAGS in
2509 *-I'$(BUILDTOP)/lib'*) ;;
2510 *) CPPFLAGS=-I'$(BUILDTOP)/lib'\ $CPPFLAGS ;;
2511 esac
2512
2513
2514 case $PRO_C_INCLUDES in
2515 *INCLUDE='$(BUILDTOP)/lib'*) ;;
2516 *) PRO_C_INCLUDES=INCLUDE='$(BUILDTOP)/lib'\ $PRO_C_INCLUDES ;;
2517 esac
2518
2519
2520
2521
2522 case $CPPFLAGS in
2523 *-I'$(BUILDTOP)/db'*) ;;
2524 *) CPPFLAGS=-I'$(BUILDTOP)/db'\ $CPPFLAGS ;;
2525 esac
2526
2527
2528 case $PRO_C_INCLUDES in
2529 *INCLUDE='$(BUILDTOP)/db'*) ;;
2530 *) PRO_C_INCLUDES=INCLUDE='$(BUILDTOP)/db'\ $PRO_C_INCLUDES ;;
2531 esac
2532
2533
2534LDFLAGS="$LDFLAGS -L\$(BUILDTOP)/lib $LIBPATH"
2535KLIBS="-lzephyr $KRB4_LIBS -lcom_err -lhesiod $LIBS"
2536LIBS="-lmoira $KLIBS"
2537
2538
2539trap '' 1 2 15
2540cat > confcache <<\EOF
2541# This file is a shell script that caches the results of configure
2542# tests run on this system so they can be shared between configure
2543# scripts and configure runs. It is not useful on other systems.
2544# If it contains results you don't want to keep, you may remove or edit it.
2545#
2546# By default, configure uses ./config.cache as the cache file,
2547# creating it if it does not exist already. You can give configure
2548# the --cache-file=FILE option to use a different cache file; that is
2549# what configure does when it calls configure scripts in
2550# subdirectories, so they share the cache.
2551# Giving --cache-file=/dev/null disables caching, for debugging configure.
2552# config.status only pays attention to the cache file if you give it the
2553# --recheck option to rerun configure.
2554#
2555EOF
2556# The following way of writing the cache mishandles newlines in values,
2557# but we know of no workaround that is simple, portable, and efficient.
2558# So, don't put newlines in cache variables' values.
2559# Ultrix sh set writes to stderr and can't be redirected directly,
2560# and sets the high bit in the cache file unless we assign to the vars.
2561(set) 2>&1 |
2562 case `(ac_space=' '; set) 2>&1` in
2563 *ac_space=\ *)
2564 # `set' does not quote correctly, so add quotes (double-quote substitution
2565 # turns \\\\ into \\, and sed turns \\ into \).
2566 sed -n \
2567 -e "s/'/'\\\\''/g" \
2568 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2569 ;;
2570 *)
2571 # `set' quotes correctly as required by POSIX, so do not add quotes.
2572 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2573 ;;
2574 esac >> confcache
2575if cmp -s $cache_file confcache; then
2576 :
2577else
2578 if test -w $cache_file; then
2579 echo "updating cache $cache_file"
2580 cat confcache > $cache_file
2581 else
2582 echo "not updating unwritable cache $cache_file"
2583 fi
2584fi
2585rm -f confcache
2586
2587trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2588
2589test "x$prefix" = xNONE && prefix=$ac_default_prefix
2590# Let make expand exec_prefix.
2591test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2592
2593# Any assignment to VPATH causes Sun make to only execute
2594# the first set of double-colon rules, so remove it if not needed.
2595# If there is a colon in the path, we need to keep it.
2596if test "x$srcdir" = x.; then
2597 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2598fi
2599
2600trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2601
2602# Transform confdefs.h into DEFS.
2603# Protect against shell expansion while executing Makefile rules.
2604# Protect against Makefile macro expansion.
2605cat > conftest.defs <<\EOF
2606s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2607s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
2608s%\[%\\&%g
2609s%\]%\\&%g
2610s%\$%$$%g
2611EOF
2612DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
2613rm -f conftest.defs
2614
2615
2616# Without the "./", some shells look in PATH for config.status.
2617: ${CONFIG_STATUS=./config.status}
2618
2619echo creating $CONFIG_STATUS
2620rm -f $CONFIG_STATUS
2621cat > $CONFIG_STATUS <<EOF
2622#! /bin/sh
2623# Generated automatically by configure.
2624# Run this file to recreate the current configuration.
2625# This directory was configured as follows,
2626# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2627#
2628# $0 $ac_configure_args
2629#
2630# Compiler output produced by configure, useful for debugging
2631# configure, is in ./config.log if it exists.
2632
2633ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2634for ac_option
2635do
2636 case "\$ac_option" in
2637 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2638 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2639 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2640 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2641 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2642 exit 0 ;;
2643 -help | --help | --hel | --he | --h)
2644 echo "\$ac_cs_usage"; exit 0 ;;
2645 *) echo "\$ac_cs_usage"; exit 1 ;;
2646 esac
2647done
2648
2649ac_given_srcdir=$srcdir
2650ac_given_INSTALL="$INSTALL"
2651
2652trap 'rm -fr `echo "Makefile lib/Makefile include/Makefile clients/Makefile \
2653 clients/addusr/Makefile clients/blanche/Makefile \
2654 clients/mailmaint/Makefile clients/moira/Makefile \
2655 clients/mrcheck/Makefile clients/mrtest/Makefile \
2656 clients/passwd/Makefile clients/userreg/Makefile \
2657 update/Makefile man/Makefile \
2658 $SERVER_OUTPUT_FILES $GDSS_OUTPUT_FILES" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2659EOF
2660cat >> $CONFIG_STATUS <<EOF
2661
2662# Protect against being on the right side of a sed subst in config.status.
2663sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2664 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2665$ac_vpsub
2666$extrasub
2667s%@CFLAGS@%$CFLAGS%g
2668s%@CPPFLAGS@%$CPPFLAGS%g
2669s%@CXXFLAGS@%$CXXFLAGS%g
2670s%@DEFS@%$DEFS%g
2671s%@LDFLAGS@%$LDFLAGS%g
2672s%@LIBS@%$LIBS%g
2673s%@exec_prefix@%$exec_prefix%g
2674s%@prefix@%$prefix%g
2675s%@program_transform_name@%$program_transform_name%g
2676s%@bindir@%$bindir%g
2677s%@sbindir@%$sbindir%g
2678s%@libexecdir@%$libexecdir%g
2679s%@datadir@%$datadir%g
2680s%@sysconfdir@%$sysconfdir%g
2681s%@sharedstatedir@%$sharedstatedir%g
2682s%@localstatedir@%$localstatedir%g
2683s%@libdir@%$libdir%g
2684s%@includedir@%$includedir%g
2685s%@oldincludedir@%$oldincludedir%g
2686s%@infodir@%$infodir%g
2687s%@mandir@%$mandir%g
2688s%@CC@%$CC%g
2689s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2690s%@INSTALL_DATA@%$INSTALL_DATA%g
2691s%@RANLIB@%$RANLIB%g
2692s%@SET_MAKE@%$SET_MAKE%g
2693s%@mrbindir@%$mrbindir%g
2694s%@subdirs@%$subdirs%g
2695s%@COM_ERR_SUBDIR@%$COM_ERR_SUBDIR%g
2696s%@COMPILE_ET@%$COMPILE_ET%g
2697s%@GDSS_CPPFLAGS@%$GDSS_CPPFLAGS%g
2698s%@GDSS_LIBS@%$GDSS_LIBS%g
2699s%@GDSS_SUBDIR@%$GDSS_SUBDIR%g
2700s%@GDSS_OBJS@%$GDSS_OBJS%g
2701s%@GDSS_CFILES@%$GDSS_CFILES%g
2702s%@GDSS_TARGET@%$GDSS_TARGET%g
2703s%@PRO_C@%$PRO_C%g
2704s%@PRO_C_DEFS@%$PRO_C_DEFS%g
2705s%@PRO_C_INCLUDES@%$PRO_C_INCLUDES%g
2706s%@PRO_C_OPTS@%$PRO_C_OPTS%g
2707s%@SQL_LIBS@%$SQL_LIBS%g
2708s%@SVRSUBDIRS@%$SVRSUBDIRS%g
2709s%@AFS_CPPFLAGS@%$AFS_CPPFLAGS%g
2710s%@AFS_PRO_C_INCLUDES@%$AFS_PRO_C_INCLUDES%g
2711s%@AFS_LIBS@%$AFS_LIBS%g
2712s%@AFS_EXTRA_LIBS@%$AFS_EXTRA_LIBS%g
2713s%@AFS_DIR@%$AFS_DIR%g
2714s%@READLINE_CPPFLAGS@%$READLINE_CPPFLAGS%g
2715s%@READLINE_LIBS@%$READLINE_LIBS%g
2716s%@CURSES_CPPFLAGS@%$CURSES_CPPFLAGS%g
2717s%@CURSES_LIBS@%$CURSES_LIBS%g
2718s%@CURSES_SUBDIRS@%$CURSES_SUBDIRS%g
2719s%@CPP@%$CPP%g
2720s%@CRYPT_CPPFLAGS@%$CRYPT_CPPFLAGS%g
2721s%@CRYPT_LIBS@%$CRYPT_LIBS%g
2722s%@KLIBS@%$KLIBS%g
2723
2724CEOF
2725EOF
2726
2727cat >> $CONFIG_STATUS <<\EOF
2728
2729# Split the substitutions into bite-sized pieces for seds with
2730# small command number limits, like on Digital OSF/1 and HP-UX.
2731ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2732ac_file=1 # Number of current file.
2733ac_beg=1 # First line for current file.
2734ac_end=$ac_max_sed_cmds # Line after last line for current file.
2735ac_more_lines=:
2736ac_sed_cmds=""
2737while $ac_more_lines; do
2738 if test $ac_beg -gt 1; then
2739 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2740 else
2741 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2742 fi
2743 if test ! -s conftest.s$ac_file; then
2744 ac_more_lines=false
2745 rm -f conftest.s$ac_file
2746 else
2747 if test -z "$ac_sed_cmds"; then
2748 ac_sed_cmds="sed -f conftest.s$ac_file"
2749 else
2750 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2751 fi
2752 ac_file=`expr $ac_file + 1`
2753 ac_beg=$ac_end
2754 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2755 fi
2756done
2757if test -z "$ac_sed_cmds"; then
2758 ac_sed_cmds=cat
2759fi
2760EOF
2761
2762cat >> $CONFIG_STATUS <<EOF
2763
2764CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile include/Makefile clients/Makefile \
2765 clients/addusr/Makefile clients/blanche/Makefile \
2766 clients/mailmaint/Makefile clients/moira/Makefile \
2767 clients/mrcheck/Makefile clients/mrtest/Makefile \
2768 clients/passwd/Makefile clients/userreg/Makefile \
2769 update/Makefile man/Makefile \
2770 $SERVER_OUTPUT_FILES $GDSS_OUTPUT_FILES"}
2771EOF
2772cat >> $CONFIG_STATUS <<\EOF
2773for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2774 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2775 case "$ac_file" in
2776 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2777 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2778 *) ac_file_in="${ac_file}.in" ;;
2779 esac
2780
2781 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2782
2783 # Remove last slash and all that follows it. Not all systems have dirname.
2784 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2785 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2786 # The file is in a subdirectory.
2787 test ! -d "$ac_dir" && mkdir "$ac_dir"
2788 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2789 # A "../" for each directory in $ac_dir_suffix.
2790 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2791 else
2792 ac_dir_suffix= ac_dots=
2793 fi
2794
2795 case "$ac_given_srcdir" in
2796 .) srcdir=.
2797 if test -z "$ac_dots"; then top_srcdir=.
2798 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2799 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2800 *) # Relative path.
2801 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2802 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2803 esac
2804
2805 case "$ac_given_INSTALL" in
2806 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2807 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2808 esac
2809
2810 echo creating "$ac_file"
2811 rm -f "$ac_file"
2812 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2813 case "$ac_file" in
2814 *Makefile*) ac_comsub="1i\\
2815# $configure_input" ;;
2816 *) ac_comsub= ;;
2817 esac
2818
2819 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2820 sed -e "$ac_comsub
2821s%@configure_input@%$configure_input%g
2822s%@srcdir@%$srcdir%g
2823s%@top_srcdir@%$top_srcdir%g
2824s%@INSTALL@%$INSTALL%g
2825" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2826fi; done
2827rm -f conftest.s*
2828
2829EOF
2830cat >> $CONFIG_STATUS <<EOF
2831
2832EOF
2833cat >> $CONFIG_STATUS <<\EOF
2834
2835exit 0
2836EOF
2837chmod +x $CONFIG_STATUS
2838rm -fr confdefs* $ac_clean_files
2839test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2840
2841if test "$no_recursion" != yes; then
2842
2843 # Remove --cache-file and --srcdir arguments so they do not pile up.
2844 ac_sub_configure_args=
2845 ac_prev=
2846 for ac_arg in $ac_configure_args; do
2847 if test -n "$ac_prev"; then
2848 ac_prev=
2849 continue
2850 fi
2851 case "$ac_arg" in
2852 -cache-file | --cache-file | --cache-fil | --cache-fi \
2853 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2854 ac_prev=cache_file ;;
2855 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2856 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2857 ;;
2858 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2859 ac_prev=srcdir ;;
2860 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2861 ;;
2862 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2863 esac
2864 done
2865
2866 for ac_config_dir in $COM_ERR_SUBDIR; do
2867
2868 # Do not complain, so a configure script can configure whichever
2869 # parts of a large source tree are present.
2870 if test ! -d $srcdir/$ac_config_dir; then
2871 continue
2872 fi
2873
2874 echo configuring in $ac_config_dir
2875
2876 case "$srcdir" in
2877 .) ;;
2878 *)
2879 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
2880 else
2881 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
2882 fi
2883 ;;
2884 esac
2885
2886 ac_popdir=`pwd`
2887 cd $ac_config_dir
2888
2889 # A "../" for each directory in /$ac_config_dir.
2890 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
2891
2892 case "$srcdir" in
2893 .) # No --srcdir option. We are building in place.
2894 ac_sub_srcdir=$srcdir ;;
2895 /*) # Absolute path.
2896 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
2897 *) # Relative path.
2898 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
2899 esac
2900
2901 # Check for guested configure; otherwise get Cygnus style configure.
2902 if test -f $ac_sub_srcdir/configure; then
2903 ac_sub_configure=$ac_sub_srcdir/configure
2904 elif test -f $ac_sub_srcdir/configure.in; then
2905 ac_sub_configure=$ac_configure
2906 else
2907 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
2908 ac_sub_configure=
2909 fi
2910
2911 # The recursion is here.
2912 if test -n "$ac_sub_configure"; then
2913
2914 # Make the cache file name correct relative to the subdirectory.
2915 case "$cache_file" in
2916 /*) ac_sub_cache_file=$cache_file ;;
2917 *) # Relative path.
2918 ac_sub_cache_file="$ac_dots$cache_file" ;;
2919 esac
2920 case "$ac_given_INSTALL" in
2921 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2922 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2923 esac
2924
2925 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
2926 # The eval makes quoting arguments work.
2927 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
2928 then :
2929 else
2930 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
2931 fi
2932 fi
2933
2934 cd $ac_popdir
2935 done
2936fi
2937
This page took 1.580194 seconds and 5 git commands to generate.