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