1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for E-MailRelay 1.9.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137if test "x$CONFIG_SHELL" = x; then
138  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139  emulate sh
140  NULLCMD=:
141  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142  # is contrary to our usage.  Disable this feature.
143  alias -g '\${1+\"\$@\"}'='\"\$@\"'
144  setopt NO_GLOB_SUBST
145else
146  case \`(set -o) 2>/dev/null\` in #(
147  *posix*) :
148    set -o posix ;; #(
149  *) :
150     ;;
151esac
152fi
153"
154  as_required="as_fn_return () { (exit \$1); }
155as_fn_success () { as_fn_return 0; }
156as_fn_failure () { as_fn_return 1; }
157as_fn_ret_success () { return 0; }
158as_fn_ret_failure () { return 1; }
159
160exitcode=0
161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167else
168  exitcode=1; echo positional parameters were not saved.
169fi
170test x\$exitcode = x0 || exit 1"
171  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175test \$(( 1 + 1 )) = 2 || exit 1"
176  if (eval "$as_required") 2>/dev/null; then :
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183else
184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185as_found=false
186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187do
188  IFS=$as_save_IFS
189  test -z "$as_dir" && as_dir=.
190  as_found=:
191  case $as_dir in #(
192	 /*)
193	   for as_base in sh bash ksh sh5; do
194	     # Try only shells that exist, to save several forks.
195	     as_shell=$as_dir/$as_base
196	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198  CONFIG_SHELL=$as_shell as_have_required=yes
199		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200  break 2
201fi
202fi
203	   done;;
204       esac
205  as_found=false
206done
207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209  CONFIG_SHELL=$SHELL as_have_required=yes
210fi; }
211IFS=$as_save_IFS
212
213
214      if test "x$CONFIG_SHELL" != x; then :
215  # We cannot yet assume a decent shell, so we have to provide a
216	# neutralization value for shells without unset; and this also
217	# works around shells that cannot unset nonexistent variables.
218	# Preserve -v and -x to the replacement shell.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	case $- in # ((((
224	  *v*x* | *x*v* ) as_opts=-vx ;;
225	  *v* ) as_opts=-v ;;
226	  *x* ) as_opts=-x ;;
227	  * ) as_opts= ;;
228	esac
229	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230fi
231
232    if test x$as_have_required = xno; then :
233  $as_echo "$0: This script requires a shell more modern than all"
234  $as_echo "$0: the shells that I found on your system."
235  if test x${ZSH_VERSION+set} = xset ; then
236    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238  else
239    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240$0: including any error possibly output before this
241$0: message. Then install a modern shell, or manually run
242$0: the script under such a shell if you do have one."
243  fi
244  exit 1
245fi
246fi
247fi
248SHELL=${CONFIG_SHELL-/bin/sh}
249export SHELL
250# Unset more variables known to interfere with behavior of common tools.
251CLICOLOR_FORCE= GREP_OPTIONS=
252unset CLICOLOR_FORCE GREP_OPTIONS
253
254## --------------------- ##
255## M4sh Shell Functions. ##
256## --------------------- ##
257# as_fn_unset VAR
258# ---------------
259# Portably unset VAR.
260as_fn_unset ()
261{
262  { eval $1=; unset $1;}
263}
264as_unset=as_fn_unset
265
266# as_fn_set_status STATUS
267# -----------------------
268# Set $? to STATUS, without forking.
269as_fn_set_status ()
270{
271  return $1
272} # as_fn_set_status
273
274# as_fn_exit STATUS
275# -----------------
276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277as_fn_exit ()
278{
279  set +e
280  as_fn_set_status $1
281  exit $1
282} # as_fn_exit
283
284# as_fn_mkdir_p
285# -------------
286# Create "$as_dir" as a directory, including parents if necessary.
287as_fn_mkdir_p ()
288{
289
290  case $as_dir in #(
291  -*) as_dir=./$as_dir;;
292  esac
293  test -d "$as_dir" || eval $as_mkdir_p || {
294    as_dirs=
295    while :; do
296      case $as_dir in #(
297      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298      *) as_qdir=$as_dir;;
299      esac
300      as_dirs="'$as_qdir' $as_dirs"
301      as_dir=`$as_dirname -- "$as_dir" ||
302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303	 X"$as_dir" : 'X\(//\)[^/]' \| \
304	 X"$as_dir" : 'X\(//\)$' \| \
305	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306$as_echo X"$as_dir" |
307    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308	    s//\1/
309	    q
310	  }
311	  /^X\(\/\/\)[^/].*/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\/\)$/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\).*/{
320	    s//\1/
321	    q
322	  }
323	  s/.*/./; q'`
324      test -d "$as_dir" && break
325    done
326    test -z "$as_dirs" || eval "mkdir $as_dirs"
327  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
329
330} # as_fn_mkdir_p
331# as_fn_append VAR VALUE
332# ----------------------
333# Append the text in VALUE to the end of the definition contained in VAR. Take
334# advantage of any shell optimizations that allow amortized linear growth over
335# repeated appends, instead of the typical quadratic growth present in naive
336# implementations.
337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338  eval 'as_fn_append ()
339  {
340    eval $1+=\$2
341  }'
342else
343  as_fn_append ()
344  {
345    eval $1=\$$1\$2
346  }
347fi # as_fn_append
348
349# as_fn_arith ARG...
350# ------------------
351# Perform arithmetic evaluation on the ARGs, and store the result in the
352# global $as_val. Take advantage of shells that can avoid forks. The arguments
353# must be portable across $(()) and expr.
354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355  eval 'as_fn_arith ()
356  {
357    as_val=$(( $* ))
358  }'
359else
360  as_fn_arith ()
361  {
362    as_val=`expr "$@" || test $? -eq 1`
363  }
364fi # as_fn_arith
365
366
367# as_fn_error STATUS ERROR [LINENO LOG_FD]
368# ----------------------------------------
369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371# script with STATUS, using 1 if that was 0.
372as_fn_error ()
373{
374  as_status=$1; test $as_status -eq 0 && as_status=1
375  if test "$4"; then
376    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378  fi
379  $as_echo "$as_me: error: $2" >&2
380  as_fn_exit $as_status
381} # as_fn_error
382
383if expr a : '\(a\)' >/dev/null 2>&1 &&
384   test "X`expr 00001 : '.*\(...\)'`" = X001; then
385  as_expr=expr
386else
387  as_expr=false
388fi
389
390if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391  as_basename=basename
392else
393  as_basename=false
394fi
395
396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397  as_dirname=dirname
398else
399  as_dirname=false
400fi
401
402as_me=`$as_basename -- "$0" ||
403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404	 X"$0" : 'X\(//\)$' \| \
405	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406$as_echo X/"$0" |
407    sed '/^.*\/\([^/][^/]*\)\/*$/{
408	    s//\1/
409	    q
410	  }
411	  /^X\/\(\/\/\)$/{
412	    s//\1/
413	    q
414	  }
415	  /^X\/\(\/\).*/{
416	    s//\1/
417	    q
418	  }
419	  s/.*/./; q'`
420
421# Avoid depending upon Character Ranges.
422as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425as_cr_digits='0123456789'
426as_cr_alnum=$as_cr_Letters$as_cr_digits
427
428
429  as_lineno_1=$LINENO as_lineno_1a=$LINENO
430  as_lineno_2=$LINENO as_lineno_2a=$LINENO
431  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
434  sed -n '
435    p
436    /[$]LINENO/=
437  ' <$as_myself |
438    sed '
439      s/[$]LINENO.*/&-/
440      t lineno
441      b
442      :lineno
443      N
444      :loop
445      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446      t loop
447      s/-\n.*//
448    ' >$as_me.lineno &&
449  chmod +x "$as_me.lineno" ||
450    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451
452  # Don't try to exec as it changes $[0], causing all sort of problems
453  # (the dirname of $[0] is not the place where we might find the
454  # original and so on.  Autoconf is especially sensitive to this).
455  . "./$as_me.lineno"
456  # Exit status is that of the last command.
457  exit
458}
459
460ECHO_C= ECHO_N= ECHO_T=
461case `echo -n x` in #(((((
462-n*)
463  case `echo 'xy\c'` in
464  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
465  xy)  ECHO_C='\c';;
466  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
467       ECHO_T='	';;
468  esac;;
469*)
470  ECHO_N='-n';;
471esac
472
473rm -f conf$$ conf$$.exe conf$$.file
474if test -d conf$$.dir; then
475  rm -f conf$$.dir/conf$$.file
476else
477  rm -f conf$$.dir
478  mkdir conf$$.dir 2>/dev/null
479fi
480if (echo >conf$$.file) 2>/dev/null; then
481  if ln -s conf$$.file conf$$ 2>/dev/null; then
482    as_ln_s='ln -s'
483    # ... but there are two gotchas:
484    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486    # In both cases, we have to default to `cp -p'.
487    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488      as_ln_s='cp -p'
489  elif ln conf$$.file conf$$ 2>/dev/null; then
490    as_ln_s=ln
491  else
492    as_ln_s='cp -p'
493  fi
494else
495  as_ln_s='cp -p'
496fi
497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498rmdir conf$$.dir 2>/dev/null
499
500if mkdir -p . 2>/dev/null; then
501  as_mkdir_p='mkdir -p "$as_dir"'
502else
503  test -d ./-p && rmdir ./-p
504  as_mkdir_p=false
505fi
506
507if test -x / >/dev/null 2>&1; then
508  as_test_x='test -x'
509else
510  if ls -dL / >/dev/null 2>&1; then
511    as_ls_L_option=L
512  else
513    as_ls_L_option=
514  fi
515  as_test_x='
516    eval sh -c '\''
517      if test -d "$1"; then
518	test -d "$1/.";
519      else
520	case $1 in #(
521	-*)set "./$1";;
522	esac;
523	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524	???[sx]*):;;*)false;;esac;fi
525    '\'' sh
526  '
527fi
528as_executable_p=$as_test_x
529
530# Sed expression to map a string onto a valid CPP name.
531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533# Sed expression to map a string onto a valid variable name.
534as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537test -n "$DJDIR" || exec 7<&0 </dev/null
538exec 6>&1
539
540# Name of the host.
541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542# so uname gets run too.
543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545#
546# Initializations.
547#
548ac_default_prefix=/usr/local
549ac_clean_files=
550ac_config_libobj_dir=.
551LIBOBJS=
552cross_compiling=no
553subdirs=
554MFLAGS=
555MAKEFLAGS=
556
557# Identity of this package.
558PACKAGE_NAME='E-MailRelay'
559PACKAGE_TARNAME='emailrelay'
560PACKAGE_VERSION='1.9'
561PACKAGE_STRING='E-MailRelay 1.9'
562PACKAGE_BUGREPORT=''
563PACKAGE_URL=''
564
565ac_unique_file="src/gsmtp/gsmtp.h"
566enable_option_checking=no
567# Factoring default headers for most tests.
568ac_includes_default="\
569#include <stdio.h>
570#ifdef HAVE_SYS_TYPES_H
571# include <sys/types.h>
572#endif
573#ifdef HAVE_SYS_STAT_H
574# include <sys/stat.h>
575#endif
576#ifdef STDC_HEADERS
577# include <stdlib.h>
578# include <stddef.h>
579#else
580# ifdef HAVE_STDLIB_H
581#  include <stdlib.h>
582# endif
583#endif
584#ifdef HAVE_STRING_H
585# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586#  include <memory.h>
587# endif
588# include <string.h>
589#endif
590#ifdef HAVE_STRINGS_H
591# include <strings.h>
592#endif
593#ifdef HAVE_INTTYPES_H
594# include <inttypes.h>
595#endif
596#ifdef HAVE_STDINT_H
597# include <stdint.h>
598#endif
599#ifdef HAVE_UNISTD_H
600# include <unistd.h>
601#endif"
602
603ac_subst_vars='am__EXEEXT_FALSE
604am__EXEEXT_TRUE
605LTLIBOBJS
606LIBOBJS
607e_qtmoc
608e_sysconfdir
609e_pamdir
610e_libexecdir
611e_examplesdir
612e_spooldir
613e_icondir
614e_initdir
615e_docdir
616INSTALL_HOOK_FALSE
617INSTALL_HOOK_TRUE
618STATIC_END
619STATIC_START
620PAM_FALSE
621PAM_TRUE
622PAM_INCLUDE
623PAM_LIBS
624GLOB_FALSE
625GLOB_TRUE
626OPENSSL_FALSE
627OPENSSL_TRUE
628SSL_LIBS
629ZLIB_LIBS
630TESTING_FALSE
631TESTING_TRUE
632MAC_FALSE
633MAC_TRUE
634PROXY_FALSE
635PROXY_TRUE
636SMALL_CONFIG_FALSE
637SMALL_CONFIG_TRUE
638IDENTITY_FALSE
639IDENTITY_TRUE
640DNS_FALSE
641DNS_TRUE
642AUTH_FALSE
643AUTH_TRUE
644ADMIN_FALSE
645ADMIN_TRUE
646EXEC_FALSE
647EXEC_TRUE
648POP_FALSE
649POP_TRUE
650GUI_FALSE
651GUI_TRUE
652IPV6_FALSE
653IPV6_TRUE
654MOC
655QT_LIBS
656QT_CFLAGS
657PKG_CONFIG_LIBDIR
658PKG_CONFIG_PATH
659PKG_CONFIG
660EGREP
661CPP
662G_CAPABILITIES
663COMPILER_VERSION
664HAVE_MAN2HTML
665HAVE_DOXYGEN
666GZIP
667AR
668MAKE
669GREP
670RANLIB
671am__fastdepCXX_FALSE
672am__fastdepCXX_TRUE
673CXXDEPMODE
674ac_ct_CXX
675CXXFLAGS
676CXX
677am__fastdepCC_FALSE
678am__fastdepCC_TRUE
679CCDEPMODE
680am__nodep
681AMDEPBACKSLASH
682AMDEP_FALSE
683AMDEP_TRUE
684am__quote
685am__include
686DEPDIR
687OBJEXT
688EXEEXT
689ac_ct_CC
690CPPFLAGS
691LDFLAGS
692CFLAGS
693CC
694MAINT
695MAINTAINER_MODE_FALSE
696MAINTAINER_MODE_TRUE
697am__untar
698am__tar
699AMTAR
700am__leading_dot
701SET_MAKE
702AWK
703mkdir_p
704MKDIR_P
705INSTALL_STRIP_PROGRAM
706STRIP
707install_sh
708MAKEINFO
709AUTOHEADER
710AUTOMAKE
711AUTOCONF
712ACLOCAL
713VERSION
714PACKAGE
715CYGPATH_W
716am__isrc
717INSTALL_DATA
718INSTALL_SCRIPT
719INSTALL_PROGRAM
720target_alias
721host_alias
722build_alias
723LIBS
724ECHO_T
725ECHO_N
726ECHO_C
727DEFS
728mandir
729localedir
730libdir
731psdir
732pdfdir
733dvidir
734htmldir
735infodir
736docdir
737oldincludedir
738includedir
739localstatedir
740sharedstatedir
741sysconfdir
742datadir
743datarootdir
744libexecdir
745sbindir
746bindir
747program_transform_name
748prefix
749exec_prefix
750PACKAGE_URL
751PACKAGE_BUGREPORT
752PACKAGE_STRING
753PACKAGE_VERSION
754PACKAGE_TARNAME
755PACKAGE_NAME
756PATH_SEPARATOR
757SHELL'
758ac_subst_files=''
759ac_user_opts='
760enable_option_checking
761enable_maintainer_mode
762enable_dependency_tracking
763enable_debug
764enable_ipv6
765enable_gui
766enable_verbose
767enable_pop
768enable_exec
769enable_small_exceptions
770enable_proxy
771enable_mac
772enable_testing
773with_zlib
774with_doxygen
775with_man2html
776with_openssl
777with_glob
778with_pam
779enable_static_linking
780enable_install_hook
781'
782      ac_precious_vars='build_alias
783host_alias
784target_alias
785CC
786CFLAGS
787LDFLAGS
788LIBS
789CPPFLAGS
790CXX
791CXXFLAGS
792CCC
793CPP
794PKG_CONFIG
795PKG_CONFIG_PATH
796PKG_CONFIG_LIBDIR
797QT_CFLAGS
798QT_LIBS'
799
800
801# Initialize some variables set by options.
802ac_init_help=
803ac_init_version=false
804ac_unrecognized_opts=
805ac_unrecognized_sep=
806# The variables have the same names as the options, with
807# dashes changed to underlines.
808cache_file=/dev/null
809exec_prefix=NONE
810no_create=
811no_recursion=
812prefix=NONE
813program_prefix=NONE
814program_suffix=NONE
815program_transform_name=s,x,x,
816silent=
817site=
818srcdir=
819verbose=
820x_includes=NONE
821x_libraries=NONE
822
823# Installation directory options.
824# These are left unexpanded so users can "make install exec_prefix=/foo"
825# and all the variables that are supposed to be based on exec_prefix
826# by default will actually change.
827# Use braces instead of parens because sh, perl, etc. also accept them.
828# (The list follows the same order as the GNU Coding Standards.)
829bindir='${exec_prefix}/bin'
830sbindir='${exec_prefix}/sbin'
831libexecdir='${exec_prefix}/libexec'
832datarootdir='${prefix}/share'
833datadir='${datarootdir}'
834sysconfdir='${prefix}/etc'
835sharedstatedir='${prefix}/com'
836localstatedir='${prefix}/var'
837includedir='${prefix}/include'
838oldincludedir='/usr/include'
839docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840infodir='${datarootdir}/info'
841htmldir='${docdir}'
842dvidir='${docdir}'
843pdfdir='${docdir}'
844psdir='${docdir}'
845libdir='${exec_prefix}/lib'
846localedir='${datarootdir}/locale'
847mandir='${datarootdir}/man'
848
849ac_prev=
850ac_dashdash=
851for ac_option
852do
853  # If the previous option needs an argument, assign it.
854  if test -n "$ac_prev"; then
855    eval $ac_prev=\$ac_option
856    ac_prev=
857    continue
858  fi
859
860  case $ac_option in
861  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862  *=)   ac_optarg= ;;
863  *)    ac_optarg=yes ;;
864  esac
865
866  # Accept the important Cygnus configure options, so we can diagnose typos.
867
868  case $ac_dashdash$ac_option in
869  --)
870    ac_dashdash=yes ;;
871
872  -bindir | --bindir | --bindi | --bind | --bin | --bi)
873    ac_prev=bindir ;;
874  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
875    bindir=$ac_optarg ;;
876
877  -build | --build | --buil | --bui | --bu)
878    ac_prev=build_alias ;;
879  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
880    build_alias=$ac_optarg ;;
881
882  -cache-file | --cache-file | --cache-fil | --cache-fi \
883  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
884    ac_prev=cache_file ;;
885  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
886  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
887    cache_file=$ac_optarg ;;
888
889  --config-cache | -C)
890    cache_file=config.cache ;;
891
892  -datadir | --datadir | --datadi | --datad)
893    ac_prev=datadir ;;
894  -datadir=* | --datadir=* | --datadi=* | --datad=*)
895    datadir=$ac_optarg ;;
896
897  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898  | --dataroo | --dataro | --datar)
899    ac_prev=datarootdir ;;
900  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902    datarootdir=$ac_optarg ;;
903
904  -disable-* | --disable-*)
905    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906    # Reject names that are not valid shell variable names.
907    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908      as_fn_error $? "invalid feature name: $ac_useropt"
909    ac_useropt_orig=$ac_useropt
910    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911    case $ac_user_opts in
912      *"
913"enable_$ac_useropt"
914"*) ;;
915      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916	 ac_unrecognized_sep=', ';;
917    esac
918    eval enable_$ac_useropt=no ;;
919
920  -docdir | --docdir | --docdi | --doc | --do)
921    ac_prev=docdir ;;
922  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
923    docdir=$ac_optarg ;;
924
925  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926    ac_prev=dvidir ;;
927  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
928    dvidir=$ac_optarg ;;
929
930  -enable-* | --enable-*)
931    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932    # Reject names that are not valid shell variable names.
933    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
934      as_fn_error $? "invalid feature name: $ac_useropt"
935    ac_useropt_orig=$ac_useropt
936    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937    case $ac_user_opts in
938      *"
939"enable_$ac_useropt"
940"*) ;;
941      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942	 ac_unrecognized_sep=', ';;
943    esac
944    eval enable_$ac_useropt=\$ac_optarg ;;
945
946  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
947  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
948  | --exec | --exe | --ex)
949    ac_prev=exec_prefix ;;
950  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
951  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
952  | --exec=* | --exe=* | --ex=*)
953    exec_prefix=$ac_optarg ;;
954
955  -gas | --gas | --ga | --g)
956    # Obsolete; use --with-gas.
957    with_gas=yes ;;
958
959  -help | --help | --hel | --he | -h)
960    ac_init_help=long ;;
961  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
962    ac_init_help=recursive ;;
963  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
964    ac_init_help=short ;;
965
966  -host | --host | --hos | --ho)
967    ac_prev=host_alias ;;
968  -host=* | --host=* | --hos=* | --ho=*)
969    host_alias=$ac_optarg ;;
970
971  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972    ac_prev=htmldir ;;
973  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974  | --ht=*)
975    htmldir=$ac_optarg ;;
976
977  -includedir | --includedir | --includedi | --included | --include \
978  | --includ | --inclu | --incl | --inc)
979    ac_prev=includedir ;;
980  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
981  | --includ=* | --inclu=* | --incl=* | --inc=*)
982    includedir=$ac_optarg ;;
983
984  -infodir | --infodir | --infodi | --infod | --info | --inf)
985    ac_prev=infodir ;;
986  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
987    infodir=$ac_optarg ;;
988
989  -libdir | --libdir | --libdi | --libd)
990    ac_prev=libdir ;;
991  -libdir=* | --libdir=* | --libdi=* | --libd=*)
992    libdir=$ac_optarg ;;
993
994  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
995  | --libexe | --libex | --libe)
996    ac_prev=libexecdir ;;
997  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
998  | --libexe=* | --libex=* | --libe=*)
999    libexecdir=$ac_optarg ;;
1000
1001  -localedir | --localedir | --localedi | --localed | --locale)
1002    ac_prev=localedir ;;
1003  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1004    localedir=$ac_optarg ;;
1005
1006  -localstatedir | --localstatedir | --localstatedi | --localstated \
1007  | --localstate | --localstat | --localsta | --localst | --locals)
1008    ac_prev=localstatedir ;;
1009  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011    localstatedir=$ac_optarg ;;
1012
1013  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014    ac_prev=mandir ;;
1015  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1016    mandir=$ac_optarg ;;
1017
1018  -nfp | --nfp | --nf)
1019    # Obsolete; use --without-fp.
1020    with_fp=no ;;
1021
1022  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1023  | --no-cr | --no-c | -n)
1024    no_create=yes ;;
1025
1026  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1027  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028    no_recursion=yes ;;
1029
1030  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1031  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1032  | --oldin | --oldi | --old | --ol | --o)
1033    ac_prev=oldincludedir ;;
1034  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1035  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1036  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1037    oldincludedir=$ac_optarg ;;
1038
1039  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040    ac_prev=prefix ;;
1041  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1042    prefix=$ac_optarg ;;
1043
1044  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1045  | --program-pre | --program-pr | --program-p)
1046    ac_prev=program_prefix ;;
1047  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1048  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1049    program_prefix=$ac_optarg ;;
1050
1051  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1052  | --program-suf | --program-su | --program-s)
1053    ac_prev=program_suffix ;;
1054  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1055  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1056    program_suffix=$ac_optarg ;;
1057
1058  -program-transform-name | --program-transform-name \
1059  | --program-transform-nam | --program-transform-na \
1060  | --program-transform-n | --program-transform- \
1061  | --program-transform | --program-transfor \
1062  | --program-transfo | --program-transf \
1063  | --program-trans | --program-tran \
1064  | --progr-tra | --program-tr | --program-t)
1065    ac_prev=program_transform_name ;;
1066  -program-transform-name=* | --program-transform-name=* \
1067  | --program-transform-nam=* | --program-transform-na=* \
1068  | --program-transform-n=* | --program-transform-=* \
1069  | --program-transform=* | --program-transfor=* \
1070  | --program-transfo=* | --program-transf=* \
1071  | --program-trans=* | --program-tran=* \
1072  | --progr-tra=* | --program-tr=* | --program-t=*)
1073    program_transform_name=$ac_optarg ;;
1074
1075  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076    ac_prev=pdfdir ;;
1077  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1078    pdfdir=$ac_optarg ;;
1079
1080  -psdir | --psdir | --psdi | --psd | --ps)
1081    ac_prev=psdir ;;
1082  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083    psdir=$ac_optarg ;;
1084
1085  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086  | -silent | --silent | --silen | --sile | --sil)
1087    silent=yes ;;
1088
1089  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090    ac_prev=sbindir ;;
1091  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092  | --sbi=* | --sb=*)
1093    sbindir=$ac_optarg ;;
1094
1095  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1096  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1097  | --sharedst | --shareds | --shared | --share | --shar \
1098  | --sha | --sh)
1099    ac_prev=sharedstatedir ;;
1100  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1101  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1102  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103  | --sha=* | --sh=*)
1104    sharedstatedir=$ac_optarg ;;
1105
1106  -site | --site | --sit)
1107    ac_prev=site ;;
1108  -site=* | --site=* | --sit=*)
1109    site=$ac_optarg ;;
1110
1111  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112    ac_prev=srcdir ;;
1113  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1114    srcdir=$ac_optarg ;;
1115
1116  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1117  | --syscon | --sysco | --sysc | --sys | --sy)
1118    ac_prev=sysconfdir ;;
1119  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1120  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1121    sysconfdir=$ac_optarg ;;
1122
1123  -target | --target | --targe | --targ | --tar | --ta | --t)
1124    ac_prev=target_alias ;;
1125  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1126    target_alias=$ac_optarg ;;
1127
1128  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1129    verbose=yes ;;
1130
1131  -version | --version | --versio | --versi | --vers | -V)
1132    ac_init_version=: ;;
1133
1134  -with-* | --with-*)
1135    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136    # Reject names that are not valid shell variable names.
1137    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138      as_fn_error $? "invalid package name: $ac_useropt"
1139    ac_useropt_orig=$ac_useropt
1140    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141    case $ac_user_opts in
1142      *"
1143"with_$ac_useropt"
1144"*) ;;
1145      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146	 ac_unrecognized_sep=', ';;
1147    esac
1148    eval with_$ac_useropt=\$ac_optarg ;;
1149
1150  -without-* | --without-*)
1151    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152    # Reject names that are not valid shell variable names.
1153    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154      as_fn_error $? "invalid package name: $ac_useropt"
1155    ac_useropt_orig=$ac_useropt
1156    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157    case $ac_user_opts in
1158      *"
1159"with_$ac_useropt"
1160"*) ;;
1161      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162	 ac_unrecognized_sep=', ';;
1163    esac
1164    eval with_$ac_useropt=no ;;
1165
1166  --x)
1167    # Obsolete; use --with-x.
1168    with_x=yes ;;
1169
1170  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1171  | --x-incl | --x-inc | --x-in | --x-i)
1172    ac_prev=x_includes ;;
1173  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1174  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1175    x_includes=$ac_optarg ;;
1176
1177  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1178  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1179    ac_prev=x_libraries ;;
1180  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1181  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1182    x_libraries=$ac_optarg ;;
1183
1184  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1185Try \`$0 --help' for more information"
1186    ;;
1187
1188  *=*)
1189    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1190    # Reject names that are not valid shell variable names.
1191    case $ac_envvar in #(
1192      '' | [0-9]* | *[!_$as_cr_alnum]* )
1193      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1194    esac
1195    eval $ac_envvar=\$ac_optarg
1196    export $ac_envvar ;;
1197
1198  *)
1199    # FIXME: should be removed in autoconf 3.0.
1200    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204    ;;
1205
1206  esac
1207done
1208
1209if test -n "$ac_prev"; then
1210  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1211  as_fn_error $? "missing argument to $ac_option"
1212fi
1213
1214if test -n "$ac_unrecognized_opts"; then
1215  case $enable_option_checking in
1216    no) ;;
1217    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1218    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219  esac
1220fi
1221
1222# Check all directory arguments for consistency.
1223for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224		datadir sysconfdir sharedstatedir localstatedir includedir \
1225		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226		libdir localedir mandir
1227do
1228  eval ac_val=\$$ac_var
1229  # Remove trailing slashes.
1230  case $ac_val in
1231    */ )
1232      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233      eval $ac_var=\$ac_val;;
1234  esac
1235  # Be sure to have absolute directory names.
1236  case $ac_val in
1237    [\\/$]* | ?:[\\/]* )  continue;;
1238    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239  esac
1240  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1241done
1242
1243# There might be people who depend on the old broken behavior: `$host'
1244# used to hold the argument of --host etc.
1245# FIXME: To remove some day.
1246build=$build_alias
1247host=$host_alias
1248target=$target_alias
1249
1250# FIXME: To remove some day.
1251if test "x$host_alias" != x; then
1252  if test "x$build_alias" = x; then
1253    cross_compiling=maybe
1254    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1255    If a cross compiler is detected then cross compile mode will be used" >&2
1256  elif test "x$build_alias" != "x$host_alias"; then
1257    cross_compiling=yes
1258  fi
1259fi
1260
1261ac_tool_prefix=
1262test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263
1264test "$silent" = yes && exec 6>/dev/null
1265
1266
1267ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268ac_ls_di=`ls -di .` &&
1269ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270  as_fn_error $? "working directory cannot be determined"
1271test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272  as_fn_error $? "pwd does not report name of working directory"
1273
1274
1275# Find the source files, if location was not specified.
1276if test -z "$srcdir"; then
1277  ac_srcdir_defaulted=yes
1278  # Try the directory containing this script, then the parent directory.
1279  ac_confdir=`$as_dirname -- "$as_myself" ||
1280$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281	 X"$as_myself" : 'X\(//\)[^/]' \| \
1282	 X"$as_myself" : 'X\(//\)$' \| \
1283	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284$as_echo X"$as_myself" |
1285    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286	    s//\1/
1287	    q
1288	  }
1289	  /^X\(\/\/\)[^/].*/{
1290	    s//\1/
1291	    q
1292	  }
1293	  /^X\(\/\/\)$/{
1294	    s//\1/
1295	    q
1296	  }
1297	  /^X\(\/\).*/{
1298	    s//\1/
1299	    q
1300	  }
1301	  s/.*/./; q'`
1302  srcdir=$ac_confdir
1303  if test ! -r "$srcdir/$ac_unique_file"; then
1304    srcdir=..
1305  fi
1306else
1307  ac_srcdir_defaulted=no
1308fi
1309if test ! -r "$srcdir/$ac_unique_file"; then
1310  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312fi
1313ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314ac_abs_confdir=`(
1315	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316	pwd)`
1317# When building in place, set srcdir=.
1318if test "$ac_abs_confdir" = "$ac_pwd"; then
1319  srcdir=.
1320fi
1321# Remove unnecessary trailing slashes from srcdir.
1322# Double slashes in file names in object file debugging info
1323# mess up M-x gdb in Emacs.
1324case $srcdir in
1325*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326esac
1327for ac_var in $ac_precious_vars; do
1328  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329  eval ac_env_${ac_var}_value=\$${ac_var}
1330  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332done
1333
1334#
1335# Report the --help message.
1336#
1337if test "$ac_init_help" = "long"; then
1338  # Omit some internal or obsolete options to make the list less imposing.
1339  # This message is too long to be a string in the A/UX 3.1 sh.
1340  cat <<_ACEOF
1341\`configure' configures E-MailRelay 1.9 to adapt to many kinds of systems.
1342
1343Usage: $0 [OPTION]... [VAR=VALUE]...
1344
1345To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346VAR=VALUE.  See below for descriptions of some of the useful variables.
1347
1348Defaults for the options are specified in brackets.
1349
1350Configuration:
1351  -h, --help              display this help and exit
1352      --help=short        display options specific to this package
1353      --help=recursive    display the short help of all the included packages
1354  -V, --version           display version information and exit
1355  -q, --quiet, --silent   do not print \`checking ...' messages
1356      --cache-file=FILE   cache test results in FILE [disabled]
1357  -C, --config-cache      alias for \`--cache-file=config.cache'
1358  -n, --no-create         do not create output files
1359      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1360
1361Installation directories:
1362  --prefix=PREFIX         install architecture-independent files in PREFIX
1363                          [$ac_default_prefix]
1364  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1365                          [PREFIX]
1366
1367By default, \`make install' will install all the files in
1368\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1369an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370for instance \`--prefix=\$HOME'.
1371
1372For better control, use the options below.
1373
1374Fine tuning of the installation directories:
1375  --bindir=DIR            user executables [EPREFIX/bin]
1376  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1377  --libexecdir=DIR        program executables [EPREFIX/libexec]
1378  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1379  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1380  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1381  --libdir=DIR            object code libraries [EPREFIX/lib]
1382  --includedir=DIR        C header files [PREFIX/include]
1383  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1384  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1385  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1386  --infodir=DIR           info documentation [DATAROOTDIR/info]
1387  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1388  --mandir=DIR            man documentation [DATAROOTDIR/man]
1389  --docdir=DIR            documentation root [DATAROOTDIR/doc/emailrelay]
1390  --htmldir=DIR           html documentation [DOCDIR]
1391  --dvidir=DIR            dvi documentation [DOCDIR]
1392  --pdfdir=DIR            pdf documentation [DOCDIR]
1393  --psdir=DIR             ps documentation [DOCDIR]
1394_ACEOF
1395
1396  cat <<\_ACEOF
1397
1398Program names:
1399  --program-prefix=PREFIX            prepend PREFIX to installed program names
1400  --program-suffix=SUFFIX            append SUFFIX to installed program names
1401  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1402_ACEOF
1403fi
1404
1405if test -n "$ac_init_help"; then
1406  case $ac_init_help in
1407     short | recursive ) echo "Configuration of E-MailRelay 1.9:";;
1408   esac
1409  cat <<\_ACEOF
1410
1411Optional Features:
1412  --disable-option-checking  ignore unrecognized --enable/--with options
1413  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1414  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1415  --enable-maintainer-mode  enable make rules and dependencies not useful
1416			  (and sometimes confusing) to the casual installer
1417  --disable-dependency-tracking  speeds up one-time build
1418  --enable-dependency-tracking   do not reject slow dependency extractors
1419  --enable-debug          enable extra debug messages at compile-time (default
1420                          no)
1421  --enable-ipv6           enable ipv6 (default no)
1422  --enable-gui            enable configuration gui (requires Qt4) (default
1423                          auto)
1424  --enable-verbose        enable verbose logging (default yes)
1425  --enable-pop            enable pop3 server protocol (default yes)
1426  --enable-exec           enable running of external programs (disable-exec
1427                          requires disable-gui) (default yes)
1428  --enable-admin          enable admin interface (default yes)
1429  --enable-auth           enable authentication (disable-auth requires
1430                          disable-pop) (default yes)
1431  --enable-dns            enable dns lookup (default yes)
1432  --enable-identity       enable process userid switching (default yes)
1433  --enable-small-config   enable simplified confuration code for smaller
1434                          binaries (rtfm) (default no)
1435  --enable-small-exceptions
1436                          optimise exception classes for smaller binaries
1437                          (default no)
1438  --enable-proxy          enable proxying (default yes)
1439  --enable-mac            enable building for a mac os x target (default auto)
1440  --enable-testing        enable make-check tests (default yes)
1441  --enable-static-linking prefer static linking for some libraries (default
1442                          no)
1443  --enable-install-hook   enable fixing up the start/stop configuration file
1444                          at install time (default yes)
1445
1446Optional Packages:
1447  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1448  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1449  --with-zlib             use zlib for compressed installation packages
1450                          (default auto)
1451  --with-doxygen          generate source code documentation with doxygen
1452                          (default auto)
1453  --with-man2html         convert man pages to html using man2html (default
1454                          auto)
1455  --with-openssl          use openssl for tls/ssl encryption (default auto)
1456  --with-glob             use glob() for reading directories (default auto)
1457  --with-pam              use linux pam for authentication (default auto)
1458
1459Some influential environment variables:
1460  CC          C compiler command
1461  CFLAGS      C compiler flags
1462  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1463              nonstandard directory <lib dir>
1464  LIBS        libraries to pass to the linker, e.g. -l<library>
1465  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1466              you have headers in a nonstandard directory <include dir>
1467  CXX         C++ compiler command
1468  CXXFLAGS    C++ compiler flags
1469  CPP         C preprocessor
1470  PKG_CONFIG  path to pkg-config utility
1471  PKG_CONFIG_PATH
1472              directories to add to pkg-config's search path
1473  PKG_CONFIG_LIBDIR
1474              path overriding pkg-config's built-in search path
1475  QT_CFLAGS   C compiler flags for QT, overriding pkg-config
1476  QT_LIBS     linker flags for QT, overriding pkg-config
1477
1478Use these variables to override the choices made by `configure' or to help
1479it to find libraries and programs with nonstandard names/locations.
1480
1481Report bugs to the package provider.
1482_ACEOF
1483ac_status=$?
1484fi
1485
1486if test "$ac_init_help" = "recursive"; then
1487  # If there are subdirs, report their specific --help.
1488  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489    test -d "$ac_dir" ||
1490      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491      continue
1492    ac_builddir=.
1493
1494case "$ac_dir" in
1495.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496*)
1497  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498  # A ".." for each directory in $ac_dir_suffix.
1499  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500  case $ac_top_builddir_sub in
1501  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503  esac ;;
1504esac
1505ac_abs_top_builddir=$ac_pwd
1506ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507# for backward compatibility:
1508ac_top_builddir=$ac_top_build_prefix
1509
1510case $srcdir in
1511  .)  # We are building in place.
1512    ac_srcdir=.
1513    ac_top_srcdir=$ac_top_builddir_sub
1514    ac_abs_top_srcdir=$ac_pwd ;;
1515  [\\/]* | ?:[\\/]* )  # Absolute name.
1516    ac_srcdir=$srcdir$ac_dir_suffix;
1517    ac_top_srcdir=$srcdir
1518    ac_abs_top_srcdir=$srcdir ;;
1519  *) # Relative name.
1520    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521    ac_top_srcdir=$ac_top_build_prefix$srcdir
1522    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1523esac
1524ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1525
1526    cd "$ac_dir" || { ac_status=$?; continue; }
1527    # Check for guested configure.
1528    if test -f "$ac_srcdir/configure.gnu"; then
1529      echo &&
1530      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531    elif test -f "$ac_srcdir/configure"; then
1532      echo &&
1533      $SHELL "$ac_srcdir/configure" --help=recursive
1534    else
1535      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536    fi || ac_status=$?
1537    cd "$ac_pwd" || { ac_status=$?; break; }
1538  done
1539fi
1540
1541test -n "$ac_init_help" && exit $ac_status
1542if $ac_init_version; then
1543  cat <<\_ACEOF
1544E-MailRelay configure 1.9
1545generated by GNU Autoconf 2.68
1546
1547Copyright (C) 2010 Free Software Foundation, Inc.
1548This configure script is free software; the Free Software Foundation
1549gives unlimited permission to copy, distribute and modify it.
1550_ACEOF
1551  exit
1552fi
1553
1554## ------------------------ ##
1555## Autoconf initialization. ##
1556## ------------------------ ##
1557
1558# ac_fn_c_try_compile LINENO
1559# --------------------------
1560# Try to compile conftest.$ac_ext, and return whether this succeeded.
1561ac_fn_c_try_compile ()
1562{
1563  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564  rm -f conftest.$ac_objext
1565  if { { ac_try="$ac_compile"
1566case "(($ac_try" in
1567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568  *) ac_try_echo=$ac_try;;
1569esac
1570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571$as_echo "$ac_try_echo"; } >&5
1572  (eval "$ac_compile") 2>conftest.err
1573  ac_status=$?
1574  if test -s conftest.err; then
1575    grep -v '^ *+' conftest.err >conftest.er1
1576    cat conftest.er1 >&5
1577    mv -f conftest.er1 conftest.err
1578  fi
1579  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580  test $ac_status = 0; } && {
1581	 test -z "$ac_c_werror_flag" ||
1582	 test ! -s conftest.err
1583       } && test -s conftest.$ac_objext; then :
1584  ac_retval=0
1585else
1586  $as_echo "$as_me: failed program was:" >&5
1587sed 's/^/| /' conftest.$ac_ext >&5
1588
1589	ac_retval=1
1590fi
1591  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592  as_fn_set_status $ac_retval
1593
1594} # ac_fn_c_try_compile
1595
1596# ac_fn_cxx_try_compile LINENO
1597# ----------------------------
1598# Try to compile conftest.$ac_ext, and return whether this succeeded.
1599ac_fn_cxx_try_compile ()
1600{
1601  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602  rm -f conftest.$ac_objext
1603  if { { ac_try="$ac_compile"
1604case "(($ac_try" in
1605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606  *) ac_try_echo=$ac_try;;
1607esac
1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609$as_echo "$ac_try_echo"; } >&5
1610  (eval "$ac_compile") 2>conftest.err
1611  ac_status=$?
1612  if test -s conftest.err; then
1613    grep -v '^ *+' conftest.err >conftest.er1
1614    cat conftest.er1 >&5
1615    mv -f conftest.er1 conftest.err
1616  fi
1617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618  test $ac_status = 0; } && {
1619	 test -z "$ac_cxx_werror_flag" ||
1620	 test ! -s conftest.err
1621       } && test -s conftest.$ac_objext; then :
1622  ac_retval=0
1623else
1624  $as_echo "$as_me: failed program was:" >&5
1625sed 's/^/| /' conftest.$ac_ext >&5
1626
1627	ac_retval=1
1628fi
1629  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630  as_fn_set_status $ac_retval
1631
1632} # ac_fn_cxx_try_compile
1633
1634# ac_fn_c_try_link LINENO
1635# -----------------------
1636# Try to link conftest.$ac_ext, and return whether this succeeded.
1637ac_fn_c_try_link ()
1638{
1639  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640  rm -f conftest.$ac_objext conftest$ac_exeext
1641  if { { ac_try="$ac_link"
1642case "(($ac_try" in
1643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644  *) ac_try_echo=$ac_try;;
1645esac
1646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647$as_echo "$ac_try_echo"; } >&5
1648  (eval "$ac_link") 2>conftest.err
1649  ac_status=$?
1650  if test -s conftest.err; then
1651    grep -v '^ *+' conftest.err >conftest.er1
1652    cat conftest.er1 >&5
1653    mv -f conftest.er1 conftest.err
1654  fi
1655  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656  test $ac_status = 0; } && {
1657	 test -z "$ac_c_werror_flag" ||
1658	 test ! -s conftest.err
1659       } && test -s conftest$ac_exeext && {
1660	 test "$cross_compiling" = yes ||
1661	 $as_test_x conftest$ac_exeext
1662       }; then :
1663  ac_retval=0
1664else
1665  $as_echo "$as_me: failed program was:" >&5
1666sed 's/^/| /' conftest.$ac_ext >&5
1667
1668	ac_retval=1
1669fi
1670  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672  # interfere with the next link command; also delete a directory that is
1673  # left behind by Apple's compiler.  We do this before executing the actions.
1674  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676  as_fn_set_status $ac_retval
1677
1678} # ac_fn_c_try_link
1679
1680# ac_fn_c_try_cpp LINENO
1681# ----------------------
1682# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1683ac_fn_c_try_cpp ()
1684{
1685  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686  if { { ac_try="$ac_cpp conftest.$ac_ext"
1687case "(($ac_try" in
1688  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689  *) ac_try_echo=$ac_try;;
1690esac
1691eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692$as_echo "$ac_try_echo"; } >&5
1693  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1694  ac_status=$?
1695  if test -s conftest.err; then
1696    grep -v '^ *+' conftest.err >conftest.er1
1697    cat conftest.er1 >&5
1698    mv -f conftest.er1 conftest.err
1699  fi
1700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701  test $ac_status = 0; } > conftest.i && {
1702	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1703	 test ! -s conftest.err
1704       }; then :
1705  ac_retval=0
1706else
1707  $as_echo "$as_me: failed program was:" >&5
1708sed 's/^/| /' conftest.$ac_ext >&5
1709
1710    ac_retval=1
1711fi
1712  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713  as_fn_set_status $ac_retval
1714
1715} # ac_fn_c_try_cpp
1716
1717# ac_fn_c_try_run LINENO
1718# ----------------------
1719# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1720# that executables *can* be run.
1721ac_fn_c_try_run ()
1722{
1723  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724  if { { ac_try="$ac_link"
1725case "(($ac_try" in
1726  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727  *) ac_try_echo=$ac_try;;
1728esac
1729eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730$as_echo "$ac_try_echo"; } >&5
1731  (eval "$ac_link") 2>&5
1732  ac_status=$?
1733  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1735  { { case "(($ac_try" in
1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737  *) ac_try_echo=$ac_try;;
1738esac
1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740$as_echo "$ac_try_echo"; } >&5
1741  (eval "$ac_try") 2>&5
1742  ac_status=$?
1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744  test $ac_status = 0; }; }; then :
1745  ac_retval=0
1746else
1747  $as_echo "$as_me: program exited with status $ac_status" >&5
1748       $as_echo "$as_me: failed program was:" >&5
1749sed 's/^/| /' conftest.$ac_ext >&5
1750
1751       ac_retval=$ac_status
1752fi
1753  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755  as_fn_set_status $ac_retval
1756
1757} # ac_fn_c_try_run
1758
1759# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1760# -------------------------------------------------------
1761# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1762# the include files in INCLUDES and setting the cache variable VAR
1763# accordingly.
1764ac_fn_c_check_header_mongrel ()
1765{
1766  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767  if eval \${$3+:} false; then :
1768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769$as_echo_n "checking for $2... " >&6; }
1770if eval \${$3+:} false; then :
1771  $as_echo_n "(cached) " >&6
1772fi
1773eval ac_res=\$$3
1774	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775$as_echo "$ac_res" >&6; }
1776else
1777  # Is the header compilable?
1778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1779$as_echo_n "checking $2 usability... " >&6; }
1780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781/* end confdefs.h.  */
1782$4
1783#include <$2>
1784_ACEOF
1785if ac_fn_c_try_compile "$LINENO"; then :
1786  ac_header_compiler=yes
1787else
1788  ac_header_compiler=no
1789fi
1790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1792$as_echo "$ac_header_compiler" >&6; }
1793
1794# Is the header present?
1795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1796$as_echo_n "checking $2 presence... " >&6; }
1797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798/* end confdefs.h.  */
1799#include <$2>
1800_ACEOF
1801if ac_fn_c_try_cpp "$LINENO"; then :
1802  ac_header_preproc=yes
1803else
1804  ac_header_preproc=no
1805fi
1806rm -f conftest.err conftest.i conftest.$ac_ext
1807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1808$as_echo "$ac_header_preproc" >&6; }
1809
1810# So?  What about this header?
1811case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1812  yes:no: )
1813    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1814$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1815    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1816$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1817    ;;
1818  no:yes:* )
1819    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1820$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1821    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1822$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1823    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1824$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1825    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1826$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1827    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1828$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829    ;;
1830esac
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832$as_echo_n "checking for $2... " >&6; }
1833if eval \${$3+:} false; then :
1834  $as_echo_n "(cached) " >&6
1835else
1836  eval "$3=\$ac_header_compiler"
1837fi
1838eval ac_res=\$$3
1839	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840$as_echo "$ac_res" >&6; }
1841fi
1842  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843
1844} # ac_fn_c_check_header_mongrel
1845
1846# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847# -------------------------------------------------------
1848# Tests whether HEADER exists and can be compiled using the include files in
1849# INCLUDES, setting the cache variable VAR accordingly.
1850ac_fn_c_check_header_compile ()
1851{
1852  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854$as_echo_n "checking for $2... " >&6; }
1855if eval \${$3+:} false; then :
1856  $as_echo_n "(cached) " >&6
1857else
1858  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859/* end confdefs.h.  */
1860$4
1861#include <$2>
1862_ACEOF
1863if ac_fn_c_try_compile "$LINENO"; then :
1864  eval "$3=yes"
1865else
1866  eval "$3=no"
1867fi
1868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869fi
1870eval ac_res=\$$3
1871	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872$as_echo "$ac_res" >&6; }
1873  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875} # ac_fn_c_check_header_compile
1876
1877# ac_fn_c_check_func LINENO FUNC VAR
1878# ----------------------------------
1879# Tests whether FUNC exists, setting the cache variable VAR accordingly
1880ac_fn_c_check_func ()
1881{
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884$as_echo_n "checking for $2... " >&6; }
1885if eval \${$3+:} false; then :
1886  $as_echo_n "(cached) " >&6
1887else
1888  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889/* end confdefs.h.  */
1890/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1892#define $2 innocuous_$2
1893
1894/* System header to define __stub macros and hopefully few prototypes,
1895    which can conflict with char $2 (); below.
1896    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897    <limits.h> exists even on freestanding compilers.  */
1898
1899#ifdef __STDC__
1900# include <limits.h>
1901#else
1902# include <assert.h>
1903#endif
1904
1905#undef $2
1906
1907/* Override any GCC internal prototype to avoid an error.
1908   Use char because int might match the return type of a GCC
1909   builtin and then its argument prototype would still apply.  */
1910#ifdef __cplusplus
1911extern "C"
1912#endif
1913char $2 ();
1914/* The GNU C library defines this for functions which it implements
1915    to always fail with ENOSYS.  Some functions are actually named
1916    something starting with __ and the normal name is an alias.  */
1917#if defined __stub_$2 || defined __stub___$2
1918choke me
1919#endif
1920
1921int
1922main ()
1923{
1924return $2 ();
1925  ;
1926  return 0;
1927}
1928_ACEOF
1929if ac_fn_c_try_link "$LINENO"; then :
1930  eval "$3=yes"
1931else
1932  eval "$3=no"
1933fi
1934rm -f core conftest.err conftest.$ac_objext \
1935    conftest$ac_exeext conftest.$ac_ext
1936fi
1937eval ac_res=\$$3
1938	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939$as_echo "$ac_res" >&6; }
1940  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941
1942} # ac_fn_c_check_func
1943cat >config.log <<_ACEOF
1944This file contains any messages produced by compilers while
1945running configure, to aid debugging if configure makes a mistake.
1946
1947It was created by E-MailRelay $as_me 1.9, which was
1948generated by GNU Autoconf 2.68.  Invocation command line was
1949
1950  $ $0 $@
1951
1952_ACEOF
1953exec 5>>config.log
1954{
1955cat <<_ASUNAME
1956## --------- ##
1957## Platform. ##
1958## --------- ##
1959
1960hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1961uname -m = `(uname -m) 2>/dev/null || echo unknown`
1962uname -r = `(uname -r) 2>/dev/null || echo unknown`
1963uname -s = `(uname -s) 2>/dev/null || echo unknown`
1964uname -v = `(uname -v) 2>/dev/null || echo unknown`
1965
1966/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1967/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1968
1969/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1970/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1971/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1972/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1973/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1974/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1975/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1976
1977_ASUNAME
1978
1979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980for as_dir in $PATH
1981do
1982  IFS=$as_save_IFS
1983  test -z "$as_dir" && as_dir=.
1984    $as_echo "PATH: $as_dir"
1985  done
1986IFS=$as_save_IFS
1987
1988} >&5
1989
1990cat >&5 <<_ACEOF
1991
1992
1993## ----------- ##
1994## Core tests. ##
1995## ----------- ##
1996
1997_ACEOF
1998
1999
2000# Keep a trace of the command line.
2001# Strip out --no-create and --no-recursion so they do not pile up.
2002# Strip out --silent because we don't want to record it for future runs.
2003# Also quote any args containing shell meta-characters.
2004# Make two passes to allow for proper duplicate-argument suppression.
2005ac_configure_args=
2006ac_configure_args0=
2007ac_configure_args1=
2008ac_must_keep_next=false
2009for ac_pass in 1 2
2010do
2011  for ac_arg
2012  do
2013    case $ac_arg in
2014    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2015    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2016    | -silent | --silent | --silen | --sile | --sil)
2017      continue ;;
2018    *\'*)
2019      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020    esac
2021    case $ac_pass in
2022    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2023    2)
2024      as_fn_append ac_configure_args1 " '$ac_arg'"
2025      if test $ac_must_keep_next = true; then
2026	ac_must_keep_next=false # Got value, back to normal.
2027      else
2028	case $ac_arg in
2029	  *=* | --config-cache | -C | -disable-* | --disable-* \
2030	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2031	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2032	  | -with-* | --with-* | -without-* | --without-* | --x)
2033	    case "$ac_configure_args0 " in
2034	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2035	    esac
2036	    ;;
2037	  -* ) ac_must_keep_next=true ;;
2038	esac
2039      fi
2040      as_fn_append ac_configure_args " '$ac_arg'"
2041      ;;
2042    esac
2043  done
2044done
2045{ ac_configure_args0=; unset ac_configure_args0;}
2046{ ac_configure_args1=; unset ac_configure_args1;}
2047
2048# When interrupted or exit'd, cleanup temporary files, and complete
2049# config.log.  We remove comments because anyway the quotes in there
2050# would cause problems or look ugly.
2051# WARNING: Use '\'' to represent an apostrophe within the trap.
2052# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2053trap 'exit_status=$?
2054  # Save into config.log some information that might help in debugging.
2055  {
2056    echo
2057
2058    $as_echo "## ---------------- ##
2059## Cache variables. ##
2060## ---------------- ##"
2061    echo
2062    # The following way of writing the cache mishandles newlines in values,
2063(
2064  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2065    eval ac_val=\$$ac_var
2066    case $ac_val in #(
2067    *${as_nl}*)
2068      case $ac_var in #(
2069      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2070$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2071      esac
2072      case $ac_var in #(
2073      _ | IFS | as_nl) ;; #(
2074      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2075      *) { eval $ac_var=; unset $ac_var;} ;;
2076      esac ;;
2077    esac
2078  done
2079  (set) 2>&1 |
2080    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2081    *${as_nl}ac_space=\ *)
2082      sed -n \
2083	"s/'\''/'\''\\\\'\'''\''/g;
2084	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2085      ;; #(
2086    *)
2087      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088      ;;
2089    esac |
2090    sort
2091)
2092    echo
2093
2094    $as_echo "## ----------------- ##
2095## Output variables. ##
2096## ----------------- ##"
2097    echo
2098    for ac_var in $ac_subst_vars
2099    do
2100      eval ac_val=\$$ac_var
2101      case $ac_val in
2102      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2103      esac
2104      $as_echo "$ac_var='\''$ac_val'\''"
2105    done | sort
2106    echo
2107
2108    if test -n "$ac_subst_files"; then
2109      $as_echo "## ------------------- ##
2110## File substitutions. ##
2111## ------------------- ##"
2112      echo
2113      for ac_var in $ac_subst_files
2114      do
2115	eval ac_val=\$$ac_var
2116	case $ac_val in
2117	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2118	esac
2119	$as_echo "$ac_var='\''$ac_val'\''"
2120      done | sort
2121      echo
2122    fi
2123
2124    if test -s confdefs.h; then
2125      $as_echo "## ----------- ##
2126## confdefs.h. ##
2127## ----------- ##"
2128      echo
2129      cat confdefs.h
2130      echo
2131    fi
2132    test "$ac_signal" != 0 &&
2133      $as_echo "$as_me: caught signal $ac_signal"
2134    $as_echo "$as_me: exit $exit_status"
2135  } >&5
2136  rm -f core *.core core.conftest.* &&
2137    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138    exit $exit_status
2139' 0
2140for ac_signal in 1 2 13 15; do
2141  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2142done
2143ac_signal=0
2144
2145# confdefs.h avoids OS command line length limits that DEFS can exceed.
2146rm -f -r conftest* confdefs.h
2147
2148$as_echo "/* confdefs.h */" > confdefs.h
2149
2150# Predefined preprocessor variables.
2151
2152cat >>confdefs.h <<_ACEOF
2153#define PACKAGE_NAME "$PACKAGE_NAME"
2154_ACEOF
2155
2156cat >>confdefs.h <<_ACEOF
2157#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158_ACEOF
2159
2160cat >>confdefs.h <<_ACEOF
2161#define PACKAGE_VERSION "$PACKAGE_VERSION"
2162_ACEOF
2163
2164cat >>confdefs.h <<_ACEOF
2165#define PACKAGE_STRING "$PACKAGE_STRING"
2166_ACEOF
2167
2168cat >>confdefs.h <<_ACEOF
2169#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170_ACEOF
2171
2172cat >>confdefs.h <<_ACEOF
2173#define PACKAGE_URL "$PACKAGE_URL"
2174_ACEOF
2175
2176
2177# Let the site file select an alternate cache file if it wants to.
2178# Prefer an explicitly selected file to automatically selected ones.
2179ac_site_file1=NONE
2180ac_site_file2=NONE
2181if test -n "$CONFIG_SITE"; then
2182  # We do not want a PATH search for config.site.
2183  case $CONFIG_SITE in #((
2184    -*)  ac_site_file1=./$CONFIG_SITE;;
2185    */*) ac_site_file1=$CONFIG_SITE;;
2186    *)   ac_site_file1=./$CONFIG_SITE;;
2187  esac
2188elif test "x$prefix" != xNONE; then
2189  ac_site_file1=$prefix/share/config.site
2190  ac_site_file2=$prefix/etc/config.site
2191else
2192  ac_site_file1=$ac_default_prefix/share/config.site
2193  ac_site_file2=$ac_default_prefix/etc/config.site
2194fi
2195for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2196do
2197  test "x$ac_site_file" = xNONE && continue
2198  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2199    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2200$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2201    sed 's/^/| /' "$ac_site_file" >&5
2202    . "$ac_site_file" \
2203      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2205as_fn_error $? "failed to load site script $ac_site_file
2206See \`config.log' for more details" "$LINENO" 5; }
2207  fi
2208done
2209
2210if test -r "$cache_file"; then
2211  # Some versions of bash will fail to source /dev/null (special files
2212  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2213  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2214    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2215$as_echo "$as_me: loading cache $cache_file" >&6;}
2216    case $cache_file in
2217      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2218      *)                      . "./$cache_file";;
2219    esac
2220  fi
2221else
2222  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2223$as_echo "$as_me: creating cache $cache_file" >&6;}
2224  >$cache_file
2225fi
2226
2227# Check that the precious variables saved in the cache have kept the same
2228# value.
2229ac_cache_corrupted=false
2230for ac_var in $ac_precious_vars; do
2231  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2232  eval ac_new_set=\$ac_env_${ac_var}_set
2233  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2234  eval ac_new_val=\$ac_env_${ac_var}_value
2235  case $ac_old_set,$ac_new_set in
2236    set,)
2237      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2238$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2239      ac_cache_corrupted=: ;;
2240    ,set)
2241      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2242$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2243      ac_cache_corrupted=: ;;
2244    ,);;
2245    *)
2246      if test "x$ac_old_val" != "x$ac_new_val"; then
2247	# differences in whitespace do not lead to failure.
2248	ac_old_val_w=`echo x $ac_old_val`
2249	ac_new_val_w=`echo x $ac_new_val`
2250	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2251	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2252$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2253	  ac_cache_corrupted=:
2254	else
2255	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2256$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2257	  eval $ac_var=\$ac_old_val
2258	fi
2259	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2260$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2261	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2262$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2263      fi;;
2264  esac
2265  # Pass precious variables to config.status.
2266  if test "$ac_new_set" = set; then
2267    case $ac_new_val in
2268    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2269    *) ac_arg=$ac_var=$ac_new_val ;;
2270    esac
2271    case " $ac_configure_args " in
2272      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2273      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2274    esac
2275  fi
2276done
2277if $ac_cache_corrupted; then
2278  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2281$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2282  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2283fi
2284## -------------------- ##
2285## Main body of script. ##
2286## -------------------- ##
2287
2288ac_ext=c
2289ac_cpp='$CPP $CPPFLAGS'
2290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2292ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293
2294
2295
2296am__api_version='1.11'
2297
2298ac_aux_dir=
2299for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2300  if test -f "$ac_dir/install-sh"; then
2301    ac_aux_dir=$ac_dir
2302    ac_install_sh="$ac_aux_dir/install-sh -c"
2303    break
2304  elif test -f "$ac_dir/install.sh"; then
2305    ac_aux_dir=$ac_dir
2306    ac_install_sh="$ac_aux_dir/install.sh -c"
2307    break
2308  elif test -f "$ac_dir/shtool"; then
2309    ac_aux_dir=$ac_dir
2310    ac_install_sh="$ac_aux_dir/shtool install -c"
2311    break
2312  fi
2313done
2314if test -z "$ac_aux_dir"; then
2315  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2316fi
2317
2318# These three variables are undocumented and unsupported,
2319# and are intended to be withdrawn in a future Autoconf release.
2320# They can cause serious problems if a builder's source tree is in a directory
2321# whose full name contains unusual characters.
2322ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2323ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2324ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2325
2326
2327# Find a good install program.  We prefer a C program (faster),
2328# so one script is as good as another.  But avoid the broken or
2329# incompatible versions:
2330# SysV /etc/install, /usr/sbin/install
2331# SunOS /usr/etc/install
2332# IRIX /sbin/install
2333# AIX /bin/install
2334# AmigaOS /C/install, which installs bootblocks on floppy discs
2335# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2336# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2337# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2338# OS/2's system install, which has a completely different semantic
2339# ./install, which can be erroneously created by make from ./install.sh.
2340# Reject install programs that cannot install multiple files.
2341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2342$as_echo_n "checking for a BSD-compatible install... " >&6; }
2343if test -z "$INSTALL"; then
2344if ${ac_cv_path_install+:} false; then :
2345  $as_echo_n "(cached) " >&6
2346else
2347  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348for as_dir in $PATH
2349do
2350  IFS=$as_save_IFS
2351  test -z "$as_dir" && as_dir=.
2352    # Account for people who put trailing slashes in PATH elements.
2353case $as_dir/ in #((
2354  ./ | .// | /[cC]/* | \
2355  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2356  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2357  /usr/ucb/* ) ;;
2358  *)
2359    # OSF1 and SCO ODT 3.0 have their own names for install.
2360    # Don't use installbsd from OSF since it installs stuff as root
2361    # by default.
2362    for ac_prog in ginstall scoinst install; do
2363      for ac_exec_ext in '' $ac_executable_extensions; do
2364	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2365	  if test $ac_prog = install &&
2366	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2367	    # AIX install.  It has an incompatible calling convention.
2368	    :
2369	  elif test $ac_prog = install &&
2370	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2371	    # program-specific install script used by HP pwplus--don't use.
2372	    :
2373	  else
2374	    rm -rf conftest.one conftest.two conftest.dir
2375	    echo one > conftest.one
2376	    echo two > conftest.two
2377	    mkdir conftest.dir
2378	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2379	      test -s conftest.one && test -s conftest.two &&
2380	      test -s conftest.dir/conftest.one &&
2381	      test -s conftest.dir/conftest.two
2382	    then
2383	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2384	      break 3
2385	    fi
2386	  fi
2387	fi
2388      done
2389    done
2390    ;;
2391esac
2392
2393  done
2394IFS=$as_save_IFS
2395
2396rm -rf conftest.one conftest.two conftest.dir
2397
2398fi
2399  if test "${ac_cv_path_install+set}" = set; then
2400    INSTALL=$ac_cv_path_install
2401  else
2402    # As a last resort, use the slow shell script.  Don't cache a
2403    # value for INSTALL within a source directory, because that will
2404    # break other packages using the cache if that directory is
2405    # removed, or if the value is a relative name.
2406    INSTALL=$ac_install_sh
2407  fi
2408fi
2409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2410$as_echo "$INSTALL" >&6; }
2411
2412# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2413# It thinks the first close brace ends the variable substitution.
2414test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2415
2416test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2417
2418test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2419
2420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2421$as_echo_n "checking whether build environment is sane... " >&6; }
2422# Just in case
2423sleep 1
2424echo timestamp > conftest.file
2425# Reject unsafe characters in $srcdir or the absolute working directory
2426# name.  Accept space and tab only in the latter.
2427am_lf='
2428'
2429case `pwd` in
2430  *[\\\"\#\$\&\'\`$am_lf]*)
2431    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2432esac
2433case $srcdir in
2434  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2435    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2436esac
2437
2438# Do `set' in a subshell so we don't clobber the current shell's
2439# arguments.  Must try -L first in case configure is actually a
2440# symlink; some systems play weird games with the mod time of symlinks
2441# (eg FreeBSD returns the mod time of the symlink's containing
2442# directory).
2443if (
2444   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2445   if test "$*" = "X"; then
2446      # -L didn't work.
2447      set X `ls -t "$srcdir/configure" conftest.file`
2448   fi
2449   rm -f conftest.file
2450   if test "$*" != "X $srcdir/configure conftest.file" \
2451      && test "$*" != "X conftest.file $srcdir/configure"; then
2452
2453      # If neither matched, then we have a broken ls.  This can happen
2454      # if, for instance, CONFIG_SHELL is bash and it inherits a
2455      # broken ls alias from the environment.  This has actually
2456      # happened.  Such a system could not be considered "sane".
2457      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2458alias in your environment" "$LINENO" 5
2459   fi
2460
2461   test "$2" = conftest.file
2462   )
2463then
2464   # Ok.
2465   :
2466else
2467   as_fn_error $? "newly created file is older than distributed files!
2468Check your system clock" "$LINENO" 5
2469fi
2470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2471$as_echo "yes" >&6; }
2472test "$program_prefix" != NONE &&
2473  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2474# Use a double $ so make ignores it.
2475test "$program_suffix" != NONE &&
2476  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2477# Double any \ or $.
2478# By default was `s,x,x', remove it if useless.
2479ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2480program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2481
2482# expand $ac_aux_dir to an absolute path
2483am_aux_dir=`cd $ac_aux_dir && pwd`
2484
2485if test x"${MISSING+set}" != xset; then
2486  case $am_aux_dir in
2487  *\ * | *\	*)
2488    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2489  *)
2490    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2491  esac
2492fi
2493# Use eval to expand $SHELL
2494if eval "$MISSING --run true"; then
2495  am_missing_run="$MISSING --run "
2496else
2497  am_missing_run=
2498  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2499$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2500fi
2501
2502if test x"${install_sh}" != xset; then
2503  case $am_aux_dir in
2504  *\ * | *\	*)
2505    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2506  *)
2507    install_sh="\${SHELL} $am_aux_dir/install-sh"
2508  esac
2509fi
2510
2511# Installed binaries are usually stripped using `strip' when the user
2512# run `make install-strip'.  However `strip' might not be the right
2513# tool to use in cross-compilation environments, therefore Automake
2514# will honor the `STRIP' environment variable to overrule this program.
2515if test "$cross_compiling" != no; then
2516  if test -n "$ac_tool_prefix"; then
2517  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2518set dummy ${ac_tool_prefix}strip; ac_word=$2
2519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520$as_echo_n "checking for $ac_word... " >&6; }
2521if ${ac_cv_prog_STRIP+:} false; then :
2522  $as_echo_n "(cached) " >&6
2523else
2524  if test -n "$STRIP"; then
2525  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2526else
2527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528for as_dir in $PATH
2529do
2530  IFS=$as_save_IFS
2531  test -z "$as_dir" && as_dir=.
2532    for ac_exec_ext in '' $ac_executable_extensions; do
2533  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536    break 2
2537  fi
2538done
2539  done
2540IFS=$as_save_IFS
2541
2542fi
2543fi
2544STRIP=$ac_cv_prog_STRIP
2545if test -n "$STRIP"; then
2546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2547$as_echo "$STRIP" >&6; }
2548else
2549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550$as_echo "no" >&6; }
2551fi
2552
2553
2554fi
2555if test -z "$ac_cv_prog_STRIP"; then
2556  ac_ct_STRIP=$STRIP
2557  # Extract the first word of "strip", so it can be a program name with args.
2558set dummy strip; ac_word=$2
2559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560$as_echo_n "checking for $ac_word... " >&6; }
2561if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2562  $as_echo_n "(cached) " >&6
2563else
2564  if test -n "$ac_ct_STRIP"; then
2565  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2566else
2567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568for as_dir in $PATH
2569do
2570  IFS=$as_save_IFS
2571  test -z "$as_dir" && as_dir=.
2572    for ac_exec_ext in '' $ac_executable_extensions; do
2573  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574    ac_cv_prog_ac_ct_STRIP="strip"
2575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576    break 2
2577  fi
2578done
2579  done
2580IFS=$as_save_IFS
2581
2582fi
2583fi
2584ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2585if test -n "$ac_ct_STRIP"; then
2586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2587$as_echo "$ac_ct_STRIP" >&6; }
2588else
2589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590$as_echo "no" >&6; }
2591fi
2592
2593  if test "x$ac_ct_STRIP" = x; then
2594    STRIP=":"
2595  else
2596    case $cross_compiling:$ac_tool_warned in
2597yes:)
2598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2600ac_tool_warned=yes ;;
2601esac
2602    STRIP=$ac_ct_STRIP
2603  fi
2604else
2605  STRIP="$ac_cv_prog_STRIP"
2606fi
2607
2608fi
2609INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2610
2611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2612$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2613if test -z "$MKDIR_P"; then
2614  if ${ac_cv_path_mkdir+:} false; then :
2615  $as_echo_n "(cached) " >&6
2616else
2617  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2619do
2620  IFS=$as_save_IFS
2621  test -z "$as_dir" && as_dir=.
2622    for ac_prog in mkdir gmkdir; do
2623	 for ac_exec_ext in '' $ac_executable_extensions; do
2624	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2625	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2626	     'mkdir (GNU coreutils) '* | \
2627	     'mkdir (coreutils) '* | \
2628	     'mkdir (fileutils) '4.1*)
2629	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2630	       break 3;;
2631	   esac
2632	 done
2633       done
2634  done
2635IFS=$as_save_IFS
2636
2637fi
2638
2639  test -d ./--version && rmdir ./--version
2640  if test "${ac_cv_path_mkdir+set}" = set; then
2641    MKDIR_P="$ac_cv_path_mkdir -p"
2642  else
2643    # As a last resort, use the slow shell script.  Don't cache a
2644    # value for MKDIR_P within a source directory, because that will
2645    # break other packages using the cache if that directory is
2646    # removed, or if the value is a relative name.
2647    MKDIR_P="$ac_install_sh -d"
2648  fi
2649fi
2650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2651$as_echo "$MKDIR_P" >&6; }
2652
2653mkdir_p="$MKDIR_P"
2654case $mkdir_p in
2655  [\\/$]* | ?:[\\/]*) ;;
2656  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2657esac
2658
2659for ac_prog in gawk mawk nawk awk
2660do
2661  # Extract the first word of "$ac_prog", so it can be a program name with args.
2662set dummy $ac_prog; ac_word=$2
2663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664$as_echo_n "checking for $ac_word... " >&6; }
2665if ${ac_cv_prog_AWK+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  if test -n "$AWK"; then
2669  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2670else
2671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672for as_dir in $PATH
2673do
2674  IFS=$as_save_IFS
2675  test -z "$as_dir" && as_dir=.
2676    for ac_exec_ext in '' $ac_executable_extensions; do
2677  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678    ac_cv_prog_AWK="$ac_prog"
2679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680    break 2
2681  fi
2682done
2683  done
2684IFS=$as_save_IFS
2685
2686fi
2687fi
2688AWK=$ac_cv_prog_AWK
2689if test -n "$AWK"; then
2690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2691$as_echo "$AWK" >&6; }
2692else
2693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694$as_echo "no" >&6; }
2695fi
2696
2697
2698  test -n "$AWK" && break
2699done
2700
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2702$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2703set x ${MAKE-make}
2704ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2705if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2706  $as_echo_n "(cached) " >&6
2707else
2708  cat >conftest.make <<\_ACEOF
2709SHELL = /bin/sh
2710all:
2711	@echo '@@@%%%=$(MAKE)=@@@%%%'
2712_ACEOF
2713# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2714case `${MAKE-make} -f conftest.make 2>/dev/null` in
2715  *@@@%%%=?*=@@@%%%*)
2716    eval ac_cv_prog_make_${ac_make}_set=yes;;
2717  *)
2718    eval ac_cv_prog_make_${ac_make}_set=no;;
2719esac
2720rm -f conftest.make
2721fi
2722if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724$as_echo "yes" >&6; }
2725  SET_MAKE=
2726else
2727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728$as_echo "no" >&6; }
2729  SET_MAKE="MAKE=${MAKE-make}"
2730fi
2731
2732rm -rf .tst 2>/dev/null
2733mkdir .tst 2>/dev/null
2734if test -d .tst; then
2735  am__leading_dot=.
2736else
2737  am__leading_dot=_
2738fi
2739rmdir .tst 2>/dev/null
2740
2741if test "`cd $srcdir && pwd`" != "`pwd`"; then
2742  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2743  # is not polluted with repeated "-I."
2744  am__isrc=' -I$(srcdir)'
2745  # test to see if srcdir already configured
2746  if test -f $srcdir/config.status; then
2747    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2748  fi
2749fi
2750
2751# test whether we have cygpath
2752if test -z "$CYGPATH_W"; then
2753  if (cygpath --version) >/dev/null 2>/dev/null; then
2754    CYGPATH_W='cygpath -w'
2755  else
2756    CYGPATH_W=echo
2757  fi
2758fi
2759
2760
2761# Define the identity of the package.
2762 PACKAGE='emailrelay'
2763 VERSION='1.9'
2764
2765
2766# Some tools Automake needs.
2767
2768ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2769
2770
2771AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2772
2773
2774AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2775
2776
2777AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2778
2779
2780MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2781
2782# We need awk for the "check" target.  The system "awk" is bad on
2783# some platforms.
2784# Always define AMTAR for backward compatibility.  Yes, it's still used
2785# in the wild :-(  We should find a proper way to deprecate it ...
2786AMTAR='$${TAR-tar}'
2787
2788am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2789
2790
2791
2792
2793
2794ac_config_headers="$ac_config_headers config.h"
2795
2796
2797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2798$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2799    # Check whether --enable-maintainer-mode was given.
2800if test "${enable_maintainer_mode+set}" = set; then :
2801  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2802else
2803  USE_MAINTAINER_MODE=no
2804fi
2805
2806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2807$as_echo "$USE_MAINTAINER_MODE" >&6; }
2808   if test $USE_MAINTAINER_MODE = yes; then
2809  MAINTAINER_MODE_TRUE=
2810  MAINTAINER_MODE_FALSE='#'
2811else
2812  MAINTAINER_MODE_TRUE='#'
2813  MAINTAINER_MODE_FALSE=
2814fi
2815
2816  MAINT=$MAINTAINER_MODE_TRUE
2817
2818
2819
2820
2821
2822ac_ext=c
2823ac_cpp='$CPP $CPPFLAGS'
2824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2826ac_compiler_gnu=$ac_cv_c_compiler_gnu
2827if test -n "$ac_tool_prefix"; then
2828  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2829set dummy ${ac_tool_prefix}gcc; ac_word=$2
2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831$as_echo_n "checking for $ac_word... " >&6; }
2832if ${ac_cv_prog_CC+:} false; then :
2833  $as_echo_n "(cached) " >&6
2834else
2835  if test -n "$CC"; then
2836  ac_cv_prog_CC="$CC" # Let the user override the test.
2837else
2838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839for as_dir in $PATH
2840do
2841  IFS=$as_save_IFS
2842  test -z "$as_dir" && as_dir=.
2843    for ac_exec_ext in '' $ac_executable_extensions; do
2844  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847    break 2
2848  fi
2849done
2850  done
2851IFS=$as_save_IFS
2852
2853fi
2854fi
2855CC=$ac_cv_prog_CC
2856if test -n "$CC"; then
2857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2858$as_echo "$CC" >&6; }
2859else
2860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861$as_echo "no" >&6; }
2862fi
2863
2864
2865fi
2866if test -z "$ac_cv_prog_CC"; then
2867  ac_ct_CC=$CC
2868  # Extract the first word of "gcc", so it can be a program name with args.
2869set dummy gcc; ac_word=$2
2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871$as_echo_n "checking for $ac_word... " >&6; }
2872if ${ac_cv_prog_ac_ct_CC+:} false; then :
2873  $as_echo_n "(cached) " >&6
2874else
2875  if test -n "$ac_ct_CC"; then
2876  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2877else
2878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879for as_dir in $PATH
2880do
2881  IFS=$as_save_IFS
2882  test -z "$as_dir" && as_dir=.
2883    for ac_exec_ext in '' $ac_executable_extensions; do
2884  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885    ac_cv_prog_ac_ct_CC="gcc"
2886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887    break 2
2888  fi
2889done
2890  done
2891IFS=$as_save_IFS
2892
2893fi
2894fi
2895ac_ct_CC=$ac_cv_prog_ac_ct_CC
2896if test -n "$ac_ct_CC"; then
2897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2898$as_echo "$ac_ct_CC" >&6; }
2899else
2900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901$as_echo "no" >&6; }
2902fi
2903
2904  if test "x$ac_ct_CC" = x; then
2905    CC=""
2906  else
2907    case $cross_compiling:$ac_tool_warned in
2908yes:)
2909{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2910$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2911ac_tool_warned=yes ;;
2912esac
2913    CC=$ac_ct_CC
2914  fi
2915else
2916  CC="$ac_cv_prog_CC"
2917fi
2918
2919if test -z "$CC"; then
2920          if test -n "$ac_tool_prefix"; then
2921    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2922set dummy ${ac_tool_prefix}cc; ac_word=$2
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924$as_echo_n "checking for $ac_word... " >&6; }
2925if ${ac_cv_prog_CC+:} false; then :
2926  $as_echo_n "(cached) " >&6
2927else
2928  if test -n "$CC"; then
2929  ac_cv_prog_CC="$CC" # Let the user override the test.
2930else
2931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932for as_dir in $PATH
2933do
2934  IFS=$as_save_IFS
2935  test -z "$as_dir" && as_dir=.
2936    for ac_exec_ext in '' $ac_executable_extensions; do
2937  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938    ac_cv_prog_CC="${ac_tool_prefix}cc"
2939    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940    break 2
2941  fi
2942done
2943  done
2944IFS=$as_save_IFS
2945
2946fi
2947fi
2948CC=$ac_cv_prog_CC
2949if test -n "$CC"; then
2950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951$as_echo "$CC" >&6; }
2952else
2953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954$as_echo "no" >&6; }
2955fi
2956
2957
2958  fi
2959fi
2960if test -z "$CC"; then
2961  # Extract the first word of "cc", so it can be a program name with args.
2962set dummy cc; ac_word=$2
2963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964$as_echo_n "checking for $ac_word... " >&6; }
2965if ${ac_cv_prog_CC+:} false; then :
2966  $as_echo_n "(cached) " >&6
2967else
2968  if test -n "$CC"; then
2969  ac_cv_prog_CC="$CC" # Let the user override the test.
2970else
2971  ac_prog_rejected=no
2972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973for as_dir in $PATH
2974do
2975  IFS=$as_save_IFS
2976  test -z "$as_dir" && as_dir=.
2977    for ac_exec_ext in '' $ac_executable_extensions; do
2978  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2980       ac_prog_rejected=yes
2981       continue
2982     fi
2983    ac_cv_prog_CC="cc"
2984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985    break 2
2986  fi
2987done
2988  done
2989IFS=$as_save_IFS
2990
2991if test $ac_prog_rejected = yes; then
2992  # We found a bogon in the path, so make sure we never use it.
2993  set dummy $ac_cv_prog_CC
2994  shift
2995  if test $# != 0; then
2996    # We chose a different compiler from the bogus one.
2997    # However, it has the same basename, so the bogon will be chosen
2998    # first if we set CC to just the basename; use the full file name.
2999    shift
3000    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3001  fi
3002fi
3003fi
3004fi
3005CC=$ac_cv_prog_CC
3006if test -n "$CC"; then
3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008$as_echo "$CC" >&6; }
3009else
3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011$as_echo "no" >&6; }
3012fi
3013
3014
3015fi
3016if test -z "$CC"; then
3017  if test -n "$ac_tool_prefix"; then
3018  for ac_prog in cl.exe
3019  do
3020    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3021set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023$as_echo_n "checking for $ac_word... " >&6; }
3024if ${ac_cv_prog_CC+:} false; then :
3025  $as_echo_n "(cached) " >&6
3026else
3027  if test -n "$CC"; then
3028  ac_cv_prog_CC="$CC" # Let the user override the test.
3029else
3030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031for as_dir in $PATH
3032do
3033  IFS=$as_save_IFS
3034  test -z "$as_dir" && as_dir=.
3035    for ac_exec_ext in '' $ac_executable_extensions; do
3036  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3038    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039    break 2
3040  fi
3041done
3042  done
3043IFS=$as_save_IFS
3044
3045fi
3046fi
3047CC=$ac_cv_prog_CC
3048if test -n "$CC"; then
3049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3050$as_echo "$CC" >&6; }
3051else
3052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053$as_echo "no" >&6; }
3054fi
3055
3056
3057    test -n "$CC" && break
3058  done
3059fi
3060if test -z "$CC"; then
3061  ac_ct_CC=$CC
3062  for ac_prog in cl.exe
3063do
3064  # Extract the first word of "$ac_prog", so it can be a program name with args.
3065set dummy $ac_prog; ac_word=$2
3066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067$as_echo_n "checking for $ac_word... " >&6; }
3068if ${ac_cv_prog_ac_ct_CC+:} false; then :
3069  $as_echo_n "(cached) " >&6
3070else
3071  if test -n "$ac_ct_CC"; then
3072  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3073else
3074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075for as_dir in $PATH
3076do
3077  IFS=$as_save_IFS
3078  test -z "$as_dir" && as_dir=.
3079    for ac_exec_ext in '' $ac_executable_extensions; do
3080  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081    ac_cv_prog_ac_ct_CC="$ac_prog"
3082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083    break 2
3084  fi
3085done
3086  done
3087IFS=$as_save_IFS
3088
3089fi
3090fi
3091ac_ct_CC=$ac_cv_prog_ac_ct_CC
3092if test -n "$ac_ct_CC"; then
3093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3094$as_echo "$ac_ct_CC" >&6; }
3095else
3096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097$as_echo "no" >&6; }
3098fi
3099
3100
3101  test -n "$ac_ct_CC" && break
3102done
3103
3104  if test "x$ac_ct_CC" = x; then
3105    CC=""
3106  else
3107    case $cross_compiling:$ac_tool_warned in
3108yes:)
3109{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111ac_tool_warned=yes ;;
3112esac
3113    CC=$ac_ct_CC
3114  fi
3115fi
3116
3117fi
3118
3119
3120test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122as_fn_error $? "no acceptable C compiler found in \$PATH
3123See \`config.log' for more details" "$LINENO" 5; }
3124
3125# Provide some information about the compiler.
3126$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3127set X $ac_compile
3128ac_compiler=$2
3129for ac_option in --version -v -V -qversion; do
3130  { { ac_try="$ac_compiler $ac_option >&5"
3131case "(($ac_try" in
3132  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133  *) ac_try_echo=$ac_try;;
3134esac
3135eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136$as_echo "$ac_try_echo"; } >&5
3137  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3138  ac_status=$?
3139  if test -s conftest.err; then
3140    sed '10a\
3141... rest of stderr output deleted ...
3142         10q' conftest.err >conftest.er1
3143    cat conftest.er1 >&5
3144  fi
3145  rm -f conftest.er1 conftest.err
3146  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147  test $ac_status = 0; }
3148done
3149
3150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151/* end confdefs.h.  */
3152
3153int
3154main ()
3155{
3156
3157  ;
3158  return 0;
3159}
3160_ACEOF
3161ac_clean_files_save=$ac_clean_files
3162ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3163# Try to create an executable without -o first, disregard a.out.
3164# It will help us diagnose broken compilers, and finding out an intuition
3165# of exeext.
3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3167$as_echo_n "checking whether the C compiler works... " >&6; }
3168ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3169
3170# The possible output files:
3171ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3172
3173ac_rmfiles=
3174for ac_file in $ac_files
3175do
3176  case $ac_file in
3177    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3178    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3179  esac
3180done
3181rm -f $ac_rmfiles
3182
3183if { { ac_try="$ac_link_default"
3184case "(($ac_try" in
3185  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186  *) ac_try_echo=$ac_try;;
3187esac
3188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189$as_echo "$ac_try_echo"; } >&5
3190  (eval "$ac_link_default") 2>&5
3191  ac_status=$?
3192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193  test $ac_status = 0; }; then :
3194  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3195# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3196# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3197# so that the user can short-circuit this test for compilers unknown to
3198# Autoconf.
3199for ac_file in $ac_files ''
3200do
3201  test -f "$ac_file" || continue
3202  case $ac_file in
3203    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3204	;;
3205    [ab].out )
3206	# We found the default executable, but exeext='' is most
3207	# certainly right.
3208	break;;
3209    *.* )
3210	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3211	then :; else
3212	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3213	fi
3214	# We set ac_cv_exeext here because the later test for it is not
3215	# safe: cross compilers may not add the suffix if given an `-o'
3216	# argument, so we may need to know it at that point already.
3217	# Even if this section looks crufty: it has the advantage of
3218	# actually working.
3219	break;;
3220    * )
3221	break;;
3222  esac
3223done
3224test "$ac_cv_exeext" = no && ac_cv_exeext=
3225
3226else
3227  ac_file=''
3228fi
3229if test -z "$ac_file"; then :
3230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231$as_echo "no" >&6; }
3232$as_echo "$as_me: failed program was:" >&5
3233sed 's/^/| /' conftest.$ac_ext >&5
3234
3235{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237as_fn_error 77 "C compiler cannot create executables
3238See \`config.log' for more details" "$LINENO" 5; }
3239else
3240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3241$as_echo "yes" >&6; }
3242fi
3243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3244$as_echo_n "checking for C compiler default output file name... " >&6; }
3245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3246$as_echo "$ac_file" >&6; }
3247ac_exeext=$ac_cv_exeext
3248
3249rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3250ac_clean_files=$ac_clean_files_save
3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3252$as_echo_n "checking for suffix of executables... " >&6; }
3253if { { ac_try="$ac_link"
3254case "(($ac_try" in
3255  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256  *) ac_try_echo=$ac_try;;
3257esac
3258eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259$as_echo "$ac_try_echo"; } >&5
3260  (eval "$ac_link") 2>&5
3261  ac_status=$?
3262  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3263  test $ac_status = 0; }; then :
3264  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3265# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3266# work properly (i.e., refer to `conftest.exe'), while it won't with
3267# `rm'.
3268for ac_file in conftest.exe conftest conftest.*; do
3269  test -f "$ac_file" || continue
3270  case $ac_file in
3271    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3272    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3273	  break;;
3274    * ) break;;
3275  esac
3276done
3277else
3278  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3281See \`config.log' for more details" "$LINENO" 5; }
3282fi
3283rm -f conftest conftest$ac_cv_exeext
3284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3285$as_echo "$ac_cv_exeext" >&6; }
3286
3287rm -f conftest.$ac_ext
3288EXEEXT=$ac_cv_exeext
3289ac_exeext=$EXEEXT
3290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291/* end confdefs.h.  */
3292#include <stdio.h>
3293int
3294main ()
3295{
3296FILE *f = fopen ("conftest.out", "w");
3297 return ferror (f) || fclose (f) != 0;
3298
3299  ;
3300  return 0;
3301}
3302_ACEOF
3303ac_clean_files="$ac_clean_files conftest.out"
3304# Check that the compiler produces executables we can run.  If not, either
3305# the compiler is broken, or we cross compile.
3306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3307$as_echo_n "checking whether we are cross compiling... " >&6; }
3308if test "$cross_compiling" != yes; then
3309  { { ac_try="$ac_link"
3310case "(($ac_try" in
3311  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312  *) ac_try_echo=$ac_try;;
3313esac
3314eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315$as_echo "$ac_try_echo"; } >&5
3316  (eval "$ac_link") 2>&5
3317  ac_status=$?
3318  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319  test $ac_status = 0; }
3320  if { ac_try='./conftest$ac_cv_exeext'
3321  { { case "(($ac_try" in
3322  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323  *) ac_try_echo=$ac_try;;
3324esac
3325eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326$as_echo "$ac_try_echo"; } >&5
3327  (eval "$ac_try") 2>&5
3328  ac_status=$?
3329  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330  test $ac_status = 0; }; }; then
3331    cross_compiling=no
3332  else
3333    if test "$cross_compiling" = maybe; then
3334	cross_compiling=yes
3335    else
3336	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338as_fn_error $? "cannot run C compiled programs.
3339If you meant to cross compile, use \`--host'.
3340See \`config.log' for more details" "$LINENO" 5; }
3341    fi
3342  fi
3343fi
3344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3345$as_echo "$cross_compiling" >&6; }
3346
3347rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3348ac_clean_files=$ac_clean_files_save
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3350$as_echo_n "checking for suffix of object files... " >&6; }
3351if ${ac_cv_objext+:} false; then :
3352  $as_echo_n "(cached) " >&6
3353else
3354  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355/* end confdefs.h.  */
3356
3357int
3358main ()
3359{
3360
3361  ;
3362  return 0;
3363}
3364_ACEOF
3365rm -f conftest.o conftest.obj
3366if { { ac_try="$ac_compile"
3367case "(($ac_try" in
3368  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369  *) ac_try_echo=$ac_try;;
3370esac
3371eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372$as_echo "$ac_try_echo"; } >&5
3373  (eval "$ac_compile") 2>&5
3374  ac_status=$?
3375  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376  test $ac_status = 0; }; then :
3377  for ac_file in conftest.o conftest.obj conftest.*; do
3378  test -f "$ac_file" || continue;
3379  case $ac_file in
3380    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3381    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3382       break;;
3383  esac
3384done
3385else
3386  $as_echo "$as_me: failed program was:" >&5
3387sed 's/^/| /' conftest.$ac_ext >&5
3388
3389{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391as_fn_error $? "cannot compute suffix of object files: cannot compile
3392See \`config.log' for more details" "$LINENO" 5; }
3393fi
3394rm -f conftest.$ac_cv_objext conftest.$ac_ext
3395fi
3396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3397$as_echo "$ac_cv_objext" >&6; }
3398OBJEXT=$ac_cv_objext
3399ac_objext=$OBJEXT
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3401$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3402if ${ac_cv_c_compiler_gnu+:} false; then :
3403  $as_echo_n "(cached) " >&6
3404else
3405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406/* end confdefs.h.  */
3407
3408int
3409main ()
3410{
3411#ifndef __GNUC__
3412       choke me
3413#endif
3414
3415  ;
3416  return 0;
3417}
3418_ACEOF
3419if ac_fn_c_try_compile "$LINENO"; then :
3420  ac_compiler_gnu=yes
3421else
3422  ac_compiler_gnu=no
3423fi
3424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425ac_cv_c_compiler_gnu=$ac_compiler_gnu
3426
3427fi
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3429$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3430if test $ac_compiler_gnu = yes; then
3431  GCC=yes
3432else
3433  GCC=
3434fi
3435ac_test_CFLAGS=${CFLAGS+set}
3436ac_save_CFLAGS=$CFLAGS
3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3438$as_echo_n "checking whether $CC accepts -g... " >&6; }
3439if ${ac_cv_prog_cc_g+:} false; then :
3440  $as_echo_n "(cached) " >&6
3441else
3442  ac_save_c_werror_flag=$ac_c_werror_flag
3443   ac_c_werror_flag=yes
3444   ac_cv_prog_cc_g=no
3445   CFLAGS="-g"
3446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447/* end confdefs.h.  */
3448
3449int
3450main ()
3451{
3452
3453  ;
3454  return 0;
3455}
3456_ACEOF
3457if ac_fn_c_try_compile "$LINENO"; then :
3458  ac_cv_prog_cc_g=yes
3459else
3460  CFLAGS=""
3461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462/* end confdefs.h.  */
3463
3464int
3465main ()
3466{
3467
3468  ;
3469  return 0;
3470}
3471_ACEOF
3472if ac_fn_c_try_compile "$LINENO"; then :
3473
3474else
3475  ac_c_werror_flag=$ac_save_c_werror_flag
3476	 CFLAGS="-g"
3477	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478/* end confdefs.h.  */
3479
3480int
3481main ()
3482{
3483
3484  ;
3485  return 0;
3486}
3487_ACEOF
3488if ac_fn_c_try_compile "$LINENO"; then :
3489  ac_cv_prog_cc_g=yes
3490fi
3491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492fi
3493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494fi
3495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496   ac_c_werror_flag=$ac_save_c_werror_flag
3497fi
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3499$as_echo "$ac_cv_prog_cc_g" >&6; }
3500if test "$ac_test_CFLAGS" = set; then
3501  CFLAGS=$ac_save_CFLAGS
3502elif test $ac_cv_prog_cc_g = yes; then
3503  if test "$GCC" = yes; then
3504    CFLAGS="-g -O2"
3505  else
3506    CFLAGS="-g"
3507  fi
3508else
3509  if test "$GCC" = yes; then
3510    CFLAGS="-O2"
3511  else
3512    CFLAGS=
3513  fi
3514fi
3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3516$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3517if ${ac_cv_prog_cc_c89+:} false; then :
3518  $as_echo_n "(cached) " >&6
3519else
3520  ac_cv_prog_cc_c89=no
3521ac_save_CC=$CC
3522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523/* end confdefs.h.  */
3524#include <stdarg.h>
3525#include <stdio.h>
3526#include <sys/types.h>
3527#include <sys/stat.h>
3528/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3529struct buf { int x; };
3530FILE * (*rcsopen) (struct buf *, struct stat *, int);
3531static char *e (p, i)
3532     char **p;
3533     int i;
3534{
3535  return p[i];
3536}
3537static char *f (char * (*g) (char **, int), char **p, ...)
3538{
3539  char *s;
3540  va_list v;
3541  va_start (v,p);
3542  s = g (p, va_arg (v,int));
3543  va_end (v);
3544  return s;
3545}
3546
3547/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3548   function prototypes and stuff, but not '\xHH' hex character constants.
3549   These don't provoke an error unfortunately, instead are silently treated
3550   as 'x'.  The following induces an error, until -std is added to get
3551   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3552   array size at least.  It's necessary to write '\x00'==0 to get something
3553   that's true only with -std.  */
3554int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3555
3556/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3557   inside strings and character constants.  */
3558#define FOO(x) 'x'
3559int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3560
3561int test (int i, double x);
3562struct s1 {int (*f) (int a);};
3563struct s2 {int (*f) (double a);};
3564int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3565int argc;
3566char **argv;
3567int
3568main ()
3569{
3570return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3571  ;
3572  return 0;
3573}
3574_ACEOF
3575for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3576	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3577do
3578  CC="$ac_save_CC $ac_arg"
3579  if ac_fn_c_try_compile "$LINENO"; then :
3580  ac_cv_prog_cc_c89=$ac_arg
3581fi
3582rm -f core conftest.err conftest.$ac_objext
3583  test "x$ac_cv_prog_cc_c89" != "xno" && break
3584done
3585rm -f conftest.$ac_ext
3586CC=$ac_save_CC
3587
3588fi
3589# AC_CACHE_VAL
3590case "x$ac_cv_prog_cc_c89" in
3591  x)
3592    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3593$as_echo "none needed" >&6; } ;;
3594  xno)
3595    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3596$as_echo "unsupported" >&6; } ;;
3597  *)
3598    CC="$CC $ac_cv_prog_cc_c89"
3599    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3600$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3601esac
3602if test "x$ac_cv_prog_cc_c89" != xno; then :
3603
3604fi
3605
3606ac_ext=c
3607ac_cpp='$CPP $CPPFLAGS'
3608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611DEPDIR="${am__leading_dot}deps"
3612
3613ac_config_commands="$ac_config_commands depfiles"
3614
3615
3616am_make=${MAKE-make}
3617cat > confinc << 'END'
3618am__doit:
3619	@echo this is the am__doit target
3620.PHONY: am__doit
3621END
3622# If we don't find an include directive, just comment out the code.
3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3624$as_echo_n "checking for style of include used by $am_make... " >&6; }
3625am__include="#"
3626am__quote=
3627_am_result=none
3628# First try GNU make style include.
3629echo "include confinc" > confmf
3630# Ignore all kinds of additional output from `make'.
3631case `$am_make -s -f confmf 2> /dev/null` in #(
3632*the\ am__doit\ target*)
3633  am__include=include
3634  am__quote=
3635  _am_result=GNU
3636  ;;
3637esac
3638# Now try BSD make style include.
3639if test "$am__include" = "#"; then
3640   echo '.include "confinc"' > confmf
3641   case `$am_make -s -f confmf 2> /dev/null` in #(
3642   *the\ am__doit\ target*)
3643     am__include=.include
3644     am__quote="\""
3645     _am_result=BSD
3646     ;;
3647   esac
3648fi
3649
3650
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3652$as_echo "$_am_result" >&6; }
3653rm -f confinc confmf
3654
3655# Check whether --enable-dependency-tracking was given.
3656if test "${enable_dependency_tracking+set}" = set; then :
3657  enableval=$enable_dependency_tracking;
3658fi
3659
3660if test "x$enable_dependency_tracking" != xno; then
3661  am_depcomp="$ac_aux_dir/depcomp"
3662  AMDEPBACKSLASH='\'
3663  am__nodep='_no'
3664fi
3665 if test "x$enable_dependency_tracking" != xno; then
3666  AMDEP_TRUE=
3667  AMDEP_FALSE='#'
3668else
3669  AMDEP_TRUE='#'
3670  AMDEP_FALSE=
3671fi
3672
3673
3674
3675depcc="$CC"   am_compiler_list=
3676
3677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3678$as_echo_n "checking dependency style of $depcc... " >&6; }
3679if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3680  $as_echo_n "(cached) " >&6
3681else
3682  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3683  # We make a subdir and do the tests there.  Otherwise we can end up
3684  # making bogus files that we don't know about and never remove.  For
3685  # instance it was reported that on HP-UX the gcc test will end up
3686  # making a dummy file named `D' -- because `-MD' means `put the output
3687  # in D'.
3688  rm -rf conftest.dir
3689  mkdir conftest.dir
3690  # Copy depcomp to subdir because otherwise we won't find it if we're
3691  # using a relative directory.
3692  cp "$am_depcomp" conftest.dir
3693  cd conftest.dir
3694  # We will build objects and dependencies in a subdirectory because
3695  # it helps to detect inapplicable dependency modes.  For instance
3696  # both Tru64's cc and ICC support -MD to output dependencies as a
3697  # side effect of compilation, but ICC will put the dependencies in
3698  # the current directory while Tru64 will put them in the object
3699  # directory.
3700  mkdir sub
3701
3702  am_cv_CC_dependencies_compiler_type=none
3703  if test "$am_compiler_list" = ""; then
3704     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3705  fi
3706  am__universal=false
3707  case " $depcc " in #(
3708     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3709     esac
3710
3711  for depmode in $am_compiler_list; do
3712    # Setup a source with many dependencies, because some compilers
3713    # like to wrap large dependency lists on column 80 (with \), and
3714    # we should not choose a depcomp mode which is confused by this.
3715    #
3716    # We need to recreate these files for each test, as the compiler may
3717    # overwrite some of them when testing with obscure command lines.
3718    # This happens at least with the AIX C compiler.
3719    : > sub/conftest.c
3720    for i in 1 2 3 4 5 6; do
3721      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3722      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3723      # Solaris 8's {/usr,}/bin/sh.
3724      touch sub/conftst$i.h
3725    done
3726    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3727
3728    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3729    # mode.  It turns out that the SunPro C++ compiler does not properly
3730    # handle `-M -o', and we need to detect this.  Also, some Intel
3731    # versions had trouble with output in subdirs
3732    am__obj=sub/conftest.${OBJEXT-o}
3733    am__minus_obj="-o $am__obj"
3734    case $depmode in
3735    gcc)
3736      # This depmode causes a compiler race in universal mode.
3737      test "$am__universal" = false || continue
3738      ;;
3739    nosideeffect)
3740      # after this tag, mechanisms are not by side-effect, so they'll
3741      # only be used when explicitly requested
3742      if test "x$enable_dependency_tracking" = xyes; then
3743	continue
3744      else
3745	break
3746      fi
3747      ;;
3748    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3749      # This compiler won't grok `-c -o', but also, the minuso test has
3750      # not run yet.  These depmodes are late enough in the game, and
3751      # so weak that their functioning should not be impacted.
3752      am__obj=conftest.${OBJEXT-o}
3753      am__minus_obj=
3754      ;;
3755    none) break ;;
3756    esac
3757    if depmode=$depmode \
3758       source=sub/conftest.c object=$am__obj \
3759       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3760       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3761         >/dev/null 2>conftest.err &&
3762       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3763       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3764       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3765       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3766      # icc doesn't choke on unknown options, it will just issue warnings
3767      # or remarks (even with -Werror).  So we grep stderr for any message
3768      # that says an option was ignored or not supported.
3769      # When given -MP, icc 7.0 and 7.1 complain thusly:
3770      #   icc: Command line warning: ignoring option '-M'; no argument required
3771      # The diagnosis changed in icc 8.0:
3772      #   icc: Command line remark: option '-MP' not supported
3773      if (grep 'ignoring option' conftest.err ||
3774          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3775        am_cv_CC_dependencies_compiler_type=$depmode
3776        break
3777      fi
3778    fi
3779  done
3780
3781  cd ..
3782  rm -rf conftest.dir
3783else
3784  am_cv_CC_dependencies_compiler_type=none
3785fi
3786
3787fi
3788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3789$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3790CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3791
3792 if
3793  test "x$enable_dependency_tracking" != xno \
3794  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3795  am__fastdepCC_TRUE=
3796  am__fastdepCC_FALSE='#'
3797else
3798  am__fastdepCC_TRUE='#'
3799  am__fastdepCC_FALSE=
3800fi
3801
3802
3803ac_ext=cpp
3804ac_cpp='$CXXCPP $CPPFLAGS'
3805ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3808if test -z "$CXX"; then
3809  if test -n "$CCC"; then
3810    CXX=$CCC
3811  else
3812    if test -n "$ac_tool_prefix"; then
3813  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3814  do
3815    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3816set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818$as_echo_n "checking for $ac_word... " >&6; }
3819if ${ac_cv_prog_CXX+:} false; then :
3820  $as_echo_n "(cached) " >&6
3821else
3822  if test -n "$CXX"; then
3823  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3824else
3825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826for as_dir in $PATH
3827do
3828  IFS=$as_save_IFS
3829  test -z "$as_dir" && as_dir=.
3830    for ac_exec_ext in '' $ac_executable_extensions; do
3831  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3832    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3833    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834    break 2
3835  fi
3836done
3837  done
3838IFS=$as_save_IFS
3839
3840fi
3841fi
3842CXX=$ac_cv_prog_CXX
3843if test -n "$CXX"; then
3844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3845$as_echo "$CXX" >&6; }
3846else
3847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848$as_echo "no" >&6; }
3849fi
3850
3851
3852    test -n "$CXX" && break
3853  done
3854fi
3855if test -z "$CXX"; then
3856  ac_ct_CXX=$CXX
3857  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3858do
3859  # Extract the first word of "$ac_prog", so it can be a program name with args.
3860set dummy $ac_prog; ac_word=$2
3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862$as_echo_n "checking for $ac_word... " >&6; }
3863if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3864  $as_echo_n "(cached) " >&6
3865else
3866  if test -n "$ac_ct_CXX"; then
3867  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3868else
3869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870for as_dir in $PATH
3871do
3872  IFS=$as_save_IFS
3873  test -z "$as_dir" && as_dir=.
3874    for ac_exec_ext in '' $ac_executable_extensions; do
3875  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3876    ac_cv_prog_ac_ct_CXX="$ac_prog"
3877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878    break 2
3879  fi
3880done
3881  done
3882IFS=$as_save_IFS
3883
3884fi
3885fi
3886ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3887if test -n "$ac_ct_CXX"; then
3888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3889$as_echo "$ac_ct_CXX" >&6; }
3890else
3891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892$as_echo "no" >&6; }
3893fi
3894
3895
3896  test -n "$ac_ct_CXX" && break
3897done
3898
3899  if test "x$ac_ct_CXX" = x; then
3900    CXX="g++"
3901  else
3902    case $cross_compiling:$ac_tool_warned in
3903yes:)
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3905$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906ac_tool_warned=yes ;;
3907esac
3908    CXX=$ac_ct_CXX
3909  fi
3910fi
3911
3912  fi
3913fi
3914# Provide some information about the compiler.
3915$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3916set X $ac_compile
3917ac_compiler=$2
3918for ac_option in --version -v -V -qversion; do
3919  { { ac_try="$ac_compiler $ac_option >&5"
3920case "(($ac_try" in
3921  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922  *) ac_try_echo=$ac_try;;
3923esac
3924eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925$as_echo "$ac_try_echo"; } >&5
3926  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927  ac_status=$?
3928  if test -s conftest.err; then
3929    sed '10a\
3930... rest of stderr output deleted ...
3931         10q' conftest.err >conftest.er1
3932    cat conftest.er1 >&5
3933  fi
3934  rm -f conftest.er1 conftest.err
3935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936  test $ac_status = 0; }
3937done
3938
3939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3940$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3941if ${ac_cv_cxx_compiler_gnu+:} false; then :
3942  $as_echo_n "(cached) " >&6
3943else
3944  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945/* end confdefs.h.  */
3946
3947int
3948main ()
3949{
3950#ifndef __GNUC__
3951       choke me
3952#endif
3953
3954  ;
3955  return 0;
3956}
3957_ACEOF
3958if ac_fn_cxx_try_compile "$LINENO"; then :
3959  ac_compiler_gnu=yes
3960else
3961  ac_compiler_gnu=no
3962fi
3963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3965
3966fi
3967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3968$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3969if test $ac_compiler_gnu = yes; then
3970  GXX=yes
3971else
3972  GXX=
3973fi
3974ac_test_CXXFLAGS=${CXXFLAGS+set}
3975ac_save_CXXFLAGS=$CXXFLAGS
3976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3977$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3978if ${ac_cv_prog_cxx_g+:} false; then :
3979  $as_echo_n "(cached) " >&6
3980else
3981  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3982   ac_cxx_werror_flag=yes
3983   ac_cv_prog_cxx_g=no
3984   CXXFLAGS="-g"
3985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986/* end confdefs.h.  */
3987
3988int
3989main ()
3990{
3991
3992  ;
3993  return 0;
3994}
3995_ACEOF
3996if ac_fn_cxx_try_compile "$LINENO"; then :
3997  ac_cv_prog_cxx_g=yes
3998else
3999  CXXFLAGS=""
4000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001/* end confdefs.h.  */
4002
4003int
4004main ()
4005{
4006
4007  ;
4008  return 0;
4009}
4010_ACEOF
4011if ac_fn_cxx_try_compile "$LINENO"; then :
4012
4013else
4014  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4015	 CXXFLAGS="-g"
4016	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017/* end confdefs.h.  */
4018
4019int
4020main ()
4021{
4022
4023  ;
4024  return 0;
4025}
4026_ACEOF
4027if ac_fn_cxx_try_compile "$LINENO"; then :
4028  ac_cv_prog_cxx_g=yes
4029fi
4030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031fi
4032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033fi
4034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4036fi
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4038$as_echo "$ac_cv_prog_cxx_g" >&6; }
4039if test "$ac_test_CXXFLAGS" = set; then
4040  CXXFLAGS=$ac_save_CXXFLAGS
4041elif test $ac_cv_prog_cxx_g = yes; then
4042  if test "$GXX" = yes; then
4043    CXXFLAGS="-g -O2"
4044  else
4045    CXXFLAGS="-g"
4046  fi
4047else
4048  if test "$GXX" = yes; then
4049    CXXFLAGS="-O2"
4050  else
4051    CXXFLAGS=
4052  fi
4053fi
4054ac_ext=c
4055ac_cpp='$CPP $CPPFLAGS'
4056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058ac_compiler_gnu=$ac_cv_c_compiler_gnu
4059
4060depcc="$CXX"  am_compiler_list=
4061
4062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4063$as_echo_n "checking dependency style of $depcc... " >&6; }
4064if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4065  $as_echo_n "(cached) " >&6
4066else
4067  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4068  # We make a subdir and do the tests there.  Otherwise we can end up
4069  # making bogus files that we don't know about and never remove.  For
4070  # instance it was reported that on HP-UX the gcc test will end up
4071  # making a dummy file named `D' -- because `-MD' means `put the output
4072  # in D'.
4073  rm -rf conftest.dir
4074  mkdir conftest.dir
4075  # Copy depcomp to subdir because otherwise we won't find it if we're
4076  # using a relative directory.
4077  cp "$am_depcomp" conftest.dir
4078  cd conftest.dir
4079  # We will build objects and dependencies in a subdirectory because
4080  # it helps to detect inapplicable dependency modes.  For instance
4081  # both Tru64's cc and ICC support -MD to output dependencies as a
4082  # side effect of compilation, but ICC will put the dependencies in
4083  # the current directory while Tru64 will put them in the object
4084  # directory.
4085  mkdir sub
4086
4087  am_cv_CXX_dependencies_compiler_type=none
4088  if test "$am_compiler_list" = ""; then
4089     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4090  fi
4091  am__universal=false
4092  case " $depcc " in #(
4093     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4094     esac
4095
4096  for depmode in $am_compiler_list; do
4097    # Setup a source with many dependencies, because some compilers
4098    # like to wrap large dependency lists on column 80 (with \), and
4099    # we should not choose a depcomp mode which is confused by this.
4100    #
4101    # We need to recreate these files for each test, as the compiler may
4102    # overwrite some of them when testing with obscure command lines.
4103    # This happens at least with the AIX C compiler.
4104    : > sub/conftest.c
4105    for i in 1 2 3 4 5 6; do
4106      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4107      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4108      # Solaris 8's {/usr,}/bin/sh.
4109      touch sub/conftst$i.h
4110    done
4111    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4112
4113    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4114    # mode.  It turns out that the SunPro C++ compiler does not properly
4115    # handle `-M -o', and we need to detect this.  Also, some Intel
4116    # versions had trouble with output in subdirs
4117    am__obj=sub/conftest.${OBJEXT-o}
4118    am__minus_obj="-o $am__obj"
4119    case $depmode in
4120    gcc)
4121      # This depmode causes a compiler race in universal mode.
4122      test "$am__universal" = false || continue
4123      ;;
4124    nosideeffect)
4125      # after this tag, mechanisms are not by side-effect, so they'll
4126      # only be used when explicitly requested
4127      if test "x$enable_dependency_tracking" = xyes; then
4128	continue
4129      else
4130	break
4131      fi
4132      ;;
4133    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4134      # This compiler won't grok `-c -o', but also, the minuso test has
4135      # not run yet.  These depmodes are late enough in the game, and
4136      # so weak that their functioning should not be impacted.
4137      am__obj=conftest.${OBJEXT-o}
4138      am__minus_obj=
4139      ;;
4140    none) break ;;
4141    esac
4142    if depmode=$depmode \
4143       source=sub/conftest.c object=$am__obj \
4144       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4145       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4146         >/dev/null 2>conftest.err &&
4147       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4148       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4149       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4150       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4151      # icc doesn't choke on unknown options, it will just issue warnings
4152      # or remarks (even with -Werror).  So we grep stderr for any message
4153      # that says an option was ignored or not supported.
4154      # When given -MP, icc 7.0 and 7.1 complain thusly:
4155      #   icc: Command line warning: ignoring option '-M'; no argument required
4156      # The diagnosis changed in icc 8.0:
4157      #   icc: Command line remark: option '-MP' not supported
4158      if (grep 'ignoring option' conftest.err ||
4159          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4160        am_cv_CXX_dependencies_compiler_type=$depmode
4161        break
4162      fi
4163    fi
4164  done
4165
4166  cd ..
4167  rm -rf conftest.dir
4168else
4169  am_cv_CXX_dependencies_compiler_type=none
4170fi
4171
4172fi
4173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4174$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4175CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4176
4177 if
4178  test "x$enable_dependency_tracking" != xno \
4179  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4180  am__fastdepCXX_TRUE=
4181  am__fastdepCXX_FALSE='#'
4182else
4183  am__fastdepCXX_TRUE='#'
4184  am__fastdepCXX_FALSE=
4185fi
4186
4187
4188if test -n "$ac_tool_prefix"; then
4189  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4190set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192$as_echo_n "checking for $ac_word... " >&6; }
4193if ${ac_cv_prog_RANLIB+:} false; then :
4194  $as_echo_n "(cached) " >&6
4195else
4196  if test -n "$RANLIB"; then
4197  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4198else
4199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200for as_dir in $PATH
4201do
4202  IFS=$as_save_IFS
4203  test -z "$as_dir" && as_dir=.
4204    for ac_exec_ext in '' $ac_executable_extensions; do
4205  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208    break 2
4209  fi
4210done
4211  done
4212IFS=$as_save_IFS
4213
4214fi
4215fi
4216RANLIB=$ac_cv_prog_RANLIB
4217if test -n "$RANLIB"; then
4218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4219$as_echo "$RANLIB" >&6; }
4220else
4221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222$as_echo "no" >&6; }
4223fi
4224
4225
4226fi
4227if test -z "$ac_cv_prog_RANLIB"; then
4228  ac_ct_RANLIB=$RANLIB
4229  # Extract the first word of "ranlib", so it can be a program name with args.
4230set dummy ranlib; ac_word=$2
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232$as_echo_n "checking for $ac_word... " >&6; }
4233if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4234  $as_echo_n "(cached) " >&6
4235else
4236  if test -n "$ac_ct_RANLIB"; then
4237  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4238else
4239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240for as_dir in $PATH
4241do
4242  IFS=$as_save_IFS
4243  test -z "$as_dir" && as_dir=.
4244    for ac_exec_ext in '' $ac_executable_extensions; do
4245  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4246    ac_cv_prog_ac_ct_RANLIB="ranlib"
4247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248    break 2
4249  fi
4250done
4251  done
4252IFS=$as_save_IFS
4253
4254fi
4255fi
4256ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4257if test -n "$ac_ct_RANLIB"; then
4258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4259$as_echo "$ac_ct_RANLIB" >&6; }
4260else
4261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262$as_echo "no" >&6; }
4263fi
4264
4265  if test "x$ac_ct_RANLIB" = x; then
4266    RANLIB=":"
4267  else
4268    case $cross_compiling:$ac_tool_warned in
4269yes:)
4270{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4271$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4272ac_tool_warned=yes ;;
4273esac
4274    RANLIB=$ac_ct_RANLIB
4275  fi
4276else
4277  RANLIB="$ac_cv_prog_RANLIB"
4278fi
4279
4280
4281for ac_prog in gawk mawk nawk awk
4282do
4283  # Extract the first word of "$ac_prog", so it can be a program name with args.
4284set dummy $ac_prog; ac_word=$2
4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286$as_echo_n "checking for $ac_word... " >&6; }
4287if ${ac_cv_prog_AWK+:} false; then :
4288  $as_echo_n "(cached) " >&6
4289else
4290  if test -n "$AWK"; then
4291  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4292else
4293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294for as_dir in $PATH
4295do
4296  IFS=$as_save_IFS
4297  test -z "$as_dir" && as_dir=.
4298    for ac_exec_ext in '' $ac_executable_extensions; do
4299  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300    ac_cv_prog_AWK="$ac_prog"
4301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302    break 2
4303  fi
4304done
4305  done
4306IFS=$as_save_IFS
4307
4308fi
4309fi
4310AWK=$ac_cv_prog_AWK
4311if test -n "$AWK"; then
4312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4313$as_echo "$AWK" >&6; }
4314else
4315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316$as_echo "no" >&6; }
4317fi
4318
4319
4320  test -n "$AWK" && break
4321done
4322
4323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4324$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4325if ${ac_cv_path_GREP+:} false; then :
4326  $as_echo_n "(cached) " >&6
4327else
4328  if test -z "$GREP"; then
4329  ac_path_GREP_found=false
4330  # Loop through the user's path and test for each of PROGNAME-LIST
4331  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4333do
4334  IFS=$as_save_IFS
4335  test -z "$as_dir" && as_dir=.
4336    for ac_prog in grep ggrep; do
4337    for ac_exec_ext in '' $ac_executable_extensions; do
4338      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4339      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4340# Check for GNU ac_path_GREP and select it if it is found.
4341  # Check for GNU $ac_path_GREP
4342case `"$ac_path_GREP" --version 2>&1` in
4343*GNU*)
4344  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4345*)
4346  ac_count=0
4347  $as_echo_n 0123456789 >"conftest.in"
4348  while :
4349  do
4350    cat "conftest.in" "conftest.in" >"conftest.tmp"
4351    mv "conftest.tmp" "conftest.in"
4352    cp "conftest.in" "conftest.nl"
4353    $as_echo 'GREP' >> "conftest.nl"
4354    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4355    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4356    as_fn_arith $ac_count + 1 && ac_count=$as_val
4357    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4358      # Best one so far, save it but keep looking for a better one
4359      ac_cv_path_GREP="$ac_path_GREP"
4360      ac_path_GREP_max=$ac_count
4361    fi
4362    # 10*(2^10) chars as input seems more than enough
4363    test $ac_count -gt 10 && break
4364  done
4365  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4366esac
4367
4368      $ac_path_GREP_found && break 3
4369    done
4370  done
4371  done
4372IFS=$as_save_IFS
4373  if test -z "$ac_cv_path_GREP"; then
4374    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4375  fi
4376else
4377  ac_cv_path_GREP=$GREP
4378fi
4379
4380fi
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4382$as_echo "$ac_cv_path_GREP" >&6; }
4383 GREP="$ac_cv_path_GREP"
4384
4385
4386for ac_prog in make gmake
4387do
4388  # Extract the first word of "$ac_prog", so it can be a program name with args.
4389set dummy $ac_prog; ac_word=$2
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391$as_echo_n "checking for $ac_word... " >&6; }
4392if ${ac_cv_prog_MAKE+:} false; then :
4393  $as_echo_n "(cached) " >&6
4394else
4395  if test -n "$MAKE"; then
4396  ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4397else
4398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399for as_dir in $PATH
4400do
4401  IFS=$as_save_IFS
4402  test -z "$as_dir" && as_dir=.
4403    for ac_exec_ext in '' $ac_executable_extensions; do
4404  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405    ac_cv_prog_MAKE="$ac_prog"
4406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407    break 2
4408  fi
4409done
4410  done
4411IFS=$as_save_IFS
4412
4413fi
4414fi
4415MAKE=$ac_cv_prog_MAKE
4416if test -n "$MAKE"; then
4417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4418$as_echo "$MAKE" >&6; }
4419else
4420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421$as_echo "no" >&6; }
4422fi
4423
4424
4425  test -n "$MAKE" && break
4426done
4427
4428for ac_prog in ar gar
4429do
4430  # Extract the first word of "$ac_prog", so it can be a program name with args.
4431set dummy $ac_prog; ac_word=$2
4432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433$as_echo_n "checking for $ac_word... " >&6; }
4434if ${ac_cv_prog_AR+:} false; then :
4435  $as_echo_n "(cached) " >&6
4436else
4437  if test -n "$AR"; then
4438  ac_cv_prog_AR="$AR" # Let the user override the test.
4439else
4440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441for as_dir in $PATH
4442do
4443  IFS=$as_save_IFS
4444  test -z "$as_dir" && as_dir=.
4445    for ac_exec_ext in '' $ac_executable_extensions; do
4446  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447    ac_cv_prog_AR="$ac_prog"
4448    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449    break 2
4450  fi
4451done
4452  done
4453IFS=$as_save_IFS
4454
4455fi
4456fi
4457AR=$ac_cv_prog_AR
4458if test -n "$AR"; then
4459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4460$as_echo "$AR" >&6; }
4461else
4462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463$as_echo "no" >&6; }
4464fi
4465
4466
4467  test -n "$AR" && break
4468done
4469
4470for ac_prog in gzip
4471do
4472  # Extract the first word of "$ac_prog", so it can be a program name with args.
4473set dummy $ac_prog; ac_word=$2
4474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475$as_echo_n "checking for $ac_word... " >&6; }
4476if ${ac_cv_prog_GZIP+:} false; then :
4477  $as_echo_n "(cached) " >&6
4478else
4479  if test -n "$GZIP"; then
4480  ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
4481else
4482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483for as_dir in $PATH
4484do
4485  IFS=$as_save_IFS
4486  test -z "$as_dir" && as_dir=.
4487    for ac_exec_ext in '' $ac_executable_extensions; do
4488  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4489    ac_cv_prog_GZIP="$ac_prog"
4490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491    break 2
4492  fi
4493done
4494  done
4495IFS=$as_save_IFS
4496
4497fi
4498fi
4499GZIP=$ac_cv_prog_GZIP
4500if test -n "$GZIP"; then
4501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
4502$as_echo "$GZIP" >&6; }
4503else
4504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505$as_echo "no" >&6; }
4506fi
4507
4508
4509  test -n "$GZIP" && break
4510done
4511
4512# Extract the first word of "doxygen", so it can be a program name with args.
4513set dummy doxygen; ac_word=$2
4514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515$as_echo_n "checking for $ac_word... " >&6; }
4516if ${ac_cv_prog_HAVE_DOXYGEN+:} false; then :
4517  $as_echo_n "(cached) " >&6
4518else
4519  if test -n "$HAVE_DOXYGEN"; then
4520  ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test.
4521else
4522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523for as_dir in $PATH
4524do
4525  IFS=$as_save_IFS
4526  test -z "$as_dir" && as_dir=.
4527    for ac_exec_ext in '' $ac_executable_extensions; do
4528  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4529    ac_cv_prog_HAVE_DOXYGEN="yes"
4530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531    break 2
4532  fi
4533done
4534  done
4535IFS=$as_save_IFS
4536
4537fi
4538fi
4539HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN
4540if test -n "$HAVE_DOXYGEN"; then
4541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOXYGEN" >&5
4542$as_echo "$HAVE_DOXYGEN" >&6; }
4543else
4544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545$as_echo "no" >&6; }
4546fi
4547
4548
4549# Extract the first word of "man2html", so it can be a program name with args.
4550set dummy man2html; ac_word=$2
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552$as_echo_n "checking for $ac_word... " >&6; }
4553if ${ac_cv_prog_HAVE_MAN2HTML+:} false; then :
4554  $as_echo_n "(cached) " >&6
4555else
4556  if test -n "$HAVE_MAN2HTML"; then
4557  ac_cv_prog_HAVE_MAN2HTML="$HAVE_MAN2HTML" # Let the user override the test.
4558else
4559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560for as_dir in $PATH
4561do
4562  IFS=$as_save_IFS
4563  test -z "$as_dir" && as_dir=.
4564    for ac_exec_ext in '' $ac_executable_extensions; do
4565  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4566    ac_cv_prog_HAVE_MAN2HTML="yes"
4567    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568    break 2
4569  fi
4570done
4571  done
4572IFS=$as_save_IFS
4573
4574fi
4575fi
4576HAVE_MAN2HTML=$ac_cv_prog_HAVE_MAN2HTML
4577if test -n "$HAVE_MAN2HTML"; then
4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MAN2HTML" >&5
4579$as_echo "$HAVE_MAN2HTML" >&6; }
4580else
4581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582$as_echo "no" >&6; }
4583fi
4584
4585
4586
4587
4588	COMPILER_VERSION_GCC=`$CXX --version 2>/dev/null | sed q | grep GCC | sed 's/[a-zA-Z][a-zA-Z]*[0-9]*//g' | sed 's/[^0-9 .]*//g;s/\./ /g;s/^ *//;s/ /./;s/ .*//;s/^/gcc/' | sed 's/gcc2.96/gcc2.95/'`
4589	COMPILER_VERSION_SUNPRO=`$CXX -V 2>&1 | sed q | grep WorkShop | sed 's/[^0-9]*//;s/[ \.].*//;s/^/sunpro/'`
4590	COMPILER_VERSION_ICC=`$CXX --version 2>&1 | sed q | grep ICC | sed 's/[^0-9]*//;s/[ \.].*//;s/^/icc/'`
4591
4592	COMPILER_VERSION="${COMPILER_VERSION_GCC}${COMPILER_VERSION_SUNPRO}${COMPILER_VERSION_ICC}"
4593
4594
4595
4596
4597	G_CAPABILITIES="@@`echo \"$ac_configure_args\" | sed 's/ /:/g' | sed 's/[^_A-Za-z0-9/=:]//g'`@@"
4598
4599
4600
4601
4602ac_ext=c
4603ac_cpp='$CPP $CPPFLAGS'
4604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607
4608
4609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4610$as_echo_n "checking for library containing gethostbyname... " >&6; }
4611if ${ac_cv_search_gethostbyname+:} false; then :
4612  $as_echo_n "(cached) " >&6
4613else
4614  ac_func_search_save_LIBS=$LIBS
4615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616/* end confdefs.h.  */
4617
4618/* Override any GCC internal prototype to avoid an error.
4619   Use char because int might match the return type of a GCC
4620   builtin and then its argument prototype would still apply.  */
4621#ifdef __cplusplus
4622extern "C"
4623#endif
4624char gethostbyname ();
4625int
4626main ()
4627{
4628return gethostbyname ();
4629  ;
4630  return 0;
4631}
4632_ACEOF
4633for ac_lib in '' nsl; do
4634  if test -z "$ac_lib"; then
4635    ac_res="none required"
4636  else
4637    ac_res=-l$ac_lib
4638    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4639  fi
4640  if ac_fn_c_try_link "$LINENO"; then :
4641  ac_cv_search_gethostbyname=$ac_res
4642fi
4643rm -f core conftest.err conftest.$ac_objext \
4644    conftest$ac_exeext
4645  if ${ac_cv_search_gethostbyname+:} false; then :
4646  break
4647fi
4648done
4649if ${ac_cv_search_gethostbyname+:} false; then :
4650
4651else
4652  ac_cv_search_gethostbyname=no
4653fi
4654rm conftest.$ac_ext
4655LIBS=$ac_func_search_save_LIBS
4656fi
4657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
4658$as_echo "$ac_cv_search_gethostbyname" >&6; }
4659ac_res=$ac_cv_search_gethostbyname
4660if test "$ac_res" != no; then :
4661  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4662
4663fi
4664
4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
4666$as_echo_n "checking for library containing connect... " >&6; }
4667if ${ac_cv_search_connect+:} false; then :
4668  $as_echo_n "(cached) " >&6
4669else
4670  ac_func_search_save_LIBS=$LIBS
4671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672/* end confdefs.h.  */
4673
4674/* Override any GCC internal prototype to avoid an error.
4675   Use char because int might match the return type of a GCC
4676   builtin and then its argument prototype would still apply.  */
4677#ifdef __cplusplus
4678extern "C"
4679#endif
4680char connect ();
4681int
4682main ()
4683{
4684return connect ();
4685  ;
4686  return 0;
4687}
4688_ACEOF
4689for ac_lib in '' socket; do
4690  if test -z "$ac_lib"; then
4691    ac_res="none required"
4692  else
4693    ac_res=-l$ac_lib
4694    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4695  fi
4696  if ac_fn_c_try_link "$LINENO"; then :
4697  ac_cv_search_connect=$ac_res
4698fi
4699rm -f core conftest.err conftest.$ac_objext \
4700    conftest$ac_exeext
4701  if ${ac_cv_search_connect+:} false; then :
4702  break
4703fi
4704done
4705if ${ac_cv_search_connect+:} false; then :
4706
4707else
4708  ac_cv_search_connect=no
4709fi
4710rm conftest.$ac_ext
4711LIBS=$ac_func_search_save_LIBS
4712fi
4713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
4714$as_echo "$ac_cv_search_connect" >&6; }
4715ac_res=$ac_cv_search_connect
4716if test "$ac_res" != no; then :
4717  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4718
4719fi
4720
4721
4722ac_ext=c
4723ac_cpp='$CPP $CPPFLAGS'
4724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4728$as_echo_n "checking how to run the C preprocessor... " >&6; }
4729# On Suns, sometimes $CPP names a directory.
4730if test -n "$CPP" && test -d "$CPP"; then
4731  CPP=
4732fi
4733if test -z "$CPP"; then
4734  if ${ac_cv_prog_CPP+:} false; then :
4735  $as_echo_n "(cached) " >&6
4736else
4737      # Double quotes because CPP needs to be expanded
4738    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4739    do
4740      ac_preproc_ok=false
4741for ac_c_preproc_warn_flag in '' yes
4742do
4743  # Use a header file that comes with gcc, so configuring glibc
4744  # with a fresh cross-compiler works.
4745  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4746  # <limits.h> exists even on freestanding compilers.
4747  # On the NeXT, cc -E runs the code through the compiler's parser,
4748  # not just through cpp. "Syntax error" is here to catch this case.
4749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750/* end confdefs.h.  */
4751#ifdef __STDC__
4752# include <limits.h>
4753#else
4754# include <assert.h>
4755#endif
4756		     Syntax error
4757_ACEOF
4758if ac_fn_c_try_cpp "$LINENO"; then :
4759
4760else
4761  # Broken: fails on valid input.
4762continue
4763fi
4764rm -f conftest.err conftest.i conftest.$ac_ext
4765
4766  # OK, works on sane cases.  Now check whether nonexistent headers
4767  # can be detected and how.
4768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769/* end confdefs.h.  */
4770#include <ac_nonexistent.h>
4771_ACEOF
4772if ac_fn_c_try_cpp "$LINENO"; then :
4773  # Broken: success on invalid input.
4774continue
4775else
4776  # Passes both tests.
4777ac_preproc_ok=:
4778break
4779fi
4780rm -f conftest.err conftest.i conftest.$ac_ext
4781
4782done
4783# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4784rm -f conftest.i conftest.err conftest.$ac_ext
4785if $ac_preproc_ok; then :
4786  break
4787fi
4788
4789    done
4790    ac_cv_prog_CPP=$CPP
4791
4792fi
4793  CPP=$ac_cv_prog_CPP
4794else
4795  ac_cv_prog_CPP=$CPP
4796fi
4797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4798$as_echo "$CPP" >&6; }
4799ac_preproc_ok=false
4800for ac_c_preproc_warn_flag in '' yes
4801do
4802  # Use a header file that comes with gcc, so configuring glibc
4803  # with a fresh cross-compiler works.
4804  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4805  # <limits.h> exists even on freestanding compilers.
4806  # On the NeXT, cc -E runs the code through the compiler's parser,
4807  # not just through cpp. "Syntax error" is here to catch this case.
4808  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809/* end confdefs.h.  */
4810#ifdef __STDC__
4811# include <limits.h>
4812#else
4813# include <assert.h>
4814#endif
4815		     Syntax error
4816_ACEOF
4817if ac_fn_c_try_cpp "$LINENO"; then :
4818
4819else
4820  # Broken: fails on valid input.
4821continue
4822fi
4823rm -f conftest.err conftest.i conftest.$ac_ext
4824
4825  # OK, works on sane cases.  Now check whether nonexistent headers
4826  # can be detected and how.
4827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828/* end confdefs.h.  */
4829#include <ac_nonexistent.h>
4830_ACEOF
4831if ac_fn_c_try_cpp "$LINENO"; then :
4832  # Broken: success on invalid input.
4833continue
4834else
4835  # Passes both tests.
4836ac_preproc_ok=:
4837break
4838fi
4839rm -f conftest.err conftest.i conftest.$ac_ext
4840
4841done
4842# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4843rm -f conftest.i conftest.err conftest.$ac_ext
4844if $ac_preproc_ok; then :
4845
4846else
4847  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4849as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4850See \`config.log' for more details" "$LINENO" 5; }
4851fi
4852
4853ac_ext=c
4854ac_cpp='$CPP $CPPFLAGS'
4855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857ac_compiler_gnu=$ac_cv_c_compiler_gnu
4858
4859
4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4861$as_echo_n "checking for egrep... " >&6; }
4862if ${ac_cv_path_EGREP+:} false; then :
4863  $as_echo_n "(cached) " >&6
4864else
4865  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4866   then ac_cv_path_EGREP="$GREP -E"
4867   else
4868     if test -z "$EGREP"; then
4869  ac_path_EGREP_found=false
4870  # Loop through the user's path and test for each of PROGNAME-LIST
4871  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4873do
4874  IFS=$as_save_IFS
4875  test -z "$as_dir" && as_dir=.
4876    for ac_prog in egrep; do
4877    for ac_exec_ext in '' $ac_executable_extensions; do
4878      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4879      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4880# Check for GNU ac_path_EGREP and select it if it is found.
4881  # Check for GNU $ac_path_EGREP
4882case `"$ac_path_EGREP" --version 2>&1` in
4883*GNU*)
4884  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4885*)
4886  ac_count=0
4887  $as_echo_n 0123456789 >"conftest.in"
4888  while :
4889  do
4890    cat "conftest.in" "conftest.in" >"conftest.tmp"
4891    mv "conftest.tmp" "conftest.in"
4892    cp "conftest.in" "conftest.nl"
4893    $as_echo 'EGREP' >> "conftest.nl"
4894    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4895    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4896    as_fn_arith $ac_count + 1 && ac_count=$as_val
4897    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4898      # Best one so far, save it but keep looking for a better one
4899      ac_cv_path_EGREP="$ac_path_EGREP"
4900      ac_path_EGREP_max=$ac_count
4901    fi
4902    # 10*(2^10) chars as input seems more than enough
4903    test $ac_count -gt 10 && break
4904  done
4905  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4906esac
4907
4908      $ac_path_EGREP_found && break 3
4909    done
4910  done
4911  done
4912IFS=$as_save_IFS
4913  if test -z "$ac_cv_path_EGREP"; then
4914    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4915  fi
4916else
4917  ac_cv_path_EGREP=$EGREP
4918fi
4919
4920   fi
4921fi
4922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4923$as_echo "$ac_cv_path_EGREP" >&6; }
4924 EGREP="$ac_cv_path_EGREP"
4925
4926
4927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4928$as_echo_n "checking for ANSI C header files... " >&6; }
4929if ${ac_cv_header_stdc+:} false; then :
4930  $as_echo_n "(cached) " >&6
4931else
4932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933/* end confdefs.h.  */
4934#include <stdlib.h>
4935#include <stdarg.h>
4936#include <string.h>
4937#include <float.h>
4938
4939int
4940main ()
4941{
4942
4943  ;
4944  return 0;
4945}
4946_ACEOF
4947if ac_fn_c_try_compile "$LINENO"; then :
4948  ac_cv_header_stdc=yes
4949else
4950  ac_cv_header_stdc=no
4951fi
4952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953
4954if test $ac_cv_header_stdc = yes; then
4955  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957/* end confdefs.h.  */
4958#include <string.h>
4959
4960_ACEOF
4961if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4962  $EGREP "memchr" >/dev/null 2>&1; then :
4963
4964else
4965  ac_cv_header_stdc=no
4966fi
4967rm -f conftest*
4968
4969fi
4970
4971if test $ac_cv_header_stdc = yes; then
4972  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4973  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974/* end confdefs.h.  */
4975#include <stdlib.h>
4976
4977_ACEOF
4978if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4979  $EGREP "free" >/dev/null 2>&1; then :
4980
4981else
4982  ac_cv_header_stdc=no
4983fi
4984rm -f conftest*
4985
4986fi
4987
4988if test $ac_cv_header_stdc = yes; then
4989  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4990  if test "$cross_compiling" = yes; then :
4991  :
4992else
4993  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994/* end confdefs.h.  */
4995#include <ctype.h>
4996#include <stdlib.h>
4997#if ((' ' & 0x0FF) == 0x020)
4998# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4999# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5000#else
5001# define ISLOWER(c) \
5002		   (('a' <= (c) && (c) <= 'i') \
5003		     || ('j' <= (c) && (c) <= 'r') \
5004		     || ('s' <= (c) && (c) <= 'z'))
5005# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5006#endif
5007
5008#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5009int
5010main ()
5011{
5012  int i;
5013  for (i = 0; i < 256; i++)
5014    if (XOR (islower (i), ISLOWER (i))
5015	|| toupper (i) != TOUPPER (i))
5016      return 2;
5017  return 0;
5018}
5019_ACEOF
5020if ac_fn_c_try_run "$LINENO"; then :
5021
5022else
5023  ac_cv_header_stdc=no
5024fi
5025rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5026  conftest.$ac_objext conftest.beam conftest.$ac_ext
5027fi
5028
5029fi
5030fi
5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5032$as_echo "$ac_cv_header_stdc" >&6; }
5033if test $ac_cv_header_stdc = yes; then
5034
5035$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5036
5037fi
5038
5039ac_header_dirent=no
5040for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5041  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5043$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5044if eval \${$as_ac_Header+:} false; then :
5045  $as_echo_n "(cached) " >&6
5046else
5047  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048/* end confdefs.h.  */
5049#include <sys/types.h>
5050#include <$ac_hdr>
5051
5052int
5053main ()
5054{
5055if ((DIR *) 0)
5056return 0;
5057  ;
5058  return 0;
5059}
5060_ACEOF
5061if ac_fn_c_try_compile "$LINENO"; then :
5062  eval "$as_ac_Header=yes"
5063else
5064  eval "$as_ac_Header=no"
5065fi
5066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067fi
5068eval ac_res=\$$as_ac_Header
5069	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5070$as_echo "$ac_res" >&6; }
5071if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5072  cat >>confdefs.h <<_ACEOF
5073#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5074_ACEOF
5075
5076ac_header_dirent=$ac_hdr; break
5077fi
5078
5079done
5080# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5081if test $ac_header_dirent = dirent.h; then
5082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5083$as_echo_n "checking for library containing opendir... " >&6; }
5084if ${ac_cv_search_opendir+:} false; then :
5085  $as_echo_n "(cached) " >&6
5086else
5087  ac_func_search_save_LIBS=$LIBS
5088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089/* end confdefs.h.  */
5090
5091/* Override any GCC internal prototype to avoid an error.
5092   Use char because int might match the return type of a GCC
5093   builtin and then its argument prototype would still apply.  */
5094#ifdef __cplusplus
5095extern "C"
5096#endif
5097char opendir ();
5098int
5099main ()
5100{
5101return opendir ();
5102  ;
5103  return 0;
5104}
5105_ACEOF
5106for ac_lib in '' dir; do
5107  if test -z "$ac_lib"; then
5108    ac_res="none required"
5109  else
5110    ac_res=-l$ac_lib
5111    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5112  fi
5113  if ac_fn_c_try_link "$LINENO"; then :
5114  ac_cv_search_opendir=$ac_res
5115fi
5116rm -f core conftest.err conftest.$ac_objext \
5117    conftest$ac_exeext
5118  if ${ac_cv_search_opendir+:} false; then :
5119  break
5120fi
5121done
5122if ${ac_cv_search_opendir+:} false; then :
5123
5124else
5125  ac_cv_search_opendir=no
5126fi
5127rm conftest.$ac_ext
5128LIBS=$ac_func_search_save_LIBS
5129fi
5130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5131$as_echo "$ac_cv_search_opendir" >&6; }
5132ac_res=$ac_cv_search_opendir
5133if test "$ac_res" != no; then :
5134  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5135
5136fi
5137
5138else
5139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5140$as_echo_n "checking for library containing opendir... " >&6; }
5141if ${ac_cv_search_opendir+:} false; then :
5142  $as_echo_n "(cached) " >&6
5143else
5144  ac_func_search_save_LIBS=$LIBS
5145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146/* end confdefs.h.  */
5147
5148/* Override any GCC internal prototype to avoid an error.
5149   Use char because int might match the return type of a GCC
5150   builtin and then its argument prototype would still apply.  */
5151#ifdef __cplusplus
5152extern "C"
5153#endif
5154char opendir ();
5155int
5156main ()
5157{
5158return opendir ();
5159  ;
5160  return 0;
5161}
5162_ACEOF
5163for ac_lib in '' x; do
5164  if test -z "$ac_lib"; then
5165    ac_res="none required"
5166  else
5167    ac_res=-l$ac_lib
5168    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5169  fi
5170  if ac_fn_c_try_link "$LINENO"; then :
5171  ac_cv_search_opendir=$ac_res
5172fi
5173rm -f core conftest.err conftest.$ac_objext \
5174    conftest$ac_exeext
5175  if ${ac_cv_search_opendir+:} false; then :
5176  break
5177fi
5178done
5179if ${ac_cv_search_opendir+:} false; then :
5180
5181else
5182  ac_cv_search_opendir=no
5183fi
5184rm conftest.$ac_ext
5185LIBS=$ac_func_search_save_LIBS
5186fi
5187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5188$as_echo "$ac_cv_search_opendir" >&6; }
5189ac_res=$ac_cv_search_opendir
5190if test "$ac_res" != no; then :
5191  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5192
5193fi
5194
5195fi
5196
5197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5198$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5199if ${ac_cv_header_time+:} false; then :
5200  $as_echo_n "(cached) " >&6
5201else
5202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203/* end confdefs.h.  */
5204#include <sys/types.h>
5205#include <sys/time.h>
5206#include <time.h>
5207
5208int
5209main ()
5210{
5211if ((struct tm *) 0)
5212return 0;
5213  ;
5214  return 0;
5215}
5216_ACEOF
5217if ac_fn_c_try_compile "$LINENO"; then :
5218  ac_cv_header_time=yes
5219else
5220  ac_cv_header_time=no
5221fi
5222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223fi
5224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5225$as_echo "$ac_cv_header_time" >&6; }
5226if test $ac_cv_header_time = yes; then
5227
5228$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5229
5230fi
5231
5232# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5233for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5234		  inttypes.h stdint.h unistd.h
5235do :
5236  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5237ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5238"
5239if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5240  cat >>confdefs.h <<_ACEOF
5241#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5242_ACEOF
5243
5244fi
5245
5246done
5247
5248
5249for ac_header in unistd.h
5250do :
5251  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5252if test "x$ac_cv_header_unistd_h" = xyes; then :
5253  cat >>confdefs.h <<_ACEOF
5254#define HAVE_UNISTD_H 1
5255_ACEOF
5256
5257fi
5258
5259done
5260
5261for ac_header in sys/time.h
5262do :
5263  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
5264if test "x$ac_cv_header_sys_time_h" = xyes; then :
5265  cat >>confdefs.h <<_ACEOF
5266#define HAVE_SYS_TIME_H 1
5267_ACEOF
5268
5269fi
5270
5271done
5272
5273for ac_func in glob
5274do :
5275  ac_fn_c_check_func "$LINENO" "glob" "ac_cv_func_glob"
5276if test "x$ac_cv_func_glob" = xyes; then :
5277  cat >>confdefs.h <<_ACEOF
5278#define HAVE_GLOB 1
5279_ACEOF
5280
5281fi
5282done
5283
5284ac_ext=cpp
5285ac_cpp='$CXXCPP $CPPFLAGS'
5286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5289
5290
5291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
5292$as_echo_n "checking for socklen_t... " >&6; }
5293if ${aclocal_cv_type_socklen_t+:} false; then :
5294  $as_echo_n "(cached) " >&6
5295else
5296
5297	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5298/* end confdefs.h.  */
5299#include <sys/types.h>
5300#include <sys/socket.h>
5301int
5302main ()
5303{
5304socklen_t len = 42; return len;
5305  ;
5306  return 0;
5307}
5308_ACEOF
5309if ac_fn_cxx_try_compile "$LINENO"; then :
5310  aclocal_cv_type_socklen_t=yes
5311else
5312  aclocal_cv_type_socklen_t=no
5313fi
5314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5315
5316fi
5317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_type_socklen_t" >&5
5318$as_echo "$aclocal_cv_type_socklen_t" >&6; }
5319	if test $aclocal_cv_type_socklen_t = yes; then
5320
5321$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
5322
5323	else
5324
5325$as_echo "#define HAVE_SOCKLEN_T 0" >>confdefs.h
5326
5327	fi
5328
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ipv6" >&5
5330$as_echo_n "checking for ipv6... " >&6; }
5331if ${aclocal_cv_ipv6+:} false; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334
5335	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336/* end confdefs.h.  */
5337#include <sys/types.h>
5338#include <sys/socket.h>
5339#include <netinet/in.h>
5340#include <arpa/inet.h>
5341int
5342main ()
5343{
5344sockaddr_in6 * p = 0;
5345  ;
5346  return 0;
5347}
5348_ACEOF
5349if ac_fn_cxx_try_compile "$LINENO"; then :
5350  aclocal_cv_ipv6=yes
5351else
5352  aclocal_cv_ipv6=no
5353fi
5354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5355
5356fi
5357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_ipv6" >&5
5358$as_echo "$aclocal_cv_ipv6" >&6; }
5359	if test $aclocal_cv_ipv6 = yes; then
5360
5361$as_echo "#define HAVE_IPV6 1" >>confdefs.h
5362
5363	else
5364
5365$as_echo "#define HAVE_IPV6 0" >>confdefs.h
5366
5367	fi
5368
5369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getipnodebyname" >&5
5370$as_echo_n "checking for getipnodebyname... " >&6; }
5371if ${aclocal_cv_getipnodebyname+:} false; then :
5372  $as_echo_n "(cached) " >&6
5373else
5374
5375	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376/* end confdefs.h.  */
5377#include <sys/types.h>
5378#include <sys/socket.h>
5379#include <netinet/in.h>
5380#include <arpa/inet.h>
5381#include <netdb.h>
5382int
5383main ()
5384{
5385int i=0; getipnodebyname("",AF_INET6,AI_DEFAULT,&i);
5386  ;
5387  return 0;
5388}
5389_ACEOF
5390if ac_fn_cxx_try_compile "$LINENO"; then :
5391  aclocal_cv_getipnodebyname=yes
5392else
5393  aclocal_cv_getipnodebyname=no
5394fi
5395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396
5397fi
5398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_getipnodebyname" >&5
5399$as_echo "$aclocal_cv_getipnodebyname" >&6; }
5400	if test $aclocal_cv_getipnodebyname = yes; then
5401
5402$as_echo "#define HAVE_GETIPNODEBYNAME 1" >>confdefs.h
5403
5404	else
5405
5406$as_echo "#define HAVE_GETIPNODEBYNAME 0" >>confdefs.h
5407
5408	fi
5409
5410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin6_len" >&5
5411$as_echo_n "checking for sin6_len... " >&6; }
5412if ${aclocal_cv_sin6_len+:} false; then :
5413  $as_echo_n "(cached) " >&6
5414else
5415
5416	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417/* end confdefs.h.  */
5418#include <sys/types.h>
5419#include <sys/socket.h>
5420#include <netinet/in.h>
5421int
5422main ()
5423{
5424struct sockaddr_in6 s; s.sin6_len = 1;
5425  ;
5426  return 0;
5427}
5428_ACEOF
5429if ac_fn_cxx_try_compile "$LINENO"; then :
5430  aclocal_cv_sin6_len=yes
5431else
5432  aclocal_cv_sin6_len=no
5433fi
5434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435
5436fi
5437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_sin6_len" >&5
5438$as_echo "$aclocal_cv_sin6_len" >&6; }
5439	if test $aclocal_cv_sin6_len = yes; then
5440
5441$as_echo "#define HAVE_SIN6_LEN 1" >>confdefs.h
5442
5443	else
5444
5445$as_echo "#define HAVE_SIN6_LEN 0" >>confdefs.h
5446
5447	fi
5448
5449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for buggy ctime" >&5
5450$as_echo_n "checking for buggy ctime... " >&6; }
5451if ${aclocal_cv_buggy_ctime+:} false; then :
5452  $as_echo_n "(cached) " >&6
5453else
5454
5455	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456/* end confdefs.h.  */
5457#include <ctime>
5458#include <unistd.h>
5459int
5460main ()
5461{
5462
5463  ;
5464  return 0;
5465}
5466_ACEOF
5467if ac_fn_cxx_try_compile "$LINENO"; then :
5468  aclocal_cv_buggy_ctime=no
5469else
5470  aclocal_cv_buggy_ctime=yes
5471fi
5472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5473
5474fi
5475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_buggy_ctime" >&5
5476$as_echo "$aclocal_cv_buggy_ctime" >&6; }
5477	if test $aclocal_cv_buggy_ctime = yes; then
5478
5479$as_echo "#define HAVE_BUGGY_CTIME 1" >>confdefs.h
5480
5481	else
5482
5483$as_echo "#define HAVE_BUGGY_CTIME 0" >>confdefs.h
5484
5485	fi
5486
5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam headers in /usr/include/pam" >&5
5488$as_echo_n "checking for pam headers in /usr/include/pam... " >&6; }
5489if ${aclocal_cv_pam_headers_in_pam+:} false; then :
5490  $as_echo_n "(cached) " >&6
5491else
5492
5493	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494/* end confdefs.h.  */
5495#include <pam/pam_appl.h>
5496int
5497main ()
5498{
5499
5500  ;
5501  return 0;
5502}
5503_ACEOF
5504if ac_fn_cxx_try_compile "$LINENO"; then :
5505  aclocal_cv_pam_headers_in_pam=yes
5506else
5507  aclocal_cv_pam_headers_in_pam=no
5508fi
5509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510
5511fi
5512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_pam_headers_in_pam" >&5
5513$as_echo "$aclocal_cv_pam_headers_in_pam" >&6; }
5514
5515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux pam" >&5
5516$as_echo_n "checking for linux pam... " >&6; }
5517if ${aclocal_cv_pam_compiles+:} false; then :
5518  $as_echo_n "(cached) " >&6
5519else
5520
5521	if test "$aclocal_cv_pam_headers_in_pam" = "yes"
5522	then
5523		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524/* end confdefs.h.  */
5525#include <pam/pam_appl.h>
5526int
5527main ()
5528{
5529int rc = pam_start("","",(const struct pam_conv*)0,(pam_handle_t**)0)
5530  ;
5531  return 0;
5532}
5533_ACEOF
5534if ac_fn_cxx_try_compile "$LINENO"; then :
5535  aclocal_cv_pam_compiles=yes
5536else
5537  aclocal_cv_pam_compiles=no
5538fi
5539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5540	else
5541		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542/* end confdefs.h.  */
5543#include <security/pam_appl.h>
5544int
5545main ()
5546{
5547int rc = pam_start("","",(const struct pam_conv*)0,(pam_handle_t**)0)
5548  ;
5549  return 0;
5550}
5551_ACEOF
5552if ac_fn_cxx_try_compile "$LINENO"; then :
5553  aclocal_cv_pam_compiles=yes
5554else
5555  aclocal_cv_pam_compiles=no
5556fi
5557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5558	fi
5559
5560fi
5561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_pam_compiles" >&5
5562$as_echo "$aclocal_cv_pam_compiles" >&6; }
5563
5564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam_r" >&5
5565$as_echo_n "checking for getpwnam_r... " >&6; }
5566if ${aclocal_cv_getpwnam_r+:} false; then :
5567  $as_echo_n "(cached) " >&6
5568else
5569
5570	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571/* end confdefs.h.  */
5572#include <sys/types.h>
5573		#include <pwd.h>
5574int
5575main ()
5576{
5577char c;
5578		struct passwd *r;
5579		getpwnam_r("",r,&c,0,&r) ;
5580  ;
5581  return 0;
5582}
5583_ACEOF
5584if ac_fn_cxx_try_compile "$LINENO"; then :
5585  aclocal_cv_getpwnam_r=yes
5586else
5587  aclocal_cv_getpwnam_r=no
5588fi
5589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5590
5591fi
5592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_getpwnam_r" >&5
5593$as_echo "$aclocal_cv_getpwnam_r" >&6; }
5594	if test $aclocal_cv_getpwnam_r = yes; then
5595
5596$as_echo "#define HAVE_GETPWNAM_R 1" >>confdefs.h
5597
5598	else
5599
5600$as_echo "#define HAVE_GETPWNAM_R 0" >>confdefs.h
5601
5602	fi
5603
5604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmtime_r" >&5
5605$as_echo_n "checking for gmtime_r... " >&6; }
5606if ${aclocal_cv_gmtime_r+:} false; then :
5607  $as_echo_n "(cached) " >&6
5608else
5609
5610	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5611/* end confdefs.h.  */
5612#include <time.h>
5613int
5614main ()
5615{
5616gmtime_r((time_t*)0,(struct tm*)0) ;
5617  ;
5618  return 0;
5619}
5620_ACEOF
5621if ac_fn_cxx_try_compile "$LINENO"; then :
5622  aclocal_cv_gmtime_r=yes
5623else
5624  aclocal_cv_gmtime_r=no
5625fi
5626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5627
5628fi
5629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_gmtime_r" >&5
5630$as_echo "$aclocal_cv_gmtime_r" >&6; }
5631	if test $aclocal_cv_gmtime_r = yes; then
5632
5633$as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
5634
5635	else
5636
5637$as_echo "#define HAVE_GMTIME_R 0" >>confdefs.h
5638
5639	fi
5640
5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for localtime_r" >&5
5642$as_echo_n "checking for localtime_r... " >&6; }
5643if ${aclocal_cv_localtime_r+:} false; then :
5644  $as_echo_n "(cached) " >&6
5645else
5646
5647	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648/* end confdefs.h.  */
5649#include <time.h>
5650int
5651main ()
5652{
5653localtime_r((time_t*)0,(struct tm*)0) ;
5654  ;
5655  return 0;
5656}
5657_ACEOF
5658if ac_fn_cxx_try_compile "$LINENO"; then :
5659  aclocal_cv_localtime_r=yes
5660else
5661  aclocal_cv_localtime_r=no
5662fi
5663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5664
5665fi
5666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_localtime_r" >&5
5667$as_echo "$aclocal_cv_localtime_r" >&6; }
5668	if test $aclocal_cv_localtime_r = yes; then
5669
5670$as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
5671
5672	else
5673
5674$as_echo "#define HAVE_LOCALTIME_R 0" >>confdefs.h
5675
5676	fi
5677
5678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
5679$as_echo_n "checking for setgroups... " >&6; }
5680if ${aclocal_cv_setgroups+:} false; then :
5681  $as_echo_n "(cached) " >&6
5682else
5683
5684	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685/* end confdefs.h.  */
5686#include <sys/types.h>
5687#include <unistd.h>
5688#include <grp.h>
5689int
5690main ()
5691{
5692setgroups(0,0) ;
5693  ;
5694  return 0;
5695}
5696_ACEOF
5697if ac_fn_cxx_try_compile "$LINENO"; then :
5698  aclocal_cv_setgroups=yes
5699else
5700  aclocal_cv_setgroups=no
5701fi
5702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5703
5704fi
5705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_setgroups" >&5
5706$as_echo "$aclocal_cv_setgroups" >&6; }
5707	if test $aclocal_cv_setgroups = yes; then
5708
5709$as_echo "#define HAVE_SETGROUPS 1" >>confdefs.h
5710
5711	else
5712
5713$as_echo "#define HAVE_SETGROUPS 0" >>confdefs.h
5714
5715	fi
5716
5717
5718
5719
5720
5721
5722
5723
5724if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5725	if test -n "$ac_tool_prefix"; then
5726  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5727set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729$as_echo_n "checking for $ac_word... " >&6; }
5730if ${ac_cv_path_PKG_CONFIG+:} false; then :
5731  $as_echo_n "(cached) " >&6
5732else
5733  case $PKG_CONFIG in
5734  [\\/]* | ?:[\\/]*)
5735  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5736  ;;
5737  *)
5738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739for as_dir in $PATH
5740do
5741  IFS=$as_save_IFS
5742  test -z "$as_dir" && as_dir=.
5743    for ac_exec_ext in '' $ac_executable_extensions; do
5744  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5745    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747    break 2
5748  fi
5749done
5750  done
5751IFS=$as_save_IFS
5752
5753  ;;
5754esac
5755fi
5756PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5757if test -n "$PKG_CONFIG"; then
5758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5759$as_echo "$PKG_CONFIG" >&6; }
5760else
5761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762$as_echo "no" >&6; }
5763fi
5764
5765
5766fi
5767if test -z "$ac_cv_path_PKG_CONFIG"; then
5768  ac_pt_PKG_CONFIG=$PKG_CONFIG
5769  # Extract the first word of "pkg-config", so it can be a program name with args.
5770set dummy pkg-config; ac_word=$2
5771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772$as_echo_n "checking for $ac_word... " >&6; }
5773if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5774  $as_echo_n "(cached) " >&6
5775else
5776  case $ac_pt_PKG_CONFIG in
5777  [\\/]* | ?:[\\/]*)
5778  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5779  ;;
5780  *)
5781  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782for as_dir in $PATH
5783do
5784  IFS=$as_save_IFS
5785  test -z "$as_dir" && as_dir=.
5786    for ac_exec_ext in '' $ac_executable_extensions; do
5787  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790    break 2
5791  fi
5792done
5793  done
5794IFS=$as_save_IFS
5795
5796  ;;
5797esac
5798fi
5799ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5800if test -n "$ac_pt_PKG_CONFIG"; then
5801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5802$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5803else
5804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805$as_echo "no" >&6; }
5806fi
5807
5808  if test "x$ac_pt_PKG_CONFIG" = x; then
5809    PKG_CONFIG=""
5810  else
5811    case $cross_compiling:$ac_tool_warned in
5812yes:)
5813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815ac_tool_warned=yes ;;
5816esac
5817    PKG_CONFIG=$ac_pt_PKG_CONFIG
5818  fi
5819else
5820  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5821fi
5822
5823fi
5824if test -n "$PKG_CONFIG"; then
5825	_pkg_min_version=0.9.0
5826	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5827$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5828	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5829		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5830$as_echo "yes" >&6; }
5831	else
5832		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833$as_echo "no" >&6; }
5834		PKG_CONFIG=""
5835	fi
5836fi
5837
5838
5839pkg_failed=no
5840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
5841$as_echo_n "checking for QT... " >&6; }
5842
5843if test -n "$QT_CFLAGS"; then
5844    pkg_cv_QT_CFLAGS="$QT_CFLAGS"
5845 elif test -n "$PKG_CONFIG"; then
5846    if test -n "$PKG_CONFIG" && \
5847    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0.1\""; } >&5
5848  ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0.1") 2>&5
5849  ac_status=$?
5850  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5851  test $ac_status = 0; }; then
5852  pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0.1" 2>/dev/null`
5853		      test "x$?" != "x0" && pkg_failed=yes
5854else
5855  pkg_failed=yes
5856fi
5857 else
5858    pkg_failed=untried
5859fi
5860if test -n "$QT_LIBS"; then
5861    pkg_cv_QT_LIBS="$QT_LIBS"
5862 elif test -n "$PKG_CONFIG"; then
5863    if test -n "$PKG_CONFIG" && \
5864    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0.1\""; } >&5
5865  ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0.1") 2>&5
5866  ac_status=$?
5867  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5868  test $ac_status = 0; }; then
5869  pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0.1" 2>/dev/null`
5870		      test "x$?" != "x0" && pkg_failed=yes
5871else
5872  pkg_failed=yes
5873fi
5874 else
5875    pkg_failed=untried
5876fi
5877
5878
5879
5880if test $pkg_failed = yes; then
5881   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882$as_echo "no" >&6; }
5883
5884if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5885        _pkg_short_errors_supported=yes
5886else
5887        _pkg_short_errors_supported=no
5888fi
5889        if test $_pkg_short_errors_supported = yes; then
5890	        QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "QtGui >= 4.0.1" 2>&1`
5891        else
5892	        QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "QtGui >= 4.0.1" 2>&1`
5893        fi
5894	# Put the nasty error message in config.log where it belongs
5895	echo "$QT_PKG_ERRORS" >&5
5896
5897	qt4=no
5898elif test $pkg_failed = untried; then
5899     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900$as_echo "no" >&6; }
5901	qt4=no
5902else
5903	QT_CFLAGS=$pkg_cv_QT_CFLAGS
5904	QT_LIBS=$pkg_cv_QT_LIBS
5905        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5906$as_echo "yes" >&6; }
5907	qt4=yes
5908fi
5909
5910	MOC="${e_qtmoc}"
5911	# Extract the first word of "moc", so it can be a program name with args.
5912set dummy moc; ac_word=$2
5913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914$as_echo_n "checking for $ac_word... " >&6; }
5915if ${ac_cv_path_MOC+:} false; then :
5916  $as_echo_n "(cached) " >&6
5917else
5918  case $MOC in
5919  [\\/]* | ?:[\\/]*)
5920  ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
5921  ;;
5922  *)
5923  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924for as_dir in $PATH
5925do
5926  IFS=$as_save_IFS
5927  test -z "$as_dir" && as_dir=.
5928    for ac_exec_ext in '' $ac_executable_extensions; do
5929  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5930    ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
5931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932    break 2
5933  fi
5934done
5935  done
5936IFS=$as_save_IFS
5937
5938  ;;
5939esac
5940fi
5941MOC=$ac_cv_path_MOC
5942if test -n "$MOC"; then
5943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
5944$as_echo "$MOC" >&6; }
5945else
5946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947$as_echo "no" >&6; }
5948fi
5949
5950
5951
5952	if test "$MOC" != ""
5953	then
5954		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking moc is for qt 4" >&5
5955$as_echo_n "checking moc is for qt 4... " >&6; }
5956		if test x$GREP = x ; then GREP=grep ; fi
5957		if test -x "$MOC" -a "`$MOC -v 2>&1 | $GREP 'Qt 4'`" != "" ; then
5958			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5959$as_echo "yes" >&6; }
5960			aclocal_moc="$MOC"
5961		else
5962			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963$as_echo "no" >&6; }
5964			aclocal_moc=""
5965		fi
5966	fi
5967
5968	if test "$qt4" = no -a "$e_qtmoc" = ""
5969	then
5970		aclocal_moc=""
5971	fi
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5982	if test -n "$ac_tool_prefix"; then
5983  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5984set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986$as_echo_n "checking for $ac_word... " >&6; }
5987if ${ac_cv_path_PKG_CONFIG+:} false; then :
5988  $as_echo_n "(cached) " >&6
5989else
5990  case $PKG_CONFIG in
5991  [\\/]* | ?:[\\/]*)
5992  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5993  ;;
5994  *)
5995  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996for as_dir in $PATH
5997do
5998  IFS=$as_save_IFS
5999  test -z "$as_dir" && as_dir=.
6000    for ac_exec_ext in '' $ac_executable_extensions; do
6001  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6003    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004    break 2
6005  fi
6006done
6007  done
6008IFS=$as_save_IFS
6009
6010  ;;
6011esac
6012fi
6013PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6014if test -n "$PKG_CONFIG"; then
6015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6016$as_echo "$PKG_CONFIG" >&6; }
6017else
6018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019$as_echo "no" >&6; }
6020fi
6021
6022
6023fi
6024if test -z "$ac_cv_path_PKG_CONFIG"; then
6025  ac_pt_PKG_CONFIG=$PKG_CONFIG
6026  # Extract the first word of "pkg-config", so it can be a program name with args.
6027set dummy pkg-config; ac_word=$2
6028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029$as_echo_n "checking for $ac_word... " >&6; }
6030if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6031  $as_echo_n "(cached) " >&6
6032else
6033  case $ac_pt_PKG_CONFIG in
6034  [\\/]* | ?:[\\/]*)
6035  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6036  ;;
6037  *)
6038  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039for as_dir in $PATH
6040do
6041  IFS=$as_save_IFS
6042  test -z "$as_dir" && as_dir=.
6043    for ac_exec_ext in '' $ac_executable_extensions; do
6044  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6046    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047    break 2
6048  fi
6049done
6050  done
6051IFS=$as_save_IFS
6052
6053  ;;
6054esac
6055fi
6056ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6057if test -n "$ac_pt_PKG_CONFIG"; then
6058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6059$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6060else
6061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062$as_echo "no" >&6; }
6063fi
6064
6065  if test "x$ac_pt_PKG_CONFIG" = x; then
6066    PKG_CONFIG=""
6067  else
6068    case $cross_compiling:$ac_tool_warned in
6069yes:)
6070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072ac_tool_warned=yes ;;
6073esac
6074    PKG_CONFIG=$ac_pt_PKG_CONFIG
6075  fi
6076else
6077  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6078fi
6079
6080fi
6081if test -n "$PKG_CONFIG"; then
6082	_pkg_min_version=0.9.0
6083	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6084$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6085	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6086		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087$as_echo "yes" >&6; }
6088	else
6089		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090$as_echo "no" >&6; }
6091		PKG_CONFIG=""
6092	fi
6093fi
6094
6095# Check whether --enable-debug was given.
6096if test "${enable_debug+set}" = set; then :
6097  enableval=$enable_debug;
6098fi
6099
6100
6101	if test "$enable_debug" = "no" -o -z "$enable_debug"
6102	then
6103		:
6104	else
6105
6106$as_echo "#define _DEBUG 1" >>confdefs.h
6107
6108	fi
6109
6110
6111# Check whether --enable-ipv6 was given.
6112if test "${enable_ipv6+set}" = set; then :
6113  enableval=$enable_ipv6;
6114fi
6115
6116
6117	if test "$enable_ipv6" = "yes"
6118	then
6119		if test "$aclocal_cv_ipv6" != "yes"
6120		then
6121			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring --enable-ipv6" >&5
6122$as_echo "$as_me: WARNING: ignoring --enable-ipv6" >&2;}
6123			aclocal_use_ipv6="no"
6124		else
6125
6126$as_echo "#define USE_IPV6 1" >>confdefs.h
6127
6128			aclocal_use_ipv6="yes"
6129		fi
6130	else
6131		aclocal_use_ipv6="no"
6132	fi
6133	 if test x$aclocal_use_ipv6 = xyes; then
6134  IPV6_TRUE=
6135  IPV6_FALSE='#'
6136else
6137  IPV6_TRUE='#'
6138  IPV6_FALSE=
6139fi
6140
6141
6142
6143# Check whether --enable-gui was given.
6144if test "${enable_gui+set}" = set; then :
6145  enableval=$enable_gui;
6146fi
6147
6148
6149	if test "$enable_gui" = "no"
6150	then
6151		MOC=""
6152	else
6153		if test "$enable_gui" = "yes" -a "$aclocal_moc" = ""
6154		then
6155			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring --enable-gui: set e_qtmoc, QT_LIBS and QT_CFLAGS to override" >&5
6156$as_echo "$as_me: WARNING: ignoring --enable-gui: set e_qtmoc, QT_LIBS and QT_CFLAGS to override" >&2;}
6157		fi
6158		MOC="$aclocal_moc"
6159	fi
6160
6161	if test "`uname`" = "Darwin" -a "$QT_LIBS" = ""
6162	then
6163		QT_LIBS="-framework QtGui -framework QtCore"
6164	fi
6165
6166
6167
6168	 if test x$MOC != x ; then
6169  GUI_TRUE=
6170  GUI_FALSE='#'
6171else
6172  GUI_TRUE='#'
6173  GUI_FALSE=
6174fi
6175
6176
6177	if test x$enable_exec = xno -a x$MOC != x
6178	then
6179		as_fn_error $? "using --disable-exec requires --disable-gui" "$LINENO" 5
6180	fi
6181
6182
6183# Check whether --enable-verbose was given.
6184if test "${enable_verbose+set}" = set; then :
6185  enableval=$enable_verbose;
6186fi
6187
6188
6189	if test x$enable_verbose != xno
6190	then
6191		:
6192	else
6193
6194$as_echo "#define G_NO_LOG 1" >>confdefs.h
6195
6196	fi
6197
6198
6199# Check whether --enable-pop was given.
6200if test "${enable_pop+set}" = set; then :
6201  enableval=$enable_pop;
6202fi
6203
6204
6205	if test x$enable_pop != xno
6206	then
6207		:
6208	else
6209
6210$as_echo "#define USE_NO_POP 1" >>confdefs.h
6211
6212	fi
6213	 if test x$enable_pop != xno; then
6214  POP_TRUE=
6215  POP_FALSE='#'
6216else
6217  POP_TRUE='#'
6218  POP_FALSE=
6219fi
6220
6221
6222
6223# Check whether --enable-exec was given.
6224if test "${enable_exec+set}" = set; then :
6225  enableval=$enable_exec;
6226fi
6227
6228
6229	if test x$enable_exec != xno
6230	then
6231		:
6232	else
6233
6234$as_echo "#define USE_NO_EXEC 1" >>confdefs.h
6235
6236	fi
6237	 if test x$enable_exec != xno; then
6238  EXEC_TRUE=
6239  EXEC_FALSE='#'
6240else
6241  EXEC_TRUE='#'
6242  EXEC_FALSE=
6243fi
6244
6245
6246
6247# Check whether --enable-exec was given.
6248if test "${enable_exec+set}" = set; then :
6249  enableval=$enable_exec;
6250fi
6251
6252
6253	if test x$enable_admin != xno
6254	then
6255		:
6256	else
6257
6258$as_echo "#define USE_NO_ADMIN 1" >>confdefs.h
6259
6260	fi
6261	 if test x$enable_admin != xno; then
6262  ADMIN_TRUE=
6263  ADMIN_FALSE='#'
6264else
6265  ADMIN_TRUE='#'
6266  ADMIN_FALSE=
6267fi
6268
6269
6270
6271# Check whether --enable-exec was given.
6272if test "${enable_exec+set}" = set; then :
6273  enableval=$enable_exec;
6274fi
6275
6276
6277	if test x$enable_auth != xno
6278	then
6279		:
6280	else
6281
6282$as_echo "#define USE_NO_AUTH 1" >>confdefs.h
6283
6284	fi
6285	 if test x$enable_auth != xno; then
6286  AUTH_TRUE=
6287  AUTH_FALSE='#'
6288else
6289  AUTH_TRUE='#'
6290  AUTH_FALSE=
6291fi
6292
6293	if test x$enable_auth = xno -a x$enable_pop != xno
6294	then
6295		as_fn_error $? "using --disable-auth requires --disable-pop" "$LINENO" 5
6296	fi
6297
6298
6299# Check whether --enable-exec was given.
6300if test "${enable_exec+set}" = set; then :
6301  enableval=$enable_exec;
6302fi
6303
6304
6305	 if test x$enable_dns != xno; then
6306  DNS_TRUE=
6307  DNS_FALSE='#'
6308else
6309  DNS_TRUE='#'
6310  DNS_FALSE=
6311fi
6312
6313
6314
6315# Check whether --enable-exec was given.
6316if test "${enable_exec+set}" = set; then :
6317  enableval=$enable_exec;
6318fi
6319
6320
6321	 if test x$enable_identity != xno; then
6322  IDENTITY_TRUE=
6323  IDENTITY_FALSE='#'
6324else
6325  IDENTITY_TRUE='#'
6326  IDENTITY_FALSE=
6327fi
6328
6329
6330
6331# Check whether --enable-exec was given.
6332if test "${enable_exec+set}" = set; then :
6333  enableval=$enable_exec;
6334fi
6335
6336
6337	if test x$enable_small_config = xyes
6338	then
6339
6340$as_echo "#define USE_SMALL_CONFIG 1" >>confdefs.h
6341
6342	else
6343		:
6344	fi
6345	 if test x$enable_small_config = xyes; then
6346  SMALL_CONFIG_TRUE=
6347  SMALL_CONFIG_FALSE='#'
6348else
6349  SMALL_CONFIG_TRUE='#'
6350  SMALL_CONFIG_FALSE=
6351fi
6352
6353
6354
6355# Check whether --enable-small_exceptions was given.
6356if test "${enable_small_exceptions+set}" = set; then :
6357  enableval=$enable_small_exceptions;
6358fi
6359
6360
6361	if test x$enable_small_exceptions = xyes
6362	then
6363
6364$as_echo "#define USE_SMALL_EXCEPTIONS 1" >>confdefs.h
6365
6366	else
6367		:
6368	fi
6369
6370
6371# Check whether --enable-proxy was given.
6372if test "${enable_proxy+set}" = set; then :
6373  enableval=$enable_proxy;
6374fi
6375
6376
6377	if test x$enable_proxy != xno
6378	then
6379		:
6380	else
6381
6382$as_echo "#define USE_NO_PROXY 1" >>confdefs.h
6383
6384	fi
6385	 if test x$enable_proxy != xno; then
6386  PROXY_TRUE=
6387  PROXY_FALSE='#'
6388else
6389  PROXY_TRUE='#'
6390  PROXY_FALSE=
6391fi
6392
6393
6394
6395# Check whether --enable-mac was given.
6396if test "${enable_mac+set}" = set; then :
6397  enableval=$enable_mac;
6398fi
6399
6400
6401	if test x$enable_mac = xyes -o "`uname`" = "Darwin"
6402	then
6403
6404$as_echo "#define G_MAC 1" >>confdefs.h
6405
6406	fi
6407	 if test x$enable_mac = xyes -o "`uname`" = "Darwin"; then
6408  MAC_TRUE=
6409  MAC_FALSE='#'
6410else
6411  MAC_TRUE='#'
6412  MAC_FALSE=
6413fi
6414
6415
6416
6417# Check whether --enable-testing was given.
6418if test "${enable_testing+set}" = set; then :
6419  enableval=$enable_testing;
6420fi
6421
6422
6423	 if test x$enable_testing != xno; then
6424  TESTING_TRUE=
6425  TESTING_FALSE='#'
6426else
6427  TESTING_TRUE='#'
6428  TESTING_FALSE=
6429fi
6430
6431
6432
6433
6434# Check whether --with-zlib was given.
6435if test "${with_zlib+set}" = set; then :
6436  withval=$with_zlib;
6437fi
6438
6439if test "$with_zlib" != "no"
6440then
6441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
6442$as_echo_n "checking for zlib... " >&6; }
6443if ${aclocal_cv_zlib+:} false; then :
6444  $as_echo_n "(cached) " >&6
6445else
6446
6447	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448/* end confdefs.h.  */
6449#include <zlib.h>
6450int
6451main ()
6452{
6453
6454  ;
6455  return 0;
6456}
6457_ACEOF
6458if ac_fn_cxx_try_compile "$LINENO"; then :
6459  aclocal_cv_zlib=yes
6460else
6461  aclocal_cv_zlib=no
6462fi
6463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6464
6465fi
6466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_zlib" >&5
6467$as_echo "$aclocal_cv_zlib" >&6; }
6468    if test "$aclocal_cv_zlib" = "yes"
6469	then
6470		ZLIB_LIBS="-lz"
6471
6472$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
6473
6474	else
6475		if test "$with_zlib" = "yes"
6476		then
6477			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring --with-zlib: check config.log and try setting CFLAGS" >&5
6478$as_echo "$as_me: WARNING: ignoring --with-zlib: check config.log and try setting CFLAGS" >&2;}
6479		fi
6480		ZLIB_LIBS=""
6481	fi
6482else
6483	ZLIB_LIBS=""
6484fi
6485
6486
6487
6488
6489# Check whether --with-doxygen was given.
6490if test "${with_doxygen+set}" = set; then :
6491  withval=$with_doxygen;
6492fi
6493
6494
6495	if test "$with_doxygen" != ""
6496	then
6497		if test "$with_doxygen" = "yes" -a "$HAVE_DOXYGEN" != "yes"
6498		then
6499			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: forcing use of doxygen even though not found" >&5
6500$as_echo "$as_me: WARNING: forcing use of doxygen even though not found" >&2;}
6501		fi
6502		HAVE_DOXYGEN="$with_doxygen"
6503	fi
6504
6505
6506
6507
6508# Check whether --with-man2html was given.
6509if test "${with_man2html+set}" = set; then :
6510  withval=$with_man2html;
6511fi
6512
6513
6514	if test "$with_man2html" != ""
6515	then
6516		if test "$with_man2html" = "yes" -a "$HAVE_MAN2HTML" != "yes"
6517		then
6518			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: forcing use of man2html even though not found" >&5
6519$as_echo "$as_me: WARNING: forcing use of man2html even though not found" >&2;}
6520		fi
6521		HAVE_MAN2HTML="$with_man2html"
6522	fi
6523
6524
6525
6526
6527# Check whether --with-openssl was given.
6528if test "${with_openssl+set}" = set; then :
6529  withval=$with_openssl;
6530fi
6531
6532if test "$with_openssl" != "no"
6533then
6534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
6535$as_echo_n "checking for openssl... " >&6; }
6536if ${aclocal_cv_openssl+:} false; then :
6537  $as_echo_n "(cached) " >&6
6538else
6539
6540	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541/* end confdefs.h.  */
6542#include <openssl/ssl.h>
6543int
6544main ()
6545{
6546SSL_CTX * p = 0 ; return 1;
6547  ;
6548  return 0;
6549}
6550_ACEOF
6551if ac_fn_cxx_try_compile "$LINENO"; then :
6552  aclocal_cv_openssl=yes
6553else
6554  aclocal_cv_openssl=no
6555fi
6556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6557
6558fi
6559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_openssl" >&5
6560$as_echo "$aclocal_cv_openssl" >&6; }
6561    if test "$aclocal_cv_openssl" = "yes"
6562	then
6563		SSL_LIBS="-lssl -lcrypto"
6564		aclocal_ssl="openssl"
6565	else
6566		if test "$with_openssl" = "yes"
6567		then
6568			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring --with-openssl: check config.log and try setting CFLAGS" >&5
6569$as_echo "$as_me: WARNING: ignoring --with-openssl: check config.log and try setting CFLAGS" >&2;}
6570		fi
6571		SSL_LIBS=""
6572		aclocal_ssl="none"
6573	fi
6574else
6575	SSL_LIBS=""
6576	aclocal_ssl="none"
6577fi
6578
6579 if test x$aclocal_ssl = xopenssl; then
6580  OPENSSL_TRUE=
6581  OPENSSL_FALSE='#'
6582else
6583  OPENSSL_TRUE='#'
6584  OPENSSL_FALSE=
6585fi
6586
6587
6588
6589
6590# Check whether --with-glob was given.
6591if test "${with_glob+set}" = set; then :
6592  withval=$with_glob;
6593fi
6594
6595if test "$with_glob" != "no"
6596then
6597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glob" >&5
6598$as_echo_n "checking for glob... " >&6; }
6599if ${aclocal_cv_have_glob+:} false; then :
6600  $as_echo_n "(cached) " >&6
6601else
6602
6603	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604/* end confdefs.h.  */
6605#include <glob.h>
6606int
6607main ()
6608{
6609glob_t * p = 0 ; globfree(p) ; return 1;
6610  ;
6611  return 0;
6612}
6613_ACEOF
6614if ac_fn_cxx_try_compile "$LINENO"; then :
6615  aclocal_cv_have_glob=yes
6616else
6617  aclocal_cv_have_glob=no
6618fi
6619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6620
6621fi
6622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aclocal_cv_have_glob" >&5
6623$as_echo "$aclocal_cv_have_glob" >&6; }
6624    if test "$aclocal_cv_have_glob" = "yes"
6625	then
6626		aclocal_use_glob="yes"
6627	else
6628		if test "$with_glob" = "yes"
6629		then
6630			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring --with-glob" >&5
6631$as_echo "$as_me: WARNING: ignoring --with-glob" >&2;}
6632		fi
6633		aclocal_use_glob="no"
6634	fi
6635else
6636    if test "$aclocal_cv_have_glob" = "yes"
6637	then
6638		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not using available glob()" >&5
6639$as_echo "$as_me: WARNING: not using available glob()" >&2;}
6640	fi
6641	aclocal_use_glob="no"
6642fi
6643 if test x$aclocal_use_glob = xyes; then
6644  GLOB_TRUE=
6645  GLOB_FALSE='#'
6646else
6647  GLOB_TRUE='#'
6648  GLOB_FALSE=
6649fi
6650
6651
6652
6653
6654# Check whether --with-pam was given.
6655if test "${with_pam+set}" = set; then :
6656  withval=$with_pam;
6657fi
6658
6659
6660	aclocal_cv_use_pam="$with_pam"
6661	if test "$aclocal_cv_use_pam" = ""
6662	then
6663		aclocal_cv_use_pam="$aclocal_cv_pam_compiles"
6664	fi
6665
6666	if test "$aclocal_cv_use_pam" = "yes"
6667	then
6668		if test "$aclocal_cv_pam_compiles" = "no"
6669		then
6670			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: forcing use of pam even though it does not seem to compile" >&5
6671$as_echo "$as_me: WARNING: forcing use of pam even though it does not seem to compile" >&2;}
6672		fi
6673
6674		PAM_LIBS="-lpam"
6675		if test "$aclocal_cv_pam_headers_in_pam" = "yes"
6676		then
6677			PAM_INCLUDE="-I/usr/include/pam"
6678		else
6679			PAM_INCLUDE="-I/usr/include/security"
6680		fi
6681	fi
6682
6683
6684	 if test x$aclocal_cv_use_pam = xyes; then
6685  PAM_TRUE=
6686  PAM_FALSE='#'
6687else
6688  PAM_TRUE='#'
6689  PAM_FALSE=
6690fi
6691
6692
6693
6694# Check whether --enable-static-linking was given.
6695if test "${enable_static_linking+set}" = set; then :
6696  enableval=$enable_static_linking;
6697fi
6698
6699
6700	if test "$enable_static_linking" = "yes"
6701	then
6702		STATIC_START="-Xlinker -Bstatic"
6703		STATIC_END="${ZLIB_LIBS} -Xlinker -Bdynamic -ldl"
6704	else
6705		STATIC_START=""
6706		STATIC_END=""
6707	fi
6708
6709
6710
6711
6712# Check whether --enable-install-hook was given.
6713if test "${enable_install_hook+set}" = set; then :
6714  enableval=$enable_install_hook;
6715fi
6716
6717
6718	 if test x$enable_install_hook != xno; then
6719  INSTALL_HOOK_TRUE=
6720  INSTALL_HOOK_FALSE='#'
6721else
6722  INSTALL_HOOK_TRUE='#'
6723  INSTALL_HOOK_FALSE=
6724fi
6725
6726
6727
6728
6729	# the following are used in the makefiles:
6730	# * sbindir
6731	# * e_libexecdir
6732	# * e_examplesdir
6733	# * e_sysconfdir
6734	# * e_pamdir
6735	# * mandir
6736	# * e_docdir
6737	# * e_spooldir
6738	# * e_initdir
6739	# * e_icondir
6740
6741	if test "$e_libexecdir" = ""
6742	then
6743		e_libexecdir="$libexecdir/$PACKAGE"
6744	fi
6745	if test "$e_examplesdir" = ""
6746	then
6747		e_examplesdir="$libexecdir/$PACKAGE/examples"
6748	fi
6749	if test "$e_sysconfdir" = ""
6750	then
6751		e_sysconfdir="$sysconfdir"
6752	fi
6753	if test "$e_docdir" = ""
6754	then
6755		e_docdir="$docdir"
6756		if test "$e_docdir" = ""
6757		then
6758			e_docdir="$datadir/$PACKAGE/doc"
6759		fi
6760	fi
6761	if test "$e_spooldir" = ""
6762	then
6763		e_spooldir="$localstatedir/spool/$PACKAGE"
6764	fi
6765	if test "$e_pamdir" = ""
6766	then
6767		e_pamdir="$sysconfdir/pam.d"
6768	fi
6769	if test "$e_initdir" = ""
6770	then
6771		e_initdir="$libexecdir/$PACKAGE/init"
6772	fi
6773	if test "$e_icondir" = ""
6774	then
6775		e_icondir="$datadir/$PACKAGE"
6776	fi
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787if test "$e_qtmoc" = "" ; then e_qtmoc="moc" ; fi
6788
6789ac_config_files="$ac_config_files Makefile src/Makefile src/glib/Makefile src/gssl/Makefile src/gnet/Makefile src/gauth/Makefile src/gsmtp/Makefile src/gpop/Makefile src/main/Makefile src/win32/Makefile src/gui/Makefile lib/Makefile lib/gcc2.95/Makefile lib/msvc6.0/Makefile bin/Makefile doc/Makefile etc/Makefile test/Makefile extra/Makefile debian/Makefile"
6790
6791cat >confcache <<\_ACEOF
6792# This file is a shell script that caches the results of configure
6793# tests run on this system so they can be shared between configure
6794# scripts and configure runs, see configure's option --config-cache.
6795# It is not useful on other systems.  If it contains results you don't
6796# want to keep, you may remove or edit it.
6797#
6798# config.status only pays attention to the cache file if you give it
6799# the --recheck option to rerun configure.
6800#
6801# `ac_cv_env_foo' variables (set or unset) will be overridden when
6802# loading this file, other *unset* `ac_cv_foo' will be assigned the
6803# following values.
6804
6805_ACEOF
6806
6807# The following way of writing the cache mishandles newlines in values,
6808# but we know of no workaround that is simple, portable, and efficient.
6809# So, we kill variables containing newlines.
6810# Ultrix sh set writes to stderr and can't be redirected directly,
6811# and sets the high bit in the cache file unless we assign to the vars.
6812(
6813  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6814    eval ac_val=\$$ac_var
6815    case $ac_val in #(
6816    *${as_nl}*)
6817      case $ac_var in #(
6818      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6819$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6820      esac
6821      case $ac_var in #(
6822      _ | IFS | as_nl) ;; #(
6823      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6824      *) { eval $ac_var=; unset $ac_var;} ;;
6825      esac ;;
6826    esac
6827  done
6828
6829  (set) 2>&1 |
6830    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6831    *${as_nl}ac_space=\ *)
6832      # `set' does not quote correctly, so add quotes: double-quote
6833      # substitution turns \\\\ into \\, and sed turns \\ into \.
6834      sed -n \
6835	"s/'/'\\\\''/g;
6836	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6837      ;; #(
6838    *)
6839      # `set' quotes correctly as required by POSIX, so do not add quotes.
6840      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6841      ;;
6842    esac |
6843    sort
6844) |
6845  sed '
6846     /^ac_cv_env_/b end
6847     t clear
6848     :clear
6849     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6850     t end
6851     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6852     :end' >>confcache
6853if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6854  if test -w "$cache_file"; then
6855    if test "x$cache_file" != "x/dev/null"; then
6856      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6857$as_echo "$as_me: updating cache $cache_file" >&6;}
6858      if test ! -f "$cache_file" || test -h "$cache_file"; then
6859	cat confcache >"$cache_file"
6860      else
6861        case $cache_file in #(
6862        */* | ?:*)
6863	  mv -f confcache "$cache_file"$$ &&
6864	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6865        *)
6866	  mv -f confcache "$cache_file" ;;
6867	esac
6868      fi
6869    fi
6870  else
6871    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6872$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6873  fi
6874fi
6875rm -f confcache
6876
6877test "x$prefix" = xNONE && prefix=$ac_default_prefix
6878# Let make expand exec_prefix.
6879test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6880
6881DEFS=-DHAVE_CONFIG_H
6882
6883ac_libobjs=
6884ac_ltlibobjs=
6885U=
6886for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6887  # 1. Remove the extension, and $U if already installed.
6888  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6889  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6890  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6891  #    will be set to the directory where LIBOBJS objects are built.
6892  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6893  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6894done
6895LIBOBJS=$ac_libobjs
6896
6897LTLIBOBJS=$ac_ltlibobjs
6898
6899
6900 if test -n "$EXEEXT"; then
6901  am__EXEEXT_TRUE=
6902  am__EXEEXT_FALSE='#'
6903else
6904  am__EXEEXT_TRUE='#'
6905  am__EXEEXT_FALSE=
6906fi
6907
6908if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6909  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6910Usually this means the macro was only invoked conditionally." "$LINENO" 5
6911fi
6912if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6913  as_fn_error $? "conditional \"AMDEP\" was never defined.
6914Usually this means the macro was only invoked conditionally." "$LINENO" 5
6915fi
6916if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6917  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6918Usually this means the macro was only invoked conditionally." "$LINENO" 5
6919fi
6920if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6921  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6922Usually this means the macro was only invoked conditionally." "$LINENO" 5
6923fi
6924if test -z "${IPV6_TRUE}" && test -z "${IPV6_FALSE}"; then
6925  as_fn_error $? "conditional \"IPV6\" was never defined.
6926Usually this means the macro was only invoked conditionally." "$LINENO" 5
6927fi
6928if test -z "${GUI_TRUE}" && test -z "${GUI_FALSE}"; then
6929  as_fn_error $? "conditional \"GUI\" was never defined.
6930Usually this means the macro was only invoked conditionally." "$LINENO" 5
6931fi
6932if test -z "${POP_TRUE}" && test -z "${POP_FALSE}"; then
6933  as_fn_error $? "conditional \"POP\" was never defined.
6934Usually this means the macro was only invoked conditionally." "$LINENO" 5
6935fi
6936if test -z "${EXEC_TRUE}" && test -z "${EXEC_FALSE}"; then
6937  as_fn_error $? "conditional \"EXEC\" was never defined.
6938Usually this means the macro was only invoked conditionally." "$LINENO" 5
6939fi
6940if test -z "${ADMIN_TRUE}" && test -z "${ADMIN_FALSE}"; then
6941  as_fn_error $? "conditional \"ADMIN\" was never defined.
6942Usually this means the macro was only invoked conditionally." "$LINENO" 5
6943fi
6944if test -z "${AUTH_TRUE}" && test -z "${AUTH_FALSE}"; then
6945  as_fn_error $? "conditional \"AUTH\" was never defined.
6946Usually this means the macro was only invoked conditionally." "$LINENO" 5
6947fi
6948if test -z "${DNS_TRUE}" && test -z "${DNS_FALSE}"; then
6949  as_fn_error $? "conditional \"DNS\" was never defined.
6950Usually this means the macro was only invoked conditionally." "$LINENO" 5
6951fi
6952if test -z "${IDENTITY_TRUE}" && test -z "${IDENTITY_FALSE}"; then
6953  as_fn_error $? "conditional \"IDENTITY\" was never defined.
6954Usually this means the macro was only invoked conditionally." "$LINENO" 5
6955fi
6956if test -z "${SMALL_CONFIG_TRUE}" && test -z "${SMALL_CONFIG_FALSE}"; then
6957  as_fn_error $? "conditional \"SMALL_CONFIG\" was never defined.
6958Usually this means the macro was only invoked conditionally." "$LINENO" 5
6959fi
6960if test -z "${PROXY_TRUE}" && test -z "${PROXY_FALSE}"; then
6961  as_fn_error $? "conditional \"PROXY\" was never defined.
6962Usually this means the macro was only invoked conditionally." "$LINENO" 5
6963fi
6964if test -z "${MAC_TRUE}" && test -z "${MAC_FALSE}"; then
6965  as_fn_error $? "conditional \"MAC\" was never defined.
6966Usually this means the macro was only invoked conditionally." "$LINENO" 5
6967fi
6968if test -z "${TESTING_TRUE}" && test -z "${TESTING_FALSE}"; then
6969  as_fn_error $? "conditional \"TESTING\" was never defined.
6970Usually this means the macro was only invoked conditionally." "$LINENO" 5
6971fi
6972if test -z "${OPENSSL_TRUE}" && test -z "${OPENSSL_FALSE}"; then
6973  as_fn_error $? "conditional \"OPENSSL\" was never defined.
6974Usually this means the macro was only invoked conditionally." "$LINENO" 5
6975fi
6976if test -z "${GLOB_TRUE}" && test -z "${GLOB_FALSE}"; then
6977  as_fn_error $? "conditional \"GLOB\" was never defined.
6978Usually this means the macro was only invoked conditionally." "$LINENO" 5
6979fi
6980if test -z "${PAM_TRUE}" && test -z "${PAM_FALSE}"; then
6981  as_fn_error $? "conditional \"PAM\" was never defined.
6982Usually this means the macro was only invoked conditionally." "$LINENO" 5
6983fi
6984if test -z "${INSTALL_HOOK_TRUE}" && test -z "${INSTALL_HOOK_FALSE}"; then
6985  as_fn_error $? "conditional \"INSTALL_HOOK\" was never defined.
6986Usually this means the macro was only invoked conditionally." "$LINENO" 5
6987fi
6988
6989: "${CONFIG_STATUS=./config.status}"
6990ac_write_fail=0
6991ac_clean_files_save=$ac_clean_files
6992ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6993{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6994$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6995as_write_fail=0
6996cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6997#! $SHELL
6998# Generated by $as_me.
6999# Run this file to recreate the current configuration.
7000# Compiler output produced by configure, useful for debugging
7001# configure, is in config.log if it exists.
7002
7003debug=false
7004ac_cs_recheck=false
7005ac_cs_silent=false
7006
7007SHELL=\${CONFIG_SHELL-$SHELL}
7008export SHELL
7009_ASEOF
7010cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7011## -------------------- ##
7012## M4sh Initialization. ##
7013## -------------------- ##
7014
7015# Be more Bourne compatible
7016DUALCASE=1; export DUALCASE # for MKS sh
7017if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7018  emulate sh
7019  NULLCMD=:
7020  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7021  # is contrary to our usage.  Disable this feature.
7022  alias -g '${1+"$@"}'='"$@"'
7023  setopt NO_GLOB_SUBST
7024else
7025  case `(set -o) 2>/dev/null` in #(
7026  *posix*) :
7027    set -o posix ;; #(
7028  *) :
7029     ;;
7030esac
7031fi
7032
7033
7034as_nl='
7035'
7036export as_nl
7037# Printing a long string crashes Solaris 7 /usr/bin/printf.
7038as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7039as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7040as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7041# Prefer a ksh shell builtin over an external printf program on Solaris,
7042# but without wasting forks for bash or zsh.
7043if test -z "$BASH_VERSION$ZSH_VERSION" \
7044    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7045  as_echo='print -r --'
7046  as_echo_n='print -rn --'
7047elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7048  as_echo='printf %s\n'
7049  as_echo_n='printf %s'
7050else
7051  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7052    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7053    as_echo_n='/usr/ucb/echo -n'
7054  else
7055    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7056    as_echo_n_body='eval
7057      arg=$1;
7058      case $arg in #(
7059      *"$as_nl"*)
7060	expr "X$arg" : "X\\(.*\\)$as_nl";
7061	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7062      esac;
7063      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7064    '
7065    export as_echo_n_body
7066    as_echo_n='sh -c $as_echo_n_body as_echo'
7067  fi
7068  export as_echo_body
7069  as_echo='sh -c $as_echo_body as_echo'
7070fi
7071
7072# The user is always right.
7073if test "${PATH_SEPARATOR+set}" != set; then
7074  PATH_SEPARATOR=:
7075  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7076    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7077      PATH_SEPARATOR=';'
7078  }
7079fi
7080
7081
7082# IFS
7083# We need space, tab and new line, in precisely that order.  Quoting is
7084# there to prevent editors from complaining about space-tab.
7085# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7086# splitting by setting IFS to empty value.)
7087IFS=" ""	$as_nl"
7088
7089# Find who we are.  Look in the path if we contain no directory separator.
7090as_myself=
7091case $0 in #((
7092  *[\\/]* ) as_myself=$0 ;;
7093  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094for as_dir in $PATH
7095do
7096  IFS=$as_save_IFS
7097  test -z "$as_dir" && as_dir=.
7098    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7099  done
7100IFS=$as_save_IFS
7101
7102     ;;
7103esac
7104# We did not find ourselves, most probably we were run as `sh COMMAND'
7105# in which case we are not to be found in the path.
7106if test "x$as_myself" = x; then
7107  as_myself=$0
7108fi
7109if test ! -f "$as_myself"; then
7110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7111  exit 1
7112fi
7113
7114# Unset variables that we do not need and which cause bugs (e.g. in
7115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7116# suppresses any "Segmentation fault" message there.  '((' could
7117# trigger a bug in pdksh 5.2.14.
7118for as_var in BASH_ENV ENV MAIL MAILPATH
7119do eval test x\${$as_var+set} = xset \
7120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7121done
7122PS1='$ '
7123PS2='> '
7124PS4='+ '
7125
7126# NLS nuisances.
7127LC_ALL=C
7128export LC_ALL
7129LANGUAGE=C
7130export LANGUAGE
7131
7132# CDPATH.
7133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7134
7135
7136# as_fn_error STATUS ERROR [LINENO LOG_FD]
7137# ----------------------------------------
7138# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7139# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7140# script with STATUS, using 1 if that was 0.
7141as_fn_error ()
7142{
7143  as_status=$1; test $as_status -eq 0 && as_status=1
7144  if test "$4"; then
7145    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7146    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7147  fi
7148  $as_echo "$as_me: error: $2" >&2
7149  as_fn_exit $as_status
7150} # as_fn_error
7151
7152
7153# as_fn_set_status STATUS
7154# -----------------------
7155# Set $? to STATUS, without forking.
7156as_fn_set_status ()
7157{
7158  return $1
7159} # as_fn_set_status
7160
7161# as_fn_exit STATUS
7162# -----------------
7163# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7164as_fn_exit ()
7165{
7166  set +e
7167  as_fn_set_status $1
7168  exit $1
7169} # as_fn_exit
7170
7171# as_fn_unset VAR
7172# ---------------
7173# Portably unset VAR.
7174as_fn_unset ()
7175{
7176  { eval $1=; unset $1;}
7177}
7178as_unset=as_fn_unset
7179# as_fn_append VAR VALUE
7180# ----------------------
7181# Append the text in VALUE to the end of the definition contained in VAR. Take
7182# advantage of any shell optimizations that allow amortized linear growth over
7183# repeated appends, instead of the typical quadratic growth present in naive
7184# implementations.
7185if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7186  eval 'as_fn_append ()
7187  {
7188    eval $1+=\$2
7189  }'
7190else
7191  as_fn_append ()
7192  {
7193    eval $1=\$$1\$2
7194  }
7195fi # as_fn_append
7196
7197# as_fn_arith ARG...
7198# ------------------
7199# Perform arithmetic evaluation on the ARGs, and store the result in the
7200# global $as_val. Take advantage of shells that can avoid forks. The arguments
7201# must be portable across $(()) and expr.
7202if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7203  eval 'as_fn_arith ()
7204  {
7205    as_val=$(( $* ))
7206  }'
7207else
7208  as_fn_arith ()
7209  {
7210    as_val=`expr "$@" || test $? -eq 1`
7211  }
7212fi # as_fn_arith
7213
7214
7215if expr a : '\(a\)' >/dev/null 2>&1 &&
7216   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7217  as_expr=expr
7218else
7219  as_expr=false
7220fi
7221
7222if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7223  as_basename=basename
7224else
7225  as_basename=false
7226fi
7227
7228if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7229  as_dirname=dirname
7230else
7231  as_dirname=false
7232fi
7233
7234as_me=`$as_basename -- "$0" ||
7235$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7236	 X"$0" : 'X\(//\)$' \| \
7237	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7238$as_echo X/"$0" |
7239    sed '/^.*\/\([^/][^/]*\)\/*$/{
7240	    s//\1/
7241	    q
7242	  }
7243	  /^X\/\(\/\/\)$/{
7244	    s//\1/
7245	    q
7246	  }
7247	  /^X\/\(\/\).*/{
7248	    s//\1/
7249	    q
7250	  }
7251	  s/.*/./; q'`
7252
7253# Avoid depending upon Character Ranges.
7254as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7255as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7256as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7257as_cr_digits='0123456789'
7258as_cr_alnum=$as_cr_Letters$as_cr_digits
7259
7260ECHO_C= ECHO_N= ECHO_T=
7261case `echo -n x` in #(((((
7262-n*)
7263  case `echo 'xy\c'` in
7264  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7265  xy)  ECHO_C='\c';;
7266  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7267       ECHO_T='	';;
7268  esac;;
7269*)
7270  ECHO_N='-n';;
7271esac
7272
7273rm -f conf$$ conf$$.exe conf$$.file
7274if test -d conf$$.dir; then
7275  rm -f conf$$.dir/conf$$.file
7276else
7277  rm -f conf$$.dir
7278  mkdir conf$$.dir 2>/dev/null
7279fi
7280if (echo >conf$$.file) 2>/dev/null; then
7281  if ln -s conf$$.file conf$$ 2>/dev/null; then
7282    as_ln_s='ln -s'
7283    # ... but there are two gotchas:
7284    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7285    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7286    # In both cases, we have to default to `cp -p'.
7287    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7288      as_ln_s='cp -p'
7289  elif ln conf$$.file conf$$ 2>/dev/null; then
7290    as_ln_s=ln
7291  else
7292    as_ln_s='cp -p'
7293  fi
7294else
7295  as_ln_s='cp -p'
7296fi
7297rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7298rmdir conf$$.dir 2>/dev/null
7299
7300
7301# as_fn_mkdir_p
7302# -------------
7303# Create "$as_dir" as a directory, including parents if necessary.
7304as_fn_mkdir_p ()
7305{
7306
7307  case $as_dir in #(
7308  -*) as_dir=./$as_dir;;
7309  esac
7310  test -d "$as_dir" || eval $as_mkdir_p || {
7311    as_dirs=
7312    while :; do
7313      case $as_dir in #(
7314      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7315      *) as_qdir=$as_dir;;
7316      esac
7317      as_dirs="'$as_qdir' $as_dirs"
7318      as_dir=`$as_dirname -- "$as_dir" ||
7319$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7320	 X"$as_dir" : 'X\(//\)[^/]' \| \
7321	 X"$as_dir" : 'X\(//\)$' \| \
7322	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7323$as_echo X"$as_dir" |
7324    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7325	    s//\1/
7326	    q
7327	  }
7328	  /^X\(\/\/\)[^/].*/{
7329	    s//\1/
7330	    q
7331	  }
7332	  /^X\(\/\/\)$/{
7333	    s//\1/
7334	    q
7335	  }
7336	  /^X\(\/\).*/{
7337	    s//\1/
7338	    q
7339	  }
7340	  s/.*/./; q'`
7341      test -d "$as_dir" && break
7342    done
7343    test -z "$as_dirs" || eval "mkdir $as_dirs"
7344  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7345
7346
7347} # as_fn_mkdir_p
7348if mkdir -p . 2>/dev/null; then
7349  as_mkdir_p='mkdir -p "$as_dir"'
7350else
7351  test -d ./-p && rmdir ./-p
7352  as_mkdir_p=false
7353fi
7354
7355if test -x / >/dev/null 2>&1; then
7356  as_test_x='test -x'
7357else
7358  if ls -dL / >/dev/null 2>&1; then
7359    as_ls_L_option=L
7360  else
7361    as_ls_L_option=
7362  fi
7363  as_test_x='
7364    eval sh -c '\''
7365      if test -d "$1"; then
7366	test -d "$1/.";
7367      else
7368	case $1 in #(
7369	-*)set "./$1";;
7370	esac;
7371	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7372	???[sx]*):;;*)false;;esac;fi
7373    '\'' sh
7374  '
7375fi
7376as_executable_p=$as_test_x
7377
7378# Sed expression to map a string onto a valid CPP name.
7379as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7380
7381# Sed expression to map a string onto a valid variable name.
7382as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7383
7384
7385exec 6>&1
7386## ----------------------------------- ##
7387## Main body of $CONFIG_STATUS script. ##
7388## ----------------------------------- ##
7389_ASEOF
7390test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7391
7392cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7393# Save the log message, to keep $0 and so on meaningful, and to
7394# report actual input values of CONFIG_FILES etc. instead of their
7395# values after options handling.
7396ac_log="
7397This file was extended by E-MailRelay $as_me 1.9, which was
7398generated by GNU Autoconf 2.68.  Invocation command line was
7399
7400  CONFIG_FILES    = $CONFIG_FILES
7401  CONFIG_HEADERS  = $CONFIG_HEADERS
7402  CONFIG_LINKS    = $CONFIG_LINKS
7403  CONFIG_COMMANDS = $CONFIG_COMMANDS
7404  $ $0 $@
7405
7406on `(hostname || uname -n) 2>/dev/null | sed 1q`
7407"
7408
7409_ACEOF
7410
7411case $ac_config_files in *"
7412"*) set x $ac_config_files; shift; ac_config_files=$*;;
7413esac
7414
7415case $ac_config_headers in *"
7416"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7417esac
7418
7419
7420cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7421# Files that config.status was made for.
7422config_files="$ac_config_files"
7423config_headers="$ac_config_headers"
7424config_commands="$ac_config_commands"
7425
7426_ACEOF
7427
7428cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7429ac_cs_usage="\
7430\`$as_me' instantiates files and other configuration actions
7431from templates according to the current configuration.  Unless the files
7432and actions are specified as TAGs, all are instantiated by default.
7433
7434Usage: $0 [OPTION]... [TAG]...
7435
7436  -h, --help       print this help, then exit
7437  -V, --version    print version number and configuration settings, then exit
7438      --config     print configuration, then exit
7439  -q, --quiet, --silent
7440                   do not print progress messages
7441  -d, --debug      don't remove temporary files
7442      --recheck    update $as_me by reconfiguring in the same conditions
7443      --file=FILE[:TEMPLATE]
7444                   instantiate the configuration file FILE
7445      --header=FILE[:TEMPLATE]
7446                   instantiate the configuration header FILE
7447
7448Configuration files:
7449$config_files
7450
7451Configuration headers:
7452$config_headers
7453
7454Configuration commands:
7455$config_commands
7456
7457Report bugs to the package provider."
7458
7459_ACEOF
7460cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7461ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7462ac_cs_version="\\
7463E-MailRelay config.status 1.9
7464configured by $0, generated by GNU Autoconf 2.68,
7465  with options \\"\$ac_cs_config\\"
7466
7467Copyright (C) 2010 Free Software Foundation, Inc.
7468This config.status script is free software; the Free Software Foundation
7469gives unlimited permission to copy, distribute and modify it."
7470
7471ac_pwd='$ac_pwd'
7472srcdir='$srcdir'
7473INSTALL='$INSTALL'
7474MKDIR_P='$MKDIR_P'
7475AWK='$AWK'
7476test -n "\$AWK" || AWK=awk
7477_ACEOF
7478
7479cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7480# The default lists apply if the user does not specify any file.
7481ac_need_defaults=:
7482while test $# != 0
7483do
7484  case $1 in
7485  --*=?*)
7486    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7487    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7488    ac_shift=:
7489    ;;
7490  --*=)
7491    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7492    ac_optarg=
7493    ac_shift=:
7494    ;;
7495  *)
7496    ac_option=$1
7497    ac_optarg=$2
7498    ac_shift=shift
7499    ;;
7500  esac
7501
7502  case $ac_option in
7503  # Handling of the options.
7504  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7505    ac_cs_recheck=: ;;
7506  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7507    $as_echo "$ac_cs_version"; exit ;;
7508  --config | --confi | --conf | --con | --co | --c )
7509    $as_echo "$ac_cs_config"; exit ;;
7510  --debug | --debu | --deb | --de | --d | -d )
7511    debug=: ;;
7512  --file | --fil | --fi | --f )
7513    $ac_shift
7514    case $ac_optarg in
7515    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7516    '') as_fn_error $? "missing file argument" ;;
7517    esac
7518    as_fn_append CONFIG_FILES " '$ac_optarg'"
7519    ac_need_defaults=false;;
7520  --header | --heade | --head | --hea )
7521    $ac_shift
7522    case $ac_optarg in
7523    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7524    esac
7525    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7526    ac_need_defaults=false;;
7527  --he | --h)
7528    # Conflict between --help and --header
7529    as_fn_error $? "ambiguous option: \`$1'
7530Try \`$0 --help' for more information.";;
7531  --help | --hel | -h )
7532    $as_echo "$ac_cs_usage"; exit ;;
7533  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7534  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7535    ac_cs_silent=: ;;
7536
7537  # This is an error.
7538  -*) as_fn_error $? "unrecognized option: \`$1'
7539Try \`$0 --help' for more information." ;;
7540
7541  *) as_fn_append ac_config_targets " $1"
7542     ac_need_defaults=false ;;
7543
7544  esac
7545  shift
7546done
7547
7548ac_configure_extra_args=
7549
7550if $ac_cs_silent; then
7551  exec 6>/dev/null
7552  ac_configure_extra_args="$ac_configure_extra_args --silent"
7553fi
7554
7555_ACEOF
7556cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7557if \$ac_cs_recheck; then
7558  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7559  shift
7560  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7561  CONFIG_SHELL='$SHELL'
7562  export CONFIG_SHELL
7563  exec "\$@"
7564fi
7565
7566_ACEOF
7567cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7568exec 5>>config.log
7569{
7570  echo
7571  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7572## Running $as_me. ##
7573_ASBOX
7574  $as_echo "$ac_log"
7575} >&5
7576
7577_ACEOF
7578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7579#
7580# INIT-COMMANDS
7581#
7582AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7583
7584_ACEOF
7585
7586cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7587
7588# Handling of arguments.
7589for ac_config_target in $ac_config_targets
7590do
7591  case $ac_config_target in
7592    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7593    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7594    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7595    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7596    "src/glib/Makefile") CONFIG_FILES="$CONFIG_FILES src/glib/Makefile" ;;
7597    "src/gssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/gssl/Makefile" ;;
7598    "src/gnet/Makefile") CONFIG_FILES="$CONFIG_FILES src/gnet/Makefile" ;;
7599    "src/gauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/gauth/Makefile" ;;
7600    "src/gsmtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/gsmtp/Makefile" ;;
7601    "src/gpop/Makefile") CONFIG_FILES="$CONFIG_FILES src/gpop/Makefile" ;;
7602    "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
7603    "src/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/win32/Makefile" ;;
7604    "src/gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;;
7605    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7606    "lib/gcc2.95/Makefile") CONFIG_FILES="$CONFIG_FILES lib/gcc2.95/Makefile" ;;
7607    "lib/msvc6.0/Makefile") CONFIG_FILES="$CONFIG_FILES lib/msvc6.0/Makefile" ;;
7608    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
7609    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7610    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
7611    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
7612    "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
7613    "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
7614
7615  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7616  esac
7617done
7618
7619
7620# If the user did not use the arguments to specify the items to instantiate,
7621# then the envvar interface is used.  Set only those that are not.
7622# We use the long form for the default assignment because of an extremely
7623# bizarre bug on SunOS 4.1.3.
7624if $ac_need_defaults; then
7625  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7626  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7627  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7628fi
7629
7630# Have a temporary directory for convenience.  Make it in the build tree
7631# simply because there is no reason against having it here, and in addition,
7632# creating and moving files from /tmp can sometimes cause problems.
7633# Hook for its removal unless debugging.
7634# Note that there is a small window in which the directory will not be cleaned:
7635# after its creation but before its name has been assigned to `$tmp'.
7636$debug ||
7637{
7638  tmp= ac_tmp=
7639  trap 'exit_status=$?
7640  : "${ac_tmp:=$tmp}"
7641  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7642' 0
7643  trap 'as_fn_exit 1' 1 2 13 15
7644}
7645# Create a (secure) tmp directory for tmp files.
7646
7647{
7648  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7649  test -d "$tmp"
7650}  ||
7651{
7652  tmp=./conf$$-$RANDOM
7653  (umask 077 && mkdir "$tmp")
7654} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7655ac_tmp=$tmp
7656
7657# Set up the scripts for CONFIG_FILES section.
7658# No need to generate them if there are no CONFIG_FILES.
7659# This happens for instance with `./config.status config.h'.
7660if test -n "$CONFIG_FILES"; then
7661
7662
7663ac_cr=`echo X | tr X '\015'`
7664# On cygwin, bash can eat \r inside `` if the user requested igncr.
7665# But we know of no other shell where ac_cr would be empty at this
7666# point, so we can use a bashism as a fallback.
7667if test "x$ac_cr" = x; then
7668  eval ac_cr=\$\'\\r\'
7669fi
7670ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7671if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7672  ac_cs_awk_cr='\\r'
7673else
7674  ac_cs_awk_cr=$ac_cr
7675fi
7676
7677echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7678_ACEOF
7679
7680
7681{
7682  echo "cat >conf$$subs.awk <<_ACEOF" &&
7683  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7684  echo "_ACEOF"
7685} >conf$$subs.sh ||
7686  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7687ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7688ac_delim='%!_!# '
7689for ac_last_try in false false false false false :; do
7690  . ./conf$$subs.sh ||
7691    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7692
7693  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7694  if test $ac_delim_n = $ac_delim_num; then
7695    break
7696  elif $ac_last_try; then
7697    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7698  else
7699    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7700  fi
7701done
7702rm -f conf$$subs.sh
7703
7704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7705cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7706_ACEOF
7707sed -n '
7708h
7709s/^/S["/; s/!.*/"]=/
7710p
7711g
7712s/^[^!]*!//
7713:repl
7714t repl
7715s/'"$ac_delim"'$//
7716t delim
7717:nl
7718h
7719s/\(.\{148\}\)..*/\1/
7720t more1
7721s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7722p
7723n
7724b repl
7725:more1
7726s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7727p
7728g
7729s/.\{148\}//
7730t nl
7731:delim
7732h
7733s/\(.\{148\}\)..*/\1/
7734t more2
7735s/["\\]/\\&/g; s/^/"/; s/$/"/
7736p
7737b
7738:more2
7739s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7740p
7741g
7742s/.\{148\}//
7743t delim
7744' <conf$$subs.awk | sed '
7745/^[^""]/{
7746  N
7747  s/\n//
7748}
7749' >>$CONFIG_STATUS || ac_write_fail=1
7750rm -f conf$$subs.awk
7751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7752_ACAWK
7753cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7754  for (key in S) S_is_set[key] = 1
7755  FS = ""
7756
7757}
7758{
7759  line = $ 0
7760  nfields = split(line, field, "@")
7761  substed = 0
7762  len = length(field[1])
7763  for (i = 2; i < nfields; i++) {
7764    key = field[i]
7765    keylen = length(key)
7766    if (S_is_set[key]) {
7767      value = S[key]
7768      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7769      len += length(value) + length(field[++i])
7770      substed = 1
7771    } else
7772      len += 1 + keylen
7773  }
7774
7775  print line
7776}
7777
7778_ACAWK
7779_ACEOF
7780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7781if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7782  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7783else
7784  cat
7785fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7786  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7787_ACEOF
7788
7789# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7790# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7791# trailing colons and then remove the whole line if VPATH becomes empty
7792# (actually we leave an empty line to preserve line numbers).
7793if test "x$srcdir" = x.; then
7794  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
7795h
7796s///
7797s/^/:/
7798s/[	 ]*$/:/
7799s/:\$(srcdir):/:/g
7800s/:\${srcdir}:/:/g
7801s/:@srcdir@:/:/g
7802s/^:*//
7803s/:*$//
7804x
7805s/\(=[	 ]*\).*/\1/
7806G
7807s/\n//
7808s/^[^=]*=[	 ]*$//
7809}'
7810fi
7811
7812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7813fi # test -n "$CONFIG_FILES"
7814
7815# Set up the scripts for CONFIG_HEADERS section.
7816# No need to generate them if there are no CONFIG_HEADERS.
7817# This happens for instance with `./config.status Makefile'.
7818if test -n "$CONFIG_HEADERS"; then
7819cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7820BEGIN {
7821_ACEOF
7822
7823# Transform confdefs.h into an awk script `defines.awk', embedded as
7824# here-document in config.status, that substitutes the proper values into
7825# config.h.in to produce config.h.
7826
7827# Create a delimiter string that does not exist in confdefs.h, to ease
7828# handling of long lines.
7829ac_delim='%!_!# '
7830for ac_last_try in false false :; do
7831  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7832  if test -z "$ac_tt"; then
7833    break
7834  elif $ac_last_try; then
7835    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7836  else
7837    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7838  fi
7839done
7840
7841# For the awk script, D is an array of macro values keyed by name,
7842# likewise P contains macro parameters if any.  Preserve backslash
7843# newline sequences.
7844
7845ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7846sed -n '
7847s/.\{148\}/&'"$ac_delim"'/g
7848t rset
7849:rset
7850s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
7851t def
7852d
7853:def
7854s/\\$//
7855t bsnl
7856s/["\\]/\\&/g
7857s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7858D["\1"]=" \3"/p
7859s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
7860d
7861:bsnl
7862s/["\\]/\\&/g
7863s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7864D["\1"]=" \3\\\\\\n"\\/p
7865t cont
7866s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7867t cont
7868d
7869:cont
7870n
7871s/.\{148\}/&'"$ac_delim"'/g
7872t clear
7873:clear
7874s/\\$//
7875t bsnlc
7876s/["\\]/\\&/g; s/^/"/; s/$/"/p
7877d
7878:bsnlc
7879s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7880b cont
7881' <confdefs.h | sed '
7882s/'"$ac_delim"'/"\\\
7883"/g' >>$CONFIG_STATUS || ac_write_fail=1
7884
7885cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7886  for (key in D) D_is_set[key] = 1
7887  FS = ""
7888}
7889/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7890  line = \$ 0
7891  split(line, arg, " ")
7892  if (arg[1] == "#") {
7893    defundef = arg[2]
7894    mac1 = arg[3]
7895  } else {
7896    defundef = substr(arg[1], 2)
7897    mac1 = arg[2]
7898  }
7899  split(mac1, mac2, "(") #)
7900  macro = mac2[1]
7901  prefix = substr(line, 1, index(line, defundef) - 1)
7902  if (D_is_set[macro]) {
7903    # Preserve the white space surrounding the "#".
7904    print prefix "define", macro P[macro] D[macro]
7905    next
7906  } else {
7907    # Replace #undef with comments.  This is necessary, for example,
7908    # in the case of _POSIX_SOURCE, which is predefined and required
7909    # on some systems where configure will not decide to define it.
7910    if (defundef == "undef") {
7911      print "/*", prefix defundef, macro, "*/"
7912      next
7913    }
7914  }
7915}
7916{ print }
7917_ACAWK
7918_ACEOF
7919cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7920  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7921fi # test -n "$CONFIG_HEADERS"
7922
7923
7924eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
7925shift
7926for ac_tag
7927do
7928  case $ac_tag in
7929  :[FHLC]) ac_mode=$ac_tag; continue;;
7930  esac
7931  case $ac_mode$ac_tag in
7932  :[FHL]*:*);;
7933  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7934  :[FH]-) ac_tag=-:-;;
7935  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7936  esac
7937  ac_save_IFS=$IFS
7938  IFS=:
7939  set x $ac_tag
7940  IFS=$ac_save_IFS
7941  shift
7942  ac_file=$1
7943  shift
7944
7945  case $ac_mode in
7946  :L) ac_source=$1;;
7947  :[FH])
7948    ac_file_inputs=
7949    for ac_f
7950    do
7951      case $ac_f in
7952      -) ac_f="$ac_tmp/stdin";;
7953      *) # Look for the file first in the build tree, then in the source tree
7954	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7955	 # because $ac_f cannot contain `:'.
7956	 test -f "$ac_f" ||
7957	   case $ac_f in
7958	   [\\/$]*) false;;
7959	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7960	   esac ||
7961	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7962      esac
7963      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7964      as_fn_append ac_file_inputs " '$ac_f'"
7965    done
7966
7967    # Let's still pretend it is `configure' which instantiates (i.e., don't
7968    # use $as_me), people would be surprised to read:
7969    #    /* config.h.  Generated by config.status.  */
7970    configure_input='Generated from '`
7971	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7972	`' by configure.'
7973    if test x"$ac_file" != x-; then
7974      configure_input="$ac_file.  $configure_input"
7975      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7976$as_echo "$as_me: creating $ac_file" >&6;}
7977    fi
7978    # Neutralize special characters interpreted by sed in replacement strings.
7979    case $configure_input in #(
7980    *\&* | *\|* | *\\* )
7981       ac_sed_conf_input=`$as_echo "$configure_input" |
7982       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7983    *) ac_sed_conf_input=$configure_input;;
7984    esac
7985
7986    case $ac_tag in
7987    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7988      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7989    esac
7990    ;;
7991  esac
7992
7993  ac_dir=`$as_dirname -- "$ac_file" ||
7994$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7995	 X"$ac_file" : 'X\(//\)[^/]' \| \
7996	 X"$ac_file" : 'X\(//\)$' \| \
7997	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7998$as_echo X"$ac_file" |
7999    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8000	    s//\1/
8001	    q
8002	  }
8003	  /^X\(\/\/\)[^/].*/{
8004	    s//\1/
8005	    q
8006	  }
8007	  /^X\(\/\/\)$/{
8008	    s//\1/
8009	    q
8010	  }
8011	  /^X\(\/\).*/{
8012	    s//\1/
8013	    q
8014	  }
8015	  s/.*/./; q'`
8016  as_dir="$ac_dir"; as_fn_mkdir_p
8017  ac_builddir=.
8018
8019case "$ac_dir" in
8020.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8021*)
8022  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8023  # A ".." for each directory in $ac_dir_suffix.
8024  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8025  case $ac_top_builddir_sub in
8026  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8027  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8028  esac ;;
8029esac
8030ac_abs_top_builddir=$ac_pwd
8031ac_abs_builddir=$ac_pwd$ac_dir_suffix
8032# for backward compatibility:
8033ac_top_builddir=$ac_top_build_prefix
8034
8035case $srcdir in
8036  .)  # We are building in place.
8037    ac_srcdir=.
8038    ac_top_srcdir=$ac_top_builddir_sub
8039    ac_abs_top_srcdir=$ac_pwd ;;
8040  [\\/]* | ?:[\\/]* )  # Absolute name.
8041    ac_srcdir=$srcdir$ac_dir_suffix;
8042    ac_top_srcdir=$srcdir
8043    ac_abs_top_srcdir=$srcdir ;;
8044  *) # Relative name.
8045    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8046    ac_top_srcdir=$ac_top_build_prefix$srcdir
8047    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8048esac
8049ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8050
8051
8052  case $ac_mode in
8053  :F)
8054  #
8055  # CONFIG_FILE
8056  #
8057
8058  case $INSTALL in
8059  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8060  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8061  esac
8062  ac_MKDIR_P=$MKDIR_P
8063  case $MKDIR_P in
8064  [\\/$]* | ?:[\\/]* ) ;;
8065  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8066  esac
8067_ACEOF
8068
8069cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8070# If the template does not know about datarootdir, expand it.
8071# FIXME: This hack should be removed a few years after 2.60.
8072ac_datarootdir_hack=; ac_datarootdir_seen=
8073ac_sed_dataroot='
8074/datarootdir/ {
8075  p
8076  q
8077}
8078/@datadir@/p
8079/@docdir@/p
8080/@infodir@/p
8081/@localedir@/p
8082/@mandir@/p'
8083case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8084*datarootdir*) ac_datarootdir_seen=yes;;
8085*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8086  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8087$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8088_ACEOF
8089cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8090  ac_datarootdir_hack='
8091  s&@datadir@&$datadir&g
8092  s&@docdir@&$docdir&g
8093  s&@infodir@&$infodir&g
8094  s&@localedir@&$localedir&g
8095  s&@mandir@&$mandir&g
8096  s&\\\${datarootdir}&$datarootdir&g' ;;
8097esac
8098_ACEOF
8099
8100# Neutralize VPATH when `$srcdir' = `.'.
8101# Shell code in configure.ac might set extrasub.
8102# FIXME: do we really want to maintain this feature?
8103cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8104ac_sed_extra="$ac_vpsub
8105$extrasub
8106_ACEOF
8107cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8108:t
8109/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8110s|@configure_input@|$ac_sed_conf_input|;t t
8111s&@top_builddir@&$ac_top_builddir_sub&;t t
8112s&@top_build_prefix@&$ac_top_build_prefix&;t t
8113s&@srcdir@&$ac_srcdir&;t t
8114s&@abs_srcdir@&$ac_abs_srcdir&;t t
8115s&@top_srcdir@&$ac_top_srcdir&;t t
8116s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8117s&@builddir@&$ac_builddir&;t t
8118s&@abs_builddir@&$ac_abs_builddir&;t t
8119s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8120s&@INSTALL@&$ac_INSTALL&;t t
8121s&@MKDIR_P@&$ac_MKDIR_P&;t t
8122$ac_datarootdir_hack
8123"
8124eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8125  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8126
8127test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8128  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8129  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8130      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8131  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8132which seems to be undefined.  Please make sure it is defined" >&5
8133$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8134which seems to be undefined.  Please make sure it is defined" >&2;}
8135
8136  rm -f "$ac_tmp/stdin"
8137  case $ac_file in
8138  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8139  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8140  esac \
8141  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8142 ;;
8143  :H)
8144  #
8145  # CONFIG_HEADER
8146  #
8147  if test x"$ac_file" != x-; then
8148    {
8149      $as_echo "/* $configure_input  */" \
8150      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8151    } >"$ac_tmp/config.h" \
8152      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8153    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8154      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8155$as_echo "$as_me: $ac_file is unchanged" >&6;}
8156    else
8157      rm -f "$ac_file"
8158      mv "$ac_tmp/config.h" "$ac_file" \
8159	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8160    fi
8161  else
8162    $as_echo "/* $configure_input  */" \
8163      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8164      || as_fn_error $? "could not create -" "$LINENO" 5
8165  fi
8166# Compute "$ac_file"'s index in $config_headers.
8167_am_arg="$ac_file"
8168_am_stamp_count=1
8169for _am_header in $config_headers :; do
8170  case $_am_header in
8171    $_am_arg | $_am_arg:* )
8172      break ;;
8173    * )
8174      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8175  esac
8176done
8177echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8178$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8179	 X"$_am_arg" : 'X\(//\)[^/]' \| \
8180	 X"$_am_arg" : 'X\(//\)$' \| \
8181	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8182$as_echo X"$_am_arg" |
8183    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8184	    s//\1/
8185	    q
8186	  }
8187	  /^X\(\/\/\)[^/].*/{
8188	    s//\1/
8189	    q
8190	  }
8191	  /^X\(\/\/\)$/{
8192	    s//\1/
8193	    q
8194	  }
8195	  /^X\(\/\).*/{
8196	    s//\1/
8197	    q
8198	  }
8199	  s/.*/./; q'`/stamp-h$_am_stamp_count
8200 ;;
8201
8202  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8203$as_echo "$as_me: executing $ac_file commands" >&6;}
8204 ;;
8205  esac
8206
8207
8208  case $ac_file$ac_mode in
8209    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8210  # Autoconf 2.62 quotes --file arguments for eval, but not when files
8211  # are listed without --file.  Let's play safe and only enable the eval
8212  # if we detect the quoting.
8213  case $CONFIG_FILES in
8214  *\'*) eval set x "$CONFIG_FILES" ;;
8215  *)   set x $CONFIG_FILES ;;
8216  esac
8217  shift
8218  for mf
8219  do
8220    # Strip MF so we end up with the name of the file.
8221    mf=`echo "$mf" | sed -e 's/:.*$//'`
8222    # Check whether this is an Automake generated Makefile or not.
8223    # We used to match only the files named `Makefile.in', but
8224    # some people rename them; so instead we look at the file content.
8225    # Grep'ing the first line is not enough: some people post-process
8226    # each Makefile.in and add a new line on top of each file to say so.
8227    # Grep'ing the whole file is not good either: AIX grep has a line
8228    # limit of 2048, but all sed's we know have understand at least 4000.
8229    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8230      dirpart=`$as_dirname -- "$mf" ||
8231$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8232	 X"$mf" : 'X\(//\)[^/]' \| \
8233	 X"$mf" : 'X\(//\)$' \| \
8234	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8235$as_echo X"$mf" |
8236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8237	    s//\1/
8238	    q
8239	  }
8240	  /^X\(\/\/\)[^/].*/{
8241	    s//\1/
8242	    q
8243	  }
8244	  /^X\(\/\/\)$/{
8245	    s//\1/
8246	    q
8247	  }
8248	  /^X\(\/\).*/{
8249	    s//\1/
8250	    q
8251	  }
8252	  s/.*/./; q'`
8253    else
8254      continue
8255    fi
8256    # Extract the definition of DEPDIR, am__include, and am__quote
8257    # from the Makefile without running `make'.
8258    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8259    test -z "$DEPDIR" && continue
8260    am__include=`sed -n 's/^am__include = //p' < "$mf"`
8261    test -z "am__include" && continue
8262    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8263    # When using ansi2knr, U may be empty or an underscore; expand it
8264    U=`sed -n 's/^U = //p' < "$mf"`
8265    # Find all dependency output files, they are included files with
8266    # $(DEPDIR) in their names.  We invoke sed twice because it is the
8267    # simplest approach to changing $(DEPDIR) to its actual value in the
8268    # expansion.
8269    for file in `sed -n "
8270      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8271	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8272      # Make sure the directory exists.
8273      test -f "$dirpart/$file" && continue
8274      fdir=`$as_dirname -- "$file" ||
8275$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8276	 X"$file" : 'X\(//\)[^/]' \| \
8277	 X"$file" : 'X\(//\)$' \| \
8278	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8279$as_echo X"$file" |
8280    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8281	    s//\1/
8282	    q
8283	  }
8284	  /^X\(\/\/\)[^/].*/{
8285	    s//\1/
8286	    q
8287	  }
8288	  /^X\(\/\/\)$/{
8289	    s//\1/
8290	    q
8291	  }
8292	  /^X\(\/\).*/{
8293	    s//\1/
8294	    q
8295	  }
8296	  s/.*/./; q'`
8297      as_dir=$dirpart/$fdir; as_fn_mkdir_p
8298      # echo "creating $dirpart/$file"
8299      echo '# dummy' > "$dirpart/$file"
8300    done
8301  done
8302}
8303 ;;
8304
8305  esac
8306done # for ac_tag
8307
8308
8309as_fn_exit 0
8310_ACEOF
8311ac_clean_files=$ac_clean_files_save
8312
8313test $ac_write_fail = 0 ||
8314  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8315
8316
8317# configure is writing to config.log, and then calls config.status.
8318# config.status does its own redirection, appending to config.log.
8319# Unfortunately, on DOS this fails, as config.log is still kept open
8320# by configure, so config.status won't be able to write to it; its
8321# output is simply discarded.  So we exec the FD to /dev/null,
8322# effectively closing config.log, so it can be properly (re)opened and
8323# appended to by config.status.  When coming back to configure, we
8324# need to make the FD available again.
8325if test "$no_create" != yes; then
8326  ac_cs_success=:
8327  ac_config_status_args=
8328  test "$silent" = yes &&
8329    ac_config_status_args="$ac_config_status_args --quiet"
8330  exec 5>/dev/null
8331  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8332  exec 5>>config.log
8333  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8334  # would make configure fail if this is the last instruction.
8335  $ac_cs_success || as_fn_exit 1
8336fi
8337if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8338  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8339$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8340fi
8341
8342
8343