source: trunk/gui/configure @ 6106

Last change on this file since 6106 was 6080, checked in by ldelgass, 8 years ago

add build info to RapptureGUI package

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