source: trunk/lang/R/Rappture/configure @ 2977

Last change on this file since 2977 was 2977, checked in by gah, 10 years ago

fix multiple for about icons for 2 page tools with manual-resim set

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