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