configure revision 154daed1
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61 for xkeyboard-config 1.3. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40# The user is always right. 41if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51fi 52 53# Support unset when possible. 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56else 57 as_unset=false 58fi 59 60 61# IFS 62# We need space, tab and new line, in precisely that order. Quoting is 63# there to prevent editors from complaining about space-tab. 64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 65# splitting by setting IFS to empty value.) 66as_nl=' 67' 68IFS=" "" $as_nl" 69 70# Find who we are. Look in the path if we contain no directory separator. 71case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74for as_dir in $PATH 75do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79done 80IFS=$as_save_IFS 81 82 ;; 83esac 84# We did not find ourselves, most probably we were run as `sh COMMAND' 85# in which case we are not to be found in the path. 86if test "x$as_myself" = x; then 87 as_myself=$0 88fi 89if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92fi 93 94# Work around bugs in pre-3.0 UWIN ksh. 95for as_var in ENV MAIL MAILPATH 96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97done 98PS1='$ ' 99PS2='> ' 100PS4='+ ' 101 102# NLS nuisances. 103for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113done 114 115# Required to use basename. 116if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119else 120 as_expr=false 121fi 122 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125else 126 as_basename=false 127fi 128 129 130# Name of the executable. 131as_me=`$as_basename -- "$0" || 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150# CDPATH. 151$as_unset CDPATH 152 153 154if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157else 158 as_have_required=no 159fi 160 161 if test $as_have_required = yes && (eval ": 162(as_func_return () { 163 (exit \$1) 164} 165as_func_success () { 166 as_func_return 0 167} 168as_func_failure () { 169 as_func_return 1 170} 171as_func_ret_success () { 172 return 0 173} 174as_func_ret_failure () { 175 return 1 176} 177 178exitcode=0 179if as_func_success; then 180 : 181else 182 exitcode=1 183 echo as_func_success failed. 184fi 185 186if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189fi 190 191if as_func_ret_success; then 192 : 193else 194 exitcode=1 195 echo as_func_ret_success failed. 196fi 197 198if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201fi 202 203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205else 206 exitcode=1 207 echo positional parameters were not saved. 208fi 209 210test \$exitcode = 0) || { (exit 1); exit 1; } 211 212( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217") 2> /dev/null; then 218 : 219else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232done 233IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250esac 251 252fi 253 254 255: 256_ASEOF 257}; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277(as_func_return () { 278 (exit $1) 279} 280as_func_success () { 281 as_func_return 0 282} 283as_func_failure () { 284 as_func_return 1 285} 286as_func_ret_success () { 287 return 0 288} 289as_func_ret_failure () { 290 return 1 291} 292 293exitcode=0 294if as_func_success; then 295 : 296else 297 exitcode=1 298 echo as_func_success failed. 299fi 300 301if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304fi 305 306if as_func_ret_success; then 307 : 308else 309 exitcode=1 310 echo as_func_ret_success failed. 311fi 312 313if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316fi 317 318if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320else 321 exitcode=1 322 echo positional parameters were not saved. 323fi 324 325test $exitcode = 0) || { (exit 1); exit 1; } 326 327( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333_ASEOF 334}; then 335 break 336fi 337 338fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357fi 358 359 360fi 361 362fi 363 364 365 366(eval "as_func_return () { 367 (exit \$1) 368} 369as_func_success () { 370 as_func_return 0 371} 372as_func_failure () { 373 as_func_return 1 374} 375as_func_ret_success () { 376 return 0 377} 378as_func_ret_failure () { 379 return 1 380} 381 382exitcode=0 383if as_func_success; then 384 : 385else 386 exitcode=1 387 echo as_func_success failed. 388fi 389 390if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393fi 394 395if as_func_ret_success; then 396 : 397else 398 exitcode=1 399 echo as_func_ret_success failed. 400fi 401 402if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405fi 406 407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409else 410 exitcode=1 411 echo positional parameters were not saved. 412fi 413 414test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419} 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463} 464 465 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468else 469 as_dirname=false 470fi 471 472ECHO_C= ECHO_N= ECHO_T= 473case `echo -n x` in 474-n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479*) 480 ECHO_N='-n';; 481esac 482 483if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486else 487 as_expr=false 488fi 489 490rm -f conf$$ conf$$.exe conf$$.file 491if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496fi 497echo >conf$$.file 498if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508else 509 as_ln_s='cp -p' 510fi 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512rmdir conf$$.dir 2>/dev/null 513 514if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519fi 520 521if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541fi 542as_executable_p=$as_test_x 543 544# Sed expression to map a string onto a valid CPP name. 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547# Sed expression to map a string onto a valid variable name. 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552exec 7<&0 </dev/null 6>&1 553 554# Name of the host. 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556# so uname gets run too. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME='xkeyboard-config' 574PACKAGE_TARNAME='xkeyboard-config' 575PACKAGE_VERSION='1.3' 576PACKAGE_STRING='xkeyboard-config 1.3' 577PACKAGE_BUGREPORT='' 578 579ac_unique_file="rules/base.xml.in" 580# Factoring default headers for most tests. 581ac_includes_default="\ 582#include <stdio.h> 583#ifdef HAVE_SYS_TYPES_H 584# include <sys/types.h> 585#endif 586#ifdef HAVE_SYS_STAT_H 587# include <sys/stat.h> 588#endif 589#ifdef STDC_HEADERS 590# include <stdlib.h> 591# include <stddef.h> 592#else 593# ifdef HAVE_STDLIB_H 594# include <stdlib.h> 595# endif 596#endif 597#ifdef HAVE_STRING_H 598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 599# include <memory.h> 600# endif 601# include <string.h> 602#endif 603#ifdef HAVE_STRINGS_H 604# include <strings.h> 605#endif 606#ifdef HAVE_INTTYPES_H 607# include <inttypes.h> 608#endif 609#ifdef HAVE_STDINT_H 610# include <stdint.h> 611#endif 612#ifdef HAVE_UNISTD_H 613# include <unistd.h> 614#endif" 615 616ac_subst_vars='SHELL 617PATH_SEPARATOR 618PACKAGE_NAME 619PACKAGE_TARNAME 620PACKAGE_VERSION 621PACKAGE_STRING 622PACKAGE_BUGREPORT 623exec_prefix 624prefix 625program_transform_name 626bindir 627sbindir 628libexecdir 629datarootdir 630datadir 631sysconfdir 632sharedstatedir 633localstatedir 634includedir 635oldincludedir 636docdir 637infodir 638htmldir 639dvidir 640pdfdir 641psdir 642libdir 643localedir 644mandir 645DEFS 646ECHO_C 647ECHO_N 648ECHO_T 649LIBS 650build_alias 651host_alias 652target_alias 653INSTALL_PROGRAM 654INSTALL_SCRIPT 655INSTALL_DATA 656CYGPATH_W 657PACKAGE 658VERSION 659ACLOCAL 660AUTOCONF 661AUTOMAKE 662AUTOHEADER 663MAKEINFO 664install_sh 665STRIP 666INSTALL_STRIP_PROGRAM 667mkdir_p 668AWK 669SET_MAKE 670am__leading_dot 671AMTAR 672am__tar 673am__untar 674MAINTAINER_MODE_TRUE 675MAINTAINER_MODE_FALSE 676MAINT 677XKBCOMP 678CREATE_RULES_SYMLINK_TRUE 679CREATE_RULES_SYMLINK_FALSE 680CREATE_XKBCOMP_SYMLINK_TRUE 681CREATE_XKBCOMP_SYMLINK_FALSE 682USE_COMPAT_RULES_TRUE 683USE_COMPAT_RULES_FALSE 684INTLTOOL_DESKTOP_RULE 685INTLTOOL_DIRECTORY_RULE 686INTLTOOL_KEYS_RULE 687INTLTOOL_PROP_RULE 688INTLTOOL_OAF_RULE 689INTLTOOL_PONG_RULE 690INTLTOOL_SERVER_RULE 691INTLTOOL_SHEET_RULE 692INTLTOOL_SOUNDLIST_RULE 693INTLTOOL_UI_RULE 694INTLTOOL_XAM_RULE 695INTLTOOL_KBD_RULE 696INTLTOOL_XML_RULE 697INTLTOOL_XML_NOMERGE_RULE 698INTLTOOL_CAVES_RULE 699INTLTOOL_SCHEMAS_RULE 700INTLTOOL_THEME_RULE 701INTLTOOL_SERVICE_RULE 702INTLTOOL_POLICY_RULE 703XGETTEXT 704MSGMERGE 705MSGFMT 706INTLTOOL_EXTRACT 707INTLTOOL_MERGE 708INTLTOOL_UPDATE 709INTLTOOL_PERL 710ALL_LINGUAS 711CC 712CFLAGS 713LDFLAGS 714CPPFLAGS 715ac_ct_CC 716EXEEXT 717OBJEXT 718DEPDIR 719am__include 720am__quote 721AMDEP_TRUE 722AMDEP_FALSE 723AMDEPBACKSLASH 724CCDEPMODE 725am__fastdepCC_TRUE 726am__fastdepCC_FALSE 727DATADIRNAME 728GETTEXT_PACKAGE 729CPP 730GREP 731EGREP 732USE_NLS 733MSGFMT_OPTS 734GMSGFMT 735CATALOGS 736CATOBJEXT 737GMOFILES 738INSTOBJEXT 739INTLLIBS 740PO_IN_DATADIR_TRUE 741PO_IN_DATADIR_FALSE 742POFILES 743POSUB 744MKINSTALLDIRS 745xkb_base 746xkb_rules_symlink 747LIBOBJS 748LTLIBOBJS' 749ac_subst_files='' 750 ac_precious_vars='build_alias 751host_alias 752target_alias 753CC 754CFLAGS 755LDFLAGS 756LIBS 757CPPFLAGS 758CPP' 759 760 761# Initialize some variables set by options. 762ac_init_help= 763ac_init_version=false 764# The variables have the same names as the options, with 765# dashes changed to underlines. 766cache_file=/dev/null 767exec_prefix=NONE 768no_create= 769no_recursion= 770prefix=NONE 771program_prefix=NONE 772program_suffix=NONE 773program_transform_name=s,x,x, 774silent= 775site= 776srcdir= 777verbose= 778x_includes=NONE 779x_libraries=NONE 780 781# Installation directory options. 782# These are left unexpanded so users can "make install exec_prefix=/foo" 783# and all the variables that are supposed to be based on exec_prefix 784# by default will actually change. 785# Use braces instead of parens because sh, perl, etc. also accept them. 786# (The list follows the same order as the GNU Coding Standards.) 787bindir='${exec_prefix}/bin' 788sbindir='${exec_prefix}/sbin' 789libexecdir='${exec_prefix}/libexec' 790datarootdir='${prefix}/share' 791datadir='${datarootdir}' 792sysconfdir='${prefix}/etc' 793sharedstatedir='${prefix}/com' 794localstatedir='${prefix}/var' 795includedir='${prefix}/include' 796oldincludedir='/usr/include' 797docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 798infodir='${datarootdir}/info' 799htmldir='${docdir}' 800dvidir='${docdir}' 801pdfdir='${docdir}' 802psdir='${docdir}' 803libdir='${exec_prefix}/lib' 804localedir='${datarootdir}/locale' 805mandir='${datarootdir}/man' 806 807ac_prev= 808ac_dashdash= 809for ac_option 810do 811 # If the previous option needs an argument, assign it. 812 if test -n "$ac_prev"; then 813 eval $ac_prev=\$ac_option 814 ac_prev= 815 continue 816 fi 817 818 case $ac_option in 819 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 820 *) ac_optarg=yes ;; 821 esac 822 823 # Accept the important Cygnus configure options, so we can diagnose typos. 824 825 case $ac_dashdash$ac_option in 826 --) 827 ac_dashdash=yes ;; 828 829 -bindir | --bindir | --bindi | --bind | --bin | --bi) 830 ac_prev=bindir ;; 831 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 832 bindir=$ac_optarg ;; 833 834 -build | --build | --buil | --bui | --bu) 835 ac_prev=build_alias ;; 836 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 837 build_alias=$ac_optarg ;; 838 839 -cache-file | --cache-file | --cache-fil | --cache-fi \ 840 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 841 ac_prev=cache_file ;; 842 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 843 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 844 cache_file=$ac_optarg ;; 845 846 --config-cache | -C) 847 cache_file=config.cache ;; 848 849 -datadir | --datadir | --datadi | --datad) 850 ac_prev=datadir ;; 851 -datadir=* | --datadir=* | --datadi=* | --datad=*) 852 datadir=$ac_optarg ;; 853 854 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 855 | --dataroo | --dataro | --datar) 856 ac_prev=datarootdir ;; 857 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 858 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 859 datarootdir=$ac_optarg ;; 860 861 -disable-* | --disable-*) 862 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 863 # Reject names that are not valid shell variable names. 864 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 865 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 866 { (exit 1); exit 1; }; } 867 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 868 eval enable_$ac_feature=no ;; 869 870 -docdir | --docdir | --docdi | --doc | --do) 871 ac_prev=docdir ;; 872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 873 docdir=$ac_optarg ;; 874 875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 876 ac_prev=dvidir ;; 877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 878 dvidir=$ac_optarg ;; 879 880 -enable-* | --enable-*) 881 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 882 # Reject names that are not valid shell variable names. 883 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 885 { (exit 1); exit 1; }; } 886 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 887 eval enable_$ac_feature=\$ac_optarg ;; 888 889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 891 | --exec | --exe | --ex) 892 ac_prev=exec_prefix ;; 893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 895 | --exec=* | --exe=* | --ex=*) 896 exec_prefix=$ac_optarg ;; 897 898 -gas | --gas | --ga | --g) 899 # Obsolete; use --with-gas. 900 with_gas=yes ;; 901 902 -help | --help | --hel | --he | -h) 903 ac_init_help=long ;; 904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 905 ac_init_help=recursive ;; 906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 907 ac_init_help=short ;; 908 909 -host | --host | --hos | --ho) 910 ac_prev=host_alias ;; 911 -host=* | --host=* | --hos=* | --ho=*) 912 host_alias=$ac_optarg ;; 913 914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 915 ac_prev=htmldir ;; 916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 917 | --ht=*) 918 htmldir=$ac_optarg ;; 919 920 -includedir | --includedir | --includedi | --included | --include \ 921 | --includ | --inclu | --incl | --inc) 922 ac_prev=includedir ;; 923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 924 | --includ=* | --inclu=* | --incl=* | --inc=*) 925 includedir=$ac_optarg ;; 926 927 -infodir | --infodir | --infodi | --infod | --info | --inf) 928 ac_prev=infodir ;; 929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 930 infodir=$ac_optarg ;; 931 932 -libdir | --libdir | --libdi | --libd) 933 ac_prev=libdir ;; 934 -libdir=* | --libdir=* | --libdi=* | --libd=*) 935 libdir=$ac_optarg ;; 936 937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 938 | --libexe | --libex | --libe) 939 ac_prev=libexecdir ;; 940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 941 | --libexe=* | --libex=* | --libe=*) 942 libexecdir=$ac_optarg ;; 943 944 -localedir | --localedir | --localedi | --localed | --locale) 945 ac_prev=localedir ;; 946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 947 localedir=$ac_optarg ;; 948 949 -localstatedir | --localstatedir | --localstatedi | --localstated \ 950 | --localstate | --localstat | --localsta | --localst | --locals) 951 ac_prev=localstatedir ;; 952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 954 localstatedir=$ac_optarg ;; 955 956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 957 ac_prev=mandir ;; 958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 959 mandir=$ac_optarg ;; 960 961 -nfp | --nfp | --nf) 962 # Obsolete; use --without-fp. 963 with_fp=no ;; 964 965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 966 | --no-cr | --no-c | -n) 967 no_create=yes ;; 968 969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 971 no_recursion=yes ;; 972 973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 975 | --oldin | --oldi | --old | --ol | --o) 976 ac_prev=oldincludedir ;; 977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 980 oldincludedir=$ac_optarg ;; 981 982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 983 ac_prev=prefix ;; 984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 985 prefix=$ac_optarg ;; 986 987 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 988 | --program-pre | --program-pr | --program-p) 989 ac_prev=program_prefix ;; 990 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 992 program_prefix=$ac_optarg ;; 993 994 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 995 | --program-suf | --program-su | --program-s) 996 ac_prev=program_suffix ;; 997 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 999 program_suffix=$ac_optarg ;; 1000 1001 -program-transform-name | --program-transform-name \ 1002 | --program-transform-nam | --program-transform-na \ 1003 | --program-transform-n | --program-transform- \ 1004 | --program-transform | --program-transfor \ 1005 | --program-transfo | --program-transf \ 1006 | --program-trans | --program-tran \ 1007 | --progr-tra | --program-tr | --program-t) 1008 ac_prev=program_transform_name ;; 1009 -program-transform-name=* | --program-transform-name=* \ 1010 | --program-transform-nam=* | --program-transform-na=* \ 1011 | --program-transform-n=* | --program-transform-=* \ 1012 | --program-transform=* | --program-transfor=* \ 1013 | --program-transfo=* | --program-transf=* \ 1014 | --program-trans=* | --program-tran=* \ 1015 | --progr-tra=* | --program-tr=* | --program-t=*) 1016 program_transform_name=$ac_optarg ;; 1017 1018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1019 ac_prev=pdfdir ;; 1020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1021 pdfdir=$ac_optarg ;; 1022 1023 -psdir | --psdir | --psdi | --psd | --ps) 1024 ac_prev=psdir ;; 1025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1026 psdir=$ac_optarg ;; 1027 1028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1029 | -silent | --silent | --silen | --sile | --sil) 1030 silent=yes ;; 1031 1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1033 ac_prev=sbindir ;; 1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1035 | --sbi=* | --sb=*) 1036 sbindir=$ac_optarg ;; 1037 1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1040 | --sharedst | --shareds | --shared | --share | --shar \ 1041 | --sha | --sh) 1042 ac_prev=sharedstatedir ;; 1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1046 | --sha=* | --sh=*) 1047 sharedstatedir=$ac_optarg ;; 1048 1049 -site | --site | --sit) 1050 ac_prev=site ;; 1051 -site=* | --site=* | --sit=*) 1052 site=$ac_optarg ;; 1053 1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1055 ac_prev=srcdir ;; 1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1057 srcdir=$ac_optarg ;; 1058 1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1060 | --syscon | --sysco | --sysc | --sys | --sy) 1061 ac_prev=sysconfdir ;; 1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1064 sysconfdir=$ac_optarg ;; 1065 1066 -target | --target | --targe | --targ | --tar | --ta | --t) 1067 ac_prev=target_alias ;; 1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1069 target_alias=$ac_optarg ;; 1070 1071 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1072 verbose=yes ;; 1073 1074 -version | --version | --versio | --versi | --vers | -V) 1075 ac_init_version=: ;; 1076 1077 -with-* | --with-*) 1078 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1079 # Reject names that are not valid shell variable names. 1080 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1081 { echo "$as_me: error: invalid package name: $ac_package" >&2 1082 { (exit 1); exit 1; }; } 1083 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1084 eval with_$ac_package=\$ac_optarg ;; 1085 1086 -without-* | --without-*) 1087 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1088 # Reject names that are not valid shell variable names. 1089 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1090 { echo "$as_me: error: invalid package name: $ac_package" >&2 1091 { (exit 1); exit 1; }; } 1092 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1093 eval with_$ac_package=no ;; 1094 1095 --x) 1096 # Obsolete; use --with-x. 1097 with_x=yes ;; 1098 1099 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1100 | --x-incl | --x-inc | --x-in | --x-i) 1101 ac_prev=x_includes ;; 1102 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1103 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1104 x_includes=$ac_optarg ;; 1105 1106 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1107 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1108 ac_prev=x_libraries ;; 1109 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1110 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1111 x_libraries=$ac_optarg ;; 1112 1113 -*) { echo "$as_me: error: unrecognized option: $ac_option 1114Try \`$0 --help' for more information." >&2 1115 { (exit 1); exit 1; }; } 1116 ;; 1117 1118 *=*) 1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1120 # Reject names that are not valid shell variable names. 1121 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1122 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1123 { (exit 1); exit 1; }; } 1124 eval $ac_envvar=\$ac_optarg 1125 export $ac_envvar ;; 1126 1127 *) 1128 # FIXME: should be removed in autoconf 3.0. 1129 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1131 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1132 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1133 ;; 1134 1135 esac 1136done 1137 1138if test -n "$ac_prev"; then 1139 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1140 { echo "$as_me: error: missing argument to $ac_option" >&2 1141 { (exit 1); exit 1; }; } 1142fi 1143 1144# Be sure to have absolute directory names. 1145for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1146 datadir sysconfdir sharedstatedir localstatedir includedir \ 1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1148 libdir localedir mandir 1149do 1150 eval ac_val=\$$ac_var 1151 case $ac_val in 1152 [\\/$]* | ?:[\\/]* ) continue;; 1153 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1154 esac 1155 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1156 { (exit 1); exit 1; }; } 1157done 1158 1159# There might be people who depend on the old broken behavior: `$host' 1160# used to hold the argument of --host etc. 1161# FIXME: To remove some day. 1162build=$build_alias 1163host=$host_alias 1164target=$target_alias 1165 1166# FIXME: To remove some day. 1167if test "x$host_alias" != x; then 1168 if test "x$build_alias" = x; then 1169 cross_compiling=maybe 1170 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1171 If a cross compiler is detected then cross compile mode will be used." >&2 1172 elif test "x$build_alias" != "x$host_alias"; then 1173 cross_compiling=yes 1174 fi 1175fi 1176 1177ac_tool_prefix= 1178test -n "$host_alias" && ac_tool_prefix=$host_alias- 1179 1180test "$silent" = yes && exec 6>/dev/null 1181 1182 1183ac_pwd=`pwd` && test -n "$ac_pwd" && 1184ac_ls_di=`ls -di .` && 1185ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1186 { echo "$as_me: error: Working directory cannot be determined" >&2 1187 { (exit 1); exit 1; }; } 1188test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1189 { echo "$as_me: error: pwd does not report name of working directory" >&2 1190 { (exit 1); exit 1; }; } 1191 1192 1193# Find the source files, if location was not specified. 1194if test -z "$srcdir"; then 1195 ac_srcdir_defaulted=yes 1196 # Try the directory containing this script, then the parent directory. 1197 ac_confdir=`$as_dirname -- "$0" || 1198$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1199 X"$0" : 'X\(//\)[^/]' \| \ 1200 X"$0" : 'X\(//\)$' \| \ 1201 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1202echo X"$0" | 1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1204 s//\1/ 1205 q 1206 } 1207 /^X\(\/\/\)[^/].*/{ 1208 s//\1/ 1209 q 1210 } 1211 /^X\(\/\/\)$/{ 1212 s//\1/ 1213 q 1214 } 1215 /^X\(\/\).*/{ 1216 s//\1/ 1217 q 1218 } 1219 s/.*/./; q'` 1220 srcdir=$ac_confdir 1221 if test ! -r "$srcdir/$ac_unique_file"; then 1222 srcdir=.. 1223 fi 1224else 1225 ac_srcdir_defaulted=no 1226fi 1227if test ! -r "$srcdir/$ac_unique_file"; then 1228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1229 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1230 { (exit 1); exit 1; }; } 1231fi 1232ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1233ac_abs_confdir=`( 1234 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1235 { (exit 1); exit 1; }; } 1236 pwd)` 1237# When building in place, set srcdir=. 1238if test "$ac_abs_confdir" = "$ac_pwd"; then 1239 srcdir=. 1240fi 1241# Remove unnecessary trailing slashes from srcdir. 1242# Double slashes in file names in object file debugging info 1243# mess up M-x gdb in Emacs. 1244case $srcdir in 1245*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1246esac 1247for ac_var in $ac_precious_vars; do 1248 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1249 eval ac_env_${ac_var}_value=\$${ac_var} 1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1251 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1252done 1253 1254# 1255# Report the --help message. 1256# 1257if test "$ac_init_help" = "long"; then 1258 # Omit some internal or obsolete options to make the list less imposing. 1259 # This message is too long to be a string in the A/UX 3.1 sh. 1260 cat <<_ACEOF 1261\`configure' configures xkeyboard-config 1.3 to adapt to many kinds of systems. 1262 1263Usage: $0 [OPTION]... [VAR=VALUE]... 1264 1265To assign environment variables (e.g., CC, CFLAGS...), specify them as 1266VAR=VALUE. See below for descriptions of some of the useful variables. 1267 1268Defaults for the options are specified in brackets. 1269 1270Configuration: 1271 -h, --help display this help and exit 1272 --help=short display options specific to this package 1273 --help=recursive display the short help of all the included packages 1274 -V, --version display version information and exit 1275 -q, --quiet, --silent do not print \`checking...' messages 1276 --cache-file=FILE cache test results in FILE [disabled] 1277 -C, --config-cache alias for \`--cache-file=config.cache' 1278 -n, --no-create do not create output files 1279 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1280 1281Installation directories: 1282 --prefix=PREFIX install architecture-independent files in PREFIX 1283 [$ac_default_prefix] 1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1285 [PREFIX] 1286 1287By default, \`make install' will install all the files in 1288\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1289an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1290for instance \`--prefix=\$HOME'. 1291 1292For better control, use the options below. 1293 1294Fine tuning of the installation directories: 1295 --bindir=DIR user executables [EPREFIX/bin] 1296 --sbindir=DIR system admin executables [EPREFIX/sbin] 1297 --libexecdir=DIR program executables [EPREFIX/libexec] 1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1301 --libdir=DIR object code libraries [EPREFIX/lib] 1302 --includedir=DIR C header files [PREFIX/include] 1303 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1304 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1305 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1306 --infodir=DIR info documentation [DATAROOTDIR/info] 1307 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1308 --mandir=DIR man documentation [DATAROOTDIR/man] 1309 --docdir=DIR documentation root [DATAROOTDIR/doc/xkeyboard-config] 1310 --htmldir=DIR html documentation [DOCDIR] 1311 --dvidir=DIR dvi documentation [DOCDIR] 1312 --pdfdir=DIR pdf documentation [DOCDIR] 1313 --psdir=DIR ps documentation [DOCDIR] 1314_ACEOF 1315 1316 cat <<\_ACEOF 1317 1318Program names: 1319 --program-prefix=PREFIX prepend PREFIX to installed program names 1320 --program-suffix=SUFFIX append SUFFIX to installed program names 1321 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1322_ACEOF 1323fi 1324 1325if test -n "$ac_init_help"; then 1326 case $ac_init_help in 1327 short | recursive ) echo "Configuration of xkeyboard-config 1.3:";; 1328 esac 1329 cat <<\_ACEOF 1330 1331Optional Features: 1332 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1333 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1334 --enable-maintainer-mode enable make rules and dependencies not useful 1335 (and sometimes confusing) to the casual installer 1336 --enable-xkbcomp-symlink create xkbcomp symlink to $(xkb_base)../../../bin/xkbcomp 1337 --enable-compat-rules create compatibility rules 1338 --disable-dependency-tracking speeds up one-time build 1339 --enable-dependency-tracking do not reject slow dependency extractors 1340 1341Optional Packages: 1342 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1343 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1344 --with-xkb-base=DIR XKB base path [DATADIR/X11/xkb] 1345 --with-xkb-rules-symlink=NAME1(,NAME2)* create symlink(s) to "old style" rules files (xfree86 and/or xorg) 1346 1347Some influential environment variables: 1348 CC C compiler command 1349 CFLAGS C compiler flags 1350 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1351 nonstandard directory <lib dir> 1352 LIBS libraries to pass to the linker, e.g. -l<library> 1353 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1354 you have headers in a nonstandard directory <include dir> 1355 CPP C preprocessor 1356 1357Use these variables to override the choices made by `configure' or to help 1358it to find libraries and programs with nonstandard names/locations. 1359 1360_ACEOF 1361ac_status=$? 1362fi 1363 1364if test "$ac_init_help" = "recursive"; then 1365 # If there are subdirs, report their specific --help. 1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1367 test -d "$ac_dir" || continue 1368 ac_builddir=. 1369 1370case "$ac_dir" in 1371.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1372*) 1373 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1374 # A ".." for each directory in $ac_dir_suffix. 1375 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1376 case $ac_top_builddir_sub in 1377 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1378 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1379 esac ;; 1380esac 1381ac_abs_top_builddir=$ac_pwd 1382ac_abs_builddir=$ac_pwd$ac_dir_suffix 1383# for backward compatibility: 1384ac_top_builddir=$ac_top_build_prefix 1385 1386case $srcdir in 1387 .) # We are building in place. 1388 ac_srcdir=. 1389 ac_top_srcdir=$ac_top_builddir_sub 1390 ac_abs_top_srcdir=$ac_pwd ;; 1391 [\\/]* | ?:[\\/]* ) # Absolute name. 1392 ac_srcdir=$srcdir$ac_dir_suffix; 1393 ac_top_srcdir=$srcdir 1394 ac_abs_top_srcdir=$srcdir ;; 1395 *) # Relative name. 1396 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1397 ac_top_srcdir=$ac_top_build_prefix$srcdir 1398 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1399esac 1400ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1401 1402 cd "$ac_dir" || { ac_status=$?; continue; } 1403 # Check for guested configure. 1404 if test -f "$ac_srcdir/configure.gnu"; then 1405 echo && 1406 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1407 elif test -f "$ac_srcdir/configure"; then 1408 echo && 1409 $SHELL "$ac_srcdir/configure" --help=recursive 1410 else 1411 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1412 fi || ac_status=$? 1413 cd "$ac_pwd" || { ac_status=$?; break; } 1414 done 1415fi 1416 1417test -n "$ac_init_help" && exit $ac_status 1418if $ac_init_version; then 1419 cat <<\_ACEOF 1420xkeyboard-config configure 1.3 1421generated by GNU Autoconf 2.61 1422 1423Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14242002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1425This configure script is free software; the Free Software Foundation 1426gives unlimited permission to copy, distribute and modify it. 1427_ACEOF 1428 exit 1429fi 1430cat >config.log <<_ACEOF 1431This file contains any messages produced by compilers while 1432running configure, to aid debugging if configure makes a mistake. 1433 1434It was created by xkeyboard-config $as_me 1.3, which was 1435generated by GNU Autoconf 2.61. Invocation command line was 1436 1437 $ $0 $@ 1438 1439_ACEOF 1440exec 5>>config.log 1441{ 1442cat <<_ASUNAME 1443## --------- ## 1444## Platform. ## 1445## --------- ## 1446 1447hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1448uname -m = `(uname -m) 2>/dev/null || echo unknown` 1449uname -r = `(uname -r) 2>/dev/null || echo unknown` 1450uname -s = `(uname -s) 2>/dev/null || echo unknown` 1451uname -v = `(uname -v) 2>/dev/null || echo unknown` 1452 1453/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1454/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1455 1456/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1457/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1458/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1459/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1460/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1461/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1462/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1463 1464_ASUNAME 1465 1466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1467for as_dir in $PATH 1468do 1469 IFS=$as_save_IFS 1470 test -z "$as_dir" && as_dir=. 1471 echo "PATH: $as_dir" 1472done 1473IFS=$as_save_IFS 1474 1475} >&5 1476 1477cat >&5 <<_ACEOF 1478 1479 1480## ----------- ## 1481## Core tests. ## 1482## ----------- ## 1483 1484_ACEOF 1485 1486 1487# Keep a trace of the command line. 1488# Strip out --no-create and --no-recursion so they do not pile up. 1489# Strip out --silent because we don't want to record it for future runs. 1490# Also quote any args containing shell meta-characters. 1491# Make two passes to allow for proper duplicate-argument suppression. 1492ac_configure_args= 1493ac_configure_args0= 1494ac_configure_args1= 1495ac_must_keep_next=false 1496for ac_pass in 1 2 1497do 1498 for ac_arg 1499 do 1500 case $ac_arg in 1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1503 | -silent | --silent | --silen | --sile | --sil) 1504 continue ;; 1505 *\'*) 1506 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1507 esac 1508 case $ac_pass in 1509 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1510 2) 1511 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1512 if test $ac_must_keep_next = true; then 1513 ac_must_keep_next=false # Got value, back to normal. 1514 else 1515 case $ac_arg in 1516 *=* | --config-cache | -C | -disable-* | --disable-* \ 1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1519 | -with-* | --with-* | -without-* | --without-* | --x) 1520 case "$ac_configure_args0 " in 1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1522 esac 1523 ;; 1524 -* ) ac_must_keep_next=true ;; 1525 esac 1526 fi 1527 ac_configure_args="$ac_configure_args '$ac_arg'" 1528 ;; 1529 esac 1530 done 1531done 1532$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1533$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1534 1535# When interrupted or exit'd, cleanup temporary files, and complete 1536# config.log. We remove comments because anyway the quotes in there 1537# would cause problems or look ugly. 1538# WARNING: Use '\'' to represent an apostrophe within the trap. 1539# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1540trap 'exit_status=$? 1541 # Save into config.log some information that might help in debugging. 1542 { 1543 echo 1544 1545 cat <<\_ASBOX 1546## ---------------- ## 1547## Cache variables. ## 1548## ---------------- ## 1549_ASBOX 1550 echo 1551 # The following way of writing the cache mishandles newlines in values, 1552( 1553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1554 eval ac_val=\$$ac_var 1555 case $ac_val in #( 1556 *${as_nl}*) 1557 case $ac_var in #( 1558 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1559echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1560 esac 1561 case $ac_var in #( 1562 _ | IFS | as_nl) ;; #( 1563 *) $as_unset $ac_var ;; 1564 esac ;; 1565 esac 1566 done 1567 (set) 2>&1 | 1568 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1569 *${as_nl}ac_space=\ *) 1570 sed -n \ 1571 "s/'\''/'\''\\\\'\'''\''/g; 1572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1573 ;; #( 1574 *) 1575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1576 ;; 1577 esac | 1578 sort 1579) 1580 echo 1581 1582 cat <<\_ASBOX 1583## ----------------- ## 1584## Output variables. ## 1585## ----------------- ## 1586_ASBOX 1587 echo 1588 for ac_var in $ac_subst_vars 1589 do 1590 eval ac_val=\$$ac_var 1591 case $ac_val in 1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1593 esac 1594 echo "$ac_var='\''$ac_val'\''" 1595 done | sort 1596 echo 1597 1598 if test -n "$ac_subst_files"; then 1599 cat <<\_ASBOX 1600## ------------------- ## 1601## File substitutions. ## 1602## ------------------- ## 1603_ASBOX 1604 echo 1605 for ac_var in $ac_subst_files 1606 do 1607 eval ac_val=\$$ac_var 1608 case $ac_val in 1609 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1610 esac 1611 echo "$ac_var='\''$ac_val'\''" 1612 done | sort 1613 echo 1614 fi 1615 1616 if test -s confdefs.h; then 1617 cat <<\_ASBOX 1618## ----------- ## 1619## confdefs.h. ## 1620## ----------- ## 1621_ASBOX 1622 echo 1623 cat confdefs.h 1624 echo 1625 fi 1626 test "$ac_signal" != 0 && 1627 echo "$as_me: caught signal $ac_signal" 1628 echo "$as_me: exit $exit_status" 1629 } >&5 1630 rm -f core *.core core.conftest.* && 1631 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1632 exit $exit_status 1633' 0 1634for ac_signal in 1 2 13 15; do 1635 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1636done 1637ac_signal=0 1638 1639# confdefs.h avoids OS command line length limits that DEFS can exceed. 1640rm -f -r conftest* confdefs.h 1641 1642# Predefined preprocessor variables. 1643 1644cat >>confdefs.h <<_ACEOF 1645#define PACKAGE_NAME "$PACKAGE_NAME" 1646_ACEOF 1647 1648 1649cat >>confdefs.h <<_ACEOF 1650#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1651_ACEOF 1652 1653 1654cat >>confdefs.h <<_ACEOF 1655#define PACKAGE_VERSION "$PACKAGE_VERSION" 1656_ACEOF 1657 1658 1659cat >>confdefs.h <<_ACEOF 1660#define PACKAGE_STRING "$PACKAGE_STRING" 1661_ACEOF 1662 1663 1664cat >>confdefs.h <<_ACEOF 1665#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1666_ACEOF 1667 1668 1669# Let the site file select an alternate cache file if it wants to. 1670# Prefer explicitly selected file to automatically selected ones. 1671if test -n "$CONFIG_SITE"; then 1672 set x "$CONFIG_SITE" 1673elif test "x$prefix" != xNONE; then 1674 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1675else 1676 set x "$ac_default_prefix/share/config.site" \ 1677 "$ac_default_prefix/etc/config.site" 1678fi 1679shift 1680for ac_site_file 1681do 1682 if test -r "$ac_site_file"; then 1683 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1684echo "$as_me: loading site script $ac_site_file" >&6;} 1685 sed 's/^/| /' "$ac_site_file" >&5 1686 . "$ac_site_file" 1687 fi 1688done 1689 1690if test -r "$cache_file"; then 1691 # Some versions of bash will fail to source /dev/null (special 1692 # files actually), so we avoid doing that. 1693 if test -f "$cache_file"; then 1694 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1695echo "$as_me: loading cache $cache_file" >&6;} 1696 case $cache_file in 1697 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1698 *) . "./$cache_file";; 1699 esac 1700 fi 1701else 1702 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1703echo "$as_me: creating cache $cache_file" >&6;} 1704 >$cache_file 1705fi 1706 1707# Check that the precious variables saved in the cache have kept the same 1708# value. 1709ac_cache_corrupted=false 1710for ac_var in $ac_precious_vars; do 1711 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1712 eval ac_new_set=\$ac_env_${ac_var}_set 1713 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1714 eval ac_new_val=\$ac_env_${ac_var}_value 1715 case $ac_old_set,$ac_new_set in 1716 set,) 1717 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1718echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1719 ac_cache_corrupted=: ;; 1720 ,set) 1721 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1722echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1723 ac_cache_corrupted=: ;; 1724 ,);; 1725 *) 1726 if test "x$ac_old_val" != "x$ac_new_val"; then 1727 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1728echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1729 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1730echo "$as_me: former value: $ac_old_val" >&2;} 1731 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1732echo "$as_me: current value: $ac_new_val" >&2;} 1733 ac_cache_corrupted=: 1734 fi;; 1735 esac 1736 # Pass precious variables to config.status. 1737 if test "$ac_new_set" = set; then 1738 case $ac_new_val in 1739 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1740 *) ac_arg=$ac_var=$ac_new_val ;; 1741 esac 1742 case " $ac_configure_args " in 1743 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1744 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1745 esac 1746 fi 1747done 1748if $ac_cache_corrupted; then 1749 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1750echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1751 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1752echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1753 { (exit 1); exit 1; }; } 1754fi 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780ac_ext=c 1781ac_cpp='$CPP $CPPFLAGS' 1782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1784ac_compiler_gnu=$ac_cv_c_compiler_gnu 1785 1786 1787 1788am__api_version="1.9" 1789ac_aux_dir= 1790for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1791 if test -f "$ac_dir/install-sh"; then 1792 ac_aux_dir=$ac_dir 1793 ac_install_sh="$ac_aux_dir/install-sh -c" 1794 break 1795 elif test -f "$ac_dir/install.sh"; then 1796 ac_aux_dir=$ac_dir 1797 ac_install_sh="$ac_aux_dir/install.sh -c" 1798 break 1799 elif test -f "$ac_dir/shtool"; then 1800 ac_aux_dir=$ac_dir 1801 ac_install_sh="$ac_aux_dir/shtool install -c" 1802 break 1803 fi 1804done 1805if test -z "$ac_aux_dir"; then 1806 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1807echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1808 { (exit 1); exit 1; }; } 1809fi 1810 1811# These three variables are undocumented and unsupported, 1812# and are intended to be withdrawn in a future Autoconf release. 1813# They can cause serious problems if a builder's source tree is in a directory 1814# whose full name contains unusual characters. 1815ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1816ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1817ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1818 1819 1820# Find a good install program. We prefer a C program (faster), 1821# so one script is as good as another. But avoid the broken or 1822# incompatible versions: 1823# SysV /etc/install, /usr/sbin/install 1824# SunOS /usr/etc/install 1825# IRIX /sbin/install 1826# AIX /bin/install 1827# AmigaOS /C/install, which installs bootblocks on floppy discs 1828# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1829# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1830# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1831# OS/2's system install, which has a completely different semantic 1832# ./install, which can be erroneously created by make from ./install.sh. 1833{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1834echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1835if test -z "$INSTALL"; then 1836if test "${ac_cv_path_install+set}" = set; then 1837 echo $ECHO_N "(cached) $ECHO_C" >&6 1838else 1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1840for as_dir in $PATH 1841do 1842 IFS=$as_save_IFS 1843 test -z "$as_dir" && as_dir=. 1844 # Account for people who put trailing slashes in PATH elements. 1845case $as_dir/ in 1846 ./ | .// | /cC/* | \ 1847 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1848 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1849 /usr/ucb/* ) ;; 1850 *) 1851 # OSF1 and SCO ODT 3.0 have their own names for install. 1852 # Don't use installbsd from OSF since it installs stuff as root 1853 # by default. 1854 for ac_prog in ginstall scoinst install; do 1855 for ac_exec_ext in '' $ac_executable_extensions; do 1856 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1857 if test $ac_prog = install && 1858 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1859 # AIX install. It has an incompatible calling convention. 1860 : 1861 elif test $ac_prog = install && 1862 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1863 # program-specific install script used by HP pwplus--don't use. 1864 : 1865 else 1866 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1867 break 3 1868 fi 1869 fi 1870 done 1871 done 1872 ;; 1873esac 1874done 1875IFS=$as_save_IFS 1876 1877 1878fi 1879 if test "${ac_cv_path_install+set}" = set; then 1880 INSTALL=$ac_cv_path_install 1881 else 1882 # As a last resort, use the slow shell script. Don't cache a 1883 # value for INSTALL within a source directory, because that will 1884 # break other packages using the cache if that directory is 1885 # removed, or if the value is a relative name. 1886 INSTALL=$ac_install_sh 1887 fi 1888fi 1889{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1890echo "${ECHO_T}$INSTALL" >&6; } 1891 1892# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1893# It thinks the first close brace ends the variable substitution. 1894test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1895 1896test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1897 1898test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1899 1900{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1901echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1902# Just in case 1903sleep 1 1904echo timestamp > conftest.file 1905# Do `set' in a subshell so we don't clobber the current shell's 1906# arguments. Must try -L first in case configure is actually a 1907# symlink; some systems play weird games with the mod time of symlinks 1908# (eg FreeBSD returns the mod time of the symlink's containing 1909# directory). 1910if ( 1911 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1912 if test "$*" = "X"; then 1913 # -L didn't work. 1914 set X `ls -t $srcdir/configure conftest.file` 1915 fi 1916 rm -f conftest.file 1917 if test "$*" != "X $srcdir/configure conftest.file" \ 1918 && test "$*" != "X conftest.file $srcdir/configure"; then 1919 1920 # If neither matched, then we have a broken ls. This can happen 1921 # if, for instance, CONFIG_SHELL is bash and it inherits a 1922 # broken ls alias from the environment. This has actually 1923 # happened. Such a system could not be considered "sane". 1924 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1925alias in your environment" >&5 1926echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1927alias in your environment" >&2;} 1928 { (exit 1); exit 1; }; } 1929 fi 1930 1931 test "$2" = conftest.file 1932 ) 1933then 1934 # Ok. 1935 : 1936else 1937 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1938Check your system clock" >&5 1939echo "$as_me: error: newly created file is older than distributed files! 1940Check your system clock" >&2;} 1941 { (exit 1); exit 1; }; } 1942fi 1943{ echo "$as_me:$LINENO: result: yes" >&5 1944echo "${ECHO_T}yes" >&6; } 1945test "$program_prefix" != NONE && 1946 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1947# Use a double $ so make ignores it. 1948test "$program_suffix" != NONE && 1949 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1950# Double any \ or $. echo might interpret backslashes. 1951# By default was `s,x,x', remove it if useless. 1952cat <<\_ACEOF >conftest.sed 1953s/[\\$]/&&/g;s/;s,x,x,$// 1954_ACEOF 1955program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1956rm -f conftest.sed 1957 1958# expand $ac_aux_dir to an absolute path 1959am_aux_dir=`cd $ac_aux_dir && pwd` 1960 1961test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1962# Use eval to expand $SHELL 1963if eval "$MISSING --run true"; then 1964 am_missing_run="$MISSING --run " 1965else 1966 am_missing_run= 1967 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1968echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1969fi 1970 1971if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1972 # We used to keeping the `.' as first argument, in order to 1973 # allow $(mkdir_p) to be used without argument. As in 1974 # $(mkdir_p) $(somedir) 1975 # where $(somedir) is conditionally defined. However this is wrong 1976 # for two reasons: 1977 # 1. if the package is installed by a user who cannot write `.' 1978 # make install will fail, 1979 # 2. the above comment should most certainly read 1980 # $(mkdir_p) $(DESTDIR)$(somedir) 1981 # so it does not work when $(somedir) is undefined and 1982 # $(DESTDIR) is not. 1983 # To support the latter case, we have to write 1984 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1985 # so the `.' trick is pointless. 1986 mkdir_p='mkdir -p --' 1987else 1988 # On NextStep and OpenStep, the `mkdir' command does not 1989 # recognize any option. It will interpret all options as 1990 # directories to create, and then abort because `.' already 1991 # exists. 1992 for d in ./-p ./--version; 1993 do 1994 test -d $d && rmdir $d 1995 done 1996 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1997 if test -f "$ac_aux_dir/mkinstalldirs"; then 1998 mkdir_p='$(mkinstalldirs)' 1999 else 2000 mkdir_p='$(install_sh) -d' 2001 fi 2002fi 2003 2004for ac_prog in gawk mawk nawk awk 2005do 2006 # Extract the first word of "$ac_prog", so it can be a program name with args. 2007set dummy $ac_prog; ac_word=$2 2008{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2009echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2010if test "${ac_cv_prog_AWK+set}" = set; then 2011 echo $ECHO_N "(cached) $ECHO_C" >&6 2012else 2013 if test -n "$AWK"; then 2014 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2015else 2016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2017for as_dir in $PATH 2018do 2019 IFS=$as_save_IFS 2020 test -z "$as_dir" && as_dir=. 2021 for ac_exec_ext in '' $ac_executable_extensions; do 2022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2023 ac_cv_prog_AWK="$ac_prog" 2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2025 break 2 2026 fi 2027done 2028done 2029IFS=$as_save_IFS 2030 2031fi 2032fi 2033AWK=$ac_cv_prog_AWK 2034if test -n "$AWK"; then 2035 { echo "$as_me:$LINENO: result: $AWK" >&5 2036echo "${ECHO_T}$AWK" >&6; } 2037else 2038 { echo "$as_me:$LINENO: result: no" >&5 2039echo "${ECHO_T}no" >&6; } 2040fi 2041 2042 2043 test -n "$AWK" && break 2044done 2045 2046{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2047echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2048set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2049if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2050 echo $ECHO_N "(cached) $ECHO_C" >&6 2051else 2052 cat >conftest.make <<\_ACEOF 2053SHELL = /bin/sh 2054all: 2055 @echo '@@@%%%=$(MAKE)=@@@%%%' 2056_ACEOF 2057# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2058case `${MAKE-make} -f conftest.make 2>/dev/null` in 2059 *@@@%%%=?*=@@@%%%*) 2060 eval ac_cv_prog_make_${ac_make}_set=yes;; 2061 *) 2062 eval ac_cv_prog_make_${ac_make}_set=no;; 2063esac 2064rm -f conftest.make 2065fi 2066if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2067 { echo "$as_me:$LINENO: result: yes" >&5 2068echo "${ECHO_T}yes" >&6; } 2069 SET_MAKE= 2070else 2071 { echo "$as_me:$LINENO: result: no" >&5 2072echo "${ECHO_T}no" >&6; } 2073 SET_MAKE="MAKE=${MAKE-make}" 2074fi 2075 2076rm -rf .tst 2>/dev/null 2077mkdir .tst 2>/dev/null 2078if test -d .tst; then 2079 am__leading_dot=. 2080else 2081 am__leading_dot=_ 2082fi 2083rmdir .tst 2>/dev/null 2084 2085# test to see if srcdir already configured 2086if test "`cd $srcdir && pwd`" != "`pwd`" && 2087 test -f $srcdir/config.status; then 2088 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2089echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2090 { (exit 1); exit 1; }; } 2091fi 2092 2093# test whether we have cygpath 2094if test -z "$CYGPATH_W"; then 2095 if (cygpath --version) >/dev/null 2>/dev/null; then 2096 CYGPATH_W='cygpath -w' 2097 else 2098 CYGPATH_W=echo 2099 fi 2100fi 2101 2102 2103# Define the identity of the package. 2104 PACKAGE='xkeyboard-config' 2105 VERSION='1.3' 2106 2107 2108cat >>confdefs.h <<_ACEOF 2109#define PACKAGE "$PACKAGE" 2110_ACEOF 2111 2112 2113cat >>confdefs.h <<_ACEOF 2114#define VERSION "$VERSION" 2115_ACEOF 2116 2117# Some tools Automake needs. 2118 2119ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2120 2121 2122AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2123 2124 2125AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2126 2127 2128AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2129 2130 2131MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2132 2133install_sh=${install_sh-"$am_aux_dir/install-sh"} 2134 2135# Installed binaries are usually stripped using `strip' when the user 2136# run `make install-strip'. However `strip' might not be the right 2137# tool to use in cross-compilation environments, therefore Automake 2138# will honor the `STRIP' environment variable to overrule this program. 2139if test "$cross_compiling" != no; then 2140 if test -n "$ac_tool_prefix"; then 2141 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2142set dummy ${ac_tool_prefix}strip; ac_word=$2 2143{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2145if test "${ac_cv_prog_STRIP+set}" = set; then 2146 echo $ECHO_N "(cached) $ECHO_C" >&6 2147else 2148 if test -n "$STRIP"; then 2149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2150else 2151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2152for as_dir in $PATH 2153do 2154 IFS=$as_save_IFS 2155 test -z "$as_dir" && as_dir=. 2156 for ac_exec_ext in '' $ac_executable_extensions; do 2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2158 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2160 break 2 2161 fi 2162done 2163done 2164IFS=$as_save_IFS 2165 2166fi 2167fi 2168STRIP=$ac_cv_prog_STRIP 2169if test -n "$STRIP"; then 2170 { echo "$as_me:$LINENO: result: $STRIP" >&5 2171echo "${ECHO_T}$STRIP" >&6; } 2172else 2173 { echo "$as_me:$LINENO: result: no" >&5 2174echo "${ECHO_T}no" >&6; } 2175fi 2176 2177 2178fi 2179if test -z "$ac_cv_prog_STRIP"; then 2180 ac_ct_STRIP=$STRIP 2181 # Extract the first word of "strip", so it can be a program name with args. 2182set dummy strip; ac_word=$2 2183{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2184echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2185if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2186 echo $ECHO_N "(cached) $ECHO_C" >&6 2187else 2188 if test -n "$ac_ct_STRIP"; then 2189 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2190else 2191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2192for as_dir in $PATH 2193do 2194 IFS=$as_save_IFS 2195 test -z "$as_dir" && as_dir=. 2196 for ac_exec_ext in '' $ac_executable_extensions; do 2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2198 ac_cv_prog_ac_ct_STRIP="strip" 2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2200 break 2 2201 fi 2202done 2203done 2204IFS=$as_save_IFS 2205 2206fi 2207fi 2208ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2209if test -n "$ac_ct_STRIP"; then 2210 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2211echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2212else 2213 { echo "$as_me:$LINENO: result: no" >&5 2214echo "${ECHO_T}no" >&6; } 2215fi 2216 2217 if test "x$ac_ct_STRIP" = x; then 2218 STRIP=":" 2219 else 2220 case $cross_compiling:$ac_tool_warned in 2221yes:) 2222{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2223whose name does not start with the host triplet. If you think this 2224configuration is useful to you, please write to autoconf@gnu.org." >&5 2225echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2226whose name does not start with the host triplet. If you think this 2227configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2228ac_tool_warned=yes ;; 2229esac 2230 STRIP=$ac_ct_STRIP 2231 fi 2232else 2233 STRIP="$ac_cv_prog_STRIP" 2234fi 2235 2236fi 2237INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2238 2239# We need awk for the "check" target. The system "awk" is bad on 2240# some platforms. 2241# Always define AMTAR for backward compatibility. 2242 2243AMTAR=${AMTAR-"${am_missing_run}tar"} 2244 2245am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2246 2247 2248 2249 2250 2251{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2252echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2253 # Check whether --enable-maintainer-mode was given. 2254if test "${enable_maintainer_mode+set}" = set; then 2255 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2256else 2257 USE_MAINTAINER_MODE=no 2258fi 2259 2260 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2261echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2262 2263 2264if test $USE_MAINTAINER_MODE = yes; then 2265 MAINTAINER_MODE_TRUE= 2266 MAINTAINER_MODE_FALSE='#' 2267else 2268 MAINTAINER_MODE_TRUE='#' 2269 MAINTAINER_MODE_FALSE= 2270fi 2271 2272 MAINT=$MAINTAINER_MODE_TRUE 2273 2274 2275 2276 2277 2278# Extract the first word of "xkbcomp", so it can be a program name with args. 2279set dummy xkbcomp; ac_word=$2 2280{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2281echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2282if test "${ac_cv_path_XKBCOMP+set}" = set; then 2283 echo $ECHO_N "(cached) $ECHO_C" >&6 2284else 2285 case $XKBCOMP in 2286 [\\/]* | ?:[\\/]*) 2287 ac_cv_path_XKBCOMP="$XKBCOMP" # Let the user override the test with a path. 2288 ;; 2289 *) 2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2291for as_dir in $PATH 2292do 2293 IFS=$as_save_IFS 2294 test -z "$as_dir" && as_dir=. 2295 for ac_exec_ext in '' $ac_executable_extensions; do 2296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2297 ac_cv_path_XKBCOMP="$as_dir/$ac_word$ac_exec_ext" 2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2299 break 2 2300 fi 2301done 2302done 2303IFS=$as_save_IFS 2304 2305 test -z "$ac_cv_path_XKBCOMP" && ac_cv_path_XKBCOMP="not_found" 2306 ;; 2307esac 2308fi 2309XKBCOMP=$ac_cv_path_XKBCOMP 2310if test -n "$XKBCOMP"; then 2311 { echo "$as_me:$LINENO: result: $XKBCOMP" >&5 2312echo "${ECHO_T}$XKBCOMP" >&6; } 2313else 2314 { echo "$as_me:$LINENO: result: no" >&5 2315echo "${ECHO_T}no" >&6; } 2316fi 2317 2318 2319if test x$XKBCOMP = xnot_found ; then 2320 { { echo "$as_me:$LINENO: error: xkbcomp is required to install the xkb data files" >&5 2321echo "$as_me: error: xkbcomp is required to install the xkb data files" >&2;} 2322 { (exit 1); exit 1; }; } 2323fi 2324 2325 2326# Check whether --with-xkb_base was given. 2327if test "${with_xkb_base+set}" = set; then 2328 withval=$with_xkb_base; xkb_base="$withval" 2329else 2330 xkb_base="\$(datadir)/X11/xkb" 2331fi 2332 2333 2334 2335# Check whether --with-xkb_rules_symlink was given. 2336if test "${with_xkb_rules_symlink+set}" = set; then 2337 withval=$with_xkb_rules_symlink; xkb_rules_symlink="$withval" 2338fi 2339 2340 2341# Check whether --enable-xkbcomp_symlink was given. 2342if test "${enable_xkbcomp_symlink+set}" = set; then 2343 enableval=$enable_xkbcomp_symlink; enable_xkbcomp_symlink="$enableval" 2344else 2345 enable_xkbcomp_symlink="yes" 2346fi 2347 2348 2349# Check whether --enable-compat_rules was given. 2350if test "${enable_compat_rules+set}" = set; then 2351 enableval=$enable_compat_rules; enable_compat_rules="$enableval" 2352else 2353 enable_compat_rules="yes" 2354fi 2355 2356 2357 2358 2359if test "x$xkb_rules_symlink" != "x"; then 2360 CREATE_RULES_SYMLINK_TRUE= 2361 CREATE_RULES_SYMLINK_FALSE='#' 2362else 2363 CREATE_RULES_SYMLINK_TRUE='#' 2364 CREATE_RULES_SYMLINK_FALSE= 2365fi 2366 2367 2368 2369 2370if test "x$enable_xkbcomp_symlink" = "xyes"; then 2371 CREATE_XKBCOMP_SYMLINK_TRUE= 2372 CREATE_XKBCOMP_SYMLINK_FALSE='#' 2373else 2374 CREATE_XKBCOMP_SYMLINK_TRUE='#' 2375 CREATE_XKBCOMP_SYMLINK_FALSE= 2376fi 2377 2378 2379 2380 2381if test "x$enable_compat_rules" = "xyes"; then 2382 USE_COMPAT_RULES_TRUE= 2383 USE_COMPAT_RULES_FALSE='#' 2384else 2385 USE_COMPAT_RULES_TRUE='#' 2386 USE_COMPAT_RULES_FALSE= 2387fi 2388 2389 2390# **** 2391# i18n 2392# **** 2393DEPDIR="${am__leading_dot}deps" 2394 2395ac_config_commands="$ac_config_commands depfiles" 2396 2397 2398am_make=${MAKE-make} 2399cat > confinc << 'END' 2400am__doit: 2401 @echo done 2402.PHONY: am__doit 2403END 2404# If we don't find an include directive, just comment out the code. 2405{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2406echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2407am__include="#" 2408am__quote= 2409_am_result=none 2410# First try GNU make style include. 2411echo "include confinc" > confmf 2412# We grep out `Entering directory' and `Leaving directory' 2413# messages which can occur if `w' ends up in MAKEFLAGS. 2414# In particular we don't look at `^make:' because GNU make might 2415# be invoked under some other name (usually "gmake"), in which 2416# case it prints its new name instead of `make'. 2417if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2418 am__include=include 2419 am__quote= 2420 _am_result=GNU 2421fi 2422# Now try BSD make style include. 2423if test "$am__include" = "#"; then 2424 echo '.include "confinc"' > confmf 2425 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2426 am__include=.include 2427 am__quote="\"" 2428 _am_result=BSD 2429 fi 2430fi 2431 2432 2433{ echo "$as_me:$LINENO: result: $_am_result" >&5 2434echo "${ECHO_T}$_am_result" >&6; } 2435rm -f confinc confmf 2436 2437# Check whether --enable-dependency-tracking was given. 2438if test "${enable_dependency_tracking+set}" = set; then 2439 enableval=$enable_dependency_tracking; 2440fi 2441 2442if test "x$enable_dependency_tracking" != xno; then 2443 am_depcomp="$ac_aux_dir/depcomp" 2444 AMDEPBACKSLASH='\' 2445fi 2446 2447 2448if test "x$enable_dependency_tracking" != xno; then 2449 AMDEP_TRUE= 2450 AMDEP_FALSE='#' 2451else 2452 AMDEP_TRUE='#' 2453 AMDEP_FALSE= 2454fi 2455 2456 2457 2458ac_ext=c 2459ac_cpp='$CPP $CPPFLAGS' 2460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2462ac_compiler_gnu=$ac_cv_c_compiler_gnu 2463if test -n "$ac_tool_prefix"; then 2464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2465set dummy ${ac_tool_prefix}gcc; ac_word=$2 2466{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2467echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2468if test "${ac_cv_prog_CC+set}" = set; then 2469 echo $ECHO_N "(cached) $ECHO_C" >&6 2470else 2471 if test -n "$CC"; then 2472 ac_cv_prog_CC="$CC" # Let the user override the test. 2473else 2474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2475for as_dir in $PATH 2476do 2477 IFS=$as_save_IFS 2478 test -z "$as_dir" && as_dir=. 2479 for ac_exec_ext in '' $ac_executable_extensions; do 2480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2481 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2483 break 2 2484 fi 2485done 2486done 2487IFS=$as_save_IFS 2488 2489fi 2490fi 2491CC=$ac_cv_prog_CC 2492if test -n "$CC"; then 2493 { echo "$as_me:$LINENO: result: $CC" >&5 2494echo "${ECHO_T}$CC" >&6; } 2495else 2496 { echo "$as_me:$LINENO: result: no" >&5 2497echo "${ECHO_T}no" >&6; } 2498fi 2499 2500 2501fi 2502if test -z "$ac_cv_prog_CC"; then 2503 ac_ct_CC=$CC 2504 # Extract the first word of "gcc", so it can be a program name with args. 2505set dummy gcc; ac_word=$2 2506{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2507echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2508if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2509 echo $ECHO_N "(cached) $ECHO_C" >&6 2510else 2511 if test -n "$ac_ct_CC"; then 2512 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2513else 2514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2515for as_dir in $PATH 2516do 2517 IFS=$as_save_IFS 2518 test -z "$as_dir" && as_dir=. 2519 for ac_exec_ext in '' $ac_executable_extensions; do 2520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2521 ac_cv_prog_ac_ct_CC="gcc" 2522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2523 break 2 2524 fi 2525done 2526done 2527IFS=$as_save_IFS 2528 2529fi 2530fi 2531ac_ct_CC=$ac_cv_prog_ac_ct_CC 2532if test -n "$ac_ct_CC"; then 2533 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2534echo "${ECHO_T}$ac_ct_CC" >&6; } 2535else 2536 { echo "$as_me:$LINENO: result: no" >&5 2537echo "${ECHO_T}no" >&6; } 2538fi 2539 2540 if test "x$ac_ct_CC" = x; then 2541 CC="" 2542 else 2543 case $cross_compiling:$ac_tool_warned in 2544yes:) 2545{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2546whose name does not start with the host triplet. If you think this 2547configuration is useful to you, please write to autoconf@gnu.org." >&5 2548echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2549whose name does not start with the host triplet. If you think this 2550configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2551ac_tool_warned=yes ;; 2552esac 2553 CC=$ac_ct_CC 2554 fi 2555else 2556 CC="$ac_cv_prog_CC" 2557fi 2558 2559if test -z "$CC"; then 2560 if test -n "$ac_tool_prefix"; then 2561 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2562set dummy ${ac_tool_prefix}cc; ac_word=$2 2563{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2564echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2565if test "${ac_cv_prog_CC+set}" = set; then 2566 echo $ECHO_N "(cached) $ECHO_C" >&6 2567else 2568 if test -n "$CC"; then 2569 ac_cv_prog_CC="$CC" # Let the user override the test. 2570else 2571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2572for as_dir in $PATH 2573do 2574 IFS=$as_save_IFS 2575 test -z "$as_dir" && as_dir=. 2576 for ac_exec_ext in '' $ac_executable_extensions; do 2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2578 ac_cv_prog_CC="${ac_tool_prefix}cc" 2579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2580 break 2 2581 fi 2582done 2583done 2584IFS=$as_save_IFS 2585 2586fi 2587fi 2588CC=$ac_cv_prog_CC 2589if test -n "$CC"; then 2590 { echo "$as_me:$LINENO: result: $CC" >&5 2591echo "${ECHO_T}$CC" >&6; } 2592else 2593 { echo "$as_me:$LINENO: result: no" >&5 2594echo "${ECHO_T}no" >&6; } 2595fi 2596 2597 2598 fi 2599fi 2600if test -z "$CC"; then 2601 # Extract the first word of "cc", so it can be a program name with args. 2602set dummy cc; ac_word=$2 2603{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2604echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2605if test "${ac_cv_prog_CC+set}" = set; then 2606 echo $ECHO_N "(cached) $ECHO_C" >&6 2607else 2608 if test -n "$CC"; then 2609 ac_cv_prog_CC="$CC" # Let the user override the test. 2610else 2611 ac_prog_rejected=no 2612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2613for as_dir in $PATH 2614do 2615 IFS=$as_save_IFS 2616 test -z "$as_dir" && as_dir=. 2617 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2620 ac_prog_rejected=yes 2621 continue 2622 fi 2623 ac_cv_prog_CC="cc" 2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2625 break 2 2626 fi 2627done 2628done 2629IFS=$as_save_IFS 2630 2631if test $ac_prog_rejected = yes; then 2632 # We found a bogon in the path, so make sure we never use it. 2633 set dummy $ac_cv_prog_CC 2634 shift 2635 if test $# != 0; then 2636 # We chose a different compiler from the bogus one. 2637 # However, it has the same basename, so the bogon will be chosen 2638 # first if we set CC to just the basename; use the full file name. 2639 shift 2640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2641 fi 2642fi 2643fi 2644fi 2645CC=$ac_cv_prog_CC 2646if test -n "$CC"; then 2647 { echo "$as_me:$LINENO: result: $CC" >&5 2648echo "${ECHO_T}$CC" >&6; } 2649else 2650 { echo "$as_me:$LINENO: result: no" >&5 2651echo "${ECHO_T}no" >&6; } 2652fi 2653 2654 2655fi 2656if test -z "$CC"; then 2657 if test -n "$ac_tool_prefix"; then 2658 for ac_prog in cl.exe 2659 do 2660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2661set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2662{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2663echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2664if test "${ac_cv_prog_CC+set}" = set; then 2665 echo $ECHO_N "(cached) $ECHO_C" >&6 2666else 2667 if test -n "$CC"; then 2668 ac_cv_prog_CC="$CC" # Let the user override the test. 2669else 2670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2671for as_dir in $PATH 2672do 2673 IFS=$as_save_IFS 2674 test -z "$as_dir" && as_dir=. 2675 for ac_exec_ext in '' $ac_executable_extensions; do 2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2677 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2679 break 2 2680 fi 2681done 2682done 2683IFS=$as_save_IFS 2684 2685fi 2686fi 2687CC=$ac_cv_prog_CC 2688if test -n "$CC"; then 2689 { echo "$as_me:$LINENO: result: $CC" >&5 2690echo "${ECHO_T}$CC" >&6; } 2691else 2692 { echo "$as_me:$LINENO: result: no" >&5 2693echo "${ECHO_T}no" >&6; } 2694fi 2695 2696 2697 test -n "$CC" && break 2698 done 2699fi 2700if test -z "$CC"; then 2701 ac_ct_CC=$CC 2702 for ac_prog in cl.exe 2703do 2704 # Extract the first word of "$ac_prog", so it can be a program name with args. 2705set dummy $ac_prog; ac_word=$2 2706{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2707echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2708if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2709 echo $ECHO_N "(cached) $ECHO_C" >&6 2710else 2711 if test -n "$ac_ct_CC"; then 2712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2713else 2714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2715for as_dir in $PATH 2716do 2717 IFS=$as_save_IFS 2718 test -z "$as_dir" && as_dir=. 2719 for ac_exec_ext in '' $ac_executable_extensions; do 2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2721 ac_cv_prog_ac_ct_CC="$ac_prog" 2722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2723 break 2 2724 fi 2725done 2726done 2727IFS=$as_save_IFS 2728 2729fi 2730fi 2731ac_ct_CC=$ac_cv_prog_ac_ct_CC 2732if test -n "$ac_ct_CC"; then 2733 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2734echo "${ECHO_T}$ac_ct_CC" >&6; } 2735else 2736 { echo "$as_me:$LINENO: result: no" >&5 2737echo "${ECHO_T}no" >&6; } 2738fi 2739 2740 2741 test -n "$ac_ct_CC" && break 2742done 2743 2744 if test "x$ac_ct_CC" = x; then 2745 CC="" 2746 else 2747 case $cross_compiling:$ac_tool_warned in 2748yes:) 2749{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2750whose name does not start with the host triplet. If you think this 2751configuration is useful to you, please write to autoconf@gnu.org." >&5 2752echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2753whose name does not start with the host triplet. If you think this 2754configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2755ac_tool_warned=yes ;; 2756esac 2757 CC=$ac_ct_CC 2758 fi 2759fi 2760 2761fi 2762 2763 2764test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2765See \`config.log' for more details." >&5 2766echo "$as_me: error: no acceptable C compiler found in \$PATH 2767See \`config.log' for more details." >&2;} 2768 { (exit 1); exit 1; }; } 2769 2770# Provide some information about the compiler. 2771echo "$as_me:$LINENO: checking for C compiler version" >&5 2772ac_compiler=`set X $ac_compile; echo $2` 2773{ (ac_try="$ac_compiler --version >&5" 2774case "(($ac_try" in 2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2776 *) ac_try_echo=$ac_try;; 2777esac 2778eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2779 (eval "$ac_compiler --version >&5") 2>&5 2780 ac_status=$? 2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2782 (exit $ac_status); } 2783{ (ac_try="$ac_compiler -v >&5" 2784case "(($ac_try" in 2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2786 *) ac_try_echo=$ac_try;; 2787esac 2788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2789 (eval "$ac_compiler -v >&5") 2>&5 2790 ac_status=$? 2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2792 (exit $ac_status); } 2793{ (ac_try="$ac_compiler -V >&5" 2794case "(($ac_try" in 2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2796 *) ac_try_echo=$ac_try;; 2797esac 2798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2799 (eval "$ac_compiler -V >&5") 2>&5 2800 ac_status=$? 2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2802 (exit $ac_status); } 2803 2804cat >conftest.$ac_ext <<_ACEOF 2805/* confdefs.h. */ 2806_ACEOF 2807cat confdefs.h >>conftest.$ac_ext 2808cat >>conftest.$ac_ext <<_ACEOF 2809/* end confdefs.h. */ 2810 2811int 2812main () 2813{ 2814 2815 ; 2816 return 0; 2817} 2818_ACEOF 2819ac_clean_files_save=$ac_clean_files 2820ac_clean_files="$ac_clean_files a.out a.exe b.out" 2821# Try to create an executable without -o first, disregard a.out. 2822# It will help us diagnose broken compilers, and finding out an intuition 2823# of exeext. 2824{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2825echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2826ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2827# 2828# List of possible output files, starting from the most likely. 2829# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2830# only as a last resort. b.out is created by i960 compilers. 2831ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2832# 2833# The IRIX 6 linker writes into existing files which may not be 2834# executable, retaining their permissions. Remove them first so a 2835# subsequent execution test works. 2836ac_rmfiles= 2837for ac_file in $ac_files 2838do 2839 case $ac_file in 2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2841 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2842 esac 2843done 2844rm -f $ac_rmfiles 2845 2846if { (ac_try="$ac_link_default" 2847case "(($ac_try" in 2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2849 *) ac_try_echo=$ac_try;; 2850esac 2851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2852 (eval "$ac_link_default") 2>&5 2853 ac_status=$? 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); }; then 2856 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2857# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2858# in a Makefile. We should not override ac_cv_exeext if it was cached, 2859# so that the user can short-circuit this test for compilers unknown to 2860# Autoconf. 2861for ac_file in $ac_files '' 2862do 2863 test -f "$ac_file" || continue 2864 case $ac_file in 2865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2866 ;; 2867 [ab].out ) 2868 # We found the default executable, but exeext='' is most 2869 # certainly right. 2870 break;; 2871 *.* ) 2872 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2873 then :; else 2874 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2875 fi 2876 # We set ac_cv_exeext here because the later test for it is not 2877 # safe: cross compilers may not add the suffix if given an `-o' 2878 # argument, so we may need to know it at that point already. 2879 # Even if this section looks crufty: it has the advantage of 2880 # actually working. 2881 break;; 2882 * ) 2883 break;; 2884 esac 2885done 2886test "$ac_cv_exeext" = no && ac_cv_exeext= 2887 2888else 2889 ac_file='' 2890fi 2891 2892{ echo "$as_me:$LINENO: result: $ac_file" >&5 2893echo "${ECHO_T}$ac_file" >&6; } 2894if test -z "$ac_file"; then 2895 echo "$as_me: failed program was:" >&5 2896sed 's/^/| /' conftest.$ac_ext >&5 2897 2898{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2899See \`config.log' for more details." >&5 2900echo "$as_me: error: C compiler cannot create executables 2901See \`config.log' for more details." >&2;} 2902 { (exit 77); exit 77; }; } 2903fi 2904 2905ac_exeext=$ac_cv_exeext 2906 2907# Check that the compiler produces executables we can run. If not, either 2908# the compiler is broken, or we cross compile. 2909{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2910echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2911# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2912# If not cross compiling, check that we can run a simple program. 2913if test "$cross_compiling" != yes; then 2914 if { ac_try='./$ac_file' 2915 { (case "(($ac_try" in 2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2917 *) ac_try_echo=$ac_try;; 2918esac 2919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2920 (eval "$ac_try") 2>&5 2921 ac_status=$? 2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2923 (exit $ac_status); }; }; then 2924 cross_compiling=no 2925 else 2926 if test "$cross_compiling" = maybe; then 2927 cross_compiling=yes 2928 else 2929 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2930If you meant to cross compile, use \`--host'. 2931See \`config.log' for more details." >&5 2932echo "$as_me: error: cannot run C compiled programs. 2933If you meant to cross compile, use \`--host'. 2934See \`config.log' for more details." >&2;} 2935 { (exit 1); exit 1; }; } 2936 fi 2937 fi 2938fi 2939{ echo "$as_me:$LINENO: result: yes" >&5 2940echo "${ECHO_T}yes" >&6; } 2941 2942rm -f a.out a.exe conftest$ac_cv_exeext b.out 2943ac_clean_files=$ac_clean_files_save 2944# Check that the compiler produces executables we can run. If not, either 2945# the compiler is broken, or we cross compile. 2946{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2947echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2948{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2949echo "${ECHO_T}$cross_compiling" >&6; } 2950 2951{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2952echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2953if { (ac_try="$ac_link" 2954case "(($ac_try" in 2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2956 *) ac_try_echo=$ac_try;; 2957esac 2958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2959 (eval "$ac_link") 2>&5 2960 ac_status=$? 2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2962 (exit $ac_status); }; then 2963 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2964# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2965# work properly (i.e., refer to `conftest.exe'), while it won't with 2966# `rm'. 2967for ac_file in conftest.exe conftest conftest.*; do 2968 test -f "$ac_file" || continue 2969 case $ac_file in 2970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2971 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2972 break;; 2973 * ) break;; 2974 esac 2975done 2976else 2977 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2978See \`config.log' for more details." >&5 2979echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2980See \`config.log' for more details." >&2;} 2981 { (exit 1); exit 1; }; } 2982fi 2983 2984rm -f conftest$ac_cv_exeext 2985{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2986echo "${ECHO_T}$ac_cv_exeext" >&6; } 2987 2988rm -f conftest.$ac_ext 2989EXEEXT=$ac_cv_exeext 2990ac_exeext=$EXEEXT 2991{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2992echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2993if test "${ac_cv_objext+set}" = set; then 2994 echo $ECHO_N "(cached) $ECHO_C" >&6 2995else 2996 cat >conftest.$ac_ext <<_ACEOF 2997/* confdefs.h. */ 2998_ACEOF 2999cat confdefs.h >>conftest.$ac_ext 3000cat >>conftest.$ac_ext <<_ACEOF 3001/* end confdefs.h. */ 3002 3003int 3004main () 3005{ 3006 3007 ; 3008 return 0; 3009} 3010_ACEOF 3011rm -f conftest.o conftest.obj 3012if { (ac_try="$ac_compile" 3013case "(($ac_try" in 3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3015 *) ac_try_echo=$ac_try;; 3016esac 3017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3018 (eval "$ac_compile") 2>&5 3019 ac_status=$? 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3021 (exit $ac_status); }; then 3022 for ac_file in conftest.o conftest.obj conftest.*; do 3023 test -f "$ac_file" || continue; 3024 case $ac_file in 3025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3026 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3027 break;; 3028 esac 3029done 3030else 3031 echo "$as_me: failed program was:" >&5 3032sed 's/^/| /' conftest.$ac_ext >&5 3033 3034{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3035See \`config.log' for more details." >&5 3036echo "$as_me: error: cannot compute suffix of object files: cannot compile 3037See \`config.log' for more details." >&2;} 3038 { (exit 1); exit 1; }; } 3039fi 3040 3041rm -f conftest.$ac_cv_objext conftest.$ac_ext 3042fi 3043{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3044echo "${ECHO_T}$ac_cv_objext" >&6; } 3045OBJEXT=$ac_cv_objext 3046ac_objext=$OBJEXT 3047{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3048echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3049if test "${ac_cv_c_compiler_gnu+set}" = set; then 3050 echo $ECHO_N "(cached) $ECHO_C" >&6 3051else 3052 cat >conftest.$ac_ext <<_ACEOF 3053/* confdefs.h. */ 3054_ACEOF 3055cat confdefs.h >>conftest.$ac_ext 3056cat >>conftest.$ac_ext <<_ACEOF 3057/* end confdefs.h. */ 3058 3059int 3060main () 3061{ 3062#ifndef __GNUC__ 3063 choke me 3064#endif 3065 3066 ; 3067 return 0; 3068} 3069_ACEOF 3070rm -f conftest.$ac_objext 3071if { (ac_try="$ac_compile" 3072case "(($ac_try" in 3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3074 *) ac_try_echo=$ac_try;; 3075esac 3076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3077 (eval "$ac_compile") 2>conftest.er1 3078 ac_status=$? 3079 grep -v '^ *+' conftest.er1 >conftest.err 3080 rm -f conftest.er1 3081 cat conftest.err >&5 3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3083 (exit $ac_status); } && { 3084 test -z "$ac_c_werror_flag" || 3085 test ! -s conftest.err 3086 } && test -s conftest.$ac_objext; then 3087 ac_compiler_gnu=yes 3088else 3089 echo "$as_me: failed program was:" >&5 3090sed 's/^/| /' conftest.$ac_ext >&5 3091 3092 ac_compiler_gnu=no 3093fi 3094 3095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3096ac_cv_c_compiler_gnu=$ac_compiler_gnu 3097 3098fi 3099{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3100echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3101GCC=`test $ac_compiler_gnu = yes && echo yes` 3102ac_test_CFLAGS=${CFLAGS+set} 3103ac_save_CFLAGS=$CFLAGS 3104{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3105echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3106if test "${ac_cv_prog_cc_g+set}" = set; then 3107 echo $ECHO_N "(cached) $ECHO_C" >&6 3108else 3109 ac_save_c_werror_flag=$ac_c_werror_flag 3110 ac_c_werror_flag=yes 3111 ac_cv_prog_cc_g=no 3112 CFLAGS="-g" 3113 cat >conftest.$ac_ext <<_ACEOF 3114/* confdefs.h. */ 3115_ACEOF 3116cat confdefs.h >>conftest.$ac_ext 3117cat >>conftest.$ac_ext <<_ACEOF 3118/* end confdefs.h. */ 3119 3120int 3121main () 3122{ 3123 3124 ; 3125 return 0; 3126} 3127_ACEOF 3128rm -f conftest.$ac_objext 3129if { (ac_try="$ac_compile" 3130case "(($ac_try" in 3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3132 *) ac_try_echo=$ac_try;; 3133esac 3134eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3135 (eval "$ac_compile") 2>conftest.er1 3136 ac_status=$? 3137 grep -v '^ *+' conftest.er1 >conftest.err 3138 rm -f conftest.er1 3139 cat conftest.err >&5 3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3141 (exit $ac_status); } && { 3142 test -z "$ac_c_werror_flag" || 3143 test ! -s conftest.err 3144 } && test -s conftest.$ac_objext; then 3145 ac_cv_prog_cc_g=yes 3146else 3147 echo "$as_me: failed program was:" >&5 3148sed 's/^/| /' conftest.$ac_ext >&5 3149 3150 CFLAGS="" 3151 cat >conftest.$ac_ext <<_ACEOF 3152/* confdefs.h. */ 3153_ACEOF 3154cat confdefs.h >>conftest.$ac_ext 3155cat >>conftest.$ac_ext <<_ACEOF 3156/* end confdefs.h. */ 3157 3158int 3159main () 3160{ 3161 3162 ; 3163 return 0; 3164} 3165_ACEOF 3166rm -f conftest.$ac_objext 3167if { (ac_try="$ac_compile" 3168case "(($ac_try" in 3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3170 *) ac_try_echo=$ac_try;; 3171esac 3172eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3173 (eval "$ac_compile") 2>conftest.er1 3174 ac_status=$? 3175 grep -v '^ *+' conftest.er1 >conftest.err 3176 rm -f conftest.er1 3177 cat conftest.err >&5 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3179 (exit $ac_status); } && { 3180 test -z "$ac_c_werror_flag" || 3181 test ! -s conftest.err 3182 } && test -s conftest.$ac_objext; then 3183 : 3184else 3185 echo "$as_me: failed program was:" >&5 3186sed 's/^/| /' conftest.$ac_ext >&5 3187 3188 ac_c_werror_flag=$ac_save_c_werror_flag 3189 CFLAGS="-g" 3190 cat >conftest.$ac_ext <<_ACEOF 3191/* confdefs.h. */ 3192_ACEOF 3193cat confdefs.h >>conftest.$ac_ext 3194cat >>conftest.$ac_ext <<_ACEOF 3195/* end confdefs.h. */ 3196 3197int 3198main () 3199{ 3200 3201 ; 3202 return 0; 3203} 3204_ACEOF 3205rm -f conftest.$ac_objext 3206if { (ac_try="$ac_compile" 3207case "(($ac_try" in 3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3209 *) ac_try_echo=$ac_try;; 3210esac 3211eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3212 (eval "$ac_compile") 2>conftest.er1 3213 ac_status=$? 3214 grep -v '^ *+' conftest.er1 >conftest.err 3215 rm -f conftest.er1 3216 cat conftest.err >&5 3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3218 (exit $ac_status); } && { 3219 test -z "$ac_c_werror_flag" || 3220 test ! -s conftest.err 3221 } && test -s conftest.$ac_objext; then 3222 ac_cv_prog_cc_g=yes 3223else 3224 echo "$as_me: failed program was:" >&5 3225sed 's/^/| /' conftest.$ac_ext >&5 3226 3227 3228fi 3229 3230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3231fi 3232 3233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3234fi 3235 3236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3237 ac_c_werror_flag=$ac_save_c_werror_flag 3238fi 3239{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3240echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3241if test "$ac_test_CFLAGS" = set; then 3242 CFLAGS=$ac_save_CFLAGS 3243elif test $ac_cv_prog_cc_g = yes; then 3244 if test "$GCC" = yes; then 3245 CFLAGS="-g -O2" 3246 else 3247 CFLAGS="-g" 3248 fi 3249else 3250 if test "$GCC" = yes; then 3251 CFLAGS="-O2" 3252 else 3253 CFLAGS= 3254 fi 3255fi 3256{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3257echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3258if test "${ac_cv_prog_cc_c89+set}" = set; then 3259 echo $ECHO_N "(cached) $ECHO_C" >&6 3260else 3261 ac_cv_prog_cc_c89=no 3262ac_save_CC=$CC 3263cat >conftest.$ac_ext <<_ACEOF 3264/* confdefs.h. */ 3265_ACEOF 3266cat confdefs.h >>conftest.$ac_ext 3267cat >>conftest.$ac_ext <<_ACEOF 3268/* end confdefs.h. */ 3269#include <stdarg.h> 3270#include <stdio.h> 3271#include <sys/types.h> 3272#include <sys/stat.h> 3273/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3274struct buf { int x; }; 3275FILE * (*rcsopen) (struct buf *, struct stat *, int); 3276static char *e (p, i) 3277 char **p; 3278 int i; 3279{ 3280 return p[i]; 3281} 3282static char *f (char * (*g) (char **, int), char **p, ...) 3283{ 3284 char *s; 3285 va_list v; 3286 va_start (v,p); 3287 s = g (p, va_arg (v,int)); 3288 va_end (v); 3289 return s; 3290} 3291 3292/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3293 function prototypes and stuff, but not '\xHH' hex character constants. 3294 These don't provoke an error unfortunately, instead are silently treated 3295 as 'x'. The following induces an error, until -std is added to get 3296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3297 array size at least. It's necessary to write '\x00'==0 to get something 3298 that's true only with -std. */ 3299int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3300 3301/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3302 inside strings and character constants. */ 3303#define FOO(x) 'x' 3304int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3305 3306int test (int i, double x); 3307struct s1 {int (*f) (int a);}; 3308struct s2 {int (*f) (double a);}; 3309int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3310int argc; 3311char **argv; 3312int 3313main () 3314{ 3315return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3316 ; 3317 return 0; 3318} 3319_ACEOF 3320for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3322do 3323 CC="$ac_save_CC $ac_arg" 3324 rm -f conftest.$ac_objext 3325if { (ac_try="$ac_compile" 3326case "(($ac_try" in 3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3328 *) ac_try_echo=$ac_try;; 3329esac 3330eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3331 (eval "$ac_compile") 2>conftest.er1 3332 ac_status=$? 3333 grep -v '^ *+' conftest.er1 >conftest.err 3334 rm -f conftest.er1 3335 cat conftest.err >&5 3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3337 (exit $ac_status); } && { 3338 test -z "$ac_c_werror_flag" || 3339 test ! -s conftest.err 3340 } && test -s conftest.$ac_objext; then 3341 ac_cv_prog_cc_c89=$ac_arg 3342else 3343 echo "$as_me: failed program was:" >&5 3344sed 's/^/| /' conftest.$ac_ext >&5 3345 3346 3347fi 3348 3349rm -f core conftest.err conftest.$ac_objext 3350 test "x$ac_cv_prog_cc_c89" != "xno" && break 3351done 3352rm -f conftest.$ac_ext 3353CC=$ac_save_CC 3354 3355fi 3356# AC_CACHE_VAL 3357case "x$ac_cv_prog_cc_c89" in 3358 x) 3359 { echo "$as_me:$LINENO: result: none needed" >&5 3360echo "${ECHO_T}none needed" >&6; } ;; 3361 xno) 3362 { echo "$as_me:$LINENO: result: unsupported" >&5 3363echo "${ECHO_T}unsupported" >&6; } ;; 3364 *) 3365 CC="$CC $ac_cv_prog_cc_c89" 3366 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3367echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3368esac 3369 3370 3371ac_ext=c 3372ac_cpp='$CPP $CPPFLAGS' 3373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3375ac_compiler_gnu=$ac_cv_c_compiler_gnu 3376 3377depcc="$CC" am_compiler_list= 3378 3379{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3380echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3381if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3382 echo $ECHO_N "(cached) $ECHO_C" >&6 3383else 3384 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3385 # We make a subdir and do the tests there. Otherwise we can end up 3386 # making bogus files that we don't know about and never remove. For 3387 # instance it was reported that on HP-UX the gcc test will end up 3388 # making a dummy file named `D' -- because `-MD' means `put the output 3389 # in D'. 3390 mkdir conftest.dir 3391 # Copy depcomp to subdir because otherwise we won't find it if we're 3392 # using a relative directory. 3393 cp "$am_depcomp" conftest.dir 3394 cd conftest.dir 3395 # We will build objects and dependencies in a subdirectory because 3396 # it helps to detect inapplicable dependency modes. For instance 3397 # both Tru64's cc and ICC support -MD to output dependencies as a 3398 # side effect of compilation, but ICC will put the dependencies in 3399 # the current directory while Tru64 will put them in the object 3400 # directory. 3401 mkdir sub 3402 3403 am_cv_CC_dependencies_compiler_type=none 3404 if test "$am_compiler_list" = ""; then 3405 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3406 fi 3407 for depmode in $am_compiler_list; do 3408 # Setup a source with many dependencies, because some compilers 3409 # like to wrap large dependency lists on column 80 (with \), and 3410 # we should not choose a depcomp mode which is confused by this. 3411 # 3412 # We need to recreate these files for each test, as the compiler may 3413 # overwrite some of them when testing with obscure command lines. 3414 # This happens at least with the AIX C compiler. 3415 : > sub/conftest.c 3416 for i in 1 2 3 4 5 6; do 3417 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3418 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3419 # Solaris 8's {/usr,}/bin/sh. 3420 touch sub/conftst$i.h 3421 done 3422 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3423 3424 case $depmode in 3425 nosideeffect) 3426 # after this tag, mechanisms are not by side-effect, so they'll 3427 # only be used when explicitly requested 3428 if test "x$enable_dependency_tracking" = xyes; then 3429 continue 3430 else 3431 break 3432 fi 3433 ;; 3434 none) break ;; 3435 esac 3436 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3437 # mode. It turns out that the SunPro C++ compiler does not properly 3438 # handle `-M -o', and we need to detect this. 3439 if depmode=$depmode \ 3440 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3441 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3442 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3443 >/dev/null 2>conftest.err && 3444 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3445 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3446 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3447 # icc doesn't choke on unknown options, it will just issue warnings 3448 # or remarks (even with -Werror). So we grep stderr for any message 3449 # that says an option was ignored or not supported. 3450 # When given -MP, icc 7.0 and 7.1 complain thusly: 3451 # icc: Command line warning: ignoring option '-M'; no argument required 3452 # The diagnosis changed in icc 8.0: 3453 # icc: Command line remark: option '-MP' not supported 3454 if (grep 'ignoring option' conftest.err || 3455 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3456 am_cv_CC_dependencies_compiler_type=$depmode 3457 break 3458 fi 3459 fi 3460 done 3461 3462 cd .. 3463 rm -rf conftest.dir 3464else 3465 am_cv_CC_dependencies_compiler_type=none 3466fi 3467 3468fi 3469{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3470echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3471CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3472 3473 3474 3475if 3476 test "x$enable_dependency_tracking" != xno \ 3477 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3478 am__fastdepCC_TRUE= 3479 am__fastdepCC_FALSE='#' 3480else 3481 am__fastdepCC_TRUE='#' 3482 am__fastdepCC_FALSE= 3483fi 3484 3485 3486 3487 3488case "$am__api_version" in 3489 1.01234) 3490 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 3491echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} 3492 { (exit 1); exit 1; }; } 3493 ;; 3494 *) 3495 ;; 3496esac 3497 3498if test -n "0.30"; then 3499 { echo "$as_me:$LINENO: checking for intltool >= 0.30" >&5 3500echo $ECHO_N "checking for intltool >= 0.30... $ECHO_C" >&6; } 3501 3502 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.30 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 3503 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` 3504 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` 3505 3506 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 3507echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; } 3508 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 3509 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.30 or later." >&5 3510echo "$as_me: error: Your intltool is too old. You need intltool 0.30 or later." >&2;} 3511 { (exit 1); exit 1; }; } 3512fi 3513 3514 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3515INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3516 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3517 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3518 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 3519 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3520 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3521 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3522INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3523 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3524 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3525 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 3526 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3527 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3528 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3529 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3530 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3531 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3532 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554# Check the gettext tools to make sure they are GNU 3555# Extract the first word of "xgettext", so it can be a program name with args. 3556set dummy xgettext; ac_word=$2 3557{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3559if test "${ac_cv_path_XGETTEXT+set}" = set; then 3560 echo $ECHO_N "(cached) $ECHO_C" >&6 3561else 3562 case $XGETTEXT in 3563 [\\/]* | ?:[\\/]*) 3564 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3565 ;; 3566 *) 3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3568for as_dir in $PATH 3569do 3570 IFS=$as_save_IFS 3571 test -z "$as_dir" && as_dir=. 3572 for ac_exec_ext in '' $ac_executable_extensions; do 3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3574 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3576 break 2 3577 fi 3578done 3579done 3580IFS=$as_save_IFS 3581 3582 ;; 3583esac 3584fi 3585XGETTEXT=$ac_cv_path_XGETTEXT 3586if test -n "$XGETTEXT"; then 3587 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 3588echo "${ECHO_T}$XGETTEXT" >&6; } 3589else 3590 { echo "$as_me:$LINENO: result: no" >&5 3591echo "${ECHO_T}no" >&6; } 3592fi 3593 3594 3595# Extract the first word of "msgmerge", so it can be a program name with args. 3596set dummy msgmerge; ac_word=$2 3597{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3598echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3599if test "${ac_cv_path_MSGMERGE+set}" = set; then 3600 echo $ECHO_N "(cached) $ECHO_C" >&6 3601else 3602 case $MSGMERGE in 3603 [\\/]* | ?:[\\/]*) 3604 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3605 ;; 3606 *) 3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3608for as_dir in $PATH 3609do 3610 IFS=$as_save_IFS 3611 test -z "$as_dir" && as_dir=. 3612 for ac_exec_ext in '' $ac_executable_extensions; do 3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3614 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3616 break 2 3617 fi 3618done 3619done 3620IFS=$as_save_IFS 3621 3622 ;; 3623esac 3624fi 3625MSGMERGE=$ac_cv_path_MSGMERGE 3626if test -n "$MSGMERGE"; then 3627 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 3628echo "${ECHO_T}$MSGMERGE" >&6; } 3629else 3630 { echo "$as_me:$LINENO: result: no" >&5 3631echo "${ECHO_T}no" >&6; } 3632fi 3633 3634 3635# Extract the first word of "msgfmt", so it can be a program name with args. 3636set dummy msgfmt; ac_word=$2 3637{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3638echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3639if test "${ac_cv_path_MSGFMT+set}" = set; then 3640 echo $ECHO_N "(cached) $ECHO_C" >&6 3641else 3642 case $MSGFMT in 3643 [\\/]* | ?:[\\/]*) 3644 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3645 ;; 3646 *) 3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3648for as_dir in $PATH 3649do 3650 IFS=$as_save_IFS 3651 test -z "$as_dir" && as_dir=. 3652 for ac_exec_ext in '' $ac_executable_extensions; do 3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3654 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 3655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3656 break 2 3657 fi 3658done 3659done 3660IFS=$as_save_IFS 3661 3662 ;; 3663esac 3664fi 3665MSGFMT=$ac_cv_path_MSGFMT 3666if test -n "$MSGFMT"; then 3667 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 3668echo "${ECHO_T}$MSGFMT" >&6; } 3669else 3670 { echo "$as_me:$LINENO: result: no" >&5 3671echo "${ECHO_T}no" >&6; } 3672fi 3673 3674 3675if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 3676 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 3677echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} 3678 { (exit 1); exit 1; }; } 3679fi 3680xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 3681mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 3682mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 3683if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 3684 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 3685echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} 3686 { (exit 1); exit 1; }; } 3687fi 3688 3689# Use the tools built into the package, not the ones that are installed. 3690INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' 3691 3692INTLTOOL_MERGE='$(top_builddir)/intltool-merge' 3693 3694INTLTOOL_UPDATE='$(top_builddir)/intltool-update' 3695 3696 3697# Extract the first word of "perl", so it can be a program name with args. 3698set dummy perl; ac_word=$2 3699{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3700echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3701if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then 3702 echo $ECHO_N "(cached) $ECHO_C" >&6 3703else 3704 case $INTLTOOL_PERL in 3705 [\\/]* | ?:[\\/]*) 3706 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 3707 ;; 3708 *) 3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3710for as_dir in $PATH 3711do 3712 IFS=$as_save_IFS 3713 test -z "$as_dir" && as_dir=. 3714 for ac_exec_ext in '' $ac_executable_extensions; do 3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3716 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 3717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3718 break 2 3719 fi 3720done 3721done 3722IFS=$as_save_IFS 3723 3724 ;; 3725esac 3726fi 3727INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 3728if test -n "$INTLTOOL_PERL"; then 3729 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 3730echo "${ECHO_T}$INTLTOOL_PERL" >&6; } 3731else 3732 { echo "$as_me:$LINENO: result: no" >&5 3733echo "${ECHO_T}no" >&6; } 3734fi 3735 3736 3737if test -z "$INTLTOOL_PERL"; then 3738 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 3739echo "$as_me: error: perl not found; required for intltool" >&2;} 3740 { (exit 1); exit 1; }; } 3741fi 3742if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then 3743 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 3744echo "$as_me: error: perl 5.x required for intltool" >&2;} 3745 { (exit 1); exit 1; }; } 3746fi 3747if test "x" != "xno-xml"; then 3748 { echo "$as_me:$LINENO: checking for XML::Parser" >&5 3749echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; } 3750 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 3751 { echo "$as_me:$LINENO: result: ok" >&5 3752echo "${ECHO_T}ok" >&6; } 3753 else 3754 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 3755echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} 3756 { (exit 1); exit 1; }; } 3757 fi 3758fi 3759 3760# Substitute ALL_LINGUAS so we can use it in po/Makefile 3761 3762 3763# Set DATADIRNAME correctly if it is not set yet 3764# (copied from glib-gettext.m4) 3765if test -z "$DATADIRNAME"; then 3766 cat >conftest.$ac_ext <<_ACEOF 3767/* confdefs.h. */ 3768_ACEOF 3769cat confdefs.h >>conftest.$ac_ext 3770cat >>conftest.$ac_ext <<_ACEOF 3771/* end confdefs.h. */ 3772 3773int 3774main () 3775{ 3776extern int _nl_msg_cat_cntr; 3777 return _nl_msg_cat_cntr 3778 ; 3779 return 0; 3780} 3781_ACEOF 3782rm -f conftest.$ac_objext conftest$ac_exeext 3783if { (ac_try="$ac_link" 3784case "(($ac_try" in 3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3786 *) ac_try_echo=$ac_try;; 3787esac 3788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3789 (eval "$ac_link") 2>conftest.er1 3790 ac_status=$? 3791 grep -v '^ *+' conftest.er1 >conftest.err 3792 rm -f conftest.er1 3793 cat conftest.err >&5 3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3795 (exit $ac_status); } && { 3796 test -z "$ac_c_werror_flag" || 3797 test ! -s conftest.err 3798 } && test -s conftest$ac_exeext && 3799 $as_test_x conftest$ac_exeext; then 3800 DATADIRNAME=share 3801else 3802 echo "$as_me: failed program was:" >&5 3803sed 's/^/| /' conftest.$ac_ext >&5 3804 3805 case $host in 3806 *-*-solaris*) 3807 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 3808echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } 3809if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then 3810 echo $ECHO_N "(cached) $ECHO_C" >&6 3811else 3812 cat >conftest.$ac_ext <<_ACEOF 3813/* confdefs.h. */ 3814_ACEOF 3815cat confdefs.h >>conftest.$ac_ext 3816cat >>conftest.$ac_ext <<_ACEOF 3817/* end confdefs.h. */ 3818/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. 3819 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3820#define bind_textdomain_codeset innocuous_bind_textdomain_codeset 3821 3822/* System header to define __stub macros and hopefully few prototypes, 3823 which can conflict with char bind_textdomain_codeset (); below. 3824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3825 <limits.h> exists even on freestanding compilers. */ 3826 3827#ifdef __STDC__ 3828# include <limits.h> 3829#else 3830# include <assert.h> 3831#endif 3832 3833#undef bind_textdomain_codeset 3834 3835/* Override any GCC internal prototype to avoid an error. 3836 Use char because int might match the return type of a GCC 3837 builtin and then its argument prototype would still apply. */ 3838#ifdef __cplusplus 3839extern "C" 3840#endif 3841char bind_textdomain_codeset (); 3842/* The GNU C library defines this for functions which it implements 3843 to always fail with ENOSYS. Some functions are actually named 3844 something starting with __ and the normal name is an alias. */ 3845#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset 3846choke me 3847#endif 3848 3849int 3850main () 3851{ 3852return bind_textdomain_codeset (); 3853 ; 3854 return 0; 3855} 3856_ACEOF 3857rm -f conftest.$ac_objext conftest$ac_exeext 3858if { (ac_try="$ac_link" 3859case "(($ac_try" in 3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3861 *) ac_try_echo=$ac_try;; 3862esac 3863eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3864 (eval "$ac_link") 2>conftest.er1 3865 ac_status=$? 3866 grep -v '^ *+' conftest.er1 >conftest.err 3867 rm -f conftest.er1 3868 cat conftest.err >&5 3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3870 (exit $ac_status); } && { 3871 test -z "$ac_c_werror_flag" || 3872 test ! -s conftest.err 3873 } && test -s conftest$ac_exeext && 3874 $as_test_x conftest$ac_exeext; then 3875 ac_cv_func_bind_textdomain_codeset=yes 3876else 3877 echo "$as_me: failed program was:" >&5 3878sed 's/^/| /' conftest.$ac_ext >&5 3879 3880 ac_cv_func_bind_textdomain_codeset=no 3881fi 3882 3883rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3884 conftest$ac_exeext conftest.$ac_ext 3885fi 3886{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 3887echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } 3888if test $ac_cv_func_bind_textdomain_codeset = yes; then 3889 DATADIRNAME=share 3890else 3891 DATADIRNAME=lib 3892fi 3893 3894 ;; 3895 *) 3896 DATADIRNAME=lib 3897 ;; 3898 esac 3899fi 3900 3901rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3902 conftest$ac_exeext conftest.$ac_ext 3903fi 3904 3905 3906 3907 3908 3909ac_config_commands="$ac_config_commands intltool" 3910 3911 3912 3913 3914GETTEXT_PACKAGE=xkeyboard-config 3915 3916 3917cat >>confdefs.h <<_ACEOF 3918#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 3919_ACEOF 3920 3921 3922ac_ext=c 3923ac_cpp='$CPP $CPPFLAGS' 3924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3926ac_compiler_gnu=$ac_cv_c_compiler_gnu 3927{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3928echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3929# On Suns, sometimes $CPP names a directory. 3930if test -n "$CPP" && test -d "$CPP"; then 3931 CPP= 3932fi 3933if test -z "$CPP"; then 3934 if test "${ac_cv_prog_CPP+set}" = set; then 3935 echo $ECHO_N "(cached) $ECHO_C" >&6 3936else 3937 # Double quotes because CPP needs to be expanded 3938 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3939 do 3940 ac_preproc_ok=false 3941for ac_c_preproc_warn_flag in '' yes 3942do 3943 # Use a header file that comes with gcc, so configuring glibc 3944 # with a fresh cross-compiler works. 3945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3946 # <limits.h> exists even on freestanding compilers. 3947 # On the NeXT, cc -E runs the code through the compiler's parser, 3948 # not just through cpp. "Syntax error" is here to catch this case. 3949 cat >conftest.$ac_ext <<_ACEOF 3950/* confdefs.h. */ 3951_ACEOF 3952cat confdefs.h >>conftest.$ac_ext 3953cat >>conftest.$ac_ext <<_ACEOF 3954/* end confdefs.h. */ 3955#ifdef __STDC__ 3956# include <limits.h> 3957#else 3958# include <assert.h> 3959#endif 3960 Syntax error 3961_ACEOF 3962if { (ac_try="$ac_cpp conftest.$ac_ext" 3963case "(($ac_try" in 3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3965 *) ac_try_echo=$ac_try;; 3966esac 3967eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3969 ac_status=$? 3970 grep -v '^ *+' conftest.er1 >conftest.err 3971 rm -f conftest.er1 3972 cat conftest.err >&5 3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3974 (exit $ac_status); } >/dev/null && { 3975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3976 test ! -s conftest.err 3977 }; then 3978 : 3979else 3980 echo "$as_me: failed program was:" >&5 3981sed 's/^/| /' conftest.$ac_ext >&5 3982 3983 # Broken: fails on valid input. 3984continue 3985fi 3986 3987rm -f conftest.err conftest.$ac_ext 3988 3989 # OK, works on sane cases. Now check whether nonexistent headers 3990 # can be detected and how. 3991 cat >conftest.$ac_ext <<_ACEOF 3992/* confdefs.h. */ 3993_ACEOF 3994cat confdefs.h >>conftest.$ac_ext 3995cat >>conftest.$ac_ext <<_ACEOF 3996/* end confdefs.h. */ 3997#include <ac_nonexistent.h> 3998_ACEOF 3999if { (ac_try="$ac_cpp conftest.$ac_ext" 4000case "(($ac_try" in 4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4002 *) ac_try_echo=$ac_try;; 4003esac 4004eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4006 ac_status=$? 4007 grep -v '^ *+' conftest.er1 >conftest.err 4008 rm -f conftest.er1 4009 cat conftest.err >&5 4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4011 (exit $ac_status); } >/dev/null && { 4012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4013 test ! -s conftest.err 4014 }; then 4015 # Broken: success on invalid input. 4016continue 4017else 4018 echo "$as_me: failed program was:" >&5 4019sed 's/^/| /' conftest.$ac_ext >&5 4020 4021 # Passes both tests. 4022ac_preproc_ok=: 4023break 4024fi 4025 4026rm -f conftest.err conftest.$ac_ext 4027 4028done 4029# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4030rm -f conftest.err conftest.$ac_ext 4031if $ac_preproc_ok; then 4032 break 4033fi 4034 4035 done 4036 ac_cv_prog_CPP=$CPP 4037 4038fi 4039 CPP=$ac_cv_prog_CPP 4040else 4041 ac_cv_prog_CPP=$CPP 4042fi 4043{ echo "$as_me:$LINENO: result: $CPP" >&5 4044echo "${ECHO_T}$CPP" >&6; } 4045ac_preproc_ok=false 4046for ac_c_preproc_warn_flag in '' yes 4047do 4048 # Use a header file that comes with gcc, so configuring glibc 4049 # with a fresh cross-compiler works. 4050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4051 # <limits.h> exists even on freestanding compilers. 4052 # On the NeXT, cc -E runs the code through the compiler's parser, 4053 # not just through cpp. "Syntax error" is here to catch this case. 4054 cat >conftest.$ac_ext <<_ACEOF 4055/* confdefs.h. */ 4056_ACEOF 4057cat confdefs.h >>conftest.$ac_ext 4058cat >>conftest.$ac_ext <<_ACEOF 4059/* end confdefs.h. */ 4060#ifdef __STDC__ 4061# include <limits.h> 4062#else 4063# include <assert.h> 4064#endif 4065 Syntax error 4066_ACEOF 4067if { (ac_try="$ac_cpp conftest.$ac_ext" 4068case "(($ac_try" in 4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4070 *) ac_try_echo=$ac_try;; 4071esac 4072eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4074 ac_status=$? 4075 grep -v '^ *+' conftest.er1 >conftest.err 4076 rm -f conftest.er1 4077 cat conftest.err >&5 4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4079 (exit $ac_status); } >/dev/null && { 4080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4081 test ! -s conftest.err 4082 }; then 4083 : 4084else 4085 echo "$as_me: failed program was:" >&5 4086sed 's/^/| /' conftest.$ac_ext >&5 4087 4088 # Broken: fails on valid input. 4089continue 4090fi 4091 4092rm -f conftest.err conftest.$ac_ext 4093 4094 # OK, works on sane cases. Now check whether nonexistent headers 4095 # can be detected and how. 4096 cat >conftest.$ac_ext <<_ACEOF 4097/* confdefs.h. */ 4098_ACEOF 4099cat confdefs.h >>conftest.$ac_ext 4100cat >>conftest.$ac_ext <<_ACEOF 4101/* end confdefs.h. */ 4102#include <ac_nonexistent.h> 4103_ACEOF 4104if { (ac_try="$ac_cpp conftest.$ac_ext" 4105case "(($ac_try" in 4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4107 *) ac_try_echo=$ac_try;; 4108esac 4109eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4111 ac_status=$? 4112 grep -v '^ *+' conftest.er1 >conftest.err 4113 rm -f conftest.er1 4114 cat conftest.err >&5 4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4116 (exit $ac_status); } >/dev/null && { 4117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4118 test ! -s conftest.err 4119 }; then 4120 # Broken: success on invalid input. 4121continue 4122else 4123 echo "$as_me: failed program was:" >&5 4124sed 's/^/| /' conftest.$ac_ext >&5 4125 4126 # Passes both tests. 4127ac_preproc_ok=: 4128break 4129fi 4130 4131rm -f conftest.err conftest.$ac_ext 4132 4133done 4134# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4135rm -f conftest.err conftest.$ac_ext 4136if $ac_preproc_ok; then 4137 : 4138else 4139 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4140See \`config.log' for more details." >&5 4141echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4142See \`config.log' for more details." >&2;} 4143 { (exit 1); exit 1; }; } 4144fi 4145 4146ac_ext=c 4147ac_cpp='$CPP $CPPFLAGS' 4148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4150ac_compiler_gnu=$ac_cv_c_compiler_gnu 4151 4152 4153{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4154echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4155if test "${ac_cv_path_GREP+set}" = set; then 4156 echo $ECHO_N "(cached) $ECHO_C" >&6 4157else 4158 # Extract the first word of "grep ggrep" to use in msg output 4159if test -z "$GREP"; then 4160set dummy grep ggrep; ac_prog_name=$2 4161if test "${ac_cv_path_GREP+set}" = set; then 4162 echo $ECHO_N "(cached) $ECHO_C" >&6 4163else 4164 ac_path_GREP_found=false 4165# Loop through the user's path and test for each of PROGNAME-LIST 4166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4167for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4168do 4169 IFS=$as_save_IFS 4170 test -z "$as_dir" && as_dir=. 4171 for ac_prog in grep ggrep; do 4172 for ac_exec_ext in '' $ac_executable_extensions; do 4173 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4174 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4175 # Check for GNU ac_path_GREP and select it if it is found. 4176 # Check for GNU $ac_path_GREP 4177case `"$ac_path_GREP" --version 2>&1` in 4178*GNU*) 4179 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4180*) 4181 ac_count=0 4182 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4183 while : 4184 do 4185 cat "conftest.in" "conftest.in" >"conftest.tmp" 4186 mv "conftest.tmp" "conftest.in" 4187 cp "conftest.in" "conftest.nl" 4188 echo 'GREP' >> "conftest.nl" 4189 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4190 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4191 ac_count=`expr $ac_count + 1` 4192 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4193 # Best one so far, save it but keep looking for a better one 4194 ac_cv_path_GREP="$ac_path_GREP" 4195 ac_path_GREP_max=$ac_count 4196 fi 4197 # 10*(2^10) chars as input seems more than enough 4198 test $ac_count -gt 10 && break 4199 done 4200 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4201esac 4202 4203 4204 $ac_path_GREP_found && break 3 4205 done 4206done 4207 4208done 4209IFS=$as_save_IFS 4210 4211 4212fi 4213 4214GREP="$ac_cv_path_GREP" 4215if test -z "$GREP"; then 4216 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4217echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4218 { (exit 1); exit 1; }; } 4219fi 4220 4221else 4222 ac_cv_path_GREP=$GREP 4223fi 4224 4225 4226fi 4227{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4228echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4229 GREP="$ac_cv_path_GREP" 4230 4231 4232{ echo "$as_me:$LINENO: checking for egrep" >&5 4233echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4234if test "${ac_cv_path_EGREP+set}" = set; then 4235 echo $ECHO_N "(cached) $ECHO_C" >&6 4236else 4237 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4238 then ac_cv_path_EGREP="$GREP -E" 4239 else 4240 # Extract the first word of "egrep" to use in msg output 4241if test -z "$EGREP"; then 4242set dummy egrep; ac_prog_name=$2 4243if test "${ac_cv_path_EGREP+set}" = set; then 4244 echo $ECHO_N "(cached) $ECHO_C" >&6 4245else 4246 ac_path_EGREP_found=false 4247# Loop through the user's path and test for each of PROGNAME-LIST 4248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4249for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4250do 4251 IFS=$as_save_IFS 4252 test -z "$as_dir" && as_dir=. 4253 for ac_prog in egrep; do 4254 for ac_exec_ext in '' $ac_executable_extensions; do 4255 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4256 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4257 # Check for GNU ac_path_EGREP and select it if it is found. 4258 # Check for GNU $ac_path_EGREP 4259case `"$ac_path_EGREP" --version 2>&1` in 4260*GNU*) 4261 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4262*) 4263 ac_count=0 4264 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4265 while : 4266 do 4267 cat "conftest.in" "conftest.in" >"conftest.tmp" 4268 mv "conftest.tmp" "conftest.in" 4269 cp "conftest.in" "conftest.nl" 4270 echo 'EGREP' >> "conftest.nl" 4271 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4273 ac_count=`expr $ac_count + 1` 4274 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4275 # Best one so far, save it but keep looking for a better one 4276 ac_cv_path_EGREP="$ac_path_EGREP" 4277 ac_path_EGREP_max=$ac_count 4278 fi 4279 # 10*(2^10) chars as input seems more than enough 4280 test $ac_count -gt 10 && break 4281 done 4282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4283esac 4284 4285 4286 $ac_path_EGREP_found && break 3 4287 done 4288done 4289 4290done 4291IFS=$as_save_IFS 4292 4293 4294fi 4295 4296EGREP="$ac_cv_path_EGREP" 4297if test -z "$EGREP"; then 4298 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4299echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4300 { (exit 1); exit 1; }; } 4301fi 4302 4303else 4304 ac_cv_path_EGREP=$EGREP 4305fi 4306 4307 4308 fi 4309fi 4310{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4311echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4312 EGREP="$ac_cv_path_EGREP" 4313 4314 4315{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4316echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4317if test "${ac_cv_header_stdc+set}" = set; then 4318 echo $ECHO_N "(cached) $ECHO_C" >&6 4319else 4320 cat >conftest.$ac_ext <<_ACEOF 4321/* confdefs.h. */ 4322_ACEOF 4323cat confdefs.h >>conftest.$ac_ext 4324cat >>conftest.$ac_ext <<_ACEOF 4325/* end confdefs.h. */ 4326#include <stdlib.h> 4327#include <stdarg.h> 4328#include <string.h> 4329#include <float.h> 4330 4331int 4332main () 4333{ 4334 4335 ; 4336 return 0; 4337} 4338_ACEOF 4339rm -f conftest.$ac_objext 4340if { (ac_try="$ac_compile" 4341case "(($ac_try" in 4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4343 *) ac_try_echo=$ac_try;; 4344esac 4345eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4346 (eval "$ac_compile") 2>conftest.er1 4347 ac_status=$? 4348 grep -v '^ *+' conftest.er1 >conftest.err 4349 rm -f conftest.er1 4350 cat conftest.err >&5 4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4352 (exit $ac_status); } && { 4353 test -z "$ac_c_werror_flag" || 4354 test ! -s conftest.err 4355 } && test -s conftest.$ac_objext; then 4356 ac_cv_header_stdc=yes 4357else 4358 echo "$as_me: failed program was:" >&5 4359sed 's/^/| /' conftest.$ac_ext >&5 4360 4361 ac_cv_header_stdc=no 4362fi 4363 4364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4365 4366if test $ac_cv_header_stdc = yes; then 4367 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4368 cat >conftest.$ac_ext <<_ACEOF 4369/* confdefs.h. */ 4370_ACEOF 4371cat confdefs.h >>conftest.$ac_ext 4372cat >>conftest.$ac_ext <<_ACEOF 4373/* end confdefs.h. */ 4374#include <string.h> 4375 4376_ACEOF 4377if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4378 $EGREP "memchr" >/dev/null 2>&1; then 4379 : 4380else 4381 ac_cv_header_stdc=no 4382fi 4383rm -f conftest* 4384 4385fi 4386 4387if test $ac_cv_header_stdc = yes; then 4388 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4389 cat >conftest.$ac_ext <<_ACEOF 4390/* confdefs.h. */ 4391_ACEOF 4392cat confdefs.h >>conftest.$ac_ext 4393cat >>conftest.$ac_ext <<_ACEOF 4394/* end confdefs.h. */ 4395#include <stdlib.h> 4396 4397_ACEOF 4398if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4399 $EGREP "free" >/dev/null 2>&1; then 4400 : 4401else 4402 ac_cv_header_stdc=no 4403fi 4404rm -f conftest* 4405 4406fi 4407 4408if test $ac_cv_header_stdc = yes; then 4409 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4410 if test "$cross_compiling" = yes; then 4411 : 4412else 4413 cat >conftest.$ac_ext <<_ACEOF 4414/* confdefs.h. */ 4415_ACEOF 4416cat confdefs.h >>conftest.$ac_ext 4417cat >>conftest.$ac_ext <<_ACEOF 4418/* end confdefs.h. */ 4419#include <ctype.h> 4420#include <stdlib.h> 4421#if ((' ' & 0x0FF) == 0x020) 4422# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4423# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4424#else 4425# define ISLOWER(c) \ 4426 (('a' <= (c) && (c) <= 'i') \ 4427 || ('j' <= (c) && (c) <= 'r') \ 4428 || ('s' <= (c) && (c) <= 'z')) 4429# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4430#endif 4431 4432#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4433int 4434main () 4435{ 4436 int i; 4437 for (i = 0; i < 256; i++) 4438 if (XOR (islower (i), ISLOWER (i)) 4439 || toupper (i) != TOUPPER (i)) 4440 return 2; 4441 return 0; 4442} 4443_ACEOF 4444rm -f conftest$ac_exeext 4445if { (ac_try="$ac_link" 4446case "(($ac_try" in 4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4448 *) ac_try_echo=$ac_try;; 4449esac 4450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4451 (eval "$ac_link") 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4455 { (case "(($ac_try" in 4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4457 *) ac_try_echo=$ac_try;; 4458esac 4459eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4460 (eval "$ac_try") 2>&5 4461 ac_status=$? 4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4463 (exit $ac_status); }; }; then 4464 : 4465else 4466 echo "$as_me: program exited with status $ac_status" >&5 4467echo "$as_me: failed program was:" >&5 4468sed 's/^/| /' conftest.$ac_ext >&5 4469 4470( exit $ac_status ) 4471ac_cv_header_stdc=no 4472fi 4473rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4474fi 4475 4476 4477fi 4478fi 4479{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4480echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4481if test $ac_cv_header_stdc = yes; then 4482 4483cat >>confdefs.h <<\_ACEOF 4484#define STDC_HEADERS 1 4485_ACEOF 4486 4487fi 4488 4489# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4500 inttypes.h stdint.h unistd.h 4501do 4502as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4503{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4504echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4505if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4506 echo $ECHO_N "(cached) $ECHO_C" >&6 4507else 4508 cat >conftest.$ac_ext <<_ACEOF 4509/* confdefs.h. */ 4510_ACEOF 4511cat confdefs.h >>conftest.$ac_ext 4512cat >>conftest.$ac_ext <<_ACEOF 4513/* end confdefs.h. */ 4514$ac_includes_default 4515 4516#include <$ac_header> 4517_ACEOF 4518rm -f conftest.$ac_objext 4519if { (ac_try="$ac_compile" 4520case "(($ac_try" in 4521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4522 *) ac_try_echo=$ac_try;; 4523esac 4524eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4525 (eval "$ac_compile") 2>conftest.er1 4526 ac_status=$? 4527 grep -v '^ *+' conftest.er1 >conftest.err 4528 rm -f conftest.er1 4529 cat conftest.err >&5 4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4531 (exit $ac_status); } && { 4532 test -z "$ac_c_werror_flag" || 4533 test ! -s conftest.err 4534 } && test -s conftest.$ac_objext; then 4535 eval "$as_ac_Header=yes" 4536else 4537 echo "$as_me: failed program was:" >&5 4538sed 's/^/| /' conftest.$ac_ext >&5 4539 4540 eval "$as_ac_Header=no" 4541fi 4542 4543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4544fi 4545ac_res=`eval echo '${'$as_ac_Header'}'` 4546 { echo "$as_me:$LINENO: result: $ac_res" >&5 4547echo "${ECHO_T}$ac_res" >&6; } 4548if test `eval echo '${'$as_ac_Header'}'` = yes; then 4549 cat >>confdefs.h <<_ACEOF 4550#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4551_ACEOF 4552 4553fi 4554 4555done 4556 4557 4558 4559 4560for ac_header in locale.h 4561do 4562as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4563if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4564 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4565echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4566if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4567 echo $ECHO_N "(cached) $ECHO_C" >&6 4568fi 4569ac_res=`eval echo '${'$as_ac_Header'}'` 4570 { echo "$as_me:$LINENO: result: $ac_res" >&5 4571echo "${ECHO_T}$ac_res" >&6; } 4572else 4573 # Is the header compilable? 4574{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4575echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4576cat >conftest.$ac_ext <<_ACEOF 4577/* confdefs.h. */ 4578_ACEOF 4579cat confdefs.h >>conftest.$ac_ext 4580cat >>conftest.$ac_ext <<_ACEOF 4581/* end confdefs.h. */ 4582$ac_includes_default 4583#include <$ac_header> 4584_ACEOF 4585rm -f conftest.$ac_objext 4586if { (ac_try="$ac_compile" 4587case "(($ac_try" in 4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4589 *) ac_try_echo=$ac_try;; 4590esac 4591eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4592 (eval "$ac_compile") 2>conftest.er1 4593 ac_status=$? 4594 grep -v '^ *+' conftest.er1 >conftest.err 4595 rm -f conftest.er1 4596 cat conftest.err >&5 4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4598 (exit $ac_status); } && { 4599 test -z "$ac_c_werror_flag" || 4600 test ! -s conftest.err 4601 } && test -s conftest.$ac_objext; then 4602 ac_header_compiler=yes 4603else 4604 echo "$as_me: failed program was:" >&5 4605sed 's/^/| /' conftest.$ac_ext >&5 4606 4607 ac_header_compiler=no 4608fi 4609 4610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4611{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4612echo "${ECHO_T}$ac_header_compiler" >&6; } 4613 4614# Is the header present? 4615{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4616echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4617cat >conftest.$ac_ext <<_ACEOF 4618/* confdefs.h. */ 4619_ACEOF 4620cat confdefs.h >>conftest.$ac_ext 4621cat >>conftest.$ac_ext <<_ACEOF 4622/* end confdefs.h. */ 4623#include <$ac_header> 4624_ACEOF 4625if { (ac_try="$ac_cpp conftest.$ac_ext" 4626case "(($ac_try" in 4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4628 *) ac_try_echo=$ac_try;; 4629esac 4630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4632 ac_status=$? 4633 grep -v '^ *+' conftest.er1 >conftest.err 4634 rm -f conftest.er1 4635 cat conftest.err >&5 4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4637 (exit $ac_status); } >/dev/null && { 4638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4639 test ! -s conftest.err 4640 }; then 4641 ac_header_preproc=yes 4642else 4643 echo "$as_me: failed program was:" >&5 4644sed 's/^/| /' conftest.$ac_ext >&5 4645 4646 ac_header_preproc=no 4647fi 4648 4649rm -f conftest.err conftest.$ac_ext 4650{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4651echo "${ECHO_T}$ac_header_preproc" >&6; } 4652 4653# So? What about this header? 4654case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4655 yes:no: ) 4656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4657echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4659echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4660 ac_header_preproc=yes 4661 ;; 4662 no:yes:* ) 4663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4664echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4666echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4668echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4670echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4672echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4674echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4675 4676 ;; 4677esac 4678{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4679echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4680if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4681 echo $ECHO_N "(cached) $ECHO_C" >&6 4682else 4683 eval "$as_ac_Header=\$ac_header_preproc" 4684fi 4685ac_res=`eval echo '${'$as_ac_Header'}'` 4686 { echo "$as_me:$LINENO: result: $ac_res" >&5 4687echo "${ECHO_T}$ac_res" >&6; } 4688 4689fi 4690if test `eval echo '${'$as_ac_Header'}'` = yes; then 4691 cat >>confdefs.h <<_ACEOF 4692#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4693_ACEOF 4694 4695fi 4696 4697done 4698 4699 if test $ac_cv_header_locale_h = yes; then 4700 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 4701echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; } 4702if test "${am_cv_val_LC_MESSAGES+set}" = set; then 4703 echo $ECHO_N "(cached) $ECHO_C" >&6 4704else 4705 cat >conftest.$ac_ext <<_ACEOF 4706/* confdefs.h. */ 4707_ACEOF 4708cat confdefs.h >>conftest.$ac_ext 4709cat >>conftest.$ac_ext <<_ACEOF 4710/* end confdefs.h. */ 4711#include <locale.h> 4712int 4713main () 4714{ 4715return LC_MESSAGES 4716 ; 4717 return 0; 4718} 4719_ACEOF 4720rm -f conftest.$ac_objext conftest$ac_exeext 4721if { (ac_try="$ac_link" 4722case "(($ac_try" in 4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4724 *) ac_try_echo=$ac_try;; 4725esac 4726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4727 (eval "$ac_link") 2>conftest.er1 4728 ac_status=$? 4729 grep -v '^ *+' conftest.er1 >conftest.err 4730 rm -f conftest.er1 4731 cat conftest.err >&5 4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4733 (exit $ac_status); } && { 4734 test -z "$ac_c_werror_flag" || 4735 test ! -s conftest.err 4736 } && test -s conftest$ac_exeext && 4737 $as_test_x conftest$ac_exeext; then 4738 am_cv_val_LC_MESSAGES=yes 4739else 4740 echo "$as_me: failed program was:" >&5 4741sed 's/^/| /' conftest.$ac_ext >&5 4742 4743 am_cv_val_LC_MESSAGES=no 4744fi 4745 4746rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4747 conftest$ac_exeext conftest.$ac_ext 4748fi 4749{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 4750echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; } 4751 if test $am_cv_val_LC_MESSAGES = yes; then 4752 4753cat >>confdefs.h <<\_ACEOF 4754#define HAVE_LC_MESSAGES 1 4755_ACEOF 4756 4757 fi 4758 fi 4759 USE_NLS=yes 4760 4761 4762 gt_cv_have_gettext=no 4763 4764 CATOBJEXT=NONE 4765 XGETTEXT=: 4766 INTLLIBS= 4767 4768 if test "${ac_cv_header_libintl_h+set}" = set; then 4769 { echo "$as_me:$LINENO: checking for libintl.h" >&5 4770echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } 4771if test "${ac_cv_header_libintl_h+set}" = set; then 4772 echo $ECHO_N "(cached) $ECHO_C" >&6 4773fi 4774{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 4775echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } 4776else 4777 # Is the header compilable? 4778{ echo "$as_me:$LINENO: checking libintl.h usability" >&5 4779echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; } 4780cat >conftest.$ac_ext <<_ACEOF 4781/* confdefs.h. */ 4782_ACEOF 4783cat confdefs.h >>conftest.$ac_ext 4784cat >>conftest.$ac_ext <<_ACEOF 4785/* end confdefs.h. */ 4786$ac_includes_default 4787#include <libintl.h> 4788_ACEOF 4789rm -f conftest.$ac_objext 4790if { (ac_try="$ac_compile" 4791case "(($ac_try" in 4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4793 *) ac_try_echo=$ac_try;; 4794esac 4795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4796 (eval "$ac_compile") 2>conftest.er1 4797 ac_status=$? 4798 grep -v '^ *+' conftest.er1 >conftest.err 4799 rm -f conftest.er1 4800 cat conftest.err >&5 4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4802 (exit $ac_status); } && { 4803 test -z "$ac_c_werror_flag" || 4804 test ! -s conftest.err 4805 } && test -s conftest.$ac_objext; then 4806 ac_header_compiler=yes 4807else 4808 echo "$as_me: failed program was:" >&5 4809sed 's/^/| /' conftest.$ac_ext >&5 4810 4811 ac_header_compiler=no 4812fi 4813 4814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4815{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4816echo "${ECHO_T}$ac_header_compiler" >&6; } 4817 4818# Is the header present? 4819{ echo "$as_me:$LINENO: checking libintl.h presence" >&5 4820echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; } 4821cat >conftest.$ac_ext <<_ACEOF 4822/* confdefs.h. */ 4823_ACEOF 4824cat confdefs.h >>conftest.$ac_ext 4825cat >>conftest.$ac_ext <<_ACEOF 4826/* end confdefs.h. */ 4827#include <libintl.h> 4828_ACEOF 4829if { (ac_try="$ac_cpp conftest.$ac_ext" 4830case "(($ac_try" in 4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4832 *) ac_try_echo=$ac_try;; 4833esac 4834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4836 ac_status=$? 4837 grep -v '^ *+' conftest.er1 >conftest.err 4838 rm -f conftest.er1 4839 cat conftest.err >&5 4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4841 (exit $ac_status); } >/dev/null && { 4842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4843 test ! -s conftest.err 4844 }; then 4845 ac_header_preproc=yes 4846else 4847 echo "$as_me: failed program was:" >&5 4848sed 's/^/| /' conftest.$ac_ext >&5 4849 4850 ac_header_preproc=no 4851fi 4852 4853rm -f conftest.err conftest.$ac_ext 4854{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4855echo "${ECHO_T}$ac_header_preproc" >&6; } 4856 4857# So? What about this header? 4858case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4859 yes:no: ) 4860 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 4861echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4862 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 4863echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} 4864 ac_header_preproc=yes 4865 ;; 4866 no:yes:* ) 4867 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 4868echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} 4869 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 4870echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} 4871 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 4872echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} 4873 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 4874echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} 4875 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 4876echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} 4877 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 4878echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} 4879 4880 ;; 4881esac 4882{ echo "$as_me:$LINENO: checking for libintl.h" >&5 4883echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } 4884if test "${ac_cv_header_libintl_h+set}" = set; then 4885 echo $ECHO_N "(cached) $ECHO_C" >&6 4886else 4887 ac_cv_header_libintl_h=$ac_header_preproc 4888fi 4889{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 4890echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } 4891 4892fi 4893if test $ac_cv_header_libintl_h = yes; then 4894 gt_cv_func_dgettext_libintl="no" 4895 libintl_extra_libs="" 4896 4897 # 4898 # First check in libc 4899 # 4900 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5 4901echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; } 4902if test "${gt_cv_func_ngettext_libc+set}" = set; then 4903 echo $ECHO_N "(cached) $ECHO_C" >&6 4904else 4905 cat >conftest.$ac_ext <<_ACEOF 4906/* confdefs.h. */ 4907_ACEOF 4908cat confdefs.h >>conftest.$ac_ext 4909cat >>conftest.$ac_ext <<_ACEOF 4910/* end confdefs.h. */ 4911 4912#include <libintl.h> 4913 4914int 4915main () 4916{ 4917return !ngettext ("","", 1) 4918 ; 4919 return 0; 4920} 4921_ACEOF 4922rm -f conftest.$ac_objext conftest$ac_exeext 4923if { (ac_try="$ac_link" 4924case "(($ac_try" in 4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4926 *) ac_try_echo=$ac_try;; 4927esac 4928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4929 (eval "$ac_link") 2>conftest.er1 4930 ac_status=$? 4931 grep -v '^ *+' conftest.er1 >conftest.err 4932 rm -f conftest.er1 4933 cat conftest.err >&5 4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4935 (exit $ac_status); } && { 4936 test -z "$ac_c_werror_flag" || 4937 test ! -s conftest.err 4938 } && test -s conftest$ac_exeext && 4939 $as_test_x conftest$ac_exeext; then 4940 gt_cv_func_ngettext_libc=yes 4941else 4942 echo "$as_me: failed program was:" >&5 4943sed 's/^/| /' conftest.$ac_ext >&5 4944 4945 gt_cv_func_ngettext_libc=no 4946fi 4947 4948rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4949 conftest$ac_exeext conftest.$ac_ext 4950 4951fi 4952{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 4953echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; } 4954 4955 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4956 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5 4957echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; } 4958if test "${gt_cv_func_dgettext_libc+set}" = set; then 4959 echo $ECHO_N "(cached) $ECHO_C" >&6 4960else 4961 cat >conftest.$ac_ext <<_ACEOF 4962/* confdefs.h. */ 4963_ACEOF 4964cat confdefs.h >>conftest.$ac_ext 4965cat >>conftest.$ac_ext <<_ACEOF 4966/* end confdefs.h. */ 4967 4968#include <libintl.h> 4969 4970int 4971main () 4972{ 4973return !dgettext ("","") 4974 ; 4975 return 0; 4976} 4977_ACEOF 4978rm -f conftest.$ac_objext conftest$ac_exeext 4979if { (ac_try="$ac_link" 4980case "(($ac_try" in 4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4982 *) ac_try_echo=$ac_try;; 4983esac 4984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4985 (eval "$ac_link") 2>conftest.er1 4986 ac_status=$? 4987 grep -v '^ *+' conftest.er1 >conftest.err 4988 rm -f conftest.er1 4989 cat conftest.err >&5 4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4991 (exit $ac_status); } && { 4992 test -z "$ac_c_werror_flag" || 4993 test ! -s conftest.err 4994 } && test -s conftest$ac_exeext && 4995 $as_test_x conftest$ac_exeext; then 4996 gt_cv_func_dgettext_libc=yes 4997else 4998 echo "$as_me: failed program was:" >&5 4999sed 's/^/| /' conftest.$ac_ext >&5 5000 5001 gt_cv_func_dgettext_libc=no 5002fi 5003 5004rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5005 conftest$ac_exeext conftest.$ac_ext 5006 5007fi 5008{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 5009echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; } 5010 fi 5011 5012 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 5013 5014for ac_func in bind_textdomain_codeset 5015do 5016as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5017{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5018echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5019if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5020 echo $ECHO_N "(cached) $ECHO_C" >&6 5021else 5022 cat >conftest.$ac_ext <<_ACEOF 5023/* confdefs.h. */ 5024_ACEOF 5025cat confdefs.h >>conftest.$ac_ext 5026cat >>conftest.$ac_ext <<_ACEOF 5027/* end confdefs.h. */ 5028/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5029 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5030#define $ac_func innocuous_$ac_func 5031 5032/* System header to define __stub macros and hopefully few prototypes, 5033 which can conflict with char $ac_func (); below. 5034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5035 <limits.h> exists even on freestanding compilers. */ 5036 5037#ifdef __STDC__ 5038# include <limits.h> 5039#else 5040# include <assert.h> 5041#endif 5042 5043#undef $ac_func 5044 5045/* Override any GCC internal prototype to avoid an error. 5046 Use char because int might match the return type of a GCC 5047 builtin and then its argument prototype would still apply. */ 5048#ifdef __cplusplus 5049extern "C" 5050#endif 5051char $ac_func (); 5052/* The GNU C library defines this for functions which it implements 5053 to always fail with ENOSYS. Some functions are actually named 5054 something starting with __ and the normal name is an alias. */ 5055#if defined __stub_$ac_func || defined __stub___$ac_func 5056choke me 5057#endif 5058 5059int 5060main () 5061{ 5062return $ac_func (); 5063 ; 5064 return 0; 5065} 5066_ACEOF 5067rm -f conftest.$ac_objext conftest$ac_exeext 5068if { (ac_try="$ac_link" 5069case "(($ac_try" in 5070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5071 *) ac_try_echo=$ac_try;; 5072esac 5073eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5074 (eval "$ac_link") 2>conftest.er1 5075 ac_status=$? 5076 grep -v '^ *+' conftest.er1 >conftest.err 5077 rm -f conftest.er1 5078 cat conftest.err >&5 5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5080 (exit $ac_status); } && { 5081 test -z "$ac_c_werror_flag" || 5082 test ! -s conftest.err 5083 } && test -s conftest$ac_exeext && 5084 $as_test_x conftest$ac_exeext; then 5085 eval "$as_ac_var=yes" 5086else 5087 echo "$as_me: failed program was:" >&5 5088sed 's/^/| /' conftest.$ac_ext >&5 5089 5090 eval "$as_ac_var=no" 5091fi 5092 5093rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5094 conftest$ac_exeext conftest.$ac_ext 5095fi 5096ac_res=`eval echo '${'$as_ac_var'}'` 5097 { echo "$as_me:$LINENO: result: $ac_res" >&5 5098echo "${ECHO_T}$ac_res" >&6; } 5099if test `eval echo '${'$as_ac_var'}'` = yes; then 5100 cat >>confdefs.h <<_ACEOF 5101#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5102_ACEOF 5103 5104fi 5105done 5106 5107 fi 5108 5109 # 5110 # If we don't have everything we want, check in libintl 5111 # 5112 if test "$gt_cv_func_dgettext_libc" != "yes" \ 5113 || test "$gt_cv_func_ngettext_libc" != "yes" \ 5114 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 5115 5116 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 5117echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; } 5118if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then 5119 echo $ECHO_N "(cached) $ECHO_C" >&6 5120else 5121 ac_check_lib_save_LIBS=$LIBS 5122LIBS="-lintl $LIBS" 5123cat >conftest.$ac_ext <<_ACEOF 5124/* confdefs.h. */ 5125_ACEOF 5126cat confdefs.h >>conftest.$ac_ext 5127cat >>conftest.$ac_ext <<_ACEOF 5128/* end confdefs.h. */ 5129 5130/* Override any GCC internal prototype to avoid an error. 5131 Use char because int might match the return type of a GCC 5132 builtin and then its argument prototype would still apply. */ 5133#ifdef __cplusplus 5134extern "C" 5135#endif 5136char bindtextdomain (); 5137int 5138main () 5139{ 5140return bindtextdomain (); 5141 ; 5142 return 0; 5143} 5144_ACEOF 5145rm -f conftest.$ac_objext conftest$ac_exeext 5146if { (ac_try="$ac_link" 5147case "(($ac_try" in 5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5149 *) ac_try_echo=$ac_try;; 5150esac 5151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5152 (eval "$ac_link") 2>conftest.er1 5153 ac_status=$? 5154 grep -v '^ *+' conftest.er1 >conftest.err 5155 rm -f conftest.er1 5156 cat conftest.err >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 (exit $ac_status); } && { 5159 test -z "$ac_c_werror_flag" || 5160 test ! -s conftest.err 5161 } && test -s conftest$ac_exeext && 5162 $as_test_x conftest$ac_exeext; then 5163 ac_cv_lib_intl_bindtextdomain=yes 5164else 5165 echo "$as_me: failed program was:" >&5 5166sed 's/^/| /' conftest.$ac_ext >&5 5167 5168 ac_cv_lib_intl_bindtextdomain=no 5169fi 5170 5171rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5172 conftest$ac_exeext conftest.$ac_ext 5173LIBS=$ac_check_lib_save_LIBS 5174fi 5175{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 5176echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; } 5177if test $ac_cv_lib_intl_bindtextdomain = yes; then 5178 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 5179echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } 5180if test "${ac_cv_lib_intl_ngettext+set}" = set; then 5181 echo $ECHO_N "(cached) $ECHO_C" >&6 5182else 5183 ac_check_lib_save_LIBS=$LIBS 5184LIBS="-lintl $LIBS" 5185cat >conftest.$ac_ext <<_ACEOF 5186/* confdefs.h. */ 5187_ACEOF 5188cat confdefs.h >>conftest.$ac_ext 5189cat >>conftest.$ac_ext <<_ACEOF 5190/* end confdefs.h. */ 5191 5192/* Override any GCC internal prototype to avoid an error. 5193 Use char because int might match the return type of a GCC 5194 builtin and then its argument prototype would still apply. */ 5195#ifdef __cplusplus 5196extern "C" 5197#endif 5198char ngettext (); 5199int 5200main () 5201{ 5202return ngettext (); 5203 ; 5204 return 0; 5205} 5206_ACEOF 5207rm -f conftest.$ac_objext conftest$ac_exeext 5208if { (ac_try="$ac_link" 5209case "(($ac_try" in 5210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5211 *) ac_try_echo=$ac_try;; 5212esac 5213eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5214 (eval "$ac_link") 2>conftest.er1 5215 ac_status=$? 5216 grep -v '^ *+' conftest.er1 >conftest.err 5217 rm -f conftest.er1 5218 cat conftest.err >&5 5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5220 (exit $ac_status); } && { 5221 test -z "$ac_c_werror_flag" || 5222 test ! -s conftest.err 5223 } && test -s conftest$ac_exeext && 5224 $as_test_x conftest$ac_exeext; then 5225 ac_cv_lib_intl_ngettext=yes 5226else 5227 echo "$as_me: failed program was:" >&5 5228sed 's/^/| /' conftest.$ac_ext >&5 5229 5230 ac_cv_lib_intl_ngettext=no 5231fi 5232 5233rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5234 conftest$ac_exeext conftest.$ac_ext 5235LIBS=$ac_check_lib_save_LIBS 5236fi 5237{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 5238echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } 5239if test $ac_cv_lib_intl_ngettext = yes; then 5240 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 5241echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } 5242if test "${ac_cv_lib_intl_dgettext+set}" = set; then 5243 echo $ECHO_N "(cached) $ECHO_C" >&6 5244else 5245 ac_check_lib_save_LIBS=$LIBS 5246LIBS="-lintl $LIBS" 5247cat >conftest.$ac_ext <<_ACEOF 5248/* confdefs.h. */ 5249_ACEOF 5250cat confdefs.h >>conftest.$ac_ext 5251cat >>conftest.$ac_ext <<_ACEOF 5252/* end confdefs.h. */ 5253 5254/* Override any GCC internal prototype to avoid an error. 5255 Use char because int might match the return type of a GCC 5256 builtin and then its argument prototype would still apply. */ 5257#ifdef __cplusplus 5258extern "C" 5259#endif 5260char dgettext (); 5261int 5262main () 5263{ 5264return dgettext (); 5265 ; 5266 return 0; 5267} 5268_ACEOF 5269rm -f conftest.$ac_objext conftest$ac_exeext 5270if { (ac_try="$ac_link" 5271case "(($ac_try" in 5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5273 *) ac_try_echo=$ac_try;; 5274esac 5275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5276 (eval "$ac_link") 2>conftest.er1 5277 ac_status=$? 5278 grep -v '^ *+' conftest.er1 >conftest.err 5279 rm -f conftest.er1 5280 cat conftest.err >&5 5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5282 (exit $ac_status); } && { 5283 test -z "$ac_c_werror_flag" || 5284 test ! -s conftest.err 5285 } && test -s conftest$ac_exeext && 5286 $as_test_x conftest$ac_exeext; then 5287 ac_cv_lib_intl_dgettext=yes 5288else 5289 echo "$as_me: failed program was:" >&5 5290sed 's/^/| /' conftest.$ac_ext >&5 5291 5292 ac_cv_lib_intl_dgettext=no 5293fi 5294 5295rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5296 conftest$ac_exeext conftest.$ac_ext 5297LIBS=$ac_check_lib_save_LIBS 5298fi 5299{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 5300echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } 5301if test $ac_cv_lib_intl_dgettext = yes; then 5302 gt_cv_func_dgettext_libintl=yes 5303fi 5304 5305fi 5306 5307fi 5308 5309 5310 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 5311 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 5312echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; } 5313 { echo "$as_me:$LINENO: result: " >&5 5314echo "${ECHO_T}" >&6; } 5315 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 5316echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } 5317if test "${ac_cv_lib_intl_ngettext+set}" = set; then 5318 echo $ECHO_N "(cached) $ECHO_C" >&6 5319else 5320 ac_check_lib_save_LIBS=$LIBS 5321LIBS="-lintl -liconv $LIBS" 5322cat >conftest.$ac_ext <<_ACEOF 5323/* confdefs.h. */ 5324_ACEOF 5325cat confdefs.h >>conftest.$ac_ext 5326cat >>conftest.$ac_ext <<_ACEOF 5327/* end confdefs.h. */ 5328 5329/* Override any GCC internal prototype to avoid an error. 5330 Use char because int might match the return type of a GCC 5331 builtin and then its argument prototype would still apply. */ 5332#ifdef __cplusplus 5333extern "C" 5334#endif 5335char ngettext (); 5336int 5337main () 5338{ 5339return ngettext (); 5340 ; 5341 return 0; 5342} 5343_ACEOF 5344rm -f conftest.$ac_objext conftest$ac_exeext 5345if { (ac_try="$ac_link" 5346case "(($ac_try" in 5347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5348 *) ac_try_echo=$ac_try;; 5349esac 5350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5351 (eval "$ac_link") 2>conftest.er1 5352 ac_status=$? 5353 grep -v '^ *+' conftest.er1 >conftest.err 5354 rm -f conftest.er1 5355 cat conftest.err >&5 5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5357 (exit $ac_status); } && { 5358 test -z "$ac_c_werror_flag" || 5359 test ! -s conftest.err 5360 } && test -s conftest$ac_exeext && 5361 $as_test_x conftest$ac_exeext; then 5362 ac_cv_lib_intl_ngettext=yes 5363else 5364 echo "$as_me: failed program was:" >&5 5365sed 's/^/| /' conftest.$ac_ext >&5 5366 5367 ac_cv_lib_intl_ngettext=no 5368fi 5369 5370rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5371 conftest$ac_exeext conftest.$ac_ext 5372LIBS=$ac_check_lib_save_LIBS 5373fi 5374{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 5375echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } 5376if test $ac_cv_lib_intl_ngettext = yes; then 5377 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 5378echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; } 5379if test "${ac_cv_lib_intl_dcgettext+set}" = set; then 5380 echo $ECHO_N "(cached) $ECHO_C" >&6 5381else 5382 ac_check_lib_save_LIBS=$LIBS 5383LIBS="-lintl -liconv $LIBS" 5384cat >conftest.$ac_ext <<_ACEOF 5385/* confdefs.h. */ 5386_ACEOF 5387cat confdefs.h >>conftest.$ac_ext 5388cat >>conftest.$ac_ext <<_ACEOF 5389/* end confdefs.h. */ 5390 5391/* Override any GCC internal prototype to avoid an error. 5392 Use char because int might match the return type of a GCC 5393 builtin and then its argument prototype would still apply. */ 5394#ifdef __cplusplus 5395extern "C" 5396#endif 5397char dcgettext (); 5398int 5399main () 5400{ 5401return dcgettext (); 5402 ; 5403 return 0; 5404} 5405_ACEOF 5406rm -f conftest.$ac_objext conftest$ac_exeext 5407if { (ac_try="$ac_link" 5408case "(($ac_try" in 5409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5410 *) ac_try_echo=$ac_try;; 5411esac 5412eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5413 (eval "$ac_link") 2>conftest.er1 5414 ac_status=$? 5415 grep -v '^ *+' conftest.er1 >conftest.err 5416 rm -f conftest.er1 5417 cat conftest.err >&5 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5419 (exit $ac_status); } && { 5420 test -z "$ac_c_werror_flag" || 5421 test ! -s conftest.err 5422 } && test -s conftest$ac_exeext && 5423 $as_test_x conftest$ac_exeext; then 5424 ac_cv_lib_intl_dcgettext=yes 5425else 5426 echo "$as_me: failed program was:" >&5 5427sed 's/^/| /' conftest.$ac_ext >&5 5428 5429 ac_cv_lib_intl_dcgettext=no 5430fi 5431 5432rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5433 conftest$ac_exeext conftest.$ac_ext 5434LIBS=$ac_check_lib_save_LIBS 5435fi 5436{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 5437echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; } 5438if test $ac_cv_lib_intl_dcgettext = yes; then 5439 gt_cv_func_dgettext_libintl=yes 5440 libintl_extra_libs=-liconv 5441else 5442 : 5443fi 5444 5445else 5446 : 5447fi 5448 5449 fi 5450 5451 # 5452 # If we found libintl, then check in it for bind_textdomain_codeset(); 5453 # we'll prefer libc if neither have bind_textdomain_codeset(), 5454 # and both have dgettext and ngettext 5455 # 5456 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 5457 glib_save_LIBS="$LIBS" 5458 LIBS="$LIBS -lintl $libintl_extra_libs" 5459 unset ac_cv_func_bind_textdomain_codeset 5460 5461for ac_func in bind_textdomain_codeset 5462do 5463as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5464{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5465echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5466if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5467 echo $ECHO_N "(cached) $ECHO_C" >&6 5468else 5469 cat >conftest.$ac_ext <<_ACEOF 5470/* confdefs.h. */ 5471_ACEOF 5472cat confdefs.h >>conftest.$ac_ext 5473cat >>conftest.$ac_ext <<_ACEOF 5474/* end confdefs.h. */ 5475/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5476 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5477#define $ac_func innocuous_$ac_func 5478 5479/* System header to define __stub macros and hopefully few prototypes, 5480 which can conflict with char $ac_func (); below. 5481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5482 <limits.h> exists even on freestanding compilers. */ 5483 5484#ifdef __STDC__ 5485# include <limits.h> 5486#else 5487# include <assert.h> 5488#endif 5489 5490#undef $ac_func 5491 5492/* Override any GCC internal prototype to avoid an error. 5493 Use char because int might match the return type of a GCC 5494 builtin and then its argument prototype would still apply. */ 5495#ifdef __cplusplus 5496extern "C" 5497#endif 5498char $ac_func (); 5499/* The GNU C library defines this for functions which it implements 5500 to always fail with ENOSYS. Some functions are actually named 5501 something starting with __ and the normal name is an alias. */ 5502#if defined __stub_$ac_func || defined __stub___$ac_func 5503choke me 5504#endif 5505 5506int 5507main () 5508{ 5509return $ac_func (); 5510 ; 5511 return 0; 5512} 5513_ACEOF 5514rm -f conftest.$ac_objext conftest$ac_exeext 5515if { (ac_try="$ac_link" 5516case "(($ac_try" in 5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5518 *) ac_try_echo=$ac_try;; 5519esac 5520eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5521 (eval "$ac_link") 2>conftest.er1 5522 ac_status=$? 5523 grep -v '^ *+' conftest.er1 >conftest.err 5524 rm -f conftest.er1 5525 cat conftest.err >&5 5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5527 (exit $ac_status); } && { 5528 test -z "$ac_c_werror_flag" || 5529 test ! -s conftest.err 5530 } && test -s conftest$ac_exeext && 5531 $as_test_x conftest$ac_exeext; then 5532 eval "$as_ac_var=yes" 5533else 5534 echo "$as_me: failed program was:" >&5 5535sed 's/^/| /' conftest.$ac_ext >&5 5536 5537 eval "$as_ac_var=no" 5538fi 5539 5540rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5541 conftest$ac_exeext conftest.$ac_ext 5542fi 5543ac_res=`eval echo '${'$as_ac_var'}'` 5544 { echo "$as_me:$LINENO: result: $ac_res" >&5 5545echo "${ECHO_T}$ac_res" >&6; } 5546if test `eval echo '${'$as_ac_var'}'` = yes; then 5547 cat >>confdefs.h <<_ACEOF 5548#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5549_ACEOF 5550 5551fi 5552done 5553 5554 LIBS="$glib_save_LIBS" 5555 5556 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 5557 gt_cv_func_dgettext_libc=no 5558 else 5559 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5560 && test "$gt_cv_func_ngettext_libc" = "yes"; then 5561 gt_cv_func_dgettext_libintl=no 5562 fi 5563 fi 5564 fi 5565 fi 5566 5567 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5568 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 5569 gt_cv_have_gettext=yes 5570 fi 5571 5572 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 5573 INTLLIBS="-lintl $libintl_extra_libs" 5574 fi 5575 5576 if test "$gt_cv_have_gettext" = "yes"; then 5577 5578cat >>confdefs.h <<\_ACEOF 5579#define HAVE_GETTEXT 1 5580_ACEOF 5581 5582 # Extract the first word of "msgfmt", so it can be a program name with args. 5583set dummy msgfmt; ac_word=$2 5584{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5585echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5586if test "${ac_cv_path_MSGFMT+set}" = set; then 5587 echo $ECHO_N "(cached) $ECHO_C" >&6 5588else 5589 case "$MSGFMT" in 5590 /*) 5591 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5592 ;; 5593 *) 5594 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5595 for ac_dir in $PATH; do 5596 test -z "$ac_dir" && ac_dir=. 5597 if test -f $ac_dir/$ac_word; then 5598 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 5599 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 5600 break 5601 fi 5602 fi 5603 done 5604 IFS="$ac_save_ifs" 5605 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 5606 ;; 5607esac 5608fi 5609MSGFMT="$ac_cv_path_MSGFMT" 5610if test "$MSGFMT" != "no"; then 5611 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 5612echo "${ECHO_T}$MSGFMT" >&6; } 5613else 5614 { echo "$as_me:$LINENO: result: no" >&5 5615echo "${ECHO_T}no" >&6; } 5616fi 5617 if test "$MSGFMT" != "no"; then 5618 glib_save_LIBS="$LIBS" 5619 LIBS="$LIBS $INTLLIBS" 5620 5621for ac_func in dcgettext 5622do 5623as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5624{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5625echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5626if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5627 echo $ECHO_N "(cached) $ECHO_C" >&6 5628else 5629 cat >conftest.$ac_ext <<_ACEOF 5630/* confdefs.h. */ 5631_ACEOF 5632cat confdefs.h >>conftest.$ac_ext 5633cat >>conftest.$ac_ext <<_ACEOF 5634/* end confdefs.h. */ 5635/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5636 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5637#define $ac_func innocuous_$ac_func 5638 5639/* System header to define __stub macros and hopefully few prototypes, 5640 which can conflict with char $ac_func (); below. 5641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5642 <limits.h> exists even on freestanding compilers. */ 5643 5644#ifdef __STDC__ 5645# include <limits.h> 5646#else 5647# include <assert.h> 5648#endif 5649 5650#undef $ac_func 5651 5652/* Override any GCC internal prototype to avoid an error. 5653 Use char because int might match the return type of a GCC 5654 builtin and then its argument prototype would still apply. */ 5655#ifdef __cplusplus 5656extern "C" 5657#endif 5658char $ac_func (); 5659/* The GNU C library defines this for functions which it implements 5660 to always fail with ENOSYS. Some functions are actually named 5661 something starting with __ and the normal name is an alias. */ 5662#if defined __stub_$ac_func || defined __stub___$ac_func 5663choke me 5664#endif 5665 5666int 5667main () 5668{ 5669return $ac_func (); 5670 ; 5671 return 0; 5672} 5673_ACEOF 5674rm -f conftest.$ac_objext conftest$ac_exeext 5675if { (ac_try="$ac_link" 5676case "(($ac_try" in 5677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5678 *) ac_try_echo=$ac_try;; 5679esac 5680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5681 (eval "$ac_link") 2>conftest.er1 5682 ac_status=$? 5683 grep -v '^ *+' conftest.er1 >conftest.err 5684 rm -f conftest.er1 5685 cat conftest.err >&5 5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5687 (exit $ac_status); } && { 5688 test -z "$ac_c_werror_flag" || 5689 test ! -s conftest.err 5690 } && test -s conftest$ac_exeext && 5691 $as_test_x conftest$ac_exeext; then 5692 eval "$as_ac_var=yes" 5693else 5694 echo "$as_me: failed program was:" >&5 5695sed 's/^/| /' conftest.$ac_ext >&5 5696 5697 eval "$as_ac_var=no" 5698fi 5699 5700rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5701 conftest$ac_exeext conftest.$ac_ext 5702fi 5703ac_res=`eval echo '${'$as_ac_var'}'` 5704 { echo "$as_me:$LINENO: result: $ac_res" >&5 5705echo "${ECHO_T}$ac_res" >&6; } 5706if test `eval echo '${'$as_ac_var'}'` = yes; then 5707 cat >>confdefs.h <<_ACEOF 5708#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5709_ACEOF 5710 5711fi 5712done 5713 5714 MSGFMT_OPTS= 5715 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 5716echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; } 5717 cat >conftest.foo <<_ACEOF 5718 5719msgid "" 5720msgstr "" 5721"Content-Type: text/plain; charset=UTF-8\n" 5722"Project-Id-Version: test 1.0\n" 5723"PO-Revision-Date: 2007-02-15 12:01+0100\n" 5724"Last-Translator: test <foo@bar.xx>\n" 5725"Language-Team: C <LL@li.org>\n" 5726"MIME-Version: 1.0\n" 5727"Content-Transfer-Encoding: 8bit\n" 5728 5729_ACEOF 5730if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5 5731 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 5732 ac_status=$? 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5734 (exit $ac_status); }; then 5735 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5 5736echo "${ECHO_T}yes" >&6; } 5737else { echo "$as_me:$LINENO: result: no" >&5 5738echo "${ECHO_T}no" >&6; } 5739echo "$as_me: failed input was:" >&5 5740sed 's/^/| /' conftest.foo >&5 5741fi 5742 5743 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5744set dummy gmsgfmt; ac_word=$2 5745{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5746echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5747if test "${ac_cv_path_GMSGFMT+set}" = set; then 5748 echo $ECHO_N "(cached) $ECHO_C" >&6 5749else 5750 case $GMSGFMT in 5751 [\\/]* | ?:[\\/]*) 5752 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5753 ;; 5754 *) 5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5756for as_dir in $PATH 5757do 5758 IFS=$as_save_IFS 5759 test -z "$as_dir" && as_dir=. 5760 for ac_exec_ext in '' $ac_executable_extensions; do 5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5762 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5764 break 2 5765 fi 5766done 5767done 5768IFS=$as_save_IFS 5769 5770 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5771 ;; 5772esac 5773fi 5774GMSGFMT=$ac_cv_path_GMSGFMT 5775if test -n "$GMSGFMT"; then 5776 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 5777echo "${ECHO_T}$GMSGFMT" >&6; } 5778else 5779 { echo "$as_me:$LINENO: result: no" >&5 5780echo "${ECHO_T}no" >&6; } 5781fi 5782 5783 5784 # Extract the first word of "xgettext", so it can be a program name with args. 5785set dummy xgettext; ac_word=$2 5786{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5787echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5788if test "${ac_cv_path_XGETTEXT+set}" = set; then 5789 echo $ECHO_N "(cached) $ECHO_C" >&6 5790else 5791 case "$XGETTEXT" in 5792 /*) 5793 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5794 ;; 5795 *) 5796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5797 for ac_dir in $PATH; do 5798 test -z "$ac_dir" && ac_dir=. 5799 if test -f $ac_dir/$ac_word; then 5800 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 5801 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 5802 break 5803 fi 5804 fi 5805 done 5806 IFS="$ac_save_ifs" 5807 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5808 ;; 5809esac 5810fi 5811XGETTEXT="$ac_cv_path_XGETTEXT" 5812if test "$XGETTEXT" != ":"; then 5813 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 5814echo "${ECHO_T}$XGETTEXT" >&6; } 5815else 5816 { echo "$as_me:$LINENO: result: no" >&5 5817echo "${ECHO_T}no" >&6; } 5818fi 5819 5820 cat >conftest.$ac_ext <<_ACEOF 5821/* confdefs.h. */ 5822_ACEOF 5823cat confdefs.h >>conftest.$ac_ext 5824cat >>conftest.$ac_ext <<_ACEOF 5825/* end confdefs.h. */ 5826 5827int 5828main () 5829{ 5830extern int _nl_msg_cat_cntr; 5831 return _nl_msg_cat_cntr 5832 ; 5833 return 0; 5834} 5835_ACEOF 5836rm -f conftest.$ac_objext conftest$ac_exeext 5837if { (ac_try="$ac_link" 5838case "(($ac_try" in 5839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5840 *) ac_try_echo=$ac_try;; 5841esac 5842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5843 (eval "$ac_link") 2>conftest.er1 5844 ac_status=$? 5845 grep -v '^ *+' conftest.er1 >conftest.err 5846 rm -f conftest.er1 5847 cat conftest.err >&5 5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5849 (exit $ac_status); } && { 5850 test -z "$ac_c_werror_flag" || 5851 test ! -s conftest.err 5852 } && test -s conftest$ac_exeext && 5853 $as_test_x conftest$ac_exeext; then 5854 CATOBJEXT=.gmo 5855 DATADIRNAME=share 5856else 5857 echo "$as_me: failed program was:" >&5 5858sed 's/^/| /' conftest.$ac_ext >&5 5859 5860 case $host in 5861 *-*-solaris*) 5862 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 5863echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } 5864if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then 5865 echo $ECHO_N "(cached) $ECHO_C" >&6 5866else 5867 cat >conftest.$ac_ext <<_ACEOF 5868/* confdefs.h. */ 5869_ACEOF 5870cat confdefs.h >>conftest.$ac_ext 5871cat >>conftest.$ac_ext <<_ACEOF 5872/* end confdefs.h. */ 5873/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. 5874 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5875#define bind_textdomain_codeset innocuous_bind_textdomain_codeset 5876 5877/* System header to define __stub macros and hopefully few prototypes, 5878 which can conflict with char bind_textdomain_codeset (); below. 5879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5880 <limits.h> exists even on freestanding compilers. */ 5881 5882#ifdef __STDC__ 5883# include <limits.h> 5884#else 5885# include <assert.h> 5886#endif 5887 5888#undef bind_textdomain_codeset 5889 5890/* Override any GCC internal prototype to avoid an error. 5891 Use char because int might match the return type of a GCC 5892 builtin and then its argument prototype would still apply. */ 5893#ifdef __cplusplus 5894extern "C" 5895#endif 5896char bind_textdomain_codeset (); 5897/* The GNU C library defines this for functions which it implements 5898 to always fail with ENOSYS. Some functions are actually named 5899 something starting with __ and the normal name is an alias. */ 5900#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset 5901choke me 5902#endif 5903 5904int 5905main () 5906{ 5907return bind_textdomain_codeset (); 5908 ; 5909 return 0; 5910} 5911_ACEOF 5912rm -f conftest.$ac_objext conftest$ac_exeext 5913if { (ac_try="$ac_link" 5914case "(($ac_try" in 5915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5916 *) ac_try_echo=$ac_try;; 5917esac 5918eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5919 (eval "$ac_link") 2>conftest.er1 5920 ac_status=$? 5921 grep -v '^ *+' conftest.er1 >conftest.err 5922 rm -f conftest.er1 5923 cat conftest.err >&5 5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5925 (exit $ac_status); } && { 5926 test -z "$ac_c_werror_flag" || 5927 test ! -s conftest.err 5928 } && test -s conftest$ac_exeext && 5929 $as_test_x conftest$ac_exeext; then 5930 ac_cv_func_bind_textdomain_codeset=yes 5931else 5932 echo "$as_me: failed program was:" >&5 5933sed 's/^/| /' conftest.$ac_ext >&5 5934 5935 ac_cv_func_bind_textdomain_codeset=no 5936fi 5937 5938rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5939 conftest$ac_exeext conftest.$ac_ext 5940fi 5941{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 5942echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } 5943if test $ac_cv_func_bind_textdomain_codeset = yes; then 5944 CATOBJEXT=.gmo 5945 DATADIRNAME=share 5946else 5947 CATOBJEXT=.mo 5948 DATADIRNAME=lib 5949fi 5950 5951 ;; 5952 *) 5953 CATOBJEXT=.mo 5954 DATADIRNAME=lib 5955 ;; 5956 esac 5957fi 5958 5959rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5960 conftest$ac_exeext conftest.$ac_ext 5961 LIBS="$glib_save_LIBS" 5962 INSTOBJEXT=.mo 5963 else 5964 gt_cv_have_gettext=no 5965 fi 5966 fi 5967 5968fi 5969 5970 5971 5972 if test "$gt_cv_have_gettext" = "yes" ; then 5973 5974cat >>confdefs.h <<\_ACEOF 5975#define ENABLE_NLS 1 5976_ACEOF 5977 5978 fi 5979 5980 if test "$XGETTEXT" != ":"; then 5981 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5982 : ; 5983 else 5984 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 5985echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; } 5986 XGETTEXT=":" 5987 fi 5988 fi 5989 5990 # We need to process the po/ directory. 5991 POSUB=po 5992 5993 ac_config_commands="$ac_config_commands default-1" 5994 5995 5996 for lang in $ALL_LINGUAS; do 5997 GMOFILES="$GMOFILES $lang.gmo" 5998 POFILES="$POFILES $lang.po" 5999 done 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 if test "$gt_cv_have_gettext" = "yes"; then 6014 if test "x$ALL_LINGUAS" = "x"; then 6015 LINGUAS= 6016 else 6017 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 6018echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; } 6019 NEW_LINGUAS= 6020 for presentlang in $ALL_LINGUAS; do 6021 useit=no 6022 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 6023 desiredlanguages="$LINGUAS" 6024 else 6025 desiredlanguages="$ALL_LINGUAS" 6026 fi 6027 for desiredlang in $desiredlanguages; do 6028 # Use the presentlang catalog if desiredlang is 6029 # a. equal to presentlang, or 6030 # b. a variant of presentlang (because in this case, 6031 # presentlang can be used as a fallback for messages 6032 # which are not translated in the desiredlang catalog). 6033 case "$desiredlang" in 6034 "$presentlang"*) useit=yes;; 6035 esac 6036 done 6037 if test $useit = yes; then 6038 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 6039 fi 6040 done 6041 LINGUAS=$NEW_LINGUAS 6042 { echo "$as_me:$LINENO: result: $LINGUAS" >&5 6043echo "${ECHO_T}$LINGUAS" >&6; } 6044 fi 6045 6046 if test -n "$LINGUAS"; then 6047 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 6048 fi 6049 fi 6050 6051 MKINSTALLDIRS= 6052 if test -n "$ac_aux_dir"; then 6053 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 6054 fi 6055 if test -z "$MKINSTALLDIRS"; then 6056 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 6057 fi 6058 6059 6060 test -d po || mkdir po 6061 if test "x$srcdir" != "x."; then 6062 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 6063 posrcprefix="$srcdir/" 6064 else 6065 posrcprefix="../$srcdir/" 6066 fi 6067 else 6068 posrcprefix="../" 6069 fi 6070 rm -f po/POTFILES 6071 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 6072 < $srcdir/po/POTFILES.in > po/POTFILES 6073 6074 6075ALL_LINGUAS="af az bg cs da el en_GB es fi fr hu it ka ko nl ru rw sk sl sq sr sr@Latn sv tr uk vi zh_CN zh_TW" 6076 6077 6078 6079 6080ac_config_files="$ac_config_files po/Makefile.in Makefile compat/Makefile geometry/Makefile geometry/digital_vndr/Makefile geometry/sgi_vndr/Makefile keycodes/Makefile keycodes/digital_vndr/Makefile keycodes/sgi_vndr/Makefile keymap/Makefile keymap/digital_vndr/Makefile keymap/sgi_vndr/Makefile keymap/sun_vndr/Makefile semantics/Makefile rules/Makefile rules/compat/Makefile symbols/Makefile symbols/digital_vndr/Makefile symbols/fujitsu_vndr/Makefile symbols/hp_vndr/Makefile symbols/macintosh_vndr/Makefile symbols/nec_vndr/Makefile symbols/sgi_vndr/Makefile symbols/sony_vndr/Makefile symbols/sun_vndr/Makefile symbols/xfree68_vndr/Makefile types/Makefile xkeyboard-config.spec docs/Makefile" 6081 6082cat >confcache <<\_ACEOF 6083# This file is a shell script that caches the results of configure 6084# tests run on this system so they can be shared between configure 6085# scripts and configure runs, see configure's option --config-cache. 6086# It is not useful on other systems. If it contains results you don't 6087# want to keep, you may remove or edit it. 6088# 6089# config.status only pays attention to the cache file if you give it 6090# the --recheck option to rerun configure. 6091# 6092# `ac_cv_env_foo' variables (set or unset) will be overridden when 6093# loading this file, other *unset* `ac_cv_foo' will be assigned the 6094# following values. 6095 6096_ACEOF 6097 6098# The following way of writing the cache mishandles newlines in values, 6099# but we know of no workaround that is simple, portable, and efficient. 6100# So, we kill variables containing newlines. 6101# Ultrix sh set writes to stderr and can't be redirected directly, 6102# and sets the high bit in the cache file unless we assign to the vars. 6103( 6104 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6105 eval ac_val=\$$ac_var 6106 case $ac_val in #( 6107 *${as_nl}*) 6108 case $ac_var in #( 6109 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 6110echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 6111 esac 6112 case $ac_var in #( 6113 _ | IFS | as_nl) ;; #( 6114 *) $as_unset $ac_var ;; 6115 esac ;; 6116 esac 6117 done 6118 6119 (set) 2>&1 | 6120 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6121 *${as_nl}ac_space=\ *) 6122 # `set' does not quote correctly, so add quotes (double-quote 6123 # substitution turns \\\\ into \\, and sed turns \\ into \). 6124 sed -n \ 6125 "s/'/'\\\\''/g; 6126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6127 ;; #( 6128 *) 6129 # `set' quotes correctly as required by POSIX, so do not add quotes. 6130 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6131 ;; 6132 esac | 6133 sort 6134) | 6135 sed ' 6136 /^ac_cv_env_/b end 6137 t clear 6138 :clear 6139 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6140 t end 6141 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6142 :end' >>confcache 6143if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6144 if test -w "$cache_file"; then 6145 test "x$cache_file" != "x/dev/null" && 6146 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 6147echo "$as_me: updating cache $cache_file" >&6;} 6148 cat confcache >$cache_file 6149 else 6150 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6151echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6152 fi 6153fi 6154rm -f confcache 6155 6156test "x$prefix" = xNONE && prefix=$ac_default_prefix 6157# Let make expand exec_prefix. 6158test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6159 6160# Transform confdefs.h into DEFS. 6161# Protect against shell expansion while executing Makefile rules. 6162# Protect against Makefile macro expansion. 6163# 6164# If the first sed substitution is executed (which looks for macros that 6165# take arguments), then branch to the quote section. Otherwise, 6166# look for a macro that doesn't take arguments. 6167ac_script=' 6168t clear 6169:clear 6170s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 6171t quote 6172s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 6173t quote 6174b any 6175:quote 6176s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 6177s/\[/\\&/g 6178s/\]/\\&/g 6179s/\$/$$/g 6180H 6181:any 6182${ 6183 g 6184 s/^\n// 6185 s/\n/ /g 6186 p 6187} 6188' 6189DEFS=`sed -n "$ac_script" confdefs.h` 6190 6191 6192ac_libobjs= 6193ac_ltlibobjs= 6194for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6195 # 1. Remove the extension, and $U if already installed. 6196 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6197 ac_i=`echo "$ac_i" | sed "$ac_script"` 6198 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6199 # will be set to the directory where LIBOBJS objects are built. 6200 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6201 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6202done 6203LIBOBJS=$ac_libobjs 6204 6205LTLIBOBJS=$ac_ltlibobjs 6206 6207 6208if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 6209 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 6210Usually this means the macro was only invoked conditionally." >&5 6211echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 6212Usually this means the macro was only invoked conditionally." >&2;} 6213 { (exit 1); exit 1; }; } 6214fi 6215if test -z "${CREATE_RULES_SYMLINK_TRUE}" && test -z "${CREATE_RULES_SYMLINK_FALSE}"; then 6216 { { echo "$as_me:$LINENO: error: conditional \"CREATE_RULES_SYMLINK\" was never defined. 6217Usually this means the macro was only invoked conditionally." >&5 6218echo "$as_me: error: conditional \"CREATE_RULES_SYMLINK\" was never defined. 6219Usually this means the macro was only invoked conditionally." >&2;} 6220 { (exit 1); exit 1; }; } 6221fi 6222if test -z "${CREATE_XKBCOMP_SYMLINK_TRUE}" && test -z "${CREATE_XKBCOMP_SYMLINK_FALSE}"; then 6223 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XKBCOMP_SYMLINK\" was never defined. 6224Usually this means the macro was only invoked conditionally." >&5 6225echo "$as_me: error: conditional \"CREATE_XKBCOMP_SYMLINK\" was never defined. 6226Usually this means the macro was only invoked conditionally." >&2;} 6227 { (exit 1); exit 1; }; } 6228fi 6229if test -z "${USE_COMPAT_RULES_TRUE}" && test -z "${USE_COMPAT_RULES_FALSE}"; then 6230 { { echo "$as_me:$LINENO: error: conditional \"USE_COMPAT_RULES\" was never defined. 6231Usually this means the macro was only invoked conditionally." >&5 6232echo "$as_me: error: conditional \"USE_COMPAT_RULES\" was never defined. 6233Usually this means the macro was only invoked conditionally." >&2;} 6234 { (exit 1); exit 1; }; } 6235fi 6236if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6237 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 6238Usually this means the macro was only invoked conditionally." >&5 6239echo "$as_me: error: conditional \"AMDEP\" was never defined. 6240Usually this means the macro was only invoked conditionally." >&2;} 6241 { (exit 1); exit 1; }; } 6242fi 6243if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6244 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 6245Usually this means the macro was only invoked conditionally." >&5 6246echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 6247Usually this means the macro was only invoked conditionally." >&2;} 6248 { (exit 1); exit 1; }; } 6249fi 6250 6251 ac_config_commands="$ac_config_commands po/stamp-it" 6252 6253 6254 6255: ${CONFIG_STATUS=./config.status} 6256ac_clean_files_save=$ac_clean_files 6257ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6258{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6259echo "$as_me: creating $CONFIG_STATUS" >&6;} 6260cat >$CONFIG_STATUS <<_ACEOF 6261#! $SHELL 6262# Generated by $as_me. 6263# Run this file to recreate the current configuration. 6264# Compiler output produced by configure, useful for debugging 6265# configure, is in config.log if it exists. 6266 6267debug=false 6268ac_cs_recheck=false 6269ac_cs_silent=false 6270SHELL=\${CONFIG_SHELL-$SHELL} 6271_ACEOF 6272 6273cat >>$CONFIG_STATUS <<\_ACEOF 6274## --------------------- ## 6275## M4sh Initialization. ## 6276## --------------------- ## 6277 6278# Be more Bourne compatible 6279DUALCASE=1; export DUALCASE # for MKS sh 6280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6281 emulate sh 6282 NULLCMD=: 6283 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6284 # is contrary to our usage. Disable this feature. 6285 alias -g '${1+"$@"}'='"$@"' 6286 setopt NO_GLOB_SUBST 6287else 6288 case `(set -o) 2>/dev/null` in 6289 *posix*) set -o posix ;; 6290esac 6291 6292fi 6293 6294 6295 6296 6297# PATH needs CR 6298# Avoid depending upon Character Ranges. 6299as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6300as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6301as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6302as_cr_digits='0123456789' 6303as_cr_alnum=$as_cr_Letters$as_cr_digits 6304 6305# The user is always right. 6306if test "${PATH_SEPARATOR+set}" != set; then 6307 echo "#! /bin/sh" >conf$$.sh 6308 echo "exit 0" >>conf$$.sh 6309 chmod +x conf$$.sh 6310 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6311 PATH_SEPARATOR=';' 6312 else 6313 PATH_SEPARATOR=: 6314 fi 6315 rm -f conf$$.sh 6316fi 6317 6318# Support unset when possible. 6319if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6320 as_unset=unset 6321else 6322 as_unset=false 6323fi 6324 6325 6326# IFS 6327# We need space, tab and new line, in precisely that order. Quoting is 6328# there to prevent editors from complaining about space-tab. 6329# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6330# splitting by setting IFS to empty value.) 6331as_nl=' 6332' 6333IFS=" "" $as_nl" 6334 6335# Find who we are. Look in the path if we contain no directory separator. 6336case $0 in 6337 *[\\/]* ) as_myself=$0 ;; 6338 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6339for as_dir in $PATH 6340do 6341 IFS=$as_save_IFS 6342 test -z "$as_dir" && as_dir=. 6343 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6344done 6345IFS=$as_save_IFS 6346 6347 ;; 6348esac 6349# We did not find ourselves, most probably we were run as `sh COMMAND' 6350# in which case we are not to be found in the path. 6351if test "x$as_myself" = x; then 6352 as_myself=$0 6353fi 6354if test ! -f "$as_myself"; then 6355 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6356 { (exit 1); exit 1; } 6357fi 6358 6359# Work around bugs in pre-3.0 UWIN ksh. 6360for as_var in ENV MAIL MAILPATH 6361do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6362done 6363PS1='$ ' 6364PS2='> ' 6365PS4='+ ' 6366 6367# NLS nuisances. 6368for as_var in \ 6369 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6370 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6371 LC_TELEPHONE LC_TIME 6372do 6373 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6374 eval $as_var=C; export $as_var 6375 else 6376 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6377 fi 6378done 6379 6380# Required to use basename. 6381if expr a : '\(a\)' >/dev/null 2>&1 && 6382 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6383 as_expr=expr 6384else 6385 as_expr=false 6386fi 6387 6388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6389 as_basename=basename 6390else 6391 as_basename=false 6392fi 6393 6394 6395# Name of the executable. 6396as_me=`$as_basename -- "$0" || 6397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6398 X"$0" : 'X\(//\)$' \| \ 6399 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6400echo X/"$0" | 6401 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6402 s//\1/ 6403 q 6404 } 6405 /^X\/\(\/\/\)$/{ 6406 s//\1/ 6407 q 6408 } 6409 /^X\/\(\/\).*/{ 6410 s//\1/ 6411 q 6412 } 6413 s/.*/./; q'` 6414 6415# CDPATH. 6416$as_unset CDPATH 6417 6418 6419 6420 as_lineno_1=$LINENO 6421 as_lineno_2=$LINENO 6422 test "x$as_lineno_1" != "x$as_lineno_2" && 6423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 6424 6425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6426 # uniformly replaced by the line number. The first 'sed' inserts a 6427 # line-number line after each line using $LINENO; the second 'sed' 6428 # does the real work. The second script uses 'N' to pair each 6429 # line-number line with the line containing $LINENO, and appends 6430 # trailing '-' during substitution so that $LINENO is not a special 6431 # case at line end. 6432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6433 # scripts with optimization help from Paolo Bonzini. Blame Lee 6434 # E. McMahon (1931-1989) for sed's syntax. :-) 6435 sed -n ' 6436 p 6437 /[$]LINENO/= 6438 ' <$as_myself | 6439 sed ' 6440 s/[$]LINENO.*/&-/ 6441 t lineno 6442 b 6443 :lineno 6444 N 6445 :loop 6446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 6447 t loop 6448 s/-\n.*// 6449 ' >$as_me.lineno && 6450 chmod +x "$as_me.lineno" || 6451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 6452 { (exit 1); exit 1; }; } 6453 6454 # Don't try to exec as it changes $[0], causing all sort of problems 6455 # (the dirname of $[0] is not the place where we might find the 6456 # original and so on. Autoconf is especially sensitive to this). 6457 . "./$as_me.lineno" 6458 # Exit status is that of the last command. 6459 exit 6460} 6461 6462 6463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6464 as_dirname=dirname 6465else 6466 as_dirname=false 6467fi 6468 6469ECHO_C= ECHO_N= ECHO_T= 6470case `echo -n x` in 6471-n*) 6472 case `echo 'x\c'` in 6473 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6474 *) ECHO_C='\c';; 6475 esac;; 6476*) 6477 ECHO_N='-n';; 6478esac 6479 6480if expr a : '\(a\)' >/dev/null 2>&1 && 6481 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6482 as_expr=expr 6483else 6484 as_expr=false 6485fi 6486 6487rm -f conf$$ conf$$.exe conf$$.file 6488if test -d conf$$.dir; then 6489 rm -f conf$$.dir/conf$$.file 6490else 6491 rm -f conf$$.dir 6492 mkdir conf$$.dir 6493fi 6494echo >conf$$.file 6495if ln -s conf$$.file conf$$ 2>/dev/null; then 6496 as_ln_s='ln -s' 6497 # ... but there are two gotchas: 6498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6500 # In both cases, we have to default to `cp -p'. 6501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6502 as_ln_s='cp -p' 6503elif ln conf$$.file conf$$ 2>/dev/null; then 6504 as_ln_s=ln 6505else 6506 as_ln_s='cp -p' 6507fi 6508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6509rmdir conf$$.dir 2>/dev/null 6510 6511if mkdir -p . 2>/dev/null; then 6512 as_mkdir_p=: 6513else 6514 test -d ./-p && rmdir ./-p 6515 as_mkdir_p=false 6516fi 6517 6518if test -x / >/dev/null 2>&1; then 6519 as_test_x='test -x' 6520else 6521 if ls -dL / >/dev/null 2>&1; then 6522 as_ls_L_option=L 6523 else 6524 as_ls_L_option= 6525 fi 6526 as_test_x=' 6527 eval sh -c '\'' 6528 if test -d "$1"; then 6529 test -d "$1/."; 6530 else 6531 case $1 in 6532 -*)set "./$1";; 6533 esac; 6534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6535 ???[sx]*):;;*)false;;esac;fi 6536 '\'' sh 6537 ' 6538fi 6539as_executable_p=$as_test_x 6540 6541# Sed expression to map a string onto a valid CPP name. 6542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6543 6544# Sed expression to map a string onto a valid variable name. 6545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6546 6547 6548exec 6>&1 6549 6550# Save the log message, to keep $[0] and so on meaningful, and to 6551# report actual input values of CONFIG_FILES etc. instead of their 6552# values after options handling. 6553ac_log=" 6554This file was extended by xkeyboard-config $as_me 1.3, which was 6555generated by GNU Autoconf 2.61. Invocation command line was 6556 6557 CONFIG_FILES = $CONFIG_FILES 6558 CONFIG_HEADERS = $CONFIG_HEADERS 6559 CONFIG_LINKS = $CONFIG_LINKS 6560 CONFIG_COMMANDS = $CONFIG_COMMANDS 6561 $ $0 $@ 6562 6563on `(hostname || uname -n) 2>/dev/null | sed 1q` 6564" 6565 6566_ACEOF 6567 6568cat >>$CONFIG_STATUS <<_ACEOF 6569# Files that config.status was made for. 6570config_files="$ac_config_files" 6571config_commands="$ac_config_commands" 6572 6573_ACEOF 6574 6575cat >>$CONFIG_STATUS <<\_ACEOF 6576ac_cs_usage="\ 6577\`$as_me' instantiates files from templates according to the 6578current configuration. 6579 6580Usage: $0 [OPTIONS] [FILE]... 6581 6582 -h, --help print this help, then exit 6583 -V, --version print version number and configuration settings, then exit 6584 -q, --quiet do not print progress messages 6585 -d, --debug don't remove temporary files 6586 --recheck update $as_me by reconfiguring in the same conditions 6587 --file=FILE[:TEMPLATE] 6588 instantiate the configuration file FILE 6589 6590Configuration files: 6591$config_files 6592 6593Configuration commands: 6594$config_commands 6595 6596Report bugs to <bug-autoconf@gnu.org>." 6597 6598_ACEOF 6599cat >>$CONFIG_STATUS <<_ACEOF 6600ac_cs_version="\\ 6601xkeyboard-config config.status 1.3 6602configured by $0, generated by GNU Autoconf 2.61, 6603 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6604 6605Copyright (C) 2006 Free Software Foundation, Inc. 6606This config.status script is free software; the Free Software Foundation 6607gives unlimited permission to copy, distribute and modify it." 6608 6609ac_pwd='$ac_pwd' 6610srcdir='$srcdir' 6611INSTALL='$INSTALL' 6612_ACEOF 6613 6614cat >>$CONFIG_STATUS <<\_ACEOF 6615# If no file are specified by the user, then we need to provide default 6616# value. By we need to know if files were specified by the user. 6617ac_need_defaults=: 6618while test $# != 0 6619do 6620 case $1 in 6621 --*=*) 6622 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6623 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6624 ac_shift=: 6625 ;; 6626 *) 6627 ac_option=$1 6628 ac_optarg=$2 6629 ac_shift=shift 6630 ;; 6631 esac 6632 6633 case $ac_option in 6634 # Handling of the options. 6635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6636 ac_cs_recheck=: ;; 6637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6638 echo "$ac_cs_version"; exit ;; 6639 --debug | --debu | --deb | --de | --d | -d ) 6640 debug=: ;; 6641 --file | --fil | --fi | --f ) 6642 $ac_shift 6643 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6644 ac_need_defaults=false;; 6645 --he | --h | --help | --hel | -h ) 6646 echo "$ac_cs_usage"; exit ;; 6647 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6648 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6649 ac_cs_silent=: ;; 6650 6651 # This is an error. 6652 -*) { echo "$as_me: error: unrecognized option: $1 6653Try \`$0 --help' for more information." >&2 6654 { (exit 1); exit 1; }; } ;; 6655 6656 *) ac_config_targets="$ac_config_targets $1" 6657 ac_need_defaults=false ;; 6658 6659 esac 6660 shift 6661done 6662 6663ac_configure_extra_args= 6664 6665if $ac_cs_silent; then 6666 exec 6>/dev/null 6667 ac_configure_extra_args="$ac_configure_extra_args --silent" 6668fi 6669 6670_ACEOF 6671cat >>$CONFIG_STATUS <<_ACEOF 6672if \$ac_cs_recheck; then 6673 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6674 CONFIG_SHELL=$SHELL 6675 export CONFIG_SHELL 6676 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6677fi 6678 6679_ACEOF 6680cat >>$CONFIG_STATUS <<\_ACEOF 6681exec 5>>config.log 6682{ 6683 echo 6684 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6685## Running $as_me. ## 6686_ASBOX 6687 echo "$ac_log" 6688} >&5 6689 6690_ACEOF 6691cat >>$CONFIG_STATUS <<_ACEOF 6692# 6693# INIT-COMMANDS 6694# 6695AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6696INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' 6697prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" 6698INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' 6699 6700 6701_ACEOF 6702 6703cat >>$CONFIG_STATUS <<\_ACEOF 6704 6705# Handling of arguments. 6706for ac_config_target in $ac_config_targets 6707do 6708 case $ac_config_target in 6709 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6710 "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; 6711 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 6712 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 6713 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6714 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;; 6715 "geometry/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/Makefile" ;; 6716 "geometry/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/digital_vndr/Makefile" ;; 6717 "geometry/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/sgi_vndr/Makefile" ;; 6718 "keycodes/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/Makefile" ;; 6719 "keycodes/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/digital_vndr/Makefile" ;; 6720 "keycodes/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/sgi_vndr/Makefile" ;; 6721 "keymap/Makefile") CONFIG_FILES="$CONFIG_FILES keymap/Makefile" ;; 6722 "keymap/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keymap/digital_vndr/Makefile" ;; 6723 "keymap/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keymap/sgi_vndr/Makefile" ;; 6724 "keymap/sun_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keymap/sun_vndr/Makefile" ;; 6725 "semantics/Makefile") CONFIG_FILES="$CONFIG_FILES semantics/Makefile" ;; 6726 "rules/Makefile") CONFIG_FILES="$CONFIG_FILES rules/Makefile" ;; 6727 "rules/compat/Makefile") CONFIG_FILES="$CONFIG_FILES rules/compat/Makefile" ;; 6728 "symbols/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/Makefile" ;; 6729 "symbols/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/digital_vndr/Makefile" ;; 6730 "symbols/fujitsu_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/fujitsu_vndr/Makefile" ;; 6731 "symbols/hp_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/hp_vndr/Makefile" ;; 6732 "symbols/macintosh_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/macintosh_vndr/Makefile" ;; 6733 "symbols/nec_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nec_vndr/Makefile" ;; 6734 "symbols/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sgi_vndr/Makefile" ;; 6735 "symbols/sony_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sony_vndr/Makefile" ;; 6736 "symbols/sun_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sun_vndr/Makefile" ;; 6737 "symbols/xfree68_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/xfree68_vndr/Makefile" ;; 6738 "types/Makefile") CONFIG_FILES="$CONFIG_FILES types/Makefile" ;; 6739 "xkeyboard-config.spec") CONFIG_FILES="$CONFIG_FILES xkeyboard-config.spec" ;; 6740 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 6741 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 6742 6743 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6744echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6745 { (exit 1); exit 1; }; };; 6746 esac 6747done 6748 6749 6750# If the user did not use the arguments to specify the items to instantiate, 6751# then the envvar interface is used. Set only those that are not. 6752# We use the long form for the default assignment because of an extremely 6753# bizarre bug on SunOS 4.1.3. 6754if $ac_need_defaults; then 6755 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6756 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6757fi 6758 6759# Have a temporary directory for convenience. Make it in the build tree 6760# simply because there is no reason against having it here, and in addition, 6761# creating and moving files from /tmp can sometimes cause problems. 6762# Hook for its removal unless debugging. 6763# Note that there is a small window in which the directory will not be cleaned: 6764# after its creation but before its name has been assigned to `$tmp'. 6765$debug || 6766{ 6767 tmp= 6768 trap 'exit_status=$? 6769 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6770' 0 6771 trap '{ (exit 1); exit 1; }' 1 2 13 15 6772} 6773# Create a (secure) tmp directory for tmp files. 6774 6775{ 6776 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6777 test -n "$tmp" && test -d "$tmp" 6778} || 6779{ 6780 tmp=./conf$$-$RANDOM 6781 (umask 077 && mkdir "$tmp") 6782} || 6783{ 6784 echo "$me: cannot create a temporary directory in ." >&2 6785 { (exit 1); exit 1; } 6786} 6787 6788# 6789# Set up the sed scripts for CONFIG_FILES section. 6790# 6791 6792# No need to generate the scripts if there are no CONFIG_FILES. 6793# This happens for instance when ./config.status config.h 6794if test -n "$CONFIG_FILES"; then 6795 6796_ACEOF 6797 6798 6799 6800ac_delim='%!_!# ' 6801for ac_last_try in false false false false false :; do 6802 cat >conf$$subs.sed <<_ACEOF 6803SHELL!$SHELL$ac_delim 6804PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 6805PACKAGE_NAME!$PACKAGE_NAME$ac_delim 6806PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 6807PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 6808PACKAGE_STRING!$PACKAGE_STRING$ac_delim 6809PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 6810exec_prefix!$exec_prefix$ac_delim 6811prefix!$prefix$ac_delim 6812program_transform_name!$program_transform_name$ac_delim 6813bindir!$bindir$ac_delim 6814sbindir!$sbindir$ac_delim 6815libexecdir!$libexecdir$ac_delim 6816datarootdir!$datarootdir$ac_delim 6817datadir!$datadir$ac_delim 6818sysconfdir!$sysconfdir$ac_delim 6819sharedstatedir!$sharedstatedir$ac_delim 6820localstatedir!$localstatedir$ac_delim 6821includedir!$includedir$ac_delim 6822oldincludedir!$oldincludedir$ac_delim 6823docdir!$docdir$ac_delim 6824infodir!$infodir$ac_delim 6825htmldir!$htmldir$ac_delim 6826dvidir!$dvidir$ac_delim 6827pdfdir!$pdfdir$ac_delim 6828psdir!$psdir$ac_delim 6829libdir!$libdir$ac_delim 6830localedir!$localedir$ac_delim 6831mandir!$mandir$ac_delim 6832DEFS!$DEFS$ac_delim 6833ECHO_C!$ECHO_C$ac_delim 6834ECHO_N!$ECHO_N$ac_delim 6835ECHO_T!$ECHO_T$ac_delim 6836LIBS!$LIBS$ac_delim 6837build_alias!$build_alias$ac_delim 6838host_alias!$host_alias$ac_delim 6839target_alias!$target_alias$ac_delim 6840INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 6841INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 6842INSTALL_DATA!$INSTALL_DATA$ac_delim 6843CYGPATH_W!$CYGPATH_W$ac_delim 6844PACKAGE!$PACKAGE$ac_delim 6845VERSION!$VERSION$ac_delim 6846ACLOCAL!$ACLOCAL$ac_delim 6847AUTOCONF!$AUTOCONF$ac_delim 6848AUTOMAKE!$AUTOMAKE$ac_delim 6849AUTOHEADER!$AUTOHEADER$ac_delim 6850MAKEINFO!$MAKEINFO$ac_delim 6851install_sh!$install_sh$ac_delim 6852STRIP!$STRIP$ac_delim 6853INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 6854mkdir_p!$mkdir_p$ac_delim 6855AWK!$AWK$ac_delim 6856SET_MAKE!$SET_MAKE$ac_delim 6857am__leading_dot!$am__leading_dot$ac_delim 6858AMTAR!$AMTAR$ac_delim 6859am__tar!$am__tar$ac_delim 6860am__untar!$am__untar$ac_delim 6861MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 6862MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 6863MAINT!$MAINT$ac_delim 6864XKBCOMP!$XKBCOMP$ac_delim 6865CREATE_RULES_SYMLINK_TRUE!$CREATE_RULES_SYMLINK_TRUE$ac_delim 6866CREATE_RULES_SYMLINK_FALSE!$CREATE_RULES_SYMLINK_FALSE$ac_delim 6867CREATE_XKBCOMP_SYMLINK_TRUE!$CREATE_XKBCOMP_SYMLINK_TRUE$ac_delim 6868CREATE_XKBCOMP_SYMLINK_FALSE!$CREATE_XKBCOMP_SYMLINK_FALSE$ac_delim 6869USE_COMPAT_RULES_TRUE!$USE_COMPAT_RULES_TRUE$ac_delim 6870USE_COMPAT_RULES_FALSE!$USE_COMPAT_RULES_FALSE$ac_delim 6871INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim 6872INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim 6873INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim 6874INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim 6875INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim 6876INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim 6877INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim 6878INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim 6879INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim 6880INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim 6881INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim 6882INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim 6883INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim 6884INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim 6885INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim 6886INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim 6887INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim 6888INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim 6889INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim 6890XGETTEXT!$XGETTEXT$ac_delim 6891MSGMERGE!$MSGMERGE$ac_delim 6892MSGFMT!$MSGFMT$ac_delim 6893INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim 6894INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim 6895INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim 6896INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim 6897ALL_LINGUAS!$ALL_LINGUAS$ac_delim 6898CC!$CC$ac_delim 6899CFLAGS!$CFLAGS$ac_delim 6900_ACEOF 6901 6902 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 6903 break 6904 elif $ac_last_try; then 6905 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6906echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6907 { (exit 1); exit 1; }; } 6908 else 6909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6910 fi 6911done 6912 6913ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6914if test -n "$ac_eof"; then 6915 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6916 ac_eof=`expr $ac_eof + 1` 6917fi 6918 6919cat >>$CONFIG_STATUS <<_ACEOF 6920cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 6921/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6922_ACEOF 6923sed ' 6924s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 6925s/^/s,@/; s/!/@,|#_!!_#|/ 6926:n 6927t n 6928s/'"$ac_delim"'$/,g/; t 6929s/$/\\/; p 6930N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 6931' >>$CONFIG_STATUS <conf$$subs.sed 6932rm -f conf$$subs.sed 6933cat >>$CONFIG_STATUS <<_ACEOF 6934CEOF$ac_eof 6935_ACEOF 6936 6937 6938ac_delim='%!_!# ' 6939for ac_last_try in false false false false false :; do 6940 cat >conf$$subs.sed <<_ACEOF 6941LDFLAGS!$LDFLAGS$ac_delim 6942CPPFLAGS!$CPPFLAGS$ac_delim 6943ac_ct_CC!$ac_ct_CC$ac_delim 6944EXEEXT!$EXEEXT$ac_delim 6945OBJEXT!$OBJEXT$ac_delim 6946DEPDIR!$DEPDIR$ac_delim 6947am__include!$am__include$ac_delim 6948am__quote!$am__quote$ac_delim 6949AMDEP_TRUE!$AMDEP_TRUE$ac_delim 6950AMDEP_FALSE!$AMDEP_FALSE$ac_delim 6951AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 6952CCDEPMODE!$CCDEPMODE$ac_delim 6953am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 6954am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 6955DATADIRNAME!$DATADIRNAME$ac_delim 6956GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim 6957CPP!$CPP$ac_delim 6958GREP!$GREP$ac_delim 6959EGREP!$EGREP$ac_delim 6960USE_NLS!$USE_NLS$ac_delim 6961MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim 6962GMSGFMT!$GMSGFMT$ac_delim 6963CATALOGS!$CATALOGS$ac_delim 6964CATOBJEXT!$CATOBJEXT$ac_delim 6965GMOFILES!$GMOFILES$ac_delim 6966INSTOBJEXT!$INSTOBJEXT$ac_delim 6967INTLLIBS!$INTLLIBS$ac_delim 6968PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim 6969PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim 6970POFILES!$POFILES$ac_delim 6971POSUB!$POSUB$ac_delim 6972MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim 6973xkb_base!$xkb_base$ac_delim 6974xkb_rules_symlink!$xkb_rules_symlink$ac_delim 6975LIBOBJS!$LIBOBJS$ac_delim 6976LTLIBOBJS!$LTLIBOBJS$ac_delim 6977_ACEOF 6978 6979 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then 6980 break 6981 elif $ac_last_try; then 6982 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6983echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6984 { (exit 1); exit 1; }; } 6985 else 6986 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6987 fi 6988done 6989 6990ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6991if test -n "$ac_eof"; then 6992 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6993 ac_eof=`expr $ac_eof + 1` 6994fi 6995 6996cat >>$CONFIG_STATUS <<_ACEOF 6997cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 6998/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 6999_ACEOF 7000sed ' 7001s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 7002s/^/s,@/; s/!/@,|#_!!_#|/ 7003:n 7004t n 7005s/'"$ac_delim"'$/,g/; t 7006s/$/\\/; p 7007N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 7008' >>$CONFIG_STATUS <conf$$subs.sed 7009rm -f conf$$subs.sed 7010cat >>$CONFIG_STATUS <<_ACEOF 7011:end 7012s/|#_!!_#|//g 7013CEOF$ac_eof 7014_ACEOF 7015 7016 7017# VPATH may cause trouble with some makes, so we remove $(srcdir), 7018# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7019# trailing colons and then remove the whole line if VPATH becomes empty 7020# (actually we leave an empty line to preserve line numbers). 7021if test "x$srcdir" = x.; then 7022 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7023s/:*\$(srcdir):*/:/ 7024s/:*\${srcdir}:*/:/ 7025s/:*@srcdir@:*/:/ 7026s/^\([^=]*=[ ]*\):*/\1/ 7027s/:*$// 7028s/^[^=]*=[ ]*$// 7029}' 7030fi 7031 7032cat >>$CONFIG_STATUS <<\_ACEOF 7033fi # test -n "$CONFIG_FILES" 7034 7035 7036for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 7037do 7038 case $ac_tag in 7039 :[FHLC]) ac_mode=$ac_tag; continue;; 7040 esac 7041 case $ac_mode$ac_tag in 7042 :[FHL]*:*);; 7043 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 7044echo "$as_me: error: Invalid tag $ac_tag." >&2;} 7045 { (exit 1); exit 1; }; };; 7046 :[FH]-) ac_tag=-:-;; 7047 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7048 esac 7049 ac_save_IFS=$IFS 7050 IFS=: 7051 set x $ac_tag 7052 IFS=$ac_save_IFS 7053 shift 7054 ac_file=$1 7055 shift 7056 7057 case $ac_mode in 7058 :L) ac_source=$1;; 7059 :[FH]) 7060 ac_file_inputs= 7061 for ac_f 7062 do 7063 case $ac_f in 7064 -) ac_f="$tmp/stdin";; 7065 *) # Look for the file first in the build tree, then in the source tree 7066 # (if the path is not absolute). The absolute path cannot be DOS-style, 7067 # because $ac_f cannot contain `:'. 7068 test -f "$ac_f" || 7069 case $ac_f in 7070 [\\/$]*) false;; 7071 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7072 esac || 7073 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 7074echo "$as_me: error: cannot find input file: $ac_f" >&2;} 7075 { (exit 1); exit 1; }; };; 7076 esac 7077 ac_file_inputs="$ac_file_inputs $ac_f" 7078 done 7079 7080 # Let's still pretend it is `configure' which instantiates (i.e., don't 7081 # use $as_me), people would be surprised to read: 7082 # /* config.h. Generated by config.status. */ 7083 configure_input="Generated from "`IFS=: 7084 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 7085 if test x"$ac_file" != x-; then 7086 configure_input="$ac_file. $configure_input" 7087 { echo "$as_me:$LINENO: creating $ac_file" >&5 7088echo "$as_me: creating $ac_file" >&6;} 7089 fi 7090 7091 case $ac_tag in 7092 *:-:* | *:-) cat >"$tmp/stdin";; 7093 esac 7094 ;; 7095 esac 7096 7097 ac_dir=`$as_dirname -- "$ac_file" || 7098$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7099 X"$ac_file" : 'X\(//\)[^/]' \| \ 7100 X"$ac_file" : 'X\(//\)$' \| \ 7101 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7102echo X"$ac_file" | 7103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7104 s//\1/ 7105 q 7106 } 7107 /^X\(\/\/\)[^/].*/{ 7108 s//\1/ 7109 q 7110 } 7111 /^X\(\/\/\)$/{ 7112 s//\1/ 7113 q 7114 } 7115 /^X\(\/\).*/{ 7116 s//\1/ 7117 q 7118 } 7119 s/.*/./; q'` 7120 { as_dir="$ac_dir" 7121 case $as_dir in #( 7122 -*) as_dir=./$as_dir;; 7123 esac 7124 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7125 as_dirs= 7126 while :; do 7127 case $as_dir in #( 7128 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7129 *) as_qdir=$as_dir;; 7130 esac 7131 as_dirs="'$as_qdir' $as_dirs" 7132 as_dir=`$as_dirname -- "$as_dir" || 7133$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7134 X"$as_dir" : 'X\(//\)[^/]' \| \ 7135 X"$as_dir" : 'X\(//\)$' \| \ 7136 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7137echo X"$as_dir" | 7138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7139 s//\1/ 7140 q 7141 } 7142 /^X\(\/\/\)[^/].*/{ 7143 s//\1/ 7144 q 7145 } 7146 /^X\(\/\/\)$/{ 7147 s//\1/ 7148 q 7149 } 7150 /^X\(\/\).*/{ 7151 s//\1/ 7152 q 7153 } 7154 s/.*/./; q'` 7155 test -d "$as_dir" && break 7156 done 7157 test -z "$as_dirs" || eval "mkdir $as_dirs" 7158 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7159echo "$as_me: error: cannot create directory $as_dir" >&2;} 7160 { (exit 1); exit 1; }; }; } 7161 ac_builddir=. 7162 7163case "$ac_dir" in 7164.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7165*) 7166 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7167 # A ".." for each directory in $ac_dir_suffix. 7168 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 7169 case $ac_top_builddir_sub in 7170 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7171 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7172 esac ;; 7173esac 7174ac_abs_top_builddir=$ac_pwd 7175ac_abs_builddir=$ac_pwd$ac_dir_suffix 7176# for backward compatibility: 7177ac_top_builddir=$ac_top_build_prefix 7178 7179case $srcdir in 7180 .) # We are building in place. 7181 ac_srcdir=. 7182 ac_top_srcdir=$ac_top_builddir_sub 7183 ac_abs_top_srcdir=$ac_pwd ;; 7184 [\\/]* | ?:[\\/]* ) # Absolute name. 7185 ac_srcdir=$srcdir$ac_dir_suffix; 7186 ac_top_srcdir=$srcdir 7187 ac_abs_top_srcdir=$srcdir ;; 7188 *) # Relative name. 7189 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7190 ac_top_srcdir=$ac_top_build_prefix$srcdir 7191 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7192esac 7193ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7194 7195 7196 case $ac_mode in 7197 :F) 7198 # 7199 # CONFIG_FILE 7200 # 7201 7202 case $INSTALL in 7203 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7204 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7205 esac 7206_ACEOF 7207 7208cat >>$CONFIG_STATUS <<\_ACEOF 7209# If the template does not know about datarootdir, expand it. 7210# FIXME: This hack should be removed a few years after 2.60. 7211ac_datarootdir_hack=; ac_datarootdir_seen= 7212 7213case `sed -n '/datarootdir/ { 7214 p 7215 q 7216} 7217/@datadir@/p 7218/@docdir@/p 7219/@infodir@/p 7220/@localedir@/p 7221/@mandir@/p 7222' $ac_file_inputs` in 7223*datarootdir*) ac_datarootdir_seen=yes;; 7224*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7225 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7226echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7227_ACEOF 7228cat >>$CONFIG_STATUS <<_ACEOF 7229 ac_datarootdir_hack=' 7230 s&@datadir@&$datadir&g 7231 s&@docdir@&$docdir&g 7232 s&@infodir@&$infodir&g 7233 s&@localedir@&$localedir&g 7234 s&@mandir@&$mandir&g 7235 s&\\\${datarootdir}&$datarootdir&g' ;; 7236esac 7237_ACEOF 7238 7239# Neutralize VPATH when `$srcdir' = `.'. 7240# Shell code in configure.ac might set extrasub. 7241# FIXME: do we really want to maintain this feature? 7242cat >>$CONFIG_STATUS <<_ACEOF 7243 sed "$ac_vpsub 7244$extrasub 7245_ACEOF 7246cat >>$CONFIG_STATUS <<\_ACEOF 7247:t 7248/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7249s&@configure_input@&$configure_input&;t t 7250s&@top_builddir@&$ac_top_builddir_sub&;t t 7251s&@srcdir@&$ac_srcdir&;t t 7252s&@abs_srcdir@&$ac_abs_srcdir&;t t 7253s&@top_srcdir@&$ac_top_srcdir&;t t 7254s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7255s&@builddir@&$ac_builddir&;t t 7256s&@abs_builddir@&$ac_abs_builddir&;t t 7257s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7258s&@INSTALL@&$ac_INSTALL&;t t 7259$ac_datarootdir_hack 7260" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 7261 7262test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7263 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7265 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7266which seems to be undefined. Please make sure it is defined." >&5 7267echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7268which seems to be undefined. Please make sure it is defined." >&2;} 7269 7270 rm -f "$tmp/stdin" 7271 case $ac_file in 7272 -) cat "$tmp/out"; rm -f "$tmp/out";; 7273 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 7274 esac 7275 ;; 7276 7277 7278 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 7279echo "$as_me: executing $ac_file commands" >&6;} 7280 ;; 7281 esac 7282 7283 7284 case $ac_file$ac_mode in 7285 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 7286 # Strip MF so we end up with the name of the file. 7287 mf=`echo "$mf" | sed -e 's/:.*$//'` 7288 # Check whether this is an Automake generated Makefile or not. 7289 # We used to match only the files named `Makefile.in', but 7290 # some people rename them; so instead we look at the file content. 7291 # Grep'ing the first line is not enough: some people post-process 7292 # each Makefile.in and add a new line on top of each file to say so. 7293 # So let's grep whole file. 7294 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 7295 dirpart=`$as_dirname -- "$mf" || 7296$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7297 X"$mf" : 'X\(//\)[^/]' \| \ 7298 X"$mf" : 'X\(//\)$' \| \ 7299 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7300echo X"$mf" | 7301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7302 s//\1/ 7303 q 7304 } 7305 /^X\(\/\/\)[^/].*/{ 7306 s//\1/ 7307 q 7308 } 7309 /^X\(\/\/\)$/{ 7310 s//\1/ 7311 q 7312 } 7313 /^X\(\/\).*/{ 7314 s//\1/ 7315 q 7316 } 7317 s/.*/./; q'` 7318 else 7319 continue 7320 fi 7321 # Extract the definition of DEPDIR, am__include, and am__quote 7322 # from the Makefile without running `make'. 7323 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7324 test -z "$DEPDIR" && continue 7325 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7326 test -z "am__include" && continue 7327 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7328 # When using ansi2knr, U may be empty or an underscore; expand it 7329 U=`sed -n 's/^U = //p' < "$mf"` 7330 # Find all dependency output files, they are included files with 7331 # $(DEPDIR) in their names. We invoke sed twice because it is the 7332 # simplest approach to changing $(DEPDIR) to its actual value in the 7333 # expansion. 7334 for file in `sed -n " 7335 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7336 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7337 # Make sure the directory exists. 7338 test -f "$dirpart/$file" && continue 7339 fdir=`$as_dirname -- "$file" || 7340$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7341 X"$file" : 'X\(//\)[^/]' \| \ 7342 X"$file" : 'X\(//\)$' \| \ 7343 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7344echo X"$file" | 7345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7346 s//\1/ 7347 q 7348 } 7349 /^X\(\/\/\)[^/].*/{ 7350 s//\1/ 7351 q 7352 } 7353 /^X\(\/\/\)$/{ 7354 s//\1/ 7355 q 7356 } 7357 /^X\(\/\).*/{ 7358 s//\1/ 7359 q 7360 } 7361 s/.*/./; q'` 7362 { as_dir=$dirpart/$fdir 7363 case $as_dir in #( 7364 -*) as_dir=./$as_dir;; 7365 esac 7366 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7367 as_dirs= 7368 while :; do 7369 case $as_dir in #( 7370 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7371 *) as_qdir=$as_dir;; 7372 esac 7373 as_dirs="'$as_qdir' $as_dirs" 7374 as_dir=`$as_dirname -- "$as_dir" || 7375$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7376 X"$as_dir" : 'X\(//\)[^/]' \| \ 7377 X"$as_dir" : 'X\(//\)$' \| \ 7378 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7379echo X"$as_dir" | 7380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7381 s//\1/ 7382 q 7383 } 7384 /^X\(\/\/\)[^/].*/{ 7385 s//\1/ 7386 q 7387 } 7388 /^X\(\/\/\)$/{ 7389 s//\1/ 7390 q 7391 } 7392 /^X\(\/\).*/{ 7393 s//\1/ 7394 q 7395 } 7396 s/.*/./; q'` 7397 test -d "$as_dir" && break 7398 done 7399 test -z "$as_dirs" || eval "mkdir $as_dirs" 7400 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7401echo "$as_me: error: cannot create directory $as_dir" >&2;} 7402 { (exit 1); exit 1; }; }; } 7403 # echo "creating $dirpart/$file" 7404 echo '# dummy' > "$dirpart/$file" 7405 done 7406done 7407 ;; 7408 "intltool":C) 7409 7410for file in intltool-extract intltool-merge intltool-update; do 7411 sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ 7412 -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ 7413 -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ 7414 < ${ac_aux_dir}/${file}.in > ${file}.out 7415 if cmp -s ${file} ${file}.out 2>/dev/null; then 7416 rm -f ${file}.out 7417 else 7418 mv -f ${file}.out ${file} 7419 fi 7420 chmod ugo+x ${file} 7421 chmod u+w ${file} 7422done 7423 7424 ;; 7425 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 7426 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 7427 esac ;; 7428 "po/stamp-it":C) 7429 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 7430 >"po/stamp-it.tmp" 7431 sed '/^#/d 7432 s/^[[].*] *// 7433 /^[ ]*$/d 7434 '"s|^| $ac_top_srcdir/|" \ 7435 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 7436 7437 if test ! -f "po/Makefile"; then 7438 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5 7439echo "$as_me: error: po/Makefile is not ready." >&2;} 7440 { (exit 1); exit 1; }; } 7441 fi 7442 mv "po/Makefile" "po/Makefile.tmp" 7443 sed '/^POTFILES =/,/[^\\]$/ { 7444 /^POTFILES =/!d 7445 r po/POTFILES 7446 } 7447 ' "po/Makefile.tmp" >"po/Makefile" 7448 rm -f "po/Makefile.tmp" 7449 mv "po/stamp-it.tmp" "po/stamp-it" 7450 ;; 7451 7452 esac 7453done # for ac_tag 7454 7455 7456{ (exit 0); exit 0; } 7457_ACEOF 7458chmod +x $CONFIG_STATUS 7459ac_clean_files=$ac_clean_files_save 7460 7461 7462# configure is writing to config.log, and then calls config.status. 7463# config.status does its own redirection, appending to config.log. 7464# Unfortunately, on DOS this fails, as config.log is still kept open 7465# by configure, so config.status won't be able to write to it; its 7466# output is simply discarded. So we exec the FD to /dev/null, 7467# effectively closing config.log, so it can be properly (re)opened and 7468# appended to by config.status. When coming back to configure, we 7469# need to make the FD available again. 7470if test "$no_create" != yes; then 7471 ac_cs_success=: 7472 ac_config_status_args= 7473 test "$silent" = yes && 7474 ac_config_status_args="$ac_config_status_args --quiet" 7475 exec 5>/dev/null 7476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7477 exec 5>>config.log 7478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7479 # would make configure fail if this is the last instruction. 7480 $ac_cs_success || { (exit 1); exit 1; } 7481fi 7482 7483 7484echo '***********************************************************' 7485echo " $PACKAGE_NAME is configured with the following parameters:" 7486echo " XKB base directory: $xkb_base" 7487if test -z "$xkb_rules_symlink" ; then 7488 echo " Symbolic link(s) to legacy rules are not created" 7489else 7490 echo " Symbolic link(s) to legacy rules: $xkb_rules_symlink" 7491fi 7492 7493if test "$enable_compat_rules" == "yes" ; then 7494 echo " Compatibility rules are included" 7495else 7496 echo " Compatibility rules are not included" 7497fi 7498echo '***********************************************************' 7499 7500