2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for ocaml-vorbis-examples 0.4.0.
5
# Report bugs to <savonet-users@lists.sourceforge.net>.
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
## --------------------- ##
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
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+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
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
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
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
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
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
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
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
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'"
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'"
554
exec 7<&0 </dev/null 6>&1
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`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
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'
590
program_transform_name
643
ac_precious_vars='build_alias
648
# Initialize some variables set by options.
650
ac_init_version=false
651
# The variables have the same names as the options, with
652
# dashes changed to underlines.
660
program_transform_name=s,x,x,
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'
690
libdir='${exec_prefix}/lib'
691
localedir='${datarootdir}/locale'
692
mandir='${datarootdir}/man'
698
# If the previous option needs an argument, assign it.
699
if test -n "$ac_prev"; then
700
eval $ac_prev=\$ac_option
706
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
710
# Accept the important Cygnus configure options, so we can diagnose typos.
712
case $ac_dashdash$ac_option in
716
-bindir | --bindir | --bindi | --bind | --bin | --bi)
718
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
721
-build | --build | --buil | --bui | --bu)
722
ac_prev=build_alias ;;
723
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
724
build_alias=$ac_optarg ;;
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 ;;
734
cache_file=config.cache ;;
736
-datadir | --datadir | --datadi | --datad)
738
-datadir=* | --datadir=* | --datadi=* | --datad=*)
739
datadir=$ac_optarg ;;
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 ;;
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 ;;
757
-docdir | --docdir | --docdi | --doc | --do)
759
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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 ;;
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 ;;
785
-gas | --gas | --ga | --g)
786
# Obsolete; use --with-gas.
789
-help | --help | --hel | --he | -h)
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 ;;
796
-host | --host | --hos | --ho)
797
ac_prev=host_alias ;;
798
-host=* | --host=* | --hos=* | --ho=*)
799
host_alias=$ac_optarg ;;
801
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805
htmldir=$ac_optarg ;;
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 ;;
814
-infodir | --infodir | --infodi | --infod | --info | --inf)
816
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
817
infodir=$ac_optarg ;;
819
-libdir | --libdir | --libdi | --libd)
821
-libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
831
-localedir | --localedir | --localedi | --localed | --locale)
833
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
834
localedir=$ac_optarg ;;
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 ;;
843
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
849
# Obsolete; use --without-fp.
852
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
853
| --no-cr | --no-c | -n)
856
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
857
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
869
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
905
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
910
-psdir | --psdir | --psdi | --psd | --ps)
912
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
915
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
916
| -silent | --silent | --silen | --sile | --sil)
919
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923
sbindir=$ac_optarg ;;
925
-sharedstatedir | --sharedstatedir | --sharedstatedi \
926
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927
| --sharedst | --shareds | --shared | --share | --shar \
929
ac_prev=sharedstatedir ;;
930
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
931
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
932
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934
sharedstatedir=$ac_optarg ;;
936
-site | --site | --sit)
938
-site=* | --site=* | --sit=*)
941
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
958
-v | -verbose | --verbose | --verbos | --verbo | --verb)
961
-version | --version | --versio | --versi | --vers | -V)
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 ;;
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 ;;
983
# Obsolete; use --with-x.
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 ;;
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 ;;
1000
-*) { echo "$as_me: error: unrecognized option: $ac_option
1001
Try \`$0 --help' for more information." >&2
1002
{ (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
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
1037
eval ac_val=\$$ac_var
1039
[\\/$]* | ?:[\\/]* ) continue;;
1040
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1043
{ (exit 1); exit 1; }; }
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.
1051
target=$target_alias
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
1065
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1067
test "$silent" = yes && exec 6>/dev/null
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; }; }
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 ||
1090
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1108
if test ! -r "$srcdir/$ac_unique_file"; then
1112
ac_srcdir_defaulted=no
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; }; }
1119
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1122
{ (exit 1); exit 1; }; }
1124
# When building in place, set srcdir=.
1125
if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1132
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1142
# Report the --help message.
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.
1148
\`configure' configures ocaml-vorbis-examples 0.4.0 to adapt to many kinds of systems.
1150
Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1155
Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1179
For better control, use the options below.
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]
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:";;
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
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)
1225
Report bugs to <savonet-users@lists.sourceforge.net>.
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
1237
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1253
.) # We are building in place.
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 ;;
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 ;;
1266
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1268
cd "$ac_dir" || { ac_status=$?; continue; }
1269
# Check for guested configure.
1270
if test -f "$ac_srcdir/configure.gnu"; then
1272
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1273
elif test -f "$ac_srcdir/configure"; then
1275
$SHELL "$ac_srcdir/configure" --help=recursive
1277
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1279
cd "$ac_pwd" || { ac_status=$?; break; }
1283
test -n "$ac_init_help" && exit $ac_status
1284
if $ac_init_version; then
1286
ocaml-vorbis-examples configure 0.4.0
1287
generated by GNU Autoconf 2.61
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.
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.
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
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`
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`
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`
1332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336
test -z "$as_dir" && as_dir=.
1337
echo "PATH: $as_dir"
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.
1361
ac_must_keep_next=false
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)
1372
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1375
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1390
-* ) ac_must_keep_next=true ;;
1393
ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1412
## ---------------- ##
1413
## Cache variables. ##
1414
## ---------------- ##
1417
# The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1428
_ | IFS | as_nl) ;; #(
1429
*) $as_unset $ac_var ;;
1434
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1435
*${as_nl}ac_space=\ *)
1437
"s/'\''/'\''\\\\'\'''\''/g;
1438
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1441
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1449
## ----------------- ##
1450
## Output variables. ##
1451
## ----------------- ##
1454
for ac_var in $ac_subst_vars
1456
eval ac_val=\$$ac_var
1458
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1460
echo "$ac_var='\''$ac_val'\''"
1464
if test -n "$ac_subst_files"; then
1466
## ------------------- ##
1467
## File substitutions. ##
1468
## ------------------- ##
1471
for ac_var in $ac_subst_files
1473
eval ac_val=\$$ac_var
1475
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1477
echo "$ac_var='\''$ac_val'\''"
1482
if test -s confdefs.h; then
1492
test "$ac_signal" != 0 &&
1493
echo "$as_me: caught signal $ac_signal"
1494
echo "$as_me: exit $exit_status"
1496
rm -f core *.core core.conftest.* &&
1497
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1500
for ac_signal in 1 2 13 15; do
1501
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1506
rm -f -r conftest* confdefs.h
1508
# Predefined preprocessor variables.
1510
cat >>confdefs.h <<_ACEOF
1511
#define PACKAGE_NAME "$PACKAGE_NAME"
1515
cat >>confdefs.h <<_ACEOF
1516
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520
cat >>confdefs.h <<_ACEOF
1521
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1525
cat >>confdefs.h <<_ACEOF
1526
#define PACKAGE_STRING "$PACKAGE_STRING"
1530
cat >>confdefs.h <<_ACEOF
1531
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1542
set x "$ac_default_prefix/share/config.site" \
1543
"$ac_default_prefix/etc/config.site"
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
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;}
1563
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1564
*) . "./$cache_file";;
1568
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569
echo "$as_me: creating cache $cache_file" >&6;}
1573
# Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1602
# Pass precious variables to config.status.
1603
if test "$ac_new_set" = set; then
1605
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1606
*) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1654
VERSION=$PACKAGE_VERSION
1655
{ echo "$as_me:$LINENO: result: \"configuring $PACKAGE_STRING\"" >&5
1656
echo "${ECHO_T}\"configuring $PACKAGE_STRING\"" >&6; }
1659
# Check whether --enable-ldconf was given.
1660
if test "${enable_ldconf+set}" = set; then
1661
enableval=$enable_ldconf; ac_enable_ldconf=$enableval
1663
ac_enable_ldconf=$enableval
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
1672
# Check for Ocaml compilers
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
1682
if test -n "$OCAMLC"; then
1683
ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
1685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1700
test -z "$ac_cv_prog_OCAMLC" && ac_cv_prog_OCAMLC="no"
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; }
1708
{ echo "$as_me:$LINENO: result: no" >&5
1709
echo "${ECHO_T}no" >&6; }
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; }; }
1719
# we look for the directory of ocamlc in $OCAMLC
1720
OCAMLBIN=`dirname $OCAMLC`
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"
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
1740
ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
1743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1758
test -z "$ac_cv_path_OCAMLOPT" && ac_cv_path_OCAMLOPT="no"
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; }
1767
{ echo "$as_me:$LINENO: result: no" >&5
1768
echo "${ECHO_T}no" >&6; }
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;}
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; }
1785
{ echo "$as_me:$LINENO: result: ok" >&5
1786
echo "${ECHO_T}ok" >&6; }
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
1799
case $OCAMLCDOTOPT in
1801
ac_cv_path_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test with a path.
1804
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1819
test -z "$ac_cv_path_OCAMLCDOTOPT" && ac_cv_path_OCAMLCDOTOPT="no"
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; }
1828
{ echo "$as_me:$LINENO: result: no" >&5
1829
echo "${ECHO_T}no" >&6; }
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; }
1841
{ echo "$as_me:$LINENO: result: ok" >&5
1842
echo "${ECHO_T}ok" >&6; }
1843
OCAMLC=$OCAMLCDOTOPT
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
1856
case $OCAMLOPTDOTOPT in
1858
ac_cv_path_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test with a path.
1861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1876
test -z "$ac_cv_path_OCAMLOPTDOTOPT" && ac_cv_path_OCAMLOPTDOTOPT="no"
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; }
1885
{ echo "$as_me:$LINENO: result: no" >&5
1886
echo "${ECHO_T}no" >&6; }
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; }
1898
{ echo "$as_me:$LINENO: result: ok" >&5
1899
echo "${ECHO_T}ok" >&6; }
1900
OCAMLOPT=$OCAMLOPTDOTOPT
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
1915
ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
1918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1933
test -z "$ac_cv_path_OCAMLDEP" && ac_cv_path_OCAMLDEP="no"
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; }
1942
{ echo "$as_me:$LINENO: result: no" >&5
1943
echo "${ECHO_T}no" >&6; }
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; }; }
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
1962
ac_cv_path_OCAMLLEX="$OCAMLLEX" # Let the user override the test with a path.
1965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1980
test -z "$ac_cv_path_OCAMLLEX" && ac_cv_path_OCAMLLEX="no"
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; }
1989
{ echo "$as_me:$LINENO: result: no" >&5
1990
echo "${ECHO_T}no" >&6; }
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; }; }
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
2009
ac_cv_path_OCAMLYACC="$OCAMLYACC" # Let the user override the test with a path.
2012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2027
test -z "$ac_cv_path_OCAMLYACC" && ac_cv_path_OCAMLYACC="no"
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; }
2036
{ echo "$as_me:$LINENO: result: no" >&5
2037
echo "${ECHO_T}no" >&6; }
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; }; }
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
2056
ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
2059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2074
test -z "$ac_cv_path_OCAMLDOC" && ac_cv_path_OCAMLDOC="no"
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; }
2083
{ echo "$as_me:$LINENO: result: no" >&5
2084
echo "${ECHO_T}no" >&6; }
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
2098
ac_cv_path_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test with a path.
2101
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2116
test -z "$ac_cv_path_OCAMLMKTOP" && ac_cv_path_OCAMLMKTOP="no"
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; }
2125
{ echo "$as_me:$LINENO: result: no" >&5
2126
echo "${ECHO_T}no" >&6; }
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; }; }
2136
CAMLLIBPATH=`$OCAMLC -where`
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
2147
ac_cv_path_OCAMLFIND="$OCAMLFIND" # Let the user override the test with a path.
2150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2165
test -z "$ac_cv_path_OCAMLFIND" && ac_cv_path_OCAMLFIND="no"
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; }
2174
{ echo "$as_me:$LINENO: result: no" >&5
2175
echo "${ECHO_T}no" >&6; }
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; }; }
2186
# Check whether --with-vorbis-dir was given.
2187
if test "${with_vorbis_dir+set}" = set; then
2188
withval=$with_vorbis_dir;
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
2199
echo $with_vorbis_dir | grep ^/ > /dev/null 2>&1 || with_vorbis_dir=$PWD/$with_vorbis_dir
2200
I_VORBIS=$with_vorbis_dir
2202
{ echo "$as_me:$LINENO: result: ok" >&5
2203
echo "${ECHO_T}ok" >&6; }
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
2218
ac_cv_path_OCAMLCP="$OCAMLCP" # Let the user override the test with a path.
2221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2236
test -z "$ac_cv_path_OCAMLCP" && ac_cv_path_OCAMLCP="no"
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; }
2245
{ echo "$as_me:$LINENO: result: no" >&5
2246
echo "${ECHO_T}no" >&6; }
2250
#if test "$OCAMLCP" = no ; then
2251
# AC_MSG_ERROR(Cannot find ocamlcp.)
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
2263
ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2281
test -z "$ac_cv_path_LATEX" && ac_cv_path_LATEX="no"
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; }
2290
{ echo "$as_me:$LINENO: result: no" >&5
2291
echo "${ECHO_T}no" >&6; }
2295
#if test "$LATEX" = no ; then
2296
# AC_MSG_ERROR(Cannot find LaTeX.)
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
2308
ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
2311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2326
test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS="no"
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; }
2335
{ echo "$as_me:$LINENO: result: no" >&5
2336
echo "${ECHO_T}no" >&6; }
2340
#if test "$DVIPS" = no ; then
2341
# AC_MSG_ERROR(Cannot find dvips.)
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
2353
ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
2356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2371
test -z "$ac_cv_path_PS2PDF" && ac_cv_path_PS2PDF="no"
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; }
2380
{ echo "$as_me:$LINENO: result: no" >&5
2381
echo "${ECHO_T}no" >&6; }
2385
#if test "$PS2PDF" = no ; then
2386
# AC_MSG_ERROR(Cannot find ps2pdf.)
2389
# substitutions to perform
2412
# Finally create the Makefile and samples
2413
ac_config_files="$ac_config_files Makefile.ogg2wav"
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.
2422
# config.status only pays attention to the cache file if you give it
2423
# the --recheck option to rerun configure.
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
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.
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
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;} ;;
2446
_ | IFS | as_nl) ;; #(
2447
*) $as_unset $ac_var ;;
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 \).
2459
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2462
# `set' quotes correctly as required by POSIX, so do not add quotes.
2463
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2472
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2474
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
2483
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2484
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2489
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2490
# Let make expand exec_prefix.
2491
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2493
# Transform confdefs.h into DEFS.
2494
# Protect against shell expansion while executing Makefile rules.
2495
# Protect against Makefile macro expansion.
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.
2503
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2505
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2509
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2522
DEFS=`sed -n "$ac_script" confdefs.h`
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'
2538
LTLIBOBJS=$ac_ltlibobjs
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
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.
2557
SHELL=\${CONFIG_SHELL-$SHELL}
2560
cat >>$CONFIG_STATUS <<\_ACEOF
2561
## --------------------- ##
2562
## M4sh Initialization. ##
2563
## --------------------- ##
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
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
2575
case `(set -o) 2>/dev/null` in
2576
*posix*) set -o posix ;;
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
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
2597
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2605
# Support unset when possible.
2606
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
2622
# Find who we are. Look in the path if we contain no directory separator.
2624
*[\\/]* ) as_myself=$0 ;;
2625
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629
test -z "$as_dir" && as_dir=.
2630
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
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
2660
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2661
eval $as_var=C; export $as_var
2663
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2667
# Required to use basename.
2668
if expr a : '\(a\)' >/dev/null 2>&1 &&
2669
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2675
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2676
as_basename=basename
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 ||
2688
sed '/^.*\/\([^/][^/]*\)\/*$/{
2709
test "x$as_lineno_1" != "x$as_lineno_2" &&
2710
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
2733
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
2745
# Exit status is that of the last command.
2750
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2756
ECHO_C= ECHO_N= ECHO_T=
2759
case `echo 'x\c'` in
2760
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
2767
if expr a : '\(a\)' >/dev/null 2>&1 &&
2768
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2774
rm -f conf$$ conf$$.exe conf$$.file
2775
if test -d conf$$.dir; then
2776
rm -f conf$$.dir/conf$$.file
2782
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
2790
elif ln conf$$.file conf$$ 2>/dev/null; then
2795
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2796
rmdir conf$$.dir 2>/dev/null
2798
if mkdir -p . 2>/dev/null; then
2801
test -d ./-p && rmdir ./-p
2805
if test -x / >/dev/null 2>&1; then
2808
if ls -dL / >/dev/null 2>&1; then
2815
if test -d "$1"; then
2821
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2822
???[sx]*):;;*)false;;esac;fi
2826
as_executable_p=$as_test_x
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'"
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'"
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.
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
2844
CONFIG_FILES = $CONFIG_FILES
2845
CONFIG_HEADERS = $CONFIG_HEADERS
2846
CONFIG_LINKS = $CONFIG_LINKS
2847
CONFIG_COMMANDS = $CONFIG_COMMANDS
2850
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2855
cat >>$CONFIG_STATUS <<_ACEOF
2856
# Files that config.status was made for.
2857
config_files="$ac_config_files"
2861
cat >>$CONFIG_STATUS <<\_ACEOF
2863
\`$as_me' instantiates files from templates according to the
2864
current configuration.
2866
Usage: $0 [OPTIONS] [FILE]...
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
2876
Configuration files:
2879
Report bugs to <bug-autoconf@gnu.org>."
2882
cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
2904
ac_option=`expr "X$1" : 'X\([^=]*\)='`
2905
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2916
# Handling of the options.
2917
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2919
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2920
echo "$ac_cs_version"; exit ;;
2921
--debug | --debu | --deb | --de | --d | -d )
2923
--file | --fil | --fi | --f )
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)
2934
-*) { echo "$as_me: error: unrecognized option: $1
2935
Try \`$0 --help' for more information." >&2
2936
{ (exit 1); exit 1; }; } ;;
2938
*) ac_config_targets="$ac_config_targets $1"
2939
ac_need_defaults=false ;;
2945
ac_configure_extra_args=
2947
if $ac_cs_silent; then
2949
ac_configure_extra_args="$ac_configure_extra_args --silent"
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
2958
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2962
cat >>$CONFIG_STATUS <<\_ACEOF
2966
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2967
## Running $as_me. ##
2973
cat >>$CONFIG_STATUS <<_ACEOF
2976
cat >>$CONFIG_STATUS <<\_ACEOF
2978
# Handling of arguments.
2979
for ac_config_target in $ac_config_targets
2981
case $ac_config_target in
2982
"Makefile.ogg2wav") CONFIG_FILES="$CONFIG_FILES Makefile.ogg2wav" ;;
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; }; };;
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
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'.
3008
trap 'exit_status=$?
3009
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3011
trap '{ (exit 1); exit 1; }' 1 2 13 15
3013
# Create a (secure) tmp directory for tmp files.
3016
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3017
test -n "$tmp" && test -d "$tmp"
3020
tmp=./conf$$-$RANDOM
3021
(umask 077 && mkdir "$tmp")
3024
echo "$me: cannot create a temporary directory in ." >&2
3025
{ (exit 1); exit 1; }
3029
# Set up the sed scripts for CONFIG_FILES section.
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
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
3073
ECHO_C!$ECHO_C$ac_delim
3074
ECHO_N!$ECHO_N$ac_delim
3075
ECHO_T!$ECHO_T$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
3106
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
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; }; }
3113
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
3128
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3129
s/^/s,@/; s/!/@,|#_!!_#|/
3132
s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
3153
s/^\([^=]*=[ ]*\):*/\1/
3159
cat >>$CONFIG_STATUS <<\_ACEOF
3160
fi # test -n "$CONFIG_FILES"
3163
for ac_tag in :F $CONFIG_FILES
3166
:[FHLC]) ac_mode=$ac_tag; continue;;
3168
case $ac_mode$ac_tag in
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;;
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 `:'.
3198
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
3204
ac_file_inputs="$ac_file_inputs $ac_f"
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;}
3219
*:-:* | *:-) cat >"$tmp/stdin";;
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 ||
3230
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3249
-*) as_dir=./$as_dir;;
3251
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3255
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3256
*) as_qdir=$as_dir;;
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 ||
3265
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3282
test -d "$as_dir" && break
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; }; }; }
3291
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3307
.) # We are building in place.
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 ;;
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 ;;
3320
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
3336
case `sed -n '/datarootdir/ {
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;}
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' ;;
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
3369
cat >>$CONFIG_STATUS <<\_ACEOF
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
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;}
3394
-) cat "$tmp/out"; rm -f "$tmp/out";;
3395
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3406
{ (exit 0); exit 0; }
3408
chmod +x $CONFIG_STATUS
3409
ac_clean_files=$ac_clean_files_save
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
3422
ac_config_status_args=
3423
test "$silent" = yes &&
3424
ac_config_status_args="$ac_config_status_args --quiet"
3426
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }
3433
ac_config_files="$ac_config_files Makefile.wav2ogg"
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.
3442
# config.status only pays attention to the cache file if you give it
3443
# the --recheck option to rerun configure.
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
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.
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
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;} ;;
3466
_ | IFS | as_nl) ;; #(
3467
*) $as_unset $ac_var ;;
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 \).
3479
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3482
# `set' quotes correctly as required by POSIX, so do not add quotes.
3483
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3492
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3494
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
3503
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3504
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3509
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3510
# Let make expand exec_prefix.
3511
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3513
# Transform confdefs.h into DEFS.
3514
# Protect against shell expansion while executing Makefile rules.
3515
# Protect against Makefile macro expansion.
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.
3523
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3525
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3529
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3542
DEFS=`sed -n "$ac_script" confdefs.h`
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'
3558
LTLIBOBJS=$ac_ltlibobjs
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
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.
3577
SHELL=\${CONFIG_SHELL-$SHELL}
3580
cat >>$CONFIG_STATUS <<\_ACEOF
3581
## --------------------- ##
3582
## M4sh Initialization. ##
3583
## --------------------- ##
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
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
3595
case `(set -o) 2>/dev/null` in
3596
*posix*) set -o posix ;;
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
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
3617
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3625
# Support unset when possible.
3626
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
3642
# Find who we are. Look in the path if we contain no directory separator.
3644
*[\\/]* ) as_myself=$0 ;;
3645
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649
test -z "$as_dir" && as_dir=.
3650
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
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
3680
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3681
eval $as_var=C; export $as_var
3683
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3687
# Required to use basename.
3688
if expr a : '\(a\)' >/dev/null 2>&1 &&
3689
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3695
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3696
as_basename=basename
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 ||
3708
sed '/^.*\/\([^/][^/]*\)\/*$/{
3729
test "x$as_lineno_1" != "x$as_lineno_2" &&
3730
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
3753
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
3765
# Exit status is that of the last command.
3770
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3776
ECHO_C= ECHO_N= ECHO_T=
3779
case `echo 'x\c'` in
3780
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
3787
if expr a : '\(a\)' >/dev/null 2>&1 &&
3788
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3794
rm -f conf$$ conf$$.exe conf$$.file
3795
if test -d conf$$.dir; then
3796
rm -f conf$$.dir/conf$$.file
3802
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
3810
elif ln conf$$.file conf$$ 2>/dev/null; then
3815
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3816
rmdir conf$$.dir 2>/dev/null
3818
if mkdir -p . 2>/dev/null; then
3821
test -d ./-p && rmdir ./-p
3825
if test -x / >/dev/null 2>&1; then
3828
if ls -dL / >/dev/null 2>&1; then
3835
if test -d "$1"; then
3841
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3842
???[sx]*):;;*)false;;esac;fi
3846
as_executable_p=$as_test_x
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'"
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'"
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.
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
3864
CONFIG_FILES = $CONFIG_FILES
3865
CONFIG_HEADERS = $CONFIG_HEADERS
3866
CONFIG_LINKS = $CONFIG_LINKS
3867
CONFIG_COMMANDS = $CONFIG_COMMANDS
3870
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3875
cat >>$CONFIG_STATUS <<_ACEOF
3876
# Files that config.status was made for.
3877
config_files="$ac_config_files"
3881
cat >>$CONFIG_STATUS <<\_ACEOF
3883
\`$as_me' instantiates files from templates according to the
3884
current configuration.
3886
Usage: $0 [OPTIONS] [FILE]...
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
3896
Configuration files:
3899
Report bugs to <bug-autoconf@gnu.org>."
3902
cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
3924
ac_option=`expr "X$1" : 'X\([^=]*\)='`
3925
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3936
# Handling of the options.
3937
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3939
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3940
echo "$ac_cs_version"; exit ;;
3941
--debug | --debu | --deb | --de | --d | -d )
3943
--file | --fil | --fi | --f )
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)
3954
-*) { echo "$as_me: error: unrecognized option: $1
3955
Try \`$0 --help' for more information." >&2
3956
{ (exit 1); exit 1; }; } ;;
3958
*) ac_config_targets="$ac_config_targets $1"
3959
ac_need_defaults=false ;;
3965
ac_configure_extra_args=
3967
if $ac_cs_silent; then
3969
ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3978
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3982
cat >>$CONFIG_STATUS <<\_ACEOF
3986
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3987
## Running $as_me. ##
3993
cat >>$CONFIG_STATUS <<_ACEOF
3996
cat >>$CONFIG_STATUS <<\_ACEOF
3998
# Handling of arguments.
3999
for ac_config_target in $ac_config_targets
4001
case $ac_config_target in
4002
"Makefile.ogg2wav") CONFIG_FILES="$CONFIG_FILES Makefile.ogg2wav" ;;
4003
"Makefile.wav2ogg") CONFIG_FILES="$CONFIG_FILES Makefile.wav2ogg" ;;
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; }; };;
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
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'.
4029
trap 'exit_status=$?
4030
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4032
trap '{ (exit 1); exit 1; }' 1 2 13 15
4034
# Create a (secure) tmp directory for tmp files.
4037
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4038
test -n "$tmp" && test -d "$tmp"
4041
tmp=./conf$$-$RANDOM
4042
(umask 077 && mkdir "$tmp")
4045
echo "$me: cannot create a temporary directory in ." >&2
4046
{ (exit 1); exit 1; }
4050
# Set up the sed scripts for CONFIG_FILES section.
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
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
4094
ECHO_C!$ECHO_C$ac_delim
4095
ECHO_N!$ECHO_N$ac_delim
4096
ECHO_T!$ECHO_T$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
4127
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
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; }; }
4134
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
4149
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4150
s/^/s,@/; s/!/@,|#_!!_#|/
4153
s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
4174
s/^\([^=]*=[ ]*\):*/\1/
4180
cat >>$CONFIG_STATUS <<\_ACEOF
4181
fi # test -n "$CONFIG_FILES"
4184
for ac_tag in :F $CONFIG_FILES
4187
:[FHLC]) ac_mode=$ac_tag; continue;;
4189
case $ac_mode$ac_tag in
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;;
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 `:'.
4219
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
4225
ac_file_inputs="$ac_file_inputs $ac_f"
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;}
4240
*:-:* | *:-) cat >"$tmp/stdin";;
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 ||
4251
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4270
-*) as_dir=./$as_dir;;
4272
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4276
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4277
*) as_qdir=$as_dir;;
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 ||
4286
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4303
test -d "$as_dir" && break
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; }; }; }
4312
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
4328
.) # We are building in place.
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 ;;
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 ;;
4341
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
4357
case `sed -n '/datarootdir/ {
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;}
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' ;;
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
4390
cat >>$CONFIG_STATUS <<\_ACEOF
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
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;}
4415
-) cat "$tmp/out"; rm -f "$tmp/out";;
4416
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4427
{ (exit 0); exit 0; }
4429
chmod +x $CONFIG_STATUS
4430
ac_clean_files=$ac_clean_files_save
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
4443
ac_config_status_args=
4444
test "$silent" = yes &&
4445
ac_config_status_args="$ac_config_status_args --quiet"
4447
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }
4454
chmod a-w Makefile.ogg2wav Makefile.wav2ogg