configure revision 765486e8
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for setxkbmap 1.2.0. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153esac 154fi 155" 156 as_required="as_fn_return () { (exit \$1); } 157as_fn_success () { as_fn_return 0; } 158as_fn_failure () { as_fn_return 1; } 159as_fn_ret_success () { return 0; } 160as_fn_ret_failure () { return 1; } 161 162exitcode=0 163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169else 170 exitcode=1; echo positional parameters were not saved. 171fi 172test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180else 181 as_have_required=no 182fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187as_found=false 188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203fi 204fi 205 done;; 206 esac 207 as_found=false 208done 209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212fi; } 213IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243$0: about your system, including any error possibly output 244$0: before this message. Then install a modern shell, or 245$0: manually run the script under such a shell if you do 246$0: have one." 247 fi 248 exit 1 249fi 250fi 251fi 252SHELL=${CONFIG_SHELL-/bin/sh} 253export SHELL 254# Unset more variables known to interfere with behavior of common tools. 255CLICOLOR_FORCE= GREP_OPTIONS= 256unset CLICOLOR_FORCE GREP_OPTIONS 257 258## --------------------- ## 259## M4sh Shell Functions. ## 260## --------------------- ## 261# as_fn_unset VAR 262# --------------- 263# Portably unset VAR. 264as_fn_unset () 265{ 266 { eval $1=; unset $1;} 267} 268as_unset=as_fn_unset 269 270# as_fn_set_status STATUS 271# ----------------------- 272# Set $? to STATUS, without forking. 273as_fn_set_status () 274{ 275 return $1 276} # as_fn_set_status 277 278# as_fn_exit STATUS 279# ----------------- 280# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281as_fn_exit () 282{ 283 set +e 284 as_fn_set_status $1 285 exit $1 286} # as_fn_exit 287 288# as_fn_mkdir_p 289# ------------- 290# Create "$as_dir" as a directory, including parents if necessary. 291as_fn_mkdir_p () 292{ 293 294 case $as_dir in #( 295 -*) as_dir=./$as_dir;; 296 esac 297 test -d "$as_dir" || eval $as_mkdir_p || { 298 as_dirs= 299 while :; do 300 case $as_dir in #( 301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302 *) as_qdir=$as_dir;; 303 esac 304 as_dirs="'$as_qdir' $as_dirs" 305 as_dir=`$as_dirname -- "$as_dir" || 306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307 X"$as_dir" : 'X\(//\)[^/]' \| \ 308 X"$as_dir" : 'X\(//\)$' \| \ 309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310$as_echo X"$as_dir" | 311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)[^/].*/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\/\)$/{ 320 s//\1/ 321 q 322 } 323 /^X\(\/\).*/{ 324 s//\1/ 325 q 326 } 327 s/.*/./; q'` 328 test -d "$as_dir" && break 329 done 330 test -z "$as_dirs" || eval "mkdir $as_dirs" 331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332 333 334} # as_fn_mkdir_p 335# as_fn_append VAR VALUE 336# ---------------------- 337# Append the text in VALUE to the end of the definition contained in VAR. Take 338# advantage of any shell optimizations that allow amortized linear growth over 339# repeated appends, instead of the typical quadratic growth present in naive 340# implementations. 341if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342 eval 'as_fn_append () 343 { 344 eval $1+=\$2 345 }' 346else 347 as_fn_append () 348 { 349 eval $1=\$$1\$2 350 } 351fi # as_fn_append 352 353# as_fn_arith ARG... 354# ------------------ 355# Perform arithmetic evaluation on the ARGs, and store the result in the 356# global $as_val. Take advantage of shells that can avoid forks. The arguments 357# must be portable across $(()) and expr. 358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359 eval 'as_fn_arith () 360 { 361 as_val=$(( $* )) 362 }' 363else 364 as_fn_arith () 365 { 366 as_val=`expr "$@" || test $? -eq 1` 367 } 368fi # as_fn_arith 369 370 371# as_fn_error STATUS ERROR [LINENO LOG_FD] 372# ---------------------------------------- 373# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375# script with STATUS, using 1 if that was 0. 376as_fn_error () 377{ 378 as_status=$1; test $as_status -eq 0 && as_status=1 379 if test "$4"; then 380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382 fi 383 $as_echo "$as_me: error: $2" >&2 384 as_fn_exit $as_status 385} # as_fn_error 386 387if expr a : '\(a\)' >/dev/null 2>&1 && 388 test "X`expr 00001 : '.*\(...\)'`" = X001; then 389 as_expr=expr 390else 391 as_expr=false 392fi 393 394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395 as_basename=basename 396else 397 as_basename=false 398fi 399 400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401 as_dirname=dirname 402else 403 as_dirname=false 404fi 405 406as_me=`$as_basename -- "$0" || 407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408 X"$0" : 'X\(//\)$' \| \ 409 X"$0" : 'X\(/\)' \| . 2>/dev/null || 410$as_echo X/"$0" | 411 sed '/^.*\/\([^/][^/]*\)\/*$/{ 412 s//\1/ 413 q 414 } 415 /^X\/\(\/\/\)$/{ 416 s//\1/ 417 q 418 } 419 /^X\/\(\/\).*/{ 420 s//\1/ 421 q 422 } 423 s/.*/./; q'` 424 425# Avoid depending upon Character Ranges. 426as_cr_letters='abcdefghijklmnopqrstuvwxyz' 427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428as_cr_Letters=$as_cr_letters$as_cr_LETTERS 429as_cr_digits='0123456789' 430as_cr_alnum=$as_cr_Letters$as_cr_digits 431 432 433 as_lineno_1=$LINENO as_lineno_1a=$LINENO 434 as_lineno_2=$LINENO as_lineno_2a=$LINENO 435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455 456 # Don't try to exec as it changes $[0], causing all sort of problems 457 # (the dirname of $[0] is not the place where we might find the 458 # original and so on. Autoconf is especially sensitive to this). 459 . "./$as_me.lineno" 460 # Exit status is that of the last command. 461 exit 462} 463 464ECHO_C= ECHO_N= ECHO_T= 465case `echo -n x` in #((((( 466-n*) 467 case `echo 'xy\c'` in 468 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469 xy) ECHO_C='\c';; 470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471 ECHO_T=' ';; 472 esac;; 473*) 474 ECHO_N='-n';; 475esac 476 477rm -f conf$$ conf$$.exe conf$$.file 478if test -d conf$$.dir; then 479 rm -f conf$$.dir/conf$$.file 480else 481 rm -f conf$$.dir 482 mkdir conf$$.dir 2>/dev/null 483fi 484if (echo >conf$$.file) 2>/dev/null; then 485 if ln -s conf$$.file conf$$ 2>/dev/null; then 486 as_ln_s='ln -s' 487 # ... but there are two gotchas: 488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490 # In both cases, we have to default to `cp -p'. 491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492 as_ln_s='cp -p' 493 elif ln conf$$.file conf$$ 2>/dev/null; then 494 as_ln_s=ln 495 else 496 as_ln_s='cp -p' 497 fi 498else 499 as_ln_s='cp -p' 500fi 501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502rmdir conf$$.dir 2>/dev/null 503 504if mkdir -p . 2>/dev/null; then 505 as_mkdir_p='mkdir -p "$as_dir"' 506else 507 test -d ./-p && rmdir ./-p 508 as_mkdir_p=false 509fi 510 511if test -x / >/dev/null 2>&1; then 512 as_test_x='test -x' 513else 514 if ls -dL / >/dev/null 2>&1; then 515 as_ls_L_option=L 516 else 517 as_ls_L_option= 518 fi 519 as_test_x=' 520 eval sh -c '\'' 521 if test -d "$1"; then 522 test -d "$1/."; 523 else 524 case $1 in #( 525 -*)set "./$1";; 526 esac; 527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528 ???[sx]*):;;*)false;;esac;fi 529 '\'' sh 530 ' 531fi 532as_executable_p=$as_test_x 533 534# Sed expression to map a string onto a valid CPP name. 535as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536 537# Sed expression to map a string onto a valid variable name. 538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539 540 541test -n "$DJDIR" || exec 7<&0 </dev/null 542exec 6>&1 543 544# Name of the host. 545# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546# so uname gets run too. 547ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548 549# 550# Initializations. 551# 552ac_default_prefix=/usr/local 553ac_clean_files= 554ac_config_libobj_dir=. 555LIBOBJS= 556cross_compiling=no 557subdirs= 558MFLAGS= 559MAKEFLAGS= 560 561# Identity of this package. 562PACKAGE_NAME='setxkbmap' 563PACKAGE_TARNAME='setxkbmap' 564PACKAGE_VERSION='1.2.0' 565PACKAGE_STRING='setxkbmap 1.2.0' 566PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567PACKAGE_URL='' 568 569# Factoring default headers for most tests. 570ac_includes_default="\ 571#include <stdio.h> 572#ifdef HAVE_SYS_TYPES_H 573# include <sys/types.h> 574#endif 575#ifdef HAVE_SYS_STAT_H 576# include <sys/stat.h> 577#endif 578#ifdef STDC_HEADERS 579# include <stdlib.h> 580# include <stddef.h> 581#else 582# ifdef HAVE_STDLIB_H 583# include <stdlib.h> 584# endif 585#endif 586#ifdef HAVE_STRING_H 587# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588# include <memory.h> 589# endif 590# include <string.h> 591#endif 592#ifdef HAVE_STRINGS_H 593# include <strings.h> 594#endif 595#ifdef HAVE_INTTYPES_H 596# include <inttypes.h> 597#endif 598#ifdef HAVE_STDINT_H 599# include <stdint.h> 600#endif 601#ifdef HAVE_UNISTD_H 602# include <unistd.h> 603#endif" 604 605ac_subst_vars='am__EXEEXT_FALSE 606am__EXEEXT_TRUE 607LTLIBOBJS 608LIBOBJS 609LINT_FALSE 610LINT_TRUE 611LINT_FLAGS 612LINT 613SETXKBMAP_LIBS 614SETXKBMAP_CFLAGS 615XKBCONFIGROOT 616AM_BACKSLASH 617AM_DEFAULT_VERBOSITY 618MAN_SUBSTS 619XORG_MAN_PAGE 620ADMIN_MAN_DIR 621DRIVER_MAN_DIR 622MISC_MAN_DIR 623FILE_MAN_DIR 624LIB_MAN_DIR 625APP_MAN_DIR 626ADMIN_MAN_SUFFIX 627DRIVER_MAN_SUFFIX 628MISC_MAN_SUFFIX 629FILE_MAN_SUFFIX 630LIB_MAN_SUFFIX 631APP_MAN_SUFFIX 632SED 633host_os 634host_vendor 635host_cpu 636host 637build_os 638build_vendor 639build_cpu 640build 641INSTALL_CMD 642PKG_CONFIG 643CHANGELOG_CMD 644CWARNFLAGS 645EGREP 646GREP 647CPP 648am__fastdepCC_FALSE 649am__fastdepCC_TRUE 650CCDEPMODE 651AMDEPBACKSLASH 652AMDEP_FALSE 653AMDEP_TRUE 654am__quote 655am__include 656DEPDIR 657OBJEXT 658EXEEXT 659ac_ct_CC 660CPPFLAGS 661LDFLAGS 662CFLAGS 663CC 664MAINT 665MAINTAINER_MODE_FALSE 666MAINTAINER_MODE_TRUE 667am__untar 668am__tar 669AMTAR 670am__leading_dot 671SET_MAKE 672AWK 673mkdir_p 674MKDIR_P 675INSTALL_STRIP_PROGRAM 676STRIP 677install_sh 678MAKEINFO 679AUTOHEADER 680AUTOMAKE 681AUTOCONF 682ACLOCAL 683VERSION 684PACKAGE 685CYGPATH_W 686am__isrc 687INSTALL_DATA 688INSTALL_SCRIPT 689INSTALL_PROGRAM 690target_alias 691host_alias 692build_alias 693LIBS 694ECHO_T 695ECHO_N 696ECHO_C 697DEFS 698mandir 699localedir 700libdir 701psdir 702pdfdir 703dvidir 704htmldir 705infodir 706docdir 707oldincludedir 708includedir 709localstatedir 710sharedstatedir 711sysconfdir 712datadir 713datarootdir 714libexecdir 715sbindir 716bindir 717program_transform_name 718prefix 719exec_prefix 720PACKAGE_URL 721PACKAGE_BUGREPORT 722PACKAGE_STRING 723PACKAGE_VERSION 724PACKAGE_TARNAME 725PACKAGE_NAME 726PATH_SEPARATOR 727SHELL' 728ac_subst_files='' 729ac_user_opts=' 730enable_option_checking 731enable_maintainer_mode 732enable_dependency_tracking 733enable_strict_compilation 734enable_silent_rules 735with_xkb_config_root 736with_lint 737' 738 ac_precious_vars='build_alias 739host_alias 740target_alias 741CC 742CFLAGS 743LDFLAGS 744LIBS 745CPPFLAGS 746CPP 747PKG_CONFIG 748SETXKBMAP_CFLAGS 749SETXKBMAP_LIBS 750LINT 751LINT_FLAGS' 752 753 754# Initialize some variables set by options. 755ac_init_help= 756ac_init_version=false 757ac_unrecognized_opts= 758ac_unrecognized_sep= 759# The variables have the same names as the options, with 760# dashes changed to underlines. 761cache_file=/dev/null 762exec_prefix=NONE 763no_create= 764no_recursion= 765prefix=NONE 766program_prefix=NONE 767program_suffix=NONE 768program_transform_name=s,x,x, 769silent= 770site= 771srcdir= 772verbose= 773x_includes=NONE 774x_libraries=NONE 775 776# Installation directory options. 777# These are left unexpanded so users can "make install exec_prefix=/foo" 778# and all the variables that are supposed to be based on exec_prefix 779# by default will actually change. 780# Use braces instead of parens because sh, perl, etc. also accept them. 781# (The list follows the same order as the GNU Coding Standards.) 782bindir='${exec_prefix}/bin' 783sbindir='${exec_prefix}/sbin' 784libexecdir='${exec_prefix}/libexec' 785datarootdir='${prefix}/share' 786datadir='${datarootdir}' 787sysconfdir='${prefix}/etc' 788sharedstatedir='${prefix}/com' 789localstatedir='${prefix}/var' 790includedir='${prefix}/include' 791oldincludedir='/usr/include' 792docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 793infodir='${datarootdir}/info' 794htmldir='${docdir}' 795dvidir='${docdir}' 796pdfdir='${docdir}' 797psdir='${docdir}' 798libdir='${exec_prefix}/lib' 799localedir='${datarootdir}/locale' 800mandir='${datarootdir}/man' 801 802ac_prev= 803ac_dashdash= 804for ac_option 805do 806 # If the previous option needs an argument, assign it. 807 if test -n "$ac_prev"; then 808 eval $ac_prev=\$ac_option 809 ac_prev= 810 continue 811 fi 812 813 case $ac_option in 814 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 815 *=) ac_optarg= ;; 816 *) ac_optarg=yes ;; 817 esac 818 819 # Accept the important Cygnus configure options, so we can diagnose typos. 820 821 case $ac_dashdash$ac_option in 822 --) 823 ac_dashdash=yes ;; 824 825 -bindir | --bindir | --bindi | --bind | --bin | --bi) 826 ac_prev=bindir ;; 827 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 828 bindir=$ac_optarg ;; 829 830 -build | --build | --buil | --bui | --bu) 831 ac_prev=build_alias ;; 832 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 833 build_alias=$ac_optarg ;; 834 835 -cache-file | --cache-file | --cache-fil | --cache-fi \ 836 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 837 ac_prev=cache_file ;; 838 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 839 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 840 cache_file=$ac_optarg ;; 841 842 --config-cache | -C) 843 cache_file=config.cache ;; 844 845 -datadir | --datadir | --datadi | --datad) 846 ac_prev=datadir ;; 847 -datadir=* | --datadir=* | --datadi=* | --datad=*) 848 datadir=$ac_optarg ;; 849 850 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 851 | --dataroo | --dataro | --datar) 852 ac_prev=datarootdir ;; 853 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 854 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 855 datarootdir=$ac_optarg ;; 856 857 -disable-* | --disable-*) 858 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 859 # Reject names that are not valid shell variable names. 860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 861 as_fn_error $? "invalid feature name: $ac_useropt" 862 ac_useropt_orig=$ac_useropt 863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 864 case $ac_user_opts in 865 *" 866"enable_$ac_useropt" 867"*) ;; 868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 869 ac_unrecognized_sep=', ';; 870 esac 871 eval enable_$ac_useropt=no ;; 872 873 -docdir | --docdir | --docdi | --doc | --do) 874 ac_prev=docdir ;; 875 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 876 docdir=$ac_optarg ;; 877 878 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 879 ac_prev=dvidir ;; 880 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 881 dvidir=$ac_optarg ;; 882 883 -enable-* | --enable-*) 884 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 885 # Reject names that are not valid shell variable names. 886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 887 as_fn_error $? "invalid feature name: $ac_useropt" 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892"enable_$ac_useropt" 893"*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=\$ac_optarg ;; 898 899 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 900 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 901 | --exec | --exe | --ex) 902 ac_prev=exec_prefix ;; 903 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 904 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 905 | --exec=* | --exe=* | --ex=*) 906 exec_prefix=$ac_optarg ;; 907 908 -gas | --gas | --ga | --g) 909 # Obsolete; use --with-gas. 910 with_gas=yes ;; 911 912 -help | --help | --hel | --he | -h) 913 ac_init_help=long ;; 914 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 915 ac_init_help=recursive ;; 916 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 917 ac_init_help=short ;; 918 919 -host | --host | --hos | --ho) 920 ac_prev=host_alias ;; 921 -host=* | --host=* | --hos=* | --ho=*) 922 host_alias=$ac_optarg ;; 923 924 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 925 ac_prev=htmldir ;; 926 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 927 | --ht=*) 928 htmldir=$ac_optarg ;; 929 930 -includedir | --includedir | --includedi | --included | --include \ 931 | --includ | --inclu | --incl | --inc) 932 ac_prev=includedir ;; 933 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 934 | --includ=* | --inclu=* | --incl=* | --inc=*) 935 includedir=$ac_optarg ;; 936 937 -infodir | --infodir | --infodi | --infod | --info | --inf) 938 ac_prev=infodir ;; 939 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 940 infodir=$ac_optarg ;; 941 942 -libdir | --libdir | --libdi | --libd) 943 ac_prev=libdir ;; 944 -libdir=* | --libdir=* | --libdi=* | --libd=*) 945 libdir=$ac_optarg ;; 946 947 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 948 | --libexe | --libex | --libe) 949 ac_prev=libexecdir ;; 950 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 951 | --libexe=* | --libex=* | --libe=*) 952 libexecdir=$ac_optarg ;; 953 954 -localedir | --localedir | --localedi | --localed | --locale) 955 ac_prev=localedir ;; 956 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 957 localedir=$ac_optarg ;; 958 959 -localstatedir | --localstatedir | --localstatedi | --localstated \ 960 | --localstate | --localstat | --localsta | --localst | --locals) 961 ac_prev=localstatedir ;; 962 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 963 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 964 localstatedir=$ac_optarg ;; 965 966 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 967 ac_prev=mandir ;; 968 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 969 mandir=$ac_optarg ;; 970 971 -nfp | --nfp | --nf) 972 # Obsolete; use --without-fp. 973 with_fp=no ;; 974 975 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 976 | --no-cr | --no-c | -n) 977 no_create=yes ;; 978 979 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 980 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 981 no_recursion=yes ;; 982 983 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 984 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 985 | --oldin | --oldi | --old | --ol | --o) 986 ac_prev=oldincludedir ;; 987 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 988 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 989 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 990 oldincludedir=$ac_optarg ;; 991 992 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 993 ac_prev=prefix ;; 994 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 995 prefix=$ac_optarg ;; 996 997 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 998 | --program-pre | --program-pr | --program-p) 999 ac_prev=program_prefix ;; 1000 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1001 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1002 program_prefix=$ac_optarg ;; 1003 1004 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1005 | --program-suf | --program-su | --program-s) 1006 ac_prev=program_suffix ;; 1007 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1008 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1009 program_suffix=$ac_optarg ;; 1010 1011 -program-transform-name | --program-transform-name \ 1012 | --program-transform-nam | --program-transform-na \ 1013 | --program-transform-n | --program-transform- \ 1014 | --program-transform | --program-transfor \ 1015 | --program-transfo | --program-transf \ 1016 | --program-trans | --program-tran \ 1017 | --progr-tra | --program-tr | --program-t) 1018 ac_prev=program_transform_name ;; 1019 -program-transform-name=* | --program-transform-name=* \ 1020 | --program-transform-nam=* | --program-transform-na=* \ 1021 | --program-transform-n=* | --program-transform-=* \ 1022 | --program-transform=* | --program-transfor=* \ 1023 | --program-transfo=* | --program-transf=* \ 1024 | --program-trans=* | --program-tran=* \ 1025 | --progr-tra=* | --program-tr=* | --program-t=*) 1026 program_transform_name=$ac_optarg ;; 1027 1028 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1029 ac_prev=pdfdir ;; 1030 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1031 pdfdir=$ac_optarg ;; 1032 1033 -psdir | --psdir | --psdi | --psd | --ps) 1034 ac_prev=psdir ;; 1035 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1036 psdir=$ac_optarg ;; 1037 1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1039 | -silent | --silent | --silen | --sile | --sil) 1040 silent=yes ;; 1041 1042 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1043 ac_prev=sbindir ;; 1044 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1045 | --sbi=* | --sb=*) 1046 sbindir=$ac_optarg ;; 1047 1048 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1049 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1050 | --sharedst | --shareds | --shared | --share | --shar \ 1051 | --sha | --sh) 1052 ac_prev=sharedstatedir ;; 1053 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1054 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1055 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1056 | --sha=* | --sh=*) 1057 sharedstatedir=$ac_optarg ;; 1058 1059 -site | --site | --sit) 1060 ac_prev=site ;; 1061 -site=* | --site=* | --sit=*) 1062 site=$ac_optarg ;; 1063 1064 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1065 ac_prev=srcdir ;; 1066 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1067 srcdir=$ac_optarg ;; 1068 1069 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1070 | --syscon | --sysco | --sysc | --sys | --sy) 1071 ac_prev=sysconfdir ;; 1072 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1073 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1074 sysconfdir=$ac_optarg ;; 1075 1076 -target | --target | --targe | --targ | --tar | --ta | --t) 1077 ac_prev=target_alias ;; 1078 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1079 target_alias=$ac_optarg ;; 1080 1081 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1082 verbose=yes ;; 1083 1084 -version | --version | --versio | --versi | --vers | -V) 1085 ac_init_version=: ;; 1086 1087 -with-* | --with-*) 1088 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1089 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error $? "invalid package name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096"with_$ac_useropt" 1097"*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval with_$ac_useropt=\$ac_optarg ;; 1102 1103 -without-* | --without-*) 1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1105 # Reject names that are not valid shell variable names. 1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1107 as_fn_error $? "invalid package name: $ac_useropt" 1108 ac_useropt_orig=$ac_useropt 1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1110 case $ac_user_opts in 1111 *" 1112"with_$ac_useropt" 1113"*) ;; 1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1115 ac_unrecognized_sep=', ';; 1116 esac 1117 eval with_$ac_useropt=no ;; 1118 1119 --x) 1120 # Obsolete; use --with-x. 1121 with_x=yes ;; 1122 1123 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1124 | --x-incl | --x-inc | --x-in | --x-i) 1125 ac_prev=x_includes ;; 1126 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1127 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1128 x_includes=$ac_optarg ;; 1129 1130 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1131 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1132 ac_prev=x_libraries ;; 1133 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1134 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1135 x_libraries=$ac_optarg ;; 1136 1137 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1138Try \`$0 --help' for more information" 1139 ;; 1140 1141 *=*) 1142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1143 # Reject names that are not valid shell variable names. 1144 case $ac_envvar in #( 1145 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1146 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1147 esac 1148 eval $ac_envvar=\$ac_optarg 1149 export $ac_envvar ;; 1150 1151 *) 1152 # FIXME: should be removed in autoconf 3.0. 1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1156 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1157 ;; 1158 1159 esac 1160done 1161 1162if test -n "$ac_prev"; then 1163 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1164 as_fn_error $? "missing argument to $ac_option" 1165fi 1166 1167if test -n "$ac_unrecognized_opts"; then 1168 case $enable_option_checking in 1169 no) ;; 1170 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1172 esac 1173fi 1174 1175# Check all directory arguments for consistency. 1176for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1177 datadir sysconfdir sharedstatedir localstatedir includedir \ 1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1179 libdir localedir mandir 1180do 1181 eval ac_val=\$$ac_var 1182 # Remove trailing slashes. 1183 case $ac_val in 1184 */ ) 1185 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1186 eval $ac_var=\$ac_val;; 1187 esac 1188 # Be sure to have absolute directory names. 1189 case $ac_val in 1190 [\\/$]* | ?:[\\/]* ) continue;; 1191 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1192 esac 1193 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1194done 1195 1196# There might be people who depend on the old broken behavior: `$host' 1197# used to hold the argument of --host etc. 1198# FIXME: To remove some day. 1199build=$build_alias 1200host=$host_alias 1201target=$target_alias 1202 1203# FIXME: To remove some day. 1204if test "x$host_alias" != x; then 1205 if test "x$build_alias" = x; then 1206 cross_compiling=maybe 1207 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1208 If a cross compiler is detected then cross compile mode will be used" >&2 1209 elif test "x$build_alias" != "x$host_alias"; then 1210 cross_compiling=yes 1211 fi 1212fi 1213 1214ac_tool_prefix= 1215test -n "$host_alias" && ac_tool_prefix=$host_alias- 1216 1217test "$silent" = yes && exec 6>/dev/null 1218 1219 1220ac_pwd=`pwd` && test -n "$ac_pwd" && 1221ac_ls_di=`ls -di .` && 1222ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1223 as_fn_error $? "working directory cannot be determined" 1224test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1225 as_fn_error $? "pwd does not report name of working directory" 1226 1227 1228# Find the source files, if location was not specified. 1229if test -z "$srcdir"; then 1230 ac_srcdir_defaulted=yes 1231 # Try the directory containing this script, then the parent directory. 1232 ac_confdir=`$as_dirname -- "$as_myself" || 1233$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1234 X"$as_myself" : 'X\(//\)[^/]' \| \ 1235 X"$as_myself" : 'X\(//\)$' \| \ 1236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1237$as_echo X"$as_myself" | 1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1239 s//\1/ 1240 q 1241 } 1242 /^X\(\/\/\)[^/].*/{ 1243 s//\1/ 1244 q 1245 } 1246 /^X\(\/\/\)$/{ 1247 s//\1/ 1248 q 1249 } 1250 /^X\(\/\).*/{ 1251 s//\1/ 1252 q 1253 } 1254 s/.*/./; q'` 1255 srcdir=$ac_confdir 1256 if test ! -r "$srcdir/$ac_unique_file"; then 1257 srcdir=.. 1258 fi 1259else 1260 ac_srcdir_defaulted=no 1261fi 1262if test ! -r "$srcdir/$ac_unique_file"; then 1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1264 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1265fi 1266ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1267ac_abs_confdir=`( 1268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1269 pwd)` 1270# When building in place, set srcdir=. 1271if test "$ac_abs_confdir" = "$ac_pwd"; then 1272 srcdir=. 1273fi 1274# Remove unnecessary trailing slashes from srcdir. 1275# Double slashes in file names in object file debugging info 1276# mess up M-x gdb in Emacs. 1277case $srcdir in 1278*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1279esac 1280for ac_var in $ac_precious_vars; do 1281 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1282 eval ac_env_${ac_var}_value=\$${ac_var} 1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1284 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1285done 1286 1287# 1288# Report the --help message. 1289# 1290if test "$ac_init_help" = "long"; then 1291 # Omit some internal or obsolete options to make the list less imposing. 1292 # This message is too long to be a string in the A/UX 3.1 sh. 1293 cat <<_ACEOF 1294\`configure' configures setxkbmap 1.2.0 to adapt to many kinds of systems. 1295 1296Usage: $0 [OPTION]... [VAR=VALUE]... 1297 1298To assign environment variables (e.g., CC, CFLAGS...), specify them as 1299VAR=VALUE. See below for descriptions of some of the useful variables. 1300 1301Defaults for the options are specified in brackets. 1302 1303Configuration: 1304 -h, --help display this help and exit 1305 --help=short display options specific to this package 1306 --help=recursive display the short help of all the included packages 1307 -V, --version display version information and exit 1308 -q, --quiet, --silent do not print \`checking ...' messages 1309 --cache-file=FILE cache test results in FILE [disabled] 1310 -C, --config-cache alias for \`--cache-file=config.cache' 1311 -n, --no-create do not create output files 1312 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1313 1314Installation directories: 1315 --prefix=PREFIX install architecture-independent files in PREFIX 1316 [$ac_default_prefix] 1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1318 [PREFIX] 1319 1320By default, \`make install' will install all the files in 1321\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1322an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1323for instance \`--prefix=\$HOME'. 1324 1325For better control, use the options below. 1326 1327Fine tuning of the installation directories: 1328 --bindir=DIR user executables [EPREFIX/bin] 1329 --sbindir=DIR system admin executables [EPREFIX/sbin] 1330 --libexecdir=DIR program executables [EPREFIX/libexec] 1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1334 --libdir=DIR object code libraries [EPREFIX/lib] 1335 --includedir=DIR C header files [PREFIX/include] 1336 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1339 --infodir=DIR info documentation [DATAROOTDIR/info] 1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1341 --mandir=DIR man documentation [DATAROOTDIR/man] 1342 --docdir=DIR documentation root [DATAROOTDIR/doc/setxkbmap] 1343 --htmldir=DIR html documentation [DOCDIR] 1344 --dvidir=DIR dvi documentation [DOCDIR] 1345 --pdfdir=DIR pdf documentation [DOCDIR] 1346 --psdir=DIR ps documentation [DOCDIR] 1347_ACEOF 1348 1349 cat <<\_ACEOF 1350 1351Program names: 1352 --program-prefix=PREFIX prepend PREFIX to installed program names 1353 --program-suffix=SUFFIX append SUFFIX to installed program names 1354 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1355 1356System types: 1357 --build=BUILD configure for building on BUILD [guessed] 1358 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1359_ACEOF 1360fi 1361 1362if test -n "$ac_init_help"; then 1363 case $ac_init_help in 1364 short | recursive ) echo "Configuration of setxkbmap 1.2.0:";; 1365 esac 1366 cat <<\_ACEOF 1367 1368Optional Features: 1369 --disable-option-checking ignore unrecognized --enable/--with options 1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1372 --enable-maintainer-mode enable make rules and dependencies not useful 1373 (and sometimes confusing) to the casual installer 1374 --disable-dependency-tracking speeds up one-time build 1375 --enable-dependency-tracking do not reject slow dependency extractors 1376 --enable-strict-compilation 1377 Enable all warnings from compiler and make them 1378 errors (default: disabled) 1379 --enable-silent-rules less verbose build output (undo: `make V=1') 1380 --disable-silent-rules verbose build output (undo: `make V=0') 1381 1382Optional Packages: 1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1385 --with-xkb-config-root=<paths> 1386 Set default XKB config root (default: 1387 ${datadir}/X11/xkb) 1388 --with-lint Use a lint-style source code checker (default: 1389 disabled) 1390 1391Some influential environment variables: 1392 CC C compiler command 1393 CFLAGS C compiler flags 1394 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1395 nonstandard directory <lib dir> 1396 LIBS libraries to pass to the linker, e.g. -l<library> 1397 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1398 you have headers in a nonstandard directory <include dir> 1399 CPP C preprocessor 1400 PKG_CONFIG path to pkg-config utility 1401 SETXKBMAP_CFLAGS 1402 C compiler flags for SETXKBMAP, overriding pkg-config 1403 SETXKBMAP_LIBS 1404 linker flags for SETXKBMAP, overriding pkg-config 1405 LINT Path to a lint-style command 1406 LINT_FLAGS Flags for the lint-style command 1407 1408Use these variables to override the choices made by `configure' or to help 1409it to find libraries and programs with nonstandard names/locations. 1410 1411Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1412_ACEOF 1413ac_status=$? 1414fi 1415 1416if test "$ac_init_help" = "recursive"; then 1417 # If there are subdirs, report their specific --help. 1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1419 test -d "$ac_dir" || 1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1421 continue 1422 ac_builddir=. 1423 1424case "$ac_dir" in 1425.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1426*) 1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1428 # A ".." for each directory in $ac_dir_suffix. 1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1430 case $ac_top_builddir_sub in 1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1433 esac ;; 1434esac 1435ac_abs_top_builddir=$ac_pwd 1436ac_abs_builddir=$ac_pwd$ac_dir_suffix 1437# for backward compatibility: 1438ac_top_builddir=$ac_top_build_prefix 1439 1440case $srcdir in 1441 .) # We are building in place. 1442 ac_srcdir=. 1443 ac_top_srcdir=$ac_top_builddir_sub 1444 ac_abs_top_srcdir=$ac_pwd ;; 1445 [\\/]* | ?:[\\/]* ) # Absolute name. 1446 ac_srcdir=$srcdir$ac_dir_suffix; 1447 ac_top_srcdir=$srcdir 1448 ac_abs_top_srcdir=$srcdir ;; 1449 *) # Relative name. 1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1451 ac_top_srcdir=$ac_top_build_prefix$srcdir 1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1453esac 1454ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1455 1456 cd "$ac_dir" || { ac_status=$?; continue; } 1457 # Check for guested configure. 1458 if test -f "$ac_srcdir/configure.gnu"; then 1459 echo && 1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1461 elif test -f "$ac_srcdir/configure"; then 1462 echo && 1463 $SHELL "$ac_srcdir/configure" --help=recursive 1464 else 1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1466 fi || ac_status=$? 1467 cd "$ac_pwd" || { ac_status=$?; break; } 1468 done 1469fi 1470 1471test -n "$ac_init_help" && exit $ac_status 1472if $ac_init_version; then 1473 cat <<\_ACEOF 1474setxkbmap configure 1.2.0 1475generated by GNU Autoconf 2.68 1476 1477Copyright (C) 2010 Free Software Foundation, Inc. 1478This configure script is free software; the Free Software Foundation 1479gives unlimited permission to copy, distribute and modify it. 1480_ACEOF 1481 exit 1482fi 1483 1484## ------------------------ ## 1485## Autoconf initialization. ## 1486## ------------------------ ## 1487 1488# ac_fn_c_try_compile LINENO 1489# -------------------------- 1490# Try to compile conftest.$ac_ext, and return whether this succeeded. 1491ac_fn_c_try_compile () 1492{ 1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1494 rm -f conftest.$ac_objext 1495 if { { ac_try="$ac_compile" 1496case "(($ac_try" in 1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1498 *) ac_try_echo=$ac_try;; 1499esac 1500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1501$as_echo "$ac_try_echo"; } >&5 1502 (eval "$ac_compile") 2>conftest.err 1503 ac_status=$? 1504 if test -s conftest.err; then 1505 grep -v '^ *+' conftest.err >conftest.er1 1506 cat conftest.er1 >&5 1507 mv -f conftest.er1 conftest.err 1508 fi 1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1510 test $ac_status = 0; } && { 1511 test -z "$ac_c_werror_flag" || 1512 test ! -s conftest.err 1513 } && test -s conftest.$ac_objext; then : 1514 ac_retval=0 1515else 1516 $as_echo "$as_me: failed program was:" >&5 1517sed 's/^/| /' conftest.$ac_ext >&5 1518 1519 ac_retval=1 1520fi 1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1522 as_fn_set_status $ac_retval 1523 1524} # ac_fn_c_try_compile 1525 1526# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1527# --------------------------------------------- 1528# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1529# accordingly. 1530ac_fn_c_check_decl () 1531{ 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 as_decl_name=`echo $2|sed 's/ *(.*//'` 1534 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1536$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1537if eval \${$3+:} false; then : 1538 $as_echo_n "(cached) " >&6 1539else 1540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1541/* end confdefs.h. */ 1542$4 1543int 1544main () 1545{ 1546#ifndef $as_decl_name 1547#ifdef __cplusplus 1548 (void) $as_decl_use; 1549#else 1550 (void) $as_decl_name; 1551#endif 1552#endif 1553 1554 ; 1555 return 0; 1556} 1557_ACEOF 1558if ac_fn_c_try_compile "$LINENO"; then : 1559 eval "$3=yes" 1560else 1561 eval "$3=no" 1562fi 1563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1564fi 1565eval ac_res=\$$3 1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1567$as_echo "$ac_res" >&6; } 1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1569 1570} # ac_fn_c_check_decl 1571 1572# ac_fn_c_try_cpp LINENO 1573# ---------------------- 1574# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1575ac_fn_c_try_cpp () 1576{ 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 if { { ac_try="$ac_cpp conftest.$ac_ext" 1579case "(($ac_try" in 1580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1581 *) ac_try_echo=$ac_try;; 1582esac 1583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1584$as_echo "$ac_try_echo"; } >&5 1585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1586 ac_status=$? 1587 if test -s conftest.err; then 1588 grep -v '^ *+' conftest.err >conftest.er1 1589 cat conftest.er1 >&5 1590 mv -f conftest.er1 conftest.err 1591 fi 1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1593 test $ac_status = 0; } > conftest.i && { 1594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1595 test ! -s conftest.err 1596 }; then : 1597 ac_retval=0 1598else 1599 $as_echo "$as_me: failed program was:" >&5 1600sed 's/^/| /' conftest.$ac_ext >&5 1601 1602 ac_retval=1 1603fi 1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1605 as_fn_set_status $ac_retval 1606 1607} # ac_fn_c_try_cpp 1608 1609# ac_fn_c_try_run LINENO 1610# ---------------------- 1611# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1612# that executables *can* be run. 1613ac_fn_c_try_run () 1614{ 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 if { { ac_try="$ac_link" 1617case "(($ac_try" in 1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1619 *) ac_try_echo=$ac_try;; 1620esac 1621eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1622$as_echo "$ac_try_echo"; } >&5 1623 (eval "$ac_link") 2>&5 1624 ac_status=$? 1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1626 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1627 { { case "(($ac_try" in 1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1629 *) ac_try_echo=$ac_try;; 1630esac 1631eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1632$as_echo "$ac_try_echo"; } >&5 1633 (eval "$ac_try") 2>&5 1634 ac_status=$? 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; }; }; then : 1637 ac_retval=0 1638else 1639 $as_echo "$as_me: program exited with status $ac_status" >&5 1640 $as_echo "$as_me: failed program was:" >&5 1641sed 's/^/| /' conftest.$ac_ext >&5 1642 1643 ac_retval=$ac_status 1644fi 1645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1647 as_fn_set_status $ac_retval 1648 1649} # ac_fn_c_try_run 1650 1651# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1652# ------------------------------------------------------- 1653# Tests whether HEADER exists and can be compiled using the include files in 1654# INCLUDES, setting the cache variable VAR accordingly. 1655ac_fn_c_check_header_compile () 1656{ 1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1659$as_echo_n "checking for $2... " >&6; } 1660if eval \${$3+:} false; then : 1661 $as_echo_n "(cached) " >&6 1662else 1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1664/* end confdefs.h. */ 1665$4 1666#include <$2> 1667_ACEOF 1668if ac_fn_c_try_compile "$LINENO"; then : 1669 eval "$3=yes" 1670else 1671 eval "$3=no" 1672fi 1673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1674fi 1675eval ac_res=\$$3 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1677$as_echo "$ac_res" >&6; } 1678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1679 1680} # ac_fn_c_check_header_compile 1681cat >config.log <<_ACEOF 1682This file contains any messages produced by compilers while 1683running configure, to aid debugging if configure makes a mistake. 1684 1685It was created by setxkbmap $as_me 1.2.0, which was 1686generated by GNU Autoconf 2.68. Invocation command line was 1687 1688 $ $0 $@ 1689 1690_ACEOF 1691exec 5>>config.log 1692{ 1693cat <<_ASUNAME 1694## --------- ## 1695## Platform. ## 1696## --------- ## 1697 1698hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1699uname -m = `(uname -m) 2>/dev/null || echo unknown` 1700uname -r = `(uname -r) 2>/dev/null || echo unknown` 1701uname -s = `(uname -s) 2>/dev/null || echo unknown` 1702uname -v = `(uname -v) 2>/dev/null || echo unknown` 1703 1704/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1705/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1706 1707/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1708/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1709/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1710/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1711/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1712/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1713/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1714 1715_ASUNAME 1716 1717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1718for as_dir in $PATH 1719do 1720 IFS=$as_save_IFS 1721 test -z "$as_dir" && as_dir=. 1722 $as_echo "PATH: $as_dir" 1723 done 1724IFS=$as_save_IFS 1725 1726} >&5 1727 1728cat >&5 <<_ACEOF 1729 1730 1731## ----------- ## 1732## Core tests. ## 1733## ----------- ## 1734 1735_ACEOF 1736 1737 1738# Keep a trace of the command line. 1739# Strip out --no-create and --no-recursion so they do not pile up. 1740# Strip out --silent because we don't want to record it for future runs. 1741# Also quote any args containing shell meta-characters. 1742# Make two passes to allow for proper duplicate-argument suppression. 1743ac_configure_args= 1744ac_configure_args0= 1745ac_configure_args1= 1746ac_must_keep_next=false 1747for ac_pass in 1 2 1748do 1749 for ac_arg 1750 do 1751 case $ac_arg in 1752 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1753 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1754 | -silent | --silent | --silen | --sile | --sil) 1755 continue ;; 1756 *\'*) 1757 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1758 esac 1759 case $ac_pass in 1760 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1761 2) 1762 as_fn_append ac_configure_args1 " '$ac_arg'" 1763 if test $ac_must_keep_next = true; then 1764 ac_must_keep_next=false # Got value, back to normal. 1765 else 1766 case $ac_arg in 1767 *=* | --config-cache | -C | -disable-* | --disable-* \ 1768 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1769 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1770 | -with-* | --with-* | -without-* | --without-* | --x) 1771 case "$ac_configure_args0 " in 1772 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1773 esac 1774 ;; 1775 -* ) ac_must_keep_next=true ;; 1776 esac 1777 fi 1778 as_fn_append ac_configure_args " '$ac_arg'" 1779 ;; 1780 esac 1781 done 1782done 1783{ ac_configure_args0=; unset ac_configure_args0;} 1784{ ac_configure_args1=; unset ac_configure_args1;} 1785 1786# When interrupted or exit'd, cleanup temporary files, and complete 1787# config.log. We remove comments because anyway the quotes in there 1788# would cause problems or look ugly. 1789# WARNING: Use '\'' to represent an apostrophe within the trap. 1790# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1791trap 'exit_status=$? 1792 # Save into config.log some information that might help in debugging. 1793 { 1794 echo 1795 1796 $as_echo "## ---------------- ## 1797## Cache variables. ## 1798## ---------------- ##" 1799 echo 1800 # The following way of writing the cache mishandles newlines in values, 1801( 1802 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1803 eval ac_val=\$$ac_var 1804 case $ac_val in #( 1805 *${as_nl}*) 1806 case $ac_var in #( 1807 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1808$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1809 esac 1810 case $ac_var in #( 1811 _ | IFS | as_nl) ;; #( 1812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1813 *) { eval $ac_var=; unset $ac_var;} ;; 1814 esac ;; 1815 esac 1816 done 1817 (set) 2>&1 | 1818 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1819 *${as_nl}ac_space=\ *) 1820 sed -n \ 1821 "s/'\''/'\''\\\\'\'''\''/g; 1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1823 ;; #( 1824 *) 1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1826 ;; 1827 esac | 1828 sort 1829) 1830 echo 1831 1832 $as_echo "## ----------------- ## 1833## Output variables. ## 1834## ----------------- ##" 1835 echo 1836 for ac_var in $ac_subst_vars 1837 do 1838 eval ac_val=\$$ac_var 1839 case $ac_val in 1840 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1841 esac 1842 $as_echo "$ac_var='\''$ac_val'\''" 1843 done | sort 1844 echo 1845 1846 if test -n "$ac_subst_files"; then 1847 $as_echo "## ------------------- ## 1848## File substitutions. ## 1849## ------------------- ##" 1850 echo 1851 for ac_var in $ac_subst_files 1852 do 1853 eval ac_val=\$$ac_var 1854 case $ac_val in 1855 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1856 esac 1857 $as_echo "$ac_var='\''$ac_val'\''" 1858 done | sort 1859 echo 1860 fi 1861 1862 if test -s confdefs.h; then 1863 $as_echo "## ----------- ## 1864## confdefs.h. ## 1865## ----------- ##" 1866 echo 1867 cat confdefs.h 1868 echo 1869 fi 1870 test "$ac_signal" != 0 && 1871 $as_echo "$as_me: caught signal $ac_signal" 1872 $as_echo "$as_me: exit $exit_status" 1873 } >&5 1874 rm -f core *.core core.conftest.* && 1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1876 exit $exit_status 1877' 0 1878for ac_signal in 1 2 13 15; do 1879 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1880done 1881ac_signal=0 1882 1883# confdefs.h avoids OS command line length limits that DEFS can exceed. 1884rm -f -r conftest* confdefs.h 1885 1886$as_echo "/* confdefs.h */" > confdefs.h 1887 1888# Predefined preprocessor variables. 1889 1890cat >>confdefs.h <<_ACEOF 1891#define PACKAGE_NAME "$PACKAGE_NAME" 1892_ACEOF 1893 1894cat >>confdefs.h <<_ACEOF 1895#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1896_ACEOF 1897 1898cat >>confdefs.h <<_ACEOF 1899#define PACKAGE_VERSION "$PACKAGE_VERSION" 1900_ACEOF 1901 1902cat >>confdefs.h <<_ACEOF 1903#define PACKAGE_STRING "$PACKAGE_STRING" 1904_ACEOF 1905 1906cat >>confdefs.h <<_ACEOF 1907#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1908_ACEOF 1909 1910cat >>confdefs.h <<_ACEOF 1911#define PACKAGE_URL "$PACKAGE_URL" 1912_ACEOF 1913 1914 1915# Let the site file select an alternate cache file if it wants to. 1916# Prefer an explicitly selected file to automatically selected ones. 1917ac_site_file1=NONE 1918ac_site_file2=NONE 1919if test -n "$CONFIG_SITE"; then 1920 # We do not want a PATH search for config.site. 1921 case $CONFIG_SITE in #(( 1922 -*) ac_site_file1=./$CONFIG_SITE;; 1923 */*) ac_site_file1=$CONFIG_SITE;; 1924 *) ac_site_file1=./$CONFIG_SITE;; 1925 esac 1926elif test "x$prefix" != xNONE; then 1927 ac_site_file1=$prefix/share/config.site 1928 ac_site_file2=$prefix/etc/config.site 1929else 1930 ac_site_file1=$ac_default_prefix/share/config.site 1931 ac_site_file2=$ac_default_prefix/etc/config.site 1932fi 1933for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1934do 1935 test "x$ac_site_file" = xNONE && continue 1936 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1938$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1939 sed 's/^/| /' "$ac_site_file" >&5 1940 . "$ac_site_file" \ 1941 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1942$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1943as_fn_error $? "failed to load site script $ac_site_file 1944See \`config.log' for more details" "$LINENO" 5; } 1945 fi 1946done 1947 1948if test -r "$cache_file"; then 1949 # Some versions of bash will fail to source /dev/null (special files 1950 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1951 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1953$as_echo "$as_me: loading cache $cache_file" >&6;} 1954 case $cache_file in 1955 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1956 *) . "./$cache_file";; 1957 esac 1958 fi 1959else 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1961$as_echo "$as_me: creating cache $cache_file" >&6;} 1962 >$cache_file 1963fi 1964 1965# Check that the precious variables saved in the cache have kept the same 1966# value. 1967ac_cache_corrupted=false 1968for ac_var in $ac_precious_vars; do 1969 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1970 eval ac_new_set=\$ac_env_${ac_var}_set 1971 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1972 eval ac_new_val=\$ac_env_${ac_var}_value 1973 case $ac_old_set,$ac_new_set in 1974 set,) 1975 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1976$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1977 ac_cache_corrupted=: ;; 1978 ,set) 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1980$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1981 ac_cache_corrupted=: ;; 1982 ,);; 1983 *) 1984 if test "x$ac_old_val" != "x$ac_new_val"; then 1985 # differences in whitespace do not lead to failure. 1986 ac_old_val_w=`echo x $ac_old_val` 1987 ac_new_val_w=`echo x $ac_new_val` 1988 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1990$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1991 ac_cache_corrupted=: 1992 else 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1994$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1995 eval $ac_var=\$ac_old_val 1996 fi 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1998$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2000$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2001 fi;; 2002 esac 2003 # Pass precious variables to config.status. 2004 if test "$ac_new_set" = set; then 2005 case $ac_new_val in 2006 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2007 *) ac_arg=$ac_var=$ac_new_val ;; 2008 esac 2009 case " $ac_configure_args " in 2010 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2011 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2012 esac 2013 fi 2014done 2015if $ac_cache_corrupted; then 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2019$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2020 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2021fi 2022## -------------------- ## 2023## Main body of script. ## 2024## -------------------- ## 2025 2026ac_ext=c 2027ac_cpp='$CPP $CPPFLAGS' 2028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2030ac_compiler_gnu=$ac_cv_c_compiler_gnu 2031 2032 2033am__api_version='1.11' 2034 2035ac_aux_dir= 2036for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2037 if test -f "$ac_dir/install-sh"; then 2038 ac_aux_dir=$ac_dir 2039 ac_install_sh="$ac_aux_dir/install-sh -c" 2040 break 2041 elif test -f "$ac_dir/install.sh"; then 2042 ac_aux_dir=$ac_dir 2043 ac_install_sh="$ac_aux_dir/install.sh -c" 2044 break 2045 elif test -f "$ac_dir/shtool"; then 2046 ac_aux_dir=$ac_dir 2047 ac_install_sh="$ac_aux_dir/shtool install -c" 2048 break 2049 fi 2050done 2051if test -z "$ac_aux_dir"; then 2052 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2053fi 2054 2055# These three variables are undocumented and unsupported, 2056# and are intended to be withdrawn in a future Autoconf release. 2057# They can cause serious problems if a builder's source tree is in a directory 2058# whose full name contains unusual characters. 2059ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2060ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2061ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2062 2063 2064# Find a good install program. We prefer a C program (faster), 2065# so one script is as good as another. But avoid the broken or 2066# incompatible versions: 2067# SysV /etc/install, /usr/sbin/install 2068# SunOS /usr/etc/install 2069# IRIX /sbin/install 2070# AIX /bin/install 2071# AmigaOS /C/install, which installs bootblocks on floppy discs 2072# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2073# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2074# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2075# OS/2's system install, which has a completely different semantic 2076# ./install, which can be erroneously created by make from ./install.sh. 2077# Reject install programs that cannot install multiple files. 2078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2079$as_echo_n "checking for a BSD-compatible install... " >&6; } 2080if test -z "$INSTALL"; then 2081if ${ac_cv_path_install+:} false; then : 2082 $as_echo_n "(cached) " >&6 2083else 2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2085for as_dir in $PATH 2086do 2087 IFS=$as_save_IFS 2088 test -z "$as_dir" && as_dir=. 2089 # Account for people who put trailing slashes in PATH elements. 2090case $as_dir/ in #(( 2091 ./ | .// | /[cC]/* | \ 2092 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2093 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2094 /usr/ucb/* ) ;; 2095 *) 2096 # OSF1 and SCO ODT 3.0 have their own names for install. 2097 # Don't use installbsd from OSF since it installs stuff as root 2098 # by default. 2099 for ac_prog in ginstall scoinst install; do 2100 for ac_exec_ext in '' $ac_executable_extensions; do 2101 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2102 if test $ac_prog = install && 2103 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2104 # AIX install. It has an incompatible calling convention. 2105 : 2106 elif test $ac_prog = install && 2107 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2108 # program-specific install script used by HP pwplus--don't use. 2109 : 2110 else 2111 rm -rf conftest.one conftest.two conftest.dir 2112 echo one > conftest.one 2113 echo two > conftest.two 2114 mkdir conftest.dir 2115 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2116 test -s conftest.one && test -s conftest.two && 2117 test -s conftest.dir/conftest.one && 2118 test -s conftest.dir/conftest.two 2119 then 2120 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2121 break 3 2122 fi 2123 fi 2124 fi 2125 done 2126 done 2127 ;; 2128esac 2129 2130 done 2131IFS=$as_save_IFS 2132 2133rm -rf conftest.one conftest.two conftest.dir 2134 2135fi 2136 if test "${ac_cv_path_install+set}" = set; then 2137 INSTALL=$ac_cv_path_install 2138 else 2139 # As a last resort, use the slow shell script. Don't cache a 2140 # value for INSTALL within a source directory, because that will 2141 # break other packages using the cache if that directory is 2142 # removed, or if the value is a relative name. 2143 INSTALL=$ac_install_sh 2144 fi 2145fi 2146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2147$as_echo "$INSTALL" >&6; } 2148 2149# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2150# It thinks the first close brace ends the variable substitution. 2151test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2152 2153test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2154 2155test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2156 2157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2158$as_echo_n "checking whether build environment is sane... " >&6; } 2159# Just in case 2160sleep 1 2161echo timestamp > conftest.file 2162# Reject unsafe characters in $srcdir or the absolute working directory 2163# name. Accept space and tab only in the latter. 2164am_lf=' 2165' 2166case `pwd` in 2167 *[\\\"\#\$\&\'\`$am_lf]*) 2168 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2169esac 2170case $srcdir in 2171 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2172 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2173esac 2174 2175# Do `set' in a subshell so we don't clobber the current shell's 2176# arguments. Must try -L first in case configure is actually a 2177# symlink; some systems play weird games with the mod time of symlinks 2178# (eg FreeBSD returns the mod time of the symlink's containing 2179# directory). 2180if ( 2181 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2182 if test "$*" = "X"; then 2183 # -L didn't work. 2184 set X `ls -t "$srcdir/configure" conftest.file` 2185 fi 2186 rm -f conftest.file 2187 if test "$*" != "X $srcdir/configure conftest.file" \ 2188 && test "$*" != "X conftest.file $srcdir/configure"; then 2189 2190 # If neither matched, then we have a broken ls. This can happen 2191 # if, for instance, CONFIG_SHELL is bash and it inherits a 2192 # broken ls alias from the environment. This has actually 2193 # happened. Such a system could not be considered "sane". 2194 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2195alias in your environment" "$LINENO" 5 2196 fi 2197 2198 test "$2" = conftest.file 2199 ) 2200then 2201 # Ok. 2202 : 2203else 2204 as_fn_error $? "newly created file is older than distributed files! 2205Check your system clock" "$LINENO" 5 2206fi 2207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2208$as_echo "yes" >&6; } 2209test "$program_prefix" != NONE && 2210 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2211# Use a double $ so make ignores it. 2212test "$program_suffix" != NONE && 2213 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2214# Double any \ or $. 2215# By default was `s,x,x', remove it if useless. 2216ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2217program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2218 2219# expand $ac_aux_dir to an absolute path 2220am_aux_dir=`cd $ac_aux_dir && pwd` 2221 2222if test x"${MISSING+set}" != xset; then 2223 case $am_aux_dir in 2224 *\ * | *\ *) 2225 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2226 *) 2227 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2228 esac 2229fi 2230# Use eval to expand $SHELL 2231if eval "$MISSING --run true"; then 2232 am_missing_run="$MISSING --run " 2233else 2234 am_missing_run= 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2236$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2237fi 2238 2239if test x"${install_sh}" != xset; then 2240 case $am_aux_dir in 2241 *\ * | *\ *) 2242 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2243 *) 2244 install_sh="\${SHELL} $am_aux_dir/install-sh" 2245 esac 2246fi 2247 2248# Installed binaries are usually stripped using `strip' when the user 2249# run `make install-strip'. However `strip' might not be the right 2250# tool to use in cross-compilation environments, therefore Automake 2251# will honor the `STRIP' environment variable to overrule this program. 2252if test "$cross_compiling" != no; then 2253 if test -n "$ac_tool_prefix"; then 2254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2255set dummy ${ac_tool_prefix}strip; ac_word=$2 2256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2257$as_echo_n "checking for $ac_word... " >&6; } 2258if ${ac_cv_prog_STRIP+:} false; then : 2259 $as_echo_n "(cached) " >&6 2260else 2261 if test -n "$STRIP"; then 2262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2263else 2264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2265for as_dir in $PATH 2266do 2267 IFS=$as_save_IFS 2268 test -z "$as_dir" && as_dir=. 2269 for ac_exec_ext in '' $ac_executable_extensions; do 2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2271 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2273 break 2 2274 fi 2275done 2276 done 2277IFS=$as_save_IFS 2278 2279fi 2280fi 2281STRIP=$ac_cv_prog_STRIP 2282if test -n "$STRIP"; then 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2284$as_echo "$STRIP" >&6; } 2285else 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2287$as_echo "no" >&6; } 2288fi 2289 2290 2291fi 2292if test -z "$ac_cv_prog_STRIP"; then 2293 ac_ct_STRIP=$STRIP 2294 # Extract the first word of "strip", so it can be a program name with args. 2295set dummy strip; ac_word=$2 2296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2297$as_echo_n "checking for $ac_word... " >&6; } 2298if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2299 $as_echo_n "(cached) " >&6 2300else 2301 if test -n "$ac_ct_STRIP"; then 2302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2303else 2304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2305for as_dir in $PATH 2306do 2307 IFS=$as_save_IFS 2308 test -z "$as_dir" && as_dir=. 2309 for ac_exec_ext in '' $ac_executable_extensions; do 2310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2311 ac_cv_prog_ac_ct_STRIP="strip" 2312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2313 break 2 2314 fi 2315done 2316 done 2317IFS=$as_save_IFS 2318 2319fi 2320fi 2321ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2322if test -n "$ac_ct_STRIP"; then 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2324$as_echo "$ac_ct_STRIP" >&6; } 2325else 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2327$as_echo "no" >&6; } 2328fi 2329 2330 if test "x$ac_ct_STRIP" = x; then 2331 STRIP=":" 2332 else 2333 case $cross_compiling:$ac_tool_warned in 2334yes:) 2335{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2336$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2337ac_tool_warned=yes ;; 2338esac 2339 STRIP=$ac_ct_STRIP 2340 fi 2341else 2342 STRIP="$ac_cv_prog_STRIP" 2343fi 2344 2345fi 2346INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2347 2348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2349$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2350if test -z "$MKDIR_P"; then 2351 if ${ac_cv_path_mkdir+:} false; then : 2352 $as_echo_n "(cached) " >&6 2353else 2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2355for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2356do 2357 IFS=$as_save_IFS 2358 test -z "$as_dir" && as_dir=. 2359 for ac_prog in mkdir gmkdir; do 2360 for ac_exec_ext in '' $ac_executable_extensions; do 2361 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2362 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2363 'mkdir (GNU coreutils) '* | \ 2364 'mkdir (coreutils) '* | \ 2365 'mkdir (fileutils) '4.1*) 2366 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2367 break 3;; 2368 esac 2369 done 2370 done 2371 done 2372IFS=$as_save_IFS 2373 2374fi 2375 2376 test -d ./--version && rmdir ./--version 2377 if test "${ac_cv_path_mkdir+set}" = set; then 2378 MKDIR_P="$ac_cv_path_mkdir -p" 2379 else 2380 # As a last resort, use the slow shell script. Don't cache a 2381 # value for MKDIR_P within a source directory, because that will 2382 # break other packages using the cache if that directory is 2383 # removed, or if the value is a relative name. 2384 MKDIR_P="$ac_install_sh -d" 2385 fi 2386fi 2387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2388$as_echo "$MKDIR_P" >&6; } 2389 2390mkdir_p="$MKDIR_P" 2391case $mkdir_p in 2392 [\\/$]* | ?:[\\/]*) ;; 2393 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2394esac 2395 2396for ac_prog in gawk mawk nawk awk 2397do 2398 # Extract the first word of "$ac_prog", so it can be a program name with args. 2399set dummy $ac_prog; ac_word=$2 2400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2401$as_echo_n "checking for $ac_word... " >&6; } 2402if ${ac_cv_prog_AWK+:} false; then : 2403 $as_echo_n "(cached) " >&6 2404else 2405 if test -n "$AWK"; then 2406 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2407else 2408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2409for as_dir in $PATH 2410do 2411 IFS=$as_save_IFS 2412 test -z "$as_dir" && as_dir=. 2413 for ac_exec_ext in '' $ac_executable_extensions; do 2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2415 ac_cv_prog_AWK="$ac_prog" 2416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2417 break 2 2418 fi 2419done 2420 done 2421IFS=$as_save_IFS 2422 2423fi 2424fi 2425AWK=$ac_cv_prog_AWK 2426if test -n "$AWK"; then 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2428$as_echo "$AWK" >&6; } 2429else 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2431$as_echo "no" >&6; } 2432fi 2433 2434 2435 test -n "$AWK" && break 2436done 2437 2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2439$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2440set x ${MAKE-make} 2441ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2442if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2443 $as_echo_n "(cached) " >&6 2444else 2445 cat >conftest.make <<\_ACEOF 2446SHELL = /bin/sh 2447all: 2448 @echo '@@@%%%=$(MAKE)=@@@%%%' 2449_ACEOF 2450# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2451case `${MAKE-make} -f conftest.make 2>/dev/null` in 2452 *@@@%%%=?*=@@@%%%*) 2453 eval ac_cv_prog_make_${ac_make}_set=yes;; 2454 *) 2455 eval ac_cv_prog_make_${ac_make}_set=no;; 2456esac 2457rm -f conftest.make 2458fi 2459if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2461$as_echo "yes" >&6; } 2462 SET_MAKE= 2463else 2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2465$as_echo "no" >&6; } 2466 SET_MAKE="MAKE=${MAKE-make}" 2467fi 2468 2469rm -rf .tst 2>/dev/null 2470mkdir .tst 2>/dev/null 2471if test -d .tst; then 2472 am__leading_dot=. 2473else 2474 am__leading_dot=_ 2475fi 2476rmdir .tst 2>/dev/null 2477 2478if test "`cd $srcdir && pwd`" != "`pwd`"; then 2479 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2480 # is not polluted with repeated "-I." 2481 am__isrc=' -I$(srcdir)' 2482 # test to see if srcdir already configured 2483 if test -f $srcdir/config.status; then 2484 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2485 fi 2486fi 2487 2488# test whether we have cygpath 2489if test -z "$CYGPATH_W"; then 2490 if (cygpath --version) >/dev/null 2>/dev/null; then 2491 CYGPATH_W='cygpath -w' 2492 else 2493 CYGPATH_W=echo 2494 fi 2495fi 2496 2497 2498# Define the identity of the package. 2499 PACKAGE='setxkbmap' 2500 VERSION='1.2.0' 2501 2502 2503cat >>confdefs.h <<_ACEOF 2504#define PACKAGE "$PACKAGE" 2505_ACEOF 2506 2507 2508cat >>confdefs.h <<_ACEOF 2509#define VERSION "$VERSION" 2510_ACEOF 2511 2512# Some tools Automake needs. 2513 2514ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2515 2516 2517AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2518 2519 2520AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2521 2522 2523AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2524 2525 2526MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2527 2528# We need awk for the "check" target. The system "awk" is bad on 2529# some platforms. 2530# Always define AMTAR for backward compatibility. 2531 2532AMTAR=${AMTAR-"${am_missing_run}tar"} 2533 2534am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2535 2536 2537 2538 2539 2540 2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2542$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2543 # Check whether --enable-maintainer-mode was given. 2544if test "${enable_maintainer_mode+set}" = set; then : 2545 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2546else 2547 USE_MAINTAINER_MODE=no 2548fi 2549 2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2551$as_echo "$USE_MAINTAINER_MODE" >&6; } 2552 if test $USE_MAINTAINER_MODE = yes; then 2553 MAINTAINER_MODE_TRUE= 2554 MAINTAINER_MODE_FALSE='#' 2555else 2556 MAINTAINER_MODE_TRUE='#' 2557 MAINTAINER_MODE_FALSE= 2558fi 2559 2560 MAINT=$MAINTAINER_MODE_TRUE 2561 2562 2563 2564# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577ac_config_headers="$ac_config_headers config.h" 2578 2579 2580DEPDIR="${am__leading_dot}deps" 2581 2582ac_config_commands="$ac_config_commands depfiles" 2583 2584 2585am_make=${MAKE-make} 2586cat > confinc << 'END' 2587am__doit: 2588 @echo this is the am__doit target 2589.PHONY: am__doit 2590END 2591# If we don't find an include directive, just comment out the code. 2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2593$as_echo_n "checking for style of include used by $am_make... " >&6; } 2594am__include="#" 2595am__quote= 2596_am_result=none 2597# First try GNU make style include. 2598echo "include confinc" > confmf 2599# Ignore all kinds of additional output from `make'. 2600case `$am_make -s -f confmf 2> /dev/null` in #( 2601*the\ am__doit\ target*) 2602 am__include=include 2603 am__quote= 2604 _am_result=GNU 2605 ;; 2606esac 2607# Now try BSD make style include. 2608if test "$am__include" = "#"; then 2609 echo '.include "confinc"' > confmf 2610 case `$am_make -s -f confmf 2> /dev/null` in #( 2611 *the\ am__doit\ target*) 2612 am__include=.include 2613 am__quote="\"" 2614 _am_result=BSD 2615 ;; 2616 esac 2617fi 2618 2619 2620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2621$as_echo "$_am_result" >&6; } 2622rm -f confinc confmf 2623 2624# Check whether --enable-dependency-tracking was given. 2625if test "${enable_dependency_tracking+set}" = set; then : 2626 enableval=$enable_dependency_tracking; 2627fi 2628 2629if test "x$enable_dependency_tracking" != xno; then 2630 am_depcomp="$ac_aux_dir/depcomp" 2631 AMDEPBACKSLASH='\' 2632fi 2633 if test "x$enable_dependency_tracking" != xno; then 2634 AMDEP_TRUE= 2635 AMDEP_FALSE='#' 2636else 2637 AMDEP_TRUE='#' 2638 AMDEP_FALSE= 2639fi 2640 2641 2642ac_ext=c 2643ac_cpp='$CPP $CPPFLAGS' 2644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2646ac_compiler_gnu=$ac_cv_c_compiler_gnu 2647if test -n "$ac_tool_prefix"; then 2648 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2649set dummy ${ac_tool_prefix}gcc; ac_word=$2 2650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2651$as_echo_n "checking for $ac_word... " >&6; } 2652if ${ac_cv_prog_CC+:} false; then : 2653 $as_echo_n "(cached) " >&6 2654else 2655 if test -n "$CC"; then 2656 ac_cv_prog_CC="$CC" # Let the user override the test. 2657else 2658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2659for as_dir in $PATH 2660do 2661 IFS=$as_save_IFS 2662 test -z "$as_dir" && as_dir=. 2663 for ac_exec_ext in '' $ac_executable_extensions; do 2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2665 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2667 break 2 2668 fi 2669done 2670 done 2671IFS=$as_save_IFS 2672 2673fi 2674fi 2675CC=$ac_cv_prog_CC 2676if test -n "$CC"; then 2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2678$as_echo "$CC" >&6; } 2679else 2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2681$as_echo "no" >&6; } 2682fi 2683 2684 2685fi 2686if test -z "$ac_cv_prog_CC"; then 2687 ac_ct_CC=$CC 2688 # Extract the first word of "gcc", so it can be a program name with args. 2689set dummy gcc; ac_word=$2 2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2691$as_echo_n "checking for $ac_word... " >&6; } 2692if ${ac_cv_prog_ac_ct_CC+:} false; then : 2693 $as_echo_n "(cached) " >&6 2694else 2695 if test -n "$ac_ct_CC"; then 2696 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2697else 2698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2699for as_dir in $PATH 2700do 2701 IFS=$as_save_IFS 2702 test -z "$as_dir" && as_dir=. 2703 for ac_exec_ext in '' $ac_executable_extensions; do 2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2705 ac_cv_prog_ac_ct_CC="gcc" 2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2707 break 2 2708 fi 2709done 2710 done 2711IFS=$as_save_IFS 2712 2713fi 2714fi 2715ac_ct_CC=$ac_cv_prog_ac_ct_CC 2716if test -n "$ac_ct_CC"; then 2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2718$as_echo "$ac_ct_CC" >&6; } 2719else 2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2721$as_echo "no" >&6; } 2722fi 2723 2724 if test "x$ac_ct_CC" = x; then 2725 CC="" 2726 else 2727 case $cross_compiling:$ac_tool_warned in 2728yes:) 2729{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2730$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2731ac_tool_warned=yes ;; 2732esac 2733 CC=$ac_ct_CC 2734 fi 2735else 2736 CC="$ac_cv_prog_CC" 2737fi 2738 2739if test -z "$CC"; then 2740 if test -n "$ac_tool_prefix"; then 2741 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2742set dummy ${ac_tool_prefix}cc; ac_word=$2 2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2744$as_echo_n "checking for $ac_word... " >&6; } 2745if ${ac_cv_prog_CC+:} false; then : 2746 $as_echo_n "(cached) " >&6 2747else 2748 if test -n "$CC"; then 2749 ac_cv_prog_CC="$CC" # Let the user override the test. 2750else 2751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2752for as_dir in $PATH 2753do 2754 IFS=$as_save_IFS 2755 test -z "$as_dir" && as_dir=. 2756 for ac_exec_ext in '' $ac_executable_extensions; do 2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2758 ac_cv_prog_CC="${ac_tool_prefix}cc" 2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2760 break 2 2761 fi 2762done 2763 done 2764IFS=$as_save_IFS 2765 2766fi 2767fi 2768CC=$ac_cv_prog_CC 2769if test -n "$CC"; then 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2771$as_echo "$CC" >&6; } 2772else 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2774$as_echo "no" >&6; } 2775fi 2776 2777 2778 fi 2779fi 2780if test -z "$CC"; then 2781 # Extract the first word of "cc", so it can be a program name with args. 2782set dummy cc; ac_word=$2 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2784$as_echo_n "checking for $ac_word... " >&6; } 2785if ${ac_cv_prog_CC+:} false; then : 2786 $as_echo_n "(cached) " >&6 2787else 2788 if test -n "$CC"; then 2789 ac_cv_prog_CC="$CC" # Let the user override the test. 2790else 2791 ac_prog_rejected=no 2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2793for as_dir in $PATH 2794do 2795 IFS=$as_save_IFS 2796 test -z "$as_dir" && as_dir=. 2797 for ac_exec_ext in '' $ac_executable_extensions; do 2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2799 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2800 ac_prog_rejected=yes 2801 continue 2802 fi 2803 ac_cv_prog_CC="cc" 2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2805 break 2 2806 fi 2807done 2808 done 2809IFS=$as_save_IFS 2810 2811if test $ac_prog_rejected = yes; then 2812 # We found a bogon in the path, so make sure we never use it. 2813 set dummy $ac_cv_prog_CC 2814 shift 2815 if test $# != 0; then 2816 # We chose a different compiler from the bogus one. 2817 # However, it has the same basename, so the bogon will be chosen 2818 # first if we set CC to just the basename; use the full file name. 2819 shift 2820 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2821 fi 2822fi 2823fi 2824fi 2825CC=$ac_cv_prog_CC 2826if test -n "$CC"; then 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2828$as_echo "$CC" >&6; } 2829else 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2831$as_echo "no" >&6; } 2832fi 2833 2834 2835fi 2836if test -z "$CC"; then 2837 if test -n "$ac_tool_prefix"; then 2838 for ac_prog in cl.exe 2839 do 2840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2841set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2843$as_echo_n "checking for $ac_word... " >&6; } 2844if ${ac_cv_prog_CC+:} false; then : 2845 $as_echo_n "(cached) " >&6 2846else 2847 if test -n "$CC"; then 2848 ac_cv_prog_CC="$CC" # Let the user override the test. 2849else 2850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2851for as_dir in $PATH 2852do 2853 IFS=$as_save_IFS 2854 test -z "$as_dir" && as_dir=. 2855 for ac_exec_ext in '' $ac_executable_extensions; do 2856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2857 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2859 break 2 2860 fi 2861done 2862 done 2863IFS=$as_save_IFS 2864 2865fi 2866fi 2867CC=$ac_cv_prog_CC 2868if test -n "$CC"; then 2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2870$as_echo "$CC" >&6; } 2871else 2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2873$as_echo "no" >&6; } 2874fi 2875 2876 2877 test -n "$CC" && break 2878 done 2879fi 2880if test -z "$CC"; then 2881 ac_ct_CC=$CC 2882 for ac_prog in cl.exe 2883do 2884 # Extract the first word of "$ac_prog", so it can be a program name with args. 2885set dummy $ac_prog; ac_word=$2 2886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2887$as_echo_n "checking for $ac_word... " >&6; } 2888if ${ac_cv_prog_ac_ct_CC+:} false; then : 2889 $as_echo_n "(cached) " >&6 2890else 2891 if test -n "$ac_ct_CC"; then 2892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2893else 2894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2895for as_dir in $PATH 2896do 2897 IFS=$as_save_IFS 2898 test -z "$as_dir" && as_dir=. 2899 for ac_exec_ext in '' $ac_executable_extensions; do 2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2901 ac_cv_prog_ac_ct_CC="$ac_prog" 2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2903 break 2 2904 fi 2905done 2906 done 2907IFS=$as_save_IFS 2908 2909fi 2910fi 2911ac_ct_CC=$ac_cv_prog_ac_ct_CC 2912if test -n "$ac_ct_CC"; then 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2914$as_echo "$ac_ct_CC" >&6; } 2915else 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2917$as_echo "no" >&6; } 2918fi 2919 2920 2921 test -n "$ac_ct_CC" && break 2922done 2923 2924 if test "x$ac_ct_CC" = x; then 2925 CC="" 2926 else 2927 case $cross_compiling:$ac_tool_warned in 2928yes:) 2929{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2930$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2931ac_tool_warned=yes ;; 2932esac 2933 CC=$ac_ct_CC 2934 fi 2935fi 2936 2937fi 2938 2939 2940test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2941$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2942as_fn_error $? "no acceptable C compiler found in \$PATH 2943See \`config.log' for more details" "$LINENO" 5; } 2944 2945# Provide some information about the compiler. 2946$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2947set X $ac_compile 2948ac_compiler=$2 2949for ac_option in --version -v -V -qversion; do 2950 { { ac_try="$ac_compiler $ac_option >&5" 2951case "(($ac_try" in 2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2953 *) ac_try_echo=$ac_try;; 2954esac 2955eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2956$as_echo "$ac_try_echo"; } >&5 2957 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2958 ac_status=$? 2959 if test -s conftest.err; then 2960 sed '10a\ 2961... rest of stderr output deleted ... 2962 10q' conftest.err >conftest.er1 2963 cat conftest.er1 >&5 2964 fi 2965 rm -f conftest.er1 conftest.err 2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2967 test $ac_status = 0; } 2968done 2969 2970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2971/* end confdefs.h. */ 2972 2973int 2974main () 2975{ 2976 2977 ; 2978 return 0; 2979} 2980_ACEOF 2981ac_clean_files_save=$ac_clean_files 2982ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2983# Try to create an executable without -o first, disregard a.out. 2984# It will help us diagnose broken compilers, and finding out an intuition 2985# of exeext. 2986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2987$as_echo_n "checking whether the C compiler works... " >&6; } 2988ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2989 2990# The possible output files: 2991ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2992 2993ac_rmfiles= 2994for ac_file in $ac_files 2995do 2996 case $ac_file in 2997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2998 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2999 esac 3000done 3001rm -f $ac_rmfiles 3002 3003if { { ac_try="$ac_link_default" 3004case "(($ac_try" in 3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3006 *) ac_try_echo=$ac_try;; 3007esac 3008eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3009$as_echo "$ac_try_echo"; } >&5 3010 (eval "$ac_link_default") 2>&5 3011 ac_status=$? 3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3013 test $ac_status = 0; }; then : 3014 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3015# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3016# in a Makefile. We should not override ac_cv_exeext if it was cached, 3017# so that the user can short-circuit this test for compilers unknown to 3018# Autoconf. 3019for ac_file in $ac_files '' 3020do 3021 test -f "$ac_file" || continue 3022 case $ac_file in 3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3024 ;; 3025 [ab].out ) 3026 # We found the default executable, but exeext='' is most 3027 # certainly right. 3028 break;; 3029 *.* ) 3030 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3031 then :; else 3032 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3033 fi 3034 # We set ac_cv_exeext here because the later test for it is not 3035 # safe: cross compilers may not add the suffix if given an `-o' 3036 # argument, so we may need to know it at that point already. 3037 # Even if this section looks crufty: it has the advantage of 3038 # actually working. 3039 break;; 3040 * ) 3041 break;; 3042 esac 3043done 3044test "$ac_cv_exeext" = no && ac_cv_exeext= 3045 3046else 3047 ac_file='' 3048fi 3049if test -z "$ac_file"; then : 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3051$as_echo "no" >&6; } 3052$as_echo "$as_me: failed program was:" >&5 3053sed 's/^/| /' conftest.$ac_ext >&5 3054 3055{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3056$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3057as_fn_error 77 "C compiler cannot create executables 3058See \`config.log' for more details" "$LINENO" 5; } 3059else 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3061$as_echo "yes" >&6; } 3062fi 3063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3064$as_echo_n "checking for C compiler default output file name... " >&6; } 3065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3066$as_echo "$ac_file" >&6; } 3067ac_exeext=$ac_cv_exeext 3068 3069rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3070ac_clean_files=$ac_clean_files_save 3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3072$as_echo_n "checking for suffix of executables... " >&6; } 3073if { { ac_try="$ac_link" 3074case "(($ac_try" in 3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3076 *) ac_try_echo=$ac_try;; 3077esac 3078eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3079$as_echo "$ac_try_echo"; } >&5 3080 (eval "$ac_link") 2>&5 3081 ac_status=$? 3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3083 test $ac_status = 0; }; then : 3084 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3085# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3086# work properly (i.e., refer to `conftest.exe'), while it won't with 3087# `rm'. 3088for ac_file in conftest.exe conftest conftest.*; do 3089 test -f "$ac_file" || continue 3090 case $ac_file in 3091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3092 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3093 break;; 3094 * ) break;; 3095 esac 3096done 3097else 3098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3099$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3100as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3101See \`config.log' for more details" "$LINENO" 5; } 3102fi 3103rm -f conftest conftest$ac_cv_exeext 3104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3105$as_echo "$ac_cv_exeext" >&6; } 3106 3107rm -f conftest.$ac_ext 3108EXEEXT=$ac_cv_exeext 3109ac_exeext=$EXEEXT 3110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3111/* end confdefs.h. */ 3112#include <stdio.h> 3113int 3114main () 3115{ 3116FILE *f = fopen ("conftest.out", "w"); 3117 return ferror (f) || fclose (f) != 0; 3118 3119 ; 3120 return 0; 3121} 3122_ACEOF 3123ac_clean_files="$ac_clean_files conftest.out" 3124# Check that the compiler produces executables we can run. If not, either 3125# the compiler is broken, or we cross compile. 3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3127$as_echo_n "checking whether we are cross compiling... " >&6; } 3128if test "$cross_compiling" != yes; then 3129 { { ac_try="$ac_link" 3130case "(($ac_try" in 3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3132 *) ac_try_echo=$ac_try;; 3133esac 3134eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3135$as_echo "$ac_try_echo"; } >&5 3136 (eval "$ac_link") 2>&5 3137 ac_status=$? 3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3139 test $ac_status = 0; } 3140 if { ac_try='./conftest$ac_cv_exeext' 3141 { { case "(($ac_try" in 3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3143 *) ac_try_echo=$ac_try;; 3144esac 3145eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3146$as_echo "$ac_try_echo"; } >&5 3147 (eval "$ac_try") 2>&5 3148 ac_status=$? 3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3150 test $ac_status = 0; }; }; then 3151 cross_compiling=no 3152 else 3153 if test "$cross_compiling" = maybe; then 3154 cross_compiling=yes 3155 else 3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3157$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3158as_fn_error $? "cannot run C compiled programs. 3159If you meant to cross compile, use \`--host'. 3160See \`config.log' for more details" "$LINENO" 5; } 3161 fi 3162 fi 3163fi 3164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3165$as_echo "$cross_compiling" >&6; } 3166 3167rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3168ac_clean_files=$ac_clean_files_save 3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3170$as_echo_n "checking for suffix of object files... " >&6; } 3171if ${ac_cv_objext+:} false; then : 3172 $as_echo_n "(cached) " >&6 3173else 3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3175/* end confdefs.h. */ 3176 3177int 3178main () 3179{ 3180 3181 ; 3182 return 0; 3183} 3184_ACEOF 3185rm -f conftest.o conftest.obj 3186if { { ac_try="$ac_compile" 3187case "(($ac_try" in 3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3189 *) ac_try_echo=$ac_try;; 3190esac 3191eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3192$as_echo "$ac_try_echo"; } >&5 3193 (eval "$ac_compile") 2>&5 3194 ac_status=$? 3195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3196 test $ac_status = 0; }; then : 3197 for ac_file in conftest.o conftest.obj conftest.*; do 3198 test -f "$ac_file" || continue; 3199 case $ac_file in 3200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3201 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3202 break;; 3203 esac 3204done 3205else 3206 $as_echo "$as_me: failed program was:" >&5 3207sed 's/^/| /' conftest.$ac_ext >&5 3208 3209{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3210$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3211as_fn_error $? "cannot compute suffix of object files: cannot compile 3212See \`config.log' for more details" "$LINENO" 5; } 3213fi 3214rm -f conftest.$ac_cv_objext conftest.$ac_ext 3215fi 3216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3217$as_echo "$ac_cv_objext" >&6; } 3218OBJEXT=$ac_cv_objext 3219ac_objext=$OBJEXT 3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3221$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3222if ${ac_cv_c_compiler_gnu+:} false; then : 3223 $as_echo_n "(cached) " >&6 3224else 3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3226/* end confdefs.h. */ 3227 3228int 3229main () 3230{ 3231#ifndef __GNUC__ 3232 choke me 3233#endif 3234 3235 ; 3236 return 0; 3237} 3238_ACEOF 3239if ac_fn_c_try_compile "$LINENO"; then : 3240 ac_compiler_gnu=yes 3241else 3242 ac_compiler_gnu=no 3243fi 3244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3245ac_cv_c_compiler_gnu=$ac_compiler_gnu 3246 3247fi 3248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3249$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3250if test $ac_compiler_gnu = yes; then 3251 GCC=yes 3252else 3253 GCC= 3254fi 3255ac_test_CFLAGS=${CFLAGS+set} 3256ac_save_CFLAGS=$CFLAGS 3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3258$as_echo_n "checking whether $CC accepts -g... " >&6; } 3259if ${ac_cv_prog_cc_g+:} false; then : 3260 $as_echo_n "(cached) " >&6 3261else 3262 ac_save_c_werror_flag=$ac_c_werror_flag 3263 ac_c_werror_flag=yes 3264 ac_cv_prog_cc_g=no 3265 CFLAGS="-g" 3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3267/* end confdefs.h. */ 3268 3269int 3270main () 3271{ 3272 3273 ; 3274 return 0; 3275} 3276_ACEOF 3277if ac_fn_c_try_compile "$LINENO"; then : 3278 ac_cv_prog_cc_g=yes 3279else 3280 CFLAGS="" 3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3282/* end confdefs.h. */ 3283 3284int 3285main () 3286{ 3287 3288 ; 3289 return 0; 3290} 3291_ACEOF 3292if ac_fn_c_try_compile "$LINENO"; then : 3293 3294else 3295 ac_c_werror_flag=$ac_save_c_werror_flag 3296 CFLAGS="-g" 3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3298/* end confdefs.h. */ 3299 3300int 3301main () 3302{ 3303 3304 ; 3305 return 0; 3306} 3307_ACEOF 3308if ac_fn_c_try_compile "$LINENO"; then : 3309 ac_cv_prog_cc_g=yes 3310fi 3311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3312fi 3313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3314fi 3315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3316 ac_c_werror_flag=$ac_save_c_werror_flag 3317fi 3318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3319$as_echo "$ac_cv_prog_cc_g" >&6; } 3320if test "$ac_test_CFLAGS" = set; then 3321 CFLAGS=$ac_save_CFLAGS 3322elif test $ac_cv_prog_cc_g = yes; then 3323 if test "$GCC" = yes; then 3324 CFLAGS="-g -O2" 3325 else 3326 CFLAGS="-g" 3327 fi 3328else 3329 if test "$GCC" = yes; then 3330 CFLAGS="-O2" 3331 else 3332 CFLAGS= 3333 fi 3334fi 3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3336$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3337if ${ac_cv_prog_cc_c89+:} false; then : 3338 $as_echo_n "(cached) " >&6 3339else 3340 ac_cv_prog_cc_c89=no 3341ac_save_CC=$CC 3342cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3343/* end confdefs.h. */ 3344#include <stdarg.h> 3345#include <stdio.h> 3346#include <sys/types.h> 3347#include <sys/stat.h> 3348/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3349struct buf { int x; }; 3350FILE * (*rcsopen) (struct buf *, struct stat *, int); 3351static char *e (p, i) 3352 char **p; 3353 int i; 3354{ 3355 return p[i]; 3356} 3357static char *f (char * (*g) (char **, int), char **p, ...) 3358{ 3359 char *s; 3360 va_list v; 3361 va_start (v,p); 3362 s = g (p, va_arg (v,int)); 3363 va_end (v); 3364 return s; 3365} 3366 3367/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3368 function prototypes and stuff, but not '\xHH' hex character constants. 3369 These don't provoke an error unfortunately, instead are silently treated 3370 as 'x'. The following induces an error, until -std is added to get 3371 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3372 array size at least. It's necessary to write '\x00'==0 to get something 3373 that's true only with -std. */ 3374int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3375 3376/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3377 inside strings and character constants. */ 3378#define FOO(x) 'x' 3379int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3380 3381int test (int i, double x); 3382struct s1 {int (*f) (int a);}; 3383struct s2 {int (*f) (double a);}; 3384int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3385int argc; 3386char **argv; 3387int 3388main () 3389{ 3390return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3391 ; 3392 return 0; 3393} 3394_ACEOF 3395for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3396 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3397do 3398 CC="$ac_save_CC $ac_arg" 3399 if ac_fn_c_try_compile "$LINENO"; then : 3400 ac_cv_prog_cc_c89=$ac_arg 3401fi 3402rm -f core conftest.err conftest.$ac_objext 3403 test "x$ac_cv_prog_cc_c89" != "xno" && break 3404done 3405rm -f conftest.$ac_ext 3406CC=$ac_save_CC 3407 3408fi 3409# AC_CACHE_VAL 3410case "x$ac_cv_prog_cc_c89" in 3411 x) 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3413$as_echo "none needed" >&6; } ;; 3414 xno) 3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3416$as_echo "unsupported" >&6; } ;; 3417 *) 3418 CC="$CC $ac_cv_prog_cc_c89" 3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3420$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3421esac 3422if test "x$ac_cv_prog_cc_c89" != xno; then : 3423 3424fi 3425 3426ac_ext=c 3427ac_cpp='$CPP $CPPFLAGS' 3428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3430ac_compiler_gnu=$ac_cv_c_compiler_gnu 3431 3432depcc="$CC" am_compiler_list= 3433 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3435$as_echo_n "checking dependency style of $depcc... " >&6; } 3436if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3437 $as_echo_n "(cached) " >&6 3438else 3439 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3440 # We make a subdir and do the tests there. Otherwise we can end up 3441 # making bogus files that we don't know about and never remove. For 3442 # instance it was reported that on HP-UX the gcc test will end up 3443 # making a dummy file named `D' -- because `-MD' means `put the output 3444 # in D'. 3445 mkdir conftest.dir 3446 # Copy depcomp to subdir because otherwise we won't find it if we're 3447 # using a relative directory. 3448 cp "$am_depcomp" conftest.dir 3449 cd conftest.dir 3450 # We will build objects and dependencies in a subdirectory because 3451 # it helps to detect inapplicable dependency modes. For instance 3452 # both Tru64's cc and ICC support -MD to output dependencies as a 3453 # side effect of compilation, but ICC will put the dependencies in 3454 # the current directory while Tru64 will put them in the object 3455 # directory. 3456 mkdir sub 3457 3458 am_cv_CC_dependencies_compiler_type=none 3459 if test "$am_compiler_list" = ""; then 3460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3461 fi 3462 am__universal=false 3463 case " $depcc " in #( 3464 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3465 esac 3466 3467 for depmode in $am_compiler_list; do 3468 # Setup a source with many dependencies, because some compilers 3469 # like to wrap large dependency lists on column 80 (with \), and 3470 # we should not choose a depcomp mode which is confused by this. 3471 # 3472 # We need to recreate these files for each test, as the compiler may 3473 # overwrite some of them when testing with obscure command lines. 3474 # This happens at least with the AIX C compiler. 3475 : > sub/conftest.c 3476 for i in 1 2 3 4 5 6; do 3477 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3478 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3479 # Solaris 8's {/usr,}/bin/sh. 3480 touch sub/conftst$i.h 3481 done 3482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3483 3484 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3485 # mode. It turns out that the SunPro C++ compiler does not properly 3486 # handle `-M -o', and we need to detect this. Also, some Intel 3487 # versions had trouble with output in subdirs 3488 am__obj=sub/conftest.${OBJEXT-o} 3489 am__minus_obj="-o $am__obj" 3490 case $depmode in 3491 gcc) 3492 # This depmode causes a compiler race in universal mode. 3493 test "$am__universal" = false || continue 3494 ;; 3495 nosideeffect) 3496 # after this tag, mechanisms are not by side-effect, so they'll 3497 # only be used when explicitly requested 3498 if test "x$enable_dependency_tracking" = xyes; then 3499 continue 3500 else 3501 break 3502 fi 3503 ;; 3504 msvisualcpp | msvcmsys) 3505 # This compiler won't grok `-c -o', but also, the minuso test has 3506 # not run yet. These depmodes are late enough in the game, and 3507 # so weak that their functioning should not be impacted. 3508 am__obj=conftest.${OBJEXT-o} 3509 am__minus_obj= 3510 ;; 3511 none) break ;; 3512 esac 3513 if depmode=$depmode \ 3514 source=sub/conftest.c object=$am__obj \ 3515 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3516 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3517 >/dev/null 2>conftest.err && 3518 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3519 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3520 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3521 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3522 # icc doesn't choke on unknown options, it will just issue warnings 3523 # or remarks (even with -Werror). So we grep stderr for any message 3524 # that says an option was ignored or not supported. 3525 # When given -MP, icc 7.0 and 7.1 complain thusly: 3526 # icc: Command line warning: ignoring option '-M'; no argument required 3527 # The diagnosis changed in icc 8.0: 3528 # icc: Command line remark: option '-MP' not supported 3529 if (grep 'ignoring option' conftest.err || 3530 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3531 am_cv_CC_dependencies_compiler_type=$depmode 3532 break 3533 fi 3534 fi 3535 done 3536 3537 cd .. 3538 rm -rf conftest.dir 3539else 3540 am_cv_CC_dependencies_compiler_type=none 3541fi 3542 3543fi 3544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3545$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3546CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3547 3548 if 3549 test "x$enable_dependency_tracking" != xno \ 3550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3551 am__fastdepCC_TRUE= 3552 am__fastdepCC_FALSE='#' 3553else 3554 am__fastdepCC_TRUE='#' 3555 am__fastdepCC_FALSE= 3556fi 3557 3558 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3560$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3561if ${ac_cv_prog_cc_c99+:} false; then : 3562 $as_echo_n "(cached) " >&6 3563else 3564 ac_cv_prog_cc_c99=no 3565ac_save_CC=$CC 3566cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3567/* end confdefs.h. */ 3568#include <stdarg.h> 3569#include <stdbool.h> 3570#include <stdlib.h> 3571#include <wchar.h> 3572#include <stdio.h> 3573 3574// Check varargs macros. These examples are taken from C99 6.10.3.5. 3575#define debug(...) fprintf (stderr, __VA_ARGS__) 3576#define showlist(...) puts (#__VA_ARGS__) 3577#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3578static void 3579test_varargs_macros (void) 3580{ 3581 int x = 1234; 3582 int y = 5678; 3583 debug ("Flag"); 3584 debug ("X = %d\n", x); 3585 showlist (The first, second, and third items.); 3586 report (x>y, "x is %d but y is %d", x, y); 3587} 3588 3589// Check long long types. 3590#define BIG64 18446744073709551615ull 3591#define BIG32 4294967295ul 3592#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3593#if !BIG_OK 3594 your preprocessor is broken; 3595#endif 3596#if BIG_OK 3597#else 3598 your preprocessor is broken; 3599#endif 3600static long long int bignum = -9223372036854775807LL; 3601static unsigned long long int ubignum = BIG64; 3602 3603struct incomplete_array 3604{ 3605 int datasize; 3606 double data[]; 3607}; 3608 3609struct named_init { 3610 int number; 3611 const wchar_t *name; 3612 double average; 3613}; 3614 3615typedef const char *ccp; 3616 3617static inline int 3618test_restrict (ccp restrict text) 3619{ 3620 // See if C++-style comments work. 3621 // Iterate through items via the restricted pointer. 3622 // Also check for declarations in for loops. 3623 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3624 continue; 3625 return 0; 3626} 3627 3628// Check varargs and va_copy. 3629static void 3630test_varargs (const char *format, ...) 3631{ 3632 va_list args; 3633 va_start (args, format); 3634 va_list args_copy; 3635 va_copy (args_copy, args); 3636 3637 const char *str; 3638 int number; 3639 float fnumber; 3640 3641 while (*format) 3642 { 3643 switch (*format++) 3644 { 3645 case 's': // string 3646 str = va_arg (args_copy, const char *); 3647 break; 3648 case 'd': // int 3649 number = va_arg (args_copy, int); 3650 break; 3651 case 'f': // float 3652 fnumber = va_arg (args_copy, double); 3653 break; 3654 default: 3655 break; 3656 } 3657 } 3658 va_end (args_copy); 3659 va_end (args); 3660} 3661 3662int 3663main () 3664{ 3665 3666 // Check bool. 3667 _Bool success = false; 3668 3669 // Check restrict. 3670 if (test_restrict ("String literal") == 0) 3671 success = true; 3672 char *restrict newvar = "Another string"; 3673 3674 // Check varargs. 3675 test_varargs ("s, d' f .", "string", 65, 34.234); 3676 test_varargs_macros (); 3677 3678 // Check flexible array members. 3679 struct incomplete_array *ia = 3680 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3681 ia->datasize = 10; 3682 for (int i = 0; i < ia->datasize; ++i) 3683 ia->data[i] = i * 1.234; 3684 3685 // Check named initializers. 3686 struct named_init ni = { 3687 .number = 34, 3688 .name = L"Test wide string", 3689 .average = 543.34343, 3690 }; 3691 3692 ni.number = 58; 3693 3694 int dynamic_array[ni.number]; 3695 dynamic_array[ni.number - 1] = 543; 3696 3697 // work around unused variable warnings 3698 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3699 || dynamic_array[ni.number - 1] != 543); 3700 3701 ; 3702 return 0; 3703} 3704_ACEOF 3705for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3706do 3707 CC="$ac_save_CC $ac_arg" 3708 if ac_fn_c_try_compile "$LINENO"; then : 3709 ac_cv_prog_cc_c99=$ac_arg 3710fi 3711rm -f core conftest.err conftest.$ac_objext 3712 test "x$ac_cv_prog_cc_c99" != "xno" && break 3713done 3714rm -f conftest.$ac_ext 3715CC=$ac_save_CC 3716 3717fi 3718# AC_CACHE_VAL 3719case "x$ac_cv_prog_cc_c99" in 3720 x) 3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3722$as_echo "none needed" >&6; } ;; 3723 xno) 3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3725$as_echo "unsupported" >&6; } ;; 3726 *) 3727 CC="$CC $ac_cv_prog_cc_c99" 3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3729$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3730esac 3731if test "x$ac_cv_prog_cc_c99" != xno; then : 3732 3733fi 3734 3735 3736 3737ac_ext=c 3738ac_cpp='$CPP $CPPFLAGS' 3739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3741ac_compiler_gnu=$ac_cv_c_compiler_gnu 3742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3743$as_echo_n "checking how to run the C preprocessor... " >&6; } 3744# On Suns, sometimes $CPP names a directory. 3745if test -n "$CPP" && test -d "$CPP"; then 3746 CPP= 3747fi 3748if test -z "$CPP"; then 3749 if ${ac_cv_prog_CPP+:} false; then : 3750 $as_echo_n "(cached) " >&6 3751else 3752 # Double quotes because CPP needs to be expanded 3753 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3754 do 3755 ac_preproc_ok=false 3756for ac_c_preproc_warn_flag in '' yes 3757do 3758 # Use a header file that comes with gcc, so configuring glibc 3759 # with a fresh cross-compiler works. 3760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3761 # <limits.h> exists even on freestanding compilers. 3762 # On the NeXT, cc -E runs the code through the compiler's parser, 3763 # not just through cpp. "Syntax error" is here to catch this case. 3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3765/* end confdefs.h. */ 3766#ifdef __STDC__ 3767# include <limits.h> 3768#else 3769# include <assert.h> 3770#endif 3771 Syntax error 3772_ACEOF 3773if ac_fn_c_try_cpp "$LINENO"; then : 3774 3775else 3776 # Broken: fails on valid input. 3777continue 3778fi 3779rm -f conftest.err conftest.i conftest.$ac_ext 3780 3781 # OK, works on sane cases. Now check whether nonexistent headers 3782 # can be detected and how. 3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3784/* end confdefs.h. */ 3785#include <ac_nonexistent.h> 3786_ACEOF 3787if ac_fn_c_try_cpp "$LINENO"; then : 3788 # Broken: success on invalid input. 3789continue 3790else 3791 # Passes both tests. 3792ac_preproc_ok=: 3793break 3794fi 3795rm -f conftest.err conftest.i conftest.$ac_ext 3796 3797done 3798# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3799rm -f conftest.i conftest.err conftest.$ac_ext 3800if $ac_preproc_ok; then : 3801 break 3802fi 3803 3804 done 3805 ac_cv_prog_CPP=$CPP 3806 3807fi 3808 CPP=$ac_cv_prog_CPP 3809else 3810 ac_cv_prog_CPP=$CPP 3811fi 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3813$as_echo "$CPP" >&6; } 3814ac_preproc_ok=false 3815for ac_c_preproc_warn_flag in '' yes 3816do 3817 # Use a header file that comes with gcc, so configuring glibc 3818 # with a fresh cross-compiler works. 3819 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3820 # <limits.h> exists even on freestanding compilers. 3821 # On the NeXT, cc -E runs the code through the compiler's parser, 3822 # not just through cpp. "Syntax error" is here to catch this case. 3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3824/* end confdefs.h. */ 3825#ifdef __STDC__ 3826# include <limits.h> 3827#else 3828# include <assert.h> 3829#endif 3830 Syntax error 3831_ACEOF 3832if ac_fn_c_try_cpp "$LINENO"; then : 3833 3834else 3835 # Broken: fails on valid input. 3836continue 3837fi 3838rm -f conftest.err conftest.i conftest.$ac_ext 3839 3840 # OK, works on sane cases. Now check whether nonexistent headers 3841 # can be detected and how. 3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843/* end confdefs.h. */ 3844#include <ac_nonexistent.h> 3845_ACEOF 3846if ac_fn_c_try_cpp "$LINENO"; then : 3847 # Broken: success on invalid input. 3848continue 3849else 3850 # Passes both tests. 3851ac_preproc_ok=: 3852break 3853fi 3854rm -f conftest.err conftest.i conftest.$ac_ext 3855 3856done 3857# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3858rm -f conftest.i conftest.err conftest.$ac_ext 3859if $ac_preproc_ok; then : 3860 3861else 3862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3863$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3864as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3865See \`config.log' for more details" "$LINENO" 5; } 3866fi 3867 3868ac_ext=c 3869ac_cpp='$CPP $CPPFLAGS' 3870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3872ac_compiler_gnu=$ac_cv_c_compiler_gnu 3873 3874 3875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3876$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3877if ${ac_cv_path_GREP+:} false; then : 3878 $as_echo_n "(cached) " >&6 3879else 3880 if test -z "$GREP"; then 3881 ac_path_GREP_found=false 3882 # Loop through the user's path and test for each of PROGNAME-LIST 3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3884for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3885do 3886 IFS=$as_save_IFS 3887 test -z "$as_dir" && as_dir=. 3888 for ac_prog in grep ggrep; do 3889 for ac_exec_ext in '' $ac_executable_extensions; do 3890 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3891 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3892# Check for GNU ac_path_GREP and select it if it is found. 3893 # Check for GNU $ac_path_GREP 3894case `"$ac_path_GREP" --version 2>&1` in 3895*GNU*) 3896 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3897*) 3898 ac_count=0 3899 $as_echo_n 0123456789 >"conftest.in" 3900 while : 3901 do 3902 cat "conftest.in" "conftest.in" >"conftest.tmp" 3903 mv "conftest.tmp" "conftest.in" 3904 cp "conftest.in" "conftest.nl" 3905 $as_echo 'GREP' >> "conftest.nl" 3906 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3907 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3908 as_fn_arith $ac_count + 1 && ac_count=$as_val 3909 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3910 # Best one so far, save it but keep looking for a better one 3911 ac_cv_path_GREP="$ac_path_GREP" 3912 ac_path_GREP_max=$ac_count 3913 fi 3914 # 10*(2^10) chars as input seems more than enough 3915 test $ac_count -gt 10 && break 3916 done 3917 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3918esac 3919 3920 $ac_path_GREP_found && break 3 3921 done 3922 done 3923 done 3924IFS=$as_save_IFS 3925 if test -z "$ac_cv_path_GREP"; then 3926 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3927 fi 3928else 3929 ac_cv_path_GREP=$GREP 3930fi 3931 3932fi 3933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3934$as_echo "$ac_cv_path_GREP" >&6; } 3935 GREP="$ac_cv_path_GREP" 3936 3937 3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3939$as_echo_n "checking for egrep... " >&6; } 3940if ${ac_cv_path_EGREP+:} false; then : 3941 $as_echo_n "(cached) " >&6 3942else 3943 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3944 then ac_cv_path_EGREP="$GREP -E" 3945 else 3946 if test -z "$EGREP"; then 3947 ac_path_EGREP_found=false 3948 # Loop through the user's path and test for each of PROGNAME-LIST 3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3950for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3951do 3952 IFS=$as_save_IFS 3953 test -z "$as_dir" && as_dir=. 3954 for ac_prog in egrep; do 3955 for ac_exec_ext in '' $ac_executable_extensions; do 3956 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3957 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3958# Check for GNU ac_path_EGREP and select it if it is found. 3959 # Check for GNU $ac_path_EGREP 3960case `"$ac_path_EGREP" --version 2>&1` in 3961*GNU*) 3962 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3963*) 3964 ac_count=0 3965 $as_echo_n 0123456789 >"conftest.in" 3966 while : 3967 do 3968 cat "conftest.in" "conftest.in" >"conftest.tmp" 3969 mv "conftest.tmp" "conftest.in" 3970 cp "conftest.in" "conftest.nl" 3971 $as_echo 'EGREP' >> "conftest.nl" 3972 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3973 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3974 as_fn_arith $ac_count + 1 && ac_count=$as_val 3975 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3976 # Best one so far, save it but keep looking for a better one 3977 ac_cv_path_EGREP="$ac_path_EGREP" 3978 ac_path_EGREP_max=$ac_count 3979 fi 3980 # 10*(2^10) chars as input seems more than enough 3981 test $ac_count -gt 10 && break 3982 done 3983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3984esac 3985 3986 $ac_path_EGREP_found && break 3 3987 done 3988 done 3989 done 3990IFS=$as_save_IFS 3991 if test -z "$ac_cv_path_EGREP"; then 3992 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3993 fi 3994else 3995 ac_cv_path_EGREP=$EGREP 3996fi 3997 3998 fi 3999fi 4000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4001$as_echo "$ac_cv_path_EGREP" >&6; } 4002 EGREP="$ac_cv_path_EGREP" 4003 4004 4005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4006$as_echo_n "checking for ANSI C header files... " >&6; } 4007if ${ac_cv_header_stdc+:} false; then : 4008 $as_echo_n "(cached) " >&6 4009else 4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4011/* end confdefs.h. */ 4012#include <stdlib.h> 4013#include <stdarg.h> 4014#include <string.h> 4015#include <float.h> 4016 4017int 4018main () 4019{ 4020 4021 ; 4022 return 0; 4023} 4024_ACEOF 4025if ac_fn_c_try_compile "$LINENO"; then : 4026 ac_cv_header_stdc=yes 4027else 4028 ac_cv_header_stdc=no 4029fi 4030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4031 4032if test $ac_cv_header_stdc = yes; then 4033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4035/* end confdefs.h. */ 4036#include <string.h> 4037 4038_ACEOF 4039if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4040 $EGREP "memchr" >/dev/null 2>&1; then : 4041 4042else 4043 ac_cv_header_stdc=no 4044fi 4045rm -f conftest* 4046 4047fi 4048 4049if test $ac_cv_header_stdc = yes; then 4050 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4052/* end confdefs.h. */ 4053#include <stdlib.h> 4054 4055_ACEOF 4056if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4057 $EGREP "free" >/dev/null 2>&1; then : 4058 4059else 4060 ac_cv_header_stdc=no 4061fi 4062rm -f conftest* 4063 4064fi 4065 4066if test $ac_cv_header_stdc = yes; then 4067 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4068 if test "$cross_compiling" = yes; then : 4069 : 4070else 4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4072/* end confdefs.h. */ 4073#include <ctype.h> 4074#include <stdlib.h> 4075#if ((' ' & 0x0FF) == 0x020) 4076# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4077# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4078#else 4079# define ISLOWER(c) \ 4080 (('a' <= (c) && (c) <= 'i') \ 4081 || ('j' <= (c) && (c) <= 'r') \ 4082 || ('s' <= (c) && (c) <= 'z')) 4083# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4084#endif 4085 4086#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4087int 4088main () 4089{ 4090 int i; 4091 for (i = 0; i < 256; i++) 4092 if (XOR (islower (i), ISLOWER (i)) 4093 || toupper (i) != TOUPPER (i)) 4094 return 2; 4095 return 0; 4096} 4097_ACEOF 4098if ac_fn_c_try_run "$LINENO"; then : 4099 4100else 4101 ac_cv_header_stdc=no 4102fi 4103rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4104 conftest.$ac_objext conftest.beam conftest.$ac_ext 4105fi 4106 4107fi 4108fi 4109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4110$as_echo "$ac_cv_header_stdc" >&6; } 4111if test $ac_cv_header_stdc = yes; then 4112 4113$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4114 4115fi 4116 4117# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4118for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4119 inttypes.h stdint.h unistd.h 4120do : 4121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4122ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4123" 4124if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4125 cat >>confdefs.h <<_ACEOF 4126#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4127_ACEOF 4128 4129fi 4130 4131done 4132 4133 4134 4135 4136if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4137 if test -n "$ac_tool_prefix"; then 4138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4139set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4141$as_echo_n "checking for $ac_word... " >&6; } 4142if ${ac_cv_path_PKG_CONFIG+:} false; then : 4143 $as_echo_n "(cached) " >&6 4144else 4145 case $PKG_CONFIG in 4146 [\\/]* | ?:[\\/]*) 4147 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4148 ;; 4149 *) 4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4151for as_dir in $PATH 4152do 4153 IFS=$as_save_IFS 4154 test -z "$as_dir" && as_dir=. 4155 for ac_exec_ext in '' $ac_executable_extensions; do 4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4157 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4159 break 2 4160 fi 4161done 4162 done 4163IFS=$as_save_IFS 4164 4165 ;; 4166esac 4167fi 4168PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4169if test -n "$PKG_CONFIG"; then 4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4171$as_echo "$PKG_CONFIG" >&6; } 4172else 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4174$as_echo "no" >&6; } 4175fi 4176 4177 4178fi 4179if test -z "$ac_cv_path_PKG_CONFIG"; then 4180 ac_pt_PKG_CONFIG=$PKG_CONFIG 4181 # Extract the first word of "pkg-config", so it can be a program name with args. 4182set dummy pkg-config; ac_word=$2 4183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4184$as_echo_n "checking for $ac_word... " >&6; } 4185if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4186 $as_echo_n "(cached) " >&6 4187else 4188 case $ac_pt_PKG_CONFIG in 4189 [\\/]* | ?:[\\/]*) 4190 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4191 ;; 4192 *) 4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4194for as_dir in $PATH 4195do 4196 IFS=$as_save_IFS 4197 test -z "$as_dir" && as_dir=. 4198 for ac_exec_ext in '' $ac_executable_extensions; do 4199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4200 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4202 break 2 4203 fi 4204done 4205 done 4206IFS=$as_save_IFS 4207 4208 ;; 4209esac 4210fi 4211ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4212if test -n "$ac_pt_PKG_CONFIG"; then 4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4214$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4215else 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4217$as_echo "no" >&6; } 4218fi 4219 4220 if test "x$ac_pt_PKG_CONFIG" = x; then 4221 PKG_CONFIG="" 4222 else 4223 case $cross_compiling:$ac_tool_warned in 4224yes:) 4225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4227ac_tool_warned=yes ;; 4228esac 4229 PKG_CONFIG=$ac_pt_PKG_CONFIG 4230 fi 4231else 4232 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4233fi 4234 4235fi 4236if test -n "$PKG_CONFIG"; then 4237 _pkg_min_version=0.9.0 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4239$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4240 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4242$as_echo "yes" >&6; } 4243 else 4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4245$as_echo "no" >&6; } 4246 PKG_CONFIG="" 4247 fi 4248 4249fi 4250# Make sure we can run config.sub. 4251$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4252 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4253 4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4255$as_echo_n "checking build system type... " >&6; } 4256if ${ac_cv_build+:} false; then : 4257 $as_echo_n "(cached) " >&6 4258else 4259 ac_build_alias=$build_alias 4260test "x$ac_build_alias" = x && 4261 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4262test "x$ac_build_alias" = x && 4263 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4264ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4265 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4266 4267fi 4268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4269$as_echo "$ac_cv_build" >&6; } 4270case $ac_cv_build in 4271*-*-*) ;; 4272*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4273esac 4274build=$ac_cv_build 4275ac_save_IFS=$IFS; IFS='-' 4276set x $ac_cv_build 4277shift 4278build_cpu=$1 4279build_vendor=$2 4280shift; shift 4281# Remember, the first character of IFS is used to create $*, 4282# except with old shells: 4283build_os=$* 4284IFS=$ac_save_IFS 4285case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4286 4287 4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4289$as_echo_n "checking host system type... " >&6; } 4290if ${ac_cv_host+:} false; then : 4291 $as_echo_n "(cached) " >&6 4292else 4293 if test "x$host_alias" = x; then 4294 ac_cv_host=$ac_cv_build 4295else 4296 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4297 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4298fi 4299 4300fi 4301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4302$as_echo "$ac_cv_host" >&6; } 4303case $ac_cv_host in 4304*-*-*) ;; 4305*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4306esac 4307host=$ac_cv_host 4308ac_save_IFS=$IFS; IFS='-' 4309set x $ac_cv_host 4310shift 4311host_cpu=$1 4312host_vendor=$2 4313shift; shift 4314# Remember, the first character of IFS is used to create $*, 4315# except with old shells: 4316host_os=$* 4317IFS=$ac_save_IFS 4318case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4319 4320 4321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4322$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4323if ${ac_cv_path_SED+:} false; then : 4324 $as_echo_n "(cached) " >&6 4325else 4326 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4327 for ac_i in 1 2 3 4 5 6 7; do 4328 ac_script="$ac_script$as_nl$ac_script" 4329 done 4330 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4331 { ac_script=; unset ac_script;} 4332 if test -z "$SED"; then 4333 ac_path_SED_found=false 4334 # Loop through the user's path and test for each of PROGNAME-LIST 4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336for as_dir in $PATH 4337do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_prog in sed gsed; do 4341 for ac_exec_ext in '' $ac_executable_extensions; do 4342 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4343 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4344# Check for GNU ac_path_SED and select it if it is found. 4345 # Check for GNU $ac_path_SED 4346case `"$ac_path_SED" --version 2>&1` in 4347*GNU*) 4348 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4349*) 4350 ac_count=0 4351 $as_echo_n 0123456789 >"conftest.in" 4352 while : 4353 do 4354 cat "conftest.in" "conftest.in" >"conftest.tmp" 4355 mv "conftest.tmp" "conftest.in" 4356 cp "conftest.in" "conftest.nl" 4357 $as_echo '' >> "conftest.nl" 4358 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4360 as_fn_arith $ac_count + 1 && ac_count=$as_val 4361 if test $ac_count -gt ${ac_path_SED_max-0}; then 4362 # Best one so far, save it but keep looking for a better one 4363 ac_cv_path_SED="$ac_path_SED" 4364 ac_path_SED_max=$ac_count 4365 fi 4366 # 10*(2^10) chars as input seems more than enough 4367 test $ac_count -gt 10 && break 4368 done 4369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4370esac 4371 4372 $ac_path_SED_found && break 3 4373 done 4374 done 4375 done 4376IFS=$as_save_IFS 4377 if test -z "$ac_cv_path_SED"; then 4378 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4379 fi 4380else 4381 ac_cv_path_SED=$SED 4382fi 4383 4384fi 4385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4386$as_echo "$ac_cv_path_SED" >&6; } 4387 SED="$ac_cv_path_SED" 4388 rm -f conftest.sed 4389 4390 4391 4392 4393 4394if test "x$GCC" = xyes ; then 4395 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4396-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4397-Wbad-function-cast -Wformat=2" 4398 case `$CC -dumpversion` in 4399 3.4.* | 4.*) 4400 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4401 ;; 4402 esac 4403else 4404 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4405if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4406 SUNCC="yes" 4407else 4408 SUNCC="no" 4409fi 4410 4411 if test "x$SUNCC" = "xyes"; then 4412 CWARNFLAGS="-v" 4413 fi 4414fi 4415 4416 4417 4418# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4419 4420 4421 4422# Check whether --enable-strict-compilation was given. 4423if test "${enable_strict_compilation+set}" = set; then : 4424 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4425else 4426 STRICT_COMPILE=no 4427fi 4428 4429if test "x$STRICT_COMPILE" = "xyes"; then 4430 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4431if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4432 SUNCC="yes" 4433else 4434 SUNCC="no" 4435fi 4436 4437 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4438if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4439 INTELCC="yes" 4440else 4441 INTELCC="no" 4442fi 4443 4444 if test "x$GCC" = xyes ; then 4445 STRICT_CFLAGS="-pedantic -Werror" 4446 elif test "x$SUNCC" = "xyes"; then 4447 STRICT_CFLAGS="-errwarn" 4448 elif test "x$INTELCC" = "xyes"; then 4449 STRICT_CFLAGS="-Werror" 4450 fi 4451fi 4452CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4453 4454 4455 4456 4457cat >>confdefs.h <<_ACEOF 4458#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4459_ACEOF 4460 4461 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4462 if test "x$PVM" = "x"; then 4463 PVM="0" 4464 fi 4465 4466cat >>confdefs.h <<_ACEOF 4467#define PACKAGE_VERSION_MINOR $PVM 4468_ACEOF 4469 4470 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4471 if test "x$PVP" = "x"; then 4472 PVP="0" 4473 fi 4474 4475cat >>confdefs.h <<_ACEOF 4476#define PACKAGE_VERSION_PATCHLEVEL $PVP 4477_ACEOF 4478 4479 4480 4481CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4482mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4483|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4484echo 'git directory not found: installing possibly empty changelog.' >&2)" 4485 4486 4487 4488 4489macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4490INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4491mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4492|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4493echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4494 4495 4496 4497 4498 4499 4500if test x$APP_MAN_SUFFIX = x ; then 4501 APP_MAN_SUFFIX=1 4502fi 4503if test x$APP_MAN_DIR = x ; then 4504 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4505fi 4506 4507if test x$LIB_MAN_SUFFIX = x ; then 4508 LIB_MAN_SUFFIX=3 4509fi 4510if test x$LIB_MAN_DIR = x ; then 4511 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4512fi 4513 4514if test x$FILE_MAN_SUFFIX = x ; then 4515 case $host_os in 4516 solaris*) FILE_MAN_SUFFIX=4 ;; 4517 *) FILE_MAN_SUFFIX=5 ;; 4518 esac 4519fi 4520if test x$FILE_MAN_DIR = x ; then 4521 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4522fi 4523 4524if test x$MISC_MAN_SUFFIX = x ; then 4525 case $host_os in 4526 solaris*) MISC_MAN_SUFFIX=5 ;; 4527 *) MISC_MAN_SUFFIX=7 ;; 4528 esac 4529fi 4530if test x$MISC_MAN_DIR = x ; then 4531 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4532fi 4533 4534if test x$DRIVER_MAN_SUFFIX = x ; then 4535 case $host_os in 4536 solaris*) DRIVER_MAN_SUFFIX=7 ;; 4537 *) DRIVER_MAN_SUFFIX=4 ;; 4538 esac 4539fi 4540if test x$DRIVER_MAN_DIR = x ; then 4541 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4542fi 4543 4544if test x$ADMIN_MAN_SUFFIX = x ; then 4545 case $host_os in 4546 solaris*) ADMIN_MAN_SUFFIX=1m ;; 4547 *) ADMIN_MAN_SUFFIX=8 ;; 4548 esac 4549fi 4550if test x$ADMIN_MAN_DIR = x ; then 4551 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4552fi 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568XORG_MAN_PAGE="X Version 11" 4569 4570MAN_SUBSTS="\ 4571 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4572 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4573 -e 's|__xservername__|Xorg|g' \ 4574 -e 's|__xconfigfile__|xorg.conf|g' \ 4575 -e 's|__projectroot__|\$(prefix)|g' \ 4576 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4577 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4578 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4579 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4580 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4581 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4582 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4583 4584 4585 4586# Check whether --enable-silent-rules was given. 4587if test "${enable_silent_rules+set}" = set; then : 4588 enableval=$enable_silent_rules; 4589fi 4590 4591case $enable_silent_rules in 4592yes) AM_DEFAULT_VERBOSITY=0;; 4593no) AM_DEFAULT_VERBOSITY=1;; 4594*) AM_DEFAULT_VERBOSITY=0;; 4595esac 4596AM_BACKSLASH='\' 4597 4598 4599 4600 4601# Check whether --with-xkb-config-root was given. 4602if test "${with_xkb_config_root+set}" = set; then : 4603 withval=$with_xkb_config_root; XKBCONFIGROOT="$withval" 4604else 4605 XKBCONFIGROOT=${datadir}/X11/xkb 4606fi 4607 4608 4609 4610# Checks for pkg-config packages 4611 4612pkg_failed=no 4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SETXKBMAP" >&5 4614$as_echo_n "checking for SETXKBMAP... " >&6; } 4615 4616if test -n "$SETXKBMAP_CFLAGS"; then 4617 pkg_cv_SETXKBMAP_CFLAGS="$SETXKBMAP_CFLAGS" 4618 elif test -n "$PKG_CONFIG"; then 4619 if test -n "$PKG_CONFIG" && \ 4620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\""; } >&5 4621 ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5 4622 ac_status=$? 4623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4624 test $ac_status = 0; }; then 4625 pkg_cv_SETXKBMAP_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11" 2>/dev/null` 4626else 4627 pkg_failed=yes 4628fi 4629 else 4630 pkg_failed=untried 4631fi 4632if test -n "$SETXKBMAP_LIBS"; then 4633 pkg_cv_SETXKBMAP_LIBS="$SETXKBMAP_LIBS" 4634 elif test -n "$PKG_CONFIG"; then 4635 if test -n "$PKG_CONFIG" && \ 4636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\""; } >&5 4637 ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5 4638 ac_status=$? 4639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4640 test $ac_status = 0; }; then 4641 pkg_cv_SETXKBMAP_LIBS=`$PKG_CONFIG --libs "xkbfile x11" 2>/dev/null` 4642else 4643 pkg_failed=yes 4644fi 4645 else 4646 pkg_failed=untried 4647fi 4648 4649 4650 4651if test $pkg_failed = yes; then 4652 4653if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4654 _pkg_short_errors_supported=yes 4655else 4656 _pkg_short_errors_supported=no 4657fi 4658 if test $_pkg_short_errors_supported = yes; then 4659 SETXKBMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xkbfile x11" 2>&1` 4660 else 4661 SETXKBMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xkbfile x11" 2>&1` 4662 fi 4663 # Put the nasty error message in config.log where it belongs 4664 echo "$SETXKBMAP_PKG_ERRORS" >&5 4665 4666 as_fn_error $? "Package requirements (xkbfile x11) were not met: 4667 4668$SETXKBMAP_PKG_ERRORS 4669 4670Consider adjusting the PKG_CONFIG_PATH environment variable if you 4671installed software in a non-standard prefix. 4672 4673Alternatively, you may set the environment variables SETXKBMAP_CFLAGS 4674and SETXKBMAP_LIBS to avoid the need to call pkg-config. 4675See the pkg-config man page for more details. 4676" "$LINENO" 5 4677elif test $pkg_failed = untried; then 4678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4680as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4681is in your PATH or set the PKG_CONFIG environment variable to the full 4682path to pkg-config. 4683 4684Alternatively, you may set the environment variables SETXKBMAP_CFLAGS 4685and SETXKBMAP_LIBS to avoid the need to call pkg-config. 4686See the pkg-config man page for more details. 4687 4688To get pkg-config, see <http://pkg-config.freedesktop.org/>. 4689See \`config.log' for more details" "$LINENO" 5; } 4690else 4691 SETXKBMAP_CFLAGS=$pkg_cv_SETXKBMAP_CFLAGS 4692 SETXKBMAP_LIBS=$pkg_cv_SETXKBMAP_LIBS 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4694$as_echo "yes" >&6; } 4695 : 4696fi 4697 4698# Allow checking code with lint, sparse, etc. 4699 4700 4701 4702 4703 4704# Check whether --with-lint was given. 4705if test "${with_lint+set}" = set; then : 4706 withval=$with_lint; use_lint=$withval 4707else 4708 use_lint=no 4709fi 4710 4711 4712# Obtain platform specific info like program name and options 4713# The lint program on FreeBSD and NetBSD is different from the one on Solaris 4714case $host_os in 4715 *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*) 4716 lint_name=splint 4717 lint_options="-badflag" 4718 ;; 4719 *freebsd* | *netbsd*) 4720 lint_name=lint 4721 lint_options="-u -b" 4722 ;; 4723 *solaris*) 4724 lint_name=lint 4725 lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 4726 ;; 4727esac 4728 4729# Test for the presence of the program (either guessed by the code or spelled out by the user) 4730if test "x$use_lint" = x"yes" ; then 4731 # Extract the first word of "$lint_name", so it can be a program name with args. 4732set dummy $lint_name; ac_word=$2 4733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4734$as_echo_n "checking for $ac_word... " >&6; } 4735if ${ac_cv_path_LINT+:} false; then : 4736 $as_echo_n "(cached) " >&6 4737else 4738 case $LINT in 4739 [\\/]* | ?:[\\/]*) 4740 ac_cv_path_LINT="$LINT" # Let the user override the test with a path. 4741 ;; 4742 *) 4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4744for as_dir in $PATH 4745do 4746 IFS=$as_save_IFS 4747 test -z "$as_dir" && as_dir=. 4748 for ac_exec_ext in '' $ac_executable_extensions; do 4749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4750 ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext" 4751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4752 break 2 4753 fi 4754done 4755 done 4756IFS=$as_save_IFS 4757 4758 ;; 4759esac 4760fi 4761LINT=$ac_cv_path_LINT 4762if test -n "$LINT"; then 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5 4764$as_echo "$LINT" >&6; } 4765else 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4767$as_echo "no" >&6; } 4768fi 4769 4770 4771 if test "x$LINT" = "x"; then 4772 as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5 4773 fi 4774elif test "x$use_lint" = x"no" ; then 4775 if test "x$LINT" != "x"; then 4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5 4777$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;} 4778 fi 4779else 4780 as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5 4781fi 4782 4783# User supplied flags override default flags 4784if test "x$LINT_FLAGS" != "x"; then 4785 lint_options=$LINT_FLAGS 4786fi 4787 4788LINT_FLAGS=$lint_options 4789 4790 if test "x$LINT" != x; then 4791 LINT_TRUE= 4792 LINT_FALSE='#' 4793else 4794 LINT_TRUE='#' 4795 LINT_FALSE= 4796fi 4797 4798 4799 4800 4801ac_config_files="$ac_config_files Makefile" 4802 4803cat >confcache <<\_ACEOF 4804# This file is a shell script that caches the results of configure 4805# tests run on this system so they can be shared between configure 4806# scripts and configure runs, see configure's option --config-cache. 4807# It is not useful on other systems. If it contains results you don't 4808# want to keep, you may remove or edit it. 4809# 4810# config.status only pays attention to the cache file if you give it 4811# the --recheck option to rerun configure. 4812# 4813# `ac_cv_env_foo' variables (set or unset) will be overridden when 4814# loading this file, other *unset* `ac_cv_foo' will be assigned the 4815# following values. 4816 4817_ACEOF 4818 4819# The following way of writing the cache mishandles newlines in values, 4820# but we know of no workaround that is simple, portable, and efficient. 4821# So, we kill variables containing newlines. 4822# Ultrix sh set writes to stderr and can't be redirected directly, 4823# and sets the high bit in the cache file unless we assign to the vars. 4824( 4825 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4826 eval ac_val=\$$ac_var 4827 case $ac_val in #( 4828 *${as_nl}*) 4829 case $ac_var in #( 4830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4831$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4832 esac 4833 case $ac_var in #( 4834 _ | IFS | as_nl) ;; #( 4835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4836 *) { eval $ac_var=; unset $ac_var;} ;; 4837 esac ;; 4838 esac 4839 done 4840 4841 (set) 2>&1 | 4842 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4843 *${as_nl}ac_space=\ *) 4844 # `set' does not quote correctly, so add quotes: double-quote 4845 # substitution turns \\\\ into \\, and sed turns \\ into \. 4846 sed -n \ 4847 "s/'/'\\\\''/g; 4848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4849 ;; #( 4850 *) 4851 # `set' quotes correctly as required by POSIX, so do not add quotes. 4852 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4853 ;; 4854 esac | 4855 sort 4856) | 4857 sed ' 4858 /^ac_cv_env_/b end 4859 t clear 4860 :clear 4861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4862 t end 4863 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4864 :end' >>confcache 4865if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4866 if test -w "$cache_file"; then 4867 if test "x$cache_file" != "x/dev/null"; then 4868 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4869$as_echo "$as_me: updating cache $cache_file" >&6;} 4870 if test ! -f "$cache_file" || test -h "$cache_file"; then 4871 cat confcache >"$cache_file" 4872 else 4873 case $cache_file in #( 4874 */* | ?:*) 4875 mv -f confcache "$cache_file"$$ && 4876 mv -f "$cache_file"$$ "$cache_file" ;; #( 4877 *) 4878 mv -f confcache "$cache_file" ;; 4879 esac 4880 fi 4881 fi 4882 else 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4884$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4885 fi 4886fi 4887rm -f confcache 4888 4889test "x$prefix" = xNONE && prefix=$ac_default_prefix 4890# Let make expand exec_prefix. 4891test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4892 4893DEFS=-DHAVE_CONFIG_H 4894 4895ac_libobjs= 4896ac_ltlibobjs= 4897U= 4898for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4899 # 1. Remove the extension, and $U if already installed. 4900 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4901 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4902 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4903 # will be set to the directory where LIBOBJS objects are built. 4904 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4905 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4906done 4907LIBOBJS=$ac_libobjs 4908 4909LTLIBOBJS=$ac_ltlibobjs 4910 4911 4912 if test -n "$EXEEXT"; then 4913 am__EXEEXT_TRUE= 4914 am__EXEEXT_FALSE='#' 4915else 4916 am__EXEEXT_TRUE='#' 4917 am__EXEEXT_FALSE= 4918fi 4919 4920if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4921 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 4922Usually this means the macro was only invoked conditionally." "$LINENO" 5 4923fi 4924if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4925 as_fn_error $? "conditional \"AMDEP\" was never defined. 4926Usually this means the macro was only invoked conditionally." "$LINENO" 5 4927fi 4928if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4929 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4930Usually this means the macro was only invoked conditionally." "$LINENO" 5 4931fi 4932if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 4933 as_fn_error $? "conditional \"LINT\" was never defined. 4934Usually this means the macro was only invoked conditionally." "$LINENO" 5 4935fi 4936 4937: "${CONFIG_STATUS=./config.status}" 4938ac_write_fail=0 4939ac_clean_files_save=$ac_clean_files 4940ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4941{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4942$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4943as_write_fail=0 4944cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4945#! $SHELL 4946# Generated by $as_me. 4947# Run this file to recreate the current configuration. 4948# Compiler output produced by configure, useful for debugging 4949# configure, is in config.log if it exists. 4950 4951debug=false 4952ac_cs_recheck=false 4953ac_cs_silent=false 4954 4955SHELL=\${CONFIG_SHELL-$SHELL} 4956export SHELL 4957_ASEOF 4958cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4959## -------------------- ## 4960## M4sh Initialization. ## 4961## -------------------- ## 4962 4963# Be more Bourne compatible 4964DUALCASE=1; export DUALCASE # for MKS sh 4965if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4966 emulate sh 4967 NULLCMD=: 4968 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4969 # is contrary to our usage. Disable this feature. 4970 alias -g '${1+"$@"}'='"$@"' 4971 setopt NO_GLOB_SUBST 4972else 4973 case `(set -o) 2>/dev/null` in #( 4974 *posix*) : 4975 set -o posix ;; #( 4976 *) : 4977 ;; 4978esac 4979fi 4980 4981 4982as_nl=' 4983' 4984export as_nl 4985# Printing a long string crashes Solaris 7 /usr/bin/printf. 4986as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4987as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4988as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4989# Prefer a ksh shell builtin over an external printf program on Solaris, 4990# but without wasting forks for bash or zsh. 4991if test -z "$BASH_VERSION$ZSH_VERSION" \ 4992 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4993 as_echo='print -r --' 4994 as_echo_n='print -rn --' 4995elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4996 as_echo='printf %s\n' 4997 as_echo_n='printf %s' 4998else 4999 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5000 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5001 as_echo_n='/usr/ucb/echo -n' 5002 else 5003 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5004 as_echo_n_body='eval 5005 arg=$1; 5006 case $arg in #( 5007 *"$as_nl"*) 5008 expr "X$arg" : "X\\(.*\\)$as_nl"; 5009 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5010 esac; 5011 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5012 ' 5013 export as_echo_n_body 5014 as_echo_n='sh -c $as_echo_n_body as_echo' 5015 fi 5016 export as_echo_body 5017 as_echo='sh -c $as_echo_body as_echo' 5018fi 5019 5020# The user is always right. 5021if test "${PATH_SEPARATOR+set}" != set; then 5022 PATH_SEPARATOR=: 5023 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5024 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5025 PATH_SEPARATOR=';' 5026 } 5027fi 5028 5029 5030# IFS 5031# We need space, tab and new line, in precisely that order. Quoting is 5032# there to prevent editors from complaining about space-tab. 5033# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5034# splitting by setting IFS to empty value.) 5035IFS=" "" $as_nl" 5036 5037# Find who we are. Look in the path if we contain no directory separator. 5038as_myself= 5039case $0 in #(( 5040 *[\\/]* ) as_myself=$0 ;; 5041 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5042for as_dir in $PATH 5043do 5044 IFS=$as_save_IFS 5045 test -z "$as_dir" && as_dir=. 5046 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5047 done 5048IFS=$as_save_IFS 5049 5050 ;; 5051esac 5052# We did not find ourselves, most probably we were run as `sh COMMAND' 5053# in which case we are not to be found in the path. 5054if test "x$as_myself" = x; then 5055 as_myself=$0 5056fi 5057if test ! -f "$as_myself"; then 5058 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5059 exit 1 5060fi 5061 5062# Unset variables that we do not need and which cause bugs (e.g. in 5063# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5064# suppresses any "Segmentation fault" message there. '((' could 5065# trigger a bug in pdksh 5.2.14. 5066for as_var in BASH_ENV ENV MAIL MAILPATH 5067do eval test x\${$as_var+set} = xset \ 5068 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5069done 5070PS1='$ ' 5071PS2='> ' 5072PS4='+ ' 5073 5074# NLS nuisances. 5075LC_ALL=C 5076export LC_ALL 5077LANGUAGE=C 5078export LANGUAGE 5079 5080# CDPATH. 5081(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5082 5083 5084# as_fn_error STATUS ERROR [LINENO LOG_FD] 5085# ---------------------------------------- 5086# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5087# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5088# script with STATUS, using 1 if that was 0. 5089as_fn_error () 5090{ 5091 as_status=$1; test $as_status -eq 0 && as_status=1 5092 if test "$4"; then 5093 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5094 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5095 fi 5096 $as_echo "$as_me: error: $2" >&2 5097 as_fn_exit $as_status 5098} # as_fn_error 5099 5100 5101# as_fn_set_status STATUS 5102# ----------------------- 5103# Set $? to STATUS, without forking. 5104as_fn_set_status () 5105{ 5106 return $1 5107} # as_fn_set_status 5108 5109# as_fn_exit STATUS 5110# ----------------- 5111# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5112as_fn_exit () 5113{ 5114 set +e 5115 as_fn_set_status $1 5116 exit $1 5117} # as_fn_exit 5118 5119# as_fn_unset VAR 5120# --------------- 5121# Portably unset VAR. 5122as_fn_unset () 5123{ 5124 { eval $1=; unset $1;} 5125} 5126as_unset=as_fn_unset 5127# as_fn_append VAR VALUE 5128# ---------------------- 5129# Append the text in VALUE to the end of the definition contained in VAR. Take 5130# advantage of any shell optimizations that allow amortized linear growth over 5131# repeated appends, instead of the typical quadratic growth present in naive 5132# implementations. 5133if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5134 eval 'as_fn_append () 5135 { 5136 eval $1+=\$2 5137 }' 5138else 5139 as_fn_append () 5140 { 5141 eval $1=\$$1\$2 5142 } 5143fi # as_fn_append 5144 5145# as_fn_arith ARG... 5146# ------------------ 5147# Perform arithmetic evaluation on the ARGs, and store the result in the 5148# global $as_val. Take advantage of shells that can avoid forks. The arguments 5149# must be portable across $(()) and expr. 5150if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5151 eval 'as_fn_arith () 5152 { 5153 as_val=$(( $* )) 5154 }' 5155else 5156 as_fn_arith () 5157 { 5158 as_val=`expr "$@" || test $? -eq 1` 5159 } 5160fi # as_fn_arith 5161 5162 5163if expr a : '\(a\)' >/dev/null 2>&1 && 5164 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5165 as_expr=expr 5166else 5167 as_expr=false 5168fi 5169 5170if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5171 as_basename=basename 5172else 5173 as_basename=false 5174fi 5175 5176if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5177 as_dirname=dirname 5178else 5179 as_dirname=false 5180fi 5181 5182as_me=`$as_basename -- "$0" || 5183$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5184 X"$0" : 'X\(//\)$' \| \ 5185 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5186$as_echo X/"$0" | 5187 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5188 s//\1/ 5189 q 5190 } 5191 /^X\/\(\/\/\)$/{ 5192 s//\1/ 5193 q 5194 } 5195 /^X\/\(\/\).*/{ 5196 s//\1/ 5197 q 5198 } 5199 s/.*/./; q'` 5200 5201# Avoid depending upon Character Ranges. 5202as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5203as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5204as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5205as_cr_digits='0123456789' 5206as_cr_alnum=$as_cr_Letters$as_cr_digits 5207 5208ECHO_C= ECHO_N= ECHO_T= 5209case `echo -n x` in #((((( 5210-n*) 5211 case `echo 'xy\c'` in 5212 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5213 xy) ECHO_C='\c';; 5214 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5215 ECHO_T=' ';; 5216 esac;; 5217*) 5218 ECHO_N='-n';; 5219esac 5220 5221rm -f conf$$ conf$$.exe conf$$.file 5222if test -d conf$$.dir; then 5223 rm -f conf$$.dir/conf$$.file 5224else 5225 rm -f conf$$.dir 5226 mkdir conf$$.dir 2>/dev/null 5227fi 5228if (echo >conf$$.file) 2>/dev/null; then 5229 if ln -s conf$$.file conf$$ 2>/dev/null; then 5230 as_ln_s='ln -s' 5231 # ... but there are two gotchas: 5232 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5233 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5234 # In both cases, we have to default to `cp -p'. 5235 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5236 as_ln_s='cp -p' 5237 elif ln conf$$.file conf$$ 2>/dev/null; then 5238 as_ln_s=ln 5239 else 5240 as_ln_s='cp -p' 5241 fi 5242else 5243 as_ln_s='cp -p' 5244fi 5245rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5246rmdir conf$$.dir 2>/dev/null 5247 5248 5249# as_fn_mkdir_p 5250# ------------- 5251# Create "$as_dir" as a directory, including parents if necessary. 5252as_fn_mkdir_p () 5253{ 5254 5255 case $as_dir in #( 5256 -*) as_dir=./$as_dir;; 5257 esac 5258 test -d "$as_dir" || eval $as_mkdir_p || { 5259 as_dirs= 5260 while :; do 5261 case $as_dir in #( 5262 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5263 *) as_qdir=$as_dir;; 5264 esac 5265 as_dirs="'$as_qdir' $as_dirs" 5266 as_dir=`$as_dirname -- "$as_dir" || 5267$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5268 X"$as_dir" : 'X\(//\)[^/]' \| \ 5269 X"$as_dir" : 'X\(//\)$' \| \ 5270 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5271$as_echo X"$as_dir" | 5272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5273 s//\1/ 5274 q 5275 } 5276 /^X\(\/\/\)[^/].*/{ 5277 s//\1/ 5278 q 5279 } 5280 /^X\(\/\/\)$/{ 5281 s//\1/ 5282 q 5283 } 5284 /^X\(\/\).*/{ 5285 s//\1/ 5286 q 5287 } 5288 s/.*/./; q'` 5289 test -d "$as_dir" && break 5290 done 5291 test -z "$as_dirs" || eval "mkdir $as_dirs" 5292 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5293 5294 5295} # as_fn_mkdir_p 5296if mkdir -p . 2>/dev/null; then 5297 as_mkdir_p='mkdir -p "$as_dir"' 5298else 5299 test -d ./-p && rmdir ./-p 5300 as_mkdir_p=false 5301fi 5302 5303if test -x / >/dev/null 2>&1; then 5304 as_test_x='test -x' 5305else 5306 if ls -dL / >/dev/null 2>&1; then 5307 as_ls_L_option=L 5308 else 5309 as_ls_L_option= 5310 fi 5311 as_test_x=' 5312 eval sh -c '\'' 5313 if test -d "$1"; then 5314 test -d "$1/."; 5315 else 5316 case $1 in #( 5317 -*)set "./$1";; 5318 esac; 5319 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5320 ???[sx]*):;;*)false;;esac;fi 5321 '\'' sh 5322 ' 5323fi 5324as_executable_p=$as_test_x 5325 5326# Sed expression to map a string onto a valid CPP name. 5327as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5328 5329# Sed expression to map a string onto a valid variable name. 5330as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5331 5332 5333exec 6>&1 5334## ----------------------------------- ## 5335## Main body of $CONFIG_STATUS script. ## 5336## ----------------------------------- ## 5337_ASEOF 5338test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5339 5340cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5341# Save the log message, to keep $0 and so on meaningful, and to 5342# report actual input values of CONFIG_FILES etc. instead of their 5343# values after options handling. 5344ac_log=" 5345This file was extended by setxkbmap $as_me 1.2.0, which was 5346generated by GNU Autoconf 2.68. Invocation command line was 5347 5348 CONFIG_FILES = $CONFIG_FILES 5349 CONFIG_HEADERS = $CONFIG_HEADERS 5350 CONFIG_LINKS = $CONFIG_LINKS 5351 CONFIG_COMMANDS = $CONFIG_COMMANDS 5352 $ $0 $@ 5353 5354on `(hostname || uname -n) 2>/dev/null | sed 1q` 5355" 5356 5357_ACEOF 5358 5359case $ac_config_files in *" 5360"*) set x $ac_config_files; shift; ac_config_files=$*;; 5361esac 5362 5363case $ac_config_headers in *" 5364"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5365esac 5366 5367 5368cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5369# Files that config.status was made for. 5370config_files="$ac_config_files" 5371config_headers="$ac_config_headers" 5372config_commands="$ac_config_commands" 5373 5374_ACEOF 5375 5376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5377ac_cs_usage="\ 5378\`$as_me' instantiates files and other configuration actions 5379from templates according to the current configuration. Unless the files 5380and actions are specified as TAGs, all are instantiated by default. 5381 5382Usage: $0 [OPTION]... [TAG]... 5383 5384 -h, --help print this help, then exit 5385 -V, --version print version number and configuration settings, then exit 5386 --config print configuration, then exit 5387 -q, --quiet, --silent 5388 do not print progress messages 5389 -d, --debug don't remove temporary files 5390 --recheck update $as_me by reconfiguring in the same conditions 5391 --file=FILE[:TEMPLATE] 5392 instantiate the configuration file FILE 5393 --header=FILE[:TEMPLATE] 5394 instantiate the configuration header FILE 5395 5396Configuration files: 5397$config_files 5398 5399Configuration headers: 5400$config_headers 5401 5402Configuration commands: 5403$config_commands 5404 5405Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5406 5407_ACEOF 5408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5409ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5410ac_cs_version="\\ 5411setxkbmap config.status 1.2.0 5412configured by $0, generated by GNU Autoconf 2.68, 5413 with options \\"\$ac_cs_config\\" 5414 5415Copyright (C) 2010 Free Software Foundation, Inc. 5416This config.status script is free software; the Free Software Foundation 5417gives unlimited permission to copy, distribute and modify it." 5418 5419ac_pwd='$ac_pwd' 5420srcdir='$srcdir' 5421INSTALL='$INSTALL' 5422MKDIR_P='$MKDIR_P' 5423AWK='$AWK' 5424test -n "\$AWK" || AWK=awk 5425_ACEOF 5426 5427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5428# The default lists apply if the user does not specify any file. 5429ac_need_defaults=: 5430while test $# != 0 5431do 5432 case $1 in 5433 --*=?*) 5434 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5436 ac_shift=: 5437 ;; 5438 --*=) 5439 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5440 ac_optarg= 5441 ac_shift=: 5442 ;; 5443 *) 5444 ac_option=$1 5445 ac_optarg=$2 5446 ac_shift=shift 5447 ;; 5448 esac 5449 5450 case $ac_option in 5451 # Handling of the options. 5452 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5453 ac_cs_recheck=: ;; 5454 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5455 $as_echo "$ac_cs_version"; exit ;; 5456 --config | --confi | --conf | --con | --co | --c ) 5457 $as_echo "$ac_cs_config"; exit ;; 5458 --debug | --debu | --deb | --de | --d | -d ) 5459 debug=: ;; 5460 --file | --fil | --fi | --f ) 5461 $ac_shift 5462 case $ac_optarg in 5463 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5464 '') as_fn_error $? "missing file argument" ;; 5465 esac 5466 as_fn_append CONFIG_FILES " '$ac_optarg'" 5467 ac_need_defaults=false;; 5468 --header | --heade | --head | --hea ) 5469 $ac_shift 5470 case $ac_optarg in 5471 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5472 esac 5473 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5474 ac_need_defaults=false;; 5475 --he | --h) 5476 # Conflict between --help and --header 5477 as_fn_error $? "ambiguous option: \`$1' 5478Try \`$0 --help' for more information.";; 5479 --help | --hel | -h ) 5480 $as_echo "$ac_cs_usage"; exit ;; 5481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5482 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5483 ac_cs_silent=: ;; 5484 5485 # This is an error. 5486 -*) as_fn_error $? "unrecognized option: \`$1' 5487Try \`$0 --help' for more information." ;; 5488 5489 *) as_fn_append ac_config_targets " $1" 5490 ac_need_defaults=false ;; 5491 5492 esac 5493 shift 5494done 5495 5496ac_configure_extra_args= 5497 5498if $ac_cs_silent; then 5499 exec 6>/dev/null 5500 ac_configure_extra_args="$ac_configure_extra_args --silent" 5501fi 5502 5503_ACEOF 5504cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5505if \$ac_cs_recheck; then 5506 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5507 shift 5508 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5509 CONFIG_SHELL='$SHELL' 5510 export CONFIG_SHELL 5511 exec "\$@" 5512fi 5513 5514_ACEOF 5515cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5516exec 5>>config.log 5517{ 5518 echo 5519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5520## Running $as_me. ## 5521_ASBOX 5522 $as_echo "$ac_log" 5523} >&5 5524 5525_ACEOF 5526cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5527# 5528# INIT-COMMANDS 5529# 5530AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5531 5532_ACEOF 5533 5534cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5535 5536# Handling of arguments. 5537for ac_config_target in $ac_config_targets 5538do 5539 case $ac_config_target in 5540 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5541 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5542 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5543 5544 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5545 esac 5546done 5547 5548 5549# If the user did not use the arguments to specify the items to instantiate, 5550# then the envvar interface is used. Set only those that are not. 5551# We use the long form for the default assignment because of an extremely 5552# bizarre bug on SunOS 4.1.3. 5553if $ac_need_defaults; then 5554 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5555 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5556 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5557fi 5558 5559# Have a temporary directory for convenience. Make it in the build tree 5560# simply because there is no reason against having it here, and in addition, 5561# creating and moving files from /tmp can sometimes cause problems. 5562# Hook for its removal unless debugging. 5563# Note that there is a small window in which the directory will not be cleaned: 5564# after its creation but before its name has been assigned to `$tmp'. 5565$debug || 5566{ 5567 tmp= ac_tmp= 5568 trap 'exit_status=$? 5569 : "${ac_tmp:=$tmp}" 5570 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5571' 0 5572 trap 'as_fn_exit 1' 1 2 13 15 5573} 5574# Create a (secure) tmp directory for tmp files. 5575 5576{ 5577 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5578 test -d "$tmp" 5579} || 5580{ 5581 tmp=./conf$$-$RANDOM 5582 (umask 077 && mkdir "$tmp") 5583} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5584ac_tmp=$tmp 5585 5586# Set up the scripts for CONFIG_FILES section. 5587# No need to generate them if there are no CONFIG_FILES. 5588# This happens for instance with `./config.status config.h'. 5589if test -n "$CONFIG_FILES"; then 5590 5591 5592ac_cr=`echo X | tr X '\015'` 5593# On cygwin, bash can eat \r inside `` if the user requested igncr. 5594# But we know of no other shell where ac_cr would be empty at this 5595# point, so we can use a bashism as a fallback. 5596if test "x$ac_cr" = x; then 5597 eval ac_cr=\$\'\\r\' 5598fi 5599ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5600if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5601 ac_cs_awk_cr='\\r' 5602else 5603 ac_cs_awk_cr=$ac_cr 5604fi 5605 5606echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5607_ACEOF 5608 5609 5610{ 5611 echo "cat >conf$$subs.awk <<_ACEOF" && 5612 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5613 echo "_ACEOF" 5614} >conf$$subs.sh || 5615 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5616ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5617ac_delim='%!_!# ' 5618for ac_last_try in false false false false false :; do 5619 . ./conf$$subs.sh || 5620 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5621 5622 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5623 if test $ac_delim_n = $ac_delim_num; then 5624 break 5625 elif $ac_last_try; then 5626 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5627 else 5628 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5629 fi 5630done 5631rm -f conf$$subs.sh 5632 5633cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5634cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5635_ACEOF 5636sed -n ' 5637h 5638s/^/S["/; s/!.*/"]=/ 5639p 5640g 5641s/^[^!]*!// 5642:repl 5643t repl 5644s/'"$ac_delim"'$// 5645t delim 5646:nl 5647h 5648s/\(.\{148\}\)..*/\1/ 5649t more1 5650s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5651p 5652n 5653b repl 5654:more1 5655s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5656p 5657g 5658s/.\{148\}// 5659t nl 5660:delim 5661h 5662s/\(.\{148\}\)..*/\1/ 5663t more2 5664s/["\\]/\\&/g; s/^/"/; s/$/"/ 5665p 5666b 5667:more2 5668s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5669p 5670g 5671s/.\{148\}// 5672t delim 5673' <conf$$subs.awk | sed ' 5674/^[^""]/{ 5675 N 5676 s/\n// 5677} 5678' >>$CONFIG_STATUS || ac_write_fail=1 5679rm -f conf$$subs.awk 5680cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5681_ACAWK 5682cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5683 for (key in S) S_is_set[key] = 1 5684 FS = "" 5685 5686} 5687{ 5688 line = $ 0 5689 nfields = split(line, field, "@") 5690 substed = 0 5691 len = length(field[1]) 5692 for (i = 2; i < nfields; i++) { 5693 key = field[i] 5694 keylen = length(key) 5695 if (S_is_set[key]) { 5696 value = S[key] 5697 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5698 len += length(value) + length(field[++i]) 5699 substed = 1 5700 } else 5701 len += 1 + keylen 5702 } 5703 5704 print line 5705} 5706 5707_ACAWK 5708_ACEOF 5709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5710if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5711 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5712else 5713 cat 5714fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5715 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5716_ACEOF 5717 5718# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5719# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5720# trailing colons and then remove the whole line if VPATH becomes empty 5721# (actually we leave an empty line to preserve line numbers). 5722if test "x$srcdir" = x.; then 5723 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5724h 5725s/// 5726s/^/:/ 5727s/[ ]*$/:/ 5728s/:\$(srcdir):/:/g 5729s/:\${srcdir}:/:/g 5730s/:@srcdir@:/:/g 5731s/^:*// 5732s/:*$// 5733x 5734s/\(=[ ]*\).*/\1/ 5735G 5736s/\n// 5737s/^[^=]*=[ ]*$// 5738}' 5739fi 5740 5741cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5742fi # test -n "$CONFIG_FILES" 5743 5744# Set up the scripts for CONFIG_HEADERS section. 5745# No need to generate them if there are no CONFIG_HEADERS. 5746# This happens for instance with `./config.status Makefile'. 5747if test -n "$CONFIG_HEADERS"; then 5748cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5749BEGIN { 5750_ACEOF 5751 5752# Transform confdefs.h into an awk script `defines.awk', embedded as 5753# here-document in config.status, that substitutes the proper values into 5754# config.h.in to produce config.h. 5755 5756# Create a delimiter string that does not exist in confdefs.h, to ease 5757# handling of long lines. 5758ac_delim='%!_!# ' 5759for ac_last_try in false false :; do 5760 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5761 if test -z "$ac_tt"; then 5762 break 5763 elif $ac_last_try; then 5764 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5765 else 5766 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5767 fi 5768done 5769 5770# For the awk script, D is an array of macro values keyed by name, 5771# likewise P contains macro parameters if any. Preserve backslash 5772# newline sequences. 5773 5774ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5775sed -n ' 5776s/.\{148\}/&'"$ac_delim"'/g 5777t rset 5778:rset 5779s/^[ ]*#[ ]*define[ ][ ]*/ / 5780t def 5781d 5782:def 5783s/\\$// 5784t bsnl 5785s/["\\]/\\&/g 5786s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5787D["\1"]=" \3"/p 5788s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5789d 5790:bsnl 5791s/["\\]/\\&/g 5792s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5793D["\1"]=" \3\\\\\\n"\\/p 5794t cont 5795s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5796t cont 5797d 5798:cont 5799n 5800s/.\{148\}/&'"$ac_delim"'/g 5801t clear 5802:clear 5803s/\\$// 5804t bsnlc 5805s/["\\]/\\&/g; s/^/"/; s/$/"/p 5806d 5807:bsnlc 5808s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5809b cont 5810' <confdefs.h | sed ' 5811s/'"$ac_delim"'/"\\\ 5812"/g' >>$CONFIG_STATUS || ac_write_fail=1 5813 5814cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5815 for (key in D) D_is_set[key] = 1 5816 FS = "" 5817} 5818/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5819 line = \$ 0 5820 split(line, arg, " ") 5821 if (arg[1] == "#") { 5822 defundef = arg[2] 5823 mac1 = arg[3] 5824 } else { 5825 defundef = substr(arg[1], 2) 5826 mac1 = arg[2] 5827 } 5828 split(mac1, mac2, "(") #) 5829 macro = mac2[1] 5830 prefix = substr(line, 1, index(line, defundef) - 1) 5831 if (D_is_set[macro]) { 5832 # Preserve the white space surrounding the "#". 5833 print prefix "define", macro P[macro] D[macro] 5834 next 5835 } else { 5836 # Replace #undef with comments. This is necessary, for example, 5837 # in the case of _POSIX_SOURCE, which is predefined and required 5838 # on some systems where configure will not decide to define it. 5839 if (defundef == "undef") { 5840 print "/*", prefix defundef, macro, "*/" 5841 next 5842 } 5843 } 5844} 5845{ print } 5846_ACAWK 5847_ACEOF 5848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5849 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5850fi # test -n "$CONFIG_HEADERS" 5851 5852 5853eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 5854shift 5855for ac_tag 5856do 5857 case $ac_tag in 5858 :[FHLC]) ac_mode=$ac_tag; continue;; 5859 esac 5860 case $ac_mode$ac_tag in 5861 :[FHL]*:*);; 5862 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5863 :[FH]-) ac_tag=-:-;; 5864 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5865 esac 5866 ac_save_IFS=$IFS 5867 IFS=: 5868 set x $ac_tag 5869 IFS=$ac_save_IFS 5870 shift 5871 ac_file=$1 5872 shift 5873 5874 case $ac_mode in 5875 :L) ac_source=$1;; 5876 :[FH]) 5877 ac_file_inputs= 5878 for ac_f 5879 do 5880 case $ac_f in 5881 -) ac_f="$ac_tmp/stdin";; 5882 *) # Look for the file first in the build tree, then in the source tree 5883 # (if the path is not absolute). The absolute path cannot be DOS-style, 5884 # because $ac_f cannot contain `:'. 5885 test -f "$ac_f" || 5886 case $ac_f in 5887 [\\/$]*) false;; 5888 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5889 esac || 5890 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5891 esac 5892 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5893 as_fn_append ac_file_inputs " '$ac_f'" 5894 done 5895 5896 # Let's still pretend it is `configure' which instantiates (i.e., don't 5897 # use $as_me), people would be surprised to read: 5898 # /* config.h. Generated by config.status. */ 5899 configure_input='Generated from '` 5900 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5901 `' by configure.' 5902 if test x"$ac_file" != x-; then 5903 configure_input="$ac_file. $configure_input" 5904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5905$as_echo "$as_me: creating $ac_file" >&6;} 5906 fi 5907 # Neutralize special characters interpreted by sed in replacement strings. 5908 case $configure_input in #( 5909 *\&* | *\|* | *\\* ) 5910 ac_sed_conf_input=`$as_echo "$configure_input" | 5911 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5912 *) ac_sed_conf_input=$configure_input;; 5913 esac 5914 5915 case $ac_tag in 5916 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5917 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5918 esac 5919 ;; 5920 esac 5921 5922 ac_dir=`$as_dirname -- "$ac_file" || 5923$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5924 X"$ac_file" : 'X\(//\)[^/]' \| \ 5925 X"$ac_file" : 'X\(//\)$' \| \ 5926 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5927$as_echo X"$ac_file" | 5928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5929 s//\1/ 5930 q 5931 } 5932 /^X\(\/\/\)[^/].*/{ 5933 s//\1/ 5934 q 5935 } 5936 /^X\(\/\/\)$/{ 5937 s//\1/ 5938 q 5939 } 5940 /^X\(\/\).*/{ 5941 s//\1/ 5942 q 5943 } 5944 s/.*/./; q'` 5945 as_dir="$ac_dir"; as_fn_mkdir_p 5946 ac_builddir=. 5947 5948case "$ac_dir" in 5949.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5950*) 5951 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5952 # A ".." for each directory in $ac_dir_suffix. 5953 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5954 case $ac_top_builddir_sub in 5955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5957 esac ;; 5958esac 5959ac_abs_top_builddir=$ac_pwd 5960ac_abs_builddir=$ac_pwd$ac_dir_suffix 5961# for backward compatibility: 5962ac_top_builddir=$ac_top_build_prefix 5963 5964case $srcdir in 5965 .) # We are building in place. 5966 ac_srcdir=. 5967 ac_top_srcdir=$ac_top_builddir_sub 5968 ac_abs_top_srcdir=$ac_pwd ;; 5969 [\\/]* | ?:[\\/]* ) # Absolute name. 5970 ac_srcdir=$srcdir$ac_dir_suffix; 5971 ac_top_srcdir=$srcdir 5972 ac_abs_top_srcdir=$srcdir ;; 5973 *) # Relative name. 5974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5975 ac_top_srcdir=$ac_top_build_prefix$srcdir 5976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5977esac 5978ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5979 5980 5981 case $ac_mode in 5982 :F) 5983 # 5984 # CONFIG_FILE 5985 # 5986 5987 case $INSTALL in 5988 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5989 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5990 esac 5991 ac_MKDIR_P=$MKDIR_P 5992 case $MKDIR_P in 5993 [\\/$]* | ?:[\\/]* ) ;; 5994 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5995 esac 5996_ACEOF 5997 5998cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5999# If the template does not know about datarootdir, expand it. 6000# FIXME: This hack should be removed a few years after 2.60. 6001ac_datarootdir_hack=; ac_datarootdir_seen= 6002ac_sed_dataroot=' 6003/datarootdir/ { 6004 p 6005 q 6006} 6007/@datadir@/p 6008/@docdir@/p 6009/@infodir@/p 6010/@localedir@/p 6011/@mandir@/p' 6012case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6013*datarootdir*) ac_datarootdir_seen=yes;; 6014*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6016$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6017_ACEOF 6018cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6019 ac_datarootdir_hack=' 6020 s&@datadir@&$datadir&g 6021 s&@docdir@&$docdir&g 6022 s&@infodir@&$infodir&g 6023 s&@localedir@&$localedir&g 6024 s&@mandir@&$mandir&g 6025 s&\\\${datarootdir}&$datarootdir&g' ;; 6026esac 6027_ACEOF 6028 6029# Neutralize VPATH when `$srcdir' = `.'. 6030# Shell code in configure.ac might set extrasub. 6031# FIXME: do we really want to maintain this feature? 6032cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6033ac_sed_extra="$ac_vpsub 6034$extrasub 6035_ACEOF 6036cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6037:t 6038/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6039s|@configure_input@|$ac_sed_conf_input|;t t 6040s&@top_builddir@&$ac_top_builddir_sub&;t t 6041s&@top_build_prefix@&$ac_top_build_prefix&;t t 6042s&@srcdir@&$ac_srcdir&;t t 6043s&@abs_srcdir@&$ac_abs_srcdir&;t t 6044s&@top_srcdir@&$ac_top_srcdir&;t t 6045s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6046s&@builddir@&$ac_builddir&;t t 6047s&@abs_builddir@&$ac_abs_builddir&;t t 6048s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6049s&@INSTALL@&$ac_INSTALL&;t t 6050s&@MKDIR_P@&$ac_MKDIR_P&;t t 6051$ac_datarootdir_hack 6052" 6053eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6054 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6055 6056test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6057 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6059 "$ac_tmp/out"`; test -z "$ac_out"; } && 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6061which seems to be undefined. Please make sure it is defined" >&5 6062$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6063which seems to be undefined. Please make sure it is defined" >&2;} 6064 6065 rm -f "$ac_tmp/stdin" 6066 case $ac_file in 6067 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6068 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6069 esac \ 6070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6071 ;; 6072 :H) 6073 # 6074 # CONFIG_HEADER 6075 # 6076 if test x"$ac_file" != x-; then 6077 { 6078 $as_echo "/* $configure_input */" \ 6079 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6080 } >"$ac_tmp/config.h" \ 6081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6082 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6083 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6084$as_echo "$as_me: $ac_file is unchanged" >&6;} 6085 else 6086 rm -f "$ac_file" 6087 mv "$ac_tmp/config.h" "$ac_file" \ 6088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6089 fi 6090 else 6091 $as_echo "/* $configure_input */" \ 6092 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6093 || as_fn_error $? "could not create -" "$LINENO" 5 6094 fi 6095# Compute "$ac_file"'s index in $config_headers. 6096_am_arg="$ac_file" 6097_am_stamp_count=1 6098for _am_header in $config_headers :; do 6099 case $_am_header in 6100 $_am_arg | $_am_arg:* ) 6101 break ;; 6102 * ) 6103 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6104 esac 6105done 6106echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6107$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6108 X"$_am_arg" : 'X\(//\)[^/]' \| \ 6109 X"$_am_arg" : 'X\(//\)$' \| \ 6110 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6111$as_echo X"$_am_arg" | 6112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6113 s//\1/ 6114 q 6115 } 6116 /^X\(\/\/\)[^/].*/{ 6117 s//\1/ 6118 q 6119 } 6120 /^X\(\/\/\)$/{ 6121 s//\1/ 6122 q 6123 } 6124 /^X\(\/\).*/{ 6125 s//\1/ 6126 q 6127 } 6128 s/.*/./; q'`/stamp-h$_am_stamp_count 6129 ;; 6130 6131 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6132$as_echo "$as_me: executing $ac_file commands" >&6;} 6133 ;; 6134 esac 6135 6136 6137 case $ac_file$ac_mode in 6138 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6139 # Autoconf 2.62 quotes --file arguments for eval, but not when files 6140 # are listed without --file. Let's play safe and only enable the eval 6141 # if we detect the quoting. 6142 case $CONFIG_FILES in 6143 *\'*) eval set x "$CONFIG_FILES" ;; 6144 *) set x $CONFIG_FILES ;; 6145 esac 6146 shift 6147 for mf 6148 do 6149 # Strip MF so we end up with the name of the file. 6150 mf=`echo "$mf" | sed -e 's/:.*$//'` 6151 # Check whether this is an Automake generated Makefile or not. 6152 # We used to match only the files named `Makefile.in', but 6153 # some people rename them; so instead we look at the file content. 6154 # Grep'ing the first line is not enough: some people post-process 6155 # each Makefile.in and add a new line on top of each file to say so. 6156 # Grep'ing the whole file is not good either: AIX grep has a line 6157 # limit of 2048, but all sed's we know have understand at least 4000. 6158 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6159 dirpart=`$as_dirname -- "$mf" || 6160$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6161 X"$mf" : 'X\(//\)[^/]' \| \ 6162 X"$mf" : 'X\(//\)$' \| \ 6163 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6164$as_echo X"$mf" | 6165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6166 s//\1/ 6167 q 6168 } 6169 /^X\(\/\/\)[^/].*/{ 6170 s//\1/ 6171 q 6172 } 6173 /^X\(\/\/\)$/{ 6174 s//\1/ 6175 q 6176 } 6177 /^X\(\/\).*/{ 6178 s//\1/ 6179 q 6180 } 6181 s/.*/./; q'` 6182 else 6183 continue 6184 fi 6185 # Extract the definition of DEPDIR, am__include, and am__quote 6186 # from the Makefile without running `make'. 6187 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6188 test -z "$DEPDIR" && continue 6189 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6190 test -z "am__include" && continue 6191 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6192 # When using ansi2knr, U may be empty or an underscore; expand it 6193 U=`sed -n 's/^U = //p' < "$mf"` 6194 # Find all dependency output files, they are included files with 6195 # $(DEPDIR) in their names. We invoke sed twice because it is the 6196 # simplest approach to changing $(DEPDIR) to its actual value in the 6197 # expansion. 6198 for file in `sed -n " 6199 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6200 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6201 # Make sure the directory exists. 6202 test -f "$dirpart/$file" && continue 6203 fdir=`$as_dirname -- "$file" || 6204$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6205 X"$file" : 'X\(//\)[^/]' \| \ 6206 X"$file" : 'X\(//\)$' \| \ 6207 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6208$as_echo X"$file" | 6209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6210 s//\1/ 6211 q 6212 } 6213 /^X\(\/\/\)[^/].*/{ 6214 s//\1/ 6215 q 6216 } 6217 /^X\(\/\/\)$/{ 6218 s//\1/ 6219 q 6220 } 6221 /^X\(\/\).*/{ 6222 s//\1/ 6223 q 6224 } 6225 s/.*/./; q'` 6226 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6227 # echo "creating $dirpart/$file" 6228 echo '# dummy' > "$dirpart/$file" 6229 done 6230 done 6231} 6232 ;; 6233 6234 esac 6235done # for ac_tag 6236 6237 6238as_fn_exit 0 6239_ACEOF 6240ac_clean_files=$ac_clean_files_save 6241 6242test $ac_write_fail = 0 || 6243 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6244 6245 6246# configure is writing to config.log, and then calls config.status. 6247# config.status does its own redirection, appending to config.log. 6248# Unfortunately, on DOS this fails, as config.log is still kept open 6249# by configure, so config.status won't be able to write to it; its 6250# output is simply discarded. So we exec the FD to /dev/null, 6251# effectively closing config.log, so it can be properly (re)opened and 6252# appended to by config.status. When coming back to configure, we 6253# need to make the FD available again. 6254if test "$no_create" != yes; then 6255 ac_cs_success=: 6256 ac_config_status_args= 6257 test "$silent" = yes && 6258 ac_config_status_args="$ac_config_status_args --quiet" 6259 exec 5>/dev/null 6260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6261 exec 5>>config.log 6262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6263 # would make configure fail if this is the last instruction. 6264 $ac_cs_success || as_fn_exit 1 6265fi 6266if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6268$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6269fi 6270 6271