1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.60 for tagtool 0.12.3. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be Bourne compatible 14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20 setopt NO_GLOB_SUBST 21else 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 23fi 24BIN_SH=xpg4; export BIN_SH # for Tru64 25DUALCASE=1; export DUALCASE # for MKS sh 26 27 28# PATH needs CR 29# Avoid depending upon Character Ranges. 30as_cr_letters='abcdefghijklmnopqrstuvwxyz' 31as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 32as_cr_Letters=$as_cr_letters$as_cr_LETTERS 33as_cr_digits='0123456789' 34as_cr_alnum=$as_cr_Letters$as_cr_digits 35 36# The user is always right. 37if test "${PATH_SEPARATOR+set}" != set; then 38 echo "#! /bin/sh" >conf$$.sh 39 echo "exit 0" >>conf$$.sh 40 chmod +x conf$$.sh 41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 42 PATH_SEPARATOR=';' 43 else 44 PATH_SEPARATOR=: 45 fi 46 rm -f conf$$.sh 47fi 48 49# Support unset when possible. 50if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 51 as_unset=unset 52else 53 as_unset=false 54fi 55 56 57# IFS 58# We need space, tab and new line, in precisely that order. Quoting is 59# there to prevent editors from complaining about space-tab. 60# (If _AS_PATH_WALK were called with IFS unset, it would disable word 61# splitting by setting IFS to empty value.) 62as_nl=' 63' 64IFS=" "" $as_nl" 65 66# Find who we are. Look in the path if we contain no directory separator. 67case $0 in 68 *[\\/]* ) as_myself=$0 ;; 69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 70for as_dir in $PATH 71do 72 IFS=$as_save_IFS 73 test -z "$as_dir" && as_dir=. 74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 75done 76IFS=$as_save_IFS 77 78 ;; 79esac 80# We did not find ourselves, most probably we were run as `sh COMMAND' 81# in which case we are not to be found in the path. 82if test "x$as_myself" = x; then 83 as_myself=$0 84fi 85if test ! -f "$as_myself"; then 86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 87 { (exit 1); exit 1; } 88fi 89 90# Work around bugs in pre-3.0 UWIN ksh. 91for as_var in ENV MAIL MAILPATH 92do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 93done 94PS1='$ ' 95PS2='> ' 96PS4='+ ' 97 98# NLS nuisances. 99for as_var in \ 100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 102 LC_TELEPHONE LC_TIME 103do 104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 105 eval $as_var=C; export $as_var 106 else 107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 108 fi 109done 110 111# Required to use basename. 112if expr a : '\(a\)' >/dev/null 2>&1 && 113 test "X`expr 00001 : '.*\(...\)'`" = X001; then 114 as_expr=expr 115else 116 as_expr=false 117fi 118 119if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 120 as_basename=basename 121else 122 as_basename=false 123fi 124 125 126# Name of the executable. 127as_me=`$as_basename -- "$0" || 128$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 129 X"$0" : 'X\(//\)$' \| \ 130 X"$0" : 'X\(/\)' \| . 2>/dev/null || 131echo X/"$0" | 132 sed '/^.*\/\([^/][^/]*\)\/*$/{ 133 s//\1/ 134 q 135 } 136 /^X\/\(\/\/\)$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\).*/{ 141 s//\1/ 142 q 143 } 144 s/.*/./; q'` 145 146# CDPATH. 147$as_unset CDPATH 148 149 150if test "x$CONFIG_SHELL" = x; then 151 if (eval ":") 2>/dev/null; then 152 as_have_required=yes 153else 154 as_have_required=no 155fi 156 157 if test $as_have_required = yes && (eval ": 158(as_func_return () { 159 (exit \$1) 160} 161as_func_success () { 162 as_func_return 0 163} 164as_func_failure () { 165 as_func_return 1 166} 167as_func_ret_success () { 168 return 0 169} 170as_func_ret_failure () { 171 return 1 172} 173 174exitcode=0 175if as_func_success; then 176 : 177else 178 exitcode=1 179 echo as_func_success failed. 180fi 181 182if as_func_failure; then 183 exitcode=1 184 echo as_func_failure succeeded. 185fi 186 187if as_func_ret_success; then 188 : 189else 190 exitcode=1 191 echo as_func_ret_success failed. 192fi 193 194if as_func_ret_failure; then 195 exitcode=1 196 echo as_func_ret_failure succeeded. 197fi 198 199if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 200 : 201else 202 exitcode=1 203 echo positional parameters were not saved. 204fi 205 206test \$exitcode = 0) || { (exit 1); exit 1; } 207 208( 209 as_lineno_1=\$LINENO 210 as_lineno_2=\$LINENO 211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 213") 2> /dev/null; then 214 : 215else 216 as_candidate_shells= 217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 218for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 case $as_dir in 223 /*) 224 for as_base in sh bash ksh sh5; do 225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 226 done;; 227 esac 228done 229IFS=$as_save_IFS 230 231 232 for as_shell in $as_candidate_shells $SHELL; do 233 # Try only shells that exist, to save several forks. 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { ("$as_shell") 2> /dev/null <<\_ASEOF 236# Be Bourne compatible 237if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 238 emulate sh 239 NULLCMD=: 240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 241 # is contrary to our usage. Disable this feature. 242 alias -g '${1+"$@"}'='"$@"' 243 setopt NO_GLOB_SUBST 244else 245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 246fi 247BIN_SH=xpg4; export BIN_SH # for Tru64 248DUALCASE=1; export DUALCASE # for MKS sh 249 250: 251_ASEOF 252}; then 253 CONFIG_SHELL=$as_shell 254 as_have_required=yes 255 if { "$as_shell" 2> /dev/null <<\_ASEOF 256# Be Bourne compatible 257if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 258 emulate sh 259 NULLCMD=: 260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 261 # is contrary to our usage. Disable this feature. 262 alias -g '${1+"$@"}'='"$@"' 263 setopt NO_GLOB_SUBST 264else 265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 266fi 267BIN_SH=xpg4; export BIN_SH # for Tru64 268DUALCASE=1; export DUALCASE # for MKS sh 269 270: 271(as_func_return () { 272 (exit $1) 273} 274as_func_success () { 275 as_func_return 0 276} 277as_func_failure () { 278 as_func_return 1 279} 280as_func_ret_success () { 281 return 0 282} 283as_func_ret_failure () { 284 return 1 285} 286 287exitcode=0 288if as_func_success; then 289 : 290else 291 exitcode=1 292 echo as_func_success failed. 293fi 294 295if as_func_failure; then 296 exitcode=1 297 echo as_func_failure succeeded. 298fi 299 300if as_func_ret_success; then 301 : 302else 303 exitcode=1 304 echo as_func_ret_success failed. 305fi 306 307if as_func_ret_failure; then 308 exitcode=1 309 echo as_func_ret_failure succeeded. 310fi 311 312if ( set x; as_func_ret_success y && test x = "$1" ); then 313 : 314else 315 exitcode=1 316 echo positional parameters were not saved. 317fi 318 319test $exitcode = 0) || { (exit 1); exit 1; } 320 321( 322 as_lineno_1=$LINENO 323 as_lineno_2=$LINENO 324 test "x$as_lineno_1" != "x$as_lineno_2" && 325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 326 327_ASEOF 328}; then 329 break 330fi 331 332fi 333 334 done 335 336 if test "x$CONFIG_SHELL" != x; then 337 for as_var in BASH_ENV ENV 338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 339 done 340 export CONFIG_SHELL 341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 342fi 343 344 345 if test $as_have_required = no; then 346 echo This script requires a shell more modern than all the 347 echo shells that I found on your system. Please install a 348 echo modern shell, or manually run the script under such a 349 echo shell if you do have one. 350 { (exit 1); exit 1; } 351fi 352 353 354fi 355 356fi 357 358 359 360(eval "as_func_return () { 361 (exit \$1) 362} 363as_func_success () { 364 as_func_return 0 365} 366as_func_failure () { 367 as_func_return 1 368} 369as_func_ret_success () { 370 return 0 371} 372as_func_ret_failure () { 373 return 1 374} 375 376exitcode=0 377if as_func_success; then 378 : 379else 380 exitcode=1 381 echo as_func_success failed. 382fi 383 384if as_func_failure; then 385 exitcode=1 386 echo as_func_failure succeeded. 387fi 388 389if as_func_ret_success; then 390 : 391else 392 exitcode=1 393 echo as_func_ret_success failed. 394fi 395 396if as_func_ret_failure; then 397 exitcode=1 398 echo as_func_ret_failure succeeded. 399fi 400 401if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 402 : 403else 404 exitcode=1 405 echo positional parameters were not saved. 406fi 407 408test \$exitcode = 0") || { 409 echo No shell found that supports shell functions. 410 echo Please tell autoconf@gnu.org about your system, 411 echo including any error possibly output before this 412 echo message 413} 414 415 416 417 as_lineno_1=$LINENO 418 as_lineno_2=$LINENO 419 test "x$as_lineno_1" != "x$as_lineno_2" && 420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 421 422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 423 # uniformly replaced by the line number. The first 'sed' inserts a 424 # line-number line after each line using $LINENO; the second 'sed' 425 # does the real work. The second script uses 'N' to pair each 426 # line-number line with the line containing $LINENO, and appends 427 # trailing '-' during substitution so that $LINENO is not a special 428 # case at line end. 429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 430 # scripts with optimization help from Paolo Bonzini. Blame Lee 431 # E. McMahon (1931-1989) for sed's syntax. :-) 432 sed -n ' 433 p 434 /[$]LINENO/= 435 ' <$as_myself | 436 sed ' 437 s/[$]LINENO.*/&-/ 438 t lineno 439 b 440 :lineno 441 N 442 :loop 443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 444 t loop 445 s/-\n.*// 446 ' >$as_me.lineno && 447 chmod +x "$as_me.lineno" || 448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 449 { (exit 1); exit 1; }; } 450 451 # Don't try to exec as it changes $[0], causing all sort of problems 452 # (the dirname of $[0] is not the place where we might find the 453 # original and so on. Autoconf is especially sensitive to this). 454 . "./$as_me.lineno" 455 # Exit status is that of the last command. 456 exit 457} 458 459 460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 461 as_dirname=dirname 462else 463 as_dirname=false 464fi 465 466ECHO_C= ECHO_N= ECHO_T= 467case `echo -n x` in 468-n*) 469 case `echo 'x\c'` in 470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 471 *) ECHO_C='\c';; 472 esac;; 473*) 474 ECHO_N='-n';; 475esac 476 477if expr a : '\(a\)' >/dev/null 2>&1 && 478 test "X`expr 00001 : '.*\(...\)'`" = X001; then 479 as_expr=expr 480else 481 as_expr=false 482fi 483 484rm -f conf$$ conf$$.exe conf$$.file 485if test -d conf$$.dir; then 486 rm -f conf$$.dir/conf$$.file 487else 488 rm -f conf$$.dir 489 mkdir conf$$.dir 490fi 491echo >conf$$.file 492if ln -s conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s='ln -s' 494 # ... but there are two gotchas: 495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 497 # In both cases, we have to default to `cp -p'. 498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 499 as_ln_s='cp -p' 500elif ln conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s=ln 502else 503 as_ln_s='cp -p' 504fi 505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506rmdir conf$$.dir 2>/dev/null 507 508if mkdir -p . 2>/dev/null; then 509 as_mkdir_p=: 510else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513fi 514 515# Find out whether ``test -x'' works. Don't use a zero-byte file, as 516# systems may use methods other than mode bits to determine executability. 517cat >conf$$.file <<_ASEOF 518#! /bin/sh 519exit 0 520_ASEOF 521chmod +x conf$$.file 522if test -x conf$$.file >/dev/null 2>&1; then 523 as_executable_p="test -x" 524else 525 as_executable_p=: 526fi 527rm -f conf$$.file 528 529# Sed expression to map a string onto a valid CPP name. 530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 531 532# Sed expression to map a string onto a valid variable name. 533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 534 535 536 537exec 7<&0 </dev/null 6>&1 538 539# Name of the host. 540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 541# so uname gets run too. 542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543 544# 545# Initializations. 546# 547ac_default_prefix=/usr/local 548ac_clean_files= 549ac_config_libobj_dir=. 550LIBOBJS= 551cross_compiling=no 552subdirs= 553MFLAGS= 554MAKEFLAGS= 555SHELL=${CONFIG_SHELL-/bin/sh} 556 557# Identity of this package. 558PACKAGE_NAME='tagtool' 559PACKAGE_TARNAME='tagtool' 560PACKAGE_VERSION='0.12.3' 561PACKAGE_STRING='tagtool 0.12.3' 562PACKAGE_BUGREPORT='' 563 564ac_unique_file="src/main.c" 565# Factoring default headers for most tests. 566ac_includes_default="\ 567#include <stdio.h> 568#if HAVE_SYS_TYPES_H 569# include <sys/types.h> 570#endif 571#if HAVE_SYS_STAT_H 572# include <sys/stat.h> 573#endif 574#if STDC_HEADERS 575# include <stdlib.h> 576# include <stddef.h> 577#else 578# if HAVE_STDLIB_H 579# include <stdlib.h> 580# endif 581#endif 582#if HAVE_STRING_H 583# if !STDC_HEADERS && HAVE_MEMORY_H 584# include <memory.h> 585# endif 586# include <string.h> 587#endif 588#if HAVE_STRINGS_H 589# include <strings.h> 590#endif 591#if HAVE_INTTYPES_H 592# include <inttypes.h> 593#endif 594#if HAVE_STDINT_H 595# include <stdint.h> 596#endif 597#if HAVE_UNISTD_H 598# include <unistd.h> 599#endif" 600 601ac_subst_vars='SHELL 602PATH_SEPARATOR 603PACKAGE_NAME 604PACKAGE_TARNAME 605PACKAGE_VERSION 606PACKAGE_STRING 607PACKAGE_BUGREPORT 608exec_prefix 609prefix 610program_transform_name 611bindir 612sbindir 613libexecdir 614datarootdir 615datadir 616sysconfdir 617sharedstatedir 618localstatedir 619includedir 620oldincludedir 621docdir 622infodir 623htmldir 624dvidir 625pdfdir 626psdir 627libdir 628localedir 629mandir 630DEFS 631ECHO_C 632ECHO_N 633ECHO_T 634LIBS 635build_alias 636host_alias 637target_alias 638INSTALL_PROGRAM 639INSTALL_SCRIPT 640INSTALL_DATA 641CYGPATH_W 642PACKAGE 643VERSION 644ACLOCAL 645AUTOCONF 646AUTOMAKE 647AUTOHEADER 648MAKEINFO 649AMTAR 650install_sh 651STRIP 652INSTALL_STRIP_PROGRAM 653AWK 654SET_MAKE 655am__leading_dot 656MAINTAINER_MODE_TRUE 657MAINTAINER_MODE_FALSE 658MAINT 659SPEC_RELEASE 660CC 661CFLAGS 662LDFLAGS 663CPPFLAGS 664ac_ct_CC 665EXEEXT 666OBJEXT 667DEPDIR 668am__include 669am__quote 670AMDEP_TRUE 671AMDEP_FALSE 672AMDEPBACKSLASH 673CCDEPMODE 674am__fastdepCC_TRUE 675am__fastdepCC_FALSE 676LN_S 677CPP 678GREP 679EGREP 680PKG_CONFIG 681GTK_CFLAGS 682GTK_LIBS 683ENABLE_MP3_TRUE 684ENABLE_MP3_FALSE 685ENABLE_VORBIS_TRUE 686ENABLE_VORBIS_FALSE 687LIBOBJS 688POW_LIB 689INTLTOOL_DESKTOP_RULE 690INTLTOOL_DIRECTORY_RULE 691INTLTOOL_KEYS_RULE 692INTLTOOL_PROP_RULE 693INTLTOOL_OAF_RULE 694INTLTOOL_PONG_RULE 695INTLTOOL_SERVER_RULE 696INTLTOOL_SHEET_RULE 697INTLTOOL_SOUNDLIST_RULE 698INTLTOOL_UI_RULE 699INTLTOOL_XAM_RULE 700INTLTOOL_KBD_RULE 701INTLTOOL_XML_RULE 702INTLTOOL_XML_NOMERGE_RULE 703INTLTOOL_CAVES_RULE 704INTLTOOL_SCHEMAS_RULE 705INTLTOOL_THEME_RULE 706INTLTOOL_SERVICE_RULE 707INTLTOOL_EXTRACT 708INTLTOOL_MERGE 709INTLTOOL_UPDATE 710INTLTOOL_PERL 711INTLTOOL_ICONV 712INTLTOOL_MSGFMT 713INTLTOOL_MSGMERGE 714INTLTOOL_XGETTEXT 715ALL_LINGUAS 716GETTEXT_PACKAGE 717USE_NLS 718MSGFMT 719GMSGFMT 720XGETTEXT 721CATALOGS 722CATOBJEXT 723DATADIRNAME 724GMOFILES 725INSTOBJEXT 726INTLLIBS 727PO_IN_DATADIR_TRUE 728PO_IN_DATADIR_FALSE 729POFILES 730POSUB 731MKINSTALLDIRS 732LTLIBOBJS' 733ac_subst_files='' 734 ac_precious_vars='build_alias 735host_alias 736target_alias 737CC 738CFLAGS 739LDFLAGS 740CPPFLAGS 741CPP 742PKG_CONFIG 743GTK_CFLAGS 744GTK_LIBS' 745 746 747# Initialize some variables set by options. 748ac_init_help= 749ac_init_version=false 750# The variables have the same names as the options, with 751# dashes changed to underlines. 752cache_file=/dev/null 753exec_prefix=NONE 754no_create= 755no_recursion= 756prefix=NONE 757program_prefix=NONE 758program_suffix=NONE 759program_transform_name=s,x,x, 760silent= 761site= 762srcdir= 763verbose= 764x_includes=NONE 765x_libraries=NONE 766 767# Installation directory options. 768# These are left unexpanded so users can "make install exec_prefix=/foo" 769# and all the variables that are supposed to be based on exec_prefix 770# by default will actually change. 771# Use braces instead of parens because sh, perl, etc. also accept them. 772# (The list follows the same order as the GNU Coding Standards.) 773bindir='${exec_prefix}/bin' 774sbindir='${exec_prefix}/sbin' 775libexecdir='${exec_prefix}/libexec' 776datarootdir='${prefix}/share' 777datadir='${datarootdir}' 778sysconfdir='${prefix}/etc' 779sharedstatedir='${prefix}/com' 780localstatedir='${prefix}/var' 781includedir='${prefix}/include' 782oldincludedir='/usr/include' 783docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 784infodir='${datarootdir}/info' 785htmldir='${docdir}' 786dvidir='${docdir}' 787pdfdir='${docdir}' 788psdir='${docdir}' 789libdir='${exec_prefix}/lib' 790localedir='${datarootdir}/locale' 791mandir='${datarootdir}/man' 792 793ac_prev= 794ac_dashdash= 795for ac_option 796do 797 # If the previous option needs an argument, assign it. 798 if test -n "$ac_prev"; then 799 eval $ac_prev=\$ac_option 800 ac_prev= 801 continue 802 fi 803 804 case $ac_option in 805 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 806 *) ac_optarg=yes ;; 807 esac 808 809 # Accept the important Cygnus configure options, so we can diagnose typos. 810 811 case $ac_dashdash$ac_option in 812 --) 813 ac_dashdash=yes ;; 814 815 -bindir | --bindir | --bindi | --bind | --bin | --bi) 816 ac_prev=bindir ;; 817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 818 bindir=$ac_optarg ;; 819 820 -build | --build | --buil | --bui | --bu) 821 ac_prev=build_alias ;; 822 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 823 build_alias=$ac_optarg ;; 824 825 -cache-file | --cache-file | --cache-fil | --cache-fi \ 826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 827 ac_prev=cache_file ;; 828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 830 cache_file=$ac_optarg ;; 831 832 --config-cache | -C) 833 cache_file=config.cache ;; 834 835 -datadir | --datadir | --datadi | --datad) 836 ac_prev=datadir ;; 837 -datadir=* | --datadir=* | --datadi=* | --datad=*) 838 datadir=$ac_optarg ;; 839 840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 841 | --dataroo | --dataro | --datar) 842 ac_prev=datarootdir ;; 843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 845 datarootdir=$ac_optarg ;; 846 847 -disable-* | --disable-*) 848 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 849 # Reject names that are not valid shell variable names. 850 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 851 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 852 { (exit 1); exit 1; }; } 853 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 854 eval enable_$ac_feature=no ;; 855 856 -docdir | --docdir | --docdi | --doc | --do) 857 ac_prev=docdir ;; 858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 859 docdir=$ac_optarg ;; 860 861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 862 ac_prev=dvidir ;; 863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 864 dvidir=$ac_optarg ;; 865 866 -enable-* | --enable-*) 867 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 868 # Reject names that are not valid shell variable names. 869 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 870 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 871 { (exit 1); exit 1; }; } 872 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 873 eval enable_$ac_feature=\$ac_optarg ;; 874 875 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 876 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 877 | --exec | --exe | --ex) 878 ac_prev=exec_prefix ;; 879 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 880 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 881 | --exec=* | --exe=* | --ex=*) 882 exec_prefix=$ac_optarg ;; 883 884 -gas | --gas | --ga | --g) 885 # Obsolete; use --with-gas. 886 with_gas=yes ;; 887 888 -help | --help | --hel | --he | -h) 889 ac_init_help=long ;; 890 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 891 ac_init_help=recursive ;; 892 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 893 ac_init_help=short ;; 894 895 -host | --host | --hos | --ho) 896 ac_prev=host_alias ;; 897 -host=* | --host=* | --hos=* | --ho=*) 898 host_alias=$ac_optarg ;; 899 900 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 901 ac_prev=htmldir ;; 902 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 903 | --ht=*) 904 htmldir=$ac_optarg ;; 905 906 -includedir | --includedir | --includedi | --included | --include \ 907 | --includ | --inclu | --incl | --inc) 908 ac_prev=includedir ;; 909 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 910 | --includ=* | --inclu=* | --incl=* | --inc=*) 911 includedir=$ac_optarg ;; 912 913 -infodir | --infodir | --infodi | --infod | --info | --inf) 914 ac_prev=infodir ;; 915 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 916 infodir=$ac_optarg ;; 917 918 -libdir | --libdir | --libdi | --libd) 919 ac_prev=libdir ;; 920 -libdir=* | --libdir=* | --libdi=* | --libd=*) 921 libdir=$ac_optarg ;; 922 923 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 924 | --libexe | --libex | --libe) 925 ac_prev=libexecdir ;; 926 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 927 | --libexe=* | --libex=* | --libe=*) 928 libexecdir=$ac_optarg ;; 929 930 -localedir | --localedir | --localedi | --localed | --locale) 931 ac_prev=localedir ;; 932 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 933 localedir=$ac_optarg ;; 934 935 -localstatedir | --localstatedir | --localstatedi | --localstated \ 936 | --localstate | --localstat | --localsta | --localst | --locals) 937 ac_prev=localstatedir ;; 938 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 939 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 940 localstatedir=$ac_optarg ;; 941 942 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 943 ac_prev=mandir ;; 944 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 945 mandir=$ac_optarg ;; 946 947 -nfp | --nfp | --nf) 948 # Obsolete; use --without-fp. 949 with_fp=no ;; 950 951 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 952 | --no-cr | --no-c | -n) 953 no_create=yes ;; 954 955 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 956 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 957 no_recursion=yes ;; 958 959 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 960 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 961 | --oldin | --oldi | --old | --ol | --o) 962 ac_prev=oldincludedir ;; 963 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 964 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 965 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 966 oldincludedir=$ac_optarg ;; 967 968 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 969 ac_prev=prefix ;; 970 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 971 prefix=$ac_optarg ;; 972 973 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 974 | --program-pre | --program-pr | --program-p) 975 ac_prev=program_prefix ;; 976 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 977 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 978 program_prefix=$ac_optarg ;; 979 980 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 981 | --program-suf | --program-su | --program-s) 982 ac_prev=program_suffix ;; 983 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 984 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 985 program_suffix=$ac_optarg ;; 986 987 -program-transform-name | --program-transform-name \ 988 | --program-transform-nam | --program-transform-na \ 989 | --program-transform-n | --program-transform- \ 990 | --program-transform | --program-transfor \ 991 | --program-transfo | --program-transf \ 992 | --program-trans | --program-tran \ 993 | --progr-tra | --program-tr | --program-t) 994 ac_prev=program_transform_name ;; 995 -program-transform-name=* | --program-transform-name=* \ 996 | --program-transform-nam=* | --program-transform-na=* \ 997 | --program-transform-n=* | --program-transform-=* \ 998 | --program-transform=* | --program-transfor=* \ 999 | --program-transfo=* | --program-transf=* \ 1000 | --program-trans=* | --program-tran=* \ 1001 | --progr-tra=* | --program-tr=* | --program-t=*) 1002 program_transform_name=$ac_optarg ;; 1003 1004 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1005 ac_prev=pdfdir ;; 1006 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1007 pdfdir=$ac_optarg ;; 1008 1009 -psdir | --psdir | --psdi | --psd | --ps) 1010 ac_prev=psdir ;; 1011 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1012 psdir=$ac_optarg ;; 1013 1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1015 | -silent | --silent | --silen | --sile | --sil) 1016 silent=yes ;; 1017 1018 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1019 ac_prev=sbindir ;; 1020 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1021 | --sbi=* | --sb=*) 1022 sbindir=$ac_optarg ;; 1023 1024 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1025 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1026 | --sharedst | --shareds | --shared | --share | --shar \ 1027 | --sha | --sh) 1028 ac_prev=sharedstatedir ;; 1029 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1030 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1031 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1032 | --sha=* | --sh=*) 1033 sharedstatedir=$ac_optarg ;; 1034 1035 -site | --site | --sit) 1036 ac_prev=site ;; 1037 -site=* | --site=* | --sit=*) 1038 site=$ac_optarg ;; 1039 1040 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1041 ac_prev=srcdir ;; 1042 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1043 srcdir=$ac_optarg ;; 1044 1045 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1046 | --syscon | --sysco | --sysc | --sys | --sy) 1047 ac_prev=sysconfdir ;; 1048 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1049 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1050 sysconfdir=$ac_optarg ;; 1051 1052 -target | --target | --targe | --targ | --tar | --ta | --t) 1053 ac_prev=target_alias ;; 1054 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1055 target_alias=$ac_optarg ;; 1056 1057 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1058 verbose=yes ;; 1059 1060 -version | --version | --versio | --versi | --vers | -V) 1061 ac_init_version=: ;; 1062 1063 -with-* | --with-*) 1064 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1065 # Reject names that are not valid shell variable names. 1066 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1067 { echo "$as_me: error: invalid package name: $ac_package" >&2 1068 { (exit 1); exit 1; }; } 1069 ac_package=`echo $ac_package| sed 's/-/_/g'` 1070 eval with_$ac_package=\$ac_optarg ;; 1071 1072 -without-* | --without-*) 1073 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1074 # Reject names that are not valid shell variable names. 1075 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1076 { echo "$as_me: error: invalid package name: $ac_package" >&2 1077 { (exit 1); exit 1; }; } 1078 ac_package=`echo $ac_package | sed 's/-/_/g'` 1079 eval with_$ac_package=no ;; 1080 1081 --x) 1082 # Obsolete; use --with-x. 1083 with_x=yes ;; 1084 1085 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1086 | --x-incl | --x-inc | --x-in | --x-i) 1087 ac_prev=x_includes ;; 1088 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1089 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1090 x_includes=$ac_optarg ;; 1091 1092 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1093 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1094 ac_prev=x_libraries ;; 1095 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1096 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1097 x_libraries=$ac_optarg ;; 1098 1099 -*) { echo "$as_me: error: unrecognized option: $ac_option 1100Try \`$0 --help' for more information." >&2 1101 { (exit 1); exit 1; }; } 1102 ;; 1103 1104 *=*) 1105 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1106 # Reject names that are not valid shell variable names. 1107 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1108 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1109 { (exit 1); exit 1; }; } 1110 eval $ac_envvar=\$ac_optarg 1111 export $ac_envvar ;; 1112 1113 *) 1114 # FIXME: should be removed in autoconf 3.0. 1115 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1117 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1118 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1119 ;; 1120 1121 esac 1122done 1123 1124if test -n "$ac_prev"; then 1125 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1126 { echo "$as_me: error: missing argument to $ac_option" >&2 1127 { (exit 1); exit 1; }; } 1128fi 1129 1130# Be sure to have absolute directory names. 1131for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1132 datadir sysconfdir sharedstatedir localstatedir includedir \ 1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1134 libdir localedir mandir 1135do 1136 eval ac_val=\$$ac_var 1137 case $ac_val in 1138 [\\/$]* | ?:[\\/]* ) continue;; 1139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1140 esac 1141 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1142 { (exit 1); exit 1; }; } 1143done 1144 1145# There might be people who depend on the old broken behavior: `$host' 1146# used to hold the argument of --host etc. 1147# FIXME: To remove some day. 1148build=$build_alias 1149host=$host_alias 1150target=$target_alias 1151 1152# FIXME: To remove some day. 1153if test "x$host_alias" != x; then 1154 if test "x$build_alias" = x; then 1155 cross_compiling=maybe 1156 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1157 If a cross compiler is detected then cross compile mode will be used." >&2 1158 elif test "x$build_alias" != "x$host_alias"; then 1159 cross_compiling=yes 1160 fi 1161fi 1162 1163ac_tool_prefix= 1164test -n "$host_alias" && ac_tool_prefix=$host_alias- 1165 1166test "$silent" = yes && exec 6>/dev/null 1167 1168 1169ac_pwd=`pwd` && test -n "$ac_pwd" && 1170ac_ls_di=`ls -di .` && 1171ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1172 { echo "$as_me: error: Working directory cannot be determined" >&2 1173 { (exit 1); exit 1; }; } 1174test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1175 { echo "$as_me: error: pwd does not report name of working directory" >&2 1176 { (exit 1); exit 1; }; } 1177 1178 1179# Find the source files, if location was not specified. 1180if test -z "$srcdir"; then 1181 ac_srcdir_defaulted=yes 1182 # Try the directory containing this script, then the parent directory. 1183 ac_confdir=`$as_dirname -- "$0" || 1184$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1185 X"$0" : 'X\(//\)[^/]' \| \ 1186 X"$0" : 'X\(//\)$' \| \ 1187 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1188echo X"$0" | 1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1190 s//\1/ 1191 q 1192 } 1193 /^X\(\/\/\)[^/].*/{ 1194 s//\1/ 1195 q 1196 } 1197 /^X\(\/\/\)$/{ 1198 s//\1/ 1199 q 1200 } 1201 /^X\(\/\).*/{ 1202 s//\1/ 1203 q 1204 } 1205 s/.*/./; q'` 1206 srcdir=$ac_confdir 1207 if test ! -r "$srcdir/$ac_unique_file"; then 1208 srcdir=.. 1209 fi 1210else 1211 ac_srcdir_defaulted=no 1212fi 1213if test ! -r "$srcdir/$ac_unique_file"; then 1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1215 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1216 { (exit 1); exit 1; }; } 1217fi 1218ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1219ac_abs_confdir=`( 1220 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1221 { (exit 1); exit 1; }; } 1222 pwd)` 1223# When building in place, set srcdir=. 1224if test "$ac_abs_confdir" = "$ac_pwd"; then 1225 srcdir=. 1226fi 1227# Remove unnecessary trailing slashes from srcdir. 1228# Double slashes in file names in object file debugging info 1229# mess up M-x gdb in Emacs. 1230case $srcdir in 1231*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1232esac 1233for ac_var in $ac_precious_vars; do 1234 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1235 eval ac_env_${ac_var}_value=\$${ac_var} 1236 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1237 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1238done 1239 1240# 1241# Report the --help message. 1242# 1243if test "$ac_init_help" = "long"; then 1244 # Omit some internal or obsolete options to make the list less imposing. 1245 # This message is too long to be a string in the A/UX 3.1 sh. 1246 cat <<_ACEOF 1247\`configure' configures tagtool 0.12.3 to adapt to many kinds of systems. 1248 1249Usage: $0 [OPTION]... [VAR=VALUE]... 1250 1251To assign environment variables (e.g., CC, CFLAGS...), specify them as 1252VAR=VALUE. See below for descriptions of some of the useful variables. 1253 1254Defaults for the options are specified in brackets. 1255 1256Configuration: 1257 -h, --help display this help and exit 1258 --help=short display options specific to this package 1259 --help=recursive display the short help of all the included packages 1260 -V, --version display version information and exit 1261 -q, --quiet, --silent do not print \`checking...' messages 1262 --cache-file=FILE cache test results in FILE [disabled] 1263 -C, --config-cache alias for \`--cache-file=config.cache' 1264 -n, --no-create do not create output files 1265 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1266 1267Installation directories: 1268 --prefix=PREFIX install architecture-independent files in PREFIX 1269 [$ac_default_prefix] 1270 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1271 [PREFIX] 1272 1273By default, \`make install' will install all the files in 1274\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1275an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1276for instance \`--prefix=\$HOME'. 1277 1278For better control, use the options below. 1279 1280Fine tuning of the installation directories: 1281 --bindir=DIR user executables [EPREFIX/bin] 1282 --sbindir=DIR system admin executables [EPREFIX/sbin] 1283 --libexecdir=DIR program executables [EPREFIX/libexec] 1284 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1285 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1286 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1287 --libdir=DIR object code libraries [EPREFIX/lib] 1288 --includedir=DIR C header files [PREFIX/include] 1289 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1290 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1291 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1292 --infodir=DIR info documentation [DATAROOTDIR/info] 1293 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1294 --mandir=DIR man documentation [DATAROOTDIR/man] 1295 --docdir=DIR documentation root [DATAROOTDIR/doc/tagtool] 1296 --htmldir=DIR html documentation [DOCDIR] 1297 --dvidir=DIR dvi documentation [DOCDIR] 1298 --pdfdir=DIR pdf documentation [DOCDIR] 1299 --psdir=DIR ps documentation [DOCDIR] 1300_ACEOF 1301 1302 cat <<\_ACEOF 1303 1304Program names: 1305 --program-prefix=PREFIX prepend PREFIX to installed program names 1306 --program-suffix=SUFFIX append SUFFIX to installed program names 1307 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1308_ACEOF 1309fi 1310 1311if test -n "$ac_init_help"; then 1312 case $ac_init_help in 1313 short | recursive ) echo "Configuration of tagtool 0.12.3:";; 1314 esac 1315 cat <<\_ACEOF 1316 1317Optional Features: 1318 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1319 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1320 --enable-maintainer-mode enable make rules and dependencies not useful 1321 (and sometimes confusing) to the casual installer 1322 --disable-mp3 Disable MP3 support (if enabled, id3lib is required) 1323 --disable-vorbis Disable Ogg Vorbis support (if enabled, libvorbis is 1324 required) 1325 --disable-dependency-tracking Speeds up one-time builds 1326 --enable-dependency-tracking Do not reject slow dependency extractors 1327 1328Some influential environment variables: 1329 CC C compiler command 1330 CFLAGS C compiler flags 1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1332 nonstandard directory <lib dir> 1333 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1334 you have headers in a nonstandard directory <include dir> 1335 CPP C preprocessor 1336 PKG_CONFIG path to pkg-config utility 1337 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1338 GTK_LIBS linker flags for GTK, overriding pkg-config 1339 1340Use these variables to override the choices made by `configure' or to help 1341it to find libraries and programs with nonstandard names/locations. 1342 1343_ACEOF 1344ac_status=$? 1345fi 1346 1347if test "$ac_init_help" = "recursive"; then 1348 # If there are subdirs, report their specific --help. 1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1350 test -d "$ac_dir" || continue 1351 ac_builddir=. 1352 1353case "$ac_dir" in 1354.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1355*) 1356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1357 # A ".." for each directory in $ac_dir_suffix. 1358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1359 case $ac_top_builddir_sub in 1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1362 esac ;; 1363esac 1364ac_abs_top_builddir=$ac_pwd 1365ac_abs_builddir=$ac_pwd$ac_dir_suffix 1366# for backward compatibility: 1367ac_top_builddir=$ac_top_build_prefix 1368 1369case $srcdir in 1370 .) # We are building in place. 1371 ac_srcdir=. 1372 ac_top_srcdir=$ac_top_builddir_sub 1373 ac_abs_top_srcdir=$ac_pwd ;; 1374 [\\/]* | ?:[\\/]* ) # Absolute name. 1375 ac_srcdir=$srcdir$ac_dir_suffix; 1376 ac_top_srcdir=$srcdir 1377 ac_abs_top_srcdir=$srcdir ;; 1378 *) # Relative name. 1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1380 ac_top_srcdir=$ac_top_build_prefix$srcdir 1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1382esac 1383ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1384 1385 cd "$ac_dir" || { ac_status=$?; continue; } 1386 # Check for guested configure. 1387 if test -f "$ac_srcdir/configure.gnu"; then 1388 echo && 1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1390 elif test -f "$ac_srcdir/configure"; then 1391 echo && 1392 $SHELL "$ac_srcdir/configure" --help=recursive 1393 else 1394 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1395 fi || ac_status=$? 1396 cd "$ac_pwd" || { ac_status=$?; break; } 1397 done 1398fi 1399 1400test -n "$ac_init_help" && exit $ac_status 1401if $ac_init_version; then 1402 cat <<\_ACEOF 1403tagtool configure 0.12.3 1404generated by GNU Autoconf 2.60 1405 1406Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14072002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1408This configure script is free software; the Free Software Foundation 1409gives unlimited permission to copy, distribute and modify it. 1410_ACEOF 1411 exit 1412fi 1413cat >config.log <<_ACEOF 1414This file contains any messages produced by compilers while 1415running configure, to aid debugging if configure makes a mistake. 1416 1417It was created by tagtool $as_me 0.12.3, which was 1418generated by GNU Autoconf 2.60. Invocation command line was 1419 1420 $ $0 $@ 1421 1422_ACEOF 1423exec 5>>config.log 1424{ 1425cat <<_ASUNAME 1426## --------- ## 1427## Platform. ## 1428## --------- ## 1429 1430hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1431uname -m = `(uname -m) 2>/dev/null || echo unknown` 1432uname -r = `(uname -r) 2>/dev/null || echo unknown` 1433uname -s = `(uname -s) 2>/dev/null || echo unknown` 1434uname -v = `(uname -v) 2>/dev/null || echo unknown` 1435 1436/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1437/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1438 1439/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1440/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1441/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1442/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1443/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1444/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1445/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1446 1447_ASUNAME 1448 1449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1450for as_dir in $PATH 1451do 1452 IFS=$as_save_IFS 1453 test -z "$as_dir" && as_dir=. 1454 echo "PATH: $as_dir" 1455done 1456IFS=$as_save_IFS 1457 1458} >&5 1459 1460cat >&5 <<_ACEOF 1461 1462 1463## ----------- ## 1464## Core tests. ## 1465## ----------- ## 1466 1467_ACEOF 1468 1469 1470# Keep a trace of the command line. 1471# Strip out --no-create and --no-recursion so they do not pile up. 1472# Strip out --silent because we don't want to record it for future runs. 1473# Also quote any args containing shell meta-characters. 1474# Make two passes to allow for proper duplicate-argument suppression. 1475ac_configure_args= 1476ac_configure_args0= 1477ac_configure_args1= 1478ac_must_keep_next=false 1479for ac_pass in 1 2 1480do 1481 for ac_arg 1482 do 1483 case $ac_arg in 1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1486 | -silent | --silent | --silen | --sile | --sil) 1487 continue ;; 1488 *\'*) 1489 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1490 esac 1491 case $ac_pass in 1492 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1493 2) 1494 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1495 if test $ac_must_keep_next = true; then 1496 ac_must_keep_next=false # Got value, back to normal. 1497 else 1498 case $ac_arg in 1499 *=* | --config-cache | -C | -disable-* | --disable-* \ 1500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1502 | -with-* | --with-* | -without-* | --without-* | --x) 1503 case "$ac_configure_args0 " in 1504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1505 esac 1506 ;; 1507 -* ) ac_must_keep_next=true ;; 1508 esac 1509 fi 1510 ac_configure_args="$ac_configure_args '$ac_arg'" 1511 ;; 1512 esac 1513 done 1514done 1515$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1516$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1517 1518# When interrupted or exit'd, cleanup temporary files, and complete 1519# config.log. We remove comments because anyway the quotes in there 1520# would cause problems or look ugly. 1521# WARNING: Use '\'' to represent an apostrophe within the trap. 1522# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1523trap 'exit_status=$? 1524 # Save into config.log some information that might help in debugging. 1525 { 1526 echo 1527 1528 cat <<\_ASBOX 1529## ---------------- ## 1530## Cache variables. ## 1531## ---------------- ## 1532_ASBOX 1533 echo 1534 # The following way of writing the cache mishandles newlines in values, 1535( 1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1537 eval ac_val=\$$ac_var 1538 case $ac_val in #( 1539 *${as_nl}*) 1540 case $ac_var in #( 1541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1542echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1543 esac 1544 case $ac_var in #( 1545 _ | IFS | as_nl) ;; #( 1546 *) $as_unset $ac_var ;; 1547 esac ;; 1548 esac 1549 done 1550 (set) 2>&1 | 1551 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1552 *${as_nl}ac_space=\ *) 1553 sed -n \ 1554 "s/'\''/'\''\\\\'\'''\''/g; 1555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1556 ;; #( 1557 *) 1558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1559 ;; 1560 esac | 1561 sort 1562) 1563 echo 1564 1565 cat <<\_ASBOX 1566## ----------------- ## 1567## Output variables. ## 1568## ----------------- ## 1569_ASBOX 1570 echo 1571 for ac_var in $ac_subst_vars 1572 do 1573 eval ac_val=\$$ac_var 1574 case $ac_val in 1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1576 esac 1577 echo "$ac_var='\''$ac_val'\''" 1578 done | sort 1579 echo 1580 1581 if test -n "$ac_subst_files"; then 1582 cat <<\_ASBOX 1583## ------------------- ## 1584## File substitutions. ## 1585## ------------------- ## 1586_ASBOX 1587 echo 1588 for ac_var in $ac_subst_files 1589 do 1590 eval ac_val=\$$ac_var 1591 case $ac_val in 1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1593 esac 1594 echo "$ac_var='\''$ac_val'\''" 1595 done | sort 1596 echo 1597 fi 1598 1599 if test -s confdefs.h; then 1600 cat <<\_ASBOX 1601## ----------- ## 1602## confdefs.h. ## 1603## ----------- ## 1604_ASBOX 1605 echo 1606 cat confdefs.h 1607 echo 1608 fi 1609 test "$ac_signal" != 0 && 1610 echo "$as_me: caught signal $ac_signal" 1611 echo "$as_me: exit $exit_status" 1612 } >&5 1613 rm -f core *.core core.conftest.* && 1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1615 exit $exit_status 1616' 0 1617for ac_signal in 1 2 13 15; do 1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1619done 1620ac_signal=0 1621 1622# confdefs.h avoids OS command line length limits that DEFS can exceed. 1623rm -f -r conftest* confdefs.h 1624 1625# Predefined preprocessor variables. 1626 1627cat >>confdefs.h <<_ACEOF 1628#define PACKAGE_NAME "$PACKAGE_NAME" 1629_ACEOF 1630 1631 1632cat >>confdefs.h <<_ACEOF 1633#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1634_ACEOF 1635 1636 1637cat >>confdefs.h <<_ACEOF 1638#define PACKAGE_VERSION "$PACKAGE_VERSION" 1639_ACEOF 1640 1641 1642cat >>confdefs.h <<_ACEOF 1643#define PACKAGE_STRING "$PACKAGE_STRING" 1644_ACEOF 1645 1646 1647cat >>confdefs.h <<_ACEOF 1648#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1649_ACEOF 1650 1651 1652# Let the site file select an alternate cache file if it wants to. 1653# Prefer explicitly selected file to automatically selected ones. 1654if test -n "$CONFIG_SITE"; then 1655 set x "$CONFIG_SITE" 1656elif test "x$prefix" != xNONE; then 1657 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1658else 1659 set x "$ac_default_prefix/share/config.site" \ 1660 "$ac_default_prefix/etc/config.site" 1661fi 1662shift 1663for ac_site_file 1664do 1665 if test -r "$ac_site_file"; then 1666 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1667echo "$as_me: loading site script $ac_site_file" >&6;} 1668 sed 's/^/| /' "$ac_site_file" >&5 1669 . "$ac_site_file" 1670 fi 1671done 1672 1673if test -r "$cache_file"; then 1674 # Some versions of bash will fail to source /dev/null (special 1675 # files actually), so we avoid doing that. 1676 if test -f "$cache_file"; then 1677 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1678echo "$as_me: loading cache $cache_file" >&6;} 1679 case $cache_file in 1680 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1681 *) . "./$cache_file";; 1682 esac 1683 fi 1684else 1685 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1686echo "$as_me: creating cache $cache_file" >&6;} 1687 >$cache_file 1688fi 1689 1690# Check that the precious variables saved in the cache have kept the same 1691# value. 1692ac_cache_corrupted=false 1693for ac_var in $ac_precious_vars; do 1694 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1695 eval ac_new_set=\$ac_env_${ac_var}_set 1696 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1697 eval ac_new_val=\$ac_env_${ac_var}_value 1698 case $ac_old_set,$ac_new_set in 1699 set,) 1700 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1701echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1702 ac_cache_corrupted=: ;; 1703 ,set) 1704 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1705echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1706 ac_cache_corrupted=: ;; 1707 ,);; 1708 *) 1709 if test "x$ac_old_val" != "x$ac_new_val"; then 1710 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1711echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1712 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1713echo "$as_me: former value: $ac_old_val" >&2;} 1714 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1715echo "$as_me: current value: $ac_new_val" >&2;} 1716 ac_cache_corrupted=: 1717 fi;; 1718 esac 1719 # Pass precious variables to config.status. 1720 if test "$ac_new_set" = set; then 1721 case $ac_new_val in 1722 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1723 *) ac_arg=$ac_var=$ac_new_val ;; 1724 esac 1725 case " $ac_configure_args " in 1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1727 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1728 esac 1729 fi 1730done 1731if $ac_cache_corrupted; then 1732 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1733echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1734 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1735echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1736 { (exit 1); exit 1; }; } 1737fi 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763ac_ext=c 1764ac_cpp='$CPP $CPPFLAGS' 1765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1767ac_compiler_gnu=$ac_cv_c_compiler_gnu 1768 1769 1770am__api_version="1.7" 1771ac_aux_dir= 1772for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1773 if test -f "$ac_dir/install-sh"; then 1774 ac_aux_dir=$ac_dir 1775 ac_install_sh="$ac_aux_dir/install-sh -c" 1776 break 1777 elif test -f "$ac_dir/install.sh"; then 1778 ac_aux_dir=$ac_dir 1779 ac_install_sh="$ac_aux_dir/install.sh -c" 1780 break 1781 elif test -f "$ac_dir/shtool"; then 1782 ac_aux_dir=$ac_dir 1783 ac_install_sh="$ac_aux_dir/shtool install -c" 1784 break 1785 fi 1786done 1787if test -z "$ac_aux_dir"; then 1788 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1789echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1790 { (exit 1); exit 1; }; } 1791fi 1792 1793# These three variables are undocumented and unsupported, 1794# and are intended to be withdrawn in a future Autoconf release. 1795# They can cause serious problems if a builder's source tree is in a directory 1796# whose full name contains unusual characters. 1797ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1798ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1799ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1800 1801 1802# Find a good install program. We prefer a C program (faster), 1803# so one script is as good as another. But avoid the broken or 1804# incompatible versions: 1805# SysV /etc/install, /usr/sbin/install 1806# SunOS /usr/etc/install 1807# IRIX /sbin/install 1808# AIX /bin/install 1809# AmigaOS /C/install, which installs bootblocks on floppy discs 1810# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1811# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1812# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1813# OS/2's system install, which has a completely different semantic 1814# ./install, which can be erroneously created by make from ./install.sh. 1815{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1816echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1817if test -z "$INSTALL"; then 1818if test "${ac_cv_path_install+set}" = set; then 1819 echo $ECHO_N "(cached) $ECHO_C" >&6 1820else 1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1822for as_dir in $PATH 1823do 1824 IFS=$as_save_IFS 1825 test -z "$as_dir" && as_dir=. 1826 # Account for people who put trailing slashes in PATH elements. 1827case $as_dir/ in 1828 ./ | .// | /cC/* | \ 1829 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1830 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1831 /usr/ucb/* ) ;; 1832 *) 1833 # OSF1 and SCO ODT 3.0 have their own names for install. 1834 # Don't use installbsd from OSF since it installs stuff as root 1835 # by default. 1836 for ac_prog in ginstall scoinst install; do 1837 for ac_exec_ext in '' $ac_executable_extensions; do 1838 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 1839 if test $ac_prog = install && 1840 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1841 # AIX install. It has an incompatible calling convention. 1842 : 1843 elif test $ac_prog = install && 1844 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1845 # program-specific install script used by HP pwplus--don't use. 1846 : 1847 else 1848 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1849 break 3 1850 fi 1851 fi 1852 done 1853 done 1854 ;; 1855esac 1856done 1857IFS=$as_save_IFS 1858 1859 1860fi 1861 if test "${ac_cv_path_install+set}" = set; then 1862 INSTALL=$ac_cv_path_install 1863 else 1864 # As a last resort, use the slow shell script. Don't cache a 1865 # value for INSTALL within a source directory, because that will 1866 # break other packages using the cache if that directory is 1867 # removed, or if the value is a relative name. 1868 INSTALL=$ac_install_sh 1869 fi 1870fi 1871{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1872echo "${ECHO_T}$INSTALL" >&6; } 1873 1874# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1875# It thinks the first close brace ends the variable substitution. 1876test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1877 1878test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1879 1880test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1881 1882{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1883echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1884# Just in case 1885sleep 1 1886echo timestamp > conftest.file 1887# Do `set' in a subshell so we don't clobber the current shell's 1888# arguments. Must try -L first in case configure is actually a 1889# symlink; some systems play weird games with the mod time of symlinks 1890# (eg FreeBSD returns the mod time of the symlink's containing 1891# directory). 1892if ( 1893 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1894 if test "$*" = "X"; then 1895 # -L didn't work. 1896 set X `ls -t $srcdir/configure conftest.file` 1897 fi 1898 rm -f conftest.file 1899 if test "$*" != "X $srcdir/configure conftest.file" \ 1900 && test "$*" != "X conftest.file $srcdir/configure"; then 1901 1902 # If neither matched, then we have a broken ls. This can happen 1903 # if, for instance, CONFIG_SHELL is bash and it inherits a 1904 # broken ls alias from the environment. This has actually 1905 # happened. Such a system could not be considered "sane". 1906 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1907alias in your environment" >&5 1908echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1909alias in your environment" >&2;} 1910 { (exit 1); exit 1; }; } 1911 fi 1912 1913 test "$2" = conftest.file 1914 ) 1915then 1916 # Ok. 1917 : 1918else 1919 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1920Check your system clock" >&5 1921echo "$as_me: error: newly created file is older than distributed files! 1922Check your system clock" >&2;} 1923 { (exit 1); exit 1; }; } 1924fi 1925{ echo "$as_me:$LINENO: result: yes" >&5 1926echo "${ECHO_T}yes" >&6; } 1927test "$program_prefix" != NONE && 1928 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1929# Use a double $ so make ignores it. 1930test "$program_suffix" != NONE && 1931 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1932# Double any \ or $. echo might interpret backslashes. 1933# By default was `s,x,x', remove it if useless. 1934cat <<\_ACEOF >conftest.sed 1935s/[\\$]/&&/g;s/;s,x,x,$// 1936_ACEOF 1937program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1938rm -f conftest.sed 1939 1940 1941# expand $ac_aux_dir to an absolute path 1942am_aux_dir=`cd $ac_aux_dir && pwd` 1943 1944test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1945# Use eval to expand $SHELL 1946if eval "$MISSING --run true"; then 1947 am_missing_run="$MISSING --run " 1948else 1949 am_missing_run= 1950 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1951echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1952fi 1953 1954for ac_prog in gawk mawk nawk awk 1955do 1956 # Extract the first word of "$ac_prog", so it can be a program name with args. 1957set dummy $ac_prog; ac_word=$2 1958{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1959echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1960if test "${ac_cv_prog_AWK+set}" = set; then 1961 echo $ECHO_N "(cached) $ECHO_C" >&6 1962else 1963 if test -n "$AWK"; then 1964 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1965else 1966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1967for as_dir in $PATH 1968do 1969 IFS=$as_save_IFS 1970 test -z "$as_dir" && as_dir=. 1971 for ac_exec_ext in '' $ac_executable_extensions; do 1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1973 ac_cv_prog_AWK="$ac_prog" 1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1975 break 2 1976 fi 1977done 1978done 1979IFS=$as_save_IFS 1980 1981fi 1982fi 1983AWK=$ac_cv_prog_AWK 1984if test -n "$AWK"; then 1985 { echo "$as_me:$LINENO: result: $AWK" >&5 1986echo "${ECHO_T}$AWK" >&6; } 1987else 1988 { echo "$as_me:$LINENO: result: no" >&5 1989echo "${ECHO_T}no" >&6; } 1990fi 1991 1992 1993 test -n "$AWK" && break 1994done 1995 1996{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1997echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1998set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1999if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2000 echo $ECHO_N "(cached) $ECHO_C" >&6 2001else 2002 cat >conftest.make <<\_ACEOF 2003SHELL = /bin/sh 2004all: 2005 @echo '@@@%%%=$(MAKE)=@@@%%%' 2006_ACEOF 2007# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2008case `${MAKE-make} -f conftest.make 2>/dev/null` in 2009 *@@@%%%=?*=@@@%%%*) 2010 eval ac_cv_prog_make_${ac_make}_set=yes;; 2011 *) 2012 eval ac_cv_prog_make_${ac_make}_set=no;; 2013esac 2014rm -f conftest.make 2015fi 2016if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2017 { echo "$as_me:$LINENO: result: yes" >&5 2018echo "${ECHO_T}yes" >&6; } 2019 SET_MAKE= 2020else 2021 { echo "$as_me:$LINENO: result: no" >&5 2022echo "${ECHO_T}no" >&6; } 2023 SET_MAKE="MAKE=${MAKE-make}" 2024fi 2025 2026rm -rf .tst 2>/dev/null 2027mkdir .tst 2>/dev/null 2028if test -d .tst; then 2029 am__leading_dot=. 2030else 2031 am__leading_dot=_ 2032fi 2033rmdir .tst 2>/dev/null 2034 2035 # test to see if srcdir already configured 2036if test "`cd $srcdir && pwd`" != "`pwd`" && 2037 test -f $srcdir/config.status; then 2038 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2039echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2040 { (exit 1); exit 1; }; } 2041fi 2042 2043# test whether we have cygpath 2044if test -z "$CYGPATH_W"; then 2045 if (cygpath --version) >/dev/null 2>/dev/null; then 2046 CYGPATH_W='cygpath -w' 2047 else 2048 CYGPATH_W=echo 2049 fi 2050fi 2051 2052 2053# Define the identity of the package. 2054 PACKAGE=${PACKAGE_NAME} 2055 VERSION=${PACKAGE_VERSION} 2056 2057 2058cat >>confdefs.h <<_ACEOF 2059#define PACKAGE "$PACKAGE" 2060_ACEOF 2061 2062 2063cat >>confdefs.h <<_ACEOF 2064#define VERSION "$VERSION" 2065_ACEOF 2066 2067# Some tools Automake needs. 2068 2069ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2070 2071 2072AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2073 2074 2075AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2076 2077 2078AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2079 2080 2081MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2082 2083 2084AMTAR=${AMTAR-"${am_missing_run}tar"} 2085 2086install_sh=${install_sh-"$am_aux_dir/install-sh"} 2087 2088# Installed binaries are usually stripped using `strip' when the user 2089# run `make install-strip'. However `strip' might not be the right 2090# tool to use in cross-compilation environments, therefore Automake 2091# will honor the `STRIP' environment variable to overrule this program. 2092if test "$cross_compiling" != no; then 2093 if test -n "$ac_tool_prefix"; then 2094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2095set dummy ${ac_tool_prefix}strip; ac_word=$2 2096{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2097echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2098if test "${ac_cv_prog_STRIP+set}" = set; then 2099 echo $ECHO_N "(cached) $ECHO_C" >&6 2100else 2101 if test -n "$STRIP"; then 2102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2103else 2104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2105for as_dir in $PATH 2106do 2107 IFS=$as_save_IFS 2108 test -z "$as_dir" && as_dir=. 2109 for ac_exec_ext in '' $ac_executable_extensions; do 2110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2111 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2113 break 2 2114 fi 2115done 2116done 2117IFS=$as_save_IFS 2118 2119fi 2120fi 2121STRIP=$ac_cv_prog_STRIP 2122if test -n "$STRIP"; then 2123 { echo "$as_me:$LINENO: result: $STRIP" >&5 2124echo "${ECHO_T}$STRIP" >&6; } 2125else 2126 { echo "$as_me:$LINENO: result: no" >&5 2127echo "${ECHO_T}no" >&6; } 2128fi 2129 2130 2131fi 2132if test -z "$ac_cv_prog_STRIP"; then 2133 ac_ct_STRIP=$STRIP 2134 # Extract the first word of "strip", so it can be a program name with args. 2135set dummy strip; ac_word=$2 2136{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2137echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2138if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2139 echo $ECHO_N "(cached) $ECHO_C" >&6 2140else 2141 if test -n "$ac_ct_STRIP"; then 2142 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2143else 2144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2145for as_dir in $PATH 2146do 2147 IFS=$as_save_IFS 2148 test -z "$as_dir" && as_dir=. 2149 for ac_exec_ext in '' $ac_executable_extensions; do 2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2151 ac_cv_prog_ac_ct_STRIP="strip" 2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2153 break 2 2154 fi 2155done 2156done 2157IFS=$as_save_IFS 2158 2159fi 2160fi 2161ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2162if test -n "$ac_ct_STRIP"; then 2163 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2164echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2165else 2166 { echo "$as_me:$LINENO: result: no" >&5 2167echo "${ECHO_T}no" >&6; } 2168fi 2169 2170 if test "x$ac_ct_STRIP" = x; then 2171 STRIP=":" 2172 else 2173 case $cross_compiling:$ac_tool_warned in 2174yes:) 2175{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2176whose name does not start with the host triplet. If you think this 2177configuration is useful to you, please write to autoconf@gnu.org." >&5 2178echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2179whose name does not start with the host triplet. If you think this 2180configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2181ac_tool_warned=yes ;; 2182esac 2183 STRIP=$ac_ct_STRIP 2184 fi 2185else 2186 STRIP="$ac_cv_prog_STRIP" 2187fi 2188 2189fi 2190INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2191 2192# We need awk for the "check" target. The system "awk" is bad on 2193# some platforms. 2194 2195 2196 2197 2198 2199ac_config_headers="$ac_config_headers config.h" 2200 2201{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2202echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2203 # Check whether --enable-maintainer-mode was given. 2204if test "${enable_maintainer_mode+set}" = set; then 2205 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2206else 2207 USE_MAINTAINER_MODE=no 2208fi 2209 2210 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2211echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2212 2213 2214if test $USE_MAINTAINER_MODE = yes; then 2215 MAINTAINER_MODE_TRUE= 2216 MAINTAINER_MODE_FALSE='#' 2217else 2218 MAINTAINER_MODE_TRUE='#' 2219 MAINTAINER_MODE_FALSE= 2220fi 2221 2222 MAINT=$MAINTAINER_MODE_TRUE 2223 2224 2225 2226SPEC_RELEASE="1" 2227 2228 2229 2230# Check whether --enable-mp3 was given. 2231if test "${enable_mp3+set}" = set; then 2232 enableval=$enable_mp3; enable_mp3=no; disable_mp3_reason="(disabled)" 2233else 2234 enable_mp3=yes 2235fi 2236 2237 2238# Check whether --enable-vorbis was given. 2239if test "${enable_vorbis+set}" = set; then 2240 enableval=$enable_vorbis; enable_vorbis=no; disable_vorbis_reason="(disabled)" 2241else 2242 enable_vorbis=yes 2243fi 2244 2245 2246if test "$enable_mp3" = "no" && test "$enable_vorbis" = "no"; then 2247 { { echo "$as_me:$LINENO: error: At least one of 'mp3' or 'vorbis' must be enabled. Try './configure --help' for a list of options." >&5 2248echo "$as_me: error: At least one of 'mp3' or 'vorbis' must be enabled. Try './configure --help' for a list of options." >&2;} 2249 { (exit 1); exit 1; }; } 2250fi; 2251 2252 2253ac_ext=c 2254ac_cpp='$CPP $CPPFLAGS' 2255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2257ac_compiler_gnu=$ac_cv_c_compiler_gnu 2258if test -n "$ac_tool_prefix"; then 2259 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2260set dummy ${ac_tool_prefix}gcc; ac_word=$2 2261{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2262echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2263if test "${ac_cv_prog_CC+set}" = set; then 2264 echo $ECHO_N "(cached) $ECHO_C" >&6 2265else 2266 if test -n "$CC"; then 2267 ac_cv_prog_CC="$CC" # Let the user override the test. 2268else 2269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2270for as_dir in $PATH 2271do 2272 IFS=$as_save_IFS 2273 test -z "$as_dir" && as_dir=. 2274 for ac_exec_ext in '' $ac_executable_extensions; do 2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2276 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2278 break 2 2279 fi 2280done 2281done 2282IFS=$as_save_IFS 2283 2284fi 2285fi 2286CC=$ac_cv_prog_CC 2287if test -n "$CC"; then 2288 { echo "$as_me:$LINENO: result: $CC" >&5 2289echo "${ECHO_T}$CC" >&6; } 2290else 2291 { echo "$as_me:$LINENO: result: no" >&5 2292echo "${ECHO_T}no" >&6; } 2293fi 2294 2295 2296fi 2297if test -z "$ac_cv_prog_CC"; then 2298 ac_ct_CC=$CC 2299 # Extract the first word of "gcc", so it can be a program name with args. 2300set dummy gcc; ac_word=$2 2301{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2302echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2303if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2304 echo $ECHO_N "(cached) $ECHO_C" >&6 2305else 2306 if test -n "$ac_ct_CC"; then 2307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2308else 2309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2310for as_dir in $PATH 2311do 2312 IFS=$as_save_IFS 2313 test -z "$as_dir" && as_dir=. 2314 for ac_exec_ext in '' $ac_executable_extensions; do 2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2316 ac_cv_prog_ac_ct_CC="gcc" 2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2318 break 2 2319 fi 2320done 2321done 2322IFS=$as_save_IFS 2323 2324fi 2325fi 2326ac_ct_CC=$ac_cv_prog_ac_ct_CC 2327if test -n "$ac_ct_CC"; then 2328 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2329echo "${ECHO_T}$ac_ct_CC" >&6; } 2330else 2331 { echo "$as_me:$LINENO: result: no" >&5 2332echo "${ECHO_T}no" >&6; } 2333fi 2334 2335 if test "x$ac_ct_CC" = x; then 2336 CC="" 2337 else 2338 case $cross_compiling:$ac_tool_warned in 2339yes:) 2340{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2341whose name does not start with the host triplet. If you think this 2342configuration is useful to you, please write to autoconf@gnu.org." >&5 2343echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2344whose name does not start with the host triplet. If you think this 2345configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2346ac_tool_warned=yes ;; 2347esac 2348 CC=$ac_ct_CC 2349 fi 2350else 2351 CC="$ac_cv_prog_CC" 2352fi 2353 2354if test -z "$CC"; then 2355 if test -n "$ac_tool_prefix"; then 2356 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2357set dummy ${ac_tool_prefix}cc; ac_word=$2 2358{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2359echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2360if test "${ac_cv_prog_CC+set}" = set; then 2361 echo $ECHO_N "(cached) $ECHO_C" >&6 2362else 2363 if test -n "$CC"; then 2364 ac_cv_prog_CC="$CC" # Let the user override the test. 2365else 2366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2367for as_dir in $PATH 2368do 2369 IFS=$as_save_IFS 2370 test -z "$as_dir" && as_dir=. 2371 for ac_exec_ext in '' $ac_executable_extensions; do 2372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2373 ac_cv_prog_CC="${ac_tool_prefix}cc" 2374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2375 break 2 2376 fi 2377done 2378done 2379IFS=$as_save_IFS 2380 2381fi 2382fi 2383CC=$ac_cv_prog_CC 2384if test -n "$CC"; then 2385 { echo "$as_me:$LINENO: result: $CC" >&5 2386echo "${ECHO_T}$CC" >&6; } 2387else 2388 { echo "$as_me:$LINENO: result: no" >&5 2389echo "${ECHO_T}no" >&6; } 2390fi 2391 2392 2393 fi 2394fi 2395if test -z "$CC"; then 2396 # Extract the first word of "cc", so it can be a program name with args. 2397set dummy cc; ac_word=$2 2398{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2399echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2400if test "${ac_cv_prog_CC+set}" = set; then 2401 echo $ECHO_N "(cached) $ECHO_C" >&6 2402else 2403 if test -n "$CC"; then 2404 ac_cv_prog_CC="$CC" # Let the user override the test. 2405else 2406 ac_prog_rejected=no 2407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2408for as_dir in $PATH 2409do 2410 IFS=$as_save_IFS 2411 test -z "$as_dir" && as_dir=. 2412 for ac_exec_ext in '' $ac_executable_extensions; do 2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2414 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2415 ac_prog_rejected=yes 2416 continue 2417 fi 2418 ac_cv_prog_CC="cc" 2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2420 break 2 2421 fi 2422done 2423done 2424IFS=$as_save_IFS 2425 2426if test $ac_prog_rejected = yes; then 2427 # We found a bogon in the path, so make sure we never use it. 2428 set dummy $ac_cv_prog_CC 2429 shift 2430 if test $# != 0; then 2431 # We chose a different compiler from the bogus one. 2432 # However, it has the same basename, so the bogon will be chosen 2433 # first if we set CC to just the basename; use the full file name. 2434 shift 2435 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2436 fi 2437fi 2438fi 2439fi 2440CC=$ac_cv_prog_CC 2441if test -n "$CC"; then 2442 { echo "$as_me:$LINENO: result: $CC" >&5 2443echo "${ECHO_T}$CC" >&6; } 2444else 2445 { echo "$as_me:$LINENO: result: no" >&5 2446echo "${ECHO_T}no" >&6; } 2447fi 2448 2449 2450fi 2451if test -z "$CC"; then 2452 if test -n "$ac_tool_prefix"; then 2453 for ac_prog in cl.exe 2454 do 2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2456set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2457{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2458echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2459if test "${ac_cv_prog_CC+set}" = set; then 2460 echo $ECHO_N "(cached) $ECHO_C" >&6 2461else 2462 if test -n "$CC"; then 2463 ac_cv_prog_CC="$CC" # Let the user override the test. 2464else 2465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2466for as_dir in $PATH 2467do 2468 IFS=$as_save_IFS 2469 test -z "$as_dir" && as_dir=. 2470 for ac_exec_ext in '' $ac_executable_extensions; do 2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2472 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2474 break 2 2475 fi 2476done 2477done 2478IFS=$as_save_IFS 2479 2480fi 2481fi 2482CC=$ac_cv_prog_CC 2483if test -n "$CC"; then 2484 { echo "$as_me:$LINENO: result: $CC" >&5 2485echo "${ECHO_T}$CC" >&6; } 2486else 2487 { echo "$as_me:$LINENO: result: no" >&5 2488echo "${ECHO_T}no" >&6; } 2489fi 2490 2491 2492 test -n "$CC" && break 2493 done 2494fi 2495if test -z "$CC"; then 2496 ac_ct_CC=$CC 2497 for ac_prog in cl.exe 2498do 2499 # Extract the first word of "$ac_prog", so it can be a program name with args. 2500set dummy $ac_prog; ac_word=$2 2501{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2503if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2504 echo $ECHO_N "(cached) $ECHO_C" >&6 2505else 2506 if test -n "$ac_ct_CC"; then 2507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2508else 2509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2510for as_dir in $PATH 2511do 2512 IFS=$as_save_IFS 2513 test -z "$as_dir" && as_dir=. 2514 for ac_exec_ext in '' $ac_executable_extensions; do 2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2516 ac_cv_prog_ac_ct_CC="$ac_prog" 2517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2518 break 2 2519 fi 2520done 2521done 2522IFS=$as_save_IFS 2523 2524fi 2525fi 2526ac_ct_CC=$ac_cv_prog_ac_ct_CC 2527if test -n "$ac_ct_CC"; then 2528 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2529echo "${ECHO_T}$ac_ct_CC" >&6; } 2530else 2531 { echo "$as_me:$LINENO: result: no" >&5 2532echo "${ECHO_T}no" >&6; } 2533fi 2534 2535 2536 test -n "$ac_ct_CC" && break 2537done 2538 2539 if test "x$ac_ct_CC" = x; then 2540 CC="" 2541 else 2542 case $cross_compiling:$ac_tool_warned in 2543yes:) 2544{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2545whose name does not start with the host triplet. If you think this 2546configuration is useful to you, please write to autoconf@gnu.org." >&5 2547echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2548whose name does not start with the host triplet. If you think this 2549configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2550ac_tool_warned=yes ;; 2551esac 2552 CC=$ac_ct_CC 2553 fi 2554fi 2555 2556fi 2557 2558 2559test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2560See \`config.log' for more details." >&5 2561echo "$as_me: error: no acceptable C compiler found in \$PATH 2562See \`config.log' for more details." >&2;} 2563 { (exit 1); exit 1; }; } 2564 2565# Provide some information about the compiler. 2566echo "$as_me:$LINENO: checking for C compiler version" >&5 2567ac_compiler=`set X $ac_compile; echo $2` 2568{ (ac_try="$ac_compiler --version >&5" 2569case "(($ac_try" in 2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2571 *) ac_try_echo=$ac_try;; 2572esac 2573eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2574 (eval "$ac_compiler --version >&5") 2>&5 2575 ac_status=$? 2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2577 (exit $ac_status); } 2578{ (ac_try="$ac_compiler -v >&5" 2579case "(($ac_try" in 2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2581 *) ac_try_echo=$ac_try;; 2582esac 2583eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2584 (eval "$ac_compiler -v >&5") 2>&5 2585 ac_status=$? 2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2587 (exit $ac_status); } 2588{ (ac_try="$ac_compiler -V >&5" 2589case "(($ac_try" in 2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2591 *) ac_try_echo=$ac_try;; 2592esac 2593eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2594 (eval "$ac_compiler -V >&5") 2>&5 2595 ac_status=$? 2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 (exit $ac_status); } 2598 2599cat >conftest.$ac_ext <<_ACEOF 2600/* confdefs.h. */ 2601_ACEOF 2602cat confdefs.h >>conftest.$ac_ext 2603cat >>conftest.$ac_ext <<_ACEOF 2604/* end confdefs.h. */ 2605 2606int 2607main () 2608{ 2609 2610 ; 2611 return 0; 2612} 2613_ACEOF 2614ac_clean_files_save=$ac_clean_files 2615ac_clean_files="$ac_clean_files a.out a.exe b.out" 2616# Try to create an executable without -o first, disregard a.out. 2617# It will help us diagnose broken compilers, and finding out an intuition 2618# of exeext. 2619{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2620echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2621ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2622# 2623# List of possible output files, starting from the most likely. 2624# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2625# only as a last resort. b.out is created by i960 compilers. 2626ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2627# 2628# The IRIX 6 linker writes into existing files which may not be 2629# executable, retaining their permissions. Remove them first so a 2630# subsequent execution test works. 2631ac_rmfiles= 2632for ac_file in $ac_files 2633do 2634 case $ac_file in 2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2636 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2637 esac 2638done 2639rm -f $ac_rmfiles 2640 2641if { (ac_try="$ac_link_default" 2642case "(($ac_try" in 2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2644 *) ac_try_echo=$ac_try;; 2645esac 2646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2647 (eval "$ac_link_default") 2>&5 2648 ac_status=$? 2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2650 (exit $ac_status); }; then 2651 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2652# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2653# in a Makefile. We should not override ac_cv_exeext if it was cached, 2654# so that the user can short-circuit this test for compilers unknown to 2655# Autoconf. 2656for ac_file in $ac_files 2657do 2658 test -f "$ac_file" || continue 2659 case $ac_file in 2660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2661 ;; 2662 [ab].out ) 2663 # We found the default executable, but exeext='' is most 2664 # certainly right. 2665 break;; 2666 *.* ) 2667 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2668 then :; else 2669 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2670 fi 2671 # We set ac_cv_exeext here because the later test for it is not 2672 # safe: cross compilers may not add the suffix if given an `-o' 2673 # argument, so we may need to know it at that point already. 2674 # Even if this section looks crufty: it has the advantage of 2675 # actually working. 2676 break;; 2677 * ) 2678 break;; 2679 esac 2680done 2681test "$ac_cv_exeext" = no && ac_cv_exeext= 2682 2683else 2684 echo "$as_me: failed program was:" >&5 2685sed 's/^/| /' conftest.$ac_ext >&5 2686 2687{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2688See \`config.log' for more details." >&5 2689echo "$as_me: error: C compiler cannot create executables 2690See \`config.log' for more details." >&2;} 2691 { (exit 77); exit 77; }; } 2692fi 2693 2694ac_exeext=$ac_cv_exeext 2695{ echo "$as_me:$LINENO: result: $ac_file" >&5 2696echo "${ECHO_T}$ac_file" >&6; } 2697 2698# Check that the compiler produces executables we can run. If not, either 2699# the compiler is broken, or we cross compile. 2700{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2701echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2702# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2703# If not cross compiling, check that we can run a simple program. 2704if test "$cross_compiling" != yes; then 2705 if { ac_try='./$ac_file' 2706 { (case "(($ac_try" in 2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2708 *) ac_try_echo=$ac_try;; 2709esac 2710eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2711 (eval "$ac_try") 2>&5 2712 ac_status=$? 2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 (exit $ac_status); }; }; then 2715 cross_compiling=no 2716 else 2717 if test "$cross_compiling" = maybe; then 2718 cross_compiling=yes 2719 else 2720 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2721If you meant to cross compile, use \`--host'. 2722See \`config.log' for more details." >&5 2723echo "$as_me: error: cannot run C compiled programs. 2724If you meant to cross compile, use \`--host'. 2725See \`config.log' for more details." >&2;} 2726 { (exit 1); exit 1; }; } 2727 fi 2728 fi 2729fi 2730{ echo "$as_me:$LINENO: result: yes" >&5 2731echo "${ECHO_T}yes" >&6; } 2732 2733rm -f a.out a.exe conftest$ac_cv_exeext b.out 2734ac_clean_files=$ac_clean_files_save 2735# Check that the compiler produces executables we can run. If not, either 2736# the compiler is broken, or we cross compile. 2737{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2738echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2739{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2740echo "${ECHO_T}$cross_compiling" >&6; } 2741 2742{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2743echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2744if { (ac_try="$ac_link" 2745case "(($ac_try" in 2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2747 *) ac_try_echo=$ac_try;; 2748esac 2749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2750 (eval "$ac_link") 2>&5 2751 ac_status=$? 2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2753 (exit $ac_status); }; then 2754 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2755# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2756# work properly (i.e., refer to `conftest.exe'), while it won't with 2757# `rm'. 2758for ac_file in conftest.exe conftest conftest.*; do 2759 test -f "$ac_file" || continue 2760 case $ac_file in 2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2762 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2763 break;; 2764 * ) break;; 2765 esac 2766done 2767else 2768 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2769See \`config.log' for more details." >&5 2770echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2771See \`config.log' for more details." >&2;} 2772 { (exit 1); exit 1; }; } 2773fi 2774 2775rm -f conftest$ac_cv_exeext 2776{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2777echo "${ECHO_T}$ac_cv_exeext" >&6; } 2778 2779rm -f conftest.$ac_ext 2780EXEEXT=$ac_cv_exeext 2781ac_exeext=$EXEEXT 2782{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2783echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2784if test "${ac_cv_objext+set}" = set; then 2785 echo $ECHO_N "(cached) $ECHO_C" >&6 2786else 2787 cat >conftest.$ac_ext <<_ACEOF 2788/* confdefs.h. */ 2789_ACEOF 2790cat confdefs.h >>conftest.$ac_ext 2791cat >>conftest.$ac_ext <<_ACEOF 2792/* end confdefs.h. */ 2793 2794int 2795main () 2796{ 2797 2798 ; 2799 return 0; 2800} 2801_ACEOF 2802rm -f conftest.o conftest.obj 2803if { (ac_try="$ac_compile" 2804case "(($ac_try" in 2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2806 *) ac_try_echo=$ac_try;; 2807esac 2808eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2809 (eval "$ac_compile") 2>&5 2810 ac_status=$? 2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2812 (exit $ac_status); }; then 2813 for ac_file in conftest.o conftest.obj conftest.*; do 2814 test -f "$ac_file" || continue; 2815 case $ac_file in 2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2818 break;; 2819 esac 2820done 2821else 2822 echo "$as_me: failed program was:" >&5 2823sed 's/^/| /' conftest.$ac_ext >&5 2824 2825{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2826See \`config.log' for more details." >&5 2827echo "$as_me: error: cannot compute suffix of object files: cannot compile 2828See \`config.log' for more details." >&2;} 2829 { (exit 1); exit 1; }; } 2830fi 2831 2832rm -f conftest.$ac_cv_objext conftest.$ac_ext 2833fi 2834{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2835echo "${ECHO_T}$ac_cv_objext" >&6; } 2836OBJEXT=$ac_cv_objext 2837ac_objext=$OBJEXT 2838{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2839echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2840if test "${ac_cv_c_compiler_gnu+set}" = set; then 2841 echo $ECHO_N "(cached) $ECHO_C" >&6 2842else 2843 cat >conftest.$ac_ext <<_ACEOF 2844/* confdefs.h. */ 2845_ACEOF 2846cat confdefs.h >>conftest.$ac_ext 2847cat >>conftest.$ac_ext <<_ACEOF 2848/* end confdefs.h. */ 2849 2850int 2851main () 2852{ 2853#ifndef __GNUC__ 2854 choke me 2855#endif 2856 2857 ; 2858 return 0; 2859} 2860_ACEOF 2861rm -f conftest.$ac_objext 2862if { (ac_try="$ac_compile" 2863case "(($ac_try" in 2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2865 *) ac_try_echo=$ac_try;; 2866esac 2867eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2868 (eval "$ac_compile") 2>conftest.er1 2869 ac_status=$? 2870 grep -v '^ *+' conftest.er1 >conftest.err 2871 rm -f conftest.er1 2872 cat conftest.err >&5 2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2874 (exit $ac_status); } && 2875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2876 { (case "(($ac_try" in 2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2878 *) ac_try_echo=$ac_try;; 2879esac 2880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2881 (eval "$ac_try") 2>&5 2882 ac_status=$? 2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2884 (exit $ac_status); }; } && 2885 { ac_try='test -s conftest.$ac_objext' 2886 { (case "(($ac_try" in 2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2888 *) ac_try_echo=$ac_try;; 2889esac 2890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2891 (eval "$ac_try") 2>&5 2892 ac_status=$? 2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 (exit $ac_status); }; }; then 2895 ac_compiler_gnu=yes 2896else 2897 echo "$as_me: failed program was:" >&5 2898sed 's/^/| /' conftest.$ac_ext >&5 2899 2900 ac_compiler_gnu=no 2901fi 2902 2903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2904ac_cv_c_compiler_gnu=$ac_compiler_gnu 2905 2906fi 2907{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2908echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2909GCC=`test $ac_compiler_gnu = yes && echo yes` 2910ac_test_CFLAGS=${CFLAGS+set} 2911ac_save_CFLAGS=$CFLAGS 2912{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2913echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2914if test "${ac_cv_prog_cc_g+set}" = set; then 2915 echo $ECHO_N "(cached) $ECHO_C" >&6 2916else 2917 ac_save_c_werror_flag=$ac_c_werror_flag 2918 ac_c_werror_flag=yes 2919 ac_cv_prog_cc_g=no 2920 CFLAGS="-g" 2921 cat >conftest.$ac_ext <<_ACEOF 2922/* confdefs.h. */ 2923_ACEOF 2924cat confdefs.h >>conftest.$ac_ext 2925cat >>conftest.$ac_ext <<_ACEOF 2926/* end confdefs.h. */ 2927 2928int 2929main () 2930{ 2931 2932 ; 2933 return 0; 2934} 2935_ACEOF 2936rm -f conftest.$ac_objext 2937if { (ac_try="$ac_compile" 2938case "(($ac_try" in 2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2940 *) ac_try_echo=$ac_try;; 2941esac 2942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2943 (eval "$ac_compile") 2>conftest.er1 2944 ac_status=$? 2945 grep -v '^ *+' conftest.er1 >conftest.err 2946 rm -f conftest.er1 2947 cat conftest.err >&5 2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2949 (exit $ac_status); } && 2950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2951 { (case "(($ac_try" in 2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2953 *) ac_try_echo=$ac_try;; 2954esac 2955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2956 (eval "$ac_try") 2>&5 2957 ac_status=$? 2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2959 (exit $ac_status); }; } && 2960 { ac_try='test -s conftest.$ac_objext' 2961 { (case "(($ac_try" in 2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2963 *) ac_try_echo=$ac_try;; 2964esac 2965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2966 (eval "$ac_try") 2>&5 2967 ac_status=$? 2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); }; }; then 2970 ac_cv_prog_cc_g=yes 2971else 2972 echo "$as_me: failed program was:" >&5 2973sed 's/^/| /' conftest.$ac_ext >&5 2974 2975 CFLAGS="" 2976 cat >conftest.$ac_ext <<_ACEOF 2977/* confdefs.h. */ 2978_ACEOF 2979cat confdefs.h >>conftest.$ac_ext 2980cat >>conftest.$ac_ext <<_ACEOF 2981/* end confdefs.h. */ 2982 2983int 2984main () 2985{ 2986 2987 ; 2988 return 0; 2989} 2990_ACEOF 2991rm -f conftest.$ac_objext 2992if { (ac_try="$ac_compile" 2993case "(($ac_try" in 2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2995 *) ac_try_echo=$ac_try;; 2996esac 2997eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2998 (eval "$ac_compile") 2>conftest.er1 2999 ac_status=$? 3000 grep -v '^ *+' conftest.er1 >conftest.err 3001 rm -f conftest.er1 3002 cat conftest.err >&5 3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3004 (exit $ac_status); } && 3005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3006 { (case "(($ac_try" in 3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3008 *) ac_try_echo=$ac_try;; 3009esac 3010eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3011 (eval "$ac_try") 2>&5 3012 ac_status=$? 3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3014 (exit $ac_status); }; } && 3015 { ac_try='test -s conftest.$ac_objext' 3016 { (case "(($ac_try" in 3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 *) ac_try_echo=$ac_try;; 3019esac 3020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3021 (eval "$ac_try") 2>&5 3022 ac_status=$? 3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); }; }; then 3025 : 3026else 3027 echo "$as_me: failed program was:" >&5 3028sed 's/^/| /' conftest.$ac_ext >&5 3029 3030 ac_c_werror_flag=$ac_save_c_werror_flag 3031 CFLAGS="-g" 3032 cat >conftest.$ac_ext <<_ACEOF 3033/* confdefs.h. */ 3034_ACEOF 3035cat confdefs.h >>conftest.$ac_ext 3036cat >>conftest.$ac_ext <<_ACEOF 3037/* end confdefs.h. */ 3038 3039int 3040main () 3041{ 3042 3043 ; 3044 return 0; 3045} 3046_ACEOF 3047rm -f conftest.$ac_objext 3048if { (ac_try="$ac_compile" 3049case "(($ac_try" in 3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3051 *) ac_try_echo=$ac_try;; 3052esac 3053eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3054 (eval "$ac_compile") 2>conftest.er1 3055 ac_status=$? 3056 grep -v '^ *+' conftest.er1 >conftest.err 3057 rm -f conftest.er1 3058 cat conftest.err >&5 3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3060 (exit $ac_status); } && 3061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3062 { (case "(($ac_try" in 3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3064 *) ac_try_echo=$ac_try;; 3065esac 3066eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3067 (eval "$ac_try") 2>&5 3068 ac_status=$? 3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3070 (exit $ac_status); }; } && 3071 { ac_try='test -s conftest.$ac_objext' 3072 { (case "(($ac_try" in 3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3074 *) ac_try_echo=$ac_try;; 3075esac 3076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3077 (eval "$ac_try") 2>&5 3078 ac_status=$? 3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3080 (exit $ac_status); }; }; then 3081 ac_cv_prog_cc_g=yes 3082else 3083 echo "$as_me: failed program was:" >&5 3084sed 's/^/| /' conftest.$ac_ext >&5 3085 3086 3087fi 3088 3089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3090fi 3091 3092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3093fi 3094 3095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3096 ac_c_werror_flag=$ac_save_c_werror_flag 3097fi 3098{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3099echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3100if test "$ac_test_CFLAGS" = set; then 3101 CFLAGS=$ac_save_CFLAGS 3102elif test $ac_cv_prog_cc_g = yes; then 3103 if test "$GCC" = yes; then 3104 CFLAGS="-g -O2" 3105 else 3106 CFLAGS="-g" 3107 fi 3108else 3109 if test "$GCC" = yes; then 3110 CFLAGS="-O2" 3111 else 3112 CFLAGS= 3113 fi 3114fi 3115{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3116echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3117if test "${ac_cv_prog_cc_c89+set}" = set; then 3118 echo $ECHO_N "(cached) $ECHO_C" >&6 3119else 3120 ac_cv_prog_cc_c89=no 3121ac_save_CC=$CC 3122cat >conftest.$ac_ext <<_ACEOF 3123/* confdefs.h. */ 3124_ACEOF 3125cat confdefs.h >>conftest.$ac_ext 3126cat >>conftest.$ac_ext <<_ACEOF 3127/* end confdefs.h. */ 3128#include <stdarg.h> 3129#include <stdio.h> 3130#include <sys/types.h> 3131#include <sys/stat.h> 3132/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3133struct buf { int x; }; 3134FILE * (*rcsopen) (struct buf *, struct stat *, int); 3135static char *e (p, i) 3136 char **p; 3137 int i; 3138{ 3139 return p[i]; 3140} 3141static char *f (char * (*g) (char **, int), char **p, ...) 3142{ 3143 char *s; 3144 va_list v; 3145 va_start (v,p); 3146 s = g (p, va_arg (v,int)); 3147 va_end (v); 3148 return s; 3149} 3150 3151/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3152 function prototypes and stuff, but not '\xHH' hex character constants. 3153 These don't provoke an error unfortunately, instead are silently treated 3154 as 'x'. The following induces an error, until -std is added to get 3155 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3156 array size at least. It's necessary to write '\x00'==0 to get something 3157 that's true only with -std. */ 3158int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3159 3160/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3161 inside strings and character constants. */ 3162#define FOO(x) 'x' 3163int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3164 3165int test (int i, double x); 3166struct s1 {int (*f) (int a);}; 3167struct s2 {int (*f) (double a);}; 3168int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3169int argc; 3170char **argv; 3171int 3172main () 3173{ 3174return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3175 ; 3176 return 0; 3177} 3178_ACEOF 3179for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3180 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3181do 3182 CC="$ac_save_CC $ac_arg" 3183 rm -f conftest.$ac_objext 3184if { (ac_try="$ac_compile" 3185case "(($ac_try" in 3186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3187 *) ac_try_echo=$ac_try;; 3188esac 3189eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3190 (eval "$ac_compile") 2>conftest.er1 3191 ac_status=$? 3192 grep -v '^ *+' conftest.er1 >conftest.err 3193 rm -f conftest.er1 3194 cat conftest.err >&5 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); } && 3197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3198 { (case "(($ac_try" in 3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3200 *) ac_try_echo=$ac_try;; 3201esac 3202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3203 (eval "$ac_try") 2>&5 3204 ac_status=$? 3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3206 (exit $ac_status); }; } && 3207 { ac_try='test -s conftest.$ac_objext' 3208 { (case "(($ac_try" in 3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3210 *) ac_try_echo=$ac_try;; 3211esac 3212eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3213 (eval "$ac_try") 2>&5 3214 ac_status=$? 3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3216 (exit $ac_status); }; }; then 3217 ac_cv_prog_cc_c89=$ac_arg 3218else 3219 echo "$as_me: failed program was:" >&5 3220sed 's/^/| /' conftest.$ac_ext >&5 3221 3222 3223fi 3224 3225rm -f core conftest.err conftest.$ac_objext 3226 test "x$ac_cv_prog_cc_c89" != "xno" && break 3227done 3228rm -f conftest.$ac_ext 3229CC=$ac_save_CC 3230 3231fi 3232# AC_CACHE_VAL 3233case "x$ac_cv_prog_cc_c89" in 3234 x) 3235 { echo "$as_me:$LINENO: result: none needed" >&5 3236echo "${ECHO_T}none needed" >&6; } ;; 3237 xno) 3238 { echo "$as_me:$LINENO: result: unsupported" >&5 3239echo "${ECHO_T}unsupported" >&6; } ;; 3240 *) 3241 CC="$CC $ac_cv_prog_cc_c89" 3242 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3243echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3244esac 3245 3246 3247ac_ext=c 3248ac_cpp='$CPP $CPPFLAGS' 3249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3251ac_compiler_gnu=$ac_cv_c_compiler_gnu 3252DEPDIR="${am__leading_dot}deps" 3253 3254ac_config_commands="$ac_config_commands depfiles" 3255 3256 3257am_make=${MAKE-make} 3258cat > confinc << 'END' 3259am__doit: 3260 @echo done 3261.PHONY: am__doit 3262END 3263# If we don't find an include directive, just comment out the code. 3264{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3265echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3266am__include="#" 3267am__quote= 3268_am_result=none 3269# First try GNU make style include. 3270echo "include confinc" > confmf 3271# We grep out `Entering directory' and `Leaving directory' 3272# messages which can occur if `w' ends up in MAKEFLAGS. 3273# In particular we don't look at `^make:' because GNU make might 3274# be invoked under some other name (usually "gmake"), in which 3275# case it prints its new name instead of `make'. 3276if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3277 am__include=include 3278 am__quote= 3279 _am_result=GNU 3280fi 3281# Now try BSD make style include. 3282if test "$am__include" = "#"; then 3283 echo '.include "confinc"' > confmf 3284 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3285 am__include=.include 3286 am__quote="\"" 3287 _am_result=BSD 3288 fi 3289fi 3290 3291 3292{ echo "$as_me:$LINENO: result: $_am_result" >&5 3293echo "${ECHO_T}$_am_result" >&6; } 3294rm -f confinc confmf 3295 3296# Check whether --enable-dependency-tracking was given. 3297if test "${enable_dependency_tracking+set}" = set; then 3298 enableval=$enable_dependency_tracking; 3299fi 3300 3301if test "x$enable_dependency_tracking" != xno; then 3302 am_depcomp="$ac_aux_dir/depcomp" 3303 AMDEPBACKSLASH='\' 3304fi 3305 3306 3307if test "x$enable_dependency_tracking" != xno; then 3308 AMDEP_TRUE= 3309 AMDEP_FALSE='#' 3310else 3311 AMDEP_TRUE='#' 3312 AMDEP_FALSE= 3313fi 3314 3315 3316 3317 3318depcc="$CC" am_compiler_list= 3319 3320{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3321echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3322if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3323 echo $ECHO_N "(cached) $ECHO_C" >&6 3324else 3325 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3326 # We make a subdir and do the tests there. Otherwise we can end up 3327 # making bogus files that we don't know about and never remove. For 3328 # instance it was reported that on HP-UX the gcc test will end up 3329 # making a dummy file named `D' -- because `-MD' means `put the output 3330 # in D'. 3331 mkdir conftest.dir 3332 # Copy depcomp to subdir because otherwise we won't find it if we're 3333 # using a relative directory. 3334 cp "$am_depcomp" conftest.dir 3335 cd conftest.dir 3336 # We will build objects and dependencies in a subdirectory because 3337 # it helps to detect inapplicable dependency modes. For instance 3338 # both Tru64's cc and ICC support -MD to output dependencies as a 3339 # side effect of compilation, but ICC will put the dependencies in 3340 # the current directory while Tru64 will put them in the object 3341 # directory. 3342 mkdir sub 3343 3344 am_cv_CC_dependencies_compiler_type=none 3345 if test "$am_compiler_list" = ""; then 3346 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3347 fi 3348 for depmode in $am_compiler_list; do 3349 # Setup a source with many dependencies, because some compilers 3350 # like to wrap large dependency lists on column 80 (with \), and 3351 # we should not choose a depcomp mode which is confused by this. 3352 # 3353 # We need to recreate these files for each test, as the compiler may 3354 # overwrite some of them when testing with obscure command lines. 3355 # This happens at least with the AIX C compiler. 3356 : > sub/conftest.c 3357 for i in 1 2 3 4 5 6; do 3358 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3359 : > sub/conftst$i.h 3360 done 3361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3362 3363 case $depmode in 3364 nosideeffect) 3365 # after this tag, mechanisms are not by side-effect, so they'll 3366 # only be used when explicitly requested 3367 if test "x$enable_dependency_tracking" = xyes; then 3368 continue 3369 else 3370 break 3371 fi 3372 ;; 3373 none) break ;; 3374 esac 3375 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3376 # mode. It turns out that the SunPro C++ compiler does not properly 3377 # handle `-M -o', and we need to detect this. 3378 if depmode=$depmode \ 3379 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3380 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3381 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3382 >/dev/null 2>conftest.err && 3383 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3384 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3385 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3386 # icc doesn't choke on unknown options, it will just issue warnings 3387 # (even with -Werror). So we grep stderr for any message 3388 # that says an option was ignored. 3389 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3390 am_cv_CC_dependencies_compiler_type=$depmode 3391 break 3392 fi 3393 fi 3394 done 3395 3396 cd .. 3397 rm -rf conftest.dir 3398else 3399 am_cv_CC_dependencies_compiler_type=none 3400fi 3401 3402fi 3403{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3404echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3405CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3406 3407 3408 3409if 3410 test "x$enable_dependency_tracking" != xno \ 3411 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3412 am__fastdepCC_TRUE= 3413 am__fastdepCC_FALSE='#' 3414else 3415 am__fastdepCC_TRUE='#' 3416 am__fastdepCC_FALSE= 3417fi 3418 3419 3420for ac_prog in gawk mawk nawk awk 3421do 3422 # Extract the first word of "$ac_prog", so it can be a program name with args. 3423set dummy $ac_prog; ac_word=$2 3424{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3425echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3426if test "${ac_cv_prog_AWK+set}" = set; then 3427 echo $ECHO_N "(cached) $ECHO_C" >&6 3428else 3429 if test -n "$AWK"; then 3430 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3431else 3432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3433for as_dir in $PATH 3434do 3435 IFS=$as_save_IFS 3436 test -z "$as_dir" && as_dir=. 3437 for ac_exec_ext in '' $ac_executable_extensions; do 3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 3439 ac_cv_prog_AWK="$ac_prog" 3440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3441 break 2 3442 fi 3443done 3444done 3445IFS=$as_save_IFS 3446 3447fi 3448fi 3449AWK=$ac_cv_prog_AWK 3450if test -n "$AWK"; then 3451 { echo "$as_me:$LINENO: result: $AWK" >&5 3452echo "${ECHO_T}$AWK" >&6; } 3453else 3454 { echo "$as_me:$LINENO: result: no" >&5 3455echo "${ECHO_T}no" >&6; } 3456fi 3457 3458 3459 test -n "$AWK" && break 3460done 3461 3462# Find a good install program. We prefer a C program (faster), 3463# so one script is as good as another. But avoid the broken or 3464# incompatible versions: 3465# SysV /etc/install, /usr/sbin/install 3466# SunOS /usr/etc/install 3467# IRIX /sbin/install 3468# AIX /bin/install 3469# AmigaOS /C/install, which installs bootblocks on floppy discs 3470# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3471# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3472# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3473# OS/2's system install, which has a completely different semantic 3474# ./install, which can be erroneously created by make from ./install.sh. 3475{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3476echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3477if test -z "$INSTALL"; then 3478if test "${ac_cv_path_install+set}" = set; then 3479 echo $ECHO_N "(cached) $ECHO_C" >&6 3480else 3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3482for as_dir in $PATH 3483do 3484 IFS=$as_save_IFS 3485 test -z "$as_dir" && as_dir=. 3486 # Account for people who put trailing slashes in PATH elements. 3487case $as_dir/ in 3488 ./ | .// | /cC/* | \ 3489 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3490 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3491 /usr/ucb/* ) ;; 3492 *) 3493 # OSF1 and SCO ODT 3.0 have their own names for install. 3494 # Don't use installbsd from OSF since it installs stuff as root 3495 # by default. 3496 for ac_prog in ginstall scoinst install; do 3497 for ac_exec_ext in '' $ac_executable_extensions; do 3498 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 3499 if test $ac_prog = install && 3500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3501 # AIX install. It has an incompatible calling convention. 3502 : 3503 elif test $ac_prog = install && 3504 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3505 # program-specific install script used by HP pwplus--don't use. 3506 : 3507 else 3508 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3509 break 3 3510 fi 3511 fi 3512 done 3513 done 3514 ;; 3515esac 3516done 3517IFS=$as_save_IFS 3518 3519 3520fi 3521 if test "${ac_cv_path_install+set}" = set; then 3522 INSTALL=$ac_cv_path_install 3523 else 3524 # As a last resort, use the slow shell script. Don't cache a 3525 # value for INSTALL within a source directory, because that will 3526 # break other packages using the cache if that directory is 3527 # removed, or if the value is a relative name. 3528 INSTALL=$ac_install_sh 3529 fi 3530fi 3531{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3532echo "${ECHO_T}$INSTALL" >&6; } 3533 3534# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3535# It thinks the first close brace ends the variable substitution. 3536test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3537 3538test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3539 3540test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3541 3542{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 3543echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 3544LN_S=$as_ln_s 3545if test "$LN_S" = "ln -s"; then 3546 { echo "$as_me:$LINENO: result: yes" >&5 3547echo "${ECHO_T}yes" >&6; } 3548else 3549 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3550echo "${ECHO_T}no, using $LN_S" >&6; } 3551fi 3552 3553{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3554echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 3555set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3556if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3557 echo $ECHO_N "(cached) $ECHO_C" >&6 3558else 3559 cat >conftest.make <<\_ACEOF 3560SHELL = /bin/sh 3561all: 3562 @echo '@@@%%%=$(MAKE)=@@@%%%' 3563_ACEOF 3564# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3565case `${MAKE-make} -f conftest.make 2>/dev/null` in 3566 *@@@%%%=?*=@@@%%%*) 3567 eval ac_cv_prog_make_${ac_make}_set=yes;; 3568 *) 3569 eval ac_cv_prog_make_${ac_make}_set=no;; 3570esac 3571rm -f conftest.make 3572fi 3573if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3574 { echo "$as_me:$LINENO: result: yes" >&5 3575echo "${ECHO_T}yes" >&6; } 3576 SET_MAKE= 3577else 3578 { echo "$as_me:$LINENO: result: no" >&5 3579echo "${ECHO_T}no" >&6; } 3580 SET_MAKE="MAKE=${MAKE-make}" 3581fi 3582 3583 3584 3585 3586 3587 3588 3589 3590ac_header_dirent=no 3591for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 3592 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 3593{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 3594echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 3595if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3596 echo $ECHO_N "(cached) $ECHO_C" >&6 3597else 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#include <sys/types.h> 3605#include <$ac_hdr> 3606 3607int 3608main () 3609{ 3610if ((DIR *) 0) 3611return 0; 3612 ; 3613 return 0; 3614} 3615_ACEOF 3616rm -f conftest.$ac_objext 3617if { (ac_try="$ac_compile" 3618case "(($ac_try" in 3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3620 *) ac_try_echo=$ac_try;; 3621esac 3622eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3623 (eval "$ac_compile") 2>conftest.er1 3624 ac_status=$? 3625 grep -v '^ *+' conftest.er1 >conftest.err 3626 rm -f conftest.er1 3627 cat conftest.err >&5 3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3629 (exit $ac_status); } && 3630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3631 { (case "(($ac_try" in 3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3633 *) ac_try_echo=$ac_try;; 3634esac 3635eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3636 (eval "$ac_try") 2>&5 3637 ac_status=$? 3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3639 (exit $ac_status); }; } && 3640 { ac_try='test -s conftest.$ac_objext' 3641 { (case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644esac 3645eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3646 (eval "$ac_try") 2>&5 3647 ac_status=$? 3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3649 (exit $ac_status); }; }; then 3650 eval "$as_ac_Header=yes" 3651else 3652 echo "$as_me: failed program was:" >&5 3653sed 's/^/| /' conftest.$ac_ext >&5 3654 3655 eval "$as_ac_Header=no" 3656fi 3657 3658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3659fi 3660ac_res=`eval echo '${'$as_ac_Header'}'` 3661 { echo "$as_me:$LINENO: result: $ac_res" >&5 3662echo "${ECHO_T}$ac_res" >&6; } 3663if test `eval echo '${'$as_ac_Header'}'` = yes; then 3664 cat >>confdefs.h <<_ACEOF 3665#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 3666_ACEOF 3667 3668ac_header_dirent=$ac_hdr; break 3669fi 3670 3671done 3672# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 3673if test $ac_header_dirent = dirent.h; then 3674 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 3675echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 3676if test "${ac_cv_search_opendir+set}" = set; then 3677 echo $ECHO_N "(cached) $ECHO_C" >&6 3678else 3679 ac_func_search_save_LIBS=$LIBS 3680cat >conftest.$ac_ext <<_ACEOF 3681/* confdefs.h. */ 3682_ACEOF 3683cat confdefs.h >>conftest.$ac_ext 3684cat >>conftest.$ac_ext <<_ACEOF 3685/* end confdefs.h. */ 3686 3687/* Override any GCC internal prototype to avoid an error. 3688 Use char because int might match the return type of a GCC 3689 builtin and then its argument prototype would still apply. */ 3690#ifdef __cplusplus 3691extern "C" 3692#endif 3693char opendir (); 3694int 3695main () 3696{ 3697return opendir (); 3698 ; 3699 return 0; 3700} 3701_ACEOF 3702for ac_lib in '' dir; do 3703 if test -z "$ac_lib"; then 3704 ac_res="none required" 3705 else 3706 ac_res=-l$ac_lib 3707 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3708 fi 3709 rm -f conftest.$ac_objext conftest$ac_exeext 3710if { (ac_try="$ac_link" 3711case "(($ac_try" in 3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3713 *) ac_try_echo=$ac_try;; 3714esac 3715eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3716 (eval "$ac_link") 2>conftest.er1 3717 ac_status=$? 3718 grep -v '^ *+' conftest.er1 >conftest.err 3719 rm -f conftest.er1 3720 cat conftest.err >&5 3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3722 (exit $ac_status); } && 3723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3724 { (case "(($ac_try" in 3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3726 *) ac_try_echo=$ac_try;; 3727esac 3728eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3729 (eval "$ac_try") 2>&5 3730 ac_status=$? 3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3732 (exit $ac_status); }; } && 3733 { ac_try='test -s conftest$ac_exeext' 3734 { (case "(($ac_try" in 3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3736 *) ac_try_echo=$ac_try;; 3737esac 3738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3739 (eval "$ac_try") 2>&5 3740 ac_status=$? 3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3742 (exit $ac_status); }; }; then 3743 ac_cv_search_opendir=$ac_res 3744else 3745 echo "$as_me: failed program was:" >&5 3746sed 's/^/| /' conftest.$ac_ext >&5 3747 3748 3749fi 3750 3751rm -f core conftest.err conftest.$ac_objext \ 3752 conftest$ac_exeext 3753 if test "${ac_cv_search_opendir+set}" = set; then 3754 break 3755fi 3756done 3757if test "${ac_cv_search_opendir+set}" = set; then 3758 : 3759else 3760 ac_cv_search_opendir=no 3761fi 3762rm conftest.$ac_ext 3763LIBS=$ac_func_search_save_LIBS 3764fi 3765{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3766echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 3767ac_res=$ac_cv_search_opendir 3768if test "$ac_res" != no; then 3769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3770 3771fi 3772 3773else 3774 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 3775echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 3776if test "${ac_cv_search_opendir+set}" = set; then 3777 echo $ECHO_N "(cached) $ECHO_C" >&6 3778else 3779 ac_func_search_save_LIBS=$LIBS 3780cat >conftest.$ac_ext <<_ACEOF 3781/* confdefs.h. */ 3782_ACEOF 3783cat confdefs.h >>conftest.$ac_ext 3784cat >>conftest.$ac_ext <<_ACEOF 3785/* end confdefs.h. */ 3786 3787/* Override any GCC internal prototype to avoid an error. 3788 Use char because int might match the return type of a GCC 3789 builtin and then its argument prototype would still apply. */ 3790#ifdef __cplusplus 3791extern "C" 3792#endif 3793char opendir (); 3794int 3795main () 3796{ 3797return opendir (); 3798 ; 3799 return 0; 3800} 3801_ACEOF 3802for ac_lib in '' x; do 3803 if test -z "$ac_lib"; then 3804 ac_res="none required" 3805 else 3806 ac_res=-l$ac_lib 3807 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3808 fi 3809 rm -f conftest.$ac_objext conftest$ac_exeext 3810if { (ac_try="$ac_link" 3811case "(($ac_try" in 3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3813 *) ac_try_echo=$ac_try;; 3814esac 3815eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3816 (eval "$ac_link") 2>conftest.er1 3817 ac_status=$? 3818 grep -v '^ *+' conftest.er1 >conftest.err 3819 rm -f conftest.er1 3820 cat conftest.err >&5 3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3822 (exit $ac_status); } && 3823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3824 { (case "(($ac_try" in 3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3826 *) ac_try_echo=$ac_try;; 3827esac 3828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3829 (eval "$ac_try") 2>&5 3830 ac_status=$? 3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3832 (exit $ac_status); }; } && 3833 { ac_try='test -s conftest$ac_exeext' 3834 { (case "(($ac_try" in 3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3836 *) ac_try_echo=$ac_try;; 3837esac 3838eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3839 (eval "$ac_try") 2>&5 3840 ac_status=$? 3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3842 (exit $ac_status); }; }; then 3843 ac_cv_search_opendir=$ac_res 3844else 3845 echo "$as_me: failed program was:" >&5 3846sed 's/^/| /' conftest.$ac_ext >&5 3847 3848 3849fi 3850 3851rm -f core conftest.err conftest.$ac_objext \ 3852 conftest$ac_exeext 3853 if test "${ac_cv_search_opendir+set}" = set; then 3854 break 3855fi 3856done 3857if test "${ac_cv_search_opendir+set}" = set; then 3858 : 3859else 3860 ac_cv_search_opendir=no 3861fi 3862rm conftest.$ac_ext 3863LIBS=$ac_func_search_save_LIBS 3864fi 3865{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3866echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 3867ac_res=$ac_cv_search_opendir 3868if test "$ac_res" != no; then 3869 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3870 3871fi 3872 3873fi 3874 3875ac_ext=c 3876ac_cpp='$CPP $CPPFLAGS' 3877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3879ac_compiler_gnu=$ac_cv_c_compiler_gnu 3880{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3881echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3882# On Suns, sometimes $CPP names a directory. 3883if test -n "$CPP" && test -d "$CPP"; then 3884 CPP= 3885fi 3886if test -z "$CPP"; then 3887 if test "${ac_cv_prog_CPP+set}" = set; then 3888 echo $ECHO_N "(cached) $ECHO_C" >&6 3889else 3890 # Double quotes because CPP needs to be expanded 3891 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3892 do 3893 ac_preproc_ok=false 3894for ac_c_preproc_warn_flag in '' yes 3895do 3896 # Use a header file that comes with gcc, so configuring glibc 3897 # with a fresh cross-compiler works. 3898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3899 # <limits.h> exists even on freestanding compilers. 3900 # On the NeXT, cc -E runs the code through the compiler's parser, 3901 # not just through cpp. "Syntax error" is here to catch this case. 3902 cat >conftest.$ac_ext <<_ACEOF 3903/* confdefs.h. */ 3904_ACEOF 3905cat confdefs.h >>conftest.$ac_ext 3906cat >>conftest.$ac_ext <<_ACEOF 3907/* end confdefs.h. */ 3908#ifdef __STDC__ 3909# include <limits.h> 3910#else 3911# include <assert.h> 3912#endif 3913 Syntax error 3914_ACEOF 3915if { (ac_try="$ac_cpp conftest.$ac_ext" 3916case "(($ac_try" in 3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3918 *) ac_try_echo=$ac_try;; 3919esac 3920eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3922 ac_status=$? 3923 grep -v '^ *+' conftest.er1 >conftest.err 3924 rm -f conftest.er1 3925 cat conftest.err >&5 3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3927 (exit $ac_status); } >/dev/null; then 3928 if test -s conftest.err; then 3929 ac_cpp_err=$ac_c_preproc_warn_flag 3930 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3931 else 3932 ac_cpp_err= 3933 fi 3934else 3935 ac_cpp_err=yes 3936fi 3937if test -z "$ac_cpp_err"; then 3938 : 3939else 3940 echo "$as_me: failed program was:" >&5 3941sed 's/^/| /' conftest.$ac_ext >&5 3942 3943 # Broken: fails on valid input. 3944continue 3945fi 3946 3947rm -f conftest.err conftest.$ac_ext 3948 3949 # OK, works on sane cases. Now check whether nonexistent headers 3950 # can be detected and how. 3951 cat >conftest.$ac_ext <<_ACEOF 3952/* confdefs.h. */ 3953_ACEOF 3954cat confdefs.h >>conftest.$ac_ext 3955cat >>conftest.$ac_ext <<_ACEOF 3956/* end confdefs.h. */ 3957#include <ac_nonexistent.h> 3958_ACEOF 3959if { (ac_try="$ac_cpp conftest.$ac_ext" 3960case "(($ac_try" in 3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3962 *) ac_try_echo=$ac_try;; 3963esac 3964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3966 ac_status=$? 3967 grep -v '^ *+' conftest.er1 >conftest.err 3968 rm -f conftest.er1 3969 cat conftest.err >&5 3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3971 (exit $ac_status); } >/dev/null; then 3972 if test -s conftest.err; then 3973 ac_cpp_err=$ac_c_preproc_warn_flag 3974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3975 else 3976 ac_cpp_err= 3977 fi 3978else 3979 ac_cpp_err=yes 3980fi 3981if test -z "$ac_cpp_err"; then 3982 # Broken: success on invalid input. 3983continue 3984else 3985 echo "$as_me: failed program was:" >&5 3986sed 's/^/| /' conftest.$ac_ext >&5 3987 3988 # Passes both tests. 3989ac_preproc_ok=: 3990break 3991fi 3992 3993rm -f conftest.err conftest.$ac_ext 3994 3995done 3996# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3997rm -f conftest.err conftest.$ac_ext 3998if $ac_preproc_ok; then 3999 break 4000fi 4001 4002 done 4003 ac_cv_prog_CPP=$CPP 4004 4005fi 4006 CPP=$ac_cv_prog_CPP 4007else 4008 ac_cv_prog_CPP=$CPP 4009fi 4010{ echo "$as_me:$LINENO: result: $CPP" >&5 4011echo "${ECHO_T}$CPP" >&6; } 4012ac_preproc_ok=false 4013for ac_c_preproc_warn_flag in '' yes 4014do 4015 # Use a header file that comes with gcc, so configuring glibc 4016 # with a fresh cross-compiler works. 4017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4018 # <limits.h> exists even on freestanding compilers. 4019 # On the NeXT, cc -E runs the code through the compiler's parser, 4020 # not just through cpp. "Syntax error" is here to catch this case. 4021 cat >conftest.$ac_ext <<_ACEOF 4022/* confdefs.h. */ 4023_ACEOF 4024cat confdefs.h >>conftest.$ac_ext 4025cat >>conftest.$ac_ext <<_ACEOF 4026/* end confdefs.h. */ 4027#ifdef __STDC__ 4028# include <limits.h> 4029#else 4030# include <assert.h> 4031#endif 4032 Syntax error 4033_ACEOF 4034if { (ac_try="$ac_cpp conftest.$ac_ext" 4035case "(($ac_try" in 4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4037 *) ac_try_echo=$ac_try;; 4038esac 4039eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4041 ac_status=$? 4042 grep -v '^ *+' conftest.er1 >conftest.err 4043 rm -f conftest.er1 4044 cat conftest.err >&5 4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4046 (exit $ac_status); } >/dev/null; then 4047 if test -s conftest.err; then 4048 ac_cpp_err=$ac_c_preproc_warn_flag 4049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4050 else 4051 ac_cpp_err= 4052 fi 4053else 4054 ac_cpp_err=yes 4055fi 4056if test -z "$ac_cpp_err"; then 4057 : 4058else 4059 echo "$as_me: failed program was:" >&5 4060sed 's/^/| /' conftest.$ac_ext >&5 4061 4062 # Broken: fails on valid input. 4063continue 4064fi 4065 4066rm -f conftest.err conftest.$ac_ext 4067 4068 # OK, works on sane cases. Now check whether nonexistent headers 4069 # can be detected and how. 4070 cat >conftest.$ac_ext <<_ACEOF 4071/* confdefs.h. */ 4072_ACEOF 4073cat confdefs.h >>conftest.$ac_ext 4074cat >>conftest.$ac_ext <<_ACEOF 4075/* end confdefs.h. */ 4076#include <ac_nonexistent.h> 4077_ACEOF 4078if { (ac_try="$ac_cpp conftest.$ac_ext" 4079case "(($ac_try" in 4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4081 *) ac_try_echo=$ac_try;; 4082esac 4083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4085 ac_status=$? 4086 grep -v '^ *+' conftest.er1 >conftest.err 4087 rm -f conftest.er1 4088 cat conftest.err >&5 4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4090 (exit $ac_status); } >/dev/null; then 4091 if test -s conftest.err; then 4092 ac_cpp_err=$ac_c_preproc_warn_flag 4093 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4094 else 4095 ac_cpp_err= 4096 fi 4097else 4098 ac_cpp_err=yes 4099fi 4100if test -z "$ac_cpp_err"; then 4101 # Broken: success on invalid input. 4102continue 4103else 4104 echo "$as_me: failed program was:" >&5 4105sed 's/^/| /' conftest.$ac_ext >&5 4106 4107 # Passes both tests. 4108ac_preproc_ok=: 4109break 4110fi 4111 4112rm -f conftest.err conftest.$ac_ext 4113 4114done 4115# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4116rm -f conftest.err conftest.$ac_ext 4117if $ac_preproc_ok; then 4118 : 4119else 4120 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4121See \`config.log' for more details." >&5 4122echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4123See \`config.log' for more details." >&2;} 4124 { (exit 1); exit 1; }; } 4125fi 4126 4127ac_ext=c 4128ac_cpp='$CPP $CPPFLAGS' 4129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4131ac_compiler_gnu=$ac_cv_c_compiler_gnu 4132 4133 4134{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4135echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4136if test "${ac_cv_path_GREP+set}" = set; then 4137 echo $ECHO_N "(cached) $ECHO_C" >&6 4138else 4139 # Extract the first word of "grep ggrep" to use in msg output 4140if test -z "$GREP"; then 4141set dummy grep ggrep; ac_prog_name=$2 4142if test "${ac_cv_path_GREP+set}" = set; then 4143 echo $ECHO_N "(cached) $ECHO_C" >&6 4144else 4145 ac_path_GREP_found=false 4146# Loop through the user's path and test for each of PROGNAME-LIST 4147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4148for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4149do 4150 IFS=$as_save_IFS 4151 test -z "$as_dir" && as_dir=. 4152 for ac_prog in grep ggrep; do 4153 for ac_exec_ext in '' $ac_executable_extensions; do 4154 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4155 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue 4156 # Check for GNU ac_path_GREP and select it if it is found. 4157 # Check for GNU $ac_path_GREP 4158case `"$ac_path_GREP" --version 2>&1` in 4159*GNU*) 4160 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4161*) 4162 ac_count=0 4163 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4164 while : 4165 do 4166 cat "conftest.in" "conftest.in" >"conftest.tmp" 4167 mv "conftest.tmp" "conftest.in" 4168 cp "conftest.in" "conftest.nl" 4169 echo 'GREP' >> "conftest.nl" 4170 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4171 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4172 ac_count=`expr $ac_count + 1` 4173 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4174 # Best one so far, save it but keep looking for a better one 4175 ac_cv_path_GREP="$ac_path_GREP" 4176 ac_path_GREP_max=$ac_count 4177 fi 4178 # 10*(2^10) chars as input seems more than enough 4179 test $ac_count -gt 10 && break 4180 done 4181 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4182esac 4183 4184 4185 $ac_path_GREP_found && break 3 4186 done 4187done 4188 4189done 4190IFS=$as_save_IFS 4191 4192 4193fi 4194 4195GREP="$ac_cv_path_GREP" 4196if test -z "$GREP"; then 4197 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4198echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4199 { (exit 1); exit 1; }; } 4200fi 4201 4202else 4203 ac_cv_path_GREP=$GREP 4204fi 4205 4206 4207fi 4208{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4209echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4210 GREP="$ac_cv_path_GREP" 4211 4212 4213{ echo "$as_me:$LINENO: checking for egrep" >&5 4214echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4215if test "${ac_cv_path_EGREP+set}" = set; then 4216 echo $ECHO_N "(cached) $ECHO_C" >&6 4217else 4218 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4219 then ac_cv_path_EGREP="$GREP -E" 4220 else 4221 # Extract the first word of "egrep" to use in msg output 4222if test -z "$EGREP"; then 4223set dummy egrep; ac_prog_name=$2 4224if test "${ac_cv_path_EGREP+set}" = set; then 4225 echo $ECHO_N "(cached) $ECHO_C" >&6 4226else 4227 ac_path_EGREP_found=false 4228# Loop through the user's path and test for each of PROGNAME-LIST 4229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4230for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4231do 4232 IFS=$as_save_IFS 4233 test -z "$as_dir" && as_dir=. 4234 for ac_prog in egrep; do 4235 for ac_exec_ext in '' $ac_executable_extensions; do 4236 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4237 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue 4238 # Check for GNU ac_path_EGREP and select it if it is found. 4239 # Check for GNU $ac_path_EGREP 4240case `"$ac_path_EGREP" --version 2>&1` in 4241*GNU*) 4242 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4243*) 4244 ac_count=0 4245 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4246 while : 4247 do 4248 cat "conftest.in" "conftest.in" >"conftest.tmp" 4249 mv "conftest.tmp" "conftest.in" 4250 cp "conftest.in" "conftest.nl" 4251 echo 'EGREP' >> "conftest.nl" 4252 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4253 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4254 ac_count=`expr $ac_count + 1` 4255 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4256 # Best one so far, save it but keep looking for a better one 4257 ac_cv_path_EGREP="$ac_path_EGREP" 4258 ac_path_EGREP_max=$ac_count 4259 fi 4260 # 10*(2^10) chars as input seems more than enough 4261 test $ac_count -gt 10 && break 4262 done 4263 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4264esac 4265 4266 4267 $ac_path_EGREP_found && break 3 4268 done 4269done 4270 4271done 4272IFS=$as_save_IFS 4273 4274 4275fi 4276 4277EGREP="$ac_cv_path_EGREP" 4278if test -z "$EGREP"; then 4279 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4280echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4281 { (exit 1); exit 1; }; } 4282fi 4283 4284else 4285 ac_cv_path_EGREP=$EGREP 4286fi 4287 4288 4289 fi 4290fi 4291{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4292echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4293 EGREP="$ac_cv_path_EGREP" 4294 4295 4296{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4297echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4298if test "${ac_cv_header_stdc+set}" = set; then 4299 echo $ECHO_N "(cached) $ECHO_C" >&6 4300else 4301 cat >conftest.$ac_ext <<_ACEOF 4302/* confdefs.h. */ 4303_ACEOF 4304cat confdefs.h >>conftest.$ac_ext 4305cat >>conftest.$ac_ext <<_ACEOF 4306/* end confdefs.h. */ 4307#include <stdlib.h> 4308#include <stdarg.h> 4309#include <string.h> 4310#include <float.h> 4311 4312int 4313main () 4314{ 4315 4316 ; 4317 return 0; 4318} 4319_ACEOF 4320rm -f conftest.$ac_objext 4321if { (ac_try="$ac_compile" 4322case "(($ac_try" in 4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4324 *) ac_try_echo=$ac_try;; 4325esac 4326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4327 (eval "$ac_compile") 2>conftest.er1 4328 ac_status=$? 4329 grep -v '^ *+' conftest.er1 >conftest.err 4330 rm -f conftest.er1 4331 cat conftest.err >&5 4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4333 (exit $ac_status); } && 4334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4335 { (case "(($ac_try" in 4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4337 *) ac_try_echo=$ac_try;; 4338esac 4339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4340 (eval "$ac_try") 2>&5 4341 ac_status=$? 4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4343 (exit $ac_status); }; } && 4344 { ac_try='test -s conftest.$ac_objext' 4345 { (case "(($ac_try" in 4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4347 *) ac_try_echo=$ac_try;; 4348esac 4349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4350 (eval "$ac_try") 2>&5 4351 ac_status=$? 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); }; }; then 4354 ac_cv_header_stdc=yes 4355else 4356 echo "$as_me: failed program was:" >&5 4357sed 's/^/| /' conftest.$ac_ext >&5 4358 4359 ac_cv_header_stdc=no 4360fi 4361 4362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4363 4364if test $ac_cv_header_stdc = yes; then 4365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4366 cat >conftest.$ac_ext <<_ACEOF 4367/* confdefs.h. */ 4368_ACEOF 4369cat confdefs.h >>conftest.$ac_ext 4370cat >>conftest.$ac_ext <<_ACEOF 4371/* end confdefs.h. */ 4372#include <string.h> 4373 4374_ACEOF 4375if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4376 $EGREP "memchr" >/dev/null 2>&1; then 4377 : 4378else 4379 ac_cv_header_stdc=no 4380fi 4381rm -f conftest* 4382 4383fi 4384 4385if test $ac_cv_header_stdc = yes; then 4386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4387 cat >conftest.$ac_ext <<_ACEOF 4388/* confdefs.h. */ 4389_ACEOF 4390cat confdefs.h >>conftest.$ac_ext 4391cat >>conftest.$ac_ext <<_ACEOF 4392/* end confdefs.h. */ 4393#include <stdlib.h> 4394 4395_ACEOF 4396if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4397 $EGREP "free" >/dev/null 2>&1; then 4398 : 4399else 4400 ac_cv_header_stdc=no 4401fi 4402rm -f conftest* 4403 4404fi 4405 4406if test $ac_cv_header_stdc = yes; then 4407 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4408 if test "$cross_compiling" = yes; then 4409 : 4410else 4411 cat >conftest.$ac_ext <<_ACEOF 4412/* confdefs.h. */ 4413_ACEOF 4414cat confdefs.h >>conftest.$ac_ext 4415cat >>conftest.$ac_ext <<_ACEOF 4416/* end confdefs.h. */ 4417#include <ctype.h> 4418#include <stdlib.h> 4419#if ((' ' & 0x0FF) == 0x020) 4420# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4421# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4422#else 4423# define ISLOWER(c) \ 4424 (('a' <= (c) && (c) <= 'i') \ 4425 || ('j' <= (c) && (c) <= 'r') \ 4426 || ('s' <= (c) && (c) <= 'z')) 4427# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4428#endif 4429 4430#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4431int 4432main () 4433{ 4434 int i; 4435 for (i = 0; i < 256; i++) 4436 if (XOR (islower (i), ISLOWER (i)) 4437 || toupper (i) != TOUPPER (i)) 4438 return 2; 4439 return 0; 4440} 4441_ACEOF 4442rm -f conftest$ac_exeext 4443if { (ac_try="$ac_link" 4444case "(($ac_try" in 4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4446 *) ac_try_echo=$ac_try;; 4447esac 4448eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4449 (eval "$ac_link") 2>&5 4450 ac_status=$? 4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4453 { (case "(($ac_try" in 4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4455 *) ac_try_echo=$ac_try;; 4456esac 4457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4458 (eval "$ac_try") 2>&5 4459 ac_status=$? 4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4461 (exit $ac_status); }; }; then 4462 : 4463else 4464 echo "$as_me: program exited with status $ac_status" >&5 4465echo "$as_me: failed program was:" >&5 4466sed 's/^/| /' conftest.$ac_ext >&5 4467 4468( exit $ac_status ) 4469ac_cv_header_stdc=no 4470fi 4471rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4472fi 4473 4474 4475fi 4476fi 4477{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4478echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4479if test $ac_cv_header_stdc = yes; then 4480 4481cat >>confdefs.h <<\_ACEOF 4482#define STDC_HEADERS 1 4483_ACEOF 4484 4485fi 4486 4487# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4498 inttypes.h stdint.h unistd.h 4499do 4500as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4501{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4502echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4503if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4504 echo $ECHO_N "(cached) $ECHO_C" >&6 4505else 4506 cat >conftest.$ac_ext <<_ACEOF 4507/* confdefs.h. */ 4508_ACEOF 4509cat confdefs.h >>conftest.$ac_ext 4510cat >>conftest.$ac_ext <<_ACEOF 4511/* end confdefs.h. */ 4512$ac_includes_default 4513 4514#include <$ac_header> 4515_ACEOF 4516rm -f conftest.$ac_objext 4517if { (ac_try="$ac_compile" 4518case "(($ac_try" in 4519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4520 *) ac_try_echo=$ac_try;; 4521esac 4522eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4523 (eval "$ac_compile") 2>conftest.er1 4524 ac_status=$? 4525 grep -v '^ *+' conftest.er1 >conftest.err 4526 rm -f conftest.er1 4527 cat conftest.err >&5 4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4529 (exit $ac_status); } && 4530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4531 { (case "(($ac_try" in 4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4533 *) ac_try_echo=$ac_try;; 4534esac 4535eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4536 (eval "$ac_try") 2>&5 4537 ac_status=$? 4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4539 (exit $ac_status); }; } && 4540 { ac_try='test -s conftest.$ac_objext' 4541 { (case "(($ac_try" in 4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4543 *) ac_try_echo=$ac_try;; 4544esac 4545eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4546 (eval "$ac_try") 2>&5 4547 ac_status=$? 4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); }; }; then 4550 eval "$as_ac_Header=yes" 4551else 4552 echo "$as_me: failed program was:" >&5 4553sed 's/^/| /' conftest.$ac_ext >&5 4554 4555 eval "$as_ac_Header=no" 4556fi 4557 4558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4559fi 4560ac_res=`eval echo '${'$as_ac_Header'}'` 4561 { echo "$as_me:$LINENO: result: $ac_res" >&5 4562echo "${ECHO_T}$ac_res" >&6; } 4563if test `eval echo '${'$as_ac_Header'}'` = yes; then 4564 cat >>confdefs.h <<_ACEOF 4565#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4566_ACEOF 4567 4568fi 4569 4570done 4571 4572 4573 4574 4575 4576 4577for ac_header in stdlib.h string.h unistd.h langinfo.h 4578do 4579as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4580if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4581 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4582echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4583if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4584 echo $ECHO_N "(cached) $ECHO_C" >&6 4585fi 4586ac_res=`eval echo '${'$as_ac_Header'}'` 4587 { echo "$as_me:$LINENO: result: $ac_res" >&5 4588echo "${ECHO_T}$ac_res" >&6; } 4589else 4590 # Is the header compilable? 4591{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4592echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4593cat >conftest.$ac_ext <<_ACEOF 4594/* confdefs.h. */ 4595_ACEOF 4596cat confdefs.h >>conftest.$ac_ext 4597cat >>conftest.$ac_ext <<_ACEOF 4598/* end confdefs.h. */ 4599$ac_includes_default 4600#include <$ac_header> 4601_ACEOF 4602rm -f conftest.$ac_objext 4603if { (ac_try="$ac_compile" 4604case "(($ac_try" in 4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4606 *) ac_try_echo=$ac_try;; 4607esac 4608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4609 (eval "$ac_compile") 2>conftest.er1 4610 ac_status=$? 4611 grep -v '^ *+' conftest.er1 >conftest.err 4612 rm -f conftest.er1 4613 cat conftest.err >&5 4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4615 (exit $ac_status); } && 4616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4617 { (case "(($ac_try" in 4618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4619 *) ac_try_echo=$ac_try;; 4620esac 4621eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4622 (eval "$ac_try") 2>&5 4623 ac_status=$? 4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4625 (exit $ac_status); }; } && 4626 { ac_try='test -s conftest.$ac_objext' 4627 { (case "(($ac_try" in 4628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4629 *) ac_try_echo=$ac_try;; 4630esac 4631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4632 (eval "$ac_try") 2>&5 4633 ac_status=$? 4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4635 (exit $ac_status); }; }; then 4636 ac_header_compiler=yes 4637else 4638 echo "$as_me: failed program was:" >&5 4639sed 's/^/| /' conftest.$ac_ext >&5 4640 4641 ac_header_compiler=no 4642fi 4643 4644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4645{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4646echo "${ECHO_T}$ac_header_compiler" >&6; } 4647 4648# Is the header present? 4649{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4650echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4651cat >conftest.$ac_ext <<_ACEOF 4652/* confdefs.h. */ 4653_ACEOF 4654cat confdefs.h >>conftest.$ac_ext 4655cat >>conftest.$ac_ext <<_ACEOF 4656/* end confdefs.h. */ 4657#include <$ac_header> 4658_ACEOF 4659if { (ac_try="$ac_cpp conftest.$ac_ext" 4660case "(($ac_try" in 4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4662 *) ac_try_echo=$ac_try;; 4663esac 4664eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4666 ac_status=$? 4667 grep -v '^ *+' conftest.er1 >conftest.err 4668 rm -f conftest.er1 4669 cat conftest.err >&5 4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4671 (exit $ac_status); } >/dev/null; then 4672 if test -s conftest.err; then 4673 ac_cpp_err=$ac_c_preproc_warn_flag 4674 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4675 else 4676 ac_cpp_err= 4677 fi 4678else 4679 ac_cpp_err=yes 4680fi 4681if test -z "$ac_cpp_err"; then 4682 ac_header_preproc=yes 4683else 4684 echo "$as_me: failed program was:" >&5 4685sed 's/^/| /' conftest.$ac_ext >&5 4686 4687 ac_header_preproc=no 4688fi 4689 4690rm -f conftest.err conftest.$ac_ext 4691{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4692echo "${ECHO_T}$ac_header_preproc" >&6; } 4693 4694# So? What about this header? 4695case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4696 yes:no: ) 4697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4698echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4700echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4701 ac_header_preproc=yes 4702 ;; 4703 no:yes:* ) 4704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4705echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4707echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4709echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4711echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4713echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4715echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4716 4717 ;; 4718esac 4719{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4720echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4721if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4722 echo $ECHO_N "(cached) $ECHO_C" >&6 4723else 4724 eval "$as_ac_Header=\$ac_header_preproc" 4725fi 4726ac_res=`eval echo '${'$as_ac_Header'}'` 4727 { echo "$as_me:$LINENO: result: $ac_res" >&5 4728echo "${ECHO_T}$ac_res" >&6; } 4729 4730fi 4731if test `eval echo '${'$as_ac_Header'}'` = yes; then 4732 cat >>confdefs.h <<_ACEOF 4733#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4734_ACEOF 4735 4736else 4737 { { echo "$as_me:$LINENO: error: Missing necessary header files." >&5 4738echo "$as_me: error: Missing necessary header files." >&2;} 4739 { (exit 1); exit 1; }; } 4740fi 4741 4742done 4743 4744 4745OSTYPE=`uname -s` 4746if test "$OSTYPE" = "FreeBSD"; then 4747 4748 4749for ac_header in gnuregex.h gnu/regex.h 4750do 4751as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4752if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4753 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4754echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4755if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4756 echo $ECHO_N "(cached) $ECHO_C" >&6 4757fi 4758ac_res=`eval echo '${'$as_ac_Header'}'` 4759 { echo "$as_me:$LINENO: result: $ac_res" >&5 4760echo "${ECHO_T}$ac_res" >&6; } 4761else 4762 # Is the header compilable? 4763{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4764echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4765cat >conftest.$ac_ext <<_ACEOF 4766/* confdefs.h. */ 4767_ACEOF 4768cat confdefs.h >>conftest.$ac_ext 4769cat >>conftest.$ac_ext <<_ACEOF 4770/* end confdefs.h. */ 4771$ac_includes_default 4772#include <$ac_header> 4773_ACEOF 4774rm -f conftest.$ac_objext 4775if { (ac_try="$ac_compile" 4776case "(($ac_try" in 4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4778 *) ac_try_echo=$ac_try;; 4779esac 4780eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4781 (eval "$ac_compile") 2>conftest.er1 4782 ac_status=$? 4783 grep -v '^ *+' conftest.er1 >conftest.err 4784 rm -f conftest.er1 4785 cat conftest.err >&5 4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4787 (exit $ac_status); } && 4788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4789 { (case "(($ac_try" in 4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4791 *) ac_try_echo=$ac_try;; 4792esac 4793eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4794 (eval "$ac_try") 2>&5 4795 ac_status=$? 4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4797 (exit $ac_status); }; } && 4798 { ac_try='test -s conftest.$ac_objext' 4799 { (case "(($ac_try" in 4800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4801 *) ac_try_echo=$ac_try;; 4802esac 4803eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4804 (eval "$ac_try") 2>&5 4805 ac_status=$? 4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 (exit $ac_status); }; }; then 4808 ac_header_compiler=yes 4809else 4810 echo "$as_me: failed program was:" >&5 4811sed 's/^/| /' conftest.$ac_ext >&5 4812 4813 ac_header_compiler=no 4814fi 4815 4816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4817{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4818echo "${ECHO_T}$ac_header_compiler" >&6; } 4819 4820# Is the header present? 4821{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4822echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4823cat >conftest.$ac_ext <<_ACEOF 4824/* confdefs.h. */ 4825_ACEOF 4826cat confdefs.h >>conftest.$ac_ext 4827cat >>conftest.$ac_ext <<_ACEOF 4828/* end confdefs.h. */ 4829#include <$ac_header> 4830_ACEOF 4831if { (ac_try="$ac_cpp conftest.$ac_ext" 4832case "(($ac_try" in 4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4834 *) ac_try_echo=$ac_try;; 4835esac 4836eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4838 ac_status=$? 4839 grep -v '^ *+' conftest.er1 >conftest.err 4840 rm -f conftest.er1 4841 cat conftest.err >&5 4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4843 (exit $ac_status); } >/dev/null; then 4844 if test -s conftest.err; then 4845 ac_cpp_err=$ac_c_preproc_warn_flag 4846 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4847 else 4848 ac_cpp_err= 4849 fi 4850else 4851 ac_cpp_err=yes 4852fi 4853if test -z "$ac_cpp_err"; then 4854 ac_header_preproc=yes 4855else 4856 echo "$as_me: failed program was:" >&5 4857sed 's/^/| /' conftest.$ac_ext >&5 4858 4859 ac_header_preproc=no 4860fi 4861 4862rm -f conftest.err conftest.$ac_ext 4863{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4864echo "${ECHO_T}$ac_header_preproc" >&6; } 4865 4866# So? What about this header? 4867case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4868 yes:no: ) 4869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4870echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4872echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4873 ac_header_preproc=yes 4874 ;; 4875 no:yes:* ) 4876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4877echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4879echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4881echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4883echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4885echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4887echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4888 4889 ;; 4890esac 4891{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4892echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4893if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4894 echo $ECHO_N "(cached) $ECHO_C" >&6 4895else 4896 eval "$as_ac_Header=\$ac_header_preproc" 4897fi 4898ac_res=`eval echo '${'$as_ac_Header'}'` 4899 { echo "$as_me:$LINENO: result: $ac_res" >&5 4900echo "${ECHO_T}$ac_res" >&6; } 4901 4902fi 4903if test `eval echo '${'$as_ac_Header'}'` = yes; then 4904 cat >>confdefs.h <<_ACEOF 4905#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4906_ACEOF 4907 4908fi 4909 4910done 4911 4912 4913{ echo "$as_me:$LINENO: checking for main in -lgnuregex" >&5 4914echo $ECHO_N "checking for main in -lgnuregex... $ECHO_C" >&6; } 4915if test "${ac_cv_lib_gnuregex_main+set}" = set; then 4916 echo $ECHO_N "(cached) $ECHO_C" >&6 4917else 4918 ac_check_lib_save_LIBS=$LIBS 4919LIBS="-lgnuregex $LIBS" 4920cat >conftest.$ac_ext <<_ACEOF 4921/* confdefs.h. */ 4922_ACEOF 4923cat confdefs.h >>conftest.$ac_ext 4924cat >>conftest.$ac_ext <<_ACEOF 4925/* end confdefs.h. */ 4926 4927 4928int 4929main () 4930{ 4931return main (); 4932 ; 4933 return 0; 4934} 4935_ACEOF 4936rm -f conftest.$ac_objext conftest$ac_exeext 4937if { (ac_try="$ac_link" 4938case "(($ac_try" in 4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4940 *) ac_try_echo=$ac_try;; 4941esac 4942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4943 (eval "$ac_link") 2>conftest.er1 4944 ac_status=$? 4945 grep -v '^ *+' conftest.er1 >conftest.err 4946 rm -f conftest.er1 4947 cat conftest.err >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); } && 4950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4951 { (case "(($ac_try" in 4952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4953 *) ac_try_echo=$ac_try;; 4954esac 4955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4956 (eval "$ac_try") 2>&5 4957 ac_status=$? 4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4959 (exit $ac_status); }; } && 4960 { ac_try='test -s conftest$ac_exeext' 4961 { (case "(($ac_try" in 4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4963 *) ac_try_echo=$ac_try;; 4964esac 4965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4966 (eval "$ac_try") 2>&5 4967 ac_status=$? 4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4969 (exit $ac_status); }; }; then 4970 ac_cv_lib_gnuregex_main=yes 4971else 4972 echo "$as_me: failed program was:" >&5 4973sed 's/^/| /' conftest.$ac_ext >&5 4974 4975 ac_cv_lib_gnuregex_main=no 4976fi 4977 4978rm -f core conftest.err conftest.$ac_objext \ 4979 conftest$ac_exeext conftest.$ac_ext 4980LIBS=$ac_check_lib_save_LIBS 4981fi 4982{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnuregex_main" >&5 4983echo "${ECHO_T}$ac_cv_lib_gnuregex_main" >&6; } 4984if test $ac_cv_lib_gnuregex_main = yes; then 4985 cat >>confdefs.h <<_ACEOF 4986#define HAVE_LIBGNUREGEX 1 4987_ACEOF 4988 4989 LIBS="-lgnuregex $LIBS" 4990 4991else 4992 { { echo "$as_me:$LINENO: error: Missing required library" >&5 4993echo "$as_me: error: Missing required library" >&2;} 4994 { (exit 1); exit 1; }; } 4995fi 4996 4997fi; 4998 4999 5000 5001 5002if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 5003 if test -n "$ac_tool_prefix"; then 5004 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 5005set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 5006{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5007echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5008if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5009 echo $ECHO_N "(cached) $ECHO_C" >&6 5010else 5011 case $PKG_CONFIG in 5012 [\\/]* | ?:[\\/]*) 5013 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5014 ;; 5015 *) 5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5017for as_dir in $PATH 5018do 5019 IFS=$as_save_IFS 5020 test -z "$as_dir" && as_dir=. 5021 for ac_exec_ext in '' $ac_executable_extensions; do 5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5023 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5025 break 2 5026 fi 5027done 5028done 5029IFS=$as_save_IFS 5030 5031 ;; 5032esac 5033fi 5034PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5035if test -n "$PKG_CONFIG"; then 5036 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5037echo "${ECHO_T}$PKG_CONFIG" >&6; } 5038else 5039 { echo "$as_me:$LINENO: result: no" >&5 5040echo "${ECHO_T}no" >&6; } 5041fi 5042 5043 5044fi 5045if test -z "$ac_cv_path_PKG_CONFIG"; then 5046 ac_pt_PKG_CONFIG=$PKG_CONFIG 5047 # Extract the first word of "pkg-config", so it can be a program name with args. 5048set dummy pkg-config; ac_word=$2 5049{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5050echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5051if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 5052 echo $ECHO_N "(cached) $ECHO_C" >&6 5053else 5054 case $ac_pt_PKG_CONFIG in 5055 [\\/]* | ?:[\\/]*) 5056 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 5057 ;; 5058 *) 5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5060for as_dir in $PATH 5061do 5062 IFS=$as_save_IFS 5063 test -z "$as_dir" && as_dir=. 5064 for ac_exec_ext in '' $ac_executable_extensions; do 5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5066 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5068 break 2 5069 fi 5070done 5071done 5072IFS=$as_save_IFS 5073 5074 ;; 5075esac 5076fi 5077ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5078if test -n "$ac_pt_PKG_CONFIG"; then 5079 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 5080echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 5081else 5082 { echo "$as_me:$LINENO: result: no" >&5 5083echo "${ECHO_T}no" >&6; } 5084fi 5085 5086 if test "x$ac_pt_PKG_CONFIG" = x; then 5087 PKG_CONFIG="" 5088 else 5089 case $cross_compiling:$ac_tool_warned in 5090yes:) 5091{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5092whose name does not start with the host triplet. If you think this 5093configuration is useful to you, please write to autoconf@gnu.org." >&5 5094echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5095whose name does not start with the host triplet. If you think this 5096configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5097ac_tool_warned=yes ;; 5098esac 5099 PKG_CONFIG=$ac_pt_PKG_CONFIG 5100 fi 5101else 5102 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5103fi 5104 5105fi 5106if test -n "$PKG_CONFIG"; then 5107 _pkg_min_version=0.9.0 5108 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 5109echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 5110 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5111 { echo "$as_me:$LINENO: result: yes" >&5 5112echo "${ECHO_T}yes" >&6; } 5113 else 5114 { echo "$as_me:$LINENO: result: no" >&5 5115echo "${ECHO_T}no" >&6; } 5116 PKG_CONFIG="" 5117 fi 5118 5119fi 5120 5121pkg_failed=no 5122{ echo "$as_me:$LINENO: checking for GTK" >&5 5123echo $ECHO_N "checking for GTK... $ECHO_C" >&6; } 5124 5125if test -n "$PKG_CONFIG"; then 5126 if test -n "$GTK_CFLAGS"; then 5127 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 5128 else 5129 if test -n "$PKG_CONFIG" && \ 5130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0 5131 gtk+-2.0 >= 2.8.0 5132 libglade-2.0 >= 2.6.0\"") >&5 5133 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0 5134 gtk+-2.0 >= 2.8.0 5135 libglade-2.0 >= 2.6.0") 2>&5 5136 ac_status=$? 5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5138 (exit $ac_status); }; then 5139 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12.0 5140 gtk+-2.0 >= 2.8.0 5141 libglade-2.0 >= 2.6.0" 2>/dev/null` 5142else 5143 pkg_failed=yes 5144fi 5145 fi 5146else 5147 pkg_failed=untried 5148fi 5149if test -n "$PKG_CONFIG"; then 5150 if test -n "$GTK_LIBS"; then 5151 pkg_cv_GTK_LIBS="$GTK_LIBS" 5152 else 5153 if test -n "$PKG_CONFIG" && \ 5154 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0 5155 gtk+-2.0 >= 2.8.0 5156 libglade-2.0 >= 2.6.0\"") >&5 5157 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0 5158 gtk+-2.0 >= 2.8.0 5159 libglade-2.0 >= 2.6.0") 2>&5 5160 ac_status=$? 5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5162 (exit $ac_status); }; then 5163 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.12.0 5164 gtk+-2.0 >= 2.8.0 5165 libglade-2.0 >= 2.6.0" 2>/dev/null` 5166else 5167 pkg_failed=yes 5168fi 5169 fi 5170else 5171 pkg_failed=untried 5172fi 5173 5174 5175 5176if test $pkg_failed = yes; then 5177 5178if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5179 _pkg_short_errors_supported=yes 5180else 5181 _pkg_short_errors_supported=no 5182fi 5183 if test $_pkg_short_errors_supported = yes; then 5184 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 5185 gtk+-2.0 >= 2.8.0 5186 libglade-2.0 >= 2.6.0"` 5187 else 5188 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 5189 gtk+-2.0 >= 2.8.0 5190 libglade-2.0 >= 2.6.0"` 5191 fi 5192 # Put the nasty error message in config.log where it belongs 5193 echo "$GTK_PKG_ERRORS" >&5 5194 5195 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.12.0 5196 gtk+-2.0 >= 2.8.0 5197 libglade-2.0 >= 2.6.0) were not met: 5198 5199$GTK_PKG_ERRORS 5200 5201Consider adjusting the PKG_CONFIG_PATH environment variable if you 5202installed software in a non-standard prefix. 5203 5204Alternatively, you may set the environment variables GTK_CFLAGS 5205and GTK_LIBS to avoid the need to call pkg-config. 5206See the pkg-config man page for more details. 5207" >&5 5208echo "$as_me: error: Package requirements (glib-2.0 >= 2.12.0 5209 gtk+-2.0 >= 2.8.0 5210 libglade-2.0 >= 2.6.0) were not met: 5211 5212$GTK_PKG_ERRORS 5213 5214Consider adjusting the PKG_CONFIG_PATH environment variable if you 5215installed software in a non-standard prefix. 5216 5217Alternatively, you may set the environment variables GTK_CFLAGS 5218and GTK_LIBS to avoid the need to call pkg-config. 5219See the pkg-config man page for more details. 5220" >&2;} 5221 { (exit 1); exit 1; }; } 5222elif test $pkg_failed = untried; then 5223 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 5224is in your PATH or set the PKG_CONFIG environment variable to the full 5225path to pkg-config. 5226 5227Alternatively, you may set the environment variables GTK_CFLAGS 5228and GTK_LIBS to avoid the need to call pkg-config. 5229See the pkg-config man page for more details. 5230 5231To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 5232See \`config.log' for more details." >&5 5233echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 5234is in your PATH or set the PKG_CONFIG environment variable to the full 5235path to pkg-config. 5236 5237Alternatively, you may set the environment variables GTK_CFLAGS 5238and GTK_LIBS to avoid the need to call pkg-config. 5239See the pkg-config man page for more details. 5240 5241To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 5242See \`config.log' for more details." >&2;} 5243 { (exit 1); exit 1; }; } 5244else 5245 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 5246 GTK_LIBS=$pkg_cv_GTK_LIBS 5247 { echo "$as_me:$LINENO: result: yes" >&5 5248echo "${ECHO_T}yes" >&6; } 5249 : 5250fi 5251 5252 5253 5254 5255if test "$enable_mp3" = "yes"; then 5256 5257for ac_header in id3.h 5258do 5259as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5260if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5261 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5262echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5263if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5264 echo $ECHO_N "(cached) $ECHO_C" >&6 5265fi 5266ac_res=`eval echo '${'$as_ac_Header'}'` 5267 { echo "$as_me:$LINENO: result: $ac_res" >&5 5268echo "${ECHO_T}$ac_res" >&6; } 5269else 5270 # Is the header compilable? 5271{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 5272echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5273cat >conftest.$ac_ext <<_ACEOF 5274/* confdefs.h. */ 5275_ACEOF 5276cat confdefs.h >>conftest.$ac_ext 5277cat >>conftest.$ac_ext <<_ACEOF 5278/* end confdefs.h. */ 5279$ac_includes_default 5280#include <$ac_header> 5281_ACEOF 5282rm -f conftest.$ac_objext 5283if { (ac_try="$ac_compile" 5284case "(($ac_try" in 5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5286 *) ac_try_echo=$ac_try;; 5287esac 5288eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5289 (eval "$ac_compile") 2>conftest.er1 5290 ac_status=$? 5291 grep -v '^ *+' conftest.er1 >conftest.err 5292 rm -f conftest.er1 5293 cat conftest.err >&5 5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5295 (exit $ac_status); } && 5296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5297 { (case "(($ac_try" in 5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5299 *) ac_try_echo=$ac_try;; 5300esac 5301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5302 (eval "$ac_try") 2>&5 5303 ac_status=$? 5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5305 (exit $ac_status); }; } && 5306 { ac_try='test -s conftest.$ac_objext' 5307 { (case "(($ac_try" in 5308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5309 *) ac_try_echo=$ac_try;; 5310esac 5311eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5312 (eval "$ac_try") 2>&5 5313 ac_status=$? 5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5315 (exit $ac_status); }; }; then 5316 ac_header_compiler=yes 5317else 5318 echo "$as_me: failed program was:" >&5 5319sed 's/^/| /' conftest.$ac_ext >&5 5320 5321 ac_header_compiler=no 5322fi 5323 5324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5325{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5326echo "${ECHO_T}$ac_header_compiler" >&6; } 5327 5328# Is the header present? 5329{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 5330echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5331cat >conftest.$ac_ext <<_ACEOF 5332/* confdefs.h. */ 5333_ACEOF 5334cat confdefs.h >>conftest.$ac_ext 5335cat >>conftest.$ac_ext <<_ACEOF 5336/* end confdefs.h. */ 5337#include <$ac_header> 5338_ACEOF 5339if { (ac_try="$ac_cpp conftest.$ac_ext" 5340case "(($ac_try" in 5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5342 *) ac_try_echo=$ac_try;; 5343esac 5344eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5346 ac_status=$? 5347 grep -v '^ *+' conftest.er1 >conftest.err 5348 rm -f conftest.er1 5349 cat conftest.err >&5 5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5351 (exit $ac_status); } >/dev/null; then 5352 if test -s conftest.err; then 5353 ac_cpp_err=$ac_c_preproc_warn_flag 5354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5355 else 5356 ac_cpp_err= 5357 fi 5358else 5359 ac_cpp_err=yes 5360fi 5361if test -z "$ac_cpp_err"; then 5362 ac_header_preproc=yes 5363else 5364 echo "$as_me: failed program was:" >&5 5365sed 's/^/| /' conftest.$ac_ext >&5 5366 5367 ac_header_preproc=no 5368fi 5369 5370rm -f conftest.err conftest.$ac_ext 5371{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5372echo "${ECHO_T}$ac_header_preproc" >&6; } 5373 5374# So? What about this header? 5375case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5376 yes:no: ) 5377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5378echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5380echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5381 ac_header_preproc=yes 5382 ;; 5383 no:yes:* ) 5384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5385echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5387echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5389echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5391echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5393echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5395echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5396 5397 ;; 5398esac 5399{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5400echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5401if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5402 echo $ECHO_N "(cached) $ECHO_C" >&6 5403else 5404 eval "$as_ac_Header=\$ac_header_preproc" 5405fi 5406ac_res=`eval echo '${'$as_ac_Header'}'` 5407 { echo "$as_me:$LINENO: result: $ac_res" >&5 5408echo "${ECHO_T}$ac_res" >&6; } 5409 5410fi 5411if test `eval echo '${'$as_ac_Header'}'` = yes; then 5412 cat >>confdefs.h <<_ACEOF 5413#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5414_ACEOF 5415 5416else 5417 enable_mp3=no; disable_mp3_reason="(missing id3lib headers)" 5418fi 5419 5420done 5421 5422fi; 5423if test "$enable_mp3" = "yes"; then 5424 SAVE_LDFLAGS=$LDFLAGS 5425 LDFLAGS="-lstdc++ -lz $LDFLAGS" 5426 5427 5428{ echo "$as_me:$LINENO: checking for main in -lid3" >&5 5429echo $ECHO_N "checking for main in -lid3... $ECHO_C" >&6; } 5430if test "${ac_cv_lib_id3_main+set}" = set; then 5431 echo $ECHO_N "(cached) $ECHO_C" >&6 5432else 5433 ac_check_lib_save_LIBS=$LIBS 5434LIBS="-lid3 $LIBS" 5435cat >conftest.$ac_ext <<_ACEOF 5436/* confdefs.h. */ 5437_ACEOF 5438cat confdefs.h >>conftest.$ac_ext 5439cat >>conftest.$ac_ext <<_ACEOF 5440/* end confdefs.h. */ 5441 5442 5443int 5444main () 5445{ 5446return main (); 5447 ; 5448 return 0; 5449} 5450_ACEOF 5451rm -f conftest.$ac_objext conftest$ac_exeext 5452if { (ac_try="$ac_link" 5453case "(($ac_try" in 5454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5455 *) ac_try_echo=$ac_try;; 5456esac 5457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5458 (eval "$ac_link") 2>conftest.er1 5459 ac_status=$? 5460 grep -v '^ *+' conftest.er1 >conftest.err 5461 rm -f conftest.er1 5462 cat conftest.err >&5 5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5464 (exit $ac_status); } && 5465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5466 { (case "(($ac_try" in 5467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5468 *) ac_try_echo=$ac_try;; 5469esac 5470eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5471 (eval "$ac_try") 2>&5 5472 ac_status=$? 5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5474 (exit $ac_status); }; } && 5475 { ac_try='test -s conftest$ac_exeext' 5476 { (case "(($ac_try" in 5477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5478 *) ac_try_echo=$ac_try;; 5479esac 5480eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5481 (eval "$ac_try") 2>&5 5482 ac_status=$? 5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 (exit $ac_status); }; }; then 5485 ac_cv_lib_id3_main=yes 5486else 5487 echo "$as_me: failed program was:" >&5 5488sed 's/^/| /' conftest.$ac_ext >&5 5489 5490 ac_cv_lib_id3_main=no 5491fi 5492 5493rm -f core conftest.err conftest.$ac_objext \ 5494 conftest$ac_exeext conftest.$ac_ext 5495LIBS=$ac_check_lib_save_LIBS 5496fi 5497{ echo "$as_me:$LINENO: result: $ac_cv_lib_id3_main" >&5 5498echo "${ECHO_T}$ac_cv_lib_id3_main" >&6; } 5499if test $ac_cv_lib_id3_main = yes; then 5500 cat >>confdefs.h <<_ACEOF 5501#define HAVE_LIBID3 1 5502_ACEOF 5503 5504 LIBS="-lid3 $LIBS" 5505 5506else 5507 enable_mp3=no; disable_mp3_reason="(missing id3 library)" 5508fi 5509 5510 5511{ echo "$as_me:$LINENO: checking for ID3FrameInfo_LongName in -lid3" >&5 5512echo $ECHO_N "checking for ID3FrameInfo_LongName in -lid3... $ECHO_C" >&6; } 5513if test "${ac_cv_lib_id3_ID3FrameInfo_LongName+set}" = set; then 5514 echo $ECHO_N "(cached) $ECHO_C" >&6 5515else 5516 ac_check_lib_save_LIBS=$LIBS 5517LIBS="-lid3 $LIBS" 5518cat >conftest.$ac_ext <<_ACEOF 5519/* confdefs.h. */ 5520_ACEOF 5521cat confdefs.h >>conftest.$ac_ext 5522cat >>conftest.$ac_ext <<_ACEOF 5523/* end confdefs.h. */ 5524 5525/* Override any GCC internal prototype to avoid an error. 5526 Use char because int might match the return type of a GCC 5527 builtin and then its argument prototype would still apply. */ 5528#ifdef __cplusplus 5529extern "C" 5530#endif 5531char ID3FrameInfo_LongName (); 5532int 5533main () 5534{ 5535return ID3FrameInfo_LongName (); 5536 ; 5537 return 0; 5538} 5539_ACEOF 5540rm -f conftest.$ac_objext conftest$ac_exeext 5541if { (ac_try="$ac_link" 5542case "(($ac_try" in 5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5544 *) ac_try_echo=$ac_try;; 5545esac 5546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5547 (eval "$ac_link") 2>conftest.er1 5548 ac_status=$? 5549 grep -v '^ *+' conftest.er1 >conftest.err 5550 rm -f conftest.er1 5551 cat conftest.err >&5 5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5553 (exit $ac_status); } && 5554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5555 { (case "(($ac_try" in 5556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5557 *) ac_try_echo=$ac_try;; 5558esac 5559eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5560 (eval "$ac_try") 2>&5 5561 ac_status=$? 5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5563 (exit $ac_status); }; } && 5564 { ac_try='test -s conftest$ac_exeext' 5565 { (case "(($ac_try" in 5566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5567 *) ac_try_echo=$ac_try;; 5568esac 5569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5570 (eval "$ac_try") 2>&5 5571 ac_status=$? 5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5573 (exit $ac_status); }; }; then 5574 ac_cv_lib_id3_ID3FrameInfo_LongName=yes 5575else 5576 echo "$as_me: failed program was:" >&5 5577sed 's/^/| /' conftest.$ac_ext >&5 5578 5579 ac_cv_lib_id3_ID3FrameInfo_LongName=no 5580fi 5581 5582rm -f core conftest.err conftest.$ac_objext \ 5583 conftest$ac_exeext conftest.$ac_ext 5584LIBS=$ac_check_lib_save_LIBS 5585fi 5586{ echo "$as_me:$LINENO: result: $ac_cv_lib_id3_ID3FrameInfo_LongName" >&5 5587echo "${ECHO_T}$ac_cv_lib_id3_ID3FrameInfo_LongName" >&6; } 5588if test $ac_cv_lib_id3_ID3FrameInfo_LongName = yes; then 5589 cat >>confdefs.h <<_ACEOF 5590#define HAVE_LIBID3 1 5591_ACEOF 5592 5593 LIBS="-lid3 $LIBS" 5594 5595else 5596 5597cat >>confdefs.h <<\_ACEOF 5598#define LIBID3_MISSING_ID3FRAMEINFO 1 5599_ACEOF 5600 5601fi 5602 5603 5604 if test "$enable_mp3" = "no"; then 5605 LDFLAGS=$SAVE_LDFLAGS 5606 fi; 5607fi; 5608 5609if test "$enable_vorbis" = "yes"; then 5610 5611 5612 5613for ac_header in ogg/ogg.h vorbis/codec.h vorbis/vorbisfile.h 5614do 5615as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5616if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5617 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5618echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5619if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5620 echo $ECHO_N "(cached) $ECHO_C" >&6 5621fi 5622ac_res=`eval echo '${'$as_ac_Header'}'` 5623 { echo "$as_me:$LINENO: result: $ac_res" >&5 5624echo "${ECHO_T}$ac_res" >&6; } 5625else 5626 # Is the header compilable? 5627{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 5628echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5629cat >conftest.$ac_ext <<_ACEOF 5630/* confdefs.h. */ 5631_ACEOF 5632cat confdefs.h >>conftest.$ac_ext 5633cat >>conftest.$ac_ext <<_ACEOF 5634/* end confdefs.h. */ 5635$ac_includes_default 5636#include <$ac_header> 5637_ACEOF 5638rm -f conftest.$ac_objext 5639if { (ac_try="$ac_compile" 5640case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643esac 5644eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5645 (eval "$ac_compile") 2>conftest.er1 5646 ac_status=$? 5647 grep -v '^ *+' conftest.er1 >conftest.err 5648 rm -f conftest.er1 5649 cat conftest.err >&5 5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5651 (exit $ac_status); } && 5652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5653 { (case "(($ac_try" in 5654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5655 *) ac_try_echo=$ac_try;; 5656esac 5657eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5658 (eval "$ac_try") 2>&5 5659 ac_status=$? 5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 (exit $ac_status); }; } && 5662 { ac_try='test -s conftest.$ac_objext' 5663 { (case "(($ac_try" in 5664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5665 *) ac_try_echo=$ac_try;; 5666esac 5667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5668 (eval "$ac_try") 2>&5 5669 ac_status=$? 5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5671 (exit $ac_status); }; }; then 5672 ac_header_compiler=yes 5673else 5674 echo "$as_me: failed program was:" >&5 5675sed 's/^/| /' conftest.$ac_ext >&5 5676 5677 ac_header_compiler=no 5678fi 5679 5680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5681{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5682echo "${ECHO_T}$ac_header_compiler" >&6; } 5683 5684# Is the header present? 5685{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 5686echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5687cat >conftest.$ac_ext <<_ACEOF 5688/* confdefs.h. */ 5689_ACEOF 5690cat confdefs.h >>conftest.$ac_ext 5691cat >>conftest.$ac_ext <<_ACEOF 5692/* end confdefs.h. */ 5693#include <$ac_header> 5694_ACEOF 5695if { (ac_try="$ac_cpp conftest.$ac_ext" 5696case "(($ac_try" in 5697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5698 *) ac_try_echo=$ac_try;; 5699esac 5700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5702 ac_status=$? 5703 grep -v '^ *+' conftest.er1 >conftest.err 5704 rm -f conftest.er1 5705 cat conftest.err >&5 5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5707 (exit $ac_status); } >/dev/null; then 5708 if test -s conftest.err; then 5709 ac_cpp_err=$ac_c_preproc_warn_flag 5710 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5711 else 5712 ac_cpp_err= 5713 fi 5714else 5715 ac_cpp_err=yes 5716fi 5717if test -z "$ac_cpp_err"; then 5718 ac_header_preproc=yes 5719else 5720 echo "$as_me: failed program was:" >&5 5721sed 's/^/| /' conftest.$ac_ext >&5 5722 5723 ac_header_preproc=no 5724fi 5725 5726rm -f conftest.err conftest.$ac_ext 5727{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5728echo "${ECHO_T}$ac_header_preproc" >&6; } 5729 5730# So? What about this header? 5731case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5732 yes:no: ) 5733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5734echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5736echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5737 ac_header_preproc=yes 5738 ;; 5739 no:yes:* ) 5740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5741echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5743echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5745echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5747echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5749echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5751echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5752 5753 ;; 5754esac 5755{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5756echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5757if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5758 echo $ECHO_N "(cached) $ECHO_C" >&6 5759else 5760 eval "$as_ac_Header=\$ac_header_preproc" 5761fi 5762ac_res=`eval echo '${'$as_ac_Header'}'` 5763 { echo "$as_me:$LINENO: result: $ac_res" >&5 5764echo "${ECHO_T}$ac_res" >&6; } 5765 5766fi 5767if test `eval echo '${'$as_ac_Header'}'` = yes; then 5768 cat >>confdefs.h <<_ACEOF 5769#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5770_ACEOF 5771 5772else 5773 enable_vorbis=no; disable_vorbis_reason="(missing vorbis headers)" 5774fi 5775 5776done 5777 5778fi; 5779if test "$enable_vorbis" = "yes"; then 5780 5781{ echo "$as_me:$LINENO: checking for main in -lvorbis" >&5 5782echo $ECHO_N "checking for main in -lvorbis... $ECHO_C" >&6; } 5783if test "${ac_cv_lib_vorbis_main+set}" = set; then 5784 echo $ECHO_N "(cached) $ECHO_C" >&6 5785else 5786 ac_check_lib_save_LIBS=$LIBS 5787LIBS="-lvorbis $LIBS" 5788cat >conftest.$ac_ext <<_ACEOF 5789/* confdefs.h. */ 5790_ACEOF 5791cat confdefs.h >>conftest.$ac_ext 5792cat >>conftest.$ac_ext <<_ACEOF 5793/* end confdefs.h. */ 5794 5795 5796int 5797main () 5798{ 5799return main (); 5800 ; 5801 return 0; 5802} 5803_ACEOF 5804rm -f conftest.$ac_objext conftest$ac_exeext 5805if { (ac_try="$ac_link" 5806case "(($ac_try" in 5807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5808 *) ac_try_echo=$ac_try;; 5809esac 5810eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5811 (eval "$ac_link") 2>conftest.er1 5812 ac_status=$? 5813 grep -v '^ *+' conftest.er1 >conftest.err 5814 rm -f conftest.er1 5815 cat conftest.err >&5 5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5817 (exit $ac_status); } && 5818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5819 { (case "(($ac_try" in 5820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5821 *) ac_try_echo=$ac_try;; 5822esac 5823eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5824 (eval "$ac_try") 2>&5 5825 ac_status=$? 5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5827 (exit $ac_status); }; } && 5828 { ac_try='test -s conftest$ac_exeext' 5829 { (case "(($ac_try" in 5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5831 *) ac_try_echo=$ac_try;; 5832esac 5833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5834 (eval "$ac_try") 2>&5 5835 ac_status=$? 5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5837 (exit $ac_status); }; }; then 5838 ac_cv_lib_vorbis_main=yes 5839else 5840 echo "$as_me: failed program was:" >&5 5841sed 's/^/| /' conftest.$ac_ext >&5 5842 5843 ac_cv_lib_vorbis_main=no 5844fi 5845 5846rm -f core conftest.err conftest.$ac_objext \ 5847 conftest$ac_exeext conftest.$ac_ext 5848LIBS=$ac_check_lib_save_LIBS 5849fi 5850{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_main" >&5 5851echo "${ECHO_T}$ac_cv_lib_vorbis_main" >&6; } 5852if test $ac_cv_lib_vorbis_main = yes; then 5853 cat >>confdefs.h <<_ACEOF 5854#define HAVE_LIBVORBIS 1 5855_ACEOF 5856 5857 LIBS="-lvorbis $LIBS" 5858 5859else 5860 enable_vorbis=no; disable_vorbis_reason="(missing vorbis library)" 5861fi 5862 5863fi; 5864if test "$enable_vorbis" = "yes"; then 5865 5866{ echo "$as_me:$LINENO: checking for main in -lvorbisfile" >&5 5867echo $ECHO_N "checking for main in -lvorbisfile... $ECHO_C" >&6; } 5868if test "${ac_cv_lib_vorbisfile_main+set}" = set; then 5869 echo $ECHO_N "(cached) $ECHO_C" >&6 5870else 5871 ac_check_lib_save_LIBS=$LIBS 5872LIBS="-lvorbisfile $LIBS" 5873cat >conftest.$ac_ext <<_ACEOF 5874/* confdefs.h. */ 5875_ACEOF 5876cat confdefs.h >>conftest.$ac_ext 5877cat >>conftest.$ac_ext <<_ACEOF 5878/* end confdefs.h. */ 5879 5880 5881int 5882main () 5883{ 5884return main (); 5885 ; 5886 return 0; 5887} 5888_ACEOF 5889rm -f conftest.$ac_objext conftest$ac_exeext 5890if { (ac_try="$ac_link" 5891case "(($ac_try" in 5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5893 *) ac_try_echo=$ac_try;; 5894esac 5895eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5896 (eval "$ac_link") 2>conftest.er1 5897 ac_status=$? 5898 grep -v '^ *+' conftest.er1 >conftest.err 5899 rm -f conftest.er1 5900 cat conftest.err >&5 5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5902 (exit $ac_status); } && 5903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5904 { (case "(($ac_try" in 5905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5906 *) ac_try_echo=$ac_try;; 5907esac 5908eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5909 (eval "$ac_try") 2>&5 5910 ac_status=$? 5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5912 (exit $ac_status); }; } && 5913 { ac_try='test -s conftest$ac_exeext' 5914 { (case "(($ac_try" in 5915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5916 *) ac_try_echo=$ac_try;; 5917esac 5918eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5919 (eval "$ac_try") 2>&5 5920 ac_status=$? 5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 (exit $ac_status); }; }; then 5923 ac_cv_lib_vorbisfile_main=yes 5924else 5925 echo "$as_me: failed program was:" >&5 5926sed 's/^/| /' conftest.$ac_ext >&5 5927 5928 ac_cv_lib_vorbisfile_main=no 5929fi 5930 5931rm -f core conftest.err conftest.$ac_objext \ 5932 conftest$ac_exeext conftest.$ac_ext 5933LIBS=$ac_check_lib_save_LIBS 5934fi 5935{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_main" >&5 5936echo "${ECHO_T}$ac_cv_lib_vorbisfile_main" >&6; } 5937if test $ac_cv_lib_vorbisfile_main = yes; then 5938 cat >>confdefs.h <<_ACEOF 5939#define HAVE_LIBVORBISFILE 1 5940_ACEOF 5941 5942 LIBS="-lvorbisfile $LIBS" 5943 5944else 5945 enable_vorbis=no; disable_vorbis_reason="(missing vorbisfile library)" 5946fi 5947 5948fi; 5949 5950 5951 5952if test "$enable_mp3" = "yes"; then 5953 ENABLE_MP3_TRUE= 5954 ENABLE_MP3_FALSE='#' 5955else 5956 ENABLE_MP3_TRUE='#' 5957 ENABLE_MP3_FALSE= 5958fi 5959 5960 5961 5962if test "$enable_vorbis" = "yes"; then 5963 ENABLE_VORBIS_TRUE= 5964 ENABLE_VORBIS_FALSE='#' 5965else 5966 ENABLE_VORBIS_TRUE='#' 5967 ENABLE_VORBIS_FALSE= 5968fi 5969 5970 5971if test "$enable_mp3" = "no" && test "$enable_vorbis" = "no"; then 5972 { echo "$as_me:$LINENO: result: 5973No MP3 support $disable_mp3_reason 5974No Ogg Vorbis support $disable_vorbis_reason 5975" >&5 5976echo "${ECHO_T} 5977No MP3 support $disable_mp3_reason 5978No Ogg Vorbis support $disable_vorbis_reason 5979" >&6; } 5980 { { echo "$as_me:$LINENO: error: Neither MP3 or Vorbis support is being built. Cannot continue." >&5 5981echo "$as_me: error: Neither MP3 or Vorbis support is being built. Cannot continue." >&2;} 5982 { (exit 1); exit 1; }; } 5983fi; 5984 5985 5986{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5987echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 5988if test "${ac_cv_c_const+set}" = set; then 5989 echo $ECHO_N "(cached) $ECHO_C" >&6 5990else 5991 cat >conftest.$ac_ext <<_ACEOF 5992/* confdefs.h. */ 5993_ACEOF 5994cat confdefs.h >>conftest.$ac_ext 5995cat >>conftest.$ac_ext <<_ACEOF 5996/* end confdefs.h. */ 5997 5998int 5999main () 6000{ 6001/* FIXME: Include the comments suggested by Paul. */ 6002#ifndef __cplusplus 6003 /* Ultrix mips cc rejects this. */ 6004 typedef int charset[2]; 6005 const charset x; 6006 /* SunOS 4.1.1 cc rejects this. */ 6007 char const *const *ccp; 6008 char **p; 6009 /* NEC SVR4.0.2 mips cc rejects this. */ 6010 struct point {int x, y;}; 6011 static struct point const zero = {0,0}; 6012 /* AIX XL C 1.02.0.0 rejects this. 6013 It does not let you subtract one const X* pointer from another in 6014 an arm of an if-expression whose if-part is not a constant 6015 expression */ 6016 const char *g = "string"; 6017 ccp = &g + (g ? g-g : 0); 6018 /* HPUX 7.0 cc rejects these. */ 6019 ++ccp; 6020 p = (char**) ccp; 6021 ccp = (char const *const *) p; 6022 { /* SCO 3.2v4 cc rejects this. */ 6023 char *t; 6024 char const *s = 0 ? (char *) 0 : (char const *) 0; 6025 6026 *t++ = 0; 6027 if (s) return 0; 6028 } 6029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 6030 int x[] = {25, 17}; 6031 const int *foo = &x[0]; 6032 ++foo; 6033 } 6034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6035 typedef const int *iptr; 6036 iptr p = 0; 6037 ++p; 6038 } 6039 { /* AIX XL C 1.02.0.0 rejects this saying 6040 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6041 struct s { int j; const int *ap[3]; }; 6042 struct s *b; b->j = 5; 6043 } 6044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6045 const int foo = 10; 6046 if (!foo) return 0; 6047 } 6048 return !x[0] && !zero.x; 6049#endif 6050 6051 ; 6052 return 0; 6053} 6054_ACEOF 6055rm -f conftest.$ac_objext 6056if { (ac_try="$ac_compile" 6057case "(($ac_try" in 6058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6059 *) ac_try_echo=$ac_try;; 6060esac 6061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6062 (eval "$ac_compile") 2>conftest.er1 6063 ac_status=$? 6064 grep -v '^ *+' conftest.er1 >conftest.err 6065 rm -f conftest.er1 6066 cat conftest.err >&5 6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); } && 6069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6070 { (case "(($ac_try" in 6071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6072 *) ac_try_echo=$ac_try;; 6073esac 6074eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6075 (eval "$ac_try") 2>&5 6076 ac_status=$? 6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6078 (exit $ac_status); }; } && 6079 { ac_try='test -s conftest.$ac_objext' 6080 { (case "(($ac_try" in 6081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6082 *) ac_try_echo=$ac_try;; 6083esac 6084eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6085 (eval "$ac_try") 2>&5 6086 ac_status=$? 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 (exit $ac_status); }; }; then 6089 ac_cv_c_const=yes 6090else 6091 echo "$as_me: failed program was:" >&5 6092sed 's/^/| /' conftest.$ac_ext >&5 6093 6094 ac_cv_c_const=no 6095fi 6096 6097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6098fi 6099{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 6100echo "${ECHO_T}$ac_cv_c_const" >&6; } 6101if test $ac_cv_c_const = no; then 6102 6103cat >>confdefs.h <<\_ACEOF 6104#define const 6105_ACEOF 6106 6107fi 6108 6109{ echo "$as_me:$LINENO: checking for mode_t" >&5 6110echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 6111if test "${ac_cv_type_mode_t+set}" = set; then 6112 echo $ECHO_N "(cached) $ECHO_C" >&6 6113else 6114 cat >conftest.$ac_ext <<_ACEOF 6115/* confdefs.h. */ 6116_ACEOF 6117cat confdefs.h >>conftest.$ac_ext 6118cat >>conftest.$ac_ext <<_ACEOF 6119/* end confdefs.h. */ 6120$ac_includes_default 6121typedef mode_t ac__type_new_; 6122int 6123main () 6124{ 6125if ((ac__type_new_ *) 0) 6126 return 0; 6127if (sizeof (ac__type_new_)) 6128 return 0; 6129 ; 6130 return 0; 6131} 6132_ACEOF 6133rm -f conftest.$ac_objext 6134if { (ac_try="$ac_compile" 6135case "(($ac_try" in 6136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6137 *) ac_try_echo=$ac_try;; 6138esac 6139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6140 (eval "$ac_compile") 2>conftest.er1 6141 ac_status=$? 6142 grep -v '^ *+' conftest.er1 >conftest.err 6143 rm -f conftest.er1 6144 cat conftest.err >&5 6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6146 (exit $ac_status); } && 6147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6148 { (case "(($ac_try" in 6149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6150 *) ac_try_echo=$ac_try;; 6151esac 6152eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6153 (eval "$ac_try") 2>&5 6154 ac_status=$? 6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6156 (exit $ac_status); }; } && 6157 { ac_try='test -s conftest.$ac_objext' 6158 { (case "(($ac_try" in 6159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6160 *) ac_try_echo=$ac_try;; 6161esac 6162eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6163 (eval "$ac_try") 2>&5 6164 ac_status=$? 6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6166 (exit $ac_status); }; }; then 6167 ac_cv_type_mode_t=yes 6168else 6169 echo "$as_me: failed program was:" >&5 6170sed 's/^/| /' conftest.$ac_ext >&5 6171 6172 ac_cv_type_mode_t=no 6173fi 6174 6175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6176fi 6177{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 6178echo "${ECHO_T}$ac_cv_type_mode_t" >&6; } 6179if test $ac_cv_type_mode_t = yes; then 6180 : 6181else 6182 6183cat >>confdefs.h <<_ACEOF 6184#define mode_t int 6185_ACEOF 6186 6187fi 6188 6189{ echo "$as_me:$LINENO: checking for size_t" >&5 6190echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 6191if test "${ac_cv_type_size_t+set}" = set; then 6192 echo $ECHO_N "(cached) $ECHO_C" >&6 6193else 6194 cat >conftest.$ac_ext <<_ACEOF 6195/* confdefs.h. */ 6196_ACEOF 6197cat confdefs.h >>conftest.$ac_ext 6198cat >>conftest.$ac_ext <<_ACEOF 6199/* end confdefs.h. */ 6200$ac_includes_default 6201typedef size_t ac__type_new_; 6202int 6203main () 6204{ 6205if ((ac__type_new_ *) 0) 6206 return 0; 6207if (sizeof (ac__type_new_)) 6208 return 0; 6209 ; 6210 return 0; 6211} 6212_ACEOF 6213rm -f conftest.$ac_objext 6214if { (ac_try="$ac_compile" 6215case "(($ac_try" in 6216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6217 *) ac_try_echo=$ac_try;; 6218esac 6219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6220 (eval "$ac_compile") 2>conftest.er1 6221 ac_status=$? 6222 grep -v '^ *+' conftest.er1 >conftest.err 6223 rm -f conftest.er1 6224 cat conftest.err >&5 6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6226 (exit $ac_status); } && 6227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6228 { (case "(($ac_try" in 6229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6230 *) ac_try_echo=$ac_try;; 6231esac 6232eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6233 (eval "$ac_try") 2>&5 6234 ac_status=$? 6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6236 (exit $ac_status); }; } && 6237 { ac_try='test -s conftest.$ac_objext' 6238 { (case "(($ac_try" in 6239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6240 *) ac_try_echo=$ac_try;; 6241esac 6242eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6243 (eval "$ac_try") 2>&5 6244 ac_status=$? 6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6246 (exit $ac_status); }; }; then 6247 ac_cv_type_size_t=yes 6248else 6249 echo "$as_me: failed program was:" >&5 6250sed 's/^/| /' conftest.$ac_ext >&5 6251 6252 ac_cv_type_size_t=no 6253fi 6254 6255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6256fi 6257{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6258echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 6259if test $ac_cv_type_size_t = yes; then 6260 : 6261else 6262 6263cat >>confdefs.h <<_ACEOF 6264#define size_t unsigned int 6265_ACEOF 6266 6267fi 6268 6269 6270{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 6271echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; } 6272if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then 6273 echo $ECHO_N "(cached) $ECHO_C" >&6 6274else 6275 rm -f conftest.sym conftest.file 6276echo >conftest.file 6277if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 6278 if test "$cross_compiling" = yes; then 6279 ac_cv_func_lstat_dereferences_slashed_symlink=no 6280else 6281 cat >conftest.$ac_ext <<_ACEOF 6282/* confdefs.h. */ 6283_ACEOF 6284cat confdefs.h >>conftest.$ac_ext 6285cat >>conftest.$ac_ext <<_ACEOF 6286/* end confdefs.h. */ 6287$ac_includes_default 6288int 6289main () 6290{ 6291struct stat sbuf; 6292 /* Linux will dereference the symlink and fail. 6293 That is better in the sense that it means we will not 6294 have to compile and use the lstat wrapper. */ 6295 return lstat ("conftest.sym/", &sbuf) == 0; 6296 ; 6297 return 0; 6298} 6299_ACEOF 6300rm -f conftest$ac_exeext 6301if { (ac_try="$ac_link" 6302case "(($ac_try" in 6303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6304 *) ac_try_echo=$ac_try;; 6305esac 6306eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6307 (eval "$ac_link") 2>&5 6308 ac_status=$? 6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6311 { (case "(($ac_try" in 6312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6313 *) ac_try_echo=$ac_try;; 6314esac 6315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6316 (eval "$ac_try") 2>&5 6317 ac_status=$? 6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6319 (exit $ac_status); }; }; then 6320 ac_cv_func_lstat_dereferences_slashed_symlink=yes 6321else 6322 echo "$as_me: program exited with status $ac_status" >&5 6323echo "$as_me: failed program was:" >&5 6324sed 's/^/| /' conftest.$ac_ext >&5 6325 6326( exit $ac_status ) 6327ac_cv_func_lstat_dereferences_slashed_symlink=no 6328fi 6329rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6330fi 6331 6332 6333else 6334 # If the `ln -s' command failed, then we probably don't even 6335 # have an lstat function. 6336 ac_cv_func_lstat_dereferences_slashed_symlink=no 6337fi 6338rm -f conftest.sym conftest.file 6339 6340fi 6341{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 6342echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 6343 6344test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 6345 6346cat >>confdefs.h <<_ACEOF 6347#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 6348_ACEOF 6349 6350 6351if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then 6352 case " $LIBOBJS " in 6353 *" lstat.$ac_objext "* ) ;; 6354 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 6355 ;; 6356esac 6357 6358fi 6359 6360{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 6361echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; } 6362if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then 6363 echo $ECHO_N "(cached) $ECHO_C" >&6 6364else 6365 if test "$cross_compiling" = yes; then 6366 ac_cv_func_stat_empty_string_bug=yes 6367else 6368 cat >conftest.$ac_ext <<_ACEOF 6369/* confdefs.h. */ 6370_ACEOF 6371cat confdefs.h >>conftest.$ac_ext 6372cat >>conftest.$ac_ext <<_ACEOF 6373/* end confdefs.h. */ 6374$ac_includes_default 6375int 6376main () 6377{ 6378struct stat sbuf; 6379 return stat ("", &sbuf) == 0; 6380 ; 6381 return 0; 6382} 6383_ACEOF 6384rm -f conftest$ac_exeext 6385if { (ac_try="$ac_link" 6386case "(($ac_try" in 6387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6388 *) ac_try_echo=$ac_try;; 6389esac 6390eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6391 (eval "$ac_link") 2>&5 6392 ac_status=$? 6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6395 { (case "(($ac_try" in 6396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6397 *) ac_try_echo=$ac_try;; 6398esac 6399eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6400 (eval "$ac_try") 2>&5 6401 ac_status=$? 6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6403 (exit $ac_status); }; }; then 6404 ac_cv_func_stat_empty_string_bug=no 6405else 6406 echo "$as_me: program exited with status $ac_status" >&5 6407echo "$as_me: failed program was:" >&5 6408sed 's/^/| /' conftest.$ac_ext >&5 6409 6410( exit $ac_status ) 6411ac_cv_func_stat_empty_string_bug=yes 6412fi 6413rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6414fi 6415 6416 6417fi 6418{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 6419echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; } 6420if test $ac_cv_func_stat_empty_string_bug = yes; then 6421 case " $LIBOBJS " in 6422 *" stat.$ac_objext "* ) ;; 6423 *) LIBOBJS="$LIBOBJS stat.$ac_objext" 6424 ;; 6425esac 6426 6427 6428cat >>confdefs.h <<_ACEOF 6429#define HAVE_STAT_EMPTY_STRING_BUG 1 6430_ACEOF 6431 6432fi 6433 6434{ echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5 6435echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6; } 6436if test "${ac_cv_func_fnmatch_works+set}" = set; then 6437 echo $ECHO_N "(cached) $ECHO_C" >&6 6438else 6439 # Some versions of Solaris, SCO, and the GNU C Library 6440 # have a broken or incompatible fnmatch. 6441 # So we run a test program. If we are cross-compiling, take no chance. 6442 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test. 6443 if test "$cross_compiling" = yes; then 6444 ac_cv_func_fnmatch_works=cross 6445else 6446 cat >conftest.$ac_ext <<_ACEOF 6447/* confdefs.h. */ 6448_ACEOF 6449cat confdefs.h >>conftest.$ac_ext 6450cat >>conftest.$ac_ext <<_ACEOF 6451/* end confdefs.h. */ 6452#include <fnmatch.h> 6453# define y(a, b, c) (fnmatch (a, b, c) == 0) 6454# define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) 6455 6456int 6457main () 6458{ 6459return 6460 (!(y ("a*", "abc", 0) 6461 && n ("d*/*1", "d/s/1", FNM_PATHNAME) 6462 && y ("a\\\\bc", "abc", 0) 6463 && n ("a\\\\bc", "abc", FNM_NOESCAPE) 6464 && y ("*x", ".x", 0) 6465 && n ("*x", ".x", FNM_PERIOD) 6466 && 1)); 6467 ; 6468 return 0; 6469} 6470_ACEOF 6471rm -f conftest$ac_exeext 6472if { (ac_try="$ac_link" 6473case "(($ac_try" in 6474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6475 *) ac_try_echo=$ac_try;; 6476esac 6477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6478 (eval "$ac_link") 2>&5 6479 ac_status=$? 6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6482 { (case "(($ac_try" in 6483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6484 *) ac_try_echo=$ac_try;; 6485esac 6486eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6487 (eval "$ac_try") 2>&5 6488 ac_status=$? 6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6490 (exit $ac_status); }; }; then 6491 ac_cv_func_fnmatch_works=yes 6492else 6493 echo "$as_me: program exited with status $ac_status" >&5 6494echo "$as_me: failed program was:" >&5 6495sed 's/^/| /' conftest.$ac_ext >&5 6496 6497( exit $ac_status ) 6498ac_cv_func_fnmatch_works=no 6499fi 6500rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6501fi 6502 6503 6504fi 6505{ echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5 6506echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6; } 6507if test $ac_cv_func_fnmatch_works = yes; then 6508 6509cat >>confdefs.h <<\_ACEOF 6510#define HAVE_FNMATCH 1 6511_ACEOF 6512 6513fi 6514 6515 6516 6517{ echo "$as_me:$LINENO: checking for working strcoll" >&5 6518echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; } 6519if test "${ac_cv_func_strcoll_works+set}" = set; then 6520 echo $ECHO_N "(cached) $ECHO_C" >&6 6521else 6522 if test "$cross_compiling" = yes; then 6523 ac_cv_func_strcoll_works=no 6524else 6525 cat >conftest.$ac_ext <<_ACEOF 6526/* confdefs.h. */ 6527_ACEOF 6528cat confdefs.h >>conftest.$ac_ext 6529cat >>conftest.$ac_ext <<_ACEOF 6530/* end confdefs.h. */ 6531$ac_includes_default 6532int 6533main () 6534{ 6535return (strcoll ("abc", "def") >= 0 || 6536 strcoll ("ABC", "DEF") >= 0 || 6537 strcoll ("123", "456") >= 0) 6538 ; 6539 return 0; 6540} 6541_ACEOF 6542rm -f conftest$ac_exeext 6543if { (ac_try="$ac_link" 6544case "(($ac_try" in 6545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6546 *) ac_try_echo=$ac_try;; 6547esac 6548eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6549 (eval "$ac_link") 2>&5 6550 ac_status=$? 6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6553 { (case "(($ac_try" in 6554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6555 *) ac_try_echo=$ac_try;; 6556esac 6557eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6558 (eval "$ac_try") 2>&5 6559 ac_status=$? 6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6561 (exit $ac_status); }; }; then 6562 ac_cv_func_strcoll_works=yes 6563else 6564 echo "$as_me: program exited with status $ac_status" >&5 6565echo "$as_me: failed program was:" >&5 6566sed 's/^/| /' conftest.$ac_ext >&5 6567 6568( exit $ac_status ) 6569ac_cv_func_strcoll_works=no 6570fi 6571rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6572fi 6573 6574 6575fi 6576{ echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5 6577echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; } 6578if test $ac_cv_func_strcoll_works = yes; then 6579 6580cat >>confdefs.h <<\_ACEOF 6581#define HAVE_STRCOLL 1 6582_ACEOF 6583 6584fi 6585 6586{ echo "$as_me:$LINENO: checking for working strtod" >&5 6587echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; } 6588if test "${ac_cv_func_strtod+set}" = set; then 6589 echo $ECHO_N "(cached) $ECHO_C" >&6 6590else 6591 if test "$cross_compiling" = yes; then 6592 ac_cv_func_strtod=no 6593else 6594 cat >conftest.$ac_ext <<_ACEOF 6595/* confdefs.h. */ 6596_ACEOF 6597cat confdefs.h >>conftest.$ac_ext 6598cat >>conftest.$ac_ext <<_ACEOF 6599/* end confdefs.h. */ 6600 6601$ac_includes_default 6602#ifndef strtod 6603double strtod (); 6604#endif 6605int 6606main() 6607{ 6608 { 6609 /* Some versions of Linux strtod mis-parse strings with leading '+'. */ 6610 char *string = " +69"; 6611 char *term; 6612 double value; 6613 value = strtod (string, &term); 6614 if (value != 69 || term != (string + 4)) 6615 return 1; 6616 } 6617 6618 { 6619 /* Under Solaris 2.4, strtod returns the wrong value for the 6620 terminating character under some conditions. */ 6621 char *string = "NaN"; 6622 char *term; 6623 strtod (string, &term); 6624 if (term != string && *(term - 1) == 0) 6625 return 1; 6626 } 6627 return 0; 6628} 6629 6630_ACEOF 6631rm -f conftest$ac_exeext 6632if { (ac_try="$ac_link" 6633case "(($ac_try" in 6634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6635 *) ac_try_echo=$ac_try;; 6636esac 6637eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6638 (eval "$ac_link") 2>&5 6639 ac_status=$? 6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6642 { (case "(($ac_try" in 6643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6644 *) ac_try_echo=$ac_try;; 6645esac 6646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6647 (eval "$ac_try") 2>&5 6648 ac_status=$? 6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6650 (exit $ac_status); }; }; then 6651 ac_cv_func_strtod=yes 6652else 6653 echo "$as_me: program exited with status $ac_status" >&5 6654echo "$as_me: failed program was:" >&5 6655sed 's/^/| /' conftest.$ac_ext >&5 6656 6657( exit $ac_status ) 6658ac_cv_func_strtod=no 6659fi 6660rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6661fi 6662 6663 6664fi 6665{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 6666echo "${ECHO_T}$ac_cv_func_strtod" >&6; } 6667if test $ac_cv_func_strtod = no; then 6668 case " $LIBOBJS " in 6669 *" strtod.$ac_objext "* ) ;; 6670 *) LIBOBJS="$LIBOBJS strtod.$ac_objext" 6671 ;; 6672esac 6673 6674{ echo "$as_me:$LINENO: checking for pow" >&5 6675echo $ECHO_N "checking for pow... $ECHO_C" >&6; } 6676if test "${ac_cv_func_pow+set}" = set; then 6677 echo $ECHO_N "(cached) $ECHO_C" >&6 6678else 6679 cat >conftest.$ac_ext <<_ACEOF 6680/* confdefs.h. */ 6681_ACEOF 6682cat confdefs.h >>conftest.$ac_ext 6683cat >>conftest.$ac_ext <<_ACEOF 6684/* end confdefs.h. */ 6685/* Define pow to an innocuous variant, in case <limits.h> declares pow. 6686 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6687#define pow innocuous_pow 6688 6689/* System header to define __stub macros and hopefully few prototypes, 6690 which can conflict with char pow (); below. 6691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6692 <limits.h> exists even on freestanding compilers. */ 6693 6694#ifdef __STDC__ 6695# include <limits.h> 6696#else 6697# include <assert.h> 6698#endif 6699 6700#undef pow 6701 6702/* Override any GCC internal prototype to avoid an error. 6703 Use char because int might match the return type of a GCC 6704 builtin and then its argument prototype would still apply. */ 6705#ifdef __cplusplus 6706extern "C" 6707#endif 6708char pow (); 6709/* The GNU C library defines this for functions which it implements 6710 to always fail with ENOSYS. Some functions are actually named 6711 something starting with __ and the normal name is an alias. */ 6712#if defined __stub_pow || defined __stub___pow 6713choke me 6714#endif 6715 6716int 6717main () 6718{ 6719return pow (); 6720 ; 6721 return 0; 6722} 6723_ACEOF 6724rm -f conftest.$ac_objext conftest$ac_exeext 6725if { (ac_try="$ac_link" 6726case "(($ac_try" in 6727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6728 *) ac_try_echo=$ac_try;; 6729esac 6730eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6731 (eval "$ac_link") 2>conftest.er1 6732 ac_status=$? 6733 grep -v '^ *+' conftest.er1 >conftest.err 6734 rm -f conftest.er1 6735 cat conftest.err >&5 6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6737 (exit $ac_status); } && 6738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6739 { (case "(($ac_try" in 6740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6741 *) ac_try_echo=$ac_try;; 6742esac 6743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6744 (eval "$ac_try") 2>&5 6745 ac_status=$? 6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6747 (exit $ac_status); }; } && 6748 { ac_try='test -s conftest$ac_exeext' 6749 { (case "(($ac_try" in 6750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6751 *) ac_try_echo=$ac_try;; 6752esac 6753eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6754 (eval "$ac_try") 2>&5 6755 ac_status=$? 6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6757 (exit $ac_status); }; }; then 6758 ac_cv_func_pow=yes 6759else 6760 echo "$as_me: failed program was:" >&5 6761sed 's/^/| /' conftest.$ac_ext >&5 6762 6763 ac_cv_func_pow=no 6764fi 6765 6766rm -f core conftest.err conftest.$ac_objext \ 6767 conftest$ac_exeext conftest.$ac_ext 6768fi 6769{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 6770echo "${ECHO_T}$ac_cv_func_pow" >&6; } 6771 6772if test $ac_cv_func_pow = no; then 6773 { echo "$as_me:$LINENO: checking for pow in -lm" >&5 6774echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; } 6775if test "${ac_cv_lib_m_pow+set}" = set; then 6776 echo $ECHO_N "(cached) $ECHO_C" >&6 6777else 6778 ac_check_lib_save_LIBS=$LIBS 6779LIBS="-lm $LIBS" 6780cat >conftest.$ac_ext <<_ACEOF 6781/* confdefs.h. */ 6782_ACEOF 6783cat confdefs.h >>conftest.$ac_ext 6784cat >>conftest.$ac_ext <<_ACEOF 6785/* end confdefs.h. */ 6786 6787/* Override any GCC internal prototype to avoid an error. 6788 Use char because int might match the return type of a GCC 6789 builtin and then its argument prototype would still apply. */ 6790#ifdef __cplusplus 6791extern "C" 6792#endif 6793char pow (); 6794int 6795main () 6796{ 6797return pow (); 6798 ; 6799 return 0; 6800} 6801_ACEOF 6802rm -f conftest.$ac_objext conftest$ac_exeext 6803if { (ac_try="$ac_link" 6804case "(($ac_try" in 6805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6806 *) ac_try_echo=$ac_try;; 6807esac 6808eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6809 (eval "$ac_link") 2>conftest.er1 6810 ac_status=$? 6811 grep -v '^ *+' conftest.er1 >conftest.err 6812 rm -f conftest.er1 6813 cat conftest.err >&5 6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 (exit $ac_status); } && 6816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6817 { (case "(($ac_try" in 6818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6819 *) ac_try_echo=$ac_try;; 6820esac 6821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6822 (eval "$ac_try") 2>&5 6823 ac_status=$? 6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6825 (exit $ac_status); }; } && 6826 { ac_try='test -s conftest$ac_exeext' 6827 { (case "(($ac_try" in 6828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6829 *) ac_try_echo=$ac_try;; 6830esac 6831eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6832 (eval "$ac_try") 2>&5 6833 ac_status=$? 6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6835 (exit $ac_status); }; }; then 6836 ac_cv_lib_m_pow=yes 6837else 6838 echo "$as_me: failed program was:" >&5 6839sed 's/^/| /' conftest.$ac_ext >&5 6840 6841 ac_cv_lib_m_pow=no 6842fi 6843 6844rm -f core conftest.err conftest.$ac_objext \ 6845 conftest$ac_exeext conftest.$ac_ext 6846LIBS=$ac_check_lib_save_LIBS 6847fi 6848{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 6849echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; } 6850if test $ac_cv_lib_m_pow = yes; then 6851 POW_LIB=-lm 6852else 6853 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 6854echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} 6855fi 6856 6857fi 6858 6859fi 6860 6861 6862 6863 6864for ac_func in strcasecmp nl_langinfo regcomp 6865do 6866as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6867{ echo "$as_me:$LINENO: checking for $ac_func" >&5 6868echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6869if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6870 echo $ECHO_N "(cached) $ECHO_C" >&6 6871else 6872 cat >conftest.$ac_ext <<_ACEOF 6873/* confdefs.h. */ 6874_ACEOF 6875cat confdefs.h >>conftest.$ac_ext 6876cat >>conftest.$ac_ext <<_ACEOF 6877/* end confdefs.h. */ 6878/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6879 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6880#define $ac_func innocuous_$ac_func 6881 6882/* System header to define __stub macros and hopefully few prototypes, 6883 which can conflict with char $ac_func (); below. 6884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6885 <limits.h> exists even on freestanding compilers. */ 6886 6887#ifdef __STDC__ 6888# include <limits.h> 6889#else 6890# include <assert.h> 6891#endif 6892 6893#undef $ac_func 6894 6895/* Override any GCC internal prototype to avoid an error. 6896 Use char because int might match the return type of a GCC 6897 builtin and then its argument prototype would still apply. */ 6898#ifdef __cplusplus 6899extern "C" 6900#endif 6901char $ac_func (); 6902/* The GNU C library defines this for functions which it implements 6903 to always fail with ENOSYS. Some functions are actually named 6904 something starting with __ and the normal name is an alias. */ 6905#if defined __stub_$ac_func || defined __stub___$ac_func 6906choke me 6907#endif 6908 6909int 6910main () 6911{ 6912return $ac_func (); 6913 ; 6914 return 0; 6915} 6916_ACEOF 6917rm -f conftest.$ac_objext conftest$ac_exeext 6918if { (ac_try="$ac_link" 6919case "(($ac_try" in 6920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6921 *) ac_try_echo=$ac_try;; 6922esac 6923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6924 (eval "$ac_link") 2>conftest.er1 6925 ac_status=$? 6926 grep -v '^ *+' conftest.er1 >conftest.err 6927 rm -f conftest.er1 6928 cat conftest.err >&5 6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6930 (exit $ac_status); } && 6931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6932 { (case "(($ac_try" in 6933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6934 *) ac_try_echo=$ac_try;; 6935esac 6936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6937 (eval "$ac_try") 2>&5 6938 ac_status=$? 6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6940 (exit $ac_status); }; } && 6941 { ac_try='test -s conftest$ac_exeext' 6942 { (case "(($ac_try" in 6943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6944 *) ac_try_echo=$ac_try;; 6945esac 6946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6947 (eval "$ac_try") 2>&5 6948 ac_status=$? 6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6950 (exit $ac_status); }; }; then 6951 eval "$as_ac_var=yes" 6952else 6953 echo "$as_me: failed program was:" >&5 6954sed 's/^/| /' conftest.$ac_ext >&5 6955 6956 eval "$as_ac_var=no" 6957fi 6958 6959rm -f core conftest.err conftest.$ac_objext \ 6960 conftest$ac_exeext conftest.$ac_ext 6961fi 6962ac_res=`eval echo '${'$as_ac_var'}'` 6963 { echo "$as_me:$LINENO: result: $ac_res" >&5 6964echo "${ECHO_T}$ac_res" >&6; } 6965if test `eval echo '${'$as_ac_var'}'` = yes; then 6966 cat >>confdefs.h <<_ACEOF 6967#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6968_ACEOF 6969 6970else 6971 { { echo "$as_me:$LINENO: error: Missing necessary functions." >&5 6972echo "$as_me: error: Missing necessary functions." >&2;} 6973 { (exit 1); exit 1; }; } 6974fi 6975done 6976 6977 6978 6979 6980 6981case "$am__api_version" in 6982 1.01234) 6983 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 6984echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} 6985 { (exit 1); exit 1; }; } 6986 ;; 6987 *) 6988 ;; 6989esac 6990 6991if test -n "0.30"; then 6992 { echo "$as_me:$LINENO: checking for intltool >= 0.30" >&5 6993echo $ECHO_N "checking for intltool >= 0.30... $ECHO_C" >&6; } 6994 6995 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.30 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 6996 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` 6997 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` 6998 6999 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 7000echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; } 7001 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 7002 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.30 or later." >&5 7003echo "$as_me: error: Your intltool is too old. You need intltool 0.30 or later." >&2;} 7004 { (exit 1); exit 1; }; } 7005fi 7006 7007 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7008INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7009 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7010 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7011 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 7012 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7013 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7014 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7015INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7016 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7017 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7018 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 7019 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7020 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7021 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7022 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7023 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7024 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045# Use the tools built into the package, not the ones that are installed. 7046INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' 7047 7048INTLTOOL_MERGE='$(top_builddir)/intltool-merge' 7049 7050INTLTOOL_UPDATE='$(top_builddir)/intltool-update' 7051 7052 7053# Extract the first word of "perl", so it can be a program name with args. 7054set dummy perl; ac_word=$2 7055{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7056echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7057if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then 7058 echo $ECHO_N "(cached) $ECHO_C" >&6 7059else 7060 case $INTLTOOL_PERL in 7061 [\\/]* | ?:[\\/]*) 7062 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 7063 ;; 7064 *) 7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7066for as_dir in $PATH 7067do 7068 IFS=$as_save_IFS 7069 test -z "$as_dir" && as_dir=. 7070 for ac_exec_ext in '' $ac_executable_extensions; do 7071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7072 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 7073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7074 break 2 7075 fi 7076done 7077done 7078IFS=$as_save_IFS 7079 7080 ;; 7081esac 7082fi 7083INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 7084if test -n "$INTLTOOL_PERL"; then 7085 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 7086echo "${ECHO_T}$INTLTOOL_PERL" >&6; } 7087else 7088 { echo "$as_me:$LINENO: result: no" >&5 7089echo "${ECHO_T}no" >&6; } 7090fi 7091 7092 7093if test -z "$INTLTOOL_PERL"; then 7094 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 7095echo "$as_me: error: perl not found; required for intltool" >&2;} 7096 { (exit 1); exit 1; }; } 7097fi 7098if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then 7099 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 7100echo "$as_me: error: perl 5.x required for intltool" >&2;} 7101 { (exit 1); exit 1; }; } 7102fi 7103if test "x" != "xno-xml"; then 7104 { echo "$as_me:$LINENO: checking for XML::Parser" >&5 7105echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; } 7106 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 7107 { echo "$as_me:$LINENO: result: ok" >&5 7108echo "${ECHO_T}ok" >&6; } 7109 else 7110 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 7111echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} 7112 { (exit 1); exit 1; }; } 7113 fi 7114fi 7115 7116# Extract the first word of "iconv", so it can be a program name with args. 7117set dummy iconv; ac_word=$2 7118{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7120if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then 7121 echo $ECHO_N "(cached) $ECHO_C" >&6 7122else 7123 case $INTLTOOL_ICONV in 7124 [\\/]* | ?:[\\/]*) 7125 ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path. 7126 ;; 7127 *) 7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7129for as_dir in $PATH 7130do 7131 IFS=$as_save_IFS 7132 test -z "$as_dir" && as_dir=. 7133 for ac_exec_ext in '' $ac_executable_extensions; do 7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7135 ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext" 7136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7137 break 2 7138 fi 7139done 7140done 7141IFS=$as_save_IFS 7142 7143 test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv" 7144 ;; 7145esac 7146fi 7147INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV 7148if test -n "$INTLTOOL_ICONV"; then 7149 { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5 7150echo "${ECHO_T}$INTLTOOL_ICONV" >&6; } 7151else 7152 { echo "$as_me:$LINENO: result: no" >&5 7153echo "${ECHO_T}no" >&6; } 7154fi 7155 7156 7157# Extract the first word of "msgfmt", so it can be a program name with args. 7158set dummy msgfmt; ac_word=$2 7159{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7160echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7161if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then 7162 echo $ECHO_N "(cached) $ECHO_C" >&6 7163else 7164 case $INTLTOOL_MSGFMT in 7165 [\\/]* | ?:[\\/]*) 7166 ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path. 7167 ;; 7168 *) 7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7170for as_dir in $PATH 7171do 7172 IFS=$as_save_IFS 7173 test -z "$as_dir" && as_dir=. 7174 for ac_exec_ext in '' $ac_executable_extensions; do 7175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7176 ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 7177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7178 break 2 7179 fi 7180done 7181done 7182IFS=$as_save_IFS 7183 7184 test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt" 7185 ;; 7186esac 7187fi 7188INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT 7189if test -n "$INTLTOOL_MSGFMT"; then 7190 { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5 7191echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; } 7192else 7193 { echo "$as_me:$LINENO: result: no" >&5 7194echo "${ECHO_T}no" >&6; } 7195fi 7196 7197 7198# Extract the first word of "msgmerge", so it can be a program name with args. 7199set dummy msgmerge; ac_word=$2 7200{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7201echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7202if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then 7203 echo $ECHO_N "(cached) $ECHO_C" >&6 7204else 7205 case $INTLTOOL_MSGMERGE in 7206 [\\/]* | ?:[\\/]*) 7207 ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path. 7208 ;; 7209 *) 7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7211for as_dir in $PATH 7212do 7213 IFS=$as_save_IFS 7214 test -z "$as_dir" && as_dir=. 7215 for ac_exec_ext in '' $ac_executable_extensions; do 7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7217 ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 7218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7219 break 2 7220 fi 7221done 7222done 7223IFS=$as_save_IFS 7224 7225 test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge" 7226 ;; 7227esac 7228fi 7229INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE 7230if test -n "$INTLTOOL_MSGMERGE"; then 7231 { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5 7232echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; } 7233else 7234 { echo "$as_me:$LINENO: result: no" >&5 7235echo "${ECHO_T}no" >&6; } 7236fi 7237 7238 7239# Extract the first word of "xgettext", so it can be a program name with args. 7240set dummy xgettext; ac_word=$2 7241{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7242echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7243if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then 7244 echo $ECHO_N "(cached) $ECHO_C" >&6 7245else 7246 case $INTLTOOL_XGETTEXT in 7247 [\\/]* | ?:[\\/]*) 7248 ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path. 7249 ;; 7250 *) 7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7252for as_dir in $PATH 7253do 7254 IFS=$as_save_IFS 7255 test -z "$as_dir" && as_dir=. 7256 for ac_exec_ext in '' $ac_executable_extensions; do 7257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7258 ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 7259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7260 break 2 7261 fi 7262done 7263done 7264IFS=$as_save_IFS 7265 7266 test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext" 7267 ;; 7268esac 7269fi 7270INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT 7271if test -n "$INTLTOOL_XGETTEXT"; then 7272 { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5 7273echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; } 7274else 7275 { echo "$as_me:$LINENO: result: no" >&5 7276echo "${ECHO_T}no" >&6; } 7277fi 7278 7279 7280 7281# Substitute ALL_LINGUAS so we can use it in po/Makefile 7282 7283 7284 7285 7286 7287ac_config_commands="$ac_config_commands intltool" 7288 7289 7290 7291GETTEXT_PACKAGE=tagtool 7292 7293 7294cat >>confdefs.h <<_ACEOF 7295#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 7296_ACEOF 7297 7298ALL_LINGUAS="pt fr cs es it en_GB de bg lt ua ru pl sv nl pt_BR" 7299 7300 7301for ac_header in locale.h 7302do 7303as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7304if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7305 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7306echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7307if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7308 echo $ECHO_N "(cached) $ECHO_C" >&6 7309fi 7310ac_res=`eval echo '${'$as_ac_Header'}'` 7311 { echo "$as_me:$LINENO: result: $ac_res" >&5 7312echo "${ECHO_T}$ac_res" >&6; } 7313else 7314 # Is the header compilable? 7315{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7316echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7317cat >conftest.$ac_ext <<_ACEOF 7318/* confdefs.h. */ 7319_ACEOF 7320cat confdefs.h >>conftest.$ac_ext 7321cat >>conftest.$ac_ext <<_ACEOF 7322/* end confdefs.h. */ 7323$ac_includes_default 7324#include <$ac_header> 7325_ACEOF 7326rm -f conftest.$ac_objext 7327if { (ac_try="$ac_compile" 7328case "(($ac_try" in 7329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7330 *) ac_try_echo=$ac_try;; 7331esac 7332eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7333 (eval "$ac_compile") 2>conftest.er1 7334 ac_status=$? 7335 grep -v '^ *+' conftest.er1 >conftest.err 7336 rm -f conftest.er1 7337 cat conftest.err >&5 7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7339 (exit $ac_status); } && 7340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7341 { (case "(($ac_try" in 7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7343 *) ac_try_echo=$ac_try;; 7344esac 7345eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7346 (eval "$ac_try") 2>&5 7347 ac_status=$? 7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7349 (exit $ac_status); }; } && 7350 { ac_try='test -s conftest.$ac_objext' 7351 { (case "(($ac_try" in 7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7353 *) ac_try_echo=$ac_try;; 7354esac 7355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7356 (eval "$ac_try") 2>&5 7357 ac_status=$? 7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7359 (exit $ac_status); }; }; then 7360 ac_header_compiler=yes 7361else 7362 echo "$as_me: failed program was:" >&5 7363sed 's/^/| /' conftest.$ac_ext >&5 7364 7365 ac_header_compiler=no 7366fi 7367 7368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7369{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7370echo "${ECHO_T}$ac_header_compiler" >&6; } 7371 7372# Is the header present? 7373{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7374echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7375cat >conftest.$ac_ext <<_ACEOF 7376/* confdefs.h. */ 7377_ACEOF 7378cat confdefs.h >>conftest.$ac_ext 7379cat >>conftest.$ac_ext <<_ACEOF 7380/* end confdefs.h. */ 7381#include <$ac_header> 7382_ACEOF 7383if { (ac_try="$ac_cpp conftest.$ac_ext" 7384case "(($ac_try" in 7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7386 *) ac_try_echo=$ac_try;; 7387esac 7388eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7390 ac_status=$? 7391 grep -v '^ *+' conftest.er1 >conftest.err 7392 rm -f conftest.er1 7393 cat conftest.err >&5 7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7395 (exit $ac_status); } >/dev/null; then 7396 if test -s conftest.err; then 7397 ac_cpp_err=$ac_c_preproc_warn_flag 7398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7399 else 7400 ac_cpp_err= 7401 fi 7402else 7403 ac_cpp_err=yes 7404fi 7405if test -z "$ac_cpp_err"; then 7406 ac_header_preproc=yes 7407else 7408 echo "$as_me: failed program was:" >&5 7409sed 's/^/| /' conftest.$ac_ext >&5 7410 7411 ac_header_preproc=no 7412fi 7413 7414rm -f conftest.err conftest.$ac_ext 7415{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7416echo "${ECHO_T}$ac_header_preproc" >&6; } 7417 7418# So? What about this header? 7419case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7420 yes:no: ) 7421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7422echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7424echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7425 ac_header_preproc=yes 7426 ;; 7427 no:yes:* ) 7428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7429echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7431echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7433echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7435echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7437echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7439echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7440 7441 ;; 7442esac 7443{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7444echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7445if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7446 echo $ECHO_N "(cached) $ECHO_C" >&6 7447else 7448 eval "$as_ac_Header=\$ac_header_preproc" 7449fi 7450ac_res=`eval echo '${'$as_ac_Header'}'` 7451 { echo "$as_me:$LINENO: result: $ac_res" >&5 7452echo "${ECHO_T}$ac_res" >&6; } 7453 7454fi 7455if test `eval echo '${'$as_ac_Header'}'` = yes; then 7456 cat >>confdefs.h <<_ACEOF 7457#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7458_ACEOF 7459 7460fi 7461 7462done 7463 7464 if test $ac_cv_header_locale_h = yes; then 7465 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 7466echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; } 7467if test "${am_cv_val_LC_MESSAGES+set}" = set; then 7468 echo $ECHO_N "(cached) $ECHO_C" >&6 7469else 7470 cat >conftest.$ac_ext <<_ACEOF 7471/* confdefs.h. */ 7472_ACEOF 7473cat confdefs.h >>conftest.$ac_ext 7474cat >>conftest.$ac_ext <<_ACEOF 7475/* end confdefs.h. */ 7476#include <locale.h> 7477int 7478main () 7479{ 7480return LC_MESSAGES 7481 ; 7482 return 0; 7483} 7484_ACEOF 7485rm -f conftest.$ac_objext conftest$ac_exeext 7486if { (ac_try="$ac_link" 7487case "(($ac_try" in 7488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7489 *) ac_try_echo=$ac_try;; 7490esac 7491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7492 (eval "$ac_link") 2>conftest.er1 7493 ac_status=$? 7494 grep -v '^ *+' conftest.er1 >conftest.err 7495 rm -f conftest.er1 7496 cat conftest.err >&5 7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7498 (exit $ac_status); } && 7499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7500 { (case "(($ac_try" in 7501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7502 *) ac_try_echo=$ac_try;; 7503esac 7504eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7505 (eval "$ac_try") 2>&5 7506 ac_status=$? 7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7508 (exit $ac_status); }; } && 7509 { ac_try='test -s conftest$ac_exeext' 7510 { (case "(($ac_try" in 7511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7512 *) ac_try_echo=$ac_try;; 7513esac 7514eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7515 (eval "$ac_try") 2>&5 7516 ac_status=$? 7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7518 (exit $ac_status); }; }; then 7519 am_cv_val_LC_MESSAGES=yes 7520else 7521 echo "$as_me: failed program was:" >&5 7522sed 's/^/| /' conftest.$ac_ext >&5 7523 7524 am_cv_val_LC_MESSAGES=no 7525fi 7526 7527rm -f core conftest.err conftest.$ac_objext \ 7528 conftest$ac_exeext conftest.$ac_ext 7529fi 7530{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 7531echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; } 7532 if test $am_cv_val_LC_MESSAGES = yes; then 7533 7534cat >>confdefs.h <<\_ACEOF 7535#define HAVE_LC_MESSAGES 1 7536_ACEOF 7537 7538 fi 7539 fi 7540 USE_NLS=yes 7541 7542 7543 gt_cv_have_gettext=no 7544 7545 CATOBJEXT=NONE 7546 XGETTEXT=: 7547 INTLLIBS= 7548 7549 if test "${ac_cv_header_libintl_h+set}" = set; then 7550 { echo "$as_me:$LINENO: checking for libintl.h" >&5 7551echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } 7552if test "${ac_cv_header_libintl_h+set}" = set; then 7553 echo $ECHO_N "(cached) $ECHO_C" >&6 7554fi 7555{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 7556echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } 7557else 7558 # Is the header compilable? 7559{ echo "$as_me:$LINENO: checking libintl.h usability" >&5 7560echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; } 7561cat >conftest.$ac_ext <<_ACEOF 7562/* confdefs.h. */ 7563_ACEOF 7564cat confdefs.h >>conftest.$ac_ext 7565cat >>conftest.$ac_ext <<_ACEOF 7566/* end confdefs.h. */ 7567$ac_includes_default 7568#include <libintl.h> 7569_ACEOF 7570rm -f conftest.$ac_objext 7571if { (ac_try="$ac_compile" 7572case "(($ac_try" in 7573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7574 *) ac_try_echo=$ac_try;; 7575esac 7576eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7577 (eval "$ac_compile") 2>conftest.er1 7578 ac_status=$? 7579 grep -v '^ *+' conftest.er1 >conftest.err 7580 rm -f conftest.er1 7581 cat conftest.err >&5 7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7583 (exit $ac_status); } && 7584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7585 { (case "(($ac_try" in 7586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7587 *) ac_try_echo=$ac_try;; 7588esac 7589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7590 (eval "$ac_try") 2>&5 7591 ac_status=$? 7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7593 (exit $ac_status); }; } && 7594 { ac_try='test -s conftest.$ac_objext' 7595 { (case "(($ac_try" in 7596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7597 *) ac_try_echo=$ac_try;; 7598esac 7599eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7600 (eval "$ac_try") 2>&5 7601 ac_status=$? 7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7603 (exit $ac_status); }; }; then 7604 ac_header_compiler=yes 7605else 7606 echo "$as_me: failed program was:" >&5 7607sed 's/^/| /' conftest.$ac_ext >&5 7608 7609 ac_header_compiler=no 7610fi 7611 7612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7613{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7614echo "${ECHO_T}$ac_header_compiler" >&6; } 7615 7616# Is the header present? 7617{ echo "$as_me:$LINENO: checking libintl.h presence" >&5 7618echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; } 7619cat >conftest.$ac_ext <<_ACEOF 7620/* confdefs.h. */ 7621_ACEOF 7622cat confdefs.h >>conftest.$ac_ext 7623cat >>conftest.$ac_ext <<_ACEOF 7624/* end confdefs.h. */ 7625#include <libintl.h> 7626_ACEOF 7627if { (ac_try="$ac_cpp conftest.$ac_ext" 7628case "(($ac_try" in 7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7630 *) ac_try_echo=$ac_try;; 7631esac 7632eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7634 ac_status=$? 7635 grep -v '^ *+' conftest.er1 >conftest.err 7636 rm -f conftest.er1 7637 cat conftest.err >&5 7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7639 (exit $ac_status); } >/dev/null; then 7640 if test -s conftest.err; then 7641 ac_cpp_err=$ac_c_preproc_warn_flag 7642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7643 else 7644 ac_cpp_err= 7645 fi 7646else 7647 ac_cpp_err=yes 7648fi 7649if test -z "$ac_cpp_err"; then 7650 ac_header_preproc=yes 7651else 7652 echo "$as_me: failed program was:" >&5 7653sed 's/^/| /' conftest.$ac_ext >&5 7654 7655 ac_header_preproc=no 7656fi 7657 7658rm -f conftest.err conftest.$ac_ext 7659{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7660echo "${ECHO_T}$ac_header_preproc" >&6; } 7661 7662# So? What about this header? 7663case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7664 yes:no: ) 7665 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 7666echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7667 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 7668echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} 7669 ac_header_preproc=yes 7670 ;; 7671 no:yes:* ) 7672 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 7673echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} 7674 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 7675echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} 7676 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 7677echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} 7678 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 7679echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} 7680 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 7681echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} 7682 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 7683echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} 7684 7685 ;; 7686esac 7687{ echo "$as_me:$LINENO: checking for libintl.h" >&5 7688echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } 7689if test "${ac_cv_header_libintl_h+set}" = set; then 7690 echo $ECHO_N "(cached) $ECHO_C" >&6 7691else 7692 ac_cv_header_libintl_h=$ac_header_preproc 7693fi 7694{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 7695echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } 7696 7697fi 7698if test $ac_cv_header_libintl_h = yes; then 7699 gt_cv_func_dgettext_libintl="no" 7700 libintl_extra_libs="" 7701 7702 # 7703 # First check in libc 7704 # 7705 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5 7706echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; } 7707if test "${gt_cv_func_ngettext_libc+set}" = set; then 7708 echo $ECHO_N "(cached) $ECHO_C" >&6 7709else 7710 cat >conftest.$ac_ext <<_ACEOF 7711/* confdefs.h. */ 7712_ACEOF 7713cat confdefs.h >>conftest.$ac_ext 7714cat >>conftest.$ac_ext <<_ACEOF 7715/* end confdefs.h. */ 7716 7717#include <libintl.h> 7718 7719int 7720main () 7721{ 7722return !ngettext ("","", 1) 7723 ; 7724 return 0; 7725} 7726_ACEOF 7727rm -f conftest.$ac_objext conftest$ac_exeext 7728if { (ac_try="$ac_link" 7729case "(($ac_try" in 7730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7731 *) ac_try_echo=$ac_try;; 7732esac 7733eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7734 (eval "$ac_link") 2>conftest.er1 7735 ac_status=$? 7736 grep -v '^ *+' conftest.er1 >conftest.err 7737 rm -f conftest.er1 7738 cat conftest.err >&5 7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7740 (exit $ac_status); } && 7741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7742 { (case "(($ac_try" in 7743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7744 *) ac_try_echo=$ac_try;; 7745esac 7746eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7747 (eval "$ac_try") 2>&5 7748 ac_status=$? 7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7750 (exit $ac_status); }; } && 7751 { ac_try='test -s conftest$ac_exeext' 7752 { (case "(($ac_try" in 7753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7754 *) ac_try_echo=$ac_try;; 7755esac 7756eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7757 (eval "$ac_try") 2>&5 7758 ac_status=$? 7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7760 (exit $ac_status); }; }; then 7761 gt_cv_func_ngettext_libc=yes 7762else 7763 echo "$as_me: failed program was:" >&5 7764sed 's/^/| /' conftest.$ac_ext >&5 7765 7766 gt_cv_func_ngettext_libc=no 7767fi 7768 7769rm -f core conftest.err conftest.$ac_objext \ 7770 conftest$ac_exeext conftest.$ac_ext 7771 7772fi 7773{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 7774echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; } 7775 7776 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 7777 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5 7778echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; } 7779if test "${gt_cv_func_dgettext_libc+set}" = set; then 7780 echo $ECHO_N "(cached) $ECHO_C" >&6 7781else 7782 cat >conftest.$ac_ext <<_ACEOF 7783/* confdefs.h. */ 7784_ACEOF 7785cat confdefs.h >>conftest.$ac_ext 7786cat >>conftest.$ac_ext <<_ACEOF 7787/* end confdefs.h. */ 7788 7789#include <libintl.h> 7790 7791int 7792main () 7793{ 7794return !dgettext ("","") 7795 ; 7796 return 0; 7797} 7798_ACEOF 7799rm -f conftest.$ac_objext conftest$ac_exeext 7800if { (ac_try="$ac_link" 7801case "(($ac_try" in 7802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7803 *) ac_try_echo=$ac_try;; 7804esac 7805eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7806 (eval "$ac_link") 2>conftest.er1 7807 ac_status=$? 7808 grep -v '^ *+' conftest.er1 >conftest.err 7809 rm -f conftest.er1 7810 cat conftest.err >&5 7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7812 (exit $ac_status); } && 7813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7814 { (case "(($ac_try" in 7815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7816 *) ac_try_echo=$ac_try;; 7817esac 7818eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7819 (eval "$ac_try") 2>&5 7820 ac_status=$? 7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7822 (exit $ac_status); }; } && 7823 { ac_try='test -s conftest$ac_exeext' 7824 { (case "(($ac_try" in 7825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7826 *) ac_try_echo=$ac_try;; 7827esac 7828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7829 (eval "$ac_try") 2>&5 7830 ac_status=$? 7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7832 (exit $ac_status); }; }; then 7833 gt_cv_func_dgettext_libc=yes 7834else 7835 echo "$as_me: failed program was:" >&5 7836sed 's/^/| /' conftest.$ac_ext >&5 7837 7838 gt_cv_func_dgettext_libc=no 7839fi 7840 7841rm -f core conftest.err conftest.$ac_objext \ 7842 conftest$ac_exeext conftest.$ac_ext 7843 7844fi 7845{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 7846echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; } 7847 fi 7848 7849 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 7850 7851for ac_func in bind_textdomain_codeset 7852do 7853as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7854{ echo "$as_me:$LINENO: checking for $ac_func" >&5 7855echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7856if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7857 echo $ECHO_N "(cached) $ECHO_C" >&6 7858else 7859 cat >conftest.$ac_ext <<_ACEOF 7860/* confdefs.h. */ 7861_ACEOF 7862cat confdefs.h >>conftest.$ac_ext 7863cat >>conftest.$ac_ext <<_ACEOF 7864/* end confdefs.h. */ 7865/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7866 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7867#define $ac_func innocuous_$ac_func 7868 7869/* System header to define __stub macros and hopefully few prototypes, 7870 which can conflict with char $ac_func (); below. 7871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7872 <limits.h> exists even on freestanding compilers. */ 7873 7874#ifdef __STDC__ 7875# include <limits.h> 7876#else 7877# include <assert.h> 7878#endif 7879 7880#undef $ac_func 7881 7882/* Override any GCC internal prototype to avoid an error. 7883 Use char because int might match the return type of a GCC 7884 builtin and then its argument prototype would still apply. */ 7885#ifdef __cplusplus 7886extern "C" 7887#endif 7888char $ac_func (); 7889/* The GNU C library defines this for functions which it implements 7890 to always fail with ENOSYS. Some functions are actually named 7891 something starting with __ and the normal name is an alias. */ 7892#if defined __stub_$ac_func || defined __stub___$ac_func 7893choke me 7894#endif 7895 7896int 7897main () 7898{ 7899return $ac_func (); 7900 ; 7901 return 0; 7902} 7903_ACEOF 7904rm -f conftest.$ac_objext conftest$ac_exeext 7905if { (ac_try="$ac_link" 7906case "(($ac_try" in 7907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7908 *) ac_try_echo=$ac_try;; 7909esac 7910eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7911 (eval "$ac_link") 2>conftest.er1 7912 ac_status=$? 7913 grep -v '^ *+' conftest.er1 >conftest.err 7914 rm -f conftest.er1 7915 cat conftest.err >&5 7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7917 (exit $ac_status); } && 7918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7919 { (case "(($ac_try" in 7920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7921 *) ac_try_echo=$ac_try;; 7922esac 7923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7924 (eval "$ac_try") 2>&5 7925 ac_status=$? 7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7927 (exit $ac_status); }; } && 7928 { ac_try='test -s conftest$ac_exeext' 7929 { (case "(($ac_try" in 7930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7931 *) ac_try_echo=$ac_try;; 7932esac 7933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7934 (eval "$ac_try") 2>&5 7935 ac_status=$? 7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7937 (exit $ac_status); }; }; then 7938 eval "$as_ac_var=yes" 7939else 7940 echo "$as_me: failed program was:" >&5 7941sed 's/^/| /' conftest.$ac_ext >&5 7942 7943 eval "$as_ac_var=no" 7944fi 7945 7946rm -f core conftest.err conftest.$ac_objext \ 7947 conftest$ac_exeext conftest.$ac_ext 7948fi 7949ac_res=`eval echo '${'$as_ac_var'}'` 7950 { echo "$as_me:$LINENO: result: $ac_res" >&5 7951echo "${ECHO_T}$ac_res" >&6; } 7952if test `eval echo '${'$as_ac_var'}'` = yes; then 7953 cat >>confdefs.h <<_ACEOF 7954#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7955_ACEOF 7956 7957fi 7958done 7959 7960 fi 7961 7962 # 7963 # If we don't have everything we want, check in libintl 7964 # 7965 if test "$gt_cv_func_dgettext_libc" != "yes" \ 7966 || test "$gt_cv_func_ngettext_libc" != "yes" \ 7967 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 7968 7969 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 7970echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; } 7971if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then 7972 echo $ECHO_N "(cached) $ECHO_C" >&6 7973else 7974 ac_check_lib_save_LIBS=$LIBS 7975LIBS="-lintl $LIBS" 7976cat >conftest.$ac_ext <<_ACEOF 7977/* confdefs.h. */ 7978_ACEOF 7979cat confdefs.h >>conftest.$ac_ext 7980cat >>conftest.$ac_ext <<_ACEOF 7981/* end confdefs.h. */ 7982 7983/* Override any GCC internal prototype to avoid an error. 7984 Use char because int might match the return type of a GCC 7985 builtin and then its argument prototype would still apply. */ 7986#ifdef __cplusplus 7987extern "C" 7988#endif 7989char bindtextdomain (); 7990int 7991main () 7992{ 7993return bindtextdomain (); 7994 ; 7995 return 0; 7996} 7997_ACEOF 7998rm -f conftest.$ac_objext conftest$ac_exeext 7999if { (ac_try="$ac_link" 8000case "(($ac_try" in 8001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8002 *) ac_try_echo=$ac_try;; 8003esac 8004eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8005 (eval "$ac_link") 2>conftest.er1 8006 ac_status=$? 8007 grep -v '^ *+' conftest.er1 >conftest.err 8008 rm -f conftest.er1 8009 cat conftest.err >&5 8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8011 (exit $ac_status); } && 8012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8013 { (case "(($ac_try" in 8014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8015 *) ac_try_echo=$ac_try;; 8016esac 8017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8018 (eval "$ac_try") 2>&5 8019 ac_status=$? 8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8021 (exit $ac_status); }; } && 8022 { ac_try='test -s conftest$ac_exeext' 8023 { (case "(($ac_try" in 8024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8025 *) ac_try_echo=$ac_try;; 8026esac 8027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8028 (eval "$ac_try") 2>&5 8029 ac_status=$? 8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8031 (exit $ac_status); }; }; then 8032 ac_cv_lib_intl_bindtextdomain=yes 8033else 8034 echo "$as_me: failed program was:" >&5 8035sed 's/^/| /' conftest.$ac_ext >&5 8036 8037 ac_cv_lib_intl_bindtextdomain=no 8038fi 8039 8040rm -f core conftest.err conftest.$ac_objext \ 8041 conftest$ac_exeext conftest.$ac_ext 8042LIBS=$ac_check_lib_save_LIBS 8043fi 8044{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 8045echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; } 8046if test $ac_cv_lib_intl_bindtextdomain = yes; then 8047 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 8048echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } 8049if test "${ac_cv_lib_intl_ngettext+set}" = set; then 8050 echo $ECHO_N "(cached) $ECHO_C" >&6 8051else 8052 ac_check_lib_save_LIBS=$LIBS 8053LIBS="-lintl $LIBS" 8054cat >conftest.$ac_ext <<_ACEOF 8055/* confdefs.h. */ 8056_ACEOF 8057cat confdefs.h >>conftest.$ac_ext 8058cat >>conftest.$ac_ext <<_ACEOF 8059/* end confdefs.h. */ 8060 8061/* Override any GCC internal prototype to avoid an error. 8062 Use char because int might match the return type of a GCC 8063 builtin and then its argument prototype would still apply. */ 8064#ifdef __cplusplus 8065extern "C" 8066#endif 8067char ngettext (); 8068int 8069main () 8070{ 8071return ngettext (); 8072 ; 8073 return 0; 8074} 8075_ACEOF 8076rm -f conftest.$ac_objext conftest$ac_exeext 8077if { (ac_try="$ac_link" 8078case "(($ac_try" in 8079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8080 *) ac_try_echo=$ac_try;; 8081esac 8082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8083 (eval "$ac_link") 2>conftest.er1 8084 ac_status=$? 8085 grep -v '^ *+' conftest.er1 >conftest.err 8086 rm -f conftest.er1 8087 cat conftest.err >&5 8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8089 (exit $ac_status); } && 8090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8091 { (case "(($ac_try" in 8092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8093 *) ac_try_echo=$ac_try;; 8094esac 8095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8096 (eval "$ac_try") 2>&5 8097 ac_status=$? 8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8099 (exit $ac_status); }; } && 8100 { ac_try='test -s conftest$ac_exeext' 8101 { (case "(($ac_try" in 8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8103 *) ac_try_echo=$ac_try;; 8104esac 8105eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8106 (eval "$ac_try") 2>&5 8107 ac_status=$? 8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8109 (exit $ac_status); }; }; then 8110 ac_cv_lib_intl_ngettext=yes 8111else 8112 echo "$as_me: failed program was:" >&5 8113sed 's/^/| /' conftest.$ac_ext >&5 8114 8115 ac_cv_lib_intl_ngettext=no 8116fi 8117 8118rm -f core conftest.err conftest.$ac_objext \ 8119 conftest$ac_exeext conftest.$ac_ext 8120LIBS=$ac_check_lib_save_LIBS 8121fi 8122{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 8123echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } 8124if test $ac_cv_lib_intl_ngettext = yes; then 8125 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 8126echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } 8127if test "${ac_cv_lib_intl_dgettext+set}" = set; then 8128 echo $ECHO_N "(cached) $ECHO_C" >&6 8129else 8130 ac_check_lib_save_LIBS=$LIBS 8131LIBS="-lintl $LIBS" 8132cat >conftest.$ac_ext <<_ACEOF 8133/* confdefs.h. */ 8134_ACEOF 8135cat confdefs.h >>conftest.$ac_ext 8136cat >>conftest.$ac_ext <<_ACEOF 8137/* end confdefs.h. */ 8138 8139/* Override any GCC internal prototype to avoid an error. 8140 Use char because int might match the return type of a GCC 8141 builtin and then its argument prototype would still apply. */ 8142#ifdef __cplusplus 8143extern "C" 8144#endif 8145char dgettext (); 8146int 8147main () 8148{ 8149return dgettext (); 8150 ; 8151 return 0; 8152} 8153_ACEOF 8154rm -f conftest.$ac_objext conftest$ac_exeext 8155if { (ac_try="$ac_link" 8156case "(($ac_try" in 8157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8158 *) ac_try_echo=$ac_try;; 8159esac 8160eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8161 (eval "$ac_link") 2>conftest.er1 8162 ac_status=$? 8163 grep -v '^ *+' conftest.er1 >conftest.err 8164 rm -f conftest.er1 8165 cat conftest.err >&5 8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8167 (exit $ac_status); } && 8168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8169 { (case "(($ac_try" in 8170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8171 *) ac_try_echo=$ac_try;; 8172esac 8173eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8174 (eval "$ac_try") 2>&5 8175 ac_status=$? 8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8177 (exit $ac_status); }; } && 8178 { ac_try='test -s conftest$ac_exeext' 8179 { (case "(($ac_try" in 8180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8181 *) ac_try_echo=$ac_try;; 8182esac 8183eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8184 (eval "$ac_try") 2>&5 8185 ac_status=$? 8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8187 (exit $ac_status); }; }; then 8188 ac_cv_lib_intl_dgettext=yes 8189else 8190 echo "$as_me: failed program was:" >&5 8191sed 's/^/| /' conftest.$ac_ext >&5 8192 8193 ac_cv_lib_intl_dgettext=no 8194fi 8195 8196rm -f core conftest.err conftest.$ac_objext \ 8197 conftest$ac_exeext conftest.$ac_ext 8198LIBS=$ac_check_lib_save_LIBS 8199fi 8200{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 8201echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } 8202if test $ac_cv_lib_intl_dgettext = yes; then 8203 gt_cv_func_dgettext_libintl=yes 8204fi 8205 8206fi 8207 8208fi 8209 8210 8211 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 8212 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 8213echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; } 8214 { echo "$as_me:$LINENO: result: " >&5 8215echo "${ECHO_T}" >&6; } 8216 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 8217echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } 8218if test "${ac_cv_lib_intl_ngettext+set}" = set; then 8219 echo $ECHO_N "(cached) $ECHO_C" >&6 8220else 8221 ac_check_lib_save_LIBS=$LIBS 8222LIBS="-lintl -liconv $LIBS" 8223cat >conftest.$ac_ext <<_ACEOF 8224/* confdefs.h. */ 8225_ACEOF 8226cat confdefs.h >>conftest.$ac_ext 8227cat >>conftest.$ac_ext <<_ACEOF 8228/* end confdefs.h. */ 8229 8230/* Override any GCC internal prototype to avoid an error. 8231 Use char because int might match the return type of a GCC 8232 builtin and then its argument prototype would still apply. */ 8233#ifdef __cplusplus 8234extern "C" 8235#endif 8236char ngettext (); 8237int 8238main () 8239{ 8240return ngettext (); 8241 ; 8242 return 0; 8243} 8244_ACEOF 8245rm -f conftest.$ac_objext conftest$ac_exeext 8246if { (ac_try="$ac_link" 8247case "(($ac_try" in 8248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8249 *) ac_try_echo=$ac_try;; 8250esac 8251eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8252 (eval "$ac_link") 2>conftest.er1 8253 ac_status=$? 8254 grep -v '^ *+' conftest.er1 >conftest.err 8255 rm -f conftest.er1 8256 cat conftest.err >&5 8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8258 (exit $ac_status); } && 8259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8260 { (case "(($ac_try" in 8261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8262 *) ac_try_echo=$ac_try;; 8263esac 8264eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8265 (eval "$ac_try") 2>&5 8266 ac_status=$? 8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8268 (exit $ac_status); }; } && 8269 { ac_try='test -s conftest$ac_exeext' 8270 { (case "(($ac_try" in 8271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8272 *) ac_try_echo=$ac_try;; 8273esac 8274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8275 (eval "$ac_try") 2>&5 8276 ac_status=$? 8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8278 (exit $ac_status); }; }; then 8279 ac_cv_lib_intl_ngettext=yes 8280else 8281 echo "$as_me: failed program was:" >&5 8282sed 's/^/| /' conftest.$ac_ext >&5 8283 8284 ac_cv_lib_intl_ngettext=no 8285fi 8286 8287rm -f core conftest.err conftest.$ac_objext \ 8288 conftest$ac_exeext conftest.$ac_ext 8289LIBS=$ac_check_lib_save_LIBS 8290fi 8291{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 8292echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } 8293if test $ac_cv_lib_intl_ngettext = yes; then 8294 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 8295echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; } 8296if test "${ac_cv_lib_intl_dcgettext+set}" = set; then 8297 echo $ECHO_N "(cached) $ECHO_C" >&6 8298else 8299 ac_check_lib_save_LIBS=$LIBS 8300LIBS="-lintl -liconv $LIBS" 8301cat >conftest.$ac_ext <<_ACEOF 8302/* confdefs.h. */ 8303_ACEOF 8304cat confdefs.h >>conftest.$ac_ext 8305cat >>conftest.$ac_ext <<_ACEOF 8306/* end confdefs.h. */ 8307 8308/* Override any GCC internal prototype to avoid an error. 8309 Use char because int might match the return type of a GCC 8310 builtin and then its argument prototype would still apply. */ 8311#ifdef __cplusplus 8312extern "C" 8313#endif 8314char dcgettext (); 8315int 8316main () 8317{ 8318return dcgettext (); 8319 ; 8320 return 0; 8321} 8322_ACEOF 8323rm -f conftest.$ac_objext conftest$ac_exeext 8324if { (ac_try="$ac_link" 8325case "(($ac_try" in 8326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8327 *) ac_try_echo=$ac_try;; 8328esac 8329eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8330 (eval "$ac_link") 2>conftest.er1 8331 ac_status=$? 8332 grep -v '^ *+' conftest.er1 >conftest.err 8333 rm -f conftest.er1 8334 cat conftest.err >&5 8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8336 (exit $ac_status); } && 8337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8338 { (case "(($ac_try" in 8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8340 *) ac_try_echo=$ac_try;; 8341esac 8342eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8343 (eval "$ac_try") 2>&5 8344 ac_status=$? 8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8346 (exit $ac_status); }; } && 8347 { ac_try='test -s conftest$ac_exeext' 8348 { (case "(($ac_try" in 8349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8350 *) ac_try_echo=$ac_try;; 8351esac 8352eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8353 (eval "$ac_try") 2>&5 8354 ac_status=$? 8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8356 (exit $ac_status); }; }; then 8357 ac_cv_lib_intl_dcgettext=yes 8358else 8359 echo "$as_me: failed program was:" >&5 8360sed 's/^/| /' conftest.$ac_ext >&5 8361 8362 ac_cv_lib_intl_dcgettext=no 8363fi 8364 8365rm -f core conftest.err conftest.$ac_objext \ 8366 conftest$ac_exeext conftest.$ac_ext 8367LIBS=$ac_check_lib_save_LIBS 8368fi 8369{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 8370echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; } 8371if test $ac_cv_lib_intl_dcgettext = yes; then 8372 gt_cv_func_dgettext_libintl=yes 8373 libintl_extra_libs=-liconv 8374else 8375 : 8376fi 8377 8378else 8379 : 8380fi 8381 8382 fi 8383 8384 # 8385 # If we found libintl, then check in it for bind_textdomain_codeset(); 8386 # we'll prefer libc if neither have bind_textdomain_codeset(), 8387 # and both have dgettext and ngettext 8388 # 8389 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 8390 glib_save_LIBS="$LIBS" 8391 LIBS="$LIBS -lintl $libintl_extra_libs" 8392 unset ac_cv_func_bind_textdomain_codeset 8393 8394for ac_func in bind_textdomain_codeset 8395do 8396as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8397{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8398echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8399if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8400 echo $ECHO_N "(cached) $ECHO_C" >&6 8401else 8402 cat >conftest.$ac_ext <<_ACEOF 8403/* confdefs.h. */ 8404_ACEOF 8405cat confdefs.h >>conftest.$ac_ext 8406cat >>conftest.$ac_ext <<_ACEOF 8407/* end confdefs.h. */ 8408/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8409 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8410#define $ac_func innocuous_$ac_func 8411 8412/* System header to define __stub macros and hopefully few prototypes, 8413 which can conflict with char $ac_func (); below. 8414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8415 <limits.h> exists even on freestanding compilers. */ 8416 8417#ifdef __STDC__ 8418# include <limits.h> 8419#else 8420# include <assert.h> 8421#endif 8422 8423#undef $ac_func 8424 8425/* Override any GCC internal prototype to avoid an error. 8426 Use char because int might match the return type of a GCC 8427 builtin and then its argument prototype would still apply. */ 8428#ifdef __cplusplus 8429extern "C" 8430#endif 8431char $ac_func (); 8432/* The GNU C library defines this for functions which it implements 8433 to always fail with ENOSYS. Some functions are actually named 8434 something starting with __ and the normal name is an alias. */ 8435#if defined __stub_$ac_func || defined __stub___$ac_func 8436choke me 8437#endif 8438 8439int 8440main () 8441{ 8442return $ac_func (); 8443 ; 8444 return 0; 8445} 8446_ACEOF 8447rm -f conftest.$ac_objext conftest$ac_exeext 8448if { (ac_try="$ac_link" 8449case "(($ac_try" in 8450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8451 *) ac_try_echo=$ac_try;; 8452esac 8453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8454 (eval "$ac_link") 2>conftest.er1 8455 ac_status=$? 8456 grep -v '^ *+' conftest.er1 >conftest.err 8457 rm -f conftest.er1 8458 cat conftest.err >&5 8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8460 (exit $ac_status); } && 8461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8462 { (case "(($ac_try" in 8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8464 *) ac_try_echo=$ac_try;; 8465esac 8466eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8467 (eval "$ac_try") 2>&5 8468 ac_status=$? 8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8470 (exit $ac_status); }; } && 8471 { ac_try='test -s conftest$ac_exeext' 8472 { (case "(($ac_try" in 8473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8474 *) ac_try_echo=$ac_try;; 8475esac 8476eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8477 (eval "$ac_try") 2>&5 8478 ac_status=$? 8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8480 (exit $ac_status); }; }; then 8481 eval "$as_ac_var=yes" 8482else 8483 echo "$as_me: failed program was:" >&5 8484sed 's/^/| /' conftest.$ac_ext >&5 8485 8486 eval "$as_ac_var=no" 8487fi 8488 8489rm -f core conftest.err conftest.$ac_objext \ 8490 conftest$ac_exeext conftest.$ac_ext 8491fi 8492ac_res=`eval echo '${'$as_ac_var'}'` 8493 { echo "$as_me:$LINENO: result: $ac_res" >&5 8494echo "${ECHO_T}$ac_res" >&6; } 8495if test `eval echo '${'$as_ac_var'}'` = yes; then 8496 cat >>confdefs.h <<_ACEOF 8497#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8498_ACEOF 8499 8500fi 8501done 8502 8503 LIBS="$glib_save_LIBS" 8504 8505 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 8506 gt_cv_func_dgettext_libc=no 8507 else 8508 if test "$gt_cv_func_dgettext_libc" = "yes" \ 8509 && test "$gt_cv_func_ngettext_libc" = "yes"; then 8510 gt_cv_func_dgettext_libintl=no 8511 fi 8512 fi 8513 fi 8514 fi 8515 8516 if test "$gt_cv_func_dgettext_libc" = "yes" \ 8517 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 8518 gt_cv_have_gettext=yes 8519 fi 8520 8521 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 8522 INTLLIBS="-lintl $libintl_extra_libs" 8523 fi 8524 8525 if test "$gt_cv_have_gettext" = "yes"; then 8526 8527cat >>confdefs.h <<\_ACEOF 8528#define HAVE_GETTEXT 1 8529_ACEOF 8530 8531 # Extract the first word of "msgfmt", so it can be a program name with args. 8532set dummy msgfmt; ac_word=$2 8533{ echo "$as_me:$LINENO: checking for $ac_word" >&5 8534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 8535if test "${ac_cv_path_MSGFMT+set}" = set; then 8536 echo $ECHO_N "(cached) $ECHO_C" >&6 8537else 8538 case "$MSGFMT" in 8539 /*) 8540 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 8541 ;; 8542 *) 8543 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8544 for ac_dir in $PATH; do 8545 test -z "$ac_dir" && ac_dir=. 8546 if test -f $ac_dir/$ac_word; then 8547 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 8548 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 8549 break 8550 fi 8551 fi 8552 done 8553 IFS="$ac_save_ifs" 8554 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 8555 ;; 8556esac 8557fi 8558MSGFMT="$ac_cv_path_MSGFMT" 8559if test "$MSGFMT" != "no"; then 8560 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 8561echo "${ECHO_T}$MSGFMT" >&6; } 8562else 8563 { echo "$as_me:$LINENO: result: no" >&5 8564echo "${ECHO_T}no" >&6; } 8565fi 8566 if test "$MSGFMT" != "no"; then 8567 glib_save_LIBS="$LIBS" 8568 LIBS="$LIBS $INTLLIBS" 8569 8570for ac_func in dcgettext 8571do 8572as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8573{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8574echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8575if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8576 echo $ECHO_N "(cached) $ECHO_C" >&6 8577else 8578 cat >conftest.$ac_ext <<_ACEOF 8579/* confdefs.h. */ 8580_ACEOF 8581cat confdefs.h >>conftest.$ac_ext 8582cat >>conftest.$ac_ext <<_ACEOF 8583/* end confdefs.h. */ 8584/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8585 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8586#define $ac_func innocuous_$ac_func 8587 8588/* System header to define __stub macros and hopefully few prototypes, 8589 which can conflict with char $ac_func (); below. 8590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8591 <limits.h> exists even on freestanding compilers. */ 8592 8593#ifdef __STDC__ 8594# include <limits.h> 8595#else 8596# include <assert.h> 8597#endif 8598 8599#undef $ac_func 8600 8601/* Override any GCC internal prototype to avoid an error. 8602 Use char because int might match the return type of a GCC 8603 builtin and then its argument prototype would still apply. */ 8604#ifdef __cplusplus 8605extern "C" 8606#endif 8607char $ac_func (); 8608/* The GNU C library defines this for functions which it implements 8609 to always fail with ENOSYS. Some functions are actually named 8610 something starting with __ and the normal name is an alias. */ 8611#if defined __stub_$ac_func || defined __stub___$ac_func 8612choke me 8613#endif 8614 8615int 8616main () 8617{ 8618return $ac_func (); 8619 ; 8620 return 0; 8621} 8622_ACEOF 8623rm -f conftest.$ac_objext conftest$ac_exeext 8624if { (ac_try="$ac_link" 8625case "(($ac_try" in 8626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8627 *) ac_try_echo=$ac_try;; 8628esac 8629eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8630 (eval "$ac_link") 2>conftest.er1 8631 ac_status=$? 8632 grep -v '^ *+' conftest.er1 >conftest.err 8633 rm -f conftest.er1 8634 cat conftest.err >&5 8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8636 (exit $ac_status); } && 8637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8638 { (case "(($ac_try" in 8639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8640 *) ac_try_echo=$ac_try;; 8641esac 8642eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8643 (eval "$ac_try") 2>&5 8644 ac_status=$? 8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8646 (exit $ac_status); }; } && 8647 { ac_try='test -s conftest$ac_exeext' 8648 { (case "(($ac_try" in 8649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8650 *) ac_try_echo=$ac_try;; 8651esac 8652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8653 (eval "$ac_try") 2>&5 8654 ac_status=$? 8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8656 (exit $ac_status); }; }; then 8657 eval "$as_ac_var=yes" 8658else 8659 echo "$as_me: failed program was:" >&5 8660sed 's/^/| /' conftest.$ac_ext >&5 8661 8662 eval "$as_ac_var=no" 8663fi 8664 8665rm -f core conftest.err conftest.$ac_objext \ 8666 conftest$ac_exeext conftest.$ac_ext 8667fi 8668ac_res=`eval echo '${'$as_ac_var'}'` 8669 { echo "$as_me:$LINENO: result: $ac_res" >&5 8670echo "${ECHO_T}$ac_res" >&6; } 8671if test `eval echo '${'$as_ac_var'}'` = yes; then 8672 cat >>confdefs.h <<_ACEOF 8673#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8674_ACEOF 8675 8676fi 8677done 8678 8679 # Extract the first word of "gmsgfmt", so it can be a program name with args. 8680set dummy gmsgfmt; ac_word=$2 8681{ echo "$as_me:$LINENO: checking for $ac_word" >&5 8682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 8683if test "${ac_cv_path_GMSGFMT+set}" = set; then 8684 echo $ECHO_N "(cached) $ECHO_C" >&6 8685else 8686 case $GMSGFMT in 8687 [\\/]* | ?:[\\/]*) 8688 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 8689 ;; 8690 *) 8691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8692for as_dir in $PATH 8693do 8694 IFS=$as_save_IFS 8695 test -z "$as_dir" && as_dir=. 8696 for ac_exec_ext in '' $ac_executable_extensions; do 8697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 8698 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 8699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8700 break 2 8701 fi 8702done 8703done 8704IFS=$as_save_IFS 8705 8706 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 8707 ;; 8708esac 8709fi 8710GMSGFMT=$ac_cv_path_GMSGFMT 8711if test -n "$GMSGFMT"; then 8712 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 8713echo "${ECHO_T}$GMSGFMT" >&6; } 8714else 8715 { echo "$as_me:$LINENO: result: no" >&5 8716echo "${ECHO_T}no" >&6; } 8717fi 8718 8719 8720 # Extract the first word of "xgettext", so it can be a program name with args. 8721set dummy xgettext; ac_word=$2 8722{ echo "$as_me:$LINENO: checking for $ac_word" >&5 8723echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 8724if test "${ac_cv_path_XGETTEXT+set}" = set; then 8725 echo $ECHO_N "(cached) $ECHO_C" >&6 8726else 8727 case "$XGETTEXT" in 8728 /*) 8729 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 8730 ;; 8731 *) 8732 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8733 for ac_dir in $PATH; do 8734 test -z "$ac_dir" && ac_dir=. 8735 if test -f $ac_dir/$ac_word; then 8736 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 8737 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 8738 break 8739 fi 8740 fi 8741 done 8742 IFS="$ac_save_ifs" 8743 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 8744 ;; 8745esac 8746fi 8747XGETTEXT="$ac_cv_path_XGETTEXT" 8748if test "$XGETTEXT" != ":"; then 8749 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 8750echo "${ECHO_T}$XGETTEXT" >&6; } 8751else 8752 { echo "$as_me:$LINENO: result: no" >&5 8753echo "${ECHO_T}no" >&6; } 8754fi 8755 8756 cat >conftest.$ac_ext <<_ACEOF 8757/* confdefs.h. */ 8758_ACEOF 8759cat confdefs.h >>conftest.$ac_ext 8760cat >>conftest.$ac_ext <<_ACEOF 8761/* end confdefs.h. */ 8762 8763int 8764main () 8765{ 8766extern int _nl_msg_cat_cntr; 8767 return _nl_msg_cat_cntr 8768 ; 8769 return 0; 8770} 8771_ACEOF 8772rm -f conftest.$ac_objext conftest$ac_exeext 8773if { (ac_try="$ac_link" 8774case "(($ac_try" in 8775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8776 *) ac_try_echo=$ac_try;; 8777esac 8778eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8779 (eval "$ac_link") 2>conftest.er1 8780 ac_status=$? 8781 grep -v '^ *+' conftest.er1 >conftest.err 8782 rm -f conftest.er1 8783 cat conftest.err >&5 8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8785 (exit $ac_status); } && 8786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8787 { (case "(($ac_try" in 8788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8789 *) ac_try_echo=$ac_try;; 8790esac 8791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8792 (eval "$ac_try") 2>&5 8793 ac_status=$? 8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8795 (exit $ac_status); }; } && 8796 { ac_try='test -s conftest$ac_exeext' 8797 { (case "(($ac_try" in 8798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8799 *) ac_try_echo=$ac_try;; 8800esac 8801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8802 (eval "$ac_try") 2>&5 8803 ac_status=$? 8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 (exit $ac_status); }; }; then 8806 CATOBJEXT=.gmo 8807 DATADIRNAME=share 8808else 8809 echo "$as_me: failed program was:" >&5 8810sed 's/^/| /' conftest.$ac_ext >&5 8811 8812 case $host in 8813 *-*-solaris*) 8814 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 8815echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } 8816if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then 8817 echo $ECHO_N "(cached) $ECHO_C" >&6 8818else 8819 cat >conftest.$ac_ext <<_ACEOF 8820/* confdefs.h. */ 8821_ACEOF 8822cat confdefs.h >>conftest.$ac_ext 8823cat >>conftest.$ac_ext <<_ACEOF 8824/* end confdefs.h. */ 8825/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. 8826 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8827#define bind_textdomain_codeset innocuous_bind_textdomain_codeset 8828 8829/* System header to define __stub macros and hopefully few prototypes, 8830 which can conflict with char bind_textdomain_codeset (); below. 8831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8832 <limits.h> exists even on freestanding compilers. */ 8833 8834#ifdef __STDC__ 8835# include <limits.h> 8836#else 8837# include <assert.h> 8838#endif 8839 8840#undef bind_textdomain_codeset 8841 8842/* Override any GCC internal prototype to avoid an error. 8843 Use char because int might match the return type of a GCC 8844 builtin and then its argument prototype would still apply. */ 8845#ifdef __cplusplus 8846extern "C" 8847#endif 8848char bind_textdomain_codeset (); 8849/* The GNU C library defines this for functions which it implements 8850 to always fail with ENOSYS. Some functions are actually named 8851 something starting with __ and the normal name is an alias. */ 8852#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset 8853choke me 8854#endif 8855 8856int 8857main () 8858{ 8859return bind_textdomain_codeset (); 8860 ; 8861 return 0; 8862} 8863_ACEOF 8864rm -f conftest.$ac_objext conftest$ac_exeext 8865if { (ac_try="$ac_link" 8866case "(($ac_try" in 8867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8868 *) ac_try_echo=$ac_try;; 8869esac 8870eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8871 (eval "$ac_link") 2>conftest.er1 8872 ac_status=$? 8873 grep -v '^ *+' conftest.er1 >conftest.err 8874 rm -f conftest.er1 8875 cat conftest.err >&5 8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8877 (exit $ac_status); } && 8878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8879 { (case "(($ac_try" in 8880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8881 *) ac_try_echo=$ac_try;; 8882esac 8883eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8884 (eval "$ac_try") 2>&5 8885 ac_status=$? 8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8887 (exit $ac_status); }; } && 8888 { ac_try='test -s conftest$ac_exeext' 8889 { (case "(($ac_try" in 8890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8891 *) ac_try_echo=$ac_try;; 8892esac 8893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8894 (eval "$ac_try") 2>&5 8895 ac_status=$? 8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8897 (exit $ac_status); }; }; then 8898 ac_cv_func_bind_textdomain_codeset=yes 8899else 8900 echo "$as_me: failed program was:" >&5 8901sed 's/^/| /' conftest.$ac_ext >&5 8902 8903 ac_cv_func_bind_textdomain_codeset=no 8904fi 8905 8906rm -f core conftest.err conftest.$ac_objext \ 8907 conftest$ac_exeext conftest.$ac_ext 8908fi 8909{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 8910echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } 8911if test $ac_cv_func_bind_textdomain_codeset = yes; then 8912 CATOBJEXT=.gmo 8913 DATADIRNAME=share 8914else 8915 CATOBJEXT=.mo 8916 DATADIRNAME=share 8917fi 8918 8919 ;; 8920 *) 8921 CATOBJEXT=.mo 8922 DATADIRNAME=share 8923 ;; 8924 esac 8925fi 8926 8927rm -f core conftest.err conftest.$ac_objext \ 8928 conftest$ac_exeext conftest.$ac_ext 8929 LIBS="$glib_save_LIBS" 8930 INSTOBJEXT=.mo 8931 else 8932 gt_cv_have_gettext=no 8933 fi 8934 fi 8935 8936fi 8937 8938 8939 8940 if test "$gt_cv_have_gettext" = "yes" ; then 8941 8942cat >>confdefs.h <<\_ACEOF 8943#define ENABLE_NLS 1 8944_ACEOF 8945 8946 fi 8947 8948 if test "$XGETTEXT" != ":"; then 8949 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 8950 : ; 8951 else 8952 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 8953echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; } 8954 XGETTEXT=":" 8955 fi 8956 fi 8957 8958 # We need to process the po/ directory. 8959 POSUB=po 8960 8961 ac_config_commands="$ac_config_commands default-1" 8962 8963 8964 for lang in $ALL_LINGUAS; do 8965 GMOFILES="$GMOFILES $lang.gmo" 8966 POFILES="$POFILES $lang.po" 8967 done 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 if test "$gt_cv_have_gettext" = "yes"; then 8982 if test "x$ALL_LINGUAS" = "x"; then 8983 LINGUAS= 8984 else 8985 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 8986echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; } 8987 NEW_LINGUAS= 8988 for presentlang in $ALL_LINGUAS; do 8989 useit=no 8990 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 8991 desiredlanguages="$LINGUAS" 8992 else 8993 desiredlanguages="$ALL_LINGUAS" 8994 fi 8995 for desiredlang in $desiredlanguages; do 8996 # Use the presentlang catalog if desiredlang is 8997 # a. equal to presentlang, or 8998 # b. a variant of presentlang (because in this case, 8999 # presentlang can be used as a fallback for messages 9000 # which are not translated in the desiredlang catalog). 9001 case "$desiredlang" in 9002 "$presentlang"*) useit=yes;; 9003 esac 9004 done 9005 if test $useit = yes; then 9006 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 9007 fi 9008 done 9009 LINGUAS=$NEW_LINGUAS 9010 { echo "$as_me:$LINENO: result: $LINGUAS" >&5 9011echo "${ECHO_T}$LINGUAS" >&6; } 9012 fi 9013 9014 if test -n "$LINGUAS"; then 9015 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 9016 fi 9017 fi 9018 9019 MKINSTALLDIRS= 9020 if test -n "$ac_aux_dir"; then 9021 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 9022 fi 9023 if test -z "$MKINSTALLDIRS"; then 9024 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 9025 fi 9026 9027 9028 test -d po || mkdir po 9029 if test "x$srcdir" != "x."; then 9030 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 9031 posrcprefix="$srcdir/" 9032 else 9033 posrcprefix="../$srcdir/" 9034 fi 9035 else 9036 posrcprefix="../" 9037 fi 9038 rm -f po/POTFILES 9039 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 9040 < $srcdir/po/POTFILES.in > po/POTFILES 9041 9042 9043 9044 9045glib_save_prefix="$prefix" 9046glib_save_exec_prefix="$exec_prefix" 9047glib_save_datarootdir="$datarootdir" 9048test "x$prefix" = xNONE && prefix=$ac_default_prefix 9049test "x$exec_prefix" = xNONE && exec_prefix=$prefix 9050datarootdir=`eval echo "${datarootdir}"` 9051if test "x$CATOBJEXT" = "x.mo" ; then 9052 localedir=`eval echo "${libdir}/locale"` 9053else 9054 localedir=`eval echo "${datadir}/locale"` 9055fi 9056prefix="$glib_save_prefix" 9057exec_prefix="$glib_save_exec_prefix" 9058datarootdir="$glib_save_datarootdir" 9059 9060cat >>confdefs.h <<_ACEOF 9061#define LOCALEDIR "$localedir" 9062_ACEOF 9063 9064 9065 9066 9067 9068ac_config_files="$ac_config_files data/Makefile pixmaps/Makefile po/Makefile.in src/Makefile Makefile tagtool.spec" 9069 9070cat >confcache <<\_ACEOF 9071# This file is a shell script that caches the results of configure 9072# tests run on this system so they can be shared between configure 9073# scripts and configure runs, see configure's option --config-cache. 9074# It is not useful on other systems. If it contains results you don't 9075# want to keep, you may remove or edit it. 9076# 9077# config.status only pays attention to the cache file if you give it 9078# the --recheck option to rerun configure. 9079# 9080# `ac_cv_env_foo' variables (set or unset) will be overridden when 9081# loading this file, other *unset* `ac_cv_foo' will be assigned the 9082# following values. 9083 9084_ACEOF 9085 9086# The following way of writing the cache mishandles newlines in values, 9087# but we know of no workaround that is simple, portable, and efficient. 9088# So, we kill variables containing newlines. 9089# Ultrix sh set writes to stderr and can't be redirected directly, 9090# and sets the high bit in the cache file unless we assign to the vars. 9091( 9092 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9093 eval ac_val=\$$ac_var 9094 case $ac_val in #( 9095 *${as_nl}*) 9096 case $ac_var in #( 9097 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 9098echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 9099 esac 9100 case $ac_var in #( 9101 _ | IFS | as_nl) ;; #( 9102 *) $as_unset $ac_var ;; 9103 esac ;; 9104 esac 9105 done 9106 9107 (set) 2>&1 | 9108 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9109 *${as_nl}ac_space=\ *) 9110 # `set' does not quote correctly, so add quotes (double-quote 9111 # substitution turns \\\\ into \\, and sed turns \\ into \). 9112 sed -n \ 9113 "s/'/'\\\\''/g; 9114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9115 ;; #( 9116 *) 9117 # `set' quotes correctly as required by POSIX, so do not add quotes. 9118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9119 ;; 9120 esac | 9121 sort 9122) | 9123 sed ' 9124 /^ac_cv_env_/b end 9125 t clear 9126 :clear 9127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9128 t end 9129 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9130 :end' >>confcache 9131if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9132 if test -w "$cache_file"; then 9133 test "x$cache_file" != "x/dev/null" && 9134 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 9135echo "$as_me: updating cache $cache_file" >&6;} 9136 cat confcache >$cache_file 9137 else 9138 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9139echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9140 fi 9141fi 9142rm -f confcache 9143 9144test "x$prefix" = xNONE && prefix=$ac_default_prefix 9145# Let make expand exec_prefix. 9146test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9147 9148DEFS=-DHAVE_CONFIG_H 9149 9150ac_libobjs= 9151ac_ltlibobjs= 9152for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9153 # 1. Remove the extension, and $U if already installed. 9154 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9155 ac_i=`echo "$ac_i" | sed "$ac_script"` 9156 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9157 # will be set to the directory where LIBOBJS objects are built. 9158 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9159 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9160done 9161LIBOBJS=$ac_libobjs 9162 9163LTLIBOBJS=$ac_ltlibobjs 9164 9165 9166if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 9167 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 9168Usually this means the macro was only invoked conditionally." >&5 9169echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 9170Usually this means the macro was only invoked conditionally." >&2;} 9171 { (exit 1); exit 1; }; } 9172fi 9173if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 9174 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 9175Usually this means the macro was only invoked conditionally." >&5 9176echo "$as_me: error: conditional \"AMDEP\" was never defined. 9177Usually this means the macro was only invoked conditionally." >&2;} 9178 { (exit 1); exit 1; }; } 9179fi 9180if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9181 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 9182Usually this means the macro was only invoked conditionally." >&5 9183echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 9184Usually this means the macro was only invoked conditionally." >&2;} 9185 { (exit 1); exit 1; }; } 9186fi 9187if test -z "${ENABLE_MP3_TRUE}" && test -z "${ENABLE_MP3_FALSE}"; then 9188 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MP3\" was never defined. 9189Usually this means the macro was only invoked conditionally." >&5 9190echo "$as_me: error: conditional \"ENABLE_MP3\" was never defined. 9191Usually this means the macro was only invoked conditionally." >&2;} 9192 { (exit 1); exit 1; }; } 9193fi 9194if test -z "${ENABLE_VORBIS_TRUE}" && test -z "${ENABLE_VORBIS_FALSE}"; then 9195 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VORBIS\" was never defined. 9196Usually this means the macro was only invoked conditionally." >&5 9197echo "$as_me: error: conditional \"ENABLE_VORBIS\" was never defined. 9198Usually this means the macro was only invoked conditionally." >&2;} 9199 { (exit 1); exit 1; }; } 9200fi 9201 9202 ac_config_commands="$ac_config_commands po/stamp-it" 9203 9204 9205 9206: ${CONFIG_STATUS=./config.status} 9207ac_clean_files_save=$ac_clean_files 9208ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9209{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9210echo "$as_me: creating $CONFIG_STATUS" >&6;} 9211cat >$CONFIG_STATUS <<_ACEOF 9212#! $SHELL 9213# Generated by $as_me. 9214# Run this file to recreate the current configuration. 9215# Compiler output produced by configure, useful for debugging 9216# configure, is in config.log if it exists. 9217 9218debug=false 9219ac_cs_recheck=false 9220ac_cs_silent=false 9221SHELL=\${CONFIG_SHELL-$SHELL} 9222_ACEOF 9223 9224cat >>$CONFIG_STATUS <<\_ACEOF 9225## --------------------- ## 9226## M4sh Initialization. ## 9227## --------------------- ## 9228 9229# Be Bourne compatible 9230if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9231 emulate sh 9232 NULLCMD=: 9233 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 9234 # is contrary to our usage. Disable this feature. 9235 alias -g '${1+"$@"}'='"$@"' 9236 setopt NO_GLOB_SUBST 9237else 9238 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 9239fi 9240BIN_SH=xpg4; export BIN_SH # for Tru64 9241DUALCASE=1; export DUALCASE # for MKS sh 9242 9243 9244# PATH needs CR 9245# Avoid depending upon Character Ranges. 9246as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9247as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9248as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9249as_cr_digits='0123456789' 9250as_cr_alnum=$as_cr_Letters$as_cr_digits 9251 9252# The user is always right. 9253if test "${PATH_SEPARATOR+set}" != set; then 9254 echo "#! /bin/sh" >conf$$.sh 9255 echo "exit 0" >>conf$$.sh 9256 chmod +x conf$$.sh 9257 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9258 PATH_SEPARATOR=';' 9259 else 9260 PATH_SEPARATOR=: 9261 fi 9262 rm -f conf$$.sh 9263fi 9264 9265# Support unset when possible. 9266if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9267 as_unset=unset 9268else 9269 as_unset=false 9270fi 9271 9272 9273# IFS 9274# We need space, tab and new line, in precisely that order. Quoting is 9275# there to prevent editors from complaining about space-tab. 9276# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9277# splitting by setting IFS to empty value.) 9278as_nl=' 9279' 9280IFS=" "" $as_nl" 9281 9282# Find who we are. Look in the path if we contain no directory separator. 9283case $0 in 9284 *[\\/]* ) as_myself=$0 ;; 9285 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9286for as_dir in $PATH 9287do 9288 IFS=$as_save_IFS 9289 test -z "$as_dir" && as_dir=. 9290 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9291done 9292IFS=$as_save_IFS 9293 9294 ;; 9295esac 9296# We did not find ourselves, most probably we were run as `sh COMMAND' 9297# in which case we are not to be found in the path. 9298if test "x$as_myself" = x; then 9299 as_myself=$0 9300fi 9301if test ! -f "$as_myself"; then 9302 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9303 { (exit 1); exit 1; } 9304fi 9305 9306# Work around bugs in pre-3.0 UWIN ksh. 9307for as_var in ENV MAIL MAILPATH 9308do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9309done 9310PS1='$ ' 9311PS2='> ' 9312PS4='+ ' 9313 9314# NLS nuisances. 9315for as_var in \ 9316 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 9317 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 9318 LC_TELEPHONE LC_TIME 9319do 9320 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 9321 eval $as_var=C; export $as_var 9322 else 9323 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9324 fi 9325done 9326 9327# Required to use basename. 9328if expr a : '\(a\)' >/dev/null 2>&1 && 9329 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9330 as_expr=expr 9331else 9332 as_expr=false 9333fi 9334 9335if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9336 as_basename=basename 9337else 9338 as_basename=false 9339fi 9340 9341 9342# Name of the executable. 9343as_me=`$as_basename -- "$0" || 9344$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9345 X"$0" : 'X\(//\)$' \| \ 9346 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9347echo X/"$0" | 9348 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9349 s//\1/ 9350 q 9351 } 9352 /^X\/\(\/\/\)$/{ 9353 s//\1/ 9354 q 9355 } 9356 /^X\/\(\/\).*/{ 9357 s//\1/ 9358 q 9359 } 9360 s/.*/./; q'` 9361 9362# CDPATH. 9363$as_unset CDPATH 9364 9365 9366 9367 as_lineno_1=$LINENO 9368 as_lineno_2=$LINENO 9369 test "x$as_lineno_1" != "x$as_lineno_2" && 9370 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 9371 9372 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 9373 # uniformly replaced by the line number. The first 'sed' inserts a 9374 # line-number line after each line using $LINENO; the second 'sed' 9375 # does the real work. The second script uses 'N' to pair each 9376 # line-number line with the line containing $LINENO, and appends 9377 # trailing '-' during substitution so that $LINENO is not a special 9378 # case at line end. 9379 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 9380 # scripts with optimization help from Paolo Bonzini. Blame Lee 9381 # E. McMahon (1931-1989) for sed's syntax. :-) 9382 sed -n ' 9383 p 9384 /[$]LINENO/= 9385 ' <$as_myself | 9386 sed ' 9387 s/[$]LINENO.*/&-/ 9388 t lineno 9389 b 9390 :lineno 9391 N 9392 :loop 9393 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 9394 t loop 9395 s/-\n.*// 9396 ' >$as_me.lineno && 9397 chmod +x "$as_me.lineno" || 9398 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 9399 { (exit 1); exit 1; }; } 9400 9401 # Don't try to exec as it changes $[0], causing all sort of problems 9402 # (the dirname of $[0] is not the place where we might find the 9403 # original and so on. Autoconf is especially sensitive to this). 9404 . "./$as_me.lineno" 9405 # Exit status is that of the last command. 9406 exit 9407} 9408 9409 9410if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9411 as_dirname=dirname 9412else 9413 as_dirname=false 9414fi 9415 9416ECHO_C= ECHO_N= ECHO_T= 9417case `echo -n x` in 9418-n*) 9419 case `echo 'x\c'` in 9420 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9421 *) ECHO_C='\c';; 9422 esac;; 9423*) 9424 ECHO_N='-n';; 9425esac 9426 9427if expr a : '\(a\)' >/dev/null 2>&1 && 9428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9429 as_expr=expr 9430else 9431 as_expr=false 9432fi 9433 9434rm -f conf$$ conf$$.exe conf$$.file 9435if test -d conf$$.dir; then 9436 rm -f conf$$.dir/conf$$.file 9437else 9438 rm -f conf$$.dir 9439 mkdir conf$$.dir 9440fi 9441echo >conf$$.file 9442if ln -s conf$$.file conf$$ 2>/dev/null; then 9443 as_ln_s='ln -s' 9444 # ... but there are two gotchas: 9445 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9446 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9447 # In both cases, we have to default to `cp -p'. 9448 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9449 as_ln_s='cp -p' 9450elif ln conf$$.file conf$$ 2>/dev/null; then 9451 as_ln_s=ln 9452else 9453 as_ln_s='cp -p' 9454fi 9455rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9456rmdir conf$$.dir 2>/dev/null 9457 9458if mkdir -p . 2>/dev/null; then 9459 as_mkdir_p=: 9460else 9461 test -d ./-p && rmdir ./-p 9462 as_mkdir_p=false 9463fi 9464 9465# Find out whether ``test -x'' works. Don't use a zero-byte file, as 9466# systems may use methods other than mode bits to determine executability. 9467cat >conf$$.file <<_ASEOF 9468#! /bin/sh 9469exit 0 9470_ASEOF 9471chmod +x conf$$.file 9472if test -x conf$$.file >/dev/null 2>&1; then 9473 as_executable_p="test -x" 9474else 9475 as_executable_p=: 9476fi 9477rm -f conf$$.file 9478 9479# Sed expression to map a string onto a valid CPP name. 9480as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9481 9482# Sed expression to map a string onto a valid variable name. 9483as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9484 9485 9486exec 6>&1 9487 9488# Save the log message, to keep $[0] and so on meaningful, and to 9489# report actual input values of CONFIG_FILES etc. instead of their 9490# values after options handling. 9491ac_log=" 9492This file was extended by tagtool $as_me 0.12.3, which was 9493generated by GNU Autoconf 2.60. Invocation command line was 9494 9495 CONFIG_FILES = $CONFIG_FILES 9496 CONFIG_HEADERS = $CONFIG_HEADERS 9497 CONFIG_LINKS = $CONFIG_LINKS 9498 CONFIG_COMMANDS = $CONFIG_COMMANDS 9499 $ $0 $@ 9500 9501on `(hostname || uname -n) 2>/dev/null | sed 1q` 9502" 9503 9504_ACEOF 9505 9506cat >>$CONFIG_STATUS <<_ACEOF 9507# Files that config.status was made for. 9508config_files="$ac_config_files" 9509config_headers="$ac_config_headers" 9510config_commands="$ac_config_commands" 9511 9512_ACEOF 9513 9514cat >>$CONFIG_STATUS <<\_ACEOF 9515ac_cs_usage="\ 9516\`$as_me' instantiates files from templates according to the 9517current configuration. 9518 9519Usage: $0 [OPTIONS] [FILE]... 9520 9521 -h, --help print this help, then exit 9522 -V, --version print version number, then exit 9523 -q, --quiet do not print progress messages 9524 -d, --debug don't remove temporary files 9525 --recheck update $as_me by reconfiguring in the same conditions 9526 --file=FILE[:TEMPLATE] 9527 instantiate the configuration file FILE 9528 --header=FILE[:TEMPLATE] 9529 instantiate the configuration header FILE 9530 9531Configuration files: 9532$config_files 9533 9534Configuration headers: 9535$config_headers 9536 9537Configuration commands: 9538$config_commands 9539 9540Report bugs to <bug-autoconf@gnu.org>." 9541 9542_ACEOF 9543cat >>$CONFIG_STATUS <<_ACEOF 9544ac_cs_version="\\ 9545tagtool config.status 0.12.3 9546configured by $0, generated by GNU Autoconf 2.60, 9547 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9548 9549Copyright (C) 2006 Free Software Foundation, Inc. 9550This config.status script is free software; the Free Software Foundation 9551gives unlimited permission to copy, distribute and modify it." 9552 9553ac_pwd='$ac_pwd' 9554srcdir='$srcdir' 9555INSTALL='$INSTALL' 9556_ACEOF 9557 9558cat >>$CONFIG_STATUS <<\_ACEOF 9559# If no file are specified by the user, then we need to provide default 9560# value. By we need to know if files were specified by the user. 9561ac_need_defaults=: 9562while test $# != 0 9563do 9564 case $1 in 9565 --*=*) 9566 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9567 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9568 ac_shift=: 9569 ;; 9570 *) 9571 ac_option=$1 9572 ac_optarg=$2 9573 ac_shift=shift 9574 ;; 9575 esac 9576 9577 case $ac_option in 9578 # Handling of the options. 9579 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9580 ac_cs_recheck=: ;; 9581 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9582 echo "$ac_cs_version"; exit ;; 9583 --debug | --debu | --deb | --de | --d | -d ) 9584 debug=: ;; 9585 --file | --fil | --fi | --f ) 9586 $ac_shift 9587 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9588 ac_need_defaults=false;; 9589 --header | --heade | --head | --hea ) 9590 $ac_shift 9591 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9592 ac_need_defaults=false;; 9593 --he | --h) 9594 # Conflict between --help and --header 9595 { echo "$as_me: error: ambiguous option: $1 9596Try \`$0 --help' for more information." >&2 9597 { (exit 1); exit 1; }; };; 9598 --help | --hel | -h ) 9599 echo "$ac_cs_usage"; exit ;; 9600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9601 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9602 ac_cs_silent=: ;; 9603 9604 # This is an error. 9605 -*) { echo "$as_me: error: unrecognized option: $1 9606Try \`$0 --help' for more information." >&2 9607 { (exit 1); exit 1; }; } ;; 9608 9609 *) ac_config_targets="$ac_config_targets $1" 9610 ac_need_defaults=false ;; 9611 9612 esac 9613 shift 9614done 9615 9616ac_configure_extra_args= 9617 9618if $ac_cs_silent; then 9619 exec 6>/dev/null 9620 ac_configure_extra_args="$ac_configure_extra_args --silent" 9621fi 9622 9623_ACEOF 9624cat >>$CONFIG_STATUS <<_ACEOF 9625if \$ac_cs_recheck; then 9626 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 9627 CONFIG_SHELL=$SHELL 9628 export CONFIG_SHELL 9629 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9630fi 9631 9632_ACEOF 9633cat >>$CONFIG_STATUS <<\_ACEOF 9634exec 5>>config.log 9635{ 9636 echo 9637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9638## Running $as_me. ## 9639_ASBOX 9640 echo "$ac_log" 9641} >&5 9642 9643_ACEOF 9644cat >>$CONFIG_STATUS <<_ACEOF 9645# 9646# INIT-COMMANDS 9647# 9648AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 9649INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' 9650prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" 9651INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' 9652INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' 9653INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}' 9654 9655 9656_ACEOF 9657 9658cat >>$CONFIG_STATUS <<\_ACEOF 9659 9660# Handling of arguments. 9661for ac_config_target in $ac_config_targets 9662do 9663 case $ac_config_target in 9664 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9665 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 9666 "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; 9667 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 9668 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 9669 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; 9670 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 9671 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9672 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9673 "tagtool.spec") CONFIG_FILES="$CONFIG_FILES tagtool.spec" ;; 9674 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 9675 9676 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9677echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9678 { (exit 1); exit 1; }; };; 9679 esac 9680done 9681 9682 9683# If the user did not use the arguments to specify the items to instantiate, 9684# then the envvar interface is used. Set only those that are not. 9685# We use the long form for the default assignment because of an extremely 9686# bizarre bug on SunOS 4.1.3. 9687if $ac_need_defaults; then 9688 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 9689 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 9690 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 9691fi 9692 9693# Have a temporary directory for convenience. Make it in the build tree 9694# simply because there is no reason against having it here, and in addition, 9695# creating and moving files from /tmp can sometimes cause problems. 9696# Hook for its removal unless debugging. 9697# Note that there is a small window in which the directory will not be cleaned: 9698# after its creation but before its name has been assigned to `$tmp'. 9699$debug || 9700{ 9701 tmp= 9702 trap 'exit_status=$? 9703 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9704' 0 9705 trap '{ (exit 1); exit 1; }' 1 2 13 15 9706} 9707# Create a (secure) tmp directory for tmp files. 9708 9709{ 9710 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9711 test -n "$tmp" && test -d "$tmp" 9712} || 9713{ 9714 tmp=./conf$$-$RANDOM 9715 (umask 077 && mkdir "$tmp") 9716} || 9717{ 9718 echo "$me: cannot create a temporary directory in ." >&2 9719 { (exit 1); exit 1; } 9720} 9721 9722# 9723# Set up the sed scripts for CONFIG_FILES section. 9724# 9725 9726# No need to generate the scripts if there are no CONFIG_FILES. 9727# This happens for instance when ./config.status config.h 9728if test -n "$CONFIG_FILES"; then 9729 9730_ACEOF 9731 9732 9733 9734ac_delim='%!_!# ' 9735for ac_last_try in false false false false false :; do 9736 cat >conf$$subs.sed <<_ACEOF 9737SHELL!$SHELL$ac_delim 9738PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 9739PACKAGE_NAME!$PACKAGE_NAME$ac_delim 9740PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 9741PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 9742PACKAGE_STRING!$PACKAGE_STRING$ac_delim 9743PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 9744exec_prefix!$exec_prefix$ac_delim 9745prefix!$prefix$ac_delim 9746program_transform_name!$program_transform_name$ac_delim 9747bindir!$bindir$ac_delim 9748sbindir!$sbindir$ac_delim 9749libexecdir!$libexecdir$ac_delim 9750datarootdir!$datarootdir$ac_delim 9751datadir!$datadir$ac_delim 9752sysconfdir!$sysconfdir$ac_delim 9753sharedstatedir!$sharedstatedir$ac_delim 9754localstatedir!$localstatedir$ac_delim 9755includedir!$includedir$ac_delim 9756oldincludedir!$oldincludedir$ac_delim 9757docdir!$docdir$ac_delim 9758infodir!$infodir$ac_delim 9759htmldir!$htmldir$ac_delim 9760dvidir!$dvidir$ac_delim 9761pdfdir!$pdfdir$ac_delim 9762psdir!$psdir$ac_delim 9763libdir!$libdir$ac_delim 9764localedir!$localedir$ac_delim 9765mandir!$mandir$ac_delim 9766DEFS!$DEFS$ac_delim 9767ECHO_C!$ECHO_C$ac_delim 9768ECHO_N!$ECHO_N$ac_delim 9769ECHO_T!$ECHO_T$ac_delim 9770LIBS!$LIBS$ac_delim 9771build_alias!$build_alias$ac_delim 9772host_alias!$host_alias$ac_delim 9773target_alias!$target_alias$ac_delim 9774INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 9775INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 9776INSTALL_DATA!$INSTALL_DATA$ac_delim 9777CYGPATH_W!$CYGPATH_W$ac_delim 9778PACKAGE!$PACKAGE$ac_delim 9779VERSION!$VERSION$ac_delim 9780ACLOCAL!$ACLOCAL$ac_delim 9781AUTOCONF!$AUTOCONF$ac_delim 9782AUTOMAKE!$AUTOMAKE$ac_delim 9783AUTOHEADER!$AUTOHEADER$ac_delim 9784MAKEINFO!$MAKEINFO$ac_delim 9785AMTAR!$AMTAR$ac_delim 9786install_sh!$install_sh$ac_delim 9787STRIP!$STRIP$ac_delim 9788INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 9789AWK!$AWK$ac_delim 9790SET_MAKE!$SET_MAKE$ac_delim 9791am__leading_dot!$am__leading_dot$ac_delim 9792MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 9793MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 9794MAINT!$MAINT$ac_delim 9795SPEC_RELEASE!$SPEC_RELEASE$ac_delim 9796CC!$CC$ac_delim 9797CFLAGS!$CFLAGS$ac_delim 9798LDFLAGS!$LDFLAGS$ac_delim 9799CPPFLAGS!$CPPFLAGS$ac_delim 9800ac_ct_CC!$ac_ct_CC$ac_delim 9801EXEEXT!$EXEEXT$ac_delim 9802OBJEXT!$OBJEXT$ac_delim 9803DEPDIR!$DEPDIR$ac_delim 9804am__include!$am__include$ac_delim 9805am__quote!$am__quote$ac_delim 9806AMDEP_TRUE!$AMDEP_TRUE$ac_delim 9807AMDEP_FALSE!$AMDEP_FALSE$ac_delim 9808AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 9809CCDEPMODE!$CCDEPMODE$ac_delim 9810am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 9811am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 9812LN_S!$LN_S$ac_delim 9813CPP!$CPP$ac_delim 9814GREP!$GREP$ac_delim 9815EGREP!$EGREP$ac_delim 9816PKG_CONFIG!$PKG_CONFIG$ac_delim 9817GTK_CFLAGS!$GTK_CFLAGS$ac_delim 9818GTK_LIBS!$GTK_LIBS$ac_delim 9819ENABLE_MP3_TRUE!$ENABLE_MP3_TRUE$ac_delim 9820ENABLE_MP3_FALSE!$ENABLE_MP3_FALSE$ac_delim 9821ENABLE_VORBIS_TRUE!$ENABLE_VORBIS_TRUE$ac_delim 9822ENABLE_VORBIS_FALSE!$ENABLE_VORBIS_FALSE$ac_delim 9823LIBOBJS!$LIBOBJS$ac_delim 9824POW_LIB!$POW_LIB$ac_delim 9825INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim 9826INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim 9827INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim 9828INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim 9829INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim 9830INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim 9831INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim 9832INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim 9833INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim 9834_ACEOF 9835 9836 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 9837 break 9838 elif $ac_last_try; then 9839 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9840echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9841 { (exit 1); exit 1; }; } 9842 else 9843 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9844 fi 9845done 9846 9847ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9848if test -n "$ac_eof"; then 9849 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9850 ac_eof=`expr $ac_eof + 1` 9851fi 9852 9853cat >>$CONFIG_STATUS <<_ACEOF 9854cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 9855/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9856_ACEOF 9857sed ' 9858s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9859s/^/s,@/; s/!/@,|#_!!_#|/ 9860:n 9861t n 9862s/'"$ac_delim"'$/,g/; t 9863s/$/\\/; p 9864N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9865' >>$CONFIG_STATUS <conf$$subs.sed 9866rm -f conf$$subs.sed 9867cat >>$CONFIG_STATUS <<_ACEOF 9868CEOF$ac_eof 9869_ACEOF 9870 9871 9872ac_delim='%!_!# ' 9873for ac_last_try in false false false false false :; do 9874 cat >conf$$subs.sed <<_ACEOF 9875INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim 9876INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim 9877INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim 9878INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim 9879INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim 9880INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim 9881INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim 9882INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim 9883INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim 9884INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim 9885INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim 9886INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim 9887INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim 9888INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim 9889INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim 9890INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim 9891INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim 9892ALL_LINGUAS!$ALL_LINGUAS$ac_delim 9893GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim 9894USE_NLS!$USE_NLS$ac_delim 9895MSGFMT!$MSGFMT$ac_delim 9896GMSGFMT!$GMSGFMT$ac_delim 9897XGETTEXT!$XGETTEXT$ac_delim 9898CATALOGS!$CATALOGS$ac_delim 9899CATOBJEXT!$CATOBJEXT$ac_delim 9900DATADIRNAME!$DATADIRNAME$ac_delim 9901GMOFILES!$GMOFILES$ac_delim 9902INSTOBJEXT!$INSTOBJEXT$ac_delim 9903INTLLIBS!$INTLLIBS$ac_delim 9904PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim 9905PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim 9906POFILES!$POFILES$ac_delim 9907POSUB!$POSUB$ac_delim 9908MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim 9909LTLIBOBJS!$LTLIBOBJS$ac_delim 9910_ACEOF 9911 9912 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then 9913 break 9914 elif $ac_last_try; then 9915 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9916echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9917 { (exit 1); exit 1; }; } 9918 else 9919 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9920 fi 9921done 9922 9923ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9924if test -n "$ac_eof"; then 9925 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9926 ac_eof=`expr $ac_eof + 1` 9927fi 9928 9929cat >>$CONFIG_STATUS <<_ACEOF 9930cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 9931/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 9932_ACEOF 9933sed ' 9934s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9935s/^/s,@/; s/!/@,|#_!!_#|/ 9936:n 9937t n 9938s/'"$ac_delim"'$/,g/; t 9939s/$/\\/; p 9940N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9941' >>$CONFIG_STATUS <conf$$subs.sed 9942rm -f conf$$subs.sed 9943cat >>$CONFIG_STATUS <<_ACEOF 9944:end 9945s/|#_!!_#|//g 9946CEOF$ac_eof 9947_ACEOF 9948 9949 9950# VPATH may cause trouble with some makes, so we remove $(srcdir), 9951# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9952# trailing colons and then remove the whole line if VPATH becomes empty 9953# (actually we leave an empty line to preserve line numbers). 9954if test "x$srcdir" = x.; then 9955 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9956s/:*\$(srcdir):*/:/ 9957s/:*\${srcdir}:*/:/ 9958s/:*@srcdir@:*/:/ 9959s/^\([^=]*=[ ]*\):*/\1/ 9960s/:*$// 9961s/^[^=]*=[ ]*$// 9962}' 9963fi 9964 9965cat >>$CONFIG_STATUS <<\_ACEOF 9966fi # test -n "$CONFIG_FILES" 9967 9968 9969for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 9970do 9971 case $ac_tag in 9972 :[FHLC]) ac_mode=$ac_tag; continue;; 9973 esac 9974 case $ac_mode$ac_tag in 9975 :[FHL]*:*);; 9976 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 9977echo "$as_me: error: Invalid tag $ac_tag." >&2;} 9978 { (exit 1); exit 1; }; };; 9979 :[FH]-) ac_tag=-:-;; 9980 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9981 esac 9982 ac_save_IFS=$IFS 9983 IFS=: 9984 set x $ac_tag 9985 IFS=$ac_save_IFS 9986 shift 9987 ac_file=$1 9988 shift 9989 9990 case $ac_mode in 9991 :L) ac_source=$1;; 9992 :[FH]) 9993 ac_file_inputs= 9994 for ac_f 9995 do 9996 case $ac_f in 9997 -) ac_f="$tmp/stdin";; 9998 *) # Look for the file first in the build tree, then in the source tree 9999 # (if the path is not absolute). The absolute path cannot be DOS-style, 10000 # because $ac_f cannot contain `:'. 10001 test -f "$ac_f" || 10002 case $ac_f in 10003 [\\/$]*) false;; 10004 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10005 esac || 10006 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10007echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10008 { (exit 1); exit 1; }; };; 10009 esac 10010 ac_file_inputs="$ac_file_inputs $ac_f" 10011 done 10012 10013 # Let's still pretend it is `configure' which instantiates (i.e., don't 10014 # use $as_me), people would be surprised to read: 10015 # /* config.h. Generated by config.status. */ 10016 configure_input="Generated from "`IFS=: 10017 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10018 if test x"$ac_file" != x-; then 10019 configure_input="$ac_file. $configure_input" 10020 { echo "$as_me:$LINENO: creating $ac_file" >&5 10021echo "$as_me: creating $ac_file" >&6;} 10022 fi 10023 10024 case $ac_tag in 10025 *:-:* | *:-) cat >"$tmp/stdin";; 10026 esac 10027 ;; 10028 esac 10029 10030 ac_dir=`$as_dirname -- "$ac_file" || 10031$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10032 X"$ac_file" : 'X\(//\)[^/]' \| \ 10033 X"$ac_file" : 'X\(//\)$' \| \ 10034 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10035echo X"$ac_file" | 10036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10037 s//\1/ 10038 q 10039 } 10040 /^X\(\/\/\)[^/].*/{ 10041 s//\1/ 10042 q 10043 } 10044 /^X\(\/\/\)$/{ 10045 s//\1/ 10046 q 10047 } 10048 /^X\(\/\).*/{ 10049 s//\1/ 10050 q 10051 } 10052 s/.*/./; q'` 10053 { as_dir="$ac_dir" 10054 case $as_dir in #( 10055 -*) as_dir=./$as_dir;; 10056 esac 10057 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10058 as_dirs= 10059 while :; do 10060 case $as_dir in #( 10061 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 10062 *) as_qdir=$as_dir;; 10063 esac 10064 as_dirs="'$as_qdir' $as_dirs" 10065 as_dir=`$as_dirname -- "$as_dir" || 10066$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10067 X"$as_dir" : 'X\(//\)[^/]' \| \ 10068 X"$as_dir" : 'X\(//\)$' \| \ 10069 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10070echo X"$as_dir" | 10071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10072 s//\1/ 10073 q 10074 } 10075 /^X\(\/\/\)[^/].*/{ 10076 s//\1/ 10077 q 10078 } 10079 /^X\(\/\/\)$/{ 10080 s//\1/ 10081 q 10082 } 10083 /^X\(\/\).*/{ 10084 s//\1/ 10085 q 10086 } 10087 s/.*/./; q'` 10088 test -d "$as_dir" && break 10089 done 10090 test -z "$as_dirs" || eval "mkdir $as_dirs" 10091 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10092echo "$as_me: error: cannot create directory $as_dir" >&2;} 10093 { (exit 1); exit 1; }; }; } 10094 ac_builddir=. 10095 10096case "$ac_dir" in 10097.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10098*) 10099 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 10100 # A ".." for each directory in $ac_dir_suffix. 10101 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 10102 case $ac_top_builddir_sub in 10103 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10104 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10105 esac ;; 10106esac 10107ac_abs_top_builddir=$ac_pwd 10108ac_abs_builddir=$ac_pwd$ac_dir_suffix 10109# for backward compatibility: 10110ac_top_builddir=$ac_top_build_prefix 10111 10112case $srcdir in 10113 .) # We are building in place. 10114 ac_srcdir=. 10115 ac_top_srcdir=$ac_top_builddir_sub 10116 ac_abs_top_srcdir=$ac_pwd ;; 10117 [\\/]* | ?:[\\/]* ) # Absolute name. 10118 ac_srcdir=$srcdir$ac_dir_suffix; 10119 ac_top_srcdir=$srcdir 10120 ac_abs_top_srcdir=$srcdir ;; 10121 *) # Relative name. 10122 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10123 ac_top_srcdir=$ac_top_build_prefix$srcdir 10124 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10125esac 10126ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10127 10128 10129 case $ac_mode in 10130 :F) 10131 # 10132 # CONFIG_FILE 10133 # 10134 10135 case $INSTALL in 10136 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10137 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 10138 esac 10139_ACEOF 10140 10141cat >>$CONFIG_STATUS <<\_ACEOF 10142# If the template does not know about datarootdir, expand it. 10143# FIXME: This hack should be removed a few years after 2.60. 10144ac_datarootdir_hack=; ac_datarootdir_seen= 10145 10146case `sed -n '/datarootdir/ { 10147 p 10148 q 10149} 10150/@datadir@/p 10151/@docdir@/p 10152/@infodir@/p 10153/@localedir@/p 10154/@mandir@/p 10155' $ac_file_inputs` in 10156*datarootdir*) ac_datarootdir_seen=yes;; 10157*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10158 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10159echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10160_ACEOF 10161cat >>$CONFIG_STATUS <<_ACEOF 10162 ac_datarootdir_hack=' 10163 s&@datadir@&$datadir&g 10164 s&@docdir@&$docdir&g 10165 s&@infodir@&$infodir&g 10166 s&@localedir@&$localedir&g 10167 s&@mandir@&$mandir&g 10168 s&\\\${datarootdir}&$datarootdir&g' ;; 10169esac 10170_ACEOF 10171 10172# Neutralize VPATH when `$srcdir' = `.'. 10173# Shell code in configure.ac might set extrasub. 10174# FIXME: do we really want to maintain this feature? 10175cat >>$CONFIG_STATUS <<_ACEOF 10176 sed "$ac_vpsub 10177$extrasub 10178_ACEOF 10179cat >>$CONFIG_STATUS <<\_ACEOF 10180:t 10181/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10182s&@configure_input@&$configure_input&;t t 10183s&@top_builddir@&$ac_top_builddir_sub&;t t 10184s&@srcdir@&$ac_srcdir&;t t 10185s&@abs_srcdir@&$ac_abs_srcdir&;t t 10186s&@top_srcdir@&$ac_top_srcdir&;t t 10187s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10188s&@builddir@&$ac_builddir&;t t 10189s&@abs_builddir@&$ac_abs_builddir&;t t 10190s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10191s&@INSTALL@&$ac_INSTALL&;t t 10192$ac_datarootdir_hack 10193" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10194 10195test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10196 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10197 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10198 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10199which seems to be undefined. Please make sure it is defined." >&5 10200echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10201which seems to be undefined. Please make sure it is defined." >&2;} 10202 10203 rm -f "$tmp/stdin" 10204 case $ac_file in 10205 -) cat "$tmp/out"; rm -f "$tmp/out";; 10206 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 10207 esac 10208 ;; 10209 :H) 10210 # 10211 # CONFIG_HEADER 10212 # 10213_ACEOF 10214 10215# Transform confdefs.h into a sed script `conftest.defines', that 10216# substitutes the proper values into config.h.in to produce config.h. 10217rm -f conftest.defines conftest.tail 10218# First, append a space to every undef/define line, to ease matching. 10219echo 's/$/ /' >conftest.defines 10220# Then, protect against being on the right side of a sed subst, or in 10221# an unquoted here document, in config.status. If some macros were 10222# called several times there might be several #defines for the same 10223# symbol, which is useless. But do not sort them, since the last 10224# AC_DEFINE must be honored. 10225ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10226# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 10227# NAME is the cpp macro being defined, VALUE is the value it is being given. 10228# PARAMS is the parameter list in the macro definition--in most cases, it's 10229# just an empty string. 10230ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 10231ac_dB='\\)[ (].*,\\1define\\2' 10232ac_dC=' ' 10233ac_dD=' ,' 10234 10235uniq confdefs.h | 10236 sed -n ' 10237 t rset 10238 :rset 10239 s/^[ ]*#[ ]*define[ ][ ]*// 10240 t ok 10241 d 10242 :ok 10243 s/[\\&,]/\\&/g 10244 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 10245 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 10246 ' >>conftest.defines 10247 10248# Remove the space that was appended to ease matching. 10249# Then replace #undef with comments. This is necessary, for 10250# example, in the case of _POSIX_SOURCE, which is predefined and required 10251# on some systems where configure will not decide to define it. 10252# (The regexp can be short, since the line contains either #define or #undef.) 10253echo 's/ $// 10254s,^[ #]*u.*,/* & */,' >>conftest.defines 10255 10256# Break up conftest.defines: 10257ac_max_sed_lines=50 10258 10259# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 10260# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 10261# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 10262# et cetera. 10263ac_in='$ac_file_inputs' 10264ac_out='"$tmp/out1"' 10265ac_nxt='"$tmp/out2"' 10266 10267while : 10268do 10269 # Write a here document: 10270 cat >>$CONFIG_STATUS <<_ACEOF 10271 # First, check the format of the line: 10272 cat >"\$tmp/defines.sed" <<\\CEOF 10273/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 10274/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 10275b 10276:def 10277_ACEOF 10278 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 10279 echo 'CEOF 10280 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 10281 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 10282 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 10283 grep . conftest.tail >/dev/null || break 10284 rm -f conftest.defines 10285 mv conftest.tail conftest.defines 10286done 10287rm -f conftest.defines conftest.tail 10288 10289echo "ac_result=$ac_in" >>$CONFIG_STATUS 10290cat >>$CONFIG_STATUS <<\_ACEOF 10291 if test x"$ac_file" != x-; then 10292 echo "/* $configure_input */" >"$tmp/config.h" 10293 cat "$ac_result" >>"$tmp/config.h" 10294 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 10295 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10296echo "$as_me: $ac_file is unchanged" >&6;} 10297 else 10298 rm -f $ac_file 10299 mv "$tmp/config.h" $ac_file 10300 fi 10301 else 10302 echo "/* $configure_input */" 10303 cat "$ac_result" 10304 fi 10305 rm -f "$tmp/out12" 10306# Compute $ac_file's index in $config_headers. 10307_am_stamp_count=1 10308for _am_header in $config_headers :; do 10309 case $_am_header in 10310 $ac_file | $ac_file:* ) 10311 break ;; 10312 * ) 10313 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 10314 esac 10315done 10316echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 10317$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10318 X$ac_file : 'X\(//\)[^/]' \| \ 10319 X$ac_file : 'X\(//\)$' \| \ 10320 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 10321echo X$ac_file | 10322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10323 s//\1/ 10324 q 10325 } 10326 /^X\(\/\/\)[^/].*/{ 10327 s//\1/ 10328 q 10329 } 10330 /^X\(\/\/\)$/{ 10331 s//\1/ 10332 q 10333 } 10334 /^X\(\/\).*/{ 10335 s//\1/ 10336 q 10337 } 10338 s/.*/./; q'`/stamp-h$_am_stamp_count 10339 ;; 10340 10341 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 10342echo "$as_me: executing $ac_file commands" >&6;} 10343 ;; 10344 esac 10345 10346 10347 case $ac_file$ac_mode in 10348 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 10349 # Strip MF so we end up with the name of the file. 10350 mf=`echo "$mf" | sed -e 's/:.*$//'` 10351 # Check whether this is an Automake generated Makefile or not. 10352 # We used to match only the files named `Makefile.in', but 10353 # some people rename them; so instead we look at the file content. 10354 # Grep'ing the first line is not enough: some people post-process 10355 # each Makefile.in and add a new line on top of each file to say so. 10356 # So let's grep whole file. 10357 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 10358 dirpart=`$as_dirname -- "$mf" || 10359$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10360 X"$mf" : 'X\(//\)[^/]' \| \ 10361 X"$mf" : 'X\(//\)$' \| \ 10362 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10363echo X"$mf" | 10364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10365 s//\1/ 10366 q 10367 } 10368 /^X\(\/\/\)[^/].*/{ 10369 s//\1/ 10370 q 10371 } 10372 /^X\(\/\/\)$/{ 10373 s//\1/ 10374 q 10375 } 10376 /^X\(\/\).*/{ 10377 s//\1/ 10378 q 10379 } 10380 s/.*/./; q'` 10381 else 10382 continue 10383 fi 10384 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 10385 # Extract the definition of DEP_FILES from the Makefile without 10386 # running `make'. 10387 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 10388 test -z "$DEPDIR" && continue 10389 # When using ansi2knr, U may be empty or an underscore; expand it 10390 U=`sed -n -e '/^U = / s///p' < "$mf"` 10391 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 10392 # We invoke sed twice because it is the simplest approach to 10393 # changing $(DEPDIR) to its actual value in the expansion. 10394 for file in `sed -n -e ' 10395 /^DEP_FILES = .*\\\\$/ { 10396 s/^DEP_FILES = // 10397 :loop 10398 s/\\\\$// 10399 p 10400 n 10401 /\\\\$/ b loop 10402 p 10403 } 10404 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 10405 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10406 # Make sure the directory exists. 10407 test -f "$dirpart/$file" && continue 10408 fdir=`$as_dirname -- "$file" || 10409$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10410 X"$file" : 'X\(//\)[^/]' \| \ 10411 X"$file" : 'X\(//\)$' \| \ 10412 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10413echo X"$file" | 10414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10415 s//\1/ 10416 q 10417 } 10418 /^X\(\/\/\)[^/].*/{ 10419 s//\1/ 10420 q 10421 } 10422 /^X\(\/\/\)$/{ 10423 s//\1/ 10424 q 10425 } 10426 /^X\(\/\).*/{ 10427 s//\1/ 10428 q 10429 } 10430 s/.*/./; q'` 10431 { as_dir=$dirpart/$fdir 10432 case $as_dir in #( 10433 -*) as_dir=./$as_dir;; 10434 esac 10435 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10436 as_dirs= 10437 while :; do 10438 case $as_dir in #( 10439 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 10440 *) as_qdir=$as_dir;; 10441 esac 10442 as_dirs="'$as_qdir' $as_dirs" 10443 as_dir=`$as_dirname -- "$as_dir" || 10444$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10445 X"$as_dir" : 'X\(//\)[^/]' \| \ 10446 X"$as_dir" : 'X\(//\)$' \| \ 10447 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10448echo X"$as_dir" | 10449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10450 s//\1/ 10451 q 10452 } 10453 /^X\(\/\/\)[^/].*/{ 10454 s//\1/ 10455 q 10456 } 10457 /^X\(\/\/\)$/{ 10458 s//\1/ 10459 q 10460 } 10461 /^X\(\/\).*/{ 10462 s//\1/ 10463 q 10464 } 10465 s/.*/./; q'` 10466 test -d "$as_dir" && break 10467 done 10468 test -z "$as_dirs" || eval "mkdir $as_dirs" 10469 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10470echo "$as_me: error: cannot create directory $as_dir" >&2;} 10471 { (exit 1); exit 1; }; }; } 10472 # echo "creating $dirpart/$file" 10473 echo '# dummy' > "$dirpart/$file" 10474 done 10475done 10476 ;; 10477 "intltool":C) 10478 10479for file in intltool-extract intltool-merge intltool-update; do 10480 sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ 10481 -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ 10482 -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \ 10483 -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ 10484 -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ 10485 -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \ 10486 -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ 10487 < ${ac_aux_dir}/${file}.in > ${file}.out 10488 if cmp -s ${file} ${file}.out 2>/dev/null; then 10489 rm -f ${file}.out 10490 else 10491 mv -f ${file}.out ${file} 10492 fi 10493 chmod ugo+x ${file} 10494 chmod u+w ${file} 10495done 10496 10497 ;; 10498 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 10499 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 10500 esac ;; 10501 "po/stamp-it":C) 10502 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 10503 >"po/stamp-it.tmp" 10504 sed '/^#/d 10505 s/^[[].*] *// 10506 /^[ ]*$/d 10507 '"s|^| $ac_top_srcdir/|" \ 10508 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 10509 10510 if test ! -f "po/Makefile"; then 10511 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5 10512echo "$as_me: error: po/Makefile is not ready." >&2;} 10513 { (exit 1); exit 1; }; } 10514 fi 10515 mv "po/Makefile" "po/Makefile.tmp" 10516 sed '/^POTFILES =/,/[^\\]$/ { 10517 /^POTFILES =/!d 10518 r po/POTFILES 10519 } 10520 ' "po/Makefile.tmp" >"po/Makefile" 10521 rm -f "po/Makefile.tmp" 10522 mv "po/stamp-it.tmp" "po/stamp-it" 10523 ;; 10524 10525 esac 10526done # for ac_tag 10527 10528 10529{ (exit 0); exit 0; } 10530_ACEOF 10531chmod +x $CONFIG_STATUS 10532ac_clean_files=$ac_clean_files_save 10533 10534 10535# configure is writing to config.log, and then calls config.status. 10536# config.status does its own redirection, appending to config.log. 10537# Unfortunately, on DOS this fails, as config.log is still kept open 10538# by configure, so config.status won't be able to write to it; its 10539# output is simply discarded. So we exec the FD to /dev/null, 10540# effectively closing config.log, so it can be properly (re)opened and 10541# appended to by config.status. When coming back to configure, we 10542# need to make the FD available again. 10543if test "$no_create" != yes; then 10544 ac_cs_success=: 10545 ac_config_status_args= 10546 test "$silent" = yes && 10547 ac_config_status_args="$ac_config_status_args --quiet" 10548 exec 5>/dev/null 10549 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 10550 exec 5>>config.log 10551 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10552 # would make configure fail if this is the last instruction. 10553 $ac_cs_success || { (exit 1); exit 1; } 10554fi 10555 10556 10557 10558{ echo "$as_me:$LINENO: result: 10559Configuration information: 10560 10561 MP3 support: $enable_mp3 $disable_mp3_reason 10562 Ogg Vorbis support: $enable_vorbis $disable_vorbis_reason 10563 10564Now run 'make' to compile $PACKAGE_NAME 10565" >&5 10566echo "${ECHO_T} 10567Configuration information: 10568 10569 MP3 support: $enable_mp3 $disable_mp3_reason 10570 Ogg Vorbis support: $enable_vorbis $disable_vorbis_reason 10571 10572Now run 'make' to compile $PACKAGE_NAME 10573" >&6; } 10574