source: git/resources/configure @ e7b094

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