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