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

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