xref: /mOS-networking-stack/scripts/configure (revision 91df013f)
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for mos_release version-0.3.
4#
5# Report bugs to <[email protected]>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software 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
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell [email protected] and
270$0: [email protected] about your system, including
271$0: any error possibly output before this message. Then
272$0: install a modern shell, or manually run the script
273$0: under such a shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='mos_release'
582PACKAGE_TARNAME='mos_release'
583PACKAGE_VERSION='version-0.3'
584PACKAGE_STRING='mos_release version-0.3'
585PACKAGE_BUGREPORT='[email protected]'
586PACKAGE_URL=''
587
588enable_option_checking=no
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_subst_vars='LTLIBOBJS
626PCAP
627NETMAP
628PSIO
629DPDK
630LIBOBJS
631EGREP
632GREP
633CPP
634RANLIB
635OBJEXT
636EXEEXT
637ac_ct_CC
638CPPFLAGS
639LDFLAGS
640CFLAGS
641CC
642target_alias
643host_alias
644build_alias
645LIBS
646ECHO_T
647ECHO_N
648ECHO_C
649DEFS
650mandir
651localedir
652libdir
653psdir
654pdfdir
655dvidir
656htmldir
657infodir
658docdir
659oldincludedir
660includedir
661localstatedir
662sharedstatedir
663sysconfdir
664datadir
665datarootdir
666libexecdir
667sbindir
668bindir
669program_transform_name
670prefix
671exec_prefix
672PACKAGE_URL
673PACKAGE_BUGREPORT
674PACKAGE_STRING
675PACKAGE_VERSION
676PACKAGE_TARNAME
677PACKAGE_NAME
678PATH_SEPARATOR
679SHELL'
680ac_subst_files=''
681ac_user_opts='
682enable_option_checking
683enable_dpdk
684enable_netmap
685enable_psio
686'
687      ac_precious_vars='build_alias
688host_alias
689target_alias
690CC
691CFLAGS
692LDFLAGS
693LIBS
694CPPFLAGS
695CPP'
696
697
698# Initialize some variables set by options.
699ac_init_help=
700ac_init_version=false
701ac_unrecognized_opts=
702ac_unrecognized_sep=
703# The variables have the same names as the options, with
704# dashes changed to underlines.
705cache_file=/dev/null
706exec_prefix=NONE
707no_create=
708no_recursion=
709prefix=NONE
710program_prefix=NONE
711program_suffix=NONE
712program_transform_name=s,x,x,
713silent=
714site=
715srcdir=
716verbose=
717x_includes=NONE
718x_libraries=NONE
719
720# Installation directory options.
721# These are left unexpanded so users can "make install exec_prefix=/foo"
722# and all the variables that are supposed to be based on exec_prefix
723# by default will actually change.
724# Use braces instead of parens because sh, perl, etc. also accept them.
725# (The list follows the same order as the GNU Coding Standards.)
726bindir='${exec_prefix}/bin'
727sbindir='${exec_prefix}/sbin'
728libexecdir='${exec_prefix}/libexec'
729datarootdir='${prefix}/share'
730datadir='${datarootdir}'
731sysconfdir='${prefix}/etc'
732sharedstatedir='${prefix}/com'
733localstatedir='${prefix}/var'
734includedir='${prefix}/include'
735oldincludedir='/usr/include'
736docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
737infodir='${datarootdir}/info'
738htmldir='${docdir}'
739dvidir='${docdir}'
740pdfdir='${docdir}'
741psdir='${docdir}'
742libdir='${exec_prefix}/lib'
743localedir='${datarootdir}/locale'
744mandir='${datarootdir}/man'
745
746ac_prev=
747ac_dashdash=
748for ac_option
749do
750  # If the previous option needs an argument, assign it.
751  if test -n "$ac_prev"; then
752    eval $ac_prev=\$ac_option
753    ac_prev=
754    continue
755  fi
756
757  case $ac_option in
758  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
759  *=)   ac_optarg= ;;
760  *)    ac_optarg=yes ;;
761  esac
762
763  # Accept the important Cygnus configure options, so we can diagnose typos.
764
765  case $ac_dashdash$ac_option in
766  --)
767    ac_dashdash=yes ;;
768
769  -bindir | --bindir | --bindi | --bind | --bin | --bi)
770    ac_prev=bindir ;;
771  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
772    bindir=$ac_optarg ;;
773
774  -build | --build | --buil | --bui | --bu)
775    ac_prev=build_alias ;;
776  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
777    build_alias=$ac_optarg ;;
778
779  -cache-file | --cache-file | --cache-fil | --cache-fi \
780  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
781    ac_prev=cache_file ;;
782  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
783  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
784    cache_file=$ac_optarg ;;
785
786  --config-cache | -C)
787    cache_file=config.cache ;;
788
789  -datadir | --datadir | --datadi | --datad)
790    ac_prev=datadir ;;
791  -datadir=* | --datadir=* | --datadi=* | --datad=*)
792    datadir=$ac_optarg ;;
793
794  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
795  | --dataroo | --dataro | --datar)
796    ac_prev=datarootdir ;;
797  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
798  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
799    datarootdir=$ac_optarg ;;
800
801  -disable-* | --disable-*)
802    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803    # Reject names that are not valid shell variable names.
804    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805      as_fn_error $? "invalid feature name: $ac_useropt"
806    ac_useropt_orig=$ac_useropt
807    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
808    case $ac_user_opts in
809      *"
810"enable_$ac_useropt"
811"*) ;;
812      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
813	 ac_unrecognized_sep=', ';;
814    esac
815    eval enable_$ac_useropt=no ;;
816
817  -docdir | --docdir | --docdi | --doc | --do)
818    ac_prev=docdir ;;
819  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820    docdir=$ac_optarg ;;
821
822  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823    ac_prev=dvidir ;;
824  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825    dvidir=$ac_optarg ;;
826
827  -enable-* | --enable-*)
828    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829    # Reject names that are not valid shell variable names.
830    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
831      as_fn_error $? "invalid feature name: $ac_useropt"
832    ac_useropt_orig=$ac_useropt
833    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
834    case $ac_user_opts in
835      *"
836"enable_$ac_useropt"
837"*) ;;
838      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839	 ac_unrecognized_sep=', ';;
840    esac
841    eval enable_$ac_useropt=\$ac_optarg ;;
842
843  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
844  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
845  | --exec | --exe | --ex)
846    ac_prev=exec_prefix ;;
847  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
848  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
849  | --exec=* | --exe=* | --ex=*)
850    exec_prefix=$ac_optarg ;;
851
852  -gas | --gas | --ga | --g)
853    # Obsolete; use --with-gas.
854    with_gas=yes ;;
855
856  -help | --help | --hel | --he | -h)
857    ac_init_help=long ;;
858  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
859    ac_init_help=recursive ;;
860  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
861    ac_init_help=short ;;
862
863  -host | --host | --hos | --ho)
864    ac_prev=host_alias ;;
865  -host=* | --host=* | --hos=* | --ho=*)
866    host_alias=$ac_optarg ;;
867
868  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
869    ac_prev=htmldir ;;
870  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
871  | --ht=*)
872    htmldir=$ac_optarg ;;
873
874  -includedir | --includedir | --includedi | --included | --include \
875  | --includ | --inclu | --incl | --inc)
876    ac_prev=includedir ;;
877  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
878  | --includ=* | --inclu=* | --incl=* | --inc=*)
879    includedir=$ac_optarg ;;
880
881  -infodir | --infodir | --infodi | --infod | --info | --inf)
882    ac_prev=infodir ;;
883  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
884    infodir=$ac_optarg ;;
885
886  -libdir | --libdir | --libdi | --libd)
887    ac_prev=libdir ;;
888  -libdir=* | --libdir=* | --libdi=* | --libd=*)
889    libdir=$ac_optarg ;;
890
891  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
892  | --libexe | --libex | --libe)
893    ac_prev=libexecdir ;;
894  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
895  | --libexe=* | --libex=* | --libe=*)
896    libexecdir=$ac_optarg ;;
897
898  -localedir | --localedir | --localedi | --localed | --locale)
899    ac_prev=localedir ;;
900  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
901    localedir=$ac_optarg ;;
902
903  -localstatedir | --localstatedir | --localstatedi | --localstated \
904  | --localstate | --localstat | --localsta | --localst | --locals)
905    ac_prev=localstatedir ;;
906  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
907  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
908    localstatedir=$ac_optarg ;;
909
910  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
911    ac_prev=mandir ;;
912  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913    mandir=$ac_optarg ;;
914
915  -nfp | --nfp | --nf)
916    # Obsolete; use --without-fp.
917    with_fp=no ;;
918
919  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
920  | --no-cr | --no-c | -n)
921    no_create=yes ;;
922
923  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
924  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
925    no_recursion=yes ;;
926
927  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
928  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
929  | --oldin | --oldi | --old | --ol | --o)
930    ac_prev=oldincludedir ;;
931  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
932  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
933  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
934    oldincludedir=$ac_optarg ;;
935
936  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
937    ac_prev=prefix ;;
938  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
939    prefix=$ac_optarg ;;
940
941  -program-prefix | --program-prefix | --program-prefi | --program-pref \
942  | --program-pre | --program-pr | --program-p)
943    ac_prev=program_prefix ;;
944  -program-prefix=* | --program-prefix=* | --program-prefi=* \
945  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
946    program_prefix=$ac_optarg ;;
947
948  -program-suffix | --program-suffix | --program-suffi | --program-suff \
949  | --program-suf | --program-su | --program-s)
950    ac_prev=program_suffix ;;
951  -program-suffix=* | --program-suffix=* | --program-suffi=* \
952  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
953    program_suffix=$ac_optarg ;;
954
955  -program-transform-name | --program-transform-name \
956  | --program-transform-nam | --program-transform-na \
957  | --program-transform-n | --program-transform- \
958  | --program-transform | --program-transfor \
959  | --program-transfo | --program-transf \
960  | --program-trans | --program-tran \
961  | --progr-tra | --program-tr | --program-t)
962    ac_prev=program_transform_name ;;
963  -program-transform-name=* | --program-transform-name=* \
964  | --program-transform-nam=* | --program-transform-na=* \
965  | --program-transform-n=* | --program-transform-=* \
966  | --program-transform=* | --program-transfor=* \
967  | --program-transfo=* | --program-transf=* \
968  | --program-trans=* | --program-tran=* \
969  | --progr-tra=* | --program-tr=* | --program-t=*)
970    program_transform_name=$ac_optarg ;;
971
972  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
973    ac_prev=pdfdir ;;
974  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
975    pdfdir=$ac_optarg ;;
976
977  -psdir | --psdir | --psdi | --psd | --ps)
978    ac_prev=psdir ;;
979  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
980    psdir=$ac_optarg ;;
981
982  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
983  | -silent | --silent | --silen | --sile | --sil)
984    silent=yes ;;
985
986  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
987    ac_prev=sbindir ;;
988  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
989  | --sbi=* | --sb=*)
990    sbindir=$ac_optarg ;;
991
992  -sharedstatedir | --sharedstatedir | --sharedstatedi \
993  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
994  | --sharedst | --shareds | --shared | --share | --shar \
995  | --sha | --sh)
996    ac_prev=sharedstatedir ;;
997  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
998  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
999  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1000  | --sha=* | --sh=*)
1001    sharedstatedir=$ac_optarg ;;
1002
1003  -site | --site | --sit)
1004    ac_prev=site ;;
1005  -site=* | --site=* | --sit=*)
1006    site=$ac_optarg ;;
1007
1008  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1009    ac_prev=srcdir ;;
1010  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1011    srcdir=$ac_optarg ;;
1012
1013  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1014  | --syscon | --sysco | --sysc | --sys | --sy)
1015    ac_prev=sysconfdir ;;
1016  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1017  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1018    sysconfdir=$ac_optarg ;;
1019
1020  -target | --target | --targe | --targ | --tar | --ta | --t)
1021    ac_prev=target_alias ;;
1022  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1023    target_alias=$ac_optarg ;;
1024
1025  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1026    verbose=yes ;;
1027
1028  -version | --version | --versio | --versi | --vers | -V)
1029    ac_init_version=: ;;
1030
1031  -with-* | --with-*)
1032    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033    # Reject names that are not valid shell variable names.
1034    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035      as_fn_error $? "invalid package name: $ac_useropt"
1036    ac_useropt_orig=$ac_useropt
1037    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038    case $ac_user_opts in
1039      *"
1040"with_$ac_useropt"
1041"*) ;;
1042      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1043	 ac_unrecognized_sep=', ';;
1044    esac
1045    eval with_$ac_useropt=\$ac_optarg ;;
1046
1047  -without-* | --without-*)
1048    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1049    # Reject names that are not valid shell variable names.
1050    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051      as_fn_error $? "invalid package name: $ac_useropt"
1052    ac_useropt_orig=$ac_useropt
1053    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054    case $ac_user_opts in
1055      *"
1056"with_$ac_useropt"
1057"*) ;;
1058      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1059	 ac_unrecognized_sep=', ';;
1060    esac
1061    eval with_$ac_useropt=no ;;
1062
1063  --x)
1064    # Obsolete; use --with-x.
1065    with_x=yes ;;
1066
1067  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1068  | --x-incl | --x-inc | --x-in | --x-i)
1069    ac_prev=x_includes ;;
1070  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1071  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1072    x_includes=$ac_optarg ;;
1073
1074  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1075  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1076    ac_prev=x_libraries ;;
1077  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1078  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1079    x_libraries=$ac_optarg ;;
1080
1081  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1082Try \`$0 --help' for more information"
1083    ;;
1084
1085  *=*)
1086    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1087    # Reject names that are not valid shell variable names.
1088    case $ac_envvar in #(
1089      '' | [0-9]* | *[!_$as_cr_alnum]* )
1090      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1091    esac
1092    eval $ac_envvar=\$ac_optarg
1093    export $ac_envvar ;;
1094
1095  *)
1096    # FIXME: should be removed in autoconf 3.0.
1097    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1098    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1099      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1100    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1101    ;;
1102
1103  esac
1104done
1105
1106if test -n "$ac_prev"; then
1107  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1108  as_fn_error $? "missing argument to $ac_option"
1109fi
1110
1111if test -n "$ac_unrecognized_opts"; then
1112  case $enable_option_checking in
1113    no) ;;
1114    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1115    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1116  esac
1117fi
1118
1119# Check all directory arguments for consistency.
1120for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121		datadir sysconfdir sharedstatedir localstatedir includedir \
1122		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123		libdir localedir mandir
1124do
1125  eval ac_val=\$$ac_var
1126  # Remove trailing slashes.
1127  case $ac_val in
1128    */ )
1129      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1130      eval $ac_var=\$ac_val;;
1131  esac
1132  # Be sure to have absolute directory names.
1133  case $ac_val in
1134    [\\/$]* | ?:[\\/]* )  continue;;
1135    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1136  esac
1137  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1138done
1139
1140# There might be people who depend on the old broken behavior: `$host'
1141# used to hold the argument of --host etc.
1142# FIXME: To remove some day.
1143build=$build_alias
1144host=$host_alias
1145target=$target_alias
1146
1147# FIXME: To remove some day.
1148if test "x$host_alias" != x; then
1149  if test "x$build_alias" = x; then
1150    cross_compiling=maybe
1151  elif test "x$build_alias" != "x$host_alias"; then
1152    cross_compiling=yes
1153  fi
1154fi
1155
1156ac_tool_prefix=
1157test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158
1159test "$silent" = yes && exec 6>/dev/null
1160
1161
1162ac_pwd=`pwd` && test -n "$ac_pwd" &&
1163ac_ls_di=`ls -di .` &&
1164ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1165  as_fn_error $? "working directory cannot be determined"
1166test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167  as_fn_error $? "pwd does not report name of working directory"
1168
1169
1170# Find the source files, if location was not specified.
1171if test -z "$srcdir"; then
1172  ac_srcdir_defaulted=yes
1173  # Try the directory containing this script, then the parent directory.
1174  ac_confdir=`$as_dirname -- "$as_myself" ||
1175$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1176	 X"$as_myself" : 'X\(//\)[^/]' \| \
1177	 X"$as_myself" : 'X\(//\)$' \| \
1178	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1179$as_echo X"$as_myself" |
1180    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1181	    s//\1/
1182	    q
1183	  }
1184	  /^X\(\/\/\)[^/].*/{
1185	    s//\1/
1186	    q
1187	  }
1188	  /^X\(\/\/\)$/{
1189	    s//\1/
1190	    q
1191	  }
1192	  /^X\(\/\).*/{
1193	    s//\1/
1194	    q
1195	  }
1196	  s/.*/./; q'`
1197  srcdir=$ac_confdir
1198  if test ! -r "$srcdir/$ac_unique_file"; then
1199    srcdir=..
1200  fi
1201else
1202  ac_srcdir_defaulted=no
1203fi
1204if test ! -r "$srcdir/$ac_unique_file"; then
1205  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1206  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1207fi
1208ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1209ac_abs_confdir=`(
1210	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1211	pwd)`
1212# When building in place, set srcdir=.
1213if test "$ac_abs_confdir" = "$ac_pwd"; then
1214  srcdir=.
1215fi
1216# Remove unnecessary trailing slashes from srcdir.
1217# Double slashes in file names in object file debugging info
1218# mess up M-x gdb in Emacs.
1219case $srcdir in
1220*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221esac
1222for ac_var in $ac_precious_vars; do
1223  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224  eval ac_env_${ac_var}_value=\$${ac_var}
1225  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227done
1228
1229#
1230# Report the --help message.
1231#
1232if test "$ac_init_help" = "long"; then
1233  # Omit some internal or obsolete options to make the list less imposing.
1234  # This message is too long to be a string in the A/UX 3.1 sh.
1235  cat <<_ACEOF
1236\`configure' configures mos_release version-0.3 to adapt to many kinds of systems.
1237
1238Usage: $0 [OPTION]... [VAR=VALUE]...
1239
1240To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241VAR=VALUE.  See below for descriptions of some of the useful variables.
1242
1243Defaults for the options are specified in brackets.
1244
1245Configuration:
1246  -h, --help              display this help and exit
1247      --help=short        display options specific to this package
1248      --help=recursive    display the short help of all the included packages
1249  -V, --version           display version information and exit
1250  -q, --quiet, --silent   do not print \`checking ...' messages
1251      --cache-file=FILE   cache test results in FILE [disabled]
1252  -C, --config-cache      alias for \`--cache-file=config.cache'
1253  -n, --no-create         do not create output files
1254      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1255
1256Installation directories:
1257  --prefix=PREFIX         install architecture-independent files in PREFIX
1258                          [$ac_default_prefix]
1259  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1260                          [PREFIX]
1261
1262By default, \`make install' will install all the files in
1263\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1264an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265for instance \`--prefix=\$HOME'.
1266
1267For better control, use the options below.
1268
1269Fine tuning of the installation directories:
1270  --bindir=DIR            user executables [EPREFIX/bin]
1271  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1272  --libexecdir=DIR        program executables [EPREFIX/libexec]
1273  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1274  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1275  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1276  --libdir=DIR            object code libraries [EPREFIX/lib]
1277  --includedir=DIR        C header files [PREFIX/include]
1278  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1279  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1280  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1281  --infodir=DIR           info documentation [DATAROOTDIR/info]
1282  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1283  --mandir=DIR            man documentation [DATAROOTDIR/man]
1284  --docdir=DIR            documentation root [DATAROOTDIR/doc/mos_release]
1285  --htmldir=DIR           html documentation [DOCDIR]
1286  --dvidir=DIR            dvi documentation [DOCDIR]
1287  --pdfdir=DIR            pdf documentation [DOCDIR]
1288  --psdir=DIR             ps documentation [DOCDIR]
1289_ACEOF
1290
1291  cat <<\_ACEOF
1292_ACEOF
1293fi
1294
1295if test -n "$ac_init_help"; then
1296  case $ac_init_help in
1297     short | recursive ) echo "Configuration of mos_release version-0.3:";;
1298   esac
1299  cat <<\_ACEOF
1300
1301Optional Features:
1302  --disable-option-checking  ignore unrecognized --enable/--with options
1303  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1304  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1305  --enable-dpdk           Enable dpdk-16.04
1306  --enable-netmap         Enable netmap
1307  --enable-psio           Enable packetshader I/O
1308
1309Some influential environment variables:
1310  CC          C compiler command
1311  CFLAGS      C compiler flags
1312  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1313              nonstandard directory <lib dir>
1314  LIBS        libraries to pass to the linker, e.g. -l<library>
1315  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1316              you have headers in a nonstandard directory <include dir>
1317  CPP         C preprocessor
1318
1319Use these variables to override the choices made by `configure' or to help
1320it to find libraries and programs with nonstandard names/locations.
1321
1322Report bugs to <[email protected]>.
1323_ACEOF
1324ac_status=$?
1325fi
1326
1327if test "$ac_init_help" = "recursive"; then
1328  # If there are subdirs, report their specific --help.
1329  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330    test -d "$ac_dir" ||
1331      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332      continue
1333    ac_builddir=.
1334
1335case "$ac_dir" in
1336.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337*)
1338  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339  # A ".." for each directory in $ac_dir_suffix.
1340  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341  case $ac_top_builddir_sub in
1342  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344  esac ;;
1345esac
1346ac_abs_top_builddir=$ac_pwd
1347ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348# for backward compatibility:
1349ac_top_builddir=$ac_top_build_prefix
1350
1351case $srcdir in
1352  .)  # We are building in place.
1353    ac_srcdir=.
1354    ac_top_srcdir=$ac_top_builddir_sub
1355    ac_abs_top_srcdir=$ac_pwd ;;
1356  [\\/]* | ?:[\\/]* )  # Absolute name.
1357    ac_srcdir=$srcdir$ac_dir_suffix;
1358    ac_top_srcdir=$srcdir
1359    ac_abs_top_srcdir=$srcdir ;;
1360  *) # Relative name.
1361    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362    ac_top_srcdir=$ac_top_build_prefix$srcdir
1363    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364esac
1365ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366
1367    cd "$ac_dir" || { ac_status=$?; continue; }
1368    # Check for guested configure.
1369    if test -f "$ac_srcdir/configure.gnu"; then
1370      echo &&
1371      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372    elif test -f "$ac_srcdir/configure"; then
1373      echo &&
1374      $SHELL "$ac_srcdir/configure" --help=recursive
1375    else
1376      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377    fi || ac_status=$?
1378    cd "$ac_pwd" || { ac_status=$?; break; }
1379  done
1380fi
1381
1382test -n "$ac_init_help" && exit $ac_status
1383if $ac_init_version; then
1384  cat <<\_ACEOF
1385mos_release configure version-0.3
1386generated by GNU Autoconf 2.69
1387
1388Copyright (C) 2012 Free Software Foundation, Inc.
1389This configure script is free software; the Free Software Foundation
1390gives unlimited permission to copy, distribute and modify it.
1391_ACEOF
1392  exit
1393fi
1394
1395## ------------------------ ##
1396## Autoconf initialization. ##
1397## ------------------------ ##
1398
1399# ac_fn_c_try_compile LINENO
1400# --------------------------
1401# Try to compile conftest.$ac_ext, and return whether this succeeded.
1402ac_fn_c_try_compile ()
1403{
1404  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405  rm -f conftest.$ac_objext
1406  if { { ac_try="$ac_compile"
1407case "(($ac_try" in
1408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1409  *) ac_try_echo=$ac_try;;
1410esac
1411eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412$as_echo "$ac_try_echo"; } >&5
1413  (eval "$ac_compile") 2>conftest.err
1414  ac_status=$?
1415  if test -s conftest.err; then
1416    grep -v '^ *+' conftest.err >conftest.er1
1417    cat conftest.er1 >&5
1418    mv -f conftest.er1 conftest.err
1419  fi
1420  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421  test $ac_status = 0; } && {
1422	 test -z "$ac_c_werror_flag" ||
1423	 test ! -s conftest.err
1424       } && test -s conftest.$ac_objext; then :
1425  ac_retval=0
1426else
1427  $as_echo "$as_me: failed program was:" >&5
1428sed 's/^/| /' conftest.$ac_ext >&5
1429
1430	ac_retval=1
1431fi
1432  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1433  as_fn_set_status $ac_retval
1434
1435} # ac_fn_c_try_compile
1436
1437# ac_fn_c_try_cpp LINENO
1438# ----------------------
1439# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1440ac_fn_c_try_cpp ()
1441{
1442  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443  if { { ac_try="$ac_cpp conftest.$ac_ext"
1444case "(($ac_try" in
1445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446  *) ac_try_echo=$ac_try;;
1447esac
1448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449$as_echo "$ac_try_echo"; } >&5
1450  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1451  ac_status=$?
1452  if test -s conftest.err; then
1453    grep -v '^ *+' conftest.err >conftest.er1
1454    cat conftest.er1 >&5
1455    mv -f conftest.er1 conftest.err
1456  fi
1457  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458  test $ac_status = 0; } > conftest.i && {
1459	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1460	 test ! -s conftest.err
1461       }; then :
1462  ac_retval=0
1463else
1464  $as_echo "$as_me: failed program was:" >&5
1465sed 's/^/| /' conftest.$ac_ext >&5
1466
1467    ac_retval=1
1468fi
1469  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470  as_fn_set_status $ac_retval
1471
1472} # ac_fn_c_try_cpp
1473
1474# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1475# -------------------------------------------------------
1476# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1477# the include files in INCLUDES and setting the cache variable VAR
1478# accordingly.
1479ac_fn_c_check_header_mongrel ()
1480{
1481  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482  if eval \${$3+:} false; then :
1483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484$as_echo_n "checking for $2... " >&6; }
1485if eval \${$3+:} false; then :
1486  $as_echo_n "(cached) " >&6
1487fi
1488eval ac_res=\$$3
1489	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1490$as_echo "$ac_res" >&6; }
1491else
1492  # Is the header compilable?
1493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1494$as_echo_n "checking $2 usability... " >&6; }
1495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1496/* end confdefs.h.  */
1497$4
1498#include <$2>
1499_ACEOF
1500if ac_fn_c_try_compile "$LINENO"; then :
1501  ac_header_compiler=yes
1502else
1503  ac_header_compiler=no
1504fi
1505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1507$as_echo "$ac_header_compiler" >&6; }
1508
1509# Is the header present?
1510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1511$as_echo_n "checking $2 presence... " >&6; }
1512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1513/* end confdefs.h.  */
1514#include <$2>
1515_ACEOF
1516if ac_fn_c_try_cpp "$LINENO"; then :
1517  ac_header_preproc=yes
1518else
1519  ac_header_preproc=no
1520fi
1521rm -f conftest.err conftest.i conftest.$ac_ext
1522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1523$as_echo "$ac_header_preproc" >&6; }
1524
1525# So?  What about this header?
1526case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1527  yes:no: )
1528    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1529$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1530    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1531$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1532    ;;
1533  no:yes:* )
1534    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1535$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1536    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1537$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1538    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1539$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1540    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1541$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1542    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1543$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1544( $as_echo "## -------------------------------------- ##
1545## Report this to [email protected] ##
1546## -------------------------------------- ##"
1547     ) | sed "s/^/$as_me: WARNING:     /" >&2
1548    ;;
1549esac
1550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1551$as_echo_n "checking for $2... " >&6; }
1552if eval \${$3+:} false; then :
1553  $as_echo_n "(cached) " >&6
1554else
1555  eval "$3=\$ac_header_compiler"
1556fi
1557eval ac_res=\$$3
1558	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1559$as_echo "$ac_res" >&6; }
1560fi
1561  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562
1563} # ac_fn_c_check_header_mongrel
1564
1565# ac_fn_c_try_run LINENO
1566# ----------------------
1567# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1568# that executables *can* be run.
1569ac_fn_c_try_run ()
1570{
1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572  if { { ac_try="$ac_link"
1573case "(($ac_try" in
1574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575  *) ac_try_echo=$ac_try;;
1576esac
1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578$as_echo "$ac_try_echo"; } >&5
1579  (eval "$ac_link") 2>&5
1580  ac_status=$?
1581  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1583  { { case "(($ac_try" in
1584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585  *) ac_try_echo=$ac_try;;
1586esac
1587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588$as_echo "$ac_try_echo"; } >&5
1589  (eval "$ac_try") 2>&5
1590  ac_status=$?
1591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592  test $ac_status = 0; }; }; then :
1593  ac_retval=0
1594else
1595  $as_echo "$as_me: program exited with status $ac_status" >&5
1596       $as_echo "$as_me: failed program was:" >&5
1597sed 's/^/| /' conftest.$ac_ext >&5
1598
1599       ac_retval=$ac_status
1600fi
1601  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1602  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603  as_fn_set_status $ac_retval
1604
1605} # ac_fn_c_try_run
1606
1607# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1608# -------------------------------------------------------
1609# Tests whether HEADER exists and can be compiled using the include files in
1610# INCLUDES, setting the cache variable VAR accordingly.
1611ac_fn_c_check_header_compile ()
1612{
1613  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615$as_echo_n "checking for $2... " >&6; }
1616if eval \${$3+:} false; then :
1617  $as_echo_n "(cached) " >&6
1618else
1619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620/* end confdefs.h.  */
1621$4
1622#include <$2>
1623_ACEOF
1624if ac_fn_c_try_compile "$LINENO"; then :
1625  eval "$3=yes"
1626else
1627  eval "$3=no"
1628fi
1629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630fi
1631eval ac_res=\$$3
1632	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1633$as_echo "$ac_res" >&6; }
1634  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635
1636} # ac_fn_c_check_header_compile
1637
1638# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1639# -------------------------------------------
1640# Tests whether TYPE exists after having included INCLUDES, setting cache
1641# variable VAR accordingly.
1642ac_fn_c_check_type ()
1643{
1644  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646$as_echo_n "checking for $2... " >&6; }
1647if eval \${$3+:} false; then :
1648  $as_echo_n "(cached) " >&6
1649else
1650  eval "$3=no"
1651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652/* end confdefs.h.  */
1653$4
1654int
1655main ()
1656{
1657if (sizeof ($2))
1658	 return 0;
1659  ;
1660  return 0;
1661}
1662_ACEOF
1663if ac_fn_c_try_compile "$LINENO"; then :
1664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665/* end confdefs.h.  */
1666$4
1667int
1668main ()
1669{
1670if (sizeof (($2)))
1671	    return 0;
1672  ;
1673  return 0;
1674}
1675_ACEOF
1676if ac_fn_c_try_compile "$LINENO"; then :
1677
1678else
1679  eval "$3=yes"
1680fi
1681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682fi
1683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684fi
1685eval ac_res=\$$3
1686	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687$as_echo "$ac_res" >&6; }
1688  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689
1690} # ac_fn_c_check_type
1691
1692# ac_fn_c_find_uintX_t LINENO BITS VAR
1693# ------------------------------------
1694# Finds an unsigned integer type with width BITS, setting cache variable VAR
1695# accordingly.
1696ac_fn_c_find_uintX_t ()
1697{
1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1700$as_echo_n "checking for uint$2_t... " >&6; }
1701if eval \${$3+:} false; then :
1702  $as_echo_n "(cached) " >&6
1703else
1704  eval "$3=no"
1705     # Order is important - never check a type that is potentially smaller
1706     # than half of the expected target width.
1707     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1708	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710/* end confdefs.h.  */
1711$ac_includes_default
1712int
1713main ()
1714{
1715static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1716test_array [0] = 0;
1717return test_array [0];
1718
1719  ;
1720  return 0;
1721}
1722_ACEOF
1723if ac_fn_c_try_compile "$LINENO"; then :
1724  case $ac_type in #(
1725  uint$2_t) :
1726    eval "$3=yes" ;; #(
1727  *) :
1728    eval "$3=\$ac_type" ;;
1729esac
1730fi
1731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732       if eval test \"x\$"$3"\" = x"no"; then :
1733
1734else
1735  break
1736fi
1737     done
1738fi
1739eval ac_res=\$$3
1740	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741$as_echo "$ac_res" >&6; }
1742  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743
1744} # ac_fn_c_find_uintX_t
1745
1746# ac_fn_c_try_link LINENO
1747# -----------------------
1748# Try to link conftest.$ac_ext, and return whether this succeeded.
1749ac_fn_c_try_link ()
1750{
1751  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752  rm -f conftest.$ac_objext conftest$ac_exeext
1753  if { { ac_try="$ac_link"
1754case "(($ac_try" in
1755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1756  *) ac_try_echo=$ac_try;;
1757esac
1758eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759$as_echo "$ac_try_echo"; } >&5
1760  (eval "$ac_link") 2>conftest.err
1761  ac_status=$?
1762  if test -s conftest.err; then
1763    grep -v '^ *+' conftest.err >conftest.er1
1764    cat conftest.er1 >&5
1765    mv -f conftest.er1 conftest.err
1766  fi
1767  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768  test $ac_status = 0; } && {
1769	 test -z "$ac_c_werror_flag" ||
1770	 test ! -s conftest.err
1771       } && test -s conftest$ac_exeext && {
1772	 test "$cross_compiling" = yes ||
1773	 test -x conftest$ac_exeext
1774       }; then :
1775  ac_retval=0
1776else
1777  $as_echo "$as_me: failed program was:" >&5
1778sed 's/^/| /' conftest.$ac_ext >&5
1779
1780	ac_retval=1
1781fi
1782  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1783  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1784  # interfere with the next link command; also delete a directory that is
1785  # left behind by Apple's compiler.  We do this before executing the actions.
1786  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1787  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788  as_fn_set_status $ac_retval
1789
1790} # ac_fn_c_try_link
1791
1792# ac_fn_c_check_func LINENO FUNC VAR
1793# ----------------------------------
1794# Tests whether FUNC exists, setting the cache variable VAR accordingly
1795ac_fn_c_check_func ()
1796{
1797  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799$as_echo_n "checking for $2... " >&6; }
1800if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802else
1803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804/* end confdefs.h.  */
1805/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1806   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1807#define $2 innocuous_$2
1808
1809/* System header to define __stub macros and hopefully few prototypes,
1810    which can conflict with char $2 (); below.
1811    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1812    <limits.h> exists even on freestanding compilers.  */
1813
1814#ifdef __STDC__
1815# include <limits.h>
1816#else
1817# include <assert.h>
1818#endif
1819
1820#undef $2
1821
1822/* Override any GCC internal prototype to avoid an error.
1823   Use char because int might match the return type of a GCC
1824   builtin and then its argument prototype would still apply.  */
1825#ifdef __cplusplus
1826extern "C"
1827#endif
1828char $2 ();
1829/* The GNU C library defines this for functions which it implements
1830    to always fail with ENOSYS.  Some functions are actually named
1831    something starting with __ and the normal name is an alias.  */
1832#if defined __stub_$2 || defined __stub___$2
1833choke me
1834#endif
1835
1836int
1837main ()
1838{
1839return $2 ();
1840  ;
1841  return 0;
1842}
1843_ACEOF
1844if ac_fn_c_try_link "$LINENO"; then :
1845  eval "$3=yes"
1846else
1847  eval "$3=no"
1848fi
1849rm -f core conftest.err conftest.$ac_objext \
1850    conftest$ac_exeext conftest.$ac_ext
1851fi
1852eval ac_res=\$$3
1853	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854$as_echo "$ac_res" >&6; }
1855  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856
1857} # ac_fn_c_check_func
1858cat >config.log <<_ACEOF
1859This file contains any messages produced by compilers while
1860running configure, to aid debugging if configure makes a mistake.
1861
1862It was created by mos_release $as_me version-0.3, which was
1863generated by GNU Autoconf 2.69.  Invocation command line was
1864
1865  $ $0 $@
1866
1867_ACEOF
1868exec 5>>config.log
1869{
1870cat <<_ASUNAME
1871## --------- ##
1872## Platform. ##
1873## --------- ##
1874
1875hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1876uname -m = `(uname -m) 2>/dev/null || echo unknown`
1877uname -r = `(uname -r) 2>/dev/null || echo unknown`
1878uname -s = `(uname -s) 2>/dev/null || echo unknown`
1879uname -v = `(uname -v) 2>/dev/null || echo unknown`
1880
1881/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1882/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1883
1884/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1885/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1886/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1887/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1888/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1889/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1890/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1891
1892_ASUNAME
1893
1894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895for as_dir in $PATH
1896do
1897  IFS=$as_save_IFS
1898  test -z "$as_dir" && as_dir=.
1899    $as_echo "PATH: $as_dir"
1900  done
1901IFS=$as_save_IFS
1902
1903} >&5
1904
1905cat >&5 <<_ACEOF
1906
1907
1908## ----------- ##
1909## Core tests. ##
1910## ----------- ##
1911
1912_ACEOF
1913
1914
1915# Keep a trace of the command line.
1916# Strip out --no-create and --no-recursion so they do not pile up.
1917# Strip out --silent because we don't want to record it for future runs.
1918# Also quote any args containing shell meta-characters.
1919# Make two passes to allow for proper duplicate-argument suppression.
1920ac_configure_args=
1921ac_configure_args0=
1922ac_configure_args1=
1923ac_must_keep_next=false
1924for ac_pass in 1 2
1925do
1926  for ac_arg
1927  do
1928    case $ac_arg in
1929    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1930    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1931    | -silent | --silent | --silen | --sile | --sil)
1932      continue ;;
1933    *\'*)
1934      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1935    esac
1936    case $ac_pass in
1937    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1938    2)
1939      as_fn_append ac_configure_args1 " '$ac_arg'"
1940      if test $ac_must_keep_next = true; then
1941	ac_must_keep_next=false # Got value, back to normal.
1942      else
1943	case $ac_arg in
1944	  *=* | --config-cache | -C | -disable-* | --disable-* \
1945	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1946	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1947	  | -with-* | --with-* | -without-* | --without-* | --x)
1948	    case "$ac_configure_args0 " in
1949	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1950	    esac
1951	    ;;
1952	  -* ) ac_must_keep_next=true ;;
1953	esac
1954      fi
1955      as_fn_append ac_configure_args " '$ac_arg'"
1956      ;;
1957    esac
1958  done
1959done
1960{ ac_configure_args0=; unset ac_configure_args0;}
1961{ ac_configure_args1=; unset ac_configure_args1;}
1962
1963# When interrupted or exit'd, cleanup temporary files, and complete
1964# config.log.  We remove comments because anyway the quotes in there
1965# would cause problems or look ugly.
1966# WARNING: Use '\'' to represent an apostrophe within the trap.
1967# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1968trap 'exit_status=$?
1969  # Save into config.log some information that might help in debugging.
1970  {
1971    echo
1972
1973    $as_echo "## ---------------- ##
1974## Cache variables. ##
1975## ---------------- ##"
1976    echo
1977    # The following way of writing the cache mishandles newlines in values,
1978(
1979  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1980    eval ac_val=\$$ac_var
1981    case $ac_val in #(
1982    *${as_nl}*)
1983      case $ac_var in #(
1984      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1985$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1986      esac
1987      case $ac_var in #(
1988      _ | IFS | as_nl) ;; #(
1989      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1990      *) { eval $ac_var=; unset $ac_var;} ;;
1991      esac ;;
1992    esac
1993  done
1994  (set) 2>&1 |
1995    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1996    *${as_nl}ac_space=\ *)
1997      sed -n \
1998	"s/'\''/'\''\\\\'\'''\''/g;
1999	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2000      ;; #(
2001    *)
2002      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2003      ;;
2004    esac |
2005    sort
2006)
2007    echo
2008
2009    $as_echo "## ----------------- ##
2010## Output variables. ##
2011## ----------------- ##"
2012    echo
2013    for ac_var in $ac_subst_vars
2014    do
2015      eval ac_val=\$$ac_var
2016      case $ac_val in
2017      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018      esac
2019      $as_echo "$ac_var='\''$ac_val'\''"
2020    done | sort
2021    echo
2022
2023    if test -n "$ac_subst_files"; then
2024      $as_echo "## ------------------- ##
2025## File substitutions. ##
2026## ------------------- ##"
2027      echo
2028      for ac_var in $ac_subst_files
2029      do
2030	eval ac_val=\$$ac_var
2031	case $ac_val in
2032	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033	esac
2034	$as_echo "$ac_var='\''$ac_val'\''"
2035      done | sort
2036      echo
2037    fi
2038
2039    if test -s confdefs.h; then
2040      $as_echo "## ----------- ##
2041## confdefs.h. ##
2042## ----------- ##"
2043      echo
2044      cat confdefs.h
2045      echo
2046    fi
2047    test "$ac_signal" != 0 &&
2048      $as_echo "$as_me: caught signal $ac_signal"
2049    $as_echo "$as_me: exit $exit_status"
2050  } >&5
2051  rm -f core *.core core.conftest.* &&
2052    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2053    exit $exit_status
2054' 0
2055for ac_signal in 1 2 13 15; do
2056  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2057done
2058ac_signal=0
2059
2060# confdefs.h avoids OS command line length limits that DEFS can exceed.
2061rm -f -r conftest* confdefs.h
2062
2063$as_echo "/* confdefs.h */" > confdefs.h
2064
2065# Predefined preprocessor variables.
2066
2067cat >>confdefs.h <<_ACEOF
2068#define PACKAGE_NAME "$PACKAGE_NAME"
2069_ACEOF
2070
2071cat >>confdefs.h <<_ACEOF
2072#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2073_ACEOF
2074
2075cat >>confdefs.h <<_ACEOF
2076#define PACKAGE_VERSION "$PACKAGE_VERSION"
2077_ACEOF
2078
2079cat >>confdefs.h <<_ACEOF
2080#define PACKAGE_STRING "$PACKAGE_STRING"
2081_ACEOF
2082
2083cat >>confdefs.h <<_ACEOF
2084#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2085_ACEOF
2086
2087cat >>confdefs.h <<_ACEOF
2088#define PACKAGE_URL "$PACKAGE_URL"
2089_ACEOF
2090
2091
2092# Let the site file select an alternate cache file if it wants to.
2093# Prefer an explicitly selected file to automatically selected ones.
2094ac_site_file1=NONE
2095ac_site_file2=NONE
2096if test -n "$CONFIG_SITE"; then
2097  # We do not want a PATH search for config.site.
2098  case $CONFIG_SITE in #((
2099    -*)  ac_site_file1=./$CONFIG_SITE;;
2100    */*) ac_site_file1=$CONFIG_SITE;;
2101    *)   ac_site_file1=./$CONFIG_SITE;;
2102  esac
2103elif test "x$prefix" != xNONE; then
2104  ac_site_file1=$prefix/share/config.site
2105  ac_site_file2=$prefix/etc/config.site
2106else
2107  ac_site_file1=$ac_default_prefix/share/config.site
2108  ac_site_file2=$ac_default_prefix/etc/config.site
2109fi
2110for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2111do
2112  test "x$ac_site_file" = xNONE && continue
2113  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2114    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2115$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2116    sed 's/^/| /' "$ac_site_file" >&5
2117    . "$ac_site_file" \
2118      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2120as_fn_error $? "failed to load site script $ac_site_file
2121See \`config.log' for more details" "$LINENO" 5; }
2122  fi
2123done
2124
2125if test -r "$cache_file"; then
2126  # Some versions of bash will fail to source /dev/null (special files
2127  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2128  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2129    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2130$as_echo "$as_me: loading cache $cache_file" >&6;}
2131    case $cache_file in
2132      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2133      *)                      . "./$cache_file";;
2134    esac
2135  fi
2136else
2137  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2138$as_echo "$as_me: creating cache $cache_file" >&6;}
2139  >$cache_file
2140fi
2141
2142# Check that the precious variables saved in the cache have kept the same
2143# value.
2144ac_cache_corrupted=false
2145for ac_var in $ac_precious_vars; do
2146  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2147  eval ac_new_set=\$ac_env_${ac_var}_set
2148  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2149  eval ac_new_val=\$ac_env_${ac_var}_value
2150  case $ac_old_set,$ac_new_set in
2151    set,)
2152      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2153$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2154      ac_cache_corrupted=: ;;
2155    ,set)
2156      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2157$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2158      ac_cache_corrupted=: ;;
2159    ,);;
2160    *)
2161      if test "x$ac_old_val" != "x$ac_new_val"; then
2162	# differences in whitespace do not lead to failure.
2163	ac_old_val_w=`echo x $ac_old_val`
2164	ac_new_val_w=`echo x $ac_new_val`
2165	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2166	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2167$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2168	  ac_cache_corrupted=:
2169	else
2170	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2171$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2172	  eval $ac_var=\$ac_old_val
2173	fi
2174	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2175$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2176	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2177$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2178      fi;;
2179  esac
2180  # Pass precious variables to config.status.
2181  if test "$ac_new_set" = set; then
2182    case $ac_new_val in
2183    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2184    *) ac_arg=$ac_var=$ac_new_val ;;
2185    esac
2186    case " $ac_configure_args " in
2187      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2188      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2189    esac
2190  fi
2191done
2192if $ac_cache_corrupted; then
2193  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2194$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2195  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2196$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2197  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2198fi
2199## -------------------- ##
2200## Main body of script. ##
2201## -------------------- ##
2202
2203ac_ext=c
2204ac_cpp='$CPP $CPPFLAGS'
2205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2207ac_compiler_gnu=$ac_cv_c_compiler_gnu
2208
2209
2210
2211# Check for cc
2212ac_ext=c
2213ac_cpp='$CPP $CPPFLAGS'
2214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216ac_compiler_gnu=$ac_cv_c_compiler_gnu
2217if test -n "$ac_tool_prefix"; then
2218  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2219set dummy ${ac_tool_prefix}gcc; ac_word=$2
2220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2221$as_echo_n "checking for $ac_word... " >&6; }
2222if ${ac_cv_prog_CC+:} false; then :
2223  $as_echo_n "(cached) " >&6
2224else
2225  if test -n "$CC"; then
2226  ac_cv_prog_CC="$CC" # Let the user override the test.
2227else
2228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229for as_dir in $PATH
2230do
2231  IFS=$as_save_IFS
2232  test -z "$as_dir" && as_dir=.
2233    for ac_exec_ext in '' $ac_executable_extensions; do
2234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2237    break 2
2238  fi
2239done
2240  done
2241IFS=$as_save_IFS
2242
2243fi
2244fi
2245CC=$ac_cv_prog_CC
2246if test -n "$CC"; then
2247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2248$as_echo "$CC" >&6; }
2249else
2250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251$as_echo "no" >&6; }
2252fi
2253
2254
2255fi
2256if test -z "$ac_cv_prog_CC"; then
2257  ac_ct_CC=$CC
2258  # Extract the first word of "gcc", so it can be a program name with args.
2259set dummy gcc; ac_word=$2
2260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2261$as_echo_n "checking for $ac_word... " >&6; }
2262if ${ac_cv_prog_ac_ct_CC+:} false; then :
2263  $as_echo_n "(cached) " >&6
2264else
2265  if test -n "$ac_ct_CC"; then
2266  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267else
2268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269for as_dir in $PATH
2270do
2271  IFS=$as_save_IFS
2272  test -z "$as_dir" && as_dir=.
2273    for ac_exec_ext in '' $ac_executable_extensions; do
2274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275    ac_cv_prog_ac_ct_CC="gcc"
2276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2277    break 2
2278  fi
2279done
2280  done
2281IFS=$as_save_IFS
2282
2283fi
2284fi
2285ac_ct_CC=$ac_cv_prog_ac_ct_CC
2286if test -n "$ac_ct_CC"; then
2287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2288$as_echo "$ac_ct_CC" >&6; }
2289else
2290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2291$as_echo "no" >&6; }
2292fi
2293
2294  if test "x$ac_ct_CC" = x; then
2295    CC=""
2296  else
2297    case $cross_compiling:$ac_tool_warned in
2298yes:)
2299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2301ac_tool_warned=yes ;;
2302esac
2303    CC=$ac_ct_CC
2304  fi
2305else
2306  CC="$ac_cv_prog_CC"
2307fi
2308
2309if test -z "$CC"; then
2310          if test -n "$ac_tool_prefix"; then
2311    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2312set dummy ${ac_tool_prefix}cc; ac_word=$2
2313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2314$as_echo_n "checking for $ac_word... " >&6; }
2315if ${ac_cv_prog_CC+:} false; then :
2316  $as_echo_n "(cached) " >&6
2317else
2318  if test -n "$CC"; then
2319  ac_cv_prog_CC="$CC" # Let the user override the test.
2320else
2321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322for as_dir in $PATH
2323do
2324  IFS=$as_save_IFS
2325  test -z "$as_dir" && as_dir=.
2326    for ac_exec_ext in '' $ac_executable_extensions; do
2327  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2328    ac_cv_prog_CC="${ac_tool_prefix}cc"
2329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2330    break 2
2331  fi
2332done
2333  done
2334IFS=$as_save_IFS
2335
2336fi
2337fi
2338CC=$ac_cv_prog_CC
2339if test -n "$CC"; then
2340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2341$as_echo "$CC" >&6; }
2342else
2343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344$as_echo "no" >&6; }
2345fi
2346
2347
2348  fi
2349fi
2350if test -z "$CC"; then
2351  # Extract the first word of "cc", so it can be a program name with args.
2352set dummy cc; ac_word=$2
2353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2354$as_echo_n "checking for $ac_word... " >&6; }
2355if ${ac_cv_prog_CC+:} false; then :
2356  $as_echo_n "(cached) " >&6
2357else
2358  if test -n "$CC"; then
2359  ac_cv_prog_CC="$CC" # Let the user override the test.
2360else
2361  ac_prog_rejected=no
2362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363for as_dir in $PATH
2364do
2365  IFS=$as_save_IFS
2366  test -z "$as_dir" && as_dir=.
2367    for ac_exec_ext in '' $ac_executable_extensions; do
2368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2370       ac_prog_rejected=yes
2371       continue
2372     fi
2373    ac_cv_prog_CC="cc"
2374    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2375    break 2
2376  fi
2377done
2378  done
2379IFS=$as_save_IFS
2380
2381if test $ac_prog_rejected = yes; then
2382  # We found a bogon in the path, so make sure we never use it.
2383  set dummy $ac_cv_prog_CC
2384  shift
2385  if test $# != 0; then
2386    # We chose a different compiler from the bogus one.
2387    # However, it has the same basename, so the bogon will be chosen
2388    # first if we set CC to just the basename; use the full file name.
2389    shift
2390    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2391  fi
2392fi
2393fi
2394fi
2395CC=$ac_cv_prog_CC
2396if test -n "$CC"; then
2397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2398$as_echo "$CC" >&6; }
2399else
2400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2401$as_echo "no" >&6; }
2402fi
2403
2404
2405fi
2406if test -z "$CC"; then
2407  if test -n "$ac_tool_prefix"; then
2408  for ac_prog in cl.exe
2409  do
2410    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2411set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2413$as_echo_n "checking for $ac_word... " >&6; }
2414if ${ac_cv_prog_CC+:} false; then :
2415  $as_echo_n "(cached) " >&6
2416else
2417  if test -n "$CC"; then
2418  ac_cv_prog_CC="$CC" # Let the user override the test.
2419else
2420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421for as_dir in $PATH
2422do
2423  IFS=$as_save_IFS
2424  test -z "$as_dir" && as_dir=.
2425    for ac_exec_ext in '' $ac_executable_extensions; do
2426  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2427    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2428    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429    break 2
2430  fi
2431done
2432  done
2433IFS=$as_save_IFS
2434
2435fi
2436fi
2437CC=$ac_cv_prog_CC
2438if test -n "$CC"; then
2439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2440$as_echo "$CC" >&6; }
2441else
2442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2443$as_echo "no" >&6; }
2444fi
2445
2446
2447    test -n "$CC" && break
2448  done
2449fi
2450if test -z "$CC"; then
2451  ac_ct_CC=$CC
2452  for ac_prog in cl.exe
2453do
2454  # Extract the first word of "$ac_prog", so it can be a program name with args.
2455set dummy $ac_prog; ac_word=$2
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457$as_echo_n "checking for $ac_word... " >&6; }
2458if ${ac_cv_prog_ac_ct_CC+:} false; then :
2459  $as_echo_n "(cached) " >&6
2460else
2461  if test -n "$ac_ct_CC"; then
2462  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2463else
2464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465for as_dir in $PATH
2466do
2467  IFS=$as_save_IFS
2468  test -z "$as_dir" && as_dir=.
2469    for ac_exec_ext in '' $ac_executable_extensions; do
2470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471    ac_cv_prog_ac_ct_CC="$ac_prog"
2472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473    break 2
2474  fi
2475done
2476  done
2477IFS=$as_save_IFS
2478
2479fi
2480fi
2481ac_ct_CC=$ac_cv_prog_ac_ct_CC
2482if test -n "$ac_ct_CC"; then
2483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2484$as_echo "$ac_ct_CC" >&6; }
2485else
2486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487$as_echo "no" >&6; }
2488fi
2489
2490
2491  test -n "$ac_ct_CC" && break
2492done
2493
2494  if test "x$ac_ct_CC" = x; then
2495    CC=""
2496  else
2497    case $cross_compiling:$ac_tool_warned in
2498yes:)
2499{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2500$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2501ac_tool_warned=yes ;;
2502esac
2503    CC=$ac_ct_CC
2504  fi
2505fi
2506
2507fi
2508
2509
2510test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512as_fn_error $? "no acceptable C compiler found in \$PATH
2513See \`config.log' for more details" "$LINENO" 5; }
2514
2515# Provide some information about the compiler.
2516$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2517set X $ac_compile
2518ac_compiler=$2
2519for ac_option in --version -v -V -qversion; do
2520  { { ac_try="$ac_compiler $ac_option >&5"
2521case "(($ac_try" in
2522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523  *) ac_try_echo=$ac_try;;
2524esac
2525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526$as_echo "$ac_try_echo"; } >&5
2527  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2528  ac_status=$?
2529  if test -s conftest.err; then
2530    sed '10a\
2531... rest of stderr output deleted ...
2532         10q' conftest.err >conftest.er1
2533    cat conftest.er1 >&5
2534  fi
2535  rm -f conftest.er1 conftest.err
2536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2537  test $ac_status = 0; }
2538done
2539
2540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2541/* end confdefs.h.  */
2542
2543int
2544main ()
2545{
2546
2547  ;
2548  return 0;
2549}
2550_ACEOF
2551ac_clean_files_save=$ac_clean_files
2552ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2553# Try to create an executable without -o first, disregard a.out.
2554# It will help us diagnose broken compilers, and finding out an intuition
2555# of exeext.
2556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2557$as_echo_n "checking whether the C compiler works... " >&6; }
2558ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2559
2560# The possible output files:
2561ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2562
2563ac_rmfiles=
2564for ac_file in $ac_files
2565do
2566  case $ac_file in
2567    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2568    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2569  esac
2570done
2571rm -f $ac_rmfiles
2572
2573if { { ac_try="$ac_link_default"
2574case "(($ac_try" in
2575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576  *) ac_try_echo=$ac_try;;
2577esac
2578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579$as_echo "$ac_try_echo"; } >&5
2580  (eval "$ac_link_default") 2>&5
2581  ac_status=$?
2582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583  test $ac_status = 0; }; then :
2584  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2585# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2586# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2587# so that the user can short-circuit this test for compilers unknown to
2588# Autoconf.
2589for ac_file in $ac_files ''
2590do
2591  test -f "$ac_file" || continue
2592  case $ac_file in
2593    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2594	;;
2595    [ab].out )
2596	# We found the default executable, but exeext='' is most
2597	# certainly right.
2598	break;;
2599    *.* )
2600	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2601	then :; else
2602	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2603	fi
2604	# We set ac_cv_exeext here because the later test for it is not
2605	# safe: cross compilers may not add the suffix if given an `-o'
2606	# argument, so we may need to know it at that point already.
2607	# Even if this section looks crufty: it has the advantage of
2608	# actually working.
2609	break;;
2610    * )
2611	break;;
2612  esac
2613done
2614test "$ac_cv_exeext" = no && ac_cv_exeext=
2615
2616else
2617  ac_file=''
2618fi
2619if test -z "$ac_file"; then :
2620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621$as_echo "no" >&6; }
2622$as_echo "$as_me: failed program was:" >&5
2623sed 's/^/| /' conftest.$ac_ext >&5
2624
2625{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627as_fn_error 77 "C compiler cannot create executables
2628See \`config.log' for more details" "$LINENO" 5; }
2629else
2630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2631$as_echo "yes" >&6; }
2632fi
2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2634$as_echo_n "checking for C compiler default output file name... " >&6; }
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2636$as_echo "$ac_file" >&6; }
2637ac_exeext=$ac_cv_exeext
2638
2639rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2640ac_clean_files=$ac_clean_files_save
2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2642$as_echo_n "checking for suffix of executables... " >&6; }
2643if { { ac_try="$ac_link"
2644case "(($ac_try" in
2645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646  *) ac_try_echo=$ac_try;;
2647esac
2648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649$as_echo "$ac_try_echo"; } >&5
2650  (eval "$ac_link") 2>&5
2651  ac_status=$?
2652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653  test $ac_status = 0; }; then :
2654  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2655# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2656# work properly (i.e., refer to `conftest.exe'), while it won't with
2657# `rm'.
2658for ac_file in conftest.exe conftest conftest.*; do
2659  test -f "$ac_file" || continue
2660  case $ac_file in
2661    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2662    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2663	  break;;
2664    * ) break;;
2665  esac
2666done
2667else
2668  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2671See \`config.log' for more details" "$LINENO" 5; }
2672fi
2673rm -f conftest conftest$ac_cv_exeext
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2675$as_echo "$ac_cv_exeext" >&6; }
2676
2677rm -f conftest.$ac_ext
2678EXEEXT=$ac_cv_exeext
2679ac_exeext=$EXEEXT
2680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681/* end confdefs.h.  */
2682#include <stdio.h>
2683int
2684main ()
2685{
2686FILE *f = fopen ("conftest.out", "w");
2687 return ferror (f) || fclose (f) != 0;
2688
2689  ;
2690  return 0;
2691}
2692_ACEOF
2693ac_clean_files="$ac_clean_files conftest.out"
2694# Check that the compiler produces executables we can run.  If not, either
2695# the compiler is broken, or we cross compile.
2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2697$as_echo_n "checking whether we are cross compiling... " >&6; }
2698if test "$cross_compiling" != yes; then
2699  { { ac_try="$ac_link"
2700case "(($ac_try" in
2701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702  *) ac_try_echo=$ac_try;;
2703esac
2704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705$as_echo "$ac_try_echo"; } >&5
2706  (eval "$ac_link") 2>&5
2707  ac_status=$?
2708  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709  test $ac_status = 0; }
2710  if { ac_try='./conftest$ac_cv_exeext'
2711  { { case "(($ac_try" in
2712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713  *) ac_try_echo=$ac_try;;
2714esac
2715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716$as_echo "$ac_try_echo"; } >&5
2717  (eval "$ac_try") 2>&5
2718  ac_status=$?
2719  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720  test $ac_status = 0; }; }; then
2721    cross_compiling=no
2722  else
2723    if test "$cross_compiling" = maybe; then
2724	cross_compiling=yes
2725    else
2726	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2728as_fn_error $? "cannot run C compiled programs.
2729If you meant to cross compile, use \`--host'.
2730See \`config.log' for more details" "$LINENO" 5; }
2731    fi
2732  fi
2733fi
2734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2735$as_echo "$cross_compiling" >&6; }
2736
2737rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2738ac_clean_files=$ac_clean_files_save
2739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2740$as_echo_n "checking for suffix of object files... " >&6; }
2741if ${ac_cv_objext+:} false; then :
2742  $as_echo_n "(cached) " >&6
2743else
2744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745/* end confdefs.h.  */
2746
2747int
2748main ()
2749{
2750
2751  ;
2752  return 0;
2753}
2754_ACEOF
2755rm -f conftest.o conftest.obj
2756if { { ac_try="$ac_compile"
2757case "(($ac_try" in
2758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759  *) ac_try_echo=$ac_try;;
2760esac
2761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762$as_echo "$ac_try_echo"; } >&5
2763  (eval "$ac_compile") 2>&5
2764  ac_status=$?
2765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766  test $ac_status = 0; }; then :
2767  for ac_file in conftest.o conftest.obj conftest.*; do
2768  test -f "$ac_file" || continue;
2769  case $ac_file in
2770    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2771    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2772       break;;
2773  esac
2774done
2775else
2776  $as_echo "$as_me: failed program was:" >&5
2777sed 's/^/| /' conftest.$ac_ext >&5
2778
2779{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2781as_fn_error $? "cannot compute suffix of object files: cannot compile
2782See \`config.log' for more details" "$LINENO" 5; }
2783fi
2784rm -f conftest.$ac_cv_objext conftest.$ac_ext
2785fi
2786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2787$as_echo "$ac_cv_objext" >&6; }
2788OBJEXT=$ac_cv_objext
2789ac_objext=$OBJEXT
2790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2791$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2792if ${ac_cv_c_compiler_gnu+:} false; then :
2793  $as_echo_n "(cached) " >&6
2794else
2795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796/* end confdefs.h.  */
2797
2798int
2799main ()
2800{
2801#ifndef __GNUC__
2802       choke me
2803#endif
2804
2805  ;
2806  return 0;
2807}
2808_ACEOF
2809if ac_fn_c_try_compile "$LINENO"; then :
2810  ac_compiler_gnu=yes
2811else
2812  ac_compiler_gnu=no
2813fi
2814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815ac_cv_c_compiler_gnu=$ac_compiler_gnu
2816
2817fi
2818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2819$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2820if test $ac_compiler_gnu = yes; then
2821  GCC=yes
2822else
2823  GCC=
2824fi
2825ac_test_CFLAGS=${CFLAGS+set}
2826ac_save_CFLAGS=$CFLAGS
2827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2828$as_echo_n "checking whether $CC accepts -g... " >&6; }
2829if ${ac_cv_prog_cc_g+:} false; then :
2830  $as_echo_n "(cached) " >&6
2831else
2832  ac_save_c_werror_flag=$ac_c_werror_flag
2833   ac_c_werror_flag=yes
2834   ac_cv_prog_cc_g=no
2835   CFLAGS="-g"
2836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837/* end confdefs.h.  */
2838
2839int
2840main ()
2841{
2842
2843  ;
2844  return 0;
2845}
2846_ACEOF
2847if ac_fn_c_try_compile "$LINENO"; then :
2848  ac_cv_prog_cc_g=yes
2849else
2850  CFLAGS=""
2851      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852/* end confdefs.h.  */
2853
2854int
2855main ()
2856{
2857
2858  ;
2859  return 0;
2860}
2861_ACEOF
2862if ac_fn_c_try_compile "$LINENO"; then :
2863
2864else
2865  ac_c_werror_flag=$ac_save_c_werror_flag
2866	 CFLAGS="-g"
2867	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868/* end confdefs.h.  */
2869
2870int
2871main ()
2872{
2873
2874  ;
2875  return 0;
2876}
2877_ACEOF
2878if ac_fn_c_try_compile "$LINENO"; then :
2879  ac_cv_prog_cc_g=yes
2880fi
2881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882fi
2883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884fi
2885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886   ac_c_werror_flag=$ac_save_c_werror_flag
2887fi
2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2889$as_echo "$ac_cv_prog_cc_g" >&6; }
2890if test "$ac_test_CFLAGS" = set; then
2891  CFLAGS=$ac_save_CFLAGS
2892elif test $ac_cv_prog_cc_g = yes; then
2893  if test "$GCC" = yes; then
2894    CFLAGS="-g -O2"
2895  else
2896    CFLAGS="-g"
2897  fi
2898else
2899  if test "$GCC" = yes; then
2900    CFLAGS="-O2"
2901  else
2902    CFLAGS=
2903  fi
2904fi
2905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2906$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2907if ${ac_cv_prog_cc_c89+:} false; then :
2908  $as_echo_n "(cached) " >&6
2909else
2910  ac_cv_prog_cc_c89=no
2911ac_save_CC=$CC
2912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913/* end confdefs.h.  */
2914#include <stdarg.h>
2915#include <stdio.h>
2916struct stat;
2917/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2918struct buf { int x; };
2919FILE * (*rcsopen) (struct buf *, struct stat *, int);
2920static char *e (p, i)
2921     char **p;
2922     int i;
2923{
2924  return p[i];
2925}
2926static char *f (char * (*g) (char **, int), char **p, ...)
2927{
2928  char *s;
2929  va_list v;
2930  va_start (v,p);
2931  s = g (p, va_arg (v,int));
2932  va_end (v);
2933  return s;
2934}
2935
2936/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2937   function prototypes and stuff, but not '\xHH' hex character constants.
2938   These don't provoke an error unfortunately, instead are silently treated
2939   as 'x'.  The following induces an error, until -std is added to get
2940   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2941   array size at least.  It's necessary to write '\x00'==0 to get something
2942   that's true only with -std.  */
2943int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2944
2945/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2946   inside strings and character constants.  */
2947#define FOO(x) 'x'
2948int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2949
2950int test (int i, double x);
2951struct s1 {int (*f) (int a);};
2952struct s2 {int (*f) (double a);};
2953int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2954int argc;
2955char **argv;
2956int
2957main ()
2958{
2959return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2960  ;
2961  return 0;
2962}
2963_ACEOF
2964for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2965	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2966do
2967  CC="$ac_save_CC $ac_arg"
2968  if ac_fn_c_try_compile "$LINENO"; then :
2969  ac_cv_prog_cc_c89=$ac_arg
2970fi
2971rm -f core conftest.err conftest.$ac_objext
2972  test "x$ac_cv_prog_cc_c89" != "xno" && break
2973done
2974rm -f conftest.$ac_ext
2975CC=$ac_save_CC
2976
2977fi
2978# AC_CACHE_VAL
2979case "x$ac_cv_prog_cc_c89" in
2980  x)
2981    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2982$as_echo "none needed" >&6; } ;;
2983  xno)
2984    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2985$as_echo "unsupported" >&6; } ;;
2986  *)
2987    CC="$CC $ac_cv_prog_cc_c89"
2988    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2989$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2990esac
2991if test "x$ac_cv_prog_cc_c89" != xno; then :
2992
2993fi
2994
2995ac_ext=c
2996ac_cpp='$CPP $CPPFLAGS'
2997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2999ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000
3001#AC_PROG_INSTALL
3002if test -n "$ac_tool_prefix"; then
3003  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3004set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006$as_echo_n "checking for $ac_word... " >&6; }
3007if ${ac_cv_prog_RANLIB+:} false; then :
3008  $as_echo_n "(cached) " >&6
3009else
3010  if test -n "$RANLIB"; then
3011  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3012else
3013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014for as_dir in $PATH
3015do
3016  IFS=$as_save_IFS
3017  test -z "$as_dir" && as_dir=.
3018    for ac_exec_ext in '' $ac_executable_extensions; do
3019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3020    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022    break 2
3023  fi
3024done
3025  done
3026IFS=$as_save_IFS
3027
3028fi
3029fi
3030RANLIB=$ac_cv_prog_RANLIB
3031if test -n "$RANLIB"; then
3032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3033$as_echo "$RANLIB" >&6; }
3034else
3035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036$as_echo "no" >&6; }
3037fi
3038
3039
3040fi
3041if test -z "$ac_cv_prog_RANLIB"; then
3042  ac_ct_RANLIB=$RANLIB
3043  # Extract the first word of "ranlib", so it can be a program name with args.
3044set dummy ranlib; ac_word=$2
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046$as_echo_n "checking for $ac_word... " >&6; }
3047if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3048  $as_echo_n "(cached) " >&6
3049else
3050  if test -n "$ac_ct_RANLIB"; then
3051  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3052else
3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054for as_dir in $PATH
3055do
3056  IFS=$as_save_IFS
3057  test -z "$as_dir" && as_dir=.
3058    for ac_exec_ext in '' $ac_executable_extensions; do
3059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060    ac_cv_prog_ac_ct_RANLIB="ranlib"
3061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062    break 2
3063  fi
3064done
3065  done
3066IFS=$as_save_IFS
3067
3068fi
3069fi
3070ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3071if test -n "$ac_ct_RANLIB"; then
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3073$as_echo "$ac_ct_RANLIB" >&6; }
3074else
3075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076$as_echo "no" >&6; }
3077fi
3078
3079  if test "x$ac_ct_RANLIB" = x; then
3080    RANLIB=":"
3081  else
3082    case $cross_compiling:$ac_tool_warned in
3083yes:)
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3085$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3086ac_tool_warned=yes ;;
3087esac
3088    RANLIB=$ac_ct_RANLIB
3089  fi
3090else
3091  RANLIB="$ac_cv_prog_RANLIB"
3092fi
3093
3094#LT_INIT
3095
3096#AC_PROG_LIBTOOL
3097ac_ext=c
3098ac_cpp='$CPP $CPPFLAGS'
3099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101ac_compiler_gnu=$ac_cv_c_compiler_gnu
3102
3103
3104
3105
3106# Check for scheduling
3107
3108ac_ext=c
3109ac_cpp='$CPP $CPPFLAGS'
3110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3114$as_echo_n "checking how to run the C preprocessor... " >&6; }
3115# On Suns, sometimes $CPP names a directory.
3116if test -n "$CPP" && test -d "$CPP"; then
3117  CPP=
3118fi
3119if test -z "$CPP"; then
3120  if ${ac_cv_prog_CPP+:} false; then :
3121  $as_echo_n "(cached) " >&6
3122else
3123      # Double quotes because CPP needs to be expanded
3124    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3125    do
3126      ac_preproc_ok=false
3127for ac_c_preproc_warn_flag in '' yes
3128do
3129  # Use a header file that comes with gcc, so configuring glibc
3130  # with a fresh cross-compiler works.
3131  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3132  # <limits.h> exists even on freestanding compilers.
3133  # On the NeXT, cc -E runs the code through the compiler's parser,
3134  # not just through cpp. "Syntax error" is here to catch this case.
3135  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136/* end confdefs.h.  */
3137#ifdef __STDC__
3138# include <limits.h>
3139#else
3140# include <assert.h>
3141#endif
3142		     Syntax error
3143_ACEOF
3144if ac_fn_c_try_cpp "$LINENO"; then :
3145
3146else
3147  # Broken: fails on valid input.
3148continue
3149fi
3150rm -f conftest.err conftest.i conftest.$ac_ext
3151
3152  # OK, works on sane cases.  Now check whether nonexistent headers
3153  # can be detected and how.
3154  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155/* end confdefs.h.  */
3156#include <ac_nonexistent.h>
3157_ACEOF
3158if ac_fn_c_try_cpp "$LINENO"; then :
3159  # Broken: success on invalid input.
3160continue
3161else
3162  # Passes both tests.
3163ac_preproc_ok=:
3164break
3165fi
3166rm -f conftest.err conftest.i conftest.$ac_ext
3167
3168done
3169# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3170rm -f conftest.i conftest.err conftest.$ac_ext
3171if $ac_preproc_ok; then :
3172  break
3173fi
3174
3175    done
3176    ac_cv_prog_CPP=$CPP
3177
3178fi
3179  CPP=$ac_cv_prog_CPP
3180else
3181  ac_cv_prog_CPP=$CPP
3182fi
3183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3184$as_echo "$CPP" >&6; }
3185ac_preproc_ok=false
3186for ac_c_preproc_warn_flag in '' yes
3187do
3188  # Use a header file that comes with gcc, so configuring glibc
3189  # with a fresh cross-compiler works.
3190  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3191  # <limits.h> exists even on freestanding compilers.
3192  # On the NeXT, cc -E runs the code through the compiler's parser,
3193  # not just through cpp. "Syntax error" is here to catch this case.
3194  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195/* end confdefs.h.  */
3196#ifdef __STDC__
3197# include <limits.h>
3198#else
3199# include <assert.h>
3200#endif
3201		     Syntax error
3202_ACEOF
3203if ac_fn_c_try_cpp "$LINENO"; then :
3204
3205else
3206  # Broken: fails on valid input.
3207continue
3208fi
3209rm -f conftest.err conftest.i conftest.$ac_ext
3210
3211  # OK, works on sane cases.  Now check whether nonexistent headers
3212  # can be detected and how.
3213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214/* end confdefs.h.  */
3215#include <ac_nonexistent.h>
3216_ACEOF
3217if ac_fn_c_try_cpp "$LINENO"; then :
3218  # Broken: success on invalid input.
3219continue
3220else
3221  # Passes both tests.
3222ac_preproc_ok=:
3223break
3224fi
3225rm -f conftest.err conftest.i conftest.$ac_ext
3226
3227done
3228# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3229rm -f conftest.i conftest.err conftest.$ac_ext
3230if $ac_preproc_ok; then :
3231
3232else
3233  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3235as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3236See \`config.log' for more details" "$LINENO" 5; }
3237fi
3238
3239ac_ext=c
3240ac_cpp='$CPP $CPPFLAGS'
3241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3243ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244
3245
3246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3247$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3248if ${ac_cv_path_GREP+:} false; then :
3249  $as_echo_n "(cached) " >&6
3250else
3251  if test -z "$GREP"; then
3252  ac_path_GREP_found=false
3253  # Loop through the user's path and test for each of PROGNAME-LIST
3254  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3256do
3257  IFS=$as_save_IFS
3258  test -z "$as_dir" && as_dir=.
3259    for ac_prog in grep ggrep; do
3260    for ac_exec_ext in '' $ac_executable_extensions; do
3261      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3262      as_fn_executable_p "$ac_path_GREP" || continue
3263# Check for GNU ac_path_GREP and select it if it is found.
3264  # Check for GNU $ac_path_GREP
3265case `"$ac_path_GREP" --version 2>&1` in
3266*GNU*)
3267  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3268*)
3269  ac_count=0
3270  $as_echo_n 0123456789 >"conftest.in"
3271  while :
3272  do
3273    cat "conftest.in" "conftest.in" >"conftest.tmp"
3274    mv "conftest.tmp" "conftest.in"
3275    cp "conftest.in" "conftest.nl"
3276    $as_echo 'GREP' >> "conftest.nl"
3277    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3278    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3279    as_fn_arith $ac_count + 1 && ac_count=$as_val
3280    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3281      # Best one so far, save it but keep looking for a better one
3282      ac_cv_path_GREP="$ac_path_GREP"
3283      ac_path_GREP_max=$ac_count
3284    fi
3285    # 10*(2^10) chars as input seems more than enough
3286    test $ac_count -gt 10 && break
3287  done
3288  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3289esac
3290
3291      $ac_path_GREP_found && break 3
3292    done
3293  done
3294  done
3295IFS=$as_save_IFS
3296  if test -z "$ac_cv_path_GREP"; then
3297    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3298  fi
3299else
3300  ac_cv_path_GREP=$GREP
3301fi
3302
3303fi
3304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3305$as_echo "$ac_cv_path_GREP" >&6; }
3306 GREP="$ac_cv_path_GREP"
3307
3308
3309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3310$as_echo_n "checking for egrep... " >&6; }
3311if ${ac_cv_path_EGREP+:} false; then :
3312  $as_echo_n "(cached) " >&6
3313else
3314  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3315   then ac_cv_path_EGREP="$GREP -E"
3316   else
3317     if test -z "$EGREP"; then
3318  ac_path_EGREP_found=false
3319  # Loop through the user's path and test for each of PROGNAME-LIST
3320  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3322do
3323  IFS=$as_save_IFS
3324  test -z "$as_dir" && as_dir=.
3325    for ac_prog in egrep; do
3326    for ac_exec_ext in '' $ac_executable_extensions; do
3327      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3328      as_fn_executable_p "$ac_path_EGREP" || continue
3329# Check for GNU ac_path_EGREP and select it if it is found.
3330  # Check for GNU $ac_path_EGREP
3331case `"$ac_path_EGREP" --version 2>&1` in
3332*GNU*)
3333  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3334*)
3335  ac_count=0
3336  $as_echo_n 0123456789 >"conftest.in"
3337  while :
3338  do
3339    cat "conftest.in" "conftest.in" >"conftest.tmp"
3340    mv "conftest.tmp" "conftest.in"
3341    cp "conftest.in" "conftest.nl"
3342    $as_echo 'EGREP' >> "conftest.nl"
3343    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3344    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3345    as_fn_arith $ac_count + 1 && ac_count=$as_val
3346    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3347      # Best one so far, save it but keep looking for a better one
3348      ac_cv_path_EGREP="$ac_path_EGREP"
3349      ac_path_EGREP_max=$ac_count
3350    fi
3351    # 10*(2^10) chars as input seems more than enough
3352    test $ac_count -gt 10 && break
3353  done
3354  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3355esac
3356
3357      $ac_path_EGREP_found && break 3
3358    done
3359  done
3360  done
3361IFS=$as_save_IFS
3362  if test -z "$ac_cv_path_EGREP"; then
3363    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3364  fi
3365else
3366  ac_cv_path_EGREP=$EGREP
3367fi
3368
3369   fi
3370fi
3371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3372$as_echo "$ac_cv_path_EGREP" >&6; }
3373 EGREP="$ac_cv_path_EGREP"
3374
3375
3376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3377$as_echo_n "checking for ANSI C header files... " >&6; }
3378if ${ac_cv_header_stdc+:} false; then :
3379  $as_echo_n "(cached) " >&6
3380else
3381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382/* end confdefs.h.  */
3383#include <stdlib.h>
3384#include <stdarg.h>
3385#include <string.h>
3386#include <float.h>
3387
3388int
3389main ()
3390{
3391
3392  ;
3393  return 0;
3394}
3395_ACEOF
3396if ac_fn_c_try_compile "$LINENO"; then :
3397  ac_cv_header_stdc=yes
3398else
3399  ac_cv_header_stdc=no
3400fi
3401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402
3403if test $ac_cv_header_stdc = yes; then
3404  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406/* end confdefs.h.  */
3407#include <string.h>
3408
3409_ACEOF
3410if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3411  $EGREP "memchr" >/dev/null 2>&1; then :
3412
3413else
3414  ac_cv_header_stdc=no
3415fi
3416rm -f conftest*
3417
3418fi
3419
3420if test $ac_cv_header_stdc = yes; then
3421  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3422  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423/* end confdefs.h.  */
3424#include <stdlib.h>
3425
3426_ACEOF
3427if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3428  $EGREP "free" >/dev/null 2>&1; then :
3429
3430else
3431  ac_cv_header_stdc=no
3432fi
3433rm -f conftest*
3434
3435fi
3436
3437if test $ac_cv_header_stdc = yes; then
3438  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3439  if test "$cross_compiling" = yes; then :
3440  :
3441else
3442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443/* end confdefs.h.  */
3444#include <ctype.h>
3445#include <stdlib.h>
3446#if ((' ' & 0x0FF) == 0x020)
3447# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3448# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3449#else
3450# define ISLOWER(c) \
3451		   (('a' <= (c) && (c) <= 'i') \
3452		     || ('j' <= (c) && (c) <= 'r') \
3453		     || ('s' <= (c) && (c) <= 'z'))
3454# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3455#endif
3456
3457#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3458int
3459main ()
3460{
3461  int i;
3462  for (i = 0; i < 256; i++)
3463    if (XOR (islower (i), ISLOWER (i))
3464	|| toupper (i) != TOUPPER (i))
3465      return 2;
3466  return 0;
3467}
3468_ACEOF
3469if ac_fn_c_try_run "$LINENO"; then :
3470
3471else
3472  ac_cv_header_stdc=no
3473fi
3474rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3475  conftest.$ac_objext conftest.beam conftest.$ac_ext
3476fi
3477
3478fi
3479fi
3480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3481$as_echo "$ac_cv_header_stdc" >&6; }
3482if test $ac_cv_header_stdc = yes; then
3483
3484$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3485
3486fi
3487
3488# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3489for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3490		  inttypes.h stdint.h unistd.h
3491do :
3492  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3493ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3494"
3495if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3496  cat >>confdefs.h <<_ACEOF
3497#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3498_ACEOF
3499
3500fi
3501
3502done
3503
3504
3505ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
3506if test "x$ac_cv_header_linux_sched_h" = xyes; then :
3507
3508fi
3509
3510
3511# Check for pthreads
3512ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3513if test "x$ac_cv_header_pthread_h" = xyes; then :
3514
3515fi
3516
3517
3518# Check for numa
3519ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default"
3520if test "x$ac_cv_header_numa_h" = xyes; then :
3521
3522fi
3523
3524
3525for ac_header in fcntl.h inttypes.h limits.h stddef.h stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h
3526do :
3527  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3528ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3529if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3530  cat >>confdefs.h <<_ACEOF
3531#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3532_ACEOF
3533
3534fi
3535
3536done
3537
3538
3539# Check for typedefs, structures, and compiler characteristics
3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3541$as_echo_n "checking for inline... " >&6; }
3542if ${ac_cv_c_inline+:} false; then :
3543  $as_echo_n "(cached) " >&6
3544else
3545  ac_cv_c_inline=no
3546for ac_kw in inline __inline__ __inline; do
3547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548/* end confdefs.h.  */
3549#ifndef __cplusplus
3550typedef int foo_t;
3551static $ac_kw foo_t static_foo () {return 0; }
3552$ac_kw foo_t foo () {return 0; }
3553#endif
3554
3555_ACEOF
3556if ac_fn_c_try_compile "$LINENO"; then :
3557  ac_cv_c_inline=$ac_kw
3558fi
3559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560  test "$ac_cv_c_inline" != no && break
3561done
3562
3563fi
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3565$as_echo "$ac_cv_c_inline" >&6; }
3566
3567case $ac_cv_c_inline in
3568  inline | yes) ;;
3569  *)
3570    case $ac_cv_c_inline in
3571      no) ac_val=;;
3572      *) ac_val=$ac_cv_c_inline;;
3573    esac
3574    cat >>confdefs.h <<_ACEOF
3575#ifndef __cplusplus
3576#define inline $ac_val
3577#endif
3578_ACEOF
3579    ;;
3580esac
3581
3582ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
3583if test "x$ac_cv_type_off_t" = xyes; then :
3584
3585else
3586
3587cat >>confdefs.h <<_ACEOF
3588#define off_t long int
3589_ACEOF
3590
3591fi
3592
3593ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3594if test "x$ac_cv_type_size_t" = xyes; then :
3595
3596else
3597
3598cat >>confdefs.h <<_ACEOF
3599#define size_t unsigned int
3600_ACEOF
3601
3602fi
3603
3604ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
3605if test "x$ac_cv_type_ssize_t" = xyes; then :
3606
3607else
3608
3609cat >>confdefs.h <<_ACEOF
3610#define ssize_t int
3611_ACEOF
3612
3613fi
3614
3615ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
3616case $ac_cv_c_uint16_t in #(
3617  no|yes) ;; #(
3618  *)
3619
3620
3621cat >>confdefs.h <<_ACEOF
3622#define uint16_t $ac_cv_c_uint16_t
3623_ACEOF
3624;;
3625  esac
3626
3627ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
3628case $ac_cv_c_uint32_t in #(
3629  no|yes) ;; #(
3630  *)
3631
3632$as_echo "#define _UINT32_T 1" >>confdefs.h
3633
3634
3635cat >>confdefs.h <<_ACEOF
3636#define uint32_t $ac_cv_c_uint32_t
3637_ACEOF
3638;;
3639  esac
3640
3641ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
3642case $ac_cv_c_uint8_t in #(
3643  no|yes) ;; #(
3644  *)
3645
3646$as_echo "#define _UINT8_T 1" >>confdefs.h
3647
3648
3649cat >>confdefs.h <<_ACEOF
3650#define uint8_t $ac_cv_c_uint8_t
3651_ACEOF
3652;;
3653  esac
3654
3655
3656# Checks for library functions.
3657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
3658$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
3659if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
3660  $as_echo_n "(cached) " >&6
3661else
3662  rm -f conftest.sym conftest.file
3663echo >conftest.file
3664if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
3665  if test "$cross_compiling" = yes; then :
3666  ac_cv_func_lstat_dereferences_slashed_symlink=no
3667else
3668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669/* end confdefs.h.  */
3670$ac_includes_default
3671int
3672main ()
3673{
3674struct stat sbuf;
3675     /* Linux will dereference the symlink and fail, as required by POSIX.
3676	That is better in the sense that it means we will not
3677	have to compile and use the lstat wrapper.  */
3678     return lstat ("conftest.sym/", &sbuf) == 0;
3679  ;
3680  return 0;
3681}
3682_ACEOF
3683if ac_fn_c_try_run "$LINENO"; then :
3684  ac_cv_func_lstat_dereferences_slashed_symlink=yes
3685else
3686  ac_cv_func_lstat_dereferences_slashed_symlink=no
3687fi
3688rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3689  conftest.$ac_objext conftest.beam conftest.$ac_ext
3690fi
3691
3692else
3693  # If the `ln -s' command failed, then we probably don't even
3694  # have an lstat function.
3695  ac_cv_func_lstat_dereferences_slashed_symlink=no
3696fi
3697rm -f conftest.sym conftest.file
3698
3699fi
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
3701$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
3702
3703test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
3704
3705cat >>confdefs.h <<_ACEOF
3706#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
3707_ACEOF
3708
3709
3710if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
3711  case " $LIBOBJS " in
3712  *" lstat.$ac_objext "* ) ;;
3713  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
3714 ;;
3715esac
3716
3717fi
3718
3719for ac_header in stdlib.h
3720do :
3721  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
3722if test "x$ac_cv_header_stdlib_h" = xyes; then :
3723  cat >>confdefs.h <<_ACEOF
3724#define HAVE_STDLIB_H 1
3725_ACEOF
3726
3727fi
3728
3729done
3730
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
3732$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
3733if ${ac_cv_func_malloc_0_nonnull+:} false; then :
3734  $as_echo_n "(cached) " >&6
3735else
3736  if test "$cross_compiling" = yes; then :
3737  ac_cv_func_malloc_0_nonnull=no
3738else
3739  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740/* end confdefs.h.  */
3741#if defined STDC_HEADERS || defined HAVE_STDLIB_H
3742# include <stdlib.h>
3743#else
3744char *malloc ();
3745#endif
3746
3747int
3748main ()
3749{
3750return ! malloc (0);
3751  ;
3752  return 0;
3753}
3754_ACEOF
3755if ac_fn_c_try_run "$LINENO"; then :
3756  ac_cv_func_malloc_0_nonnull=yes
3757else
3758  ac_cv_func_malloc_0_nonnull=no
3759fi
3760rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3761  conftest.$ac_objext conftest.beam conftest.$ac_ext
3762fi
3763
3764fi
3765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
3766$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
3767if test $ac_cv_func_malloc_0_nonnull = yes; then :
3768
3769$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
3770
3771else
3772  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
3773
3774   case " $LIBOBJS " in
3775  *" malloc.$ac_objext "* ) ;;
3776  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
3777 ;;
3778esac
3779
3780
3781$as_echo "#define malloc rpl_malloc" >>confdefs.h
3782
3783fi
3784
3785
3786for ac_func in ftruncate gettimeofday memset strcasecmp strchr strpbrk strrchr strstr
3787do :
3788  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3789ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3790if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3791  cat >>confdefs.h <<_ACEOF
3792#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3793_ACEOF
3794
3795fi
3796done
3797
3798
3799# Reset DPDK to 0
3800DPDK=0
3801
3802# Reset PSIO to 0
3803PSIO=0
3804
3805# Reset Netmap to 0
3806NETMAP=0
3807
3808# Reset Pcap to 0
3809PCAP=0
3810
3811
3812# Enable dpdk
3813# Check whether --enable-dpdk was given.
3814if test "${enable_dpdk+set}" = set; then :
3815  enableval=$enable_dpdk;
3816fi
3817
3818
3819if test "x$enable_dpdk" = "xyes"; then :
3820
3821	       	 DPDK=1
3822
3823
3824fi
3825
3826# Enable netmap
3827# Check whether --enable-netmap was given.
3828if test "${enable_netmap+set}" = set; then :
3829  enableval=$enable_netmap;
3830fi
3831
3832
3833if test "x$enable_netmap" = "xyes"; then :
3834
3835	       	 NETMAP=1
3836
3837
3838fi
3839
3840# Enable psio
3841# Check whether --enable-psio was given.
3842if test "${enable_psio+set}" = set; then :
3843  enableval=$enable_psio;
3844fi
3845
3846
3847if test "x$enable_psio" = "xyes"; then :
3848
3849	       	 PSIO=1
3850
3851
3852fi
3853
3854if test "$DPDK" == "0" && test "$PSIO" == "0" && test "$NETMAP" == "0"
3855then
3856        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Packet I/O library is missing. Please set either dpdk, netmap or psio as your I/O lib.I am choosing pcap as your I/O lib!" >&5
3857$as_echo "$as_me: WARNING: Packet I/O library is missing. Please set either dpdk, netmap or psio as your I/O lib.I am choosing pcap as your I/O lib!" >&2;}
3858	PCAP=1
3859
3860fi
3861
3862ac_config_files="$ac_config_files ../core/src/Makefile"
3863
3864cat >confcache <<\_ACEOF
3865# This file is a shell script that caches the results of configure
3866# tests run on this system so they can be shared between configure
3867# scripts and configure runs, see configure's option --config-cache.
3868# It is not useful on other systems.  If it contains results you don't
3869# want to keep, you may remove or edit it.
3870#
3871# config.status only pays attention to the cache file if you give it
3872# the --recheck option to rerun configure.
3873#
3874# `ac_cv_env_foo' variables (set or unset) will be overridden when
3875# loading this file, other *unset* `ac_cv_foo' will be assigned the
3876# following values.
3877
3878_ACEOF
3879
3880# The following way of writing the cache mishandles newlines in values,
3881# but we know of no workaround that is simple, portable, and efficient.
3882# So, we kill variables containing newlines.
3883# Ultrix sh set writes to stderr and can't be redirected directly,
3884# and sets the high bit in the cache file unless we assign to the vars.
3885(
3886  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3887    eval ac_val=\$$ac_var
3888    case $ac_val in #(
3889    *${as_nl}*)
3890      case $ac_var in #(
3891      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3892$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3893      esac
3894      case $ac_var in #(
3895      _ | IFS | as_nl) ;; #(
3896      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3897      *) { eval $ac_var=; unset $ac_var;} ;;
3898      esac ;;
3899    esac
3900  done
3901
3902  (set) 2>&1 |
3903    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3904    *${as_nl}ac_space=\ *)
3905      # `set' does not quote correctly, so add quotes: double-quote
3906      # substitution turns \\\\ into \\, and sed turns \\ into \.
3907      sed -n \
3908	"s/'/'\\\\''/g;
3909	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3910      ;; #(
3911    *)
3912      # `set' quotes correctly as required by POSIX, so do not add quotes.
3913      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3914      ;;
3915    esac |
3916    sort
3917) |
3918  sed '
3919     /^ac_cv_env_/b end
3920     t clear
3921     :clear
3922     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3923     t end
3924     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3925     :end' >>confcache
3926if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3927  if test -w "$cache_file"; then
3928    if test "x$cache_file" != "x/dev/null"; then
3929      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3930$as_echo "$as_me: updating cache $cache_file" >&6;}
3931      if test ! -f "$cache_file" || test -h "$cache_file"; then
3932	cat confcache >"$cache_file"
3933      else
3934        case $cache_file in #(
3935        */* | ?:*)
3936	  mv -f confcache "$cache_file"$$ &&
3937	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3938        *)
3939	  mv -f confcache "$cache_file" ;;
3940	esac
3941      fi
3942    fi
3943  else
3944    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3945$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3946  fi
3947fi
3948rm -f confcache
3949
3950test "x$prefix" = xNONE && prefix=$ac_default_prefix
3951# Let make expand exec_prefix.
3952test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3953
3954# Transform confdefs.h into DEFS.
3955# Protect against shell expansion while executing Makefile rules.
3956# Protect against Makefile macro expansion.
3957#
3958# If the first sed substitution is executed (which looks for macros that
3959# take arguments), then branch to the quote section.  Otherwise,
3960# look for a macro that doesn't take arguments.
3961ac_script='
3962:mline
3963/\\$/{
3964 N
3965 s,\\\n,,
3966 b mline
3967}
3968t clear
3969:clear
3970s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3971t quote
3972s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3973t quote
3974b any
3975:quote
3976s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3977s/\[/\\&/g
3978s/\]/\\&/g
3979s/\$/$$/g
3980H
3981:any
3982${
3983	g
3984	s/^\n//
3985	s/\n/ /g
3986	p
3987}
3988'
3989DEFS=`sed -n "$ac_script" confdefs.h`
3990
3991
3992ac_libobjs=
3993ac_ltlibobjs=
3994U=
3995for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3996  # 1. Remove the extension, and $U if already installed.
3997  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3998  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3999  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4000  #    will be set to the directory where LIBOBJS objects are built.
4001  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4002  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4003done
4004LIBOBJS=$ac_libobjs
4005
4006LTLIBOBJS=$ac_ltlibobjs
4007
4008
4009
4010: "${CONFIG_STATUS=./config.status}"
4011ac_write_fail=0
4012ac_clean_files_save=$ac_clean_files
4013ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4014{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4015$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4016as_write_fail=0
4017cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4018#! $SHELL
4019# Generated by $as_me.
4020# Run this file to recreate the current configuration.
4021# Compiler output produced by configure, useful for debugging
4022# configure, is in config.log if it exists.
4023
4024debug=false
4025ac_cs_recheck=false
4026ac_cs_silent=false
4027
4028SHELL=\${CONFIG_SHELL-$SHELL}
4029export SHELL
4030_ASEOF
4031cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4032## -------------------- ##
4033## M4sh Initialization. ##
4034## -------------------- ##
4035
4036# Be more Bourne compatible
4037DUALCASE=1; export DUALCASE # for MKS sh
4038if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4039  emulate sh
4040  NULLCMD=:
4041  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4042  # is contrary to our usage.  Disable this feature.
4043  alias -g '${1+"$@"}'='"$@"'
4044  setopt NO_GLOB_SUBST
4045else
4046  case `(set -o) 2>/dev/null` in #(
4047  *posix*) :
4048    set -o posix ;; #(
4049  *) :
4050     ;;
4051esac
4052fi
4053
4054
4055as_nl='
4056'
4057export as_nl
4058# Printing a long string crashes Solaris 7 /usr/bin/printf.
4059as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4060as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4061as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4062# Prefer a ksh shell builtin over an external printf program on Solaris,
4063# but without wasting forks for bash or zsh.
4064if test -z "$BASH_VERSION$ZSH_VERSION" \
4065    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4066  as_echo='print -r --'
4067  as_echo_n='print -rn --'
4068elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4069  as_echo='printf %s\n'
4070  as_echo_n='printf %s'
4071else
4072  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4073    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4074    as_echo_n='/usr/ucb/echo -n'
4075  else
4076    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4077    as_echo_n_body='eval
4078      arg=$1;
4079      case $arg in #(
4080      *"$as_nl"*)
4081	expr "X$arg" : "X\\(.*\\)$as_nl";
4082	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4083      esac;
4084      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4085    '
4086    export as_echo_n_body
4087    as_echo_n='sh -c $as_echo_n_body as_echo'
4088  fi
4089  export as_echo_body
4090  as_echo='sh -c $as_echo_body as_echo'
4091fi
4092
4093# The user is always right.
4094if test "${PATH_SEPARATOR+set}" != set; then
4095  PATH_SEPARATOR=:
4096  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4097    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4098      PATH_SEPARATOR=';'
4099  }
4100fi
4101
4102
4103# IFS
4104# We need space, tab and new line, in precisely that order.  Quoting is
4105# there to prevent editors from complaining about space-tab.
4106# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4107# splitting by setting IFS to empty value.)
4108IFS=" ""	$as_nl"
4109
4110# Find who we are.  Look in the path if we contain no directory separator.
4111as_myself=
4112case $0 in #((
4113  *[\\/]* ) as_myself=$0 ;;
4114  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115for as_dir in $PATH
4116do
4117  IFS=$as_save_IFS
4118  test -z "$as_dir" && as_dir=.
4119    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4120  done
4121IFS=$as_save_IFS
4122
4123     ;;
4124esac
4125# We did not find ourselves, most probably we were run as `sh COMMAND'
4126# in which case we are not to be found in the path.
4127if test "x$as_myself" = x; then
4128  as_myself=$0
4129fi
4130if test ! -f "$as_myself"; then
4131  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4132  exit 1
4133fi
4134
4135# Unset variables that we do not need and which cause bugs (e.g. in
4136# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4137# suppresses any "Segmentation fault" message there.  '((' could
4138# trigger a bug in pdksh 5.2.14.
4139for as_var in BASH_ENV ENV MAIL MAILPATH
4140do eval test x\${$as_var+set} = xset \
4141  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4142done
4143PS1='$ '
4144PS2='> '
4145PS4='+ '
4146
4147# NLS nuisances.
4148LC_ALL=C
4149export LC_ALL
4150LANGUAGE=C
4151export LANGUAGE
4152
4153# CDPATH.
4154(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4155
4156
4157# as_fn_error STATUS ERROR [LINENO LOG_FD]
4158# ----------------------------------------
4159# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4160# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4161# script with STATUS, using 1 if that was 0.
4162as_fn_error ()
4163{
4164  as_status=$1; test $as_status -eq 0 && as_status=1
4165  if test "$4"; then
4166    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4167    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4168  fi
4169  $as_echo "$as_me: error: $2" >&2
4170  as_fn_exit $as_status
4171} # as_fn_error
4172
4173
4174# as_fn_set_status STATUS
4175# -----------------------
4176# Set $? to STATUS, without forking.
4177as_fn_set_status ()
4178{
4179  return $1
4180} # as_fn_set_status
4181
4182# as_fn_exit STATUS
4183# -----------------
4184# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4185as_fn_exit ()
4186{
4187  set +e
4188  as_fn_set_status $1
4189  exit $1
4190} # as_fn_exit
4191
4192# as_fn_unset VAR
4193# ---------------
4194# Portably unset VAR.
4195as_fn_unset ()
4196{
4197  { eval $1=; unset $1;}
4198}
4199as_unset=as_fn_unset
4200# as_fn_append VAR VALUE
4201# ----------------------
4202# Append the text in VALUE to the end of the definition contained in VAR. Take
4203# advantage of any shell optimizations that allow amortized linear growth over
4204# repeated appends, instead of the typical quadratic growth present in naive
4205# implementations.
4206if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4207  eval 'as_fn_append ()
4208  {
4209    eval $1+=\$2
4210  }'
4211else
4212  as_fn_append ()
4213  {
4214    eval $1=\$$1\$2
4215  }
4216fi # as_fn_append
4217
4218# as_fn_arith ARG...
4219# ------------------
4220# Perform arithmetic evaluation on the ARGs, and store the result in the
4221# global $as_val. Take advantage of shells that can avoid forks. The arguments
4222# must be portable across $(()) and expr.
4223if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4224  eval 'as_fn_arith ()
4225  {
4226    as_val=$(( $* ))
4227  }'
4228else
4229  as_fn_arith ()
4230  {
4231    as_val=`expr "$@" || test $? -eq 1`
4232  }
4233fi # as_fn_arith
4234
4235
4236if expr a : '\(a\)' >/dev/null 2>&1 &&
4237   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4238  as_expr=expr
4239else
4240  as_expr=false
4241fi
4242
4243if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4244  as_basename=basename
4245else
4246  as_basename=false
4247fi
4248
4249if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4250  as_dirname=dirname
4251else
4252  as_dirname=false
4253fi
4254
4255as_me=`$as_basename -- "$0" ||
4256$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4257	 X"$0" : 'X\(//\)$' \| \
4258	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4259$as_echo X/"$0" |
4260    sed '/^.*\/\([^/][^/]*\)\/*$/{
4261	    s//\1/
4262	    q
4263	  }
4264	  /^X\/\(\/\/\)$/{
4265	    s//\1/
4266	    q
4267	  }
4268	  /^X\/\(\/\).*/{
4269	    s//\1/
4270	    q
4271	  }
4272	  s/.*/./; q'`
4273
4274# Avoid depending upon Character Ranges.
4275as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4276as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4277as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4278as_cr_digits='0123456789'
4279as_cr_alnum=$as_cr_Letters$as_cr_digits
4280
4281ECHO_C= ECHO_N= ECHO_T=
4282case `echo -n x` in #(((((
4283-n*)
4284  case `echo 'xy\c'` in
4285  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4286  xy)  ECHO_C='\c';;
4287  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4288       ECHO_T='	';;
4289  esac;;
4290*)
4291  ECHO_N='-n';;
4292esac
4293
4294rm -f conf$$ conf$$.exe conf$$.file
4295if test -d conf$$.dir; then
4296  rm -f conf$$.dir/conf$$.file
4297else
4298  rm -f conf$$.dir
4299  mkdir conf$$.dir 2>/dev/null
4300fi
4301if (echo >conf$$.file) 2>/dev/null; then
4302  if ln -s conf$$.file conf$$ 2>/dev/null; then
4303    as_ln_s='ln -s'
4304    # ... but there are two gotchas:
4305    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4306    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4307    # In both cases, we have to default to `cp -pR'.
4308    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4309      as_ln_s='cp -pR'
4310  elif ln conf$$.file conf$$ 2>/dev/null; then
4311    as_ln_s=ln
4312  else
4313    as_ln_s='cp -pR'
4314  fi
4315else
4316  as_ln_s='cp -pR'
4317fi
4318rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4319rmdir conf$$.dir 2>/dev/null
4320
4321
4322# as_fn_mkdir_p
4323# -------------
4324# Create "$as_dir" as a directory, including parents if necessary.
4325as_fn_mkdir_p ()
4326{
4327
4328  case $as_dir in #(
4329  -*) as_dir=./$as_dir;;
4330  esac
4331  test -d "$as_dir" || eval $as_mkdir_p || {
4332    as_dirs=
4333    while :; do
4334      case $as_dir in #(
4335      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4336      *) as_qdir=$as_dir;;
4337      esac
4338      as_dirs="'$as_qdir' $as_dirs"
4339      as_dir=`$as_dirname -- "$as_dir" ||
4340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4341	 X"$as_dir" : 'X\(//\)[^/]' \| \
4342	 X"$as_dir" : 'X\(//\)$' \| \
4343	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4344$as_echo X"$as_dir" |
4345    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4346	    s//\1/
4347	    q
4348	  }
4349	  /^X\(\/\/\)[^/].*/{
4350	    s//\1/
4351	    q
4352	  }
4353	  /^X\(\/\/\)$/{
4354	    s//\1/
4355	    q
4356	  }
4357	  /^X\(\/\).*/{
4358	    s//\1/
4359	    q
4360	  }
4361	  s/.*/./; q'`
4362      test -d "$as_dir" && break
4363    done
4364    test -z "$as_dirs" || eval "mkdir $as_dirs"
4365  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4366
4367
4368} # as_fn_mkdir_p
4369if mkdir -p . 2>/dev/null; then
4370  as_mkdir_p='mkdir -p "$as_dir"'
4371else
4372  test -d ./-p && rmdir ./-p
4373  as_mkdir_p=false
4374fi
4375
4376
4377# as_fn_executable_p FILE
4378# -----------------------
4379# Test if FILE is an executable regular file.
4380as_fn_executable_p ()
4381{
4382  test -f "$1" && test -x "$1"
4383} # as_fn_executable_p
4384as_test_x='test -x'
4385as_executable_p=as_fn_executable_p
4386
4387# Sed expression to map a string onto a valid CPP name.
4388as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4389
4390# Sed expression to map a string onto a valid variable name.
4391as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4392
4393
4394exec 6>&1
4395## ----------------------------------- ##
4396## Main body of $CONFIG_STATUS script. ##
4397## ----------------------------------- ##
4398_ASEOF
4399test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4400
4401cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4402# Save the log message, to keep $0 and so on meaningful, and to
4403# report actual input values of CONFIG_FILES etc. instead of their
4404# values after options handling.
4405ac_log="
4406This file was extended by mos_release $as_me version-0.3, which was
4407generated by GNU Autoconf 2.69.  Invocation command line was
4408
4409  CONFIG_FILES    = $CONFIG_FILES
4410  CONFIG_HEADERS  = $CONFIG_HEADERS
4411  CONFIG_LINKS    = $CONFIG_LINKS
4412  CONFIG_COMMANDS = $CONFIG_COMMANDS
4413  $ $0 $@
4414
4415on `(hostname || uname -n) 2>/dev/null | sed 1q`
4416"
4417
4418_ACEOF
4419
4420case $ac_config_files in *"
4421"*) set x $ac_config_files; shift; ac_config_files=$*;;
4422esac
4423
4424
4425
4426cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4427# Files that config.status was made for.
4428config_files="$ac_config_files"
4429
4430_ACEOF
4431
4432cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4433ac_cs_usage="\
4434\`$as_me' instantiates files and other configuration actions
4435from templates according to the current configuration.  Unless the files
4436and actions are specified as TAGs, all are instantiated by default.
4437
4438Usage: $0 [OPTION]... [TAG]...
4439
4440  -h, --help       print this help, then exit
4441  -V, --version    print version number and configuration settings, then exit
4442      --config     print configuration, then exit
4443  -q, --quiet, --silent
4444                   do not print progress messages
4445  -d, --debug      don't remove temporary files
4446      --recheck    update $as_me by reconfiguring in the same conditions
4447      --file=FILE[:TEMPLATE]
4448                   instantiate the configuration file FILE
4449
4450Configuration files:
4451$config_files
4452
4453Report bugs to <[email protected]>."
4454
4455_ACEOF
4456cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4457ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4458ac_cs_version="\\
4459mos_release config.status version-0.3
4460configured by $0, generated by GNU Autoconf 2.69,
4461  with options \\"\$ac_cs_config\\"
4462
4463Copyright (C) 2012 Free Software Foundation, Inc.
4464This config.status script is free software; the Free Software Foundation
4465gives unlimited permission to copy, distribute and modify it."
4466
4467ac_pwd='$ac_pwd'
4468srcdir='$srcdir'
4469test -n "\$AWK" || AWK=awk
4470_ACEOF
4471
4472cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4473# The default lists apply if the user does not specify any file.
4474ac_need_defaults=:
4475while test $# != 0
4476do
4477  case $1 in
4478  --*=?*)
4479    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4480    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4481    ac_shift=:
4482    ;;
4483  --*=)
4484    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4485    ac_optarg=
4486    ac_shift=:
4487    ;;
4488  *)
4489    ac_option=$1
4490    ac_optarg=$2
4491    ac_shift=shift
4492    ;;
4493  esac
4494
4495  case $ac_option in
4496  # Handling of the options.
4497  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4498    ac_cs_recheck=: ;;
4499  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4500    $as_echo "$ac_cs_version"; exit ;;
4501  --config | --confi | --conf | --con | --co | --c )
4502    $as_echo "$ac_cs_config"; exit ;;
4503  --debug | --debu | --deb | --de | --d | -d )
4504    debug=: ;;
4505  --file | --fil | --fi | --f )
4506    $ac_shift
4507    case $ac_optarg in
4508    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4509    '') as_fn_error $? "missing file argument" ;;
4510    esac
4511    as_fn_append CONFIG_FILES " '$ac_optarg'"
4512    ac_need_defaults=false;;
4513  --he | --h |  --help | --hel | -h )
4514    $as_echo "$ac_cs_usage"; exit ;;
4515  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4516  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4517    ac_cs_silent=: ;;
4518
4519  # This is an error.
4520  -*) as_fn_error $? "unrecognized option: \`$1'
4521Try \`$0 --help' for more information." ;;
4522
4523  *) as_fn_append ac_config_targets " $1"
4524     ac_need_defaults=false ;;
4525
4526  esac
4527  shift
4528done
4529
4530ac_configure_extra_args=
4531
4532if $ac_cs_silent; then
4533  exec 6>/dev/null
4534  ac_configure_extra_args="$ac_configure_extra_args --silent"
4535fi
4536
4537_ACEOF
4538cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4539if \$ac_cs_recheck; then
4540  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4541  shift
4542  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4543  CONFIG_SHELL='$SHELL'
4544  export CONFIG_SHELL
4545  exec "\$@"
4546fi
4547
4548_ACEOF
4549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4550exec 5>>config.log
4551{
4552  echo
4553  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4554## Running $as_me. ##
4555_ASBOX
4556  $as_echo "$ac_log"
4557} >&5
4558
4559_ACEOF
4560cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4561_ACEOF
4562
4563cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4564
4565# Handling of arguments.
4566for ac_config_target in $ac_config_targets
4567do
4568  case $ac_config_target in
4569    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
4570
4571  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4572  esac
4573done
4574
4575
4576# If the user did not use the arguments to specify the items to instantiate,
4577# then the envvar interface is used.  Set only those that are not.
4578# We use the long form for the default assignment because of an extremely
4579# bizarre bug on SunOS 4.1.3.
4580if $ac_need_defaults; then
4581  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4582fi
4583
4584# Have a temporary directory for convenience.  Make it in the build tree
4585# simply because there is no reason against having it here, and in addition,
4586# creating and moving files from /tmp can sometimes cause problems.
4587# Hook for its removal unless debugging.
4588# Note that there is a small window in which the directory will not be cleaned:
4589# after its creation but before its name has been assigned to `$tmp'.
4590$debug ||
4591{
4592  tmp= ac_tmp=
4593  trap 'exit_status=$?
4594  : "${ac_tmp:=$tmp}"
4595  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4596' 0
4597  trap 'as_fn_exit 1' 1 2 13 15
4598}
4599# Create a (secure) tmp directory for tmp files.
4600
4601{
4602  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4603  test -d "$tmp"
4604}  ||
4605{
4606  tmp=./conf$$-$RANDOM
4607  (umask 077 && mkdir "$tmp")
4608} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4609ac_tmp=$tmp
4610
4611# Set up the scripts for CONFIG_FILES section.
4612# No need to generate them if there are no CONFIG_FILES.
4613# This happens for instance with `./config.status config.h'.
4614if test -n "$CONFIG_FILES"; then
4615
4616
4617ac_cr=`echo X | tr X '\015'`
4618# On cygwin, bash can eat \r inside `` if the user requested igncr.
4619# But we know of no other shell where ac_cr would be empty at this
4620# point, so we can use a bashism as a fallback.
4621if test "x$ac_cr" = x; then
4622  eval ac_cr=\$\'\\r\'
4623fi
4624ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4625if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4626  ac_cs_awk_cr='\\r'
4627else
4628  ac_cs_awk_cr=$ac_cr
4629fi
4630
4631echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4632_ACEOF
4633
4634
4635{
4636  echo "cat >conf$$subs.awk <<_ACEOF" &&
4637  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4638  echo "_ACEOF"
4639} >conf$$subs.sh ||
4640  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4641ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4642ac_delim='%!_!# '
4643for ac_last_try in false false false false false :; do
4644  . ./conf$$subs.sh ||
4645    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4646
4647  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4648  if test $ac_delim_n = $ac_delim_num; then
4649    break
4650  elif $ac_last_try; then
4651    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4652  else
4653    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4654  fi
4655done
4656rm -f conf$$subs.sh
4657
4658cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4659cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4660_ACEOF
4661sed -n '
4662h
4663s/^/S["/; s/!.*/"]=/
4664p
4665g
4666s/^[^!]*!//
4667:repl
4668t repl
4669s/'"$ac_delim"'$//
4670t delim
4671:nl
4672h
4673s/\(.\{148\}\)..*/\1/
4674t more1
4675s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4676p
4677n
4678b repl
4679:more1
4680s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4681p
4682g
4683s/.\{148\}//
4684t nl
4685:delim
4686h
4687s/\(.\{148\}\)..*/\1/
4688t more2
4689s/["\\]/\\&/g; s/^/"/; s/$/"/
4690p
4691b
4692:more2
4693s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4694p
4695g
4696s/.\{148\}//
4697t delim
4698' <conf$$subs.awk | sed '
4699/^[^""]/{
4700  N
4701  s/\n//
4702}
4703' >>$CONFIG_STATUS || ac_write_fail=1
4704rm -f conf$$subs.awk
4705cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4706_ACAWK
4707cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4708  for (key in S) S_is_set[key] = 1
4709  FS = ""
4710
4711}
4712{
4713  line = $ 0
4714  nfields = split(line, field, "@")
4715  substed = 0
4716  len = length(field[1])
4717  for (i = 2; i < nfields; i++) {
4718    key = field[i]
4719    keylen = length(key)
4720    if (S_is_set[key]) {
4721      value = S[key]
4722      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4723      len += length(value) + length(field[++i])
4724      substed = 1
4725    } else
4726      len += 1 + keylen
4727  }
4728
4729  print line
4730}
4731
4732_ACAWK
4733_ACEOF
4734cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4735if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4736  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4737else
4738  cat
4739fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4740  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4741_ACEOF
4742
4743# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4744# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4745# trailing colons and then remove the whole line if VPATH becomes empty
4746# (actually we leave an empty line to preserve line numbers).
4747if test "x$srcdir" = x.; then
4748  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4749h
4750s///
4751s/^/:/
4752s/[	 ]*$/:/
4753s/:\$(srcdir):/:/g
4754s/:\${srcdir}:/:/g
4755s/:@srcdir@:/:/g
4756s/^:*//
4757s/:*$//
4758x
4759s/\(=[	 ]*\).*/\1/
4760G
4761s/\n//
4762s/^[^=]*=[	 ]*$//
4763}'
4764fi
4765
4766cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4767fi # test -n "$CONFIG_FILES"
4768
4769
4770eval set X "  :F $CONFIG_FILES      "
4771shift
4772for ac_tag
4773do
4774  case $ac_tag in
4775  :[FHLC]) ac_mode=$ac_tag; continue;;
4776  esac
4777  case $ac_mode$ac_tag in
4778  :[FHL]*:*);;
4779  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4780  :[FH]-) ac_tag=-:-;;
4781  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4782  esac
4783  ac_save_IFS=$IFS
4784  IFS=:
4785  set x $ac_tag
4786  IFS=$ac_save_IFS
4787  shift
4788  ac_file=$1
4789  shift
4790
4791  case $ac_mode in
4792  :L) ac_source=$1;;
4793  :[FH])
4794    ac_file_inputs=
4795    for ac_f
4796    do
4797      case $ac_f in
4798      -) ac_f="$ac_tmp/stdin";;
4799      *) # Look for the file first in the build tree, then in the source tree
4800	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4801	 # because $ac_f cannot contain `:'.
4802	 test -f "$ac_f" ||
4803	   case $ac_f in
4804	   [\\/$]*) false;;
4805	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4806	   esac ||
4807	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4808      esac
4809      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4810      as_fn_append ac_file_inputs " '$ac_f'"
4811    done
4812
4813    # Let's still pretend it is `configure' which instantiates (i.e., don't
4814    # use $as_me), people would be surprised to read:
4815    #    /* config.h.  Generated by config.status.  */
4816    configure_input='Generated from '`
4817	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4818	`' by configure.'
4819    if test x"$ac_file" != x-; then
4820      configure_input="$ac_file.  $configure_input"
4821      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4822$as_echo "$as_me: creating $ac_file" >&6;}
4823    fi
4824    # Neutralize special characters interpreted by sed in replacement strings.
4825    case $configure_input in #(
4826    *\&* | *\|* | *\\* )
4827       ac_sed_conf_input=`$as_echo "$configure_input" |
4828       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4829    *) ac_sed_conf_input=$configure_input;;
4830    esac
4831
4832    case $ac_tag in
4833    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4834      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4835    esac
4836    ;;
4837  esac
4838
4839  ac_dir=`$as_dirname -- "$ac_file" ||
4840$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4841	 X"$ac_file" : 'X\(//\)[^/]' \| \
4842	 X"$ac_file" : 'X\(//\)$' \| \
4843	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4844$as_echo X"$ac_file" |
4845    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4846	    s//\1/
4847	    q
4848	  }
4849	  /^X\(\/\/\)[^/].*/{
4850	    s//\1/
4851	    q
4852	  }
4853	  /^X\(\/\/\)$/{
4854	    s//\1/
4855	    q
4856	  }
4857	  /^X\(\/\).*/{
4858	    s//\1/
4859	    q
4860	  }
4861	  s/.*/./; q'`
4862  as_dir="$ac_dir"; as_fn_mkdir_p
4863  ac_builddir=.
4864
4865case "$ac_dir" in
4866.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4867*)
4868  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4869  # A ".." for each directory in $ac_dir_suffix.
4870  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4871  case $ac_top_builddir_sub in
4872  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4873  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4874  esac ;;
4875esac
4876ac_abs_top_builddir=$ac_pwd
4877ac_abs_builddir=$ac_pwd$ac_dir_suffix
4878# for backward compatibility:
4879ac_top_builddir=$ac_top_build_prefix
4880
4881case $srcdir in
4882  .)  # We are building in place.
4883    ac_srcdir=.
4884    ac_top_srcdir=$ac_top_builddir_sub
4885    ac_abs_top_srcdir=$ac_pwd ;;
4886  [\\/]* | ?:[\\/]* )  # Absolute name.
4887    ac_srcdir=$srcdir$ac_dir_suffix;
4888    ac_top_srcdir=$srcdir
4889    ac_abs_top_srcdir=$srcdir ;;
4890  *) # Relative name.
4891    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4892    ac_top_srcdir=$ac_top_build_prefix$srcdir
4893    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4894esac
4895ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4896
4897
4898  case $ac_mode in
4899  :F)
4900  #
4901  # CONFIG_FILE
4902  #
4903
4904_ACEOF
4905
4906cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4907# If the template does not know about datarootdir, expand it.
4908# FIXME: This hack should be removed a few years after 2.60.
4909ac_datarootdir_hack=; ac_datarootdir_seen=
4910ac_sed_dataroot='
4911/datarootdir/ {
4912  p
4913  q
4914}
4915/@datadir@/p
4916/@docdir@/p
4917/@infodir@/p
4918/@localedir@/p
4919/@mandir@/p'
4920case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4921*datarootdir*) ac_datarootdir_seen=yes;;
4922*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4923  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4924$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4925_ACEOF
4926cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4927  ac_datarootdir_hack='
4928  s&@datadir@&$datadir&g
4929  s&@docdir@&$docdir&g
4930  s&@infodir@&$infodir&g
4931  s&@localedir@&$localedir&g
4932  s&@mandir@&$mandir&g
4933  s&\\\${datarootdir}&$datarootdir&g' ;;
4934esac
4935_ACEOF
4936
4937# Neutralize VPATH when `$srcdir' = `.'.
4938# Shell code in configure.ac might set extrasub.
4939# FIXME: do we really want to maintain this feature?
4940cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4941ac_sed_extra="$ac_vpsub
4942$extrasub
4943_ACEOF
4944cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4945:t
4946/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4947s|@configure_input@|$ac_sed_conf_input|;t t
4948s&@top_builddir@&$ac_top_builddir_sub&;t t
4949s&@top_build_prefix@&$ac_top_build_prefix&;t t
4950s&@srcdir@&$ac_srcdir&;t t
4951s&@abs_srcdir@&$ac_abs_srcdir&;t t
4952s&@top_srcdir@&$ac_top_srcdir&;t t
4953s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4954s&@builddir@&$ac_builddir&;t t
4955s&@abs_builddir@&$ac_abs_builddir&;t t
4956s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4957$ac_datarootdir_hack
4958"
4959eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4960  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4961
4962test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4963  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4964  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4965      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4966  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4967which seems to be undefined.  Please make sure it is defined" >&5
4968$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4969which seems to be undefined.  Please make sure it is defined" >&2;}
4970
4971  rm -f "$ac_tmp/stdin"
4972  case $ac_file in
4973  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4974  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4975  esac \
4976  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4977 ;;
4978
4979
4980
4981  esac
4982
4983done # for ac_tag
4984
4985
4986as_fn_exit 0
4987_ACEOF
4988ac_clean_files=$ac_clean_files_save
4989
4990test $ac_write_fail = 0 ||
4991  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4992
4993
4994# configure is writing to config.log, and then calls config.status.
4995# config.status does its own redirection, appending to config.log.
4996# Unfortunately, on DOS this fails, as config.log is still kept open
4997# by configure, so config.status won't be able to write to it; its
4998# output is simply discarded.  So we exec the FD to /dev/null,
4999# effectively closing config.log, so it can be properly (re)opened and
5000# appended to by config.status.  When coming back to configure, we
5001# need to make the FD available again.
5002if test "$no_create" != yes; then
5003  ac_cs_success=:
5004  ac_config_status_args=
5005  test "$silent" = yes &&
5006    ac_config_status_args="$ac_config_status_args --quiet"
5007  exec 5>/dev/null
5008  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5009  exec 5>>config.log
5010  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5011  # would make configure fail if this is the last instruction.
5012  $ac_cs_success || as_fn_exit 1
5013fi
5014if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5015  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5016$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5017fi
5018
5019ac_config_files="$ac_config_files ../samples/epserver/Makefile"
5020
5021cat >confcache <<\_ACEOF
5022# This file is a shell script that caches the results of configure
5023# tests run on this system so they can be shared between configure
5024# scripts and configure runs, see configure's option --config-cache.
5025# It is not useful on other systems.  If it contains results you don't
5026# want to keep, you may remove or edit it.
5027#
5028# config.status only pays attention to the cache file if you give it
5029# the --recheck option to rerun configure.
5030#
5031# `ac_cv_env_foo' variables (set or unset) will be overridden when
5032# loading this file, other *unset* `ac_cv_foo' will be assigned the
5033# following values.
5034
5035_ACEOF
5036
5037# The following way of writing the cache mishandles newlines in values,
5038# but we know of no workaround that is simple, portable, and efficient.
5039# So, we kill variables containing newlines.
5040# Ultrix sh set writes to stderr and can't be redirected directly,
5041# and sets the high bit in the cache file unless we assign to the vars.
5042(
5043  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5044    eval ac_val=\$$ac_var
5045    case $ac_val in #(
5046    *${as_nl}*)
5047      case $ac_var in #(
5048      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5049$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5050      esac
5051      case $ac_var in #(
5052      _ | IFS | as_nl) ;; #(
5053      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5054      *) { eval $ac_var=; unset $ac_var;} ;;
5055      esac ;;
5056    esac
5057  done
5058
5059  (set) 2>&1 |
5060    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5061    *${as_nl}ac_space=\ *)
5062      # `set' does not quote correctly, so add quotes: double-quote
5063      # substitution turns \\\\ into \\, and sed turns \\ into \.
5064      sed -n \
5065	"s/'/'\\\\''/g;
5066	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5067      ;; #(
5068    *)
5069      # `set' quotes correctly as required by POSIX, so do not add quotes.
5070      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5071      ;;
5072    esac |
5073    sort
5074) |
5075  sed '
5076     /^ac_cv_env_/b end
5077     t clear
5078     :clear
5079     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5080     t end
5081     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5082     :end' >>confcache
5083if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5084  if test -w "$cache_file"; then
5085    if test "x$cache_file" != "x/dev/null"; then
5086      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5087$as_echo "$as_me: updating cache $cache_file" >&6;}
5088      if test ! -f "$cache_file" || test -h "$cache_file"; then
5089	cat confcache >"$cache_file"
5090      else
5091        case $cache_file in #(
5092        */* | ?:*)
5093	  mv -f confcache "$cache_file"$$ &&
5094	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5095        *)
5096	  mv -f confcache "$cache_file" ;;
5097	esac
5098      fi
5099    fi
5100  else
5101    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5102$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5103  fi
5104fi
5105rm -f confcache
5106
5107test "x$prefix" = xNONE && prefix=$ac_default_prefix
5108# Let make expand exec_prefix.
5109test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5110
5111# Transform confdefs.h into DEFS.
5112# Protect against shell expansion while executing Makefile rules.
5113# Protect against Makefile macro expansion.
5114#
5115# If the first sed substitution is executed (which looks for macros that
5116# take arguments), then branch to the quote section.  Otherwise,
5117# look for a macro that doesn't take arguments.
5118ac_script='
5119:mline
5120/\\$/{
5121 N
5122 s,\\\n,,
5123 b mline
5124}
5125t clear
5126:clear
5127s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5128t quote
5129s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5130t quote
5131b any
5132:quote
5133s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5134s/\[/\\&/g
5135s/\]/\\&/g
5136s/\$/$$/g
5137H
5138:any
5139${
5140	g
5141	s/^\n//
5142	s/\n/ /g
5143	p
5144}
5145'
5146DEFS=`sed -n "$ac_script" confdefs.h`
5147
5148
5149ac_libobjs=
5150ac_ltlibobjs=
5151U=
5152for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5153  # 1. Remove the extension, and $U if already installed.
5154  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5155  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5156  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5157  #    will be set to the directory where LIBOBJS objects are built.
5158  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5159  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5160done
5161LIBOBJS=$ac_libobjs
5162
5163LTLIBOBJS=$ac_ltlibobjs
5164
5165
5166
5167: "${CONFIG_STATUS=./config.status}"
5168ac_write_fail=0
5169ac_clean_files_save=$ac_clean_files
5170ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5171{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5172$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5173as_write_fail=0
5174cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5175#! $SHELL
5176# Generated by $as_me.
5177# Run this file to recreate the current configuration.
5178# Compiler output produced by configure, useful for debugging
5179# configure, is in config.log if it exists.
5180
5181debug=false
5182ac_cs_recheck=false
5183ac_cs_silent=false
5184
5185SHELL=\${CONFIG_SHELL-$SHELL}
5186export SHELL
5187_ASEOF
5188cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5189## -------------------- ##
5190## M4sh Initialization. ##
5191## -------------------- ##
5192
5193# Be more Bourne compatible
5194DUALCASE=1; export DUALCASE # for MKS sh
5195if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5196  emulate sh
5197  NULLCMD=:
5198  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5199  # is contrary to our usage.  Disable this feature.
5200  alias -g '${1+"$@"}'='"$@"'
5201  setopt NO_GLOB_SUBST
5202else
5203  case `(set -o) 2>/dev/null` in #(
5204  *posix*) :
5205    set -o posix ;; #(
5206  *) :
5207     ;;
5208esac
5209fi
5210
5211
5212as_nl='
5213'
5214export as_nl
5215# Printing a long string crashes Solaris 7 /usr/bin/printf.
5216as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5217as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5218as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5219# Prefer a ksh shell builtin over an external printf program on Solaris,
5220# but without wasting forks for bash or zsh.
5221if test -z "$BASH_VERSION$ZSH_VERSION" \
5222    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5223  as_echo='print -r --'
5224  as_echo_n='print -rn --'
5225elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5226  as_echo='printf %s\n'
5227  as_echo_n='printf %s'
5228else
5229  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5230    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5231    as_echo_n='/usr/ucb/echo -n'
5232  else
5233    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5234    as_echo_n_body='eval
5235      arg=$1;
5236      case $arg in #(
5237      *"$as_nl"*)
5238	expr "X$arg" : "X\\(.*\\)$as_nl";
5239	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5240      esac;
5241      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5242    '
5243    export as_echo_n_body
5244    as_echo_n='sh -c $as_echo_n_body as_echo'
5245  fi
5246  export as_echo_body
5247  as_echo='sh -c $as_echo_body as_echo'
5248fi
5249
5250# The user is always right.
5251if test "${PATH_SEPARATOR+set}" != set; then
5252  PATH_SEPARATOR=:
5253  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5254    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5255      PATH_SEPARATOR=';'
5256  }
5257fi
5258
5259
5260# IFS
5261# We need space, tab and new line, in precisely that order.  Quoting is
5262# there to prevent editors from complaining about space-tab.
5263# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5264# splitting by setting IFS to empty value.)
5265IFS=" ""	$as_nl"
5266
5267# Find who we are.  Look in the path if we contain no directory separator.
5268as_myself=
5269case $0 in #((
5270  *[\\/]* ) as_myself=$0 ;;
5271  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272for as_dir in $PATH
5273do
5274  IFS=$as_save_IFS
5275  test -z "$as_dir" && as_dir=.
5276    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5277  done
5278IFS=$as_save_IFS
5279
5280     ;;
5281esac
5282# We did not find ourselves, most probably we were run as `sh COMMAND'
5283# in which case we are not to be found in the path.
5284if test "x$as_myself" = x; then
5285  as_myself=$0
5286fi
5287if test ! -f "$as_myself"; then
5288  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5289  exit 1
5290fi
5291
5292# Unset variables that we do not need and which cause bugs (e.g. in
5293# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5294# suppresses any "Segmentation fault" message there.  '((' could
5295# trigger a bug in pdksh 5.2.14.
5296for as_var in BASH_ENV ENV MAIL MAILPATH
5297do eval test x\${$as_var+set} = xset \
5298  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5299done
5300PS1='$ '
5301PS2='> '
5302PS4='+ '
5303
5304# NLS nuisances.
5305LC_ALL=C
5306export LC_ALL
5307LANGUAGE=C
5308export LANGUAGE
5309
5310# CDPATH.
5311(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5312
5313
5314# as_fn_error STATUS ERROR [LINENO LOG_FD]
5315# ----------------------------------------
5316# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5317# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5318# script with STATUS, using 1 if that was 0.
5319as_fn_error ()
5320{
5321  as_status=$1; test $as_status -eq 0 && as_status=1
5322  if test "$4"; then
5323    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5324    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5325  fi
5326  $as_echo "$as_me: error: $2" >&2
5327  as_fn_exit $as_status
5328} # as_fn_error
5329
5330
5331# as_fn_set_status STATUS
5332# -----------------------
5333# Set $? to STATUS, without forking.
5334as_fn_set_status ()
5335{
5336  return $1
5337} # as_fn_set_status
5338
5339# as_fn_exit STATUS
5340# -----------------
5341# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5342as_fn_exit ()
5343{
5344  set +e
5345  as_fn_set_status $1
5346  exit $1
5347} # as_fn_exit
5348
5349# as_fn_unset VAR
5350# ---------------
5351# Portably unset VAR.
5352as_fn_unset ()
5353{
5354  { eval $1=; unset $1;}
5355}
5356as_unset=as_fn_unset
5357# as_fn_append VAR VALUE
5358# ----------------------
5359# Append the text in VALUE to the end of the definition contained in VAR. Take
5360# advantage of any shell optimizations that allow amortized linear growth over
5361# repeated appends, instead of the typical quadratic growth present in naive
5362# implementations.
5363if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5364  eval 'as_fn_append ()
5365  {
5366    eval $1+=\$2
5367  }'
5368else
5369  as_fn_append ()
5370  {
5371    eval $1=\$$1\$2
5372  }
5373fi # as_fn_append
5374
5375# as_fn_arith ARG...
5376# ------------------
5377# Perform arithmetic evaluation on the ARGs, and store the result in the
5378# global $as_val. Take advantage of shells that can avoid forks. The arguments
5379# must be portable across $(()) and expr.
5380if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5381  eval 'as_fn_arith ()
5382  {
5383    as_val=$(( $* ))
5384  }'
5385else
5386  as_fn_arith ()
5387  {
5388    as_val=`expr "$@" || test $? -eq 1`
5389  }
5390fi # as_fn_arith
5391
5392
5393if expr a : '\(a\)' >/dev/null 2>&1 &&
5394   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5395  as_expr=expr
5396else
5397  as_expr=false
5398fi
5399
5400if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5401  as_basename=basename
5402else
5403  as_basename=false
5404fi
5405
5406if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5407  as_dirname=dirname
5408else
5409  as_dirname=false
5410fi
5411
5412as_me=`$as_basename -- "$0" ||
5413$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5414	 X"$0" : 'X\(//\)$' \| \
5415	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5416$as_echo X/"$0" |
5417    sed '/^.*\/\([^/][^/]*\)\/*$/{
5418	    s//\1/
5419	    q
5420	  }
5421	  /^X\/\(\/\/\)$/{
5422	    s//\1/
5423	    q
5424	  }
5425	  /^X\/\(\/\).*/{
5426	    s//\1/
5427	    q
5428	  }
5429	  s/.*/./; q'`
5430
5431# Avoid depending upon Character Ranges.
5432as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5433as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5434as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5435as_cr_digits='0123456789'
5436as_cr_alnum=$as_cr_Letters$as_cr_digits
5437
5438ECHO_C= ECHO_N= ECHO_T=
5439case `echo -n x` in #(((((
5440-n*)
5441  case `echo 'xy\c'` in
5442  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5443  xy)  ECHO_C='\c';;
5444  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5445       ECHO_T='	';;
5446  esac;;
5447*)
5448  ECHO_N='-n';;
5449esac
5450
5451rm -f conf$$ conf$$.exe conf$$.file
5452if test -d conf$$.dir; then
5453  rm -f conf$$.dir/conf$$.file
5454else
5455  rm -f conf$$.dir
5456  mkdir conf$$.dir 2>/dev/null
5457fi
5458if (echo >conf$$.file) 2>/dev/null; then
5459  if ln -s conf$$.file conf$$ 2>/dev/null; then
5460    as_ln_s='ln -s'
5461    # ... but there are two gotchas:
5462    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5463    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5464    # In both cases, we have to default to `cp -pR'.
5465    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5466      as_ln_s='cp -pR'
5467  elif ln conf$$.file conf$$ 2>/dev/null; then
5468    as_ln_s=ln
5469  else
5470    as_ln_s='cp -pR'
5471  fi
5472else
5473  as_ln_s='cp -pR'
5474fi
5475rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5476rmdir conf$$.dir 2>/dev/null
5477
5478
5479# as_fn_mkdir_p
5480# -------------
5481# Create "$as_dir" as a directory, including parents if necessary.
5482as_fn_mkdir_p ()
5483{
5484
5485  case $as_dir in #(
5486  -*) as_dir=./$as_dir;;
5487  esac
5488  test -d "$as_dir" || eval $as_mkdir_p || {
5489    as_dirs=
5490    while :; do
5491      case $as_dir in #(
5492      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5493      *) as_qdir=$as_dir;;
5494      esac
5495      as_dirs="'$as_qdir' $as_dirs"
5496      as_dir=`$as_dirname -- "$as_dir" ||
5497$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5498	 X"$as_dir" : 'X\(//\)[^/]' \| \
5499	 X"$as_dir" : 'X\(//\)$' \| \
5500	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5501$as_echo X"$as_dir" |
5502    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5503	    s//\1/
5504	    q
5505	  }
5506	  /^X\(\/\/\)[^/].*/{
5507	    s//\1/
5508	    q
5509	  }
5510	  /^X\(\/\/\)$/{
5511	    s//\1/
5512	    q
5513	  }
5514	  /^X\(\/\).*/{
5515	    s//\1/
5516	    q
5517	  }
5518	  s/.*/./; q'`
5519      test -d "$as_dir" && break
5520    done
5521    test -z "$as_dirs" || eval "mkdir $as_dirs"
5522  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5523
5524
5525} # as_fn_mkdir_p
5526if mkdir -p . 2>/dev/null; then
5527  as_mkdir_p='mkdir -p "$as_dir"'
5528else
5529  test -d ./-p && rmdir ./-p
5530  as_mkdir_p=false
5531fi
5532
5533
5534# as_fn_executable_p FILE
5535# -----------------------
5536# Test if FILE is an executable regular file.
5537as_fn_executable_p ()
5538{
5539  test -f "$1" && test -x "$1"
5540} # as_fn_executable_p
5541as_test_x='test -x'
5542as_executable_p=as_fn_executable_p
5543
5544# Sed expression to map a string onto a valid CPP name.
5545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5546
5547# Sed expression to map a string onto a valid variable name.
5548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5549
5550
5551exec 6>&1
5552## ----------------------------------- ##
5553## Main body of $CONFIG_STATUS script. ##
5554## ----------------------------------- ##
5555_ASEOF
5556test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5557
5558cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5559# Save the log message, to keep $0 and so on meaningful, and to
5560# report actual input values of CONFIG_FILES etc. instead of their
5561# values after options handling.
5562ac_log="
5563This file was extended by mos_release $as_me version-0.3, which was
5564generated by GNU Autoconf 2.69.  Invocation command line was
5565
5566  CONFIG_FILES    = $CONFIG_FILES
5567  CONFIG_HEADERS  = $CONFIG_HEADERS
5568  CONFIG_LINKS    = $CONFIG_LINKS
5569  CONFIG_COMMANDS = $CONFIG_COMMANDS
5570  $ $0 $@
5571
5572on `(hostname || uname -n) 2>/dev/null | sed 1q`
5573"
5574
5575_ACEOF
5576
5577case $ac_config_files in *"
5578"*) set x $ac_config_files; shift; ac_config_files=$*;;
5579esac
5580
5581
5582
5583cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5584# Files that config.status was made for.
5585config_files="$ac_config_files"
5586
5587_ACEOF
5588
5589cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5590ac_cs_usage="\
5591\`$as_me' instantiates files and other configuration actions
5592from templates according to the current configuration.  Unless the files
5593and actions are specified as TAGs, all are instantiated by default.
5594
5595Usage: $0 [OPTION]... [TAG]...
5596
5597  -h, --help       print this help, then exit
5598  -V, --version    print version number and configuration settings, then exit
5599      --config     print configuration, then exit
5600  -q, --quiet, --silent
5601                   do not print progress messages
5602  -d, --debug      don't remove temporary files
5603      --recheck    update $as_me by reconfiguring in the same conditions
5604      --file=FILE[:TEMPLATE]
5605                   instantiate the configuration file FILE
5606
5607Configuration files:
5608$config_files
5609
5610Report bugs to <[email protected]>."
5611
5612_ACEOF
5613cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5614ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5615ac_cs_version="\\
5616mos_release config.status version-0.3
5617configured by $0, generated by GNU Autoconf 2.69,
5618  with options \\"\$ac_cs_config\\"
5619
5620Copyright (C) 2012 Free Software Foundation, Inc.
5621This config.status script is free software; the Free Software Foundation
5622gives unlimited permission to copy, distribute and modify it."
5623
5624ac_pwd='$ac_pwd'
5625srcdir='$srcdir'
5626test -n "\$AWK" || AWK=awk
5627_ACEOF
5628
5629cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5630# The default lists apply if the user does not specify any file.
5631ac_need_defaults=:
5632while test $# != 0
5633do
5634  case $1 in
5635  --*=?*)
5636    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5637    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5638    ac_shift=:
5639    ;;
5640  --*=)
5641    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5642    ac_optarg=
5643    ac_shift=:
5644    ;;
5645  *)
5646    ac_option=$1
5647    ac_optarg=$2
5648    ac_shift=shift
5649    ;;
5650  esac
5651
5652  case $ac_option in
5653  # Handling of the options.
5654  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5655    ac_cs_recheck=: ;;
5656  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5657    $as_echo "$ac_cs_version"; exit ;;
5658  --config | --confi | --conf | --con | --co | --c )
5659    $as_echo "$ac_cs_config"; exit ;;
5660  --debug | --debu | --deb | --de | --d | -d )
5661    debug=: ;;
5662  --file | --fil | --fi | --f )
5663    $ac_shift
5664    case $ac_optarg in
5665    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5666    '') as_fn_error $? "missing file argument" ;;
5667    esac
5668    as_fn_append CONFIG_FILES " '$ac_optarg'"
5669    ac_need_defaults=false;;
5670  --he | --h |  --help | --hel | -h )
5671    $as_echo "$ac_cs_usage"; exit ;;
5672  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5673  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5674    ac_cs_silent=: ;;
5675
5676  # This is an error.
5677  -*) as_fn_error $? "unrecognized option: \`$1'
5678Try \`$0 --help' for more information." ;;
5679
5680  *) as_fn_append ac_config_targets " $1"
5681     ac_need_defaults=false ;;
5682
5683  esac
5684  shift
5685done
5686
5687ac_configure_extra_args=
5688
5689if $ac_cs_silent; then
5690  exec 6>/dev/null
5691  ac_configure_extra_args="$ac_configure_extra_args --silent"
5692fi
5693
5694_ACEOF
5695cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5696if \$ac_cs_recheck; then
5697  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5698  shift
5699  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5700  CONFIG_SHELL='$SHELL'
5701  export CONFIG_SHELL
5702  exec "\$@"
5703fi
5704
5705_ACEOF
5706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5707exec 5>>config.log
5708{
5709  echo
5710  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5711## Running $as_me. ##
5712_ASBOX
5713  $as_echo "$ac_log"
5714} >&5
5715
5716_ACEOF
5717cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5718_ACEOF
5719
5720cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5721
5722# Handling of arguments.
5723for ac_config_target in $ac_config_targets
5724do
5725  case $ac_config_target in
5726    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
5727    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
5728
5729  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5730  esac
5731done
5732
5733
5734# If the user did not use the arguments to specify the items to instantiate,
5735# then the envvar interface is used.  Set only those that are not.
5736# We use the long form for the default assignment because of an extremely
5737# bizarre bug on SunOS 4.1.3.
5738if $ac_need_defaults; then
5739  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5740fi
5741
5742# Have a temporary directory for convenience.  Make it in the build tree
5743# simply because there is no reason against having it here, and in addition,
5744# creating and moving files from /tmp can sometimes cause problems.
5745# Hook for its removal unless debugging.
5746# Note that there is a small window in which the directory will not be cleaned:
5747# after its creation but before its name has been assigned to `$tmp'.
5748$debug ||
5749{
5750  tmp= ac_tmp=
5751  trap 'exit_status=$?
5752  : "${ac_tmp:=$tmp}"
5753  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5754' 0
5755  trap 'as_fn_exit 1' 1 2 13 15
5756}
5757# Create a (secure) tmp directory for tmp files.
5758
5759{
5760  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5761  test -d "$tmp"
5762}  ||
5763{
5764  tmp=./conf$$-$RANDOM
5765  (umask 077 && mkdir "$tmp")
5766} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5767ac_tmp=$tmp
5768
5769# Set up the scripts for CONFIG_FILES section.
5770# No need to generate them if there are no CONFIG_FILES.
5771# This happens for instance with `./config.status config.h'.
5772if test -n "$CONFIG_FILES"; then
5773
5774
5775ac_cr=`echo X | tr X '\015'`
5776# On cygwin, bash can eat \r inside `` if the user requested igncr.
5777# But we know of no other shell where ac_cr would be empty at this
5778# point, so we can use a bashism as a fallback.
5779if test "x$ac_cr" = x; then
5780  eval ac_cr=\$\'\\r\'
5781fi
5782ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5783if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5784  ac_cs_awk_cr='\\r'
5785else
5786  ac_cs_awk_cr=$ac_cr
5787fi
5788
5789echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5790_ACEOF
5791
5792
5793{
5794  echo "cat >conf$$subs.awk <<_ACEOF" &&
5795  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5796  echo "_ACEOF"
5797} >conf$$subs.sh ||
5798  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5799ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5800ac_delim='%!_!# '
5801for ac_last_try in false false false false false :; do
5802  . ./conf$$subs.sh ||
5803    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5804
5805  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5806  if test $ac_delim_n = $ac_delim_num; then
5807    break
5808  elif $ac_last_try; then
5809    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5810  else
5811    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5812  fi
5813done
5814rm -f conf$$subs.sh
5815
5816cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5817cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5818_ACEOF
5819sed -n '
5820h
5821s/^/S["/; s/!.*/"]=/
5822p
5823g
5824s/^[^!]*!//
5825:repl
5826t repl
5827s/'"$ac_delim"'$//
5828t delim
5829:nl
5830h
5831s/\(.\{148\}\)..*/\1/
5832t more1
5833s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5834p
5835n
5836b repl
5837:more1
5838s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5839p
5840g
5841s/.\{148\}//
5842t nl
5843:delim
5844h
5845s/\(.\{148\}\)..*/\1/
5846t more2
5847s/["\\]/\\&/g; s/^/"/; s/$/"/
5848p
5849b
5850:more2
5851s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5852p
5853g
5854s/.\{148\}//
5855t delim
5856' <conf$$subs.awk | sed '
5857/^[^""]/{
5858  N
5859  s/\n//
5860}
5861' >>$CONFIG_STATUS || ac_write_fail=1
5862rm -f conf$$subs.awk
5863cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5864_ACAWK
5865cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5866  for (key in S) S_is_set[key] = 1
5867  FS = ""
5868
5869}
5870{
5871  line = $ 0
5872  nfields = split(line, field, "@")
5873  substed = 0
5874  len = length(field[1])
5875  for (i = 2; i < nfields; i++) {
5876    key = field[i]
5877    keylen = length(key)
5878    if (S_is_set[key]) {
5879      value = S[key]
5880      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5881      len += length(value) + length(field[++i])
5882      substed = 1
5883    } else
5884      len += 1 + keylen
5885  }
5886
5887  print line
5888}
5889
5890_ACAWK
5891_ACEOF
5892cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5893if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5894  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5895else
5896  cat
5897fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5898  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5899_ACEOF
5900
5901# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5902# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5903# trailing colons and then remove the whole line if VPATH becomes empty
5904# (actually we leave an empty line to preserve line numbers).
5905if test "x$srcdir" = x.; then
5906  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5907h
5908s///
5909s/^/:/
5910s/[	 ]*$/:/
5911s/:\$(srcdir):/:/g
5912s/:\${srcdir}:/:/g
5913s/:@srcdir@:/:/g
5914s/^:*//
5915s/:*$//
5916x
5917s/\(=[	 ]*\).*/\1/
5918G
5919s/\n//
5920s/^[^=]*=[	 ]*$//
5921}'
5922fi
5923
5924cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5925fi # test -n "$CONFIG_FILES"
5926
5927
5928eval set X "  :F $CONFIG_FILES      "
5929shift
5930for ac_tag
5931do
5932  case $ac_tag in
5933  :[FHLC]) ac_mode=$ac_tag; continue;;
5934  esac
5935  case $ac_mode$ac_tag in
5936  :[FHL]*:*);;
5937  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5938  :[FH]-) ac_tag=-:-;;
5939  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5940  esac
5941  ac_save_IFS=$IFS
5942  IFS=:
5943  set x $ac_tag
5944  IFS=$ac_save_IFS
5945  shift
5946  ac_file=$1
5947  shift
5948
5949  case $ac_mode in
5950  :L) ac_source=$1;;
5951  :[FH])
5952    ac_file_inputs=
5953    for ac_f
5954    do
5955      case $ac_f in
5956      -) ac_f="$ac_tmp/stdin";;
5957      *) # Look for the file first in the build tree, then in the source tree
5958	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5959	 # because $ac_f cannot contain `:'.
5960	 test -f "$ac_f" ||
5961	   case $ac_f in
5962	   [\\/$]*) false;;
5963	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5964	   esac ||
5965	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5966      esac
5967      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5968      as_fn_append ac_file_inputs " '$ac_f'"
5969    done
5970
5971    # Let's still pretend it is `configure' which instantiates (i.e., don't
5972    # use $as_me), people would be surprised to read:
5973    #    /* config.h.  Generated by config.status.  */
5974    configure_input='Generated from '`
5975	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5976	`' by configure.'
5977    if test x"$ac_file" != x-; then
5978      configure_input="$ac_file.  $configure_input"
5979      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5980$as_echo "$as_me: creating $ac_file" >&6;}
5981    fi
5982    # Neutralize special characters interpreted by sed in replacement strings.
5983    case $configure_input in #(
5984    *\&* | *\|* | *\\* )
5985       ac_sed_conf_input=`$as_echo "$configure_input" |
5986       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5987    *) ac_sed_conf_input=$configure_input;;
5988    esac
5989
5990    case $ac_tag in
5991    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5992      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5993    esac
5994    ;;
5995  esac
5996
5997  ac_dir=`$as_dirname -- "$ac_file" ||
5998$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5999	 X"$ac_file" : 'X\(//\)[^/]' \| \
6000	 X"$ac_file" : 'X\(//\)$' \| \
6001	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6002$as_echo X"$ac_file" |
6003    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6004	    s//\1/
6005	    q
6006	  }
6007	  /^X\(\/\/\)[^/].*/{
6008	    s//\1/
6009	    q
6010	  }
6011	  /^X\(\/\/\)$/{
6012	    s//\1/
6013	    q
6014	  }
6015	  /^X\(\/\).*/{
6016	    s//\1/
6017	    q
6018	  }
6019	  s/.*/./; q'`
6020  as_dir="$ac_dir"; as_fn_mkdir_p
6021  ac_builddir=.
6022
6023case "$ac_dir" in
6024.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6025*)
6026  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6027  # A ".." for each directory in $ac_dir_suffix.
6028  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6029  case $ac_top_builddir_sub in
6030  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6031  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6032  esac ;;
6033esac
6034ac_abs_top_builddir=$ac_pwd
6035ac_abs_builddir=$ac_pwd$ac_dir_suffix
6036# for backward compatibility:
6037ac_top_builddir=$ac_top_build_prefix
6038
6039case $srcdir in
6040  .)  # We are building in place.
6041    ac_srcdir=.
6042    ac_top_srcdir=$ac_top_builddir_sub
6043    ac_abs_top_srcdir=$ac_pwd ;;
6044  [\\/]* | ?:[\\/]* )  # Absolute name.
6045    ac_srcdir=$srcdir$ac_dir_suffix;
6046    ac_top_srcdir=$srcdir
6047    ac_abs_top_srcdir=$srcdir ;;
6048  *) # Relative name.
6049    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6050    ac_top_srcdir=$ac_top_build_prefix$srcdir
6051    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6052esac
6053ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6054
6055
6056  case $ac_mode in
6057  :F)
6058  #
6059  # CONFIG_FILE
6060  #
6061
6062_ACEOF
6063
6064cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6065# If the template does not know about datarootdir, expand it.
6066# FIXME: This hack should be removed a few years after 2.60.
6067ac_datarootdir_hack=; ac_datarootdir_seen=
6068ac_sed_dataroot='
6069/datarootdir/ {
6070  p
6071  q
6072}
6073/@datadir@/p
6074/@docdir@/p
6075/@infodir@/p
6076/@localedir@/p
6077/@mandir@/p'
6078case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6079*datarootdir*) ac_datarootdir_seen=yes;;
6080*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6081  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6082$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6083_ACEOF
6084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085  ac_datarootdir_hack='
6086  s&@datadir@&$datadir&g
6087  s&@docdir@&$docdir&g
6088  s&@infodir@&$infodir&g
6089  s&@localedir@&$localedir&g
6090  s&@mandir@&$mandir&g
6091  s&\\\${datarootdir}&$datarootdir&g' ;;
6092esac
6093_ACEOF
6094
6095# Neutralize VPATH when `$srcdir' = `.'.
6096# Shell code in configure.ac might set extrasub.
6097# FIXME: do we really want to maintain this feature?
6098cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6099ac_sed_extra="$ac_vpsub
6100$extrasub
6101_ACEOF
6102cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6103:t
6104/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6105s|@configure_input@|$ac_sed_conf_input|;t t
6106s&@top_builddir@&$ac_top_builddir_sub&;t t
6107s&@top_build_prefix@&$ac_top_build_prefix&;t t
6108s&@srcdir@&$ac_srcdir&;t t
6109s&@abs_srcdir@&$ac_abs_srcdir&;t t
6110s&@top_srcdir@&$ac_top_srcdir&;t t
6111s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6112s&@builddir@&$ac_builddir&;t t
6113s&@abs_builddir@&$ac_abs_builddir&;t t
6114s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6115$ac_datarootdir_hack
6116"
6117eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6118  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6119
6120test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6121  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6122  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6123      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6124  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6125which seems to be undefined.  Please make sure it is defined" >&5
6126$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6127which seems to be undefined.  Please make sure it is defined" >&2;}
6128
6129  rm -f "$ac_tmp/stdin"
6130  case $ac_file in
6131  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6132  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6133  esac \
6134  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6135 ;;
6136
6137
6138
6139  esac
6140
6141done # for ac_tag
6142
6143
6144as_fn_exit 0
6145_ACEOF
6146ac_clean_files=$ac_clean_files_save
6147
6148test $ac_write_fail = 0 ||
6149  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6150
6151
6152# configure is writing to config.log, and then calls config.status.
6153# config.status does its own redirection, appending to config.log.
6154# Unfortunately, on DOS this fails, as config.log is still kept open
6155# by configure, so config.status won't be able to write to it; its
6156# output is simply discarded.  So we exec the FD to /dev/null,
6157# effectively closing config.log, so it can be properly (re)opened and
6158# appended to by config.status.  When coming back to configure, we
6159# need to make the FD available again.
6160if test "$no_create" != yes; then
6161  ac_cs_success=:
6162  ac_config_status_args=
6163  test "$silent" = yes &&
6164    ac_config_status_args="$ac_config_status_args --quiet"
6165  exec 5>/dev/null
6166  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6167  exec 5>>config.log
6168  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6169  # would make configure fail if this is the last instruction.
6170  $ac_cs_success || as_fn_exit 1
6171fi
6172if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6173  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6174$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6175fi
6176
6177ac_config_files="$ac_config_files ../samples/epwget/Makefile"
6178
6179cat >confcache <<\_ACEOF
6180# This file is a shell script that caches the results of configure
6181# tests run on this system so they can be shared between configure
6182# scripts and configure runs, see configure's option --config-cache.
6183# It is not useful on other systems.  If it contains results you don't
6184# want to keep, you may remove or edit it.
6185#
6186# config.status only pays attention to the cache file if you give it
6187# the --recheck option to rerun configure.
6188#
6189# `ac_cv_env_foo' variables (set or unset) will be overridden when
6190# loading this file, other *unset* `ac_cv_foo' will be assigned the
6191# following values.
6192
6193_ACEOF
6194
6195# The following way of writing the cache mishandles newlines in values,
6196# but we know of no workaround that is simple, portable, and efficient.
6197# So, we kill variables containing newlines.
6198# Ultrix sh set writes to stderr and can't be redirected directly,
6199# and sets the high bit in the cache file unless we assign to the vars.
6200(
6201  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6202    eval ac_val=\$$ac_var
6203    case $ac_val in #(
6204    *${as_nl}*)
6205      case $ac_var in #(
6206      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6207$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6208      esac
6209      case $ac_var in #(
6210      _ | IFS | as_nl) ;; #(
6211      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6212      *) { eval $ac_var=; unset $ac_var;} ;;
6213      esac ;;
6214    esac
6215  done
6216
6217  (set) 2>&1 |
6218    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6219    *${as_nl}ac_space=\ *)
6220      # `set' does not quote correctly, so add quotes: double-quote
6221      # substitution turns \\\\ into \\, and sed turns \\ into \.
6222      sed -n \
6223	"s/'/'\\\\''/g;
6224	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6225      ;; #(
6226    *)
6227      # `set' quotes correctly as required by POSIX, so do not add quotes.
6228      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6229      ;;
6230    esac |
6231    sort
6232) |
6233  sed '
6234     /^ac_cv_env_/b end
6235     t clear
6236     :clear
6237     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6238     t end
6239     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6240     :end' >>confcache
6241if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6242  if test -w "$cache_file"; then
6243    if test "x$cache_file" != "x/dev/null"; then
6244      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6245$as_echo "$as_me: updating cache $cache_file" >&6;}
6246      if test ! -f "$cache_file" || test -h "$cache_file"; then
6247	cat confcache >"$cache_file"
6248      else
6249        case $cache_file in #(
6250        */* | ?:*)
6251	  mv -f confcache "$cache_file"$$ &&
6252	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6253        *)
6254	  mv -f confcache "$cache_file" ;;
6255	esac
6256      fi
6257    fi
6258  else
6259    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6260$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6261  fi
6262fi
6263rm -f confcache
6264
6265test "x$prefix" = xNONE && prefix=$ac_default_prefix
6266# Let make expand exec_prefix.
6267test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6268
6269# Transform confdefs.h into DEFS.
6270# Protect against shell expansion while executing Makefile rules.
6271# Protect against Makefile macro expansion.
6272#
6273# If the first sed substitution is executed (which looks for macros that
6274# take arguments), then branch to the quote section.  Otherwise,
6275# look for a macro that doesn't take arguments.
6276ac_script='
6277:mline
6278/\\$/{
6279 N
6280 s,\\\n,,
6281 b mline
6282}
6283t clear
6284:clear
6285s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
6286t quote
6287s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
6288t quote
6289b any
6290:quote
6291s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6292s/\[/\\&/g
6293s/\]/\\&/g
6294s/\$/$$/g
6295H
6296:any
6297${
6298	g
6299	s/^\n//
6300	s/\n/ /g
6301	p
6302}
6303'
6304DEFS=`sed -n "$ac_script" confdefs.h`
6305
6306
6307ac_libobjs=
6308ac_ltlibobjs=
6309U=
6310for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6311  # 1. Remove the extension, and $U if already installed.
6312  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6313  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6314  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6315  #    will be set to the directory where LIBOBJS objects are built.
6316  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6317  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6318done
6319LIBOBJS=$ac_libobjs
6320
6321LTLIBOBJS=$ac_ltlibobjs
6322
6323
6324
6325: "${CONFIG_STATUS=./config.status}"
6326ac_write_fail=0
6327ac_clean_files_save=$ac_clean_files
6328ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6329{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6330$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6331as_write_fail=0
6332cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6333#! $SHELL
6334# Generated by $as_me.
6335# Run this file to recreate the current configuration.
6336# Compiler output produced by configure, useful for debugging
6337# configure, is in config.log if it exists.
6338
6339debug=false
6340ac_cs_recheck=false
6341ac_cs_silent=false
6342
6343SHELL=\${CONFIG_SHELL-$SHELL}
6344export SHELL
6345_ASEOF
6346cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6347## -------------------- ##
6348## M4sh Initialization. ##
6349## -------------------- ##
6350
6351# Be more Bourne compatible
6352DUALCASE=1; export DUALCASE # for MKS sh
6353if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6354  emulate sh
6355  NULLCMD=:
6356  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6357  # is contrary to our usage.  Disable this feature.
6358  alias -g '${1+"$@"}'='"$@"'
6359  setopt NO_GLOB_SUBST
6360else
6361  case `(set -o) 2>/dev/null` in #(
6362  *posix*) :
6363    set -o posix ;; #(
6364  *) :
6365     ;;
6366esac
6367fi
6368
6369
6370as_nl='
6371'
6372export as_nl
6373# Printing a long string crashes Solaris 7 /usr/bin/printf.
6374as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6375as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6376as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6377# Prefer a ksh shell builtin over an external printf program on Solaris,
6378# but without wasting forks for bash or zsh.
6379if test -z "$BASH_VERSION$ZSH_VERSION" \
6380    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6381  as_echo='print -r --'
6382  as_echo_n='print -rn --'
6383elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6384  as_echo='printf %s\n'
6385  as_echo_n='printf %s'
6386else
6387  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6388    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6389    as_echo_n='/usr/ucb/echo -n'
6390  else
6391    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6392    as_echo_n_body='eval
6393      arg=$1;
6394      case $arg in #(
6395      *"$as_nl"*)
6396	expr "X$arg" : "X\\(.*\\)$as_nl";
6397	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6398      esac;
6399      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6400    '
6401    export as_echo_n_body
6402    as_echo_n='sh -c $as_echo_n_body as_echo'
6403  fi
6404  export as_echo_body
6405  as_echo='sh -c $as_echo_body as_echo'
6406fi
6407
6408# The user is always right.
6409if test "${PATH_SEPARATOR+set}" != set; then
6410  PATH_SEPARATOR=:
6411  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6412    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6413      PATH_SEPARATOR=';'
6414  }
6415fi
6416
6417
6418# IFS
6419# We need space, tab and new line, in precisely that order.  Quoting is
6420# there to prevent editors from complaining about space-tab.
6421# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6422# splitting by setting IFS to empty value.)
6423IFS=" ""	$as_nl"
6424
6425# Find who we are.  Look in the path if we contain no directory separator.
6426as_myself=
6427case $0 in #((
6428  *[\\/]* ) as_myself=$0 ;;
6429  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430for as_dir in $PATH
6431do
6432  IFS=$as_save_IFS
6433  test -z "$as_dir" && as_dir=.
6434    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6435  done
6436IFS=$as_save_IFS
6437
6438     ;;
6439esac
6440# We did not find ourselves, most probably we were run as `sh COMMAND'
6441# in which case we are not to be found in the path.
6442if test "x$as_myself" = x; then
6443  as_myself=$0
6444fi
6445if test ! -f "$as_myself"; then
6446  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6447  exit 1
6448fi
6449
6450# Unset variables that we do not need and which cause bugs (e.g. in
6451# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6452# suppresses any "Segmentation fault" message there.  '((' could
6453# trigger a bug in pdksh 5.2.14.
6454for as_var in BASH_ENV ENV MAIL MAILPATH
6455do eval test x\${$as_var+set} = xset \
6456  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6457done
6458PS1='$ '
6459PS2='> '
6460PS4='+ '
6461
6462# NLS nuisances.
6463LC_ALL=C
6464export LC_ALL
6465LANGUAGE=C
6466export LANGUAGE
6467
6468# CDPATH.
6469(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6470
6471
6472# as_fn_error STATUS ERROR [LINENO LOG_FD]
6473# ----------------------------------------
6474# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6475# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6476# script with STATUS, using 1 if that was 0.
6477as_fn_error ()
6478{
6479  as_status=$1; test $as_status -eq 0 && as_status=1
6480  if test "$4"; then
6481    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6482    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6483  fi
6484  $as_echo "$as_me: error: $2" >&2
6485  as_fn_exit $as_status
6486} # as_fn_error
6487
6488
6489# as_fn_set_status STATUS
6490# -----------------------
6491# Set $? to STATUS, without forking.
6492as_fn_set_status ()
6493{
6494  return $1
6495} # as_fn_set_status
6496
6497# as_fn_exit STATUS
6498# -----------------
6499# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6500as_fn_exit ()
6501{
6502  set +e
6503  as_fn_set_status $1
6504  exit $1
6505} # as_fn_exit
6506
6507# as_fn_unset VAR
6508# ---------------
6509# Portably unset VAR.
6510as_fn_unset ()
6511{
6512  { eval $1=; unset $1;}
6513}
6514as_unset=as_fn_unset
6515# as_fn_append VAR VALUE
6516# ----------------------
6517# Append the text in VALUE to the end of the definition contained in VAR. Take
6518# advantage of any shell optimizations that allow amortized linear growth over
6519# repeated appends, instead of the typical quadratic growth present in naive
6520# implementations.
6521if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6522  eval 'as_fn_append ()
6523  {
6524    eval $1+=\$2
6525  }'
6526else
6527  as_fn_append ()
6528  {
6529    eval $1=\$$1\$2
6530  }
6531fi # as_fn_append
6532
6533# as_fn_arith ARG...
6534# ------------------
6535# Perform arithmetic evaluation on the ARGs, and store the result in the
6536# global $as_val. Take advantage of shells that can avoid forks. The arguments
6537# must be portable across $(()) and expr.
6538if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6539  eval 'as_fn_arith ()
6540  {
6541    as_val=$(( $* ))
6542  }'
6543else
6544  as_fn_arith ()
6545  {
6546    as_val=`expr "$@" || test $? -eq 1`
6547  }
6548fi # as_fn_arith
6549
6550
6551if expr a : '\(a\)' >/dev/null 2>&1 &&
6552   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6553  as_expr=expr
6554else
6555  as_expr=false
6556fi
6557
6558if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6559  as_basename=basename
6560else
6561  as_basename=false
6562fi
6563
6564if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6565  as_dirname=dirname
6566else
6567  as_dirname=false
6568fi
6569
6570as_me=`$as_basename -- "$0" ||
6571$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6572	 X"$0" : 'X\(//\)$' \| \
6573	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6574$as_echo X/"$0" |
6575    sed '/^.*\/\([^/][^/]*\)\/*$/{
6576	    s//\1/
6577	    q
6578	  }
6579	  /^X\/\(\/\/\)$/{
6580	    s//\1/
6581	    q
6582	  }
6583	  /^X\/\(\/\).*/{
6584	    s//\1/
6585	    q
6586	  }
6587	  s/.*/./; q'`
6588
6589# Avoid depending upon Character Ranges.
6590as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6591as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6592as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6593as_cr_digits='0123456789'
6594as_cr_alnum=$as_cr_Letters$as_cr_digits
6595
6596ECHO_C= ECHO_N= ECHO_T=
6597case `echo -n x` in #(((((
6598-n*)
6599  case `echo 'xy\c'` in
6600  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6601  xy)  ECHO_C='\c';;
6602  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6603       ECHO_T='	';;
6604  esac;;
6605*)
6606  ECHO_N='-n';;
6607esac
6608
6609rm -f conf$$ conf$$.exe conf$$.file
6610if test -d conf$$.dir; then
6611  rm -f conf$$.dir/conf$$.file
6612else
6613  rm -f conf$$.dir
6614  mkdir conf$$.dir 2>/dev/null
6615fi
6616if (echo >conf$$.file) 2>/dev/null; then
6617  if ln -s conf$$.file conf$$ 2>/dev/null; then
6618    as_ln_s='ln -s'
6619    # ... but there are two gotchas:
6620    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6621    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6622    # In both cases, we have to default to `cp -pR'.
6623    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6624      as_ln_s='cp -pR'
6625  elif ln conf$$.file conf$$ 2>/dev/null; then
6626    as_ln_s=ln
6627  else
6628    as_ln_s='cp -pR'
6629  fi
6630else
6631  as_ln_s='cp -pR'
6632fi
6633rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6634rmdir conf$$.dir 2>/dev/null
6635
6636
6637# as_fn_mkdir_p
6638# -------------
6639# Create "$as_dir" as a directory, including parents if necessary.
6640as_fn_mkdir_p ()
6641{
6642
6643  case $as_dir in #(
6644  -*) as_dir=./$as_dir;;
6645  esac
6646  test -d "$as_dir" || eval $as_mkdir_p || {
6647    as_dirs=
6648    while :; do
6649      case $as_dir in #(
6650      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6651      *) as_qdir=$as_dir;;
6652      esac
6653      as_dirs="'$as_qdir' $as_dirs"
6654      as_dir=`$as_dirname -- "$as_dir" ||
6655$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6656	 X"$as_dir" : 'X\(//\)[^/]' \| \
6657	 X"$as_dir" : 'X\(//\)$' \| \
6658	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6659$as_echo X"$as_dir" |
6660    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6661	    s//\1/
6662	    q
6663	  }
6664	  /^X\(\/\/\)[^/].*/{
6665	    s//\1/
6666	    q
6667	  }
6668	  /^X\(\/\/\)$/{
6669	    s//\1/
6670	    q
6671	  }
6672	  /^X\(\/\).*/{
6673	    s//\1/
6674	    q
6675	  }
6676	  s/.*/./; q'`
6677      test -d "$as_dir" && break
6678    done
6679    test -z "$as_dirs" || eval "mkdir $as_dirs"
6680  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6681
6682
6683} # as_fn_mkdir_p
6684if mkdir -p . 2>/dev/null; then
6685  as_mkdir_p='mkdir -p "$as_dir"'
6686else
6687  test -d ./-p && rmdir ./-p
6688  as_mkdir_p=false
6689fi
6690
6691
6692# as_fn_executable_p FILE
6693# -----------------------
6694# Test if FILE is an executable regular file.
6695as_fn_executable_p ()
6696{
6697  test -f "$1" && test -x "$1"
6698} # as_fn_executable_p
6699as_test_x='test -x'
6700as_executable_p=as_fn_executable_p
6701
6702# Sed expression to map a string onto a valid CPP name.
6703as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6704
6705# Sed expression to map a string onto a valid variable name.
6706as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6707
6708
6709exec 6>&1
6710## ----------------------------------- ##
6711## Main body of $CONFIG_STATUS script. ##
6712## ----------------------------------- ##
6713_ASEOF
6714test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6715
6716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6717# Save the log message, to keep $0 and so on meaningful, and to
6718# report actual input values of CONFIG_FILES etc. instead of their
6719# values after options handling.
6720ac_log="
6721This file was extended by mos_release $as_me version-0.3, which was
6722generated by GNU Autoconf 2.69.  Invocation command line was
6723
6724  CONFIG_FILES    = $CONFIG_FILES
6725  CONFIG_HEADERS  = $CONFIG_HEADERS
6726  CONFIG_LINKS    = $CONFIG_LINKS
6727  CONFIG_COMMANDS = $CONFIG_COMMANDS
6728  $ $0 $@
6729
6730on `(hostname || uname -n) 2>/dev/null | sed 1q`
6731"
6732
6733_ACEOF
6734
6735case $ac_config_files in *"
6736"*) set x $ac_config_files; shift; ac_config_files=$*;;
6737esac
6738
6739
6740
6741cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6742# Files that config.status was made for.
6743config_files="$ac_config_files"
6744
6745_ACEOF
6746
6747cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6748ac_cs_usage="\
6749\`$as_me' instantiates files and other configuration actions
6750from templates according to the current configuration.  Unless the files
6751and actions are specified as TAGs, all are instantiated by default.
6752
6753Usage: $0 [OPTION]... [TAG]...
6754
6755  -h, --help       print this help, then exit
6756  -V, --version    print version number and configuration settings, then exit
6757      --config     print configuration, then exit
6758  -q, --quiet, --silent
6759                   do not print progress messages
6760  -d, --debug      don't remove temporary files
6761      --recheck    update $as_me by reconfiguring in the same conditions
6762      --file=FILE[:TEMPLATE]
6763                   instantiate the configuration file FILE
6764
6765Configuration files:
6766$config_files
6767
6768Report bugs to <[email protected]>."
6769
6770_ACEOF
6771cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6772ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6773ac_cs_version="\\
6774mos_release config.status version-0.3
6775configured by $0, generated by GNU Autoconf 2.69,
6776  with options \\"\$ac_cs_config\\"
6777
6778Copyright (C) 2012 Free Software Foundation, Inc.
6779This config.status script is free software; the Free Software Foundation
6780gives unlimited permission to copy, distribute and modify it."
6781
6782ac_pwd='$ac_pwd'
6783srcdir='$srcdir'
6784test -n "\$AWK" || AWK=awk
6785_ACEOF
6786
6787cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6788# The default lists apply if the user does not specify any file.
6789ac_need_defaults=:
6790while test $# != 0
6791do
6792  case $1 in
6793  --*=?*)
6794    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6795    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6796    ac_shift=:
6797    ;;
6798  --*=)
6799    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6800    ac_optarg=
6801    ac_shift=:
6802    ;;
6803  *)
6804    ac_option=$1
6805    ac_optarg=$2
6806    ac_shift=shift
6807    ;;
6808  esac
6809
6810  case $ac_option in
6811  # Handling of the options.
6812  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6813    ac_cs_recheck=: ;;
6814  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6815    $as_echo "$ac_cs_version"; exit ;;
6816  --config | --confi | --conf | --con | --co | --c )
6817    $as_echo "$ac_cs_config"; exit ;;
6818  --debug | --debu | --deb | --de | --d | -d )
6819    debug=: ;;
6820  --file | --fil | --fi | --f )
6821    $ac_shift
6822    case $ac_optarg in
6823    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6824    '') as_fn_error $? "missing file argument" ;;
6825    esac
6826    as_fn_append CONFIG_FILES " '$ac_optarg'"
6827    ac_need_defaults=false;;
6828  --he | --h |  --help | --hel | -h )
6829    $as_echo "$ac_cs_usage"; exit ;;
6830  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6831  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6832    ac_cs_silent=: ;;
6833
6834  # This is an error.
6835  -*) as_fn_error $? "unrecognized option: \`$1'
6836Try \`$0 --help' for more information." ;;
6837
6838  *) as_fn_append ac_config_targets " $1"
6839     ac_need_defaults=false ;;
6840
6841  esac
6842  shift
6843done
6844
6845ac_configure_extra_args=
6846
6847if $ac_cs_silent; then
6848  exec 6>/dev/null
6849  ac_configure_extra_args="$ac_configure_extra_args --silent"
6850fi
6851
6852_ACEOF
6853cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6854if \$ac_cs_recheck; then
6855  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6856  shift
6857  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6858  CONFIG_SHELL='$SHELL'
6859  export CONFIG_SHELL
6860  exec "\$@"
6861fi
6862
6863_ACEOF
6864cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6865exec 5>>config.log
6866{
6867  echo
6868  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6869## Running $as_me. ##
6870_ASBOX
6871  $as_echo "$ac_log"
6872} >&5
6873
6874_ACEOF
6875cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6876_ACEOF
6877
6878cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6879
6880# Handling of arguments.
6881for ac_config_target in $ac_config_targets
6882do
6883  case $ac_config_target in
6884    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
6885    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
6886    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
6887
6888  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6889  esac
6890done
6891
6892
6893# If the user did not use the arguments to specify the items to instantiate,
6894# then the envvar interface is used.  Set only those that are not.
6895# We use the long form for the default assignment because of an extremely
6896# bizarre bug on SunOS 4.1.3.
6897if $ac_need_defaults; then
6898  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6899fi
6900
6901# Have a temporary directory for convenience.  Make it in the build tree
6902# simply because there is no reason against having it here, and in addition,
6903# creating and moving files from /tmp can sometimes cause problems.
6904# Hook for its removal unless debugging.
6905# Note that there is a small window in which the directory will not be cleaned:
6906# after its creation but before its name has been assigned to `$tmp'.
6907$debug ||
6908{
6909  tmp= ac_tmp=
6910  trap 'exit_status=$?
6911  : "${ac_tmp:=$tmp}"
6912  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6913' 0
6914  trap 'as_fn_exit 1' 1 2 13 15
6915}
6916# Create a (secure) tmp directory for tmp files.
6917
6918{
6919  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6920  test -d "$tmp"
6921}  ||
6922{
6923  tmp=./conf$$-$RANDOM
6924  (umask 077 && mkdir "$tmp")
6925} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6926ac_tmp=$tmp
6927
6928# Set up the scripts for CONFIG_FILES section.
6929# No need to generate them if there are no CONFIG_FILES.
6930# This happens for instance with `./config.status config.h'.
6931if test -n "$CONFIG_FILES"; then
6932
6933
6934ac_cr=`echo X | tr X '\015'`
6935# On cygwin, bash can eat \r inside `` if the user requested igncr.
6936# But we know of no other shell where ac_cr would be empty at this
6937# point, so we can use a bashism as a fallback.
6938if test "x$ac_cr" = x; then
6939  eval ac_cr=\$\'\\r\'
6940fi
6941ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6942if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6943  ac_cs_awk_cr='\\r'
6944else
6945  ac_cs_awk_cr=$ac_cr
6946fi
6947
6948echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6949_ACEOF
6950
6951
6952{
6953  echo "cat >conf$$subs.awk <<_ACEOF" &&
6954  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6955  echo "_ACEOF"
6956} >conf$$subs.sh ||
6957  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6958ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6959ac_delim='%!_!# '
6960for ac_last_try in false false false false false :; do
6961  . ./conf$$subs.sh ||
6962    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6963
6964  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6965  if test $ac_delim_n = $ac_delim_num; then
6966    break
6967  elif $ac_last_try; then
6968    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6969  else
6970    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6971  fi
6972done
6973rm -f conf$$subs.sh
6974
6975cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6976cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6977_ACEOF
6978sed -n '
6979h
6980s/^/S["/; s/!.*/"]=/
6981p
6982g
6983s/^[^!]*!//
6984:repl
6985t repl
6986s/'"$ac_delim"'$//
6987t delim
6988:nl
6989h
6990s/\(.\{148\}\)..*/\1/
6991t more1
6992s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6993p
6994n
6995b repl
6996:more1
6997s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6998p
6999g
7000s/.\{148\}//
7001t nl
7002:delim
7003h
7004s/\(.\{148\}\)..*/\1/
7005t more2
7006s/["\\]/\\&/g; s/^/"/; s/$/"/
7007p
7008b
7009:more2
7010s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7011p
7012g
7013s/.\{148\}//
7014t delim
7015' <conf$$subs.awk | sed '
7016/^[^""]/{
7017  N
7018  s/\n//
7019}
7020' >>$CONFIG_STATUS || ac_write_fail=1
7021rm -f conf$$subs.awk
7022cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7023_ACAWK
7024cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7025  for (key in S) S_is_set[key] = 1
7026  FS = ""
7027
7028}
7029{
7030  line = $ 0
7031  nfields = split(line, field, "@")
7032  substed = 0
7033  len = length(field[1])
7034  for (i = 2; i < nfields; i++) {
7035    key = field[i]
7036    keylen = length(key)
7037    if (S_is_set[key]) {
7038      value = S[key]
7039      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7040      len += length(value) + length(field[++i])
7041      substed = 1
7042    } else
7043      len += 1 + keylen
7044  }
7045
7046  print line
7047}
7048
7049_ACAWK
7050_ACEOF
7051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7052if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7053  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7054else
7055  cat
7056fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7057  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7058_ACEOF
7059
7060# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7061# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7062# trailing colons and then remove the whole line if VPATH becomes empty
7063# (actually we leave an empty line to preserve line numbers).
7064if test "x$srcdir" = x.; then
7065  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
7066h
7067s///
7068s/^/:/
7069s/[	 ]*$/:/
7070s/:\$(srcdir):/:/g
7071s/:\${srcdir}:/:/g
7072s/:@srcdir@:/:/g
7073s/^:*//
7074s/:*$//
7075x
7076s/\(=[	 ]*\).*/\1/
7077G
7078s/\n//
7079s/^[^=]*=[	 ]*$//
7080}'
7081fi
7082
7083cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7084fi # test -n "$CONFIG_FILES"
7085
7086
7087eval set X "  :F $CONFIG_FILES      "
7088shift
7089for ac_tag
7090do
7091  case $ac_tag in
7092  :[FHLC]) ac_mode=$ac_tag; continue;;
7093  esac
7094  case $ac_mode$ac_tag in
7095  :[FHL]*:*);;
7096  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7097  :[FH]-) ac_tag=-:-;;
7098  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7099  esac
7100  ac_save_IFS=$IFS
7101  IFS=:
7102  set x $ac_tag
7103  IFS=$ac_save_IFS
7104  shift
7105  ac_file=$1
7106  shift
7107
7108  case $ac_mode in
7109  :L) ac_source=$1;;
7110  :[FH])
7111    ac_file_inputs=
7112    for ac_f
7113    do
7114      case $ac_f in
7115      -) ac_f="$ac_tmp/stdin";;
7116      *) # Look for the file first in the build tree, then in the source tree
7117	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7118	 # because $ac_f cannot contain `:'.
7119	 test -f "$ac_f" ||
7120	   case $ac_f in
7121	   [\\/$]*) false;;
7122	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7123	   esac ||
7124	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7125      esac
7126      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7127      as_fn_append ac_file_inputs " '$ac_f'"
7128    done
7129
7130    # Let's still pretend it is `configure' which instantiates (i.e., don't
7131    # use $as_me), people would be surprised to read:
7132    #    /* config.h.  Generated by config.status.  */
7133    configure_input='Generated from '`
7134	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7135	`' by configure.'
7136    if test x"$ac_file" != x-; then
7137      configure_input="$ac_file.  $configure_input"
7138      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7139$as_echo "$as_me: creating $ac_file" >&6;}
7140    fi
7141    # Neutralize special characters interpreted by sed in replacement strings.
7142    case $configure_input in #(
7143    *\&* | *\|* | *\\* )
7144       ac_sed_conf_input=`$as_echo "$configure_input" |
7145       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7146    *) ac_sed_conf_input=$configure_input;;
7147    esac
7148
7149    case $ac_tag in
7150    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7151      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7152    esac
7153    ;;
7154  esac
7155
7156  ac_dir=`$as_dirname -- "$ac_file" ||
7157$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7158	 X"$ac_file" : 'X\(//\)[^/]' \| \
7159	 X"$ac_file" : 'X\(//\)$' \| \
7160	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7161$as_echo X"$ac_file" |
7162    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7163	    s//\1/
7164	    q
7165	  }
7166	  /^X\(\/\/\)[^/].*/{
7167	    s//\1/
7168	    q
7169	  }
7170	  /^X\(\/\/\)$/{
7171	    s//\1/
7172	    q
7173	  }
7174	  /^X\(\/\).*/{
7175	    s//\1/
7176	    q
7177	  }
7178	  s/.*/./; q'`
7179  as_dir="$ac_dir"; as_fn_mkdir_p
7180  ac_builddir=.
7181
7182case "$ac_dir" in
7183.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7184*)
7185  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7186  # A ".." for each directory in $ac_dir_suffix.
7187  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7188  case $ac_top_builddir_sub in
7189  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7190  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7191  esac ;;
7192esac
7193ac_abs_top_builddir=$ac_pwd
7194ac_abs_builddir=$ac_pwd$ac_dir_suffix
7195# for backward compatibility:
7196ac_top_builddir=$ac_top_build_prefix
7197
7198case $srcdir in
7199  .)  # We are building in place.
7200    ac_srcdir=.
7201    ac_top_srcdir=$ac_top_builddir_sub
7202    ac_abs_top_srcdir=$ac_pwd ;;
7203  [\\/]* | ?:[\\/]* )  # Absolute name.
7204    ac_srcdir=$srcdir$ac_dir_suffix;
7205    ac_top_srcdir=$srcdir
7206    ac_abs_top_srcdir=$srcdir ;;
7207  *) # Relative name.
7208    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7209    ac_top_srcdir=$ac_top_build_prefix$srcdir
7210    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7211esac
7212ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7213
7214
7215  case $ac_mode in
7216  :F)
7217  #
7218  # CONFIG_FILE
7219  #
7220
7221_ACEOF
7222
7223cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7224# If the template does not know about datarootdir, expand it.
7225# FIXME: This hack should be removed a few years after 2.60.
7226ac_datarootdir_hack=; ac_datarootdir_seen=
7227ac_sed_dataroot='
7228/datarootdir/ {
7229  p
7230  q
7231}
7232/@datadir@/p
7233/@docdir@/p
7234/@infodir@/p
7235/@localedir@/p
7236/@mandir@/p'
7237case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7238*datarootdir*) ac_datarootdir_seen=yes;;
7239*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7240  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7241$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7242_ACEOF
7243cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7244  ac_datarootdir_hack='
7245  s&@datadir@&$datadir&g
7246  s&@docdir@&$docdir&g
7247  s&@infodir@&$infodir&g
7248  s&@localedir@&$localedir&g
7249  s&@mandir@&$mandir&g
7250  s&\\\${datarootdir}&$datarootdir&g' ;;
7251esac
7252_ACEOF
7253
7254# Neutralize VPATH when `$srcdir' = `.'.
7255# Shell code in configure.ac might set extrasub.
7256# FIXME: do we really want to maintain this feature?
7257cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7258ac_sed_extra="$ac_vpsub
7259$extrasub
7260_ACEOF
7261cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7262:t
7263/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7264s|@configure_input@|$ac_sed_conf_input|;t t
7265s&@top_builddir@&$ac_top_builddir_sub&;t t
7266s&@top_build_prefix@&$ac_top_build_prefix&;t t
7267s&@srcdir@&$ac_srcdir&;t t
7268s&@abs_srcdir@&$ac_abs_srcdir&;t t
7269s&@top_srcdir@&$ac_top_srcdir&;t t
7270s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7271s&@builddir@&$ac_builddir&;t t
7272s&@abs_builddir@&$ac_abs_builddir&;t t
7273s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7274$ac_datarootdir_hack
7275"
7276eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7277  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7278
7279test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7280  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7281  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7282      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7283  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7284which seems to be undefined.  Please make sure it is defined" >&5
7285$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7286which seems to be undefined.  Please make sure it is defined" >&2;}
7287
7288  rm -f "$ac_tmp/stdin"
7289  case $ac_file in
7290  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7291  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7292  esac \
7293  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7294 ;;
7295
7296
7297
7298  esac
7299
7300done # for ac_tag
7301
7302
7303as_fn_exit 0
7304_ACEOF
7305ac_clean_files=$ac_clean_files_save
7306
7307test $ac_write_fail = 0 ||
7308  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7309
7310
7311# configure is writing to config.log, and then calls config.status.
7312# config.status does its own redirection, appending to config.log.
7313# Unfortunately, on DOS this fails, as config.log is still kept open
7314# by configure, so config.status won't be able to write to it; its
7315# output is simply discarded.  So we exec the FD to /dev/null,
7316# effectively closing config.log, so it can be properly (re)opened and
7317# appended to by config.status.  When coming back to configure, we
7318# need to make the FD available again.
7319if test "$no_create" != yes; then
7320  ac_cs_success=:
7321  ac_config_status_args=
7322  test "$silent" = yes &&
7323    ac_config_status_args="$ac_config_status_args --quiet"
7324  exec 5>/dev/null
7325  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7326  exec 5>>config.log
7327  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7328  # would make configure fail if this is the last instruction.
7329  $ac_cs_success || as_fn_exit 1
7330fi
7331if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7332  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7333$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7334fi
7335
7336ac_config_files="$ac_config_files ../samples/midstat/Makefile"
7337
7338cat >confcache <<\_ACEOF
7339# This file is a shell script that caches the results of configure
7340# tests run on this system so they can be shared between configure
7341# scripts and configure runs, see configure's option --config-cache.
7342# It is not useful on other systems.  If it contains results you don't
7343# want to keep, you may remove or edit it.
7344#
7345# config.status only pays attention to the cache file if you give it
7346# the --recheck option to rerun configure.
7347#
7348# `ac_cv_env_foo' variables (set or unset) will be overridden when
7349# loading this file, other *unset* `ac_cv_foo' will be assigned the
7350# following values.
7351
7352_ACEOF
7353
7354# The following way of writing the cache mishandles newlines in values,
7355# but we know of no workaround that is simple, portable, and efficient.
7356# So, we kill variables containing newlines.
7357# Ultrix sh set writes to stderr and can't be redirected directly,
7358# and sets the high bit in the cache file unless we assign to the vars.
7359(
7360  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7361    eval ac_val=\$$ac_var
7362    case $ac_val in #(
7363    *${as_nl}*)
7364      case $ac_var in #(
7365      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7366$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7367      esac
7368      case $ac_var in #(
7369      _ | IFS | as_nl) ;; #(
7370      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7371      *) { eval $ac_var=; unset $ac_var;} ;;
7372      esac ;;
7373    esac
7374  done
7375
7376  (set) 2>&1 |
7377    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7378    *${as_nl}ac_space=\ *)
7379      # `set' does not quote correctly, so add quotes: double-quote
7380      # substitution turns \\\\ into \\, and sed turns \\ into \.
7381      sed -n \
7382	"s/'/'\\\\''/g;
7383	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7384      ;; #(
7385    *)
7386      # `set' quotes correctly as required by POSIX, so do not add quotes.
7387      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7388      ;;
7389    esac |
7390    sort
7391) |
7392  sed '
7393     /^ac_cv_env_/b end
7394     t clear
7395     :clear
7396     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7397     t end
7398     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7399     :end' >>confcache
7400if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7401  if test -w "$cache_file"; then
7402    if test "x$cache_file" != "x/dev/null"; then
7403      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7404$as_echo "$as_me: updating cache $cache_file" >&6;}
7405      if test ! -f "$cache_file" || test -h "$cache_file"; then
7406	cat confcache >"$cache_file"
7407      else
7408        case $cache_file in #(
7409        */* | ?:*)
7410	  mv -f confcache "$cache_file"$$ &&
7411	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7412        *)
7413	  mv -f confcache "$cache_file" ;;
7414	esac
7415      fi
7416    fi
7417  else
7418    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7419$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7420  fi
7421fi
7422rm -f confcache
7423
7424test "x$prefix" = xNONE && prefix=$ac_default_prefix
7425# Let make expand exec_prefix.
7426test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7427
7428# Transform confdefs.h into DEFS.
7429# Protect against shell expansion while executing Makefile rules.
7430# Protect against Makefile macro expansion.
7431#
7432# If the first sed substitution is executed (which looks for macros that
7433# take arguments), then branch to the quote section.  Otherwise,
7434# look for a macro that doesn't take arguments.
7435ac_script='
7436:mline
7437/\\$/{
7438 N
7439 s,\\\n,,
7440 b mline
7441}
7442t clear
7443:clear
7444s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
7445t quote
7446s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
7447t quote
7448b any
7449:quote
7450s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7451s/\[/\\&/g
7452s/\]/\\&/g
7453s/\$/$$/g
7454H
7455:any
7456${
7457	g
7458	s/^\n//
7459	s/\n/ /g
7460	p
7461}
7462'
7463DEFS=`sed -n "$ac_script" confdefs.h`
7464
7465
7466ac_libobjs=
7467ac_ltlibobjs=
7468U=
7469for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7470  # 1. Remove the extension, and $U if already installed.
7471  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7472  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7473  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7474  #    will be set to the directory where LIBOBJS objects are built.
7475  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7476  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7477done
7478LIBOBJS=$ac_libobjs
7479
7480LTLIBOBJS=$ac_ltlibobjs
7481
7482
7483
7484: "${CONFIG_STATUS=./config.status}"
7485ac_write_fail=0
7486ac_clean_files_save=$ac_clean_files
7487ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7488{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7489$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7490as_write_fail=0
7491cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7492#! $SHELL
7493# Generated by $as_me.
7494# Run this file to recreate the current configuration.
7495# Compiler output produced by configure, useful for debugging
7496# configure, is in config.log if it exists.
7497
7498debug=false
7499ac_cs_recheck=false
7500ac_cs_silent=false
7501
7502SHELL=\${CONFIG_SHELL-$SHELL}
7503export SHELL
7504_ASEOF
7505cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7506## -------------------- ##
7507## M4sh Initialization. ##
7508## -------------------- ##
7509
7510# Be more Bourne compatible
7511DUALCASE=1; export DUALCASE # for MKS sh
7512if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7513  emulate sh
7514  NULLCMD=:
7515  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7516  # is contrary to our usage.  Disable this feature.
7517  alias -g '${1+"$@"}'='"$@"'
7518  setopt NO_GLOB_SUBST
7519else
7520  case `(set -o) 2>/dev/null` in #(
7521  *posix*) :
7522    set -o posix ;; #(
7523  *) :
7524     ;;
7525esac
7526fi
7527
7528
7529as_nl='
7530'
7531export as_nl
7532# Printing a long string crashes Solaris 7 /usr/bin/printf.
7533as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7534as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7535as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7536# Prefer a ksh shell builtin over an external printf program on Solaris,
7537# but without wasting forks for bash or zsh.
7538if test -z "$BASH_VERSION$ZSH_VERSION" \
7539    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7540  as_echo='print -r --'
7541  as_echo_n='print -rn --'
7542elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7543  as_echo='printf %s\n'
7544  as_echo_n='printf %s'
7545else
7546  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7547    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7548    as_echo_n='/usr/ucb/echo -n'
7549  else
7550    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7551    as_echo_n_body='eval
7552      arg=$1;
7553      case $arg in #(
7554      *"$as_nl"*)
7555	expr "X$arg" : "X\\(.*\\)$as_nl";
7556	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7557      esac;
7558      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7559    '
7560    export as_echo_n_body
7561    as_echo_n='sh -c $as_echo_n_body as_echo'
7562  fi
7563  export as_echo_body
7564  as_echo='sh -c $as_echo_body as_echo'
7565fi
7566
7567# The user is always right.
7568if test "${PATH_SEPARATOR+set}" != set; then
7569  PATH_SEPARATOR=:
7570  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7571    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7572      PATH_SEPARATOR=';'
7573  }
7574fi
7575
7576
7577# IFS
7578# We need space, tab and new line, in precisely that order.  Quoting is
7579# there to prevent editors from complaining about space-tab.
7580# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7581# splitting by setting IFS to empty value.)
7582IFS=" ""	$as_nl"
7583
7584# Find who we are.  Look in the path if we contain no directory separator.
7585as_myself=
7586case $0 in #((
7587  *[\\/]* ) as_myself=$0 ;;
7588  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589for as_dir in $PATH
7590do
7591  IFS=$as_save_IFS
7592  test -z "$as_dir" && as_dir=.
7593    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7594  done
7595IFS=$as_save_IFS
7596
7597     ;;
7598esac
7599# We did not find ourselves, most probably we were run as `sh COMMAND'
7600# in which case we are not to be found in the path.
7601if test "x$as_myself" = x; then
7602  as_myself=$0
7603fi
7604if test ! -f "$as_myself"; then
7605  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7606  exit 1
7607fi
7608
7609# Unset variables that we do not need and which cause bugs (e.g. in
7610# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7611# suppresses any "Segmentation fault" message there.  '((' could
7612# trigger a bug in pdksh 5.2.14.
7613for as_var in BASH_ENV ENV MAIL MAILPATH
7614do eval test x\${$as_var+set} = xset \
7615  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7616done
7617PS1='$ '
7618PS2='> '
7619PS4='+ '
7620
7621# NLS nuisances.
7622LC_ALL=C
7623export LC_ALL
7624LANGUAGE=C
7625export LANGUAGE
7626
7627# CDPATH.
7628(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7629
7630
7631# as_fn_error STATUS ERROR [LINENO LOG_FD]
7632# ----------------------------------------
7633# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7634# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7635# script with STATUS, using 1 if that was 0.
7636as_fn_error ()
7637{
7638  as_status=$1; test $as_status -eq 0 && as_status=1
7639  if test "$4"; then
7640    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7641    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7642  fi
7643  $as_echo "$as_me: error: $2" >&2
7644  as_fn_exit $as_status
7645} # as_fn_error
7646
7647
7648# as_fn_set_status STATUS
7649# -----------------------
7650# Set $? to STATUS, without forking.
7651as_fn_set_status ()
7652{
7653  return $1
7654} # as_fn_set_status
7655
7656# as_fn_exit STATUS
7657# -----------------
7658# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7659as_fn_exit ()
7660{
7661  set +e
7662  as_fn_set_status $1
7663  exit $1
7664} # as_fn_exit
7665
7666# as_fn_unset VAR
7667# ---------------
7668# Portably unset VAR.
7669as_fn_unset ()
7670{
7671  { eval $1=; unset $1;}
7672}
7673as_unset=as_fn_unset
7674# as_fn_append VAR VALUE
7675# ----------------------
7676# Append the text in VALUE to the end of the definition contained in VAR. Take
7677# advantage of any shell optimizations that allow amortized linear growth over
7678# repeated appends, instead of the typical quadratic growth present in naive
7679# implementations.
7680if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7681  eval 'as_fn_append ()
7682  {
7683    eval $1+=\$2
7684  }'
7685else
7686  as_fn_append ()
7687  {
7688    eval $1=\$$1\$2
7689  }
7690fi # as_fn_append
7691
7692# as_fn_arith ARG...
7693# ------------------
7694# Perform arithmetic evaluation on the ARGs, and store the result in the
7695# global $as_val. Take advantage of shells that can avoid forks. The arguments
7696# must be portable across $(()) and expr.
7697if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7698  eval 'as_fn_arith ()
7699  {
7700    as_val=$(( $* ))
7701  }'
7702else
7703  as_fn_arith ()
7704  {
7705    as_val=`expr "$@" || test $? -eq 1`
7706  }
7707fi # as_fn_arith
7708
7709
7710if expr a : '\(a\)' >/dev/null 2>&1 &&
7711   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7712  as_expr=expr
7713else
7714  as_expr=false
7715fi
7716
7717if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7718  as_basename=basename
7719else
7720  as_basename=false
7721fi
7722
7723if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7724  as_dirname=dirname
7725else
7726  as_dirname=false
7727fi
7728
7729as_me=`$as_basename -- "$0" ||
7730$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7731	 X"$0" : 'X\(//\)$' \| \
7732	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7733$as_echo X/"$0" |
7734    sed '/^.*\/\([^/][^/]*\)\/*$/{
7735	    s//\1/
7736	    q
7737	  }
7738	  /^X\/\(\/\/\)$/{
7739	    s//\1/
7740	    q
7741	  }
7742	  /^X\/\(\/\).*/{
7743	    s//\1/
7744	    q
7745	  }
7746	  s/.*/./; q'`
7747
7748# Avoid depending upon Character Ranges.
7749as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7750as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7751as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7752as_cr_digits='0123456789'
7753as_cr_alnum=$as_cr_Letters$as_cr_digits
7754
7755ECHO_C= ECHO_N= ECHO_T=
7756case `echo -n x` in #(((((
7757-n*)
7758  case `echo 'xy\c'` in
7759  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7760  xy)  ECHO_C='\c';;
7761  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7762       ECHO_T='	';;
7763  esac;;
7764*)
7765  ECHO_N='-n';;
7766esac
7767
7768rm -f conf$$ conf$$.exe conf$$.file
7769if test -d conf$$.dir; then
7770  rm -f conf$$.dir/conf$$.file
7771else
7772  rm -f conf$$.dir
7773  mkdir conf$$.dir 2>/dev/null
7774fi
7775if (echo >conf$$.file) 2>/dev/null; then
7776  if ln -s conf$$.file conf$$ 2>/dev/null; then
7777    as_ln_s='ln -s'
7778    # ... but there are two gotchas:
7779    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7780    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7781    # In both cases, we have to default to `cp -pR'.
7782    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7783      as_ln_s='cp -pR'
7784  elif ln conf$$.file conf$$ 2>/dev/null; then
7785    as_ln_s=ln
7786  else
7787    as_ln_s='cp -pR'
7788  fi
7789else
7790  as_ln_s='cp -pR'
7791fi
7792rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7793rmdir conf$$.dir 2>/dev/null
7794
7795
7796# as_fn_mkdir_p
7797# -------------
7798# Create "$as_dir" as a directory, including parents if necessary.
7799as_fn_mkdir_p ()
7800{
7801
7802  case $as_dir in #(
7803  -*) as_dir=./$as_dir;;
7804  esac
7805  test -d "$as_dir" || eval $as_mkdir_p || {
7806    as_dirs=
7807    while :; do
7808      case $as_dir in #(
7809      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7810      *) as_qdir=$as_dir;;
7811      esac
7812      as_dirs="'$as_qdir' $as_dirs"
7813      as_dir=`$as_dirname -- "$as_dir" ||
7814$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7815	 X"$as_dir" : 'X\(//\)[^/]' \| \
7816	 X"$as_dir" : 'X\(//\)$' \| \
7817	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7818$as_echo X"$as_dir" |
7819    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7820	    s//\1/
7821	    q
7822	  }
7823	  /^X\(\/\/\)[^/].*/{
7824	    s//\1/
7825	    q
7826	  }
7827	  /^X\(\/\/\)$/{
7828	    s//\1/
7829	    q
7830	  }
7831	  /^X\(\/\).*/{
7832	    s//\1/
7833	    q
7834	  }
7835	  s/.*/./; q'`
7836      test -d "$as_dir" && break
7837    done
7838    test -z "$as_dirs" || eval "mkdir $as_dirs"
7839  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7840
7841
7842} # as_fn_mkdir_p
7843if mkdir -p . 2>/dev/null; then
7844  as_mkdir_p='mkdir -p "$as_dir"'
7845else
7846  test -d ./-p && rmdir ./-p
7847  as_mkdir_p=false
7848fi
7849
7850
7851# as_fn_executable_p FILE
7852# -----------------------
7853# Test if FILE is an executable regular file.
7854as_fn_executable_p ()
7855{
7856  test -f "$1" && test -x "$1"
7857} # as_fn_executable_p
7858as_test_x='test -x'
7859as_executable_p=as_fn_executable_p
7860
7861# Sed expression to map a string onto a valid CPP name.
7862as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7863
7864# Sed expression to map a string onto a valid variable name.
7865as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7866
7867
7868exec 6>&1
7869## ----------------------------------- ##
7870## Main body of $CONFIG_STATUS script. ##
7871## ----------------------------------- ##
7872_ASEOF
7873test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7874
7875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7876# Save the log message, to keep $0 and so on meaningful, and to
7877# report actual input values of CONFIG_FILES etc. instead of their
7878# values after options handling.
7879ac_log="
7880This file was extended by mos_release $as_me version-0.3, which was
7881generated by GNU Autoconf 2.69.  Invocation command line was
7882
7883  CONFIG_FILES    = $CONFIG_FILES
7884  CONFIG_HEADERS  = $CONFIG_HEADERS
7885  CONFIG_LINKS    = $CONFIG_LINKS
7886  CONFIG_COMMANDS = $CONFIG_COMMANDS
7887  $ $0 $@
7888
7889on `(hostname || uname -n) 2>/dev/null | sed 1q`
7890"
7891
7892_ACEOF
7893
7894case $ac_config_files in *"
7895"*) set x $ac_config_files; shift; ac_config_files=$*;;
7896esac
7897
7898
7899
7900cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7901# Files that config.status was made for.
7902config_files="$ac_config_files"
7903
7904_ACEOF
7905
7906cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7907ac_cs_usage="\
7908\`$as_me' instantiates files and other configuration actions
7909from templates according to the current configuration.  Unless the files
7910and actions are specified as TAGs, all are instantiated by default.
7911
7912Usage: $0 [OPTION]... [TAG]...
7913
7914  -h, --help       print this help, then exit
7915  -V, --version    print version number and configuration settings, then exit
7916      --config     print configuration, then exit
7917  -q, --quiet, --silent
7918                   do not print progress messages
7919  -d, --debug      don't remove temporary files
7920      --recheck    update $as_me by reconfiguring in the same conditions
7921      --file=FILE[:TEMPLATE]
7922                   instantiate the configuration file FILE
7923
7924Configuration files:
7925$config_files
7926
7927Report bugs to <[email protected]>."
7928
7929_ACEOF
7930cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7931ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7932ac_cs_version="\\
7933mos_release config.status version-0.3
7934configured by $0, generated by GNU Autoconf 2.69,
7935  with options \\"\$ac_cs_config\\"
7936
7937Copyright (C) 2012 Free Software Foundation, Inc.
7938This config.status script is free software; the Free Software Foundation
7939gives unlimited permission to copy, distribute and modify it."
7940
7941ac_pwd='$ac_pwd'
7942srcdir='$srcdir'
7943test -n "\$AWK" || AWK=awk
7944_ACEOF
7945
7946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7947# The default lists apply if the user does not specify any file.
7948ac_need_defaults=:
7949while test $# != 0
7950do
7951  case $1 in
7952  --*=?*)
7953    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7954    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7955    ac_shift=:
7956    ;;
7957  --*=)
7958    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7959    ac_optarg=
7960    ac_shift=:
7961    ;;
7962  *)
7963    ac_option=$1
7964    ac_optarg=$2
7965    ac_shift=shift
7966    ;;
7967  esac
7968
7969  case $ac_option in
7970  # Handling of the options.
7971  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7972    ac_cs_recheck=: ;;
7973  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7974    $as_echo "$ac_cs_version"; exit ;;
7975  --config | --confi | --conf | --con | --co | --c )
7976    $as_echo "$ac_cs_config"; exit ;;
7977  --debug | --debu | --deb | --de | --d | -d )
7978    debug=: ;;
7979  --file | --fil | --fi | --f )
7980    $ac_shift
7981    case $ac_optarg in
7982    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7983    '') as_fn_error $? "missing file argument" ;;
7984    esac
7985    as_fn_append CONFIG_FILES " '$ac_optarg'"
7986    ac_need_defaults=false;;
7987  --he | --h |  --help | --hel | -h )
7988    $as_echo "$ac_cs_usage"; exit ;;
7989  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7990  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7991    ac_cs_silent=: ;;
7992
7993  # This is an error.
7994  -*) as_fn_error $? "unrecognized option: \`$1'
7995Try \`$0 --help' for more information." ;;
7996
7997  *) as_fn_append ac_config_targets " $1"
7998     ac_need_defaults=false ;;
7999
8000  esac
8001  shift
8002done
8003
8004ac_configure_extra_args=
8005
8006if $ac_cs_silent; then
8007  exec 6>/dev/null
8008  ac_configure_extra_args="$ac_configure_extra_args --silent"
8009fi
8010
8011_ACEOF
8012cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8013if \$ac_cs_recheck; then
8014  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8015  shift
8016  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8017  CONFIG_SHELL='$SHELL'
8018  export CONFIG_SHELL
8019  exec "\$@"
8020fi
8021
8022_ACEOF
8023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8024exec 5>>config.log
8025{
8026  echo
8027  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8028## Running $as_me. ##
8029_ASBOX
8030  $as_echo "$ac_log"
8031} >&5
8032
8033_ACEOF
8034cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8035_ACEOF
8036
8037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8038
8039# Handling of arguments.
8040for ac_config_target in $ac_config_targets
8041do
8042  case $ac_config_target in
8043    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
8044    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
8045    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
8046    "../samples/midstat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/midstat/Makefile" ;;
8047
8048  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8049  esac
8050done
8051
8052
8053# If the user did not use the arguments to specify the items to instantiate,
8054# then the envvar interface is used.  Set only those that are not.
8055# We use the long form for the default assignment because of an extremely
8056# bizarre bug on SunOS 4.1.3.
8057if $ac_need_defaults; then
8058  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8059fi
8060
8061# Have a temporary directory for convenience.  Make it in the build tree
8062# simply because there is no reason against having it here, and in addition,
8063# creating and moving files from /tmp can sometimes cause problems.
8064# Hook for its removal unless debugging.
8065# Note that there is a small window in which the directory will not be cleaned:
8066# after its creation but before its name has been assigned to `$tmp'.
8067$debug ||
8068{
8069  tmp= ac_tmp=
8070  trap 'exit_status=$?
8071  : "${ac_tmp:=$tmp}"
8072  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8073' 0
8074  trap 'as_fn_exit 1' 1 2 13 15
8075}
8076# Create a (secure) tmp directory for tmp files.
8077
8078{
8079  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8080  test -d "$tmp"
8081}  ||
8082{
8083  tmp=./conf$$-$RANDOM
8084  (umask 077 && mkdir "$tmp")
8085} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8086ac_tmp=$tmp
8087
8088# Set up the scripts for CONFIG_FILES section.
8089# No need to generate them if there are no CONFIG_FILES.
8090# This happens for instance with `./config.status config.h'.
8091if test -n "$CONFIG_FILES"; then
8092
8093
8094ac_cr=`echo X | tr X '\015'`
8095# On cygwin, bash can eat \r inside `` if the user requested igncr.
8096# But we know of no other shell where ac_cr would be empty at this
8097# point, so we can use a bashism as a fallback.
8098if test "x$ac_cr" = x; then
8099  eval ac_cr=\$\'\\r\'
8100fi
8101ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8102if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8103  ac_cs_awk_cr='\\r'
8104else
8105  ac_cs_awk_cr=$ac_cr
8106fi
8107
8108echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8109_ACEOF
8110
8111
8112{
8113  echo "cat >conf$$subs.awk <<_ACEOF" &&
8114  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8115  echo "_ACEOF"
8116} >conf$$subs.sh ||
8117  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8118ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8119ac_delim='%!_!# '
8120for ac_last_try in false false false false false :; do
8121  . ./conf$$subs.sh ||
8122    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8123
8124  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8125  if test $ac_delim_n = $ac_delim_num; then
8126    break
8127  elif $ac_last_try; then
8128    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8129  else
8130    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8131  fi
8132done
8133rm -f conf$$subs.sh
8134
8135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8136cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8137_ACEOF
8138sed -n '
8139h
8140s/^/S["/; s/!.*/"]=/
8141p
8142g
8143s/^[^!]*!//
8144:repl
8145t repl
8146s/'"$ac_delim"'$//
8147t delim
8148:nl
8149h
8150s/\(.\{148\}\)..*/\1/
8151t more1
8152s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8153p
8154n
8155b repl
8156:more1
8157s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8158p
8159g
8160s/.\{148\}//
8161t nl
8162:delim
8163h
8164s/\(.\{148\}\)..*/\1/
8165t more2
8166s/["\\]/\\&/g; s/^/"/; s/$/"/
8167p
8168b
8169:more2
8170s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8171p
8172g
8173s/.\{148\}//
8174t delim
8175' <conf$$subs.awk | sed '
8176/^[^""]/{
8177  N
8178  s/\n//
8179}
8180' >>$CONFIG_STATUS || ac_write_fail=1
8181rm -f conf$$subs.awk
8182cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8183_ACAWK
8184cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8185  for (key in S) S_is_set[key] = 1
8186  FS = ""
8187
8188}
8189{
8190  line = $ 0
8191  nfields = split(line, field, "@")
8192  substed = 0
8193  len = length(field[1])
8194  for (i = 2; i < nfields; i++) {
8195    key = field[i]
8196    keylen = length(key)
8197    if (S_is_set[key]) {
8198      value = S[key]
8199      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8200      len += length(value) + length(field[++i])
8201      substed = 1
8202    } else
8203      len += 1 + keylen
8204  }
8205
8206  print line
8207}
8208
8209_ACAWK
8210_ACEOF
8211cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8212if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8213  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8214else
8215  cat
8216fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8217  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8218_ACEOF
8219
8220# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8221# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8222# trailing colons and then remove the whole line if VPATH becomes empty
8223# (actually we leave an empty line to preserve line numbers).
8224if test "x$srcdir" = x.; then
8225  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8226h
8227s///
8228s/^/:/
8229s/[	 ]*$/:/
8230s/:\$(srcdir):/:/g
8231s/:\${srcdir}:/:/g
8232s/:@srcdir@:/:/g
8233s/^:*//
8234s/:*$//
8235x
8236s/\(=[	 ]*\).*/\1/
8237G
8238s/\n//
8239s/^[^=]*=[	 ]*$//
8240}'
8241fi
8242
8243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8244fi # test -n "$CONFIG_FILES"
8245
8246
8247eval set X "  :F $CONFIG_FILES      "
8248shift
8249for ac_tag
8250do
8251  case $ac_tag in
8252  :[FHLC]) ac_mode=$ac_tag; continue;;
8253  esac
8254  case $ac_mode$ac_tag in
8255  :[FHL]*:*);;
8256  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8257  :[FH]-) ac_tag=-:-;;
8258  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8259  esac
8260  ac_save_IFS=$IFS
8261  IFS=:
8262  set x $ac_tag
8263  IFS=$ac_save_IFS
8264  shift
8265  ac_file=$1
8266  shift
8267
8268  case $ac_mode in
8269  :L) ac_source=$1;;
8270  :[FH])
8271    ac_file_inputs=
8272    for ac_f
8273    do
8274      case $ac_f in
8275      -) ac_f="$ac_tmp/stdin";;
8276      *) # Look for the file first in the build tree, then in the source tree
8277	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8278	 # because $ac_f cannot contain `:'.
8279	 test -f "$ac_f" ||
8280	   case $ac_f in
8281	   [\\/$]*) false;;
8282	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8283	   esac ||
8284	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8285      esac
8286      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8287      as_fn_append ac_file_inputs " '$ac_f'"
8288    done
8289
8290    # Let's still pretend it is `configure' which instantiates (i.e., don't
8291    # use $as_me), people would be surprised to read:
8292    #    /* config.h.  Generated by config.status.  */
8293    configure_input='Generated from '`
8294	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8295	`' by configure.'
8296    if test x"$ac_file" != x-; then
8297      configure_input="$ac_file.  $configure_input"
8298      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8299$as_echo "$as_me: creating $ac_file" >&6;}
8300    fi
8301    # Neutralize special characters interpreted by sed in replacement strings.
8302    case $configure_input in #(
8303    *\&* | *\|* | *\\* )
8304       ac_sed_conf_input=`$as_echo "$configure_input" |
8305       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8306    *) ac_sed_conf_input=$configure_input;;
8307    esac
8308
8309    case $ac_tag in
8310    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8311      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8312    esac
8313    ;;
8314  esac
8315
8316  ac_dir=`$as_dirname -- "$ac_file" ||
8317$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8318	 X"$ac_file" : 'X\(//\)[^/]' \| \
8319	 X"$ac_file" : 'X\(//\)$' \| \
8320	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8321$as_echo X"$ac_file" |
8322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8323	    s//\1/
8324	    q
8325	  }
8326	  /^X\(\/\/\)[^/].*/{
8327	    s//\1/
8328	    q
8329	  }
8330	  /^X\(\/\/\)$/{
8331	    s//\1/
8332	    q
8333	  }
8334	  /^X\(\/\).*/{
8335	    s//\1/
8336	    q
8337	  }
8338	  s/.*/./; q'`
8339  as_dir="$ac_dir"; as_fn_mkdir_p
8340  ac_builddir=.
8341
8342case "$ac_dir" in
8343.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8344*)
8345  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8346  # A ".." for each directory in $ac_dir_suffix.
8347  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8348  case $ac_top_builddir_sub in
8349  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8350  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8351  esac ;;
8352esac
8353ac_abs_top_builddir=$ac_pwd
8354ac_abs_builddir=$ac_pwd$ac_dir_suffix
8355# for backward compatibility:
8356ac_top_builddir=$ac_top_build_prefix
8357
8358case $srcdir in
8359  .)  # We are building in place.
8360    ac_srcdir=.
8361    ac_top_srcdir=$ac_top_builddir_sub
8362    ac_abs_top_srcdir=$ac_pwd ;;
8363  [\\/]* | ?:[\\/]* )  # Absolute name.
8364    ac_srcdir=$srcdir$ac_dir_suffix;
8365    ac_top_srcdir=$srcdir
8366    ac_abs_top_srcdir=$srcdir ;;
8367  *) # Relative name.
8368    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8369    ac_top_srcdir=$ac_top_build_prefix$srcdir
8370    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8371esac
8372ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8373
8374
8375  case $ac_mode in
8376  :F)
8377  #
8378  # CONFIG_FILE
8379  #
8380
8381_ACEOF
8382
8383cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8384# If the template does not know about datarootdir, expand it.
8385# FIXME: This hack should be removed a few years after 2.60.
8386ac_datarootdir_hack=; ac_datarootdir_seen=
8387ac_sed_dataroot='
8388/datarootdir/ {
8389  p
8390  q
8391}
8392/@datadir@/p
8393/@docdir@/p
8394/@infodir@/p
8395/@localedir@/p
8396/@mandir@/p'
8397case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8398*datarootdir*) ac_datarootdir_seen=yes;;
8399*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8400  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8401$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8402_ACEOF
8403cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8404  ac_datarootdir_hack='
8405  s&@datadir@&$datadir&g
8406  s&@docdir@&$docdir&g
8407  s&@infodir@&$infodir&g
8408  s&@localedir@&$localedir&g
8409  s&@mandir@&$mandir&g
8410  s&\\\${datarootdir}&$datarootdir&g' ;;
8411esac
8412_ACEOF
8413
8414# Neutralize VPATH when `$srcdir' = `.'.
8415# Shell code in configure.ac might set extrasub.
8416# FIXME: do we really want to maintain this feature?
8417cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8418ac_sed_extra="$ac_vpsub
8419$extrasub
8420_ACEOF
8421cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8422:t
8423/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8424s|@configure_input@|$ac_sed_conf_input|;t t
8425s&@top_builddir@&$ac_top_builddir_sub&;t t
8426s&@top_build_prefix@&$ac_top_build_prefix&;t t
8427s&@srcdir@&$ac_srcdir&;t t
8428s&@abs_srcdir@&$ac_abs_srcdir&;t t
8429s&@top_srcdir@&$ac_top_srcdir&;t t
8430s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8431s&@builddir@&$ac_builddir&;t t
8432s&@abs_builddir@&$ac_abs_builddir&;t t
8433s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8434$ac_datarootdir_hack
8435"
8436eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8437  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8438
8439test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8440  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8441  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8442      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8443  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8444which seems to be undefined.  Please make sure it is defined" >&5
8445$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8446which seems to be undefined.  Please make sure it is defined" >&2;}
8447
8448  rm -f "$ac_tmp/stdin"
8449  case $ac_file in
8450  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8451  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8452  esac \
8453  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8454 ;;
8455
8456
8457
8458  esac
8459
8460done # for ac_tag
8461
8462
8463as_fn_exit 0
8464_ACEOF
8465ac_clean_files=$ac_clean_files_save
8466
8467test $ac_write_fail = 0 ||
8468  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8469
8470
8471# configure is writing to config.log, and then calls config.status.
8472# config.status does its own redirection, appending to config.log.
8473# Unfortunately, on DOS this fails, as config.log is still kept open
8474# by configure, so config.status won't be able to write to it; its
8475# output is simply discarded.  So we exec the FD to /dev/null,
8476# effectively closing config.log, so it can be properly (re)opened and
8477# appended to by config.status.  When coming back to configure, we
8478# need to make the FD available again.
8479if test "$no_create" != yes; then
8480  ac_cs_success=:
8481  ac_config_status_args=
8482  test "$silent" = yes &&
8483    ac_config_status_args="$ac_config_status_args --quiet"
8484  exec 5>/dev/null
8485  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8486  exec 5>>config.log
8487  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8488  # would make configure fail if this is the last instruction.
8489  $ac_cs_success || as_fn_exit 1
8490fi
8491if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8492  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8493$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8494fi
8495
8496ac_config_files="$ac_config_files ../samples/simple_firewall/Makefile"
8497
8498cat >confcache <<\_ACEOF
8499# This file is a shell script that caches the results of configure
8500# tests run on this system so they can be shared between configure
8501# scripts and configure runs, see configure's option --config-cache.
8502# It is not useful on other systems.  If it contains results you don't
8503# want to keep, you may remove or edit it.
8504#
8505# config.status only pays attention to the cache file if you give it
8506# the --recheck option to rerun configure.
8507#
8508# `ac_cv_env_foo' variables (set or unset) will be overridden when
8509# loading this file, other *unset* `ac_cv_foo' will be assigned the
8510# following values.
8511
8512_ACEOF
8513
8514# The following way of writing the cache mishandles newlines in values,
8515# but we know of no workaround that is simple, portable, and efficient.
8516# So, we kill variables containing newlines.
8517# Ultrix sh set writes to stderr and can't be redirected directly,
8518# and sets the high bit in the cache file unless we assign to the vars.
8519(
8520  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8521    eval ac_val=\$$ac_var
8522    case $ac_val in #(
8523    *${as_nl}*)
8524      case $ac_var in #(
8525      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8526$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8527      esac
8528      case $ac_var in #(
8529      _ | IFS | as_nl) ;; #(
8530      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8531      *) { eval $ac_var=; unset $ac_var;} ;;
8532      esac ;;
8533    esac
8534  done
8535
8536  (set) 2>&1 |
8537    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8538    *${as_nl}ac_space=\ *)
8539      # `set' does not quote correctly, so add quotes: double-quote
8540      # substitution turns \\\\ into \\, and sed turns \\ into \.
8541      sed -n \
8542	"s/'/'\\\\''/g;
8543	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8544      ;; #(
8545    *)
8546      # `set' quotes correctly as required by POSIX, so do not add quotes.
8547      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8548      ;;
8549    esac |
8550    sort
8551) |
8552  sed '
8553     /^ac_cv_env_/b end
8554     t clear
8555     :clear
8556     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8557     t end
8558     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8559     :end' >>confcache
8560if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8561  if test -w "$cache_file"; then
8562    if test "x$cache_file" != "x/dev/null"; then
8563      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8564$as_echo "$as_me: updating cache $cache_file" >&6;}
8565      if test ! -f "$cache_file" || test -h "$cache_file"; then
8566	cat confcache >"$cache_file"
8567      else
8568        case $cache_file in #(
8569        */* | ?:*)
8570	  mv -f confcache "$cache_file"$$ &&
8571	  mv -f "$cache_file"$$ "$cache_file" ;; #(
8572        *)
8573	  mv -f confcache "$cache_file" ;;
8574	esac
8575      fi
8576    fi
8577  else
8578    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8579$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8580  fi
8581fi
8582rm -f confcache
8583
8584test "x$prefix" = xNONE && prefix=$ac_default_prefix
8585# Let make expand exec_prefix.
8586test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8587
8588# Transform confdefs.h into DEFS.
8589# Protect against shell expansion while executing Makefile rules.
8590# Protect against Makefile macro expansion.
8591#
8592# If the first sed substitution is executed (which looks for macros that
8593# take arguments), then branch to the quote section.  Otherwise,
8594# look for a macro that doesn't take arguments.
8595ac_script='
8596:mline
8597/\\$/{
8598 N
8599 s,\\\n,,
8600 b mline
8601}
8602t clear
8603:clear
8604s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
8605t quote
8606s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
8607t quote
8608b any
8609:quote
8610s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8611s/\[/\\&/g
8612s/\]/\\&/g
8613s/\$/$$/g
8614H
8615:any
8616${
8617	g
8618	s/^\n//
8619	s/\n/ /g
8620	p
8621}
8622'
8623DEFS=`sed -n "$ac_script" confdefs.h`
8624
8625
8626ac_libobjs=
8627ac_ltlibobjs=
8628U=
8629for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8630  # 1. Remove the extension, and $U if already installed.
8631  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8632  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8633  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8634  #    will be set to the directory where LIBOBJS objects are built.
8635  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8636  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8637done
8638LIBOBJS=$ac_libobjs
8639
8640LTLIBOBJS=$ac_ltlibobjs
8641
8642
8643
8644: "${CONFIG_STATUS=./config.status}"
8645ac_write_fail=0
8646ac_clean_files_save=$ac_clean_files
8647ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8648{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8649$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8650as_write_fail=0
8651cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8652#! $SHELL
8653# Generated by $as_me.
8654# Run this file to recreate the current configuration.
8655# Compiler output produced by configure, useful for debugging
8656# configure, is in config.log if it exists.
8657
8658debug=false
8659ac_cs_recheck=false
8660ac_cs_silent=false
8661
8662SHELL=\${CONFIG_SHELL-$SHELL}
8663export SHELL
8664_ASEOF
8665cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8666## -------------------- ##
8667## M4sh Initialization. ##
8668## -------------------- ##
8669
8670# Be more Bourne compatible
8671DUALCASE=1; export DUALCASE # for MKS sh
8672if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8673  emulate sh
8674  NULLCMD=:
8675  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8676  # is contrary to our usage.  Disable this feature.
8677  alias -g '${1+"$@"}'='"$@"'
8678  setopt NO_GLOB_SUBST
8679else
8680  case `(set -o) 2>/dev/null` in #(
8681  *posix*) :
8682    set -o posix ;; #(
8683  *) :
8684     ;;
8685esac
8686fi
8687
8688
8689as_nl='
8690'
8691export as_nl
8692# Printing a long string crashes Solaris 7 /usr/bin/printf.
8693as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8694as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8695as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8696# Prefer a ksh shell builtin over an external printf program on Solaris,
8697# but without wasting forks for bash or zsh.
8698if test -z "$BASH_VERSION$ZSH_VERSION" \
8699    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8700  as_echo='print -r --'
8701  as_echo_n='print -rn --'
8702elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8703  as_echo='printf %s\n'
8704  as_echo_n='printf %s'
8705else
8706  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8707    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8708    as_echo_n='/usr/ucb/echo -n'
8709  else
8710    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8711    as_echo_n_body='eval
8712      arg=$1;
8713      case $arg in #(
8714      *"$as_nl"*)
8715	expr "X$arg" : "X\\(.*\\)$as_nl";
8716	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8717      esac;
8718      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8719    '
8720    export as_echo_n_body
8721    as_echo_n='sh -c $as_echo_n_body as_echo'
8722  fi
8723  export as_echo_body
8724  as_echo='sh -c $as_echo_body as_echo'
8725fi
8726
8727# The user is always right.
8728if test "${PATH_SEPARATOR+set}" != set; then
8729  PATH_SEPARATOR=:
8730  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8731    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8732      PATH_SEPARATOR=';'
8733  }
8734fi
8735
8736
8737# IFS
8738# We need space, tab and new line, in precisely that order.  Quoting is
8739# there to prevent editors from complaining about space-tab.
8740# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8741# splitting by setting IFS to empty value.)
8742IFS=" ""	$as_nl"
8743
8744# Find who we are.  Look in the path if we contain no directory separator.
8745as_myself=
8746case $0 in #((
8747  *[\\/]* ) as_myself=$0 ;;
8748  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749for as_dir in $PATH
8750do
8751  IFS=$as_save_IFS
8752  test -z "$as_dir" && as_dir=.
8753    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8754  done
8755IFS=$as_save_IFS
8756
8757     ;;
8758esac
8759# We did not find ourselves, most probably we were run as `sh COMMAND'
8760# in which case we are not to be found in the path.
8761if test "x$as_myself" = x; then
8762  as_myself=$0
8763fi
8764if test ! -f "$as_myself"; then
8765  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8766  exit 1
8767fi
8768
8769# Unset variables that we do not need and which cause bugs (e.g. in
8770# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
8771# suppresses any "Segmentation fault" message there.  '((' could
8772# trigger a bug in pdksh 5.2.14.
8773for as_var in BASH_ENV ENV MAIL MAILPATH
8774do eval test x\${$as_var+set} = xset \
8775  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8776done
8777PS1='$ '
8778PS2='> '
8779PS4='+ '
8780
8781# NLS nuisances.
8782LC_ALL=C
8783export LC_ALL
8784LANGUAGE=C
8785export LANGUAGE
8786
8787# CDPATH.
8788(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8789
8790
8791# as_fn_error STATUS ERROR [LINENO LOG_FD]
8792# ----------------------------------------
8793# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8794# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8795# script with STATUS, using 1 if that was 0.
8796as_fn_error ()
8797{
8798  as_status=$1; test $as_status -eq 0 && as_status=1
8799  if test "$4"; then
8800    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8801    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8802  fi
8803  $as_echo "$as_me: error: $2" >&2
8804  as_fn_exit $as_status
8805} # as_fn_error
8806
8807
8808# as_fn_set_status STATUS
8809# -----------------------
8810# Set $? to STATUS, without forking.
8811as_fn_set_status ()
8812{
8813  return $1
8814} # as_fn_set_status
8815
8816# as_fn_exit STATUS
8817# -----------------
8818# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8819as_fn_exit ()
8820{
8821  set +e
8822  as_fn_set_status $1
8823  exit $1
8824} # as_fn_exit
8825
8826# as_fn_unset VAR
8827# ---------------
8828# Portably unset VAR.
8829as_fn_unset ()
8830{
8831  { eval $1=; unset $1;}
8832}
8833as_unset=as_fn_unset
8834# as_fn_append VAR VALUE
8835# ----------------------
8836# Append the text in VALUE to the end of the definition contained in VAR. Take
8837# advantage of any shell optimizations that allow amortized linear growth over
8838# repeated appends, instead of the typical quadratic growth present in naive
8839# implementations.
8840if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8841  eval 'as_fn_append ()
8842  {
8843    eval $1+=\$2
8844  }'
8845else
8846  as_fn_append ()
8847  {
8848    eval $1=\$$1\$2
8849  }
8850fi # as_fn_append
8851
8852# as_fn_arith ARG...
8853# ------------------
8854# Perform arithmetic evaluation on the ARGs, and store the result in the
8855# global $as_val. Take advantage of shells that can avoid forks. The arguments
8856# must be portable across $(()) and expr.
8857if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8858  eval 'as_fn_arith ()
8859  {
8860    as_val=$(( $* ))
8861  }'
8862else
8863  as_fn_arith ()
8864  {
8865    as_val=`expr "$@" || test $? -eq 1`
8866  }
8867fi # as_fn_arith
8868
8869
8870if expr a : '\(a\)' >/dev/null 2>&1 &&
8871   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8872  as_expr=expr
8873else
8874  as_expr=false
8875fi
8876
8877if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8878  as_basename=basename
8879else
8880  as_basename=false
8881fi
8882
8883if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8884  as_dirname=dirname
8885else
8886  as_dirname=false
8887fi
8888
8889as_me=`$as_basename -- "$0" ||
8890$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8891	 X"$0" : 'X\(//\)$' \| \
8892	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8893$as_echo X/"$0" |
8894    sed '/^.*\/\([^/][^/]*\)\/*$/{
8895	    s//\1/
8896	    q
8897	  }
8898	  /^X\/\(\/\/\)$/{
8899	    s//\1/
8900	    q
8901	  }
8902	  /^X\/\(\/\).*/{
8903	    s//\1/
8904	    q
8905	  }
8906	  s/.*/./; q'`
8907
8908# Avoid depending upon Character Ranges.
8909as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8910as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8911as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8912as_cr_digits='0123456789'
8913as_cr_alnum=$as_cr_Letters$as_cr_digits
8914
8915ECHO_C= ECHO_N= ECHO_T=
8916case `echo -n x` in #(((((
8917-n*)
8918  case `echo 'xy\c'` in
8919  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
8920  xy)  ECHO_C='\c';;
8921  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
8922       ECHO_T='	';;
8923  esac;;
8924*)
8925  ECHO_N='-n';;
8926esac
8927
8928rm -f conf$$ conf$$.exe conf$$.file
8929if test -d conf$$.dir; then
8930  rm -f conf$$.dir/conf$$.file
8931else
8932  rm -f conf$$.dir
8933  mkdir conf$$.dir 2>/dev/null
8934fi
8935if (echo >conf$$.file) 2>/dev/null; then
8936  if ln -s conf$$.file conf$$ 2>/dev/null; then
8937    as_ln_s='ln -s'
8938    # ... but there are two gotchas:
8939    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8940    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8941    # In both cases, we have to default to `cp -pR'.
8942    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8943      as_ln_s='cp -pR'
8944  elif ln conf$$.file conf$$ 2>/dev/null; then
8945    as_ln_s=ln
8946  else
8947    as_ln_s='cp -pR'
8948  fi
8949else
8950  as_ln_s='cp -pR'
8951fi
8952rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8953rmdir conf$$.dir 2>/dev/null
8954
8955
8956# as_fn_mkdir_p
8957# -------------
8958# Create "$as_dir" as a directory, including parents if necessary.
8959as_fn_mkdir_p ()
8960{
8961
8962  case $as_dir in #(
8963  -*) as_dir=./$as_dir;;
8964  esac
8965  test -d "$as_dir" || eval $as_mkdir_p || {
8966    as_dirs=
8967    while :; do
8968      case $as_dir in #(
8969      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8970      *) as_qdir=$as_dir;;
8971      esac
8972      as_dirs="'$as_qdir' $as_dirs"
8973      as_dir=`$as_dirname -- "$as_dir" ||
8974$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8975	 X"$as_dir" : 'X\(//\)[^/]' \| \
8976	 X"$as_dir" : 'X\(//\)$' \| \
8977	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8978$as_echo X"$as_dir" |
8979    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8980	    s//\1/
8981	    q
8982	  }
8983	  /^X\(\/\/\)[^/].*/{
8984	    s//\1/
8985	    q
8986	  }
8987	  /^X\(\/\/\)$/{
8988	    s//\1/
8989	    q
8990	  }
8991	  /^X\(\/\).*/{
8992	    s//\1/
8993	    q
8994	  }
8995	  s/.*/./; q'`
8996      test -d "$as_dir" && break
8997    done
8998    test -z "$as_dirs" || eval "mkdir $as_dirs"
8999  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9000
9001
9002} # as_fn_mkdir_p
9003if mkdir -p . 2>/dev/null; then
9004  as_mkdir_p='mkdir -p "$as_dir"'
9005else
9006  test -d ./-p && rmdir ./-p
9007  as_mkdir_p=false
9008fi
9009
9010
9011# as_fn_executable_p FILE
9012# -----------------------
9013# Test if FILE is an executable regular file.
9014as_fn_executable_p ()
9015{
9016  test -f "$1" && test -x "$1"
9017} # as_fn_executable_p
9018as_test_x='test -x'
9019as_executable_p=as_fn_executable_p
9020
9021# Sed expression to map a string onto a valid CPP name.
9022as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9023
9024# Sed expression to map a string onto a valid variable name.
9025as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9026
9027
9028exec 6>&1
9029## ----------------------------------- ##
9030## Main body of $CONFIG_STATUS script. ##
9031## ----------------------------------- ##
9032_ASEOF
9033test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9034
9035cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9036# Save the log message, to keep $0 and so on meaningful, and to
9037# report actual input values of CONFIG_FILES etc. instead of their
9038# values after options handling.
9039ac_log="
9040This file was extended by mos_release $as_me version-0.3, which was
9041generated by GNU Autoconf 2.69.  Invocation command line was
9042
9043  CONFIG_FILES    = $CONFIG_FILES
9044  CONFIG_HEADERS  = $CONFIG_HEADERS
9045  CONFIG_LINKS    = $CONFIG_LINKS
9046  CONFIG_COMMANDS = $CONFIG_COMMANDS
9047  $ $0 $@
9048
9049on `(hostname || uname -n) 2>/dev/null | sed 1q`
9050"
9051
9052_ACEOF
9053
9054case $ac_config_files in *"
9055"*) set x $ac_config_files; shift; ac_config_files=$*;;
9056esac
9057
9058
9059
9060cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9061# Files that config.status was made for.
9062config_files="$ac_config_files"
9063
9064_ACEOF
9065
9066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9067ac_cs_usage="\
9068\`$as_me' instantiates files and other configuration actions
9069from templates according to the current configuration.  Unless the files
9070and actions are specified as TAGs, all are instantiated by default.
9071
9072Usage: $0 [OPTION]... [TAG]...
9073
9074  -h, --help       print this help, then exit
9075  -V, --version    print version number and configuration settings, then exit
9076      --config     print configuration, then exit
9077  -q, --quiet, --silent
9078                   do not print progress messages
9079  -d, --debug      don't remove temporary files
9080      --recheck    update $as_me by reconfiguring in the same conditions
9081      --file=FILE[:TEMPLATE]
9082                   instantiate the configuration file FILE
9083
9084Configuration files:
9085$config_files
9086
9087Report bugs to <[email protected]>."
9088
9089_ACEOF
9090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9091ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9092ac_cs_version="\\
9093mos_release config.status version-0.3
9094configured by $0, generated by GNU Autoconf 2.69,
9095  with options \\"\$ac_cs_config\\"
9096
9097Copyright (C) 2012 Free Software Foundation, Inc.
9098This config.status script is free software; the Free Software Foundation
9099gives unlimited permission to copy, distribute and modify it."
9100
9101ac_pwd='$ac_pwd'
9102srcdir='$srcdir'
9103test -n "\$AWK" || AWK=awk
9104_ACEOF
9105
9106cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9107# The default lists apply if the user does not specify any file.
9108ac_need_defaults=:
9109while test $# != 0
9110do
9111  case $1 in
9112  --*=?*)
9113    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9114    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9115    ac_shift=:
9116    ;;
9117  --*=)
9118    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9119    ac_optarg=
9120    ac_shift=:
9121    ;;
9122  *)
9123    ac_option=$1
9124    ac_optarg=$2
9125    ac_shift=shift
9126    ;;
9127  esac
9128
9129  case $ac_option in
9130  # Handling of the options.
9131  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9132    ac_cs_recheck=: ;;
9133  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9134    $as_echo "$ac_cs_version"; exit ;;
9135  --config | --confi | --conf | --con | --co | --c )
9136    $as_echo "$ac_cs_config"; exit ;;
9137  --debug | --debu | --deb | --de | --d | -d )
9138    debug=: ;;
9139  --file | --fil | --fi | --f )
9140    $ac_shift
9141    case $ac_optarg in
9142    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9143    '') as_fn_error $? "missing file argument" ;;
9144    esac
9145    as_fn_append CONFIG_FILES " '$ac_optarg'"
9146    ac_need_defaults=false;;
9147  --he | --h |  --help | --hel | -h )
9148    $as_echo "$ac_cs_usage"; exit ;;
9149  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9150  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9151    ac_cs_silent=: ;;
9152
9153  # This is an error.
9154  -*) as_fn_error $? "unrecognized option: \`$1'
9155Try \`$0 --help' for more information." ;;
9156
9157  *) as_fn_append ac_config_targets " $1"
9158     ac_need_defaults=false ;;
9159
9160  esac
9161  shift
9162done
9163
9164ac_configure_extra_args=
9165
9166if $ac_cs_silent; then
9167  exec 6>/dev/null
9168  ac_configure_extra_args="$ac_configure_extra_args --silent"
9169fi
9170
9171_ACEOF
9172cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9173if \$ac_cs_recheck; then
9174  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9175  shift
9176  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9177  CONFIG_SHELL='$SHELL'
9178  export CONFIG_SHELL
9179  exec "\$@"
9180fi
9181
9182_ACEOF
9183cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9184exec 5>>config.log
9185{
9186  echo
9187  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9188## Running $as_me. ##
9189_ASBOX
9190  $as_echo "$ac_log"
9191} >&5
9192
9193_ACEOF
9194cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9195_ACEOF
9196
9197cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9198
9199# Handling of arguments.
9200for ac_config_target in $ac_config_targets
9201do
9202  case $ac_config_target in
9203    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
9204    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
9205    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
9206    "../samples/midstat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/midstat/Makefile" ;;
9207    "../samples/simple_firewall/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/simple_firewall/Makefile" ;;
9208
9209  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9210  esac
9211done
9212
9213
9214# If the user did not use the arguments to specify the items to instantiate,
9215# then the envvar interface is used.  Set only those that are not.
9216# We use the long form for the default assignment because of an extremely
9217# bizarre bug on SunOS 4.1.3.
9218if $ac_need_defaults; then
9219  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9220fi
9221
9222# Have a temporary directory for convenience.  Make it in the build tree
9223# simply because there is no reason against having it here, and in addition,
9224# creating and moving files from /tmp can sometimes cause problems.
9225# Hook for its removal unless debugging.
9226# Note that there is a small window in which the directory will not be cleaned:
9227# after its creation but before its name has been assigned to `$tmp'.
9228$debug ||
9229{
9230  tmp= ac_tmp=
9231  trap 'exit_status=$?
9232  : "${ac_tmp:=$tmp}"
9233  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9234' 0
9235  trap 'as_fn_exit 1' 1 2 13 15
9236}
9237# Create a (secure) tmp directory for tmp files.
9238
9239{
9240  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9241  test -d "$tmp"
9242}  ||
9243{
9244  tmp=./conf$$-$RANDOM
9245  (umask 077 && mkdir "$tmp")
9246} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9247ac_tmp=$tmp
9248
9249# Set up the scripts for CONFIG_FILES section.
9250# No need to generate them if there are no CONFIG_FILES.
9251# This happens for instance with `./config.status config.h'.
9252if test -n "$CONFIG_FILES"; then
9253
9254
9255ac_cr=`echo X | tr X '\015'`
9256# On cygwin, bash can eat \r inside `` if the user requested igncr.
9257# But we know of no other shell where ac_cr would be empty at this
9258# point, so we can use a bashism as a fallback.
9259if test "x$ac_cr" = x; then
9260  eval ac_cr=\$\'\\r\'
9261fi
9262ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9263if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9264  ac_cs_awk_cr='\\r'
9265else
9266  ac_cs_awk_cr=$ac_cr
9267fi
9268
9269echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9270_ACEOF
9271
9272
9273{
9274  echo "cat >conf$$subs.awk <<_ACEOF" &&
9275  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9276  echo "_ACEOF"
9277} >conf$$subs.sh ||
9278  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9279ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9280ac_delim='%!_!# '
9281for ac_last_try in false false false false false :; do
9282  . ./conf$$subs.sh ||
9283    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9284
9285  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9286  if test $ac_delim_n = $ac_delim_num; then
9287    break
9288  elif $ac_last_try; then
9289    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9290  else
9291    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9292  fi
9293done
9294rm -f conf$$subs.sh
9295
9296cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9297cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9298_ACEOF
9299sed -n '
9300h
9301s/^/S["/; s/!.*/"]=/
9302p
9303g
9304s/^[^!]*!//
9305:repl
9306t repl
9307s/'"$ac_delim"'$//
9308t delim
9309:nl
9310h
9311s/\(.\{148\}\)..*/\1/
9312t more1
9313s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9314p
9315n
9316b repl
9317:more1
9318s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9319p
9320g
9321s/.\{148\}//
9322t nl
9323:delim
9324h
9325s/\(.\{148\}\)..*/\1/
9326t more2
9327s/["\\]/\\&/g; s/^/"/; s/$/"/
9328p
9329b
9330:more2
9331s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9332p
9333g
9334s/.\{148\}//
9335t delim
9336' <conf$$subs.awk | sed '
9337/^[^""]/{
9338  N
9339  s/\n//
9340}
9341' >>$CONFIG_STATUS || ac_write_fail=1
9342rm -f conf$$subs.awk
9343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9344_ACAWK
9345cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9346  for (key in S) S_is_set[key] = 1
9347  FS = ""
9348
9349}
9350{
9351  line = $ 0
9352  nfields = split(line, field, "@")
9353  substed = 0
9354  len = length(field[1])
9355  for (i = 2; i < nfields; i++) {
9356    key = field[i]
9357    keylen = length(key)
9358    if (S_is_set[key]) {
9359      value = S[key]
9360      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9361      len += length(value) + length(field[++i])
9362      substed = 1
9363    } else
9364      len += 1 + keylen
9365  }
9366
9367  print line
9368}
9369
9370_ACAWK
9371_ACEOF
9372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9373if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9374  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9375else
9376  cat
9377fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9378  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9379_ACEOF
9380
9381# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9382# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9383# trailing colons and then remove the whole line if VPATH becomes empty
9384# (actually we leave an empty line to preserve line numbers).
9385if test "x$srcdir" = x.; then
9386  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
9387h
9388s///
9389s/^/:/
9390s/[	 ]*$/:/
9391s/:\$(srcdir):/:/g
9392s/:\${srcdir}:/:/g
9393s/:@srcdir@:/:/g
9394s/^:*//
9395s/:*$//
9396x
9397s/\(=[	 ]*\).*/\1/
9398G
9399s/\n//
9400s/^[^=]*=[	 ]*$//
9401}'
9402fi
9403
9404cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9405fi # test -n "$CONFIG_FILES"
9406
9407
9408eval set X "  :F $CONFIG_FILES      "
9409shift
9410for ac_tag
9411do
9412  case $ac_tag in
9413  :[FHLC]) ac_mode=$ac_tag; continue;;
9414  esac
9415  case $ac_mode$ac_tag in
9416  :[FHL]*:*);;
9417  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9418  :[FH]-) ac_tag=-:-;;
9419  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9420  esac
9421  ac_save_IFS=$IFS
9422  IFS=:
9423  set x $ac_tag
9424  IFS=$ac_save_IFS
9425  shift
9426  ac_file=$1
9427  shift
9428
9429  case $ac_mode in
9430  :L) ac_source=$1;;
9431  :[FH])
9432    ac_file_inputs=
9433    for ac_f
9434    do
9435      case $ac_f in
9436      -) ac_f="$ac_tmp/stdin";;
9437      *) # Look for the file first in the build tree, then in the source tree
9438	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
9439	 # because $ac_f cannot contain `:'.
9440	 test -f "$ac_f" ||
9441	   case $ac_f in
9442	   [\\/$]*) false;;
9443	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9444	   esac ||
9445	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9446      esac
9447      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9448      as_fn_append ac_file_inputs " '$ac_f'"
9449    done
9450
9451    # Let's still pretend it is `configure' which instantiates (i.e., don't
9452    # use $as_me), people would be surprised to read:
9453    #    /* config.h.  Generated by config.status.  */
9454    configure_input='Generated from '`
9455	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9456	`' by configure.'
9457    if test x"$ac_file" != x-; then
9458      configure_input="$ac_file.  $configure_input"
9459      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9460$as_echo "$as_me: creating $ac_file" >&6;}
9461    fi
9462    # Neutralize special characters interpreted by sed in replacement strings.
9463    case $configure_input in #(
9464    *\&* | *\|* | *\\* )
9465       ac_sed_conf_input=`$as_echo "$configure_input" |
9466       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9467    *) ac_sed_conf_input=$configure_input;;
9468    esac
9469
9470    case $ac_tag in
9471    *:-:* | *:-) cat >"$ac_tmp/stdin" \
9472      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9473    esac
9474    ;;
9475  esac
9476
9477  ac_dir=`$as_dirname -- "$ac_file" ||
9478$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9479	 X"$ac_file" : 'X\(//\)[^/]' \| \
9480	 X"$ac_file" : 'X\(//\)$' \| \
9481	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9482$as_echo X"$ac_file" |
9483    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9484	    s//\1/
9485	    q
9486	  }
9487	  /^X\(\/\/\)[^/].*/{
9488	    s//\1/
9489	    q
9490	  }
9491	  /^X\(\/\/\)$/{
9492	    s//\1/
9493	    q
9494	  }
9495	  /^X\(\/\).*/{
9496	    s//\1/
9497	    q
9498	  }
9499	  s/.*/./; q'`
9500  as_dir="$ac_dir"; as_fn_mkdir_p
9501  ac_builddir=.
9502
9503case "$ac_dir" in
9504.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9505*)
9506  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9507  # A ".." for each directory in $ac_dir_suffix.
9508  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9509  case $ac_top_builddir_sub in
9510  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9511  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9512  esac ;;
9513esac
9514ac_abs_top_builddir=$ac_pwd
9515ac_abs_builddir=$ac_pwd$ac_dir_suffix
9516# for backward compatibility:
9517ac_top_builddir=$ac_top_build_prefix
9518
9519case $srcdir in
9520  .)  # We are building in place.
9521    ac_srcdir=.
9522    ac_top_srcdir=$ac_top_builddir_sub
9523    ac_abs_top_srcdir=$ac_pwd ;;
9524  [\\/]* | ?:[\\/]* )  # Absolute name.
9525    ac_srcdir=$srcdir$ac_dir_suffix;
9526    ac_top_srcdir=$srcdir
9527    ac_abs_top_srcdir=$srcdir ;;
9528  *) # Relative name.
9529    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9530    ac_top_srcdir=$ac_top_build_prefix$srcdir
9531    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9532esac
9533ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9534
9535
9536  case $ac_mode in
9537  :F)
9538  #
9539  # CONFIG_FILE
9540  #
9541
9542_ACEOF
9543
9544cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9545# If the template does not know about datarootdir, expand it.
9546# FIXME: This hack should be removed a few years after 2.60.
9547ac_datarootdir_hack=; ac_datarootdir_seen=
9548ac_sed_dataroot='
9549/datarootdir/ {
9550  p
9551  q
9552}
9553/@datadir@/p
9554/@docdir@/p
9555/@infodir@/p
9556/@localedir@/p
9557/@mandir@/p'
9558case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9559*datarootdir*) ac_datarootdir_seen=yes;;
9560*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9561  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9562$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9563_ACEOF
9564cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9565  ac_datarootdir_hack='
9566  s&@datadir@&$datadir&g
9567  s&@docdir@&$docdir&g
9568  s&@infodir@&$infodir&g
9569  s&@localedir@&$localedir&g
9570  s&@mandir@&$mandir&g
9571  s&\\\${datarootdir}&$datarootdir&g' ;;
9572esac
9573_ACEOF
9574
9575# Neutralize VPATH when `$srcdir' = `.'.
9576# Shell code in configure.ac might set extrasub.
9577# FIXME: do we really want to maintain this feature?
9578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9579ac_sed_extra="$ac_vpsub
9580$extrasub
9581_ACEOF
9582cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9583:t
9584/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9585s|@configure_input@|$ac_sed_conf_input|;t t
9586s&@top_builddir@&$ac_top_builddir_sub&;t t
9587s&@top_build_prefix@&$ac_top_build_prefix&;t t
9588s&@srcdir@&$ac_srcdir&;t t
9589s&@abs_srcdir@&$ac_abs_srcdir&;t t
9590s&@top_srcdir@&$ac_top_srcdir&;t t
9591s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9592s&@builddir@&$ac_builddir&;t t
9593s&@abs_builddir@&$ac_abs_builddir&;t t
9594s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9595$ac_datarootdir_hack
9596"
9597eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9598  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9599
9600test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9601  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9602  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
9603      "$ac_tmp/out"`; test -z "$ac_out"; } &&
9604  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9605which seems to be undefined.  Please make sure it is defined" >&5
9606$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9607which seems to be undefined.  Please make sure it is defined" >&2;}
9608
9609  rm -f "$ac_tmp/stdin"
9610  case $ac_file in
9611  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9612  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9613  esac \
9614  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9615 ;;
9616
9617
9618
9619  esac
9620
9621done # for ac_tag
9622
9623
9624as_fn_exit 0
9625_ACEOF
9626ac_clean_files=$ac_clean_files_save
9627
9628test $ac_write_fail = 0 ||
9629  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9630
9631
9632# configure is writing to config.log, and then calls config.status.
9633# config.status does its own redirection, appending to config.log.
9634# Unfortunately, on DOS this fails, as config.log is still kept open
9635# by configure, so config.status won't be able to write to it; its
9636# output is simply discarded.  So we exec the FD to /dev/null,
9637# effectively closing config.log, so it can be properly (re)opened and
9638# appended to by config.status.  When coming back to configure, we
9639# need to make the FD available again.
9640if test "$no_create" != yes; then
9641  ac_cs_success=:
9642  ac_config_status_args=
9643  test "$silent" = yes &&
9644    ac_config_status_args="$ac_config_status_args --quiet"
9645  exec 5>/dev/null
9646  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9647  exec 5>>config.log
9648  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9649  # would make configure fail if this is the last instruction.
9650  $ac_cs_success || as_fn_exit 1
9651fi
9652if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9653  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9654$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9655fi
9656
9657ac_config_files="$ac_config_files ../samples/nat/Makefile"
9658
9659cat >confcache <<\_ACEOF
9660# This file is a shell script that caches the results of configure
9661# tests run on this system so they can be shared between configure
9662# scripts and configure runs, see configure's option --config-cache.
9663# It is not useful on other systems.  If it contains results you don't
9664# want to keep, you may remove or edit it.
9665#
9666# config.status only pays attention to the cache file if you give it
9667# the --recheck option to rerun configure.
9668#
9669# `ac_cv_env_foo' variables (set or unset) will be overridden when
9670# loading this file, other *unset* `ac_cv_foo' will be assigned the
9671# following values.
9672
9673_ACEOF
9674
9675# The following way of writing the cache mishandles newlines in values,
9676# but we know of no workaround that is simple, portable, and efficient.
9677# So, we kill variables containing newlines.
9678# Ultrix sh set writes to stderr and can't be redirected directly,
9679# and sets the high bit in the cache file unless we assign to the vars.
9680(
9681  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9682    eval ac_val=\$$ac_var
9683    case $ac_val in #(
9684    *${as_nl}*)
9685      case $ac_var in #(
9686      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9687$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9688      esac
9689      case $ac_var in #(
9690      _ | IFS | as_nl) ;; #(
9691      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9692      *) { eval $ac_var=; unset $ac_var;} ;;
9693      esac ;;
9694    esac
9695  done
9696
9697  (set) 2>&1 |
9698    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9699    *${as_nl}ac_space=\ *)
9700      # `set' does not quote correctly, so add quotes: double-quote
9701      # substitution turns \\\\ into \\, and sed turns \\ into \.
9702      sed -n \
9703	"s/'/'\\\\''/g;
9704	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9705      ;; #(
9706    *)
9707      # `set' quotes correctly as required by POSIX, so do not add quotes.
9708      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9709      ;;
9710    esac |
9711    sort
9712) |
9713  sed '
9714     /^ac_cv_env_/b end
9715     t clear
9716     :clear
9717     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9718     t end
9719     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9720     :end' >>confcache
9721if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9722  if test -w "$cache_file"; then
9723    if test "x$cache_file" != "x/dev/null"; then
9724      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9725$as_echo "$as_me: updating cache $cache_file" >&6;}
9726      if test ! -f "$cache_file" || test -h "$cache_file"; then
9727	cat confcache >"$cache_file"
9728      else
9729        case $cache_file in #(
9730        */* | ?:*)
9731	  mv -f confcache "$cache_file"$$ &&
9732	  mv -f "$cache_file"$$ "$cache_file" ;; #(
9733        *)
9734	  mv -f confcache "$cache_file" ;;
9735	esac
9736      fi
9737    fi
9738  else
9739    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9740$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9741  fi
9742fi
9743rm -f confcache
9744
9745test "x$prefix" = xNONE && prefix=$ac_default_prefix
9746# Let make expand exec_prefix.
9747test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9748
9749# Transform confdefs.h into DEFS.
9750# Protect against shell expansion while executing Makefile rules.
9751# Protect against Makefile macro expansion.
9752#
9753# If the first sed substitution is executed (which looks for macros that
9754# take arguments), then branch to the quote section.  Otherwise,
9755# look for a macro that doesn't take arguments.
9756ac_script='
9757:mline
9758/\\$/{
9759 N
9760 s,\\\n,,
9761 b mline
9762}
9763t clear
9764:clear
9765s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
9766t quote
9767s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
9768t quote
9769b any
9770:quote
9771s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9772s/\[/\\&/g
9773s/\]/\\&/g
9774s/\$/$$/g
9775H
9776:any
9777${
9778	g
9779	s/^\n//
9780	s/\n/ /g
9781	p
9782}
9783'
9784DEFS=`sed -n "$ac_script" confdefs.h`
9785
9786
9787ac_libobjs=
9788ac_ltlibobjs=
9789U=
9790for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9791  # 1. Remove the extension, and $U if already installed.
9792  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9793  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9794  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9795  #    will be set to the directory where LIBOBJS objects are built.
9796  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9797  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9798done
9799LIBOBJS=$ac_libobjs
9800
9801LTLIBOBJS=$ac_ltlibobjs
9802
9803
9804
9805: "${CONFIG_STATUS=./config.status}"
9806ac_write_fail=0
9807ac_clean_files_save=$ac_clean_files
9808ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9809{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9810$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9811as_write_fail=0
9812cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9813#! $SHELL
9814# Generated by $as_me.
9815# Run this file to recreate the current configuration.
9816# Compiler output produced by configure, useful for debugging
9817# configure, is in config.log if it exists.
9818
9819debug=false
9820ac_cs_recheck=false
9821ac_cs_silent=false
9822
9823SHELL=\${CONFIG_SHELL-$SHELL}
9824export SHELL
9825_ASEOF
9826cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9827## -------------------- ##
9828## M4sh Initialization. ##
9829## -------------------- ##
9830
9831# Be more Bourne compatible
9832DUALCASE=1; export DUALCASE # for MKS sh
9833if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9834  emulate sh
9835  NULLCMD=:
9836  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9837  # is contrary to our usage.  Disable this feature.
9838  alias -g '${1+"$@"}'='"$@"'
9839  setopt NO_GLOB_SUBST
9840else
9841  case `(set -o) 2>/dev/null` in #(
9842  *posix*) :
9843    set -o posix ;; #(
9844  *) :
9845     ;;
9846esac
9847fi
9848
9849
9850as_nl='
9851'
9852export as_nl
9853# Printing a long string crashes Solaris 7 /usr/bin/printf.
9854as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9855as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9856as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9857# Prefer a ksh shell builtin over an external printf program on Solaris,
9858# but without wasting forks for bash or zsh.
9859if test -z "$BASH_VERSION$ZSH_VERSION" \
9860    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9861  as_echo='print -r --'
9862  as_echo_n='print -rn --'
9863elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9864  as_echo='printf %s\n'
9865  as_echo_n='printf %s'
9866else
9867  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9868    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9869    as_echo_n='/usr/ucb/echo -n'
9870  else
9871    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9872    as_echo_n_body='eval
9873      arg=$1;
9874      case $arg in #(
9875      *"$as_nl"*)
9876	expr "X$arg" : "X\\(.*\\)$as_nl";
9877	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9878      esac;
9879      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9880    '
9881    export as_echo_n_body
9882    as_echo_n='sh -c $as_echo_n_body as_echo'
9883  fi
9884  export as_echo_body
9885  as_echo='sh -c $as_echo_body as_echo'
9886fi
9887
9888# The user is always right.
9889if test "${PATH_SEPARATOR+set}" != set; then
9890  PATH_SEPARATOR=:
9891  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9892    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9893      PATH_SEPARATOR=';'
9894  }
9895fi
9896
9897
9898# IFS
9899# We need space, tab and new line, in precisely that order.  Quoting is
9900# there to prevent editors from complaining about space-tab.
9901# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9902# splitting by setting IFS to empty value.)
9903IFS=" ""	$as_nl"
9904
9905# Find who we are.  Look in the path if we contain no directory separator.
9906as_myself=
9907case $0 in #((
9908  *[\\/]* ) as_myself=$0 ;;
9909  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9910for as_dir in $PATH
9911do
9912  IFS=$as_save_IFS
9913  test -z "$as_dir" && as_dir=.
9914    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9915  done
9916IFS=$as_save_IFS
9917
9918     ;;
9919esac
9920# We did not find ourselves, most probably we were run as `sh COMMAND'
9921# in which case we are not to be found in the path.
9922if test "x$as_myself" = x; then
9923  as_myself=$0
9924fi
9925if test ! -f "$as_myself"; then
9926  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9927  exit 1
9928fi
9929
9930# Unset variables that we do not need and which cause bugs (e.g. in
9931# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
9932# suppresses any "Segmentation fault" message there.  '((' could
9933# trigger a bug in pdksh 5.2.14.
9934for as_var in BASH_ENV ENV MAIL MAILPATH
9935do eval test x\${$as_var+set} = xset \
9936  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9937done
9938PS1='$ '
9939PS2='> '
9940PS4='+ '
9941
9942# NLS nuisances.
9943LC_ALL=C
9944export LC_ALL
9945LANGUAGE=C
9946export LANGUAGE
9947
9948# CDPATH.
9949(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9950
9951
9952# as_fn_error STATUS ERROR [LINENO LOG_FD]
9953# ----------------------------------------
9954# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9955# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9956# script with STATUS, using 1 if that was 0.
9957as_fn_error ()
9958{
9959  as_status=$1; test $as_status -eq 0 && as_status=1
9960  if test "$4"; then
9961    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9962    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9963  fi
9964  $as_echo "$as_me: error: $2" >&2
9965  as_fn_exit $as_status
9966} # as_fn_error
9967
9968
9969# as_fn_set_status STATUS
9970# -----------------------
9971# Set $? to STATUS, without forking.
9972as_fn_set_status ()
9973{
9974  return $1
9975} # as_fn_set_status
9976
9977# as_fn_exit STATUS
9978# -----------------
9979# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9980as_fn_exit ()
9981{
9982  set +e
9983  as_fn_set_status $1
9984  exit $1
9985} # as_fn_exit
9986
9987# as_fn_unset VAR
9988# ---------------
9989# Portably unset VAR.
9990as_fn_unset ()
9991{
9992  { eval $1=; unset $1;}
9993}
9994as_unset=as_fn_unset
9995# as_fn_append VAR VALUE
9996# ----------------------
9997# Append the text in VALUE to the end of the definition contained in VAR. Take
9998# advantage of any shell optimizations that allow amortized linear growth over
9999# repeated appends, instead of the typical quadratic growth present in naive
10000# implementations.
10001if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10002  eval 'as_fn_append ()
10003  {
10004    eval $1+=\$2
10005  }'
10006else
10007  as_fn_append ()
10008  {
10009    eval $1=\$$1\$2
10010  }
10011fi # as_fn_append
10012
10013# as_fn_arith ARG...
10014# ------------------
10015# Perform arithmetic evaluation on the ARGs, and store the result in the
10016# global $as_val. Take advantage of shells that can avoid forks. The arguments
10017# must be portable across $(()) and expr.
10018if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10019  eval 'as_fn_arith ()
10020  {
10021    as_val=$(( $* ))
10022  }'
10023else
10024  as_fn_arith ()
10025  {
10026    as_val=`expr "$@" || test $? -eq 1`
10027  }
10028fi # as_fn_arith
10029
10030
10031if expr a : '\(a\)' >/dev/null 2>&1 &&
10032   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10033  as_expr=expr
10034else
10035  as_expr=false
10036fi
10037
10038if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10039  as_basename=basename
10040else
10041  as_basename=false
10042fi
10043
10044if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10045  as_dirname=dirname
10046else
10047  as_dirname=false
10048fi
10049
10050as_me=`$as_basename -- "$0" ||
10051$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10052	 X"$0" : 'X\(//\)$' \| \
10053	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10054$as_echo X/"$0" |
10055    sed '/^.*\/\([^/][^/]*\)\/*$/{
10056	    s//\1/
10057	    q
10058	  }
10059	  /^X\/\(\/\/\)$/{
10060	    s//\1/
10061	    q
10062	  }
10063	  /^X\/\(\/\).*/{
10064	    s//\1/
10065	    q
10066	  }
10067	  s/.*/./; q'`
10068
10069# Avoid depending upon Character Ranges.
10070as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10071as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10072as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10073as_cr_digits='0123456789'
10074as_cr_alnum=$as_cr_Letters$as_cr_digits
10075
10076ECHO_C= ECHO_N= ECHO_T=
10077case `echo -n x` in #(((((
10078-n*)
10079  case `echo 'xy\c'` in
10080  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
10081  xy)  ECHO_C='\c';;
10082  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10083       ECHO_T='	';;
10084  esac;;
10085*)
10086  ECHO_N='-n';;
10087esac
10088
10089rm -f conf$$ conf$$.exe conf$$.file
10090if test -d conf$$.dir; then
10091  rm -f conf$$.dir/conf$$.file
10092else
10093  rm -f conf$$.dir
10094  mkdir conf$$.dir 2>/dev/null
10095fi
10096if (echo >conf$$.file) 2>/dev/null; then
10097  if ln -s conf$$.file conf$$ 2>/dev/null; then
10098    as_ln_s='ln -s'
10099    # ... but there are two gotchas:
10100    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10101    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10102    # In both cases, we have to default to `cp -pR'.
10103    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10104      as_ln_s='cp -pR'
10105  elif ln conf$$.file conf$$ 2>/dev/null; then
10106    as_ln_s=ln
10107  else
10108    as_ln_s='cp -pR'
10109  fi
10110else
10111  as_ln_s='cp -pR'
10112fi
10113rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10114rmdir conf$$.dir 2>/dev/null
10115
10116
10117# as_fn_mkdir_p
10118# -------------
10119# Create "$as_dir" as a directory, including parents if necessary.
10120as_fn_mkdir_p ()
10121{
10122
10123  case $as_dir in #(
10124  -*) as_dir=./$as_dir;;
10125  esac
10126  test -d "$as_dir" || eval $as_mkdir_p || {
10127    as_dirs=
10128    while :; do
10129      case $as_dir in #(
10130      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10131      *) as_qdir=$as_dir;;
10132      esac
10133      as_dirs="'$as_qdir' $as_dirs"
10134      as_dir=`$as_dirname -- "$as_dir" ||
10135$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10136	 X"$as_dir" : 'X\(//\)[^/]' \| \
10137	 X"$as_dir" : 'X\(//\)$' \| \
10138	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10139$as_echo X"$as_dir" |
10140    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10141	    s//\1/
10142	    q
10143	  }
10144	  /^X\(\/\/\)[^/].*/{
10145	    s//\1/
10146	    q
10147	  }
10148	  /^X\(\/\/\)$/{
10149	    s//\1/
10150	    q
10151	  }
10152	  /^X\(\/\).*/{
10153	    s//\1/
10154	    q
10155	  }
10156	  s/.*/./; q'`
10157      test -d "$as_dir" && break
10158    done
10159    test -z "$as_dirs" || eval "mkdir $as_dirs"
10160  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10161
10162
10163} # as_fn_mkdir_p
10164if mkdir -p . 2>/dev/null; then
10165  as_mkdir_p='mkdir -p "$as_dir"'
10166else
10167  test -d ./-p && rmdir ./-p
10168  as_mkdir_p=false
10169fi
10170
10171
10172# as_fn_executable_p FILE
10173# -----------------------
10174# Test if FILE is an executable regular file.
10175as_fn_executable_p ()
10176{
10177  test -f "$1" && test -x "$1"
10178} # as_fn_executable_p
10179as_test_x='test -x'
10180as_executable_p=as_fn_executable_p
10181
10182# Sed expression to map a string onto a valid CPP name.
10183as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10184
10185# Sed expression to map a string onto a valid variable name.
10186as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10187
10188
10189exec 6>&1
10190## ----------------------------------- ##
10191## Main body of $CONFIG_STATUS script. ##
10192## ----------------------------------- ##
10193_ASEOF
10194test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10195
10196cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10197# Save the log message, to keep $0 and so on meaningful, and to
10198# report actual input values of CONFIG_FILES etc. instead of their
10199# values after options handling.
10200ac_log="
10201This file was extended by mos_release $as_me version-0.3, which was
10202generated by GNU Autoconf 2.69.  Invocation command line was
10203
10204  CONFIG_FILES    = $CONFIG_FILES
10205  CONFIG_HEADERS  = $CONFIG_HEADERS
10206  CONFIG_LINKS    = $CONFIG_LINKS
10207  CONFIG_COMMANDS = $CONFIG_COMMANDS
10208  $ $0 $@
10209
10210on `(hostname || uname -n) 2>/dev/null | sed 1q`
10211"
10212
10213_ACEOF
10214
10215case $ac_config_files in *"
10216"*) set x $ac_config_files; shift; ac_config_files=$*;;
10217esac
10218
10219
10220
10221cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10222# Files that config.status was made for.
10223config_files="$ac_config_files"
10224
10225_ACEOF
10226
10227cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10228ac_cs_usage="\
10229\`$as_me' instantiates files and other configuration actions
10230from templates according to the current configuration.  Unless the files
10231and actions are specified as TAGs, all are instantiated by default.
10232
10233Usage: $0 [OPTION]... [TAG]...
10234
10235  -h, --help       print this help, then exit
10236  -V, --version    print version number and configuration settings, then exit
10237      --config     print configuration, then exit
10238  -q, --quiet, --silent
10239                   do not print progress messages
10240  -d, --debug      don't remove temporary files
10241      --recheck    update $as_me by reconfiguring in the same conditions
10242      --file=FILE[:TEMPLATE]
10243                   instantiate the configuration file FILE
10244
10245Configuration files:
10246$config_files
10247
10248Report bugs to <[email protected]>."
10249
10250_ACEOF
10251cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10252ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10253ac_cs_version="\\
10254mos_release config.status version-0.3
10255configured by $0, generated by GNU Autoconf 2.69,
10256  with options \\"\$ac_cs_config\\"
10257
10258Copyright (C) 2012 Free Software Foundation, Inc.
10259This config.status script is free software; the Free Software Foundation
10260gives unlimited permission to copy, distribute and modify it."
10261
10262ac_pwd='$ac_pwd'
10263srcdir='$srcdir'
10264test -n "\$AWK" || AWK=awk
10265_ACEOF
10266
10267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10268# The default lists apply if the user does not specify any file.
10269ac_need_defaults=:
10270while test $# != 0
10271do
10272  case $1 in
10273  --*=?*)
10274    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10275    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10276    ac_shift=:
10277    ;;
10278  --*=)
10279    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10280    ac_optarg=
10281    ac_shift=:
10282    ;;
10283  *)
10284    ac_option=$1
10285    ac_optarg=$2
10286    ac_shift=shift
10287    ;;
10288  esac
10289
10290  case $ac_option in
10291  # Handling of the options.
10292  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10293    ac_cs_recheck=: ;;
10294  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10295    $as_echo "$ac_cs_version"; exit ;;
10296  --config | --confi | --conf | --con | --co | --c )
10297    $as_echo "$ac_cs_config"; exit ;;
10298  --debug | --debu | --deb | --de | --d | -d )
10299    debug=: ;;
10300  --file | --fil | --fi | --f )
10301    $ac_shift
10302    case $ac_optarg in
10303    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10304    '') as_fn_error $? "missing file argument" ;;
10305    esac
10306    as_fn_append CONFIG_FILES " '$ac_optarg'"
10307    ac_need_defaults=false;;
10308  --he | --h |  --help | --hel | -h )
10309    $as_echo "$ac_cs_usage"; exit ;;
10310  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10311  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10312    ac_cs_silent=: ;;
10313
10314  # This is an error.
10315  -*) as_fn_error $? "unrecognized option: \`$1'
10316Try \`$0 --help' for more information." ;;
10317
10318  *) as_fn_append ac_config_targets " $1"
10319     ac_need_defaults=false ;;
10320
10321  esac
10322  shift
10323done
10324
10325ac_configure_extra_args=
10326
10327if $ac_cs_silent; then
10328  exec 6>/dev/null
10329  ac_configure_extra_args="$ac_configure_extra_args --silent"
10330fi
10331
10332_ACEOF
10333cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10334if \$ac_cs_recheck; then
10335  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10336  shift
10337  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10338  CONFIG_SHELL='$SHELL'
10339  export CONFIG_SHELL
10340  exec "\$@"
10341fi
10342
10343_ACEOF
10344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10345exec 5>>config.log
10346{
10347  echo
10348  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10349## Running $as_me. ##
10350_ASBOX
10351  $as_echo "$ac_log"
10352} >&5
10353
10354_ACEOF
10355cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10356_ACEOF
10357
10358cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10359
10360# Handling of arguments.
10361for ac_config_target in $ac_config_targets
10362do
10363  case $ac_config_target in
10364    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
10365    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
10366    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
10367    "../samples/midstat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/midstat/Makefile" ;;
10368    "../samples/simple_firewall/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/simple_firewall/Makefile" ;;
10369    "../samples/nat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/nat/Makefile" ;;
10370
10371  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10372  esac
10373done
10374
10375
10376# If the user did not use the arguments to specify the items to instantiate,
10377# then the envvar interface is used.  Set only those that are not.
10378# We use the long form for the default assignment because of an extremely
10379# bizarre bug on SunOS 4.1.3.
10380if $ac_need_defaults; then
10381  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10382fi
10383
10384# Have a temporary directory for convenience.  Make it in the build tree
10385# simply because there is no reason against having it here, and in addition,
10386# creating and moving files from /tmp can sometimes cause problems.
10387# Hook for its removal unless debugging.
10388# Note that there is a small window in which the directory will not be cleaned:
10389# after its creation but before its name has been assigned to `$tmp'.
10390$debug ||
10391{
10392  tmp= ac_tmp=
10393  trap 'exit_status=$?
10394  : "${ac_tmp:=$tmp}"
10395  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10396' 0
10397  trap 'as_fn_exit 1' 1 2 13 15
10398}
10399# Create a (secure) tmp directory for tmp files.
10400
10401{
10402  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10403  test -d "$tmp"
10404}  ||
10405{
10406  tmp=./conf$$-$RANDOM
10407  (umask 077 && mkdir "$tmp")
10408} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10409ac_tmp=$tmp
10410
10411# Set up the scripts for CONFIG_FILES section.
10412# No need to generate them if there are no CONFIG_FILES.
10413# This happens for instance with `./config.status config.h'.
10414if test -n "$CONFIG_FILES"; then
10415
10416
10417ac_cr=`echo X | tr X '\015'`
10418# On cygwin, bash can eat \r inside `` if the user requested igncr.
10419# But we know of no other shell where ac_cr would be empty at this
10420# point, so we can use a bashism as a fallback.
10421if test "x$ac_cr" = x; then
10422  eval ac_cr=\$\'\\r\'
10423fi
10424ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10425if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10426  ac_cs_awk_cr='\\r'
10427else
10428  ac_cs_awk_cr=$ac_cr
10429fi
10430
10431echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10432_ACEOF
10433
10434
10435{
10436  echo "cat >conf$$subs.awk <<_ACEOF" &&
10437  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10438  echo "_ACEOF"
10439} >conf$$subs.sh ||
10440  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10441ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10442ac_delim='%!_!# '
10443for ac_last_try in false false false false false :; do
10444  . ./conf$$subs.sh ||
10445    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10446
10447  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10448  if test $ac_delim_n = $ac_delim_num; then
10449    break
10450  elif $ac_last_try; then
10451    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10452  else
10453    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10454  fi
10455done
10456rm -f conf$$subs.sh
10457
10458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10459cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10460_ACEOF
10461sed -n '
10462h
10463s/^/S["/; s/!.*/"]=/
10464p
10465g
10466s/^[^!]*!//
10467:repl
10468t repl
10469s/'"$ac_delim"'$//
10470t delim
10471:nl
10472h
10473s/\(.\{148\}\)..*/\1/
10474t more1
10475s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10476p
10477n
10478b repl
10479:more1
10480s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10481p
10482g
10483s/.\{148\}//
10484t nl
10485:delim
10486h
10487s/\(.\{148\}\)..*/\1/
10488t more2
10489s/["\\]/\\&/g; s/^/"/; s/$/"/
10490p
10491b
10492:more2
10493s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10494p
10495g
10496s/.\{148\}//
10497t delim
10498' <conf$$subs.awk | sed '
10499/^[^""]/{
10500  N
10501  s/\n//
10502}
10503' >>$CONFIG_STATUS || ac_write_fail=1
10504rm -f conf$$subs.awk
10505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10506_ACAWK
10507cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10508  for (key in S) S_is_set[key] = 1
10509  FS = ""
10510
10511}
10512{
10513  line = $ 0
10514  nfields = split(line, field, "@")
10515  substed = 0
10516  len = length(field[1])
10517  for (i = 2; i < nfields; i++) {
10518    key = field[i]
10519    keylen = length(key)
10520    if (S_is_set[key]) {
10521      value = S[key]
10522      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10523      len += length(value) + length(field[++i])
10524      substed = 1
10525    } else
10526      len += 1 + keylen
10527  }
10528
10529  print line
10530}
10531
10532_ACAWK
10533_ACEOF
10534cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10535if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10536  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10537else
10538  cat
10539fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10540  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10541_ACEOF
10542
10543# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10544# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10545# trailing colons and then remove the whole line if VPATH becomes empty
10546# (actually we leave an empty line to preserve line numbers).
10547if test "x$srcdir" = x.; then
10548  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
10549h
10550s///
10551s/^/:/
10552s/[	 ]*$/:/
10553s/:\$(srcdir):/:/g
10554s/:\${srcdir}:/:/g
10555s/:@srcdir@:/:/g
10556s/^:*//
10557s/:*$//
10558x
10559s/\(=[	 ]*\).*/\1/
10560G
10561s/\n//
10562s/^[^=]*=[	 ]*$//
10563}'
10564fi
10565
10566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10567fi # test -n "$CONFIG_FILES"
10568
10569
10570eval set X "  :F $CONFIG_FILES      "
10571shift
10572for ac_tag
10573do
10574  case $ac_tag in
10575  :[FHLC]) ac_mode=$ac_tag; continue;;
10576  esac
10577  case $ac_mode$ac_tag in
10578  :[FHL]*:*);;
10579  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10580  :[FH]-) ac_tag=-:-;;
10581  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10582  esac
10583  ac_save_IFS=$IFS
10584  IFS=:
10585  set x $ac_tag
10586  IFS=$ac_save_IFS
10587  shift
10588  ac_file=$1
10589  shift
10590
10591  case $ac_mode in
10592  :L) ac_source=$1;;
10593  :[FH])
10594    ac_file_inputs=
10595    for ac_f
10596    do
10597      case $ac_f in
10598      -) ac_f="$ac_tmp/stdin";;
10599      *) # Look for the file first in the build tree, then in the source tree
10600	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
10601	 # because $ac_f cannot contain `:'.
10602	 test -f "$ac_f" ||
10603	   case $ac_f in
10604	   [\\/$]*) false;;
10605	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10606	   esac ||
10607	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10608      esac
10609      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10610      as_fn_append ac_file_inputs " '$ac_f'"
10611    done
10612
10613    # Let's still pretend it is `configure' which instantiates (i.e., don't
10614    # use $as_me), people would be surprised to read:
10615    #    /* config.h.  Generated by config.status.  */
10616    configure_input='Generated from '`
10617	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10618	`' by configure.'
10619    if test x"$ac_file" != x-; then
10620      configure_input="$ac_file.  $configure_input"
10621      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10622$as_echo "$as_me: creating $ac_file" >&6;}
10623    fi
10624    # Neutralize special characters interpreted by sed in replacement strings.
10625    case $configure_input in #(
10626    *\&* | *\|* | *\\* )
10627       ac_sed_conf_input=`$as_echo "$configure_input" |
10628       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10629    *) ac_sed_conf_input=$configure_input;;
10630    esac
10631
10632    case $ac_tag in
10633    *:-:* | *:-) cat >"$ac_tmp/stdin" \
10634      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10635    esac
10636    ;;
10637  esac
10638
10639  ac_dir=`$as_dirname -- "$ac_file" ||
10640$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10641	 X"$ac_file" : 'X\(//\)[^/]' \| \
10642	 X"$ac_file" : 'X\(//\)$' \| \
10643	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10644$as_echo X"$ac_file" |
10645    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10646	    s//\1/
10647	    q
10648	  }
10649	  /^X\(\/\/\)[^/].*/{
10650	    s//\1/
10651	    q
10652	  }
10653	  /^X\(\/\/\)$/{
10654	    s//\1/
10655	    q
10656	  }
10657	  /^X\(\/\).*/{
10658	    s//\1/
10659	    q
10660	  }
10661	  s/.*/./; q'`
10662  as_dir="$ac_dir"; as_fn_mkdir_p
10663  ac_builddir=.
10664
10665case "$ac_dir" in
10666.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10667*)
10668  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10669  # A ".." for each directory in $ac_dir_suffix.
10670  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10671  case $ac_top_builddir_sub in
10672  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10673  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10674  esac ;;
10675esac
10676ac_abs_top_builddir=$ac_pwd
10677ac_abs_builddir=$ac_pwd$ac_dir_suffix
10678# for backward compatibility:
10679ac_top_builddir=$ac_top_build_prefix
10680
10681case $srcdir in
10682  .)  # We are building in place.
10683    ac_srcdir=.
10684    ac_top_srcdir=$ac_top_builddir_sub
10685    ac_abs_top_srcdir=$ac_pwd ;;
10686  [\\/]* | ?:[\\/]* )  # Absolute name.
10687    ac_srcdir=$srcdir$ac_dir_suffix;
10688    ac_top_srcdir=$srcdir
10689    ac_abs_top_srcdir=$srcdir ;;
10690  *) # Relative name.
10691    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10692    ac_top_srcdir=$ac_top_build_prefix$srcdir
10693    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10694esac
10695ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10696
10697
10698  case $ac_mode in
10699  :F)
10700  #
10701  # CONFIG_FILE
10702  #
10703
10704_ACEOF
10705
10706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10707# If the template does not know about datarootdir, expand it.
10708# FIXME: This hack should be removed a few years after 2.60.
10709ac_datarootdir_hack=; ac_datarootdir_seen=
10710ac_sed_dataroot='
10711/datarootdir/ {
10712  p
10713  q
10714}
10715/@datadir@/p
10716/@docdir@/p
10717/@infodir@/p
10718/@localedir@/p
10719/@mandir@/p'
10720case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10721*datarootdir*) ac_datarootdir_seen=yes;;
10722*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10723  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10724$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10725_ACEOF
10726cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10727  ac_datarootdir_hack='
10728  s&@datadir@&$datadir&g
10729  s&@docdir@&$docdir&g
10730  s&@infodir@&$infodir&g
10731  s&@localedir@&$localedir&g
10732  s&@mandir@&$mandir&g
10733  s&\\\${datarootdir}&$datarootdir&g' ;;
10734esac
10735_ACEOF
10736
10737# Neutralize VPATH when `$srcdir' = `.'.
10738# Shell code in configure.ac might set extrasub.
10739# FIXME: do we really want to maintain this feature?
10740cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10741ac_sed_extra="$ac_vpsub
10742$extrasub
10743_ACEOF
10744cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10745:t
10746/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10747s|@configure_input@|$ac_sed_conf_input|;t t
10748s&@top_builddir@&$ac_top_builddir_sub&;t t
10749s&@top_build_prefix@&$ac_top_build_prefix&;t t
10750s&@srcdir@&$ac_srcdir&;t t
10751s&@abs_srcdir@&$ac_abs_srcdir&;t t
10752s&@top_srcdir@&$ac_top_srcdir&;t t
10753s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10754s&@builddir@&$ac_builddir&;t t
10755s&@abs_builddir@&$ac_abs_builddir&;t t
10756s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10757$ac_datarootdir_hack
10758"
10759eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10760  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10761
10762test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10763  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10764  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
10765      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10766  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10767which seems to be undefined.  Please make sure it is defined" >&5
10768$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10769which seems to be undefined.  Please make sure it is defined" >&2;}
10770
10771  rm -f "$ac_tmp/stdin"
10772  case $ac_file in
10773  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10774  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10775  esac \
10776  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10777 ;;
10778
10779
10780
10781  esac
10782
10783done # for ac_tag
10784
10785
10786as_fn_exit 0
10787_ACEOF
10788ac_clean_files=$ac_clean_files_save
10789
10790test $ac_write_fail = 0 ||
10791  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10792
10793
10794# configure is writing to config.log, and then calls config.status.
10795# config.status does its own redirection, appending to config.log.
10796# Unfortunately, on DOS this fails, as config.log is still kept open
10797# by configure, so config.status won't be able to write to it; its
10798# output is simply discarded.  So we exec the FD to /dev/null,
10799# effectively closing config.log, so it can be properly (re)opened and
10800# appended to by config.status.  When coming back to configure, we
10801# need to make the FD available again.
10802if test "$no_create" != yes; then
10803  ac_cs_success=:
10804  ac_config_status_args=
10805  test "$silent" = yes &&
10806    ac_config_status_args="$ac_config_status_args --quiet"
10807  exec 5>/dev/null
10808  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10809  exec 5>>config.log
10810  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10811  # would make configure fail if this is the last instruction.
10812  $ac_cs_success || as_fn_exit 1
10813fi
10814if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10815  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10816$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10817fi
10818
10819
10820