source: trunk/athena/bin/from/configure @ 11657

Revision 11657, 53.2 KB checked in by ghudson, 26 years ago (diff)
Take care of mail spool directory in from.c.
  • 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.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  --with-krb4=PREFIX      Use Kerberos 4"
16ac_help="$ac_help
17  --with-hesiod=PREFIX    Use Hesiod"
18
19# Initialize some variables set by options.
20# The variables have the same names as the options, with
21# dashes changed to underlines.
22build=NONE
23cache_file=./config.cache
24exec_prefix=NONE
25host=NONE
26no_create=
27nonopt=NONE
28no_recursion=
29prefix=NONE
30program_prefix=NONE
31program_suffix=NONE
32program_transform_name=s,x,x,
33silent=
34site=
35srcdir=
36target=NONE
37verbose=
38x_includes=NONE
39x_libraries=NONE
40bindir='${exec_prefix}/bin'
41sbindir='${exec_prefix}/sbin'
42libexecdir='${exec_prefix}/libexec'
43datadir='${prefix}/share'
44sysconfdir='${prefix}/etc'
45sharedstatedir='${prefix}/com'
46localstatedir='${prefix}/var'
47libdir='${exec_prefix}/lib'
48includedir='${prefix}/include'
49oldincludedir='/usr/include'
50infodir='${prefix}/info'
51mandir='${prefix}/man'
52
53# Initialize some other variables.
54subdirs=
55MFLAGS= MAKEFLAGS=
56# Maximum number of lines to put in a shell here document.
57ac_max_here_lines=12
58
59ac_prev=
60for ac_option
61do
62
63  # If the previous option needs an argument, assign it.
64  if test -n "$ac_prev"; then
65    eval "$ac_prev=\$ac_option"
66    ac_prev=
67    continue
68  fi
69
70  case "$ac_option" in
71  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72  *) ac_optarg= ;;
73  esac
74
75  # Accept the important Cygnus configure options, so we can diagnose typos.
76
77  case "$ac_option" in
78
79  -bindir | --bindir | --bindi | --bind | --bin | --bi)
80    ac_prev=bindir ;;
81  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
82    bindir="$ac_optarg" ;;
83
84  -build | --build | --buil | --bui | --bu)
85    ac_prev=build ;;
86  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
87    build="$ac_optarg" ;;
88
89  -cache-file | --cache-file | --cache-fil | --cache-fi \
90  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
91    ac_prev=cache_file ;;
92  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
93  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
94    cache_file="$ac_optarg" ;;
95
96  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
97    ac_prev=datadir ;;
98  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
99  | --da=*)
100    datadir="$ac_optarg" ;;
101
102  -disable-* | --disable-*)
103    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
104    # Reject names that are not valid shell variable names.
105    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
106      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
107    fi
108    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
109    eval "enable_${ac_feature}=no" ;;
110
111  -enable-* | --enable-*)
112    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
113    # Reject names that are not valid shell variable names.
114    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
115      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
116    fi
117    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
118    case "$ac_option" in
119      *=*) ;;
120      *) ac_optarg=yes ;;
121    esac
122    eval "enable_${ac_feature}='$ac_optarg'" ;;
123
124  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
125  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
126  | --exec | --exe | --ex)
127    ac_prev=exec_prefix ;;
128  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
129  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
130  | --exec=* | --exe=* | --ex=*)
131    exec_prefix="$ac_optarg" ;;
132
133  -gas | --gas | --ga | --g)
134    # Obsolete; use --with-gas.
135    with_gas=yes ;;
136
137  -help | --help | --hel | --he)
138    # Omit some internal or obsolete options to make the list less imposing.
139    # This message is too long to be a string in the A/UX 3.1 sh.
140    cat << EOF
141Usage: configure [options] [host]
142Options: [defaults in brackets after descriptions]
143Configuration:
144  --cache-file=FILE       cache test results in FILE
145  --help                  print this message
146  --no-create             do not create output files
147  --quiet, --silent       do not print \`checking...' messages
148  --version               print the version of autoconf that created configure
149Directory and file names:
150  --prefix=PREFIX         install architecture-independent files in PREFIX
151                          [$ac_default_prefix]
152  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
153                          [same as prefix]
154  --bindir=DIR            user executables in DIR [EPREFIX/bin]
155  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
156  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
157  --datadir=DIR           read-only architecture-independent data in DIR
158                          [PREFIX/share]
159  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
160  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
161                          [PREFIX/com]
162  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
163  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
164  --includedir=DIR        C header files in DIR [PREFIX/include]
165  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
166  --infodir=DIR           info documentation in DIR [PREFIX/info]
167  --mandir=DIR            man documentation in DIR [PREFIX/man]
168  --srcdir=DIR            find the sources in DIR [configure dir or ..]
169  --program-prefix=PREFIX prepend PREFIX to installed program names
170  --program-suffix=SUFFIX append SUFFIX to installed program names
171  --program-transform-name=PROGRAM
172                          run sed PROGRAM on installed program names
173EOF
174    cat << EOF
175Host type:
176  --build=BUILD           configure for building on BUILD [BUILD=HOST]
177  --host=HOST             configure for HOST [guessed]
178  --target=TARGET         configure for TARGET [TARGET=HOST]
179Features and packages:
180  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
181  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
182  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
183  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
184  --x-includes=DIR        X include files are in DIR
185  --x-libraries=DIR       X library files are in DIR
186EOF
187    if test -n "$ac_help"; then
188      echo "--enable and --with options recognized:$ac_help"
189    fi
190    exit 0 ;;
191
192  -host | --host | --hos | --ho)
193    ac_prev=host ;;
194  -host=* | --host=* | --hos=* | --ho=*)
195    host="$ac_optarg" ;;
196
197  -includedir | --includedir | --includedi | --included | --include \
198  | --includ | --inclu | --incl | --inc)
199    ac_prev=includedir ;;
200  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
201  | --includ=* | --inclu=* | --incl=* | --inc=*)
202    includedir="$ac_optarg" ;;
203
204  -infodir | --infodir | --infodi | --infod | --info | --inf)
205    ac_prev=infodir ;;
206  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
207    infodir="$ac_optarg" ;;
208
209  -libdir | --libdir | --libdi | --libd)
210    ac_prev=libdir ;;
211  -libdir=* | --libdir=* | --libdi=* | --libd=*)
212    libdir="$ac_optarg" ;;
213
214  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
215  | --libexe | --libex | --libe)
216    ac_prev=libexecdir ;;
217  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
218  | --libexe=* | --libex=* | --libe=*)
219    libexecdir="$ac_optarg" ;;
220
221  -localstatedir | --localstatedir | --localstatedi | --localstated \
222  | --localstate | --localstat | --localsta | --localst \
223  | --locals | --local | --loca | --loc | --lo)
224    ac_prev=localstatedir ;;
225  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
226  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
227  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
228    localstatedir="$ac_optarg" ;;
229
230  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
231    ac_prev=mandir ;;
232  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
233    mandir="$ac_optarg" ;;
234
235  -nfp | --nfp | --nf)
236    # Obsolete; use --without-fp.
237    with_fp=no ;;
238
239  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
240  | --no-cr | --no-c)
241    no_create=yes ;;
242
243  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
244  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
245    no_recursion=yes ;;
246
247  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
248  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
249  | --oldin | --oldi | --old | --ol | --o)
250    ac_prev=oldincludedir ;;
251  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
252  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
253  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
254    oldincludedir="$ac_optarg" ;;
255
256  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
257    ac_prev=prefix ;;
258  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
259    prefix="$ac_optarg" ;;
260
261  -program-prefix | --program-prefix | --program-prefi | --program-pref \
262  | --program-pre | --program-pr | --program-p)
263    ac_prev=program_prefix ;;
264  -program-prefix=* | --program-prefix=* | --program-prefi=* \
265  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
266    program_prefix="$ac_optarg" ;;
267
268  -program-suffix | --program-suffix | --program-suffi | --program-suff \
269  | --program-suf | --program-su | --program-s)
270    ac_prev=program_suffix ;;
271  -program-suffix=* | --program-suffix=* | --program-suffi=* \
272  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
273    program_suffix="$ac_optarg" ;;
274
275  -program-transform-name | --program-transform-name \
276  | --program-transform-nam | --program-transform-na \
277  | --program-transform-n | --program-transform- \
278  | --program-transform | --program-transfor \
279  | --program-transfo | --program-transf \
280  | --program-trans | --program-tran \
281  | --progr-tra | --program-tr | --program-t)
282    ac_prev=program_transform_name ;;
283  -program-transform-name=* | --program-transform-name=* \
284  | --program-transform-nam=* | --program-transform-na=* \
285  | --program-transform-n=* | --program-transform-=* \
286  | --program-transform=* | --program-transfor=* \
287  | --program-transfo=* | --program-transf=* \
288  | --program-trans=* | --program-tran=* \
289  | --progr-tra=* | --program-tr=* | --program-t=*)
290    program_transform_name="$ac_optarg" ;;
291
292  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
293  | -silent | --silent | --silen | --sile | --sil)
294    silent=yes ;;
295
296  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
297    ac_prev=sbindir ;;
298  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
299  | --sbi=* | --sb=*)
300    sbindir="$ac_optarg" ;;
301
302  -sharedstatedir | --sharedstatedir | --sharedstatedi \
303  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
304  | --sharedst | --shareds | --shared | --share | --shar \
305  | --sha | --sh)
306    ac_prev=sharedstatedir ;;
307  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
308  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
309  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
310  | --sha=* | --sh=*)
311    sharedstatedir="$ac_optarg" ;;
312
313  -site | --site | --sit)
314    ac_prev=site ;;
315  -site=* | --site=* | --sit=*)
316    site="$ac_optarg" ;;
317
318  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
319    ac_prev=srcdir ;;
320  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
321    srcdir="$ac_optarg" ;;
322
323  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
324  | --syscon | --sysco | --sysc | --sys | --sy)
325    ac_prev=sysconfdir ;;
326  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
327  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
328    sysconfdir="$ac_optarg" ;;
329
330  -target | --target | --targe | --targ | --tar | --ta | --t)
331    ac_prev=target ;;
332  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
333    target="$ac_optarg" ;;
334
335  -v | -verbose | --verbose | --verbos | --verbo | --verb)
336    verbose=yes ;;
337
338  -version | --version | --versio | --versi | --vers)
339    echo "configure generated by autoconf version 2.12"
340    exit 0 ;;
341
342  -with-* | --with-*)
343    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
344    # Reject names that are not valid shell variable names.
345    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
346      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
347    fi
348    ac_package=`echo $ac_package| sed 's/-/_/g'`
349    case "$ac_option" in
350      *=*) ;;
351      *) ac_optarg=yes ;;
352    esac
353    eval "with_${ac_package}='$ac_optarg'" ;;
354
355  -without-* | --without-*)
356    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
357    # Reject names that are not valid shell variable names.
358    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
359      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
360    fi
361    ac_package=`echo $ac_package| sed 's/-/_/g'`
362    eval "with_${ac_package}=no" ;;
363
364  --x)
365    # Obsolete; use --with-x.
366    with_x=yes ;;
367
368  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
369  | --x-incl | --x-inc | --x-in | --x-i)
370    ac_prev=x_includes ;;
371  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
372  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
373    x_includes="$ac_optarg" ;;
374
375  -x-libraries | --x-libraries | --x-librarie | --x-librari \
376  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
377    ac_prev=x_libraries ;;
378  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
379  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
380    x_libraries="$ac_optarg" ;;
381
382  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
383    ;;
384
385  *)
386    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
387      echo "configure: warning: $ac_option: invalid host type" 1>&2
388    fi
389    if test "x$nonopt" != xNONE; then
390      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
391    fi
392    nonopt="$ac_option"
393    ;;
394
395  esac
396done
397
398if test -n "$ac_prev"; then
399  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
400fi
401
402trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
403
404# File descriptor usage:
405# 0 standard input
406# 1 file creation
407# 2 errors and warnings
408# 3 some systems may open it to /dev/tty
409# 4 used on the Kubota Titan
410# 6 checking for... messages and results
411# 5 compiler messages saved in config.log
412if test "$silent" = yes; then
413  exec 6>/dev/null
414else
415  exec 6>&1
416fi
417exec 5>./config.log
418
419echo "\
420This file contains any messages produced by compilers while
421running configure, to aid debugging if configure makes a mistake.
422" 1>&5
423
424# Strip out --no-create and --no-recursion so they do not pile up.
425# Also quote any args containing shell metacharacters.
426ac_configure_args=
427for ac_arg
428do
429  case "$ac_arg" in
430  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
431  | --no-cr | --no-c) ;;
432  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
433  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
434  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
435  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
436  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
437  esac
438done
439
440# NLS nuisances.
441# Only set these to C if already set.  These must not be set unconditionally
442# because not all systems understand e.g. LANG=C (notably SCO).
443# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
444# Non-C LC_CTYPE values break the ctype check.
445if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
446if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
447if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
448if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
449
450# confdefs.h avoids OS command line length limits that DEFS can exceed.
451rm -rf conftest* confdefs.h
452# AIX cpp loses on an empty file, so make sure it contains at least a newline.
453echo > confdefs.h
454
455# A filename unique to this package, relative to the directory that
456# configure is in, which we can look for to find out if srcdir is correct.
457ac_unique_file=from.c
458
459# Find the source files, if location was not specified.
460if test -z "$srcdir"; then
461  ac_srcdir_defaulted=yes
462  # Try the directory containing this script, then its parent.
463  ac_prog=$0
464  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
465  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
466  srcdir=$ac_confdir
467  if test ! -r $srcdir/$ac_unique_file; then
468    srcdir=..
469  fi
470else
471  ac_srcdir_defaulted=no
472fi
473if test ! -r $srcdir/$ac_unique_file; then
474  if test "$ac_srcdir_defaulted" = yes; then
475    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
476  else
477    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
478  fi
479fi
480srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
481
482# Prefer explicitly selected file to automatically selected ones.
483if test -z "$CONFIG_SITE"; then
484  if test "x$prefix" != xNONE; then
485    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
486  else
487    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
488  fi
489fi
490for ac_site_file in $CONFIG_SITE; do
491  if test -r "$ac_site_file"; then
492    echo "loading site script $ac_site_file"
493    . "$ac_site_file"
494  fi
495done
496
497if test -r "$cache_file"; then
498  echo "loading cache $cache_file"
499  . $cache_file
500else
501  echo "creating cache $cache_file"
502  > $cache_file
503fi
504
505ac_ext=c
506# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
507ac_cpp='$CPP $CPPFLAGS'
508ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
509ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
510cross_compiling=$ac_cv_prog_cc_cross
511
512if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
513  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
514  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
515    ac_n= ac_c='
516' ac_t='        '
517  else
518    ac_n=-n ac_c= ac_t=
519  fi
520else
521  ac_n= ac_c='\c' ac_t=
522fi
523
524
525
526# Extract the first word of "gcc", so it can be a program name with args.
527set dummy gcc; ac_word=$2
528echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
529echo "configure:530: checking for $ac_word" >&5
530if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
531  echo $ac_n "(cached) $ac_c" 1>&6
532else
533  if test -n "$CC"; then
534  ac_cv_prog_CC="$CC" # Let the user override the test.
535else
536  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
537  for ac_dir in $PATH; do
538    test -z "$ac_dir" && ac_dir=.
539    if test -f $ac_dir/$ac_word; then
540      ac_cv_prog_CC="gcc"
541      break
542    fi
543  done
544  IFS="$ac_save_ifs"
545fi
546fi
547CC="$ac_cv_prog_CC"
548if test -n "$CC"; then
549  echo "$ac_t""$CC" 1>&6
550else
551  echo "$ac_t""no" 1>&6
552fi
553
554if test -z "$CC"; then
555  # Extract the first word of "cc", so it can be a program name with args.
556set dummy cc; ac_word=$2
557echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
558echo "configure:559: checking for $ac_word" >&5
559if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
560  echo $ac_n "(cached) $ac_c" 1>&6
561else
562  if test -n "$CC"; then
563  ac_cv_prog_CC="$CC" # Let the user override the test.
564else
565  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
566  ac_prog_rejected=no
567  for ac_dir in $PATH; do
568    test -z "$ac_dir" && ac_dir=.
569    if test -f $ac_dir/$ac_word; then
570      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
571        ac_prog_rejected=yes
572        continue
573      fi
574      ac_cv_prog_CC="cc"
575      break
576    fi
577  done
578  IFS="$ac_save_ifs"
579if test $ac_prog_rejected = yes; then
580  # We found a bogon in the path, so make sure we never use it.
581  set dummy $ac_cv_prog_CC
582  shift
583  if test $# -gt 0; then
584    # We chose a different compiler from the bogus one.
585    # However, it has the same basename, so the bogon will be chosen
586    # first if we set CC to just the basename; use the full file name.
587    shift
588    set dummy "$ac_dir/$ac_word" "$@"
589    shift
590    ac_cv_prog_CC="$@"
591  fi
592fi
593fi
594fi
595CC="$ac_cv_prog_CC"
596if test -n "$CC"; then
597  echo "$ac_t""$CC" 1>&6
598else
599  echo "$ac_t""no" 1>&6
600fi
601
602  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
603fi
604
605echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
606echo "configure:607: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
607
608ac_ext=c
609# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
610ac_cpp='$CPP $CPPFLAGS'
611ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
612ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
613cross_compiling=$ac_cv_prog_cc_cross
614
615cat > conftest.$ac_ext <<EOF
616#line 617 "configure"
617#include "confdefs.h"
618main(){return(0);}
619EOF
620if { (eval echo configure:621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
621  ac_cv_prog_cc_works=yes
622  # If we can't run a trivial program, we are probably using a cross compiler.
623  if (./conftest; exit) 2>/dev/null; then
624    ac_cv_prog_cc_cross=no
625  else
626    ac_cv_prog_cc_cross=yes
627  fi
628else
629  echo "configure: failed program was:" >&5
630  cat conftest.$ac_ext >&5
631  ac_cv_prog_cc_works=no
632fi
633rm -fr conftest*
634
635echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
636if test $ac_cv_prog_cc_works = no; then
637  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
638fi
639echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
640echo "configure:641: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
641echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
642cross_compiling=$ac_cv_prog_cc_cross
643
644echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
645echo "configure:646: checking whether we are using GNU C" >&5
646if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
647  echo $ac_n "(cached) $ac_c" 1>&6
648else
649  cat > conftest.c <<EOF
650#ifdef __GNUC__
651  yes;
652#endif
653EOF
654if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
655  ac_cv_prog_gcc=yes
656else
657  ac_cv_prog_gcc=no
658fi
659fi
660
661echo "$ac_t""$ac_cv_prog_gcc" 1>&6
662
663if test $ac_cv_prog_gcc = yes; then
664  GCC=yes
665  ac_test_CFLAGS="${CFLAGS+set}"
666  ac_save_CFLAGS="$CFLAGS"
667  CFLAGS=
668  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
669echo "configure:670: checking whether ${CC-cc} accepts -g" >&5
670if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
671  echo $ac_n "(cached) $ac_c" 1>&6
672else
673  echo 'void f(){}' > conftest.c
674if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
675  ac_cv_prog_cc_g=yes
676else
677  ac_cv_prog_cc_g=no
678fi
679rm -f conftest*
680
681fi
682
683echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
684  if test "$ac_test_CFLAGS" = set; then
685    CFLAGS="$ac_save_CFLAGS"
686  elif test $ac_cv_prog_cc_g = yes; then
687    CFLAGS="-g -O2"
688  else
689    CFLAGS="-O2"
690  fi
691else
692  GCC=
693  test "${CFLAGS+set}" = set || CFLAGS="-g"
694fi
695
696ac_aux_dir=
697for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
698  if test -f $ac_dir/install-sh; then
699    ac_aux_dir=$ac_dir
700    ac_install_sh="$ac_aux_dir/install-sh -c"
701    break
702  elif test -f $ac_dir/install.sh; then
703    ac_aux_dir=$ac_dir
704    ac_install_sh="$ac_aux_dir/install.sh -c"
705    break
706  fi
707done
708if test -z "$ac_aux_dir"; then
709  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
710fi
711ac_config_guess=$ac_aux_dir/config.guess
712ac_config_sub=$ac_aux_dir/config.sub
713ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
714
715# Find a good install program.  We prefer a C program (faster),
716# so one script is as good as another.  But avoid the broken or
717# incompatible versions:
718# SysV /etc/install, /usr/sbin/install
719# SunOS /usr/etc/install
720# IRIX /sbin/install
721# AIX /bin/install
722# AFS /usr/afsws/bin/install, which mishandles nonexistent args
723# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
724# ./install, which can be erroneously created by make from ./install.sh.
725echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
726echo "configure:727: checking for a BSD compatible install" >&5
727if test -z "$INSTALL"; then
728if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
729  echo $ac_n "(cached) $ac_c" 1>&6
730else
731    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
732  for ac_dir in $PATH; do
733    # Account for people who put trailing slashes in PATH elements.
734    case "$ac_dir/" in
735    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
736    *)
737      # OSF1 and SCO ODT 3.0 have their own names for install.
738      for ac_prog in ginstall installbsd scoinst install; do
739        if test -f $ac_dir/$ac_prog; then
740          if test $ac_prog = install &&
741            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
742            # AIX install.  It has an incompatible calling convention.
743            # OSF/1 installbsd also uses dspmsg, but is usable.
744            :
745          else
746            ac_cv_path_install="$ac_dir/$ac_prog -c"
747            break 2
748          fi
749        fi
750      done
751      ;;
752    esac
753  done
754  IFS="$ac_save_IFS"
755
756fi
757  if test "${ac_cv_path_install+set}" = set; then
758    INSTALL="$ac_cv_path_install"
759  else
760    # As a last resort, use the slow shell script.  We don't cache a
761    # path for INSTALL within a source directory, because that will
762    # break other packages using the cache if that directory is
763    # removed, or if the path is relative.
764    INSTALL="$ac_install_sh"
765  fi
766fi
767echo "$ac_t""$INSTALL" 1>&6
768
769# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
770# It thinks the first close brace ends the variable substitution.
771test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
772
773test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
774
775
776echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
777echo "configure:778: checking for gethostbyname" >&5
778if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
779  echo $ac_n "(cached) $ac_c" 1>&6
780else
781  cat > conftest.$ac_ext <<EOF
782#line 783 "configure"
783#include "confdefs.h"
784/* System header to define __stub macros and hopefully few prototypes,
785    which can conflict with char gethostbyname(); below.  */
786#include <assert.h>
787/* Override any gcc2 internal prototype to avoid an error.  */
788/* We use char because int might match the return type of a gcc2
789    builtin and then its argument prototype would still apply.  */
790char gethostbyname();
791
792int main() {
793
794/* The GNU C library defines this for functions which it implements
795    to always fail with ENOSYS.  Some functions are actually named
796    something starting with __ and the normal name is an alias.  */
797#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
798choke me
799#else
800gethostbyname();
801#endif
802
803; return 0; }
804EOF
805if { (eval echo configure:806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
806  rm -rf conftest*
807  eval "ac_cv_func_gethostbyname=yes"
808else
809  echo "configure: failed program was:" >&5
810  cat conftest.$ac_ext >&5
811  rm -rf conftest*
812  eval "ac_cv_func_gethostbyname=no"
813fi
814rm -f conftest*
815fi
816
817if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
818  echo "$ac_t""yes" 1>&6
819  :
820else
821  echo "$ac_t""no" 1>&6
822echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
823echo "configure:824: checking for gethostbyname in -lnsl" >&5
824ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
825if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
826  echo $ac_n "(cached) $ac_c" 1>&6
827else
828  ac_save_LIBS="$LIBS"
829LIBS="-lnsl  $LIBS"
830cat > conftest.$ac_ext <<EOF
831#line 832 "configure"
832#include "confdefs.h"
833/* Override any gcc2 internal prototype to avoid an error.  */
834/* We use char because int might match the return type of a gcc2
835    builtin and then its argument prototype would still apply.  */
836char gethostbyname();
837
838int main() {
839gethostbyname()
840; return 0; }
841EOF
842if { (eval echo configure:843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
843  rm -rf conftest*
844  eval "ac_cv_lib_$ac_lib_var=yes"
845else
846  echo "configure: failed program was:" >&5
847  cat conftest.$ac_ext >&5
848  rm -rf conftest*
849  eval "ac_cv_lib_$ac_lib_var=no"
850fi
851rm -f conftest*
852LIBS="$ac_save_LIBS"
853
854fi
855if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
856  echo "$ac_t""yes" 1>&6
857    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
858    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
859  cat >> confdefs.h <<EOF
860#define $ac_tr_lib 1
861EOF
862
863  LIBS="-lnsl $LIBS"
864
865else
866  echo "$ac_t""no" 1>&6
867fi
868
869fi
870
871echo $ac_n "checking for socket""... $ac_c" 1>&6
872echo "configure:873: checking for socket" >&5
873if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
874  echo $ac_n "(cached) $ac_c" 1>&6
875else
876  cat > conftest.$ac_ext <<EOF
877#line 878 "configure"
878#include "confdefs.h"
879/* System header to define __stub macros and hopefully few prototypes,
880    which can conflict with char socket(); below.  */
881#include <assert.h>
882/* Override any gcc2 internal prototype to avoid an error.  */
883/* We use char because int might match the return type of a gcc2
884    builtin and then its argument prototype would still apply.  */
885char socket();
886
887int main() {
888
889/* The GNU C library defines this for functions which it implements
890    to always fail with ENOSYS.  Some functions are actually named
891    something starting with __ and the normal name is an alias.  */
892#if defined (__stub_socket) || defined (__stub___socket)
893choke me
894#else
895socket();
896#endif
897
898; return 0; }
899EOF
900if { (eval echo configure:901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
901  rm -rf conftest*
902  eval "ac_cv_func_socket=yes"
903else
904  echo "configure: failed program was:" >&5
905  cat conftest.$ac_ext >&5
906  rm -rf conftest*
907  eval "ac_cv_func_socket=no"
908fi
909rm -f conftest*
910fi
911
912if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
913  echo "$ac_t""yes" 1>&6
914  :
915else
916  echo "$ac_t""no" 1>&6
917echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
918echo "configure:919: checking for socket in -lsocket" >&5
919ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
920if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
921  echo $ac_n "(cached) $ac_c" 1>&6
922else
923  ac_save_LIBS="$LIBS"
924LIBS="-lsocket  $LIBS"
925cat > conftest.$ac_ext <<EOF
926#line 927 "configure"
927#include "confdefs.h"
928/* Override any gcc2 internal prototype to avoid an error.  */
929/* We use char because int might match the return type of a gcc2
930    builtin and then its argument prototype would still apply.  */
931char socket();
932
933int main() {
934socket()
935; return 0; }
936EOF
937if { (eval echo configure:938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
938  rm -rf conftest*
939  eval "ac_cv_lib_$ac_lib_var=yes"
940else
941  echo "configure: failed program was:" >&5
942  cat conftest.$ac_ext >&5
943  rm -rf conftest*
944  eval "ac_cv_lib_$ac_lib_var=no"
945fi
946rm -f conftest*
947LIBS="$ac_save_LIBS"
948
949fi
950if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
951  echo "$ac_t""yes" 1>&6
952    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
953    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
954  cat >> confdefs.h <<EOF
955#define $ac_tr_lib 1
956EOF
957
958  LIBS="-lsocket $LIBS"
959
960else
961  echo "$ac_t""no" 1>&6
962fi
963
964fi
965
966# Check whether --with-krb4 or --without-krb4 was given.
967if test "${with_krb4+set}" = set; then
968  withval="$with_krb4"
969  krb4="$withval"
970else
971  krb4=no
972fi
973
974if test "$krb4" != no; then
975        echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
976echo "configure:977: checking for gethostbyname" >&5
977if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
978  echo $ac_n "(cached) $ac_c" 1>&6
979else
980  cat > conftest.$ac_ext <<EOF
981#line 982 "configure"
982#include "confdefs.h"
983/* System header to define __stub macros and hopefully few prototypes,
984    which can conflict with char gethostbyname(); below.  */
985#include <assert.h>
986/* Override any gcc2 internal prototype to avoid an error.  */
987/* We use char because int might match the return type of a gcc2
988    builtin and then its argument prototype would still apply.  */
989char gethostbyname();
990
991int main() {
992
993/* The GNU C library defines this for functions which it implements
994    to always fail with ENOSYS.  Some functions are actually named
995    something starting with __ and the normal name is an alias.  */
996#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
997choke me
998#else
999gethostbyname();
1000#endif
1001
1002; return 0; }
1003EOF
1004if { (eval echo configure:1005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1005  rm -rf conftest*
1006  eval "ac_cv_func_gethostbyname=yes"
1007else
1008  echo "configure: failed program was:" >&5
1009  cat conftest.$ac_ext >&5
1010  rm -rf conftest*
1011  eval "ac_cv_func_gethostbyname=no"
1012fi
1013rm -f conftest*
1014fi
1015
1016if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1017  echo "$ac_t""yes" 1>&6
1018  :
1019else
1020  echo "$ac_t""no" 1>&6
1021echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1022echo "configure:1023: checking for gethostbyname in -lnsl" >&5
1023ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1024if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1025  echo $ac_n "(cached) $ac_c" 1>&6
1026else
1027  ac_save_LIBS="$LIBS"
1028LIBS="-lnsl  $LIBS"
1029cat > conftest.$ac_ext <<EOF
1030#line 1031 "configure"
1031#include "confdefs.h"
1032/* Override any gcc2 internal prototype to avoid an error.  */
1033/* We use char because int might match the return type of a gcc2
1034    builtin and then its argument prototype would still apply.  */
1035char gethostbyname();
1036
1037int main() {
1038gethostbyname()
1039; return 0; }
1040EOF
1041if { (eval echo configure:1042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1042  rm -rf conftest*
1043  eval "ac_cv_lib_$ac_lib_var=yes"
1044else
1045  echo "configure: failed program was:" >&5
1046  cat conftest.$ac_ext >&5
1047  rm -rf conftest*
1048  eval "ac_cv_lib_$ac_lib_var=no"
1049fi
1050rm -f conftest*
1051LIBS="$ac_save_LIBS"
1052
1053fi
1054if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1055  echo "$ac_t""yes" 1>&6
1056    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
1057    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1058  cat >> confdefs.h <<EOF
1059#define $ac_tr_lib 1
1060EOF
1061
1062  LIBS="-lnsl $LIBS"
1063
1064else
1065  echo "$ac_t""no" 1>&6
1066fi
1067
1068fi
1069
1070echo $ac_n "checking for socket""... $ac_c" 1>&6
1071echo "configure:1072: checking for socket" >&5
1072if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
1073  echo $ac_n "(cached) $ac_c" 1>&6
1074else
1075  cat > conftest.$ac_ext <<EOF
1076#line 1077 "configure"
1077#include "confdefs.h"
1078/* System header to define __stub macros and hopefully few prototypes,
1079    which can conflict with char socket(); below.  */
1080#include <assert.h>
1081/* Override any gcc2 internal prototype to avoid an error.  */
1082/* We use char because int might match the return type of a gcc2
1083    builtin and then its argument prototype would still apply.  */
1084char socket();
1085
1086int main() {
1087
1088/* The GNU C library defines this for functions which it implements
1089    to always fail with ENOSYS.  Some functions are actually named
1090    something starting with __ and the normal name is an alias.  */
1091#if defined (__stub_socket) || defined (__stub___socket)
1092choke me
1093#else
1094socket();
1095#endif
1096
1097; return 0; }
1098EOF
1099if { (eval echo configure:1100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1100  rm -rf conftest*
1101  eval "ac_cv_func_socket=yes"
1102else
1103  echo "configure: failed program was:" >&5
1104  cat conftest.$ac_ext >&5
1105  rm -rf conftest*
1106  eval "ac_cv_func_socket=no"
1107fi
1108rm -f conftest*
1109fi
1110
1111if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
1112  echo "$ac_t""yes" 1>&6
1113  :
1114else
1115  echo "$ac_t""no" 1>&6
1116echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
1117echo "configure:1118: checking for socket in -lsocket" >&5
1118ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
1119if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1120  echo $ac_n "(cached) $ac_c" 1>&6
1121else
1122  ac_save_LIBS="$LIBS"
1123LIBS="-lsocket  $LIBS"
1124cat > conftest.$ac_ext <<EOF
1125#line 1126 "configure"
1126#include "confdefs.h"
1127/* Override any gcc2 internal prototype to avoid an error.  */
1128/* We use char because int might match the return type of a gcc2
1129    builtin and then its argument prototype would still apply.  */
1130char socket();
1131
1132int main() {
1133socket()
1134; return 0; }
1135EOF
1136if { (eval echo configure:1137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1137  rm -rf conftest*
1138  eval "ac_cv_lib_$ac_lib_var=yes"
1139else
1140  echo "configure: failed program was:" >&5
1141  cat conftest.$ac_ext >&5
1142  rm -rf conftest*
1143  eval "ac_cv_lib_$ac_lib_var=no"
1144fi
1145rm -f conftest*
1146LIBS="$ac_save_LIBS"
1147
1148fi
1149if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1150  echo "$ac_t""yes" 1>&6
1151    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
1152    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1153  cat >> confdefs.h <<EOF
1154#define $ac_tr_lib 1
1155EOF
1156
1157  LIBS="-lsocket $LIBS"
1158
1159else
1160  echo "$ac_t""no" 1>&6
1161fi
1162
1163fi
1164
1165echo $ac_n "checking for compile in -lgen""... $ac_c" 1>&6
1166echo "configure:1167: checking for compile in -lgen" >&5
1167ac_lib_var=`echo gen'_'compile | sed 'y%./+-%__p_%'`
1168if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1169  echo $ac_n "(cached) $ac_c" 1>&6
1170else
1171  ac_save_LIBS="$LIBS"
1172LIBS="-lgen  $LIBS"
1173cat > conftest.$ac_ext <<EOF
1174#line 1175 "configure"
1175#include "confdefs.h"
1176/* Override any gcc2 internal prototype to avoid an error.  */
1177/* We use char because int might match the return type of a gcc2
1178    builtin and then its argument prototype would still apply.  */
1179char compile();
1180
1181int main() {
1182compile()
1183; return 0; }
1184EOF
1185if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1186  rm -rf conftest*
1187  eval "ac_cv_lib_$ac_lib_var=yes"
1188else
1189  echo "configure: failed program was:" >&5
1190  cat conftest.$ac_ext >&5
1191  rm -rf conftest*
1192  eval "ac_cv_lib_$ac_lib_var=no"
1193fi
1194rm -f conftest*
1195LIBS="$ac_save_LIBS"
1196
1197fi
1198if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1199  echo "$ac_t""yes" 1>&6
1200    ac_tr_lib=HAVE_LIB`echo gen | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1201    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1202  cat >> confdefs.h <<EOF
1203#define $ac_tr_lib 1
1204EOF
1205
1206  LIBS="-lgen $LIBS"
1207
1208else
1209  echo "$ac_t""no" 1>&6
1210fi
1211
1212if test "$krb4" != yes; then
1213        CPPFLAGS="$CPPFLAGS -I$krb4/include"
1214        if test -d "$krb4/include/kerberosIV"; then
1215                CPPFLAGS="$CPPFLAGS -I$krb4/include/kerberosIV"
1216        fi
1217        LDFLAGS="$LDFLAGS -L$krb4/lib"
1218elif test -d /usr/include/kerberosIV; then
1219        CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV"
1220fi
1221echo $ac_n "checking for krb_rd_req in -lkrb4""... $ac_c" 1>&6
1222echo "configure:1223: checking for krb_rd_req in -lkrb4" >&5
1223ac_lib_var=`echo krb4'_'krb_rd_req | sed 'y%./+-%__p_%'`
1224if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1225  echo $ac_n "(cached) $ac_c" 1>&6
1226else
1227  ac_save_LIBS="$LIBS"
1228LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err $LIBS"
1229cat > conftest.$ac_ext <<EOF
1230#line 1231 "configure"
1231#include "confdefs.h"
1232/* Override any gcc2 internal prototype to avoid an error.  */
1233/* We use char because int might match the return type of a gcc2
1234    builtin and then its argument prototype would still apply.  */
1235char krb_rd_req();
1236
1237int main() {
1238krb_rd_req()
1239; return 0; }
1240EOF
1241if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1242  rm -rf conftest*
1243  eval "ac_cv_lib_$ac_lib_var=yes"
1244else
1245  echo "configure: failed program was:" >&5
1246  cat conftest.$ac_ext >&5
1247  rm -rf conftest*
1248  eval "ac_cv_lib_$ac_lib_var=no"
1249fi
1250rm -f conftest*
1251LIBS="$ac_save_LIBS"
1252
1253fi
1254if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1255  echo "$ac_t""yes" 1>&6
1256  KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err"
1257else
1258  echo "$ac_t""no" 1>&6
1259echo $ac_n "checking for krb_rd_req in -lkrb""... $ac_c" 1>&6
1260echo "configure:1261: checking for krb_rd_req in -lkrb" >&5
1261ac_lib_var=`echo krb'_'krb_rd_req | 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="-lkrb -ldes $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 krb_rd_req();
1274
1275int main() {
1276krb_rd_req()
1277; return 0; }
1278EOF
1279if { (eval echo configure:1280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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  KRB4_LIBS="-lkrb -ldes"
1295else
1296  echo "$ac_t""no" 1>&6
1297{ echo "configure: error: Kerberos 4 libraries not found" 1>&2; exit 1; }
1298fi
1299
1300fi
1301
1302        cat >> confdefs.h <<\EOF
1303#define HAVE_KRB4 1
1304EOF
1305
1306fi
1307
1308# Check whether --with-hesiod or --without-hesiod was given.
1309if test "${with_hesiod+set}" = set; then
1310  withval="$with_hesiod"
1311  hesiod="$withval"
1312else
1313  hesiod=no
1314fi
1315
1316if test "$hesiod" != no; then
1317        echo $ac_n "checking for res_send""... $ac_c" 1>&6
1318echo "configure:1319: checking for res_send" >&5
1319if eval "test \"`echo '$''{'ac_cv_func_res_send'+set}'`\" = set"; then
1320  echo $ac_n "(cached) $ac_c" 1>&6
1321else
1322  cat > conftest.$ac_ext <<EOF
1323#line 1324 "configure"
1324#include "confdefs.h"
1325/* System header to define __stub macros and hopefully few prototypes,
1326    which can conflict with char res_send(); below.  */
1327#include <assert.h>
1328/* Override any gcc2 internal prototype to avoid an error.  */
1329/* We use char because int might match the return type of a gcc2
1330    builtin and then its argument prototype would still apply.  */
1331char res_send();
1332
1333int main() {
1334
1335/* The GNU C library defines this for functions which it implements
1336    to always fail with ENOSYS.  Some functions are actually named
1337    something starting with __ and the normal name is an alias.  */
1338#if defined (__stub_res_send) || defined (__stub___res_send)
1339choke me
1340#else
1341res_send();
1342#endif
1343
1344; return 0; }
1345EOF
1346if { (eval echo configure:1347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1347  rm -rf conftest*
1348  eval "ac_cv_func_res_send=yes"
1349else
1350  echo "configure: failed program was:" >&5
1351  cat conftest.$ac_ext >&5
1352  rm -rf conftest*
1353  eval "ac_cv_func_res_send=no"
1354fi
1355rm -f conftest*
1356fi
1357
1358if eval "test \"`echo '$ac_cv_func_'res_send`\" = yes"; then
1359  echo "$ac_t""yes" 1>&6
1360  :
1361else
1362  echo "$ac_t""no" 1>&6
1363echo $ac_n "checking for res_send in -lresolv""... $ac_c" 1>&6
1364echo "configure:1365: checking for res_send in -lresolv" >&5
1365ac_lib_var=`echo resolv'_'res_send | sed 'y%./+-%__p_%'`
1366if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1367  echo $ac_n "(cached) $ac_c" 1>&6
1368else
1369  ac_save_LIBS="$LIBS"
1370LIBS="-lresolv  $LIBS"
1371cat > conftest.$ac_ext <<EOF
1372#line 1373 "configure"
1373#include "confdefs.h"
1374/* Override any gcc2 internal prototype to avoid an error.  */
1375/* We use char because int might match the return type of a gcc2
1376    builtin and then its argument prototype would still apply.  */
1377char res_send();
1378
1379int main() {
1380res_send()
1381; return 0; }
1382EOF
1383if { (eval echo configure:1384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1384  rm -rf conftest*
1385  eval "ac_cv_lib_$ac_lib_var=yes"
1386else
1387  echo "configure: failed program was:" >&5
1388  cat conftest.$ac_ext >&5
1389  rm -rf conftest*
1390  eval "ac_cv_lib_$ac_lib_var=no"
1391fi
1392rm -f conftest*
1393LIBS="$ac_save_LIBS"
1394
1395fi
1396if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1397  echo "$ac_t""yes" 1>&6
1398    ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/^a-zA-Z0-9_/_/g' \
1399    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1400  cat >> confdefs.h <<EOF
1401#define $ac_tr_lib 1
1402EOF
1403
1404  LIBS="-lresolv $LIBS"
1405
1406else
1407  echo "$ac_t""no" 1>&6
1408fi
1409
1410fi
1411
1412if test "$hesiod" != yes; then
1413        CPPFLAGS="$CPPFLAGS -I$hesiod/include"
1414        LDFLAGS="$LDFLAGS -L$hesiod/lib"
1415fi
1416echo $ac_n "checking for hes_resolve in -lhesiod""... $ac_c" 1>&6
1417echo "configure:1418: checking for hes_resolve in -lhesiod" >&5
1418ac_lib_var=`echo hesiod'_'hes_resolve | sed 'y%./+-%__p_%'`
1419if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1420  echo $ac_n "(cached) $ac_c" 1>&6
1421else
1422  ac_save_LIBS="$LIBS"
1423LIBS="-lhesiod  $LIBS"
1424cat > conftest.$ac_ext <<EOF
1425#line 1426 "configure"
1426#include "confdefs.h"
1427/* Override any gcc2 internal prototype to avoid an error.  */
1428/* We use char because int might match the return type of a gcc2
1429    builtin and then its argument prototype would still apply.  */
1430char hes_resolve();
1431
1432int main() {
1433hes_resolve()
1434; return 0; }
1435EOF
1436if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1437  rm -rf conftest*
1438  eval "ac_cv_lib_$ac_lib_var=yes"
1439else
1440  echo "configure: failed program was:" >&5
1441  cat conftest.$ac_ext >&5
1442  rm -rf conftest*
1443  eval "ac_cv_lib_$ac_lib_var=no"
1444fi
1445rm -f conftest*
1446LIBS="$ac_save_LIBS"
1447
1448fi
1449if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1450  echo "$ac_t""yes" 1>&6
1451  :
1452else
1453  echo "$ac_t""no" 1>&6
1454{ echo "configure: error: Hesiod library not found" 1>&2; exit 1; }
1455fi
1456
1457        HESIOD_LIBS="-lhesiod"
1458        cat >> confdefs.h <<\EOF
1459#define HAVE_HESIOD 1
1460EOF
1461
1462fi
1463
1464
1465trap '' 1 2 15
1466cat > confcache <<\EOF
1467# This file is a shell script that caches the results of configure
1468# tests run on this system so they can be shared between configure
1469# scripts and configure runs.  It is not useful on other systems.
1470# If it contains results you don't want to keep, you may remove or edit it.
1471#
1472# By default, configure uses ./config.cache as the cache file,
1473# creating it if it does not exist already.  You can give configure
1474# the --cache-file=FILE option to use a different cache file; that is
1475# what configure does when it calls configure scripts in
1476# subdirectories, so they share the cache.
1477# Giving --cache-file=/dev/null disables caching, for debugging configure.
1478# config.status only pays attention to the cache file if you give it the
1479# --recheck option to rerun configure.
1480#
1481EOF
1482# The following way of writing the cache mishandles newlines in values,
1483# but we know of no workaround that is simple, portable, and efficient.
1484# So, don't put newlines in cache variables' values.
1485# Ultrix sh set writes to stderr and can't be redirected directly,
1486# and sets the high bit in the cache file unless we assign to the vars.
1487(set) 2>&1 |
1488  case `(ac_space=' '; set) 2>&1` in
1489  *ac_space=\ *)
1490    # `set' does not quote correctly, so add quotes (double-quote substitution
1491    # turns \\\\ into \\, and sed turns \\ into \).
1492    sed -n \
1493      -e "s/'/'\\\\''/g" \
1494      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1495    ;;
1496  *)
1497    # `set' quotes correctly as required by POSIX, so do not add quotes.
1498    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1499    ;;
1500  esac >> confcache
1501if cmp -s $cache_file confcache; then
1502  :
1503else
1504  if test -w $cache_file; then
1505    echo "updating cache $cache_file"
1506    cat confcache > $cache_file
1507  else
1508    echo "not updating unwritable cache $cache_file"
1509  fi
1510fi
1511rm -f confcache
1512
1513trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1514
1515test "x$prefix" = xNONE && prefix=$ac_default_prefix
1516# Let make expand exec_prefix.
1517test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1518
1519# Any assignment to VPATH causes Sun make to only execute
1520# the first set of double-colon rules, so remove it if not needed.
1521# If there is a colon in the path, we need to keep it.
1522if test "x$srcdir" = x.; then
1523  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1524fi
1525
1526trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1527
1528# Transform confdefs.h into DEFS.
1529# Protect against shell expansion while executing Makefile rules.
1530# Protect against Makefile macro expansion.
1531cat > conftest.defs <<\EOF
1532s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1533s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1534s%\[%\\&%g
1535s%\]%\\&%g
1536s%\$%$$%g
1537EOF
1538DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1539rm -f conftest.defs
1540
1541
1542# Without the "./", some shells look in PATH for config.status.
1543: ${CONFIG_STATUS=./config.status}
1544
1545echo creating $CONFIG_STATUS
1546rm -f $CONFIG_STATUS
1547cat > $CONFIG_STATUS <<EOF
1548#! /bin/sh
1549# Generated automatically by configure.
1550# Run this file to recreate the current configuration.
1551# This directory was configured as follows,
1552# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1553#
1554# $0 $ac_configure_args
1555#
1556# Compiler output produced by configure, useful for debugging
1557# configure, is in ./config.log if it exists.
1558
1559ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1560for ac_option
1561do
1562  case "\$ac_option" in
1563  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1564    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1565    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1566  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1567    echo "$CONFIG_STATUS generated by autoconf version 2.12"
1568    exit 0 ;;
1569  -help | --help | --hel | --he | --h)
1570    echo "\$ac_cs_usage"; exit 0 ;;
1571  *) echo "\$ac_cs_usage"; exit 1 ;;
1572  esac
1573done
1574
1575ac_given_srcdir=$srcdir
1576ac_given_INSTALL="$INSTALL"
1577
1578trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1579EOF
1580cat >> $CONFIG_STATUS <<EOF
1581
1582# Protect against being on the right side of a sed subst in config.status.
1583sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1584 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1585$ac_vpsub
1586$extrasub
1587s%@CFLAGS@%$CFLAGS%g
1588s%@CPPFLAGS@%$CPPFLAGS%g
1589s%@CXXFLAGS@%$CXXFLAGS%g
1590s%@DEFS@%$DEFS%g
1591s%@LDFLAGS@%$LDFLAGS%g
1592s%@LIBS@%$LIBS%g
1593s%@exec_prefix@%$exec_prefix%g
1594s%@prefix@%$prefix%g
1595s%@program_transform_name@%$program_transform_name%g
1596s%@bindir@%$bindir%g
1597s%@sbindir@%$sbindir%g
1598s%@libexecdir@%$libexecdir%g
1599s%@datadir@%$datadir%g
1600s%@sysconfdir@%$sysconfdir%g
1601s%@sharedstatedir@%$sharedstatedir%g
1602s%@localstatedir@%$localstatedir%g
1603s%@libdir@%$libdir%g
1604s%@includedir@%$includedir%g
1605s%@oldincludedir@%$oldincludedir%g
1606s%@infodir@%$infodir%g
1607s%@mandir@%$mandir%g
1608s%@CC@%$CC%g
1609s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1610s%@INSTALL_DATA@%$INSTALL_DATA%g
1611s%@KRB4_LIBS@%$KRB4_LIBS%g
1612s%@HESIOD_LIBS@%$HESIOD_LIBS%g
1613
1614CEOF
1615EOF
1616
1617cat >> $CONFIG_STATUS <<\EOF
1618
1619# Split the substitutions into bite-sized pieces for seds with
1620# small command number limits, like on Digital OSF/1 and HP-UX.
1621ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1622ac_file=1 # Number of current file.
1623ac_beg=1 # First line for current file.
1624ac_end=$ac_max_sed_cmds # Line after last line for current file.
1625ac_more_lines=:
1626ac_sed_cmds=""
1627while $ac_more_lines; do
1628  if test $ac_beg -gt 1; then
1629    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1630  else
1631    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1632  fi
1633  if test ! -s conftest.s$ac_file; then
1634    ac_more_lines=false
1635    rm -f conftest.s$ac_file
1636  else
1637    if test -z "$ac_sed_cmds"; then
1638      ac_sed_cmds="sed -f conftest.s$ac_file"
1639    else
1640      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1641    fi
1642    ac_file=`expr $ac_file + 1`
1643    ac_beg=$ac_end
1644    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1645  fi
1646done
1647if test -z "$ac_sed_cmds"; then
1648  ac_sed_cmds=cat
1649fi
1650EOF
1651
1652cat >> $CONFIG_STATUS <<EOF
1653
1654CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1655EOF
1656cat >> $CONFIG_STATUS <<\EOF
1657for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1658  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1659  case "$ac_file" in
1660  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1661       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1662  *) ac_file_in="${ac_file}.in" ;;
1663  esac
1664
1665  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1666
1667  # Remove last slash and all that follows it.  Not all systems have dirname.
1668  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1669  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1670    # The file is in a subdirectory.
1671    test ! -d "$ac_dir" && mkdir "$ac_dir"
1672    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1673    # A "../" for each directory in $ac_dir_suffix.
1674    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1675  else
1676    ac_dir_suffix= ac_dots=
1677  fi
1678
1679  case "$ac_given_srcdir" in
1680  .)  srcdir=.
1681      if test -z "$ac_dots"; then top_srcdir=.
1682      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1683  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1684  *) # Relative path.
1685    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1686    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1687  esac
1688
1689  case "$ac_given_INSTALL" in
1690  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1691  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1692  esac
1693
1694  echo creating "$ac_file"
1695  rm -f "$ac_file"
1696  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1697  case "$ac_file" in
1698  *Makefile*) ac_comsub="1i\\
1699# $configure_input" ;;
1700  *) ac_comsub= ;;
1701  esac
1702
1703  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1704  sed -e "$ac_comsub
1705s%@configure_input@%$configure_input%g
1706s%@srcdir@%$srcdir%g
1707s%@top_srcdir@%$top_srcdir%g
1708s%@INSTALL@%$INSTALL%g
1709" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1710fi; done
1711rm -f conftest.s*
1712
1713EOF
1714cat >> $CONFIG_STATUS <<EOF
1715
1716EOF
1717cat >> $CONFIG_STATUS <<\EOF
1718
1719exit 0
1720EOF
1721chmod +x $CONFIG_STATUS
1722rm -fr confdefs* $ac_clean_files
1723test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1724
Note: See TracBrowser for help on using the repository browser.