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