source: trunk/athena/etc/cleanup/configure @ 12658

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