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