1#! /bin/sh 2# Generated by configure. 3# Run this file to recreate the current configuration. 4# Compiler output produced by configure, useful for debugging 5# configure, is in config.log if it exists. 6 7debug=false 8ac_cs_recheck=false 9ac_cs_silent=false 10 11SHELL=${CONFIG_SHELL-/bin/sh} 12export SHELL 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 138# as_fn_error STATUS ERROR [LINENO LOG_FD] 139# ---------------------------------------- 140# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 141# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 142# script with STATUS, using 1 if that was 0. 143as_fn_error () 144{ 145 as_status=$1; test $as_status -eq 0 && as_status=1 146 if test "$4"; then 147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 149 fi 150 $as_echo "$as_me: error: $2" >&2 151 as_fn_exit $as_status 152} # as_fn_error 153 154 155# as_fn_set_status STATUS 156# ----------------------- 157# Set $? to STATUS, without forking. 158as_fn_set_status () 159{ 160 return $1 161} # as_fn_set_status 162 163# as_fn_exit STATUS 164# ----------------- 165# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 166as_fn_exit () 167{ 168 set +e 169 as_fn_set_status $1 170 exit $1 171} # as_fn_exit 172 173# as_fn_unset VAR 174# --------------- 175# Portably unset VAR. 176as_fn_unset () 177{ 178 { eval $1=; unset $1;} 179} 180as_unset=as_fn_unset 181# as_fn_append VAR VALUE 182# ---------------------- 183# Append the text in VALUE to the end of the definition contained in VAR. Take 184# advantage of any shell optimizations that allow amortized linear growth over 185# repeated appends, instead of the typical quadratic growth present in naive 186# implementations. 187if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 188 eval 'as_fn_append () 189 { 190 eval $1+=\$2 191 }' 192else 193 as_fn_append () 194 { 195 eval $1=\$$1\$2 196 } 197fi # as_fn_append 198 199# as_fn_arith ARG... 200# ------------------ 201# Perform arithmetic evaluation on the ARGs, and store the result in the 202# global $as_val. Take advantage of shells that can avoid forks. The arguments 203# must be portable across $(()) and expr. 204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 205 eval 'as_fn_arith () 206 { 207 as_val=$(( $* )) 208 }' 209else 210 as_fn_arith () 211 { 212 as_val=`expr "$@" || test $? -eq 1` 213 } 214fi # as_fn_arith 215 216 217if expr a : '\(a\)' >/dev/null 2>&1 && 218 test "X`expr 00001 : '.*\(...\)'`" = X001; then 219 as_expr=expr 220else 221 as_expr=false 222fi 223 224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 225 as_basename=basename 226else 227 as_basename=false 228fi 229 230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 231 as_dirname=dirname 232else 233 as_dirname=false 234fi 235 236as_me=`$as_basename -- "$0" || 237$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 238 X"$0" : 'X\(//\)$' \| \ 239 X"$0" : 'X\(/\)' \| . 2>/dev/null || 240$as_echo X/"$0" | 241 sed '/^.*\/\([^/][^/]*\)\/*$/{ 242 s//\1/ 243 q 244 } 245 /^X\/\(\/\/\)$/{ 246 s//\1/ 247 q 248 } 249 /^X\/\(\/\).*/{ 250 s//\1/ 251 q 252 } 253 s/.*/./; q'` 254 255# Avoid depending upon Character Ranges. 256as_cr_letters='abcdefghijklmnopqrstuvwxyz' 257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 258as_cr_Letters=$as_cr_letters$as_cr_LETTERS 259as_cr_digits='0123456789' 260as_cr_alnum=$as_cr_Letters$as_cr_digits 261 262ECHO_C= ECHO_N= ECHO_T= 263case `echo -n x` in #((((( 264-n*) 265 case `echo 'xy\c'` in 266 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 267 xy) ECHO_C='\c';; 268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 269 ECHO_T=' ';; 270 esac;; 271*) 272 ECHO_N='-n';; 273esac 274 275rm -f conf$$ conf$$.exe conf$$.file 276if test -d conf$$.dir; then 277 rm -f conf$$.dir/conf$$.file 278else 279 rm -f conf$$.dir 280 mkdir conf$$.dir 2>/dev/null 281fi 282if (echo >conf$$.file) 2>/dev/null; then 283 if ln -s conf$$.file conf$$ 2>/dev/null; then 284 as_ln_s='ln -s' 285 # ... but there are two gotchas: 286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 288 # In both cases, we have to default to `cp -pR'. 289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 290 as_ln_s='cp -pR' 291 elif ln conf$$.file conf$$ 2>/dev/null; then 292 as_ln_s=ln 293 else 294 as_ln_s='cp -pR' 295 fi 296else 297 as_ln_s='cp -pR' 298fi 299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 300rmdir conf$$.dir 2>/dev/null 301 302 303# as_fn_mkdir_p 304# ------------- 305# Create "$as_dir" as a directory, including parents if necessary. 306as_fn_mkdir_p () 307{ 308 309 case $as_dir in #( 310 -*) as_dir=./$as_dir;; 311 esac 312 test -d "$as_dir" || eval $as_mkdir_p || { 313 as_dirs= 314 while :; do 315 case $as_dir in #( 316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 317 *) as_qdir=$as_dir;; 318 esac 319 as_dirs="'$as_qdir' $as_dirs" 320 as_dir=`$as_dirname -- "$as_dir" || 321$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 322 X"$as_dir" : 'X\(//\)[^/]' \| \ 323 X"$as_dir" : 'X\(//\)$' \| \ 324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 325$as_echo X"$as_dir" | 326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 327 s//\1/ 328 q 329 } 330 /^X\(\/\/\)[^/].*/{ 331 s//\1/ 332 q 333 } 334 /^X\(\/\/\)$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\).*/{ 339 s//\1/ 340 q 341 } 342 s/.*/./; q'` 343 test -d "$as_dir" && break 344 done 345 test -z "$as_dirs" || eval "mkdir $as_dirs" 346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 347 348 349} # as_fn_mkdir_p 350if mkdir -p . 2>/dev/null; then 351 as_mkdir_p='mkdir -p "$as_dir"' 352else 353 test -d ./-p && rmdir ./-p 354 as_mkdir_p=false 355fi 356 357 358# as_fn_executable_p FILE 359# ----------------------- 360# Test if FILE is an executable regular file. 361as_fn_executable_p () 362{ 363 test -f "$1" && test -x "$1" 364} # as_fn_executable_p 365as_test_x='test -x' 366as_executable_p=as_fn_executable_p 367 368# Sed expression to map a string onto a valid CPP name. 369as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 370 371# Sed expression to map a string onto a valid variable name. 372as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 373 374 375exec 6>&1 376## ----------------------------------- ## 377## Main body of $CONFIG_STATUS script. ## 378## ----------------------------------- ## 379# Save the log message, to keep $0 and so on meaningful, and to 380# report actual input values of CONFIG_FILES etc. instead of their 381# values after options handling. 382ac_log=" 383This file was extended by xkeyboard-config $as_me 2.30, which was 384generated by GNU Autoconf 2.69. Invocation command line was 385 386 CONFIG_FILES = $CONFIG_FILES 387 CONFIG_HEADERS = $CONFIG_HEADERS 388 CONFIG_LINKS = $CONFIG_LINKS 389 CONFIG_COMMANDS = $CONFIG_COMMANDS 390 $ $0 $@ 391 392on `(hostname || uname -n) 2>/dev/null | sed 1q` 393" 394 395# Files that config.status was made for. 396config_files=" po/Makefile.in Makefile compat/Makefile geometry/Makefile geometry/digital_vndr/Makefile geometry/sgi_vndr/Makefile keycodes/Makefile keycodes/digital_vndr/Makefile keycodes/sgi_vndr/Makefile rules/Makefile rules/compat/Makefile symbols/Makefile symbols/digital_vndr/Makefile symbols/fujitsu_vndr/Makefile symbols/hp_vndr/Makefile symbols/jolla_vndr/Makefile symbols/macintosh_vndr/Makefile symbols/nec_vndr/Makefile symbols/nokia_vndr/Makefile symbols/sgi_vndr/Makefile symbols/sharp_vndr/Makefile symbols/sony_vndr/Makefile symbols/sun_vndr/Makefile symbols/xfree68_vndr/Makefile types/Makefile xkeyboard-config.pc docs/Makefile man/Makefile" 397config_commands=" po-directories depfiles" 398 399ac_cs_usage="\ 400\`$as_me' instantiates files and other configuration actions 401from templates according to the current configuration. Unless the files 402and actions are specified as TAGs, all are instantiated by default. 403 404Usage: $0 [OPTION]... [TAG]... 405 406 -h, --help print this help, then exit 407 -V, --version print version number and configuration settings, then exit 408 --config print configuration, then exit 409 -q, --quiet, --silent 410 do not print progress messages 411 -d, --debug don't remove temporary files 412 --recheck update $as_me by reconfiguring in the same conditions 413 --file=FILE[:TEMPLATE] 414 instantiate the configuration file FILE 415 416Configuration files: 417$config_files 418 419Configuration commands: 420$config_commands 421 422Report bugs to the package provider." 423 424ac_cs_config="'--with-xkb-rules-symlink=xorg'" 425ac_cs_version="\ 426xkeyboard-config config.status 2.30 427configured by ./configure, generated by GNU Autoconf 2.69, 428 with options \"$ac_cs_config\" 429 430Copyright (C) 2012 Free Software Foundation, Inc. 431This config.status script is free software; the Free Software Foundation 432gives unlimited permission to copy, distribute and modify it." 433 434ac_pwd='/home/d00426933/code/xkb/xkeyboard-config-2.30' 435srcdir='.' 436INSTALL='/usr/bin/install -c' 437MKDIR_P='/bin/mkdir -p' 438AWK='gawk' 439test -n "$AWK" || AWK=awk 440# The default lists apply if the user does not specify any file. 441ac_need_defaults=: 442while test $# != 0 443do 444 case $1 in 445 --*=?*) 446 ac_option=`expr "X$1" : 'X\([^=]*\)='` 447 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 448 ac_shift=: 449 ;; 450 --*=) 451 ac_option=`expr "X$1" : 'X\([^=]*\)='` 452 ac_optarg= 453 ac_shift=: 454 ;; 455 *) 456 ac_option=$1 457 ac_optarg=$2 458 ac_shift=shift 459 ;; 460 esac 461 462 case $ac_option in 463 # Handling of the options. 464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 465 ac_cs_recheck=: ;; 466 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 467 $as_echo "$ac_cs_version"; exit ;; 468 --config | --confi | --conf | --con | --co | --c ) 469 $as_echo "$ac_cs_config"; exit ;; 470 --debug | --debu | --deb | --de | --d | -d ) 471 debug=: ;; 472 --file | --fil | --fi | --f ) 473 $ac_shift 474 case $ac_optarg in 475 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 476 '') as_fn_error $? "missing file argument" ;; 477 esac 478 as_fn_append CONFIG_FILES " '$ac_optarg'" 479 ac_need_defaults=false;; 480 --he | --h | --help | --hel | -h ) 481 $as_echo "$ac_cs_usage"; exit ;; 482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 483 | -silent | --silent | --silen | --sile | --sil | --si | --s) 484 ac_cs_silent=: ;; 485 486 # This is an error. 487 -*) as_fn_error $? "unrecognized option: \`$1' 488Try \`$0 --help' for more information." ;; 489 490 *) as_fn_append ac_config_targets " $1" 491 ac_need_defaults=false ;; 492 493 esac 494 shift 495done 496 497ac_configure_extra_args= 498 499if $ac_cs_silent; then 500 exec 6>/dev/null 501 ac_configure_extra_args="$ac_configure_extra_args --silent" 502fi 503 504if $ac_cs_recheck; then 505 set X /bin/sh './configure' '--with-xkb-rules-symlink=xorg' $ac_configure_extra_args --no-create --no-recursion 506 shift 507 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 508 CONFIG_SHELL='/bin/sh' 509 export CONFIG_SHELL 510 exec "$@" 511fi 512 513exec 5>>config.log 514{ 515 echo 516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 517## Running $as_me. ## 518_ASBOX 519 $as_echo "$ac_log" 520} >&5 521 522# 523# INIT-COMMANDS 524# 525# Capture the value of obsolete ALL_LINGUAS because we need it to compute 526 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 527 # from automake < 1.5. 528 eval 'OBSOLETE_ALL_LINGUAS''=""' 529 # Capture the value of LINGUAS because we need it to compute CATALOGS. 530 LINGUAS="%UNSET%" 531 532AMDEP_TRUE="" MAKE="make" 533 534 535# Handling of arguments. 536for ac_config_target in $ac_config_targets 537do 538 case $ac_config_target in 539 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 540 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 541 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 542 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 543 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;; 544 "geometry/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/Makefile" ;; 545 "geometry/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/digital_vndr/Makefile" ;; 546 "geometry/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/sgi_vndr/Makefile" ;; 547 "keycodes/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/Makefile" ;; 548 "keycodes/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/digital_vndr/Makefile" ;; 549 "keycodes/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/sgi_vndr/Makefile" ;; 550 "rules/Makefile") CONFIG_FILES="$CONFIG_FILES rules/Makefile" ;; 551 "rules/compat/Makefile") CONFIG_FILES="$CONFIG_FILES rules/compat/Makefile" ;; 552 "symbols/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/Makefile" ;; 553 "symbols/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/digital_vndr/Makefile" ;; 554 "symbols/fujitsu_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/fujitsu_vndr/Makefile" ;; 555 "symbols/hp_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/hp_vndr/Makefile" ;; 556 "symbols/jolla_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/jolla_vndr/Makefile" ;; 557 "symbols/macintosh_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/macintosh_vndr/Makefile" ;; 558 "symbols/nec_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nec_vndr/Makefile" ;; 559 "symbols/nokia_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nokia_vndr/Makefile" ;; 560 "symbols/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sgi_vndr/Makefile" ;; 561 "symbols/sharp_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sharp_vndr/Makefile" ;; 562 "symbols/sony_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sony_vndr/Makefile" ;; 563 "symbols/sun_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sun_vndr/Makefile" ;; 564 "symbols/xfree68_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/xfree68_vndr/Makefile" ;; 565 "types/Makefile") CONFIG_FILES="$CONFIG_FILES types/Makefile" ;; 566 "xkeyboard-config.pc") CONFIG_FILES="$CONFIG_FILES xkeyboard-config.pc" ;; 567 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 568 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 569 570 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 571 esac 572done 573 574 575# If the user did not use the arguments to specify the items to instantiate, 576# then the envvar interface is used. Set only those that are not. 577# We use the long form for the default assignment because of an extremely 578# bizarre bug on SunOS 4.1.3. 579if $ac_need_defaults; then 580 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 581 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 582fi 583 584# Have a temporary directory for convenience. Make it in the build tree 585# simply because there is no reason against having it here, and in addition, 586# creating and moving files from /tmp can sometimes cause problems. 587# Hook for its removal unless debugging. 588# Note that there is a small window in which the directory will not be cleaned: 589# after its creation but before its name has been assigned to `$tmp'. 590$debug || 591{ 592 tmp= ac_tmp= 593 trap 'exit_status=$? 594 : "${ac_tmp:=$tmp}" 595 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 596' 0 597 trap 'as_fn_exit 1' 1 2 13 15 598} 599# Create a (secure) tmp directory for tmp files. 600 601{ 602 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 603 test -d "$tmp" 604} || 605{ 606 tmp=./conf$$-$RANDOM 607 (umask 077 && mkdir "$tmp") 608} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 609ac_tmp=$tmp 610 611# Set up the scripts for CONFIG_FILES section. 612# No need to generate them if there are no CONFIG_FILES. 613# This happens for instance with `./config.status config.h'. 614if test -n "$CONFIG_FILES"; then 615 616 617ac_cr=`echo X | tr X '\015'` 618# On cygwin, bash can eat \r inside `` if the user requested igncr. 619# But we know of no other shell where ac_cr would be empty at this 620# point, so we can use a bashism as a fallback. 621if test "x$ac_cr" = x; then 622 eval ac_cr=\$\'\\r\' 623fi 624ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 625if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 626 ac_cs_awk_cr='\\r' 627else 628 ac_cs_awk_cr=$ac_cr 629fi 630 631echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 632cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && 633S["am__EXEEXT_FALSE"]="" 634S["am__EXEEXT_TRUE"]="#" 635S["LTLIBOBJS"]="" 636S["LIBOBJS"]="" 637S["xkb_rules_symlink"]="xorg" 638S["xkb_base"]="${datarootdir}/X11/xkb" 639S["GETTEXT_PACKAGE"]="xkeyboard-config" 640S["POSUB"]="po" 641S["LTLIBINTL"]="" 642S["LIBINTL"]="" 643S["INTLLIBS"]="" 644S["LTLIBICONV"]="-liconv" 645S["LIBICONV"]="-liconv" 646S["INTL_MACOSX_LIBS"]="" 647S["EGREP"]="/bin/grep -E" 648S["GREP"]="/bin/grep" 649S["CPP"]="gcc -E" 650S["am__fastdepCC_FALSE"]="" 651S["am__fastdepCC_TRUE"]="#" 652S["CCDEPMODE"]="depmode=none" 653S["am__nodep"]="_no" 654S["AMDEPBACKSLASH"]="\\" 655S["AMDEP_FALSE"]="#" 656S["AMDEP_TRUE"]="" 657S["am__include"]="include" 658S["DEPDIR"]=".deps" 659S["OBJEXT"]="o" 660S["EXEEXT"]="" 661S["ac_ct_CC"]="gcc" 662S["CPPFLAGS"]="" 663S["LDFLAGS"]="" 664S["CFLAGS"]="-g -O2" 665S["CC"]="gcc" 666S["XGETTEXT_EXTRA_OPTIONS"]="" 667S["MSGMERGE"]="/usr/bin/msgmerge" 668S["XGETTEXT_015"]="/usr/bin/xgettext" 669S["XGETTEXT"]="/usr/bin/xgettext" 670S["GMSGFMT_015"]="/usr/bin/msgfmt" 671S["MSGFMT_015"]="/usr/bin/msgfmt" 672S["GMSGFMT"]="/usr/bin/msgfmt" 673S["MSGFMT"]="/usr/bin/msgfmt" 674S["GETTEXT_MACRO_VERSION"]="0.19" 675S["USE_NLS"]="yes" 676S["USE_COMPAT_RULES_FALSE"]="#" 677S["USE_COMPAT_RULES_TRUE"]="" 678S["CREATE_RULES_SYMLINK_FALSE"]="#" 679S["CREATE_RULES_SYMLINK_TRUE"]="" 680S["DEPS_LIBS"]="-lX11" 681S["DEPS_CFLAGS"]="" 682S["PKG_CONFIG_LIBDIR"]="" 683S["PKG_CONFIG_PATH"]="" 684S["PKG_CONFIG"]="/usr/bin/pkg-config" 685S["pkgpyexecdir"]="${pyexecdir}/xkeyboard-config" 686S["pyexecdir"]="${exec_prefix}/lib/python3.5/site-packages" 687S["pkgpythondir"]="${pythondir}/xkeyboard-config" 688S["pythondir"]="${prefix}/lib/python3.5/site-packages" 689S["PYTHON_PLATFORM"]="linux" 690S["PYTHON_EXEC_PREFIX"]="${exec_prefix}" 691S["PYTHON_PREFIX"]="${prefix}" 692S["PYTHON_VERSION"]="3.5" 693S["PYTHON"]="/usr/bin/python3" 694S["HAVE_XSLTPROC_FALSE"]="#" 695S["HAVE_XSLTPROC_TRUE"]="" 696S["XSLTPROC"]="/usr/bin/xsltproc" 697S["MAN_SUBSTS"]=" -e 's|__vendorversion__|\"$(PACKAGE_STRING)\" \"$(XORG_MAN_PAGE)\"|' -e 's|__xorgversion__|\"$(PACKAGE_STRING)\" \"$(XORG_MAN_PAGE)\"|' -e 's|__xserverna"\ 698"me__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|$(prefix)|g' -e 's|__apploaddir__|$(appdefaultdir)|g' -e 's|__appmansuffix"\ 699"__|$(APP_MAN_SUFFIX)|g' -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' -e 's|__libmansuffix__|"\ 700"$(LIB_MAN_SUFFIX)|g' -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'" 701S["XORG_MAN_PAGE"]="X Version 11" 702S["ADMIN_MAN_DIR"]="$(mandir)/man$(ADMIN_MAN_SUFFIX)" 703S["DRIVER_MAN_DIR"]="$(mandir)/man$(DRIVER_MAN_SUFFIX)" 704S["MISC_MAN_DIR"]="$(mandir)/man$(MISC_MAN_SUFFIX)" 705S["FILE_MAN_DIR"]="$(mandir)/man$(FILE_MAN_SUFFIX)" 706S["LIB_MAN_DIR"]="$(mandir)/man$(LIB_MAN_SUFFIX)" 707S["APP_MAN_DIR"]="$(mandir)/man$(APP_MAN_SUFFIX)" 708S["ADMIN_MAN_SUFFIX"]="8" 709S["DRIVER_MAN_SUFFIX"]="4" 710S["MISC_MAN_SUFFIX"]="7" 711S["FILE_MAN_SUFFIX"]="5" 712S["LIB_MAN_SUFFIX"]="3" 713S["APP_MAN_SUFFIX"]="1" 714S["SED"]="/bin/sed" 715S["host_os"]="linux-gnu" 716S["host_vendor"]="pc" 717S["host_cpu"]="x86_64" 718S["host"]="x86_64-pc-linux-gnu" 719S["build_os"]="linux-gnu" 720S["build_vendor"]="pc" 721S["build_cpu"]="x86_64" 722S["build"]="x86_64-pc-linux-gnu" 723S["AM_BACKSLASH"]="\\" 724S["AM_DEFAULT_VERBOSITY"]="1" 725S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" 726S["AM_V"]="$(V)" 727S["am__untar"]="$${TAR-tar} xf -" 728S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" 729S["AMTAR"]="$${TAR-tar}" 730S["am__leading_dot"]="." 731S["SET_MAKE"]="" 732S["AWK"]="gawk" 733S["mkdir_p"]="$(MKDIR_P)" 734S["MKDIR_P"]="/bin/mkdir -p" 735S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" 736S["STRIP"]="" 737S["install_sh"]="${SHELL} /home/d00426933/code/xkb/xkeyboard-config-2.30/install-sh" 738S["MAKEINFO"]="${SHELL} /home/d00426933/code/xkb/xkeyboard-config-2.30/missing makeinfo" 739S["AUTOHEADER"]="${SHELL} /home/d00426933/code/xkb/xkeyboard-config-2.30/missing autoheader" 740S["AUTOMAKE"]="${SHELL} /home/d00426933/code/xkb/xkeyboard-config-2.30/missing automake-1.16" 741S["AUTOCONF"]="${SHELL} /home/d00426933/code/xkb/xkeyboard-config-2.30/missing autoconf" 742S["ACLOCAL"]="${SHELL} /home/d00426933/code/xkb/xkeyboard-config-2.30/missing aclocal-1.16" 743S["VERSION"]="2.30" 744S["PACKAGE"]="xkeyboard-config" 745S["CYGPATH_W"]="echo" 746S["am__isrc"]="" 747S["INSTALL_DATA"]="${INSTALL} -m 644" 748S["INSTALL_SCRIPT"]="${INSTALL}" 749S["INSTALL_PROGRAM"]="${INSTALL}" 750S["target_alias"]="" 751S["host_alias"]="" 752S["build_alias"]="" 753S["LIBS"]="" 754S["ECHO_T"]="" 755S["ECHO_N"]="-n" 756S["ECHO_C"]="" 757S["DEFS"]="-DPACKAGE_NAME=\\\"xkeyboard-config\\\" -DPACKAGE_TARNAME=\\\"xkeyboard-config\\\" -DPACKAGE_VERSION=\\\"2.30\\\" -DPACKAGE_STRING=\\\"xkeyboard-config\\ 2.30\\\" -D"\ 758"PACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"xkeyboard-config\\\" -DVERSION=\\\"2.30\\\" -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DGET"\ 759"TEXT_PACKAGE=\\\"xkeyboard-config\\\"" 760S["mandir"]="${datarootdir}/man" 761S["localedir"]="${datarootdir}/locale" 762S["libdir"]="${exec_prefix}/lib" 763S["psdir"]="${docdir}" 764S["pdfdir"]="${docdir}" 765S["dvidir"]="${docdir}" 766S["htmldir"]="${docdir}" 767S["infodir"]="${datarootdir}/info" 768S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 769S["oldincludedir"]="/usr/include" 770S["includedir"]="${prefix}/include" 771S["localstatedir"]="${prefix}/var" 772S["sharedstatedir"]="${prefix}/com" 773S["sysconfdir"]="${prefix}/etc" 774S["datadir"]="${datarootdir}" 775S["datarootdir"]="${prefix}/share" 776S["libexecdir"]="${exec_prefix}/libexec" 777S["sbindir"]="${exec_prefix}/sbin" 778S["bindir"]="${exec_prefix}/bin" 779S["program_transform_name"]="s,x,x," 780S["prefix"]="/usr/local" 781S["exec_prefix"]="${prefix}" 782S["PACKAGE_URL"]="" 783S["PACKAGE_BUGREPORT"]="" 784S["PACKAGE_STRING"]="xkeyboard-config 2.30" 785S["PACKAGE_VERSION"]="2.30" 786S["PACKAGE_TARNAME"]="xkeyboard-config" 787S["PACKAGE_NAME"]="xkeyboard-config" 788S["PATH_SEPARATOR"]=":" 789S["SHELL"]="/bin/sh" 790S["am__quote"]="" 791_ACAWK 792cat >>"$ac_tmp/subs1.awk" <<_ACAWK && 793 for (key in S) S_is_set[key] = 1 794 FS = "" 795 796} 797{ 798 line = $ 0 799 nfields = split(line, field, "@") 800 substed = 0 801 len = length(field[1]) 802 for (i = 2; i < nfields; i++) { 803 key = field[i] 804 keylen = length(key) 805 if (S_is_set[key]) { 806 value = S[key] 807 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 808 len += length(value) + length(field[++i]) 809 substed = 1 810 } else 811 len += 1 + keylen 812 } 813 814 print line 815} 816 817_ACAWK 818if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 819 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 820else 821 cat 822fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 823 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 824fi # test -n "$CONFIG_FILES" 825 826 827eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 828shift 829for ac_tag 830do 831 case $ac_tag in 832 :[FHLC]) ac_mode=$ac_tag; continue;; 833 esac 834 case $ac_mode$ac_tag in 835 :[FHL]*:*);; 836 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 837 :[FH]-) ac_tag=-:-;; 838 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 839 esac 840 ac_save_IFS=$IFS 841 IFS=: 842 set x $ac_tag 843 IFS=$ac_save_IFS 844 shift 845 ac_file=$1 846 shift 847 848 case $ac_mode in 849 :L) ac_source=$1;; 850 :[FH]) 851 ac_file_inputs= 852 for ac_f 853 do 854 case $ac_f in 855 -) ac_f="$ac_tmp/stdin";; 856 *) # Look for the file first in the build tree, then in the source tree 857 # (if the path is not absolute). The absolute path cannot be DOS-style, 858 # because $ac_f cannot contain `:'. 859 test -f "$ac_f" || 860 case $ac_f in 861 [\\/$]*) false;; 862 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 863 esac || 864 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 865 esac 866 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 867 as_fn_append ac_file_inputs " '$ac_f'" 868 done 869 870 # Let's still pretend it is `configure' which instantiates (i.e., don't 871 # use $as_me), people would be surprised to read: 872 # /* config.h. Generated by config.status. */ 873 configure_input='Generated from '` 874 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 875 `' by configure.' 876 if test x"$ac_file" != x-; then 877 configure_input="$ac_file. $configure_input" 878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 879$as_echo "$as_me: creating $ac_file" >&6;} 880 fi 881 # Neutralize special characters interpreted by sed in replacement strings. 882 case $configure_input in #( 883 *\&* | *\|* | *\\* ) 884 ac_sed_conf_input=`$as_echo "$configure_input" | 885 sed 's/[\\\\&|]/\\\\&/g'`;; #( 886 *) ac_sed_conf_input=$configure_input;; 887 esac 888 889 case $ac_tag in 890 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 892 esac 893 ;; 894 esac 895 896 ac_dir=`$as_dirname -- "$ac_file" || 897$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 898 X"$ac_file" : 'X\(//\)[^/]' \| \ 899 X"$ac_file" : 'X\(//\)$' \| \ 900 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 901$as_echo X"$ac_file" | 902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 903 s//\1/ 904 q 905 } 906 /^X\(\/\/\)[^/].*/{ 907 s//\1/ 908 q 909 } 910 /^X\(\/\/\)$/{ 911 s//\1/ 912 q 913 } 914 /^X\(\/\).*/{ 915 s//\1/ 916 q 917 } 918 s/.*/./; q'` 919 as_dir="$ac_dir"; as_fn_mkdir_p 920 ac_builddir=. 921 922case "$ac_dir" in 923.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 924*) 925 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 926 # A ".." for each directory in $ac_dir_suffix. 927 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 928 case $ac_top_builddir_sub in 929 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 930 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 931 esac ;; 932esac 933ac_abs_top_builddir=$ac_pwd 934ac_abs_builddir=$ac_pwd$ac_dir_suffix 935# for backward compatibility: 936ac_top_builddir=$ac_top_build_prefix 937 938case $srcdir in 939 .) # We are building in place. 940 ac_srcdir=. 941 ac_top_srcdir=$ac_top_builddir_sub 942 ac_abs_top_srcdir=$ac_pwd ;; 943 [\\/]* | ?:[\\/]* ) # Absolute name. 944 ac_srcdir=$srcdir$ac_dir_suffix; 945 ac_top_srcdir=$srcdir 946 ac_abs_top_srcdir=$srcdir ;; 947 *) # Relative name. 948 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 949 ac_top_srcdir=$ac_top_build_prefix$srcdir 950 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 951esac 952ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 953 954 955 case $ac_mode in 956 :F) 957 # 958 # CONFIG_FILE 959 # 960 961 case $INSTALL in 962 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 963 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 964 esac 965 ac_MKDIR_P=$MKDIR_P 966 case $MKDIR_P in 967 [\\/$]* | ?:[\\/]* ) ;; 968 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 969 esac 970# If the template does not know about datarootdir, expand it. 971# FIXME: This hack should be removed a few years after 2.60. 972ac_datarootdir_hack=; ac_datarootdir_seen= 973ac_sed_dataroot=' 974/datarootdir/ { 975 p 976 q 977} 978/@datadir@/p 979/@docdir@/p 980/@infodir@/p 981/@localedir@/p 982/@mandir@/p' 983case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 984*datarootdir*) ac_datarootdir_seen=yes;; 985*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 987$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 988 ac_datarootdir_hack=' 989 s&@datadir@&${datarootdir}&g 990 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 991 s&@infodir@&${datarootdir}/info&g 992 s&@localedir@&${datarootdir}/locale&g 993 s&@mandir@&${datarootdir}/man&g 994 s&\${datarootdir}&${prefix}/share&g' ;; 995esac 996ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ 997h 998s/// 999s/^/:/ 1000s/[ ]*$/:/ 1001s/:\$(srcdir):/:/g 1002s/:\${srcdir}:/:/g 1003s/:@srcdir@:/:/g 1004s/^:*// 1005s/:*$// 1006x 1007s/\(=[ ]*\).*/\1/ 1008G 1009s/\n// 1010s/^[^=]*=[ ]*$// 1011} 1012 1013:t 1014/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 1015s|@configure_input@|$ac_sed_conf_input|;t t 1016s&@top_builddir@&$ac_top_builddir_sub&;t t 1017s&@top_build_prefix@&$ac_top_build_prefix&;t t 1018s&@srcdir@&$ac_srcdir&;t t 1019s&@abs_srcdir@&$ac_abs_srcdir&;t t 1020s&@top_srcdir@&$ac_top_srcdir&;t t 1021s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1022s&@builddir@&$ac_builddir&;t t 1023s&@abs_builddir@&$ac_abs_builddir&;t t 1024s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1025s&@INSTALL@&$ac_INSTALL&;t t 1026s&@MKDIR_P@&$ac_MKDIR_P&;t t 1027$ac_datarootdir_hack 1028" 1029eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 1030 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1031 1032test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1033 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 1034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 1035 "$ac_tmp/out"`; test -z "$ac_out"; } && 1036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1037which seems to be undefined. Please make sure it is defined" >&5 1038$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1039which seems to be undefined. Please make sure it is defined" >&2;} 1040 1041 rm -f "$ac_tmp/stdin" 1042 case $ac_file in 1043 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 1044 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 1045 esac \ 1046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1047 ;; 1048 1049 1050 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1051$as_echo "$as_me: executing $ac_file commands" >&6;} 1052 ;; 1053 esac 1054 1055 1056 case $ac_file$ac_mode in 1057 "po-directories":C) 1058 for ac_file in $CONFIG_FILES; do 1059 # Support "outfile[:infile[:infile...]]" 1060 case "$ac_file" in 1061 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1062 esac 1063 # PO directories have a Makefile.in generated from Makefile.in.in. 1064 case "$ac_file" in */Makefile.in) 1065 # Adjust a relative srcdir. 1066 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 1067 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 1068 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 1069 # In autoconf-2.13 it is called $ac_given_srcdir. 1070 # In autoconf-2.50 it is called $srcdir. 1071 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 1072 case "$ac_given_srcdir" in 1073 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 1074 /*) top_srcdir="$ac_given_srcdir" ;; 1075 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 1076 esac 1077 # Treat a directory as a PO directory if and only if it has a 1078 # POTFILES.in file. This allows packages to have multiple PO 1079 # directories under different names or in different locations. 1080 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 1081 rm -f "$ac_dir/POTFILES" 1082 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 1083 gt_tab=`printf '\t'` 1084 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" 1085 POMAKEFILEDEPS="POTFILES.in" 1086 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 1087 # on $ac_dir but don't depend on user-specified configuration 1088 # parameters. 1089 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 1090 # The LINGUAS file contains the set of available languages. 1091 if test -n "$OBSOLETE_ALL_LINGUAS"; then 1092 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 1093 fi 1094 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 1095 # Hide the ALL_LINGUAS assignment from automake < 1.5. 1096 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 1097 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 1098 else 1099 # The set of available languages was given in configure.in. 1100 # Hide the ALL_LINGUAS assignment from automake < 1.5. 1101 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 1102 fi 1103 # Compute POFILES 1104 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 1105 # Compute UPDATEPOFILES 1106 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 1107 # Compute DUMMYPOFILES 1108 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 1109 # Compute GMOFILES 1110 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 1111 case "$ac_given_srcdir" in 1112 .) srcdirpre= ;; 1113 *) srcdirpre='$(srcdir)/' ;; 1114 esac 1115 POFILES= 1116 UPDATEPOFILES= 1117 DUMMYPOFILES= 1118 GMOFILES= 1119 for lang in $ALL_LINGUAS; do 1120 POFILES="$POFILES $srcdirpre$lang.po" 1121 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 1122 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 1123 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 1124 done 1125 # CATALOGS depends on both $ac_dir and the user's LINGUAS 1126 # environment variable. 1127 INST_LINGUAS= 1128 if test -n "$ALL_LINGUAS"; then 1129 for presentlang in $ALL_LINGUAS; do 1130 useit=no 1131 if test "%UNSET%" != "$LINGUAS"; then 1132 desiredlanguages="$LINGUAS" 1133 else 1134 desiredlanguages="$ALL_LINGUAS" 1135 fi 1136 for desiredlang in $desiredlanguages; do 1137 # Use the presentlang catalog if desiredlang is 1138 # a. equal to presentlang, or 1139 # b. a variant of presentlang (because in this case, 1140 # presentlang can be used as a fallback for messages 1141 # which are not translated in the desiredlang catalog). 1142 case "$desiredlang" in 1143 "$presentlang"*) useit=yes;; 1144 esac 1145 done 1146 if test $useit = yes; then 1147 INST_LINGUAS="$INST_LINGUAS $presentlang" 1148 fi 1149 done 1150 fi 1151 CATALOGS= 1152 if test -n "$INST_LINGUAS"; then 1153 for lang in $INST_LINGUAS; do 1154 CATALOGS="$CATALOGS $lang.gmo" 1155 done 1156 fi 1157 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 1158 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" 1159 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 1160 if test -f "$f"; then 1161 case "$f" in 1162 *.orig | *.bak | *~) ;; 1163 *) cat "$f" >> "$ac_dir/Makefile" ;; 1164 esac 1165 fi 1166 done 1167 fi 1168 ;; 1169 esac 1170 done ;; 1171 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 1172 # Older Autoconf quotes --file arguments for eval, but not when files 1173 # are listed without --file. Let's play safe and only enable the eval 1174 # if we detect the quoting. 1175 # TODO: see whether this extra hack can be removed once we start 1176 # requiring Autoconf 2.70 or later. 1177 case $CONFIG_FILES in #( 1178 *\'*) : 1179 eval set x "$CONFIG_FILES" ;; #( 1180 *) : 1181 set x $CONFIG_FILES ;; #( 1182 *) : 1183 ;; 1184esac 1185 shift 1186 # Used to flag and report bootstrapping failures. 1187 am_rc=0 1188 for am_mf 1189 do 1190 # Strip MF so we end up with the name of the file. 1191 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 1192 # Check whether this is an Automake generated Makefile which includes 1193 # dependency-tracking related rules and includes. 1194 # Grep'ing the whole file directly is not great: AIX grep has a line 1195 # limit of 2048, but all sed's we know have understand at least 4000. 1196 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 1197 || continue 1198 am_dirpart=`$as_dirname -- "$am_mf" || 1199$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1200 X"$am_mf" : 'X\(//\)[^/]' \| \ 1201 X"$am_mf" : 'X\(//\)$' \| \ 1202 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 1203$as_echo X"$am_mf" | 1204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1205 s//\1/ 1206 q 1207 } 1208 /^X\(\/\/\)[^/].*/{ 1209 s//\1/ 1210 q 1211 } 1212 /^X\(\/\/\)$/{ 1213 s//\1/ 1214 q 1215 } 1216 /^X\(\/\).*/{ 1217 s//\1/ 1218 q 1219 } 1220 s/.*/./; q'` 1221 am_filepart=`$as_basename -- "$am_mf" || 1222$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 1223 X"$am_mf" : 'X\(//\)$' \| \ 1224 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 1225$as_echo X/"$am_mf" | 1226 sed '/^.*\/\([^/][^/]*\)\/*$/{ 1227 s//\1/ 1228 q 1229 } 1230 /^X\/\(\/\/\)$/{ 1231 s//\1/ 1232 q 1233 } 1234 /^X\/\(\/\).*/{ 1235 s//\1/ 1236 q 1237 } 1238 s/.*/./; q'` 1239 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 1240 && sed -e '/# am--include-marker/d' "$am_filepart" \ 1241 | $MAKE -f - am--depfiles" >&5 1242 (cd "$am_dirpart" \ 1243 && sed -e '/# am--include-marker/d' "$am_filepart" \ 1244 | $MAKE -f - am--depfiles) >&5 2>&5 1245 ac_status=$? 1246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1247 (exit $ac_status); } || am_rc=$? 1248 done 1249 if test $am_rc -ne 0; then 1250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1252as_fn_error $? "Something went wrong bootstrapping makefile fragments 1253 for automatic dependency tracking. Try re-running configure with the 1254 '--disable-dependency-tracking' option to at least be able to build 1255 the package (albeit without support for automatic dependency tracking). 1256See \`config.log' for more details" "$LINENO" 5; } 1257 fi 1258 { am_dirpart=; unset am_dirpart;} 1259 { am_filepart=; unset am_filepart;} 1260 { am_mf=; unset am_mf;} 1261 { am_rc=; unset am_rc;} 1262 rm -f conftest-deps.mk 1263} 1264 ;; 1265 1266 esac 1267done # for ac_tag 1268 1269 1270as_fn_exit 0 1271