~ubuntu-branches/ubuntu/gutsy/flac/gutsy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2001-12-10 03:09:22 UTC
  • Revision ID: james.westby@ubuntu.com-20011210030922-93iejqrd90rd6zll
Tags: 1.0.2-1
* New upstream release.
* Fixes a bug which crashed the input plugins after playing a few files
  (Closes: #123210)
* Fixes issues with the assembler optimizations, so that they can be
  re-enabled for better performance on i386

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
 
2
 
2
3
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by Autoconf 2.52.
 
4
# Generated automatically using autoconf version 2.13 
 
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
4
6
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6
 
# Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
 
 
10
# Defaults:
 
11
ac_help=
 
12
ac_default_prefix=/usr/local
 
13
# Any additions from configure.in:
 
14
ac_help="$ac_help
 
15
  --disable-dependency-tracking Speeds up one-time builds
 
16
  --enable-dependency-tracking  Do not reject slow dependency extractors"
 
17
ac_help="$ac_help
 
18
  --enable-shared[=PKGS]  build shared libraries [default=yes]"
 
19
ac_help="$ac_help
 
20
  --enable-static[=PKGS]  build static libraries [default=yes]"
 
21
ac_help="$ac_help
 
22
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
 
23
ac_help="$ac_help
 
24
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
 
25
 
10
26
# Find the correct PATH separator.  Usually this is `:', but
11
27
# DJGPP uses `;' like DOS.
12
28
if test "X${PATH_SEPARATOR+set}" != Xset; then
18
34
  PATH_SEPARATOR=$lt_cv_sys_path_separator
19
35
fi
20
36
 
 
37
 
21
38
# Check that we are running under the correct shell.
22
39
SHELL=${CONFIG_SHELL-/bin/sh}
23
40
 
163
180
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
164
181
fi
165
182
 
166
 
# Avoid depending upon Character Ranges.
167
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
168
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
169
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
170
 
as_cr_digits='0123456789'
171
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
172
 
 
173
 
# Sed expression to map a string onto a valid variable name.
174
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
175
 
 
176
 
# Sed expression to map a string onto a valid CPP name.
177
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
178
 
 
179
 
# Be Bourne compatible
180
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
181
 
  emulate sh
182
 
  NULLCMD=:
183
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
184
 
  set -o posix
185
 
fi
186
 
 
187
 
# Name of the executable.
188
 
as_me=`echo "$0" |sed 's,.*[\\/],,'`
189
 
 
190
 
if expr a : '\(a\)' >/dev/null 2>&1; then
191
 
  as_expr=expr
192
 
else
193
 
  as_expr=false
194
 
fi
195
 
 
196
 
rm -f conf$$ conf$$.exe conf$$.file
197
 
echo >conf$$.file
198
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
199
 
  # We could just check for DJGPP; but this test a) works b) is more generic
200
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201
 
  if test -f conf$$.exe; then
202
 
    # Don't use ln at all; we don't have any links
203
 
    as_ln_s='cp -p'
204
 
  else
205
 
    as_ln_s='ln -s'
206
 
  fi
207
 
elif ln conf$$.file conf$$ 2>/dev/null; then
208
 
  as_ln_s=ln
209
 
else
210
 
  as_ln_s='cp -p'
211
 
fi
212
 
rm -f conf$$ conf$$.exe conf$$.file
213
 
 
214
 
as_executable_p="test -f"
215
 
 
216
 
# Support unset when possible.
217
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
218
 
  as_unset=unset
219
 
else
220
 
  as_unset=false
221
 
fi
222
 
 
223
 
# NLS nuisances.
224
 
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
225
 
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
226
 
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
227
 
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
228
 
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
229
 
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
230
 
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
231
 
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
232
 
 
233
 
# IFS
234
 
# We need space, tab and new line, in precisely that order.
235
 
as_nl='
236
 
'
237
 
IFS="   $as_nl"
238
 
 
239
 
# CDPATH.
240
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
241
 
 
242
 
# Name of the host.
243
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
244
 
# so uname gets run too.
245
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
246
 
 
247
 
exec 6>&1
248
 
 
249
 
#
250
 
# Initializations.
251
 
#
252
 
ac_default_prefix=/usr/local
253
 
cross_compiling=no
254
 
subdirs=
255
 
MFLAGS= MAKEFLAGS=
256
 
SHELL=${CONFIG_SHELL-/bin/sh}
257
 
 
258
 
# Maximum number of lines to put in a shell here document.
259
 
# This variable seems obsolete.  It should probably be removed, and
260
 
# only ac_max_sed_lines should be used.
261
 
: ${ac_max_here_lines=38}
262
 
 
263
 
ac_unique_file="src/flac/main.c"
264
 
# Factoring default headers for most tests.
265
 
ac_includes_default="\
266
 
#include <stdio.h>
267
 
#if HAVE_SYS_TYPES_H
268
 
# include <sys/types.h>
269
 
#endif
270
 
#if HAVE_SYS_STAT_H
271
 
# include <sys/stat.h>
272
 
#endif
273
 
#if STDC_HEADERS
274
 
# include <stdlib.h>
275
 
# include <stddef.h>
276
 
#else
277
 
# if HAVE_STDLIB_H
278
 
#  include <stdlib.h>
279
 
# endif
280
 
#endif
281
 
#if HAVE_STRING_H
282
 
# if !STDC_HEADERS && HAVE_MEMORY_H
283
 
#  include <memory.h>
284
 
# endif
285
 
# include <string.h>
286
 
#endif
287
 
#if HAVE_STRINGS_H
288
 
# include <strings.h>
289
 
#endif
290
 
#if HAVE_INTTYPES_H
291
 
# include <inttypes.h>
292
 
#else
293
 
# if HAVE_STDINT_H
294
 
#  include <stdint.h>
295
 
# endif
296
 
#endif
297
 
#if HAVE_UNISTD_H
298
 
# include <unistd.h>
299
 
#endif"
 
183
 
 
184
ac_help="$ac_help
 
185
  --disable-libtool-lock  avoid locking (might break parallel builds)"
 
186
ac_help="$ac_help
 
187
  --with-pic              try to use only PIC/non-PIC objects [default=use both]"
 
188
ac_help="$ac_help
 
189
  --disable-asm-optimizations    Don't use any assembly optimization routines"
 
190
ac_help="$ac_help
 
191
  --enable-debug                 Turn on debugging"
 
192
ac_help="$ac_help
 
193
  --enable-sse                   Enable SSE support by asserting that the OS supports SSE instructions"
 
194
ac_help="$ac_help
 
195
  --enable-3dnow                 Enable 3DNOW! support"
 
196
ac_help="$ac_help
 
197
  --with-xmms-prefix=PFX  Prefix where XMMS is installed (optional)"
 
198
ac_help="$ac_help
 
199
  --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)"
300
200
 
301
201
# Initialize some variables set by options.
302
 
ac_init_help=
303
 
ac_init_version=false
304
202
# The variables have the same names as the options, with
305
203
# dashes changed to underlines.
306
 
cache_file=/dev/null
 
204
build=NONE
 
205
cache_file=./config.cache
307
206
exec_prefix=NONE
 
207
host=NONE
308
208
no_create=
 
209
nonopt=NONE
309
210
no_recursion=
310
211
prefix=NONE
311
212
program_prefix=NONE
314
215
silent=
315
216
site=
316
217
srcdir=
 
218
target=NONE
317
219
verbose=
318
220
x_includes=NONE
319
221
x_libraries=NONE
320
 
 
321
 
# Installation directory options.
322
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
323
 
# and all the variables that are supposed to be based on exec_prefix
324
 
# by default will actually change.
325
 
# Use braces instead of parens because sh, perl, etc. also accept them.
326
222
bindir='${exec_prefix}/bin'
327
223
sbindir='${exec_prefix}/sbin'
328
224
libexecdir='${exec_prefix}/libexec'
336
232
infodir='${prefix}/info'
337
233
mandir='${prefix}/man'
338
234
 
339
 
# Identity of this package.
340
 
PACKAGE_NAME=
341
 
PACKAGE_TARNAME=
342
 
PACKAGE_VERSION=
343
 
PACKAGE_STRING=
344
 
PACKAGE_BUGREPORT=
 
235
# Initialize some other variables.
 
236
subdirs=
 
237
MFLAGS= MAKEFLAGS=
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
# Maximum number of lines to put in a shell here document.
 
240
ac_max_here_lines=12
345
241
 
346
242
ac_prev=
347
243
for ac_option
348
244
do
 
245
 
349
246
  # If the previous option needs an argument, assign it.
350
247
  if test -n "$ac_prev"; then
351
248
    eval "$ac_prev=\$ac_option"
353
250
    continue
354
251
  fi
355
252
 
356
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
253
  case "$ac_option" in
 
254
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
 
255
  *) ac_optarg= ;;
 
256
  esac
357
257
 
358
258
  # Accept the important Cygnus configure options, so we can diagnose typos.
359
259
 
360
 
  case $ac_option in
 
260
  case "$ac_option" in
361
261
 
362
262
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
363
263
    ac_prev=bindir ;;
364
264
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
365
 
    bindir=$ac_optarg ;;
 
265
    bindir="$ac_optarg" ;;
366
266
 
367
267
  -build | --build | --buil | --bui | --bu)
368
 
    ac_prev=build_alias ;;
 
268
    ac_prev=build ;;
369
269
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
370
 
    build_alias=$ac_optarg ;;
 
270
    build="$ac_optarg" ;;
371
271
 
372
272
  -cache-file | --cache-file | --cache-fil | --cache-fi \
373
273
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
374
274
    ac_prev=cache_file ;;
375
275
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
376
276
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
377
 
    cache_file=$ac_optarg ;;
378
 
 
379
 
  --config-cache | -C)
380
 
    cache_file=config.cache ;;
 
277
    cache_file="$ac_optarg" ;;
381
278
 
382
279
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
383
280
    ac_prev=datadir ;;
384
281
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
385
282
  | --da=*)
386
 
    datadir=$ac_optarg ;;
 
283
    datadir="$ac_optarg" ;;
387
284
 
388
285
  -disable-* | --disable-*)
389
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
286
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
390
287
    # Reject names that are not valid shell variable names.
391
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
392
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
393
 
   { (exit 1); exit 1; }; }
394
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
395
 
    eval "enable_$ac_feature=no" ;;
 
288
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
 
289
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 
290
    fi
 
291
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
 
292
    eval "enable_${ac_feature}=no" ;;
396
293
 
397
294
  -enable-* | --enable-*)
398
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
295
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
399
296
    # Reject names that are not valid shell variable names.
400
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402
 
   { (exit 1); exit 1; }; }
403
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
 
    case $ac_option in
405
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
297
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
 
298
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 
299
    fi
 
300
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
 
301
    case "$ac_option" in
 
302
      *=*) ;;
406
303
      *) ac_optarg=yes ;;
407
304
    esac
408
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
305
    eval "enable_${ac_feature}='$ac_optarg'" ;;
409
306
 
410
307
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
411
308
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
414
311
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
415
312
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
416
313
  | --exec=* | --exe=* | --ex=*)
417
 
    exec_prefix=$ac_optarg ;;
 
314
    exec_prefix="$ac_optarg" ;;
418
315
 
419
316
  -gas | --gas | --ga | --g)
420
317
    # Obsolete; use --with-gas.
421
318
    with_gas=yes ;;
422
319
 
423
 
  -help | --help | --hel | --he | -h)
424
 
    ac_init_help=long ;;
425
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
426
 
    ac_init_help=recursive ;;
427
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
428
 
    ac_init_help=short ;;
 
320
  -help | --help | --hel | --he)
 
321
    # Omit some internal or obsolete options to make the list less imposing.
 
322
    # This message is too long to be a string in the A/UX 3.1 sh.
 
323
    cat << EOF
 
324
Usage: configure [options] [host]
 
325
Options: [defaults in brackets after descriptions]
 
326
Configuration:
 
327
  --cache-file=FILE       cache test results in FILE
 
328
  --help                  print this message
 
329
  --no-create             do not create output files
 
330
  --quiet, --silent       do not print \`checking...' messages
 
331
  --version               print the version of autoconf that created configure
 
332
Directory and file names:
 
333
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
334
                          [$ac_default_prefix]
 
335
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
336
                          [same as prefix]
 
337
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
 
338
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
 
339
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
 
340
  --datadir=DIR           read-only architecture-independent data in DIR
 
341
                          [PREFIX/share]
 
342
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
 
343
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
 
344
                          [PREFIX/com]
 
345
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
 
346
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
 
347
  --includedir=DIR        C header files in DIR [PREFIX/include]
 
348
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
 
349
  --infodir=DIR           info documentation in DIR [PREFIX/info]
 
350
  --mandir=DIR            man documentation in DIR [PREFIX/man]
 
351
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
 
352
  --program-prefix=PREFIX prepend PREFIX to installed program names
 
353
  --program-suffix=SUFFIX append SUFFIX to installed program names
 
354
  --program-transform-name=PROGRAM
 
355
                          run sed PROGRAM on installed program names
 
356
EOF
 
357
    cat << EOF
 
358
Host type:
 
359
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
 
360
  --host=HOST             configure for HOST [guessed]
 
361
  --target=TARGET         configure for TARGET [TARGET=HOST]
 
362
Features and packages:
 
363
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
364
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
365
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
366
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
367
  --x-includes=DIR        X include files are in DIR
 
368
  --x-libraries=DIR       X library files are in DIR
 
369
EOF
 
370
    if test -n "$ac_help"; then
 
371
      echo "--enable and --with options recognized:$ac_help"
 
372
    fi
 
373
    exit 0 ;;
429
374
 
430
375
  -host | --host | --hos | --ho)
431
 
    ac_prev=host_alias ;;
 
376
    ac_prev=host ;;
432
377
  -host=* | --host=* | --hos=* | --ho=*)
433
 
    host_alias=$ac_optarg ;;
 
378
    host="$ac_optarg" ;;
434
379
 
435
380
  -includedir | --includedir | --includedi | --included | --include \
436
381
  | --includ | --inclu | --incl | --inc)
437
382
    ac_prev=includedir ;;
438
383
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
439
384
  | --includ=* | --inclu=* | --incl=* | --inc=*)
440
 
    includedir=$ac_optarg ;;
 
385
    includedir="$ac_optarg" ;;
441
386
 
442
387
  -infodir | --infodir | --infodi | --infod | --info | --inf)
443
388
    ac_prev=infodir ;;
444
389
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
445
 
    infodir=$ac_optarg ;;
 
390
    infodir="$ac_optarg" ;;
446
391
 
447
392
  -libdir | --libdir | --libdi | --libd)
448
393
    ac_prev=libdir ;;
449
394
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
450
 
    libdir=$ac_optarg ;;
 
395
    libdir="$ac_optarg" ;;
451
396
 
452
397
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
453
398
  | --libexe | --libex | --libe)
454
399
    ac_prev=libexecdir ;;
455
400
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
456
401
  | --libexe=* | --libex=* | --libe=*)
457
 
    libexecdir=$ac_optarg ;;
 
402
    libexecdir="$ac_optarg" ;;
458
403
 
459
404
  -localstatedir | --localstatedir | --localstatedi | --localstated \
460
405
  | --localstate | --localstat | --localsta | --localst \
463
408
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
464
409
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
465
410
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
466
 
    localstatedir=$ac_optarg ;;
 
411
    localstatedir="$ac_optarg" ;;
467
412
 
468
413
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
469
414
    ac_prev=mandir ;;
470
415
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
471
 
    mandir=$ac_optarg ;;
 
416
    mandir="$ac_optarg" ;;
472
417
 
473
418
  -nfp | --nfp | --nf)
474
419
    # Obsolete; use --without-fp.
489
434
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
490
435
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
491
436
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
492
 
    oldincludedir=$ac_optarg ;;
 
437
    oldincludedir="$ac_optarg" ;;
493
438
 
494
439
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
495
440
    ac_prev=prefix ;;
496
441
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
497
 
    prefix=$ac_optarg ;;
 
442
    prefix="$ac_optarg" ;;
498
443
 
499
444
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
500
445
  | --program-pre | --program-pr | --program-p)
501
446
    ac_prev=program_prefix ;;
502
447
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
503
448
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
504
 
    program_prefix=$ac_optarg ;;
 
449
    program_prefix="$ac_optarg" ;;
505
450
 
506
451
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
507
452
  | --program-suf | --program-su | --program-s)
508
453
    ac_prev=program_suffix ;;
509
454
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
510
455
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
511
 
    program_suffix=$ac_optarg ;;
 
456
    program_suffix="$ac_optarg" ;;
512
457
 
513
458
  -program-transform-name | --program-transform-name \
514
459
  | --program-transform-nam | --program-transform-na \
525
470
  | --program-transfo=* | --program-transf=* \
526
471
  | --program-trans=* | --program-tran=* \
527
472
  | --progr-tra=* | --program-tr=* | --program-t=*)
528
 
    program_transform_name=$ac_optarg ;;
 
473
    program_transform_name="$ac_optarg" ;;
529
474
 
530
475
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
531
476
  | -silent | --silent | --silen | --sile | --sil)
535
480
    ac_prev=sbindir ;;
536
481
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
537
482
  | --sbi=* | --sb=*)
538
 
    sbindir=$ac_optarg ;;
 
483
    sbindir="$ac_optarg" ;;
539
484
 
540
485
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
541
486
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
546
491
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
547
492
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
548
493
  | --sha=* | --sh=*)
549
 
    sharedstatedir=$ac_optarg ;;
 
494
    sharedstatedir="$ac_optarg" ;;
550
495
 
551
496
  -site | --site | --sit)
552
497
    ac_prev=site ;;
553
498
  -site=* | --site=* | --sit=*)
554
 
    site=$ac_optarg ;;
 
499
    site="$ac_optarg" ;;
555
500
 
556
501
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
557
502
    ac_prev=srcdir ;;
558
503
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
559
 
    srcdir=$ac_optarg ;;
 
504
    srcdir="$ac_optarg" ;;
560
505
 
561
506
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
562
507
  | --syscon | --sysco | --sysc | --sys | --sy)
563
508
    ac_prev=sysconfdir ;;
564
509
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
565
510
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
566
 
    sysconfdir=$ac_optarg ;;
 
511
    sysconfdir="$ac_optarg" ;;
567
512
 
568
513
  -target | --target | --targe | --targ | --tar | --ta | --t)
569
 
    ac_prev=target_alias ;;
 
514
    ac_prev=target ;;
570
515
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
571
 
    target_alias=$ac_optarg ;;
 
516
    target="$ac_optarg" ;;
572
517
 
573
518
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
574
519
    verbose=yes ;;
575
520
 
576
 
  -version | --version | --versio | --versi | --vers | -V)
577
 
    ac_init_version=: ;;
 
521
  -version | --version | --versio | --versi | --vers)
 
522
    echo "configure generated by autoconf version 2.13"
 
523
    exit 0 ;;
578
524
 
579
525
  -with-* | --with-*)
580
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
526
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
581
527
    # Reject names that are not valid shell variable names.
582
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
583
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
584
 
   { (exit 1); exit 1; }; }
 
528
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
 
529
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 
530
    fi
585
531
    ac_package=`echo $ac_package| sed 's/-/_/g'`
586
 
    case $ac_option in
587
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
532
    case "$ac_option" in
 
533
      *=*) ;;
588
534
      *) ac_optarg=yes ;;
589
535
    esac
590
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
536
    eval "with_${ac_package}='$ac_optarg'" ;;
591
537
 
592
538
  -without-* | --without-*)
593
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
539
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
594
540
    # Reject names that are not valid shell variable names.
595
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
596
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
597
 
   { (exit 1); exit 1; }; }
598
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
599
 
    eval "with_$ac_package=no" ;;
 
541
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
 
542
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 
543
    fi
 
544
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
545
    eval "with_${ac_package}=no" ;;
600
546
 
601
547
  --x)
602
548
    # Obsolete; use --with-x.
607
553
    ac_prev=x_includes ;;
608
554
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
609
555
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
610
 
    x_includes=$ac_optarg ;;
 
556
    x_includes="$ac_optarg" ;;
611
557
 
612
558
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
613
559
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
614
560
    ac_prev=x_libraries ;;
615
561
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
616
562
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
617
 
    x_libraries=$ac_optarg ;;
 
563
    x_libraries="$ac_optarg" ;;
618
564
 
619
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
620
 
Try \`$0 --help' for more information." >&2
621
 
   { (exit 1); exit 1; }; }
 
565
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
622
566
    ;;
623
567
 
624
 
  *=*)
625
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
626
 
    # Reject names that are not valid shell variable names.
627
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
628
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
629
 
   { (exit 1); exit 1; }; }
630
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
631
 
    eval "$ac_envvar='$ac_optarg'"
632
 
    export $ac_envvar ;;
633
 
 
634
568
  *)
635
 
    # FIXME: should be removed in autoconf 3.0.
636
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
637
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
638
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
639
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
569
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
 
570
      echo "configure: warning: $ac_option: invalid host type" 1>&2
 
571
    fi
 
572
    if test "x$nonopt" != xNONE; then
 
573
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
 
574
    fi
 
575
    nonopt="$ac_option"
640
576
    ;;
641
577
 
642
578
  esac
643
579
done
644
580
 
645
581
if test -n "$ac_prev"; then
646
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
647
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
648
 
   { (exit 1); exit 1; }; }
649
 
fi
650
 
 
651
 
# Be sure to have absolute paths.
652
 
for ac_var in exec_prefix prefix
653
 
do
654
 
  eval ac_val=$`echo $ac_var`
655
 
  case $ac_val in
656
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
657
 
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
658
 
   { (exit 1); exit 1; }; };;
659
 
  esac
660
 
done
661
 
 
662
 
# Be sure to have absolute paths.
663
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
664
 
              localstatedir libdir includedir oldincludedir infodir mandir
665
 
do
666
 
  eval ac_val=$`echo $ac_var`
667
 
  case $ac_val in
668
 
    [\\/$]* | ?:[\\/]* ) ;;
669
 
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
670
 
   { (exit 1); exit 1; }; };;
671
 
  esac
672
 
done
673
 
 
674
 
# There might be people who depend on the old broken behavior: `$host'
675
 
# used to hold the argument of --host etc.
676
 
build=$build_alias
677
 
host=$host_alias
678
 
target=$target_alias
679
 
 
680
 
# FIXME: should be removed in autoconf 3.0.
681
 
if test "x$host_alias" != x; then
682
 
  if test "x$build_alias" = x; then
683
 
    cross_compiling=maybe
684
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
685
 
    If a cross compiler is detected then cross compile mode will be used." >&2
686
 
  elif test "x$build_alias" != "x$host_alias"; then
687
 
    cross_compiling=yes
688
 
  fi
689
 
fi
690
 
 
691
 
ac_tool_prefix=
692
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
693
 
 
694
 
test "$silent" = yes && exec 6>/dev/null
 
582
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
 
583
fi
 
584
 
 
585
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
586
 
 
587
# File descriptor usage:
 
588
# 0 standard input
 
589
# 1 file creation
 
590
# 2 errors and warnings
 
591
# 3 some systems may open it to /dev/tty
 
592
# 4 used on the Kubota Titan
 
593
# 6 checking for... messages and results
 
594
# 5 compiler messages saved in config.log
 
595
if test "$silent" = yes; then
 
596
  exec 6>/dev/null
 
597
else
 
598
  exec 6>&1
 
599
fi
 
600
exec 5>./config.log
 
601
 
 
602
echo "\
 
603
This file contains any messages produced by compilers while
 
604
running configure, to aid debugging if configure makes a mistake.
 
605
" 1>&5
 
606
 
 
607
# Strip out --no-create and --no-recursion so they do not pile up.
 
608
# Also quote any args containing shell metacharacters.
 
609
ac_configure_args=
 
610
for ac_arg
 
611
do
 
612
  case "$ac_arg" in
 
613
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
614
  | --no-cr | --no-c) ;;
 
615
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
616
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
 
617
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
 
618
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
619
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
 
620
  esac
 
621
done
 
622
 
 
623
# NLS nuisances.
 
624
# Only set these to C if already set.  These must not be set unconditionally
 
625
# because not all systems understand e.g. LANG=C (notably SCO).
 
626
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
 
627
# Non-C LC_CTYPE values break the ctype check.
 
628
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
 
629
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
 
630
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
 
631
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
632
 
 
633
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
634
rm -rf conftest* confdefs.h
 
635
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
636
echo > confdefs.h
 
637
 
 
638
# A filename unique to this package, relative to the directory that
 
639
# configure is in, which we can look for to find out if srcdir is correct.
 
640
ac_unique_file=src/flac/main.c
695
641
 
696
642
# Find the source files, if location was not specified.
697
643
if test -z "$srcdir"; then
698
644
  ac_srcdir_defaulted=yes
699
645
  # Try the directory containing this script, then its parent.
700
646
  ac_prog=$0
701
 
  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
 
647
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
702
648
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
703
649
  srcdir=$ac_confdir
704
650
  if test ! -r $srcdir/$ac_unique_file; then
709
655
fi
710
656
if test ! -r $srcdir/$ac_unique_file; then
711
657
  if test "$ac_srcdir_defaulted" = yes; then
712
 
    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
713
 
   { (exit 1); exit 1; }; }
 
658
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
714
659
  else
715
 
    { echo "$as_me: error: cannot find sources in $srcdir" >&2
716
 
   { (exit 1); exit 1; }; }
717
 
  fi
718
 
fi
719
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
720
 
ac_env_build_alias_set=${build_alias+set}
721
 
ac_env_build_alias_value=$build_alias
722
 
ac_cv_env_build_alias_set=${build_alias+set}
723
 
ac_cv_env_build_alias_value=$build_alias
724
 
ac_env_host_alias_set=${host_alias+set}
725
 
ac_env_host_alias_value=$host_alias
726
 
ac_cv_env_host_alias_set=${host_alias+set}
727
 
ac_cv_env_host_alias_value=$host_alias
728
 
ac_env_target_alias_set=${target_alias+set}
729
 
ac_env_target_alias_value=$target_alias
730
 
ac_cv_env_target_alias_set=${target_alias+set}
731
 
ac_cv_env_target_alias_value=$target_alias
732
 
ac_env_CC_set=${CC+set}
733
 
ac_env_CC_value=$CC
734
 
ac_cv_env_CC_set=${CC+set}
735
 
ac_cv_env_CC_value=$CC
736
 
ac_env_CFLAGS_set=${CFLAGS+set}
737
 
ac_env_CFLAGS_value=$CFLAGS
738
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
739
 
ac_cv_env_CFLAGS_value=$CFLAGS
740
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
741
 
ac_env_LDFLAGS_value=$LDFLAGS
742
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
743
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
744
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
745
 
ac_env_CPPFLAGS_value=$CPPFLAGS
746
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
747
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
748
 
ac_env_CPP_set=${CPP+set}
749
 
ac_env_CPP_value=$CPP
750
 
ac_cv_env_CPP_set=${CPP+set}
751
 
ac_cv_env_CPP_value=$CPP
752
 
 
753
 
#
754
 
# Report the --help message.
755
 
#
756
 
if test "$ac_init_help" = "long"; then
757
 
  # Omit some internal or obsolete options to make the list less imposing.
758
 
  # This message is too long to be a string in the A/UX 3.1 sh.
759
 
  cat <<EOF
760
 
\`configure' configures this package to adapt to many kinds of systems.
761
 
 
762
 
Usage: $0 [OPTION]... [VAR=VALUE]...
763
 
 
764
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
765
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
766
 
 
767
 
Defaults for the options are specified in brackets.
768
 
 
769
 
Configuration:
770
 
  -h, --help              display this help and exit
771
 
      --help=short        display options specific to this package
772
 
      --help=recursive    display the short help of all the included packages
773
 
  -V, --version           display version information and exit
774
 
  -q, --quiet, --silent   do not print \`checking...' messages
775
 
      --cache-file=FILE   cache test results in FILE [disabled]
776
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
777
 
  -n, --no-create         do not create output files
778
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
779
 
 
780
 
EOF
781
 
 
782
 
  cat <<EOF
783
 
Installation directories:
784
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
785
 
                          [$ac_default_prefix]
786
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
787
 
                          [PREFIX]
788
 
 
789
 
By default, \`make install' will install all the files in
790
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
791
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
792
 
for instance \`--prefix=\$HOME'.
793
 
 
794
 
For better control, use the options below.
795
 
 
796
 
Fine tuning of the installation directories:
797
 
  --bindir=DIR           user executables [EPREFIX/bin]
798
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
799
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
800
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
801
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
802
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
803
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
804
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
805
 
  --includedir=DIR       C header files [PREFIX/include]
806
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
807
 
  --infodir=DIR          info documentation [PREFIX/info]
808
 
  --mandir=DIR           man documentation [PREFIX/man]
809
 
EOF
810
 
 
811
 
  cat <<\EOF
812
 
 
813
 
Program names:
814
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
815
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
816
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
817
 
 
818
 
System types:
819
 
  --build=BUILD     configure for building on BUILD [guessed]
820
 
  --host=HOST       build programs to run on HOST [BUILD]
821
 
EOF
822
 
fi
823
 
 
824
 
if test -n "$ac_init_help"; then
825
 
 
826
 
  cat <<\EOF
827
 
 
828
 
Optional Features:
829
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
830
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
831
 
  --disable-dependency-tracking Speeds up one-time builds
832
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
833
 
  --enable-shared=PKGS  build shared libraries default=yes
834
 
  --enable-static=PKGS  build static libraries default=yes
835
 
  --enable-fast-install=PKGS  optimize for fast installation default=yes
836
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
837
 
  --disable-asm-optimizations    Don't use any assembly optimization routines
838
 
  --enable-debug                 Turn on debugging
839
 
  --enable-sse                   Enable SSE support by asserting that the OS supports SSE instructions
840
 
  --enable-3dnow                 Enable 3DNOW! support
841
 
 
842
 
Optional Packages:
843
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
844
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
845
 
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
846
 
  --with-pic              try to use only PIC/non-PIC objects default=use both
847
 
  --with-xmms-prefix=PFX  Prefix where XMMS is installed (optional)
848
 
  --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)
849
 
 
850
 
Some influential environment variables:
851
 
  CC          C compiler command
852
 
  CFLAGS      C compiler flags
853
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
854
 
              nonstandard directory <lib dir>
855
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
856
 
              headers in a nonstandard directory <include dir>
857
 
  CPP         C preprocessor
858
 
 
859
 
Use these variables to override the choices made by `configure' or to help
860
 
it to find libraries and programs with nonstandard names/locations.
861
 
 
862
 
EOF
863
 
fi
864
 
 
865
 
if test "$ac_init_help" = "recursive"; then
866
 
  # If there are subdirs, report their specific --help.
867
 
  ac_popdir=`pwd`
868
 
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
869
 
    cd $ac_subdir
870
 
    # A "../" for each directory in /$ac_subdir.
871
 
    ac_dots=`echo $ac_subdir |
872
 
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
873
 
 
874
 
    case $srcdir in
875
 
    .) # No --srcdir option.  We are building in place.
876
 
      ac_sub_srcdir=$srcdir ;;
877
 
    [\\/]* | ?:[\\/]* ) # Absolute path.
878
 
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
879
 
    *) # Relative path.
880
 
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
881
 
    esac
882
 
 
883
 
    # Check for guested configure; otherwise get Cygnus style configure.
884
 
    if test -f $ac_sub_srcdir/configure.gnu; then
885
 
      echo
886
 
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
887
 
    elif test -f $ac_sub_srcdir/configure; then
888
 
      echo
889
 
      $SHELL $ac_sub_srcdir/configure  --help=recursive
890
 
    elif test -f $ac_sub_srcdir/configure.ac ||
891
 
           test -f $ac_sub_srcdir/configure.in; then
892
 
      echo
893
 
      $ac_configure --help
894
 
    else
895
 
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
896
 
    fi
897
 
    cd $ac_popdir
898
 
  done
899
 
fi
900
 
 
901
 
test -n "$ac_init_help" && exit 0
902
 
if $ac_init_version; then
903
 
  cat <<\EOF
904
 
 
905
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
906
 
Free Software Foundation, Inc.
907
 
This configure script is free software; the Free Software Foundation
908
 
gives unlimited permission to copy, distribute and modify it.
909
 
EOF
910
 
  exit 0
911
 
fi
912
 
exec 5>config.log
913
 
cat >&5 <<EOF
914
 
This file contains any messages produced by compilers while
915
 
running configure, to aid debugging if configure makes a mistake.
916
 
 
917
 
It was created by $as_me, which was
918
 
generated by GNU Autoconf 2.52.  Invocation command line was
919
 
 
920
 
  $ $0 $@
921
 
 
922
 
EOF
923
 
{
924
 
cat <<_ASUNAME
925
 
## ---------- ##
926
 
## Platform.  ##
927
 
## ---------- ##
928
 
 
929
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
930
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
931
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
932
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
933
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
934
 
 
935
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
936
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
937
 
 
938
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
939
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
940
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
941
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
942
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
943
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
944
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
945
 
 
946
 
PATH = $PATH
947
 
 
948
 
_ASUNAME
949
 
} >&5
950
 
 
951
 
cat >&5 <<EOF
952
 
## ------------ ##
953
 
## Core tests.  ##
954
 
## ------------ ##
955
 
 
956
 
EOF
957
 
 
958
 
# Keep a trace of the command line.
959
 
# Strip out --no-create and --no-recursion so they do not pile up.
960
 
# Also quote any args containing shell meta-characters.
961
 
ac_configure_args=
962
 
ac_sep=
963
 
for ac_arg
964
 
do
965
 
  case $ac_arg in
966
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
967
 
  | --no-cr | --no-c) ;;
968
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
970
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
971
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
972
 
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
973
 
    ac_sep=" " ;;
974
 
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
975
 
     ac_sep=" " ;;
976
 
  esac
977
 
  # Get rid of the leading space.
978
 
done
979
 
 
980
 
# When interrupted or exit'd, cleanup temporary files, and complete
981
 
# config.log.  We remove comments because anyway the quotes in there
982
 
# would cause problems or look ugly.
983
 
trap 'exit_status=$?
984
 
  # Save into config.log some information that might help in debugging.
985
 
  echo >&5
986
 
  echo "## ----------------- ##" >&5
987
 
  echo "## Cache variables.  ##" >&5
988
 
  echo "## ----------------- ##" >&5
989
 
  echo >&5
990
 
  # The following way of writing the cache mishandles newlines in values,
991
 
{
992
 
  (set) 2>&1 |
993
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
994
 
    *ac_space=\ *)
995
 
      sed -n \
996
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
997
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
998
 
      ;;
999
 
    *)
1000
 
      sed -n \
1001
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1002
 
      ;;
1003
 
    esac;
1004
 
} >&5
1005
 
  sed "/^$/d" confdefs.h >conftest.log
1006
 
  if test -s conftest.log; then
1007
 
    echo >&5
1008
 
    echo "## ------------ ##" >&5
1009
 
    echo "## confdefs.h.  ##" >&5
1010
 
    echo "## ------------ ##" >&5
1011
 
    echo >&5
1012
 
    cat conftest.log >&5
1013
 
  fi
1014
 
  (echo; echo) >&5
1015
 
  test "$ac_signal" != 0 &&
1016
 
    echo "$as_me: caught signal $ac_signal" >&5
1017
 
  echo "$as_me: exit $exit_status" >&5
1018
 
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1019
 
    exit $exit_status
1020
 
     ' 0
1021
 
for ac_signal in 1 2 13 15; do
1022
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1023
 
done
1024
 
ac_signal=0
1025
 
 
1026
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1027
 
rm -rf conftest* confdefs.h
1028
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1029
 
echo >confdefs.h
1030
 
 
1031
 
# Let the site file select an alternate cache file if it wants to.
 
660
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 
661
  fi
 
662
fi
 
663
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
 
664
 
1032
665
# Prefer explicitly selected file to automatically selected ones.
1033
666
if test -z "$CONFIG_SITE"; then
1034
667
  if test "x$prefix" != xNONE; then
1039
672
fi
1040
673
for ac_site_file in $CONFIG_SITE; do
1041
674
  if test -r "$ac_site_file"; then
1042
 
    { echo "$as_me:1042: loading site script $ac_site_file" >&5
1043
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1044
 
    cat "$ac_site_file" >&5
 
675
    echo "loading site script $ac_site_file"
1045
676
    . "$ac_site_file"
1046
677
  fi
1047
678
done
1048
679
 
1049
680
if test -r "$cache_file"; then
1050
 
  # Some versions of bash will fail to source /dev/null (special
1051
 
  # files actually), so we avoid doing that.
1052
 
  if test -f "$cache_file"; then
1053
 
    { echo "$as_me:1053: loading cache $cache_file" >&5
1054
 
echo "$as_me: loading cache $cache_file" >&6;}
1055
 
    case $cache_file in
1056
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1057
 
      *)                      . ./$cache_file;;
1058
 
    esac
1059
 
  fi
 
681
  echo "loading cache $cache_file"
 
682
  . $cache_file
1060
683
else
1061
 
  { echo "$as_me:1061: creating cache $cache_file" >&5
1062
 
echo "$as_me: creating cache $cache_file" >&6;}
1063
 
  >$cache_file
1064
 
fi
1065
 
 
1066
 
# Check that the precious variables saved in the cache have kept the same
1067
 
# value.
1068
 
ac_cache_corrupted=false
1069
 
for ac_var in `(set) 2>&1 |
1070
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1071
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1072
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1073
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1074
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
1075
 
  case $ac_old_set,$ac_new_set in
1076
 
    set,)
1077
 
      { echo "$as_me:1077: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1078
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1079
 
      ac_cache_corrupted=: ;;
1080
 
    ,set)
1081
 
      { echo "$as_me:1081: error: \`$ac_var' was not set in the previous run" >&5
1082
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1083
 
      ac_cache_corrupted=: ;;
1084
 
    ,);;
1085
 
    *)
1086
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1087
 
        { echo "$as_me:1087: error: \`$ac_var' has changed since the previous run:" >&5
1088
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1089
 
        { echo "$as_me:1089:   former value:  $ac_old_val" >&5
1090
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1091
 
        { echo "$as_me:1091:   current value: $ac_new_val" >&5
1092
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1093
 
        ac_cache_corrupted=:
1094
 
      fi;;
1095
 
  esac
1096
 
  # Pass precious variables to config.status.  It doesn't matter if
1097
 
  # we pass some twice (in addition to the command line arguments).
1098
 
  if test "$ac_new_set" = set; then
1099
 
    case $ac_new_val in
1100
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1101
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
1102
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1103
 
      ;;
1104
 
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
1105
 
       ;;
1106
 
    esac
1107
 
  fi
1108
 
done
1109
 
if $ac_cache_corrupted; then
1110
 
  { echo "$as_me:1110: error: changes in the environment can compromise the build" >&5
1111
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1112
 
  { { echo "$as_me:1112: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1113
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1114
 
   { (exit 1); exit 1; }; }
 
684
  echo "creating cache $cache_file"
 
685
  > $cache_file
1115
686
fi
1116
687
 
1117
688
ac_ext=c
 
689
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1118
690
ac_cpp='$CPP $CPPFLAGS'
1119
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1120
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1121
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
691
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
692
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
693
cross_compiling=$ac_cv_prog_cc_cross
1122
694
 
1123
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1124
 
  *c*,-n*) ECHO_N= ECHO_C='
1125
 
' ECHO_T='      ' ;;
1126
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1127
 
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
1128
 
esac
1129
 
echo "#! $SHELL" >conftest.sh
1130
 
echo  "exit 0"   >>conftest.sh
1131
 
chmod +x conftest.sh
1132
 
if { (echo "$as_me:1132: PATH=\".;.\"; conftest.sh") >&5
1133
 
  (PATH=".;."; conftest.sh) 2>&5
1134
 
  ac_status=$?
1135
 
  echo "$as_me:1135: \$? = $ac_status" >&5
1136
 
  (exit $ac_status); }; then
1137
 
  ac_path_separator=';'
 
695
ac_exeext=
 
696
ac_objext=o
 
697
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
 
698
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
 
699
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
 
700
    ac_n= ac_c='
 
701
' ac_t='        '
 
702
  else
 
703
    ac_n=-n ac_c= ac_t=
 
704
  fi
1138
705
else
1139
 
  ac_path_separator=:
 
706
  ac_n= ac_c='\c' ac_t=
1140
707
fi
1141
 
PATH_SEPARATOR="$ac_path_separator"
1142
 
rm -f conftest.sh
 
708
 
1143
709
 
1144
710
ac_aux_dir=
1145
711
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1151
717
    ac_aux_dir=$ac_dir
1152
718
    ac_install_sh="$ac_aux_dir/install.sh -c"
1153
719
    break
1154
 
  elif test -f $ac_dir/shtool; then
1155
 
    ac_aux_dir=$ac_dir
1156
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1157
 
    break
1158
720
  fi
1159
721
done
1160
722
if test -z "$ac_aux_dir"; then
1161
 
  { { echo "$as_me:1161: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1162
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1163
 
   { (exit 1); exit 1; }; }
 
723
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1164
724
fi
1165
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1166
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1167
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
725
ac_config_guess=$ac_aux_dir/config.guess
 
726
ac_config_sub=$ac_aux_dir/config.sub
 
727
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 
728
 
 
729
 
 
730
# expand $ac_aux_dir to an absolute path
 
731
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1168
732
 
1169
733
# Find a good install program.  We prefer a C program (faster),
1170
734
# so one script is as good as another.  But avoid the broken or
1173
737
# SunOS /usr/etc/install
1174
738
# IRIX /sbin/install
1175
739
# AIX /bin/install
1176
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
1177
740
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1178
741
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1179
742
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1180
743
# ./install, which can be erroneously created by make from ./install.sh.
1181
 
echo "$as_me:1181: checking for a BSD compatible install" >&5
1182
 
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 
744
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 
745
echo "configure:746: checking for a BSD compatible install" >&5
1183
746
if test -z "$INSTALL"; then
1184
 
if test "${ac_cv_path_install+set}" = set; then
1185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
747
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
 
748
  echo $ac_n "(cached) $ac_c" 1>&6
1186
749
else
1187
 
    ac_save_IFS=$IFS; IFS=$ac_path_separator
 
750
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1188
751
  for ac_dir in $PATH; do
1189
 
    IFS=$ac_save_IFS
1190
752
    # Account for people who put trailing slashes in PATH elements.
1191
 
    case $ac_dir/ in
1192
 
    / | ./ | .// | /cC/* \
1193
 
    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1194
 
    | /usr/ucb/* ) ;;
 
753
    case "$ac_dir/" in
 
754
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1195
755
    *)
1196
756
      # OSF1 and SCO ODT 3.0 have their own names for install.
1197
757
      # Don't use installbsd from OSF since it installs stuff as root
1198
758
      # by default.
1199
759
      for ac_prog in ginstall scoinst install; do
1200
 
        if $as_executable_p "$ac_dir/$ac_prog"; then
 
760
        if test -f $ac_dir/$ac_prog; then
1201
761
          if test $ac_prog = install &&
1202
 
            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 
762
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1203
763
            # AIX install.  It has an incompatible calling convention.
1204
764
            :
1205
 
          elif test $ac_prog = install &&
1206
 
            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1207
 
            # program-specific install script used by HP pwplus--don't use.
1208
 
            :
1209
765
          else
1210
766
            ac_cv_path_install="$ac_dir/$ac_prog -c"
1211
767
            break 2
1215
771
      ;;
1216
772
    esac
1217
773
  done
 
774
  IFS="$ac_save_IFS"
1218
775
 
1219
776
fi
1220
777
  if test "${ac_cv_path_install+set}" = set; then
1221
 
    INSTALL=$ac_cv_path_install
 
778
    INSTALL="$ac_cv_path_install"
1222
779
  else
1223
780
    # As a last resort, use the slow shell script.  We don't cache a
1224
781
    # path for INSTALL within a source directory, because that will
1225
782
    # break other packages using the cache if that directory is
1226
783
    # removed, or if the path is relative.
1227
 
    INSTALL=$ac_install_sh
 
784
    INSTALL="$ac_install_sh"
1228
785
  fi
1229
786
fi
1230
 
echo "$as_me:1230: result: $INSTALL" >&5
1231
 
echo "${ECHO_T}$INSTALL" >&6
 
787
echo "$ac_t""$INSTALL" 1>&6
1232
788
 
1233
789
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1234
790
# It thinks the first close brace ends the variable substitution.
1235
791
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1236
792
 
1237
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
793
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1238
794
 
1239
795
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1240
796
 
1241
 
echo "$as_me:1241: checking whether build environment is sane" >&5
1242
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
797
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
 
798
echo "configure:799: checking whether build environment is sane" >&5
1243
799
# Just in case
1244
800
sleep 1
1245
801
echo timestamp > conftest.file
1262
818
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1263
819
      # broken ls alias from the environment.  This has actually
1264
820
      # happened.  Such a system could not be considered "sane".
1265
 
      { { echo "$as_me:1265: error: ls -t appears to fail.  Make sure there is not a broken
1266
 
alias in your environment" >&5
1267
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1268
 
alias in your environment" >&2;}
1269
 
   { (exit 1); exit 1; }; }
 
821
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
 
822
alias in your environment" 1>&2; exit 1; }
1270
823
   fi
1271
824
 
1272
825
   test "$2" = conftest.file
1275
828
   # Ok.
1276
829
   :
1277
830
else
1278
 
   { { echo "$as_me:1278: error: newly created file is older than distributed files!
1279
 
Check your system clock" >&5
1280
 
echo "$as_me: error: newly created file is older than distributed files!
1281
 
Check your system clock" >&2;}
1282
 
   { (exit 1); exit 1; }; }
1283
 
fi
1284
 
echo "$as_me:1284: result: yes" >&5
1285
 
echo "${ECHO_T}yes" >&6
 
831
   { echo "configure: error: newly created file is older than distributed files!
 
832
Check your system clock" 1>&2; exit 1; }
 
833
fi
 
834
echo "$ac_t""yes" 1>&6
 
835
if test "$program_transform_name" = s,x,x,; then
 
836
  program_transform_name=
 
837
else
 
838
  # Double any \ or $.  echo might interpret backslashes.
 
839
  cat <<\EOF_SED > conftestsed
 
840
s,\\,\\\\,g; s,\$,$$,g
 
841
EOF_SED
 
842
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
 
843
  rm -f conftestsed
 
844
fi
1286
845
test "$program_prefix" != NONE &&
1287
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
846
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
1288
847
# Use a double $ so make ignores it.
1289
848
test "$program_suffix" != NONE &&
1290
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1291
 
# Double any \ or $.  echo might interpret backslashes.
1292
 
# By default was `s,x,x', remove it if useless.
1293
 
cat <<\_ACEOF >conftest.sed
1294
 
s/[\\$]/&&/g;s/;s,x,x,$//
1295
 
_ACEOF
1296
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1297
 
rm conftest.sed
 
849
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1298
850
 
1299
 
# expand $ac_aux_dir to an absolute path
1300
 
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
 
851
# sed with no file args requires a program.
 
852
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1301
853
 
1302
854
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1303
855
# Use eval to expand $SHELL
1306
858
else
1307
859
  am_missing_run=
1308
860
  am_backtick='`'
1309
 
  { echo "$as_me:1309: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1310
 
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 
861
  echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2
1311
862
fi
1312
863
 
1313
864
for ac_prog in mawk gawk nawk awk
1314
865
do
1315
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
866
# Extract the first word of "$ac_prog", so it can be a program name with args.
1316
867
set dummy $ac_prog; ac_word=$2
1317
 
echo "$as_me:1317: checking for $ac_word" >&5
1318
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1319
 
if test "${ac_cv_prog_AWK+set}" = set; then
1320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
868
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
869
echo "configure:870: checking for $ac_word" >&5
 
870
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
 
871
  echo $ac_n "(cached) $ac_c" 1>&6
1321
872
else
1322
873
  if test -n "$AWK"; then
1323
874
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1324
875
else
1325
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1326
 
ac_dummy="$PATH"
1327
 
for ac_dir in $ac_dummy; do
1328
 
  IFS=$ac_save_IFS
1329
 
  test -z "$ac_dir" && ac_dir=.
1330
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1331
 
ac_cv_prog_AWK="$ac_prog"
1332
 
echo "$as_me:1332: found $ac_dir/$ac_word" >&5
1333
 
break
1334
 
done
1335
 
 
1336
 
fi
1337
 
fi
1338
 
AWK=$ac_cv_prog_AWK
 
876
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
877
  ac_dummy="$PATH"
 
878
  for ac_dir in $ac_dummy; do
 
879
    test -z "$ac_dir" && ac_dir=.
 
880
    if test -f $ac_dir/$ac_word; then
 
881
      ac_cv_prog_AWK="$ac_prog"
 
882
      break
 
883
    fi
 
884
  done
 
885
  IFS="$ac_save_ifs"
 
886
fi
 
887
fi
 
888
AWK="$ac_cv_prog_AWK"
1339
889
if test -n "$AWK"; then
1340
 
  echo "$as_me:1340: result: $AWK" >&5
1341
 
echo "${ECHO_T}$AWK" >&6
 
890
  echo "$ac_t""$AWK" 1>&6
1342
891
else
1343
 
  echo "$as_me:1343: result: no" >&5
1344
 
echo "${ECHO_T}no" >&6
 
892
  echo "$ac_t""no" 1>&6
1345
893
fi
1346
894
 
1347
 
  test -n "$AWK" && break
 
895
test -n "$AWK" && break
1348
896
done
1349
897
 
1350
 
echo "$as_me:1350: checking whether ${MAKE-make} sets \${MAKE}" >&5
1351
 
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1352
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1353
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1354
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
898
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 
899
echo "configure:900: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
900
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 
901
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
 
902
  echo $ac_n "(cached) $ac_c" 1>&6
1355
903
else
1356
 
  cat >conftest.make <<\EOF
 
904
  cat > conftestmake <<\EOF
1357
905
all:
1358
906
        @echo 'ac_maketemp="${MAKE}"'
1359
907
EOF
1360
908
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1361
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
909
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1362
910
if test -n "$ac_maketemp"; then
1363
911
  eval ac_cv_prog_make_${ac_make}_set=yes
1364
912
else
1365
913
  eval ac_cv_prog_make_${ac_make}_set=no
1366
914
fi
1367
 
rm -f conftest.make
 
915
rm -f conftestmake
1368
916
fi
1369
917
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1370
 
  echo "$as_me:1370: result: yes" >&5
1371
 
echo "${ECHO_T}yes" >&6
 
918
  echo "$ac_t""yes" 1>&6
1372
919
  SET_MAKE=
1373
920
else
1374
 
  echo "$as_me:1374: result: no" >&5
1375
 
echo "${ECHO_T}no" >&6
 
921
  echo "$ac_t""no" 1>&6
1376
922
  SET_MAKE="MAKE=${MAKE-make}"
1377
923
fi
1378
924
 
1379
925
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1380
926
if test "${enable_dependency_tracking+set}" = set; then
1381
927
  enableval="$enable_dependency_tracking"
 
928
  :
 
929
fi
1382
930
 
1383
 
fi;
1384
931
if test "x$enable_dependency_tracking" != xno; then
1385
932
  am_depcomp="$ac_aux_dir/depcomp"
1386
933
  AMDEPBACKSLASH='\'
1387
934
fi
1388
935
 
 
936
 
1389
937
if test "x$enable_dependency_tracking" != xno; then
1390
938
  AMDEP_TRUE=
1391
939
  AMDEP_FALSE='#'
1394
942
  AMDEP_FALSE=
1395
943
fi
1396
944
 
 
945
 
 
946
 
 
947
 
1397
948
rm -f .deps 2>/dev/null
1398
949
mkdir .deps 2>/dev/null
1399
950
if test -d .deps; then
1404
955
fi
1405
956
rmdir .deps 2>/dev/null
1406
957
 
 
958
 
1407
959
# test to see if srcdir already configured
1408
960
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1409
961
   test -f $srcdir/config.status; then
1410
 
  { { echo "$as_me:1410: error: source directory already configured; run \"make distclean\" there first" >&5
1411
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1412
 
   { (exit 1); exit 1; }; }
 
962
  { echo "configure: error: source directory already configured; run \"make distclean\" there first" 1>&2; exit 1; }
1413
963
fi
1414
964
 
1415
965
# Define the identity of the package.
1416
966
PACKAGE=flac
1417
967
VERSION=1.0.2
1418
 
 
1419
 
cat >>confdefs.h <<EOF
 
968
cat >> confdefs.h <<EOF
1420
969
#define PACKAGE "$PACKAGE"
1421
970
EOF
1422
971
 
1423
 
cat >>confdefs.h <<EOF
 
972
cat >> confdefs.h <<EOF
1424
973
#define VERSION "$VERSION"
1425
974
EOF
1426
975
 
 
976
 
1427
977
# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1428
978
# the ones we care about.
1429
979
 
1435
985
# requests that it be used.  This is a bit dumb.
1436
986
: ${OBJEXT=o}
1437
987
 
 
988
 
1438
989
# Some tools Automake needs.
1439
990
 
1440
991
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1441
992
 
 
993
 
1442
994
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1443
995
 
 
996
 
1444
997
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1445
998
 
 
999
 
1446
1000
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1447
1001
 
 
1002
 
1448
1003
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1449
1004
 
 
1005
 
1450
1006
AMTAR=${AMTAR-"${am_missing_run}tar"}
1451
1007
 
1452
1008
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1456
1012
# We need awk for the "check" target.  The system "awk" is bad on
1457
1013
# some platforms.
1458
1014
 
 
1015
 
1459
1016
# We need two libtools, one that builds both shared and static, and
1460
1017
# one that builds only static.  This is because the resulting libtool
1461
1018
# does not allow us to choose which to build at runtime.
1462
 
# Check whether --enable-shared or --disable-shared was given.
1463
 
if test "${enable_shared+set}" = set; then
1464
 
  enableval="$enable_shared"
1465
 
  p=${PACKAGE-default}
1466
 
case $enableval in
1467
 
yes) enable_shared=yes ;;
1468
 
no) enable_shared=no ;;
1469
 
*)
1470
 
  enable_shared=no
1471
 
  # Look at the argument we got.  We use all the common list separators.
1472
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1473
 
  for pkg in $enableval; do
1474
 
    if test "X$pkg" = "X$p"; then
1475
 
      enable_shared=yes
1476
 
    fi
1477
 
  done
1478
 
  IFS="$ac_save_ifs"
1479
 
  ;;
1480
 
esac
1481
 
else
1482
 
  enable_shared=yes
1483
 
fi;
1484
 
# Check whether --enable-static or --disable-static was given.
1485
 
if test "${enable_static+set}" = set; then
1486
 
  enableval="$enable_static"
1487
 
  p=${PACKAGE-default}
1488
 
case $enableval in
1489
 
yes) enable_static=yes ;;
1490
 
no) enable_static=no ;;
1491
 
*)
1492
 
  enable_static=no
1493
 
  # Look at the argument we got.  We use all the common list separators.
1494
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1495
 
  for pkg in $enableval; do
1496
 
    if test "X$pkg" = "X$p"; then
1497
 
      enable_static=yes
1498
 
    fi
1499
 
  done
1500
 
  IFS="$ac_save_ifs"
1501
 
  ;;
1502
 
esac
1503
 
else
1504
 
  enable_static=yes
1505
 
fi;
1506
 
# Check whether --enable-fast-install or --disable-fast-install was given.
1507
 
if test "${enable_fast_install+set}" = set; then
1508
 
  enableval="$enable_fast_install"
1509
 
  p=${PACKAGE-default}
1510
 
case $enableval in
1511
 
yes) enable_fast_install=yes ;;
1512
 
no) enable_fast_install=no ;;
1513
 
*)
1514
 
  enable_fast_install=no
1515
 
  # Look at the argument we got.  We use all the common list separators.
1516
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1517
 
  for pkg in $enableval; do
1518
 
    if test "X$pkg" = "X$p"; then
1519
 
      enable_fast_install=yes
1520
 
    fi
1521
 
  done
1522
 
  IFS="$ac_save_ifs"
1523
 
  ;;
1524
 
esac
1525
 
else
1526
 
  enable_fast_install=yes
1527
 
fi;
1528
 
# Make sure we can run config.sub.
1529
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1530
 
  { { echo "$as_me:1530: error: cannot run $ac_config_sub" >&5
1531
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532
 
   { (exit 1); exit 1; }; }
1533
 
 
1534
 
echo "$as_me:1534: checking build system type" >&5
1535
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536
 
if test "${ac_cv_build+set}" = set; then
1537
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1538
 
else
1539
 
  ac_cv_build_alias=$build_alias
1540
 
test -z "$ac_cv_build_alias" &&
1541
 
  ac_cv_build_alias=`$ac_config_guess`
1542
 
test -z "$ac_cv_build_alias" &&
1543
 
  { { echo "$as_me:1543: error: cannot guess build type; you must specify one" >&5
1544
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545
 
   { (exit 1); exit 1; }; }
1546
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547
 
  { { echo "$as_me:1547: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1548
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1549
 
   { (exit 1); exit 1; }; }
1550
 
 
1551
 
fi
1552
 
echo "$as_me:1552: result: $ac_cv_build" >&5
1553
 
echo "${ECHO_T}$ac_cv_build" >&6
1554
 
build=$ac_cv_build
1555
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1558
 
 
1559
 
echo "$as_me:1559: checking host system type" >&5
1560
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1561
 
if test "${ac_cv_host+set}" = set; then
1562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1563
 
else
1564
 
  ac_cv_host_alias=$host_alias
1565
 
test -z "$ac_cv_host_alias" &&
1566
 
  ac_cv_host_alias=$ac_cv_build_alias
1567
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1568
 
  { { echo "$as_me:1568: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1569
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1570
 
   { (exit 1); exit 1; }; }
1571
 
 
1572
 
fi
1573
 
echo "$as_me:1573: result: $ac_cv_host" >&5
1574
 
echo "${ECHO_T}$ac_cv_host" >&6
1575
 
host=$ac_cv_host
1576
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1577
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1578
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1579
 
 
1580
 
ac_config_commands="$ac_config_commands default-1"
 
1019
 
1581
1020
 
1582
1021
am_make=${MAKE-make}
1583
1022
cat > confinc << 'END'
1585
1024
        @echo done
1586
1025
END
1587
1026
# If we don't find an include directive, just comment out the code.
1588
 
echo "$as_me:1588: checking for style of include used by $am_make" >&5
1589
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
1027
echo $ac_n "checking for style of include used by $am_make""... $ac_c" 1>&6
 
1028
echo "configure:1029: checking for style of include used by $am_make" >&5
1590
1029
am__include='#'
1591
1030
am__quote=
1592
1031
_am_result=none
1612
1051
   fi
1613
1052
fi
1614
1053
 
1615
 
echo "$as_me:1615: result: $_am_result" >&5
1616
 
echo "${ECHO_T}$_am_result" >&6
 
1054
 
 
1055
echo "$ac_t""$_am_result" 1>&6
1617
1056
rm -f confinc confmf
1618
1057
 
1619
 
ac_ext=c
1620
 
ac_cpp='$CPP $CPPFLAGS'
1621
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1622
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1623
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1624
 
if test -n "$ac_tool_prefix"; then
1625
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1626
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1627
 
echo "$as_me:1627: checking for $ac_word" >&5
1628
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1629
 
if test "${ac_cv_prog_CC+set}" = set; then
1630
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1631
 
else
1632
 
  if test -n "$CC"; then
1633
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1634
 
else
1635
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1636
 
ac_dummy="$PATH"
1637
 
for ac_dir in $ac_dummy; do
1638
 
  IFS=$ac_save_IFS
1639
 
  test -z "$ac_dir" && ac_dir=.
1640
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1641
 
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1642
 
echo "$as_me:1642: found $ac_dir/$ac_word" >&5
1643
 
break
1644
 
done
1645
 
 
1646
 
fi
1647
 
fi
1648
 
CC=$ac_cv_prog_CC
1649
 
if test -n "$CC"; then
1650
 
  echo "$as_me:1650: result: $CC" >&5
1651
 
echo "${ECHO_T}$CC" >&6
1652
 
else
1653
 
  echo "$as_me:1653: result: no" >&5
1654
 
echo "${ECHO_T}no" >&6
1655
 
fi
1656
 
 
1657
 
fi
1658
 
if test -z "$ac_cv_prog_CC"; then
1659
 
  ac_ct_CC=$CC
1660
 
  # Extract the first word of "gcc", so it can be a program name with args.
 
1058
# Find the correct PATH separator.  Usually this is `:', but
 
1059
# DJGPP uses `;' like DOS.
 
1060
if test "X${PATH_SEPARATOR+set}" != Xset; then
 
1061
  UNAME=${UNAME-`uname 2>/dev/null`}
 
1062
  case X$UNAME in
 
1063
    *-DOS) lt_cv_sys_path_separator=';' ;;
 
1064
    *)     lt_cv_sys_path_separator=':' ;;
 
1065
  esac
 
1066
  PATH_SEPARATOR=$lt_cv_sys_path_separator
 
1067
fi
 
1068
 
 
1069
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
 
1070
echo "configure:1071: checking for Cygwin environment" >&5
 
1071
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
 
1072
  echo $ac_n "(cached) $ac_c" 1>&6
 
1073
else
 
1074
  cat > conftest.$ac_ext <<EOF
 
1075
#line 1076 "configure"
 
1076
#include "confdefs.h"
 
1077
 
 
1078
int main() {
 
1079
 
 
1080
#ifndef __CYGWIN__
 
1081
#define __CYGWIN__ __CYGWIN32__
 
1082
#endif
 
1083
return __CYGWIN__;
 
1084
; return 0; }
 
1085
EOF
 
1086
if { (eval echo configure:1087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1087
  rm -rf conftest*
 
1088
  ac_cv_cygwin=yes
 
1089
else
 
1090
  echo "configure: failed program was:" >&5
 
1091
  cat conftest.$ac_ext >&5
 
1092
  rm -rf conftest*
 
1093
  ac_cv_cygwin=no
 
1094
fi
 
1095
rm -f conftest*
 
1096
rm -f conftest*
 
1097
fi
 
1098
 
 
1099
echo "$ac_t""$ac_cv_cygwin" 1>&6
 
1100
CYGWIN=
 
1101
test "$ac_cv_cygwin" = yes && CYGWIN=yes
 
1102
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
 
1103
echo "configure:1104: checking for mingw32 environment" >&5
 
1104
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
 
1105
  echo $ac_n "(cached) $ac_c" 1>&6
 
1106
else
 
1107
  cat > conftest.$ac_ext <<EOF
 
1108
#line 1109 "configure"
 
1109
#include "confdefs.h"
 
1110
 
 
1111
int main() {
 
1112
return __MINGW32__;
 
1113
; return 0; }
 
1114
EOF
 
1115
if { (eval echo configure:1116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1116
  rm -rf conftest*
 
1117
  ac_cv_mingw32=yes
 
1118
else
 
1119
  echo "configure: failed program was:" >&5
 
1120
  cat conftest.$ac_ext >&5
 
1121
  rm -rf conftest*
 
1122
  ac_cv_mingw32=no
 
1123
fi
 
1124
rm -f conftest*
 
1125
rm -f conftest*
 
1126
fi
 
1127
 
 
1128
echo "$ac_t""$ac_cv_mingw32" 1>&6
 
1129
MINGW32=
 
1130
test "$ac_cv_mingw32" = yes && MINGW32=yes
 
1131
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 
1132
echo "configure:1133: checking how to run the C preprocessor" >&5
 
1133
# On Suns, sometimes $CPP names a directory.
 
1134
if test -n "$CPP" && test -d "$CPP"; then
 
1135
  CPP=
 
1136
fi
 
1137
if test -z "$CPP"; then
 
1138
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 
1139
  echo $ac_n "(cached) $ac_c" 1>&6
 
1140
else
 
1141
    # This must be in double quotes, not single quotes, because CPP may get
 
1142
  # substituted into the Makefile and "${CC-cc}" will confuse make.
 
1143
  CPP="${CC-cc} -E"
 
1144
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
1145
  # not just through cpp.
 
1146
  cat > conftest.$ac_ext <<EOF
 
1147
#line 1148 "configure"
 
1148
#include "confdefs.h"
 
1149
#include <assert.h>
 
1150
Syntax Error
 
1151
EOF
 
1152
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
1153
{ (eval echo configure:1154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1154
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
1155
if test -z "$ac_err"; then
 
1156
  :
 
1157
else
 
1158
  echo "$ac_err" >&5
 
1159
  echo "configure: failed program was:" >&5
 
1160
  cat conftest.$ac_ext >&5
 
1161
  rm -rf conftest*
 
1162
  CPP="${CC-cc} -E -traditional-cpp"
 
1163
  cat > conftest.$ac_ext <<EOF
 
1164
#line 1165 "configure"
 
1165
#include "confdefs.h"
 
1166
#include <assert.h>
 
1167
Syntax Error
 
1168
EOF
 
1169
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
1170
{ (eval echo configure:1171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1171
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
1172
if test -z "$ac_err"; then
 
1173
  :
 
1174
else
 
1175
  echo "$ac_err" >&5
 
1176
  echo "configure: failed program was:" >&5
 
1177
  cat conftest.$ac_ext >&5
 
1178
  rm -rf conftest*
 
1179
  CPP="${CC-cc} -nologo -E"
 
1180
  cat > conftest.$ac_ext <<EOF
 
1181
#line 1182 "configure"
 
1182
#include "confdefs.h"
 
1183
#include <assert.h>
 
1184
Syntax Error
 
1185
EOF
 
1186
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
1187
{ (eval echo configure:1188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1188
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
1189
if test -z "$ac_err"; then
 
1190
  :
 
1191
else
 
1192
  echo "$ac_err" >&5
 
1193
  echo "configure: failed program was:" >&5
 
1194
  cat conftest.$ac_ext >&5
 
1195
  rm -rf conftest*
 
1196
  CPP=/lib/cpp
 
1197
fi
 
1198
rm -f conftest*
 
1199
fi
 
1200
rm -f conftest*
 
1201
fi
 
1202
rm -f conftest*
 
1203
  ac_cv_prog_CPP="$CPP"
 
1204
fi
 
1205
  CPP="$ac_cv_prog_CPP"
 
1206
else
 
1207
  ac_cv_prog_CPP="$CPP"
 
1208
fi
 
1209
echo "$ac_t""$CPP" 1>&6
 
1210
 
 
1211
# Check whether --enable-shared or --disable-shared was given.
 
1212
if test "${enable_shared+set}" = set; then
 
1213
  enableval="$enable_shared"
 
1214
  p=${PACKAGE-default}
 
1215
case $enableval in
 
1216
yes) enable_shared=yes ;;
 
1217
no) enable_shared=no ;;
 
1218
*)
 
1219
  enable_shared=no
 
1220
  # Look at the argument we got.  We use all the common list separators.
 
1221
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
1222
  for pkg in $enableval; do
 
1223
    if test "X$pkg" = "X$p"; then
 
1224
      enable_shared=yes
 
1225
    fi
 
1226
  done
 
1227
  IFS="$ac_save_ifs"
 
1228
  ;;
 
1229
esac
 
1230
else
 
1231
  enable_shared=yes
 
1232
fi
 
1233
 
 
1234
# Check whether --enable-static or --disable-static was given.
 
1235
if test "${enable_static+set}" = set; then
 
1236
  enableval="$enable_static"
 
1237
  p=${PACKAGE-default}
 
1238
case $enableval in
 
1239
yes) enable_static=yes ;;
 
1240
no) enable_static=no ;;
 
1241
*)
 
1242
  enable_static=no
 
1243
  # Look at the argument we got.  We use all the common list separators.
 
1244
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
1245
  for pkg in $enableval; do
 
1246
    if test "X$pkg" = "X$p"; then
 
1247
      enable_static=yes
 
1248
    fi
 
1249
  done
 
1250
  IFS="$ac_save_ifs"
 
1251
  ;;
 
1252
esac
 
1253
else
 
1254
  enable_static=yes
 
1255
fi
 
1256
 
 
1257
# Check whether --enable-fast-install or --disable-fast-install was given.
 
1258
if test "${enable_fast_install+set}" = set; then
 
1259
  enableval="$enable_fast_install"
 
1260
  p=${PACKAGE-default}
 
1261
case $enableval in
 
1262
yes) enable_fast_install=yes ;;
 
1263
no) enable_fast_install=no ;;
 
1264
*)
 
1265
  enable_fast_install=no
 
1266
  # Look at the argument we got.  We use all the common list separators.
 
1267
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 
1268
  for pkg in $enableval; do
 
1269
    if test "X$pkg" = "X$p"; then
 
1270
      enable_fast_install=yes
 
1271
    fi
 
1272
  done
 
1273
  IFS="$ac_save_ifs"
 
1274
  ;;
 
1275
esac
 
1276
else
 
1277
  enable_fast_install=yes
 
1278
fi
 
1279
 
 
1280
 
 
1281
# Make sure we can run config.sub.
 
1282
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
 
1283
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
 
1284
fi
 
1285
 
 
1286
echo $ac_n "checking host system type""... $ac_c" 1>&6
 
1287
echo "configure:1288: checking host system type" >&5
 
1288
 
 
1289
host_alias=$host
 
1290
case "$host_alias" in
 
1291
NONE)
 
1292
  case $nonopt in
 
1293
  NONE)
 
1294
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
 
1295
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
 
1296
    fi ;;
 
1297
  *) host_alias=$nonopt ;;
 
1298
  esac ;;
 
1299
esac
 
1300
 
 
1301
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
 
1302
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1303
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1304
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1305
echo "$ac_t""$host" 1>&6
 
1306
 
 
1307
echo $ac_n "checking build system type""... $ac_c" 1>&6
 
1308
echo "configure:1309: checking build system type" >&5
 
1309
 
 
1310
build_alias=$build
 
1311
case "$build_alias" in
 
1312
NONE)
 
1313
  case $nonopt in
 
1314
  NONE) build_alias=$host_alias ;;
 
1315
  *) build_alias=$nonopt ;;
 
1316
  esac ;;
 
1317
esac
 
1318
 
 
1319
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
 
1320
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1321
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1322
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1323
echo "$ac_t""$build" 1>&6
 
1324
 
 
1325
# Extract the first word of "gcc", so it can be a program name with args.
1661
1326
set dummy gcc; ac_word=$2
1662
 
echo "$as_me:1662: checking for $ac_word" >&5
1663
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1664
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1666
 
else
1667
 
  if test -n "$ac_ct_CC"; then
1668
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1669
 
else
1670
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1671
 
ac_dummy="$PATH"
1672
 
for ac_dir in $ac_dummy; do
1673
 
  IFS=$ac_save_IFS
1674
 
  test -z "$ac_dir" && ac_dir=.
1675
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1676
 
ac_cv_prog_ac_ct_CC="gcc"
1677
 
echo "$as_me:1677: found $ac_dir/$ac_word" >&5
1678
 
break
1679
 
done
1680
 
 
1681
 
fi
1682
 
fi
1683
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1684
 
if test -n "$ac_ct_CC"; then
1685
 
  echo "$as_me:1685: result: $ac_ct_CC" >&5
1686
 
echo "${ECHO_T}$ac_ct_CC" >&6
1687
 
else
1688
 
  echo "$as_me:1688: result: no" >&5
1689
 
echo "${ECHO_T}no" >&6
1690
 
fi
1691
 
 
1692
 
  CC=$ac_ct_CC
1693
 
else
1694
 
  CC="$ac_cv_prog_CC"
1695
 
fi
1696
 
 
1697
 
if test -z "$CC"; then
1698
 
  if test -n "$ac_tool_prefix"; then
1699
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1700
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
1701
 
echo "$as_me:1701: checking for $ac_word" >&5
1702
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703
 
if test "${ac_cv_prog_CC+set}" = set; then
1704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1327
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1328
echo "configure:1329: checking for $ac_word" >&5
 
1329
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
1330
  echo $ac_n "(cached) $ac_c" 1>&6
1705
1331
else
1706
1332
  if test -n "$CC"; then
1707
1333
  ac_cv_prog_CC="$CC" # Let the user override the test.
1708
1334
else
1709
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1710
 
ac_dummy="$PATH"
1711
 
for ac_dir in $ac_dummy; do
1712
 
  IFS=$ac_save_IFS
1713
 
  test -z "$ac_dir" && ac_dir=.
1714
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1715
 
ac_cv_prog_CC="${ac_tool_prefix}cc"
1716
 
echo "$as_me:1716: found $ac_dir/$ac_word" >&5
1717
 
break
1718
 
done
1719
 
 
1720
 
fi
1721
 
fi
1722
 
CC=$ac_cv_prog_CC
 
1335
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1336
  ac_dummy="$PATH"
 
1337
  for ac_dir in $ac_dummy; do
 
1338
    test -z "$ac_dir" && ac_dir=.
 
1339
    if test -f $ac_dir/$ac_word; then
 
1340
      ac_cv_prog_CC="gcc"
 
1341
      break
 
1342
    fi
 
1343
  done
 
1344
  IFS="$ac_save_ifs"
 
1345
fi
 
1346
fi
 
1347
CC="$ac_cv_prog_CC"
1723
1348
if test -n "$CC"; then
1724
 
  echo "$as_me:1724: result: $CC" >&5
1725
 
echo "${ECHO_T}$CC" >&6
1726
 
else
1727
 
  echo "$as_me:1727: result: no" >&5
1728
 
echo "${ECHO_T}no" >&6
1729
 
fi
1730
 
 
1731
 
fi
1732
 
if test -z "$ac_cv_prog_CC"; then
1733
 
  ac_ct_CC=$CC
1734
 
  # Extract the first word of "cc", so it can be a program name with args.
1735
 
set dummy cc; ac_word=$2
1736
 
echo "$as_me:1736: checking for $ac_word" >&5
1737
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1740
 
else
1741
 
  if test -n "$ac_ct_CC"; then
1742
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1743
 
else
1744
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1745
 
ac_dummy="$PATH"
1746
 
for ac_dir in $ac_dummy; do
1747
 
  IFS=$ac_save_IFS
1748
 
  test -z "$ac_dir" && ac_dir=.
1749
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1750
 
ac_cv_prog_ac_ct_CC="cc"
1751
 
echo "$as_me:1751: found $ac_dir/$ac_word" >&5
1752
 
break
1753
 
done
1754
 
 
1755
 
fi
1756
 
fi
1757
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1758
 
if test -n "$ac_ct_CC"; then
1759
 
  echo "$as_me:1759: result: $ac_ct_CC" >&5
1760
 
echo "${ECHO_T}$ac_ct_CC" >&6
1761
 
else
1762
 
  echo "$as_me:1762: result: no" >&5
1763
 
echo "${ECHO_T}no" >&6
1764
 
fi
1765
 
 
1766
 
  CC=$ac_ct_CC
1767
 
else
1768
 
  CC="$ac_cv_prog_CC"
1769
 
fi
1770
 
 
1771
 
fi
 
1349
  echo "$ac_t""$CC" 1>&6
 
1350
else
 
1351
  echo "$ac_t""no" 1>&6
 
1352
fi
 
1353
 
1772
1354
if test -z "$CC"; then
1773
1355
  # Extract the first word of "cc", so it can be a program name with args.
1774
1356
set dummy cc; ac_word=$2
1775
 
echo "$as_me:1775: checking for $ac_word" >&5
1776
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777
 
if test "${ac_cv_prog_CC+set}" = set; then
1778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1357
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1358
echo "configure:1359: checking for $ac_word" >&5
 
1359
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
1360
  echo $ac_n "(cached) $ac_c" 1>&6
1779
1361
else
1780
1362
  if test -n "$CC"; then
1781
1363
  ac_cv_prog_CC="$CC" # Let the user override the test.
1782
1364
else
 
1365
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1783
1366
  ac_prog_rejected=no
1784
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1785
 
ac_dummy="$PATH"
1786
 
for ac_dir in $ac_dummy; do
1787
 
  IFS=$ac_save_IFS
1788
 
  test -z "$ac_dir" && ac_dir=.
1789
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1790
 
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1791
 
  ac_prog_rejected=yes
1792
 
  continue
1793
 
fi
1794
 
ac_cv_prog_CC="cc"
1795
 
echo "$as_me:1795: found $ac_dir/$ac_word" >&5
1796
 
break
1797
 
done
1798
 
 
 
1367
  ac_dummy="$PATH"
 
1368
  for ac_dir in $ac_dummy; do
 
1369
    test -z "$ac_dir" && ac_dir=.
 
1370
    if test -f $ac_dir/$ac_word; then
 
1371
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
 
1372
        ac_prog_rejected=yes
 
1373
        continue
 
1374
      fi
 
1375
      ac_cv_prog_CC="cc"
 
1376
      break
 
1377
    fi
 
1378
  done
 
1379
  IFS="$ac_save_ifs"
1799
1380
if test $ac_prog_rejected = yes; then
1800
1381
  # We found a bogon in the path, so make sure we never use it.
1801
1382
  set dummy $ac_cv_prog_CC
1802
1383
  shift
1803
 
  if test $# != 0; then
 
1384
  if test $# -gt 0; then
1804
1385
    # We chose a different compiler from the bogus one.
1805
1386
    # However, it has the same basename, so the bogon will be chosen
1806
1387
    # first if we set CC to just the basename; use the full file name.
1807
1388
    shift
1808
 
    set dummy "$ac_dir/$ac_word" ${1+"$@"}
 
1389
    set dummy "$ac_dir/$ac_word" "$@"
1809
1390
    shift
1810
1391
    ac_cv_prog_CC="$@"
1811
1392
  fi
1812
1393
fi
1813
1394
fi
1814
1395
fi
1815
 
CC=$ac_cv_prog_CC
 
1396
CC="$ac_cv_prog_CC"
1816
1397
if test -n "$CC"; then
1817
 
  echo "$as_me:1817: result: $CC" >&5
1818
 
echo "${ECHO_T}$CC" >&6
 
1398
  echo "$ac_t""$CC" 1>&6
1819
1399
else
1820
 
  echo "$as_me:1820: result: no" >&5
1821
 
echo "${ECHO_T}no" >&6
 
1400
  echo "$ac_t""no" 1>&6
1822
1401
fi
1823
1402
 
1824
 
fi
1825
 
if test -z "$CC"; then
1826
 
  if test -n "$ac_tool_prefix"; then
1827
 
  for ac_prog in cl
1828
 
  do
1829
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1830
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1831
 
echo "$as_me:1831: checking for $ac_word" >&5
1832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833
 
if test "${ac_cv_prog_CC+set}" = set; then
1834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1403
  if test -z "$CC"; then
 
1404
    case "`uname -s`" in
 
1405
    *win32* | *WIN32*)
 
1406
      # Extract the first word of "cl", so it can be a program name with args.
 
1407
set dummy cl; ac_word=$2
 
1408
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1409
echo "configure:1410: checking for $ac_word" >&5
 
1410
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
1411
  echo $ac_n "(cached) $ac_c" 1>&6
1835
1412
else
1836
1413
  if test -n "$CC"; then
1837
1414
  ac_cv_prog_CC="$CC" # Let the user override the test.
1838
1415
else
1839
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1840
 
ac_dummy="$PATH"
1841
 
for ac_dir in $ac_dummy; do
1842
 
  IFS=$ac_save_IFS
1843
 
  test -z "$ac_dir" && ac_dir=.
1844
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1845
 
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1846
 
echo "$as_me:1846: found $ac_dir/$ac_word" >&5
1847
 
break
1848
 
done
1849
 
 
1850
 
fi
1851
 
fi
1852
 
CC=$ac_cv_prog_CC
1853
 
if test -n "$CC"; then
1854
 
  echo "$as_me:1854: result: $CC" >&5
1855
 
echo "${ECHO_T}$CC" >&6
1856
 
else
1857
 
  echo "$as_me:1857: result: no" >&5
1858
 
echo "${ECHO_T}no" >&6
1859
 
fi
1860
 
 
1861
 
    test -n "$CC" && break
 
1416
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1417
  ac_dummy="$PATH"
 
1418
  for ac_dir in $ac_dummy; do
 
1419
    test -z "$ac_dir" && ac_dir=.
 
1420
    if test -f $ac_dir/$ac_word; then
 
1421
      ac_cv_prog_CC="cl"
 
1422
      break
 
1423
    fi
1862
1424
  done
1863
 
fi
1864
 
if test -z "$CC"; then
1865
 
  ac_ct_CC=$CC
1866
 
  for ac_prog in cl
1867
 
do
1868
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1869
 
set dummy $ac_prog; ac_word=$2
1870
 
echo "$as_me:1870: checking for $ac_word" >&5
1871
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1873
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1874
 
else
1875
 
  if test -n "$ac_ct_CC"; then
1876
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1877
 
else
1878
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1879
 
ac_dummy="$PATH"
1880
 
for ac_dir in $ac_dummy; do
1881
 
  IFS=$ac_save_IFS
1882
 
  test -z "$ac_dir" && ac_dir=.
1883
 
  $as_executable_p "$ac_dir/$ac_word" || continue
1884
 
ac_cv_prog_ac_ct_CC="$ac_prog"
1885
 
echo "$as_me:1885: found $ac_dir/$ac_word" >&5
1886
 
break
1887
 
done
1888
 
 
1889
 
fi
1890
 
fi
1891
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1892
 
if test -n "$ac_ct_CC"; then
1893
 
  echo "$as_me:1893: result: $ac_ct_CC" >&5
1894
 
echo "${ECHO_T}$ac_ct_CC" >&6
1895
 
else
1896
 
  echo "$as_me:1896: result: no" >&5
1897
 
echo "${ECHO_T}no" >&6
1898
 
fi
1899
 
 
1900
 
  test -n "$ac_ct_CC" && break
1901
 
done
1902
 
 
1903
 
  CC=$ac_ct_CC
1904
 
fi
1905
 
 
1906
 
fi
1907
 
 
1908
 
test -z "$CC" && { { echo "$as_me:1908: error: no acceptable cc found in \$PATH" >&5
1909
 
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1910
 
   { (exit 1); exit 1; }; }
1911
 
 
1912
 
# Provide some information about the compiler.
1913
 
echo "$as_me:1913:" \
1914
 
     "checking for C compiler version" >&5
1915
 
ac_compiler=`set X $ac_compile; echo $2`
1916
 
{ (eval echo "$as_me:1916: \"$ac_compiler --version </dev/null >&5\"") >&5
1917
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1918
 
  ac_status=$?
1919
 
  echo "$as_me:1919: \$? = $ac_status" >&5
1920
 
  (exit $ac_status); }
1921
 
{ (eval echo "$as_me:1921: \"$ac_compiler -v </dev/null >&5\"") >&5
1922
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1923
 
  ac_status=$?
1924
 
  echo "$as_me:1924: \$? = $ac_status" >&5
1925
 
  (exit $ac_status); }
1926
 
{ (eval echo "$as_me:1926: \"$ac_compiler -V </dev/null >&5\"") >&5
1927
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
1928
 
  ac_status=$?
1929
 
  echo "$as_me:1929: \$? = $ac_status" >&5
1930
 
  (exit $ac_status); }
1931
 
 
1932
 
cat >conftest.$ac_ext <<_ACEOF
1933
 
#line 1933 "configure"
 
1425
  IFS="$ac_save_ifs"
 
1426
fi
 
1427
fi
 
1428
CC="$ac_cv_prog_CC"
 
1429
if test -n "$CC"; then
 
1430
  echo "$ac_t""$CC" 1>&6
 
1431
else
 
1432
  echo "$ac_t""no" 1>&6
 
1433
fi
 
1434
 ;;
 
1435
    esac
 
1436
  fi
 
1437
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
 
1438
fi
 
1439
 
 
1440
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 
1441
echo "configure:1442: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
1442
 
 
1443
ac_ext=c
 
1444
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
1445
ac_cpp='$CPP $CPPFLAGS'
 
1446
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
1447
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
1448
cross_compiling=$ac_cv_prog_cc_cross
 
1449
 
 
1450
cat > conftest.$ac_ext << EOF
 
1451
 
 
1452
#line 1453 "configure"
1934
1453
#include "confdefs.h"
1935
1454
 
1936
 
int
1937
 
main ()
1938
 
{
1939
 
 
1940
 
  ;
1941
 
  return 0;
1942
 
}
1943
 
_ACEOF
1944
 
ac_clean_files_save=$ac_clean_files
1945
 
ac_clean_files="$ac_clean_files a.out a.exe"
1946
 
# Try to create an executable without -o first, disregard a.out.
1947
 
# It will help us diagnose broken compilers, and finding out an intuition
1948
 
# of exeext.
1949
 
echo "$as_me:1949: checking for C compiler default output" >&5
1950
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1951
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1952
 
if { (eval echo "$as_me:1952: \"$ac_link_default\"") >&5
1953
 
  (eval $ac_link_default) 2>&5
1954
 
  ac_status=$?
1955
 
  echo "$as_me:1955: \$? = $ac_status" >&5
1956
 
  (exit $ac_status); }; then
1957
 
  # Find the output, starting from the most likely.  This scheme is
1958
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1959
 
# resort.
1960
 
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1961
 
                ls a.out conftest 2>/dev/null;
1962
 
                ls a.* conftest.* 2>/dev/null`; do
1963
 
  case $ac_file in
1964
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1965
 
    a.out ) # We found the default executable, but exeext='' is most
1966
 
            # certainly right.
1967
 
            break;;
1968
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1969
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1970
 
          export ac_cv_exeext
1971
 
          break;;
1972
 
    * ) break;;
1973
 
  esac
1974
 
done
1975
 
else
1976
 
  echo "$as_me: failed program was:" >&5
1977
 
cat conftest.$ac_ext >&5
1978
 
{ { echo "$as_me:1978: error: C compiler cannot create executables" >&5
1979
 
echo "$as_me: error: C compiler cannot create executables" >&2;}
1980
 
   { (exit 77); exit 77; }; }
1981
 
fi
1982
 
 
1983
 
ac_exeext=$ac_cv_exeext
1984
 
echo "$as_me:1984: result: $ac_file" >&5
1985
 
echo "${ECHO_T}$ac_file" >&6
1986
 
 
1987
 
# Check the compiler produces executables we can run.  If not, either
1988
 
# the compiler is broken, or we cross compile.
1989
 
echo "$as_me:1989: checking whether the C compiler works" >&5
1990
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1991
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1992
 
# If not cross compiling, check that we can run a simple program.
1993
 
if test "$cross_compiling" != yes; then
1994
 
  if { ac_try='./$ac_file'
1995
 
  { (eval echo "$as_me:1995: \"$ac_try\"") >&5
1996
 
  (eval $ac_try) 2>&5
1997
 
  ac_status=$?
1998
 
  echo "$as_me:1998: \$? = $ac_status" >&5
1999
 
  (exit $ac_status); }; }; then
2000
 
    cross_compiling=no
 
1455
main(){return(0);}
 
1456
EOF
 
1457
if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1458
  ac_cv_prog_cc_works=yes
 
1459
  # If we can't run a trivial program, we are probably using a cross compiler.
 
1460
  if (./conftest; exit) 2>/dev/null; then
 
1461
    ac_cv_prog_cc_cross=no
2001
1462
  else
2002
 
    if test "$cross_compiling" = maybe; then
2003
 
        cross_compiling=yes
2004
 
    else
2005
 
        { { echo "$as_me:2005: error: cannot run C compiled programs.
2006
 
If you meant to cross compile, use \`--host'." >&5
2007
 
echo "$as_me: error: cannot run C compiled programs.
2008
 
If you meant to cross compile, use \`--host'." >&2;}
2009
 
   { (exit 1); exit 1; }; }
2010
 
    fi
 
1463
    ac_cv_prog_cc_cross=yes
2011
1464
  fi
2012
 
fi
2013
 
echo "$as_me:2013: result: yes" >&5
2014
 
echo "${ECHO_T}yes" >&6
2015
 
 
2016
 
rm -f a.out a.exe conftest$ac_cv_exeext
2017
 
ac_clean_files=$ac_clean_files_save
2018
 
# Check the compiler produces executables we can run.  If not, either
2019
 
# the compiler is broken, or we cross compile.
2020
 
echo "$as_me:2020: checking whether we are cross compiling" >&5
2021
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2022
 
echo "$as_me:2022: result: $cross_compiling" >&5
2023
 
echo "${ECHO_T}$cross_compiling" >&6
2024
 
 
2025
 
echo "$as_me:2025: checking for executable suffix" >&5
2026
 
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2027
 
if { (eval echo "$as_me:2027: \"$ac_link\"") >&5
2028
 
  (eval $ac_link) 2>&5
2029
 
  ac_status=$?
2030
 
  echo "$as_me:2030: \$? = $ac_status" >&5
2031
 
  (exit $ac_status); }; then
2032
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2033
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2034
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2035
 
# `rm'.
2036
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2037
 
  case $ac_file in
2038
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2039
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2040
 
          export ac_cv_exeext
2041
 
          break;;
2042
 
    * ) break;;
2043
 
  esac
2044
 
done
2045
 
else
2046
 
  { { echo "$as_me:2046: error: cannot compute EXEEXT: cannot compile and link" >&5
2047
 
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2048
 
   { (exit 1); exit 1; }; }
2049
 
fi
2050
 
 
2051
 
rm -f conftest$ac_cv_exeext
2052
 
echo "$as_me:2052: result: $ac_cv_exeext" >&5
2053
 
echo "${ECHO_T}$ac_cv_exeext" >&6
2054
 
 
2055
 
rm -f conftest.$ac_ext
2056
 
EXEEXT=$ac_cv_exeext
2057
 
ac_exeext=$EXEEXT
2058
 
echo "$as_me:2058: checking for object suffix" >&5
2059
 
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2060
 
if test "${ac_cv_objext+set}" = set; then
2061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2062
 
else
2063
 
  cat >conftest.$ac_ext <<_ACEOF
2064
 
#line 2064 "configure"
2065
 
#include "confdefs.h"
2066
 
 
2067
 
int
2068
 
main ()
2069
 
{
2070
 
 
2071
 
  ;
2072
 
  return 0;
2073
 
}
2074
 
_ACEOF
2075
 
rm -f conftest.o conftest.obj
2076
 
if { (eval echo "$as_me:2076: \"$ac_compile\"") >&5
2077
 
  (eval $ac_compile) 2>&5
2078
 
  ac_status=$?
2079
 
  echo "$as_me:2079: \$? = $ac_status" >&5
2080
 
  (exit $ac_status); }; then
2081
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2082
 
  case $ac_file in
2083
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2084
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2085
 
       break;;
2086
 
  esac
2087
 
done
2088
 
else
2089
 
  echo "$as_me: failed program was:" >&5
2090
 
cat conftest.$ac_ext >&5
2091
 
{ { echo "$as_me:2091: error: cannot compute OBJEXT: cannot compile" >&5
2092
 
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2093
 
   { (exit 1); exit 1; }; }
2094
 
fi
2095
 
 
2096
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2097
 
fi
2098
 
echo "$as_me:2098: result: $ac_cv_objext" >&5
2099
 
echo "${ECHO_T}$ac_cv_objext" >&6
2100
 
OBJEXT=$ac_cv_objext
2101
 
ac_objext=$OBJEXT
2102
 
echo "$as_me:2102: checking whether we are using the GNU C compiler" >&5
2103
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2104
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2105
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2106
 
else
2107
 
  cat >conftest.$ac_ext <<_ACEOF
2108
 
#line 2108 "configure"
2109
 
#include "confdefs.h"
2110
 
 
2111
 
int
2112
 
main ()
2113
 
{
2114
 
#ifndef __GNUC__
2115
 
       choke me
 
1465
else
 
1466
  echo "configure: failed program was:" >&5
 
1467
  cat conftest.$ac_ext >&5
 
1468
  ac_cv_prog_cc_works=no
 
1469
fi
 
1470
rm -fr conftest*
 
1471
ac_ext=c
 
1472
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
1473
ac_cpp='$CPP $CPPFLAGS'
 
1474
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
1475
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
1476
cross_compiling=$ac_cv_prog_cc_cross
 
1477
 
 
1478
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
 
1479
if test $ac_cv_prog_cc_works = no; then
 
1480
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 
1481
fi
 
1482
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 
1483
echo "configure:1484: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
1484
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 
1485
cross_compiling=$ac_cv_prog_cc_cross
 
1486
 
 
1487
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
 
1488
echo "configure:1489: checking whether we are using GNU C" >&5
 
1489
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
 
1490
  echo $ac_n "(cached) $ac_c" 1>&6
 
1491
else
 
1492
  cat > conftest.c <<EOF
 
1493
#ifdef __GNUC__
 
1494
  yes;
2116
1495
#endif
2117
 
 
2118
 
  ;
2119
 
  return 0;
2120
 
}
2121
 
_ACEOF
2122
 
rm -f conftest.$ac_objext
2123
 
if { (eval echo "$as_me:2123: \"$ac_compile\"") >&5
2124
 
  (eval $ac_compile) 2>&5
2125
 
  ac_status=$?
2126
 
  echo "$as_me:2126: \$? = $ac_status" >&5
2127
 
  (exit $ac_status); } &&
2128
 
         { ac_try='test -s conftest.$ac_objext'
2129
 
  { (eval echo "$as_me:2129: \"$ac_try\"") >&5
2130
 
  (eval $ac_try) 2>&5
2131
 
  ac_status=$?
2132
 
  echo "$as_me:2132: \$? = $ac_status" >&5
2133
 
  (exit $ac_status); }; }; then
2134
 
  ac_compiler_gnu=yes
2135
 
else
2136
 
  echo "$as_me: failed program was:" >&5
2137
 
cat conftest.$ac_ext >&5
2138
 
ac_compiler_gnu=no
2139
 
fi
2140
 
rm -f conftest.$ac_objext conftest.$ac_ext
2141
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2142
 
 
2143
 
fi
2144
 
echo "$as_me:2144: result: $ac_cv_c_compiler_gnu" >&5
2145
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2146
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
2147
 
ac_test_CFLAGS=${CFLAGS+set}
2148
 
ac_save_CFLAGS=$CFLAGS
2149
 
CFLAGS="-g"
2150
 
echo "$as_me:2150: checking whether $CC accepts -g" >&5
2151
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2152
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2154
 
else
2155
 
  cat >conftest.$ac_ext <<_ACEOF
2156
 
#line 2156 "configure"
2157
 
#include "confdefs.h"
2158
 
 
2159
 
int
2160
 
main ()
2161
 
{
2162
 
 
2163
 
  ;
2164
 
  return 0;
2165
 
}
2166
 
_ACEOF
2167
 
rm -f conftest.$ac_objext
2168
 
if { (eval echo "$as_me:2168: \"$ac_compile\"") >&5
2169
 
  (eval $ac_compile) 2>&5
2170
 
  ac_status=$?
2171
 
  echo "$as_me:2171: \$? = $ac_status" >&5
2172
 
  (exit $ac_status); } &&
2173
 
         { ac_try='test -s conftest.$ac_objext'
2174
 
  { (eval echo "$as_me:2174: \"$ac_try\"") >&5
2175
 
  (eval $ac_try) 2>&5
2176
 
  ac_status=$?
2177
 
  echo "$as_me:2177: \$? = $ac_status" >&5
2178
 
  (exit $ac_status); }; }; then
 
1496
EOF
 
1497
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
1498
  ac_cv_prog_gcc=yes
 
1499
else
 
1500
  ac_cv_prog_gcc=no
 
1501
fi
 
1502
fi
 
1503
 
 
1504
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 
1505
 
 
1506
if test $ac_cv_prog_gcc = yes; then
 
1507
  GCC=yes
 
1508
else
 
1509
  GCC=
 
1510
fi
 
1511
 
 
1512
ac_test_CFLAGS="${CFLAGS+set}"
 
1513
ac_save_CFLAGS="$CFLAGS"
 
1514
CFLAGS=
 
1515
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 
1516
echo "configure:1517: checking whether ${CC-cc} accepts -g" >&5
 
1517
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
 
1518
  echo $ac_n "(cached) $ac_c" 1>&6
 
1519
else
 
1520
  echo 'void f(){}' > conftest.c
 
1521
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2179
1522
  ac_cv_prog_cc_g=yes
2180
1523
else
2181
 
  echo "$as_me: failed program was:" >&5
2182
 
cat conftest.$ac_ext >&5
2183
 
ac_cv_prog_cc_g=no
2184
 
fi
2185
 
rm -f conftest.$ac_objext conftest.$ac_ext
2186
 
fi
2187
 
echo "$as_me:2187: result: $ac_cv_prog_cc_g" >&5
2188
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
1524
  ac_cv_prog_cc_g=no
 
1525
fi
 
1526
rm -f conftest*
 
1527
 
 
1528
fi
 
1529
 
 
1530
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2189
1531
if test "$ac_test_CFLAGS" = set; then
2190
 
  CFLAGS=$ac_save_CFLAGS
 
1532
  CFLAGS="$ac_save_CFLAGS"
2191
1533
elif test $ac_cv_prog_cc_g = yes; then
2192
1534
  if test "$GCC" = yes; then
2193
1535
    CFLAGS="-g -O2"
2201
1543
    CFLAGS=
2202
1544
  fi
2203
1545
fi
2204
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2205
 
# in C++ we need to declare it.  In case someone uses the same compiler
2206
 
# for both compiling C and C++ we need to have the C++ compiler decide
2207
 
# the declaration of exit, since it's the most demanding environment.
2208
 
cat >conftest.$ac_ext <<_ACEOF
2209
 
#ifndef __cplusplus
2210
 
  choke me
2211
 
#endif
2212
 
_ACEOF
2213
 
rm -f conftest.$ac_objext
2214
 
if { (eval echo "$as_me:2214: \"$ac_compile\"") >&5
2215
 
  (eval $ac_compile) 2>&5
2216
 
  ac_status=$?
2217
 
  echo "$as_me:2217: \$? = $ac_status" >&5
2218
 
  (exit $ac_status); } &&
2219
 
         { ac_try='test -s conftest.$ac_objext'
2220
 
  { (eval echo "$as_me:2220: \"$ac_try\"") >&5
2221
 
  (eval $ac_try) 2>&5
2222
 
  ac_status=$?
2223
 
  echo "$as_me:2223: \$? = $ac_status" >&5
2224
 
  (exit $ac_status); }; }; then
2225
 
  for ac_declaration in \
2226
 
   ''\
2227
 
   '#include <stdlib.h>' \
2228
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2229
 
   'extern "C" void std::exit (int); using std::exit;' \
2230
 
   'extern "C" void exit (int) throw ();' \
2231
 
   'extern "C" void exit (int);' \
2232
 
   'void exit (int);'
2233
 
do
2234
 
  cat >conftest.$ac_ext <<_ACEOF
2235
 
#line 2235 "configure"
2236
 
#include "confdefs.h"
2237
 
#include <stdlib.h>
2238
 
$ac_declaration
2239
 
int
2240
 
main ()
2241
 
{
2242
 
exit (42);
2243
 
  ;
2244
 
  return 0;
2245
 
}
2246
 
_ACEOF
2247
 
rm -f conftest.$ac_objext
2248
 
if { (eval echo "$as_me:2248: \"$ac_compile\"") >&5
2249
 
  (eval $ac_compile) 2>&5
2250
 
  ac_status=$?
2251
 
  echo "$as_me:2251: \$? = $ac_status" >&5
2252
 
  (exit $ac_status); } &&
2253
 
         { ac_try='test -s conftest.$ac_objext'
2254
 
  { (eval echo "$as_me:2254: \"$ac_try\"") >&5
2255
 
  (eval $ac_try) 2>&5
2256
 
  ac_status=$?
2257
 
  echo "$as_me:2257: \$? = $ac_status" >&5
2258
 
  (exit $ac_status); }; }; then
2259
 
  :
2260
 
else
2261
 
  echo "$as_me: failed program was:" >&5
2262
 
cat conftest.$ac_ext >&5
2263
 
continue
2264
 
fi
2265
 
rm -f conftest.$ac_objext conftest.$ac_ext
2266
 
  cat >conftest.$ac_ext <<_ACEOF
2267
 
#line 2267 "configure"
2268
 
#include "confdefs.h"
2269
 
$ac_declaration
2270
 
int
2271
 
main ()
2272
 
{
2273
 
exit (42);
2274
 
  ;
2275
 
  return 0;
2276
 
}
2277
 
_ACEOF
2278
 
rm -f conftest.$ac_objext
2279
 
if { (eval echo "$as_me:2279: \"$ac_compile\"") >&5
2280
 
  (eval $ac_compile) 2>&5
2281
 
  ac_status=$?
2282
 
  echo "$as_me:2282: \$? = $ac_status" >&5
2283
 
  (exit $ac_status); } &&
2284
 
         { ac_try='test -s conftest.$ac_objext'
2285
 
  { (eval echo "$as_me:2285: \"$ac_try\"") >&5
2286
 
  (eval $ac_try) 2>&5
2287
 
  ac_status=$?
2288
 
  echo "$as_me:2288: \$? = $ac_status" >&5
2289
 
  (exit $ac_status); }; }; then
2290
 
  break
2291
 
else
2292
 
  echo "$as_me: failed program was:" >&5
2293
 
cat conftest.$ac_ext >&5
2294
 
fi
2295
 
rm -f conftest.$ac_objext conftest.$ac_ext
2296
 
done
2297
 
rm -f conftest*
2298
 
if test -n "$ac_declaration"; then
2299
 
  echo '#ifdef __cplusplus' >>confdefs.h
2300
 
  echo $ac_declaration      >>confdefs.h
2301
 
  echo '#endif'             >>confdefs.h
2302
 
fi
2303
 
 
2304
 
else
2305
 
  echo "$as_me: failed program was:" >&5
2306
 
cat conftest.$ac_ext >&5
2307
 
fi
2308
 
rm -f conftest.$ac_objext conftest.$ac_ext
2309
 
ac_ext=c
2310
 
ac_cpp='$CPP $CPPFLAGS'
2311
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314
1546
 
2315
1547
depcc="$CC"   am_compiler_list=
2316
1548
 
2317
 
echo "$as_me:2317: checking dependency style of $depcc" >&5
2318
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2319
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1549
echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
 
1550
echo "configure:1551: checking dependency style of $depcc" >&5
 
1551
if eval "test \"`echo '$''{'am_cv_CC_dependencies_compiler_type'+set}'`\" = set"; then
 
1552
  echo $ac_n "(cached) $ac_c" 1>&6
2321
1553
else
2322
1554
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2323
1555
  # We make a subdir and do the tests there.  Otherwise we can end up
2376
1608
fi
2377
1609
 
2378
1610
fi
2379
 
echo "$as_me:2379: result: $am_cv_CC_dependencies_compiler_type" >&5
2380
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
1611
 
 
1612
echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6
2381
1613
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2382
1614
 
2383
 
# Find the correct PATH separator.  Usually this is `:', but
2384
 
# DJGPP uses `;' like DOS.
2385
 
if test "X${PATH_SEPARATOR+set}" != Xset; then
2386
 
  UNAME=${UNAME-`uname 2>/dev/null`}
2387
 
  case X$UNAME in
2388
 
    *-DOS) lt_cv_sys_path_separator=';' ;;
2389
 
    *)     lt_cv_sys_path_separator=':' ;;
2390
 
  esac
2391
 
  PATH_SEPARATOR=$lt_cv_sys_path_separator
2392
 
fi
2393
1615
 
2394
1616
# Check whether --with-gnu-ld or --without-gnu-ld was given.
2395
1617
if test "${with_gnu_ld+set}" = set; then
2397
1619
  test "$withval" = no || with_gnu_ld=yes
2398
1620
else
2399
1621
  with_gnu_ld=no
2400
 
fi;
 
1622
fi
 
1623
 
2401
1624
ac_prog=ld
2402
1625
if test "$GCC" = yes; then
2403
1626
  # Check if gcc -print-prog-name=ld gives a path.
2404
 
  echo "$as_me:2404: checking for ld used by GCC" >&5
2405
 
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 
1627
  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
 
1628
echo "configure:1629: checking for ld used by GCC" >&5
2406
1629
  case $host in
2407
1630
  *-*-mingw*)
2408
1631
    # gcc leaves a trailing carriage return which upsets mingw
2431
1654
    ;;
2432
1655
  esac
2433
1656
elif test "$with_gnu_ld" = yes; then
2434
 
  echo "$as_me:2434: checking for GNU ld" >&5
2435
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
1657
  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
 
1658
echo "configure:1659: checking for GNU ld" >&5
2436
1659
else
2437
 
  echo "$as_me:2437: checking for non-GNU ld" >&5
2438
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
1660
  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
 
1661
echo "configure:1662: checking for non-GNU ld" >&5
2439
1662
fi
2440
 
if test "${lt_cv_path_LD+set}" = set; then
2441
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1663
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
 
1664
  echo $ac_n "(cached) $ac_c" 1>&6
2442
1665
else
2443
1666
  if test -z "$LD"; then
2444
1667
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2464
1687
 
2465
1688
LD="$lt_cv_path_LD"
2466
1689
if test -n "$LD"; then
2467
 
  echo "$as_me:2467: result: $LD" >&5
2468
 
echo "${ECHO_T}$LD" >&6
 
1690
  echo "$ac_t""$LD" 1>&6
2469
1691
else
2470
 
  echo "$as_me:2470: result: no" >&5
2471
 
echo "${ECHO_T}no" >&6
 
1692
  echo "$ac_t""no" 1>&6
2472
1693
fi
2473
 
test -z "$LD" && { { echo "$as_me:2473: error: no acceptable ld found in \$PATH" >&5
2474
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2475
 
   { (exit 1); exit 1; }; }
2476
 
echo "$as_me:2476: checking if the linker ($LD) is GNU ld" >&5
2477
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2478
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
2479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1694
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
 
1695
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
 
1696
echo "configure:1697: checking if the linker ($LD) is GNU ld" >&5
 
1697
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
 
1698
  echo $ac_n "(cached) $ac_c" 1>&6
2480
1699
else
2481
1700
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2482
1701
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
2485
1704
  lt_cv_prog_gnu_ld=no
2486
1705
fi
2487
1706
fi
2488
 
echo "$as_me:2488: result: $lt_cv_prog_gnu_ld" >&5
2489
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
1707
 
 
1708
echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
2490
1709
with_gnu_ld=$lt_cv_prog_gnu_ld
2491
1710
 
2492
 
echo "$as_me:2492: checking for $LD option to reload object files" >&5
2493
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
2494
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
2495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1711
 
 
1712
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
 
1713
echo "configure:1714: checking for $LD option to reload object files" >&5
 
1714
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
 
1715
  echo $ac_n "(cached) $ac_c" 1>&6
2496
1716
else
2497
1717
  lt_cv_ld_reload_flag='-r'
2498
1718
fi
2499
 
echo "$as_me:2499: result: $lt_cv_ld_reload_flag" >&5
2500
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
1719
 
 
1720
echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
2501
1721
reload_flag=$lt_cv_ld_reload_flag
2502
1722
test -n "$reload_flag" && reload_flag=" $reload_flag"
2503
1723
 
2504
 
echo "$as_me:2504: checking for BSD-compatible nm" >&5
2505
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
2506
 
if test "${lt_cv_path_NM+set}" = set; then
2507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1724
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
 
1725
echo "configure:1726: checking for BSD-compatible nm" >&5
 
1726
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
 
1727
  echo $ac_n "(cached) $ac_c" 1>&6
2508
1728
else
2509
1729
  if test -n "$NM"; then
2510
1730
  # Let the user override the test.
2537
1757
fi
2538
1758
 
2539
1759
NM="$lt_cv_path_NM"
2540
 
echo "$as_me:2540: result: $NM" >&5
2541
 
echo "${ECHO_T}$NM" >&6
2542
 
 
2543
 
echo "$as_me:2543: checking whether ln -s works" >&5
2544
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2545
 
LN_S=$as_ln_s
2546
 
if test "$LN_S" = "ln -s"; then
2547
 
  echo "$as_me:2547: result: yes" >&5
2548
 
echo "${ECHO_T}yes" >&6
2549
 
else
2550
 
  echo "$as_me:2550: result: no, using $LN_S" >&5
2551
 
echo "${ECHO_T}no, using $LN_S" >&6
2552
 
fi
2553
 
 
2554
 
echo "$as_me:2554: checking how to recognise dependant libraries" >&5
2555
 
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
2556
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
2557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1760
echo "$ac_t""$NM" 1>&6
 
1761
 
 
1762
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
 
1763
echo "configure:1764: checking whether ln -s works" >&5
 
1764
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
 
1765
  echo $ac_n "(cached) $ac_c" 1>&6
 
1766
else
 
1767
  rm -f conftestdata
 
1768
if ln -s X conftestdata 2>/dev/null
 
1769
then
 
1770
  rm -f conftestdata
 
1771
  ac_cv_prog_LN_S="ln -s"
 
1772
else
 
1773
  ac_cv_prog_LN_S=ln
 
1774
fi
 
1775
fi
 
1776
LN_S="$ac_cv_prog_LN_S"
 
1777
if test "$ac_cv_prog_LN_S" = "ln -s"; then
 
1778
  echo "$ac_t""yes" 1>&6
 
1779
else
 
1780
  echo "$ac_t""no" 1>&6
 
1781
fi
 
1782
 
 
1783
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
 
1784
echo "configure:1785: checking how to recognise dependant libraries" >&5
 
1785
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
 
1786
  echo $ac_n "(cached) $ac_c" 1>&6
2558
1787
else
2559
1788
  lt_cv_file_magic_cmd='$MAGIC_CMD'
2560
1789
lt_cv_file_magic_test_file=
2629
1858
  lt_cv_file_magic_test_file=/usr/lib/libc.sl
2630
1859
  ;;
2631
1860
 
2632
 
irix5* | irix6*)
 
1861
irix5* | irix6* | nonstopux*)
2633
1862
  case $host_os in
2634
 
  irix5*)
 
1863
  irix5* | nonstopux*)
2635
1864
    # this will be overridden with pass_all, but let us keep it just in case
2636
1865
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2637
1866
    ;;
2729
1958
esac
2730
1959
 
2731
1960
fi
2732
 
echo "$as_me:2732: result: $lt_cv_deplibs_check_method" >&5
2733
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
1961
 
 
1962
echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2734
1963
file_magic_cmd=$lt_cv_file_magic_cmd
2735
1964
deplibs_check_method=$lt_cv_deplibs_check_method
2736
1965
 
 
1966
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
 
1967
echo "configure:1968: checking for object suffix" >&5
 
1968
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
 
1969
  echo $ac_n "(cached) $ac_c" 1>&6
 
1970
else
 
1971
  rm -f conftest*
 
1972
echo 'int i = 1;' > conftest.$ac_ext
 
1973
if { (eval echo configure:1974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1974
  for ac_file in conftest.*; do
 
1975
    case $ac_file in
 
1976
    *.c) ;;
 
1977
    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
 
1978
    esac
 
1979
  done
 
1980
else
 
1981
  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
 
1982
fi
 
1983
rm -f conftest*
 
1984
fi
 
1985
 
 
1986
echo "$ac_t""$ac_cv_objext" 1>&6
 
1987
OBJEXT=$ac_cv_objext
 
1988
ac_objext=$ac_cv_objext
 
1989
 
 
1990
 
 
1991
 
 
1992
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
 
1993
echo "configure:1994: checking for executable suffix" >&5
 
1994
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
 
1995
  echo $ac_n "(cached) $ac_c" 1>&6
 
1996
else
 
1997
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
 
1998
  ac_cv_exeext=.exe
 
1999
else
 
2000
  rm -f conftest*
 
2001
  echo 'int main () { return 0; }' > conftest.$ac_ext
 
2002
  ac_cv_exeext=
 
2003
  if { (eval echo configure:2004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
 
2004
    for file in conftest.*; do
 
2005
      case $file in
 
2006
      *.c | *.o | *.obj) ;;
 
2007
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
 
2008
      esac
 
2009
    done
 
2010
  else
 
2011
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
 
2012
  fi
 
2013
  rm -f conftest*
 
2014
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
 
2015
fi
 
2016
fi
 
2017
 
 
2018
EXEEXT=""
 
2019
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
 
2020
echo "$ac_t""${ac_cv_exeext}" 1>&6
 
2021
ac_exeext=$EXEEXT
 
2022
 
 
2023
if test $host != $build; then
 
2024
  ac_tool_prefix=${host_alias}-
 
2025
else
 
2026
  ac_tool_prefix=
 
2027
fi
 
2028
 
 
2029
 
 
2030
 
 
2031
 
2737
2032
# Check for command to grab the raw symbol name followed by C symbol from nm.
2738
 
echo "$as_me:2738: checking command to parse $NM output" >&5
2739
 
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
2740
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
2741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2033
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
 
2034
echo "configure:2035: checking command to parse $NM output" >&5
 
2035
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
 
2036
  echo $ac_n "(cached) $ac_c" 1>&6
2742
2037
else
2743
 
 
 
2038
  
2744
2039
# These are sane defaults that work on at least a few old systems.
2745
2040
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
2746
2041
 
2771
2066
  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2772
2067
  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
2773
2068
  ;;
2774
 
irix*)
 
2069
irix* | nonstopux*)
2775
2070
  symcode='[BCDEGRST]'
2776
2071
  ;;
2777
2072
solaris* | sysv5*)
2816
2111
int main(){nm_test_var='a';nm_test_func();return(0);}
2817
2112
EOF
2818
2113
 
2819
 
  if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
2820
 
  (eval $ac_compile) 2>&5
2821
 
  ac_status=$?
2822
 
  echo "$as_me:2822: \$? = $ac_status" >&5
2823
 
  (exit $ac_status); }; then
 
2114
  if { (eval echo configure:2115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2824
2115
    # Now try to grab the symbols.
2825
2116
    nlist=conftest.nm
2826
 
    if { (eval echo "$as_me:2826: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
2827
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
2828
 
  ac_status=$?
2829
 
  echo "$as_me:2829: \$? = $ac_status" >&5
2830
 
  (exit $ac_status); } && test -s "$nlist"; then
 
2117
    if { (eval echo configure:2118: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
2831
2118
      # Try sorting and uniquifying the output.
2832
2119
      if sort "$nlist" | uniq > "$nlist"T; then
2833
2120
        mv -f "$nlist"T "$nlist"
2878
2165
          save_CFLAGS="$CFLAGS"
2879
2166
          LIBS="conftstm.$ac_objext"
2880
2167
          CFLAGS="$CFLAGS$no_builtin_flag"
2881
 
          if { (eval echo "$as_me:2881: \"$ac_link\"") >&5
2882
 
  (eval $ac_link) 2>&5
2883
 
  ac_status=$?
2884
 
  echo "$as_me:2884: \$? = $ac_status" >&5
2885
 
  (exit $ac_status); } && test -s conftest; then
 
2168
          if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2886
2169
            pipe_works=yes
2887
2170
          fi
2888
2171
          LIBS="$save_LIBS"
2922
2205
fi
2923
2206
if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
2924
2207
then
2925
 
  echo "$as_me:2925: result: failed" >&5
2926
 
echo "${ECHO_T}failed" >&6
2927
 
else
2928
 
  echo "$as_me:2928: result: ok" >&5
2929
 
echo "${ECHO_T}ok" >&6
2930
 
fi
2931
 
 
2932
 
ac_ext=c
2933
 
ac_cpp='$CPP $CPPFLAGS'
2934
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937
 
echo "$as_me:2937: checking how to run the C preprocessor" >&5
2938
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2939
 
# On Suns, sometimes $CPP names a directory.
2940
 
if test -n "$CPP" && test -d "$CPP"; then
2941
 
  CPP=
2942
 
fi
2943
 
if test -z "$CPP"; then
2944
 
  if test "${ac_cv_prog_CPP+set}" = set; then
2945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2946
 
else
2947
 
      # Double quotes because CPP needs to be expanded
2948
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2949
 
    do
2950
 
      ac_preproc_ok=false
2951
 
for ac_c_preproc_warn_flag in '' yes
2952
 
do
2953
 
  # Use a header file that comes with gcc, so configuring glibc
2954
 
  # with a fresh cross-compiler works.
2955
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2956
 
  # not just through cpp. "Syntax error" is here to catch this case.
2957
 
  cat >conftest.$ac_ext <<_ACEOF
2958
 
#line 2958 "configure"
2959
 
#include "confdefs.h"
2960
 
#include <assert.h>
2961
 
                     Syntax error
2962
 
_ACEOF
2963
 
if { (eval echo "$as_me:2963: \"$ac_cpp conftest.$ac_ext\"") >&5
2964
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2965
 
  ac_status=$?
2966
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
2967
 
  rm -f conftest.er1
2968
 
  cat conftest.err >&5
2969
 
  echo "$as_me:2969: \$? = $ac_status" >&5
2970
 
  (exit $ac_status); } >/dev/null; then
2971
 
  if test -s conftest.err; then
2972
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2973
 
  else
2974
 
    ac_cpp_err=
2975
 
  fi
2976
 
else
2977
 
  ac_cpp_err=yes
2978
 
fi
2979
 
if test -z "$ac_cpp_err"; then
2980
 
  :
2981
 
else
2982
 
  echo "$as_me: failed program was:" >&5
2983
 
  cat conftest.$ac_ext >&5
2984
 
  # Broken: fails on valid input.
2985
 
continue
2986
 
fi
2987
 
rm -f conftest.err conftest.$ac_ext
2988
 
 
2989
 
  # OK, works on sane cases.  Now check whether non-existent headers
2990
 
  # can be detected and how.
2991
 
  cat >conftest.$ac_ext <<_ACEOF
2992
 
#line 2992 "configure"
2993
 
#include "confdefs.h"
2994
 
#include <ac_nonexistent.h>
2995
 
_ACEOF
2996
 
if { (eval echo "$as_me:2996: \"$ac_cpp conftest.$ac_ext\"") >&5
2997
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2998
 
  ac_status=$?
2999
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
3000
 
  rm -f conftest.er1
3001
 
  cat conftest.err >&5
3002
 
  echo "$as_me:3002: \$? = $ac_status" >&5
3003
 
  (exit $ac_status); } >/dev/null; then
3004
 
  if test -s conftest.err; then
3005
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3006
 
  else
3007
 
    ac_cpp_err=
3008
 
  fi
3009
 
else
3010
 
  ac_cpp_err=yes
3011
 
fi
3012
 
if test -z "$ac_cpp_err"; then
3013
 
  # Broken: success on invalid input.
3014
 
continue
3015
 
else
3016
 
  echo "$as_me: failed program was:" >&5
3017
 
  cat conftest.$ac_ext >&5
3018
 
  # Passes both tests.
3019
 
ac_preproc_ok=:
3020
 
break
3021
 
fi
3022
 
rm -f conftest.err conftest.$ac_ext
3023
 
 
3024
 
done
3025
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3026
 
rm -f conftest.err conftest.$ac_ext
3027
 
if $ac_preproc_ok; then
3028
 
  break
3029
 
fi
3030
 
 
3031
 
    done
3032
 
    ac_cv_prog_CPP=$CPP
3033
 
 
3034
 
fi
3035
 
  CPP=$ac_cv_prog_CPP
3036
 
else
3037
 
  ac_cv_prog_CPP=$CPP
3038
 
fi
3039
 
echo "$as_me:3039: result: $CPP" >&5
3040
 
echo "${ECHO_T}$CPP" >&6
3041
 
ac_preproc_ok=false
3042
 
for ac_c_preproc_warn_flag in '' yes
3043
 
do
3044
 
  # Use a header file that comes with gcc, so configuring glibc
3045
 
  # with a fresh cross-compiler works.
3046
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3047
 
  # not just through cpp. "Syntax error" is here to catch this case.
3048
 
  cat >conftest.$ac_ext <<_ACEOF
3049
 
#line 3049 "configure"
3050
 
#include "confdefs.h"
3051
 
#include <assert.h>
3052
 
                     Syntax error
3053
 
_ACEOF
3054
 
if { (eval echo "$as_me:3054: \"$ac_cpp conftest.$ac_ext\"") >&5
3055
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3056
 
  ac_status=$?
3057
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
3058
 
  rm -f conftest.er1
3059
 
  cat conftest.err >&5
3060
 
  echo "$as_me:3060: \$? = $ac_status" >&5
3061
 
  (exit $ac_status); } >/dev/null; then
3062
 
  if test -s conftest.err; then
3063
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3064
 
  else
3065
 
    ac_cpp_err=
3066
 
  fi
3067
 
else
3068
 
  ac_cpp_err=yes
3069
 
fi
3070
 
if test -z "$ac_cpp_err"; then
3071
 
  :
3072
 
else
3073
 
  echo "$as_me: failed program was:" >&5
3074
 
  cat conftest.$ac_ext >&5
3075
 
  # Broken: fails on valid input.
3076
 
continue
3077
 
fi
3078
 
rm -f conftest.err conftest.$ac_ext
3079
 
 
3080
 
  # OK, works on sane cases.  Now check whether non-existent headers
3081
 
  # can be detected and how.
3082
 
  cat >conftest.$ac_ext <<_ACEOF
3083
 
#line 3083 "configure"
3084
 
#include "confdefs.h"
3085
 
#include <ac_nonexistent.h>
3086
 
_ACEOF
3087
 
if { (eval echo "$as_me:3087: \"$ac_cpp conftest.$ac_ext\"") >&5
3088
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3089
 
  ac_status=$?
3090
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
3091
 
  rm -f conftest.er1
3092
 
  cat conftest.err >&5
3093
 
  echo "$as_me:3093: \$? = $ac_status" >&5
3094
 
  (exit $ac_status); } >/dev/null; then
3095
 
  if test -s conftest.err; then
3096
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3097
 
  else
3098
 
    ac_cpp_err=
3099
 
  fi
3100
 
else
3101
 
  ac_cpp_err=yes
3102
 
fi
3103
 
if test -z "$ac_cpp_err"; then
3104
 
  # Broken: success on invalid input.
3105
 
continue
3106
 
else
3107
 
  echo "$as_me: failed program was:" >&5
3108
 
  cat conftest.$ac_ext >&5
3109
 
  # Passes both tests.
3110
 
ac_preproc_ok=:
3111
 
break
3112
 
fi
3113
 
rm -f conftest.err conftest.$ac_ext
3114
 
 
3115
 
done
3116
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3117
 
rm -f conftest.err conftest.$ac_ext
3118
 
if $ac_preproc_ok; then
3119
 
  :
3120
 
else
3121
 
  { { echo "$as_me:3121: error: C preprocessor \"$CPP\" fails sanity check" >&5
3122
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3123
 
   { (exit 1); exit 1; }; }
3124
 
fi
3125
 
 
3126
 
ac_ext=c
3127
 
ac_cpp='$CPP $CPPFLAGS'
3128
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131
 
 
3132
 
for ac_header in dlfcn.h
3133
 
do
3134
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3135
 
echo "$as_me:3135: checking for $ac_header" >&5
3136
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3137
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3138
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3139
 
else
3140
 
  cat >conftest.$ac_ext <<_ACEOF
3141
 
#line 3141 "configure"
3142
 
#include "confdefs.h"
3143
 
#include <$ac_header>
3144
 
_ACEOF
3145
 
if { (eval echo "$as_me:3145: \"$ac_cpp conftest.$ac_ext\"") >&5
3146
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3147
 
  ac_status=$?
3148
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
3149
 
  rm -f conftest.er1
3150
 
  cat conftest.err >&5
3151
 
  echo "$as_me:3151: \$? = $ac_status" >&5
3152
 
  (exit $ac_status); } >/dev/null; then
3153
 
  if test -s conftest.err; then
3154
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3155
 
  else
3156
 
    ac_cpp_err=
3157
 
  fi
3158
 
else
3159
 
  ac_cpp_err=yes
3160
 
fi
3161
 
if test -z "$ac_cpp_err"; then
3162
 
  eval "$as_ac_Header=yes"
3163
 
else
3164
 
  echo "$as_me: failed program was:" >&5
3165
 
  cat conftest.$ac_ext >&5
3166
 
  eval "$as_ac_Header=no"
3167
 
fi
3168
 
rm -f conftest.err conftest.$ac_ext
3169
 
fi
3170
 
echo "$as_me:3170: result: `eval echo '${'$as_ac_Header'}'`" >&5
3171
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3172
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3173
 
  cat >>confdefs.h <<EOF
3174
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3175
 
EOF
3176
 
 
3177
 
fi
3178
 
done
 
2208
  echo "$ac_t""failed" 1>&6
 
2209
else
 
2210
  echo "$ac_t""ok" 1>&6
 
2211
fi
 
2212
 
 
2213
for ac_hdr in dlfcn.h
 
2214
do
 
2215
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 
2216
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 
2217
echo "configure:2218: checking for $ac_hdr" >&5
 
2218
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 
2219
  echo $ac_n "(cached) $ac_c" 1>&6
 
2220
else
 
2221
  cat > conftest.$ac_ext <<EOF
 
2222
#line 2223 "configure"
 
2223
#include "confdefs.h"
 
2224
#include <$ac_hdr>
 
2225
EOF
 
2226
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
2227
{ (eval echo configure:2228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
2228
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
2229
if test -z "$ac_err"; then
 
2230
  rm -rf conftest*
 
2231
  eval "ac_cv_header_$ac_safe=yes"
 
2232
else
 
2233
  echo "$ac_err" >&5
 
2234
  echo "configure: failed program was:" >&5
 
2235
  cat conftest.$ac_ext >&5
 
2236
  rm -rf conftest*
 
2237
  eval "ac_cv_header_$ac_safe=no"
 
2238
fi
 
2239
rm -f conftest*
 
2240
fi
 
2241
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 
2242
  echo "$ac_t""yes" 1>&6
 
2243
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 
2244
  cat >> confdefs.h <<EOF
 
2245
#define $ac_tr_hdr 1
 
2246
EOF
 
2247
 
 
2248
else
 
2249
  echo "$ac_t""no" 1>&6
 
2250
fi
 
2251
done
 
2252
 
 
2253
 
 
2254
 
 
2255
 
3179
2256
 
3180
2257
# Only perform the check for file, if the check method requires it
3181
2258
case $deplibs_check_method in
3182
2259
file_magic*)
3183
2260
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3184
 
    echo "$as_me:3184: checking for ${ac_tool_prefix}file" >&5
3185
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3186
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2261
    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
 
2262
echo "configure:2263: checking for ${ac_tool_prefix}file" >&5
 
2263
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
 
2264
  echo $ac_n "(cached) $ac_c" 1>&6
3188
2265
else
3189
2266
  case $MAGIC_CMD in
3190
2267
  /*)
3236
2313
 
3237
2314
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3238
2315
if test -n "$MAGIC_CMD"; then
3239
 
  echo "$as_me:3239: result: $MAGIC_CMD" >&5
3240
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
2316
  echo "$ac_t""$MAGIC_CMD" 1>&6
3241
2317
else
3242
 
  echo "$as_me:3242: result: no" >&5
3243
 
echo "${ECHO_T}no" >&6
 
2318
  echo "$ac_t""no" 1>&6
3244
2319
fi
3245
2320
 
3246
2321
if test -z "$lt_cv_path_MAGIC_CMD"; then
3247
2322
  if test -n "$ac_tool_prefix"; then
3248
 
    echo "$as_me:3248: checking for file" >&5
3249
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
3250
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3251
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2323
    echo $ac_n "checking for file""... $ac_c" 1>&6
 
2324
echo "configure:2325: checking for file" >&5
 
2325
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
 
2326
  echo $ac_n "(cached) $ac_c" 1>&6
3252
2327
else
3253
2328
  case $MAGIC_CMD in
3254
2329
  /*)
3300
2375
 
3301
2376
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3302
2377
if test -n "$MAGIC_CMD"; then
3303
 
  echo "$as_me:3303: result: $MAGIC_CMD" >&5
3304
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
2378
  echo "$ac_t""$MAGIC_CMD" 1>&6
3305
2379
else
3306
 
  echo "$as_me:3306: result: no" >&5
3307
 
echo "${ECHO_T}no" >&6
 
2380
  echo "$ac_t""no" 1>&6
3308
2381
fi
3309
2382
 
3310
2383
  else
3316
2389
  ;;
3317
2390
esac
3318
2391
 
3319
 
if test -n "$ac_tool_prefix"; then
3320
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
2392
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3321
2393
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3322
 
echo "$as_me:3322: checking for $ac_word" >&5
3323
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3324
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
3325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2394
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2395
echo "configure:2396: checking for $ac_word" >&5
 
2396
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
 
2397
  echo $ac_n "(cached) $ac_c" 1>&6
3326
2398
else
3327
2399
  if test -n "$RANLIB"; then
3328
2400
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3329
2401
else
3330
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3331
 
ac_dummy="$PATH"
3332
 
for ac_dir in $ac_dummy; do
3333
 
  IFS=$ac_save_IFS
3334
 
  test -z "$ac_dir" && ac_dir=.
3335
 
  $as_executable_p "$ac_dir/$ac_word" || continue
3336
 
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3337
 
echo "$as_me:3337: found $ac_dir/$ac_word" >&5
3338
 
break
3339
 
done
3340
 
 
3341
 
fi
3342
 
fi
3343
 
RANLIB=$ac_cv_prog_RANLIB
 
2402
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2403
  ac_dummy="$PATH"
 
2404
  for ac_dir in $ac_dummy; do
 
2405
    test -z "$ac_dir" && ac_dir=.
 
2406
    if test -f $ac_dir/$ac_word; then
 
2407
      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
2408
      break
 
2409
    fi
 
2410
  done
 
2411
  IFS="$ac_save_ifs"
 
2412
fi
 
2413
fi
 
2414
RANLIB="$ac_cv_prog_RANLIB"
3344
2415
if test -n "$RANLIB"; then
3345
 
  echo "$as_me:3345: result: $RANLIB" >&5
3346
 
echo "${ECHO_T}$RANLIB" >&6
 
2416
  echo "$ac_t""$RANLIB" 1>&6
3347
2417
else
3348
 
  echo "$as_me:3348: result: no" >&5
3349
 
echo "${ECHO_T}no" >&6
3350
 
fi
3351
 
 
3352
 
fi
 
2418
  echo "$ac_t""no" 1>&6
 
2419
fi
 
2420
 
 
2421
 
3353
2422
if test -z "$ac_cv_prog_RANLIB"; then
3354
 
  ac_ct_RANLIB=$RANLIB
 
2423
if test -n "$ac_tool_prefix"; then
3355
2424
  # Extract the first word of "ranlib", so it can be a program name with args.
3356
2425
set dummy ranlib; ac_word=$2
3357
 
echo "$as_me:3357: checking for $ac_word" >&5
3358
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3360
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3361
 
else
3362
 
  if test -n "$ac_ct_RANLIB"; then
3363
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3364
 
else
3365
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3366
 
ac_dummy="$PATH"
3367
 
for ac_dir in $ac_dummy; do
3368
 
  IFS=$ac_save_IFS
3369
 
  test -z "$ac_dir" && ac_dir=.
3370
 
  $as_executable_p "$ac_dir/$ac_word" || continue
3371
 
ac_cv_prog_ac_ct_RANLIB="ranlib"
3372
 
echo "$as_me:3372: found $ac_dir/$ac_word" >&5
3373
 
break
3374
 
done
3375
 
 
3376
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3377
 
fi
3378
 
fi
3379
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3380
 
if test -n "$ac_ct_RANLIB"; then
3381
 
  echo "$as_me:3381: result: $ac_ct_RANLIB" >&5
3382
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3383
 
else
3384
 
  echo "$as_me:3384: result: no" >&5
3385
 
echo "${ECHO_T}no" >&6
3386
 
fi
3387
 
 
3388
 
  RANLIB=$ac_ct_RANLIB
3389
 
else
3390
 
  RANLIB="$ac_cv_prog_RANLIB"
3391
 
fi
3392
 
 
3393
 
if test -n "$ac_tool_prefix"; then
3394
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2426
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2427
echo "configure:2428: checking for $ac_word" >&5
 
2428
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
 
2429
  echo $ac_n "(cached) $ac_c" 1>&6
 
2430
else
 
2431
  if test -n "$RANLIB"; then
 
2432
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
2433
else
 
2434
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2435
  ac_dummy="$PATH"
 
2436
  for ac_dir in $ac_dummy; do
 
2437
    test -z "$ac_dir" && ac_dir=.
 
2438
    if test -f $ac_dir/$ac_word; then
 
2439
      ac_cv_prog_RANLIB="ranlib"
 
2440
      break
 
2441
    fi
 
2442
  done
 
2443
  IFS="$ac_save_ifs"
 
2444
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
 
2445
fi
 
2446
fi
 
2447
RANLIB="$ac_cv_prog_RANLIB"
 
2448
if test -n "$RANLIB"; then
 
2449
  echo "$ac_t""$RANLIB" 1>&6
 
2450
else
 
2451
  echo "$ac_t""no" 1>&6
 
2452
fi
 
2453
 
 
2454
else
 
2455
  RANLIB=":"
 
2456
fi
 
2457
fi
 
2458
 
 
2459
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3395
2460
set dummy ${ac_tool_prefix}strip; ac_word=$2
3396
 
echo "$as_me:3396: checking for $ac_word" >&5
3397
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3398
 
if test "${ac_cv_prog_STRIP+set}" = set; then
3399
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2461
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2462
echo "configure:2463: checking for $ac_word" >&5
 
2463
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
 
2464
  echo $ac_n "(cached) $ac_c" 1>&6
3400
2465
else
3401
2466
  if test -n "$STRIP"; then
3402
2467
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3403
2468
else
3404
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3405
 
ac_dummy="$PATH"
3406
 
for ac_dir in $ac_dummy; do
3407
 
  IFS=$ac_save_IFS
3408
 
  test -z "$ac_dir" && ac_dir=.
3409
 
  $as_executable_p "$ac_dir/$ac_word" || continue
3410
 
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3411
 
echo "$as_me:3411: found $ac_dir/$ac_word" >&5
3412
 
break
3413
 
done
3414
 
 
3415
 
fi
3416
 
fi
3417
 
STRIP=$ac_cv_prog_STRIP
 
2469
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2470
  ac_dummy="$PATH"
 
2471
  for ac_dir in $ac_dummy; do
 
2472
    test -z "$ac_dir" && ac_dir=.
 
2473
    if test -f $ac_dir/$ac_word; then
 
2474
      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2475
      break
 
2476
    fi
 
2477
  done
 
2478
  IFS="$ac_save_ifs"
 
2479
fi
 
2480
fi
 
2481
STRIP="$ac_cv_prog_STRIP"
3418
2482
if test -n "$STRIP"; then
3419
 
  echo "$as_me:3419: result: $STRIP" >&5
3420
 
echo "${ECHO_T}$STRIP" >&6
 
2483
  echo "$ac_t""$STRIP" 1>&6
3421
2484
else
3422
 
  echo "$as_me:3422: result: no" >&5
3423
 
echo "${ECHO_T}no" >&6
3424
 
fi
3425
 
 
3426
 
fi
 
2485
  echo "$ac_t""no" 1>&6
 
2486
fi
 
2487
 
 
2488
 
3427
2489
if test -z "$ac_cv_prog_STRIP"; then
3428
 
  ac_ct_STRIP=$STRIP
 
2490
if test -n "$ac_tool_prefix"; then
3429
2491
  # Extract the first word of "strip", so it can be a program name with args.
3430
2492
set dummy strip; ac_word=$2
3431
 
echo "$as_me:3431: checking for $ac_word" >&5
3432
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3433
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3435
 
else
3436
 
  if test -n "$ac_ct_STRIP"; then
3437
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3438
 
else
3439
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3440
 
ac_dummy="$PATH"
3441
 
for ac_dir in $ac_dummy; do
3442
 
  IFS=$ac_save_IFS
3443
 
  test -z "$ac_dir" && ac_dir=.
3444
 
  $as_executable_p "$ac_dir/$ac_word" || continue
3445
 
ac_cv_prog_ac_ct_STRIP="strip"
3446
 
echo "$as_me:3446: found $ac_dir/$ac_word" >&5
3447
 
break
3448
 
done
3449
 
 
3450
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3451
 
fi
3452
 
fi
3453
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3454
 
if test -n "$ac_ct_STRIP"; then
3455
 
  echo "$as_me:3455: result: $ac_ct_STRIP" >&5
3456
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
3457
 
else
3458
 
  echo "$as_me:3458: result: no" >&5
3459
 
echo "${ECHO_T}no" >&6
3460
 
fi
3461
 
 
3462
 
  STRIP=$ac_ct_STRIP
3463
 
else
3464
 
  STRIP="$ac_cv_prog_STRIP"
3465
 
fi
 
2493
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2494
echo "configure:2495: checking for $ac_word" >&5
 
2495
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
 
2496
  echo $ac_n "(cached) $ac_c" 1>&6
 
2497
else
 
2498
  if test -n "$STRIP"; then
 
2499
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2500
else
 
2501
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2502
  ac_dummy="$PATH"
 
2503
  for ac_dir in $ac_dummy; do
 
2504
    test -z "$ac_dir" && ac_dir=.
 
2505
    if test -f $ac_dir/$ac_word; then
 
2506
      ac_cv_prog_STRIP="strip"
 
2507
      break
 
2508
    fi
 
2509
  done
 
2510
  IFS="$ac_save_ifs"
 
2511
  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
 
2512
fi
 
2513
fi
 
2514
STRIP="$ac_cv_prog_STRIP"
 
2515
if test -n "$STRIP"; then
 
2516
  echo "$ac_t""$STRIP" 1>&6
 
2517
else
 
2518
  echo "$ac_t""no" 1>&6
 
2519
fi
 
2520
 
 
2521
else
 
2522
  STRIP=":"
 
2523
fi
 
2524
fi
 
2525
 
3466
2526
 
3467
2527
enable_dlopen=no
3468
2528
enable_win32_dll=no
3470
2530
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3471
2531
if test "${enable_libtool_lock+set}" = set; then
3472
2532
  enableval="$enable_libtool_lock"
 
2533
  :
 
2534
fi
3473
2535
 
3474
 
fi;
3475
2536
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3476
2537
 
3477
2538
# Some flags need to be propagated to the compiler or linker for good
3479
2540
case $host in
3480
2541
*-*-irix6*)
3481
2542
  # Find out which ABI we are using.
3482
 
  echo '#line 3482 "configure"' > conftest.$ac_ext
3483
 
  if { (eval echo "$as_me:3483: \"$ac_compile\"") >&5
3484
 
  (eval $ac_compile) 2>&5
3485
 
  ac_status=$?
3486
 
  echo "$as_me:3486: \$? = $ac_status" >&5
3487
 
  (exit $ac_status); }; then
 
2543
  echo '#line 2544 "configure"' > conftest.$ac_ext
 
2544
  if { (eval echo configure:2545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3488
2545
    case `/usr/bin/file conftest.$ac_objext` in
3489
2546
    *32-bit*)
3490
2547
      LD="${LD-ld} -32"
3504
2561
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3505
2562
  SAVE_CFLAGS="$CFLAGS"
3506
2563
  CFLAGS="$CFLAGS -belf"
3507
 
  echo "$as_me:3507: checking whether the C compiler needs -belf" >&5
3508
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3509
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
3510
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2564
  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
 
2565
echo "configure:2566: checking whether the C compiler needs -belf" >&5
 
2566
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
 
2567
  echo $ac_n "(cached) $ac_c" 1>&6
3511
2568
else
3512
 
 
 
2569
  
3513
2570
     ac_ext=c
 
2571
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3514
2572
ac_cpp='$CPP $CPPFLAGS'
3515
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2573
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
2574
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
2575
cross_compiling=$ac_cv_prog_cc_cross
3518
2576
 
3519
 
     cat >conftest.$ac_ext <<_ACEOF
3520
 
#line 3520 "configure"
 
2577
     cat > conftest.$ac_ext <<EOF
 
2578
#line 2579 "configure"
3521
2579
#include "confdefs.h"
3522
2580
 
3523
 
int
3524
 
main ()
3525
 
{
 
2581
int main() {
3526
2582
 
3527
 
  ;
3528
 
  return 0;
3529
 
}
3530
 
_ACEOF
3531
 
rm -f conftest.$ac_objext conftest$ac_exeext
3532
 
if { (eval echo "$as_me:3532: \"$ac_link\"") >&5
3533
 
  (eval $ac_link) 2>&5
3534
 
  ac_status=$?
3535
 
  echo "$as_me:3535: \$? = $ac_status" >&5
3536
 
  (exit $ac_status); } &&
3537
 
         { ac_try='test -s conftest$ac_exeext'
3538
 
  { (eval echo "$as_me:3538: \"$ac_try\"") >&5
3539
 
  (eval $ac_try) 2>&5
3540
 
  ac_status=$?
3541
 
  echo "$as_me:3541: \$? = $ac_status" >&5
3542
 
  (exit $ac_status); }; }; then
 
2583
; return 0; }
 
2584
EOF
 
2585
if { (eval echo configure:2586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
2586
  rm -rf conftest*
3543
2587
  lt_cv_cc_needs_belf=yes
3544
2588
else
3545
 
  echo "$as_me: failed program was:" >&5
3546
 
cat conftest.$ac_ext >&5
3547
 
lt_cv_cc_needs_belf=no
 
2589
  echo "configure: failed program was:" >&5
 
2590
  cat conftest.$ac_ext >&5
 
2591
  rm -rf conftest*
 
2592
  lt_cv_cc_needs_belf=no
3548
2593
fi
3549
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2594
rm -f conftest*
3550
2595
     ac_ext=c
 
2596
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3551
2597
ac_cpp='$CPP $CPPFLAGS'
3552
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2598
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
2599
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
2600
cross_compiling=$ac_cv_prog_cc_cross
3555
2601
 
3556
2602
fi
3557
 
echo "$as_me:3557: result: $lt_cv_cc_needs_belf" >&5
3558
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
2603
 
 
2604
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
3559
2605
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3560
2606
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3561
2607
    CFLAGS="$SAVE_CFLAGS"
3562
2608
  fi
3563
2609
  ;;
3564
2610
 
 
2611
 
3565
2612
esac
3566
2613
 
3567
2614
# Sed substitution that helps us do robust quoting.  It backslashifies
3654
2701
set dummy $CC
3655
2702
compiler="$2"
3656
2703
 
3657
 
echo "$as_me:3657: checking for objdir" >&5
3658
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
2704
echo $ac_n "checking for objdir""... $ac_c" 1>&6
 
2705
echo "configure:2706: checking for objdir" >&5
3659
2706
rm -f .libs 2>/dev/null
3660
2707
mkdir .libs 2>/dev/null
3661
2708
if test -d .libs; then
3665
2712
  objdir=_libs
3666
2713
fi
3667
2714
rmdir .libs 2>/dev/null
3668
 
echo "$as_me:3668: result: $objdir" >&5
3669
 
echo "${ECHO_T}$objdir" >&6
 
2715
echo "$ac_t""$objdir" 1>&6
 
2716
 
3670
2717
 
3671
2718
# Check whether --with-pic or --without-pic was given.
3672
2719
if test "${with_pic+set}" = set; then
3674
2721
  pic_mode="$withval"
3675
2722
else
3676
2723
  pic_mode=default
3677
 
fi;
 
2724
fi
 
2725
 
3678
2726
test -z "$pic_mode" && pic_mode=default
3679
2727
 
3680
2728
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
3681
2729
# in isolation, and that seeing it set (from the cache) indicates that
3682
2730
# the associated values are set (in the cache) correctly too.
3683
 
echo "$as_me:3683: checking for $compiler option to produce PIC" >&5
3684
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
3685
 
if test "${lt_cv_prog_cc_pic+set}" = set; then
3686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2731
echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
 
2732
echo "configure:2733: checking for $compiler option to produce PIC" >&5
 
2733
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
 
2734
  echo $ac_n "(cached) $ac_c" 1>&6
3687
2735
else
3688
2736
   lt_cv_prog_cc_pic=
3689
2737
  lt_cv_prog_cc_shlib=
3712
2760
      # like `-m68040'.
3713
2761
      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
3714
2762
      ;;
3715
 
    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
 
2763
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3716
2764
      # PIC is the default for these OSes.
3717
2765
      ;;
3718
2766
    darwin* | rhapsody*)
3755
2803
      lt_cv_prog_cc_pic='+Z'
3756
2804
      ;;
3757
2805
 
3758
 
    irix5* | irix6*)
 
2806
    irix5* | irix6* | nonstopux*)
3759
2807
      lt_cv_prog_cc_wl='-Wl,'
3760
2808
      lt_cv_prog_cc_static='-non_shared'
3761
2809
      # PIC (with -KPIC) is the default.
3827
2875
fi
3828
2876
 
3829
2877
if test -z "$lt_cv_prog_cc_pic"; then
3830
 
  echo "$as_me:3830: result: none" >&5
3831
 
echo "${ECHO_T}none" >&6
 
2878
  echo "$ac_t""none" 1>&6
3832
2879
else
3833
 
  echo "$as_me:3833: result: $lt_cv_prog_cc_pic" >&5
3834
 
echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
 
2880
  echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
3835
2881
 
3836
2882
  # Check to make sure the pic_flag actually works.
3837
 
  echo "$as_me:3837: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
3838
 
echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
3839
 
  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
3840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2883
  echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
 
2884
echo "configure:2885: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
 
2885
  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
 
2886
  echo $ac_n "(cached) $ac_c" 1>&6
3841
2887
else
3842
2888
      save_CFLAGS="$CFLAGS"
3843
2889
    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
3844
 
    cat >conftest.$ac_ext <<_ACEOF
3845
 
#line 3845 "configure"
 
2890
    cat > conftest.$ac_ext <<EOF
 
2891
#line 2892 "configure"
3846
2892
#include "confdefs.h"
3847
2893
 
3848
 
int
3849
 
main ()
3850
 
{
 
2894
int main() {
3851
2895
 
3852
 
  ;
3853
 
  return 0;
3854
 
}
3855
 
_ACEOF
3856
 
rm -f conftest.$ac_objext
3857
 
if { (eval echo "$as_me:3857: \"$ac_compile\"") >&5
3858
 
  (eval $ac_compile) 2>&5
3859
 
  ac_status=$?
3860
 
  echo "$as_me:3860: \$? = $ac_status" >&5
3861
 
  (exit $ac_status); } &&
3862
 
         { ac_try='test -s conftest.$ac_objext'
3863
 
  { (eval echo "$as_me:3863: \"$ac_try\"") >&5
3864
 
  (eval $ac_try) 2>&5
3865
 
  ac_status=$?
3866
 
  echo "$as_me:3866: \$? = $ac_status" >&5
3867
 
  (exit $ac_status); }; }; then
 
2896
; return 0; }
 
2897
EOF
 
2898
if { (eval echo configure:2899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
2899
  rm -rf conftest*
3868
2900
        case $host_os in
3869
2901
      hpux9* | hpux10* | hpux11*)
3870
2902
        # On HP-UX, both CC and GCC only warn that PIC is supported... then
3880
2912
        lt_cv_prog_cc_pic_works=yes
3881
2913
        ;;
3882
2914
      esac
3883
 
 
 
2915
    
3884
2916
else
3885
 
  echo "$as_me: failed program was:" >&5
3886
 
cat conftest.$ac_ext >&5
3887
 
      lt_cv_prog_cc_pic_works=no
3888
 
 
 
2917
  echo "configure: failed program was:" >&5
 
2918
  cat conftest.$ac_ext >&5
 
2919
  rm -rf conftest*
 
2920
        lt_cv_prog_cc_pic_works=no
 
2921
    
3889
2922
fi
3890
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2923
rm -f conftest*
3891
2924
    CFLAGS="$save_CFLAGS"
3892
 
 
 
2925
  
3893
2926
fi
3894
2927
 
 
2928
 
3895
2929
  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
3896
2930
    lt_cv_prog_cc_pic=
3897
2931
    lt_cv_prog_cc_can_build_shared=no
3899
2933
    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
3900
2934
  fi
3901
2935
 
3902
 
  echo "$as_me:3902: result: $lt_cv_prog_cc_pic_works" >&5
3903
 
echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
 
2936
  echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
3904
2937
fi
3905
2938
 
3906
2939
# Check for any special shared library compilation flags.
3907
2940
if test -n "$lt_cv_prog_cc_shlib"; then
3908
 
  { echo "$as_me:3908: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
3909
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
 
2941
  echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
3910
2942
  if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
3911
2943
  else
3912
 
   { echo "$as_me:3912: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
3913
 
echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
 
2944
   echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
3914
2945
    lt_cv_prog_cc_can_build_shared=no
3915
2946
  fi
3916
2947
fi
3917
2948
 
3918
 
echo "$as_me:3918: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3919
 
echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
3920
 
if test "${lt_cv_prog_cc_static_works+set}" = set; then
3921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2949
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
 
2950
echo "configure:2951: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
 
2951
if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
 
2952
  echo $ac_n "(cached) $ac_c" 1>&6
3922
2953
else
3923
2954
    lt_cv_prog_cc_static_works=no
3924
2955
  save_LDFLAGS="$LDFLAGS"
3925
2956
  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
3926
 
  cat >conftest.$ac_ext <<_ACEOF
3927
 
#line 3927 "configure"
 
2957
  cat > conftest.$ac_ext <<EOF
 
2958
#line 2959 "configure"
3928
2959
#include "confdefs.h"
3929
2960
 
3930
 
int
3931
 
main ()
3932
 
{
 
2961
int main() {
3933
2962
 
3934
 
  ;
3935
 
  return 0;
3936
 
}
3937
 
_ACEOF
3938
 
rm -f conftest.$ac_objext conftest$ac_exeext
3939
 
if { (eval echo "$as_me:3939: \"$ac_link\"") >&5
3940
 
  (eval $ac_link) 2>&5
3941
 
  ac_status=$?
3942
 
  echo "$as_me:3942: \$? = $ac_status" >&5
3943
 
  (exit $ac_status); } &&
3944
 
         { ac_try='test -s conftest$ac_exeext'
3945
 
  { (eval echo "$as_me:3945: \"$ac_try\"") >&5
3946
 
  (eval $ac_try) 2>&5
3947
 
  ac_status=$?
3948
 
  echo "$as_me:3948: \$? = $ac_status" >&5
3949
 
  (exit $ac_status); }; }; then
 
2963
; return 0; }
 
2964
EOF
 
2965
if { (eval echo configure:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
2966
  rm -rf conftest*
3950
2967
  lt_cv_prog_cc_static_works=yes
3951
2968
else
3952
 
  echo "$as_me: failed program was:" >&5
3953
 
cat conftest.$ac_ext >&5
 
2969
  echo "configure: failed program was:" >&5
 
2970
  cat conftest.$ac_ext >&5
3954
2971
fi
3955
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2972
rm -f conftest*
3956
2973
  LDFLAGS="$save_LDFLAGS"
3957
2974
 
3958
2975
fi
3959
2976
 
 
2977
 
3960
2978
# Belt *and* braces to stop my trousers falling down:
3961
2979
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
3962
 
echo "$as_me:3962: result: $lt_cv_prog_cc_static_works" >&5
3963
 
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
 
2980
echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
3964
2981
 
3965
2982
pic_flag="$lt_cv_prog_cc_pic"
3966
2983
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
3969
2986
no_builtin_flag="$lt_cv_prog_cc_no_builtin"
3970
2987
can_build_shared="$lt_cv_prog_cc_can_build_shared"
3971
2988
 
 
2989
 
3972
2990
# Check to see if options -o and -c are simultaneously supported by compiler
3973
 
echo "$as_me:3973: checking if $compiler supports -c -o file.$ac_objext" >&5
3974
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
3975
 
if test "${lt_cv_compiler_c_o+set}" = set; then
3976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2991
echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
 
2992
echo "configure:2993: checking if $compiler supports -c -o file.$ac_objext" >&5
 
2993
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
 
2994
  echo $ac_n "(cached) $ac_c" 1>&6
3977
2995
else
3978
 
 
 
2996
  
3979
2997
$rm -r conftest 2>/dev/null
3980
2998
mkdir conftest
3981
2999
cd conftest
3990
3008
save_CFLAGS="$CFLAGS"
3991
3009
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
3992
3010
compiler_c_o=no
3993
 
if { (eval echo configure:3993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
 
3011
if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3994
3012
  # The compiler can only warn and ignore the option if not recognized
3995
3013
  # So say no if there are warnings
3996
3014
  if test -s out/conftest.err; then
4014
3032
fi
4015
3033
 
4016
3034
compiler_c_o=$lt_cv_compiler_c_o
4017
 
echo "$as_me:4017: result: $compiler_c_o" >&5
4018
 
echo "${ECHO_T}$compiler_c_o" >&6
 
3035
echo "$ac_t""$compiler_c_o" 1>&6
4019
3036
 
4020
3037
if test x"$compiler_c_o" = x"yes"; then
4021
3038
  # Check to see if we can write to a .lo
4022
 
  echo "$as_me:4022: checking if $compiler supports -c -o file.lo" >&5
4023
 
echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
4024
 
  if test "${lt_cv_compiler_o_lo+set}" = set; then
4025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3039
  echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
 
3040
echo "configure:3041: checking if $compiler supports -c -o file.lo" >&5
 
3041
  if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
 
3042
  echo $ac_n "(cached) $ac_c" 1>&6
4026
3043
else
4027
 
 
 
3044
  
4028
3045
  lt_cv_compiler_o_lo=no
4029
3046
  save_CFLAGS="$CFLAGS"
4030
3047
  CFLAGS="$CFLAGS -c -o conftest.lo"
4031
3048
  save_objext="$ac_objext"
4032
3049
  ac_objext=lo
4033
 
  cat >conftest.$ac_ext <<_ACEOF
4034
 
#line 4034 "configure"
 
3050
  cat > conftest.$ac_ext <<EOF
 
3051
#line 3052 "configure"
4035
3052
#include "confdefs.h"
4036
3053
 
4037
 
int
4038
 
main ()
4039
 
{
 
3054
int main() {
4040
3055
int some_variable = 0;
4041
 
  ;
4042
 
  return 0;
4043
 
}
4044
 
_ACEOF
4045
 
rm -f conftest.$ac_objext
4046
 
if { (eval echo "$as_me:4046: \"$ac_compile\"") >&5
4047
 
  (eval $ac_compile) 2>&5
4048
 
  ac_status=$?
4049
 
  echo "$as_me:4049: \$? = $ac_status" >&5
4050
 
  (exit $ac_status); } &&
4051
 
         { ac_try='test -s conftest.$ac_objext'
4052
 
  { (eval echo "$as_me:4052: \"$ac_try\"") >&5
4053
 
  (eval $ac_try) 2>&5
4054
 
  ac_status=$?
4055
 
  echo "$as_me:4055: \$? = $ac_status" >&5
4056
 
  (exit $ac_status); }; }; then
 
3056
; return 0; }
 
3057
EOF
 
3058
if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
3059
  rm -rf conftest*
4057
3060
      # The compiler can only warn and ignore the option if not recognized
4058
3061
    # So say no if there are warnings
4059
3062
    if test -s conftest.err; then
4061
3064
    else
4062
3065
      lt_cv_compiler_o_lo=yes
4063
3066
    fi
4064
 
 
 
3067
  
4065
3068
else
4066
 
  echo "$as_me: failed program was:" >&5
4067
 
cat conftest.$ac_ext >&5
 
3069
  echo "configure: failed program was:" >&5
 
3070
  cat conftest.$ac_ext >&5
4068
3071
fi
4069
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3072
rm -f conftest*
4070
3073
  ac_objext="$save_objext"
4071
3074
  CFLAGS="$save_CFLAGS"
4072
 
 
 
3075
  
4073
3076
fi
4074
3077
 
4075
3078
  compiler_o_lo=$lt_cv_compiler_o_lo
4076
 
  echo "$as_me:4076: result: $compiler_o_lo" >&5
4077
 
echo "${ECHO_T}$compiler_o_lo" >&6
 
3079
  echo "$ac_t""$compiler_o_lo" 1>&6
4078
3080
else
4079
3081
  compiler_o_lo=no
4080
3082
fi
4083
3085
hard_links="nottested"
4084
3086
if test "$compiler_c_o" = no && test "$need_locks" != no; then
4085
3087
  # do not overwrite the value of need_locks provided by the user
4086
 
  echo "$as_me:4086: checking if we can lock with hard links" >&5
4087
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
3088
  echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
 
3089
echo "configure:3090: checking if we can lock with hard links" >&5
4088
3090
  hard_links=yes
4089
3091
  $rm conftest*
4090
3092
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
4091
3093
  touch conftest.a
4092
3094
  ln conftest.a conftest.b 2>&5 || hard_links=no
4093
3095
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
4094
 
  echo "$as_me:4094: result: $hard_links" >&5
4095
 
echo "${ECHO_T}$hard_links" >&6
 
3096
  echo "$ac_t""$hard_links" 1>&6
4096
3097
  if test "$hard_links" = no; then
4097
 
    { echo "$as_me:4097: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
4098
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
3098
    echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
4099
3099
    need_locks=warn
4100
3100
  fi
4101
3101
else
4104
3104
 
4105
3105
if test "$GCC" = yes; then
4106
3106
  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
4107
 
  echo "$as_me:4107: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
4108
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
3107
  echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
 
3108
echo "configure:3109: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
4109
3109
  echo "int some_variable = 0;" > conftest.$ac_ext
4110
3110
  save_CFLAGS="$CFLAGS"
4111
3111
  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
4112
3112
  compiler_rtti_exceptions=no
4113
 
  cat >conftest.$ac_ext <<_ACEOF
4114
 
#line 4114 "configure"
 
3113
  cat > conftest.$ac_ext <<EOF
 
3114
#line 3115 "configure"
4115
3115
#include "confdefs.h"
4116
3116
 
4117
 
int
4118
 
main ()
4119
 
{
 
3117
int main() {
4120
3118
int some_variable = 0;
4121
 
  ;
4122
 
  return 0;
4123
 
}
4124
 
_ACEOF
4125
 
rm -f conftest.$ac_objext
4126
 
if { (eval echo "$as_me:4126: \"$ac_compile\"") >&5
4127
 
  (eval $ac_compile) 2>&5
4128
 
  ac_status=$?
4129
 
  echo "$as_me:4129: \$? = $ac_status" >&5
4130
 
  (exit $ac_status); } &&
4131
 
         { ac_try='test -s conftest.$ac_objext'
4132
 
  { (eval echo "$as_me:4132: \"$ac_try\"") >&5
4133
 
  (eval $ac_try) 2>&5
4134
 
  ac_status=$?
4135
 
  echo "$as_me:4135: \$? = $ac_status" >&5
4136
 
  (exit $ac_status); }; }; then
 
3119
; return 0; }
 
3120
EOF
 
3121
if { (eval echo configure:3122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
3122
  rm -rf conftest*
4137
3123
      # The compiler can only warn and ignore the option if not recognized
4138
3124
    # So say no if there are warnings
4139
3125
    if test -s conftest.err; then
4141
3127
    else
4142
3128
      compiler_rtti_exceptions=yes
4143
3129
    fi
4144
 
 
 
3130
  
4145
3131
else
4146
 
  echo "$as_me: failed program was:" >&5
4147
 
cat conftest.$ac_ext >&5
 
3132
  echo "configure: failed program was:" >&5
 
3133
  cat conftest.$ac_ext >&5
4148
3134
fi
4149
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3135
rm -f conftest*
4150
3136
  CFLAGS="$save_CFLAGS"
4151
 
  echo "$as_me:4151: result: $compiler_rtti_exceptions" >&5
4152
 
echo "${ECHO_T}$compiler_rtti_exceptions" >&6
 
3137
  echo "$ac_t""$compiler_rtti_exceptions" 1>&6
4153
3138
 
4154
3139
  if test "$compiler_rtti_exceptions" = "yes"; then
4155
3140
    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
4159
3144
fi
4160
3145
 
4161
3146
# See if the linker supports building shared libraries.
4162
 
echo "$as_me:4162: checking whether the linker ($LD) supports shared libraries" >&5
4163
 
echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
 
3147
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
 
3148
echo "configure:3149: checking whether the linker ($LD) supports shared libraries" >&5
4164
3149
 
4165
3150
allow_undefined_flag=
4166
3151
no_undefined_flag=
4554
3539
    esac
4555
3540
    # FIXME: Relying on posixy $() will cause problems for
4556
3541
    #        cross-compilation, but unfortunately the echo tests do not
4557
 
    #        yet detect zsh echo's removal of \ escapes.
4558
 
    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
 
3542
    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
 
3543
    #        `"' quotes if we put them in here... so don't!
 
3544
    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
4559
3545
    # We need to add '_' to the symbols in $export_symbols first
4560
3546
    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
4561
3547
    hardcode_direct=yes
4607
3593
    export_dynamic_flag_spec='${wl}-E'
4608
3594
    ;;
4609
3595
 
4610
 
  irix5* | irix6*)
 
3596
  irix5* | irix6* | nonstopux*)
4611
3597
    if test "$GCC" = yes; then
4612
3598
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4613
3599
    else
4839
3825
    ;;
4840
3826
  esac
4841
3827
fi
4842
 
echo "$as_me:4842: result: $ld_shlibs" >&5
4843
 
echo "${ECHO_T}$ld_shlibs" >&6
 
3828
echo "$ac_t""$ld_shlibs" 1>&6
4844
3829
test "$ld_shlibs" = no && can_build_shared=no
4845
3830
 
4846
3831
# Check hardcoding attributes.
4847
 
echo "$as_me:4847: checking how to hardcode library paths into programs" >&5
4848
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
3832
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
 
3833
echo "configure:3834: checking how to hardcode library paths into programs" >&5
4849
3834
hardcode_action=
4850
3835
if test -n "$hardcode_libdir_flag_spec" || \
4851
3836
   test -n "$runpath_var"; then
4868
3853
  # directories.
4869
3854
  hardcode_action=unsupported
4870
3855
fi
4871
 
echo "$as_me:4871: result: $hardcode_action" >&5
4872
 
echo "${ECHO_T}$hardcode_action" >&6
 
3856
echo "$ac_t""$hardcode_action" 1>&6
4873
3857
 
4874
3858
striplib=
4875
3859
old_striplib=
4876
 
echo "$as_me:4876: checking whether stripping libraries is possible" >&5
4877
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
3860
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
 
3861
echo "configure:3862: checking whether stripping libraries is possible" >&5
4878
3862
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
4879
3863
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4880
3864
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4881
 
  echo "$as_me:4881: result: yes" >&5
4882
 
echo "${ECHO_T}yes" >&6
 
3865
  echo "$ac_t""yes" 1>&6
4883
3866
else
4884
 
  echo "$as_me:4884: result: no" >&5
4885
 
echo "${ECHO_T}no" >&6
 
3867
  echo "$ac_t""no" 1>&6
4886
3868
fi
4887
3869
 
4888
3870
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4889
3871
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4890
3872
 
4891
3873
# PORTME Fill in your ld.so characteristics
4892
 
echo "$as_me:4892: checking dynamic linker characteristics" >&5
4893
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
3874
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
 
3875
echo "configure:3876: checking dynamic linker characteristics" >&5
4894
3876
library_names_spec=
4895
3877
libname_spec='lib$name'
4896
3878
soname_spec=
5085
4067
  postinstall_cmds='chmod 555 $lib'
5086
4068
  ;;
5087
4069
 
5088
 
irix5* | irix6*)
5089
 
  version_type=irix
 
4070
irix5* | irix6* | nonstopux*)
 
4071
  case $host_os in
 
4072
    nonstopux*) version_type=nonstopux ;;
 
4073
    *)          version_type=irix ;;
 
4074
  esac
5090
4075
  need_lib_prefix=no
5091
4076
  need_version=no
5092
4077
  soname_spec='${libname}${release}.so$major'
5093
4078
  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
5094
4079
  case $host_os in
5095
 
  irix5*)
 
4080
  irix5* | nonstopux*)
5096
4081
    libsuff= shlibsuff=
5097
4082
    ;;
5098
4083
  *)
5282
4267
  dynamic_linker=no
5283
4268
  ;;
5284
4269
esac
5285
 
echo "$as_me:5285: result: $dynamic_linker" >&5
5286
 
echo "${ECHO_T}$dynamic_linker" >&6
 
4270
echo "$ac_t""$dynamic_linker" 1>&6
5287
4271
test "$dynamic_linker" = no && can_build_shared=no
5288
4272
 
5289
4273
# Report the final consequences.
5290
 
echo "$as_me:5290: checking if libtool supports shared libraries" >&5
5291
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
5292
 
echo "$as_me:5292: result: $can_build_shared" >&5
5293
 
echo "${ECHO_T}$can_build_shared" >&6
 
4274
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
 
4275
echo "configure:4276: checking if libtool supports shared libraries" >&5
 
4276
echo "$ac_t""$can_build_shared" 1>&6
5294
4277
 
5295
 
echo "$as_me:5295: checking whether to build shared libraries" >&5
5296
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
4278
echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
 
4279
echo "configure:4280: checking whether to build shared libraries" >&5
5297
4280
test "$can_build_shared" = "no" && enable_shared=no
5298
4281
 
5299
4282
# On AIX, shared libraries and static libraries use the same namespace, and
5313
4296
  fi
5314
4297
  ;;
5315
4298
esac
5316
 
echo "$as_me:5316: result: $enable_shared" >&5
5317
 
echo "${ECHO_T}$enable_shared" >&6
 
4299
echo "$ac_t""$enable_shared" 1>&6
5318
4300
 
5319
 
echo "$as_me:5319: checking whether to build static libraries" >&5
5320
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
4301
echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
 
4302
echo "configure:4303: checking whether to build static libraries" >&5
5321
4303
# Make sure either enable_shared or enable_static is yes.
5322
4304
test "$enable_shared" = yes || enable_static=yes
5323
 
echo "$as_me:5323: result: $enable_static" >&5
5324
 
echo "${ECHO_T}$enable_static" >&6
 
4305
echo "$ac_t""$enable_static" 1>&6
5325
4306
 
5326
4307
if test "$hardcode_action" = relink; then
5327
4308
  # Fast installation is not supported
5358
4339
   ;;
5359
4340
 
5360
4341
  *)
5361
 
    echo "$as_me:5361: checking for shl_load" >&5
5362
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
5363
 
if test "${ac_cv_func_shl_load+set}" = set; then
5364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4342
    echo $ac_n "checking for shl_load""... $ac_c" 1>&6
 
4343
echo "configure:4344: checking for shl_load" >&5
 
4344
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
 
4345
  echo $ac_n "(cached) $ac_c" 1>&6
5365
4346
else
5366
 
  cat >conftest.$ac_ext <<_ACEOF
5367
 
#line 5367 "configure"
 
4347
  cat > conftest.$ac_ext <<EOF
 
4348
#line 4349 "configure"
5368
4349
#include "confdefs.h"
5369
4350
/* System header to define __stub macros and hopefully few prototypes,
5370
 
    which can conflict with char shl_load (); below.  */
 
4351
    which can conflict with char shl_load(); below.  */
5371
4352
#include <assert.h>
5372
4353
/* Override any gcc2 internal prototype to avoid an error.  */
5373
 
#ifdef __cplusplus
5374
 
extern "C"
5375
 
#endif
5376
4354
/* We use char because int might match the return type of a gcc2
5377
 
   builtin and then its argument prototype would still apply.  */
5378
 
char shl_load ();
5379
 
char (*f) ();
5380
 
 
5381
 
int
5382
 
main ()
5383
 
{
 
4355
    builtin and then its argument prototype would still apply.  */
 
4356
char shl_load();
 
4357
 
 
4358
int main() {
 
4359
 
5384
4360
/* The GNU C library defines this for functions which it implements
5385
4361
    to always fail with ENOSYS.  Some functions are actually named
5386
4362
    something starting with __ and the normal name is an alias.  */
5387
4363
#if defined (__stub_shl_load) || defined (__stub___shl_load)
5388
4364
choke me
5389
4365
#else
5390
 
f = shl_load;
 
4366
shl_load();
5391
4367
#endif
5392
4368
 
5393
 
  ;
5394
 
  return 0;
5395
 
}
5396
 
_ACEOF
5397
 
rm -f conftest.$ac_objext conftest$ac_exeext
5398
 
if { (eval echo "$as_me:5398: \"$ac_link\"") >&5
5399
 
  (eval $ac_link) 2>&5
5400
 
  ac_status=$?
5401
 
  echo "$as_me:5401: \$? = $ac_status" >&5
5402
 
  (exit $ac_status); } &&
5403
 
         { ac_try='test -s conftest$ac_exeext'
5404
 
  { (eval echo "$as_me:5404: \"$ac_try\"") >&5
5405
 
  (eval $ac_try) 2>&5
5406
 
  ac_status=$?
5407
 
  echo "$as_me:5407: \$? = $ac_status" >&5
5408
 
  (exit $ac_status); }; }; then
5409
 
  ac_cv_func_shl_load=yes
 
4369
; return 0; }
 
4370
EOF
 
4371
if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
4372
  rm -rf conftest*
 
4373
  eval "ac_cv_func_shl_load=yes"
5410
4374
else
5411
 
  echo "$as_me: failed program was:" >&5
5412
 
cat conftest.$ac_ext >&5
5413
 
ac_cv_func_shl_load=no
5414
 
fi
5415
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5416
 
fi
5417
 
echo "$as_me:5417: result: $ac_cv_func_shl_load" >&5
5418
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
5419
 
if test $ac_cv_func_shl_load = yes; then
 
4375
  echo "configure: failed program was:" >&5
 
4376
  cat conftest.$ac_ext >&5
 
4377
  rm -rf conftest*
 
4378
  eval "ac_cv_func_shl_load=no"
 
4379
fi
 
4380
rm -f conftest*
 
4381
fi
 
4382
 
 
4383
if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
 
4384
  echo "$ac_t""yes" 1>&6
5420
4385
  lt_cv_dlopen="shl_load"
5421
4386
else
5422
 
  echo "$as_me:5422: checking for shl_load in -ldld" >&5
5423
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
5424
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
5425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4387
  echo "$ac_t""no" 1>&6
 
4388
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
 
4389
echo "configure:4390: checking for shl_load in -ldld" >&5
 
4390
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
 
4391
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
4392
  echo $ac_n "(cached) $ac_c" 1>&6
5426
4393
else
5427
 
  ac_check_lib_save_LIBS=$LIBS
 
4394
  ac_save_LIBS="$LIBS"
5428
4395
LIBS="-ldld  $LIBS"
5429
 
cat >conftest.$ac_ext <<_ACEOF
5430
 
#line 5430 "configure"
 
4396
cat > conftest.$ac_ext <<EOF
 
4397
#line 4398 "configure"
5431
4398
#include "confdefs.h"
5432
 
 
5433
4399
/* Override any gcc2 internal prototype to avoid an error.  */
5434
 
#ifdef __cplusplus
5435
 
extern "C"
5436
 
#endif
5437
4400
/* We use char because int might match the return type of a gcc2
5438
 
   builtin and then its argument prototype would still apply.  */
5439
 
char shl_load ();
5440
 
int
5441
 
main ()
5442
 
{
5443
 
shl_load ();
5444
 
  ;
5445
 
  return 0;
5446
 
}
5447
 
_ACEOF
5448
 
rm -f conftest.$ac_objext conftest$ac_exeext
5449
 
if { (eval echo "$as_me:5449: \"$ac_link\"") >&5
5450
 
  (eval $ac_link) 2>&5
5451
 
  ac_status=$?
5452
 
  echo "$as_me:5452: \$? = $ac_status" >&5
5453
 
  (exit $ac_status); } &&
5454
 
         { ac_try='test -s conftest$ac_exeext'
5455
 
  { (eval echo "$as_me:5455: \"$ac_try\"") >&5
5456
 
  (eval $ac_try) 2>&5
5457
 
  ac_status=$?
5458
 
  echo "$as_me:5458: \$? = $ac_status" >&5
5459
 
  (exit $ac_status); }; }; then
5460
 
  ac_cv_lib_dld_shl_load=yes
 
4401
    builtin and then its argument prototype would still apply.  */
 
4402
char shl_load();
 
4403
 
 
4404
int main() {
 
4405
shl_load()
 
4406
; return 0; }
 
4407
EOF
 
4408
if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
4409
  rm -rf conftest*
 
4410
  eval "ac_cv_lib_$ac_lib_var=yes"
5461
4411
else
5462
 
  echo "$as_me: failed program was:" >&5
5463
 
cat conftest.$ac_ext >&5
5464
 
ac_cv_lib_dld_shl_load=no
5465
 
fi
5466
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5467
 
LIBS=$ac_check_lib_save_LIBS
5468
 
fi
5469
 
echo "$as_me:5469: result: $ac_cv_lib_dld_shl_load" >&5
5470
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
5471
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
4412
  echo "configure: failed program was:" >&5
 
4413
  cat conftest.$ac_ext >&5
 
4414
  rm -rf conftest*
 
4415
  eval "ac_cv_lib_$ac_lib_var=no"
 
4416
fi
 
4417
rm -f conftest*
 
4418
LIBS="$ac_save_LIBS"
 
4419
 
 
4420
fi
 
4421
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
4422
  echo "$ac_t""yes" 1>&6
5472
4423
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
5473
4424
else
5474
 
  echo "$as_me:5474: checking for dlopen" >&5
5475
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
5476
 
if test "${ac_cv_func_dlopen+set}" = set; then
5477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4425
  echo "$ac_t""no" 1>&6
 
4426
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
 
4427
echo "configure:4428: checking for dlopen" >&5
 
4428
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
 
4429
  echo $ac_n "(cached) $ac_c" 1>&6
5478
4430
else
5479
 
  cat >conftest.$ac_ext <<_ACEOF
5480
 
#line 5480 "configure"
 
4431
  cat > conftest.$ac_ext <<EOF
 
4432
#line 4433 "configure"
5481
4433
#include "confdefs.h"
5482
4434
/* System header to define __stub macros and hopefully few prototypes,
5483
 
    which can conflict with char dlopen (); below.  */
 
4435
    which can conflict with char dlopen(); below.  */
5484
4436
#include <assert.h>
5485
4437
/* Override any gcc2 internal prototype to avoid an error.  */
5486
 
#ifdef __cplusplus
5487
 
extern "C"
5488
 
#endif
5489
4438
/* We use char because int might match the return type of a gcc2
5490
 
   builtin and then its argument prototype would still apply.  */
5491
 
char dlopen ();
5492
 
char (*f) ();
5493
 
 
5494
 
int
5495
 
main ()
5496
 
{
 
4439
    builtin and then its argument prototype would still apply.  */
 
4440
char dlopen();
 
4441
 
 
4442
int main() {
 
4443
 
5497
4444
/* The GNU C library defines this for functions which it implements
5498
4445
    to always fail with ENOSYS.  Some functions are actually named
5499
4446
    something starting with __ and the normal name is an alias.  */
5500
4447
#if defined (__stub_dlopen) || defined (__stub___dlopen)
5501
4448
choke me
5502
4449
#else
5503
 
f = dlopen;
 
4450
dlopen();
5504
4451
#endif
5505
4452
 
5506
 
  ;
5507
 
  return 0;
5508
 
}
5509
 
_ACEOF
5510
 
rm -f conftest.$ac_objext conftest$ac_exeext
5511
 
if { (eval echo "$as_me:5511: \"$ac_link\"") >&5
5512
 
  (eval $ac_link) 2>&5
5513
 
  ac_status=$?
5514
 
  echo "$as_me:5514: \$? = $ac_status" >&5
5515
 
  (exit $ac_status); } &&
5516
 
         { ac_try='test -s conftest$ac_exeext'
5517
 
  { (eval echo "$as_me:5517: \"$ac_try\"") >&5
5518
 
  (eval $ac_try) 2>&5
5519
 
  ac_status=$?
5520
 
  echo "$as_me:5520: \$? = $ac_status" >&5
5521
 
  (exit $ac_status); }; }; then
5522
 
  ac_cv_func_dlopen=yes
 
4453
; return 0; }
 
4454
EOF
 
4455
if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
4456
  rm -rf conftest*
 
4457
  eval "ac_cv_func_dlopen=yes"
5523
4458
else
5524
 
  echo "$as_me: failed program was:" >&5
5525
 
cat conftest.$ac_ext >&5
5526
 
ac_cv_func_dlopen=no
5527
 
fi
5528
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5529
 
fi
5530
 
echo "$as_me:5530: result: $ac_cv_func_dlopen" >&5
5531
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
5532
 
if test $ac_cv_func_dlopen = yes; then
 
4459
  echo "configure: failed program was:" >&5
 
4460
  cat conftest.$ac_ext >&5
 
4461
  rm -rf conftest*
 
4462
  eval "ac_cv_func_dlopen=no"
 
4463
fi
 
4464
rm -f conftest*
 
4465
fi
 
4466
 
 
4467
if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
 
4468
  echo "$ac_t""yes" 1>&6
5533
4469
  lt_cv_dlopen="dlopen"
5534
4470
else
5535
 
  echo "$as_me:5535: checking for dlopen in -ldl" >&5
5536
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5537
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4471
  echo "$ac_t""no" 1>&6
 
4472
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
 
4473
echo "configure:4474: checking for dlopen in -ldl" >&5
 
4474
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
 
4475
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
4476
  echo $ac_n "(cached) $ac_c" 1>&6
5539
4477
else
5540
 
  ac_check_lib_save_LIBS=$LIBS
 
4478
  ac_save_LIBS="$LIBS"
5541
4479
LIBS="-ldl  $LIBS"
5542
 
cat >conftest.$ac_ext <<_ACEOF
5543
 
#line 5543 "configure"
 
4480
cat > conftest.$ac_ext <<EOF
 
4481
#line 4482 "configure"
5544
4482
#include "confdefs.h"
5545
 
 
5546
4483
/* Override any gcc2 internal prototype to avoid an error.  */
5547
 
#ifdef __cplusplus
5548
 
extern "C"
5549
 
#endif
5550
4484
/* We use char because int might match the return type of a gcc2
5551
 
   builtin and then its argument prototype would still apply.  */
5552
 
char dlopen ();
5553
 
int
5554
 
main ()
5555
 
{
5556
 
dlopen ();
5557
 
  ;
5558
 
  return 0;
5559
 
}
5560
 
_ACEOF
5561
 
rm -f conftest.$ac_objext conftest$ac_exeext
5562
 
if { (eval echo "$as_me:5562: \"$ac_link\"") >&5
5563
 
  (eval $ac_link) 2>&5
5564
 
  ac_status=$?
5565
 
  echo "$as_me:5565: \$? = $ac_status" >&5
5566
 
  (exit $ac_status); } &&
5567
 
         { ac_try='test -s conftest$ac_exeext'
5568
 
  { (eval echo "$as_me:5568: \"$ac_try\"") >&5
5569
 
  (eval $ac_try) 2>&5
5570
 
  ac_status=$?
5571
 
  echo "$as_me:5571: \$? = $ac_status" >&5
5572
 
  (exit $ac_status); }; }; then
5573
 
  ac_cv_lib_dl_dlopen=yes
 
4485
    builtin and then its argument prototype would still apply.  */
 
4486
char dlopen();
 
4487
 
 
4488
int main() {
 
4489
dlopen()
 
4490
; return 0; }
 
4491
EOF
 
4492
if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
4493
  rm -rf conftest*
 
4494
  eval "ac_cv_lib_$ac_lib_var=yes"
5574
4495
else
5575
 
  echo "$as_me: failed program was:" >&5
5576
 
cat conftest.$ac_ext >&5
5577
 
ac_cv_lib_dl_dlopen=no
5578
 
fi
5579
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5580
 
LIBS=$ac_check_lib_save_LIBS
5581
 
fi
5582
 
echo "$as_me:5582: result: $ac_cv_lib_dl_dlopen" >&5
5583
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5584
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
4496
  echo "configure: failed program was:" >&5
 
4497
  cat conftest.$ac_ext >&5
 
4498
  rm -rf conftest*
 
4499
  eval "ac_cv_lib_$ac_lib_var=no"
 
4500
fi
 
4501
rm -f conftest*
 
4502
LIBS="$ac_save_LIBS"
 
4503
 
 
4504
fi
 
4505
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
4506
  echo "$ac_t""yes" 1>&6
5585
4507
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5586
4508
else
5587
 
  echo "$as_me:5587: checking for dlopen in -lsvld" >&5
5588
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
5589
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
5590
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4509
  echo "$ac_t""no" 1>&6
 
4510
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
 
4511
echo "configure:4512: checking for dlopen in -lsvld" >&5
 
4512
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
 
4513
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
4514
  echo $ac_n "(cached) $ac_c" 1>&6
5591
4515
else
5592
 
  ac_check_lib_save_LIBS=$LIBS
 
4516
  ac_save_LIBS="$LIBS"
5593
4517
LIBS="-lsvld  $LIBS"
5594
 
cat >conftest.$ac_ext <<_ACEOF
5595
 
#line 5595 "configure"
 
4518
cat > conftest.$ac_ext <<EOF
 
4519
#line 4520 "configure"
5596
4520
#include "confdefs.h"
5597
 
 
5598
4521
/* Override any gcc2 internal prototype to avoid an error.  */
5599
 
#ifdef __cplusplus
5600
 
extern "C"
5601
 
#endif
5602
4522
/* We use char because int might match the return type of a gcc2
5603
 
   builtin and then its argument prototype would still apply.  */
5604
 
char dlopen ();
5605
 
int
5606
 
main ()
5607
 
{
5608
 
dlopen ();
5609
 
  ;
5610
 
  return 0;
5611
 
}
5612
 
_ACEOF
5613
 
rm -f conftest.$ac_objext conftest$ac_exeext
5614
 
if { (eval echo "$as_me:5614: \"$ac_link\"") >&5
5615
 
  (eval $ac_link) 2>&5
5616
 
  ac_status=$?
5617
 
  echo "$as_me:5617: \$? = $ac_status" >&5
5618
 
  (exit $ac_status); } &&
5619
 
         { ac_try='test -s conftest$ac_exeext'
5620
 
  { (eval echo "$as_me:5620: \"$ac_try\"") >&5
5621
 
  (eval $ac_try) 2>&5
5622
 
  ac_status=$?
5623
 
  echo "$as_me:5623: \$? = $ac_status" >&5
5624
 
  (exit $ac_status); }; }; then
5625
 
  ac_cv_lib_svld_dlopen=yes
 
4523
    builtin and then its argument prototype would still apply.  */
 
4524
char dlopen();
 
4525
 
 
4526
int main() {
 
4527
dlopen()
 
4528
; return 0; }
 
4529
EOF
 
4530
if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
4531
  rm -rf conftest*
 
4532
  eval "ac_cv_lib_$ac_lib_var=yes"
5626
4533
else
5627
 
  echo "$as_me: failed program was:" >&5
5628
 
cat conftest.$ac_ext >&5
5629
 
ac_cv_lib_svld_dlopen=no
5630
 
fi
5631
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5632
 
LIBS=$ac_check_lib_save_LIBS
5633
 
fi
5634
 
echo "$as_me:5634: result: $ac_cv_lib_svld_dlopen" >&5
5635
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
5636
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
4534
  echo "configure: failed program was:" >&5
 
4535
  cat conftest.$ac_ext >&5
 
4536
  rm -rf conftest*
 
4537
  eval "ac_cv_lib_$ac_lib_var=no"
 
4538
fi
 
4539
rm -f conftest*
 
4540
LIBS="$ac_save_LIBS"
 
4541
 
 
4542
fi
 
4543
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
4544
  echo "$ac_t""yes" 1>&6
5637
4545
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
5638
4546
else
5639
 
  echo "$as_me:5639: checking for dld_link in -ldld" >&5
5640
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
5641
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
5642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4547
  echo "$ac_t""no" 1>&6
 
4548
echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
 
4549
echo "configure:4550: checking for dld_link in -ldld" >&5
 
4550
ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
 
4551
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
4552
  echo $ac_n "(cached) $ac_c" 1>&6
5643
4553
else
5644
 
  ac_check_lib_save_LIBS=$LIBS
 
4554
  ac_save_LIBS="$LIBS"
5645
4555
LIBS="-ldld  $LIBS"
5646
 
cat >conftest.$ac_ext <<_ACEOF
5647
 
#line 5647 "configure"
 
4556
cat > conftest.$ac_ext <<EOF
 
4557
#line 4558 "configure"
5648
4558
#include "confdefs.h"
5649
 
 
5650
4559
/* Override any gcc2 internal prototype to avoid an error.  */
5651
 
#ifdef __cplusplus
5652
 
extern "C"
5653
 
#endif
5654
4560
/* We use char because int might match the return type of a gcc2
5655
 
   builtin and then its argument prototype would still apply.  */
5656
 
char dld_link ();
5657
 
int
5658
 
main ()
5659
 
{
5660
 
dld_link ();
5661
 
  ;
5662
 
  return 0;
5663
 
}
5664
 
_ACEOF
5665
 
rm -f conftest.$ac_objext conftest$ac_exeext
5666
 
if { (eval echo "$as_me:5666: \"$ac_link\"") >&5
5667
 
  (eval $ac_link) 2>&5
5668
 
  ac_status=$?
5669
 
  echo "$as_me:5669: \$? = $ac_status" >&5
5670
 
  (exit $ac_status); } &&
5671
 
         { ac_try='test -s conftest$ac_exeext'
5672
 
  { (eval echo "$as_me:5672: \"$ac_try\"") >&5
5673
 
  (eval $ac_try) 2>&5
5674
 
  ac_status=$?
5675
 
  echo "$as_me:5675: \$? = $ac_status" >&5
5676
 
  (exit $ac_status); }; }; then
5677
 
  ac_cv_lib_dld_dld_link=yes
 
4561
    builtin and then its argument prototype would still apply.  */
 
4562
char dld_link();
 
4563
 
 
4564
int main() {
 
4565
dld_link()
 
4566
; return 0; }
 
4567
EOF
 
4568
if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
4569
  rm -rf conftest*
 
4570
  eval "ac_cv_lib_$ac_lib_var=yes"
5678
4571
else
5679
 
  echo "$as_me: failed program was:" >&5
5680
 
cat conftest.$ac_ext >&5
5681
 
ac_cv_lib_dld_dld_link=no
5682
 
fi
5683
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5684
 
LIBS=$ac_check_lib_save_LIBS
5685
 
fi
5686
 
echo "$as_me:5686: result: $ac_cv_lib_dld_dld_link" >&5
5687
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
5688
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
4572
  echo "configure: failed program was:" >&5
 
4573
  cat conftest.$ac_ext >&5
 
4574
  rm -rf conftest*
 
4575
  eval "ac_cv_lib_$ac_lib_var=no"
 
4576
fi
 
4577
rm -f conftest*
 
4578
LIBS="$ac_save_LIBS"
 
4579
 
 
4580
fi
 
4581
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
4582
  echo "$ac_t""yes" 1>&6
5689
4583
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
5690
 
fi
5691
 
 
5692
 
fi
5693
 
 
5694
 
fi
5695
 
 
5696
 
fi
5697
 
 
5698
 
fi
5699
 
 
 
4584
else
 
4585
  echo "$ac_t""no" 1>&6
 
4586
fi
 
4587
 
 
4588
              
 
4589
fi
 
4590
 
 
4591
            
 
4592
fi
 
4593
 
 
4594
          
 
4595
fi
 
4596
 
 
4597
        
 
4598
fi
 
4599
 
 
4600
      
5700
4601
fi
5701
4602
 
5702
4603
    ;;
5719
4620
    save_LIBS="$LIBS"
5720
4621
    LIBS="$lt_cv_dlopen_libs $LIBS"
5721
4622
 
5722
 
    echo "$as_me:5722: checking whether a program can dlopen itself" >&5
5723
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
5724
 
if test "${lt_cv_dlopen_self+set}" = set; then
5725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4623
    echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
 
4624
echo "configure:4625: checking whether a program can dlopen itself" >&5
 
4625
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
 
4626
  echo $ac_n "(cached) $ac_c" 1>&6
5726
4627
else
5727
4628
          if test "$cross_compiling" = yes; then :
5728
4629
  lt_cv_dlopen_self=cross
5730
4631
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5731
4632
  lt_status=$lt_dlunknown
5732
4633
  cat > conftest.$ac_ext <<EOF
5733
 
#line 5733 "configure"
 
4634
#line 4635 "configure"
5734
4635
#include "confdefs.h"
5735
4636
 
5736
4637
#if HAVE_DLFCN_H
5791
4692
    exit (status);
5792
4693
}
5793
4694
EOF
5794
 
  if { (eval echo "$as_me:5794: \"$ac_link\"") >&5
5795
 
  (eval $ac_link) 2>&5
5796
 
  ac_status=$?
5797
 
  echo "$as_me:5797: \$? = $ac_status" >&5
5798
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
4695
  if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
5799
4696
    (./conftest; exit; ) 2>/dev/null
5800
4697
    lt_status=$?
5801
4698
    case x$lt_status in
5810
4707
fi
5811
4708
rm -fr conftest*
5812
4709
 
 
4710
    
5813
4711
fi
5814
 
echo "$as_me:5814: result: $lt_cv_dlopen_self" >&5
5815
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
4712
 
 
4713
echo "$ac_t""$lt_cv_dlopen_self" 1>&6
5816
4714
 
5817
4715
    if test "x$lt_cv_dlopen_self" = xyes; then
5818
4716
      LDFLAGS="$LDFLAGS $link_static_flag"
5819
 
      echo "$as_me:5819: checking whether a statically linked program can dlopen itself" >&5
5820
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
5821
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
5822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4717
      echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
 
4718
echo "configure:4719: checking whether a statically linked program can dlopen itself" >&5
 
4719
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
 
4720
  echo $ac_n "(cached) $ac_c" 1>&6
5823
4721
else
5824
4722
          if test "$cross_compiling" = yes; then :
5825
4723
  lt_cv_dlopen_self_static=cross
5827
4725
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5828
4726
  lt_status=$lt_dlunknown
5829
4727
  cat > conftest.$ac_ext <<EOF
5830
 
#line 5830 "configure"
 
4728
#line 4729 "configure"
5831
4729
#include "confdefs.h"
5832
4730
 
5833
4731
#if HAVE_DLFCN_H
5888
4786
    exit (status);
5889
4787
}
5890
4788
EOF
5891
 
  if { (eval echo "$as_me:5891: \"$ac_link\"") >&5
5892
 
  (eval $ac_link) 2>&5
5893
 
  ac_status=$?
5894
 
  echo "$as_me:5894: \$? = $ac_status" >&5
5895
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
4789
  if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
5896
4790
    (./conftest; exit; ) 2>/dev/null
5897
4791
    lt_status=$?
5898
4792
    case x$lt_status in
5907
4801
fi
5908
4802
rm -fr conftest*
5909
4803
 
 
4804
      
5910
4805
fi
5911
 
echo "$as_me:5911: result: $lt_cv_dlopen_self_static" >&5
5912
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
4806
 
 
4807
echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
5913
4808
    fi
5914
4809
 
5915
4810
    CPPFLAGS="$save_CPPFLAGS"
5929
4824
  esac
5930
4825
fi
5931
4826
 
 
4827
 
5932
4828
if test "$enable_shared" = yes && test "$GCC" = yes; then
5933
4829
  case $archive_cmds in
5934
4830
  *'~'*)
5938
4834
    # Test whether the compiler implicitly links with -lc since on some
5939
4835
    # systems, -lgcc has to come before -lc. If gcc already passes -lc
5940
4836
    # to ld, don't add -lc before -lgcc.
5941
 
    echo "$as_me:5941: checking whether -lc should be explicitly linked in" >&5
5942
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
5943
 
    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
5944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4837
    echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
 
4838
echo "configure:4839: checking whether -lc should be explicitly linked in" >&5
 
4839
    if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
 
4840
  echo $ac_n "(cached) $ac_c" 1>&6
5945
4841
else
5946
4842
  $rm conftest*
5947
4843
    echo 'static int dummy;' > conftest.$ac_ext
5948
4844
 
5949
 
    if { (eval echo "$as_me:5949: \"$ac_compile\"") >&5
5950
 
  (eval $ac_compile) 2>&5
5951
 
  ac_status=$?
5952
 
  echo "$as_me:5952: \$? = $ac_status" >&5
5953
 
  (exit $ac_status); }; then
 
4845
    if { (eval echo configure:4846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5954
4846
      soname=conftest
5955
4847
      lib=conftest
5956
4848
      libobjs=conftest.$ac_objext
5963
4855
      libname=conftest
5964
4856
      save_allow_undefined_flag=$allow_undefined_flag
5965
4857
      allow_undefined_flag=
5966
 
      if { (eval echo "$as_me:5966: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
5967
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
5968
 
  ac_status=$?
5969
 
  echo "$as_me:5969: \$? = $ac_status" >&5
5970
 
  (exit $ac_status); }
 
4858
      if { (eval echo configure:4859: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
5971
4859
      then
5972
4860
        lt_cv_archive_cmds_need_lc=no
5973
4861
      else
5979
4867
    fi
5980
4868
fi
5981
4869
 
5982
 
    echo "$as_me:5982: result: $lt_cv_archive_cmds_need_lc" >&5
5983
 
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
 
4870
    echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
5984
4871
    ;;
5985
4872
  esac
5986
4873
fi
6536
5423
  chmod +x "$ofile"
6537
5424
fi
6538
5425
 
 
5426
 
 
5427
 
 
5428
 
 
5429
 
6539
5430
# This can be used to rebuild libtool when needed
6540
5431
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
6541
5432
 
6544
5435
 
6545
5436
# Prevent multiple expansion
6546
5437
 
 
5438
 
6547
5439
sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-static
6548
5440
chmod +x libtool-disable-static
6549
5441
 
6550
 
echo "$as_me:6550: checking whether ${MAKE-make} sets \${MAKE}" >&5
6551
 
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
6552
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6553
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6554
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5442
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 
5443
echo "configure:5444: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
5444
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 
5445
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
 
5446
  echo $ac_n "(cached) $ac_c" 1>&6
6555
5447
else
6556
 
  cat >conftest.make <<\EOF
 
5448
  cat > conftestmake <<\EOF
6557
5449
all:
6558
5450
        @echo 'ac_maketemp="${MAKE}"'
6559
5451
EOF
6560
5452
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6561
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
5453
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
6562
5454
if test -n "$ac_maketemp"; then
6563
5455
  eval ac_cv_prog_make_${ac_make}_set=yes
6564
5456
else
6565
5457
  eval ac_cv_prog_make_${ac_make}_set=no
6566
5458
fi
6567
 
rm -f conftest.make
 
5459
rm -f conftestmake
6568
5460
fi
6569
5461
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6570
 
  echo "$as_me:6570: result: yes" >&5
6571
 
echo "${ECHO_T}yes" >&6
 
5462
  echo "$ac_t""yes" 1>&6
6572
5463
  SET_MAKE=
6573
5464
else
6574
 
  echo "$as_me:6574: result: no" >&5
6575
 
echo "${ECHO_T}no" >&6
 
5465
  echo "$ac_t""no" 1>&6
6576
5466
  SET_MAKE="MAKE=${MAKE-make}"
6577
5467
fi
6578
5468
 
 
5469
 
 
5470
 
 
5471
# Make sure we can run config.sub.
 
5472
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
 
5473
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
 
5474
fi
 
5475
 
 
5476
echo $ac_n "checking host system type""... $ac_c" 1>&6
 
5477
echo "configure:5478: checking host system type" >&5
 
5478
 
 
5479
host_alias=$host
 
5480
case "$host_alias" in
 
5481
NONE)
 
5482
  case $nonopt in
 
5483
  NONE)
 
5484
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
 
5485
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
 
5486
    fi ;;
 
5487
  *) host_alias=$nonopt ;;
 
5488
  esac ;;
 
5489
esac
 
5490
 
 
5491
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
 
5492
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
5493
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
5494
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
5495
echo "$ac_t""$host" 1>&6
 
5496
 
6579
5497
case $host_cpu in
6580
 
        i*86)   cpu_ia32=true ; cat >>confdefs.h <<\EOF
 
5498
        i*86)   cpu_ia32=true ; cat >> confdefs.h <<\EOF
6581
5499
#define FLAC__CPU_IA32 1
6582
5500
EOF
6583
5501
 ;;
6584
 
        powerpc)        cpu_ppc=true ; cat >>confdefs.h <<\EOF
 
5502
        powerpc)        cpu_ppc=true ; cat >> confdefs.h <<\EOF
6585
5503
#define FLAC__CPU_PPC 1
6586
5504
EOF
6587
5505
 ;;
6588
 
        sparc)  cpu_sparc=true ; cat >>confdefs.h <<\EOF
 
5506
        sparc)  cpu_sparc=true ; cat >> confdefs.h <<\EOF
6589
5507
#define FLAC__CPU_SPARC 1
6590
5508
EOF
6591
5509
 ;;
6592
5510
esac
6593
5511
 
 
5512
 
6594
5513
if test x$cpu_ia32 = xtrue; then
6595
5514
  FLaC__CPU_IA32_TRUE=
6596
5515
  FLaC__CPU_IA32_FALSE='#'
6599
5518
  FLaC__CPU_IA32_FALSE=
6600
5519
fi
6601
5520
 
 
5521
 
6602
5522
if test x$cpu_ppc = xtrue; then
6603
5523
  FLaC__CPU_PPC_TRUE=
6604
5524
  FLaC__CPU_PPC_FALSE='#'
6607
5527
  FLaC__CPU_PPC_FALSE=
6608
5528
fi
6609
5529
 
 
5530
 
6610
5531
if test x$cpu_sparc = xtrue; then
6611
5532
  FLaC__CPU_SPARC_TRUE=
6612
5533
  FLaC__CPU_SPARC_FALSE='#'
6619
5540
        *) OBJ_FORMAT=elf ;;
6620
5541
esac
6621
5542
 
 
5543
 
6622
5544
if test x$cpu_ia32 = xtrue ; then
6623
 
cat >>confdefs.h <<\EOF
 
5545
cat >> confdefs.h <<\EOF
6624
5546
#define FLAC__ALIGN_MALLOC_DATA 1
6625
5547
EOF
6626
5548
 
6632
5554
  asm_opt=no
6633
5555
else
6634
5556
  asm_opt=yes
6635
 
fi;
 
5557
fi
 
5558
 
 
5559
 
6636
5560
 
6637
5561
if test x$asm_opt = xno; then
6638
5562
  FLaC__NO_ASM_TRUE=
6642
5566
  FLaC__NO_ASM_FALSE=
6643
5567
fi
6644
5568
if test x$asm_opt = xno ; then
6645
 
cat >>confdefs.h <<\EOF
 
5569
cat >> confdefs.h <<\EOF
6646
5570
#define FLAC__NO_ASM 1
6647
5571
EOF
6648
5572
 
6654
5578
  case "${enableval}" in
6655
5579
        yes) debug=true ;;
6656
5580
        no)  debug=false ;;
6657
 
        *) { { echo "$as_me:6657: error: bad value ${enableval} for --enable-debug" >&5
6658
 
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
6659
 
   { (exit 1); exit 1; }; } ;;
 
5581
        *) { echo "configure: error: bad value ${enableval} for --enable-debug" 1>&2; exit 1; } ;;
6660
5582
esac
6661
5583
else
6662
5584
  debug=false
6663
 
fi;
 
5585
fi
 
5586
 
 
5587
 
6664
5588
 
6665
5589
if test x$debug = xtrue; then
6666
5590
  DEBUG_TRUE=
6676
5600
  case "${enableval}" in
6677
5601
        yes) sse_os=true ;;
6678
5602
        no)  sse_os=false ;;
6679
 
        *) { { echo "$as_me:6679: error: bad value ${enableval} for --enable-sse" >&5
6680
 
echo "$as_me: error: bad value ${enableval} for --enable-sse" >&2;}
6681
 
   { (exit 1); exit 1; }; } ;;
 
5603
        *) { echo "configure: error: bad value ${enableval} for --enable-sse" 1>&2; exit 1; } ;;
6682
5604
esac
6683
5605
else
6684
5606
  sse_os=false
6685
 
fi;
 
5607
fi
 
5608
 
 
5609
 
6686
5610
 
6687
5611
if test x$sse_os = xtrue; then
6688
5612
  FLaC__SSE_OS_TRUE=
6692
5616
  FLaC__SSE_OS_FALSE=
6693
5617
fi
6694
5618
if test x$sse_os = xtrue ; then
6695
 
cat >>confdefs.h <<\EOF
 
5619
cat >> confdefs.h <<\EOF
6696
5620
#define FLAC__SSE_OS 1
6697
5621
EOF
6698
5622
 
6704
5628
  case "${enableval}" in
6705
5629
        yes) use_3dnow=true ;;
6706
5630
        no)  use_3dnow=false ;;
6707
 
        *) { { echo "$as_me:6707: error: bad value ${enableval} for --enable-3dnow" >&5
6708
 
echo "$as_me: error: bad value ${enableval} for --enable-3dnow" >&2;}
6709
 
   { (exit 1); exit 1; }; } ;;
 
5631
        *) { echo "configure: error: bad value ${enableval} for --enable-3dnow" 1>&2; exit 1; } ;;
6710
5632
esac
6711
5633
else
6712
5634
  use_3dnow=false
6713
 
fi;
 
5635
fi
 
5636
 
 
5637
 
6714
5638
 
6715
5639
if test x$use_3dnow = xtrue; then
6716
5640
  FLaC__USE_3DNOW_TRUE=
6720
5644
  FLaC__USE_3DNOW_FALSE=
6721
5645
fi
6722
5646
if test x$use_3dnow = xtrue ; then
6723
 
cat >>confdefs.h <<\EOF
 
5647
cat >> confdefs.h <<\EOF
6724
5648
#define FLAC__USE_3DNOW 1
6725
5649
EOF
6726
5650
 
6727
5651
fi
6728
5652
 
6729
 
echo "$as_me:6729: checking for ogg_stream_init in -logg" >&5
6730
 
echo $ECHO_N "checking for ogg_stream_init in -logg... $ECHO_C" >&6
6731
 
if test "${ac_cv_lib_ogg_ogg_stream_init+set}" = set; then
6732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5653
echo $ac_n "checking for ogg_stream_init in -logg""... $ac_c" 1>&6
 
5654
echo "configure:5655: checking for ogg_stream_init in -logg" >&5
 
5655
ac_lib_var=`echo ogg'_'ogg_stream_init | sed 'y%./+-%__p_%'`
 
5656
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
5657
  echo $ac_n "(cached) $ac_c" 1>&6
6733
5658
else
6734
 
  ac_check_lib_save_LIBS=$LIBS
 
5659
  ac_save_LIBS="$LIBS"
6735
5660
LIBS="-logg  $LIBS"
6736
 
cat >conftest.$ac_ext <<_ACEOF
6737
 
#line 6737 "configure"
 
5661
cat > conftest.$ac_ext <<EOF
 
5662
#line 5663 "configure"
6738
5663
#include "confdefs.h"
6739
 
 
6740
5664
/* Override any gcc2 internal prototype to avoid an error.  */
6741
 
#ifdef __cplusplus
6742
 
extern "C"
6743
 
#endif
6744
5665
/* We use char because int might match the return type of a gcc2
6745
 
   builtin and then its argument prototype would still apply.  */
6746
 
char ogg_stream_init ();
6747
 
int
6748
 
main ()
6749
 
{
6750
 
ogg_stream_init ();
6751
 
  ;
6752
 
  return 0;
6753
 
}
6754
 
_ACEOF
6755
 
rm -f conftest.$ac_objext conftest$ac_exeext
6756
 
if { (eval echo "$as_me:6756: \"$ac_link\"") >&5
6757
 
  (eval $ac_link) 2>&5
6758
 
  ac_status=$?
6759
 
  echo "$as_me:6759: \$? = $ac_status" >&5
6760
 
  (exit $ac_status); } &&
6761
 
         { ac_try='test -s conftest$ac_exeext'
6762
 
  { (eval echo "$as_me:6762: \"$ac_try\"") >&5
6763
 
  (eval $ac_try) 2>&5
6764
 
  ac_status=$?
6765
 
  echo "$as_me:6765: \$? = $ac_status" >&5
6766
 
  (exit $ac_status); }; }; then
6767
 
  ac_cv_lib_ogg_ogg_stream_init=yes
 
5666
    builtin and then its argument prototype would still apply.  */
 
5667
char ogg_stream_init();
 
5668
 
 
5669
int main() {
 
5670
ogg_stream_init()
 
5671
; return 0; }
 
5672
EOF
 
5673
if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
5674
  rm -rf conftest*
 
5675
  eval "ac_cv_lib_$ac_lib_var=yes"
6768
5676
else
6769
 
  echo "$as_me: failed program was:" >&5
6770
 
cat conftest.$ac_ext >&5
6771
 
ac_cv_lib_ogg_ogg_stream_init=no
6772
 
fi
6773
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6774
 
LIBS=$ac_check_lib_save_LIBS
6775
 
fi
6776
 
echo "$as_me:6776: result: $ac_cv_lib_ogg_ogg_stream_init" >&5
6777
 
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_stream_init" >&6
6778
 
if test $ac_cv_lib_ogg_ogg_stream_init = yes; then
 
5677
  echo "configure: failed program was:" >&5
 
5678
  cat conftest.$ac_ext >&5
 
5679
  rm -rf conftest*
 
5680
  eval "ac_cv_lib_$ac_lib_var=no"
 
5681
fi
 
5682
rm -f conftest*
 
5683
LIBS="$ac_save_LIBS"
 
5684
 
 
5685
fi
 
5686
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
5687
  echo "$ac_t""yes" 1>&6
6779
5688
  LIBS="$LIBS -logg"; have_ogg=yes
6780
5689
else
6781
 
  { echo "$as_me:6781: WARNING: *** Ogg development enviroment not installed - ogg support will not be built" >&5
6782
 
echo "$as_me: WARNING: *** Ogg development enviroment not installed - ogg support will not be built" >&2;}
 
5690
  echo "$ac_t""no" 1>&6
 
5691
echo "configure: warning: *** Ogg development enviroment not installed - ogg support will not be built" 1>&2
6783
5692
fi
6784
5693
 
 
5694
 
 
5695
 
6785
5696
if test x$have_ogg = xyes; then
6786
5697
  FLaC__HAS_OGG_TRUE=
6787
5698
  FLaC__HAS_OGG_FALSE='#'
6790
5701
  FLaC__HAS_OGG_FALSE=
6791
5702
fi
6792
5703
if test x$have_ogg = xyes ; then
6793
 
cat >>confdefs.h <<\EOF
 
5704
cat >> confdefs.h <<\EOF
6794
5705
#define FLAC__HAS_OGG 1
6795
5706
EOF
6796
5707
 
6797
5708
fi
6798
5709
 
 
5710
 
6799
5711
# Check whether --with-xmms-prefix or --without-xmms-prefix was given.
6800
5712
if test "${with_xmms_prefix+set}" = set; then
6801
5713
  withval="$with_xmms_prefix"
6802
5714
  xmms_config_prefix="$withval"
6803
5715
else
6804
5716
  xmms_config_prefix=""
6805
 
fi;
 
5717
fi
6806
5718
 
6807
5719
# Check whether --with-xmms-exec-prefix or --without-xmms-exec-prefix was given.
6808
5720
if test "${with_xmms_exec_prefix+set}" = set; then
6810
5722
  xmms_config_exec_prefix="$withval"
6811
5723
else
6812
5724
  xmms_config_exec_prefix=""
6813
 
fi;
 
5725
fi
 
5726
 
6814
5727
 
6815
5728
if test x$xmms_config_exec_prefix != x; then
6816
5729
    xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
6828
5741
 
6829
5742
# Extract the first word of "xmms-config", so it can be a program name with args.
6830
5743
set dummy xmms-config; ac_word=$2
6831
 
echo "$as_me:6831: checking for $ac_word" >&5
6832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6833
 
if test "${ac_cv_path_XMMS_CONFIG+set}" = set; then
6834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5744
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
5745
echo "configure:5746: checking for $ac_word" >&5
 
5746
if eval "test \"`echo '$''{'ac_cv_path_XMMS_CONFIG'+set}'`\" = set"; then
 
5747
  echo $ac_n "(cached) $ac_c" 1>&6
6835
5748
else
6836
 
  case $XMMS_CONFIG in
6837
 
  [\\/]* | ?:[\\/]*)
 
5749
  case "$XMMS_CONFIG" in
 
5750
  /*)
6838
5751
  ac_cv_path_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test with a path.
6839
5752
  ;;
 
5753
  ?:/*)                  
 
5754
  ac_cv_path_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test with a dos path.
 
5755
  ;;
6840
5756
  *)
6841
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
6842
 
ac_dummy="$PATH"
6843
 
for ac_dir in $ac_dummy; do
6844
 
  IFS=$ac_save_IFS
6845
 
  test -z "$ac_dir" && ac_dir=.
6846
 
  if $as_executable_p "$ac_dir/$ac_word"; then
6847
 
   ac_cv_path_XMMS_CONFIG="$ac_dir/$ac_word"
6848
 
   echo "$as_me:6848: found $ac_dir/$ac_word" >&5
6849
 
   break
6850
 
fi
6851
 
done
6852
 
 
 
5757
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
5758
  ac_dummy="$PATH"
 
5759
  for ac_dir in $ac_dummy; do 
 
5760
    test -z "$ac_dir" && ac_dir=.
 
5761
    if test -f $ac_dir/$ac_word; then
 
5762
      ac_cv_path_XMMS_CONFIG="$ac_dir/$ac_word"
 
5763
      break
 
5764
    fi
 
5765
  done
 
5766
  IFS="$ac_save_ifs"
6853
5767
  test -z "$ac_cv_path_XMMS_CONFIG" && ac_cv_path_XMMS_CONFIG="no"
6854
5768
  ;;
6855
5769
esac
6856
5770
fi
6857
 
XMMS_CONFIG=$ac_cv_path_XMMS_CONFIG
6858
 
 
 
5771
XMMS_CONFIG="$ac_cv_path_XMMS_CONFIG"
6859
5772
if test -n "$XMMS_CONFIG"; then
6860
 
  echo "$as_me:6860: result: $XMMS_CONFIG" >&5
6861
 
echo "${ECHO_T}$XMMS_CONFIG" >&6
 
5773
  echo "$ac_t""$XMMS_CONFIG" 1>&6
6862
5774
else
6863
 
  echo "$as_me:6863: result: no" >&5
6864
 
echo "${ECHO_T}no" >&6
 
5775
  echo "$ac_t""no" 1>&6
6865
5776
fi
6866
5777
 
6867
5778
min_xmms_version=0.9.5.1
6881
5792
    XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
6882
5793
    XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
6883
5794
 
6884
 
# Determine which version number is greater. Prints 2 to stdout if
6885
 
# the second number is greater, 1 if the first number is greater,
6886
 
# 0 if the numbers are equal.
6887
 
 
6888
 
# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
6889
 
# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
6890
 
 
 
5795
    
 
5796
 
 
5797
# Determine which version number is greater. Prints 2 to stdout if      
 
5798
# the second number is greater, 1 if the first number is greater,       
 
5799
# 0 if the numbers are equal.                                           
 
5800
                                                                        
 
5801
# Written 15 December 1999 by Ben Gertzfield <che@debian.org>           
 
5802
# Revised 15 December 1999 by Jim Monty <monty@primenet.com>            
 
5803
                                                                        
6891
5804
    for ac_prog in mawk gawk nawk awk
6892
5805
do
6893
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5806
# Extract the first word of "$ac_prog", so it can be a program name with args.
6894
5807
set dummy $ac_prog; ac_word=$2
6895
 
echo "$as_me:6895: checking for $ac_word" >&5
6896
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6897
 
if test "${ac_cv_prog_AWK+set}" = set; then
6898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5808
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
5809
echo "configure:5810: checking for $ac_word" >&5
 
5810
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
 
5811
  echo $ac_n "(cached) $ac_c" 1>&6
6899
5812
else
6900
5813
  if test -n "$AWK"; then
6901
5814
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
6902
5815
else
6903
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
6904
 
ac_dummy="$PATH"
6905
 
for ac_dir in $ac_dummy; do
6906
 
  IFS=$ac_save_IFS
6907
 
  test -z "$ac_dir" && ac_dir=.
6908
 
  $as_executable_p "$ac_dir/$ac_word" || continue
6909
 
ac_cv_prog_AWK="$ac_prog"
6910
 
echo "$as_me:6910: found $ac_dir/$ac_word" >&5
6911
 
break
6912
 
done
6913
 
 
6914
 
fi
6915
 
fi
6916
 
AWK=$ac_cv_prog_AWK
 
5816
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
5817
  ac_dummy="$PATH"
 
5818
  for ac_dir in $ac_dummy; do
 
5819
    test -z "$ac_dir" && ac_dir=.
 
5820
    if test -f $ac_dir/$ac_word; then
 
5821
      ac_cv_prog_AWK="$ac_prog"
 
5822
      break
 
5823
    fi
 
5824
  done
 
5825
  IFS="$ac_save_ifs"
 
5826
fi
 
5827
fi
 
5828
AWK="$ac_cv_prog_AWK"
6917
5829
if test -n "$AWK"; then
6918
 
  echo "$as_me:6918: result: $AWK" >&5
6919
 
echo "${ECHO_T}$AWK" >&6
 
5830
  echo "$ac_t""$AWK" 1>&6
6920
5831
else
6921
 
  echo "$as_me:6921: result: no" >&5
6922
 
echo "${ECHO_T}no" >&6
 
5832
  echo "$ac_t""no" 1>&6
6923
5833
fi
6924
5834
 
6925
 
  test -n "$AWK" && break
 
5835
test -n "$AWK" && break
6926
5836
done
6927
5837
 
6928
5838
    xmms_got_version=` $AWK '                                           \
6951
5861
        return 1;                                                       \
6952
5862
    else                                                                \
6953
5863
        return 0;                                                       \
6954
 
}' $XMMS_VERSION $min_xmms_version`
 
5864
}' $XMMS_VERSION $min_xmms_version`                                                             
6955
5865
 
6956
5866
    if test $xmms_got_version -eq 2; then       # failure
6957
 
        no_xmms=version
 
5867
        no_xmms=version                 
6958
5868
    else                                        # success!
6959
5869
        :
6960
5870
    fi
6961
5871
 
6962
5872
fi
6963
5873
 
6964
 
echo "$as_me:6964: checking for XMMS - version >= $min_xmms_version" >&5
6965
 
echo $ECHO_N "checking for XMMS - version >= $min_xmms_version... $ECHO_C" >&6
 
5874
echo $ac_n "checking for XMMS - version >= $min_xmms_version""... $ac_c" 1>&6
 
5875
echo "configure:5876: checking for XMMS - version >= $min_xmms_version" >&5
6966
5876
 
6967
5877
if test "x$no_xmms" = x; then
6968
 
    echo "$as_me:6968: result: yes" >&5
6969
 
echo "${ECHO_T}yes" >&6
 
5878
    echo "$ac_t""yes" 1>&6
6970
5879
    :
6971
5880
else
6972
 
    echo "$as_me:6972: result: no" >&5
6973
 
echo "${ECHO_T}no" >&6
 
5881
    echo "$ac_t""no" 1>&6
6974
5882
 
6975
5883
    if test "$XMMS_CONFIG" = "no" ; then
6976
5884
        echo "*** The xmms-config script installed by XMMS could not be found."
6996
5904
    fi
6997
5905
    XMMS_CFLAGS=""
6998
5906
    XMMS_LIBS=""
6999
 
    { echo "$as_me:6999: WARNING: *** XMMS >= 0.9.5.1 not installed - xmms support will not be built" >&5
7000
 
echo "$as_me: WARNING: *** XMMS >= 0.9.5.1 not installed - xmms support will not be built" >&2;}
 
5907
    echo "configure: warning: *** XMMS >= 0.9.5.1 not installed - xmms support will not be built" 1>&2
7001
5908
fi
7002
5909
 
 
5910
 
 
5911
 
 
5912
 
 
5913
 
 
5914
 
 
5915
 
 
5916
 
 
5917
 
 
5918
 
 
5919
 
 
5920
 
 
5921
 
7003
5922
if test x$XMMS_INPUT_PLUGIN_DIR != x; then
7004
5923
  FLaC__HAS_XMMS_TRUE=
7005
5924
  FLaC__HAS_XMMS_FALSE='#'
7010
5929
 
7011
5930
for ac_prog in nasm
7012
5931
do
7013
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5932
# Extract the first word of "$ac_prog", so it can be a program name with args.
7014
5933
set dummy $ac_prog; ac_word=$2
7015
 
echo "$as_me:7015: checking for $ac_word" >&5
7016
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7017
 
if test "${ac_cv_prog_NASM+set}" = set; then
7018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5934
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
5935
echo "configure:5936: checking for $ac_word" >&5
 
5936
if eval "test \"`echo '$''{'ac_cv_prog_NASM'+set}'`\" = set"; then
 
5937
  echo $ac_n "(cached) $ac_c" 1>&6
7019
5938
else
7020
5939
  if test -n "$NASM"; then
7021
5940
  ac_cv_prog_NASM="$NASM" # Let the user override the test.
7022
5941
else
7023
 
  ac_save_IFS=$IFS; IFS=$ac_path_separator
7024
 
ac_dummy="$PATH"
7025
 
for ac_dir in $ac_dummy; do
7026
 
  IFS=$ac_save_IFS
7027
 
  test -z "$ac_dir" && ac_dir=.
7028
 
  $as_executable_p "$ac_dir/$ac_word" || continue
7029
 
ac_cv_prog_NASM="$ac_prog"
7030
 
echo "$as_me:7030: found $ac_dir/$ac_word" >&5
7031
 
break
7032
 
done
7033
 
 
7034
 
fi
7035
 
fi
7036
 
NASM=$ac_cv_prog_NASM
 
5942
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
5943
  ac_dummy="$PATH"
 
5944
  for ac_dir in $ac_dummy; do
 
5945
    test -z "$ac_dir" && ac_dir=.
 
5946
    if test -f $ac_dir/$ac_word; then
 
5947
      ac_cv_prog_NASM="$ac_prog"
 
5948
      break
 
5949
    fi
 
5950
  done
 
5951
  IFS="$ac_save_ifs"
 
5952
fi
 
5953
fi
 
5954
NASM="$ac_cv_prog_NASM"
7037
5955
if test -n "$NASM"; then
7038
 
  echo "$as_me:7038: result: $NASM" >&5
7039
 
echo "${ECHO_T}$NASM" >&6
 
5956
  echo "$ac_t""$NASM" 1>&6
7040
5957
else
7041
 
  echo "$as_me:7041: result: no" >&5
7042
 
echo "${ECHO_T}no" >&6
 
5958
  echo "$ac_t""no" 1>&6
7043
5959
fi
7044
5960
 
7045
 
  test -n "$NASM" && break
 
5961
test -n "$NASM" && break
7046
5962
done
7047
5963
 
 
5964
 
 
5965
 
7048
5966
if test -n "$NASM"; then
7049
5967
  FLaC__HAS_NASM_TRUE=
7050
5968
  FLaC__HAS_NASM_FALSE='#'
7053
5971
  FLaC__HAS_NASM_FALSE=
7054
5972
fi
7055
5973
if test -n "$NASM" ; then
7056
 
cat >>confdefs.h <<\EOF
 
5974
cat >> confdefs.h <<\EOF
7057
5975
#define FLAC__HAS_NASM 1
7058
5976
EOF
7059
5977
 
7060
5978
fi
7061
5979
 
7062
 
echo "$as_me:7062: checking for ANSI C header files" >&5
7063
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7064
 
if test "${ac_cv_header_stdc+set}" = set; then
7065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7066
 
else
7067
 
  cat >conftest.$ac_ext <<_ACEOF
7068
 
#line 7068 "configure"
 
5980
 
 
5981
echo $ac_n "checking size of short""... $ac_c" 1>&6
 
5982
echo "configure:5983: checking size of short" >&5
 
5983
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
 
5984
  echo $ac_n "(cached) $ac_c" 1>&6
 
5985
else
 
5986
  if test "$cross_compiling" = yes; then
 
5987
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 
5988
else
 
5989
  cat > conftest.$ac_ext <<EOF
 
5990
#line 5991 "configure"
7069
5991
#include "confdefs.h"
7070
 
#include <stdlib.h>
7071
 
#include <stdarg.h>
7072
 
#include <string.h>
7073
 
#include <float.h>
7074
 
 
7075
 
_ACEOF
7076
 
if { (eval echo "$as_me:7076: \"$ac_cpp conftest.$ac_ext\"") >&5
7077
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7078
 
  ac_status=$?
7079
 
  egrep -v '^ *\+' conftest.er1 >conftest.err
7080
 
  rm -f conftest.er1
7081
 
  cat conftest.err >&5
7082
 
  echo "$as_me:7082: \$? = $ac_status" >&5
7083
 
  (exit $ac_status); } >/dev/null; then
7084
 
  if test -s conftest.err; then
7085
 
    ac_cpp_err=$ac_c_preproc_warn_flag
7086
 
  else
7087
 
    ac_cpp_err=
7088
 
  fi
7089
 
else
7090
 
  ac_cpp_err=yes
7091
 
fi
7092
 
if test -z "$ac_cpp_err"; then
7093
 
  ac_cv_header_stdc=yes
7094
 
else
7095
 
  echo "$as_me: failed program was:" >&5
 
5992
#include <stdio.h>
 
5993
#include <sys/types.h>
 
5994
main()
 
5995
{
 
5996
  FILE *f=fopen("conftestval", "w");
 
5997
  if (!f) exit(1);
 
5998
  fprintf(f, "%d\n", sizeof(short));
 
5999
  exit(0);
 
6000
}
 
6001
EOF
 
6002
if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
6003
then
 
6004
  ac_cv_sizeof_short=`cat conftestval`
 
6005
else
 
6006
  echo "configure: failed program was:" >&5
7096
6007
  cat conftest.$ac_ext >&5
7097
 
  ac_cv_header_stdc=no
7098
 
fi
7099
 
rm -f conftest.err conftest.$ac_ext
7100
 
 
7101
 
if test $ac_cv_header_stdc = yes; then
7102
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7103
 
  cat >conftest.$ac_ext <<_ACEOF
7104
 
#line 7104 "configure"
7105
 
#include "confdefs.h"
7106
 
#include <string.h>
7107
 
 
7108
 
_ACEOF
7109
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7110
 
  egrep "memchr" >/dev/null 2>&1; then
7111
 
  :
7112
 
else
7113
 
  ac_cv_header_stdc=no
7114
 
fi
7115
 
rm -f conftest*
7116
 
 
7117
 
fi
7118
 
 
7119
 
if test $ac_cv_header_stdc = yes; then
7120
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7121
 
  cat >conftest.$ac_ext <<_ACEOF
7122
 
#line 7122 "configure"
7123
 
#include "confdefs.h"
7124
 
#include <stdlib.h>
7125
 
 
7126
 
_ACEOF
7127
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7128
 
  egrep "free" >/dev/null 2>&1; then
7129
 
  :
7130
 
else
7131
 
  ac_cv_header_stdc=no
7132
 
fi
7133
 
rm -f conftest*
7134
 
 
7135
 
fi
7136
 
 
7137
 
if test $ac_cv_header_stdc = yes; then
7138
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7139
 
  if test "$cross_compiling" = yes; then
7140
 
  :
7141
 
else
7142
 
  cat >conftest.$ac_ext <<_ACEOF
7143
 
#line 7143 "configure"
7144
 
#include "confdefs.h"
7145
 
#include <ctype.h>
7146
 
#if ((' ' & 0x0FF) == 0x020)
7147
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7148
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7149
 
#else
7150
 
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7151
 
                     || ('j' <= (c) && (c) <= 'r') \
7152
 
                     || ('s' <= (c) && (c) <= 'z'))
7153
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7154
 
#endif
7155
 
 
7156
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7157
 
int
7158
 
main ()
7159
 
{
7160
 
  int i;
7161
 
  for (i = 0; i < 256; i++)
7162
 
    if (XOR (islower (i), ISLOWER (i))
7163
 
        || toupper (i) != TOUPPER (i))
7164
 
      exit(2);
7165
 
  exit (0);
7166
 
}
7167
 
_ACEOF
7168
 
rm -f conftest$ac_exeext
7169
 
if { (eval echo "$as_me:7169: \"$ac_link\"") >&5
7170
 
  (eval $ac_link) 2>&5
7171
 
  ac_status=$?
7172
 
  echo "$as_me:7172: \$? = $ac_status" >&5
7173
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7174
 
  { (eval echo "$as_me:7174: \"$ac_try\"") >&5
7175
 
  (eval $ac_try) 2>&5
7176
 
  ac_status=$?
7177
 
  echo "$as_me:7177: \$? = $ac_status" >&5
7178
 
  (exit $ac_status); }; }; then
7179
 
  :
7180
 
else
7181
 
  echo "$as_me: program exited with status $ac_status" >&5
7182
 
echo "$as_me: failed program was:" >&5
7183
 
cat conftest.$ac_ext >&5
7184
 
ac_cv_header_stdc=no
7185
 
fi
7186
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7187
 
fi
7188
 
fi
7189
 
fi
7190
 
echo "$as_me:7190: result: $ac_cv_header_stdc" >&5
7191
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
7192
 
if test $ac_cv_header_stdc = yes; then
7193
 
 
7194
 
cat >>confdefs.h <<\EOF
7195
 
#define STDC_HEADERS 1
7196
 
EOF
7197
 
 
7198
 
fi
7199
 
 
7200
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7201
 
 
7202
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7203
 
                  inttypes.h stdint.h unistd.h
7204
 
do
7205
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7206
 
echo "$as_me:7206: checking for $ac_header" >&5
7207
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7208
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7210
 
else
7211
 
  cat >conftest.$ac_ext <<_ACEOF
7212
 
#line 7212 "configure"
7213
 
#include "confdefs.h"
7214
 
$ac_includes_default
7215
 
#include <$ac_header>
7216
 
_ACEOF
7217
 
rm -f conftest.$ac_objext
7218
 
if { (eval echo "$as_me:7218: \"$ac_compile\"") >&5
7219
 
  (eval $ac_compile) 2>&5
7220
 
  ac_status=$?
7221
 
  echo "$as_me:7221: \$? = $ac_status" >&5
7222
 
  (exit $ac_status); } &&
7223
 
         { ac_try='test -s conftest.$ac_objext'
7224
 
  { (eval echo "$as_me:7224: \"$ac_try\"") >&5
7225
 
  (eval $ac_try) 2>&5
7226
 
  ac_status=$?
7227
 
  echo "$as_me:7227: \$? = $ac_status" >&5
7228
 
  (exit $ac_status); }; }; then
7229
 
  eval "$as_ac_Header=yes"
7230
 
else
7231
 
  echo "$as_me: failed program was:" >&5
7232
 
cat conftest.$ac_ext >&5
7233
 
eval "$as_ac_Header=no"
7234
 
fi
7235
 
rm -f conftest.$ac_objext conftest.$ac_ext
7236
 
fi
7237
 
echo "$as_me:7237: result: `eval echo '${'$as_ac_Header'}'`" >&5
7238
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7239
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7240
 
  cat >>confdefs.h <<EOF
7241
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7242
 
EOF
7243
 
 
7244
 
fi
7245
 
done
7246
 
 
7247
 
echo "$as_me:7247: checking for short" >&5
7248
 
echo $ECHO_N "checking for short... $ECHO_C" >&6
7249
 
if test "${ac_cv_type_short+set}" = set; then
7250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7251
 
else
7252
 
  cat >conftest.$ac_ext <<_ACEOF
7253
 
#line 7253 "configure"
7254
 
#include "confdefs.h"
7255
 
$ac_includes_default
7256
 
int
7257
 
main ()
7258
 
{
7259
 
if ((short *) 0)
7260
 
  return 0;
7261
 
if (sizeof (short))
7262
 
  return 0;
7263
 
  ;
7264
 
  return 0;
7265
 
}
7266
 
_ACEOF
7267
 
rm -f conftest.$ac_objext
7268
 
if { (eval echo "$as_me:7268: \"$ac_compile\"") >&5
7269
 
  (eval $ac_compile) 2>&5
7270
 
  ac_status=$?
7271
 
  echo "$as_me:7271: \$? = $ac_status" >&5
7272
 
  (exit $ac_status); } &&
7273
 
         { ac_try='test -s conftest.$ac_objext'
7274
 
  { (eval echo "$as_me:7274: \"$ac_try\"") >&5
7275
 
  (eval $ac_try) 2>&5
7276
 
  ac_status=$?
7277
 
  echo "$as_me:7277: \$? = $ac_status" >&5
7278
 
  (exit $ac_status); }; }; then
7279
 
  ac_cv_type_short=yes
7280
 
else
7281
 
  echo "$as_me: failed program was:" >&5
7282
 
cat conftest.$ac_ext >&5
7283
 
ac_cv_type_short=no
7284
 
fi
7285
 
rm -f conftest.$ac_objext conftest.$ac_ext
7286
 
fi
7287
 
echo "$as_me:7287: result: $ac_cv_type_short" >&5
7288
 
echo "${ECHO_T}$ac_cv_type_short" >&6
7289
 
 
7290
 
echo "$as_me:7290: checking size of short" >&5
7291
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6
7292
 
if test "${ac_cv_sizeof_short+set}" = set; then
7293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7294
 
else
7295
 
  if test "$ac_cv_type_short" = yes; then
7296
 
  if test "$cross_compiling" = yes; then
7297
 
  # Depending upon the size, compute the lo and hi bounds.
7298
 
cat >conftest.$ac_ext <<_ACEOF
7299
 
#line 7299 "configure"
7300
 
#include "confdefs.h"
7301
 
$ac_includes_default
7302
 
int
7303
 
main ()
7304
 
{
7305
 
int _array_ [1 - 2 * !((sizeof (short)) >= 0)]
7306
 
  ;
7307
 
  return 0;
7308
 
}
7309
 
_ACEOF
7310
 
rm -f conftest.$ac_objext
7311
 
if { (eval echo "$as_me:7311: \"$ac_compile\"") >&5
7312
 
  (eval $ac_compile) 2>&5
7313
 
  ac_status=$?
7314
 
  echo "$as_me:7314: \$? = $ac_status" >&5
7315
 
  (exit $ac_status); } &&
7316
 
         { ac_try='test -s conftest.$ac_objext'
7317
 
  { (eval echo "$as_me:7317: \"$ac_try\"") >&5
7318
 
  (eval $ac_try) 2>&5
7319
 
  ac_status=$?
7320
 
  echo "$as_me:7320: \$? = $ac_status" >&5
7321
 
  (exit $ac_status); }; }; then
7322
 
  ac_lo=0 ac_mid=0
7323
 
  while :; do
7324
 
    cat >conftest.$ac_ext <<_ACEOF
7325
 
#line 7325 "configure"
7326
 
#include "confdefs.h"
7327
 
$ac_includes_default
7328
 
int
7329
 
main ()
7330
 
{
7331
 
int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
7332
 
  ;
7333
 
  return 0;
7334
 
}
7335
 
_ACEOF
7336
 
rm -f conftest.$ac_objext
7337
 
if { (eval echo "$as_me:7337: \"$ac_compile\"") >&5
7338
 
  (eval $ac_compile) 2>&5
7339
 
  ac_status=$?
7340
 
  echo "$as_me:7340: \$? = $ac_status" >&5
7341
 
  (exit $ac_status); } &&
7342
 
         { ac_try='test -s conftest.$ac_objext'
7343
 
  { (eval echo "$as_me:7343: \"$ac_try\"") >&5
7344
 
  (eval $ac_try) 2>&5
7345
 
  ac_status=$?
7346
 
  echo "$as_me:7346: \$? = $ac_status" >&5
7347
 
  (exit $ac_status); }; }; then
7348
 
  ac_hi=$ac_mid; break
7349
 
else
7350
 
  echo "$as_me: failed program was:" >&5
7351
 
cat conftest.$ac_ext >&5
7352
 
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7353
 
fi
7354
 
rm -f conftest.$ac_objext conftest.$ac_ext
7355
 
  done
7356
 
else
7357
 
  echo "$as_me: failed program was:" >&5
7358
 
cat conftest.$ac_ext >&5
7359
 
ac_hi=-1 ac_mid=-1
7360
 
  while :; do
7361
 
    cat >conftest.$ac_ext <<_ACEOF
7362
 
#line 7362 "configure"
7363
 
#include "confdefs.h"
7364
 
$ac_includes_default
7365
 
int
7366
 
main ()
7367
 
{
7368
 
int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)]
7369
 
  ;
7370
 
  return 0;
7371
 
}
7372
 
_ACEOF
7373
 
rm -f conftest.$ac_objext
7374
 
if { (eval echo "$as_me:7374: \"$ac_compile\"") >&5
7375
 
  (eval $ac_compile) 2>&5
7376
 
  ac_status=$?
7377
 
  echo "$as_me:7377: \$? = $ac_status" >&5
7378
 
  (exit $ac_status); } &&
7379
 
         { ac_try='test -s conftest.$ac_objext'
7380
 
  { (eval echo "$as_me:7380: \"$ac_try\"") >&5
7381
 
  (eval $ac_try) 2>&5
7382
 
  ac_status=$?
7383
 
  echo "$as_me:7383: \$? = $ac_status" >&5
7384
 
  (exit $ac_status); }; }; then
7385
 
  ac_lo=$ac_mid; break
7386
 
else
7387
 
  echo "$as_me: failed program was:" >&5
7388
 
cat conftest.$ac_ext >&5
7389
 
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7390
 
fi
7391
 
rm -f conftest.$ac_objext conftest.$ac_ext
7392
 
  done
7393
 
fi
7394
 
rm -f conftest.$ac_objext conftest.$ac_ext
7395
 
# Binary search between lo and hi bounds.
7396
 
while test "x$ac_lo" != "x$ac_hi"; do
7397
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7398
 
  cat >conftest.$ac_ext <<_ACEOF
7399
 
#line 7399 "configure"
7400
 
#include "confdefs.h"
7401
 
$ac_includes_default
7402
 
int
7403
 
main ()
7404
 
{
7405
 
int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
7406
 
  ;
7407
 
  return 0;
7408
 
}
7409
 
_ACEOF
7410
 
rm -f conftest.$ac_objext
7411
 
if { (eval echo "$as_me:7411: \"$ac_compile\"") >&5
7412
 
  (eval $ac_compile) 2>&5
7413
 
  ac_status=$?
7414
 
  echo "$as_me:7414: \$? = $ac_status" >&5
7415
 
  (exit $ac_status); } &&
7416
 
         { ac_try='test -s conftest.$ac_objext'
7417
 
  { (eval echo "$as_me:7417: \"$ac_try\"") >&5
7418
 
  (eval $ac_try) 2>&5
7419
 
  ac_status=$?
7420
 
  echo "$as_me:7420: \$? = $ac_status" >&5
7421
 
  (exit $ac_status); }; }; then
7422
 
  ac_hi=$ac_mid
7423
 
else
7424
 
  echo "$as_me: failed program was:" >&5
7425
 
cat conftest.$ac_ext >&5
7426
 
ac_lo=`expr $ac_mid + 1`
7427
 
fi
7428
 
rm -f conftest.$ac_objext conftest.$ac_ext
7429
 
done
7430
 
ac_cv_sizeof_short=$ac_lo
7431
 
else
7432
 
  if test "$cross_compiling" = yes; then
7433
 
  { { echo "$as_me:7433: error: cannot run test program while cross compiling" >&5
7434
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7435
 
   { (exit 1); exit 1; }; }
7436
 
else
7437
 
  cat >conftest.$ac_ext <<_ACEOF
7438
 
#line 7438 "configure"
7439
 
#include "confdefs.h"
7440
 
$ac_includes_default
7441
 
int
7442
 
main ()
7443
 
{
7444
 
FILE *f = fopen ("conftest.val", "w");
7445
 
if (!f)
7446
 
  exit (1);
7447
 
fprintf (f, "%d", (sizeof (short)));
7448
 
fclose (f);
7449
 
  ;
7450
 
  return 0;
7451
 
}
7452
 
_ACEOF
7453
 
rm -f conftest$ac_exeext
7454
 
if { (eval echo "$as_me:7454: \"$ac_link\"") >&5
7455
 
  (eval $ac_link) 2>&5
7456
 
  ac_status=$?
7457
 
  echo "$as_me:7457: \$? = $ac_status" >&5
7458
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7459
 
  { (eval echo "$as_me:7459: \"$ac_try\"") >&5
7460
 
  (eval $ac_try) 2>&5
7461
 
  ac_status=$?
7462
 
  echo "$as_me:7462: \$? = $ac_status" >&5
7463
 
  (exit $ac_status); }; }; then
7464
 
  ac_cv_sizeof_short=`cat conftest.val`
7465
 
else
7466
 
  echo "$as_me: program exited with status $ac_status" >&5
7467
 
echo "$as_me: failed program was:" >&5
7468
 
cat conftest.$ac_ext >&5
7469
 
fi
7470
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7471
 
fi
7472
 
fi
7473
 
rm -f conftest.val
7474
 
else
 
6008
  rm -fr conftest*
7475
6009
  ac_cv_sizeof_short=0
7476
6010
fi
7477
 
fi
7478
 
echo "$as_me:7478: result: $ac_cv_sizeof_short" >&5
7479
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7480
 
cat >>confdefs.h <<EOF
 
6011
rm -fr conftest*
 
6012
fi
 
6013
 
 
6014
fi
 
6015
echo "$ac_t""$ac_cv_sizeof_short" 1>&6
 
6016
cat >> confdefs.h <<EOF
7481
6017
#define SIZEOF_SHORT $ac_cv_sizeof_short
7482
6018
EOF
7483
6019
 
7484
 
echo "$as_me:7484: checking for int" >&5
7485
 
echo $ECHO_N "checking for int... $ECHO_C" >&6
7486
 
if test "${ac_cv_type_int+set}" = set; then
7487
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7488
 
else
7489
 
  cat >conftest.$ac_ext <<_ACEOF
7490
 
#line 7490 "configure"
7491
 
#include "confdefs.h"
7492
 
$ac_includes_default
7493
 
int
7494
 
main ()
7495
 
{
7496
 
if ((int *) 0)
7497
 
  return 0;
7498
 
if (sizeof (int))
7499
 
  return 0;
7500
 
  ;
7501
 
  return 0;
7502
 
}
7503
 
_ACEOF
7504
 
rm -f conftest.$ac_objext
7505
 
if { (eval echo "$as_me:7505: \"$ac_compile\"") >&5
7506
 
  (eval $ac_compile) 2>&5
7507
 
  ac_status=$?
7508
 
  echo "$as_me:7508: \$? = $ac_status" >&5
7509
 
  (exit $ac_status); } &&
7510
 
         { ac_try='test -s conftest.$ac_objext'
7511
 
  { (eval echo "$as_me:7511: \"$ac_try\"") >&5
7512
 
  (eval $ac_try) 2>&5
7513
 
  ac_status=$?
7514
 
  echo "$as_me:7514: \$? = $ac_status" >&5
7515
 
  (exit $ac_status); }; }; then
7516
 
  ac_cv_type_int=yes
7517
 
else
7518
 
  echo "$as_me: failed program was:" >&5
7519
 
cat conftest.$ac_ext >&5
7520
 
ac_cv_type_int=no
7521
 
fi
7522
 
rm -f conftest.$ac_objext conftest.$ac_ext
7523
 
fi
7524
 
echo "$as_me:7524: result: $ac_cv_type_int" >&5
7525
 
echo "${ECHO_T}$ac_cv_type_int" >&6
7526
6020
 
7527
 
echo "$as_me:7527: checking size of int" >&5
7528
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6
7529
 
if test "${ac_cv_sizeof_int+set}" = set; then
7530
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7531
 
else
7532
 
  if test "$ac_cv_type_int" = yes; then
7533
 
  if test "$cross_compiling" = yes; then
7534
 
  # Depending upon the size, compute the lo and hi bounds.
7535
 
cat >conftest.$ac_ext <<_ACEOF
7536
 
#line 7536 "configure"
7537
 
#include "confdefs.h"
7538
 
$ac_includes_default
7539
 
int
7540
 
main ()
7541
 
{
7542
 
int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
7543
 
  ;
7544
 
  return 0;
7545
 
}
7546
 
_ACEOF
7547
 
rm -f conftest.$ac_objext
7548
 
if { (eval echo "$as_me:7548: \"$ac_compile\"") >&5
7549
 
  (eval $ac_compile) 2>&5
7550
 
  ac_status=$?
7551
 
  echo "$as_me:7551: \$? = $ac_status" >&5
7552
 
  (exit $ac_status); } &&
7553
 
         { ac_try='test -s conftest.$ac_objext'
7554
 
  { (eval echo "$as_me:7554: \"$ac_try\"") >&5
7555
 
  (eval $ac_try) 2>&5
7556
 
  ac_status=$?
7557
 
  echo "$as_me:7557: \$? = $ac_status" >&5
7558
 
  (exit $ac_status); }; }; then
7559
 
  ac_lo=0 ac_mid=0
7560
 
  while :; do
7561
 
    cat >conftest.$ac_ext <<_ACEOF
7562
 
#line 7562 "configure"
7563
 
#include "confdefs.h"
7564
 
$ac_includes_default
7565
 
int
7566
 
main ()
7567
 
{
7568
 
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7569
 
  ;
7570
 
  return 0;
7571
 
}
7572
 
_ACEOF
7573
 
rm -f conftest.$ac_objext
7574
 
if { (eval echo "$as_me:7574: \"$ac_compile\"") >&5
7575
 
  (eval $ac_compile) 2>&5
7576
 
  ac_status=$?
7577
 
  echo "$as_me:7577: \$? = $ac_status" >&5
7578
 
  (exit $ac_status); } &&
7579
 
         { ac_try='test -s conftest.$ac_objext'
7580
 
  { (eval echo "$as_me:7580: \"$ac_try\"") >&5
7581
 
  (eval $ac_try) 2>&5
7582
 
  ac_status=$?
7583
 
  echo "$as_me:7583: \$? = $ac_status" >&5
7584
 
  (exit $ac_status); }; }; then
7585
 
  ac_hi=$ac_mid; break
7586
 
else
7587
 
  echo "$as_me: failed program was:" >&5
7588
 
cat conftest.$ac_ext >&5
7589
 
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7590
 
fi
7591
 
rm -f conftest.$ac_objext conftest.$ac_ext
7592
 
  done
7593
 
else
7594
 
  echo "$as_me: failed program was:" >&5
7595
 
cat conftest.$ac_ext >&5
7596
 
ac_hi=-1 ac_mid=-1
7597
 
  while :; do
7598
 
    cat >conftest.$ac_ext <<_ACEOF
7599
 
#line 7599 "configure"
7600
 
#include "confdefs.h"
7601
 
$ac_includes_default
7602
 
int
7603
 
main ()
7604
 
{
7605
 
int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
7606
 
  ;
7607
 
  return 0;
7608
 
}
7609
 
_ACEOF
7610
 
rm -f conftest.$ac_objext
7611
 
if { (eval echo "$as_me:7611: \"$ac_compile\"") >&5
7612
 
  (eval $ac_compile) 2>&5
7613
 
  ac_status=$?
7614
 
  echo "$as_me:7614: \$? = $ac_status" >&5
7615
 
  (exit $ac_status); } &&
7616
 
         { ac_try='test -s conftest.$ac_objext'
7617
 
  { (eval echo "$as_me:7617: \"$ac_try\"") >&5
7618
 
  (eval $ac_try) 2>&5
7619
 
  ac_status=$?
7620
 
  echo "$as_me:7620: \$? = $ac_status" >&5
7621
 
  (exit $ac_status); }; }; then
7622
 
  ac_lo=$ac_mid; break
7623
 
else
7624
 
  echo "$as_me: failed program was:" >&5
7625
 
cat conftest.$ac_ext >&5
7626
 
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7627
 
fi
7628
 
rm -f conftest.$ac_objext conftest.$ac_ext
7629
 
  done
7630
 
fi
7631
 
rm -f conftest.$ac_objext conftest.$ac_ext
7632
 
# Binary search between lo and hi bounds.
7633
 
while test "x$ac_lo" != "x$ac_hi"; do
7634
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7635
 
  cat >conftest.$ac_ext <<_ACEOF
7636
 
#line 7636 "configure"
7637
 
#include "confdefs.h"
7638
 
$ac_includes_default
7639
 
int
7640
 
main ()
7641
 
{
7642
 
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7643
 
  ;
7644
 
  return 0;
7645
 
}
7646
 
_ACEOF
7647
 
rm -f conftest.$ac_objext
7648
 
if { (eval echo "$as_me:7648: \"$ac_compile\"") >&5
7649
 
  (eval $ac_compile) 2>&5
7650
 
  ac_status=$?
7651
 
  echo "$as_me:7651: \$? = $ac_status" >&5
7652
 
  (exit $ac_status); } &&
7653
 
         { ac_try='test -s conftest.$ac_objext'
7654
 
  { (eval echo "$as_me:7654: \"$ac_try\"") >&5
7655
 
  (eval $ac_try) 2>&5
7656
 
  ac_status=$?
7657
 
  echo "$as_me:7657: \$? = $ac_status" >&5
7658
 
  (exit $ac_status); }; }; then
7659
 
  ac_hi=$ac_mid
7660
 
else
7661
 
  echo "$as_me: failed program was:" >&5
7662
 
cat conftest.$ac_ext >&5
7663
 
ac_lo=`expr $ac_mid + 1`
7664
 
fi
7665
 
rm -f conftest.$ac_objext conftest.$ac_ext
7666
 
done
7667
 
ac_cv_sizeof_int=$ac_lo
7668
 
else
7669
 
  if test "$cross_compiling" = yes; then
7670
 
  { { echo "$as_me:7670: error: cannot run test program while cross compiling" >&5
7671
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7672
 
   { (exit 1); exit 1; }; }
7673
 
else
7674
 
  cat >conftest.$ac_ext <<_ACEOF
7675
 
#line 7675 "configure"
7676
 
#include "confdefs.h"
7677
 
$ac_includes_default
7678
 
int
7679
 
main ()
7680
 
{
7681
 
FILE *f = fopen ("conftest.val", "w");
7682
 
if (!f)
7683
 
  exit (1);
7684
 
fprintf (f, "%d", (sizeof (int)));
7685
 
fclose (f);
7686
 
  ;
7687
 
  return 0;
7688
 
}
7689
 
_ACEOF
7690
 
rm -f conftest$ac_exeext
7691
 
if { (eval echo "$as_me:7691: \"$ac_link\"") >&5
7692
 
  (eval $ac_link) 2>&5
7693
 
  ac_status=$?
7694
 
  echo "$as_me:7694: \$? = $ac_status" >&5
7695
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7696
 
  { (eval echo "$as_me:7696: \"$ac_try\"") >&5
7697
 
  (eval $ac_try) 2>&5
7698
 
  ac_status=$?
7699
 
  echo "$as_me:7699: \$? = $ac_status" >&5
7700
 
  (exit $ac_status); }; }; then
7701
 
  ac_cv_sizeof_int=`cat conftest.val`
7702
 
else
7703
 
  echo "$as_me: program exited with status $ac_status" >&5
7704
 
echo "$as_me: failed program was:" >&5
7705
 
cat conftest.$ac_ext >&5
7706
 
fi
7707
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7708
 
fi
7709
 
fi
7710
 
rm -f conftest.val
7711
 
else
 
6021
echo $ac_n "checking size of int""... $ac_c" 1>&6
 
6022
echo "configure:6023: checking size of int" >&5
 
6023
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
 
6024
  echo $ac_n "(cached) $ac_c" 1>&6
 
6025
else
 
6026
  if test "$cross_compiling" = yes; then
 
6027
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 
6028
else
 
6029
  cat > conftest.$ac_ext <<EOF
 
6030
#line 6031 "configure"
 
6031
#include "confdefs.h"
 
6032
#include <stdio.h>
 
6033
#include <sys/types.h>
 
6034
main()
 
6035
{
 
6036
  FILE *f=fopen("conftestval", "w");
 
6037
  if (!f) exit(1);
 
6038
  fprintf(f, "%d\n", sizeof(int));
 
6039
  exit(0);
 
6040
}
 
6041
EOF
 
6042
if { (eval echo configure:6043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
6043
then
 
6044
  ac_cv_sizeof_int=`cat conftestval`
 
6045
else
 
6046
  echo "configure: failed program was:" >&5
 
6047
  cat conftest.$ac_ext >&5
 
6048
  rm -fr conftest*
7712
6049
  ac_cv_sizeof_int=0
7713
6050
fi
7714
 
fi
7715
 
echo "$as_me:7715: result: $ac_cv_sizeof_int" >&5
7716
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7717
 
cat >>confdefs.h <<EOF
 
6051
rm -fr conftest*
 
6052
fi
 
6053
 
 
6054
fi
 
6055
echo "$ac_t""$ac_cv_sizeof_int" 1>&6
 
6056
cat >> confdefs.h <<EOF
7718
6057
#define SIZEOF_INT $ac_cv_sizeof_int
7719
6058
EOF
7720
6059
 
7721
 
echo "$as_me:7721: checking for long" >&5
7722
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
7723
 
if test "${ac_cv_type_long+set}" = set; then
7724
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7725
 
else
7726
 
  cat >conftest.$ac_ext <<_ACEOF
7727
 
#line 7727 "configure"
7728
 
#include "confdefs.h"
7729
 
$ac_includes_default
7730
 
int
7731
 
main ()
7732
 
{
7733
 
if ((long *) 0)
7734
 
  return 0;
7735
 
if (sizeof (long))
7736
 
  return 0;
7737
 
  ;
7738
 
  return 0;
7739
 
}
7740
 
_ACEOF
7741
 
rm -f conftest.$ac_objext
7742
 
if { (eval echo "$as_me:7742: \"$ac_compile\"") >&5
7743
 
  (eval $ac_compile) 2>&5
7744
 
  ac_status=$?
7745
 
  echo "$as_me:7745: \$? = $ac_status" >&5
7746
 
  (exit $ac_status); } &&
7747
 
         { ac_try='test -s conftest.$ac_objext'
7748
 
  { (eval echo "$as_me:7748: \"$ac_try\"") >&5
7749
 
  (eval $ac_try) 2>&5
7750
 
  ac_status=$?
7751
 
  echo "$as_me:7751: \$? = $ac_status" >&5
7752
 
  (exit $ac_status); }; }; then
7753
 
  ac_cv_type_long=yes
7754
 
else
7755
 
  echo "$as_me: failed program was:" >&5
7756
 
cat conftest.$ac_ext >&5
7757
 
ac_cv_type_long=no
7758
 
fi
7759
 
rm -f conftest.$ac_objext conftest.$ac_ext
7760
 
fi
7761
 
echo "$as_me:7761: result: $ac_cv_type_long" >&5
7762
 
echo "${ECHO_T}$ac_cv_type_long" >&6
7763
6060
 
7764
 
echo "$as_me:7764: checking size of long" >&5
7765
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
7766
 
if test "${ac_cv_sizeof_long+set}" = set; then
7767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7768
 
else
7769
 
  if test "$ac_cv_type_long" = yes; then
7770
 
  if test "$cross_compiling" = yes; then
7771
 
  # Depending upon the size, compute the lo and hi bounds.
7772
 
cat >conftest.$ac_ext <<_ACEOF
7773
 
#line 7773 "configure"
7774
 
#include "confdefs.h"
7775
 
$ac_includes_default
7776
 
int
7777
 
main ()
7778
 
{
7779
 
int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
7780
 
  ;
7781
 
  return 0;
7782
 
}
7783
 
_ACEOF
7784
 
rm -f conftest.$ac_objext
7785
 
if { (eval echo "$as_me:7785: \"$ac_compile\"") >&5
7786
 
  (eval $ac_compile) 2>&5
7787
 
  ac_status=$?
7788
 
  echo "$as_me:7788: \$? = $ac_status" >&5
7789
 
  (exit $ac_status); } &&
7790
 
         { ac_try='test -s conftest.$ac_objext'
7791
 
  { (eval echo "$as_me:7791: \"$ac_try\"") >&5
7792
 
  (eval $ac_try) 2>&5
7793
 
  ac_status=$?
7794
 
  echo "$as_me:7794: \$? = $ac_status" >&5
7795
 
  (exit $ac_status); }; }; then
7796
 
  ac_lo=0 ac_mid=0
7797
 
  while :; do
7798
 
    cat >conftest.$ac_ext <<_ACEOF
7799
 
#line 7799 "configure"
7800
 
#include "confdefs.h"
7801
 
$ac_includes_default
7802
 
int
7803
 
main ()
7804
 
{
7805
 
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
7806
 
  ;
7807
 
  return 0;
7808
 
}
7809
 
_ACEOF
7810
 
rm -f conftest.$ac_objext
7811
 
if { (eval echo "$as_me:7811: \"$ac_compile\"") >&5
7812
 
  (eval $ac_compile) 2>&5
7813
 
  ac_status=$?
7814
 
  echo "$as_me:7814: \$? = $ac_status" >&5
7815
 
  (exit $ac_status); } &&
7816
 
         { ac_try='test -s conftest.$ac_objext'
7817
 
  { (eval echo "$as_me:7817: \"$ac_try\"") >&5
7818
 
  (eval $ac_try) 2>&5
7819
 
  ac_status=$?
7820
 
  echo "$as_me:7820: \$? = $ac_status" >&5
7821
 
  (exit $ac_status); }; }; then
7822
 
  ac_hi=$ac_mid; break
7823
 
else
7824
 
  echo "$as_me: failed program was:" >&5
7825
 
cat conftest.$ac_ext >&5
7826
 
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7827
 
fi
7828
 
rm -f conftest.$ac_objext conftest.$ac_ext
7829
 
  done
7830
 
else
7831
 
  echo "$as_me: failed program was:" >&5
7832
 
cat conftest.$ac_ext >&5
7833
 
ac_hi=-1 ac_mid=-1
7834
 
  while :; do
7835
 
    cat >conftest.$ac_ext <<_ACEOF
7836
 
#line 7836 "configure"
7837
 
#include "confdefs.h"
7838
 
$ac_includes_default
7839
 
int
7840
 
main ()
7841
 
{
7842
 
int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
7843
 
  ;
7844
 
  return 0;
7845
 
}
7846
 
_ACEOF
7847
 
rm -f conftest.$ac_objext
7848
 
if { (eval echo "$as_me:7848: \"$ac_compile\"") >&5
7849
 
  (eval $ac_compile) 2>&5
7850
 
  ac_status=$?
7851
 
  echo "$as_me:7851: \$? = $ac_status" >&5
7852
 
  (exit $ac_status); } &&
7853
 
         { ac_try='test -s conftest.$ac_objext'
7854
 
  { (eval echo "$as_me:7854: \"$ac_try\"") >&5
7855
 
  (eval $ac_try) 2>&5
7856
 
  ac_status=$?
7857
 
  echo "$as_me:7857: \$? = $ac_status" >&5
7858
 
  (exit $ac_status); }; }; then
7859
 
  ac_lo=$ac_mid; break
7860
 
else
7861
 
  echo "$as_me: failed program was:" >&5
7862
 
cat conftest.$ac_ext >&5
7863
 
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7864
 
fi
7865
 
rm -f conftest.$ac_objext conftest.$ac_ext
7866
 
  done
7867
 
fi
7868
 
rm -f conftest.$ac_objext conftest.$ac_ext
7869
 
# Binary search between lo and hi bounds.
7870
 
while test "x$ac_lo" != "x$ac_hi"; do
7871
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7872
 
  cat >conftest.$ac_ext <<_ACEOF
7873
 
#line 7873 "configure"
7874
 
#include "confdefs.h"
7875
 
$ac_includes_default
7876
 
int
7877
 
main ()
7878
 
{
7879
 
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
7880
 
  ;
7881
 
  return 0;
7882
 
}
7883
 
_ACEOF
7884
 
rm -f conftest.$ac_objext
7885
 
if { (eval echo "$as_me:7885: \"$ac_compile\"") >&5
7886
 
  (eval $ac_compile) 2>&5
7887
 
  ac_status=$?
7888
 
  echo "$as_me:7888: \$? = $ac_status" >&5
7889
 
  (exit $ac_status); } &&
7890
 
         { ac_try='test -s conftest.$ac_objext'
7891
 
  { (eval echo "$as_me:7891: \"$ac_try\"") >&5
7892
 
  (eval $ac_try) 2>&5
7893
 
  ac_status=$?
7894
 
  echo "$as_me:7894: \$? = $ac_status" >&5
7895
 
  (exit $ac_status); }; }; then
7896
 
  ac_hi=$ac_mid
7897
 
else
7898
 
  echo "$as_me: failed program was:" >&5
7899
 
cat conftest.$ac_ext >&5
7900
 
ac_lo=`expr $ac_mid + 1`
7901
 
fi
7902
 
rm -f conftest.$ac_objext conftest.$ac_ext
7903
 
done
7904
 
ac_cv_sizeof_long=$ac_lo
7905
 
else
7906
 
  if test "$cross_compiling" = yes; then
7907
 
  { { echo "$as_me:7907: error: cannot run test program while cross compiling" >&5
7908
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7909
 
   { (exit 1); exit 1; }; }
7910
 
else
7911
 
  cat >conftest.$ac_ext <<_ACEOF
7912
 
#line 7912 "configure"
7913
 
#include "confdefs.h"
7914
 
$ac_includes_default
7915
 
int
7916
 
main ()
7917
 
{
7918
 
FILE *f = fopen ("conftest.val", "w");
7919
 
if (!f)
7920
 
  exit (1);
7921
 
fprintf (f, "%d", (sizeof (long)));
7922
 
fclose (f);
7923
 
  ;
7924
 
  return 0;
7925
 
}
7926
 
_ACEOF
7927
 
rm -f conftest$ac_exeext
7928
 
if { (eval echo "$as_me:7928: \"$ac_link\"") >&5
7929
 
  (eval $ac_link) 2>&5
7930
 
  ac_status=$?
7931
 
  echo "$as_me:7931: \$? = $ac_status" >&5
7932
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7933
 
  { (eval echo "$as_me:7933: \"$ac_try\"") >&5
7934
 
  (eval $ac_try) 2>&5
7935
 
  ac_status=$?
7936
 
  echo "$as_me:7936: \$? = $ac_status" >&5
7937
 
  (exit $ac_status); }; }; then
7938
 
  ac_cv_sizeof_long=`cat conftest.val`
7939
 
else
7940
 
  echo "$as_me: program exited with status $ac_status" >&5
7941
 
echo "$as_me: failed program was:" >&5
7942
 
cat conftest.$ac_ext >&5
7943
 
fi
7944
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7945
 
fi
7946
 
fi
7947
 
rm -f conftest.val
7948
 
else
 
6061
echo $ac_n "checking size of long""... $ac_c" 1>&6
 
6062
echo "configure:6063: checking size of long" >&5
 
6063
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
 
6064
  echo $ac_n "(cached) $ac_c" 1>&6
 
6065
else
 
6066
  if test "$cross_compiling" = yes; then
 
6067
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 
6068
else
 
6069
  cat > conftest.$ac_ext <<EOF
 
6070
#line 6071 "configure"
 
6071
#include "confdefs.h"
 
6072
#include <stdio.h>
 
6073
#include <sys/types.h>
 
6074
main()
 
6075
{
 
6076
  FILE *f=fopen("conftestval", "w");
 
6077
  if (!f) exit(1);
 
6078
  fprintf(f, "%d\n", sizeof(long));
 
6079
  exit(0);
 
6080
}
 
6081
EOF
 
6082
if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
6083
then
 
6084
  ac_cv_sizeof_long=`cat conftestval`
 
6085
else
 
6086
  echo "configure: failed program was:" >&5
 
6087
  cat conftest.$ac_ext >&5
 
6088
  rm -fr conftest*
7949
6089
  ac_cv_sizeof_long=0
7950
6090
fi
7951
 
fi
7952
 
echo "$as_me:7952: result: $ac_cv_sizeof_long" >&5
7953
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7954
 
cat >>confdefs.h <<EOF
 
6091
rm -fr conftest*
 
6092
fi
 
6093
 
 
6094
fi
 
6095
echo "$ac_t""$ac_cv_sizeof_long" 1>&6
 
6096
cat >> confdefs.h <<EOF
7955
6097
#define SIZEOF_LONG $ac_cv_sizeof_long
7956
6098
EOF
7957
6099
 
7958
 
echo "$as_me:7958: checking for long long" >&5
7959
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6
7960
 
if test "${ac_cv_type_long_long+set}" = set; then
7961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7962
 
else
7963
 
  cat >conftest.$ac_ext <<_ACEOF
7964
 
#line 7964 "configure"
7965
 
#include "confdefs.h"
7966
 
$ac_includes_default
7967
 
int
7968
 
main ()
7969
 
{
7970
 
if ((long long *) 0)
7971
 
  return 0;
7972
 
if (sizeof (long long))
7973
 
  return 0;
7974
 
  ;
7975
 
  return 0;
7976
 
}
7977
 
_ACEOF
7978
 
rm -f conftest.$ac_objext
7979
 
if { (eval echo "$as_me:7979: \"$ac_compile\"") >&5
7980
 
  (eval $ac_compile) 2>&5
7981
 
  ac_status=$?
7982
 
  echo "$as_me:7982: \$? = $ac_status" >&5
7983
 
  (exit $ac_status); } &&
7984
 
         { ac_try='test -s conftest.$ac_objext'
7985
 
  { (eval echo "$as_me:7985: \"$ac_try\"") >&5
7986
 
  (eval $ac_try) 2>&5
7987
 
  ac_status=$?
7988
 
  echo "$as_me:7988: \$? = $ac_status" >&5
7989
 
  (exit $ac_status); }; }; then
7990
 
  ac_cv_type_long_long=yes
7991
 
else
7992
 
  echo "$as_me: failed program was:" >&5
7993
 
cat conftest.$ac_ext >&5
7994
 
ac_cv_type_long_long=no
7995
 
fi
7996
 
rm -f conftest.$ac_objext conftest.$ac_ext
7997
 
fi
7998
 
echo "$as_me:7998: result: $ac_cv_type_long_long" >&5
7999
 
echo "${ECHO_T}$ac_cv_type_long_long" >&6
8000
6100
 
8001
 
echo "$as_me:8001: checking size of long long" >&5
8002
 
echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8003
 
if test "${ac_cv_sizeof_long_long+set}" = set; then
8004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8005
 
else
8006
 
  if test "$ac_cv_type_long_long" = yes; then
8007
 
  if test "$cross_compiling" = yes; then
8008
 
  # Depending upon the size, compute the lo and hi bounds.
8009
 
cat >conftest.$ac_ext <<_ACEOF
8010
 
#line 8010 "configure"
8011
 
#include "confdefs.h"
8012
 
$ac_includes_default
8013
 
int
8014
 
main ()
8015
 
{
8016
 
int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
8017
 
  ;
8018
 
  return 0;
8019
 
}
8020
 
_ACEOF
8021
 
rm -f conftest.$ac_objext
8022
 
if { (eval echo "$as_me:8022: \"$ac_compile\"") >&5
8023
 
  (eval $ac_compile) 2>&5
8024
 
  ac_status=$?
8025
 
  echo "$as_me:8025: \$? = $ac_status" >&5
8026
 
  (exit $ac_status); } &&
8027
 
         { ac_try='test -s conftest.$ac_objext'
8028
 
  { (eval echo "$as_me:8028: \"$ac_try\"") >&5
8029
 
  (eval $ac_try) 2>&5
8030
 
  ac_status=$?
8031
 
  echo "$as_me:8031: \$? = $ac_status" >&5
8032
 
  (exit $ac_status); }; }; then
8033
 
  ac_lo=0 ac_mid=0
8034
 
  while :; do
8035
 
    cat >conftest.$ac_ext <<_ACEOF
8036
 
#line 8036 "configure"
8037
 
#include "confdefs.h"
8038
 
$ac_includes_default
8039
 
int
8040
 
main ()
8041
 
{
8042
 
int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
8043
 
  ;
8044
 
  return 0;
8045
 
}
8046
 
_ACEOF
8047
 
rm -f conftest.$ac_objext
8048
 
if { (eval echo "$as_me:8048: \"$ac_compile\"") >&5
8049
 
  (eval $ac_compile) 2>&5
8050
 
  ac_status=$?
8051
 
  echo "$as_me:8051: \$? = $ac_status" >&5
8052
 
  (exit $ac_status); } &&
8053
 
         { ac_try='test -s conftest.$ac_objext'
8054
 
  { (eval echo "$as_me:8054: \"$ac_try\"") >&5
8055
 
  (eval $ac_try) 2>&5
8056
 
  ac_status=$?
8057
 
  echo "$as_me:8057: \$? = $ac_status" >&5
8058
 
  (exit $ac_status); }; }; then
8059
 
  ac_hi=$ac_mid; break
8060
 
else
8061
 
  echo "$as_me: failed program was:" >&5
8062
 
cat conftest.$ac_ext >&5
8063
 
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8064
 
fi
8065
 
rm -f conftest.$ac_objext conftest.$ac_ext
8066
 
  done
8067
 
else
8068
 
  echo "$as_me: failed program was:" >&5
8069
 
cat conftest.$ac_ext >&5
8070
 
ac_hi=-1 ac_mid=-1
8071
 
  while :; do
8072
 
    cat >conftest.$ac_ext <<_ACEOF
8073
 
#line 8073 "configure"
8074
 
#include "confdefs.h"
8075
 
$ac_includes_default
8076
 
int
8077
 
main ()
8078
 
{
8079
 
int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
8080
 
  ;
8081
 
  return 0;
8082
 
}
8083
 
_ACEOF
8084
 
rm -f conftest.$ac_objext
8085
 
if { (eval echo "$as_me:8085: \"$ac_compile\"") >&5
8086
 
  (eval $ac_compile) 2>&5
8087
 
  ac_status=$?
8088
 
  echo "$as_me:8088: \$? = $ac_status" >&5
8089
 
  (exit $ac_status); } &&
8090
 
         { ac_try='test -s conftest.$ac_objext'
8091
 
  { (eval echo "$as_me:8091: \"$ac_try\"") >&5
8092
 
  (eval $ac_try) 2>&5
8093
 
  ac_status=$?
8094
 
  echo "$as_me:8094: \$? = $ac_status" >&5
8095
 
  (exit $ac_status); }; }; then
8096
 
  ac_lo=$ac_mid; break
8097
 
else
8098
 
  echo "$as_me: failed program was:" >&5
8099
 
cat conftest.$ac_ext >&5
8100
 
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8101
 
fi
8102
 
rm -f conftest.$ac_objext conftest.$ac_ext
8103
 
  done
8104
 
fi
8105
 
rm -f conftest.$ac_objext conftest.$ac_ext
8106
 
# Binary search between lo and hi bounds.
8107
 
while test "x$ac_lo" != "x$ac_hi"; do
8108
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8109
 
  cat >conftest.$ac_ext <<_ACEOF
8110
 
#line 8110 "configure"
8111
 
#include "confdefs.h"
8112
 
$ac_includes_default
8113
 
int
8114
 
main ()
8115
 
{
8116
 
int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
8117
 
  ;
8118
 
  return 0;
8119
 
}
8120
 
_ACEOF
8121
 
rm -f conftest.$ac_objext
8122
 
if { (eval echo "$as_me:8122: \"$ac_compile\"") >&5
8123
 
  (eval $ac_compile) 2>&5
8124
 
  ac_status=$?
8125
 
  echo "$as_me:8125: \$? = $ac_status" >&5
8126
 
  (exit $ac_status); } &&
8127
 
         { ac_try='test -s conftest.$ac_objext'
8128
 
  { (eval echo "$as_me:8128: \"$ac_try\"") >&5
8129
 
  (eval $ac_try) 2>&5
8130
 
  ac_status=$?
8131
 
  echo "$as_me:8131: \$? = $ac_status" >&5
8132
 
  (exit $ac_status); }; }; then
8133
 
  ac_hi=$ac_mid
8134
 
else
8135
 
  echo "$as_me: failed program was:" >&5
8136
 
cat conftest.$ac_ext >&5
8137
 
ac_lo=`expr $ac_mid + 1`
8138
 
fi
8139
 
rm -f conftest.$ac_objext conftest.$ac_ext
8140
 
done
8141
 
ac_cv_sizeof_long_long=$ac_lo
8142
 
else
8143
 
  if test "$cross_compiling" = yes; then
8144
 
  { { echo "$as_me:8144: error: cannot run test program while cross compiling" >&5
8145
 
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8146
 
   { (exit 1); exit 1; }; }
8147
 
else
8148
 
  cat >conftest.$ac_ext <<_ACEOF
8149
 
#line 8149 "configure"
8150
 
#include "confdefs.h"
8151
 
$ac_includes_default
8152
 
int
8153
 
main ()
8154
 
{
8155
 
FILE *f = fopen ("conftest.val", "w");
8156
 
if (!f)
8157
 
  exit (1);
8158
 
fprintf (f, "%d", (sizeof (long long)));
8159
 
fclose (f);
8160
 
  ;
8161
 
  return 0;
8162
 
}
8163
 
_ACEOF
8164
 
rm -f conftest$ac_exeext
8165
 
if { (eval echo "$as_me:8165: \"$ac_link\"") >&5
8166
 
  (eval $ac_link) 2>&5
8167
 
  ac_status=$?
8168
 
  echo "$as_me:8168: \$? = $ac_status" >&5
8169
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8170
 
  { (eval echo "$as_me:8170: \"$ac_try\"") >&5
8171
 
  (eval $ac_try) 2>&5
8172
 
  ac_status=$?
8173
 
  echo "$as_me:8173: \$? = $ac_status" >&5
8174
 
  (exit $ac_status); }; }; then
8175
 
  ac_cv_sizeof_long_long=`cat conftest.val`
8176
 
else
8177
 
  echo "$as_me: program exited with status $ac_status" >&5
8178
 
echo "$as_me: failed program was:" >&5
8179
 
cat conftest.$ac_ext >&5
8180
 
fi
8181
 
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8182
 
fi
8183
 
fi
8184
 
rm -f conftest.val
8185
 
else
 
6101
echo $ac_n "checking size of long long""... $ac_c" 1>&6
 
6102
echo "configure:6103: checking size of long long" >&5
 
6103
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
 
6104
  echo $ac_n "(cached) $ac_c" 1>&6
 
6105
else
 
6106
  if test "$cross_compiling" = yes; then
 
6107
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 
6108
else
 
6109
  cat > conftest.$ac_ext <<EOF
 
6110
#line 6111 "configure"
 
6111
#include "confdefs.h"
 
6112
#include <stdio.h>
 
6113
#include <sys/types.h>
 
6114
main()
 
6115
{
 
6116
  FILE *f=fopen("conftestval", "w");
 
6117
  if (!f) exit(1);
 
6118
  fprintf(f, "%d\n", sizeof(long long));
 
6119
  exit(0);
 
6120
}
 
6121
EOF
 
6122
if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
6123
then
 
6124
  ac_cv_sizeof_long_long=`cat conftestval`
 
6125
else
 
6126
  echo "configure: failed program was:" >&5
 
6127
  cat conftest.$ac_ext >&5
 
6128
  rm -fr conftest*
8186
6129
  ac_cv_sizeof_long_long=0
8187
6130
fi
8188
 
fi
8189
 
echo "$as_me:8189: result: $ac_cv_sizeof_long_long" >&5
8190
 
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8191
 
cat >>confdefs.h <<EOF
 
6131
rm -fr conftest*
 
6132
fi
 
6133
 
 
6134
fi
 
6135
echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
 
6136
cat >> confdefs.h <<EOF
8192
6137
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8193
6138
EOF
8194
6139
 
 
6140
 
 
6141
 
8195
6142
case 2 in
8196
6143
        $ac_cv_sizeof_short) FLaC__SIZE16="short" ; FLaC__USIZE16="unsigned short";;
8197
6144
        $ac_cv_sizeof_int) FLaC__SIZE16="int" ; FLaC__USIZE16="unsigned int";;
8210
6157
esac
8211
6158
 
8212
6159
if test -z "$FLaC__SIZE16"; then
8213
 
        { { echo "$as_me:8213: error: No 16 bit type found on this platform!" >&5
8214
 
echo "$as_me: error: No 16 bit type found on this platform!" >&2;}
8215
 
   { (exit 1); exit 1; }; }
 
6160
        { echo "configure: error: No 16 bit type found on this platform!" 1>&2; exit 1; }
8216
6161
fi
8217
6162
if test -z "$FLaC__USIZE16"; then
8218
 
        { { echo "$as_me:8218: error: No unsigned 16 bit type found on this platform!" >&5
8219
 
echo "$as_me: error: No unsigned 16 bit type found on this platform!" >&2;}
8220
 
   { (exit 1); exit 1; }; }
 
6163
        { echo "configure: error: No unsigned 16 bit type found on this platform!" 1>&2; exit 1; }
8221
6164
fi
8222
6165
if test -z "$FLaC__SIZE32"; then
8223
 
        { { echo "$as_me:8223: error: No 32 bit type found on this platform!" >&5
8224
 
echo "$as_me: error: No 32 bit type found on this platform!" >&2;}
8225
 
   { (exit 1); exit 1; }; }
 
6166
        { echo "configure: error: No 32 bit type found on this platform!" 1>&2; exit 1; }
8226
6167
fi
8227
6168
if test -z "$FLaC__USIZE32"; then
8228
 
        { { echo "$as_me:8228: error: No unsigned 32 bit type found on this platform!" >&5
8229
 
echo "$as_me: error: No unsigned 32 bit type found on this platform!" >&2;}
8230
 
   { (exit 1); exit 1; }; }
 
6169
        { echo "configure: error: No unsigned 32 bit type found on this platform!" 1>&2; exit 1; }
8231
6170
fi
8232
6171
if test -z "$FLaC__SIZE64"; then
8233
 
        { echo "$as_me:8233: WARNING: No 64 bit type found on this platform!" >&5
8234
 
echo "$as_me: WARNING: No 64 bit type found on this platform!" >&2;}
 
6172
        echo "configure: warning: No 64 bit type found on this platform!" 1>&2
8235
6173
fi
8236
6174
if test -z "$FLaC__USIZE64"; then
8237
 
        { { echo "$as_me:8237: error: No unsigned 64 bit type found on this platform!" >&5
8238
 
echo "$as_me: error: No unsigned 64 bit type found on this platform!" >&2;}
8239
 
   { (exit 1); exit 1; }; }
 
6175
        { echo "configure: error: No unsigned 64 bit type found on this platform!" 1>&2; exit 1; }
8240
6176
fi
8241
6177
 
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
 
6184
 
8242
6185
SAVE_CFLAGS="$CFLAGS"
8243
6186
CFLAGS='-I$(top_builddir) -I$(srcdir)/include -I $(top_srcdir)/include -Wall -W'
8244
6187
if test x$debug = xtrue; then
8251
6194
fi
8252
6195
CFLAGS="$CFLAGS $SAVE_CFLAGS"
8253
6196
 
8254
 
ac_config_files="$ac_config_files Makefile src/Makefile src/libFLAC/Makefile src/libFLAC/ia32/Makefile src/libFLAC/include/Makefile src/libFLAC/include/private/Makefile src/libFLAC/include/protected/Makefile src/flac/Makefile src/metaflac/Makefile src/plugin_xmms/Makefile src/test_streams/Makefile src/test_unit/Makefile include/Makefile include/FLAC/Makefile include/FLAC/ordinals.h doc/Makefile doc/images/Makefile doc/ru/Makefile man/Makefile test/Makefile"
8255
 
cat >confcache <<\_ACEOF
 
6197
trap '' 1 2 15
 
6198
cat > confcache <<\EOF
8256
6199
# This file is a shell script that caches the results of configure
8257
6200
# tests run on this system so they can be shared between configure
8258
 
# scripts and configure runs, see configure's option --config-cache.
8259
 
# It is not useful on other systems.  If it contains results you don't
8260
 
# want to keep, you may remove or edit it.
8261
 
#
8262
 
# config.status only pays attention to the cache file if you give it
8263
 
# the --recheck option to rerun configure.
8264
 
#
8265
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
8266
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8267
 
# following values.
8268
 
 
8269
 
_ACEOF
8270
 
 
 
6201
# scripts and configure runs.  It is not useful on other systems.
 
6202
# If it contains results you don't want to keep, you may remove or edit it.
 
6203
#
 
6204
# By default, configure uses ./config.cache as the cache file,
 
6205
# creating it if it does not exist already.  You can give configure
 
6206
# the --cache-file=FILE option to use a different cache file; that is
 
6207
# what configure does when it calls configure scripts in
 
6208
# subdirectories, so they share the cache.
 
6209
# Giving --cache-file=/dev/null disables caching, for debugging configure.
 
6210
# config.status only pays attention to the cache file if you give it the
 
6211
# --recheck option to rerun configure.
 
6212
#
 
6213
EOF
8271
6214
# The following way of writing the cache mishandles newlines in values,
8272
6215
# but we know of no workaround that is simple, portable, and efficient.
8273
6216
# So, don't put newlines in cache variables' values.
8274
6217
# Ultrix sh set writes to stderr and can't be redirected directly,
8275
6218
# and sets the high bit in the cache file unless we assign to the vars.
8276
 
{
8277
 
  (set) 2>&1 |
8278
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8279
 
    *ac_space=\ *)
8280
 
      # `set' does not quote correctly, so add quotes (double-quote
8281
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
8282
 
      sed -n \
8283
 
        "s/'/'\\\\''/g;
8284
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8285
 
      ;;
8286
 
    *)
8287
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8288
 
      sed -n \
8289
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8290
 
      ;;
8291
 
    esac;
8292
 
} |
8293
 
  sed '
8294
 
     t clear
8295
 
     : clear
8296
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8297
 
     t end
8298
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8299
 
     : end' >>confcache
8300
 
if cmp -s $cache_file confcache; then :; else
 
6219
(set) 2>&1 |
 
6220
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
6221
  *ac_space=\ *)
 
6222
    # `set' does not quote correctly, so add quotes (double-quote substitution
 
6223
    # turns \\\\ into \\, and sed turns \\ into \).
 
6224
    sed -n \
 
6225
      -e "s/'/'\\\\''/g" \
 
6226
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
 
6227
    ;;
 
6228
  *)
 
6229
    # `set' quotes correctly as required by POSIX, so do not add quotes.
 
6230
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
 
6231
    ;;
 
6232
  esac >> confcache
 
6233
if cmp -s $cache_file confcache; then
 
6234
  :
 
6235
else
8301
6236
  if test -w $cache_file; then
8302
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8303
 
    cat confcache >$cache_file
 
6237
    echo "updating cache $cache_file"
 
6238
    cat confcache > $cache_file
8304
6239
  else
8305
6240
    echo "not updating unwritable cache $cache_file"
8306
6241
  fi
8307
6242
fi
8308
6243
rm -f confcache
8309
6244
 
 
6245
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
6246
 
8310
6247
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8311
6248
# Let make expand exec_prefix.
8312
6249
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8313
6250
 
8314
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8315
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8316
 
# trailing colons and then remove the whole line if VPATH becomes empty
8317
 
# (actually we leave an empty line to preserve line numbers).
 
6251
# Any assignment to VPATH causes Sun make to only execute
 
6252
# the first set of double-colon rules, so remove it if not needed.
 
6253
# If there is a colon in the path, we need to keep it.
8318
6254
if test "x$srcdir" = x.; then
8319
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8320
 
s/:*\$(srcdir):*/:/;
8321
 
s/:*\${srcdir}:*/:/;
8322
 
s/:*@srcdir@:*/:/;
8323
 
s/^\([^=]*=[    ]*\):*/\1/;
8324
 
s/:*$//;
8325
 
s/^[^=]*=[      ]*$//;
8326
 
}'
 
6255
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
8327
6256
fi
8328
6257
 
 
6258
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
 
6259
 
8329
6260
# Transform confdefs.h into DEFS.
8330
6261
# Protect against shell expansion while executing Makefile rules.
8331
6262
# Protect against Makefile macro expansion.
8332
 
#
8333
 
# If the first sed substitution is executed (which looks for macros that
8334
 
# take arguments), then we branch to the quote section.  Otherwise,
8335
 
# look for a macro that doesn't take arguments.
8336
 
cat >confdef2opt.sed <<\EOF
8337
 
t clear
8338
 
: clear
8339
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
8340
 
t quote
8341
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
8342
 
t quote
8343
 
d
8344
 
: quote
8345
 
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
8346
 
s,\[,\\&,g
8347
 
s,\],\\&,g
8348
 
s,\$,$$,g
8349
 
p
 
6263
cat > conftest.defs <<\EOF
 
6264
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
 
6265
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
 
6266
s%\[%\\&%g
 
6267
s%\]%\\&%g
 
6268
s%\$%$$%g
8350
6269
EOF
8351
 
# We use echo to avoid assuming a particular line-breaking character.
8352
 
# The extra dot is to prevent the shell from consuming trailing
8353
 
# line-breaks from the sub-command output.  A line-break within
8354
 
# single-quotes doesn't work because, if this script is created in a
8355
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
8356
 
# would break.
8357
 
ac_LF_and_DOT=`echo; echo .`
8358
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
8359
 
rm -f confdef2opt.sed
8360
 
 
 
6270
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
 
6271
rm -f conftest.defs
 
6272
 
 
6273
 
 
6274
# Without the "./", some shells look in PATH for config.status.
8361
6275
: ${CONFIG_STATUS=./config.status}
8362
 
ac_clean_files_save=$ac_clean_files
8363
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8364
 
{ echo "$as_me:8364: creating $CONFIG_STATUS" >&5
8365
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8366
 
cat >$CONFIG_STATUS <<_ACEOF
8367
 
#! $SHELL
 
6276
 
 
6277
echo creating $CONFIG_STATUS
 
6278
rm -f $CONFIG_STATUS
 
6279
cat > $CONFIG_STATUS <<EOF
 
6280
#! /bin/sh
8368
6281
# Generated automatically by configure.
8369
6282
# Run this file to recreate the current configuration.
 
6283
# This directory was configured as follows,
 
6284
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
6285
#
 
6286
# $0 $ac_configure_args
 
6287
#
8370
6288
# Compiler output produced by configure, useful for debugging
8371
 
# configure, is in config.log if it exists.
8372
 
 
8373
 
debug=false
8374
 
SHELL=\${CONFIG_SHELL-$SHELL}
8375
 
ac_cs_invocation="\$0 \$@"
8376
 
 
8377
 
_ACEOF
8378
 
 
8379
 
cat >>$CONFIG_STATUS <<\_ACEOF
8380
 
# Be Bourne compatible
8381
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8382
 
  emulate sh
8383
 
  NULLCMD=:
8384
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8385
 
  set -o posix
8386
 
fi
8387
 
 
8388
 
# Name of the executable.
8389
 
as_me=`echo "$0" |sed 's,.*[\\/],,'`
8390
 
 
8391
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8392
 
  as_expr=expr
8393
 
else
8394
 
  as_expr=false
8395
 
fi
8396
 
 
8397
 
rm -f conf$$ conf$$.exe conf$$.file
8398
 
echo >conf$$.file
8399
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
8400
 
  # We could just check for DJGPP; but this test a) works b) is more generic
8401
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8402
 
  if test -f conf$$.exe; then
8403
 
    # Don't use ln at all; we don't have any links
8404
 
    as_ln_s='cp -p'
8405
 
  else
8406
 
    as_ln_s='ln -s'
8407
 
  fi
8408
 
elif ln conf$$.file conf$$ 2>/dev/null; then
8409
 
  as_ln_s=ln
8410
 
else
8411
 
  as_ln_s='cp -p'
8412
 
fi
8413
 
rm -f conf$$ conf$$.exe conf$$.file
8414
 
 
8415
 
as_executable_p="test -f"
8416
 
 
8417
 
# Support unset when possible.
8418
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8419
 
  as_unset=unset
8420
 
else
8421
 
  as_unset=false
8422
 
fi
8423
 
 
8424
 
# NLS nuisances.
8425
 
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
8426
 
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
8427
 
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
8428
 
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
8429
 
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
8430
 
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
8431
 
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
8432
 
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
8433
 
 
8434
 
# IFS
8435
 
# We need space, tab and new line, in precisely that order.
8436
 
as_nl='
8437
 
'
8438
 
IFS="   $as_nl"
8439
 
 
8440
 
# CDPATH.
8441
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
8442
 
 
8443
 
exec 6>&1
8444
 
 
8445
 
_ACEOF
8446
 
 
8447
 
# Files that config.status was made for.
8448
 
if test -n "$ac_config_files"; then
8449
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8450
 
fi
8451
 
 
8452
 
if test -n "$ac_config_headers"; then
8453
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8454
 
fi
8455
 
 
8456
 
if test -n "$ac_config_links"; then
8457
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8458
 
fi
8459
 
 
8460
 
if test -n "$ac_config_commands"; then
8461
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8462
 
fi
8463
 
 
8464
 
cat >>$CONFIG_STATUS <<\EOF
8465
 
 
8466
 
ac_cs_usage="\
8467
 
\`$as_me' instantiates files from templates according to the
8468
 
current configuration.
8469
 
 
8470
 
Usage: $0 [OPTIONS] [FILE]...
8471
 
 
8472
 
  -h, --help       print this help, then exit
8473
 
  -V, --version    print version number, then exit
8474
 
  -d, --debug      don't remove temporary files
8475
 
      --recheck    update $as_me by reconfiguring in the same conditions
8476
 
  --file=FILE[:TEMPLATE]
8477
 
                   instantiate the configuration file FILE
8478
 
 
8479
 
Configuration files:
8480
 
$config_files
8481
 
 
8482
 
Configuration commands:
8483
 
$config_commands
8484
 
 
8485
 
Report bugs to <bug-autoconf@gnu.org>."
8486
 
EOF
8487
 
 
8488
 
cat >>$CONFIG_STATUS <<EOF
8489
 
ac_cs_version="\\
8490
 
config.status
8491
 
configured by $0, generated by GNU Autoconf 2.52,
8492
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8493
 
 
8494
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8495
 
Free Software Foundation, Inc.
8496
 
This config.status script is free software; the Free Software Foundation
8497
 
gives unlimited permission to copy, distribute and modify it."
8498
 
srcdir=$srcdir
8499
 
INSTALL="$INSTALL"
8500
 
EOF
8501
 
 
8502
 
cat >>$CONFIG_STATUS <<\EOF
8503
 
# If no file are specified by the user, then we need to provide default
8504
 
# value.  By we need to know if files were specified by the user.
8505
 
ac_need_defaults=:
8506
 
while test $# != 0
 
6289
# configure, is in ./config.log if it exists.
 
6290
 
 
6291
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
 
6292
for ac_option
8507
6293
do
8508
 
  case $1 in
8509
 
  --*=*)
8510
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8511
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8512
 
    shift
8513
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
8514
 
    shift
8515
 
    ;;
8516
 
  -*);;
8517
 
  *) # This is not an option, so the user has probably given explicit
8518
 
     # arguments.
8519
 
     ac_need_defaults=false;;
8520
 
  esac
8521
 
 
8522
 
  case $1 in
8523
 
  # Handling of the options.
8524
 
EOF
8525
 
cat >>$CONFIG_STATUS <<EOF
 
6294
  case "\$ac_option" in
8526
6295
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8527
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8528
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8529
 
EOF
8530
 
cat >>$CONFIG_STATUS <<\EOF
8531
 
  --version | --vers* | -V )
8532
 
    echo "$ac_cs_version"; exit 0 ;;
8533
 
  --he | --h)
8534
 
    # Conflict between --help and --header
8535
 
    { { echo "$as_me:8535: error: ambiguous option: $1
8536
 
Try \`$0 --help' for more information." >&5
8537
 
echo "$as_me: error: ambiguous option: $1
8538
 
Try \`$0 --help' for more information." >&2;}
8539
 
   { (exit 1); exit 1; }; };;
8540
 
  --help | --hel | -h )
8541
 
    echo "$ac_cs_usage"; exit 0 ;;
8542
 
  --debug | --d* | -d )
8543
 
    debug=: ;;
8544
 
  --file | --fil | --fi | --f )
8545
 
    shift
8546
 
    CONFIG_FILES="$CONFIG_FILES $1"
8547
 
    ac_need_defaults=false;;
8548
 
  --header | --heade | --head | --hea )
8549
 
    shift
8550
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
8551
 
    ac_need_defaults=false;;
8552
 
 
8553
 
  # This is an error.
8554
 
  -*) { { echo "$as_me:8554: error: unrecognized option: $1
8555
 
Try \`$0 --help' for more information." >&5
8556
 
echo "$as_me: error: unrecognized option: $1
8557
 
Try \`$0 --help' for more information." >&2;}
8558
 
   { (exit 1); exit 1; }; } ;;
8559
 
 
8560
 
  *) ac_config_targets="$ac_config_targets $1" ;;
8561
 
 
8562
 
  esac
8563
 
  shift
8564
 
done
8565
 
 
8566
 
exec 5>>config.log
8567
 
cat >&5 << _ACEOF
8568
 
 
8569
 
## ----------------------- ##
8570
 
## Running config.status.  ##
8571
 
## ----------------------- ##
8572
 
 
8573
 
This file was extended by $as_me 2.52, executed with
8574
 
  CONFIG_FILES    = $CONFIG_FILES
8575
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
8576
 
  CONFIG_LINKS    = $CONFIG_LINKS
8577
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8578
 
  > $ac_cs_invocation
8579
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8580
 
 
8581
 
_ACEOF
8582
 
EOF
8583
 
 
8584
 
cat >>$CONFIG_STATUS <<EOF
8585
 
#
8586
 
# INIT-COMMANDS section.
8587
 
#
8588
 
 
8589
 
AMDEP_TRUE="$AMDEP_TRUE"
8590
 
ac_aux_dir="$ac_aux_dir"
8591
 
 
8592
 
EOF
8593
 
 
8594
 
cat >>$CONFIG_STATUS <<\EOF
8595
 
for ac_config_target in $ac_config_targets
8596
 
do
8597
 
  case "$ac_config_target" in
8598
 
  # Handling of arguments.
8599
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8600
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8601
 
  "src/libFLAC/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/Makefile" ;;
8602
 
  "src/libFLAC/ia32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/ia32/Makefile" ;;
8603
 
  "src/libFLAC/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/Makefile" ;;
8604
 
  "src/libFLAC/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/private/Makefile" ;;
8605
 
  "src/libFLAC/include/protected/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/protected/Makefile" ;;
8606
 
  "src/flac/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/flac/Makefile" ;;
8607
 
  "src/metaflac/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/metaflac/Makefile" ;;
8608
 
  "src/plugin_xmms/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugin_xmms/Makefile" ;;
8609
 
  "src/test_streams/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test_streams/Makefile" ;;
8610
 
  "src/test_unit/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test_unit/Makefile" ;;
8611
 
  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
8612
 
  "include/FLAC/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/FLAC/Makefile" ;;
8613
 
  "include/FLAC/ordinals.h" ) CONFIG_FILES="$CONFIG_FILES include/FLAC/ordinals.h" ;;
8614
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8615
 
  "doc/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/images/Makefile" ;;
8616
 
  "doc/ru/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ru/Makefile" ;;
8617
 
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
8618
 
  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
8619
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8620
 
  *) { { echo "$as_me:8620: error: invalid argument: $ac_config_target" >&5
8621
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8622
 
   { (exit 1); exit 1; }; };;
8623
 
  esac
8624
 
done
8625
 
 
8626
 
# If the user did not use the arguments to specify the items to instantiate,
8627
 
# then the envvar interface is used.  Set only those that are not.
8628
 
# We use the long form for the default assignment because of an extremely
8629
 
# bizarre bug on SunOS 4.1.3.
8630
 
if $ac_need_defaults; then
8631
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8632
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8633
 
fi
8634
 
 
8635
 
# Create a temporary directory, and hook for its removal unless debugging.
8636
 
$debug ||
8637
 
{
8638
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8639
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
8640
 
}
8641
 
 
8642
 
# Create a (secure) tmp directory for tmp files.
8643
 
: ${TMPDIR=/tmp}
8644
 
{
8645
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
8646
 
  test -n "$tmp" && test -d "$tmp"
8647
 
}  ||
8648
 
{
8649
 
  tmp=$TMPDIR/cs$$-$RANDOM
8650
 
  (umask 077 && mkdir $tmp)
8651
 
} ||
8652
 
{
8653
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8654
 
   { (exit 1); exit 1; }
8655
 
}
8656
 
 
8657
 
EOF
8658
 
 
8659
 
cat >>$CONFIG_STATUS <<EOF
8660
 
 
8661
 
#
8662
 
# CONFIG_FILES section.
8663
 
#
8664
 
 
8665
 
# No need to generate the scripts if there are no CONFIG_FILES.
8666
 
# This happens for instance when ./config.status config.h
8667
 
if test -n "\$CONFIG_FILES"; then
8668
 
  # Protect against being on the right side of a sed subst in config.status.
8669
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8670
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8671
 
s,@SHELL@,$SHELL,;t t
8672
 
s,@exec_prefix@,$exec_prefix,;t t
8673
 
s,@prefix@,$prefix,;t t
8674
 
s,@program_transform_name@,$program_transform_name,;t t
8675
 
s,@bindir@,$bindir,;t t
8676
 
s,@sbindir@,$sbindir,;t t
8677
 
s,@libexecdir@,$libexecdir,;t t
8678
 
s,@datadir@,$datadir,;t t
8679
 
s,@sysconfdir@,$sysconfdir,;t t
8680
 
s,@sharedstatedir@,$sharedstatedir,;t t
8681
 
s,@localstatedir@,$localstatedir,;t t
8682
 
s,@libdir@,$libdir,;t t
8683
 
s,@includedir@,$includedir,;t t
8684
 
s,@oldincludedir@,$oldincludedir,;t t
8685
 
s,@infodir@,$infodir,;t t
8686
 
s,@mandir@,$mandir,;t t
8687
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8688
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8689
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8690
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8691
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8692
 
s,@build_alias@,$build_alias,;t t
8693
 
s,@host_alias@,$host_alias,;t t
8694
 
s,@target_alias@,$target_alias,;t t
8695
 
s,@ECHO_C@,$ECHO_C,;t t
8696
 
s,@ECHO_N@,$ECHO_N,;t t
8697
 
s,@ECHO_T@,$ECHO_T,;t t
8698
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8699
 
s,@DEFS@,$DEFS,;t t
8700
 
s,@LIBS@,$LIBS,;t t
8701
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8702
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8703
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8704
 
s,@PACKAGE@,$PACKAGE,;t t
8705
 
s,@VERSION@,$VERSION,;t t
8706
 
s,@EXEEXT@,$EXEEXT,;t t
8707
 
s,@OBJEXT@,$OBJEXT,;t t
8708
 
s,@ACLOCAL@,$ACLOCAL,;t t
8709
 
s,@AUTOCONF@,$AUTOCONF,;t t
8710
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
8711
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
8712
 
s,@MAKEINFO@,$MAKEINFO,;t t
8713
 
s,@AMTAR@,$AMTAR,;t t
8714
 
s,@install_sh@,$install_sh,;t t
8715
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8716
 
s,@AWK@,$AWK,;t t
8717
 
s,@SET_MAKE@,$SET_MAKE,;t t
8718
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8719
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8720
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8721
 
s,@DEPDIR@,$DEPDIR,;t t
8722
 
s,@build@,$build,;t t
8723
 
s,@build_cpu@,$build_cpu,;t t
8724
 
s,@build_vendor@,$build_vendor,;t t
8725
 
s,@build_os@,$build_os,;t t
8726
 
s,@host@,$host,;t t
8727
 
s,@host_cpu@,$host_cpu,;t t
8728
 
s,@host_vendor@,$host_vendor,;t t
8729
 
s,@host_os@,$host_os,;t t
8730
 
s,@CC@,$CC,;t t
8731
 
s,@CFLAGS@,$CFLAGS,;t t
8732
 
s,@LDFLAGS@,$LDFLAGS,;t t
8733
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
8734
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
8735
 
s,@am__include@,$am__include,;t t
8736
 
s,@am__quote@,$am__quote,;t t
8737
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
8738
 
s,@LN_S@,$LN_S,;t t
8739
 
s,@ECHO@,$ECHO,;t t
8740
 
s,@RANLIB@,$RANLIB,;t t
8741
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8742
 
s,@STRIP@,$STRIP,;t t
8743
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8744
 
s,@CPP@,$CPP,;t t
8745
 
s,@LIBTOOL@,$LIBTOOL,;t t
8746
 
s,@FLaC__CPU_IA32_TRUE@,$FLaC__CPU_IA32_TRUE,;t t
8747
 
s,@FLaC__CPU_IA32_FALSE@,$FLaC__CPU_IA32_FALSE,;t t
8748
 
s,@FLaC__CPU_PPC_TRUE@,$FLaC__CPU_PPC_TRUE,;t t
8749
 
s,@FLaC__CPU_PPC_FALSE@,$FLaC__CPU_PPC_FALSE,;t t
8750
 
s,@FLaC__CPU_SPARC_TRUE@,$FLaC__CPU_SPARC_TRUE,;t t
8751
 
s,@FLaC__CPU_SPARC_FALSE@,$FLaC__CPU_SPARC_FALSE,;t t
8752
 
s,@OBJ_FORMAT@,$OBJ_FORMAT,;t t
8753
 
s,@FLaC__NO_ASM_TRUE@,$FLaC__NO_ASM_TRUE,;t t
8754
 
s,@FLaC__NO_ASM_FALSE@,$FLaC__NO_ASM_FALSE,;t t
8755
 
s,@DEBUG_TRUE@,$DEBUG_TRUE,;t t
8756
 
s,@DEBUG_FALSE@,$DEBUG_FALSE,;t t
8757
 
s,@FLaC__SSE_OS_TRUE@,$FLaC__SSE_OS_TRUE,;t t
8758
 
s,@FLaC__SSE_OS_FALSE@,$FLaC__SSE_OS_FALSE,;t t
8759
 
s,@FLaC__USE_3DNOW_TRUE@,$FLaC__USE_3DNOW_TRUE,;t t
8760
 
s,@FLaC__USE_3DNOW_FALSE@,$FLaC__USE_3DNOW_FALSE,;t t
8761
 
s,@FLaC__HAS_OGG_TRUE@,$FLaC__HAS_OGG_TRUE,;t t
8762
 
s,@FLaC__HAS_OGG_FALSE@,$FLaC__HAS_OGG_FALSE,;t t
8763
 
s,@XMMS_CONFIG@,$XMMS_CONFIG,;t t
8764
 
s,@XMMS_CFLAGS@,$XMMS_CFLAGS,;t t
8765
 
s,@XMMS_LIBS@,$XMMS_LIBS,;t t
8766
 
s,@XMMS_VERSION@,$XMMS_VERSION,;t t
8767
 
s,@XMMS_DATA_DIR@,$XMMS_DATA_DIR,;t t
8768
 
s,@XMMS_PLUGIN_DIR@,$XMMS_PLUGIN_DIR,;t t
8769
 
s,@XMMS_VISUALIZATION_PLUGIN_DIR@,$XMMS_VISUALIZATION_PLUGIN_DIR,;t t
8770
 
s,@XMMS_INPUT_PLUGIN_DIR@,$XMMS_INPUT_PLUGIN_DIR,;t t
8771
 
s,@XMMS_OUTPUT_PLUGIN_DIR@,$XMMS_OUTPUT_PLUGIN_DIR,;t t
8772
 
s,@XMMS_GENERAL_PLUGIN_DIR@,$XMMS_GENERAL_PLUGIN_DIR,;t t
8773
 
s,@XMMS_EFFECT_PLUGIN_DIR@,$XMMS_EFFECT_PLUGIN_DIR,;t t
8774
 
s,@FLaC__HAS_XMMS_TRUE@,$FLaC__HAS_XMMS_TRUE,;t t
8775
 
s,@FLaC__HAS_XMMS_FALSE@,$FLaC__HAS_XMMS_FALSE,;t t
8776
 
s,@NASM@,$NASM,;t t
8777
 
s,@FLaC__HAS_NASM_TRUE@,$FLaC__HAS_NASM_TRUE,;t t
8778
 
s,@FLaC__HAS_NASM_FALSE@,$FLaC__HAS_NASM_FALSE,;t t
8779
 
s,@FLaC__SIZE16@,$FLaC__SIZE16,;t t
8780
 
s,@FLaC__USIZE16@,$FLaC__USIZE16,;t t
8781
 
s,@FLaC__SIZE32@,$FLaC__SIZE32,;t t
8782
 
s,@FLaC__USIZE32@,$FLaC__USIZE32,;t t
8783
 
s,@FLaC__SIZE64@,$FLaC__SIZE64,;t t
8784
 
s,@FLaC__USIZE64@,$FLaC__USIZE64,;t t
 
6296
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
 
6297
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
 
6298
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
 
6299
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
 
6300
    exit 0 ;;
 
6301
  -help | --help | --hel | --he | --h)
 
6302
    echo "\$ac_cs_usage"; exit 0 ;;
 
6303
  *) echo "\$ac_cs_usage"; exit 1 ;;
 
6304
  esac
 
6305
done
 
6306
 
 
6307
ac_given_srcdir=$srcdir
 
6308
ac_given_INSTALL="$INSTALL"
 
6309
 
 
6310
trap 'rm -fr `echo "Makefile    \
 
6311
        src/Makefile    \
 
6312
        src/libFLAC/Makefile    \
 
6313
        src/libFLAC/ia32/Makefile       \
 
6314
        src/libFLAC/include/Makefile    \
 
6315
        src/libFLAC/include/private/Makefile    \
 
6316
        src/libFLAC/include/protected/Makefile  \
 
6317
        src/flac/Makefile       \
 
6318
        src/metaflac/Makefile   \
 
6319
        src/plugin_xmms/Makefile        \
 
6320
        src/test_streams/Makefile       \
 
6321
        src/test_unit/Makefile  \
 
6322
        include/Makefile \
 
6323
        include/FLAC/Makefile \
 
6324
        include/FLAC/ordinals.h \
 
6325
        doc/Makefile \
 
6326
        doc/images/Makefile \
 
6327
        doc/ru/Makefile \
 
6328
        man/Makefile \
 
6329
        test/Makefile   \
 
6330
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 
6331
EOF
 
6332
cat >> $CONFIG_STATUS <<EOF
 
6333
 
 
6334
# Protect against being on the right side of a sed subst in config.status.
 
6335
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
 
6336
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
 
6337
$ac_vpsub
 
6338
$extrasub
 
6339
s%@SHELL@%$SHELL%g
 
6340
s%@CFLAGS@%$CFLAGS%g
 
6341
s%@CPPFLAGS@%$CPPFLAGS%g
 
6342
s%@CXXFLAGS@%$CXXFLAGS%g
 
6343
s%@FFLAGS@%$FFLAGS%g
 
6344
s%@DEFS@%$DEFS%g
 
6345
s%@LDFLAGS@%$LDFLAGS%g
 
6346
s%@LIBS@%$LIBS%g
 
6347
s%@exec_prefix@%$exec_prefix%g
 
6348
s%@prefix@%$prefix%g
 
6349
s%@program_transform_name@%$program_transform_name%g
 
6350
s%@bindir@%$bindir%g
 
6351
s%@sbindir@%$sbindir%g
 
6352
s%@libexecdir@%$libexecdir%g
 
6353
s%@datadir@%$datadir%g
 
6354
s%@sysconfdir@%$sysconfdir%g
 
6355
s%@sharedstatedir@%$sharedstatedir%g
 
6356
s%@localstatedir@%$localstatedir%g
 
6357
s%@libdir@%$libdir%g
 
6358
s%@includedir@%$includedir%g
 
6359
s%@oldincludedir@%$oldincludedir%g
 
6360
s%@infodir@%$infodir%g
 
6361
s%@mandir@%$mandir%g
 
6362
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 
6363
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
 
6364
s%@INSTALL_DATA@%$INSTALL_DATA%g
 
6365
s%@PACKAGE@%$PACKAGE%g
 
6366
s%@VERSION@%$VERSION%g
 
6367
s%@EXEEXT@%$EXEEXT%g
 
6368
s%@OBJEXT@%$OBJEXT%g
 
6369
s%@ACLOCAL@%$ACLOCAL%g
 
6370
s%@AUTOCONF@%$AUTOCONF%g
 
6371
s%@AUTOMAKE@%$AUTOMAKE%g
 
6372
s%@AUTOHEADER@%$AUTOHEADER%g
 
6373
s%@MAKEINFO@%$MAKEINFO%g
 
6374
s%@AMTAR@%$AMTAR%g
 
6375
s%@install_sh@%$install_sh%g
 
6376
s%@INSTALL_STRIP_PROGRAM@%$INSTALL_STRIP_PROGRAM%g
 
6377
s%@AWK@%$AWK%g
 
6378
s%@SET_MAKE@%$SET_MAKE%g
 
6379
s%@AMDEP_TRUE@%$AMDEP_TRUE%g
 
6380
s%@AMDEP_FALSE@%$AMDEP_FALSE%g
 
6381
s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%g
 
6382
s%@DEPDIR@%$DEPDIR%g
 
6383
s%@host@%$host%g
 
6384
s%@host_alias@%$host_alias%g
 
6385
s%@host_cpu@%$host_cpu%g
 
6386
s%@host_vendor@%$host_vendor%g
 
6387
s%@host_os@%$host_os%g
 
6388
s%@build@%$build%g
 
6389
s%@build_alias@%$build_alias%g
 
6390
s%@build_cpu@%$build_cpu%g
 
6391
s%@build_vendor@%$build_vendor%g
 
6392
s%@build_os@%$build_os%g
 
6393
s%@CC@%$CC%g
 
6394
s%@am__include@%$am__include%g
 
6395
s%@am__quote@%$am__quote%g
 
6396
s%@CCDEPMODE@%$CCDEPMODE%g
 
6397
s%@LN_S@%$LN_S%g
 
6398
s%@ECHO@%$ECHO%g
 
6399
s%@RANLIB@%$RANLIB%g
 
6400
s%@STRIP@%$STRIP%g
 
6401
s%@CPP@%$CPP%g
 
6402
s%@LIBTOOL@%$LIBTOOL%g
 
6403
s%@FLaC__CPU_IA32_TRUE@%$FLaC__CPU_IA32_TRUE%g
 
6404
s%@FLaC__CPU_IA32_FALSE@%$FLaC__CPU_IA32_FALSE%g
 
6405
s%@FLaC__CPU_PPC_TRUE@%$FLaC__CPU_PPC_TRUE%g
 
6406
s%@FLaC__CPU_PPC_FALSE@%$FLaC__CPU_PPC_FALSE%g
 
6407
s%@FLaC__CPU_SPARC_TRUE@%$FLaC__CPU_SPARC_TRUE%g
 
6408
s%@FLaC__CPU_SPARC_FALSE@%$FLaC__CPU_SPARC_FALSE%g
 
6409
s%@OBJ_FORMAT@%$OBJ_FORMAT%g
 
6410
s%@FLaC__NO_ASM_TRUE@%$FLaC__NO_ASM_TRUE%g
 
6411
s%@FLaC__NO_ASM_FALSE@%$FLaC__NO_ASM_FALSE%g
 
6412
s%@DEBUG_TRUE@%$DEBUG_TRUE%g
 
6413
s%@DEBUG_FALSE@%$DEBUG_FALSE%g
 
6414
s%@FLaC__SSE_OS_TRUE@%$FLaC__SSE_OS_TRUE%g
 
6415
s%@FLaC__SSE_OS_FALSE@%$FLaC__SSE_OS_FALSE%g
 
6416
s%@FLaC__USE_3DNOW_TRUE@%$FLaC__USE_3DNOW_TRUE%g
 
6417
s%@FLaC__USE_3DNOW_FALSE@%$FLaC__USE_3DNOW_FALSE%g
 
6418
s%@FLaC__HAS_OGG_TRUE@%$FLaC__HAS_OGG_TRUE%g
 
6419
s%@FLaC__HAS_OGG_FALSE@%$FLaC__HAS_OGG_FALSE%g
 
6420
s%@XMMS_CONFIG@%$XMMS_CONFIG%g
 
6421
s%@XMMS_CFLAGS@%$XMMS_CFLAGS%g
 
6422
s%@XMMS_LIBS@%$XMMS_LIBS%g
 
6423
s%@XMMS_VERSION@%$XMMS_VERSION%g
 
6424
s%@XMMS_DATA_DIR@%$XMMS_DATA_DIR%g
 
6425
s%@XMMS_PLUGIN_DIR@%$XMMS_PLUGIN_DIR%g
 
6426
s%@XMMS_VISUALIZATION_PLUGIN_DIR@%$XMMS_VISUALIZATION_PLUGIN_DIR%g
 
6427
s%@XMMS_INPUT_PLUGIN_DIR@%$XMMS_INPUT_PLUGIN_DIR%g
 
6428
s%@XMMS_OUTPUT_PLUGIN_DIR@%$XMMS_OUTPUT_PLUGIN_DIR%g
 
6429
s%@XMMS_GENERAL_PLUGIN_DIR@%$XMMS_GENERAL_PLUGIN_DIR%g
 
6430
s%@XMMS_EFFECT_PLUGIN_DIR@%$XMMS_EFFECT_PLUGIN_DIR%g
 
6431
s%@FLaC__HAS_XMMS_TRUE@%$FLaC__HAS_XMMS_TRUE%g
 
6432
s%@FLaC__HAS_XMMS_FALSE@%$FLaC__HAS_XMMS_FALSE%g
 
6433
s%@NASM@%$NASM%g
 
6434
s%@FLaC__HAS_NASM_TRUE@%$FLaC__HAS_NASM_TRUE%g
 
6435
s%@FLaC__HAS_NASM_FALSE@%$FLaC__HAS_NASM_FALSE%g
 
6436
s%@FLaC__SIZE16@%$FLaC__SIZE16%g
 
6437
s%@FLaC__USIZE16@%$FLaC__USIZE16%g
 
6438
s%@FLaC__SIZE32@%$FLaC__SIZE32%g
 
6439
s%@FLaC__USIZE32@%$FLaC__USIZE32%g
 
6440
s%@FLaC__SIZE64@%$FLaC__SIZE64%g
 
6441
s%@FLaC__USIZE64@%$FLaC__USIZE64%g
 
6442
 
8785
6443
CEOF
8786
 
 
8787
 
EOF
8788
 
 
8789
 
  cat >>$CONFIG_STATUS <<\EOF
8790
 
  # Split the substitutions into bite-sized pieces for seds with
8791
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
8792
 
  ac_max_sed_lines=48
8793
 
  ac_sed_frag=1 # Number of current file.
8794
 
  ac_beg=1 # First line for current file.
8795
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
8796
 
  ac_more_lines=:
8797
 
  ac_sed_cmds=
8798
 
  while $ac_more_lines; do
8799
 
    if test $ac_beg -gt 1; then
8800
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8801
 
    else
8802
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8803
 
    fi
8804
 
    if test ! -s $tmp/subs.frag; then
8805
 
      ac_more_lines=false
8806
 
    else
8807
 
      # The purpose of the label and of the branching condition is to
8808
 
      # speed up the sed processing (if there are no `@' at all, there
8809
 
      # is no need to browse any of the substitutions).
8810
 
      # These are the two extra sed commands mentioned above.
8811
 
      (echo ':t
8812
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8813
 
      if test -z "$ac_sed_cmds"; then
8814
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8815
 
      else
8816
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8817
 
      fi
8818
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
8819
 
      ac_beg=$ac_end
8820
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
8821
 
    fi
8822
 
  done
8823
 
  if test -z "$ac_sed_cmds"; then
8824
 
    ac_sed_cmds=cat
8825
 
  fi
8826
 
fi # test -n "$CONFIG_FILES"
8827
 
 
8828
 
EOF
8829
 
cat >>$CONFIG_STATUS <<\EOF
8830
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
6444
EOF
 
6445
 
 
6446
cat >> $CONFIG_STATUS <<\EOF
 
6447
 
 
6448
# Split the substitutions into bite-sized pieces for seds with
 
6449
# small command number limits, like on Digital OSF/1 and HP-UX.
 
6450
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
 
6451
ac_file=1 # Number of current file.
 
6452
ac_beg=1 # First line for current file.
 
6453
ac_end=$ac_max_sed_cmds # Line after last line for current file.
 
6454
ac_more_lines=:
 
6455
ac_sed_cmds=""
 
6456
while $ac_more_lines; do
 
6457
  if test $ac_beg -gt 1; then
 
6458
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
 
6459
  else
 
6460
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
 
6461
  fi
 
6462
  if test ! -s conftest.s$ac_file; then
 
6463
    ac_more_lines=false
 
6464
    rm -f conftest.s$ac_file
 
6465
  else
 
6466
    if test -z "$ac_sed_cmds"; then
 
6467
      ac_sed_cmds="sed -f conftest.s$ac_file"
 
6468
    else
 
6469
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
 
6470
    fi
 
6471
    ac_file=`expr $ac_file + 1`
 
6472
    ac_beg=$ac_end
 
6473
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
 
6474
  fi
 
6475
done
 
6476
if test -z "$ac_sed_cmds"; then
 
6477
  ac_sed_cmds=cat
 
6478
fi
 
6479
EOF
 
6480
 
 
6481
cat >> $CONFIG_STATUS <<EOF
 
6482
 
 
6483
CONFIG_FILES=\${CONFIG_FILES-"Makefile  \
 
6484
        src/Makefile    \
 
6485
        src/libFLAC/Makefile    \
 
6486
        src/libFLAC/ia32/Makefile       \
 
6487
        src/libFLAC/include/Makefile    \
 
6488
        src/libFLAC/include/private/Makefile    \
 
6489
        src/libFLAC/include/protected/Makefile  \
 
6490
        src/flac/Makefile       \
 
6491
        src/metaflac/Makefile   \
 
6492
        src/plugin_xmms/Makefile        \
 
6493
        src/test_streams/Makefile       \
 
6494
        src/test_unit/Makefile  \
 
6495
        include/Makefile \
 
6496
        include/FLAC/Makefile \
 
6497
        include/FLAC/ordinals.h \
 
6498
        doc/Makefile \
 
6499
        doc/images/Makefile \
 
6500
        doc/ru/Makefile \
 
6501
        man/Makefile \
 
6502
        test/Makefile   \
 
6503
"}
 
6504
EOF
 
6505
cat >> $CONFIG_STATUS <<\EOF
 
6506
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
8831
6507
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8832
 
  case $ac_file in
8833
 
  - | *:- | *:-:* ) # input from stdin
8834
 
        cat >$tmp/stdin
8835
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8836
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8837
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8838
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8839
 
  * )   ac_file_in=$ac_file.in ;;
 
6508
  case "$ac_file" in
 
6509
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
 
6510
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
6511
  *) ac_file_in="${ac_file}.in" ;;
8840
6512
  esac
8841
6513
 
8842
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8843
 
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8844
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
8845
 
         X"$ac_file" : 'X\(//\)$' \| \
8846
 
         X"$ac_file" : 'X\(/\)' \| \
8847
 
         .     : '\(.\)' 2>/dev/null ||
8848
 
echo X"$ac_file" |
8849
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8850
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8851
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8852
 
          /^X\(\/\).*/{ s//\1/; q; }
8853
 
          s/.*/./; q'`
 
6514
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
 
6515
 
 
6516
  # Remove last slash and all that follows it.  Not all systems have dirname.
 
6517
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8854
6518
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8855
 
    { case "$ac_dir" in
8856
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
8857
 
  *)                      as_incr_dir=.;;
8858
 
esac
8859
 
as_dummy="$ac_dir"
8860
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8861
 
  case $as_mkdir_dir in
8862
 
    # Skip DOS drivespec
8863
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
8864
 
    *)
8865
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
8866
 
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
8867
 
    ;;
8868
 
  esac
8869
 
done; }
8870
 
 
8871
 
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
 
6519
    # The file is in a subdirectory.
 
6520
    test ! -d "$ac_dir" && mkdir "$ac_dir"
 
6521
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
8872
6522
    # A "../" for each directory in $ac_dir_suffix.
8873
 
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
 
6523
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
8874
6524
  else
8875
6525
    ac_dir_suffix= ac_dots=
8876
6526
  fi
8877
6527
 
8878
 
  case $srcdir in
8879
 
  .)  ac_srcdir=.
8880
 
      if test -z "$ac_dots"; then
8881
 
         ac_top_srcdir=.
8882
 
      else
8883
 
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
8884
 
      fi ;;
8885
 
  [\\/]* | ?:[\\/]* )
8886
 
      ac_srcdir=$srcdir$ac_dir_suffix;
8887
 
      ac_top_srcdir=$srcdir ;;
 
6528
  case "$ac_given_srcdir" in
 
6529
  .)  srcdir=.
 
6530
      if test -z "$ac_dots"; then top_srcdir=.
 
6531
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
 
6532
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
8888
6533
  *) # Relative path.
8889
 
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
8890
 
    ac_top_srcdir=$ac_dots$srcdir ;;
8891
 
  esac
8892
 
 
8893
 
  case $INSTALL in
8894
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8895
 
  *) ac_INSTALL=$ac_dots$INSTALL ;;
8896
 
  esac
8897
 
 
8898
 
  if test x"$ac_file" != x-; then
8899
 
    { echo "$as_me:8899: creating $ac_file" >&5
8900
 
echo "$as_me: creating $ac_file" >&6;}
8901
 
    rm -f "$ac_file"
8902
 
  fi
8903
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
8904
 
  # use $as_me), people would be surprised to read:
8905
 
  #    /* config.h.  Generated automatically by config.status.  */
8906
 
  configure_input="Generated automatically from `echo $ac_file_in |
8907
 
                                                 sed 's,.*/,,'` by configure."
8908
 
 
8909
 
  # First look for the input files in the build tree, otherwise in the
8910
 
  # src tree.
8911
 
  ac_file_inputs=`IFS=:
8912
 
    for f in $ac_file_in; do
8913
 
      case $f in
8914
 
      -) echo $tmp/stdin ;;
8915
 
      [\\/$]*)
8916
 
         # Absolute (can't be DOS-style, as IFS=:)
8917
 
         test -f "$f" || { { echo "$as_me:8917: error: cannot find input file: $f" >&5
8918
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8919
 
   { (exit 1); exit 1; }; }
8920
 
         echo $f;;
8921
 
      *) # Relative
8922
 
         if test -f "$f"; then
8923
 
           # Build tree
8924
 
           echo $f
8925
 
         elif test -f "$srcdir/$f"; then
8926
 
           # Source tree
8927
 
           echo $srcdir/$f
8928
 
         else
8929
 
           # /dev/null tree
8930
 
           { { echo "$as_me:8930: error: cannot find input file: $f" >&5
8931
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8932
 
   { (exit 1); exit 1; }; }
8933
 
         fi;;
8934
 
      esac
8935
 
    done` || { (exit 1); exit 1; }
8936
 
EOF
8937
 
cat >>$CONFIG_STATUS <<EOF
8938
 
  sed "$ac_vpsub
8939
 
$extrasub
8940
 
EOF
8941
 
cat >>$CONFIG_STATUS <<\EOF
8942
 
:t
8943
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8944
 
s,@configure_input@,$configure_input,;t t
8945
 
s,@srcdir@,$ac_srcdir,;t t
8946
 
s,@top_srcdir@,$ac_top_srcdir,;t t
8947
 
s,@INSTALL@,$ac_INSTALL,;t t
8948
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8949
 
  rm -f $tmp/stdin
8950
 
  if test x"$ac_file" != x-; then
8951
 
    mv $tmp/out $ac_file
8952
 
  else
8953
 
    cat $tmp/out
8954
 
    rm -f $tmp/out
8955
 
  fi
8956
 
 
8957
 
done
8958
 
EOF
8959
 
cat >>$CONFIG_STATUS <<\EOF
8960
 
 
8961
 
#
8962
 
# CONFIG_COMMANDS section.
8963
 
#
8964
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8965
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8966
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8967
 
 
8968
 
  case $ac_dest in
8969
 
    default-1 )
 
6534
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
 
6535
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
6536
  esac
 
6537
 
 
6538
  case "$ac_given_INSTALL" in
 
6539
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
 
6540
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
 
6541
  esac
 
6542
 
 
6543
  echo creating "$ac_file"
 
6544
  rm -f "$ac_file"
 
6545
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
 
6546
  case "$ac_file" in
 
6547
  *Makefile*) ac_comsub="1i\\
 
6548
# $configure_input" ;;
 
6549
  *) ac_comsub= ;;
 
6550
  esac
 
6551
 
 
6552
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
 
6553
  sed -e "$ac_comsub
 
6554
s%@configure_input@%$configure_input%g
 
6555
s%@srcdir@%$srcdir%g
 
6556
s%@top_srcdir@%$top_srcdir%g
 
6557
s%@INSTALL@%$INSTALL%g
 
6558
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
 
6559
fi; done
 
6560
rm -f conftest.s*
 
6561
 
 
6562
EOF
 
6563
cat >> $CONFIG_STATUS <<EOF
 
6564
AMDEP_TRUE="$AMDEP_TRUE"
 
6565
ac_aux_dir="$ac_aux_dir"
 
6566
 
 
6567
EOF
 
6568
cat >> $CONFIG_STATUS <<\EOF
 
6569
 
8970
6570
test x"$AMDEP_TRUE" != x"" ||
8971
6571
for mf in $CONFIG_FILES; do
8972
6572
  case "$mf" in
9004
6604
    echo '# dummy' > "$dirpart/$file"
9005
6605
  done
9006
6606
done
9007
 
 ;;
9008
 
  esac
9009
 
done
9010
 
EOF
9011
 
 
9012
 
cat >>$CONFIG_STATUS <<\EOF
9013
 
 
9014
 
{ (exit 0); exit 0; }
 
6607
 
 
6608
 
 
6609
exit 0
9015
6610
EOF
9016
6611
chmod +x $CONFIG_STATUS
9017
 
ac_clean_files=$ac_clean_files_save
9018
 
 
9019
 
# configure is writing to config.log, and then calls config.status.
9020
 
# config.status does its own redirection, appending to config.log.
9021
 
# Unfortunately, on DOS this fails, as config.log is still kept open
9022
 
# by configure, so config.status won't be able to write to it; its
9023
 
# output is simply discarded.  So we exec the FD to /dev/null,
9024
 
# effectively closing config.log, so it can be properly (re)opened and
9025
 
# appended to by config.status.  When coming back to configure, we
9026
 
# need to make the FD available again.
9027
 
if test "$no_create" != yes; then
9028
 
  ac_cs_success=:
9029
 
  exec 5>/dev/null
9030
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
9031
 
  exec 5>>config.log
9032
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9033
 
  # would make configure fail if this is the last instruction.
9034
 
  $ac_cs_success || { (exit 1); exit 1; }
9035
 
fi
 
6612
rm -fr confdefs* $ac_clean_files
 
6613
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
9036
6614