rbcdio 0.01

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