~ubuntu-branches/ubuntu/edgy/bookmarkbridge/edgy

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