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