configure revision a8fdb4bc
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61 for luit 1.0.3. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42# The user is always right. 43if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53fi 54 55# Support unset when possible. 56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58else 59 as_unset=false 60fi 61 62 63# IFS 64# We need space, tab and new line, in precisely that order. Quoting is 65# there to prevent editors from complaining about space-tab. 66# (If _AS_PATH_WALK were called with IFS unset, it would disable word 67# splitting by setting IFS to empty value.) 68as_nl=' 69' 70IFS=" "" $as_nl" 71 72# Find who we are. Look in the path if we contain no directory separator. 73case $0 in 74 *[\\/]* ) as_myself=$0 ;; 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76for as_dir in $PATH 77do 78 IFS=$as_save_IFS 79 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81done 82IFS=$as_save_IFS 83 84 ;; 85esac 86# We did not find ourselves, most probably we were run as `sh COMMAND' 87# in which case we are not to be found in the path. 88if test "x$as_myself" = x; then 89 as_myself=$0 90fi 91if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94fi 95 96# Work around bugs in pre-3.0 UWIN ksh. 97for as_var in ENV MAIL MAILPATH 98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99done 100PS1='$ ' 101PS2='> ' 102PS4='+ ' 103 104# NLS nuisances. 105for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115done 116 117# Required to use basename. 118if expr a : '\(a\)' >/dev/null 2>&1 && 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 120 as_expr=expr 121else 122 as_expr=false 123fi 124 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126 as_basename=basename 127else 128 as_basename=false 129fi 130 131 132# Name of the executable. 133as_me=`$as_basename -- "$0" || 134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 X"$0" : 'X\(//\)$' \| \ 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137echo X/"$0" | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\/\)$/{ 143 s//\1/ 144 q 145 } 146 /^X\/\(\/\).*/{ 147 s//\1/ 148 q 149 } 150 s/.*/./; q'` 151 152# CDPATH. 153$as_unset CDPATH 154 155 156if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159else 160 as_have_required=no 161fi 162 163 if test $as_have_required = yes && (eval ": 164(as_func_return () { 165 (exit \$1) 166} 167as_func_success () { 168 as_func_return 0 169} 170as_func_failure () { 171 as_func_return 1 172} 173as_func_ret_success () { 174 return 0 175} 176as_func_ret_failure () { 177 return 1 178} 179 180exitcode=0 181if as_func_success; then 182 : 183else 184 exitcode=1 185 echo as_func_success failed. 186fi 187 188if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191fi 192 193if as_func_ret_success; then 194 : 195else 196 exitcode=1 197 echo as_func_ret_success failed. 198fi 199 200if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203fi 204 205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207else 208 exitcode=1 209 echo positional parameters were not saved. 210fi 211 212test \$exitcode = 0) || { (exit 1); exit 1; } 213 214( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219") 2> /dev/null; then 220 : 221else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234done 235IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252esac 253 254fi 255 256 257: 258_ASEOF 259}; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273esac 274 275fi 276 277 278: 279(as_func_return () { 280 (exit $1) 281} 282as_func_success () { 283 as_func_return 0 284} 285as_func_failure () { 286 as_func_return 1 287} 288as_func_ret_success () { 289 return 0 290} 291as_func_ret_failure () { 292 return 1 293} 294 295exitcode=0 296if as_func_success; then 297 : 298else 299 exitcode=1 300 echo as_func_success failed. 301fi 302 303if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306fi 307 308if as_func_ret_success; then 309 : 310else 311 exitcode=1 312 echo as_func_ret_success failed. 313fi 314 315if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318fi 319 320if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322else 323 exitcode=1 324 echo positional parameters were not saved. 325fi 326 327test $exitcode = 0) || { (exit 1); exit 1; } 328 329( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335_ASEOF 336}; then 337 break 338fi 339 340fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359fi 360 361 362fi 363 364fi 365 366 367 368(eval "as_func_return () { 369 (exit \$1) 370} 371as_func_success () { 372 as_func_return 0 373} 374as_func_failure () { 375 as_func_return 1 376} 377as_func_ret_success () { 378 return 0 379} 380as_func_ret_failure () { 381 return 1 382} 383 384exitcode=0 385if as_func_success; then 386 : 387else 388 exitcode=1 389 echo as_func_success failed. 390fi 391 392if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395fi 396 397if as_func_ret_success; then 398 : 399else 400 exitcode=1 401 echo as_func_ret_success failed. 402fi 403 404if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407fi 408 409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411else 412 exitcode=1 413 echo positional parameters were not saved. 414fi 415 416test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421} 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 440 sed -n ' 441 p 442 /[$]LINENO/= 443 ' <$as_myself | 444 sed ' 445 s/[$]LINENO.*/&-/ 446 t lineno 447 b 448 :lineno 449 N 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 452 t loop 453 s/-\n.*// 454 ' >$as_me.lineno && 455 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 458 459 # Don't try to exec as it changes $[0], causing all sort of problems 460 # (the dirname of $[0] is not the place where we might find the 461 # original and so on. Autoconf is especially sensitive to this). 462 . "./$as_me.lineno" 463 # Exit status is that of the last command. 464 exit 465} 466 467 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470else 471 as_dirname=false 472fi 473 474ECHO_C= ECHO_N= ECHO_T= 475case `echo -n x` in 476-n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481*) 482 ECHO_N='-n';; 483esac 484 485if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 487 as_expr=expr 488else 489 as_expr=false 490fi 491 492rm -f conf$$ conf$$.exe conf$$.file 493if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 495else 496 rm -f conf$$.dir 497 mkdir conf$$.dir 498fi 499echo >conf$$.file 500if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 507 as_ln_s='cp -p' 508elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 510else 511 as_ln_s='cp -p' 512fi 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514rmdir conf$$.dir 2>/dev/null 515 516if mkdir -p . 2>/dev/null; then 517 as_mkdir_p=: 518else 519 test -d ./-p && rmdir ./-p 520 as_mkdir_p=false 521fi 522 523if test -x / >/dev/null 2>&1; then 524 as_test_x='test -x' 525else 526 if ls -dL / >/dev/null 2>&1; then 527 as_ls_L_option=L 528 else 529 as_ls_L_option= 530 fi 531 as_test_x=' 532 eval sh -c '\'' 533 if test -d "$1"; then 534 test -d "$1/."; 535 else 536 case $1 in 537 -*)set "./$1";; 538 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540 ???[sx]*):;;*)false;;esac;fi 541 '\'' sh 542 ' 543fi 544as_executable_p=$as_test_x 545 546# Sed expression to map a string onto a valid CPP name. 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 548 549# Sed expression to map a string onto a valid variable name. 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551 552 553 554exec 7<&0 </dev/null 6>&1 555 556# Name of the host. 557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 558# so uname gets run too. 559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560 561# 562# Initializations. 563# 564ac_default_prefix=/usr/local 565ac_clean_files= 566ac_config_libobj_dir=. 567LIBOBJS= 568cross_compiling=no 569subdirs= 570MFLAGS= 571MAKEFLAGS= 572SHELL=${CONFIG_SHELL-/bin/sh} 573 574# Identity of this package. 575PACKAGE_NAME='luit' 576PACKAGE_TARNAME='luit' 577PACKAGE_VERSION='1.0.3' 578PACKAGE_STRING='luit 1.0.3' 579PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 580 581ac_subst_vars='SHELL 582PATH_SEPARATOR 583PACKAGE_NAME 584PACKAGE_TARNAME 585PACKAGE_VERSION 586PACKAGE_STRING 587PACKAGE_BUGREPORT 588exec_prefix 589prefix 590program_transform_name 591bindir 592sbindir 593libexecdir 594datarootdir 595datadir 596sysconfdir 597sharedstatedir 598localstatedir 599includedir 600oldincludedir 601docdir 602infodir 603htmldir 604dvidir 605pdfdir 606psdir 607libdir 608localedir 609mandir 610DEFS 611ECHO_C 612ECHO_N 613ECHO_T 614LIBS 615build_alias 616host_alias 617target_alias 618INSTALL_PROGRAM 619INSTALL_SCRIPT 620INSTALL_DATA 621am__isrc 622CYGPATH_W 623PACKAGE 624VERSION 625ACLOCAL 626AUTOCONF 627AUTOMAKE 628AUTOHEADER 629MAKEINFO 630install_sh 631STRIP 632INSTALL_STRIP_PROGRAM 633mkdir_p 634AWK 635SET_MAKE 636am__leading_dot 637AMTAR 638am__tar 639am__untar 640MAINTAINER_MODE_TRUE 641MAINTAINER_MODE_FALSE 642MAINT 643CC 644CFLAGS 645LDFLAGS 646CPPFLAGS 647ac_ct_CC 648EXEEXT 649OBJEXT 650DEPDIR 651am__include 652am__quote 653AMDEP_TRUE 654AMDEP_FALSE 655AMDEPBACKSLASH 656CCDEPMODE 657am__fastdepCC_TRUE 658am__fastdepCC_FALSE 659build 660build_cpu 661build_vendor 662build_os 663host 664host_cpu 665host_vendor 666host_os 667LOCALEALIASFILE 668PKG_CONFIG 669LUIT_CFLAGS 670LUIT_LIBS 671APP_MAN_SUFFIX 672LIB_MAN_SUFFIX 673FILE_MAN_SUFFIX 674MISC_MAN_SUFFIX 675DRIVER_MAN_SUFFIX 676ADMIN_MAN_SUFFIX 677APP_MAN_DIR 678LIB_MAN_DIR 679FILE_MAN_DIR 680MISC_MAN_DIR 681DRIVER_MAN_DIR 682ADMIN_MAN_DIR 683LIBOBJS 684LTLIBOBJS' 685ac_subst_files='' 686 ac_precious_vars='build_alias 687host_alias 688target_alias 689CC 690CFLAGS 691LDFLAGS 692LIBS 693CPPFLAGS 694PKG_CONFIG 695LUIT_CFLAGS 696LUIT_LIBS' 697 698 699# Initialize some variables set by options. 700ac_init_help= 701ac_init_version=false 702# The variables have the same names as the options, with 703# dashes changed to underlines. 704cache_file=/dev/null 705exec_prefix=NONE 706no_create= 707no_recursion= 708prefix=NONE 709program_prefix=NONE 710program_suffix=NONE 711program_transform_name=s,x,x, 712silent= 713site= 714srcdir= 715verbose= 716x_includes=NONE 717x_libraries=NONE 718 719# Installation directory options. 720# These are left unexpanded so users can "make install exec_prefix=/foo" 721# and all the variables that are supposed to be based on exec_prefix 722# by default will actually change. 723# Use braces instead of parens because sh, perl, etc. also accept them. 724# (The list follows the same order as the GNU Coding Standards.) 725bindir='${exec_prefix}/bin' 726sbindir='${exec_prefix}/sbin' 727libexecdir='${exec_prefix}/libexec' 728datarootdir='${prefix}/share' 729datadir='${datarootdir}' 730sysconfdir='${prefix}/etc' 731sharedstatedir='${prefix}/com' 732localstatedir='${prefix}/var' 733includedir='${prefix}/include' 734oldincludedir='/usr/include' 735docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 736infodir='${datarootdir}/info' 737htmldir='${docdir}' 738dvidir='${docdir}' 739pdfdir='${docdir}' 740psdir='${docdir}' 741libdir='${exec_prefix}/lib' 742localedir='${datarootdir}/locale' 743mandir='${datarootdir}/man' 744 745ac_prev= 746ac_dashdash= 747for ac_option 748do 749 # If the previous option needs an argument, assign it. 750 if test -n "$ac_prev"; then 751 eval $ac_prev=\$ac_option 752 ac_prev= 753 continue 754 fi 755 756 case $ac_option in 757 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 758 *) ac_optarg=yes ;; 759 esac 760 761 # Accept the important Cygnus configure options, so we can diagnose typos. 762 763 case $ac_dashdash$ac_option in 764 --) 765 ac_dashdash=yes ;; 766 767 -bindir | --bindir | --bindi | --bind | --bin | --bi) 768 ac_prev=bindir ;; 769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 770 bindir=$ac_optarg ;; 771 772 -build | --build | --buil | --bui | --bu) 773 ac_prev=build_alias ;; 774 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 775 build_alias=$ac_optarg ;; 776 777 -cache-file | --cache-file | --cache-fil | --cache-fi \ 778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 779 ac_prev=cache_file ;; 780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 782 cache_file=$ac_optarg ;; 783 784 --config-cache | -C) 785 cache_file=config.cache ;; 786 787 -datadir | --datadir | --datadi | --datad) 788 ac_prev=datadir ;; 789 -datadir=* | --datadir=* | --datadi=* | --datad=*) 790 datadir=$ac_optarg ;; 791 792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 793 | --dataroo | --dataro | --datar) 794 ac_prev=datarootdir ;; 795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 797 datarootdir=$ac_optarg ;; 798 799 -disable-* | --disable-*) 800 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 801 # Reject names that are not valid shell variable names. 802 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 803 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 804 { (exit 1); exit 1; }; } 805 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 806 eval enable_$ac_feature=no ;; 807 808 -docdir | --docdir | --docdi | --doc | --do) 809 ac_prev=docdir ;; 810 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 811 docdir=$ac_optarg ;; 812 813 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 814 ac_prev=dvidir ;; 815 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 816 dvidir=$ac_optarg ;; 817 818 -enable-* | --enable-*) 819 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 820 # Reject names that are not valid shell variable names. 821 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 823 { (exit 1); exit 1; }; } 824 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 825 eval enable_$ac_feature=\$ac_optarg ;; 826 827 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 828 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 829 | --exec | --exe | --ex) 830 ac_prev=exec_prefix ;; 831 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 832 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 833 | --exec=* | --exe=* | --ex=*) 834 exec_prefix=$ac_optarg ;; 835 836 -gas | --gas | --ga | --g) 837 # Obsolete; use --with-gas. 838 with_gas=yes ;; 839 840 -help | --help | --hel | --he | -h) 841 ac_init_help=long ;; 842 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 843 ac_init_help=recursive ;; 844 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 845 ac_init_help=short ;; 846 847 -host | --host | --hos | --ho) 848 ac_prev=host_alias ;; 849 -host=* | --host=* | --hos=* | --ho=*) 850 host_alias=$ac_optarg ;; 851 852 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 853 ac_prev=htmldir ;; 854 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 855 | --ht=*) 856 htmldir=$ac_optarg ;; 857 858 -includedir | --includedir | --includedi | --included | --include \ 859 | --includ | --inclu | --incl | --inc) 860 ac_prev=includedir ;; 861 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 862 | --includ=* | --inclu=* | --incl=* | --inc=*) 863 includedir=$ac_optarg ;; 864 865 -infodir | --infodir | --infodi | --infod | --info | --inf) 866 ac_prev=infodir ;; 867 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 868 infodir=$ac_optarg ;; 869 870 -libdir | --libdir | --libdi | --libd) 871 ac_prev=libdir ;; 872 -libdir=* | --libdir=* | --libdi=* | --libd=*) 873 libdir=$ac_optarg ;; 874 875 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 876 | --libexe | --libex | --libe) 877 ac_prev=libexecdir ;; 878 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 879 | --libexe=* | --libex=* | --libe=*) 880 libexecdir=$ac_optarg ;; 881 882 -localedir | --localedir | --localedi | --localed | --locale) 883 ac_prev=localedir ;; 884 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 885 localedir=$ac_optarg ;; 886 887 -localstatedir | --localstatedir | --localstatedi | --localstated \ 888 | --localstate | --localstat | --localsta | --localst | --locals) 889 ac_prev=localstatedir ;; 890 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 891 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 892 localstatedir=$ac_optarg ;; 893 894 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 895 ac_prev=mandir ;; 896 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 897 mandir=$ac_optarg ;; 898 899 -nfp | --nfp | --nf) 900 # Obsolete; use --without-fp. 901 with_fp=no ;; 902 903 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 904 | --no-cr | --no-c | -n) 905 no_create=yes ;; 906 907 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 908 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 909 no_recursion=yes ;; 910 911 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 912 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 913 | --oldin | --oldi | --old | --ol | --o) 914 ac_prev=oldincludedir ;; 915 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 916 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 917 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 918 oldincludedir=$ac_optarg ;; 919 920 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 921 ac_prev=prefix ;; 922 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 923 prefix=$ac_optarg ;; 924 925 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 926 | --program-pre | --program-pr | --program-p) 927 ac_prev=program_prefix ;; 928 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 929 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 930 program_prefix=$ac_optarg ;; 931 932 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 933 | --program-suf | --program-su | --program-s) 934 ac_prev=program_suffix ;; 935 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 936 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 937 program_suffix=$ac_optarg ;; 938 939 -program-transform-name | --program-transform-name \ 940 | --program-transform-nam | --program-transform-na \ 941 | --program-transform-n | --program-transform- \ 942 | --program-transform | --program-transfor \ 943 | --program-transfo | --program-transf \ 944 | --program-trans | --program-tran \ 945 | --progr-tra | --program-tr | --program-t) 946 ac_prev=program_transform_name ;; 947 -program-transform-name=* | --program-transform-name=* \ 948 | --program-transform-nam=* | --program-transform-na=* \ 949 | --program-transform-n=* | --program-transform-=* \ 950 | --program-transform=* | --program-transfor=* \ 951 | --program-transfo=* | --program-transf=* \ 952 | --program-trans=* | --program-tran=* \ 953 | --progr-tra=* | --program-tr=* | --program-t=*) 954 program_transform_name=$ac_optarg ;; 955 956 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 957 ac_prev=pdfdir ;; 958 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 959 pdfdir=$ac_optarg ;; 960 961 -psdir | --psdir | --psdi | --psd | --ps) 962 ac_prev=psdir ;; 963 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 964 psdir=$ac_optarg ;; 965 966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 967 | -silent | --silent | --silen | --sile | --sil) 968 silent=yes ;; 969 970 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 971 ac_prev=sbindir ;; 972 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 973 | --sbi=* | --sb=*) 974 sbindir=$ac_optarg ;; 975 976 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 977 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 978 | --sharedst | --shareds | --shared | --share | --shar \ 979 | --sha | --sh) 980 ac_prev=sharedstatedir ;; 981 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 982 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 983 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 984 | --sha=* | --sh=*) 985 sharedstatedir=$ac_optarg ;; 986 987 -site | --site | --sit) 988 ac_prev=site ;; 989 -site=* | --site=* | --sit=*) 990 site=$ac_optarg ;; 991 992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 993 ac_prev=srcdir ;; 994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 995 srcdir=$ac_optarg ;; 996 997 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 998 | --syscon | --sysco | --sysc | --sys | --sy) 999 ac_prev=sysconfdir ;; 1000 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1001 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1002 sysconfdir=$ac_optarg ;; 1003 1004 -target | --target | --targe | --targ | --tar | --ta | --t) 1005 ac_prev=target_alias ;; 1006 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1007 target_alias=$ac_optarg ;; 1008 1009 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1010 verbose=yes ;; 1011 1012 -version | --version | --versio | --versi | --vers | -V) 1013 ac_init_version=: ;; 1014 1015 -with-* | --with-*) 1016 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1017 # Reject names that are not valid shell variable names. 1018 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1019 { echo "$as_me: error: invalid package name: $ac_package" >&2 1020 { (exit 1); exit 1; }; } 1021 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1022 eval with_$ac_package=\$ac_optarg ;; 1023 1024 -without-* | --without-*) 1025 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1026 # Reject names that are not valid shell variable names. 1027 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1028 { echo "$as_me: error: invalid package name: $ac_package" >&2 1029 { (exit 1); exit 1; }; } 1030 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1031 eval with_$ac_package=no ;; 1032 1033 --x) 1034 # Obsolete; use --with-x. 1035 with_x=yes ;; 1036 1037 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1038 | --x-incl | --x-inc | --x-in | --x-i) 1039 ac_prev=x_includes ;; 1040 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1041 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1042 x_includes=$ac_optarg ;; 1043 1044 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1045 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1046 ac_prev=x_libraries ;; 1047 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1048 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1049 x_libraries=$ac_optarg ;; 1050 1051 -*) { echo "$as_me: error: unrecognized option: $ac_option 1052Try \`$0 --help' for more information." >&2 1053 { (exit 1); exit 1; }; } 1054 ;; 1055 1056 *=*) 1057 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1058 # Reject names that are not valid shell variable names. 1059 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1060 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1061 { (exit 1); exit 1; }; } 1062 eval $ac_envvar=\$ac_optarg 1063 export $ac_envvar ;; 1064 1065 *) 1066 # FIXME: should be removed in autoconf 3.0. 1067 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1068 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1069 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1070 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1071 ;; 1072 1073 esac 1074done 1075 1076if test -n "$ac_prev"; then 1077 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1078 { echo "$as_me: error: missing argument to $ac_option" >&2 1079 { (exit 1); exit 1; }; } 1080fi 1081 1082# Be sure to have absolute directory names. 1083for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1084 datadir sysconfdir sharedstatedir localstatedir includedir \ 1085 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1086 libdir localedir mandir 1087do 1088 eval ac_val=\$$ac_var 1089 case $ac_val in 1090 [\\/$]* | ?:[\\/]* ) continue;; 1091 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1092 esac 1093 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1094 { (exit 1); exit 1; }; } 1095done 1096 1097# There might be people who depend on the old broken behavior: `$host' 1098# used to hold the argument of --host etc. 1099# FIXME: To remove some day. 1100build=$build_alias 1101host=$host_alias 1102target=$target_alias 1103 1104# FIXME: To remove some day. 1105if test "x$host_alias" != x; then 1106 if test "x$build_alias" = x; then 1107 cross_compiling=maybe 1108 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1109 If a cross compiler is detected then cross compile mode will be used." >&2 1110 elif test "x$build_alias" != "x$host_alias"; then 1111 cross_compiling=yes 1112 fi 1113fi 1114 1115ac_tool_prefix= 1116test -n "$host_alias" && ac_tool_prefix=$host_alias- 1117 1118test "$silent" = yes && exec 6>/dev/null 1119 1120 1121ac_pwd=`pwd` && test -n "$ac_pwd" && 1122ac_ls_di=`ls -di .` && 1123ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1124 { echo "$as_me: error: Working directory cannot be determined" >&2 1125 { (exit 1); exit 1; }; } 1126test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1127 { echo "$as_me: error: pwd does not report name of working directory" >&2 1128 { (exit 1); exit 1; }; } 1129 1130 1131# Find the source files, if location was not specified. 1132if test -z "$srcdir"; then 1133 ac_srcdir_defaulted=yes 1134 # Try the directory containing this script, then the parent directory. 1135 ac_confdir=`$as_dirname -- "$0" || 1136$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1137 X"$0" : 'X\(//\)[^/]' \| \ 1138 X"$0" : 'X\(//\)$' \| \ 1139 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1140echo X"$0" | 1141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1142 s//\1/ 1143 q 1144 } 1145 /^X\(\/\/\)[^/].*/{ 1146 s//\1/ 1147 q 1148 } 1149 /^X\(\/\/\)$/{ 1150 s//\1/ 1151 q 1152 } 1153 /^X\(\/\).*/{ 1154 s//\1/ 1155 q 1156 } 1157 s/.*/./; q'` 1158 srcdir=$ac_confdir 1159 if test ! -r "$srcdir/$ac_unique_file"; then 1160 srcdir=.. 1161 fi 1162else 1163 ac_srcdir_defaulted=no 1164fi 1165if test ! -r "$srcdir/$ac_unique_file"; then 1166 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1167 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1168 { (exit 1); exit 1; }; } 1169fi 1170ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1171ac_abs_confdir=`( 1172 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1173 { (exit 1); exit 1; }; } 1174 pwd)` 1175# When building in place, set srcdir=. 1176if test "$ac_abs_confdir" = "$ac_pwd"; then 1177 srcdir=. 1178fi 1179# Remove unnecessary trailing slashes from srcdir. 1180# Double slashes in file names in object file debugging info 1181# mess up M-x gdb in Emacs. 1182case $srcdir in 1183*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1184esac 1185for ac_var in $ac_precious_vars; do 1186 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1187 eval ac_env_${ac_var}_value=\$${ac_var} 1188 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1189 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1190done 1191 1192# 1193# Report the --help message. 1194# 1195if test "$ac_init_help" = "long"; then 1196 # Omit some internal or obsolete options to make the list less imposing. 1197 # This message is too long to be a string in the A/UX 3.1 sh. 1198 cat <<_ACEOF 1199\`configure' configures luit 1.0.3 to adapt to many kinds of systems. 1200 1201Usage: $0 [OPTION]... [VAR=VALUE]... 1202 1203To assign environment variables (e.g., CC, CFLAGS...), specify them as 1204VAR=VALUE. See below for descriptions of some of the useful variables. 1205 1206Defaults for the options are specified in brackets. 1207 1208Configuration: 1209 -h, --help display this help and exit 1210 --help=short display options specific to this package 1211 --help=recursive display the short help of all the included packages 1212 -V, --version display version information and exit 1213 -q, --quiet, --silent do not print \`checking...' messages 1214 --cache-file=FILE cache test results in FILE [disabled] 1215 -C, --config-cache alias for \`--cache-file=config.cache' 1216 -n, --no-create do not create output files 1217 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1218 1219Installation directories: 1220 --prefix=PREFIX install architecture-independent files in PREFIX 1221 [$ac_default_prefix] 1222 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1223 [PREFIX] 1224 1225By default, \`make install' will install all the files in 1226\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1227an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1228for instance \`--prefix=\$HOME'. 1229 1230For better control, use the options below. 1231 1232Fine tuning of the installation directories: 1233 --bindir=DIR user executables [EPREFIX/bin] 1234 --sbindir=DIR system admin executables [EPREFIX/sbin] 1235 --libexecdir=DIR program executables [EPREFIX/libexec] 1236 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1237 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1238 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1239 --libdir=DIR object code libraries [EPREFIX/lib] 1240 --includedir=DIR C header files [PREFIX/include] 1241 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1244 --infodir=DIR info documentation [DATAROOTDIR/info] 1245 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1246 --mandir=DIR man documentation [DATAROOTDIR/man] 1247 --docdir=DIR documentation root [DATAROOTDIR/doc/luit] 1248 --htmldir=DIR html documentation [DOCDIR] 1249 --dvidir=DIR dvi documentation [DOCDIR] 1250 --pdfdir=DIR pdf documentation [DOCDIR] 1251 --psdir=DIR ps documentation [DOCDIR] 1252_ACEOF 1253 1254 cat <<\_ACEOF 1255 1256Program names: 1257 --program-prefix=PREFIX prepend PREFIX to installed program names 1258 --program-suffix=SUFFIX append SUFFIX to installed program names 1259 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1260 1261System types: 1262 --build=BUILD configure for building on BUILD [guessed] 1263 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1264_ACEOF 1265fi 1266 1267if test -n "$ac_init_help"; then 1268 case $ac_init_help in 1269 short | recursive ) echo "Configuration of luit 1.0.3:";; 1270 esac 1271 cat <<\_ACEOF 1272 1273Optional Features: 1274 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1275 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1276 --enable-maintainer-mode enable make rules and dependencies not useful 1277 (and sometimes confusing) to the casual installer 1278 --disable-dependency-tracking speeds up one-time build 1279 --enable-dependency-tracking do not reject slow dependency extractors 1280 1281Optional Packages: 1282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1284 --with-localealiasfile=<path> 1285 The locale alias file (default: 1286 ${datadir}/X11/locale/locale.alias) 1287 --with-release-version=STRING 1288 Use release version string in package name 1289 1290Some influential environment variables: 1291 CC C compiler command 1292 CFLAGS C compiler flags 1293 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1294 nonstandard directory <lib dir> 1295 LIBS libraries to pass to the linker, e.g. -l<library> 1296 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1297 you have headers in a nonstandard directory <include dir> 1298 PKG_CONFIG path to pkg-config utility 1299 LUIT_CFLAGS C compiler flags for LUIT, overriding pkg-config 1300 LUIT_LIBS linker flags for LUIT, overriding pkg-config 1301 1302Use these variables to override the choices made by `configure' or to help 1303it to find libraries and programs with nonstandard names/locations. 1304 1305Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1306_ACEOF 1307ac_status=$? 1308fi 1309 1310if test "$ac_init_help" = "recursive"; then 1311 # If there are subdirs, report their specific --help. 1312 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1313 test -d "$ac_dir" || continue 1314 ac_builddir=. 1315 1316case "$ac_dir" in 1317.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1318*) 1319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1320 # A ".." for each directory in $ac_dir_suffix. 1321 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1322 case $ac_top_builddir_sub in 1323 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1324 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1325 esac ;; 1326esac 1327ac_abs_top_builddir=$ac_pwd 1328ac_abs_builddir=$ac_pwd$ac_dir_suffix 1329# for backward compatibility: 1330ac_top_builddir=$ac_top_build_prefix 1331 1332case $srcdir in 1333 .) # We are building in place. 1334 ac_srcdir=. 1335 ac_top_srcdir=$ac_top_builddir_sub 1336 ac_abs_top_srcdir=$ac_pwd ;; 1337 [\\/]* | ?:[\\/]* ) # Absolute name. 1338 ac_srcdir=$srcdir$ac_dir_suffix; 1339 ac_top_srcdir=$srcdir 1340 ac_abs_top_srcdir=$srcdir ;; 1341 *) # Relative name. 1342 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1343 ac_top_srcdir=$ac_top_build_prefix$srcdir 1344 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1345esac 1346ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1347 1348 cd "$ac_dir" || { ac_status=$?; continue; } 1349 # Check for guested configure. 1350 if test -f "$ac_srcdir/configure.gnu"; then 1351 echo && 1352 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1353 elif test -f "$ac_srcdir/configure"; then 1354 echo && 1355 $SHELL "$ac_srcdir/configure" --help=recursive 1356 else 1357 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1358 fi || ac_status=$? 1359 cd "$ac_pwd" || { ac_status=$?; break; } 1360 done 1361fi 1362 1363test -n "$ac_init_help" && exit $ac_status 1364if $ac_init_version; then 1365 cat <<\_ACEOF 1366luit configure 1.0.3 1367generated by GNU Autoconf 2.61 1368 1369Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13702002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1371This configure script is free software; the Free Software Foundation 1372gives unlimited permission to copy, distribute and modify it. 1373_ACEOF 1374 exit 1375fi 1376cat >config.log <<_ACEOF 1377This file contains any messages produced by compilers while 1378running configure, to aid debugging if configure makes a mistake. 1379 1380It was created by luit $as_me 1.0.3, which was 1381generated by GNU Autoconf 2.61. Invocation command line was 1382 1383 $ $0 $@ 1384 1385_ACEOF 1386exec 5>>config.log 1387{ 1388cat <<_ASUNAME 1389## --------- ## 1390## Platform. ## 1391## --------- ## 1392 1393hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1394uname -m = `(uname -m) 2>/dev/null || echo unknown` 1395uname -r = `(uname -r) 2>/dev/null || echo unknown` 1396uname -s = `(uname -s) 2>/dev/null || echo unknown` 1397uname -v = `(uname -v) 2>/dev/null || echo unknown` 1398 1399/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1400/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1401 1402/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1403/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1404/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1405/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1406/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1407/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1408/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1409 1410_ASUNAME 1411 1412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1413for as_dir in $PATH 1414do 1415 IFS=$as_save_IFS 1416 test -z "$as_dir" && as_dir=. 1417 echo "PATH: $as_dir" 1418done 1419IFS=$as_save_IFS 1420 1421} >&5 1422 1423cat >&5 <<_ACEOF 1424 1425 1426## ----------- ## 1427## Core tests. ## 1428## ----------- ## 1429 1430_ACEOF 1431 1432 1433# Keep a trace of the command line. 1434# Strip out --no-create and --no-recursion so they do not pile up. 1435# Strip out --silent because we don't want to record it for future runs. 1436# Also quote any args containing shell meta-characters. 1437# Make two passes to allow for proper duplicate-argument suppression. 1438ac_configure_args= 1439ac_configure_args0= 1440ac_configure_args1= 1441ac_must_keep_next=false 1442for ac_pass in 1 2 1443do 1444 for ac_arg 1445 do 1446 case $ac_arg in 1447 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1449 | -silent | --silent | --silen | --sile | --sil) 1450 continue ;; 1451 *\'*) 1452 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1453 esac 1454 case $ac_pass in 1455 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1456 2) 1457 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1458 if test $ac_must_keep_next = true; then 1459 ac_must_keep_next=false # Got value, back to normal. 1460 else 1461 case $ac_arg in 1462 *=* | --config-cache | -C | -disable-* | --disable-* \ 1463 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1464 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1465 | -with-* | --with-* | -without-* | --without-* | --x) 1466 case "$ac_configure_args0 " in 1467 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1468 esac 1469 ;; 1470 -* ) ac_must_keep_next=true ;; 1471 esac 1472 fi 1473 ac_configure_args="$ac_configure_args '$ac_arg'" 1474 ;; 1475 esac 1476 done 1477done 1478$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1479$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1480 1481# When interrupted or exit'd, cleanup temporary files, and complete 1482# config.log. We remove comments because anyway the quotes in there 1483# would cause problems or look ugly. 1484# WARNING: Use '\'' to represent an apostrophe within the trap. 1485# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1486trap 'exit_status=$? 1487 # Save into config.log some information that might help in debugging. 1488 { 1489 echo 1490 1491 cat <<\_ASBOX 1492## ---------------- ## 1493## Cache variables. ## 1494## ---------------- ## 1495_ASBOX 1496 echo 1497 # The following way of writing the cache mishandles newlines in values, 1498( 1499 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1500 eval ac_val=\$$ac_var 1501 case $ac_val in #( 1502 *${as_nl}*) 1503 case $ac_var in #( 1504 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1505echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1506 esac 1507 case $ac_var in #( 1508 _ | IFS | as_nl) ;; #( 1509 *) $as_unset $ac_var ;; 1510 esac ;; 1511 esac 1512 done 1513 (set) 2>&1 | 1514 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1515 *${as_nl}ac_space=\ *) 1516 sed -n \ 1517 "s/'\''/'\''\\\\'\'''\''/g; 1518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1519 ;; #( 1520 *) 1521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1522 ;; 1523 esac | 1524 sort 1525) 1526 echo 1527 1528 cat <<\_ASBOX 1529## ----------------- ## 1530## Output variables. ## 1531## ----------------- ## 1532_ASBOX 1533 echo 1534 for ac_var in $ac_subst_vars 1535 do 1536 eval ac_val=\$$ac_var 1537 case $ac_val in 1538 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1539 esac 1540 echo "$ac_var='\''$ac_val'\''" 1541 done | sort 1542 echo 1543 1544 if test -n "$ac_subst_files"; then 1545 cat <<\_ASBOX 1546## ------------------- ## 1547## File substitutions. ## 1548## ------------------- ## 1549_ASBOX 1550 echo 1551 for ac_var in $ac_subst_files 1552 do 1553 eval ac_val=\$$ac_var 1554 case $ac_val in 1555 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1556 esac 1557 echo "$ac_var='\''$ac_val'\''" 1558 done | sort 1559 echo 1560 fi 1561 1562 if test -s confdefs.h; then 1563 cat <<\_ASBOX 1564## ----------- ## 1565## confdefs.h. ## 1566## ----------- ## 1567_ASBOX 1568 echo 1569 cat confdefs.h 1570 echo 1571 fi 1572 test "$ac_signal" != 0 && 1573 echo "$as_me: caught signal $ac_signal" 1574 echo "$as_me: exit $exit_status" 1575 } >&5 1576 rm -f core *.core core.conftest.* && 1577 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1578 exit $exit_status 1579' 0 1580for ac_signal in 1 2 13 15; do 1581 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1582done 1583ac_signal=0 1584 1585# confdefs.h avoids OS command line length limits that DEFS can exceed. 1586rm -f -r conftest* confdefs.h 1587 1588# Predefined preprocessor variables. 1589 1590cat >>confdefs.h <<_ACEOF 1591#define PACKAGE_NAME "$PACKAGE_NAME" 1592_ACEOF 1593 1594 1595cat >>confdefs.h <<_ACEOF 1596#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1597_ACEOF 1598 1599 1600cat >>confdefs.h <<_ACEOF 1601#define PACKAGE_VERSION "$PACKAGE_VERSION" 1602_ACEOF 1603 1604 1605cat >>confdefs.h <<_ACEOF 1606#define PACKAGE_STRING "$PACKAGE_STRING" 1607_ACEOF 1608 1609 1610cat >>confdefs.h <<_ACEOF 1611#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1612_ACEOF 1613 1614 1615# Let the site file select an alternate cache file if it wants to. 1616# Prefer explicitly selected file to automatically selected ones. 1617if test -n "$CONFIG_SITE"; then 1618 set x "$CONFIG_SITE" 1619elif test "x$prefix" != xNONE; then 1620 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1621else 1622 set x "$ac_default_prefix/share/config.site" \ 1623 "$ac_default_prefix/etc/config.site" 1624fi 1625shift 1626for ac_site_file 1627do 1628 if test -r "$ac_site_file"; then 1629 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1630echo "$as_me: loading site script $ac_site_file" >&6;} 1631 sed 's/^/| /' "$ac_site_file" >&5 1632 . "$ac_site_file" 1633 fi 1634done 1635 1636if test -r "$cache_file"; then 1637 # Some versions of bash will fail to source /dev/null (special 1638 # files actually), so we avoid doing that. 1639 if test -f "$cache_file"; then 1640 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1641echo "$as_me: loading cache $cache_file" >&6;} 1642 case $cache_file in 1643 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1644 *) . "./$cache_file";; 1645 esac 1646 fi 1647else 1648 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1649echo "$as_me: creating cache $cache_file" >&6;} 1650 >$cache_file 1651fi 1652 1653# Check that the precious variables saved in the cache have kept the same 1654# value. 1655ac_cache_corrupted=false 1656for ac_var in $ac_precious_vars; do 1657 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1658 eval ac_new_set=\$ac_env_${ac_var}_set 1659 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1660 eval ac_new_val=\$ac_env_${ac_var}_value 1661 case $ac_old_set,$ac_new_set in 1662 set,) 1663 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1664echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1665 ac_cache_corrupted=: ;; 1666 ,set) 1667 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1668echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1669 ac_cache_corrupted=: ;; 1670 ,);; 1671 *) 1672 if test "x$ac_old_val" != "x$ac_new_val"; then 1673 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1674echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1675 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1676echo "$as_me: former value: $ac_old_val" >&2;} 1677 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1678echo "$as_me: current value: $ac_new_val" >&2;} 1679 ac_cache_corrupted=: 1680 fi;; 1681 esac 1682 # Pass precious variables to config.status. 1683 if test "$ac_new_set" = set; then 1684 case $ac_new_val in 1685 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1686 *) ac_arg=$ac_var=$ac_new_val ;; 1687 esac 1688 case " $ac_configure_args " in 1689 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1690 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1691 esac 1692 fi 1693done 1694if $ac_cache_corrupted; then 1695 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1696echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1697 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1698echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1699 { (exit 1); exit 1; }; } 1700fi 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726ac_ext=c 1727ac_cpp='$CPP $CPPFLAGS' 1728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1730ac_compiler_gnu=$ac_cv_c_compiler_gnu 1731 1732 1733am__api_version='1.10' 1734 1735ac_aux_dir= 1736for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1737 if test -f "$ac_dir/install-sh"; then 1738 ac_aux_dir=$ac_dir 1739 ac_install_sh="$ac_aux_dir/install-sh -c" 1740 break 1741 elif test -f "$ac_dir/install.sh"; then 1742 ac_aux_dir=$ac_dir 1743 ac_install_sh="$ac_aux_dir/install.sh -c" 1744 break 1745 elif test -f "$ac_dir/shtool"; then 1746 ac_aux_dir=$ac_dir 1747 ac_install_sh="$ac_aux_dir/shtool install -c" 1748 break 1749 fi 1750done 1751if test -z "$ac_aux_dir"; then 1752 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1753echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1754 { (exit 1); exit 1; }; } 1755fi 1756 1757# These three variables are undocumented and unsupported, 1758# and are intended to be withdrawn in a future Autoconf release. 1759# They can cause serious problems if a builder's source tree is in a directory 1760# whose full name contains unusual characters. 1761ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1762ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1763ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1764 1765 1766# Find a good install program. We prefer a C program (faster), 1767# so one script is as good as another. But avoid the broken or 1768# incompatible versions: 1769# SysV /etc/install, /usr/sbin/install 1770# SunOS /usr/etc/install 1771# IRIX /sbin/install 1772# AIX /bin/install 1773# AmigaOS /C/install, which installs bootblocks on floppy discs 1774# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1775# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1776# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1777# OS/2's system install, which has a completely different semantic 1778# ./install, which can be erroneously created by make from ./install.sh. 1779{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1780echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1781if test -z "$INSTALL"; then 1782if test "${ac_cv_path_install+set}" = set; then 1783 echo $ECHO_N "(cached) $ECHO_C" >&6 1784else 1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1786for as_dir in $PATH 1787do 1788 IFS=$as_save_IFS 1789 test -z "$as_dir" && as_dir=. 1790 # Account for people who put trailing slashes in PATH elements. 1791case $as_dir/ in 1792 ./ | .// | /cC/* | \ 1793 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1794 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1795 /usr/ucb/* ) ;; 1796 *) 1797 # OSF1 and SCO ODT 3.0 have their own names for install. 1798 # Don't use installbsd from OSF since it installs stuff as root 1799 # by default. 1800 for ac_prog in ginstall scoinst install; do 1801 for ac_exec_ext in '' $ac_executable_extensions; do 1802 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1803 if test $ac_prog = install && 1804 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1805 # AIX install. It has an incompatible calling convention. 1806 : 1807 elif test $ac_prog = install && 1808 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1809 # program-specific install script used by HP pwplus--don't use. 1810 : 1811 else 1812 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1813 break 3 1814 fi 1815 fi 1816 done 1817 done 1818 ;; 1819esac 1820done 1821IFS=$as_save_IFS 1822 1823 1824fi 1825 if test "${ac_cv_path_install+set}" = set; then 1826 INSTALL=$ac_cv_path_install 1827 else 1828 # As a last resort, use the slow shell script. Don't cache a 1829 # value for INSTALL within a source directory, because that will 1830 # break other packages using the cache if that directory is 1831 # removed, or if the value is a relative name. 1832 INSTALL=$ac_install_sh 1833 fi 1834fi 1835{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1836echo "${ECHO_T}$INSTALL" >&6; } 1837 1838# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1839# It thinks the first close brace ends the variable substitution. 1840test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1841 1842test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1843 1844test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1845 1846{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1847echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1848# Just in case 1849sleep 1 1850echo timestamp > conftest.file 1851# Do `set' in a subshell so we don't clobber the current shell's 1852# arguments. Must try -L first in case configure is actually a 1853# symlink; some systems play weird games with the mod time of symlinks 1854# (eg FreeBSD returns the mod time of the symlink's containing 1855# directory). 1856if ( 1857 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1858 if test "$*" = "X"; then 1859 # -L didn't work. 1860 set X `ls -t $srcdir/configure conftest.file` 1861 fi 1862 rm -f conftest.file 1863 if test "$*" != "X $srcdir/configure conftest.file" \ 1864 && test "$*" != "X conftest.file $srcdir/configure"; then 1865 1866 # If neither matched, then we have a broken ls. This can happen 1867 # if, for instance, CONFIG_SHELL is bash and it inherits a 1868 # broken ls alias from the environment. This has actually 1869 # happened. Such a system could not be considered "sane". 1870 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1871alias in your environment" >&5 1872echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1873alias in your environment" >&2;} 1874 { (exit 1); exit 1; }; } 1875 fi 1876 1877 test "$2" = conftest.file 1878 ) 1879then 1880 # Ok. 1881 : 1882else 1883 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1884Check your system clock" >&5 1885echo "$as_me: error: newly created file is older than distributed files! 1886Check your system clock" >&2;} 1887 { (exit 1); exit 1; }; } 1888fi 1889{ echo "$as_me:$LINENO: result: yes" >&5 1890echo "${ECHO_T}yes" >&6; } 1891test "$program_prefix" != NONE && 1892 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1893# Use a double $ so make ignores it. 1894test "$program_suffix" != NONE && 1895 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1896# Double any \ or $. echo might interpret backslashes. 1897# By default was `s,x,x', remove it if useless. 1898cat <<\_ACEOF >conftest.sed 1899s/[\\$]/&&/g;s/;s,x,x,$// 1900_ACEOF 1901program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1902rm -f conftest.sed 1903 1904# expand $ac_aux_dir to an absolute path 1905am_aux_dir=`cd $ac_aux_dir && pwd` 1906 1907test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1908# Use eval to expand $SHELL 1909if eval "$MISSING --run true"; then 1910 am_missing_run="$MISSING --run " 1911else 1912 am_missing_run= 1913 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1914echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1915fi 1916 1917{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1918echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1919if test -z "$MKDIR_P"; then 1920 if test "${ac_cv_path_mkdir+set}" = set; then 1921 echo $ECHO_N "(cached) $ECHO_C" >&6 1922else 1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1924for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1925do 1926 IFS=$as_save_IFS 1927 test -z "$as_dir" && as_dir=. 1928 for ac_prog in mkdir gmkdir; do 1929 for ac_exec_ext in '' $ac_executable_extensions; do 1930 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1931 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1932 'mkdir (GNU coreutils) '* | \ 1933 'mkdir (coreutils) '* | \ 1934 'mkdir (fileutils) '4.1*) 1935 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1936 break 3;; 1937 esac 1938 done 1939 done 1940done 1941IFS=$as_save_IFS 1942 1943fi 1944 1945 if test "${ac_cv_path_mkdir+set}" = set; then 1946 MKDIR_P="$ac_cv_path_mkdir -p" 1947 else 1948 # As a last resort, use the slow shell script. Don't cache a 1949 # value for MKDIR_P within a source directory, because that will 1950 # break other packages using the cache if that directory is 1951 # removed, or if the value is a relative name. 1952 test -d ./--version && rmdir ./--version 1953 MKDIR_P="$ac_install_sh -d" 1954 fi 1955fi 1956{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1957echo "${ECHO_T}$MKDIR_P" >&6; } 1958 1959mkdir_p="$MKDIR_P" 1960case $mkdir_p in 1961 [\\/$]* | ?:[\\/]*) ;; 1962 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1963esac 1964 1965for ac_prog in gawk mawk nawk awk 1966do 1967 # Extract the first word of "$ac_prog", so it can be a program name with args. 1968set dummy $ac_prog; ac_word=$2 1969{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1971if test "${ac_cv_prog_AWK+set}" = set; then 1972 echo $ECHO_N "(cached) $ECHO_C" >&6 1973else 1974 if test -n "$AWK"; then 1975 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1976else 1977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1978for as_dir in $PATH 1979do 1980 IFS=$as_save_IFS 1981 test -z "$as_dir" && as_dir=. 1982 for ac_exec_ext in '' $ac_executable_extensions; do 1983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1984 ac_cv_prog_AWK="$ac_prog" 1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1986 break 2 1987 fi 1988done 1989done 1990IFS=$as_save_IFS 1991 1992fi 1993fi 1994AWK=$ac_cv_prog_AWK 1995if test -n "$AWK"; then 1996 { echo "$as_me:$LINENO: result: $AWK" >&5 1997echo "${ECHO_T}$AWK" >&6; } 1998else 1999 { echo "$as_me:$LINENO: result: no" >&5 2000echo "${ECHO_T}no" >&6; } 2001fi 2002 2003 2004 test -n "$AWK" && break 2005done 2006 2007{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2008echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2009set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2010if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2011 echo $ECHO_N "(cached) $ECHO_C" >&6 2012else 2013 cat >conftest.make <<\_ACEOF 2014SHELL = /bin/sh 2015all: 2016 @echo '@@@%%%=$(MAKE)=@@@%%%' 2017_ACEOF 2018# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2019case `${MAKE-make} -f conftest.make 2>/dev/null` in 2020 *@@@%%%=?*=@@@%%%*) 2021 eval ac_cv_prog_make_${ac_make}_set=yes;; 2022 *) 2023 eval ac_cv_prog_make_${ac_make}_set=no;; 2024esac 2025rm -f conftest.make 2026fi 2027if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2028 { echo "$as_me:$LINENO: result: yes" >&5 2029echo "${ECHO_T}yes" >&6; } 2030 SET_MAKE= 2031else 2032 { echo "$as_me:$LINENO: result: no" >&5 2033echo "${ECHO_T}no" >&6; } 2034 SET_MAKE="MAKE=${MAKE-make}" 2035fi 2036 2037rm -rf .tst 2>/dev/null 2038mkdir .tst 2>/dev/null 2039if test -d .tst; then 2040 am__leading_dot=. 2041else 2042 am__leading_dot=_ 2043fi 2044rmdir .tst 2>/dev/null 2045 2046if test "`cd $srcdir && pwd`" != "`pwd`"; then 2047 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2048 # is not polluted with repeated "-I." 2049 am__isrc=' -I$(srcdir)' 2050 # test to see if srcdir already configured 2051 if test -f $srcdir/config.status; then 2052 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2053echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2054 { (exit 1); exit 1; }; } 2055 fi 2056fi 2057 2058# test whether we have cygpath 2059if test -z "$CYGPATH_W"; then 2060 if (cygpath --version) >/dev/null 2>/dev/null; then 2061 CYGPATH_W='cygpath -w' 2062 else 2063 CYGPATH_W=echo 2064 fi 2065fi 2066 2067 2068# Define the identity of the package. 2069 PACKAGE='luit' 2070 VERSION='1.0.3' 2071 2072 2073cat >>confdefs.h <<_ACEOF 2074#define PACKAGE "$PACKAGE" 2075_ACEOF 2076 2077 2078cat >>confdefs.h <<_ACEOF 2079#define VERSION "$VERSION" 2080_ACEOF 2081 2082# Some tools Automake needs. 2083 2084ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2085 2086 2087AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2088 2089 2090AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2091 2092 2093AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2094 2095 2096MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2097 2098install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2099 2100# Installed binaries are usually stripped using `strip' when the user 2101# run `make install-strip'. However `strip' might not be the right 2102# tool to use in cross-compilation environments, therefore Automake 2103# will honor the `STRIP' environment variable to overrule this program. 2104if test "$cross_compiling" != no; then 2105 if test -n "$ac_tool_prefix"; then 2106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2107set dummy ${ac_tool_prefix}strip; ac_word=$2 2108{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2109echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2110if test "${ac_cv_prog_STRIP+set}" = set; then 2111 echo $ECHO_N "(cached) $ECHO_C" >&6 2112else 2113 if test -n "$STRIP"; then 2114 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2115else 2116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2117for as_dir in $PATH 2118do 2119 IFS=$as_save_IFS 2120 test -z "$as_dir" && as_dir=. 2121 for ac_exec_ext in '' $ac_executable_extensions; do 2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2123 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2125 break 2 2126 fi 2127done 2128done 2129IFS=$as_save_IFS 2130 2131fi 2132fi 2133STRIP=$ac_cv_prog_STRIP 2134if test -n "$STRIP"; then 2135 { echo "$as_me:$LINENO: result: $STRIP" >&5 2136echo "${ECHO_T}$STRIP" >&6; } 2137else 2138 { echo "$as_me:$LINENO: result: no" >&5 2139echo "${ECHO_T}no" >&6; } 2140fi 2141 2142 2143fi 2144if test -z "$ac_cv_prog_STRIP"; then 2145 ac_ct_STRIP=$STRIP 2146 # Extract the first word of "strip", so it can be a program name with args. 2147set dummy strip; ac_word=$2 2148{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2149echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2150if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2151 echo $ECHO_N "(cached) $ECHO_C" >&6 2152else 2153 if test -n "$ac_ct_STRIP"; then 2154 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2155else 2156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2157for as_dir in $PATH 2158do 2159 IFS=$as_save_IFS 2160 test -z "$as_dir" && as_dir=. 2161 for ac_exec_ext in '' $ac_executable_extensions; do 2162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2163 ac_cv_prog_ac_ct_STRIP="strip" 2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2165 break 2 2166 fi 2167done 2168done 2169IFS=$as_save_IFS 2170 2171fi 2172fi 2173ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2174if test -n "$ac_ct_STRIP"; then 2175 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2176echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2177else 2178 { echo "$as_me:$LINENO: result: no" >&5 2179echo "${ECHO_T}no" >&6; } 2180fi 2181 2182 if test "x$ac_ct_STRIP" = x; then 2183 STRIP=":" 2184 else 2185 case $cross_compiling:$ac_tool_warned in 2186yes:) 2187{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2188whose name does not start with the host triplet. If you think this 2189configuration is useful to you, please write to autoconf@gnu.org." >&5 2190echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2191whose name does not start with the host triplet. If you think this 2192configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2193ac_tool_warned=yes ;; 2194esac 2195 STRIP=$ac_ct_STRIP 2196 fi 2197else 2198 STRIP="$ac_cv_prog_STRIP" 2199fi 2200 2201fi 2202INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2203 2204# We need awk for the "check" target. The system "awk" is bad on 2205# some platforms. 2206# Always define AMTAR for backward compatibility. 2207 2208AMTAR=${AMTAR-"${am_missing_run}tar"} 2209 2210am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2211 2212 2213 2214 2215 2216{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2217echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2218 # Check whether --enable-maintainer-mode was given. 2219if test "${enable_maintainer_mode+set}" = set; then 2220 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2221else 2222 USE_MAINTAINER_MODE=no 2223fi 2224 2225 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2226echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2227 if test $USE_MAINTAINER_MODE = yes; then 2228 MAINTAINER_MODE_TRUE= 2229 MAINTAINER_MODE_FALSE='#' 2230else 2231 MAINTAINER_MODE_TRUE='#' 2232 MAINTAINER_MODE_FALSE= 2233fi 2234 2235 MAINT=$MAINTAINER_MODE_TRUE 2236 2237 2238 2239ac_config_headers="$ac_config_headers config.h" 2240 2241 2242ac_ext=c 2243ac_cpp='$CPP $CPPFLAGS' 2244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2246ac_compiler_gnu=$ac_cv_c_compiler_gnu 2247if test -n "$ac_tool_prefix"; then 2248 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2249set dummy ${ac_tool_prefix}gcc; ac_word=$2 2250{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2251echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2252if test "${ac_cv_prog_CC+set}" = set; then 2253 echo $ECHO_N "(cached) $ECHO_C" >&6 2254else 2255 if test -n "$CC"; then 2256 ac_cv_prog_CC="$CC" # Let the user override the test. 2257else 2258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2259for as_dir in $PATH 2260do 2261 IFS=$as_save_IFS 2262 test -z "$as_dir" && as_dir=. 2263 for ac_exec_ext in '' $ac_executable_extensions; do 2264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2265 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2267 break 2 2268 fi 2269done 2270done 2271IFS=$as_save_IFS 2272 2273fi 2274fi 2275CC=$ac_cv_prog_CC 2276if test -n "$CC"; then 2277 { echo "$as_me:$LINENO: result: $CC" >&5 2278echo "${ECHO_T}$CC" >&6; } 2279else 2280 { echo "$as_me:$LINENO: result: no" >&5 2281echo "${ECHO_T}no" >&6; } 2282fi 2283 2284 2285fi 2286if test -z "$ac_cv_prog_CC"; then 2287 ac_ct_CC=$CC 2288 # Extract the first word of "gcc", so it can be a program name with args. 2289set dummy gcc; ac_word=$2 2290{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2291echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2292if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2293 echo $ECHO_N "(cached) $ECHO_C" >&6 2294else 2295 if test -n "$ac_ct_CC"; then 2296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2297else 2298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2299for as_dir in $PATH 2300do 2301 IFS=$as_save_IFS 2302 test -z "$as_dir" && as_dir=. 2303 for ac_exec_ext in '' $ac_executable_extensions; do 2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2305 ac_cv_prog_ac_ct_CC="gcc" 2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2307 break 2 2308 fi 2309done 2310done 2311IFS=$as_save_IFS 2312 2313fi 2314fi 2315ac_ct_CC=$ac_cv_prog_ac_ct_CC 2316if test -n "$ac_ct_CC"; then 2317 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2318echo "${ECHO_T}$ac_ct_CC" >&6; } 2319else 2320 { echo "$as_me:$LINENO: result: no" >&5 2321echo "${ECHO_T}no" >&6; } 2322fi 2323 2324 if test "x$ac_ct_CC" = x; then 2325 CC="" 2326 else 2327 case $cross_compiling:$ac_tool_warned in 2328yes:) 2329{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2330whose name does not start with the host triplet. If you think this 2331configuration is useful to you, please write to autoconf@gnu.org." >&5 2332echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2333whose name does not start with the host triplet. If you think this 2334configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2335ac_tool_warned=yes ;; 2336esac 2337 CC=$ac_ct_CC 2338 fi 2339else 2340 CC="$ac_cv_prog_CC" 2341fi 2342 2343if test -z "$CC"; then 2344 if test -n "$ac_tool_prefix"; then 2345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2346set dummy ${ac_tool_prefix}cc; ac_word=$2 2347{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2348echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2349if test "${ac_cv_prog_CC+set}" = set; then 2350 echo $ECHO_N "(cached) $ECHO_C" >&6 2351else 2352 if test -n "$CC"; then 2353 ac_cv_prog_CC="$CC" # Let the user override the test. 2354else 2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2356for as_dir in $PATH 2357do 2358 IFS=$as_save_IFS 2359 test -z "$as_dir" && as_dir=. 2360 for ac_exec_ext in '' $ac_executable_extensions; do 2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2362 ac_cv_prog_CC="${ac_tool_prefix}cc" 2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2364 break 2 2365 fi 2366done 2367done 2368IFS=$as_save_IFS 2369 2370fi 2371fi 2372CC=$ac_cv_prog_CC 2373if test -n "$CC"; then 2374 { echo "$as_me:$LINENO: result: $CC" >&5 2375echo "${ECHO_T}$CC" >&6; } 2376else 2377 { echo "$as_me:$LINENO: result: no" >&5 2378echo "${ECHO_T}no" >&6; } 2379fi 2380 2381 2382 fi 2383fi 2384if test -z "$CC"; then 2385 # Extract the first word of "cc", so it can be a program name with args. 2386set dummy cc; ac_word=$2 2387{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2388echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2389if test "${ac_cv_prog_CC+set}" = set; then 2390 echo $ECHO_N "(cached) $ECHO_C" >&6 2391else 2392 if test -n "$CC"; then 2393 ac_cv_prog_CC="$CC" # Let the user override the test. 2394else 2395 ac_prog_rejected=no 2396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2397for as_dir in $PATH 2398do 2399 IFS=$as_save_IFS 2400 test -z "$as_dir" && as_dir=. 2401 for ac_exec_ext in '' $ac_executable_extensions; do 2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2404 ac_prog_rejected=yes 2405 continue 2406 fi 2407 ac_cv_prog_CC="cc" 2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2409 break 2 2410 fi 2411done 2412done 2413IFS=$as_save_IFS 2414 2415if test $ac_prog_rejected = yes; then 2416 # We found a bogon in the path, so make sure we never use it. 2417 set dummy $ac_cv_prog_CC 2418 shift 2419 if test $# != 0; then 2420 # We chose a different compiler from the bogus one. 2421 # However, it has the same basename, so the bogon will be chosen 2422 # first if we set CC to just the basename; use the full file name. 2423 shift 2424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2425 fi 2426fi 2427fi 2428fi 2429CC=$ac_cv_prog_CC 2430if test -n "$CC"; then 2431 { echo "$as_me:$LINENO: result: $CC" >&5 2432echo "${ECHO_T}$CC" >&6; } 2433else 2434 { echo "$as_me:$LINENO: result: no" >&5 2435echo "${ECHO_T}no" >&6; } 2436fi 2437 2438 2439fi 2440if test -z "$CC"; then 2441 if test -n "$ac_tool_prefix"; then 2442 for ac_prog in cl.exe 2443 do 2444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2445set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2446{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2447echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2448if test "${ac_cv_prog_CC+set}" = set; then 2449 echo $ECHO_N "(cached) $ECHO_C" >&6 2450else 2451 if test -n "$CC"; then 2452 ac_cv_prog_CC="$CC" # Let the user override the test. 2453else 2454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2455for as_dir in $PATH 2456do 2457 IFS=$as_save_IFS 2458 test -z "$as_dir" && as_dir=. 2459 for ac_exec_ext in '' $ac_executable_extensions; do 2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2463 break 2 2464 fi 2465done 2466done 2467IFS=$as_save_IFS 2468 2469fi 2470fi 2471CC=$ac_cv_prog_CC 2472if test -n "$CC"; then 2473 { echo "$as_me:$LINENO: result: $CC" >&5 2474echo "${ECHO_T}$CC" >&6; } 2475else 2476 { echo "$as_me:$LINENO: result: no" >&5 2477echo "${ECHO_T}no" >&6; } 2478fi 2479 2480 2481 test -n "$CC" && break 2482 done 2483fi 2484if test -z "$CC"; then 2485 ac_ct_CC=$CC 2486 for ac_prog in cl.exe 2487do 2488 # Extract the first word of "$ac_prog", so it can be a program name with args. 2489set dummy $ac_prog; ac_word=$2 2490{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2491echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2492if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2493 echo $ECHO_N "(cached) $ECHO_C" >&6 2494else 2495 if test -n "$ac_ct_CC"; then 2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2497else 2498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2499for as_dir in $PATH 2500do 2501 IFS=$as_save_IFS 2502 test -z "$as_dir" && as_dir=. 2503 for ac_exec_ext in '' $ac_executable_extensions; do 2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2505 ac_cv_prog_ac_ct_CC="$ac_prog" 2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2507 break 2 2508 fi 2509done 2510done 2511IFS=$as_save_IFS 2512 2513fi 2514fi 2515ac_ct_CC=$ac_cv_prog_ac_ct_CC 2516if test -n "$ac_ct_CC"; then 2517 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2518echo "${ECHO_T}$ac_ct_CC" >&6; } 2519else 2520 { echo "$as_me:$LINENO: result: no" >&5 2521echo "${ECHO_T}no" >&6; } 2522fi 2523 2524 2525 test -n "$ac_ct_CC" && break 2526done 2527 2528 if test "x$ac_ct_CC" = x; then 2529 CC="" 2530 else 2531 case $cross_compiling:$ac_tool_warned in 2532yes:) 2533{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2534whose name does not start with the host triplet. If you think this 2535configuration is useful to you, please write to autoconf@gnu.org." >&5 2536echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2537whose name does not start with the host triplet. If you think this 2538configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2539ac_tool_warned=yes ;; 2540esac 2541 CC=$ac_ct_CC 2542 fi 2543fi 2544 2545fi 2546 2547 2548test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2549See \`config.log' for more details." >&5 2550echo "$as_me: error: no acceptable C compiler found in \$PATH 2551See \`config.log' for more details." >&2;} 2552 { (exit 1); exit 1; }; } 2553 2554# Provide some information about the compiler. 2555echo "$as_me:$LINENO: checking for C compiler version" >&5 2556ac_compiler=`set X $ac_compile; echo $2` 2557{ (ac_try="$ac_compiler --version >&5" 2558case "(($ac_try" in 2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2560 *) ac_try_echo=$ac_try;; 2561esac 2562eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2563 (eval "$ac_compiler --version >&5") 2>&5 2564 ac_status=$? 2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2566 (exit $ac_status); } 2567{ (ac_try="$ac_compiler -v >&5" 2568case "(($ac_try" in 2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2570 *) ac_try_echo=$ac_try;; 2571esac 2572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2573 (eval "$ac_compiler -v >&5") 2>&5 2574 ac_status=$? 2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2576 (exit $ac_status); } 2577{ (ac_try="$ac_compiler -V >&5" 2578case "(($ac_try" in 2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2580 *) ac_try_echo=$ac_try;; 2581esac 2582eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2583 (eval "$ac_compiler -V >&5") 2>&5 2584 ac_status=$? 2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 (exit $ac_status); } 2587 2588cat >conftest.$ac_ext <<_ACEOF 2589/* confdefs.h. */ 2590_ACEOF 2591cat confdefs.h >>conftest.$ac_ext 2592cat >>conftest.$ac_ext <<_ACEOF 2593/* end confdefs.h. */ 2594 2595int 2596main () 2597{ 2598 2599 ; 2600 return 0; 2601} 2602_ACEOF 2603ac_clean_files_save=$ac_clean_files 2604ac_clean_files="$ac_clean_files a.out a.exe b.out" 2605# Try to create an executable without -o first, disregard a.out. 2606# It will help us diagnose broken compilers, and finding out an intuition 2607# of exeext. 2608{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2609echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2610ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2611# 2612# List of possible output files, starting from the most likely. 2613# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2614# only as a last resort. b.out is created by i960 compilers. 2615ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2616# 2617# The IRIX 6 linker writes into existing files which may not be 2618# executable, retaining their permissions. Remove them first so a 2619# subsequent execution test works. 2620ac_rmfiles= 2621for ac_file in $ac_files 2622do 2623 case $ac_file in 2624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2625 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2626 esac 2627done 2628rm -f $ac_rmfiles 2629 2630if { (ac_try="$ac_link_default" 2631case "(($ac_try" in 2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2633 *) ac_try_echo=$ac_try;; 2634esac 2635eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2636 (eval "$ac_link_default") 2>&5 2637 ac_status=$? 2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2639 (exit $ac_status); }; then 2640 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2641# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2642# in a Makefile. We should not override ac_cv_exeext if it was cached, 2643# so that the user can short-circuit this test for compilers unknown to 2644# Autoconf. 2645for ac_file in $ac_files '' 2646do 2647 test -f "$ac_file" || continue 2648 case $ac_file in 2649 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2650 ;; 2651 [ab].out ) 2652 # We found the default executable, but exeext='' is most 2653 # certainly right. 2654 break;; 2655 *.* ) 2656 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2657 then :; else 2658 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2659 fi 2660 # We set ac_cv_exeext here because the later test for it is not 2661 # safe: cross compilers may not add the suffix if given an `-o' 2662 # argument, so we may need to know it at that point already. 2663 # Even if this section looks crufty: it has the advantage of 2664 # actually working. 2665 break;; 2666 * ) 2667 break;; 2668 esac 2669done 2670test "$ac_cv_exeext" = no && ac_cv_exeext= 2671 2672else 2673 ac_file='' 2674fi 2675 2676{ echo "$as_me:$LINENO: result: $ac_file" >&5 2677echo "${ECHO_T}$ac_file" >&6; } 2678if test -z "$ac_file"; then 2679 echo "$as_me: failed program was:" >&5 2680sed 's/^/| /' conftest.$ac_ext >&5 2681 2682{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2683See \`config.log' for more details." >&5 2684echo "$as_me: error: C compiler cannot create executables 2685See \`config.log' for more details." >&2;} 2686 { (exit 77); exit 77; }; } 2687fi 2688 2689ac_exeext=$ac_cv_exeext 2690 2691# Check that the compiler produces executables we can run. If not, either 2692# the compiler is broken, or we cross compile. 2693{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2694echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2695# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2696# If not cross compiling, check that we can run a simple program. 2697if test "$cross_compiling" != yes; then 2698 if { ac_try='./$ac_file' 2699 { (case "(($ac_try" in 2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2701 *) ac_try_echo=$ac_try;; 2702esac 2703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2704 (eval "$ac_try") 2>&5 2705 ac_status=$? 2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2707 (exit $ac_status); }; }; then 2708 cross_compiling=no 2709 else 2710 if test "$cross_compiling" = maybe; then 2711 cross_compiling=yes 2712 else 2713 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2714If you meant to cross compile, use \`--host'. 2715See \`config.log' for more details." >&5 2716echo "$as_me: error: cannot run C compiled programs. 2717If you meant to cross compile, use \`--host'. 2718See \`config.log' for more details." >&2;} 2719 { (exit 1); exit 1; }; } 2720 fi 2721 fi 2722fi 2723{ echo "$as_me:$LINENO: result: yes" >&5 2724echo "${ECHO_T}yes" >&6; } 2725 2726rm -f a.out a.exe conftest$ac_cv_exeext b.out 2727ac_clean_files=$ac_clean_files_save 2728# Check that the compiler produces executables we can run. If not, either 2729# the compiler is broken, or we cross compile. 2730{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2731echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2732{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2733echo "${ECHO_T}$cross_compiling" >&6; } 2734 2735{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2736echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2737if { (ac_try="$ac_link" 2738case "(($ac_try" in 2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2740 *) ac_try_echo=$ac_try;; 2741esac 2742eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2743 (eval "$ac_link") 2>&5 2744 ac_status=$? 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); }; then 2747 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2748# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2749# work properly (i.e., refer to `conftest.exe'), while it won't with 2750# `rm'. 2751for ac_file in conftest.exe conftest conftest.*; do 2752 test -f "$ac_file" || continue 2753 case $ac_file in 2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2755 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2756 break;; 2757 * ) break;; 2758 esac 2759done 2760else 2761 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2762See \`config.log' for more details." >&5 2763echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2764See \`config.log' for more details." >&2;} 2765 { (exit 1); exit 1; }; } 2766fi 2767 2768rm -f conftest$ac_cv_exeext 2769{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2770echo "${ECHO_T}$ac_cv_exeext" >&6; } 2771 2772rm -f conftest.$ac_ext 2773EXEEXT=$ac_cv_exeext 2774ac_exeext=$EXEEXT 2775{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2776echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2777if test "${ac_cv_objext+set}" = set; then 2778 echo $ECHO_N "(cached) $ECHO_C" >&6 2779else 2780 cat >conftest.$ac_ext <<_ACEOF 2781/* confdefs.h. */ 2782_ACEOF 2783cat confdefs.h >>conftest.$ac_ext 2784cat >>conftest.$ac_ext <<_ACEOF 2785/* end confdefs.h. */ 2786 2787int 2788main () 2789{ 2790 2791 ; 2792 return 0; 2793} 2794_ACEOF 2795rm -f conftest.o conftest.obj 2796if { (ac_try="$ac_compile" 2797case "(($ac_try" in 2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2799 *) ac_try_echo=$ac_try;; 2800esac 2801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2802 (eval "$ac_compile") 2>&5 2803 ac_status=$? 2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2805 (exit $ac_status); }; then 2806 for ac_file in conftest.o conftest.obj conftest.*; do 2807 test -f "$ac_file" || continue; 2808 case $ac_file in 2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2811 break;; 2812 esac 2813done 2814else 2815 echo "$as_me: failed program was:" >&5 2816sed 's/^/| /' conftest.$ac_ext >&5 2817 2818{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2819See \`config.log' for more details." >&5 2820echo "$as_me: error: cannot compute suffix of object files: cannot compile 2821See \`config.log' for more details." >&2;} 2822 { (exit 1); exit 1; }; } 2823fi 2824 2825rm -f conftest.$ac_cv_objext conftest.$ac_ext 2826fi 2827{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2828echo "${ECHO_T}$ac_cv_objext" >&6; } 2829OBJEXT=$ac_cv_objext 2830ac_objext=$OBJEXT 2831{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2832echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2833if test "${ac_cv_c_compiler_gnu+set}" = set; then 2834 echo $ECHO_N "(cached) $ECHO_C" >&6 2835else 2836 cat >conftest.$ac_ext <<_ACEOF 2837/* confdefs.h. */ 2838_ACEOF 2839cat confdefs.h >>conftest.$ac_ext 2840cat >>conftest.$ac_ext <<_ACEOF 2841/* end confdefs.h. */ 2842 2843int 2844main () 2845{ 2846#ifndef __GNUC__ 2847 choke me 2848#endif 2849 2850 ; 2851 return 0; 2852} 2853_ACEOF 2854rm -f conftest.$ac_objext 2855if { (ac_try="$ac_compile" 2856case "(($ac_try" in 2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2858 *) ac_try_echo=$ac_try;; 2859esac 2860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2861 (eval "$ac_compile") 2>conftest.er1 2862 ac_status=$? 2863 grep -v '^ *+' conftest.er1 >conftest.err 2864 rm -f conftest.er1 2865 cat conftest.err >&5 2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2867 (exit $ac_status); } && { 2868 test -z "$ac_c_werror_flag" || 2869 test ! -s conftest.err 2870 } && test -s conftest.$ac_objext; then 2871 ac_compiler_gnu=yes 2872else 2873 echo "$as_me: failed program was:" >&5 2874sed 's/^/| /' conftest.$ac_ext >&5 2875 2876 ac_compiler_gnu=no 2877fi 2878 2879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2880ac_cv_c_compiler_gnu=$ac_compiler_gnu 2881 2882fi 2883{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2884echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2885GCC=`test $ac_compiler_gnu = yes && echo yes` 2886ac_test_CFLAGS=${CFLAGS+set} 2887ac_save_CFLAGS=$CFLAGS 2888{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2889echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2890if test "${ac_cv_prog_cc_g+set}" = set; then 2891 echo $ECHO_N "(cached) $ECHO_C" >&6 2892else 2893 ac_save_c_werror_flag=$ac_c_werror_flag 2894 ac_c_werror_flag=yes 2895 ac_cv_prog_cc_g=no 2896 CFLAGS="-g" 2897 cat >conftest.$ac_ext <<_ACEOF 2898/* confdefs.h. */ 2899_ACEOF 2900cat confdefs.h >>conftest.$ac_ext 2901cat >>conftest.$ac_ext <<_ACEOF 2902/* end confdefs.h. */ 2903 2904int 2905main () 2906{ 2907 2908 ; 2909 return 0; 2910} 2911_ACEOF 2912rm -f conftest.$ac_objext 2913if { (ac_try="$ac_compile" 2914case "(($ac_try" in 2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2916 *) ac_try_echo=$ac_try;; 2917esac 2918eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2919 (eval "$ac_compile") 2>conftest.er1 2920 ac_status=$? 2921 grep -v '^ *+' conftest.er1 >conftest.err 2922 rm -f conftest.er1 2923 cat conftest.err >&5 2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2925 (exit $ac_status); } && { 2926 test -z "$ac_c_werror_flag" || 2927 test ! -s conftest.err 2928 } && test -s conftest.$ac_objext; then 2929 ac_cv_prog_cc_g=yes 2930else 2931 echo "$as_me: failed program was:" >&5 2932sed 's/^/| /' conftest.$ac_ext >&5 2933 2934 CFLAGS="" 2935 cat >conftest.$ac_ext <<_ACEOF 2936/* confdefs.h. */ 2937_ACEOF 2938cat confdefs.h >>conftest.$ac_ext 2939cat >>conftest.$ac_ext <<_ACEOF 2940/* end confdefs.h. */ 2941 2942int 2943main () 2944{ 2945 2946 ; 2947 return 0; 2948} 2949_ACEOF 2950rm -f conftest.$ac_objext 2951if { (ac_try="$ac_compile" 2952case "(($ac_try" in 2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2954 *) ac_try_echo=$ac_try;; 2955esac 2956eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2957 (eval "$ac_compile") 2>conftest.er1 2958 ac_status=$? 2959 grep -v '^ *+' conftest.er1 >conftest.err 2960 rm -f conftest.er1 2961 cat conftest.err >&5 2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963 (exit $ac_status); } && { 2964 test -z "$ac_c_werror_flag" || 2965 test ! -s conftest.err 2966 } && test -s conftest.$ac_objext; then 2967 : 2968else 2969 echo "$as_me: failed program was:" >&5 2970sed 's/^/| /' conftest.$ac_ext >&5 2971 2972 ac_c_werror_flag=$ac_save_c_werror_flag 2973 CFLAGS="-g" 2974 cat >conftest.$ac_ext <<_ACEOF 2975/* confdefs.h. */ 2976_ACEOF 2977cat confdefs.h >>conftest.$ac_ext 2978cat >>conftest.$ac_ext <<_ACEOF 2979/* end confdefs.h. */ 2980 2981int 2982main () 2983{ 2984 2985 ; 2986 return 0; 2987} 2988_ACEOF 2989rm -f conftest.$ac_objext 2990if { (ac_try="$ac_compile" 2991case "(($ac_try" in 2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2993 *) ac_try_echo=$ac_try;; 2994esac 2995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2996 (eval "$ac_compile") 2>conftest.er1 2997 ac_status=$? 2998 grep -v '^ *+' conftest.er1 >conftest.err 2999 rm -f conftest.er1 3000 cat conftest.err >&5 3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3002 (exit $ac_status); } && { 3003 test -z "$ac_c_werror_flag" || 3004 test ! -s conftest.err 3005 } && test -s conftest.$ac_objext; then 3006 ac_cv_prog_cc_g=yes 3007else 3008 echo "$as_me: failed program was:" >&5 3009sed 's/^/| /' conftest.$ac_ext >&5 3010 3011 3012fi 3013 3014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3015fi 3016 3017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3018fi 3019 3020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3021 ac_c_werror_flag=$ac_save_c_werror_flag 3022fi 3023{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3024echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3025if test "$ac_test_CFLAGS" = set; then 3026 CFLAGS=$ac_save_CFLAGS 3027elif test $ac_cv_prog_cc_g = yes; then 3028 if test "$GCC" = yes; then 3029 CFLAGS="-g -O2" 3030 else 3031 CFLAGS="-g" 3032 fi 3033else 3034 if test "$GCC" = yes; then 3035 CFLAGS="-O2" 3036 else 3037 CFLAGS= 3038 fi 3039fi 3040{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3041echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3042if test "${ac_cv_prog_cc_c89+set}" = set; then 3043 echo $ECHO_N "(cached) $ECHO_C" >&6 3044else 3045 ac_cv_prog_cc_c89=no 3046ac_save_CC=$CC 3047cat >conftest.$ac_ext <<_ACEOF 3048/* confdefs.h. */ 3049_ACEOF 3050cat confdefs.h >>conftest.$ac_ext 3051cat >>conftest.$ac_ext <<_ACEOF 3052/* end confdefs.h. */ 3053#include <stdarg.h> 3054#include <stdio.h> 3055#include <sys/types.h> 3056#include <sys/stat.h> 3057/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3058struct buf { int x; }; 3059FILE * (*rcsopen) (struct buf *, struct stat *, int); 3060static char *e (p, i) 3061 char **p; 3062 int i; 3063{ 3064 return p[i]; 3065} 3066static char *f (char * (*g) (char **, int), char **p, ...) 3067{ 3068 char *s; 3069 va_list v; 3070 va_start (v,p); 3071 s = g (p, va_arg (v,int)); 3072 va_end (v); 3073 return s; 3074} 3075 3076/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3077 function prototypes and stuff, but not '\xHH' hex character constants. 3078 These don't provoke an error unfortunately, instead are silently treated 3079 as 'x'. The following induces an error, until -std is added to get 3080 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3081 array size at least. It's necessary to write '\x00'==0 to get something 3082 that's true only with -std. */ 3083int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3084 3085/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3086 inside strings and character constants. */ 3087#define FOO(x) 'x' 3088int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3089 3090int test (int i, double x); 3091struct s1 {int (*f) (int a);}; 3092struct s2 {int (*f) (double a);}; 3093int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3094int argc; 3095char **argv; 3096int 3097main () 3098{ 3099return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3100 ; 3101 return 0; 3102} 3103_ACEOF 3104for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3105 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3106do 3107 CC="$ac_save_CC $ac_arg" 3108 rm -f conftest.$ac_objext 3109if { (ac_try="$ac_compile" 3110case "(($ac_try" in 3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3112 *) ac_try_echo=$ac_try;; 3113esac 3114eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3115 (eval "$ac_compile") 2>conftest.er1 3116 ac_status=$? 3117 grep -v '^ *+' conftest.er1 >conftest.err 3118 rm -f conftest.er1 3119 cat conftest.err >&5 3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121 (exit $ac_status); } && { 3122 test -z "$ac_c_werror_flag" || 3123 test ! -s conftest.err 3124 } && test -s conftest.$ac_objext; then 3125 ac_cv_prog_cc_c89=$ac_arg 3126else 3127 echo "$as_me: failed program was:" >&5 3128sed 's/^/| /' conftest.$ac_ext >&5 3129 3130 3131fi 3132 3133rm -f core conftest.err conftest.$ac_objext 3134 test "x$ac_cv_prog_cc_c89" != "xno" && break 3135done 3136rm -f conftest.$ac_ext 3137CC=$ac_save_CC 3138 3139fi 3140# AC_CACHE_VAL 3141case "x$ac_cv_prog_cc_c89" in 3142 x) 3143 { echo "$as_me:$LINENO: result: none needed" >&5 3144echo "${ECHO_T}none needed" >&6; } ;; 3145 xno) 3146 { echo "$as_me:$LINENO: result: unsupported" >&5 3147echo "${ECHO_T}unsupported" >&6; } ;; 3148 *) 3149 CC="$CC $ac_cv_prog_cc_c89" 3150 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3151echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3152esac 3153 3154 3155ac_ext=c 3156ac_cpp='$CPP $CPPFLAGS' 3157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3159ac_compiler_gnu=$ac_cv_c_compiler_gnu 3160DEPDIR="${am__leading_dot}deps" 3161 3162ac_config_commands="$ac_config_commands depfiles" 3163 3164 3165am_make=${MAKE-make} 3166cat > confinc << 'END' 3167am__doit: 3168 @echo done 3169.PHONY: am__doit 3170END 3171# If we don't find an include directive, just comment out the code. 3172{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3173echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3174am__include="#" 3175am__quote= 3176_am_result=none 3177# First try GNU make style include. 3178echo "include confinc" > confmf 3179# We grep out `Entering directory' and `Leaving directory' 3180# messages which can occur if `w' ends up in MAKEFLAGS. 3181# In particular we don't look at `^make:' because GNU make might 3182# be invoked under some other name (usually "gmake"), in which 3183# case it prints its new name instead of `make'. 3184if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3185 am__include=include 3186 am__quote= 3187 _am_result=GNU 3188fi 3189# Now try BSD make style include. 3190if test "$am__include" = "#"; then 3191 echo '.include "confinc"' > confmf 3192 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3193 am__include=.include 3194 am__quote="\"" 3195 _am_result=BSD 3196 fi 3197fi 3198 3199 3200{ echo "$as_me:$LINENO: result: $_am_result" >&5 3201echo "${ECHO_T}$_am_result" >&6; } 3202rm -f confinc confmf 3203 3204# Check whether --enable-dependency-tracking was given. 3205if test "${enable_dependency_tracking+set}" = set; then 3206 enableval=$enable_dependency_tracking; 3207fi 3208 3209if test "x$enable_dependency_tracking" != xno; then 3210 am_depcomp="$ac_aux_dir/depcomp" 3211 AMDEPBACKSLASH='\' 3212fi 3213 if test "x$enable_dependency_tracking" != xno; then 3214 AMDEP_TRUE= 3215 AMDEP_FALSE='#' 3216else 3217 AMDEP_TRUE='#' 3218 AMDEP_FALSE= 3219fi 3220 3221 3222 3223depcc="$CC" am_compiler_list= 3224 3225{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3226echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3227if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3228 echo $ECHO_N "(cached) $ECHO_C" >&6 3229else 3230 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3231 # We make a subdir and do the tests there. Otherwise we can end up 3232 # making bogus files that we don't know about and never remove. For 3233 # instance it was reported that on HP-UX the gcc test will end up 3234 # making a dummy file named `D' -- because `-MD' means `put the output 3235 # in D'. 3236 mkdir conftest.dir 3237 # Copy depcomp to subdir because otherwise we won't find it if we're 3238 # using a relative directory. 3239 cp "$am_depcomp" conftest.dir 3240 cd conftest.dir 3241 # We will build objects and dependencies in a subdirectory because 3242 # it helps to detect inapplicable dependency modes. For instance 3243 # both Tru64's cc and ICC support -MD to output dependencies as a 3244 # side effect of compilation, but ICC will put the dependencies in 3245 # the current directory while Tru64 will put them in the object 3246 # directory. 3247 mkdir sub 3248 3249 am_cv_CC_dependencies_compiler_type=none 3250 if test "$am_compiler_list" = ""; then 3251 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3252 fi 3253 for depmode in $am_compiler_list; do 3254 # Setup a source with many dependencies, because some compilers 3255 # like to wrap large dependency lists on column 80 (with \), and 3256 # we should not choose a depcomp mode which is confused by this. 3257 # 3258 # We need to recreate these files for each test, as the compiler may 3259 # overwrite some of them when testing with obscure command lines. 3260 # This happens at least with the AIX C compiler. 3261 : > sub/conftest.c 3262 for i in 1 2 3 4 5 6; do 3263 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3264 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3265 # Solaris 8's {/usr,}/bin/sh. 3266 touch sub/conftst$i.h 3267 done 3268 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3269 3270 case $depmode in 3271 nosideeffect) 3272 # after this tag, mechanisms are not by side-effect, so they'll 3273 # only be used when explicitly requested 3274 if test "x$enable_dependency_tracking" = xyes; then 3275 continue 3276 else 3277 break 3278 fi 3279 ;; 3280 none) break ;; 3281 esac 3282 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3283 # mode. It turns out that the SunPro C++ compiler does not properly 3284 # handle `-M -o', and we need to detect this. 3285 if depmode=$depmode \ 3286 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3287 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3288 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3289 >/dev/null 2>conftest.err && 3290 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3291 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3292 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3293 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3294 # icc doesn't choke on unknown options, it will just issue warnings 3295 # or remarks (even with -Werror). So we grep stderr for any message 3296 # that says an option was ignored or not supported. 3297 # When given -MP, icc 7.0 and 7.1 complain thusly: 3298 # icc: Command line warning: ignoring option '-M'; no argument required 3299 # The diagnosis changed in icc 8.0: 3300 # icc: Command line remark: option '-MP' not supported 3301 if (grep 'ignoring option' conftest.err || 3302 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3303 am_cv_CC_dependencies_compiler_type=$depmode 3304 break 3305 fi 3306 fi 3307 done 3308 3309 cd .. 3310 rm -rf conftest.dir 3311else 3312 am_cv_CC_dependencies_compiler_type=none 3313fi 3314 3315fi 3316{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3317echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3318CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3319 3320 if 3321 test "x$enable_dependency_tracking" != xno \ 3322 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3323 am__fastdepCC_TRUE= 3324 am__fastdepCC_FALSE='#' 3325else 3326 am__fastdepCC_TRUE='#' 3327 am__fastdepCC_FALSE= 3328fi 3329 3330 3331# Find a good install program. We prefer a C program (faster), 3332# so one script is as good as another. But avoid the broken or 3333# incompatible versions: 3334# SysV /etc/install, /usr/sbin/install 3335# SunOS /usr/etc/install 3336# IRIX /sbin/install 3337# AIX /bin/install 3338# AmigaOS /C/install, which installs bootblocks on floppy discs 3339# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3340# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3341# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3342# OS/2's system install, which has a completely different semantic 3343# ./install, which can be erroneously created by make from ./install.sh. 3344{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3345echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3346if test -z "$INSTALL"; then 3347if test "${ac_cv_path_install+set}" = set; then 3348 echo $ECHO_N "(cached) $ECHO_C" >&6 3349else 3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351for as_dir in $PATH 3352do 3353 IFS=$as_save_IFS 3354 test -z "$as_dir" && as_dir=. 3355 # Account for people who put trailing slashes in PATH elements. 3356case $as_dir/ in 3357 ./ | .// | /cC/* | \ 3358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3359 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3360 /usr/ucb/* ) ;; 3361 *) 3362 # OSF1 and SCO ODT 3.0 have their own names for install. 3363 # Don't use installbsd from OSF since it installs stuff as root 3364 # by default. 3365 for ac_prog in ginstall scoinst install; do 3366 for ac_exec_ext in '' $ac_executable_extensions; do 3367 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3368 if test $ac_prog = install && 3369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3370 # AIX install. It has an incompatible calling convention. 3371 : 3372 elif test $ac_prog = install && 3373 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3374 # program-specific install script used by HP pwplus--don't use. 3375 : 3376 else 3377 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3378 break 3 3379 fi 3380 fi 3381 done 3382 done 3383 ;; 3384esac 3385done 3386IFS=$as_save_IFS 3387 3388 3389fi 3390 if test "${ac_cv_path_install+set}" = set; then 3391 INSTALL=$ac_cv_path_install 3392 else 3393 # As a last resort, use the slow shell script. Don't cache a 3394 # value for INSTALL within a source directory, because that will 3395 # break other packages using the cache if that directory is 3396 # removed, or if the value is a relative name. 3397 INSTALL=$ac_install_sh 3398 fi 3399fi 3400{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3401echo "${ECHO_T}$INSTALL" >&6; } 3402 3403# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3404# It thinks the first close brace ends the variable substitution. 3405test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3406 3407test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3408 3409test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3410 3411# Make sure we can run config.sub. 3412$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3413 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3414echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3415 { (exit 1); exit 1; }; } 3416 3417{ echo "$as_me:$LINENO: checking build system type" >&5 3418echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3419if test "${ac_cv_build+set}" = set; then 3420 echo $ECHO_N "(cached) $ECHO_C" >&6 3421else 3422 ac_build_alias=$build_alias 3423test "x$ac_build_alias" = x && 3424 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3425test "x$ac_build_alias" = x && 3426 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3427echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3428 { (exit 1); exit 1; }; } 3429ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3430 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3431echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3432 { (exit 1); exit 1; }; } 3433 3434fi 3435{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3436echo "${ECHO_T}$ac_cv_build" >&6; } 3437case $ac_cv_build in 3438*-*-*) ;; 3439*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3440echo "$as_me: error: invalid value of canonical build" >&2;} 3441 { (exit 1); exit 1; }; };; 3442esac 3443build=$ac_cv_build 3444ac_save_IFS=$IFS; IFS='-' 3445set x $ac_cv_build 3446shift 3447build_cpu=$1 3448build_vendor=$2 3449shift; shift 3450# Remember, the first character of IFS is used to create $*, 3451# except with old shells: 3452build_os=$* 3453IFS=$ac_save_IFS 3454case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3455 3456 3457{ echo "$as_me:$LINENO: checking host system type" >&5 3458echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3459if test "${ac_cv_host+set}" = set; then 3460 echo $ECHO_N "(cached) $ECHO_C" >&6 3461else 3462 if test "x$host_alias" = x; then 3463 ac_cv_host=$ac_cv_build 3464else 3465 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3466 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3467echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3468 { (exit 1); exit 1; }; } 3469fi 3470 3471fi 3472{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3473echo "${ECHO_T}$ac_cv_host" >&6; } 3474case $ac_cv_host in 3475*-*-*) ;; 3476*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3477echo "$as_me: error: invalid value of canonical host" >&2;} 3478 { (exit 1); exit 1; }; };; 3479esac 3480host=$ac_cv_host 3481ac_save_IFS=$IFS; IFS='-' 3482set x $ac_cv_host 3483shift 3484host_cpu=$1 3485host_vendor=$2 3486shift; shift 3487# Remember, the first character of IFS is used to create $*, 3488# except with old shells: 3489host_os=$* 3490IFS=$ac_save_IFS 3491case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3492 3493 3494 3495 3496 3497{ echo "$as_me:$LINENO: checking for gzopen in -lz" >&5 3498echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6; } 3499if test "${ac_cv_lib_z_gzopen+set}" = set; then 3500 echo $ECHO_N "(cached) $ECHO_C" >&6 3501else 3502 ac_check_lib_save_LIBS=$LIBS 3503LIBS="-lz $LIBS" 3504cat >conftest.$ac_ext <<_ACEOF 3505/* confdefs.h. */ 3506_ACEOF 3507cat confdefs.h >>conftest.$ac_ext 3508cat >>conftest.$ac_ext <<_ACEOF 3509/* end confdefs.h. */ 3510 3511/* Override any GCC internal prototype to avoid an error. 3512 Use char because int might match the return type of a GCC 3513 builtin and then its argument prototype would still apply. */ 3514#ifdef __cplusplus 3515extern "C" 3516#endif 3517char gzopen (); 3518int 3519main () 3520{ 3521return gzopen (); 3522 ; 3523 return 0; 3524} 3525_ACEOF 3526rm -f conftest.$ac_objext conftest$ac_exeext 3527if { (ac_try="$ac_link" 3528case "(($ac_try" in 3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3530 *) ac_try_echo=$ac_try;; 3531esac 3532eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3533 (eval "$ac_link") 2>conftest.er1 3534 ac_status=$? 3535 grep -v '^ *+' conftest.er1 >conftest.err 3536 rm -f conftest.er1 3537 cat conftest.err >&5 3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3539 (exit $ac_status); } && { 3540 test -z "$ac_c_werror_flag" || 3541 test ! -s conftest.err 3542 } && test -s conftest$ac_exeext && 3543 $as_test_x conftest$ac_exeext; then 3544 ac_cv_lib_z_gzopen=yes 3545else 3546 echo "$as_me: failed program was:" >&5 3547sed 's/^/| /' conftest.$ac_ext >&5 3548 3549 ac_cv_lib_z_gzopen=no 3550fi 3551 3552rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3553 conftest$ac_exeext conftest.$ac_ext 3554LIBS=$ac_check_lib_save_LIBS 3555fi 3556{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5 3557echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6; } 3558if test $ac_cv_lib_z_gzopen = yes; then 3559 cat >>confdefs.h <<_ACEOF 3560#define HAVE_LIBZ 1 3561_ACEOF 3562 3563 LIBS="-lz $LIBS" 3564 3565else 3566 { { echo "$as_me:$LINENO: error: zlib not found" >&5 3567echo "$as_me: error: zlib not found" >&2;} 3568 { (exit 1); exit 1; }; } 3569fi 3570 3571 3572 3573# Check whether --with-localealiasfile was given. 3574if test "${with_localealiasfile+set}" = set; then 3575 withval=$with_localealiasfile; LOCALEALIASFILE="$withval" 3576else 3577 LOCALEALIASFILE=${datadir}/X11/locale/locale.alias 3578fi 3579 3580 3581 3582# Checks for pkg-config packages 3583 3584 3585if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3586 if test -n "$ac_tool_prefix"; then 3587 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3588set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3589{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3590echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3591if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 3592 echo $ECHO_N "(cached) $ECHO_C" >&6 3593else 3594 case $PKG_CONFIG in 3595 [\\/]* | ?:[\\/]*) 3596 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3597 ;; 3598 *) 3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3600for as_dir in $PATH 3601do 3602 IFS=$as_save_IFS 3603 test -z "$as_dir" && as_dir=. 3604 for ac_exec_ext in '' $ac_executable_extensions; do 3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3606 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3608 break 2 3609 fi 3610done 3611done 3612IFS=$as_save_IFS 3613 3614 ;; 3615esac 3616fi 3617PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3618if test -n "$PKG_CONFIG"; then 3619 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 3620echo "${ECHO_T}$PKG_CONFIG" >&6; } 3621else 3622 { echo "$as_me:$LINENO: result: no" >&5 3623echo "${ECHO_T}no" >&6; } 3624fi 3625 3626 3627fi 3628if test -z "$ac_cv_path_PKG_CONFIG"; then 3629 ac_pt_PKG_CONFIG=$PKG_CONFIG 3630 # Extract the first word of "pkg-config", so it can be a program name with args. 3631set dummy pkg-config; ac_word=$2 3632{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3634if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 3635 echo $ECHO_N "(cached) $ECHO_C" >&6 3636else 3637 case $ac_pt_PKG_CONFIG in 3638 [\\/]* | ?:[\\/]*) 3639 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3640 ;; 3641 *) 3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3643for as_dir in $PATH 3644do 3645 IFS=$as_save_IFS 3646 test -z "$as_dir" && as_dir=. 3647 for ac_exec_ext in '' $ac_executable_extensions; do 3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3649 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3651 break 2 3652 fi 3653done 3654done 3655IFS=$as_save_IFS 3656 3657 ;; 3658esac 3659fi 3660ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3661if test -n "$ac_pt_PKG_CONFIG"; then 3662 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 3663echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 3664else 3665 { echo "$as_me:$LINENO: result: no" >&5 3666echo "${ECHO_T}no" >&6; } 3667fi 3668 3669 if test "x$ac_pt_PKG_CONFIG" = x; then 3670 PKG_CONFIG="" 3671 else 3672 case $cross_compiling:$ac_tool_warned in 3673yes:) 3674{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3675whose name does not start with the host triplet. If you think this 3676configuration is useful to you, please write to autoconf@gnu.org." >&5 3677echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3678whose name does not start with the host triplet. If you think this 3679configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3680ac_tool_warned=yes ;; 3681esac 3682 PKG_CONFIG=$ac_pt_PKG_CONFIG 3683 fi 3684else 3685 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3686fi 3687 3688fi 3689if test -n "$PKG_CONFIG"; then 3690 _pkg_min_version=0.9.0 3691 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 3692echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 3693 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3694 { echo "$as_me:$LINENO: result: yes" >&5 3695echo "${ECHO_T}yes" >&6; } 3696 else 3697 { echo "$as_me:$LINENO: result: no" >&5 3698echo "${ECHO_T}no" >&6; } 3699 PKG_CONFIG="" 3700 fi 3701 3702fi 3703 3704pkg_failed=no 3705{ echo "$as_me:$LINENO: checking for LUIT" >&5 3706echo $ECHO_N "checking for LUIT... $ECHO_C" >&6; } 3707 3708if test -n "$PKG_CONFIG"; then 3709 if test -n "$LUIT_CFLAGS"; then 3710 pkg_cv_LUIT_CFLAGS="$LUIT_CFLAGS" 3711 else 3712 if test -n "$PKG_CONFIG" && \ 3713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 fontenc\"") >&5 3714 ($PKG_CONFIG --exists --print-errors "x11 fontenc") 2>&5 3715 ac_status=$? 3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3717 (exit $ac_status); }; then 3718 pkg_cv_LUIT_CFLAGS=`$PKG_CONFIG --cflags "x11 fontenc" 2>/dev/null` 3719else 3720 pkg_failed=yes 3721fi 3722 fi 3723else 3724 pkg_failed=untried 3725fi 3726if test -n "$PKG_CONFIG"; then 3727 if test -n "$LUIT_LIBS"; then 3728 pkg_cv_LUIT_LIBS="$LUIT_LIBS" 3729 else 3730 if test -n "$PKG_CONFIG" && \ 3731 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 fontenc\"") >&5 3732 ($PKG_CONFIG --exists --print-errors "x11 fontenc") 2>&5 3733 ac_status=$? 3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3735 (exit $ac_status); }; then 3736 pkg_cv_LUIT_LIBS=`$PKG_CONFIG --libs "x11 fontenc" 2>/dev/null` 3737else 3738 pkg_failed=yes 3739fi 3740 fi 3741else 3742 pkg_failed=untried 3743fi 3744 3745 3746 3747if test $pkg_failed = yes; then 3748 3749if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3750 _pkg_short_errors_supported=yes 3751else 3752 _pkg_short_errors_supported=no 3753fi 3754 if test $_pkg_short_errors_supported = yes; then 3755 LUIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 fontenc"` 3756 else 3757 LUIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 fontenc"` 3758 fi 3759 # Put the nasty error message in config.log where it belongs 3760 echo "$LUIT_PKG_ERRORS" >&5 3761 3762 { { echo "$as_me:$LINENO: error: Package requirements (x11 fontenc) were not met: 3763 3764$LUIT_PKG_ERRORS 3765 3766Consider adjusting the PKG_CONFIG_PATH environment variable if you 3767installed software in a non-standard prefix. 3768 3769Alternatively, you may set the environment variables LUIT_CFLAGS 3770and LUIT_LIBS to avoid the need to call pkg-config. 3771See the pkg-config man page for more details. 3772" >&5 3773echo "$as_me: error: Package requirements (x11 fontenc) were not met: 3774 3775$LUIT_PKG_ERRORS 3776 3777Consider adjusting the PKG_CONFIG_PATH environment variable if you 3778installed software in a non-standard prefix. 3779 3780Alternatively, you may set the environment variables LUIT_CFLAGS 3781and LUIT_LIBS to avoid the need to call pkg-config. 3782See the pkg-config man page for more details. 3783" >&2;} 3784 { (exit 1); exit 1; }; } 3785elif test $pkg_failed = untried; then 3786 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 3787is in your PATH or set the PKG_CONFIG environment variable to the full 3788path to pkg-config. 3789 3790Alternatively, you may set the environment variables LUIT_CFLAGS 3791and LUIT_LIBS to avoid the need to call pkg-config. 3792See the pkg-config man page for more details. 3793 3794To get pkg-config, see <http://pkg-config.freedesktop.org/>. 3795See \`config.log' for more details." >&5 3796echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 3797is in your PATH or set the PKG_CONFIG environment variable to the full 3798path to pkg-config. 3799 3800Alternatively, you may set the environment variables LUIT_CFLAGS 3801and LUIT_LIBS to avoid the need to call pkg-config. 3802See the pkg-config man page for more details. 3803 3804To get pkg-config, see <http://pkg-config.freedesktop.org/>. 3805See \`config.log' for more details." >&2;} 3806 { (exit 1); exit 1; }; } 3807else 3808 LUIT_CFLAGS=$pkg_cv_LUIT_CFLAGS 3809 LUIT_LIBS=$pkg_cv_LUIT_LIBS 3810 { echo "$as_me:$LINENO: result: yes" >&5 3811echo "${ECHO_T}yes" >&6; } 3812 : 3813fi 3814 3815case $host_os in 3816 linux*) 3817 OS_CFLAGS="-D_XOPEN_SOURCE=500" 3818 ;; 3819 *) 3820 OS_CFLAGS= 3821 ;; 3822esac 3823 3824LUIT_CFLAGS="$LUIT_CFLAGS $OS_CFLAGS" 3825 3826 3827 3828 3829 3830 3831if test x$APP_MAN_SUFFIX = x ; then 3832 APP_MAN_SUFFIX=1 3833fi 3834if test x$APP_MAN_DIR = x ; then 3835 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 3836fi 3837 3838if test x$LIB_MAN_SUFFIX = x ; then 3839 LIB_MAN_SUFFIX=3 3840fi 3841if test x$LIB_MAN_DIR = x ; then 3842 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 3843fi 3844 3845if test x$FILE_MAN_SUFFIX = x ; then 3846 case $host_os in 3847 solaris*) FILE_MAN_SUFFIX=4 ;; 3848 *) FILE_MAN_SUFFIX=5 ;; 3849 esac 3850fi 3851if test x$FILE_MAN_DIR = x ; then 3852 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 3853fi 3854 3855if test x$MISC_MAN_SUFFIX = x ; then 3856 case $host_os in 3857 solaris*) MISC_MAN_SUFFIX=5 ;; 3858 *) MISC_MAN_SUFFIX=7 ;; 3859 esac 3860fi 3861if test x$MISC_MAN_DIR = x ; then 3862 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 3863fi 3864 3865if test x$DRIVER_MAN_SUFFIX = x ; then 3866 case $host_os in 3867 solaris*) DRIVER_MAN_SUFFIX=7 ;; 3868 *) DRIVER_MAN_SUFFIX=4 ;; 3869 esac 3870fi 3871if test x$DRIVER_MAN_DIR = x ; then 3872 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 3873fi 3874 3875if test x$ADMIN_MAN_SUFFIX = x ; then 3876 case $host_os in 3877 solaris*) ADMIN_MAN_SUFFIX=1m ;; 3878 *) ADMIN_MAN_SUFFIX=8 ;; 3879 esac 3880fi 3881if test x$ADMIN_MAN_DIR = x ; then 3882 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3883fi 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901# Check whether --with-release-version was given. 3902if test "${with_release_version+set}" = set; then 3903 withval=$with_release_version; RELEASE_VERSION="$withval" 3904else 3905 RELEASE_VERSION="" 3906fi 3907 3908 if test "x$RELEASE_VERSION" != "x"; then 3909 PACKAGE="$PACKAGE-$RELEASE_VERSION" 3910 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 3911 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 3912echo "$as_me: Building with package name set to $PACKAGE" >&6;} 3913 fi 3914 3915cat >>confdefs.h <<_ACEOF 3916#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 3917_ACEOF 3918 3919 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2` 3920 if test "x$PVM" = "x"; then 3921 PVM="0" 3922 fi 3923 3924cat >>confdefs.h <<_ACEOF 3925#define PACKAGE_VERSION_MINOR $PVM 3926_ACEOF 3927 3928 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3` 3929 if test "x$PVP" = "x"; then 3930 PVP="0" 3931 fi 3932 3933cat >>confdefs.h <<_ACEOF 3934#define PACKAGE_VERSION_PATCHLEVEL $PVP 3935_ACEOF 3936 3937 3938 3939ac_config_files="$ac_config_files Makefile" 3940 3941cat >confcache <<\_ACEOF 3942# This file is a shell script that caches the results of configure 3943# tests run on this system so they can be shared between configure 3944# scripts and configure runs, see configure's option --config-cache. 3945# It is not useful on other systems. If it contains results you don't 3946# want to keep, you may remove or edit it. 3947# 3948# config.status only pays attention to the cache file if you give it 3949# the --recheck option to rerun configure. 3950# 3951# `ac_cv_env_foo' variables (set or unset) will be overridden when 3952# loading this file, other *unset* `ac_cv_foo' will be assigned the 3953# following values. 3954 3955_ACEOF 3956 3957# The following way of writing the cache mishandles newlines in values, 3958# but we know of no workaround that is simple, portable, and efficient. 3959# So, we kill variables containing newlines. 3960# Ultrix sh set writes to stderr and can't be redirected directly, 3961# and sets the high bit in the cache file unless we assign to the vars. 3962( 3963 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3964 eval ac_val=\$$ac_var 3965 case $ac_val in #( 3966 *${as_nl}*) 3967 case $ac_var in #( 3968 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 3969echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 3970 esac 3971 case $ac_var in #( 3972 _ | IFS | as_nl) ;; #( 3973 *) $as_unset $ac_var ;; 3974 esac ;; 3975 esac 3976 done 3977 3978 (set) 2>&1 | 3979 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3980 *${as_nl}ac_space=\ *) 3981 # `set' does not quote correctly, so add quotes (double-quote 3982 # substitution turns \\\\ into \\, and sed turns \\ into \). 3983 sed -n \ 3984 "s/'/'\\\\''/g; 3985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3986 ;; #( 3987 *) 3988 # `set' quotes correctly as required by POSIX, so do not add quotes. 3989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3990 ;; 3991 esac | 3992 sort 3993) | 3994 sed ' 3995 /^ac_cv_env_/b end 3996 t clear 3997 :clear 3998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3999 t end 4000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4001 :end' >>confcache 4002if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4003 if test -w "$cache_file"; then 4004 test "x$cache_file" != "x/dev/null" && 4005 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 4006echo "$as_me: updating cache $cache_file" >&6;} 4007 cat confcache >$cache_file 4008 else 4009 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 4010echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4011 fi 4012fi 4013rm -f confcache 4014 4015test "x$prefix" = xNONE && prefix=$ac_default_prefix 4016# Let make expand exec_prefix. 4017test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4018 4019DEFS=-DHAVE_CONFIG_H 4020 4021ac_libobjs= 4022ac_ltlibobjs= 4023for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4024 # 1. Remove the extension, and $U if already installed. 4025 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4026 ac_i=`echo "$ac_i" | sed "$ac_script"` 4027 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4028 # will be set to the directory where LIBOBJS objects are built. 4029 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4030 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 4031done 4032LIBOBJS=$ac_libobjs 4033 4034LTLIBOBJS=$ac_ltlibobjs 4035 4036 4037if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4038 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 4039Usually this means the macro was only invoked conditionally." >&5 4040echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 4041Usually this means the macro was only invoked conditionally." >&2;} 4042 { (exit 1); exit 1; }; } 4043fi 4044if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4045 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4046Usually this means the macro was only invoked conditionally." >&5 4047echo "$as_me: error: conditional \"AMDEP\" was never defined. 4048Usually this means the macro was only invoked conditionally." >&2;} 4049 { (exit 1); exit 1; }; } 4050fi 4051if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4052 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4053Usually this means the macro was only invoked conditionally." >&5 4054echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4055Usually this means the macro was only invoked conditionally." >&2;} 4056 { (exit 1); exit 1; }; } 4057fi 4058 4059: ${CONFIG_STATUS=./config.status} 4060ac_clean_files_save=$ac_clean_files 4061ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4062{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4063echo "$as_me: creating $CONFIG_STATUS" >&6;} 4064cat >$CONFIG_STATUS <<_ACEOF 4065#! $SHELL 4066# Generated by $as_me. 4067# Run this file to recreate the current configuration. 4068# Compiler output produced by configure, useful for debugging 4069# configure, is in config.log if it exists. 4070 4071debug=false 4072ac_cs_recheck=false 4073ac_cs_silent=false 4074SHELL=\${CONFIG_SHELL-$SHELL} 4075_ACEOF 4076 4077cat >>$CONFIG_STATUS <<\_ACEOF 4078## --------------------- ## 4079## M4sh Initialization. ## 4080## --------------------- ## 4081 4082# Be more Bourne compatible 4083DUALCASE=1; export DUALCASE # for MKS sh 4084if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4085 emulate sh 4086 NULLCMD=: 4087 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4088 # is contrary to our usage. Disable this feature. 4089 alias -g '${1+"$@"}'='"$@"' 4090 setopt NO_GLOB_SUBST 4091else 4092 case `(set -o) 2>/dev/null` in 4093 *posix*) set -o posix ;; 4094esac 4095 4096fi 4097 4098 4099 4100 4101# PATH needs CR 4102# Avoid depending upon Character Ranges. 4103as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4104as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4105as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4106as_cr_digits='0123456789' 4107as_cr_alnum=$as_cr_Letters$as_cr_digits 4108 4109# The user is always right. 4110if test "${PATH_SEPARATOR+set}" != set; then 4111 echo "#! /bin/sh" >conf$$.sh 4112 echo "exit 0" >>conf$$.sh 4113 chmod +x conf$$.sh 4114 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4115 PATH_SEPARATOR=';' 4116 else 4117 PATH_SEPARATOR=: 4118 fi 4119 rm -f conf$$.sh 4120fi 4121 4122# Support unset when possible. 4123if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4124 as_unset=unset 4125else 4126 as_unset=false 4127fi 4128 4129 4130# IFS 4131# We need space, tab and new line, in precisely that order. Quoting is 4132# there to prevent editors from complaining about space-tab. 4133# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4134# splitting by setting IFS to empty value.) 4135as_nl=' 4136' 4137IFS=" "" $as_nl" 4138 4139# Find who we are. Look in the path if we contain no directory separator. 4140case $0 in 4141 *[\\/]* ) as_myself=$0 ;; 4142 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4143for as_dir in $PATH 4144do 4145 IFS=$as_save_IFS 4146 test -z "$as_dir" && as_dir=. 4147 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4148done 4149IFS=$as_save_IFS 4150 4151 ;; 4152esac 4153# We did not find ourselves, most probably we were run as `sh COMMAND' 4154# in which case we are not to be found in the path. 4155if test "x$as_myself" = x; then 4156 as_myself=$0 4157fi 4158if test ! -f "$as_myself"; then 4159 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4160 { (exit 1); exit 1; } 4161fi 4162 4163# Work around bugs in pre-3.0 UWIN ksh. 4164for as_var in ENV MAIL MAILPATH 4165do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4166done 4167PS1='$ ' 4168PS2='> ' 4169PS4='+ ' 4170 4171# NLS nuisances. 4172for as_var in \ 4173 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4174 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4175 LC_TELEPHONE LC_TIME 4176do 4177 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4178 eval $as_var=C; export $as_var 4179 else 4180 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4181 fi 4182done 4183 4184# Required to use basename. 4185if expr a : '\(a\)' >/dev/null 2>&1 && 4186 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4187 as_expr=expr 4188else 4189 as_expr=false 4190fi 4191 4192if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4193 as_basename=basename 4194else 4195 as_basename=false 4196fi 4197 4198 4199# Name of the executable. 4200as_me=`$as_basename -- "$0" || 4201$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4202 X"$0" : 'X\(//\)$' \| \ 4203 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4204echo X/"$0" | 4205 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4206 s//\1/ 4207 q 4208 } 4209 /^X\/\(\/\/\)$/{ 4210 s//\1/ 4211 q 4212 } 4213 /^X\/\(\/\).*/{ 4214 s//\1/ 4215 q 4216 } 4217 s/.*/./; q'` 4218 4219# CDPATH. 4220$as_unset CDPATH 4221 4222 4223 4224 as_lineno_1=$LINENO 4225 as_lineno_2=$LINENO 4226 test "x$as_lineno_1" != "x$as_lineno_2" && 4227 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4228 4229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4230 # uniformly replaced by the line number. The first 'sed' inserts a 4231 # line-number line after each line using $LINENO; the second 'sed' 4232 # does the real work. The second script uses 'N' to pair each 4233 # line-number line with the line containing $LINENO, and appends 4234 # trailing '-' during substitution so that $LINENO is not a special 4235 # case at line end. 4236 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4237 # scripts with optimization help from Paolo Bonzini. Blame Lee 4238 # E. McMahon (1931-1989) for sed's syntax. :-) 4239 sed -n ' 4240 p 4241 /[$]LINENO/= 4242 ' <$as_myself | 4243 sed ' 4244 s/[$]LINENO.*/&-/ 4245 t lineno 4246 b 4247 :lineno 4248 N 4249 :loop 4250 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4251 t loop 4252 s/-\n.*// 4253 ' >$as_me.lineno && 4254 chmod +x "$as_me.lineno" || 4255 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4256 { (exit 1); exit 1; }; } 4257 4258 # Don't try to exec as it changes $[0], causing all sort of problems 4259 # (the dirname of $[0] is not the place where we might find the 4260 # original and so on. Autoconf is especially sensitive to this). 4261 . "./$as_me.lineno" 4262 # Exit status is that of the last command. 4263 exit 4264} 4265 4266 4267if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4268 as_dirname=dirname 4269else 4270 as_dirname=false 4271fi 4272 4273ECHO_C= ECHO_N= ECHO_T= 4274case `echo -n x` in 4275-n*) 4276 case `echo 'x\c'` in 4277 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4278 *) ECHO_C='\c';; 4279 esac;; 4280*) 4281 ECHO_N='-n';; 4282esac 4283 4284if expr a : '\(a\)' >/dev/null 2>&1 && 4285 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4286 as_expr=expr 4287else 4288 as_expr=false 4289fi 4290 4291rm -f conf$$ conf$$.exe conf$$.file 4292if test -d conf$$.dir; then 4293 rm -f conf$$.dir/conf$$.file 4294else 4295 rm -f conf$$.dir 4296 mkdir conf$$.dir 4297fi 4298echo >conf$$.file 4299if ln -s conf$$.file conf$$ 2>/dev/null; then 4300 as_ln_s='ln -s' 4301 # ... but there are two gotchas: 4302 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4303 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4304 # In both cases, we have to default to `cp -p'. 4305 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4306 as_ln_s='cp -p' 4307elif ln conf$$.file conf$$ 2>/dev/null; then 4308 as_ln_s=ln 4309else 4310 as_ln_s='cp -p' 4311fi 4312rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4313rmdir conf$$.dir 2>/dev/null 4314 4315if mkdir -p . 2>/dev/null; then 4316 as_mkdir_p=: 4317else 4318 test -d ./-p && rmdir ./-p 4319 as_mkdir_p=false 4320fi 4321 4322if test -x / >/dev/null 2>&1; then 4323 as_test_x='test -x' 4324else 4325 if ls -dL / >/dev/null 2>&1; then 4326 as_ls_L_option=L 4327 else 4328 as_ls_L_option= 4329 fi 4330 as_test_x=' 4331 eval sh -c '\'' 4332 if test -d "$1"; then 4333 test -d "$1/."; 4334 else 4335 case $1 in 4336 -*)set "./$1";; 4337 esac; 4338 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 4339 ???[sx]*):;;*)false;;esac;fi 4340 '\'' sh 4341 ' 4342fi 4343as_executable_p=$as_test_x 4344 4345# Sed expression to map a string onto a valid CPP name. 4346as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4347 4348# Sed expression to map a string onto a valid variable name. 4349as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4350 4351 4352exec 6>&1 4353 4354# Save the log message, to keep $[0] and so on meaningful, and to 4355# report actual input values of CONFIG_FILES etc. instead of their 4356# values after options handling. 4357ac_log=" 4358This file was extended by luit $as_me 1.0.3, which was 4359generated by GNU Autoconf 2.61. Invocation command line was 4360 4361 CONFIG_FILES = $CONFIG_FILES 4362 CONFIG_HEADERS = $CONFIG_HEADERS 4363 CONFIG_LINKS = $CONFIG_LINKS 4364 CONFIG_COMMANDS = $CONFIG_COMMANDS 4365 $ $0 $@ 4366 4367on `(hostname || uname -n) 2>/dev/null | sed 1q` 4368" 4369 4370_ACEOF 4371 4372cat >>$CONFIG_STATUS <<_ACEOF 4373# Files that config.status was made for. 4374config_files="$ac_config_files" 4375config_headers="$ac_config_headers" 4376config_commands="$ac_config_commands" 4377 4378_ACEOF 4379 4380cat >>$CONFIG_STATUS <<\_ACEOF 4381ac_cs_usage="\ 4382\`$as_me' instantiates files from templates according to the 4383current configuration. 4384 4385Usage: $0 [OPTIONS] [FILE]... 4386 4387 -h, --help print this help, then exit 4388 -V, --version print version number and configuration settings, then exit 4389 -q, --quiet do not print progress messages 4390 -d, --debug don't remove temporary files 4391 --recheck update $as_me by reconfiguring in the same conditions 4392 --file=FILE[:TEMPLATE] 4393 instantiate the configuration file FILE 4394 --header=FILE[:TEMPLATE] 4395 instantiate the configuration header FILE 4396 4397Configuration files: 4398$config_files 4399 4400Configuration headers: 4401$config_headers 4402 4403Configuration commands: 4404$config_commands 4405 4406Report bugs to <bug-autoconf@gnu.org>." 4407 4408_ACEOF 4409cat >>$CONFIG_STATUS <<_ACEOF 4410ac_cs_version="\\ 4411luit config.status 1.0.3 4412configured by $0, generated by GNU Autoconf 2.61, 4413 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4414 4415Copyright (C) 2006 Free Software Foundation, Inc. 4416This config.status script is free software; the Free Software Foundation 4417gives unlimited permission to copy, distribute and modify it." 4418 4419ac_pwd='$ac_pwd' 4420srcdir='$srcdir' 4421INSTALL='$INSTALL' 4422MKDIR_P='$MKDIR_P' 4423_ACEOF 4424 4425cat >>$CONFIG_STATUS <<\_ACEOF 4426# If no file are specified by the user, then we need to provide default 4427# value. By we need to know if files were specified by the user. 4428ac_need_defaults=: 4429while test $# != 0 4430do 4431 case $1 in 4432 --*=*) 4433 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4434 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4435 ac_shift=: 4436 ;; 4437 *) 4438 ac_option=$1 4439 ac_optarg=$2 4440 ac_shift=shift 4441 ;; 4442 esac 4443 4444 case $ac_option in 4445 # Handling of the options. 4446 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4447 ac_cs_recheck=: ;; 4448 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4449 echo "$ac_cs_version"; exit ;; 4450 --debug | --debu | --deb | --de | --d | -d ) 4451 debug=: ;; 4452 --file | --fil | --fi | --f ) 4453 $ac_shift 4454 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4455 ac_need_defaults=false;; 4456 --header | --heade | --head | --hea ) 4457 $ac_shift 4458 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4459 ac_need_defaults=false;; 4460 --he | --h) 4461 # Conflict between --help and --header 4462 { echo "$as_me: error: ambiguous option: $1 4463Try \`$0 --help' for more information." >&2 4464 { (exit 1); exit 1; }; };; 4465 --help | --hel | -h ) 4466 echo "$ac_cs_usage"; exit ;; 4467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4468 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4469 ac_cs_silent=: ;; 4470 4471 # This is an error. 4472 -*) { echo "$as_me: error: unrecognized option: $1 4473Try \`$0 --help' for more information." >&2 4474 { (exit 1); exit 1; }; } ;; 4475 4476 *) ac_config_targets="$ac_config_targets $1" 4477 ac_need_defaults=false ;; 4478 4479 esac 4480 shift 4481done 4482 4483ac_configure_extra_args= 4484 4485if $ac_cs_silent; then 4486 exec 6>/dev/null 4487 ac_configure_extra_args="$ac_configure_extra_args --silent" 4488fi 4489 4490_ACEOF 4491cat >>$CONFIG_STATUS <<_ACEOF 4492if \$ac_cs_recheck; then 4493 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4494 CONFIG_SHELL=$SHELL 4495 export CONFIG_SHELL 4496 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4497fi 4498 4499_ACEOF 4500cat >>$CONFIG_STATUS <<\_ACEOF 4501exec 5>>config.log 4502{ 4503 echo 4504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4505## Running $as_me. ## 4506_ASBOX 4507 echo "$ac_log" 4508} >&5 4509 4510_ACEOF 4511cat >>$CONFIG_STATUS <<_ACEOF 4512# 4513# INIT-COMMANDS 4514# 4515AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4516 4517_ACEOF 4518 4519cat >>$CONFIG_STATUS <<\_ACEOF 4520 4521# Handling of arguments. 4522for ac_config_target in $ac_config_targets 4523do 4524 case $ac_config_target in 4525 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4526 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4527 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4528 4529 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4530echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4531 { (exit 1); exit 1; }; };; 4532 esac 4533done 4534 4535 4536# If the user did not use the arguments to specify the items to instantiate, 4537# then the envvar interface is used. Set only those that are not. 4538# We use the long form for the default assignment because of an extremely 4539# bizarre bug on SunOS 4.1.3. 4540if $ac_need_defaults; then 4541 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4542 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4543 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4544fi 4545 4546# Have a temporary directory for convenience. Make it in the build tree 4547# simply because there is no reason against having it here, and in addition, 4548# creating and moving files from /tmp can sometimes cause problems. 4549# Hook for its removal unless debugging. 4550# Note that there is a small window in which the directory will not be cleaned: 4551# after its creation but before its name has been assigned to `$tmp'. 4552$debug || 4553{ 4554 tmp= 4555 trap 'exit_status=$? 4556 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4557' 0 4558 trap '{ (exit 1); exit 1; }' 1 2 13 15 4559} 4560# Create a (secure) tmp directory for tmp files. 4561 4562{ 4563 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4564 test -n "$tmp" && test -d "$tmp" 4565} || 4566{ 4567 tmp=./conf$$-$RANDOM 4568 (umask 077 && mkdir "$tmp") 4569} || 4570{ 4571 echo "$me: cannot create a temporary directory in ." >&2 4572 { (exit 1); exit 1; } 4573} 4574 4575# 4576# Set up the sed scripts for CONFIG_FILES section. 4577# 4578 4579# No need to generate the scripts if there are no CONFIG_FILES. 4580# This happens for instance when ./config.status config.h 4581if test -n "$CONFIG_FILES"; then 4582 4583_ACEOF 4584 4585 4586 4587ac_delim='%!_!# ' 4588for ac_last_try in false false false false false :; do 4589 cat >conf$$subs.sed <<_ACEOF 4590SHELL!$SHELL$ac_delim 4591PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4592PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4593PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4594PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4595PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4596PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4597exec_prefix!$exec_prefix$ac_delim 4598prefix!$prefix$ac_delim 4599program_transform_name!$program_transform_name$ac_delim 4600bindir!$bindir$ac_delim 4601sbindir!$sbindir$ac_delim 4602libexecdir!$libexecdir$ac_delim 4603datarootdir!$datarootdir$ac_delim 4604datadir!$datadir$ac_delim 4605sysconfdir!$sysconfdir$ac_delim 4606sharedstatedir!$sharedstatedir$ac_delim 4607localstatedir!$localstatedir$ac_delim 4608includedir!$includedir$ac_delim 4609oldincludedir!$oldincludedir$ac_delim 4610docdir!$docdir$ac_delim 4611infodir!$infodir$ac_delim 4612htmldir!$htmldir$ac_delim 4613dvidir!$dvidir$ac_delim 4614pdfdir!$pdfdir$ac_delim 4615psdir!$psdir$ac_delim 4616libdir!$libdir$ac_delim 4617localedir!$localedir$ac_delim 4618mandir!$mandir$ac_delim 4619DEFS!$DEFS$ac_delim 4620ECHO_C!$ECHO_C$ac_delim 4621ECHO_N!$ECHO_N$ac_delim 4622ECHO_T!$ECHO_T$ac_delim 4623LIBS!$LIBS$ac_delim 4624build_alias!$build_alias$ac_delim 4625host_alias!$host_alias$ac_delim 4626target_alias!$target_alias$ac_delim 4627INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4628INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4629INSTALL_DATA!$INSTALL_DATA$ac_delim 4630am__isrc!$am__isrc$ac_delim 4631CYGPATH_W!$CYGPATH_W$ac_delim 4632PACKAGE!$PACKAGE$ac_delim 4633VERSION!$VERSION$ac_delim 4634ACLOCAL!$ACLOCAL$ac_delim 4635AUTOCONF!$AUTOCONF$ac_delim 4636AUTOMAKE!$AUTOMAKE$ac_delim 4637AUTOHEADER!$AUTOHEADER$ac_delim 4638MAKEINFO!$MAKEINFO$ac_delim 4639install_sh!$install_sh$ac_delim 4640STRIP!$STRIP$ac_delim 4641INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 4642mkdir_p!$mkdir_p$ac_delim 4643AWK!$AWK$ac_delim 4644SET_MAKE!$SET_MAKE$ac_delim 4645am__leading_dot!$am__leading_dot$ac_delim 4646AMTAR!$AMTAR$ac_delim 4647am__tar!$am__tar$ac_delim 4648am__untar!$am__untar$ac_delim 4649MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 4650MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 4651MAINT!$MAINT$ac_delim 4652CC!$CC$ac_delim 4653CFLAGS!$CFLAGS$ac_delim 4654LDFLAGS!$LDFLAGS$ac_delim 4655CPPFLAGS!$CPPFLAGS$ac_delim 4656ac_ct_CC!$ac_ct_CC$ac_delim 4657EXEEXT!$EXEEXT$ac_delim 4658OBJEXT!$OBJEXT$ac_delim 4659DEPDIR!$DEPDIR$ac_delim 4660am__include!$am__include$ac_delim 4661am__quote!$am__quote$ac_delim 4662AMDEP_TRUE!$AMDEP_TRUE$ac_delim 4663AMDEP_FALSE!$AMDEP_FALSE$ac_delim 4664AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 4665CCDEPMODE!$CCDEPMODE$ac_delim 4666am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 4667am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 4668build!$build$ac_delim 4669build_cpu!$build_cpu$ac_delim 4670build_vendor!$build_vendor$ac_delim 4671build_os!$build_os$ac_delim 4672host!$host$ac_delim 4673host_cpu!$host_cpu$ac_delim 4674host_vendor!$host_vendor$ac_delim 4675host_os!$host_os$ac_delim 4676LOCALEALIASFILE!$LOCALEALIASFILE$ac_delim 4677PKG_CONFIG!$PKG_CONFIG$ac_delim 4678LUIT_CFLAGS!$LUIT_CFLAGS$ac_delim 4679LUIT_LIBS!$LUIT_LIBS$ac_delim 4680APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 4681LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 4682FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 4683MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 4684DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 4685ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 4686APP_MAN_DIR!$APP_MAN_DIR$ac_delim 4687_ACEOF 4688 4689 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 4690 break 4691 elif $ac_last_try; then 4692 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4693echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4694 { (exit 1); exit 1; }; } 4695 else 4696 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4697 fi 4698done 4699 4700ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4701if test -n "$ac_eof"; then 4702 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4703 ac_eof=`expr $ac_eof + 1` 4704fi 4705 4706cat >>$CONFIG_STATUS <<_ACEOF 4707cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4708/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4709_ACEOF 4710sed ' 4711s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4712s/^/s,@/; s/!/@,|#_!!_#|/ 4713:n 4714t n 4715s/'"$ac_delim"'$/,g/; t 4716s/$/\\/; p 4717N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4718' >>$CONFIG_STATUS <conf$$subs.sed 4719rm -f conf$$subs.sed 4720cat >>$CONFIG_STATUS <<_ACEOF 4721CEOF$ac_eof 4722_ACEOF 4723 4724 4725ac_delim='%!_!# ' 4726for ac_last_try in false false false false false :; do 4727 cat >conf$$subs.sed <<_ACEOF 4728LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 4729FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 4730MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 4731DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 4732ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 4733LIBOBJS!$LIBOBJS$ac_delim 4734LTLIBOBJS!$LTLIBOBJS$ac_delim 4735_ACEOF 4736 4737 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then 4738 break 4739 elif $ac_last_try; then 4740 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4741echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4742 { (exit 1); exit 1; }; } 4743 else 4744 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4745 fi 4746done 4747 4748ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4749if test -n "$ac_eof"; then 4750 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4751 ac_eof=`expr $ac_eof + 1` 4752fi 4753 4754cat >>$CONFIG_STATUS <<_ACEOF 4755cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 4756/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4757_ACEOF 4758sed ' 4759s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4760s/^/s,@/; s/!/@,|#_!!_#|/ 4761:n 4762t n 4763s/'"$ac_delim"'$/,g/; t 4764s/$/\\/; p 4765N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4766' >>$CONFIG_STATUS <conf$$subs.sed 4767rm -f conf$$subs.sed 4768cat >>$CONFIG_STATUS <<_ACEOF 4769:end 4770s/|#_!!_#|//g 4771CEOF$ac_eof 4772_ACEOF 4773 4774 4775# VPATH may cause trouble with some makes, so we remove $(srcdir), 4776# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4777# trailing colons and then remove the whole line if VPATH becomes empty 4778# (actually we leave an empty line to preserve line numbers). 4779if test "x$srcdir" = x.; then 4780 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4781s/:*\$(srcdir):*/:/ 4782s/:*\${srcdir}:*/:/ 4783s/:*@srcdir@:*/:/ 4784s/^\([^=]*=[ ]*\):*/\1/ 4785s/:*$// 4786s/^[^=]*=[ ]*$// 4787}' 4788fi 4789 4790cat >>$CONFIG_STATUS <<\_ACEOF 4791fi # test -n "$CONFIG_FILES" 4792 4793 4794for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 4795do 4796 case $ac_tag in 4797 :[FHLC]) ac_mode=$ac_tag; continue;; 4798 esac 4799 case $ac_mode$ac_tag in 4800 :[FHL]*:*);; 4801 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4802echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4803 { (exit 1); exit 1; }; };; 4804 :[FH]-) ac_tag=-:-;; 4805 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4806 esac 4807 ac_save_IFS=$IFS 4808 IFS=: 4809 set x $ac_tag 4810 IFS=$ac_save_IFS 4811 shift 4812 ac_file=$1 4813 shift 4814 4815 case $ac_mode in 4816 :L) ac_source=$1;; 4817 :[FH]) 4818 ac_file_inputs= 4819 for ac_f 4820 do 4821 case $ac_f in 4822 -) ac_f="$tmp/stdin";; 4823 *) # Look for the file first in the build tree, then in the source tree 4824 # (if the path is not absolute). The absolute path cannot be DOS-style, 4825 # because $ac_f cannot contain `:'. 4826 test -f "$ac_f" || 4827 case $ac_f in 4828 [\\/$]*) false;; 4829 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4830 esac || 4831 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4832echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4833 { (exit 1); exit 1; }; };; 4834 esac 4835 ac_file_inputs="$ac_file_inputs $ac_f" 4836 done 4837 4838 # Let's still pretend it is `configure' which instantiates (i.e., don't 4839 # use $as_me), people would be surprised to read: 4840 # /* config.h. Generated by config.status. */ 4841 configure_input="Generated from "`IFS=: 4842 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4843 if test x"$ac_file" != x-; then 4844 configure_input="$ac_file. $configure_input" 4845 { echo "$as_me:$LINENO: creating $ac_file" >&5 4846echo "$as_me: creating $ac_file" >&6;} 4847 fi 4848 4849 case $ac_tag in 4850 *:-:* | *:-) cat >"$tmp/stdin";; 4851 esac 4852 ;; 4853 esac 4854 4855 ac_dir=`$as_dirname -- "$ac_file" || 4856$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4857 X"$ac_file" : 'X\(//\)[^/]' \| \ 4858 X"$ac_file" : 'X\(//\)$' \| \ 4859 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4860echo X"$ac_file" | 4861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4862 s//\1/ 4863 q 4864 } 4865 /^X\(\/\/\)[^/].*/{ 4866 s//\1/ 4867 q 4868 } 4869 /^X\(\/\/\)$/{ 4870 s//\1/ 4871 q 4872 } 4873 /^X\(\/\).*/{ 4874 s//\1/ 4875 q 4876 } 4877 s/.*/./; q'` 4878 { as_dir="$ac_dir" 4879 case $as_dir in #( 4880 -*) as_dir=./$as_dir;; 4881 esac 4882 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4883 as_dirs= 4884 while :; do 4885 case $as_dir in #( 4886 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4887 *) as_qdir=$as_dir;; 4888 esac 4889 as_dirs="'$as_qdir' $as_dirs" 4890 as_dir=`$as_dirname -- "$as_dir" || 4891$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4892 X"$as_dir" : 'X\(//\)[^/]' \| \ 4893 X"$as_dir" : 'X\(//\)$' \| \ 4894 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4895echo X"$as_dir" | 4896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4897 s//\1/ 4898 q 4899 } 4900 /^X\(\/\/\)[^/].*/{ 4901 s//\1/ 4902 q 4903 } 4904 /^X\(\/\/\)$/{ 4905 s//\1/ 4906 q 4907 } 4908 /^X\(\/\).*/{ 4909 s//\1/ 4910 q 4911 } 4912 s/.*/./; q'` 4913 test -d "$as_dir" && break 4914 done 4915 test -z "$as_dirs" || eval "mkdir $as_dirs" 4916 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4917echo "$as_me: error: cannot create directory $as_dir" >&2;} 4918 { (exit 1); exit 1; }; }; } 4919 ac_builddir=. 4920 4921case "$ac_dir" in 4922.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4923*) 4924 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4925 # A ".." for each directory in $ac_dir_suffix. 4926 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4927 case $ac_top_builddir_sub in 4928 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4929 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4930 esac ;; 4931esac 4932ac_abs_top_builddir=$ac_pwd 4933ac_abs_builddir=$ac_pwd$ac_dir_suffix 4934# for backward compatibility: 4935ac_top_builddir=$ac_top_build_prefix 4936 4937case $srcdir in 4938 .) # We are building in place. 4939 ac_srcdir=. 4940 ac_top_srcdir=$ac_top_builddir_sub 4941 ac_abs_top_srcdir=$ac_pwd ;; 4942 [\\/]* | ?:[\\/]* ) # Absolute name. 4943 ac_srcdir=$srcdir$ac_dir_suffix; 4944 ac_top_srcdir=$srcdir 4945 ac_abs_top_srcdir=$srcdir ;; 4946 *) # Relative name. 4947 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4948 ac_top_srcdir=$ac_top_build_prefix$srcdir 4949 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4950esac 4951ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4952 4953 4954 case $ac_mode in 4955 :F) 4956 # 4957 # CONFIG_FILE 4958 # 4959 4960 case $INSTALL in 4961 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4962 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4963 esac 4964 ac_MKDIR_P=$MKDIR_P 4965 case $MKDIR_P in 4966 [\\/$]* | ?:[\\/]* ) ;; 4967 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4968 esac 4969_ACEOF 4970 4971cat >>$CONFIG_STATUS <<\_ACEOF 4972# If the template does not know about datarootdir, expand it. 4973# FIXME: This hack should be removed a few years after 2.60. 4974ac_datarootdir_hack=; ac_datarootdir_seen= 4975 4976case `sed -n '/datarootdir/ { 4977 p 4978 q 4979} 4980/@datadir@/p 4981/@docdir@/p 4982/@infodir@/p 4983/@localedir@/p 4984/@mandir@/p 4985' $ac_file_inputs` in 4986*datarootdir*) ac_datarootdir_seen=yes;; 4987*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4988 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4989echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4990_ACEOF 4991cat >>$CONFIG_STATUS <<_ACEOF 4992 ac_datarootdir_hack=' 4993 s&@datadir@&$datadir&g 4994 s&@docdir@&$docdir&g 4995 s&@infodir@&$infodir&g 4996 s&@localedir@&$localedir&g 4997 s&@mandir@&$mandir&g 4998 s&\\\${datarootdir}&$datarootdir&g' ;; 4999esac 5000_ACEOF 5001 5002# Neutralize VPATH when `$srcdir' = `.'. 5003# Shell code in configure.ac might set extrasub. 5004# FIXME: do we really want to maintain this feature? 5005cat >>$CONFIG_STATUS <<_ACEOF 5006 sed "$ac_vpsub 5007$extrasub 5008_ACEOF 5009cat >>$CONFIG_STATUS <<\_ACEOF 5010:t 5011/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5012s&@configure_input@&$configure_input&;t t 5013s&@top_builddir@&$ac_top_builddir_sub&;t t 5014s&@srcdir@&$ac_srcdir&;t t 5015s&@abs_srcdir@&$ac_abs_srcdir&;t t 5016s&@top_srcdir@&$ac_top_srcdir&;t t 5017s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5018s&@builddir@&$ac_builddir&;t t 5019s&@abs_builddir@&$ac_abs_builddir&;t t 5020s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5021s&@INSTALL@&$ac_INSTALL&;t t 5022s&@MKDIR_P@&$ac_MKDIR_P&;t t 5023$ac_datarootdir_hack 5024" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 5025 5026test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5027 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5029 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5030which seems to be undefined. Please make sure it is defined." >&5 5031echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5032which seems to be undefined. Please make sure it is defined." >&2;} 5033 5034 rm -f "$tmp/stdin" 5035 case $ac_file in 5036 -) cat "$tmp/out"; rm -f "$tmp/out";; 5037 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5038 esac 5039 ;; 5040 :H) 5041 # 5042 # CONFIG_HEADER 5043 # 5044_ACEOF 5045 5046# Transform confdefs.h into a sed script `conftest.defines', that 5047# substitutes the proper values into config.h.in to produce config.h. 5048rm -f conftest.defines conftest.tail 5049# First, append a space to every undef/define line, to ease matching. 5050echo 's/$/ /' >conftest.defines 5051# Then, protect against being on the right side of a sed subst, or in 5052# an unquoted here document, in config.status. If some macros were 5053# called several times there might be several #defines for the same 5054# symbol, which is useless. But do not sort them, since the last 5055# AC_DEFINE must be honored. 5056ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5057# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 5058# NAME is the cpp macro being defined, VALUE is the value it is being given. 5059# PARAMS is the parameter list in the macro definition--in most cases, it's 5060# just an empty string. 5061ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 5062ac_dB='\\)[ (].*,\\1define\\2' 5063ac_dC=' ' 5064ac_dD=' ,' 5065 5066uniq confdefs.h | 5067 sed -n ' 5068 t rset 5069 :rset 5070 s/^[ ]*#[ ]*define[ ][ ]*// 5071 t ok 5072 d 5073 :ok 5074 s/[\\&,]/\\&/g 5075 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 5076 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 5077 ' >>conftest.defines 5078 5079# Remove the space that was appended to ease matching. 5080# Then replace #undef with comments. This is necessary, for 5081# example, in the case of _POSIX_SOURCE, which is predefined and required 5082# on some systems where configure will not decide to define it. 5083# (The regexp can be short, since the line contains either #define or #undef.) 5084echo 's/ $// 5085s,^[ #]*u.*,/* & */,' >>conftest.defines 5086 5087# Break up conftest.defines: 5088ac_max_sed_lines=50 5089 5090# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 5091# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 5092# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 5093# et cetera. 5094ac_in='$ac_file_inputs' 5095ac_out='"$tmp/out1"' 5096ac_nxt='"$tmp/out2"' 5097 5098while : 5099do 5100 # Write a here document: 5101 cat >>$CONFIG_STATUS <<_ACEOF 5102 # First, check the format of the line: 5103 cat >"\$tmp/defines.sed" <<\\CEOF 5104/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 5105/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 5106b 5107:def 5108_ACEOF 5109 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 5110 echo 'CEOF 5111 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 5112 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 5113 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 5114 grep . conftest.tail >/dev/null || break 5115 rm -f conftest.defines 5116 mv conftest.tail conftest.defines 5117done 5118rm -f conftest.defines conftest.tail 5119 5120echo "ac_result=$ac_in" >>$CONFIG_STATUS 5121cat >>$CONFIG_STATUS <<\_ACEOF 5122 if test x"$ac_file" != x-; then 5123 echo "/* $configure_input */" >"$tmp/config.h" 5124 cat "$ac_result" >>"$tmp/config.h" 5125 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 5126 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5127echo "$as_me: $ac_file is unchanged" >&6;} 5128 else 5129 rm -f $ac_file 5130 mv "$tmp/config.h" $ac_file 5131 fi 5132 else 5133 echo "/* $configure_input */" 5134 cat "$ac_result" 5135 fi 5136 rm -f "$tmp/out12" 5137# Compute $ac_file's index in $config_headers. 5138_am_arg=$ac_file 5139_am_stamp_count=1 5140for _am_header in $config_headers :; do 5141 case $_am_header in 5142 $_am_arg | $_am_arg:* ) 5143 break ;; 5144 * ) 5145 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5146 esac 5147done 5148echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 5149$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5150 X"$_am_arg" : 'X\(//\)[^/]' \| \ 5151 X"$_am_arg" : 'X\(//\)$' \| \ 5152 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 5153echo X"$_am_arg" | 5154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5155 s//\1/ 5156 q 5157 } 5158 /^X\(\/\/\)[^/].*/{ 5159 s//\1/ 5160 q 5161 } 5162 /^X\(\/\/\)$/{ 5163 s//\1/ 5164 q 5165 } 5166 /^X\(\/\).*/{ 5167 s//\1/ 5168 q 5169 } 5170 s/.*/./; q'`/stamp-h$_am_stamp_count 5171 ;; 5172 5173 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 5174echo "$as_me: executing $ac_file commands" >&6;} 5175 ;; 5176 esac 5177 5178 5179 case $ac_file$ac_mode in 5180 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 5181 # Strip MF so we end up with the name of the file. 5182 mf=`echo "$mf" | sed -e 's/:.*$//'` 5183 # Check whether this is an Automake generated Makefile or not. 5184 # We used to match only the files named `Makefile.in', but 5185 # some people rename them; so instead we look at the file content. 5186 # Grep'ing the first line is not enough: some people post-process 5187 # each Makefile.in and add a new line on top of each file to say so. 5188 # Grep'ing the whole file is not good either: AIX grep has a line 5189 # limit of 2048, but all sed's we know have understand at least 4000. 5190 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 5191 dirpart=`$as_dirname -- "$mf" || 5192$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5193 X"$mf" : 'X\(//\)[^/]' \| \ 5194 X"$mf" : 'X\(//\)$' \| \ 5195 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 5196echo X"$mf" | 5197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5198 s//\1/ 5199 q 5200 } 5201 /^X\(\/\/\)[^/].*/{ 5202 s//\1/ 5203 q 5204 } 5205 /^X\(\/\/\)$/{ 5206 s//\1/ 5207 q 5208 } 5209 /^X\(\/\).*/{ 5210 s//\1/ 5211 q 5212 } 5213 s/.*/./; q'` 5214 else 5215 continue 5216 fi 5217 # Extract the definition of DEPDIR, am__include, and am__quote 5218 # from the Makefile without running `make'. 5219 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5220 test -z "$DEPDIR" && continue 5221 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5222 test -z "am__include" && continue 5223 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5224 # When using ansi2knr, U may be empty or an underscore; expand it 5225 U=`sed -n 's/^U = //p' < "$mf"` 5226 # Find all dependency output files, they are included files with 5227 # $(DEPDIR) in their names. We invoke sed twice because it is the 5228 # simplest approach to changing $(DEPDIR) to its actual value in the 5229 # expansion. 5230 for file in `sed -n " 5231 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5232 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5233 # Make sure the directory exists. 5234 test -f "$dirpart/$file" && continue 5235 fdir=`$as_dirname -- "$file" || 5236$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5237 X"$file" : 'X\(//\)[^/]' \| \ 5238 X"$file" : 'X\(//\)$' \| \ 5239 X"$file" : 'X\(/\)' \| . 2>/dev/null || 5240echo X"$file" | 5241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5242 s//\1/ 5243 q 5244 } 5245 /^X\(\/\/\)[^/].*/{ 5246 s//\1/ 5247 q 5248 } 5249 /^X\(\/\/\)$/{ 5250 s//\1/ 5251 q 5252 } 5253 /^X\(\/\).*/{ 5254 s//\1/ 5255 q 5256 } 5257 s/.*/./; q'` 5258 { as_dir=$dirpart/$fdir 5259 case $as_dir in #( 5260 -*) as_dir=./$as_dir;; 5261 esac 5262 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5263 as_dirs= 5264 while :; do 5265 case $as_dir in #( 5266 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5267 *) as_qdir=$as_dir;; 5268 esac 5269 as_dirs="'$as_qdir' $as_dirs" 5270 as_dir=`$as_dirname -- "$as_dir" || 5271$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5272 X"$as_dir" : 'X\(//\)[^/]' \| \ 5273 X"$as_dir" : 'X\(//\)$' \| \ 5274 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5275echo X"$as_dir" | 5276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5277 s//\1/ 5278 q 5279 } 5280 /^X\(\/\/\)[^/].*/{ 5281 s//\1/ 5282 q 5283 } 5284 /^X\(\/\/\)$/{ 5285 s//\1/ 5286 q 5287 } 5288 /^X\(\/\).*/{ 5289 s//\1/ 5290 q 5291 } 5292 s/.*/./; q'` 5293 test -d "$as_dir" && break 5294 done 5295 test -z "$as_dirs" || eval "mkdir $as_dirs" 5296 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5297echo "$as_me: error: cannot create directory $as_dir" >&2;} 5298 { (exit 1); exit 1; }; }; } 5299 # echo "creating $dirpart/$file" 5300 echo '# dummy' > "$dirpart/$file" 5301 done 5302done 5303 ;; 5304 5305 esac 5306done # for ac_tag 5307 5308 5309{ (exit 0); exit 0; } 5310_ACEOF 5311chmod +x $CONFIG_STATUS 5312ac_clean_files=$ac_clean_files_save 5313 5314 5315# configure is writing to config.log, and then calls config.status. 5316# config.status does its own redirection, appending to config.log. 5317# Unfortunately, on DOS this fails, as config.log is still kept open 5318# by configure, so config.status won't be able to write to it; its 5319# output is simply discarded. So we exec the FD to /dev/null, 5320# effectively closing config.log, so it can be properly (re)opened and 5321# appended to by config.status. When coming back to configure, we 5322# need to make the FD available again. 5323if test "$no_create" != yes; then 5324 ac_cs_success=: 5325 ac_config_status_args= 5326 test "$silent" = yes && 5327 ac_config_status_args="$ac_config_status_args --quiet" 5328 exec 5>/dev/null 5329 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5330 exec 5>>config.log 5331 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5332 # would make configure fail if this is the last instruction. 5333 $ac_cs_success || { (exit 1); exit 1; } 5334fi 5335 5336