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