~ubuntu-branches/ubuntu/oneiric/ocaml-vorbis/oneiric

« back to all changes in this revision

Viewing changes to examples/configure

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2009-02-23 14:14:09 UTC
  • mfrom: (1.1.9 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090223141409-4zao0op85s333ygh
Tags: 0.5.0-1
* New Upstream Version.
* Switch packaging to git.
* Use dh-ocaml's predefined variables.
* Update compat to 7.
* Update standards version to 3.8.0.

Show diffs side-by-side

added added

removed removed

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