source: tags/1.6.7/configure @ 625

Last change on this file since 625 was 582, checked in by dennis, 7 years ago

Fixed a bug for partition command, reported by Jaap Dijkshoorn

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