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