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