root/lang/scheme/gauche/bindings/mecab/trunk/configure @ 115

Revision 84, 78.0 kB (checked in by naoya_t, 16 years ago)

mecab-gauche binding by naoya_t; first import

Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for mecab 1.0.
4#
5# Report bugs to <shiro@acm.org>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""        $as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135         X"$0" : 'X\(//\)$' \| \
136         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139            s//\1/
140            q
141          }
142          /^X\/\(\/\/\)$/{
143            s//\1/
144            q
145          }
146          /^X\/\(\/\).*/{
147            s//\1/
148            q
149          }
150          s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes &&     (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229         /*)
230           for as_base in sh bash ksh sh5; do
231             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232           done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239         # Try only shells that exist, to save several forks.
240         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241                { ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261               as_have_required=yes
262               if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536        case $1 in
537        -*)set "./$1";;
538        esac;
539        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540        ???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='mecab'
576PACKAGE_TARNAME='mecab'
577PACKAGE_VERSION='1.0'
578PACKAGE_STRING='mecab 1.0'
579PACKAGE_BUGREPORT='shiro@acm.org'
580
581ac_subst_vars='SHELL
582PATH_SEPARATOR
583PACKAGE_NAME
584PACKAGE_TARNAME
585PACKAGE_VERSION
586PACKAGE_STRING
587PACKAGE_BUGREPORT
588exec_prefix
589prefix
590program_transform_name
591bindir
592sbindir
593libexecdir
594datarootdir
595datadir
596sysconfdir
597sharedstatedir
598localstatedir
599includedir
600oldincludedir
601docdir
602infodir
603htmldir
604dvidir
605pdfdir
606psdir
607libdir
608localedir
609mandir
610DEFS
611ECHO_C
612ECHO_N
613ECHO_T
614LIBS
615build_alias
616host_alias
617target_alias
618LOCAL_PATHS
619GOSH
620GAUCHE_CONFIG
621GAUCHE_PACKAGE
622GAUCHE_INSTALL
623GAUCHE_CESCONV
624SOEXT
625OBJEXT
626EXEEXT
627GAUCHE_PKGINCDIR
628GAUCHE_PKGLIBDIR
629GAUCHE_PKGARCHDIR
630LIBOBJS
631LTLIBOBJS'
632ac_subst_files=''
633      ac_precious_vars='build_alias
634host_alias
635target_alias'
636
637
638# Initialize some variables set by options.
639ac_init_help=
640ac_init_version=false
641# The variables have the same names as the options, with
642# dashes changed to underlines.
643cache_file=/dev/null
644exec_prefix=NONE
645no_create=
646no_recursion=
647prefix=NONE
648program_prefix=NONE
649program_suffix=NONE
650program_transform_name=s,x,x,
651silent=
652site=
653srcdir=
654verbose=
655x_includes=NONE
656x_libraries=NONE
657
658# Installation directory options.
659# These are left unexpanded so users can "make install exec_prefix=/foo"
660# and all the variables that are supposed to be based on exec_prefix
661# by default will actually change.
662# Use braces instead of parens because sh, perl, etc. also accept them.
663# (The list follows the same order as the GNU Coding Standards.)
664bindir='${exec_prefix}/bin'
665sbindir='${exec_prefix}/sbin'
666libexecdir='${exec_prefix}/libexec'
667datarootdir='${prefix}/share'
668datadir='${datarootdir}'
669sysconfdir='${prefix}/etc'
670sharedstatedir='${prefix}/com'
671localstatedir='${prefix}/var'
672includedir='${prefix}/include'
673oldincludedir='/usr/include'
674docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
675infodir='${datarootdir}/info'
676htmldir='${docdir}'
677dvidir='${docdir}'
678pdfdir='${docdir}'
679psdir='${docdir}'
680libdir='${exec_prefix}/lib'
681localedir='${datarootdir}/locale'
682mandir='${datarootdir}/man'
683
684ac_prev=
685ac_dashdash=
686for ac_option
687do
688  # If the previous option needs an argument, assign it.
689  if test -n "$ac_prev"; then
690    eval $ac_prev=\$ac_option
691    ac_prev=
692    continue
693  fi
694
695  case $ac_option in
696  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
697  *)    ac_optarg=yes ;;
698  esac
699
700  # Accept the important Cygnus configure options, so we can diagnose typos.
701
702  case $ac_dashdash$ac_option in
703  --)
704    ac_dashdash=yes ;;
705
706  -bindir | --bindir | --bindi | --bind | --bin | --bi)
707    ac_prev=bindir ;;
708  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
709    bindir=$ac_optarg ;;
710
711  -build | --build | --buil | --bui | --bu)
712    ac_prev=build_alias ;;
713  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
714    build_alias=$ac_optarg ;;
715
716  -cache-file | --cache-file | --cache-fil | --cache-fi \
717  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
718    ac_prev=cache_file ;;
719  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
720  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
721    cache_file=$ac_optarg ;;
722
723  --config-cache | -C)
724    cache_file=config.cache ;;
725
726  -datadir | --datadir | --datadi | --datad)
727    ac_prev=datadir ;;
728  -datadir=* | --datadir=* | --datadi=* | --datad=*)
729    datadir=$ac_optarg ;;
730
731  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
732  | --dataroo | --dataro | --datar)
733    ac_prev=datarootdir ;;
734  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
735  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
736    datarootdir=$ac_optarg ;;
737
738  -disable-* | --disable-*)
739    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
740    # Reject names that are not valid shell variable names.
741    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
742      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
743   { (exit 1); exit 1; }; }
744    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
745    eval enable_$ac_feature=no ;;
746
747  -docdir | --docdir | --docdi | --doc | --do)
748    ac_prev=docdir ;;
749  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
750    docdir=$ac_optarg ;;
751
752  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
753    ac_prev=dvidir ;;
754  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
755    dvidir=$ac_optarg ;;
756
757  -enable-* | --enable-*)
758    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
759    # Reject names that are not valid shell variable names.
760    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
761      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
762   { (exit 1); exit 1; }; }
763    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
764    eval enable_$ac_feature=\$ac_optarg ;;
765
766  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
767  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
768  | --exec | --exe | --ex)
769    ac_prev=exec_prefix ;;
770  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
771  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
772  | --exec=* | --exe=* | --ex=*)
773    exec_prefix=$ac_optarg ;;
774
775  -gas | --gas | --ga | --g)
776    # Obsolete; use --with-gas.
777    with_gas=yes ;;
778
779  -help | --help | --hel | --he | -h)
780    ac_init_help=long ;;
781  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
782    ac_init_help=recursive ;;
783  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
784    ac_init_help=short ;;
785
786  -host | --host | --hos | --ho)
787    ac_prev=host_alias ;;
788  -host=* | --host=* | --hos=* | --ho=*)
789    host_alias=$ac_optarg ;;
790
791  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
792    ac_prev=htmldir ;;
793  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
794  | --ht=*)
795    htmldir=$ac_optarg ;;
796
797  -includedir | --includedir | --includedi | --included | --include \
798  | --includ | --inclu | --incl | --inc)
799    ac_prev=includedir ;;
800  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
801  | --includ=* | --inclu=* | --incl=* | --inc=*)
802    includedir=$ac_optarg ;;
803
804  -infodir | --infodir | --infodi | --infod | --info | --inf)
805    ac_prev=infodir ;;
806  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
807    infodir=$ac_optarg ;;
808
809  -libdir | --libdir | --libdi | --libd)
810    ac_prev=libdir ;;
811  -libdir=* | --libdir=* | --libdi=* | --libd=*)
812    libdir=$ac_optarg ;;
813
814  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
815  | --libexe | --libex | --libe)
816    ac_prev=libexecdir ;;
817  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
818  | --libexe=* | --libex=* | --libe=*)
819    libexecdir=$ac_optarg ;;
820
821  -localedir | --localedir | --localedi | --localed | --locale)
822    ac_prev=localedir ;;
823  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
824    localedir=$ac_optarg ;;
825
826  -localstatedir | --localstatedir | --localstatedi | --localstated \
827  | --localstate | --localstat | --localsta | --localst | --locals)
828    ac_prev=localstatedir ;;
829  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
830  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
831    localstatedir=$ac_optarg ;;
832
833  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
834    ac_prev=mandir ;;
835  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
836    mandir=$ac_optarg ;;
837
838  -nfp | --nfp | --nf)
839    # Obsolete; use --without-fp.
840    with_fp=no ;;
841
842  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
843  | --no-cr | --no-c | -n)
844    no_create=yes ;;
845
846  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
847  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
848    no_recursion=yes ;;
849
850  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
851  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
852  | --oldin | --oldi | --old | --ol | --o)
853    ac_prev=oldincludedir ;;
854  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
855  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
856  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
857    oldincludedir=$ac_optarg ;;
858
859  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
860    ac_prev=prefix ;;
861  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
862    prefix=$ac_optarg ;;
863
864  -program-prefix | --program-prefix | --program-prefi | --program-pref \
865  | --program-pre | --program-pr | --program-p)
866    ac_prev=program_prefix ;;
867  -program-prefix=* | --program-prefix=* | --program-prefi=* \
868  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
869    program_prefix=$ac_optarg ;;
870
871  -program-suffix | --program-suffix | --program-suffi | --program-suff \
872  | --program-suf | --program-su | --program-s)
873    ac_prev=program_suffix ;;
874  -program-suffix=* | --program-suffix=* | --program-suffi=* \
875  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
876    program_suffix=$ac_optarg ;;
877
878  -program-transform-name | --program-transform-name \
879  | --program-transform-nam | --program-transform-na \
880  | --program-transform-n | --program-transform- \
881  | --program-transform | --program-transfor \
882  | --program-transfo | --program-transf \
883  | --program-trans | --program-tran \
884  | --progr-tra | --program-tr | --program-t)
885    ac_prev=program_transform_name ;;
886  -program-transform-name=* | --program-transform-name=* \
887  | --program-transform-nam=* | --program-transform-na=* \
888  | --program-transform-n=* | --program-transform-=* \
889  | --program-transform=* | --program-transfor=* \
890  | --program-transfo=* | --program-transf=* \
891  | --program-trans=* | --program-tran=* \
892  | --progr-tra=* | --program-tr=* | --program-t=*)
893    program_transform_name=$ac_optarg ;;
894
895  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
896    ac_prev=pdfdir ;;
897  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
898    pdfdir=$ac_optarg ;;
899
900  -psdir | --psdir | --psdi | --psd | --ps)
901    ac_prev=psdir ;;
902  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
903    psdir=$ac_optarg ;;
904
905  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
906  | -silent | --silent | --silen | --sile | --sil)
907    silent=yes ;;
908
909  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
910    ac_prev=sbindir ;;
911  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
912  | --sbi=* | --sb=*)
913    sbindir=$ac_optarg ;;
914
915  -sharedstatedir | --sharedstatedir | --sharedstatedi \
916  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
917  | --sharedst | --shareds | --shared | --share | --shar \
918  | --sha | --sh)
919    ac_prev=sharedstatedir ;;
920  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
921  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
922  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
923  | --sha=* | --sh=*)
924    sharedstatedir=$ac_optarg ;;
925
926  -site | --site | --sit)
927    ac_prev=site ;;
928  -site=* | --site=* | --sit=*)
929    site=$ac_optarg ;;
930
931  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
932    ac_prev=srcdir ;;
933  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
934    srcdir=$ac_optarg ;;
935
936  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
937  | --syscon | --sysco | --sysc | --sys | --sy)
938    ac_prev=sysconfdir ;;
939  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
940  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
941    sysconfdir=$ac_optarg ;;
942
943  -target | --target | --targe | --targ | --tar | --ta | --t)
944    ac_prev=target_alias ;;
945  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
946    target_alias=$ac_optarg ;;
947
948  -v | -verbose | --verbose | --verbos | --verbo | --verb)
949    verbose=yes ;;
950
951  -version | --version | --versio | --versi | --vers | -V)
952    ac_init_version=: ;;
953
954  -with-* | --with-*)
955    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
956    # Reject names that are not valid shell variable names.
957    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
958      { echo "$as_me: error: invalid package name: $ac_package" >&2
959   { (exit 1); exit 1; }; }
960    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
961    eval with_$ac_package=\$ac_optarg ;;
962
963  -without-* | --without-*)
964    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
965    # Reject names that are not valid shell variable names.
966    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
967      { echo "$as_me: error: invalid package name: $ac_package" >&2
968   { (exit 1); exit 1; }; }
969    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
970    eval with_$ac_package=no ;;
971
972  --x)
973    # Obsolete; use --with-x.
974    with_x=yes ;;
975
976  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
977  | --x-incl | --x-inc | --x-in | --x-i)
978    ac_prev=x_includes ;;
979  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
980  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
981    x_includes=$ac_optarg ;;
982
983  -x-libraries | --x-libraries | --x-librarie | --x-librari \
984  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
985    ac_prev=x_libraries ;;
986  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
987  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
988    x_libraries=$ac_optarg ;;
989
990  -*) { echo "$as_me: error: unrecognized option: $ac_option
991Try \`$0 --help' for more information." >&2
992   { (exit 1); exit 1; }; }
993    ;;
994
995  *=*)
996    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
997    # Reject names that are not valid shell variable names.
998    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
999      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1000   { (exit 1); exit 1; }; }
1001    eval $ac_envvar=\$ac_optarg
1002    export $ac_envvar ;;
1003
1004  *)
1005    # FIXME: should be removed in autoconf 3.0.
1006    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1007    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1009    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1010    ;;
1011
1012  esac
1013done
1014
1015if test -n "$ac_prev"; then
1016  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1017  { echo "$as_me: error: missing argument to $ac_option" >&2
1018   { (exit 1); exit 1; }; }
1019fi
1020
1021# Be sure to have absolute directory names.
1022for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1023                datadir sysconfdir sharedstatedir localstatedir includedir \
1024                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1025                libdir localedir mandir
1026do
1027  eval ac_val=\$$ac_var
1028  case $ac_val in
1029    [\\/$]* | ?:[\\/]* )  continue;;
1030    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1031  esac
1032  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1033   { (exit 1); exit 1; }; }
1034done
1035
1036# There might be people who depend on the old broken behavior: `$host'
1037# used to hold the argument of --host etc.
1038# FIXME: To remove some day.
1039build=$build_alias
1040host=$host_alias
1041target=$target_alias
1042
1043# FIXME: To remove some day.
1044if test "x$host_alias" != x; then
1045  if test "x$build_alias" = x; then
1046    cross_compiling=maybe
1047    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1048    If a cross compiler is detected then cross compile mode will be used." >&2
1049  elif test "x$build_alias" != "x$host_alias"; then
1050    cross_compiling=yes
1051  fi
1052fi
1053
1054ac_tool_prefix=
1055test -n "$host_alias" && ac_tool_prefix=$host_alias-
1056
1057test "$silent" = yes && exec 6>/dev/null
1058
1059
1060ac_pwd=`pwd` && test -n "$ac_pwd" &&
1061ac_ls_di=`ls -di .` &&
1062ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1063  { echo "$as_me: error: Working directory cannot be determined" >&2
1064   { (exit 1); exit 1; }; }
1065test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1066  { echo "$as_me: error: pwd does not report name of working directory" >&2
1067   { (exit 1); exit 1; }; }
1068
1069
1070# Find the source files, if location was not specified.
1071if test -z "$srcdir"; then
1072  ac_srcdir_defaulted=yes
1073  # Try the directory containing this script, then the parent directory.
1074  ac_confdir=`$as_dirname -- "$0" ||
1075$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1076         X"$0" : 'X\(//\)[^/]' \| \
1077         X"$0" : 'X\(//\)$' \| \
1078         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1079echo X"$0" |
1080    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1081            s//\1/
1082            q
1083          }
1084          /^X\(\/\/\)[^/].*/{
1085            s//\1/
1086            q
1087          }
1088          /^X\(\/\/\)$/{
1089            s//\1/
1090            q
1091          }
1092          /^X\(\/\).*/{
1093            s//\1/
1094            q
1095          }
1096          s/.*/./; q'`
1097  srcdir=$ac_confdir
1098  if test ! -r "$srcdir/$ac_unique_file"; then
1099    srcdir=..
1100  fi
1101else
1102  ac_srcdir_defaulted=no
1103fi
1104if test ! -r "$srcdir/$ac_unique_file"; then
1105  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1106  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1107   { (exit 1); exit 1; }; }
1108fi
1109ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1110ac_abs_confdir=`(
1111        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1112   { (exit 1); exit 1; }; }
1113        pwd)`
1114# When building in place, set srcdir=.
1115if test "$ac_abs_confdir" = "$ac_pwd"; then
1116  srcdir=.
1117fi
1118# Remove unnecessary trailing slashes from srcdir.
1119# Double slashes in file names in object file debugging info
1120# mess up M-x gdb in Emacs.
1121case $srcdir in
1122*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1123esac
1124for ac_var in $ac_precious_vars; do
1125  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1126  eval ac_env_${ac_var}_value=\$${ac_var}
1127  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1128  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1129done
1130
1131#
1132# Report the --help message.
1133#
1134if test "$ac_init_help" = "long"; then
1135  # Omit some internal or obsolete options to make the list less imposing.
1136  # This message is too long to be a string in the A/UX 3.1 sh.
1137  cat <<_ACEOF
1138\`configure' configures mecab 1.0 to adapt to many kinds of systems.
1139
1140Usage: $0 [OPTION]... [VAR=VALUE]...
1141
1142To assign environment variables (e.g., CC, CFLAGS...), specify them as
1143VAR=VALUE.  See below for descriptions of some of the useful variables.
1144
1145Defaults for the options are specified in brackets.
1146
1147Configuration:
1148  -h, --help              display this help and exit
1149      --help=short        display options specific to this package
1150      --help=recursive    display the short help of all the included packages
1151  -V, --version           display version information and exit
1152  -q, --quiet, --silent   do not print \`checking...' messages
1153      --cache-file=FILE   cache test results in FILE [disabled]
1154  -C, --config-cache      alias for \`--cache-file=config.cache'
1155  -n, --no-create         do not create output files
1156      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1157
1158Installation directories:
1159  --prefix=PREFIX         install architecture-independent files in PREFIX
1160                          [$ac_default_prefix]
1161  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1162                          [PREFIX]
1163
1164By default, \`make install' will install all the files in
1165\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1166an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1167for instance \`--prefix=\$HOME'.
1168
1169For better control, use the options below.
1170
1171Fine tuning of the installation directories:
1172  --bindir=DIR           user executables [EPREFIX/bin]
1173  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1174  --libexecdir=DIR       program executables [EPREFIX/libexec]
1175  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1176  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1177  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1178  --libdir=DIR           object code libraries [EPREFIX/lib]
1179  --includedir=DIR       C header files [PREFIX/include]
1180  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1181  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1182  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1183  --infodir=DIR          info documentation [DATAROOTDIR/info]
1184  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1185  --mandir=DIR           man documentation [DATAROOTDIR/man]
1186  --docdir=DIR           documentation root [DATAROOTDIR/doc/mecab]
1187  --htmldir=DIR          html documentation [DOCDIR]
1188  --dvidir=DIR           dvi documentation [DOCDIR]
1189  --pdfdir=DIR           pdf documentation [DOCDIR]
1190  --psdir=DIR            ps documentation [DOCDIR]
1191_ACEOF
1192
1193  cat <<\_ACEOF
1194_ACEOF
1195fi
1196
1197if test -n "$ac_init_help"; then
1198  case $ac_init_help in
1199     short | recursive ) echo "Configuration of mecab 1.0:";;
1200   esac
1201  cat <<\_ACEOF
1202
1203Optional Packages:
1204  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1205  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1206  --with-local=PATH:PATH...
1207                          For each PATH, add PATH/include to the include
1208                          search paths and PATH/lib to the library search
1209                          paths. Useful if you have some libraries installed
1210                          in non-standard places.
1211
1212Report bugs to <shiro@acm.org>.
1213_ACEOF
1214ac_status=$?
1215fi
1216
1217if test "$ac_init_help" = "recursive"; then
1218  # If there are subdirs, report their specific --help.
1219  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1220    test -d "$ac_dir" || continue
1221    ac_builddir=.
1222
1223case "$ac_dir" in
1224.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1225*)
1226  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1227  # A ".." for each directory in $ac_dir_suffix.
1228  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1229  case $ac_top_builddir_sub in
1230  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1231  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1232  esac ;;
1233esac
1234ac_abs_top_builddir=$ac_pwd
1235ac_abs_builddir=$ac_pwd$ac_dir_suffix
1236# for backward compatibility:
1237ac_top_builddir=$ac_top_build_prefix
1238
1239case $srcdir in
1240  .)  # We are building in place.
1241    ac_srcdir=.
1242    ac_top_srcdir=$ac_top_builddir_sub
1243    ac_abs_top_srcdir=$ac_pwd ;;
1244  [\\/]* | ?:[\\/]* )  # Absolute name.
1245    ac_srcdir=$srcdir$ac_dir_suffix;
1246    ac_top_srcdir=$srcdir
1247    ac_abs_top_srcdir=$srcdir ;;
1248  *) # Relative name.
1249    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1250    ac_top_srcdir=$ac_top_build_prefix$srcdir
1251    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1252esac
1253ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1254
1255    cd "$ac_dir" || { ac_status=$?; continue; }
1256    # Check for guested configure.
1257    if test -f "$ac_srcdir/configure.gnu"; then
1258      echo &&
1259      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1260    elif test -f "$ac_srcdir/configure"; then
1261      echo &&
1262      $SHELL "$ac_srcdir/configure" --help=recursive
1263    else
1264      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1265    fi || ac_status=$?
1266    cd "$ac_pwd" || { ac_status=$?; break; }
1267  done
1268fi
1269
1270test -n "$ac_init_help" && exit $ac_status
1271if $ac_init_version; then
1272  cat <<\_ACEOF
1273mecab configure 1.0
1274generated by GNU Autoconf 2.61
1275
1276Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12772002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1278This configure script is free software; the Free Software Foundation
1279gives unlimited permission to copy, distribute and modify it.
1280_ACEOF
1281  exit
1282fi
1283cat >config.log <<_ACEOF
1284This file contains any messages produced by compilers while
1285running configure, to aid debugging if configure makes a mistake.
1286
1287It was created by mecab $as_me 1.0, which was
1288generated by GNU Autoconf 2.61.  Invocation command line was
1289
1290  $ $0 $@
1291
1292_ACEOF
1293exec 5>>config.log
1294{
1295cat <<_ASUNAME
1296## --------- ##
1297## Platform. ##
1298## --------- ##
1299
1300hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1301uname -m = `(uname -m) 2>/dev/null || echo unknown`
1302uname -r = `(uname -r) 2>/dev/null || echo unknown`
1303uname -s = `(uname -s) 2>/dev/null || echo unknown`
1304uname -v = `(uname -v) 2>/dev/null || echo unknown`
1305
1306/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1307/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1308
1309/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1310/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1311/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1312/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1313/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1314/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1315/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1316
1317_ASUNAME
1318
1319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1320for as_dir in $PATH
1321do
1322  IFS=$as_save_IFS
1323  test -z "$as_dir" && as_dir=.
1324  echo "PATH: $as_dir"
1325done
1326IFS=$as_save_IFS
1327
1328} >&5
1329
1330cat >&5 <<_ACEOF
1331
1332
1333## ----------- ##
1334## Core tests. ##
1335## ----------- ##
1336
1337_ACEOF
1338
1339
1340# Keep a trace of the command line.
1341# Strip out --no-create and --no-recursion so they do not pile up.
1342# Strip out --silent because we don't want to record it for future runs.
1343# Also quote any args containing shell meta-characters.
1344# Make two passes to allow for proper duplicate-argument suppression.
1345ac_configure_args=
1346ac_configure_args0=
1347ac_configure_args1=
1348ac_must_keep_next=false
1349for ac_pass in 1 2
1350do
1351  for ac_arg
1352  do
1353    case $ac_arg in
1354    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1355    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1356    | -silent | --silent | --silen | --sile | --sil)
1357      continue ;;
1358    *\'*)
1359      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1360    esac
1361    case $ac_pass in
1362    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1363    2)
1364      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1365      if test $ac_must_keep_next = true; then
1366        ac_must_keep_next=false # Got value, back to normal.
1367      else
1368        case $ac_arg in
1369          *=* | --config-cache | -C | -disable-* | --disable-* \
1370          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1371          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1372          | -with-* | --with-* | -without-* | --without-* | --x)
1373            case "$ac_configure_args0 " in
1374              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1375            esac
1376            ;;
1377          -* ) ac_must_keep_next=true ;;
1378        esac
1379      fi
1380      ac_configure_args="$ac_configure_args '$ac_arg'"
1381      ;;
1382    esac
1383  done
1384done
1385$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1386$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1387
1388# When interrupted or exit'd, cleanup temporary files, and complete
1389# config.log.  We remove comments because anyway the quotes in there
1390# would cause problems or look ugly.
1391# WARNING: Use '\'' to represent an apostrophe within the trap.
1392# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1393trap 'exit_status=$?
1394  # Save into config.log some information that might help in debugging.
1395  {
1396    echo
1397
1398    cat <<\_ASBOX
1399## ---------------- ##
1400## Cache variables. ##
1401## ---------------- ##
1402_ASBOX
1403    echo
1404    # The following way of writing the cache mishandles newlines in values,
1405(
1406  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1407    eval ac_val=\$$ac_var
1408    case $ac_val in #(
1409    *${as_nl}*)
1410      case $ac_var in #(
1411      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1412echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1413      esac
1414      case $ac_var in #(
1415      _ | IFS | as_nl) ;; #(
1416      *) $as_unset $ac_var ;;
1417      esac ;;
1418    esac
1419  done
1420  (set) 2>&1 |
1421    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1422    *${as_nl}ac_space=\ *)
1423      sed -n \
1424        "s/'\''/'\''\\\\'\'''\''/g;
1425          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1426      ;; #(
1427    *)
1428      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1429      ;;
1430    esac |
1431    sort
1432)
1433    echo
1434
1435    cat <<\_ASBOX
1436## ----------------- ##
1437## Output variables. ##
1438## ----------------- ##
1439_ASBOX
1440    echo
1441    for ac_var in $ac_subst_vars
1442    do
1443      eval ac_val=\$$ac_var
1444      case $ac_val in
1445      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1446      esac
1447      echo "$ac_var='\''$ac_val'\''"
1448    done | sort
1449    echo
1450
1451    if test -n "$ac_subst_files"; then
1452      cat <<\_ASBOX
1453## ------------------- ##
1454## File substitutions. ##
1455## ------------------- ##
1456_ASBOX
1457      echo
1458      for ac_var in $ac_subst_files
1459      do
1460        eval ac_val=\$$ac_var
1461        case $ac_val in
1462        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1463        esac
1464        echo "$ac_var='\''$ac_val'\''"
1465      done | sort
1466      echo
1467    fi
1468
1469    if test -s confdefs.h; then
1470      cat <<\_ASBOX
1471## ----------- ##
1472## confdefs.h. ##
1473## ----------- ##
1474_ASBOX
1475      echo
1476      cat confdefs.h
1477      echo
1478    fi
1479    test "$ac_signal" != 0 &&
1480      echo "$as_me: caught signal $ac_signal"
1481    echo "$as_me: exit $exit_status"
1482  } >&5
1483  rm -f core *.core core.conftest.* &&
1484    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1485    exit $exit_status
1486' 0
1487for ac_signal in 1 2 13 15; do
1488  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1489done
1490ac_signal=0
1491
1492# confdefs.h avoids OS command line length limits that DEFS can exceed.
1493rm -f -r conftest* confdefs.h
1494
1495# Predefined preprocessor variables.
1496
1497cat >>confdefs.h <<_ACEOF
1498#define PACKAGE_NAME "$PACKAGE_NAME"
1499_ACEOF
1500
1501
1502cat >>confdefs.h <<_ACEOF
1503#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1504_ACEOF
1505
1506
1507cat >>confdefs.h <<_ACEOF
1508#define PACKAGE_VERSION "$PACKAGE_VERSION"
1509_ACEOF
1510
1511
1512cat >>confdefs.h <<_ACEOF
1513#define PACKAGE_STRING "$PACKAGE_STRING"
1514_ACEOF
1515
1516
1517cat >>confdefs.h <<_ACEOF
1518#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1519_ACEOF
1520
1521
1522# Let the site file select an alternate cache file if it wants to.
1523# Prefer explicitly selected file to automatically selected ones.
1524if test -n "$CONFIG_SITE"; then
1525  set x "$CONFIG_SITE"
1526elif test "x$prefix" != xNONE; then
1527  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1528else
1529  set x "$ac_default_prefix/share/config.site" \
1530        "$ac_default_prefix/etc/config.site"
1531fi
1532shift
1533for ac_site_file
1534do
1535  if test -r "$ac_site_file"; then
1536    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1537echo "$as_me: loading site script $ac_site_file" >&6;}
1538    sed 's/^/| /' "$ac_site_file" >&5
1539    . "$ac_site_file"
1540  fi
1541done
1542
1543if test -r "$cache_file"; then
1544  # Some versions of bash will fail to source /dev/null (special
1545  # files actually), so we avoid doing that.
1546  if test -f "$cache_file"; then
1547    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1548echo "$as_me: loading cache $cache_file" >&6;}
1549    case $cache_file in
1550      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1551      *)                      . "./$cache_file";;
1552    esac
1553  fi
1554else
1555  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1556echo "$as_me: creating cache $cache_file" >&6;}
1557  >$cache_file
1558fi
1559
1560# Check that the precious variables saved in the cache have kept the same
1561# value.
1562ac_cache_corrupted=false
1563for ac_var in $ac_precious_vars; do
1564  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1565  eval ac_new_set=\$ac_env_${ac_var}_set
1566  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1567  eval ac_new_val=\$ac_env_${ac_var}_value
1568  case $ac_old_set,$ac_new_set in
1569    set,)
1570      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1571echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1572      ac_cache_corrupted=: ;;
1573    ,set)
1574      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1575echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1576      ac_cache_corrupted=: ;;
1577    ,);;
1578    *)
1579      if test "x$ac_old_val" != "x$ac_new_val"; then
1580        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1581echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1582        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1583echo "$as_me:   former value:  $ac_old_val" >&2;}
1584        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1585echo "$as_me:   current value: $ac_new_val" >&2;}
1586        ac_cache_corrupted=:
1587      fi;;
1588  esac
1589  # Pass precious variables to config.status.
1590  if test "$ac_new_set" = set; then
1591    case $ac_new_val in
1592    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1593    *) ac_arg=$ac_var=$ac_new_val ;;
1594    esac
1595    case " $ac_configure_args " in
1596      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1597      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1598    esac
1599  fi
1600done
1601if $ac_cache_corrupted; then
1602  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1603echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1604  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1605echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1606   { (exit 1); exit 1; }; }
1607fi
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633ac_ext=c
1634ac_cpp='$CPP $CPPFLAGS'
1635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1637ac_compiler_gnu=$ac_cv_c_compiler_gnu
1638
1639
1640
1641
1642# Check whether --with-local was given.
1643if test "${with_local+set}" = set; then
1644  withval=$with_local;
1645    case $with_local in
1646      yes|no|"") ;;  #no effect
1647      *) LOCAL_PATHS=$with_local ;;
1648    esac
1649
1650fi
1651
1652
1653
1654# Extract the first word of "gosh", so it can be a program name with args.
1655set dummy gosh; ac_word=$2
1656{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1657echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1658if test "${ac_cv_path_GOSH+set}" = set; then
1659  echo $ECHO_N "(cached) $ECHO_C" >&6
1660else
1661  case $GOSH in
1662  [\\/]* | ?:[\\/]*)
1663  ac_cv_path_GOSH="$GOSH" # Let the user override the test with a path.
1664  ;;
1665  *)
1666  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667for as_dir in $PATH
1668do
1669  IFS=$as_save_IFS
1670  test -z "$as_dir" && as_dir=.
1671  for ac_exec_ext in '' $ac_executable_extensions; do
1672  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1673    ac_cv_path_GOSH="$as_dir/$ac_word$ac_exec_ext"
1674    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675    break 2
1676  fi
1677done
1678done
1679IFS=$as_save_IFS
1680
1681  ;;
1682esac
1683fi
1684GOSH=$ac_cv_path_GOSH
1685if test -n "$GOSH"; then
1686  { echo "$as_me:$LINENO: result: $GOSH" >&5
1687echo "${ECHO_T}$GOSH" >&6; }
1688else
1689  { echo "$as_me:$LINENO: result: no" >&5
1690echo "${ECHO_T}no" >&6; }
1691fi
1692
1693
1694# Extract the first word of "gauche-config", so it can be a program name with args.
1695set dummy gauche-config; ac_word=$2
1696{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1697echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1698if test "${ac_cv_path_GAUCHE_CONFIG+set}" = set; then
1699  echo $ECHO_N "(cached) $ECHO_C" >&6
1700else
1701  case $GAUCHE_CONFIG in
1702  [\\/]* | ?:[\\/]*)
1703  ac_cv_path_GAUCHE_CONFIG="$GAUCHE_CONFIG" # Let the user override the test with a path.
1704  ;;
1705  *)
1706  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707for as_dir in $PATH
1708do
1709  IFS=$as_save_IFS
1710  test -z "$as_dir" && as_dir=.
1711  for ac_exec_ext in '' $ac_executable_extensions; do
1712  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1713    ac_cv_path_GAUCHE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1714    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715    break 2
1716  fi
1717done
1718done
1719IFS=$as_save_IFS
1720
1721  ;;
1722esac
1723fi
1724GAUCHE_CONFIG=$ac_cv_path_GAUCHE_CONFIG
1725if test -n "$GAUCHE_CONFIG"; then
1726  { echo "$as_me:$LINENO: result: $GAUCHE_CONFIG" >&5
1727echo "${ECHO_T}$GAUCHE_CONFIG" >&6; }
1728else
1729  { echo "$as_me:$LINENO: result: no" >&5
1730echo "${ECHO_T}no" >&6; }
1731fi
1732
1733
1734# Extract the first word of "gauche-package", so it can be a program name with args.
1735set dummy gauche-package; ac_word=$2
1736{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1737echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1738if test "${ac_cv_path_GAUCHE_PACKAGE+set}" = set; then
1739  echo $ECHO_N "(cached) $ECHO_C" >&6
1740else
1741  case $GAUCHE_PACKAGE in
1742  [\\/]* | ?:[\\/]*)
1743  ac_cv_path_GAUCHE_PACKAGE="$GAUCHE_PACKAGE" # Let the user override the test with a path.
1744  ;;
1745  *)
1746  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747for as_dir in $PATH
1748do
1749  IFS=$as_save_IFS
1750  test -z "$as_dir" && as_dir=.
1751  for ac_exec_ext in '' $ac_executable_extensions; do
1752  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1753    ac_cv_path_GAUCHE_PACKAGE="$as_dir/$ac_word$ac_exec_ext"
1754    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755    break 2
1756  fi
1757done
1758done
1759IFS=$as_save_IFS
1760
1761  ;;
1762esac
1763fi
1764GAUCHE_PACKAGE=$ac_cv_path_GAUCHE_PACKAGE
1765if test -n "$GAUCHE_PACKAGE"; then
1766  { echo "$as_me:$LINENO: result: $GAUCHE_PACKAGE" >&5
1767echo "${ECHO_T}$GAUCHE_PACKAGE" >&6; }
1768else
1769  { echo "$as_me:$LINENO: result: no" >&5
1770echo "${ECHO_T}no" >&6; }
1771fi
1772
1773
1774# Extract the first word of "gauche-install", so it can be a program name with args.
1775set dummy gauche-install; ac_word=$2
1776{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1777echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1778if test "${ac_cv_path_GAUCHE_INSTALL+set}" = set; then
1779  echo $ECHO_N "(cached) $ECHO_C" >&6
1780else
1781  case $GAUCHE_INSTALL in
1782  [\\/]* | ?:[\\/]*)
1783  ac_cv_path_GAUCHE_INSTALL="$GAUCHE_INSTALL" # Let the user override the test with a path.
1784  ;;
1785  *)
1786  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787for as_dir in $PATH
1788do
1789  IFS=$as_save_IFS
1790  test -z "$as_dir" && as_dir=.
1791  for ac_exec_ext in '' $ac_executable_extensions; do
1792  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1793    ac_cv_path_GAUCHE_INSTALL="$as_dir/$ac_word$ac_exec_ext"
1794    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795    break 2
1796  fi
1797done
1798done
1799IFS=$as_save_IFS
1800
1801  ;;
1802esac
1803fi
1804GAUCHE_INSTALL=$ac_cv_path_GAUCHE_INSTALL
1805if test -n "$GAUCHE_INSTALL"; then
1806  { echo "$as_me:$LINENO: result: $GAUCHE_INSTALL" >&5
1807echo "${ECHO_T}$GAUCHE_INSTALL" >&6; }
1808else
1809  { echo "$as_me:$LINENO: result: no" >&5
1810echo "${ECHO_T}no" >&6; }
1811fi
1812
1813
1814# Extract the first word of "gauche-cesconv", so it can be a program name with args.
1815set dummy gauche-cesconv; ac_word=$2
1816{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1817echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1818if test "${ac_cv_path_GAUCHE_CESCONV+set}" = set; then
1819  echo $ECHO_N "(cached) $ECHO_C" >&6
1820else
1821  case $GAUCHE_CESCONV in
1822  [\\/]* | ?:[\\/]*)
1823  ac_cv_path_GAUCHE_CESCONV="$GAUCHE_CESCONV" # Let the user override the test with a path.
1824  ;;
1825  *)
1826  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1827for as_dir in $PATH
1828do
1829  IFS=$as_save_IFS
1830  test -z "$as_dir" && as_dir=.
1831  for ac_exec_ext in '' $ac_executable_extensions; do
1832  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1833    ac_cv_path_GAUCHE_CESCONV="$as_dir/$ac_word$ac_exec_ext"
1834    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835    break 2
1836  fi
1837done
1838done
1839IFS=$as_save_IFS
1840
1841  ;;
1842esac
1843fi
1844GAUCHE_CESCONV=$ac_cv_path_GAUCHE_CESCONV
1845if test -n "$GAUCHE_CESCONV"; then
1846  { echo "$as_me:$LINENO: result: $GAUCHE_CESCONV" >&5
1847echo "${ECHO_T}$GAUCHE_CESCONV" >&6; }
1848else
1849  { echo "$as_me:$LINENO: result: no" >&5
1850echo "${ECHO_T}no" >&6; }
1851fi
1852
1853
1854
1855SOEXT=`$GAUCHE_CONFIG --so-suffix`
1856OBJEXT=`$GAUCHE_CONFIG --object-suffix`
1857EXEEXT=`$GAUCHE_CONFIG --executable-suffix`
1858
1859
1860
1861
1862ac_default_prefix=`$GAUCHE_CONFIG --prefix`
1863
1864GAUCHE_PKGINCDIR=`$GAUCHE_CONFIG --pkgincdir`
1865GAUCHE_PKGLIBDIR=`$GAUCHE_CONFIG --pkglibdir`
1866GAUCHE_PKGARCHDIR=`$GAUCHE_CONFIG --pkgarchdir`
1867
1868
1869
1870
1871
1872
1873
1874GAUCHE_PACKAGE_CONFIGURE_ARGS="`echo ""$ac_configure_args"" | sed 's/\\""\`\$/\\\&/g'`"
1875{ echo "$as_me:$LINENO: creating ${PACKAGE_NAME}.gpd" >&5
1876echo "$as_me: creating ${PACKAGE_NAME}.gpd" >&6;}
1877$GAUCHE_PACKAGE make-gpd "$PACKAGE_NAME" \
1878  -version "$PACKAGE_VERSION" \
1879  -configure "./configure $GAUCHE_PACKAGE_CONFIGURE_ARGS"
1880
1881echo $PACKAGE_VERSION > VERSION
1882ac_config_files="$ac_config_files Makefile"
1883
1884cat >confcache <<\_ACEOF
1885# This file is a shell script that caches the results of configure
1886# tests run on this system so they can be shared between configure
1887# scripts and configure runs, see configure's option --config-cache.
1888# It is not useful on other systems.  If it contains results you don't
1889# want to keep, you may remove or edit it.
1890#
1891# config.status only pays attention to the cache file if you give it
1892# the --recheck option to rerun configure.
1893#
1894# `ac_cv_env_foo' variables (set or unset) will be overridden when
1895# loading this file, other *unset* `ac_cv_foo' will be assigned the
1896# following values.
1897
1898_ACEOF
1899
1900# The following way of writing the cache mishandles newlines in values,
1901# but we know of no workaround that is simple, portable, and efficient.
1902# So, we kill variables containing newlines.
1903# Ultrix sh set writes to stderr and can't be redirected directly,
1904# and sets the high bit in the cache file unless we assign to the vars.
1905(
1906  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1907    eval ac_val=\$$ac_var
1908    case $ac_val in #(
1909    *${as_nl}*)
1910      case $ac_var in #(
1911      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1912echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1913      esac
1914      case $ac_var in #(
1915      _ | IFS | as_nl) ;; #(
1916      *) $as_unset $ac_var ;;
1917      esac ;;
1918    esac
1919  done
1920
1921  (set) 2>&1 |
1922    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1923    *${as_nl}ac_space=\ *)
1924      # `set' does not quote correctly, so add quotes (double-quote
1925      # substitution turns \\\\ into \\, and sed turns \\ into \).
1926      sed -n \
1927        "s/'/'\\\\''/g;
1928          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1929      ;; #(
1930    *)
1931      # `set' quotes correctly as required by POSIX, so do not add quotes.
1932      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1933      ;;
1934    esac |
1935    sort
1936) |
1937  sed '
1938     /^ac_cv_env_/b end
1939     t clear
1940     :clear
1941     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1942     t end
1943     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1944     :end' >>confcache
1945if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1946  if test -w "$cache_file"; then
1947    test "x$cache_file" != "x/dev/null" &&
1948      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1949echo "$as_me: updating cache $cache_file" >&6;}
1950    cat confcache >$cache_file
1951  else
1952    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1953echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1954  fi
1955fi
1956rm -f confcache
1957
1958test "x$prefix" = xNONE && prefix=$ac_default_prefix
1959# Let make expand exec_prefix.
1960test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1961
1962# Transform confdefs.h into DEFS.
1963# Protect against shell expansion while executing Makefile rules.
1964# Protect against Makefile macro expansion.
1965#
1966# If the first sed substitution is executed (which looks for macros that
1967# take arguments), then branch to the quote section.  Otherwise,
1968# look for a macro that doesn't take arguments.
1969ac_script='
1970t clear
1971:clear
1972s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1973t quote
1974s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1975t quote
1976b any
1977:quote
1978s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1979s/\[/\\&/g
1980s/\]/\\&/g
1981s/\$/$$/g
1982H
1983:any
1984${
1985        g
1986        s/^\n//
1987        s/\n/ /g
1988        p
1989}
1990'
1991DEFS=`sed -n "$ac_script" confdefs.h`
1992
1993
1994ac_libobjs=
1995ac_ltlibobjs=
1996for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1997  # 1. Remove the extension, and $U if already installed.
1998  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1999  ac_i=`echo "$ac_i" | sed "$ac_script"`
2000  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2001  #    will be set to the directory where LIBOBJS objects are built.
2002  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2003  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2004done
2005LIBOBJS=$ac_libobjs
2006
2007LTLIBOBJS=$ac_ltlibobjs
2008
2009
2010
2011: ${CONFIG_STATUS=./config.status}
2012ac_clean_files_save=$ac_clean_files
2013ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2014{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2015echo "$as_me: creating $CONFIG_STATUS" >&6;}
2016cat >$CONFIG_STATUS <<_ACEOF
2017#! $SHELL
2018# Generated by $as_me.
2019# Run this file to recreate the current configuration.
2020# Compiler output produced by configure, useful for debugging
2021# configure, is in config.log if it exists.
2022
2023debug=false
2024ac_cs_recheck=false
2025ac_cs_silent=false
2026SHELL=\${CONFIG_SHELL-$SHELL}
2027_ACEOF
2028
2029cat >>$CONFIG_STATUS <<\_ACEOF
2030## --------------------- ##
2031## M4sh Initialization.  ##
2032## --------------------- ##
2033
2034# Be more Bourne compatible
2035DUALCASE=1; export DUALCASE # for MKS sh
2036if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2037  emulate sh
2038  NULLCMD=:
2039  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2040  # is contrary to our usage.  Disable this feature.
2041  alias -g '${1+"$@"}'='"$@"'
2042  setopt NO_GLOB_SUBST
2043else
2044  case `(set -o) 2>/dev/null` in
2045  *posix*) set -o posix ;;
2046esac
2047
2048fi
2049
2050
2051
2052
2053# PATH needs CR
2054# Avoid depending upon Character Ranges.
2055as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2056as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2057as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2058as_cr_digits='0123456789'
2059as_cr_alnum=$as_cr_Letters$as_cr_digits
2060
2061# The user is always right.
2062if test "${PATH_SEPARATOR+set}" != set; then
2063  echo "#! /bin/sh" >conf$$.sh
2064  echo  "exit 0"   >>conf$$.sh
2065  chmod +x conf$$.sh
2066  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2067    PATH_SEPARATOR=';'
2068  else
2069    PATH_SEPARATOR=:
2070  fi
2071  rm -f conf$$.sh
2072fi
2073
2074# Support unset when possible.
2075if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2076  as_unset=unset
2077else
2078  as_unset=false
2079fi
2080
2081
2082# IFS
2083# We need space, tab and new line, in precisely that order.  Quoting is
2084# there to prevent editors from complaining about space-tab.
2085# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2086# splitting by setting IFS to empty value.)
2087as_nl='
2088'
2089IFS=" ""        $as_nl"
2090
2091# Find who we are.  Look in the path if we contain no directory separator.
2092case $0 in
2093  *[\\/]* ) as_myself=$0 ;;
2094  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095for as_dir in $PATH
2096do
2097  IFS=$as_save_IFS
2098  test -z "$as_dir" && as_dir=.
2099  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2100done
2101IFS=$as_save_IFS
2102
2103     ;;
2104esac
2105# We did not find ourselves, most probably we were run as `sh COMMAND'
2106# in which case we are not to be found in the path.
2107if test "x$as_myself" = x; then
2108  as_myself=$0
2109fi
2110if test ! -f "$as_myself"; then
2111  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2112  { (exit 1); exit 1; }
2113fi
2114
2115# Work around bugs in pre-3.0 UWIN ksh.
2116for as_var in ENV MAIL MAILPATH
2117do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2118done
2119PS1='$ '
2120PS2='> '
2121PS4='+ '
2122
2123# NLS nuisances.
2124for as_var in \
2125  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2126  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2127  LC_TELEPHONE LC_TIME
2128do
2129  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2130    eval $as_var=C; export $as_var
2131  else
2132    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2133  fi
2134done
2135
2136# Required to use basename.
2137if expr a : '\(a\)' >/dev/null 2>&1 &&
2138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2139  as_expr=expr
2140else
2141  as_expr=false
2142fi
2143
2144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2145  as_basename=basename
2146else
2147  as_basename=false
2148fi
2149
2150
2151# Name of the executable.
2152as_me=`$as_basename -- "$0" ||
2153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2154         X"$0" : 'X\(//\)$' \| \
2155         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2156echo X/"$0" |
2157    sed '/^.*\/\([^/][^/]*\)\/*$/{
2158            s//\1/
2159            q
2160          }
2161          /^X\/\(\/\/\)$/{
2162            s//\1/
2163            q
2164          }
2165          /^X\/\(\/\).*/{
2166            s//\1/
2167            q
2168          }
2169          s/.*/./; q'`
2170
2171# CDPATH.
2172$as_unset CDPATH
2173
2174
2175
2176  as_lineno_1=$LINENO
2177  as_lineno_2=$LINENO
2178  test "x$as_lineno_1" != "x$as_lineno_2" &&
2179  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2180
2181  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2182  # uniformly replaced by the line number.  The first 'sed' inserts a
2183  # line-number line after each line using $LINENO; the second 'sed'
2184  # does the real work.  The second script uses 'N' to pair each
2185  # line-number line with the line containing $LINENO, and appends
2186  # trailing '-' during substitution so that $LINENO is not a special
2187  # case at line end.
2188  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2189  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2190  # E. McMahon (1931-1989) for sed's syntax.  :-)
2191  sed -n '
2192    p
2193    /[$]LINENO/=
2194  ' <$as_myself |
2195    sed '
2196      s/[$]LINENO.*/&-/
2197      t lineno
2198      b
2199      :lineno
2200      N
2201      :loop
2202      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2203      t loop
2204      s/-\n.*//
2205    ' >$as_me.lineno &&
2206  chmod +x "$as_me.lineno" ||
2207    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2208   { (exit 1); exit 1; }; }
2209
2210  # Don't try to exec as it changes $[0], causing all sort of problems
2211  # (the dirname of $[0] is not the place where we might find the
2212  # original and so on.  Autoconf is especially sensitive to this).
2213  . "./$as_me.lineno"
2214  # Exit status is that of the last command.
2215  exit
2216}
2217
2218
2219if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2220  as_dirname=dirname
2221else
2222  as_dirname=false
2223fi
2224
2225ECHO_C= ECHO_N= ECHO_T=
2226case `echo -n x` in
2227-n*)
2228  case `echo 'x\c'` in
2229  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2230  *)   ECHO_C='\c';;
2231  esac;;
2232*)
2233  ECHO_N='-n';;
2234esac
2235
2236if expr a : '\(a\)' >/dev/null 2>&1 &&
2237   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2238  as_expr=expr
2239else
2240  as_expr=false
2241fi
2242
2243rm -f conf$$ conf$$.exe conf$$.file
2244if test -d conf$$.dir; then
2245  rm -f conf$$.dir/conf$$.file
2246else
2247  rm -f conf$$.dir
2248  mkdir conf$$.dir
2249fi
2250echo >conf$$.file
2251if ln -s conf$$.file conf$$ 2>/dev/null; then
2252  as_ln_s='ln -s'
2253  # ... but there are two gotchas:
2254  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2255  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2256  # In both cases, we have to default to `cp -p'.
2257  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2258    as_ln_s='cp -p'
2259elif ln conf$$.file conf$$ 2>/dev/null; then
2260  as_ln_s=ln
2261else
2262  as_ln_s='cp -p'
2263fi
2264rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2265rmdir conf$$.dir 2>/dev/null
2266
2267if mkdir -p . 2>/dev/null; then
2268  as_mkdir_p=:
2269else
2270  test -d ./-p && rmdir ./-p
2271  as_mkdir_p=false
2272fi
2273
2274if test -x / >/dev/null 2>&1; then
2275  as_test_x='test -x'
2276else
2277  if ls -dL / >/dev/null 2>&1; then
2278    as_ls_L_option=L
2279  else
2280    as_ls_L_option=
2281  fi
2282  as_test_x='
2283    eval sh -c '\''
2284      if test -d "$1"; then
2285        test -d "$1/.";
2286      else
2287        case $1 in
2288        -*)set "./$1";;
2289        esac;
2290        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2291        ???[sx]*):;;*)false;;esac;fi
2292    '\'' sh
2293  '
2294fi
2295as_executable_p=$as_test_x
2296
2297# Sed expression to map a string onto a valid CPP name.
2298as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2299
2300# Sed expression to map a string onto a valid variable name.
2301as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2302
2303
2304exec 6>&1
2305
2306# Save the log message, to keep $[0] and so on meaningful, and to
2307# report actual input values of CONFIG_FILES etc. instead of their
2308# values after options handling.
2309ac_log="
2310This file was extended by mecab $as_me 1.0, which was
2311generated by GNU Autoconf 2.61.  Invocation command line was
2312
2313  CONFIG_FILES    = $CONFIG_FILES
2314  CONFIG_HEADERS  = $CONFIG_HEADERS
2315  CONFIG_LINKS    = $CONFIG_LINKS
2316  CONFIG_COMMANDS = $CONFIG_COMMANDS
2317  $ $0 $@
2318
2319on `(hostname || uname -n) 2>/dev/null | sed 1q`
2320"
2321
2322_ACEOF
2323
2324cat >>$CONFIG_STATUS <<_ACEOF
2325# Files that config.status was made for.
2326config_files="$ac_config_files"
2327
2328_ACEOF
2329
2330cat >>$CONFIG_STATUS <<\_ACEOF
2331ac_cs_usage="\
2332\`$as_me' instantiates files from templates according to the
2333current configuration.
2334
2335Usage: $0 [OPTIONS] [FILE]...
2336
2337  -h, --help       print this help, then exit
2338  -V, --version    print version number and configuration settings, then exit
2339  -q, --quiet      do not print progress messages
2340  -d, --debug      don't remove temporary files
2341      --recheck    update $as_me by reconfiguring in the same conditions
2342  --file=FILE[:TEMPLATE]
2343                   instantiate the configuration file FILE
2344
2345Configuration files:
2346$config_files
2347
2348Report bugs to <bug-autoconf@gnu.org>."
2349
2350_ACEOF
2351cat >>$CONFIG_STATUS <<_ACEOF
2352ac_cs_version="\\
2353mecab config.status 1.0
2354configured by $0, generated by GNU Autoconf 2.61,
2355  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2356
2357Copyright (C) 2006 Free Software Foundation, Inc.
2358This config.status script is free software; the Free Software Foundation
2359gives unlimited permission to copy, distribute and modify it."
2360
2361ac_pwd='$ac_pwd'
2362srcdir='$srcdir'
2363_ACEOF
2364
2365cat >>$CONFIG_STATUS <<\_ACEOF
2366# If no file are specified by the user, then we need to provide default
2367# value.  By we need to know if files were specified by the user.
2368ac_need_defaults=:
2369while test $# != 0
2370do
2371  case $1 in
2372  --*=*)
2373    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2374    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2375    ac_shift=:
2376    ;;
2377  *)
2378    ac_option=$1
2379    ac_optarg=$2
2380    ac_shift=shift
2381    ;;
2382  esac
2383
2384  case $ac_option in
2385  # Handling of the options.
2386  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2387    ac_cs_recheck=: ;;
2388  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2389    echo "$ac_cs_version"; exit ;;
2390  --debug | --debu | --deb | --de | --d | -d )
2391    debug=: ;;
2392  --file | --fil | --fi | --f )
2393    $ac_shift
2394    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2395    ac_need_defaults=false;;
2396  --he | --h |  --help | --hel | -h )
2397    echo "$ac_cs_usage"; exit ;;
2398  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2399  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2400    ac_cs_silent=: ;;
2401
2402  # This is an error.
2403  -*) { echo "$as_me: error: unrecognized option: $1
2404Try \`$0 --help' for more information." >&2
2405   { (exit 1); exit 1; }; } ;;
2406
2407  *) ac_config_targets="$ac_config_targets $1"
2408     ac_need_defaults=false ;;
2409
2410  esac
2411  shift
2412done
2413
2414ac_configure_extra_args=
2415
2416if $ac_cs_silent; then
2417  exec 6>/dev/null
2418  ac_configure_extra_args="$ac_configure_extra_args --silent"
2419fi
2420
2421_ACEOF
2422cat >>$CONFIG_STATUS <<_ACEOF
2423if \$ac_cs_recheck; then
2424  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2425  CONFIG_SHELL=$SHELL
2426  export CONFIG_SHELL
2427  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2428fi
2429
2430_ACEOF
2431cat >>$CONFIG_STATUS <<\_ACEOF
2432exec 5>>config.log
2433{
2434  echo
2435  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2436## Running $as_me. ##
2437_ASBOX
2438  echo "$ac_log"
2439} >&5
2440
2441_ACEOF
2442cat >>$CONFIG_STATUS <<_ACEOF
2443_ACEOF
2444
2445cat >>$CONFIG_STATUS <<\_ACEOF
2446
2447# Handling of arguments.
2448for ac_config_target in $ac_config_targets
2449do
2450  case $ac_config_target in
2451    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2452
2453  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2454echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2455   { (exit 1); exit 1; }; };;
2456  esac
2457done
2458
2459
2460# If the user did not use the arguments to specify the items to instantiate,
2461# then the envvar interface is used.  Set only those that are not.
2462# We use the long form for the default assignment because of an extremely
2463# bizarre bug on SunOS 4.1.3.
2464if $ac_need_defaults; then
2465  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2466fi
2467
2468# Have a temporary directory for convenience.  Make it in the build tree
2469# simply because there is no reason against having it here, and in addition,
2470# creating and moving files from /tmp can sometimes cause problems.
2471# Hook for its removal unless debugging.
2472# Note that there is a small window in which the directory will not be cleaned:
2473# after its creation but before its name has been assigned to `$tmp'.
2474$debug ||
2475{
2476  tmp=
2477  trap 'exit_status=$?
2478  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2479' 0
2480  trap '{ (exit 1); exit 1; }' 1 2 13 15
2481}
2482# Create a (secure) tmp directory for tmp files.
2483
2484{
2485  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2486  test -n "$tmp" && test -d "$tmp"
2487}  ||
2488{
2489  tmp=./conf$$-$RANDOM
2490  (umask 077 && mkdir "$tmp")
2491} ||
2492{
2493   echo "$me: cannot create a temporary directory in ." >&2
2494   { (exit 1); exit 1; }
2495}
2496
2497#
2498# Set up the sed scripts for CONFIG_FILES section.
2499#
2500
2501# No need to generate the scripts if there are no CONFIG_FILES.
2502# This happens for instance when ./config.status config.h
2503if test -n "$CONFIG_FILES"; then
2504
2505_ACEOF
2506
2507
2508
2509ac_delim='%!_!# '
2510for ac_last_try in false false false false false :; do
2511  cat >conf$$subs.sed <<_ACEOF
2512SHELL!$SHELL$ac_delim
2513PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2514PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2515PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2516PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2517PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2518PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2519exec_prefix!$exec_prefix$ac_delim
2520prefix!$prefix$ac_delim
2521program_transform_name!$program_transform_name$ac_delim
2522bindir!$bindir$ac_delim
2523sbindir!$sbindir$ac_delim
2524libexecdir!$libexecdir$ac_delim
2525datarootdir!$datarootdir$ac_delim
2526datadir!$datadir$ac_delim
2527sysconfdir!$sysconfdir$ac_delim
2528sharedstatedir!$sharedstatedir$ac_delim
2529localstatedir!$localstatedir$ac_delim
2530includedir!$includedir$ac_delim
2531oldincludedir!$oldincludedir$ac_delim
2532docdir!$docdir$ac_delim
2533infodir!$infodir$ac_delim
2534htmldir!$htmldir$ac_delim
2535dvidir!$dvidir$ac_delim
2536pdfdir!$pdfdir$ac_delim
2537psdir!$psdir$ac_delim
2538libdir!$libdir$ac_delim
2539localedir!$localedir$ac_delim
2540mandir!$mandir$ac_delim
2541DEFS!$DEFS$ac_delim
2542ECHO_C!$ECHO_C$ac_delim
2543ECHO_N!$ECHO_N$ac_delim
2544ECHO_T!$ECHO_T$ac_delim
2545LIBS!$LIBS$ac_delim
2546build_alias!$build_alias$ac_delim
2547host_alias!$host_alias$ac_delim
2548target_alias!$target_alias$ac_delim
2549LOCAL_PATHS!$LOCAL_PATHS$ac_delim
2550GOSH!$GOSH$ac_delim
2551GAUCHE_CONFIG!$GAUCHE_CONFIG$ac_delim
2552GAUCHE_PACKAGE!$GAUCHE_PACKAGE$ac_delim
2553GAUCHE_INSTALL!$GAUCHE_INSTALL$ac_delim
2554GAUCHE_CESCONV!$GAUCHE_CESCONV$ac_delim
2555SOEXT!$SOEXT$ac_delim
2556OBJEXT!$OBJEXT$ac_delim
2557EXEEXT!$EXEEXT$ac_delim
2558GAUCHE_PKGINCDIR!$GAUCHE_PKGINCDIR$ac_delim
2559GAUCHE_PKGLIBDIR!$GAUCHE_PKGLIBDIR$ac_delim
2560GAUCHE_PKGARCHDIR!$GAUCHE_PKGARCHDIR$ac_delim
2561LIBOBJS!$LIBOBJS$ac_delim
2562LTLIBOBJS!$LTLIBOBJS$ac_delim
2563_ACEOF
2564
2565  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
2566    break
2567  elif $ac_last_try; then
2568    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2569echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2570   { (exit 1); exit 1; }; }
2571  else
2572    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2573  fi
2574done
2575
2576ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2577if test -n "$ac_eof"; then
2578  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2579  ac_eof=`expr $ac_eof + 1`
2580fi
2581
2582cat >>$CONFIG_STATUS <<_ACEOF
2583cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2584/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2585_ACEOF
2586sed '
2587s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2588s/^/s,@/; s/!/@,|#_!!_#|/
2589:n
2590t n
2591s/'"$ac_delim"'$/,g/; t
2592s/$/\\/; p
2593N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2594' >>$CONFIG_STATUS <conf$$subs.sed
2595rm -f conf$$subs.sed
2596cat >>$CONFIG_STATUS <<_ACEOF
2597:end
2598s/|#_!!_#|//g
2599CEOF$ac_eof
2600_ACEOF
2601
2602
2603# VPATH may cause trouble with some makes, so we remove $(srcdir),
2604# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2605# trailing colons and then remove the whole line if VPATH becomes empty
2606# (actually we leave an empty line to preserve line numbers).
2607if test "x$srcdir" = x.; then
2608  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2609s/:*\$(srcdir):*/:/
2610s/:*\${srcdir}:*/:/
2611s/:*@srcdir@:*/:/
2612s/^\([^=]*=[     ]*\):*/\1/
2613s/:*$//
2614s/^[^=]*=[       ]*$//
2615}'
2616fi
2617
2618cat >>$CONFIG_STATUS <<\_ACEOF
2619fi # test -n "$CONFIG_FILES"
2620
2621
2622for ac_tag in  :F $CONFIG_FILES
2623do
2624  case $ac_tag in
2625  :[FHLC]) ac_mode=$ac_tag; continue;;
2626  esac
2627  case $ac_mode$ac_tag in
2628  :[FHL]*:*);;
2629  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2630echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2631   { (exit 1); exit 1; }; };;
2632  :[FH]-) ac_tag=-:-;;
2633  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2634  esac
2635  ac_save_IFS=$IFS
2636  IFS=:
2637  set x $ac_tag
2638  IFS=$ac_save_IFS
2639  shift
2640  ac_file=$1
2641  shift
2642
2643  case $ac_mode in
2644  :L) ac_source=$1;;
2645  :[FH])
2646    ac_file_inputs=
2647    for ac_f
2648    do
2649      case $ac_f in
2650      -) ac_f="$tmp/stdin";;
2651      *) # Look for the file first in the build tree, then in the source tree
2652         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2653         # because $ac_f cannot contain `:'.
2654         test -f "$ac_f" ||
2655           case $ac_f in
2656           [\\/$]*) false;;
2657           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2658           esac ||
2659           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2660echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2661   { (exit 1); exit 1; }; };;
2662      esac
2663      ac_file_inputs="$ac_file_inputs $ac_f"
2664    done
2665
2666    # Let's still pretend it is `configure' which instantiates (i.e., don't
2667    # use $as_me), people would be surprised to read:
2668    #    /* config.h.  Generated by config.status.  */
2669    configure_input="Generated from "`IFS=:
2670          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2671    if test x"$ac_file" != x-; then
2672      configure_input="$ac_file.  $configure_input"
2673      { echo "$as_me:$LINENO: creating $ac_file" >&5
2674echo "$as_me: creating $ac_file" >&6;}
2675    fi
2676
2677    case $ac_tag in
2678    *:-:* | *:-) cat >"$tmp/stdin";;
2679    esac
2680    ;;
2681  esac
2682
2683  ac_dir=`$as_dirname -- "$ac_file" ||
2684$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2685         X"$ac_file" : 'X\(//\)[^/]' \| \
2686         X"$ac_file" : 'X\(//\)$' \| \
2687         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2688echo X"$ac_file" |
2689    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2690            s//\1/
2691            q
2692          }
2693          /^X\(\/\/\)[^/].*/{
2694            s//\1/
2695            q
2696          }
2697          /^X\(\/\/\)$/{
2698            s//\1/
2699            q
2700          }
2701          /^X\(\/\).*/{
2702            s//\1/
2703            q
2704          }
2705          s/.*/./; q'`
2706  { as_dir="$ac_dir"
2707  case $as_dir in #(
2708  -*) as_dir=./$as_dir;;
2709  esac
2710  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2711    as_dirs=
2712    while :; do
2713      case $as_dir in #(
2714      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2715      *) as_qdir=$as_dir;;
2716      esac
2717      as_dirs="'$as_qdir' $as_dirs"
2718      as_dir=`$as_dirname -- "$as_dir" ||
2719$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2720         X"$as_dir" : 'X\(//\)[^/]' \| \
2721         X"$as_dir" : 'X\(//\)$' \| \
2722         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2723echo X"$as_dir" |
2724    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2725            s//\1/
2726            q
2727          }
2728          /^X\(\/\/\)[^/].*/{
2729            s//\1/
2730            q
2731          }
2732          /^X\(\/\/\)$/{
2733            s//\1/
2734            q
2735          }
2736          /^X\(\/\).*/{
2737            s//\1/
2738            q
2739          }
2740          s/.*/./; q'`
2741      test -d "$as_dir" && break
2742    done
2743    test -z "$as_dirs" || eval "mkdir $as_dirs"
2744  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2745echo "$as_me: error: cannot create directory $as_dir" >&2;}
2746   { (exit 1); exit 1; }; }; }
2747  ac_builddir=.
2748
2749case "$ac_dir" in
2750.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2751*)
2752  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2753  # A ".." for each directory in $ac_dir_suffix.
2754  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2755  case $ac_top_builddir_sub in
2756  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2757  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2758  esac ;;
2759esac
2760ac_abs_top_builddir=$ac_pwd
2761ac_abs_builddir=$ac_pwd$ac_dir_suffix
2762# for backward compatibility:
2763ac_top_builddir=$ac_top_build_prefix
2764
2765case $srcdir in
2766  .)  # We are building in place.
2767    ac_srcdir=.
2768    ac_top_srcdir=$ac_top_builddir_sub
2769    ac_abs_top_srcdir=$ac_pwd ;;
2770  [\\/]* | ?:[\\/]* )  # Absolute name.
2771    ac_srcdir=$srcdir$ac_dir_suffix;
2772    ac_top_srcdir=$srcdir
2773    ac_abs_top_srcdir=$srcdir ;;
2774  *) # Relative name.
2775    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2776    ac_top_srcdir=$ac_top_build_prefix$srcdir
2777    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2778esac
2779ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2780
2781
2782  case $ac_mode in
2783  :F)
2784  #
2785  # CONFIG_FILE
2786  #
2787
2788_ACEOF
2789
2790cat >>$CONFIG_STATUS <<\_ACEOF
2791# If the template does not know about datarootdir, expand it.
2792# FIXME: This hack should be removed a few years after 2.60.
2793ac_datarootdir_hack=; ac_datarootdir_seen=
2794
2795case `sed -n '/datarootdir/ {
2796  p
2797  q
2798}
2799/@datadir@/p
2800/@docdir@/p
2801/@infodir@/p
2802/@localedir@/p
2803/@mandir@/p
2804' $ac_file_inputs` in
2805*datarootdir*) ac_datarootdir_seen=yes;;
2806*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2807  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2808echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2809_ACEOF
2810cat >>$CONFIG_STATUS <<_ACEOF
2811  ac_datarootdir_hack='
2812  s&@datadir@&$datadir&g
2813  s&@docdir@&$docdir&g
2814  s&@infodir@&$infodir&g
2815  s&@localedir@&$localedir&g
2816  s&@mandir@&$mandir&g
2817    s&\\\${datarootdir}&$datarootdir&g' ;;
2818esac
2819_ACEOF
2820
2821# Neutralize VPATH when `$srcdir' = `.'.
2822# Shell code in configure.ac might set extrasub.
2823# FIXME: do we really want to maintain this feature?
2824cat >>$CONFIG_STATUS <<_ACEOF
2825  sed "$ac_vpsub
2826$extrasub
2827_ACEOF
2828cat >>$CONFIG_STATUS <<\_ACEOF
2829:t
2830/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2831s&@configure_input@&$configure_input&;t t
2832s&@top_builddir@&$ac_top_builddir_sub&;t t
2833s&@srcdir@&$ac_srcdir&;t t
2834s&@abs_srcdir@&$ac_abs_srcdir&;t t
2835s&@top_srcdir@&$ac_top_srcdir&;t t
2836s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2837s&@builddir@&$ac_builddir&;t t
2838s&@abs_builddir@&$ac_abs_builddir&;t t
2839s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2840$ac_datarootdir_hack
2841" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2842
2843test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2844  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2845  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2846  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2847which seems to be undefined.  Please make sure it is defined." >&5
2848echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2849which seems to be undefined.  Please make sure it is defined." >&2;}
2850
2851  rm -f "$tmp/stdin"
2852  case $ac_file in
2853  -) cat "$tmp/out"; rm -f "$tmp/out";;
2854  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2855  esac
2856 ;;
2857
2858
2859
2860  esac
2861
2862done # for ac_tag
2863
2864
2865{ (exit 0); exit 0; }
2866_ACEOF
2867chmod +x $CONFIG_STATUS
2868ac_clean_files=$ac_clean_files_save
2869
2870
2871# configure is writing to config.log, and then calls config.status.
2872# config.status does its own redirection, appending to config.log.
2873# Unfortunately, on DOS this fails, as config.log is still kept open
2874# by configure, so config.status won't be able to write to it; its
2875# output is simply discarded.  So we exec the FD to /dev/null,
2876# effectively closing config.log, so it can be properly (re)opened and
2877# appended to by config.status.  When coming back to configure, we
2878# need to make the FD available again.
2879if test "$no_create" != yes; then
2880  ac_cs_success=:
2881  ac_config_status_args=
2882  test "$silent" = yes &&
2883    ac_config_status_args="$ac_config_status_args --quiet"
2884  exec 5>/dev/null
2885  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2886  exec 5>>config.log
2887  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2888  # would make configure fail if this is the last instruction.
2889  $ac_cs_success || { (exit 1); exit 1; }
2890fi
2891
2892
Note: See TracBrowser for help on using the browser.