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