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