source: branches/1.3/lang/R/Rappture/configure @ 3748

Last change on this file since 3748 was 3748, checked in by gah, 11 years ago

fix Makefiles (one more time)

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