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