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