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