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