3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated automatically using autoconf version 2.13
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
12
ac_default_prefix=/usr/local
13
# Any additions from configure.in:
15
--enable-debug put debugging information to bytecode. [default YES]"
17
--enable-profile put profiling information to nativecode. [default NO]"
19
# Initialize some variables set by options.
20
# The variables have the same names as the options, with
21
# dashes changed to underlines.
23
cache_file=./config.cache
32
program_transform_name=s,x,x,
40
bindir='${exec_prefix}/bin'
41
sbindir='${exec_prefix}/sbin'
42
libexecdir='${exec_prefix}/libexec'
43
datadir='${prefix}/share'
44
sysconfdir='${prefix}/etc'
45
sharedstatedir='${prefix}/com'
46
localstatedir='${prefix}/var'
47
libdir='${exec_prefix}/lib'
48
includedir='${prefix}/include'
49
oldincludedir='/usr/include'
50
infodir='${prefix}/info'
51
mandir='${prefix}/man'
53
# Initialize some other variables.
56
SHELL=${CONFIG_SHELL-/bin/sh}
57
# Maximum number of lines to put in a shell here document.
64
# If the previous option needs an argument, assign it.
65
if test -n "$ac_prev"; then
66
eval "$ac_prev=\$ac_option"
72
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
76
# Accept the important Cygnus configure options, so we can diagnose typos.
80
-bindir | --bindir | --bindi | --bind | --bin | --bi)
82
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
83
bindir="$ac_optarg" ;;
85
-build | --build | --buil | --bui | --bu)
87
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
90
-cache-file | --cache-file | --cache-fil | --cache-fi \
91
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
93
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
94
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
95
cache_file="$ac_optarg" ;;
97
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
99
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
101
datadir="$ac_optarg" ;;
103
-disable-* | --disable-*)
104
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
105
# Reject names that are not valid shell variable names.
106
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
107
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
109
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
110
eval "enable_${ac_feature}=no" ;;
112
-enable-* | --enable-*)
113
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
114
# Reject names that are not valid shell variable names.
115
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
116
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
118
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
123
eval "enable_${ac_feature}='$ac_optarg'" ;;
125
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
126
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
127
| --exec | --exe | --ex)
128
ac_prev=exec_prefix ;;
129
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
130
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
131
| --exec=* | --exe=* | --ex=*)
132
exec_prefix="$ac_optarg" ;;
134
-gas | --gas | --ga | --g)
135
# Obsolete; use --with-gas.
138
-help | --help | --hel | --he)
139
# Omit some internal or obsolete options to make the list less imposing.
140
# This message is too long to be a string in the A/UX 3.1 sh.
142
Usage: configure [options] [host]
143
Options: [defaults in brackets after descriptions]
145
--cache-file=FILE cache test results in FILE
146
--help print this message
147
--no-create do not create output files
148
--quiet, --silent do not print \`checking...' messages
149
--version print the version of autoconf that created configure
150
Directory and file names:
151
--prefix=PREFIX install architecture-independent files in PREFIX
153
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
155
--bindir=DIR user executables in DIR [EPREFIX/bin]
156
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
157
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
158
--datadir=DIR read-only architecture-independent data in DIR
160
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
161
--sharedstatedir=DIR modifiable architecture-independent data in DIR
163
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
164
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
165
--includedir=DIR C header files in DIR [PREFIX/include]
166
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
167
--infodir=DIR info documentation in DIR [PREFIX/info]
168
--mandir=DIR man documentation in DIR [PREFIX/man]
169
--srcdir=DIR find the sources in DIR [configure dir or ..]
170
--program-prefix=PREFIX prepend PREFIX to installed program names
171
--program-suffix=SUFFIX append SUFFIX to installed program names
172
--program-transform-name=PROGRAM
173
run sed PROGRAM on installed program names
177
--build=BUILD configure for building on BUILD [BUILD=HOST]
178
--host=HOST configure for HOST [guessed]
179
--target=TARGET configure for TARGET [TARGET=HOST]
180
Features and packages:
181
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
182
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
183
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
184
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
185
--x-includes=DIR X include files are in DIR
186
--x-libraries=DIR X library files are in DIR
188
if test -n "$ac_help"; then
189
echo "--enable and --with options recognized:$ac_help"
193
-host | --host | --hos | --ho)
195
-host=* | --host=* | --hos=* | --ho=*)
198
-includedir | --includedir | --includedi | --included | --include \
199
| --includ | --inclu | --incl | --inc)
200
ac_prev=includedir ;;
201
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
202
| --includ=* | --inclu=* | --incl=* | --inc=*)
203
includedir="$ac_optarg" ;;
205
-infodir | --infodir | --infodi | --infod | --info | --inf)
207
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
208
infodir="$ac_optarg" ;;
210
-libdir | --libdir | --libdi | --libd)
212
-libdir=* | --libdir=* | --libdi=* | --libd=*)
213
libdir="$ac_optarg" ;;
215
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
216
| --libexe | --libex | --libe)
217
ac_prev=libexecdir ;;
218
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
219
| --libexe=* | --libex=* | --libe=*)
220
libexecdir="$ac_optarg" ;;
222
-localstatedir | --localstatedir | --localstatedi | --localstated \
223
| --localstate | --localstat | --localsta | --localst \
224
| --locals | --local | --loca | --loc | --lo)
225
ac_prev=localstatedir ;;
226
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
227
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
228
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
229
localstatedir="$ac_optarg" ;;
231
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
233
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
234
mandir="$ac_optarg" ;;
237
# Obsolete; use --without-fp.
240
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
244
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
245
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
248
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
249
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
250
| --oldin | --oldi | --old | --ol | --o)
251
ac_prev=oldincludedir ;;
252
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
253
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
254
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
255
oldincludedir="$ac_optarg" ;;
257
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
259
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
260
prefix="$ac_optarg" ;;
262
-program-prefix | --program-prefix | --program-prefi | --program-pref \
263
| --program-pre | --program-pr | --program-p)
264
ac_prev=program_prefix ;;
265
-program-prefix=* | --program-prefix=* | --program-prefi=* \
266
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
267
program_prefix="$ac_optarg" ;;
269
-program-suffix | --program-suffix | --program-suffi | --program-suff \
270
| --program-suf | --program-su | --program-s)
271
ac_prev=program_suffix ;;
272
-program-suffix=* | --program-suffix=* | --program-suffi=* \
273
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
274
program_suffix="$ac_optarg" ;;
276
-program-transform-name | --program-transform-name \
277
| --program-transform-nam | --program-transform-na \
278
| --program-transform-n | --program-transform- \
279
| --program-transform | --program-transfor \
280
| --program-transfo | --program-transf \
281
| --program-trans | --program-tran \
282
| --progr-tra | --program-tr | --program-t)
283
ac_prev=program_transform_name ;;
284
-program-transform-name=* | --program-transform-name=* \
285
| --program-transform-nam=* | --program-transform-na=* \
286
| --program-transform-n=* | --program-transform-=* \
287
| --program-transform=* | --program-transfor=* \
288
| --program-transfo=* | --program-transf=* \
289
| --program-trans=* | --program-tran=* \
290
| --progr-tra=* | --program-tr=* | --program-t=*)
291
program_transform_name="$ac_optarg" ;;
293
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
294
| -silent | --silent | --silen | --sile | --sil)
297
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
299
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
301
sbindir="$ac_optarg" ;;
303
-sharedstatedir | --sharedstatedir | --sharedstatedi \
304
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
305
| --sharedst | --shareds | --shared | --share | --shar \
307
ac_prev=sharedstatedir ;;
308
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
309
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
310
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
312
sharedstatedir="$ac_optarg" ;;
314
-site | --site | --sit)
316
-site=* | --site=* | --sit=*)
319
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
321
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
322
srcdir="$ac_optarg" ;;
324
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
325
| --syscon | --sysco | --sysc | --sys | --sy)
326
ac_prev=sysconfdir ;;
327
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
328
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
329
sysconfdir="$ac_optarg" ;;
331
-target | --target | --targe | --targ | --tar | --ta | --t)
333
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
334
target="$ac_optarg" ;;
336
-v | -verbose | --verbose | --verbos | --verbo | --verb)
339
-version | --version | --versio | --versi | --vers)
340
echo "configure generated by autoconf version 2.13"
344
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
345
# Reject names that are not valid shell variable names.
346
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
347
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
349
ac_package=`echo $ac_package| sed 's/-/_/g'`
354
eval "with_${ac_package}='$ac_optarg'" ;;
356
-without-* | --without-*)
357
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
358
# Reject names that are not valid shell variable names.
359
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
360
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362
ac_package=`echo $ac_package| sed 's/-/_/g'`
363
eval "with_${ac_package}=no" ;;
366
# Obsolete; use --with-x.
369
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
370
| --x-incl | --x-inc | --x-in | --x-i)
371
ac_prev=x_includes ;;
372
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
373
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
374
x_includes="$ac_optarg" ;;
376
-x-libraries | --x-libraries | --x-librarie | --x-librari \
377
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
378
ac_prev=x_libraries ;;
379
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
380
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
381
x_libraries="$ac_optarg" ;;
383
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
387
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
388
echo "configure: warning: $ac_option: invalid host type" 1>&2
390
if test "x$nonopt" != xNONE; then
391
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
399
if test -n "$ac_prev"; then
400
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
403
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
405
# File descriptor usage:
408
# 2 errors and warnings
409
# 3 some systems may open it to /dev/tty
410
# 4 used on the Kubota Titan
411
# 6 checking for... messages and results
412
# 5 compiler messages saved in config.log
413
if test "$silent" = yes; then
421
This file contains any messages produced by compilers while
422
running configure, to aid debugging if configure makes a mistake.
425
# Strip out --no-create and --no-recursion so they do not pile up.
426
# Also quote any args containing shell metacharacters.
431
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
432
| --no-cr | --no-c) ;;
433
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
434
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
435
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
436
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
437
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
442
# Only set these to C if already set. These must not be set unconditionally
443
# because not all systems understand e.g. LANG=C (notably SCO).
444
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
445
# Non-C LC_CTYPE values break the ctype check.
446
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
447
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
448
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
449
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
451
# confdefs.h avoids OS command line length limits that DEFS can exceed.
452
rm -rf conftest* confdefs.h
453
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
456
# A filename unique to this package, relative to the directory that
457
# configure is in, which we can look for to find out if srcdir is correct.
458
ac_unique_file=public/uChar.mli
460
# Find the source files, if location was not specified.
461
if test -z "$srcdir"; then
462
ac_srcdir_defaulted=yes
463
# Try the directory containing this script, then its parent.
465
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
466
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
468
if test ! -r $srcdir/$ac_unique_file; then
472
ac_srcdir_defaulted=no
474
if test ! -r $srcdir/$ac_unique_file; then
475
if test "$ac_srcdir_defaulted" = yes; then
476
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
478
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
481
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
483
# Prefer explicitly selected file to automatically selected ones.
484
if test -z "$CONFIG_SITE"; then
485
if test "x$prefix" != xNONE; then
486
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
488
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
491
for ac_site_file in $CONFIG_SITE; do
492
if test -r "$ac_site_file"; then
493
echo "loading site script $ac_site_file"
498
if test -r "$cache_file"; then
499
echo "loading cache $cache_file"
502
echo "creating cache $cache_file"
507
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
508
ac_cpp='$CPP $CPPFLAGS'
509
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
510
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
511
cross_compiling=$ac_cv_prog_cc_cross
515
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
516
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
517
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
524
ac_n= ac_c='\c' ac_t=
529
# Debug and Profiling
531
# Check whether --enable-debug or --disable-debug was given.
532
if test "${enable_debug+set}" = set; then
533
enableval="$enable_debug"
540
if test "$debug" = yes ; then DEBUG=-g; else DEBUG=; fi
542
# Check whether --enable-profile or --disable-profile was given.
543
if test "${enable_profile+set}" = set; then
544
enableval="$enable_profile"
551
if test "$profile" = yes ; then PROFILE=-p; else PROFILE=; fi
553
# Check for Ocaml compilers
555
# we first look for ocamlc in the path; if not present, we fail
556
# Extract the first word of "ocamlc", so it can be a program name with args.
557
set dummy ocamlc; ac_word=$2
558
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
559
echo "configure:560: checking for $ac_word" >&5
560
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLC'+set}'`\" = set"; then
561
echo $ac_n "(cached) $ac_c" 1>&6
563
if test -n "$OCAMLC"; then
564
ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
566
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
568
for ac_dir in $ac_dummy; do
569
test -z "$ac_dir" && ac_dir=.
570
if test -f $ac_dir/$ac_word; then
571
ac_cv_prog_OCAMLC="ocamlc"
576
test -z "$ac_cv_prog_OCAMLC" && ac_cv_prog_OCAMLC="no"
579
OCAMLC="$ac_cv_prog_OCAMLC"
580
if test -n "$OCAMLC"; then
581
echo "$ac_t""$OCAMLC" 1>&6
583
echo "$ac_t""no" 1>&6
586
if test "$OCAMLC" = no ; then
587
{ echo "configure: error: Cannot find ocamlc." 1>&2; exit 1; }
590
# we extract Ocaml version number and library path
591
OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
592
echo "ocaml version is $OCAMLVERSION"
593
OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
594
echo "ocaml library path is $OCAMLLIB"
596
# then we look for ocamlopt; if not present, we issue a warning
597
# if the version is not the same, we also discard it
598
# we set OCAMLBEST to "opt" or "byte", whether ocamlopt is available or not
599
# Extract the first word of "ocamlopt", so it can be a program name with args.
600
set dummy ocamlopt; ac_word=$2
601
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
602
echo "configure:603: checking for $ac_word" >&5
603
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLOPT'+set}'`\" = set"; then
604
echo $ac_n "(cached) $ac_c" 1>&6
606
if test -n "$OCAMLOPT"; then
607
ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
609
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
611
for ac_dir in $ac_dummy; do
612
test -z "$ac_dir" && ac_dir=.
613
if test -f $ac_dir/$ac_word; then
614
ac_cv_prog_OCAMLOPT="ocamlopt"
619
test -z "$ac_cv_prog_OCAMLOPT" && ac_cv_prog_OCAMLOPT="no"
622
OCAMLOPT="$ac_cv_prog_OCAMLOPT"
623
if test -n "$OCAMLOPT"; then
624
echo "$ac_t""$OCAMLOPT" 1>&6
626
echo "$ac_t""no" 1>&6
630
if test "$OCAMLOPT" = no ; then
631
echo "configure: warning: Cannot find ocamlopt; bytecode compilation only." 1>&2
633
echo $ac_n "checking ocamlopt version""... $ac_c" 1>&6
634
echo "configure:635: checking ocamlopt version" >&5
635
TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
636
if test "$TMPVERSION" != "$OCAMLVERSION" ; then
637
echo "$ac_t""differs from ocamlc; ocamlopt discarded." 1>&6
640
echo "$ac_t""ok" 1>&6
645
# checking for ocamlc.opt
646
# Extract the first word of "ocamlc.opt", so it can be a program name with args.
647
set dummy ocamlc.opt; ac_word=$2
648
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
649
echo "configure:650: checking for $ac_word" >&5
650
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLCDOTOPT'+set}'`\" = set"; then
651
echo $ac_n "(cached) $ac_c" 1>&6
653
if test -n "$OCAMLCDOTOPT"; then
654
ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
656
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
658
for ac_dir in $ac_dummy; do
659
test -z "$ac_dir" && ac_dir=.
660
if test -f $ac_dir/$ac_word; then
661
ac_cv_prog_OCAMLCDOTOPT="ocamlc.opt"
666
test -z "$ac_cv_prog_OCAMLCDOTOPT" && ac_cv_prog_OCAMLCDOTOPT="no"
669
OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
670
if test -n "$OCAMLCDOTOPT"; then
671
echo "$ac_t""$OCAMLCDOTOPT" 1>&6
673
echo "$ac_t""no" 1>&6
676
if test "$OCAMLCDOTOPT" != no ; then
677
echo $ac_n "checking ocamlc.opt version""... $ac_c" 1>&6
678
echo "configure:679: checking ocamlc.opt version" >&5
679
TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
680
if test "$TMPVERSION" != "$OCAMLVERSION" ; then
681
echo "$ac_t""differs from ocamlc; ocamlc.opt discarded." 1>&6
683
echo "$ac_t""ok" 1>&6
688
# checking for ocamlopt.opt
689
if test "$OCAMLOPT" != no ; then
690
# Extract the first word of "ocamlopt.opt", so it can be a program name with args.
691
set dummy ocamlopt.opt; ac_word=$2
692
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
693
echo "configure:694: checking for $ac_word" >&5
694
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLOPTDOTOPT'+set}'`\" = set"; then
695
echo $ac_n "(cached) $ac_c" 1>&6
697
if test -n "$OCAMLOPTDOTOPT"; then
698
ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
700
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
702
for ac_dir in $ac_dummy; do
703
test -z "$ac_dir" && ac_dir=.
704
if test -f $ac_dir/$ac_word; then
705
ac_cv_prog_OCAMLOPTDOTOPT="ocamlopt.opt"
710
test -z "$ac_cv_prog_OCAMLOPTDOTOPT" && ac_cv_prog_OCAMLOPTDOTOPT="no"
713
OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
714
if test -n "$OCAMLOPTDOTOPT"; then
715
echo "$ac_t""$OCAMLOPTDOTOPT" 1>&6
717
echo "$ac_t""no" 1>&6
720
if test "$OCAMLOPTDOTOPT" != no ; then
721
echo $ac_n "checking ocamlc.opt version""... $ac_c" 1>&6
722
echo "configure:723: checking ocamlc.opt version" >&5
723
TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
724
if test "$TMPVER" != "$OCAMLVERSION" ; then
725
echo "$ac_t""differs from ocamlc; ocamlopt.opt discarded." 1>&6
727
echo "$ac_t""ok" 1>&6
728
OCAMLOPT=$OCAMLOPTDOTOPT
733
# ocamldep, ocamllex and ocamlyacc should also be present in the path
734
# Extract the first word of "ocamldep", so it can be a program name with args.
735
set dummy ocamldep; ac_word=$2
736
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
737
echo "configure:738: checking for $ac_word" >&5
738
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLDEP'+set}'`\" = set"; then
739
echo $ac_n "(cached) $ac_c" 1>&6
741
if test -n "$OCAMLDEP"; then
742
ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
744
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
746
for ac_dir in $ac_dummy; do
747
test -z "$ac_dir" && ac_dir=.
748
if test -f $ac_dir/$ac_word; then
749
ac_cv_prog_OCAMLDEP="ocamldep"
754
test -z "$ac_cv_prog_OCAMLDEP" && ac_cv_prog_OCAMLDEP="no"
757
OCAMLDEP="$ac_cv_prog_OCAMLDEP"
758
if test -n "$OCAMLDEP"; then
759
echo "$ac_t""$OCAMLDEP" 1>&6
761
echo "$ac_t""no" 1>&6
764
if test "$OCAMLDEP" = no ; then
765
{ echo "configure: error: Cannot find ocamldep." 1>&2; exit 1; }
768
# Extract the first word of "ocamllex", so it can be a program name with args.
769
set dummy ocamllex; ac_word=$2
770
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
771
echo "configure:772: checking for $ac_word" >&5
772
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLLEX'+set}'`\" = set"; then
773
echo $ac_n "(cached) $ac_c" 1>&6
775
if test -n "$OCAMLLEX"; then
776
ac_cv_prog_OCAMLLEX="$OCAMLLEX" # Let the user override the test.
778
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
780
for ac_dir in $ac_dummy; do
781
test -z "$ac_dir" && ac_dir=.
782
if test -f $ac_dir/$ac_word; then
783
ac_cv_prog_OCAMLLEX="ocamllex"
788
test -z "$ac_cv_prog_OCAMLLEX" && ac_cv_prog_OCAMLLEX="no"
791
OCAMLLEX="$ac_cv_prog_OCAMLLEX"
792
if test -n "$OCAMLLEX"; then
793
echo "$ac_t""$OCAMLLEX" 1>&6
795
echo "$ac_t""no" 1>&6
798
if test "$OCAMLLEX" = no ; then
799
{ echo "configure: error: Cannot find ocamllex." 1>&2; exit 1; }
801
# Extract the first word of "ocamllex.opt", so it can be a program name with args.
802
set dummy ocamllex.opt; ac_word=$2
803
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
804
echo "configure:805: checking for $ac_word" >&5
805
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLLEXDOTOPT'+set}'`\" = set"; then
806
echo $ac_n "(cached) $ac_c" 1>&6
808
if test -n "$OCAMLLEXDOTOPT"; then
809
ac_cv_prog_OCAMLLEXDOTOPT="$OCAMLLEXDOTOPT" # Let the user override the test.
811
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
813
for ac_dir in $ac_dummy; do
814
test -z "$ac_dir" && ac_dir=.
815
if test -f $ac_dir/$ac_word; then
816
ac_cv_prog_OCAMLLEXDOTOPT="ocamllex.opt"
821
test -z "$ac_cv_prog_OCAMLLEXDOTOPT" && ac_cv_prog_OCAMLLEXDOTOPT="no"
824
OCAMLLEXDOTOPT="$ac_cv_prog_OCAMLLEXDOTOPT"
825
if test -n "$OCAMLLEXDOTOPT"; then
826
echo "$ac_t""$OCAMLLEXDOTOPT" 1>&6
828
echo "$ac_t""no" 1>&6
831
if test "$OCAMLLEXDOTOPT" != no ; then
832
OCAMLLEX=$OCAMLLEXDOTOPT
836
# Extract the first word of "ocamlyacc", so it can be a program name with args.
837
set dummy ocamlyacc; ac_word=$2
838
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
839
echo "configure:840: checking for $ac_word" >&5
840
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLYACC'+set}'`\" = set"; then
841
echo $ac_n "(cached) $ac_c" 1>&6
843
if test -n "$OCAMLYACC"; then
844
ac_cv_prog_OCAMLYACC="$OCAMLYACC" # Let the user override the test.
846
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
848
for ac_dir in $ac_dummy; do
849
test -z "$ac_dir" && ac_dir=.
850
if test -f $ac_dir/$ac_word; then
851
ac_cv_prog_OCAMLYACC="ocamlyacc"
856
test -z "$ac_cv_prog_OCAMLYACC" && ac_cv_prog_OCAMLYACC="no"
859
OCAMLYACC="$ac_cv_prog_OCAMLYACC"
860
if test -n "$OCAMLYACC"; then
861
echo "$ac_t""$OCAMLYACC" 1>&6
863
echo "$ac_t""no" 1>&6
866
if test "$OCAMLYACC" = no ; then
867
{ echo "configure: error: Cannot find ocamlyacc." 1>&2; exit 1; }
870
# Extract the first word of "ocamlweb", so it can be a program name with args.
871
set dummy ocamlweb; ac_word=$2
872
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
873
echo "configure:874: checking for $ac_word" >&5
874
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLWEB'+set}'`\" = set"; then
875
echo $ac_n "(cached) $ac_c" 1>&6
877
if test -n "$OCAMLWEB"; then
878
ac_cv_prog_OCAMLWEB="$OCAMLWEB" # Let the user override the test.
880
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
882
for ac_dir in $ac_dummy; do
883
test -z "$ac_dir" && ac_dir=.
884
if test -f $ac_dir/$ac_word; then
885
ac_cv_prog_OCAMLWEB="ocamlweb"
890
test -z "$ac_cv_prog_OCAMLWEB" && ac_cv_prog_OCAMLWEB="true"
893
OCAMLWEB="$ac_cv_prog_OCAMLWEB"
894
if test -n "$OCAMLWEB"; then
895
echo "$ac_t""$OCAMLWEB" 1>&6
897
echo "$ac_t""no" 1>&6
901
# Extract the first word of "camlp4o", so it can be a program name with args.
902
set dummy camlp4o; ac_word=$2
903
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
904
echo "configure:905: checking for $ac_word" >&5
905
if eval "test \"`echo '$''{'ac_cv_prog_CAMLP4O'+set}'`\" = set"; then
906
echo $ac_n "(cached) $ac_c" 1>&6
908
if test -n "$CAMLP4O"; then
909
ac_cv_prog_CAMLP4O="$CAMLP4O" # Let the user override the test.
911
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
913
for ac_dir in $ac_dummy; do
914
test -z "$ac_dir" && ac_dir=.
915
if test -f $ac_dir/$ac_word; then
916
ac_cv_prog_CAMLP4O="camlp4o"
921
test -z "$ac_cv_prog_CAMLP4O" && ac_cv_prog_CAMLP4O="no"
924
CAMLP4O="$ac_cv_prog_CAMLP4O"
925
if test -n "$CAMLP4O"; then
926
echo "$ac_t""$CAMLP4O" 1>&6
928
echo "$ac_t""no" 1>&6
931
if test "$CAMLP4O" = no ; then
932
{ echo "configure: error: Cannot find camlp4o." 1>&2; exit 1; }
935
# Extract the first word of "ocamlfind", so it can be a program name with args.
936
set dummy ocamlfind; ac_word=$2
937
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
938
echo "configure:939: checking for $ac_word" >&5
939
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLINSTALL'+set}'`\" = set"; then
940
echo $ac_n "(cached) $ac_c" 1>&6
942
if test -n "$OCAMLINSTALL"; then
943
ac_cv_prog_OCAMLINSTALL="$OCAMLINSTALL" # Let the user override the test.
945
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
947
for ac_dir in $ac_dummy; do
948
test -z "$ac_dir" && ac_dir=.
949
if test -f $ac_dir/$ac_word; then
950
ac_cv_prog_OCAMLINSTALL="install-with-ocamlfind"
955
test -z "$ac_cv_prog_OCAMLINSTALL" && ac_cv_prog_OCAMLINSTALL="install-without-ocamlfind"
958
OCAMLINSTALL="$ac_cv_prog_OCAMLINSTALL"
959
if test -n "$OCAMLINSTALL"; then
960
echo "$ac_t""$OCAMLINSTALL" 1>&6
962
echo "$ac_t""no" 1>&6
966
# Extract the first word of "ocamldoc", so it can be a program name with args.
967
set dummy ocamldoc; ac_word=$2
968
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969
echo "configure:970: checking for $ac_word" >&5
970
if eval "test \"`echo '$''{'ac_cv_prog_OCAMLDOC'+set}'`\" = set"; then
971
echo $ac_n "(cached) $ac_c" 1>&6
973
if test -n "$OCAMLDOC"; then
974
ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
976
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
978
for ac_dir in $ac_dummy; do
979
test -z "$ac_dir" && ac_dir=.
980
if test -f $ac_dir/$ac_word; then
981
ac_cv_prog_OCAMLDOC="ocamldoc"
986
test -z "$ac_cv_prog_OCAMLDOC" && ac_cv_prog_OCAMLDOC="false"
989
OCAMLDOC="$ac_cv_prog_OCAMLDOC"
990
if test -n "$OCAMLDOC"; then
991
echo "$ac_t""$OCAMLDOC" 1>&6
993
echo "$ac_t""no" 1>&6
996
if test "$OCAMLDOC" = false; then
997
echo "configure: warning: Cannot find ocamldoc." 1>&2
1000
# substitutions to perform
1017
# Finally create the Makefile from Makefile.in
1019
cat > confcache <<\EOF
1020
# This file is a shell script that caches the results of configure
1021
# tests run on this system so they can be shared between configure
1022
# scripts and configure runs. It is not useful on other systems.
1023
# If it contains results you don't want to keep, you may remove or edit it.
1025
# By default, configure uses ./config.cache as the cache file,
1026
# creating it if it does not exist already. You can give configure
1027
# the --cache-file=FILE option to use a different cache file; that is
1028
# what configure does when it calls configure scripts in
1029
# subdirectories, so they share the cache.
1030
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1031
# config.status only pays attention to the cache file if you give it the
1032
# --recheck option to rerun configure.
1035
# The following way of writing the cache mishandles newlines in values,
1036
# but we know of no workaround that is simple, portable, and efficient.
1037
# So, don't put newlines in cache variables' values.
1038
# Ultrix sh set writes to stderr and can't be redirected directly,
1039
# and sets the high bit in the cache file unless we assign to the vars.
1041
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1043
# `set' does not quote correctly, so add quotes (double-quote substitution
1044
# turns \\\\ into \\, and sed turns \\ into \).
1046
-e "s/'/'\\\\''/g" \
1047
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1050
# `set' quotes correctly as required by POSIX, so do not add quotes.
1051
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1054
if cmp -s $cache_file confcache; then
1057
if test -w $cache_file; then
1058
echo "updating cache $cache_file"
1059
cat confcache > $cache_file
1061
echo "not updating unwritable cache $cache_file"
1066
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1068
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1069
# Let make expand exec_prefix.
1070
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1072
# Any assignment to VPATH causes Sun make to only execute
1073
# the first set of double-colon rules, so remove it if not needed.
1074
# If there is a colon in the path, we need to keep it.
1075
if test "x$srcdir" = x.; then
1076
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1079
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1081
# Transform confdefs.h into DEFS.
1082
# Protect against shell expansion while executing Makefile rules.
1083
# Protect against Makefile macro expansion.
1084
cat > conftest.defs <<\EOF
1085
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1086
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1091
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1095
# Without the "./", some shells look in PATH for config.status.
1096
: ${CONFIG_STATUS=./config.status}
1098
echo creating $CONFIG_STATUS
1099
rm -f $CONFIG_STATUS
1100
cat > $CONFIG_STATUS <<EOF
1102
# Generated automatically by configure.
1103
# Run this file to recreate the current configuration.
1104
# This directory was configured as follows,
1105
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1107
# $0 $ac_configure_args
1109
# Compiler output produced by configure, useful for debugging
1110
# configure, is in ./config.log if it exists.
1112
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1115
case "\$ac_option" in
1116
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1117
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1118
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1119
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1120
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1122
-help | --help | --hel | --he | --h)
1123
echo "\$ac_cs_usage"; exit 0 ;;
1124
*) echo "\$ac_cs_usage"; exit 1 ;;
1128
ac_given_srcdir=$srcdir
1130
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1132
cat >> $CONFIG_STATUS <<EOF
1134
# Protect against being on the right side of a sed subst in config.status.
1135
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1136
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1140
s%@CFLAGS@%$CFLAGS%g
1141
s%@CPPFLAGS@%$CPPFLAGS%g
1142
s%@CXXFLAGS@%$CXXFLAGS%g
1143
s%@FFLAGS@%$FFLAGS%g
1145
s%@LDFLAGS@%$LDFLAGS%g
1147
s%@exec_prefix@%$exec_prefix%g
1148
s%@prefix@%$prefix%g
1149
s%@program_transform_name@%$program_transform_name%g
1150
s%@bindir@%$bindir%g
1151
s%@sbindir@%$sbindir%g
1152
s%@libexecdir@%$libexecdir%g
1153
s%@datadir@%$datadir%g
1154
s%@sysconfdir@%$sysconfdir%g
1155
s%@sharedstatedir@%$sharedstatedir%g
1156
s%@localstatedir@%$localstatedir%g
1157
s%@libdir@%$libdir%g
1158
s%@includedir@%$includedir%g
1159
s%@oldincludedir@%$oldincludedir%g
1160
s%@infodir@%$infodir%g
1161
s%@mandir@%$mandir%g
1162
s%@OCAMLC@%$OCAMLC%g
1163
s%@OCAMLOPT@%$OCAMLOPT%g
1164
s%@OCAMLCDOTOPT@%$OCAMLCDOTOPT%g
1165
s%@OCAMLOPTDOTOPT@%$OCAMLOPTDOTOPT%g
1166
s%@OCAMLDEP@%$OCAMLDEP%g
1167
s%@OCAMLLEX@%$OCAMLLEX%g
1168
s%@OCAMLLEXDOTOPT@%$OCAMLLEXDOTOPT%g
1169
s%@OCAMLYACC@%$OCAMLYACC%g
1170
s%@OCAMLWEB@%$OCAMLWEB%g
1171
s%@CAMLP4O@%$CAMLP4O%g
1172
s%@OCAMLINSTALL@%$OCAMLINSTALL%g
1173
s%@OCAMLDOC@%$OCAMLDOC%g
1174
s%@OCAMLMKLIB@%$OCAMLMKLIB%g
1175
s%@OCAMLBEST@%$OCAMLBEST%g
1176
s%@OCAMLVERSION@%$OCAMLVERSION%g
1177
s%@OCAMLLIB@%$OCAMLLIB%g
1179
s%@PROFILE@%$PROFILE%g
1184
cat >> $CONFIG_STATUS <<\EOF
1186
# Split the substitutions into bite-sized pieces for seds with
1187
# small command number limits, like on Digital OSF/1 and HP-UX.
1188
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1189
ac_file=1 # Number of current file.
1190
ac_beg=1 # First line for current file.
1191
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1194
while $ac_more_lines; do
1195
if test $ac_beg -gt 1; then
1196
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1198
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1200
if test ! -s conftest.s$ac_file; then
1202
rm -f conftest.s$ac_file
1204
if test -z "$ac_sed_cmds"; then
1205
ac_sed_cmds="sed -f conftest.s$ac_file"
1207
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1209
ac_file=`expr $ac_file + 1`
1211
ac_end=`expr $ac_end + $ac_max_sed_cmds`
1214
if test -z "$ac_sed_cmds"; then
1219
cat >> $CONFIG_STATUS <<EOF
1221
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1223
cat >> $CONFIG_STATUS <<\EOF
1224
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1225
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1227
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1228
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1229
*) ac_file_in="${ac_file}.in" ;;
1232
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1234
# Remove last slash and all that follows it. Not all systems have dirname.
1235
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1236
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1237
# The file is in a subdirectory.
1238
test ! -d "$ac_dir" && mkdir "$ac_dir"
1239
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1240
# A "../" for each directory in $ac_dir_suffix.
1241
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1243
ac_dir_suffix= ac_dots=
1246
case "$ac_given_srcdir" in
1248
if test -z "$ac_dots"; then top_srcdir=.
1249
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1250
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1252
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1253
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1257
echo creating "$ac_file"
1259
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1261
*Makefile*) ac_comsub="1i\\
1262
# $configure_input" ;;
1266
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1268
s%@configure_input@%$configure_input%g
1269
s%@srcdir@%$srcdir%g
1270
s%@top_srcdir@%$top_srcdir%g
1271
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1276
cat >> $CONFIG_STATUS <<EOF
1279
cat >> $CONFIG_STATUS <<\EOF
1280
test -f camomileconfig.ml && rm camomileconfig.ml
1283
chmod +x $CONFIG_STATUS
1284
rm -fr confdefs* $ac_clean_files
1285
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1