xref: /mOS-networking-stack/scripts/configure (revision 76404edc)
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for config version-0.1.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell [email protected] about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME='config'
579PACKAGE_TARNAME='config'
580PACKAGE_VERSION='version-0.1'
581PACKAGE_STRING='config version-0.1'
582PACKAGE_BUGREPORT=''
583PACKAGE_URL=''
584
585enable_option_checking=no
586# Factoring default headers for most tests.
587ac_includes_default="\
588#include <stdio.h>
589#ifdef HAVE_SYS_TYPES_H
590# include <sys/types.h>
591#endif
592#ifdef HAVE_SYS_STAT_H
593# include <sys/stat.h>
594#endif
595#ifdef STDC_HEADERS
596# include <stdlib.h>
597# include <stddef.h>
598#else
599# ifdef HAVE_STDLIB_H
600#  include <stdlib.h>
601# endif
602#endif
603#ifdef HAVE_STRING_H
604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605#  include <memory.h>
606# endif
607# include <string.h>
608#endif
609#ifdef HAVE_STRINGS_H
610# include <strings.h>
611#endif
612#ifdef HAVE_INTTYPES_H
613# include <inttypes.h>
614#endif
615#ifdef HAVE_STDINT_H
616# include <stdint.h>
617#endif
618#ifdef HAVE_UNISTD_H
619# include <unistd.h>
620#endif"
621
622ac_subst_vars='LTLIBOBJS
623LIBOBJS
624NONUMA
625PSIO
626DPDK
627DPDKR
628PCAP
629EGREP
630GREP
631CPP
632OBJEXT
633EXEEXT
634ac_ct_CC
635CPPFLAGS
636LDFLAGS
637CFLAGS
638CC
639target_alias
640host_alias
641build_alias
642LIBS
643ECHO_T
644ECHO_N
645ECHO_C
646DEFS
647mandir
648localedir
649libdir
650psdir
651pdfdir
652dvidir
653htmldir
654infodir
655docdir
656oldincludedir
657includedir
658localstatedir
659sharedstatedir
660sysconfdir
661datadir
662datarootdir
663libexecdir
664sbindir
665bindir
666program_transform_name
667prefix
668exec_prefix
669PACKAGE_URL
670PACKAGE_BUGREPORT
671PACKAGE_STRING
672PACKAGE_VERSION
673PACKAGE_TARNAME
674PACKAGE_NAME
675PATH_SEPARATOR
676SHELL'
677ac_subst_files=''
678ac_user_opts='
679disable_numa
680enable_option_checking
681enable_dpdk
682enable_dpdkr
683enable_psio
684enable_pcap
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 config version-0.1 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/config]
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 config version-0.1:";;
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-2.2.0
1305  --enable-dpdkr          Enable dpdk ring virtual port
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 the package provider.
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
1384config configure version-0.1
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 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    ;;
1544esac
1545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1546$as_echo_n "checking for $2... " >&6; }
1547if eval \${$3+:} false; then :
1548  $as_echo_n "(cached) " >&6
1549else
1550  eval "$3=\$ac_header_compiler"
1551fi
1552eval ac_res=\$$3
1553	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1554$as_echo "$ac_res" >&6; }
1555fi
1556  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557
1558} # ac_fn_c_check_header_mongrel
1559
1560# ac_fn_c_try_run LINENO
1561# ----------------------
1562# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1563# that executables *can* be run.
1564ac_fn_c_try_run ()
1565{
1566  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567  if { { ac_try="$ac_link"
1568case "(($ac_try" in
1569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570  *) ac_try_echo=$ac_try;;
1571esac
1572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573$as_echo "$ac_try_echo"; } >&5
1574  (eval "$ac_link") 2>&5
1575  ac_status=$?
1576  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1578  { { case "(($ac_try" in
1579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580  *) ac_try_echo=$ac_try;;
1581esac
1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583$as_echo "$ac_try_echo"; } >&5
1584  (eval "$ac_try") 2>&5
1585  ac_status=$?
1586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587  test $ac_status = 0; }; }; then :
1588  ac_retval=0
1589else
1590  $as_echo "$as_me: program exited with status $ac_status" >&5
1591       $as_echo "$as_me: failed program was:" >&5
1592sed 's/^/| /' conftest.$ac_ext >&5
1593
1594       ac_retval=$ac_status
1595fi
1596  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1597  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598  as_fn_set_status $ac_retval
1599
1600} # ac_fn_c_try_run
1601
1602# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1603# -------------------------------------------------------
1604# Tests whether HEADER exists and can be compiled using the include files in
1605# INCLUDES, setting the cache variable VAR accordingly.
1606ac_fn_c_check_header_compile ()
1607{
1608  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610$as_echo_n "checking for $2... " >&6; }
1611if eval \${$3+:} false; then :
1612  $as_echo_n "(cached) " >&6
1613else
1614  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1615/* end confdefs.h.  */
1616$4
1617#include <$2>
1618_ACEOF
1619if ac_fn_c_try_compile "$LINENO"; then :
1620  eval "$3=yes"
1621else
1622  eval "$3=no"
1623fi
1624rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1625fi
1626eval ac_res=\$$3
1627	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628$as_echo "$ac_res" >&6; }
1629  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630
1631} # ac_fn_c_check_header_compile
1632cat >config.log <<_ACEOF
1633This file contains any messages produced by compilers while
1634running configure, to aid debugging if configure makes a mistake.
1635
1636It was created by config $as_me version-0.1, which was
1637generated by GNU Autoconf 2.69.  Invocation command line was
1638
1639  $ $0 $@
1640
1641_ACEOF
1642exec 5>>config.log
1643{
1644cat <<_ASUNAME
1645## --------- ##
1646## Platform. ##
1647## --------- ##
1648
1649hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1650uname -m = `(uname -m) 2>/dev/null || echo unknown`
1651uname -r = `(uname -r) 2>/dev/null || echo unknown`
1652uname -s = `(uname -s) 2>/dev/null || echo unknown`
1653uname -v = `(uname -v) 2>/dev/null || echo unknown`
1654
1655/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1656/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1657
1658/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1659/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1660/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1661/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1662/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1663/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1664/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1665
1666_ASUNAME
1667
1668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669for as_dir in $PATH
1670do
1671  IFS=$as_save_IFS
1672  test -z "$as_dir" && as_dir=.
1673    $as_echo "PATH: $as_dir"
1674  done
1675IFS=$as_save_IFS
1676
1677} >&5
1678
1679cat >&5 <<_ACEOF
1680
1681
1682## ----------- ##
1683## Core tests. ##
1684## ----------- ##
1685
1686_ACEOF
1687
1688
1689# Keep a trace of the command line.
1690# Strip out --no-create and --no-recursion so they do not pile up.
1691# Strip out --silent because we don't want to record it for future runs.
1692# Also quote any args containing shell meta-characters.
1693# Make two passes to allow for proper duplicate-argument suppression.
1694ac_configure_args=
1695ac_configure_args0=
1696ac_configure_args1=
1697ac_must_keep_next=false
1698for ac_pass in 1 2
1699do
1700  for ac_arg
1701  do
1702    case $ac_arg in
1703    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1704    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1705    | -silent | --silent | --silen | --sile | --sil)
1706      continue ;;
1707    *\'*)
1708      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1709    esac
1710    case $ac_pass in
1711    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1712    2)
1713      as_fn_append ac_configure_args1 " '$ac_arg'"
1714      if test $ac_must_keep_next = true; then
1715	ac_must_keep_next=false # Got value, back to normal.
1716      else
1717	case $ac_arg in
1718	  *=* | --config-cache | -C | -disable-* | --disable-* \
1719	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1720	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1721	  | -with-* | --with-* | -without-* | --without-* | --x)
1722	    case "$ac_configure_args0 " in
1723	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1724	    esac
1725	    ;;
1726	  -* ) ac_must_keep_next=true ;;
1727	esac
1728      fi
1729      as_fn_append ac_configure_args " '$ac_arg'"
1730      ;;
1731    esac
1732  done
1733done
1734{ ac_configure_args0=; unset ac_configure_args0;}
1735{ ac_configure_args1=; unset ac_configure_args1;}
1736
1737# When interrupted or exit'd, cleanup temporary files, and complete
1738# config.log.  We remove comments because anyway the quotes in there
1739# would cause problems or look ugly.
1740# WARNING: Use '\'' to represent an apostrophe within the trap.
1741# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1742trap 'exit_status=$?
1743  # Save into config.log some information that might help in debugging.
1744  {
1745    echo
1746
1747    $as_echo "## ---------------- ##
1748## Cache variables. ##
1749## ---------------- ##"
1750    echo
1751    # The following way of writing the cache mishandles newlines in values,
1752(
1753  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1754    eval ac_val=\$$ac_var
1755    case $ac_val in #(
1756    *${as_nl}*)
1757      case $ac_var in #(
1758      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1759$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1760      esac
1761      case $ac_var in #(
1762      _ | IFS | as_nl) ;; #(
1763      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1764      *) { eval $ac_var=; unset $ac_var;} ;;
1765      esac ;;
1766    esac
1767  done
1768  (set) 2>&1 |
1769    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1770    *${as_nl}ac_space=\ *)
1771      sed -n \
1772	"s/'\''/'\''\\\\'\'''\''/g;
1773	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1774      ;; #(
1775    *)
1776      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1777      ;;
1778    esac |
1779    sort
1780)
1781    echo
1782
1783    $as_echo "## ----------------- ##
1784## Output variables. ##
1785## ----------------- ##"
1786    echo
1787    for ac_var in $ac_subst_vars
1788    do
1789      eval ac_val=\$$ac_var
1790      case $ac_val in
1791      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792      esac
1793      $as_echo "$ac_var='\''$ac_val'\''"
1794    done | sort
1795    echo
1796
1797    if test -n "$ac_subst_files"; then
1798      $as_echo "## ------------------- ##
1799## File substitutions. ##
1800## ------------------- ##"
1801      echo
1802      for ac_var in $ac_subst_files
1803      do
1804	eval ac_val=\$$ac_var
1805	case $ac_val in
1806	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1807	esac
1808	$as_echo "$ac_var='\''$ac_val'\''"
1809      done | sort
1810      echo
1811    fi
1812
1813    if test -s confdefs.h; then
1814      $as_echo "## ----------- ##
1815## confdefs.h. ##
1816## ----------- ##"
1817      echo
1818      cat confdefs.h
1819      echo
1820    fi
1821    test "$ac_signal" != 0 &&
1822      $as_echo "$as_me: caught signal $ac_signal"
1823    $as_echo "$as_me: exit $exit_status"
1824  } >&5
1825  rm -f *.core core.conftest.* &&
1826    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1827    exit $exit_status
1828' 0
1829for ac_signal in 1 2 13 15; do
1830  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1831done
1832ac_signal=0
1833
1834# confdefs.h avoids OS command line length limits that DEFS can exceed.
1835rm -f -r conftest* confdefs.h
1836
1837$as_echo "/* confdefs.h */" > confdefs.h
1838
1839# Predefined preprocessor variables.
1840
1841cat >>confdefs.h <<_ACEOF
1842#define PACKAGE_NAME "$PACKAGE_NAME"
1843_ACEOF
1844
1845cat >>confdefs.h <<_ACEOF
1846#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1847_ACEOF
1848
1849cat >>confdefs.h <<_ACEOF
1850#define PACKAGE_VERSION "$PACKAGE_VERSION"
1851_ACEOF
1852
1853cat >>confdefs.h <<_ACEOF
1854#define PACKAGE_STRING "$PACKAGE_STRING"
1855_ACEOF
1856
1857cat >>confdefs.h <<_ACEOF
1858#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1859_ACEOF
1860
1861cat >>confdefs.h <<_ACEOF
1862#define PACKAGE_URL "$PACKAGE_URL"
1863_ACEOF
1864
1865
1866# Let the site file select an alternate cache file if it wants to.
1867# Prefer an explicitly selected file to automatically selected ones.
1868ac_site_file1=NONE
1869ac_site_file2=NONE
1870if test -n "$CONFIG_SITE"; then
1871  # We do not want a PATH search for config.site.
1872  case $CONFIG_SITE in #((
1873    -*)  ac_site_file1=./$CONFIG_SITE;;
1874    */*) ac_site_file1=$CONFIG_SITE;;
1875    *)   ac_site_file1=./$CONFIG_SITE;;
1876  esac
1877elif test "x$prefix" != xNONE; then
1878  ac_site_file1=$prefix/share/config.site
1879  ac_site_file2=$prefix/etc/config.site
1880else
1881  ac_site_file1=$ac_default_prefix/share/config.site
1882  ac_site_file2=$ac_default_prefix/etc/config.site
1883fi
1884for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1885do
1886  test "x$ac_site_file" = xNONE && continue
1887  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1888    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1889$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1890    sed 's/^/| /' "$ac_site_file" >&5
1891    . "$ac_site_file" \
1892      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1893$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1894as_fn_error $? "failed to load site script $ac_site_file
1895See \`config.log' for more details" "$LINENO" 5; }
1896  fi
1897done
1898
1899if test -r "$cache_file"; then
1900  # Some versions of bash will fail to source /dev/null (special files
1901  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1902  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1903    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1904$as_echo "$as_me: loading cache $cache_file" >&6;}
1905    case $cache_file in
1906      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1907      *)                      . "./$cache_file";;
1908    esac
1909  fi
1910else
1911  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1912$as_echo "$as_me: creating cache $cache_file" >&6;}
1913  >$cache_file
1914fi
1915
1916# Check that the precious variables saved in the cache have kept the same
1917# value.
1918ac_cache_corrupted=false
1919for ac_var in $ac_precious_vars; do
1920  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1921  eval ac_new_set=\$ac_env_${ac_var}_set
1922  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1923  eval ac_new_val=\$ac_env_${ac_var}_value
1924  case $ac_old_set,$ac_new_set in
1925    set,)
1926      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1927$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1928      ac_cache_corrupted=: ;;
1929    ,set)
1930      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1931$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1932      ac_cache_corrupted=: ;;
1933    ,);;
1934    *)
1935      if test "x$ac_old_val" != "x$ac_new_val"; then
1936	# differences in whitespace do not lead to failure.
1937	ac_old_val_w=`echo x $ac_old_val`
1938	ac_new_val_w=`echo x $ac_new_val`
1939	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1940	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1941$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1942	  ac_cache_corrupted=:
1943	else
1944	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1945$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1946	  eval $ac_var=\$ac_old_val
1947	fi
1948	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1949$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1950	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1951$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1952      fi;;
1953  esac
1954  # Pass precious variables to config.status.
1955  if test "$ac_new_set" = set; then
1956    case $ac_new_val in
1957    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1958    *) ac_arg=$ac_var=$ac_new_val ;;
1959    esac
1960    case " $ac_configure_args " in
1961      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1962      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1963    esac
1964  fi
1965done
1966if $ac_cache_corrupted; then
1967  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1968$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1969  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1970$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1971  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1972fi
1973## -------------------- ##
1974## Main body of script. ##
1975## -------------------- ##
1976
1977ac_ext=c
1978ac_cpp='$CPP $CPPFLAGS'
1979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1981ac_compiler_gnu=$ac_cv_c_compiler_gnu
1982
1983
1984
1985# Check for cc
1986ac_ext=c
1987ac_cpp='$CPP $CPPFLAGS'
1988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1990ac_compiler_gnu=$ac_cv_c_compiler_gnu
1991if test -n "$ac_tool_prefix"; then
1992  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1993set dummy ${ac_tool_prefix}gcc; ac_word=$2
1994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1995$as_echo_n "checking for $ac_word... " >&6; }
1996if ${ac_cv_prog_CC+:} false; then :
1997  $as_echo_n "(cached) " >&6
1998else
1999  if test -n "$CC"; then
2000  ac_cv_prog_CC="$CC" # Let the user override the test.
2001else
2002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003for as_dir in $PATH
2004do
2005  IFS=$as_save_IFS
2006  test -z "$as_dir" && as_dir=.
2007    for ac_exec_ext in '' $ac_executable_extensions; do
2008  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2011    break 2
2012  fi
2013done
2014  done
2015IFS=$as_save_IFS
2016
2017fi
2018fi
2019CC=$ac_cv_prog_CC
2020if test -n "$CC"; then
2021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2022$as_echo "$CC" >&6; }
2023else
2024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2025$as_echo "no" >&6; }
2026fi
2027
2028
2029fi
2030if test -z "$ac_cv_prog_CC"; then
2031  ac_ct_CC=$CC
2032  # Extract the first word of "gcc", so it can be a program name with args.
2033set dummy gcc; ac_word=$2
2034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035$as_echo_n "checking for $ac_word... " >&6; }
2036if ${ac_cv_prog_ac_ct_CC+:} false; then :
2037  $as_echo_n "(cached) " >&6
2038else
2039  if test -n "$ac_ct_CC"; then
2040  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2041else
2042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH
2044do
2045  IFS=$as_save_IFS
2046  test -z "$as_dir" && as_dir=.
2047    for ac_exec_ext in '' $ac_executable_extensions; do
2048  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049    ac_cv_prog_ac_ct_CC="gcc"
2050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2051    break 2
2052  fi
2053done
2054  done
2055IFS=$as_save_IFS
2056
2057fi
2058fi
2059ac_ct_CC=$ac_cv_prog_ac_ct_CC
2060if test -n "$ac_ct_CC"; then
2061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2062$as_echo "$ac_ct_CC" >&6; }
2063else
2064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2065$as_echo "no" >&6; }
2066fi
2067
2068  if test "x$ac_ct_CC" = x; then
2069    CC=""
2070  else
2071    case $cross_compiling:$ac_tool_warned in
2072yes:)
2073{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2074$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2075ac_tool_warned=yes ;;
2076esac
2077    CC=$ac_ct_CC
2078  fi
2079else
2080  CC="$ac_cv_prog_CC"
2081fi
2082
2083if test -z "$CC"; then
2084          if test -n "$ac_tool_prefix"; then
2085    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2086set dummy ${ac_tool_prefix}cc; ac_word=$2
2087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2088$as_echo_n "checking for $ac_word... " >&6; }
2089if ${ac_cv_prog_CC+:} false; then :
2090  $as_echo_n "(cached) " >&6
2091else
2092  if test -n "$CC"; then
2093  ac_cv_prog_CC="$CC" # Let the user override the test.
2094else
2095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096for as_dir in $PATH
2097do
2098  IFS=$as_save_IFS
2099  test -z "$as_dir" && as_dir=.
2100    for ac_exec_ext in '' $ac_executable_extensions; do
2101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2102    ac_cv_prog_CC="${ac_tool_prefix}cc"
2103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2104    break 2
2105  fi
2106done
2107  done
2108IFS=$as_save_IFS
2109
2110fi
2111fi
2112CC=$ac_cv_prog_CC
2113if test -n "$CC"; then
2114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2115$as_echo "$CC" >&6; }
2116else
2117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2118$as_echo "no" >&6; }
2119fi
2120
2121
2122  fi
2123fi
2124if test -z "$CC"; then
2125  # Extract the first word of "cc", so it can be a program name with args.
2126set dummy cc; ac_word=$2
2127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128$as_echo_n "checking for $ac_word... " >&6; }
2129if ${ac_cv_prog_CC+:} false; then :
2130  $as_echo_n "(cached) " >&6
2131else
2132  if test -n "$CC"; then
2133  ac_cv_prog_CC="$CC" # Let the user override the test.
2134else
2135  ac_prog_rejected=no
2136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137for as_dir in $PATH
2138do
2139  IFS=$as_save_IFS
2140  test -z "$as_dir" && as_dir=.
2141    for ac_exec_ext in '' $ac_executable_extensions; do
2142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2144       ac_prog_rejected=yes
2145       continue
2146     fi
2147    ac_cv_prog_CC="cc"
2148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2149    break 2
2150  fi
2151done
2152  done
2153IFS=$as_save_IFS
2154
2155if test $ac_prog_rejected = yes; then
2156  # We found a bogon in the path, so make sure we never use it.
2157  set dummy $ac_cv_prog_CC
2158  shift
2159  if test $# != 0; then
2160    # We chose a different compiler from the bogus one.
2161    # However, it has the same basename, so the bogon will be chosen
2162    # first if we set CC to just the basename; use the full file name.
2163    shift
2164    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2165  fi
2166fi
2167fi
2168fi
2169CC=$ac_cv_prog_CC
2170if test -n "$CC"; then
2171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2172$as_echo "$CC" >&6; }
2173else
2174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175$as_echo "no" >&6; }
2176fi
2177
2178
2179fi
2180if test -z "$CC"; then
2181  if test -n "$ac_tool_prefix"; then
2182  for ac_prog in cl.exe
2183  do
2184    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2185set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187$as_echo_n "checking for $ac_word... " >&6; }
2188if ${ac_cv_prog_CC+:} false; then :
2189  $as_echo_n "(cached) " >&6
2190else
2191  if test -n "$CC"; then
2192  ac_cv_prog_CC="$CC" # Let the user override the test.
2193else
2194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195for as_dir in $PATH
2196do
2197  IFS=$as_save_IFS
2198  test -z "$as_dir" && as_dir=.
2199    for ac_exec_ext in '' $ac_executable_extensions; do
2200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203    break 2
2204  fi
2205done
2206  done
2207IFS=$as_save_IFS
2208
2209fi
2210fi
2211CC=$ac_cv_prog_CC
2212if test -n "$CC"; then
2213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2214$as_echo "$CC" >&6; }
2215else
2216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217$as_echo "no" >&6; }
2218fi
2219
2220
2221    test -n "$CC" && break
2222  done
2223fi
2224if test -z "$CC"; then
2225  ac_ct_CC=$CC
2226  for ac_prog in cl.exe
2227do
2228  # Extract the first word of "$ac_prog", so it can be a program name with args.
2229set dummy $ac_prog; ac_word=$2
2230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2231$as_echo_n "checking for $ac_word... " >&6; }
2232if ${ac_cv_prog_ac_ct_CC+:} false; then :
2233  $as_echo_n "(cached) " >&6
2234else
2235  if test -n "$ac_ct_CC"; then
2236  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2237else
2238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239for as_dir in $PATH
2240do
2241  IFS=$as_save_IFS
2242  test -z "$as_dir" && as_dir=.
2243    for ac_exec_ext in '' $ac_executable_extensions; do
2244  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2245    ac_cv_prog_ac_ct_CC="$ac_prog"
2246    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2247    break 2
2248  fi
2249done
2250  done
2251IFS=$as_save_IFS
2252
2253fi
2254fi
2255ac_ct_CC=$ac_cv_prog_ac_ct_CC
2256if test -n "$ac_ct_CC"; then
2257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2258$as_echo "$ac_ct_CC" >&6; }
2259else
2260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2261$as_echo "no" >&6; }
2262fi
2263
2264
2265  test -n "$ac_ct_CC" && break
2266done
2267
2268  if test "x$ac_ct_CC" = x; then
2269    CC=""
2270  else
2271    case $cross_compiling:$ac_tool_warned in
2272yes:)
2273{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2274$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2275ac_tool_warned=yes ;;
2276esac
2277    CC=$ac_ct_CC
2278  fi
2279fi
2280
2281fi
2282
2283
2284test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2285$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2286as_fn_error $? "no acceptable C compiler found in \$PATH
2287See \`config.log' for more details" "$LINENO" 5; }
2288
2289# Provide some information about the compiler.
2290$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2291set X $ac_compile
2292ac_compiler=$2
2293for ac_option in --version -v -V -qversion; do
2294  { { ac_try="$ac_compiler $ac_option >&5"
2295case "(($ac_try" in
2296  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297  *) ac_try_echo=$ac_try;;
2298esac
2299eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300$as_echo "$ac_try_echo"; } >&5
2301  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2302  ac_status=$?
2303  if test -s conftest.err; then
2304    sed '10a\
2305... rest of stderr output deleted ...
2306         10q' conftest.err >conftest.er1
2307    cat conftest.er1 >&5
2308  fi
2309  rm -f conftest.er1 conftest.err
2310  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2311  test $ac_status = 0; }
2312done
2313
2314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315/* end confdefs.h.  */
2316
2317int
2318main ()
2319{
2320
2321  ;
2322  return 0;
2323}
2324_ACEOF
2325ac_clean_files_save=$ac_clean_files
2326ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2327# Try to create an executable without -o first, disregard a.out.
2328# It will help us diagnose broken compilers, and finding out an intuition
2329# of exeext.
2330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2331$as_echo_n "checking whether the C compiler works... " >&6; }
2332ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2333
2334# The possible output files:
2335ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2336
2337ac_rmfiles=
2338for ac_file in $ac_files
2339do
2340  case $ac_file in
2341    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2342    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2343  esac
2344done
2345rm -f $ac_rmfiles
2346
2347if { { ac_try="$ac_link_default"
2348case "(($ac_try" in
2349  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350  *) ac_try_echo=$ac_try;;
2351esac
2352eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2353$as_echo "$ac_try_echo"; } >&5
2354  (eval "$ac_link_default") 2>&5
2355  ac_status=$?
2356  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2357  test $ac_status = 0; }; then :
2358  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2359# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2360# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2361# so that the user can short-circuit this test for compilers unknown to
2362# Autoconf.
2363for ac_file in $ac_files ''
2364do
2365  test -f "$ac_file" || continue
2366  case $ac_file in
2367    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2368	;;
2369    [ab].out )
2370	# We found the default executable, but exeext='' is most
2371	# certainly right.
2372	break;;
2373    *.* )
2374	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2375	then :; else
2376	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2377	fi
2378	# We set ac_cv_exeext here because the later test for it is not
2379	# safe: cross compilers may not add the suffix if given an `-o'
2380	# argument, so we may need to know it at that point already.
2381	# Even if this section looks crufty: it has the advantage of
2382	# actually working.
2383	break;;
2384    * )
2385	break;;
2386  esac
2387done
2388test "$ac_cv_exeext" = no && ac_cv_exeext=
2389
2390else
2391  ac_file=''
2392fi
2393if test -z "$ac_file"; then :
2394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2395$as_echo "no" >&6; }
2396$as_echo "$as_me: failed program was:" >&5
2397sed 's/^/| /' conftest.$ac_ext >&5
2398
2399{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401as_fn_error 77 "C compiler cannot create executables
2402See \`config.log' for more details" "$LINENO" 5; }
2403else
2404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2405$as_echo "yes" >&6; }
2406fi
2407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2408$as_echo_n "checking for C compiler default output file name... " >&6; }
2409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2410$as_echo "$ac_file" >&6; }
2411ac_exeext=$ac_cv_exeext
2412
2413rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2414ac_clean_files=$ac_clean_files_save
2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2416$as_echo_n "checking for suffix of executables... " >&6; }
2417if { { ac_try="$ac_link"
2418case "(($ac_try" in
2419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420  *) ac_try_echo=$ac_try;;
2421esac
2422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2423$as_echo "$ac_try_echo"; } >&5
2424  (eval "$ac_link") 2>&5
2425  ac_status=$?
2426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427  test $ac_status = 0; }; then :
2428  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2429# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2430# work properly (i.e., refer to `conftest.exe'), while it won't with
2431# `rm'.
2432for ac_file in conftest.exe conftest conftest.*; do
2433  test -f "$ac_file" || continue
2434  case $ac_file in
2435    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2436    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2437	  break;;
2438    * ) break;;
2439  esac
2440done
2441else
2442  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2445See \`config.log' for more details" "$LINENO" 5; }
2446fi
2447rm -f conftest conftest$ac_cv_exeext
2448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2449$as_echo "$ac_cv_exeext" >&6; }
2450
2451rm -f conftest.$ac_ext
2452EXEEXT=$ac_cv_exeext
2453ac_exeext=$EXEEXT
2454cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455/* end confdefs.h.  */
2456#include <stdio.h>
2457int
2458main ()
2459{
2460FILE *f = fopen ("conftest.out", "w");
2461 return ferror (f) || fclose (f) != 0;
2462
2463  ;
2464  return 0;
2465}
2466_ACEOF
2467ac_clean_files="$ac_clean_files conftest.out"
2468# Check that the compiler produces executables we can run.  If not, either
2469# the compiler is broken, or we cross compile.
2470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2471$as_echo_n "checking whether we are cross compiling... " >&6; }
2472if test "$cross_compiling" != yes; then
2473  { { ac_try="$ac_link"
2474case "(($ac_try" in
2475  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476  *) ac_try_echo=$ac_try;;
2477esac
2478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479$as_echo "$ac_try_echo"; } >&5
2480  (eval "$ac_link") 2>&5
2481  ac_status=$?
2482  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483  test $ac_status = 0; }
2484  if { ac_try='./conftest$ac_cv_exeext'
2485  { { case "(($ac_try" in
2486  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487  *) ac_try_echo=$ac_try;;
2488esac
2489eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490$as_echo "$ac_try_echo"; } >&5
2491  (eval "$ac_try") 2>&5
2492  ac_status=$?
2493  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2494  test $ac_status = 0; }; }; then
2495    cross_compiling=no
2496  else
2497    if test "$cross_compiling" = maybe; then
2498	cross_compiling=yes
2499    else
2500	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2501$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2502as_fn_error $? "cannot run C compiled programs.
2503If you meant to cross compile, use \`--host'.
2504See \`config.log' for more details" "$LINENO" 5; }
2505    fi
2506  fi
2507fi
2508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2509$as_echo "$cross_compiling" >&6; }
2510
2511rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2512ac_clean_files=$ac_clean_files_save
2513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2514$as_echo_n "checking for suffix of object files... " >&6; }
2515if ${ac_cv_objext+:} false; then :
2516  $as_echo_n "(cached) " >&6
2517else
2518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519/* end confdefs.h.  */
2520
2521int
2522main ()
2523{
2524
2525  ;
2526  return 0;
2527}
2528_ACEOF
2529rm -f conftest.o conftest.obj
2530if { { ac_try="$ac_compile"
2531case "(($ac_try" in
2532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533  *) ac_try_echo=$ac_try;;
2534esac
2535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536$as_echo "$ac_try_echo"; } >&5
2537  (eval "$ac_compile") 2>&5
2538  ac_status=$?
2539  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540  test $ac_status = 0; }; then :
2541  for ac_file in conftest.o conftest.obj conftest.*; do
2542  test -f "$ac_file" || continue;
2543  case $ac_file in
2544    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2545    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2546       break;;
2547  esac
2548done
2549else
2550  $as_echo "$as_me: failed program was:" >&5
2551sed 's/^/| /' conftest.$ac_ext >&5
2552
2553{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555as_fn_error $? "cannot compute suffix of object files: cannot compile
2556See \`config.log' for more details" "$LINENO" 5; }
2557fi
2558rm -f conftest.$ac_cv_objext conftest.$ac_ext
2559fi
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2561$as_echo "$ac_cv_objext" >&6; }
2562OBJEXT=$ac_cv_objext
2563ac_objext=$OBJEXT
2564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2565$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2566if ${ac_cv_c_compiler_gnu+:} false; then :
2567  $as_echo_n "(cached) " >&6
2568else
2569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570/* end confdefs.h.  */
2571
2572int
2573main ()
2574{
2575#ifndef __GNUC__
2576       choke me
2577#endif
2578
2579  ;
2580  return 0;
2581}
2582_ACEOF
2583if ac_fn_c_try_compile "$LINENO"; then :
2584  ac_compiler_gnu=yes
2585else
2586  ac_compiler_gnu=no
2587fi
2588rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2589ac_cv_c_compiler_gnu=$ac_compiler_gnu
2590
2591fi
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2593$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2594if test $ac_compiler_gnu = yes; then
2595  GCC=yes
2596else
2597  GCC=
2598fi
2599ac_test_CFLAGS=${CFLAGS+set}
2600ac_save_CFLAGS=$CFLAGS
2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2602$as_echo_n "checking whether $CC accepts -g... " >&6; }
2603if ${ac_cv_prog_cc_g+:} false; then :
2604  $as_echo_n "(cached) " >&6
2605else
2606  ac_save_c_werror_flag=$ac_c_werror_flag
2607   ac_c_werror_flag=yes
2608   ac_cv_prog_cc_g=no
2609   CFLAGS="-g"
2610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611/* end confdefs.h.  */
2612
2613int
2614main ()
2615{
2616
2617  ;
2618  return 0;
2619}
2620_ACEOF
2621if ac_fn_c_try_compile "$LINENO"; then :
2622  ac_cv_prog_cc_g=yes
2623else
2624  CFLAGS=""
2625      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626/* end confdefs.h.  */
2627
2628int
2629main ()
2630{
2631
2632  ;
2633  return 0;
2634}
2635_ACEOF
2636if ac_fn_c_try_compile "$LINENO"; then :
2637
2638else
2639  ac_c_werror_flag=$ac_save_c_werror_flag
2640	 CFLAGS="-g"
2641	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642/* end confdefs.h.  */
2643
2644int
2645main ()
2646{
2647
2648  ;
2649  return 0;
2650}
2651_ACEOF
2652if ac_fn_c_try_compile "$LINENO"; then :
2653  ac_cv_prog_cc_g=yes
2654fi
2655rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2656fi
2657rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2658fi
2659rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2660   ac_c_werror_flag=$ac_save_c_werror_flag
2661fi
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2663$as_echo "$ac_cv_prog_cc_g" >&6; }
2664if test "$ac_test_CFLAGS" = set; then
2665  CFLAGS=$ac_save_CFLAGS
2666elif test $ac_cv_prog_cc_g = yes; then
2667  if test "$GCC" = yes; then
2668    CFLAGS="-g -O2"
2669  else
2670    CFLAGS="-g"
2671  fi
2672else
2673  if test "$GCC" = yes; then
2674    CFLAGS="-O2"
2675  else
2676    CFLAGS=
2677  fi
2678fi
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2680$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2681if ${ac_cv_prog_cc_c89+:} false; then :
2682  $as_echo_n "(cached) " >&6
2683else
2684  ac_cv_prog_cc_c89=no
2685ac_save_CC=$CC
2686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2687/* end confdefs.h.  */
2688#include <stdarg.h>
2689#include <stdio.h>
2690struct stat;
2691/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2692struct buf { int x; };
2693FILE * (*rcsopen) (struct buf *, struct stat *, int);
2694static char *e (p, i)
2695     char **p;
2696     int i;
2697{
2698  return p[i];
2699}
2700static char *f (char * (*g) (char **, int), char **p, ...)
2701{
2702  char *s;
2703  va_list v;
2704  va_start (v,p);
2705  s = g (p, va_arg (v,int));
2706  va_end (v);
2707  return s;
2708}
2709
2710/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2711   function prototypes and stuff, but not '\xHH' hex character constants.
2712   These don't provoke an error unfortunately, instead are silently treated
2713   as 'x'.  The following induces an error, until -std is added to get
2714   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2715   array size at least.  It's necessary to write '\x00'==0 to get something
2716   that's true only with -std.  */
2717int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2718
2719/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2720   inside strings and character constants.  */
2721#define FOO(x) 'x'
2722int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2723
2724int test (int i, double x);
2725struct s1 {int (*f) (int a);};
2726struct s2 {int (*f) (double a);};
2727int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2728int argc;
2729char **argv;
2730int
2731main ()
2732{
2733return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2734  ;
2735  return 0;
2736}
2737_ACEOF
2738for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2739	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2740do
2741  CC="$ac_save_CC $ac_arg"
2742  if ac_fn_c_try_compile "$LINENO"; then :
2743  ac_cv_prog_cc_c89=$ac_arg
2744fi
2745rm -f conftest.err conftest.$ac_objext
2746  test "x$ac_cv_prog_cc_c89" != "xno" && break
2747done
2748rm -f conftest.$ac_ext
2749CC=$ac_save_CC
2750
2751fi
2752# AC_CACHE_VAL
2753case "x$ac_cv_prog_cc_c89" in
2754  x)
2755    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2756$as_echo "none needed" >&6; } ;;
2757  xno)
2758    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2759$as_echo "unsupported" >&6; } ;;
2760  *)
2761    CC="$CC $ac_cv_prog_cc_c89"
2762    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2763$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2764esac
2765if test "x$ac_cv_prog_cc_c89" != xno; then :
2766
2767fi
2768
2769ac_ext=c
2770ac_cpp='$CPP $CPPFLAGS'
2771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773ac_compiler_gnu=$ac_cv_c_compiler_gnu
2774
2775ac_ext=c
2776ac_cpp='$CPP $CPPFLAGS'
2777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779ac_compiler_gnu=$ac_cv_c_compiler_gnu
2780
2781
2782
2783
2784# Check for scheduling
2785
2786ac_ext=c
2787ac_cpp='$CPP $CPPFLAGS'
2788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2790ac_compiler_gnu=$ac_cv_c_compiler_gnu
2791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2792$as_echo_n "checking how to run the C preprocessor... " >&6; }
2793# On Suns, sometimes $CPP names a directory.
2794if test -n "$CPP" && test -d "$CPP"; then
2795  CPP=
2796fi
2797if test -z "$CPP"; then
2798  if ${ac_cv_prog_CPP+:} false; then :
2799  $as_echo_n "(cached) " >&6
2800else
2801      # Double quotes because CPP needs to be expanded
2802    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2803    do
2804      ac_preproc_ok=false
2805for ac_c_preproc_warn_flag in '' yes
2806do
2807  # Use a header file that comes with gcc, so configuring glibc
2808  # with a fresh cross-compiler works.
2809  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2810  # <limits.h> exists even on freestanding compilers.
2811  # On the NeXT, cc -E runs the code through the compiler's parser,
2812  # not just through cpp. "Syntax error" is here to catch this case.
2813  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814/* end confdefs.h.  */
2815#ifdef __STDC__
2816# include <limits.h>
2817#else
2818# include <assert.h>
2819#endif
2820		     Syntax error
2821_ACEOF
2822if ac_fn_c_try_cpp "$LINENO"; then :
2823
2824else
2825  # Broken: fails on valid input.
2826continue
2827fi
2828rm -f conftest.err conftest.i conftest.$ac_ext
2829
2830  # OK, works on sane cases.  Now check whether nonexistent headers
2831  # can be detected and how.
2832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833/* end confdefs.h.  */
2834#include <ac_nonexistent.h>
2835_ACEOF
2836if ac_fn_c_try_cpp "$LINENO"; then :
2837  # Broken: success on invalid input.
2838continue
2839else
2840  # Passes both tests.
2841ac_preproc_ok=:
2842break
2843fi
2844rm -f conftest.err conftest.i conftest.$ac_ext
2845
2846done
2847# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2848rm -f conftest.i conftest.err conftest.$ac_ext
2849if $ac_preproc_ok; then :
2850  break
2851fi
2852
2853    done
2854    ac_cv_prog_CPP=$CPP
2855
2856fi
2857  CPP=$ac_cv_prog_CPP
2858else
2859  ac_cv_prog_CPP=$CPP
2860fi
2861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2862$as_echo "$CPP" >&6; }
2863ac_preproc_ok=false
2864for ac_c_preproc_warn_flag in '' yes
2865do
2866  # Use a header file that comes with gcc, so configuring glibc
2867  # with a fresh cross-compiler works.
2868  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2869  # <limits.h> exists even on freestanding compilers.
2870  # On the NeXT, cc -E runs the code through the compiler's parser,
2871  # not just through cpp. "Syntax error" is here to catch this case.
2872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873/* end confdefs.h.  */
2874#ifdef __STDC__
2875# include <limits.h>
2876#else
2877# include <assert.h>
2878#endif
2879		     Syntax error
2880_ACEOF
2881if ac_fn_c_try_cpp "$LINENO"; then :
2882
2883else
2884  # Broken: fails on valid input.
2885continue
2886fi
2887rm -f conftest.err conftest.i conftest.$ac_ext
2888
2889  # OK, works on sane cases.  Now check whether nonexistent headers
2890  # can be detected and how.
2891  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892/* end confdefs.h.  */
2893#include <ac_nonexistent.h>
2894_ACEOF
2895if ac_fn_c_try_cpp "$LINENO"; then :
2896  # Broken: success on invalid input.
2897continue
2898else
2899  # Passes both tests.
2900ac_preproc_ok=:
2901break
2902fi
2903rm -f conftest.err conftest.i conftest.$ac_ext
2904
2905done
2906# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2907rm -f conftest.i conftest.err conftest.$ac_ext
2908if $ac_preproc_ok; then :
2909
2910else
2911  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
2914See \`config.log' for more details" "$LINENO" 5; }
2915fi
2916
2917ac_ext=c
2918ac_cpp='$CPP $CPPFLAGS'
2919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2921ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922
2923
2924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2925$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2926if ${ac_cv_path_GREP+:} false; then :
2927  $as_echo_n "(cached) " >&6
2928else
2929  if test -z "$GREP"; then
2930  ac_path_GREP_found=false
2931  # Loop through the user's path and test for each of PROGNAME-LIST
2932  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2934do
2935  IFS=$as_save_IFS
2936  test -z "$as_dir" && as_dir=.
2937    for ac_prog in grep ggrep; do
2938    for ac_exec_ext in '' $ac_executable_extensions; do
2939      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2940      as_fn_executable_p "$ac_path_GREP" || continue
2941# Check for GNU ac_path_GREP and select it if it is found.
2942  # Check for GNU $ac_path_GREP
2943case `"$ac_path_GREP" --version 2>&1` in
2944*GNU*)
2945  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2946*)
2947  ac_count=0
2948  $as_echo_n 0123456789 >"conftest.in"
2949  while :
2950  do
2951    cat "conftest.in" "conftest.in" >"conftest.tmp"
2952    mv "conftest.tmp" "conftest.in"
2953    cp "conftest.in" "conftest.nl"
2954    $as_echo 'GREP' >> "conftest.nl"
2955    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2956    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2957    as_fn_arith $ac_count + 1 && ac_count=$as_val
2958    if test $ac_count -gt ${ac_path_GREP_max-0}; then
2959      # Best one so far, save it but keep looking for a better one
2960      ac_cv_path_GREP="$ac_path_GREP"
2961      ac_path_GREP_max=$ac_count
2962    fi
2963    # 10*(2^10) chars as input seems more than enough
2964    test $ac_count -gt 10 && break
2965  done
2966  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2967esac
2968
2969      $ac_path_GREP_found && break 3
2970    done
2971  done
2972  done
2973IFS=$as_save_IFS
2974  if test -z "$ac_cv_path_GREP"; then
2975    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2976  fi
2977else
2978  ac_cv_path_GREP=$GREP
2979fi
2980
2981fi
2982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2983$as_echo "$ac_cv_path_GREP" >&6; }
2984 GREP="$ac_cv_path_GREP"
2985
2986
2987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2988$as_echo_n "checking for egrep... " >&6; }
2989if ${ac_cv_path_EGREP+:} false; then :
2990  $as_echo_n "(cached) " >&6
2991else
2992  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2993   then ac_cv_path_EGREP="$GREP -E"
2994   else
2995     if test -z "$EGREP"; then
2996  ac_path_EGREP_found=false
2997  # Loop through the user's path and test for each of PROGNAME-LIST
2998  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3000do
3001  IFS=$as_save_IFS
3002  test -z "$as_dir" && as_dir=.
3003    for ac_prog in egrep; do
3004    for ac_exec_ext in '' $ac_executable_extensions; do
3005      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3006      as_fn_executable_p "$ac_path_EGREP" || continue
3007# Check for GNU ac_path_EGREP and select it if it is found.
3008  # Check for GNU $ac_path_EGREP
3009case `"$ac_path_EGREP" --version 2>&1` in
3010*GNU*)
3011  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3012*)
3013  ac_count=0
3014  $as_echo_n 0123456789 >"conftest.in"
3015  while :
3016  do
3017    cat "conftest.in" "conftest.in" >"conftest.tmp"
3018    mv "conftest.tmp" "conftest.in"
3019    cp "conftest.in" "conftest.nl"
3020    $as_echo 'EGREP' >> "conftest.nl"
3021    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3022    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3023    as_fn_arith $ac_count + 1 && ac_count=$as_val
3024    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3025      # Best one so far, save it but keep looking for a better one
3026      ac_cv_path_EGREP="$ac_path_EGREP"
3027      ac_path_EGREP_max=$ac_count
3028    fi
3029    # 10*(2^10) chars as input seems more than enough
3030    test $ac_count -gt 10 && break
3031  done
3032  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3033esac
3034
3035      $ac_path_EGREP_found && break 3
3036    done
3037  done
3038  done
3039IFS=$as_save_IFS
3040  if test -z "$ac_cv_path_EGREP"; then
3041    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3042  fi
3043else
3044  ac_cv_path_EGREP=$EGREP
3045fi
3046
3047   fi
3048fi
3049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3050$as_echo "$ac_cv_path_EGREP" >&6; }
3051 EGREP="$ac_cv_path_EGREP"
3052
3053
3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3055$as_echo_n "checking for ANSI C header files... " >&6; }
3056if ${ac_cv_header_stdc+:} false; then :
3057  $as_echo_n "(cached) " >&6
3058else
3059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060/* end confdefs.h.  */
3061#include <stdlib.h>
3062#include <stdarg.h>
3063#include <string.h>
3064#include <float.h>
3065
3066int
3067main ()
3068{
3069
3070  ;
3071  return 0;
3072}
3073_ACEOF
3074if ac_fn_c_try_compile "$LINENO"; then :
3075  ac_cv_header_stdc=yes
3076else
3077  ac_cv_header_stdc=no
3078fi
3079rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3080
3081if test $ac_cv_header_stdc = yes; then
3082  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3083  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084/* end confdefs.h.  */
3085#include <string.h>
3086
3087_ACEOF
3088if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3089  $EGREP "memchr" >/dev/null 2>&1; then :
3090
3091else
3092  ac_cv_header_stdc=no
3093fi
3094rm -f conftest*
3095
3096fi
3097
3098if test $ac_cv_header_stdc = yes; then
3099  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101/* end confdefs.h.  */
3102#include <stdlib.h>
3103
3104_ACEOF
3105if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3106  $EGREP "free" >/dev/null 2>&1; then :
3107
3108else
3109  ac_cv_header_stdc=no
3110fi
3111rm -f conftest*
3112
3113fi
3114
3115if test $ac_cv_header_stdc = yes; then
3116  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3117  if test "$cross_compiling" = yes; then :
3118  :
3119else
3120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121/* end confdefs.h.  */
3122#include <ctype.h>
3123#include <stdlib.h>
3124#if ((' ' & 0x0FF) == 0x020)
3125# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3126# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3127#else
3128# define ISLOWER(c) \
3129		   (('a' <= (c) && (c) <= 'i') \
3130		     || ('j' <= (c) && (c) <= 'r') \
3131		     || ('s' <= (c) && (c) <= 'z'))
3132# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3133#endif
3134
3135#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3136int
3137main ()
3138{
3139  int i;
3140  for (i = 0; i < 256; i++)
3141    if (XOR (islower (i), ISLOWER (i))
3142	|| toupper (i) != TOUPPER (i))
3143      return 2;
3144  return 0;
3145}
3146_ACEOF
3147if ac_fn_c_try_run "$LINENO"; then :
3148
3149else
3150  ac_cv_header_stdc=no
3151fi
3152rm -f *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3153  conftest.$ac_objext conftest.beam conftest.$ac_ext
3154fi
3155
3156fi
3157fi
3158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3159$as_echo "$ac_cv_header_stdc" >&6; }
3160if test $ac_cv_header_stdc = yes; then
3161
3162$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3163
3164fi
3165
3166# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3167for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3168		  inttypes.h stdint.h unistd.h
3169do :
3170  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3171ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3172"
3173if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3174  cat >>confdefs.h <<_ACEOF
3175#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3176_ACEOF
3177
3178fi
3179
3180done
3181
3182
3183ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
3184if test "x$ac_cv_header_linux_sched_h" = xyes; then :
3185
3186fi
3187
3188
3189# Check for pthreads
3190ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3191if test "x$ac_cv_header_pthread_h" = xyes; then :
3192
3193fi
3194
3195
3196# Check for numa
3197ac_fn_c_check_header_mongrel "$LINENO" "numa.h" "ac_cv_header_numa_h" "$ac_includes_default"
3198if test "x$ac_cv_header_numa_h" = xyes; then :
3199
3200fi
3201
3202
3203NONUMA=0
3204# Reset I/O booleans to 0
3205DPDK=0
3206DPDKR=0
3207PSIO=0
3208PCAP=0
3209
3210# Disable numa
3211# Check whether --disable-dpdk was given.
3212if test "${disable_dpdk+set}" = set; then :
3213	enableval=$disable_dpdk;
3214fi
3215
3216if test "x$disable_dpdk" = "xyes"; then :
3217	NONUMA=1
3218fi
3219
3220# Enable dpdk
3221# Check whether --enable-dpdk was given.
3222if test "${enable_dpdk+set}" = set; then :
3223	enableval=$enable_dpdk;
3224fi
3225
3226if test "x$enable_dpdk" = "xyes"; then :
3227	DPDK=1
3228fi
3229
3230# Enable psio
3231# Check whether --enable-psio was given.
3232if test "${enable_psio+set}" = set; then :
3233	enableval=$enable_psio;
3234fi
3235if test "x$enable_psio" = "xyes"; then :
3236	PSIO=1
3237fi
3238
3239# Enable dpdkr
3240# Check whether --enable-dpdkr was given.
3241if test "${enable_dpdkr+set}" = set; then :
3242	enableval=$enable_dpdkr;
3243fi
3244if test "x$enable_dpdkr" = "xyes"; then :
3245	DPDKR=1
3246fi
3247
3248# Enable pcap
3249# Check whether --enable-pcap was given.
3250if test "${enable_pcap+set}" = set; then :
3251	enableval=$enable_pcap;
3252fi
3253if test "x$enable_pcap" = "xyes"; then :
3254	PCAP=1
3255fi
3256
3257if test "$DPDK" == "0" && test "$PSIO" == "0" && test "$PCAP" == "0" && test "$DPDKR" == "0"
3258then
3259        as_fn_error $? "Packet I/O library is missing. Please set one of dpdk, psio, or pcap as your I/O lib. Available options: --enable-dpdk --enable-psio --enable-pcap" "$LINENO" 5
3260fi
3261
3262ac_config_files="$ac_config_files ../core/src/Makefile"
3263
3264cat >confcache <<\_ACEOF
3265# This file is a shell script that caches the results of configure
3266# tests run on this system so they can be shared between configure
3267# scripts and configure runs, see configure's option --config-cache.
3268# It is not useful on other systems.  If it contains results you don't
3269# want to keep, you may remove or edit it.
3270#
3271# config.status only pays attention to the cache file if you give it
3272# the --recheck option to rerun configure.
3273#
3274# `ac_cv_env_foo' variables (set or unset) will be overridden when
3275# loading this file, other *unset* `ac_cv_foo' will be assigned the
3276# following values.
3277
3278_ACEOF
3279
3280# The following way of writing the cache mishandles newlines in values,
3281# but we know of no workaround that is simple, portable, and efficient.
3282# So, we kill variables containing newlines.
3283# Ultrix sh set writes to stderr and can't be redirected directly,
3284# and sets the high bit in the cache file unless we assign to the vars.
3285(
3286  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3287    eval ac_val=\$$ac_var
3288    case $ac_val in #(
3289    *${as_nl}*)
3290      case $ac_var in #(
3291      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3292$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3293      esac
3294      case $ac_var in #(
3295      _ | IFS | as_nl) ;; #(
3296      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3297      *) { eval $ac_var=; unset $ac_var;} ;;
3298      esac ;;
3299    esac
3300  done
3301
3302  (set) 2>&1 |
3303    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3304    *${as_nl}ac_space=\ *)
3305      # `set' does not quote correctly, so add quotes: double-quote
3306      # substitution turns \\\\ into \\, and sed turns \\ into \.
3307      sed -n \
3308	"s/'/'\\\\''/g;
3309	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3310      ;; #(
3311    *)
3312      # `set' quotes correctly as required by POSIX, so do not add quotes.
3313      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3314      ;;
3315    esac |
3316    sort
3317) |
3318  sed '
3319     /^ac_cv_env_/b end
3320     t clear
3321     :clear
3322     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3323     t end
3324     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3325     :end' >>confcache
3326if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3327  if test -w "$cache_file"; then
3328    if test "x$cache_file" != "x/dev/null"; then
3329      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3330$as_echo "$as_me: updating cache $cache_file" >&6;}
3331      if test ! -f "$cache_file" || test -h "$cache_file"; then
3332	cat confcache >"$cache_file"
3333      else
3334        case $cache_file in #(
3335        */* | ?:*)
3336	  mv -f confcache "$cache_file"$$ &&
3337	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3338        *)
3339	  mv -f confcache "$cache_file" ;;
3340	esac
3341      fi
3342    fi
3343  else
3344    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3345$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3346  fi
3347fi
3348rm -f confcache
3349
3350test "x$prefix" = xNONE && prefix=$ac_default_prefix
3351# Let make expand exec_prefix.
3352test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3353
3354# Transform confdefs.h into DEFS.
3355# Protect against shell expansion while executing Makefile rules.
3356# Protect against Makefile macro expansion.
3357#
3358# If the first sed substitution is executed (which looks for macros that
3359# take arguments), then branch to the quote section.  Otherwise,
3360# look for a macro that doesn't take arguments.
3361ac_script='
3362:mline
3363/\\$/{
3364 N
3365 s,\\\n,,
3366 b mline
3367}
3368t clear
3369:clear
3370s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3371t quote
3372s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3373t quote
3374b any
3375:quote
3376s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3377s/\[/\\&/g
3378s/\]/\\&/g
3379s/\$/$$/g
3380H
3381:any
3382${
3383	g
3384	s/^\n//
3385	s/\n/ /g
3386	p
3387}
3388'
3389DEFS=`sed -n "$ac_script" confdefs.h`
3390
3391
3392ac_libobjs=
3393ac_ltlibobjs=
3394U=
3395for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3396  # 1. Remove the extension, and $U if already installed.
3397  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3398  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3399  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3400  #    will be set to the directory where LIBOBJS objects are built.
3401  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3402  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3403done
3404LIBOBJS=$ac_libobjs
3405
3406LTLIBOBJS=$ac_ltlibobjs
3407
3408
3409
3410: "${CONFIG_STATUS=./config.status}"
3411ac_write_fail=0
3412ac_clean_files_save=$ac_clean_files
3413ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3415$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3416as_write_fail=0
3417cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3418#! $SHELL
3419# Generated by $as_me.
3420# Run this file to recreate the current configuration.
3421# Compiler output produced by configure, useful for debugging
3422# configure, is in config.log if it exists.
3423
3424debug=false
3425ac_cs_recheck=false
3426ac_cs_silent=false
3427
3428SHELL=\${CONFIG_SHELL-$SHELL}
3429export SHELL
3430_ASEOF
3431cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3432## -------------------- ##
3433## M4sh Initialization. ##
3434## -------------------- ##
3435
3436# Be more Bourne compatible
3437DUALCASE=1; export DUALCASE # for MKS sh
3438if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3439  emulate sh
3440  NULLCMD=:
3441  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3442  # is contrary to our usage.  Disable this feature.
3443  alias -g '${1+"$@"}'='"$@"'
3444  setopt NO_GLOB_SUBST
3445else
3446  case `(set -o) 2>/dev/null` in #(
3447  *posix*) :
3448    set -o posix ;; #(
3449  *) :
3450     ;;
3451esac
3452fi
3453
3454
3455as_nl='
3456'
3457export as_nl
3458# Printing a long string crashes Solaris 7 /usr/bin/printf.
3459as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3460as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3461as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3462# Prefer a ksh shell builtin over an external printf program on Solaris,
3463# but without wasting forks for bash or zsh.
3464if test -z "$BASH_VERSION$ZSH_VERSION" \
3465    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3466  as_echo='print -r --'
3467  as_echo_n='print -rn --'
3468elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3469  as_echo='printf %s\n'
3470  as_echo_n='printf %s'
3471else
3472  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3473    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3474    as_echo_n='/usr/ucb/echo -n'
3475  else
3476    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3477    as_echo_n_body='eval
3478      arg=$1;
3479      case $arg in #(
3480      *"$as_nl"*)
3481	expr "X$arg" : "X\\(.*\\)$as_nl";
3482	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3483      esac;
3484      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3485    '
3486    export as_echo_n_body
3487    as_echo_n='sh -c $as_echo_n_body as_echo'
3488  fi
3489  export as_echo_body
3490  as_echo='sh -c $as_echo_body as_echo'
3491fi
3492
3493# The user is always right.
3494if test "${PATH_SEPARATOR+set}" != set; then
3495  PATH_SEPARATOR=:
3496  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3497    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3498      PATH_SEPARATOR=';'
3499  }
3500fi
3501
3502
3503# IFS
3504# We need space, tab and new line, in precisely that order.  Quoting is
3505# there to prevent editors from complaining about space-tab.
3506# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3507# splitting by setting IFS to empty value.)
3508IFS=" ""	$as_nl"
3509
3510# Find who we are.  Look in the path if we contain no directory separator.
3511as_myself=
3512case $0 in #((
3513  *[\\/]* ) as_myself=$0 ;;
3514  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515for as_dir in $PATH
3516do
3517  IFS=$as_save_IFS
3518  test -z "$as_dir" && as_dir=.
3519    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3520  done
3521IFS=$as_save_IFS
3522
3523     ;;
3524esac
3525# We did not find ourselves, most probably we were run as `sh COMMAND'
3526# in which case we are not to be found in the path.
3527if test "x$as_myself" = x; then
3528  as_myself=$0
3529fi
3530if test ! -f "$as_myself"; then
3531  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3532  exit 1
3533fi
3534
3535# Unset variables that we do not need and which cause bugs (e.g. in
3536# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3537# suppresses any "Segmentation fault" message there.  '((' could
3538# trigger a bug in pdksh 5.2.14.
3539for as_var in BASH_ENV ENV MAIL MAILPATH
3540do eval test x\${$as_var+set} = xset \
3541  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3542done
3543PS1='$ '
3544PS2='> '
3545PS4='+ '
3546
3547# NLS nuisances.
3548LC_ALL=C
3549export LC_ALL
3550LANGUAGE=C
3551export LANGUAGE
3552
3553# CDPATH.
3554(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3555
3556
3557# as_fn_error STATUS ERROR [LINENO LOG_FD]
3558# ----------------------------------------
3559# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3560# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3561# script with STATUS, using 1 if that was 0.
3562as_fn_error ()
3563{
3564  as_status=$1; test $as_status -eq 0 && as_status=1
3565  if test "$4"; then
3566    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3567    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3568  fi
3569  $as_echo "$as_me: error: $2" >&2
3570  as_fn_exit $as_status
3571} # as_fn_error
3572
3573
3574# as_fn_set_status STATUS
3575# -----------------------
3576# Set $? to STATUS, without forking.
3577as_fn_set_status ()
3578{
3579  return $1
3580} # as_fn_set_status
3581
3582# as_fn_exit STATUS
3583# -----------------
3584# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3585as_fn_exit ()
3586{
3587  set +e
3588  as_fn_set_status $1
3589  exit $1
3590} # as_fn_exit
3591
3592# as_fn_unset VAR
3593# ---------------
3594# Portably unset VAR.
3595as_fn_unset ()
3596{
3597  { eval $1=; unset $1;}
3598}
3599as_unset=as_fn_unset
3600# as_fn_append VAR VALUE
3601# ----------------------
3602# Append the text in VALUE to the end of the definition contained in VAR. Take
3603# advantage of any shell optimizations that allow amortized linear growth over
3604# repeated appends, instead of the typical quadratic growth present in naive
3605# implementations.
3606if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3607  eval 'as_fn_append ()
3608  {
3609    eval $1+=\$2
3610  }'
3611else
3612  as_fn_append ()
3613  {
3614    eval $1=\$$1\$2
3615  }
3616fi # as_fn_append
3617
3618# as_fn_arith ARG...
3619# ------------------
3620# Perform arithmetic evaluation on the ARGs, and store the result in the
3621# global $as_val. Take advantage of shells that can avoid forks. The arguments
3622# must be portable across $(()) and expr.
3623if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3624  eval 'as_fn_arith ()
3625  {
3626    as_val=$(( $* ))
3627  }'
3628else
3629  as_fn_arith ()
3630  {
3631    as_val=`expr "$@" || test $? -eq 1`
3632  }
3633fi # as_fn_arith
3634
3635
3636if expr a : '\(a\)' >/dev/null 2>&1 &&
3637   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3638  as_expr=expr
3639else
3640  as_expr=false
3641fi
3642
3643if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3644  as_basename=basename
3645else
3646  as_basename=false
3647fi
3648
3649if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3650  as_dirname=dirname
3651else
3652  as_dirname=false
3653fi
3654
3655as_me=`$as_basename -- "$0" ||
3656$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3657	 X"$0" : 'X\(//\)$' \| \
3658	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3659$as_echo X/"$0" |
3660    sed '/^.*\/\([^/][^/]*\)\/*$/{
3661	    s//\1/
3662	    q
3663	  }
3664	  /^X\/\(\/\/\)$/{
3665	    s//\1/
3666	    q
3667	  }
3668	  /^X\/\(\/\).*/{
3669	    s//\1/
3670	    q
3671	  }
3672	  s/.*/./; q'`
3673
3674# Avoid depending upon Character Ranges.
3675as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3676as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3677as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3678as_cr_digits='0123456789'
3679as_cr_alnum=$as_cr_Letters$as_cr_digits
3680
3681ECHO_C= ECHO_N= ECHO_T=
3682case `echo -n x` in #(((((
3683-n*)
3684  case `echo 'xy\c'` in
3685  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3686  xy)  ECHO_C='\c';;
3687  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3688       ECHO_T='	';;
3689  esac;;
3690*)
3691  ECHO_N='-n';;
3692esac
3693
3694rm -f conf$$ conf$$.exe conf$$.file
3695if test -d conf$$.dir; then
3696  rm -f conf$$.dir/conf$$.file
3697else
3698  rm -f conf$$.dir
3699  mkdir conf$$.dir 2>/dev/null
3700fi
3701if (echo >conf$$.file) 2>/dev/null; then
3702  if ln -s conf$$.file conf$$ 2>/dev/null; then
3703    as_ln_s='ln -s'
3704    # ... but there are two gotchas:
3705    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3706    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3707    # In both cases, we have to default to `cp -pR'.
3708    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3709      as_ln_s='cp -pR'
3710  elif ln conf$$.file conf$$ 2>/dev/null; then
3711    as_ln_s=ln
3712  else
3713    as_ln_s='cp -pR'
3714  fi
3715else
3716  as_ln_s='cp -pR'
3717fi
3718rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3719rmdir conf$$.dir 2>/dev/null
3720
3721
3722# as_fn_mkdir_p
3723# -------------
3724# Create "$as_dir" as a directory, including parents if necessary.
3725as_fn_mkdir_p ()
3726{
3727
3728  case $as_dir in #(
3729  -*) as_dir=./$as_dir;;
3730  esac
3731  test -d "$as_dir" || eval $as_mkdir_p || {
3732    as_dirs=
3733    while :; do
3734      case $as_dir in #(
3735      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3736      *) as_qdir=$as_dir;;
3737      esac
3738      as_dirs="'$as_qdir' $as_dirs"
3739      as_dir=`$as_dirname -- "$as_dir" ||
3740$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3741	 X"$as_dir" : 'X\(//\)[^/]' \| \
3742	 X"$as_dir" : 'X\(//\)$' \| \
3743	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3744$as_echo X"$as_dir" |
3745    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3746	    s//\1/
3747	    q
3748	  }
3749	  /^X\(\/\/\)[^/].*/{
3750	    s//\1/
3751	    q
3752	  }
3753	  /^X\(\/\/\)$/{
3754	    s//\1/
3755	    q
3756	  }
3757	  /^X\(\/\).*/{
3758	    s//\1/
3759	    q
3760	  }
3761	  s/.*/./; q'`
3762      test -d "$as_dir" && break
3763    done
3764    test -z "$as_dirs" || eval "mkdir $as_dirs"
3765  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3766
3767
3768} # as_fn_mkdir_p
3769if mkdir -p . 2>/dev/null; then
3770  as_mkdir_p='mkdir -p "$as_dir"'
3771else
3772  test -d ./-p && rmdir ./-p
3773  as_mkdir_p=false
3774fi
3775
3776
3777# as_fn_executable_p FILE
3778# -----------------------
3779# Test if FILE is an executable regular file.
3780as_fn_executable_p ()
3781{
3782  test -f "$1" && test -x "$1"
3783} # as_fn_executable_p
3784as_test_x='test -x'
3785as_executable_p=as_fn_executable_p
3786
3787# Sed expression to map a string onto a valid CPP name.
3788as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3789
3790# Sed expression to map a string onto a valid variable name.
3791as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3792
3793
3794exec 6>&1
3795## ----------------------------------- ##
3796## Main body of $CONFIG_STATUS script. ##
3797## ----------------------------------- ##
3798_ASEOF
3799test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3800
3801cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3802# Save the log message, to keep $0 and so on meaningful, and to
3803# report actual input values of CONFIG_FILES etc. instead of their
3804# values after options handling.
3805ac_log="
3806This file was extended by config $as_me version-0.1, which was
3807generated by GNU Autoconf 2.69.  Invocation command line was
3808
3809  CONFIG_FILES    = $CONFIG_FILES
3810  CONFIG_HEADERS  = $CONFIG_HEADERS
3811  CONFIG_LINKS    = $CONFIG_LINKS
3812  CONFIG_COMMANDS = $CONFIG_COMMANDS
3813  $ $0 $@
3814
3815on `(hostname || uname -n) 2>/dev/null | sed 1q`
3816"
3817
3818_ACEOF
3819
3820case $ac_config_files in *"
3821"*) set x $ac_config_files; shift; ac_config_files=$*;;
3822esac
3823
3824
3825
3826cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3827# Files that config.status was made for.
3828config_files="$ac_config_files"
3829
3830_ACEOF
3831
3832cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3833ac_cs_usage="\
3834\`$as_me' instantiates files and other configuration actions
3835from templates according to the current configuration.  Unless the files
3836and actions are specified as TAGs, all are instantiated by default.
3837
3838Usage: $0 [OPTION]... [TAG]...
3839
3840  -h, --help       print this help, then exit
3841  -V, --version    print version number and configuration settings, then exit
3842      --config     print configuration, then exit
3843  -q, --quiet, --silent
3844                   do not print progress messages
3845  -d, --debug      don't remove temporary files
3846      --recheck    update $as_me by reconfiguring in the same conditions
3847      --file=FILE[:TEMPLATE]
3848                   instantiate the configuration file FILE
3849
3850Configuration files:
3851$config_files
3852
3853Report bugs to the package provider."
3854
3855_ACEOF
3856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3857ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3858ac_cs_version="\\
3859config config.status version-0.1
3860configured by $0, generated by GNU Autoconf 2.69,
3861  with options \\"\$ac_cs_config\\"
3862
3863Copyright (C) 2012 Free Software Foundation, Inc.
3864This config.status script is free software; the Free Software Foundation
3865gives unlimited permission to copy, distribute and modify it."
3866
3867ac_pwd='$ac_pwd'
3868srcdir='$srcdir'
3869test -n "\$AWK" || AWK=awk
3870_ACEOF
3871
3872cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3873# The default lists apply if the user does not specify any file.
3874ac_need_defaults=:
3875while test $# != 0
3876do
3877  case $1 in
3878  --*=?*)
3879    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3880    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3881    ac_shift=:
3882    ;;
3883  --*=)
3884    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3885    ac_optarg=
3886    ac_shift=:
3887    ;;
3888  *)
3889    ac_option=$1
3890    ac_optarg=$2
3891    ac_shift=shift
3892    ;;
3893  esac
3894
3895  case $ac_option in
3896  # Handling of the options.
3897  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3898    ac_cs_recheck=: ;;
3899  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3900    $as_echo "$ac_cs_version"; exit ;;
3901  --config | --confi | --conf | --con | --co | --c )
3902    $as_echo "$ac_cs_config"; exit ;;
3903  --debug | --debu | --deb | --de | --d | -d )
3904    debug=: ;;
3905  --file | --fil | --fi | --f )
3906    $ac_shift
3907    case $ac_optarg in
3908    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3909    '') as_fn_error $? "missing file argument" ;;
3910    esac
3911    as_fn_append CONFIG_FILES " '$ac_optarg'"
3912    ac_need_defaults=false;;
3913  --he | --h |  --help | --hel | -h )
3914    $as_echo "$ac_cs_usage"; exit ;;
3915  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3916  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3917    ac_cs_silent=: ;;
3918
3919  # This is an error.
3920  -*) as_fn_error $? "unrecognized option: \`$1'
3921Try \`$0 --help' for more information." ;;
3922
3923  *) as_fn_append ac_config_targets " $1"
3924     ac_need_defaults=false ;;
3925
3926  esac
3927  shift
3928done
3929
3930ac_configure_extra_args=
3931
3932if $ac_cs_silent; then
3933  exec 6>/dev/null
3934  ac_configure_extra_args="$ac_configure_extra_args --silent"
3935fi
3936
3937_ACEOF
3938cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3939if \$ac_cs_recheck; then
3940  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3941  shift
3942  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3943  CONFIG_SHELL='$SHELL'
3944  export CONFIG_SHELL
3945  exec "\$@"
3946fi
3947
3948_ACEOF
3949cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3950exec 5>>config.log
3951{
3952  echo
3953  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3954## Running $as_me. ##
3955_ASBOX
3956  $as_echo "$ac_log"
3957} >&5
3958
3959_ACEOF
3960cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3961_ACEOF
3962
3963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3964
3965# Handling of arguments.
3966for ac_config_target in $ac_config_targets
3967do
3968  case $ac_config_target in
3969    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
3970
3971  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3972  esac
3973done
3974
3975
3976# If the user did not use the arguments to specify the items to instantiate,
3977# then the envvar interface is used.  Set only those that are not.
3978# We use the long form for the default assignment because of an extremely
3979# bizarre bug on SunOS 4.1.3.
3980if $ac_need_defaults; then
3981  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3982fi
3983
3984# Have a temporary directory for convenience.  Make it in the build tree
3985# simply because there is no reason against having it here, and in addition,
3986# creating and moving files from /tmp can sometimes cause problems.
3987# Hook for its removal unless debugging.
3988# Note that there is a small window in which the directory will not be cleaned:
3989# after its creation but before its name has been assigned to `$tmp'.
3990$debug ||
3991{
3992  tmp= ac_tmp=
3993  trap 'exit_status=$?
3994  : "${ac_tmp:=$tmp}"
3995  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3996' 0
3997  trap 'as_fn_exit 1' 1 2 13 15
3998}
3999# Create a (secure) tmp directory for tmp files.
4000
4001{
4002  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4003  test -d "$tmp"
4004}  ||
4005{
4006  tmp=./conf$$-$RANDOM
4007  (umask 077 && mkdir "$tmp")
4008} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4009ac_tmp=$tmp
4010
4011# Set up the scripts for CONFIG_FILES section.
4012# No need to generate them if there are no CONFIG_FILES.
4013# This happens for instance with `./config.status config.h'.
4014if test -n "$CONFIG_FILES"; then
4015
4016
4017ac_cr=`echo X | tr X '\015'`
4018# On cygwin, bash can eat \r inside `` if the user requested igncr.
4019# But we know of no other shell where ac_cr would be empty at this
4020# point, so we can use a bashism as a fallback.
4021if test "x$ac_cr" = x; then
4022  eval ac_cr=\$\'\\r\'
4023fi
4024ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4025if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4026  ac_cs_awk_cr='\\r'
4027else
4028  ac_cs_awk_cr=$ac_cr
4029fi
4030
4031echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4032_ACEOF
4033
4034
4035{
4036  echo "cat >conf$$subs.awk <<_ACEOF" &&
4037  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4038  echo "_ACEOF"
4039} >conf$$subs.sh ||
4040  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4041ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4042ac_delim='%!_!# '
4043for ac_last_try in false false false false false :; do
4044  . ./conf$$subs.sh ||
4045    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4046
4047  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4048  if test $ac_delim_n = $ac_delim_num; then
4049    break
4050  elif $ac_last_try; then
4051    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4052  else
4053    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4054  fi
4055done
4056rm -f conf$$subs.sh
4057
4058cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4059cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4060_ACEOF
4061sed -n '
4062h
4063s/^/S["/; s/!.*/"]=/
4064p
4065g
4066s/^[^!]*!//
4067:repl
4068t repl
4069s/'"$ac_delim"'$//
4070t delim
4071:nl
4072h
4073s/\(.\{148\}\)..*/\1/
4074t more1
4075s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4076p
4077n
4078b repl
4079:more1
4080s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4081p
4082g
4083s/.\{148\}//
4084t nl
4085:delim
4086h
4087s/\(.\{148\}\)..*/\1/
4088t more2
4089s/["\\]/\\&/g; s/^/"/; s/$/"/
4090p
4091b
4092:more2
4093s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4094p
4095g
4096s/.\{148\}//
4097t delim
4098' <conf$$subs.awk | sed '
4099/^[^""]/{
4100  N
4101  s/\n//
4102}
4103' >>$CONFIG_STATUS || ac_write_fail=1
4104rm -f conf$$subs.awk
4105cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4106_ACAWK
4107cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4108  for (key in S) S_is_set[key] = 1
4109  FS = ""
4110
4111}
4112{
4113  line = $ 0
4114  nfields = split(line, field, "@")
4115  substed = 0
4116  len = length(field[1])
4117  for (i = 2; i < nfields; i++) {
4118    key = field[i]
4119    keylen = length(key)
4120    if (S_is_set[key]) {
4121      value = S[key]
4122      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4123      len += length(value) + length(field[++i])
4124      substed = 1
4125    } else
4126      len += 1 + keylen
4127  }
4128
4129  print line
4130}
4131
4132_ACAWK
4133_ACEOF
4134cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4135if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4136  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4137else
4138  cat
4139fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4140  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4141_ACEOF
4142
4143# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4144# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4145# trailing colons and then remove the whole line if VPATH becomes empty
4146# (actually we leave an empty line to preserve line numbers).
4147if test "x$srcdir" = x.; then
4148  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4149h
4150s///
4151s/^/:/
4152s/[	 ]*$/:/
4153s/:\$(srcdir):/:/g
4154s/:\${srcdir}:/:/g
4155s/:@srcdir@:/:/g
4156s/^:*//
4157s/:*$//
4158x
4159s/\(=[	 ]*\).*/\1/
4160G
4161s/\n//
4162s/^[^=]*=[	 ]*$//
4163}'
4164fi
4165
4166cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4167fi # test -n "$CONFIG_FILES"
4168
4169
4170eval set X "  :F $CONFIG_FILES      "
4171shift
4172for ac_tag
4173do
4174  case $ac_tag in
4175  :[FHLC]) ac_mode=$ac_tag; continue;;
4176  esac
4177  case $ac_mode$ac_tag in
4178  :[FHL]*:*);;
4179  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4180  :[FH]-) ac_tag=-:-;;
4181  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4182  esac
4183  ac_save_IFS=$IFS
4184  IFS=:
4185  set x $ac_tag
4186  IFS=$ac_save_IFS
4187  shift
4188  ac_file=$1
4189  shift
4190
4191  case $ac_mode in
4192  :L) ac_source=$1;;
4193  :[FH])
4194    ac_file_inputs=
4195    for ac_f
4196    do
4197      case $ac_f in
4198      -) ac_f="$ac_tmp/stdin";;
4199      *) # Look for the file first in the build tree, then in the source tree
4200	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4201	 # because $ac_f cannot contain `:'.
4202	 test -f "$ac_f" ||
4203	   case $ac_f in
4204	   [\\/$]*) false;;
4205	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4206	   esac ||
4207	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4208      esac
4209      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4210      as_fn_append ac_file_inputs " '$ac_f'"
4211    done
4212
4213    # Let's still pretend it is `configure' which instantiates (i.e., don't
4214    # use $as_me), people would be surprised to read:
4215    #    /* config.h.  Generated by config.status.  */
4216    configure_input='Generated from '`
4217	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4218	`' by configure.'
4219    if test x"$ac_file" != x-; then
4220      configure_input="$ac_file.  $configure_input"
4221      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4222$as_echo "$as_me: creating $ac_file" >&6;}
4223    fi
4224    # Neutralize special characters interpreted by sed in replacement strings.
4225    case $configure_input in #(
4226    *\&* | *\|* | *\\* )
4227       ac_sed_conf_input=`$as_echo "$configure_input" |
4228       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4229    *) ac_sed_conf_input=$configure_input;;
4230    esac
4231
4232    case $ac_tag in
4233    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4234      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4235    esac
4236    ;;
4237  esac
4238
4239  ac_dir=`$as_dirname -- "$ac_file" ||
4240$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4241	 X"$ac_file" : 'X\(//\)[^/]' \| \
4242	 X"$ac_file" : 'X\(//\)$' \| \
4243	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4244$as_echo X"$ac_file" |
4245    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4246	    s//\1/
4247	    q
4248	  }
4249	  /^X\(\/\/\)[^/].*/{
4250	    s//\1/
4251	    q
4252	  }
4253	  /^X\(\/\/\)$/{
4254	    s//\1/
4255	    q
4256	  }
4257	  /^X\(\/\).*/{
4258	    s//\1/
4259	    q
4260	  }
4261	  s/.*/./; q'`
4262  as_dir="$ac_dir"; as_fn_mkdir_p
4263  ac_builddir=.
4264
4265case "$ac_dir" in
4266.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4267*)
4268  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4269  # A ".." for each directory in $ac_dir_suffix.
4270  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4271  case $ac_top_builddir_sub in
4272  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4273  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4274  esac ;;
4275esac
4276ac_abs_top_builddir=$ac_pwd
4277ac_abs_builddir=$ac_pwd$ac_dir_suffix
4278# for backward compatibility:
4279ac_top_builddir=$ac_top_build_prefix
4280
4281case $srcdir in
4282  .)  # We are building in place.
4283    ac_srcdir=.
4284    ac_top_srcdir=$ac_top_builddir_sub
4285    ac_abs_top_srcdir=$ac_pwd ;;
4286  [\\/]* | ?:[\\/]* )  # Absolute name.
4287    ac_srcdir=$srcdir$ac_dir_suffix;
4288    ac_top_srcdir=$srcdir
4289    ac_abs_top_srcdir=$srcdir ;;
4290  *) # Relative name.
4291    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4292    ac_top_srcdir=$ac_top_build_prefix$srcdir
4293    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4294esac
4295ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4296
4297
4298  case $ac_mode in
4299  :F)
4300  #
4301  # CONFIG_FILE
4302  #
4303
4304_ACEOF
4305
4306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4307# If the template does not know about datarootdir, expand it.
4308# FIXME: This hack should be removed a few years after 2.60.
4309ac_datarootdir_hack=; ac_datarootdir_seen=
4310ac_sed_dataroot='
4311/datarootdir/ {
4312  p
4313  q
4314}
4315/@datadir@/p
4316/@docdir@/p
4317/@infodir@/p
4318/@localedir@/p
4319/@mandir@/p'
4320case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4321*datarootdir*) ac_datarootdir_seen=yes;;
4322*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4323  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4324$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4325_ACEOF
4326cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4327  ac_datarootdir_hack='
4328  s&@datadir@&$datadir&g
4329  s&@docdir@&$docdir&g
4330  s&@infodir@&$infodir&g
4331  s&@localedir@&$localedir&g
4332  s&@mandir@&$mandir&g
4333  s&\\\${datarootdir}&$datarootdir&g' ;;
4334esac
4335_ACEOF
4336
4337# Neutralize VPATH when `$srcdir' = `.'.
4338# Shell code in configure.ac might set extrasub.
4339# FIXME: do we really want to maintain this feature?
4340cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4341ac_sed_extra="$ac_vpsub
4342$extrasub
4343_ACEOF
4344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4345:t
4346/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4347s|@configure_input@|$ac_sed_conf_input|;t t
4348s&@top_builddir@&$ac_top_builddir_sub&;t t
4349s&@top_build_prefix@&$ac_top_build_prefix&;t t
4350s&@srcdir@&$ac_srcdir&;t t
4351s&@abs_srcdir@&$ac_abs_srcdir&;t t
4352s&@top_srcdir@&$ac_top_srcdir&;t t
4353s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4354s&@builddir@&$ac_builddir&;t t
4355s&@abs_builddir@&$ac_abs_builddir&;t t
4356s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4357$ac_datarootdir_hack
4358"
4359eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4360  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4361
4362test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4363  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4364  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4365      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4366  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4367which seems to be undefined.  Please make sure it is defined" >&5
4368$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4369which seems to be undefined.  Please make sure it is defined" >&2;}
4370
4371  rm -f "$ac_tmp/stdin"
4372  case $ac_file in
4373  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4374  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4375  esac \
4376  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4377 ;;
4378
4379
4380
4381  esac
4382
4383done # for ac_tag
4384
4385
4386as_fn_exit 0
4387_ACEOF
4388ac_clean_files=$ac_clean_files_save
4389
4390test $ac_write_fail = 0 ||
4391  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4392
4393
4394# configure is writing to config.log, and then calls config.status.
4395# config.status does its own redirection, appending to config.log.
4396# Unfortunately, on DOS this fails, as config.log is still kept open
4397# by configure, so config.status won't be able to write to it; its
4398# output is simply discarded.  So we exec the FD to /dev/null,
4399# effectively closing config.log, so it can be properly (re)opened and
4400# appended to by config.status.  When coming back to configure, we
4401# need to make the FD available again.
4402if test "$no_create" != yes; then
4403  ac_cs_success=:
4404  ac_config_status_args=
4405  test "$silent" = yes &&
4406    ac_config_status_args="$ac_config_status_args --quiet"
4407  exec 5>/dev/null
4408  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4409  exec 5>>config.log
4410  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4411  # would make configure fail if this is the last instruction.
4412  $ac_cs_success || as_fn_exit 1
4413fi
4414if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4415  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4416$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4417fi
4418
4419ac_config_files="$ac_config_files mos_server/Makefile"
4420
4421cat >confcache <<\_ACEOF
4422# This file is a shell script that caches the results of configure
4423# tests run on this system so they can be shared between configure
4424# scripts and configure runs, see configure's option --config-cache.
4425# It is not useful on other systems.  If it contains results you don't
4426# want to keep, you may remove or edit it.
4427#
4428# config.status only pays attention to the cache file if you give it
4429# the --recheck option to rerun configure.
4430#
4431# `ac_cv_env_foo' variables (set or unset) will be overridden when
4432# loading this file, other *unset* `ac_cv_foo' will be assigned the
4433# following values.
4434
4435_ACEOF
4436
4437# The following way of writing the cache mishandles newlines in values,
4438# but we know of no workaround that is simple, portable, and efficient.
4439# So, we kill variables containing newlines.
4440# Ultrix sh set writes to stderr and can't be redirected directly,
4441# and sets the high bit in the cache file unless we assign to the vars.
4442(
4443  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4444    eval ac_val=\$$ac_var
4445    case $ac_val in #(
4446    *${as_nl}*)
4447      case $ac_var in #(
4448      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4449$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4450      esac
4451      case $ac_var in #(
4452      _ | IFS | as_nl) ;; #(
4453      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4454      *) { eval $ac_var=; unset $ac_var;} ;;
4455      esac ;;
4456    esac
4457  done
4458
4459  (set) 2>&1 |
4460    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4461    *${as_nl}ac_space=\ *)
4462      # `set' does not quote correctly, so add quotes: double-quote
4463      # substitution turns \\\\ into \\, and sed turns \\ into \.
4464      sed -n \
4465	"s/'/'\\\\''/g;
4466	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4467      ;; #(
4468    *)
4469      # `set' quotes correctly as required by POSIX, so do not add quotes.
4470      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4471      ;;
4472    esac |
4473    sort
4474) |
4475  sed '
4476     /^ac_cv_env_/b end
4477     t clear
4478     :clear
4479     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4480     t end
4481     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4482     :end' >>confcache
4483if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4484  if test -w "$cache_file"; then
4485    if test "x$cache_file" != "x/dev/null"; then
4486      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4487$as_echo "$as_me: updating cache $cache_file" >&6;}
4488      if test ! -f "$cache_file" || test -h "$cache_file"; then
4489	cat confcache >"$cache_file"
4490      else
4491        case $cache_file in #(
4492        */* | ?:*)
4493	  mv -f confcache "$cache_file"$$ &&
4494	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4495        *)
4496	  mv -f confcache "$cache_file" ;;
4497	esac
4498      fi
4499    fi
4500  else
4501    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4502$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4503  fi
4504fi
4505rm -f confcache
4506
4507test "x$prefix" = xNONE && prefix=$ac_default_prefix
4508# Let make expand exec_prefix.
4509test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4510
4511# Transform confdefs.h into DEFS.
4512# Protect against shell expansion while executing Makefile rules.
4513# Protect against Makefile macro expansion.
4514#
4515# If the first sed substitution is executed (which looks for macros that
4516# take arguments), then branch to the quote section.  Otherwise,
4517# look for a macro that doesn't take arguments.
4518ac_script='
4519:mline
4520/\\$/{
4521 N
4522 s,\\\n,,
4523 b mline
4524}
4525t clear
4526:clear
4527s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4528t quote
4529s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4530t quote
4531b any
4532:quote
4533s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4534s/\[/\\&/g
4535s/\]/\\&/g
4536s/\$/$$/g
4537H
4538:any
4539${
4540	g
4541	s/^\n//
4542	s/\n/ /g
4543	p
4544}
4545'
4546DEFS=`sed -n "$ac_script" confdefs.h`
4547
4548
4549ac_libobjs=
4550ac_ltlibobjs=
4551U=
4552for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4553  # 1. Remove the extension, and $U if already installed.
4554  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4555  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4556  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4557  #    will be set to the directory where LIBOBJS objects are built.
4558  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4559  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4560done
4561LIBOBJS=$ac_libobjs
4562
4563LTLIBOBJS=$ac_ltlibobjs
4564
4565
4566
4567: "${CONFIG_STATUS=./config.status}"
4568ac_write_fail=0
4569ac_clean_files_save=$ac_clean_files
4570ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4571{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4572$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4573as_write_fail=0
4574cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4575#! $SHELL
4576# Generated by $as_me.
4577# Run this file to recreate the current configuration.
4578# Compiler output produced by configure, useful for debugging
4579# configure, is in config.log if it exists.
4580
4581debug=false
4582ac_cs_recheck=false
4583ac_cs_silent=false
4584
4585SHELL=\${CONFIG_SHELL-$SHELL}
4586export SHELL
4587_ASEOF
4588cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4589## -------------------- ##
4590## M4sh Initialization. ##
4591## -------------------- ##
4592
4593# Be more Bourne compatible
4594DUALCASE=1; export DUALCASE # for MKS sh
4595if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4596  emulate sh
4597  NULLCMD=:
4598  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4599  # is contrary to our usage.  Disable this feature.
4600  alias -g '${1+"$@"}'='"$@"'
4601  setopt NO_GLOB_SUBST
4602else
4603  case `(set -o) 2>/dev/null` in #(
4604  *posix*) :
4605    set -o posix ;; #(
4606  *) :
4607     ;;
4608esac
4609fi
4610
4611
4612as_nl='
4613'
4614export as_nl
4615# Printing a long string crashes Solaris 7 /usr/bin/printf.
4616as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4617as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4618as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4619# Prefer a ksh shell builtin over an external printf program on Solaris,
4620# but without wasting forks for bash or zsh.
4621if test -z "$BASH_VERSION$ZSH_VERSION" \
4622    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4623  as_echo='print -r --'
4624  as_echo_n='print -rn --'
4625elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4626  as_echo='printf %s\n'
4627  as_echo_n='printf %s'
4628else
4629  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4630    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4631    as_echo_n='/usr/ucb/echo -n'
4632  else
4633    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4634    as_echo_n_body='eval
4635      arg=$1;
4636      case $arg in #(
4637      *"$as_nl"*)
4638	expr "X$arg" : "X\\(.*\\)$as_nl";
4639	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4640      esac;
4641      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4642    '
4643    export as_echo_n_body
4644    as_echo_n='sh -c $as_echo_n_body as_echo'
4645  fi
4646  export as_echo_body
4647  as_echo='sh -c $as_echo_body as_echo'
4648fi
4649
4650# The user is always right.
4651if test "${PATH_SEPARATOR+set}" != set; then
4652  PATH_SEPARATOR=:
4653  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4654    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4655      PATH_SEPARATOR=';'
4656  }
4657fi
4658
4659
4660# IFS
4661# We need space, tab and new line, in precisely that order.  Quoting is
4662# there to prevent editors from complaining about space-tab.
4663# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4664# splitting by setting IFS to empty value.)
4665IFS=" ""	$as_nl"
4666
4667# Find who we are.  Look in the path if we contain no directory separator.
4668as_myself=
4669case $0 in #((
4670  *[\\/]* ) as_myself=$0 ;;
4671  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672for as_dir in $PATH
4673do
4674  IFS=$as_save_IFS
4675  test -z "$as_dir" && as_dir=.
4676    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4677  done
4678IFS=$as_save_IFS
4679
4680     ;;
4681esac
4682# We did not find ourselves, most probably we were run as `sh COMMAND'
4683# in which case we are not to be found in the path.
4684if test "x$as_myself" = x; then
4685  as_myself=$0
4686fi
4687if test ! -f "$as_myself"; then
4688  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4689  exit 1
4690fi
4691
4692# Unset variables that we do not need and which cause bugs (e.g. in
4693# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4694# suppresses any "Segmentation fault" message there.  '((' could
4695# trigger a bug in pdksh 5.2.14.
4696for as_var in BASH_ENV ENV MAIL MAILPATH
4697do eval test x\${$as_var+set} = xset \
4698  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4699done
4700PS1='$ '
4701PS2='> '
4702PS4='+ '
4703
4704# NLS nuisances.
4705LC_ALL=C
4706export LC_ALL
4707LANGUAGE=C
4708export LANGUAGE
4709
4710# CDPATH.
4711(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4712
4713
4714# as_fn_error STATUS ERROR [LINENO LOG_FD]
4715# ----------------------------------------
4716# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4717# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4718# script with STATUS, using 1 if that was 0.
4719as_fn_error ()
4720{
4721  as_status=$1; test $as_status -eq 0 && as_status=1
4722  if test "$4"; then
4723    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4724    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4725  fi
4726  $as_echo "$as_me: error: $2" >&2
4727  as_fn_exit $as_status
4728} # as_fn_error
4729
4730
4731# as_fn_set_status STATUS
4732# -----------------------
4733# Set $? to STATUS, without forking.
4734as_fn_set_status ()
4735{
4736  return $1
4737} # as_fn_set_status
4738
4739# as_fn_exit STATUS
4740# -----------------
4741# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4742as_fn_exit ()
4743{
4744  set +e
4745  as_fn_set_status $1
4746  exit $1
4747} # as_fn_exit
4748
4749# as_fn_unset VAR
4750# ---------------
4751# Portably unset VAR.
4752as_fn_unset ()
4753{
4754  { eval $1=; unset $1;}
4755}
4756as_unset=as_fn_unset
4757# as_fn_append VAR VALUE
4758# ----------------------
4759# Append the text in VALUE to the end of the definition contained in VAR. Take
4760# advantage of any shell optimizations that allow amortized linear growth over
4761# repeated appends, instead of the typical quadratic growth present in naive
4762# implementations.
4763if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4764  eval 'as_fn_append ()
4765  {
4766    eval $1+=\$2
4767  }'
4768else
4769  as_fn_append ()
4770  {
4771    eval $1=\$$1\$2
4772  }
4773fi # as_fn_append
4774
4775# as_fn_arith ARG...
4776# ------------------
4777# Perform arithmetic evaluation on the ARGs, and store the result in the
4778# global $as_val. Take advantage of shells that can avoid forks. The arguments
4779# must be portable across $(()) and expr.
4780if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4781  eval 'as_fn_arith ()
4782  {
4783    as_val=$(( $* ))
4784  }'
4785else
4786  as_fn_arith ()
4787  {
4788    as_val=`expr "$@" || test $? -eq 1`
4789  }
4790fi # as_fn_arith
4791
4792
4793if expr a : '\(a\)' >/dev/null 2>&1 &&
4794   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4795  as_expr=expr
4796else
4797  as_expr=false
4798fi
4799
4800if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4801  as_basename=basename
4802else
4803  as_basename=false
4804fi
4805
4806if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4807  as_dirname=dirname
4808else
4809  as_dirname=false
4810fi
4811
4812as_me=`$as_basename -- "$0" ||
4813$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4814	 X"$0" : 'X\(//\)$' \| \
4815	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4816$as_echo X/"$0" |
4817    sed '/^.*\/\([^/][^/]*\)\/*$/{
4818	    s//\1/
4819	    q
4820	  }
4821	  /^X\/\(\/\/\)$/{
4822	    s//\1/
4823	    q
4824	  }
4825	  /^X\/\(\/\).*/{
4826	    s//\1/
4827	    q
4828	  }
4829	  s/.*/./; q'`
4830
4831# Avoid depending upon Character Ranges.
4832as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4833as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4834as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4835as_cr_digits='0123456789'
4836as_cr_alnum=$as_cr_Letters$as_cr_digits
4837
4838ECHO_C= ECHO_N= ECHO_T=
4839case `echo -n x` in #(((((
4840-n*)
4841  case `echo 'xy\c'` in
4842  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4843  xy)  ECHO_C='\c';;
4844  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4845       ECHO_T='	';;
4846  esac;;
4847*)
4848  ECHO_N='-n';;
4849esac
4850
4851rm -f conf$$ conf$$.exe conf$$.file
4852if test -d conf$$.dir; then
4853  rm -f conf$$.dir/conf$$.file
4854else
4855  rm -f conf$$.dir
4856  mkdir conf$$.dir 2>/dev/null
4857fi
4858if (echo >conf$$.file) 2>/dev/null; then
4859  if ln -s conf$$.file conf$$ 2>/dev/null; then
4860    as_ln_s='ln -s'
4861    # ... but there are two gotchas:
4862    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4863    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4864    # In both cases, we have to default to `cp -pR'.
4865    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4866      as_ln_s='cp -pR'
4867  elif ln conf$$.file conf$$ 2>/dev/null; then
4868    as_ln_s=ln
4869  else
4870    as_ln_s='cp -pR'
4871  fi
4872else
4873  as_ln_s='cp -pR'
4874fi
4875rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4876rmdir conf$$.dir 2>/dev/null
4877
4878
4879# as_fn_mkdir_p
4880# -------------
4881# Create "$as_dir" as a directory, including parents if necessary.
4882as_fn_mkdir_p ()
4883{
4884
4885  case $as_dir in #(
4886  -*) as_dir=./$as_dir;;
4887  esac
4888  test -d "$as_dir" || eval $as_mkdir_p || {
4889    as_dirs=
4890    while :; do
4891      case $as_dir in #(
4892      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4893      *) as_qdir=$as_dir;;
4894      esac
4895      as_dirs="'$as_qdir' $as_dirs"
4896      as_dir=`$as_dirname -- "$as_dir" ||
4897$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4898	 X"$as_dir" : 'X\(//\)[^/]' \| \
4899	 X"$as_dir" : 'X\(//\)$' \| \
4900	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4901$as_echo X"$as_dir" |
4902    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4903	    s//\1/
4904	    q
4905	  }
4906	  /^X\(\/\/\)[^/].*/{
4907	    s//\1/
4908	    q
4909	  }
4910	  /^X\(\/\/\)$/{
4911	    s//\1/
4912	    q
4913	  }
4914	  /^X\(\/\).*/{
4915	    s//\1/
4916	    q
4917	  }
4918	  s/.*/./; q'`
4919      test -d "$as_dir" && break
4920    done
4921    test -z "$as_dirs" || eval "mkdir $as_dirs"
4922  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4923
4924
4925} # as_fn_mkdir_p
4926if mkdir -p . 2>/dev/null; then
4927  as_mkdir_p='mkdir -p "$as_dir"'
4928else
4929  test -d ./-p && rmdir ./-p
4930  as_mkdir_p=false
4931fi
4932
4933
4934# as_fn_executable_p FILE
4935# -----------------------
4936# Test if FILE is an executable regular file.
4937as_fn_executable_p ()
4938{
4939  test -f "$1" && test -x "$1"
4940} # as_fn_executable_p
4941as_test_x='test -x'
4942as_executable_p=as_fn_executable_p
4943
4944# Sed expression to map a string onto a valid CPP name.
4945as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4946
4947# Sed expression to map a string onto a valid variable name.
4948as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4949
4950
4951exec 6>&1
4952## ----------------------------------- ##
4953## Main body of $CONFIG_STATUS script. ##
4954## ----------------------------------- ##
4955_ASEOF
4956test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4957
4958cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4959# Save the log message, to keep $0 and so on meaningful, and to
4960# report actual input values of CONFIG_FILES etc. instead of their
4961# values after options handling.
4962ac_log="
4963This file was extended by config $as_me version-0.1, which was
4964generated by GNU Autoconf 2.69.  Invocation command line was
4965
4966  CONFIG_FILES    = $CONFIG_FILES
4967  CONFIG_HEADERS  = $CONFIG_HEADERS
4968  CONFIG_LINKS    = $CONFIG_LINKS
4969  CONFIG_COMMANDS = $CONFIG_COMMANDS
4970  $ $0 $@
4971
4972on `(hostname || uname -n) 2>/dev/null | sed 1q`
4973"
4974
4975_ACEOF
4976
4977case $ac_config_files in *"
4978"*) set x $ac_config_files; shift; ac_config_files=$*;;
4979esac
4980
4981
4982
4983cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4984# Files that config.status was made for.
4985config_files="$ac_config_files"
4986
4987_ACEOF
4988
4989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4990ac_cs_usage="\
4991\`$as_me' instantiates files and other configuration actions
4992from templates according to the current configuration.  Unless the files
4993and actions are specified as TAGs, all are instantiated by default.
4994
4995Usage: $0 [OPTION]... [TAG]...
4996
4997  -h, --help       print this help, then exit
4998  -V, --version    print version number and configuration settings, then exit
4999      --config     print configuration, then exit
5000  -q, --quiet, --silent
5001                   do not print progress messages
5002  -d, --debug      don't remove temporary files
5003      --recheck    update $as_me by reconfiguring in the same conditions
5004      --file=FILE[:TEMPLATE]
5005                   instantiate the configuration file FILE
5006
5007Configuration files:
5008$config_files
5009
5010Report bugs to the package provider."
5011
5012_ACEOF
5013cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5014ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5015ac_cs_version="\\
5016config config.status version-0.1
5017configured by $0, generated by GNU Autoconf 2.69,
5018  with options \\"\$ac_cs_config\\"
5019
5020Copyright (C) 2012 Free Software Foundation, Inc.
5021This config.status script is free software; the Free Software Foundation
5022gives unlimited permission to copy, distribute and modify it."
5023
5024ac_pwd='$ac_pwd'
5025srcdir='$srcdir'
5026test -n "\$AWK" || AWK=awk
5027_ACEOF
5028
5029cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5030# The default lists apply if the user does not specify any file.
5031ac_need_defaults=:
5032while test $# != 0
5033do
5034  case $1 in
5035  --*=?*)
5036    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5037    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5038    ac_shift=:
5039    ;;
5040  --*=)
5041    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5042    ac_optarg=
5043    ac_shift=:
5044    ;;
5045  *)
5046    ac_option=$1
5047    ac_optarg=$2
5048    ac_shift=shift
5049    ;;
5050  esac
5051
5052  case $ac_option in
5053  # Handling of the options.
5054  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5055    ac_cs_recheck=: ;;
5056  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5057    $as_echo "$ac_cs_version"; exit ;;
5058  --config | --confi | --conf | --con | --co | --c )
5059    $as_echo "$ac_cs_config"; exit ;;
5060  --debug | --debu | --deb | --de | --d | -d )
5061    debug=: ;;
5062  --file | --fil | --fi | --f )
5063    $ac_shift
5064    case $ac_optarg in
5065    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5066    '') as_fn_error $? "missing file argument" ;;
5067    esac
5068    as_fn_append CONFIG_FILES " '$ac_optarg'"
5069    ac_need_defaults=false;;
5070  --he | --h |  --help | --hel | -h )
5071    $as_echo "$ac_cs_usage"; exit ;;
5072  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5073  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5074    ac_cs_silent=: ;;
5075
5076  # This is an error.
5077  -*) as_fn_error $? "unrecognized option: \`$1'
5078Try \`$0 --help' for more information." ;;
5079
5080  *) as_fn_append ac_config_targets " $1"
5081     ac_need_defaults=false ;;
5082
5083  esac
5084  shift
5085done
5086
5087ac_configure_extra_args=
5088
5089if $ac_cs_silent; then
5090  exec 6>/dev/null
5091  ac_configure_extra_args="$ac_configure_extra_args --silent"
5092fi
5093
5094_ACEOF
5095cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5096if \$ac_cs_recheck; then
5097  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5098  shift
5099  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5100  CONFIG_SHELL='$SHELL'
5101  export CONFIG_SHELL
5102  exec "\$@"
5103fi
5104
5105_ACEOF
5106cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5107exec 5>>config.log
5108{
5109  echo
5110  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5111## Running $as_me. ##
5112_ASBOX
5113  $as_echo "$ac_log"
5114} >&5
5115
5116_ACEOF
5117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5118_ACEOF
5119
5120cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5121
5122# Handling of arguments.
5123for ac_config_target in $ac_config_targets
5124do
5125  case $ac_config_target in
5126    "../core/src/Makefile") CONFIG_FILES="$CONFIG_FILES ../core/src/Makefile" ;;
5127    "mos_server/Makefile") CONFIG_FILES="$CONFIG_FILES mos_server/Makefile" ;;
5128
5129  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5130  esac
5131done
5132
5133
5134# If the user did not use the arguments to specify the items to instantiate,
5135# then the envvar interface is used.  Set only those that are not.
5136# We use the long form for the default assignment because of an extremely
5137# bizarre bug on SunOS 4.1.3.
5138if $ac_need_defaults; then
5139  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5140fi
5141
5142# Have a temporary directory for convenience.  Make it in the build tree
5143# simply because there is no reason against having it here, and in addition,
5144# creating and moving files from /tmp can sometimes cause problems.
5145# Hook for its removal unless debugging.
5146# Note that there is a small window in which the directory will not be cleaned:
5147# after its creation but before its name has been assigned to `$tmp'.
5148$debug ||
5149{
5150  tmp= ac_tmp=
5151  trap 'exit_status=$?
5152  : "${ac_tmp:=$tmp}"
5153  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5154' 0
5155  trap 'as_fn_exit 1' 1 2 13 15
5156}
5157# Create a (secure) tmp directory for tmp files.
5158
5159{
5160  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5161  test -d "$tmp"
5162}  ||
5163{
5164  tmp=./conf$$-$RANDOM
5165  (umask 077 && mkdir "$tmp")
5166} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5167ac_tmp=$tmp
5168
5169# Set up the scripts for CONFIG_FILES section.
5170# No need to generate them if there are no CONFIG_FILES.
5171# This happens for instance with `./config.status config.h'.
5172if test -n "$CONFIG_FILES"; then
5173
5174
5175ac_cr=`echo X | tr X '\015'`
5176# On cygwin, bash can eat \r inside `` if the user requested igncr.
5177# But we know of no other shell where ac_cr would be empty at this
5178# point, so we can use a bashism as a fallback.
5179if test "x$ac_cr" = x; then
5180  eval ac_cr=\$\'\\r\'
5181fi
5182ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5183if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5184  ac_cs_awk_cr='\\r'
5185else
5186  ac_cs_awk_cr=$ac_cr
5187fi
5188
5189echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5190_ACEOF
5191
5192
5193{
5194  echo "cat >conf$$subs.awk <<_ACEOF" &&
5195  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5196  echo "_ACEOF"
5197} >conf$$subs.sh ||
5198  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5199ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5200ac_delim='%!_!# '
5201for ac_last_try in false false false false false :; do
5202  . ./conf$$subs.sh ||
5203    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5204
5205  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5206  if test $ac_delim_n = $ac_delim_num; then
5207    break
5208  elif $ac_last_try; then
5209    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5210  else
5211    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5212  fi
5213done
5214rm -f conf$$subs.sh
5215
5216cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5217cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5218_ACEOF
5219sed -n '
5220h
5221s/^/S["/; s/!.*/"]=/
5222p
5223g
5224s/^[^!]*!//
5225:repl
5226t repl
5227s/'"$ac_delim"'$//
5228t delim
5229:nl
5230h
5231s/\(.\{148\}\)..*/\1/
5232t more1
5233s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5234p
5235n
5236b repl
5237:more1
5238s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5239p
5240g
5241s/.\{148\}//
5242t nl
5243:delim
5244h
5245s/\(.\{148\}\)..*/\1/
5246t more2
5247s/["\\]/\\&/g; s/^/"/; s/$/"/
5248p
5249b
5250:more2
5251s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5252p
5253g
5254s/.\{148\}//
5255t delim
5256' <conf$$subs.awk | sed '
5257/^[^""]/{
5258  N
5259  s/\n//
5260}
5261' >>$CONFIG_STATUS || ac_write_fail=1
5262rm -f conf$$subs.awk
5263cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5264_ACAWK
5265cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5266  for (key in S) S_is_set[key] = 1
5267  FS = ""
5268
5269}
5270{
5271  line = $ 0
5272  nfields = split(line, field, "@")
5273  substed = 0
5274  len = length(field[1])
5275  for (i = 2; i < nfields; i++) {
5276    key = field[i]
5277    keylen = length(key)
5278    if (S_is_set[key]) {
5279      value = S[key]
5280      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5281      len += length(value) + length(field[++i])
5282      substed = 1
5283    } else
5284      len += 1 + keylen
5285  }
5286
5287  print line
5288}
5289
5290_ACAWK
5291_ACEOF
5292cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5293if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5294  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5295else
5296  cat
5297fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5298  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5299_ACEOF
5300
5301# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5302# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5303# trailing colons and then remove the whole line if VPATH becomes empty
5304# (actually we leave an empty line to preserve line numbers).
5305if test "x$srcdir" = x.; then
5306  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5307h
5308s///
5309s/^/:/
5310s/[	 ]*$/:/
5311s/:\$(srcdir):/:/g
5312s/:\${srcdir}:/:/g
5313s/:@srcdir@:/:/g
5314s/^:*//
5315s/:*$//
5316x
5317s/\(=[	 ]*\).*/\1/
5318G
5319s/\n//
5320s/^[^=]*=[	 ]*$//
5321}'
5322fi
5323
5324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5325fi # test -n "$CONFIG_FILES"
5326
5327
5328eval set X "  :F $CONFIG_FILES      "
5329shift
5330for ac_tag
5331do
5332  case $ac_tag in
5333  :[FHLC]) ac_mode=$ac_tag; continue;;
5334  esac
5335  case $ac_mode$ac_tag in
5336  :[FHL]*:*);;
5337  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5338  :[FH]-) ac_tag=-:-;;
5339  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5340  esac
5341  ac_save_IFS=$IFS
5342  IFS=:
5343  set x $ac_tag
5344  IFS=$ac_save_IFS
5345  shift
5346  ac_file=$1
5347  shift
5348
5349  case $ac_mode in
5350  :L) ac_source=$1;;
5351  :[FH])
5352    ac_file_inputs=
5353    for ac_f
5354    do
5355      case $ac_f in
5356      -) ac_f="$ac_tmp/stdin";;
5357      *) # Look for the file first in the build tree, then in the source tree
5358	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5359	 # because $ac_f cannot contain `:'.
5360	 test -f "$ac_f" ||
5361	   case $ac_f in
5362	   [\\/$]*) false;;
5363	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5364	   esac ||
5365	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5366      esac
5367      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5368      as_fn_append ac_file_inputs " '$ac_f'"
5369    done
5370
5371    # Let's still pretend it is `configure' which instantiates (i.e., don't
5372    # use $as_me), people would be surprised to read:
5373    #    /* config.h.  Generated by config.status.  */
5374    configure_input='Generated from '`
5375	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5376	`' by configure.'
5377    if test x"$ac_file" != x-; then
5378      configure_input="$ac_file.  $configure_input"
5379      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5380$as_echo "$as_me: creating $ac_file" >&6;}
5381    fi
5382    # Neutralize special characters interpreted by sed in replacement strings.
5383    case $configure_input in #(
5384    *\&* | *\|* | *\\* )
5385       ac_sed_conf_input=`$as_echo "$configure_input" |
5386       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5387    *) ac_sed_conf_input=$configure_input;;
5388    esac
5389
5390    case $ac_tag in
5391    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5392      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5393    esac
5394    ;;
5395  esac
5396
5397  ac_dir=`$as_dirname -- "$ac_file" ||
5398$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5399	 X"$ac_file" : 'X\(//\)[^/]' \| \
5400	 X"$ac_file" : 'X\(//\)$' \| \
5401	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5402$as_echo X"$ac_file" |
5403    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5404	    s//\1/
5405	    q
5406	  }
5407	  /^X\(\/\/\)[^/].*/{
5408	    s//\1/
5409	    q
5410	  }
5411	  /^X\(\/\/\)$/{
5412	    s//\1/
5413	    q
5414	  }
5415	  /^X\(\/\).*/{
5416	    s//\1/
5417	    q
5418	  }
5419	  s/.*/./; q'`
5420  as_dir="$ac_dir"; as_fn_mkdir_p
5421  ac_builddir=.
5422
5423case "$ac_dir" in
5424.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5425*)
5426  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5427  # A ".." for each directory in $ac_dir_suffix.
5428  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5429  case $ac_top_builddir_sub in
5430  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5431  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5432  esac ;;
5433esac
5434ac_abs_top_builddir=$ac_pwd
5435ac_abs_builddir=$ac_pwd$ac_dir_suffix
5436# for backward compatibility:
5437ac_top_builddir=$ac_top_build_prefix
5438
5439case $srcdir in
5440  .)  # We are building in place.
5441    ac_srcdir=.
5442    ac_top_srcdir=$ac_top_builddir_sub
5443    ac_abs_top_srcdir=$ac_pwd ;;
5444  [\\/]* | ?:[\\/]* )  # Absolute name.
5445    ac_srcdir=$srcdir$ac_dir_suffix;
5446    ac_top_srcdir=$srcdir
5447    ac_abs_top_srcdir=$srcdir ;;
5448  *) # Relative name.
5449    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5450    ac_top_srcdir=$ac_top_build_prefix$srcdir
5451    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5452esac
5453ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5454
5455
5456  case $ac_mode in
5457  :F)
5458  #
5459  # CONFIG_FILE
5460  #
5461
5462_ACEOF
5463
5464cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5465# If the template does not know about datarootdir, expand it.
5466# FIXME: This hack should be removed a few years after 2.60.
5467ac_datarootdir_hack=; ac_datarootdir_seen=
5468ac_sed_dataroot='
5469/datarootdir/ {
5470  p
5471  q
5472}
5473/@datadir@/p
5474/@docdir@/p
5475/@infodir@/p
5476/@localedir@/p
5477/@mandir@/p'
5478case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5479*datarootdir*) ac_datarootdir_seen=yes;;
5480*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5481  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5482$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5483_ACEOF
5484cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5485  ac_datarootdir_hack='
5486  s&@datadir@&$datadir&g
5487  s&@docdir@&$docdir&g
5488  s&@infodir@&$infodir&g
5489  s&@localedir@&$localedir&g
5490  s&@mandir@&$mandir&g
5491  s&\\\${datarootdir}&$datarootdir&g' ;;
5492esac
5493_ACEOF
5494
5495# Neutralize VPATH when `$srcdir' = `.'.
5496# Shell code in configure.ac might set extrasub.
5497# FIXME: do we really want to maintain this feature?
5498cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5499ac_sed_extra="$ac_vpsub
5500$extrasub
5501_ACEOF
5502cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5503:t
5504/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5505s|@configure_input@|$ac_sed_conf_input|;t t
5506s&@top_builddir@&$ac_top_builddir_sub&;t t
5507s&@top_build_prefix@&$ac_top_build_prefix&;t t
5508s&@srcdir@&$ac_srcdir&;t t
5509s&@abs_srcdir@&$ac_abs_srcdir&;t t
5510s&@top_srcdir@&$ac_top_srcdir&;t t
5511s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5512s&@builddir@&$ac_builddir&;t t
5513s&@abs_builddir@&$ac_abs_builddir&;t t
5514s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5515$ac_datarootdir_hack
5516"
5517eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5518  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5519
5520test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5521  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5522  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5523      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5524  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5525which seems to be undefined.  Please make sure it is defined" >&5
5526$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5527which seems to be undefined.  Please make sure it is defined" >&2;}
5528
5529  rm -f "$ac_tmp/stdin"
5530  case $ac_file in
5531  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5532  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5533  esac \
5534  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5535 ;;
5536
5537
5538
5539  esac
5540
5541done # for ac_tag
5542
5543
5544as_fn_exit 0
5545_ACEOF
5546ac_clean_files=$ac_clean_files_save
5547
5548test $ac_write_fail = 0 ||
5549  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5550
5551
5552# configure is writing to config.log, and then calls config.status.
5553# config.status does its own redirection, appending to config.log.
5554# Unfortunately, on DOS this fails, as config.log is still kept open
5555# by configure, so config.status won't be able to write to it; its
5556# output is simply discarded.  So we exec the FD to /dev/null,
5557# effectively closing config.log, so it can be properly (re)opened and
5558# appended to by config.status.  When coming back to configure, we
5559# need to make the FD available again.
5560if test "$no_create" != yes; then
5561  ac_cs_success=:
5562  ac_config_status_args=
5563  test "$silent" = yes &&
5564    ac_config_status_args="$ac_config_status_args --quiet"
5565  exec 5>/dev/null
5566  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5567  exec 5>>config.log
5568  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5569  # would make configure fail if this is the last instruction.
5570  $ac_cs_success || as_fn_exit 1
5571fi
5572if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5573  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5574$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5575fi
5576
5577
5578