trinidad_init_services 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. data/.gitignore +5 -0
  2. data/Gemfile +3 -0
  3. data/History.txt +6 -0
  4. data/README.md +95 -0
  5. data/Rakefile +9 -58
  6. data/bin/trinidad_init_service +3 -4
  7. data/init.d/trinidad.erb +33 -12
  8. data/jsvc-unix-src/CHANGES.txt +62 -0
  9. data/jsvc-unix-src/INSTALL.txt +81 -0
  10. data/jsvc-unix-src/Makedefs.in +32 -0
  11. data/jsvc-unix-src/Makefile.in +42 -0
  12. data/jsvc-unix-src/configure +4417 -0
  13. data/jsvc-unix-src/configure.in +141 -0
  14. data/jsvc-unix-src/man/README +20 -0
  15. data/jsvc-unix-src/man/fetch.sh +36 -0
  16. data/jsvc-unix-src/man/jsvc.1.xml +214 -0
  17. data/jsvc-unix-src/native/.indent.pro +7 -0
  18. data/jsvc-unix-src/native/Makefile.in +46 -0
  19. data/jsvc-unix-src/native/arguments.c +476 -0
  20. data/jsvc-unix-src/native/arguments.h +94 -0
  21. data/jsvc-unix-src/native/debug.c +87 -0
  22. data/jsvc-unix-src/native/debug.h +65 -0
  23. data/jsvc-unix-src/native/dso-dlfcn.c +62 -0
  24. data/jsvc-unix-src/native/dso-dyld.c +153 -0
  25. data/jsvc-unix-src/native/dso.h +38 -0
  26. data/jsvc-unix-src/native/help.c +106 -0
  27. data/jsvc-unix-src/native/help.h +24 -0
  28. data/jsvc-unix-src/native/home.c +265 -0
  29. data/jsvc-unix-src/native/home.h +47 -0
  30. data/jsvc-unix-src/native/java.c +608 -0
  31. data/jsvc-unix-src/native/java.h +35 -0
  32. data/jsvc-unix-src/native/jsvc-unix.c +1267 -0
  33. data/jsvc-unix-src/native/jsvc.h +55 -0
  34. data/jsvc-unix-src/native/location.c +151 -0
  35. data/jsvc-unix-src/native/location.h +29 -0
  36. data/jsvc-unix-src/native/locks.c +52 -0
  37. data/jsvc-unix-src/native/locks.h +40 -0
  38. data/jsvc-unix-src/native/replace.c +121 -0
  39. data/jsvc-unix-src/native/replace.h +39 -0
  40. data/jsvc-unix-src/native/signals.c +105 -0
  41. data/jsvc-unix-src/native/signals.h +34 -0
  42. data/jsvc-unix-src/native/version.h +63 -0
  43. data/jsvc-unix-src/support/apfunctions.m4 +110 -0
  44. data/jsvc-unix-src/support/apjava.m4 +94 -0
  45. data/jsvc-unix-src/support/apsupport.m4 +155 -0
  46. data/jsvc-unix-src/support/buildconf.sh +33 -0
  47. data/jsvc-unix-src/support/config.guess +1371 -0
  48. data/jsvc-unix-src/support/config.sub +1760 -0
  49. data/jsvc-unix-src/support/install.sh +128 -0
  50. data/jsvc-unix-src/support/mkdist.sh +104 -0
  51. data/lib/trinidad/daemon.rb +31 -0
  52. data/lib/trinidad_init_services.rb +2 -30
  53. data/lib/trinidad_init_services/configuration.rb +91 -14
  54. data/lib/trinidad_init_services/version.rb +5 -0
  55. data/spec/spec_helper.rb +5 -6
  56. data/spec/trinidad_daemon_spec.rb +0 -1
  57. data/spec/trinidad_init_services/configuration_spec.rb +34 -1
  58. data/trinidad_init_services.gemspec +14 -51
  59. metadata +146 -87
  60. data/README +0 -63
  61. data/trinidad-libs/jsvc_linux +0 -0
@@ -0,0 +1,42 @@
1
+ #
2
+ # Licensed to the Apache Software Foundation (ASF) under one or more
3
+ # contributor license agreements. See the NOTICE file distributed with
4
+ # this work for additional information regarding copyright ownership.
5
+ # The ASF licenses this file to You under the Apache License, Version 2.0
6
+ # (the "License"); you may not use this file except in compliance with
7
+ # the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ # @author Pier Fumagalli <mailto:pier.fumagalli@eng.sun.com>
19
+ # @version $Id: Makefile.in 1003756 2010-10-02 08:59:48Z mturk $
20
+
21
+ SUBDIRS = native
22
+
23
+ all: native/all
24
+
25
+ native/all:
26
+ (cd native; $(MAKE) all)
27
+
28
+ clean:
29
+ (cd native; $(MAKE) clean)
30
+
31
+ distclean: clean
32
+ rm -f config.cache
33
+ rm -f config.log
34
+ rm -f config.status
35
+ rm -f config.nice
36
+ rm -f native/Makefile
37
+ rm -f Makefile
38
+ rm -f Makedefs
39
+ rm -rf autom4te.cache
40
+
41
+ realclean: distclean
42
+ rm -f configure
@@ -0,0 +1,4417 @@
1
+ #! /bin/sh
2
+ # Guess values for system-dependent variables and create Makefiles.
3
+ # Generated by GNU Autoconf 2.59.
4
+ #
5
+ # Copyright (C) 2003 Free Software Foundation, Inc.
6
+ # This configure script is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy, distribute and modify it.
8
+ ## --------------------- ##
9
+ ## M4sh Initialization. ##
10
+ ## --------------------- ##
11
+
12
+ # Be Bourne compatible
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
22
+ DUALCASE=1; export DUALCASE # for MKS sh
23
+
24
+ # Support unset when possible.
25
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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
44
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
+ eval $as_var=C; export $as_var
46
+ else
47
+ $as_unset $as_var
48
+ fi
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
221
+ test -d ./-p && rmdir ./-p
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.
228
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
+
230
+ # Sed expression to map a string onto a valid variable name.
231
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
+
233
+
234
+ # IFS
235
+ # We need space, tab and new line, in precisely that order.
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
+ ac_unique_file="configure.in"
275
+ # Factoring default headers for most tests.
276
+ ac_includes_default="\
277
+ #include <stdio.h>
278
+ #if HAVE_SYS_TYPES_H
279
+ # include <sys/types.h>
280
+ #endif
281
+ #if HAVE_SYS_STAT_H
282
+ # include <sys/stat.h>
283
+ #endif
284
+ #if STDC_HEADERS
285
+ # include <stdlib.h>
286
+ # include <stddef.h>
287
+ #else
288
+ # if HAVE_STDLIB_H
289
+ # include <stdlib.h>
290
+ # endif
291
+ #endif
292
+ #if HAVE_STRING_H
293
+ # if !STDC_HEADERS && HAVE_MEMORY_H
294
+ # include <memory.h>
295
+ # endif
296
+ # include <string.h>
297
+ #endif
298
+ #if HAVE_STRINGS_H
299
+ # include <strings.h>
300
+ #endif
301
+ #if HAVE_INTTYPES_H
302
+ # include <inttypes.h>
303
+ #else
304
+ # if HAVE_STDINT_H
305
+ # include <stdint.h>
306
+ # endif
307
+ #endif
308
+ #if HAVE_UNISTD_H
309
+ # include <unistd.h>
310
+ #endif"
311
+
312
+ 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP JAVA_HOME LDCMD CPP EGREP INCLUDES LIBOBJS LTLIBOBJS'
313
+ ac_subst_files=''
314
+
315
+ # Initialize some variables set by options.
316
+ ac_init_help=
317
+ ac_init_version=false
318
+ # The variables have the same names as the options, with
319
+ # dashes changed to underlines.
320
+ cache_file=/dev/null
321
+ exec_prefix=NONE
322
+ no_create=
323
+ no_recursion=
324
+ prefix=NONE
325
+ program_prefix=NONE
326
+ program_suffix=NONE
327
+ program_transform_name=s,x,x,
328
+ silent=
329
+ site=
330
+ srcdir=
331
+ verbose=
332
+ x_includes=NONE
333
+ x_libraries=NONE
334
+
335
+ # Installation directory options.
336
+ # These are left unexpanded so users can "make install exec_prefix=/foo"
337
+ # and all the variables that are supposed to be based on exec_prefix
338
+ # by default will actually change.
339
+ # Use braces instead of parens because sh, perl, etc. also accept them.
340
+ bindir='${exec_prefix}/bin'
341
+ sbindir='${exec_prefix}/sbin'
342
+ libexecdir='${exec_prefix}/libexec'
343
+ datadir='${prefix}/share'
344
+ sysconfdir='${prefix}/etc'
345
+ sharedstatedir='${prefix}/com'
346
+ localstatedir='${prefix}/var'
347
+ libdir='${exec_prefix}/lib'
348
+ includedir='${prefix}/include'
349
+ oldincludedir='/usr/include'
350
+ infodir='${prefix}/info'
351
+ mandir='${prefix}/man'
352
+
353
+ ac_prev=
354
+ for ac_option
355
+ do
356
+ # If the previous option needs an argument, assign it.
357
+ if test -n "$ac_prev"; then
358
+ eval "$ac_prev=\$ac_option"
359
+ ac_prev=
360
+ continue
361
+ fi
362
+
363
+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
+
365
+ # Accept the important Cygnus configure options, so we can diagnose typos.
366
+
367
+ case $ac_option in
368
+
369
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
370
+ ac_prev=bindir ;;
371
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372
+ bindir=$ac_optarg ;;
373
+
374
+ -build | --build | --buil | --bui | --bu)
375
+ ac_prev=build_alias ;;
376
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377
+ build_alias=$ac_optarg ;;
378
+
379
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
380
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381
+ ac_prev=cache_file ;;
382
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384
+ cache_file=$ac_optarg ;;
385
+
386
+ --config-cache | -C)
387
+ cache_file=config.cache ;;
388
+
389
+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390
+ ac_prev=datadir ;;
391
+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392
+ | --da=*)
393
+ datadir=$ac_optarg ;;
394
+
395
+ -disable-* | --disable-*)
396
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
+ # Reject names that are not valid shell variable names.
398
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400
+ { (exit 1); exit 1; }; }
401
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402
+ eval "enable_$ac_feature=no" ;;
403
+
404
+ -enable-* | --enable-*)
405
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
+ # Reject names that are not valid shell variable names.
407
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409
+ { (exit 1); exit 1; }; }
410
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411
+ case $ac_option in
412
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413
+ *) ac_optarg=yes ;;
414
+ esac
415
+ eval "enable_$ac_feature='$ac_optarg'" ;;
416
+
417
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419
+ | --exec | --exe | --ex)
420
+ ac_prev=exec_prefix ;;
421
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423
+ | --exec=* | --exe=* | --ex=*)
424
+ exec_prefix=$ac_optarg ;;
425
+
426
+ -gas | --gas | --ga | --g)
427
+ # Obsolete; use --with-gas.
428
+ with_gas=yes ;;
429
+
430
+ -help | --help | --hel | --he | -h)
431
+ ac_init_help=long ;;
432
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433
+ ac_init_help=recursive ;;
434
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435
+ ac_init_help=short ;;
436
+
437
+ -host | --host | --hos | --ho)
438
+ ac_prev=host_alias ;;
439
+ -host=* | --host=* | --hos=* | --ho=*)
440
+ host_alias=$ac_optarg ;;
441
+
442
+ -includedir | --includedir | --includedi | --included | --include \
443
+ | --includ | --inclu | --incl | --inc)
444
+ ac_prev=includedir ;;
445
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
447
+ includedir=$ac_optarg ;;
448
+
449
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
450
+ ac_prev=infodir ;;
451
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452
+ infodir=$ac_optarg ;;
453
+
454
+ -libdir | --libdir | --libdi | --libd)
455
+ ac_prev=libdir ;;
456
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
457
+ libdir=$ac_optarg ;;
458
+
459
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460
+ | --libexe | --libex | --libe)
461
+ ac_prev=libexecdir ;;
462
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463
+ | --libexe=* | --libex=* | --libe=*)
464
+ libexecdir=$ac_optarg ;;
465
+
466
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
467
+ | --localstate | --localstat | --localsta | --localst \
468
+ | --locals | --local | --loca | --loc | --lo)
469
+ ac_prev=localstatedir ;;
470
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472
+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473
+ localstatedir=$ac_optarg ;;
474
+
475
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476
+ ac_prev=mandir ;;
477
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478
+ mandir=$ac_optarg ;;
479
+
480
+ -nfp | --nfp | --nf)
481
+ # Obsolete; use --without-fp.
482
+ with_fp=no ;;
483
+
484
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485
+ | --no-cr | --no-c | -n)
486
+ no_create=yes ;;
487
+
488
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490
+ no_recursion=yes ;;
491
+
492
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494
+ | --oldin | --oldi | --old | --ol | --o)
495
+ ac_prev=oldincludedir ;;
496
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499
+ oldincludedir=$ac_optarg ;;
500
+
501
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502
+ ac_prev=prefix ;;
503
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504
+ prefix=$ac_optarg ;;
505
+
506
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
507
+ | --program-pre | --program-pr | --program-p)
508
+ ac_prev=program_prefix ;;
509
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
510
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511
+ program_prefix=$ac_optarg ;;
512
+
513
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
514
+ | --program-suf | --program-su | --program-s)
515
+ ac_prev=program_suffix ;;
516
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
517
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518
+ program_suffix=$ac_optarg ;;
519
+
520
+ -program-transform-name | --program-transform-name \
521
+ | --program-transform-nam | --program-transform-na \
522
+ | --program-transform-n | --program-transform- \
523
+ | --program-transform | --program-transfor \
524
+ | --program-transfo | --program-transf \
525
+ | --program-trans | --program-tran \
526
+ | --progr-tra | --program-tr | --program-t)
527
+ ac_prev=program_transform_name ;;
528
+ -program-transform-name=* | --program-transform-name=* \
529
+ | --program-transform-nam=* | --program-transform-na=* \
530
+ | --program-transform-n=* | --program-transform-=* \
531
+ | --program-transform=* | --program-transfor=* \
532
+ | --program-transfo=* | --program-transf=* \
533
+ | --program-trans=* | --program-tran=* \
534
+ | --progr-tra=* | --program-tr=* | --program-t=*)
535
+ program_transform_name=$ac_optarg ;;
536
+
537
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
+ | -silent | --silent | --silen | --sile | --sil)
539
+ silent=yes ;;
540
+
541
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542
+ ac_prev=sbindir ;;
543
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544
+ | --sbi=* | --sb=*)
545
+ sbindir=$ac_optarg ;;
546
+
547
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
548
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549
+ | --sharedst | --shareds | --shared | --share | --shar \
550
+ | --sha | --sh)
551
+ ac_prev=sharedstatedir ;;
552
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555
+ | --sha=* | --sh=*)
556
+ sharedstatedir=$ac_optarg ;;
557
+
558
+ -site | --site | --sit)
559
+ ac_prev=site ;;
560
+ -site=* | --site=* | --sit=*)
561
+ site=$ac_optarg ;;
562
+
563
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564
+ ac_prev=srcdir ;;
565
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566
+ srcdir=$ac_optarg ;;
567
+
568
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569
+ | --syscon | --sysco | --sysc | --sys | --sy)
570
+ ac_prev=sysconfdir ;;
571
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573
+ sysconfdir=$ac_optarg ;;
574
+
575
+ -target | --target | --targe | --targ | --tar | --ta | --t)
576
+ ac_prev=target_alias ;;
577
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578
+ target_alias=$ac_optarg ;;
579
+
580
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
581
+ verbose=yes ;;
582
+
583
+ -version | --version | --versio | --versi | --vers | -V)
584
+ ac_init_version=: ;;
585
+
586
+ -with-* | --with-*)
587
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
+ # Reject names that are not valid shell variable names.
589
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
591
+ { (exit 1); exit 1; }; }
592
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
593
+ case $ac_option in
594
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595
+ *) ac_optarg=yes ;;
596
+ esac
597
+ eval "with_$ac_package='$ac_optarg'" ;;
598
+
599
+ -without-* | --without-*)
600
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
+ # Reject names that are not valid shell variable names.
602
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
604
+ { (exit 1); exit 1; }; }
605
+ ac_package=`echo $ac_package | sed 's/-/_/g'`
606
+ eval "with_$ac_package=no" ;;
607
+
608
+ --x)
609
+ # Obsolete; use --with-x.
610
+ with_x=yes ;;
611
+
612
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613
+ | --x-incl | --x-inc | --x-in | --x-i)
614
+ ac_prev=x_includes ;;
615
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617
+ x_includes=$ac_optarg ;;
618
+
619
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
620
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621
+ ac_prev=x_libraries ;;
622
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624
+ x_libraries=$ac_optarg ;;
625
+
626
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
627
+ Try \`$0 --help' for more information." >&2
628
+ { (exit 1); exit 1; }; }
629
+ ;;
630
+
631
+ *=*)
632
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633
+ # Reject names that are not valid shell variable names.
634
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636
+ { (exit 1); exit 1; }; }
637
+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638
+ eval "$ac_envvar='$ac_optarg'"
639
+ export $ac_envvar ;;
640
+
641
+ *)
642
+ # FIXME: should be removed in autoconf 3.0.
643
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647
+ ;;
648
+
649
+ esac
650
+ done
651
+
652
+ if test -n "$ac_prev"; then
653
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654
+ { echo "$as_me: error: missing argument to $ac_option" >&2
655
+ { (exit 1); exit 1; }; }
656
+ fi
657
+
658
+ # Be sure to have absolute paths.
659
+ for ac_var in exec_prefix prefix
660
+ do
661
+ eval ac_val=$`echo $ac_var`
662
+ case $ac_val in
663
+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
+ { (exit 1); exit 1; }; };;
666
+ esac
667
+ done
668
+
669
+ # Be sure to have absolute paths.
670
+ for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
+ localstatedir libdir includedir oldincludedir infodir mandir
672
+ do
673
+ eval ac_val=$`echo $ac_var`
674
+ case $ac_val in
675
+ [\\/$]* | ?:[\\/]* ) ;;
676
+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
+ { (exit 1); exit 1; }; };;
678
+ esac
679
+ done
680
+
681
+ # There might be people who depend on the old broken behavior: `$host'
682
+ # used to hold the argument of --host etc.
683
+ # FIXME: To remove some day.
684
+ build=$build_alias
685
+ host=$host_alias
686
+ target=$target_alias
687
+
688
+ # FIXME: To remove some day.
689
+ if test "x$host_alias" != x; then
690
+ if test "x$build_alias" = x; then
691
+ cross_compiling=maybe
692
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693
+ If a cross compiler is detected then cross compile mode will be used." >&2
694
+ elif test "x$build_alias" != "x$host_alias"; then
695
+ cross_compiling=yes
696
+ fi
697
+ fi
698
+
699
+ ac_tool_prefix=
700
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
+
702
+ test "$silent" = yes && exec 6>/dev/null
703
+
704
+
705
+ # Find the source files, if location was not specified.
706
+ if test -z "$srcdir"; then
707
+ ac_srcdir_defaulted=yes
708
+ # Try the directory containing this script, then its parent.
709
+ ac_confdir=`(dirname "$0") 2>/dev/null ||
710
+ $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
+ X"$0" : 'X\(//\)[^/]' \| \
712
+ X"$0" : 'X\(//\)$' \| \
713
+ X"$0" : 'X\(/\)' \| \
714
+ . : '\(.\)' 2>/dev/null ||
715
+ echo X"$0" |
716
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
+ /^X\(\/\/\)$/{ s//\1/; q; }
719
+ /^X\(\/\).*/{ s//\1/; q; }
720
+ s/.*/./; q'`
721
+ srcdir=$ac_confdir
722
+ if test ! -r $srcdir/$ac_unique_file; then
723
+ srcdir=..
724
+ fi
725
+ else
726
+ ac_srcdir_defaulted=no
727
+ fi
728
+ if test ! -r $srcdir/$ac_unique_file; then
729
+ if test "$ac_srcdir_defaulted" = yes; then
730
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
+ { (exit 1); exit 1; }; }
732
+ else
733
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
+ { (exit 1); exit 1; }; }
735
+ fi
736
+ fi
737
+ (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
+ { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
+ { (exit 1); exit 1; }; }
740
+ srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
+ ac_env_build_alias_set=${build_alias+set}
742
+ ac_env_build_alias_value=$build_alias
743
+ ac_cv_env_build_alias_set=${build_alias+set}
744
+ ac_cv_env_build_alias_value=$build_alias
745
+ ac_env_host_alias_set=${host_alias+set}
746
+ ac_env_host_alias_value=$host_alias
747
+ ac_cv_env_host_alias_set=${host_alias+set}
748
+ ac_cv_env_host_alias_value=$host_alias
749
+ ac_env_target_alias_set=${target_alias+set}
750
+ ac_env_target_alias_value=$target_alias
751
+ ac_cv_env_target_alias_set=${target_alias+set}
752
+ ac_cv_env_target_alias_value=$target_alias
753
+ ac_env_CC_set=${CC+set}
754
+ ac_env_CC_value=$CC
755
+ ac_cv_env_CC_set=${CC+set}
756
+ ac_cv_env_CC_value=$CC
757
+ ac_env_CFLAGS_set=${CFLAGS+set}
758
+ ac_env_CFLAGS_value=$CFLAGS
759
+ ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
+ ac_cv_env_CFLAGS_value=$CFLAGS
761
+ ac_env_LDFLAGS_set=${LDFLAGS+set}
762
+ ac_env_LDFLAGS_value=$LDFLAGS
763
+ ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
+ ac_cv_env_LDFLAGS_value=$LDFLAGS
765
+ ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
+ ac_env_CPPFLAGS_value=$CPPFLAGS
767
+ ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
+ ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
+ ac_env_CPP_set=${CPP+set}
770
+ ac_env_CPP_value=$CPP
771
+ ac_cv_env_CPP_set=${CPP+set}
772
+ ac_cv_env_CPP_value=$CPP
773
+
774
+ #
775
+ # Report the --help message.
776
+ #
777
+ if test "$ac_init_help" = "long"; then
778
+ # Omit some internal or obsolete options to make the list less imposing.
779
+ # This message is too long to be a string in the A/UX 3.1 sh.
780
+ cat <<_ACEOF
781
+ \`configure' configures this package to adapt to many kinds of systems.
782
+
783
+ Usage: $0 [OPTION]... [VAR=VALUE]...
784
+
785
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
786
+ VAR=VALUE. See below for descriptions of some of the useful variables.
787
+
788
+ Defaults for the options are specified in brackets.
789
+
790
+ Configuration:
791
+ -h, --help display this help and exit
792
+ --help=short display options specific to this package
793
+ --help=recursive display the short help of all the included packages
794
+ -V, --version display version information and exit
795
+ -q, --quiet, --silent do not print \`checking...' messages
796
+ --cache-file=FILE cache test results in FILE [disabled]
797
+ -C, --config-cache alias for \`--cache-file=config.cache'
798
+ -n, --no-create do not create output files
799
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
800
+
801
+ _ACEOF
802
+
803
+ cat <<_ACEOF
804
+ Installation directories:
805
+ --prefix=PREFIX install architecture-independent files in PREFIX
806
+ [$ac_default_prefix]
807
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808
+ [PREFIX]
809
+
810
+ By default, \`make install' will install all the files in
811
+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812
+ an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813
+ for instance \`--prefix=\$HOME'.
814
+
815
+ For better control, use the options below.
816
+
817
+ Fine tuning of the installation directories:
818
+ --bindir=DIR user executables [EPREFIX/bin]
819
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
820
+ --libexecdir=DIR program executables [EPREFIX/libexec]
821
+ --datadir=DIR read-only architecture-independent data [PREFIX/share]
822
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825
+ --libdir=DIR object code libraries [EPREFIX/lib]
826
+ --includedir=DIR C header files [PREFIX/include]
827
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
828
+ --infodir=DIR info documentation [PREFIX/info]
829
+ --mandir=DIR man documentation [PREFIX/man]
830
+ _ACEOF
831
+
832
+ cat <<\_ACEOF
833
+
834
+ System types:
835
+ --build=BUILD configure for building on BUILD [guessed]
836
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
837
+ _ACEOF
838
+ fi
839
+
840
+ if test -n "$ac_init_help"; then
841
+
842
+ cat <<\_ACEOF
843
+
844
+ Optional Packages:
845
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
846
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
847
+ --with-java=DIR Specify the location of your JDK installation
848
+ --with-os-type=SUBDIR Location of JDK os-type subdirectory.
849
+
850
+ Some influential environment variables:
851
+ CC C compiler command
852
+ CFLAGS C compiler flags
853
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
854
+ nonstandard directory <lib dir>
855
+ CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
856
+ headers in a nonstandard directory <include dir>
857
+ CPP C preprocessor
858
+
859
+ Use these variables to override the choices made by `configure' or to help
860
+ it to find libraries and programs with nonstandard names/locations.
861
+
862
+ _ACEOF
863
+ fi
864
+
865
+ if test "$ac_init_help" = "recursive"; then
866
+ # If there are subdirs, report their specific --help.
867
+ ac_popdir=`pwd`
868
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869
+ test -d $ac_dir || continue
870
+ ac_builddir=.
871
+
872
+ if test "$ac_dir" != .; then
873
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874
+ # A "../" for each directory in $ac_dir_suffix.
875
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
876
+ else
877
+ ac_dir_suffix= ac_top_builddir=
878
+ fi
879
+
880
+ case $srcdir in
881
+ .) # No --srcdir option. We are building in place.
882
+ ac_srcdir=.
883
+ if test -z "$ac_top_builddir"; then
884
+ ac_top_srcdir=.
885
+ else
886
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
887
+ fi ;;
888
+ [\\/]* | ?:[\\/]* ) # Absolute path.
889
+ ac_srcdir=$srcdir$ac_dir_suffix;
890
+ ac_top_srcdir=$srcdir ;;
891
+ *) # Relative path.
892
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
894
+ esac
895
+
896
+ # Do not use `cd foo && pwd` to compute absolute paths, because
897
+ # the directories may not exist.
898
+ case `pwd` in
899
+ .) ac_abs_builddir="$ac_dir";;
900
+ *)
901
+ case "$ac_dir" in
902
+ .) ac_abs_builddir=`pwd`;;
903
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
904
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
905
+ esac;;
906
+ esac
907
+ case $ac_abs_builddir in
908
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
909
+ *)
910
+ case ${ac_top_builddir}. in
911
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
912
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
913
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
914
+ esac;;
915
+ esac
916
+ case $ac_abs_builddir in
917
+ .) ac_abs_srcdir=$ac_srcdir;;
918
+ *)
919
+ case $ac_srcdir in
920
+ .) ac_abs_srcdir=$ac_abs_builddir;;
921
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
922
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
923
+ esac;;
924
+ esac
925
+ case $ac_abs_builddir in
926
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
927
+ *)
928
+ case $ac_top_srcdir in
929
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
930
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
931
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
932
+ esac;;
933
+ esac
934
+
935
+ cd $ac_dir
936
+ # Check for guested configure; otherwise get Cygnus style configure.
937
+ if test -f $ac_srcdir/configure.gnu; then
938
+ echo
939
+ $SHELL $ac_srcdir/configure.gnu --help=recursive
940
+ elif test -f $ac_srcdir/configure; then
941
+ echo
942
+ $SHELL $ac_srcdir/configure --help=recursive
943
+ elif test -f $ac_srcdir/configure.ac ||
944
+ test -f $ac_srcdir/configure.in; then
945
+ echo
946
+ $ac_configure --help
947
+ else
948
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949
+ fi
950
+ cd $ac_popdir
951
+ done
952
+ fi
953
+
954
+ test -n "$ac_init_help" && exit 0
955
+ if $ac_init_version; then
956
+ cat <<\_ACEOF
957
+
958
+ Copyright (C) 2003 Free Software Foundation, Inc.
959
+ This configure script is free software; the Free Software Foundation
960
+ gives unlimited permission to copy, distribute and modify it.
961
+ _ACEOF
962
+ exit 0
963
+ fi
964
+ exec 5>config.log
965
+ cat >&5 <<_ACEOF
966
+ This file contains any messages produced by compilers while
967
+ running configure, to aid debugging if configure makes a mistake.
968
+
969
+ It was created by $as_me, which was
970
+ generated by GNU Autoconf 2.59. Invocation command line was
971
+
972
+ $ $0 $@
973
+
974
+ _ACEOF
975
+ {
976
+ cat <<_ASUNAME
977
+ ## --------- ##
978
+ ## Platform. ##
979
+ ## --------- ##
980
+
981
+ hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
982
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
983
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
984
+ uname -s = `(uname -s) 2>/dev/null || echo unknown`
985
+ uname -v = `(uname -v) 2>/dev/null || echo unknown`
986
+
987
+ /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
988
+ /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
989
+
990
+ /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
991
+ /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
992
+ /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
993
+ hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
994
+ /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
995
+ /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
996
+ /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
997
+
998
+ _ASUNAME
999
+
1000
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1001
+ for as_dir in $PATH
1002
+ do
1003
+ IFS=$as_save_IFS
1004
+ test -z "$as_dir" && as_dir=.
1005
+ echo "PATH: $as_dir"
1006
+ done
1007
+
1008
+ } >&5
1009
+
1010
+ cat >&5 <<_ACEOF
1011
+
1012
+
1013
+ ## ----------- ##
1014
+ ## Core tests. ##
1015
+ ## ----------- ##
1016
+
1017
+ _ACEOF
1018
+
1019
+
1020
+ # Keep a trace of the command line.
1021
+ # Strip out --no-create and --no-recursion so they do not pile up.
1022
+ # Strip out --silent because we don't want to record it for future runs.
1023
+ # Also quote any args containing shell meta-characters.
1024
+ # Make two passes to allow for proper duplicate-argument suppression.
1025
+ ac_configure_args=
1026
+ ac_configure_args0=
1027
+ ac_configure_args1=
1028
+ ac_sep=
1029
+ ac_must_keep_next=false
1030
+ for ac_pass in 1 2
1031
+ do
1032
+ for ac_arg
1033
+ do
1034
+ case $ac_arg in
1035
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1036
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037
+ | -silent | --silent | --silen | --sile | --sil)
1038
+ continue ;;
1039
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1040
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1041
+ esac
1042
+ case $ac_pass in
1043
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044
+ 2)
1045
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1046
+ if test $ac_must_keep_next = true; then
1047
+ ac_must_keep_next=false # Got value, back to normal.
1048
+ else
1049
+ case $ac_arg in
1050
+ *=* | --config-cache | -C | -disable-* | --disable-* \
1051
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1052
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1053
+ | -with-* | --with-* | -without-* | --without-* | --x)
1054
+ case "$ac_configure_args0 " in
1055
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056
+ esac
1057
+ ;;
1058
+ -* ) ac_must_keep_next=true ;;
1059
+ esac
1060
+ fi
1061
+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1062
+ # Get rid of the leading space.
1063
+ ac_sep=" "
1064
+ ;;
1065
+ esac
1066
+ done
1067
+ done
1068
+ $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1069
+ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070
+
1071
+ # When interrupted or exit'd, cleanup temporary files, and complete
1072
+ # config.log. We remove comments because anyway the quotes in there
1073
+ # would cause problems or look ugly.
1074
+ # WARNING: Be sure not to use single quotes in there, as some shells,
1075
+ # such as our DU 5.0 friend, will then `close' the trap.
1076
+ trap 'exit_status=$?
1077
+ # Save into config.log some information that might help in debugging.
1078
+ {
1079
+ echo
1080
+
1081
+ cat <<\_ASBOX
1082
+ ## ---------------- ##
1083
+ ## Cache variables. ##
1084
+ ## ---------------- ##
1085
+ _ASBOX
1086
+ echo
1087
+ # The following way of writing the cache mishandles newlines in values,
1088
+ {
1089
+ (set) 2>&1 |
1090
+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091
+ *ac_space=\ *)
1092
+ sed -n \
1093
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1094
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1095
+ ;;
1096
+ *)
1097
+ sed -n \
1098
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1099
+ ;;
1100
+ esac;
1101
+ }
1102
+ echo
1103
+
1104
+ cat <<\_ASBOX
1105
+ ## ----------------- ##
1106
+ ## Output variables. ##
1107
+ ## ----------------- ##
1108
+ _ASBOX
1109
+ echo
1110
+ for ac_var in $ac_subst_vars
1111
+ do
1112
+ eval ac_val=$`echo $ac_var`
1113
+ echo "$ac_var='"'"'$ac_val'"'"'"
1114
+ done | sort
1115
+ echo
1116
+
1117
+ if test -n "$ac_subst_files"; then
1118
+ cat <<\_ASBOX
1119
+ ## ------------- ##
1120
+ ## Output files. ##
1121
+ ## ------------- ##
1122
+ _ASBOX
1123
+ echo
1124
+ for ac_var in $ac_subst_files
1125
+ do
1126
+ eval ac_val=$`echo $ac_var`
1127
+ echo "$ac_var='"'"'$ac_val'"'"'"
1128
+ done | sort
1129
+ echo
1130
+ fi
1131
+
1132
+ if test -s confdefs.h; then
1133
+ cat <<\_ASBOX
1134
+ ## ----------- ##
1135
+ ## confdefs.h. ##
1136
+ ## ----------- ##
1137
+ _ASBOX
1138
+ echo
1139
+ sed "/^$/d" confdefs.h | sort
1140
+ echo
1141
+ fi
1142
+ test "$ac_signal" != 0 &&
1143
+ echo "$as_me: caught signal $ac_signal"
1144
+ echo "$as_me: exit $exit_status"
1145
+ } >&5
1146
+ rm -f core *.core &&
1147
+ rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1148
+ exit $exit_status
1149
+ ' 0
1150
+ for ac_signal in 1 2 13 15; do
1151
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1152
+ done
1153
+ ac_signal=0
1154
+
1155
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
1156
+ rm -rf conftest* confdefs.h
1157
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158
+ echo >confdefs.h
1159
+
1160
+ # Predefined preprocessor variables.
1161
+
1162
+ cat >>confdefs.h <<_ACEOF
1163
+ #define PACKAGE_NAME "$PACKAGE_NAME"
1164
+ _ACEOF
1165
+
1166
+
1167
+ cat >>confdefs.h <<_ACEOF
1168
+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1169
+ _ACEOF
1170
+
1171
+
1172
+ cat >>confdefs.h <<_ACEOF
1173
+ #define PACKAGE_VERSION "$PACKAGE_VERSION"
1174
+ _ACEOF
1175
+
1176
+
1177
+ cat >>confdefs.h <<_ACEOF
1178
+ #define PACKAGE_STRING "$PACKAGE_STRING"
1179
+ _ACEOF
1180
+
1181
+
1182
+ cat >>confdefs.h <<_ACEOF
1183
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1184
+ _ACEOF
1185
+
1186
+
1187
+ # Let the site file select an alternate cache file if it wants to.
1188
+ # Prefer explicitly selected file to automatically selected ones.
1189
+ if test -z "$CONFIG_SITE"; then
1190
+ if test "x$prefix" != xNONE; then
1191
+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192
+ else
1193
+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1194
+ fi
1195
+ fi
1196
+ for ac_site_file in $CONFIG_SITE; do
1197
+ if test -r "$ac_site_file"; then
1198
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1199
+ echo "$as_me: loading site script $ac_site_file" >&6;}
1200
+ sed 's/^/| /' "$ac_site_file" >&5
1201
+ . "$ac_site_file"
1202
+ fi
1203
+ done
1204
+
1205
+ if test -r "$cache_file"; then
1206
+ # Some versions of bash will fail to source /dev/null (special
1207
+ # files actually), so we avoid doing that.
1208
+ if test -f "$cache_file"; then
1209
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1210
+ echo "$as_me: loading cache $cache_file" >&6;}
1211
+ case $cache_file in
1212
+ [\\/]* | ?:[\\/]* ) . $cache_file;;
1213
+ *) . ./$cache_file;;
1214
+ esac
1215
+ fi
1216
+ else
1217
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1218
+ echo "$as_me: creating cache $cache_file" >&6;}
1219
+ >$cache_file
1220
+ fi
1221
+
1222
+ # Check that the precious variables saved in the cache have kept the same
1223
+ # value.
1224
+ ac_cache_corrupted=false
1225
+ for ac_var in `(set) 2>&1 |
1226
+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1227
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1228
+ eval ac_new_set=\$ac_env_${ac_var}_set
1229
+ eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1230
+ eval ac_new_val="\$ac_env_${ac_var}_value"
1231
+ case $ac_old_set,$ac_new_set in
1232
+ set,)
1233
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1234
+ echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1235
+ ac_cache_corrupted=: ;;
1236
+ ,set)
1237
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1238
+ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1239
+ ac_cache_corrupted=: ;;
1240
+ ,);;
1241
+ *)
1242
+ if test "x$ac_old_val" != "x$ac_new_val"; then
1243
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1244
+ echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1245
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1246
+ echo "$as_me: former value: $ac_old_val" >&2;}
1247
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1248
+ echo "$as_me: current value: $ac_new_val" >&2;}
1249
+ ac_cache_corrupted=:
1250
+ fi;;
1251
+ esac
1252
+ # Pass precious variables to config.status.
1253
+ if test "$ac_new_set" = set; then
1254
+ case $ac_new_val in
1255
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1256
+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1257
+ *) ac_arg=$ac_var=$ac_new_val ;;
1258
+ esac
1259
+ case " $ac_configure_args " in
1260
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1261
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1262
+ esac
1263
+ fi
1264
+ done
1265
+ if $ac_cache_corrupted; then
1266
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1267
+ echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1268
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1269
+ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1270
+ { (exit 1); exit 1; }; }
1271
+ fi
1272
+
1273
+ ac_ext=c
1274
+ ac_cpp='$CPP $CPPFLAGS'
1275
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1276
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1277
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+ ac_aux_dir=
1298
+ for ac_dir in ./support $srcdir/./support; do
1299
+ if test -f $ac_dir/install-sh; then
1300
+ ac_aux_dir=$ac_dir
1301
+ ac_install_sh="$ac_aux_dir/install-sh -c"
1302
+ break
1303
+ elif test -f $ac_dir/install.sh; then
1304
+ ac_aux_dir=$ac_dir
1305
+ ac_install_sh="$ac_aux_dir/install.sh -c"
1306
+ break
1307
+ elif test -f $ac_dir/shtool; then
1308
+ ac_aux_dir=$ac_dir
1309
+ ac_install_sh="$ac_aux_dir/shtool install -c"
1310
+ break
1311
+ fi
1312
+ done
1313
+ if test -z "$ac_aux_dir"; then
1314
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ./support $srcdir/./support" >&5
1315
+ echo "$as_me: error: cannot find install-sh or install.sh in ./support $srcdir/./support" >&2;}
1316
+ { (exit 1); exit 1; }; }
1317
+ fi
1318
+ ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1319
+ ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1320
+ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1321
+
1322
+
1323
+
1324
+ rm -f config.nice
1325
+ cat >config.nice<<EOF
1326
+ #! /bin/sh
1327
+ #
1328
+ # Created by configure
1329
+
1330
+ EOF
1331
+ if test -n "$CC"; then
1332
+ echo "CC=\"$CC\"; export CC" >> config.nice
1333
+ fi
1334
+ if test -n "$CFLAGS"; then
1335
+ echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice
1336
+ fi
1337
+ if test -n "$CPPFLAGS"; then
1338
+ echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice
1339
+ fi
1340
+ if test -n "$LDFLAGS"; then
1341
+ echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice
1342
+ fi
1343
+ if test -n "$LIBS"; then
1344
+ echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice
1345
+ fi
1346
+ if test -n "$STRIPFLAGS"; then
1347
+ echo "STRIPFLAGS=\"$STRIPFLAGS\"; export STRIPFLAGS" >> config.nice
1348
+ fi
1349
+ if test -n "$INCLUDES"; then
1350
+ echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice
1351
+ fi
1352
+ # Retrieve command-line arguments.
1353
+ eval "set x $0 $ac_configure_args"
1354
+ shift
1355
+
1356
+ for arg
1357
+ do
1358
+
1359
+ ap_last=
1360
+ ap_cur="$arg"
1361
+ while test "x${ap_cur}" != "x${ap_last}";
1362
+ do
1363
+ ap_last="${ap_cur}"
1364
+ ap_cur=`eval "echo ${ap_cur}"`
1365
+ done
1366
+ arg="${ap_cur}"
1367
+
1368
+ echo "\"$arg\" \\" >> config.nice
1369
+ done
1370
+ echo '"$@"' >> config.nice
1371
+ chmod +x config.nice
1372
+
1373
+
1374
+
1375
+ printf "*** %s ***\n" "Current host" 1>&2
1376
+
1377
+
1378
+ # Make sure we can run config.sub.
1379
+ $ac_config_sub sun4 >/dev/null 2>&1 ||
1380
+ { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1381
+ echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1382
+ { (exit 1); exit 1; }; }
1383
+
1384
+ echo "$as_me:$LINENO: checking build system type" >&5
1385
+ echo $ECHO_N "checking build system type... $ECHO_C" >&6
1386
+ if test "${ac_cv_build+set}" = set; then
1387
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1388
+ else
1389
+ ac_cv_build_alias=$build_alias
1390
+ test -z "$ac_cv_build_alias" &&
1391
+ ac_cv_build_alias=`$ac_config_guess`
1392
+ test -z "$ac_cv_build_alias" &&
1393
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1394
+ echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1395
+ { (exit 1); exit 1; }; }
1396
+ ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1397
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1398
+ echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1399
+ { (exit 1); exit 1; }; }
1400
+
1401
+ fi
1402
+ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1403
+ echo "${ECHO_T}$ac_cv_build" >&6
1404
+ build=$ac_cv_build
1405
+ build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406
+ build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407
+ build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1408
+
1409
+
1410
+ echo "$as_me:$LINENO: checking host system type" >&5
1411
+ echo $ECHO_N "checking host system type... $ECHO_C" >&6
1412
+ if test "${ac_cv_host+set}" = set; then
1413
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1414
+ else
1415
+ ac_cv_host_alias=$host_alias
1416
+ test -z "$ac_cv_host_alias" &&
1417
+ ac_cv_host_alias=$ac_cv_build_alias
1418
+ ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1419
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1420
+ echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1421
+ { (exit 1); exit 1; }; }
1422
+
1423
+ fi
1424
+ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1425
+ echo "${ECHO_T}$ac_cv_host" >&6
1426
+ host=$ac_cv_host
1427
+ host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428
+ host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429
+ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430
+
1431
+
1432
+
1433
+ echo "$as_me:$LINENO: checking cached host system type" >&5
1434
+ echo $ECHO_N "checking cached host system type... $ECHO_C" >&6
1435
+ if { test x"${ac_cv_host_system_type+set}" = x"set" &&
1436
+ test x"$ac_cv_host_system_type" != x"$host" ; }
1437
+ then
1438
+ echo "$as_me:$LINENO: result: $ac_cv_host_system_type" >&5
1439
+ echo "${ECHO_T}$ac_cv_host_system_type" >&6
1440
+ { { echo "$as_me:$LINENO: error: remove the \"$cache_file\" file and re-run configure" >&5
1441
+ echo "$as_me: error: remove the \"$cache_file\" file and re-run configure" >&2;}
1442
+ { (exit 1); exit 1; }; }
1443
+ else
1444
+ echo "$as_me:$LINENO: result: ok" >&5
1445
+ echo "${ECHO_T}ok" >&6
1446
+ ac_cv_host_system_type="$host"
1447
+ fi
1448
+
1449
+
1450
+
1451
+
1452
+ printf "*** %s ***\n" "C-Language compilation tools" 1>&2
1453
+
1454
+
1455
+ ac_ext=c
1456
+ ac_cpp='$CPP $CPPFLAGS'
1457
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1460
+ if test -n "$ac_tool_prefix"; then
1461
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1462
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
1463
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1464
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465
+ if test "${ac_cv_prog_CC+set}" = set; then
1466
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1467
+ else
1468
+ if test -n "$CC"; then
1469
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1470
+ else
1471
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1472
+ for as_dir in $PATH
1473
+ do
1474
+ IFS=$as_save_IFS
1475
+ test -z "$as_dir" && as_dir=.
1476
+ for ac_exec_ext in '' $ac_executable_extensions; do
1477
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1478
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
1479
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480
+ break 2
1481
+ fi
1482
+ done
1483
+ done
1484
+
1485
+ fi
1486
+ fi
1487
+ CC=$ac_cv_prog_CC
1488
+ if test -n "$CC"; then
1489
+ echo "$as_me:$LINENO: result: $CC" >&5
1490
+ echo "${ECHO_T}$CC" >&6
1491
+ else
1492
+ echo "$as_me:$LINENO: result: no" >&5
1493
+ echo "${ECHO_T}no" >&6
1494
+ fi
1495
+
1496
+ fi
1497
+ if test -z "$ac_cv_prog_CC"; then
1498
+ ac_ct_CC=$CC
1499
+ # Extract the first word of "gcc", so it can be a program name with args.
1500
+ set dummy gcc; ac_word=$2
1501
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1502
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1504
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1505
+ else
1506
+ if test -n "$ac_ct_CC"; then
1507
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1508
+ else
1509
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510
+ for as_dir in $PATH
1511
+ do
1512
+ IFS=$as_save_IFS
1513
+ test -z "$as_dir" && as_dir=.
1514
+ for ac_exec_ext in '' $ac_executable_extensions; do
1515
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516
+ ac_cv_prog_ac_ct_CC="gcc"
1517
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518
+ break 2
1519
+ fi
1520
+ done
1521
+ done
1522
+
1523
+ fi
1524
+ fi
1525
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
1526
+ if test -n "$ac_ct_CC"; then
1527
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1528
+ echo "${ECHO_T}$ac_ct_CC" >&6
1529
+ else
1530
+ echo "$as_me:$LINENO: result: no" >&5
1531
+ echo "${ECHO_T}no" >&6
1532
+ fi
1533
+
1534
+ CC=$ac_ct_CC
1535
+ else
1536
+ CC="$ac_cv_prog_CC"
1537
+ fi
1538
+
1539
+ if test -z "$CC"; then
1540
+ if test -n "$ac_tool_prefix"; then
1541
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1542
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
1543
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1544
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545
+ if test "${ac_cv_prog_CC+set}" = set; then
1546
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1547
+ else
1548
+ if test -n "$CC"; then
1549
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1550
+ else
1551
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552
+ for as_dir in $PATH
1553
+ do
1554
+ IFS=$as_save_IFS
1555
+ test -z "$as_dir" && as_dir=.
1556
+ for ac_exec_ext in '' $ac_executable_extensions; do
1557
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
1559
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560
+ break 2
1561
+ fi
1562
+ done
1563
+ done
1564
+
1565
+ fi
1566
+ fi
1567
+ CC=$ac_cv_prog_CC
1568
+ if test -n "$CC"; then
1569
+ echo "$as_me:$LINENO: result: $CC" >&5
1570
+ echo "${ECHO_T}$CC" >&6
1571
+ else
1572
+ echo "$as_me:$LINENO: result: no" >&5
1573
+ echo "${ECHO_T}no" >&6
1574
+ fi
1575
+
1576
+ fi
1577
+ if test -z "$ac_cv_prog_CC"; then
1578
+ ac_ct_CC=$CC
1579
+ # Extract the first word of "cc", so it can be a program name with args.
1580
+ set dummy cc; ac_word=$2
1581
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1582
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1584
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1585
+ else
1586
+ if test -n "$ac_ct_CC"; then
1587
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1588
+ else
1589
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590
+ for as_dir in $PATH
1591
+ do
1592
+ IFS=$as_save_IFS
1593
+ test -z "$as_dir" && as_dir=.
1594
+ for ac_exec_ext in '' $ac_executable_extensions; do
1595
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596
+ ac_cv_prog_ac_ct_CC="cc"
1597
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1598
+ break 2
1599
+ fi
1600
+ done
1601
+ done
1602
+
1603
+ fi
1604
+ fi
1605
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
1606
+ if test -n "$ac_ct_CC"; then
1607
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1608
+ echo "${ECHO_T}$ac_ct_CC" >&6
1609
+ else
1610
+ echo "$as_me:$LINENO: result: no" >&5
1611
+ echo "${ECHO_T}no" >&6
1612
+ fi
1613
+
1614
+ CC=$ac_ct_CC
1615
+ else
1616
+ CC="$ac_cv_prog_CC"
1617
+ fi
1618
+
1619
+ fi
1620
+ if test -z "$CC"; then
1621
+ # Extract the first word of "cc", so it can be a program name with args.
1622
+ set dummy cc; ac_word=$2
1623
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1624
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625
+ if test "${ac_cv_prog_CC+set}" = set; then
1626
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1627
+ else
1628
+ if test -n "$CC"; then
1629
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1630
+ else
1631
+ ac_prog_rejected=no
1632
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633
+ for as_dir in $PATH
1634
+ do
1635
+ IFS=$as_save_IFS
1636
+ test -z "$as_dir" && as_dir=.
1637
+ for ac_exec_ext in '' $ac_executable_extensions; do
1638
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1640
+ ac_prog_rejected=yes
1641
+ continue
1642
+ fi
1643
+ ac_cv_prog_CC="cc"
1644
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645
+ break 2
1646
+ fi
1647
+ done
1648
+ done
1649
+
1650
+ if test $ac_prog_rejected = yes; then
1651
+ # We found a bogon in the path, so make sure we never use it.
1652
+ set dummy $ac_cv_prog_CC
1653
+ shift
1654
+ if test $# != 0; then
1655
+ # We chose a different compiler from the bogus one.
1656
+ # However, it has the same basename, so the bogon will be chosen
1657
+ # first if we set CC to just the basename; use the full file name.
1658
+ shift
1659
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1660
+ fi
1661
+ fi
1662
+ fi
1663
+ fi
1664
+ CC=$ac_cv_prog_CC
1665
+ if test -n "$CC"; then
1666
+ echo "$as_me:$LINENO: result: $CC" >&5
1667
+ echo "${ECHO_T}$CC" >&6
1668
+ else
1669
+ echo "$as_me:$LINENO: result: no" >&5
1670
+ echo "${ECHO_T}no" >&6
1671
+ fi
1672
+
1673
+ fi
1674
+ if test -z "$CC"; then
1675
+ if test -n "$ac_tool_prefix"; then
1676
+ for ac_prog in cl
1677
+ do
1678
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1679
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1680
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1681
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682
+ if test "${ac_cv_prog_CC+set}" = set; then
1683
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1684
+ else
1685
+ if test -n "$CC"; then
1686
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1687
+ else
1688
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689
+ for as_dir in $PATH
1690
+ do
1691
+ IFS=$as_save_IFS
1692
+ test -z "$as_dir" && as_dir=.
1693
+ for ac_exec_ext in '' $ac_executable_extensions; do
1694
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1696
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697
+ break 2
1698
+ fi
1699
+ done
1700
+ done
1701
+
1702
+ fi
1703
+ fi
1704
+ CC=$ac_cv_prog_CC
1705
+ if test -n "$CC"; then
1706
+ echo "$as_me:$LINENO: result: $CC" >&5
1707
+ echo "${ECHO_T}$CC" >&6
1708
+ else
1709
+ echo "$as_me:$LINENO: result: no" >&5
1710
+ echo "${ECHO_T}no" >&6
1711
+ fi
1712
+
1713
+ test -n "$CC" && break
1714
+ done
1715
+ fi
1716
+ if test -z "$CC"; then
1717
+ ac_ct_CC=$CC
1718
+ for ac_prog in cl
1719
+ do
1720
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
1721
+ set dummy $ac_prog; ac_word=$2
1722
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
1723
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1725
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1726
+ else
1727
+ if test -n "$ac_ct_CC"; then
1728
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1729
+ else
1730
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731
+ for as_dir in $PATH
1732
+ do
1733
+ IFS=$as_save_IFS
1734
+ test -z "$as_dir" && as_dir=.
1735
+ for ac_exec_ext in '' $ac_executable_extensions; do
1736
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737
+ ac_cv_prog_ac_ct_CC="$ac_prog"
1738
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739
+ break 2
1740
+ fi
1741
+ done
1742
+ done
1743
+
1744
+ fi
1745
+ fi
1746
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
1747
+ if test -n "$ac_ct_CC"; then
1748
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1749
+ echo "${ECHO_T}$ac_ct_CC" >&6
1750
+ else
1751
+ echo "$as_me:$LINENO: result: no" >&5
1752
+ echo "${ECHO_T}no" >&6
1753
+ fi
1754
+
1755
+ test -n "$ac_ct_CC" && break
1756
+ done
1757
+
1758
+ CC=$ac_ct_CC
1759
+ fi
1760
+
1761
+ fi
1762
+
1763
+
1764
+ test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1765
+ See \`config.log' for more details." >&5
1766
+ echo "$as_me: error: no acceptable C compiler found in \$PATH
1767
+ See \`config.log' for more details." >&2;}
1768
+ { (exit 1); exit 1; }; }
1769
+
1770
+ # Provide some information about the compiler.
1771
+ echo "$as_me:$LINENO:" \
1772
+ "checking for C compiler version" >&5
1773
+ ac_compiler=`set X $ac_compile; echo $2`
1774
+ { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1775
+ (eval $ac_compiler --version </dev/null >&5) 2>&5
1776
+ ac_status=$?
1777
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778
+ (exit $ac_status); }
1779
+ { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1780
+ (eval $ac_compiler -v </dev/null >&5) 2>&5
1781
+ ac_status=$?
1782
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1783
+ (exit $ac_status); }
1784
+ { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1785
+ (eval $ac_compiler -V </dev/null >&5) 2>&5
1786
+ ac_status=$?
1787
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788
+ (exit $ac_status); }
1789
+
1790
+ cat >conftest.$ac_ext <<_ACEOF
1791
+ /* confdefs.h. */
1792
+ _ACEOF
1793
+ cat confdefs.h >>conftest.$ac_ext
1794
+ cat >>conftest.$ac_ext <<_ACEOF
1795
+ /* end confdefs.h. */
1796
+
1797
+ int
1798
+ main ()
1799
+ {
1800
+
1801
+ ;
1802
+ return 0;
1803
+ }
1804
+ _ACEOF
1805
+ ac_clean_files_save=$ac_clean_files
1806
+ ac_clean_files="$ac_clean_files a.out a.exe b.out"
1807
+ # Try to create an executable without -o first, disregard a.out.
1808
+ # It will help us diagnose broken compilers, and finding out an intuition
1809
+ # of exeext.
1810
+ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1811
+ echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1812
+ ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1813
+ if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1814
+ (eval $ac_link_default) 2>&5
1815
+ ac_status=$?
1816
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817
+ (exit $ac_status); }; then
1818
+ # Find the output, starting from the most likely. This scheme is
1819
+ # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1820
+ # resort.
1821
+
1822
+ # Be careful to initialize this variable, since it used to be cached.
1823
+ # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1824
+ ac_cv_exeext=
1825
+ # b.out is created by i960 compilers.
1826
+ for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1827
+ do
1828
+ test -f "$ac_file" || continue
1829
+ case $ac_file in
1830
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1831
+ ;;
1832
+ conftest.$ac_ext )
1833
+ # This is the source file.
1834
+ ;;
1835
+ [ab].out )
1836
+ # We found the default executable, but exeext='' is most
1837
+ # certainly right.
1838
+ break;;
1839
+ *.* )
1840
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1841
+ # FIXME: I believe we export ac_cv_exeext for Libtool,
1842
+ # but it would be cool to find out if it's true. Does anybody
1843
+ # maintain Libtool? --akim.
1844
+ export ac_cv_exeext
1845
+ break;;
1846
+ * )
1847
+ break;;
1848
+ esac
1849
+ done
1850
+ else
1851
+ echo "$as_me: failed program was:" >&5
1852
+ sed 's/^/| /' conftest.$ac_ext >&5
1853
+
1854
+ { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1855
+ See \`config.log' for more details." >&5
1856
+ echo "$as_me: error: C compiler cannot create executables
1857
+ See \`config.log' for more details." >&2;}
1858
+ { (exit 77); exit 77; }; }
1859
+ fi
1860
+
1861
+ ac_exeext=$ac_cv_exeext
1862
+ echo "$as_me:$LINENO: result: $ac_file" >&5
1863
+ echo "${ECHO_T}$ac_file" >&6
1864
+
1865
+ # Check the compiler produces executables we can run. If not, either
1866
+ # the compiler is broken, or we cross compile.
1867
+ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1868
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1869
+ # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1870
+ # If not cross compiling, check that we can run a simple program.
1871
+ if test "$cross_compiling" != yes; then
1872
+ if { ac_try='./$ac_file'
1873
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1874
+ (eval $ac_try) 2>&5
1875
+ ac_status=$?
1876
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877
+ (exit $ac_status); }; }; then
1878
+ cross_compiling=no
1879
+ else
1880
+ if test "$cross_compiling" = maybe; then
1881
+ cross_compiling=yes
1882
+ else
1883
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1884
+ If you meant to cross compile, use \`--host'.
1885
+ See \`config.log' for more details." >&5
1886
+ echo "$as_me: error: cannot run C compiled programs.
1887
+ If you meant to cross compile, use \`--host'.
1888
+ See \`config.log' for more details." >&2;}
1889
+ { (exit 1); exit 1; }; }
1890
+ fi
1891
+ fi
1892
+ fi
1893
+ echo "$as_me:$LINENO: result: yes" >&5
1894
+ echo "${ECHO_T}yes" >&6
1895
+
1896
+ rm -f a.out a.exe conftest$ac_cv_exeext b.out
1897
+ ac_clean_files=$ac_clean_files_save
1898
+ # Check the compiler produces executables we can run. If not, either
1899
+ # the compiler is broken, or we cross compile.
1900
+ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1901
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1902
+ echo "$as_me:$LINENO: result: $cross_compiling" >&5
1903
+ echo "${ECHO_T}$cross_compiling" >&6
1904
+
1905
+ echo "$as_me:$LINENO: checking for suffix of executables" >&5
1906
+ echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1907
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1908
+ (eval $ac_link) 2>&5
1909
+ ac_status=$?
1910
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911
+ (exit $ac_status); }; then
1912
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
1913
+ # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1914
+ # work properly (i.e., refer to `conftest.exe'), while it won't with
1915
+ # `rm'.
1916
+ for ac_file in conftest.exe conftest conftest.*; do
1917
+ test -f "$ac_file" || continue
1918
+ case $ac_file in
1919
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1920
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1921
+ export ac_cv_exeext
1922
+ break;;
1923
+ * ) break;;
1924
+ esac
1925
+ done
1926
+ else
1927
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1928
+ See \`config.log' for more details." >&5
1929
+ echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1930
+ See \`config.log' for more details." >&2;}
1931
+ { (exit 1); exit 1; }; }
1932
+ fi
1933
+
1934
+ rm -f conftest$ac_cv_exeext
1935
+ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1936
+ echo "${ECHO_T}$ac_cv_exeext" >&6
1937
+
1938
+ rm -f conftest.$ac_ext
1939
+ EXEEXT=$ac_cv_exeext
1940
+ ac_exeext=$EXEEXT
1941
+ echo "$as_me:$LINENO: checking for suffix of object files" >&5
1942
+ echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1943
+ if test "${ac_cv_objext+set}" = set; then
1944
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1945
+ else
1946
+ cat >conftest.$ac_ext <<_ACEOF
1947
+ /* confdefs.h. */
1948
+ _ACEOF
1949
+ cat confdefs.h >>conftest.$ac_ext
1950
+ cat >>conftest.$ac_ext <<_ACEOF
1951
+ /* end confdefs.h. */
1952
+
1953
+ int
1954
+ main ()
1955
+ {
1956
+
1957
+ ;
1958
+ return 0;
1959
+ }
1960
+ _ACEOF
1961
+ rm -f conftest.o conftest.obj
1962
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1963
+ (eval $ac_compile) 2>&5
1964
+ ac_status=$?
1965
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966
+ (exit $ac_status); }; then
1967
+ for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1968
+ case $ac_file in
1969
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1970
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1971
+ break;;
1972
+ esac
1973
+ done
1974
+ else
1975
+ echo "$as_me: failed program was:" >&5
1976
+ sed 's/^/| /' conftest.$ac_ext >&5
1977
+
1978
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1979
+ See \`config.log' for more details." >&5
1980
+ echo "$as_me: error: cannot compute suffix of object files: cannot compile
1981
+ See \`config.log' for more details." >&2;}
1982
+ { (exit 1); exit 1; }; }
1983
+ fi
1984
+
1985
+ rm -f conftest.$ac_cv_objext conftest.$ac_ext
1986
+ fi
1987
+ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1988
+ echo "${ECHO_T}$ac_cv_objext" >&6
1989
+ OBJEXT=$ac_cv_objext
1990
+ ac_objext=$OBJEXT
1991
+ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1992
+ echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1993
+ if test "${ac_cv_c_compiler_gnu+set}" = set; then
1994
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1995
+ else
1996
+ cat >conftest.$ac_ext <<_ACEOF
1997
+ /* confdefs.h. */
1998
+ _ACEOF
1999
+ cat confdefs.h >>conftest.$ac_ext
2000
+ cat >>conftest.$ac_ext <<_ACEOF
2001
+ /* end confdefs.h. */
2002
+
2003
+ int
2004
+ main ()
2005
+ {
2006
+ #ifndef __GNUC__
2007
+ choke me
2008
+ #endif
2009
+
2010
+ ;
2011
+ return 0;
2012
+ }
2013
+ _ACEOF
2014
+ rm -f conftest.$ac_objext
2015
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2016
+ (eval $ac_compile) 2>conftest.er1
2017
+ ac_status=$?
2018
+ grep -v '^ *+' conftest.er1 >conftest.err
2019
+ rm -f conftest.er1
2020
+ cat conftest.err >&5
2021
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022
+ (exit $ac_status); } &&
2023
+ { ac_try='test -z "$ac_c_werror_flag"
2024
+ || test ! -s conftest.err'
2025
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2026
+ (eval $ac_try) 2>&5
2027
+ ac_status=$?
2028
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029
+ (exit $ac_status); }; } &&
2030
+ { ac_try='test -s conftest.$ac_objext'
2031
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2032
+ (eval $ac_try) 2>&5
2033
+ ac_status=$?
2034
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035
+ (exit $ac_status); }; }; then
2036
+ ac_compiler_gnu=yes
2037
+ else
2038
+ echo "$as_me: failed program was:" >&5
2039
+ sed 's/^/| /' conftest.$ac_ext >&5
2040
+
2041
+ ac_compiler_gnu=no
2042
+ fi
2043
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2044
+ ac_cv_c_compiler_gnu=$ac_compiler_gnu
2045
+
2046
+ fi
2047
+ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2048
+ echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2049
+ GCC=`test $ac_compiler_gnu = yes && echo yes`
2050
+ ac_test_CFLAGS=${CFLAGS+set}
2051
+ ac_save_CFLAGS=$CFLAGS
2052
+ CFLAGS="-g"
2053
+ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2054
+ echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2055
+ if test "${ac_cv_prog_cc_g+set}" = set; then
2056
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2057
+ else
2058
+ cat >conftest.$ac_ext <<_ACEOF
2059
+ /* confdefs.h. */
2060
+ _ACEOF
2061
+ cat confdefs.h >>conftest.$ac_ext
2062
+ cat >>conftest.$ac_ext <<_ACEOF
2063
+ /* end confdefs.h. */
2064
+
2065
+ int
2066
+ main ()
2067
+ {
2068
+
2069
+ ;
2070
+ return 0;
2071
+ }
2072
+ _ACEOF
2073
+ rm -f conftest.$ac_objext
2074
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2075
+ (eval $ac_compile) 2>conftest.er1
2076
+ ac_status=$?
2077
+ grep -v '^ *+' conftest.er1 >conftest.err
2078
+ rm -f conftest.er1
2079
+ cat conftest.err >&5
2080
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081
+ (exit $ac_status); } &&
2082
+ { ac_try='test -z "$ac_c_werror_flag"
2083
+ || test ! -s conftest.err'
2084
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2085
+ (eval $ac_try) 2>&5
2086
+ ac_status=$?
2087
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088
+ (exit $ac_status); }; } &&
2089
+ { ac_try='test -s conftest.$ac_objext'
2090
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2091
+ (eval $ac_try) 2>&5
2092
+ ac_status=$?
2093
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094
+ (exit $ac_status); }; }; then
2095
+ ac_cv_prog_cc_g=yes
2096
+ else
2097
+ echo "$as_me: failed program was:" >&5
2098
+ sed 's/^/| /' conftest.$ac_ext >&5
2099
+
2100
+ ac_cv_prog_cc_g=no
2101
+ fi
2102
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2103
+ fi
2104
+ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2105
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2106
+ if test "$ac_test_CFLAGS" = set; then
2107
+ CFLAGS=$ac_save_CFLAGS
2108
+ elif test $ac_cv_prog_cc_g = yes; then
2109
+ if test "$GCC" = yes; then
2110
+ CFLAGS="-g -O2"
2111
+ else
2112
+ CFLAGS="-g"
2113
+ fi
2114
+ else
2115
+ if test "$GCC" = yes; then
2116
+ CFLAGS="-O2"
2117
+ else
2118
+ CFLAGS=
2119
+ fi
2120
+ fi
2121
+ echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2122
+ echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2123
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
2124
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2125
+ else
2126
+ ac_cv_prog_cc_stdc=no
2127
+ ac_save_CC=$CC
2128
+ cat >conftest.$ac_ext <<_ACEOF
2129
+ /* confdefs.h. */
2130
+ _ACEOF
2131
+ cat confdefs.h >>conftest.$ac_ext
2132
+ cat >>conftest.$ac_ext <<_ACEOF
2133
+ /* end confdefs.h. */
2134
+ #include <stdarg.h>
2135
+ #include <stdio.h>
2136
+ #include <sys/types.h>
2137
+ #include <sys/stat.h>
2138
+ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2139
+ struct buf { int x; };
2140
+ FILE * (*rcsopen) (struct buf *, struct stat *, int);
2141
+ static char *e (p, i)
2142
+ char **p;
2143
+ int i;
2144
+ {
2145
+ return p[i];
2146
+ }
2147
+ static char *f (char * (*g) (char **, int), char **p, ...)
2148
+ {
2149
+ char *s;
2150
+ va_list v;
2151
+ va_start (v,p);
2152
+ s = g (p, va_arg (v,int));
2153
+ va_end (v);
2154
+ return s;
2155
+ }
2156
+
2157
+ /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2158
+ function prototypes and stuff, but not '\xHH' hex character constants.
2159
+ These don't provoke an error unfortunately, instead are silently treated
2160
+ as 'x'. The following induces an error, until -std1 is added to get
2161
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2162
+ array size at least. It's necessary to write '\x00'==0 to get something
2163
+ that's true only with -std1. */
2164
+ int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2165
+
2166
+ int test (int i, double x);
2167
+ struct s1 {int (*f) (int a);};
2168
+ struct s2 {int (*f) (double a);};
2169
+ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2170
+ int argc;
2171
+ char **argv;
2172
+ int
2173
+ main ()
2174
+ {
2175
+ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2176
+ ;
2177
+ return 0;
2178
+ }
2179
+ _ACEOF
2180
+ # Don't try gcc -ansi; that turns off useful extensions and
2181
+ # breaks some systems' header files.
2182
+ # AIX -qlanglvl=ansi
2183
+ # Ultrix and OSF/1 -std1
2184
+ # HP-UX 10.20 and later -Ae
2185
+ # HP-UX older versions -Aa -D_HPUX_SOURCE
2186
+ # SVR4 -Xc -D__EXTENSIONS__
2187
+ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2188
+ do
2189
+ CC="$ac_save_CC $ac_arg"
2190
+ rm -f conftest.$ac_objext
2191
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192
+ (eval $ac_compile) 2>conftest.er1
2193
+ ac_status=$?
2194
+ grep -v '^ *+' conftest.er1 >conftest.err
2195
+ rm -f conftest.er1
2196
+ cat conftest.err >&5
2197
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198
+ (exit $ac_status); } &&
2199
+ { ac_try='test -z "$ac_c_werror_flag"
2200
+ || test ! -s conftest.err'
2201
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202
+ (eval $ac_try) 2>&5
2203
+ ac_status=$?
2204
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205
+ (exit $ac_status); }; } &&
2206
+ { ac_try='test -s conftest.$ac_objext'
2207
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2208
+ (eval $ac_try) 2>&5
2209
+ ac_status=$?
2210
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211
+ (exit $ac_status); }; }; then
2212
+ ac_cv_prog_cc_stdc=$ac_arg
2213
+ break
2214
+ else
2215
+ echo "$as_me: failed program was:" >&5
2216
+ sed 's/^/| /' conftest.$ac_ext >&5
2217
+
2218
+ fi
2219
+ rm -f conftest.err conftest.$ac_objext
2220
+ done
2221
+ rm -f conftest.$ac_ext conftest.$ac_objext
2222
+ CC=$ac_save_CC
2223
+
2224
+ fi
2225
+
2226
+ case "x$ac_cv_prog_cc_stdc" in
2227
+ x|xno)
2228
+ echo "$as_me:$LINENO: result: none needed" >&5
2229
+ echo "${ECHO_T}none needed" >&6 ;;
2230
+ *)
2231
+ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2232
+ echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2233
+ CC="$CC $ac_cv_prog_cc_stdc" ;;
2234
+ esac
2235
+
2236
+ # Some people use a C++ compiler to compile C. Since we use `exit',
2237
+ # in C++ we need to declare it. In case someone uses the same compiler
2238
+ # for both compiling C and C++ we need to have the C++ compiler decide
2239
+ # the declaration of exit, since it's the most demanding environment.
2240
+ cat >conftest.$ac_ext <<_ACEOF
2241
+ #ifndef __cplusplus
2242
+ choke me
2243
+ #endif
2244
+ _ACEOF
2245
+ rm -f conftest.$ac_objext
2246
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2247
+ (eval $ac_compile) 2>conftest.er1
2248
+ ac_status=$?
2249
+ grep -v '^ *+' conftest.er1 >conftest.err
2250
+ rm -f conftest.er1
2251
+ cat conftest.err >&5
2252
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253
+ (exit $ac_status); } &&
2254
+ { ac_try='test -z "$ac_c_werror_flag"
2255
+ || test ! -s conftest.err'
2256
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257
+ (eval $ac_try) 2>&5
2258
+ ac_status=$?
2259
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260
+ (exit $ac_status); }; } &&
2261
+ { ac_try='test -s conftest.$ac_objext'
2262
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263
+ (eval $ac_try) 2>&5
2264
+ ac_status=$?
2265
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266
+ (exit $ac_status); }; }; then
2267
+ for ac_declaration in \
2268
+ '' \
2269
+ 'extern "C" void std::exit (int) throw (); using std::exit;' \
2270
+ 'extern "C" void std::exit (int); using std::exit;' \
2271
+ 'extern "C" void exit (int) throw ();' \
2272
+ 'extern "C" void exit (int);' \
2273
+ 'void exit (int);'
2274
+ do
2275
+ cat >conftest.$ac_ext <<_ACEOF
2276
+ /* confdefs.h. */
2277
+ _ACEOF
2278
+ cat confdefs.h >>conftest.$ac_ext
2279
+ cat >>conftest.$ac_ext <<_ACEOF
2280
+ /* end confdefs.h. */
2281
+ $ac_declaration
2282
+ #include <stdlib.h>
2283
+ int
2284
+ main ()
2285
+ {
2286
+ exit (42);
2287
+ ;
2288
+ return 0;
2289
+ }
2290
+ _ACEOF
2291
+ rm -f conftest.$ac_objext
2292
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2293
+ (eval $ac_compile) 2>conftest.er1
2294
+ ac_status=$?
2295
+ grep -v '^ *+' conftest.er1 >conftest.err
2296
+ rm -f conftest.er1
2297
+ cat conftest.err >&5
2298
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299
+ (exit $ac_status); } &&
2300
+ { ac_try='test -z "$ac_c_werror_flag"
2301
+ || test ! -s conftest.err'
2302
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303
+ (eval $ac_try) 2>&5
2304
+ ac_status=$?
2305
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306
+ (exit $ac_status); }; } &&
2307
+ { ac_try='test -s conftest.$ac_objext'
2308
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309
+ (eval $ac_try) 2>&5
2310
+ ac_status=$?
2311
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312
+ (exit $ac_status); }; }; then
2313
+ :
2314
+ else
2315
+ echo "$as_me: failed program was:" >&5
2316
+ sed 's/^/| /' conftest.$ac_ext >&5
2317
+
2318
+ continue
2319
+ fi
2320
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2321
+ cat >conftest.$ac_ext <<_ACEOF
2322
+ /* confdefs.h. */
2323
+ _ACEOF
2324
+ cat confdefs.h >>conftest.$ac_ext
2325
+ cat >>conftest.$ac_ext <<_ACEOF
2326
+ /* end confdefs.h. */
2327
+ $ac_declaration
2328
+ int
2329
+ main ()
2330
+ {
2331
+ exit (42);
2332
+ ;
2333
+ return 0;
2334
+ }
2335
+ _ACEOF
2336
+ rm -f conftest.$ac_objext
2337
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2338
+ (eval $ac_compile) 2>conftest.er1
2339
+ ac_status=$?
2340
+ grep -v '^ *+' conftest.er1 >conftest.err
2341
+ rm -f conftest.er1
2342
+ cat conftest.err >&5
2343
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344
+ (exit $ac_status); } &&
2345
+ { ac_try='test -z "$ac_c_werror_flag"
2346
+ || test ! -s conftest.err'
2347
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348
+ (eval $ac_try) 2>&5
2349
+ ac_status=$?
2350
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351
+ (exit $ac_status); }; } &&
2352
+ { ac_try='test -s conftest.$ac_objext'
2353
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354
+ (eval $ac_try) 2>&5
2355
+ ac_status=$?
2356
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357
+ (exit $ac_status); }; }; then
2358
+ break
2359
+ else
2360
+ echo "$as_me: failed program was:" >&5
2361
+ sed 's/^/| /' conftest.$ac_ext >&5
2362
+
2363
+ fi
2364
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2365
+ done
2366
+ rm -f conftest*
2367
+ if test -n "$ac_declaration"; then
2368
+ echo '#ifdef __cplusplus' >>confdefs.h
2369
+ echo $ac_declaration >>confdefs.h
2370
+ echo '#endif' >>confdefs.h
2371
+ fi
2372
+
2373
+ else
2374
+ echo "$as_me: failed program was:" >&5
2375
+ sed 's/^/| /' conftest.$ac_ext >&5
2376
+
2377
+ fi
2378
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2379
+ ac_ext=c
2380
+ ac_cpp='$CPP $CPPFLAGS'
2381
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384
+
2385
+ if test -n "$ac_tool_prefix"; then
2386
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2387
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2388
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
2389
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2390
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
2391
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2392
+ else
2393
+ if test -n "$RANLIB"; then
2394
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2395
+ else
2396
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397
+ for as_dir in $PATH
2398
+ do
2399
+ IFS=$as_save_IFS
2400
+ test -z "$as_dir" && as_dir=.
2401
+ for ac_exec_ext in '' $ac_executable_extensions; do
2402
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2404
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405
+ break 2
2406
+ fi
2407
+ done
2408
+ done
2409
+
2410
+ fi
2411
+ fi
2412
+ RANLIB=$ac_cv_prog_RANLIB
2413
+ if test -n "$RANLIB"; then
2414
+ echo "$as_me:$LINENO: result: $RANLIB" >&5
2415
+ echo "${ECHO_T}$RANLIB" >&6
2416
+ else
2417
+ echo "$as_me:$LINENO: result: no" >&5
2418
+ echo "${ECHO_T}no" >&6
2419
+ fi
2420
+
2421
+ fi
2422
+ if test -z "$ac_cv_prog_RANLIB"; then
2423
+ ac_ct_RANLIB=$RANLIB
2424
+ # Extract the first word of "ranlib", so it can be a program name with args.
2425
+ set dummy ranlib; ac_word=$2
2426
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
2427
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2428
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2429
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2430
+ else
2431
+ if test -n "$ac_ct_RANLIB"; then
2432
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2433
+ else
2434
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435
+ for as_dir in $PATH
2436
+ do
2437
+ IFS=$as_save_IFS
2438
+ test -z "$as_dir" && as_dir=.
2439
+ for ac_exec_ext in '' $ac_executable_extensions; do
2440
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2441
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
2442
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443
+ break 2
2444
+ fi
2445
+ done
2446
+ done
2447
+
2448
+ test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2449
+ fi
2450
+ fi
2451
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2452
+ if test -n "$ac_ct_RANLIB"; then
2453
+ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2454
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
2455
+ else
2456
+ echo "$as_me:$LINENO: result: no" >&5
2457
+ echo "${ECHO_T}no" >&6
2458
+ fi
2459
+
2460
+ RANLIB=$ac_ct_RANLIB
2461
+ else
2462
+ RANLIB="$ac_cv_prog_RANLIB"
2463
+ fi
2464
+
2465
+ if test -n "$ac_tool_prefix"; then
2466
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2467
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
2468
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
2469
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2470
+ if test "${ac_cv_prog_STRIP+set}" = set; then
2471
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2472
+ else
2473
+ if test -n "$STRIP"; then
2474
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2475
+ else
2476
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477
+ for as_dir in $PATH
2478
+ do
2479
+ IFS=$as_save_IFS
2480
+ test -z "$as_dir" && as_dir=.
2481
+ for ac_exec_ext in '' $ac_executable_extensions; do
2482
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2483
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2484
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485
+ break 2
2486
+ fi
2487
+ done
2488
+ done
2489
+
2490
+ fi
2491
+ fi
2492
+ STRIP=$ac_cv_prog_STRIP
2493
+ if test -n "$STRIP"; then
2494
+ echo "$as_me:$LINENO: result: $STRIP" >&5
2495
+ echo "${ECHO_T}$STRIP" >&6
2496
+ else
2497
+ echo "$as_me:$LINENO: result: no" >&5
2498
+ echo "${ECHO_T}no" >&6
2499
+ fi
2500
+
2501
+ fi
2502
+ if test -z "$ac_cv_prog_STRIP"; then
2503
+ ac_ct_STRIP=$STRIP
2504
+ # Extract the first word of "strip", so it can be a program name with args.
2505
+ set dummy strip; ac_word=$2
2506
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
2507
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2508
+ if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2509
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2510
+ else
2511
+ if test -n "$ac_ct_STRIP"; then
2512
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2513
+ else
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_prog_ac_ct_STRIP="strip"
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
+ test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2529
+ fi
2530
+ fi
2531
+ ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2532
+ if test -n "$ac_ct_STRIP"; then
2533
+ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2534
+ echo "${ECHO_T}$ac_ct_STRIP" >&6
2535
+ else
2536
+ echo "$as_me:$LINENO: result: no" >&5
2537
+ echo "${ECHO_T}no" >&6
2538
+ fi
2539
+
2540
+ STRIP=$ac_ct_STRIP
2541
+ else
2542
+ STRIP="$ac_cv_prog_STRIP"
2543
+ fi
2544
+
2545
+
2546
+
2547
+ printf "*** %s ***\n" "Host support" 1>&2
2548
+
2549
+
2550
+
2551
+ echo "$as_me:$LINENO: checking C flags dependant on host system type" >&5
2552
+ echo $ECHO_N "checking C flags dependant on host system type... $ECHO_C" >&6
2553
+
2554
+ case $host_os in
2555
+ darwin*)
2556
+ CFLAGS="$CFLAGS -DOS_DARWIN -DDSO_DLFCN"
2557
+ supported_os="darwin"
2558
+ ;;
2559
+ solaris*)
2560
+ CFLAGS="$CFLAGS -DOS_SOLARIS -DDSO_DLFCN"
2561
+ supported_os="solaris"
2562
+ LIBS="$LIBS -ldl -lthread"
2563
+ ;;
2564
+ linux*)
2565
+ CFLAGS="$CFLAGS -DOS_LINUX -DDSO_DLFCN"
2566
+ supported_os="linux"
2567
+ LIBS="$LIBS -ldl -lpthread"
2568
+ ;;
2569
+ cygwin)
2570
+ CFLAGS="$CFLAGS -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID"
2571
+ supported_os="win32"
2572
+ ;;
2573
+ sysv)
2574
+ CFLAGS="$CFLAGS -DOS_SYSV -DDSO_DLFCN"
2575
+ LIBS="$LIBS -ldl"
2576
+ ;;
2577
+ sysv4)
2578
+ CFLAGS="$CFLAGS -DOS_SYSV -DDSO_DLFCN -Kthread"
2579
+ LDFLAGS="-Kthread $LDFLAGS"
2580
+ LIBS="$LIBS -ldl"
2581
+ ;;
2582
+ freebsd*)
2583
+ CFLAGS="$CFLAGS -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread"
2584
+ LDFLAGS="-pthread $LDFLAGS"
2585
+ supported_os="freebsd"
2586
+ ;;
2587
+ osf5*)
2588
+ CFLAGS="$CFLAGS -pthread -DOS_TRU64 -DDSO_DLFCN -D_XOPEN_SOURCE_EXTENDED"
2589
+ LDFLAGS="$LDFLAGS -pthread"
2590
+ ;;
2591
+ hpux*)
2592
+ CFLAGS="$CFLAGS -pthread -DOS_HPUX -DDSO_DLFCN"
2593
+ LDFLAGS="$LDFLAGS -pthread"
2594
+ LIBS="$LIBS -lpthread"
2595
+ supported_os="hp-ux"
2596
+ ;;
2597
+ aix5*)
2598
+ CFLAGS="$CFLAGS -DOS_AIX -DDSO_DLFCN"
2599
+ LDFLAGS="$LDFLAGS -ldl"
2600
+ ;;
2601
+ *)
2602
+ echo "$as_me:$LINENO: result: failed" >&5
2603
+ echo "${ECHO_T}failed" >&6
2604
+ { { echo "$as_me:$LINENO: error: Unsupported operating system \"$host_os\"" >&5
2605
+ echo "$as_me: error: Unsupported operating system \"$host_os\"" >&2;}
2606
+ { (exit 1); exit 1; }; }
2607
+ ;;
2608
+ esac
2609
+ case $host_cpu in
2610
+ powerpc)
2611
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
2612
+ HOST_CPU=$host_cpu;;
2613
+ sparc*)
2614
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
2615
+ HOST_CPU=$host_cpu;;
2616
+ i?86|x86)
2617
+ CFLAGS="$CFLAGS -DCPU=\\\"i386\\\""
2618
+ HOST_CPU=i386;;
2619
+ x86_64 | amd64)
2620
+ CFLAGS="$CFLAGS -DCPU=\\\"amd64\\\""
2621
+ HOST_CPU=amd64;;
2622
+ bs2000)
2623
+ CFLAGS="$CFLAGS -DCPU=\\\"osd\\\" -DCHARSET_EBCDIC -DOSD_POSIX"
2624
+ supported_os="osd"
2625
+ LDFLAGS="-Kno_link_stdlibs -B llm4"
2626
+ LIBS="$LIBS -lBLSLIB"
2627
+ LDCMD="/opt/C/bin/cc"
2628
+ HOST_CPU=osd;;
2629
+ mips)
2630
+ CFLAGS="$CFLAGS -DCPU=\\\"mips\\\""
2631
+ supported_os="mips"
2632
+ HOST_CPU=mips;;
2633
+ alpha*)
2634
+ CFLAGS="$CFLAGS -DCPU=\\\"alpha\\\""
2635
+ supported_os="alpha"
2636
+ HOST_CPU=alpha;;
2637
+ hppa2.0w|hppa64)
2638
+ CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0W\\\" -DSO_EXT=\\\"sl\\\""
2639
+ HOST_CPU=PA_RISC2.0W;;
2640
+ hppa2.0n)
2641
+ CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0N\\\" -DSO_EXT=\\\"sl\\\""
2642
+ HOST_CPU=PA_RISC2.0N;;
2643
+ hppa2.0)
2644
+ CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0\\\" -DSO_EXT=\\\"sl\\\""
2645
+ HOST_CPU=PA_RISC2.0;;
2646
+ mipsel)
2647
+ CFLAGS="$CFLAGS -DCPU=\\\"mipsel\\\""
2648
+ supported_os="mipsel"
2649
+ HOST_CPU=mipsel;;
2650
+ ia64w)
2651
+ if test "$supported_os" = "hp-ux"
2652
+ then
2653
+ CFLAGS="$CFLAGS -mlp64 -DCPU=\\\"IA64W\\\" -DSO_EXT=\\\"so\\\""
2654
+ LDFLAGS="$LDFLAGS -mlp64"
2655
+ else
2656
+ CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
2657
+ fi
2658
+ HOST_CPU=ia64;;
2659
+ ia64|ia64n)
2660
+ if test "$supported_os" = "hp-ux"
2661
+ then
2662
+ CFLAGS="$CFLAGS -milp32 -DCPU=\\\"IA64N\\\" -DSO_EXT=\\\"so\\\""
2663
+ LDFLAGS="$LDFLAGS -milp32"
2664
+ HOST_CPU=IA64N
2665
+ else
2666
+ CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
2667
+ HOST_CPU=ia64
2668
+ fi
2669
+ ;;
2670
+ s390)
2671
+ CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
2672
+ supported_os="s390"
2673
+ HOST_CPU=s390;;
2674
+ arm*)
2675
+ CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
2676
+ supported_os="arm"
2677
+ HOST_CPU=arm;;
2678
+ *)
2679
+ echo "$as_me:$LINENO: result: failed" >&5
2680
+ echo "${ECHO_T}failed" >&6
2681
+ { { echo "$as_me:$LINENO: error: Unsupported CPU architecture \"$host_cpu\"" >&5
2682
+ echo "$as_me: error: Unsupported CPU architecture \"$host_cpu\"" >&2;}
2683
+ { (exit 1); exit 1; }; };;
2684
+ esac
2685
+
2686
+ echo "$as_me:$LINENO: result: ok" >&5
2687
+ echo "${ECHO_T}ok" >&6
2688
+
2689
+
2690
+
2691
+ if test "$supported_os" = "darwin"
2692
+ then
2693
+ if test -z "$JAVA_HOME" -a -d /System/Library/Frameworks/JavaVM.framework/Home; then
2694
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
2695
+ fi
2696
+
2697
+ _prevdir=`/bin/pwd`
2698
+ if test -n "$JAVA_HOME" -a -d "$JAVA_HOME/include"; then
2699
+ cd "$JAVA_HOME/include"
2700
+ elif test -n "$JAVA_HOME" -a -d "$JAVA_HOME/../Headers"; then
2701
+ cd "$JAVA_HOME/../Headers"
2702
+ else
2703
+ cd /System/Library/Frameworks/JavaVM.framework/Headers
2704
+ fi
2705
+ INCLUDES="$INCLUDES -I`/bin/pwd -P`"
2706
+ cd $_prevdir
2707
+ unset _prevdir
2708
+ fi
2709
+
2710
+
2711
+ printf "*** %s ***\n" "Java compilation tools" 1>&2
2712
+
2713
+
2714
+
2715
+
2716
+ # Check whether --with-java or --without-java was given.
2717
+ if test "${with_java+set}" = set; then
2718
+ withval="$with_java"
2719
+
2720
+ echo "$as_me:$LINENO: checking JAVA_HOME" >&5
2721
+ echo $ECHO_N "checking JAVA_HOME... $ECHO_C" >&6
2722
+ if test -d "$withval"
2723
+ then
2724
+ JAVA_HOME="$withval"
2725
+ echo "$as_me:$LINENO: result: $JAVA_HOME" >&5
2726
+ echo "${ECHO_T}$JAVA_HOME" >&6
2727
+ else
2728
+ echo "$as_me:$LINENO: result: failed" >&5
2729
+ echo "${ECHO_T}failed" >&6
2730
+ { { echo "$as_me:$LINENO: error: $withval is not a directory" >&5
2731
+ echo "$as_me: error: $withval is not a directory" >&2;}
2732
+ { (exit 1); exit 1; }; }
2733
+ fi
2734
+
2735
+
2736
+ fi;
2737
+ if test "x$JAVA_HOME" = x
2738
+ then
2739
+ echo "$as_me:$LINENO: checking for JDK location" >&5
2740
+ echo $ECHO_N "checking for JDK location... $ECHO_C" >&6
2741
+ # Oh well, nobody set JAVA_HOME, have to guess
2742
+ # Check if we have java in the PATH.
2743
+ java_prog="`which java 2>/dev/null || true`"
2744
+ if test "x$java_prog" != x
2745
+ then
2746
+ java_bin="`dirname $java_prog`"
2747
+ java_top="`dirname $java_bin`"
2748
+ if test -f "$java_top/include/jni.h"
2749
+ then
2750
+ JAVA_HOME="$java_top"
2751
+ echo "$as_me:$LINENO: result: ${java_top}" >&5
2752
+ echo "${ECHO_T}${java_top}" >&6
2753
+ fi
2754
+ fi
2755
+ fi
2756
+ if test x"$JAVA_HOME" = x
2757
+ then
2758
+ { { echo "$as_me:$LINENO: error: Java Home not defined. Rerun with --with-java=... parameter" >&5
2759
+ echo "$as_me: error: Java Home not defined. Rerun with --with-java=... parameter" >&2;}
2760
+ { (exit 1); exit 1; }; }
2761
+ fi
2762
+
2763
+ if test -d $JAVA_HOME/Headers
2764
+ then
2765
+ JAVA_INC=Headers
2766
+ else
2767
+ JAVA_INC=include
2768
+ fi
2769
+
2770
+ tempval=""
2771
+ JAVA_OS=""
2772
+
2773
+ # Check whether --with-os-type or --without-os-type was given.
2774
+ if test "${with_os_type+set}" = set; then
2775
+ withval="$with_os_type"
2776
+
2777
+ tempval=$withval
2778
+ if test ! -d "$JAVA_HOME/$tempval"
2779
+ then
2780
+ { { echo "$as_me:$LINENO: error: Not a directory: ${JAVA_HOME}/${tempval}" >&5
2781
+ echo "$as_me: error: Not a directory: ${JAVA_HOME}/${tempval}" >&2;}
2782
+ { (exit 1); exit 1; }; }
2783
+ fi
2784
+ JAVA_OS=$tempval
2785
+
2786
+ else
2787
+
2788
+ echo "$as_me:$LINENO: checking for JDK os include directory" >&5
2789
+ echo $ECHO_N "checking for JDK os include directory... $ECHO_C" >&6
2790
+ JAVA_OS=NONE
2791
+ if test -f $JAVA_HOME/$JAVA_INC/jni_md.h
2792
+ then
2793
+ JAVA_OS=""
2794
+ else
2795
+ for f in $JAVA_HOME/$JAVA_INC/*/jni_md.h
2796
+ do
2797
+ if test -f $f; then
2798
+ JAVA_OS=`dirname $f`
2799
+ JAVA_OS=`basename $JAVA_OS`
2800
+ echo " $JAVA_OS"
2801
+ break
2802
+ fi
2803
+ done
2804
+ if test "x$JAVA_OS" = "xNONE"; then
2805
+ echo "$as_me:$LINENO: result: Cannot find jni_md.h in ${JAVA_HOME}/${OS}" >&5
2806
+ echo "${ECHO_T}Cannot find jni_md.h in ${JAVA_HOME}/${OS}" >&6
2807
+ { { echo "$as_me:$LINENO: error: You should retry --with-os-type=SUBDIR" >&5
2808
+ echo "$as_me: error: You should retry --with-os-type=SUBDIR" >&2;}
2809
+ { (exit 1); exit 1; }; }
2810
+ fi
2811
+ fi
2812
+
2813
+ fi;
2814
+
2815
+ if test -z "${JAVA_OS}"
2816
+ then
2817
+ echo "$as_me:$LINENO: result: jni_md.h found in $JAVA_HOME/$JAVA_INC" >&5
2818
+ echo "${ECHO_T}jni_md.h found in $JAVA_HOME/$JAVA_INC" >&6
2819
+ INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/$JAVA_INC"
2820
+ else
2821
+ INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$supported_os"
2822
+ fi
2823
+
2824
+ if test "$GCC" = "yes"
2825
+ then
2826
+ CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
2827
+ echo "$as_me:$LINENO: result: gcc flags added" >&5
2828
+ echo "${ECHO_T}gcc flags added" >&6
2829
+ fi
2830
+ if test -z "$LDCMD"
2831
+ then
2832
+ LDCMD="$CC"
2833
+ fi
2834
+
2835
+ if test "$supported_os" = "linux"
2836
+ then
2837
+
2838
+ ac_ext=c
2839
+ ac_cpp='$CPP $CPPFLAGS'
2840
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2841
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2842
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843
+ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2844
+ echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2845
+ # On Suns, sometimes $CPP names a directory.
2846
+ if test -n "$CPP" && test -d "$CPP"; then
2847
+ CPP=
2848
+ fi
2849
+ if test -z "$CPP"; then
2850
+ if test "${ac_cv_prog_CPP+set}" = set; then
2851
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2852
+ else
2853
+ # Double quotes because CPP needs to be expanded
2854
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2855
+ do
2856
+ ac_preproc_ok=false
2857
+ for ac_c_preproc_warn_flag in '' yes
2858
+ do
2859
+ # Use a header file that comes with gcc, so configuring glibc
2860
+ # with a fresh cross-compiler works.
2861
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2862
+ # <limits.h> exists even on freestanding compilers.
2863
+ # On the NeXT, cc -E runs the code through the compiler's parser,
2864
+ # not just through cpp. "Syntax error" is here to catch this case.
2865
+ cat >conftest.$ac_ext <<_ACEOF
2866
+ /* confdefs.h. */
2867
+ _ACEOF
2868
+ cat confdefs.h >>conftest.$ac_ext
2869
+ cat >>conftest.$ac_ext <<_ACEOF
2870
+ /* end confdefs.h. */
2871
+ #ifdef __STDC__
2872
+ # include <limits.h>
2873
+ #else
2874
+ # include <assert.h>
2875
+ #endif
2876
+ Syntax error
2877
+ _ACEOF
2878
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2879
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2880
+ ac_status=$?
2881
+ grep -v '^ *+' conftest.er1 >conftest.err
2882
+ rm -f conftest.er1
2883
+ cat conftest.err >&5
2884
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885
+ (exit $ac_status); } >/dev/null; then
2886
+ if test -s conftest.err; then
2887
+ ac_cpp_err=$ac_c_preproc_warn_flag
2888
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2889
+ else
2890
+ ac_cpp_err=
2891
+ fi
2892
+ else
2893
+ ac_cpp_err=yes
2894
+ fi
2895
+ if test -z "$ac_cpp_err"; then
2896
+ :
2897
+ else
2898
+ echo "$as_me: failed program was:" >&5
2899
+ sed 's/^/| /' conftest.$ac_ext >&5
2900
+
2901
+ # Broken: fails on valid input.
2902
+ continue
2903
+ fi
2904
+ rm -f conftest.err conftest.$ac_ext
2905
+
2906
+ # OK, works on sane cases. Now check whether non-existent headers
2907
+ # can be detected and how.
2908
+ cat >conftest.$ac_ext <<_ACEOF
2909
+ /* confdefs.h. */
2910
+ _ACEOF
2911
+ cat confdefs.h >>conftest.$ac_ext
2912
+ cat >>conftest.$ac_ext <<_ACEOF
2913
+ /* end confdefs.h. */
2914
+ #include <ac_nonexistent.h>
2915
+ _ACEOF
2916
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2917
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2918
+ ac_status=$?
2919
+ grep -v '^ *+' conftest.er1 >conftest.err
2920
+ rm -f conftest.er1
2921
+ cat conftest.err >&5
2922
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923
+ (exit $ac_status); } >/dev/null; then
2924
+ if test -s conftest.err; then
2925
+ ac_cpp_err=$ac_c_preproc_warn_flag
2926
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2927
+ else
2928
+ ac_cpp_err=
2929
+ fi
2930
+ else
2931
+ ac_cpp_err=yes
2932
+ fi
2933
+ if test -z "$ac_cpp_err"; then
2934
+ # Broken: success on invalid input.
2935
+ continue
2936
+ else
2937
+ echo "$as_me: failed program was:" >&5
2938
+ sed 's/^/| /' conftest.$ac_ext >&5
2939
+
2940
+ # Passes both tests.
2941
+ ac_preproc_ok=:
2942
+ break
2943
+ fi
2944
+ rm -f conftest.err conftest.$ac_ext
2945
+
2946
+ done
2947
+ # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2948
+ rm -f conftest.err conftest.$ac_ext
2949
+ if $ac_preproc_ok; then
2950
+ break
2951
+ fi
2952
+
2953
+ done
2954
+ ac_cv_prog_CPP=$CPP
2955
+
2956
+ fi
2957
+ CPP=$ac_cv_prog_CPP
2958
+ else
2959
+ ac_cv_prog_CPP=$CPP
2960
+ fi
2961
+ echo "$as_me:$LINENO: result: $CPP" >&5
2962
+ echo "${ECHO_T}$CPP" >&6
2963
+ ac_preproc_ok=false
2964
+ for ac_c_preproc_warn_flag in '' yes
2965
+ do
2966
+ # Use a header file that comes with gcc, so configuring glibc
2967
+ # with a fresh cross-compiler works.
2968
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2969
+ # <limits.h> exists even on freestanding compilers.
2970
+ # On the NeXT, cc -E runs the code through the compiler's parser,
2971
+ # not just through cpp. "Syntax error" is here to catch this case.
2972
+ cat >conftest.$ac_ext <<_ACEOF
2973
+ /* confdefs.h. */
2974
+ _ACEOF
2975
+ cat confdefs.h >>conftest.$ac_ext
2976
+ cat >>conftest.$ac_ext <<_ACEOF
2977
+ /* end confdefs.h. */
2978
+ #ifdef __STDC__
2979
+ # include <limits.h>
2980
+ #else
2981
+ # include <assert.h>
2982
+ #endif
2983
+ Syntax error
2984
+ _ACEOF
2985
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2986
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2987
+ ac_status=$?
2988
+ grep -v '^ *+' conftest.er1 >conftest.err
2989
+ rm -f conftest.er1
2990
+ cat conftest.err >&5
2991
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
+ (exit $ac_status); } >/dev/null; then
2993
+ if test -s conftest.err; then
2994
+ ac_cpp_err=$ac_c_preproc_warn_flag
2995
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2996
+ else
2997
+ ac_cpp_err=
2998
+ fi
2999
+ else
3000
+ ac_cpp_err=yes
3001
+ fi
3002
+ if test -z "$ac_cpp_err"; then
3003
+ :
3004
+ else
3005
+ echo "$as_me: failed program was:" >&5
3006
+ sed 's/^/| /' conftest.$ac_ext >&5
3007
+
3008
+ # Broken: fails on valid input.
3009
+ continue
3010
+ fi
3011
+ rm -f conftest.err conftest.$ac_ext
3012
+
3013
+ # OK, works on sane cases. Now check whether non-existent headers
3014
+ # can be detected and how.
3015
+ cat >conftest.$ac_ext <<_ACEOF
3016
+ /* confdefs.h. */
3017
+ _ACEOF
3018
+ cat confdefs.h >>conftest.$ac_ext
3019
+ cat >>conftest.$ac_ext <<_ACEOF
3020
+ /* end confdefs.h. */
3021
+ #include <ac_nonexistent.h>
3022
+ _ACEOF
3023
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3024
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3025
+ ac_status=$?
3026
+ grep -v '^ *+' conftest.er1 >conftest.err
3027
+ rm -f conftest.er1
3028
+ cat conftest.err >&5
3029
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030
+ (exit $ac_status); } >/dev/null; then
3031
+ if test -s conftest.err; then
3032
+ ac_cpp_err=$ac_c_preproc_warn_flag
3033
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3034
+ else
3035
+ ac_cpp_err=
3036
+ fi
3037
+ else
3038
+ ac_cpp_err=yes
3039
+ fi
3040
+ if test -z "$ac_cpp_err"; then
3041
+ # Broken: success on invalid input.
3042
+ continue
3043
+ else
3044
+ echo "$as_me: failed program was:" >&5
3045
+ sed 's/^/| /' conftest.$ac_ext >&5
3046
+
3047
+ # Passes both tests.
3048
+ ac_preproc_ok=:
3049
+ break
3050
+ fi
3051
+ rm -f conftest.err conftest.$ac_ext
3052
+
3053
+ done
3054
+ # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3055
+ rm -f conftest.err conftest.$ac_ext
3056
+ if $ac_preproc_ok; then
3057
+ :
3058
+ else
3059
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3060
+ See \`config.log' for more details." >&5
3061
+ echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3062
+ See \`config.log' for more details." >&2;}
3063
+ { (exit 1); exit 1; }; }
3064
+ fi
3065
+
3066
+ ac_ext=c
3067
+ ac_cpp='$CPP $CPPFLAGS'
3068
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3069
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3070
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3071
+
3072
+
3073
+ echo "$as_me:$LINENO: checking for egrep" >&5
3074
+ echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3075
+ if test "${ac_cv_prog_egrep+set}" = set; then
3076
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3077
+ else
3078
+ if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3079
+ then ac_cv_prog_egrep='grep -E'
3080
+ else ac_cv_prog_egrep='egrep'
3081
+ fi
3082
+ fi
3083
+ echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3084
+ echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3085
+ EGREP=$ac_cv_prog_egrep
3086
+
3087
+
3088
+ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3089
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3090
+ if test "${ac_cv_header_stdc+set}" = set; then
3091
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3092
+ else
3093
+ cat >conftest.$ac_ext <<_ACEOF
3094
+ /* confdefs.h. */
3095
+ _ACEOF
3096
+ cat confdefs.h >>conftest.$ac_ext
3097
+ cat >>conftest.$ac_ext <<_ACEOF
3098
+ /* end confdefs.h. */
3099
+ #include <stdlib.h>
3100
+ #include <stdarg.h>
3101
+ #include <string.h>
3102
+ #include <float.h>
3103
+
3104
+ int
3105
+ main ()
3106
+ {
3107
+
3108
+ ;
3109
+ return 0;
3110
+ }
3111
+ _ACEOF
3112
+ rm -f conftest.$ac_objext
3113
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3114
+ (eval $ac_compile) 2>conftest.er1
3115
+ ac_status=$?
3116
+ grep -v '^ *+' conftest.er1 >conftest.err
3117
+ rm -f conftest.er1
3118
+ cat conftest.err >&5
3119
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120
+ (exit $ac_status); } &&
3121
+ { ac_try='test -z "$ac_c_werror_flag"
3122
+ || test ! -s conftest.err'
3123
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124
+ (eval $ac_try) 2>&5
3125
+ ac_status=$?
3126
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127
+ (exit $ac_status); }; } &&
3128
+ { ac_try='test -s conftest.$ac_objext'
3129
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130
+ (eval $ac_try) 2>&5
3131
+ ac_status=$?
3132
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133
+ (exit $ac_status); }; }; then
3134
+ ac_cv_header_stdc=yes
3135
+ else
3136
+ echo "$as_me: failed program was:" >&5
3137
+ sed 's/^/| /' conftest.$ac_ext >&5
3138
+
3139
+ ac_cv_header_stdc=no
3140
+ fi
3141
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3142
+
3143
+ if test $ac_cv_header_stdc = yes; then
3144
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3145
+ cat >conftest.$ac_ext <<_ACEOF
3146
+ /* confdefs.h. */
3147
+ _ACEOF
3148
+ cat confdefs.h >>conftest.$ac_ext
3149
+ cat >>conftest.$ac_ext <<_ACEOF
3150
+ /* end confdefs.h. */
3151
+ #include <string.h>
3152
+
3153
+ _ACEOF
3154
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3155
+ $EGREP "memchr" >/dev/null 2>&1; then
3156
+ :
3157
+ else
3158
+ ac_cv_header_stdc=no
3159
+ fi
3160
+ rm -f conftest*
3161
+
3162
+ fi
3163
+
3164
+ if test $ac_cv_header_stdc = yes; then
3165
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3166
+ cat >conftest.$ac_ext <<_ACEOF
3167
+ /* confdefs.h. */
3168
+ _ACEOF
3169
+ cat confdefs.h >>conftest.$ac_ext
3170
+ cat >>conftest.$ac_ext <<_ACEOF
3171
+ /* end confdefs.h. */
3172
+ #include <stdlib.h>
3173
+
3174
+ _ACEOF
3175
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3176
+ $EGREP "free" >/dev/null 2>&1; then
3177
+ :
3178
+ else
3179
+ ac_cv_header_stdc=no
3180
+ fi
3181
+ rm -f conftest*
3182
+
3183
+ fi
3184
+
3185
+ if test $ac_cv_header_stdc = yes; then
3186
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3187
+ if test "$cross_compiling" = yes; then
3188
+ :
3189
+ else
3190
+ cat >conftest.$ac_ext <<_ACEOF
3191
+ /* confdefs.h. */
3192
+ _ACEOF
3193
+ cat confdefs.h >>conftest.$ac_ext
3194
+ cat >>conftest.$ac_ext <<_ACEOF
3195
+ /* end confdefs.h. */
3196
+ #include <ctype.h>
3197
+ #if ((' ' & 0x0FF) == 0x020)
3198
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3199
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3200
+ #else
3201
+ # define ISLOWER(c) \
3202
+ (('a' <= (c) && (c) <= 'i') \
3203
+ || ('j' <= (c) && (c) <= 'r') \
3204
+ || ('s' <= (c) && (c) <= 'z'))
3205
+ # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3206
+ #endif
3207
+
3208
+ #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3209
+ int
3210
+ main ()
3211
+ {
3212
+ int i;
3213
+ for (i = 0; i < 256; i++)
3214
+ if (XOR (islower (i), ISLOWER (i))
3215
+ || toupper (i) != TOUPPER (i))
3216
+ exit(2);
3217
+ exit (0);
3218
+ }
3219
+ _ACEOF
3220
+ rm -f conftest$ac_exeext
3221
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3222
+ (eval $ac_link) 2>&5
3223
+ ac_status=$?
3224
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3226
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227
+ (eval $ac_try) 2>&5
3228
+ ac_status=$?
3229
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230
+ (exit $ac_status); }; }; then
3231
+ :
3232
+ else
3233
+ echo "$as_me: program exited with status $ac_status" >&5
3234
+ echo "$as_me: failed program was:" >&5
3235
+ sed 's/^/| /' conftest.$ac_ext >&5
3236
+
3237
+ ( exit $ac_status )
3238
+ ac_cv_header_stdc=no
3239
+ fi
3240
+ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3241
+ fi
3242
+ fi
3243
+ fi
3244
+ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3245
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
3246
+ if test $ac_cv_header_stdc = yes; then
3247
+
3248
+ cat >>confdefs.h <<\_ACEOF
3249
+ #define STDC_HEADERS 1
3250
+ _ACEOF
3251
+
3252
+ fi
3253
+
3254
+ # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3255
+
3256
+
3257
+
3258
+
3259
+
3260
+
3261
+
3262
+
3263
+
3264
+ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3265
+ inttypes.h stdint.h unistd.h
3266
+ do
3267
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3268
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
3269
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3270
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
3271
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3272
+ else
3273
+ cat >conftest.$ac_ext <<_ACEOF
3274
+ /* confdefs.h. */
3275
+ _ACEOF
3276
+ cat confdefs.h >>conftest.$ac_ext
3277
+ cat >>conftest.$ac_ext <<_ACEOF
3278
+ /* end confdefs.h. */
3279
+ $ac_includes_default
3280
+
3281
+ #include <$ac_header>
3282
+ _ACEOF
3283
+ rm -f conftest.$ac_objext
3284
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3285
+ (eval $ac_compile) 2>conftest.er1
3286
+ ac_status=$?
3287
+ grep -v '^ *+' conftest.er1 >conftest.err
3288
+ rm -f conftest.er1
3289
+ cat conftest.err >&5
3290
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291
+ (exit $ac_status); } &&
3292
+ { ac_try='test -z "$ac_c_werror_flag"
3293
+ || test ! -s conftest.err'
3294
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295
+ (eval $ac_try) 2>&5
3296
+ ac_status=$?
3297
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298
+ (exit $ac_status); }; } &&
3299
+ { ac_try='test -s conftest.$ac_objext'
3300
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301
+ (eval $ac_try) 2>&5
3302
+ ac_status=$?
3303
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
+ (exit $ac_status); }; }; then
3305
+ eval "$as_ac_Header=yes"
3306
+ else
3307
+ echo "$as_me: failed program was:" >&5
3308
+ sed 's/^/| /' conftest.$ac_ext >&5
3309
+
3310
+ eval "$as_ac_Header=no"
3311
+ fi
3312
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3313
+ fi
3314
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3315
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3316
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
3317
+ cat >>confdefs.h <<_ACEOF
3318
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3319
+ _ACEOF
3320
+
3321
+ fi
3322
+
3323
+ done
3324
+
3325
+
3326
+ if test "${ac_cv_header_sys_capability_h+set}" = set; then
3327
+ echo "$as_me:$LINENO: checking for sys/capability.h" >&5
3328
+ echo $ECHO_N "checking for sys/capability.h... $ECHO_C" >&6
3329
+ if test "${ac_cv_header_sys_capability_h+set}" = set; then
3330
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3331
+ fi
3332
+ echo "$as_me:$LINENO: result: $ac_cv_header_sys_capability_h" >&5
3333
+ echo "${ECHO_T}$ac_cv_header_sys_capability_h" >&6
3334
+ else
3335
+ # Is the header compilable?
3336
+ echo "$as_me:$LINENO: checking sys/capability.h usability" >&5
3337
+ echo $ECHO_N "checking sys/capability.h usability... $ECHO_C" >&6
3338
+ cat >conftest.$ac_ext <<_ACEOF
3339
+ /* confdefs.h. */
3340
+ _ACEOF
3341
+ cat confdefs.h >>conftest.$ac_ext
3342
+ cat >>conftest.$ac_ext <<_ACEOF
3343
+ /* end confdefs.h. */
3344
+ $ac_includes_default
3345
+ #include <sys/capability.h>
3346
+ _ACEOF
3347
+ rm -f conftest.$ac_objext
3348
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3349
+ (eval $ac_compile) 2>conftest.er1
3350
+ ac_status=$?
3351
+ grep -v '^ *+' conftest.er1 >conftest.err
3352
+ rm -f conftest.er1
3353
+ cat conftest.err >&5
3354
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355
+ (exit $ac_status); } &&
3356
+ { ac_try='test -z "$ac_c_werror_flag"
3357
+ || test ! -s conftest.err'
3358
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359
+ (eval $ac_try) 2>&5
3360
+ ac_status=$?
3361
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362
+ (exit $ac_status); }; } &&
3363
+ { ac_try='test -s conftest.$ac_objext'
3364
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365
+ (eval $ac_try) 2>&5
3366
+ ac_status=$?
3367
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368
+ (exit $ac_status); }; }; then
3369
+ ac_header_compiler=yes
3370
+ else
3371
+ echo "$as_me: failed program was:" >&5
3372
+ sed 's/^/| /' conftest.$ac_ext >&5
3373
+
3374
+ ac_header_compiler=no
3375
+ fi
3376
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3377
+ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3378
+ echo "${ECHO_T}$ac_header_compiler" >&6
3379
+
3380
+ # Is the header present?
3381
+ echo "$as_me:$LINENO: checking sys/capability.h presence" >&5
3382
+ echo $ECHO_N "checking sys/capability.h presence... $ECHO_C" >&6
3383
+ cat >conftest.$ac_ext <<_ACEOF
3384
+ /* confdefs.h. */
3385
+ _ACEOF
3386
+ cat confdefs.h >>conftest.$ac_ext
3387
+ cat >>conftest.$ac_ext <<_ACEOF
3388
+ /* end confdefs.h. */
3389
+ #include <sys/capability.h>
3390
+ _ACEOF
3391
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3392
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3393
+ ac_status=$?
3394
+ grep -v '^ *+' conftest.er1 >conftest.err
3395
+ rm -f conftest.er1
3396
+ cat conftest.err >&5
3397
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
+ (exit $ac_status); } >/dev/null; then
3399
+ if test -s conftest.err; then
3400
+ ac_cpp_err=$ac_c_preproc_warn_flag
3401
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3402
+ else
3403
+ ac_cpp_err=
3404
+ fi
3405
+ else
3406
+ ac_cpp_err=yes
3407
+ fi
3408
+ if test -z "$ac_cpp_err"; then
3409
+ ac_header_preproc=yes
3410
+ else
3411
+ echo "$as_me: failed program was:" >&5
3412
+ sed 's/^/| /' conftest.$ac_ext >&5
3413
+
3414
+ ac_header_preproc=no
3415
+ fi
3416
+ rm -f conftest.err conftest.$ac_ext
3417
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3418
+ echo "${ECHO_T}$ac_header_preproc" >&6
3419
+
3420
+ # So? What about this header?
3421
+ case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3422
+ yes:no: )
3423
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: accepted by the compiler, rejected by the preprocessor!" >&5
3424
+ echo "$as_me: WARNING: sys/capability.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3425
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: proceeding with the compiler's result" >&5
3426
+ echo "$as_me: WARNING: sys/capability.h: proceeding with the compiler's result" >&2;}
3427
+ ac_header_preproc=yes
3428
+ ;;
3429
+ no:yes:* )
3430
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: present but cannot be compiled" >&5
3431
+ echo "$as_me: WARNING: sys/capability.h: present but cannot be compiled" >&2;}
3432
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: check for missing prerequisite headers?" >&5
3433
+ echo "$as_me: WARNING: sys/capability.h: check for missing prerequisite headers?" >&2;}
3434
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: see the Autoconf documentation" >&5
3435
+ echo "$as_me: WARNING: sys/capability.h: see the Autoconf documentation" >&2;}
3436
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: section \"Present But Cannot Be Compiled\"" >&5
3437
+ echo "$as_me: WARNING: sys/capability.h: section \"Present But Cannot Be Compiled\"" >&2;}
3438
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: proceeding with the preprocessor's result" >&5
3439
+ echo "$as_me: WARNING: sys/capability.h: proceeding with the preprocessor's result" >&2;}
3440
+ { echo "$as_me:$LINENO: WARNING: sys/capability.h: in the future, the compiler will take precedence" >&5
3441
+ echo "$as_me: WARNING: sys/capability.h: in the future, the compiler will take precedence" >&2;}
3442
+ (
3443
+ cat <<\_ASBOX
3444
+ ## ------------------------------------------ ##
3445
+ ## Report this to the AC_PACKAGE_NAME lists. ##
3446
+ ## ------------------------------------------ ##
3447
+ _ASBOX
3448
+ ) |
3449
+ sed "s/^/$as_me: WARNING: /" >&2
3450
+ ;;
3451
+ esac
3452
+ echo "$as_me:$LINENO: checking for sys/capability.h" >&5
3453
+ echo $ECHO_N "checking for sys/capability.h... $ECHO_C" >&6
3454
+ if test "${ac_cv_header_sys_capability_h+set}" = set; then
3455
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3456
+ else
3457
+ ac_cv_header_sys_capability_h=$ac_header_preproc
3458
+ fi
3459
+ echo "$as_me:$LINENO: result: $ac_cv_header_sys_capability_h" >&5
3460
+ echo "${ECHO_T}$ac_cv_header_sys_capability_h" >&6
3461
+
3462
+ fi
3463
+ if test $ac_cv_header_sys_capability_h = yes; then
3464
+ CFLAGS="$CFLAGS -DHAVE_LIBCAP"
3465
+ else
3466
+ { echo "$as_me:$LINENO: WARNING: cannot find headers for libcap" >&5
3467
+ echo "$as_me: WARNING: cannot find headers for libcap" >&2;}
3468
+ fi
3469
+
3470
+
3471
+ fi
3472
+
3473
+ if test -z "$STRIPFLAGS"
3474
+ then
3475
+ STRIP="@: "
3476
+ else
3477
+ STRIP="$STRIP $STRIPFLAGS"
3478
+ fi
3479
+
3480
+
3481
+
3482
+ printf "*** %s ***\n" "Writing output files" 1>&2
3483
+
3484
+
3485
+ ac_config_files="$ac_config_files Makefile Makedefs native/Makefile"
3486
+ cat >confcache <<\_ACEOF
3487
+ # This file is a shell script that caches the results of configure
3488
+ # tests run on this system so they can be shared between configure
3489
+ # scripts and configure runs, see configure's option --config-cache.
3490
+ # It is not useful on other systems. If it contains results you don't
3491
+ # want to keep, you may remove or edit it.
3492
+ #
3493
+ # config.status only pays attention to the cache file if you give it
3494
+ # the --recheck option to rerun configure.
3495
+ #
3496
+ # `ac_cv_env_foo' variables (set or unset) will be overridden when
3497
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
3498
+ # following values.
3499
+
3500
+ _ACEOF
3501
+
3502
+ # The following way of writing the cache mishandles newlines in values,
3503
+ # but we know of no workaround that is simple, portable, and efficient.
3504
+ # So, don't put newlines in cache variables' values.
3505
+ # Ultrix sh set writes to stderr and can't be redirected directly,
3506
+ # and sets the high bit in the cache file unless we assign to the vars.
3507
+ {
3508
+ (set) 2>&1 |
3509
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
3510
+ *ac_space=\ *)
3511
+ # `set' does not quote correctly, so add quotes (double-quote
3512
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
3513
+ sed -n \
3514
+ "s/'/'\\\\''/g;
3515
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3516
+ ;;
3517
+ *)
3518
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
3519
+ sed -n \
3520
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3521
+ ;;
3522
+ esac;
3523
+ } |
3524
+ sed '
3525
+ t clear
3526
+ : clear
3527
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3528
+ t end
3529
+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3530
+ : end' >>confcache
3531
+ if diff $cache_file confcache >/dev/null 2>&1; then :; else
3532
+ if test -w $cache_file; then
3533
+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3534
+ cat confcache >$cache_file
3535
+ else
3536
+ echo "not updating unwritable cache $cache_file"
3537
+ fi
3538
+ fi
3539
+ rm -f confcache
3540
+
3541
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
3542
+ # Let make expand exec_prefix.
3543
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3544
+
3545
+ # VPATH may cause trouble with some makes, so we remove $(srcdir),
3546
+ # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3547
+ # trailing colons and then remove the whole line if VPATH becomes empty
3548
+ # (actually we leave an empty line to preserve line numbers).
3549
+ if test "x$srcdir" = x.; then
3550
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
3551
+ s/:*\$(srcdir):*/:/;
3552
+ s/:*\${srcdir}:*/:/;
3553
+ s/:*@srcdir@:*/:/;
3554
+ s/^\([^=]*=[ ]*\):*/\1/;
3555
+ s/:*$//;
3556
+ s/^[^=]*=[ ]*$//;
3557
+ }'
3558
+ fi
3559
+
3560
+ # Transform confdefs.h into DEFS.
3561
+ # Protect against shell expansion while executing Makefile rules.
3562
+ # Protect against Makefile macro expansion.
3563
+ #
3564
+ # If the first sed substitution is executed (which looks for macros that
3565
+ # take arguments), then we branch to the quote section. Otherwise,
3566
+ # look for a macro that doesn't take arguments.
3567
+ cat >confdef2opt.sed <<\_ACEOF
3568
+ t clear
3569
+ : clear
3570
+ s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3571
+ t quote
3572
+ s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3573
+ t quote
3574
+ d
3575
+ : quote
3576
+ s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3577
+ s,\[,\\&,g
3578
+ s,\],\\&,g
3579
+ s,\$,$$,g
3580
+ p
3581
+ _ACEOF
3582
+ # We use echo to avoid assuming a particular line-breaking character.
3583
+ # The extra dot is to prevent the shell from consuming trailing
3584
+ # line-breaks from the sub-command output. A line-break within
3585
+ # single-quotes doesn't work because, if this script is created in a
3586
+ # platform that uses two characters for line-breaks (e.g., DOS), tr
3587
+ # would break.
3588
+ ac_LF_and_DOT=`echo; echo .`
3589
+ DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3590
+ rm -f confdef2opt.sed
3591
+
3592
+
3593
+ ac_libobjs=
3594
+ ac_ltlibobjs=
3595
+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3596
+ # 1. Remove the extension, and $U if already installed.
3597
+ ac_i=`echo "$ac_i" |
3598
+ sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3599
+ # 2. Add them.
3600
+ ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3601
+ ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3602
+ done
3603
+ LIBOBJS=$ac_libobjs
3604
+
3605
+ LTLIBOBJS=$ac_ltlibobjs
3606
+
3607
+
3608
+
3609
+ : ${CONFIG_STATUS=./config.status}
3610
+ ac_clean_files_save=$ac_clean_files
3611
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3612
+ { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3613
+ echo "$as_me: creating $CONFIG_STATUS" >&6;}
3614
+ cat >$CONFIG_STATUS <<_ACEOF
3615
+ #! $SHELL
3616
+ # Generated by $as_me.
3617
+ # Run this file to recreate the current configuration.
3618
+ # Compiler output produced by configure, useful for debugging
3619
+ # configure, is in config.log if it exists.
3620
+
3621
+ debug=false
3622
+ ac_cs_recheck=false
3623
+ ac_cs_silent=false
3624
+ SHELL=\${CONFIG_SHELL-$SHELL}
3625
+ _ACEOF
3626
+
3627
+ cat >>$CONFIG_STATUS <<\_ACEOF
3628
+ ## --------------------- ##
3629
+ ## M4sh Initialization. ##
3630
+ ## --------------------- ##
3631
+
3632
+ # Be Bourne compatible
3633
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3634
+ emulate sh
3635
+ NULLCMD=:
3636
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3637
+ # is contrary to our usage. Disable this feature.
3638
+ alias -g '${1+"$@"}'='"$@"'
3639
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3640
+ set -o posix
3641
+ fi
3642
+ DUALCASE=1; export DUALCASE # for MKS sh
3643
+
3644
+ # Support unset when possible.
3645
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3646
+ as_unset=unset
3647
+ else
3648
+ as_unset=false
3649
+ fi
3650
+
3651
+
3652
+ # Work around bugs in pre-3.0 UWIN ksh.
3653
+ $as_unset ENV MAIL MAILPATH
3654
+ PS1='$ '
3655
+ PS2='> '
3656
+ PS4='+ '
3657
+
3658
+ # NLS nuisances.
3659
+ for as_var in \
3660
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3661
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3662
+ LC_TELEPHONE LC_TIME
3663
+ do
3664
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3665
+ eval $as_var=C; export $as_var
3666
+ else
3667
+ $as_unset $as_var
3668
+ fi
3669
+ done
3670
+
3671
+ # Required to use basename.
3672
+ if expr a : '\(a\)' >/dev/null 2>&1; then
3673
+ as_expr=expr
3674
+ else
3675
+ as_expr=false
3676
+ fi
3677
+
3678
+ if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3679
+ as_basename=basename
3680
+ else
3681
+ as_basename=false
3682
+ fi
3683
+
3684
+
3685
+ # Name of the executable.
3686
+ as_me=`$as_basename "$0" ||
3687
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3688
+ X"$0" : 'X\(//\)$' \| \
3689
+ X"$0" : 'X\(/\)$' \| \
3690
+ . : '\(.\)' 2>/dev/null ||
3691
+ echo X/"$0" |
3692
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3693
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
3694
+ /^X\/\(\/\).*/{ s//\1/; q; }
3695
+ s/.*/./; q'`
3696
+
3697
+
3698
+ # PATH needs CR, and LINENO needs CR and PATH.
3699
+ # Avoid depending upon Character Ranges.
3700
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3701
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3702
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3703
+ as_cr_digits='0123456789'
3704
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
3705
+
3706
+ # The user is always right.
3707
+ if test "${PATH_SEPARATOR+set}" != set; then
3708
+ echo "#! /bin/sh" >conf$$.sh
3709
+ echo "exit 0" >>conf$$.sh
3710
+ chmod +x conf$$.sh
3711
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3712
+ PATH_SEPARATOR=';'
3713
+ else
3714
+ PATH_SEPARATOR=:
3715
+ fi
3716
+ rm -f conf$$.sh
3717
+ fi
3718
+
3719
+
3720
+ as_lineno_1=$LINENO
3721
+ as_lineno_2=$LINENO
3722
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3723
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
3724
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
3725
+ # Find who we are. Look in the path if we contain no path at all
3726
+ # relative or not.
3727
+ case $0 in
3728
+ *[\\/]* ) as_myself=$0 ;;
3729
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730
+ for as_dir in $PATH
3731
+ do
3732
+ IFS=$as_save_IFS
3733
+ test -z "$as_dir" && as_dir=.
3734
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3735
+ done
3736
+
3737
+ ;;
3738
+ esac
3739
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
3740
+ # in which case we are not to be found in the path.
3741
+ if test "x$as_myself" = x; then
3742
+ as_myself=$0
3743
+ fi
3744
+ if test ! -f "$as_myself"; then
3745
+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3746
+ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3747
+ { (exit 1); exit 1; }; }
3748
+ fi
3749
+ case $CONFIG_SHELL in
3750
+ '')
3751
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3753
+ do
3754
+ IFS=$as_save_IFS
3755
+ test -z "$as_dir" && as_dir=.
3756
+ for as_base in sh bash ksh sh5; do
3757
+ case $as_dir in
3758
+ /*)
3759
+ if ("$as_dir/$as_base" -c '
3760
+ as_lineno_1=$LINENO
3761
+ as_lineno_2=$LINENO
3762
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3763
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
3764
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3765
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3766
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3767
+ CONFIG_SHELL=$as_dir/$as_base
3768
+ export CONFIG_SHELL
3769
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3770
+ fi;;
3771
+ esac
3772
+ done
3773
+ done
3774
+ ;;
3775
+ esac
3776
+
3777
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3778
+ # uniformly replaced by the line number. The first 'sed' inserts a
3779
+ # line-number line before each line; the second 'sed' does the real
3780
+ # work. The second script uses 'N' to pair each line-number line
3781
+ # with the numbered line, and appends trailing '-' during
3782
+ # substitution so that $LINENO is not a special case at line end.
3783
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3784
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3785
+ sed '=' <$as_myself |
3786
+ sed '
3787
+ N
3788
+ s,$,-,
3789
+ : loop
3790
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3791
+ t loop
3792
+ s,-$,,
3793
+ s,^['$as_cr_digits']*\n,,
3794
+ ' >$as_me.lineno &&
3795
+ chmod +x $as_me.lineno ||
3796
+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3797
+ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3798
+ { (exit 1); exit 1; }; }
3799
+
3800
+ # Don't try to exec as it changes $[0], causing all sort of problems
3801
+ # (the dirname of $[0] is not the place where we might find the
3802
+ # original and so on. Autoconf is especially sensible to this).
3803
+ . ./$as_me.lineno
3804
+ # Exit status is that of the last command.
3805
+ exit
3806
+ }
3807
+
3808
+
3809
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3810
+ *c*,-n*) ECHO_N= ECHO_C='
3811
+ ' ECHO_T=' ' ;;
3812
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3813
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3814
+ esac
3815
+
3816
+ if expr a : '\(a\)' >/dev/null 2>&1; then
3817
+ as_expr=expr
3818
+ else
3819
+ as_expr=false
3820
+ fi
3821
+
3822
+ rm -f conf$$ conf$$.exe conf$$.file
3823
+ echo >conf$$.file
3824
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
3825
+ # We could just check for DJGPP; but this test a) works b) is more generic
3826
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3827
+ if test -f conf$$.exe; then
3828
+ # Don't use ln at all; we don't have any links
3829
+ as_ln_s='cp -p'
3830
+ else
3831
+ as_ln_s='ln -s'
3832
+ fi
3833
+ elif ln conf$$.file conf$$ 2>/dev/null; then
3834
+ as_ln_s=ln
3835
+ else
3836
+ as_ln_s='cp -p'
3837
+ fi
3838
+ rm -f conf$$ conf$$.exe conf$$.file
3839
+
3840
+ if mkdir -p . 2>/dev/null; then
3841
+ as_mkdir_p=:
3842
+ else
3843
+ test -d ./-p && rmdir ./-p
3844
+ as_mkdir_p=false
3845
+ fi
3846
+
3847
+ as_executable_p="test -f"
3848
+
3849
+ # Sed expression to map a string onto a valid CPP name.
3850
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3851
+
3852
+ # Sed expression to map a string onto a valid variable name.
3853
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3854
+
3855
+
3856
+ # IFS
3857
+ # We need space, tab and new line, in precisely that order.
3858
+ as_nl='
3859
+ '
3860
+ IFS=" $as_nl"
3861
+
3862
+ # CDPATH.
3863
+ $as_unset CDPATH
3864
+
3865
+ exec 6>&1
3866
+
3867
+ # Open the log real soon, to keep \$[0] and so on meaningful, and to
3868
+ # report actual input values of CONFIG_FILES etc. instead of their
3869
+ # values after options handling. Logging --version etc. is OK.
3870
+ exec 5>>config.log
3871
+ {
3872
+ echo
3873
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3874
+ ## Running $as_me. ##
3875
+ _ASBOX
3876
+ } >&5
3877
+ cat >&5 <<_CSEOF
3878
+
3879
+ This file was extended by $as_me, which was
3880
+ generated by GNU Autoconf 2.59. Invocation command line was
3881
+
3882
+ CONFIG_FILES = $CONFIG_FILES
3883
+ CONFIG_HEADERS = $CONFIG_HEADERS
3884
+ CONFIG_LINKS = $CONFIG_LINKS
3885
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
3886
+ $ $0 $@
3887
+
3888
+ _CSEOF
3889
+ echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3890
+ echo >&5
3891
+ _ACEOF
3892
+
3893
+ # Files that config.status was made for.
3894
+ if test -n "$ac_config_files"; then
3895
+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3896
+ fi
3897
+
3898
+ if test -n "$ac_config_headers"; then
3899
+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3900
+ fi
3901
+
3902
+ if test -n "$ac_config_links"; then
3903
+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3904
+ fi
3905
+
3906
+ if test -n "$ac_config_commands"; then
3907
+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3908
+ fi
3909
+
3910
+ cat >>$CONFIG_STATUS <<\_ACEOF
3911
+
3912
+ ac_cs_usage="\
3913
+ \`$as_me' instantiates files from templates according to the
3914
+ current configuration.
3915
+
3916
+ Usage: $0 [OPTIONS] [FILE]...
3917
+
3918
+ -h, --help print this help, then exit
3919
+ -V, --version print version number, then exit
3920
+ -q, --quiet do not print progress messages
3921
+ -d, --debug don't remove temporary files
3922
+ --recheck update $as_me by reconfiguring in the same conditions
3923
+ --file=FILE[:TEMPLATE]
3924
+ instantiate the configuration file FILE
3925
+
3926
+ Configuration files:
3927
+ $config_files
3928
+
3929
+ Report bugs to <bug-autoconf@gnu.org>."
3930
+ _ACEOF
3931
+
3932
+ cat >>$CONFIG_STATUS <<_ACEOF
3933
+ ac_cs_version="\\
3934
+ config.status
3935
+ configured by $0, generated by GNU Autoconf 2.59,
3936
+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3937
+
3938
+ Copyright (C) 2003 Free Software Foundation, Inc.
3939
+ This config.status script is free software; the Free Software Foundation
3940
+ gives unlimited permission to copy, distribute and modify it."
3941
+ srcdir=$srcdir
3942
+ _ACEOF
3943
+
3944
+ cat >>$CONFIG_STATUS <<\_ACEOF
3945
+ # If no file are specified by the user, then we need to provide default
3946
+ # value. By we need to know if files were specified by the user.
3947
+ ac_need_defaults=:
3948
+ while test $# != 0
3949
+ do
3950
+ case $1 in
3951
+ --*=*)
3952
+ ac_option=`expr "x$1" : 'x\([^=]*\)='`
3953
+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3954
+ ac_shift=:
3955
+ ;;
3956
+ -*)
3957
+ ac_option=$1
3958
+ ac_optarg=$2
3959
+ ac_shift=shift
3960
+ ;;
3961
+ *) # This is not an option, so the user has probably given explicit
3962
+ # arguments.
3963
+ ac_option=$1
3964
+ ac_need_defaults=false;;
3965
+ esac
3966
+
3967
+ case $ac_option in
3968
+ # Handling of the options.
3969
+ _ACEOF
3970
+ cat >>$CONFIG_STATUS <<\_ACEOF
3971
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3972
+ ac_cs_recheck=: ;;
3973
+ --version | --vers* | -V )
3974
+ echo "$ac_cs_version"; exit 0 ;;
3975
+ --he | --h)
3976
+ # Conflict between --help and --header
3977
+ { { echo "$as_me:$LINENO: error: ambiguous option: $1
3978
+ Try \`$0 --help' for more information." >&5
3979
+ echo "$as_me: error: ambiguous option: $1
3980
+ Try \`$0 --help' for more information." >&2;}
3981
+ { (exit 1); exit 1; }; };;
3982
+ --help | --hel | -h )
3983
+ echo "$ac_cs_usage"; exit 0 ;;
3984
+ --debug | --d* | -d )
3985
+ debug=: ;;
3986
+ --file | --fil | --fi | --f )
3987
+ $ac_shift
3988
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3989
+ ac_need_defaults=false;;
3990
+ --header | --heade | --head | --hea )
3991
+ $ac_shift
3992
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3993
+ ac_need_defaults=false;;
3994
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3995
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
3996
+ ac_cs_silent=: ;;
3997
+
3998
+ # This is an error.
3999
+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4000
+ Try \`$0 --help' for more information." >&5
4001
+ echo "$as_me: error: unrecognized option: $1
4002
+ Try \`$0 --help' for more information." >&2;}
4003
+ { (exit 1); exit 1; }; } ;;
4004
+
4005
+ *) ac_config_targets="$ac_config_targets $1" ;;
4006
+
4007
+ esac
4008
+ shift
4009
+ done
4010
+
4011
+ ac_configure_extra_args=
4012
+
4013
+ if $ac_cs_silent; then
4014
+ exec 6>/dev/null
4015
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
4016
+ fi
4017
+
4018
+ _ACEOF
4019
+ cat >>$CONFIG_STATUS <<_ACEOF
4020
+ if \$ac_cs_recheck; then
4021
+ echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4022
+ exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4023
+ fi
4024
+
4025
+ _ACEOF
4026
+
4027
+
4028
+
4029
+
4030
+
4031
+ cat >>$CONFIG_STATUS <<\_ACEOF
4032
+ for ac_config_target in $ac_config_targets
4033
+ do
4034
+ case "$ac_config_target" in
4035
+ # Handling of arguments.
4036
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4037
+ "Makedefs" ) CONFIG_FILES="$CONFIG_FILES Makedefs" ;;
4038
+ "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
4039
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4040
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4041
+ { (exit 1); exit 1; }; };;
4042
+ esac
4043
+ done
4044
+
4045
+ # If the user did not use the arguments to specify the items to instantiate,
4046
+ # then the envvar interface is used. Set only those that are not.
4047
+ # We use the long form for the default assignment because of an extremely
4048
+ # bizarre bug on SunOS 4.1.3.
4049
+ if $ac_need_defaults; then
4050
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4051
+ fi
4052
+
4053
+ # Have a temporary directory for convenience. Make it in the build tree
4054
+ # simply because there is no reason to put it here, and in addition,
4055
+ # creating and moving files from /tmp can sometimes cause problems.
4056
+ # Create a temporary directory, and hook for its removal unless debugging.
4057
+ $debug ||
4058
+ {
4059
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4060
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
4061
+ }
4062
+
4063
+ # Create a (secure) tmp directory for tmp files.
4064
+
4065
+ {
4066
+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4067
+ test -n "$tmp" && test -d "$tmp"
4068
+ } ||
4069
+ {
4070
+ tmp=./confstat$$-$RANDOM
4071
+ (umask 077 && mkdir $tmp)
4072
+ } ||
4073
+ {
4074
+ echo "$me: cannot create a temporary directory in ." >&2
4075
+ { (exit 1); exit 1; }
4076
+ }
4077
+
4078
+ _ACEOF
4079
+
4080
+ cat >>$CONFIG_STATUS <<_ACEOF
4081
+
4082
+ #
4083
+ # CONFIG_FILES section.
4084
+ #
4085
+
4086
+ # No need to generate the scripts if there are no CONFIG_FILES.
4087
+ # This happens for instance when ./config.status config.h
4088
+ if test -n "\$CONFIG_FILES"; then
4089
+ # Protect against being on the right side of a sed subst in config.status.
4090
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4091
+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4092
+ s,@SHELL@,$SHELL,;t t
4093
+ s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4094
+ s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4095
+ s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4096
+ s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4097
+ s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4098
+ s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4099
+ s,@exec_prefix@,$exec_prefix,;t t
4100
+ s,@prefix@,$prefix,;t t
4101
+ s,@program_transform_name@,$program_transform_name,;t t
4102
+ s,@bindir@,$bindir,;t t
4103
+ s,@sbindir@,$sbindir,;t t
4104
+ s,@libexecdir@,$libexecdir,;t t
4105
+ s,@datadir@,$datadir,;t t
4106
+ s,@sysconfdir@,$sysconfdir,;t t
4107
+ s,@sharedstatedir@,$sharedstatedir,;t t
4108
+ s,@localstatedir@,$localstatedir,;t t
4109
+ s,@libdir@,$libdir,;t t
4110
+ s,@includedir@,$includedir,;t t
4111
+ s,@oldincludedir@,$oldincludedir,;t t
4112
+ s,@infodir@,$infodir,;t t
4113
+ s,@mandir@,$mandir,;t t
4114
+ s,@build_alias@,$build_alias,;t t
4115
+ s,@host_alias@,$host_alias,;t t
4116
+ s,@target_alias@,$target_alias,;t t
4117
+ s,@DEFS@,$DEFS,;t t
4118
+ s,@ECHO_C@,$ECHO_C,;t t
4119
+ s,@ECHO_N@,$ECHO_N,;t t
4120
+ s,@ECHO_T@,$ECHO_T,;t t
4121
+ s,@LIBS@,$LIBS,;t t
4122
+ s,@build@,$build,;t t
4123
+ s,@build_cpu@,$build_cpu,;t t
4124
+ s,@build_vendor@,$build_vendor,;t t
4125
+ s,@build_os@,$build_os,;t t
4126
+ s,@host@,$host,;t t
4127
+ s,@host_cpu@,$host_cpu,;t t
4128
+ s,@host_vendor@,$host_vendor,;t t
4129
+ s,@host_os@,$host_os,;t t
4130
+ s,@CC@,$CC,;t t
4131
+ s,@CFLAGS@,$CFLAGS,;t t
4132
+ s,@LDFLAGS@,$LDFLAGS,;t t
4133
+ s,@CPPFLAGS@,$CPPFLAGS,;t t
4134
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
4135
+ s,@EXEEXT@,$EXEEXT,;t t
4136
+ s,@OBJEXT@,$OBJEXT,;t t
4137
+ s,@RANLIB@,$RANLIB,;t t
4138
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4139
+ s,@STRIP@,$STRIP,;t t
4140
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4141
+ s,@JAVA_HOME@,$JAVA_HOME,;t t
4142
+ s,@LDCMD@,$LDCMD,;t t
4143
+ s,@CPP@,$CPP,;t t
4144
+ s,@EGREP@,$EGREP,;t t
4145
+ s,@INCLUDES@,$INCLUDES,;t t
4146
+ s,@LIBOBJS@,$LIBOBJS,;t t
4147
+ s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4148
+ CEOF
4149
+
4150
+ _ACEOF
4151
+
4152
+ cat >>$CONFIG_STATUS <<\_ACEOF
4153
+ # Split the substitutions into bite-sized pieces for seds with
4154
+ # small command number limits, like on Digital OSF/1 and HP-UX.
4155
+ ac_max_sed_lines=48
4156
+ ac_sed_frag=1 # Number of current file.
4157
+ ac_beg=1 # First line for current file.
4158
+ ac_end=$ac_max_sed_lines # Line after last line for current file.
4159
+ ac_more_lines=:
4160
+ ac_sed_cmds=
4161
+ while $ac_more_lines; do
4162
+ if test $ac_beg -gt 1; then
4163
+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4164
+ else
4165
+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4166
+ fi
4167
+ if test ! -s $tmp/subs.frag; then
4168
+ ac_more_lines=false
4169
+ else
4170
+ # The purpose of the label and of the branching condition is to
4171
+ # speed up the sed processing (if there are no `@' at all, there
4172
+ # is no need to browse any of the substitutions).
4173
+ # These are the two extra sed commands mentioned above.
4174
+ (echo ':t
4175
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4176
+ if test -z "$ac_sed_cmds"; then
4177
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4178
+ else
4179
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4180
+ fi
4181
+ ac_sed_frag=`expr $ac_sed_frag + 1`
4182
+ ac_beg=$ac_end
4183
+ ac_end=`expr $ac_end + $ac_max_sed_lines`
4184
+ fi
4185
+ done
4186
+ if test -z "$ac_sed_cmds"; then
4187
+ ac_sed_cmds=cat
4188
+ fi
4189
+ fi # test -n "$CONFIG_FILES"
4190
+
4191
+ _ACEOF
4192
+ cat >>$CONFIG_STATUS <<\_ACEOF
4193
+ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4194
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4195
+ case $ac_file in
4196
+ - | *:- | *:-:* ) # input from stdin
4197
+ cat >$tmp/stdin
4198
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4199
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4200
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4201
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4202
+ * ) ac_file_in=$ac_file.in ;;
4203
+ esac
4204
+
4205
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4206
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4207
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4208
+ X"$ac_file" : 'X\(//\)[^/]' \| \
4209
+ X"$ac_file" : 'X\(//\)$' \| \
4210
+ X"$ac_file" : 'X\(/\)' \| \
4211
+ . : '\(.\)' 2>/dev/null ||
4212
+ echo X"$ac_file" |
4213
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4214
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4215
+ /^X\(\/\/\)$/{ s//\1/; q; }
4216
+ /^X\(\/\).*/{ s//\1/; q; }
4217
+ s/.*/./; q'`
4218
+ { if $as_mkdir_p; then
4219
+ mkdir -p "$ac_dir"
4220
+ else
4221
+ as_dir="$ac_dir"
4222
+ as_dirs=
4223
+ while test ! -d "$as_dir"; do
4224
+ as_dirs="$as_dir $as_dirs"
4225
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
4226
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4227
+ X"$as_dir" : 'X\(//\)[^/]' \| \
4228
+ X"$as_dir" : 'X\(//\)$' \| \
4229
+ X"$as_dir" : 'X\(/\)' \| \
4230
+ . : '\(.\)' 2>/dev/null ||
4231
+ echo X"$as_dir" |
4232
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4233
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4234
+ /^X\(\/\/\)$/{ s//\1/; q; }
4235
+ /^X\(\/\).*/{ s//\1/; q; }
4236
+ s/.*/./; q'`
4237
+ done
4238
+ test ! -n "$as_dirs" || mkdir $as_dirs
4239
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4240
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4241
+ { (exit 1); exit 1; }; }; }
4242
+
4243
+ ac_builddir=.
4244
+
4245
+ if test "$ac_dir" != .; then
4246
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4247
+ # A "../" for each directory in $ac_dir_suffix.
4248
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4249
+ else
4250
+ ac_dir_suffix= ac_top_builddir=
4251
+ fi
4252
+
4253
+ case $srcdir in
4254
+ .) # No --srcdir option. We are building in place.
4255
+ ac_srcdir=.
4256
+ if test -z "$ac_top_builddir"; then
4257
+ ac_top_srcdir=.
4258
+ else
4259
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4260
+ fi ;;
4261
+ [\\/]* | ?:[\\/]* ) # Absolute path.
4262
+ ac_srcdir=$srcdir$ac_dir_suffix;
4263
+ ac_top_srcdir=$srcdir ;;
4264
+ *) # Relative path.
4265
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4266
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
4267
+ esac
4268
+
4269
+ # Do not use `cd foo && pwd` to compute absolute paths, because
4270
+ # the directories may not exist.
4271
+ case `pwd` in
4272
+ .) ac_abs_builddir="$ac_dir";;
4273
+ *)
4274
+ case "$ac_dir" in
4275
+ .) ac_abs_builddir=`pwd`;;
4276
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4277
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
4278
+ esac;;
4279
+ esac
4280
+ case $ac_abs_builddir in
4281
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
4282
+ *)
4283
+ case ${ac_top_builddir}. in
4284
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
4285
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4286
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4287
+ esac;;
4288
+ esac
4289
+ case $ac_abs_builddir in
4290
+ .) ac_abs_srcdir=$ac_srcdir;;
4291
+ *)
4292
+ case $ac_srcdir in
4293
+ .) ac_abs_srcdir=$ac_abs_builddir;;
4294
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4295
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4296
+ esac;;
4297
+ esac
4298
+ case $ac_abs_builddir in
4299
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
4300
+ *)
4301
+ case $ac_top_srcdir in
4302
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
4303
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4304
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4305
+ esac;;
4306
+ esac
4307
+
4308
+
4309
+
4310
+ if test x"$ac_file" != x-; then
4311
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
4312
+ echo "$as_me: creating $ac_file" >&6;}
4313
+ rm -f "$ac_file"
4314
+ fi
4315
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
4316
+ # use $as_me), people would be surprised to read:
4317
+ # /* config.h. Generated by config.status. */
4318
+ if test x"$ac_file" = x-; then
4319
+ configure_input=
4320
+ else
4321
+ configure_input="$ac_file. "
4322
+ fi
4323
+ configure_input=$configure_input"Generated from `echo $ac_file_in |
4324
+ sed 's,.*/,,'` by configure."
4325
+
4326
+ # First look for the input files in the build tree, otherwise in the
4327
+ # src tree.
4328
+ ac_file_inputs=`IFS=:
4329
+ for f in $ac_file_in; do
4330
+ case $f in
4331
+ -) echo $tmp/stdin ;;
4332
+ [\\/$]*)
4333
+ # Absolute (can't be DOS-style, as IFS=:)
4334
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4335
+ echo "$as_me: error: cannot find input file: $f" >&2;}
4336
+ { (exit 1); exit 1; }; }
4337
+ echo "$f";;
4338
+ *) # Relative
4339
+ if test -f "$f"; then
4340
+ # Build tree
4341
+ echo "$f"
4342
+ elif test -f "$srcdir/$f"; then
4343
+ # Source tree
4344
+ echo "$srcdir/$f"
4345
+ else
4346
+ # /dev/null tree
4347
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4348
+ echo "$as_me: error: cannot find input file: $f" >&2;}
4349
+ { (exit 1); exit 1; }; }
4350
+ fi;;
4351
+ esac
4352
+ done` || { (exit 1); exit 1; }
4353
+ _ACEOF
4354
+ cat >>$CONFIG_STATUS <<_ACEOF
4355
+ sed "$ac_vpsub
4356
+ $extrasub
4357
+ _ACEOF
4358
+ cat >>$CONFIG_STATUS <<\_ACEOF
4359
+ :t
4360
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4361
+ s,@configure_input@,$configure_input,;t t
4362
+ s,@srcdir@,$ac_srcdir,;t t
4363
+ s,@abs_srcdir@,$ac_abs_srcdir,;t t
4364
+ s,@top_srcdir@,$ac_top_srcdir,;t t
4365
+ s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4366
+ s,@builddir@,$ac_builddir,;t t
4367
+ s,@abs_builddir@,$ac_abs_builddir,;t t
4368
+ s,@top_builddir@,$ac_top_builddir,;t t
4369
+ s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4370
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4371
+ rm -f $tmp/stdin
4372
+ if test x"$ac_file" != x-; then
4373
+ mv $tmp/out $ac_file
4374
+ else
4375
+ cat $tmp/out
4376
+ rm -f $tmp/out
4377
+ fi
4378
+
4379
+ done
4380
+ _ACEOF
4381
+
4382
+ cat >>$CONFIG_STATUS <<\_ACEOF
4383
+
4384
+ { (exit 0); exit 0; }
4385
+ _ACEOF
4386
+ chmod +x $CONFIG_STATUS
4387
+ ac_clean_files=$ac_clean_files_save
4388
+
4389
+
4390
+ # configure is writing to config.log, and then calls config.status.
4391
+ # config.status does its own redirection, appending to config.log.
4392
+ # Unfortunately, on DOS this fails, as config.log is still kept open
4393
+ # by configure, so config.status won't be able to write to it; its
4394
+ # output is simply discarded. So we exec the FD to /dev/null,
4395
+ # effectively closing config.log, so it can be properly (re)opened and
4396
+ # appended to by config.status. When coming back to configure, we
4397
+ # need to make the FD available again.
4398
+ if test "$no_create" != yes; then
4399
+ ac_cs_success=:
4400
+ ac_config_status_args=
4401
+ test "$silent" = yes &&
4402
+ ac_config_status_args="$ac_config_status_args --quiet"
4403
+ exec 5>/dev/null
4404
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4405
+ exec 5>>config.log
4406
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4407
+ # would make configure fail if this is the last instruction.
4408
+ $ac_cs_success || { (exit 1); exit 1; }
4409
+ fi
4410
+
4411
+
4412
+
4413
+ printf "*** %s ***\n" "All done" 1>&2
4414
+
4415
+
4416
+ echo "$as_me:$LINENO: result: Now you can issue \"make\"" >&5
4417
+ echo "${ECHO_T}Now you can issue \"make\"" >&6