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