source: branches/blt4_geovis/gui/configure @ 6044

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