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