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