2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.59 for mplayerplug-in 3.35.
5
@%:@ Report bugs to <mplayerplug-in-devel@lists.sourceforge.net>.
7
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
8
@%:@ This configure script is free software; the Free Software Foundation
9
@%:@ gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='mplayerplug-in'
271
PACKAGE_TARNAME='mplayerplug-in'
272
PACKAGE_VERSION='3.35'
273
PACKAGE_STRING='mplayerplug-in 3.35'
274
PACKAGE_BUGREPORT='mplayerplug-in-devel@lists.sourceforge.net'
276
ac_unique_file="config.h.in"
277
ac_config_libobj_dir=Source
278
# Factoring default headers for most tests.
279
ac_includes_default="\
282
# include <sys/types.h>
285
# include <sys/stat.h>
296
# if !STDC_HEADERS && HAVE_MEMORY_H
302
# include <strings.h>
305
# include <inttypes.h>
315
ac_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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK SET_MAKE GECKO_SDK_PREFIX GECKO_DEFINES PKG_CONFIG ac_pt_PKG_CONFIG MOZPLUG_CFLAGS MOZPLUG_LIBS MOZILLA_HOME GTK_CFLAGS GTK_LIBS GTK24_CFLAGS GTK24_LIBS GTHREAD_CFLAGS GTHREAD_LIBS CREATE CXXFLAGS64 LDFLAGS64 GTK_DEFINES CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS EGREP LIB@&t@OBJS LOCALEDIR SUBDIR INSTALL_SUBDIR XPM_LIBS XEXT_LIBS LTLIBOBJS'
318
# Initialize some variables set by options.
320
ac_init_version=false
321
# The variables have the same names as the options, with
322
# dashes changed to underlines.
330
program_transform_name=s,x,x,
338
# Installation directory options.
339
# These are left unexpanded so users can "make install exec_prefix=/foo"
340
# and all the variables that are supposed to be based on exec_prefix
341
# by default will actually change.
342
# Use braces instead of parens because sh, perl, etc. also accept them.
343
bindir='${exec_prefix}/bin'
344
sbindir='${exec_prefix}/sbin'
345
libexecdir='${exec_prefix}/libexec'
346
datadir='${prefix}/share'
347
sysconfdir='${prefix}/etc'
348
sharedstatedir='${prefix}/com'
349
localstatedir='${prefix}/var'
350
libdir='${exec_prefix}/lib'
351
includedir='${prefix}/include'
352
oldincludedir='/usr/include'
353
infodir='${prefix}/info'
354
mandir='${prefix}/man'
359
# If the previous option needs an argument, assign it.
360
if test -n "$ac_prev"; then
361
eval "$ac_prev=\$ac_option"
366
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
# Accept the important Cygnus configure options, so we can diagnose typos.
372
-bindir | --bindir | --bindi | --bind | --bin | --bi)
374
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377
-build | --build | --buil | --bui | --bu)
378
ac_prev=build_alias ;;
379
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
380
build_alias=$ac_optarg ;;
382
-cache-file | --cache-file | --cache-fil | --cache-fi \
383
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384
ac_prev=cache_file ;;
385
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387
cache_file=$ac_optarg ;;
390
cache_file=config.cache ;;
392
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396
datadir=$ac_optarg ;;
398
-disable-* | --disable-*)
399
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400
# Reject names that are not valid shell variable names.
401
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
403
{ (exit 1); exit 1; }; }
404
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405
eval "enable_$ac_feature=no" ;;
407
-enable-* | --enable-*)
408
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409
# Reject names that are not valid shell variable names.
410
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
412
{ (exit 1); exit 1; }; }
413
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418
eval "enable_$ac_feature='$ac_optarg'" ;;
420
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422
| --exec | --exe | --ex)
423
ac_prev=exec_prefix ;;
424
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426
| --exec=* | --exe=* | --ex=*)
427
exec_prefix=$ac_optarg ;;
429
-gas | --gas | --ga | --g)
430
# Obsolete; use --with-gas.
433
-help | --help | --hel | --he | -h)
435
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436
ac_init_help=recursive ;;
437
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438
ac_init_help=short ;;
440
-host | --host | --hos | --ho)
441
ac_prev=host_alias ;;
442
-host=* | --host=* | --hos=* | --ho=*)
443
host_alias=$ac_optarg ;;
445
-includedir | --includedir | --includedi | --included | --include \
446
| --includ | --inclu | --incl | --inc)
447
ac_prev=includedir ;;
448
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449
| --includ=* | --inclu=* | --incl=* | --inc=*)
450
includedir=$ac_optarg ;;
452
-infodir | --infodir | --infodi | --infod | --info | --inf)
454
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455
infodir=$ac_optarg ;;
457
-libdir | --libdir | --libdi | --libd)
459
-libdir=* | --libdir=* | --libdi=* | --libd=*)
462
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463
| --libexe | --libex | --libe)
464
ac_prev=libexecdir ;;
465
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466
| --libexe=* | --libex=* | --libe=*)
467
libexecdir=$ac_optarg ;;
469
-localstatedir | --localstatedir | --localstatedi | --localstated \
470
| --localstate | --localstat | --localsta | --localst \
471
| --locals | --local | --loca | --loc | --lo)
472
ac_prev=localstatedir ;;
473
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
475
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476
localstatedir=$ac_optarg ;;
478
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484
# Obsolete; use --without-fp.
487
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
488
| --no-cr | --no-c | -n)
491
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
492
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497
| --oldin | --oldi | --old | --ol | --o)
498
ac_prev=oldincludedir ;;
499
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502
oldincludedir=$ac_optarg ;;
504
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509
-program-prefix | --program-prefix | --program-prefi | --program-pref \
510
| --program-pre | --program-pr | --program-p)
511
ac_prev=program_prefix ;;
512
-program-prefix=* | --program-prefix=* | --program-prefi=* \
513
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514
program_prefix=$ac_optarg ;;
516
-program-suffix | --program-suffix | --program-suffi | --program-suff \
517
| --program-suf | --program-su | --program-s)
518
ac_prev=program_suffix ;;
519
-program-suffix=* | --program-suffix=* | --program-suffi=* \
520
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521
program_suffix=$ac_optarg ;;
523
-program-transform-name | --program-transform-name \
524
| --program-transform-nam | --program-transform-na \
525
| --program-transform-n | --program-transform- \
526
| --program-transform | --program-transfor \
527
| --program-transfo | --program-transf \
528
| --program-trans | --program-tran \
529
| --progr-tra | --program-tr | --program-t)
530
ac_prev=program_transform_name ;;
531
-program-transform-name=* | --program-transform-name=* \
532
| --program-transform-nam=* | --program-transform-na=* \
533
| --program-transform-n=* | --program-transform-=* \
534
| --program-transform=* | --program-transfor=* \
535
| --program-transfo=* | --program-transf=* \
536
| --program-trans=* | --program-tran=* \
537
| --progr-tra=* | --program-tr=* | --program-t=*)
538
program_transform_name=$ac_optarg ;;
540
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
541
| -silent | --silent | --silen | --sile | --sil)
544
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548
sbindir=$ac_optarg ;;
550
-sharedstatedir | --sharedstatedir | --sharedstatedi \
551
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552
| --sharedst | --shareds | --shared | --share | --shar \
554
ac_prev=sharedstatedir ;;
555
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559
sharedstatedir=$ac_optarg ;;
561
-site | --site | --sit)
563
-site=* | --site=* | --sit=*)
566
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572
| --syscon | --sysco | --sysc | --sys | --sy)
573
ac_prev=sysconfdir ;;
574
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576
sysconfdir=$ac_optarg ;;
578
-target | --target | --targe | --targ | --tar | --ta | --t)
579
ac_prev=target_alias ;;
580
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581
target_alias=$ac_optarg ;;
583
-v | -verbose | --verbose | --verbos | --verbo | --verb)
586
-version | --version | --versio | --versi | --vers | -V)
590
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591
# Reject names that are not valid shell variable names.
592
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593
{ echo "$as_me: error: invalid package name: $ac_package" >&2
594
{ (exit 1); exit 1; }; }
595
ac_package=`echo $ac_package| sed 's/-/_/g'`
597
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600
eval "with_$ac_package='$ac_optarg'" ;;
602
-without-* | --without-*)
603
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604
# Reject names that are not valid shell variable names.
605
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606
{ echo "$as_me: error: invalid package name: $ac_package" >&2
607
{ (exit 1); exit 1; }; }
608
ac_package=`echo $ac_package | sed 's/-/_/g'`
609
eval "with_$ac_package=no" ;;
612
# Obsolete; use --with-x.
615
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616
| --x-incl | --x-inc | --x-in | --x-i)
617
ac_prev=x_includes ;;
618
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620
x_includes=$ac_optarg ;;
622
-x-libraries | --x-libraries | --x-librarie | --x-librari \
623
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624
ac_prev=x_libraries ;;
625
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627
x_libraries=$ac_optarg ;;
629
-*) { echo "$as_me: error: unrecognized option: $ac_option
630
Try \`$0 --help' for more information." >&2
631
{ (exit 1); exit 1; }; }
635
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636
# Reject names that are not valid shell variable names.
637
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639
{ (exit 1); exit 1; }; }
640
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641
eval "$ac_envvar='$ac_optarg'"
645
# FIXME: should be removed in autoconf 3.0.
646
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655
if test -n "$ac_prev"; then
656
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657
{ echo "$as_me: error: missing argument to $ac_option" >&2
658
{ (exit 1); exit 1; }; }
661
# Be sure to have absolute paths.
662
for ac_var in exec_prefix prefix
664
eval ac_val=$`echo $ac_var`
666
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668
{ (exit 1); exit 1; }; };;
672
# Be sure to have absolute paths.
673
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674
localstatedir libdir includedir oldincludedir infodir mandir
676
eval ac_val=$`echo $ac_var`
678
[\\/$]* | ?:[\\/]* ) ;;
679
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680
{ (exit 1); exit 1; }; };;
684
# There might be people who depend on the old broken behavior: `$host'
685
# used to hold the argument of --host etc.
686
# FIXME: To remove some day.
691
# FIXME: To remove some day.
692
if test "x$host_alias" != x; then
693
if test "x$build_alias" = x; then
694
cross_compiling=maybe
695
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696
If a cross compiler is detected then cross compile mode will be used." >&2
697
elif test "x$build_alias" != "x$host_alias"; then
703
test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
test "$silent" = yes && exec 6>/dev/null
708
# Find the source files, if location was not specified.
709
if test -z "$srcdir"; then
710
ac_srcdir_defaulted=yes
711
# Try the directory containing this script, then its parent.
712
ac_confdir=`(dirname "$0") 2>/dev/null ||
713
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714
X"$0" : 'X\(//\)[^/]' \| \
715
X"$0" : 'X\(//\)$' \| \
716
X"$0" : 'X\(/\)' \| \
717
. : '\(.\)' 2>/dev/null ||
719
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
721
/^X\(\/\/\)$/{ s//\1/; q; }
722
/^X\(\/\).*/{ s//\1/; q; }
725
if test ! -r $srcdir/$ac_unique_file; then
729
ac_srcdir_defaulted=no
731
if test ! -r $srcdir/$ac_unique_file; then
732
if test "$ac_srcdir_defaulted" = yes; then
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734
{ (exit 1); exit 1; }; }
736
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737
{ (exit 1); exit 1; }; }
740
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742
{ (exit 1); exit 1; }; }
743
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744
ac_env_build_alias_set=${build_alias+set}
745
ac_env_build_alias_value=$build_alias
746
ac_cv_env_build_alias_set=${build_alias+set}
747
ac_cv_env_build_alias_value=$build_alias
748
ac_env_host_alias_set=${host_alias+set}
749
ac_env_host_alias_value=$host_alias
750
ac_cv_env_host_alias_set=${host_alias+set}
751
ac_cv_env_host_alias_value=$host_alias
752
ac_env_target_alias_set=${target_alias+set}
753
ac_env_target_alias_value=$target_alias
754
ac_cv_env_target_alias_set=${target_alias+set}
755
ac_cv_env_target_alias_value=$target_alias
756
ac_env_CXX_set=${CXX+set}
757
ac_env_CXX_value=$CXX
758
ac_cv_env_CXX_set=${CXX+set}
759
ac_cv_env_CXX_value=$CXX
760
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
761
ac_env_CXXFLAGS_value=$CXXFLAGS
762
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
763
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
764
ac_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_env_LDFLAGS_value=$LDFLAGS
766
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767
ac_cv_env_LDFLAGS_value=$LDFLAGS
768
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_env_CPPFLAGS_value=$CPPFLAGS
770
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772
ac_env_CC_set=${CC+set}
774
ac_cv_env_CC_set=${CC+set}
775
ac_cv_env_CC_value=$CC
776
ac_env_CFLAGS_set=${CFLAGS+set}
777
ac_env_CFLAGS_value=$CFLAGS
778
ac_cv_env_CFLAGS_set=${CFLAGS+set}
779
ac_cv_env_CFLAGS_value=$CFLAGS
780
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
781
ac_env_PKG_CONFIG_value=$PKG_CONFIG
782
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
783
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
784
ac_env_MOZPLUG_CFLAGS_set=${MOZPLUG_CFLAGS+set}
785
ac_env_MOZPLUG_CFLAGS_value=$MOZPLUG_CFLAGS
786
ac_cv_env_MOZPLUG_CFLAGS_set=${MOZPLUG_CFLAGS+set}
787
ac_cv_env_MOZPLUG_CFLAGS_value=$MOZPLUG_CFLAGS
788
ac_env_MOZPLUG_LIBS_set=${MOZPLUG_LIBS+set}
789
ac_env_MOZPLUG_LIBS_value=$MOZPLUG_LIBS
790
ac_cv_env_MOZPLUG_LIBS_set=${MOZPLUG_LIBS+set}
791
ac_cv_env_MOZPLUG_LIBS_value=$MOZPLUG_LIBS
792
ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
793
ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
794
ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
795
ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
796
ac_env_GTK_LIBS_set=${GTK_LIBS+set}
797
ac_env_GTK_LIBS_value=$GTK_LIBS
798
ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
799
ac_cv_env_GTK_LIBS_value=$GTK_LIBS
800
ac_env_GTK24_CFLAGS_set=${GTK24_CFLAGS+set}
801
ac_env_GTK24_CFLAGS_value=$GTK24_CFLAGS
802
ac_cv_env_GTK24_CFLAGS_set=${GTK24_CFLAGS+set}
803
ac_cv_env_GTK24_CFLAGS_value=$GTK24_CFLAGS
804
ac_env_GTK24_LIBS_set=${GTK24_LIBS+set}
805
ac_env_GTK24_LIBS_value=$GTK24_LIBS
806
ac_cv_env_GTK24_LIBS_set=${GTK24_LIBS+set}
807
ac_cv_env_GTK24_LIBS_value=$GTK24_LIBS
808
ac_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
809
ac_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
810
ac_cv_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
811
ac_cv_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
812
ac_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
813
ac_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
814
ac_cv_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
815
ac_cv_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
816
ac_env_CPP_set=${CPP+set}
817
ac_env_CPP_value=$CPP
818
ac_cv_env_CPP_set=${CPP+set}
819
ac_cv_env_CPP_value=$CPP
822
# Report the --help message.
824
if test "$ac_init_help" = "long"; then
825
# Omit some internal or obsolete options to make the list less imposing.
826
# This message is too long to be a string in the A/UX 3.1 sh.
828
\`configure' configures mplayerplug-in 3.35 to adapt to many kinds of systems.
830
Usage: $0 [OPTION]... [VAR=VALUE]...
832
To assign environment variables (e.g., CC, CFLAGS...), specify them as
833
VAR=VALUE. See below for descriptions of some of the useful variables.
835
Defaults for the options are specified in brackets.
838
-h, --help display this help and exit
839
--help=short display options specific to this package
840
--help=recursive display the short help of all the included packages
841
-V, --version display version information and exit
842
-q, --quiet, --silent do not print \`checking...' messages
843
--cache-file=FILE cache test results in FILE [disabled]
844
-C, --config-cache alias for \`--cache-file=config.cache'
845
-n, --no-create do not create output files
846
--srcdir=DIR find the sources in DIR [configure dir or \`..']
851
Installation directories:
852
--prefix=PREFIX install architecture-independent files in PREFIX
854
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
857
By default, \`make install' will install all the files in
858
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
859
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
860
for instance \`--prefix=\$HOME'.
862
For better control, use the options below.
864
Fine tuning of the installation directories:
865
--bindir=DIR user executables [EPREFIX/bin]
866
--sbindir=DIR system admin executables [EPREFIX/sbin]
867
--libexecdir=DIR program executables [EPREFIX/libexec]
868
--datadir=DIR read-only architecture-independent data [PREFIX/share]
869
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
870
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
871
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
872
--libdir=DIR object code libraries [EPREFIX/lib]
873
--includedir=DIR C header files [PREFIX/include]
874
--oldincludedir=DIR C header files for non-gcc [/usr/include]
875
--infodir=DIR info documentation [PREFIX/info]
876
--mandir=DIR man documentation [PREFIX/man]
882
--x-includes=DIR X include files are in DIR
883
--x-libraries=DIR X library files are in DIR
887
if test -n "$ac_init_help"; then
888
case $ac_init_help in
889
short | recursive ) echo "Configuration of mplayerplug-in 3.35:";;
894
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
895
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
896
--enable-x86_64 Compile 32bit version of mplayerplug-in for use on
898
--enable-rpath Add gecko-sdk bin and lib directories to the rpath
899
--disable-gtk2 Disable the use of gtk2 toolkit
900
--enable-gtk1 Enable the use of gtk1 toolkit. Disable gtk2
901
--enable-x Enable the use of X toolkit. Disable gtk1 and gtk2
902
--enable-wmp Build with Windows Media Support
903
--enable-qt Build with QuickTime Support
904
--enable-rm Build with Real Media Support
905
--enable-gmp Build with Google Media Support
906
--enable-dvx Build with DivX Media Support
909
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
910
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
911
--with-gecko-sdk=<path> prefix of gecko-sdk installation
912
--with-mozilla-home=<path> prefix of mozilla/firefox installation
913
--with-x use the X Window System
915
Some influential environment variables:
916
CXX C++ compiler command
917
CXXFLAGS C++ compiler flags
918
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
919
nonstandard directory <lib dir>
920
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
921
headers in a nonstandard directory <include dir>
922
CC C compiler command
923
CFLAGS C compiler flags
924
PKG_CONFIG path to pkg-config utility
926
C compiler flags for MOZPLUG, overriding pkg-config
928
linker flags for MOZPLUG, overriding pkg-config
929
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
930
GTK_LIBS linker flags for GTK, overriding pkg-config
932
C compiler flags for GTK24, overriding pkg-config
933
GTK24_LIBS linker flags for GTK24, overriding pkg-config
935
C compiler flags for GTHREAD, overriding pkg-config
937
linker flags for GTHREAD, overriding pkg-config
940
Use these variables to override the choices made by `configure' or to help
941
it to find libraries and programs with nonstandard names/locations.
943
Report bugs to <mplayerplug-in-devel@lists.sourceforge.net>.
947
if test "$ac_init_help" = "recursive"; then
948
# If there are subdirs, report their specific --help.
950
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
951
test -d $ac_dir || continue
954
if test "$ac_dir" != .; then
955
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
956
# A "../" for each directory in $ac_dir_suffix.
957
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
959
ac_dir_suffix= ac_top_builddir=
963
.) # No --srcdir option. We are building in place.
965
if test -z "$ac_top_builddir"; then
968
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
970
[\\/]* | ?:[\\/]* ) # Absolute path.
971
ac_srcdir=$srcdir$ac_dir_suffix;
972
ac_top_srcdir=$srcdir ;;
974
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
975
ac_top_srcdir=$ac_top_builddir$srcdir ;;
978
# Do not use `cd foo && pwd` to compute absolute paths, because
979
# the directories may not exist.
981
.) ac_abs_builddir="$ac_dir";;
984
.) ac_abs_builddir=`pwd`;;
985
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
986
*) ac_abs_builddir=`pwd`/"$ac_dir";;
989
case $ac_abs_builddir in
990
.) ac_abs_top_builddir=${ac_top_builddir}.;;
992
case ${ac_top_builddir}. in
993
.) ac_abs_top_builddir=$ac_abs_builddir;;
994
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
995
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
998
case $ac_abs_builddir in
999
.) ac_abs_srcdir=$ac_srcdir;;
1002
.) ac_abs_srcdir=$ac_abs_builddir;;
1003
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1004
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1007
case $ac_abs_builddir in
1008
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1010
case $ac_top_srcdir in
1011
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1012
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1013
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1018
# Check for guested configure; otherwise get Cygnus style configure.
1019
if test -f $ac_srcdir/configure.gnu; then
1021
$SHELL $ac_srcdir/configure.gnu --help=recursive
1022
elif test -f $ac_srcdir/configure; then
1024
$SHELL $ac_srcdir/configure --help=recursive
1025
elif test -f $ac_srcdir/configure.ac ||
1026
test -f $ac_srcdir/configure.in; then
1028
$ac_configure --help
1030
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1036
test -n "$ac_init_help" && exit 0
1037
if $ac_init_version; then
1039
mplayerplug-in configure 3.35
1040
generated by GNU Autoconf 2.59
1042
Copyright (C) 2003 Free Software Foundation, Inc.
1043
This configure script is free software; the Free Software Foundation
1044
gives unlimited permission to copy, distribute and modify it.
1050
This file contains any messages produced by compilers while
1051
running configure, to aid debugging if configure makes a mistake.
1053
It was created by mplayerplug-in $as_me 3.35, which was
1054
generated by GNU Autoconf 2.59. Invocation command line was
1061
@%:@@%:@ --------- @%:@@%:@
1062
@%:@@%:@ Platform. @%:@@%:@
1063
@%:@@%:@ --------- @%:@@%:@
1065
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1066
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1067
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1068
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1069
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1071
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1072
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1074
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1075
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1076
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1077
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1078
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1079
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1080
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1088
test -z "$as_dir" && as_dir=.
1089
echo "PATH: $as_dir"
1097
@%:@@%:@ ----------- @%:@@%:@
1098
@%:@@%:@ Core tests. @%:@@%:@
1099
@%:@@%:@ ----------- @%:@@%:@
1104
# Keep a trace of the command line.
1105
# Strip out --no-create and --no-recursion so they do not pile up.
1106
# Strip out --silent because we don't want to record it for future runs.
1107
# Also quote any args containing shell meta-characters.
1108
# Make two passes to allow for proper duplicate-argument suppression.
1113
ac_must_keep_next=false
1119
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1120
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1121
| -silent | --silent | --silen | --sile | --sil)
1123
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1124
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1127
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1129
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1130
if test $ac_must_keep_next = true; then
1131
ac_must_keep_next=false # Got value, back to normal.
1134
*=* | --config-cache | -C | -disable-* | --disable-* \
1135
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1136
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1137
| -with-* | --with-* | -without-* | --without-* | --x)
1138
case "$ac_configure_args0 " in
1139
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1142
-* ) ac_must_keep_next=true ;;
1145
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1146
# Get rid of the leading space.
1152
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1153
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1155
# When interrupted or exit'd, cleanup temporary files, and complete
1156
# config.log. We remove comments because anyway the quotes in there
1157
# would cause problems or look ugly.
1158
# WARNING: Be sure not to use single quotes in there, as some shells,
1159
# such as our DU 5.0 friend, will then `close' the trap.
1160
trap 'exit_status=$?
1161
# Save into config.log some information that might help in debugging.
1166
@%:@@%:@ ---------------- @%:@@%:@
1167
@%:@@%:@ Cache variables. @%:@@%:@
1168
@%:@@%:@ ---------------- @%:@@%:@
1171
# The following way of writing the cache mishandles newlines in values,
1174
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1177
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1178
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1182
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1189
@%:@@%:@ ----------------- @%:@@%:@
1190
@%:@@%:@ Output variables. @%:@@%:@
1191
@%:@@%:@ ----------------- @%:@@%:@
1194
for ac_var in $ac_subst_vars
1196
eval ac_val=$`echo $ac_var`
1197
echo "$ac_var='"'"'$ac_val'"'"'"
1201
if test -n "$ac_subst_files"; then
1203
@%:@@%:@ ------------- @%:@@%:@
1204
@%:@@%:@ Output files. @%:@@%:@
1205
@%:@@%:@ ------------- @%:@@%:@
1208
for ac_var in $ac_subst_files
1210
eval ac_val=$`echo $ac_var`
1211
echo "$ac_var='"'"'$ac_val'"'"'"
1216
if test -s confdefs.h; then
1218
@%:@@%:@ ----------- @%:@@%:@
1219
@%:@@%:@ confdefs.h. @%:@@%:@
1220
@%:@@%:@ ----------- @%:@@%:@
1223
sed "/^$/d" confdefs.h | sort
1226
test "$ac_signal" != 0 &&
1227
echo "$as_me: caught signal $ac_signal"
1228
echo "$as_me: exit $exit_status"
1230
rm -f core *.core &&
1231
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1234
for ac_signal in 1 2 13 15; do
1235
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1239
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1240
rm -rf conftest* confdefs.h
1241
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1244
# Predefined preprocessor variables.
1246
cat >>confdefs.h <<_ACEOF
1247
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1251
cat >>confdefs.h <<_ACEOF
1252
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1256
cat >>confdefs.h <<_ACEOF
1257
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1261
cat >>confdefs.h <<_ACEOF
1262
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1266
cat >>confdefs.h <<_ACEOF
1267
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1271
# Let the site file select an alternate cache file if it wants to.
1272
# Prefer explicitly selected file to automatically selected ones.
1273
if test -z "$CONFIG_SITE"; then
1274
if test "x$prefix" != xNONE; then
1275
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1277
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1280
for ac_site_file in $CONFIG_SITE; do
1281
if test -r "$ac_site_file"; then
1282
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1283
echo "$as_me: loading site script $ac_site_file" >&6;}
1284
sed 's/^/| /' "$ac_site_file" >&5
1289
if test -r "$cache_file"; then
1290
# Some versions of bash will fail to source /dev/null (special
1291
# files actually), so we avoid doing that.
1292
if test -f "$cache_file"; then
1293
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1294
echo "$as_me: loading cache $cache_file" >&6;}
1296
[\\/]* | ?:[\\/]* ) . $cache_file;;
1297
*) . ./$cache_file;;
1301
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1302
echo "$as_me: creating cache $cache_file" >&6;}
1306
# Check that the precious variables saved in the cache have kept the same
1308
ac_cache_corrupted=false
1309
for ac_var in `(set) 2>&1 |
1310
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1311
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1312
eval ac_new_set=\$ac_env_${ac_var}_set
1313
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1314
eval ac_new_val="\$ac_env_${ac_var}_value"
1315
case $ac_old_set,$ac_new_set in
1317
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1318
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1319
ac_cache_corrupted=: ;;
1321
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1322
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1323
ac_cache_corrupted=: ;;
1326
if test "x$ac_old_val" != "x$ac_new_val"; then
1327
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1328
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1329
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1330
echo "$as_me: former value: $ac_old_val" >&2;}
1331
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1332
echo "$as_me: current value: $ac_new_val" >&2;}
1333
ac_cache_corrupted=:
1336
# Pass precious variables to config.status.
1337
if test "$ac_new_set" = set; then
1339
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1340
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1341
*) ac_arg=$ac_var=$ac_new_val ;;
1343
case " $ac_configure_args " in
1344
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1345
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1349
if $ac_cache_corrupted; then
1350
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1351
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1352
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1353
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1354
{ (exit 1); exit 1; }; }
1358
ac_cpp='$CPP $CPPFLAGS'
1359
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1360
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1361
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1390
ac_config_headers="$ac_config_headers config.h"
1394
# Checks for programs.
1396
ac_cpp='$CXXCPP $CPPFLAGS'
1397
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1398
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1399
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1400
if test -n "$ac_tool_prefix"; then
1401
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1403
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1404
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1405
echo "$as_me:$LINENO: checking for $ac_word" >&5
1406
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407
if test "${ac_cv_prog_CXX+set}" = set; then
1408
echo $ECHO_N "(cached) $ECHO_C" >&6
1410
if test -n "$CXX"; then
1411
ac_cv_prog_CXX="$CXX" # Let the user override the test.
1413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417
test -z "$as_dir" && as_dir=.
1418
for ac_exec_ext in '' $ac_executable_extensions; do
1419
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1420
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1421
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1430
if test -n "$CXX"; then
1431
echo "$as_me:$LINENO: result: $CXX" >&5
1432
echo "${ECHO_T}$CXX" >&6
1434
echo "$as_me:$LINENO: result: no" >&5
1435
echo "${ECHO_T}no" >&6
1438
test -n "$CXX" && break
1441
if test -z "$CXX"; then
1443
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1445
# Extract the first word of "$ac_prog", so it can be a program name with args.
1446
set dummy $ac_prog; ac_word=$2
1447
echo "$as_me:$LINENO: checking for $ac_word" >&5
1448
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1449
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1450
echo $ECHO_N "(cached) $ECHO_C" >&6
1452
if test -n "$ac_ct_CXX"; then
1453
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1455
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459
test -z "$as_dir" && as_dir=.
1460
for ac_exec_ext in '' $ac_executable_extensions; do
1461
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1462
ac_cv_prog_ac_ct_CXX="$ac_prog"
1463
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1471
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1472
if test -n "$ac_ct_CXX"; then
1473
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1474
echo "${ECHO_T}$ac_ct_CXX" >&6
1476
echo "$as_me:$LINENO: result: no" >&5
1477
echo "${ECHO_T}no" >&6
1480
test -n "$ac_ct_CXX" && break
1482
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1488
# Provide some information about the compiler.
1489
echo "$as_me:$LINENO:" \
1490
"checking for C++ compiler version" >&5
1491
ac_compiler=`set X $ac_compile; echo $2`
1492
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1493
(eval $ac_compiler --version </dev/null >&5) 2>&5
1495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1496
(exit $ac_status); }
1497
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1498
(eval $ac_compiler -v </dev/null >&5) 2>&5
1500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1501
(exit $ac_status); }
1502
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1503
(eval $ac_compiler -V </dev/null >&5) 2>&5
1505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506
(exit $ac_status); }
1508
cat >conftest.$ac_ext <<_ACEOF
1511
cat confdefs.h >>conftest.$ac_ext
1512
cat >>conftest.$ac_ext <<_ACEOF
1513
/* end confdefs.h. */
1523
ac_clean_files_save=$ac_clean_files
1524
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1525
# Try to create an executable without -o first, disregard a.out.
1526
# It will help us diagnose broken compilers, and finding out an intuition
1528
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1529
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1530
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1531
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1532
(eval $ac_link_default) 2>&5
1534
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1535
(exit $ac_status); }; then
1536
# Find the output, starting from the most likely. This scheme is
1537
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1540
# Be careful to initialize this variable, since it used to be cached.
1541
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1543
# b.out is created by i960 compilers.
1544
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1546
test -f "$ac_file" || continue
1548
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1551
# This is the source file.
1554
# We found the default executable, but exeext='' is most
1558
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1559
# FIXME: I believe we export ac_cv_exeext for Libtool,
1560
# but it would be cool to find out if it's true. Does anybody
1561
# maintain Libtool? --akim.
1569
echo "$as_me: failed program was:" >&5
1570
sed 's/^/| /' conftest.$ac_ext >&5
1572
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1573
See \`config.log' for more details." >&5
1574
echo "$as_me: error: C++ compiler cannot create executables
1575
See \`config.log' for more details." >&2;}
1576
{ (exit 77); exit 77; }; }
1579
ac_exeext=$ac_cv_exeext
1580
echo "$as_me:$LINENO: result: $ac_file" >&5
1581
echo "${ECHO_T}$ac_file" >&6
1583
# Check the compiler produces executables we can run. If not, either
1584
# the compiler is broken, or we cross compile.
1585
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1586
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1587
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1588
# If not cross compiling, check that we can run a simple program.
1589
if test "$cross_compiling" != yes; then
1590
if { ac_try='./$ac_file'
1591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1595
(exit $ac_status); }; }; then
1598
if test "$cross_compiling" = maybe; then
1601
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1602
If you meant to cross compile, use \`--host'.
1603
See \`config.log' for more details." >&5
1604
echo "$as_me: error: cannot run C++ compiled programs.
1605
If you meant to cross compile, use \`--host'.
1606
See \`config.log' for more details." >&2;}
1607
{ (exit 1); exit 1; }; }
1611
echo "$as_me:$LINENO: result: yes" >&5
1612
echo "${ECHO_T}yes" >&6
1614
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1615
ac_clean_files=$ac_clean_files_save
1616
# Check the compiler produces executables we can run. If not, either
1617
# the compiler is broken, or we cross compile.
1618
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1619
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1620
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1621
echo "${ECHO_T}$cross_compiling" >&6
1623
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1624
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1625
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1626
(eval $ac_link) 2>&5
1628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1629
(exit $ac_status); }; then
1630
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1631
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1632
# work properly (i.e., refer to `conftest.exe'), while it won't with
1634
for ac_file in conftest.exe conftest conftest.*; do
1635
test -f "$ac_file" || continue
1637
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1638
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1645
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1646
See \`config.log' for more details." >&5
1647
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1648
See \`config.log' for more details." >&2;}
1649
{ (exit 1); exit 1; }; }
1652
rm -f conftest$ac_cv_exeext
1653
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1654
echo "${ECHO_T}$ac_cv_exeext" >&6
1656
rm -f conftest.$ac_ext
1657
EXEEXT=$ac_cv_exeext
1659
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1660
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1661
if test "${ac_cv_objext+set}" = set; then
1662
echo $ECHO_N "(cached) $ECHO_C" >&6
1664
cat >conftest.$ac_ext <<_ACEOF
1667
cat confdefs.h >>conftest.$ac_ext
1668
cat >>conftest.$ac_ext <<_ACEOF
1669
/* end confdefs.h. */
1679
rm -f conftest.o conftest.obj
1680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1681
(eval $ac_compile) 2>&5
1683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1684
(exit $ac_status); }; then
1685
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1687
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1688
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1693
echo "$as_me: failed program was:" >&5
1694
sed 's/^/| /' conftest.$ac_ext >&5
1696
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1697
See \`config.log' for more details." >&5
1698
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1699
See \`config.log' for more details." >&2;}
1700
{ (exit 1); exit 1; }; }
1703
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1705
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1706
echo "${ECHO_T}$ac_cv_objext" >&6
1707
OBJEXT=$ac_cv_objext
1709
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1710
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1711
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1712
echo $ECHO_N "(cached) $ECHO_C" >&6
1714
cat >conftest.$ac_ext <<_ACEOF
1717
cat confdefs.h >>conftest.$ac_ext
1718
cat >>conftest.$ac_ext <<_ACEOF
1719
/* end confdefs.h. */
1732
rm -f conftest.$ac_objext
1733
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1734
(eval $ac_compile) 2>conftest.er1
1736
grep -v '^ *+' conftest.er1 >conftest.err
1738
cat conftest.err >&5
1739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1740
(exit $ac_status); } &&
1741
{ ac_try='test -z "$ac_cxx_werror_flag"
1742
|| test ! -s conftest.err'
1743
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1746
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1747
(exit $ac_status); }; } &&
1748
{ ac_try='test -s conftest.$ac_objext'
1749
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753
(exit $ac_status); }; }; then
1756
echo "$as_me: failed program was:" >&5
1757
sed 's/^/| /' conftest.$ac_ext >&5
1761
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1762
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1765
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1766
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1767
GXX=`test $ac_compiler_gnu = yes && echo yes`
1768
ac_test_CXXFLAGS=${CXXFLAGS+set}
1769
ac_save_CXXFLAGS=$CXXFLAGS
1771
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1772
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1773
if test "${ac_cv_prog_cxx_g+set}" = set; then
1774
echo $ECHO_N "(cached) $ECHO_C" >&6
1776
cat >conftest.$ac_ext <<_ACEOF
1779
cat confdefs.h >>conftest.$ac_ext
1780
cat >>conftest.$ac_ext <<_ACEOF
1781
/* end confdefs.h. */
1791
rm -f conftest.$ac_objext
1792
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1793
(eval $ac_compile) 2>conftest.er1
1795
grep -v '^ *+' conftest.er1 >conftest.err
1797
cat conftest.err >&5
1798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1799
(exit $ac_status); } &&
1800
{ ac_try='test -z "$ac_cxx_werror_flag"
1801
|| test ! -s conftest.err'
1802
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806
(exit $ac_status); }; } &&
1807
{ ac_try='test -s conftest.$ac_objext'
1808
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812
(exit $ac_status); }; }; then
1813
ac_cv_prog_cxx_g=yes
1815
echo "$as_me: failed program was:" >&5
1816
sed 's/^/| /' conftest.$ac_ext >&5
1820
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1822
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1823
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1824
if test "$ac_test_CXXFLAGS" = set; then
1825
CXXFLAGS=$ac_save_CXXFLAGS
1826
elif test $ac_cv_prog_cxx_g = yes; then
1827
if test "$GXX" = yes; then
1833
if test "$GXX" = yes; then
1839
for ac_declaration in \
1841
'extern "C" void std::exit (int) throw (); using std::exit;' \
1842
'extern "C" void std::exit (int); using std::exit;' \
1843
'extern "C" void exit (int) throw ();' \
1844
'extern "C" void exit (int);' \
1847
cat >conftest.$ac_ext <<_ACEOF
1850
cat confdefs.h >>conftest.$ac_ext
1851
cat >>conftest.$ac_ext <<_ACEOF
1852
/* end confdefs.h. */
1854
@%:@include <stdlib.h>
1863
rm -f conftest.$ac_objext
1864
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1865
(eval $ac_compile) 2>conftest.er1
1867
grep -v '^ *+' conftest.er1 >conftest.err
1869
cat conftest.err >&5
1870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1871
(exit $ac_status); } &&
1872
{ ac_try='test -z "$ac_cxx_werror_flag"
1873
|| test ! -s conftest.err'
1874
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878
(exit $ac_status); }; } &&
1879
{ ac_try='test -s conftest.$ac_objext'
1880
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884
(exit $ac_status); }; }; then
1887
echo "$as_me: failed program was:" >&5
1888
sed 's/^/| /' conftest.$ac_ext >&5
1892
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1893
cat >conftest.$ac_ext <<_ACEOF
1896
cat confdefs.h >>conftest.$ac_ext
1897
cat >>conftest.$ac_ext <<_ACEOF
1898
/* end confdefs.h. */
1908
rm -f conftest.$ac_objext
1909
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1910
(eval $ac_compile) 2>conftest.er1
1912
grep -v '^ *+' conftest.er1 >conftest.err
1914
cat conftest.err >&5
1915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916
(exit $ac_status); } &&
1917
{ ac_try='test -z "$ac_cxx_werror_flag"
1918
|| test ! -s conftest.err'
1919
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923
(exit $ac_status); }; } &&
1924
{ ac_try='test -s conftest.$ac_objext'
1925
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929
(exit $ac_status); }; }; then
1932
echo "$as_me: failed program was:" >&5
1933
sed 's/^/| /' conftest.$ac_ext >&5
1936
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1939
if test -n "$ac_declaration"; then
1940
echo '#ifdef __cplusplus' >>confdefs.h
1941
echo $ac_declaration >>confdefs.h
1942
echo '#endif' >>confdefs.h
1946
ac_cpp='$CPP $CPPFLAGS'
1947
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1948
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1949
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1952
ac_cpp='$CPP $CPPFLAGS'
1953
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1956
if test -n "$ac_tool_prefix"; then
1957
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1958
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1959
echo "$as_me:$LINENO: checking for $ac_word" >&5
1960
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1961
if test "${ac_cv_prog_CC+set}" = set; then
1962
echo $ECHO_N "(cached) $ECHO_C" >&6
1964
if test -n "$CC"; then
1965
ac_cv_prog_CC="$CC" # Let the user override the test.
1967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971
test -z "$as_dir" && as_dir=.
1972
for ac_exec_ext in '' $ac_executable_extensions; do
1973
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1975
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984
if test -n "$CC"; then
1985
echo "$as_me:$LINENO: result: $CC" >&5
1986
echo "${ECHO_T}$CC" >&6
1988
echo "$as_me:$LINENO: result: no" >&5
1989
echo "${ECHO_T}no" >&6
1993
if test -z "$ac_cv_prog_CC"; then
1995
# Extract the first word of "gcc", so it can be a program name with args.
1996
set dummy gcc; ac_word=$2
1997
echo "$as_me:$LINENO: checking for $ac_word" >&5
1998
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1999
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2000
echo $ECHO_N "(cached) $ECHO_C" >&6
2002
if test -n "$ac_ct_CC"; then
2003
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009
test -z "$as_dir" && as_dir=.
2010
for ac_exec_ext in '' $ac_executable_extensions; do
2011
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2012
ac_cv_prog_ac_ct_CC="gcc"
2013
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2022
if test -n "$ac_ct_CC"; then
2023
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2024
echo "${ECHO_T}$ac_ct_CC" >&6
2026
echo "$as_me:$LINENO: result: no" >&5
2027
echo "${ECHO_T}no" >&6
2035
if test -z "$CC"; then
2036
if test -n "$ac_tool_prefix"; then
2037
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2038
set dummy ${ac_tool_prefix}cc; ac_word=$2
2039
echo "$as_me:$LINENO: checking for $ac_word" >&5
2040
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041
if test "${ac_cv_prog_CC+set}" = set; then
2042
echo $ECHO_N "(cached) $ECHO_C" >&6
2044
if test -n "$CC"; then
2045
ac_cv_prog_CC="$CC" # Let the user override the test.
2047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051
test -z "$as_dir" && as_dir=.
2052
for ac_exec_ext in '' $ac_executable_extensions; do
2053
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054
ac_cv_prog_CC="${ac_tool_prefix}cc"
2055
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064
if test -n "$CC"; then
2065
echo "$as_me:$LINENO: result: $CC" >&5
2066
echo "${ECHO_T}$CC" >&6
2068
echo "$as_me:$LINENO: result: no" >&5
2069
echo "${ECHO_T}no" >&6
2073
if test -z "$ac_cv_prog_CC"; then
2075
# Extract the first word of "cc", so it can be a program name with args.
2076
set dummy cc; ac_word=$2
2077
echo "$as_me:$LINENO: checking for $ac_word" >&5
2078
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2079
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2080
echo $ECHO_N "(cached) $ECHO_C" >&6
2082
if test -n "$ac_ct_CC"; then
2083
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089
test -z "$as_dir" && as_dir=.
2090
for ac_exec_ext in '' $ac_executable_extensions; do
2091
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092
ac_cv_prog_ac_ct_CC="cc"
2093
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2102
if test -n "$ac_ct_CC"; then
2103
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2104
echo "${ECHO_T}$ac_ct_CC" >&6
2106
echo "$as_me:$LINENO: result: no" >&5
2107
echo "${ECHO_T}no" >&6
2116
if test -z "$CC"; then
2117
# Extract the first word of "cc", so it can be a program name with args.
2118
set dummy cc; ac_word=$2
2119
echo "$as_me:$LINENO: checking for $ac_word" >&5
2120
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121
if test "${ac_cv_prog_CC+set}" = set; then
2122
echo $ECHO_N "(cached) $ECHO_C" >&6
2124
if test -n "$CC"; then
2125
ac_cv_prog_CC="$CC" # Let the user override the test.
2128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132
test -z "$as_dir" && as_dir=.
2133
for ac_exec_ext in '' $ac_executable_extensions; do
2134
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2136
ac_prog_rejected=yes
2140
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146
if test $ac_prog_rejected = yes; then
2147
# We found a bogon in the path, so make sure we never use it.
2148
set dummy $ac_cv_prog_CC
2150
if test $@%:@ != 0; then
2151
# We chose a different compiler from the bogus one.
2152
# However, it has the same basename, so the bogon will be chosen
2153
# first if we set CC to just the basename; use the full file name.
2155
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2161
if test -n "$CC"; then
2162
echo "$as_me:$LINENO: result: $CC" >&5
2163
echo "${ECHO_T}$CC" >&6
2165
echo "$as_me:$LINENO: result: no" >&5
2166
echo "${ECHO_T}no" >&6
2170
if test -z "$CC"; then
2171
if test -n "$ac_tool_prefix"; then
2174
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2175
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2176
echo "$as_me:$LINENO: checking for $ac_word" >&5
2177
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2178
if test "${ac_cv_prog_CC+set}" = set; then
2179
echo $ECHO_N "(cached) $ECHO_C" >&6
2181
if test -n "$CC"; then
2182
ac_cv_prog_CC="$CC" # Let the user override the test.
2184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188
test -z "$as_dir" && as_dir=.
2189
for ac_exec_ext in '' $ac_executable_extensions; do
2190
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2191
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2192
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201
if test -n "$CC"; then
2202
echo "$as_me:$LINENO: result: $CC" >&5
2203
echo "${ECHO_T}$CC" >&6
2205
echo "$as_me:$LINENO: result: no" >&5
2206
echo "${ECHO_T}no" >&6
2209
test -n "$CC" && break
2212
if test -z "$CC"; then
2216
# Extract the first word of "$ac_prog", so it can be a program name with args.
2217
set dummy $ac_prog; ac_word=$2
2218
echo "$as_me:$LINENO: checking for $ac_word" >&5
2219
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2221
echo $ECHO_N "(cached) $ECHO_C" >&6
2223
if test -n "$ac_ct_CC"; then
2224
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230
test -z "$as_dir" && as_dir=.
2231
for ac_exec_ext in '' $ac_executable_extensions; do
2232
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233
ac_cv_prog_ac_ct_CC="$ac_prog"
2234
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2243
if test -n "$ac_ct_CC"; then
2244
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2245
echo "${ECHO_T}$ac_ct_CC" >&6
2247
echo "$as_me:$LINENO: result: no" >&5
2248
echo "${ECHO_T}no" >&6
2251
test -n "$ac_ct_CC" && break
2260
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2261
See \`config.log' for more details." >&5
2262
echo "$as_me: error: no acceptable C compiler found in \$PATH
2263
See \`config.log' for more details." >&2;}
2264
{ (exit 1); exit 1; }; }
2266
# Provide some information about the compiler.
2267
echo "$as_me:$LINENO:" \
2268
"checking for C compiler version" >&5
2269
ac_compiler=`set X $ac_compile; echo $2`
2270
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2271
(eval $ac_compiler --version </dev/null >&5) 2>&5
2273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274
(exit $ac_status); }
2275
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2276
(eval $ac_compiler -v </dev/null >&5) 2>&5
2278
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279
(exit $ac_status); }
2280
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2281
(eval $ac_compiler -V </dev/null >&5) 2>&5
2283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284
(exit $ac_status); }
2286
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2287
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2288
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2289
echo $ECHO_N "(cached) $ECHO_C" >&6
2291
cat >conftest.$ac_ext <<_ACEOF
2294
cat confdefs.h >>conftest.$ac_ext
2295
cat >>conftest.$ac_ext <<_ACEOF
2296
/* end confdefs.h. */
2309
rm -f conftest.$ac_objext
2310
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311
(eval $ac_compile) 2>conftest.er1
2313
grep -v '^ *+' conftest.er1 >conftest.err
2315
cat conftest.err >&5
2316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317
(exit $ac_status); } &&
2318
{ ac_try='test -z "$ac_c_werror_flag"
2319
|| test ! -s conftest.err'
2320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324
(exit $ac_status); }; } &&
2325
{ ac_try='test -s conftest.$ac_objext'
2326
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330
(exit $ac_status); }; }; then
2333
echo "$as_me: failed program was:" >&5
2334
sed 's/^/| /' conftest.$ac_ext >&5
2338
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2339
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2342
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2343
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2344
GCC=`test $ac_compiler_gnu = yes && echo yes`
2345
ac_test_CFLAGS=${CFLAGS+set}
2346
ac_save_CFLAGS=$CFLAGS
2348
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2349
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2350
if test "${ac_cv_prog_cc_g+set}" = set; then
2351
echo $ECHO_N "(cached) $ECHO_C" >&6
2353
cat >conftest.$ac_ext <<_ACEOF
2356
cat confdefs.h >>conftest.$ac_ext
2357
cat >>conftest.$ac_ext <<_ACEOF
2358
/* end confdefs.h. */
2368
rm -f conftest.$ac_objext
2369
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370
(eval $ac_compile) 2>conftest.er1
2372
grep -v '^ *+' conftest.er1 >conftest.err
2374
cat conftest.err >&5
2375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376
(exit $ac_status); } &&
2377
{ ac_try='test -z "$ac_c_werror_flag"
2378
|| test ! -s conftest.err'
2379
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383
(exit $ac_status); }; } &&
2384
{ ac_try='test -s conftest.$ac_objext'
2385
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389
(exit $ac_status); }; }; then
2392
echo "$as_me: failed program was:" >&5
2393
sed 's/^/| /' conftest.$ac_ext >&5
2397
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2399
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2400
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2401
if test "$ac_test_CFLAGS" = set; then
2402
CFLAGS=$ac_save_CFLAGS
2403
elif test $ac_cv_prog_cc_g = yes; then
2404
if test "$GCC" = yes; then
2410
if test "$GCC" = yes; then
2416
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2417
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2418
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2419
echo $ECHO_N "(cached) $ECHO_C" >&6
2421
ac_cv_prog_cc_stdc=no
2423
cat >conftest.$ac_ext <<_ACEOF
2426
cat confdefs.h >>conftest.$ac_ext
2427
cat >>conftest.$ac_ext <<_ACEOF
2428
/* end confdefs.h. */
2431
#include <sys/types.h>
2432
#include <sys/stat.h>
2433
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2434
struct buf { int x; };
2435
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2436
static char *e (p, i)
2442
static char *f (char * (*g) (char **, int), char **p, ...)
2447
s = g (p, va_arg (v,int));
2452
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2453
function prototypes and stuff, but not '\xHH' hex character constants.
2454
These don't provoke an error unfortunately, instead are silently treated
2455
as 'x'. The following induces an error, until -std1 is added to get
2456
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2457
array size at least. It's necessary to write '\x00'==0 to get something
2458
that's true only with -std1. */
2459
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2461
int test (int i, double x);
2462
struct s1 {int (*f) (int a);};
2463
struct s2 {int (*f) (double a);};
2464
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2470
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2475
# Don't try gcc -ansi; that turns off useful extensions and
2476
# breaks some systems' header files.
2477
# AIX -qlanglvl=ansi
2478
# Ultrix and OSF/1 -std1
2479
# HP-UX 10.20 and later -Ae
2480
# HP-UX older versions -Aa -D_HPUX_SOURCE
2481
# SVR4 -Xc -D__EXTENSIONS__
2482
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2484
CC="$ac_save_CC $ac_arg"
2485
rm -f conftest.$ac_objext
2486
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487
(eval $ac_compile) 2>conftest.er1
2489
grep -v '^ *+' conftest.er1 >conftest.err
2491
cat conftest.err >&5
2492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493
(exit $ac_status); } &&
2494
{ ac_try='test -z "$ac_c_werror_flag"
2495
|| test ! -s conftest.err'
2496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
(exit $ac_status); }; } &&
2501
{ ac_try='test -s conftest.$ac_objext'
2502
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506
(exit $ac_status); }; }; then
2507
ac_cv_prog_cc_stdc=$ac_arg
2510
echo "$as_me: failed program was:" >&5
2511
sed 's/^/| /' conftest.$ac_ext >&5
2514
rm -f conftest.err conftest.$ac_objext
2516
rm -f conftest.$ac_ext conftest.$ac_objext
2521
case "x$ac_cv_prog_cc_stdc" in
2523
echo "$as_me:$LINENO: result: none needed" >&5
2524
echo "${ECHO_T}none needed" >&6 ;;
2526
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2527
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2528
CC="$CC $ac_cv_prog_cc_stdc" ;;
2531
# Some people use a C++ compiler to compile C. Since we use `exit',
2532
# in C++ we need to declare it. In case someone uses the same compiler
2533
# for both compiling C and C++ we need to have the C++ compiler decide
2534
# the declaration of exit, since it's the most demanding environment.
2535
cat >conftest.$ac_ext <<_ACEOF
2536
@%:@ifndef __cplusplus
2540
rm -f conftest.$ac_objext
2541
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542
(eval $ac_compile) 2>conftest.er1
2544
grep -v '^ *+' conftest.er1 >conftest.err
2546
cat conftest.err >&5
2547
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
(exit $ac_status); } &&
2549
{ ac_try='test -z "$ac_c_werror_flag"
2550
|| test ! -s conftest.err'
2551
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
(exit $ac_status); }; } &&
2556
{ ac_try='test -s conftest.$ac_objext'
2557
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
(exit $ac_status); }; }; then
2562
for ac_declaration in \
2564
'extern "C" void std::exit (int) throw (); using std::exit;' \
2565
'extern "C" void std::exit (int); using std::exit;' \
2566
'extern "C" void exit (int) throw ();' \
2567
'extern "C" void exit (int);' \
2570
cat >conftest.$ac_ext <<_ACEOF
2573
cat confdefs.h >>conftest.$ac_ext
2574
cat >>conftest.$ac_ext <<_ACEOF
2575
/* end confdefs.h. */
2577
@%:@include <stdlib.h>
2586
rm -f conftest.$ac_objext
2587
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2588
(eval $ac_compile) 2>conftest.er1
2590
grep -v '^ *+' conftest.er1 >conftest.err
2592
cat conftest.err >&5
2593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594
(exit $ac_status); } &&
2595
{ ac_try='test -z "$ac_c_werror_flag"
2596
|| test ! -s conftest.err'
2597
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601
(exit $ac_status); }; } &&
2602
{ ac_try='test -s conftest.$ac_objext'
2603
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
(exit $ac_status); }; }; then
2610
echo "$as_me: failed program was:" >&5
2611
sed 's/^/| /' conftest.$ac_ext >&5
2615
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2616
cat >conftest.$ac_ext <<_ACEOF
2619
cat confdefs.h >>conftest.$ac_ext
2620
cat >>conftest.$ac_ext <<_ACEOF
2621
/* end confdefs.h. */
2631
rm -f conftest.$ac_objext
2632
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2633
(eval $ac_compile) 2>conftest.er1
2635
grep -v '^ *+' conftest.er1 >conftest.err
2637
cat conftest.err >&5
2638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
(exit $ac_status); } &&
2640
{ ac_try='test -z "$ac_c_werror_flag"
2641
|| test ! -s conftest.err'
2642
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646
(exit $ac_status); }; } &&
2647
{ ac_try='test -s conftest.$ac_objext'
2648
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652
(exit $ac_status); }; }; then
2655
echo "$as_me: failed program was:" >&5
2656
sed 's/^/| /' conftest.$ac_ext >&5
2659
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2662
if test -n "$ac_declaration"; then
2663
echo '#ifdef __cplusplus' >>confdefs.h
2664
echo $ac_declaration >>confdefs.h
2665
echo '#endif' >>confdefs.h
2669
echo "$as_me: failed program was:" >&5
2670
sed 's/^/| /' conftest.$ac_ext >&5
2673
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675
ac_cpp='$CPP $CPPFLAGS'
2676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2682
if test -f $ac_dir/install-sh; then
2684
ac_install_sh="$ac_aux_dir/install-sh -c"
2686
elif test -f $ac_dir/install.sh; then
2688
ac_install_sh="$ac_aux_dir/install.sh -c"
2690
elif test -f $ac_dir/shtool; then
2692
ac_install_sh="$ac_aux_dir/shtool install -c"
2696
if test -z "$ac_aux_dir"; then
2697
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2698
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2699
{ (exit 1); exit 1; }; }
2701
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2702
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2703
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2705
# Find a good install program. We prefer a C program (faster),
2706
# so one script is as good as another. But avoid the broken or
2707
# incompatible versions:
2708
# SysV /etc/install, /usr/sbin/install
2709
# SunOS /usr/etc/install
2710
# IRIX /sbin/install
2712
# AmigaOS /C/install, which installs bootblocks on floppy discs
2713
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2714
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2715
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2716
# OS/2's system install, which has a completely different semantic
2717
# ./install, which can be erroneously created by make from ./install.sh.
2718
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2719
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2720
if test -z "$INSTALL"; then
2721
if test "${ac_cv_path_install+set}" = set; then
2722
echo $ECHO_N "(cached) $ECHO_C" >&6
2724
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728
test -z "$as_dir" && as_dir=.
2729
# Account for people who put trailing slashes in PATH elements.
2731
./ | .// | /cC/* | \
2732
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2733
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2736
# OSF1 and SCO ODT 3.0 have their own names for install.
2737
# Don't use installbsd from OSF since it installs stuff as root
2739
for ac_prog in ginstall scoinst install; do
2740
for ac_exec_ext in '' $ac_executable_extensions; do
2741
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2742
if test $ac_prog = install &&
2743
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2744
# AIX install. It has an incompatible calling convention.
2746
elif test $ac_prog = install &&
2747
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2748
# program-specific install script used by HP pwplus--don't use.
2751
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2763
if test "${ac_cv_path_install+set}" = set; then
2764
INSTALL=$ac_cv_path_install
2766
# As a last resort, use the slow shell script. We don't cache a
2767
# path for INSTALL within a source directory, because that will
2768
# break other packages using the cache if that directory is
2769
# removed, or if the path is relative.
2770
INSTALL=$ac_install_sh
2773
echo "$as_me:$LINENO: result: $INSTALL" >&5
2774
echo "${ECHO_T}$INSTALL" >&6
2776
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2777
# It thinks the first close brace ends the variable substitution.
2778
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2780
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2782
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2784
for ac_prog in gawk mawk nawk awk
2786
# Extract the first word of "$ac_prog", so it can be a program name with args.
2787
set dummy $ac_prog; ac_word=$2
2788
echo "$as_me:$LINENO: checking for $ac_word" >&5
2789
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790
if test "${ac_cv_prog_AWK+set}" = set; then
2791
echo $ECHO_N "(cached) $ECHO_C" >&6
2793
if test -n "$AWK"; then
2794
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800
test -z "$as_dir" && as_dir=.
2801
for ac_exec_ext in '' $ac_executable_extensions; do
2802
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803
ac_cv_prog_AWK="$ac_prog"
2804
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2813
if test -n "$AWK"; then
2814
echo "$as_me:$LINENO: result: $AWK" >&5
2815
echo "${ECHO_T}$AWK" >&6
2817
echo "$as_me:$LINENO: result: no" >&5
2818
echo "${ECHO_T}no" >&6
2821
test -n "$AWK" && break
2824
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2825
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2826
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2827
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2828
echo $ECHO_N "(cached) $ECHO_C" >&6
2830
cat >conftest.make <<\_ACEOF
2832
@echo 'ac_maketemp="$(MAKE)"'
2834
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2835
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2836
if test -n "$ac_maketemp"; then
2837
eval ac_cv_prog_make_${ac_make}_set=yes
2839
eval ac_cv_prog_make_${ac_make}_set=no
2843
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2844
echo "$as_me:$LINENO: result: yes" >&5
2845
echo "${ECHO_T}yes" >&6
2848
echo "$as_me:$LINENO: result: no" >&5
2849
echo "${ECHO_T}no" >&6
2850
SET_MAKE="MAKE=${MAKE-make}"
2854
# Checks for libraries.
2856
# Check whether --enable-x86_64 or --disable-x86_64 was given.
2857
if test "${enable_x86_64+set}" = set; then
2858
enableval="$enable_x86_64"
2859
if test "$enableval" = ""; then use_64=yes; else use_64=$enableval; fi
2864
if test $use_64 = yes; then
2866
LDFLAGS64="-melf_i386"
2867
PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"
2870
#tell us where gecko-sdk is, try to find if not provided
2874
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2875
if test -n "$ac_tool_prefix"; then
2876
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2877
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2878
echo "$as_me:$LINENO: checking for $ac_word" >&5
2879
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2880
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2881
echo $ECHO_N "(cached) $ECHO_C" >&6
2885
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892
test -z "$as_dir" && as_dir=.
2893
for ac_exec_ext in '' $ac_executable_extensions; do
2894
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2896
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2907
if test -n "$PKG_CONFIG"; then
2908
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2909
echo "${ECHO_T}$PKG_CONFIG" >&6
2911
echo "$as_me:$LINENO: result: no" >&5
2912
echo "${ECHO_T}no" >&6
2916
if test -z "$ac_cv_path_PKG_CONFIG"; then
2917
ac_pt_PKG_CONFIG=$PKG_CONFIG
2918
# Extract the first word of "pkg-config", so it can be a program name with args.
2919
set dummy pkg-config; ac_word=$2
2920
echo "$as_me:$LINENO: checking for $ac_word" >&5
2921
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2922
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2923
echo $ECHO_N "(cached) $ECHO_C" >&6
2925
case $ac_pt_PKG_CONFIG in
2927
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2930
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934
test -z "$as_dir" && as_dir=.
2935
for ac_exec_ext in '' $ac_executable_extensions; do
2936
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2938
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2947
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2949
if test -n "$ac_pt_PKG_CONFIG"; then
2950
echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2951
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
2953
echo "$as_me:$LINENO: result: no" >&5
2954
echo "${ECHO_T}no" >&6
2957
PKG_CONFIG=$ac_pt_PKG_CONFIG
2959
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2963
if test -n "$PKG_CONFIG"; then
2964
_pkg_min_version=0.9.0
2965
echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2966
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
2967
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2968
echo "$as_me:$LINENO: result: yes" >&5
2969
echo "${ECHO_T}yes" >&6
2971
echo "$as_me:$LINENO: result: no" >&5
2972
echo "${ECHO_T}no" >&6
2978
# Check whether --with-gecko-sdk or --without-gecko-sdk was given.
2979
if test "${with_gecko_sdk+set}" = set; then
2980
withval="$with_gecko_sdk"
2981
GECKO_SDK_PREFIX=$with_gecko_sdk
2983
if test -d ${GECKO_SDK_PREFIX}/xpcom/include; then
2984
MOZPLUG_CFLAGS="-I${GECKO_SDK_PREFIX} -I${GECKO_SDK_PREFIX}/xpcom/include -I${GECKO_SDK_PREFIX}/nspr/include -I${GECKO_SDK_PREFIX}/string/include -I${GECKO_SDK_PREFIX}/plugin/include -I${GECKO_SDK_PREFIX}/java/include -DGECKOSDK_ENABLED"
2985
GECKO_DEFINES="-DXPCOM_GLUE -DMOZILLA_STRICT_API"
2988
echo "Using new (v1.7+) gecko-sdk"
2989
MOZPLUG_CFLAGS="-I${GECKO_SDK_PREFIX} -I${GECKO_SDK_PREFIX}/include"
2990
GECKO_DEFINES="-DXPCOM_GLUE -DMOZILLA_STRICT_API"
2993
# Check whether --enable-rpath or --disable-rpath was given.
2994
if test "${enable_rpath+set}" = set; then
2995
enableval="$enable_rpath"
2996
if test "$enableval" = ""; then use_rpath=yes; else use_rpath=$enableval; fi
3001
if test "$use_rpath" = "yes"; then
3002
LDFLAGS="$LDFLAGS -Wl,-R${GECKO_SDK_PREFIX}/bin:${GECKO_SDK_PREFIX}/lib"
3008
{ echo "$as_me:$LINENO: Determining mozilla/firefox packages to build against" >&5
3009
echo "$as_me: Determining mozilla/firefox packages to build against" >&6;}
3012
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3013
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3015
if test -n "$PKG_CONFIG"; then
3016
if test -n "$MOZPLUG_CFLAGS"; then
3017
pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3019
if test -n "$PKG_CONFIG" && \
3020
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\"") >&5
3021
($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); }; then
3025
pkg_cv_MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin" 2>/dev/null`
3033
if test -n "$PKG_CONFIG"; then
3034
if test -n "$MOZPLUG_LIBS"; then
3035
pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3037
if test -n "$PKG_CONFIG" && \
3038
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\"") >&5
3039
($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
3041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042
(exit $ac_status); }; then
3043
pkg_cv_MOZPLUG_LIBS=`$PKG_CONFIG --libs "mozilla-plugin" 2>/dev/null`
3054
if test $pkg_failed = yes; then
3056
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3057
_pkg_short_errors_supported=yes
3059
_pkg_short_errors_supported=no
3061
if test $_pkg_short_errors_supported = yes; then
3062
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-plugin"`
3064
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
3066
# Put the nasty error message in config.log where it belongs
3067
echo "$MOZPLUG_PKG_ERRORS" >&5
3069
echo "$as_me:$LINENO: result: no" >&5
3070
echo "${ECHO_T}no" >&6
3071
{ echo "$as_me:$LINENO: WARNING: mozilla-plugin not found" >&5
3072
echo "$as_me: WARNING: mozilla-plugin not found" >&2;}
3073
elif test $pkg_failed = untried; then
3074
{ echo "$as_me:$LINENO: WARNING: mozilla-plugin not found" >&5
3075
echo "$as_me: WARNING: mozilla-plugin not found" >&2;}
3077
MOZPLUG_CFLAGS=$pkg_cv_MOZPLUG_CFLAGS
3078
MOZPLUG_LIBS=$pkg_cv_MOZPLUG_LIBS
3079
echo "$as_me:$LINENO: result: yes" >&5
3080
echo "${ECHO_T}yes" >&6
3081
MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I`$PKG_CONFIG --variable=includedir mozilla-plugin`"
3082
MOZILLA_HOME=`$PKG_CONFIG --variable=libdir mozilla-plugin`
3086
if test "$MOZPLUG_CFLAGS" = ""; then
3089
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3090
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3092
if test -n "$PKG_CONFIG"; then
3093
if test -n "$MOZPLUG_CFLAGS"; then
3094
pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3096
if test -n "$PKG_CONFIG" && \
3097
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-plugin\"") >&5
3098
($PKG_CONFIG --exists --print-errors "firefox-plugin") 2>&5
3100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101
(exit $ac_status); }; then
3102
pkg_cv_MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin" 2>/dev/null`
3110
if test -n "$PKG_CONFIG"; then
3111
if test -n "$MOZPLUG_LIBS"; then
3112
pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3114
if test -n "$PKG_CONFIG" && \
3115
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-plugin\"") >&5
3116
($PKG_CONFIG --exists --print-errors "firefox-plugin") 2>&5
3118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119
(exit $ac_status); }; then
3120
pkg_cv_MOZPLUG_LIBS=`$PKG_CONFIG --libs "firefox-plugin" 2>/dev/null`
3131
if test $pkg_failed = yes; then
3133
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3134
_pkg_short_errors_supported=yes
3136
_pkg_short_errors_supported=no
3138
if test $_pkg_short_errors_supported = yes; then
3139
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "firefox-plugin"`
3141
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
3143
# Put the nasty error message in config.log where it belongs
3144
echo "$MOZPLUG_PKG_ERRORS" >&5
3146
echo "$as_me:$LINENO: result: no" >&5
3147
echo "${ECHO_T}no" >&6
3148
{ echo "$as_me:$LINENO: WARNING: firefox-plugin not found" >&5
3149
echo "$as_me: WARNING: firefox-plugin not found" >&2;}
3150
elif test $pkg_failed = untried; then
3151
{ echo "$as_me:$LINENO: WARNING: firefox-plugin not found" >&5
3152
echo "$as_me: WARNING: firefox-plugin not found" >&2;}
3154
MOZPLUG_CFLAGS=$pkg_cv_MOZPLUG_CFLAGS
3155
MOZPLUG_LIBS=$pkg_cv_MOZPLUG_LIBS
3156
echo "$as_me:$LINENO: result: yes" >&5
3157
echo "${ECHO_T}yes" >&6
3158
MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I`$PKG_CONFIG --variable=includedir firefox-plugin`"
3159
MOZILLA_HOME=`$PKG_CONFIG --variable=libdir firefox-plugin`
3163
if test "$MOZPLUG_CFLAGS" = ""; then
3166
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3167
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3169
if test -n "$PKG_CONFIG"; then
3170
if test -n "$MOZPLUG_CFLAGS"; then
3171
pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3173
if test -n "$PKG_CONFIG" && \
3174
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin\"") >&5
3175
($PKG_CONFIG --exists --print-errors "seamonkey-plugin") 2>&5
3177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
(exit $ac_status); }; then
3179
pkg_cv_MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin" 2>/dev/null`
3187
if test -n "$PKG_CONFIG"; then
3188
if test -n "$MOZPLUG_LIBS"; then
3189
pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3191
if test -n "$PKG_CONFIG" && \
3192
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin\"") >&5
3193
($PKG_CONFIG --exists --print-errors "seamonkey-plugin") 2>&5
3195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196
(exit $ac_status); }; then
3197
pkg_cv_MOZPLUG_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin" 2>/dev/null`
3208
if test $pkg_failed = yes; then
3210
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3211
_pkg_short_errors_supported=yes
3213
_pkg_short_errors_supported=no
3215
if test $_pkg_short_errors_supported = yes; then
3216
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "seamonkey-plugin"`
3218
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin"`
3220
# Put the nasty error message in config.log where it belongs
3221
echo "$MOZPLUG_PKG_ERRORS" >&5
3223
echo "$as_me:$LINENO: result: no" >&5
3224
echo "${ECHO_T}no" >&6
3225
{ echo "$as_me:$LINENO: WARNING: seamonkey-plugin not found" >&5
3226
echo "$as_me: WARNING: seamonkey-plugin not found" >&2;}
3227
elif test $pkg_failed = untried; then
3228
{ echo "$as_me:$LINENO: WARNING: seamonkey-plugin not found" >&5
3229
echo "$as_me: WARNING: seamonkey-plugin not found" >&2;}
3231
MOZPLUG_CFLAGS=$pkg_cv_MOZPLUG_CFLAGS
3232
MOZPLUG_LIBS=$pkg_cv_MOZPLUG_LIBS
3233
echo "$as_me:$LINENO: result: yes" >&5
3234
echo "${ECHO_T}yes" >&6
3235
MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I`$PKG_CONFIG --variable=includedir seamonkey-plugin`"
3236
MOZILLA_HOME=`$PKG_CONFIG --variable=libdir seamonkey-plugin`
3240
if test "$MOZPLUG_CFLAGS" = ""; then
3243
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3244
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3246
if test -n "$PKG_CONFIG"; then
3247
if test -n "$MOZPLUG_CFLAGS"; then
3248
pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3250
if test -n "$PKG_CONFIG" && \
3251
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin\"") >&5
3252
($PKG_CONFIG --exists --print-errors "xulrunner-plugin") 2>&5
3254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255
(exit $ac_status); }; then
3256
pkg_cv_MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin" 2>/dev/null`
3264
if test -n "$PKG_CONFIG"; then
3265
if test -n "$MOZPLUG_LIBS"; then
3266
pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3268
if test -n "$PKG_CONFIG" && \
3269
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin\"") >&5
3270
($PKG_CONFIG --exists --print-errors "xulrunner-plugin") 2>&5
3272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
(exit $ac_status); }; then
3274
pkg_cv_MOZPLUG_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin" 2>/dev/null`
3285
if test $pkg_failed = yes; then
3287
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3288
_pkg_short_errors_supported=yes
3290
_pkg_short_errors_supported=no
3292
if test $_pkg_short_errors_supported = yes; then
3293
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xulrunner-plugin"`
3295
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
3297
# Put the nasty error message in config.log where it belongs
3298
echo "$MOZPLUG_PKG_ERRORS" >&5
3300
echo "$as_me:$LINENO: result: no" >&5
3301
echo "${ECHO_T}no" >&6
3302
{ echo "$as_me:$LINENO: WARNING: xulrunner-plugin not found" >&5
3303
echo "$as_me: WARNING: xulrunner-plugin not found" >&2;}
3304
elif test $pkg_failed = untried; then
3305
{ echo "$as_me:$LINENO: WARNING: xulrunner-plugin not found" >&5
3306
echo "$as_me: WARNING: xulrunner-plugin not found" >&2;}
3308
MOZPLUG_CFLAGS=$pkg_cv_MOZPLUG_CFLAGS
3309
MOZPLUG_LIBS=$pkg_cv_MOZPLUG_LIBS
3310
echo "$as_me:$LINENO: result: yes" >&5
3311
echo "${ECHO_T}yes" >&6
3312
MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I`$PKG_CONFIG --variable=includedir xulrunner-plugin`"
3313
MOZILLA_HOME=`$PKG_CONFIG --variable=libdir xulrunner-plugin`
3317
if test "$MOZPLUG_CFLAGS" = ""; then
3320
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3321
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3323
if test -n "$PKG_CONFIG"; then
3324
if test -n "$MOZPLUG_CFLAGS"; then
3325
pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3327
if test -n "$PKG_CONFIG" && \
3328
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"iceape-plugin\"") >&5
3329
($PKG_CONFIG --exists --print-errors "iceape-plugin") 2>&5
3331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332
(exit $ac_status); }; then
3333
pkg_cv_MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin" 2>/dev/null`
3341
if test -n "$PKG_CONFIG"; then
3342
if test -n "$MOZPLUG_LIBS"; then
3343
pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3345
if test -n "$PKG_CONFIG" && \
3346
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"iceape-plugin\"") >&5
3347
($PKG_CONFIG --exists --print-errors "iceape-plugin") 2>&5
3349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350
(exit $ac_status); }; then
3351
pkg_cv_MOZPLUG_LIBS=`$PKG_CONFIG --libs "iceape-plugin" 2>/dev/null`
3362
if test $pkg_failed = yes; then
3364
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3365
_pkg_short_errors_supported=yes
3367
_pkg_short_errors_supported=no
3369
if test $_pkg_short_errors_supported = yes; then
3370
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "iceape-plugin"`
3372
MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin"`
3374
# Put the nasty error message in config.log where it belongs
3375
echo "$MOZPLUG_PKG_ERRORS" >&5
3377
echo "$as_me:$LINENO: result: no" >&5
3378
echo "${ECHO_T}no" >&6
3379
{ echo "$as_me:$LINENO: WARNING: iceape-plugin not found" >&5
3380
echo "$as_me: WARNING: iceape-plugin not found" >&2;}
3381
elif test $pkg_failed = untried; then
3382
{ echo "$as_me:$LINENO: WARNING: iceape-plugin not found" >&5
3383
echo "$as_me: WARNING: iceape-plugin not found" >&2;}
3385
MOZPLUG_CFLAGS=$pkg_cv_MOZPLUG_CFLAGS
3386
MOZPLUG_LIBS=$pkg_cv_MOZPLUG_LIBS
3387
echo "$as_me:$LINENO: result: yes" >&5
3388
echo "${ECHO_T}yes" >&6
3389
MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I`$PKG_CONFIG --variable=includedir iceape-plugin`"
3390
MOZILLA_HOME=`$PKG_CONFIG --variable=libdir iceape-plugin`
3395
if test "$MOZPLUG_CFLAGS" = ""; then
3396
{ { echo "$as_me:$LINENO: error: Unable to find mozilla or firefox development files" >&5
3397
echo "$as_me: error: Unable to find mozilla or firefox development files" >&2;}
3398
{ (exit 1); exit 1; }; }
3405
# Check whether --with-mozilla-home or --without-mozilla-home was given.
3406
if test "${with_mozilla_home+set}" = set; then
3407
withval="$with_mozilla_home"
3408
MOZ_HOME=$with_mozilla_home
3409
if test -d ${MOZ_HOME}/plugins; then
3410
MOZILLA_HOME=$MOZ_HOME
3418
GTK_DEFINES="-DX_ENABLED"
3419
# Check whether --enable-gtk2 or --disable-gtk2 was given.
3420
if test "${enable_gtk2+set}" = set; then
3421
enableval="$enable_gtk2"
3426
# Check whether --enable-gtk1 or --disable-gtk1 was given.
3427
if test "${enable_gtk1+set}" = set; then
3428
enableval="$enable_gtk1"
3429
if test "$enableval" = ""; then use_gtk1=yes; else use_gtk1=$enableval; fi
3433
# Check whether --enable-x or --disable-x was given.
3434
if test "${enable_x+set}" = set; then
3435
enableval="$enable_x"
3436
if test "$enableval" = ""; then use_x=yes; else use_x=$enableval; fi
3441
if test $use_x = yes; then
3446
if test $use_gtk1 = yes; then
3450
if test $use_gtk2 = yes; then
3453
echo "$as_me:$LINENO: checking for GTK" >&5
3454
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
3456
if test -n "$PKG_CONFIG"; then
3457
if test -n "$GTK_CFLAGS"; then
3458
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
3460
if test -n "$PKG_CONFIG" && \
3461
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
3462
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
3464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
(exit $ac_status); }; then
3466
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
3474
if test -n "$PKG_CONFIG"; then
3475
if test -n "$GTK_LIBS"; then
3476
pkg_cv_GTK_LIBS="$GTK_LIBS"
3478
if test -n "$PKG_CONFIG" && \
3479
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
3480
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
3482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
(exit $ac_status); }; then
3484
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
3495
if test $pkg_failed = yes; then
3497
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3498
_pkg_short_errors_supported=yes
3500
_pkg_short_errors_supported=no
3502
if test $_pkg_short_errors_supported = yes; then
3503
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
3505
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
3507
# Put the nasty error message in config.log where it belongs
3508
echo "$GTK_PKG_ERRORS" >&5
3510
echo "$as_me:$LINENO: result: no" >&5
3511
echo "${ECHO_T}no" >&6
3512
{ echo "$as_me:$LINENO: WARNING: *** Running in X mode - Limited Features ***" >&5
3513
echo "$as_me: WARNING: *** Running in X mode - Limited Features ***" >&2;}
3514
elif test $pkg_failed = untried; then
3515
{ echo "$as_me:$LINENO: WARNING: *** Running in X mode - Limited Features ***" >&5
3516
echo "$as_me: WARNING: *** Running in X mode - Limited Features ***" >&2;}
3518
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
3519
GTK_LIBS=$pkg_cv_GTK_LIBS
3520
echo "$as_me:$LINENO: result: yes" >&5
3521
echo "${ECHO_T}yes" >&6
3522
GTK_DEFINES="-DGTK_ENABLED"
3523
cat >>confdefs.h <<\_ACEOF
3524
@%:@define GTK2_ENABLED 1
3530
echo "$as_me:$LINENO: checking for GTK24" >&5
3531
echo $ECHO_N "checking for GTK24... $ECHO_C" >&6
3533
if test -n "$PKG_CONFIG"; then
3534
if test -n "$GTK24_CFLAGS"; then
3535
pkg_cv_GTK24_CFLAGS="$GTK24_CFLAGS"
3537
if test -n "$PKG_CONFIG" && \
3538
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.0\"") >&5
3539
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.0") 2>&5
3541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
(exit $ac_status); }; then
3543
pkg_cv_GTK24_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.0" 2>/dev/null`
3551
if test -n "$PKG_CONFIG"; then
3552
if test -n "$GTK24_LIBS"; then
3553
pkg_cv_GTK24_LIBS="$GTK24_LIBS"
3555
if test -n "$PKG_CONFIG" && \
3556
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.0\"") >&5
3557
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.0") 2>&5
3559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560
(exit $ac_status); }; then
3561
pkg_cv_GTK24_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.0" 2>/dev/null`
3572
if test $pkg_failed = yes; then
3574
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3575
_pkg_short_errors_supported=yes
3577
_pkg_short_errors_supported=no
3579
if test $_pkg_short_errors_supported = yes; then
3580
GTK24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.0"`
3582
GTK24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.0"`
3584
# Put the nasty error message in config.log where it belongs
3585
echo "$GTK24_PKG_ERRORS" >&5
3587
echo "$as_me:$LINENO: result: no" >&5
3588
echo "${ECHO_T}no" >&6
3589
{ echo "$as_me:$LINENO: WARNING: Some GUI Features are disabled" >&5
3590
echo "$as_me: WARNING: Some GUI Features are disabled" >&2;}
3591
elif test $pkg_failed = untried; then
3592
{ echo "$as_me:$LINENO: WARNING: Some GUI Features are disabled" >&5
3593
echo "$as_me: WARNING: Some GUI Features are disabled" >&2;}
3595
GTK24_CFLAGS=$pkg_cv_GTK24_CFLAGS
3596
GTK24_LIBS=$pkg_cv_GTK24_LIBS
3597
echo "$as_me:$LINENO: result: yes" >&5
3598
echo "${ECHO_T}yes" >&6
3599
GTK_DEFINES="-DGTK_ENABLED"
3600
cat >>confdefs.h <<\_ACEOF
3601
@%:@define GTK24_ENABLED 1
3607
echo "$as_me:$LINENO: checking for GTHREAD" >&5
3608
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6
3610
if test -n "$PKG_CONFIG"; then
3611
if test -n "$GTHREAD_CFLAGS"; then
3612
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
3614
if test -n "$PKG_CONFIG" && \
3615
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
3616
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
3618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619
(exit $ac_status); }; then
3620
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
3628
if test -n "$PKG_CONFIG"; then
3629
if test -n "$GTHREAD_LIBS"; then
3630
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
3632
if test -n "$PKG_CONFIG" && \
3633
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
3634
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
3636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637
(exit $ac_status); }; then
3638
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
3649
if test $pkg_failed = yes; then
3651
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3652
_pkg_short_errors_supported=yes
3654
_pkg_short_errors_supported=no
3656
if test $_pkg_short_errors_supported = yes; then
3657
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
3659
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
3661
# Put the nasty error message in config.log where it belongs
3662
echo "$GTHREAD_PKG_ERRORS" >&5
3664
echo "$as_me:$LINENO: result: no" >&5
3665
echo "${ECHO_T}no" >&6
3666
{ { echo "$as_me:$LINENO: error: Missing gthread package" >&5
3667
echo "$as_me: error: Missing gthread package" >&2;}
3668
{ (exit 1); exit 1; }; }
3669
elif test $pkg_failed = untried; then
3670
{ { echo "$as_me:$LINENO: error: Missing gthread package" >&5
3671
echo "$as_me: error: Missing gthread package" >&2;}
3672
{ (exit 1); exit 1; }; }
3674
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
3675
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
3676
echo "$as_me:$LINENO: result: yes" >&5
3677
echo "${ECHO_T}yes" >&6
3681
if test $use_gtk1 = yes; then
3684
echo "$as_me:$LINENO: checking for GTK" >&5
3685
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
3687
if test -n "$PKG_CONFIG"; then
3688
if test -n "$GTK_CFLAGS"; then
3689
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
3691
if test -n "$PKG_CONFIG" && \
3692
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+\"") >&5
3693
($PKG_CONFIG --exists --print-errors "gtk+") 2>&5
3695
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696
(exit $ac_status); }; then
3697
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+" 2>/dev/null`
3705
if test -n "$PKG_CONFIG"; then
3706
if test -n "$GTK_LIBS"; then
3707
pkg_cv_GTK_LIBS="$GTK_LIBS"
3709
if test -n "$PKG_CONFIG" && \
3710
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+\"") >&5
3711
($PKG_CONFIG --exists --print-errors "gtk+") 2>&5
3713
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714
(exit $ac_status); }; then
3715
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+" 2>/dev/null`
3726
if test $pkg_failed = yes; then
3728
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3729
_pkg_short_errors_supported=yes
3731
_pkg_short_errors_supported=no
3733
if test $_pkg_short_errors_supported = yes; then
3734
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+"`
3736
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+"`
3738
# Put the nasty error message in config.log where it belongs
3739
echo "$GTK_PKG_ERRORS" >&5
3741
echo "$as_me:$LINENO: result: no" >&5
3742
echo "${ECHO_T}no" >&6
3743
{ echo "$as_me:$LINENO: WARNING: gtk+ development packages are not found" >&5
3744
echo "$as_me: WARNING: gtk+ development packages are not found" >&2;}
3745
elif test $pkg_failed = untried; then
3746
{ echo "$as_me:$LINENO: WARNING: gtk+ development packages are not found" >&5
3747
echo "$as_me: WARNING: gtk+ development packages are not found" >&2;}
3749
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
3750
GTK_LIBS=$pkg_cv_GTK_LIBS
3751
echo "$as_me:$LINENO: result: yes" >&5
3752
echo "${ECHO_T}yes" >&6
3753
GTK_DEFINES="-DGTK_ENABLED"
3754
cat >>confdefs.h <<\_ACEOF
3755
@%:@define GTK1_ENABLED 1
3761
echo "$as_me:$LINENO: checking for GTHREAD" >&5
3762
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6
3764
if test -n "$PKG_CONFIG"; then
3765
if test -n "$GTHREAD_CFLAGS"; then
3766
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
3768
if test -n "$PKG_CONFIG" && \
3769
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread\"") >&5
3770
($PKG_CONFIG --exists --print-errors "gthread") 2>&5
3772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773
(exit $ac_status); }; then
3774
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread" 2>/dev/null`
3782
if test -n "$PKG_CONFIG"; then
3783
if test -n "$GTHREAD_LIBS"; then
3784
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
3786
if test -n "$PKG_CONFIG" && \
3787
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread\"") >&5
3788
($PKG_CONFIG --exists --print-errors "gthread") 2>&5
3790
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791
(exit $ac_status); }; then
3792
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread" 2>/dev/null`
3803
if test $pkg_failed = yes; then
3805
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3806
_pkg_short_errors_supported=yes
3808
_pkg_short_errors_supported=no
3810
if test $_pkg_short_errors_supported = yes; then
3811
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread"`
3813
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread"`
3815
# Put the nasty error message in config.log where it belongs
3816
echo "$GTHREAD_PKG_ERRORS" >&5
3818
echo "$as_me:$LINENO: result: no" >&5
3819
echo "${ECHO_T}no" >&6
3820
{ { echo "$as_me:$LINENO: error: Missing gthread package" >&5
3821
echo "$as_me: error: Missing gthread package" >&2;}
3822
{ (exit 1); exit 1; }; }
3823
elif test $pkg_failed = untried; then
3824
{ { echo "$as_me:$LINENO: error: Missing gthread package" >&5
3825
echo "$as_me: error: Missing gthread package" >&2;}
3826
{ (exit 1); exit 1; }; }
3828
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
3829
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
3830
echo "$as_me:$LINENO: result: yes" >&5
3831
echo "${ECHO_T}yes" >&6
3836
# Check whether --enable-wmp or --disable-wmp was given.
3837
if test "${enable_wmp+set}" = set; then
3838
enableval="$enable_wmp"
3839
if test "$enableval" = ""; then wmp=yes; else wmp=$enableval; fi
3843
# Check whether --enable-qt or --disable-qt was given.
3844
if test "${enable_qt+set}" = set; then
3845
enableval="$enable_qt"
3846
if test "$enableval" = ""; then qt=yes; else qt=$enableval; fi
3850
# Check whether --enable-rm or --disable-rm was given.
3851
if test "${enable_rm+set}" = set; then
3852
enableval="$enable_rm"
3853
if test "$enableval" = ""; then rm=yes; else rm=$enableval; fi
3857
# Check whether --enable-gmp or --disable-gmp was given.
3858
if test "${enable_gmp+set}" = set; then
3859
enableval="$enable_gmp"
3860
if test "$enableval" = ""; then gmp=no; else gmp=$enableval; fi
3864
# Check whether --enable-dvx or --disable-dvx was given.
3865
if test "${enable_dvx+set}" = set; then
3866
enableval="$enable_dvx"
3867
if test "$enableval" = ""; then dvx=yes; else dvx=$enableval; fi
3872
CREATE="mplayerplug-in"
3873
if test x$wmp = xyes; then
3874
CREATE=" $CREATE mplayerplug-in-wmp"
3876
if test x$qt = xyes; then
3877
CREATE=" $CREATE mplayerplug-in-qt"
3879
if test x$rm = xyes; then
3880
CREATE=" $CREATE mplayerplug-in-rm"
3882
if test x$gmp = xyes; then
3883
CREATE=" $CREATE mplayerplug-in-gmp"
3885
if test x$dvx = xyes; then
3886
CREATE=" $CREATE mplayerplug-in-dvx"
3899
# Checks for header files.
3902
ac_cpp='$CPP $CPPFLAGS'
3903
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3904
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3907
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3908
# On Suns, sometimes $CPP names a directory.
3909
if test -n "$CPP" && test -d "$CPP"; then
3912
if test -z "$CPP"; then
3913
if test "${ac_cv_prog_CPP+set}" = set; then
3914
echo $ECHO_N "(cached) $ECHO_C" >&6
3916
# Double quotes because CPP needs to be expanded
3917
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3920
for ac_c_preproc_warn_flag in '' yes
3922
# Use a header file that comes with gcc, so configuring glibc
3923
# with a fresh cross-compiler works.
3924
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3925
# <limits.h> exists even on freestanding compilers.
3926
# On the NeXT, cc -E runs the code through the compiler's parser,
3927
# not just through cpp. "Syntax error" is here to catch this case.
3928
cat >conftest.$ac_ext <<_ACEOF
3931
cat confdefs.h >>conftest.$ac_ext
3932
cat >>conftest.$ac_ext <<_ACEOF
3933
/* end confdefs.h. */
3935
@%:@ include <limits.h>
3937
@%:@ include <assert.h>
3941
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3942
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3944
grep -v '^ *+' conftest.er1 >conftest.err
3946
cat conftest.err >&5
3947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948
(exit $ac_status); } >/dev/null; then
3949
if test -s conftest.err; then
3950
ac_cpp_err=$ac_c_preproc_warn_flag
3951
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3958
if test -z "$ac_cpp_err"; then
3961
echo "$as_me: failed program was:" >&5
3962
sed 's/^/| /' conftest.$ac_ext >&5
3964
# Broken: fails on valid input.
3967
rm -f conftest.err conftest.$ac_ext
3969
# OK, works on sane cases. Now check whether non-existent headers
3970
# can be detected and how.
3971
cat >conftest.$ac_ext <<_ACEOF
3974
cat confdefs.h >>conftest.$ac_ext
3975
cat >>conftest.$ac_ext <<_ACEOF
3976
/* end confdefs.h. */
3977
@%:@include <ac_nonexistent.h>
3979
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3980
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3982
grep -v '^ *+' conftest.er1 >conftest.err
3984
cat conftest.err >&5
3985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986
(exit $ac_status); } >/dev/null; then
3987
if test -s conftest.err; then
3988
ac_cpp_err=$ac_c_preproc_warn_flag
3989
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3996
if test -z "$ac_cpp_err"; then
3997
# Broken: success on invalid input.
4000
echo "$as_me: failed program was:" >&5
4001
sed 's/^/| /' conftest.$ac_ext >&5
4003
# Passes both tests.
4007
rm -f conftest.err conftest.$ac_ext
4010
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4011
rm -f conftest.err conftest.$ac_ext
4012
if $ac_preproc_ok; then
4024
echo "$as_me:$LINENO: result: $CPP" >&5
4025
echo "${ECHO_T}$CPP" >&6
4027
for ac_c_preproc_warn_flag in '' yes
4029
# Use a header file that comes with gcc, so configuring glibc
4030
# with a fresh cross-compiler works.
4031
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4032
# <limits.h> exists even on freestanding compilers.
4033
# On the NeXT, cc -E runs the code through the compiler's parser,
4034
# not just through cpp. "Syntax error" is here to catch this case.
4035
cat >conftest.$ac_ext <<_ACEOF
4038
cat confdefs.h >>conftest.$ac_ext
4039
cat >>conftest.$ac_ext <<_ACEOF
4040
/* end confdefs.h. */
4042
@%:@ include <limits.h>
4044
@%:@ include <assert.h>
4048
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4049
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4051
grep -v '^ *+' conftest.er1 >conftest.err
4053
cat conftest.err >&5
4054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055
(exit $ac_status); } >/dev/null; then
4056
if test -s conftest.err; then
4057
ac_cpp_err=$ac_c_preproc_warn_flag
4058
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4065
if test -z "$ac_cpp_err"; then
4068
echo "$as_me: failed program was:" >&5
4069
sed 's/^/| /' conftest.$ac_ext >&5
4071
# Broken: fails on valid input.
4074
rm -f conftest.err conftest.$ac_ext
4076
# OK, works on sane cases. Now check whether non-existent headers
4077
# can be detected and how.
4078
cat >conftest.$ac_ext <<_ACEOF
4081
cat confdefs.h >>conftest.$ac_ext
4082
cat >>conftest.$ac_ext <<_ACEOF
4083
/* end confdefs.h. */
4084
@%:@include <ac_nonexistent.h>
4086
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4087
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4089
grep -v '^ *+' conftest.er1 >conftest.err
4091
cat conftest.err >&5
4092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093
(exit $ac_status); } >/dev/null; then
4094
if test -s conftest.err; then
4095
ac_cpp_err=$ac_c_preproc_warn_flag
4096
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4103
if test -z "$ac_cpp_err"; then
4104
# Broken: success on invalid input.
4107
echo "$as_me: failed program was:" >&5
4108
sed 's/^/| /' conftest.$ac_ext >&5
4110
# Passes both tests.
4114
rm -f conftest.err conftest.$ac_ext
4117
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4118
rm -f conftest.err conftest.$ac_ext
4119
if $ac_preproc_ok; then
4122
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4123
See \`config.log' for more details." >&5
4124
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4125
See \`config.log' for more details." >&2;}
4126
{ (exit 1); exit 1; }; }
4130
ac_cpp='$CPP $CPPFLAGS'
4131
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136
echo "$as_me:$LINENO: checking for X" >&5
4137
echo $ECHO_N "checking for X... $ECHO_C" >&6
4140
# Check whether --with-x or --without-x was given.
4141
if test "${with_x+set}" = set; then
4145
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4146
if test "x$with_x" = xno; then
4147
# The user explicitly disabled X.
4150
if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
4151
# Both variables are already set.
4154
if test "${ac_cv_have_x+set}" = set; then
4155
echo $ECHO_N "(cached) $ECHO_C" >&6
4157
# One or both of the vars are not set, and there is no cached value.
4158
ac_x_includes=no ac_x_libraries=no
4160
if mkdir conftest.dir; then
4162
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
4163
cat >Imakefile <<'_ACEOF'
4165
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
4167
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
4168
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4169
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
4170
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4171
for ac_extension in a so sl; do
4172
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
4173
test -f $ac_im_libdir/libX11.$ac_extension; then
4174
ac_im_usrlibdir=$ac_im_libdir; break
4177
# Screen out bogus values from the imake configuration. They are
4178
# bogus both because they are the default anyway, and because
4179
# using them would break gcc on systems where it needs fixed includes.
4180
case $ac_im_incroot in
4182
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4184
case $ac_im_usrlibdir in
4186
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4193
# Standard set of common directories for X headers.
4194
# Check X11 before X11Rn because it is often a symlink to the current release.
4206
/usr/local/X11/include
4207
/usr/local/X11R6/include
4208
/usr/local/X11R5/include
4209
/usr/local/X11R4/include
4211
/usr/local/include/X11
4212
/usr/local/include/X11R6
4213
/usr/local/include/X11R5
4214
/usr/local/include/X11R4
4218
/usr/XFree86/include/X11
4222
/usr/unsupported/include
4224
/usr/local/x11r5/include
4225
/usr/lpp/Xamples/include
4227
/usr/openwin/include
4228
/usr/openwin/share/include'
4230
if test "$ac_x_includes" = no; then
4231
# Guess where to find include files, by looking for Xlib.h.
4232
# First, try using that file with no special directory specified.
4233
cat >conftest.$ac_ext <<_ACEOF
4236
cat confdefs.h >>conftest.$ac_ext
4237
cat >>conftest.$ac_ext <<_ACEOF
4238
/* end confdefs.h. */
4239
@%:@include <X11/Xlib.h>
4241
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4242
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4244
grep -v '^ *+' conftest.er1 >conftest.err
4246
cat conftest.err >&5
4247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248
(exit $ac_status); } >/dev/null; then
4249
if test -s conftest.err; then
4250
ac_cpp_err=$ac_c_preproc_warn_flag
4251
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4258
if test -z "$ac_cpp_err"; then
4259
# We can compile using X headers with no special include directory.
4262
echo "$as_me: failed program was:" >&5
4263
sed 's/^/| /' conftest.$ac_ext >&5
4265
for ac_dir in $ac_x_header_dirs; do
4266
if test -r "$ac_dir/X11/Xlib.h"; then
4267
ac_x_includes=$ac_dir
4272
rm -f conftest.err conftest.$ac_ext
4273
fi # $ac_x_includes = no
4275
if test "$ac_x_libraries" = no; then
4276
# Check for the libraries.
4277
# See if we find them without any special options.
4278
# Don't add to $LIBS permanently.
4281
cat >conftest.$ac_ext <<_ACEOF
4284
cat confdefs.h >>conftest.$ac_ext
4285
cat >>conftest.$ac_ext <<_ACEOF
4286
/* end confdefs.h. */
4287
@%:@include <X11/Xlib.h>
4296
rm -f conftest.$ac_objext conftest$ac_exeext
4297
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298
(eval $ac_link) 2>conftest.er1
4300
grep -v '^ *+' conftest.er1 >conftest.err
4302
cat conftest.err >&5
4303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304
(exit $ac_status); } &&
4305
{ ac_try='test -z "$ac_c_werror_flag"
4306
|| test ! -s conftest.err'
4307
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311
(exit $ac_status); }; } &&
4312
{ ac_try='test -s conftest$ac_exeext'
4313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
(exit $ac_status); }; }; then
4319
# We can link X programs with no special library path.
4322
echo "$as_me: failed program was:" >&5
4323
sed 's/^/| /' conftest.$ac_ext >&5
4326
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4328
# Don't even attempt the hair of trying to link an X program!
4329
for ac_extension in a so sl; do
4330
if test -r $ac_dir/libXt.$ac_extension; then
4331
ac_x_libraries=$ac_dir
4337
rm -f conftest.err conftest.$ac_objext \
4338
conftest$ac_exeext conftest.$ac_ext
4339
fi # $ac_x_libraries = no
4341
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
4342
# Didn't find X anywhere. Cache the known absence of X.
4343
ac_cv_have_x="have_x=no"
4345
# Record where we found X for the cache.
4346
ac_cv_have_x="have_x=yes \
4347
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
4352
eval "$ac_cv_have_x"
4355
if test "$have_x" != yes; then
4356
echo "$as_me:$LINENO: result: $have_x" >&5
4357
echo "${ECHO_T}$have_x" >&6
4360
# If each of the values was on the command line, it overrides each guess.
4361
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4362
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4363
# Update the cache value to reflect the command line values.
4364
ac_cv_have_x="have_x=yes \
4365
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
4366
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4367
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
4370
if test "$no_x" = yes; then
4371
# Not all programs may use this symbol, but it does not hurt to define it.
4373
cat >>confdefs.h <<\_ACEOF
4374
@%:@define X_DISPLAY_MISSING 1
4377
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4379
if test -n "$x_includes"; then
4380
X_CFLAGS="$X_CFLAGS -I$x_includes"
4383
# It would also be nice to do this for all -L options, not just this one.
4384
if test -n "$x_libraries"; then
4385
X_LIBS="$X_LIBS -L$x_libraries"
4386
# For Solaris; some versions of Sun CC require a space after -R and
4387
# others require no space. Words are not sufficient . . . .
4388
case `(uname -sr) 2>/dev/null` in
4390
echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4391
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
4392
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4393
cat >conftest.$ac_ext <<_ACEOF
4396
cat confdefs.h >>conftest.$ac_ext
4397
cat >>conftest.$ac_ext <<_ACEOF
4398
/* end confdefs.h. */
4408
rm -f conftest.$ac_objext conftest$ac_exeext
4409
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4410
(eval $ac_link) 2>conftest.er1
4412
grep -v '^ *+' conftest.er1 >conftest.err
4414
cat conftest.err >&5
4415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416
(exit $ac_status); } &&
4417
{ ac_try='test -z "$ac_c_werror_flag"
4418
|| test ! -s conftest.err'
4419
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423
(exit $ac_status); }; } &&
4424
{ ac_try='test -s conftest$ac_exeext'
4425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429
(exit $ac_status); }; }; then
4432
echo "$as_me: failed program was:" >&5
4433
sed 's/^/| /' conftest.$ac_ext >&5
4437
rm -f conftest.err conftest.$ac_objext \
4438
conftest$ac_exeext conftest.$ac_ext
4439
if test $ac_R_nospace = yes; then
4440
echo "$as_me:$LINENO: result: no" >&5
4441
echo "${ECHO_T}no" >&6
4442
X_LIBS="$X_LIBS -R$x_libraries"
4444
LIBS="$ac_xsave_LIBS -R $x_libraries"
4445
cat >conftest.$ac_ext <<_ACEOF
4448
cat confdefs.h >>conftest.$ac_ext
4449
cat >>conftest.$ac_ext <<_ACEOF
4450
/* end confdefs.h. */
4460
rm -f conftest.$ac_objext conftest$ac_exeext
4461
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4462
(eval $ac_link) 2>conftest.er1
4464
grep -v '^ *+' conftest.er1 >conftest.err
4466
cat conftest.err >&5
4467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
(exit $ac_status); } &&
4469
{ ac_try='test -z "$ac_c_werror_flag"
4470
|| test ! -s conftest.err'
4471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
4480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481
(exit $ac_status); }; }; then
4484
echo "$as_me: failed program was:" >&5
4485
sed 's/^/| /' conftest.$ac_ext >&5
4489
rm -f conftest.err conftest.$ac_objext \
4490
conftest$ac_exeext conftest.$ac_ext
4491
if test $ac_R_space = yes; then
4492
echo "$as_me:$LINENO: result: yes" >&5
4493
echo "${ECHO_T}yes" >&6
4494
X_LIBS="$X_LIBS -R $x_libraries"
4496
echo "$as_me:$LINENO: result: neither works" >&5
4497
echo "${ECHO_T}neither works" >&6
4504
# Check for system-dependent libraries X programs must link with.
4505
# Do this before checking for the system-independent R6 libraries
4506
# (-lICE), since we may need -lsocket or whatever for X linking.
4508
if test "$ISC" = yes; then
4509
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4511
# Martyn Johnson says this is needed for Ultrix, if the X
4512
# libraries were built with DECnet support. And Karl Berry says
4513
# the Alpha needs dnet_stub (dnet does not exist).
4514
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4515
cat >conftest.$ac_ext <<_ACEOF
4518
cat confdefs.h >>conftest.$ac_ext
4519
cat >>conftest.$ac_ext <<_ACEOF
4520
/* end confdefs.h. */
4522
/* Override any gcc2 internal prototype to avoid an error. */
4526
/* We use char because int might match the return type of a gcc2
4527
builtin and then its argument prototype would still apply. */
4528
char XOpenDisplay ();
4537
rm -f conftest.$ac_objext conftest$ac_exeext
4538
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4539
(eval $ac_link) 2>conftest.er1
4541
grep -v '^ *+' conftest.er1 >conftest.err
4543
cat conftest.err >&5
4544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545
(exit $ac_status); } &&
4546
{ ac_try='test -z "$ac_c_werror_flag"
4547
|| test ! -s conftest.err'
4548
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552
(exit $ac_status); }; } &&
4553
{ ac_try='test -s conftest$ac_exeext'
4554
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558
(exit $ac_status); }; }; then
4561
echo "$as_me: failed program was:" >&5
4562
sed 's/^/| /' conftest.$ac_ext >&5
4564
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4565
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
4566
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4567
echo $ECHO_N "(cached) $ECHO_C" >&6
4569
ac_check_lib_save_LIBS=$LIBS
4571
cat >conftest.$ac_ext <<_ACEOF
4574
cat confdefs.h >>conftest.$ac_ext
4575
cat >>conftest.$ac_ext <<_ACEOF
4576
/* end confdefs.h. */
4578
/* Override any gcc2 internal prototype to avoid an error. */
4582
/* We use char because int might match the return type of a gcc2
4583
builtin and then its argument prototype would still apply. */
4593
rm -f conftest.$ac_objext conftest$ac_exeext
4594
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4595
(eval $ac_link) 2>conftest.er1
4597
grep -v '^ *+' conftest.er1 >conftest.err
4599
cat conftest.err >&5
4600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601
(exit $ac_status); } &&
4602
{ ac_try='test -z "$ac_c_werror_flag"
4603
|| test ! -s conftest.err'
4604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608
(exit $ac_status); }; } &&
4609
{ ac_try='test -s conftest$ac_exeext'
4610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
(exit $ac_status); }; }; then
4615
ac_cv_lib_dnet_dnet_ntoa=yes
4617
echo "$as_me: failed program was:" >&5
4618
sed 's/^/| /' conftest.$ac_ext >&5
4620
ac_cv_lib_dnet_dnet_ntoa=no
4622
rm -f conftest.err conftest.$ac_objext \
4623
conftest$ac_exeext conftest.$ac_ext
4624
LIBS=$ac_check_lib_save_LIBS
4626
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4627
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
4628
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4629
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4632
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4633
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4634
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
4635
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4636
echo $ECHO_N "(cached) $ECHO_C" >&6
4638
ac_check_lib_save_LIBS=$LIBS
4639
LIBS="-ldnet_stub $LIBS"
4640
cat >conftest.$ac_ext <<_ACEOF
4643
cat confdefs.h >>conftest.$ac_ext
4644
cat >>conftest.$ac_ext <<_ACEOF
4645
/* end confdefs.h. */
4647
/* Override any gcc2 internal prototype to avoid an error. */
4651
/* We use char because int might match the return type of a gcc2
4652
builtin and then its argument prototype would still apply. */
4662
rm -f conftest.$ac_objext conftest$ac_exeext
4663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664
(eval $ac_link) 2>conftest.er1
4666
grep -v '^ *+' conftest.er1 >conftest.err
4668
cat conftest.err >&5
4669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670
(exit $ac_status); } &&
4671
{ ac_try='test -z "$ac_c_werror_flag"
4672
|| test ! -s conftest.err'
4673
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677
(exit $ac_status); }; } &&
4678
{ ac_try='test -s conftest$ac_exeext'
4679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
(exit $ac_status); }; }; then
4684
ac_cv_lib_dnet_stub_dnet_ntoa=yes
4686
echo "$as_me: failed program was:" >&5
4687
sed 's/^/| /' conftest.$ac_ext >&5
4689
ac_cv_lib_dnet_stub_dnet_ntoa=no
4691
rm -f conftest.err conftest.$ac_objext \
4692
conftest$ac_exeext conftest.$ac_ext
4693
LIBS=$ac_check_lib_save_LIBS
4695
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4696
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
4697
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4698
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4703
rm -f conftest.err conftest.$ac_objext \
4704
conftest$ac_exeext conftest.$ac_ext
4705
LIBS="$ac_xsave_LIBS"
4707
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4708
# to get the SysV transport functions.
4709
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4711
# The nsl library prevents programs from opening the X display
4712
# on Irix 5.2, according to T.E. Dickey.
4713
# The functions gethostbyname, getservbyname, and inet_addr are
4714
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4715
echo "$as_me:$LINENO: checking for gethostbyname" >&5
4716
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
4717
if test "${ac_cv_func_gethostbyname+set}" = set; then
4718
echo $ECHO_N "(cached) $ECHO_C" >&6
4720
cat >conftest.$ac_ext <<_ACEOF
4723
cat confdefs.h >>conftest.$ac_ext
4724
cat >>conftest.$ac_ext <<_ACEOF
4725
/* end confdefs.h. */
4726
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4727
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4728
#define gethostbyname innocuous_gethostbyname
4730
/* System header to define __stub macros and hopefully few prototypes,
4731
which can conflict with char gethostbyname (); below.
4732
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4733
<limits.h> exists even on freestanding compilers. */
4736
# include <limits.h>
4738
# include <assert.h>
4741
#undef gethostbyname
4743
/* Override any gcc2 internal prototype to avoid an error. */
4748
/* We use char because int might match the return type of a gcc2
4749
builtin and then its argument prototype would still apply. */
4750
char gethostbyname ();
4751
/* The GNU C library defines this for functions which it implements
4752
to always fail with ENOSYS. Some functions are actually named
4753
something starting with __ and the normal name is an alias. */
4754
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4757
char (*f) () = gethostbyname;
4766
return f != gethostbyname;
4771
rm -f conftest.$ac_objext conftest$ac_exeext
4772
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4773
(eval $ac_link) 2>conftest.er1
4775
grep -v '^ *+' conftest.er1 >conftest.err
4777
cat conftest.err >&5
4778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779
(exit $ac_status); } &&
4780
{ ac_try='test -z "$ac_c_werror_flag"
4781
|| test ! -s conftest.err'
4782
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786
(exit $ac_status); }; } &&
4787
{ ac_try='test -s conftest$ac_exeext'
4788
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792
(exit $ac_status); }; }; then
4793
ac_cv_func_gethostbyname=yes
4795
echo "$as_me: failed program was:" >&5
4796
sed 's/^/| /' conftest.$ac_ext >&5
4798
ac_cv_func_gethostbyname=no
4800
rm -f conftest.err conftest.$ac_objext \
4801
conftest$ac_exeext conftest.$ac_ext
4803
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4804
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
4806
if test $ac_cv_func_gethostbyname = no; then
4807
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4808
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4809
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4810
echo $ECHO_N "(cached) $ECHO_C" >&6
4812
ac_check_lib_save_LIBS=$LIBS
4814
cat >conftest.$ac_ext <<_ACEOF
4817
cat confdefs.h >>conftest.$ac_ext
4818
cat >>conftest.$ac_ext <<_ACEOF
4819
/* end confdefs.h. */
4821
/* Override any gcc2 internal prototype to avoid an error. */
4825
/* We use char because int might match the return type of a gcc2
4826
builtin and then its argument prototype would still apply. */
4827
char gethostbyname ();
4836
rm -f conftest.$ac_objext conftest$ac_exeext
4837
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4838
(eval $ac_link) 2>conftest.er1
4840
grep -v '^ *+' conftest.er1 >conftest.err
4842
cat conftest.err >&5
4843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844
(exit $ac_status); } &&
4845
{ ac_try='test -z "$ac_c_werror_flag"
4846
|| test ! -s conftest.err'
4847
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851
(exit $ac_status); }; } &&
4852
{ ac_try='test -s conftest$ac_exeext'
4853
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857
(exit $ac_status); }; }; then
4858
ac_cv_lib_nsl_gethostbyname=yes
4860
echo "$as_me: failed program was:" >&5
4861
sed 's/^/| /' conftest.$ac_ext >&5
4863
ac_cv_lib_nsl_gethostbyname=no
4865
rm -f conftest.err conftest.$ac_objext \
4866
conftest$ac_exeext conftest.$ac_ext
4867
LIBS=$ac_check_lib_save_LIBS
4869
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4870
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4871
if test $ac_cv_lib_nsl_gethostbyname = yes; then
4872
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4875
if test $ac_cv_lib_nsl_gethostbyname = no; then
4876
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4877
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
4878
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4879
echo $ECHO_N "(cached) $ECHO_C" >&6
4881
ac_check_lib_save_LIBS=$LIBS
4883
cat >conftest.$ac_ext <<_ACEOF
4886
cat confdefs.h >>conftest.$ac_ext
4887
cat >>conftest.$ac_ext <<_ACEOF
4888
/* end confdefs.h. */
4890
/* Override any gcc2 internal prototype to avoid an error. */
4894
/* We use char because int might match the return type of a gcc2
4895
builtin and then its argument prototype would still apply. */
4896
char gethostbyname ();
4905
rm -f conftest.$ac_objext conftest$ac_exeext
4906
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4907
(eval $ac_link) 2>conftest.er1
4909
grep -v '^ *+' conftest.er1 >conftest.err
4911
cat conftest.err >&5
4912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913
(exit $ac_status); } &&
4914
{ ac_try='test -z "$ac_c_werror_flag"
4915
|| test ! -s conftest.err'
4916
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920
(exit $ac_status); }; } &&
4921
{ ac_try='test -s conftest$ac_exeext'
4922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
(exit $ac_status); }; }; then
4927
ac_cv_lib_bsd_gethostbyname=yes
4929
echo "$as_me: failed program was:" >&5
4930
sed 's/^/| /' conftest.$ac_ext >&5
4932
ac_cv_lib_bsd_gethostbyname=no
4934
rm -f conftest.err conftest.$ac_objext \
4935
conftest$ac_exeext conftest.$ac_ext
4936
LIBS=$ac_check_lib_save_LIBS
4938
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4939
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
4940
if test $ac_cv_lib_bsd_gethostbyname = yes; then
4941
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4947
# lieder@skyler.mavd.honeywell.com says without -lsocket,
4948
# socket/setsockopt and other routines are undefined under SCO ODT
4949
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4950
# on later versions), says Simon Leinen: it contains gethostby*
4951
# variants that don't use the name server (or something). -lsocket
4952
# must be given before -lnsl if both are needed. We assume that
4953
# if connect needs -lnsl, so does gethostbyname.
4954
echo "$as_me:$LINENO: checking for connect" >&5
4955
echo $ECHO_N "checking for connect... $ECHO_C" >&6
4956
if test "${ac_cv_func_connect+set}" = set; then
4957
echo $ECHO_N "(cached) $ECHO_C" >&6
4959
cat >conftest.$ac_ext <<_ACEOF
4962
cat confdefs.h >>conftest.$ac_ext
4963
cat >>conftest.$ac_ext <<_ACEOF
4964
/* end confdefs.h. */
4965
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
4966
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4967
#define connect innocuous_connect
4969
/* System header to define __stub macros and hopefully few prototypes,
4970
which can conflict with char connect (); below.
4971
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4972
<limits.h> exists even on freestanding compilers. */
4975
# include <limits.h>
4977
# include <assert.h>
4982
/* Override any gcc2 internal prototype to avoid an error. */
4987
/* We use char because int might match the return type of a gcc2
4988
builtin and then its argument prototype would still apply. */
4990
/* The GNU C library defines this for functions which it implements
4991
to always fail with ENOSYS. Some functions are actually named
4992
something starting with __ and the normal name is an alias. */
4993
#if defined (__stub_connect) || defined (__stub___connect)
4996
char (*f) () = connect;
5005
return f != connect;
5010
rm -f conftest.$ac_objext conftest$ac_exeext
5011
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5012
(eval $ac_link) 2>conftest.er1
5014
grep -v '^ *+' conftest.er1 >conftest.err
5016
cat conftest.err >&5
5017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018
(exit $ac_status); } &&
5019
{ ac_try='test -z "$ac_c_werror_flag"
5020
|| test ! -s conftest.err'
5021
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025
(exit $ac_status); }; } &&
5026
{ ac_try='test -s conftest$ac_exeext'
5027
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031
(exit $ac_status); }; }; then
5032
ac_cv_func_connect=yes
5034
echo "$as_me: failed program was:" >&5
5035
sed 's/^/| /' conftest.$ac_ext >&5
5037
ac_cv_func_connect=no
5039
rm -f conftest.err conftest.$ac_objext \
5040
conftest$ac_exeext conftest.$ac_ext
5042
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5043
echo "${ECHO_T}$ac_cv_func_connect" >&6
5045
if test $ac_cv_func_connect = no; then
5046
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5047
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5048
if test "${ac_cv_lib_socket_connect+set}" = set; then
5049
echo $ECHO_N "(cached) $ECHO_C" >&6
5051
ac_check_lib_save_LIBS=$LIBS
5052
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5053
cat >conftest.$ac_ext <<_ACEOF
5056
cat confdefs.h >>conftest.$ac_ext
5057
cat >>conftest.$ac_ext <<_ACEOF
5058
/* end confdefs.h. */
5060
/* Override any gcc2 internal prototype to avoid an error. */
5064
/* We use char because int might match the return type of a gcc2
5065
builtin and then its argument prototype would still apply. */
5075
rm -f conftest.$ac_objext conftest$ac_exeext
5076
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5077
(eval $ac_link) 2>conftest.er1
5079
grep -v '^ *+' conftest.er1 >conftest.err
5081
cat conftest.err >&5
5082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083
(exit $ac_status); } &&
5084
{ ac_try='test -z "$ac_c_werror_flag"
5085
|| test ! -s conftest.err'
5086
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090
(exit $ac_status); }; } &&
5091
{ ac_try='test -s conftest$ac_exeext'
5092
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
(exit $ac_status); }; }; then
5097
ac_cv_lib_socket_connect=yes
5099
echo "$as_me: failed program was:" >&5
5100
sed 's/^/| /' conftest.$ac_ext >&5
5102
ac_cv_lib_socket_connect=no
5104
rm -f conftest.err conftest.$ac_objext \
5105
conftest$ac_exeext conftest.$ac_ext
5106
LIBS=$ac_check_lib_save_LIBS
5108
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5109
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5110
if test $ac_cv_lib_socket_connect = yes; then
5111
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5116
# Guillermo Gomez says -lposix is necessary on A/UX.
5117
echo "$as_me:$LINENO: checking for remove" >&5
5118
echo $ECHO_N "checking for remove... $ECHO_C" >&6
5119
if test "${ac_cv_func_remove+set}" = set; then
5120
echo $ECHO_N "(cached) $ECHO_C" >&6
5122
cat >conftest.$ac_ext <<_ACEOF
5125
cat confdefs.h >>conftest.$ac_ext
5126
cat >>conftest.$ac_ext <<_ACEOF
5127
/* end confdefs.h. */
5128
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
5129
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5130
#define remove innocuous_remove
5132
/* System header to define __stub macros and hopefully few prototypes,
5133
which can conflict with char remove (); below.
5134
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5135
<limits.h> exists even on freestanding compilers. */
5138
# include <limits.h>
5140
# include <assert.h>
5145
/* Override any gcc2 internal prototype to avoid an error. */
5150
/* We use char because int might match the return type of a gcc2
5151
builtin and then its argument prototype would still apply. */
5153
/* The GNU C library defines this for functions which it implements
5154
to always fail with ENOSYS. Some functions are actually named
5155
something starting with __ and the normal name is an alias. */
5156
#if defined (__stub_remove) || defined (__stub___remove)
5159
char (*f) () = remove;
5173
rm -f conftest.$ac_objext conftest$ac_exeext
5174
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5175
(eval $ac_link) 2>conftest.er1
5177
grep -v '^ *+' conftest.er1 >conftest.err
5179
cat conftest.err >&5
5180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181
(exit $ac_status); } &&
5182
{ ac_try='test -z "$ac_c_werror_flag"
5183
|| test ! -s conftest.err'
5184
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188
(exit $ac_status); }; } &&
5189
{ ac_try='test -s conftest$ac_exeext'
5190
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
(exit $ac_status); }; }; then
5195
ac_cv_func_remove=yes
5197
echo "$as_me: failed program was:" >&5
5198
sed 's/^/| /' conftest.$ac_ext >&5
5200
ac_cv_func_remove=no
5202
rm -f conftest.err conftest.$ac_objext \
5203
conftest$ac_exeext conftest.$ac_ext
5205
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5206
echo "${ECHO_T}$ac_cv_func_remove" >&6
5208
if test $ac_cv_func_remove = no; then
5209
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5210
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
5211
if test "${ac_cv_lib_posix_remove+set}" = set; then
5212
echo $ECHO_N "(cached) $ECHO_C" >&6
5214
ac_check_lib_save_LIBS=$LIBS
5215
LIBS="-lposix $LIBS"
5216
cat >conftest.$ac_ext <<_ACEOF
5219
cat confdefs.h >>conftest.$ac_ext
5220
cat >>conftest.$ac_ext <<_ACEOF
5221
/* end confdefs.h. */
5223
/* Override any gcc2 internal prototype to avoid an error. */
5227
/* We use char because int might match the return type of a gcc2
5228
builtin and then its argument prototype would still apply. */
5238
rm -f conftest.$ac_objext conftest$ac_exeext
5239
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5240
(eval $ac_link) 2>conftest.er1
5242
grep -v '^ *+' conftest.er1 >conftest.err
5244
cat conftest.err >&5
5245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246
(exit $ac_status); } &&
5247
{ ac_try='test -z "$ac_c_werror_flag"
5248
|| test ! -s conftest.err'
5249
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253
(exit $ac_status); }; } &&
5254
{ ac_try='test -s conftest$ac_exeext'
5255
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259
(exit $ac_status); }; }; then
5260
ac_cv_lib_posix_remove=yes
5262
echo "$as_me: failed program was:" >&5
5263
sed 's/^/| /' conftest.$ac_ext >&5
5265
ac_cv_lib_posix_remove=no
5267
rm -f conftest.err conftest.$ac_objext \
5268
conftest$ac_exeext conftest.$ac_ext
5269
LIBS=$ac_check_lib_save_LIBS
5271
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5272
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
5273
if test $ac_cv_lib_posix_remove = yes; then
5274
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5279
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5280
echo "$as_me:$LINENO: checking for shmat" >&5
5281
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
5282
if test "${ac_cv_func_shmat+set}" = set; then
5283
echo $ECHO_N "(cached) $ECHO_C" >&6
5285
cat >conftest.$ac_ext <<_ACEOF
5288
cat confdefs.h >>conftest.$ac_ext
5289
cat >>conftest.$ac_ext <<_ACEOF
5290
/* end confdefs.h. */
5291
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5292
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5293
#define shmat innocuous_shmat
5295
/* System header to define __stub macros and hopefully few prototypes,
5296
which can conflict with char shmat (); below.
5297
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5298
<limits.h> exists even on freestanding compilers. */
5301
# include <limits.h>
5303
# include <assert.h>
5308
/* Override any gcc2 internal prototype to avoid an error. */
5313
/* We use char because int might match the return type of a gcc2
5314
builtin and then its argument prototype would still apply. */
5316
/* The GNU C library defines this for functions which it implements
5317
to always fail with ENOSYS. Some functions are actually named
5318
something starting with __ and the normal name is an alias. */
5319
#if defined (__stub_shmat) || defined (__stub___shmat)
5322
char (*f) () = shmat;
5336
rm -f conftest.$ac_objext conftest$ac_exeext
5337
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5338
(eval $ac_link) 2>conftest.er1
5340
grep -v '^ *+' conftest.er1 >conftest.err
5342
cat conftest.err >&5
5343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344
(exit $ac_status); } &&
5345
{ ac_try='test -z "$ac_c_werror_flag"
5346
|| test ! -s conftest.err'
5347
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
(exit $ac_status); }; } &&
5352
{ ac_try='test -s conftest$ac_exeext'
5353
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357
(exit $ac_status); }; }; then
5358
ac_cv_func_shmat=yes
5360
echo "$as_me: failed program was:" >&5
5361
sed 's/^/| /' conftest.$ac_ext >&5
5365
rm -f conftest.err conftest.$ac_objext \
5366
conftest$ac_exeext conftest.$ac_ext
5368
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5369
echo "${ECHO_T}$ac_cv_func_shmat" >&6
5371
if test $ac_cv_func_shmat = no; then
5372
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5373
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
5374
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5375
echo $ECHO_N "(cached) $ECHO_C" >&6
5377
ac_check_lib_save_LIBS=$LIBS
5379
cat >conftest.$ac_ext <<_ACEOF
5382
cat confdefs.h >>conftest.$ac_ext
5383
cat >>conftest.$ac_ext <<_ACEOF
5384
/* end confdefs.h. */
5386
/* Override any gcc2 internal prototype to avoid an error. */
5390
/* We use char because int might match the return type of a gcc2
5391
builtin and then its argument prototype would still apply. */
5401
rm -f conftest.$ac_objext conftest$ac_exeext
5402
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5403
(eval $ac_link) 2>conftest.er1
5405
grep -v '^ *+' conftest.er1 >conftest.err
5407
cat conftest.err >&5
5408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409
(exit $ac_status); } &&
5410
{ ac_try='test -z "$ac_c_werror_flag"
5411
|| test ! -s conftest.err'
5412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416
(exit $ac_status); }; } &&
5417
{ ac_try='test -s conftest$ac_exeext'
5418
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422
(exit $ac_status); }; }; then
5423
ac_cv_lib_ipc_shmat=yes
5425
echo "$as_me: failed program was:" >&5
5426
sed 's/^/| /' conftest.$ac_ext >&5
5428
ac_cv_lib_ipc_shmat=no
5430
rm -f conftest.err conftest.$ac_objext \
5431
conftest$ac_exeext conftest.$ac_ext
5432
LIBS=$ac_check_lib_save_LIBS
5434
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5435
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
5436
if test $ac_cv_lib_ipc_shmat = yes; then
5437
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5443
# Check for libraries that X11R6 Xt/Xaw programs need.
5444
ac_save_LDFLAGS=$LDFLAGS
5445
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5446
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5447
# check for ICE first), but we must link in the order -lSM -lICE or
5448
# we get undefined symbols. So assume we have SM if we have ICE.
5449
# These have to be linked with before -lX11, unlike the other
5450
# libraries we check for below, so use a different variable.
5451
# John Interrante, Karl Berry
5452
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5453
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
5454
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5455
echo $ECHO_N "(cached) $ECHO_C" >&6
5457
ac_check_lib_save_LIBS=$LIBS
5458
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5459
cat >conftest.$ac_ext <<_ACEOF
5462
cat confdefs.h >>conftest.$ac_ext
5463
cat >>conftest.$ac_ext <<_ACEOF
5464
/* end confdefs.h. */
5466
/* Override any gcc2 internal prototype to avoid an error. */
5470
/* We use char because int might match the return type of a gcc2
5471
builtin and then its argument prototype would still apply. */
5472
char IceConnectionNumber ();
5476
IceConnectionNumber ();
5481
rm -f conftest.$ac_objext conftest$ac_exeext
5482
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5483
(eval $ac_link) 2>conftest.er1
5485
grep -v '^ *+' conftest.er1 >conftest.err
5487
cat conftest.err >&5
5488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489
(exit $ac_status); } &&
5490
{ ac_try='test -z "$ac_c_werror_flag"
5491
|| test ! -s conftest.err'
5492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496
(exit $ac_status); }; } &&
5497
{ ac_try='test -s conftest$ac_exeext'
5498
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
(exit $ac_status); }; }; then
5503
ac_cv_lib_ICE_IceConnectionNumber=yes
5505
echo "$as_me: failed program was:" >&5
5506
sed 's/^/| /' conftest.$ac_ext >&5
5508
ac_cv_lib_ICE_IceConnectionNumber=no
5510
rm -f conftest.err conftest.$ac_objext \
5511
conftest$ac_exeext conftest.$ac_ext
5512
LIBS=$ac_check_lib_save_LIBS
5514
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5515
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
5516
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5517
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5520
LDFLAGS=$ac_save_LDFLAGS
5524
CFLAGS="$CFLAGS $X_CFLAGS"
5525
LIBS="$X_LIBS $LIBS -lX11 $X_EXTRA_LIBS"
5526
GTK_CFLAGS="$GTK_CFLAGS $GTK24_CFLAGS"
5527
GTK_LIBS="$GTK_LIBS $GTK24_LIBS"
5528
GTK_DEFINES="$GTK_DEFINES $GTK24_DEFINES"
5529
echo "$as_me:$LINENO: checking for egrep" >&5
5530
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5531
if test "${ac_cv_prog_egrep+set}" = set; then
5532
echo $ECHO_N "(cached) $ECHO_C" >&6
5534
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5535
then ac_cv_prog_egrep='grep -E'
5536
else ac_cv_prog_egrep='egrep'
5539
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5540
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5541
EGREP=$ac_cv_prog_egrep
5544
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5545
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5546
if test "${ac_cv_header_stdc+set}" = set; then
5547
echo $ECHO_N "(cached) $ECHO_C" >&6
5549
cat >conftest.$ac_ext <<_ACEOF
5552
cat confdefs.h >>conftest.$ac_ext
5553
cat >>conftest.$ac_ext <<_ACEOF
5554
/* end confdefs.h. */
5568
rm -f conftest.$ac_objext
5569
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5570
(eval $ac_compile) 2>conftest.er1
5572
grep -v '^ *+' conftest.er1 >conftest.err
5574
cat conftest.err >&5
5575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576
(exit $ac_status); } &&
5577
{ ac_try='test -z "$ac_c_werror_flag"
5578
|| test ! -s conftest.err'
5579
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583
(exit $ac_status); }; } &&
5584
{ ac_try='test -s conftest.$ac_objext'
5585
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589
(exit $ac_status); }; }; then
5590
ac_cv_header_stdc=yes
5592
echo "$as_me: failed program was:" >&5
5593
sed 's/^/| /' conftest.$ac_ext >&5
5595
ac_cv_header_stdc=no
5597
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5599
if test $ac_cv_header_stdc = yes; then
5600
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5601
cat >conftest.$ac_ext <<_ACEOF
5604
cat confdefs.h >>conftest.$ac_ext
5605
cat >>conftest.$ac_ext <<_ACEOF
5606
/* end confdefs.h. */
5610
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5611
$EGREP "memchr" >/dev/null 2>&1; then
5614
ac_cv_header_stdc=no
5620
if test $ac_cv_header_stdc = yes; then
5621
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5622
cat >conftest.$ac_ext <<_ACEOF
5625
cat confdefs.h >>conftest.$ac_ext
5626
cat >>conftest.$ac_ext <<_ACEOF
5627
/* end confdefs.h. */
5631
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5632
$EGREP "free" >/dev/null 2>&1; then
5635
ac_cv_header_stdc=no
5641
if test $ac_cv_header_stdc = yes; then
5642
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5643
if test "$cross_compiling" = yes; then
5646
cat >conftest.$ac_ext <<_ACEOF
5649
cat confdefs.h >>conftest.$ac_ext
5650
cat >>conftest.$ac_ext <<_ACEOF
5651
/* end confdefs.h. */
5653
#if ((' ' & 0x0FF) == 0x020)
5654
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5655
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5657
# define ISLOWER(c) \
5658
(('a' <= (c) && (c) <= 'i') \
5659
|| ('j' <= (c) && (c) <= 'r') \
5660
|| ('s' <= (c) && (c) <= 'z'))
5661
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5664
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5669
for (i = 0; i < 256; i++)
5670
if (XOR (islower (i), ISLOWER (i))
5671
|| toupper (i) != TOUPPER (i))
5676
rm -f conftest$ac_exeext
5677
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678
(eval $ac_link) 2>&5
5680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686
(exit $ac_status); }; }; then
5689
echo "$as_me: program exited with status $ac_status" >&5
5690
echo "$as_me: failed program was:" >&5
5691
sed 's/^/| /' conftest.$ac_ext >&5
5694
ac_cv_header_stdc=no
5696
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5700
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5701
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5702
if test $ac_cv_header_stdc = yes; then
5704
cat >>confdefs.h <<\_ACEOF
5705
@%:@define STDC_HEADERS 1
5710
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5720
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5721
inttypes.h stdint.h unistd.h
5723
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5724
echo "$as_me:$LINENO: checking for $ac_header" >&5
5725
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5726
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5727
echo $ECHO_N "(cached) $ECHO_C" >&6
5729
cat >conftest.$ac_ext <<_ACEOF
5732
cat confdefs.h >>conftest.$ac_ext
5733
cat >>conftest.$ac_ext <<_ACEOF
5734
/* end confdefs.h. */
5735
$ac_includes_default
5737
@%:@include <$ac_header>
5739
rm -f conftest.$ac_objext
5740
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741
(eval $ac_compile) 2>conftest.er1
5743
grep -v '^ *+' conftest.er1 >conftest.err
5745
cat conftest.err >&5
5746
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747
(exit $ac_status); } &&
5748
{ ac_try='test -z "$ac_c_werror_flag"
5749
|| test ! -s conftest.err'
5750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754
(exit $ac_status); }; } &&
5755
{ ac_try='test -s conftest.$ac_objext'
5756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760
(exit $ac_status); }; }; then
5761
eval "$as_ac_Header=yes"
5763
echo "$as_me: failed program was:" >&5
5764
sed 's/^/| /' conftest.$ac_ext >&5
5766
eval "$as_ac_Header=no"
5768
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5770
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5771
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5772
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5773
cat >>confdefs.h <<_ACEOF
5774
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5790
for ac_header in stddef.h stdlib.h unistd.h X11/Xlib.h X11/Intrinsic.h X11/StringDefs.h sys/stat.h fcntl.h
5792
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5793
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5794
echo "$as_me:$LINENO: checking for $ac_header" >&5
5795
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5796
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5797
echo $ECHO_N "(cached) $ECHO_C" >&6
5799
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5800
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5802
# Is the header compilable?
5803
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5804
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5805
cat >conftest.$ac_ext <<_ACEOF
5808
cat confdefs.h >>conftest.$ac_ext
5809
cat >>conftest.$ac_ext <<_ACEOF
5810
/* end confdefs.h. */
5811
$ac_includes_default
5812
@%:@include <$ac_header>
5814
rm -f conftest.$ac_objext
5815
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5816
(eval $ac_compile) 2>conftest.er1
5818
grep -v '^ *+' conftest.er1 >conftest.err
5820
cat conftest.err >&5
5821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822
(exit $ac_status); } &&
5823
{ ac_try='test -z "$ac_c_werror_flag"
5824
|| test ! -s conftest.err'
5825
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829
(exit $ac_status); }; } &&
5830
{ ac_try='test -s conftest.$ac_objext'
5831
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835
(exit $ac_status); }; }; then
5836
ac_header_compiler=yes
5838
echo "$as_me: failed program was:" >&5
5839
sed 's/^/| /' conftest.$ac_ext >&5
5841
ac_header_compiler=no
5843
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5844
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5845
echo "${ECHO_T}$ac_header_compiler" >&6
5847
# Is the header present?
5848
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5849
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5850
cat >conftest.$ac_ext <<_ACEOF
5853
cat confdefs.h >>conftest.$ac_ext
5854
cat >>conftest.$ac_ext <<_ACEOF
5855
/* end confdefs.h. */
5856
@%:@include <$ac_header>
5858
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5859
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5861
grep -v '^ *+' conftest.er1 >conftest.err
5863
cat conftest.err >&5
5864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865
(exit $ac_status); } >/dev/null; then
5866
if test -s conftest.err; then
5867
ac_cpp_err=$ac_c_preproc_warn_flag
5868
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5875
if test -z "$ac_cpp_err"; then
5876
ac_header_preproc=yes
5878
echo "$as_me: failed program was:" >&5
5879
sed 's/^/| /' conftest.$ac_ext >&5
5881
ac_header_preproc=no
5883
rm -f conftest.err conftest.$ac_ext
5884
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5885
echo "${ECHO_T}$ac_header_preproc" >&6
5887
# So? What about this header?
5888
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5890
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5891
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5892
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5893
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5894
ac_header_preproc=yes
5897
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5898
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5899
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5900
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5901
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5902
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5903
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5904
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5905
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5906
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5907
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5908
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5911
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
5912
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
5913
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
5916
sed "s/^/$as_me: WARNING: /" >&2
5919
echo "$as_me:$LINENO: checking for $ac_header" >&5
5920
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5921
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5922
echo $ECHO_N "(cached) $ECHO_C" >&6
5924
eval "$as_ac_Header=\$ac_header_preproc"
5926
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5927
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5930
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5931
cat >>confdefs.h <<_ACEOF
5932
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5940
# Checks for typedefs, structures, and compiler characteristics.
5941
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5942
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5943
if test "${ac_cv_c_const+set}" = set; then
5944
echo $ECHO_N "(cached) $ECHO_C" >&6
5946
cat >conftest.$ac_ext <<_ACEOF
5949
cat confdefs.h >>conftest.$ac_ext
5950
cat >>conftest.$ac_ext <<_ACEOF
5951
/* end confdefs.h. */
5956
/* FIXME: Include the comments suggested by Paul. */
5958
/* Ultrix mips cc rejects this. */
5959
typedef int charset[2];
5961
/* SunOS 4.1.1 cc rejects this. */
5962
char const *const *ccp;
5964
/* NEC SVR4.0.2 mips cc rejects this. */
5965
struct point {int x, y;};
5966
static struct point const zero = {0,0};
5967
/* AIX XL C 1.02.0.0 rejects this.
5968
It does not let you subtract one const X* pointer from another in
5969
an arm of an if-expression whose if-part is not a constant
5971
const char *g = "string";
5972
ccp = &g + (g ? g-g : 0);
5973
/* HPUX 7.0 cc rejects these. */
5976
ccp = (char const *const *) p;
5977
{ /* SCO 3.2v4 cc rejects this. */
5979
char const *s = 0 ? (char *) 0 : (char const *) 0;
5983
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5985
const int *foo = &x[0];
5988
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5989
typedef const int *iptr;
5993
{ /* AIX XL C 1.02.0.0 rejects this saying
5994
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5995
struct s { int j; const int *ap[3]; };
5996
struct s *b; b->j = 5;
5998
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6007
rm -f conftest.$ac_objext
6008
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009
(eval $ac_compile) 2>conftest.er1
6011
grep -v '^ *+' conftest.er1 >conftest.err
6013
cat conftest.err >&5
6014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015
(exit $ac_status); } &&
6016
{ ac_try='test -z "$ac_c_werror_flag"
6017
|| test ! -s conftest.err'
6018
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022
(exit $ac_status); }; } &&
6023
{ ac_try='test -s conftest.$ac_objext'
6024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028
(exit $ac_status); }; }; then
6031
echo "$as_me: failed program was:" >&5
6032
sed 's/^/| /' conftest.$ac_ext >&5
6036
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6038
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6039
echo "${ECHO_T}$ac_cv_c_const" >&6
6040
if test $ac_cv_c_const = no; then
6042
cat >>confdefs.h <<\_ACEOF
6048
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6049
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6050
if test "${ac_cv_header_time+set}" = set; then
6051
echo $ECHO_N "(cached) $ECHO_C" >&6
6053
cat >conftest.$ac_ext <<_ACEOF
6056
cat confdefs.h >>conftest.$ac_ext
6057
cat >>conftest.$ac_ext <<_ACEOF
6058
/* end confdefs.h. */
6059
#include <sys/types.h>
6060
#include <sys/time.h>
6066
if ((struct tm *) 0)
6072
rm -f conftest.$ac_objext
6073
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074
(eval $ac_compile) 2>conftest.er1
6076
grep -v '^ *+' conftest.er1 >conftest.err
6078
cat conftest.err >&5
6079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080
(exit $ac_status); } &&
6081
{ ac_try='test -z "$ac_c_werror_flag"
6082
|| test ! -s conftest.err'
6083
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087
(exit $ac_status); }; } &&
6088
{ ac_try='test -s conftest.$ac_objext'
6089
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093
(exit $ac_status); }; }; then
6094
ac_cv_header_time=yes
6096
echo "$as_me: failed program was:" >&5
6097
sed 's/^/| /' conftest.$ac_ext >&5
6099
ac_cv_header_time=no
6101
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6103
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6104
echo "${ECHO_T}$ac_cv_header_time" >&6
6105
if test $ac_cv_header_time = yes; then
6107
cat >>confdefs.h <<\_ACEOF
6108
@%:@define TIME_WITH_SYS_TIME 1
6113
echo "$as_me:$LINENO: checking for pid_t" >&5
6114
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6115
if test "${ac_cv_type_pid_t+set}" = set; then
6116
echo $ECHO_N "(cached) $ECHO_C" >&6
6118
cat >conftest.$ac_ext <<_ACEOF
6121
cat confdefs.h >>conftest.$ac_ext
6122
cat >>conftest.$ac_ext <<_ACEOF
6123
/* end confdefs.h. */
6124
$ac_includes_default
6136
rm -f conftest.$ac_objext
6137
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6138
(eval $ac_compile) 2>conftest.er1
6140
grep -v '^ *+' conftest.er1 >conftest.err
6142
cat conftest.err >&5
6143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144
(exit $ac_status); } &&
6145
{ ac_try='test -z "$ac_c_werror_flag"
6146
|| test ! -s conftest.err'
6147
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151
(exit $ac_status); }; } &&
6152
{ ac_try='test -s conftest.$ac_objext'
6153
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157
(exit $ac_status); }; }; then
6158
ac_cv_type_pid_t=yes
6160
echo "$as_me: failed program was:" >&5
6161
sed 's/^/| /' conftest.$ac_ext >&5
6165
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6167
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6168
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6169
if test $ac_cv_type_pid_t = yes; then
6173
cat >>confdefs.h <<_ACEOF
6174
@%:@define pid_t int
6179
echo "$as_me:$LINENO: checking for size_t" >&5
6180
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6181
if test "${ac_cv_type_size_t+set}" = set; then
6182
echo $ECHO_N "(cached) $ECHO_C" >&6
6184
cat >conftest.$ac_ext <<_ACEOF
6187
cat confdefs.h >>conftest.$ac_ext
6188
cat >>conftest.$ac_ext <<_ACEOF
6189
/* end confdefs.h. */
6190
$ac_includes_default
6196
if (sizeof (size_t))
6202
rm -f conftest.$ac_objext
6203
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6204
(eval $ac_compile) 2>conftest.er1
6206
grep -v '^ *+' conftest.er1 >conftest.err
6208
cat conftest.err >&5
6209
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210
(exit $ac_status); } &&
6211
{ ac_try='test -z "$ac_c_werror_flag"
6212
|| test ! -s conftest.err'
6213
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217
(exit $ac_status); }; } &&
6218
{ ac_try='test -s conftest.$ac_objext'
6219
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223
(exit $ac_status); }; }; then
6224
ac_cv_type_size_t=yes
6226
echo "$as_me: failed program was:" >&5
6227
sed 's/^/| /' conftest.$ac_ext >&5
6229
ac_cv_type_size_t=no
6231
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6233
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6234
echo "${ECHO_T}$ac_cv_type_size_t" >&6
6235
if test $ac_cv_type_size_t = yes; then
6239
cat >>confdefs.h <<_ACEOF
6240
@%:@define size_t unsigned
6246
# Checks for library functions.
6248
for ac_header in stdlib.h
6250
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6251
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6252
echo "$as_me:$LINENO: checking for $ac_header" >&5
6253
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6254
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6255
echo $ECHO_N "(cached) $ECHO_C" >&6
6257
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6258
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6260
# Is the header compilable?
6261
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6262
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6263
cat >conftest.$ac_ext <<_ACEOF
6266
cat confdefs.h >>conftest.$ac_ext
6267
cat >>conftest.$ac_ext <<_ACEOF
6268
/* end confdefs.h. */
6269
$ac_includes_default
6270
@%:@include <$ac_header>
6272
rm -f conftest.$ac_objext
6273
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6274
(eval $ac_compile) 2>conftest.er1
6276
grep -v '^ *+' conftest.er1 >conftest.err
6278
cat conftest.err >&5
6279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280
(exit $ac_status); } &&
6281
{ ac_try='test -z "$ac_c_werror_flag"
6282
|| test ! -s conftest.err'
6283
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287
(exit $ac_status); }; } &&
6288
{ ac_try='test -s conftest.$ac_objext'
6289
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293
(exit $ac_status); }; }; then
6294
ac_header_compiler=yes
6296
echo "$as_me: failed program was:" >&5
6297
sed 's/^/| /' conftest.$ac_ext >&5
6299
ac_header_compiler=no
6301
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6302
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6303
echo "${ECHO_T}$ac_header_compiler" >&6
6305
# Is the header present?
6306
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6307
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6308
cat >conftest.$ac_ext <<_ACEOF
6311
cat confdefs.h >>conftest.$ac_ext
6312
cat >>conftest.$ac_ext <<_ACEOF
6313
/* end confdefs.h. */
6314
@%:@include <$ac_header>
6316
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6317
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6319
grep -v '^ *+' conftest.er1 >conftest.err
6321
cat conftest.err >&5
6322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
(exit $ac_status); } >/dev/null; then
6324
if test -s conftest.err; then
6325
ac_cpp_err=$ac_c_preproc_warn_flag
6326
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6333
if test -z "$ac_cpp_err"; then
6334
ac_header_preproc=yes
6336
echo "$as_me: failed program was:" >&5
6337
sed 's/^/| /' conftest.$ac_ext >&5
6339
ac_header_preproc=no
6341
rm -f conftest.err conftest.$ac_ext
6342
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6343
echo "${ECHO_T}$ac_header_preproc" >&6
6345
# So? What about this header?
6346
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6348
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6349
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6350
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6351
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6352
ac_header_preproc=yes
6355
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6356
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6357
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6358
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6359
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6360
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6361
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6362
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6363
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6364
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6365
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6366
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6369
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6370
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
6371
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6374
sed "s/^/$as_me: WARNING: /" >&2
6377
echo "$as_me:$LINENO: checking for $ac_header" >&5
6378
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6379
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6380
echo $ECHO_N "(cached) $ECHO_C" >&6
6382
eval "$as_ac_Header=\$ac_header_preproc"
6384
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6385
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6388
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6389
cat >>confdefs.h <<_ACEOF
6390
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6397
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6398
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
6399
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6400
echo $ECHO_N "(cached) $ECHO_C" >&6
6402
if test "$cross_compiling" = yes; then
6403
ac_cv_func_malloc_0_nonnull=no
6405
cat >conftest.$ac_ext <<_ACEOF
6408
cat confdefs.h >>conftest.$ac_ext
6409
cat >>conftest.$ac_ext <<_ACEOF
6410
/* end confdefs.h. */
6411
#if STDC_HEADERS || HAVE_STDLIB_H
6412
# include <stdlib.h>
6420
exit (malloc (0) ? 0 : 1);
6425
rm -f conftest$ac_exeext
6426
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6427
(eval $ac_link) 2>&5
6429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435
(exit $ac_status); }; }; then
6436
ac_cv_func_malloc_0_nonnull=yes
6438
echo "$as_me: program exited with status $ac_status" >&5
6439
echo "$as_me: failed program was:" >&5
6440
sed 's/^/| /' conftest.$ac_ext >&5
6443
ac_cv_func_malloc_0_nonnull=no
6445
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6448
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6449
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
6450
if test $ac_cv_func_malloc_0_nonnull = yes; then
6452
cat >>confdefs.h <<\_ACEOF
6453
@%:@define HAVE_MALLOC 1
6457
cat >>confdefs.h <<\_ACEOF
6458
@%:@define HAVE_MALLOC 0
6461
case $LIB@&t@OBJS in
6462
"malloc.$ac_objext" | \
6463
*" malloc.$ac_objext" | \
6464
"malloc.$ac_objext "* | \
6465
*" malloc.$ac_objext "* ) ;;
6466
*) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" ;;
6470
cat >>confdefs.h <<\_ACEOF
6471
@%:@define malloc rpl_malloc
6480
for ac_header in unistd.h vfork.h
6482
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6483
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6484
echo "$as_me:$LINENO: checking for $ac_header" >&5
6485
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6486
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6487
echo $ECHO_N "(cached) $ECHO_C" >&6
6489
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6490
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6492
# Is the header compilable?
6493
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6494
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6495
cat >conftest.$ac_ext <<_ACEOF
6498
cat confdefs.h >>conftest.$ac_ext
6499
cat >>conftest.$ac_ext <<_ACEOF
6500
/* end confdefs.h. */
6501
$ac_includes_default
6502
@%:@include <$ac_header>
6504
rm -f conftest.$ac_objext
6505
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506
(eval $ac_compile) 2>conftest.er1
6508
grep -v '^ *+' conftest.er1 >conftest.err
6510
cat conftest.err >&5
6511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512
(exit $ac_status); } &&
6513
{ ac_try='test -z "$ac_c_werror_flag"
6514
|| test ! -s conftest.err'
6515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519
(exit $ac_status); }; } &&
6520
{ ac_try='test -s conftest.$ac_objext'
6521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525
(exit $ac_status); }; }; then
6526
ac_header_compiler=yes
6528
echo "$as_me: failed program was:" >&5
6529
sed 's/^/| /' conftest.$ac_ext >&5
6531
ac_header_compiler=no
6533
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6534
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6535
echo "${ECHO_T}$ac_header_compiler" >&6
6537
# Is the header present?
6538
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6539
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6540
cat >conftest.$ac_ext <<_ACEOF
6543
cat confdefs.h >>conftest.$ac_ext
6544
cat >>conftest.$ac_ext <<_ACEOF
6545
/* end confdefs.h. */
6546
@%:@include <$ac_header>
6548
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6549
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6551
grep -v '^ *+' conftest.er1 >conftest.err
6553
cat conftest.err >&5
6554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555
(exit $ac_status); } >/dev/null; then
6556
if test -s conftest.err; then
6557
ac_cpp_err=$ac_c_preproc_warn_flag
6558
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6565
if test -z "$ac_cpp_err"; then
6566
ac_header_preproc=yes
6568
echo "$as_me: failed program was:" >&5
6569
sed 's/^/| /' conftest.$ac_ext >&5
6571
ac_header_preproc=no
6573
rm -f conftest.err conftest.$ac_ext
6574
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6575
echo "${ECHO_T}$ac_header_preproc" >&6
6577
# So? What about this header?
6578
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6580
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6581
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6582
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6583
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6584
ac_header_preproc=yes
6587
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6588
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6589
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6590
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6591
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6592
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6593
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6594
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6595
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6596
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6597
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6598
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6601
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6602
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
6603
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6606
sed "s/^/$as_me: WARNING: /" >&2
6609
echo "$as_me:$LINENO: checking for $ac_header" >&5
6610
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6611
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6612
echo $ECHO_N "(cached) $ECHO_C" >&6
6614
eval "$as_ac_Header=\$ac_header_preproc"
6616
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6617
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6620
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6621
cat >>confdefs.h <<_ACEOF
6622
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6631
for ac_func in fork vfork
6633
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6634
echo "$as_me:$LINENO: checking for $ac_func" >&5
6635
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6636
if eval "test \"\${$as_ac_var+set}\" = set"; then
6637
echo $ECHO_N "(cached) $ECHO_C" >&6
6639
cat >conftest.$ac_ext <<_ACEOF
6642
cat confdefs.h >>conftest.$ac_ext
6643
cat >>conftest.$ac_ext <<_ACEOF
6644
/* end confdefs.h. */
6645
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6646
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6647
#define $ac_func innocuous_$ac_func
6649
/* System header to define __stub macros and hopefully few prototypes,
6650
which can conflict with char $ac_func (); below.
6651
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6652
<limits.h> exists even on freestanding compilers. */
6655
# include <limits.h>
6657
# include <assert.h>
6662
/* Override any gcc2 internal prototype to avoid an error. */
6667
/* We use char because int might match the return type of a gcc2
6668
builtin and then its argument prototype would still apply. */
6670
/* The GNU C library defines this for functions which it implements
6671
to always fail with ENOSYS. Some functions are actually named
6672
something starting with __ and the normal name is an alias. */
6673
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6676
char (*f) () = $ac_func;
6685
return f != $ac_func;
6690
rm -f conftest.$ac_objext conftest$ac_exeext
6691
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6692
(eval $ac_link) 2>conftest.er1
6694
grep -v '^ *+' conftest.er1 >conftest.err
6696
cat conftest.err >&5
6697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698
(exit $ac_status); } &&
6699
{ ac_try='test -z "$ac_c_werror_flag"
6700
|| test ! -s conftest.err'
6701
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705
(exit $ac_status); }; } &&
6706
{ ac_try='test -s conftest$ac_exeext'
6707
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711
(exit $ac_status); }; }; then
6712
eval "$as_ac_var=yes"
6714
echo "$as_me: failed program was:" >&5
6715
sed 's/^/| /' conftest.$ac_ext >&5
6717
eval "$as_ac_var=no"
6719
rm -f conftest.err conftest.$ac_objext \
6720
conftest$ac_exeext conftest.$ac_ext
6722
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6723
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6724
if test `eval echo '${'$as_ac_var'}'` = yes; then
6725
cat >>confdefs.h <<_ACEOF
6726
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6732
if test "x$ac_cv_func_fork" = xyes; then
6733
echo "$as_me:$LINENO: checking for working fork" >&5
6734
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
6735
if test "${ac_cv_func_fork_works+set}" = set; then
6736
echo $ECHO_N "(cached) $ECHO_C" >&6
6738
if test "$cross_compiling" = yes; then
6739
ac_cv_func_fork_works=cross
6741
cat >conftest.$ac_ext <<_ACEOF
6742
/* By Ruediger Kuhlmann. */
6743
#include <sys/types.h>
6745
# include <unistd.h>
6747
/* Some systems only have a dummy stub for fork() */
6755
rm -f conftest$ac_exeext
6756
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6757
(eval $ac_link) 2>&5
6759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6761
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765
(exit $ac_status); }; }; then
6766
ac_cv_func_fork_works=yes
6768
echo "$as_me: program exited with status $ac_status" >&5
6769
echo "$as_me: failed program was:" >&5
6770
sed 's/^/| /' conftest.$ac_ext >&5
6773
ac_cv_func_fork_works=no
6775
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6778
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6779
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
6782
ac_cv_func_fork_works=$ac_cv_func_fork
6784
if test "x$ac_cv_func_fork_works" = xcross; then
6786
*-*-amigaos* | *-*-msdosdjgpp*)
6787
# Override, as these systems have only a dummy fork() stub
6788
ac_cv_func_fork_works=no
6791
ac_cv_func_fork_works=yes
6794
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6795
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6797
ac_cv_func_vfork_works=$ac_cv_func_vfork
6798
if test "x$ac_cv_func_vfork" = xyes; then
6799
echo "$as_me:$LINENO: checking for working vfork" >&5
6800
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
6801
if test "${ac_cv_func_vfork_works+set}" = set; then
6802
echo $ECHO_N "(cached) $ECHO_C" >&6
6804
if test "$cross_compiling" = yes; then
6805
ac_cv_func_vfork_works=cross
6807
cat >conftest.$ac_ext <<_ACEOF
6810
cat confdefs.h >>conftest.$ac_ext
6811
cat >>conftest.$ac_ext <<_ACEOF
6812
/* end confdefs.h. */
6813
/* Thanks to Paul Eggert for this test. */
6816
#include <sys/types.h>
6817
#include <sys/stat.h>
6818
#include <sys/wait.h>
6820
# include <unistd.h>
6825
/* On some sparc systems, changes by the child to local and incoming
6826
argument registers are propagated back to the parent. The compiler
6827
is told about this with #include <vfork.h>, but some compilers
6828
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6829
static variable whose address is put into a register that is
6830
clobbered by the vfork. */
6833
sparc_address_test (int arg)
6835
sparc_address_test (arg) int arg;
6856
pid_t parent = getpid ();
6859
sparc_address_test (0);
6864
/* Here is another test for sparc vfork register problems. This
6865
test uses lots of local variables, at least as many local
6866
variables as main has allocated so far including compiler
6867
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6868
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6869
reuse the register of parent for one of the local variables,
6870
since it will think that parent can't possibly be used any more
6871
in this routine. Assigning to the local variable will thus
6872
munge parent in the parent process. */
6874
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6875
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6876
/* Convince the compiler that p..p7 are live; otherwise, it might
6877
use the same hardware register for all 8 local variables. */
6878
if (p != p1 || p != p2 || p != p3 || p != p4
6879
|| p != p5 || p != p6 || p != p7)
6882
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6883
from child file descriptors. If the child closes a descriptor
6884
before it execs or exits, this munges the parent's descriptor
6885
as well. Test for this by closing stdout in the child. */
6886
_exit(close(fileno(stdout)) != 0);
6891
while (wait(&status) != child)
6894
/* Was there some problem with vforking? */
6897
/* Did the child fail? (This shouldn't happen.) */
6900
/* Did the vfork/compiler bug occur? */
6901
|| parent != getpid()
6903
/* Did the file descriptor bug occur? */
6904
|| fstat(fileno(stdout), &st) != 0
6909
rm -f conftest$ac_exeext
6910
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6911
(eval $ac_link) 2>&5
6913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6915
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919
(exit $ac_status); }; }; then
6920
ac_cv_func_vfork_works=yes
6922
echo "$as_me: program exited with status $ac_status" >&5
6923
echo "$as_me: failed program was:" >&5
6924
sed 's/^/| /' conftest.$ac_ext >&5
6927
ac_cv_func_vfork_works=no
6929
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6932
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6933
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
6936
if test "x$ac_cv_func_fork_works" = xcross; then
6937
ac_cv_func_vfork_works=$ac_cv_func_vfork
6938
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6939
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6942
if test "x$ac_cv_func_vfork_works" = xyes; then
6944
cat >>confdefs.h <<\_ACEOF
6945
@%:@define HAVE_WORKING_VFORK 1
6950
cat >>confdefs.h <<\_ACEOF
6951
@%:@define vfork fork
6955
if test "x$ac_cv_func_fork_works" = xyes; then
6957
cat >>confdefs.h <<\_ACEOF
6958
@%:@define HAVE_WORKING_FORK 1
6978
for ac_func in memset strcasecmp strchr strdup strncasecmp strstr strrchr snprintf mkfifo dup2 gettimeofday strerror strtol mkdir setlocale
6980
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6981
echo "$as_me:$LINENO: checking for $ac_func" >&5
6982
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6983
if eval "test \"\${$as_ac_var+set}\" = set"; then
6984
echo $ECHO_N "(cached) $ECHO_C" >&6
6986
cat >conftest.$ac_ext <<_ACEOF
6989
cat confdefs.h >>conftest.$ac_ext
6990
cat >>conftest.$ac_ext <<_ACEOF
6991
/* end confdefs.h. */
6992
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6993
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6994
#define $ac_func innocuous_$ac_func
6996
/* System header to define __stub macros and hopefully few prototypes,
6997
which can conflict with char $ac_func (); below.
6998
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6999
<limits.h> exists even on freestanding compilers. */
7002
# include <limits.h>
7004
# include <assert.h>
7009
/* Override any gcc2 internal prototype to avoid an error. */
7014
/* We use char because int might match the return type of a gcc2
7015
builtin and then its argument prototype would still apply. */
7017
/* The GNU C library defines this for functions which it implements
7018
to always fail with ENOSYS. Some functions are actually named
7019
something starting with __ and the normal name is an alias. */
7020
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7023
char (*f) () = $ac_func;
7032
return f != $ac_func;
7037
rm -f conftest.$ac_objext conftest$ac_exeext
7038
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7039
(eval $ac_link) 2>conftest.er1
7041
grep -v '^ *+' conftest.er1 >conftest.err
7043
cat conftest.err >&5
7044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045
(exit $ac_status); } &&
7046
{ ac_try='test -z "$ac_c_werror_flag"
7047
|| test ! -s conftest.err'
7048
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052
(exit $ac_status); }; } &&
7053
{ ac_try='test -s conftest$ac_exeext'
7054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058
(exit $ac_status); }; }; then
7059
eval "$as_ac_var=yes"
7061
echo "$as_me: failed program was:" >&5
7062
sed 's/^/| /' conftest.$ac_ext >&5
7064
eval "$as_ac_var=no"
7066
rm -f conftest.err conftest.$ac_objext \
7067
conftest$ac_exeext conftest.$ac_ext
7069
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7070
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7071
if test `eval echo '${'$as_ac_var'}'` = yes; then
7072
cat >>confdefs.h <<_ACEOF
7073
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7079
#AC_REPLACE_FUNCS([memmem strlcpy strlcat])
7081
for ac_func in memmem
7083
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7084
echo "$as_me:$LINENO: checking for $ac_func" >&5
7085
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7086
if eval "test \"\${$as_ac_var+set}\" = set"; then
7087
echo $ECHO_N "(cached) $ECHO_C" >&6
7089
cat >conftest.$ac_ext <<_ACEOF
7092
cat confdefs.h >>conftest.$ac_ext
7093
cat >>conftest.$ac_ext <<_ACEOF
7094
/* end confdefs.h. */
7095
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7096
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7097
#define $ac_func innocuous_$ac_func
7099
/* System header to define __stub macros and hopefully few prototypes,
7100
which can conflict with char $ac_func (); below.
7101
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7102
<limits.h> exists even on freestanding compilers. */
7105
# include <limits.h>
7107
# include <assert.h>
7112
/* Override any gcc2 internal prototype to avoid an error. */
7117
/* We use char because int might match the return type of a gcc2
7118
builtin and then its argument prototype would still apply. */
7120
/* The GNU C library defines this for functions which it implements
7121
to always fail with ENOSYS. Some functions are actually named
7122
something starting with __ and the normal name is an alias. */
7123
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7126
char (*f) () = $ac_func;
7135
return f != $ac_func;
7140
rm -f conftest.$ac_objext conftest$ac_exeext
7141
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7142
(eval $ac_link) 2>conftest.er1
7144
grep -v '^ *+' conftest.er1 >conftest.err
7146
cat conftest.err >&5
7147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
(exit $ac_status); } &&
7149
{ ac_try='test -z "$ac_c_werror_flag"
7150
|| test ! -s conftest.err'
7151
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155
(exit $ac_status); }; } &&
7156
{ ac_try='test -s conftest$ac_exeext'
7157
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161
(exit $ac_status); }; }; then
7162
eval "$as_ac_var=yes"
7164
echo "$as_me: failed program was:" >&5
7165
sed 's/^/| /' conftest.$ac_ext >&5
7167
eval "$as_ac_var=no"
7169
rm -f conftest.err conftest.$ac_objext \
7170
conftest$ac_exeext conftest.$ac_ext
7172
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7173
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7174
if test `eval echo '${'$as_ac_var'}'` = yes; then
7175
cat >>confdefs.h <<_ACEOF
7176
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7180
case $LIB@&t@OBJS in
7181
"$ac_func.$ac_objext" | \
7182
*" $ac_func.$ac_objext" | \
7183
"$ac_func.$ac_objext "* | \
7184
*" $ac_func.$ac_objext "* ) ;;
7185
*) LIB@&t@OBJS="$LIB@&t@OBJS $ac_func.$ac_objext" ;;
7193
LDFLAGS="$LDFLAGS $INTLLIBS"
7194
LOCALEDIR=/share/locale
7198
INSTALL_SUBDIR=install-languages
7201
for ac_header in libintl.h
7203
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7204
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7205
echo "$as_me:$LINENO: checking for $ac_header" >&5
7206
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7207
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7208
echo $ECHO_N "(cached) $ECHO_C" >&6
7210
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7211
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7213
# Is the header compilable?
7214
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7215
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7216
cat >conftest.$ac_ext <<_ACEOF
7219
cat confdefs.h >>conftest.$ac_ext
7220
cat >>conftest.$ac_ext <<_ACEOF
7221
/* end confdefs.h. */
7222
$ac_includes_default
7223
@%:@include <$ac_header>
7225
rm -f conftest.$ac_objext
7226
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7227
(eval $ac_compile) 2>conftest.er1
7229
grep -v '^ *+' conftest.er1 >conftest.err
7231
cat conftest.err >&5
7232
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233
(exit $ac_status); } &&
7234
{ ac_try='test -z "$ac_c_werror_flag"
7235
|| test ! -s conftest.err'
7236
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240
(exit $ac_status); }; } &&
7241
{ ac_try='test -s conftest.$ac_objext'
7242
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246
(exit $ac_status); }; }; then
7247
ac_header_compiler=yes
7249
echo "$as_me: failed program was:" >&5
7250
sed 's/^/| /' conftest.$ac_ext >&5
7252
ac_header_compiler=no
7254
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7255
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7256
echo "${ECHO_T}$ac_header_compiler" >&6
7258
# Is the header present?
7259
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7260
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7261
cat >conftest.$ac_ext <<_ACEOF
7264
cat confdefs.h >>conftest.$ac_ext
7265
cat >>conftest.$ac_ext <<_ACEOF
7266
/* end confdefs.h. */
7267
@%:@include <$ac_header>
7269
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7270
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7272
grep -v '^ *+' conftest.er1 >conftest.err
7274
cat conftest.err >&5
7275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276
(exit $ac_status); } >/dev/null; then
7277
if test -s conftest.err; then
7278
ac_cpp_err=$ac_c_preproc_warn_flag
7279
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7286
if test -z "$ac_cpp_err"; then
7287
ac_header_preproc=yes
7289
echo "$as_me: failed program was:" >&5
7290
sed 's/^/| /' conftest.$ac_ext >&5
7292
ac_header_preproc=no
7294
rm -f conftest.err conftest.$ac_ext
7295
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7296
echo "${ECHO_T}$ac_header_preproc" >&6
7298
# So? What about this header?
7299
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7301
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7302
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7303
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7304
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7305
ac_header_preproc=yes
7308
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7309
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7310
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7311
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7312
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7313
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7314
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7315
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7316
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7317
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7318
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7319
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7322
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7323
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7324
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7327
sed "s/^/$as_me: WARNING: /" >&2
7330
echo "$as_me:$LINENO: checking for $ac_header" >&5
7331
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7332
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7333
echo $ECHO_N "(cached) $ECHO_C" >&6
7335
eval "$as_ac_Header=\$ac_header_preproc"
7337
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7338
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7341
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342
cat >>confdefs.h <<_ACEOF
7343
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7346
cat >>confdefs.h <<\_ACEOF
7347
@%:@define HAVE_GETTEXT 1
7356
for ac_header in sys/time.h
7358
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7360
echo "$as_me:$LINENO: checking for $ac_header" >&5
7361
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7362
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7363
echo $ECHO_N "(cached) $ECHO_C" >&6
7365
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7366
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7368
# Is the header compilable?
7369
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7370
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7371
cat >conftest.$ac_ext <<_ACEOF
7374
cat confdefs.h >>conftest.$ac_ext
7375
cat >>conftest.$ac_ext <<_ACEOF
7376
/* end confdefs.h. */
7377
$ac_includes_default
7378
@%:@include <$ac_header>
7380
rm -f conftest.$ac_objext
7381
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7382
(eval $ac_compile) 2>conftest.er1
7384
grep -v '^ *+' conftest.er1 >conftest.err
7386
cat conftest.err >&5
7387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388
(exit $ac_status); } &&
7389
{ ac_try='test -z "$ac_c_werror_flag"
7390
|| test ! -s conftest.err'
7391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395
(exit $ac_status); }; } &&
7396
{ ac_try='test -s conftest.$ac_objext'
7397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401
(exit $ac_status); }; }; then
7402
ac_header_compiler=yes
7404
echo "$as_me: failed program was:" >&5
7405
sed 's/^/| /' conftest.$ac_ext >&5
7407
ac_header_compiler=no
7409
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7410
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7411
echo "${ECHO_T}$ac_header_compiler" >&6
7413
# Is the header present?
7414
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7415
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7416
cat >conftest.$ac_ext <<_ACEOF
7419
cat confdefs.h >>conftest.$ac_ext
7420
cat >>conftest.$ac_ext <<_ACEOF
7421
/* end confdefs.h. */
7422
@%:@include <$ac_header>
7424
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7425
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7427
grep -v '^ *+' conftest.er1 >conftest.err
7429
cat conftest.err >&5
7430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431
(exit $ac_status); } >/dev/null; then
7432
if test -s conftest.err; then
7433
ac_cpp_err=$ac_c_preproc_warn_flag
7434
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7441
if test -z "$ac_cpp_err"; then
7442
ac_header_preproc=yes
7444
echo "$as_me: failed program was:" >&5
7445
sed 's/^/| /' conftest.$ac_ext >&5
7447
ac_header_preproc=no
7449
rm -f conftest.err conftest.$ac_ext
7450
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7451
echo "${ECHO_T}$ac_header_preproc" >&6
7453
# So? What about this header?
7454
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7456
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7457
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7458
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7459
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7460
ac_header_preproc=yes
7463
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7464
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7465
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7466
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7467
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7468
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7469
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7470
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7471
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7472
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7473
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7474
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7477
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7478
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7479
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7482
sed "s/^/$as_me: WARNING: /" >&2
7485
echo "$as_me:$LINENO: checking for $ac_header" >&5
7486
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7487
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7488
echo $ECHO_N "(cached) $ECHO_C" >&6
7490
eval "$as_ac_Header=\$ac_header_preproc"
7492
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7493
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7496
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7497
cat >>confdefs.h <<_ACEOF
7498
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7506
for ac_header in sys/param.h
7508
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7509
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7510
echo "$as_me:$LINENO: checking for $ac_header" >&5
7511
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7512
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7513
echo $ECHO_N "(cached) $ECHO_C" >&6
7515
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7516
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7518
# Is the header compilable?
7519
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7520
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7521
cat >conftest.$ac_ext <<_ACEOF
7524
cat confdefs.h >>conftest.$ac_ext
7525
cat >>conftest.$ac_ext <<_ACEOF
7526
/* end confdefs.h. */
7527
$ac_includes_default
7528
@%:@include <$ac_header>
7530
rm -f conftest.$ac_objext
7531
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7532
(eval $ac_compile) 2>conftest.er1
7534
grep -v '^ *+' conftest.er1 >conftest.err
7536
cat conftest.err >&5
7537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538
(exit $ac_status); } &&
7539
{ ac_try='test -z "$ac_c_werror_flag"
7540
|| test ! -s conftest.err'
7541
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545
(exit $ac_status); }; } &&
7546
{ ac_try='test -s conftest.$ac_objext'
7547
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551
(exit $ac_status); }; }; then
7552
ac_header_compiler=yes
7554
echo "$as_me: failed program was:" >&5
7555
sed 's/^/| /' conftest.$ac_ext >&5
7557
ac_header_compiler=no
7559
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7560
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7561
echo "${ECHO_T}$ac_header_compiler" >&6
7563
# Is the header present?
7564
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7565
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7566
cat >conftest.$ac_ext <<_ACEOF
7569
cat confdefs.h >>conftest.$ac_ext
7570
cat >>conftest.$ac_ext <<_ACEOF
7571
/* end confdefs.h. */
7572
@%:@include <$ac_header>
7574
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7575
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7577
grep -v '^ *+' conftest.er1 >conftest.err
7579
cat conftest.err >&5
7580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581
(exit $ac_status); } >/dev/null; then
7582
if test -s conftest.err; then
7583
ac_cpp_err=$ac_c_preproc_warn_flag
7584
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7591
if test -z "$ac_cpp_err"; then
7592
ac_header_preproc=yes
7594
echo "$as_me: failed program was:" >&5
7595
sed 's/^/| /' conftest.$ac_ext >&5
7597
ac_header_preproc=no
7599
rm -f conftest.err conftest.$ac_ext
7600
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7601
echo "${ECHO_T}$ac_header_preproc" >&6
7603
# So? What about this header?
7604
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7606
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7607
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7608
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7609
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7610
ac_header_preproc=yes
7613
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7614
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7615
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7616
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7617
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7618
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7619
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7620
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7621
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7622
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7623
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7624
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7627
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7628
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7629
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7632
sed "s/^/$as_me: WARNING: /" >&2
7635
echo "$as_me:$LINENO: checking for $ac_header" >&5
7636
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7637
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7638
echo $ECHO_N "(cached) $ECHO_C" >&6
7640
eval "$as_ac_Header=\$ac_header_preproc"
7642
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7643
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7646
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7647
cat >>confdefs.h <<_ACEOF
7648
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7656
for ac_header in locale.h
7658
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7659
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7660
echo "$as_me:$LINENO: checking for $ac_header" >&5
7661
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7662
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7663
echo $ECHO_N "(cached) $ECHO_C" >&6
7665
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7666
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7668
# Is the header compilable?
7669
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7670
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7671
cat >conftest.$ac_ext <<_ACEOF
7674
cat confdefs.h >>conftest.$ac_ext
7675
cat >>conftest.$ac_ext <<_ACEOF
7676
/* end confdefs.h. */
7677
$ac_includes_default
7678
@%:@include <$ac_header>
7680
rm -f conftest.$ac_objext
7681
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682
(eval $ac_compile) 2>conftest.er1
7684
grep -v '^ *+' conftest.er1 >conftest.err
7686
cat conftest.err >&5
7687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688
(exit $ac_status); } &&
7689
{ ac_try='test -z "$ac_c_werror_flag"
7690
|| test ! -s conftest.err'
7691
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695
(exit $ac_status); }; } &&
7696
{ ac_try='test -s conftest.$ac_objext'
7697
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701
(exit $ac_status); }; }; then
7702
ac_header_compiler=yes
7704
echo "$as_me: failed program was:" >&5
7705
sed 's/^/| /' conftest.$ac_ext >&5
7707
ac_header_compiler=no
7709
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7710
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7711
echo "${ECHO_T}$ac_header_compiler" >&6
7713
# Is the header present?
7714
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7715
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7716
cat >conftest.$ac_ext <<_ACEOF
7719
cat confdefs.h >>conftest.$ac_ext
7720
cat >>conftest.$ac_ext <<_ACEOF
7721
/* end confdefs.h. */
7722
@%:@include <$ac_header>
7724
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7725
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7727
grep -v '^ *+' conftest.er1 >conftest.err
7729
cat conftest.err >&5
7730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731
(exit $ac_status); } >/dev/null; then
7732
if test -s conftest.err; then
7733
ac_cpp_err=$ac_c_preproc_warn_flag
7734
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7741
if test -z "$ac_cpp_err"; then
7742
ac_header_preproc=yes
7744
echo "$as_me: failed program was:" >&5
7745
sed 's/^/| /' conftest.$ac_ext >&5
7747
ac_header_preproc=no
7749
rm -f conftest.err conftest.$ac_ext
7750
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7751
echo "${ECHO_T}$ac_header_preproc" >&6
7753
# So? What about this header?
7754
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7756
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7757
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7758
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7759
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7760
ac_header_preproc=yes
7763
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7764
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7765
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7766
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7767
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7768
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7769
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7770
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7771
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7772
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7773
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7774
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7777
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7778
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7779
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7782
sed "s/^/$as_me: WARNING: /" >&2
7785
echo "$as_me:$LINENO: checking for $ac_header" >&5
7786
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7787
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7788
echo $ECHO_N "(cached) $ECHO_C" >&6
7790
eval "$as_ac_Header=\$ac_header_preproc"
7792
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7793
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7796
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7797
cat >>confdefs.h <<_ACEOF
7798
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7806
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
7807
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
7808
if test "${ac_cv_header_stdbool_h+set}" = set; then
7809
echo $ECHO_N "(cached) $ECHO_C" >&6
7811
cat >conftest.$ac_ext <<_ACEOF
7814
cat confdefs.h >>conftest.$ac_ext
7815
cat >>conftest.$ac_ext <<_ACEOF
7816
/* end confdefs.h. */
7818
#include <stdbool.h>
7820
# error bool is not defined
7823
# error false is not defined
7826
# error false is not 0
7829
# error true is not defined
7832
# error true is not 1
7834
#ifndef __bool_true_false_are_defined
7835
# error __bool_true_false_are_defined is not defined
7838
struct s { _Bool s: 1; _Bool t; } s;
7840
char a[true == 1 ? 1 : -1];
7841
char b[false == 0 ? 1 : -1];
7842
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7843
char d[(bool) -0.5 == true ? 1 : -1];
7845
char f[(_Bool) -0.0 == false ? 1 : -1];
7847
char h[sizeof (_Bool)];
7853
return !a + !b + !c + !d + !e + !f + !g + !h + !i;
7858
rm -f conftest.$ac_objext
7859
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7860
(eval $ac_compile) 2>conftest.er1
7862
grep -v '^ *+' conftest.er1 >conftest.err
7864
cat conftest.err >&5
7865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866
(exit $ac_status); } &&
7867
{ ac_try='test -z "$ac_c_werror_flag"
7868
|| test ! -s conftest.err'
7869
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873
(exit $ac_status); }; } &&
7874
{ ac_try='test -s conftest.$ac_objext'
7875
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879
(exit $ac_status); }; }; then
7880
ac_cv_header_stdbool_h=yes
7882
echo "$as_me: failed program was:" >&5
7883
sed 's/^/| /' conftest.$ac_ext >&5
7885
ac_cv_header_stdbool_h=no
7887
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7889
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
7890
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
7891
echo "$as_me:$LINENO: checking for _Bool" >&5
7892
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
7893
if test "${ac_cv_type__Bool+set}" = set; then
7894
echo $ECHO_N "(cached) $ECHO_C" >&6
7896
cat >conftest.$ac_ext <<_ACEOF
7899
cat confdefs.h >>conftest.$ac_ext
7900
cat >>conftest.$ac_ext <<_ACEOF
7901
/* end confdefs.h. */
7902
$ac_includes_default
7914
rm -f conftest.$ac_objext
7915
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7916
(eval $ac_compile) 2>conftest.er1
7918
grep -v '^ *+' conftest.er1 >conftest.err
7920
cat conftest.err >&5
7921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922
(exit $ac_status); } &&
7923
{ ac_try='test -z "$ac_c_werror_flag"
7924
|| test ! -s conftest.err'
7925
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929
(exit $ac_status); }; } &&
7930
{ ac_try='test -s conftest.$ac_objext'
7931
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7934
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935
(exit $ac_status); }; }; then
7936
ac_cv_type__Bool=yes
7938
echo "$as_me: failed program was:" >&5
7939
sed 's/^/| /' conftest.$ac_ext >&5
7943
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7945
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
7946
echo "${ECHO_T}$ac_cv_type__Bool" >&6
7947
if test $ac_cv_type__Bool = yes; then
7949
cat >>confdefs.h <<_ACEOF
7950
@%:@define HAVE__BOOL 1
7956
if test $ac_cv_header_stdbool_h = yes; then
7958
cat >>confdefs.h <<\_ACEOF
7959
@%:@define HAVE_STDBOOL_H 1
7964
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7965
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
7966
if test "${ac_cv_header_sys_wait_h+set}" = set; then
7967
echo $ECHO_N "(cached) $ECHO_C" >&6
7969
cat >conftest.$ac_ext <<_ACEOF
7972
cat confdefs.h >>conftest.$ac_ext
7973
cat >>conftest.$ac_ext <<_ACEOF
7974
/* end confdefs.h. */
7975
#include <sys/types.h>
7976
#include <sys/wait.h>
7978
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
7981
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7989
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7994
rm -f conftest.$ac_objext
7995
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7996
(eval $ac_compile) 2>conftest.er1
7998
grep -v '^ *+' conftest.er1 >conftest.err
8000
cat conftest.err >&5
8001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002
(exit $ac_status); } &&
8003
{ ac_try='test -z "$ac_c_werror_flag"
8004
|| test ! -s conftest.err'
8005
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009
(exit $ac_status); }; } &&
8010
{ ac_try='test -s conftest.$ac_objext'
8011
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015
(exit $ac_status); }; }; then
8016
ac_cv_header_sys_wait_h=yes
8018
echo "$as_me: failed program was:" >&5
8019
sed 's/^/| /' conftest.$ac_ext >&5
8021
ac_cv_header_sys_wait_h=no
8023
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8025
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
8026
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
8027
if test $ac_cv_header_sys_wait_h = yes; then
8029
cat >>confdefs.h <<\_ACEOF
8030
@%:@define HAVE_SYS_WAIT_H 1
8035
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
8036
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
8037
if test "${ac_cv_type_signal+set}" = set; then
8038
echo $ECHO_N "(cached) $ECHO_C" >&6
8040
cat >conftest.$ac_ext <<_ACEOF
8043
cat confdefs.h >>conftest.$ac_ext
8044
cat >>conftest.$ac_ext <<_ACEOF
8045
/* end confdefs.h. */
8046
#include <sys/types.h>
8052
extern "C" void (*signal (int, void (*)(int)))(int);
8054
void (*signal ()) ();
8065
rm -f conftest.$ac_objext
8066
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8067
(eval $ac_compile) 2>conftest.er1
8069
grep -v '^ *+' conftest.er1 >conftest.err
8071
cat conftest.err >&5
8072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073
(exit $ac_status); } &&
8074
{ ac_try='test -z "$ac_c_werror_flag"
8075
|| test ! -s conftest.err'
8076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080
(exit $ac_status); }; } &&
8081
{ ac_try='test -s conftest.$ac_objext'
8082
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086
(exit $ac_status); }; }; then
8087
ac_cv_type_signal=void
8089
echo "$as_me: failed program was:" >&5
8090
sed 's/^/| /' conftest.$ac_ext >&5
8092
ac_cv_type_signal=int
8094
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8096
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
8097
echo "${ECHO_T}$ac_cv_type_signal" >&6
8099
cat >>confdefs.h <<_ACEOF
8100
@%:@define RETSIGTYPE $ac_cv_type_signal
8104
if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8105
echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8106
echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8107
if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8108
echo $ECHO_N "(cached) $ECHO_C" >&6
8110
echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8111
echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8113
# Is the header compilable?
8114
echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
8115
echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
8116
cat >conftest.$ac_ext <<_ACEOF
8119
cat confdefs.h >>conftest.$ac_ext
8120
cat >>conftest.$ac_ext <<_ACEOF
8121
/* end confdefs.h. */
8122
$ac_includes_default
8123
@%:@include <X11/xpm.h>
8125
rm -f conftest.$ac_objext
8126
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8127
(eval $ac_compile) 2>conftest.er1
8129
grep -v '^ *+' conftest.er1 >conftest.err
8131
cat conftest.err >&5
8132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133
(exit $ac_status); } &&
8134
{ ac_try='test -z "$ac_c_werror_flag"
8135
|| test ! -s conftest.err'
8136
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140
(exit $ac_status); }; } &&
8141
{ ac_try='test -s conftest.$ac_objext'
8142
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146
(exit $ac_status); }; }; then
8147
ac_header_compiler=yes
8149
echo "$as_me: failed program was:" >&5
8150
sed 's/^/| /' conftest.$ac_ext >&5
8152
ac_header_compiler=no
8154
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8155
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8156
echo "${ECHO_T}$ac_header_compiler" >&6
8158
# Is the header present?
8159
echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
8160
echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
8161
cat >conftest.$ac_ext <<_ACEOF
8164
cat confdefs.h >>conftest.$ac_ext
8165
cat >>conftest.$ac_ext <<_ACEOF
8166
/* end confdefs.h. */
8167
@%:@include <X11/xpm.h>
8169
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8170
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8172
grep -v '^ *+' conftest.er1 >conftest.err
8174
cat conftest.err >&5
8175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176
(exit $ac_status); } >/dev/null; then
8177
if test -s conftest.err; then
8178
ac_cpp_err=$ac_c_preproc_warn_flag
8179
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8186
if test -z "$ac_cpp_err"; then
8187
ac_header_preproc=yes
8189
echo "$as_me: failed program was:" >&5
8190
sed 's/^/| /' conftest.$ac_ext >&5
8192
ac_header_preproc=no
8194
rm -f conftest.err conftest.$ac_ext
8195
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8196
echo "${ECHO_T}$ac_header_preproc" >&6
8198
# So? What about this header?
8199
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8201
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
8202
echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8203
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
8204
echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
8205
ac_header_preproc=yes
8208
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
8209
echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
8210
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
8211
echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
8212
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
8213
echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
8214
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
8215
echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
8216
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8217
echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
8218
{ echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
8219
echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
8222
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
8223
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
8224
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
8227
sed "s/^/$as_me: WARNING: /" >&2
8230
echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8231
echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8232
if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8233
echo $ECHO_N "(cached) $ECHO_C" >&6
8235
ac_cv_header_X11_xpm_h=$ac_header_preproc
8237
echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8238
echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8241
if test $ac_cv_header_X11_xpm_h = yes; then
8243
cat >>confdefs.h <<\_ACEOF
8244
@%:@define HAVE_X11_XPM 1
8246
XPM_LIBS="-lXpm -lXt"
8251
echo "$as_me:$LINENO: checking for DPMSQueryExtension in -lXdpms" >&5
8252
echo $ECHO_N "checking for DPMSQueryExtension in -lXdpms... $ECHO_C" >&6
8253
if test "${ac_cv_lib_Xdpms_DPMSQueryExtension+set}" = set; then
8254
echo $ECHO_N "(cached) $ECHO_C" >&6
8256
ac_check_lib_save_LIBS=$LIBS
8257
LIBS="-lXdpms $LIBS"
8258
cat >conftest.$ac_ext <<_ACEOF
8261
cat confdefs.h >>conftest.$ac_ext
8262
cat >>conftest.$ac_ext <<_ACEOF
8263
/* end confdefs.h. */
8265
/* Override any gcc2 internal prototype to avoid an error. */
8269
/* We use char because int might match the return type of a gcc2
8270
builtin and then its argument prototype would still apply. */
8271
char DPMSQueryExtension ();
8275
DPMSQueryExtension ();
8280
rm -f conftest.$ac_objext conftest$ac_exeext
8281
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8282
(eval $ac_link) 2>conftest.er1
8284
grep -v '^ *+' conftest.er1 >conftest.err
8286
cat conftest.err >&5
8287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288
(exit $ac_status); } &&
8289
{ ac_try='test -z "$ac_c_werror_flag"
8290
|| test ! -s conftest.err'
8291
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295
(exit $ac_status); }; } &&
8296
{ ac_try='test -s conftest$ac_exeext'
8297
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301
(exit $ac_status); }; }; then
8302
ac_cv_lib_Xdpms_DPMSQueryExtension=yes
8304
echo "$as_me: failed program was:" >&5
8305
sed 's/^/| /' conftest.$ac_ext >&5
8307
ac_cv_lib_Xdpms_DPMSQueryExtension=no
8309
rm -f conftest.err conftest.$ac_objext \
8310
conftest$ac_exeext conftest.$ac_ext
8311
LIBS=$ac_check_lib_save_LIBS
8313
echo "$as_me:$LINENO: result: $ac_cv_lib_Xdpms_DPMSQueryExtension" >&5
8314
echo "${ECHO_T}$ac_cv_lib_Xdpms_DPMSQueryExtension" >&6
8315
if test $ac_cv_lib_Xdpms_DPMSQueryExtension = yes; then
8317
cat >>confdefs.h <<\_ACEOF
8318
@%:@define DPMSExtension 1
8323
echo "$as_me:$LINENO: checking for X11/extensions/dpms.h" >&5
8324
echo $ECHO_N "checking for X11/extensions/dpms.h... $ECHO_C" >&6
8325
if test "${ac_cv_header_X11_extensions_dpms_h+set}" = set; then
8326
echo $ECHO_N "(cached) $ECHO_C" >&6
8328
cat >conftest.$ac_ext <<_ACEOF
8331
cat confdefs.h >>conftest.$ac_ext
8332
cat >>conftest.$ac_ext <<_ACEOF
8333
/* end confdefs.h. */
8334
#include <X11/Xlib.h>
8336
@%:@include <X11/extensions/dpms.h>
8338
rm -f conftest.$ac_objext
8339
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8340
(eval $ac_compile) 2>conftest.er1
8342
grep -v '^ *+' conftest.er1 >conftest.err
8344
cat conftest.err >&5
8345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346
(exit $ac_status); } &&
8347
{ ac_try='test -z "$ac_c_werror_flag"
8348
|| test ! -s conftest.err'
8349
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353
(exit $ac_status); }; } &&
8354
{ ac_try='test -s conftest.$ac_objext'
8355
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359
(exit $ac_status); }; }; then
8360
ac_cv_header_X11_extensions_dpms_h=yes
8362
echo "$as_me: failed program was:" >&5
8363
sed 's/^/| /' conftest.$ac_ext >&5
8365
ac_cv_header_X11_extensions_dpms_h=no
8367
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8369
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_dpms_h" >&5
8370
echo "${ECHO_T}$ac_cv_header_X11_extensions_dpms_h" >&6
8371
if test $ac_cv_header_X11_extensions_dpms_h = yes; then
8373
cat >>confdefs.h <<\_ACEOF
8374
@%:@define DPMSExtension 1
8376
XEXT_LIBS="-lXext -lX11"
8383
ac_config_files="$ac_config_files Makefile po/Makefile install.sh uninstall.sh"
8385
cat >confcache <<\_ACEOF
8386
# This file is a shell script that caches the results of configure
8387
# tests run on this system so they can be shared between configure
8388
# scripts and configure runs, see configure's option --config-cache.
8389
# It is not useful on other systems. If it contains results you don't
8390
# want to keep, you may remove or edit it.
8392
# config.status only pays attention to the cache file if you give it
8393
# the --recheck option to rerun configure.
8395
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8396
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8401
# The following way of writing the cache mishandles newlines in values,
8402
# but we know of no workaround that is simple, portable, and efficient.
8403
# So, don't put newlines in cache variables' values.
8404
# Ultrix sh set writes to stderr and can't be redirected directly,
8405
# and sets the high bit in the cache file unless we assign to the vars.
8408
case `(ac_space=' '; set | grep ac_space) 2>&1` in
8410
# `set' does not quote correctly, so add quotes (double-quote
8411
# substitution turns \\\\ into \\, and sed turns \\ into \).
8414
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8417
# `set' quotes correctly as required by POSIX, so do not add quotes.
8419
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8426
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8428
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8430
if diff $cache_file confcache >/dev/null 2>&1; then :; else
8431
if test -w $cache_file; then
8432
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8433
cat confcache >$cache_file
8435
echo "not updating unwritable cache $cache_file"
8440
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8441
# Let make expand exec_prefix.
8442
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8444
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8445
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8446
# trailing colons and then remove the whole line if VPATH becomes empty
8447
# (actually we leave an empty line to preserve line numbers).
8448
if test "x$srcdir" = x.; then
8449
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8450
s/:*\$(srcdir):*/:/;
8451
s/:*\${srcdir}:*/:/;
8453
s/^\([^=]*=[ ]*\):*/\1/;
8459
DEFS=-DHAVE_CONFIG_H
8463
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
8464
# 1. Remove the extension, and $U if already installed.
8465
ac_i=`echo "$ac_i" |
8466
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8468
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8469
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8471
LIB@&t@OBJS=$ac_libobjs
8473
LTLIBOBJS=$ac_ltlibobjs
8477
: ${CONFIG_STATUS=./config.status}
8478
ac_clean_files_save=$ac_clean_files
8479
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8480
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8481
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8482
cat >$CONFIG_STATUS <<_ACEOF
8484
# Generated by $as_me.
8485
# Run this file to recreate the current configuration.
8486
# Compiler output produced by configure, useful for debugging
8487
# configure, is in config.log if it exists.
8492
SHELL=\${CONFIG_SHELL-$SHELL}
8495
cat >>$CONFIG_STATUS <<\_ACEOF
8496
## --------------------- ##
8497
## M4sh Initialization. ##
8498
## --------------------- ##
8500
# Be Bourne compatible
8501
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8504
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8505
# is contrary to our usage. Disable this feature.
8506
alias -g '${1+"$@"}'='"$@"'
8507
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8510
DUALCASE=1; export DUALCASE # for MKS sh
8512
# Support unset when possible.
8513
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8520
# Work around bugs in pre-3.0 UWIN ksh.
8521
$as_unset ENV MAIL MAILPATH
8528
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8529
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8530
LC_TELEPHONE LC_TIME
8532
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8533
eval $as_var=C; export $as_var
8539
# Required to use basename.
8540
if expr a : '\(a\)' >/dev/null 2>&1; then
8546
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8547
as_basename=basename
8553
# Name of the executable.
8554
as_me=`$as_basename "$0" ||
8555
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8556
X"$0" : 'X\(//\)$' \| \
8557
X"$0" : 'X\(/\)$' \| \
8558
. : '\(.\)' 2>/dev/null ||
8560
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8561
/^X\/\(\/\/\)$/{ s//\1/; q; }
8562
/^X\/\(\/\).*/{ s//\1/; q; }
8566
# PATH needs CR, and LINENO needs CR and PATH.
8567
# Avoid depending upon Character Ranges.
8568
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8569
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8570
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8571
as_cr_digits='0123456789'
8572
as_cr_alnum=$as_cr_Letters$as_cr_digits
8574
# The user is always right.
8575
if test "${PATH_SEPARATOR+set}" != set; then
8576
echo "#! /bin/sh" >conf$$.sh
8577
echo "exit 0" >>conf$$.sh
8579
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8590
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8591
test "x$as_lineno_1" != "x$as_lineno_2" &&
8592
test "x$as_lineno_3" = "x$as_lineno_2" || {
8593
# Find who we are. Look in the path if we contain no path at all
8596
*[\\/]* ) as_myself=$0 ;;
8597
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8601
test -z "$as_dir" && as_dir=.
8602
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8607
# We did not find ourselves, most probably we were run as `sh COMMAND'
8608
# in which case we are not to be found in the path.
8609
if test "x$as_myself" = x; then
8612
if test ! -f "$as_myself"; then
8613
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8614
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8615
{ (exit 1); exit 1; }; }
8617
case $CONFIG_SHELL in
8619
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8623
test -z "$as_dir" && as_dir=.
8624
for as_base in sh bash ksh sh5; do
8627
if ("$as_dir/$as_base" -c '
8630
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8631
test "x$as_lineno_1" != "x$as_lineno_2" &&
8632
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8633
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8634
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8635
CONFIG_SHELL=$as_dir/$as_base
8637
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8645
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8646
# uniformly replaced by the line number. The first 'sed' inserts a
8647
# line-number line before each line; the second 'sed' does the real
8648
# work. The second script uses 'N' to pair each line-number line
8649
# with the numbered line, and appends trailing '-' during
8650
# substitution so that $LINENO is not a special case at line end.
8651
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8652
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8653
sed '=' <$as_myself |
8658
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8661
s,^['$as_cr_digits']*\n,,
8663
chmod +x $as_me.lineno ||
8664
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8665
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8666
{ (exit 1); exit 1; }; }
8668
# Don't try to exec as it changes $[0], causing all sort of problems
8669
# (the dirname of $[0] is not the place where we might find the
8670
# original and so on. Autoconf is especially sensible to this).
8672
# Exit status is that of the last command.
8677
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8678
*c*,-n*) ECHO_N= ECHO_C='
8680
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8681
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8684
if expr a : '\(a\)' >/dev/null 2>&1; then
8690
rm -f conf$$ conf$$.exe conf$$.file
8692
if ln -s conf$$.file conf$$ 2>/dev/null; then
8693
# We could just check for DJGPP; but this test a) works b) is more generic
8694
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8695
if test -f conf$$.exe; then
8696
# Don't use ln at all; we don't have any links
8701
elif ln conf$$.file conf$$ 2>/dev/null; then
8706
rm -f conf$$ conf$$.exe conf$$.file
8708
if mkdir -p . 2>/dev/null; then
8711
test -d ./-p && rmdir ./-p
8715
as_executable_p="test -f"
8717
# Sed expression to map a string onto a valid CPP name.
8718
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8720
# Sed expression to map a string onto a valid variable name.
8721
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8725
# We need space, tab and new line, in precisely that order.
8735
# Open the log real soon, to keep \$[0] and so on meaningful, and to
8736
# report actual input values of CONFIG_FILES etc. instead of their
8737
# values after options handling. Logging --version etc. is OK.
8741
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
8742
@%:@@%:@ Running $as_me. @%:@@%:@
8747
This file was extended by mplayerplug-in $as_me 3.35, which was
8748
generated by GNU Autoconf 2.59. Invocation command line was
8750
CONFIG_FILES = $CONFIG_FILES
8751
CONFIG_HEADERS = $CONFIG_HEADERS
8752
CONFIG_LINKS = $CONFIG_LINKS
8753
CONFIG_COMMANDS = $CONFIG_COMMANDS
8757
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8761
# Files that config.status was made for.
8762
if test -n "$ac_config_files"; then
8763
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8766
if test -n "$ac_config_headers"; then
8767
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8770
if test -n "$ac_config_links"; then
8771
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8774
if test -n "$ac_config_commands"; then
8775
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8778
cat >>$CONFIG_STATUS <<\_ACEOF
8781
\`$as_me' instantiates files from templates according to the
8782
current configuration.
8784
Usage: $0 [OPTIONS] [FILE]...
8786
-h, --help print this help, then exit
8787
-V, --version print version number, then exit
8788
-q, --quiet do not print progress messages
8789
-d, --debug don't remove temporary files
8790
--recheck update $as_me by reconfiguring in the same conditions
8791
--file=FILE[:TEMPLATE]
8792
instantiate the configuration file FILE
8793
--header=FILE[:TEMPLATE]
8794
instantiate the configuration header FILE
8796
Configuration files:
8799
Configuration headers:
8802
Report bugs to <bug-autoconf@gnu.org>."
8805
cat >>$CONFIG_STATUS <<_ACEOF
8807
mplayerplug-in config.status 3.35
8808
configured by $0, generated by GNU Autoconf 2.59,
8809
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8811
Copyright (C) 2003 Free Software Foundation, Inc.
8812
This config.status script is free software; the Free Software Foundation
8813
gives unlimited permission to copy, distribute and modify it."
8818
cat >>$CONFIG_STATUS <<\_ACEOF
8819
# If no file are specified by the user, then we need to provide default
8820
# value. By we need to know if files were specified by the user.
8826
ac_option=`expr "x$1" : 'x\([^=]*\)='`
8827
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8835
*) # This is not an option, so the user has probably given explicit
8838
ac_need_defaults=false;;
8842
# Handling of the options.
8844
cat >>$CONFIG_STATUS <<\_ACEOF
8845
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8847
--version | --vers* | -V )
8848
echo "$ac_cs_version"; exit 0 ;;
8850
# Conflict between --help and --header
8851
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
8852
Try \`$0 --help' for more information." >&5
8853
echo "$as_me: error: ambiguous option: $1
8854
Try \`$0 --help' for more information." >&2;}
8855
{ (exit 1); exit 1; }; };;
8856
--help | --hel | -h )
8857
echo "$ac_cs_usage"; exit 0 ;;
8858
--debug | --d* | -d )
8860
--file | --fil | --fi | --f )
8862
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8863
ac_need_defaults=false;;
8864
--header | --heade | --head | --hea )
8866
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8867
ac_need_defaults=false;;
8868
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8869
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8873
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8874
Try \`$0 --help' for more information." >&5
8875
echo "$as_me: error: unrecognized option: $1
8876
Try \`$0 --help' for more information." >&2;}
8877
{ (exit 1); exit 1; }; } ;;
8879
*) ac_config_targets="$ac_config_targets $1" ;;
8885
ac_configure_extra_args=
8887
if $ac_cs_silent; then
8889
ac_configure_extra_args="$ac_configure_extra_args --silent"
8893
cat >>$CONFIG_STATUS <<_ACEOF
8894
if \$ac_cs_recheck; then
8895
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8896
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8905
cat >>$CONFIG_STATUS <<\_ACEOF
8906
for ac_config_target in $ac_config_targets
8908
case "$ac_config_target" in
8909
# Handling of arguments.
8910
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8911
"po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
8912
"install.sh" ) CONFIG_FILES="$CONFIG_FILES install.sh" ;;
8913
"uninstall.sh" ) CONFIG_FILES="$CONFIG_FILES uninstall.sh" ;;
8914
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8915
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8916
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8917
{ (exit 1); exit 1; }; };;
8921
# If the user did not use the arguments to specify the items to instantiate,
8922
# then the envvar interface is used. Set only those that are not.
8923
# We use the long form for the default assignment because of an extremely
8924
# bizarre bug on SunOS 4.1.3.
8925
if $ac_need_defaults; then
8926
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8927
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8930
# Have a temporary directory for convenience. Make it in the build tree
8931
# simply because there is no reason to put it here, and in addition,
8932
# creating and moving files from /tmp can sometimes cause problems.
8933
# Create a temporary directory, and hook for its removal unless debugging.
8936
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8937
trap '{ (exit 1); exit 1; }' 1 2 13 15
8940
# Create a (secure) tmp directory for tmp files.
8943
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8944
test -n "$tmp" && test -d "$tmp"
8947
tmp=./confstat$$-$RANDOM
8948
(umask 077 && mkdir $tmp)
8951
echo "$me: cannot create a temporary directory in ." >&2
8952
{ (exit 1); exit 1; }
8957
cat >>$CONFIG_STATUS <<_ACEOF
8960
# CONFIG_FILES section.
8963
# No need to generate the scripts if there are no CONFIG_FILES.
8964
# This happens for instance when ./config.status config.h
8965
if test -n "\$CONFIG_FILES"; then
8966
# Protect against being on the right side of a sed subst in config.status.
8967
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8968
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8969
s,@SHELL@,$SHELL,;t t
8970
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8971
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8972
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8973
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8974
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8975
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8976
s,@exec_prefix@,$exec_prefix,;t t
8977
s,@prefix@,$prefix,;t t
8978
s,@program_transform_name@,$program_transform_name,;t t
8979
s,@bindir@,$bindir,;t t
8980
s,@sbindir@,$sbindir,;t t
8981
s,@libexecdir@,$libexecdir,;t t
8982
s,@datadir@,$datadir,;t t
8983
s,@sysconfdir@,$sysconfdir,;t t
8984
s,@sharedstatedir@,$sharedstatedir,;t t
8985
s,@localstatedir@,$localstatedir,;t t
8986
s,@libdir@,$libdir,;t t
8987
s,@includedir@,$includedir,;t t
8988
s,@oldincludedir@,$oldincludedir,;t t
8989
s,@infodir@,$infodir,;t t
8990
s,@mandir@,$mandir,;t t
8991
s,@build_alias@,$build_alias,;t t
8992
s,@host_alias@,$host_alias,;t t
8993
s,@target_alias@,$target_alias,;t t
8995
s,@ECHO_C@,$ECHO_C,;t t
8996
s,@ECHO_N@,$ECHO_N,;t t
8997
s,@ECHO_T@,$ECHO_T,;t t
9000
s,@CXXFLAGS@,$CXXFLAGS,;t t
9001
s,@LDFLAGS@,$LDFLAGS,;t t
9002
s,@CPPFLAGS@,$CPPFLAGS,;t t
9003
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9004
s,@EXEEXT@,$EXEEXT,;t t
9005
s,@OBJEXT@,$OBJEXT,;t t
9007
s,@CFLAGS@,$CFLAGS,;t t
9008
s,@ac_ct_CC@,$ac_ct_CC,;t t
9009
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9010
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9011
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9013
s,@SET_MAKE@,$SET_MAKE,;t t
9014
s,@GECKO_SDK_PREFIX@,$GECKO_SDK_PREFIX,;t t
9015
s,@GECKO_DEFINES@,$GECKO_DEFINES,;t t
9016
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
9017
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
9018
s,@MOZPLUG_CFLAGS@,$MOZPLUG_CFLAGS,;t t
9019
s,@MOZPLUG_LIBS@,$MOZPLUG_LIBS,;t t
9020
s,@MOZILLA_HOME@,$MOZILLA_HOME,;t t
9021
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
9022
s,@GTK_LIBS@,$GTK_LIBS,;t t
9023
s,@GTK24_CFLAGS@,$GTK24_CFLAGS,;t t
9024
s,@GTK24_LIBS@,$GTK24_LIBS,;t t
9025
s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
9026
s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
9027
s,@CREATE@,$CREATE,;t t
9028
s,@CXXFLAGS64@,$CXXFLAGS64,;t t
9029
s,@LDFLAGS64@,$LDFLAGS64,;t t
9030
s,@GTK_DEFINES@,$GTK_DEFINES,;t t
9032
s,@X_CFLAGS@,$X_CFLAGS,;t t
9033
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
9034
s,@X_LIBS@,$X_LIBS,;t t
9035
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
9036
s,@EGREP@,$EGREP,;t t
9037
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
9038
s,@LOCALEDIR@,$LOCALEDIR,;t t
9039
s,@SUBDIR@,$SUBDIR,;t t
9040
s,@INSTALL_SUBDIR@,$INSTALL_SUBDIR,;t t
9041
s,@XPM_LIBS@,$XPM_LIBS,;t t
9042
s,@XEXT_LIBS@,$XEXT_LIBS,;t t
9043
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9048
cat >>$CONFIG_STATUS <<\_ACEOF
9049
# Split the substitutions into bite-sized pieces for seds with
9050
# small command number limits, like on Digital OSF/1 and HP-UX.
9052
ac_sed_frag=1 # Number of current file.
9053
ac_beg=1 # First line for current file.
9054
ac_end=$ac_max_sed_lines # Line after last line for current file.
9057
while $ac_more_lines; do
9058
if test $ac_beg -gt 1; then
9059
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9061
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9063
if test ! -s $tmp/subs.frag; then
9066
# The purpose of the label and of the branching condition is to
9067
# speed up the sed processing (if there are no `@' at all, there
9068
# is no need to browse any of the substitutions).
9069
# These are the two extra sed commands mentioned above.
9071
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9072
if test -z "$ac_sed_cmds"; then
9073
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9075
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9077
ac_sed_frag=`expr $ac_sed_frag + 1`
9079
ac_end=`expr $ac_end + $ac_max_sed_lines`
9082
if test -z "$ac_sed_cmds"; then
9085
fi # test -n "$CONFIG_FILES"
9088
cat >>$CONFIG_STATUS <<\_ACEOF
9089
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9090
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9092
- | *:- | *:-:* ) # input from stdin
9094
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9095
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9096
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9097
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9098
* ) ac_file_in=$ac_file.in ;;
9101
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9102
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9103
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9104
X"$ac_file" : 'X\(//\)[^/]' \| \
9105
X"$ac_file" : 'X\(//\)$' \| \
9106
X"$ac_file" : 'X\(/\)' \| \
9107
. : '\(.\)' 2>/dev/null ||
9109
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9110
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9111
/^X\(\/\/\)$/{ s//\1/; q; }
9112
/^X\(\/\).*/{ s//\1/; q; }
9114
{ if $as_mkdir_p; then
9119
while test ! -d "$as_dir"; do
9120
as_dirs="$as_dir $as_dirs"
9121
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9122
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9123
X"$as_dir" : 'X\(//\)[^/]' \| \
9124
X"$as_dir" : 'X\(//\)$' \| \
9125
X"$as_dir" : 'X\(/\)' \| \
9126
. : '\(.\)' 2>/dev/null ||
9128
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9129
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9130
/^X\(\/\/\)$/{ s//\1/; q; }
9131
/^X\(\/\).*/{ s//\1/; q; }
9134
test ! -n "$as_dirs" || mkdir $as_dirs
9135
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9136
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9137
{ (exit 1); exit 1; }; }; }
9141
if test "$ac_dir" != .; then
9142
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9143
# A "../" for each directory in $ac_dir_suffix.
9144
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9146
ac_dir_suffix= ac_top_builddir=
9150
.) # No --srcdir option. We are building in place.
9152
if test -z "$ac_top_builddir"; then
9155
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9157
[\\/]* | ?:[\\/]* ) # Absolute path.
9158
ac_srcdir=$srcdir$ac_dir_suffix;
9159
ac_top_srcdir=$srcdir ;;
9161
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9162
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9165
# Do not use `cd foo && pwd` to compute absolute paths, because
9166
# the directories may not exist.
9168
.) ac_abs_builddir="$ac_dir";;
9171
.) ac_abs_builddir=`pwd`;;
9172
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9173
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9176
case $ac_abs_builddir in
9177
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9179
case ${ac_top_builddir}. in
9180
.) ac_abs_top_builddir=$ac_abs_builddir;;
9181
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9182
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9185
case $ac_abs_builddir in
9186
.) ac_abs_srcdir=$ac_srcdir;;
9189
.) ac_abs_srcdir=$ac_abs_builddir;;
9190
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9191
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9194
case $ac_abs_builddir in
9195
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9197
case $ac_top_srcdir in
9198
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9199
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9200
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9206
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9207
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9210
if test x"$ac_file" != x-; then
9211
{ echo "$as_me:$LINENO: creating $ac_file" >&5
9212
echo "$as_me: creating $ac_file" >&6;}
9215
# Let's still pretend it is `configure' which instantiates (i.e., don't
9216
# use $as_me), people would be surprised to read:
9217
# /* config.h. Generated by config.status. */
9218
if test x"$ac_file" = x-; then
9221
configure_input="$ac_file. "
9223
configure_input=$configure_input"Generated from `echo $ac_file_in |
9224
sed 's,.*/,,'` by configure."
9226
# First look for the input files in the build tree, otherwise in the
9228
ac_file_inputs=`IFS=:
9229
for f in $ac_file_in; do
9231
-) echo $tmp/stdin ;;
9233
# Absolute (can't be DOS-style, as IFS=:)
9234
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9235
echo "$as_me: error: cannot find input file: $f" >&2;}
9236
{ (exit 1); exit 1; }; }
9239
if test -f "$f"; then
9242
elif test -f "$srcdir/$f"; then
9247
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9248
echo "$as_me: error: cannot find input file: $f" >&2;}
9249
{ (exit 1); exit 1; }; }
9252
done` || { (exit 1); exit 1; }
9254
cat >>$CONFIG_STATUS <<_ACEOF
9258
cat >>$CONFIG_STATUS <<\_ACEOF
9260
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9261
s,@configure_input@,$configure_input,;t t
9262
s,@srcdir@,$ac_srcdir,;t t
9263
s,@abs_srcdir@,$ac_abs_srcdir,;t t
9264
s,@top_srcdir@,$ac_top_srcdir,;t t
9265
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9266
s,@builddir@,$ac_builddir,;t t
9267
s,@abs_builddir@,$ac_abs_builddir,;t t
9268
s,@top_builddir@,$ac_top_builddir,;t t
9269
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9270
s,@INSTALL@,$ac_INSTALL,;t t
9271
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9273
if test x"$ac_file" != x-; then
9274
mv $tmp/out $ac_file
9282
cat >>$CONFIG_STATUS <<\_ACEOF
9285
# CONFIG_HEADER section.
9288
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9289
# NAME is the cpp macro being defined and VALUE is the value it is being given.
9291
# ac_d sets the value in "#define NAME VALUE" lines.
9292
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9293
ac_dB='[ ].*$,\1#\2'
9296
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9297
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9298
ac_uB='$,\1#\2define\3'
9302
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9303
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9305
- | *:- | *:-:* ) # input from stdin
9307
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9308
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9309
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9310
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9311
* ) ac_file_in=$ac_file.in ;;
9314
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9315
echo "$as_me: creating $ac_file" >&6;}
9317
# First look for the input files in the build tree, otherwise in the
9319
ac_file_inputs=`IFS=:
9320
for f in $ac_file_in; do
9322
-) echo $tmp/stdin ;;
9324
# Absolute (can't be DOS-style, as IFS=:)
9325
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9326
echo "$as_me: error: cannot find input file: $f" >&2;}
9327
{ (exit 1); exit 1; }; }
9328
# Do quote $f, to prevent DOS paths from being IFS'd.
9331
if test -f "$f"; then
9334
elif test -f "$srcdir/$f"; then
9339
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9340
echo "$as_me: error: cannot find input file: $f" >&2;}
9341
{ (exit 1); exit 1; }; }
9344
done` || { (exit 1); exit 1; }
9345
# Remove the trailing spaces.
9346
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9350
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9351
# `conftest.undefs', that substitutes the proper values into
9352
# config.h.in to produce config.h. The first handles `#define'
9353
# templates, and the second `#undef' templates.
9354
# And first: Protect against being on the right side of a sed subst in
9355
# config.status. Protect against being in an unquoted here document
9357
rm -f conftest.defines conftest.undefs
9358
# Using a here document instead of a string reduces the quoting nightmare.
9359
# Putting comments in sed scripts is not portable.
9361
# `end' is used to avoid that the second main sed command (meant for
9362
# 0-ary CPP macros) applies to n-ary macro definitions.
9363
# See the Autoconf documentation for `clear'.
9364
cat >confdef2sed.sed <<\_ACEOF
9369
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9371
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9374
# If some macros were called several times there might be several times
9375
# the same #defines, which is useless. Nevertheless, we may not want to
9376
# sort them, since we want the *last* AC-DEFINE to be honored.
9377
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9378
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9379
rm -f confdef2sed.sed
9381
# This sed command replaces #undef with comments. This is necessary, for
9382
# example, in the case of _POSIX_SOURCE, which is predefined and required
9383
# on some systems where configure will not decide to define it.
9384
cat >>conftest.undefs <<\_ACEOF
9385
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9388
# Break up conftest.defines because some shells have a limit on the size
9389
# of here documents, and old seds have small limits too (100 cmds).
9390
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9391
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9392
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9393
echo ' :' >>$CONFIG_STATUS
9395
while grep . conftest.defines >/dev/null
9397
# Write a limited-size here document to $tmp/defines.sed.
9398
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9399
# Speed up: don't consider the non `#define' lines.
9400
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9401
# Work around the forget-to-reset-the-flag bug.
9402
echo 't clr' >>$CONFIG_STATUS
9403
echo ': clr' >>$CONFIG_STATUS
9404
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9406
sed -f $tmp/defines.sed $tmp/in >$tmp/out
9410
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9411
rm -f conftest.defines
9412
mv conftest.tail conftest.defines
9414
rm -f conftest.defines
9415
echo ' fi # grep' >>$CONFIG_STATUS
9416
echo >>$CONFIG_STATUS
9418
# Break up conftest.undefs because some shells have a limit on the size
9419
# of here documents, and old seds have small limits too (100 cmds).
9420
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9422
while grep . conftest.undefs >/dev/null
9424
# Write a limited-size here document to $tmp/undefs.sed.
9425
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9426
# Speed up: don't consider the non `#undef'
9427
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9428
# Work around the forget-to-reset-the-flag bug.
9429
echo 't clr' >>$CONFIG_STATUS
9430
echo ': clr' >>$CONFIG_STATUS
9431
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9433
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9437
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9438
rm -f conftest.undefs
9439
mv conftest.tail conftest.undefs
9441
rm -f conftest.undefs
9443
cat >>$CONFIG_STATUS <<\_ACEOF
9444
# Let's still pretend it is `configure' which instantiates (i.e., don't
9445
# use $as_me), people would be surprised to read:
9446
# /* config.h. Generated by config.status. */
9447
if test x"$ac_file" = x-; then
9448
echo "/* Generated by configure. */" >$tmp/config.h
9450
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9452
cat $tmp/in >>$tmp/config.h
9454
if test x"$ac_file" != x-; then
9455
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9456
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9457
echo "$as_me: $ac_file is unchanged" >&6;}
9459
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9460
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9461
X"$ac_file" : 'X\(//\)[^/]' \| \
9462
X"$ac_file" : 'X\(//\)$' \| \
9463
X"$ac_file" : 'X\(/\)' \| \
9464
. : '\(.\)' 2>/dev/null ||
9466
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9467
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9468
/^X\(\/\/\)$/{ s//\1/; q; }
9469
/^X\(\/\).*/{ s//\1/; q; }
9471
{ if $as_mkdir_p; then
9476
while test ! -d "$as_dir"; do
9477
as_dirs="$as_dir $as_dirs"
9478
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9479
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9480
X"$as_dir" : 'X\(//\)[^/]' \| \
9481
X"$as_dir" : 'X\(//\)$' \| \
9482
X"$as_dir" : 'X\(/\)' \| \
9483
. : '\(.\)' 2>/dev/null ||
9485
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9486
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9487
/^X\(\/\/\)$/{ s//\1/; q; }
9488
/^X\(\/\).*/{ s//\1/; q; }
9491
test ! -n "$as_dirs" || mkdir $as_dirs
9492
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9493
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9494
{ (exit 1); exit 1; }; }; }
9497
mv $tmp/config.h $ac_file
9506
cat >>$CONFIG_STATUS <<\_ACEOF
9508
{ (exit 0); exit 0; }
9510
chmod +x $CONFIG_STATUS
9511
ac_clean_files=$ac_clean_files_save
9514
# configure is writing to config.log, and then calls config.status.
9515
# config.status does its own redirection, appending to config.log.
9516
# Unfortunately, on DOS this fails, as config.log is still kept open
9517
# by configure, so config.status won't be able to write to it; its
9518
# output is simply discarded. So we exec the FD to /dev/null,
9519
# effectively closing config.log, so it can be properly (re)opened and
9520
# appended to by config.status. When coming back to configure, we
9521
# need to make the FD available again.
9522
if test "$no_create" != yes; then
9524
ac_config_status_args=
9525
test "$silent" = yes &&
9526
ac_config_status_args="$ac_config_status_args --quiet"
9528
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9530
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9531
# would make configure fail if this is the last instruction.
9532
$ac_cs_success || { (exit 1); exit 1; }
9535
chmod u+x install.sh uninstall.sh
9536
if test $use_x = yes; then
9537
echo "**************************************************************"
9538
echo " ARE YOU SURE YOU WANT TO BUILD WITHOUT GTK?"
9539
echo " BECAUSE mplayerplug-in WITHOUT GTK TAKES AWAY FUNCITIONALITY "
9540
echo "**************************************************************"