Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / configure @ 1e48ef45

History | View | Annotate | Download (111 KB)

1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for lustrec 0.1-371.
4
#
5
# Report bugs to <ploc@garoche.net>.
6
#
7
#
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
#
10
#
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
16

    
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
  emulate sh
21
  NULLCMD=:
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
  # is contrary to our usage.  Disable this feature.
24
  alias -g '${1+"$@"}'='"$@"'
25
  setopt NO_GLOB_SUBST
26
else
27
  case `(set -o) 2>/dev/null` in #(
28
  *posix*) :
29
    set -o posix ;; #(
30
  *) :
31
     ;;
32
esac
33
fi
34

    
35

    
36
as_nl='
37
'
38
export as_nl
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
  as_echo='print -r --'
48
  as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
56
  else
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
60
      case $arg in #(
61
      *"$as_nl"*)
62
	expr "X$arg" : "X\\(.*\\)$as_nl";
63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
  fi
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73

    
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
81
fi
82

    
83

    
84
# IFS
85
# We need space, tab and new line, in precisely that order.  Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
89
IFS=" ""	$as_nl"
90

    
91
# Find who we are.  Look in the path if we contain no directory separator.
92
as_myself=
93
case $0 in #((
94
  *[\\/]* ) as_myself=$0 ;;
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
for as_dir in $PATH
97
do
98
  IFS=$as_save_IFS
99
  test -z "$as_dir" && as_dir=.
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
  done
102
IFS=$as_save_IFS
103

    
104
     ;;
105
esac
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
109
  as_myself=$0
110
fi
111
if test ! -f "$as_myself"; then
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
  exit 1
114
fi
115

    
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there.  '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
done
124
PS1='$ '
125
PS2='> '
126
PS4='+ '
127

    
128
# NLS nuisances.
129
LC_ALL=C
130
export LC_ALL
131
LANGUAGE=C
132
export LANGUAGE
133

    
134
# CDPATH.
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136

    
137
# Use a proper internal environment variable to ensure we don't fall
138
  # into an infinite loop, continuously re-executing ourselves.
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
    _as_can_reexec=no; export _as_can_reexec;
141
    # We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
145
BASH_ENV=/dev/null
146
ENV=/dev/null
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
case $- in # ((((
149
  *v*x* | *x*v* ) as_opts=-vx ;;
150
  *v* ) as_opts=-v ;;
151
  *x* ) as_opts=-x ;;
152
  * ) as_opts= ;;
153
esac
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
as_fn_exit 255
159
  fi
160
  # We don't want this to propagate to other subprocesses.
161
          { _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
  emulate sh
165
  NULLCMD=:
166
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
  # is contrary to our usage.  Disable this feature.
168
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
  setopt NO_GLOB_SUBST
170
else
171
  case \`(set -o) 2>/dev/null\` in #(
172
  *posix*) :
173
    set -o posix ;; #(
174
  *) :
175
     ;;
176
esac
177
fi
178
"
179
  as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
184

    
185
exitcode=0
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191

    
192
else
193
  exitcode=1; echo positional parameters were not saved.
194
fi
195
test x\$exitcode = x0 || exit 1
196
test -x / || exit 1"
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201
  if (eval "$as_required") 2>/dev/null; then :
202
  as_have_required=yes
203
else
204
  as_have_required=no
205
fi
206
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207

    
208
else
209
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210
as_found=false
211
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212
do
213
  IFS=$as_save_IFS
214
  test -z "$as_dir" && as_dir=.
215
  as_found=:
216
  case $as_dir in #(
217
	 /*)
218
	   for as_base in sh bash ksh sh5; do
219
	     # Try only shells that exist, to save several forks.
220
	     as_shell=$as_dir/$as_base
221
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223
  CONFIG_SHELL=$as_shell as_have_required=yes
224
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225
  break 2
226
fi
227
fi
228
	   done;;
229
       esac
230
  as_found=false
231
done
232
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234
  CONFIG_SHELL=$SHELL as_have_required=yes
235
fi; }
236
IFS=$as_save_IFS
237

    
238

    
239
      if test "x$CONFIG_SHELL" != x; then :
240
  export CONFIG_SHELL
241
             # We cannot yet assume a decent shell, so we have to provide a
242
# neutralization value for shells without unset; and this also
243
# works around shells that cannot unset nonexistent variables.
244
# Preserve -v and -x to the replacement shell.
245
BASH_ENV=/dev/null
246
ENV=/dev/null
247
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248
case $- in # ((((
249
  *v*x* | *x*v* ) as_opts=-vx ;;
250
  *v* ) as_opts=-v ;;
251
  *x* ) as_opts=-x ;;
252
  * ) as_opts= ;;
253
esac
254
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255
# Admittedly, this is quite paranoid, since all the known shells bail
256
# out after a failed `exec'.
257
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258
exit 255
259
fi
260

    
261
    if test x$as_have_required = xno; then :
262
  $as_echo "$0: This script requires a shell more modern than all"
263
  $as_echo "$0: the shells that I found on your system."
264
  if test x${ZSH_VERSION+set} = xset ; then
265
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267
  else
268
    $as_echo "$0: Please tell bug-autoconf@gnu.org and ploc@garoche.net
269
$0: about your system, including any error possibly output
270
$0: before this message. Then install a modern shell, or
271
$0: manually run the script under such a shell if you do
272
$0: have one."
273
  fi
274
  exit 1
275
fi
276
fi
277
fi
278
SHELL=${CONFIG_SHELL-/bin/sh}
279
export SHELL
280
# Unset more variables known to interfere with behavior of common tools.
281
CLICOLOR_FORCE= GREP_OPTIONS=
282
unset CLICOLOR_FORCE GREP_OPTIONS
283

    
284
## --------------------- ##
285
## M4sh Shell Functions. ##
286
## --------------------- ##
287
# as_fn_unset VAR
288
# ---------------
289
# Portably unset VAR.
290
as_fn_unset ()
291
{
292
  { eval $1=; unset $1;}
293
}
294
as_unset=as_fn_unset
295

    
296
# as_fn_set_status STATUS
297
# -----------------------
298
# Set $? to STATUS, without forking.
299
as_fn_set_status ()
300
{
301
  return $1
302
} # as_fn_set_status
303

    
304
# as_fn_exit STATUS
305
# -----------------
306
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307
as_fn_exit ()
308
{
309
  set +e
310
  as_fn_set_status $1
311
  exit $1
312
} # as_fn_exit
313

    
314
# as_fn_mkdir_p
315
# -------------
316
# Create "$as_dir" as a directory, including parents if necessary.
317
as_fn_mkdir_p ()
318
{
319

    
320
  case $as_dir in #(
321
  -*) as_dir=./$as_dir;;
322
  esac
323
  test -d "$as_dir" || eval $as_mkdir_p || {
324
    as_dirs=
325
    while :; do
326
      case $as_dir in #(
327
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328
      *) as_qdir=$as_dir;;
329
      esac
330
      as_dirs="'$as_qdir' $as_dirs"
331
      as_dir=`$as_dirname -- "$as_dir" ||
332
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333
	 X"$as_dir" : 'X\(//\)[^/]' \| \
334
	 X"$as_dir" : 'X\(//\)$' \| \
335
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336
$as_echo X"$as_dir" |
337
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338
	    s//\1/
339
	    q
340
	  }
341
	  /^X\(\/\/\)[^/].*/{
342
	    s//\1/
343
	    q
344
	  }
345
	  /^X\(\/\/\)$/{
346
	    s//\1/
347
	    q
348
	  }
349
	  /^X\(\/\).*/{
350
	    s//\1/
351
	    q
352
	  }
353
	  s/.*/./; q'`
354
      test -d "$as_dir" && break
355
    done
356
    test -z "$as_dirs" || eval "mkdir $as_dirs"
357
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358

    
359

    
360
} # as_fn_mkdir_p
361

    
362
# as_fn_executable_p FILE
363
# -----------------------
364
# Test if FILE is an executable regular file.
365
as_fn_executable_p ()
366
{
367
  test -f "$1" && test -x "$1"
368
} # as_fn_executable_p
369
# as_fn_append VAR VALUE
370
# ----------------------
371
# Append the text in VALUE to the end of the definition contained in VAR. Take
372
# advantage of any shell optimizations that allow amortized linear growth over
373
# repeated appends, instead of the typical quadratic growth present in naive
374
# implementations.
375
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376
  eval 'as_fn_append ()
377
  {
378
    eval $1+=\$2
379
  }'
380
else
381
  as_fn_append ()
382
  {
383
    eval $1=\$$1\$2
384
  }
385
fi # as_fn_append
386

    
387
# as_fn_arith ARG...
388
# ------------------
389
# Perform arithmetic evaluation on the ARGs, and store the result in the
390
# global $as_val. Take advantage of shells that can avoid forks. The arguments
391
# must be portable across $(()) and expr.
392
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393
  eval 'as_fn_arith ()
394
  {
395
    as_val=$(( $* ))
396
  }'
397
else
398
  as_fn_arith ()
399
  {
400
    as_val=`expr "$@" || test $? -eq 1`
401
  }
402
fi # as_fn_arith
403

    
404

    
405
# as_fn_error STATUS ERROR [LINENO LOG_FD]
406
# ----------------------------------------
407
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409
# script with STATUS, using 1 if that was 0.
410
as_fn_error ()
411
{
412
  as_status=$1; test $as_status -eq 0 && as_status=1
413
  if test "$4"; then
414
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416
  fi
417
  $as_echo "$as_me: error: $2" >&2
418
  as_fn_exit $as_status
419
} # as_fn_error
420

    
421
if expr a : '\(a\)' >/dev/null 2>&1 &&
422
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
423
  as_expr=expr
424
else
425
  as_expr=false
426
fi
427

    
428
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429
  as_basename=basename
430
else
431
  as_basename=false
432
fi
433

    
434
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435
  as_dirname=dirname
436
else
437
  as_dirname=false
438
fi
439

    
440
as_me=`$as_basename -- "$0" ||
441
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442
	 X"$0" : 'X\(//\)$' \| \
443
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444
$as_echo X/"$0" |
445
    sed '/^.*\/\([^/][^/]*\)\/*$/{
446
	    s//\1/
447
	    q
448
	  }
449
	  /^X\/\(\/\/\)$/{
450
	    s//\1/
451
	    q
452
	  }
453
	  /^X\/\(\/\).*/{
454
	    s//\1/
455
	    q
456
	  }
457
	  s/.*/./; q'`
458

    
459
# Avoid depending upon Character Ranges.
460
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463
as_cr_digits='0123456789'
464
as_cr_alnum=$as_cr_Letters$as_cr_digits
465

    
466

    
467
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
468
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
469
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
472
  sed -n '
473
    p
474
    /[$]LINENO/=
475
  ' <$as_myself |
476
    sed '
477
      s/[$]LINENO.*/&-/
478
      t lineno
479
      b
480
      :lineno
481
      N
482
      :loop
483
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484
      t loop
485
      s/-\n.*//
486
    ' >$as_me.lineno &&
487
  chmod +x "$as_me.lineno" ||
488
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489

    
490
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491
  # already done that, so ensure we don't try to do so again and fall
492
  # in an infinite loop.  This has already happened in practice.
493
  _as_can_reexec=no; export _as_can_reexec
494
  # Don't try to exec as it changes $[0], causing all sort of problems
495
  # (the dirname of $[0] is not the place where we might find the
496
  # original and so on.  Autoconf is especially sensitive to this).
497
  . "./$as_me.lineno"
498
  # Exit status is that of the last command.
499
  exit
500
}
501

    
502
ECHO_C= ECHO_N= ECHO_T=
503
case `echo -n x` in #(((((
504
-n*)
505
  case `echo 'xy\c'` in
506
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
507
  xy)  ECHO_C='\c';;
508
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
509
       ECHO_T='	';;
510
  esac;;
511
*)
512
  ECHO_N='-n';;
513
esac
514

    
515
rm -f conf$$ conf$$.exe conf$$.file
516
if test -d conf$$.dir; then
517
  rm -f conf$$.dir/conf$$.file
518
else
519
  rm -f conf$$.dir
520
  mkdir conf$$.dir 2>/dev/null
521
fi
522
if (echo >conf$$.file) 2>/dev/null; then
523
  if ln -s conf$$.file conf$$ 2>/dev/null; then
524
    as_ln_s='ln -s'
525
    # ... but there are two gotchas:
526
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528
    # In both cases, we have to default to `cp -pR'.
529
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530
      as_ln_s='cp -pR'
531
  elif ln conf$$.file conf$$ 2>/dev/null; then
532
    as_ln_s=ln
533
  else
534
    as_ln_s='cp -pR'
535
  fi
536
else
537
  as_ln_s='cp -pR'
538
fi
539
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540
rmdir conf$$.dir 2>/dev/null
541

    
542
if mkdir -p . 2>/dev/null; then
543
  as_mkdir_p='mkdir -p "$as_dir"'
544
else
545
  test -d ./-p && rmdir ./-p
546
  as_mkdir_p=false
547
fi
548

    
549
as_test_x='test -x'
550
as_executable_p=as_fn_executable_p
551

    
552
# Sed expression to map a string onto a valid CPP name.
553
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554

    
555
# Sed expression to map a string onto a valid variable name.
556
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557

    
558

    
559
test -n "$DJDIR" || exec 7<&0 </dev/null
560
exec 6>&1
561

    
562
# Name of the host.
563
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564
# so uname gets run too.
565
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566

    
567
#
568
# Initializations.
569
#
570
ac_default_prefix=/usr/local
571
ac_clean_files=
572
ac_config_libobj_dir=.
573
LIBOBJS=
574
cross_compiling=no
575
subdirs=
576
MFLAGS=
577
MAKEFLAGS=
578

    
579
# Identity of this package.
580
PACKAGE_NAME='lustrec'
581
PACKAGE_TARNAME='lustrec'
582
PACKAGE_VERSION='0.1-371'
583
PACKAGE_STRING='lustrec 0.1-371'
584
PACKAGE_BUGREPORT='ploc@garoche.net'
585
PACKAGE_URL=''
586

    
587
ac_unique_file="src/main_lustre_compiler.ml"
588
ac_default_prefix=/usr/local
589
ac_subst_vars='LTLIBOBJS
590
LIBOBJS
591
abs_datadir
592
CC_NOASNEEDED
593
OBJEXT
594
EXEEXT
595
ac_ct_CC
596
CPPFLAGS
597
LDFLAGS
598
CFLAGS
599
CC
600
OCAMLBUILD
601
OCAMLC
602
OCAMLGRAPH_PATH
603
SVN_REVISION
604
target_alias
605
host_alias
606
build_alias
607
LIBS
608
ECHO_T
609
ECHO_N
610
ECHO_C
611
DEFS
612
mandir
613
localedir
614
libdir
615
psdir
616
pdfdir
617
dvidir
618
htmldir
619
infodir
620
docdir
621
oldincludedir
622
includedir
623
localstatedir
624
sharedstatedir
625
sysconfdir
626
datadir
627
datarootdir
628
libexecdir
629
sbindir
630
bindir
631
program_transform_name
632
prefix
633
exec_prefix
634
PACKAGE_URL
635
PACKAGE_BUGREPORT
636
PACKAGE_STRING
637
PACKAGE_VERSION
638
PACKAGE_TARNAME
639
PACKAGE_NAME
640
PATH_SEPARATOR
641
SHELL'
642
ac_subst_files=''
643
ac_user_opts='
644
enable_option_checking
645
with_ocamlgraph_path
646
'
647
      ac_precious_vars='build_alias
648
host_alias
649
target_alias
650
CC
651
CFLAGS
652
LDFLAGS
653
LIBS
654
CPPFLAGS'
655

    
656

    
657
# Initialize some variables set by options.
658
ac_init_help=
659
ac_init_version=false
660
ac_unrecognized_opts=
661
ac_unrecognized_sep=
662
# The variables have the same names as the options, with
663
# dashes changed to underlines.
664
cache_file=/dev/null
665
exec_prefix=NONE
666
no_create=
667
no_recursion=
668
prefix=NONE
669
program_prefix=NONE
670
program_suffix=NONE
671
program_transform_name=s,x,x,
672
silent=
673
site=
674
srcdir=
675
verbose=
676
x_includes=NONE
677
x_libraries=NONE
678

    
679
# Installation directory options.
680
# These are left unexpanded so users can "make install exec_prefix=/foo"
681
# and all the variables that are supposed to be based on exec_prefix
682
# by default will actually change.
683
# Use braces instead of parens because sh, perl, etc. also accept them.
684
# (The list follows the same order as the GNU Coding Standards.)
685
bindir='${exec_prefix}/bin'
686
sbindir='${exec_prefix}/sbin'
687
libexecdir='${exec_prefix}/libexec'
688
datarootdir='${prefix}/share'
689
datadir='${datarootdir}'
690
sysconfdir='${prefix}/etc'
691
sharedstatedir='${prefix}/com'
692
localstatedir='${prefix}/var'
693
includedir='${prefix}/include'
694
oldincludedir='/usr/include'
695
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
696
infodir='${datarootdir}/info'
697
htmldir='${docdir}'
698
dvidir='${docdir}'
699
pdfdir='${docdir}'
700
psdir='${docdir}'
701
libdir='${exec_prefix}/lib'
702
localedir='${datarootdir}/locale'
703
mandir='${datarootdir}/man'
704

    
705
ac_prev=
706
ac_dashdash=
707
for ac_option
708
do
709
  # If the previous option needs an argument, assign it.
710
  if test -n "$ac_prev"; then
711
    eval $ac_prev=\$ac_option
712
    ac_prev=
713
    continue
714
  fi
715

    
716
  case $ac_option in
717
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718
  *=)   ac_optarg= ;;
719
  *)    ac_optarg=yes ;;
720
  esac
721

    
722
  # Accept the important Cygnus configure options, so we can diagnose typos.
723

    
724
  case $ac_dashdash$ac_option in
725
  --)
726
    ac_dashdash=yes ;;
727

    
728
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
729
    ac_prev=bindir ;;
730
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
731
    bindir=$ac_optarg ;;
732

    
733
  -build | --build | --buil | --bui | --bu)
734
    ac_prev=build_alias ;;
735
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
736
    build_alias=$ac_optarg ;;
737

    
738
  -cache-file | --cache-file | --cache-fil | --cache-fi \
739
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
740
    ac_prev=cache_file ;;
741
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
742
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
743
    cache_file=$ac_optarg ;;
744

    
745
  --config-cache | -C)
746
    cache_file=config.cache ;;
747

    
748
  -datadir | --datadir | --datadi | --datad)
749
    ac_prev=datadir ;;
750
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
751
    datadir=$ac_optarg ;;
752

    
753
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
754
  | --dataroo | --dataro | --datar)
755
    ac_prev=datarootdir ;;
756
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
757
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
758
    datarootdir=$ac_optarg ;;
759

    
760
  -disable-* | --disable-*)
761
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
762
    # Reject names that are not valid shell variable names.
763
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
764
      as_fn_error $? "invalid feature name: $ac_useropt"
765
    ac_useropt_orig=$ac_useropt
766
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
767
    case $ac_user_opts in
768
      *"
769
"enable_$ac_useropt"
770
"*) ;;
771
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
772
	 ac_unrecognized_sep=', ';;
773
    esac
774
    eval enable_$ac_useropt=no ;;
775

    
776
  -docdir | --docdir | --docdi | --doc | --do)
777
    ac_prev=docdir ;;
778
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
779
    docdir=$ac_optarg ;;
780

    
781
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
782
    ac_prev=dvidir ;;
783
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
784
    dvidir=$ac_optarg ;;
785

    
786
  -enable-* | --enable-*)
787
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
788
    # Reject names that are not valid shell variable names.
789
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
790
      as_fn_error $? "invalid feature name: $ac_useropt"
791
    ac_useropt_orig=$ac_useropt
792
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
793
    case $ac_user_opts in
794
      *"
795
"enable_$ac_useropt"
796
"*) ;;
797
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
798
	 ac_unrecognized_sep=', ';;
799
    esac
800
    eval enable_$ac_useropt=\$ac_optarg ;;
801

    
802
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
803
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
804
  | --exec | --exe | --ex)
805
    ac_prev=exec_prefix ;;
806
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
807
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
808
  | --exec=* | --exe=* | --ex=*)
809
    exec_prefix=$ac_optarg ;;
810

    
811
  -gas | --gas | --ga | --g)
812
    # Obsolete; use --with-gas.
813
    with_gas=yes ;;
814

    
815
  -help | --help | --hel | --he | -h)
816
    ac_init_help=long ;;
817
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
818
    ac_init_help=recursive ;;
819
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
820
    ac_init_help=short ;;
821

    
822
  -host | --host | --hos | --ho)
823
    ac_prev=host_alias ;;
824
  -host=* | --host=* | --hos=* | --ho=*)
825
    host_alias=$ac_optarg ;;
826

    
827
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
828
    ac_prev=htmldir ;;
829
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
830
  | --ht=*)
831
    htmldir=$ac_optarg ;;
832

    
833
  -includedir | --includedir | --includedi | --included | --include \
834
  | --includ | --inclu | --incl | --inc)
835
    ac_prev=includedir ;;
836
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
837
  | --includ=* | --inclu=* | --incl=* | --inc=*)
838
    includedir=$ac_optarg ;;
839

    
840
  -infodir | --infodir | --infodi | --infod | --info | --inf)
841
    ac_prev=infodir ;;
842
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
843
    infodir=$ac_optarg ;;
844

    
845
  -libdir | --libdir | --libdi | --libd)
846
    ac_prev=libdir ;;
847
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
848
    libdir=$ac_optarg ;;
849

    
850
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
851
  | --libexe | --libex | --libe)
852
    ac_prev=libexecdir ;;
853
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
854
  | --libexe=* | --libex=* | --libe=*)
855
    libexecdir=$ac_optarg ;;
856

    
857
  -localedir | --localedir | --localedi | --localed | --locale)
858
    ac_prev=localedir ;;
859
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
860
    localedir=$ac_optarg ;;
861

    
862
  -localstatedir | --localstatedir | --localstatedi | --localstated \
863
  | --localstate | --localstat | --localsta | --localst | --locals)
864
    ac_prev=localstatedir ;;
865
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
866
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
867
    localstatedir=$ac_optarg ;;
868

    
869
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
870
    ac_prev=mandir ;;
871
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
872
    mandir=$ac_optarg ;;
873

    
874
  -nfp | --nfp | --nf)
875
    # Obsolete; use --without-fp.
876
    with_fp=no ;;
877

    
878
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
879
  | --no-cr | --no-c | -n)
880
    no_create=yes ;;
881

    
882
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
883
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
884
    no_recursion=yes ;;
885

    
886
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
887
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
888
  | --oldin | --oldi | --old | --ol | --o)
889
    ac_prev=oldincludedir ;;
890
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
891
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
892
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
893
    oldincludedir=$ac_optarg ;;
894

    
895
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
896
    ac_prev=prefix ;;
897
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
898
    prefix=$ac_optarg ;;
899

    
900
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
901
  | --program-pre | --program-pr | --program-p)
902
    ac_prev=program_prefix ;;
903
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
904
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
905
    program_prefix=$ac_optarg ;;
906

    
907
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
908
  | --program-suf | --program-su | --program-s)
909
    ac_prev=program_suffix ;;
910
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
911
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
912
    program_suffix=$ac_optarg ;;
913

    
914
  -program-transform-name | --program-transform-name \
915
  | --program-transform-nam | --program-transform-na \
916
  | --program-transform-n | --program-transform- \
917
  | --program-transform | --program-transfor \
918
  | --program-transfo | --program-transf \
919
  | --program-trans | --program-tran \
920
  | --progr-tra | --program-tr | --program-t)
921
    ac_prev=program_transform_name ;;
922
  -program-transform-name=* | --program-transform-name=* \
923
  | --program-transform-nam=* | --program-transform-na=* \
924
  | --program-transform-n=* | --program-transform-=* \
925
  | --program-transform=* | --program-transfor=* \
926
  | --program-transfo=* | --program-transf=* \
927
  | --program-trans=* | --program-tran=* \
928
  | --progr-tra=* | --program-tr=* | --program-t=*)
929
    program_transform_name=$ac_optarg ;;
930

    
931
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
932
    ac_prev=pdfdir ;;
933
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
934
    pdfdir=$ac_optarg ;;
935

    
936
  -psdir | --psdir | --psdi | --psd | --ps)
937
    ac_prev=psdir ;;
938
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
939
    psdir=$ac_optarg ;;
940

    
941
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
942
  | -silent | --silent | --silen | --sile | --sil)
943
    silent=yes ;;
944

    
945
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
946
    ac_prev=sbindir ;;
947
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
948
  | --sbi=* | --sb=*)
949
    sbindir=$ac_optarg ;;
950

    
951
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
952
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
953
  | --sharedst | --shareds | --shared | --share | --shar \
954
  | --sha | --sh)
955
    ac_prev=sharedstatedir ;;
956
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
957
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
958
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
959
  | --sha=* | --sh=*)
960
    sharedstatedir=$ac_optarg ;;
961

    
962
  -site | --site | --sit)
963
    ac_prev=site ;;
964
  -site=* | --site=* | --sit=*)
965
    site=$ac_optarg ;;
966

    
967
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
968
    ac_prev=srcdir ;;
969
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
970
    srcdir=$ac_optarg ;;
971

    
972
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
973
  | --syscon | --sysco | --sysc | --sys | --sy)
974
    ac_prev=sysconfdir ;;
975
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
976
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
977
    sysconfdir=$ac_optarg ;;
978

    
979
  -target | --target | --targe | --targ | --tar | --ta | --t)
980
    ac_prev=target_alias ;;
981
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
982
    target_alias=$ac_optarg ;;
983

    
984
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
985
    verbose=yes ;;
986

    
987
  -version | --version | --versio | --versi | --vers | -V)
988
    ac_init_version=: ;;
989

    
990
  -with-* | --with-*)
991
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
992
    # Reject names that are not valid shell variable names.
993
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994
      as_fn_error $? "invalid package name: $ac_useropt"
995
    ac_useropt_orig=$ac_useropt
996
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997
    case $ac_user_opts in
998
      *"
999
"with_$ac_useropt"
1000
"*) ;;
1001
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1002
	 ac_unrecognized_sep=', ';;
1003
    esac
1004
    eval with_$ac_useropt=\$ac_optarg ;;
1005

    
1006
  -without-* | --without-*)
1007
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1008
    # Reject names that are not valid shell variable names.
1009
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010
      as_fn_error $? "invalid package name: $ac_useropt"
1011
    ac_useropt_orig=$ac_useropt
1012
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013
    case $ac_user_opts in
1014
      *"
1015
"with_$ac_useropt"
1016
"*) ;;
1017
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1018
	 ac_unrecognized_sep=', ';;
1019
    esac
1020
    eval with_$ac_useropt=no ;;
1021

    
1022
  --x)
1023
    # Obsolete; use --with-x.
1024
    with_x=yes ;;
1025

    
1026
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1027
  | --x-incl | --x-inc | --x-in | --x-i)
1028
    ac_prev=x_includes ;;
1029
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1030
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1031
    x_includes=$ac_optarg ;;
1032

    
1033
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1034
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1035
    ac_prev=x_libraries ;;
1036
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1037
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1038
    x_libraries=$ac_optarg ;;
1039

    
1040
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1041
Try \`$0 --help' for more information"
1042
    ;;
1043

    
1044
  *=*)
1045
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1046
    # Reject names that are not valid shell variable names.
1047
    case $ac_envvar in #(
1048
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1049
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1050
    esac
1051
    eval $ac_envvar=\$ac_optarg
1052
    export $ac_envvar ;;
1053

    
1054
  *)
1055
    # FIXME: should be removed in autoconf 3.0.
1056
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1057
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1058
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1059
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1060
    ;;
1061

    
1062
  esac
1063
done
1064

    
1065
if test -n "$ac_prev"; then
1066
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1067
  as_fn_error $? "missing argument to $ac_option"
1068
fi
1069

    
1070
if test -n "$ac_unrecognized_opts"; then
1071
  case $enable_option_checking in
1072
    no) ;;
1073
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1074
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1075
  esac
1076
fi
1077

    
1078
# Check all directory arguments for consistency.
1079
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1080
		datadir sysconfdir sharedstatedir localstatedir includedir \
1081
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1082
		libdir localedir mandir
1083
do
1084
  eval ac_val=\$$ac_var
1085
  # Remove trailing slashes.
1086
  case $ac_val in
1087
    */ )
1088
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1089
      eval $ac_var=\$ac_val;;
1090
  esac
1091
  # Be sure to have absolute directory names.
1092
  case $ac_val in
1093
    [\\/$]* | ?:[\\/]* )  continue;;
1094
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1095
  esac
1096
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1097
done
1098

    
1099
# There might be people who depend on the old broken behavior: `$host'
1100
# used to hold the argument of --host etc.
1101
# FIXME: To remove some day.
1102
build=$build_alias
1103
host=$host_alias
1104
target=$target_alias
1105

    
1106
# FIXME: To remove some day.
1107
if test "x$host_alias" != x; then
1108
  if test "x$build_alias" = x; then
1109
    cross_compiling=maybe
1110
  elif test "x$build_alias" != "x$host_alias"; then
1111
    cross_compiling=yes
1112
  fi
1113
fi
1114

    
1115
ac_tool_prefix=
1116
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1117

    
1118
test "$silent" = yes && exec 6>/dev/null
1119

    
1120

    
1121
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1122
ac_ls_di=`ls -di .` &&
1123
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1124
  as_fn_error $? "working directory cannot be determined"
1125
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1126
  as_fn_error $? "pwd does not report name of working directory"
1127

    
1128

    
1129
# Find the source files, if location was not specified.
1130
if test -z "$srcdir"; then
1131
  ac_srcdir_defaulted=yes
1132
  # Try the directory containing this script, then the parent directory.
1133
  ac_confdir=`$as_dirname -- "$as_myself" ||
1134
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1135
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1136
	 X"$as_myself" : 'X\(//\)$' \| \
1137
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1138
$as_echo X"$as_myself" |
1139
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140
	    s//\1/
1141
	    q
1142
	  }
1143
	  /^X\(\/\/\)[^/].*/{
1144
	    s//\1/
1145
	    q
1146
	  }
1147
	  /^X\(\/\/\)$/{
1148
	    s//\1/
1149
	    q
1150
	  }
1151
	  /^X\(\/\).*/{
1152
	    s//\1/
1153
	    q
1154
	  }
1155
	  s/.*/./; q'`
1156
  srcdir=$ac_confdir
1157
  if test ! -r "$srcdir/$ac_unique_file"; then
1158
    srcdir=..
1159
  fi
1160
else
1161
  ac_srcdir_defaulted=no
1162
fi
1163
if test ! -r "$srcdir/$ac_unique_file"; then
1164
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1165
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1166
fi
1167
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1168
ac_abs_confdir=`(
1169
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1170
	pwd)`
1171
# When building in place, set srcdir=.
1172
if test "$ac_abs_confdir" = "$ac_pwd"; then
1173
  srcdir=.
1174
fi
1175
# Remove unnecessary trailing slashes from srcdir.
1176
# Double slashes in file names in object file debugging info
1177
# mess up M-x gdb in Emacs.
1178
case $srcdir in
1179
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1180
esac
1181
for ac_var in $ac_precious_vars; do
1182
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1183
  eval ac_env_${ac_var}_value=\$${ac_var}
1184
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1185
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1186
done
1187

    
1188
#
1189
# Report the --help message.
1190
#
1191
if test "$ac_init_help" = "long"; then
1192
  # Omit some internal or obsolete options to make the list less imposing.
1193
  # This message is too long to be a string in the A/UX 3.1 sh.
1194
  cat <<_ACEOF
1195
\`configure' configures lustrec 0.1-371 to adapt to many kinds of systems.
1196

    
1197
Usage: $0 [OPTION]... [VAR=VALUE]...
1198

    
1199
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1200
VAR=VALUE.  See below for descriptions of some of the useful variables.
1201

    
1202
Defaults for the options are specified in brackets.
1203

    
1204
Configuration:
1205
  -h, --help              display this help and exit
1206
      --help=short        display options specific to this package
1207
      --help=recursive    display the short help of all the included packages
1208
  -V, --version           display version information and exit
1209
  -q, --quiet, --silent   do not print \`checking ...' messages
1210
      --cache-file=FILE   cache test results in FILE [disabled]
1211
  -C, --config-cache      alias for \`--cache-file=config.cache'
1212
  -n, --no-create         do not create output files
1213
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1214

    
1215
Installation directories:
1216
  --prefix=PREFIX         install architecture-independent files in PREFIX
1217
                          [$ac_default_prefix]
1218
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1219
                          [PREFIX]
1220

    
1221
By default, \`make install' will install all the files in
1222
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1223
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1224
for instance \`--prefix=\$HOME'.
1225

    
1226
For better control, use the options below.
1227

    
1228
Fine tuning of the installation directories:
1229
  --bindir=DIR            user executables [EPREFIX/bin]
1230
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1231
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1232
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1233
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1234
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1235
  --libdir=DIR            object code libraries [EPREFIX/lib]
1236
  --includedir=DIR        C header files [PREFIX/include]
1237
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1238
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1239
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1240
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1241
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1242
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1243
  --docdir=DIR            documentation root [DATAROOTDIR/doc/lustrec]
1244
  --htmldir=DIR           html documentation [DOCDIR]
1245
  --dvidir=DIR            dvi documentation [DOCDIR]
1246
  --pdfdir=DIR            pdf documentation [DOCDIR]
1247
  --psdir=DIR             ps documentation [DOCDIR]
1248
_ACEOF
1249

    
1250
  cat <<\_ACEOF
1251
_ACEOF
1252
fi
1253

    
1254
if test -n "$ac_init_help"; then
1255
  case $ac_init_help in
1256
     short | recursive ) echo "Configuration of lustrec 0.1-371:";;
1257
   esac
1258
  cat <<\_ACEOF
1259

    
1260
Optional Packages:
1261
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1262
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1263
  --ocamlgraph-path       specify the path of ocamlgraph library. graph.cmxa
1264
                          should be in ocamlgraph-path [default=$(ocamlfind
1265
                          query ocamlgraph)]
1266

    
1267
Some influential environment variables:
1268
  CC          C compiler command
1269
  CFLAGS      C compiler flags
1270
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1271
              nonstandard directory <lib dir>
1272
  LIBS        libraries to pass to the linker, e.g. -l<library>
1273
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1274
              you have headers in a nonstandard directory <include dir>
1275

    
1276
Use these variables to override the choices made by `configure' or to help
1277
it to find libraries and programs with nonstandard names/locations.
1278

    
1279
Report bugs to <ploc@garoche.net>.
1280
_ACEOF
1281
ac_status=$?
1282
fi
1283

    
1284
if test "$ac_init_help" = "recursive"; then
1285
  # If there are subdirs, report their specific --help.
1286
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1287
    test -d "$ac_dir" ||
1288
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1289
      continue
1290
    ac_builddir=.
1291

    
1292
case "$ac_dir" in
1293
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1294
*)
1295
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1296
  # A ".." for each directory in $ac_dir_suffix.
1297
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1298
  case $ac_top_builddir_sub in
1299
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1301
  esac ;;
1302
esac
1303
ac_abs_top_builddir=$ac_pwd
1304
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305
# for backward compatibility:
1306
ac_top_builddir=$ac_top_build_prefix
1307

    
1308
case $srcdir in
1309
  .)  # We are building in place.
1310
    ac_srcdir=.
1311
    ac_top_srcdir=$ac_top_builddir_sub
1312
    ac_abs_top_srcdir=$ac_pwd ;;
1313
  [\\/]* | ?:[\\/]* )  # Absolute name.
1314
    ac_srcdir=$srcdir$ac_dir_suffix;
1315
    ac_top_srcdir=$srcdir
1316
    ac_abs_top_srcdir=$srcdir ;;
1317
  *) # Relative name.
1318
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1320
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1321
esac
1322
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1323

    
1324
    cd "$ac_dir" || { ac_status=$?; continue; }
1325
    # Check for guested configure.
1326
    if test -f "$ac_srcdir/configure.gnu"; then
1327
      echo &&
1328
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329
    elif test -f "$ac_srcdir/configure"; then
1330
      echo &&
1331
      $SHELL "$ac_srcdir/configure" --help=recursive
1332
    else
1333
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334
    fi || ac_status=$?
1335
    cd "$ac_pwd" || { ac_status=$?; break; }
1336
  done
1337
fi
1338

    
1339
test -n "$ac_init_help" && exit $ac_status
1340
if $ac_init_version; then
1341
  cat <<\_ACEOF
1342
lustrec configure 0.1-371
1343
generated by GNU Autoconf 2.69
1344

    
1345
Copyright (C) 2012 Free Software Foundation, Inc.
1346
This configure script is free software; the Free Software Foundation
1347
gives unlimited permission to copy, distribute and modify it.
1348
_ACEOF
1349
  exit
1350
fi
1351

    
1352
## ------------------------ ##
1353
## Autoconf initialization. ##
1354
## ------------------------ ##
1355

    
1356
# ac_fn_c_try_compile LINENO
1357
# --------------------------
1358
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1359
ac_fn_c_try_compile ()
1360
{
1361
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1362
  rm -f conftest.$ac_objext
1363
  if { { ac_try="$ac_compile"
1364
case "(($ac_try" in
1365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1366
  *) ac_try_echo=$ac_try;;
1367
esac
1368
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1369
$as_echo "$ac_try_echo"; } >&5
1370
  (eval "$ac_compile") 2>conftest.err
1371
  ac_status=$?
1372
  if test -s conftest.err; then
1373
    grep -v '^ *+' conftest.err >conftest.er1
1374
    cat conftest.er1 >&5
1375
    mv -f conftest.er1 conftest.err
1376
  fi
1377
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1378
  test $ac_status = 0; } && {
1379
	 test -z "$ac_c_werror_flag" ||
1380
	 test ! -s conftest.err
1381
       } && test -s conftest.$ac_objext; then :
1382
  ac_retval=0
1383
else
1384
  $as_echo "$as_me: failed program was:" >&5
1385
sed 's/^/| /' conftest.$ac_ext >&5
1386

    
1387
	ac_retval=1
1388
fi
1389
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1390
  as_fn_set_status $ac_retval
1391

    
1392
} # ac_fn_c_try_compile
1393
cat >config.log <<_ACEOF
1394
This file contains any messages produced by compilers while
1395
running configure, to aid debugging if configure makes a mistake.
1396

    
1397
It was created by lustrec $as_me 0.1-371, which was
1398
generated by GNU Autoconf 2.69.  Invocation command line was
1399

    
1400
  $ $0 $@
1401

    
1402
_ACEOF
1403
exec 5>>config.log
1404
{
1405
cat <<_ASUNAME
1406
## --------- ##
1407
## Platform. ##
1408
## --------- ##
1409

    
1410
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1415

    
1416
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1418

    
1419
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1420
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1421
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1423
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1424
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1425
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1426

    
1427
_ASUNAME
1428

    
1429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430
for as_dir in $PATH
1431
do
1432
  IFS=$as_save_IFS
1433
  test -z "$as_dir" && as_dir=.
1434
    $as_echo "PATH: $as_dir"
1435
  done
1436
IFS=$as_save_IFS
1437

    
1438
} >&5
1439

    
1440
cat >&5 <<_ACEOF
1441

    
1442

    
1443
## ----------- ##
1444
## Core tests. ##
1445
## ----------- ##
1446

    
1447
_ACEOF
1448

    
1449

    
1450
# Keep a trace of the command line.
1451
# Strip out --no-create and --no-recursion so they do not pile up.
1452
# Strip out --silent because we don't want to record it for future runs.
1453
# Also quote any args containing shell meta-characters.
1454
# Make two passes to allow for proper duplicate-argument suppression.
1455
ac_configure_args=
1456
ac_configure_args0=
1457
ac_configure_args1=
1458
ac_must_keep_next=false
1459
for ac_pass in 1 2
1460
do
1461
  for ac_arg
1462
  do
1463
    case $ac_arg in
1464
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466
    | -silent | --silent | --silen | --sile | --sil)
1467
      continue ;;
1468
    *\'*)
1469
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1470
    esac
1471
    case $ac_pass in
1472
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1473
    2)
1474
      as_fn_append ac_configure_args1 " '$ac_arg'"
1475
      if test $ac_must_keep_next = true; then
1476
	ac_must_keep_next=false # Got value, back to normal.
1477
      else
1478
	case $ac_arg in
1479
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1480
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482
	  | -with-* | --with-* | -without-* | --without-* | --x)
1483
	    case "$ac_configure_args0 " in
1484
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1485
	    esac
1486
	    ;;
1487
	  -* ) ac_must_keep_next=true ;;
1488
	esac
1489
      fi
1490
      as_fn_append ac_configure_args " '$ac_arg'"
1491
      ;;
1492
    esac
1493
  done
1494
done
1495
{ ac_configure_args0=; unset ac_configure_args0;}
1496
{ ac_configure_args1=; unset ac_configure_args1;}
1497

    
1498
# When interrupted or exit'd, cleanup temporary files, and complete
1499
# config.log.  We remove comments because anyway the quotes in there
1500
# would cause problems or look ugly.
1501
# WARNING: Use '\'' to represent an apostrophe within the trap.
1502
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503
trap 'exit_status=$?
1504
  # Save into config.log some information that might help in debugging.
1505
  {
1506
    echo
1507

    
1508
    $as_echo "## ---------------- ##
1509
## Cache variables. ##
1510
## ---------------- ##"
1511
    echo
1512
    # The following way of writing the cache mishandles newlines in values,
1513
(
1514
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1515
    eval ac_val=\$$ac_var
1516
    case $ac_val in #(
1517
    *${as_nl}*)
1518
      case $ac_var in #(
1519
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1520
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1521
      esac
1522
      case $ac_var in #(
1523
      _ | IFS | as_nl) ;; #(
1524
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1525
      *) { eval $ac_var=; unset $ac_var;} ;;
1526
      esac ;;
1527
    esac
1528
  done
1529
  (set) 2>&1 |
1530
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1531
    *${as_nl}ac_space=\ *)
1532
      sed -n \
1533
	"s/'\''/'\''\\\\'\'''\''/g;
1534
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1535
      ;; #(
1536
    *)
1537
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1538
      ;;
1539
    esac |
1540
    sort
1541
)
1542
    echo
1543

    
1544
    $as_echo "## ----------------- ##
1545
## Output variables. ##
1546
## ----------------- ##"
1547
    echo
1548
    for ac_var in $ac_subst_vars
1549
    do
1550
      eval ac_val=\$$ac_var
1551
      case $ac_val in
1552
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1553
      esac
1554
      $as_echo "$ac_var='\''$ac_val'\''"
1555
    done | sort
1556
    echo
1557

    
1558
    if test -n "$ac_subst_files"; then
1559
      $as_echo "## ------------------- ##
1560
## File substitutions. ##
1561
## ------------------- ##"
1562
      echo
1563
      for ac_var in $ac_subst_files
1564
      do
1565
	eval ac_val=\$$ac_var
1566
	case $ac_val in
1567
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1568
	esac
1569
	$as_echo "$ac_var='\''$ac_val'\''"
1570
      done | sort
1571
      echo
1572
    fi
1573

    
1574
    if test -s confdefs.h; then
1575
      $as_echo "## ----------- ##
1576
## confdefs.h. ##
1577
## ----------- ##"
1578
      echo
1579
      cat confdefs.h
1580
      echo
1581
    fi
1582
    test "$ac_signal" != 0 &&
1583
      $as_echo "$as_me: caught signal $ac_signal"
1584
    $as_echo "$as_me: exit $exit_status"
1585
  } >&5
1586
  rm -f core *.core core.conftest.* &&
1587
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1588
    exit $exit_status
1589
' 0
1590
for ac_signal in 1 2 13 15; do
1591
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1592
done
1593
ac_signal=0
1594

    
1595
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1596
rm -f -r conftest* confdefs.h
1597

    
1598
$as_echo "/* confdefs.h */" > confdefs.h
1599

    
1600
# Predefined preprocessor variables.
1601

    
1602
cat >>confdefs.h <<_ACEOF
1603
#define PACKAGE_NAME "$PACKAGE_NAME"
1604
_ACEOF
1605

    
1606
cat >>confdefs.h <<_ACEOF
1607
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1608
_ACEOF
1609

    
1610
cat >>confdefs.h <<_ACEOF
1611
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1612
_ACEOF
1613

    
1614
cat >>confdefs.h <<_ACEOF
1615
#define PACKAGE_STRING "$PACKAGE_STRING"
1616
_ACEOF
1617

    
1618
cat >>confdefs.h <<_ACEOF
1619
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1620
_ACEOF
1621

    
1622
cat >>confdefs.h <<_ACEOF
1623
#define PACKAGE_URL "$PACKAGE_URL"
1624
_ACEOF
1625

    
1626

    
1627
# Let the site file select an alternate cache file if it wants to.
1628
# Prefer an explicitly selected file to automatically selected ones.
1629
ac_site_file1=NONE
1630
ac_site_file2=NONE
1631
if test -n "$CONFIG_SITE"; then
1632
  # We do not want a PATH search for config.site.
1633
  case $CONFIG_SITE in #((
1634
    -*)  ac_site_file1=./$CONFIG_SITE;;
1635
    */*) ac_site_file1=$CONFIG_SITE;;
1636
    *)   ac_site_file1=./$CONFIG_SITE;;
1637
  esac
1638
elif test "x$prefix" != xNONE; then
1639
  ac_site_file1=$prefix/share/config.site
1640
  ac_site_file2=$prefix/etc/config.site
1641
else
1642
  ac_site_file1=$ac_default_prefix/share/config.site
1643
  ac_site_file2=$ac_default_prefix/etc/config.site
1644
fi
1645
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1646
do
1647
  test "x$ac_site_file" = xNONE && continue
1648
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1649
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1650
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1651
    sed 's/^/| /' "$ac_site_file" >&5
1652
    . "$ac_site_file" \
1653
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1654
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1655
as_fn_error $? "failed to load site script $ac_site_file
1656
See \`config.log' for more details" "$LINENO" 5; }
1657
  fi
1658
done
1659

    
1660
if test -r "$cache_file"; then
1661
  # Some versions of bash will fail to source /dev/null (special files
1662
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1663
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1664
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1665
$as_echo "$as_me: loading cache $cache_file" >&6;}
1666
    case $cache_file in
1667
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1668
      *)                      . "./$cache_file";;
1669
    esac
1670
  fi
1671
else
1672
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1673
$as_echo "$as_me: creating cache $cache_file" >&6;}
1674
  >$cache_file
1675
fi
1676

    
1677
# Check that the precious variables saved in the cache have kept the same
1678
# value.
1679
ac_cache_corrupted=false
1680
for ac_var in $ac_precious_vars; do
1681
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1682
  eval ac_new_set=\$ac_env_${ac_var}_set
1683
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1684
  eval ac_new_val=\$ac_env_${ac_var}_value
1685
  case $ac_old_set,$ac_new_set in
1686
    set,)
1687
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1688
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1689
      ac_cache_corrupted=: ;;
1690
    ,set)
1691
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1692
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1693
      ac_cache_corrupted=: ;;
1694
    ,);;
1695
    *)
1696
      if test "x$ac_old_val" != "x$ac_new_val"; then
1697
	# differences in whitespace do not lead to failure.
1698
	ac_old_val_w=`echo x $ac_old_val`
1699
	ac_new_val_w=`echo x $ac_new_val`
1700
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1701
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1702
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1703
	  ac_cache_corrupted=:
1704
	else
1705
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1706
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1707
	  eval $ac_var=\$ac_old_val
1708
	fi
1709
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1710
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1711
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1712
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1713
      fi;;
1714
  esac
1715
  # Pass precious variables to config.status.
1716
  if test "$ac_new_set" = set; then
1717
    case $ac_new_val in
1718
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1719
    *) ac_arg=$ac_var=$ac_new_val ;;
1720
    esac
1721
    case " $ac_configure_args " in
1722
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1723
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1724
    esac
1725
  fi
1726
done
1727
if $ac_cache_corrupted; then
1728
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1731
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1732
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1733
fi
1734
## -------------------- ##
1735
## Main body of script. ##
1736
## -------------------- ##
1737

    
1738
ac_ext=c
1739
ac_cpp='$CPP $CPPFLAGS'
1740
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1741
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1742
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743

    
1744

    
1745

    
1746

    
1747

    
1748
$as_echo "#define SVN_REVISION \"371\"" >>confdefs.h
1749

    
1750

    
1751

    
1752

    
1753

    
1754
# default prefix is /usr/local
1755

    
1756

    
1757

    
1758
# Check whether --with-ocamlgraph-path was given.
1759
if test "${with_ocamlgraph_path+set}" = set; then :
1760
  withval=$with_ocamlgraph_path; if test "x$ocamlgraph_path" = xno; then :
1761
  as_fn_error $? "ocamlgraph library is needed" "$LINENO" 5
1762
elif test "x$ocamlgraph_path" = xyes; then :
1763
  OCAMLGRAPH_PATH=$(ocamlfind query ocamlgraph)
1764
else
1765
  OCAMLGRAPH_PATH=$ocamlgraph_path
1766

    
1767
fi
1768
else
1769
  OCAMLGRAPH_PATH=$(ocamlfind query ocamlgraph)
1770

    
1771
fi
1772

    
1773

    
1774

    
1775

    
1776
# Extract the first word of "ocamlc", so it can be a program name with args.
1777
set dummy ocamlc; ac_word=$2
1778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1779
$as_echo_n "checking for $ac_word... " >&6; }
1780
if ${ac_cv_path_OCAMLC+:} false; then :
1781
  $as_echo_n "(cached) " >&6
1782
else
1783
  case $OCAMLC in
1784
  [\\/]* | ?:[\\/]*)
1785
  ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
1786
  ;;
1787
  *)
1788
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789
for as_dir in $PATH
1790
do
1791
  IFS=$as_save_IFS
1792
  test -z "$as_dir" && as_dir=.
1793
    for ac_exec_ext in '' $ac_executable_extensions; do
1794
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1795
    ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
1796
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1797
    break 2
1798
  fi
1799
done
1800
  done
1801
IFS=$as_save_IFS
1802

    
1803
  test -z "$ac_cv_path_OCAMLC" && ac_cv_path_OCAMLC=":"
1804
  ;;
1805
esac
1806
fi
1807
OCAMLC=$ac_cv_path_OCAMLC
1808
if test -n "$OCAMLC"; then
1809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
1810
$as_echo "$OCAMLC" >&6; }
1811
else
1812
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1813
$as_echo "no" >&6; }
1814
fi
1815

    
1816

    
1817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OCaml version" >&5
1818
$as_echo_n "checking OCaml version... " >&6; }
1819
ocamlc_version=`$OCAMLC -v | grep version | rev| cut -d \  -f 1 | rev`
1820
major=`echo $ocamlc_version | cut -d . -f 1`
1821
minor=`echo $ocamlc_version | cut -d . -f 2`
1822
if (test "$major" -lt 3 -a "$minor" -lt 11 ); then
1823
  as_fn_error $? "Ocaml version must be at least 3.11. You have version $ocamlc_version" "$LINENO" 5
1824
fi
1825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: valid ocaml version detected: $ocamlc_version" >&5
1826
$as_echo "valid ocaml version detected: $ocamlc_version" >&6; }
1827

    
1828
# Extract the first word of "ocamlbuild", so it can be a program name with args.
1829
set dummy ocamlbuild; ac_word=$2
1830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1831
$as_echo_n "checking for $ac_word... " >&6; }
1832
if ${ac_cv_path_OCAMLBUILD+:} false; then :
1833
  $as_echo_n "(cached) " >&6
1834
else
1835
  case $OCAMLBUILD in
1836
  [\\/]* | ?:[\\/]*)
1837
  ac_cv_path_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test with a path.
1838
  ;;
1839
  *)
1840
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841
for as_dir in $PATH
1842
do
1843
  IFS=$as_save_IFS
1844
  test -z "$as_dir" && as_dir=.
1845
    for ac_exec_ext in '' $ac_executable_extensions; do
1846
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1847
    ac_cv_path_OCAMLBUILD="$as_dir/$ac_word$ac_exec_ext"
1848
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1849
    break 2
1850
  fi
1851
done
1852
  done
1853
IFS=$as_save_IFS
1854

    
1855
  test -z "$ac_cv_path_OCAMLBUILD" && ac_cv_path_OCAMLBUILD=":"
1856
  ;;
1857
esac
1858
fi
1859
OCAMLBUILD=$ac_cv_path_OCAMLBUILD
1860
if test -n "$OCAMLBUILD"; then
1861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
1862
$as_echo "$OCAMLBUILD" >&6; }
1863
else
1864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1865
$as_echo "no" >&6; }
1866
fi
1867

    
1868

    
1869

    
1870

    
1871
# Checking libs
1872

    
1873
# Checks for libraries. OCamlgraph
1874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlgraph library" >&5
1875
$as_echo_n "checking ocamlgraph library... " >&6; }
1876
   ocamlgraph_lib=`find $OCAMLGRAPH_PATH -iname graph.cmxa -nowarn | grep -m 1 -o "graph.cmxa"`
1877
   if (test "x$ocamlgraph_lib" = xgraph.cmxa ); then
1878
	ocamlgraph_lib_full=`find $OCAMLGRAPH_PATH -iname graph.cmxa -nowarn | grep -m 1 "graph.cmxa"`
1879
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: library detected: $ocamlgraph_lib_full " >&5
1880
$as_echo "library detected: $ocamlgraph_lib_full " >&6; }
1881
   else
1882
      as_fn_error $? "ocamlgraph library not installed in $OCAMLGRAPH_PATH" "$LINENO" 5
1883
   fi
1884

    
1885

    
1886
# Workaround to solve an issue with ocamlbuild and C libraries.
1887
oCFLAGS="$CFLAGS"
1888
CFLAGS="$FLAGS -Wl,--no-as-needed"
1889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to add --no-as-needed linking option" >&5
1890
$as_echo_n "checking whether we need to add --no-as-needed linking option... " >&6; }
1891
ac_ext=c
1892
ac_cpp='$CPP $CPPFLAGS'
1893
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1894
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1895
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1896
if test -n "$ac_tool_prefix"; then
1897
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1898
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1900
$as_echo_n "checking for $ac_word... " >&6; }
1901
if ${ac_cv_prog_CC+:} false; then :
1902
  $as_echo_n "(cached) " >&6
1903
else
1904
  if test -n "$CC"; then
1905
  ac_cv_prog_CC="$CC" # Let the user override the test.
1906
else
1907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908
for as_dir in $PATH
1909
do
1910
  IFS=$as_save_IFS
1911
  test -z "$as_dir" && as_dir=.
1912
    for ac_exec_ext in '' $ac_executable_extensions; do
1913
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1916
    break 2
1917
  fi
1918
done
1919
  done
1920
IFS=$as_save_IFS
1921

    
1922
fi
1923
fi
1924
CC=$ac_cv_prog_CC
1925
if test -n "$CC"; then
1926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1927
$as_echo "$CC" >&6; }
1928
else
1929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1930
$as_echo "no" >&6; }
1931
fi
1932

    
1933

    
1934
fi
1935
if test -z "$ac_cv_prog_CC"; then
1936
  ac_ct_CC=$CC
1937
  # Extract the first word of "gcc", so it can be a program name with args.
1938
set dummy gcc; ac_word=$2
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1940
$as_echo_n "checking for $ac_word... " >&6; }
1941
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1942
  $as_echo_n "(cached) " >&6
1943
else
1944
  if test -n "$ac_ct_CC"; then
1945
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1946
else
1947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948
for as_dir in $PATH
1949
do
1950
  IFS=$as_save_IFS
1951
  test -z "$as_dir" && as_dir=.
1952
    for ac_exec_ext in '' $ac_executable_extensions; do
1953
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954
    ac_cv_prog_ac_ct_CC="gcc"
1955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1956
    break 2
1957
  fi
1958
done
1959
  done
1960
IFS=$as_save_IFS
1961

    
1962
fi
1963
fi
1964
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1965
if test -n "$ac_ct_CC"; then
1966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1967
$as_echo "$ac_ct_CC" >&6; }
1968
else
1969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1970
$as_echo "no" >&6; }
1971
fi
1972

    
1973
  if test "x$ac_ct_CC" = x; then
1974
    CC=""
1975
  else
1976
    case $cross_compiling:$ac_tool_warned in
1977
yes:)
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1980
ac_tool_warned=yes ;;
1981
esac
1982
    CC=$ac_ct_CC
1983
  fi
1984
else
1985
  CC="$ac_cv_prog_CC"
1986
fi
1987

    
1988
if test -z "$CC"; then
1989
          if test -n "$ac_tool_prefix"; then
1990
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1991
set dummy ${ac_tool_prefix}cc; ac_word=$2
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1993
$as_echo_n "checking for $ac_word... " >&6; }
1994
if ${ac_cv_prog_CC+:} false; then :
1995
  $as_echo_n "(cached) " >&6
1996
else
1997
  if test -n "$CC"; then
1998
  ac_cv_prog_CC="$CC" # Let the user override the test.
1999
else
2000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001
for as_dir in $PATH
2002
do
2003
  IFS=$as_save_IFS
2004
  test -z "$as_dir" && as_dir=.
2005
    for ac_exec_ext in '' $ac_executable_extensions; do
2006
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2007
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2008
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2009
    break 2
2010
  fi
2011
done
2012
  done
2013
IFS=$as_save_IFS
2014

    
2015
fi
2016
fi
2017
CC=$ac_cv_prog_CC
2018
if test -n "$CC"; then
2019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2020
$as_echo "$CC" >&6; }
2021
else
2022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2023
$as_echo "no" >&6; }
2024
fi
2025

    
2026

    
2027
  fi
2028
fi
2029
if test -z "$CC"; then
2030
  # Extract the first word of "cc", so it can be a program name with args.
2031
set dummy cc; ac_word=$2
2032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2033
$as_echo_n "checking for $ac_word... " >&6; }
2034
if ${ac_cv_prog_CC+:} false; then :
2035
  $as_echo_n "(cached) " >&6
2036
else
2037
  if test -n "$CC"; then
2038
  ac_cv_prog_CC="$CC" # Let the user override the test.
2039
else
2040
  ac_prog_rejected=no
2041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042
for as_dir in $PATH
2043
do
2044
  IFS=$as_save_IFS
2045
  test -z "$as_dir" && as_dir=.
2046
    for ac_exec_ext in '' $ac_executable_extensions; do
2047
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2048
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2049
       ac_prog_rejected=yes
2050
       continue
2051
     fi
2052
    ac_cv_prog_CC="cc"
2053
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2054
    break 2
2055
  fi
2056
done
2057
  done
2058
IFS=$as_save_IFS
2059

    
2060
if test $ac_prog_rejected = yes; then
2061
  # We found a bogon in the path, so make sure we never use it.
2062
  set dummy $ac_cv_prog_CC
2063
  shift
2064
  if test $# != 0; then
2065
    # We chose a different compiler from the bogus one.
2066
    # However, it has the same basename, so the bogon will be chosen
2067
    # first if we set CC to just the basename; use the full file name.
2068
    shift
2069
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2070
  fi
2071
fi
2072
fi
2073
fi
2074
CC=$ac_cv_prog_CC
2075
if test -n "$CC"; then
2076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2077
$as_echo "$CC" >&6; }
2078
else
2079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2080
$as_echo "no" >&6; }
2081
fi
2082

    
2083

    
2084
fi
2085
if test -z "$CC"; then
2086
  if test -n "$ac_tool_prefix"; then
2087
  for ac_prog in cl.exe
2088
  do
2089
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2090
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2092
$as_echo_n "checking for $ac_word... " >&6; }
2093
if ${ac_cv_prog_CC+:} false; then :
2094
  $as_echo_n "(cached) " >&6
2095
else
2096
  if test -n "$CC"; then
2097
  ac_cv_prog_CC="$CC" # Let the user override the test.
2098
else
2099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100
for as_dir in $PATH
2101
do
2102
  IFS=$as_save_IFS
2103
  test -z "$as_dir" && as_dir=.
2104
    for ac_exec_ext in '' $ac_executable_extensions; do
2105
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2108
    break 2
2109
  fi
2110
done
2111
  done
2112
IFS=$as_save_IFS
2113

    
2114
fi
2115
fi
2116
CC=$ac_cv_prog_CC
2117
if test -n "$CC"; then
2118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2119
$as_echo "$CC" >&6; }
2120
else
2121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2122
$as_echo "no" >&6; }
2123
fi
2124

    
2125

    
2126
    test -n "$CC" && break
2127
  done
2128
fi
2129
if test -z "$CC"; then
2130
  ac_ct_CC=$CC
2131
  for ac_prog in cl.exe
2132
do
2133
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2134
set dummy $ac_prog; ac_word=$2
2135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2136
$as_echo_n "checking for $ac_word... " >&6; }
2137
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2138
  $as_echo_n "(cached) " >&6
2139
else
2140
  if test -n "$ac_ct_CC"; then
2141
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2142
else
2143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144
for as_dir in $PATH
2145
do
2146
  IFS=$as_save_IFS
2147
  test -z "$as_dir" && as_dir=.
2148
    for ac_exec_ext in '' $ac_executable_extensions; do
2149
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150
    ac_cv_prog_ac_ct_CC="$ac_prog"
2151
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2152
    break 2
2153
  fi
2154
done
2155
  done
2156
IFS=$as_save_IFS
2157

    
2158
fi
2159
fi
2160
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2161
if test -n "$ac_ct_CC"; then
2162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2163
$as_echo "$ac_ct_CC" >&6; }
2164
else
2165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166
$as_echo "no" >&6; }
2167
fi
2168

    
2169

    
2170
  test -n "$ac_ct_CC" && break
2171
done
2172

    
2173
  if test "x$ac_ct_CC" = x; then
2174
    CC=""
2175
  else
2176
    case $cross_compiling:$ac_tool_warned in
2177
yes:)
2178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2180
ac_tool_warned=yes ;;
2181
esac
2182
    CC=$ac_ct_CC
2183
  fi
2184
fi
2185

    
2186
fi
2187

    
2188

    
2189
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191
as_fn_error $? "no acceptable C compiler found in \$PATH
2192
See \`config.log' for more details" "$LINENO" 5; }
2193

    
2194
# Provide some information about the compiler.
2195
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2196
set X $ac_compile
2197
ac_compiler=$2
2198
for ac_option in --version -v -V -qversion; do
2199
  { { ac_try="$ac_compiler $ac_option >&5"
2200
case "(($ac_try" in
2201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2202
  *) ac_try_echo=$ac_try;;
2203
esac
2204
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2205
$as_echo "$ac_try_echo"; } >&5
2206
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2207
  ac_status=$?
2208
  if test -s conftest.err; then
2209
    sed '10a\
2210
... rest of stderr output deleted ...
2211
         10q' conftest.err >conftest.er1
2212
    cat conftest.er1 >&5
2213
  fi
2214
  rm -f conftest.er1 conftest.err
2215
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2216
  test $ac_status = 0; }
2217
done
2218

    
2219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220
/* end confdefs.h.  */
2221

    
2222
int
2223
main ()
2224
{
2225

    
2226
  ;
2227
  return 0;
2228
}
2229
_ACEOF
2230
ac_clean_files_save=$ac_clean_files
2231
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2232
# Try to create an executable without -o first, disregard a.out.
2233
# It will help us diagnose broken compilers, and finding out an intuition
2234
# of exeext.
2235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2236
$as_echo_n "checking whether the C compiler works... " >&6; }
2237
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2238

    
2239
# The possible output files:
2240
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2241

    
2242
ac_rmfiles=
2243
for ac_file in $ac_files
2244
do
2245
  case $ac_file in
2246
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2247
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2248
  esac
2249
done
2250
rm -f $ac_rmfiles
2251

    
2252
if { { ac_try="$ac_link_default"
2253
case "(($ac_try" in
2254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2255
  *) ac_try_echo=$ac_try;;
2256
esac
2257
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258
$as_echo "$ac_try_echo"; } >&5
2259
  (eval "$ac_link_default") 2>&5
2260
  ac_status=$?
2261
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2262
  test $ac_status = 0; }; then :
2263
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2264
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2265
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2266
# so that the user can short-circuit this test for compilers unknown to
2267
# Autoconf.
2268
for ac_file in $ac_files ''
2269
do
2270
  test -f "$ac_file" || continue
2271
  case $ac_file in
2272
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2273
	;;
2274
    [ab].out )
2275
	# We found the default executable, but exeext='' is most
2276
	# certainly right.
2277
	break;;
2278
    *.* )
2279
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2280
	then :; else
2281
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2282
	fi
2283
	# We set ac_cv_exeext here because the later test for it is not
2284
	# safe: cross compilers may not add the suffix if given an `-o'
2285
	# argument, so we may need to know it at that point already.
2286
	# Even if this section looks crufty: it has the advantage of
2287
	# actually working.
2288
	break;;
2289
    * )
2290
	break;;
2291
  esac
2292
done
2293
test "$ac_cv_exeext" = no && ac_cv_exeext=
2294

    
2295
else
2296
  ac_file=''
2297
fi
2298
if test -z "$ac_file"; then :
2299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2300
$as_echo "no" >&6; }
2301
$as_echo "$as_me: failed program was:" >&5
2302
sed 's/^/| /' conftest.$ac_ext >&5
2303

    
2304
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2305
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2306
as_fn_error 77 "C compiler cannot create executables
2307
See \`config.log' for more details" "$LINENO" 5; }
2308
else
2309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2310
$as_echo "yes" >&6; }
2311
fi
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2313
$as_echo_n "checking for C compiler default output file name... " >&6; }
2314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2315
$as_echo "$ac_file" >&6; }
2316
ac_exeext=$ac_cv_exeext
2317

    
2318
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2319
ac_clean_files=$ac_clean_files_save
2320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2321
$as_echo_n "checking for suffix of executables... " >&6; }
2322
if { { ac_try="$ac_link"
2323
case "(($ac_try" in
2324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2325
  *) ac_try_echo=$ac_try;;
2326
esac
2327
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2328
$as_echo "$ac_try_echo"; } >&5
2329
  (eval "$ac_link") 2>&5
2330
  ac_status=$?
2331
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2332
  test $ac_status = 0; }; then :
2333
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2334
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2335
# work properly (i.e., refer to `conftest.exe'), while it won't with
2336
# `rm'.
2337
for ac_file in conftest.exe conftest conftest.*; do
2338
  test -f "$ac_file" || continue
2339
  case $ac_file in
2340
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2341
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2342
	  break;;
2343
    * ) break;;
2344
  esac
2345
done
2346
else
2347
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2350
See \`config.log' for more details" "$LINENO" 5; }
2351
fi
2352
rm -f conftest conftest$ac_cv_exeext
2353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2354
$as_echo "$ac_cv_exeext" >&6; }
2355

    
2356
rm -f conftest.$ac_ext
2357
EXEEXT=$ac_cv_exeext
2358
ac_exeext=$EXEEXT
2359
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360
/* end confdefs.h.  */
2361
#include <stdio.h>
2362
int
2363
main ()
2364
{
2365
FILE *f = fopen ("conftest.out", "w");
2366
 return ferror (f) || fclose (f) != 0;
2367

    
2368
  ;
2369
  return 0;
2370
}
2371
_ACEOF
2372
ac_clean_files="$ac_clean_files conftest.out"
2373
# Check that the compiler produces executables we can run.  If not, either
2374
# the compiler is broken, or we cross compile.
2375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2376
$as_echo_n "checking whether we are cross compiling... " >&6; }
2377
if test "$cross_compiling" != yes; then
2378
  { { ac_try="$ac_link"
2379
case "(($ac_try" in
2380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381
  *) ac_try_echo=$ac_try;;
2382
esac
2383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2384
$as_echo "$ac_try_echo"; } >&5
2385
  (eval "$ac_link") 2>&5
2386
  ac_status=$?
2387
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388
  test $ac_status = 0; }
2389
  if { ac_try='./conftest$ac_cv_exeext'
2390
  { { case "(($ac_try" in
2391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392
  *) ac_try_echo=$ac_try;;
2393
esac
2394
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395
$as_echo "$ac_try_echo"; } >&5
2396
  (eval "$ac_try") 2>&5
2397
  ac_status=$?
2398
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399
  test $ac_status = 0; }; }; then
2400
    cross_compiling=no
2401
  else
2402
    if test "$cross_compiling" = maybe; then
2403
	cross_compiling=yes
2404
    else
2405
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2406
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2407
as_fn_error $? "cannot run C compiled programs.
2408
If you meant to cross compile, use \`--host'.
2409
See \`config.log' for more details" "$LINENO" 5; }
2410
    fi
2411
  fi
2412
fi
2413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2414
$as_echo "$cross_compiling" >&6; }
2415

    
2416
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2417
ac_clean_files=$ac_clean_files_save
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2419
$as_echo_n "checking for suffix of object files... " >&6; }
2420
if ${ac_cv_objext+:} false; then :
2421
  $as_echo_n "(cached) " >&6
2422
else
2423
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424
/* end confdefs.h.  */
2425

    
2426
int
2427
main ()
2428
{
2429

    
2430
  ;
2431
  return 0;
2432
}
2433
_ACEOF
2434
rm -f conftest.o conftest.obj
2435
if { { ac_try="$ac_compile"
2436
case "(($ac_try" in
2437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438
  *) ac_try_echo=$ac_try;;
2439
esac
2440
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2441
$as_echo "$ac_try_echo"; } >&5
2442
  (eval "$ac_compile") 2>&5
2443
  ac_status=$?
2444
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2445
  test $ac_status = 0; }; then :
2446
  for ac_file in conftest.o conftest.obj conftest.*; do
2447
  test -f "$ac_file" || continue;
2448
  case $ac_file in
2449
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2450
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2451
       break;;
2452
  esac
2453
done
2454
else
2455
  $as_echo "$as_me: failed program was:" >&5
2456
sed 's/^/| /' conftest.$ac_ext >&5
2457

    
2458
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2459
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2460
as_fn_error $? "cannot compute suffix of object files: cannot compile
2461
See \`config.log' for more details" "$LINENO" 5; }
2462
fi
2463
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2464
fi
2465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2466
$as_echo "$ac_cv_objext" >&6; }
2467
OBJEXT=$ac_cv_objext
2468
ac_objext=$OBJEXT
2469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2470
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2471
if ${ac_cv_c_compiler_gnu+:} false; then :
2472
  $as_echo_n "(cached) " >&6
2473
else
2474
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475
/* end confdefs.h.  */
2476

    
2477
int
2478
main ()
2479
{
2480
#ifndef __GNUC__
2481
       choke me
2482
#endif
2483

    
2484
  ;
2485
  return 0;
2486
}
2487
_ACEOF
2488
if ac_fn_c_try_compile "$LINENO"; then :
2489
  ac_compiler_gnu=yes
2490
else
2491
  ac_compiler_gnu=no
2492
fi
2493
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2495

    
2496
fi
2497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2498
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2499
if test $ac_compiler_gnu = yes; then
2500
  GCC=yes
2501
else
2502
  GCC=
2503
fi
2504
ac_test_CFLAGS=${CFLAGS+set}
2505
ac_save_CFLAGS=$CFLAGS
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2507
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2508
if ${ac_cv_prog_cc_g+:} false; then :
2509
  $as_echo_n "(cached) " >&6
2510
else
2511
  ac_save_c_werror_flag=$ac_c_werror_flag
2512
   ac_c_werror_flag=yes
2513
   ac_cv_prog_cc_g=no
2514
   CFLAGS="-g"
2515
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516
/* end confdefs.h.  */
2517

    
2518
int
2519
main ()
2520
{
2521

    
2522
  ;
2523
  return 0;
2524
}
2525
_ACEOF
2526
if ac_fn_c_try_compile "$LINENO"; then :
2527
  ac_cv_prog_cc_g=yes
2528
else
2529
  CFLAGS=""
2530
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531
/* end confdefs.h.  */
2532

    
2533
int
2534
main ()
2535
{
2536

    
2537
  ;
2538
  return 0;
2539
}
2540
_ACEOF
2541
if ac_fn_c_try_compile "$LINENO"; then :
2542

    
2543
else
2544
  ac_c_werror_flag=$ac_save_c_werror_flag
2545
	 CFLAGS="-g"
2546
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547
/* end confdefs.h.  */
2548

    
2549
int
2550
main ()
2551
{
2552

    
2553
  ;
2554
  return 0;
2555
}
2556
_ACEOF
2557
if ac_fn_c_try_compile "$LINENO"; then :
2558
  ac_cv_prog_cc_g=yes
2559
fi
2560
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561
fi
2562
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563
fi
2564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2565
   ac_c_werror_flag=$ac_save_c_werror_flag
2566
fi
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2568
$as_echo "$ac_cv_prog_cc_g" >&6; }
2569
if test "$ac_test_CFLAGS" = set; then
2570
  CFLAGS=$ac_save_CFLAGS
2571
elif test $ac_cv_prog_cc_g = yes; then
2572
  if test "$GCC" = yes; then
2573
    CFLAGS="-g -O2"
2574
  else
2575
    CFLAGS="-g"
2576
  fi
2577
else
2578
  if test "$GCC" = yes; then
2579
    CFLAGS="-O2"
2580
  else
2581
    CFLAGS=
2582
  fi
2583
fi
2584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2585
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2586
if ${ac_cv_prog_cc_c89+:} false; then :
2587
  $as_echo_n "(cached) " >&6
2588
else
2589
  ac_cv_prog_cc_c89=no
2590
ac_save_CC=$CC
2591
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2592
/* end confdefs.h.  */
2593
#include <stdarg.h>
2594
#include <stdio.h>
2595
struct stat;
2596
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2597
struct buf { int x; };
2598
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2599
static char *e (p, i)
2600
     char **p;
2601
     int i;
2602
{
2603
  return p[i];
2604
}
2605
static char *f (char * (*g) (char **, int), char **p, ...)
2606
{
2607
  char *s;
2608
  va_list v;
2609
  va_start (v,p);
2610
  s = g (p, va_arg (v,int));
2611
  va_end (v);
2612
  return s;
2613
}
2614

    
2615
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2616
   function prototypes and stuff, but not '\xHH' hex character constants.
2617
   These don't provoke an error unfortunately, instead are silently treated
2618
   as 'x'.  The following induces an error, until -std is added to get
2619
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2620
   array size at least.  It's necessary to write '\x00'==0 to get something
2621
   that's true only with -std.  */
2622
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2623

    
2624
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2625
   inside strings and character constants.  */
2626
#define FOO(x) 'x'
2627
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2628

    
2629
int test (int i, double x);
2630
struct s1 {int (*f) (int a);};
2631
struct s2 {int (*f) (double a);};
2632
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2633
int argc;
2634
char **argv;
2635
int
2636
main ()
2637
{
2638
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2639
  ;
2640
  return 0;
2641
}
2642
_ACEOF
2643
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2644
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2645
do
2646
  CC="$ac_save_CC $ac_arg"
2647
  if ac_fn_c_try_compile "$LINENO"; then :
2648
  ac_cv_prog_cc_c89=$ac_arg
2649
fi
2650
rm -f core conftest.err conftest.$ac_objext
2651
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2652
done
2653
rm -f conftest.$ac_ext
2654
CC=$ac_save_CC
2655

    
2656
fi
2657
# AC_CACHE_VAL
2658
case "x$ac_cv_prog_cc_c89" in
2659
  x)
2660
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2661
$as_echo "none needed" >&6; } ;;
2662
  xno)
2663
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2664
$as_echo "unsupported" >&6; } ;;
2665
  *)
2666
    CC="$CC $ac_cv_prog_cc_c89"
2667
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2668
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2669
esac
2670
if test "x$ac_cv_prog_cc_c89" != xno; then :
2671

    
2672
fi
2673

    
2674
ac_ext=c
2675
ac_cpp='$CPP $CPPFLAGS'
2676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679

    
2680

    
2681
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682
/* end confdefs.h.  */
2683

    
2684
int
2685
main ()
2686
{
2687

    
2688
                                        int main(){ return 0; }
2689

    
2690
  ;
2691
  return 0;
2692
}
2693
_ACEOF
2694
if ac_fn_c_try_compile "$LINENO"; then :
2695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2696
$as_echo "yes" >&6; }; CC_NOASNEEDED="true"
2697
else
2698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699
$as_echo "no" >&6; }; CC_NOASNEEDED="false"
2700
fi
2701
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702
CFLAGS=$oCFLAGS
2703

    
2704

    
2705

    
2706
# End of config
2707

    
2708

    
2709

    
2710

    
2711
  prefix_NONE=
2712
  exec_prefix_NONE=
2713
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
2714
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
2715
  eval ac_define_dir="\"$datadir\""
2716
  eval ac_define_dir="\"$ac_define_dir\""
2717
  abs_datadir="$ac_define_dir"
2718

    
2719
  cat >>confdefs.h <<_ACEOF
2720
#define abs_datadir "$ac_define_dir"
2721
_ACEOF
2722

    
2723
  test "$prefix_NONE" && prefix=NONE
2724
  test "$exec_prefix_NONE" && exec_prefix=NONE
2725

    
2726

    
2727
# Instanciation
2728
ac_config_files="$ac_config_files Makefile myocamlbuild.ml src/version.ml"
2729

    
2730

    
2731
cat >confcache <<\_ACEOF
2732
# This file is a shell script that caches the results of configure
2733
# tests run on this system so they can be shared between configure
2734
# scripts and configure runs, see configure's option --config-cache.
2735
# It is not useful on other systems.  If it contains results you don't
2736
# want to keep, you may remove or edit it.
2737
#
2738
# config.status only pays attention to the cache file if you give it
2739
# the --recheck option to rerun configure.
2740
#
2741
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2742
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2743
# following values.
2744

    
2745
_ACEOF
2746

    
2747
# The following way of writing the cache mishandles newlines in values,
2748
# but we know of no workaround that is simple, portable, and efficient.
2749
# So, we kill variables containing newlines.
2750
# Ultrix sh set writes to stderr and can't be redirected directly,
2751
# and sets the high bit in the cache file unless we assign to the vars.
2752
(
2753
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2754
    eval ac_val=\$$ac_var
2755
    case $ac_val in #(
2756
    *${as_nl}*)
2757
      case $ac_var in #(
2758
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2759
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2760
      esac
2761
      case $ac_var in #(
2762
      _ | IFS | as_nl) ;; #(
2763
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2764
      *) { eval $ac_var=; unset $ac_var;} ;;
2765
      esac ;;
2766
    esac
2767
  done
2768

    
2769
  (set) 2>&1 |
2770
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2771
    *${as_nl}ac_space=\ *)
2772
      # `set' does not quote correctly, so add quotes: double-quote
2773
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2774
      sed -n \
2775
	"s/'/'\\\\''/g;
2776
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2777
      ;; #(
2778
    *)
2779
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2780
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2781
      ;;
2782
    esac |
2783
    sort
2784
) |
2785
  sed '
2786
     /^ac_cv_env_/b end
2787
     t clear
2788
     :clear
2789
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2790
     t end
2791
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2792
     :end' >>confcache
2793
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2794
  if test -w "$cache_file"; then
2795
    if test "x$cache_file" != "x/dev/null"; then
2796
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2797
$as_echo "$as_me: updating cache $cache_file" >&6;}
2798
      if test ! -f "$cache_file" || test -h "$cache_file"; then
2799
	cat confcache >"$cache_file"
2800
      else
2801
        case $cache_file in #(
2802
        */* | ?:*)
2803
	  mv -f confcache "$cache_file"$$ &&
2804
	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2805
        *)
2806
	  mv -f confcache "$cache_file" ;;
2807
	esac
2808
      fi
2809
    fi
2810
  else
2811
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2812
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2813
  fi
2814
fi
2815
rm -f confcache
2816

    
2817
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2818
# Let make expand exec_prefix.
2819
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2820

    
2821
# Transform confdefs.h into DEFS.
2822
# Protect against shell expansion while executing Makefile rules.
2823
# Protect against Makefile macro expansion.
2824
#
2825
# If the first sed substitution is executed (which looks for macros that
2826
# take arguments), then branch to the quote section.  Otherwise,
2827
# look for a macro that doesn't take arguments.
2828
ac_script='
2829
:mline
2830
/\\$/{
2831
 N
2832
 s,\\\n,,
2833
 b mline
2834
}
2835
t clear
2836
:clear
2837
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2838
t quote
2839
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2840
t quote
2841
b any
2842
:quote
2843
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2844
s/\[/\\&/g
2845
s/\]/\\&/g
2846
s/\$/$$/g
2847
H
2848
:any
2849
${
2850
	g
2851
	s/^\n//
2852
	s/\n/ /g
2853
	p
2854
}
2855
'
2856
DEFS=`sed -n "$ac_script" confdefs.h`
2857

    
2858

    
2859
ac_libobjs=
2860
ac_ltlibobjs=
2861
U=
2862
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2863
  # 1. Remove the extension, and $U if already installed.
2864
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2865
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2866
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2867
  #    will be set to the directory where LIBOBJS objects are built.
2868
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2869
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2870
done
2871
LIBOBJS=$ac_libobjs
2872

    
2873
LTLIBOBJS=$ac_ltlibobjs
2874

    
2875

    
2876

    
2877
: "${CONFIG_STATUS=./config.status}"
2878
ac_write_fail=0
2879
ac_clean_files_save=$ac_clean_files
2880
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2882
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2883
as_write_fail=0
2884
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2885
#! $SHELL
2886
# Generated by $as_me.
2887
# Run this file to recreate the current configuration.
2888
# Compiler output produced by configure, useful for debugging
2889
# configure, is in config.log if it exists.
2890

    
2891
debug=false
2892
ac_cs_recheck=false
2893
ac_cs_silent=false
2894

    
2895
SHELL=\${CONFIG_SHELL-$SHELL}
2896
export SHELL
2897
_ASEOF
2898
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2899
## -------------------- ##
2900
## M4sh Initialization. ##
2901
## -------------------- ##
2902

    
2903
# Be more Bourne compatible
2904
DUALCASE=1; export DUALCASE # for MKS sh
2905
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2906
  emulate sh
2907
  NULLCMD=:
2908
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2909
  # is contrary to our usage.  Disable this feature.
2910
  alias -g '${1+"$@"}'='"$@"'
2911
  setopt NO_GLOB_SUBST
2912
else
2913
  case `(set -o) 2>/dev/null` in #(
2914
  *posix*) :
2915
    set -o posix ;; #(
2916
  *) :
2917
     ;;
2918
esac
2919
fi
2920

    
2921

    
2922
as_nl='
2923
'
2924
export as_nl
2925
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2926
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2927
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2928
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2929
# Prefer a ksh shell builtin over an external printf program on Solaris,
2930
# but without wasting forks for bash or zsh.
2931
if test -z "$BASH_VERSION$ZSH_VERSION" \
2932
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2933
  as_echo='print -r --'
2934
  as_echo_n='print -rn --'
2935
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2936
  as_echo='printf %s\n'
2937
  as_echo_n='printf %s'
2938
else
2939
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2940
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2941
    as_echo_n='/usr/ucb/echo -n'
2942
  else
2943
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2944
    as_echo_n_body='eval
2945
      arg=$1;
2946
      case $arg in #(
2947
      *"$as_nl"*)
2948
	expr "X$arg" : "X\\(.*\\)$as_nl";
2949
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2950
      esac;
2951
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2952
    '
2953
    export as_echo_n_body
2954
    as_echo_n='sh -c $as_echo_n_body as_echo'
2955
  fi
2956
  export as_echo_body
2957
  as_echo='sh -c $as_echo_body as_echo'
2958
fi
2959

    
2960
# The user is always right.
2961
if test "${PATH_SEPARATOR+set}" != set; then
2962
  PATH_SEPARATOR=:
2963
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2964
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2965
      PATH_SEPARATOR=';'
2966
  }
2967
fi
2968

    
2969

    
2970
# IFS
2971
# We need space, tab and new line, in precisely that order.  Quoting is
2972
# there to prevent editors from complaining about space-tab.
2973
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2974
# splitting by setting IFS to empty value.)
2975
IFS=" ""	$as_nl"
2976

    
2977
# Find who we are.  Look in the path if we contain no directory separator.
2978
as_myself=
2979
case $0 in #((
2980
  *[\\/]* ) as_myself=$0 ;;
2981
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982
for as_dir in $PATH
2983
do
2984
  IFS=$as_save_IFS
2985
  test -z "$as_dir" && as_dir=.
2986
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2987
  done
2988
IFS=$as_save_IFS
2989

    
2990
     ;;
2991
esac
2992
# We did not find ourselves, most probably we were run as `sh COMMAND'
2993
# in which case we are not to be found in the path.
2994
if test "x$as_myself" = x; then
2995
  as_myself=$0
2996
fi
2997
if test ! -f "$as_myself"; then
2998
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2999
  exit 1
3000
fi
3001

    
3002
# Unset variables that we do not need and which cause bugs (e.g. in
3003
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3004
# suppresses any "Segmentation fault" message there.  '((' could
3005
# trigger a bug in pdksh 5.2.14.
3006
for as_var in BASH_ENV ENV MAIL MAILPATH
3007
do eval test x\${$as_var+set} = xset \
3008
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3009
done
3010
PS1='$ '
3011
PS2='> '
3012
PS4='+ '
3013

    
3014
# NLS nuisances.
3015
LC_ALL=C
3016
export LC_ALL
3017
LANGUAGE=C
3018
export LANGUAGE
3019

    
3020
# CDPATH.
3021
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3022

    
3023

    
3024
# as_fn_error STATUS ERROR [LINENO LOG_FD]
3025
# ----------------------------------------
3026
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3027
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3028
# script with STATUS, using 1 if that was 0.
3029
as_fn_error ()
3030
{
3031
  as_status=$1; test $as_status -eq 0 && as_status=1
3032
  if test "$4"; then
3033
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3035
  fi
3036
  $as_echo "$as_me: error: $2" >&2
3037
  as_fn_exit $as_status
3038
} # as_fn_error
3039

    
3040

    
3041
# as_fn_set_status STATUS
3042
# -----------------------
3043
# Set $? to STATUS, without forking.
3044
as_fn_set_status ()
3045
{
3046
  return $1
3047
} # as_fn_set_status
3048

    
3049
# as_fn_exit STATUS
3050
# -----------------
3051
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3052
as_fn_exit ()
3053
{
3054
  set +e
3055
  as_fn_set_status $1
3056
  exit $1
3057
} # as_fn_exit
3058

    
3059
# as_fn_unset VAR
3060
# ---------------
3061
# Portably unset VAR.
3062
as_fn_unset ()
3063
{
3064
  { eval $1=; unset $1;}
3065
}
3066
as_unset=as_fn_unset
3067
# as_fn_append VAR VALUE
3068
# ----------------------
3069
# Append the text in VALUE to the end of the definition contained in VAR. Take
3070
# advantage of any shell optimizations that allow amortized linear growth over
3071
# repeated appends, instead of the typical quadratic growth present in naive
3072
# implementations.
3073
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3074
  eval 'as_fn_append ()
3075
  {
3076
    eval $1+=\$2
3077
  }'
3078
else
3079
  as_fn_append ()
3080
  {
3081
    eval $1=\$$1\$2
3082
  }
3083
fi # as_fn_append
3084

    
3085
# as_fn_arith ARG...
3086
# ------------------
3087
# Perform arithmetic evaluation on the ARGs, and store the result in the
3088
# global $as_val. Take advantage of shells that can avoid forks. The arguments
3089
# must be portable across $(()) and expr.
3090
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3091
  eval 'as_fn_arith ()
3092
  {
3093
    as_val=$(( $* ))
3094
  }'
3095
else
3096
  as_fn_arith ()
3097
  {
3098
    as_val=`expr "$@" || test $? -eq 1`
3099
  }
3100
fi # as_fn_arith
3101

    
3102

    
3103
if expr a : '\(a\)' >/dev/null 2>&1 &&
3104
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3105
  as_expr=expr
3106
else
3107
  as_expr=false
3108
fi
3109

    
3110
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3111
  as_basename=basename
3112
else
3113
  as_basename=false
3114
fi
3115

    
3116
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3117
  as_dirname=dirname
3118
else
3119
  as_dirname=false
3120
fi
3121

    
3122
as_me=`$as_basename -- "$0" ||
3123
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3124
	 X"$0" : 'X\(//\)$' \| \
3125
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3126
$as_echo X/"$0" |
3127
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3128
	    s//\1/
3129
	    q
3130
	  }
3131
	  /^X\/\(\/\/\)$/{
3132
	    s//\1/
3133
	    q
3134
	  }
3135
	  /^X\/\(\/\).*/{
3136
	    s//\1/
3137
	    q
3138
	  }
3139
	  s/.*/./; q'`
3140

    
3141
# Avoid depending upon Character Ranges.
3142
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3143
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3144
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3145
as_cr_digits='0123456789'
3146
as_cr_alnum=$as_cr_Letters$as_cr_digits
3147

    
3148
ECHO_C= ECHO_N= ECHO_T=
3149
case `echo -n x` in #(((((
3150
-n*)
3151
  case `echo 'xy\c'` in
3152
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3153
  xy)  ECHO_C='\c';;
3154
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3155
       ECHO_T='	';;
3156
  esac;;
3157
*)
3158
  ECHO_N='-n';;
3159
esac
3160

    
3161
rm -f conf$$ conf$$.exe conf$$.file
3162
if test -d conf$$.dir; then
3163
  rm -f conf$$.dir/conf$$.file
3164
else
3165
  rm -f conf$$.dir
3166
  mkdir conf$$.dir 2>/dev/null
3167
fi
3168
if (echo >conf$$.file) 2>/dev/null; then
3169
  if ln -s conf$$.file conf$$ 2>/dev/null; then
3170
    as_ln_s='ln -s'
3171
    # ... but there are two gotchas:
3172
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3173
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3174
    # In both cases, we have to default to `cp -pR'.
3175
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3176
      as_ln_s='cp -pR'
3177
  elif ln conf$$.file conf$$ 2>/dev/null; then
3178
    as_ln_s=ln
3179
  else
3180
    as_ln_s='cp -pR'
3181
  fi
3182
else
3183
  as_ln_s='cp -pR'
3184
fi
3185
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3186
rmdir conf$$.dir 2>/dev/null
3187

    
3188

    
3189
# as_fn_mkdir_p
3190
# -------------
3191
# Create "$as_dir" as a directory, including parents if necessary.
3192
as_fn_mkdir_p ()
3193
{
3194

    
3195
  case $as_dir in #(
3196
  -*) as_dir=./$as_dir;;
3197
  esac
3198
  test -d "$as_dir" || eval $as_mkdir_p || {
3199
    as_dirs=
3200
    while :; do
3201
      case $as_dir in #(
3202
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3203
      *) as_qdir=$as_dir;;
3204
      esac
3205
      as_dirs="'$as_qdir' $as_dirs"
3206
      as_dir=`$as_dirname -- "$as_dir" ||
3207
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3208
	 X"$as_dir" : 'X\(//\)[^/]' \| \
3209
	 X"$as_dir" : 'X\(//\)$' \| \
3210
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3211
$as_echo X"$as_dir" |
3212
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3213
	    s//\1/
3214
	    q
3215
	  }
3216
	  /^X\(\/\/\)[^/].*/{
3217
	    s//\1/
3218
	    q
3219
	  }
3220
	  /^X\(\/\/\)$/{
3221
	    s//\1/
3222
	    q
3223
	  }
3224
	  /^X\(\/\).*/{
3225
	    s//\1/
3226
	    q
3227
	  }
3228
	  s/.*/./; q'`
3229
      test -d "$as_dir" && break
3230
    done
3231
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3232
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3233

    
3234

    
3235
} # as_fn_mkdir_p
3236
if mkdir -p . 2>/dev/null; then
3237
  as_mkdir_p='mkdir -p "$as_dir"'
3238
else
3239
  test -d ./-p && rmdir ./-p
3240
  as_mkdir_p=false
3241
fi
3242

    
3243

    
3244
# as_fn_executable_p FILE
3245
# -----------------------
3246
# Test if FILE is an executable regular file.
3247
as_fn_executable_p ()
3248
{
3249
  test -f "$1" && test -x "$1"
3250
} # as_fn_executable_p
3251
as_test_x='test -x'
3252
as_executable_p=as_fn_executable_p
3253

    
3254
# Sed expression to map a string onto a valid CPP name.
3255
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3256

    
3257
# Sed expression to map a string onto a valid variable name.
3258
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3259

    
3260

    
3261
exec 6>&1
3262
## ----------------------------------- ##
3263
## Main body of $CONFIG_STATUS script. ##
3264
## ----------------------------------- ##
3265
_ASEOF
3266
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3267

    
3268
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3269
# Save the log message, to keep $0 and so on meaningful, and to
3270
# report actual input values of CONFIG_FILES etc. instead of their
3271
# values after options handling.
3272
ac_log="
3273
This file was extended by lustrec $as_me 0.1-371, which was
3274
generated by GNU Autoconf 2.69.  Invocation command line was
3275

    
3276
  CONFIG_FILES    = $CONFIG_FILES
3277
  CONFIG_HEADERS  = $CONFIG_HEADERS
3278
  CONFIG_LINKS    = $CONFIG_LINKS
3279
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3280
  $ $0 $@
3281

    
3282
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3283
"
3284

    
3285
_ACEOF
3286

    
3287
case $ac_config_files in *"
3288
"*) set x $ac_config_files; shift; ac_config_files=$*;;
3289
esac
3290

    
3291

    
3292

    
3293
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3294
# Files that config.status was made for.
3295
config_files="$ac_config_files"
3296

    
3297
_ACEOF
3298

    
3299
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3300
ac_cs_usage="\
3301
\`$as_me' instantiates files and other configuration actions
3302
from templates according to the current configuration.  Unless the files
3303
and actions are specified as TAGs, all are instantiated by default.
3304

    
3305
Usage: $0 [OPTION]... [TAG]...
3306

    
3307
  -h, --help       print this help, then exit
3308
  -V, --version    print version number and configuration settings, then exit
3309
      --config     print configuration, then exit
3310
  -q, --quiet, --silent
3311
                   do not print progress messages
3312
  -d, --debug      don't remove temporary files
3313
      --recheck    update $as_me by reconfiguring in the same conditions
3314
      --file=FILE[:TEMPLATE]
3315
                   instantiate the configuration file FILE
3316

    
3317
Configuration files:
3318
$config_files
3319

    
3320
Report bugs to <ploc@garoche.net>."
3321

    
3322
_ACEOF
3323
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3324
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3325
ac_cs_version="\\
3326
lustrec config.status 0.1-371
3327
configured by $0, generated by GNU Autoconf 2.69,
3328
  with options \\"\$ac_cs_config\\"
3329

    
3330
Copyright (C) 2012 Free Software Foundation, Inc.
3331
This config.status script is free software; the Free Software Foundation
3332
gives unlimited permission to copy, distribute and modify it."
3333

    
3334
ac_pwd='$ac_pwd'
3335
srcdir='$srcdir'
3336
test -n "\$AWK" || AWK=awk
3337
_ACEOF
3338

    
3339
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3340
# The default lists apply if the user does not specify any file.
3341
ac_need_defaults=:
3342
while test $# != 0
3343
do
3344
  case $1 in
3345
  --*=?*)
3346
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3347
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3348
    ac_shift=:
3349
    ;;
3350
  --*=)
3351
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3352
    ac_optarg=
3353
    ac_shift=:
3354
    ;;
3355
  *)
3356
    ac_option=$1
3357
    ac_optarg=$2
3358
    ac_shift=shift
3359
    ;;
3360
  esac
3361

    
3362
  case $ac_option in
3363
  # Handling of the options.
3364
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3365
    ac_cs_recheck=: ;;
3366
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3367
    $as_echo "$ac_cs_version"; exit ;;
3368
  --config | --confi | --conf | --con | --co | --c )
3369
    $as_echo "$ac_cs_config"; exit ;;
3370
  --debug | --debu | --deb | --de | --d | -d )
3371
    debug=: ;;
3372
  --file | --fil | --fi | --f )
3373
    $ac_shift
3374
    case $ac_optarg in
3375
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3376
    '') as_fn_error $? "missing file argument" ;;
3377
    esac
3378
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3379
    ac_need_defaults=false;;
3380
  --he | --h |  --help | --hel | -h )
3381
    $as_echo "$ac_cs_usage"; exit ;;
3382
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3383
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3384
    ac_cs_silent=: ;;
3385

    
3386
  # This is an error.
3387
  -*) as_fn_error $? "unrecognized option: \`$1'
3388
Try \`$0 --help' for more information." ;;
3389

    
3390
  *) as_fn_append ac_config_targets " $1"
3391
     ac_need_defaults=false ;;
3392

    
3393
  esac
3394
  shift
3395
done
3396

    
3397
ac_configure_extra_args=
3398

    
3399
if $ac_cs_silent; then
3400
  exec 6>/dev/null
3401
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3402
fi
3403

    
3404
_ACEOF
3405
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3406
if \$ac_cs_recheck; then
3407
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3408
  shift
3409
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3410
  CONFIG_SHELL='$SHELL'
3411
  export CONFIG_SHELL
3412
  exec "\$@"
3413
fi
3414

    
3415
_ACEOF
3416
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3417
exec 5>>config.log
3418
{
3419
  echo
3420
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3421
## Running $as_me. ##
3422
_ASBOX
3423
  $as_echo "$ac_log"
3424
} >&5
3425

    
3426
_ACEOF
3427
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3428
_ACEOF
3429

    
3430
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3431

    
3432
# Handling of arguments.
3433
for ac_config_target in $ac_config_targets
3434
do
3435
  case $ac_config_target in
3436
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3437
    "myocamlbuild.ml") CONFIG_FILES="$CONFIG_FILES myocamlbuild.ml" ;;
3438
    "src/version.ml") CONFIG_FILES="$CONFIG_FILES src/version.ml" ;;
3439

    
3440
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3441
  esac
3442
done
3443

    
3444

    
3445
# If the user did not use the arguments to specify the items to instantiate,
3446
# then the envvar interface is used.  Set only those that are not.
3447
# We use the long form for the default assignment because of an extremely
3448
# bizarre bug on SunOS 4.1.3.
3449
if $ac_need_defaults; then
3450
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3451
fi
3452

    
3453
# Have a temporary directory for convenience.  Make it in the build tree
3454
# simply because there is no reason against having it here, and in addition,
3455
# creating and moving files from /tmp can sometimes cause problems.
3456
# Hook for its removal unless debugging.
3457
# Note that there is a small window in which the directory will not be cleaned:
3458
# after its creation but before its name has been assigned to `$tmp'.
3459
$debug ||
3460
{
3461
  tmp= ac_tmp=
3462
  trap 'exit_status=$?
3463
  : "${ac_tmp:=$tmp}"
3464
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3465
' 0
3466
  trap 'as_fn_exit 1' 1 2 13 15
3467
}
3468
# Create a (secure) tmp directory for tmp files.
3469

    
3470
{
3471
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3472
  test -d "$tmp"
3473
}  ||
3474
{
3475
  tmp=./conf$$-$RANDOM
3476
  (umask 077 && mkdir "$tmp")
3477
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3478
ac_tmp=$tmp
3479

    
3480
# Set up the scripts for CONFIG_FILES section.
3481
# No need to generate them if there are no CONFIG_FILES.
3482
# This happens for instance with `./config.status config.h'.
3483
if test -n "$CONFIG_FILES"; then
3484

    
3485

    
3486
ac_cr=`echo X | tr X '\015'`
3487
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3488
# But we know of no other shell where ac_cr would be empty at this
3489
# point, so we can use a bashism as a fallback.
3490
if test "x$ac_cr" = x; then
3491
  eval ac_cr=\$\'\\r\'
3492
fi
3493
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3494
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3495
  ac_cs_awk_cr='\\r'
3496
else
3497
  ac_cs_awk_cr=$ac_cr
3498
fi
3499

    
3500
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3501
_ACEOF
3502

    
3503

    
3504
{
3505
  echo "cat >conf$$subs.awk <<_ACEOF" &&
3506
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3507
  echo "_ACEOF"
3508
} >conf$$subs.sh ||
3509
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3510
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3511
ac_delim='%!_!# '
3512
for ac_last_try in false false false false false :; do
3513
  . ./conf$$subs.sh ||
3514
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3515

    
3516
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3517
  if test $ac_delim_n = $ac_delim_num; then
3518
    break
3519
  elif $ac_last_try; then
3520
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3521
  else
3522
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3523
  fi
3524
done
3525
rm -f conf$$subs.sh
3526

    
3527
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3528
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3529
_ACEOF
3530
sed -n '
3531
h
3532
s/^/S["/; s/!.*/"]=/
3533
p
3534
g
3535
s/^[^!]*!//
3536
:repl
3537
t repl
3538
s/'"$ac_delim"'$//
3539
t delim
3540
:nl
3541
h
3542
s/\(.\{148\}\)..*/\1/
3543
t more1
3544
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3545
p
3546
n
3547
b repl
3548
:more1
3549
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3550
p
3551
g
3552
s/.\{148\}//
3553
t nl
3554
:delim
3555
h
3556
s/\(.\{148\}\)..*/\1/
3557
t more2
3558
s/["\\]/\\&/g; s/^/"/; s/$/"/
3559
p
3560
b
3561
:more2
3562
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3563
p
3564
g
3565
s/.\{148\}//
3566
t delim
3567
' <conf$$subs.awk | sed '
3568
/^[^""]/{
3569
  N
3570
  s/\n//
3571
}
3572
' >>$CONFIG_STATUS || ac_write_fail=1
3573
rm -f conf$$subs.awk
3574
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3575
_ACAWK
3576
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3577
  for (key in S) S_is_set[key] = 1
3578
  FS = ""
3579

    
3580
}
3581
{
3582
  line = $ 0
3583
  nfields = split(line, field, "@")
3584
  substed = 0
3585
  len = length(field[1])
3586
  for (i = 2; i < nfields; i++) {
3587
    key = field[i]
3588
    keylen = length(key)
3589
    if (S_is_set[key]) {
3590
      value = S[key]
3591
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3592
      len += length(value) + length(field[++i])
3593
      substed = 1
3594
    } else
3595
      len += 1 + keylen
3596
  }
3597

    
3598
  print line
3599
}
3600

    
3601
_ACAWK
3602
_ACEOF
3603
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3604
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3605
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3606
else
3607
  cat
3608
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3609
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3610
_ACEOF
3611

    
3612
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3613
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3614
# trailing colons and then remove the whole line if VPATH becomes empty
3615
# (actually we leave an empty line to preserve line numbers).
3616
if test "x$srcdir" = x.; then
3617
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3618
h
3619
s///
3620
s/^/:/
3621
s/[	 ]*$/:/
3622
s/:\$(srcdir):/:/g
3623
s/:\${srcdir}:/:/g
3624
s/:@srcdir@:/:/g
3625
s/^:*//
3626
s/:*$//
3627
x
3628
s/\(=[	 ]*\).*/\1/
3629
G
3630
s/\n//
3631
s/^[^=]*=[	 ]*$//
3632
}'
3633
fi
3634

    
3635
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3636
fi # test -n "$CONFIG_FILES"
3637

    
3638

    
3639
eval set X "  :F $CONFIG_FILES      "
3640
shift
3641
for ac_tag
3642
do
3643
  case $ac_tag in
3644
  :[FHLC]) ac_mode=$ac_tag; continue;;
3645
  esac
3646
  case $ac_mode$ac_tag in
3647
  :[FHL]*:*);;
3648
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3649
  :[FH]-) ac_tag=-:-;;
3650
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3651
  esac
3652
  ac_save_IFS=$IFS
3653
  IFS=:
3654
  set x $ac_tag
3655
  IFS=$ac_save_IFS
3656
  shift
3657
  ac_file=$1
3658
  shift
3659

    
3660
  case $ac_mode in
3661
  :L) ac_source=$1;;
3662
  :[FH])
3663
    ac_file_inputs=
3664
    for ac_f
3665
    do
3666
      case $ac_f in
3667
      -) ac_f="$ac_tmp/stdin";;
3668
      *) # Look for the file first in the build tree, then in the source tree
3669
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3670
	 # because $ac_f cannot contain `:'.
3671
	 test -f "$ac_f" ||
3672
	   case $ac_f in
3673
	   [\\/$]*) false;;
3674
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3675
	   esac ||
3676
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3677
      esac
3678
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3679
      as_fn_append ac_file_inputs " '$ac_f'"
3680
    done
3681

    
3682
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3683
    # use $as_me), people would be surprised to read:
3684
    #    /* config.h.  Generated by config.status.  */
3685
    configure_input='Generated from '`
3686
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3687
	`' by configure.'
3688
    if test x"$ac_file" != x-; then
3689
      configure_input="$ac_file.  $configure_input"
3690
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3691
$as_echo "$as_me: creating $ac_file" >&6;}
3692
    fi
3693
    # Neutralize special characters interpreted by sed in replacement strings.
3694
    case $configure_input in #(
3695
    *\&* | *\|* | *\\* )
3696
       ac_sed_conf_input=`$as_echo "$configure_input" |
3697
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3698
    *) ac_sed_conf_input=$configure_input;;
3699
    esac
3700

    
3701
    case $ac_tag in
3702
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3703
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3704
    esac
3705
    ;;
3706
  esac
3707

    
3708
  ac_dir=`$as_dirname -- "$ac_file" ||
3709
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3710
	 X"$ac_file" : 'X\(//\)[^/]' \| \
3711
	 X"$ac_file" : 'X\(//\)$' \| \
3712
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3713
$as_echo X"$ac_file" |
3714
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3715
	    s//\1/
3716
	    q
3717
	  }
3718
	  /^X\(\/\/\)[^/].*/{
3719
	    s//\1/
3720
	    q
3721
	  }
3722
	  /^X\(\/\/\)$/{
3723
	    s//\1/
3724
	    q
3725
	  }
3726
	  /^X\(\/\).*/{
3727
	    s//\1/
3728
	    q
3729
	  }
3730
	  s/.*/./; q'`
3731
  as_dir="$ac_dir"; as_fn_mkdir_p
3732
  ac_builddir=.
3733

    
3734
case "$ac_dir" in
3735
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3736
*)
3737
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3738
  # A ".." for each directory in $ac_dir_suffix.
3739
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3740
  case $ac_top_builddir_sub in
3741
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3742
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3743
  esac ;;
3744
esac
3745
ac_abs_top_builddir=$ac_pwd
3746
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3747
# for backward compatibility:
3748
ac_top_builddir=$ac_top_build_prefix
3749

    
3750
case $srcdir in
3751
  .)  # We are building in place.
3752
    ac_srcdir=.
3753
    ac_top_srcdir=$ac_top_builddir_sub
3754
    ac_abs_top_srcdir=$ac_pwd ;;
3755
  [\\/]* | ?:[\\/]* )  # Absolute name.
3756
    ac_srcdir=$srcdir$ac_dir_suffix;
3757
    ac_top_srcdir=$srcdir
3758
    ac_abs_top_srcdir=$srcdir ;;
3759
  *) # Relative name.
3760
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3761
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3762
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3763
esac
3764
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3765

    
3766

    
3767
  case $ac_mode in
3768
  :F)
3769
  #
3770
  # CONFIG_FILE
3771
  #
3772

    
3773
_ACEOF
3774

    
3775
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3776
# If the template does not know about datarootdir, expand it.
3777
# FIXME: This hack should be removed a few years after 2.60.
3778
ac_datarootdir_hack=; ac_datarootdir_seen=
3779
ac_sed_dataroot='
3780
/datarootdir/ {
3781
  p
3782
  q
3783
}
3784
/@datadir@/p
3785
/@docdir@/p
3786
/@infodir@/p
3787
/@localedir@/p
3788
/@mandir@/p'
3789
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3790
*datarootdir*) ac_datarootdir_seen=yes;;
3791
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3792
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3793
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3794
_ACEOF
3795
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3796
  ac_datarootdir_hack='
3797
  s&@datadir@&$datadir&g
3798
  s&@docdir@&$docdir&g
3799
  s&@infodir@&$infodir&g
3800
  s&@localedir@&$localedir&g
3801
  s&@mandir@&$mandir&g
3802
  s&\\\${datarootdir}&$datarootdir&g' ;;
3803
esac
3804
_ACEOF
3805

    
3806
# Neutralize VPATH when `$srcdir' = `.'.
3807
# Shell code in configure.ac might set extrasub.
3808
# FIXME: do we really want to maintain this feature?
3809
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3810
ac_sed_extra="$ac_vpsub
3811
$extrasub
3812
_ACEOF
3813
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3814
:t
3815
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3816
s|@configure_input@|$ac_sed_conf_input|;t t
3817
s&@top_builddir@&$ac_top_builddir_sub&;t t
3818
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3819
s&@srcdir@&$ac_srcdir&;t t
3820
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3821
s&@top_srcdir@&$ac_top_srcdir&;t t
3822
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3823
s&@builddir@&$ac_builddir&;t t
3824
s&@abs_builddir@&$ac_abs_builddir&;t t
3825
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3826
$ac_datarootdir_hack
3827
"
3828
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3829
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3830

    
3831
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3832
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3833
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3834
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3835
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3836
which seems to be undefined.  Please make sure it is defined" >&5
3837
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3838
which seems to be undefined.  Please make sure it is defined" >&2;}
3839

    
3840
  rm -f "$ac_tmp/stdin"
3841
  case $ac_file in
3842
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3843
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3844
  esac \
3845
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3846
 ;;
3847

    
3848

    
3849

    
3850
  esac
3851

    
3852
done # for ac_tag
3853

    
3854

    
3855
as_fn_exit 0
3856
_ACEOF
3857
ac_clean_files=$ac_clean_files_save
3858

    
3859
test $ac_write_fail = 0 ||
3860
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3861

    
3862

    
3863
# configure is writing to config.log, and then calls config.status.
3864
# config.status does its own redirection, appending to config.log.
3865
# Unfortunately, on DOS this fails, as config.log is still kept open
3866
# by configure, so config.status won't be able to write to it; its
3867
# output is simply discarded.  So we exec the FD to /dev/null,
3868
# effectively closing config.log, so it can be properly (re)opened and
3869
# appended to by config.status.  When coming back to configure, we
3870
# need to make the FD available again.
3871
if test "$no_create" != yes; then
3872
  ac_cs_success=:
3873
  ac_config_status_args=
3874
  test "$silent" = yes &&
3875
    ac_config_status_args="$ac_config_status_args --quiet"
3876
  exec 5>/dev/null
3877
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3878
  exec 5>>config.log
3879
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3880
  # would make configure fail if this is the last instruction.
3881
  $ac_cs_success || as_fn_exit 1
3882
fi
3883
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3884
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3885
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3886
fi
3887

    
3888

    
3889

    
3890
# summary
3891