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