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