source: branches/1.3/gui/configure @ 4810

Last change on this file since 4810 was 4700, checked in by ldelgass, 10 years ago

fix gui version

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