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