~ubuntu-branches/ubuntu/wily/mplayerplug-in/wily

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Tirabassi
  • Date: 2008-07-06 23:35:53 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080706233553-tfxk1bnjr8uewq0c
Tags: 3.55-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/control
    + replace iceweasel with firefox3.0 | firefox 2
    + replace iceape-browser with seamonkey-browser
    + add Depends on | mplayer-nogui (>= 1.0~rc2)
    + add Xb-Npp-xxx tags accordingly to "firefox distro add-on support"
      spec
    + Modify Maintainer value to match the DebianMaintainerField
      specification.
  - debian/mozilla-mplayer.links:
    + add firefox and xulrunner symlinks
* Replace iceape-dev b-d with libxul-dev.
* Add xulrunner in lists of possible "browsers".
* Following upstream suggestion, change required mplayer version
  to be (>= 1.0~rc2).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.59 for mplayerplug-in 3.35.
4
 
@%:@
5
 
@%:@ Report bugs to <mplayerplug-in-devel@lists.sourceforge.net>.
6
 
@%:@ 
7
 
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
8
 
@%:@ This configure script is free software; the Free Software Foundation
9
 
@%:@ gives unlimited permission to copy, distribute and modify it.
10
 
## --------------------- ##
11
 
## M4sh Initialization.  ##
12
 
## --------------------- ##
13
 
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
24
 
DUALCASE=1; export DUALCASE # for MKS sh
25
 
 
26
 
# Support unset when possible.
27
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
 
  as_unset=unset
29
 
else
30
 
  as_unset=false
31
 
fi
32
 
 
33
 
 
34
 
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
36
 
PS1='$ '
37
 
PS2='> '
38
 
PS4='+ '
39
 
 
40
 
# NLS nuisances.
41
 
for as_var in \
42
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
 
  LC_TELEPHONE LC_TIME
45
 
do
46
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
 
    eval $as_var=C; export $as_var
48
 
  else
49
 
    $as_unset $as_var
50
 
  fi
51
 
done
52
 
 
53
 
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
55
 
  as_expr=expr
56
 
else
57
 
  as_expr=false
58
 
fi
59
 
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61
 
  as_basename=basename
62
 
else
63
 
  as_basename=false
64
 
fi
65
 
 
66
 
 
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 ||
73
 
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
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
87
 
 
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
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
132
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
 
do
135
 
  IFS=$as_save_IFS
136
 
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
139
 
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
154
 
done
155
 
;;
156
 
  esac
157
 
 
158
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
164
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
167
 
    sed '
168
 
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
 
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
175
 
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
177
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
 
   { (exit 1); exit 1; }; }
179
 
 
180
 
  # Don't try to exec as it changes $[0], causing all sort of problems
181
 
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
184
 
  # Exit status is that of the last command.
185
 
  exit
186
 
}
187
 
 
188
 
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
 
esac
195
 
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
197
 
  as_expr=expr
198
 
else
199
 
  as_expr=false
200
 
fi
201
 
 
202
 
rm -f conf$$ conf$$.exe conf$$.file
203
 
echo >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
209
 
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
 
elif ln conf$$.file conf$$ 2>/dev/null; then
214
 
  as_ln_s=ln
215
 
else
216
 
  as_ln_s='cp -p'
217
 
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
219
 
 
220
 
if mkdir -p . 2>/dev/null; then
221
 
  as_mkdir_p=:
222
 
else
223
 
  test -d ./-p && rmdir ./-p
224
 
  as_mkdir_p=false
225
 
fi
226
 
 
227
 
as_executable_p="test -f"
228
 
 
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'"
231
 
 
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'"
234
 
 
235
 
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
 
 
246
 
# Name of the host.
247
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
 
# so uname gets run too.
249
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
 
 
251
 
exec 6>&1
252
 
 
253
 
#
254
 
# Initializations.
255
 
#
256
 
ac_default_prefix=/usr/local
257
 
ac_config_libobj_dir=.
258
 
cross_compiling=no
259
 
subdirs=
260
 
MFLAGS=
261
 
MAKEFLAGS=
262
 
SHELL=${CONFIG_SHELL-/bin/sh}
263
 
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
 
 
269
 
# Identity of this package.
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'
275
 
 
276
 
ac_unique_file="config.h.in"
277
 
ac_config_libobj_dir=Source
278
 
# Factoring default headers for most tests.
279
 
ac_includes_default="\
280
 
#include <stdio.h>
281
 
#if HAVE_SYS_TYPES_H
282
 
# include <sys/types.h>
283
 
#endif
284
 
#if HAVE_SYS_STAT_H
285
 
# include <sys/stat.h>
286
 
#endif
287
 
#if STDC_HEADERS
288
 
# include <stdlib.h>
289
 
# include <stddef.h>
290
 
#else
291
 
# if HAVE_STDLIB_H
292
 
#  include <stdlib.h>
293
 
# endif
294
 
#endif
295
 
#if HAVE_STRING_H
296
 
# if !STDC_HEADERS && HAVE_MEMORY_H
297
 
#  include <memory.h>
298
 
# endif
299
 
# include <string.h>
300
 
#endif
301
 
#if HAVE_STRINGS_H
302
 
# include <strings.h>
303
 
#endif
304
 
#if HAVE_INTTYPES_H
305
 
# include <inttypes.h>
306
 
#else
307
 
# if HAVE_STDINT_H
308
 
#  include <stdint.h>
309
 
# endif
310
 
#endif
311
 
#if HAVE_UNISTD_H
312
 
# include <unistd.h>
313
 
#endif"
314
 
 
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'
316
 
ac_subst_files=''
317
 
 
318
 
# Initialize some variables set by options.
319
 
ac_init_help=
320
 
ac_init_version=false
321
 
# The variables have the same names as the options, with
322
 
# dashes changed to underlines.
323
 
cache_file=/dev/null
324
 
exec_prefix=NONE
325
 
no_create=
326
 
no_recursion=
327
 
prefix=NONE
328
 
program_prefix=NONE
329
 
program_suffix=NONE
330
 
program_transform_name=s,x,x,
331
 
silent=
332
 
site=
333
 
srcdir=
334
 
verbose=
335
 
x_includes=NONE
336
 
x_libraries=NONE
337
 
 
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'
355
 
 
356
 
ac_prev=
357
 
for ac_option
358
 
do
359
 
  # If the previous option needs an argument, assign it.
360
 
  if test -n "$ac_prev"; then
361
 
    eval "$ac_prev=\$ac_option"
362
 
    ac_prev=
363
 
    continue
364
 
  fi
365
 
 
366
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
 
 
368
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
369
 
 
370
 
  case $ac_option in
371
 
 
372
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
373
 
    ac_prev=bindir ;;
374
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375
 
    bindir=$ac_optarg ;;
376
 
 
377
 
  -build | --build | --buil | --bui | --bu)
378
 
    ac_prev=build_alias ;;
379
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380
 
    build_alias=$ac_optarg ;;
381
 
 
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 ;;
388
 
 
389
 
  --config-cache | -C)
390
 
    cache_file=config.cache ;;
391
 
 
392
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393
 
    ac_prev=datadir ;;
394
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395
 
  | --da=*)
396
 
    datadir=$ac_optarg ;;
397
 
 
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" ;;
406
 
 
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'`
414
 
    case $ac_option in
415
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416
 
      *) ac_optarg=yes ;;
417
 
    esac
418
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
419
 
 
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 ;;
428
 
 
429
 
  -gas | --gas | --ga | --g)
430
 
    # Obsolete; use --with-gas.
431
 
    with_gas=yes ;;
432
 
 
433
 
  -help | --help | --hel | --he | -h)
434
 
    ac_init_help=long ;;
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 ;;
439
 
 
440
 
  -host | --host | --hos | --ho)
441
 
    ac_prev=host_alias ;;
442
 
  -host=* | --host=* | --hos=* | --ho=*)
443
 
    host_alias=$ac_optarg ;;
444
 
 
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 ;;
451
 
 
452
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
453
 
    ac_prev=infodir ;;
454
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455
 
    infodir=$ac_optarg ;;
456
 
 
457
 
  -libdir | --libdir | --libdi | --libd)
458
 
    ac_prev=libdir ;;
459
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
460
 
    libdir=$ac_optarg ;;
461
 
 
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 ;;
468
 
 
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 ;;
477
 
 
478
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479
 
    ac_prev=mandir ;;
480
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481
 
    mandir=$ac_optarg ;;
482
 
 
483
 
  -nfp | --nfp | --nf)
484
 
    # Obsolete; use --without-fp.
485
 
    with_fp=no ;;
486
 
 
487
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488
 
  | --no-cr | --no-c | -n)
489
 
    no_create=yes ;;
490
 
 
491
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493
 
    no_recursion=yes ;;
494
 
 
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 ;;
503
 
 
504
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505
 
    ac_prev=prefix ;;
506
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507
 
    prefix=$ac_optarg ;;
508
 
 
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 ;;
515
 
 
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 ;;
522
 
 
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 ;;
539
 
 
540
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541
 
  | -silent | --silent | --silen | --sile | --sil)
542
 
    silent=yes ;;
543
 
 
544
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545
 
    ac_prev=sbindir ;;
546
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547
 
  | --sbi=* | --sb=*)
548
 
    sbindir=$ac_optarg ;;
549
 
 
550
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
551
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552
 
  | --sharedst | --shareds | --shared | --share | --shar \
553
 
  | --sha | --sh)
554
 
    ac_prev=sharedstatedir ;;
555
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558
 
  | --sha=* | --sh=*)
559
 
    sharedstatedir=$ac_optarg ;;
560
 
 
561
 
  -site | --site | --sit)
562
 
    ac_prev=site ;;
563
 
  -site=* | --site=* | --sit=*)
564
 
    site=$ac_optarg ;;
565
 
 
566
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567
 
    ac_prev=srcdir ;;
568
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569
 
    srcdir=$ac_optarg ;;
570
 
 
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 ;;
577
 
 
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 ;;
582
 
 
583
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
584
 
    verbose=yes ;;
585
 
 
586
 
  -version | --version | --versio | --versi | --vers | -V)
587
 
    ac_init_version=: ;;
588
 
 
589
 
  -with-* | --with-*)
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'`
596
 
    case $ac_option in
597
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598
 
      *) ac_optarg=yes ;;
599
 
    esac
600
 
    eval "with_$ac_package='$ac_optarg'" ;;
601
 
 
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" ;;
610
 
 
611
 
  --x)
612
 
    # Obsolete; use --with-x.
613
 
    with_x=yes ;;
614
 
 
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 ;;
621
 
 
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 ;;
628
 
 
629
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
630
 
Try \`$0 --help' for more information." >&2
631
 
   { (exit 1); exit 1; }; }
632
 
    ;;
633
 
 
634
 
  *=*)
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'"
642
 
    export $ac_envvar ;;
643
 
 
644
 
  *)
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}
650
 
    ;;
651
 
 
652
 
  esac
653
 
done
654
 
 
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; }; }
659
 
fi
660
 
 
661
 
# Be sure to have absolute paths.
662
 
for ac_var in exec_prefix prefix
663
 
do
664
 
  eval ac_val=$`echo $ac_var`
665
 
  case $ac_val in
666
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668
 
   { (exit 1); exit 1; }; };;
669
 
  esac
670
 
done
671
 
 
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
675
 
do
676
 
  eval ac_val=$`echo $ac_var`
677
 
  case $ac_val in
678
 
    [\\/$]* | ?:[\\/]* ) ;;
679
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680
 
   { (exit 1); exit 1; }; };;
681
 
  esac
682
 
done
683
 
 
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.
687
 
build=$build_alias
688
 
host=$host_alias
689
 
target=$target_alias
690
 
 
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
698
 
    cross_compiling=yes
699
 
  fi
700
 
fi
701
 
 
702
 
ac_tool_prefix=
703
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
 
 
705
 
test "$silent" = yes && exec 6>/dev/null
706
 
 
707
 
 
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 ||
718
 
echo X"$0" |
719
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721
 
          /^X\(\/\/\)$/{ s//\1/; q; }
722
 
          /^X\(\/\).*/{ s//\1/; q; }
723
 
          s/.*/./; q'`
724
 
  srcdir=$ac_confdir
725
 
  if test ! -r $srcdir/$ac_unique_file; then
726
 
    srcdir=..
727
 
  fi
728
 
else
729
 
  ac_srcdir_defaulted=no
730
 
fi
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; }; }
735
 
  else
736
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737
 
   { (exit 1); exit 1; }; }
738
 
  fi
739
 
fi
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}
773
 
ac_env_CC_value=$CC
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
820
 
 
821
 
#
822
 
# Report the --help message.
823
 
#
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.
827
 
  cat <<_ACEOF
828
 
\`configure' configures mplayerplug-in 3.35 to adapt to many kinds of systems.
829
 
 
830
 
Usage: $0 [OPTION]... [VAR=VALUE]...
831
 
 
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.
834
 
 
835
 
Defaults for the options are specified in brackets.
836
 
 
837
 
Configuration:
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 \`..']
847
 
 
848
 
_ACEOF
849
 
 
850
 
  cat <<_ACEOF
851
 
Installation directories:
852
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
853
 
                          [$ac_default_prefix]
854
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
855
 
                          [PREFIX]
856
 
 
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'.
861
 
 
862
 
For better control, use the options below.
863
 
 
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]
877
 
_ACEOF
878
 
 
879
 
  cat <<\_ACEOF
880
 
 
881
 
X features:
882
 
  --x-includes=DIR    X include files are in DIR
883
 
  --x-libraries=DIR   X library files are in DIR
884
 
_ACEOF
885
 
fi
886
 
 
887
 
if test -n "$ac_init_help"; then
888
 
  case $ac_init_help in
889
 
     short | recursive ) echo "Configuration of mplayerplug-in 3.35:";;
890
 
   esac
891
 
  cat <<\_ACEOF
892
 
 
893
 
Optional Features:
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
897
 
                          x86_64 architecture
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
907
 
 
908
 
Optional Packages:
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
914
 
 
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
925
 
  MOZPLUG_CFLAGS 
926
 
              C compiler flags for MOZPLUG, overriding pkg-config
927
 
  MOZPLUG_LIBS 
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
931
 
  GTK24_CFLAGS 
932
 
              C compiler flags for GTK24, overriding pkg-config
933
 
  GTK24_LIBS  linker flags for GTK24, overriding pkg-config
934
 
  GTHREAD_CFLAGS 
935
 
              C compiler flags for GTHREAD, overriding pkg-config
936
 
  GTHREAD_LIBS 
937
 
              linker flags for GTHREAD, overriding pkg-config
938
 
  CPP         C preprocessor
939
 
 
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.
942
 
 
943
 
Report bugs to <mplayerplug-in-devel@lists.sourceforge.net>.
944
 
_ACEOF
945
 
fi
946
 
 
947
 
if test "$ac_init_help" = "recursive"; then
948
 
  # If there are subdirs, report their specific --help.
949
 
  ac_popdir=`pwd`
950
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
951
 
    test -d $ac_dir || continue
952
 
    ac_builddir=.
953
 
 
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'`
958
 
else
959
 
  ac_dir_suffix= ac_top_builddir=
960
 
fi
961
 
 
962
 
case $srcdir in
963
 
  .)  # No --srcdir option.  We are building in place.
964
 
    ac_srcdir=.
965
 
    if test -z "$ac_top_builddir"; then
966
 
       ac_top_srcdir=.
967
 
    else
968
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
969
 
    fi ;;
970
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
971
 
    ac_srcdir=$srcdir$ac_dir_suffix;
972
 
    ac_top_srcdir=$srcdir ;;
973
 
  *) # Relative path.
974
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
975
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
976
 
esac
977
 
 
978
 
# Do not use `cd foo && pwd` to compute absolute paths, because
979
 
# the directories may not exist.
980
 
case `pwd` in
981
 
.) ac_abs_builddir="$ac_dir";;
982
 
*)
983
 
  case "$ac_dir" in
984
 
  .) ac_abs_builddir=`pwd`;;
985
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
986
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
987
 
  esac;;
988
 
esac
989
 
case $ac_abs_builddir in
990
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
991
 
*)
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}.;;
996
 
  esac;;
997
 
esac
998
 
case $ac_abs_builddir in
999
 
.) ac_abs_srcdir=$ac_srcdir;;
1000
 
*)
1001
 
  case $ac_srcdir in
1002
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1003
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1004
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1005
 
  esac;;
1006
 
esac
1007
 
case $ac_abs_builddir in
1008
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1009
 
*)
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;;
1014
 
  esac;;
1015
 
esac
1016
 
 
1017
 
    cd $ac_dir
1018
 
    # Check for guested configure; otherwise get Cygnus style configure.
1019
 
    if test -f $ac_srcdir/configure.gnu; then
1020
 
      echo
1021
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1022
 
    elif test -f $ac_srcdir/configure; then
1023
 
      echo
1024
 
      $SHELL $ac_srcdir/configure  --help=recursive
1025
 
    elif test -f $ac_srcdir/configure.ac ||
1026
 
           test -f $ac_srcdir/configure.in; then
1027
 
      echo
1028
 
      $ac_configure --help
1029
 
    else
1030
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1031
 
    fi
1032
 
    cd $ac_popdir
1033
 
  done
1034
 
fi
1035
 
 
1036
 
test -n "$ac_init_help" && exit 0
1037
 
if $ac_init_version; then
1038
 
  cat <<\_ACEOF
1039
 
mplayerplug-in configure 3.35
1040
 
generated by GNU Autoconf 2.59
1041
 
 
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.
1045
 
_ACEOF
1046
 
  exit 0
1047
 
fi
1048
 
exec 5>config.log
1049
 
cat >&5 <<_ACEOF
1050
 
This file contains any messages produced by compilers while
1051
 
running configure, to aid debugging if configure makes a mistake.
1052
 
 
1053
 
It was created by mplayerplug-in $as_me 3.35, which was
1054
 
generated by GNU Autoconf 2.59.  Invocation command line was
1055
 
 
1056
 
  $ $0 $@
1057
 
 
1058
 
_ACEOF
1059
 
{
1060
 
cat <<_ASUNAME
1061
 
@%:@@%:@ --------- @%:@@%:@
1062
 
@%:@@%:@ Platform. @%:@@%:@
1063
 
@%:@@%:@ --------- @%:@@%:@
1064
 
 
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`
1070
 
 
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`
1073
 
 
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`
1081
 
 
1082
 
_ASUNAME
1083
 
 
1084
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1085
 
for as_dir in $PATH
1086
 
do
1087
 
  IFS=$as_save_IFS
1088
 
  test -z "$as_dir" && as_dir=.
1089
 
  echo "PATH: $as_dir"
1090
 
done
1091
 
 
1092
 
} >&5
1093
 
 
1094
 
cat >&5 <<_ACEOF
1095
 
 
1096
 
 
1097
 
@%:@@%:@ ----------- @%:@@%:@
1098
 
@%:@@%:@ Core tests. @%:@@%:@
1099
 
@%:@@%:@ ----------- @%:@@%:@
1100
 
 
1101
 
_ACEOF
1102
 
 
1103
 
 
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.
1109
 
ac_configure_args=
1110
 
ac_configure_args0=
1111
 
ac_configure_args1=
1112
 
ac_sep=
1113
 
ac_must_keep_next=false
1114
 
for ac_pass in 1 2
1115
 
do
1116
 
  for ac_arg
1117
 
  do
1118
 
    case $ac_arg in
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)
1122
 
      continue ;;
1123
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1124
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1125
 
    esac
1126
 
    case $ac_pass in
1127
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1128
 
    2)
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.
1132
 
      else
1133
 
        case $ac_arg in
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 ;;
1140
 
            esac
1141
 
            ;;
1142
 
          -* ) ac_must_keep_next=true ;;
1143
 
        esac
1144
 
      fi
1145
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1146
 
      # Get rid of the leading space.
1147
 
      ac_sep=" "
1148
 
      ;;
1149
 
    esac
1150
 
  done
1151
 
done
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; }
1154
 
 
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.
1162
 
  {
1163
 
    echo
1164
 
 
1165
 
    cat <<\_ASBOX
1166
 
@%:@@%:@ ---------------- @%:@@%:@
1167
 
@%:@@%:@ Cache variables. @%:@@%:@
1168
 
@%:@@%:@ ---------------- @%:@@%:@
1169
 
_ASBOX
1170
 
    echo
1171
 
    # The following way of writing the cache mishandles newlines in values,
1172
 
{
1173
 
  (set) 2>&1 |
1174
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1175
 
    *ac_space=\ *)
1176
 
      sed -n \
1177
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1178
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1179
 
      ;;
1180
 
    *)
1181
 
      sed -n \
1182
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1183
 
      ;;
1184
 
    esac;
1185
 
}
1186
 
    echo
1187
 
 
1188
 
    cat <<\_ASBOX
1189
 
@%:@@%:@ ----------------- @%:@@%:@
1190
 
@%:@@%:@ Output variables. @%:@@%:@
1191
 
@%:@@%:@ ----------------- @%:@@%:@
1192
 
_ASBOX
1193
 
    echo
1194
 
    for ac_var in $ac_subst_vars
1195
 
    do
1196
 
      eval ac_val=$`echo $ac_var`
1197
 
      echo "$ac_var='"'"'$ac_val'"'"'"
1198
 
    done | sort
1199
 
    echo
1200
 
 
1201
 
    if test -n "$ac_subst_files"; then
1202
 
      cat <<\_ASBOX
1203
 
@%:@@%:@ ------------- @%:@@%:@
1204
 
@%:@@%:@ Output files. @%:@@%:@
1205
 
@%:@@%:@ ------------- @%:@@%:@
1206
 
_ASBOX
1207
 
      echo
1208
 
      for ac_var in $ac_subst_files
1209
 
      do
1210
 
        eval ac_val=$`echo $ac_var`
1211
 
        echo "$ac_var='"'"'$ac_val'"'"'"
1212
 
      done | sort
1213
 
      echo
1214
 
    fi
1215
 
 
1216
 
    if test -s confdefs.h; then
1217
 
      cat <<\_ASBOX
1218
 
@%:@@%:@ ----------- @%:@@%:@
1219
 
@%:@@%:@ confdefs.h. @%:@@%:@
1220
 
@%:@@%:@ ----------- @%:@@%:@
1221
 
_ASBOX
1222
 
      echo
1223
 
      sed "/^$/d" confdefs.h | sort
1224
 
      echo
1225
 
    fi
1226
 
    test "$ac_signal" != 0 &&
1227
 
      echo "$as_me: caught signal $ac_signal"
1228
 
    echo "$as_me: exit $exit_status"
1229
 
  } >&5
1230
 
  rm -f core *.core &&
1231
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1232
 
    exit $exit_status
1233
 
     ' 0
1234
 
for ac_signal in 1 2 13 15; do
1235
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1236
 
done
1237
 
ac_signal=0
1238
 
 
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.
1242
 
echo >confdefs.h
1243
 
 
1244
 
# Predefined preprocessor variables.
1245
 
 
1246
 
cat >>confdefs.h <<_ACEOF
1247
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1248
 
_ACEOF
1249
 
 
1250
 
 
1251
 
cat >>confdefs.h <<_ACEOF
1252
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1253
 
_ACEOF
1254
 
 
1255
 
 
1256
 
cat >>confdefs.h <<_ACEOF
1257
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1258
 
_ACEOF
1259
 
 
1260
 
 
1261
 
cat >>confdefs.h <<_ACEOF
1262
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1263
 
_ACEOF
1264
 
 
1265
 
 
1266
 
cat >>confdefs.h <<_ACEOF
1267
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1268
 
_ACEOF
1269
 
 
1270
 
 
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"
1276
 
  else
1277
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1278
 
  fi
1279
 
fi
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
1285
 
    . "$ac_site_file"
1286
 
  fi
1287
 
done
1288
 
 
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;}
1295
 
    case $cache_file in
1296
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1297
 
      *)                      . ./$cache_file;;
1298
 
    esac
1299
 
  fi
1300
 
else
1301
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1302
 
echo "$as_me: creating cache $cache_file" >&6;}
1303
 
  >$cache_file
1304
 
fi
1305
 
 
1306
 
# Check that the precious variables saved in the cache have kept the same
1307
 
# value.
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
1316
 
    set,)
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=: ;;
1320
 
    ,set)
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=: ;;
1324
 
    ,);;
1325
 
    *)
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=:
1334
 
      fi;;
1335
 
  esac
1336
 
  # Pass precious variables to config.status.
1337
 
  if test "$ac_new_set" = set; then
1338
 
    case $ac_new_val in
1339
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1340
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1341
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1342
 
    esac
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'" ;;
1346
 
    esac
1347
 
  fi
1348
 
done
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; }; }
1355
 
fi
1356
 
 
1357
 
ac_ext=c
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
1362
 
 
1363
 
 
1364
 
 
1365
 
 
1366
 
 
1367
 
 
1368
 
 
1369
 
 
1370
 
 
1371
 
 
1372
 
 
1373
 
 
1374
 
 
1375
 
 
1376
 
 
1377
 
 
1378
 
 
1379
 
 
1380
 
 
1381
 
 
1382
 
 
1383
 
 
1384
 
 
1385
 
 
1386
 
 
1387
 
 
1388
 
 
1389
 
 
1390
 
          ac_config_headers="$ac_config_headers config.h"
1391
 
 
1392
 
 
1393
 
 
1394
 
# Checks for programs.
1395
 
ac_ext=cc
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
1402
 
  do
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
1409
 
else
1410
 
  if test -n "$CXX"; then
1411
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1412
 
else
1413
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414
 
for as_dir in $PATH
1415
 
do
1416
 
  IFS=$as_save_IFS
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
1422
 
    break 2
1423
 
  fi
1424
 
done
1425
 
done
1426
 
 
1427
 
fi
1428
 
fi
1429
 
CXX=$ac_cv_prog_CXX
1430
 
if test -n "$CXX"; then
1431
 
  echo "$as_me:$LINENO: result: $CXX" >&5
1432
 
echo "${ECHO_T}$CXX" >&6
1433
 
else
1434
 
  echo "$as_me:$LINENO: result: no" >&5
1435
 
echo "${ECHO_T}no" >&6
1436
 
fi
1437
 
 
1438
 
    test -n "$CXX" && break
1439
 
  done
1440
 
fi
1441
 
if test -z "$CXX"; then
1442
 
  ac_ct_CXX=$CXX
1443
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1444
 
do
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
1451
 
else
1452
 
  if test -n "$ac_ct_CXX"; then
1453
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1454
 
else
1455
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456
 
for as_dir in $PATH
1457
 
do
1458
 
  IFS=$as_save_IFS
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
1464
 
    break 2
1465
 
  fi
1466
 
done
1467
 
done
1468
 
 
1469
 
fi
1470
 
fi
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
1475
 
else
1476
 
  echo "$as_me:$LINENO: result: no" >&5
1477
 
echo "${ECHO_T}no" >&6
1478
 
fi
1479
 
 
1480
 
  test -n "$ac_ct_CXX" && break
1481
 
done
1482
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1483
 
 
1484
 
  CXX=$ac_ct_CXX
1485
 
fi
1486
 
 
1487
 
 
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
1494
 
  ac_status=$?
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
1499
 
  ac_status=$?
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
1504
 
  ac_status=$?
1505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506
 
  (exit $ac_status); }
1507
 
 
1508
 
cat >conftest.$ac_ext <<_ACEOF
1509
 
/* confdefs.h.  */
1510
 
_ACEOF
1511
 
cat confdefs.h >>conftest.$ac_ext
1512
 
cat >>conftest.$ac_ext <<_ACEOF
1513
 
/* end confdefs.h.  */
1514
 
 
1515
 
int
1516
 
main ()
1517
 
{
1518
 
 
1519
 
  ;
1520
 
  return 0;
1521
 
}
1522
 
_ACEOF
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
1527
 
# of exeext.
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
1533
 
  ac_status=$?
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
1538
 
# resort.
1539
 
 
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.
1542
 
ac_cv_exeext=
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
1545
 
do
1546
 
  test -f "$ac_file" || continue
1547
 
  case $ac_file in
1548
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1549
 
        ;;
1550
 
    conftest.$ac_ext )
1551
 
        # This is the source file.
1552
 
        ;;
1553
 
    [ab].out )
1554
 
        # We found the default executable, but exeext='' is most
1555
 
        # certainly right.
1556
 
        break;;
1557
 
    *.* )
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.
1562
 
        export ac_cv_exeext
1563
 
        break;;
1564
 
    * )
1565
 
        break;;
1566
 
  esac
1567
 
done
1568
 
else
1569
 
  echo "$as_me: failed program was:" >&5
1570
 
sed 's/^/| /' conftest.$ac_ext >&5
1571
 
 
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; }; }
1577
 
fi
1578
 
 
1579
 
ac_exeext=$ac_cv_exeext
1580
 
echo "$as_me:$LINENO: result: $ac_file" >&5
1581
 
echo "${ECHO_T}$ac_file" >&6
1582
 
 
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
1592
 
  (eval $ac_try) 2>&5
1593
 
  ac_status=$?
1594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1595
 
  (exit $ac_status); }; }; then
1596
 
    cross_compiling=no
1597
 
  else
1598
 
    if test "$cross_compiling" = maybe; then
1599
 
        cross_compiling=yes
1600
 
    else
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; }; }
1608
 
    fi
1609
 
  fi
1610
 
fi
1611
 
echo "$as_me:$LINENO: result: yes" >&5
1612
 
echo "${ECHO_T}yes" >&6
1613
 
 
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
1622
 
 
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
1627
 
  ac_status=$?
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
1633
 
# `rm'.
1634
 
for ac_file in conftest.exe conftest conftest.*; do
1635
 
  test -f "$ac_file" || continue
1636
 
  case $ac_file in
1637
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1638
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1639
 
          export ac_cv_exeext
1640
 
          break;;
1641
 
    * ) break;;
1642
 
  esac
1643
 
done
1644
 
else
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; }; }
1650
 
fi
1651
 
 
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
1655
 
 
1656
 
rm -f conftest.$ac_ext
1657
 
EXEEXT=$ac_cv_exeext
1658
 
ac_exeext=$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
1663
 
else
1664
 
  cat >conftest.$ac_ext <<_ACEOF
1665
 
/* confdefs.h.  */
1666
 
_ACEOF
1667
 
cat confdefs.h >>conftest.$ac_ext
1668
 
cat >>conftest.$ac_ext <<_ACEOF
1669
 
/* end confdefs.h.  */
1670
 
 
1671
 
int
1672
 
main ()
1673
 
{
1674
 
 
1675
 
  ;
1676
 
  return 0;
1677
 
}
1678
 
_ACEOF
1679
 
rm -f conftest.o conftest.obj
1680
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1681
 
  (eval $ac_compile) 2>&5
1682
 
  ac_status=$?
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
1686
 
  case $ac_file in
1687
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1688
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1689
 
       break;;
1690
 
  esac
1691
 
done
1692
 
else
1693
 
  echo "$as_me: failed program was:" >&5
1694
 
sed 's/^/| /' conftest.$ac_ext >&5
1695
 
 
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; }; }
1701
 
fi
1702
 
 
1703
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1704
 
fi
1705
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1706
 
echo "${ECHO_T}$ac_cv_objext" >&6
1707
 
OBJEXT=$ac_cv_objext
1708
 
ac_objext=$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
1713
 
else
1714
 
  cat >conftest.$ac_ext <<_ACEOF
1715
 
/* confdefs.h.  */
1716
 
_ACEOF
1717
 
cat confdefs.h >>conftest.$ac_ext
1718
 
cat >>conftest.$ac_ext <<_ACEOF
1719
 
/* end confdefs.h.  */
1720
 
 
1721
 
int
1722
 
main ()
1723
 
{
1724
 
#ifndef __GNUC__
1725
 
       choke me
1726
 
#endif
1727
 
 
1728
 
  ;
1729
 
  return 0;
1730
 
}
1731
 
_ACEOF
1732
 
rm -f conftest.$ac_objext
1733
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1734
 
  (eval $ac_compile) 2>conftest.er1
1735
 
  ac_status=$?
1736
 
  grep -v '^ *+' conftest.er1 >conftest.err
1737
 
  rm -f conftest.er1
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
1744
 
  (eval $ac_try) 2>&5
1745
 
  ac_status=$?
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
1750
 
  (eval $ac_try) 2>&5
1751
 
  ac_status=$?
1752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753
 
  (exit $ac_status); }; }; then
1754
 
  ac_compiler_gnu=yes
1755
 
else
1756
 
  echo "$as_me: failed program was:" >&5
1757
 
sed 's/^/| /' conftest.$ac_ext >&5
1758
 
 
1759
 
ac_compiler_gnu=no
1760
 
fi
1761
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1762
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1763
 
 
1764
 
fi
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
1770
 
CXXFLAGS="-g"
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
1775
 
else
1776
 
  cat >conftest.$ac_ext <<_ACEOF
1777
 
/* confdefs.h.  */
1778
 
_ACEOF
1779
 
cat confdefs.h >>conftest.$ac_ext
1780
 
cat >>conftest.$ac_ext <<_ACEOF
1781
 
/* end confdefs.h.  */
1782
 
 
1783
 
int
1784
 
main ()
1785
 
{
1786
 
 
1787
 
  ;
1788
 
  return 0;
1789
 
}
1790
 
_ACEOF
1791
 
rm -f conftest.$ac_objext
1792
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1793
 
  (eval $ac_compile) 2>conftest.er1
1794
 
  ac_status=$?
1795
 
  grep -v '^ *+' conftest.er1 >conftest.err
1796
 
  rm -f conftest.er1
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
1803
 
  (eval $ac_try) 2>&5
1804
 
  ac_status=$?
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
1809
 
  (eval $ac_try) 2>&5
1810
 
  ac_status=$?
1811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812
 
  (exit $ac_status); }; }; then
1813
 
  ac_cv_prog_cxx_g=yes
1814
 
else
1815
 
  echo "$as_me: failed program was:" >&5
1816
 
sed 's/^/| /' conftest.$ac_ext >&5
1817
 
 
1818
 
ac_cv_prog_cxx_g=no
1819
 
fi
1820
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1821
 
fi
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
1828
 
    CXXFLAGS="-g -O2"
1829
 
  else
1830
 
    CXXFLAGS="-g"
1831
 
  fi
1832
 
else
1833
 
  if test "$GXX" = yes; then
1834
 
    CXXFLAGS="-O2"
1835
 
  else
1836
 
    CXXFLAGS=
1837
 
  fi
1838
 
fi
1839
 
for ac_declaration in \
1840
 
   '' \
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);' \
1845
 
   'void exit (int);'
1846
 
do
1847
 
  cat >conftest.$ac_ext <<_ACEOF
1848
 
/* confdefs.h.  */
1849
 
_ACEOF
1850
 
cat confdefs.h >>conftest.$ac_ext
1851
 
cat >>conftest.$ac_ext <<_ACEOF
1852
 
/* end confdefs.h.  */
1853
 
$ac_declaration
1854
 
@%:@include <stdlib.h>
1855
 
int
1856
 
main ()
1857
 
{
1858
 
exit (42);
1859
 
  ;
1860
 
  return 0;
1861
 
}
1862
 
_ACEOF
1863
 
rm -f conftest.$ac_objext
1864
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1865
 
  (eval $ac_compile) 2>conftest.er1
1866
 
  ac_status=$?
1867
 
  grep -v '^ *+' conftest.er1 >conftest.err
1868
 
  rm -f conftest.er1
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
1875
 
  (eval $ac_try) 2>&5
1876
 
  ac_status=$?
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
1881
 
  (eval $ac_try) 2>&5
1882
 
  ac_status=$?
1883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884
 
  (exit $ac_status); }; }; then
1885
 
  :
1886
 
else
1887
 
  echo "$as_me: failed program was:" >&5
1888
 
sed 's/^/| /' conftest.$ac_ext >&5
1889
 
 
1890
 
continue
1891
 
fi
1892
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1893
 
  cat >conftest.$ac_ext <<_ACEOF
1894
 
/* confdefs.h.  */
1895
 
_ACEOF
1896
 
cat confdefs.h >>conftest.$ac_ext
1897
 
cat >>conftest.$ac_ext <<_ACEOF
1898
 
/* end confdefs.h.  */
1899
 
$ac_declaration
1900
 
int
1901
 
main ()
1902
 
{
1903
 
exit (42);
1904
 
  ;
1905
 
  return 0;
1906
 
}
1907
 
_ACEOF
1908
 
rm -f conftest.$ac_objext
1909
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1910
 
  (eval $ac_compile) 2>conftest.er1
1911
 
  ac_status=$?
1912
 
  grep -v '^ *+' conftest.er1 >conftest.err
1913
 
  rm -f conftest.er1
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
1920
 
  (eval $ac_try) 2>&5
1921
 
  ac_status=$?
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
1926
 
  (eval $ac_try) 2>&5
1927
 
  ac_status=$?
1928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929
 
  (exit $ac_status); }; }; then
1930
 
  break
1931
 
else
1932
 
  echo "$as_me: failed program was:" >&5
1933
 
sed 's/^/| /' conftest.$ac_ext >&5
1934
 
 
1935
 
fi
1936
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1937
 
done
1938
 
rm -f conftest*
1939
 
if test -n "$ac_declaration"; then
1940
 
  echo '#ifdef __cplusplus' >>confdefs.h
1941
 
  echo $ac_declaration      >>confdefs.h
1942
 
  echo '#endif'             >>confdefs.h
1943
 
fi
1944
 
 
1945
 
ac_ext=c
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
1950
 
 
1951
 
ac_ext=c
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
1963
 
else
1964
 
  if test -n "$CC"; then
1965
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1966
 
else
1967
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1968
 
for as_dir in $PATH
1969
 
do
1970
 
  IFS=$as_save_IFS
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
1976
 
    break 2
1977
 
  fi
1978
 
done
1979
 
done
1980
 
 
1981
 
fi
1982
 
fi
1983
 
CC=$ac_cv_prog_CC
1984
 
if test -n "$CC"; then
1985
 
  echo "$as_me:$LINENO: result: $CC" >&5
1986
 
echo "${ECHO_T}$CC" >&6
1987
 
else
1988
 
  echo "$as_me:$LINENO: result: no" >&5
1989
 
echo "${ECHO_T}no" >&6
1990
 
fi
1991
 
 
1992
 
fi
1993
 
if test -z "$ac_cv_prog_CC"; then
1994
 
  ac_ct_CC=$CC
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
2001
 
else
2002
 
  if test -n "$ac_ct_CC"; then
2003
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2004
 
else
2005
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006
 
for as_dir in $PATH
2007
 
do
2008
 
  IFS=$as_save_IFS
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
2014
 
    break 2
2015
 
  fi
2016
 
done
2017
 
done
2018
 
 
2019
 
fi
2020
 
fi
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
2025
 
else
2026
 
  echo "$as_me:$LINENO: result: no" >&5
2027
 
echo "${ECHO_T}no" >&6
2028
 
fi
2029
 
 
2030
 
  CC=$ac_ct_CC
2031
 
else
2032
 
  CC="$ac_cv_prog_CC"
2033
 
fi
2034
 
 
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
2043
 
else
2044
 
  if test -n "$CC"; then
2045
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2046
 
else
2047
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048
 
for as_dir in $PATH
2049
 
do
2050
 
  IFS=$as_save_IFS
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
2056
 
    break 2
2057
 
  fi
2058
 
done
2059
 
done
2060
 
 
2061
 
fi
2062
 
fi
2063
 
CC=$ac_cv_prog_CC
2064
 
if test -n "$CC"; then
2065
 
  echo "$as_me:$LINENO: result: $CC" >&5
2066
 
echo "${ECHO_T}$CC" >&6
2067
 
else
2068
 
  echo "$as_me:$LINENO: result: no" >&5
2069
 
echo "${ECHO_T}no" >&6
2070
 
fi
2071
 
 
2072
 
fi
2073
 
if test -z "$ac_cv_prog_CC"; then
2074
 
  ac_ct_CC=$CC
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
2081
 
else
2082
 
  if test -n "$ac_ct_CC"; then
2083
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2084
 
else
2085
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086
 
for as_dir in $PATH
2087
 
do
2088
 
  IFS=$as_save_IFS
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
2094
 
    break 2
2095
 
  fi
2096
 
done
2097
 
done
2098
 
 
2099
 
fi
2100
 
fi
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
2105
 
else
2106
 
  echo "$as_me:$LINENO: result: no" >&5
2107
 
echo "${ECHO_T}no" >&6
2108
 
fi
2109
 
 
2110
 
  CC=$ac_ct_CC
2111
 
else
2112
 
  CC="$ac_cv_prog_CC"
2113
 
fi
2114
 
 
2115
 
fi
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
2123
 
else
2124
 
  if test -n "$CC"; then
2125
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2126
 
else
2127
 
  ac_prog_rejected=no
2128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129
 
for as_dir in $PATH
2130
 
do
2131
 
  IFS=$as_save_IFS
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
2137
 
       continue
2138
 
     fi
2139
 
    ac_cv_prog_CC="cc"
2140
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141
 
    break 2
2142
 
  fi
2143
 
done
2144
 
done
2145
 
 
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
2149
 
  shift
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.
2154
 
    shift
2155
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2156
 
  fi
2157
 
fi
2158
 
fi
2159
 
fi
2160
 
CC=$ac_cv_prog_CC
2161
 
if test -n "$CC"; then
2162
 
  echo "$as_me:$LINENO: result: $CC" >&5
2163
 
echo "${ECHO_T}$CC" >&6
2164
 
else
2165
 
  echo "$as_me:$LINENO: result: no" >&5
2166
 
echo "${ECHO_T}no" >&6
2167
 
fi
2168
 
 
2169
 
fi
2170
 
if test -z "$CC"; then
2171
 
  if test -n "$ac_tool_prefix"; then
2172
 
  for ac_prog in cl
2173
 
  do
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
2180
 
else
2181
 
  if test -n "$CC"; then
2182
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2183
 
else
2184
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185
 
for as_dir in $PATH
2186
 
do
2187
 
  IFS=$as_save_IFS
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
2193
 
    break 2
2194
 
  fi
2195
 
done
2196
 
done
2197
 
 
2198
 
fi
2199
 
fi
2200
 
CC=$ac_cv_prog_CC
2201
 
if test -n "$CC"; then
2202
 
  echo "$as_me:$LINENO: result: $CC" >&5
2203
 
echo "${ECHO_T}$CC" >&6
2204
 
else
2205
 
  echo "$as_me:$LINENO: result: no" >&5
2206
 
echo "${ECHO_T}no" >&6
2207
 
fi
2208
 
 
2209
 
    test -n "$CC" && break
2210
 
  done
2211
 
fi
2212
 
if test -z "$CC"; then
2213
 
  ac_ct_CC=$CC
2214
 
  for ac_prog in cl
2215
 
do
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
2222
 
else
2223
 
  if test -n "$ac_ct_CC"; then
2224
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2225
 
else
2226
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227
 
for as_dir in $PATH
2228
 
do
2229
 
  IFS=$as_save_IFS
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
2235
 
    break 2
2236
 
  fi
2237
 
done
2238
 
done
2239
 
 
2240
 
fi
2241
 
fi
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
2246
 
else
2247
 
  echo "$as_me:$LINENO: result: no" >&5
2248
 
echo "${ECHO_T}no" >&6
2249
 
fi
2250
 
 
2251
 
  test -n "$ac_ct_CC" && break
2252
 
done
2253
 
 
2254
 
  CC=$ac_ct_CC
2255
 
fi
2256
 
 
2257
 
fi
2258
 
 
2259
 
 
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; }; }
2265
 
 
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
2272
 
  ac_status=$?
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
2277
 
  ac_status=$?
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
2282
 
  ac_status=$?
2283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284
 
  (exit $ac_status); }
2285
 
 
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
2290
 
else
2291
 
  cat >conftest.$ac_ext <<_ACEOF
2292
 
/* confdefs.h.  */
2293
 
_ACEOF
2294
 
cat confdefs.h >>conftest.$ac_ext
2295
 
cat >>conftest.$ac_ext <<_ACEOF
2296
 
/* end confdefs.h.  */
2297
 
 
2298
 
int
2299
 
main ()
2300
 
{
2301
 
#ifndef __GNUC__
2302
 
       choke me
2303
 
#endif
2304
 
 
2305
 
  ;
2306
 
  return 0;
2307
 
}
2308
 
_ACEOF
2309
 
rm -f conftest.$ac_objext
2310
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311
 
  (eval $ac_compile) 2>conftest.er1
2312
 
  ac_status=$?
2313
 
  grep -v '^ *+' conftest.er1 >conftest.err
2314
 
  rm -f conftest.er1
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
2321
 
  (eval $ac_try) 2>&5
2322
 
  ac_status=$?
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
2327
 
  (eval $ac_try) 2>&5
2328
 
  ac_status=$?
2329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330
 
  (exit $ac_status); }; }; then
2331
 
  ac_compiler_gnu=yes
2332
 
else
2333
 
  echo "$as_me: failed program was:" >&5
2334
 
sed 's/^/| /' conftest.$ac_ext >&5
2335
 
 
2336
 
ac_compiler_gnu=no
2337
 
fi
2338
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2339
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2340
 
 
2341
 
fi
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
2347
 
CFLAGS="-g"
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
2352
 
else
2353
 
  cat >conftest.$ac_ext <<_ACEOF
2354
 
/* confdefs.h.  */
2355
 
_ACEOF
2356
 
cat confdefs.h >>conftest.$ac_ext
2357
 
cat >>conftest.$ac_ext <<_ACEOF
2358
 
/* end confdefs.h.  */
2359
 
 
2360
 
int
2361
 
main ()
2362
 
{
2363
 
 
2364
 
  ;
2365
 
  return 0;
2366
 
}
2367
 
_ACEOF
2368
 
rm -f conftest.$ac_objext
2369
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370
 
  (eval $ac_compile) 2>conftest.er1
2371
 
  ac_status=$?
2372
 
  grep -v '^ *+' conftest.er1 >conftest.err
2373
 
  rm -f conftest.er1
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
2380
 
  (eval $ac_try) 2>&5
2381
 
  ac_status=$?
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
2386
 
  (eval $ac_try) 2>&5
2387
 
  ac_status=$?
2388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389
 
  (exit $ac_status); }; }; then
2390
 
  ac_cv_prog_cc_g=yes
2391
 
else
2392
 
  echo "$as_me: failed program was:" >&5
2393
 
sed 's/^/| /' conftest.$ac_ext >&5
2394
 
 
2395
 
ac_cv_prog_cc_g=no
2396
 
fi
2397
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2398
 
fi
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
2405
 
    CFLAGS="-g -O2"
2406
 
  else
2407
 
    CFLAGS="-g"
2408
 
  fi
2409
 
else
2410
 
  if test "$GCC" = yes; then
2411
 
    CFLAGS="-O2"
2412
 
  else
2413
 
    CFLAGS=
2414
 
  fi
2415
 
fi
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
2420
 
else
2421
 
  ac_cv_prog_cc_stdc=no
2422
 
ac_save_CC=$CC
2423
 
cat >conftest.$ac_ext <<_ACEOF
2424
 
/* confdefs.h.  */
2425
 
_ACEOF
2426
 
cat confdefs.h >>conftest.$ac_ext
2427
 
cat >>conftest.$ac_ext <<_ACEOF
2428
 
/* end confdefs.h.  */
2429
 
#include <stdarg.h>
2430
 
#include <stdio.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)
2437
 
     char **p;
2438
 
     int i;
2439
 
{
2440
 
  return p[i];
2441
 
}
2442
 
static char *f (char * (*g) (char **, int), char **p, ...)
2443
 
{
2444
 
  char *s;
2445
 
  va_list v;
2446
 
  va_start (v,p);
2447
 
  s = g (p, va_arg (v,int));
2448
 
  va_end (v);
2449
 
  return s;
2450
 
}
2451
 
 
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];
2460
 
 
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);
2465
 
int argc;
2466
 
char **argv;
2467
 
int
2468
 
main ()
2469
 
{
2470
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2471
 
  ;
2472
 
  return 0;
2473
 
}
2474
 
_ACEOF
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__"
2483
 
do
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
2488
 
  ac_status=$?
2489
 
  grep -v '^ *+' conftest.er1 >conftest.err
2490
 
  rm -f conftest.er1
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
2497
 
  (eval $ac_try) 2>&5
2498
 
  ac_status=$?
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
2503
 
  (eval $ac_try) 2>&5
2504
 
  ac_status=$?
2505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506
 
  (exit $ac_status); }; }; then
2507
 
  ac_cv_prog_cc_stdc=$ac_arg
2508
 
break
2509
 
else
2510
 
  echo "$as_me: failed program was:" >&5
2511
 
sed 's/^/| /' conftest.$ac_ext >&5
2512
 
 
2513
 
fi
2514
 
rm -f conftest.err conftest.$ac_objext 
2515
 
done
2516
 
rm -f conftest.$ac_ext conftest.$ac_objext
2517
 
CC=$ac_save_CC
2518
 
 
2519
 
fi
2520
 
 
2521
 
case "x$ac_cv_prog_cc_stdc" in
2522
 
  x|xno)
2523
 
    echo "$as_me:$LINENO: result: none needed" >&5
2524
 
echo "${ECHO_T}none needed" >&6 ;;
2525
 
  *)
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" ;;
2529
 
esac
2530
 
 
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
2537
 
  choke me
2538
 
@%:@endif
2539
 
_ACEOF
2540
 
rm -f conftest.$ac_objext
2541
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542
 
  (eval $ac_compile) 2>conftest.er1
2543
 
  ac_status=$?
2544
 
  grep -v '^ *+' conftest.er1 >conftest.err
2545
 
  rm -f conftest.er1
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
2552
 
  (eval $ac_try) 2>&5
2553
 
  ac_status=$?
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
2558
 
  (eval $ac_try) 2>&5
2559
 
  ac_status=$?
2560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
 
  (exit $ac_status); }; }; then
2562
 
  for ac_declaration in \
2563
 
   '' \
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);' \
2568
 
   'void exit (int);'
2569
 
do
2570
 
  cat >conftest.$ac_ext <<_ACEOF
2571
 
/* confdefs.h.  */
2572
 
_ACEOF
2573
 
cat confdefs.h >>conftest.$ac_ext
2574
 
cat >>conftest.$ac_ext <<_ACEOF
2575
 
/* end confdefs.h.  */
2576
 
$ac_declaration
2577
 
@%:@include <stdlib.h>
2578
 
int
2579
 
main ()
2580
 
{
2581
 
exit (42);
2582
 
  ;
2583
 
  return 0;
2584
 
}
2585
 
_ACEOF
2586
 
rm -f conftest.$ac_objext
2587
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2588
 
  (eval $ac_compile) 2>conftest.er1
2589
 
  ac_status=$?
2590
 
  grep -v '^ *+' conftest.er1 >conftest.err
2591
 
  rm -f conftest.er1
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
2598
 
  (eval $ac_try) 2>&5
2599
 
  ac_status=$?
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
2604
 
  (eval $ac_try) 2>&5
2605
 
  ac_status=$?
2606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
 
  (exit $ac_status); }; }; then
2608
 
  :
2609
 
else
2610
 
  echo "$as_me: failed program was:" >&5
2611
 
sed 's/^/| /' conftest.$ac_ext >&5
2612
 
 
2613
 
continue
2614
 
fi
2615
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2616
 
  cat >conftest.$ac_ext <<_ACEOF
2617
 
/* confdefs.h.  */
2618
 
_ACEOF
2619
 
cat confdefs.h >>conftest.$ac_ext
2620
 
cat >>conftest.$ac_ext <<_ACEOF
2621
 
/* end confdefs.h.  */
2622
 
$ac_declaration
2623
 
int
2624
 
main ()
2625
 
{
2626
 
exit (42);
2627
 
  ;
2628
 
  return 0;
2629
 
}
2630
 
_ACEOF
2631
 
rm -f conftest.$ac_objext
2632
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2633
 
  (eval $ac_compile) 2>conftest.er1
2634
 
  ac_status=$?
2635
 
  grep -v '^ *+' conftest.er1 >conftest.err
2636
 
  rm -f conftest.er1
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
2643
 
  (eval $ac_try) 2>&5
2644
 
  ac_status=$?
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
2649
 
  (eval $ac_try) 2>&5
2650
 
  ac_status=$?
2651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652
 
  (exit $ac_status); }; }; then
2653
 
  break
2654
 
else
2655
 
  echo "$as_me: failed program was:" >&5
2656
 
sed 's/^/| /' conftest.$ac_ext >&5
2657
 
 
2658
 
fi
2659
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2660
 
done
2661
 
rm -f conftest*
2662
 
if test -n "$ac_declaration"; then
2663
 
  echo '#ifdef __cplusplus' >>confdefs.h
2664
 
  echo $ac_declaration      >>confdefs.h
2665
 
  echo '#endif'             >>confdefs.h
2666
 
fi
2667
 
 
2668
 
else
2669
 
  echo "$as_me: failed program was:" >&5
2670
 
sed 's/^/| /' conftest.$ac_ext >&5
2671
 
 
2672
 
fi
2673
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2674
 
ac_ext=c
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
2679
 
 
2680
 
ac_aux_dir=
2681
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2682
 
  if test -f $ac_dir/install-sh; then
2683
 
    ac_aux_dir=$ac_dir
2684
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2685
 
    break
2686
 
  elif test -f $ac_dir/install.sh; then
2687
 
    ac_aux_dir=$ac_dir
2688
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2689
 
    break
2690
 
  elif test -f $ac_dir/shtool; then
2691
 
    ac_aux_dir=$ac_dir
2692
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2693
 
    break
2694
 
  fi
2695
 
done
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; }; }
2700
 
fi
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.
2704
 
 
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
2711
 
# AIX /bin/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
2723
 
else
2724
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725
 
for as_dir in $PATH
2726
 
do
2727
 
  IFS=$as_save_IFS
2728
 
  test -z "$as_dir" && as_dir=.
2729
 
  # Account for people who put trailing slashes in PATH elements.
2730
 
case $as_dir/ in
2731
 
  ./ | .// | /cC/* | \
2732
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2733
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2734
 
  /usr/ucb/* ) ;;
2735
 
  *)
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
2738
 
    # by default.
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.
2745
 
            :
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.
2749
 
            :
2750
 
          else
2751
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2752
 
            break 3
2753
 
          fi
2754
 
        fi
2755
 
      done
2756
 
    done
2757
 
    ;;
2758
 
esac
2759
 
done
2760
 
 
2761
 
 
2762
 
fi
2763
 
  if test "${ac_cv_path_install+set}" = set; then
2764
 
    INSTALL=$ac_cv_path_install
2765
 
  else
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
2771
 
  fi
2772
 
fi
2773
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
2774
 
echo "${ECHO_T}$INSTALL" >&6
2775
 
 
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}'
2779
 
 
2780
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2781
 
 
2782
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2783
 
 
2784
 
for ac_prog in gawk mawk nawk awk
2785
 
do
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
2792
 
else
2793
 
  if test -n "$AWK"; then
2794
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2795
 
else
2796
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797
 
for as_dir in $PATH
2798
 
do
2799
 
  IFS=$as_save_IFS
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
2805
 
    break 2
2806
 
  fi
2807
 
done
2808
 
done
2809
 
 
2810
 
fi
2811
 
fi
2812
 
AWK=$ac_cv_prog_AWK
2813
 
if test -n "$AWK"; then
2814
 
  echo "$as_me:$LINENO: result: $AWK" >&5
2815
 
echo "${ECHO_T}$AWK" >&6
2816
 
else
2817
 
  echo "$as_me:$LINENO: result: no" >&5
2818
 
echo "${ECHO_T}no" >&6
2819
 
fi
2820
 
 
2821
 
  test -n "$AWK" && break
2822
 
done
2823
 
 
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
2829
 
else
2830
 
  cat >conftest.make <<\_ACEOF
2831
 
all:
2832
 
        @echo 'ac_maketemp="$(MAKE)"'
2833
 
_ACEOF
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
2838
 
else
2839
 
  eval ac_cv_prog_make_${ac_make}_set=no
2840
 
fi
2841
 
rm -f conftest.make
2842
 
fi
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
2846
 
  SET_MAKE=
2847
 
else
2848
 
  echo "$as_me:$LINENO: result: no" >&5
2849
 
echo "${ECHO_T}no" >&6
2850
 
  SET_MAKE="MAKE=${MAKE-make}"
2851
 
fi
2852
 
 
2853
 
 
2854
 
# Checks for libraries.
2855
 
 
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
2860
 
else
2861
 
  use_64=no
2862
 
fi; 
2863
 
  
2864
 
if test $use_64 = yes; then
2865
 
   CXXFLAGS64="-m32"
2866
 
   LDFLAGS64="-melf_i386"
2867
 
   PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"
2868
 
fi   
2869
 
   
2870
 
#tell us where gecko-sdk is, try to find if not provided
2871
 
 
2872
 
 
2873
 
 
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
2882
 
else
2883
 
  case $PKG_CONFIG in
2884
 
  [\\/]* | ?:[\\/]*)
2885
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2886
 
  ;;
2887
 
  *)
2888
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889
 
for as_dir in $PATH
2890
 
do
2891
 
  IFS=$as_save_IFS
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
2897
 
    break 2
2898
 
  fi
2899
 
done
2900
 
done
2901
 
 
2902
 
  ;;
2903
 
esac
2904
 
fi
2905
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2906
 
 
2907
 
if test -n "$PKG_CONFIG"; then
2908
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2909
 
echo "${ECHO_T}$PKG_CONFIG" >&6
2910
 
else
2911
 
  echo "$as_me:$LINENO: result: no" >&5
2912
 
echo "${ECHO_T}no" >&6
2913
 
fi
2914
 
 
2915
 
fi
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
2924
 
else
2925
 
  case $ac_pt_PKG_CONFIG in
2926
 
  [\\/]* | ?:[\\/]*)
2927
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2928
 
  ;;
2929
 
  *)
2930
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931
 
for as_dir in $PATH
2932
 
do
2933
 
  IFS=$as_save_IFS
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
2939
 
    break 2
2940
 
  fi
2941
 
done
2942
 
done
2943
 
 
2944
 
  ;;
2945
 
esac
2946
 
fi
2947
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2948
 
 
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
2952
 
else
2953
 
  echo "$as_me:$LINENO: result: no" >&5
2954
 
echo "${ECHO_T}no" >&6
2955
 
fi
2956
 
 
2957
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
2958
 
else
2959
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2960
 
fi
2961
 
 
2962
 
fi
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
2970
 
        else
2971
 
                echo "$as_me:$LINENO: result: no" >&5
2972
 
echo "${ECHO_T}no" >&6
2973
 
                PKG_CONFIG=""
2974
 
        fi
2975
 
                
2976
 
fi
2977
 
 
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 
2982
 
 
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"
2986
 
    
2987
 
else
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"
2991
 
    
2992
 
fi
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
2997
 
else
2998
 
  use_rpath=no
2999
 
fi; 
3000
 
 
3001
 
if test "$use_rpath" = "yes"; then
3002
 
  LDFLAGS="$LDFLAGS -Wl,-R${GECKO_SDK_PREFIX}/bin:${GECKO_SDK_PREFIX}/lib"
3003
 
fi
3004
 
 
3005
 
 
3006
 
else
3007
 
  
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;}
3010
 
        
3011
 
pkg_failed=no
3012
 
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3013
 
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3014
 
 
3015
 
if test -n "$PKG_CONFIG"; then
3016
 
    if test -n "$MOZPLUG_CFLAGS"; then
3017
 
        pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3018
 
    else
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
3022
 
  ac_status=$?
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`
3026
 
else
3027
 
  pkg_failed=yes
3028
 
fi
3029
 
    fi
3030
 
else
3031
 
        pkg_failed=untried
3032
 
fi
3033
 
if test -n "$PKG_CONFIG"; then
3034
 
    if test -n "$MOZPLUG_LIBS"; then
3035
 
        pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3036
 
    else
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
3040
 
  ac_status=$?
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`
3044
 
else
3045
 
  pkg_failed=yes
3046
 
fi
3047
 
    fi
3048
 
else
3049
 
        pkg_failed=untried
3050
 
fi
3051
 
 
3052
 
 
3053
 
 
3054
 
if test $pkg_failed = yes; then
3055
 
        
3056
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3057
 
        _pkg_short_errors_supported=yes
3058
 
else
3059
 
        _pkg_short_errors_supported=no
3060
 
fi
3061
 
        if test $_pkg_short_errors_supported = yes; then
3062
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-plugin"`
3063
 
        else 
3064
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
3065
 
        fi
3066
 
        # Put the nasty error message in config.log where it belongs
3067
 
        echo "$MOZPLUG_PKG_ERRORS" >&5
3068
 
 
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;}
3076
 
else
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`
3083
 
 
3084
 
fi
3085
 
 
3086
 
        if test "$MOZPLUG_CFLAGS" = ""; then
3087
 
                
3088
 
pkg_failed=no
3089
 
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3090
 
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3091
 
 
3092
 
if test -n "$PKG_CONFIG"; then
3093
 
    if test -n "$MOZPLUG_CFLAGS"; then
3094
 
        pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3095
 
    else
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
3099
 
  ac_status=$?
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`
3103
 
else
3104
 
  pkg_failed=yes
3105
 
fi
3106
 
    fi
3107
 
else
3108
 
        pkg_failed=untried
3109
 
fi
3110
 
if test -n "$PKG_CONFIG"; then
3111
 
    if test -n "$MOZPLUG_LIBS"; then
3112
 
        pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3113
 
    else
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
3117
 
  ac_status=$?
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`
3121
 
else
3122
 
  pkg_failed=yes
3123
 
fi
3124
 
    fi
3125
 
else
3126
 
        pkg_failed=untried
3127
 
fi
3128
 
 
3129
 
 
3130
 
 
3131
 
if test $pkg_failed = yes; then
3132
 
        
3133
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3134
 
        _pkg_short_errors_supported=yes
3135
 
else
3136
 
        _pkg_short_errors_supported=no
3137
 
fi
3138
 
        if test $_pkg_short_errors_supported = yes; then
3139
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "firefox-plugin"`
3140
 
        else 
3141
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
3142
 
        fi
3143
 
        # Put the nasty error message in config.log where it belongs
3144
 
        echo "$MOZPLUG_PKG_ERRORS" >&5
3145
 
 
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;}
3153
 
else
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`
3160
 
 
3161
 
fi
3162
 
        fi
3163
 
        if test "$MOZPLUG_CFLAGS" = ""; then
3164
 
                
3165
 
pkg_failed=no
3166
 
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3167
 
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3168
 
 
3169
 
if test -n "$PKG_CONFIG"; then
3170
 
    if test -n "$MOZPLUG_CFLAGS"; then
3171
 
        pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3172
 
    else
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
3176
 
  ac_status=$?
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`
3180
 
else
3181
 
  pkg_failed=yes
3182
 
fi
3183
 
    fi
3184
 
else
3185
 
        pkg_failed=untried
3186
 
fi
3187
 
if test -n "$PKG_CONFIG"; then
3188
 
    if test -n "$MOZPLUG_LIBS"; then
3189
 
        pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3190
 
    else
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
3194
 
  ac_status=$?
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`
3198
 
else
3199
 
  pkg_failed=yes
3200
 
fi
3201
 
    fi
3202
 
else
3203
 
        pkg_failed=untried
3204
 
fi
3205
 
 
3206
 
 
3207
 
 
3208
 
if test $pkg_failed = yes; then
3209
 
        
3210
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3211
 
        _pkg_short_errors_supported=yes
3212
 
else
3213
 
        _pkg_short_errors_supported=no
3214
 
fi
3215
 
        if test $_pkg_short_errors_supported = yes; then
3216
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "seamonkey-plugin"`
3217
 
        else 
3218
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin"`
3219
 
        fi
3220
 
        # Put the nasty error message in config.log where it belongs
3221
 
        echo "$MOZPLUG_PKG_ERRORS" >&5
3222
 
 
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;}
3230
 
else
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`
3237
 
 
3238
 
fi
3239
 
        fi
3240
 
        if test "$MOZPLUG_CFLAGS" = ""; then
3241
 
                
3242
 
pkg_failed=no
3243
 
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3244
 
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3245
 
 
3246
 
if test -n "$PKG_CONFIG"; then
3247
 
    if test -n "$MOZPLUG_CFLAGS"; then
3248
 
        pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3249
 
    else
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
3253
 
  ac_status=$?
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`
3257
 
else
3258
 
  pkg_failed=yes
3259
 
fi
3260
 
    fi
3261
 
else
3262
 
        pkg_failed=untried
3263
 
fi
3264
 
if test -n "$PKG_CONFIG"; then
3265
 
    if test -n "$MOZPLUG_LIBS"; then
3266
 
        pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3267
 
    else
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
3271
 
  ac_status=$?
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`
3275
 
else
3276
 
  pkg_failed=yes
3277
 
fi
3278
 
    fi
3279
 
else
3280
 
        pkg_failed=untried
3281
 
fi
3282
 
 
3283
 
 
3284
 
 
3285
 
if test $pkg_failed = yes; then
3286
 
        
3287
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3288
 
        _pkg_short_errors_supported=yes
3289
 
else
3290
 
        _pkg_short_errors_supported=no
3291
 
fi
3292
 
        if test $_pkg_short_errors_supported = yes; then
3293
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xulrunner-plugin"`
3294
 
        else 
3295
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
3296
 
        fi
3297
 
        # Put the nasty error message in config.log where it belongs
3298
 
        echo "$MOZPLUG_PKG_ERRORS" >&5
3299
 
 
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;}
3307
 
else
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`
3314
 
 
3315
 
fi
3316
 
        fi
3317
 
        if test "$MOZPLUG_CFLAGS" = ""; then
3318
 
                
3319
 
pkg_failed=no
3320
 
echo "$as_me:$LINENO: checking for MOZPLUG" >&5
3321
 
echo $ECHO_N "checking for MOZPLUG... $ECHO_C" >&6
3322
 
 
3323
 
if test -n "$PKG_CONFIG"; then
3324
 
    if test -n "$MOZPLUG_CFLAGS"; then
3325
 
        pkg_cv_MOZPLUG_CFLAGS="$MOZPLUG_CFLAGS"
3326
 
    else
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
3330
 
  ac_status=$?
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`
3334
 
else
3335
 
  pkg_failed=yes
3336
 
fi
3337
 
    fi
3338
 
else
3339
 
        pkg_failed=untried
3340
 
fi
3341
 
if test -n "$PKG_CONFIG"; then
3342
 
    if test -n "$MOZPLUG_LIBS"; then
3343
 
        pkg_cv_MOZPLUG_LIBS="$MOZPLUG_LIBS"
3344
 
    else
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
3348
 
  ac_status=$?
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`
3352
 
else
3353
 
  pkg_failed=yes
3354
 
fi
3355
 
    fi
3356
 
else
3357
 
        pkg_failed=untried
3358
 
fi
3359
 
 
3360
 
 
3361
 
 
3362
 
if test $pkg_failed = yes; then
3363
 
        
3364
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3365
 
        _pkg_short_errors_supported=yes
3366
 
else
3367
 
        _pkg_short_errors_supported=no
3368
 
fi
3369
 
        if test $_pkg_short_errors_supported = yes; then
3370
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "iceape-plugin"`
3371
 
        else 
3372
 
                MOZPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin"`
3373
 
        fi
3374
 
        # Put the nasty error message in config.log where it belongs
3375
 
        echo "$MOZPLUG_PKG_ERRORS" >&5
3376
 
 
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;}
3384
 
else
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`
3391
 
 
3392
 
fi
3393
 
        fi
3394
 
 
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; }; }
3399
 
        fi
3400
 
  
3401
 
 
3402
 
fi; 
3403
 
 
3404
 
 
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
3411
 
        fi
3412
 
 
3413
 
fi; 
3414
 
 
3415
 
 
3416
 
 
3417
 
 
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"
3422
 
  use_gtk2=$enableval
3423
 
else
3424
 
  use_gtk2=yes
3425
 
fi; 
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
3430
 
else
3431
 
  use_gtk1=no
3432
 
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
3437
 
else
3438
 
  use_x=no
3439
 
fi; 
3440
 
 
3441
 
if test $use_x = yes; then
3442
 
   use_gtk2=no
3443
 
   use_gtk1=no
3444
 
fi
3445
 
 
3446
 
if test $use_gtk1 = yes; then
3447
 
   use_gtk2=no
3448
 
fi
3449
 
 
3450
 
if test $use_gtk2 = yes; then
3451
 
  
3452
 
pkg_failed=no
3453
 
echo "$as_me:$LINENO: checking for GTK" >&5
3454
 
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
3455
 
 
3456
 
if test -n "$PKG_CONFIG"; then
3457
 
    if test -n "$GTK_CFLAGS"; then
3458
 
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
3459
 
    else
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
3463
 
  ac_status=$?
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`
3467
 
else
3468
 
  pkg_failed=yes
3469
 
fi
3470
 
    fi
3471
 
else
3472
 
        pkg_failed=untried
3473
 
fi
3474
 
if test -n "$PKG_CONFIG"; then
3475
 
    if test -n "$GTK_LIBS"; then
3476
 
        pkg_cv_GTK_LIBS="$GTK_LIBS"
3477
 
    else
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
3481
 
  ac_status=$?
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`
3485
 
else
3486
 
  pkg_failed=yes
3487
 
fi
3488
 
    fi
3489
 
else
3490
 
        pkg_failed=untried
3491
 
fi
3492
 
 
3493
 
 
3494
 
 
3495
 
if test $pkg_failed = yes; then
3496
 
        
3497
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3498
 
        _pkg_short_errors_supported=yes
3499
 
else
3500
 
        _pkg_short_errors_supported=no
3501
 
fi
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"`
3504
 
        else 
3505
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
3506
 
        fi
3507
 
        # Put the nasty error message in config.log where it belongs
3508
 
        echo "$GTK_PKG_ERRORS" >&5
3509
 
 
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;}
3517
 
else
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
3525
 
_ACEOF
3526
 
 
3527
 
fi
3528
 
  
3529
 
pkg_failed=no
3530
 
echo "$as_me:$LINENO: checking for GTK24" >&5
3531
 
echo $ECHO_N "checking for GTK24... $ECHO_C" >&6
3532
 
 
3533
 
if test -n "$PKG_CONFIG"; then
3534
 
    if test -n "$GTK24_CFLAGS"; then
3535
 
        pkg_cv_GTK24_CFLAGS="$GTK24_CFLAGS"
3536
 
    else
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
3540
 
  ac_status=$?
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`
3544
 
else
3545
 
  pkg_failed=yes
3546
 
fi
3547
 
    fi
3548
 
else
3549
 
        pkg_failed=untried
3550
 
fi
3551
 
if test -n "$PKG_CONFIG"; then
3552
 
    if test -n "$GTK24_LIBS"; then
3553
 
        pkg_cv_GTK24_LIBS="$GTK24_LIBS"
3554
 
    else
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
3558
 
  ac_status=$?
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`
3562
 
else
3563
 
  pkg_failed=yes
3564
 
fi
3565
 
    fi
3566
 
else
3567
 
        pkg_failed=untried
3568
 
fi
3569
 
 
3570
 
 
3571
 
 
3572
 
if test $pkg_failed = yes; then
3573
 
        
3574
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3575
 
        _pkg_short_errors_supported=yes
3576
 
else
3577
 
        _pkg_short_errors_supported=no
3578
 
fi
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"`
3581
 
        else 
3582
 
                GTK24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.0"`
3583
 
        fi
3584
 
        # Put the nasty error message in config.log where it belongs
3585
 
        echo "$GTK24_PKG_ERRORS" >&5
3586
 
 
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;}
3594
 
else
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
3602
 
_ACEOF
3603
 
 
3604
 
fi
3605
 
  
3606
 
pkg_failed=no
3607
 
echo "$as_me:$LINENO: checking for GTHREAD" >&5
3608
 
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6
3609
 
 
3610
 
if test -n "$PKG_CONFIG"; then
3611
 
    if test -n "$GTHREAD_CFLAGS"; then
3612
 
        pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
3613
 
    else
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
3617
 
  ac_status=$?
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`
3621
 
else
3622
 
  pkg_failed=yes
3623
 
fi
3624
 
    fi
3625
 
else
3626
 
        pkg_failed=untried
3627
 
fi
3628
 
if test -n "$PKG_CONFIG"; then
3629
 
    if test -n "$GTHREAD_LIBS"; then
3630
 
        pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
3631
 
    else
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
3635
 
  ac_status=$?
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`
3639
 
else
3640
 
  pkg_failed=yes
3641
 
fi
3642
 
    fi
3643
 
else
3644
 
        pkg_failed=untried
3645
 
fi
3646
 
 
3647
 
 
3648
 
 
3649
 
if test $pkg_failed = yes; then
3650
 
        
3651
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3652
 
        _pkg_short_errors_supported=yes
3653
 
else
3654
 
        _pkg_short_errors_supported=no
3655
 
fi
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"`
3658
 
        else 
3659
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
3660
 
        fi
3661
 
        # Put the nasty error message in config.log where it belongs
3662
 
        echo "$GTHREAD_PKG_ERRORS" >&5
3663
 
 
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; }; }
3673
 
else
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
3678
 
        :
3679
 
fi
3680
 
fi
3681
 
if test $use_gtk1 = yes; then
3682
 
  
3683
 
pkg_failed=no
3684
 
echo "$as_me:$LINENO: checking for GTK" >&5
3685
 
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
3686
 
 
3687
 
if test -n "$PKG_CONFIG"; then
3688
 
    if test -n "$GTK_CFLAGS"; then
3689
 
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
3690
 
    else
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
3694
 
  ac_status=$?
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`
3698
 
else
3699
 
  pkg_failed=yes
3700
 
fi
3701
 
    fi
3702
 
else
3703
 
        pkg_failed=untried
3704
 
fi
3705
 
if test -n "$PKG_CONFIG"; then
3706
 
    if test -n "$GTK_LIBS"; then
3707
 
        pkg_cv_GTK_LIBS="$GTK_LIBS"
3708
 
    else
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
3712
 
  ac_status=$?
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`
3716
 
else
3717
 
  pkg_failed=yes
3718
 
fi
3719
 
    fi
3720
 
else
3721
 
        pkg_failed=untried
3722
 
fi
3723
 
 
3724
 
 
3725
 
 
3726
 
if test $pkg_failed = yes; then
3727
 
        
3728
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3729
 
        _pkg_short_errors_supported=yes
3730
 
else
3731
 
        _pkg_short_errors_supported=no
3732
 
fi
3733
 
        if test $_pkg_short_errors_supported = yes; then
3734
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+"`
3735
 
        else 
3736
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+"`
3737
 
        fi
3738
 
        # Put the nasty error message in config.log where it belongs
3739
 
        echo "$GTK_PKG_ERRORS" >&5
3740
 
 
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;}
3748
 
else
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
3756
 
_ACEOF
3757
 
 
3758
 
fi
3759
 
  
3760
 
pkg_failed=no
3761
 
echo "$as_me:$LINENO: checking for GTHREAD" >&5
3762
 
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6
3763
 
 
3764
 
if test -n "$PKG_CONFIG"; then
3765
 
    if test -n "$GTHREAD_CFLAGS"; then
3766
 
        pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
3767
 
    else
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
3771
 
  ac_status=$?
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`
3775
 
else
3776
 
  pkg_failed=yes
3777
 
fi
3778
 
    fi
3779
 
else
3780
 
        pkg_failed=untried
3781
 
fi
3782
 
if test -n "$PKG_CONFIG"; then
3783
 
    if test -n "$GTHREAD_LIBS"; then
3784
 
        pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
3785
 
    else
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
3789
 
  ac_status=$?
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`
3793
 
else
3794
 
  pkg_failed=yes
3795
 
fi
3796
 
    fi
3797
 
else
3798
 
        pkg_failed=untried
3799
 
fi
3800
 
 
3801
 
 
3802
 
 
3803
 
if test $pkg_failed = yes; then
3804
 
        
3805
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3806
 
        _pkg_short_errors_supported=yes
3807
 
else
3808
 
        _pkg_short_errors_supported=no
3809
 
fi
3810
 
        if test $_pkg_short_errors_supported = yes; then
3811
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread"`
3812
 
        else 
3813
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread"`
3814
 
        fi
3815
 
        # Put the nasty error message in config.log where it belongs
3816
 
        echo "$GTHREAD_PKG_ERRORS" >&5
3817
 
 
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; }; }
3827
 
else
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
3832
 
        :
3833
 
fi
3834
 
fi
3835
 
 
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
3840
 
else
3841
 
  wmp=yes
3842
 
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
3847
 
else
3848
 
  qt=yes
3849
 
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
3854
 
else
3855
 
  rm=yes
3856
 
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
3861
 
else
3862
 
  gmp=no
3863
 
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
3868
 
else
3869
 
  dvx=yes
3870
 
fi; 
3871
 
 
3872
 
CREATE="mplayerplug-in"
3873
 
if test x$wmp = xyes; then
3874
 
   CREATE=" $CREATE mplayerplug-in-wmp"
3875
 
fi
3876
 
if test x$qt = xyes; then
3877
 
   CREATE=" $CREATE mplayerplug-in-qt"
3878
 
fi
3879
 
if test x$rm = xyes; then
3880
 
   CREATE=" $CREATE mplayerplug-in-rm"
3881
 
fi
3882
 
if test x$gmp = xyes; then
3883
 
   CREATE=" $CREATE mplayerplug-in-gmp"
3884
 
fi
3885
 
if test x$dvx = xyes; then
3886
 
   CREATE=" $CREATE mplayerplug-in-dvx"
3887
 
fi
3888
 
 
3889
 
 
3890
 
 
3891
 
 
3892
 
   
3893
 
 
3894
 
 
3895
 
 
3896
 
 
3897
 
 
3898
 
 
3899
 
# Checks for header files.
3900
 
 
3901
 
ac_ext=c
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
3910
 
  CPP=
3911
 
fi
3912
 
if test -z "$CPP"; then
3913
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3914
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3915
 
else
3916
 
      # Double quotes because CPP needs to be expanded
3917
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3918
 
    do
3919
 
      ac_preproc_ok=false
3920
 
for ac_c_preproc_warn_flag in '' yes
3921
 
do
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
3929
 
/* confdefs.h.  */
3930
 
_ACEOF
3931
 
cat confdefs.h >>conftest.$ac_ext
3932
 
cat >>conftest.$ac_ext <<_ACEOF
3933
 
/* end confdefs.h.  */
3934
 
@%:@ifdef __STDC__
3935
 
@%:@ include <limits.h>
3936
 
@%:@else
3937
 
@%:@ include <assert.h>
3938
 
@%:@endif
3939
 
                     Syntax error
3940
 
_ACEOF
3941
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3942
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3943
 
  ac_status=$?
3944
 
  grep -v '^ *+' conftest.er1 >conftest.err
3945
 
  rm -f conftest.er1
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
3952
 
  else
3953
 
    ac_cpp_err=
3954
 
  fi
3955
 
else
3956
 
  ac_cpp_err=yes
3957
 
fi
3958
 
if test -z "$ac_cpp_err"; then
3959
 
  :
3960
 
else
3961
 
  echo "$as_me: failed program was:" >&5
3962
 
sed 's/^/| /' conftest.$ac_ext >&5
3963
 
 
3964
 
  # Broken: fails on valid input.
3965
 
continue
3966
 
fi
3967
 
rm -f conftest.err conftest.$ac_ext
3968
 
 
3969
 
  # OK, works on sane cases.  Now check whether non-existent headers
3970
 
  # can be detected and how.
3971
 
  cat >conftest.$ac_ext <<_ACEOF
3972
 
/* confdefs.h.  */
3973
 
_ACEOF
3974
 
cat confdefs.h >>conftest.$ac_ext
3975
 
cat >>conftest.$ac_ext <<_ACEOF
3976
 
/* end confdefs.h.  */
3977
 
@%:@include <ac_nonexistent.h>
3978
 
_ACEOF
3979
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3980
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3981
 
  ac_status=$?
3982
 
  grep -v '^ *+' conftest.er1 >conftest.err
3983
 
  rm -f conftest.er1
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
3990
 
  else
3991
 
    ac_cpp_err=
3992
 
  fi
3993
 
else
3994
 
  ac_cpp_err=yes
3995
 
fi
3996
 
if test -z "$ac_cpp_err"; then
3997
 
  # Broken: success on invalid input.
3998
 
continue
3999
 
else
4000
 
  echo "$as_me: failed program was:" >&5
4001
 
sed 's/^/| /' conftest.$ac_ext >&5
4002
 
 
4003
 
  # Passes both tests.
4004
 
ac_preproc_ok=:
4005
 
break
4006
 
fi
4007
 
rm -f conftest.err conftest.$ac_ext
4008
 
 
4009
 
done
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
4013
 
  break
4014
 
fi
4015
 
 
4016
 
    done
4017
 
    ac_cv_prog_CPP=$CPP
4018
 
  
4019
 
fi
4020
 
  CPP=$ac_cv_prog_CPP
4021
 
else
4022
 
  ac_cv_prog_CPP=$CPP
4023
 
fi
4024
 
echo "$as_me:$LINENO: result: $CPP" >&5
4025
 
echo "${ECHO_T}$CPP" >&6
4026
 
ac_preproc_ok=false
4027
 
for ac_c_preproc_warn_flag in '' yes
4028
 
do
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
4036
 
/* confdefs.h.  */
4037
 
_ACEOF
4038
 
cat confdefs.h >>conftest.$ac_ext
4039
 
cat >>conftest.$ac_ext <<_ACEOF
4040
 
/* end confdefs.h.  */
4041
 
@%:@ifdef __STDC__
4042
 
@%:@ include <limits.h>
4043
 
@%:@else
4044
 
@%:@ include <assert.h>
4045
 
@%:@endif
4046
 
                     Syntax error
4047
 
_ACEOF
4048
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4049
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4050
 
  ac_status=$?
4051
 
  grep -v '^ *+' conftest.er1 >conftest.err
4052
 
  rm -f conftest.er1
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
4059
 
  else
4060
 
    ac_cpp_err=
4061
 
  fi
4062
 
else
4063
 
  ac_cpp_err=yes
4064
 
fi
4065
 
if test -z "$ac_cpp_err"; then
4066
 
  :
4067
 
else
4068
 
  echo "$as_me: failed program was:" >&5
4069
 
sed 's/^/| /' conftest.$ac_ext >&5
4070
 
 
4071
 
  # Broken: fails on valid input.
4072
 
continue
4073
 
fi
4074
 
rm -f conftest.err conftest.$ac_ext
4075
 
 
4076
 
  # OK, works on sane cases.  Now check whether non-existent headers
4077
 
  # can be detected and how.
4078
 
  cat >conftest.$ac_ext <<_ACEOF
4079
 
/* confdefs.h.  */
4080
 
_ACEOF
4081
 
cat confdefs.h >>conftest.$ac_ext
4082
 
cat >>conftest.$ac_ext <<_ACEOF
4083
 
/* end confdefs.h.  */
4084
 
@%:@include <ac_nonexistent.h>
4085
 
_ACEOF
4086
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4087
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4088
 
  ac_status=$?
4089
 
  grep -v '^ *+' conftest.er1 >conftest.err
4090
 
  rm -f conftest.er1
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
4097
 
  else
4098
 
    ac_cpp_err=
4099
 
  fi
4100
 
else
4101
 
  ac_cpp_err=yes
4102
 
fi
4103
 
if test -z "$ac_cpp_err"; then
4104
 
  # Broken: success on invalid input.
4105
 
continue
4106
 
else
4107
 
  echo "$as_me: failed program was:" >&5
4108
 
sed 's/^/| /' conftest.$ac_ext >&5
4109
 
 
4110
 
  # Passes both tests.
4111
 
ac_preproc_ok=:
4112
 
break
4113
 
fi
4114
 
rm -f conftest.err conftest.$ac_ext
4115
 
 
4116
 
done
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
4120
 
  :
4121
 
else
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; }; }
4127
 
fi
4128
 
 
4129
 
ac_ext=c
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
4134
 
 
4135
 
 
4136
 
echo "$as_me:$LINENO: checking for X" >&5
4137
 
echo $ECHO_N "checking for X... $ECHO_C" >&6
4138
 
 
4139
 
 
4140
 
# Check whether --with-x or --without-x was given.
4141
 
if test "${with_x+set}" = set; then
4142
 
  withval="$with_x"
4143
 
  
4144
 
fi; 
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.
4148
 
  have_x=disabled
4149
 
else
4150
 
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
4151
 
    # Both variables are already set.
4152
 
    have_x=yes
4153
 
  else
4154
 
    if test "${ac_cv_have_x+set}" = set; then
4155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4156
 
else
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
4159
 
rm -fr conftest.dir
4160
 
if mkdir conftest.dir; then
4161
 
  cd conftest.dir
4162
 
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
4163
 
  cat >Imakefile <<'_ACEOF'
4164
 
acfindx:
4165
 
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
4166
 
_ACEOF
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
4175
 
      fi
4176
 
    done
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
4181
 
        /usr/include) ;;
4182
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4183
 
    esac
4184
 
    case $ac_im_usrlibdir in
4185
 
        /usr/lib | /lib) ;;
4186
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4187
 
    esac
4188
 
  fi
4189
 
  cd ..
4190
 
  rm -fr conftest.dir
4191
 
fi
4192
 
 
4193
 
# Standard set of common directories for X headers.
4194
 
# Check X11 before X11Rn because it is often a symlink to the current release.
4195
 
ac_x_header_dirs='
4196
 
/usr/X11/include
4197
 
/usr/X11R6/include
4198
 
/usr/X11R5/include
4199
 
/usr/X11R4/include
4200
 
 
4201
 
/usr/include/X11
4202
 
/usr/include/X11R6
4203
 
/usr/include/X11R5
4204
 
/usr/include/X11R4
4205
 
 
4206
 
/usr/local/X11/include
4207
 
/usr/local/X11R6/include
4208
 
/usr/local/X11R5/include
4209
 
/usr/local/X11R4/include
4210
 
 
4211
 
/usr/local/include/X11
4212
 
/usr/local/include/X11R6
4213
 
/usr/local/include/X11R5
4214
 
/usr/local/include/X11R4
4215
 
 
4216
 
/usr/X386/include
4217
 
/usr/x386/include
4218
 
/usr/XFree86/include/X11
4219
 
 
4220
 
/usr/include
4221
 
/usr/local/include
4222
 
/usr/unsupported/include
4223
 
/usr/athena/include
4224
 
/usr/local/x11r5/include
4225
 
/usr/lpp/Xamples/include
4226
 
 
4227
 
/usr/openwin/include
4228
 
/usr/openwin/share/include'
4229
 
 
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
4234
 
/* confdefs.h.  */
4235
 
_ACEOF
4236
 
cat confdefs.h >>conftest.$ac_ext
4237
 
cat >>conftest.$ac_ext <<_ACEOF
4238
 
/* end confdefs.h.  */
4239
 
@%:@include <X11/Xlib.h>
4240
 
_ACEOF
4241
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4242
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4243
 
  ac_status=$?
4244
 
  grep -v '^ *+' conftest.er1 >conftest.err
4245
 
  rm -f conftest.er1
4246
 
  cat conftest.err >&5
4247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248
 
  (exit $ac_status); } >/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
4252
 
  else
4253
 
    ac_cpp_err=
4254
 
  fi
4255
 
else
4256
 
  ac_cpp_err=yes
4257
 
fi
4258
 
if test -z "$ac_cpp_err"; then
4259
 
  # We can compile using X headers with no special include directory.
4260
 
ac_x_includes=
4261
 
else
4262
 
  echo "$as_me: failed program was:" >&5
4263
 
sed 's/^/| /' conftest.$ac_ext >&5
4264
 
 
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
4268
 
    break
4269
 
  fi
4270
 
done
4271
 
fi
4272
 
rm -f conftest.err conftest.$ac_ext
4273
 
fi # $ac_x_includes = no
4274
 
 
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.
4279
 
  ac_save_LIBS=$LIBS
4280
 
  LIBS="-lX11 $LIBS"
4281
 
  cat >conftest.$ac_ext <<_ACEOF
4282
 
/* confdefs.h.  */
4283
 
_ACEOF
4284
 
cat confdefs.h >>conftest.$ac_ext
4285
 
cat >>conftest.$ac_ext <<_ACEOF
4286
 
/* end confdefs.h.  */
4287
 
@%:@include <X11/Xlib.h>
4288
 
int
4289
 
main ()
4290
 
{
4291
 
XrmInitialize ()
4292
 
  ;
4293
 
  return 0;
4294
 
}
4295
 
_ACEOF
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
4299
 
  ac_status=$?
4300
 
  grep -v '^ *+' conftest.er1 >conftest.err
4301
 
  rm -f conftest.er1
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
4308
 
  (eval $ac_try) 2>&5
4309
 
  ac_status=$?
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
4314
 
  (eval $ac_try) 2>&5
4315
 
  ac_status=$?
4316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
 
  (exit $ac_status); }; }; then
4318
 
  LIBS=$ac_save_LIBS
4319
 
# We can link X programs with no special library path.
4320
 
ac_x_libraries=
4321
 
else
4322
 
  echo "$as_me: failed program was:" >&5
4323
 
sed 's/^/| /' conftest.$ac_ext >&5
4324
 
 
4325
 
LIBS=$ac_save_LIBS
4326
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4327
 
do
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
4332
 
      break 2
4333
 
    fi
4334
 
  done
4335
 
done
4336
 
fi
4337
 
rm -f conftest.err conftest.$ac_objext \
4338
 
      conftest$ac_exeext conftest.$ac_ext
4339
 
fi # $ac_x_libraries = no
4340
 
 
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"
4344
 
else
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"
4348
 
fi
4349
 
fi
4350
 
 
4351
 
  fi
4352
 
  eval "$ac_cv_have_x"
4353
 
fi # $with_x != no
4354
 
 
4355
 
if test "$have_x" != yes; then
4356
 
  echo "$as_me:$LINENO: result: $have_x" >&5
4357
 
echo "${ECHO_T}$have_x" >&6
4358
 
  no_x=yes
4359
 
else
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
4368
 
fi
4369
 
 
4370
 
if test "$no_x" = yes; then
4371
 
  # Not all programs may use this symbol, but it does not hurt to define it.
4372
 
  
4373
 
cat >>confdefs.h <<\_ACEOF
4374
 
@%:@define X_DISPLAY_MISSING 1
4375
 
_ACEOF
4376
 
 
4377
 
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4378
 
else
4379
 
  if test -n "$x_includes"; then
4380
 
    X_CFLAGS="$X_CFLAGS -I$x_includes"
4381
 
  fi
4382
 
 
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
4389
 
    "SunOS 5"*)
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
4394
 
/* confdefs.h.  */
4395
 
_ACEOF
4396
 
cat confdefs.h >>conftest.$ac_ext
4397
 
cat >>conftest.$ac_ext <<_ACEOF
4398
 
/* end confdefs.h.  */
4399
 
 
4400
 
int
4401
 
main ()
4402
 
{
4403
 
 
4404
 
  ;
4405
 
  return 0;
4406
 
}
4407
 
_ACEOF
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
4411
 
  ac_status=$?
4412
 
  grep -v '^ *+' conftest.er1 >conftest.err
4413
 
  rm -f conftest.er1
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
4420
 
  (eval $ac_try) 2>&5
4421
 
  ac_status=$?
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
4426
 
  (eval $ac_try) 2>&5
4427
 
  ac_status=$?
4428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429
 
  (exit $ac_status); }; }; then
4430
 
  ac_R_nospace=yes
4431
 
else
4432
 
  echo "$as_me: failed program was:" >&5
4433
 
sed 's/^/| /' conftest.$ac_ext >&5
4434
 
 
4435
 
ac_R_nospace=no
4436
 
fi
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"
4443
 
      else
4444
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
4445
 
        cat >conftest.$ac_ext <<_ACEOF
4446
 
/* confdefs.h.  */
4447
 
_ACEOF
4448
 
cat confdefs.h >>conftest.$ac_ext
4449
 
cat >>conftest.$ac_ext <<_ACEOF
4450
 
/* end confdefs.h.  */
4451
 
 
4452
 
int
4453
 
main ()
4454
 
{
4455
 
 
4456
 
  ;
4457
 
  return 0;
4458
 
}
4459
 
_ACEOF
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
4463
 
  ac_status=$?
4464
 
  grep -v '^ *+' conftest.er1 >conftest.err
4465
 
  rm -f conftest.er1
4466
 
  cat conftest.err >&5
4467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
 
  (exit $ac_status); } &&
4469
 
         { ac_try='test -z "$ac_c_werror_flag"
4470
 
                         || test ! -s conftest.err'
4471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472
 
  (eval $ac_try) 2>&5
4473
 
  ac_status=$?
4474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475
 
  (exit $ac_status); }; } &&
4476
 
         { ac_try='test -s conftest$ac_exeext'
4477
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478
 
  (eval $ac_try) 2>&5
4479
 
  ac_status=$?
4480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481
 
  (exit $ac_status); }; }; then
4482
 
  ac_R_space=yes
4483
 
else
4484
 
  echo "$as_me: failed program was:" >&5
4485
 
sed 's/^/| /' conftest.$ac_ext >&5
4486
 
 
4487
 
ac_R_space=no
4488
 
fi
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"
4495
 
        else
4496
 
          echo "$as_me:$LINENO: result: neither works" >&5
4497
 
echo "${ECHO_T}neither works" >&6
4498
 
        fi
4499
 
      fi
4500
 
      LIBS=$ac_xsave_LIBS
4501
 
    esac
4502
 
  fi
4503
 
 
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.
4507
 
 
4508
 
  if test "$ISC" = yes; then
4509
 
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4510
 
  else
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
4516
 
/* confdefs.h.  */
4517
 
_ACEOF
4518
 
cat confdefs.h >>conftest.$ac_ext
4519
 
cat >>conftest.$ac_ext <<_ACEOF
4520
 
/* end confdefs.h.  */
4521
 
 
4522
 
/* Override any gcc2 internal prototype to avoid an error.  */
4523
 
#ifdef __cplusplus
4524
 
extern "C"
4525
 
#endif
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 ();
4529
 
int
4530
 
main ()
4531
 
{
4532
 
XOpenDisplay ();
4533
 
  ;
4534
 
  return 0;
4535
 
}
4536
 
_ACEOF
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
4540
 
  ac_status=$?
4541
 
  grep -v '^ *+' conftest.er1 >conftest.err
4542
 
  rm -f conftest.er1
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
4549
 
  (eval $ac_try) 2>&5
4550
 
  ac_status=$?
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
4555
 
  (eval $ac_try) 2>&5
4556
 
  ac_status=$?
4557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558
 
  (exit $ac_status); }; }; then
4559
 
  :
4560
 
else
4561
 
  echo "$as_me: failed program was:" >&5
4562
 
sed 's/^/| /' conftest.$ac_ext >&5
4563
 
 
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
4568
 
else
4569
 
  ac_check_lib_save_LIBS=$LIBS
4570
 
LIBS="-ldnet  $LIBS"
4571
 
cat >conftest.$ac_ext <<_ACEOF
4572
 
/* confdefs.h.  */
4573
 
_ACEOF
4574
 
cat confdefs.h >>conftest.$ac_ext
4575
 
cat >>conftest.$ac_ext <<_ACEOF
4576
 
/* end confdefs.h.  */
4577
 
 
4578
 
/* Override any gcc2 internal prototype to avoid an error.  */
4579
 
#ifdef __cplusplus
4580
 
extern "C"
4581
 
#endif
4582
 
/* We use char because int might match the return type of a gcc2
4583
 
   builtin and then its argument prototype would still apply.  */
4584
 
char dnet_ntoa ();
4585
 
int
4586
 
main ()
4587
 
{
4588
 
dnet_ntoa ();
4589
 
  ;
4590
 
  return 0;
4591
 
}
4592
 
_ACEOF
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
4596
 
  ac_status=$?
4597
 
  grep -v '^ *+' conftest.er1 >conftest.err
4598
 
  rm -f conftest.er1
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
4605
 
  (eval $ac_try) 2>&5
4606
 
  ac_status=$?
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
4611
 
  (eval $ac_try) 2>&5
4612
 
  ac_status=$?
4613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
 
  (exit $ac_status); }; }; then
4615
 
  ac_cv_lib_dnet_dnet_ntoa=yes
4616
 
else
4617
 
  echo "$as_me: failed program was:" >&5
4618
 
sed 's/^/| /' conftest.$ac_ext >&5
4619
 
 
4620
 
ac_cv_lib_dnet_dnet_ntoa=no
4621
 
fi
4622
 
rm -f conftest.err conftest.$ac_objext \
4623
 
      conftest$ac_exeext conftest.$ac_ext
4624
 
LIBS=$ac_check_lib_save_LIBS
4625
 
fi
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"
4630
 
fi
4631
 
 
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
4637
 
else
4638
 
  ac_check_lib_save_LIBS=$LIBS
4639
 
LIBS="-ldnet_stub  $LIBS"
4640
 
cat >conftest.$ac_ext <<_ACEOF
4641
 
/* confdefs.h.  */
4642
 
_ACEOF
4643
 
cat confdefs.h >>conftest.$ac_ext
4644
 
cat >>conftest.$ac_ext <<_ACEOF
4645
 
/* end confdefs.h.  */
4646
 
 
4647
 
/* Override any gcc2 internal prototype to avoid an error.  */
4648
 
#ifdef __cplusplus
4649
 
extern "C"
4650
 
#endif
4651
 
/* We use char because int might match the return type of a gcc2
4652
 
   builtin and then its argument prototype would still apply.  */
4653
 
char dnet_ntoa ();
4654
 
int
4655
 
main ()
4656
 
{
4657
 
dnet_ntoa ();
4658
 
  ;
4659
 
  return 0;
4660
 
}
4661
 
_ACEOF
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
4665
 
  ac_status=$?
4666
 
  grep -v '^ *+' conftest.er1 >conftest.err
4667
 
  rm -f conftest.er1
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
4674
 
  (eval $ac_try) 2>&5
4675
 
  ac_status=$?
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
4680
 
  (eval $ac_try) 2>&5
4681
 
  ac_status=$?
4682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
 
  (exit $ac_status); }; }; then
4684
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
4685
 
else
4686
 
  echo "$as_me: failed program was:" >&5
4687
 
sed 's/^/| /' conftest.$ac_ext >&5
4688
 
 
4689
 
ac_cv_lib_dnet_stub_dnet_ntoa=no
4690
 
fi
4691
 
rm -f conftest.err conftest.$ac_objext \
4692
 
      conftest$ac_exeext conftest.$ac_ext
4693
 
LIBS=$ac_check_lib_save_LIBS
4694
 
fi
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"
4699
 
fi
4700
 
 
4701
 
    fi
4702
 
fi
4703
 
rm -f conftest.err conftest.$ac_objext \
4704
 
      conftest$ac_exeext conftest.$ac_ext
4705
 
    LIBS="$ac_xsave_LIBS"
4706
 
 
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)
4710
 
    # needs -lnsl.
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
4719
 
else
4720
 
  cat >conftest.$ac_ext <<_ACEOF
4721
 
/* confdefs.h.  */
4722
 
_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
4729
 
 
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.  */
4734
 
 
4735
 
#ifdef __STDC__
4736
 
# include <limits.h>
4737
 
#else
4738
 
# include <assert.h>
4739
 
#endif
4740
 
 
4741
 
#undef gethostbyname
4742
 
 
4743
 
/* Override any gcc2 internal prototype to avoid an error.  */
4744
 
#ifdef __cplusplus
4745
 
extern "C"
4746
 
{
4747
 
#endif
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)
4755
 
choke me
4756
 
#else
4757
 
char (*f) () = gethostbyname;
4758
 
#endif
4759
 
#ifdef __cplusplus
4760
 
}
4761
 
#endif
4762
 
 
4763
 
int
4764
 
main ()
4765
 
{
4766
 
return f != gethostbyname;
4767
 
  ;
4768
 
  return 0;
4769
 
}
4770
 
_ACEOF
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
4774
 
  ac_status=$?
4775
 
  grep -v '^ *+' conftest.er1 >conftest.err
4776
 
  rm -f conftest.er1
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
4783
 
  (eval $ac_try) 2>&5
4784
 
  ac_status=$?
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
4789
 
  (eval $ac_try) 2>&5
4790
 
  ac_status=$?
4791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792
 
  (exit $ac_status); }; }; then
4793
 
  ac_cv_func_gethostbyname=yes
4794
 
else
4795
 
  echo "$as_me: failed program was:" >&5
4796
 
sed 's/^/| /' conftest.$ac_ext >&5
4797
 
 
4798
 
ac_cv_func_gethostbyname=no
4799
 
fi
4800
 
rm -f conftest.err conftest.$ac_objext \
4801
 
      conftest$ac_exeext conftest.$ac_ext
4802
 
fi
4803
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4804
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
4805
 
 
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
4811
 
else
4812
 
  ac_check_lib_save_LIBS=$LIBS
4813
 
LIBS="-lnsl  $LIBS"
4814
 
cat >conftest.$ac_ext <<_ACEOF
4815
 
/* confdefs.h.  */
4816
 
_ACEOF
4817
 
cat confdefs.h >>conftest.$ac_ext
4818
 
cat >>conftest.$ac_ext <<_ACEOF
4819
 
/* end confdefs.h.  */
4820
 
 
4821
 
/* Override any gcc2 internal prototype to avoid an error.  */
4822
 
#ifdef __cplusplus
4823
 
extern "C"
4824
 
#endif
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 ();
4828
 
int
4829
 
main ()
4830
 
{
4831
 
gethostbyname ();
4832
 
  ;
4833
 
  return 0;
4834
 
}
4835
 
_ACEOF
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
4839
 
  ac_status=$?
4840
 
  grep -v '^ *+' conftest.er1 >conftest.err
4841
 
  rm -f conftest.er1
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
4848
 
  (eval $ac_try) 2>&5
4849
 
  ac_status=$?
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
4854
 
  (eval $ac_try) 2>&5
4855
 
  ac_status=$?
4856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857
 
  (exit $ac_status); }; }; then
4858
 
  ac_cv_lib_nsl_gethostbyname=yes
4859
 
else
4860
 
  echo "$as_me: failed program was:" >&5
4861
 
sed 's/^/| /' conftest.$ac_ext >&5
4862
 
 
4863
 
ac_cv_lib_nsl_gethostbyname=no
4864
 
fi
4865
 
rm -f conftest.err conftest.$ac_objext \
4866
 
      conftest$ac_exeext conftest.$ac_ext
4867
 
LIBS=$ac_check_lib_save_LIBS
4868
 
fi
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"
4873
 
fi
4874
 
 
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
4880
 
else
4881
 
  ac_check_lib_save_LIBS=$LIBS
4882
 
LIBS="-lbsd  $LIBS"
4883
 
cat >conftest.$ac_ext <<_ACEOF
4884
 
/* confdefs.h.  */
4885
 
_ACEOF
4886
 
cat confdefs.h >>conftest.$ac_ext
4887
 
cat >>conftest.$ac_ext <<_ACEOF
4888
 
/* end confdefs.h.  */
4889
 
 
4890
 
/* Override any gcc2 internal prototype to avoid an error.  */
4891
 
#ifdef __cplusplus
4892
 
extern "C"
4893
 
#endif
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 ();
4897
 
int
4898
 
main ()
4899
 
{
4900
 
gethostbyname ();
4901
 
  ;
4902
 
  return 0;
4903
 
}
4904
 
_ACEOF
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
4908
 
  ac_status=$?
4909
 
  grep -v '^ *+' conftest.er1 >conftest.err
4910
 
  rm -f conftest.er1
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
4917
 
  (eval $ac_try) 2>&5
4918
 
  ac_status=$?
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
4923
 
  (eval $ac_try) 2>&5
4924
 
  ac_status=$?
4925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
 
  (exit $ac_status); }; }; then
4927
 
  ac_cv_lib_bsd_gethostbyname=yes
4928
 
else
4929
 
  echo "$as_me: failed program was:" >&5
4930
 
sed 's/^/| /' conftest.$ac_ext >&5
4931
 
 
4932
 
ac_cv_lib_bsd_gethostbyname=no
4933
 
fi
4934
 
rm -f conftest.err conftest.$ac_objext \
4935
 
      conftest$ac_exeext conftest.$ac_ext
4936
 
LIBS=$ac_check_lib_save_LIBS
4937
 
fi
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"
4942
 
fi
4943
 
 
4944
 
      fi
4945
 
    fi
4946
 
 
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
4958
 
else
4959
 
  cat >conftest.$ac_ext <<_ACEOF
4960
 
/* confdefs.h.  */
4961
 
_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
4968
 
 
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.  */
4973
 
 
4974
 
#ifdef __STDC__
4975
 
# include <limits.h>
4976
 
#else
4977
 
# include <assert.h>
4978
 
#endif
4979
 
 
4980
 
#undef connect
4981
 
 
4982
 
/* Override any gcc2 internal prototype to avoid an error.  */
4983
 
#ifdef __cplusplus
4984
 
extern "C"
4985
 
{
4986
 
#endif
4987
 
/* We use char because int might match the return type of a gcc2
4988
 
   builtin and then its argument prototype would still apply.  */
4989
 
char connect ();
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)
4994
 
choke me
4995
 
#else
4996
 
char (*f) () = connect;
4997
 
#endif
4998
 
#ifdef __cplusplus
4999
 
}
5000
 
#endif
5001
 
 
5002
 
int
5003
 
main ()
5004
 
{
5005
 
return f != connect;
5006
 
  ;
5007
 
  return 0;
5008
 
}
5009
 
_ACEOF
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
5013
 
  ac_status=$?
5014
 
  grep -v '^ *+' conftest.er1 >conftest.err
5015
 
  rm -f conftest.er1
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
5022
 
  (eval $ac_try) 2>&5
5023
 
  ac_status=$?
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
5028
 
  (eval $ac_try) 2>&5
5029
 
  ac_status=$?
5030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031
 
  (exit $ac_status); }; }; then
5032
 
  ac_cv_func_connect=yes
5033
 
else
5034
 
  echo "$as_me: failed program was:" >&5
5035
 
sed 's/^/| /' conftest.$ac_ext >&5
5036
 
 
5037
 
ac_cv_func_connect=no
5038
 
fi
5039
 
rm -f conftest.err conftest.$ac_objext \
5040
 
      conftest$ac_exeext conftest.$ac_ext
5041
 
fi
5042
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5043
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
5044
 
 
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
5050
 
else
5051
 
  ac_check_lib_save_LIBS=$LIBS
5052
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5053
 
cat >conftest.$ac_ext <<_ACEOF
5054
 
/* confdefs.h.  */
5055
 
_ACEOF
5056
 
cat confdefs.h >>conftest.$ac_ext
5057
 
cat >>conftest.$ac_ext <<_ACEOF
5058
 
/* end confdefs.h.  */
5059
 
 
5060
 
/* Override any gcc2 internal prototype to avoid an error.  */
5061
 
#ifdef __cplusplus
5062
 
extern "C"
5063
 
#endif
5064
 
/* We use char because int might match the return type of a gcc2
5065
 
   builtin and then its argument prototype would still apply.  */
5066
 
char connect ();
5067
 
int
5068
 
main ()
5069
 
{
5070
 
connect ();
5071
 
  ;
5072
 
  return 0;
5073
 
}
5074
 
_ACEOF
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
5078
 
  ac_status=$?
5079
 
  grep -v '^ *+' conftest.er1 >conftest.err
5080
 
  rm -f conftest.er1
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
5087
 
  (eval $ac_try) 2>&5
5088
 
  ac_status=$?
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
5093
 
  (eval $ac_try) 2>&5
5094
 
  ac_status=$?
5095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
 
  (exit $ac_status); }; }; then
5097
 
  ac_cv_lib_socket_connect=yes
5098
 
else
5099
 
  echo "$as_me: failed program was:" >&5
5100
 
sed 's/^/| /' conftest.$ac_ext >&5
5101
 
 
5102
 
ac_cv_lib_socket_connect=no
5103
 
fi
5104
 
rm -f conftest.err conftest.$ac_objext \
5105
 
      conftest$ac_exeext conftest.$ac_ext
5106
 
LIBS=$ac_check_lib_save_LIBS
5107
 
fi
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"
5112
 
fi
5113
 
 
5114
 
    fi
5115
 
 
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
5121
 
else
5122
 
  cat >conftest.$ac_ext <<_ACEOF
5123
 
/* confdefs.h.  */
5124
 
_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
5131
 
 
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.  */
5136
 
 
5137
 
#ifdef __STDC__
5138
 
# include <limits.h>
5139
 
#else
5140
 
# include <assert.h>
5141
 
#endif
5142
 
 
5143
 
#undef remove
5144
 
 
5145
 
/* Override any gcc2 internal prototype to avoid an error.  */
5146
 
#ifdef __cplusplus
5147
 
extern "C"
5148
 
{
5149
 
#endif
5150
 
/* We use char because int might match the return type of a gcc2
5151
 
   builtin and then its argument prototype would still apply.  */
5152
 
char remove ();
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)
5157
 
choke me
5158
 
#else
5159
 
char (*f) () = remove;
5160
 
#endif
5161
 
#ifdef __cplusplus
5162
 
}
5163
 
#endif
5164
 
 
5165
 
int
5166
 
main ()
5167
 
{
5168
 
return f != remove;
5169
 
  ;
5170
 
  return 0;
5171
 
}
5172
 
_ACEOF
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
5176
 
  ac_status=$?
5177
 
  grep -v '^ *+' conftest.er1 >conftest.err
5178
 
  rm -f conftest.er1
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
5185
 
  (eval $ac_try) 2>&5
5186
 
  ac_status=$?
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
5191
 
  (eval $ac_try) 2>&5
5192
 
  ac_status=$?
5193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
 
  (exit $ac_status); }; }; then
5195
 
  ac_cv_func_remove=yes
5196
 
else
5197
 
  echo "$as_me: failed program was:" >&5
5198
 
sed 's/^/| /' conftest.$ac_ext >&5
5199
 
 
5200
 
ac_cv_func_remove=no
5201
 
fi
5202
 
rm -f conftest.err conftest.$ac_objext \
5203
 
      conftest$ac_exeext conftest.$ac_ext
5204
 
fi
5205
 
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5206
 
echo "${ECHO_T}$ac_cv_func_remove" >&6
5207
 
 
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
5213
 
else
5214
 
  ac_check_lib_save_LIBS=$LIBS
5215
 
LIBS="-lposix  $LIBS"
5216
 
cat >conftest.$ac_ext <<_ACEOF
5217
 
/* confdefs.h.  */
5218
 
_ACEOF
5219
 
cat confdefs.h >>conftest.$ac_ext
5220
 
cat >>conftest.$ac_ext <<_ACEOF
5221
 
/* end confdefs.h.  */
5222
 
 
5223
 
/* Override any gcc2 internal prototype to avoid an error.  */
5224
 
#ifdef __cplusplus
5225
 
extern "C"
5226
 
#endif
5227
 
/* We use char because int might match the return type of a gcc2
5228
 
   builtin and then its argument prototype would still apply.  */
5229
 
char remove ();
5230
 
int
5231
 
main ()
5232
 
{
5233
 
remove ();
5234
 
  ;
5235
 
  return 0;
5236
 
}
5237
 
_ACEOF
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
5241
 
  ac_status=$?
5242
 
  grep -v '^ *+' conftest.er1 >conftest.err
5243
 
  rm -f conftest.er1
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
5250
 
  (eval $ac_try) 2>&5
5251
 
  ac_status=$?
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
5256
 
  (eval $ac_try) 2>&5
5257
 
  ac_status=$?
5258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259
 
  (exit $ac_status); }; }; then
5260
 
  ac_cv_lib_posix_remove=yes
5261
 
else
5262
 
  echo "$as_me: failed program was:" >&5
5263
 
sed 's/^/| /' conftest.$ac_ext >&5
5264
 
 
5265
 
ac_cv_lib_posix_remove=no
5266
 
fi
5267
 
rm -f conftest.err conftest.$ac_objext \
5268
 
      conftest$ac_exeext conftest.$ac_ext
5269
 
LIBS=$ac_check_lib_save_LIBS
5270
 
fi
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"
5275
 
fi
5276
 
 
5277
 
    fi
5278
 
 
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
5284
 
else
5285
 
  cat >conftest.$ac_ext <<_ACEOF
5286
 
/* confdefs.h.  */
5287
 
_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
5294
 
 
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.  */
5299
 
 
5300
 
#ifdef __STDC__
5301
 
# include <limits.h>
5302
 
#else
5303
 
# include <assert.h>
5304
 
#endif
5305
 
 
5306
 
#undef shmat
5307
 
 
5308
 
/* Override any gcc2 internal prototype to avoid an error.  */
5309
 
#ifdef __cplusplus
5310
 
extern "C"
5311
 
{
5312
 
#endif
5313
 
/* We use char because int might match the return type of a gcc2
5314
 
   builtin and then its argument prototype would still apply.  */
5315
 
char shmat ();
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)
5320
 
choke me
5321
 
#else
5322
 
char (*f) () = shmat;
5323
 
#endif
5324
 
#ifdef __cplusplus
5325
 
}
5326
 
#endif
5327
 
 
5328
 
int
5329
 
main ()
5330
 
{
5331
 
return f != shmat;
5332
 
  ;
5333
 
  return 0;
5334
 
}
5335
 
_ACEOF
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
5339
 
  ac_status=$?
5340
 
  grep -v '^ *+' conftest.er1 >conftest.err
5341
 
  rm -f conftest.er1
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
5348
 
  (eval $ac_try) 2>&5
5349
 
  ac_status=$?
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
5354
 
  (eval $ac_try) 2>&5
5355
 
  ac_status=$?
5356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357
 
  (exit $ac_status); }; }; then
5358
 
  ac_cv_func_shmat=yes
5359
 
else
5360
 
  echo "$as_me: failed program was:" >&5
5361
 
sed 's/^/| /' conftest.$ac_ext >&5
5362
 
 
5363
 
ac_cv_func_shmat=no
5364
 
fi
5365
 
rm -f conftest.err conftest.$ac_objext \
5366
 
      conftest$ac_exeext conftest.$ac_ext
5367
 
fi
5368
 
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5369
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6
5370
 
 
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
5376
 
else
5377
 
  ac_check_lib_save_LIBS=$LIBS
5378
 
LIBS="-lipc  $LIBS"
5379
 
cat >conftest.$ac_ext <<_ACEOF
5380
 
/* confdefs.h.  */
5381
 
_ACEOF
5382
 
cat confdefs.h >>conftest.$ac_ext
5383
 
cat >>conftest.$ac_ext <<_ACEOF
5384
 
/* end confdefs.h.  */
5385
 
 
5386
 
/* Override any gcc2 internal prototype to avoid an error.  */
5387
 
#ifdef __cplusplus
5388
 
extern "C"
5389
 
#endif
5390
 
/* We use char because int might match the return type of a gcc2
5391
 
   builtin and then its argument prototype would still apply.  */
5392
 
char shmat ();
5393
 
int
5394
 
main ()
5395
 
{
5396
 
shmat ();
5397
 
  ;
5398
 
  return 0;
5399
 
}
5400
 
_ACEOF
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
5404
 
  ac_status=$?
5405
 
  grep -v '^ *+' conftest.er1 >conftest.err
5406
 
  rm -f conftest.er1
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
5413
 
  (eval $ac_try) 2>&5
5414
 
  ac_status=$?
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
5419
 
  (eval $ac_try) 2>&5
5420
 
  ac_status=$?
5421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422
 
  (exit $ac_status); }; }; then
5423
 
  ac_cv_lib_ipc_shmat=yes
5424
 
else
5425
 
  echo "$as_me: failed program was:" >&5
5426
 
sed 's/^/| /' conftest.$ac_ext >&5
5427
 
 
5428
 
ac_cv_lib_ipc_shmat=no
5429
 
fi
5430
 
rm -f conftest.err conftest.$ac_objext \
5431
 
      conftest$ac_exeext conftest.$ac_ext
5432
 
LIBS=$ac_check_lib_save_LIBS
5433
 
fi
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"
5438
 
fi
5439
 
 
5440
 
    fi
5441
 
  fi
5442
 
 
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
5456
 
else
5457
 
  ac_check_lib_save_LIBS=$LIBS
5458
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5459
 
cat >conftest.$ac_ext <<_ACEOF
5460
 
/* confdefs.h.  */
5461
 
_ACEOF
5462
 
cat confdefs.h >>conftest.$ac_ext
5463
 
cat >>conftest.$ac_ext <<_ACEOF
5464
 
/* end confdefs.h.  */
5465
 
 
5466
 
/* Override any gcc2 internal prototype to avoid an error.  */
5467
 
#ifdef __cplusplus
5468
 
extern "C"
5469
 
#endif
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 ();
5473
 
int
5474
 
main ()
5475
 
{
5476
 
IceConnectionNumber ();
5477
 
  ;
5478
 
  return 0;
5479
 
}
5480
 
_ACEOF
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
5484
 
  ac_status=$?
5485
 
  grep -v '^ *+' conftest.er1 >conftest.err
5486
 
  rm -f conftest.er1
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
5493
 
  (eval $ac_try) 2>&5
5494
 
  ac_status=$?
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
5499
 
  (eval $ac_try) 2>&5
5500
 
  ac_status=$?
5501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
 
  (exit $ac_status); }; }; then
5503
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
5504
 
else
5505
 
  echo "$as_me: failed program was:" >&5
5506
 
sed 's/^/| /' conftest.$ac_ext >&5
5507
 
 
5508
 
ac_cv_lib_ICE_IceConnectionNumber=no
5509
 
fi
5510
 
rm -f conftest.err conftest.$ac_objext \
5511
 
      conftest$ac_exeext conftest.$ac_ext
5512
 
LIBS=$ac_check_lib_save_LIBS
5513
 
fi
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"
5518
 
fi
5519
 
 
5520
 
  LDFLAGS=$ac_save_LDFLAGS
5521
 
 
5522
 
fi
5523
 
 
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
5533
 
else
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'
5537
 
    fi
5538
 
fi
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
5542
 
 
5543
 
 
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
5548
 
else
5549
 
  cat >conftest.$ac_ext <<_ACEOF
5550
 
/* confdefs.h.  */
5551
 
_ACEOF
5552
 
cat confdefs.h >>conftest.$ac_ext
5553
 
cat >>conftest.$ac_ext <<_ACEOF
5554
 
/* end confdefs.h.  */
5555
 
#include <stdlib.h>
5556
 
#include <stdarg.h>
5557
 
#include <string.h>
5558
 
#include <float.h>
5559
 
 
5560
 
int
5561
 
main ()
5562
 
{
5563
 
 
5564
 
  ;
5565
 
  return 0;
5566
 
}
5567
 
_ACEOF
5568
 
rm -f conftest.$ac_objext
5569
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5570
 
  (eval $ac_compile) 2>conftest.er1
5571
 
  ac_status=$?
5572
 
  grep -v '^ *+' conftest.er1 >conftest.err
5573
 
  rm -f conftest.er1
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
5580
 
  (eval $ac_try) 2>&5
5581
 
  ac_status=$?
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
5586
 
  (eval $ac_try) 2>&5
5587
 
  ac_status=$?
5588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589
 
  (exit $ac_status); }; }; then
5590
 
  ac_cv_header_stdc=yes
5591
 
else
5592
 
  echo "$as_me: failed program was:" >&5
5593
 
sed 's/^/| /' conftest.$ac_ext >&5
5594
 
 
5595
 
ac_cv_header_stdc=no
5596
 
fi
5597
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5598
 
 
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
5602
 
/* confdefs.h.  */
5603
 
_ACEOF
5604
 
cat confdefs.h >>conftest.$ac_ext
5605
 
cat >>conftest.$ac_ext <<_ACEOF
5606
 
/* end confdefs.h.  */
5607
 
#include <string.h>
5608
 
 
5609
 
_ACEOF
5610
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5611
 
  $EGREP "memchr" >/dev/null 2>&1; then
5612
 
  :
5613
 
else
5614
 
  ac_cv_header_stdc=no
5615
 
fi
5616
 
rm -f conftest*
5617
 
 
5618
 
fi
5619
 
 
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
5623
 
/* confdefs.h.  */
5624
 
_ACEOF
5625
 
cat confdefs.h >>conftest.$ac_ext
5626
 
cat >>conftest.$ac_ext <<_ACEOF
5627
 
/* end confdefs.h.  */
5628
 
#include <stdlib.h>
5629
 
 
5630
 
_ACEOF
5631
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5632
 
  $EGREP "free" >/dev/null 2>&1; then
5633
 
  :
5634
 
else
5635
 
  ac_cv_header_stdc=no
5636
 
fi
5637
 
rm -f conftest*
5638
 
 
5639
 
fi
5640
 
 
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
5644
 
  :
5645
 
else
5646
 
  cat >conftest.$ac_ext <<_ACEOF
5647
 
/* confdefs.h.  */
5648
 
_ACEOF
5649
 
cat confdefs.h >>conftest.$ac_ext
5650
 
cat >>conftest.$ac_ext <<_ACEOF
5651
 
/* end confdefs.h.  */
5652
 
#include <ctype.h>
5653
 
#if ((' ' & 0x0FF) == 0x020)
5654
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5655
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5656
 
#else
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))
5662
 
#endif
5663
 
 
5664
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5665
 
int
5666
 
main ()
5667
 
{
5668
 
  int i;
5669
 
  for (i = 0; i < 256; i++)
5670
 
    if (XOR (islower (i), ISLOWER (i))
5671
 
        || toupper (i) != TOUPPER (i))
5672
 
      exit(2);
5673
 
  exit (0);
5674
 
}
5675
 
_ACEOF
5676
 
rm -f conftest$ac_exeext
5677
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678
 
  (eval $ac_link) 2>&5
5679
 
  ac_status=$?
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
5683
 
  (eval $ac_try) 2>&5
5684
 
  ac_status=$?
5685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686
 
  (exit $ac_status); }; }; then
5687
 
  :
5688
 
else
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
5692
 
 
5693
 
( exit $ac_status )
5694
 
ac_cv_header_stdc=no
5695
 
fi
5696
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5697
 
fi
5698
 
fi
5699
 
fi
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
5703
 
  
5704
 
cat >>confdefs.h <<\_ACEOF
5705
 
@%:@define STDC_HEADERS 1
5706
 
_ACEOF
5707
 
 
5708
 
fi
5709
 
 
5710
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5711
 
 
5712
 
 
5713
 
 
5714
 
 
5715
 
 
5716
 
 
5717
 
 
5718
 
 
5719
 
 
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
5722
 
do
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
5728
 
else
5729
 
  cat >conftest.$ac_ext <<_ACEOF
5730
 
/* confdefs.h.  */
5731
 
_ACEOF
5732
 
cat confdefs.h >>conftest.$ac_ext
5733
 
cat >>conftest.$ac_ext <<_ACEOF
5734
 
/* end confdefs.h.  */
5735
 
$ac_includes_default
5736
 
 
5737
 
@%:@include <$ac_header>
5738
 
_ACEOF
5739
 
rm -f conftest.$ac_objext
5740
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741
 
  (eval $ac_compile) 2>conftest.er1
5742
 
  ac_status=$?
5743
 
  grep -v '^ *+' conftest.er1 >conftest.err
5744
 
  rm -f conftest.er1
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
5751
 
  (eval $ac_try) 2>&5
5752
 
  ac_status=$?
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
5757
 
  (eval $ac_try) 2>&5
5758
 
  ac_status=$?
5759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760
 
  (exit $ac_status); }; }; then
5761
 
  eval "$as_ac_Header=yes"
5762
 
else
5763
 
  echo "$as_me: failed program was:" >&5
5764
 
sed 's/^/| /' conftest.$ac_ext >&5
5765
 
 
5766
 
eval "$as_ac_Header=no"
5767
 
fi
5768
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5769
 
fi
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
5775
 
_ACEOF
5776
 
 
5777
 
fi
5778
 
 
5779
 
done
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
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
5791
 
do
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
5798
 
fi
5799
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5800
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5801
 
else
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
5806
 
/* confdefs.h.  */
5807
 
_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>
5813
 
_ACEOF
5814
 
rm -f conftest.$ac_objext
5815
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5816
 
  (eval $ac_compile) 2>conftest.er1
5817
 
  ac_status=$?
5818
 
  grep -v '^ *+' conftest.er1 >conftest.err
5819
 
  rm -f conftest.er1
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
5826
 
  (eval $ac_try) 2>&5
5827
 
  ac_status=$?
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
5832
 
  (eval $ac_try) 2>&5
5833
 
  ac_status=$?
5834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835
 
  (exit $ac_status); }; }; then
5836
 
  ac_header_compiler=yes
5837
 
else
5838
 
  echo "$as_me: failed program was:" >&5
5839
 
sed 's/^/| /' conftest.$ac_ext >&5
5840
 
 
5841
 
ac_header_compiler=no
5842
 
fi
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
5846
 
 
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
5851
 
/* confdefs.h.  */
5852
 
_ACEOF
5853
 
cat confdefs.h >>conftest.$ac_ext
5854
 
cat >>conftest.$ac_ext <<_ACEOF
5855
 
/* end confdefs.h.  */
5856
 
@%:@include <$ac_header>
5857
 
_ACEOF
5858
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5859
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5860
 
  ac_status=$?
5861
 
  grep -v '^ *+' conftest.er1 >conftest.err
5862
 
  rm -f conftest.er1
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
5869
 
  else
5870
 
    ac_cpp_err=
5871
 
  fi
5872
 
else
5873
 
  ac_cpp_err=yes
5874
 
fi
5875
 
if test -z "$ac_cpp_err"; then
5876
 
  ac_header_preproc=yes
5877
 
else
5878
 
  echo "$as_me: failed program was:" >&5
5879
 
sed 's/^/| /' conftest.$ac_ext >&5
5880
 
 
5881
 
  ac_header_preproc=no
5882
 
fi
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
5886
 
 
5887
 
# So?  What about this header?
5888
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5889
 
  yes:no: )
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
5895
 
    ;;
5896
 
  no: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;}
5909
 
    (
5910
 
      cat <<\_ASBOX
5911
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
5912
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
5913
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
5914
 
_ASBOX
5915
 
    ) |
5916
 
      sed "s/^/$as_me: WARNING:     /" >&2
5917
 
    ;;
5918
 
esac
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
5923
 
else
5924
 
  eval "$as_ac_Header=\$ac_header_preproc"
5925
 
fi
5926
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5927
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5928
 
 
5929
 
fi
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
5933
 
_ACEOF
5934
 
 
5935
 
fi
5936
 
 
5937
 
done
5938
 
 
5939
 
 
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
5945
 
else
5946
 
  cat >conftest.$ac_ext <<_ACEOF
5947
 
/* confdefs.h.  */
5948
 
_ACEOF
5949
 
cat confdefs.h >>conftest.$ac_ext
5950
 
cat >>conftest.$ac_ext <<_ACEOF
5951
 
/* end confdefs.h.  */
5952
 
 
5953
 
int
5954
 
main ()
5955
 
{
5956
 
/* FIXME: Include the comments suggested by Paul. */
5957
 
#ifndef __cplusplus
5958
 
  /* Ultrix mips cc rejects this.  */
5959
 
  typedef int charset[2];
5960
 
  const charset x;
5961
 
  /* SunOS 4.1.1 cc rejects this.  */
5962
 
  char const *const *ccp;
5963
 
  char **p;
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
5970
 
     expression */
5971
 
  const char *g = "string";
5972
 
  ccp = &g + (g ? g-g : 0);
5973
 
  /* HPUX 7.0 cc rejects these. */
5974
 
  ++ccp;
5975
 
  p = (char**) ccp;
5976
 
  ccp = (char const *const *) p;
5977
 
  { /* SCO 3.2v4 cc rejects this.  */
5978
 
    char *t;
5979
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
5980
 
 
5981
 
    *t++ = 0;
5982
 
  }
5983
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5984
 
    int x[] = {25, 17};
5985
 
    const int *foo = &x[0];
5986
 
    ++foo;
5987
 
  }
5988
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5989
 
    typedef const int *iptr;
5990
 
    iptr p = 0;
5991
 
    ++p;
5992
 
  }
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;
5997
 
  }
5998
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5999
 
    const int foo = 10;
6000
 
  }
6001
 
#endif
6002
 
 
6003
 
  ;
6004
 
  return 0;
6005
 
}
6006
 
_ACEOF
6007
 
rm -f conftest.$ac_objext
6008
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009
 
  (eval $ac_compile) 2>conftest.er1
6010
 
  ac_status=$?
6011
 
  grep -v '^ *+' conftest.er1 >conftest.err
6012
 
  rm -f conftest.er1
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
6019
 
  (eval $ac_try) 2>&5
6020
 
  ac_status=$?
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
6025
 
  (eval $ac_try) 2>&5
6026
 
  ac_status=$?
6027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028
 
  (exit $ac_status); }; }; then
6029
 
  ac_cv_c_const=yes
6030
 
else
6031
 
  echo "$as_me: failed program was:" >&5
6032
 
sed 's/^/| /' conftest.$ac_ext >&5
6033
 
 
6034
 
ac_cv_c_const=no
6035
 
fi
6036
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6037
 
fi
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
6041
 
  
6042
 
cat >>confdefs.h <<\_ACEOF
6043
 
@%:@define const 
6044
 
_ACEOF
6045
 
 
6046
 
fi
6047
 
 
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
6052
 
else
6053
 
  cat >conftest.$ac_ext <<_ACEOF
6054
 
/* confdefs.h.  */
6055
 
_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>
6061
 
#include <time.h>
6062
 
 
6063
 
int
6064
 
main ()
6065
 
{
6066
 
if ((struct tm *) 0)
6067
 
return 0;
6068
 
  ;
6069
 
  return 0;
6070
 
}
6071
 
_ACEOF
6072
 
rm -f conftest.$ac_objext
6073
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074
 
  (eval $ac_compile) 2>conftest.er1
6075
 
  ac_status=$?
6076
 
  grep -v '^ *+' conftest.er1 >conftest.err
6077
 
  rm -f conftest.er1
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
6084
 
  (eval $ac_try) 2>&5
6085
 
  ac_status=$?
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
6090
 
  (eval $ac_try) 2>&5
6091
 
  ac_status=$?
6092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093
 
  (exit $ac_status); }; }; then
6094
 
  ac_cv_header_time=yes
6095
 
else
6096
 
  echo "$as_me: failed program was:" >&5
6097
 
sed 's/^/| /' conftest.$ac_ext >&5
6098
 
 
6099
 
ac_cv_header_time=no
6100
 
fi
6101
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6102
 
fi
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
6106
 
  
6107
 
cat >>confdefs.h <<\_ACEOF
6108
 
@%:@define TIME_WITH_SYS_TIME 1
6109
 
_ACEOF
6110
 
 
6111
 
fi
6112
 
 
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
6117
 
else
6118
 
  cat >conftest.$ac_ext <<_ACEOF
6119
 
/* confdefs.h.  */
6120
 
_ACEOF
6121
 
cat confdefs.h >>conftest.$ac_ext
6122
 
cat >>conftest.$ac_ext <<_ACEOF
6123
 
/* end confdefs.h.  */
6124
 
$ac_includes_default
6125
 
int
6126
 
main ()
6127
 
{
6128
 
if ((pid_t *) 0)
6129
 
  return 0;
6130
 
if (sizeof (pid_t))
6131
 
  return 0;
6132
 
  ;
6133
 
  return 0;
6134
 
}
6135
 
_ACEOF
6136
 
rm -f conftest.$ac_objext
6137
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6138
 
  (eval $ac_compile) 2>conftest.er1
6139
 
  ac_status=$?
6140
 
  grep -v '^ *+' conftest.er1 >conftest.err
6141
 
  rm -f conftest.er1
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
6148
 
  (eval $ac_try) 2>&5
6149
 
  ac_status=$?
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
6154
 
  (eval $ac_try) 2>&5
6155
 
  ac_status=$?
6156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157
 
  (exit $ac_status); }; }; then
6158
 
  ac_cv_type_pid_t=yes
6159
 
else
6160
 
  echo "$as_me: failed program was:" >&5
6161
 
sed 's/^/| /' conftest.$ac_ext >&5
6162
 
 
6163
 
ac_cv_type_pid_t=no
6164
 
fi
6165
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6166
 
fi
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
6170
 
  :
6171
 
else
6172
 
  
6173
 
cat >>confdefs.h <<_ACEOF
6174
 
@%:@define pid_t int
6175
 
_ACEOF
6176
 
 
6177
 
fi
6178
 
 
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
6183
 
else
6184
 
  cat >conftest.$ac_ext <<_ACEOF
6185
 
/* confdefs.h.  */
6186
 
_ACEOF
6187
 
cat confdefs.h >>conftest.$ac_ext
6188
 
cat >>conftest.$ac_ext <<_ACEOF
6189
 
/* end confdefs.h.  */
6190
 
$ac_includes_default
6191
 
int
6192
 
main ()
6193
 
{
6194
 
if ((size_t *) 0)
6195
 
  return 0;
6196
 
if (sizeof (size_t))
6197
 
  return 0;
6198
 
  ;
6199
 
  return 0;
6200
 
}
6201
 
_ACEOF
6202
 
rm -f conftest.$ac_objext
6203
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6204
 
  (eval $ac_compile) 2>conftest.er1
6205
 
  ac_status=$?
6206
 
  grep -v '^ *+' conftest.er1 >conftest.err
6207
 
  rm -f conftest.er1
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
6214
 
  (eval $ac_try) 2>&5
6215
 
  ac_status=$?
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
6220
 
  (eval $ac_try) 2>&5
6221
 
  ac_status=$?
6222
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223
 
  (exit $ac_status); }; }; then
6224
 
  ac_cv_type_size_t=yes
6225
 
else
6226
 
  echo "$as_me: failed program was:" >&5
6227
 
sed 's/^/| /' conftest.$ac_ext >&5
6228
 
 
6229
 
ac_cv_type_size_t=no
6230
 
fi
6231
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6232
 
fi
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
6236
 
  :
6237
 
else
6238
 
  
6239
 
cat >>confdefs.h <<_ACEOF
6240
 
@%:@define size_t unsigned
6241
 
_ACEOF
6242
 
 
6243
 
fi
6244
 
 
6245
 
 
6246
 
# Checks for library functions.
6247
 
 
6248
 
for ac_header in stdlib.h
6249
 
do
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
6256
 
fi
6257
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6258
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6259
 
else
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
6264
 
/* confdefs.h.  */
6265
 
_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>
6271
 
_ACEOF
6272
 
rm -f conftest.$ac_objext
6273
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6274
 
  (eval $ac_compile) 2>conftest.er1
6275
 
  ac_status=$?
6276
 
  grep -v '^ *+' conftest.er1 >conftest.err
6277
 
  rm -f conftest.er1
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
6284
 
  (eval $ac_try) 2>&5
6285
 
  ac_status=$?
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
6290
 
  (eval $ac_try) 2>&5
6291
 
  ac_status=$?
6292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293
 
  (exit $ac_status); }; }; then
6294
 
  ac_header_compiler=yes
6295
 
else
6296
 
  echo "$as_me: failed program was:" >&5
6297
 
sed 's/^/| /' conftest.$ac_ext >&5
6298
 
 
6299
 
ac_header_compiler=no
6300
 
fi
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
6304
 
 
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
6309
 
/* confdefs.h.  */
6310
 
_ACEOF
6311
 
cat confdefs.h >>conftest.$ac_ext
6312
 
cat >>conftest.$ac_ext <<_ACEOF
6313
 
/* end confdefs.h.  */
6314
 
@%:@include <$ac_header>
6315
 
_ACEOF
6316
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6317
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6318
 
  ac_status=$?
6319
 
  grep -v '^ *+' conftest.er1 >conftest.err
6320
 
  rm -f conftest.er1
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
6327
 
  else
6328
 
    ac_cpp_err=
6329
 
  fi
6330
 
else
6331
 
  ac_cpp_err=yes
6332
 
fi
6333
 
if test -z "$ac_cpp_err"; then
6334
 
  ac_header_preproc=yes
6335
 
else
6336
 
  echo "$as_me: failed program was:" >&5
6337
 
sed 's/^/| /' conftest.$ac_ext >&5
6338
 
 
6339
 
  ac_header_preproc=no
6340
 
fi
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
6344
 
 
6345
 
# So?  What about this header?
6346
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6347
 
  yes:no: )
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
6353
 
    ;;
6354
 
  no: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;}
6367
 
    (
6368
 
      cat <<\_ASBOX
6369
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6370
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
6371
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6372
 
_ASBOX
6373
 
    ) |
6374
 
      sed "s/^/$as_me: WARNING:     /" >&2
6375
 
    ;;
6376
 
esac
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
6381
 
else
6382
 
  eval "$as_ac_Header=\$ac_header_preproc"
6383
 
fi
6384
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6385
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6386
 
 
6387
 
fi
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
6391
 
_ACEOF
6392
 
 
6393
 
fi
6394
 
 
6395
 
done
6396
 
 
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
6401
 
else
6402
 
  if test "$cross_compiling" = yes; then
6403
 
  ac_cv_func_malloc_0_nonnull=no
6404
 
else
6405
 
  cat >conftest.$ac_ext <<_ACEOF
6406
 
/* confdefs.h.  */
6407
 
_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>
6413
 
#else
6414
 
char *malloc ();
6415
 
#endif
6416
 
 
6417
 
int
6418
 
main ()
6419
 
{
6420
 
exit (malloc (0) ? 0 : 1);
6421
 
  ;
6422
 
  return 0;
6423
 
}
6424
 
_ACEOF
6425
 
rm -f conftest$ac_exeext
6426
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6427
 
  (eval $ac_link) 2>&5
6428
 
  ac_status=$?
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
6432
 
  (eval $ac_try) 2>&5
6433
 
  ac_status=$?
6434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435
 
  (exit $ac_status); }; }; then
6436
 
  ac_cv_func_malloc_0_nonnull=yes
6437
 
else
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
6441
 
 
6442
 
( exit $ac_status )
6443
 
ac_cv_func_malloc_0_nonnull=no
6444
 
fi
6445
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6446
 
fi
6447
 
fi
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
6451
 
  
6452
 
cat >>confdefs.h <<\_ACEOF
6453
 
@%:@define HAVE_MALLOC 1
6454
 
_ACEOF
6455
 
 
6456
 
else
6457
 
  cat >>confdefs.h <<\_ACEOF
6458
 
@%:@define HAVE_MALLOC 0
6459
 
_ACEOF
6460
 
 
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" ;;
6467
 
esac
6468
 
 
6469
 
   
6470
 
cat >>confdefs.h <<\_ACEOF
6471
 
@%:@define malloc rpl_malloc
6472
 
_ACEOF
6473
 
 
6474
 
fi
6475
 
 
6476
 
 
6477
 
 
6478
 
 
6479
 
 
6480
 
for ac_header in unistd.h vfork.h
6481
 
do
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
6488
 
fi
6489
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6490
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6491
 
else
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
6496
 
/* confdefs.h.  */
6497
 
_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>
6503
 
_ACEOF
6504
 
rm -f conftest.$ac_objext
6505
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506
 
  (eval $ac_compile) 2>conftest.er1
6507
 
  ac_status=$?
6508
 
  grep -v '^ *+' conftest.er1 >conftest.err
6509
 
  rm -f conftest.er1
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
6516
 
  (eval $ac_try) 2>&5
6517
 
  ac_status=$?
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
6522
 
  (eval $ac_try) 2>&5
6523
 
  ac_status=$?
6524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525
 
  (exit $ac_status); }; }; then
6526
 
  ac_header_compiler=yes
6527
 
else
6528
 
  echo "$as_me: failed program was:" >&5
6529
 
sed 's/^/| /' conftest.$ac_ext >&5
6530
 
 
6531
 
ac_header_compiler=no
6532
 
fi
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
6536
 
 
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
6541
 
/* confdefs.h.  */
6542
 
_ACEOF
6543
 
cat confdefs.h >>conftest.$ac_ext
6544
 
cat >>conftest.$ac_ext <<_ACEOF
6545
 
/* end confdefs.h.  */
6546
 
@%:@include <$ac_header>
6547
 
_ACEOF
6548
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6549
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6550
 
  ac_status=$?
6551
 
  grep -v '^ *+' conftest.er1 >conftest.err
6552
 
  rm -f conftest.er1
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
6559
 
  else
6560
 
    ac_cpp_err=
6561
 
  fi
6562
 
else
6563
 
  ac_cpp_err=yes
6564
 
fi
6565
 
if test -z "$ac_cpp_err"; then
6566
 
  ac_header_preproc=yes
6567
 
else
6568
 
  echo "$as_me: failed program was:" >&5
6569
 
sed 's/^/| /' conftest.$ac_ext >&5
6570
 
 
6571
 
  ac_header_preproc=no
6572
 
fi
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
6576
 
 
6577
 
# So?  What about this header?
6578
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6579
 
  yes:no: )
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
6585
 
    ;;
6586
 
  no: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;}
6599
 
    (
6600
 
      cat <<\_ASBOX
6601
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6602
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
6603
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
6604
 
_ASBOX
6605
 
    ) |
6606
 
      sed "s/^/$as_me: WARNING:     /" >&2
6607
 
    ;;
6608
 
esac
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
6613
 
else
6614
 
  eval "$as_ac_Header=\$ac_header_preproc"
6615
 
fi
6616
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6617
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6618
 
 
6619
 
fi
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
6623
 
_ACEOF
6624
 
 
6625
 
fi
6626
 
 
6627
 
done
6628
 
 
6629
 
 
6630
 
 
6631
 
for ac_func in fork vfork
6632
 
do
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
6638
 
else
6639
 
  cat >conftest.$ac_ext <<_ACEOF
6640
 
/* confdefs.h.  */
6641
 
_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
6648
 
 
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.  */
6653
 
 
6654
 
#ifdef __STDC__
6655
 
# include <limits.h>
6656
 
#else
6657
 
# include <assert.h>
6658
 
#endif
6659
 
 
6660
 
#undef $ac_func
6661
 
 
6662
 
/* Override any gcc2 internal prototype to avoid an error.  */
6663
 
#ifdef __cplusplus
6664
 
extern "C"
6665
 
{
6666
 
#endif
6667
 
/* We use char because int might match the return type of a gcc2
6668
 
   builtin and then its argument prototype would still apply.  */
6669
 
char $ac_func ();
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)
6674
 
choke me
6675
 
#else
6676
 
char (*f) () = $ac_func;
6677
 
#endif
6678
 
#ifdef __cplusplus
6679
 
}
6680
 
#endif
6681
 
 
6682
 
int
6683
 
main ()
6684
 
{
6685
 
return f != $ac_func;
6686
 
  ;
6687
 
  return 0;
6688
 
}
6689
 
_ACEOF
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
6693
 
  ac_status=$?
6694
 
  grep -v '^ *+' conftest.er1 >conftest.err
6695
 
  rm -f conftest.er1
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
6702
 
  (eval $ac_try) 2>&5
6703
 
  ac_status=$?
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
6708
 
  (eval $ac_try) 2>&5
6709
 
  ac_status=$?
6710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711
 
  (exit $ac_status); }; }; then
6712
 
  eval "$as_ac_var=yes"
6713
 
else
6714
 
  echo "$as_me: failed program was:" >&5
6715
 
sed 's/^/| /' conftest.$ac_ext >&5
6716
 
 
6717
 
eval "$as_ac_var=no"
6718
 
fi
6719
 
rm -f conftest.err conftest.$ac_objext \
6720
 
      conftest$ac_exeext conftest.$ac_ext
6721
 
fi
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
6727
 
_ACEOF
6728
 
 
6729
 
fi
6730
 
done
6731
 
 
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
6737
 
else
6738
 
  if test "$cross_compiling" = yes; then
6739
 
  ac_cv_func_fork_works=cross
6740
 
else
6741
 
  cat >conftest.$ac_ext <<_ACEOF
6742
 
/* By Ruediger Kuhlmann. */
6743
 
      #include <sys/types.h>
6744
 
      #if HAVE_UNISTD_H
6745
 
      # include <unistd.h>
6746
 
      #endif
6747
 
      /* Some systems only have a dummy stub for fork() */
6748
 
      int main ()
6749
 
      {
6750
 
        if (fork() < 0)
6751
 
          exit (1);
6752
 
        exit (0);
6753
 
      }
6754
 
_ACEOF
6755
 
rm -f conftest$ac_exeext
6756
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6757
 
  (eval $ac_link) 2>&5
6758
 
  ac_status=$?
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
6762
 
  (eval $ac_try) 2>&5
6763
 
  ac_status=$?
6764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765
 
  (exit $ac_status); }; }; then
6766
 
  ac_cv_func_fork_works=yes
6767
 
else
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
6771
 
 
6772
 
( exit $ac_status )
6773
 
ac_cv_func_fork_works=no
6774
 
fi
6775
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6776
 
fi
6777
 
fi
6778
 
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6779
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
6780
 
 
6781
 
else
6782
 
  ac_cv_func_fork_works=$ac_cv_func_fork
6783
 
fi
6784
 
if test "x$ac_cv_func_fork_works" = xcross; then
6785
 
  case $host in
6786
 
    *-*-amigaos* | *-*-msdosdjgpp*)
6787
 
      # Override, as these systems have only a dummy fork() stub
6788
 
      ac_cv_func_fork_works=no
6789
 
      ;;
6790
 
    *)
6791
 
      ac_cv_func_fork_works=yes
6792
 
      ;;
6793
 
  esac
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;}
6796
 
fi
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
6803
 
else
6804
 
  if test "$cross_compiling" = yes; then
6805
 
  ac_cv_func_vfork_works=cross
6806
 
else
6807
 
  cat >conftest.$ac_ext <<_ACEOF
6808
 
/* confdefs.h.  */
6809
 
_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.  */
6814
 
#include <stdio.h>
6815
 
#include <stdlib.h>
6816
 
#include <sys/types.h>
6817
 
#include <sys/stat.h>
6818
 
#include <sys/wait.h>
6819
 
#if HAVE_UNISTD_H
6820
 
# include <unistd.h>
6821
 
#endif
6822
 
#if HAVE_VFORK_H
6823
 
# include <vfork.h>
6824
 
#endif
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.  */
6831
 
static void
6832
 
#ifdef __cplusplus
6833
 
sparc_address_test (int arg)
6834
 
# else
6835
 
sparc_address_test (arg) int arg;
6836
 
#endif
6837
 
{
6838
 
  static pid_t child;
6839
 
  if (!child) {
6840
 
    child = vfork ();
6841
 
    if (child < 0) {
6842
 
      perror ("vfork");
6843
 
      _exit(2);
6844
 
    }
6845
 
    if (!child) {
6846
 
      arg = getpid();
6847
 
      write(-1, "", 0);
6848
 
      _exit (arg);
6849
 
    }
6850
 
  }
6851
 
}
6852
 
 
6853
 
int
6854
 
main ()
6855
 
{
6856
 
  pid_t parent = getpid ();
6857
 
  pid_t child;
6858
 
 
6859
 
  sparc_address_test (0);
6860
 
 
6861
 
  child = vfork ();
6862
 
 
6863
 
  if (child == 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.  */
6873
 
    pid_t
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)
6880
 
      _exit(1);
6881
 
 
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);
6887
 
  } else {
6888
 
    int status;
6889
 
    struct stat st;
6890
 
 
6891
 
    while (wait(&status) != child)
6892
 
      ;
6893
 
    exit(
6894
 
         /* Was there some problem with vforking?  */
6895
 
         child < 0
6896
 
 
6897
 
         /* Did the child fail?  (This shouldn't happen.)  */
6898
 
         || status
6899
 
 
6900
 
         /* Did the vfork/compiler bug occur?  */
6901
 
         || parent != getpid()
6902
 
 
6903
 
         /* Did the file descriptor bug occur?  */
6904
 
         || fstat(fileno(stdout), &st) != 0
6905
 
         );
6906
 
  }
6907
 
}
6908
 
_ACEOF
6909
 
rm -f conftest$ac_exeext
6910
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6911
 
  (eval $ac_link) 2>&5
6912
 
  ac_status=$?
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
6916
 
  (eval $ac_try) 2>&5
6917
 
  ac_status=$?
6918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919
 
  (exit $ac_status); }; }; then
6920
 
  ac_cv_func_vfork_works=yes
6921
 
else
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
6925
 
 
6926
 
( exit $ac_status )
6927
 
ac_cv_func_vfork_works=no
6928
 
fi
6929
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6930
 
fi
6931
 
fi
6932
 
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6933
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
6934
 
 
6935
 
fi;
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;}
6940
 
fi
6941
 
 
6942
 
if test "x$ac_cv_func_vfork_works" = xyes; then
6943
 
  
6944
 
cat >>confdefs.h <<\_ACEOF
6945
 
@%:@define HAVE_WORKING_VFORK 1
6946
 
_ACEOF
6947
 
 
6948
 
else
6949
 
  
6950
 
cat >>confdefs.h <<\_ACEOF
6951
 
@%:@define vfork fork
6952
 
_ACEOF
6953
 
 
6954
 
fi
6955
 
if test "x$ac_cv_func_fork_works" = xyes; then
6956
 
  
6957
 
cat >>confdefs.h <<\_ACEOF
6958
 
@%:@define HAVE_WORKING_FORK 1
6959
 
_ACEOF
6960
 
 
6961
 
fi
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
 
6967
 
 
6968
 
 
6969
 
 
6970
 
 
6971
 
 
6972
 
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
 
 
6978
 
for ac_func in memset strcasecmp strchr strdup strncasecmp strstr strrchr snprintf mkfifo dup2 gettimeofday strerror strtol mkdir setlocale
6979
 
do
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
6985
 
else
6986
 
  cat >conftest.$ac_ext <<_ACEOF
6987
 
/* confdefs.h.  */
6988
 
_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
6995
 
 
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.  */
7000
 
 
7001
 
#ifdef __STDC__
7002
 
# include <limits.h>
7003
 
#else
7004
 
# include <assert.h>
7005
 
#endif
7006
 
 
7007
 
#undef $ac_func
7008
 
 
7009
 
/* Override any gcc2 internal prototype to avoid an error.  */
7010
 
#ifdef __cplusplus
7011
 
extern "C"
7012
 
{
7013
 
#endif
7014
 
/* We use char because int might match the return type of a gcc2
7015
 
   builtin and then its argument prototype would still apply.  */
7016
 
char $ac_func ();
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)
7021
 
choke me
7022
 
#else
7023
 
char (*f) () = $ac_func;
7024
 
#endif
7025
 
#ifdef __cplusplus
7026
 
}
7027
 
#endif
7028
 
 
7029
 
int
7030
 
main ()
7031
 
{
7032
 
return f != $ac_func;
7033
 
  ;
7034
 
  return 0;
7035
 
}
7036
 
_ACEOF
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
7040
 
  ac_status=$?
7041
 
  grep -v '^ *+' conftest.er1 >conftest.err
7042
 
  rm -f conftest.er1
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
7049
 
  (eval $ac_try) 2>&5
7050
 
  ac_status=$?
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
7055
 
  (eval $ac_try) 2>&5
7056
 
  ac_status=$?
7057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058
 
  (exit $ac_status); }; }; then
7059
 
  eval "$as_ac_var=yes"
7060
 
else
7061
 
  echo "$as_me: failed program was:" >&5
7062
 
sed 's/^/| /' conftest.$ac_ext >&5
7063
 
 
7064
 
eval "$as_ac_var=no"
7065
 
fi
7066
 
rm -f conftest.err conftest.$ac_objext \
7067
 
      conftest$ac_exeext conftest.$ac_ext
7068
 
fi
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
7074
 
_ACEOF
7075
 
 
7076
 
fi
7077
 
done
7078
 
 
7079
 
#AC_REPLACE_FUNCS([memmem strlcpy strlcat])
7080
 
 
7081
 
for ac_func in memmem
7082
 
do
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
7088
 
else
7089
 
  cat >conftest.$ac_ext <<_ACEOF
7090
 
/* confdefs.h.  */
7091
 
_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
7098
 
 
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.  */
7103
 
 
7104
 
#ifdef __STDC__
7105
 
# include <limits.h>
7106
 
#else
7107
 
# include <assert.h>
7108
 
#endif
7109
 
 
7110
 
#undef $ac_func
7111
 
 
7112
 
/* Override any gcc2 internal prototype to avoid an error.  */
7113
 
#ifdef __cplusplus
7114
 
extern "C"
7115
 
{
7116
 
#endif
7117
 
/* We use char because int might match the return type of a gcc2
7118
 
   builtin and then its argument prototype would still apply.  */
7119
 
char $ac_func ();
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)
7124
 
choke me
7125
 
#else
7126
 
char (*f) () = $ac_func;
7127
 
#endif
7128
 
#ifdef __cplusplus
7129
 
}
7130
 
#endif
7131
 
 
7132
 
int
7133
 
main ()
7134
 
{
7135
 
return f != $ac_func;
7136
 
  ;
7137
 
  return 0;
7138
 
}
7139
 
_ACEOF
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
7143
 
  ac_status=$?
7144
 
  grep -v '^ *+' conftest.er1 >conftest.err
7145
 
  rm -f conftest.er1
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
7152
 
  (eval $ac_try) 2>&5
7153
 
  ac_status=$?
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
7158
 
  (eval $ac_try) 2>&5
7159
 
  ac_status=$?
7160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161
 
  (exit $ac_status); }; }; then
7162
 
  eval "$as_ac_var=yes"
7163
 
else
7164
 
  echo "$as_me: failed program was:" >&5
7165
 
sed 's/^/| /' conftest.$ac_ext >&5
7166
 
 
7167
 
eval "$as_ac_var=no"
7168
 
fi
7169
 
rm -f conftest.err conftest.$ac_objext \
7170
 
      conftest$ac_exeext conftest.$ac_ext
7171
 
fi
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
7177
 
_ACEOF
7178
 
 
7179
 
else
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" ;;
7186
 
esac
7187
 
 
7188
 
fi
7189
 
done
7190
 
 
7191
 
 
7192
 
 
7193
 
LDFLAGS="$LDFLAGS $INTLLIBS"
7194
 
LOCALEDIR=/share/locale
7195
 
 
7196
 
SUBDIR=languages
7197
 
 
7198
 
INSTALL_SUBDIR=install-languages
7199
 
 
7200
 
 
7201
 
for ac_header in libintl.h
7202
 
do
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
7209
 
fi
7210
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7211
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7212
 
else
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
7217
 
/* confdefs.h.  */
7218
 
_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>
7224
 
_ACEOF
7225
 
rm -f conftest.$ac_objext
7226
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7227
 
  (eval $ac_compile) 2>conftest.er1
7228
 
  ac_status=$?
7229
 
  grep -v '^ *+' conftest.er1 >conftest.err
7230
 
  rm -f conftest.er1
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
7237
 
  (eval $ac_try) 2>&5
7238
 
  ac_status=$?
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
7243
 
  (eval $ac_try) 2>&5
7244
 
  ac_status=$?
7245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246
 
  (exit $ac_status); }; }; then
7247
 
  ac_header_compiler=yes
7248
 
else
7249
 
  echo "$as_me: failed program was:" >&5
7250
 
sed 's/^/| /' conftest.$ac_ext >&5
7251
 
 
7252
 
ac_header_compiler=no
7253
 
fi
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
7257
 
 
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
7262
 
/* confdefs.h.  */
7263
 
_ACEOF
7264
 
cat confdefs.h >>conftest.$ac_ext
7265
 
cat >>conftest.$ac_ext <<_ACEOF
7266
 
/* end confdefs.h.  */
7267
 
@%:@include <$ac_header>
7268
 
_ACEOF
7269
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7270
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7271
 
  ac_status=$?
7272
 
  grep -v '^ *+' conftest.er1 >conftest.err
7273
 
  rm -f conftest.er1
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
7280
 
  else
7281
 
    ac_cpp_err=
7282
 
  fi
7283
 
else
7284
 
  ac_cpp_err=yes
7285
 
fi
7286
 
if test -z "$ac_cpp_err"; then
7287
 
  ac_header_preproc=yes
7288
 
else
7289
 
  echo "$as_me: failed program was:" >&5
7290
 
sed 's/^/| /' conftest.$ac_ext >&5
7291
 
 
7292
 
  ac_header_preproc=no
7293
 
fi
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
7297
 
 
7298
 
# So?  What about this header?
7299
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7300
 
  yes:no: )
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
7306
 
    ;;
7307
 
  no: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;}
7320
 
    (
7321
 
      cat <<\_ASBOX
7322
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7323
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7324
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7325
 
_ASBOX
7326
 
    ) |
7327
 
      sed "s/^/$as_me: WARNING:     /" >&2
7328
 
    ;;
7329
 
esac
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
7334
 
else
7335
 
  eval "$as_ac_Header=\$ac_header_preproc"
7336
 
fi
7337
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7338
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7339
 
 
7340
 
fi
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
7344
 
_ACEOF
7345
 
 
7346
 
cat >>confdefs.h <<\_ACEOF
7347
 
@%:@define HAVE_GETTEXT 1
7348
 
_ACEOF
7349
 
 
7350
 
fi
7351
 
 
7352
 
done
7353
 
 
7354
 
 
7355
 
 
7356
 
for ac_header in sys/time.h
7357
 
do
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
7364
 
fi
7365
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7366
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7367
 
else
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
7372
 
/* confdefs.h.  */
7373
 
_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>
7379
 
_ACEOF
7380
 
rm -f conftest.$ac_objext
7381
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7382
 
  (eval $ac_compile) 2>conftest.er1
7383
 
  ac_status=$?
7384
 
  grep -v '^ *+' conftest.er1 >conftest.err
7385
 
  rm -f conftest.er1
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
7392
 
  (eval $ac_try) 2>&5
7393
 
  ac_status=$?
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
7398
 
  (eval $ac_try) 2>&5
7399
 
  ac_status=$?
7400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401
 
  (exit $ac_status); }; }; then
7402
 
  ac_header_compiler=yes
7403
 
else
7404
 
  echo "$as_me: failed program was:" >&5
7405
 
sed 's/^/| /' conftest.$ac_ext >&5
7406
 
 
7407
 
ac_header_compiler=no
7408
 
fi
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
7412
 
 
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
7417
 
/* confdefs.h.  */
7418
 
_ACEOF
7419
 
cat confdefs.h >>conftest.$ac_ext
7420
 
cat >>conftest.$ac_ext <<_ACEOF
7421
 
/* end confdefs.h.  */
7422
 
@%:@include <$ac_header>
7423
 
_ACEOF
7424
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7425
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7426
 
  ac_status=$?
7427
 
  grep -v '^ *+' conftest.er1 >conftest.err
7428
 
  rm -f conftest.er1
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
7435
 
  else
7436
 
    ac_cpp_err=
7437
 
  fi
7438
 
else
7439
 
  ac_cpp_err=yes
7440
 
fi
7441
 
if test -z "$ac_cpp_err"; then
7442
 
  ac_header_preproc=yes
7443
 
else
7444
 
  echo "$as_me: failed program was:" >&5
7445
 
sed 's/^/| /' conftest.$ac_ext >&5
7446
 
 
7447
 
  ac_header_preproc=no
7448
 
fi
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
7452
 
 
7453
 
# So?  What about this header?
7454
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7455
 
  yes:no: )
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
7461
 
    ;;
7462
 
  no: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;}
7475
 
    (
7476
 
      cat <<\_ASBOX
7477
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7478
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7479
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7480
 
_ASBOX
7481
 
    ) |
7482
 
      sed "s/^/$as_me: WARNING:     /" >&2
7483
 
    ;;
7484
 
esac
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
7489
 
else
7490
 
  eval "$as_ac_Header=\$ac_header_preproc"
7491
 
fi
7492
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7493
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7494
 
 
7495
 
fi
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
7499
 
_ACEOF
7500
 
 
7501
 
fi
7502
 
 
7503
 
done
7504
 
 
7505
 
 
7506
 
for ac_header in sys/param.h
7507
 
do
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
7514
 
fi
7515
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7516
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7517
 
else
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
7522
 
/* confdefs.h.  */
7523
 
_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>
7529
 
_ACEOF
7530
 
rm -f conftest.$ac_objext
7531
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7532
 
  (eval $ac_compile) 2>conftest.er1
7533
 
  ac_status=$?
7534
 
  grep -v '^ *+' conftest.er1 >conftest.err
7535
 
  rm -f conftest.er1
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
7542
 
  (eval $ac_try) 2>&5
7543
 
  ac_status=$?
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
7548
 
  (eval $ac_try) 2>&5
7549
 
  ac_status=$?
7550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551
 
  (exit $ac_status); }; }; then
7552
 
  ac_header_compiler=yes
7553
 
else
7554
 
  echo "$as_me: failed program was:" >&5
7555
 
sed 's/^/| /' conftest.$ac_ext >&5
7556
 
 
7557
 
ac_header_compiler=no
7558
 
fi
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
7562
 
 
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
7567
 
/* confdefs.h.  */
7568
 
_ACEOF
7569
 
cat confdefs.h >>conftest.$ac_ext
7570
 
cat >>conftest.$ac_ext <<_ACEOF
7571
 
/* end confdefs.h.  */
7572
 
@%:@include <$ac_header>
7573
 
_ACEOF
7574
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7575
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7576
 
  ac_status=$?
7577
 
  grep -v '^ *+' conftest.er1 >conftest.err
7578
 
  rm -f conftest.er1
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
7585
 
  else
7586
 
    ac_cpp_err=
7587
 
  fi
7588
 
else
7589
 
  ac_cpp_err=yes
7590
 
fi
7591
 
if test -z "$ac_cpp_err"; then
7592
 
  ac_header_preproc=yes
7593
 
else
7594
 
  echo "$as_me: failed program was:" >&5
7595
 
sed 's/^/| /' conftest.$ac_ext >&5
7596
 
 
7597
 
  ac_header_preproc=no
7598
 
fi
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
7602
 
 
7603
 
# So?  What about this header?
7604
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7605
 
  yes:no: )
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
7611
 
    ;;
7612
 
  no: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;}
7625
 
    (
7626
 
      cat <<\_ASBOX
7627
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7628
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7629
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7630
 
_ASBOX
7631
 
    ) |
7632
 
      sed "s/^/$as_me: WARNING:     /" >&2
7633
 
    ;;
7634
 
esac
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
7639
 
else
7640
 
  eval "$as_ac_Header=\$ac_header_preproc"
7641
 
fi
7642
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7643
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7644
 
 
7645
 
fi
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
7649
 
_ACEOF
7650
 
 
7651
 
fi
7652
 
 
7653
 
done
7654
 
 
7655
 
 
7656
 
for ac_header in locale.h
7657
 
do
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
7664
 
fi
7665
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7666
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7667
 
else
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
7672
 
/* confdefs.h.  */
7673
 
_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>
7679
 
_ACEOF
7680
 
rm -f conftest.$ac_objext
7681
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682
 
  (eval $ac_compile) 2>conftest.er1
7683
 
  ac_status=$?
7684
 
  grep -v '^ *+' conftest.er1 >conftest.err
7685
 
  rm -f conftest.er1
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
7692
 
  (eval $ac_try) 2>&5
7693
 
  ac_status=$?
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
7698
 
  (eval $ac_try) 2>&5
7699
 
  ac_status=$?
7700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701
 
  (exit $ac_status); }; }; then
7702
 
  ac_header_compiler=yes
7703
 
else
7704
 
  echo "$as_me: failed program was:" >&5
7705
 
sed 's/^/| /' conftest.$ac_ext >&5
7706
 
 
7707
 
ac_header_compiler=no
7708
 
fi
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
7712
 
 
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
7717
 
/* confdefs.h.  */
7718
 
_ACEOF
7719
 
cat confdefs.h >>conftest.$ac_ext
7720
 
cat >>conftest.$ac_ext <<_ACEOF
7721
 
/* end confdefs.h.  */
7722
 
@%:@include <$ac_header>
7723
 
_ACEOF
7724
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7725
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7726
 
  ac_status=$?
7727
 
  grep -v '^ *+' conftest.er1 >conftest.err
7728
 
  rm -f conftest.er1
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
7735
 
  else
7736
 
    ac_cpp_err=
7737
 
  fi
7738
 
else
7739
 
  ac_cpp_err=yes
7740
 
fi
7741
 
if test -z "$ac_cpp_err"; then
7742
 
  ac_header_preproc=yes
7743
 
else
7744
 
  echo "$as_me: failed program was:" >&5
7745
 
sed 's/^/| /' conftest.$ac_ext >&5
7746
 
 
7747
 
  ac_header_preproc=no
7748
 
fi
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
7752
 
 
7753
 
# So?  What about this header?
7754
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7755
 
  yes:no: )
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
7761
 
    ;;
7762
 
  no: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;}
7775
 
    (
7776
 
      cat <<\_ASBOX
7777
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7778
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
7779
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
7780
 
_ASBOX
7781
 
    ) |
7782
 
      sed "s/^/$as_me: WARNING:     /" >&2
7783
 
    ;;
7784
 
esac
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
7789
 
else
7790
 
  eval "$as_ac_Header=\$ac_header_preproc"
7791
 
fi
7792
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7793
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7794
 
 
7795
 
fi
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
7799
 
_ACEOF
7800
 
 
7801
 
fi
7802
 
 
7803
 
done
7804
 
 
7805
 
 
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
7810
 
else
7811
 
  cat >conftest.$ac_ext <<_ACEOF
7812
 
/* confdefs.h.  */
7813
 
_ACEOF
7814
 
cat confdefs.h >>conftest.$ac_ext
7815
 
cat >>conftest.$ac_ext <<_ACEOF
7816
 
/* end confdefs.h.  */
7817
 
 
7818
 
#include <stdbool.h>
7819
 
#ifndef bool
7820
 
# error bool is not defined
7821
 
#endif
7822
 
#ifndef false
7823
 
# error false is not defined
7824
 
#endif
7825
 
#if false
7826
 
# error false is not 0
7827
 
#endif
7828
 
#ifndef true
7829
 
# error true is not defined
7830
 
#endif
7831
 
#if true != 1
7832
 
# error true is not 1
7833
 
#endif
7834
 
#ifndef __bool_true_false_are_defined
7835
 
# error __bool_true_false_are_defined is not defined
7836
 
#endif
7837
 
 
7838
 
        struct s { _Bool s: 1; _Bool t; } s;
7839
 
 
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];
7844
 
        bool e = &s;
7845
 
        char f[(_Bool) -0.0 == false ? 1 : -1];
7846
 
        char g[true];
7847
 
        char h[sizeof (_Bool)];
7848
 
        char i[sizeof s.t];
7849
 
      
7850
 
int
7851
 
main ()
7852
 
{
7853
 
 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 
7854
 
  ;
7855
 
  return 0;
7856
 
}
7857
 
_ACEOF
7858
 
rm -f conftest.$ac_objext
7859
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7860
 
  (eval $ac_compile) 2>conftest.er1
7861
 
  ac_status=$?
7862
 
  grep -v '^ *+' conftest.er1 >conftest.err
7863
 
  rm -f conftest.er1
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
7870
 
  (eval $ac_try) 2>&5
7871
 
  ac_status=$?
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
7876
 
  (eval $ac_try) 2>&5
7877
 
  ac_status=$?
7878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879
 
  (exit $ac_status); }; }; then
7880
 
  ac_cv_header_stdbool_h=yes
7881
 
else
7882
 
  echo "$as_me: failed program was:" >&5
7883
 
sed 's/^/| /' conftest.$ac_ext >&5
7884
 
 
7885
 
ac_cv_header_stdbool_h=no
7886
 
fi
7887
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7888
 
fi
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
7895
 
else
7896
 
  cat >conftest.$ac_ext <<_ACEOF
7897
 
/* confdefs.h.  */
7898
 
_ACEOF
7899
 
cat confdefs.h >>conftest.$ac_ext
7900
 
cat >>conftest.$ac_ext <<_ACEOF
7901
 
/* end confdefs.h.  */
7902
 
$ac_includes_default
7903
 
int
7904
 
main ()
7905
 
{
7906
 
if ((_Bool *) 0)
7907
 
  return 0;
7908
 
if (sizeof (_Bool))
7909
 
  return 0;
7910
 
  ;
7911
 
  return 0;
7912
 
}
7913
 
_ACEOF
7914
 
rm -f conftest.$ac_objext
7915
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7916
 
  (eval $ac_compile) 2>conftest.er1
7917
 
  ac_status=$?
7918
 
  grep -v '^ *+' conftest.er1 >conftest.err
7919
 
  rm -f conftest.er1
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
7926
 
  (eval $ac_try) 2>&5
7927
 
  ac_status=$?
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
7932
 
  (eval $ac_try) 2>&5
7933
 
  ac_status=$?
7934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935
 
  (exit $ac_status); }; }; then
7936
 
  ac_cv_type__Bool=yes
7937
 
else
7938
 
  echo "$as_me: failed program was:" >&5
7939
 
sed 's/^/| /' conftest.$ac_ext >&5
7940
 
 
7941
 
ac_cv_type__Bool=no
7942
 
fi
7943
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7944
 
fi
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
7948
 
  
7949
 
cat >>confdefs.h <<_ACEOF
7950
 
@%:@define HAVE__BOOL 1
7951
 
_ACEOF
7952
 
 
7953
 
 
7954
 
fi
7955
 
 
7956
 
if test $ac_cv_header_stdbool_h = yes; then
7957
 
  
7958
 
cat >>confdefs.h <<\_ACEOF
7959
 
@%:@define HAVE_STDBOOL_H 1
7960
 
_ACEOF
7961
 
 
7962
 
fi
7963
 
 
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
7968
 
else
7969
 
  cat >conftest.$ac_ext <<_ACEOF
7970
 
/* confdefs.h.  */
7971
 
_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>
7977
 
#ifndef WEXITSTATUS
7978
 
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
7979
 
#endif
7980
 
#ifndef WIFEXITED
7981
 
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7982
 
#endif
7983
 
 
7984
 
int
7985
 
main ()
7986
 
{
7987
 
  int s;
7988
 
  wait (&s);
7989
 
  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7990
 
  ;
7991
 
  return 0;
7992
 
}
7993
 
_ACEOF
7994
 
rm -f conftest.$ac_objext
7995
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7996
 
  (eval $ac_compile) 2>conftest.er1
7997
 
  ac_status=$?
7998
 
  grep -v '^ *+' conftest.er1 >conftest.err
7999
 
  rm -f conftest.er1
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
8006
 
  (eval $ac_try) 2>&5
8007
 
  ac_status=$?
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
8012
 
  (eval $ac_try) 2>&5
8013
 
  ac_status=$?
8014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015
 
  (exit $ac_status); }; }; then
8016
 
  ac_cv_header_sys_wait_h=yes
8017
 
else
8018
 
  echo "$as_me: failed program was:" >&5
8019
 
sed 's/^/| /' conftest.$ac_ext >&5
8020
 
 
8021
 
ac_cv_header_sys_wait_h=no
8022
 
fi
8023
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8024
 
fi
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
8028
 
  
8029
 
cat >>confdefs.h <<\_ACEOF
8030
 
@%:@define HAVE_SYS_WAIT_H 1
8031
 
_ACEOF
8032
 
 
8033
 
fi
8034
 
 
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
8039
 
else
8040
 
  cat >conftest.$ac_ext <<_ACEOF
8041
 
/* confdefs.h.  */
8042
 
_ACEOF
8043
 
cat confdefs.h >>conftest.$ac_ext
8044
 
cat >>conftest.$ac_ext <<_ACEOF
8045
 
/* end confdefs.h.  */
8046
 
#include <sys/types.h>
8047
 
#include <signal.h>
8048
 
#ifdef signal
8049
 
# undef signal
8050
 
#endif
8051
 
#ifdef __cplusplus
8052
 
extern "C" void (*signal (int, void (*)(int)))(int);
8053
 
#else
8054
 
void (*signal ()) ();
8055
 
#endif
8056
 
 
8057
 
int
8058
 
main ()
8059
 
{
8060
 
int i;
8061
 
  ;
8062
 
  return 0;
8063
 
}
8064
 
_ACEOF
8065
 
rm -f conftest.$ac_objext
8066
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8067
 
  (eval $ac_compile) 2>conftest.er1
8068
 
  ac_status=$?
8069
 
  grep -v '^ *+' conftest.er1 >conftest.err
8070
 
  rm -f conftest.er1
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
8077
 
  (eval $ac_try) 2>&5
8078
 
  ac_status=$?
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
8083
 
  (eval $ac_try) 2>&5
8084
 
  ac_status=$?
8085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086
 
  (exit $ac_status); }; }; then
8087
 
  ac_cv_type_signal=void
8088
 
else
8089
 
  echo "$as_me: failed program was:" >&5
8090
 
sed 's/^/| /' conftest.$ac_ext >&5
8091
 
 
8092
 
ac_cv_type_signal=int
8093
 
fi
8094
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8095
 
fi
8096
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
8097
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
8098
 
 
8099
 
cat >>confdefs.h <<_ACEOF
8100
 
@%:@define RETSIGTYPE $ac_cv_type_signal
8101
 
_ACEOF
8102
 
 
8103
 
 
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
8109
 
fi
8110
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8111
 
echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8112
 
else
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
8117
 
/* confdefs.h.  */
8118
 
_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>
8124
 
_ACEOF
8125
 
rm -f conftest.$ac_objext
8126
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8127
 
  (eval $ac_compile) 2>conftest.er1
8128
 
  ac_status=$?
8129
 
  grep -v '^ *+' conftest.er1 >conftest.err
8130
 
  rm -f conftest.er1
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
8137
 
  (eval $ac_try) 2>&5
8138
 
  ac_status=$?
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
8143
 
  (eval $ac_try) 2>&5
8144
 
  ac_status=$?
8145
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146
 
  (exit $ac_status); }; }; then
8147
 
  ac_header_compiler=yes
8148
 
else
8149
 
  echo "$as_me: failed program was:" >&5
8150
 
sed 's/^/| /' conftest.$ac_ext >&5
8151
 
 
8152
 
ac_header_compiler=no
8153
 
fi
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
8157
 
 
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
8162
 
/* confdefs.h.  */
8163
 
_ACEOF
8164
 
cat confdefs.h >>conftest.$ac_ext
8165
 
cat >>conftest.$ac_ext <<_ACEOF
8166
 
/* end confdefs.h.  */
8167
 
@%:@include <X11/xpm.h>
8168
 
_ACEOF
8169
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8170
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8171
 
  ac_status=$?
8172
 
  grep -v '^ *+' conftest.er1 >conftest.err
8173
 
  rm -f conftest.er1
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
8180
 
  else
8181
 
    ac_cpp_err=
8182
 
  fi
8183
 
else
8184
 
  ac_cpp_err=yes
8185
 
fi
8186
 
if test -z "$ac_cpp_err"; then
8187
 
  ac_header_preproc=yes
8188
 
else
8189
 
  echo "$as_me: failed program was:" >&5
8190
 
sed 's/^/| /' conftest.$ac_ext >&5
8191
 
 
8192
 
  ac_header_preproc=no
8193
 
fi
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
8197
 
 
8198
 
# So?  What about this header?
8199
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8200
 
  yes:no: )
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
8206
 
    ;;
8207
 
  no: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;}
8220
 
    (
8221
 
      cat <<\_ASBOX
8222
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
8223
 
@%:@@%:@ Report this to mplayerplug-in-devel@lists.sourceforge.net @%:@@%:@
8224
 
@%:@@%:@ --------------------------------------------------------- @%:@@%:@
8225
 
_ASBOX
8226
 
    ) |
8227
 
      sed "s/^/$as_me: WARNING:     /" >&2
8228
 
    ;;
8229
 
esac
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
8234
 
else
8235
 
  ac_cv_header_X11_xpm_h=$ac_header_preproc
8236
 
fi
8237
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8238
 
echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8239
 
 
8240
 
fi
8241
 
if test $ac_cv_header_X11_xpm_h = yes; then
8242
 
  
8243
 
cat >>confdefs.h <<\_ACEOF
8244
 
@%:@define HAVE_X11_XPM 1
8245
 
_ACEOF
8246
 
 XPM_LIBS="-lXpm -lXt"
8247
 
fi
8248
 
 
8249
 
 
8250
 
 
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
8255
 
else
8256
 
  ac_check_lib_save_LIBS=$LIBS
8257
 
LIBS="-lXdpms  $LIBS"
8258
 
cat >conftest.$ac_ext <<_ACEOF
8259
 
/* confdefs.h.  */
8260
 
_ACEOF
8261
 
cat confdefs.h >>conftest.$ac_ext
8262
 
cat >>conftest.$ac_ext <<_ACEOF
8263
 
/* end confdefs.h.  */
8264
 
 
8265
 
/* Override any gcc2 internal prototype to avoid an error.  */
8266
 
#ifdef __cplusplus
8267
 
extern "C"
8268
 
#endif
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 ();
8272
 
int
8273
 
main ()
8274
 
{
8275
 
DPMSQueryExtension ();
8276
 
  ;
8277
 
  return 0;
8278
 
}
8279
 
_ACEOF
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
8283
 
  ac_status=$?
8284
 
  grep -v '^ *+' conftest.er1 >conftest.err
8285
 
  rm -f conftest.er1
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
8292
 
  (eval $ac_try) 2>&5
8293
 
  ac_status=$?
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
8298
 
  (eval $ac_try) 2>&5
8299
 
  ac_status=$?
8300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301
 
  (exit $ac_status); }; }; then
8302
 
  ac_cv_lib_Xdpms_DPMSQueryExtension=yes
8303
 
else
8304
 
  echo "$as_me: failed program was:" >&5
8305
 
sed 's/^/| /' conftest.$ac_ext >&5
8306
 
 
8307
 
ac_cv_lib_Xdpms_DPMSQueryExtension=no
8308
 
fi
8309
 
rm -f conftest.err conftest.$ac_objext \
8310
 
      conftest$ac_exeext conftest.$ac_ext
8311
 
LIBS=$ac_check_lib_save_LIBS
8312
 
fi
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
8316
 
  XEXT_LIBS="-lXdpms" 
8317
 
cat >>confdefs.h <<\_ACEOF
8318
 
@%:@define DPMSExtension 1
8319
 
_ACEOF
8320
 
 
8321
 
else
8322
 
  
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
8327
 
else
8328
 
  cat >conftest.$ac_ext <<_ACEOF
8329
 
/* confdefs.h.  */
8330
 
_ACEOF
8331
 
cat confdefs.h >>conftest.$ac_ext
8332
 
cat >>conftest.$ac_ext <<_ACEOF
8333
 
/* end confdefs.h.  */
8334
 
 #include <X11/Xlib.h> 
8335
 
 
8336
 
@%:@include <X11/extensions/dpms.h>
8337
 
_ACEOF
8338
 
rm -f conftest.$ac_objext
8339
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8340
 
  (eval $ac_compile) 2>conftest.er1
8341
 
  ac_status=$?
8342
 
  grep -v '^ *+' conftest.er1 >conftest.err
8343
 
  rm -f conftest.er1
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
8350
 
  (eval $ac_try) 2>&5
8351
 
  ac_status=$?
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
8356
 
  (eval $ac_try) 2>&5
8357
 
  ac_status=$?
8358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359
 
  (exit $ac_status); }; }; then
8360
 
  ac_cv_header_X11_extensions_dpms_h=yes
8361
 
else
8362
 
  echo "$as_me: failed program was:" >&5
8363
 
sed 's/^/| /' conftest.$ac_ext >&5
8364
 
 
8365
 
ac_cv_header_X11_extensions_dpms_h=no
8366
 
fi
8367
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8368
 
fi
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
8372
 
  
8373
 
cat >>confdefs.h <<\_ACEOF
8374
 
@%:@define DPMSExtension 1
8375
 
_ACEOF
8376
 
 XEXT_LIBS="-lXext -lX11"
8377
 
fi
8378
 
 
8379
 
 
8380
 
fi
8381
 
 
8382
 
 
8383
 
                                        ac_config_files="$ac_config_files Makefile po/Makefile install.sh uninstall.sh"
8384
 
 
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.
8391
 
#
8392
 
# config.status only pays attention to the cache file if you give it
8393
 
# the --recheck option to rerun configure.
8394
 
#
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
8397
 
# following values.
8398
 
 
8399
 
_ACEOF
8400
 
 
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.
8406
 
{
8407
 
  (set) 2>&1 |
8408
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8409
 
    *ac_space=\ *)
8410
 
      # `set' does not quote correctly, so add quotes (double-quote
8411
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
8412
 
      sed -n \
8413
 
        "s/'/'\\\\''/g;
8414
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8415
 
      ;;
8416
 
    *)
8417
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8418
 
      sed -n \
8419
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8420
 
      ;;
8421
 
    esac;
8422
 
} |
8423
 
  sed '
8424
 
     t clear
8425
 
     : clear
8426
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8427
 
     t end
8428
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8429
 
     : end' >>confcache
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
8434
 
  else
8435
 
    echo "not updating unwritable cache $cache_file"
8436
 
  fi
8437
 
fi
8438
 
rm -f confcache
8439
 
 
8440
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8441
 
# Let make expand exec_prefix.
8442
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8443
 
 
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}:*/:/;
8452
 
s/:*@srcdir@:*/:/;
8453
 
s/^\([^=]*=[     ]*\):*/\1/;
8454
 
s/:*$//;
8455
 
s/^[^=]*=[       ]*$//;
8456
 
}'
8457
 
fi
8458
 
 
8459
 
DEFS=-DHAVE_CONFIG_H
8460
 
 
8461
 
ac_libobjs=
8462
 
ac_ltlibobjs=
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$//'`
8467
 
  # 2. Add them.
8468
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8469
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8470
 
done
8471
 
LIB@&t@OBJS=$ac_libobjs
8472
 
 
8473
 
LTLIBOBJS=$ac_ltlibobjs
8474
 
 
8475
 
 
8476
 
 
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
8483
 
#! $SHELL
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.
8488
 
 
8489
 
debug=false
8490
 
ac_cs_recheck=false
8491
 
ac_cs_silent=false
8492
 
SHELL=\${CONFIG_SHELL-$SHELL}
8493
 
_ACEOF
8494
 
 
8495
 
cat >>$CONFIG_STATUS <<\_ACEOF
8496
 
## --------------------- ##
8497
 
## M4sh Initialization.  ##
8498
 
## --------------------- ##
8499
 
 
8500
 
# Be Bourne compatible
8501
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8502
 
  emulate sh
8503
 
  NULLCMD=:
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
8508
 
  set -o posix
8509
 
fi
8510
 
DUALCASE=1; export DUALCASE # for MKS sh
8511
 
 
8512
 
# Support unset when possible.
8513
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8514
 
  as_unset=unset
8515
 
else
8516
 
  as_unset=false
8517
 
fi
8518
 
 
8519
 
 
8520
 
# Work around bugs in pre-3.0 UWIN ksh.
8521
 
$as_unset ENV MAIL MAILPATH
8522
 
PS1='$ '
8523
 
PS2='> '
8524
 
PS4='+ '
8525
 
 
8526
 
# NLS nuisances.
8527
 
for as_var in \
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
8531
 
do
8532
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8533
 
    eval $as_var=C; export $as_var
8534
 
  else
8535
 
    $as_unset $as_var
8536
 
  fi
8537
 
done
8538
 
 
8539
 
# Required to use basename.
8540
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8541
 
  as_expr=expr
8542
 
else
8543
 
  as_expr=false
8544
 
fi
8545
 
 
8546
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8547
 
  as_basename=basename
8548
 
else
8549
 
  as_basename=false
8550
 
fi
8551
 
 
8552
 
 
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 ||
8559
 
echo X/"$0" |
8560
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8561
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
8562
 
          /^X\/\(\/\).*/{ s//\1/; q; }
8563
 
          s/.*/./; q'`
8564
 
 
8565
 
 
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
8573
 
 
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
8578
 
  chmod +x conf$$.sh
8579
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8580
 
    PATH_SEPARATOR=';'
8581
 
  else
8582
 
    PATH_SEPARATOR=:
8583
 
  fi
8584
 
  rm -f conf$$.sh
8585
 
fi
8586
 
 
8587
 
 
8588
 
  as_lineno_1=$LINENO
8589
 
  as_lineno_2=$LINENO
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
8594
 
  # relative or not.
8595
 
  case $0 in
8596
 
    *[\\/]* ) as_myself=$0 ;;
8597
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598
 
for as_dir in $PATH
8599
 
do
8600
 
  IFS=$as_save_IFS
8601
 
  test -z "$as_dir" && as_dir=.
8602
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8603
 
done
8604
 
 
8605
 
       ;;
8606
 
  esac
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
8610
 
    as_myself=$0
8611
 
  fi
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; }; }
8616
 
  fi
8617
 
  case $CONFIG_SHELL in
8618
 
  '')
8619
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8621
 
do
8622
 
  IFS=$as_save_IFS
8623
 
  test -z "$as_dir" && as_dir=.
8624
 
  for as_base in sh bash ksh sh5; do
8625
 
         case $as_dir in
8626
 
         /*)
8627
 
           if ("$as_dir/$as_base" -c '
8628
 
  as_lineno_1=$LINENO
8629
 
  as_lineno_2=$LINENO
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
8636
 
             export CONFIG_SHELL
8637
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8638
 
           fi;;
8639
 
         esac
8640
 
       done
8641
 
done
8642
 
;;
8643
 
  esac
8644
 
 
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 |
8654
 
    sed '
8655
 
      N
8656
 
      s,$,-,
8657
 
      : loop
8658
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8659
 
      t loop
8660
 
      s,-$,,
8661
 
      s,^['$as_cr_digits']*\n,,
8662
 
    ' >$as_me.lineno &&
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; }; }
8667
 
 
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).
8671
 
  . ./$as_me.lineno
8672
 
  # Exit status is that of the last command.
8673
 
  exit
8674
 
}
8675
 
 
8676
 
 
8677
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8678
 
  *c*,-n*) ECHO_N= ECHO_C='
8679
 
' ECHO_T='      ' ;;
8680
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8681
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8682
 
esac
8683
 
 
8684
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8685
 
  as_expr=expr
8686
 
else
8687
 
  as_expr=false
8688
 
fi
8689
 
 
8690
 
rm -f conf$$ conf$$.exe conf$$.file
8691
 
echo >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
8697
 
    as_ln_s='cp -p'
8698
 
  else
8699
 
    as_ln_s='ln -s'
8700
 
  fi
8701
 
elif ln conf$$.file conf$$ 2>/dev/null; then
8702
 
  as_ln_s=ln
8703
 
else
8704
 
  as_ln_s='cp -p'
8705
 
fi
8706
 
rm -f conf$$ conf$$.exe conf$$.file
8707
 
 
8708
 
if mkdir -p . 2>/dev/null; then
8709
 
  as_mkdir_p=:
8710
 
else
8711
 
  test -d ./-p && rmdir ./-p
8712
 
  as_mkdir_p=false
8713
 
fi
8714
 
 
8715
 
as_executable_p="test -f"
8716
 
 
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'"
8719
 
 
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'"
8722
 
 
8723
 
 
8724
 
# IFS
8725
 
# We need space, tab and new line, in precisely that order.
8726
 
as_nl='
8727
 
'
8728
 
IFS="   $as_nl"
8729
 
 
8730
 
# CDPATH.
8731
 
$as_unset CDPATH
8732
 
 
8733
 
exec 6>&1
8734
 
 
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.
8738
 
exec 5>>config.log
8739
 
{
8740
 
  echo
8741
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
8742
 
@%:@@%:@ Running $as_me. @%:@@%:@
8743
 
_ASBOX
8744
 
} >&5
8745
 
cat >&5 <<_CSEOF
8746
 
 
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
8749
 
 
8750
 
  CONFIG_FILES    = $CONFIG_FILES
8751
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
8752
 
  CONFIG_LINKS    = $CONFIG_LINKS
8753
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8754
 
  $ $0 $@
8755
 
 
8756
 
_CSEOF
8757
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8758
 
echo >&5
8759
 
_ACEOF
8760
 
 
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
8764
 
fi
8765
 
 
8766
 
if test -n "$ac_config_headers"; then
8767
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8768
 
fi
8769
 
 
8770
 
if test -n "$ac_config_links"; then
8771
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8772
 
fi
8773
 
 
8774
 
if test -n "$ac_config_commands"; then
8775
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8776
 
fi
8777
 
 
8778
 
cat >>$CONFIG_STATUS <<\_ACEOF
8779
 
 
8780
 
ac_cs_usage="\
8781
 
\`$as_me' instantiates files from templates according to the
8782
 
current configuration.
8783
 
 
8784
 
Usage: $0 [OPTIONS] [FILE]...
8785
 
 
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
8795
 
 
8796
 
Configuration files:
8797
 
$config_files
8798
 
 
8799
 
Configuration headers:
8800
 
$config_headers
8801
 
 
8802
 
Report bugs to <bug-autoconf@gnu.org>."
8803
 
_ACEOF
8804
 
 
8805
 
cat >>$CONFIG_STATUS <<_ACEOF
8806
 
ac_cs_version="\\
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'`\\"
8810
 
 
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."
8814
 
srcdir=$srcdir
8815
 
INSTALL="$INSTALL"
8816
 
_ACEOF
8817
 
 
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.
8821
 
ac_need_defaults=:
8822
 
while test $# != 0
8823
 
do
8824
 
  case $1 in
8825
 
  --*=*)
8826
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8827
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8828
 
    ac_shift=:
8829
 
    ;;
8830
 
  -*)
8831
 
    ac_option=$1
8832
 
    ac_optarg=$2
8833
 
    ac_shift=shift
8834
 
    ;;
8835
 
  *) # This is not an option, so the user has probably given explicit
8836
 
     # arguments.
8837
 
     ac_option=$1
8838
 
     ac_need_defaults=false;;
8839
 
  esac
8840
 
 
8841
 
  case $ac_option in
8842
 
  # Handling of the options.
8843
 
_ACEOF
8844
 
cat >>$CONFIG_STATUS <<\_ACEOF
8845
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8846
 
    ac_cs_recheck=: ;;
8847
 
  --version | --vers* | -V )
8848
 
    echo "$ac_cs_version"; exit 0 ;;
8849
 
  --he | --h)
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 )
8859
 
    debug=: ;;
8860
 
  --file | --fil | --fi | --f )
8861
 
    $ac_shift
8862
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8863
 
    ac_need_defaults=false;;
8864
 
  --header | --heade | --head | --hea )
8865
 
    $ac_shift
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)
8870
 
    ac_cs_silent=: ;;
8871
 
 
8872
 
  # This is an error.
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; }; } ;;
8878
 
 
8879
 
  *) ac_config_targets="$ac_config_targets $1" ;;
8880
 
 
8881
 
  esac
8882
 
  shift
8883
 
done
8884
 
 
8885
 
ac_configure_extra_args=
8886
 
 
8887
 
if $ac_cs_silent; then
8888
 
  exec 6>/dev/null
8889
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
8890
 
fi
8891
 
 
8892
 
_ACEOF
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
8897
 
fi
8898
 
 
8899
 
_ACEOF
8900
 
 
8901
 
 
8902
 
 
8903
 
 
8904
 
 
8905
 
cat >>$CONFIG_STATUS <<\_ACEOF
8906
 
for ac_config_target in $ac_config_targets
8907
 
do
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; }; };;
8918
 
  esac
8919
 
done
8920
 
 
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
8928
 
fi
8929
 
 
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.
8934
 
$debug ||
8935
 
{
8936
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8937
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
8938
 
}
8939
 
 
8940
 
# Create a (secure) tmp directory for tmp files.
8941
 
 
8942
 
{
8943
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8944
 
  test -n "$tmp" && test -d "$tmp"
8945
 
}  ||
8946
 
{
8947
 
  tmp=./confstat$$-$RANDOM
8948
 
  (umask 077 && mkdir $tmp)
8949
 
} ||
8950
 
{
8951
 
   echo "$me: cannot create a temporary directory in ." >&2
8952
 
   { (exit 1); exit 1; }
8953
 
}
8954
 
 
8955
 
_ACEOF
8956
 
 
8957
 
cat >>$CONFIG_STATUS <<_ACEOF
8958
 
 
8959
 
#
8960
 
# CONFIG_FILES section.
8961
 
#
8962
 
 
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
8994
 
s,@DEFS@,$DEFS,;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
8998
 
s,@LIBS@,$LIBS,;t t
8999
 
s,@CXX@,$CXX,;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
9006
 
s,@CC@,$CC,;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
9012
 
s,@AWK@,$AWK,;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
9031
 
s,@CPP@,$CPP,;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
9044
 
CEOF
9045
 
 
9046
 
_ACEOF
9047
 
 
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.
9051
 
  ac_max_sed_lines=48
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.
9055
 
  ac_more_lines=:
9056
 
  ac_sed_cmds=
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
9060
 
    else
9061
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9062
 
    fi
9063
 
    if test ! -s $tmp/subs.frag; then
9064
 
      ac_more_lines=false
9065
 
    else
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.
9070
 
      (echo ':t
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"
9074
 
      else
9075
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9076
 
      fi
9077
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
9078
 
      ac_beg=$ac_end
9079
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
9080
 
    fi
9081
 
  done
9082
 
  if test -z "$ac_sed_cmds"; then
9083
 
    ac_sed_cmds=cat
9084
 
  fi
9085
 
fi # test -n "$CONFIG_FILES"
9086
 
 
9087
 
_ACEOF
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".
9091
 
  case $ac_file in
9092
 
  - | *:- | *:-:* ) # input from stdin
9093
 
        cat >$tmp/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 ;;
9099
 
  esac
9100
 
 
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 ||
9108
 
echo X"$ac_file" |
9109
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9110
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9111
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9112
 
          /^X\(\/\).*/{ s//\1/; q; }
9113
 
          s/.*/./; q'`
9114
 
  { if $as_mkdir_p; then
9115
 
    mkdir -p "$ac_dir"
9116
 
  else
9117
 
    as_dir="$ac_dir"
9118
 
    as_dirs=
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 ||
9127
 
echo X"$as_dir" |
9128
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9129
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9130
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9131
 
          /^X\(\/\).*/{ s//\1/; q; }
9132
 
          s/.*/./; q'`
9133
 
    done
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; }; }; }
9138
 
 
9139
 
  ac_builddir=.
9140
 
 
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'`
9145
 
else
9146
 
  ac_dir_suffix= ac_top_builddir=
9147
 
fi
9148
 
 
9149
 
case $srcdir in
9150
 
  .)  # No --srcdir option.  We are building in place.
9151
 
    ac_srcdir=.
9152
 
    if test -z "$ac_top_builddir"; then
9153
 
       ac_top_srcdir=.
9154
 
    else
9155
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9156
 
    fi ;;
9157
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
9158
 
    ac_srcdir=$srcdir$ac_dir_suffix;
9159
 
    ac_top_srcdir=$srcdir ;;
9160
 
  *) # Relative path.
9161
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9162
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9163
 
esac
9164
 
 
9165
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9166
 
# the directories may not exist.
9167
 
case `pwd` in
9168
 
.) ac_abs_builddir="$ac_dir";;
9169
 
*)
9170
 
  case "$ac_dir" in
9171
 
  .) ac_abs_builddir=`pwd`;;
9172
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9173
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9174
 
  esac;;
9175
 
esac
9176
 
case $ac_abs_builddir in
9177
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9178
 
*)
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}.;;
9183
 
  esac;;
9184
 
esac
9185
 
case $ac_abs_builddir in
9186
 
.) ac_abs_srcdir=$ac_srcdir;;
9187
 
*)
9188
 
  case $ac_srcdir in
9189
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9190
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9191
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9192
 
  esac;;
9193
 
esac
9194
 
case $ac_abs_builddir in
9195
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9196
 
*)
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;;
9201
 
  esac;;
9202
 
esac
9203
 
 
9204
 
 
9205
 
  case $INSTALL in
9206
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9207
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9208
 
  esac
9209
 
 
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;}
9213
 
    rm -f "$ac_file"
9214
 
  fi
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
9219
 
    configure_input=
9220
 
  else
9221
 
    configure_input="$ac_file.  "
9222
 
  fi
9223
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
9224
 
                                     sed 's,.*/,,'` by configure."
9225
 
 
9226
 
  # First look for the input files in the build tree, otherwise in the
9227
 
  # src tree.
9228
 
  ac_file_inputs=`IFS=:
9229
 
    for f in $ac_file_in; do
9230
 
      case $f in
9231
 
      -) echo $tmp/stdin ;;
9232
 
      [\\/$]*)
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; }; }
9237
 
         echo "$f";;
9238
 
      *) # Relative
9239
 
         if test -f "$f"; then
9240
 
           # Build tree
9241
 
           echo "$f"
9242
 
         elif test -f "$srcdir/$f"; then
9243
 
           # Source tree
9244
 
           echo "$srcdir/$f"
9245
 
         else
9246
 
           # /dev/null tree
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; }; }
9250
 
         fi;;
9251
 
      esac
9252
 
    done` || { (exit 1); exit 1; }
9253
 
_ACEOF
9254
 
cat >>$CONFIG_STATUS <<_ACEOF
9255
 
  sed "$ac_vpsub
9256
 
$extrasub
9257
 
_ACEOF
9258
 
cat >>$CONFIG_STATUS <<\_ACEOF
9259
 
:t
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
9272
 
  rm -f $tmp/stdin
9273
 
  if test x"$ac_file" != x-; then
9274
 
    mv $tmp/out $ac_file
9275
 
  else
9276
 
    cat $tmp/out
9277
 
    rm -f $tmp/out
9278
 
  fi
9279
 
 
9280
 
done
9281
 
_ACEOF
9282
 
cat >>$CONFIG_STATUS <<\_ACEOF
9283
 
 
9284
 
#
9285
 
# CONFIG_HEADER section.
9286
 
#
9287
 
 
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.
9290
 
#
9291
 
# ac_d sets the value in "#define NAME VALUE" lines.
9292
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9293
 
ac_dB='[         ].*$,\1#\2'
9294
 
ac_dC=' '
9295
 
ac_dD=',;t'
9296
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9297
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9298
 
ac_uB='$,\1#\2define\3'
9299
 
ac_uC=' '
9300
 
ac_uD=',;t'
9301
 
 
9302
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9303
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9304
 
  case $ac_file in
9305
 
  - | *:- | *:-:* ) # input from stdin
9306
 
        cat >$tmp/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 ;;
9312
 
  esac
9313
 
 
9314
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9315
 
echo "$as_me: creating $ac_file" >&6;}
9316
 
 
9317
 
  # First look for the input files in the build tree, otherwise in the
9318
 
  # src tree.
9319
 
  ac_file_inputs=`IFS=:
9320
 
    for f in $ac_file_in; do
9321
 
      case $f in
9322
 
      -) echo $tmp/stdin ;;
9323
 
      [\\/$]*)
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.
9329
 
         echo "$f";;
9330
 
      *) # Relative
9331
 
         if test -f "$f"; then
9332
 
           # Build tree
9333
 
           echo "$f"
9334
 
         elif test -f "$srcdir/$f"; then
9335
 
           # Source tree
9336
 
           echo "$srcdir/$f"
9337
 
         else
9338
 
           # /dev/null tree
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; }; }
9342
 
         fi;;
9343
 
      esac
9344
 
    done` || { (exit 1); exit 1; }
9345
 
  # Remove the trailing spaces.
9346
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9347
 
 
9348
 
_ACEOF
9349
 
 
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
9356
 
# in config.status.
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.
9360
 
#
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
9365
 
s/[\\&,]/\\&/g
9366
 
s,[\\$`],\\&,g
9367
 
t clear
9368
 
: clear
9369
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9370
 
t end
9371
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9372
 
: end
9373
 
_ACEOF
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
9380
 
 
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]*,/* & */,
9386
 
_ACEOF
9387
 
 
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
9394
 
rm -f conftest.tail
9395
 
while grep . conftest.defines >/dev/null
9396
 
do
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
9405
 
  echo 'CEOF
9406
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
9407
 
  rm -f $tmp/in
9408
 
  mv $tmp/out $tmp/in
9409
 
' >>$CONFIG_STATUS
9410
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9411
 
  rm -f conftest.defines
9412
 
  mv conftest.tail conftest.defines
9413
 
done
9414
 
rm -f conftest.defines
9415
 
echo '  fi # grep' >>$CONFIG_STATUS
9416
 
echo >>$CONFIG_STATUS
9417
 
 
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
9421
 
rm -f conftest.tail
9422
 
while grep . conftest.undefs >/dev/null
9423
 
do
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
9432
 
  echo 'CEOF
9433
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9434
 
  rm -f $tmp/in
9435
 
  mv $tmp/out $tmp/in
9436
 
' >>$CONFIG_STATUS
9437
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9438
 
  rm -f conftest.undefs
9439
 
  mv conftest.tail conftest.undefs
9440
 
done
9441
 
rm -f conftest.undefs
9442
 
 
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
9449
 
  else
9450
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9451
 
  fi
9452
 
  cat $tmp/in >>$tmp/config.h
9453
 
  rm -f $tmp/in
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;}
9458
 
    else
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 ||
9465
 
echo X"$ac_file" |
9466
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9467
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9468
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9469
 
          /^X\(\/\).*/{ s//\1/; q; }
9470
 
          s/.*/./; q'`
9471
 
      { if $as_mkdir_p; then
9472
 
    mkdir -p "$ac_dir"
9473
 
  else
9474
 
    as_dir="$ac_dir"
9475
 
    as_dirs=
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 ||
9484
 
echo X"$as_dir" |
9485
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9486
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9487
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9488
 
          /^X\(\/\).*/{ s//\1/; q; }
9489
 
          s/.*/./; q'`
9490
 
    done
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; }; }; }
9495
 
 
9496
 
      rm -f $ac_file
9497
 
      mv $tmp/config.h $ac_file
9498
 
    fi
9499
 
  else
9500
 
    cat $tmp/config.h
9501
 
    rm -f $tmp/config.h
9502
 
  fi
9503
 
done
9504
 
_ACEOF
9505
 
 
9506
 
cat >>$CONFIG_STATUS <<\_ACEOF
9507
 
 
9508
 
{ (exit 0); exit 0; }
9509
 
_ACEOF
9510
 
chmod +x $CONFIG_STATUS
9511
 
ac_clean_files=$ac_clean_files_save
9512
 
 
9513
 
 
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
9523
 
  ac_cs_success=:
9524
 
  ac_config_status_args=
9525
 
  test "$silent" = yes &&
9526
 
    ac_config_status_args="$ac_config_status_args --quiet"
9527
 
  exec 5>/dev/null
9528
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9529
 
  exec 5>>config.log
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; }
9533
 
fi
9534
 
 
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 "**************************************************************"
9541
 
fi