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