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