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