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