source: trunk/gui/configure @ 6527

Last change on this file since 6527 was 6229, checked in by ldelgass, 8 years ago

bump trump version to 1.9

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