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