source: vmdshow/trunk/configure @ 5963

Last change on this file since 5963 was 5066, checked in by ldelgass, 10 years ago

configure/make fixes

  • Property svn:executable set to *
File size: 88.7 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for vmdshow 0.1.
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='vmdshow'
581PACKAGE_TARNAME='vmdshow'
582PACKAGE_VERSION='0.1'
583PACKAGE_STRING='vmdshow 0.1'
584PACKAGE_BUGREPORT='rappture@nanohub.org'
585PACKAGE_URL=''
586
587ac_subst_vars='LTLIBOBJS
588LIBOBJS
589STATSDIR
590LOGDIR
591MKDIR_P
592LN_S
593INSTALL_DATA
594INSTALL_SCRIPT
595INSTALL_PROGRAM
596target_alias
597host_alias
598build_alias
599LIBS
600ECHO_T
601ECHO_N
602ECHO_C
603DEFS
604mandir
605localedir
606libdir
607psdir
608pdfdir
609dvidir
610htmldir
611infodir
612docdir
613oldincludedir
614includedir
615localstatedir
616sharedstatedir
617sysconfdir
618datadir
619datarootdir
620libexecdir
621sbindir
622bindir
623program_transform_name
624prefix
625exec_prefix
626PACKAGE_URL
627PACKAGE_BUGREPORT
628PACKAGE_STRING
629PACKAGE_VERSION
630PACKAGE_TARNAME
631PACKAGE_NAME
632PATH_SEPARATOR
633SHELL'
634ac_subst_files=''
635ac_user_opts='
636enable_option_checking
637with_statsdir
638with_logdir
639'
640      ac_precious_vars='build_alias
641host_alias
642target_alias'
643
644
645# Initialize some variables set by options.
646ac_init_help=
647ac_init_version=false
648ac_unrecognized_opts=
649ac_unrecognized_sep=
650# The variables have the same names as the options, with
651# dashes changed to underlines.
652cache_file=/dev/null
653exec_prefix=NONE
654no_create=
655no_recursion=
656prefix=NONE
657program_prefix=NONE
658program_suffix=NONE
659program_transform_name=s,x,x,
660silent=
661site=
662srcdir=
663verbose=
664x_includes=NONE
665x_libraries=NONE
666
667# Installation directory options.
668# These are left unexpanded so users can "make install exec_prefix=/foo"
669# and all the variables that are supposed to be based on exec_prefix
670# by default will actually change.
671# Use braces instead of parens because sh, perl, etc. also accept them.
672# (The list follows the same order as the GNU Coding Standards.)
673bindir='${exec_prefix}/bin'
674sbindir='${exec_prefix}/sbin'
675libexecdir='${exec_prefix}/libexec'
676datarootdir='${prefix}/share'
677datadir='${datarootdir}'
678sysconfdir='${prefix}/etc'
679sharedstatedir='${prefix}/com'
680localstatedir='${prefix}/var'
681includedir='${prefix}/include'
682oldincludedir='/usr/include'
683docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
684infodir='${datarootdir}/info'
685htmldir='${docdir}'
686dvidir='${docdir}'
687pdfdir='${docdir}'
688psdir='${docdir}'
689libdir='${exec_prefix}/lib'
690localedir='${datarootdir}/locale'
691mandir='${datarootdir}/man'
692
693ac_prev=
694ac_dashdash=
695for ac_option
696do
697  # If the previous option needs an argument, assign it.
698  if test -n "$ac_prev"; then
699    eval $ac_prev=\$ac_option
700    ac_prev=
701    continue
702  fi
703
704  case $ac_option in
705  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706  *=)   ac_optarg= ;;
707  *)    ac_optarg=yes ;;
708  esac
709
710  # Accept the important Cygnus configure options, so we can diagnose typos.
711
712  case $ac_dashdash$ac_option in
713  --)
714    ac_dashdash=yes ;;
715
716  -bindir | --bindir | --bindi | --bind | --bin | --bi)
717    ac_prev=bindir ;;
718  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
719    bindir=$ac_optarg ;;
720
721  -build | --build | --buil | --bui | --bu)
722    ac_prev=build_alias ;;
723  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724    build_alias=$ac_optarg ;;
725
726  -cache-file | --cache-file | --cache-fil | --cache-fi \
727  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
728    ac_prev=cache_file ;;
729  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
730  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
731    cache_file=$ac_optarg ;;
732
733  --config-cache | -C)
734    cache_file=config.cache ;;
735
736  -datadir | --datadir | --datadi | --datad)
737    ac_prev=datadir ;;
738  -datadir=* | --datadir=* | --datadi=* | --datad=*)
739    datadir=$ac_optarg ;;
740
741  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
742  | --dataroo | --dataro | --datar)
743    ac_prev=datarootdir ;;
744  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
745  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
746    datarootdir=$ac_optarg ;;
747
748  -disable-* | --disable-*)
749    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
750    # Reject names that are not valid shell variable names.
751    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
752      as_fn_error $? "invalid feature name: $ac_useropt"
753    ac_useropt_orig=$ac_useropt
754    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
755    case $ac_user_opts in
756      *"
757"enable_$ac_useropt"
758"*) ;;
759      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
760         ac_unrecognized_sep=', ';;
761    esac
762    eval enable_$ac_useropt=no ;;
763
764  -docdir | --docdir | --docdi | --doc | --do)
765    ac_prev=docdir ;;
766  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
767    docdir=$ac_optarg ;;
768
769  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
770    ac_prev=dvidir ;;
771  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
772    dvidir=$ac_optarg ;;
773
774  -enable-* | --enable-*)
775    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776    # Reject names that are not valid shell variable names.
777    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778      as_fn_error $? "invalid feature name: $ac_useropt"
779    ac_useropt_orig=$ac_useropt
780    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
781    case $ac_user_opts in
782      *"
783"enable_$ac_useropt"
784"*) ;;
785      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
786         ac_unrecognized_sep=', ';;
787    esac
788    eval enable_$ac_useropt=\$ac_optarg ;;
789
790  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
791  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
792  | --exec | --exe | --ex)
793    ac_prev=exec_prefix ;;
794  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
795  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
796  | --exec=* | --exe=* | --ex=*)
797    exec_prefix=$ac_optarg ;;
798
799  -gas | --gas | --ga | --g)
800    # Obsolete; use --with-gas.
801    with_gas=yes ;;
802
803  -help | --help | --hel | --he | -h)
804    ac_init_help=long ;;
805  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
806    ac_init_help=recursive ;;
807  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
808    ac_init_help=short ;;
809
810  -host | --host | --hos | --ho)
811    ac_prev=host_alias ;;
812  -host=* | --host=* | --hos=* | --ho=*)
813    host_alias=$ac_optarg ;;
814
815  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
816    ac_prev=htmldir ;;
817  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
818  | --ht=*)
819    htmldir=$ac_optarg ;;
820
821  -includedir | --includedir | --includedi | --included | --include \
822  | --includ | --inclu | --incl | --inc)
823    ac_prev=includedir ;;
824  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
825  | --includ=* | --inclu=* | --incl=* | --inc=*)
826    includedir=$ac_optarg ;;
827
828  -infodir | --infodir | --infodi | --infod | --info | --inf)
829    ac_prev=infodir ;;
830  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
831    infodir=$ac_optarg ;;
832
833  -libdir | --libdir | --libdi | --libd)
834    ac_prev=libdir ;;
835  -libdir=* | --libdir=* | --libdi=* | --libd=*)
836    libdir=$ac_optarg ;;
837
838  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
839  | --libexe | --libex | --libe)
840    ac_prev=libexecdir ;;
841  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
842  | --libexe=* | --libex=* | --libe=*)
843    libexecdir=$ac_optarg ;;
844
845  -localedir | --localedir | --localedi | --localed | --locale)
846    ac_prev=localedir ;;
847  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
848    localedir=$ac_optarg ;;
849
850  -localstatedir | --localstatedir | --localstatedi | --localstated \
851  | --localstate | --localstat | --localsta | --localst | --locals)
852    ac_prev=localstatedir ;;
853  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
854  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
855    localstatedir=$ac_optarg ;;
856
857  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
858    ac_prev=mandir ;;
859  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
860    mandir=$ac_optarg ;;
861
862  -nfp | --nfp | --nf)
863    # Obsolete; use --without-fp.
864    with_fp=no ;;
865
866  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
867  | --no-cr | --no-c | -n)
868    no_create=yes ;;
869
870  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
871  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
872    no_recursion=yes ;;
873
874  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
875  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
876  | --oldin | --oldi | --old | --ol | --o)
877    ac_prev=oldincludedir ;;
878  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
879  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
880  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
881    oldincludedir=$ac_optarg ;;
882
883  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
884    ac_prev=prefix ;;
885  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
886    prefix=$ac_optarg ;;
887
888  -program-prefix | --program-prefix | --program-prefi | --program-pref \
889  | --program-pre | --program-pr | --program-p)
890    ac_prev=program_prefix ;;
891  -program-prefix=* | --program-prefix=* | --program-prefi=* \
892  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
893    program_prefix=$ac_optarg ;;
894
895  -program-suffix | --program-suffix | --program-suffi | --program-suff \
896  | --program-suf | --program-su | --program-s)
897    ac_prev=program_suffix ;;
898  -program-suffix=* | --program-suffix=* | --program-suffi=* \
899  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
900    program_suffix=$ac_optarg ;;
901
902  -program-transform-name | --program-transform-name \
903  | --program-transform-nam | --program-transform-na \
904  | --program-transform-n | --program-transform- \
905  | --program-transform | --program-transfor \
906  | --program-transfo | --program-transf \
907  | --program-trans | --program-tran \
908  | --progr-tra | --program-tr | --program-t)
909    ac_prev=program_transform_name ;;
910  -program-transform-name=* | --program-transform-name=* \
911  | --program-transform-nam=* | --program-transform-na=* \
912  | --program-transform-n=* | --program-transform-=* \
913  | --program-transform=* | --program-transfor=* \
914  | --program-transfo=* | --program-transf=* \
915  | --program-trans=* | --program-tran=* \
916  | --progr-tra=* | --program-tr=* | --program-t=*)
917    program_transform_name=$ac_optarg ;;
918
919  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
920    ac_prev=pdfdir ;;
921  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922    pdfdir=$ac_optarg ;;
923
924  -psdir | --psdir | --psdi | --psd | --ps)
925    ac_prev=psdir ;;
926  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927    psdir=$ac_optarg ;;
928
929  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
930  | -silent | --silent | --silen | --sile | --sil)
931    silent=yes ;;
932
933  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
934    ac_prev=sbindir ;;
935  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
936  | --sbi=* | --sb=*)
937    sbindir=$ac_optarg ;;
938
939  -sharedstatedir | --sharedstatedir | --sharedstatedi \
940  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
941  | --sharedst | --shareds | --shared | --share | --shar \
942  | --sha | --sh)
943    ac_prev=sharedstatedir ;;
944  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
945  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
946  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
947  | --sha=* | --sh=*)
948    sharedstatedir=$ac_optarg ;;
949
950  -site | --site | --sit)
951    ac_prev=site ;;
952  -site=* | --site=* | --sit=*)
953    site=$ac_optarg ;;
954
955  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
956    ac_prev=srcdir ;;
957  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
958    srcdir=$ac_optarg ;;
959
960  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
961  | --syscon | --sysco | --sysc | --sys | --sy)
962    ac_prev=sysconfdir ;;
963  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
964  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
965    sysconfdir=$ac_optarg ;;
966
967  -target | --target | --targe | --targ | --tar | --ta | --t)
968    ac_prev=target_alias ;;
969  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
970    target_alias=$ac_optarg ;;
971
972  -v | -verbose | --verbose | --verbos | --verbo | --verb)
973    verbose=yes ;;
974
975  -version | --version | --versio | --versi | --vers | -V)
976    ac_init_version=: ;;
977
978  -with-* | --with-*)
979    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
980    # Reject names that are not valid shell variable names.
981    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982      as_fn_error $? "invalid package name: $ac_useropt"
983    ac_useropt_orig=$ac_useropt
984    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985    case $ac_user_opts in
986      *"
987"with_$ac_useropt"
988"*) ;;
989      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
990         ac_unrecognized_sep=', ';;
991    esac
992    eval with_$ac_useropt=\$ac_optarg ;;
993
994  -without-* | --without-*)
995    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
996    # Reject names that are not valid shell variable names.
997    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998      as_fn_error $? "invalid package name: $ac_useropt"
999    ac_useropt_orig=$ac_useropt
1000    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001    case $ac_user_opts in
1002      *"
1003"with_$ac_useropt"
1004"*) ;;
1005      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1006         ac_unrecognized_sep=', ';;
1007    esac
1008    eval with_$ac_useropt=no ;;
1009
1010  --x)
1011    # Obsolete; use --with-x.
1012    with_x=yes ;;
1013
1014  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1015  | --x-incl | --x-inc | --x-in | --x-i)
1016    ac_prev=x_includes ;;
1017  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1018  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1019    x_includes=$ac_optarg ;;
1020
1021  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1022  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1023    ac_prev=x_libraries ;;
1024  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1025  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1026    x_libraries=$ac_optarg ;;
1027
1028  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1029Try \`$0 --help' for more information"
1030    ;;
1031
1032  *=*)
1033    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1034    # Reject names that are not valid shell variable names.
1035    case $ac_envvar in #(
1036      '' | [0-9]* | *[!_$as_cr_alnum]* )
1037      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1038    esac
1039    eval $ac_envvar=\$ac_optarg
1040    export $ac_envvar ;;
1041
1042  *)
1043    # FIXME: should be removed in autoconf 3.0.
1044    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1045    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1047    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1048    ;;
1049
1050  esac
1051done
1052
1053if test -n "$ac_prev"; then
1054  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1055  as_fn_error $? "missing argument to $ac_option"
1056fi
1057
1058if test -n "$ac_unrecognized_opts"; then
1059  case $enable_option_checking in
1060    no) ;;
1061    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1062    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1063  esac
1064fi
1065
1066# Check all directory arguments for consistency.
1067for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1068                datadir sysconfdir sharedstatedir localstatedir includedir \
1069                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1070                libdir localedir mandir
1071do
1072  eval ac_val=\$$ac_var
1073  # Remove trailing slashes.
1074  case $ac_val in
1075    */ )
1076      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1077      eval $ac_var=\$ac_val;;
1078  esac
1079  # Be sure to have absolute directory names.
1080  case $ac_val in
1081    [\\/$]* | ?:[\\/]* )  continue;;
1082    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1083  esac
1084  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1085done
1086
1087# There might be people who depend on the old broken behavior: `$host'
1088# used to hold the argument of --host etc.
1089# FIXME: To remove some day.
1090build=$build_alias
1091host=$host_alias
1092target=$target_alias
1093
1094# FIXME: To remove some day.
1095if test "x$host_alias" != x; then
1096  if test "x$build_alias" = x; then
1097    cross_compiling=maybe
1098  elif test "x$build_alias" != "x$host_alias"; then
1099    cross_compiling=yes
1100  fi
1101fi
1102
1103ac_tool_prefix=
1104test -n "$host_alias" && ac_tool_prefix=$host_alias-
1105
1106test "$silent" = yes && exec 6>/dev/null
1107
1108
1109ac_pwd=`pwd` && test -n "$ac_pwd" &&
1110ac_ls_di=`ls -di .` &&
1111ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1112  as_fn_error $? "working directory cannot be determined"
1113test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1114  as_fn_error $? "pwd does not report name of working directory"
1115
1116
1117# Find the source files, if location was not specified.
1118if test -z "$srcdir"; then
1119  ac_srcdir_defaulted=yes
1120  # Try the directory containing this script, then the parent directory.
1121  ac_confdir=`$as_dirname -- "$as_myself" ||
1122$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123         X"$as_myself" : 'X\(//\)[^/]' \| \
1124         X"$as_myself" : 'X\(//\)$' \| \
1125         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1126$as_echo X"$as_myself" |
1127    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1128            s//\1/
1129            q
1130          }
1131          /^X\(\/\/\)[^/].*/{
1132            s//\1/
1133            q
1134          }
1135          /^X\(\/\/\)$/{
1136            s//\1/
1137            q
1138          }
1139          /^X\(\/\).*/{
1140            s//\1/
1141            q
1142          }
1143          s/.*/./; q'`
1144  srcdir=$ac_confdir
1145  if test ! -r "$srcdir/$ac_unique_file"; then
1146    srcdir=..
1147  fi
1148else
1149  ac_srcdir_defaulted=no
1150fi
1151if test ! -r "$srcdir/$ac_unique_file"; then
1152  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1153  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1154fi
1155ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1156ac_abs_confdir=`(
1157        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1158        pwd)`
1159# When building in place, set srcdir=.
1160if test "$ac_abs_confdir" = "$ac_pwd"; then
1161  srcdir=.
1162fi
1163# Remove unnecessary trailing slashes from srcdir.
1164# Double slashes in file names in object file debugging info
1165# mess up M-x gdb in Emacs.
1166case $srcdir in
1167*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1168esac
1169for ac_var in $ac_precious_vars; do
1170  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1171  eval ac_env_${ac_var}_value=\$${ac_var}
1172  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1173  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1174done
1175
1176#
1177# Report the --help message.
1178#
1179if test "$ac_init_help" = "long"; then
1180  # Omit some internal or obsolete options to make the list less imposing.
1181  # This message is too long to be a string in the A/UX 3.1 sh.
1182  cat <<_ACEOF
1183\`configure' configures vmdshow 0.1 to adapt to many kinds of systems.
1184
1185Usage: $0 [OPTION]... [VAR=VALUE]...
1186
1187To assign environment variables (e.g., CC, CFLAGS...), specify them as
1188VAR=VALUE.  See below for descriptions of some of the useful variables.
1189
1190Defaults for the options are specified in brackets.
1191
1192Configuration:
1193  -h, --help              display this help and exit
1194      --help=short        display options specific to this package
1195      --help=recursive    display the short help of all the included packages
1196  -V, --version           display version information and exit
1197  -q, --quiet, --silent   do not print \`checking ...' messages
1198      --cache-file=FILE   cache test results in FILE [disabled]
1199  -C, --config-cache      alias for \`--cache-file=config.cache'
1200  -n, --no-create         do not create output files
1201      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1202
1203Installation directories:
1204  --prefix=PREFIX         install architecture-independent files in PREFIX
1205                          [$ac_default_prefix]
1206  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1207                          [PREFIX]
1208
1209By default, \`make install' will install all the files in
1210\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1211an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1212for instance \`--prefix=\$HOME'.
1213
1214For better control, use the options below.
1215
1216Fine tuning of the installation directories:
1217  --bindir=DIR            user executables [EPREFIX/bin]
1218  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1219  --libexecdir=DIR        program executables [EPREFIX/libexec]
1220  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1221  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1222  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1223  --libdir=DIR            object code libraries [EPREFIX/lib]
1224  --includedir=DIR        C header files [PREFIX/include]
1225  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1226  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1227  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1228  --infodir=DIR           info documentation [DATAROOTDIR/info]
1229  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1230  --mandir=DIR            man documentation [DATAROOTDIR/man]
1231  --docdir=DIR            documentation root [DATAROOTDIR/doc/vmdshow]
1232  --htmldir=DIR           html documentation [DOCDIR]
1233  --dvidir=DIR            dvi documentation [DOCDIR]
1234  --pdfdir=DIR            pdf documentation [DOCDIR]
1235  --psdir=DIR             ps documentation [DOCDIR]
1236_ACEOF
1237
1238  cat <<\_ACEOF
1239_ACEOF
1240fi
1241
1242if test -n "$ac_init_help"; then
1243  case $ac_init_help in
1244     short | recursive ) echo "Configuration of vmdshow 0.1:";;
1245   esac
1246  cat <<\_ACEOF
1247
1248Optional Packages:
1249  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1250  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1251  --with-statsdir=DIR     Write statistics in DIR
1252  --with-logdir=DIR       Write log files in DIR
1253
1254Report bugs to <rappture@nanohub.org>.
1255_ACEOF
1256ac_status=$?
1257fi
1258
1259if test "$ac_init_help" = "recursive"; then
1260  # If there are subdirs, report their specific --help.
1261  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1262    test -d "$ac_dir" ||
1263      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1264      continue
1265    ac_builddir=.
1266
1267case "$ac_dir" in
1268.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269*)
1270  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1271  # A ".." for each directory in $ac_dir_suffix.
1272  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1273  case $ac_top_builddir_sub in
1274  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1275  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1276  esac ;;
1277esac
1278ac_abs_top_builddir=$ac_pwd
1279ac_abs_builddir=$ac_pwd$ac_dir_suffix
1280# for backward compatibility:
1281ac_top_builddir=$ac_top_build_prefix
1282
1283case $srcdir in
1284  .)  # We are building in place.
1285    ac_srcdir=.
1286    ac_top_srcdir=$ac_top_builddir_sub
1287    ac_abs_top_srcdir=$ac_pwd ;;
1288  [\\/]* | ?:[\\/]* )  # Absolute name.
1289    ac_srcdir=$srcdir$ac_dir_suffix;
1290    ac_top_srcdir=$srcdir
1291    ac_abs_top_srcdir=$srcdir ;;
1292  *) # Relative name.
1293    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1294    ac_top_srcdir=$ac_top_build_prefix$srcdir
1295    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1296esac
1297ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1298
1299    cd "$ac_dir" || { ac_status=$?; continue; }
1300    # Check for guested configure.
1301    if test -f "$ac_srcdir/configure.gnu"; then
1302      echo &&
1303      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1304    elif test -f "$ac_srcdir/configure"; then
1305      echo &&
1306      $SHELL "$ac_srcdir/configure" --help=recursive
1307    else
1308      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1309    fi || ac_status=$?
1310    cd "$ac_pwd" || { ac_status=$?; break; }
1311  done
1312fi
1313
1314test -n "$ac_init_help" && exit $ac_status
1315if $ac_init_version; then
1316  cat <<\_ACEOF
1317vmdshow configure 0.1
1318generated by GNU Autoconf 2.69
1319
1320Copyright (C) 2012 Free Software Foundation, Inc.
1321This configure script is free software; the Free Software Foundation
1322gives unlimited permission to copy, distribute and modify it.
1323_ACEOF
1324  exit
1325fi
1326
1327## ------------------------ ##
1328## Autoconf initialization. ##
1329## ------------------------ ##
1330cat >config.log <<_ACEOF
1331This file contains any messages produced by compilers while
1332running configure, to aid debugging if configure makes a mistake.
1333
1334It was created by vmdshow $as_me 0.1, which was
1335generated by GNU Autoconf 2.69.  Invocation command line was
1336
1337  $ $0 $@
1338
1339_ACEOF
1340exec 5>>config.log
1341{
1342cat <<_ASUNAME
1343## --------- ##
1344## Platform. ##
1345## --------- ##
1346
1347hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1348uname -m = `(uname -m) 2>/dev/null || echo unknown`
1349uname -r = `(uname -r) 2>/dev/null || echo unknown`
1350uname -s = `(uname -s) 2>/dev/null || echo unknown`
1351uname -v = `(uname -v) 2>/dev/null || echo unknown`
1352
1353/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1354/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1355
1356/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1357/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1358/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1359/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1360/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1361/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1362/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1363
1364_ASUNAME
1365
1366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367for as_dir in $PATH
1368do
1369  IFS=$as_save_IFS
1370  test -z "$as_dir" && as_dir=.
1371    $as_echo "PATH: $as_dir"
1372  done
1373IFS=$as_save_IFS
1374
1375} >&5
1376
1377cat >&5 <<_ACEOF
1378
1379
1380## ----------- ##
1381## Core tests. ##
1382## ----------- ##
1383
1384_ACEOF
1385
1386
1387# Keep a trace of the command line.
1388# Strip out --no-create and --no-recursion so they do not pile up.
1389# Strip out --silent because we don't want to record it for future runs.
1390# Also quote any args containing shell meta-characters.
1391# Make two passes to allow for proper duplicate-argument suppression.
1392ac_configure_args=
1393ac_configure_args0=
1394ac_configure_args1=
1395ac_must_keep_next=false
1396for ac_pass in 1 2
1397do
1398  for ac_arg
1399  do
1400    case $ac_arg in
1401    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1402    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1403    | -silent | --silent | --silen | --sile | --sil)
1404      continue ;;
1405    *\'*)
1406      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1407    esac
1408    case $ac_pass in
1409    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1410    2)
1411      as_fn_append ac_configure_args1 " '$ac_arg'"
1412      if test $ac_must_keep_next = true; then
1413        ac_must_keep_next=false # Got value, back to normal.
1414      else
1415        case $ac_arg in
1416          *=* | --config-cache | -C | -disable-* | --disable-* \
1417          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1418          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1419          | -with-* | --with-* | -without-* | --without-* | --x)
1420            case "$ac_configure_args0 " in
1421              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1422            esac
1423            ;;
1424          -* ) ac_must_keep_next=true ;;
1425        esac
1426      fi
1427      as_fn_append ac_configure_args " '$ac_arg'"
1428      ;;
1429    esac
1430  done
1431done
1432{ ac_configure_args0=; unset ac_configure_args0;}
1433{ ac_configure_args1=; unset ac_configure_args1;}
1434
1435# When interrupted or exit'd, cleanup temporary files, and complete
1436# config.log.  We remove comments because anyway the quotes in there
1437# would cause problems or look ugly.
1438# WARNING: Use '\'' to represent an apostrophe within the trap.
1439# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1440trap 'exit_status=$?
1441  # Save into config.log some information that might help in debugging.
1442  {
1443    echo
1444
1445    $as_echo "## ---------------- ##
1446## Cache variables. ##
1447## ---------------- ##"
1448    echo
1449    # The following way of writing the cache mishandles newlines in values,
1450(
1451  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1452    eval ac_val=\$$ac_var
1453    case $ac_val in #(
1454    *${as_nl}*)
1455      case $ac_var in #(
1456      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1457$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1458      esac
1459      case $ac_var in #(
1460      _ | IFS | as_nl) ;; #(
1461      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1462      *) { eval $ac_var=; unset $ac_var;} ;;
1463      esac ;;
1464    esac
1465  done
1466  (set) 2>&1 |
1467    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1468    *${as_nl}ac_space=\ *)
1469      sed -n \
1470        "s/'\''/'\''\\\\'\'''\''/g;
1471          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1472      ;; #(
1473    *)
1474      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1475      ;;
1476    esac |
1477    sort
1478)
1479    echo
1480
1481    $as_echo "## ----------------- ##
1482## Output variables. ##
1483## ----------------- ##"
1484    echo
1485    for ac_var in $ac_subst_vars
1486    do
1487      eval ac_val=\$$ac_var
1488      case $ac_val in
1489      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1490      esac
1491      $as_echo "$ac_var='\''$ac_val'\''"
1492    done | sort
1493    echo
1494
1495    if test -n "$ac_subst_files"; then
1496      $as_echo "## ------------------- ##
1497## File substitutions. ##
1498## ------------------- ##"
1499      echo
1500      for ac_var in $ac_subst_files
1501      do
1502        eval ac_val=\$$ac_var
1503        case $ac_val in
1504        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1505        esac
1506        $as_echo "$ac_var='\''$ac_val'\''"
1507      done | sort
1508      echo
1509    fi
1510
1511    if test -s confdefs.h; then
1512      $as_echo "## ----------- ##
1513## confdefs.h. ##
1514## ----------- ##"
1515      echo
1516      cat confdefs.h
1517      echo
1518    fi
1519    test "$ac_signal" != 0 &&
1520      $as_echo "$as_me: caught signal $ac_signal"
1521    $as_echo "$as_me: exit $exit_status"
1522  } >&5
1523  rm -f core *.core core.conftest.* &&
1524    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1525    exit $exit_status
1526' 0
1527for ac_signal in 1 2 13 15; do
1528  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1529done
1530ac_signal=0
1531
1532# confdefs.h avoids OS command line length limits that DEFS can exceed.
1533rm -f -r conftest* confdefs.h
1534
1535$as_echo "/* confdefs.h */" > confdefs.h
1536
1537# Predefined preprocessor variables.
1538
1539cat >>confdefs.h <<_ACEOF
1540#define PACKAGE_NAME "$PACKAGE_NAME"
1541_ACEOF
1542
1543cat >>confdefs.h <<_ACEOF
1544#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1545_ACEOF
1546
1547cat >>confdefs.h <<_ACEOF
1548#define PACKAGE_VERSION "$PACKAGE_VERSION"
1549_ACEOF
1550
1551cat >>confdefs.h <<_ACEOF
1552#define PACKAGE_STRING "$PACKAGE_STRING"
1553_ACEOF
1554
1555cat >>confdefs.h <<_ACEOF
1556#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1557_ACEOF
1558
1559cat >>confdefs.h <<_ACEOF
1560#define PACKAGE_URL "$PACKAGE_URL"
1561_ACEOF
1562
1563
1564# Let the site file select an alternate cache file if it wants to.
1565# Prefer an explicitly selected file to automatically selected ones.
1566ac_site_file1=NONE
1567ac_site_file2=NONE
1568if test -n "$CONFIG_SITE"; then
1569  # We do not want a PATH search for config.site.
1570  case $CONFIG_SITE in #((
1571    -*)  ac_site_file1=./$CONFIG_SITE;;
1572    */*) ac_site_file1=$CONFIG_SITE;;
1573    *)   ac_site_file1=./$CONFIG_SITE;;
1574  esac
1575elif test "x$prefix" != xNONE; then
1576  ac_site_file1=$prefix/share/config.site
1577  ac_site_file2=$prefix/etc/config.site
1578else
1579  ac_site_file1=$ac_default_prefix/share/config.site
1580  ac_site_file2=$ac_default_prefix/etc/config.site
1581fi
1582for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1583do
1584  test "x$ac_site_file" = xNONE && continue
1585  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1586    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1587$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1588    sed 's/^/| /' "$ac_site_file" >&5
1589    . "$ac_site_file" \
1590      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1592as_fn_error $? "failed to load site script $ac_site_file
1593See \`config.log' for more details" "$LINENO" 5; }
1594  fi
1595done
1596
1597if test -r "$cache_file"; then
1598  # Some versions of bash will fail to source /dev/null (special files
1599  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1600  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1601    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1602$as_echo "$as_me: loading cache $cache_file" >&6;}
1603    case $cache_file in
1604      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1605      *)                      . "./$cache_file";;
1606    esac
1607  fi
1608else
1609  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1610$as_echo "$as_me: creating cache $cache_file" >&6;}
1611  >$cache_file
1612fi
1613
1614# Check that the precious variables saved in the cache have kept the same
1615# value.
1616ac_cache_corrupted=false
1617for ac_var in $ac_precious_vars; do
1618  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1619  eval ac_new_set=\$ac_env_${ac_var}_set
1620  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1621  eval ac_new_val=\$ac_env_${ac_var}_value
1622  case $ac_old_set,$ac_new_set in
1623    set,)
1624      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1625$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1626      ac_cache_corrupted=: ;;
1627    ,set)
1628      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1629$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1630      ac_cache_corrupted=: ;;
1631    ,);;
1632    *)
1633      if test "x$ac_old_val" != "x$ac_new_val"; then
1634        # differences in whitespace do not lead to failure.
1635        ac_old_val_w=`echo x $ac_old_val`
1636        ac_new_val_w=`echo x $ac_new_val`
1637        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1638          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1639$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1640          ac_cache_corrupted=:
1641        else
1642          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1643$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1644          eval $ac_var=\$ac_old_val
1645        fi
1646        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1647$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1648        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1649$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1650      fi;;
1651  esac
1652  # Pass precious variables to config.status.
1653  if test "$ac_new_set" = set; then
1654    case $ac_new_val in
1655    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1656    *) ac_arg=$ac_var=$ac_new_val ;;
1657    esac
1658    case " $ac_configure_args " in
1659      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1660      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1661    esac
1662  fi
1663done
1664if $ac_cache_corrupted; then
1665  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1667  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1668$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1669  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1670fi
1671## -------------------- ##
1672## Main body of script. ##
1673## -------------------- ##
1674
1675ac_ext=c
1676ac_cpp='$CPP $CPPFLAGS'
1677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1679ac_compiler_gnu=$ac_cv_c_compiler_gnu
1680
1681
1682ac_aux_dir=
1683for ac_dir in cf "$srcdir"/cf; do
1684  if test -f "$ac_dir/install-sh"; then
1685    ac_aux_dir=$ac_dir
1686    ac_install_sh="$ac_aux_dir/install-sh -c"
1687    break
1688  elif test -f "$ac_dir/install.sh"; then
1689    ac_aux_dir=$ac_dir
1690    ac_install_sh="$ac_aux_dir/install.sh -c"
1691    break
1692  elif test -f "$ac_dir/shtool"; then
1693    ac_aux_dir=$ac_dir
1694    ac_install_sh="$ac_aux_dir/shtool install -c"
1695    break
1696  fi
1697done
1698if test -z "$ac_aux_dir"; then
1699  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
1700fi
1701
1702# These three variables are undocumented and unsupported,
1703# and are intended to be withdrawn in a future Autoconf release.
1704# They can cause serious problems if a builder's source tree is in a directory
1705# whose full name contains unusual characters.
1706ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1707ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1708ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1709
1710
1711
1712
1713# Check whether --with-statsdir was given.
1714if test "${with_statsdir+set}" = set; then :
1715  withval=$with_statsdir; STATSDIR=$withval
1716else
1717  STATSDIR="/var/tmp/visservers"
1718fi
1719
1720
1721
1722# Check whether --with-logdir was given.
1723if test "${with_logdir+set}" = set; then :
1724  withval=$with_logdir; LOGDIR=$withval
1725else
1726  LOGDIR="/tmp"
1727fi
1728
1729
1730#------------------------------------------------------------------------
1731# Handle the --prefix=... option
1732#------------------------------------------------------------------------
1733
1734if test "${prefix}" = "NONE"; then
1735    prefix=/usr/local
1736fi
1737if test "${exec_prefix}" = "NONE"; then
1738    exec_prefix=$prefix
1739fi
1740
1741# Find a good install program.  We prefer a C program (faster),
1742# so one script is as good as another.  But avoid the broken or
1743# incompatible versions:
1744# SysV /etc/install, /usr/sbin/install
1745# SunOS /usr/etc/install
1746# IRIX /sbin/install
1747# AIX /bin/install
1748# AmigaOS /C/install, which installs bootblocks on floppy discs
1749# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1750# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1751# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1752# OS/2's system install, which has a completely different semantic
1753# ./install, which can be erroneously created by make from ./install.sh.
1754# Reject install programs that cannot install multiple files.
1755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1756$as_echo_n "checking for a BSD-compatible install... " >&6; }
1757if test -z "$INSTALL"; then
1758if ${ac_cv_path_install+:} false; then :
1759  $as_echo_n "(cached) " >&6
1760else
1761  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762for as_dir in $PATH
1763do
1764  IFS=$as_save_IFS
1765  test -z "$as_dir" && as_dir=.
1766    # Account for people who put trailing slashes in PATH elements.
1767case $as_dir/ in #((
1768  ./ | .// | /[cC]/* | \
1769  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1770  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1771  /usr/ucb/* ) ;;
1772  *)
1773    # OSF1 and SCO ODT 3.0 have their own names for install.
1774    # Don't use installbsd from OSF since it installs stuff as root
1775    # by default.
1776    for ac_prog in ginstall scoinst install; do
1777      for ac_exec_ext in '' $ac_executable_extensions; do
1778        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1779          if test $ac_prog = install &&
1780            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1781            # AIX install.  It has an incompatible calling convention.
1782            :
1783          elif test $ac_prog = install &&
1784            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1785            # program-specific install script used by HP pwplus--don't use.
1786            :
1787          else
1788            rm -rf conftest.one conftest.two conftest.dir
1789            echo one > conftest.one
1790            echo two > conftest.two
1791            mkdir conftest.dir
1792            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1793              test -s conftest.one && test -s conftest.two &&
1794              test -s conftest.dir/conftest.one &&
1795              test -s conftest.dir/conftest.two
1796            then
1797              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1798              break 3
1799            fi
1800          fi
1801        fi
1802      done
1803    done
1804    ;;
1805esac
1806
1807  done
1808IFS=$as_save_IFS
1809
1810rm -rf conftest.one conftest.two conftest.dir
1811
1812fi
1813  if test "${ac_cv_path_install+set}" = set; then
1814    INSTALL=$ac_cv_path_install
1815  else
1816    # As a last resort, use the slow shell script.  Don't cache a
1817    # value for INSTALL within a source directory, because that will
1818    # break other packages using the cache if that directory is
1819    # removed, or if the value is a relative name.
1820    INSTALL=$ac_install_sh
1821  fi
1822fi
1823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1824$as_echo "$INSTALL" >&6; }
1825
1826# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1827# It thinks the first close brace ends the variable substitution.
1828test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1829
1830test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1831
1832test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1833
1834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1835$as_echo_n "checking whether ln -s works... " >&6; }
1836LN_S=$as_ln_s
1837if test "$LN_S" = "ln -s"; then
1838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1839$as_echo "yes" >&6; }
1840else
1841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1842$as_echo "no, using $LN_S" >&6; }
1843fi
1844
1845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1846$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1847if test -z "$MKDIR_P"; then
1848  if ${ac_cv_path_mkdir+:} false; then :
1849  $as_echo_n "(cached) " >&6
1850else
1851  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1853do
1854  IFS=$as_save_IFS
1855  test -z "$as_dir" && as_dir=.
1856    for ac_prog in mkdir gmkdir; do
1857         for ac_exec_ext in '' $ac_executable_extensions; do
1858           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1859           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1860             'mkdir (GNU coreutils) '* | \
1861             'mkdir (coreutils) '* | \
1862             'mkdir (fileutils) '4.1*)
1863               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1864               break 3;;
1865           esac
1866         done
1867       done
1868  done
1869IFS=$as_save_IFS
1870
1871fi
1872
1873  test -d ./--version && rmdir ./--version
1874  if test "${ac_cv_path_mkdir+set}" = set; then
1875    MKDIR_P="$ac_cv_path_mkdir -p"
1876  else
1877    # As a last resort, use the slow shell script.  Don't cache a
1878    # value for MKDIR_P within a source directory, because that will
1879    # break other packages using the cache if that directory is
1880    # removed, or if the value is a relative name.
1881    MKDIR_P="$ac_install_sh -d"
1882  fi
1883fi
1884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1885$as_echo "$MKDIR_P" >&6; }
1886
1887
1888
1889
1890
1891ac_config_files="$ac_config_files Makefile"
1892
1893cat >confcache <<\_ACEOF
1894# This file is a shell script that caches the results of configure
1895# tests run on this system so they can be shared between configure
1896# scripts and configure runs, see configure's option --config-cache.
1897# It is not useful on other systems.  If it contains results you don't
1898# want to keep, you may remove or edit it.
1899#
1900# config.status only pays attention to the cache file if you give it
1901# the --recheck option to rerun configure.
1902#
1903# `ac_cv_env_foo' variables (set or unset) will be overridden when
1904# loading this file, other *unset* `ac_cv_foo' will be assigned the
1905# following values.
1906
1907_ACEOF
1908
1909# The following way of writing the cache mishandles newlines in values,
1910# but we know of no workaround that is simple, portable, and efficient.
1911# So, we kill variables containing newlines.
1912# Ultrix sh set writes to stderr and can't be redirected directly,
1913# and sets the high bit in the cache file unless we assign to the vars.
1914(
1915  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1916    eval ac_val=\$$ac_var
1917    case $ac_val in #(
1918    *${as_nl}*)
1919      case $ac_var in #(
1920      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1921$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1922      esac
1923      case $ac_var in #(
1924      _ | IFS | as_nl) ;; #(
1925      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1926      *) { eval $ac_var=; unset $ac_var;} ;;
1927      esac ;;
1928    esac
1929  done
1930
1931  (set) 2>&1 |
1932    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1933    *${as_nl}ac_space=\ *)
1934      # `set' does not quote correctly, so add quotes: double-quote
1935      # substitution turns \\\\ into \\, and sed turns \\ into \.
1936      sed -n \
1937        "s/'/'\\\\''/g;
1938          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1939      ;; #(
1940    *)
1941      # `set' quotes correctly as required by POSIX, so do not add quotes.
1942      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1943      ;;
1944    esac |
1945    sort
1946) |
1947  sed '
1948     /^ac_cv_env_/b end
1949     t clear
1950     :clear
1951     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1952     t end
1953     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1954     :end' >>confcache
1955if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1956  if test -w "$cache_file"; then
1957    if test "x$cache_file" != "x/dev/null"; then
1958      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1959$as_echo "$as_me: updating cache $cache_file" >&6;}
1960      if test ! -f "$cache_file" || test -h "$cache_file"; then
1961        cat confcache >"$cache_file"
1962      else
1963        case $cache_file in #(
1964        */* | ?:*)
1965          mv -f confcache "$cache_file"$$ &&
1966          mv -f "$cache_file"$$ "$cache_file" ;; #(
1967        *)
1968          mv -f confcache "$cache_file" ;;
1969        esac
1970      fi
1971    fi
1972  else
1973    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1974$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1975  fi
1976fi
1977rm -f confcache
1978
1979test "x$prefix" = xNONE && prefix=$ac_default_prefix
1980# Let make expand exec_prefix.
1981test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1982
1983# Transform confdefs.h into DEFS.
1984# Protect against shell expansion while executing Makefile rules.
1985# Protect against Makefile macro expansion.
1986#
1987# If the first sed substitution is executed (which looks for macros that
1988# take arguments), then branch to the quote section.  Otherwise,
1989# look for a macro that doesn't take arguments.
1990ac_script='
1991:mline
1992/\\$/{
1993 N
1994 s,\\\n,,
1995 b mline
1996}
1997t clear
1998:clear
1999s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2000t quote
2001s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2002t quote
2003b any
2004:quote
2005s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2006s/\[/\\&/g
2007s/\]/\\&/g
2008s/\$/$$/g
2009H
2010:any
2011${
2012        g
2013        s/^\n//
2014        s/\n/ /g
2015        p
2016}
2017'
2018DEFS=`sed -n "$ac_script" confdefs.h`
2019
2020
2021ac_libobjs=
2022ac_ltlibobjs=
2023U=
2024for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2025  # 1. Remove the extension, and $U if already installed.
2026  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2027  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2028  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2029  #    will be set to the directory where LIBOBJS objects are built.
2030  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2031  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2032done
2033LIBOBJS=$ac_libobjs
2034
2035LTLIBOBJS=$ac_ltlibobjs
2036
2037
2038
2039: "${CONFIG_STATUS=./config.status}"
2040ac_write_fail=0
2041ac_clean_files_save=$ac_clean_files
2042ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2043{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2044$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2045as_write_fail=0
2046cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2047#! $SHELL
2048# Generated by $as_me.
2049# Run this file to recreate the current configuration.
2050# Compiler output produced by configure, useful for debugging
2051# configure, is in config.log if it exists.
2052
2053debug=false
2054ac_cs_recheck=false
2055ac_cs_silent=false
2056
2057SHELL=\${CONFIG_SHELL-$SHELL}
2058export SHELL
2059_ASEOF
2060cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2061## -------------------- ##
2062## M4sh Initialization. ##
2063## -------------------- ##
2064
2065# Be more Bourne compatible
2066DUALCASE=1; export DUALCASE # for MKS sh
2067if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2068  emulate sh
2069  NULLCMD=:
2070  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2071  # is contrary to our usage.  Disable this feature.
2072  alias -g '${1+"$@"}'='"$@"'
2073  setopt NO_GLOB_SUBST
2074else
2075  case `(set -o) 2>/dev/null` in #(
2076  *posix*) :
2077    set -o posix ;; #(
2078  *) :
2079     ;;
2080esac
2081fi
2082
2083
2084as_nl='
2085'
2086export as_nl
2087# Printing a long string crashes Solaris 7 /usr/bin/printf.
2088as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2089as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2090as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2091# Prefer a ksh shell builtin over an external printf program on Solaris,
2092# but without wasting forks for bash or zsh.
2093if test -z "$BASH_VERSION$ZSH_VERSION" \
2094    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2095  as_echo='print -r --'
2096  as_echo_n='print -rn --'
2097elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2098  as_echo='printf %s\n'
2099  as_echo_n='printf %s'
2100else
2101  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2102    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2103    as_echo_n='/usr/ucb/echo -n'
2104  else
2105    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2106    as_echo_n_body='eval
2107      arg=$1;
2108      case $arg in #(
2109      *"$as_nl"*)
2110        expr "X$arg" : "X\\(.*\\)$as_nl";
2111        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2112      esac;
2113      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2114    '
2115    export as_echo_n_body
2116    as_echo_n='sh -c $as_echo_n_body as_echo'
2117  fi
2118  export as_echo_body
2119  as_echo='sh -c $as_echo_body as_echo'
2120fi
2121
2122# The user is always right.
2123if test "${PATH_SEPARATOR+set}" != set; then
2124  PATH_SEPARATOR=:
2125  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2126    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2127      PATH_SEPARATOR=';'
2128  }
2129fi
2130
2131
2132# IFS
2133# We need space, tab and new line, in precisely that order.  Quoting is
2134# there to prevent editors from complaining about space-tab.
2135# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2136# splitting by setting IFS to empty value.)
2137IFS=" ""        $as_nl"
2138
2139# Find who we are.  Look in the path if we contain no directory separator.
2140as_myself=
2141case $0 in #((
2142  *[\\/]* ) as_myself=$0 ;;
2143  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144for as_dir in $PATH
2145do
2146  IFS=$as_save_IFS
2147  test -z "$as_dir" && as_dir=.
2148    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2149  done
2150IFS=$as_save_IFS
2151
2152     ;;
2153esac
2154# We did not find ourselves, most probably we were run as `sh COMMAND'
2155# in which case we are not to be found in the path.
2156if test "x$as_myself" = x; then
2157  as_myself=$0
2158fi
2159if test ! -f "$as_myself"; then
2160  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2161  exit 1
2162fi
2163
2164# Unset variables that we do not need and which cause bugs (e.g. in
2165# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2166# suppresses any "Segmentation fault" message there.  '((' could
2167# trigger a bug in pdksh 5.2.14.
2168for as_var in BASH_ENV ENV MAIL MAILPATH
2169do eval test x\${$as_var+set} = xset \
2170  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2171done
2172PS1='$ '
2173PS2='> '
2174PS4='+ '
2175
2176# NLS nuisances.
2177LC_ALL=C
2178export LC_ALL
2179LANGUAGE=C
2180export LANGUAGE
2181
2182# CDPATH.
2183(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2184
2185
2186# as_fn_error STATUS ERROR [LINENO LOG_FD]
2187# ----------------------------------------
2188# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2189# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2190# script with STATUS, using 1 if that was 0.
2191as_fn_error ()
2192{
2193  as_status=$1; test $as_status -eq 0 && as_status=1
2194  if test "$4"; then
2195    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2197  fi
2198  $as_echo "$as_me: error: $2" >&2
2199  as_fn_exit $as_status
2200} # as_fn_error
2201
2202
2203# as_fn_set_status STATUS
2204# -----------------------
2205# Set $? to STATUS, without forking.
2206as_fn_set_status ()
2207{
2208  return $1
2209} # as_fn_set_status
2210
2211# as_fn_exit STATUS
2212# -----------------
2213# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2214as_fn_exit ()
2215{
2216  set +e
2217  as_fn_set_status $1
2218  exit $1
2219} # as_fn_exit
2220
2221# as_fn_unset VAR
2222# ---------------
2223# Portably unset VAR.
2224as_fn_unset ()
2225{
2226  { eval $1=; unset $1;}
2227}
2228as_unset=as_fn_unset
2229# as_fn_append VAR VALUE
2230# ----------------------
2231# Append the text in VALUE to the end of the definition contained in VAR. Take
2232# advantage of any shell optimizations that allow amortized linear growth over
2233# repeated appends, instead of the typical quadratic growth present in naive
2234# implementations.
2235if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2236  eval 'as_fn_append ()
2237  {
2238    eval $1+=\$2
2239  }'
2240else
2241  as_fn_append ()
2242  {
2243    eval $1=\$$1\$2
2244  }
2245fi # as_fn_append
2246
2247# as_fn_arith ARG...
2248# ------------------
2249# Perform arithmetic evaluation on the ARGs, and store the result in the
2250# global $as_val. Take advantage of shells that can avoid forks. The arguments
2251# must be portable across $(()) and expr.
2252if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2253  eval 'as_fn_arith ()
2254  {
2255    as_val=$(( $* ))
2256  }'
2257else
2258  as_fn_arith ()
2259  {
2260    as_val=`expr "$@" || test $? -eq 1`
2261  }
2262fi # as_fn_arith
2263
2264
2265if expr a : '\(a\)' >/dev/null 2>&1 &&
2266   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2267  as_expr=expr
2268else
2269  as_expr=false
2270fi
2271
2272if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2273  as_basename=basename
2274else
2275  as_basename=false
2276fi
2277
2278if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2279  as_dirname=dirname
2280else
2281  as_dirname=false
2282fi
2283
2284as_me=`$as_basename -- "$0" ||
2285$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2286         X"$0" : 'X\(//\)$' \| \
2287         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2288$as_echo X/"$0" |
2289    sed '/^.*\/\([^/][^/]*\)\/*$/{
2290            s//\1/
2291            q
2292          }
2293          /^X\/\(\/\/\)$/{
2294            s//\1/
2295            q
2296          }
2297          /^X\/\(\/\).*/{
2298            s//\1/
2299            q
2300          }
2301          s/.*/./; q'`
2302
2303# Avoid depending upon Character Ranges.
2304as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2305as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2306as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2307as_cr_digits='0123456789'
2308as_cr_alnum=$as_cr_Letters$as_cr_digits
2309
2310ECHO_C= ECHO_N= ECHO_T=
2311case `echo -n x` in #(((((
2312-n*)
2313  case `echo 'xy\c'` in
2314  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2315  xy)  ECHO_C='\c';;
2316  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2317       ECHO_T=' ';;
2318  esac;;
2319*)
2320  ECHO_N='-n';;
2321esac
2322
2323rm -f conf$$ conf$$.exe conf$$.file
2324if test -d conf$$.dir; then
2325  rm -f conf$$.dir/conf$$.file
2326else
2327  rm -f conf$$.dir
2328  mkdir conf$$.dir 2>/dev/null
2329fi
2330if (echo >conf$$.file) 2>/dev/null; then
2331  if ln -s conf$$.file conf$$ 2>/dev/null; then
2332    as_ln_s='ln -s'
2333    # ... but there are two gotchas:
2334    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2335    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2336    # In both cases, we have to default to `cp -pR'.
2337    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2338      as_ln_s='cp -pR'
2339  elif ln conf$$.file conf$$ 2>/dev/null; then
2340    as_ln_s=ln
2341  else
2342    as_ln_s='cp -pR'
2343  fi
2344else
2345  as_ln_s='cp -pR'
2346fi
2347rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2348rmdir conf$$.dir 2>/dev/null
2349
2350
2351# as_fn_mkdir_p
2352# -------------
2353# Create "$as_dir" as a directory, including parents if necessary.
2354as_fn_mkdir_p ()
2355{
2356
2357  case $as_dir in #(
2358  -*) as_dir=./$as_dir;;
2359  esac
2360  test -d "$as_dir" || eval $as_mkdir_p || {
2361    as_dirs=
2362    while :; do
2363      case $as_dir in #(
2364      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2365      *) as_qdir=$as_dir;;
2366      esac
2367      as_dirs="'$as_qdir' $as_dirs"
2368      as_dir=`$as_dirname -- "$as_dir" ||
2369$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2370         X"$as_dir" : 'X\(//\)[^/]' \| \
2371         X"$as_dir" : 'X\(//\)$' \| \
2372         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2373$as_echo X"$as_dir" |
2374    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2375            s//\1/
2376            q
2377          }
2378          /^X\(\/\/\)[^/].*/{
2379            s//\1/
2380            q
2381          }
2382          /^X\(\/\/\)$/{
2383            s//\1/
2384            q
2385          }
2386          /^X\(\/\).*/{
2387            s//\1/
2388            q
2389          }
2390          s/.*/./; q'`
2391      test -d "$as_dir" && break
2392    done
2393    test -z "$as_dirs" || eval "mkdir $as_dirs"
2394  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2395
2396
2397} # as_fn_mkdir_p
2398if mkdir -p . 2>/dev/null; then
2399  as_mkdir_p='mkdir -p "$as_dir"'
2400else
2401  test -d ./-p && rmdir ./-p
2402  as_mkdir_p=false
2403fi
2404
2405
2406# as_fn_executable_p FILE
2407# -----------------------
2408# Test if FILE is an executable regular file.
2409as_fn_executable_p ()
2410{
2411  test -f "$1" && test -x "$1"
2412} # as_fn_executable_p
2413as_test_x='test -x'
2414as_executable_p=as_fn_executable_p
2415
2416# Sed expression to map a string onto a valid CPP name.
2417as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2418
2419# Sed expression to map a string onto a valid variable name.
2420as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2421
2422
2423exec 6>&1
2424## ----------------------------------- ##
2425## Main body of $CONFIG_STATUS script. ##
2426## ----------------------------------- ##
2427_ASEOF
2428test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2429
2430cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2431# Save the log message, to keep $0 and so on meaningful, and to
2432# report actual input values of CONFIG_FILES etc. instead of their
2433# values after options handling.
2434ac_log="
2435This file was extended by vmdshow $as_me 0.1, which was
2436generated by GNU Autoconf 2.69.  Invocation command line was
2437
2438  CONFIG_FILES    = $CONFIG_FILES
2439  CONFIG_HEADERS  = $CONFIG_HEADERS
2440  CONFIG_LINKS    = $CONFIG_LINKS
2441  CONFIG_COMMANDS = $CONFIG_COMMANDS
2442  $ $0 $@
2443
2444on `(hostname || uname -n) 2>/dev/null | sed 1q`
2445"
2446
2447_ACEOF
2448
2449case $ac_config_files in *"
2450"*) set x $ac_config_files; shift; ac_config_files=$*;;
2451esac
2452
2453
2454
2455cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2456# Files that config.status was made for.
2457config_files="$ac_config_files"
2458
2459_ACEOF
2460
2461cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2462ac_cs_usage="\
2463\`$as_me' instantiates files and other configuration actions
2464from templates according to the current configuration.  Unless the files
2465and actions are specified as TAGs, all are instantiated by default.
2466
2467Usage: $0 [OPTION]... [TAG]...
2468
2469  -h, --help       print this help, then exit
2470  -V, --version    print version number and configuration settings, then exit
2471      --config     print configuration, then exit
2472  -q, --quiet, --silent
2473                   do not print progress messages
2474  -d, --debug      don't remove temporary files
2475      --recheck    update $as_me by reconfiguring in the same conditions
2476      --file=FILE[:TEMPLATE]
2477                   instantiate the configuration file FILE
2478
2479Configuration files:
2480$config_files
2481
2482Report bugs to <rappture@nanohub.org>."
2483
2484_ACEOF
2485cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2486ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2487ac_cs_version="\\
2488vmdshow config.status 0.1
2489configured by $0, generated by GNU Autoconf 2.69,
2490  with options \\"\$ac_cs_config\\"
2491
2492Copyright (C) 2012 Free Software Foundation, Inc.
2493This config.status script is free software; the Free Software Foundation
2494gives unlimited permission to copy, distribute and modify it."
2495
2496ac_pwd='$ac_pwd'
2497srcdir='$srcdir'
2498INSTALL='$INSTALL'
2499MKDIR_P='$MKDIR_P'
2500test -n "\$AWK" || AWK=awk
2501_ACEOF
2502
2503cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2504# The default lists apply if the user does not specify any file.
2505ac_need_defaults=:
2506while test $# != 0
2507do
2508  case $1 in
2509  --*=?*)
2510    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2511    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2512    ac_shift=:
2513    ;;
2514  --*=)
2515    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2516    ac_optarg=
2517    ac_shift=:
2518    ;;
2519  *)
2520    ac_option=$1
2521    ac_optarg=$2
2522    ac_shift=shift
2523    ;;
2524  esac
2525
2526  case $ac_option in
2527  # Handling of the options.
2528  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2529    ac_cs_recheck=: ;;
2530  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2531    $as_echo "$ac_cs_version"; exit ;;
2532  --config | --confi | --conf | --con | --co | --c )
2533    $as_echo "$ac_cs_config"; exit ;;
2534  --debug | --debu | --deb | --de | --d | -d )
2535    debug=: ;;
2536  --file | --fil | --fi | --f )
2537    $ac_shift
2538    case $ac_optarg in
2539    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2540    '') as_fn_error $? "missing file argument" ;;
2541    esac
2542    as_fn_append CONFIG_FILES " '$ac_optarg'"
2543    ac_need_defaults=false;;
2544  --he | --h |  --help | --hel | -h )
2545    $as_echo "$ac_cs_usage"; exit ;;
2546  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2548    ac_cs_silent=: ;;
2549
2550  # This is an error.
2551  -*) as_fn_error $? "unrecognized option: \`$1'
2552Try \`$0 --help' for more information." ;;
2553
2554  *) as_fn_append ac_config_targets " $1"
2555     ac_need_defaults=false ;;
2556
2557  esac
2558  shift
2559done
2560
2561ac_configure_extra_args=
2562
2563if $ac_cs_silent; then
2564  exec 6>/dev/null
2565  ac_configure_extra_args="$ac_configure_extra_args --silent"
2566fi
2567
2568_ACEOF
2569cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2570if \$ac_cs_recheck; then
2571  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2572  shift
2573  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2574  CONFIG_SHELL='$SHELL'
2575  export CONFIG_SHELL
2576  exec "\$@"
2577fi
2578
2579_ACEOF
2580cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2581exec 5>>config.log
2582{
2583  echo
2584  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2585## Running $as_me. ##
2586_ASBOX
2587  $as_echo "$ac_log"
2588} >&5
2589
2590_ACEOF
2591cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2592_ACEOF
2593
2594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2595
2596# Handling of arguments.
2597for ac_config_target in $ac_config_targets
2598do
2599  case $ac_config_target in
2600    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2601
2602  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2603  esac
2604done
2605
2606
2607# If the user did not use the arguments to specify the items to instantiate,
2608# then the envvar interface is used.  Set only those that are not.
2609# We use the long form for the default assignment because of an extremely
2610# bizarre bug on SunOS 4.1.3.
2611if $ac_need_defaults; then
2612  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2613fi
2614
2615# Have a temporary directory for convenience.  Make it in the build tree
2616# simply because there is no reason against having it here, and in addition,
2617# creating and moving files from /tmp can sometimes cause problems.
2618# Hook for its removal unless debugging.
2619# Note that there is a small window in which the directory will not be cleaned:
2620# after its creation but before its name has been assigned to `$tmp'.
2621$debug ||
2622{
2623  tmp= ac_tmp=
2624  trap 'exit_status=$?
2625  : "${ac_tmp:=$tmp}"
2626  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2627' 0
2628  trap 'as_fn_exit 1' 1 2 13 15
2629}
2630# Create a (secure) tmp directory for tmp files.
2631
2632{
2633  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2634  test -d "$tmp"
2635}  ||
2636{
2637  tmp=./conf$$-$RANDOM
2638  (umask 077 && mkdir "$tmp")
2639} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2640ac_tmp=$tmp
2641
2642# Set up the scripts for CONFIG_FILES section.
2643# No need to generate them if there are no CONFIG_FILES.
2644# This happens for instance with `./config.status config.h'.
2645if test -n "$CONFIG_FILES"; then
2646
2647
2648ac_cr=`echo X | tr X '\015'`
2649# On cygwin, bash can eat \r inside `` if the user requested igncr.
2650# But we know of no other shell where ac_cr would be empty at this
2651# point, so we can use a bashism as a fallback.
2652if test "x$ac_cr" = x; then
2653  eval ac_cr=\$\'\\r\'
2654fi
2655ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2656if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2657  ac_cs_awk_cr='\\r'
2658else
2659  ac_cs_awk_cr=$ac_cr
2660fi
2661
2662echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2663_ACEOF
2664
2665
2666{
2667  echo "cat >conf$$subs.awk <<_ACEOF" &&
2668  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2669  echo "_ACEOF"
2670} >conf$$subs.sh ||
2671  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2672ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2673ac_delim='%!_!# '
2674for ac_last_try in false false false false false :; do
2675  . ./conf$$subs.sh ||
2676    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2677
2678  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2679  if test $ac_delim_n = $ac_delim_num; then
2680    break
2681  elif $ac_last_try; then
2682    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2683  else
2684    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2685  fi
2686done
2687rm -f conf$$subs.sh
2688
2689cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2690cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2691_ACEOF
2692sed -n '
2693h
2694s/^/S["/; s/!.*/"]=/
2695p
2696g
2697s/^[^!]*!//
2698:repl
2699t repl
2700s/'"$ac_delim"'$//
2701t delim
2702:nl
2703h
2704s/\(.\{148\}\)..*/\1/
2705t more1
2706s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2707p
2708n
2709b repl
2710:more1
2711s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2712p
2713g
2714s/.\{148\}//
2715t nl
2716:delim
2717h
2718s/\(.\{148\}\)..*/\1/
2719t more2
2720s/["\\]/\\&/g; s/^/"/; s/$/"/
2721p
2722b
2723:more2
2724s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2725p
2726g
2727s/.\{148\}//
2728t delim
2729' <conf$$subs.awk | sed '
2730/^[^""]/{
2731  N
2732  s/\n//
2733}
2734' >>$CONFIG_STATUS || ac_write_fail=1
2735rm -f conf$$subs.awk
2736cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2737_ACAWK
2738cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2739  for (key in S) S_is_set[key] = 1
2740  FS = ""
2741
2742}
2743{
2744  line = $ 0
2745  nfields = split(line, field, "@")
2746  substed = 0
2747  len = length(field[1])
2748  for (i = 2; i < nfields; i++) {
2749    key = field[i]
2750    keylen = length(key)
2751    if (S_is_set[key]) {
2752      value = S[key]
2753      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2754      len += length(value) + length(field[++i])
2755      substed = 1
2756    } else
2757      len += 1 + keylen
2758  }
2759
2760  print line
2761}
2762
2763_ACAWK
2764_ACEOF
2765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2766if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2767  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2768else
2769  cat
2770fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2771  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2772_ACEOF
2773
2774# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2775# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2776# trailing colons and then remove the whole line if VPATH becomes empty
2777# (actually we leave an empty line to preserve line numbers).
2778if test "x$srcdir" = x.; then
2779  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
2780h
2781s///
2782s/^/:/
2783s/[      ]*$/:/
2784s/:\$(srcdir):/:/g
2785s/:\${srcdir}:/:/g
2786s/:@srcdir@:/:/g
2787s/^:*//
2788s/:*$//
2789x
2790s/\(=[   ]*\).*/\1/
2791G
2792s/\n//
2793s/^[^=]*=[       ]*$//
2794}'
2795fi
2796
2797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2798fi # test -n "$CONFIG_FILES"
2799
2800
2801eval set X "  :F $CONFIG_FILES      "
2802shift
2803for ac_tag
2804do
2805  case $ac_tag in
2806  :[FHLC]) ac_mode=$ac_tag; continue;;
2807  esac
2808  case $ac_mode$ac_tag in
2809  :[FHL]*:*);;
2810  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2811  :[FH]-) ac_tag=-:-;;
2812  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2813  esac
2814  ac_save_IFS=$IFS
2815  IFS=:
2816  set x $ac_tag
2817  IFS=$ac_save_IFS
2818  shift
2819  ac_file=$1
2820  shift
2821
2822  case $ac_mode in
2823  :L) ac_source=$1;;
2824  :[FH])
2825    ac_file_inputs=
2826    for ac_f
2827    do
2828      case $ac_f in
2829      -) ac_f="$ac_tmp/stdin";;
2830      *) # Look for the file first in the build tree, then in the source tree
2831         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2832         # because $ac_f cannot contain `:'.
2833         test -f "$ac_f" ||
2834           case $ac_f in
2835           [\\/$]*) false;;
2836           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2837           esac ||
2838           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2839      esac
2840      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2841      as_fn_append ac_file_inputs " '$ac_f'"
2842    done
2843
2844    # Let's still pretend it is `configure' which instantiates (i.e., don't
2845    # use $as_me), people would be surprised to read:
2846    #    /* config.h.  Generated by config.status.  */
2847    configure_input='Generated from '`
2848          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2849        `' by configure.'
2850    if test x"$ac_file" != x-; then
2851      configure_input="$ac_file.  $configure_input"
2852      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2853$as_echo "$as_me: creating $ac_file" >&6;}
2854    fi
2855    # Neutralize special characters interpreted by sed in replacement strings.
2856    case $configure_input in #(
2857    *\&* | *\|* | *\\* )
2858       ac_sed_conf_input=`$as_echo "$configure_input" |
2859       sed 's/[\\\\&|]/\\\\&/g'`;; #(
2860    *) ac_sed_conf_input=$configure_input;;
2861    esac
2862
2863    case $ac_tag in
2864    *:-:* | *:-) cat >"$ac_tmp/stdin" \
2865      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2866    esac
2867    ;;
2868  esac
2869
2870  ac_dir=`$as_dirname -- "$ac_file" ||
2871$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2872         X"$ac_file" : 'X\(//\)[^/]' \| \
2873         X"$ac_file" : 'X\(//\)$' \| \
2874         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2875$as_echo X"$ac_file" |
2876    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2877            s//\1/
2878            q
2879          }
2880          /^X\(\/\/\)[^/].*/{
2881            s//\1/
2882            q
2883          }
2884          /^X\(\/\/\)$/{
2885            s//\1/
2886            q
2887          }
2888          /^X\(\/\).*/{
2889            s//\1/
2890            q
2891          }
2892          s/.*/./; q'`
2893  as_dir="$ac_dir"; as_fn_mkdir_p
2894  ac_builddir=.
2895
2896case "$ac_dir" in
2897.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2898*)
2899  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2900  # A ".." for each directory in $ac_dir_suffix.
2901  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2902  case $ac_top_builddir_sub in
2903  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2904  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2905  esac ;;
2906esac
2907ac_abs_top_builddir=$ac_pwd
2908ac_abs_builddir=$ac_pwd$ac_dir_suffix
2909# for backward compatibility:
2910ac_top_builddir=$ac_top_build_prefix
2911
2912case $srcdir in
2913  .)  # We are building in place.
2914    ac_srcdir=.
2915    ac_top_srcdir=$ac_top_builddir_sub
2916    ac_abs_top_srcdir=$ac_pwd ;;
2917  [\\/]* | ?:[\\/]* )  # Absolute name.
2918    ac_srcdir=$srcdir$ac_dir_suffix;
2919    ac_top_srcdir=$srcdir
2920    ac_abs_top_srcdir=$srcdir ;;
2921  *) # Relative name.
2922    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2923    ac_top_srcdir=$ac_top_build_prefix$srcdir
2924    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2925esac
2926ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2927
2928
2929  case $ac_mode in
2930  :F)
2931  #
2932  # CONFIG_FILE
2933  #
2934
2935  case $INSTALL in
2936  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2937  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2938  esac
2939  ac_MKDIR_P=$MKDIR_P
2940  case $MKDIR_P in
2941  [\\/$]* | ?:[\\/]* ) ;;
2942  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
2943  esac
2944_ACEOF
2945
2946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2947# If the template does not know about datarootdir, expand it.
2948# FIXME: This hack should be removed a few years after 2.60.
2949ac_datarootdir_hack=; ac_datarootdir_seen=
2950ac_sed_dataroot='
2951/datarootdir/ {
2952  p
2953  q
2954}
2955/@datadir@/p
2956/@docdir@/p
2957/@infodir@/p
2958/@localedir@/p
2959/@mandir@/p'
2960case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2961*datarootdir*) ac_datarootdir_seen=yes;;
2962*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2963  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2964$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2965_ACEOF
2966cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2967  ac_datarootdir_hack='
2968  s&@datadir@&$datadir&g
2969  s&@docdir@&$docdir&g
2970  s&@infodir@&$infodir&g
2971  s&@localedir@&$localedir&g
2972  s&@mandir@&$mandir&g
2973  s&\\\${datarootdir}&$datarootdir&g' ;;
2974esac
2975_ACEOF
2976
2977# Neutralize VPATH when `$srcdir' = `.'.
2978# Shell code in configure.ac might set extrasub.
2979# FIXME: do we really want to maintain this feature?
2980cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2981ac_sed_extra="$ac_vpsub
2982$extrasub
2983_ACEOF
2984cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2985:t
2986/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2987s|@configure_input@|$ac_sed_conf_input|;t t
2988s&@top_builddir@&$ac_top_builddir_sub&;t t
2989s&@top_build_prefix@&$ac_top_build_prefix&;t t
2990s&@srcdir@&$ac_srcdir&;t t
2991s&@abs_srcdir@&$ac_abs_srcdir&;t t
2992s&@top_srcdir@&$ac_top_srcdir&;t t
2993s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2994s&@builddir@&$ac_builddir&;t t
2995s&@abs_builddir@&$ac_abs_builddir&;t t
2996s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2997s&@INSTALL@&$ac_INSTALL&;t t
2998s&@MKDIR_P@&$ac_MKDIR_P&;t t
2999$ac_datarootdir_hack
3000"
3001eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3002  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3003
3004test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3005  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3006  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
3007      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3008  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3009which seems to be undefined.  Please make sure it is defined" >&5
3010$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3011which seems to be undefined.  Please make sure it is defined" >&2;}
3012
3013  rm -f "$ac_tmp/stdin"
3014  case $ac_file in
3015  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3016  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3017  esac \
3018  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3019 ;;
3020
3021
3022
3023  esac
3024
3025done # for ac_tag
3026
3027
3028as_fn_exit 0
3029_ACEOF
3030ac_clean_files=$ac_clean_files_save
3031
3032test $ac_write_fail = 0 ||
3033  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3034
3035
3036# configure is writing to config.log, and then calls config.status.
3037# config.status does its own redirection, appending to config.log.
3038# Unfortunately, on DOS this fails, as config.log is still kept open
3039# by configure, so config.status won't be able to write to it; its
3040# output is simply discarded.  So we exec the FD to /dev/null,
3041# effectively closing config.log, so it can be properly (re)opened and
3042# appended to by config.status.  When coming back to configure, we
3043# need to make the FD available again.
3044if test "$no_create" != yes; then
3045  ac_cs_success=:
3046  ac_config_status_args=
3047  test "$silent" = yes &&
3048    ac_config_status_args="$ac_config_status_args --quiet"
3049  exec 5>/dev/null
3050  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3051  exec 5>>config.log
3052  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3053  # would make configure fail if this is the last instruction.
3054  $ac_cs_success || as_fn_exit 1
3055fi
3056if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3057  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3058$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3059fi
3060
Note: See TracBrowser for help on using the repository browser.