1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.12.971230
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# This line gets removed when running autoconf with --debug option
11# set -x
12
13# Defaults:
14ac_help=
15ac_default_prefix=/usr/local
16
17# Any additions from configure.in:
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
187cat <<EOF
188--enable and --with options recognized:
189  --enable-rpop           Use RPOP (suidperl is needed)
190  --with-perldir=DIR     Use DIR as site_perl directory
191EOF
192    exit 0 ;;
193
194  -host | --host | --hos | --ho)
195    ac_prev=host ;;
196  -host=* | --host=* | --hos=* | --ho=*)
197    host="$ac_optarg" ;;
198
199  -includedir | --includedir | --includedi | --included | --include \
200  | --includ | --inclu | --incl | --inc)
201    ac_prev=includedir ;;
202  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
203  | --includ=* | --inclu=* | --incl=* | --inc=*)
204    includedir="$ac_optarg" ;;
205
206  -infodir | --infodir | --infodi | --infod | --info | --inf)
207    ac_prev=infodir ;;
208  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
209    infodir="$ac_optarg" ;;
210
211  -libdir | --libdir | --libdi | --libd)
212    ac_prev=libdir ;;
213  -libdir=* | --libdir=* | --libdi=* | --libd=*)
214    libdir="$ac_optarg" ;;
215
216  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
217  | --libexe | --libex | --libe)
218    ac_prev=libexecdir ;;
219  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
220  | --libexe=* | --libex=* | --libe=*)
221    libexecdir="$ac_optarg" ;;
222
223  -localstatedir | --localstatedir | --localstatedi | --localstated \
224  | --localstate | --localstat | --localsta | --localst \
225  | --locals | --local | --loca | --loc | --lo)
226    ac_prev=localstatedir ;;
227  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
228  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
229  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
230    localstatedir="$ac_optarg" ;;
231
232  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
233    ac_prev=mandir ;;
234  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
235    mandir="$ac_optarg" ;;
236
237  -nfp | --nfp | --nf)
238    # Obsolete; use --without-fp.
239    with_fp=no ;;
240
241  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
242  | --no-cr | --no-c)
243    no_create=yes ;;
244
245  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
246  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
247    no_recursion=yes ;;
248
249  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
250  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
251  | --oldin | --oldi | --old | --ol | --o)
252    ac_prev=oldincludedir ;;
253  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
254  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
255  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
256    oldincludedir="$ac_optarg" ;;
257
258  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
259    ac_prev=prefix ;;
260  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
261    prefix="$ac_optarg" ;;
262
263  -program-prefix | --program-prefix | --program-prefi | --program-pref \
264  | --program-pre | --program-pr | --program-p)
265    ac_prev=program_prefix ;;
266  -program-prefix=* | --program-prefix=* | --program-prefi=* \
267  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
268    program_prefix="$ac_optarg" ;;
269
270  -program-suffix | --program-suffix | --program-suffi | --program-suff \
271  | --program-suf | --program-su | --program-s)
272    ac_prev=program_suffix ;;
273  -program-suffix=* | --program-suffix=* | --program-suffi=* \
274  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
275    program_suffix="$ac_optarg" ;;
276
277  -program-transform-name | --program-transform-name \
278  | --program-transform-nam | --program-transform-na \
279  | --program-transform-n | --program-transform- \
280  | --program-transform | --program-transfor \
281  | --program-transfo | --program-transf \
282  | --program-trans | --program-tran \
283  | --progr-tra | --program-tr | --program-t)
284    ac_prev=program_transform_name ;;
285  -program-transform-name=* | --program-transform-name=* \
286  | --program-transform-nam=* | --program-transform-na=* \
287  | --program-transform-n=* | --program-transform-=* \
288  | --program-transform=* | --program-transfor=* \
289  | --program-transfo=* | --program-transf=* \
290  | --program-trans=* | --program-tran=* \
291  | --progr-tra=* | --program-tr=* | --program-t=*)
292    program_transform_name="$ac_optarg" ;;
293
294  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
295  | -silent | --silent | --silen | --sile | --sil)
296    silent=yes ;;
297
298  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
299    ac_prev=sbindir ;;
300  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
301  | --sbi=* | --sb=*)
302    sbindir="$ac_optarg" ;;
303
304  -sharedstatedir | --sharedstatedir | --sharedstatedi \
305  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
306  | --sharedst | --shareds | --shared | --share | --shar \
307  | --sha | --sh)
308    ac_prev=sharedstatedir ;;
309  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
310  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
311  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
312  | --sha=* | --sh=*)
313    sharedstatedir="$ac_optarg" ;;
314
315  -site | --site | --sit)
316    ac_prev=site ;;
317  -site=* | --site=* | --sit=*)
318    site="$ac_optarg" ;;
319
320  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
321    ac_prev=srcdir ;;
322  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
323    srcdir="$ac_optarg" ;;
324
325  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
326  | --syscon | --sysco | --sysc | --sys | --sy)
327    ac_prev=sysconfdir ;;
328  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
329  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
330    sysconfdir="$ac_optarg" ;;
331
332  -target | --target | --targe | --targ | --tar | --ta | --t)
333    ac_prev=target ;;
334  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
335    target="$ac_optarg" ;;
336
337  -v | -verbose | --verbose | --verbos | --verbo | --verb)
338    verbose=yes ;;
339
340  -version | --version | --versio | --versi | --vers)
341    echo "configure generated by autoconf version 2.12.971230"
342    exit 0 ;;
343
344  -with-* | --with-*)
345    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
346    # Reject names that are not valid shell variable names.
347    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
348      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
349    fi
350    ac_package=`echo $ac_package| sed 's/-/_/g'`
351    case "$ac_option" in
352      *=*) ;;
353      *) ac_optarg=yes ;;
354    esac
355    eval "with_${ac_package}='$ac_optarg'" ;;
356
357  -without-* | --without-*)
358    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
359    # Reject names that are not valid shell variable names.
360    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
361      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362    fi
363    ac_package=`echo $ac_package| sed 's/-/_/g'`
364    eval "with_${ac_package}=no" ;;
365
366  --x)
367    # Obsolete; use --with-x.
368    with_x=yes ;;
369
370  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
371  | --x-incl | --x-inc | --x-in | --x-i)
372    ac_prev=x_includes ;;
373  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
374  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
375    x_includes="$ac_optarg" ;;
376
377  -x-libraries | --x-libraries | --x-librarie | --x-librari \
378  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
379    ac_prev=x_libraries ;;
380  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
381  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
382    x_libraries="$ac_optarg" ;;
383
384  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
385    ;;
386
387  *)
388    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
389      echo "configure: warning: $ac_option: invalid host type" 1>&2
390    fi
391    if test "x$nonopt" != xNONE; then
392      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
393    fi
394    nonopt="$ac_option"
395    ;;
396
397  esac
398done
399
400if test -n "$ac_prev"; then
401  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
402fi
403
404trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
405
406# File descriptor usage:
407# 0 standard input
408# 1 file creation
409# 2 errors and warnings
410# 3 some systems may open it to /dev/tty
411# 4 used on the Kubota Titan
412# 6 checking for... messages and results
413# 5 compiler messages saved in config.log
414if test "$silent" = yes; then
415  exec 6>/dev/null
416else
417  exec 6>&1
418fi
419exec 5>./config.log
420
421echo "\
422This file contains any messages produced by compilers while
423running configure, to aid debugging if configure makes a mistake.
424" 1>&5
425
426# Strip out --no-create and --no-recursion so they do not pile up.
427# Also quote any args containing shell metacharacters.
428ac_configure_args=
429for ac_arg
430do
431  case "$ac_arg" in
432  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433  | --no-cr | --no-c) ;;
434  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
435  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
436  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
437  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
438  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
439  esac
440done
441
442# NLS nuisances.
443# Only set these to C if already set.  These must not be set unconditionally
444# because not all systems understand e.g. LANG=C (notably SCO).
445# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
446# Non-C LC_CTYPE values break the ctype check.
447if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
448if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
449if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
450if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
451
452# confdefs.h avoids OS command line length limits that DEFS can exceed.
453rm -rf conftest* confdefs.h
454# AIX cpp loses on an empty file, so make sure it contains at least a newline.
455echo > confdefs.h
456
457# A filename unique to this package, relative to the directory that
458# configure is in, which we can look for to find out if srcdir is correct.
459ac_unique_file=imget.in
460
461# Find the source files, if location was not specified.
462if test -z "$srcdir"; then
463  ac_srcdir_defaulted=yes
464  # Try the directory containing this script, then its parent.
465  ac_prog=$0
466  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
467  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
468  srcdir=$ac_confdir
469  if test ! -r $srcdir/$ac_unique_file; then
470    srcdir=..
471  fi
472else
473  ac_srcdir_defaulted=no
474fi
475if test ! -r $srcdir/$ac_unique_file; then
476  if test "$ac_srcdir_defaulted" = yes; then
477    { echo "configure: error: cannot find sources in $ac_confdir or .." 1>&2; exit 1; }
478  else
479    { echo "configure: error: cannot find sources in $srcdir" 1>&2; exit 1; }
480  fi
481fi
482srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
483
484# Prefer explicitly selected file to automatically selected ones.
485if test -z "$CONFIG_SITE"; then
486  if test "x$prefix" != xNONE; then
487    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
488  else
489    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
490  fi
491fi
492for ac_site_file in $CONFIG_SITE; do
493  if test -r "$ac_site_file"; then
494    echo "loading site script $ac_site_file"
495    . "$ac_site_file"
496  fi
497done
498
499if test -r "$cache_file"; then
500  echo "loading cache $cache_file"
501  . $cache_file
502else
503  echo "creating cache $cache_file"
504  > $cache_file
505fi
506
507ac_ext=c
508# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
509ac_cpp='$CPP $CPPFLAGS'
510ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
511ac_link='${CC-cc} -o conftest${EXE_EXT} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
512cross_compiling=$ac_cv_prog_cc_cross
513
514# Filter path to get backslahes into forwardslashes
515FPATH="$PATH"
516FPATH=`echo -E "$FPATH" | sed 's+\\\\+/+g'`
517case `uname -s` in
518OS/2)	EXE_EXT=.exe SCR_EXT=.cmd LIB_EXT=.a LIB_PRE= OBJ_EXT=.o
519	PATH_IFS=';'
520	# Defaults for EMX. They can be overriden by setting environment
521	# variables with these names.
522	: ${CC=gcc}
523	: ${MAKE=make.exe}
524	: ${CXX=gcc}
525	: ${CPP="gcc.exe -E"}
526	: ${CFLAGS="-O2 -Zmt"}
527	: ${CXXFLAGS="-O2 -Zmt"}
528	: ${LDFLAGS="-Zcrtdll -Zsysv-signals -Zbin-files"}
529	: ${LIBS="-lsocket -lbsd"}
530	: ${CONFIG_SHELL=sh}
531	;;
532*)	EXE_EXT= SCR_EXT= LIB_EXT=.a LIB_PRE=lib OBJ_EXT=.o
533	PATH_IFS=':'
534	;;
535esac
536
537
538
539
540if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
541  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
542  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
543    ac_n= ac_c='
544' ac_t='	'
545  else
546    ac_n=-n ac_c= ac_t=
547  fi
548else
549  ac_n= ac_c='\c' ac_t=
550fi
551
552
553
554ac_aux_dir=
555for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
556  if test -f $ac_dir/install-sh; then
557    ac_aux_dir=$ac_dir
558    ac_install_sh="$ac_aux_dir/install-sh -c"
559    break
560  elif test -f $ac_dir/install.sh; then
561    ac_aux_dir=$ac_dir
562    ac_install_sh="$ac_aux_dir/install.sh -c"
563    break
564  fi
565done
566if test -z "$ac_aux_dir"; then
567  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
568fi
569ac_config_guess=$ac_aux_dir/config.guess
570ac_config_sub=$ac_aux_dir/config.sub
571ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
572
573# Find a good install program.  We prefer a C program (faster),
574# so one script is as good as another.  But avoid the broken or
575# incompatible versions:
576# SysV /etc/install, /usr/sbin/install
577# SunOS /usr/etc/install
578# IRIX /sbin/install
579# AIX /bin/install
580# AFS /usr/afsws/bin/install, which mishandles nonexistent args
581# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
582# ./install, which can be erroneously created by make from ./install.sh.
583echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
584echo "configure:585: checking for a BSD compatible install" >&5
585if test -z "$INSTALL"; then
586if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
587  echo $ac_n "(cached) $ac_c" 1>&6
588else
589    IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"
590  for ac_dir in $FPATH; do
591    # Account for people who put trailing slashes in PATH elements.
592    case "$ac_dir/" in
593    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
594    # We reject the install program from OS/2 or W3.1
595    */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
596    *)
597      # OSF1 and SCO ODT 3.0 have their own names for install.
598      for ac_prog in ginstall installbsd scoinst install; do
599        if test -f $ac_dir/$ac_prog${EXE_EXT}; then
600	  if test $ac_prog = install &&
601            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
602	    # AIX install.  It has an incompatible calling convention.
603	    # OSF/1 installbsd also uses dspmsg, but is usable.
604	    :
605	  else
606	    ac_cv_path_install="$ac_dir/$ac_prog.exe -c"
607	    break 2
608	  fi
609	fi
610      done
611      ;;
612    esac
613
614  done
615  IFS="$ac_save_ifs"
616
617
618fi
619  if test "${ac_cv_path_install+set}" = set; then
620    INSTALL="$ac_cv_path_install"
621  else
622    # As a last resort, use the slow shell script.  We don't cache a
623    # path for INSTALL within a source directory, because that will
624    # break other packages using the cache if that directory is
625    # removed, or if the path is relative.
626    INSTALL="$ac_install_sh"
627  fi
628fi
629echo "$ac_t""$INSTALL" 1>&6
630
631# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
632# It thinks the first close brace ends the variable substitution.
633test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
634
635test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
636
637
638# Make sure we can run config.sub.
639if $ac_config_sub sun4 >/dev/null 2>&1; then :
640else { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
641fi
642
643echo $ac_n "checking host system type""... $ac_c" 1>&6
644echo "configure:645: checking host system type" >&5
645
646host_alias=$host
647case "$host_alias" in
648NONE)
649  case $nonopt in
650  NONE)
651    if host_alias=`$ac_config_guess`; then :
652    else { echo "configure: error: cannot guess host type; you must specify one" 1>&2; exit 1; }
653    fi ;;
654  *) host_alias=$nonopt ;;
655  esac ;;
656esac
657
658host=`$ac_config_sub $host_alias`
659host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
660host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
661host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
662echo "$ac_t""$host" 1>&6
663
664echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
665echo "configure:666: checking how to run the C preprocessor" >&5
666# On Suns, sometimes $CPP names a directory.
667if test -n "$CPP" && test -d "$CPP"; then
668  CPP=
669fi
670if test -z "$CPP"; then
671if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
672  echo $ac_n "(cached) $ac_c" 1>&6
673else
674    # This must be in double quotes, not single quotes, because CPP may get
675  # substituted into the Makefile and "${CC-cc}" will confuse make.
676  CPP="${CC-cc} -E"
677  # On the NeXT, cc -E runs the code through the compiler's parser,
678  # not just through cpp.
679  cat > conftest.$ac_ext <<EOF
680#include <sys/types.h>
681#line 682 "configure"
682#include "confdefs.h"
683#include <assert.h>
684Syntax Error
685EOF
686ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
687{ (eval echo configure:688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
688ac_err=`grep -v '^ *+' conftest.out`
689if test -z "$ac_err"; then
690  :
691else
692  echo "$ac_err" >&5
693  echo "configure: failed program was:" >&5
694  cat conftest.$ac_ext >&5
695  rm -rf conftest*
696  CPP="${CC-cc} -E -traditional-cpp"
697  cat > conftest.$ac_ext <<EOF
698#include <sys/types.h>
699#line 700 "configure"
700#include "confdefs.h"
701#include <assert.h>
702Syntax Error
703EOF
704ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
705{ (eval echo configure:706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
706ac_err=`grep -v '^ *+' conftest.out`
707if test -z "$ac_err"; then
708  :
709else
710  echo "$ac_err" >&5
711  echo "configure: failed program was:" >&5
712  cat conftest.$ac_ext >&5
713  rm -rf conftest*
714  CPP=/lib/cpp
715fi
716rm -f conftest*
717fi
718rm -f conftest*
719  ac_cv_prog_CPP="$CPP"
720fi
721  CPP="$ac_cv_prog_CPP"
722else
723  ac_cv_prog_CPP="$CPP"
724fi
725echo "$ac_t""$CPP" 1>&6
726
727
728im_file_attr="Fcntl::O_RDWR()|Fcntl::O_CREAT()|Fcntl::O_EXCL()|Fcntl::O_BINARY()"
729im_nosync="no"
730
731
732
733
734
735
736
737
738
739for ac_prog in perl perl5 perl.exe perl5.exe
740do
741# Extract the first word of "$ac_prog", so it can be a program name with args.
742set dummy $ac_prog; ac_word=$2
743echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
744echo "configure:745: checking for $ac_word" >&5
745if eval "test \"`echo '$''{'im_cv_path_im_path_perl'+set}'`\" = set"; then
746  echo $ac_n "(cached) $ac_c" 1>&6
747else
748  case "$im_path_perl" in
749  /*)
750  im_cv_path_im_path_perl="$im_path_perl" # Let the user override the test with a path.
751  ;;
752  *)
753  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_IFS}"
754  for ac_dir in $FPATH; do
755    test -z "$ac_dir" && ac_dir=.
756    if test -x $ac_dir/$ac_word; then
757       if $ac_dir/$ac_word -e 'require 5.003;' > /dev/null 2>&1; then
758         im_cv_path_im_path_perl="$ac_dir/$ac_word"
759         break
760       fi
761    fi
762  done
763  IFS="$ac_save_ifs"
764  ;;
765esac
766fi
767im_path_perl="$im_cv_path_im_path_perl"
768if test -n "$im_path_perl"; then
769  echo "$ac_t""$im_path_perl" 1>&6
770else
771  echo "$ac_t""no" 1>&6
772fi
773
774test -n "$im_path_perl" && break
775im_path_perl=""
776done
777test -n "$im_path_perl" || im_path_perl="PERL5_NOT_FOUND"
778
779case "$im_path_perl" in
780""|PERL5_NOT_FOUND)
781   echo "fatal error: perl 5.004 not found. install perl 5.004 or later." 1>&2
782   exit 1
783esac
784echo $ac_n "checking for site_perl""... $ac_c" 1>&6
785echo "configure:786: checking for site_perl" >&5
786if eval "test \"`echo '$''{'im_cv_path_im_path_siteperl'+set}'`\" = set"; then
787  echo $ac_n "(cached) $ac_c" 1>&6
788else
789  case "$im_path_siteperl" in
790  /*)
791  im_cv_path_im_path_siteperl="$im_path_siteperl" # Let the user override the test with a path.
792  ;;
793  *)
794  im_cv_path_im_path_siteperl=`"$im_path_perl" -MConfig -e 'print $Config{installsitelib}'`
795  test -z "$im_cv_path_im_path_siteperl" && im_cv_path_im_path_siteperl="missing_siteperl"
796  ;;
797esac
798fi
799im_path_siteperl="$im_cv_path_im_path_siteperl"
800if test -n "$im_path_siteperl"; then
801  echo "$ac_t""$im_path_siteperl" 1>&6
802else
803  echo "$ac_t""no" 1>&6
804fi
805
806for ac_prog in chmod
807do
808# Extract the first word of "$ac_prog", so it can be a program name with args.
809set dummy $ac_prog; ac_word=$2
810echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
811echo "configure:812: checking for $ac_word" >&5
812if eval "test \"`echo '$''{'ac_cv_path_im_path_chmod'+set}'`\" = set"; then
813  echo $ac_n "(cached) $ac_c" 1>&6
814else
815  case "$im_path_chmod" in
816  /*|[a-zA-Z]:*)
817  ac_cv_path_im_path_chmod="$im_path_chmod" # Let the user override the test with a path.
818  ;;
819  *)
820  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"
821  for ac_dir in $FPATH; do
822
823    test -z "$ac_dir" && ac_dir=.
824    if test -f $ac_dir/$ac_word${EXE_EXT}; then
825      ac_cv_path_im_path_chmod="$ac_dir/$ac_word${EXE_EXT}"
826      break
827    fi
828    if test -f $ac_dir/$ac_word${SCR_EXT}; then
829      ac_cv_path_im_path_chmod="$ac_dir/$ac_word${SCR_EXT}"
830      break
831    fi
832    if test -f $ac_dir/$ac_word; then
833      ac_cv_path_im_path_chmod="$ac_dir/$ac_word"
834      break
835    fi
836
837  done
838  IFS="$ac_save_ifs"
839  ;;
840esac
841fi
842im_path_chmod="$ac_cv_path_im_path_chmod"
843if test -n "$im_path_chmod"; then
844  echo "$ac_t""$im_path_chmod" 1>&6
845else
846  echo "$ac_t""no" 1>&6
847fi
848
849test -n "$im_path_chmod" && break
850done
851test -n "$im_path_chmod" || im_path_chmod="missing_chmod"
852
853for ac_prog in mkdir
854do
855# Extract the first word of "$ac_prog", so it can be a program name with args.
856set dummy $ac_prog; ac_word=$2
857echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
858echo "configure:859: checking for $ac_word" >&5
859if eval "test \"`echo '$''{'ac_cv_path_im_path_mkdir'+set}'`\" = set"; then
860  echo $ac_n "(cached) $ac_c" 1>&6
861else
862  case "$im_path_mkdir" in
863  /*|[a-zA-Z]:*)
864  ac_cv_path_im_path_mkdir="$im_path_mkdir" # Let the user override the test with a path.
865  ;;
866  *)
867  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"
868  for ac_dir in $FPATH; do
869
870    test -z "$ac_dir" && ac_dir=.
871    if test -f $ac_dir/$ac_word${EXE_EXT}; then
872      ac_cv_path_im_path_mkdir="$ac_dir/$ac_word${EXE_EXT}"
873      break
874    fi
875    if test -f $ac_dir/$ac_word${SCR_EXT}; then
876      ac_cv_path_im_path_mkdir="$ac_dir/$ac_word${SCR_EXT}"
877      break
878    fi
879    if test -f $ac_dir/$ac_word; then
880      ac_cv_path_im_path_mkdir="$ac_dir/$ac_word"
881      break
882    fi
883
884  done
885  IFS="$ac_save_ifs"
886  ;;
887esac
888fi
889im_path_mkdir="$ac_cv_path_im_path_mkdir"
890if test -n "$im_path_mkdir"; then
891  echo "$ac_t""$im_path_mkdir" 1>&6
892else
893  echo "$ac_t""no" 1>&6
894fi
895
896test -n "$im_path_mkdir" && break
897done
898test -n "$im_path_mkdir" || im_path_mkdir="missing_mkdir"
899
900for ac_prog in rm
901do
902# Extract the first word of "$ac_prog", so it can be a program name with args.
903set dummy $ac_prog; ac_word=$2
904echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
905echo "configure:906: checking for $ac_word" >&5
906if eval "test \"`echo '$''{'ac_cv_path_im_path_rm'+set}'`\" = set"; then
907  echo $ac_n "(cached) $ac_c" 1>&6
908else
909  case "$im_path_rm" in
910  /*|[a-zA-Z]:*)
911  ac_cv_path_im_path_rm="$im_path_rm" # Let the user override the test with a path.
912  ;;
913  *)
914  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"
915  for ac_dir in $FPATH; do
916
917    test -z "$ac_dir" && ac_dir=.
918    if test -f $ac_dir/$ac_word${EXE_EXT}; then
919      ac_cv_path_im_path_rm="$ac_dir/$ac_word${EXE_EXT}"
920      break
921    fi
922    if test -f $ac_dir/$ac_word${SCR_EXT}; then
923      ac_cv_path_im_path_rm="$ac_dir/$ac_word${SCR_EXT}"
924      break
925    fi
926    if test -f $ac_dir/$ac_word; then
927      ac_cv_path_im_path_rm="$ac_dir/$ac_word"
928      break
929    fi
930
931  done
932  IFS="$ac_save_ifs"
933  ;;
934esac
935fi
936im_path_rm="$ac_cv_path_im_path_rm"
937if test -n "$im_path_rm"; then
938  echo "$ac_t""$im_path_rm" 1>&6
939else
940  echo "$ac_t""no" 1>&6
941fi
942
943test -n "$im_path_rm" && break
944done
945test -n "$im_path_rm" || im_path_rm="missing_rm"
946
947for ac_prog in mv
948do
949# Extract the first word of "$ac_prog", so it can be a program name with args.
950set dummy $ac_prog; ac_word=$2
951echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
952echo "configure:953: checking for $ac_word" >&5
953if eval "test \"`echo '$''{'ac_cv_path_im_path_mv'+set}'`\" = set"; then
954  echo $ac_n "(cached) $ac_c" 1>&6
955else
956  case "$im_path_mv" in
957  /*|[a-zA-Z]:*)
958  ac_cv_path_im_path_mv="$im_path_mv" # Let the user override the test with a path.
959  ;;
960  *)
961  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"
962  for ac_dir in $FPATH; do
963
964    test -z "$ac_dir" && ac_dir=.
965    if test -f $ac_dir/$ac_word${EXE_EXT}; then
966      ac_cv_path_im_path_mv="$ac_dir/$ac_word${EXE_EXT}"
967      break
968    fi
969    if test -f $ac_dir/$ac_word${SCR_EXT}; then
970      ac_cv_path_im_path_mv="$ac_dir/$ac_word${SCR_EXT}"
971      break
972    fi
973    if test -f $ac_dir/$ac_word; then
974      ac_cv_path_im_path_mv="$ac_dir/$ac_word"
975      break
976    fi
977
978  done
979  IFS="$ac_save_ifs"
980  ;;
981esac
982fi
983im_path_mv="$ac_cv_path_im_path_mv"
984if test -n "$im_path_mv"; then
985  echo "$ac_t""$im_path_mv" 1>&6
986else
987  echo "$ac_t""no" 1>&6
988fi
989
990test -n "$im_path_mv" && break
991done
992test -n "$im_path_mv" || im_path_mv="missing_mv"
993
994for ac_prog in sed
995do
996# Extract the first word of "$ac_prog", so it can be a program name with args.
997set dummy $ac_prog; ac_word=$2
998echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
999echo "configure:1000: checking for $ac_word" >&5
1000if eval "test \"`echo '$''{'ac_cv_path_im_path_sed'+set}'`\" = set"; then
1001  echo $ac_n "(cached) $ac_c" 1>&6
1002else
1003  case "$im_path_sed" in
1004  /*|[a-zA-Z]:*)
1005  ac_cv_path_im_path_sed="$im_path_sed" # Let the user override the test with a path.
1006  ;;
1007  *)
1008  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}$PATH_IFS"
1009  for ac_dir in $FPATH; do
1010
1011    test -z "$ac_dir" && ac_dir=.
1012    if test -f $ac_dir/$ac_word${EXE_EXT}; then
1013      ac_cv_path_im_path_sed="$ac_dir/$ac_word${EXE_EXT}"
1014      break
1015    fi
1016    if test -f $ac_dir/$ac_word${SCR_EXT}; then
1017      ac_cv_path_im_path_sed="$ac_dir/$ac_word${SCR_EXT}"
1018      break
1019    fi
1020    if test -f $ac_dir/$ac_word; then
1021      ac_cv_path_im_path_sed="$ac_dir/$ac_word"
1022      break
1023    fi
1024
1025  done
1026  IFS="$ac_save_ifs"
1027  ;;
1028esac
1029fi
1030im_path_sed="$ac_cv_path_im_path_sed"
1031if test -n "$im_path_sed"; then
1032  echo "$ac_t""$im_path_sed" 1>&6
1033else
1034  echo "$ac_t""no" 1>&6
1035fi
1036
1037test -n "$im_path_sed" && break
1038done
1039test -n "$im_path_sed" || im_path_sed="missing_sed"
1040
1041echo $ac_n "checking for DB type""... $ac_c" 1>&6
1042echo "configure:1043: checking for DB type" >&5
1043if eval "test \"`echo '$''{'im_cv_perl_im_db_type'+set}'`\" = set"; then
1044  echo $ac_n "(cached) $ac_c" 1>&6
1045else
1046  if test -n "$im_db_type"; then
1047  im_cv_perl_im_db_type="$im_db_type" # Let the user override the test with a path.
1048else
1049  im_cv_perl_im_db_type=`$im_path_perl -e 'BEGIN { @AnyDBM_File::ISA = qw(DB_File NDBM_File SDBM_File) };   use AnyDBM_File; $db = shift @AnyDBM_File::ISA;   $db =~ s/_File//; print "$db\n";'`
1050fi
1051fi
1052im_db_type="$im_cv_perl_im_db_type"
1053if test -n "$im_db_type"; then
1054  echo "$ac_t""$im_db_type" 1>&6
1055else
1056  echo "$ac_t""no" 1>&6
1057fi
1058
1059
1060
1061
1062
1063
1064
1065# Check whether --enable-rpop or --disable-rpop was given.
1066if test "${enable_rpop+set}" = set; then
1067  enableval="$enable_rpop"
1068  im_rpop="-o root -m 4555"
1069else
1070  im_rpop="-m 555"
1071fi
1072
1073
1074im_nosync="undefined"
1075for im_check_headers in sys/syscall.h syscall.h
1076do
1077	ac_safe=`echo "$im_check_headers" | sed 'y%./+-%__p_%'`
1078echo $ac_n "checking for $im_check_headers""... $ac_c" 1>&6
1079echo "configure:1080: checking for $im_check_headers" >&5
1080if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1081  echo $ac_n "(cached) $ac_c" 1>&6
1082else
1083  cat > conftest.$ac_ext <<EOF
1084#include <sys/types.h>
1085#line 1086 "configure"
1086#include "confdefs.h"
1087#include <$im_check_headers>
1088EOF
1089ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1090{ (eval echo configure:1091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1091ac_err=`grep -v '^ *+' conftest.out`
1092if test -z "$ac_err"; then
1093  rm -rf conftest*
1094  eval "ac_cv_header_$ac_safe=yes"
1095else
1096  echo "$ac_err" >&5
1097  echo "configure: failed program was:" >&5
1098  cat conftest.$ac_ext >&5
1099  rm -rf conftest*
1100  eval "ac_cv_header_$ac_safe=no"
1101fi
1102rm -f conftest*
1103fi
1104if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1105  echo "$ac_t""yes" 1>&6
1106  cat > conftest.$ac_ext <<EOF
1107#line 1108 "configure"
1108#include "confdefs.h"
1109#include <$im_check_headers>
1110			 #ifdef SYS_fsync
1111			 sys_fsync_is_found
1112			 #endif
1113EOF
1114if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1115  egrep "sys_fsync_is_found" >/dev/null 2>&1; then
1116  rm -rf conftest*
1117  im_nosync="no"
1118else
1119  rm -rf conftest*
1120  im_nosync="yes"
1121fi
1122rm -f conftest*
1123
1124else
1125  echo "$ac_t""no" 1>&6
1126fi
1127
1128done
1129
1130im_src_siteperl="use lib '`pwd`';	###DELETE-ON-INSTALL###"
1131
1132# Check whether --with-perldir or --without-perldir was given.
1133if test "${with_perldir+set}" = set; then
1134  withval="$with_perldir"
1135  im_path_siteperl="${withval}"
1136  im_my_siteperl="use lib '${withval}';"
1137else
1138  if test "${prefix}" != "NONE" ; then
1139    im_my_siteperl="use lib '${prefix}/lib';"
1140    im_path_siteperl='${exec_prefix}/lib'
1141  fi
1142fi
1143
1144
1145echo $ac_n "checking OS type""... $ac_c" 1>&6
1146echo "configure:1147: checking OS type" >&5
1147case "$host" in
1148  *-*-solaris2*)
1149    echo "$ac_t""Seems to be a Solaris; Content-Length: should be checked" 1>&6
1150    im_usecl=yes ;;
1151  *)
1152    echo "$ac_t""Not a Solaris; Content-Length: can be ignored" 1>&6
1153    im_usecl=no ;;
1154esac
1155
1156echo $ac_n "checking domain for mail-address""... $ac_c" 1>&6
1157echo "configure:1158: checking domain for mail-address" >&5
1158im_hostname=`hostname`
1159echo "$ac_t""$im_hostname" 1>&6
1160
1161trap '' 1 2 15
1162cat > confcache <<\EOF
1163# This file is a shell script that caches the results of configure
1164# tests run on this system so they can be shared between configure
1165# scripts and configure runs.  It is not useful on other systems.
1166# If it contains results you don't want to keep, you may remove or edit it.
1167#
1168# By default, configure uses ./config.cache as the cache file,
1169# creating it if it does not exist already.  You can give configure
1170# the --cache-file=FILE option to use a different cache file; that is
1171# what configure does when it calls configure scripts in
1172# subdirectories, so they share the cache.
1173# Giving --cache-file=/dev/null disables caching, for debugging configure.
1174# config.status only pays attention to the cache file if you give it the
1175# --recheck option to rerun configure.
1176#
1177EOF
1178# The following way of writing the cache mishandles newlines in values,
1179# but we know of no workaround that is simple, portable, and efficient.
1180# So, don't put newlines in cache variables' values.
1181# Ultrix sh set writes to stderr and can't be redirected directly,
1182# and sets the high bit in the cache file unless we assign to the vars.
1183(set) 2>&1 |
1184  case `(ac_space=' '; set) 2>&1` in
1185  *ac_space=\ *)
1186    # `set' does not quote correctly, so add quotes (double-quote substitution
1187    # turns \\\\ into \\, and sed turns \\ into \).
1188    sed -n \
1189      -e "s/'/'\\\\''/g" \
1190      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1191    ;;
1192  *)
1193    # `set' quotes correctly as required by POSIX, so do not add quotes.
1194    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1195    ;;
1196  esac >> confcache
1197if cmp -s $cache_file confcache; then
1198  :
1199else
1200  if test -w $cache_file; then
1201    echo "updating cache $cache_file"
1202    cat confcache > $cache_file
1203  else
1204    echo "not updating unwritable cache $cache_file"
1205  fi
1206fi
1207rm -f confcache
1208
1209trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1210
1211test "x$prefix" = xNONE && prefix=$ac_default_prefix
1212# Let make expand exec_prefix.
1213test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1214
1215# Any assignment to VPATH causes Sun make to only execute
1216# the first set of double-colon rules, so remove it if not needed.
1217# If there is a colon in the path, we need to keep it.
1218if test "x$srcdir" = x.; then
1219  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
1220fi
1221
1222trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1223
1224
1225# Transform confdefs.h into DEFS.
1226# Protect against shell expansion while executing Makefile rules.
1227# Protect against Makefile macro expansion.
1228cat > conftest.defs <<\EOF
1229s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1230s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
1231s%\[%\\&%g
1232s%\]%\\&%g
1233s%\$%$$%g
1234EOF
1235DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' '  '`
1236rm -f conftest.defs
1237
1238
1239# Without the "./", some shells look in PATH for config.status.
1240: ${CONFIG_STATUS=./config.status}
1241
1242echo creating $CONFIG_STATUS
1243rm -f $CONFIG_STATUS
1244cat > $CONFIG_STATUS <<EOF
1245#! /bin/sh
1246# Generated automatically by configure.
1247# Run this file to recreate the current configuration.
1248# This directory was configured as follows,
1249EOF
1250echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
1251cat >> $CONFIG_STATUS <<EOF
1252# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1253#
1254# $0 $ac_configure_args
1255#
1256# Compiler output produced by configure, useful for debugging
1257# configure, is in ./config.log if it exists.
1258
1259ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1260for ac_option
1261do
1262  case "\$ac_option" in
1263  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1264    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1265    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1266  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1267    echo "$CONFIG_STATUS generated by autoconf version 2.12.971230"
1268    exit 0 ;;
1269  -help | --help | --hel | --he | --h)
1270    echo "\$ac_cs_usage"; exit 0 ;;
1271  *) echo "\$ac_cs_usage"; exit 1 ;;
1272  esac
1273done
1274
1275ac_given_srcdir=$srcdir
1276ac_given_INSTALL="$INSTALL"
1277
1278trap 'rm -fr `echo "imali:imali.in imcat:imcat.in imcd:imcd.in imclean:imclean.in \
1279	imget:imget.in imgrep:imgrep.in imhist:imhist.in \
1280	imjoin:imjoin.in imls:imls.in immv:immv.in \
1281	impack:impack.in impath:impath.in imput:imput.in \
1282	impwagent:impwagent.in \
1283	imrm:imrm.in imsetup:imsetup.in imsort:imsort.in \
1284	imstore:imstore.in imtar:imtar.in\
1285	Makefile:Makefile.in \
1286	cnf.im/SiteConfig:cnf.im/SiteConfig.in \
1287	IM/Config.pm:IM/Config.pm.in \
1288	OS2/im.cmd:OS2/im.cmd.in \
1289	" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1290EOF
1291cat >> $CONFIG_STATUS <<EOF
1292
1293# Protect against being on the right side of a sed subst in config.status.
1294sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1295 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1296$ac_vpsub
1297$extrasub
1298s,/bin/sh,${CONFIG_SHELL-/bin/sh},g
1299s%@EXE_EXT@%$EXE_EXT%g
1300s%@LIB_EXT@%$LIB_EXT%g
1301s%@LIB_PRE@%$LIB_PRE%g
1302s%@OBJ_EXT@%$OBJ_EXT%g
1303s%@CFLAGS@%$CFLAGS%g
1304s%@CPPFLAGS@%$CPPFLAGS%g
1305s%@CXXFLAGS@%$CXXFLAGS%g
1306s%@DEFS@%$DEFS%g
1307s%@LDFLAGS@%$LDFLAGS%g
1308s%@LIBS@%$LIBS%g
1309s%@exec_prefix@%$exec_prefix%g
1310s%@prefix@%$prefix%g
1311s%@program_transform_name@%$program_transform_name%g
1312s%@bindir@%$bindir%g
1313s%@sbindir@%$sbindir%g
1314s%@libexecdir@%$libexecdir%g
1315s%@datadir@%$datadir%g
1316s%@sysconfdir@%$sysconfdir%g
1317s%@sharedstatedir@%$sharedstatedir%g
1318s%@localstatedir@%$localstatedir%g
1319s%@libdir@%$libdir%g
1320s%@includedir@%$includedir%g
1321s%@oldincludedir@%$oldincludedir%g
1322s%@infodir@%$infodir%g
1323s%@mandir@%$mandir%g
1324s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1325s%@INSTALL_DATA@%$INSTALL_DATA%g
1326s%@host@%$host%g
1327s%@host_alias@%$host_alias%g
1328s%@host_cpu@%$host_cpu%g
1329s%@host_vendor@%$host_vendor%g
1330s%@host_os@%$host_os%g
1331s%@CPP@%$CPP%g
1332s%@im_rpop@%$im_rpop%g
1333s%@im_db_type@%$im_db_type%g
1334s%@im_file_attr@%$im_file_attr%g
1335s%@im_src_siteperl@%$im_src_siteperl%g
1336s%@im_my_siteperl@%$im_my_siteperl%g
1337s%@im_usecl@%$im_usecl%g
1338s%@im_nosync@%$im_nosync%g
1339s%@im_hostname@%$im_hostname%g
1340s%@im_path_perl@%$im_path_perl%g
1341s%@im_path_siteperl@%$im_path_siteperl%g
1342s%@im_path_chmod@%$im_path_chmod%g
1343s%@im_path_mkdir@%$im_path_mkdir%g
1344s%@im_path_rm@%$im_path_rm%g
1345s%@im_path_mv@%$im_path_mv%g
1346s%@im_path_sed@%$im_path_sed%g
1347
1348CEOF
1349EOF
1350
1351cat >> $CONFIG_STATUS <<\EOF
1352
1353# Split the substitutions into bite-sized pieces for seds with
1354# small command number limits, like on Digital OSF/1 and HP-UX.
1355ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1356ac_file=1 # Number of current file.
1357ac_beg=1 # First line for current file.
1358ac_end=$ac_max_sed_cmds # Line after last line for current file.
1359ac_more_lines=:
1360ac_sed_cmds=""
1361while $ac_more_lines; do
1362  if test $ac_beg -gt 1; then
1363    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1364  else
1365    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1366  fi
1367  if test ! -s conftest.s$ac_file; then
1368    ac_more_lines=false
1369    rm -f conftest.s$ac_file
1370  else
1371    if test -z "$ac_sed_cmds"; then
1372      ac_sed_cmds="sed -f conftest.s$ac_file"
1373    else
1374      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1375    fi
1376    ac_file=`expr $ac_file + 1`
1377    ac_beg=$ac_end
1378    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1379  fi
1380done
1381if test -z "$ac_sed_cmds"; then
1382  ac_sed_cmds=cat
1383fi
1384EOF
1385
1386cat >> $CONFIG_STATUS <<EOF
1387
1388CONFIG_FILES=\${CONFIG_FILES-"imali:imali.in imcat:imcat.in imcd:imcd.in imclean:imclean.in \
1389	imget:imget.in imgrep:imgrep.in imhist:imhist.in \
1390	imjoin:imjoin.in imls:imls.in immv:immv.in \
1391	impack:impack.in impath:impath.in imput:imput.in \
1392	impwagent:impwagent.in \
1393	imrm:imrm.in imsetup:imsetup.in imsort:imsort.in \
1394	imstore:imstore.in imtar:imtar.in\
1395	Makefile:Makefile.in \
1396	cnf.im/SiteConfig:cnf.im/SiteConfig.in \
1397	IM/Config.pm:IM/Config.pm.in \
1398	OS2/im.cmd:OS2/im.cmd.in \
1399	"}
1400EOF
1401cat >> $CONFIG_STATUS <<\EOF
1402for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1403  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1404  case "$ac_file" in
1405  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1406       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1407  *) ac_file_in="${ac_file}.in" ;;
1408  esac
1409
1410  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1411
1412  # Remove last slash and all that follows it.  Not all systems have dirname.
1413  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1414  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1415    # The file is in a subdirectory.
1416    test ! -d "$ac_dir" && mkdir "$ac_dir"
1417    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1418    # A "../" for each directory in $ac_dir_suffix.
1419    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1420  else
1421    ac_dir_suffix= ac_dots=
1422  fi
1423
1424  case "$ac_given_srcdir" in
1425  .)  srcdir=.
1426      if test -z "$ac_dots"; then top_srcdir=.
1427      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1428  /*|[A-Za-z]:*)
1429      srcdir="$ac_given_srcdir$ac_dir_suffix";
1430      top_srcdir="$ac_given_srcdir" ;;
1431  *) # Relative path.
1432    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1433    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1434  esac
1435
1436  case "$ac_given_INSTALL" in
1437  [/$]*|[A-Za-z]:* ) INSTALL="$ac_given_INSTALL" ;;
1438  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1439  esac
1440
1441  echo creating "$ac_file"
1442  rm -f "$ac_file"
1443  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1444  case "$ac_file" in
1445  *Makefile*) ac_comsub="1i\\
1446# $configure_input" ;;
1447  *) ac_comsub= ;;
1448  esac
1449
1450  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1451  sed -e "$ac_comsub
1452s%@configure_input@%$configure_input%g
1453s%@srcdir@%$srcdir%g
1454s%@top_srcdir@%$top_srcdir%g
1455s%@INSTALL@%$INSTALL%g
1456" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1457fi; done
1458rm -f conftest.s*
1459
1460EOF
1461cat >> $CONFIG_STATUS <<EOF
1462# Extra initialization commands, if any
1463
1464EOF
1465cat >> $CONFIG_STATUS <<\EOF
1466# Extra initialization commands, if any
1467chmod 555 imali imcat imcd imclean imget imgrep imhist imjoin\
1468	imls immv impack impath imput impwagent imrm imsetup imsort imstore\
1469	imtar
1470exit 0
1471EOF
1472chmod +x $CONFIG_STATUS
1473rm -fr confdefs* $ac_clean_files
1474test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1475
1476
1477