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