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