1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for ldapdiff 1.4.1.
4#
5# Report bugs to <Thomas.Reith@rhoen.de>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='ldapdiff'
576PACKAGE_TARNAME='ldapdiff'
577PACKAGE_VERSION='1.4.1'
578PACKAGE_STRING='ldapdiff 1.4.1'
579PACKAGE_BUGREPORT='Thomas.Reith@rhoen.de'
580
581ac_unique_file="ldapdiff.c"
582# Factoring default headers for most tests.
583ac_includes_default="\
584#include <stdio.h>
585#ifdef HAVE_SYS_TYPES_H
586# include <sys/types.h>
587#endif
588#ifdef HAVE_SYS_STAT_H
589# include <sys/stat.h>
590#endif
591#ifdef STDC_HEADERS
592# include <stdlib.h>
593# include <stddef.h>
594#else
595# ifdef HAVE_STDLIB_H
596#  include <stdlib.h>
597# endif
598#endif
599#ifdef HAVE_STRING_H
600# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601#  include <memory.h>
602# endif
603# include <string.h>
604#endif
605#ifdef HAVE_STRINGS_H
606# include <strings.h>
607#endif
608#ifdef HAVE_INTTYPES_H
609# include <inttypes.h>
610#endif
611#ifdef HAVE_STDINT_H
612# include <stdint.h>
613#endif
614#ifdef HAVE_UNISTD_H
615# include <unistd.h>
616#endif"
617
618ac_subst_vars='SHELL
619PATH_SEPARATOR
620PACKAGE_NAME
621PACKAGE_TARNAME
622PACKAGE_VERSION
623PACKAGE_STRING
624PACKAGE_BUGREPORT
625exec_prefix
626prefix
627program_transform_name
628bindir
629sbindir
630libexecdir
631datarootdir
632datadir
633sysconfdir
634sharedstatedir
635localstatedir
636includedir
637oldincludedir
638docdir
639infodir
640htmldir
641dvidir
642pdfdir
643psdir
644libdir
645localedir
646mandir
647DEFS
648ECHO_C
649ECHO_N
650ECHO_T
651LIBS
652build_alias
653host_alias
654target_alias
655INSTALL_PROGRAM
656INSTALL_SCRIPT
657INSTALL_DATA
658am__isrc
659CYGPATH_W
660PACKAGE
661VERSION
662ACLOCAL
663AUTOCONF
664AUTOMAKE
665AUTOHEADER
666MAKEINFO
667install_sh
668STRIP
669INSTALL_STRIP_PROGRAM
670mkdir_p
671AWK
672SET_MAKE
673am__leading_dot
674AMTAR
675am__tar
676am__untar
677CC
678CFLAGS
679LDFLAGS
680CPPFLAGS
681ac_ct_CC
682EXEEXT
683OBJEXT
684DEPDIR
685am__include
686am__quote
687AMDEP_TRUE
688AMDEP_FALSE
689AMDEPBACKSLASH
690CCDEPMODE
691am__fastdepCC_TRUE
692am__fastdepCC_FALSE
693LN_S
694CPP
695GREP
696EGREP
697LIBOBJS
698LTLIBOBJS'
699ac_subst_files=''
700      ac_precious_vars='build_alias
701host_alias
702target_alias
703CC
704CFLAGS
705LDFLAGS
706LIBS
707CPPFLAGS
708CPP'
709
710
711# Initialize some variables set by options.
712ac_init_help=
713ac_init_version=false
714# The variables have the same names as the options, with
715# dashes changed to underlines.
716cache_file=/dev/null
717exec_prefix=NONE
718no_create=
719no_recursion=
720prefix=NONE
721program_prefix=NONE
722program_suffix=NONE
723program_transform_name=s,x,x,
724silent=
725site=
726srcdir=
727verbose=
728x_includes=NONE
729x_libraries=NONE
730
731# Installation directory options.
732# These are left unexpanded so users can "make install exec_prefix=/foo"
733# and all the variables that are supposed to be based on exec_prefix
734# by default will actually change.
735# Use braces instead of parens because sh, perl, etc. also accept them.
736# (The list follows the same order as the GNU Coding Standards.)
737bindir='${exec_prefix}/bin'
738sbindir='${exec_prefix}/sbin'
739libexecdir='${exec_prefix}/libexec'
740datarootdir='${prefix}/share'
741datadir='${datarootdir}'
742sysconfdir='${prefix}/etc'
743sharedstatedir='${prefix}/com'
744localstatedir='${prefix}/var'
745includedir='${prefix}/include'
746oldincludedir='/usr/include'
747docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748infodir='${datarootdir}/info'
749htmldir='${docdir}'
750dvidir='${docdir}'
751pdfdir='${docdir}'
752psdir='${docdir}'
753libdir='${exec_prefix}/lib'
754localedir='${datarootdir}/locale'
755mandir='${datarootdir}/man'
756
757ac_prev=
758ac_dashdash=
759for ac_option
760do
761  # If the previous option needs an argument, assign it.
762  if test -n "$ac_prev"; then
763    eval $ac_prev=\$ac_option
764    ac_prev=
765    continue
766  fi
767
768  case $ac_option in
769  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770  *)	ac_optarg=yes ;;
771  esac
772
773  # Accept the important Cygnus configure options, so we can diagnose typos.
774
775  case $ac_dashdash$ac_option in
776  --)
777    ac_dashdash=yes ;;
778
779  -bindir | --bindir | --bindi | --bind | --bin | --bi)
780    ac_prev=bindir ;;
781  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
782    bindir=$ac_optarg ;;
783
784  -build | --build | --buil | --bui | --bu)
785    ac_prev=build_alias ;;
786  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787    build_alias=$ac_optarg ;;
788
789  -cache-file | --cache-file | --cache-fil | --cache-fi \
790  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791    ac_prev=cache_file ;;
792  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794    cache_file=$ac_optarg ;;
795
796  --config-cache | -C)
797    cache_file=config.cache ;;
798
799  -datadir | --datadir | --datadi | --datad)
800    ac_prev=datadir ;;
801  -datadir=* | --datadir=* | --datadi=* | --datad=*)
802    datadir=$ac_optarg ;;
803
804  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805  | --dataroo | --dataro | --datar)
806    ac_prev=datarootdir ;;
807  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809    datarootdir=$ac_optarg ;;
810
811  -disable-* | --disable-*)
812    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813    # Reject names that are not valid shell variable names.
814    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
815      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
816   { (exit 1); exit 1; }; }
817    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
818    eval enable_$ac_feature=no ;;
819
820  -docdir | --docdir | --docdi | --doc | --do)
821    ac_prev=docdir ;;
822  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823    docdir=$ac_optarg ;;
824
825  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826    ac_prev=dvidir ;;
827  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828    dvidir=$ac_optarg ;;
829
830  -enable-* | --enable-*)
831    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832    # Reject names that are not valid shell variable names.
833    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
834      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
835   { (exit 1); exit 1; }; }
836    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
837    eval enable_$ac_feature=\$ac_optarg ;;
838
839  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
841  | --exec | --exe | --ex)
842    ac_prev=exec_prefix ;;
843  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
844  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
845  | --exec=* | --exe=* | --ex=*)
846    exec_prefix=$ac_optarg ;;
847
848  -gas | --gas | --ga | --g)
849    # Obsolete; use --with-gas.
850    with_gas=yes ;;
851
852  -help | --help | --hel | --he | -h)
853    ac_init_help=long ;;
854  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
855    ac_init_help=recursive ;;
856  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
857    ac_init_help=short ;;
858
859  -host | --host | --hos | --ho)
860    ac_prev=host_alias ;;
861  -host=* | --host=* | --hos=* | --ho=*)
862    host_alias=$ac_optarg ;;
863
864  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865    ac_prev=htmldir ;;
866  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867  | --ht=*)
868    htmldir=$ac_optarg ;;
869
870  -includedir | --includedir | --includedi | --included | --include \
871  | --includ | --inclu | --incl | --inc)
872    ac_prev=includedir ;;
873  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
874  | --includ=* | --inclu=* | --incl=* | --inc=*)
875    includedir=$ac_optarg ;;
876
877  -infodir | --infodir | --infodi | --infod | --info | --inf)
878    ac_prev=infodir ;;
879  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
880    infodir=$ac_optarg ;;
881
882  -libdir | --libdir | --libdi | --libd)
883    ac_prev=libdir ;;
884  -libdir=* | --libdir=* | --libdi=* | --libd=*)
885    libdir=$ac_optarg ;;
886
887  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
888  | --libexe | --libex | --libe)
889    ac_prev=libexecdir ;;
890  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
891  | --libexe=* | --libex=* | --libe=*)
892    libexecdir=$ac_optarg ;;
893
894  -localedir | --localedir | --localedi | --localed | --locale)
895    ac_prev=localedir ;;
896  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
897    localedir=$ac_optarg ;;
898
899  -localstatedir | --localstatedir | --localstatedi | --localstated \
900  | --localstate | --localstat | --localsta | --localst | --locals)
901    ac_prev=localstatedir ;;
902  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
903  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
904    localstatedir=$ac_optarg ;;
905
906  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907    ac_prev=mandir ;;
908  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
909    mandir=$ac_optarg ;;
910
911  -nfp | --nfp | --nf)
912    # Obsolete; use --without-fp.
913    with_fp=no ;;
914
915  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
916  | --no-cr | --no-c | -n)
917    no_create=yes ;;
918
919  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
920  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
921    no_recursion=yes ;;
922
923  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
924  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
925  | --oldin | --oldi | --old | --ol | --o)
926    ac_prev=oldincludedir ;;
927  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
928  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
929  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
930    oldincludedir=$ac_optarg ;;
931
932  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933    ac_prev=prefix ;;
934  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
935    prefix=$ac_optarg ;;
936
937  -program-prefix | --program-prefix | --program-prefi | --program-pref \
938  | --program-pre | --program-pr | --program-p)
939    ac_prev=program_prefix ;;
940  -program-prefix=* | --program-prefix=* | --program-prefi=* \
941  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
942    program_prefix=$ac_optarg ;;
943
944  -program-suffix | --program-suffix | --program-suffi | --program-suff \
945  | --program-suf | --program-su | --program-s)
946    ac_prev=program_suffix ;;
947  -program-suffix=* | --program-suffix=* | --program-suffi=* \
948  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
949    program_suffix=$ac_optarg ;;
950
951  -program-transform-name | --program-transform-name \
952  | --program-transform-nam | --program-transform-na \
953  | --program-transform-n | --program-transform- \
954  | --program-transform | --program-transfor \
955  | --program-transfo | --program-transf \
956  | --program-trans | --program-tran \
957  | --progr-tra | --program-tr | --program-t)
958    ac_prev=program_transform_name ;;
959  -program-transform-name=* | --program-transform-name=* \
960  | --program-transform-nam=* | --program-transform-na=* \
961  | --program-transform-n=* | --program-transform-=* \
962  | --program-transform=* | --program-transfor=* \
963  | --program-transfo=* | --program-transf=* \
964  | --program-trans=* | --program-tran=* \
965  | --progr-tra=* | --program-tr=* | --program-t=*)
966    program_transform_name=$ac_optarg ;;
967
968  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969    ac_prev=pdfdir ;;
970  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
971    pdfdir=$ac_optarg ;;
972
973  -psdir | --psdir | --psdi | --psd | --ps)
974    ac_prev=psdir ;;
975  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
976    psdir=$ac_optarg ;;
977
978  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
979  | -silent | --silent | --silen | --sile | --sil)
980    silent=yes ;;
981
982  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983    ac_prev=sbindir ;;
984  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985  | --sbi=* | --sb=*)
986    sbindir=$ac_optarg ;;
987
988  -sharedstatedir | --sharedstatedir | --sharedstatedi \
989  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
990  | --sharedst | --shareds | --shared | --share | --shar \
991  | --sha | --sh)
992    ac_prev=sharedstatedir ;;
993  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
994  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
995  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996  | --sha=* | --sh=*)
997    sharedstatedir=$ac_optarg ;;
998
999  -site | --site | --sit)
1000    ac_prev=site ;;
1001  -site=* | --site=* | --sit=*)
1002    site=$ac_optarg ;;
1003
1004  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005    ac_prev=srcdir ;;
1006  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1007    srcdir=$ac_optarg ;;
1008
1009  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1010  | --syscon | --sysco | --sysc | --sys | --sy)
1011    ac_prev=sysconfdir ;;
1012  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1013  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1014    sysconfdir=$ac_optarg ;;
1015
1016  -target | --target | --targe | --targ | --tar | --ta | --t)
1017    ac_prev=target_alias ;;
1018  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1019    target_alias=$ac_optarg ;;
1020
1021  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1022    verbose=yes ;;
1023
1024  -version | --version | --versio | --versi | --vers | -V)
1025    ac_init_version=: ;;
1026
1027  -with-* | --with-*)
1028    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029    # Reject names that are not valid shell variable names.
1030    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031      { echo "$as_me: error: invalid package name: $ac_package" >&2
1032   { (exit 1); exit 1; }; }
1033    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1034    eval with_$ac_package=\$ac_optarg ;;
1035
1036  -without-* | --without-*)
1037    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038    # Reject names that are not valid shell variable names.
1039    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040      { echo "$as_me: error: invalid package name: $ac_package" >&2
1041   { (exit 1); exit 1; }; }
1042    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1043    eval with_$ac_package=no ;;
1044
1045  --x)
1046    # Obsolete; use --with-x.
1047    with_x=yes ;;
1048
1049  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1050  | --x-incl | --x-inc | --x-in | --x-i)
1051    ac_prev=x_includes ;;
1052  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1053  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1054    x_includes=$ac_optarg ;;
1055
1056  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1057  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1058    ac_prev=x_libraries ;;
1059  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1060  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1061    x_libraries=$ac_optarg ;;
1062
1063  -*) { echo "$as_me: error: unrecognized option: $ac_option
1064Try \`$0 --help' for more information." >&2
1065   { (exit 1); exit 1; }; }
1066    ;;
1067
1068  *=*)
1069    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1070    # Reject names that are not valid shell variable names.
1071    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1072      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1073   { (exit 1); exit 1; }; }
1074    eval $ac_envvar=\$ac_optarg
1075    export $ac_envvar ;;
1076
1077  *)
1078    # FIXME: should be removed in autoconf 3.0.
1079    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1081      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1083    ;;
1084
1085  esac
1086done
1087
1088if test -n "$ac_prev"; then
1089  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1090  { echo "$as_me: error: missing argument to $ac_option" >&2
1091   { (exit 1); exit 1; }; }
1092fi
1093
1094# Be sure to have absolute directory names.
1095for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096		datadir sysconfdir sharedstatedir localstatedir includedir \
1097		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098		libdir localedir mandir
1099do
1100  eval ac_val=\$$ac_var
1101  case $ac_val in
1102    [\\/$]* | ?:[\\/]* )  continue;;
1103    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104  esac
1105  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1106   { (exit 1); exit 1; }; }
1107done
1108
1109# There might be people who depend on the old broken behavior: `$host'
1110# used to hold the argument of --host etc.
1111# FIXME: To remove some day.
1112build=$build_alias
1113host=$host_alias
1114target=$target_alias
1115
1116# FIXME: To remove some day.
1117if test "x$host_alias" != x; then
1118  if test "x$build_alias" = x; then
1119    cross_compiling=maybe
1120    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1121    If a cross compiler is detected then cross compile mode will be used." >&2
1122  elif test "x$build_alias" != "x$host_alias"; then
1123    cross_compiling=yes
1124  fi
1125fi
1126
1127ac_tool_prefix=
1128test -n "$host_alias" && ac_tool_prefix=$host_alias-
1129
1130test "$silent" = yes && exec 6>/dev/null
1131
1132
1133ac_pwd=`pwd` && test -n "$ac_pwd" &&
1134ac_ls_di=`ls -di .` &&
1135ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1136  { echo "$as_me: error: Working directory cannot be determined" >&2
1137   { (exit 1); exit 1; }; }
1138test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139  { echo "$as_me: error: pwd does not report name of working directory" >&2
1140   { (exit 1); exit 1; }; }
1141
1142
1143# Find the source files, if location was not specified.
1144if test -z "$srcdir"; then
1145  ac_srcdir_defaulted=yes
1146  # Try the directory containing this script, then the parent directory.
1147  ac_confdir=`$as_dirname -- "$0" ||
1148$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149	 X"$0" : 'X\(//\)[^/]' \| \
1150	 X"$0" : 'X\(//\)$' \| \
1151	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1152echo X"$0" |
1153    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154	    s//\1/
1155	    q
1156	  }
1157	  /^X\(\/\/\)[^/].*/{
1158	    s//\1/
1159	    q
1160	  }
1161	  /^X\(\/\/\)$/{
1162	    s//\1/
1163	    q
1164	  }
1165	  /^X\(\/\).*/{
1166	    s//\1/
1167	    q
1168	  }
1169	  s/.*/./; q'`
1170  srcdir=$ac_confdir
1171  if test ! -r "$srcdir/$ac_unique_file"; then
1172    srcdir=..
1173  fi
1174else
1175  ac_srcdir_defaulted=no
1176fi
1177if test ! -r "$srcdir/$ac_unique_file"; then
1178  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1180   { (exit 1); exit 1; }; }
1181fi
1182ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183ac_abs_confdir=`(
1184	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1185   { (exit 1); exit 1; }; }
1186	pwd)`
1187# When building in place, set srcdir=.
1188if test "$ac_abs_confdir" = "$ac_pwd"; then
1189  srcdir=.
1190fi
1191# Remove unnecessary trailing slashes from srcdir.
1192# Double slashes in file names in object file debugging info
1193# mess up M-x gdb in Emacs.
1194case $srcdir in
1195*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196esac
1197for ac_var in $ac_precious_vars; do
1198  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199  eval ac_env_${ac_var}_value=\$${ac_var}
1200  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202done
1203
1204#
1205# Report the --help message.
1206#
1207if test "$ac_init_help" = "long"; then
1208  # Omit some internal or obsolete options to make the list less imposing.
1209  # This message is too long to be a string in the A/UX 3.1 sh.
1210  cat <<_ACEOF
1211\`configure' configures ldapdiff 1.4.1 to adapt to many kinds of systems.
1212
1213Usage: $0 [OPTION]... [VAR=VALUE]...
1214
1215To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216VAR=VALUE.  See below for descriptions of some of the useful variables.
1217
1218Defaults for the options are specified in brackets.
1219
1220Configuration:
1221  -h, --help              display this help and exit
1222      --help=short        display options specific to this package
1223      --help=recursive    display the short help of all the included packages
1224  -V, --version           display version information and exit
1225  -q, --quiet, --silent   do not print \`checking...' messages
1226      --cache-file=FILE   cache test results in FILE [disabled]
1227  -C, --config-cache      alias for \`--cache-file=config.cache'
1228  -n, --no-create         do not create output files
1229      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1230
1231Installation directories:
1232  --prefix=PREFIX         install architecture-independent files in PREFIX
1233			  [$ac_default_prefix]
1234  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1235			  [PREFIX]
1236
1237By default, \`make install' will install all the files in
1238\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1239an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240for instance \`--prefix=\$HOME'.
1241
1242For better control, use the options below.
1243
1244Fine tuning of the installation directories:
1245  --bindir=DIR           user executables [EPREFIX/bin]
1246  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1247  --libexecdir=DIR       program executables [EPREFIX/libexec]
1248  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1249  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1250  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1251  --libdir=DIR           object code libraries [EPREFIX/lib]
1252  --includedir=DIR       C header files [PREFIX/include]
1253  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1254  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1255  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1256  --infodir=DIR          info documentation [DATAROOTDIR/info]
1257  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1258  --mandir=DIR           man documentation [DATAROOTDIR/man]
1259  --docdir=DIR           documentation root [DATAROOTDIR/doc/ldapdiff]
1260  --htmldir=DIR          html documentation [DOCDIR]
1261  --dvidir=DIR           dvi documentation [DOCDIR]
1262  --pdfdir=DIR           pdf documentation [DOCDIR]
1263  --psdir=DIR            ps documentation [DOCDIR]
1264_ACEOF
1265
1266  cat <<\_ACEOF
1267
1268Program names:
1269  --program-prefix=PREFIX            prepend PREFIX to installed program names
1270  --program-suffix=SUFFIX            append SUFFIX to installed program names
1271  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1272_ACEOF
1273fi
1274
1275if test -n "$ac_init_help"; then
1276  case $ac_init_help in
1277     short | recursive ) echo "Configuration of ldapdiff 1.4.1:";;
1278   esac
1279  cat <<\_ACEOF
1280
1281Optional Features:
1282  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1283  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1284  --disable-dependency-tracking  speeds up one-time build
1285  --enable-dependency-tracking   do not reject slow dependency extractors
1286
1287Optional Packages:
1288  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1289  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1290  --with-ldap-dir=DIR     base directory of ldap SDK
1291  --with-iconv-dir=DIR    base directory of libiconv
1292
1293Some influential environment variables:
1294  CC          C compiler command
1295  CFLAGS      C compiler flags
1296  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1297              nonstandard directory <lib dir>
1298  LIBS        libraries to pass to the linker, e.g. -l<library>
1299  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1300              you have headers in a nonstandard directory <include dir>
1301  CPP         C preprocessor
1302
1303Use these variables to override the choices made by `configure' or to help
1304it to find libraries and programs with nonstandard names/locations.
1305
1306Report bugs to <Thomas.Reith@rhoen.de>.
1307_ACEOF
1308ac_status=$?
1309fi
1310
1311if test "$ac_init_help" = "recursive"; then
1312  # If there are subdirs, report their specific --help.
1313  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1314    test -d "$ac_dir" || continue
1315    ac_builddir=.
1316
1317case "$ac_dir" in
1318.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1319*)
1320  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1321  # A ".." for each directory in $ac_dir_suffix.
1322  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1323  case $ac_top_builddir_sub in
1324  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1326  esac ;;
1327esac
1328ac_abs_top_builddir=$ac_pwd
1329ac_abs_builddir=$ac_pwd$ac_dir_suffix
1330# for backward compatibility:
1331ac_top_builddir=$ac_top_build_prefix
1332
1333case $srcdir in
1334  .)  # We are building in place.
1335    ac_srcdir=.
1336    ac_top_srcdir=$ac_top_builddir_sub
1337    ac_abs_top_srcdir=$ac_pwd ;;
1338  [\\/]* | ?:[\\/]* )  # Absolute name.
1339    ac_srcdir=$srcdir$ac_dir_suffix;
1340    ac_top_srcdir=$srcdir
1341    ac_abs_top_srcdir=$srcdir ;;
1342  *) # Relative name.
1343    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1344    ac_top_srcdir=$ac_top_build_prefix$srcdir
1345    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1346esac
1347ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1348
1349    cd "$ac_dir" || { ac_status=$?; continue; }
1350    # Check for guested configure.
1351    if test -f "$ac_srcdir/configure.gnu"; then
1352      echo &&
1353      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1354    elif test -f "$ac_srcdir/configure"; then
1355      echo &&
1356      $SHELL "$ac_srcdir/configure" --help=recursive
1357    else
1358      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1359    fi || ac_status=$?
1360    cd "$ac_pwd" || { ac_status=$?; break; }
1361  done
1362fi
1363
1364test -n "$ac_init_help" && exit $ac_status
1365if $ac_init_version; then
1366  cat <<\_ACEOF
1367ldapdiff configure 1.4.1
1368generated by GNU Autoconf 2.61
1369
1370Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13712002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1372This configure script is free software; the Free Software Foundation
1373gives unlimited permission to copy, distribute and modify it.
1374_ACEOF
1375  exit
1376fi
1377cat >config.log <<_ACEOF
1378This file contains any messages produced by compilers while
1379running configure, to aid debugging if configure makes a mistake.
1380
1381It was created by ldapdiff $as_me 1.4.1, which was
1382generated by GNU Autoconf 2.61.  Invocation command line was
1383
1384  $ $0 $@
1385
1386_ACEOF
1387exec 5>>config.log
1388{
1389cat <<_ASUNAME
1390## --------- ##
1391## Platform. ##
1392## --------- ##
1393
1394hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1395uname -m = `(uname -m) 2>/dev/null || echo unknown`
1396uname -r = `(uname -r) 2>/dev/null || echo unknown`
1397uname -s = `(uname -s) 2>/dev/null || echo unknown`
1398uname -v = `(uname -v) 2>/dev/null || echo unknown`
1399
1400/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1401/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1402
1403/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1404/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1405/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1406/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1407/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1408/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1409/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1410
1411_ASUNAME
1412
1413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414for as_dir in $PATH
1415do
1416  IFS=$as_save_IFS
1417  test -z "$as_dir" && as_dir=.
1418  echo "PATH: $as_dir"
1419done
1420IFS=$as_save_IFS
1421
1422} >&5
1423
1424cat >&5 <<_ACEOF
1425
1426
1427## ----------- ##
1428## Core tests. ##
1429## ----------- ##
1430
1431_ACEOF
1432
1433
1434# Keep a trace of the command line.
1435# Strip out --no-create and --no-recursion so they do not pile up.
1436# Strip out --silent because we don't want to record it for future runs.
1437# Also quote any args containing shell meta-characters.
1438# Make two passes to allow for proper duplicate-argument suppression.
1439ac_configure_args=
1440ac_configure_args0=
1441ac_configure_args1=
1442ac_must_keep_next=false
1443for ac_pass in 1 2
1444do
1445  for ac_arg
1446  do
1447    case $ac_arg in
1448    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1449    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1450    | -silent | --silent | --silen | --sile | --sil)
1451      continue ;;
1452    *\'*)
1453      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1454    esac
1455    case $ac_pass in
1456    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1457    2)
1458      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1459      if test $ac_must_keep_next = true; then
1460	ac_must_keep_next=false # Got value, back to normal.
1461      else
1462	case $ac_arg in
1463	  *=* | --config-cache | -C | -disable-* | --disable-* \
1464	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1465	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1466	  | -with-* | --with-* | -without-* | --without-* | --x)
1467	    case "$ac_configure_args0 " in
1468	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1469	    esac
1470	    ;;
1471	  -* ) ac_must_keep_next=true ;;
1472	esac
1473      fi
1474      ac_configure_args="$ac_configure_args '$ac_arg'"
1475      ;;
1476    esac
1477  done
1478done
1479$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1480$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1481
1482# When interrupted or exit'd, cleanup temporary files, and complete
1483# config.log.  We remove comments because anyway the quotes in there
1484# would cause problems or look ugly.
1485# WARNING: Use '\'' to represent an apostrophe within the trap.
1486# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1487trap 'exit_status=$?
1488  # Save into config.log some information that might help in debugging.
1489  {
1490    echo
1491
1492    cat <<\_ASBOX
1493## ---------------- ##
1494## Cache variables. ##
1495## ---------------- ##
1496_ASBOX
1497    echo
1498    # The following way of writing the cache mishandles newlines in values,
1499(
1500  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1501    eval ac_val=\$$ac_var
1502    case $ac_val in #(
1503    *${as_nl}*)
1504      case $ac_var in #(
1505      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1506echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1507      esac
1508      case $ac_var in #(
1509      _ | IFS | as_nl) ;; #(
1510      *) $as_unset $ac_var ;;
1511      esac ;;
1512    esac
1513  done
1514  (set) 2>&1 |
1515    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1516    *${as_nl}ac_space=\ *)
1517      sed -n \
1518	"s/'\''/'\''\\\\'\'''\''/g;
1519	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1520      ;; #(
1521    *)
1522      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1523      ;;
1524    esac |
1525    sort
1526)
1527    echo
1528
1529    cat <<\_ASBOX
1530## ----------------- ##
1531## Output variables. ##
1532## ----------------- ##
1533_ASBOX
1534    echo
1535    for ac_var in $ac_subst_vars
1536    do
1537      eval ac_val=\$$ac_var
1538      case $ac_val in
1539      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1540      esac
1541      echo "$ac_var='\''$ac_val'\''"
1542    done | sort
1543    echo
1544
1545    if test -n "$ac_subst_files"; then
1546      cat <<\_ASBOX
1547## ------------------- ##
1548## File substitutions. ##
1549## ------------------- ##
1550_ASBOX
1551      echo
1552      for ac_var in $ac_subst_files
1553      do
1554	eval ac_val=\$$ac_var
1555	case $ac_val in
1556	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557	esac
1558	echo "$ac_var='\''$ac_val'\''"
1559      done | sort
1560      echo
1561    fi
1562
1563    if test -s confdefs.h; then
1564      cat <<\_ASBOX
1565## ----------- ##
1566## confdefs.h. ##
1567## ----------- ##
1568_ASBOX
1569      echo
1570      cat confdefs.h
1571      echo
1572    fi
1573    test "$ac_signal" != 0 &&
1574      echo "$as_me: caught signal $ac_signal"
1575    echo "$as_me: exit $exit_status"
1576  } >&5
1577  rm -f core *.core core.conftest.* &&
1578    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1579    exit $exit_status
1580' 0
1581for ac_signal in 1 2 13 15; do
1582  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1583done
1584ac_signal=0
1585
1586# confdefs.h avoids OS command line length limits that DEFS can exceed.
1587rm -f -r conftest* confdefs.h
1588
1589# Predefined preprocessor variables.
1590
1591cat >>confdefs.h <<_ACEOF
1592#define PACKAGE_NAME "$PACKAGE_NAME"
1593_ACEOF
1594
1595
1596cat >>confdefs.h <<_ACEOF
1597#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1598_ACEOF
1599
1600
1601cat >>confdefs.h <<_ACEOF
1602#define PACKAGE_VERSION "$PACKAGE_VERSION"
1603_ACEOF
1604
1605
1606cat >>confdefs.h <<_ACEOF
1607#define PACKAGE_STRING "$PACKAGE_STRING"
1608_ACEOF
1609
1610
1611cat >>confdefs.h <<_ACEOF
1612#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1613_ACEOF
1614
1615
1616# Let the site file select an alternate cache file if it wants to.
1617# Prefer explicitly selected file to automatically selected ones.
1618if test -n "$CONFIG_SITE"; then
1619  set x "$CONFIG_SITE"
1620elif test "x$prefix" != xNONE; then
1621  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1622else
1623  set x "$ac_default_prefix/share/config.site" \
1624	"$ac_default_prefix/etc/config.site"
1625fi
1626shift
1627for ac_site_file
1628do
1629  if test -r "$ac_site_file"; then
1630    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1631echo "$as_me: loading site script $ac_site_file" >&6;}
1632    sed 's/^/| /' "$ac_site_file" >&5
1633    . "$ac_site_file"
1634  fi
1635done
1636
1637if test -r "$cache_file"; then
1638  # Some versions of bash will fail to source /dev/null (special
1639  # files actually), so we avoid doing that.
1640  if test -f "$cache_file"; then
1641    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1642echo "$as_me: loading cache $cache_file" >&6;}
1643    case $cache_file in
1644      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1645      *)                      . "./$cache_file";;
1646    esac
1647  fi
1648else
1649  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1650echo "$as_me: creating cache $cache_file" >&6;}
1651  >$cache_file
1652fi
1653
1654# Check that the precious variables saved in the cache have kept the same
1655# value.
1656ac_cache_corrupted=false
1657for ac_var in $ac_precious_vars; do
1658  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1659  eval ac_new_set=\$ac_env_${ac_var}_set
1660  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1661  eval ac_new_val=\$ac_env_${ac_var}_value
1662  case $ac_old_set,$ac_new_set in
1663    set,)
1664      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1665echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1666      ac_cache_corrupted=: ;;
1667    ,set)
1668      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1669echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1670      ac_cache_corrupted=: ;;
1671    ,);;
1672    *)
1673      if test "x$ac_old_val" != "x$ac_new_val"; then
1674	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1675echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1676	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1677echo "$as_me:   former value:  $ac_old_val" >&2;}
1678	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1679echo "$as_me:   current value: $ac_new_val" >&2;}
1680	ac_cache_corrupted=:
1681      fi;;
1682  esac
1683  # Pass precious variables to config.status.
1684  if test "$ac_new_set" = set; then
1685    case $ac_new_val in
1686    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1687    *) ac_arg=$ac_var=$ac_new_val ;;
1688    esac
1689    case " $ac_configure_args " in
1690      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1691      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1692    esac
1693  fi
1694done
1695if $ac_cache_corrupted; then
1696  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1697echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1698  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1699echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1700   { (exit 1); exit 1; }; }
1701fi
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727ac_ext=c
1728ac_cpp='$CPP $CPPFLAGS'
1729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1731ac_compiler_gnu=$ac_cv_c_compiler_gnu
1732
1733
1734am__api_version='1.10'
1735
1736ac_aux_dir=
1737for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1738  if test -f "$ac_dir/install-sh"; then
1739    ac_aux_dir=$ac_dir
1740    ac_install_sh="$ac_aux_dir/install-sh -c"
1741    break
1742  elif test -f "$ac_dir/install.sh"; then
1743    ac_aux_dir=$ac_dir
1744    ac_install_sh="$ac_aux_dir/install.sh -c"
1745    break
1746  elif test -f "$ac_dir/shtool"; then
1747    ac_aux_dir=$ac_dir
1748    ac_install_sh="$ac_aux_dir/shtool install -c"
1749    break
1750  fi
1751done
1752if test -z "$ac_aux_dir"; then
1753  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1754echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1755   { (exit 1); exit 1; }; }
1756fi
1757
1758# These three variables are undocumented and unsupported,
1759# and are intended to be withdrawn in a future Autoconf release.
1760# They can cause serious problems if a builder's source tree is in a directory
1761# whose full name contains unusual characters.
1762ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1763ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1764ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1765
1766
1767# Find a good install program.  We prefer a C program (faster),
1768# so one script is as good as another.  But avoid the broken or
1769# incompatible versions:
1770# SysV /etc/install, /usr/sbin/install
1771# SunOS /usr/etc/install
1772# IRIX /sbin/install
1773# AIX /bin/install
1774# AmigaOS /C/install, which installs bootblocks on floppy discs
1775# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1776# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1777# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1778# OS/2's system install, which has a completely different semantic
1779# ./install, which can be erroneously created by make from ./install.sh.
1780{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1781echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1782if test -z "$INSTALL"; then
1783if test "${ac_cv_path_install+set}" = set; then
1784  echo $ECHO_N "(cached) $ECHO_C" >&6
1785else
1786  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787for as_dir in $PATH
1788do
1789  IFS=$as_save_IFS
1790  test -z "$as_dir" && as_dir=.
1791  # Account for people who put trailing slashes in PATH elements.
1792case $as_dir/ in
1793  ./ | .// | /cC/* | \
1794  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1795  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1796  /usr/ucb/* ) ;;
1797  *)
1798    # OSF1 and SCO ODT 3.0 have their own names for install.
1799    # Don't use installbsd from OSF since it installs stuff as root
1800    # by default.
1801    for ac_prog in ginstall scoinst install; do
1802      for ac_exec_ext in '' $ac_executable_extensions; do
1803	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1804	  if test $ac_prog = install &&
1805	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1806	    # AIX install.  It has an incompatible calling convention.
1807	    :
1808	  elif test $ac_prog = install &&
1809	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1810	    # program-specific install script used by HP pwplus--don't use.
1811	    :
1812	  else
1813	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1814	    break 3
1815	  fi
1816	fi
1817      done
1818    done
1819    ;;
1820esac
1821done
1822IFS=$as_save_IFS
1823
1824
1825fi
1826  if test "${ac_cv_path_install+set}" = set; then
1827    INSTALL=$ac_cv_path_install
1828  else
1829    # As a last resort, use the slow shell script.  Don't cache a
1830    # value for INSTALL within a source directory, because that will
1831    # break other packages using the cache if that directory is
1832    # removed, or if the value is a relative name.
1833    INSTALL=$ac_install_sh
1834  fi
1835fi
1836{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1837echo "${ECHO_T}$INSTALL" >&6; }
1838
1839# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1840# It thinks the first close brace ends the variable substitution.
1841test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1842
1843test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1844
1845test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1846
1847{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1848echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1849# Just in case
1850sleep 1
1851echo timestamp > conftest.file
1852# Do `set' in a subshell so we don't clobber the current shell's
1853# arguments.  Must try -L first in case configure is actually a
1854# symlink; some systems play weird games with the mod time of symlinks
1855# (eg FreeBSD returns the mod time of the symlink's containing
1856# directory).
1857if (
1858   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1859   if test "$*" = "X"; then
1860      # -L didn't work.
1861      set X `ls -t $srcdir/configure conftest.file`
1862   fi
1863   rm -f conftest.file
1864   if test "$*" != "X $srcdir/configure conftest.file" \
1865      && test "$*" != "X conftest.file $srcdir/configure"; then
1866
1867      # If neither matched, then we have a broken ls.  This can happen
1868      # if, for instance, CONFIG_SHELL is bash and it inherits a
1869      # broken ls alias from the environment.  This has actually
1870      # happened.  Such a system could not be considered "sane".
1871      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1872alias in your environment" >&5
1873echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1874alias in your environment" >&2;}
1875   { (exit 1); exit 1; }; }
1876   fi
1877
1878   test "$2" = conftest.file
1879   )
1880then
1881   # Ok.
1882   :
1883else
1884   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1885Check your system clock" >&5
1886echo "$as_me: error: newly created file is older than distributed files!
1887Check your system clock" >&2;}
1888   { (exit 1); exit 1; }; }
1889fi
1890{ echo "$as_me:$LINENO: result: yes" >&5
1891echo "${ECHO_T}yes" >&6; }
1892test "$program_prefix" != NONE &&
1893  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1894# Use a double $ so make ignores it.
1895test "$program_suffix" != NONE &&
1896  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1897# Double any \ or $.  echo might interpret backslashes.
1898# By default was `s,x,x', remove it if useless.
1899cat <<\_ACEOF >conftest.sed
1900s/[\\$]/&&/g;s/;s,x,x,$//
1901_ACEOF
1902program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1903rm -f conftest.sed
1904
1905# expand $ac_aux_dir to an absolute path
1906am_aux_dir=`cd $ac_aux_dir && pwd`
1907
1908test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1909# Use eval to expand $SHELL
1910if eval "$MISSING --run true"; then
1911  am_missing_run="$MISSING --run "
1912else
1913  am_missing_run=
1914  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1915echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1916fi
1917
1918{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1919echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1920if test -z "$MKDIR_P"; then
1921  if test "${ac_cv_path_mkdir+set}" = set; then
1922  echo $ECHO_N "(cached) $ECHO_C" >&6
1923else
1924  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1926do
1927  IFS=$as_save_IFS
1928  test -z "$as_dir" && as_dir=.
1929  for ac_prog in mkdir gmkdir; do
1930	 for ac_exec_ext in '' $ac_executable_extensions; do
1931	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1932	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1933	     'mkdir (GNU coreutils) '* | \
1934	     'mkdir (coreutils) '* | \
1935	     'mkdir (fileutils) '4.1*)
1936	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1937	       break 3;;
1938	   esac
1939	 done
1940       done
1941done
1942IFS=$as_save_IFS
1943
1944fi
1945
1946  if test "${ac_cv_path_mkdir+set}" = set; then
1947    MKDIR_P="$ac_cv_path_mkdir -p"
1948  else
1949    # As a last resort, use the slow shell script.  Don't cache a
1950    # value for MKDIR_P within a source directory, because that will
1951    # break other packages using the cache if that directory is
1952    # removed, or if the value is a relative name.
1953    test -d ./--version && rmdir ./--version
1954    MKDIR_P="$ac_install_sh -d"
1955  fi
1956fi
1957{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1958echo "${ECHO_T}$MKDIR_P" >&6; }
1959
1960mkdir_p="$MKDIR_P"
1961case $mkdir_p in
1962  [\\/$]* | ?:[\\/]*) ;;
1963  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1964esac
1965
1966for ac_prog in gawk mawk nawk awk
1967do
1968  # Extract the first word of "$ac_prog", so it can be a program name with args.
1969set dummy $ac_prog; ac_word=$2
1970{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1971echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1972if test "${ac_cv_prog_AWK+set}" = set; then
1973  echo $ECHO_N "(cached) $ECHO_C" >&6
1974else
1975  if test -n "$AWK"; then
1976  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1977else
1978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979for as_dir in $PATH
1980do
1981  IFS=$as_save_IFS
1982  test -z "$as_dir" && as_dir=.
1983  for ac_exec_ext in '' $ac_executable_extensions; do
1984  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1985    ac_cv_prog_AWK="$ac_prog"
1986    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987    break 2
1988  fi
1989done
1990done
1991IFS=$as_save_IFS
1992
1993fi
1994fi
1995AWK=$ac_cv_prog_AWK
1996if test -n "$AWK"; then
1997  { echo "$as_me:$LINENO: result: $AWK" >&5
1998echo "${ECHO_T}$AWK" >&6; }
1999else
2000  { echo "$as_me:$LINENO: result: no" >&5
2001echo "${ECHO_T}no" >&6; }
2002fi
2003
2004
2005  test -n "$AWK" && break
2006done
2007
2008{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012  echo $ECHO_N "(cached) $ECHO_C" >&6
2013else
2014  cat >conftest.make <<\_ACEOF
2015SHELL = /bin/sh
2016all:
2017	@echo '@@@%%%=$(MAKE)=@@@%%%'
2018_ACEOF
2019# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021  *@@@%%%=?*=@@@%%%*)
2022    eval ac_cv_prog_make_${ac_make}_set=yes;;
2023  *)
2024    eval ac_cv_prog_make_${ac_make}_set=no;;
2025esac
2026rm -f conftest.make
2027fi
2028if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029  { echo "$as_me:$LINENO: result: yes" >&5
2030echo "${ECHO_T}yes" >&6; }
2031  SET_MAKE=
2032else
2033  { echo "$as_me:$LINENO: result: no" >&5
2034echo "${ECHO_T}no" >&6; }
2035  SET_MAKE="MAKE=${MAKE-make}"
2036fi
2037
2038rm -rf .tst 2>/dev/null
2039mkdir .tst 2>/dev/null
2040if test -d .tst; then
2041  am__leading_dot=.
2042else
2043  am__leading_dot=_
2044fi
2045rmdir .tst 2>/dev/null
2046
2047if test "`cd $srcdir && pwd`" != "`pwd`"; then
2048  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2049  # is not polluted with repeated "-I."
2050  am__isrc=' -I$(srcdir)'
2051  # test to see if srcdir already configured
2052  if test -f $srcdir/config.status; then
2053    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055   { (exit 1); exit 1; }; }
2056  fi
2057fi
2058
2059# test whether we have cygpath
2060if test -z "$CYGPATH_W"; then
2061  if (cygpath --version) >/dev/null 2>/dev/null; then
2062    CYGPATH_W='cygpath -w'
2063  else
2064    CYGPATH_W=echo
2065  fi
2066fi
2067
2068
2069# Define the identity of the package.
2070 PACKAGE=ldapdiff
2071 VERSION=1.4.1
2072
2073
2074# Some tools Automake needs.
2075
2076ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2077
2078
2079AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2080
2081
2082AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2083
2084
2085AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2086
2087
2088MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2089
2090install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2091
2092# Installed binaries are usually stripped using `strip' when the user
2093# run `make install-strip'.  However `strip' might not be the right
2094# tool to use in cross-compilation environments, therefore Automake
2095# will honor the `STRIP' environment variable to overrule this program.
2096if test "$cross_compiling" != no; then
2097  if test -n "$ac_tool_prefix"; then
2098  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2099set dummy ${ac_tool_prefix}strip; ac_word=$2
2100{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2101echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102if test "${ac_cv_prog_STRIP+set}" = set; then
2103  echo $ECHO_N "(cached) $ECHO_C" >&6
2104else
2105  if test -n "$STRIP"; then
2106  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2107else
2108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109for as_dir in $PATH
2110do
2111  IFS=$as_save_IFS
2112  test -z "$as_dir" && as_dir=.
2113  for ac_exec_ext in '' $ac_executable_extensions; do
2114  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2115    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2116    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117    break 2
2118  fi
2119done
2120done
2121IFS=$as_save_IFS
2122
2123fi
2124fi
2125STRIP=$ac_cv_prog_STRIP
2126if test -n "$STRIP"; then
2127  { echo "$as_me:$LINENO: result: $STRIP" >&5
2128echo "${ECHO_T}$STRIP" >&6; }
2129else
2130  { echo "$as_me:$LINENO: result: no" >&5
2131echo "${ECHO_T}no" >&6; }
2132fi
2133
2134
2135fi
2136if test -z "$ac_cv_prog_STRIP"; then
2137  ac_ct_STRIP=$STRIP
2138  # Extract the first word of "strip", so it can be a program name with args.
2139set dummy strip; ac_word=$2
2140{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2141echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2143  echo $ECHO_N "(cached) $ECHO_C" >&6
2144else
2145  if test -n "$ac_ct_STRIP"; then
2146  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2147else
2148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149for as_dir in $PATH
2150do
2151  IFS=$as_save_IFS
2152  test -z "$as_dir" && as_dir=.
2153  for ac_exec_ext in '' $ac_executable_extensions; do
2154  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155    ac_cv_prog_ac_ct_STRIP="strip"
2156    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157    break 2
2158  fi
2159done
2160done
2161IFS=$as_save_IFS
2162
2163fi
2164fi
2165ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2166if test -n "$ac_ct_STRIP"; then
2167  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2168echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2169else
2170  { echo "$as_me:$LINENO: result: no" >&5
2171echo "${ECHO_T}no" >&6; }
2172fi
2173
2174  if test "x$ac_ct_STRIP" = x; then
2175    STRIP=":"
2176  else
2177    case $cross_compiling:$ac_tool_warned in
2178yes:)
2179{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2180whose name does not start with the host triplet.  If you think this
2181configuration is useful to you, please write to autoconf@gnu.org." >&5
2182echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2183whose name does not start with the host triplet.  If you think this
2184configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2185ac_tool_warned=yes ;;
2186esac
2187    STRIP=$ac_ct_STRIP
2188  fi
2189else
2190  STRIP="$ac_cv_prog_STRIP"
2191fi
2192
2193fi
2194INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2195
2196# We need awk for the "check" target.  The system "awk" is bad on
2197# some platforms.
2198# Always define AMTAR for backward compatibility.
2199
2200AMTAR=${AMTAR-"${am_missing_run}tar"}
2201
2202am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2203
2204
2205
2206
2207
2208
2209
2210ac_config_headers="$ac_config_headers config.h"
2211
2212
2213# Checks for programs.
2214for ac_prog in gawk mawk nawk awk
2215do
2216  # Extract the first word of "$ac_prog", so it can be a program name with args.
2217set dummy $ac_prog; ac_word=$2
2218{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2219echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2220if test "${ac_cv_prog_AWK+set}" = set; then
2221  echo $ECHO_N "(cached) $ECHO_C" >&6
2222else
2223  if test -n "$AWK"; then
2224  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2225else
2226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227for as_dir in $PATH
2228do
2229  IFS=$as_save_IFS
2230  test -z "$as_dir" && as_dir=.
2231  for ac_exec_ext in '' $ac_executable_extensions; do
2232  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233    ac_cv_prog_AWK="$ac_prog"
2234    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235    break 2
2236  fi
2237done
2238done
2239IFS=$as_save_IFS
2240
2241fi
2242fi
2243AWK=$ac_cv_prog_AWK
2244if test -n "$AWK"; then
2245  { echo "$as_me:$LINENO: result: $AWK" >&5
2246echo "${ECHO_T}$AWK" >&6; }
2247else
2248  { echo "$as_me:$LINENO: result: no" >&5
2249echo "${ECHO_T}no" >&6; }
2250fi
2251
2252
2253  test -n "$AWK" && break
2254done
2255
2256ac_ext=c
2257ac_cpp='$CPP $CPPFLAGS'
2258ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2259ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2260ac_compiler_gnu=$ac_cv_c_compiler_gnu
2261if test -n "$ac_tool_prefix"; then
2262  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2263set dummy ${ac_tool_prefix}gcc; ac_word=$2
2264{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2265echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266if test "${ac_cv_prog_CC+set}" = set; then
2267  echo $ECHO_N "(cached) $ECHO_C" >&6
2268else
2269  if test -n "$CC"; then
2270  ac_cv_prog_CC="$CC" # Let the user override the test.
2271else
2272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273for as_dir in $PATH
2274do
2275  IFS=$as_save_IFS
2276  test -z "$as_dir" && as_dir=.
2277  for ac_exec_ext in '' $ac_executable_extensions; do
2278  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2280    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281    break 2
2282  fi
2283done
2284done
2285IFS=$as_save_IFS
2286
2287fi
2288fi
2289CC=$ac_cv_prog_CC
2290if test -n "$CC"; then
2291  { echo "$as_me:$LINENO: result: $CC" >&5
2292echo "${ECHO_T}$CC" >&6; }
2293else
2294  { echo "$as_me:$LINENO: result: no" >&5
2295echo "${ECHO_T}no" >&6; }
2296fi
2297
2298
2299fi
2300if test -z "$ac_cv_prog_CC"; then
2301  ac_ct_CC=$CC
2302  # Extract the first word of "gcc", so it can be a program name with args.
2303set dummy gcc; ac_word=$2
2304{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2305echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2307  echo $ECHO_N "(cached) $ECHO_C" >&6
2308else
2309  if test -n "$ac_ct_CC"; then
2310  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2311else
2312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313for as_dir in $PATH
2314do
2315  IFS=$as_save_IFS
2316  test -z "$as_dir" && as_dir=.
2317  for ac_exec_ext in '' $ac_executable_extensions; do
2318  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319    ac_cv_prog_ac_ct_CC="gcc"
2320    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321    break 2
2322  fi
2323done
2324done
2325IFS=$as_save_IFS
2326
2327fi
2328fi
2329ac_ct_CC=$ac_cv_prog_ac_ct_CC
2330if test -n "$ac_ct_CC"; then
2331  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2332echo "${ECHO_T}$ac_ct_CC" >&6; }
2333else
2334  { echo "$as_me:$LINENO: result: no" >&5
2335echo "${ECHO_T}no" >&6; }
2336fi
2337
2338  if test "x$ac_ct_CC" = x; then
2339    CC=""
2340  else
2341    case $cross_compiling:$ac_tool_warned in
2342yes:)
2343{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2344whose name does not start with the host triplet.  If you think this
2345configuration is useful to you, please write to autoconf@gnu.org." >&5
2346echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2347whose name does not start with the host triplet.  If you think this
2348configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2349ac_tool_warned=yes ;;
2350esac
2351    CC=$ac_ct_CC
2352  fi
2353else
2354  CC="$ac_cv_prog_CC"
2355fi
2356
2357if test -z "$CC"; then
2358          if test -n "$ac_tool_prefix"; then
2359    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2360set dummy ${ac_tool_prefix}cc; ac_word=$2
2361{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2362echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2363if test "${ac_cv_prog_CC+set}" = set; then
2364  echo $ECHO_N "(cached) $ECHO_C" >&6
2365else
2366  if test -n "$CC"; then
2367  ac_cv_prog_CC="$CC" # Let the user override the test.
2368else
2369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370for as_dir in $PATH
2371do
2372  IFS=$as_save_IFS
2373  test -z "$as_dir" && as_dir=.
2374  for ac_exec_ext in '' $ac_executable_extensions; do
2375  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376    ac_cv_prog_CC="${ac_tool_prefix}cc"
2377    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378    break 2
2379  fi
2380done
2381done
2382IFS=$as_save_IFS
2383
2384fi
2385fi
2386CC=$ac_cv_prog_CC
2387if test -n "$CC"; then
2388  { echo "$as_me:$LINENO: result: $CC" >&5
2389echo "${ECHO_T}$CC" >&6; }
2390else
2391  { echo "$as_me:$LINENO: result: no" >&5
2392echo "${ECHO_T}no" >&6; }
2393fi
2394
2395
2396  fi
2397fi
2398if test -z "$CC"; then
2399  # Extract the first word of "cc", so it can be a program name with args.
2400set dummy cc; ac_word=$2
2401{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2402echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2403if test "${ac_cv_prog_CC+set}" = set; then
2404  echo $ECHO_N "(cached) $ECHO_C" >&6
2405else
2406  if test -n "$CC"; then
2407  ac_cv_prog_CC="$CC" # Let the user override the test.
2408else
2409  ac_prog_rejected=no
2410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411for as_dir in $PATH
2412do
2413  IFS=$as_save_IFS
2414  test -z "$as_dir" && as_dir=.
2415  for ac_exec_ext in '' $ac_executable_extensions; do
2416  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2417    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2418       ac_prog_rejected=yes
2419       continue
2420     fi
2421    ac_cv_prog_CC="cc"
2422    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423    break 2
2424  fi
2425done
2426done
2427IFS=$as_save_IFS
2428
2429if test $ac_prog_rejected = yes; then
2430  # We found a bogon in the path, so make sure we never use it.
2431  set dummy $ac_cv_prog_CC
2432  shift
2433  if test $# != 0; then
2434    # We chose a different compiler from the bogus one.
2435    # However, it has the same basename, so the bogon will be chosen
2436    # first if we set CC to just the basename; use the full file name.
2437    shift
2438    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2439  fi
2440fi
2441fi
2442fi
2443CC=$ac_cv_prog_CC
2444if test -n "$CC"; then
2445  { echo "$as_me:$LINENO: result: $CC" >&5
2446echo "${ECHO_T}$CC" >&6; }
2447else
2448  { echo "$as_me:$LINENO: result: no" >&5
2449echo "${ECHO_T}no" >&6; }
2450fi
2451
2452
2453fi
2454if test -z "$CC"; then
2455  if test -n "$ac_tool_prefix"; then
2456  for ac_prog in cl.exe
2457  do
2458    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2459set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2460{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2462if test "${ac_cv_prog_CC+set}" = set; then
2463  echo $ECHO_N "(cached) $ECHO_C" >&6
2464else
2465  if test -n "$CC"; then
2466  ac_cv_prog_CC="$CC" # Let the user override the test.
2467else
2468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469for as_dir in $PATH
2470do
2471  IFS=$as_save_IFS
2472  test -z "$as_dir" && as_dir=.
2473  for ac_exec_ext in '' $ac_executable_extensions; do
2474  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2476    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477    break 2
2478  fi
2479done
2480done
2481IFS=$as_save_IFS
2482
2483fi
2484fi
2485CC=$ac_cv_prog_CC
2486if test -n "$CC"; then
2487  { echo "$as_me:$LINENO: result: $CC" >&5
2488echo "${ECHO_T}$CC" >&6; }
2489else
2490  { echo "$as_me:$LINENO: result: no" >&5
2491echo "${ECHO_T}no" >&6; }
2492fi
2493
2494
2495    test -n "$CC" && break
2496  done
2497fi
2498if test -z "$CC"; then
2499  ac_ct_CC=$CC
2500  for ac_prog in cl.exe
2501do
2502  # Extract the first word of "$ac_prog", so it can be a program name with args.
2503set dummy $ac_prog; ac_word=$2
2504{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2507  echo $ECHO_N "(cached) $ECHO_C" >&6
2508else
2509  if test -n "$ac_ct_CC"; then
2510  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511else
2512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513for as_dir in $PATH
2514do
2515  IFS=$as_save_IFS
2516  test -z "$as_dir" && as_dir=.
2517  for ac_exec_ext in '' $ac_executable_extensions; do
2518  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519    ac_cv_prog_ac_ct_CC="$ac_prog"
2520    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521    break 2
2522  fi
2523done
2524done
2525IFS=$as_save_IFS
2526
2527fi
2528fi
2529ac_ct_CC=$ac_cv_prog_ac_ct_CC
2530if test -n "$ac_ct_CC"; then
2531  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2532echo "${ECHO_T}$ac_ct_CC" >&6; }
2533else
2534  { echo "$as_me:$LINENO: result: no" >&5
2535echo "${ECHO_T}no" >&6; }
2536fi
2537
2538
2539  test -n "$ac_ct_CC" && break
2540done
2541
2542  if test "x$ac_ct_CC" = x; then
2543    CC=""
2544  else
2545    case $cross_compiling:$ac_tool_warned in
2546yes:)
2547{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2548whose name does not start with the host triplet.  If you think this
2549configuration is useful to you, please write to autoconf@gnu.org." >&5
2550echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2551whose name does not start with the host triplet.  If you think this
2552configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2553ac_tool_warned=yes ;;
2554esac
2555    CC=$ac_ct_CC
2556  fi
2557fi
2558
2559fi
2560
2561
2562test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2563See \`config.log' for more details." >&5
2564echo "$as_me: error: no acceptable C compiler found in \$PATH
2565See \`config.log' for more details." >&2;}
2566   { (exit 1); exit 1; }; }
2567
2568# Provide some information about the compiler.
2569echo "$as_me:$LINENO: checking for C compiler version" >&5
2570ac_compiler=`set X $ac_compile; echo $2`
2571{ (ac_try="$ac_compiler --version >&5"
2572case "(($ac_try" in
2573  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574  *) ac_try_echo=$ac_try;;
2575esac
2576eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2577  (eval "$ac_compiler --version >&5") 2>&5
2578  ac_status=$?
2579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580  (exit $ac_status); }
2581{ (ac_try="$ac_compiler -v >&5"
2582case "(($ac_try" in
2583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584  *) ac_try_echo=$ac_try;;
2585esac
2586eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2587  (eval "$ac_compiler -v >&5") 2>&5
2588  ac_status=$?
2589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590  (exit $ac_status); }
2591{ (ac_try="$ac_compiler -V >&5"
2592case "(($ac_try" in
2593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594  *) ac_try_echo=$ac_try;;
2595esac
2596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2597  (eval "$ac_compiler -V >&5") 2>&5
2598  ac_status=$?
2599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600  (exit $ac_status); }
2601
2602cat >conftest.$ac_ext <<_ACEOF
2603/* confdefs.h.  */
2604_ACEOF
2605cat confdefs.h >>conftest.$ac_ext
2606cat >>conftest.$ac_ext <<_ACEOF
2607/* end confdefs.h.  */
2608
2609int
2610main ()
2611{
2612
2613  ;
2614  return 0;
2615}
2616_ACEOF
2617ac_clean_files_save=$ac_clean_files
2618ac_clean_files="$ac_clean_files a.out a.exe b.out"
2619# Try to create an executable without -o first, disregard a.out.
2620# It will help us diagnose broken compilers, and finding out an intuition
2621# of exeext.
2622{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2623echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2624ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2625#
2626# List of possible output files, starting from the most likely.
2627# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2628# only as a last resort.  b.out is created by i960 compilers.
2629ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2630#
2631# The IRIX 6 linker writes into existing files which may not be
2632# executable, retaining their permissions.  Remove them first so a
2633# subsequent execution test works.
2634ac_rmfiles=
2635for ac_file in $ac_files
2636do
2637  case $ac_file in
2638    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2639    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2640  esac
2641done
2642rm -f $ac_rmfiles
2643
2644if { (ac_try="$ac_link_default"
2645case "(($ac_try" in
2646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647  *) ac_try_echo=$ac_try;;
2648esac
2649eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650  (eval "$ac_link_default") 2>&5
2651  ac_status=$?
2652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653  (exit $ac_status); }; then
2654  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2655# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2656# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2657# so that the user can short-circuit this test for compilers unknown to
2658# Autoconf.
2659for ac_file in $ac_files ''
2660do
2661  test -f "$ac_file" || continue
2662  case $ac_file in
2663    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2664	;;
2665    [ab].out )
2666	# We found the default executable, but exeext='' is most
2667	# certainly right.
2668	break;;
2669    *.* )
2670        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2671	then :; else
2672	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2673	fi
2674	# We set ac_cv_exeext here because the later test for it is not
2675	# safe: cross compilers may not add the suffix if given an `-o'
2676	# argument, so we may need to know it at that point already.
2677	# Even if this section looks crufty: it has the advantage of
2678	# actually working.
2679	break;;
2680    * )
2681	break;;
2682  esac
2683done
2684test "$ac_cv_exeext" = no && ac_cv_exeext=
2685
2686else
2687  ac_file=''
2688fi
2689
2690{ echo "$as_me:$LINENO: result: $ac_file" >&5
2691echo "${ECHO_T}$ac_file" >&6; }
2692if test -z "$ac_file"; then
2693  echo "$as_me: failed program was:" >&5
2694sed 's/^/| /' conftest.$ac_ext >&5
2695
2696{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2697See \`config.log' for more details." >&5
2698echo "$as_me: error: C compiler cannot create executables
2699See \`config.log' for more details." >&2;}
2700   { (exit 77); exit 77; }; }
2701fi
2702
2703ac_exeext=$ac_cv_exeext
2704
2705# Check that the compiler produces executables we can run.  If not, either
2706# the compiler is broken, or we cross compile.
2707{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2708echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2709# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2710# If not cross compiling, check that we can run a simple program.
2711if test "$cross_compiling" != yes; then
2712  if { ac_try='./$ac_file'
2713  { (case "(($ac_try" in
2714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715  *) ac_try_echo=$ac_try;;
2716esac
2717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718  (eval "$ac_try") 2>&5
2719  ac_status=$?
2720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721  (exit $ac_status); }; }; then
2722    cross_compiling=no
2723  else
2724    if test "$cross_compiling" = maybe; then
2725	cross_compiling=yes
2726    else
2727	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2728If you meant to cross compile, use \`--host'.
2729See \`config.log' for more details." >&5
2730echo "$as_me: error: cannot run C compiled programs.
2731If you meant to cross compile, use \`--host'.
2732See \`config.log' for more details." >&2;}
2733   { (exit 1); exit 1; }; }
2734    fi
2735  fi
2736fi
2737{ echo "$as_me:$LINENO: result: yes" >&5
2738echo "${ECHO_T}yes" >&6; }
2739
2740rm -f a.out a.exe conftest$ac_cv_exeext b.out
2741ac_clean_files=$ac_clean_files_save
2742# Check that the compiler produces executables we can run.  If not, either
2743# the compiler is broken, or we cross compile.
2744{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2745echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2746{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2747echo "${ECHO_T}$cross_compiling" >&6; }
2748
2749{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2750echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2751if { (ac_try="$ac_link"
2752case "(($ac_try" in
2753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754  *) ac_try_echo=$ac_try;;
2755esac
2756eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757  (eval "$ac_link") 2>&5
2758  ac_status=$?
2759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760  (exit $ac_status); }; then
2761  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2762# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2763# work properly (i.e., refer to `conftest.exe'), while it won't with
2764# `rm'.
2765for ac_file in conftest.exe conftest conftest.*; do
2766  test -f "$ac_file" || continue
2767  case $ac_file in
2768    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2769    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2770	  break;;
2771    * ) break;;
2772  esac
2773done
2774else
2775  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2776See \`config.log' for more details." >&5
2777echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2778See \`config.log' for more details." >&2;}
2779   { (exit 1); exit 1; }; }
2780fi
2781
2782rm -f conftest$ac_cv_exeext
2783{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2784echo "${ECHO_T}$ac_cv_exeext" >&6; }
2785
2786rm -f conftest.$ac_ext
2787EXEEXT=$ac_cv_exeext
2788ac_exeext=$EXEEXT
2789{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2790echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2791if test "${ac_cv_objext+set}" = set; then
2792  echo $ECHO_N "(cached) $ECHO_C" >&6
2793else
2794  cat >conftest.$ac_ext <<_ACEOF
2795/* confdefs.h.  */
2796_ACEOF
2797cat confdefs.h >>conftest.$ac_ext
2798cat >>conftest.$ac_ext <<_ACEOF
2799/* end confdefs.h.  */
2800
2801int
2802main ()
2803{
2804
2805  ;
2806  return 0;
2807}
2808_ACEOF
2809rm -f conftest.o conftest.obj
2810if { (ac_try="$ac_compile"
2811case "(($ac_try" in
2812  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813  *) ac_try_echo=$ac_try;;
2814esac
2815eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2816  (eval "$ac_compile") 2>&5
2817  ac_status=$?
2818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819  (exit $ac_status); }; then
2820  for ac_file in conftest.o conftest.obj conftest.*; do
2821  test -f "$ac_file" || continue;
2822  case $ac_file in
2823    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2824    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2825       break;;
2826  esac
2827done
2828else
2829  echo "$as_me: failed program was:" >&5
2830sed 's/^/| /' conftest.$ac_ext >&5
2831
2832{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2833See \`config.log' for more details." >&5
2834echo "$as_me: error: cannot compute suffix of object files: cannot compile
2835See \`config.log' for more details." >&2;}
2836   { (exit 1); exit 1; }; }
2837fi
2838
2839rm -f conftest.$ac_cv_objext conftest.$ac_ext
2840fi
2841{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2842echo "${ECHO_T}$ac_cv_objext" >&6; }
2843OBJEXT=$ac_cv_objext
2844ac_objext=$OBJEXT
2845{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2846echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2847if test "${ac_cv_c_compiler_gnu+set}" = set; then
2848  echo $ECHO_N "(cached) $ECHO_C" >&6
2849else
2850  cat >conftest.$ac_ext <<_ACEOF
2851/* confdefs.h.  */
2852_ACEOF
2853cat confdefs.h >>conftest.$ac_ext
2854cat >>conftest.$ac_ext <<_ACEOF
2855/* end confdefs.h.  */
2856
2857int
2858main ()
2859{
2860#ifndef __GNUC__
2861       choke me
2862#endif
2863
2864  ;
2865  return 0;
2866}
2867_ACEOF
2868rm -f conftest.$ac_objext
2869if { (ac_try="$ac_compile"
2870case "(($ac_try" in
2871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872  *) ac_try_echo=$ac_try;;
2873esac
2874eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875  (eval "$ac_compile") 2>conftest.er1
2876  ac_status=$?
2877  grep -v '^ *+' conftest.er1 >conftest.err
2878  rm -f conftest.er1
2879  cat conftest.err >&5
2880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881  (exit $ac_status); } && {
2882	 test -z "$ac_c_werror_flag" ||
2883	 test ! -s conftest.err
2884       } && test -s conftest.$ac_objext; then
2885  ac_compiler_gnu=yes
2886else
2887  echo "$as_me: failed program was:" >&5
2888sed 's/^/| /' conftest.$ac_ext >&5
2889
2890	ac_compiler_gnu=no
2891fi
2892
2893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894ac_cv_c_compiler_gnu=$ac_compiler_gnu
2895
2896fi
2897{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2898echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2899GCC=`test $ac_compiler_gnu = yes && echo yes`
2900ac_test_CFLAGS=${CFLAGS+set}
2901ac_save_CFLAGS=$CFLAGS
2902{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2903echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2904if test "${ac_cv_prog_cc_g+set}" = set; then
2905  echo $ECHO_N "(cached) $ECHO_C" >&6
2906else
2907  ac_save_c_werror_flag=$ac_c_werror_flag
2908   ac_c_werror_flag=yes
2909   ac_cv_prog_cc_g=no
2910   CFLAGS="-g"
2911   cat >conftest.$ac_ext <<_ACEOF
2912/* confdefs.h.  */
2913_ACEOF
2914cat confdefs.h >>conftest.$ac_ext
2915cat >>conftest.$ac_ext <<_ACEOF
2916/* end confdefs.h.  */
2917
2918int
2919main ()
2920{
2921
2922  ;
2923  return 0;
2924}
2925_ACEOF
2926rm -f conftest.$ac_objext
2927if { (ac_try="$ac_compile"
2928case "(($ac_try" in
2929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930  *) ac_try_echo=$ac_try;;
2931esac
2932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933  (eval "$ac_compile") 2>conftest.er1
2934  ac_status=$?
2935  grep -v '^ *+' conftest.er1 >conftest.err
2936  rm -f conftest.er1
2937  cat conftest.err >&5
2938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939  (exit $ac_status); } && {
2940	 test -z "$ac_c_werror_flag" ||
2941	 test ! -s conftest.err
2942       } && test -s conftest.$ac_objext; then
2943  ac_cv_prog_cc_g=yes
2944else
2945  echo "$as_me: failed program was:" >&5
2946sed 's/^/| /' conftest.$ac_ext >&5
2947
2948	CFLAGS=""
2949      cat >conftest.$ac_ext <<_ACEOF
2950/* confdefs.h.  */
2951_ACEOF
2952cat confdefs.h >>conftest.$ac_ext
2953cat >>conftest.$ac_ext <<_ACEOF
2954/* end confdefs.h.  */
2955
2956int
2957main ()
2958{
2959
2960  ;
2961  return 0;
2962}
2963_ACEOF
2964rm -f conftest.$ac_objext
2965if { (ac_try="$ac_compile"
2966case "(($ac_try" in
2967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968  *) ac_try_echo=$ac_try;;
2969esac
2970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2971  (eval "$ac_compile") 2>conftest.er1
2972  ac_status=$?
2973  grep -v '^ *+' conftest.er1 >conftest.err
2974  rm -f conftest.er1
2975  cat conftest.err >&5
2976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977  (exit $ac_status); } && {
2978	 test -z "$ac_c_werror_flag" ||
2979	 test ! -s conftest.err
2980       } && test -s conftest.$ac_objext; then
2981  :
2982else
2983  echo "$as_me: failed program was:" >&5
2984sed 's/^/| /' conftest.$ac_ext >&5
2985
2986	ac_c_werror_flag=$ac_save_c_werror_flag
2987	 CFLAGS="-g"
2988	 cat >conftest.$ac_ext <<_ACEOF
2989/* confdefs.h.  */
2990_ACEOF
2991cat confdefs.h >>conftest.$ac_ext
2992cat >>conftest.$ac_ext <<_ACEOF
2993/* end confdefs.h.  */
2994
2995int
2996main ()
2997{
2998
2999  ;
3000  return 0;
3001}
3002_ACEOF
3003rm -f conftest.$ac_objext
3004if { (ac_try="$ac_compile"
3005case "(($ac_try" in
3006  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007  *) ac_try_echo=$ac_try;;
3008esac
3009eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3010  (eval "$ac_compile") 2>conftest.er1
3011  ac_status=$?
3012  grep -v '^ *+' conftest.er1 >conftest.err
3013  rm -f conftest.er1
3014  cat conftest.err >&5
3015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016  (exit $ac_status); } && {
3017	 test -z "$ac_c_werror_flag" ||
3018	 test ! -s conftest.err
3019       } && test -s conftest.$ac_objext; then
3020  ac_cv_prog_cc_g=yes
3021else
3022  echo "$as_me: failed program was:" >&5
3023sed 's/^/| /' conftest.$ac_ext >&5
3024
3025
3026fi
3027
3028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029fi
3030
3031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032fi
3033
3034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035   ac_c_werror_flag=$ac_save_c_werror_flag
3036fi
3037{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3038echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3039if test "$ac_test_CFLAGS" = set; then
3040  CFLAGS=$ac_save_CFLAGS
3041elif test $ac_cv_prog_cc_g = yes; then
3042  if test "$GCC" = yes; then
3043    CFLAGS="-g -O2"
3044  else
3045    CFLAGS="-g"
3046  fi
3047else
3048  if test "$GCC" = yes; then
3049    CFLAGS="-O2"
3050  else
3051    CFLAGS=
3052  fi
3053fi
3054{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3055echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3056if test "${ac_cv_prog_cc_c89+set}" = set; then
3057  echo $ECHO_N "(cached) $ECHO_C" >&6
3058else
3059  ac_cv_prog_cc_c89=no
3060ac_save_CC=$CC
3061cat >conftest.$ac_ext <<_ACEOF
3062/* confdefs.h.  */
3063_ACEOF
3064cat confdefs.h >>conftest.$ac_ext
3065cat >>conftest.$ac_ext <<_ACEOF
3066/* end confdefs.h.  */
3067#include <stdarg.h>
3068#include <stdio.h>
3069#include <sys/types.h>
3070#include <sys/stat.h>
3071/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3072struct buf { int x; };
3073FILE * (*rcsopen) (struct buf *, struct stat *, int);
3074static char *e (p, i)
3075     char **p;
3076     int i;
3077{
3078  return p[i];
3079}
3080static char *f (char * (*g) (char **, int), char **p, ...)
3081{
3082  char *s;
3083  va_list v;
3084  va_start (v,p);
3085  s = g (p, va_arg (v,int));
3086  va_end (v);
3087  return s;
3088}
3089
3090/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3091   function prototypes and stuff, but not '\xHH' hex character constants.
3092   These don't provoke an error unfortunately, instead are silently treated
3093   as 'x'.  The following induces an error, until -std is added to get
3094   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3095   array size at least.  It's necessary to write '\x00'==0 to get something
3096   that's true only with -std.  */
3097int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3098
3099/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3100   inside strings and character constants.  */
3101#define FOO(x) 'x'
3102int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3103
3104int test (int i, double x);
3105struct s1 {int (*f) (int a);};
3106struct s2 {int (*f) (double a);};
3107int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3108int argc;
3109char **argv;
3110int
3111main ()
3112{
3113return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3114  ;
3115  return 0;
3116}
3117_ACEOF
3118for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3119	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3120do
3121  CC="$ac_save_CC $ac_arg"
3122  rm -f conftest.$ac_objext
3123if { (ac_try="$ac_compile"
3124case "(($ac_try" in
3125  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126  *) ac_try_echo=$ac_try;;
3127esac
3128eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3129  (eval "$ac_compile") 2>conftest.er1
3130  ac_status=$?
3131  grep -v '^ *+' conftest.er1 >conftest.err
3132  rm -f conftest.er1
3133  cat conftest.err >&5
3134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135  (exit $ac_status); } && {
3136	 test -z "$ac_c_werror_flag" ||
3137	 test ! -s conftest.err
3138       } && test -s conftest.$ac_objext; then
3139  ac_cv_prog_cc_c89=$ac_arg
3140else
3141  echo "$as_me: failed program was:" >&5
3142sed 's/^/| /' conftest.$ac_ext >&5
3143
3144
3145fi
3146
3147rm -f core conftest.err conftest.$ac_objext
3148  test "x$ac_cv_prog_cc_c89" != "xno" && break
3149done
3150rm -f conftest.$ac_ext
3151CC=$ac_save_CC
3152
3153fi
3154# AC_CACHE_VAL
3155case "x$ac_cv_prog_cc_c89" in
3156  x)
3157    { echo "$as_me:$LINENO: result: none needed" >&5
3158echo "${ECHO_T}none needed" >&6; } ;;
3159  xno)
3160    { echo "$as_me:$LINENO: result: unsupported" >&5
3161echo "${ECHO_T}unsupported" >&6; } ;;
3162  *)
3163    CC="$CC $ac_cv_prog_cc_c89"
3164    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3165echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3166esac
3167
3168
3169ac_ext=c
3170ac_cpp='$CPP $CPPFLAGS'
3171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174DEPDIR="${am__leading_dot}deps"
3175
3176ac_config_commands="$ac_config_commands depfiles"
3177
3178
3179am_make=${MAKE-make}
3180cat > confinc << 'END'
3181am__doit:
3182	@echo done
3183.PHONY: am__doit
3184END
3185# If we don't find an include directive, just comment out the code.
3186{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3187echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3188am__include="#"
3189am__quote=
3190_am_result=none
3191# First try GNU make style include.
3192echo "include confinc" > confmf
3193# We grep out `Entering directory' and `Leaving directory'
3194# messages which can occur if `w' ends up in MAKEFLAGS.
3195# In particular we don't look at `^make:' because GNU make might
3196# be invoked under some other name (usually "gmake"), in which
3197# case it prints its new name instead of `make'.
3198if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3199   am__include=include
3200   am__quote=
3201   _am_result=GNU
3202fi
3203# Now try BSD make style include.
3204if test "$am__include" = "#"; then
3205   echo '.include "confinc"' > confmf
3206   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3207      am__include=.include
3208      am__quote="\""
3209      _am_result=BSD
3210   fi
3211fi
3212
3213
3214{ echo "$as_me:$LINENO: result: $_am_result" >&5
3215echo "${ECHO_T}$_am_result" >&6; }
3216rm -f confinc confmf
3217
3218# Check whether --enable-dependency-tracking was given.
3219if test "${enable_dependency_tracking+set}" = set; then
3220  enableval=$enable_dependency_tracking;
3221fi
3222
3223if test "x$enable_dependency_tracking" != xno; then
3224  am_depcomp="$ac_aux_dir/depcomp"
3225  AMDEPBACKSLASH='\'
3226fi
3227 if test "x$enable_dependency_tracking" != xno; then
3228  AMDEP_TRUE=
3229  AMDEP_FALSE='#'
3230else
3231  AMDEP_TRUE='#'
3232  AMDEP_FALSE=
3233fi
3234
3235
3236
3237depcc="$CC"   am_compiler_list=
3238
3239{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3240echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3241if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3242  echo $ECHO_N "(cached) $ECHO_C" >&6
3243else
3244  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3245  # We make a subdir and do the tests there.  Otherwise we can end up
3246  # making bogus files that we don't know about and never remove.  For
3247  # instance it was reported that on HP-UX the gcc test will end up
3248  # making a dummy file named `D' -- because `-MD' means `put the output
3249  # in D'.
3250  mkdir conftest.dir
3251  # Copy depcomp to subdir because otherwise we won't find it if we're
3252  # using a relative directory.
3253  cp "$am_depcomp" conftest.dir
3254  cd conftest.dir
3255  # We will build objects and dependencies in a subdirectory because
3256  # it helps to detect inapplicable dependency modes.  For instance
3257  # both Tru64's cc and ICC support -MD to output dependencies as a
3258  # side effect of compilation, but ICC will put the dependencies in
3259  # the current directory while Tru64 will put them in the object
3260  # directory.
3261  mkdir sub
3262
3263  am_cv_CC_dependencies_compiler_type=none
3264  if test "$am_compiler_list" = ""; then
3265     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3266  fi
3267  for depmode in $am_compiler_list; do
3268    # Setup a source with many dependencies, because some compilers
3269    # like to wrap large dependency lists on column 80 (with \), and
3270    # we should not choose a depcomp mode which is confused by this.
3271    #
3272    # We need to recreate these files for each test, as the compiler may
3273    # overwrite some of them when testing with obscure command lines.
3274    # This happens at least with the AIX C compiler.
3275    : > sub/conftest.c
3276    for i in 1 2 3 4 5 6; do
3277      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3278      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3279      # Solaris 8's {/usr,}/bin/sh.
3280      touch sub/conftst$i.h
3281    done
3282    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3283
3284    case $depmode in
3285    nosideeffect)
3286      # after this tag, mechanisms are not by side-effect, so they'll
3287      # only be used when explicitly requested
3288      if test "x$enable_dependency_tracking" = xyes; then
3289	continue
3290      else
3291	break
3292      fi
3293      ;;
3294    none) break ;;
3295    esac
3296    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3297    # mode.  It turns out that the SunPro C++ compiler does not properly
3298    # handle `-M -o', and we need to detect this.
3299    if depmode=$depmode \
3300       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3301       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3302       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3303         >/dev/null 2>conftest.err &&
3304       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3305       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3306       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3307       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3308      # icc doesn't choke on unknown options, it will just issue warnings
3309      # or remarks (even with -Werror).  So we grep stderr for any message
3310      # that says an option was ignored or not supported.
3311      # When given -MP, icc 7.0 and 7.1 complain thusly:
3312      #   icc: Command line warning: ignoring option '-M'; no argument required
3313      # The diagnosis changed in icc 8.0:
3314      #   icc: Command line remark: option '-MP' not supported
3315      if (grep 'ignoring option' conftest.err ||
3316          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3317        am_cv_CC_dependencies_compiler_type=$depmode
3318        break
3319      fi
3320    fi
3321  done
3322
3323  cd ..
3324  rm -rf conftest.dir
3325else
3326  am_cv_CC_dependencies_compiler_type=none
3327fi
3328
3329fi
3330{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3331echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3332CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3333
3334 if
3335  test "x$enable_dependency_tracking" != xno \
3336  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3337  am__fastdepCC_TRUE=
3338  am__fastdepCC_FALSE='#'
3339else
3340  am__fastdepCC_TRUE='#'
3341  am__fastdepCC_FALSE=
3342fi
3343
3344
3345# Find a good install program.  We prefer a C program (faster),
3346# so one script is as good as another.  But avoid the broken or
3347# incompatible versions:
3348# SysV /etc/install, /usr/sbin/install
3349# SunOS /usr/etc/install
3350# IRIX /sbin/install
3351# AIX /bin/install
3352# AmigaOS /C/install, which installs bootblocks on floppy discs
3353# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3354# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3355# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3356# OS/2's system install, which has a completely different semantic
3357# ./install, which can be erroneously created by make from ./install.sh.
3358{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3359echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3360if test -z "$INSTALL"; then
3361if test "${ac_cv_path_install+set}" = set; then
3362  echo $ECHO_N "(cached) $ECHO_C" >&6
3363else
3364  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365for as_dir in $PATH
3366do
3367  IFS=$as_save_IFS
3368  test -z "$as_dir" && as_dir=.
3369  # Account for people who put trailing slashes in PATH elements.
3370case $as_dir/ in
3371  ./ | .// | /cC/* | \
3372  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3373  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3374  /usr/ucb/* ) ;;
3375  *)
3376    # OSF1 and SCO ODT 3.0 have their own names for install.
3377    # Don't use installbsd from OSF since it installs stuff as root
3378    # by default.
3379    for ac_prog in ginstall scoinst install; do
3380      for ac_exec_ext in '' $ac_executable_extensions; do
3381	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3382	  if test $ac_prog = install &&
3383	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3384	    # AIX install.  It has an incompatible calling convention.
3385	    :
3386	  elif test $ac_prog = install &&
3387	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3388	    # program-specific install script used by HP pwplus--don't use.
3389	    :
3390	  else
3391	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3392	    break 3
3393	  fi
3394	fi
3395      done
3396    done
3397    ;;
3398esac
3399done
3400IFS=$as_save_IFS
3401
3402
3403fi
3404  if test "${ac_cv_path_install+set}" = set; then
3405    INSTALL=$ac_cv_path_install
3406  else
3407    # As a last resort, use the slow shell script.  Don't cache a
3408    # value for INSTALL within a source directory, because that will
3409    # break other packages using the cache if that directory is
3410    # removed, or if the value is a relative name.
3411    INSTALL=$ac_install_sh
3412  fi
3413fi
3414{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3415echo "${ECHO_T}$INSTALL" >&6; }
3416
3417# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3418# It thinks the first close brace ends the variable substitution.
3419test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3420
3421test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3422
3423test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3424
3425{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3426echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3427LN_S=$as_ln_s
3428if test "$LN_S" = "ln -s"; then
3429  { echo "$as_me:$LINENO: result: yes" >&5
3430echo "${ECHO_T}yes" >&6; }
3431else
3432  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3433echo "${ECHO_T}no, using $LN_S" >&6; }
3434fi
3435
3436
3437# Checks for libraries.
3438
3439
3440{ echo "$as_me:$LINENO: checking for main in -llber" >&5
3441echo $ECHO_N "checking for main in -llber... $ECHO_C" >&6; }
3442if test "${ac_cv_lib_lber_main+set}" = set; then
3443  echo $ECHO_N "(cached) $ECHO_C" >&6
3444else
3445  ac_check_lib_save_LIBS=$LIBS
3446LIBS="-llber  $LIBS"
3447cat >conftest.$ac_ext <<_ACEOF
3448/* confdefs.h.  */
3449_ACEOF
3450cat confdefs.h >>conftest.$ac_ext
3451cat >>conftest.$ac_ext <<_ACEOF
3452/* end confdefs.h.  */
3453
3454
3455int
3456main ()
3457{
3458return main ();
3459  ;
3460  return 0;
3461}
3462_ACEOF
3463rm -f conftest.$ac_objext conftest$ac_exeext
3464if { (ac_try="$ac_link"
3465case "(($ac_try" in
3466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467  *) ac_try_echo=$ac_try;;
3468esac
3469eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3470  (eval "$ac_link") 2>conftest.er1
3471  ac_status=$?
3472  grep -v '^ *+' conftest.er1 >conftest.err
3473  rm -f conftest.er1
3474  cat conftest.err >&5
3475  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476  (exit $ac_status); } && {
3477	 test -z "$ac_c_werror_flag" ||
3478	 test ! -s conftest.err
3479       } && test -s conftest$ac_exeext &&
3480       $as_test_x conftest$ac_exeext; then
3481  ac_cv_lib_lber_main=yes
3482else
3483  echo "$as_me: failed program was:" >&5
3484sed 's/^/| /' conftest.$ac_ext >&5
3485
3486	ac_cv_lib_lber_main=no
3487fi
3488
3489rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3490      conftest$ac_exeext conftest.$ac_ext
3491LIBS=$ac_check_lib_save_LIBS
3492fi
3493{ echo "$as_me:$LINENO: result: $ac_cv_lib_lber_main" >&5
3494echo "${ECHO_T}$ac_cv_lib_lber_main" >&6; }
3495if test $ac_cv_lib_lber_main = yes; then
3496  cat >>confdefs.h <<_ACEOF
3497#define HAVE_LIBLBER 1
3498_ACEOF
3499
3500  LIBS="-llber $LIBS"
3501
3502fi
3503
3504
3505{ echo "$as_me:$LINENO: checking for main in -lldap" >&5
3506echo $ECHO_N "checking for main in -lldap... $ECHO_C" >&6; }
3507if test "${ac_cv_lib_ldap_main+set}" = set; then
3508  echo $ECHO_N "(cached) $ECHO_C" >&6
3509else
3510  ac_check_lib_save_LIBS=$LIBS
3511LIBS="-lldap  $LIBS"
3512cat >conftest.$ac_ext <<_ACEOF
3513/* confdefs.h.  */
3514_ACEOF
3515cat confdefs.h >>conftest.$ac_ext
3516cat >>conftest.$ac_ext <<_ACEOF
3517/* end confdefs.h.  */
3518
3519
3520int
3521main ()
3522{
3523return main ();
3524  ;
3525  return 0;
3526}
3527_ACEOF
3528rm -f conftest.$ac_objext conftest$ac_exeext
3529if { (ac_try="$ac_link"
3530case "(($ac_try" in
3531  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532  *) ac_try_echo=$ac_try;;
3533esac
3534eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3535  (eval "$ac_link") 2>conftest.er1
3536  ac_status=$?
3537  grep -v '^ *+' conftest.er1 >conftest.err
3538  rm -f conftest.er1
3539  cat conftest.err >&5
3540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541  (exit $ac_status); } && {
3542	 test -z "$ac_c_werror_flag" ||
3543	 test ! -s conftest.err
3544       } && test -s conftest$ac_exeext &&
3545       $as_test_x conftest$ac_exeext; then
3546  ac_cv_lib_ldap_main=yes
3547else
3548  echo "$as_me: failed program was:" >&5
3549sed 's/^/| /' conftest.$ac_ext >&5
3550
3551	ac_cv_lib_ldap_main=no
3552fi
3553
3554rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3555      conftest$ac_exeext conftest.$ac_ext
3556LIBS=$ac_check_lib_save_LIBS
3557fi
3558{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_main" >&5
3559echo "${ECHO_T}$ac_cv_lib_ldap_main" >&6; }
3560if test $ac_cv_lib_ldap_main = yes; then
3561  cat >>confdefs.h <<_ACEOF
3562#define HAVE_LIBLDAP 1
3563_ACEOF
3564
3565  LIBS="-lldap $LIBS"
3566
3567fi
3568
3569#AC_CHECK_LIB(nsl, main)
3570#AC_CHECK_LIB(resolv, main)
3571
3572{ echo "$as_me:$LINENO: checking for main in -lsocket" >&5
3573echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6; }
3574if test "${ac_cv_lib_socket_main+set}" = set; then
3575  echo $ECHO_N "(cached) $ECHO_C" >&6
3576else
3577  ac_check_lib_save_LIBS=$LIBS
3578LIBS="-lsocket  $LIBS"
3579cat >conftest.$ac_ext <<_ACEOF
3580/* confdefs.h.  */
3581_ACEOF
3582cat confdefs.h >>conftest.$ac_ext
3583cat >>conftest.$ac_ext <<_ACEOF
3584/* end confdefs.h.  */
3585
3586
3587int
3588main ()
3589{
3590return main ();
3591  ;
3592  return 0;
3593}
3594_ACEOF
3595rm -f conftest.$ac_objext conftest$ac_exeext
3596if { (ac_try="$ac_link"
3597case "(($ac_try" in
3598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599  *) ac_try_echo=$ac_try;;
3600esac
3601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602  (eval "$ac_link") 2>conftest.er1
3603  ac_status=$?
3604  grep -v '^ *+' conftest.er1 >conftest.err
3605  rm -f conftest.er1
3606  cat conftest.err >&5
3607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608  (exit $ac_status); } && {
3609	 test -z "$ac_c_werror_flag" ||
3610	 test ! -s conftest.err
3611       } && test -s conftest$ac_exeext &&
3612       $as_test_x conftest$ac_exeext; then
3613  ac_cv_lib_socket_main=yes
3614else
3615  echo "$as_me: failed program was:" >&5
3616sed 's/^/| /' conftest.$ac_ext >&5
3617
3618	ac_cv_lib_socket_main=no
3619fi
3620
3621rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3622      conftest$ac_exeext conftest.$ac_ext
3623LIBS=$ac_check_lib_save_LIBS
3624fi
3625{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
3626echo "${ECHO_T}$ac_cv_lib_socket_main" >&6; }
3627if test $ac_cv_lib_socket_main = yes; then
3628  cat >>confdefs.h <<_ACEOF
3629#define HAVE_LIBSOCKET 1
3630_ACEOF
3631
3632  LIBS="-lsocket $LIBS"
3633
3634fi
3635
3636
3637# Checks for header files.
3638ac_ext=c
3639ac_cpp='$CPP $CPPFLAGS'
3640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3644echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3645# On Suns, sometimes $CPP names a directory.
3646if test -n "$CPP" && test -d "$CPP"; then
3647  CPP=
3648fi
3649if test -z "$CPP"; then
3650  if test "${ac_cv_prog_CPP+set}" = set; then
3651  echo $ECHO_N "(cached) $ECHO_C" >&6
3652else
3653      # Double quotes because CPP needs to be expanded
3654    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3655    do
3656      ac_preproc_ok=false
3657for ac_c_preproc_warn_flag in '' yes
3658do
3659  # Use a header file that comes with gcc, so configuring glibc
3660  # with a fresh cross-compiler works.
3661  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3662  # <limits.h> exists even on freestanding compilers.
3663  # On the NeXT, cc -E runs the code through the compiler's parser,
3664  # not just through cpp. "Syntax error" is here to catch this case.
3665  cat >conftest.$ac_ext <<_ACEOF
3666/* confdefs.h.  */
3667_ACEOF
3668cat confdefs.h >>conftest.$ac_ext
3669cat >>conftest.$ac_ext <<_ACEOF
3670/* end confdefs.h.  */
3671#ifdef __STDC__
3672# include <limits.h>
3673#else
3674# include <assert.h>
3675#endif
3676		     Syntax error
3677_ACEOF
3678if { (ac_try="$ac_cpp conftest.$ac_ext"
3679case "(($ac_try" in
3680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681  *) ac_try_echo=$ac_try;;
3682esac
3683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3684  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3685  ac_status=$?
3686  grep -v '^ *+' conftest.er1 >conftest.err
3687  rm -f conftest.er1
3688  cat conftest.err >&5
3689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690  (exit $ac_status); } >/dev/null && {
3691	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3692	 test ! -s conftest.err
3693       }; then
3694  :
3695else
3696  echo "$as_me: failed program was:" >&5
3697sed 's/^/| /' conftest.$ac_ext >&5
3698
3699  # Broken: fails on valid input.
3700continue
3701fi
3702
3703rm -f conftest.err conftest.$ac_ext
3704
3705  # OK, works on sane cases.  Now check whether nonexistent headers
3706  # can be detected and how.
3707  cat >conftest.$ac_ext <<_ACEOF
3708/* confdefs.h.  */
3709_ACEOF
3710cat confdefs.h >>conftest.$ac_ext
3711cat >>conftest.$ac_ext <<_ACEOF
3712/* end confdefs.h.  */
3713#include <ac_nonexistent.h>
3714_ACEOF
3715if { (ac_try="$ac_cpp conftest.$ac_ext"
3716case "(($ac_try" in
3717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718  *) ac_try_echo=$ac_try;;
3719esac
3720eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3722  ac_status=$?
3723  grep -v '^ *+' conftest.er1 >conftest.err
3724  rm -f conftest.er1
3725  cat conftest.err >&5
3726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727  (exit $ac_status); } >/dev/null && {
3728	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729	 test ! -s conftest.err
3730       }; then
3731  # Broken: success on invalid input.
3732continue
3733else
3734  echo "$as_me: failed program was:" >&5
3735sed 's/^/| /' conftest.$ac_ext >&5
3736
3737  # Passes both tests.
3738ac_preproc_ok=:
3739break
3740fi
3741
3742rm -f conftest.err conftest.$ac_ext
3743
3744done
3745# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3746rm -f conftest.err conftest.$ac_ext
3747if $ac_preproc_ok; then
3748  break
3749fi
3750
3751    done
3752    ac_cv_prog_CPP=$CPP
3753
3754fi
3755  CPP=$ac_cv_prog_CPP
3756else
3757  ac_cv_prog_CPP=$CPP
3758fi
3759{ echo "$as_me:$LINENO: result: $CPP" >&5
3760echo "${ECHO_T}$CPP" >&6; }
3761ac_preproc_ok=false
3762for ac_c_preproc_warn_flag in '' yes
3763do
3764  # Use a header file that comes with gcc, so configuring glibc
3765  # with a fresh cross-compiler works.
3766  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3767  # <limits.h> exists even on freestanding compilers.
3768  # On the NeXT, cc -E runs the code through the compiler's parser,
3769  # not just through cpp. "Syntax error" is here to catch this case.
3770  cat >conftest.$ac_ext <<_ACEOF
3771/* confdefs.h.  */
3772_ACEOF
3773cat confdefs.h >>conftest.$ac_ext
3774cat >>conftest.$ac_ext <<_ACEOF
3775/* end confdefs.h.  */
3776#ifdef __STDC__
3777# include <limits.h>
3778#else
3779# include <assert.h>
3780#endif
3781		     Syntax error
3782_ACEOF
3783if { (ac_try="$ac_cpp conftest.$ac_ext"
3784case "(($ac_try" in
3785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786  *) ac_try_echo=$ac_try;;
3787esac
3788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3790  ac_status=$?
3791  grep -v '^ *+' conftest.er1 >conftest.err
3792  rm -f conftest.er1
3793  cat conftest.err >&5
3794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795  (exit $ac_status); } >/dev/null && {
3796	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3797	 test ! -s conftest.err
3798       }; then
3799  :
3800else
3801  echo "$as_me: failed program was:" >&5
3802sed 's/^/| /' conftest.$ac_ext >&5
3803
3804  # Broken: fails on valid input.
3805continue
3806fi
3807
3808rm -f conftest.err conftest.$ac_ext
3809
3810  # OK, works on sane cases.  Now check whether nonexistent headers
3811  # can be detected and how.
3812  cat >conftest.$ac_ext <<_ACEOF
3813/* confdefs.h.  */
3814_ACEOF
3815cat confdefs.h >>conftest.$ac_ext
3816cat >>conftest.$ac_ext <<_ACEOF
3817/* end confdefs.h.  */
3818#include <ac_nonexistent.h>
3819_ACEOF
3820if { (ac_try="$ac_cpp conftest.$ac_ext"
3821case "(($ac_try" in
3822  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823  *) ac_try_echo=$ac_try;;
3824esac
3825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827  ac_status=$?
3828  grep -v '^ *+' conftest.er1 >conftest.err
3829  rm -f conftest.er1
3830  cat conftest.err >&5
3831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832  (exit $ac_status); } >/dev/null && {
3833	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834	 test ! -s conftest.err
3835       }; then
3836  # Broken: success on invalid input.
3837continue
3838else
3839  echo "$as_me: failed program was:" >&5
3840sed 's/^/| /' conftest.$ac_ext >&5
3841
3842  # Passes both tests.
3843ac_preproc_ok=:
3844break
3845fi
3846
3847rm -f conftest.err conftest.$ac_ext
3848
3849done
3850# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3851rm -f conftest.err conftest.$ac_ext
3852if $ac_preproc_ok; then
3853  :
3854else
3855  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3856See \`config.log' for more details." >&5
3857echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3858See \`config.log' for more details." >&2;}
3859   { (exit 1); exit 1; }; }
3860fi
3861
3862ac_ext=c
3863ac_cpp='$CPP $CPPFLAGS'
3864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866ac_compiler_gnu=$ac_cv_c_compiler_gnu
3867
3868
3869{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3870echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3871if test "${ac_cv_path_GREP+set}" = set; then
3872  echo $ECHO_N "(cached) $ECHO_C" >&6
3873else
3874  # Extract the first word of "grep ggrep" to use in msg output
3875if test -z "$GREP"; then
3876set dummy grep ggrep; ac_prog_name=$2
3877if test "${ac_cv_path_GREP+set}" = set; then
3878  echo $ECHO_N "(cached) $ECHO_C" >&6
3879else
3880  ac_path_GREP_found=false
3881# Loop through the user's path and test for each of PROGNAME-LIST
3882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3884do
3885  IFS=$as_save_IFS
3886  test -z "$as_dir" && as_dir=.
3887  for ac_prog in grep ggrep; do
3888  for ac_exec_ext in '' $ac_executable_extensions; do
3889    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3890    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3891    # Check for GNU ac_path_GREP and select it if it is found.
3892  # Check for GNU $ac_path_GREP
3893case `"$ac_path_GREP" --version 2>&1` in
3894*GNU*)
3895  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3896*)
3897  ac_count=0
3898  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3899  while :
3900  do
3901    cat "conftest.in" "conftest.in" >"conftest.tmp"
3902    mv "conftest.tmp" "conftest.in"
3903    cp "conftest.in" "conftest.nl"
3904    echo 'GREP' >> "conftest.nl"
3905    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3906    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3907    ac_count=`expr $ac_count + 1`
3908    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3909      # Best one so far, save it but keep looking for a better one
3910      ac_cv_path_GREP="$ac_path_GREP"
3911      ac_path_GREP_max=$ac_count
3912    fi
3913    # 10*(2^10) chars as input seems more than enough
3914    test $ac_count -gt 10 && break
3915  done
3916  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3917esac
3918
3919
3920    $ac_path_GREP_found && break 3
3921  done
3922done
3923
3924done
3925IFS=$as_save_IFS
3926
3927
3928fi
3929
3930GREP="$ac_cv_path_GREP"
3931if test -z "$GREP"; then
3932  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3933echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3934   { (exit 1); exit 1; }; }
3935fi
3936
3937else
3938  ac_cv_path_GREP=$GREP
3939fi
3940
3941
3942fi
3943{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3944echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3945 GREP="$ac_cv_path_GREP"
3946
3947
3948{ echo "$as_me:$LINENO: checking for egrep" >&5
3949echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3950if test "${ac_cv_path_EGREP+set}" = set; then
3951  echo $ECHO_N "(cached) $ECHO_C" >&6
3952else
3953  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3954   then ac_cv_path_EGREP="$GREP -E"
3955   else
3956     # Extract the first word of "egrep" to use in msg output
3957if test -z "$EGREP"; then
3958set dummy egrep; ac_prog_name=$2
3959if test "${ac_cv_path_EGREP+set}" = set; then
3960  echo $ECHO_N "(cached) $ECHO_C" >&6
3961else
3962  ac_path_EGREP_found=false
3963# Loop through the user's path and test for each of PROGNAME-LIST
3964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3966do
3967  IFS=$as_save_IFS
3968  test -z "$as_dir" && as_dir=.
3969  for ac_prog in egrep; do
3970  for ac_exec_ext in '' $ac_executable_extensions; do
3971    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3972    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3973    # Check for GNU ac_path_EGREP and select it if it is found.
3974  # Check for GNU $ac_path_EGREP
3975case `"$ac_path_EGREP" --version 2>&1` in
3976*GNU*)
3977  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3978*)
3979  ac_count=0
3980  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3981  while :
3982  do
3983    cat "conftest.in" "conftest.in" >"conftest.tmp"
3984    mv "conftest.tmp" "conftest.in"
3985    cp "conftest.in" "conftest.nl"
3986    echo 'EGREP' >> "conftest.nl"
3987    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3988    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3989    ac_count=`expr $ac_count + 1`
3990    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3991      # Best one so far, save it but keep looking for a better one
3992      ac_cv_path_EGREP="$ac_path_EGREP"
3993      ac_path_EGREP_max=$ac_count
3994    fi
3995    # 10*(2^10) chars as input seems more than enough
3996    test $ac_count -gt 10 && break
3997  done
3998  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3999esac
4000
4001
4002    $ac_path_EGREP_found && break 3
4003  done
4004done
4005
4006done
4007IFS=$as_save_IFS
4008
4009
4010fi
4011
4012EGREP="$ac_cv_path_EGREP"
4013if test -z "$EGREP"; then
4014  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4015echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4016   { (exit 1); exit 1; }; }
4017fi
4018
4019else
4020  ac_cv_path_EGREP=$EGREP
4021fi
4022
4023
4024   fi
4025fi
4026{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4027echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4028 EGREP="$ac_cv_path_EGREP"
4029
4030
4031{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4032echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4033if test "${ac_cv_header_stdc+set}" = set; then
4034  echo $ECHO_N "(cached) $ECHO_C" >&6
4035else
4036  cat >conftest.$ac_ext <<_ACEOF
4037/* confdefs.h.  */
4038_ACEOF
4039cat confdefs.h >>conftest.$ac_ext
4040cat >>conftest.$ac_ext <<_ACEOF
4041/* end confdefs.h.  */
4042#include <stdlib.h>
4043#include <stdarg.h>
4044#include <string.h>
4045#include <float.h>
4046
4047int
4048main ()
4049{
4050
4051  ;
4052  return 0;
4053}
4054_ACEOF
4055rm -f conftest.$ac_objext
4056if { (ac_try="$ac_compile"
4057case "(($ac_try" in
4058  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059  *) ac_try_echo=$ac_try;;
4060esac
4061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4062  (eval "$ac_compile") 2>conftest.er1
4063  ac_status=$?
4064  grep -v '^ *+' conftest.er1 >conftest.err
4065  rm -f conftest.er1
4066  cat conftest.err >&5
4067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068  (exit $ac_status); } && {
4069	 test -z "$ac_c_werror_flag" ||
4070	 test ! -s conftest.err
4071       } && test -s conftest.$ac_objext; then
4072  ac_cv_header_stdc=yes
4073else
4074  echo "$as_me: failed program was:" >&5
4075sed 's/^/| /' conftest.$ac_ext >&5
4076
4077	ac_cv_header_stdc=no
4078fi
4079
4080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081
4082if test $ac_cv_header_stdc = yes; then
4083  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4084  cat >conftest.$ac_ext <<_ACEOF
4085/* confdefs.h.  */
4086_ACEOF
4087cat confdefs.h >>conftest.$ac_ext
4088cat >>conftest.$ac_ext <<_ACEOF
4089/* end confdefs.h.  */
4090#include <string.h>
4091
4092_ACEOF
4093if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4094  $EGREP "memchr" >/dev/null 2>&1; then
4095  :
4096else
4097  ac_cv_header_stdc=no
4098fi
4099rm -f conftest*
4100
4101fi
4102
4103if test $ac_cv_header_stdc = yes; then
4104  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4105  cat >conftest.$ac_ext <<_ACEOF
4106/* confdefs.h.  */
4107_ACEOF
4108cat confdefs.h >>conftest.$ac_ext
4109cat >>conftest.$ac_ext <<_ACEOF
4110/* end confdefs.h.  */
4111#include <stdlib.h>
4112
4113_ACEOF
4114if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4115  $EGREP "free" >/dev/null 2>&1; then
4116  :
4117else
4118  ac_cv_header_stdc=no
4119fi
4120rm -f conftest*
4121
4122fi
4123
4124if test $ac_cv_header_stdc = yes; then
4125  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4126  if test "$cross_compiling" = yes; then
4127  :
4128else
4129  cat >conftest.$ac_ext <<_ACEOF
4130/* confdefs.h.  */
4131_ACEOF
4132cat confdefs.h >>conftest.$ac_ext
4133cat >>conftest.$ac_ext <<_ACEOF
4134/* end confdefs.h.  */
4135#include <ctype.h>
4136#include <stdlib.h>
4137#if ((' ' & 0x0FF) == 0x020)
4138# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4139# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4140#else
4141# define ISLOWER(c) \
4142		   (('a' <= (c) && (c) <= 'i') \
4143		     || ('j' <= (c) && (c) <= 'r') \
4144		     || ('s' <= (c) && (c) <= 'z'))
4145# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4146#endif
4147
4148#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4149int
4150main ()
4151{
4152  int i;
4153  for (i = 0; i < 256; i++)
4154    if (XOR (islower (i), ISLOWER (i))
4155	|| toupper (i) != TOUPPER (i))
4156      return 2;
4157  return 0;
4158}
4159_ACEOF
4160rm -f conftest$ac_exeext
4161if { (ac_try="$ac_link"
4162case "(($ac_try" in
4163  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164  *) ac_try_echo=$ac_try;;
4165esac
4166eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167  (eval "$ac_link") 2>&5
4168  ac_status=$?
4169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4171  { (case "(($ac_try" in
4172  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173  *) ac_try_echo=$ac_try;;
4174esac
4175eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176  (eval "$ac_try") 2>&5
4177  ac_status=$?
4178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179  (exit $ac_status); }; }; then
4180  :
4181else
4182  echo "$as_me: program exited with status $ac_status" >&5
4183echo "$as_me: failed program was:" >&5
4184sed 's/^/| /' conftest.$ac_ext >&5
4185
4186( exit $ac_status )
4187ac_cv_header_stdc=no
4188fi
4189rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4190fi
4191
4192
4193fi
4194fi
4195{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4196echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4197if test $ac_cv_header_stdc = yes; then
4198
4199cat >>confdefs.h <<\_ACEOF
4200#define STDC_HEADERS 1
4201_ACEOF
4202
4203fi
4204
4205# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4216		  inttypes.h stdint.h unistd.h
4217do
4218as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4219{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4220echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4221if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4222  echo $ECHO_N "(cached) $ECHO_C" >&6
4223else
4224  cat >conftest.$ac_ext <<_ACEOF
4225/* confdefs.h.  */
4226_ACEOF
4227cat confdefs.h >>conftest.$ac_ext
4228cat >>conftest.$ac_ext <<_ACEOF
4229/* end confdefs.h.  */
4230$ac_includes_default
4231
4232#include <$ac_header>
4233_ACEOF
4234rm -f conftest.$ac_objext
4235if { (ac_try="$ac_compile"
4236case "(($ac_try" in
4237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238  *) ac_try_echo=$ac_try;;
4239esac
4240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4241  (eval "$ac_compile") 2>conftest.er1
4242  ac_status=$?
4243  grep -v '^ *+' conftest.er1 >conftest.err
4244  rm -f conftest.er1
4245  cat conftest.err >&5
4246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247  (exit $ac_status); } && {
4248	 test -z "$ac_c_werror_flag" ||
4249	 test ! -s conftest.err
4250       } && test -s conftest.$ac_objext; then
4251  eval "$as_ac_Header=yes"
4252else
4253  echo "$as_me: failed program was:" >&5
4254sed 's/^/| /' conftest.$ac_ext >&5
4255
4256	eval "$as_ac_Header=no"
4257fi
4258
4259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260fi
4261ac_res=`eval echo '${'$as_ac_Header'}'`
4262	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4263echo "${ECHO_T}$ac_res" >&6; }
4264if test `eval echo '${'$as_ac_Header'}'` = yes; then
4265  cat >>confdefs.h <<_ACEOF
4266#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4267_ACEOF
4268
4269fi
4270
4271done
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281for ac_header in getopt.h errno.h stdlib.h string.h time.h syslog.h types.h
4282do
4283as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4284if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4285  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4286echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4287if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4288  echo $ECHO_N "(cached) $ECHO_C" >&6
4289fi
4290ac_res=`eval echo '${'$as_ac_Header'}'`
4291	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4292echo "${ECHO_T}$ac_res" >&6; }
4293else
4294  # Is the header compilable?
4295{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4296echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4297cat >conftest.$ac_ext <<_ACEOF
4298/* confdefs.h.  */
4299_ACEOF
4300cat confdefs.h >>conftest.$ac_ext
4301cat >>conftest.$ac_ext <<_ACEOF
4302/* end confdefs.h.  */
4303$ac_includes_default
4304#include <$ac_header>
4305_ACEOF
4306rm -f conftest.$ac_objext
4307if { (ac_try="$ac_compile"
4308case "(($ac_try" in
4309  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4310  *) ac_try_echo=$ac_try;;
4311esac
4312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4313  (eval "$ac_compile") 2>conftest.er1
4314  ac_status=$?
4315  grep -v '^ *+' conftest.er1 >conftest.err
4316  rm -f conftest.er1
4317  cat conftest.err >&5
4318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319  (exit $ac_status); } && {
4320	 test -z "$ac_c_werror_flag" ||
4321	 test ! -s conftest.err
4322       } && test -s conftest.$ac_objext; then
4323  ac_header_compiler=yes
4324else
4325  echo "$as_me: failed program was:" >&5
4326sed 's/^/| /' conftest.$ac_ext >&5
4327
4328	ac_header_compiler=no
4329fi
4330
4331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4333echo "${ECHO_T}$ac_header_compiler" >&6; }
4334
4335# Is the header present?
4336{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4337echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4338cat >conftest.$ac_ext <<_ACEOF
4339/* confdefs.h.  */
4340_ACEOF
4341cat confdefs.h >>conftest.$ac_ext
4342cat >>conftest.$ac_ext <<_ACEOF
4343/* end confdefs.h.  */
4344#include <$ac_header>
4345_ACEOF
4346if { (ac_try="$ac_cpp conftest.$ac_ext"
4347case "(($ac_try" in
4348  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349  *) ac_try_echo=$ac_try;;
4350esac
4351eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4352  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4353  ac_status=$?
4354  grep -v '^ *+' conftest.er1 >conftest.err
4355  rm -f conftest.er1
4356  cat conftest.err >&5
4357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358  (exit $ac_status); } >/dev/null && {
4359	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4360	 test ! -s conftest.err
4361       }; then
4362  ac_header_preproc=yes
4363else
4364  echo "$as_me: failed program was:" >&5
4365sed 's/^/| /' conftest.$ac_ext >&5
4366
4367  ac_header_preproc=no
4368fi
4369
4370rm -f conftest.err conftest.$ac_ext
4371{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4372echo "${ECHO_T}$ac_header_preproc" >&6; }
4373
4374# So?  What about this header?
4375case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4376  yes:no: )
4377    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4378echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4379    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4380echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4381    ac_header_preproc=yes
4382    ;;
4383  no:yes:* )
4384    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4385echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4386    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4387echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4388    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4389echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4390    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4391echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4392    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4393echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4394    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4395echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4396    ( cat <<\_ASBOX
4397## ------------------------------------ ##
4398## Report this to Thomas.Reith@rhoen.de ##
4399## ------------------------------------ ##
4400_ASBOX
4401     ) | sed "s/^/$as_me: WARNING:     /" >&2
4402    ;;
4403esac
4404{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4405echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4406if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4407  echo $ECHO_N "(cached) $ECHO_C" >&6
4408else
4409  eval "$as_ac_Header=\$ac_header_preproc"
4410fi
4411ac_res=`eval echo '${'$as_ac_Header'}'`
4412	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4413echo "${ECHO_T}$ac_res" >&6; }
4414
4415fi
4416if test `eval echo '${'$as_ac_Header'}'` = yes; then
4417  cat >>confdefs.h <<_ACEOF
4418#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4419_ACEOF
4420
4421fi
4422
4423done
4424
4425
4426# Checks for typedefs, structures, and compiler characteristics.
4427{ echo "$as_me:$LINENO: checking for size_t" >&5
4428echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4429if test "${ac_cv_type_size_t+set}" = set; then
4430  echo $ECHO_N "(cached) $ECHO_C" >&6
4431else
4432  cat >conftest.$ac_ext <<_ACEOF
4433/* confdefs.h.  */
4434_ACEOF
4435cat confdefs.h >>conftest.$ac_ext
4436cat >>conftest.$ac_ext <<_ACEOF
4437/* end confdefs.h.  */
4438$ac_includes_default
4439typedef size_t ac__type_new_;
4440int
4441main ()
4442{
4443if ((ac__type_new_ *) 0)
4444  return 0;
4445if (sizeof (ac__type_new_))
4446  return 0;
4447  ;
4448  return 0;
4449}
4450_ACEOF
4451rm -f conftest.$ac_objext
4452if { (ac_try="$ac_compile"
4453case "(($ac_try" in
4454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455  *) ac_try_echo=$ac_try;;
4456esac
4457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4458  (eval "$ac_compile") 2>conftest.er1
4459  ac_status=$?
4460  grep -v '^ *+' conftest.er1 >conftest.err
4461  rm -f conftest.er1
4462  cat conftest.err >&5
4463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464  (exit $ac_status); } && {
4465	 test -z "$ac_c_werror_flag" ||
4466	 test ! -s conftest.err
4467       } && test -s conftest.$ac_objext; then
4468  ac_cv_type_size_t=yes
4469else
4470  echo "$as_me: failed program was:" >&5
4471sed 's/^/| /' conftest.$ac_ext >&5
4472
4473	ac_cv_type_size_t=no
4474fi
4475
4476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477fi
4478{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4479echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4480if test $ac_cv_type_size_t = yes; then
4481  :
4482else
4483
4484cat >>confdefs.h <<_ACEOF
4485#define size_t unsigned int
4486_ACEOF
4487
4488fi
4489
4490
4491# Checks for library functions.
4492
4493for ac_func in vprintf
4494do
4495as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4496{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4497echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4498if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4499  echo $ECHO_N "(cached) $ECHO_C" >&6
4500else
4501  cat >conftest.$ac_ext <<_ACEOF
4502/* confdefs.h.  */
4503_ACEOF
4504cat confdefs.h >>conftest.$ac_ext
4505cat >>conftest.$ac_ext <<_ACEOF
4506/* end confdefs.h.  */
4507/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4508   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4509#define $ac_func innocuous_$ac_func
4510
4511/* System header to define __stub macros and hopefully few prototypes,
4512    which can conflict with char $ac_func (); below.
4513    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4514    <limits.h> exists even on freestanding compilers.  */
4515
4516#ifdef __STDC__
4517# include <limits.h>
4518#else
4519# include <assert.h>
4520#endif
4521
4522#undef $ac_func
4523
4524/* Override any GCC internal prototype to avoid an error.
4525   Use char because int might match the return type of a GCC
4526   builtin and then its argument prototype would still apply.  */
4527#ifdef __cplusplus
4528extern "C"
4529#endif
4530char $ac_func ();
4531/* The GNU C library defines this for functions which it implements
4532    to always fail with ENOSYS.  Some functions are actually named
4533    something starting with __ and the normal name is an alias.  */
4534#if defined __stub_$ac_func || defined __stub___$ac_func
4535choke me
4536#endif
4537
4538int
4539main ()
4540{
4541return $ac_func ();
4542  ;
4543  return 0;
4544}
4545_ACEOF
4546rm -f conftest.$ac_objext conftest$ac_exeext
4547if { (ac_try="$ac_link"
4548case "(($ac_try" in
4549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550  *) ac_try_echo=$ac_try;;
4551esac
4552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4553  (eval "$ac_link") 2>conftest.er1
4554  ac_status=$?
4555  grep -v '^ *+' conftest.er1 >conftest.err
4556  rm -f conftest.er1
4557  cat conftest.err >&5
4558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559  (exit $ac_status); } && {
4560	 test -z "$ac_c_werror_flag" ||
4561	 test ! -s conftest.err
4562       } && test -s conftest$ac_exeext &&
4563       $as_test_x conftest$ac_exeext; then
4564  eval "$as_ac_var=yes"
4565else
4566  echo "$as_me: failed program was:" >&5
4567sed 's/^/| /' conftest.$ac_ext >&5
4568
4569	eval "$as_ac_var=no"
4570fi
4571
4572rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4573      conftest$ac_exeext conftest.$ac_ext
4574fi
4575ac_res=`eval echo '${'$as_ac_var'}'`
4576	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4577echo "${ECHO_T}$ac_res" >&6; }
4578if test `eval echo '${'$as_ac_var'}'` = yes; then
4579  cat >>confdefs.h <<_ACEOF
4580#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4581_ACEOF
4582
4583{ echo "$as_me:$LINENO: checking for _doprnt" >&5
4584echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
4585if test "${ac_cv_func__doprnt+set}" = set; then
4586  echo $ECHO_N "(cached) $ECHO_C" >&6
4587else
4588  cat >conftest.$ac_ext <<_ACEOF
4589/* confdefs.h.  */
4590_ACEOF
4591cat confdefs.h >>conftest.$ac_ext
4592cat >>conftest.$ac_ext <<_ACEOF
4593/* end confdefs.h.  */
4594/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4595   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4596#define _doprnt innocuous__doprnt
4597
4598/* System header to define __stub macros and hopefully few prototypes,
4599    which can conflict with char _doprnt (); below.
4600    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4601    <limits.h> exists even on freestanding compilers.  */
4602
4603#ifdef __STDC__
4604# include <limits.h>
4605#else
4606# include <assert.h>
4607#endif
4608
4609#undef _doprnt
4610
4611/* Override any GCC internal prototype to avoid an error.
4612   Use char because int might match the return type of a GCC
4613   builtin and then its argument prototype would still apply.  */
4614#ifdef __cplusplus
4615extern "C"
4616#endif
4617char _doprnt ();
4618/* The GNU C library defines this for functions which it implements
4619    to always fail with ENOSYS.  Some functions are actually named
4620    something starting with __ and the normal name is an alias.  */
4621#if defined __stub__doprnt || defined __stub____doprnt
4622choke me
4623#endif
4624
4625int
4626main ()
4627{
4628return _doprnt ();
4629  ;
4630  return 0;
4631}
4632_ACEOF
4633rm -f conftest.$ac_objext conftest$ac_exeext
4634if { (ac_try="$ac_link"
4635case "(($ac_try" in
4636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637  *) ac_try_echo=$ac_try;;
4638esac
4639eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4640  (eval "$ac_link") 2>conftest.er1
4641  ac_status=$?
4642  grep -v '^ *+' conftest.er1 >conftest.err
4643  rm -f conftest.er1
4644  cat conftest.err >&5
4645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646  (exit $ac_status); } && {
4647	 test -z "$ac_c_werror_flag" ||
4648	 test ! -s conftest.err
4649       } && test -s conftest$ac_exeext &&
4650       $as_test_x conftest$ac_exeext; then
4651  ac_cv_func__doprnt=yes
4652else
4653  echo "$as_me: failed program was:" >&5
4654sed 's/^/| /' conftest.$ac_ext >&5
4655
4656	ac_cv_func__doprnt=no
4657fi
4658
4659rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4660      conftest$ac_exeext conftest.$ac_ext
4661fi
4662{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4663echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
4664if test $ac_cv_func__doprnt = yes; then
4665
4666cat >>confdefs.h <<\_ACEOF
4667#define HAVE_DOPRNT 1
4668_ACEOF
4669
4670fi
4671
4672fi
4673done
4674
4675
4676{ echo "$as_me:$LINENO: checking for working memcmp" >&5
4677echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
4678if test "${ac_cv_func_memcmp_working+set}" = set; then
4679  echo $ECHO_N "(cached) $ECHO_C" >&6
4680else
4681  if test "$cross_compiling" = yes; then
4682  ac_cv_func_memcmp_working=no
4683else
4684  cat >conftest.$ac_ext <<_ACEOF
4685/* confdefs.h.  */
4686_ACEOF
4687cat confdefs.h >>conftest.$ac_ext
4688cat >>conftest.$ac_ext <<_ACEOF
4689/* end confdefs.h.  */
4690$ac_includes_default
4691int
4692main ()
4693{
4694
4695  /* Some versions of memcmp are not 8-bit clean.  */
4696  char c0 = '\100', c1 = '\200', c2 = '\201';
4697  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4698    return 1;
4699
4700  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4701     or more and with at least one buffer not starting on a 4-byte boundary.
4702     William Lewis provided this test program.   */
4703  {
4704    char foo[21];
4705    char bar[21];
4706    int i;
4707    for (i = 0; i < 4; i++)
4708      {
4709	char *a = foo + i;
4710	char *b = bar + i;
4711	strcpy (a, "--------01111111");
4712	strcpy (b, "--------10000000");
4713	if (memcmp (a, b, 16) >= 0)
4714	  return 1;
4715      }
4716    return 0;
4717  }
4718
4719  ;
4720  return 0;
4721}
4722_ACEOF
4723rm -f conftest$ac_exeext
4724if { (ac_try="$ac_link"
4725case "(($ac_try" in
4726  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4727  *) ac_try_echo=$ac_try;;
4728esac
4729eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4730  (eval "$ac_link") 2>&5
4731  ac_status=$?
4732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4734  { (case "(($ac_try" in
4735  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736  *) ac_try_echo=$ac_try;;
4737esac
4738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739  (eval "$ac_try") 2>&5
4740  ac_status=$?
4741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742  (exit $ac_status); }; }; then
4743  ac_cv_func_memcmp_working=yes
4744else
4745  echo "$as_me: program exited with status $ac_status" >&5
4746echo "$as_me: failed program was:" >&5
4747sed 's/^/| /' conftest.$ac_ext >&5
4748
4749( exit $ac_status )
4750ac_cv_func_memcmp_working=no
4751fi
4752rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4753fi
4754
4755
4756fi
4757{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4758echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
4759test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4760  *" memcmp.$ac_objext "* ) ;;
4761  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4762 ;;
4763esac
4764
4765
4766
4767for ac_header in stdlib.h
4768do
4769as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4770if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4771  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4772echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4773if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4774  echo $ECHO_N "(cached) $ECHO_C" >&6
4775fi
4776ac_res=`eval echo '${'$as_ac_Header'}'`
4777	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4778echo "${ECHO_T}$ac_res" >&6; }
4779else
4780  # Is the header compilable?
4781{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4782echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4783cat >conftest.$ac_ext <<_ACEOF
4784/* confdefs.h.  */
4785_ACEOF
4786cat confdefs.h >>conftest.$ac_ext
4787cat >>conftest.$ac_ext <<_ACEOF
4788/* end confdefs.h.  */
4789$ac_includes_default
4790#include <$ac_header>
4791_ACEOF
4792rm -f conftest.$ac_objext
4793if { (ac_try="$ac_compile"
4794case "(($ac_try" in
4795  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4796  *) ac_try_echo=$ac_try;;
4797esac
4798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4799  (eval "$ac_compile") 2>conftest.er1
4800  ac_status=$?
4801  grep -v '^ *+' conftest.er1 >conftest.err
4802  rm -f conftest.er1
4803  cat conftest.err >&5
4804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805  (exit $ac_status); } && {
4806	 test -z "$ac_c_werror_flag" ||
4807	 test ! -s conftest.err
4808       } && test -s conftest.$ac_objext; then
4809  ac_header_compiler=yes
4810else
4811  echo "$as_me: failed program was:" >&5
4812sed 's/^/| /' conftest.$ac_ext >&5
4813
4814	ac_header_compiler=no
4815fi
4816
4817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4819echo "${ECHO_T}$ac_header_compiler" >&6; }
4820
4821# Is the header present?
4822{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4823echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4824cat >conftest.$ac_ext <<_ACEOF
4825/* confdefs.h.  */
4826_ACEOF
4827cat confdefs.h >>conftest.$ac_ext
4828cat >>conftest.$ac_ext <<_ACEOF
4829/* end confdefs.h.  */
4830#include <$ac_header>
4831_ACEOF
4832if { (ac_try="$ac_cpp conftest.$ac_ext"
4833case "(($ac_try" in
4834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835  *) ac_try_echo=$ac_try;;
4836esac
4837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4838  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4839  ac_status=$?
4840  grep -v '^ *+' conftest.er1 >conftest.err
4841  rm -f conftest.er1
4842  cat conftest.err >&5
4843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844  (exit $ac_status); } >/dev/null && {
4845	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4846	 test ! -s conftest.err
4847       }; then
4848  ac_header_preproc=yes
4849else
4850  echo "$as_me: failed program was:" >&5
4851sed 's/^/| /' conftest.$ac_ext >&5
4852
4853  ac_header_preproc=no
4854fi
4855
4856rm -f conftest.err conftest.$ac_ext
4857{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4858echo "${ECHO_T}$ac_header_preproc" >&6; }
4859
4860# So?  What about this header?
4861case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4862  yes:no: )
4863    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4864echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4865    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4866echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4867    ac_header_preproc=yes
4868    ;;
4869  no:yes:* )
4870    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4871echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4872    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4873echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4874    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4875echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4876    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4877echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4878    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4879echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4880    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4881echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4882    ( cat <<\_ASBOX
4883## ------------------------------------ ##
4884## Report this to Thomas.Reith@rhoen.de ##
4885## ------------------------------------ ##
4886_ASBOX
4887     ) | sed "s/^/$as_me: WARNING:     /" >&2
4888    ;;
4889esac
4890{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4891echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4892if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4893  echo $ECHO_N "(cached) $ECHO_C" >&6
4894else
4895  eval "$as_ac_Header=\$ac_header_preproc"
4896fi
4897ac_res=`eval echo '${'$as_ac_Header'}'`
4898	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4899echo "${ECHO_T}$ac_res" >&6; }
4900
4901fi
4902if test `eval echo '${'$as_ac_Header'}'` = yes; then
4903  cat >>confdefs.h <<_ACEOF
4904#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4905_ACEOF
4906
4907fi
4908
4909done
4910
4911{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
4912echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
4913if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
4914  echo $ECHO_N "(cached) $ECHO_C" >&6
4915else
4916  if test "$cross_compiling" = yes; then
4917  ac_cv_func_realloc_0_nonnull=no
4918else
4919  cat >conftest.$ac_ext <<_ACEOF
4920/* confdefs.h.  */
4921_ACEOF
4922cat confdefs.h >>conftest.$ac_ext
4923cat >>conftest.$ac_ext <<_ACEOF
4924/* end confdefs.h.  */
4925#if defined STDC_HEADERS || defined HAVE_STDLIB_H
4926# include <stdlib.h>
4927#else
4928char *realloc ();
4929#endif
4930
4931int
4932main ()
4933{
4934return ! realloc (0, 0);
4935  ;
4936  return 0;
4937}
4938_ACEOF
4939rm -f conftest$ac_exeext
4940if { (ac_try="$ac_link"
4941case "(($ac_try" in
4942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4943  *) ac_try_echo=$ac_try;;
4944esac
4945eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4946  (eval "$ac_link") 2>&5
4947  ac_status=$?
4948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4950  { (case "(($ac_try" in
4951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4952  *) ac_try_echo=$ac_try;;
4953esac
4954eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4955  (eval "$ac_try") 2>&5
4956  ac_status=$?
4957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958  (exit $ac_status); }; }; then
4959  ac_cv_func_realloc_0_nonnull=yes
4960else
4961  echo "$as_me: program exited with status $ac_status" >&5
4962echo "$as_me: failed program was:" >&5
4963sed 's/^/| /' conftest.$ac_ext >&5
4964
4965( exit $ac_status )
4966ac_cv_func_realloc_0_nonnull=no
4967fi
4968rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4969fi
4970
4971
4972fi
4973{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
4974echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
4975if test $ac_cv_func_realloc_0_nonnull = yes; then
4976
4977cat >>confdefs.h <<\_ACEOF
4978#define HAVE_REALLOC 1
4979_ACEOF
4980
4981else
4982  cat >>confdefs.h <<\_ACEOF
4983#define HAVE_REALLOC 0
4984_ACEOF
4985
4986   case " $LIBOBJS " in
4987  *" realloc.$ac_objext "* ) ;;
4988  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4989 ;;
4990esac
4991
4992
4993cat >>confdefs.h <<\_ACEOF
4994#define realloc rpl_realloc
4995_ACEOF
4996
4997fi
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011for ac_func in memset memcpy memcmp strchr strdup strerror strcasecmp strncasecmp strstr getcwd
5012do
5013as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5014{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5015echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5016if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5017  echo $ECHO_N "(cached) $ECHO_C" >&6
5018else
5019  cat >conftest.$ac_ext <<_ACEOF
5020/* confdefs.h.  */
5021_ACEOF
5022cat confdefs.h >>conftest.$ac_ext
5023cat >>conftest.$ac_ext <<_ACEOF
5024/* end confdefs.h.  */
5025/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5026   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5027#define $ac_func innocuous_$ac_func
5028
5029/* System header to define __stub macros and hopefully few prototypes,
5030    which can conflict with char $ac_func (); below.
5031    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5032    <limits.h> exists even on freestanding compilers.  */
5033
5034#ifdef __STDC__
5035# include <limits.h>
5036#else
5037# include <assert.h>
5038#endif
5039
5040#undef $ac_func
5041
5042/* Override any GCC internal prototype to avoid an error.
5043   Use char because int might match the return type of a GCC
5044   builtin and then its argument prototype would still apply.  */
5045#ifdef __cplusplus
5046extern "C"
5047#endif
5048char $ac_func ();
5049/* The GNU C library defines this for functions which it implements
5050    to always fail with ENOSYS.  Some functions are actually named
5051    something starting with __ and the normal name is an alias.  */
5052#if defined __stub_$ac_func || defined __stub___$ac_func
5053choke me
5054#endif
5055
5056int
5057main ()
5058{
5059return $ac_func ();
5060  ;
5061  return 0;
5062}
5063_ACEOF
5064rm -f conftest.$ac_objext conftest$ac_exeext
5065if { (ac_try="$ac_link"
5066case "(($ac_try" in
5067  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5068  *) ac_try_echo=$ac_try;;
5069esac
5070eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5071  (eval "$ac_link") 2>conftest.er1
5072  ac_status=$?
5073  grep -v '^ *+' conftest.er1 >conftest.err
5074  rm -f conftest.er1
5075  cat conftest.err >&5
5076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077  (exit $ac_status); } && {
5078	 test -z "$ac_c_werror_flag" ||
5079	 test ! -s conftest.err
5080       } && test -s conftest$ac_exeext &&
5081       $as_test_x conftest$ac_exeext; then
5082  eval "$as_ac_var=yes"
5083else
5084  echo "$as_me: failed program was:" >&5
5085sed 's/^/| /' conftest.$ac_ext >&5
5086
5087	eval "$as_ac_var=no"
5088fi
5089
5090rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5091      conftest$ac_exeext conftest.$ac_ext
5092fi
5093ac_res=`eval echo '${'$as_ac_var'}'`
5094	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5095echo "${ECHO_T}$ac_res" >&6; }
5096if test `eval echo '${'$as_ac_var'}'` = yes; then
5097  cat >>confdefs.h <<_ACEOF
5098#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5099_ACEOF
5100
5101fi
5102done
5103
5104
5105{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5106echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5107if test "${ac_cv_c_const+set}" = set; then
5108  echo $ECHO_N "(cached) $ECHO_C" >&6
5109else
5110  cat >conftest.$ac_ext <<_ACEOF
5111/* confdefs.h.  */
5112_ACEOF
5113cat confdefs.h >>conftest.$ac_ext
5114cat >>conftest.$ac_ext <<_ACEOF
5115/* end confdefs.h.  */
5116
5117int
5118main ()
5119{
5120/* FIXME: Include the comments suggested by Paul. */
5121#ifndef __cplusplus
5122  /* Ultrix mips cc rejects this.  */
5123  typedef int charset[2];
5124  const charset cs;
5125  /* SunOS 4.1.1 cc rejects this.  */
5126  char const *const *pcpcc;
5127  char **ppc;
5128  /* NEC SVR4.0.2 mips cc rejects this.  */
5129  struct point {int x, y;};
5130  static struct point const zero = {0,0};
5131  /* AIX XL C 1.02.0.0 rejects this.
5132     It does not let you subtract one const X* pointer from another in
5133     an arm of an if-expression whose if-part is not a constant
5134     expression */
5135  const char *g = "string";
5136  pcpcc = &g + (g ? g-g : 0);
5137  /* HPUX 7.0 cc rejects these. */
5138  ++pcpcc;
5139  ppc = (char**) pcpcc;
5140  pcpcc = (char const *const *) ppc;
5141  { /* SCO 3.2v4 cc rejects this.  */
5142    char *t;
5143    char const *s = 0 ? (char *) 0 : (char const *) 0;
5144
5145    *t++ = 0;
5146    if (s) return 0;
5147  }
5148  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5149    int x[] = {25, 17};
5150    const int *foo = &x[0];
5151    ++foo;
5152  }
5153  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5154    typedef const int *iptr;
5155    iptr p = 0;
5156    ++p;
5157  }
5158  { /* AIX XL C 1.02.0.0 rejects this saying
5159       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5160    struct s { int j; const int *ap[3]; };
5161    struct s *b; b->j = 5;
5162  }
5163  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5164    const int foo = 10;
5165    if (!foo) return 0;
5166  }
5167  return !cs[0] && !zero.x;
5168#endif
5169
5170  ;
5171  return 0;
5172}
5173_ACEOF
5174rm -f conftest.$ac_objext
5175if { (ac_try="$ac_compile"
5176case "(($ac_try" in
5177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178  *) ac_try_echo=$ac_try;;
5179esac
5180eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181  (eval "$ac_compile") 2>conftest.er1
5182  ac_status=$?
5183  grep -v '^ *+' conftest.er1 >conftest.err
5184  rm -f conftest.er1
5185  cat conftest.err >&5
5186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187  (exit $ac_status); } && {
5188	 test -z "$ac_c_werror_flag" ||
5189	 test ! -s conftest.err
5190       } && test -s conftest.$ac_objext; then
5191  ac_cv_c_const=yes
5192else
5193  echo "$as_me: failed program was:" >&5
5194sed 's/^/| /' conftest.$ac_ext >&5
5195
5196	ac_cv_c_const=no
5197fi
5198
5199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5200fi
5201{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5202echo "${ECHO_T}$ac_cv_c_const" >&6; }
5203if test $ac_cv_c_const = no; then
5204
5205cat >>confdefs.h <<\_ACEOF
5206#define const
5207_ACEOF
5208
5209fi
5210
5211
5212
5213# Check whether --with-ldap-dir was given.
5214if test "${with_ldap_dir+set}" = set; then
5215  withval=$with_ldap_dir;
5216fi
5217
5218
5219# Check whether --with-iconv-dir was given.
5220if test "${with_iconv_dir+set}" = set; then
5221  withval=$with_iconv_dir;
5222fi
5223
5224
5225if test -n "$with_ldap_dir"; then
5226  CPPFLAGS="$CPPFLAGS -I$with_ldap_dir/include"
5227  LDFLAGS="$LDFLAGS -L$with_ldap_dir/lib"
5228  LIBS="-lldap -llber $LIBS"
5229else
5230  LIBS="-lldap -llber $LIBS"
5231fi
5232
5233if test -n "$with_iconv_dir"; then
5234  CPPFLAGS="$CPPFLAGS -I$with_iconv_dir/include"
5235  LDFLAGS="$LDFLAGS -L$with_iconv_dir/lib"
5236  LIBS="-liconv $LIBS"
5237fi
5238
5239ac_config_files="$ac_config_files Makefile"
5240
5241cat >confcache <<\_ACEOF
5242# This file is a shell script that caches the results of configure
5243# tests run on this system so they can be shared between configure
5244# scripts and configure runs, see configure's option --config-cache.
5245# It is not useful on other systems.  If it contains results you don't
5246# want to keep, you may remove or edit it.
5247#
5248# config.status only pays attention to the cache file if you give it
5249# the --recheck option to rerun configure.
5250#
5251# `ac_cv_env_foo' variables (set or unset) will be overridden when
5252# loading this file, other *unset* `ac_cv_foo' will be assigned the
5253# following values.
5254
5255_ACEOF
5256
5257# The following way of writing the cache mishandles newlines in values,
5258# but we know of no workaround that is simple, portable, and efficient.
5259# So, we kill variables containing newlines.
5260# Ultrix sh set writes to stderr and can't be redirected directly,
5261# and sets the high bit in the cache file unless we assign to the vars.
5262(
5263  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5264    eval ac_val=\$$ac_var
5265    case $ac_val in #(
5266    *${as_nl}*)
5267      case $ac_var in #(
5268      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5269echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5270      esac
5271      case $ac_var in #(
5272      _ | IFS | as_nl) ;; #(
5273      *) $as_unset $ac_var ;;
5274      esac ;;
5275    esac
5276  done
5277
5278  (set) 2>&1 |
5279    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5280    *${as_nl}ac_space=\ *)
5281      # `set' does not quote correctly, so add quotes (double-quote
5282      # substitution turns \\\\ into \\, and sed turns \\ into \).
5283      sed -n \
5284	"s/'/'\\\\''/g;
5285	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5286      ;; #(
5287    *)
5288      # `set' quotes correctly as required by POSIX, so do not add quotes.
5289      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5290      ;;
5291    esac |
5292    sort
5293) |
5294  sed '
5295     /^ac_cv_env_/b end
5296     t clear
5297     :clear
5298     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5299     t end
5300     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5301     :end' >>confcache
5302if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5303  if test -w "$cache_file"; then
5304    test "x$cache_file" != "x/dev/null" &&
5305      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5306echo "$as_me: updating cache $cache_file" >&6;}
5307    cat confcache >$cache_file
5308  else
5309    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5310echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5311  fi
5312fi
5313rm -f confcache
5314
5315test "x$prefix" = xNONE && prefix=$ac_default_prefix
5316# Let make expand exec_prefix.
5317test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5318
5319DEFS=-DHAVE_CONFIG_H
5320
5321ac_libobjs=
5322ac_ltlibobjs=
5323for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5324  # 1. Remove the extension, and $U if already installed.
5325  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5326  ac_i=`echo "$ac_i" | sed "$ac_script"`
5327  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5328  #    will be set to the directory where LIBOBJS objects are built.
5329  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5330  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5331done
5332LIBOBJS=$ac_libobjs
5333
5334LTLIBOBJS=$ac_ltlibobjs
5335
5336
5337if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5338  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5339Usually this means the macro was only invoked conditionally." >&5
5340echo "$as_me: error: conditional \"AMDEP\" was never defined.
5341Usually this means the macro was only invoked conditionally." >&2;}
5342   { (exit 1); exit 1; }; }
5343fi
5344if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5345  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5346Usually this means the macro was only invoked conditionally." >&5
5347echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5348Usually this means the macro was only invoked conditionally." >&2;}
5349   { (exit 1); exit 1; }; }
5350fi
5351
5352: ${CONFIG_STATUS=./config.status}
5353ac_clean_files_save=$ac_clean_files
5354ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5355{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5356echo "$as_me: creating $CONFIG_STATUS" >&6;}
5357cat >$CONFIG_STATUS <<_ACEOF
5358#! $SHELL
5359# Generated by $as_me.
5360# Run this file to recreate the current configuration.
5361# Compiler output produced by configure, useful for debugging
5362# configure, is in config.log if it exists.
5363
5364debug=false
5365ac_cs_recheck=false
5366ac_cs_silent=false
5367SHELL=\${CONFIG_SHELL-$SHELL}
5368_ACEOF
5369
5370cat >>$CONFIG_STATUS <<\_ACEOF
5371## --------------------- ##
5372## M4sh Initialization.  ##
5373## --------------------- ##
5374
5375# Be more Bourne compatible
5376DUALCASE=1; export DUALCASE # for MKS sh
5377if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5378  emulate sh
5379  NULLCMD=:
5380  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5381  # is contrary to our usage.  Disable this feature.
5382  alias -g '${1+"$@"}'='"$@"'
5383  setopt NO_GLOB_SUBST
5384else
5385  case `(set -o) 2>/dev/null` in
5386  *posix*) set -o posix ;;
5387esac
5388
5389fi
5390
5391
5392
5393
5394# PATH needs CR
5395# Avoid depending upon Character Ranges.
5396as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5397as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5398as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5399as_cr_digits='0123456789'
5400as_cr_alnum=$as_cr_Letters$as_cr_digits
5401
5402# The user is always right.
5403if test "${PATH_SEPARATOR+set}" != set; then
5404  echo "#! /bin/sh" >conf$$.sh
5405  echo  "exit 0"   >>conf$$.sh
5406  chmod +x conf$$.sh
5407  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5408    PATH_SEPARATOR=';'
5409  else
5410    PATH_SEPARATOR=:
5411  fi
5412  rm -f conf$$.sh
5413fi
5414
5415# Support unset when possible.
5416if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5417  as_unset=unset
5418else
5419  as_unset=false
5420fi
5421
5422
5423# IFS
5424# We need space, tab and new line, in precisely that order.  Quoting is
5425# there to prevent editors from complaining about space-tab.
5426# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5427# splitting by setting IFS to empty value.)
5428as_nl='
5429'
5430IFS=" ""	$as_nl"
5431
5432# Find who we are.  Look in the path if we contain no directory separator.
5433case $0 in
5434  *[\\/]* ) as_myself=$0 ;;
5435  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436for as_dir in $PATH
5437do
5438  IFS=$as_save_IFS
5439  test -z "$as_dir" && as_dir=.
5440  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5441done
5442IFS=$as_save_IFS
5443
5444     ;;
5445esac
5446# We did not find ourselves, most probably we were run as `sh COMMAND'
5447# in which case we are not to be found in the path.
5448if test "x$as_myself" = x; then
5449  as_myself=$0
5450fi
5451if test ! -f "$as_myself"; then
5452  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5453  { (exit 1); exit 1; }
5454fi
5455
5456# Work around bugs in pre-3.0 UWIN ksh.
5457for as_var in ENV MAIL MAILPATH
5458do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5459done
5460PS1='$ '
5461PS2='> '
5462PS4='+ '
5463
5464# NLS nuisances.
5465for as_var in \
5466  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5467  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5468  LC_TELEPHONE LC_TIME
5469do
5470  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5471    eval $as_var=C; export $as_var
5472  else
5473    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5474  fi
5475done
5476
5477# Required to use basename.
5478if expr a : '\(a\)' >/dev/null 2>&1 &&
5479   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5480  as_expr=expr
5481else
5482  as_expr=false
5483fi
5484
5485if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5486  as_basename=basename
5487else
5488  as_basename=false
5489fi
5490
5491
5492# Name of the executable.
5493as_me=`$as_basename -- "$0" ||
5494$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5495	 X"$0" : 'X\(//\)$' \| \
5496	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5497echo X/"$0" |
5498    sed '/^.*\/\([^/][^/]*\)\/*$/{
5499	    s//\1/
5500	    q
5501	  }
5502	  /^X\/\(\/\/\)$/{
5503	    s//\1/
5504	    q
5505	  }
5506	  /^X\/\(\/\).*/{
5507	    s//\1/
5508	    q
5509	  }
5510	  s/.*/./; q'`
5511
5512# CDPATH.
5513$as_unset CDPATH
5514
5515
5516
5517  as_lineno_1=$LINENO
5518  as_lineno_2=$LINENO
5519  test "x$as_lineno_1" != "x$as_lineno_2" &&
5520  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5521
5522  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5523  # uniformly replaced by the line number.  The first 'sed' inserts a
5524  # line-number line after each line using $LINENO; the second 'sed'
5525  # does the real work.  The second script uses 'N' to pair each
5526  # line-number line with the line containing $LINENO, and appends
5527  # trailing '-' during substitution so that $LINENO is not a special
5528  # case at line end.
5529  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5530  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5531  # E. McMahon (1931-1989) for sed's syntax.  :-)
5532  sed -n '
5533    p
5534    /[$]LINENO/=
5535  ' <$as_myself |
5536    sed '
5537      s/[$]LINENO.*/&-/
5538      t lineno
5539      b
5540      :lineno
5541      N
5542      :loop
5543      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5544      t loop
5545      s/-\n.*//
5546    ' >$as_me.lineno &&
5547  chmod +x "$as_me.lineno" ||
5548    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5549   { (exit 1); exit 1; }; }
5550
5551  # Don't try to exec as it changes $[0], causing all sort of problems
5552  # (the dirname of $[0] is not the place where we might find the
5553  # original and so on.  Autoconf is especially sensitive to this).
5554  . "./$as_me.lineno"
5555  # Exit status is that of the last command.
5556  exit
5557}
5558
5559
5560if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5561  as_dirname=dirname
5562else
5563  as_dirname=false
5564fi
5565
5566ECHO_C= ECHO_N= ECHO_T=
5567case `echo -n x` in
5568-n*)
5569  case `echo 'x\c'` in
5570  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5571  *)   ECHO_C='\c';;
5572  esac;;
5573*)
5574  ECHO_N='-n';;
5575esac
5576
5577if expr a : '\(a\)' >/dev/null 2>&1 &&
5578   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5579  as_expr=expr
5580else
5581  as_expr=false
5582fi
5583
5584rm -f conf$$ conf$$.exe conf$$.file
5585if test -d conf$$.dir; then
5586  rm -f conf$$.dir/conf$$.file
5587else
5588  rm -f conf$$.dir
5589  mkdir conf$$.dir
5590fi
5591echo >conf$$.file
5592if ln -s conf$$.file conf$$ 2>/dev/null; then
5593  as_ln_s='ln -s'
5594  # ... but there are two gotchas:
5595  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5596  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5597  # In both cases, we have to default to `cp -p'.
5598  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5599    as_ln_s='cp -p'
5600elif ln conf$$.file conf$$ 2>/dev/null; then
5601  as_ln_s=ln
5602else
5603  as_ln_s='cp -p'
5604fi
5605rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5606rmdir conf$$.dir 2>/dev/null
5607
5608if mkdir -p . 2>/dev/null; then
5609  as_mkdir_p=:
5610else
5611  test -d ./-p && rmdir ./-p
5612  as_mkdir_p=false
5613fi
5614
5615if test -x / >/dev/null 2>&1; then
5616  as_test_x='test -x'
5617else
5618  if ls -dL / >/dev/null 2>&1; then
5619    as_ls_L_option=L
5620  else
5621    as_ls_L_option=
5622  fi
5623  as_test_x='
5624    eval sh -c '\''
5625      if test -d "$1"; then
5626        test -d "$1/.";
5627      else
5628	case $1 in
5629        -*)set "./$1";;
5630	esac;
5631	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5632	???[sx]*):;;*)false;;esac;fi
5633    '\'' sh
5634  '
5635fi
5636as_executable_p=$as_test_x
5637
5638# Sed expression to map a string onto a valid CPP name.
5639as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5640
5641# Sed expression to map a string onto a valid variable name.
5642as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5643
5644
5645exec 6>&1
5646
5647# Save the log message, to keep $[0] and so on meaningful, and to
5648# report actual input values of CONFIG_FILES etc. instead of their
5649# values after options handling.
5650ac_log="
5651This file was extended by ldapdiff $as_me 1.4.1, which was
5652generated by GNU Autoconf 2.61.  Invocation command line was
5653
5654  CONFIG_FILES    = $CONFIG_FILES
5655  CONFIG_HEADERS  = $CONFIG_HEADERS
5656  CONFIG_LINKS    = $CONFIG_LINKS
5657  CONFIG_COMMANDS = $CONFIG_COMMANDS
5658  $ $0 $@
5659
5660on `(hostname || uname -n) 2>/dev/null | sed 1q`
5661"
5662
5663_ACEOF
5664
5665cat >>$CONFIG_STATUS <<_ACEOF
5666# Files that config.status was made for.
5667config_files="$ac_config_files"
5668config_headers="$ac_config_headers"
5669config_commands="$ac_config_commands"
5670
5671_ACEOF
5672
5673cat >>$CONFIG_STATUS <<\_ACEOF
5674ac_cs_usage="\
5675\`$as_me' instantiates files from templates according to the
5676current configuration.
5677
5678Usage: $0 [OPTIONS] [FILE]...
5679
5680  -h, --help       print this help, then exit
5681  -V, --version    print version number and configuration settings, then exit
5682  -q, --quiet      do not print progress messages
5683  -d, --debug      don't remove temporary files
5684      --recheck    update $as_me by reconfiguring in the same conditions
5685  --file=FILE[:TEMPLATE]
5686		   instantiate the configuration file FILE
5687  --header=FILE[:TEMPLATE]
5688		   instantiate the configuration header FILE
5689
5690Configuration files:
5691$config_files
5692
5693Configuration headers:
5694$config_headers
5695
5696Configuration commands:
5697$config_commands
5698
5699Report bugs to <bug-autoconf@gnu.org>."
5700
5701_ACEOF
5702cat >>$CONFIG_STATUS <<_ACEOF
5703ac_cs_version="\\
5704ldapdiff config.status 1.4.1
5705configured by $0, generated by GNU Autoconf 2.61,
5706  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5707
5708Copyright (C) 2006 Free Software Foundation, Inc.
5709This config.status script is free software; the Free Software Foundation
5710gives unlimited permission to copy, distribute and modify it."
5711
5712ac_pwd='$ac_pwd'
5713srcdir='$srcdir'
5714INSTALL='$INSTALL'
5715MKDIR_P='$MKDIR_P'
5716_ACEOF
5717
5718cat >>$CONFIG_STATUS <<\_ACEOF
5719# If no file are specified by the user, then we need to provide default
5720# value.  By we need to know if files were specified by the user.
5721ac_need_defaults=:
5722while test $# != 0
5723do
5724  case $1 in
5725  --*=*)
5726    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5727    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5728    ac_shift=:
5729    ;;
5730  *)
5731    ac_option=$1
5732    ac_optarg=$2
5733    ac_shift=shift
5734    ;;
5735  esac
5736
5737  case $ac_option in
5738  # Handling of the options.
5739  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5740    ac_cs_recheck=: ;;
5741  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5742    echo "$ac_cs_version"; exit ;;
5743  --debug | --debu | --deb | --de | --d | -d )
5744    debug=: ;;
5745  --file | --fil | --fi | --f )
5746    $ac_shift
5747    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5748    ac_need_defaults=false;;
5749  --header | --heade | --head | --hea )
5750    $ac_shift
5751    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5752    ac_need_defaults=false;;
5753  --he | --h)
5754    # Conflict between --help and --header
5755    { echo "$as_me: error: ambiguous option: $1
5756Try \`$0 --help' for more information." >&2
5757   { (exit 1); exit 1; }; };;
5758  --help | --hel | -h )
5759    echo "$ac_cs_usage"; exit ;;
5760  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5761  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5762    ac_cs_silent=: ;;
5763
5764  # This is an error.
5765  -*) { echo "$as_me: error: unrecognized option: $1
5766Try \`$0 --help' for more information." >&2
5767   { (exit 1); exit 1; }; } ;;
5768
5769  *) ac_config_targets="$ac_config_targets $1"
5770     ac_need_defaults=false ;;
5771
5772  esac
5773  shift
5774done
5775
5776ac_configure_extra_args=
5777
5778if $ac_cs_silent; then
5779  exec 6>/dev/null
5780  ac_configure_extra_args="$ac_configure_extra_args --silent"
5781fi
5782
5783_ACEOF
5784cat >>$CONFIG_STATUS <<_ACEOF
5785if \$ac_cs_recheck; then
5786  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5787  CONFIG_SHELL=$SHELL
5788  export CONFIG_SHELL
5789  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5790fi
5791
5792_ACEOF
5793cat >>$CONFIG_STATUS <<\_ACEOF
5794exec 5>>config.log
5795{
5796  echo
5797  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5798## Running $as_me. ##
5799_ASBOX
5800  echo "$ac_log"
5801} >&5
5802
5803_ACEOF
5804cat >>$CONFIG_STATUS <<_ACEOF
5805#
5806# INIT-COMMANDS
5807#
5808AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5809
5810_ACEOF
5811
5812cat >>$CONFIG_STATUS <<\_ACEOF
5813
5814# Handling of arguments.
5815for ac_config_target in $ac_config_targets
5816do
5817  case $ac_config_target in
5818    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5819    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5820    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5821
5822  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5823echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5824   { (exit 1); exit 1; }; };;
5825  esac
5826done
5827
5828
5829# If the user did not use the arguments to specify the items to instantiate,
5830# then the envvar interface is used.  Set only those that are not.
5831# We use the long form for the default assignment because of an extremely
5832# bizarre bug on SunOS 4.1.3.
5833if $ac_need_defaults; then
5834  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5835  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5836  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5837fi
5838
5839# Have a temporary directory for convenience.  Make it in the build tree
5840# simply because there is no reason against having it here, and in addition,
5841# creating and moving files from /tmp can sometimes cause problems.
5842# Hook for its removal unless debugging.
5843# Note that there is a small window in which the directory will not be cleaned:
5844# after its creation but before its name has been assigned to `$tmp'.
5845$debug ||
5846{
5847  tmp=
5848  trap 'exit_status=$?
5849  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5850' 0
5851  trap '{ (exit 1); exit 1; }' 1 2 13 15
5852}
5853# Create a (secure) tmp directory for tmp files.
5854
5855{
5856  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5857  test -n "$tmp" && test -d "$tmp"
5858}  ||
5859{
5860  tmp=./conf$$-$RANDOM
5861  (umask 077 && mkdir "$tmp")
5862} ||
5863{
5864   echo "$me: cannot create a temporary directory in ." >&2
5865   { (exit 1); exit 1; }
5866}
5867
5868#
5869# Set up the sed scripts for CONFIG_FILES section.
5870#
5871
5872# No need to generate the scripts if there are no CONFIG_FILES.
5873# This happens for instance when ./config.status config.h
5874if test -n "$CONFIG_FILES"; then
5875
5876_ACEOF
5877
5878
5879
5880ac_delim='%!_!# '
5881for ac_last_try in false false false false false :; do
5882  cat >conf$$subs.sed <<_ACEOF
5883SHELL!$SHELL$ac_delim
5884PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5885PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5886PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5887PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5888PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5889PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5890exec_prefix!$exec_prefix$ac_delim
5891prefix!$prefix$ac_delim
5892program_transform_name!$program_transform_name$ac_delim
5893bindir!$bindir$ac_delim
5894sbindir!$sbindir$ac_delim
5895libexecdir!$libexecdir$ac_delim
5896datarootdir!$datarootdir$ac_delim
5897datadir!$datadir$ac_delim
5898sysconfdir!$sysconfdir$ac_delim
5899sharedstatedir!$sharedstatedir$ac_delim
5900localstatedir!$localstatedir$ac_delim
5901includedir!$includedir$ac_delim
5902oldincludedir!$oldincludedir$ac_delim
5903docdir!$docdir$ac_delim
5904infodir!$infodir$ac_delim
5905htmldir!$htmldir$ac_delim
5906dvidir!$dvidir$ac_delim
5907pdfdir!$pdfdir$ac_delim
5908psdir!$psdir$ac_delim
5909libdir!$libdir$ac_delim
5910localedir!$localedir$ac_delim
5911mandir!$mandir$ac_delim
5912DEFS!$DEFS$ac_delim
5913ECHO_C!$ECHO_C$ac_delim
5914ECHO_N!$ECHO_N$ac_delim
5915ECHO_T!$ECHO_T$ac_delim
5916LIBS!$LIBS$ac_delim
5917build_alias!$build_alias$ac_delim
5918host_alias!$host_alias$ac_delim
5919target_alias!$target_alias$ac_delim
5920INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5921INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5922INSTALL_DATA!$INSTALL_DATA$ac_delim
5923am__isrc!$am__isrc$ac_delim
5924CYGPATH_W!$CYGPATH_W$ac_delim
5925PACKAGE!$PACKAGE$ac_delim
5926VERSION!$VERSION$ac_delim
5927ACLOCAL!$ACLOCAL$ac_delim
5928AUTOCONF!$AUTOCONF$ac_delim
5929AUTOMAKE!$AUTOMAKE$ac_delim
5930AUTOHEADER!$AUTOHEADER$ac_delim
5931MAKEINFO!$MAKEINFO$ac_delim
5932install_sh!$install_sh$ac_delim
5933STRIP!$STRIP$ac_delim
5934INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5935mkdir_p!$mkdir_p$ac_delim
5936AWK!$AWK$ac_delim
5937SET_MAKE!$SET_MAKE$ac_delim
5938am__leading_dot!$am__leading_dot$ac_delim
5939AMTAR!$AMTAR$ac_delim
5940am__tar!$am__tar$ac_delim
5941am__untar!$am__untar$ac_delim
5942CC!$CC$ac_delim
5943CFLAGS!$CFLAGS$ac_delim
5944LDFLAGS!$LDFLAGS$ac_delim
5945CPPFLAGS!$CPPFLAGS$ac_delim
5946ac_ct_CC!$ac_ct_CC$ac_delim
5947EXEEXT!$EXEEXT$ac_delim
5948OBJEXT!$OBJEXT$ac_delim
5949DEPDIR!$DEPDIR$ac_delim
5950am__include!$am__include$ac_delim
5951am__quote!$am__quote$ac_delim
5952AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5953AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5954AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5955CCDEPMODE!$CCDEPMODE$ac_delim
5956am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5957am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5958LN_S!$LN_S$ac_delim
5959CPP!$CPP$ac_delim
5960GREP!$GREP$ac_delim
5961EGREP!$EGREP$ac_delim
5962LIBOBJS!$LIBOBJS$ac_delim
5963LTLIBOBJS!$LTLIBOBJS$ac_delim
5964_ACEOF
5965
5966  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
5967    break
5968  elif $ac_last_try; then
5969    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5970echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5971   { (exit 1); exit 1; }; }
5972  else
5973    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5974  fi
5975done
5976
5977ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5978if test -n "$ac_eof"; then
5979  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5980  ac_eof=`expr $ac_eof + 1`
5981fi
5982
5983cat >>$CONFIG_STATUS <<_ACEOF
5984cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5985/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5986_ACEOF
5987sed '
5988s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5989s/^/s,@/; s/!/@,|#_!!_#|/
5990:n
5991t n
5992s/'"$ac_delim"'$/,g/; t
5993s/$/\\/; p
5994N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5995' >>$CONFIG_STATUS <conf$$subs.sed
5996rm -f conf$$subs.sed
5997cat >>$CONFIG_STATUS <<_ACEOF
5998:end
5999s/|#_!!_#|//g
6000CEOF$ac_eof
6001_ACEOF
6002
6003
6004# VPATH may cause trouble with some makes, so we remove $(srcdir),
6005# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6006# trailing colons and then remove the whole line if VPATH becomes empty
6007# (actually we leave an empty line to preserve line numbers).
6008if test "x$srcdir" = x.; then
6009  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6010s/:*\$(srcdir):*/:/
6011s/:*\${srcdir}:*/:/
6012s/:*@srcdir@:*/:/
6013s/^\([^=]*=[	 ]*\):*/\1/
6014s/:*$//
6015s/^[^=]*=[	 ]*$//
6016}'
6017fi
6018
6019cat >>$CONFIG_STATUS <<\_ACEOF
6020fi # test -n "$CONFIG_FILES"
6021
6022
6023for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
6024do
6025  case $ac_tag in
6026  :[FHLC]) ac_mode=$ac_tag; continue;;
6027  esac
6028  case $ac_mode$ac_tag in
6029  :[FHL]*:*);;
6030  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6031echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6032   { (exit 1); exit 1; }; };;
6033  :[FH]-) ac_tag=-:-;;
6034  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6035  esac
6036  ac_save_IFS=$IFS
6037  IFS=:
6038  set x $ac_tag
6039  IFS=$ac_save_IFS
6040  shift
6041  ac_file=$1
6042  shift
6043
6044  case $ac_mode in
6045  :L) ac_source=$1;;
6046  :[FH])
6047    ac_file_inputs=
6048    for ac_f
6049    do
6050      case $ac_f in
6051      -) ac_f="$tmp/stdin";;
6052      *) # Look for the file first in the build tree, then in the source tree
6053	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6054	 # because $ac_f cannot contain `:'.
6055	 test -f "$ac_f" ||
6056	   case $ac_f in
6057	   [\\/$]*) false;;
6058	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6059	   esac ||
6060	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6061echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6062   { (exit 1); exit 1; }; };;
6063      esac
6064      ac_file_inputs="$ac_file_inputs $ac_f"
6065    done
6066
6067    # Let's still pretend it is `configure' which instantiates (i.e., don't
6068    # use $as_me), people would be surprised to read:
6069    #    /* config.h.  Generated by config.status.  */
6070    configure_input="Generated from "`IFS=:
6071	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6072    if test x"$ac_file" != x-; then
6073      configure_input="$ac_file.  $configure_input"
6074      { echo "$as_me:$LINENO: creating $ac_file" >&5
6075echo "$as_me: creating $ac_file" >&6;}
6076    fi
6077
6078    case $ac_tag in
6079    *:-:* | *:-) cat >"$tmp/stdin";;
6080    esac
6081    ;;
6082  esac
6083
6084  ac_dir=`$as_dirname -- "$ac_file" ||
6085$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6086	 X"$ac_file" : 'X\(//\)[^/]' \| \
6087	 X"$ac_file" : 'X\(//\)$' \| \
6088	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6089echo X"$ac_file" |
6090    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6091	    s//\1/
6092	    q
6093	  }
6094	  /^X\(\/\/\)[^/].*/{
6095	    s//\1/
6096	    q
6097	  }
6098	  /^X\(\/\/\)$/{
6099	    s//\1/
6100	    q
6101	  }
6102	  /^X\(\/\).*/{
6103	    s//\1/
6104	    q
6105	  }
6106	  s/.*/./; q'`
6107  { as_dir="$ac_dir"
6108  case $as_dir in #(
6109  -*) as_dir=./$as_dir;;
6110  esac
6111  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6112    as_dirs=
6113    while :; do
6114      case $as_dir in #(
6115      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6116      *) as_qdir=$as_dir;;
6117      esac
6118      as_dirs="'$as_qdir' $as_dirs"
6119      as_dir=`$as_dirname -- "$as_dir" ||
6120$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6121	 X"$as_dir" : 'X\(//\)[^/]' \| \
6122	 X"$as_dir" : 'X\(//\)$' \| \
6123	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6124echo X"$as_dir" |
6125    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6126	    s//\1/
6127	    q
6128	  }
6129	  /^X\(\/\/\)[^/].*/{
6130	    s//\1/
6131	    q
6132	  }
6133	  /^X\(\/\/\)$/{
6134	    s//\1/
6135	    q
6136	  }
6137	  /^X\(\/\).*/{
6138	    s//\1/
6139	    q
6140	  }
6141	  s/.*/./; q'`
6142      test -d "$as_dir" && break
6143    done
6144    test -z "$as_dirs" || eval "mkdir $as_dirs"
6145  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6146echo "$as_me: error: cannot create directory $as_dir" >&2;}
6147   { (exit 1); exit 1; }; }; }
6148  ac_builddir=.
6149
6150case "$ac_dir" in
6151.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6152*)
6153  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6154  # A ".." for each directory in $ac_dir_suffix.
6155  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6156  case $ac_top_builddir_sub in
6157  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6158  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6159  esac ;;
6160esac
6161ac_abs_top_builddir=$ac_pwd
6162ac_abs_builddir=$ac_pwd$ac_dir_suffix
6163# for backward compatibility:
6164ac_top_builddir=$ac_top_build_prefix
6165
6166case $srcdir in
6167  .)  # We are building in place.
6168    ac_srcdir=.
6169    ac_top_srcdir=$ac_top_builddir_sub
6170    ac_abs_top_srcdir=$ac_pwd ;;
6171  [\\/]* | ?:[\\/]* )  # Absolute name.
6172    ac_srcdir=$srcdir$ac_dir_suffix;
6173    ac_top_srcdir=$srcdir
6174    ac_abs_top_srcdir=$srcdir ;;
6175  *) # Relative name.
6176    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6177    ac_top_srcdir=$ac_top_build_prefix$srcdir
6178    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6179esac
6180ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6181
6182
6183  case $ac_mode in
6184  :F)
6185  #
6186  # CONFIG_FILE
6187  #
6188
6189  case $INSTALL in
6190  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6191  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6192  esac
6193  ac_MKDIR_P=$MKDIR_P
6194  case $MKDIR_P in
6195  [\\/$]* | ?:[\\/]* ) ;;
6196  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6197  esac
6198_ACEOF
6199
6200cat >>$CONFIG_STATUS <<\_ACEOF
6201# If the template does not know about datarootdir, expand it.
6202# FIXME: This hack should be removed a few years after 2.60.
6203ac_datarootdir_hack=; ac_datarootdir_seen=
6204
6205case `sed -n '/datarootdir/ {
6206  p
6207  q
6208}
6209/@datadir@/p
6210/@docdir@/p
6211/@infodir@/p
6212/@localedir@/p
6213/@mandir@/p
6214' $ac_file_inputs` in
6215*datarootdir*) ac_datarootdir_seen=yes;;
6216*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6217  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6218echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6219_ACEOF
6220cat >>$CONFIG_STATUS <<_ACEOF
6221  ac_datarootdir_hack='
6222  s&@datadir@&$datadir&g
6223  s&@docdir@&$docdir&g
6224  s&@infodir@&$infodir&g
6225  s&@localedir@&$localedir&g
6226  s&@mandir@&$mandir&g
6227    s&\\\${datarootdir}&$datarootdir&g' ;;
6228esac
6229_ACEOF
6230
6231# Neutralize VPATH when `$srcdir' = `.'.
6232# Shell code in configure.ac might set extrasub.
6233# FIXME: do we really want to maintain this feature?
6234cat >>$CONFIG_STATUS <<_ACEOF
6235  sed "$ac_vpsub
6236$extrasub
6237_ACEOF
6238cat >>$CONFIG_STATUS <<\_ACEOF
6239:t
6240/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6241s&@configure_input@&$configure_input&;t t
6242s&@top_builddir@&$ac_top_builddir_sub&;t t
6243s&@srcdir@&$ac_srcdir&;t t
6244s&@abs_srcdir@&$ac_abs_srcdir&;t t
6245s&@top_srcdir@&$ac_top_srcdir&;t t
6246s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6247s&@builddir@&$ac_builddir&;t t
6248s&@abs_builddir@&$ac_abs_builddir&;t t
6249s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6250s&@INSTALL@&$ac_INSTALL&;t t
6251s&@MKDIR_P@&$ac_MKDIR_P&;t t
6252$ac_datarootdir_hack
6253" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6254
6255test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6256  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6257  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6258  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6259which seems to be undefined.  Please make sure it is defined." >&5
6260echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6261which seems to be undefined.  Please make sure it is defined." >&2;}
6262
6263  rm -f "$tmp/stdin"
6264  case $ac_file in
6265  -) cat "$tmp/out"; rm -f "$tmp/out";;
6266  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6267  esac
6268 ;;
6269  :H)
6270  #
6271  # CONFIG_HEADER
6272  #
6273_ACEOF
6274
6275# Transform confdefs.h into a sed script `conftest.defines', that
6276# substitutes the proper values into config.h.in to produce config.h.
6277rm -f conftest.defines conftest.tail
6278# First, append a space to every undef/define line, to ease matching.
6279echo 's/$/ /' >conftest.defines
6280# Then, protect against being on the right side of a sed subst, or in
6281# an unquoted here document, in config.status.  If some macros were
6282# called several times there might be several #defines for the same
6283# symbol, which is useless.  But do not sort them, since the last
6284# AC_DEFINE must be honored.
6285ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6286# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6287# NAME is the cpp macro being defined, VALUE is the value it is being given.
6288# PARAMS is the parameter list in the macro definition--in most cases, it's
6289# just an empty string.
6290ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
6291ac_dB='\\)[	 (].*,\\1define\\2'
6292ac_dC=' '
6293ac_dD=' ,'
6294
6295uniq confdefs.h |
6296  sed -n '
6297	t rset
6298	:rset
6299	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
6300	t ok
6301	d
6302	:ok
6303	s/[\\&,]/\\&/g
6304	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6305	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6306  ' >>conftest.defines
6307
6308# Remove the space that was appended to ease matching.
6309# Then replace #undef with comments.  This is necessary, for
6310# example, in the case of _POSIX_SOURCE, which is predefined and required
6311# on some systems where configure will not decide to define it.
6312# (The regexp can be short, since the line contains either #define or #undef.)
6313echo 's/ $//
6314s,^[	 #]*u.*,/* & */,' >>conftest.defines
6315
6316# Break up conftest.defines:
6317ac_max_sed_lines=50
6318
6319# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6320# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6321# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6322# et cetera.
6323ac_in='$ac_file_inputs'
6324ac_out='"$tmp/out1"'
6325ac_nxt='"$tmp/out2"'
6326
6327while :
6328do
6329  # Write a here document:
6330    cat >>$CONFIG_STATUS <<_ACEOF
6331    # First, check the format of the line:
6332    cat >"\$tmp/defines.sed" <<\\CEOF
6333/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
6334/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
6335b
6336:def
6337_ACEOF
6338  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6339  echo 'CEOF
6340    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6341  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6342  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6343  grep . conftest.tail >/dev/null || break
6344  rm -f conftest.defines
6345  mv conftest.tail conftest.defines
6346done
6347rm -f conftest.defines conftest.tail
6348
6349echo "ac_result=$ac_in" >>$CONFIG_STATUS
6350cat >>$CONFIG_STATUS <<\_ACEOF
6351  if test x"$ac_file" != x-; then
6352    echo "/* $configure_input  */" >"$tmp/config.h"
6353    cat "$ac_result" >>"$tmp/config.h"
6354    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6355      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6356echo "$as_me: $ac_file is unchanged" >&6;}
6357    else
6358      rm -f $ac_file
6359      mv "$tmp/config.h" $ac_file
6360    fi
6361  else
6362    echo "/* $configure_input  */"
6363    cat "$ac_result"
6364  fi
6365  rm -f "$tmp/out12"
6366# Compute $ac_file's index in $config_headers.
6367_am_arg=$ac_file
6368_am_stamp_count=1
6369for _am_header in $config_headers :; do
6370  case $_am_header in
6371    $_am_arg | $_am_arg:* )
6372      break ;;
6373    * )
6374      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6375  esac
6376done
6377echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6378$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6379	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6380	 X"$_am_arg" : 'X\(//\)$' \| \
6381	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6382echo X"$_am_arg" |
6383    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6384	    s//\1/
6385	    q
6386	  }
6387	  /^X\(\/\/\)[^/].*/{
6388	    s//\1/
6389	    q
6390	  }
6391	  /^X\(\/\/\)$/{
6392	    s//\1/
6393	    q
6394	  }
6395	  /^X\(\/\).*/{
6396	    s//\1/
6397	    q
6398	  }
6399	  s/.*/./; q'`/stamp-h$_am_stamp_count
6400 ;;
6401
6402  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6403echo "$as_me: executing $ac_file commands" >&6;}
6404 ;;
6405  esac
6406
6407
6408  case $ac_file$ac_mode in
6409    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6410  # Strip MF so we end up with the name of the file.
6411  mf=`echo "$mf" | sed -e 's/:.*$//'`
6412  # Check whether this is an Automake generated Makefile or not.
6413  # We used to match only the files named `Makefile.in', but
6414  # some people rename them; so instead we look at the file content.
6415  # Grep'ing the first line is not enough: some people post-process
6416  # each Makefile.in and add a new line on top of each file to say so.
6417  # Grep'ing the whole file is not good either: AIX grep has a line
6418  # limit of 2048, but all sed's we know have understand at least 4000.
6419  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6420    dirpart=`$as_dirname -- "$mf" ||
6421$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6422	 X"$mf" : 'X\(//\)[^/]' \| \
6423	 X"$mf" : 'X\(//\)$' \| \
6424	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6425echo X"$mf" |
6426    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6427	    s//\1/
6428	    q
6429	  }
6430	  /^X\(\/\/\)[^/].*/{
6431	    s//\1/
6432	    q
6433	  }
6434	  /^X\(\/\/\)$/{
6435	    s//\1/
6436	    q
6437	  }
6438	  /^X\(\/\).*/{
6439	    s//\1/
6440	    q
6441	  }
6442	  s/.*/./; q'`
6443  else
6444    continue
6445  fi
6446  # Extract the definition of DEPDIR, am__include, and am__quote
6447  # from the Makefile without running `make'.
6448  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6449  test -z "$DEPDIR" && continue
6450  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6451  test -z "am__include" && continue
6452  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6453  # When using ansi2knr, U may be empty or an underscore; expand it
6454  U=`sed -n 's/^U = //p' < "$mf"`
6455  # Find all dependency output files, they are included files with
6456  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6457  # simplest approach to changing $(DEPDIR) to its actual value in the
6458  # expansion.
6459  for file in `sed -n "
6460    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6461       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6462    # Make sure the directory exists.
6463    test -f "$dirpart/$file" && continue
6464    fdir=`$as_dirname -- "$file" ||
6465$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6466	 X"$file" : 'X\(//\)[^/]' \| \
6467	 X"$file" : 'X\(//\)$' \| \
6468	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6469echo X"$file" |
6470    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6471	    s//\1/
6472	    q
6473	  }
6474	  /^X\(\/\/\)[^/].*/{
6475	    s//\1/
6476	    q
6477	  }
6478	  /^X\(\/\/\)$/{
6479	    s//\1/
6480	    q
6481	  }
6482	  /^X\(\/\).*/{
6483	    s//\1/
6484	    q
6485	  }
6486	  s/.*/./; q'`
6487    { as_dir=$dirpart/$fdir
6488  case $as_dir in #(
6489  -*) as_dir=./$as_dir;;
6490  esac
6491  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6492    as_dirs=
6493    while :; do
6494      case $as_dir in #(
6495      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6496      *) as_qdir=$as_dir;;
6497      esac
6498      as_dirs="'$as_qdir' $as_dirs"
6499      as_dir=`$as_dirname -- "$as_dir" ||
6500$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501	 X"$as_dir" : 'X\(//\)[^/]' \| \
6502	 X"$as_dir" : 'X\(//\)$' \| \
6503	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6504echo X"$as_dir" |
6505    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6506	    s//\1/
6507	    q
6508	  }
6509	  /^X\(\/\/\)[^/].*/{
6510	    s//\1/
6511	    q
6512	  }
6513	  /^X\(\/\/\)$/{
6514	    s//\1/
6515	    q
6516	  }
6517	  /^X\(\/\).*/{
6518	    s//\1/
6519	    q
6520	  }
6521	  s/.*/./; q'`
6522      test -d "$as_dir" && break
6523    done
6524    test -z "$as_dirs" || eval "mkdir $as_dirs"
6525  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6526echo "$as_me: error: cannot create directory $as_dir" >&2;}
6527   { (exit 1); exit 1; }; }; }
6528    # echo "creating $dirpart/$file"
6529    echo '# dummy' > "$dirpart/$file"
6530  done
6531done
6532 ;;
6533
6534  esac
6535done # for ac_tag
6536
6537
6538{ (exit 0); exit 0; }
6539_ACEOF
6540chmod +x $CONFIG_STATUS
6541ac_clean_files=$ac_clean_files_save
6542
6543
6544# configure is writing to config.log, and then calls config.status.
6545# config.status does its own redirection, appending to config.log.
6546# Unfortunately, on DOS this fails, as config.log is still kept open
6547# by configure, so config.status won't be able to write to it; its
6548# output is simply discarded.  So we exec the FD to /dev/null,
6549# effectively closing config.log, so it can be properly (re)opened and
6550# appended to by config.status.  When coming back to configure, we
6551# need to make the FD available again.
6552if test "$no_create" != yes; then
6553  ac_cs_success=:
6554  ac_config_status_args=
6555  test "$silent" = yes &&
6556    ac_config_status_args="$ac_config_status_args --quiet"
6557  exec 5>/dev/null
6558  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6559  exec 5>>config.log
6560  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6561  # would make configure fail if this is the last instruction.
6562  $ac_cs_success || { (exit 1); exit 1; }
6563fi
6564
6565