xref: /mOS-networking-stack/scripts/configure (revision 03d1e42c)
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
626NETMAP
627PSIO
628DPDK
629LIBOBJS
630EGREP
631GREP
632CPP
633RANLIB
634OBJEXT
635EXEEXT
636ac_ct_CC
637CPPFLAGS
638LDFLAGS
639CFLAGS
640CC
641target_alias
642host_alias
643build_alias
644LIBS
645ECHO_T
646ECHO_N
647ECHO_C
648DEFS
649mandir
650localedir
651libdir
652psdir
653pdfdir
654dvidir
655htmldir
656infodir
657docdir
658oldincludedir
659includedir
660localstatedir
661sharedstatedir
662sysconfdir
663datadir
664datarootdir
665libexecdir
666sbindir
667bindir
668program_transform_name
669prefix
670exec_prefix
671PACKAGE_URL
672PACKAGE_BUGREPORT
673PACKAGE_STRING
674PACKAGE_VERSION
675PACKAGE_TARNAME
676PACKAGE_NAME
677PATH_SEPARATOR
678SHELL'
679ac_subst_files=''
680ac_user_opts='
681enable_option_checking
682enable_dpdk
683enable_netmap
684enable_psio
685'
686      ac_precious_vars='build_alias
687host_alias
688target_alias
689CC
690CFLAGS
691LDFLAGS
692LIBS
693CPPFLAGS
694CPP'
695
696
697# Initialize some variables set by options.
698ac_init_help=
699ac_init_version=false
700ac_unrecognized_opts=
701ac_unrecognized_sep=
702# The variables have the same names as the options, with
703# dashes changed to underlines.
704cache_file=/dev/null
705exec_prefix=NONE
706no_create=
707no_recursion=
708prefix=NONE
709program_prefix=NONE
710program_suffix=NONE
711program_transform_name=s,x,x,
712silent=
713site=
714srcdir=
715verbose=
716x_includes=NONE
717x_libraries=NONE
718
719# Installation directory options.
720# These are left unexpanded so users can "make install exec_prefix=/foo"
721# and all the variables that are supposed to be based on exec_prefix
722# by default will actually change.
723# Use braces instead of parens because sh, perl, etc. also accept them.
724# (The list follows the same order as the GNU Coding Standards.)
725bindir='${exec_prefix}/bin'
726sbindir='${exec_prefix}/sbin'
727libexecdir='${exec_prefix}/libexec'
728datarootdir='${prefix}/share'
729datadir='${datarootdir}'
730sysconfdir='${prefix}/etc'
731sharedstatedir='${prefix}/com'
732localstatedir='${prefix}/var'
733includedir='${prefix}/include'
734oldincludedir='/usr/include'
735docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
736infodir='${datarootdir}/info'
737htmldir='${docdir}'
738dvidir='${docdir}'
739pdfdir='${docdir}'
740psdir='${docdir}'
741libdir='${exec_prefix}/lib'
742localedir='${datarootdir}/locale'
743mandir='${datarootdir}/man'
744
745ac_prev=
746ac_dashdash=
747for ac_option
748do
749  # If the previous option needs an argument, assign it.
750  if test -n "$ac_prev"; then
751    eval $ac_prev=\$ac_option
752    ac_prev=
753    continue
754  fi
755
756  case $ac_option in
757  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758  *=)   ac_optarg= ;;
759  *)    ac_optarg=yes ;;
760  esac
761
762  # Accept the important Cygnus configure options, so we can diagnose typos.
763
764  case $ac_dashdash$ac_option in
765  --)
766    ac_dashdash=yes ;;
767
768  -bindir | --bindir | --bindi | --bind | --bin | --bi)
769    ac_prev=bindir ;;
770  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771    bindir=$ac_optarg ;;
772
773  -build | --build | --buil | --bui | --bu)
774    ac_prev=build_alias ;;
775  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
776    build_alias=$ac_optarg ;;
777
778  -cache-file | --cache-file | --cache-fil | --cache-fi \
779  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
780    ac_prev=cache_file ;;
781  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
782  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
783    cache_file=$ac_optarg ;;
784
785  --config-cache | -C)
786    cache_file=config.cache ;;
787
788  -datadir | --datadir | --datadi | --datad)
789    ac_prev=datadir ;;
790  -datadir=* | --datadir=* | --datadi=* | --datad=*)
791    datadir=$ac_optarg ;;
792
793  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
794  | --dataroo | --dataro | --datar)
795    ac_prev=datarootdir ;;
796  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
797  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
798    datarootdir=$ac_optarg ;;
799
800  -disable-* | --disable-*)
801    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
802    # Reject names that are not valid shell variable names.
803    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
804      as_fn_error $? "invalid feature name: $ac_useropt"
805    ac_useropt_orig=$ac_useropt
806    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807    case $ac_user_opts in
808      *"
809"enable_$ac_useropt"
810"*) ;;
811      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812	 ac_unrecognized_sep=', ';;
813    esac
814    eval enable_$ac_useropt=no ;;
815
816  -docdir | --docdir | --docdi | --doc | --do)
817    ac_prev=docdir ;;
818  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819    docdir=$ac_optarg ;;
820
821  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822    ac_prev=dvidir ;;
823  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824    dvidir=$ac_optarg ;;
825
826  -enable-* | --enable-*)
827    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828    # Reject names that are not valid shell variable names.
829    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830      as_fn_error $? "invalid feature name: $ac_useropt"
831    ac_useropt_orig=$ac_useropt
832    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833    case $ac_user_opts in
834      *"
835"enable_$ac_useropt"
836"*) ;;
837      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838	 ac_unrecognized_sep=', ';;
839    esac
840    eval enable_$ac_useropt=\$ac_optarg ;;
841
842  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844  | --exec | --exe | --ex)
845    ac_prev=exec_prefix ;;
846  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848  | --exec=* | --exe=* | --ex=*)
849    exec_prefix=$ac_optarg ;;
850
851  -gas | --gas | --ga | --g)
852    # Obsolete; use --with-gas.
853    with_gas=yes ;;
854
855  -help | --help | --hel | --he | -h)
856    ac_init_help=long ;;
857  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858    ac_init_help=recursive ;;
859  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860    ac_init_help=short ;;
861
862  -host | --host | --hos | --ho)
863    ac_prev=host_alias ;;
864  -host=* | --host=* | --hos=* | --ho=*)
865    host_alias=$ac_optarg ;;
866
867  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868    ac_prev=htmldir ;;
869  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870  | --ht=*)
871    htmldir=$ac_optarg ;;
872
873  -includedir | --includedir | --includedi | --included | --include \
874  | --includ | --inclu | --incl | --inc)
875    ac_prev=includedir ;;
876  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877  | --includ=* | --inclu=* | --incl=* | --inc=*)
878    includedir=$ac_optarg ;;
879
880  -infodir | --infodir | --infodi | --infod | --info | --inf)
881    ac_prev=infodir ;;
882  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883    infodir=$ac_optarg ;;
884
885  -libdir | --libdir | --libdi | --libd)
886    ac_prev=libdir ;;
887  -libdir=* | --libdir=* | --libdi=* | --libd=*)
888    libdir=$ac_optarg ;;
889
890  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891  | --libexe | --libex | --libe)
892    ac_prev=libexecdir ;;
893  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894  | --libexe=* | --libex=* | --libe=*)
895    libexecdir=$ac_optarg ;;
896
897  -localedir | --localedir | --localedi | --localed | --locale)
898    ac_prev=localedir ;;
899  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900    localedir=$ac_optarg ;;
901
902  -localstatedir | --localstatedir | --localstatedi | --localstated \
903  | --localstate | --localstat | --localsta | --localst | --locals)
904    ac_prev=localstatedir ;;
905  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
906  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
907    localstatedir=$ac_optarg ;;
908
909  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910    ac_prev=mandir ;;
911  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912    mandir=$ac_optarg ;;
913
914  -nfp | --nfp | --nf)
915    # Obsolete; use --without-fp.
916    with_fp=no ;;
917
918  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919  | --no-cr | --no-c | -n)
920    no_create=yes ;;
921
922  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924    no_recursion=yes ;;
925
926  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928  | --oldin | --oldi | --old | --ol | --o)
929    ac_prev=oldincludedir ;;
930  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933    oldincludedir=$ac_optarg ;;
934
935  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936    ac_prev=prefix ;;
937  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938    prefix=$ac_optarg ;;
939
940  -program-prefix | --program-prefix | --program-prefi | --program-pref \
941  | --program-pre | --program-pr | --program-p)
942    ac_prev=program_prefix ;;
943  -program-prefix=* | --program-prefix=* | --program-prefi=* \
944  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945    program_prefix=$ac_optarg ;;
946
947  -program-suffix | --program-suffix | --program-suffi | --program-suff \
948  | --program-suf | --program-su | --program-s)
949    ac_prev=program_suffix ;;
950  -program-suffix=* | --program-suffix=* | --program-suffi=* \
951  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952    program_suffix=$ac_optarg ;;
953
954  -program-transform-name | --program-transform-name \
955  | --program-transform-nam | --program-transform-na \
956  | --program-transform-n | --program-transform- \
957  | --program-transform | --program-transfor \
958  | --program-transfo | --program-transf \
959  | --program-trans | --program-tran \
960  | --progr-tra | --program-tr | --program-t)
961    ac_prev=program_transform_name ;;
962  -program-transform-name=* | --program-transform-name=* \
963  | --program-transform-nam=* | --program-transform-na=* \
964  | --program-transform-n=* | --program-transform-=* \
965  | --program-transform=* | --program-transfor=* \
966  | --program-transfo=* | --program-transf=* \
967  | --program-trans=* | --program-tran=* \
968  | --progr-tra=* | --program-tr=* | --program-t=*)
969    program_transform_name=$ac_optarg ;;
970
971  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972    ac_prev=pdfdir ;;
973  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974    pdfdir=$ac_optarg ;;
975
976  -psdir | --psdir | --psdi | --psd | --ps)
977    ac_prev=psdir ;;
978  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979    psdir=$ac_optarg ;;
980
981  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982  | -silent | --silent | --silen | --sile | --sil)
983    silent=yes ;;
984
985  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986    ac_prev=sbindir ;;
987  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988  | --sbi=* | --sb=*)
989    sbindir=$ac_optarg ;;
990
991  -sharedstatedir | --sharedstatedir | --sharedstatedi \
992  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
993  | --sharedst | --shareds | --shared | --share | --shar \
994  | --sha | --sh)
995    ac_prev=sharedstatedir ;;
996  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
997  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
998  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999  | --sha=* | --sh=*)
1000    sharedstatedir=$ac_optarg ;;
1001
1002  -site | --site | --sit)
1003    ac_prev=site ;;
1004  -site=* | --site=* | --sit=*)
1005    site=$ac_optarg ;;
1006
1007  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008    ac_prev=srcdir ;;
1009  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1010    srcdir=$ac_optarg ;;
1011
1012  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1013  | --syscon | --sysco | --sysc | --sys | --sy)
1014    ac_prev=sysconfdir ;;
1015  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1016  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1017    sysconfdir=$ac_optarg ;;
1018
1019  -target | --target | --targe | --targ | --tar | --ta | --t)
1020    ac_prev=target_alias ;;
1021  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1022    target_alias=$ac_optarg ;;
1023
1024  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025    verbose=yes ;;
1026
1027  -version | --version | --versio | --versi | --vers | -V)
1028    ac_init_version=: ;;
1029
1030  -with-* | --with-*)
1031    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032    # Reject names that are not valid shell variable names.
1033    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034      as_fn_error $? "invalid package name: $ac_useropt"
1035    ac_useropt_orig=$ac_useropt
1036    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037    case $ac_user_opts in
1038      *"
1039"with_$ac_useropt"
1040"*) ;;
1041      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1042	 ac_unrecognized_sep=', ';;
1043    esac
1044    eval with_$ac_useropt=\$ac_optarg ;;
1045
1046  -without-* | --without-*)
1047    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1048    # Reject names that are not valid shell variable names.
1049    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050      as_fn_error $? "invalid package name: $ac_useropt"
1051    ac_useropt_orig=$ac_useropt
1052    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053    case $ac_user_opts in
1054      *"
1055"with_$ac_useropt"
1056"*) ;;
1057      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1058	 ac_unrecognized_sep=', ';;
1059    esac
1060    eval with_$ac_useropt=no ;;
1061
1062  --x)
1063    # Obsolete; use --with-x.
1064    with_x=yes ;;
1065
1066  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1067  | --x-incl | --x-inc | --x-in | --x-i)
1068    ac_prev=x_includes ;;
1069  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1070  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1071    x_includes=$ac_optarg ;;
1072
1073  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1074  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1075    ac_prev=x_libraries ;;
1076  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1077  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1078    x_libraries=$ac_optarg ;;
1079
1080  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1081Try \`$0 --help' for more information"
1082    ;;
1083
1084  *=*)
1085    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1086    # Reject names that are not valid shell variable names.
1087    case $ac_envvar in #(
1088      '' | [0-9]* | *[!_$as_cr_alnum]* )
1089      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1090    esac
1091    eval $ac_envvar=\$ac_optarg
1092    export $ac_envvar ;;
1093
1094  *)
1095    # FIXME: should be removed in autoconf 3.0.
1096    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1097    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1098      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1099    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1100    ;;
1101
1102  esac
1103done
1104
1105if test -n "$ac_prev"; then
1106  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1107  as_fn_error $? "missing argument to $ac_option"
1108fi
1109
1110if test -n "$ac_unrecognized_opts"; then
1111  case $enable_option_checking in
1112    no) ;;
1113    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1114    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1115  esac
1116fi
1117
1118# Check all directory arguments for consistency.
1119for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1120		datadir sysconfdir sharedstatedir localstatedir includedir \
1121		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1122		libdir localedir mandir
1123do
1124  eval ac_val=\$$ac_var
1125  # Remove trailing slashes.
1126  case $ac_val in
1127    */ )
1128      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1129      eval $ac_var=\$ac_val;;
1130  esac
1131  # Be sure to have absolute directory names.
1132  case $ac_val in
1133    [\\/$]* | ?:[\\/]* )  continue;;
1134    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135  esac
1136  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1137done
1138
1139# There might be people who depend on the old broken behavior: `$host'
1140# used to hold the argument of --host etc.
1141# FIXME: To remove some day.
1142build=$build_alias
1143host=$host_alias
1144target=$target_alias
1145
1146# FIXME: To remove some day.
1147if test "x$host_alias" != x; then
1148  if test "x$build_alias" = x; then
1149    cross_compiling=maybe
1150  elif test "x$build_alias" != "x$host_alias"; then
1151    cross_compiling=yes
1152  fi
1153fi
1154
1155ac_tool_prefix=
1156test -n "$host_alias" && ac_tool_prefix=$host_alias-
1157
1158test "$silent" = yes && exec 6>/dev/null
1159
1160
1161ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162ac_ls_di=`ls -di .` &&
1163ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164  as_fn_error $? "working directory cannot be determined"
1165test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1166  as_fn_error $? "pwd does not report name of working directory"
1167
1168
1169# Find the source files, if location was not specified.
1170if test -z "$srcdir"; then
1171  ac_srcdir_defaulted=yes
1172  # Try the directory containing this script, then the parent directory.
1173  ac_confdir=`$as_dirname -- "$as_myself" ||
1174$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175	 X"$as_myself" : 'X\(//\)[^/]' \| \
1176	 X"$as_myself" : 'X\(//\)$' \| \
1177	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1178$as_echo X"$as_myself" |
1179    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180	    s//\1/
1181	    q
1182	  }
1183	  /^X\(\/\/\)[^/].*/{
1184	    s//\1/
1185	    q
1186	  }
1187	  /^X\(\/\/\)$/{
1188	    s//\1/
1189	    q
1190	  }
1191	  /^X\(\/\).*/{
1192	    s//\1/
1193	    q
1194	  }
1195	  s/.*/./; q'`
1196  srcdir=$ac_confdir
1197  if test ! -r "$srcdir/$ac_unique_file"; then
1198    srcdir=..
1199  fi
1200else
1201  ac_srcdir_defaulted=no
1202fi
1203if test ! -r "$srcdir/$ac_unique_file"; then
1204  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1206fi
1207ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208ac_abs_confdir=`(
1209	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1210	pwd)`
1211# When building in place, set srcdir=.
1212if test "$ac_abs_confdir" = "$ac_pwd"; then
1213  srcdir=.
1214fi
1215# Remove unnecessary trailing slashes from srcdir.
1216# Double slashes in file names in object file debugging info
1217# mess up M-x gdb in Emacs.
1218case $srcdir in
1219*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220esac
1221for ac_var in $ac_precious_vars; do
1222  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1223  eval ac_env_${ac_var}_value=\$${ac_var}
1224  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1225  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1226done
1227
1228#
1229# Report the --help message.
1230#
1231if test "$ac_init_help" = "long"; then
1232  # Omit some internal or obsolete options to make the list less imposing.
1233  # This message is too long to be a string in the A/UX 3.1 sh.
1234  cat <<_ACEOF
1235\`configure' configures mos_release version-0.3 to adapt to many kinds of systems.
1236
1237Usage: $0 [OPTION]... [VAR=VALUE]...
1238
1239To assign environment variables (e.g., CC, CFLAGS...), specify them as
1240VAR=VALUE.  See below for descriptions of some of the useful variables.
1241
1242Defaults for the options are specified in brackets.
1243
1244Configuration:
1245  -h, --help              display this help and exit
1246      --help=short        display options specific to this package
1247      --help=recursive    display the short help of all the included packages
1248  -V, --version           display version information and exit
1249  -q, --quiet, --silent   do not print \`checking ...' messages
1250      --cache-file=FILE   cache test results in FILE [disabled]
1251  -C, --config-cache      alias for \`--cache-file=config.cache'
1252  -n, --no-create         do not create output files
1253      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1254
1255Installation directories:
1256  --prefix=PREFIX         install architecture-independent files in PREFIX
1257                          [$ac_default_prefix]
1258  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1259                          [PREFIX]
1260
1261By default, \`make install' will install all the files in
1262\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1263an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1264for instance \`--prefix=\$HOME'.
1265
1266For better control, use the options below.
1267
1268Fine tuning of the installation directories:
1269  --bindir=DIR            user executables [EPREFIX/bin]
1270  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1271  --libexecdir=DIR        program executables [EPREFIX/libexec]
1272  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1273  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1274  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1275  --libdir=DIR            object code libraries [EPREFIX/lib]
1276  --includedir=DIR        C header files [PREFIX/include]
1277  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1278  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1279  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1280  --infodir=DIR           info documentation [DATAROOTDIR/info]
1281  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1282  --mandir=DIR            man documentation [DATAROOTDIR/man]
1283  --docdir=DIR            documentation root [DATAROOTDIR/doc/mos_release]
1284  --htmldir=DIR           html documentation [DOCDIR]
1285  --dvidir=DIR            dvi documentation [DOCDIR]
1286  --pdfdir=DIR            pdf documentation [DOCDIR]
1287  --psdir=DIR             ps documentation [DOCDIR]
1288_ACEOF
1289
1290  cat <<\_ACEOF
1291_ACEOF
1292fi
1293
1294if test -n "$ac_init_help"; then
1295  case $ac_init_help in
1296     short | recursive ) echo "Configuration of mos_release version-0.3:";;
1297   esac
1298  cat <<\_ACEOF
1299
1300Optional Features:
1301  --disable-option-checking  ignore unrecognized --enable/--with options
1302  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1303  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1304  --enable-dpdk           Enable dpdk-16.04
1305  --enable-netmap         Enable netmap
1306  --enable-psio           Enable packetshader I/O
1307
1308Some influential environment variables:
1309  CC          C compiler command
1310  CFLAGS      C compiler flags
1311  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1312              nonstandard directory <lib dir>
1313  LIBS        libraries to pass to the linker, e.g. -l<library>
1314  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1315              you have headers in a nonstandard directory <include dir>
1316  CPP         C preprocessor
1317
1318Use these variables to override the choices made by `configure' or to help
1319it to find libraries and programs with nonstandard names/locations.
1320
1321Report bugs to <[email protected]>.
1322_ACEOF
1323ac_status=$?
1324fi
1325
1326if test "$ac_init_help" = "recursive"; then
1327  # If there are subdirs, report their specific --help.
1328  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329    test -d "$ac_dir" ||
1330      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1331      continue
1332    ac_builddir=.
1333
1334case "$ac_dir" in
1335.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336*)
1337  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1338  # A ".." for each directory in $ac_dir_suffix.
1339  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1340  case $ac_top_builddir_sub in
1341  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343  esac ;;
1344esac
1345ac_abs_top_builddir=$ac_pwd
1346ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347# for backward compatibility:
1348ac_top_builddir=$ac_top_build_prefix
1349
1350case $srcdir in
1351  .)  # We are building in place.
1352    ac_srcdir=.
1353    ac_top_srcdir=$ac_top_builddir_sub
1354    ac_abs_top_srcdir=$ac_pwd ;;
1355  [\\/]* | ?:[\\/]* )  # Absolute name.
1356    ac_srcdir=$srcdir$ac_dir_suffix;
1357    ac_top_srcdir=$srcdir
1358    ac_abs_top_srcdir=$srcdir ;;
1359  *) # Relative name.
1360    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361    ac_top_srcdir=$ac_top_build_prefix$srcdir
1362    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363esac
1364ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365
1366    cd "$ac_dir" || { ac_status=$?; continue; }
1367    # Check for guested configure.
1368    if test -f "$ac_srcdir/configure.gnu"; then
1369      echo &&
1370      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371    elif test -f "$ac_srcdir/configure"; then
1372      echo &&
1373      $SHELL "$ac_srcdir/configure" --help=recursive
1374    else
1375      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376    fi || ac_status=$?
1377    cd "$ac_pwd" || { ac_status=$?; break; }
1378  done
1379fi
1380
1381test -n "$ac_init_help" && exit $ac_status
1382if $ac_init_version; then
1383  cat <<\_ACEOF
1384mos_release configure version-0.3
1385generated by GNU Autoconf 2.69
1386
1387Copyright (C) 2012 Free Software Foundation, Inc.
1388This configure script is free software; the Free Software Foundation
1389gives unlimited permission to copy, distribute and modify it.
1390_ACEOF
1391  exit
1392fi
1393
1394## ------------------------ ##
1395## Autoconf initialization. ##
1396## ------------------------ ##
1397
1398# ac_fn_c_try_compile LINENO
1399# --------------------------
1400# Try to compile conftest.$ac_ext, and return whether this succeeded.
1401ac_fn_c_try_compile ()
1402{
1403  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404  rm -f conftest.$ac_objext
1405  if { { ac_try="$ac_compile"
1406case "(($ac_try" in
1407  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1408  *) ac_try_echo=$ac_try;;
1409esac
1410eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1411$as_echo "$ac_try_echo"; } >&5
1412  (eval "$ac_compile") 2>conftest.err
1413  ac_status=$?
1414  if test -s conftest.err; then
1415    grep -v '^ *+' conftest.err >conftest.er1
1416    cat conftest.er1 >&5
1417    mv -f conftest.er1 conftest.err
1418  fi
1419  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1420  test $ac_status = 0; } && {
1421	 test -z "$ac_c_werror_flag" ||
1422	 test ! -s conftest.err
1423       } && test -s conftest.$ac_objext; then :
1424  ac_retval=0
1425else
1426  $as_echo "$as_me: failed program was:" >&5
1427sed 's/^/| /' conftest.$ac_ext >&5
1428
1429	ac_retval=1
1430fi
1431  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1432  as_fn_set_status $ac_retval
1433
1434} # ac_fn_c_try_compile
1435
1436# ac_fn_c_try_cpp LINENO
1437# ----------------------
1438# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1439ac_fn_c_try_cpp ()
1440{
1441  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442  if { { ac_try="$ac_cpp conftest.$ac_ext"
1443case "(($ac_try" in
1444  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1445  *) ac_try_echo=$ac_try;;
1446esac
1447eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448$as_echo "$ac_try_echo"; } >&5
1449  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1450  ac_status=$?
1451  if test -s conftest.err; then
1452    grep -v '^ *+' conftest.err >conftest.er1
1453    cat conftest.er1 >&5
1454    mv -f conftest.er1 conftest.err
1455  fi
1456  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457  test $ac_status = 0; } > conftest.i && {
1458	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1459	 test ! -s conftest.err
1460       }; then :
1461  ac_retval=0
1462else
1463  $as_echo "$as_me: failed program was:" >&5
1464sed 's/^/| /' conftest.$ac_ext >&5
1465
1466    ac_retval=1
1467fi
1468  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1469  as_fn_set_status $ac_retval
1470
1471} # ac_fn_c_try_cpp
1472
1473# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1474# -------------------------------------------------------
1475# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1476# the include files in INCLUDES and setting the cache variable VAR
1477# accordingly.
1478ac_fn_c_check_header_mongrel ()
1479{
1480  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481  if eval \${$3+:} false; then :
1482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1483$as_echo_n "checking for $2... " >&6; }
1484if eval \${$3+:} false; then :
1485  $as_echo_n "(cached) " >&6
1486fi
1487eval ac_res=\$$3
1488	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1489$as_echo "$ac_res" >&6; }
1490else
1491  # Is the header compilable?
1492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1493$as_echo_n "checking $2 usability... " >&6; }
1494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1495/* end confdefs.h.  */
1496$4
1497#include <$2>
1498_ACEOF
1499if ac_fn_c_try_compile "$LINENO"; then :
1500  ac_header_compiler=yes
1501else
1502  ac_header_compiler=no
1503fi
1504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1506$as_echo "$ac_header_compiler" >&6; }
1507
1508# Is the header present?
1509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1510$as_echo_n "checking $2 presence... " >&6; }
1511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1512/* end confdefs.h.  */
1513#include <$2>
1514_ACEOF
1515if ac_fn_c_try_cpp "$LINENO"; then :
1516  ac_header_preproc=yes
1517else
1518  ac_header_preproc=no
1519fi
1520rm -f conftest.err conftest.i conftest.$ac_ext
1521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1522$as_echo "$ac_header_preproc" >&6; }
1523
1524# So?  What about this header?
1525case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1526  yes:no: )
1527    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1528$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1529    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1530$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1531    ;;
1532  no:yes:* )
1533    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1534$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1535    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1536$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1537    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1538$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1539    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1540$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1541    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1542$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1543( $as_echo "## -------------------------------------- ##
1544## Report this to [email protected] ##
1545## -------------------------------------- ##"
1546     ) | sed "s/^/$as_me: WARNING:     /" >&2
1547    ;;
1548esac
1549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550$as_echo_n "checking for $2... " >&6; }
1551if eval \${$3+:} false; then :
1552  $as_echo_n "(cached) " >&6
1553else
1554  eval "$3=\$ac_header_compiler"
1555fi
1556eval ac_res=\$$3
1557	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558$as_echo "$ac_res" >&6; }
1559fi
1560  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561
1562} # ac_fn_c_check_header_mongrel
1563
1564# ac_fn_c_try_run LINENO
1565# ----------------------
1566# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1567# that executables *can* be run.
1568ac_fn_c_try_run ()
1569{
1570  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571  if { { ac_try="$ac_link"
1572case "(($ac_try" in
1573  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574  *) ac_try_echo=$ac_try;;
1575esac
1576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577$as_echo "$ac_try_echo"; } >&5
1578  (eval "$ac_link") 2>&5
1579  ac_status=$?
1580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1582  { { case "(($ac_try" in
1583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584  *) ac_try_echo=$ac_try;;
1585esac
1586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587$as_echo "$ac_try_echo"; } >&5
1588  (eval "$ac_try") 2>&5
1589  ac_status=$?
1590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591  test $ac_status = 0; }; }; then :
1592  ac_retval=0
1593else
1594  $as_echo "$as_me: program exited with status $ac_status" >&5
1595       $as_echo "$as_me: failed program was:" >&5
1596sed 's/^/| /' conftest.$ac_ext >&5
1597
1598       ac_retval=$ac_status
1599fi
1600  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1601  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602  as_fn_set_status $ac_retval
1603
1604} # ac_fn_c_try_run
1605
1606# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1607# -------------------------------------------------------
1608# Tests whether HEADER exists and can be compiled using the include files in
1609# INCLUDES, setting the cache variable VAR accordingly.
1610ac_fn_c_check_header_compile ()
1611{
1612  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614$as_echo_n "checking for $2... " >&6; }
1615if eval \${$3+:} false; then :
1616  $as_echo_n "(cached) " >&6
1617else
1618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1619/* end confdefs.h.  */
1620$4
1621#include <$2>
1622_ACEOF
1623if ac_fn_c_try_compile "$LINENO"; then :
1624  eval "$3=yes"
1625else
1626  eval "$3=no"
1627fi
1628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1629fi
1630eval ac_res=\$$3
1631	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632$as_echo "$ac_res" >&6; }
1633  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634
1635} # ac_fn_c_check_header_compile
1636
1637# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1638# -------------------------------------------
1639# Tests whether TYPE exists after having included INCLUDES, setting cache
1640# variable VAR accordingly.
1641ac_fn_c_check_type ()
1642{
1643  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645$as_echo_n "checking for $2... " >&6; }
1646if eval \${$3+:} false; then :
1647  $as_echo_n "(cached) " >&6
1648else
1649  eval "$3=no"
1650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651/* end confdefs.h.  */
1652$4
1653int
1654main ()
1655{
1656if (sizeof ($2))
1657	 return 0;
1658  ;
1659  return 0;
1660}
1661_ACEOF
1662if ac_fn_c_try_compile "$LINENO"; then :
1663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664/* end confdefs.h.  */
1665$4
1666int
1667main ()
1668{
1669if (sizeof (($2)))
1670	    return 0;
1671  ;
1672  return 0;
1673}
1674_ACEOF
1675if ac_fn_c_try_compile "$LINENO"; then :
1676
1677else
1678  eval "$3=yes"
1679fi
1680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681fi
1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683fi
1684eval ac_res=\$$3
1685	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686$as_echo "$ac_res" >&6; }
1687  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688
1689} # ac_fn_c_check_type
1690
1691# ac_fn_c_find_uintX_t LINENO BITS VAR
1692# ------------------------------------
1693# Finds an unsigned integer type with width BITS, setting cache variable VAR
1694# accordingly.
1695ac_fn_c_find_uintX_t ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1699$as_echo_n "checking for uint$2_t... " >&6; }
1700if eval \${$3+:} false; then :
1701  $as_echo_n "(cached) " >&6
1702else
1703  eval "$3=no"
1704     # Order is important - never check a type that is potentially smaller
1705     # than half of the expected target width.
1706     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1707	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709/* end confdefs.h.  */
1710$ac_includes_default
1711int
1712main ()
1713{
1714static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1715test_array [0] = 0;
1716return test_array [0];
1717
1718  ;
1719  return 0;
1720}
1721_ACEOF
1722if ac_fn_c_try_compile "$LINENO"; then :
1723  case $ac_type in #(
1724  uint$2_t) :
1725    eval "$3=yes" ;; #(
1726  *) :
1727    eval "$3=\$ac_type" ;;
1728esac
1729fi
1730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1731       if eval test \"x\$"$3"\" = x"no"; then :
1732
1733else
1734  break
1735fi
1736     done
1737fi
1738eval ac_res=\$$3
1739	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740$as_echo "$ac_res" >&6; }
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_c_find_uintX_t
1744
1745# ac_fn_c_try_link LINENO
1746# -----------------------
1747# Try to link conftest.$ac_ext, and return whether this succeeded.
1748ac_fn_c_try_link ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  rm -f conftest.$ac_objext conftest$ac_exeext
1752  if { { ac_try="$ac_link"
1753case "(($ac_try" in
1754  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755  *) ac_try_echo=$ac_try;;
1756esac
1757eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758$as_echo "$ac_try_echo"; } >&5
1759  (eval "$ac_link") 2>conftest.err
1760  ac_status=$?
1761  if test -s conftest.err; then
1762    grep -v '^ *+' conftest.err >conftest.er1
1763    cat conftest.er1 >&5
1764    mv -f conftest.er1 conftest.err
1765  fi
1766  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767  test $ac_status = 0; } && {
1768	 test -z "$ac_c_werror_flag" ||
1769	 test ! -s conftest.err
1770       } && test -s conftest$ac_exeext && {
1771	 test "$cross_compiling" = yes ||
1772	 test -x conftest$ac_exeext
1773       }; then :
1774  ac_retval=0
1775else
1776  $as_echo "$as_me: failed program was:" >&5
1777sed 's/^/| /' conftest.$ac_ext >&5
1778
1779	ac_retval=1
1780fi
1781  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1782  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1783  # interfere with the next link command; also delete a directory that is
1784  # left behind by Apple's compiler.  We do this before executing the actions.
1785  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787  as_fn_set_status $ac_retval
1788
1789} # ac_fn_c_try_link
1790
1791# ac_fn_c_check_func LINENO FUNC VAR
1792# ----------------------------------
1793# Tests whether FUNC exists, setting the cache variable VAR accordingly
1794ac_fn_c_check_func ()
1795{
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798$as_echo_n "checking for $2... " >&6; }
1799if eval \${$3+:} false; then :
1800  $as_echo_n "(cached) " >&6
1801else
1802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803/* end confdefs.h.  */
1804/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1805   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1806#define $2 innocuous_$2
1807
1808/* System header to define __stub macros and hopefully few prototypes,
1809    which can conflict with char $2 (); below.
1810    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1811    <limits.h> exists even on freestanding compilers.  */
1812
1813#ifdef __STDC__
1814# include <limits.h>
1815#else
1816# include <assert.h>
1817#endif
1818
1819#undef $2
1820
1821/* Override any GCC internal prototype to avoid an error.
1822   Use char because int might match the return type of a GCC
1823   builtin and then its argument prototype would still apply.  */
1824#ifdef __cplusplus
1825extern "C"
1826#endif
1827char $2 ();
1828/* The GNU C library defines this for functions which it implements
1829    to always fail with ENOSYS.  Some functions are actually named
1830    something starting with __ and the normal name is an alias.  */
1831#if defined __stub_$2 || defined __stub___$2
1832choke me
1833#endif
1834
1835int
1836main ()
1837{
1838return $2 ();
1839  ;
1840  return 0;
1841}
1842_ACEOF
1843if ac_fn_c_try_link "$LINENO"; then :
1844  eval "$3=yes"
1845else
1846  eval "$3=no"
1847fi
1848rm -f core conftest.err conftest.$ac_objext \
1849    conftest$ac_exeext conftest.$ac_ext
1850fi
1851eval ac_res=\$$3
1852	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853$as_echo "$ac_res" >&6; }
1854  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855
1856} # ac_fn_c_check_func
1857cat >config.log <<_ACEOF
1858This file contains any messages produced by compilers while
1859running configure, to aid debugging if configure makes a mistake.
1860
1861It was created by mos_release $as_me version-0.3, which was
1862generated by GNU Autoconf 2.69.  Invocation command line was
1863
1864  $ $0 $@
1865
1866_ACEOF
1867exec 5>>config.log
1868{
1869cat <<_ASUNAME
1870## --------- ##
1871## Platform. ##
1872## --------- ##
1873
1874hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1875uname -m = `(uname -m) 2>/dev/null || echo unknown`
1876uname -r = `(uname -r) 2>/dev/null || echo unknown`
1877uname -s = `(uname -s) 2>/dev/null || echo unknown`
1878uname -v = `(uname -v) 2>/dev/null || echo unknown`
1879
1880/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1881/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1882
1883/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1884/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1885/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1886/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1887/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1888/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1889/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1890
1891_ASUNAME
1892
1893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894for as_dir in $PATH
1895do
1896  IFS=$as_save_IFS
1897  test -z "$as_dir" && as_dir=.
1898    $as_echo "PATH: $as_dir"
1899  done
1900IFS=$as_save_IFS
1901
1902} >&5
1903
1904cat >&5 <<_ACEOF
1905
1906
1907## ----------- ##
1908## Core tests. ##
1909## ----------- ##
1910
1911_ACEOF
1912
1913
1914# Keep a trace of the command line.
1915# Strip out --no-create and --no-recursion so they do not pile up.
1916# Strip out --silent because we don't want to record it for future runs.
1917# Also quote any args containing shell meta-characters.
1918# Make two passes to allow for proper duplicate-argument suppression.
1919ac_configure_args=
1920ac_configure_args0=
1921ac_configure_args1=
1922ac_must_keep_next=false
1923for ac_pass in 1 2
1924do
1925  for ac_arg
1926  do
1927    case $ac_arg in
1928    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1929    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1930    | -silent | --silent | --silen | --sile | --sil)
1931      continue ;;
1932    *\'*)
1933      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1934    esac
1935    case $ac_pass in
1936    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1937    2)
1938      as_fn_append ac_configure_args1 " '$ac_arg'"
1939      if test $ac_must_keep_next = true; then
1940	ac_must_keep_next=false # Got value, back to normal.
1941      else
1942	case $ac_arg in
1943	  *=* | --config-cache | -C | -disable-* | --disable-* \
1944	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1945	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1946	  | -with-* | --with-* | -without-* | --without-* | --x)
1947	    case "$ac_configure_args0 " in
1948	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1949	    esac
1950	    ;;
1951	  -* ) ac_must_keep_next=true ;;
1952	esac
1953      fi
1954      as_fn_append ac_configure_args " '$ac_arg'"
1955      ;;
1956    esac
1957  done
1958done
1959{ ac_configure_args0=; unset ac_configure_args0;}
1960{ ac_configure_args1=; unset ac_configure_args1;}
1961
1962# When interrupted or exit'd, cleanup temporary files, and complete
1963# config.log.  We remove comments because anyway the quotes in there
1964# would cause problems or look ugly.
1965# WARNING: Use '\'' to represent an apostrophe within the trap.
1966# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1967trap 'exit_status=$?
1968  # Save into config.log some information that might help in debugging.
1969  {
1970    echo
1971
1972    $as_echo "## ---------------- ##
1973## Cache variables. ##
1974## ---------------- ##"
1975    echo
1976    # The following way of writing the cache mishandles newlines in values,
1977(
1978  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1979    eval ac_val=\$$ac_var
1980    case $ac_val in #(
1981    *${as_nl}*)
1982      case $ac_var in #(
1983      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1984$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1985      esac
1986      case $ac_var in #(
1987      _ | IFS | as_nl) ;; #(
1988      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1989      *) { eval $ac_var=; unset $ac_var;} ;;
1990      esac ;;
1991    esac
1992  done
1993  (set) 2>&1 |
1994    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1995    *${as_nl}ac_space=\ *)
1996      sed -n \
1997	"s/'\''/'\''\\\\'\'''\''/g;
1998	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1999      ;; #(
2000    *)
2001      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2002      ;;
2003    esac |
2004    sort
2005)
2006    echo
2007
2008    $as_echo "## ----------------- ##
2009## Output variables. ##
2010## ----------------- ##"
2011    echo
2012    for ac_var in $ac_subst_vars
2013    do
2014      eval ac_val=\$$ac_var
2015      case $ac_val in
2016      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2017      esac
2018      $as_echo "$ac_var='\''$ac_val'\''"
2019    done | sort
2020    echo
2021
2022    if test -n "$ac_subst_files"; then
2023      $as_echo "## ------------------- ##
2024## File substitutions. ##
2025## ------------------- ##"
2026      echo
2027      for ac_var in $ac_subst_files
2028      do
2029	eval ac_val=\$$ac_var
2030	case $ac_val in
2031	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032	esac
2033	$as_echo "$ac_var='\''$ac_val'\''"
2034      done | sort
2035      echo
2036    fi
2037
2038    if test -s confdefs.h; then
2039      $as_echo "## ----------- ##
2040## confdefs.h. ##
2041## ----------- ##"
2042      echo
2043      cat confdefs.h
2044      echo
2045    fi
2046    test "$ac_signal" != 0 &&
2047      $as_echo "$as_me: caught signal $ac_signal"
2048    $as_echo "$as_me: exit $exit_status"
2049  } >&5
2050  rm -f core *.core core.conftest.* &&
2051    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2052    exit $exit_status
2053' 0
2054for ac_signal in 1 2 13 15; do
2055  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2056done
2057ac_signal=0
2058
2059# confdefs.h avoids OS command line length limits that DEFS can exceed.
2060rm -f -r conftest* confdefs.h
2061
2062$as_echo "/* confdefs.h */" > confdefs.h
2063
2064# Predefined preprocessor variables.
2065
2066cat >>confdefs.h <<_ACEOF
2067#define PACKAGE_NAME "$PACKAGE_NAME"
2068_ACEOF
2069
2070cat >>confdefs.h <<_ACEOF
2071#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2072_ACEOF
2073
2074cat >>confdefs.h <<_ACEOF
2075#define PACKAGE_VERSION "$PACKAGE_VERSION"
2076_ACEOF
2077
2078cat >>confdefs.h <<_ACEOF
2079#define PACKAGE_STRING "$PACKAGE_STRING"
2080_ACEOF
2081
2082cat >>confdefs.h <<_ACEOF
2083#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2084_ACEOF
2085
2086cat >>confdefs.h <<_ACEOF
2087#define PACKAGE_URL "$PACKAGE_URL"
2088_ACEOF
2089
2090
2091# Let the site file select an alternate cache file if it wants to.
2092# Prefer an explicitly selected file to automatically selected ones.
2093ac_site_file1=NONE
2094ac_site_file2=NONE
2095if test -n "$CONFIG_SITE"; then
2096  # We do not want a PATH search for config.site.
2097  case $CONFIG_SITE in #((
2098    -*)  ac_site_file1=./$CONFIG_SITE;;
2099    */*) ac_site_file1=$CONFIG_SITE;;
2100    *)   ac_site_file1=./$CONFIG_SITE;;
2101  esac
2102elif test "x$prefix" != xNONE; then
2103  ac_site_file1=$prefix/share/config.site
2104  ac_site_file2=$prefix/etc/config.site
2105else
2106  ac_site_file1=$ac_default_prefix/share/config.site
2107  ac_site_file2=$ac_default_prefix/etc/config.site
2108fi
2109for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2110do
2111  test "x$ac_site_file" = xNONE && continue
2112  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2113    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2114$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2115    sed 's/^/| /' "$ac_site_file" >&5
2116    . "$ac_site_file" \
2117      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2118$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2119as_fn_error $? "failed to load site script $ac_site_file
2120See \`config.log' for more details" "$LINENO" 5; }
2121  fi
2122done
2123
2124if test -r "$cache_file"; then
2125  # Some versions of bash will fail to source /dev/null (special files
2126  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2127  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2128    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2129$as_echo "$as_me: loading cache $cache_file" >&6;}
2130    case $cache_file in
2131      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2132      *)                      . "./$cache_file";;
2133    esac
2134  fi
2135else
2136  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2137$as_echo "$as_me: creating cache $cache_file" >&6;}
2138  >$cache_file
2139fi
2140
2141# Check that the precious variables saved in the cache have kept the same
2142# value.
2143ac_cache_corrupted=false
2144for ac_var in $ac_precious_vars; do
2145  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2146  eval ac_new_set=\$ac_env_${ac_var}_set
2147  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2148  eval ac_new_val=\$ac_env_${ac_var}_value
2149  case $ac_old_set,$ac_new_set in
2150    set,)
2151      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2152$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2153      ac_cache_corrupted=: ;;
2154    ,set)
2155      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2156$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2157      ac_cache_corrupted=: ;;
2158    ,);;
2159    *)
2160      if test "x$ac_old_val" != "x$ac_new_val"; then
2161	# differences in whitespace do not lead to failure.
2162	ac_old_val_w=`echo x $ac_old_val`
2163	ac_new_val_w=`echo x $ac_new_val`
2164	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2165	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2166$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2167	  ac_cache_corrupted=:
2168	else
2169	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2170$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2171	  eval $ac_var=\$ac_old_val
2172	fi
2173	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2174$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2175	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2176$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2177      fi;;
2178  esac
2179  # Pass precious variables to config.status.
2180  if test "$ac_new_set" = set; then
2181    case $ac_new_val in
2182    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2183    *) ac_arg=$ac_var=$ac_new_val ;;
2184    esac
2185    case " $ac_configure_args " in
2186      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2187      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2188    esac
2189  fi
2190done
2191if $ac_cache_corrupted; then
2192  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2195$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2196  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2197fi
2198## -------------------- ##
2199## Main body of script. ##
2200## -------------------- ##
2201
2202ac_ext=c
2203ac_cpp='$CPP $CPPFLAGS'
2204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206ac_compiler_gnu=$ac_cv_c_compiler_gnu
2207
2208
2209
2210# Check for cc
2211ac_ext=c
2212ac_cpp='$CPP $CPPFLAGS'
2213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2215ac_compiler_gnu=$ac_cv_c_compiler_gnu
2216if test -n "$ac_tool_prefix"; then
2217  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2218set dummy ${ac_tool_prefix}gcc; ac_word=$2
2219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2220$as_echo_n "checking for $ac_word... " >&6; }
2221if ${ac_cv_prog_CC+:} false; then :
2222  $as_echo_n "(cached) " >&6
2223else
2224  if test -n "$CC"; then
2225  ac_cv_prog_CC="$CC" # Let the user override the test.
2226else
2227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228for as_dir in $PATH
2229do
2230  IFS=$as_save_IFS
2231  test -z "$as_dir" && as_dir=.
2232    for ac_exec_ext in '' $ac_executable_extensions; do
2233  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2234    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2235    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2236    break 2
2237  fi
2238done
2239  done
2240IFS=$as_save_IFS
2241
2242fi
2243fi
2244CC=$ac_cv_prog_CC
2245if test -n "$CC"; then
2246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2247$as_echo "$CC" >&6; }
2248else
2249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2250$as_echo "no" >&6; }
2251fi
2252
2253
2254fi
2255if test -z "$ac_cv_prog_CC"; then
2256  ac_ct_CC=$CC
2257  # Extract the first word of "gcc", so it can be a program name with args.
2258set dummy gcc; ac_word=$2
2259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2260$as_echo_n "checking for $ac_word... " >&6; }
2261if ${ac_cv_prog_ac_ct_CC+:} false; then :
2262  $as_echo_n "(cached) " >&6
2263else
2264  if test -n "$ac_ct_CC"; then
2265  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2266else
2267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268for as_dir in $PATH
2269do
2270  IFS=$as_save_IFS
2271  test -z "$as_dir" && as_dir=.
2272    for ac_exec_ext in '' $ac_executable_extensions; do
2273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274    ac_cv_prog_ac_ct_CC="gcc"
2275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2276    break 2
2277  fi
2278done
2279  done
2280IFS=$as_save_IFS
2281
2282fi
2283fi
2284ac_ct_CC=$ac_cv_prog_ac_ct_CC
2285if test -n "$ac_ct_CC"; then
2286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2287$as_echo "$ac_ct_CC" >&6; }
2288else
2289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290$as_echo "no" >&6; }
2291fi
2292
2293  if test "x$ac_ct_CC" = x; then
2294    CC=""
2295  else
2296    case $cross_compiling:$ac_tool_warned in
2297yes:)
2298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2300ac_tool_warned=yes ;;
2301esac
2302    CC=$ac_ct_CC
2303  fi
2304else
2305  CC="$ac_cv_prog_CC"
2306fi
2307
2308if test -z "$CC"; then
2309          if test -n "$ac_tool_prefix"; then
2310    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2311set dummy ${ac_tool_prefix}cc; ac_word=$2
2312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313$as_echo_n "checking for $ac_word... " >&6; }
2314if ${ac_cv_prog_CC+:} false; then :
2315  $as_echo_n "(cached) " >&6
2316else
2317  if test -n "$CC"; then
2318  ac_cv_prog_CC="$CC" # Let the user override the test.
2319else
2320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321for as_dir in $PATH
2322do
2323  IFS=$as_save_IFS
2324  test -z "$as_dir" && as_dir=.
2325    for ac_exec_ext in '' $ac_executable_extensions; do
2326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2327    ac_cv_prog_CC="${ac_tool_prefix}cc"
2328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2329    break 2
2330  fi
2331done
2332  done
2333IFS=$as_save_IFS
2334
2335fi
2336fi
2337CC=$ac_cv_prog_CC
2338if test -n "$CC"; then
2339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2340$as_echo "$CC" >&6; }
2341else
2342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2343$as_echo "no" >&6; }
2344fi
2345
2346
2347  fi
2348fi
2349if test -z "$CC"; then
2350  # Extract the first word of "cc", so it can be a program name with args.
2351set dummy cc; ac_word=$2
2352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353$as_echo_n "checking for $ac_word... " >&6; }
2354if ${ac_cv_prog_CC+:} false; then :
2355  $as_echo_n "(cached) " >&6
2356else
2357  if test -n "$CC"; then
2358  ac_cv_prog_CC="$CC" # Let the user override the test.
2359else
2360  ac_prog_rejected=no
2361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362for as_dir in $PATH
2363do
2364  IFS=$as_save_IFS
2365  test -z "$as_dir" && as_dir=.
2366    for ac_exec_ext in '' $ac_executable_extensions; do
2367  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2369       ac_prog_rejected=yes
2370       continue
2371     fi
2372    ac_cv_prog_CC="cc"
2373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2374    break 2
2375  fi
2376done
2377  done
2378IFS=$as_save_IFS
2379
2380if test $ac_prog_rejected = yes; then
2381  # We found a bogon in the path, so make sure we never use it.
2382  set dummy $ac_cv_prog_CC
2383  shift
2384  if test $# != 0; then
2385    # We chose a different compiler from the bogus one.
2386    # However, it has the same basename, so the bogon will be chosen
2387    # first if we set CC to just the basename; use the full file name.
2388    shift
2389    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2390  fi
2391fi
2392fi
2393fi
2394CC=$ac_cv_prog_CC
2395if test -n "$CC"; then
2396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2397$as_echo "$CC" >&6; }
2398else
2399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2400$as_echo "no" >&6; }
2401fi
2402
2403
2404fi
2405if test -z "$CC"; then
2406  if test -n "$ac_tool_prefix"; then
2407  for ac_prog in cl.exe
2408  do
2409    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2410set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2412$as_echo_n "checking for $ac_word... " >&6; }
2413if ${ac_cv_prog_CC+:} false; then :
2414  $as_echo_n "(cached) " >&6
2415else
2416  if test -n "$CC"; then
2417  ac_cv_prog_CC="$CC" # Let the user override the test.
2418else
2419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420for as_dir in $PATH
2421do
2422  IFS=$as_save_IFS
2423  test -z "$as_dir" && as_dir=.
2424    for ac_exec_ext in '' $ac_executable_extensions; do
2425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2426    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2428    break 2
2429  fi
2430done
2431  done
2432IFS=$as_save_IFS
2433
2434fi
2435fi
2436CC=$ac_cv_prog_CC
2437if test -n "$CC"; then
2438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2439$as_echo "$CC" >&6; }
2440else
2441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442$as_echo "no" >&6; }
2443fi
2444
2445
2446    test -n "$CC" && break
2447  done
2448fi
2449if test -z "$CC"; then
2450  ac_ct_CC=$CC
2451  for ac_prog in cl.exe
2452do
2453  # Extract the first word of "$ac_prog", so it can be a program name with args.
2454set dummy $ac_prog; ac_word=$2
2455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2456$as_echo_n "checking for $ac_word... " >&6; }
2457if ${ac_cv_prog_ac_ct_CC+:} false; then :
2458  $as_echo_n "(cached) " >&6
2459else
2460  if test -n "$ac_ct_CC"; then
2461  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2462else
2463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464for as_dir in $PATH
2465do
2466  IFS=$as_save_IFS
2467  test -z "$as_dir" && as_dir=.
2468    for ac_exec_ext in '' $ac_executable_extensions; do
2469  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2470    ac_cv_prog_ac_ct_CC="$ac_prog"
2471    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2472    break 2
2473  fi
2474done
2475  done
2476IFS=$as_save_IFS
2477
2478fi
2479fi
2480ac_ct_CC=$ac_cv_prog_ac_ct_CC
2481if test -n "$ac_ct_CC"; then
2482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2483$as_echo "$ac_ct_CC" >&6; }
2484else
2485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486$as_echo "no" >&6; }
2487fi
2488
2489
2490  test -n "$ac_ct_CC" && break
2491done
2492
2493  if test "x$ac_ct_CC" = x; then
2494    CC=""
2495  else
2496    case $cross_compiling:$ac_tool_warned in
2497yes:)
2498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2500ac_tool_warned=yes ;;
2501esac
2502    CC=$ac_ct_CC
2503  fi
2504fi
2505
2506fi
2507
2508
2509test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511as_fn_error $? "no acceptable C compiler found in \$PATH
2512See \`config.log' for more details" "$LINENO" 5; }
2513
2514# Provide some information about the compiler.
2515$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2516set X $ac_compile
2517ac_compiler=$2
2518for ac_option in --version -v -V -qversion; do
2519  { { ac_try="$ac_compiler $ac_option >&5"
2520case "(($ac_try" in
2521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522  *) ac_try_echo=$ac_try;;
2523esac
2524eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525$as_echo "$ac_try_echo"; } >&5
2526  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2527  ac_status=$?
2528  if test -s conftest.err; then
2529    sed '10a\
2530... rest of stderr output deleted ...
2531         10q' conftest.err >conftest.er1
2532    cat conftest.er1 >&5
2533  fi
2534  rm -f conftest.er1 conftest.err
2535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536  test $ac_status = 0; }
2537done
2538
2539cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540/* end confdefs.h.  */
2541
2542int
2543main ()
2544{
2545
2546  ;
2547  return 0;
2548}
2549_ACEOF
2550ac_clean_files_save=$ac_clean_files
2551ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2552# Try to create an executable without -o first, disregard a.out.
2553# It will help us diagnose broken compilers, and finding out an intuition
2554# of exeext.
2555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2556$as_echo_n "checking whether the C compiler works... " >&6; }
2557ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2558
2559# The possible output files:
2560ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2561
2562ac_rmfiles=
2563for ac_file in $ac_files
2564do
2565  case $ac_file in
2566    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2567    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2568  esac
2569done
2570rm -f $ac_rmfiles
2571
2572if { { ac_try="$ac_link_default"
2573case "(($ac_try" in
2574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575  *) ac_try_echo=$ac_try;;
2576esac
2577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578$as_echo "$ac_try_echo"; } >&5
2579  (eval "$ac_link_default") 2>&5
2580  ac_status=$?
2581  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582  test $ac_status = 0; }; then :
2583  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2584# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2585# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2586# so that the user can short-circuit this test for compilers unknown to
2587# Autoconf.
2588for ac_file in $ac_files ''
2589do
2590  test -f "$ac_file" || continue
2591  case $ac_file in
2592    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2593	;;
2594    [ab].out )
2595	# We found the default executable, but exeext='' is most
2596	# certainly right.
2597	break;;
2598    *.* )
2599	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2600	then :; else
2601	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2602	fi
2603	# We set ac_cv_exeext here because the later test for it is not
2604	# safe: cross compilers may not add the suffix if given an `-o'
2605	# argument, so we may need to know it at that point already.
2606	# Even if this section looks crufty: it has the advantage of
2607	# actually working.
2608	break;;
2609    * )
2610	break;;
2611  esac
2612done
2613test "$ac_cv_exeext" = no && ac_cv_exeext=
2614
2615else
2616  ac_file=''
2617fi
2618if test -z "$ac_file"; then :
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620$as_echo "no" >&6; }
2621$as_echo "$as_me: failed program was:" >&5
2622sed 's/^/| /' conftest.$ac_ext >&5
2623
2624{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2625$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2626as_fn_error 77 "C compiler cannot create executables
2627See \`config.log' for more details" "$LINENO" 5; }
2628else
2629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2630$as_echo "yes" >&6; }
2631fi
2632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2633$as_echo_n "checking for C compiler default output file name... " >&6; }
2634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2635$as_echo "$ac_file" >&6; }
2636ac_exeext=$ac_cv_exeext
2637
2638rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2639ac_clean_files=$ac_clean_files_save
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2641$as_echo_n "checking for suffix of executables... " >&6; }
2642if { { ac_try="$ac_link"
2643case "(($ac_try" in
2644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645  *) ac_try_echo=$ac_try;;
2646esac
2647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648$as_echo "$ac_try_echo"; } >&5
2649  (eval "$ac_link") 2>&5
2650  ac_status=$?
2651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652  test $ac_status = 0; }; then :
2653  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2654# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2655# work properly (i.e., refer to `conftest.exe'), while it won't with
2656# `rm'.
2657for ac_file in conftest.exe conftest conftest.*; do
2658  test -f "$ac_file" || continue
2659  case $ac_file in
2660    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2661    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2662	  break;;
2663    * ) break;;
2664  esac
2665done
2666else
2667  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2670See \`config.log' for more details" "$LINENO" 5; }
2671fi
2672rm -f conftest conftest$ac_cv_exeext
2673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2674$as_echo "$ac_cv_exeext" >&6; }
2675
2676rm -f conftest.$ac_ext
2677EXEEXT=$ac_cv_exeext
2678ac_exeext=$EXEEXT
2679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680/* end confdefs.h.  */
2681#include <stdio.h>
2682int
2683main ()
2684{
2685FILE *f = fopen ("conftest.out", "w");
2686 return ferror (f) || fclose (f) != 0;
2687
2688  ;
2689  return 0;
2690}
2691_ACEOF
2692ac_clean_files="$ac_clean_files conftest.out"
2693# Check that the compiler produces executables we can run.  If not, either
2694# the compiler is broken, or we cross compile.
2695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2696$as_echo_n "checking whether we are cross compiling... " >&6; }
2697if test "$cross_compiling" != yes; then
2698  { { ac_try="$ac_link"
2699case "(($ac_try" in
2700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701  *) ac_try_echo=$ac_try;;
2702esac
2703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2704$as_echo "$ac_try_echo"; } >&5
2705  (eval "$ac_link") 2>&5
2706  ac_status=$?
2707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2708  test $ac_status = 0; }
2709  if { ac_try='./conftest$ac_cv_exeext'
2710  { { case "(($ac_try" in
2711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712  *) ac_try_echo=$ac_try;;
2713esac
2714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715$as_echo "$ac_try_echo"; } >&5
2716  (eval "$ac_try") 2>&5
2717  ac_status=$?
2718  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719  test $ac_status = 0; }; }; then
2720    cross_compiling=no
2721  else
2722    if test "$cross_compiling" = maybe; then
2723	cross_compiling=yes
2724    else
2725	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2726$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2727as_fn_error $? "cannot run C compiled programs.
2728If you meant to cross compile, use \`--host'.
2729See \`config.log' for more details" "$LINENO" 5; }
2730    fi
2731  fi
2732fi
2733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2734$as_echo "$cross_compiling" >&6; }
2735
2736rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2737ac_clean_files=$ac_clean_files_save
2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2739$as_echo_n "checking for suffix of object files... " >&6; }
2740if ${ac_cv_objext+:} false; then :
2741  $as_echo_n "(cached) " >&6
2742else
2743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744/* end confdefs.h.  */
2745
2746int
2747main ()
2748{
2749
2750  ;
2751  return 0;
2752}
2753_ACEOF
2754rm -f conftest.o conftest.obj
2755if { { ac_try="$ac_compile"
2756case "(($ac_try" in
2757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758  *) ac_try_echo=$ac_try;;
2759esac
2760eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761$as_echo "$ac_try_echo"; } >&5
2762  (eval "$ac_compile") 2>&5
2763  ac_status=$?
2764  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765  test $ac_status = 0; }; then :
2766  for ac_file in conftest.o conftest.obj conftest.*; do
2767  test -f "$ac_file" || continue;
2768  case $ac_file in
2769    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2770    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2771       break;;
2772  esac
2773done
2774else
2775  $as_echo "$as_me: failed program was:" >&5
2776sed 's/^/| /' conftest.$ac_ext >&5
2777
2778{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2779$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2780as_fn_error $? "cannot compute suffix of object files: cannot compile
2781See \`config.log' for more details" "$LINENO" 5; }
2782fi
2783rm -f conftest.$ac_cv_objext conftest.$ac_ext
2784fi
2785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2786$as_echo "$ac_cv_objext" >&6; }
2787OBJEXT=$ac_cv_objext
2788ac_objext=$OBJEXT
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2790$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2791if ${ac_cv_c_compiler_gnu+:} false; then :
2792  $as_echo_n "(cached) " >&6
2793else
2794  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795/* end confdefs.h.  */
2796
2797int
2798main ()
2799{
2800#ifndef __GNUC__
2801       choke me
2802#endif
2803
2804  ;
2805  return 0;
2806}
2807_ACEOF
2808if ac_fn_c_try_compile "$LINENO"; then :
2809  ac_compiler_gnu=yes
2810else
2811  ac_compiler_gnu=no
2812fi
2813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814ac_cv_c_compiler_gnu=$ac_compiler_gnu
2815
2816fi
2817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2818$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2819if test $ac_compiler_gnu = yes; then
2820  GCC=yes
2821else
2822  GCC=
2823fi
2824ac_test_CFLAGS=${CFLAGS+set}
2825ac_save_CFLAGS=$CFLAGS
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2827$as_echo_n "checking whether $CC accepts -g... " >&6; }
2828if ${ac_cv_prog_cc_g+:} false; then :
2829  $as_echo_n "(cached) " >&6
2830else
2831  ac_save_c_werror_flag=$ac_c_werror_flag
2832   ac_c_werror_flag=yes
2833   ac_cv_prog_cc_g=no
2834   CFLAGS="-g"
2835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836/* end confdefs.h.  */
2837
2838int
2839main ()
2840{
2841
2842  ;
2843  return 0;
2844}
2845_ACEOF
2846if ac_fn_c_try_compile "$LINENO"; then :
2847  ac_cv_prog_cc_g=yes
2848else
2849  CFLAGS=""
2850      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851/* end confdefs.h.  */
2852
2853int
2854main ()
2855{
2856
2857  ;
2858  return 0;
2859}
2860_ACEOF
2861if ac_fn_c_try_compile "$LINENO"; then :
2862
2863else
2864  ac_c_werror_flag=$ac_save_c_werror_flag
2865	 CFLAGS="-g"
2866	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867/* end confdefs.h.  */
2868
2869int
2870main ()
2871{
2872
2873  ;
2874  return 0;
2875}
2876_ACEOF
2877if ac_fn_c_try_compile "$LINENO"; then :
2878  ac_cv_prog_cc_g=yes
2879fi
2880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881fi
2882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883fi
2884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2885   ac_c_werror_flag=$ac_save_c_werror_flag
2886fi
2887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2888$as_echo "$ac_cv_prog_cc_g" >&6; }
2889if test "$ac_test_CFLAGS" = set; then
2890  CFLAGS=$ac_save_CFLAGS
2891elif test $ac_cv_prog_cc_g = yes; then
2892  if test "$GCC" = yes; then
2893    CFLAGS="-g -O2"
2894  else
2895    CFLAGS="-g"
2896  fi
2897else
2898  if test "$GCC" = yes; then
2899    CFLAGS="-O2"
2900  else
2901    CFLAGS=
2902  fi
2903fi
2904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2905$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2906if ${ac_cv_prog_cc_c89+:} false; then :
2907  $as_echo_n "(cached) " >&6
2908else
2909  ac_cv_prog_cc_c89=no
2910ac_save_CC=$CC
2911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912/* end confdefs.h.  */
2913#include <stdarg.h>
2914#include <stdio.h>
2915struct stat;
2916/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2917struct buf { int x; };
2918FILE * (*rcsopen) (struct buf *, struct stat *, int);
2919static char *e (p, i)
2920     char **p;
2921     int i;
2922{
2923  return p[i];
2924}
2925static char *f (char * (*g) (char **, int), char **p, ...)
2926{
2927  char *s;
2928  va_list v;
2929  va_start (v,p);
2930  s = g (p, va_arg (v,int));
2931  va_end (v);
2932  return s;
2933}
2934
2935/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2936   function prototypes and stuff, but not '\xHH' hex character constants.
2937   These don't provoke an error unfortunately, instead are silently treated
2938   as 'x'.  The following induces an error, until -std is added to get
2939   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2940   array size at least.  It's necessary to write '\x00'==0 to get something
2941   that's true only with -std.  */
2942int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2943
2944/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2945   inside strings and character constants.  */
2946#define FOO(x) 'x'
2947int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2948
2949int test (int i, double x);
2950struct s1 {int (*f) (int a);};
2951struct s2 {int (*f) (double a);};
2952int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2953int argc;
2954char **argv;
2955int
2956main ()
2957{
2958return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2959  ;
2960  return 0;
2961}
2962_ACEOF
2963for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2964	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2965do
2966  CC="$ac_save_CC $ac_arg"
2967  if ac_fn_c_try_compile "$LINENO"; then :
2968  ac_cv_prog_cc_c89=$ac_arg
2969fi
2970rm -f core conftest.err conftest.$ac_objext
2971  test "x$ac_cv_prog_cc_c89" != "xno" && break
2972done
2973rm -f conftest.$ac_ext
2974CC=$ac_save_CC
2975
2976fi
2977# AC_CACHE_VAL
2978case "x$ac_cv_prog_cc_c89" in
2979  x)
2980    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2981$as_echo "none needed" >&6; } ;;
2982  xno)
2983    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2984$as_echo "unsupported" >&6; } ;;
2985  *)
2986    CC="$CC $ac_cv_prog_cc_c89"
2987    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2988$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2989esac
2990if test "x$ac_cv_prog_cc_c89" != xno; then :
2991
2992fi
2993
2994ac_ext=c
2995ac_cpp='$CPP $CPPFLAGS'
2996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998ac_compiler_gnu=$ac_cv_c_compiler_gnu
2999
3000#AC_PROG_INSTALL
3001if test -n "$ac_tool_prefix"; then
3002  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3003set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005$as_echo_n "checking for $ac_word... " >&6; }
3006if ${ac_cv_prog_RANLIB+:} false; then :
3007  $as_echo_n "(cached) " >&6
3008else
3009  if test -n "$RANLIB"; then
3010  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3011else
3012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013for as_dir in $PATH
3014do
3015  IFS=$as_save_IFS
3016  test -z "$as_dir" && as_dir=.
3017    for ac_exec_ext in '' $ac_executable_extensions; do
3018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3019    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021    break 2
3022  fi
3023done
3024  done
3025IFS=$as_save_IFS
3026
3027fi
3028fi
3029RANLIB=$ac_cv_prog_RANLIB
3030if test -n "$RANLIB"; then
3031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3032$as_echo "$RANLIB" >&6; }
3033else
3034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035$as_echo "no" >&6; }
3036fi
3037
3038
3039fi
3040if test -z "$ac_cv_prog_RANLIB"; then
3041  ac_ct_RANLIB=$RANLIB
3042  # Extract the first word of "ranlib", so it can be a program name with args.
3043set dummy ranlib; ac_word=$2
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045$as_echo_n "checking for $ac_word... " >&6; }
3046if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3047  $as_echo_n "(cached) " >&6
3048else
3049  if test -n "$ac_ct_RANLIB"; then
3050  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3051else
3052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053for as_dir in $PATH
3054do
3055  IFS=$as_save_IFS
3056  test -z "$as_dir" && as_dir=.
3057    for ac_exec_ext in '' $ac_executable_extensions; do
3058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059    ac_cv_prog_ac_ct_RANLIB="ranlib"
3060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061    break 2
3062  fi
3063done
3064  done
3065IFS=$as_save_IFS
3066
3067fi
3068fi
3069ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3070if test -n "$ac_ct_RANLIB"; then
3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3072$as_echo "$ac_ct_RANLIB" >&6; }
3073else
3074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075$as_echo "no" >&6; }
3076fi
3077
3078  if test "x$ac_ct_RANLIB" = x; then
3079    RANLIB=":"
3080  else
3081    case $cross_compiling:$ac_tool_warned in
3082yes:)
3083{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3084$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3085ac_tool_warned=yes ;;
3086esac
3087    RANLIB=$ac_ct_RANLIB
3088  fi
3089else
3090  RANLIB="$ac_cv_prog_RANLIB"
3091fi
3092
3093#LT_INIT
3094
3095#AC_PROG_LIBTOOL
3096ac_ext=c
3097ac_cpp='$CPP $CPPFLAGS'
3098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100ac_compiler_gnu=$ac_cv_c_compiler_gnu
3101
3102
3103
3104
3105# Check for scheduling
3106
3107ac_ext=c
3108ac_cpp='$CPP $CPPFLAGS'
3109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111ac_compiler_gnu=$ac_cv_c_compiler_gnu
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3113$as_echo_n "checking how to run the C preprocessor... " >&6; }
3114# On Suns, sometimes $CPP names a directory.
3115if test -n "$CPP" && test -d "$CPP"; then
3116  CPP=
3117fi
3118if test -z "$CPP"; then
3119  if ${ac_cv_prog_CPP+:} false; then :
3120  $as_echo_n "(cached) " >&6
3121else
3122      # Double quotes because CPP needs to be expanded
3123    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3124    do
3125      ac_preproc_ok=false
3126for ac_c_preproc_warn_flag in '' yes
3127do
3128  # Use a header file that comes with gcc, so configuring glibc
3129  # with a fresh cross-compiler works.
3130  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3131  # <limits.h> exists even on freestanding compilers.
3132  # On the NeXT, cc -E runs the code through the compiler's parser,
3133  # not just through cpp. "Syntax error" is here to catch this case.
3134  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135/* end confdefs.h.  */
3136#ifdef __STDC__
3137# include <limits.h>
3138#else
3139# include <assert.h>
3140#endif
3141		     Syntax error
3142_ACEOF
3143if ac_fn_c_try_cpp "$LINENO"; then :
3144
3145else
3146  # Broken: fails on valid input.
3147continue
3148fi
3149rm -f conftest.err conftest.i conftest.$ac_ext
3150
3151  # OK, works on sane cases.  Now check whether nonexistent headers
3152  # can be detected and how.
3153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154/* end confdefs.h.  */
3155#include <ac_nonexistent.h>
3156_ACEOF
3157if ac_fn_c_try_cpp "$LINENO"; then :
3158  # Broken: success on invalid input.
3159continue
3160else
3161  # Passes both tests.
3162ac_preproc_ok=:
3163break
3164fi
3165rm -f conftest.err conftest.i conftest.$ac_ext
3166
3167done
3168# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3169rm -f conftest.i conftest.err conftest.$ac_ext
3170if $ac_preproc_ok; then :
3171  break
3172fi
3173
3174    done
3175    ac_cv_prog_CPP=$CPP
3176
3177fi
3178  CPP=$ac_cv_prog_CPP
3179else
3180  ac_cv_prog_CPP=$CPP
3181fi
3182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3183$as_echo "$CPP" >&6; }
3184ac_preproc_ok=false
3185for ac_c_preproc_warn_flag in '' yes
3186do
3187  # Use a header file that comes with gcc, so configuring glibc
3188  # with a fresh cross-compiler works.
3189  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3190  # <limits.h> exists even on freestanding compilers.
3191  # On the NeXT, cc -E runs the code through the compiler's parser,
3192  # not just through cpp. "Syntax error" is here to catch this case.
3193  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194/* end confdefs.h.  */
3195#ifdef __STDC__
3196# include <limits.h>
3197#else
3198# include <assert.h>
3199#endif
3200		     Syntax error
3201_ACEOF
3202if ac_fn_c_try_cpp "$LINENO"; then :
3203
3204else
3205  # Broken: fails on valid input.
3206continue
3207fi
3208rm -f conftest.err conftest.i conftest.$ac_ext
3209
3210  # OK, works on sane cases.  Now check whether nonexistent headers
3211  # can be detected and how.
3212  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213/* end confdefs.h.  */
3214#include <ac_nonexistent.h>
3215_ACEOF
3216if ac_fn_c_try_cpp "$LINENO"; then :
3217  # Broken: success on invalid input.
3218continue
3219else
3220  # Passes both tests.
3221ac_preproc_ok=:
3222break
3223fi
3224rm -f conftest.err conftest.i conftest.$ac_ext
3225
3226done
3227# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3228rm -f conftest.i conftest.err conftest.$ac_ext
3229if $ac_preproc_ok; then :
3230
3231else
3232  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3235See \`config.log' for more details" "$LINENO" 5; }
3236fi
3237
3238ac_ext=c
3239ac_cpp='$CPP $CPPFLAGS'
3240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243
3244
3245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3246$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3247if ${ac_cv_path_GREP+:} false; then :
3248  $as_echo_n "(cached) " >&6
3249else
3250  if test -z "$GREP"; then
3251  ac_path_GREP_found=false
3252  # Loop through the user's path and test for each of PROGNAME-LIST
3253  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3255do
3256  IFS=$as_save_IFS
3257  test -z "$as_dir" && as_dir=.
3258    for ac_prog in grep ggrep; do
3259    for ac_exec_ext in '' $ac_executable_extensions; do
3260      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3261      as_fn_executable_p "$ac_path_GREP" || continue
3262# Check for GNU ac_path_GREP and select it if it is found.
3263  # Check for GNU $ac_path_GREP
3264case `"$ac_path_GREP" --version 2>&1` in
3265*GNU*)
3266  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3267*)
3268  ac_count=0
3269  $as_echo_n 0123456789 >"conftest.in"
3270  while :
3271  do
3272    cat "conftest.in" "conftest.in" >"conftest.tmp"
3273    mv "conftest.tmp" "conftest.in"
3274    cp "conftest.in" "conftest.nl"
3275    $as_echo 'GREP' >> "conftest.nl"
3276    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3277    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3278    as_fn_arith $ac_count + 1 && ac_count=$as_val
3279    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3280      # Best one so far, save it but keep looking for a better one
3281      ac_cv_path_GREP="$ac_path_GREP"
3282      ac_path_GREP_max=$ac_count
3283    fi
3284    # 10*(2^10) chars as input seems more than enough
3285    test $ac_count -gt 10 && break
3286  done
3287  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3288esac
3289
3290      $ac_path_GREP_found && break 3
3291    done
3292  done
3293  done
3294IFS=$as_save_IFS
3295  if test -z "$ac_cv_path_GREP"; then
3296    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3297  fi
3298else
3299  ac_cv_path_GREP=$GREP
3300fi
3301
3302fi
3303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3304$as_echo "$ac_cv_path_GREP" >&6; }
3305 GREP="$ac_cv_path_GREP"
3306
3307
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3309$as_echo_n "checking for egrep... " >&6; }
3310if ${ac_cv_path_EGREP+:} false; then :
3311  $as_echo_n "(cached) " >&6
3312else
3313  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3314   then ac_cv_path_EGREP="$GREP -E"
3315   else
3316     if test -z "$EGREP"; then
3317  ac_path_EGREP_found=false
3318  # Loop through the user's path and test for each of PROGNAME-LIST
3319  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3321do
3322  IFS=$as_save_IFS
3323  test -z "$as_dir" && as_dir=.
3324    for ac_prog in egrep; do
3325    for ac_exec_ext in '' $ac_executable_extensions; do
3326      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3327      as_fn_executable_p "$ac_path_EGREP" || continue
3328# Check for GNU ac_path_EGREP and select it if it is found.
3329  # Check for GNU $ac_path_EGREP
3330case `"$ac_path_EGREP" --version 2>&1` in
3331*GNU*)
3332  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3333*)
3334  ac_count=0
3335  $as_echo_n 0123456789 >"conftest.in"
3336  while :
3337  do
3338    cat "conftest.in" "conftest.in" >"conftest.tmp"
3339    mv "conftest.tmp" "conftest.in"
3340    cp "conftest.in" "conftest.nl"
3341    $as_echo 'EGREP' >> "conftest.nl"
3342    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3343    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3344    as_fn_arith $ac_count + 1 && ac_count=$as_val
3345    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3346      # Best one so far, save it but keep looking for a better one
3347      ac_cv_path_EGREP="$ac_path_EGREP"
3348      ac_path_EGREP_max=$ac_count
3349    fi
3350    # 10*(2^10) chars as input seems more than enough
3351    test $ac_count -gt 10 && break
3352  done
3353  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3354esac
3355
3356      $ac_path_EGREP_found && break 3
3357    done
3358  done
3359  done
3360IFS=$as_save_IFS
3361  if test -z "$ac_cv_path_EGREP"; then
3362    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3363  fi
3364else
3365  ac_cv_path_EGREP=$EGREP
3366fi
3367
3368   fi
3369fi
3370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3371$as_echo "$ac_cv_path_EGREP" >&6; }
3372 EGREP="$ac_cv_path_EGREP"
3373
3374
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3376$as_echo_n "checking for ANSI C header files... " >&6; }
3377if ${ac_cv_header_stdc+:} false; then :
3378  $as_echo_n "(cached) " >&6
3379else
3380  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381/* end confdefs.h.  */
3382#include <stdlib.h>
3383#include <stdarg.h>
3384#include <string.h>
3385#include <float.h>
3386
3387int
3388main ()
3389{
3390
3391  ;
3392  return 0;
3393}
3394_ACEOF
3395if ac_fn_c_try_compile "$LINENO"; then :
3396  ac_cv_header_stdc=yes
3397else
3398  ac_cv_header_stdc=no
3399fi
3400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401
3402if test $ac_cv_header_stdc = yes; then
3403  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3404  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405/* end confdefs.h.  */
3406#include <string.h>
3407
3408_ACEOF
3409if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3410  $EGREP "memchr" >/dev/null 2>&1; then :
3411
3412else
3413  ac_cv_header_stdc=no
3414fi
3415rm -f conftest*
3416
3417fi
3418
3419if test $ac_cv_header_stdc = yes; then
3420  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422/* end confdefs.h.  */
3423#include <stdlib.h>
3424
3425_ACEOF
3426if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3427  $EGREP "free" >/dev/null 2>&1; then :
3428
3429else
3430  ac_cv_header_stdc=no
3431fi
3432rm -f conftest*
3433
3434fi
3435
3436if test $ac_cv_header_stdc = yes; then
3437  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3438  if test "$cross_compiling" = yes; then :
3439  :
3440else
3441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442/* end confdefs.h.  */
3443#include <ctype.h>
3444#include <stdlib.h>
3445#if ((' ' & 0x0FF) == 0x020)
3446# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3447# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3448#else
3449# define ISLOWER(c) \
3450		   (('a' <= (c) && (c) <= 'i') \
3451		     || ('j' <= (c) && (c) <= 'r') \
3452		     || ('s' <= (c) && (c) <= 'z'))
3453# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3454#endif
3455
3456#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3457int
3458main ()
3459{
3460  int i;
3461  for (i = 0; i < 256; i++)
3462    if (XOR (islower (i), ISLOWER (i))
3463	|| toupper (i) != TOUPPER (i))
3464      return 2;
3465  return 0;
3466}
3467_ACEOF
3468if ac_fn_c_try_run "$LINENO"; then :
3469
3470else
3471  ac_cv_header_stdc=no
3472fi
3473rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3474  conftest.$ac_objext conftest.beam conftest.$ac_ext
3475fi
3476
3477fi
3478fi
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3480$as_echo "$ac_cv_header_stdc" >&6; }
3481if test $ac_cv_header_stdc = yes; then
3482
3483$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3484
3485fi
3486
3487# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3488for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3489		  inttypes.h stdint.h unistd.h
3490do :
3491  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3492ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3493"
3494if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3495  cat >>confdefs.h <<_ACEOF
3496#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3497_ACEOF
3498
3499fi
3500
3501done
3502
3503
3504ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
3505if test "x$ac_cv_header_linux_sched_h" = xyes; then :
3506
3507fi
3508
3509
3510# Check for pthreads
3511ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3512if test "x$ac_cv_header_pthread_h" = xyes; then :
3513
3514fi
3515
3516
3517# Check for numa
3518ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default"
3519if test "x$ac_cv_header_numa_h" = xyes; then :
3520
3521fi
3522
3523
3524for 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
3525do :
3526  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3527ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3528if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3529  cat >>confdefs.h <<_ACEOF
3530#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3531_ACEOF
3532
3533fi
3534
3535done
3536
3537
3538# Check for typedefs, structures, and compiler characteristics
3539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3540$as_echo_n "checking for inline... " >&6; }
3541if ${ac_cv_c_inline+:} false; then :
3542  $as_echo_n "(cached) " >&6
3543else
3544  ac_cv_c_inline=no
3545for ac_kw in inline __inline__ __inline; do
3546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547/* end confdefs.h.  */
3548#ifndef __cplusplus
3549typedef int foo_t;
3550static $ac_kw foo_t static_foo () {return 0; }
3551$ac_kw foo_t foo () {return 0; }
3552#endif
3553
3554_ACEOF
3555if ac_fn_c_try_compile "$LINENO"; then :
3556  ac_cv_c_inline=$ac_kw
3557fi
3558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559  test "$ac_cv_c_inline" != no && break
3560done
3561
3562fi
3563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3564$as_echo "$ac_cv_c_inline" >&6; }
3565
3566case $ac_cv_c_inline in
3567  inline | yes) ;;
3568  *)
3569    case $ac_cv_c_inline in
3570      no) ac_val=;;
3571      *) ac_val=$ac_cv_c_inline;;
3572    esac
3573    cat >>confdefs.h <<_ACEOF
3574#ifndef __cplusplus
3575#define inline $ac_val
3576#endif
3577_ACEOF
3578    ;;
3579esac
3580
3581ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
3582if test "x$ac_cv_type_off_t" = xyes; then :
3583
3584else
3585
3586cat >>confdefs.h <<_ACEOF
3587#define off_t long int
3588_ACEOF
3589
3590fi
3591
3592ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3593if test "x$ac_cv_type_size_t" = xyes; then :
3594
3595else
3596
3597cat >>confdefs.h <<_ACEOF
3598#define size_t unsigned int
3599_ACEOF
3600
3601fi
3602
3603ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
3604if test "x$ac_cv_type_ssize_t" = xyes; then :
3605
3606else
3607
3608cat >>confdefs.h <<_ACEOF
3609#define ssize_t int
3610_ACEOF
3611
3612fi
3613
3614ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
3615case $ac_cv_c_uint16_t in #(
3616  no|yes) ;; #(
3617  *)
3618
3619
3620cat >>confdefs.h <<_ACEOF
3621#define uint16_t $ac_cv_c_uint16_t
3622_ACEOF
3623;;
3624  esac
3625
3626ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
3627case $ac_cv_c_uint32_t in #(
3628  no|yes) ;; #(
3629  *)
3630
3631$as_echo "#define _UINT32_T 1" >>confdefs.h
3632
3633
3634cat >>confdefs.h <<_ACEOF
3635#define uint32_t $ac_cv_c_uint32_t
3636_ACEOF
3637;;
3638  esac
3639
3640ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
3641case $ac_cv_c_uint8_t in #(
3642  no|yes) ;; #(
3643  *)
3644
3645$as_echo "#define _UINT8_T 1" >>confdefs.h
3646
3647
3648cat >>confdefs.h <<_ACEOF
3649#define uint8_t $ac_cv_c_uint8_t
3650_ACEOF
3651;;
3652  esac
3653
3654
3655# Checks for library functions.
3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
3657$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
3658if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
3659  $as_echo_n "(cached) " >&6
3660else
3661  rm -f conftest.sym conftest.file
3662echo >conftest.file
3663if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
3664  if test "$cross_compiling" = yes; then :
3665  ac_cv_func_lstat_dereferences_slashed_symlink=no
3666else
3667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668/* end confdefs.h.  */
3669$ac_includes_default
3670int
3671main ()
3672{
3673struct stat sbuf;
3674     /* Linux will dereference the symlink and fail, as required by POSIX.
3675	That is better in the sense that it means we will not
3676	have to compile and use the lstat wrapper.  */
3677     return lstat ("conftest.sym/", &sbuf) == 0;
3678  ;
3679  return 0;
3680}
3681_ACEOF
3682if ac_fn_c_try_run "$LINENO"; then :
3683  ac_cv_func_lstat_dereferences_slashed_symlink=yes
3684else
3685  ac_cv_func_lstat_dereferences_slashed_symlink=no
3686fi
3687rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3688  conftest.$ac_objext conftest.beam conftest.$ac_ext
3689fi
3690
3691else
3692  # If the `ln -s' command failed, then we probably don't even
3693  # have an lstat function.
3694  ac_cv_func_lstat_dereferences_slashed_symlink=no
3695fi
3696rm -f conftest.sym conftest.file
3697
3698fi
3699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
3700$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
3701
3702test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
3703
3704cat >>confdefs.h <<_ACEOF
3705#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
3706_ACEOF
3707
3708
3709if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
3710  case " $LIBOBJS " in
3711  *" lstat.$ac_objext "* ) ;;
3712  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
3713 ;;
3714esac
3715
3716fi
3717
3718for ac_header in stdlib.h
3719do :
3720  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
3721if test "x$ac_cv_header_stdlib_h" = xyes; then :
3722  cat >>confdefs.h <<_ACEOF
3723#define HAVE_STDLIB_H 1
3724_ACEOF
3725
3726fi
3727
3728done
3729
3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
3731$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
3732if ${ac_cv_func_malloc_0_nonnull+:} false; then :
3733  $as_echo_n "(cached) " >&6
3734else
3735  if test "$cross_compiling" = yes; then :
3736  ac_cv_func_malloc_0_nonnull=no
3737else
3738  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739/* end confdefs.h.  */
3740#if defined STDC_HEADERS || defined HAVE_STDLIB_H
3741# include <stdlib.h>
3742#else
3743char *malloc ();
3744#endif
3745
3746int
3747main ()
3748{
3749return ! malloc (0);
3750  ;
3751  return 0;
3752}
3753_ACEOF
3754if ac_fn_c_try_run "$LINENO"; then :
3755  ac_cv_func_malloc_0_nonnull=yes
3756else
3757  ac_cv_func_malloc_0_nonnull=no
3758fi
3759rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3760  conftest.$ac_objext conftest.beam conftest.$ac_ext
3761fi
3762
3763fi
3764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
3765$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
3766if test $ac_cv_func_malloc_0_nonnull = yes; then :
3767
3768$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
3769
3770else
3771  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
3772
3773   case " $LIBOBJS " in
3774  *" malloc.$ac_objext "* ) ;;
3775  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
3776 ;;
3777esac
3778
3779
3780$as_echo "#define malloc rpl_malloc" >>confdefs.h
3781
3782fi
3783
3784
3785for ac_func in ftruncate gettimeofday memset strcasecmp strchr strpbrk strrchr strstr
3786do :
3787  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3788ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3789if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3790  cat >>confdefs.h <<_ACEOF
3791#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3792_ACEOF
3793
3794fi
3795done
3796
3797
3798# Reset DPDK to 0
3799DPDK=0
3800
3801# Reset PSIO to 0
3802PSIO=0
3803
3804# Reset Netmap to 0
3805NETMAP=0
3806
3807
3808# Enable dpdk
3809# Check whether --enable-dpdk was given.
3810if test "${enable_dpdk+set}" = set; then :
3811  enableval=$enable_dpdk;
3812fi
3813
3814
3815if test "x$enable_dpdk" = "xyes"; then :
3816
3817	       	 DPDK=1
3818
3819
3820fi
3821
3822# Enable netmap
3823# Check whether --enable-netmap was given.
3824if test "${enable_netmap+set}" = set; then :
3825  enableval=$enable_netmap;
3826fi
3827
3828
3829if test "x$enable_netmap" = "xyes"; then :
3830
3831	       	 NETMAP=1
3832
3833
3834fi
3835
3836# Enable psio
3837# Check whether --enable-psio was given.
3838if test "${enable_psio+set}" = set; then :
3839  enableval=$enable_psio;
3840fi
3841
3842
3843if test "x$enable_psio" = "xyes"; then :
3844
3845	       	 PSIO=1
3846
3847
3848fi
3849
3850if test "$DPDK" == "0" && test "$PSIO" == "0" && test "$NETMAP" == "0"
3851then
3852        as_fn_error $? "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!" "$LINENO" 5
3853fi
3854
3855ac_config_files="$ac_config_files ../core/src/Makefile"
3856
3857cat >confcache <<\_ACEOF
3858# This file is a shell script that caches the results of configure
3859# tests run on this system so they can be shared between configure
3860# scripts and configure runs, see configure's option --config-cache.
3861# It is not useful on other systems.  If it contains results you don't
3862# want to keep, you may remove or edit it.
3863#
3864# config.status only pays attention to the cache file if you give it
3865# the --recheck option to rerun configure.
3866#
3867# `ac_cv_env_foo' variables (set or unset) will be overridden when
3868# loading this file, other *unset* `ac_cv_foo' will be assigned the
3869# following values.
3870
3871_ACEOF
3872
3873# The following way of writing the cache mishandles newlines in values,
3874# but we know of no workaround that is simple, portable, and efficient.
3875# So, we kill variables containing newlines.
3876# Ultrix sh set writes to stderr and can't be redirected directly,
3877# and sets the high bit in the cache file unless we assign to the vars.
3878(
3879  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3880    eval ac_val=\$$ac_var
3881    case $ac_val in #(
3882    *${as_nl}*)
3883      case $ac_var in #(
3884      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3885$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3886      esac
3887      case $ac_var in #(
3888      _ | IFS | as_nl) ;; #(
3889      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3890      *) { eval $ac_var=; unset $ac_var;} ;;
3891      esac ;;
3892    esac
3893  done
3894
3895  (set) 2>&1 |
3896    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3897    *${as_nl}ac_space=\ *)
3898      # `set' does not quote correctly, so add quotes: double-quote
3899      # substitution turns \\\\ into \\, and sed turns \\ into \.
3900      sed -n \
3901	"s/'/'\\\\''/g;
3902	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3903      ;; #(
3904    *)
3905      # `set' quotes correctly as required by POSIX, so do not add quotes.
3906      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3907      ;;
3908    esac |
3909    sort
3910) |
3911  sed '
3912     /^ac_cv_env_/b end
3913     t clear
3914     :clear
3915     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3916     t end
3917     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3918     :end' >>confcache
3919if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3920  if test -w "$cache_file"; then
3921    if test "x$cache_file" != "x/dev/null"; then
3922      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3923$as_echo "$as_me: updating cache $cache_file" >&6;}
3924      if test ! -f "$cache_file" || test -h "$cache_file"; then
3925	cat confcache >"$cache_file"
3926      else
3927        case $cache_file in #(
3928        */* | ?:*)
3929	  mv -f confcache "$cache_file"$$ &&
3930	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3931        *)
3932	  mv -f confcache "$cache_file" ;;
3933	esac
3934      fi
3935    fi
3936  else
3937    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3938$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3939  fi
3940fi
3941rm -f confcache
3942
3943test "x$prefix" = xNONE && prefix=$ac_default_prefix
3944# Let make expand exec_prefix.
3945test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3946
3947# Transform confdefs.h into DEFS.
3948# Protect against shell expansion while executing Makefile rules.
3949# Protect against Makefile macro expansion.
3950#
3951# If the first sed substitution is executed (which looks for macros that
3952# take arguments), then branch to the quote section.  Otherwise,
3953# look for a macro that doesn't take arguments.
3954ac_script='
3955:mline
3956/\\$/{
3957 N
3958 s,\\\n,,
3959 b mline
3960}
3961t clear
3962:clear
3963s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3964t quote
3965s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3966t quote
3967b any
3968:quote
3969s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3970s/\[/\\&/g
3971s/\]/\\&/g
3972s/\$/$$/g
3973H
3974:any
3975${
3976	g
3977	s/^\n//
3978	s/\n/ /g
3979	p
3980}
3981'
3982DEFS=`sed -n "$ac_script" confdefs.h`
3983
3984
3985ac_libobjs=
3986ac_ltlibobjs=
3987U=
3988for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3989  # 1. Remove the extension, and $U if already installed.
3990  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3991  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3992  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3993  #    will be set to the directory where LIBOBJS objects are built.
3994  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3995  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3996done
3997LIBOBJS=$ac_libobjs
3998
3999LTLIBOBJS=$ac_ltlibobjs
4000
4001
4002
4003: "${CONFIG_STATUS=./config.status}"
4004ac_write_fail=0
4005ac_clean_files_save=$ac_clean_files
4006ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4007{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4008$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4009as_write_fail=0
4010cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4011#! $SHELL
4012# Generated by $as_me.
4013# Run this file to recreate the current configuration.
4014# Compiler output produced by configure, useful for debugging
4015# configure, is in config.log if it exists.
4016
4017debug=false
4018ac_cs_recheck=false
4019ac_cs_silent=false
4020
4021SHELL=\${CONFIG_SHELL-$SHELL}
4022export SHELL
4023_ASEOF
4024cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4025## -------------------- ##
4026## M4sh Initialization. ##
4027## -------------------- ##
4028
4029# Be more Bourne compatible
4030DUALCASE=1; export DUALCASE # for MKS sh
4031if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4032  emulate sh
4033  NULLCMD=:
4034  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4035  # is contrary to our usage.  Disable this feature.
4036  alias -g '${1+"$@"}'='"$@"'
4037  setopt NO_GLOB_SUBST
4038else
4039  case `(set -o) 2>/dev/null` in #(
4040  *posix*) :
4041    set -o posix ;; #(
4042  *) :
4043     ;;
4044esac
4045fi
4046
4047
4048as_nl='
4049'
4050export as_nl
4051# Printing a long string crashes Solaris 7 /usr/bin/printf.
4052as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4053as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4054as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4055# Prefer a ksh shell builtin over an external printf program on Solaris,
4056# but without wasting forks for bash or zsh.
4057if test -z "$BASH_VERSION$ZSH_VERSION" \
4058    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4059  as_echo='print -r --'
4060  as_echo_n='print -rn --'
4061elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4062  as_echo='printf %s\n'
4063  as_echo_n='printf %s'
4064else
4065  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4066    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4067    as_echo_n='/usr/ucb/echo -n'
4068  else
4069    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4070    as_echo_n_body='eval
4071      arg=$1;
4072      case $arg in #(
4073      *"$as_nl"*)
4074	expr "X$arg" : "X\\(.*\\)$as_nl";
4075	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4076      esac;
4077      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4078    '
4079    export as_echo_n_body
4080    as_echo_n='sh -c $as_echo_n_body as_echo'
4081  fi
4082  export as_echo_body
4083  as_echo='sh -c $as_echo_body as_echo'
4084fi
4085
4086# The user is always right.
4087if test "${PATH_SEPARATOR+set}" != set; then
4088  PATH_SEPARATOR=:
4089  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4090    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4091      PATH_SEPARATOR=';'
4092  }
4093fi
4094
4095
4096# IFS
4097# We need space, tab and new line, in precisely that order.  Quoting is
4098# there to prevent editors from complaining about space-tab.
4099# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4100# splitting by setting IFS to empty value.)
4101IFS=" ""	$as_nl"
4102
4103# Find who we are.  Look in the path if we contain no directory separator.
4104as_myself=
4105case $0 in #((
4106  *[\\/]* ) as_myself=$0 ;;
4107  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108for as_dir in $PATH
4109do
4110  IFS=$as_save_IFS
4111  test -z "$as_dir" && as_dir=.
4112    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4113  done
4114IFS=$as_save_IFS
4115
4116     ;;
4117esac
4118# We did not find ourselves, most probably we were run as `sh COMMAND'
4119# in which case we are not to be found in the path.
4120if test "x$as_myself" = x; then
4121  as_myself=$0
4122fi
4123if test ! -f "$as_myself"; then
4124  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4125  exit 1
4126fi
4127
4128# Unset variables that we do not need and which cause bugs (e.g. in
4129# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4130# suppresses any "Segmentation fault" message there.  '((' could
4131# trigger a bug in pdksh 5.2.14.
4132for as_var in BASH_ENV ENV MAIL MAILPATH
4133do eval test x\${$as_var+set} = xset \
4134  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4135done
4136PS1='$ '
4137PS2='> '
4138PS4='+ '
4139
4140# NLS nuisances.
4141LC_ALL=C
4142export LC_ALL
4143LANGUAGE=C
4144export LANGUAGE
4145
4146# CDPATH.
4147(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4148
4149
4150# as_fn_error STATUS ERROR [LINENO LOG_FD]
4151# ----------------------------------------
4152# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4153# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4154# script with STATUS, using 1 if that was 0.
4155as_fn_error ()
4156{
4157  as_status=$1; test $as_status -eq 0 && as_status=1
4158  if test "$4"; then
4159    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4160    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4161  fi
4162  $as_echo "$as_me: error: $2" >&2
4163  as_fn_exit $as_status
4164} # as_fn_error
4165
4166
4167# as_fn_set_status STATUS
4168# -----------------------
4169# Set $? to STATUS, without forking.
4170as_fn_set_status ()
4171{
4172  return $1
4173} # as_fn_set_status
4174
4175# as_fn_exit STATUS
4176# -----------------
4177# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4178as_fn_exit ()
4179{
4180  set +e
4181  as_fn_set_status $1
4182  exit $1
4183} # as_fn_exit
4184
4185# as_fn_unset VAR
4186# ---------------
4187# Portably unset VAR.
4188as_fn_unset ()
4189{
4190  { eval $1=; unset $1;}
4191}
4192as_unset=as_fn_unset
4193# as_fn_append VAR VALUE
4194# ----------------------
4195# Append the text in VALUE to the end of the definition contained in VAR. Take
4196# advantage of any shell optimizations that allow amortized linear growth over
4197# repeated appends, instead of the typical quadratic growth present in naive
4198# implementations.
4199if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4200  eval 'as_fn_append ()
4201  {
4202    eval $1+=\$2
4203  }'
4204else
4205  as_fn_append ()
4206  {
4207    eval $1=\$$1\$2
4208  }
4209fi # as_fn_append
4210
4211# as_fn_arith ARG...
4212# ------------------
4213# Perform arithmetic evaluation on the ARGs, and store the result in the
4214# global $as_val. Take advantage of shells that can avoid forks. The arguments
4215# must be portable across $(()) and expr.
4216if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4217  eval 'as_fn_arith ()
4218  {
4219    as_val=$(( $* ))
4220  }'
4221else
4222  as_fn_arith ()
4223  {
4224    as_val=`expr "$@" || test $? -eq 1`
4225  }
4226fi # as_fn_arith
4227
4228
4229if expr a : '\(a\)' >/dev/null 2>&1 &&
4230   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4231  as_expr=expr
4232else
4233  as_expr=false
4234fi
4235
4236if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4237  as_basename=basename
4238else
4239  as_basename=false
4240fi
4241
4242if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4243  as_dirname=dirname
4244else
4245  as_dirname=false
4246fi
4247
4248as_me=`$as_basename -- "$0" ||
4249$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4250	 X"$0" : 'X\(//\)$' \| \
4251	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4252$as_echo X/"$0" |
4253    sed '/^.*\/\([^/][^/]*\)\/*$/{
4254	    s//\1/
4255	    q
4256	  }
4257	  /^X\/\(\/\/\)$/{
4258	    s//\1/
4259	    q
4260	  }
4261	  /^X\/\(\/\).*/{
4262	    s//\1/
4263	    q
4264	  }
4265	  s/.*/./; q'`
4266
4267# Avoid depending upon Character Ranges.
4268as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4269as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4270as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4271as_cr_digits='0123456789'
4272as_cr_alnum=$as_cr_Letters$as_cr_digits
4273
4274ECHO_C= ECHO_N= ECHO_T=
4275case `echo -n x` in #(((((
4276-n*)
4277  case `echo 'xy\c'` in
4278  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4279  xy)  ECHO_C='\c';;
4280  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4281       ECHO_T='	';;
4282  esac;;
4283*)
4284  ECHO_N='-n';;
4285esac
4286
4287rm -f conf$$ conf$$.exe conf$$.file
4288if test -d conf$$.dir; then
4289  rm -f conf$$.dir/conf$$.file
4290else
4291  rm -f conf$$.dir
4292  mkdir conf$$.dir 2>/dev/null
4293fi
4294if (echo >conf$$.file) 2>/dev/null; then
4295  if ln -s conf$$.file conf$$ 2>/dev/null; then
4296    as_ln_s='ln -s'
4297    # ... but there are two gotchas:
4298    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4299    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4300    # In both cases, we have to default to `cp -pR'.
4301    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4302      as_ln_s='cp -pR'
4303  elif ln conf$$.file conf$$ 2>/dev/null; then
4304    as_ln_s=ln
4305  else
4306    as_ln_s='cp -pR'
4307  fi
4308else
4309  as_ln_s='cp -pR'
4310fi
4311rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4312rmdir conf$$.dir 2>/dev/null
4313
4314
4315# as_fn_mkdir_p
4316# -------------
4317# Create "$as_dir" as a directory, including parents if necessary.
4318as_fn_mkdir_p ()
4319{
4320
4321  case $as_dir in #(
4322  -*) as_dir=./$as_dir;;
4323  esac
4324  test -d "$as_dir" || eval $as_mkdir_p || {
4325    as_dirs=
4326    while :; do
4327      case $as_dir in #(
4328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4329      *) as_qdir=$as_dir;;
4330      esac
4331      as_dirs="'$as_qdir' $as_dirs"
4332      as_dir=`$as_dirname -- "$as_dir" ||
4333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4334	 X"$as_dir" : 'X\(//\)[^/]' \| \
4335	 X"$as_dir" : 'X\(//\)$' \| \
4336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4337$as_echo X"$as_dir" |
4338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4339	    s//\1/
4340	    q
4341	  }
4342	  /^X\(\/\/\)[^/].*/{
4343	    s//\1/
4344	    q
4345	  }
4346	  /^X\(\/\/\)$/{
4347	    s//\1/
4348	    q
4349	  }
4350	  /^X\(\/\).*/{
4351	    s//\1/
4352	    q
4353	  }
4354	  s/.*/./; q'`
4355      test -d "$as_dir" && break
4356    done
4357    test -z "$as_dirs" || eval "mkdir $as_dirs"
4358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4359
4360
4361} # as_fn_mkdir_p
4362if mkdir -p . 2>/dev/null; then
4363  as_mkdir_p='mkdir -p "$as_dir"'
4364else
4365  test -d ./-p && rmdir ./-p
4366  as_mkdir_p=false
4367fi
4368
4369
4370# as_fn_executable_p FILE
4371# -----------------------
4372# Test if FILE is an executable regular file.
4373as_fn_executable_p ()
4374{
4375  test -f "$1" && test -x "$1"
4376} # as_fn_executable_p
4377as_test_x='test -x'
4378as_executable_p=as_fn_executable_p
4379
4380# Sed expression to map a string onto a valid CPP name.
4381as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4382
4383# Sed expression to map a string onto a valid variable name.
4384as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4385
4386
4387exec 6>&1
4388## ----------------------------------- ##
4389## Main body of $CONFIG_STATUS script. ##
4390## ----------------------------------- ##
4391_ASEOF
4392test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4393
4394cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4395# Save the log message, to keep $0 and so on meaningful, and to
4396# report actual input values of CONFIG_FILES etc. instead of their
4397# values after options handling.
4398ac_log="
4399This file was extended by mos_release $as_me version-0.3, which was
4400generated by GNU Autoconf 2.69.  Invocation command line was
4401
4402  CONFIG_FILES    = $CONFIG_FILES
4403  CONFIG_HEADERS  = $CONFIG_HEADERS
4404  CONFIG_LINKS    = $CONFIG_LINKS
4405  CONFIG_COMMANDS = $CONFIG_COMMANDS
4406  $ $0 $@
4407
4408on `(hostname || uname -n) 2>/dev/null | sed 1q`
4409"
4410
4411_ACEOF
4412
4413case $ac_config_files in *"
4414"*) set x $ac_config_files; shift; ac_config_files=$*;;
4415esac
4416
4417
4418
4419cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4420# Files that config.status was made for.
4421config_files="$ac_config_files"
4422
4423_ACEOF
4424
4425cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4426ac_cs_usage="\
4427\`$as_me' instantiates files and other configuration actions
4428from templates according to the current configuration.  Unless the files
4429and actions are specified as TAGs, all are instantiated by default.
4430
4431Usage: $0 [OPTION]... [TAG]...
4432
4433  -h, --help       print this help, then exit
4434  -V, --version    print version number and configuration settings, then exit
4435      --config     print configuration, then exit
4436  -q, --quiet, --silent
4437                   do not print progress messages
4438  -d, --debug      don't remove temporary files
4439      --recheck    update $as_me by reconfiguring in the same conditions
4440      --file=FILE[:TEMPLATE]
4441                   instantiate the configuration file FILE
4442
4443Configuration files:
4444$config_files
4445
4446Report bugs to <[email protected]>."
4447
4448_ACEOF
4449cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4450ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4451ac_cs_version="\\
4452mos_release config.status version-0.3
4453configured by $0, generated by GNU Autoconf 2.69,
4454  with options \\"\$ac_cs_config\\"
4455
4456Copyright (C) 2012 Free Software Foundation, Inc.
4457This config.status script is free software; the Free Software Foundation
4458gives unlimited permission to copy, distribute and modify it."
4459
4460ac_pwd='$ac_pwd'
4461srcdir='$srcdir'
4462test -n "\$AWK" || AWK=awk
4463_ACEOF
4464
4465cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4466# The default lists apply if the user does not specify any file.
4467ac_need_defaults=:
4468while test $# != 0
4469do
4470  case $1 in
4471  --*=?*)
4472    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4473    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4474    ac_shift=:
4475    ;;
4476  --*=)
4477    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4478    ac_optarg=
4479    ac_shift=:
4480    ;;
4481  *)
4482    ac_option=$1
4483    ac_optarg=$2
4484    ac_shift=shift
4485    ;;
4486  esac
4487
4488  case $ac_option in
4489  # Handling of the options.
4490  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4491    ac_cs_recheck=: ;;
4492  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4493    $as_echo "$ac_cs_version"; exit ;;
4494  --config | --confi | --conf | --con | --co | --c )
4495    $as_echo "$ac_cs_config"; exit ;;
4496  --debug | --debu | --deb | --de | --d | -d )
4497    debug=: ;;
4498  --file | --fil | --fi | --f )
4499    $ac_shift
4500    case $ac_optarg in
4501    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4502    '') as_fn_error $? "missing file argument" ;;
4503    esac
4504    as_fn_append CONFIG_FILES " '$ac_optarg'"
4505    ac_need_defaults=false;;
4506  --he | --h |  --help | --hel | -h )
4507    $as_echo "$ac_cs_usage"; exit ;;
4508  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4509  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4510    ac_cs_silent=: ;;
4511
4512  # This is an error.
4513  -*) as_fn_error $? "unrecognized option: \`$1'
4514Try \`$0 --help' for more information." ;;
4515
4516  *) as_fn_append ac_config_targets " $1"
4517     ac_need_defaults=false ;;
4518
4519  esac
4520  shift
4521done
4522
4523ac_configure_extra_args=
4524
4525if $ac_cs_silent; then
4526  exec 6>/dev/null
4527  ac_configure_extra_args="$ac_configure_extra_args --silent"
4528fi
4529
4530_ACEOF
4531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4532if \$ac_cs_recheck; then
4533  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4534  shift
4535  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4536  CONFIG_SHELL='$SHELL'
4537  export CONFIG_SHELL
4538  exec "\$@"
4539fi
4540
4541_ACEOF
4542cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4543exec 5>>config.log
4544{
4545  echo
4546  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4547## Running $as_me. ##
4548_ASBOX
4549  $as_echo "$ac_log"
4550} >&5
4551
4552_ACEOF
4553cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4554_ACEOF
4555
4556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4557
4558# Handling of arguments.
4559for ac_config_target in $ac_config_targets
4560do
4561  case $ac_config_target in
4562    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
4563
4564  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4565  esac
4566done
4567
4568
4569# If the user did not use the arguments to specify the items to instantiate,
4570# then the envvar interface is used.  Set only those that are not.
4571# We use the long form for the default assignment because of an extremely
4572# bizarre bug on SunOS 4.1.3.
4573if $ac_need_defaults; then
4574  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4575fi
4576
4577# Have a temporary directory for convenience.  Make it in the build tree
4578# simply because there is no reason against having it here, and in addition,
4579# creating and moving files from /tmp can sometimes cause problems.
4580# Hook for its removal unless debugging.
4581# Note that there is a small window in which the directory will not be cleaned:
4582# after its creation but before its name has been assigned to `$tmp'.
4583$debug ||
4584{
4585  tmp= ac_tmp=
4586  trap 'exit_status=$?
4587  : "${ac_tmp:=$tmp}"
4588  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4589' 0
4590  trap 'as_fn_exit 1' 1 2 13 15
4591}
4592# Create a (secure) tmp directory for tmp files.
4593
4594{
4595  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4596  test -d "$tmp"
4597}  ||
4598{
4599  tmp=./conf$$-$RANDOM
4600  (umask 077 && mkdir "$tmp")
4601} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4602ac_tmp=$tmp
4603
4604# Set up the scripts for CONFIG_FILES section.
4605# No need to generate them if there are no CONFIG_FILES.
4606# This happens for instance with `./config.status config.h'.
4607if test -n "$CONFIG_FILES"; then
4608
4609
4610ac_cr=`echo X | tr X '\015'`
4611# On cygwin, bash can eat \r inside `` if the user requested igncr.
4612# But we know of no other shell where ac_cr would be empty at this
4613# point, so we can use a bashism as a fallback.
4614if test "x$ac_cr" = x; then
4615  eval ac_cr=\$\'\\r\'
4616fi
4617ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4618if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4619  ac_cs_awk_cr='\\r'
4620else
4621  ac_cs_awk_cr=$ac_cr
4622fi
4623
4624echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4625_ACEOF
4626
4627
4628{
4629  echo "cat >conf$$subs.awk <<_ACEOF" &&
4630  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4631  echo "_ACEOF"
4632} >conf$$subs.sh ||
4633  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4634ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4635ac_delim='%!_!# '
4636for ac_last_try in false false false false false :; do
4637  . ./conf$$subs.sh ||
4638    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4639
4640  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4641  if test $ac_delim_n = $ac_delim_num; then
4642    break
4643  elif $ac_last_try; then
4644    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4645  else
4646    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4647  fi
4648done
4649rm -f conf$$subs.sh
4650
4651cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4652cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4653_ACEOF
4654sed -n '
4655h
4656s/^/S["/; s/!.*/"]=/
4657p
4658g
4659s/^[^!]*!//
4660:repl
4661t repl
4662s/'"$ac_delim"'$//
4663t delim
4664:nl
4665h
4666s/\(.\{148\}\)..*/\1/
4667t more1
4668s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4669p
4670n
4671b repl
4672:more1
4673s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4674p
4675g
4676s/.\{148\}//
4677t nl
4678:delim
4679h
4680s/\(.\{148\}\)..*/\1/
4681t more2
4682s/["\\]/\\&/g; s/^/"/; s/$/"/
4683p
4684b
4685:more2
4686s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4687p
4688g
4689s/.\{148\}//
4690t delim
4691' <conf$$subs.awk | sed '
4692/^[^""]/{
4693  N
4694  s/\n//
4695}
4696' >>$CONFIG_STATUS || ac_write_fail=1
4697rm -f conf$$subs.awk
4698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4699_ACAWK
4700cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4701  for (key in S) S_is_set[key] = 1
4702  FS = ""
4703
4704}
4705{
4706  line = $ 0
4707  nfields = split(line, field, "@")
4708  substed = 0
4709  len = length(field[1])
4710  for (i = 2; i < nfields; i++) {
4711    key = field[i]
4712    keylen = length(key)
4713    if (S_is_set[key]) {
4714      value = S[key]
4715      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4716      len += length(value) + length(field[++i])
4717      substed = 1
4718    } else
4719      len += 1 + keylen
4720  }
4721
4722  print line
4723}
4724
4725_ACAWK
4726_ACEOF
4727cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4728if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4729  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4730else
4731  cat
4732fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4733  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4734_ACEOF
4735
4736# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4737# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4738# trailing colons and then remove the whole line if VPATH becomes empty
4739# (actually we leave an empty line to preserve line numbers).
4740if test "x$srcdir" = x.; then
4741  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4742h
4743s///
4744s/^/:/
4745s/[	 ]*$/:/
4746s/:\$(srcdir):/:/g
4747s/:\${srcdir}:/:/g
4748s/:@srcdir@:/:/g
4749s/^:*//
4750s/:*$//
4751x
4752s/\(=[	 ]*\).*/\1/
4753G
4754s/\n//
4755s/^[^=]*=[	 ]*$//
4756}'
4757fi
4758
4759cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4760fi # test -n "$CONFIG_FILES"
4761
4762
4763eval set X "  :F $CONFIG_FILES      "
4764shift
4765for ac_tag
4766do
4767  case $ac_tag in
4768  :[FHLC]) ac_mode=$ac_tag; continue;;
4769  esac
4770  case $ac_mode$ac_tag in
4771  :[FHL]*:*);;
4772  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4773  :[FH]-) ac_tag=-:-;;
4774  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4775  esac
4776  ac_save_IFS=$IFS
4777  IFS=:
4778  set x $ac_tag
4779  IFS=$ac_save_IFS
4780  shift
4781  ac_file=$1
4782  shift
4783
4784  case $ac_mode in
4785  :L) ac_source=$1;;
4786  :[FH])
4787    ac_file_inputs=
4788    for ac_f
4789    do
4790      case $ac_f in
4791      -) ac_f="$ac_tmp/stdin";;
4792      *) # Look for the file first in the build tree, then in the source tree
4793	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4794	 # because $ac_f cannot contain `:'.
4795	 test -f "$ac_f" ||
4796	   case $ac_f in
4797	   [\\/$]*) false;;
4798	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4799	   esac ||
4800	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4801      esac
4802      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4803      as_fn_append ac_file_inputs " '$ac_f'"
4804    done
4805
4806    # Let's still pretend it is `configure' which instantiates (i.e., don't
4807    # use $as_me), people would be surprised to read:
4808    #    /* config.h.  Generated by config.status.  */
4809    configure_input='Generated from '`
4810	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4811	`' by configure.'
4812    if test x"$ac_file" != x-; then
4813      configure_input="$ac_file.  $configure_input"
4814      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4815$as_echo "$as_me: creating $ac_file" >&6;}
4816    fi
4817    # Neutralize special characters interpreted by sed in replacement strings.
4818    case $configure_input in #(
4819    *\&* | *\|* | *\\* )
4820       ac_sed_conf_input=`$as_echo "$configure_input" |
4821       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4822    *) ac_sed_conf_input=$configure_input;;
4823    esac
4824
4825    case $ac_tag in
4826    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4827      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4828    esac
4829    ;;
4830  esac
4831
4832  ac_dir=`$as_dirname -- "$ac_file" ||
4833$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4834	 X"$ac_file" : 'X\(//\)[^/]' \| \
4835	 X"$ac_file" : 'X\(//\)$' \| \
4836	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4837$as_echo X"$ac_file" |
4838    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4839	    s//\1/
4840	    q
4841	  }
4842	  /^X\(\/\/\)[^/].*/{
4843	    s//\1/
4844	    q
4845	  }
4846	  /^X\(\/\/\)$/{
4847	    s//\1/
4848	    q
4849	  }
4850	  /^X\(\/\).*/{
4851	    s//\1/
4852	    q
4853	  }
4854	  s/.*/./; q'`
4855  as_dir="$ac_dir"; as_fn_mkdir_p
4856  ac_builddir=.
4857
4858case "$ac_dir" in
4859.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4860*)
4861  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4862  # A ".." for each directory in $ac_dir_suffix.
4863  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4864  case $ac_top_builddir_sub in
4865  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4866  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4867  esac ;;
4868esac
4869ac_abs_top_builddir=$ac_pwd
4870ac_abs_builddir=$ac_pwd$ac_dir_suffix
4871# for backward compatibility:
4872ac_top_builddir=$ac_top_build_prefix
4873
4874case $srcdir in
4875  .)  # We are building in place.
4876    ac_srcdir=.
4877    ac_top_srcdir=$ac_top_builddir_sub
4878    ac_abs_top_srcdir=$ac_pwd ;;
4879  [\\/]* | ?:[\\/]* )  # Absolute name.
4880    ac_srcdir=$srcdir$ac_dir_suffix;
4881    ac_top_srcdir=$srcdir
4882    ac_abs_top_srcdir=$srcdir ;;
4883  *) # Relative name.
4884    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4885    ac_top_srcdir=$ac_top_build_prefix$srcdir
4886    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4887esac
4888ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4889
4890
4891  case $ac_mode in
4892  :F)
4893  #
4894  # CONFIG_FILE
4895  #
4896
4897_ACEOF
4898
4899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4900# If the template does not know about datarootdir, expand it.
4901# FIXME: This hack should be removed a few years after 2.60.
4902ac_datarootdir_hack=; ac_datarootdir_seen=
4903ac_sed_dataroot='
4904/datarootdir/ {
4905  p
4906  q
4907}
4908/@datadir@/p
4909/@docdir@/p
4910/@infodir@/p
4911/@localedir@/p
4912/@mandir@/p'
4913case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4914*datarootdir*) ac_datarootdir_seen=yes;;
4915*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4916  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4917$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4918_ACEOF
4919cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4920  ac_datarootdir_hack='
4921  s&@datadir@&$datadir&g
4922  s&@docdir@&$docdir&g
4923  s&@infodir@&$infodir&g
4924  s&@localedir@&$localedir&g
4925  s&@mandir@&$mandir&g
4926  s&\\\${datarootdir}&$datarootdir&g' ;;
4927esac
4928_ACEOF
4929
4930# Neutralize VPATH when `$srcdir' = `.'.
4931# Shell code in configure.ac might set extrasub.
4932# FIXME: do we really want to maintain this feature?
4933cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4934ac_sed_extra="$ac_vpsub
4935$extrasub
4936_ACEOF
4937cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4938:t
4939/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4940s|@configure_input@|$ac_sed_conf_input|;t t
4941s&@top_builddir@&$ac_top_builddir_sub&;t t
4942s&@top_build_prefix@&$ac_top_build_prefix&;t t
4943s&@srcdir@&$ac_srcdir&;t t
4944s&@abs_srcdir@&$ac_abs_srcdir&;t t
4945s&@top_srcdir@&$ac_top_srcdir&;t t
4946s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4947s&@builddir@&$ac_builddir&;t t
4948s&@abs_builddir@&$ac_abs_builddir&;t t
4949s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4950$ac_datarootdir_hack
4951"
4952eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4953  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4954
4955test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4956  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4957  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4958      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4959  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4960which seems to be undefined.  Please make sure it is defined" >&5
4961$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4962which seems to be undefined.  Please make sure it is defined" >&2;}
4963
4964  rm -f "$ac_tmp/stdin"
4965  case $ac_file in
4966  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4967  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4968  esac \
4969  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4970 ;;
4971
4972
4973
4974  esac
4975
4976done # for ac_tag
4977
4978
4979as_fn_exit 0
4980_ACEOF
4981ac_clean_files=$ac_clean_files_save
4982
4983test $ac_write_fail = 0 ||
4984  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4985
4986
4987# configure is writing to config.log, and then calls config.status.
4988# config.status does its own redirection, appending to config.log.
4989# Unfortunately, on DOS this fails, as config.log is still kept open
4990# by configure, so config.status won't be able to write to it; its
4991# output is simply discarded.  So we exec the FD to /dev/null,
4992# effectively closing config.log, so it can be properly (re)opened and
4993# appended to by config.status.  When coming back to configure, we
4994# need to make the FD available again.
4995if test "$no_create" != yes; then
4996  ac_cs_success=:
4997  ac_config_status_args=
4998  test "$silent" = yes &&
4999    ac_config_status_args="$ac_config_status_args --quiet"
5000  exec 5>/dev/null
5001  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5002  exec 5>>config.log
5003  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5004  # would make configure fail if this is the last instruction.
5005  $ac_cs_success || as_fn_exit 1
5006fi
5007if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5008  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5009$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5010fi
5011
5012ac_config_files="$ac_config_files ../samples/epserver/Makefile"
5013
5014cat >confcache <<\_ACEOF
5015# This file is a shell script that caches the results of configure
5016# tests run on this system so they can be shared between configure
5017# scripts and configure runs, see configure's option --config-cache.
5018# It is not useful on other systems.  If it contains results you don't
5019# want to keep, you may remove or edit it.
5020#
5021# config.status only pays attention to the cache file if you give it
5022# the --recheck option to rerun configure.
5023#
5024# `ac_cv_env_foo' variables (set or unset) will be overridden when
5025# loading this file, other *unset* `ac_cv_foo' will be assigned the
5026# following values.
5027
5028_ACEOF
5029
5030# The following way of writing the cache mishandles newlines in values,
5031# but we know of no workaround that is simple, portable, and efficient.
5032# So, we kill variables containing newlines.
5033# Ultrix sh set writes to stderr and can't be redirected directly,
5034# and sets the high bit in the cache file unless we assign to the vars.
5035(
5036  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5037    eval ac_val=\$$ac_var
5038    case $ac_val in #(
5039    *${as_nl}*)
5040      case $ac_var in #(
5041      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5042$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5043      esac
5044      case $ac_var in #(
5045      _ | IFS | as_nl) ;; #(
5046      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5047      *) { eval $ac_var=; unset $ac_var;} ;;
5048      esac ;;
5049    esac
5050  done
5051
5052  (set) 2>&1 |
5053    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5054    *${as_nl}ac_space=\ *)
5055      # `set' does not quote correctly, so add quotes: double-quote
5056      # substitution turns \\\\ into \\, and sed turns \\ into \.
5057      sed -n \
5058	"s/'/'\\\\''/g;
5059	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5060      ;; #(
5061    *)
5062      # `set' quotes correctly as required by POSIX, so do not add quotes.
5063      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5064      ;;
5065    esac |
5066    sort
5067) |
5068  sed '
5069     /^ac_cv_env_/b end
5070     t clear
5071     :clear
5072     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5073     t end
5074     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5075     :end' >>confcache
5076if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5077  if test -w "$cache_file"; then
5078    if test "x$cache_file" != "x/dev/null"; then
5079      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5080$as_echo "$as_me: updating cache $cache_file" >&6;}
5081      if test ! -f "$cache_file" || test -h "$cache_file"; then
5082	cat confcache >"$cache_file"
5083      else
5084        case $cache_file in #(
5085        */* | ?:*)
5086	  mv -f confcache "$cache_file"$$ &&
5087	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5088        *)
5089	  mv -f confcache "$cache_file" ;;
5090	esac
5091      fi
5092    fi
5093  else
5094    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5095$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5096  fi
5097fi
5098rm -f confcache
5099
5100test "x$prefix" = xNONE && prefix=$ac_default_prefix
5101# Let make expand exec_prefix.
5102test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5103
5104# Transform confdefs.h into DEFS.
5105# Protect against shell expansion while executing Makefile rules.
5106# Protect against Makefile macro expansion.
5107#
5108# If the first sed substitution is executed (which looks for macros that
5109# take arguments), then branch to the quote section.  Otherwise,
5110# look for a macro that doesn't take arguments.
5111ac_script='
5112:mline
5113/\\$/{
5114 N
5115 s,\\\n,,
5116 b mline
5117}
5118t clear
5119:clear
5120s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5121t quote
5122s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5123t quote
5124b any
5125:quote
5126s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5127s/\[/\\&/g
5128s/\]/\\&/g
5129s/\$/$$/g
5130H
5131:any
5132${
5133	g
5134	s/^\n//
5135	s/\n/ /g
5136	p
5137}
5138'
5139DEFS=`sed -n "$ac_script" confdefs.h`
5140
5141
5142ac_libobjs=
5143ac_ltlibobjs=
5144U=
5145for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5146  # 1. Remove the extension, and $U if already installed.
5147  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5148  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5149  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5150  #    will be set to the directory where LIBOBJS objects are built.
5151  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5152  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5153done
5154LIBOBJS=$ac_libobjs
5155
5156LTLIBOBJS=$ac_ltlibobjs
5157
5158
5159
5160: "${CONFIG_STATUS=./config.status}"
5161ac_write_fail=0
5162ac_clean_files_save=$ac_clean_files
5163ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5164{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5165$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5166as_write_fail=0
5167cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5168#! $SHELL
5169# Generated by $as_me.
5170# Run this file to recreate the current configuration.
5171# Compiler output produced by configure, useful for debugging
5172# configure, is in config.log if it exists.
5173
5174debug=false
5175ac_cs_recheck=false
5176ac_cs_silent=false
5177
5178SHELL=\${CONFIG_SHELL-$SHELL}
5179export SHELL
5180_ASEOF
5181cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5182## -------------------- ##
5183## M4sh Initialization. ##
5184## -------------------- ##
5185
5186# Be more Bourne compatible
5187DUALCASE=1; export DUALCASE # for MKS sh
5188if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5189  emulate sh
5190  NULLCMD=:
5191  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5192  # is contrary to our usage.  Disable this feature.
5193  alias -g '${1+"$@"}'='"$@"'
5194  setopt NO_GLOB_SUBST
5195else
5196  case `(set -o) 2>/dev/null` in #(
5197  *posix*) :
5198    set -o posix ;; #(
5199  *) :
5200     ;;
5201esac
5202fi
5203
5204
5205as_nl='
5206'
5207export as_nl
5208# Printing a long string crashes Solaris 7 /usr/bin/printf.
5209as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5210as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5211as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5212# Prefer a ksh shell builtin over an external printf program on Solaris,
5213# but without wasting forks for bash or zsh.
5214if test -z "$BASH_VERSION$ZSH_VERSION" \
5215    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5216  as_echo='print -r --'
5217  as_echo_n='print -rn --'
5218elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5219  as_echo='printf %s\n'
5220  as_echo_n='printf %s'
5221else
5222  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5223    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5224    as_echo_n='/usr/ucb/echo -n'
5225  else
5226    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5227    as_echo_n_body='eval
5228      arg=$1;
5229      case $arg in #(
5230      *"$as_nl"*)
5231	expr "X$arg" : "X\\(.*\\)$as_nl";
5232	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5233      esac;
5234      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5235    '
5236    export as_echo_n_body
5237    as_echo_n='sh -c $as_echo_n_body as_echo'
5238  fi
5239  export as_echo_body
5240  as_echo='sh -c $as_echo_body as_echo'
5241fi
5242
5243# The user is always right.
5244if test "${PATH_SEPARATOR+set}" != set; then
5245  PATH_SEPARATOR=:
5246  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5247    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5248      PATH_SEPARATOR=';'
5249  }
5250fi
5251
5252
5253# IFS
5254# We need space, tab and new line, in precisely that order.  Quoting is
5255# there to prevent editors from complaining about space-tab.
5256# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5257# splitting by setting IFS to empty value.)
5258IFS=" ""	$as_nl"
5259
5260# Find who we are.  Look in the path if we contain no directory separator.
5261as_myself=
5262case $0 in #((
5263  *[\\/]* ) as_myself=$0 ;;
5264  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265for as_dir in $PATH
5266do
5267  IFS=$as_save_IFS
5268  test -z "$as_dir" && as_dir=.
5269    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5270  done
5271IFS=$as_save_IFS
5272
5273     ;;
5274esac
5275# We did not find ourselves, most probably we were run as `sh COMMAND'
5276# in which case we are not to be found in the path.
5277if test "x$as_myself" = x; then
5278  as_myself=$0
5279fi
5280if test ! -f "$as_myself"; then
5281  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5282  exit 1
5283fi
5284
5285# Unset variables that we do not need and which cause bugs (e.g. in
5286# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5287# suppresses any "Segmentation fault" message there.  '((' could
5288# trigger a bug in pdksh 5.2.14.
5289for as_var in BASH_ENV ENV MAIL MAILPATH
5290do eval test x\${$as_var+set} = xset \
5291  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5292done
5293PS1='$ '
5294PS2='> '
5295PS4='+ '
5296
5297# NLS nuisances.
5298LC_ALL=C
5299export LC_ALL
5300LANGUAGE=C
5301export LANGUAGE
5302
5303# CDPATH.
5304(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5305
5306
5307# as_fn_error STATUS ERROR [LINENO LOG_FD]
5308# ----------------------------------------
5309# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5310# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5311# script with STATUS, using 1 if that was 0.
5312as_fn_error ()
5313{
5314  as_status=$1; test $as_status -eq 0 && as_status=1
5315  if test "$4"; then
5316    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5317    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5318  fi
5319  $as_echo "$as_me: error: $2" >&2
5320  as_fn_exit $as_status
5321} # as_fn_error
5322
5323
5324# as_fn_set_status STATUS
5325# -----------------------
5326# Set $? to STATUS, without forking.
5327as_fn_set_status ()
5328{
5329  return $1
5330} # as_fn_set_status
5331
5332# as_fn_exit STATUS
5333# -----------------
5334# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5335as_fn_exit ()
5336{
5337  set +e
5338  as_fn_set_status $1
5339  exit $1
5340} # as_fn_exit
5341
5342# as_fn_unset VAR
5343# ---------------
5344# Portably unset VAR.
5345as_fn_unset ()
5346{
5347  { eval $1=; unset $1;}
5348}
5349as_unset=as_fn_unset
5350# as_fn_append VAR VALUE
5351# ----------------------
5352# Append the text in VALUE to the end of the definition contained in VAR. Take
5353# advantage of any shell optimizations that allow amortized linear growth over
5354# repeated appends, instead of the typical quadratic growth present in naive
5355# implementations.
5356if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5357  eval 'as_fn_append ()
5358  {
5359    eval $1+=\$2
5360  }'
5361else
5362  as_fn_append ()
5363  {
5364    eval $1=\$$1\$2
5365  }
5366fi # as_fn_append
5367
5368# as_fn_arith ARG...
5369# ------------------
5370# Perform arithmetic evaluation on the ARGs, and store the result in the
5371# global $as_val. Take advantage of shells that can avoid forks. The arguments
5372# must be portable across $(()) and expr.
5373if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5374  eval 'as_fn_arith ()
5375  {
5376    as_val=$(( $* ))
5377  }'
5378else
5379  as_fn_arith ()
5380  {
5381    as_val=`expr "$@" || test $? -eq 1`
5382  }
5383fi # as_fn_arith
5384
5385
5386if expr a : '\(a\)' >/dev/null 2>&1 &&
5387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5388  as_expr=expr
5389else
5390  as_expr=false
5391fi
5392
5393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5394  as_basename=basename
5395else
5396  as_basename=false
5397fi
5398
5399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5400  as_dirname=dirname
5401else
5402  as_dirname=false
5403fi
5404
5405as_me=`$as_basename -- "$0" ||
5406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5407	 X"$0" : 'X\(//\)$' \| \
5408	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5409$as_echo X/"$0" |
5410    sed '/^.*\/\([^/][^/]*\)\/*$/{
5411	    s//\1/
5412	    q
5413	  }
5414	  /^X\/\(\/\/\)$/{
5415	    s//\1/
5416	    q
5417	  }
5418	  /^X\/\(\/\).*/{
5419	    s//\1/
5420	    q
5421	  }
5422	  s/.*/./; q'`
5423
5424# Avoid depending upon Character Ranges.
5425as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5427as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5428as_cr_digits='0123456789'
5429as_cr_alnum=$as_cr_Letters$as_cr_digits
5430
5431ECHO_C= ECHO_N= ECHO_T=
5432case `echo -n x` in #(((((
5433-n*)
5434  case `echo 'xy\c'` in
5435  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5436  xy)  ECHO_C='\c';;
5437  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5438       ECHO_T='	';;
5439  esac;;
5440*)
5441  ECHO_N='-n';;
5442esac
5443
5444rm -f conf$$ conf$$.exe conf$$.file
5445if test -d conf$$.dir; then
5446  rm -f conf$$.dir/conf$$.file
5447else
5448  rm -f conf$$.dir
5449  mkdir conf$$.dir 2>/dev/null
5450fi
5451if (echo >conf$$.file) 2>/dev/null; then
5452  if ln -s conf$$.file conf$$ 2>/dev/null; then
5453    as_ln_s='ln -s'
5454    # ... but there are two gotchas:
5455    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5456    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5457    # In both cases, we have to default to `cp -pR'.
5458    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5459      as_ln_s='cp -pR'
5460  elif ln conf$$.file conf$$ 2>/dev/null; then
5461    as_ln_s=ln
5462  else
5463    as_ln_s='cp -pR'
5464  fi
5465else
5466  as_ln_s='cp -pR'
5467fi
5468rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5469rmdir conf$$.dir 2>/dev/null
5470
5471
5472# as_fn_mkdir_p
5473# -------------
5474# Create "$as_dir" as a directory, including parents if necessary.
5475as_fn_mkdir_p ()
5476{
5477
5478  case $as_dir in #(
5479  -*) as_dir=./$as_dir;;
5480  esac
5481  test -d "$as_dir" || eval $as_mkdir_p || {
5482    as_dirs=
5483    while :; do
5484      case $as_dir in #(
5485      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5486      *) as_qdir=$as_dir;;
5487      esac
5488      as_dirs="'$as_qdir' $as_dirs"
5489      as_dir=`$as_dirname -- "$as_dir" ||
5490$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5491	 X"$as_dir" : 'X\(//\)[^/]' \| \
5492	 X"$as_dir" : 'X\(//\)$' \| \
5493	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5494$as_echo X"$as_dir" |
5495    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5496	    s//\1/
5497	    q
5498	  }
5499	  /^X\(\/\/\)[^/].*/{
5500	    s//\1/
5501	    q
5502	  }
5503	  /^X\(\/\/\)$/{
5504	    s//\1/
5505	    q
5506	  }
5507	  /^X\(\/\).*/{
5508	    s//\1/
5509	    q
5510	  }
5511	  s/.*/./; q'`
5512      test -d "$as_dir" && break
5513    done
5514    test -z "$as_dirs" || eval "mkdir $as_dirs"
5515  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5516
5517
5518} # as_fn_mkdir_p
5519if mkdir -p . 2>/dev/null; then
5520  as_mkdir_p='mkdir -p "$as_dir"'
5521else
5522  test -d ./-p && rmdir ./-p
5523  as_mkdir_p=false
5524fi
5525
5526
5527# as_fn_executable_p FILE
5528# -----------------------
5529# Test if FILE is an executable regular file.
5530as_fn_executable_p ()
5531{
5532  test -f "$1" && test -x "$1"
5533} # as_fn_executable_p
5534as_test_x='test -x'
5535as_executable_p=as_fn_executable_p
5536
5537# Sed expression to map a string onto a valid CPP name.
5538as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5539
5540# Sed expression to map a string onto a valid variable name.
5541as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5542
5543
5544exec 6>&1
5545## ----------------------------------- ##
5546## Main body of $CONFIG_STATUS script. ##
5547## ----------------------------------- ##
5548_ASEOF
5549test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5550
5551cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5552# Save the log message, to keep $0 and so on meaningful, and to
5553# report actual input values of CONFIG_FILES etc. instead of their
5554# values after options handling.
5555ac_log="
5556This file was extended by mos_release $as_me version-0.3, which was
5557generated by GNU Autoconf 2.69.  Invocation command line was
5558
5559  CONFIG_FILES    = $CONFIG_FILES
5560  CONFIG_HEADERS  = $CONFIG_HEADERS
5561  CONFIG_LINKS    = $CONFIG_LINKS
5562  CONFIG_COMMANDS = $CONFIG_COMMANDS
5563  $ $0 $@
5564
5565on `(hostname || uname -n) 2>/dev/null | sed 1q`
5566"
5567
5568_ACEOF
5569
5570case $ac_config_files in *"
5571"*) set x $ac_config_files; shift; ac_config_files=$*;;
5572esac
5573
5574
5575
5576cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5577# Files that config.status was made for.
5578config_files="$ac_config_files"
5579
5580_ACEOF
5581
5582cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5583ac_cs_usage="\
5584\`$as_me' instantiates files and other configuration actions
5585from templates according to the current configuration.  Unless the files
5586and actions are specified as TAGs, all are instantiated by default.
5587
5588Usage: $0 [OPTION]... [TAG]...
5589
5590  -h, --help       print this help, then exit
5591  -V, --version    print version number and configuration settings, then exit
5592      --config     print configuration, then exit
5593  -q, --quiet, --silent
5594                   do not print progress messages
5595  -d, --debug      don't remove temporary files
5596      --recheck    update $as_me by reconfiguring in the same conditions
5597      --file=FILE[:TEMPLATE]
5598                   instantiate the configuration file FILE
5599
5600Configuration files:
5601$config_files
5602
5603Report bugs to <[email protected]>."
5604
5605_ACEOF
5606cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5607ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5608ac_cs_version="\\
5609mos_release config.status version-0.3
5610configured by $0, generated by GNU Autoconf 2.69,
5611  with options \\"\$ac_cs_config\\"
5612
5613Copyright (C) 2012 Free Software Foundation, Inc.
5614This config.status script is free software; the Free Software Foundation
5615gives unlimited permission to copy, distribute and modify it."
5616
5617ac_pwd='$ac_pwd'
5618srcdir='$srcdir'
5619test -n "\$AWK" || AWK=awk
5620_ACEOF
5621
5622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5623# The default lists apply if the user does not specify any file.
5624ac_need_defaults=:
5625while test $# != 0
5626do
5627  case $1 in
5628  --*=?*)
5629    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5630    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5631    ac_shift=:
5632    ;;
5633  --*=)
5634    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5635    ac_optarg=
5636    ac_shift=:
5637    ;;
5638  *)
5639    ac_option=$1
5640    ac_optarg=$2
5641    ac_shift=shift
5642    ;;
5643  esac
5644
5645  case $ac_option in
5646  # Handling of the options.
5647  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5648    ac_cs_recheck=: ;;
5649  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5650    $as_echo "$ac_cs_version"; exit ;;
5651  --config | --confi | --conf | --con | --co | --c )
5652    $as_echo "$ac_cs_config"; exit ;;
5653  --debug | --debu | --deb | --de | --d | -d )
5654    debug=: ;;
5655  --file | --fil | --fi | --f )
5656    $ac_shift
5657    case $ac_optarg in
5658    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5659    '') as_fn_error $? "missing file argument" ;;
5660    esac
5661    as_fn_append CONFIG_FILES " '$ac_optarg'"
5662    ac_need_defaults=false;;
5663  --he | --h |  --help | --hel | -h )
5664    $as_echo "$ac_cs_usage"; exit ;;
5665  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5666  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5667    ac_cs_silent=: ;;
5668
5669  # This is an error.
5670  -*) as_fn_error $? "unrecognized option: \`$1'
5671Try \`$0 --help' for more information." ;;
5672
5673  *) as_fn_append ac_config_targets " $1"
5674     ac_need_defaults=false ;;
5675
5676  esac
5677  shift
5678done
5679
5680ac_configure_extra_args=
5681
5682if $ac_cs_silent; then
5683  exec 6>/dev/null
5684  ac_configure_extra_args="$ac_configure_extra_args --silent"
5685fi
5686
5687_ACEOF
5688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5689if \$ac_cs_recheck; then
5690  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5691  shift
5692  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5693  CONFIG_SHELL='$SHELL'
5694  export CONFIG_SHELL
5695  exec "\$@"
5696fi
5697
5698_ACEOF
5699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5700exec 5>>config.log
5701{
5702  echo
5703  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5704## Running $as_me. ##
5705_ASBOX
5706  $as_echo "$ac_log"
5707} >&5
5708
5709_ACEOF
5710cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5711_ACEOF
5712
5713cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5714
5715# Handling of arguments.
5716for ac_config_target in $ac_config_targets
5717do
5718  case $ac_config_target in
5719    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
5720    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
5721
5722  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5723  esac
5724done
5725
5726
5727# If the user did not use the arguments to specify the items to instantiate,
5728# then the envvar interface is used.  Set only those that are not.
5729# We use the long form for the default assignment because of an extremely
5730# bizarre bug on SunOS 4.1.3.
5731if $ac_need_defaults; then
5732  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5733fi
5734
5735# Have a temporary directory for convenience.  Make it in the build tree
5736# simply because there is no reason against having it here, and in addition,
5737# creating and moving files from /tmp can sometimes cause problems.
5738# Hook for its removal unless debugging.
5739# Note that there is a small window in which the directory will not be cleaned:
5740# after its creation but before its name has been assigned to `$tmp'.
5741$debug ||
5742{
5743  tmp= ac_tmp=
5744  trap 'exit_status=$?
5745  : "${ac_tmp:=$tmp}"
5746  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5747' 0
5748  trap 'as_fn_exit 1' 1 2 13 15
5749}
5750# Create a (secure) tmp directory for tmp files.
5751
5752{
5753  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5754  test -d "$tmp"
5755}  ||
5756{
5757  tmp=./conf$$-$RANDOM
5758  (umask 077 && mkdir "$tmp")
5759} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5760ac_tmp=$tmp
5761
5762# Set up the scripts for CONFIG_FILES section.
5763# No need to generate them if there are no CONFIG_FILES.
5764# This happens for instance with `./config.status config.h'.
5765if test -n "$CONFIG_FILES"; then
5766
5767
5768ac_cr=`echo X | tr X '\015'`
5769# On cygwin, bash can eat \r inside `` if the user requested igncr.
5770# But we know of no other shell where ac_cr would be empty at this
5771# point, so we can use a bashism as a fallback.
5772if test "x$ac_cr" = x; then
5773  eval ac_cr=\$\'\\r\'
5774fi
5775ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5776if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5777  ac_cs_awk_cr='\\r'
5778else
5779  ac_cs_awk_cr=$ac_cr
5780fi
5781
5782echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5783_ACEOF
5784
5785
5786{
5787  echo "cat >conf$$subs.awk <<_ACEOF" &&
5788  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5789  echo "_ACEOF"
5790} >conf$$subs.sh ||
5791  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5792ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5793ac_delim='%!_!# '
5794for ac_last_try in false false false false false :; do
5795  . ./conf$$subs.sh ||
5796    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5797
5798  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5799  if test $ac_delim_n = $ac_delim_num; then
5800    break
5801  elif $ac_last_try; then
5802    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5803  else
5804    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5805  fi
5806done
5807rm -f conf$$subs.sh
5808
5809cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5810cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5811_ACEOF
5812sed -n '
5813h
5814s/^/S["/; s/!.*/"]=/
5815p
5816g
5817s/^[^!]*!//
5818:repl
5819t repl
5820s/'"$ac_delim"'$//
5821t delim
5822:nl
5823h
5824s/\(.\{148\}\)..*/\1/
5825t more1
5826s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5827p
5828n
5829b repl
5830:more1
5831s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5832p
5833g
5834s/.\{148\}//
5835t nl
5836:delim
5837h
5838s/\(.\{148\}\)..*/\1/
5839t more2
5840s/["\\]/\\&/g; s/^/"/; s/$/"/
5841p
5842b
5843:more2
5844s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5845p
5846g
5847s/.\{148\}//
5848t delim
5849' <conf$$subs.awk | sed '
5850/^[^""]/{
5851  N
5852  s/\n//
5853}
5854' >>$CONFIG_STATUS || ac_write_fail=1
5855rm -f conf$$subs.awk
5856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5857_ACAWK
5858cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5859  for (key in S) S_is_set[key] = 1
5860  FS = ""
5861
5862}
5863{
5864  line = $ 0
5865  nfields = split(line, field, "@")
5866  substed = 0
5867  len = length(field[1])
5868  for (i = 2; i < nfields; i++) {
5869    key = field[i]
5870    keylen = length(key)
5871    if (S_is_set[key]) {
5872      value = S[key]
5873      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5874      len += length(value) + length(field[++i])
5875      substed = 1
5876    } else
5877      len += 1 + keylen
5878  }
5879
5880  print line
5881}
5882
5883_ACAWK
5884_ACEOF
5885cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5886if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5887  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5888else
5889  cat
5890fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5891  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5892_ACEOF
5893
5894# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5895# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5896# trailing colons and then remove the whole line if VPATH becomes empty
5897# (actually we leave an empty line to preserve line numbers).
5898if test "x$srcdir" = x.; then
5899  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5900h
5901s///
5902s/^/:/
5903s/[	 ]*$/:/
5904s/:\$(srcdir):/:/g
5905s/:\${srcdir}:/:/g
5906s/:@srcdir@:/:/g
5907s/^:*//
5908s/:*$//
5909x
5910s/\(=[	 ]*\).*/\1/
5911G
5912s/\n//
5913s/^[^=]*=[	 ]*$//
5914}'
5915fi
5916
5917cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5918fi # test -n "$CONFIG_FILES"
5919
5920
5921eval set X "  :F $CONFIG_FILES      "
5922shift
5923for ac_tag
5924do
5925  case $ac_tag in
5926  :[FHLC]) ac_mode=$ac_tag; continue;;
5927  esac
5928  case $ac_mode$ac_tag in
5929  :[FHL]*:*);;
5930  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5931  :[FH]-) ac_tag=-:-;;
5932  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5933  esac
5934  ac_save_IFS=$IFS
5935  IFS=:
5936  set x $ac_tag
5937  IFS=$ac_save_IFS
5938  shift
5939  ac_file=$1
5940  shift
5941
5942  case $ac_mode in
5943  :L) ac_source=$1;;
5944  :[FH])
5945    ac_file_inputs=
5946    for ac_f
5947    do
5948      case $ac_f in
5949      -) ac_f="$ac_tmp/stdin";;
5950      *) # Look for the file first in the build tree, then in the source tree
5951	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5952	 # because $ac_f cannot contain `:'.
5953	 test -f "$ac_f" ||
5954	   case $ac_f in
5955	   [\\/$]*) false;;
5956	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5957	   esac ||
5958	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5959      esac
5960      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5961      as_fn_append ac_file_inputs " '$ac_f'"
5962    done
5963
5964    # Let's still pretend it is `configure' which instantiates (i.e., don't
5965    # use $as_me), people would be surprised to read:
5966    #    /* config.h.  Generated by config.status.  */
5967    configure_input='Generated from '`
5968	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5969	`' by configure.'
5970    if test x"$ac_file" != x-; then
5971      configure_input="$ac_file.  $configure_input"
5972      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5973$as_echo "$as_me: creating $ac_file" >&6;}
5974    fi
5975    # Neutralize special characters interpreted by sed in replacement strings.
5976    case $configure_input in #(
5977    *\&* | *\|* | *\\* )
5978       ac_sed_conf_input=`$as_echo "$configure_input" |
5979       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5980    *) ac_sed_conf_input=$configure_input;;
5981    esac
5982
5983    case $ac_tag in
5984    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5985      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5986    esac
5987    ;;
5988  esac
5989
5990  ac_dir=`$as_dirname -- "$ac_file" ||
5991$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5992	 X"$ac_file" : 'X\(//\)[^/]' \| \
5993	 X"$ac_file" : 'X\(//\)$' \| \
5994	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5995$as_echo X"$ac_file" |
5996    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5997	    s//\1/
5998	    q
5999	  }
6000	  /^X\(\/\/\)[^/].*/{
6001	    s//\1/
6002	    q
6003	  }
6004	  /^X\(\/\/\)$/{
6005	    s//\1/
6006	    q
6007	  }
6008	  /^X\(\/\).*/{
6009	    s//\1/
6010	    q
6011	  }
6012	  s/.*/./; q'`
6013  as_dir="$ac_dir"; as_fn_mkdir_p
6014  ac_builddir=.
6015
6016case "$ac_dir" in
6017.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6018*)
6019  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6020  # A ".." for each directory in $ac_dir_suffix.
6021  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6022  case $ac_top_builddir_sub in
6023  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6024  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6025  esac ;;
6026esac
6027ac_abs_top_builddir=$ac_pwd
6028ac_abs_builddir=$ac_pwd$ac_dir_suffix
6029# for backward compatibility:
6030ac_top_builddir=$ac_top_build_prefix
6031
6032case $srcdir in
6033  .)  # We are building in place.
6034    ac_srcdir=.
6035    ac_top_srcdir=$ac_top_builddir_sub
6036    ac_abs_top_srcdir=$ac_pwd ;;
6037  [\\/]* | ?:[\\/]* )  # Absolute name.
6038    ac_srcdir=$srcdir$ac_dir_suffix;
6039    ac_top_srcdir=$srcdir
6040    ac_abs_top_srcdir=$srcdir ;;
6041  *) # Relative name.
6042    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6043    ac_top_srcdir=$ac_top_build_prefix$srcdir
6044    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6045esac
6046ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6047
6048
6049  case $ac_mode in
6050  :F)
6051  #
6052  # CONFIG_FILE
6053  #
6054
6055_ACEOF
6056
6057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6058# If the template does not know about datarootdir, expand it.
6059# FIXME: This hack should be removed a few years after 2.60.
6060ac_datarootdir_hack=; ac_datarootdir_seen=
6061ac_sed_dataroot='
6062/datarootdir/ {
6063  p
6064  q
6065}
6066/@datadir@/p
6067/@docdir@/p
6068/@infodir@/p
6069/@localedir@/p
6070/@mandir@/p'
6071case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6072*datarootdir*) ac_datarootdir_seen=yes;;
6073*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6074  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6075$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6076_ACEOF
6077cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6078  ac_datarootdir_hack='
6079  s&@datadir@&$datadir&g
6080  s&@docdir@&$docdir&g
6081  s&@infodir@&$infodir&g
6082  s&@localedir@&$localedir&g
6083  s&@mandir@&$mandir&g
6084  s&\\\${datarootdir}&$datarootdir&g' ;;
6085esac
6086_ACEOF
6087
6088# Neutralize VPATH when `$srcdir' = `.'.
6089# Shell code in configure.ac might set extrasub.
6090# FIXME: do we really want to maintain this feature?
6091cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6092ac_sed_extra="$ac_vpsub
6093$extrasub
6094_ACEOF
6095cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6096:t
6097/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6098s|@configure_input@|$ac_sed_conf_input|;t t
6099s&@top_builddir@&$ac_top_builddir_sub&;t t
6100s&@top_build_prefix@&$ac_top_build_prefix&;t t
6101s&@srcdir@&$ac_srcdir&;t t
6102s&@abs_srcdir@&$ac_abs_srcdir&;t t
6103s&@top_srcdir@&$ac_top_srcdir&;t t
6104s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6105s&@builddir@&$ac_builddir&;t t
6106s&@abs_builddir@&$ac_abs_builddir&;t t
6107s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6108$ac_datarootdir_hack
6109"
6110eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6111  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6112
6113test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6114  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6115  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6116      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6117  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6118which seems to be undefined.  Please make sure it is defined" >&5
6119$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6120which seems to be undefined.  Please make sure it is defined" >&2;}
6121
6122  rm -f "$ac_tmp/stdin"
6123  case $ac_file in
6124  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6125  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6126  esac \
6127  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6128 ;;
6129
6130
6131
6132  esac
6133
6134done # for ac_tag
6135
6136
6137as_fn_exit 0
6138_ACEOF
6139ac_clean_files=$ac_clean_files_save
6140
6141test $ac_write_fail = 0 ||
6142  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6143
6144
6145# configure is writing to config.log, and then calls config.status.
6146# config.status does its own redirection, appending to config.log.
6147# Unfortunately, on DOS this fails, as config.log is still kept open
6148# by configure, so config.status won't be able to write to it; its
6149# output is simply discarded.  So we exec the FD to /dev/null,
6150# effectively closing config.log, so it can be properly (re)opened and
6151# appended to by config.status.  When coming back to configure, we
6152# need to make the FD available again.
6153if test "$no_create" != yes; then
6154  ac_cs_success=:
6155  ac_config_status_args=
6156  test "$silent" = yes &&
6157    ac_config_status_args="$ac_config_status_args --quiet"
6158  exec 5>/dev/null
6159  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6160  exec 5>>config.log
6161  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6162  # would make configure fail if this is the last instruction.
6163  $ac_cs_success || as_fn_exit 1
6164fi
6165if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6166  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6167$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6168fi
6169
6170ac_config_files="$ac_config_files ../samples/epwget/Makefile"
6171
6172cat >confcache <<\_ACEOF
6173# This file is a shell script that caches the results of configure
6174# tests run on this system so they can be shared between configure
6175# scripts and configure runs, see configure's option --config-cache.
6176# It is not useful on other systems.  If it contains results you don't
6177# want to keep, you may remove or edit it.
6178#
6179# config.status only pays attention to the cache file if you give it
6180# the --recheck option to rerun configure.
6181#
6182# `ac_cv_env_foo' variables (set or unset) will be overridden when
6183# loading this file, other *unset* `ac_cv_foo' will be assigned the
6184# following values.
6185
6186_ACEOF
6187
6188# The following way of writing the cache mishandles newlines in values,
6189# but we know of no workaround that is simple, portable, and efficient.
6190# So, we kill variables containing newlines.
6191# Ultrix sh set writes to stderr and can't be redirected directly,
6192# and sets the high bit in the cache file unless we assign to the vars.
6193(
6194  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6195    eval ac_val=\$$ac_var
6196    case $ac_val in #(
6197    *${as_nl}*)
6198      case $ac_var in #(
6199      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6200$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6201      esac
6202      case $ac_var in #(
6203      _ | IFS | as_nl) ;; #(
6204      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6205      *) { eval $ac_var=; unset $ac_var;} ;;
6206      esac ;;
6207    esac
6208  done
6209
6210  (set) 2>&1 |
6211    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6212    *${as_nl}ac_space=\ *)
6213      # `set' does not quote correctly, so add quotes: double-quote
6214      # substitution turns \\\\ into \\, and sed turns \\ into \.
6215      sed -n \
6216	"s/'/'\\\\''/g;
6217	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6218      ;; #(
6219    *)
6220      # `set' quotes correctly as required by POSIX, so do not add quotes.
6221      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6222      ;;
6223    esac |
6224    sort
6225) |
6226  sed '
6227     /^ac_cv_env_/b end
6228     t clear
6229     :clear
6230     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6231     t end
6232     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6233     :end' >>confcache
6234if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6235  if test -w "$cache_file"; then
6236    if test "x$cache_file" != "x/dev/null"; then
6237      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6238$as_echo "$as_me: updating cache $cache_file" >&6;}
6239      if test ! -f "$cache_file" || test -h "$cache_file"; then
6240	cat confcache >"$cache_file"
6241      else
6242        case $cache_file in #(
6243        */* | ?:*)
6244	  mv -f confcache "$cache_file"$$ &&
6245	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6246        *)
6247	  mv -f confcache "$cache_file" ;;
6248	esac
6249      fi
6250    fi
6251  else
6252    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6253$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6254  fi
6255fi
6256rm -f confcache
6257
6258test "x$prefix" = xNONE && prefix=$ac_default_prefix
6259# Let make expand exec_prefix.
6260test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6261
6262# Transform confdefs.h into DEFS.
6263# Protect against shell expansion while executing Makefile rules.
6264# Protect against Makefile macro expansion.
6265#
6266# If the first sed substitution is executed (which looks for macros that
6267# take arguments), then branch to the quote section.  Otherwise,
6268# look for a macro that doesn't take arguments.
6269ac_script='
6270:mline
6271/\\$/{
6272 N
6273 s,\\\n,,
6274 b mline
6275}
6276t clear
6277:clear
6278s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
6279t quote
6280s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
6281t quote
6282b any
6283:quote
6284s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6285s/\[/\\&/g
6286s/\]/\\&/g
6287s/\$/$$/g
6288H
6289:any
6290${
6291	g
6292	s/^\n//
6293	s/\n/ /g
6294	p
6295}
6296'
6297DEFS=`sed -n "$ac_script" confdefs.h`
6298
6299
6300ac_libobjs=
6301ac_ltlibobjs=
6302U=
6303for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6304  # 1. Remove the extension, and $U if already installed.
6305  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6306  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6307  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6308  #    will be set to the directory where LIBOBJS objects are built.
6309  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6310  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6311done
6312LIBOBJS=$ac_libobjs
6313
6314LTLIBOBJS=$ac_ltlibobjs
6315
6316
6317
6318: "${CONFIG_STATUS=./config.status}"
6319ac_write_fail=0
6320ac_clean_files_save=$ac_clean_files
6321ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6322{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6323$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6324as_write_fail=0
6325cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6326#! $SHELL
6327# Generated by $as_me.
6328# Run this file to recreate the current configuration.
6329# Compiler output produced by configure, useful for debugging
6330# configure, is in config.log if it exists.
6331
6332debug=false
6333ac_cs_recheck=false
6334ac_cs_silent=false
6335
6336SHELL=\${CONFIG_SHELL-$SHELL}
6337export SHELL
6338_ASEOF
6339cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6340## -------------------- ##
6341## M4sh Initialization. ##
6342## -------------------- ##
6343
6344# Be more Bourne compatible
6345DUALCASE=1; export DUALCASE # for MKS sh
6346if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6347  emulate sh
6348  NULLCMD=:
6349  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6350  # is contrary to our usage.  Disable this feature.
6351  alias -g '${1+"$@"}'='"$@"'
6352  setopt NO_GLOB_SUBST
6353else
6354  case `(set -o) 2>/dev/null` in #(
6355  *posix*) :
6356    set -o posix ;; #(
6357  *) :
6358     ;;
6359esac
6360fi
6361
6362
6363as_nl='
6364'
6365export as_nl
6366# Printing a long string crashes Solaris 7 /usr/bin/printf.
6367as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6368as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6369as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6370# Prefer a ksh shell builtin over an external printf program on Solaris,
6371# but without wasting forks for bash or zsh.
6372if test -z "$BASH_VERSION$ZSH_VERSION" \
6373    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6374  as_echo='print -r --'
6375  as_echo_n='print -rn --'
6376elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6377  as_echo='printf %s\n'
6378  as_echo_n='printf %s'
6379else
6380  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6381    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6382    as_echo_n='/usr/ucb/echo -n'
6383  else
6384    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6385    as_echo_n_body='eval
6386      arg=$1;
6387      case $arg in #(
6388      *"$as_nl"*)
6389	expr "X$arg" : "X\\(.*\\)$as_nl";
6390	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6391      esac;
6392      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6393    '
6394    export as_echo_n_body
6395    as_echo_n='sh -c $as_echo_n_body as_echo'
6396  fi
6397  export as_echo_body
6398  as_echo='sh -c $as_echo_body as_echo'
6399fi
6400
6401# The user is always right.
6402if test "${PATH_SEPARATOR+set}" != set; then
6403  PATH_SEPARATOR=:
6404  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6405    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6406      PATH_SEPARATOR=';'
6407  }
6408fi
6409
6410
6411# IFS
6412# We need space, tab and new line, in precisely that order.  Quoting is
6413# there to prevent editors from complaining about space-tab.
6414# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6415# splitting by setting IFS to empty value.)
6416IFS=" ""	$as_nl"
6417
6418# Find who we are.  Look in the path if we contain no directory separator.
6419as_myself=
6420case $0 in #((
6421  *[\\/]* ) as_myself=$0 ;;
6422  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423for as_dir in $PATH
6424do
6425  IFS=$as_save_IFS
6426  test -z "$as_dir" && as_dir=.
6427    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6428  done
6429IFS=$as_save_IFS
6430
6431     ;;
6432esac
6433# We did not find ourselves, most probably we were run as `sh COMMAND'
6434# in which case we are not to be found in the path.
6435if test "x$as_myself" = x; then
6436  as_myself=$0
6437fi
6438if test ! -f "$as_myself"; then
6439  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6440  exit 1
6441fi
6442
6443# Unset variables that we do not need and which cause bugs (e.g. in
6444# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6445# suppresses any "Segmentation fault" message there.  '((' could
6446# trigger a bug in pdksh 5.2.14.
6447for as_var in BASH_ENV ENV MAIL MAILPATH
6448do eval test x\${$as_var+set} = xset \
6449  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6450done
6451PS1='$ '
6452PS2='> '
6453PS4='+ '
6454
6455# NLS nuisances.
6456LC_ALL=C
6457export LC_ALL
6458LANGUAGE=C
6459export LANGUAGE
6460
6461# CDPATH.
6462(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6463
6464
6465# as_fn_error STATUS ERROR [LINENO LOG_FD]
6466# ----------------------------------------
6467# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6468# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6469# script with STATUS, using 1 if that was 0.
6470as_fn_error ()
6471{
6472  as_status=$1; test $as_status -eq 0 && as_status=1
6473  if test "$4"; then
6474    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6475    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6476  fi
6477  $as_echo "$as_me: error: $2" >&2
6478  as_fn_exit $as_status
6479} # as_fn_error
6480
6481
6482# as_fn_set_status STATUS
6483# -----------------------
6484# Set $? to STATUS, without forking.
6485as_fn_set_status ()
6486{
6487  return $1
6488} # as_fn_set_status
6489
6490# as_fn_exit STATUS
6491# -----------------
6492# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6493as_fn_exit ()
6494{
6495  set +e
6496  as_fn_set_status $1
6497  exit $1
6498} # as_fn_exit
6499
6500# as_fn_unset VAR
6501# ---------------
6502# Portably unset VAR.
6503as_fn_unset ()
6504{
6505  { eval $1=; unset $1;}
6506}
6507as_unset=as_fn_unset
6508# as_fn_append VAR VALUE
6509# ----------------------
6510# Append the text in VALUE to the end of the definition contained in VAR. Take
6511# advantage of any shell optimizations that allow amortized linear growth over
6512# repeated appends, instead of the typical quadratic growth present in naive
6513# implementations.
6514if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6515  eval 'as_fn_append ()
6516  {
6517    eval $1+=\$2
6518  }'
6519else
6520  as_fn_append ()
6521  {
6522    eval $1=\$$1\$2
6523  }
6524fi # as_fn_append
6525
6526# as_fn_arith ARG...
6527# ------------------
6528# Perform arithmetic evaluation on the ARGs, and store the result in the
6529# global $as_val. Take advantage of shells that can avoid forks. The arguments
6530# must be portable across $(()) and expr.
6531if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6532  eval 'as_fn_arith ()
6533  {
6534    as_val=$(( $* ))
6535  }'
6536else
6537  as_fn_arith ()
6538  {
6539    as_val=`expr "$@" || test $? -eq 1`
6540  }
6541fi # as_fn_arith
6542
6543
6544if expr a : '\(a\)' >/dev/null 2>&1 &&
6545   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6546  as_expr=expr
6547else
6548  as_expr=false
6549fi
6550
6551if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6552  as_basename=basename
6553else
6554  as_basename=false
6555fi
6556
6557if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6558  as_dirname=dirname
6559else
6560  as_dirname=false
6561fi
6562
6563as_me=`$as_basename -- "$0" ||
6564$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6565	 X"$0" : 'X\(//\)$' \| \
6566	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6567$as_echo X/"$0" |
6568    sed '/^.*\/\([^/][^/]*\)\/*$/{
6569	    s//\1/
6570	    q
6571	  }
6572	  /^X\/\(\/\/\)$/{
6573	    s//\1/
6574	    q
6575	  }
6576	  /^X\/\(\/\).*/{
6577	    s//\1/
6578	    q
6579	  }
6580	  s/.*/./; q'`
6581
6582# Avoid depending upon Character Ranges.
6583as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6584as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6585as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6586as_cr_digits='0123456789'
6587as_cr_alnum=$as_cr_Letters$as_cr_digits
6588
6589ECHO_C= ECHO_N= ECHO_T=
6590case `echo -n x` in #(((((
6591-n*)
6592  case `echo 'xy\c'` in
6593  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6594  xy)  ECHO_C='\c';;
6595  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6596       ECHO_T='	';;
6597  esac;;
6598*)
6599  ECHO_N='-n';;
6600esac
6601
6602rm -f conf$$ conf$$.exe conf$$.file
6603if test -d conf$$.dir; then
6604  rm -f conf$$.dir/conf$$.file
6605else
6606  rm -f conf$$.dir
6607  mkdir conf$$.dir 2>/dev/null
6608fi
6609if (echo >conf$$.file) 2>/dev/null; then
6610  if ln -s conf$$.file conf$$ 2>/dev/null; then
6611    as_ln_s='ln -s'
6612    # ... but there are two gotchas:
6613    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6614    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6615    # In both cases, we have to default to `cp -pR'.
6616    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6617      as_ln_s='cp -pR'
6618  elif ln conf$$.file conf$$ 2>/dev/null; then
6619    as_ln_s=ln
6620  else
6621    as_ln_s='cp -pR'
6622  fi
6623else
6624  as_ln_s='cp -pR'
6625fi
6626rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6627rmdir conf$$.dir 2>/dev/null
6628
6629
6630# as_fn_mkdir_p
6631# -------------
6632# Create "$as_dir" as a directory, including parents if necessary.
6633as_fn_mkdir_p ()
6634{
6635
6636  case $as_dir in #(
6637  -*) as_dir=./$as_dir;;
6638  esac
6639  test -d "$as_dir" || eval $as_mkdir_p || {
6640    as_dirs=
6641    while :; do
6642      case $as_dir in #(
6643      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6644      *) as_qdir=$as_dir;;
6645      esac
6646      as_dirs="'$as_qdir' $as_dirs"
6647      as_dir=`$as_dirname -- "$as_dir" ||
6648$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6649	 X"$as_dir" : 'X\(//\)[^/]' \| \
6650	 X"$as_dir" : 'X\(//\)$' \| \
6651	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6652$as_echo X"$as_dir" |
6653    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6654	    s//\1/
6655	    q
6656	  }
6657	  /^X\(\/\/\)[^/].*/{
6658	    s//\1/
6659	    q
6660	  }
6661	  /^X\(\/\/\)$/{
6662	    s//\1/
6663	    q
6664	  }
6665	  /^X\(\/\).*/{
6666	    s//\1/
6667	    q
6668	  }
6669	  s/.*/./; q'`
6670      test -d "$as_dir" && break
6671    done
6672    test -z "$as_dirs" || eval "mkdir $as_dirs"
6673  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6674
6675
6676} # as_fn_mkdir_p
6677if mkdir -p . 2>/dev/null; then
6678  as_mkdir_p='mkdir -p "$as_dir"'
6679else
6680  test -d ./-p && rmdir ./-p
6681  as_mkdir_p=false
6682fi
6683
6684
6685# as_fn_executable_p FILE
6686# -----------------------
6687# Test if FILE is an executable regular file.
6688as_fn_executable_p ()
6689{
6690  test -f "$1" && test -x "$1"
6691} # as_fn_executable_p
6692as_test_x='test -x'
6693as_executable_p=as_fn_executable_p
6694
6695# Sed expression to map a string onto a valid CPP name.
6696as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6697
6698# Sed expression to map a string onto a valid variable name.
6699as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6700
6701
6702exec 6>&1
6703## ----------------------------------- ##
6704## Main body of $CONFIG_STATUS script. ##
6705## ----------------------------------- ##
6706_ASEOF
6707test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6708
6709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6710# Save the log message, to keep $0 and so on meaningful, and to
6711# report actual input values of CONFIG_FILES etc. instead of their
6712# values after options handling.
6713ac_log="
6714This file was extended by mos_release $as_me version-0.3, which was
6715generated by GNU Autoconf 2.69.  Invocation command line was
6716
6717  CONFIG_FILES    = $CONFIG_FILES
6718  CONFIG_HEADERS  = $CONFIG_HEADERS
6719  CONFIG_LINKS    = $CONFIG_LINKS
6720  CONFIG_COMMANDS = $CONFIG_COMMANDS
6721  $ $0 $@
6722
6723on `(hostname || uname -n) 2>/dev/null | sed 1q`
6724"
6725
6726_ACEOF
6727
6728case $ac_config_files in *"
6729"*) set x $ac_config_files; shift; ac_config_files=$*;;
6730esac
6731
6732
6733
6734cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6735# Files that config.status was made for.
6736config_files="$ac_config_files"
6737
6738_ACEOF
6739
6740cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6741ac_cs_usage="\
6742\`$as_me' instantiates files and other configuration actions
6743from templates according to the current configuration.  Unless the files
6744and actions are specified as TAGs, all are instantiated by default.
6745
6746Usage: $0 [OPTION]... [TAG]...
6747
6748  -h, --help       print this help, then exit
6749  -V, --version    print version number and configuration settings, then exit
6750      --config     print configuration, then exit
6751  -q, --quiet, --silent
6752                   do not print progress messages
6753  -d, --debug      don't remove temporary files
6754      --recheck    update $as_me by reconfiguring in the same conditions
6755      --file=FILE[:TEMPLATE]
6756                   instantiate the configuration file FILE
6757
6758Configuration files:
6759$config_files
6760
6761Report bugs to <[email protected]>."
6762
6763_ACEOF
6764cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6765ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6766ac_cs_version="\\
6767mos_release config.status version-0.3
6768configured by $0, generated by GNU Autoconf 2.69,
6769  with options \\"\$ac_cs_config\\"
6770
6771Copyright (C) 2012 Free Software Foundation, Inc.
6772This config.status script is free software; the Free Software Foundation
6773gives unlimited permission to copy, distribute and modify it."
6774
6775ac_pwd='$ac_pwd'
6776srcdir='$srcdir'
6777test -n "\$AWK" || AWK=awk
6778_ACEOF
6779
6780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6781# The default lists apply if the user does not specify any file.
6782ac_need_defaults=:
6783while test $# != 0
6784do
6785  case $1 in
6786  --*=?*)
6787    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6788    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6789    ac_shift=:
6790    ;;
6791  --*=)
6792    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6793    ac_optarg=
6794    ac_shift=:
6795    ;;
6796  *)
6797    ac_option=$1
6798    ac_optarg=$2
6799    ac_shift=shift
6800    ;;
6801  esac
6802
6803  case $ac_option in
6804  # Handling of the options.
6805  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6806    ac_cs_recheck=: ;;
6807  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6808    $as_echo "$ac_cs_version"; exit ;;
6809  --config | --confi | --conf | --con | --co | --c )
6810    $as_echo "$ac_cs_config"; exit ;;
6811  --debug | --debu | --deb | --de | --d | -d )
6812    debug=: ;;
6813  --file | --fil | --fi | --f )
6814    $ac_shift
6815    case $ac_optarg in
6816    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6817    '') as_fn_error $? "missing file argument" ;;
6818    esac
6819    as_fn_append CONFIG_FILES " '$ac_optarg'"
6820    ac_need_defaults=false;;
6821  --he | --h |  --help | --hel | -h )
6822    $as_echo "$ac_cs_usage"; exit ;;
6823  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6824  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6825    ac_cs_silent=: ;;
6826
6827  # This is an error.
6828  -*) as_fn_error $? "unrecognized option: \`$1'
6829Try \`$0 --help' for more information." ;;
6830
6831  *) as_fn_append ac_config_targets " $1"
6832     ac_need_defaults=false ;;
6833
6834  esac
6835  shift
6836done
6837
6838ac_configure_extra_args=
6839
6840if $ac_cs_silent; then
6841  exec 6>/dev/null
6842  ac_configure_extra_args="$ac_configure_extra_args --silent"
6843fi
6844
6845_ACEOF
6846cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6847if \$ac_cs_recheck; then
6848  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6849  shift
6850  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6851  CONFIG_SHELL='$SHELL'
6852  export CONFIG_SHELL
6853  exec "\$@"
6854fi
6855
6856_ACEOF
6857cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6858exec 5>>config.log
6859{
6860  echo
6861  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6862## Running $as_me. ##
6863_ASBOX
6864  $as_echo "$ac_log"
6865} >&5
6866
6867_ACEOF
6868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6869_ACEOF
6870
6871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6872
6873# Handling of arguments.
6874for ac_config_target in $ac_config_targets
6875do
6876  case $ac_config_target in
6877    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
6878    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
6879    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
6880
6881  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6882  esac
6883done
6884
6885
6886# If the user did not use the arguments to specify the items to instantiate,
6887# then the envvar interface is used.  Set only those that are not.
6888# We use the long form for the default assignment because of an extremely
6889# bizarre bug on SunOS 4.1.3.
6890if $ac_need_defaults; then
6891  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6892fi
6893
6894# Have a temporary directory for convenience.  Make it in the build tree
6895# simply because there is no reason against having it here, and in addition,
6896# creating and moving files from /tmp can sometimes cause problems.
6897# Hook for its removal unless debugging.
6898# Note that there is a small window in which the directory will not be cleaned:
6899# after its creation but before its name has been assigned to `$tmp'.
6900$debug ||
6901{
6902  tmp= ac_tmp=
6903  trap 'exit_status=$?
6904  : "${ac_tmp:=$tmp}"
6905  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6906' 0
6907  trap 'as_fn_exit 1' 1 2 13 15
6908}
6909# Create a (secure) tmp directory for tmp files.
6910
6911{
6912  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6913  test -d "$tmp"
6914}  ||
6915{
6916  tmp=./conf$$-$RANDOM
6917  (umask 077 && mkdir "$tmp")
6918} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6919ac_tmp=$tmp
6920
6921# Set up the scripts for CONFIG_FILES section.
6922# No need to generate them if there are no CONFIG_FILES.
6923# This happens for instance with `./config.status config.h'.
6924if test -n "$CONFIG_FILES"; then
6925
6926
6927ac_cr=`echo X | tr X '\015'`
6928# On cygwin, bash can eat \r inside `` if the user requested igncr.
6929# But we know of no other shell where ac_cr would be empty at this
6930# point, so we can use a bashism as a fallback.
6931if test "x$ac_cr" = x; then
6932  eval ac_cr=\$\'\\r\'
6933fi
6934ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6935if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6936  ac_cs_awk_cr='\\r'
6937else
6938  ac_cs_awk_cr=$ac_cr
6939fi
6940
6941echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6942_ACEOF
6943
6944
6945{
6946  echo "cat >conf$$subs.awk <<_ACEOF" &&
6947  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6948  echo "_ACEOF"
6949} >conf$$subs.sh ||
6950  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6951ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6952ac_delim='%!_!# '
6953for ac_last_try in false false false false false :; do
6954  . ./conf$$subs.sh ||
6955    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6956
6957  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6958  if test $ac_delim_n = $ac_delim_num; then
6959    break
6960  elif $ac_last_try; then
6961    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6962  else
6963    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6964  fi
6965done
6966rm -f conf$$subs.sh
6967
6968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6969cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6970_ACEOF
6971sed -n '
6972h
6973s/^/S["/; s/!.*/"]=/
6974p
6975g
6976s/^[^!]*!//
6977:repl
6978t repl
6979s/'"$ac_delim"'$//
6980t delim
6981:nl
6982h
6983s/\(.\{148\}\)..*/\1/
6984t more1
6985s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6986p
6987n
6988b repl
6989:more1
6990s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6991p
6992g
6993s/.\{148\}//
6994t nl
6995:delim
6996h
6997s/\(.\{148\}\)..*/\1/
6998t more2
6999s/["\\]/\\&/g; s/^/"/; s/$/"/
7000p
7001b
7002:more2
7003s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7004p
7005g
7006s/.\{148\}//
7007t delim
7008' <conf$$subs.awk | sed '
7009/^[^""]/{
7010  N
7011  s/\n//
7012}
7013' >>$CONFIG_STATUS || ac_write_fail=1
7014rm -f conf$$subs.awk
7015cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7016_ACAWK
7017cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7018  for (key in S) S_is_set[key] = 1
7019  FS = ""
7020
7021}
7022{
7023  line = $ 0
7024  nfields = split(line, field, "@")
7025  substed = 0
7026  len = length(field[1])
7027  for (i = 2; i < nfields; i++) {
7028    key = field[i]
7029    keylen = length(key)
7030    if (S_is_set[key]) {
7031      value = S[key]
7032      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7033      len += length(value) + length(field[++i])
7034      substed = 1
7035    } else
7036      len += 1 + keylen
7037  }
7038
7039  print line
7040}
7041
7042_ACAWK
7043_ACEOF
7044cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7045if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7046  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7047else
7048  cat
7049fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7050  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7051_ACEOF
7052
7053# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7054# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7055# trailing colons and then remove the whole line if VPATH becomes empty
7056# (actually we leave an empty line to preserve line numbers).
7057if test "x$srcdir" = x.; then
7058  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
7059h
7060s///
7061s/^/:/
7062s/[	 ]*$/:/
7063s/:\$(srcdir):/:/g
7064s/:\${srcdir}:/:/g
7065s/:@srcdir@:/:/g
7066s/^:*//
7067s/:*$//
7068x
7069s/\(=[	 ]*\).*/\1/
7070G
7071s/\n//
7072s/^[^=]*=[	 ]*$//
7073}'
7074fi
7075
7076cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7077fi # test -n "$CONFIG_FILES"
7078
7079
7080eval set X "  :F $CONFIG_FILES      "
7081shift
7082for ac_tag
7083do
7084  case $ac_tag in
7085  :[FHLC]) ac_mode=$ac_tag; continue;;
7086  esac
7087  case $ac_mode$ac_tag in
7088  :[FHL]*:*);;
7089  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7090  :[FH]-) ac_tag=-:-;;
7091  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7092  esac
7093  ac_save_IFS=$IFS
7094  IFS=:
7095  set x $ac_tag
7096  IFS=$ac_save_IFS
7097  shift
7098  ac_file=$1
7099  shift
7100
7101  case $ac_mode in
7102  :L) ac_source=$1;;
7103  :[FH])
7104    ac_file_inputs=
7105    for ac_f
7106    do
7107      case $ac_f in
7108      -) ac_f="$ac_tmp/stdin";;
7109      *) # Look for the file first in the build tree, then in the source tree
7110	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7111	 # because $ac_f cannot contain `:'.
7112	 test -f "$ac_f" ||
7113	   case $ac_f in
7114	   [\\/$]*) false;;
7115	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7116	   esac ||
7117	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7118      esac
7119      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7120      as_fn_append ac_file_inputs " '$ac_f'"
7121    done
7122
7123    # Let's still pretend it is `configure' which instantiates (i.e., don't
7124    # use $as_me), people would be surprised to read:
7125    #    /* config.h.  Generated by config.status.  */
7126    configure_input='Generated from '`
7127	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7128	`' by configure.'
7129    if test x"$ac_file" != x-; then
7130      configure_input="$ac_file.  $configure_input"
7131      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7132$as_echo "$as_me: creating $ac_file" >&6;}
7133    fi
7134    # Neutralize special characters interpreted by sed in replacement strings.
7135    case $configure_input in #(
7136    *\&* | *\|* | *\\* )
7137       ac_sed_conf_input=`$as_echo "$configure_input" |
7138       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7139    *) ac_sed_conf_input=$configure_input;;
7140    esac
7141
7142    case $ac_tag in
7143    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7144      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7145    esac
7146    ;;
7147  esac
7148
7149  ac_dir=`$as_dirname -- "$ac_file" ||
7150$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7151	 X"$ac_file" : 'X\(//\)[^/]' \| \
7152	 X"$ac_file" : 'X\(//\)$' \| \
7153	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7154$as_echo X"$ac_file" |
7155    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7156	    s//\1/
7157	    q
7158	  }
7159	  /^X\(\/\/\)[^/].*/{
7160	    s//\1/
7161	    q
7162	  }
7163	  /^X\(\/\/\)$/{
7164	    s//\1/
7165	    q
7166	  }
7167	  /^X\(\/\).*/{
7168	    s//\1/
7169	    q
7170	  }
7171	  s/.*/./; q'`
7172  as_dir="$ac_dir"; as_fn_mkdir_p
7173  ac_builddir=.
7174
7175case "$ac_dir" in
7176.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7177*)
7178  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7179  # A ".." for each directory in $ac_dir_suffix.
7180  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7181  case $ac_top_builddir_sub in
7182  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7183  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7184  esac ;;
7185esac
7186ac_abs_top_builddir=$ac_pwd
7187ac_abs_builddir=$ac_pwd$ac_dir_suffix
7188# for backward compatibility:
7189ac_top_builddir=$ac_top_build_prefix
7190
7191case $srcdir in
7192  .)  # We are building in place.
7193    ac_srcdir=.
7194    ac_top_srcdir=$ac_top_builddir_sub
7195    ac_abs_top_srcdir=$ac_pwd ;;
7196  [\\/]* | ?:[\\/]* )  # Absolute name.
7197    ac_srcdir=$srcdir$ac_dir_suffix;
7198    ac_top_srcdir=$srcdir
7199    ac_abs_top_srcdir=$srcdir ;;
7200  *) # Relative name.
7201    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7202    ac_top_srcdir=$ac_top_build_prefix$srcdir
7203    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7204esac
7205ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7206
7207
7208  case $ac_mode in
7209  :F)
7210  #
7211  # CONFIG_FILE
7212  #
7213
7214_ACEOF
7215
7216cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7217# If the template does not know about datarootdir, expand it.
7218# FIXME: This hack should be removed a few years after 2.60.
7219ac_datarootdir_hack=; ac_datarootdir_seen=
7220ac_sed_dataroot='
7221/datarootdir/ {
7222  p
7223  q
7224}
7225/@datadir@/p
7226/@docdir@/p
7227/@infodir@/p
7228/@localedir@/p
7229/@mandir@/p'
7230case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7231*datarootdir*) ac_datarootdir_seen=yes;;
7232*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7233  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7234$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7235_ACEOF
7236cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7237  ac_datarootdir_hack='
7238  s&@datadir@&$datadir&g
7239  s&@docdir@&$docdir&g
7240  s&@infodir@&$infodir&g
7241  s&@localedir@&$localedir&g
7242  s&@mandir@&$mandir&g
7243  s&\\\${datarootdir}&$datarootdir&g' ;;
7244esac
7245_ACEOF
7246
7247# Neutralize VPATH when `$srcdir' = `.'.
7248# Shell code in configure.ac might set extrasub.
7249# FIXME: do we really want to maintain this feature?
7250cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7251ac_sed_extra="$ac_vpsub
7252$extrasub
7253_ACEOF
7254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7255:t
7256/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7257s|@configure_input@|$ac_sed_conf_input|;t t
7258s&@top_builddir@&$ac_top_builddir_sub&;t t
7259s&@top_build_prefix@&$ac_top_build_prefix&;t t
7260s&@srcdir@&$ac_srcdir&;t t
7261s&@abs_srcdir@&$ac_abs_srcdir&;t t
7262s&@top_srcdir@&$ac_top_srcdir&;t t
7263s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7264s&@builddir@&$ac_builddir&;t t
7265s&@abs_builddir@&$ac_abs_builddir&;t t
7266s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7267$ac_datarootdir_hack
7268"
7269eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7270  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7271
7272test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7273  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7274  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7275      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7276  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7277which seems to be undefined.  Please make sure it is defined" >&5
7278$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7279which seems to be undefined.  Please make sure it is defined" >&2;}
7280
7281  rm -f "$ac_tmp/stdin"
7282  case $ac_file in
7283  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7284  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7285  esac \
7286  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7287 ;;
7288
7289
7290
7291  esac
7292
7293done # for ac_tag
7294
7295
7296as_fn_exit 0
7297_ACEOF
7298ac_clean_files=$ac_clean_files_save
7299
7300test $ac_write_fail = 0 ||
7301  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7302
7303
7304# configure is writing to config.log, and then calls config.status.
7305# config.status does its own redirection, appending to config.log.
7306# Unfortunately, on DOS this fails, as config.log is still kept open
7307# by configure, so config.status won't be able to write to it; its
7308# output is simply discarded.  So we exec the FD to /dev/null,
7309# effectively closing config.log, so it can be properly (re)opened and
7310# appended to by config.status.  When coming back to configure, we
7311# need to make the FD available again.
7312if test "$no_create" != yes; then
7313  ac_cs_success=:
7314  ac_config_status_args=
7315  test "$silent" = yes &&
7316    ac_config_status_args="$ac_config_status_args --quiet"
7317  exec 5>/dev/null
7318  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7319  exec 5>>config.log
7320  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7321  # would make configure fail if this is the last instruction.
7322  $ac_cs_success || as_fn_exit 1
7323fi
7324if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7325  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7326$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7327fi
7328
7329ac_config_files="$ac_config_files ../samples/midstat/Makefile"
7330
7331cat >confcache <<\_ACEOF
7332# This file is a shell script that caches the results of configure
7333# tests run on this system so they can be shared between configure
7334# scripts and configure runs, see configure's option --config-cache.
7335# It is not useful on other systems.  If it contains results you don't
7336# want to keep, you may remove or edit it.
7337#
7338# config.status only pays attention to the cache file if you give it
7339# the --recheck option to rerun configure.
7340#
7341# `ac_cv_env_foo' variables (set or unset) will be overridden when
7342# loading this file, other *unset* `ac_cv_foo' will be assigned the
7343# following values.
7344
7345_ACEOF
7346
7347# The following way of writing the cache mishandles newlines in values,
7348# but we know of no workaround that is simple, portable, and efficient.
7349# So, we kill variables containing newlines.
7350# Ultrix sh set writes to stderr and can't be redirected directly,
7351# and sets the high bit in the cache file unless we assign to the vars.
7352(
7353  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7354    eval ac_val=\$$ac_var
7355    case $ac_val in #(
7356    *${as_nl}*)
7357      case $ac_var in #(
7358      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7359$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7360      esac
7361      case $ac_var in #(
7362      _ | IFS | as_nl) ;; #(
7363      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7364      *) { eval $ac_var=; unset $ac_var;} ;;
7365      esac ;;
7366    esac
7367  done
7368
7369  (set) 2>&1 |
7370    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7371    *${as_nl}ac_space=\ *)
7372      # `set' does not quote correctly, so add quotes: double-quote
7373      # substitution turns \\\\ into \\, and sed turns \\ into \.
7374      sed -n \
7375	"s/'/'\\\\''/g;
7376	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7377      ;; #(
7378    *)
7379      # `set' quotes correctly as required by POSIX, so do not add quotes.
7380      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7381      ;;
7382    esac |
7383    sort
7384) |
7385  sed '
7386     /^ac_cv_env_/b end
7387     t clear
7388     :clear
7389     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7390     t end
7391     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7392     :end' >>confcache
7393if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7394  if test -w "$cache_file"; then
7395    if test "x$cache_file" != "x/dev/null"; then
7396      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7397$as_echo "$as_me: updating cache $cache_file" >&6;}
7398      if test ! -f "$cache_file" || test -h "$cache_file"; then
7399	cat confcache >"$cache_file"
7400      else
7401        case $cache_file in #(
7402        */* | ?:*)
7403	  mv -f confcache "$cache_file"$$ &&
7404	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7405        *)
7406	  mv -f confcache "$cache_file" ;;
7407	esac
7408      fi
7409    fi
7410  else
7411    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7412$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7413  fi
7414fi
7415rm -f confcache
7416
7417test "x$prefix" = xNONE && prefix=$ac_default_prefix
7418# Let make expand exec_prefix.
7419test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7420
7421# Transform confdefs.h into DEFS.
7422# Protect against shell expansion while executing Makefile rules.
7423# Protect against Makefile macro expansion.
7424#
7425# If the first sed substitution is executed (which looks for macros that
7426# take arguments), then branch to the quote section.  Otherwise,
7427# look for a macro that doesn't take arguments.
7428ac_script='
7429:mline
7430/\\$/{
7431 N
7432 s,\\\n,,
7433 b mline
7434}
7435t clear
7436:clear
7437s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
7438t quote
7439s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
7440t quote
7441b any
7442:quote
7443s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7444s/\[/\\&/g
7445s/\]/\\&/g
7446s/\$/$$/g
7447H
7448:any
7449${
7450	g
7451	s/^\n//
7452	s/\n/ /g
7453	p
7454}
7455'
7456DEFS=`sed -n "$ac_script" confdefs.h`
7457
7458
7459ac_libobjs=
7460ac_ltlibobjs=
7461U=
7462for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7463  # 1. Remove the extension, and $U if already installed.
7464  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7465  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7466  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7467  #    will be set to the directory where LIBOBJS objects are built.
7468  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7469  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7470done
7471LIBOBJS=$ac_libobjs
7472
7473LTLIBOBJS=$ac_ltlibobjs
7474
7475
7476
7477: "${CONFIG_STATUS=./config.status}"
7478ac_write_fail=0
7479ac_clean_files_save=$ac_clean_files
7480ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7482$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7483as_write_fail=0
7484cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7485#! $SHELL
7486# Generated by $as_me.
7487# Run this file to recreate the current configuration.
7488# Compiler output produced by configure, useful for debugging
7489# configure, is in config.log if it exists.
7490
7491debug=false
7492ac_cs_recheck=false
7493ac_cs_silent=false
7494
7495SHELL=\${CONFIG_SHELL-$SHELL}
7496export SHELL
7497_ASEOF
7498cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7499## -------------------- ##
7500## M4sh Initialization. ##
7501## -------------------- ##
7502
7503# Be more Bourne compatible
7504DUALCASE=1; export DUALCASE # for MKS sh
7505if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7506  emulate sh
7507  NULLCMD=:
7508  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7509  # is contrary to our usage.  Disable this feature.
7510  alias -g '${1+"$@"}'='"$@"'
7511  setopt NO_GLOB_SUBST
7512else
7513  case `(set -o) 2>/dev/null` in #(
7514  *posix*) :
7515    set -o posix ;; #(
7516  *) :
7517     ;;
7518esac
7519fi
7520
7521
7522as_nl='
7523'
7524export as_nl
7525# Printing a long string crashes Solaris 7 /usr/bin/printf.
7526as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7527as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7528as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7529# Prefer a ksh shell builtin over an external printf program on Solaris,
7530# but without wasting forks for bash or zsh.
7531if test -z "$BASH_VERSION$ZSH_VERSION" \
7532    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7533  as_echo='print -r --'
7534  as_echo_n='print -rn --'
7535elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7536  as_echo='printf %s\n'
7537  as_echo_n='printf %s'
7538else
7539  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7540    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7541    as_echo_n='/usr/ucb/echo -n'
7542  else
7543    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7544    as_echo_n_body='eval
7545      arg=$1;
7546      case $arg in #(
7547      *"$as_nl"*)
7548	expr "X$arg" : "X\\(.*\\)$as_nl";
7549	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7550      esac;
7551      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7552    '
7553    export as_echo_n_body
7554    as_echo_n='sh -c $as_echo_n_body as_echo'
7555  fi
7556  export as_echo_body
7557  as_echo='sh -c $as_echo_body as_echo'
7558fi
7559
7560# The user is always right.
7561if test "${PATH_SEPARATOR+set}" != set; then
7562  PATH_SEPARATOR=:
7563  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7564    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7565      PATH_SEPARATOR=';'
7566  }
7567fi
7568
7569
7570# IFS
7571# We need space, tab and new line, in precisely that order.  Quoting is
7572# there to prevent editors from complaining about space-tab.
7573# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7574# splitting by setting IFS to empty value.)
7575IFS=" ""	$as_nl"
7576
7577# Find who we are.  Look in the path if we contain no directory separator.
7578as_myself=
7579case $0 in #((
7580  *[\\/]* ) as_myself=$0 ;;
7581  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582for as_dir in $PATH
7583do
7584  IFS=$as_save_IFS
7585  test -z "$as_dir" && as_dir=.
7586    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7587  done
7588IFS=$as_save_IFS
7589
7590     ;;
7591esac
7592# We did not find ourselves, most probably we were run as `sh COMMAND'
7593# in which case we are not to be found in the path.
7594if test "x$as_myself" = x; then
7595  as_myself=$0
7596fi
7597if test ! -f "$as_myself"; then
7598  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7599  exit 1
7600fi
7601
7602# Unset variables that we do not need and which cause bugs (e.g. in
7603# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7604# suppresses any "Segmentation fault" message there.  '((' could
7605# trigger a bug in pdksh 5.2.14.
7606for as_var in BASH_ENV ENV MAIL MAILPATH
7607do eval test x\${$as_var+set} = xset \
7608  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7609done
7610PS1='$ '
7611PS2='> '
7612PS4='+ '
7613
7614# NLS nuisances.
7615LC_ALL=C
7616export LC_ALL
7617LANGUAGE=C
7618export LANGUAGE
7619
7620# CDPATH.
7621(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7622
7623
7624# as_fn_error STATUS ERROR [LINENO LOG_FD]
7625# ----------------------------------------
7626# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7627# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7628# script with STATUS, using 1 if that was 0.
7629as_fn_error ()
7630{
7631  as_status=$1; test $as_status -eq 0 && as_status=1
7632  if test "$4"; then
7633    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7634    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7635  fi
7636  $as_echo "$as_me: error: $2" >&2
7637  as_fn_exit $as_status
7638} # as_fn_error
7639
7640
7641# as_fn_set_status STATUS
7642# -----------------------
7643# Set $? to STATUS, without forking.
7644as_fn_set_status ()
7645{
7646  return $1
7647} # as_fn_set_status
7648
7649# as_fn_exit STATUS
7650# -----------------
7651# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7652as_fn_exit ()
7653{
7654  set +e
7655  as_fn_set_status $1
7656  exit $1
7657} # as_fn_exit
7658
7659# as_fn_unset VAR
7660# ---------------
7661# Portably unset VAR.
7662as_fn_unset ()
7663{
7664  { eval $1=; unset $1;}
7665}
7666as_unset=as_fn_unset
7667# as_fn_append VAR VALUE
7668# ----------------------
7669# Append the text in VALUE to the end of the definition contained in VAR. Take
7670# advantage of any shell optimizations that allow amortized linear growth over
7671# repeated appends, instead of the typical quadratic growth present in naive
7672# implementations.
7673if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7674  eval 'as_fn_append ()
7675  {
7676    eval $1+=\$2
7677  }'
7678else
7679  as_fn_append ()
7680  {
7681    eval $1=\$$1\$2
7682  }
7683fi # as_fn_append
7684
7685# as_fn_arith ARG...
7686# ------------------
7687# Perform arithmetic evaluation on the ARGs, and store the result in the
7688# global $as_val. Take advantage of shells that can avoid forks. The arguments
7689# must be portable across $(()) and expr.
7690if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7691  eval 'as_fn_arith ()
7692  {
7693    as_val=$(( $* ))
7694  }'
7695else
7696  as_fn_arith ()
7697  {
7698    as_val=`expr "$@" || test $? -eq 1`
7699  }
7700fi # as_fn_arith
7701
7702
7703if expr a : '\(a\)' >/dev/null 2>&1 &&
7704   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7705  as_expr=expr
7706else
7707  as_expr=false
7708fi
7709
7710if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7711  as_basename=basename
7712else
7713  as_basename=false
7714fi
7715
7716if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7717  as_dirname=dirname
7718else
7719  as_dirname=false
7720fi
7721
7722as_me=`$as_basename -- "$0" ||
7723$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7724	 X"$0" : 'X\(//\)$' \| \
7725	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7726$as_echo X/"$0" |
7727    sed '/^.*\/\([^/][^/]*\)\/*$/{
7728	    s//\1/
7729	    q
7730	  }
7731	  /^X\/\(\/\/\)$/{
7732	    s//\1/
7733	    q
7734	  }
7735	  /^X\/\(\/\).*/{
7736	    s//\1/
7737	    q
7738	  }
7739	  s/.*/./; q'`
7740
7741# Avoid depending upon Character Ranges.
7742as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7743as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7744as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7745as_cr_digits='0123456789'
7746as_cr_alnum=$as_cr_Letters$as_cr_digits
7747
7748ECHO_C= ECHO_N= ECHO_T=
7749case `echo -n x` in #(((((
7750-n*)
7751  case `echo 'xy\c'` in
7752  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7753  xy)  ECHO_C='\c';;
7754  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7755       ECHO_T='	';;
7756  esac;;
7757*)
7758  ECHO_N='-n';;
7759esac
7760
7761rm -f conf$$ conf$$.exe conf$$.file
7762if test -d conf$$.dir; then
7763  rm -f conf$$.dir/conf$$.file
7764else
7765  rm -f conf$$.dir
7766  mkdir conf$$.dir 2>/dev/null
7767fi
7768if (echo >conf$$.file) 2>/dev/null; then
7769  if ln -s conf$$.file conf$$ 2>/dev/null; then
7770    as_ln_s='ln -s'
7771    # ... but there are two gotchas:
7772    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7773    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7774    # In both cases, we have to default to `cp -pR'.
7775    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7776      as_ln_s='cp -pR'
7777  elif ln conf$$.file conf$$ 2>/dev/null; then
7778    as_ln_s=ln
7779  else
7780    as_ln_s='cp -pR'
7781  fi
7782else
7783  as_ln_s='cp -pR'
7784fi
7785rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7786rmdir conf$$.dir 2>/dev/null
7787
7788
7789# as_fn_mkdir_p
7790# -------------
7791# Create "$as_dir" as a directory, including parents if necessary.
7792as_fn_mkdir_p ()
7793{
7794
7795  case $as_dir in #(
7796  -*) as_dir=./$as_dir;;
7797  esac
7798  test -d "$as_dir" || eval $as_mkdir_p || {
7799    as_dirs=
7800    while :; do
7801      case $as_dir in #(
7802      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7803      *) as_qdir=$as_dir;;
7804      esac
7805      as_dirs="'$as_qdir' $as_dirs"
7806      as_dir=`$as_dirname -- "$as_dir" ||
7807$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7808	 X"$as_dir" : 'X\(//\)[^/]' \| \
7809	 X"$as_dir" : 'X\(//\)$' \| \
7810	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7811$as_echo X"$as_dir" |
7812    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7813	    s//\1/
7814	    q
7815	  }
7816	  /^X\(\/\/\)[^/].*/{
7817	    s//\1/
7818	    q
7819	  }
7820	  /^X\(\/\/\)$/{
7821	    s//\1/
7822	    q
7823	  }
7824	  /^X\(\/\).*/{
7825	    s//\1/
7826	    q
7827	  }
7828	  s/.*/./; q'`
7829      test -d "$as_dir" && break
7830    done
7831    test -z "$as_dirs" || eval "mkdir $as_dirs"
7832  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7833
7834
7835} # as_fn_mkdir_p
7836if mkdir -p . 2>/dev/null; then
7837  as_mkdir_p='mkdir -p "$as_dir"'
7838else
7839  test -d ./-p && rmdir ./-p
7840  as_mkdir_p=false
7841fi
7842
7843
7844# as_fn_executable_p FILE
7845# -----------------------
7846# Test if FILE is an executable regular file.
7847as_fn_executable_p ()
7848{
7849  test -f "$1" && test -x "$1"
7850} # as_fn_executable_p
7851as_test_x='test -x'
7852as_executable_p=as_fn_executable_p
7853
7854# Sed expression to map a string onto a valid CPP name.
7855as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7856
7857# Sed expression to map a string onto a valid variable name.
7858as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7859
7860
7861exec 6>&1
7862## ----------------------------------- ##
7863## Main body of $CONFIG_STATUS script. ##
7864## ----------------------------------- ##
7865_ASEOF
7866test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7867
7868cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7869# Save the log message, to keep $0 and so on meaningful, and to
7870# report actual input values of CONFIG_FILES etc. instead of their
7871# values after options handling.
7872ac_log="
7873This file was extended by mos_release $as_me version-0.3, which was
7874generated by GNU Autoconf 2.69.  Invocation command line was
7875
7876  CONFIG_FILES    = $CONFIG_FILES
7877  CONFIG_HEADERS  = $CONFIG_HEADERS
7878  CONFIG_LINKS    = $CONFIG_LINKS
7879  CONFIG_COMMANDS = $CONFIG_COMMANDS
7880  $ $0 $@
7881
7882on `(hostname || uname -n) 2>/dev/null | sed 1q`
7883"
7884
7885_ACEOF
7886
7887case $ac_config_files in *"
7888"*) set x $ac_config_files; shift; ac_config_files=$*;;
7889esac
7890
7891
7892
7893cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7894# Files that config.status was made for.
7895config_files="$ac_config_files"
7896
7897_ACEOF
7898
7899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7900ac_cs_usage="\
7901\`$as_me' instantiates files and other configuration actions
7902from templates according to the current configuration.  Unless the files
7903and actions are specified as TAGs, all are instantiated by default.
7904
7905Usage: $0 [OPTION]... [TAG]...
7906
7907  -h, --help       print this help, then exit
7908  -V, --version    print version number and configuration settings, then exit
7909      --config     print configuration, then exit
7910  -q, --quiet, --silent
7911                   do not print progress messages
7912  -d, --debug      don't remove temporary files
7913      --recheck    update $as_me by reconfiguring in the same conditions
7914      --file=FILE[:TEMPLATE]
7915                   instantiate the configuration file FILE
7916
7917Configuration files:
7918$config_files
7919
7920Report bugs to <[email protected]>."
7921
7922_ACEOF
7923cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7924ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7925ac_cs_version="\\
7926mos_release config.status version-0.3
7927configured by $0, generated by GNU Autoconf 2.69,
7928  with options \\"\$ac_cs_config\\"
7929
7930Copyright (C) 2012 Free Software Foundation, Inc.
7931This config.status script is free software; the Free Software Foundation
7932gives unlimited permission to copy, distribute and modify it."
7933
7934ac_pwd='$ac_pwd'
7935srcdir='$srcdir'
7936test -n "\$AWK" || AWK=awk
7937_ACEOF
7938
7939cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7940# The default lists apply if the user does not specify any file.
7941ac_need_defaults=:
7942while test $# != 0
7943do
7944  case $1 in
7945  --*=?*)
7946    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7947    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7948    ac_shift=:
7949    ;;
7950  --*=)
7951    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7952    ac_optarg=
7953    ac_shift=:
7954    ;;
7955  *)
7956    ac_option=$1
7957    ac_optarg=$2
7958    ac_shift=shift
7959    ;;
7960  esac
7961
7962  case $ac_option in
7963  # Handling of the options.
7964  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7965    ac_cs_recheck=: ;;
7966  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7967    $as_echo "$ac_cs_version"; exit ;;
7968  --config | --confi | --conf | --con | --co | --c )
7969    $as_echo "$ac_cs_config"; exit ;;
7970  --debug | --debu | --deb | --de | --d | -d )
7971    debug=: ;;
7972  --file | --fil | --fi | --f )
7973    $ac_shift
7974    case $ac_optarg in
7975    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7976    '') as_fn_error $? "missing file argument" ;;
7977    esac
7978    as_fn_append CONFIG_FILES " '$ac_optarg'"
7979    ac_need_defaults=false;;
7980  --he | --h |  --help | --hel | -h )
7981    $as_echo "$ac_cs_usage"; exit ;;
7982  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7983  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7984    ac_cs_silent=: ;;
7985
7986  # This is an error.
7987  -*) as_fn_error $? "unrecognized option: \`$1'
7988Try \`$0 --help' for more information." ;;
7989
7990  *) as_fn_append ac_config_targets " $1"
7991     ac_need_defaults=false ;;
7992
7993  esac
7994  shift
7995done
7996
7997ac_configure_extra_args=
7998
7999if $ac_cs_silent; then
8000  exec 6>/dev/null
8001  ac_configure_extra_args="$ac_configure_extra_args --silent"
8002fi
8003
8004_ACEOF
8005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8006if \$ac_cs_recheck; then
8007  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8008  shift
8009  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8010  CONFIG_SHELL='$SHELL'
8011  export CONFIG_SHELL
8012  exec "\$@"
8013fi
8014
8015_ACEOF
8016cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8017exec 5>>config.log
8018{
8019  echo
8020  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8021## Running $as_me. ##
8022_ASBOX
8023  $as_echo "$ac_log"
8024} >&5
8025
8026_ACEOF
8027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8028_ACEOF
8029
8030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8031
8032# Handling of arguments.
8033for ac_config_target in $ac_config_targets
8034do
8035  case $ac_config_target in
8036    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
8037    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
8038    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
8039    "../samples/midstat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/midstat/Makefile" ;;
8040
8041  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8042  esac
8043done
8044
8045
8046# If the user did not use the arguments to specify the items to instantiate,
8047# then the envvar interface is used.  Set only those that are not.
8048# We use the long form for the default assignment because of an extremely
8049# bizarre bug on SunOS 4.1.3.
8050if $ac_need_defaults; then
8051  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8052fi
8053
8054# Have a temporary directory for convenience.  Make it in the build tree
8055# simply because there is no reason against having it here, and in addition,
8056# creating and moving files from /tmp can sometimes cause problems.
8057# Hook for its removal unless debugging.
8058# Note that there is a small window in which the directory will not be cleaned:
8059# after its creation but before its name has been assigned to `$tmp'.
8060$debug ||
8061{
8062  tmp= ac_tmp=
8063  trap 'exit_status=$?
8064  : "${ac_tmp:=$tmp}"
8065  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8066' 0
8067  trap 'as_fn_exit 1' 1 2 13 15
8068}
8069# Create a (secure) tmp directory for tmp files.
8070
8071{
8072  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8073  test -d "$tmp"
8074}  ||
8075{
8076  tmp=./conf$$-$RANDOM
8077  (umask 077 && mkdir "$tmp")
8078} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8079ac_tmp=$tmp
8080
8081# Set up the scripts for CONFIG_FILES section.
8082# No need to generate them if there are no CONFIG_FILES.
8083# This happens for instance with `./config.status config.h'.
8084if test -n "$CONFIG_FILES"; then
8085
8086
8087ac_cr=`echo X | tr X '\015'`
8088# On cygwin, bash can eat \r inside `` if the user requested igncr.
8089# But we know of no other shell where ac_cr would be empty at this
8090# point, so we can use a bashism as a fallback.
8091if test "x$ac_cr" = x; then
8092  eval ac_cr=\$\'\\r\'
8093fi
8094ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8095if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8096  ac_cs_awk_cr='\\r'
8097else
8098  ac_cs_awk_cr=$ac_cr
8099fi
8100
8101echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8102_ACEOF
8103
8104
8105{
8106  echo "cat >conf$$subs.awk <<_ACEOF" &&
8107  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8108  echo "_ACEOF"
8109} >conf$$subs.sh ||
8110  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8111ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8112ac_delim='%!_!# '
8113for ac_last_try in false false false false false :; do
8114  . ./conf$$subs.sh ||
8115    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8116
8117  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8118  if test $ac_delim_n = $ac_delim_num; then
8119    break
8120  elif $ac_last_try; then
8121    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8122  else
8123    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8124  fi
8125done
8126rm -f conf$$subs.sh
8127
8128cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8129cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8130_ACEOF
8131sed -n '
8132h
8133s/^/S["/; s/!.*/"]=/
8134p
8135g
8136s/^[^!]*!//
8137:repl
8138t repl
8139s/'"$ac_delim"'$//
8140t delim
8141:nl
8142h
8143s/\(.\{148\}\)..*/\1/
8144t more1
8145s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8146p
8147n
8148b repl
8149:more1
8150s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8151p
8152g
8153s/.\{148\}//
8154t nl
8155:delim
8156h
8157s/\(.\{148\}\)..*/\1/
8158t more2
8159s/["\\]/\\&/g; s/^/"/; s/$/"/
8160p
8161b
8162:more2
8163s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8164p
8165g
8166s/.\{148\}//
8167t delim
8168' <conf$$subs.awk | sed '
8169/^[^""]/{
8170  N
8171  s/\n//
8172}
8173' >>$CONFIG_STATUS || ac_write_fail=1
8174rm -f conf$$subs.awk
8175cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8176_ACAWK
8177cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8178  for (key in S) S_is_set[key] = 1
8179  FS = ""
8180
8181}
8182{
8183  line = $ 0
8184  nfields = split(line, field, "@")
8185  substed = 0
8186  len = length(field[1])
8187  for (i = 2; i < nfields; i++) {
8188    key = field[i]
8189    keylen = length(key)
8190    if (S_is_set[key]) {
8191      value = S[key]
8192      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8193      len += length(value) + length(field[++i])
8194      substed = 1
8195    } else
8196      len += 1 + keylen
8197  }
8198
8199  print line
8200}
8201
8202_ACAWK
8203_ACEOF
8204cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8205if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8206  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8207else
8208  cat
8209fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8210  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8211_ACEOF
8212
8213# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8214# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8215# trailing colons and then remove the whole line if VPATH becomes empty
8216# (actually we leave an empty line to preserve line numbers).
8217if test "x$srcdir" = x.; then
8218  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8219h
8220s///
8221s/^/:/
8222s/[	 ]*$/:/
8223s/:\$(srcdir):/:/g
8224s/:\${srcdir}:/:/g
8225s/:@srcdir@:/:/g
8226s/^:*//
8227s/:*$//
8228x
8229s/\(=[	 ]*\).*/\1/
8230G
8231s/\n//
8232s/^[^=]*=[	 ]*$//
8233}'
8234fi
8235
8236cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8237fi # test -n "$CONFIG_FILES"
8238
8239
8240eval set X "  :F $CONFIG_FILES      "
8241shift
8242for ac_tag
8243do
8244  case $ac_tag in
8245  :[FHLC]) ac_mode=$ac_tag; continue;;
8246  esac
8247  case $ac_mode$ac_tag in
8248  :[FHL]*:*);;
8249  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8250  :[FH]-) ac_tag=-:-;;
8251  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8252  esac
8253  ac_save_IFS=$IFS
8254  IFS=:
8255  set x $ac_tag
8256  IFS=$ac_save_IFS
8257  shift
8258  ac_file=$1
8259  shift
8260
8261  case $ac_mode in
8262  :L) ac_source=$1;;
8263  :[FH])
8264    ac_file_inputs=
8265    for ac_f
8266    do
8267      case $ac_f in
8268      -) ac_f="$ac_tmp/stdin";;
8269      *) # Look for the file first in the build tree, then in the source tree
8270	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8271	 # because $ac_f cannot contain `:'.
8272	 test -f "$ac_f" ||
8273	   case $ac_f in
8274	   [\\/$]*) false;;
8275	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8276	   esac ||
8277	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8278      esac
8279      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8280      as_fn_append ac_file_inputs " '$ac_f'"
8281    done
8282
8283    # Let's still pretend it is `configure' which instantiates (i.e., don't
8284    # use $as_me), people would be surprised to read:
8285    #    /* config.h.  Generated by config.status.  */
8286    configure_input='Generated from '`
8287	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8288	`' by configure.'
8289    if test x"$ac_file" != x-; then
8290      configure_input="$ac_file.  $configure_input"
8291      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8292$as_echo "$as_me: creating $ac_file" >&6;}
8293    fi
8294    # Neutralize special characters interpreted by sed in replacement strings.
8295    case $configure_input in #(
8296    *\&* | *\|* | *\\* )
8297       ac_sed_conf_input=`$as_echo "$configure_input" |
8298       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8299    *) ac_sed_conf_input=$configure_input;;
8300    esac
8301
8302    case $ac_tag in
8303    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8304      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8305    esac
8306    ;;
8307  esac
8308
8309  ac_dir=`$as_dirname -- "$ac_file" ||
8310$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8311	 X"$ac_file" : 'X\(//\)[^/]' \| \
8312	 X"$ac_file" : 'X\(//\)$' \| \
8313	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8314$as_echo X"$ac_file" |
8315    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8316	    s//\1/
8317	    q
8318	  }
8319	  /^X\(\/\/\)[^/].*/{
8320	    s//\1/
8321	    q
8322	  }
8323	  /^X\(\/\/\)$/{
8324	    s//\1/
8325	    q
8326	  }
8327	  /^X\(\/\).*/{
8328	    s//\1/
8329	    q
8330	  }
8331	  s/.*/./; q'`
8332  as_dir="$ac_dir"; as_fn_mkdir_p
8333  ac_builddir=.
8334
8335case "$ac_dir" in
8336.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8337*)
8338  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8339  # A ".." for each directory in $ac_dir_suffix.
8340  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8341  case $ac_top_builddir_sub in
8342  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8343  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8344  esac ;;
8345esac
8346ac_abs_top_builddir=$ac_pwd
8347ac_abs_builddir=$ac_pwd$ac_dir_suffix
8348# for backward compatibility:
8349ac_top_builddir=$ac_top_build_prefix
8350
8351case $srcdir in
8352  .)  # We are building in place.
8353    ac_srcdir=.
8354    ac_top_srcdir=$ac_top_builddir_sub
8355    ac_abs_top_srcdir=$ac_pwd ;;
8356  [\\/]* | ?:[\\/]* )  # Absolute name.
8357    ac_srcdir=$srcdir$ac_dir_suffix;
8358    ac_top_srcdir=$srcdir
8359    ac_abs_top_srcdir=$srcdir ;;
8360  *) # Relative name.
8361    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8362    ac_top_srcdir=$ac_top_build_prefix$srcdir
8363    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8364esac
8365ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8366
8367
8368  case $ac_mode in
8369  :F)
8370  #
8371  # CONFIG_FILE
8372  #
8373
8374_ACEOF
8375
8376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8377# If the template does not know about datarootdir, expand it.
8378# FIXME: This hack should be removed a few years after 2.60.
8379ac_datarootdir_hack=; ac_datarootdir_seen=
8380ac_sed_dataroot='
8381/datarootdir/ {
8382  p
8383  q
8384}
8385/@datadir@/p
8386/@docdir@/p
8387/@infodir@/p
8388/@localedir@/p
8389/@mandir@/p'
8390case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8391*datarootdir*) ac_datarootdir_seen=yes;;
8392*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8393  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8394$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8395_ACEOF
8396cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8397  ac_datarootdir_hack='
8398  s&@datadir@&$datadir&g
8399  s&@docdir@&$docdir&g
8400  s&@infodir@&$infodir&g
8401  s&@localedir@&$localedir&g
8402  s&@mandir@&$mandir&g
8403  s&\\\${datarootdir}&$datarootdir&g' ;;
8404esac
8405_ACEOF
8406
8407# Neutralize VPATH when `$srcdir' = `.'.
8408# Shell code in configure.ac might set extrasub.
8409# FIXME: do we really want to maintain this feature?
8410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8411ac_sed_extra="$ac_vpsub
8412$extrasub
8413_ACEOF
8414cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8415:t
8416/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8417s|@configure_input@|$ac_sed_conf_input|;t t
8418s&@top_builddir@&$ac_top_builddir_sub&;t t
8419s&@top_build_prefix@&$ac_top_build_prefix&;t t
8420s&@srcdir@&$ac_srcdir&;t t
8421s&@abs_srcdir@&$ac_abs_srcdir&;t t
8422s&@top_srcdir@&$ac_top_srcdir&;t t
8423s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8424s&@builddir@&$ac_builddir&;t t
8425s&@abs_builddir@&$ac_abs_builddir&;t t
8426s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8427$ac_datarootdir_hack
8428"
8429eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8430  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8431
8432test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8433  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8434  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8435      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8436  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8437which seems to be undefined.  Please make sure it is defined" >&5
8438$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8439which seems to be undefined.  Please make sure it is defined" >&2;}
8440
8441  rm -f "$ac_tmp/stdin"
8442  case $ac_file in
8443  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8444  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8445  esac \
8446  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8447 ;;
8448
8449
8450
8451  esac
8452
8453done # for ac_tag
8454
8455
8456as_fn_exit 0
8457_ACEOF
8458ac_clean_files=$ac_clean_files_save
8459
8460test $ac_write_fail = 0 ||
8461  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8462
8463
8464# configure is writing to config.log, and then calls config.status.
8465# config.status does its own redirection, appending to config.log.
8466# Unfortunately, on DOS this fails, as config.log is still kept open
8467# by configure, so config.status won't be able to write to it; its
8468# output is simply discarded.  So we exec the FD to /dev/null,
8469# effectively closing config.log, so it can be properly (re)opened and
8470# appended to by config.status.  When coming back to configure, we
8471# need to make the FD available again.
8472if test "$no_create" != yes; then
8473  ac_cs_success=:
8474  ac_config_status_args=
8475  test "$silent" = yes &&
8476    ac_config_status_args="$ac_config_status_args --quiet"
8477  exec 5>/dev/null
8478  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8479  exec 5>>config.log
8480  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8481  # would make configure fail if this is the last instruction.
8482  $ac_cs_success || as_fn_exit 1
8483fi
8484if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8485  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8486$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8487fi
8488
8489ac_config_files="$ac_config_files ../samples/simple_firewall/Makefile"
8490
8491cat >confcache <<\_ACEOF
8492# This file is a shell script that caches the results of configure
8493# tests run on this system so they can be shared between configure
8494# scripts and configure runs, see configure's option --config-cache.
8495# It is not useful on other systems.  If it contains results you don't
8496# want to keep, you may remove or edit it.
8497#
8498# config.status only pays attention to the cache file if you give it
8499# the --recheck option to rerun configure.
8500#
8501# `ac_cv_env_foo' variables (set or unset) will be overridden when
8502# loading this file, other *unset* `ac_cv_foo' will be assigned the
8503# following values.
8504
8505_ACEOF
8506
8507# The following way of writing the cache mishandles newlines in values,
8508# but we know of no workaround that is simple, portable, and efficient.
8509# So, we kill variables containing newlines.
8510# Ultrix sh set writes to stderr and can't be redirected directly,
8511# and sets the high bit in the cache file unless we assign to the vars.
8512(
8513  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8514    eval ac_val=\$$ac_var
8515    case $ac_val in #(
8516    *${as_nl}*)
8517      case $ac_var in #(
8518      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8519$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8520      esac
8521      case $ac_var in #(
8522      _ | IFS | as_nl) ;; #(
8523      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8524      *) { eval $ac_var=; unset $ac_var;} ;;
8525      esac ;;
8526    esac
8527  done
8528
8529  (set) 2>&1 |
8530    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8531    *${as_nl}ac_space=\ *)
8532      # `set' does not quote correctly, so add quotes: double-quote
8533      # substitution turns \\\\ into \\, and sed turns \\ into \.
8534      sed -n \
8535	"s/'/'\\\\''/g;
8536	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8537      ;; #(
8538    *)
8539      # `set' quotes correctly as required by POSIX, so do not add quotes.
8540      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8541      ;;
8542    esac |
8543    sort
8544) |
8545  sed '
8546     /^ac_cv_env_/b end
8547     t clear
8548     :clear
8549     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8550     t end
8551     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8552     :end' >>confcache
8553if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8554  if test -w "$cache_file"; then
8555    if test "x$cache_file" != "x/dev/null"; then
8556      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8557$as_echo "$as_me: updating cache $cache_file" >&6;}
8558      if test ! -f "$cache_file" || test -h "$cache_file"; then
8559	cat confcache >"$cache_file"
8560      else
8561        case $cache_file in #(
8562        */* | ?:*)
8563	  mv -f confcache "$cache_file"$$ &&
8564	  mv -f "$cache_file"$$ "$cache_file" ;; #(
8565        *)
8566	  mv -f confcache "$cache_file" ;;
8567	esac
8568      fi
8569    fi
8570  else
8571    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8572$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8573  fi
8574fi
8575rm -f confcache
8576
8577test "x$prefix" = xNONE && prefix=$ac_default_prefix
8578# Let make expand exec_prefix.
8579test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8580
8581# Transform confdefs.h into DEFS.
8582# Protect against shell expansion while executing Makefile rules.
8583# Protect against Makefile macro expansion.
8584#
8585# If the first sed substitution is executed (which looks for macros that
8586# take arguments), then branch to the quote section.  Otherwise,
8587# look for a macro that doesn't take arguments.
8588ac_script='
8589:mline
8590/\\$/{
8591 N
8592 s,\\\n,,
8593 b mline
8594}
8595t clear
8596:clear
8597s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
8598t quote
8599s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
8600t quote
8601b any
8602:quote
8603s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8604s/\[/\\&/g
8605s/\]/\\&/g
8606s/\$/$$/g
8607H
8608:any
8609${
8610	g
8611	s/^\n//
8612	s/\n/ /g
8613	p
8614}
8615'
8616DEFS=`sed -n "$ac_script" confdefs.h`
8617
8618
8619ac_libobjs=
8620ac_ltlibobjs=
8621U=
8622for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8623  # 1. Remove the extension, and $U if already installed.
8624  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8625  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8626  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8627  #    will be set to the directory where LIBOBJS objects are built.
8628  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8629  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8630done
8631LIBOBJS=$ac_libobjs
8632
8633LTLIBOBJS=$ac_ltlibobjs
8634
8635
8636
8637: "${CONFIG_STATUS=./config.status}"
8638ac_write_fail=0
8639ac_clean_files_save=$ac_clean_files
8640ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8641{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8642$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8643as_write_fail=0
8644cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8645#! $SHELL
8646# Generated by $as_me.
8647# Run this file to recreate the current configuration.
8648# Compiler output produced by configure, useful for debugging
8649# configure, is in config.log if it exists.
8650
8651debug=false
8652ac_cs_recheck=false
8653ac_cs_silent=false
8654
8655SHELL=\${CONFIG_SHELL-$SHELL}
8656export SHELL
8657_ASEOF
8658cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8659## -------------------- ##
8660## M4sh Initialization. ##
8661## -------------------- ##
8662
8663# Be more Bourne compatible
8664DUALCASE=1; export DUALCASE # for MKS sh
8665if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8666  emulate sh
8667  NULLCMD=:
8668  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8669  # is contrary to our usage.  Disable this feature.
8670  alias -g '${1+"$@"}'='"$@"'
8671  setopt NO_GLOB_SUBST
8672else
8673  case `(set -o) 2>/dev/null` in #(
8674  *posix*) :
8675    set -o posix ;; #(
8676  *) :
8677     ;;
8678esac
8679fi
8680
8681
8682as_nl='
8683'
8684export as_nl
8685# Printing a long string crashes Solaris 7 /usr/bin/printf.
8686as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8687as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8688as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8689# Prefer a ksh shell builtin over an external printf program on Solaris,
8690# but without wasting forks for bash or zsh.
8691if test -z "$BASH_VERSION$ZSH_VERSION" \
8692    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8693  as_echo='print -r --'
8694  as_echo_n='print -rn --'
8695elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8696  as_echo='printf %s\n'
8697  as_echo_n='printf %s'
8698else
8699  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8700    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8701    as_echo_n='/usr/ucb/echo -n'
8702  else
8703    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8704    as_echo_n_body='eval
8705      arg=$1;
8706      case $arg in #(
8707      *"$as_nl"*)
8708	expr "X$arg" : "X\\(.*\\)$as_nl";
8709	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8710      esac;
8711      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8712    '
8713    export as_echo_n_body
8714    as_echo_n='sh -c $as_echo_n_body as_echo'
8715  fi
8716  export as_echo_body
8717  as_echo='sh -c $as_echo_body as_echo'
8718fi
8719
8720# The user is always right.
8721if test "${PATH_SEPARATOR+set}" != set; then
8722  PATH_SEPARATOR=:
8723  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8724    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8725      PATH_SEPARATOR=';'
8726  }
8727fi
8728
8729
8730# IFS
8731# We need space, tab and new line, in precisely that order.  Quoting is
8732# there to prevent editors from complaining about space-tab.
8733# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8734# splitting by setting IFS to empty value.)
8735IFS=" ""	$as_nl"
8736
8737# Find who we are.  Look in the path if we contain no directory separator.
8738as_myself=
8739case $0 in #((
8740  *[\\/]* ) as_myself=$0 ;;
8741  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742for as_dir in $PATH
8743do
8744  IFS=$as_save_IFS
8745  test -z "$as_dir" && as_dir=.
8746    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8747  done
8748IFS=$as_save_IFS
8749
8750     ;;
8751esac
8752# We did not find ourselves, most probably we were run as `sh COMMAND'
8753# in which case we are not to be found in the path.
8754if test "x$as_myself" = x; then
8755  as_myself=$0
8756fi
8757if test ! -f "$as_myself"; then
8758  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8759  exit 1
8760fi
8761
8762# Unset variables that we do not need and which cause bugs (e.g. in
8763# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
8764# suppresses any "Segmentation fault" message there.  '((' could
8765# trigger a bug in pdksh 5.2.14.
8766for as_var in BASH_ENV ENV MAIL MAILPATH
8767do eval test x\${$as_var+set} = xset \
8768  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8769done
8770PS1='$ '
8771PS2='> '
8772PS4='+ '
8773
8774# NLS nuisances.
8775LC_ALL=C
8776export LC_ALL
8777LANGUAGE=C
8778export LANGUAGE
8779
8780# CDPATH.
8781(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8782
8783
8784# as_fn_error STATUS ERROR [LINENO LOG_FD]
8785# ----------------------------------------
8786# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8787# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8788# script with STATUS, using 1 if that was 0.
8789as_fn_error ()
8790{
8791  as_status=$1; test $as_status -eq 0 && as_status=1
8792  if test "$4"; then
8793    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8794    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8795  fi
8796  $as_echo "$as_me: error: $2" >&2
8797  as_fn_exit $as_status
8798} # as_fn_error
8799
8800
8801# as_fn_set_status STATUS
8802# -----------------------
8803# Set $? to STATUS, without forking.
8804as_fn_set_status ()
8805{
8806  return $1
8807} # as_fn_set_status
8808
8809# as_fn_exit STATUS
8810# -----------------
8811# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8812as_fn_exit ()
8813{
8814  set +e
8815  as_fn_set_status $1
8816  exit $1
8817} # as_fn_exit
8818
8819# as_fn_unset VAR
8820# ---------------
8821# Portably unset VAR.
8822as_fn_unset ()
8823{
8824  { eval $1=; unset $1;}
8825}
8826as_unset=as_fn_unset
8827# as_fn_append VAR VALUE
8828# ----------------------
8829# Append the text in VALUE to the end of the definition contained in VAR. Take
8830# advantage of any shell optimizations that allow amortized linear growth over
8831# repeated appends, instead of the typical quadratic growth present in naive
8832# implementations.
8833if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8834  eval 'as_fn_append ()
8835  {
8836    eval $1+=\$2
8837  }'
8838else
8839  as_fn_append ()
8840  {
8841    eval $1=\$$1\$2
8842  }
8843fi # as_fn_append
8844
8845# as_fn_arith ARG...
8846# ------------------
8847# Perform arithmetic evaluation on the ARGs, and store the result in the
8848# global $as_val. Take advantage of shells that can avoid forks. The arguments
8849# must be portable across $(()) and expr.
8850if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8851  eval 'as_fn_arith ()
8852  {
8853    as_val=$(( $* ))
8854  }'
8855else
8856  as_fn_arith ()
8857  {
8858    as_val=`expr "$@" || test $? -eq 1`
8859  }
8860fi # as_fn_arith
8861
8862
8863if expr a : '\(a\)' >/dev/null 2>&1 &&
8864   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8865  as_expr=expr
8866else
8867  as_expr=false
8868fi
8869
8870if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8871  as_basename=basename
8872else
8873  as_basename=false
8874fi
8875
8876if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8877  as_dirname=dirname
8878else
8879  as_dirname=false
8880fi
8881
8882as_me=`$as_basename -- "$0" ||
8883$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8884	 X"$0" : 'X\(//\)$' \| \
8885	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8886$as_echo X/"$0" |
8887    sed '/^.*\/\([^/][^/]*\)\/*$/{
8888	    s//\1/
8889	    q
8890	  }
8891	  /^X\/\(\/\/\)$/{
8892	    s//\1/
8893	    q
8894	  }
8895	  /^X\/\(\/\).*/{
8896	    s//\1/
8897	    q
8898	  }
8899	  s/.*/./; q'`
8900
8901# Avoid depending upon Character Ranges.
8902as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8903as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8904as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8905as_cr_digits='0123456789'
8906as_cr_alnum=$as_cr_Letters$as_cr_digits
8907
8908ECHO_C= ECHO_N= ECHO_T=
8909case `echo -n x` in #(((((
8910-n*)
8911  case `echo 'xy\c'` in
8912  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
8913  xy)  ECHO_C='\c';;
8914  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
8915       ECHO_T='	';;
8916  esac;;
8917*)
8918  ECHO_N='-n';;
8919esac
8920
8921rm -f conf$$ conf$$.exe conf$$.file
8922if test -d conf$$.dir; then
8923  rm -f conf$$.dir/conf$$.file
8924else
8925  rm -f conf$$.dir
8926  mkdir conf$$.dir 2>/dev/null
8927fi
8928if (echo >conf$$.file) 2>/dev/null; then
8929  if ln -s conf$$.file conf$$ 2>/dev/null; then
8930    as_ln_s='ln -s'
8931    # ... but there are two gotchas:
8932    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8933    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8934    # In both cases, we have to default to `cp -pR'.
8935    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8936      as_ln_s='cp -pR'
8937  elif ln conf$$.file conf$$ 2>/dev/null; then
8938    as_ln_s=ln
8939  else
8940    as_ln_s='cp -pR'
8941  fi
8942else
8943  as_ln_s='cp -pR'
8944fi
8945rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8946rmdir conf$$.dir 2>/dev/null
8947
8948
8949# as_fn_mkdir_p
8950# -------------
8951# Create "$as_dir" as a directory, including parents if necessary.
8952as_fn_mkdir_p ()
8953{
8954
8955  case $as_dir in #(
8956  -*) as_dir=./$as_dir;;
8957  esac
8958  test -d "$as_dir" || eval $as_mkdir_p || {
8959    as_dirs=
8960    while :; do
8961      case $as_dir in #(
8962      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8963      *) as_qdir=$as_dir;;
8964      esac
8965      as_dirs="'$as_qdir' $as_dirs"
8966      as_dir=`$as_dirname -- "$as_dir" ||
8967$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8968	 X"$as_dir" : 'X\(//\)[^/]' \| \
8969	 X"$as_dir" : 'X\(//\)$' \| \
8970	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8971$as_echo X"$as_dir" |
8972    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8973	    s//\1/
8974	    q
8975	  }
8976	  /^X\(\/\/\)[^/].*/{
8977	    s//\1/
8978	    q
8979	  }
8980	  /^X\(\/\/\)$/{
8981	    s//\1/
8982	    q
8983	  }
8984	  /^X\(\/\).*/{
8985	    s//\1/
8986	    q
8987	  }
8988	  s/.*/./; q'`
8989      test -d "$as_dir" && break
8990    done
8991    test -z "$as_dirs" || eval "mkdir $as_dirs"
8992  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8993
8994
8995} # as_fn_mkdir_p
8996if mkdir -p . 2>/dev/null; then
8997  as_mkdir_p='mkdir -p "$as_dir"'
8998else
8999  test -d ./-p && rmdir ./-p
9000  as_mkdir_p=false
9001fi
9002
9003
9004# as_fn_executable_p FILE
9005# -----------------------
9006# Test if FILE is an executable regular file.
9007as_fn_executable_p ()
9008{
9009  test -f "$1" && test -x "$1"
9010} # as_fn_executable_p
9011as_test_x='test -x'
9012as_executable_p=as_fn_executable_p
9013
9014# Sed expression to map a string onto a valid CPP name.
9015as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9016
9017# Sed expression to map a string onto a valid variable name.
9018as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9019
9020
9021exec 6>&1
9022## ----------------------------------- ##
9023## Main body of $CONFIG_STATUS script. ##
9024## ----------------------------------- ##
9025_ASEOF
9026test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9027
9028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9029# Save the log message, to keep $0 and so on meaningful, and to
9030# report actual input values of CONFIG_FILES etc. instead of their
9031# values after options handling.
9032ac_log="
9033This file was extended by mos_release $as_me version-0.3, which was
9034generated by GNU Autoconf 2.69.  Invocation command line was
9035
9036  CONFIG_FILES    = $CONFIG_FILES
9037  CONFIG_HEADERS  = $CONFIG_HEADERS
9038  CONFIG_LINKS    = $CONFIG_LINKS
9039  CONFIG_COMMANDS = $CONFIG_COMMANDS
9040  $ $0 $@
9041
9042on `(hostname || uname -n) 2>/dev/null | sed 1q`
9043"
9044
9045_ACEOF
9046
9047case $ac_config_files in *"
9048"*) set x $ac_config_files; shift; ac_config_files=$*;;
9049esac
9050
9051
9052
9053cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9054# Files that config.status was made for.
9055config_files="$ac_config_files"
9056
9057_ACEOF
9058
9059cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9060ac_cs_usage="\
9061\`$as_me' instantiates files and other configuration actions
9062from templates according to the current configuration.  Unless the files
9063and actions are specified as TAGs, all are instantiated by default.
9064
9065Usage: $0 [OPTION]... [TAG]...
9066
9067  -h, --help       print this help, then exit
9068  -V, --version    print version number and configuration settings, then exit
9069      --config     print configuration, then exit
9070  -q, --quiet, --silent
9071                   do not print progress messages
9072  -d, --debug      don't remove temporary files
9073      --recheck    update $as_me by reconfiguring in the same conditions
9074      --file=FILE[:TEMPLATE]
9075                   instantiate the configuration file FILE
9076
9077Configuration files:
9078$config_files
9079
9080Report bugs to <[email protected]>."
9081
9082_ACEOF
9083cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9084ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9085ac_cs_version="\\
9086mos_release config.status version-0.3
9087configured by $0, generated by GNU Autoconf 2.69,
9088  with options \\"\$ac_cs_config\\"
9089
9090Copyright (C) 2012 Free Software Foundation, Inc.
9091This config.status script is free software; the Free Software Foundation
9092gives unlimited permission to copy, distribute and modify it."
9093
9094ac_pwd='$ac_pwd'
9095srcdir='$srcdir'
9096test -n "\$AWK" || AWK=awk
9097_ACEOF
9098
9099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9100# The default lists apply if the user does not specify any file.
9101ac_need_defaults=:
9102while test $# != 0
9103do
9104  case $1 in
9105  --*=?*)
9106    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9107    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9108    ac_shift=:
9109    ;;
9110  --*=)
9111    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9112    ac_optarg=
9113    ac_shift=:
9114    ;;
9115  *)
9116    ac_option=$1
9117    ac_optarg=$2
9118    ac_shift=shift
9119    ;;
9120  esac
9121
9122  case $ac_option in
9123  # Handling of the options.
9124  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9125    ac_cs_recheck=: ;;
9126  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9127    $as_echo "$ac_cs_version"; exit ;;
9128  --config | --confi | --conf | --con | --co | --c )
9129    $as_echo "$ac_cs_config"; exit ;;
9130  --debug | --debu | --deb | --de | --d | -d )
9131    debug=: ;;
9132  --file | --fil | --fi | --f )
9133    $ac_shift
9134    case $ac_optarg in
9135    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9136    '') as_fn_error $? "missing file argument" ;;
9137    esac
9138    as_fn_append CONFIG_FILES " '$ac_optarg'"
9139    ac_need_defaults=false;;
9140  --he | --h |  --help | --hel | -h )
9141    $as_echo "$ac_cs_usage"; exit ;;
9142  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9143  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9144    ac_cs_silent=: ;;
9145
9146  # This is an error.
9147  -*) as_fn_error $? "unrecognized option: \`$1'
9148Try \`$0 --help' for more information." ;;
9149
9150  *) as_fn_append ac_config_targets " $1"
9151     ac_need_defaults=false ;;
9152
9153  esac
9154  shift
9155done
9156
9157ac_configure_extra_args=
9158
9159if $ac_cs_silent; then
9160  exec 6>/dev/null
9161  ac_configure_extra_args="$ac_configure_extra_args --silent"
9162fi
9163
9164_ACEOF
9165cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9166if \$ac_cs_recheck; then
9167  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9168  shift
9169  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9170  CONFIG_SHELL='$SHELL'
9171  export CONFIG_SHELL
9172  exec "\$@"
9173fi
9174
9175_ACEOF
9176cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9177exec 5>>config.log
9178{
9179  echo
9180  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9181## Running $as_me. ##
9182_ASBOX
9183  $as_echo "$ac_log"
9184} >&5
9185
9186_ACEOF
9187cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9188_ACEOF
9189
9190cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9191
9192# Handling of arguments.
9193for ac_config_target in $ac_config_targets
9194do
9195  case $ac_config_target in
9196    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
9197    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
9198    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
9199    "../samples/midstat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/midstat/Makefile" ;;
9200    "../samples/simple_firewall/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/simple_firewall/Makefile" ;;
9201
9202  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9203  esac
9204done
9205
9206
9207# If the user did not use the arguments to specify the items to instantiate,
9208# then the envvar interface is used.  Set only those that are not.
9209# We use the long form for the default assignment because of an extremely
9210# bizarre bug on SunOS 4.1.3.
9211if $ac_need_defaults; then
9212  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9213fi
9214
9215# Have a temporary directory for convenience.  Make it in the build tree
9216# simply because there is no reason against having it here, and in addition,
9217# creating and moving files from /tmp can sometimes cause problems.
9218# Hook for its removal unless debugging.
9219# Note that there is a small window in which the directory will not be cleaned:
9220# after its creation but before its name has been assigned to `$tmp'.
9221$debug ||
9222{
9223  tmp= ac_tmp=
9224  trap 'exit_status=$?
9225  : "${ac_tmp:=$tmp}"
9226  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9227' 0
9228  trap 'as_fn_exit 1' 1 2 13 15
9229}
9230# Create a (secure) tmp directory for tmp files.
9231
9232{
9233  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9234  test -d "$tmp"
9235}  ||
9236{
9237  tmp=./conf$$-$RANDOM
9238  (umask 077 && mkdir "$tmp")
9239} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9240ac_tmp=$tmp
9241
9242# Set up the scripts for CONFIG_FILES section.
9243# No need to generate them if there are no CONFIG_FILES.
9244# This happens for instance with `./config.status config.h'.
9245if test -n "$CONFIG_FILES"; then
9246
9247
9248ac_cr=`echo X | tr X '\015'`
9249# On cygwin, bash can eat \r inside `` if the user requested igncr.
9250# But we know of no other shell where ac_cr would be empty at this
9251# point, so we can use a bashism as a fallback.
9252if test "x$ac_cr" = x; then
9253  eval ac_cr=\$\'\\r\'
9254fi
9255ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9256if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9257  ac_cs_awk_cr='\\r'
9258else
9259  ac_cs_awk_cr=$ac_cr
9260fi
9261
9262echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9263_ACEOF
9264
9265
9266{
9267  echo "cat >conf$$subs.awk <<_ACEOF" &&
9268  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9269  echo "_ACEOF"
9270} >conf$$subs.sh ||
9271  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9272ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9273ac_delim='%!_!# '
9274for ac_last_try in false false false false false :; do
9275  . ./conf$$subs.sh ||
9276    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9277
9278  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9279  if test $ac_delim_n = $ac_delim_num; then
9280    break
9281  elif $ac_last_try; then
9282    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9283  else
9284    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9285  fi
9286done
9287rm -f conf$$subs.sh
9288
9289cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9290cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9291_ACEOF
9292sed -n '
9293h
9294s/^/S["/; s/!.*/"]=/
9295p
9296g
9297s/^[^!]*!//
9298:repl
9299t repl
9300s/'"$ac_delim"'$//
9301t delim
9302:nl
9303h
9304s/\(.\{148\}\)..*/\1/
9305t more1
9306s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9307p
9308n
9309b repl
9310:more1
9311s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9312p
9313g
9314s/.\{148\}//
9315t nl
9316:delim
9317h
9318s/\(.\{148\}\)..*/\1/
9319t more2
9320s/["\\]/\\&/g; s/^/"/; s/$/"/
9321p
9322b
9323:more2
9324s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9325p
9326g
9327s/.\{148\}//
9328t delim
9329' <conf$$subs.awk | sed '
9330/^[^""]/{
9331  N
9332  s/\n//
9333}
9334' >>$CONFIG_STATUS || ac_write_fail=1
9335rm -f conf$$subs.awk
9336cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9337_ACAWK
9338cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9339  for (key in S) S_is_set[key] = 1
9340  FS = ""
9341
9342}
9343{
9344  line = $ 0
9345  nfields = split(line, field, "@")
9346  substed = 0
9347  len = length(field[1])
9348  for (i = 2; i < nfields; i++) {
9349    key = field[i]
9350    keylen = length(key)
9351    if (S_is_set[key]) {
9352      value = S[key]
9353      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9354      len += length(value) + length(field[++i])
9355      substed = 1
9356    } else
9357      len += 1 + keylen
9358  }
9359
9360  print line
9361}
9362
9363_ACAWK
9364_ACEOF
9365cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9366if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9367  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9368else
9369  cat
9370fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9371  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9372_ACEOF
9373
9374# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9375# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9376# trailing colons and then remove the whole line if VPATH becomes empty
9377# (actually we leave an empty line to preserve line numbers).
9378if test "x$srcdir" = x.; then
9379  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
9380h
9381s///
9382s/^/:/
9383s/[	 ]*$/:/
9384s/:\$(srcdir):/:/g
9385s/:\${srcdir}:/:/g
9386s/:@srcdir@:/:/g
9387s/^:*//
9388s/:*$//
9389x
9390s/\(=[	 ]*\).*/\1/
9391G
9392s/\n//
9393s/^[^=]*=[	 ]*$//
9394}'
9395fi
9396
9397cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9398fi # test -n "$CONFIG_FILES"
9399
9400
9401eval set X "  :F $CONFIG_FILES      "
9402shift
9403for ac_tag
9404do
9405  case $ac_tag in
9406  :[FHLC]) ac_mode=$ac_tag; continue;;
9407  esac
9408  case $ac_mode$ac_tag in
9409  :[FHL]*:*);;
9410  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9411  :[FH]-) ac_tag=-:-;;
9412  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9413  esac
9414  ac_save_IFS=$IFS
9415  IFS=:
9416  set x $ac_tag
9417  IFS=$ac_save_IFS
9418  shift
9419  ac_file=$1
9420  shift
9421
9422  case $ac_mode in
9423  :L) ac_source=$1;;
9424  :[FH])
9425    ac_file_inputs=
9426    for ac_f
9427    do
9428      case $ac_f in
9429      -) ac_f="$ac_tmp/stdin";;
9430      *) # Look for the file first in the build tree, then in the source tree
9431	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
9432	 # because $ac_f cannot contain `:'.
9433	 test -f "$ac_f" ||
9434	   case $ac_f in
9435	   [\\/$]*) false;;
9436	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9437	   esac ||
9438	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9439      esac
9440      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9441      as_fn_append ac_file_inputs " '$ac_f'"
9442    done
9443
9444    # Let's still pretend it is `configure' which instantiates (i.e., don't
9445    # use $as_me), people would be surprised to read:
9446    #    /* config.h.  Generated by config.status.  */
9447    configure_input='Generated from '`
9448	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9449	`' by configure.'
9450    if test x"$ac_file" != x-; then
9451      configure_input="$ac_file.  $configure_input"
9452      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9453$as_echo "$as_me: creating $ac_file" >&6;}
9454    fi
9455    # Neutralize special characters interpreted by sed in replacement strings.
9456    case $configure_input in #(
9457    *\&* | *\|* | *\\* )
9458       ac_sed_conf_input=`$as_echo "$configure_input" |
9459       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9460    *) ac_sed_conf_input=$configure_input;;
9461    esac
9462
9463    case $ac_tag in
9464    *:-:* | *:-) cat >"$ac_tmp/stdin" \
9465      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9466    esac
9467    ;;
9468  esac
9469
9470  ac_dir=`$as_dirname -- "$ac_file" ||
9471$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9472	 X"$ac_file" : 'X\(//\)[^/]' \| \
9473	 X"$ac_file" : 'X\(//\)$' \| \
9474	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9475$as_echo X"$ac_file" |
9476    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9477	    s//\1/
9478	    q
9479	  }
9480	  /^X\(\/\/\)[^/].*/{
9481	    s//\1/
9482	    q
9483	  }
9484	  /^X\(\/\/\)$/{
9485	    s//\1/
9486	    q
9487	  }
9488	  /^X\(\/\).*/{
9489	    s//\1/
9490	    q
9491	  }
9492	  s/.*/./; q'`
9493  as_dir="$ac_dir"; as_fn_mkdir_p
9494  ac_builddir=.
9495
9496case "$ac_dir" in
9497.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9498*)
9499  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9500  # A ".." for each directory in $ac_dir_suffix.
9501  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9502  case $ac_top_builddir_sub in
9503  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9504  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9505  esac ;;
9506esac
9507ac_abs_top_builddir=$ac_pwd
9508ac_abs_builddir=$ac_pwd$ac_dir_suffix
9509# for backward compatibility:
9510ac_top_builddir=$ac_top_build_prefix
9511
9512case $srcdir in
9513  .)  # We are building in place.
9514    ac_srcdir=.
9515    ac_top_srcdir=$ac_top_builddir_sub
9516    ac_abs_top_srcdir=$ac_pwd ;;
9517  [\\/]* | ?:[\\/]* )  # Absolute name.
9518    ac_srcdir=$srcdir$ac_dir_suffix;
9519    ac_top_srcdir=$srcdir
9520    ac_abs_top_srcdir=$srcdir ;;
9521  *) # Relative name.
9522    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9523    ac_top_srcdir=$ac_top_build_prefix$srcdir
9524    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9525esac
9526ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9527
9528
9529  case $ac_mode in
9530  :F)
9531  #
9532  # CONFIG_FILE
9533  #
9534
9535_ACEOF
9536
9537cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9538# If the template does not know about datarootdir, expand it.
9539# FIXME: This hack should be removed a few years after 2.60.
9540ac_datarootdir_hack=; ac_datarootdir_seen=
9541ac_sed_dataroot='
9542/datarootdir/ {
9543  p
9544  q
9545}
9546/@datadir@/p
9547/@docdir@/p
9548/@infodir@/p
9549/@localedir@/p
9550/@mandir@/p'
9551case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9552*datarootdir*) ac_datarootdir_seen=yes;;
9553*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9554  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9555$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9556_ACEOF
9557cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9558  ac_datarootdir_hack='
9559  s&@datadir@&$datadir&g
9560  s&@docdir@&$docdir&g
9561  s&@infodir@&$infodir&g
9562  s&@localedir@&$localedir&g
9563  s&@mandir@&$mandir&g
9564  s&\\\${datarootdir}&$datarootdir&g' ;;
9565esac
9566_ACEOF
9567
9568# Neutralize VPATH when `$srcdir' = `.'.
9569# Shell code in configure.ac might set extrasub.
9570# FIXME: do we really want to maintain this feature?
9571cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9572ac_sed_extra="$ac_vpsub
9573$extrasub
9574_ACEOF
9575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9576:t
9577/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9578s|@configure_input@|$ac_sed_conf_input|;t t
9579s&@top_builddir@&$ac_top_builddir_sub&;t t
9580s&@top_build_prefix@&$ac_top_build_prefix&;t t
9581s&@srcdir@&$ac_srcdir&;t t
9582s&@abs_srcdir@&$ac_abs_srcdir&;t t
9583s&@top_srcdir@&$ac_top_srcdir&;t t
9584s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9585s&@builddir@&$ac_builddir&;t t
9586s&@abs_builddir@&$ac_abs_builddir&;t t
9587s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9588$ac_datarootdir_hack
9589"
9590eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9591  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9592
9593test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9594  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9595  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
9596      "$ac_tmp/out"`; test -z "$ac_out"; } &&
9597  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9598which seems to be undefined.  Please make sure it is defined" >&5
9599$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9600which seems to be undefined.  Please make sure it is defined" >&2;}
9601
9602  rm -f "$ac_tmp/stdin"
9603  case $ac_file in
9604  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9605  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9606  esac \
9607  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9608 ;;
9609
9610
9611
9612  esac
9613
9614done # for ac_tag
9615
9616
9617as_fn_exit 0
9618_ACEOF
9619ac_clean_files=$ac_clean_files_save
9620
9621test $ac_write_fail = 0 ||
9622  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9623
9624
9625# configure is writing to config.log, and then calls config.status.
9626# config.status does its own redirection, appending to config.log.
9627# Unfortunately, on DOS this fails, as config.log is still kept open
9628# by configure, so config.status won't be able to write to it; its
9629# output is simply discarded.  So we exec the FD to /dev/null,
9630# effectively closing config.log, so it can be properly (re)opened and
9631# appended to by config.status.  When coming back to configure, we
9632# need to make the FD available again.
9633if test "$no_create" != yes; then
9634  ac_cs_success=:
9635  ac_config_status_args=
9636  test "$silent" = yes &&
9637    ac_config_status_args="$ac_config_status_args --quiet"
9638  exec 5>/dev/null
9639  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9640  exec 5>>config.log
9641  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9642  # would make configure fail if this is the last instruction.
9643  $ac_cs_success || as_fn_exit 1
9644fi
9645if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9646  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9647$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9648fi
9649
9650ac_config_files="$ac_config_files ../samples/nat/Makefile"
9651
9652cat >confcache <<\_ACEOF
9653# This file is a shell script that caches the results of configure
9654# tests run on this system so they can be shared between configure
9655# scripts and configure runs, see configure's option --config-cache.
9656# It is not useful on other systems.  If it contains results you don't
9657# want to keep, you may remove or edit it.
9658#
9659# config.status only pays attention to the cache file if you give it
9660# the --recheck option to rerun configure.
9661#
9662# `ac_cv_env_foo' variables (set or unset) will be overridden when
9663# loading this file, other *unset* `ac_cv_foo' will be assigned the
9664# following values.
9665
9666_ACEOF
9667
9668# The following way of writing the cache mishandles newlines in values,
9669# but we know of no workaround that is simple, portable, and efficient.
9670# So, we kill variables containing newlines.
9671# Ultrix sh set writes to stderr and can't be redirected directly,
9672# and sets the high bit in the cache file unless we assign to the vars.
9673(
9674  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9675    eval ac_val=\$$ac_var
9676    case $ac_val in #(
9677    *${as_nl}*)
9678      case $ac_var in #(
9679      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9680$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9681      esac
9682      case $ac_var in #(
9683      _ | IFS | as_nl) ;; #(
9684      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9685      *) { eval $ac_var=; unset $ac_var;} ;;
9686      esac ;;
9687    esac
9688  done
9689
9690  (set) 2>&1 |
9691    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9692    *${as_nl}ac_space=\ *)
9693      # `set' does not quote correctly, so add quotes: double-quote
9694      # substitution turns \\\\ into \\, and sed turns \\ into \.
9695      sed -n \
9696	"s/'/'\\\\''/g;
9697	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9698      ;; #(
9699    *)
9700      # `set' quotes correctly as required by POSIX, so do not add quotes.
9701      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9702      ;;
9703    esac |
9704    sort
9705) |
9706  sed '
9707     /^ac_cv_env_/b end
9708     t clear
9709     :clear
9710     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9711     t end
9712     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9713     :end' >>confcache
9714if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9715  if test -w "$cache_file"; then
9716    if test "x$cache_file" != "x/dev/null"; then
9717      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9718$as_echo "$as_me: updating cache $cache_file" >&6;}
9719      if test ! -f "$cache_file" || test -h "$cache_file"; then
9720	cat confcache >"$cache_file"
9721      else
9722        case $cache_file in #(
9723        */* | ?:*)
9724	  mv -f confcache "$cache_file"$$ &&
9725	  mv -f "$cache_file"$$ "$cache_file" ;; #(
9726        *)
9727	  mv -f confcache "$cache_file" ;;
9728	esac
9729      fi
9730    fi
9731  else
9732    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9733$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9734  fi
9735fi
9736rm -f confcache
9737
9738test "x$prefix" = xNONE && prefix=$ac_default_prefix
9739# Let make expand exec_prefix.
9740test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9741
9742# Transform confdefs.h into DEFS.
9743# Protect against shell expansion while executing Makefile rules.
9744# Protect against Makefile macro expansion.
9745#
9746# If the first sed substitution is executed (which looks for macros that
9747# take arguments), then branch to the quote section.  Otherwise,
9748# look for a macro that doesn't take arguments.
9749ac_script='
9750:mline
9751/\\$/{
9752 N
9753 s,\\\n,,
9754 b mline
9755}
9756t clear
9757:clear
9758s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
9759t quote
9760s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
9761t quote
9762b any
9763:quote
9764s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9765s/\[/\\&/g
9766s/\]/\\&/g
9767s/\$/$$/g
9768H
9769:any
9770${
9771	g
9772	s/^\n//
9773	s/\n/ /g
9774	p
9775}
9776'
9777DEFS=`sed -n "$ac_script" confdefs.h`
9778
9779
9780ac_libobjs=
9781ac_ltlibobjs=
9782U=
9783for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9784  # 1. Remove the extension, and $U if already installed.
9785  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9786  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9787  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9788  #    will be set to the directory where LIBOBJS objects are built.
9789  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9790  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9791done
9792LIBOBJS=$ac_libobjs
9793
9794LTLIBOBJS=$ac_ltlibobjs
9795
9796
9797
9798: "${CONFIG_STATUS=./config.status}"
9799ac_write_fail=0
9800ac_clean_files_save=$ac_clean_files
9801ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9802{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9803$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9804as_write_fail=0
9805cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9806#! $SHELL
9807# Generated by $as_me.
9808# Run this file to recreate the current configuration.
9809# Compiler output produced by configure, useful for debugging
9810# configure, is in config.log if it exists.
9811
9812debug=false
9813ac_cs_recheck=false
9814ac_cs_silent=false
9815
9816SHELL=\${CONFIG_SHELL-$SHELL}
9817export SHELL
9818_ASEOF
9819cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9820## -------------------- ##
9821## M4sh Initialization. ##
9822## -------------------- ##
9823
9824# Be more Bourne compatible
9825DUALCASE=1; export DUALCASE # for MKS sh
9826if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9827  emulate sh
9828  NULLCMD=:
9829  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9830  # is contrary to our usage.  Disable this feature.
9831  alias -g '${1+"$@"}'='"$@"'
9832  setopt NO_GLOB_SUBST
9833else
9834  case `(set -o) 2>/dev/null` in #(
9835  *posix*) :
9836    set -o posix ;; #(
9837  *) :
9838     ;;
9839esac
9840fi
9841
9842
9843as_nl='
9844'
9845export as_nl
9846# Printing a long string crashes Solaris 7 /usr/bin/printf.
9847as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9848as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9849as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9850# Prefer a ksh shell builtin over an external printf program on Solaris,
9851# but without wasting forks for bash or zsh.
9852if test -z "$BASH_VERSION$ZSH_VERSION" \
9853    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9854  as_echo='print -r --'
9855  as_echo_n='print -rn --'
9856elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9857  as_echo='printf %s\n'
9858  as_echo_n='printf %s'
9859else
9860  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9861    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9862    as_echo_n='/usr/ucb/echo -n'
9863  else
9864    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9865    as_echo_n_body='eval
9866      arg=$1;
9867      case $arg in #(
9868      *"$as_nl"*)
9869	expr "X$arg" : "X\\(.*\\)$as_nl";
9870	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9871      esac;
9872      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9873    '
9874    export as_echo_n_body
9875    as_echo_n='sh -c $as_echo_n_body as_echo'
9876  fi
9877  export as_echo_body
9878  as_echo='sh -c $as_echo_body as_echo'
9879fi
9880
9881# The user is always right.
9882if test "${PATH_SEPARATOR+set}" != set; then
9883  PATH_SEPARATOR=:
9884  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9885    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9886      PATH_SEPARATOR=';'
9887  }
9888fi
9889
9890
9891# IFS
9892# We need space, tab and new line, in precisely that order.  Quoting is
9893# there to prevent editors from complaining about space-tab.
9894# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9895# splitting by setting IFS to empty value.)
9896IFS=" ""	$as_nl"
9897
9898# Find who we are.  Look in the path if we contain no directory separator.
9899as_myself=
9900case $0 in #((
9901  *[\\/]* ) as_myself=$0 ;;
9902  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903for as_dir in $PATH
9904do
9905  IFS=$as_save_IFS
9906  test -z "$as_dir" && as_dir=.
9907    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9908  done
9909IFS=$as_save_IFS
9910
9911     ;;
9912esac
9913# We did not find ourselves, most probably we were run as `sh COMMAND'
9914# in which case we are not to be found in the path.
9915if test "x$as_myself" = x; then
9916  as_myself=$0
9917fi
9918if test ! -f "$as_myself"; then
9919  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9920  exit 1
9921fi
9922
9923# Unset variables that we do not need and which cause bugs (e.g. in
9924# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
9925# suppresses any "Segmentation fault" message there.  '((' could
9926# trigger a bug in pdksh 5.2.14.
9927for as_var in BASH_ENV ENV MAIL MAILPATH
9928do eval test x\${$as_var+set} = xset \
9929  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9930done
9931PS1='$ '
9932PS2='> '
9933PS4='+ '
9934
9935# NLS nuisances.
9936LC_ALL=C
9937export LC_ALL
9938LANGUAGE=C
9939export LANGUAGE
9940
9941# CDPATH.
9942(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9943
9944
9945# as_fn_error STATUS ERROR [LINENO LOG_FD]
9946# ----------------------------------------
9947# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9948# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9949# script with STATUS, using 1 if that was 0.
9950as_fn_error ()
9951{
9952  as_status=$1; test $as_status -eq 0 && as_status=1
9953  if test "$4"; then
9954    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9955    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9956  fi
9957  $as_echo "$as_me: error: $2" >&2
9958  as_fn_exit $as_status
9959} # as_fn_error
9960
9961
9962# as_fn_set_status STATUS
9963# -----------------------
9964# Set $? to STATUS, without forking.
9965as_fn_set_status ()
9966{
9967  return $1
9968} # as_fn_set_status
9969
9970# as_fn_exit STATUS
9971# -----------------
9972# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9973as_fn_exit ()
9974{
9975  set +e
9976  as_fn_set_status $1
9977  exit $1
9978} # as_fn_exit
9979
9980# as_fn_unset VAR
9981# ---------------
9982# Portably unset VAR.
9983as_fn_unset ()
9984{
9985  { eval $1=; unset $1;}
9986}
9987as_unset=as_fn_unset
9988# as_fn_append VAR VALUE
9989# ----------------------
9990# Append the text in VALUE to the end of the definition contained in VAR. Take
9991# advantage of any shell optimizations that allow amortized linear growth over
9992# repeated appends, instead of the typical quadratic growth present in naive
9993# implementations.
9994if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9995  eval 'as_fn_append ()
9996  {
9997    eval $1+=\$2
9998  }'
9999else
10000  as_fn_append ()
10001  {
10002    eval $1=\$$1\$2
10003  }
10004fi # as_fn_append
10005
10006# as_fn_arith ARG...
10007# ------------------
10008# Perform arithmetic evaluation on the ARGs, and store the result in the
10009# global $as_val. Take advantage of shells that can avoid forks. The arguments
10010# must be portable across $(()) and expr.
10011if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10012  eval 'as_fn_arith ()
10013  {
10014    as_val=$(( $* ))
10015  }'
10016else
10017  as_fn_arith ()
10018  {
10019    as_val=`expr "$@" || test $? -eq 1`
10020  }
10021fi # as_fn_arith
10022
10023
10024if expr a : '\(a\)' >/dev/null 2>&1 &&
10025   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10026  as_expr=expr
10027else
10028  as_expr=false
10029fi
10030
10031if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10032  as_basename=basename
10033else
10034  as_basename=false
10035fi
10036
10037if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10038  as_dirname=dirname
10039else
10040  as_dirname=false
10041fi
10042
10043as_me=`$as_basename -- "$0" ||
10044$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10045	 X"$0" : 'X\(//\)$' \| \
10046	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10047$as_echo X/"$0" |
10048    sed '/^.*\/\([^/][^/]*\)\/*$/{
10049	    s//\1/
10050	    q
10051	  }
10052	  /^X\/\(\/\/\)$/{
10053	    s//\1/
10054	    q
10055	  }
10056	  /^X\/\(\/\).*/{
10057	    s//\1/
10058	    q
10059	  }
10060	  s/.*/./; q'`
10061
10062# Avoid depending upon Character Ranges.
10063as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10064as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10065as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10066as_cr_digits='0123456789'
10067as_cr_alnum=$as_cr_Letters$as_cr_digits
10068
10069ECHO_C= ECHO_N= ECHO_T=
10070case `echo -n x` in #(((((
10071-n*)
10072  case `echo 'xy\c'` in
10073  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
10074  xy)  ECHO_C='\c';;
10075  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10076       ECHO_T='	';;
10077  esac;;
10078*)
10079  ECHO_N='-n';;
10080esac
10081
10082rm -f conf$$ conf$$.exe conf$$.file
10083if test -d conf$$.dir; then
10084  rm -f conf$$.dir/conf$$.file
10085else
10086  rm -f conf$$.dir
10087  mkdir conf$$.dir 2>/dev/null
10088fi
10089if (echo >conf$$.file) 2>/dev/null; then
10090  if ln -s conf$$.file conf$$ 2>/dev/null; then
10091    as_ln_s='ln -s'
10092    # ... but there are two gotchas:
10093    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10094    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10095    # In both cases, we have to default to `cp -pR'.
10096    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10097      as_ln_s='cp -pR'
10098  elif ln conf$$.file conf$$ 2>/dev/null; then
10099    as_ln_s=ln
10100  else
10101    as_ln_s='cp -pR'
10102  fi
10103else
10104  as_ln_s='cp -pR'
10105fi
10106rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10107rmdir conf$$.dir 2>/dev/null
10108
10109
10110# as_fn_mkdir_p
10111# -------------
10112# Create "$as_dir" as a directory, including parents if necessary.
10113as_fn_mkdir_p ()
10114{
10115
10116  case $as_dir in #(
10117  -*) as_dir=./$as_dir;;
10118  esac
10119  test -d "$as_dir" || eval $as_mkdir_p || {
10120    as_dirs=
10121    while :; do
10122      case $as_dir in #(
10123      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10124      *) as_qdir=$as_dir;;
10125      esac
10126      as_dirs="'$as_qdir' $as_dirs"
10127      as_dir=`$as_dirname -- "$as_dir" ||
10128$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10129	 X"$as_dir" : 'X\(//\)[^/]' \| \
10130	 X"$as_dir" : 'X\(//\)$' \| \
10131	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10132$as_echo X"$as_dir" |
10133    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10134	    s//\1/
10135	    q
10136	  }
10137	  /^X\(\/\/\)[^/].*/{
10138	    s//\1/
10139	    q
10140	  }
10141	  /^X\(\/\/\)$/{
10142	    s//\1/
10143	    q
10144	  }
10145	  /^X\(\/\).*/{
10146	    s//\1/
10147	    q
10148	  }
10149	  s/.*/./; q'`
10150      test -d "$as_dir" && break
10151    done
10152    test -z "$as_dirs" || eval "mkdir $as_dirs"
10153  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10154
10155
10156} # as_fn_mkdir_p
10157if mkdir -p . 2>/dev/null; then
10158  as_mkdir_p='mkdir -p "$as_dir"'
10159else
10160  test -d ./-p && rmdir ./-p
10161  as_mkdir_p=false
10162fi
10163
10164
10165# as_fn_executable_p FILE
10166# -----------------------
10167# Test if FILE is an executable regular file.
10168as_fn_executable_p ()
10169{
10170  test -f "$1" && test -x "$1"
10171} # as_fn_executable_p
10172as_test_x='test -x'
10173as_executable_p=as_fn_executable_p
10174
10175# Sed expression to map a string onto a valid CPP name.
10176as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10177
10178# Sed expression to map a string onto a valid variable name.
10179as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10180
10181
10182exec 6>&1
10183## ----------------------------------- ##
10184## Main body of $CONFIG_STATUS script. ##
10185## ----------------------------------- ##
10186_ASEOF
10187test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10188
10189cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10190# Save the log message, to keep $0 and so on meaningful, and to
10191# report actual input values of CONFIG_FILES etc. instead of their
10192# values after options handling.
10193ac_log="
10194This file was extended by mos_release $as_me version-0.3, which was
10195generated by GNU Autoconf 2.69.  Invocation command line was
10196
10197  CONFIG_FILES    = $CONFIG_FILES
10198  CONFIG_HEADERS  = $CONFIG_HEADERS
10199  CONFIG_LINKS    = $CONFIG_LINKS
10200  CONFIG_COMMANDS = $CONFIG_COMMANDS
10201  $ $0 $@
10202
10203on `(hostname || uname -n) 2>/dev/null | sed 1q`
10204"
10205
10206_ACEOF
10207
10208case $ac_config_files in *"
10209"*) set x $ac_config_files; shift; ac_config_files=$*;;
10210esac
10211
10212
10213
10214cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10215# Files that config.status was made for.
10216config_files="$ac_config_files"
10217
10218_ACEOF
10219
10220cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10221ac_cs_usage="\
10222\`$as_me' instantiates files and other configuration actions
10223from templates according to the current configuration.  Unless the files
10224and actions are specified as TAGs, all are instantiated by default.
10225
10226Usage: $0 [OPTION]... [TAG]...
10227
10228  -h, --help       print this help, then exit
10229  -V, --version    print version number and configuration settings, then exit
10230      --config     print configuration, then exit
10231  -q, --quiet, --silent
10232                   do not print progress messages
10233  -d, --debug      don't remove temporary files
10234      --recheck    update $as_me by reconfiguring in the same conditions
10235      --file=FILE[:TEMPLATE]
10236                   instantiate the configuration file FILE
10237
10238Configuration files:
10239$config_files
10240
10241Report bugs to <[email protected]>."
10242
10243_ACEOF
10244cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10245ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10246ac_cs_version="\\
10247mos_release config.status version-0.3
10248configured by $0, generated by GNU Autoconf 2.69,
10249  with options \\"\$ac_cs_config\\"
10250
10251Copyright (C) 2012 Free Software Foundation, Inc.
10252This config.status script is free software; the Free Software Foundation
10253gives unlimited permission to copy, distribute and modify it."
10254
10255ac_pwd='$ac_pwd'
10256srcdir='$srcdir'
10257test -n "\$AWK" || AWK=awk
10258_ACEOF
10259
10260cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10261# The default lists apply if the user does not specify any file.
10262ac_need_defaults=:
10263while test $# != 0
10264do
10265  case $1 in
10266  --*=?*)
10267    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10268    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10269    ac_shift=:
10270    ;;
10271  --*=)
10272    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10273    ac_optarg=
10274    ac_shift=:
10275    ;;
10276  *)
10277    ac_option=$1
10278    ac_optarg=$2
10279    ac_shift=shift
10280    ;;
10281  esac
10282
10283  case $ac_option in
10284  # Handling of the options.
10285  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10286    ac_cs_recheck=: ;;
10287  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10288    $as_echo "$ac_cs_version"; exit ;;
10289  --config | --confi | --conf | --con | --co | --c )
10290    $as_echo "$ac_cs_config"; exit ;;
10291  --debug | --debu | --deb | --de | --d | -d )
10292    debug=: ;;
10293  --file | --fil | --fi | --f )
10294    $ac_shift
10295    case $ac_optarg in
10296    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10297    '') as_fn_error $? "missing file argument" ;;
10298    esac
10299    as_fn_append CONFIG_FILES " '$ac_optarg'"
10300    ac_need_defaults=false;;
10301  --he | --h |  --help | --hel | -h )
10302    $as_echo "$ac_cs_usage"; exit ;;
10303  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10304  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10305    ac_cs_silent=: ;;
10306
10307  # This is an error.
10308  -*) as_fn_error $? "unrecognized option: \`$1'
10309Try \`$0 --help' for more information." ;;
10310
10311  *) as_fn_append ac_config_targets " $1"
10312     ac_need_defaults=false ;;
10313
10314  esac
10315  shift
10316done
10317
10318ac_configure_extra_args=
10319
10320if $ac_cs_silent; then
10321  exec 6>/dev/null
10322  ac_configure_extra_args="$ac_configure_extra_args --silent"
10323fi
10324
10325_ACEOF
10326cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10327if \$ac_cs_recheck; then
10328  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10329  shift
10330  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10331  CONFIG_SHELL='$SHELL'
10332  export CONFIG_SHELL
10333  exec "\$@"
10334fi
10335
10336_ACEOF
10337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10338exec 5>>config.log
10339{
10340  echo
10341  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10342## Running $as_me. ##
10343_ASBOX
10344  $as_echo "$ac_log"
10345} >&5
10346
10347_ACEOF
10348cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10349_ACEOF
10350
10351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10352
10353# Handling of arguments.
10354for ac_config_target in $ac_config_targets
10355do
10356  case $ac_config_target in
10357    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
10358    "../samples/epserver/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epserver/Makefile" ;;
10359    "../samples/epwget/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/epwget/Makefile" ;;
10360    "../samples/midstat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/midstat/Makefile" ;;
10361    "../samples/simple_firewall/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/simple_firewall/Makefile" ;;
10362    "../samples/nat/Makefile") CONFIG_FILES="$CONFIG_FILES ../samples/nat/Makefile" ;;
10363
10364  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10365  esac
10366done
10367
10368
10369# If the user did not use the arguments to specify the items to instantiate,
10370# then the envvar interface is used.  Set only those that are not.
10371# We use the long form for the default assignment because of an extremely
10372# bizarre bug on SunOS 4.1.3.
10373if $ac_need_defaults; then
10374  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10375fi
10376
10377# Have a temporary directory for convenience.  Make it in the build tree
10378# simply because there is no reason against having it here, and in addition,
10379# creating and moving files from /tmp can sometimes cause problems.
10380# Hook for its removal unless debugging.
10381# Note that there is a small window in which the directory will not be cleaned:
10382# after its creation but before its name has been assigned to `$tmp'.
10383$debug ||
10384{
10385  tmp= ac_tmp=
10386  trap 'exit_status=$?
10387  : "${ac_tmp:=$tmp}"
10388  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10389' 0
10390  trap 'as_fn_exit 1' 1 2 13 15
10391}
10392# Create a (secure) tmp directory for tmp files.
10393
10394{
10395  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10396  test -d "$tmp"
10397}  ||
10398{
10399  tmp=./conf$$-$RANDOM
10400  (umask 077 && mkdir "$tmp")
10401} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10402ac_tmp=$tmp
10403
10404# Set up the scripts for CONFIG_FILES section.
10405# No need to generate them if there are no CONFIG_FILES.
10406# This happens for instance with `./config.status config.h'.
10407if test -n "$CONFIG_FILES"; then
10408
10409
10410ac_cr=`echo X | tr X '\015'`
10411# On cygwin, bash can eat \r inside `` if the user requested igncr.
10412# But we know of no other shell where ac_cr would be empty at this
10413# point, so we can use a bashism as a fallback.
10414if test "x$ac_cr" = x; then
10415  eval ac_cr=\$\'\\r\'
10416fi
10417ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10418if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10419  ac_cs_awk_cr='\\r'
10420else
10421  ac_cs_awk_cr=$ac_cr
10422fi
10423
10424echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10425_ACEOF
10426
10427
10428{
10429  echo "cat >conf$$subs.awk <<_ACEOF" &&
10430  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10431  echo "_ACEOF"
10432} >conf$$subs.sh ||
10433  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10434ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10435ac_delim='%!_!# '
10436for ac_last_try in false false false false false :; do
10437  . ./conf$$subs.sh ||
10438    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10439
10440  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10441  if test $ac_delim_n = $ac_delim_num; then
10442    break
10443  elif $ac_last_try; then
10444    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10445  else
10446    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10447  fi
10448done
10449rm -f conf$$subs.sh
10450
10451cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10452cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10453_ACEOF
10454sed -n '
10455h
10456s/^/S["/; s/!.*/"]=/
10457p
10458g
10459s/^[^!]*!//
10460:repl
10461t repl
10462s/'"$ac_delim"'$//
10463t delim
10464:nl
10465h
10466s/\(.\{148\}\)..*/\1/
10467t more1
10468s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10469p
10470n
10471b repl
10472:more1
10473s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10474p
10475g
10476s/.\{148\}//
10477t nl
10478:delim
10479h
10480s/\(.\{148\}\)..*/\1/
10481t more2
10482s/["\\]/\\&/g; s/^/"/; s/$/"/
10483p
10484b
10485:more2
10486s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10487p
10488g
10489s/.\{148\}//
10490t delim
10491' <conf$$subs.awk | sed '
10492/^[^""]/{
10493  N
10494  s/\n//
10495}
10496' >>$CONFIG_STATUS || ac_write_fail=1
10497rm -f conf$$subs.awk
10498cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10499_ACAWK
10500cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10501  for (key in S) S_is_set[key] = 1
10502  FS = ""
10503
10504}
10505{
10506  line = $ 0
10507  nfields = split(line, field, "@")
10508  substed = 0
10509  len = length(field[1])
10510  for (i = 2; i < nfields; i++) {
10511    key = field[i]
10512    keylen = length(key)
10513    if (S_is_set[key]) {
10514      value = S[key]
10515      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10516      len += length(value) + length(field[++i])
10517      substed = 1
10518    } else
10519      len += 1 + keylen
10520  }
10521
10522  print line
10523}
10524
10525_ACAWK
10526_ACEOF
10527cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10528if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10529  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10530else
10531  cat
10532fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10533  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10534_ACEOF
10535
10536# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10537# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10538# trailing colons and then remove the whole line if VPATH becomes empty
10539# (actually we leave an empty line to preserve line numbers).
10540if test "x$srcdir" = x.; then
10541  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
10542h
10543s///
10544s/^/:/
10545s/[	 ]*$/:/
10546s/:\$(srcdir):/:/g
10547s/:\${srcdir}:/:/g
10548s/:@srcdir@:/:/g
10549s/^:*//
10550s/:*$//
10551x
10552s/\(=[	 ]*\).*/\1/
10553G
10554s/\n//
10555s/^[^=]*=[	 ]*$//
10556}'
10557fi
10558
10559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10560fi # test -n "$CONFIG_FILES"
10561
10562
10563eval set X "  :F $CONFIG_FILES      "
10564shift
10565for ac_tag
10566do
10567  case $ac_tag in
10568  :[FHLC]) ac_mode=$ac_tag; continue;;
10569  esac
10570  case $ac_mode$ac_tag in
10571  :[FHL]*:*);;
10572  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10573  :[FH]-) ac_tag=-:-;;
10574  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10575  esac
10576  ac_save_IFS=$IFS
10577  IFS=:
10578  set x $ac_tag
10579  IFS=$ac_save_IFS
10580  shift
10581  ac_file=$1
10582  shift
10583
10584  case $ac_mode in
10585  :L) ac_source=$1;;
10586  :[FH])
10587    ac_file_inputs=
10588    for ac_f
10589    do
10590      case $ac_f in
10591      -) ac_f="$ac_tmp/stdin";;
10592      *) # Look for the file first in the build tree, then in the source tree
10593	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
10594	 # because $ac_f cannot contain `:'.
10595	 test -f "$ac_f" ||
10596	   case $ac_f in
10597	   [\\/$]*) false;;
10598	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10599	   esac ||
10600	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10601      esac
10602      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10603      as_fn_append ac_file_inputs " '$ac_f'"
10604    done
10605
10606    # Let's still pretend it is `configure' which instantiates (i.e., don't
10607    # use $as_me), people would be surprised to read:
10608    #    /* config.h.  Generated by config.status.  */
10609    configure_input='Generated from '`
10610	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10611	`' by configure.'
10612    if test x"$ac_file" != x-; then
10613      configure_input="$ac_file.  $configure_input"
10614      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10615$as_echo "$as_me: creating $ac_file" >&6;}
10616    fi
10617    # Neutralize special characters interpreted by sed in replacement strings.
10618    case $configure_input in #(
10619    *\&* | *\|* | *\\* )
10620       ac_sed_conf_input=`$as_echo "$configure_input" |
10621       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10622    *) ac_sed_conf_input=$configure_input;;
10623    esac
10624
10625    case $ac_tag in
10626    *:-:* | *:-) cat >"$ac_tmp/stdin" \
10627      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10628    esac
10629    ;;
10630  esac
10631
10632  ac_dir=`$as_dirname -- "$ac_file" ||
10633$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10634	 X"$ac_file" : 'X\(//\)[^/]' \| \
10635	 X"$ac_file" : 'X\(//\)$' \| \
10636	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10637$as_echo X"$ac_file" |
10638    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10639	    s//\1/
10640	    q
10641	  }
10642	  /^X\(\/\/\)[^/].*/{
10643	    s//\1/
10644	    q
10645	  }
10646	  /^X\(\/\/\)$/{
10647	    s//\1/
10648	    q
10649	  }
10650	  /^X\(\/\).*/{
10651	    s//\1/
10652	    q
10653	  }
10654	  s/.*/./; q'`
10655  as_dir="$ac_dir"; as_fn_mkdir_p
10656  ac_builddir=.
10657
10658case "$ac_dir" in
10659.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10660*)
10661  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10662  # A ".." for each directory in $ac_dir_suffix.
10663  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10664  case $ac_top_builddir_sub in
10665  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10666  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10667  esac ;;
10668esac
10669ac_abs_top_builddir=$ac_pwd
10670ac_abs_builddir=$ac_pwd$ac_dir_suffix
10671# for backward compatibility:
10672ac_top_builddir=$ac_top_build_prefix
10673
10674case $srcdir in
10675  .)  # We are building in place.
10676    ac_srcdir=.
10677    ac_top_srcdir=$ac_top_builddir_sub
10678    ac_abs_top_srcdir=$ac_pwd ;;
10679  [\\/]* | ?:[\\/]* )  # Absolute name.
10680    ac_srcdir=$srcdir$ac_dir_suffix;
10681    ac_top_srcdir=$srcdir
10682    ac_abs_top_srcdir=$srcdir ;;
10683  *) # Relative name.
10684    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10685    ac_top_srcdir=$ac_top_build_prefix$srcdir
10686    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10687esac
10688ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10689
10690
10691  case $ac_mode in
10692  :F)
10693  #
10694  # CONFIG_FILE
10695  #
10696
10697_ACEOF
10698
10699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10700# If the template does not know about datarootdir, expand it.
10701# FIXME: This hack should be removed a few years after 2.60.
10702ac_datarootdir_hack=; ac_datarootdir_seen=
10703ac_sed_dataroot='
10704/datarootdir/ {
10705  p
10706  q
10707}
10708/@datadir@/p
10709/@docdir@/p
10710/@infodir@/p
10711/@localedir@/p
10712/@mandir@/p'
10713case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10714*datarootdir*) ac_datarootdir_seen=yes;;
10715*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10716  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10717$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10718_ACEOF
10719cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10720  ac_datarootdir_hack='
10721  s&@datadir@&$datadir&g
10722  s&@docdir@&$docdir&g
10723  s&@infodir@&$infodir&g
10724  s&@localedir@&$localedir&g
10725  s&@mandir@&$mandir&g
10726  s&\\\${datarootdir}&$datarootdir&g' ;;
10727esac
10728_ACEOF
10729
10730# Neutralize VPATH when `$srcdir' = `.'.
10731# Shell code in configure.ac might set extrasub.
10732# FIXME: do we really want to maintain this feature?
10733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10734ac_sed_extra="$ac_vpsub
10735$extrasub
10736_ACEOF
10737cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10738:t
10739/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10740s|@configure_input@|$ac_sed_conf_input|;t t
10741s&@top_builddir@&$ac_top_builddir_sub&;t t
10742s&@top_build_prefix@&$ac_top_build_prefix&;t t
10743s&@srcdir@&$ac_srcdir&;t t
10744s&@abs_srcdir@&$ac_abs_srcdir&;t t
10745s&@top_srcdir@&$ac_top_srcdir&;t t
10746s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10747s&@builddir@&$ac_builddir&;t t
10748s&@abs_builddir@&$ac_abs_builddir&;t t
10749s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10750$ac_datarootdir_hack
10751"
10752eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10753  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10754
10755test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10756  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10757  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
10758      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10759  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10760which seems to be undefined.  Please make sure it is defined" >&5
10761$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10762which seems to be undefined.  Please make sure it is defined" >&2;}
10763
10764  rm -f "$ac_tmp/stdin"
10765  case $ac_file in
10766  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10767  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10768  esac \
10769  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10770 ;;
10771
10772
10773
10774  esac
10775
10776done # for ac_tag
10777
10778
10779as_fn_exit 0
10780_ACEOF
10781ac_clean_files=$ac_clean_files_save
10782
10783test $ac_write_fail = 0 ||
10784  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10785
10786
10787# configure is writing to config.log, and then calls config.status.
10788# config.status does its own redirection, appending to config.log.
10789# Unfortunately, on DOS this fails, as config.log is still kept open
10790# by configure, so config.status won't be able to write to it; its
10791# output is simply discarded.  So we exec the FD to /dev/null,
10792# effectively closing config.log, so it can be properly (re)opened and
10793# appended to by config.status.  When coming back to configure, we
10794# need to make the FD available again.
10795if test "$no_create" != yes; then
10796  ac_cs_success=:
10797  ac_config_status_args=
10798  test "$silent" = yes &&
10799    ac_config_status_args="$ac_config_status_args --quiet"
10800  exec 5>/dev/null
10801  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10802  exec 5>>config.log
10803  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10804  # would make configure fail if this is the last instruction.
10805  $ac_cs_success || as_fn_exit 1
10806fi
10807if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10808  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10809$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10810fi
10811
10812
10813