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