~ubuntu-branches/ubuntu/lucid/cameleon/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Sylvain Le Gall
  • Date: 2009-09-08 22:40:17 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090908224017-upcqmoijrqdkoxrb
Tags: 1.9.18.svn20090908+703-1
[ Stéphane Glondu ]
* New upstream SVN snapshot (Closes: #545649):
  - remove Fix-typo-in-LANGUAGESSPECSDIR.patch (merged upstream)
  - remove Use-ocamldoc-if-ocamldoc.opt-is-not-available.patch (not
    needed anymore)
* debian/control:
  - update my e-mail address and remove DMUA
  - move to section ocaml
  - update Standards-Version to 3.8.3
* debian/rules: remove call to deprecated dh_desktop

[ Sylvain Le Gall ]
* Fix typo and update .pot for manpages
* Add Format-Specification field to debian/copyright
* Remove src/*.byte
* Invert CDBS ocaml.mk and debhelper.mk to avoid generating
  *.debhelper.log

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
 
3
# Generated by GNU Autoconf 2.64.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
21
  # is contrary to our usage.  Disable this feature.
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in #(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
39
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
58
79
fi
59
80
 
60
81
 
63
84
# there to prevent editors from complaining about space-tab.
64
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
86
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
87
IFS=" ""        $as_nl"
69
88
 
70
89
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
 
90
case $0 in #((
72
91
  *[\\/]* ) as_myself=$0 ;;
73
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
93
for as_dir in $PATH
75
94
do
76
95
  IFS=$as_save_IFS
77
96
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
80
99
IFS=$as_save_IFS
81
100
 
82
101
     ;;
87
106
  as_myself=$0
88
107
fi
89
108
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
 
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
110
  exit 1
92
111
fi
93
112
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97
120
done
98
121
PS1='$ '
99
122
PS2='> '
100
123
PS4='+ '
101
124
 
102
125
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
 
126
LC_ALL=C
 
127
export LC_ALL
 
128
LANGUAGE=C
 
129
export LANGUAGE
149
130
 
150
131
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
153
133
 
154
134
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
 
172
  if (eval "$as_required") 2>/dev/null; then :
156
173
  as_have_required=yes
157
174
else
158
175
  as_have_required=no
159
176
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
177
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
178
 
 
179
else
 
180
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
181
as_found=false
222
182
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
183
do
224
184
  IFS=$as_save_IFS
225
185
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
186
  as_found=:
 
187
  case $as_dir in #(
227
188
         /*)
228
189
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
190
             # Try only shells that exist, to save several forks.
 
191
             as_shell=$as_dir/$as_base
 
192
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
193
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
194
  CONFIG_SHELL=$as_shell as_have_required=yes
 
195
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
196
  break 2
 
197
fi
 
198
fi
230
199
           done;;
231
200
       esac
 
201
  as_found=false
232
202
done
 
203
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
204
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
205
  CONFIG_SHELL=$SHELL as_have_required=yes
 
206
fi; }
233
207
IFS=$as_save_IFS
234
208
 
235
209
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
210
      if test "x$CONFIG_SHELL" != x; then :
 
211
  # We cannot yet assume a decent shell, so we have to provide a
 
212
        # neutralization value for shells without unset; and this also
 
213
        # works around shells that cannot unset nonexistent variables.
 
214
        BASH_ENV=/dev/null
 
215
        ENV=/dev/null
 
216
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
217
        export CONFIG_SHELL
 
218
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
219
fi
 
220
 
 
221
    if test x$as_have_required = xno; then :
 
222
  $as_echo "$0: This script requires a shell more modern than all"
 
223
  $as_echo "$0: the shells that I found on your system."
 
224
  if test x${ZSH_VERSION+set} = xset ; then
 
225
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
226
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
227
  else
 
228
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
229
$0: including any error possibly output before this
 
230
$0: message. Then install a modern shell, or manually run
 
231
$0: the script under such a shell if you do have one."
 
232
  fi
 
233
  exit 1
 
234
fi
 
235
fi
 
236
fi
 
237
SHELL=${CONFIG_SHELL-/bin/sh}
 
238
export SHELL
 
239
# Unset more variables known to interfere with behavior of common tools.
 
240
CLICOLOR_FORCE= GREP_OPTIONS=
 
241
unset CLICOLOR_FORCE GREP_OPTIONS
 
242
 
 
243
## --------------------- ##
 
244
## M4sh Shell Functions. ##
 
245
## --------------------- ##
 
246
# as_fn_unset VAR
 
247
# ---------------
 
248
# Portably unset VAR.
 
249
as_fn_unset ()
 
250
{
 
251
  { eval $1=; unset $1;}
 
252
}
 
253
as_unset=as_fn_unset
 
254
 
 
255
# as_fn_set_status STATUS
 
256
# -----------------------
 
257
# Set $? to STATUS, without forking.
 
258
as_fn_set_status ()
 
259
{
 
260
  return $1
 
261
} # as_fn_set_status
 
262
 
 
263
# as_fn_exit STATUS
 
264
# -----------------
 
265
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
266
as_fn_exit ()
 
267
{
 
268
  set +e
 
269
  as_fn_set_status $1
 
270
  exit $1
 
271
} # as_fn_exit
 
272
 
 
273
# as_fn_mkdir_p
 
274
# -------------
 
275
# Create "$as_dir" as a directory, including parents if necessary.
 
276
as_fn_mkdir_p ()
 
277
{
 
278
 
 
279
  case $as_dir in #(
 
280
  -*) as_dir=./$as_dir;;
 
281
  esac
 
282
  test -d "$as_dir" || eval $as_mkdir_p || {
 
283
    as_dirs=
 
284
    while :; do
 
285
      case $as_dir in #(
 
286
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
287
      *) as_qdir=$as_dir;;
 
288
      esac
 
289
      as_dirs="'$as_qdir' $as_dirs"
 
290
      as_dir=`$as_dirname -- "$as_dir" ||
 
291
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
292
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
293
         X"$as_dir" : 'X\(//\)$' \| \
 
294
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
295
$as_echo X"$as_dir" |
 
296
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
297
            s//\1/
 
298
            q
 
299
          }
 
300
          /^X\(\/\/\)[^/].*/{
 
301
            s//\1/
 
302
            q
 
303
          }
 
304
          /^X\(\/\/\)$/{
 
305
            s//\1/
 
306
            q
 
307
          }
 
308
          /^X\(\/\).*/{
 
309
            s//\1/
 
310
            q
 
311
          }
 
312
          s/.*/./; q'`
 
313
      test -d "$as_dir" && break
 
314
    done
 
315
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
316
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
317
 
 
318
 
 
319
} # as_fn_mkdir_p
 
320
# as_fn_append VAR VALUE
 
321
# ----------------------
 
322
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
323
# advantage of any shell optimizations that allow amortized linear growth over
 
324
# repeated appends, instead of the typical quadratic growth present in naive
 
325
# implementations.
 
326
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
327
  eval 'as_fn_append ()
 
328
  {
 
329
    eval $1+=\$2
 
330
  }'
 
331
else
 
332
  as_fn_append ()
 
333
  {
 
334
    eval $1=\$$1\$2
 
335
  }
 
336
fi # as_fn_append
 
337
 
 
338
# as_fn_arith ARG...
 
339
# ------------------
 
340
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
341
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
342
# must be portable across $(()) and expr.
 
343
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
344
  eval 'as_fn_arith ()
 
345
  {
 
346
    as_val=$(( $* ))
 
347
  }'
 
348
else
 
349
  as_fn_arith ()
 
350
  {
 
351
    as_val=`expr "$@" || test $? -eq 1`
 
352
  }
 
353
fi # as_fn_arith
 
354
 
 
355
 
 
356
# as_fn_error ERROR [LINENO LOG_FD]
 
357
# ---------------------------------
 
358
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
359
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
360
# script with status $?, using 1 if that was 0.
 
361
as_fn_error ()
 
362
{
 
363
  as_status=$?; test $as_status -eq 0 && as_status=1
 
364
  if test "$3"; then
 
365
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
366
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
367
  fi
 
368
  $as_echo "$as_me: error: $1" >&2
 
369
  as_fn_exit $as_status
 
370
} # as_fn_error
 
371
 
 
372
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
373
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
374
  as_expr=expr
 
375
else
 
376
  as_expr=false
 
377
fi
 
378
 
 
379
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
380
  as_basename=basename
 
381
else
 
382
  as_basename=false
 
383
fi
 
384
 
 
385
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
386
  as_dirname=dirname
 
387
else
 
388
  as_dirname=false
 
389
fi
 
390
 
 
391
as_me=`$as_basename -- "$0" ||
 
392
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
393
         X"$0" : 'X\(//\)$' \| \
 
394
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
395
$as_echo X/"$0" |
 
396
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
397
            s//\1/
 
398
            q
 
399
          }
 
400
          /^X\/\(\/\/\)$/{
 
401
            s//\1/
 
402
            q
 
403
          }
 
404
          /^X\/\(\/\).*/{
 
405
            s//\1/
 
406
            q
 
407
          }
 
408
          s/.*/./; q'`
 
409
 
 
410
# Avoid depending upon Character Ranges.
 
411
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
412
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
413
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
414
as_cr_digits='0123456789'
 
415
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
416
 
 
417
 
 
418
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
419
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
420
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
421
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
422
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438
423
  sed -n '
439
424
    p
440
425
    /[$]LINENO/=
451
436
      s/-\n.*//
452
437
    ' >$as_me.lineno &&
453
438
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
 
439
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
440
 
457
441
  # Don't try to exec as it changes $[0], causing all sort of problems
458
442
  # (the dirname of $[0] is not the place where we might find the
462
446
  exit
463
447
}
464
448
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
449
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
 
450
case `echo -n x` in #(((((
474
451
-n*)
475
 
  case `echo 'x\c'` in
 
452
  case `echo 'xy\c'` in
476
453
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
 
454
  xy)  ECHO_C='\c';;
 
455
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
456
       ECHO_T=' ';;
478
457
  esac;;
479
458
*)
480
459
  ECHO_N='-n';;
481
460
esac
482
461
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
462
rm -f conf$$ conf$$.exe conf$$.file
491
463
if test -d conf$$.dir; then
492
464
  rm -f conf$$.dir/conf$$.file
493
465
else
494
466
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
467
  mkdir conf$$.dir 2>/dev/null
496
468
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
469
if (echo >conf$$.file) 2>/dev/null; then
 
470
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
471
    as_ln_s='ln -s'
 
472
    # ... but there are two gotchas:
 
473
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
474
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
475
    # In both cases, we have to default to `cp -p'.
 
476
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
477
      as_ln_s='cp -p'
 
478
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
479
    as_ln_s=ln
 
480
  else
505
481
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
482
  fi
508
483
else
509
484
  as_ln_s='cp -p'
510
485
fi
512
487
rmdir conf$$.dir 2>/dev/null
513
488
 
514
489
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
 
490
  as_mkdir_p='mkdir -p "$as_dir"'
516
491
else
517
492
  test -d ./-p && rmdir ./-p
518
493
  as_mkdir_p=false
529
504
  as_test_x='
530
505
    eval sh -c '\''
531
506
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
507
        test -d "$1/.";
533
508
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
 
509
        case $1 in #(
 
510
        -*)set "./$1";;
536
511
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
512
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
513
        ???[sx]*):;;*)false;;esac;fi
539
514
    '\'' sh
540
515
  '
548
523
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
524
 
550
525
 
551
 
 
552
526
exec 7<&0 </dev/null 6>&1
553
527
 
554
528
# Name of the host.
567
541
subdirs=
568
542
MFLAGS=
569
543
MAKEFLAGS=
570
 
SHELL=${CONFIG_SHELL-/bin/sh}
571
544
 
572
545
# Identity of this package.
573
546
PACKAGE_NAME=
575
548
PACKAGE_VERSION=
576
549
PACKAGE_STRING=
577
550
PACKAGE_BUGREPORT=
 
551
PACKAGE_URL=
578
552
 
579
553
ac_unique_file="master.Makefile.in"
580
 
ac_subst_vars='SHELL
 
554
ac_subst_vars='LTLIBOBJS
 
555
LIBOBJS
 
556
AVAILABLE_CHARSETS
 
557
TMPL_ENGINE_BYTE
 
558
TMPL_ENGINE
 
559
DBFORGE_GUI_BYTE
 
560
DBFORGE_GUI
 
561
DBFORGE_BYTE
 
562
DBFORGE
 
563
REPORT_GUI_BYTE
 
564
REPORT_GUI
 
565
REPORT_BYTE
 
566
REPORT
 
567
RSS_EXPORT_BYTE
 
568
RSS_EXPORT
 
569
RSS_BYTE
 
570
RSS
 
571
TDL_SVN_BYTE
 
572
TDL_SVN
 
573
TDL_HTML_BYTE
 
574
TDL_HTML
 
575
TDL_EXPORT_BYTE
 
576
TDL_EXPORT
 
577
TDL_BYTE
 
578
TDL
 
579
OCAMLCVS_BYTE
 
580
OCAMLCVS
 
581
EDITOR_BYTE
 
582
EDITOR
 
583
DOCBROWSER_BYTE
 
584
DOCBROWSER
 
585
CAMTOP_SOURCEVIEW_MODULE_CMO
 
586
CAMTOP_SOURCEVIEW_MODULE
 
587
CAMTOP
 
588
CAM_CONFIG_BYTE
 
589
CAM_CONFIG
 
590
CAMELEON_BYTE
 
591
CAMELEON
 
592
SOCKET_DIR
 
593
DEBUG_LEVEL
 
594
PCRE_INCLUDES
 
595
XMLLIGHT_INCLUDES
 
596
USE_LABLGTKSOURCEVIEW
 
597
LABLGTKSOURCEVIEW_CMXA
 
598
LABLGTKSOURCEVIEW_CMA
 
599
LABLGTKSOURCEVIEW_INCLUDES
 
600
PCREDIR
 
601
LABLGTK2DIR
 
602
LABLGTK2_INCLUDES
 
603
GTK_INCLUDES
 
604
OCAML_DRIVER_INCLUDES
 
605
ROOT
 
606
LANGUAGESSPECSDIR
 
607
DTDDIR
 
608
GLADEDIR
 
609
PIXMAPSDIR
 
610
PLUGINSDIR
 
611
TEMPLATESDIR
 
612
INSTALLBIN
 
613
EXEC_PREFIX
 
614
OCAMLDOC_PLUGINSDIR
 
615
OCAMLDOC_OPT
 
616
OCAMLDOC
 
617
LABLGLADECC
 
618
OCAMLBIN
 
619
CAMMKTOP
 
620
OCAMLMKLIB
 
621
OCAMLMKTOP
 
622
OCAMLLIB
 
623
OCAMLVERSION
 
624
OCAMLYACC
 
625
OCAMLLEX
 
626
OCAMLDEP
 
627
OCAMLOPT
 
628
OCAMLC
 
629
VERSION
 
630
ICONV
 
631
ac_prefix_program
 
632
target_alias
 
633
host_alias
 
634
build_alias
 
635
LIBS
 
636
ECHO_T
 
637
ECHO_N
 
638
ECHO_C
 
639
DEFS
 
640
mandir
 
641
localedir
 
642
libdir
 
643
psdir
 
644
pdfdir
 
645
dvidir
 
646
htmldir
 
647
infodir
 
648
docdir
 
649
oldincludedir
 
650
includedir
 
651
localstatedir
 
652
sharedstatedir
 
653
sysconfdir
 
654
datadir
 
655
datarootdir
 
656
libexecdir
 
657
sbindir
 
658
bindir
 
659
program_transform_name
 
660
prefix
 
661
exec_prefix
 
662
PACKAGE_URL
 
663
PACKAGE_BUGREPORT
 
664
PACKAGE_STRING
 
665
PACKAGE_VERSION
 
666
PACKAGE_TARNAME
 
667
PACKAGE_NAME
581
668
PATH_SEPARATOR
582
 
PACKAGE_NAME
583
 
PACKAGE_TARNAME
584
 
PACKAGE_VERSION
585
 
PACKAGE_STRING
586
 
PACKAGE_BUGREPORT
587
 
exec_prefix
588
 
prefix
589
 
program_transform_name
590
 
bindir
591
 
sbindir
592
 
libexecdir
593
 
datarootdir
594
 
datadir
595
 
sysconfdir
596
 
sharedstatedir
597
 
localstatedir
598
 
includedir
599
 
oldincludedir
600
 
docdir
601
 
infodir
602
 
htmldir
603
 
dvidir
604
 
pdfdir
605
 
psdir
606
 
libdir
607
 
localedir
608
 
mandir
609
 
DEFS
610
 
ECHO_C
611
 
ECHO_N
612
 
ECHO_T
613
 
LIBS
614
 
build_alias
615
 
host_alias
616
 
target_alias
617
 
ac_prefix_program
618
 
ICONV
619
 
VERSION
620
 
OCAMLC
621
 
OCAMLOPT
622
 
OCAMLDEP
623
 
OCAMLLEX
624
 
OCAMLYACC
625
 
OCAMLVERSION
626
 
OCAMLLIB
627
 
OCAMLMKTOP
628
 
OCAMLMKLIB
629
 
CAMMKTOP
630
 
OCAMLBIN
631
 
LABLGLADECC
632
 
OCAMLDOC
633
 
OCAMLDOC_OPT
634
 
OCAMLDOC_PLUGINSDIR
635
 
EXEC_PREFIX
636
 
INSTALLBIN
637
 
TEMPLATESDIR
638
 
PLUGINSDIR
639
 
PIXMAPSDIR
640
 
GLADEDIR
641
 
DTDDIR
642
 
LANGUAGESSPECSDIR
643
 
ROOT
644
 
OCAML_DRIVER_INCLUDES
645
 
GTK_INCLUDES
646
 
LABLGTK2_INCLUDES
647
 
LABLGTK2DIR
648
 
PCREDIR
649
 
LABLGTKSOURCEVIEW_INCLUDES
650
 
LABLGTKSOURCEVIEW_CMA
651
 
LABLGTKSOURCEVIEW_CMXA
652
 
USE_LABLGTKSOURCEVIEW
653
 
XMLLIGHT_INCLUDES
654
 
PCRE_INCLUDES
655
 
DEBUG_LEVEL
656
 
SOCKET_DIR
657
 
CAMELEON
658
 
CAMELEON_BYTE
659
 
CAM_CONFIG
660
 
CAM_CONFIG_BYTE
661
 
CAMTOP
662
 
CAMTOP_SOURCEVIEW_MODULE
663
 
CAMTOP_SOURCEVIEW_MODULE_CMO
664
 
DOCBROWSER
665
 
DOCBROWSER_BYTE
666
 
EDITOR
667
 
EDITOR_BYTE
668
 
OCAMLCVS
669
 
OCAMLCVS_BYTE
670
 
TDL
671
 
TDL_BYTE
672
 
TDL_EXPORT
673
 
TDL_EXPORT_BYTE
674
 
TDL_HTML
675
 
TDL_HTML_BYTE
676
 
TDL_SVN
677
 
TDL_SVN_BYTE
678
 
RSS
679
 
RSS_BYTE
680
 
RSS_EXPORT
681
 
RSS_EXPORT_BYTE
682
 
REPORT
683
 
REPORT_BYTE
684
 
REPORT_GUI
685
 
REPORT_GUI_BYTE
686
 
DBFORGE
687
 
DBFORGE_BYTE
688
 
DBFORGE_GUI
689
 
DBFORGE_GUI_BYTE
690
 
TMPL_ENGINE
691
 
TMPL_ENGINE_BYTE
692
 
AVAILABLE_CHARSETS
693
 
LIBOBJS
694
 
LTLIBOBJS'
 
669
SHELL'
695
670
ac_subst_files=''
 
671
ac_user_opts='
 
672
enable_option_checking
 
673
with_debug_level
 
674
with_socket_dir
 
675
with_ocaml_src_dir
 
676
'
696
677
      ac_precious_vars='build_alias
697
678
host_alias
698
679
target_alias'
701
682
# Initialize some variables set by options.
702
683
ac_init_help=
703
684
ac_init_version=false
 
685
ac_unrecognized_opts=
 
686
ac_unrecognized_sep=
704
687
# The variables have the same names as the options, with
705
688
# dashes changed to underlines.
706
689
cache_file=/dev/null
799
782
    datarootdir=$ac_optarg ;;
800
783
 
801
784
  -disable-* | --disable-*)
802
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
785
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803
786
    # Reject names that are not valid shell variable names.
804
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
805
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
806
 
   { (exit 1); exit 1; }; }
807
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
808
 
    eval enable_$ac_feature=no ;;
 
787
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
788
      as_fn_error "invalid feature name: $ac_useropt"
 
789
    ac_useropt_orig=$ac_useropt
 
790
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
791
    case $ac_user_opts in
 
792
      *"
 
793
"enable_$ac_useropt"
 
794
"*) ;;
 
795
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
796
         ac_unrecognized_sep=', ';;
 
797
    esac
 
798
    eval enable_$ac_useropt=no ;;
809
799
 
810
800
  -docdir | --docdir | --docdi | --doc | --do)
811
801
    ac_prev=docdir ;;
818
808
    dvidir=$ac_optarg ;;
819
809
 
820
810
  -enable-* | --enable-*)
821
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
811
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822
812
    # Reject names that are not valid shell variable names.
823
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
824
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
825
 
   { (exit 1); exit 1; }; }
826
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
827
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
813
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
814
      as_fn_error "invalid feature name: $ac_useropt"
 
815
    ac_useropt_orig=$ac_useropt
 
816
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
817
    case $ac_user_opts in
 
818
      *"
 
819
"enable_$ac_useropt"
 
820
"*) ;;
 
821
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
822
         ac_unrecognized_sep=', ';;
 
823
    esac
 
824
    eval enable_$ac_useropt=\$ac_optarg ;;
828
825
 
829
826
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
830
827
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1015
1012
    ac_init_version=: ;;
1016
1013
 
1017
1014
  -with-* | --with-*)
1018
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1015
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019
1016
    # Reject names that are not valid shell variable names.
1020
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1021
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1022
 
   { (exit 1); exit 1; }; }
1023
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1024
 
    eval with_$ac_package=\$ac_optarg ;;
 
1017
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1018
      as_fn_error "invalid package name: $ac_useropt"
 
1019
    ac_useropt_orig=$ac_useropt
 
1020
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1021
    case $ac_user_opts in
 
1022
      *"
 
1023
"with_$ac_useropt"
 
1024
"*) ;;
 
1025
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1026
         ac_unrecognized_sep=', ';;
 
1027
    esac
 
1028
    eval with_$ac_useropt=\$ac_optarg ;;
1025
1029
 
1026
1030
  -without-* | --without-*)
1027
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1031
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1028
1032
    # Reject names that are not valid shell variable names.
1029
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1030
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1031
 
   { (exit 1); exit 1; }; }
1032
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1033
 
    eval with_$ac_package=no ;;
 
1033
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1034
      as_fn_error "invalid package name: $ac_useropt"
 
1035
    ac_useropt_orig=$ac_useropt
 
1036
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1037
    case $ac_user_opts in
 
1038
      *"
 
1039
"with_$ac_useropt"
 
1040
"*) ;;
 
1041
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1042
         ac_unrecognized_sep=', ';;
 
1043
    esac
 
1044
    eval with_$ac_useropt=no ;;
1034
1045
 
1035
1046
  --x)
1036
1047
    # Obsolete; use --with-x.
1050
1061
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1051
1062
    x_libraries=$ac_optarg ;;
1052
1063
 
1053
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1054
 
Try \`$0 --help' for more information." >&2
1055
 
   { (exit 1); exit 1; }; }
 
1064
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1065
Try \`$0 --help' for more information."
1056
1066
    ;;
1057
1067
 
1058
1068
  *=*)
1059
1069
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1060
1070
    # Reject names that are not valid shell variable names.
1061
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1062
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1063
 
   { (exit 1); exit 1; }; }
 
1071
    case $ac_envvar in #(
 
1072
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1073
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1074
    esac
1064
1075
    eval $ac_envvar=\$ac_optarg
1065
1076
    export $ac_envvar ;;
1066
1077
 
1067
1078
  *)
1068
1079
    # FIXME: should be removed in autoconf 3.0.
1069
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1080
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1070
1081
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1071
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1082
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1072
1083
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073
1084
    ;;
1074
1085
 
1077
1088
 
1078
1089
if test -n "$ac_prev"; then
1079
1090
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1080
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1081
 
   { (exit 1); exit 1; }; }
1082
 
fi
1083
 
 
1084
 
# Be sure to have absolute directory names.
 
1091
  as_fn_error "missing argument to $ac_option"
 
1092
fi
 
1093
 
 
1094
if test -n "$ac_unrecognized_opts"; then
 
1095
  case $enable_option_checking in
 
1096
    no) ;;
 
1097
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1098
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1099
  esac
 
1100
fi
 
1101
 
 
1102
# Check all directory arguments for consistency.
1085
1103
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1086
1104
                datadir sysconfdir sharedstatedir localstatedir includedir \
1087
1105
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1088
1106
                libdir localedir mandir
1089
1107
do
1090
1108
  eval ac_val=\$$ac_var
 
1109
  # Remove trailing slashes.
 
1110
  case $ac_val in
 
1111
    */ )
 
1112
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1113
      eval $ac_var=\$ac_val;;
 
1114
  esac
 
1115
  # Be sure to have absolute directory names.
1091
1116
  case $ac_val in
1092
1117
    [\\/$]* | ?:[\\/]* )  continue;;
1093
1118
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1094
1119
  esac
1095
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1096
 
   { (exit 1); exit 1; }; }
 
1120
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1097
1121
done
1098
1122
 
1099
1123
# There might be people who depend on the old broken behavior: `$host'
1107
1131
if test "x$host_alias" != x; then
1108
1132
  if test "x$build_alias" = x; then
1109
1133
    cross_compiling=maybe
1110
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1134
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1111
1135
    If a cross compiler is detected then cross compile mode will be used." >&2
1112
1136
  elif test "x$build_alias" != "x$host_alias"; then
1113
1137
    cross_compiling=yes
1123
1147
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1124
1148
ac_ls_di=`ls -di .` &&
1125
1149
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1126
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1127
 
   { (exit 1); exit 1; }; }
 
1150
  as_fn_error "working directory cannot be determined"
1128
1151
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1129
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1130
 
   { (exit 1); exit 1; }; }
 
1152
  as_fn_error "pwd does not report name of working directory"
1131
1153
 
1132
1154
 
1133
1155
# Find the source files, if location was not specified.
1134
1156
if test -z "$srcdir"; then
1135
1157
  ac_srcdir_defaulted=yes
1136
1158
  # Try the directory containing this script, then the parent directory.
1137
 
  ac_confdir=`$as_dirname -- "$0" ||
1138
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1139
 
         X"$0" : 'X\(//\)[^/]' \| \
1140
 
         X"$0" : 'X\(//\)$' \| \
1141
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1142
 
echo X"$0" |
 
1159
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1160
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1161
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1162
         X"$as_myself" : 'X\(//\)$' \| \
 
1163
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1164
$as_echo X"$as_myself" |
1143
1165
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1144
1166
            s//\1/
1145
1167
            q
1166
1188
fi
1167
1189
if test ! -r "$srcdir/$ac_unique_file"; then
1168
1190
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1169
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1170
 
   { (exit 1); exit 1; }; }
 
1191
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1171
1192
fi
1172
1193
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1173
1194
ac_abs_confdir=`(
1174
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1175
 
   { (exit 1); exit 1; }; }
 
1195
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1176
1196
        pwd)`
1177
1197
# When building in place, set srcdir=.
1178
1198
if test "$ac_abs_confdir" = "$ac_pwd"; then
1220
1240
 
1221
1241
Installation directories:
1222
1242
  --prefix=PREFIX         install architecture-independent files in PREFIX
1223
 
                          [$ac_default_prefix]
 
1243
                          [$ac_default_prefix]
1224
1244
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1225
 
                          [PREFIX]
 
1245
                          [PREFIX]
1226
1246
 
1227
1247
By default, \`make install' will install all the files in
1228
1248
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1232
1252
For better control, use the options below.
1233
1253
 
1234
1254
Fine tuning of the installation directories:
1235
 
  --bindir=DIR           user executables [EPREFIX/bin]
1236
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1237
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1238
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1239
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1240
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1241
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1242
 
  --includedir=DIR       C header files [PREFIX/include]
1243
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1244
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1245
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1246
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1247
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1248
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1249
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1250
 
  --htmldir=DIR          html documentation [DOCDIR]
1251
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1252
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1253
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1255
  --bindir=DIR            user executables [EPREFIX/bin]
 
1256
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1257
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1258
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1259
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1260
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1261
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1262
  --includedir=DIR        C header files [PREFIX/include]
 
1263
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1264
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1265
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1266
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1267
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1268
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1269
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1270
  --htmldir=DIR           html documentation [DOCDIR]
 
1271
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1272
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1273
  --psdir=DIR             ps documentation [DOCDIR]
1254
1274
_ACEOF
1255
1275
 
1256
1276
  cat <<\_ACEOF
1271
1291
  --with-ocaml-src-dir=dir   Indicate the absolute path to ocaml compiled sources
1272
1292
 
1273
1293
 
 
1294
Report bugs to the package provider.
1274
1295
_ACEOF
1275
1296
ac_status=$?
1276
1297
fi
1278
1299
if test "$ac_init_help" = "recursive"; then
1279
1300
  # If there are subdirs, report their specific --help.
1280
1301
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1281
 
    test -d "$ac_dir" || continue
 
1302
    test -d "$ac_dir" ||
 
1303
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1304
      continue
1282
1305
    ac_builddir=.
1283
1306
 
1284
1307
case "$ac_dir" in
1285
1308
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1286
1309
*)
1287
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1310
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1288
1311
  # A ".." for each directory in $ac_dir_suffix.
1289
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1312
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1290
1313
  case $ac_top_builddir_sub in
1291
1314
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1292
1315
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1322
1345
      echo &&
1323
1346
      $SHELL "$ac_srcdir/configure" --help=recursive
1324
1347
    else
1325
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1348
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1326
1349
    fi || ac_status=$?
1327
1350
    cd "$ac_pwd" || { ac_status=$?; break; }
1328
1351
  done
1332
1355
if $ac_init_version; then
1333
1356
  cat <<\_ACEOF
1334
1357
configure
1335
 
generated by GNU Autoconf 2.61
 
1358
generated by GNU Autoconf 2.64
1336
1359
 
1337
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1338
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1360
Copyright (C) 2009 Free Software Foundation, Inc.
1339
1361
This configure script is free software; the Free Software Foundation
1340
1362
gives unlimited permission to copy, distribute and modify it.
1341
1363
_ACEOF
1342
1364
  exit
1343
1365
fi
 
1366
 
 
1367
## ------------------------ ##
 
1368
## Autoconf initialization. ##
 
1369
## ------------------------ ##
1344
1370
cat >config.log <<_ACEOF
1345
1371
This file contains any messages produced by compilers while
1346
1372
running configure, to aid debugging if configure makes a mistake.
1347
1373
 
1348
1374
It was created by $as_me, which was
1349
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1375
generated by GNU Autoconf 2.64.  Invocation command line was
1350
1376
 
1351
1377
  $ $0 $@
1352
1378
 
1382
1408
do
1383
1409
  IFS=$as_save_IFS
1384
1410
  test -z "$as_dir" && as_dir=.
1385
 
  echo "PATH: $as_dir"
1386
 
done
 
1411
    $as_echo "PATH: $as_dir"
 
1412
  done
1387
1413
IFS=$as_save_IFS
1388
1414
 
1389
1415
} >&5
1417
1443
    | -silent | --silent | --silen | --sile | --sil)
1418
1444
      continue ;;
1419
1445
    *\'*)
1420
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1446
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1421
1447
    esac
1422
1448
    case $ac_pass in
1423
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1449
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1424
1450
    2)
1425
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1451
      as_fn_append ac_configure_args1 " '$ac_arg'"
1426
1452
      if test $ac_must_keep_next = true; then
1427
1453
        ac_must_keep_next=false # Got value, back to normal.
1428
1454
      else
1438
1464
          -* ) ac_must_keep_next=true ;;
1439
1465
        esac
1440
1466
      fi
1441
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1467
      as_fn_append ac_configure_args " '$ac_arg'"
1442
1468
      ;;
1443
1469
    esac
1444
1470
  done
1445
1471
done
1446
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1447
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1472
{ ac_configure_args0=; unset ac_configure_args0;}
 
1473
{ ac_configure_args1=; unset ac_configure_args1;}
1448
1474
 
1449
1475
# When interrupted or exit'd, cleanup temporary files, and complete
1450
1476
# config.log.  We remove comments because anyway the quotes in there
1469
1495
    case $ac_val in #(
1470
1496
    *${as_nl}*)
1471
1497
      case $ac_var in #(
1472
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1473
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1498
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1499
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1474
1500
      esac
1475
1501
      case $ac_var in #(
1476
1502
      _ | IFS | as_nl) ;; #(
1477
 
      *) $as_unset $ac_var ;;
 
1503
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1504
      *) { eval $ac_var=; unset $ac_var;} ;;
1478
1505
      esac ;;
1479
1506
    esac
1480
1507
  done
1503
1530
    do
1504
1531
      eval ac_val=\$$ac_var
1505
1532
      case $ac_val in
1506
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1533
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1507
1534
      esac
1508
 
      echo "$ac_var='\''$ac_val'\''"
 
1535
      $as_echo "$ac_var='\''$ac_val'\''"
1509
1536
    done | sort
1510
1537
    echo
1511
1538
 
1520
1547
      do
1521
1548
        eval ac_val=\$$ac_var
1522
1549
        case $ac_val in
1523
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1550
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1524
1551
        esac
1525
 
        echo "$ac_var='\''$ac_val'\''"
 
1552
        $as_echo "$ac_var='\''$ac_val'\''"
1526
1553
      done | sort
1527
1554
      echo
1528
1555
    fi
1538
1565
      echo
1539
1566
    fi
1540
1567
    test "$ac_signal" != 0 &&
1541
 
      echo "$as_me: caught signal $ac_signal"
1542
 
    echo "$as_me: exit $exit_status"
 
1568
      $as_echo "$as_me: caught signal $ac_signal"
 
1569
    $as_echo "$as_me: exit $exit_status"
1543
1570
  } >&5
1544
1571
  rm -f core *.core core.conftest.* &&
1545
1572
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1546
1573
    exit $exit_status
1547
1574
' 0
1548
1575
for ac_signal in 1 2 13 15; do
1549
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1576
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1550
1577
done
1551
1578
ac_signal=0
1552
1579
 
1553
1580
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1554
1581
rm -f -r conftest* confdefs.h
1555
1582
 
 
1583
$as_echo "/* confdefs.h */" > confdefs.h
 
1584
 
1556
1585
# Predefined preprocessor variables.
1557
1586
 
1558
1587
cat >>confdefs.h <<_ACEOF
1559
1588
#define PACKAGE_NAME "$PACKAGE_NAME"
1560
1589
_ACEOF
1561
1590
 
1562
 
 
1563
1591
cat >>confdefs.h <<_ACEOF
1564
1592
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1565
1593
_ACEOF
1566
1594
 
1567
 
 
1568
1595
cat >>confdefs.h <<_ACEOF
1569
1596
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1570
1597
_ACEOF
1571
1598
 
1572
 
 
1573
1599
cat >>confdefs.h <<_ACEOF
1574
1600
#define PACKAGE_STRING "$PACKAGE_STRING"
1575
1601
_ACEOF
1576
1602
 
1577
 
 
1578
1603
cat >>confdefs.h <<_ACEOF
1579
1604
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1580
1605
_ACEOF
1581
1606
 
 
1607
cat >>confdefs.h <<_ACEOF
 
1608
#define PACKAGE_URL "$PACKAGE_URL"
 
1609
_ACEOF
 
1610
 
1582
1611
 
1583
1612
# Let the site file select an alternate cache file if it wants to.
1584
 
# Prefer explicitly selected file to automatically selected ones.
 
1613
# Prefer an explicitly selected file to automatically selected ones.
 
1614
ac_site_file1=NONE
 
1615
ac_site_file2=NONE
1585
1616
if test -n "$CONFIG_SITE"; then
1586
 
  set x "$CONFIG_SITE"
 
1617
  ac_site_file1=$CONFIG_SITE
1587
1618
elif test "x$prefix" != xNONE; then
1588
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1619
  ac_site_file1=$prefix/share/config.site
 
1620
  ac_site_file2=$prefix/etc/config.site
1589
1621
else
1590
 
  set x "$ac_default_prefix/share/config.site" \
1591
 
        "$ac_default_prefix/etc/config.site"
 
1622
  ac_site_file1=$ac_default_prefix/share/config.site
 
1623
  ac_site_file2=$ac_default_prefix/etc/config.site
1592
1624
fi
1593
 
shift
1594
 
for ac_site_file
 
1625
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1595
1626
do
 
1627
  test "x$ac_site_file" = xNONE && continue
1596
1628
  if test -r "$ac_site_file"; then
1597
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1598
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1629
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
1630
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1599
1631
    sed 's/^/| /' "$ac_site_file" >&5
1600
1632
    . "$ac_site_file"
1601
1633
  fi
1605
1637
  # Some versions of bash will fail to source /dev/null (special
1606
1638
  # files actually), so we avoid doing that.
1607
1639
  if test -f "$cache_file"; then
1608
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1609
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1640
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
1641
$as_echo "$as_me: loading cache $cache_file" >&6;}
1610
1642
    case $cache_file in
1611
1643
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1612
1644
      *)                      . "./$cache_file";;
1613
1645
    esac
1614
1646
  fi
1615
1647
else
1616
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1617
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1648
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
1649
$as_echo "$as_me: creating cache $cache_file" >&6;}
1618
1650
  >$cache_file
1619
1651
fi
1620
1652
 
1628
1660
  eval ac_new_val=\$ac_env_${ac_var}_value
1629
1661
  case $ac_old_set,$ac_new_set in
1630
1662
    set,)
1631
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1632
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1663
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1664
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1633
1665
      ac_cache_corrupted=: ;;
1634
1666
    ,set)
1635
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1636
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1667
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
1668
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1637
1669
      ac_cache_corrupted=: ;;
1638
1670
    ,);;
1639
1671
    *)
1640
1672
      if test "x$ac_old_val" != "x$ac_new_val"; then
1641
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1642
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1643
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1644
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1645
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1646
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1647
 
        ac_cache_corrupted=:
 
1673
        # differences in whitespace do not lead to failure.
 
1674
        ac_old_val_w=`echo x $ac_old_val`
 
1675
        ac_new_val_w=`echo x $ac_new_val`
 
1676
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1677
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
1678
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1679
          ac_cache_corrupted=:
 
1680
        else
 
1681
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1682
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1683
          eval $ac_var=\$ac_old_val
 
1684
        fi
 
1685
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
1686
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1687
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
1688
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1648
1689
      fi;;
1649
1690
  esac
1650
1691
  # Pass precious variables to config.status.
1651
1692
  if test "$ac_new_set" = set; then
1652
1693
    case $ac_new_val in
1653
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1694
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1654
1695
    *) ac_arg=$ac_var=$ac_new_val ;;
1655
1696
    esac
1656
1697
    case " $ac_configure_args " in
1657
1698
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1658
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1699
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1659
1700
    esac
1660
1701
  fi
1661
1702
done
1662
1703
if $ac_cache_corrupted; then
1663
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1664
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1665
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1666
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1667
 
   { (exit 1); exit 1; }; }
 
1704
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1705
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1706
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
1707
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1708
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1668
1709
fi
1669
 
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
 
1675
 
 
1676
 
 
1677
 
 
1678
 
 
1679
 
 
1680
 
 
1681
 
 
1682
 
 
1683
 
 
1684
 
 
 
1710
## -------------------- ##
 
1711
## Main body of script. ##
 
1712
## -------------------- ##
1685
1713
 
1686
1714
ac_ext=c
1687
1715
ac_cpp='$CPP $CPPFLAGS'
1699
1727
# Check for Ocaml compilers
1700
1728
 
1701
1729
ocaml unix.cma str.cma utils/checkocaml.ml ocaml_config.sh || exit 1
1702
 
. ocaml_config.sh
 
1730
. ./ocaml_config.sh
1703
1731
 
1704
1732
echo "ocaml library path is $OCAMLLIB"
1705
1733
 
1706
1734
# set the default prefix to the ocaml directory
1707
1735
if test "x$prefix" = xNONE; then
1708
 
  echo $ECHO_N "checking for prefix by $ECHO_C" >&6
 
1736
  $as_echo_n "checking for prefix by " >&6
1709
1737
  # Extract the first word of "`basename $OCAML`", so it can be a program name with args.
1710
1738
set dummy `basename $OCAML`; ac_word=$2
1711
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1712
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1713
 
if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1740
$as_echo_n "checking for $ac_word... " >&6; }
 
1741
if test "${ac_cv_path_ac_prefix_program+set}" = set; then :
 
1742
  $as_echo_n "(cached) " >&6
1715
1743
else
1716
1744
  case $ac_prefix_program in
1717
1745
  [\\/]* | ?:[\\/]*)
1723
1751
do
1724
1752
  IFS=$as_save_IFS
1725
1753
  test -z "$as_dir" && as_dir=.
1726
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1754
    for ac_exec_ext in '' $ac_executable_extensions; do
1727
1755
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1728
1756
    ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1729
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1757
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1730
1758
    break 2
1731
1759
  fi
1732
1760
done
1733
 
done
 
1761
  done
1734
1762
IFS=$as_save_IFS
1735
1763
 
1736
1764
  ;;
1738
1766
fi
1739
1767
ac_prefix_program=$ac_cv_path_ac_prefix_program
1740
1768
if test -n "$ac_prefix_program"; then
1741
 
  { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1742
 
echo "${ECHO_T}$ac_prefix_program" >&6; }
 
1769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
 
1770
$as_echo "$ac_prefix_program" >&6; }
1743
1771
else
1744
 
  { echo "$as_me:$LINENO: result: no" >&5
1745
 
echo "${ECHO_T}no" >&6; }
 
1772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1773
$as_echo "no" >&6; }
1746
1774
fi
1747
1775
 
1748
1776
 
1752
1780
         X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1753
1781
         X"$ac_prefix_program" : 'X\(//\)$' \| \
1754
1782
         X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
1755
 
echo X"$ac_prefix_program" |
 
1783
$as_echo X"$ac_prefix_program" |
1756
1784
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1757
1785
            s//\1/
1758
1786
            q
1775
1803
         X"$prefix" : 'X\(//\)[^/]' \| \
1776
1804
         X"$prefix" : 'X\(//\)$' \| \
1777
1805
         X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
1778
 
echo X"$prefix" |
 
1806
$as_echo X"$prefix" |
1779
1807
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1780
1808
            s//\1/
1781
1809
            q
1842
1870
DEBUG_LEVEL=0
1843
1871
 
1844
1872
# Check whether --with-debug-level was given.
1845
 
if test "${with_debug_level+set}" = set; then
 
1873
if test "${with_debug_level+set}" = set; then :
1846
1874
  withval=$with_debug_level;  DEBUG_LEVEL="$withval"
1847
1875
fi
1848
1876
 
1854
1882
SOCKET_DIR=/tmp
1855
1883
 
1856
1884
# Check whether --with-socket-dir was given.
1857
 
if test "${with_socket_dir+set}" = set; then
 
1885
if test "${with_socket_dir+set}" = set; then :
1858
1886
  withval=$with_socket_dir;  SOCKET_DIR="$withval"
1859
1887
fi
1860
1888
 
1865
1893
OCAML_SRC_DIR=
1866
1894
 
1867
1895
# Check whether --with-ocaml-src-dir was given.
1868
 
if test "${with_ocaml_src_dir+set}" = set; then
 
1896
if test "${with_ocaml_src_dir+set}" = set; then :
1869
1897
  withval=$with_ocaml_src_dir;  OCAML_SRC_DIR="$withval"
1870
1898
fi
1871
1899
 
1934
1962
# CHARSET ENCODINGS FROM ICONV
1935
1963
# Extract the first word of "iconv", so it can be a program name with args.
1936
1964
set dummy iconv; ac_word=$2
1937
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1938
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1939
 
if test "${ac_cv_path_ICONV+set}" = set; then
1940
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1966
$as_echo_n "checking for $ac_word... " >&6; }
 
1967
if test "${ac_cv_path_ICONV+set}" = set; then :
 
1968
  $as_echo_n "(cached) " >&6
1941
1969
else
1942
1970
  case $ICONV in
1943
1971
  [\\/]* | ?:[\\/]*)
1949
1977
do
1950
1978
  IFS=$as_save_IFS
1951
1979
  test -z "$as_dir" && as_dir=.
1952
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1980
    for ac_exec_ext in '' $ac_executable_extensions; do
1953
1981
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1954
1982
    ac_cv_path_ICONV="$as_dir/$ac_word$ac_exec_ext"
1955
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1983
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1956
1984
    break 2
1957
1985
  fi
1958
1986
done
1959
 
done
 
1987
  done
1960
1988
IFS=$as_save_IFS
1961
1989
 
1962
1990
  test -z "$ac_cv_path_ICONV" && ac_cv_path_ICONV="no"
1965
1993
fi
1966
1994
ICONV=$ac_cv_path_ICONV
1967
1995
if test -n "$ICONV"; then
1968
 
  { echo "$as_me:$LINENO: result: $ICONV" >&5
1969
 
echo "${ECHO_T}$ICONV" >&6; }
 
1996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICONV" >&5
 
1997
$as_echo "$ICONV" >&6; }
1970
1998
else
1971
 
  { echo "$as_me:$LINENO: result: no" >&5
1972
 
echo "${ECHO_T}no" >&6; }
 
1999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2000
$as_echo "no" >&6; }
1973
2001
fi
1974
2002
 
1975
2003
 
1976
2004
if test "$ICONV" = no ; then \
1977
2005
        AVAILABLE_CHARSETS="" ;\
1978
 
        { echo "$as_me:$LINENO: WARNING: Cannot find iconv" >&5
1979
 
echo "$as_me: WARNING: Cannot find iconv" >&2;};\
 
2006
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find iconv" >&5
 
2007
$as_echo "$as_me: WARNING: Cannot find iconv" >&2;};\
1980
2008
else \
1981
2009
        echo 'let charsets = [' > $ED_CHARSET_FILE ;\
1982
2010
        for i in `$ICONV --list | cat | cut -d'/' -f1 | sort -u`; do \
2120
2148
    case $ac_val in #(
2121
2149
    *${as_nl}*)
2122
2150
      case $ac_var in #(
2123
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2124
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2151
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2152
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2125
2153
      esac
2126
2154
      case $ac_var in #(
2127
2155
      _ | IFS | as_nl) ;; #(
2128
 
      *) $as_unset $ac_var ;;
 
2156
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2157
      *) { eval $ac_var=; unset $ac_var;} ;;
2129
2158
      esac ;;
2130
2159
    esac
2131
2160
  done
2133
2162
  (set) 2>&1 |
2134
2163
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2135
2164
    *${as_nl}ac_space=\ *)
2136
 
      # `set' does not quote correctly, so add quotes (double-quote
2137
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
2165
      # `set' does not quote correctly, so add quotes: double-quote
 
2166
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2138
2167
      sed -n \
2139
2168
        "s/'/'\\\\''/g;
2140
2169
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2157
2186
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2158
2187
  if test -w "$cache_file"; then
2159
2188
    test "x$cache_file" != "x/dev/null" &&
2160
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2161
 
echo "$as_me: updating cache $cache_file" >&6;}
 
2189
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
2190
$as_echo "$as_me: updating cache $cache_file" >&6;}
2162
2191
    cat confcache >$cache_file
2163
2192
  else
2164
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2165
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
2193
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
2194
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2166
2195
  fi
2167
2196
fi
2168
2197
rm -f confcache
2179
2208
# take arguments), then branch to the quote section.  Otherwise,
2180
2209
# look for a macro that doesn't take arguments.
2181
2210
ac_script='
 
2211
:mline
 
2212
/\\$/{
 
2213
 N
 
2214
 s,\\\n,,
 
2215
 b mline
 
2216
}
2182
2217
t clear
2183
2218
:clear
2184
2219
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2208
2243
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2209
2244
  # 1. Remove the extension, and $U if already installed.
2210
2245
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2211
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
2246
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2212
2247
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2213
2248
  #    will be set to the directory where LIBOBJS objects are built.
2214
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2215
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
2249
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2250
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2216
2251
done
2217
2252
LIBOBJS=$ac_libobjs
2218
2253
 
2221
2256
 
2222
2257
 
2223
2258
: ${CONFIG_STATUS=./config.status}
 
2259
ac_write_fail=0
2224
2260
ac_clean_files_save=$ac_clean_files
2225
2261
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2226
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2227
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2228
 
cat >$CONFIG_STATUS <<_ACEOF
 
2262
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
2263
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
2264
as_write_fail=0
 
2265
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2229
2266
#! $SHELL
2230
2267
# Generated by $as_me.
2231
2268
# Run this file to recreate the current configuration.
2235
2272
debug=false
2236
2273
ac_cs_recheck=false
2237
2274
ac_cs_silent=false
 
2275
 
2238
2276
SHELL=\${CONFIG_SHELL-$SHELL}
2239
 
_ACEOF
2240
 
 
2241
 
cat >>$CONFIG_STATUS <<\_ACEOF
2242
 
## --------------------- ##
2243
 
## M4sh Initialization.  ##
2244
 
## --------------------- ##
 
2277
export SHELL
 
2278
_ASEOF
 
2279
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
2280
## -------------------- ##
 
2281
## M4sh Initialization. ##
 
2282
## -------------------- ##
2245
2283
 
2246
2284
# Be more Bourne compatible
2247
2285
DUALCASE=1; export DUALCASE # for MKS sh
2248
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2286
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2249
2287
  emulate sh
2250
2288
  NULLCMD=:
2251
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
2289
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2252
2290
  # is contrary to our usage.  Disable this feature.
2253
2291
  alias -g '${1+"$@"}'='"$@"'
2254
2292
  setopt NO_GLOB_SUBST
2255
2293
else
2256
 
  case `(set -o) 2>/dev/null` in
2257
 
  *posix*) set -o posix ;;
 
2294
  case `(set -o) 2>/dev/null` in #(
 
2295
  *posix*) :
 
2296
    set -o posix ;; #(
 
2297
  *) :
 
2298
     ;;
2258
2299
esac
2259
 
 
2260
 
fi
2261
 
 
2262
 
 
2263
 
 
2264
 
 
2265
 
# PATH needs CR
2266
 
# Avoid depending upon Character Ranges.
2267
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2268
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2269
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2270
 
as_cr_digits='0123456789'
2271
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2300
fi
 
2301
 
 
2302
 
 
2303
as_nl='
 
2304
'
 
2305
export as_nl
 
2306
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
2307
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2308
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
2309
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
2310
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
2311
# but without wasting forks for bash or zsh.
 
2312
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
2313
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2314
  as_echo='print -r --'
 
2315
  as_echo_n='print -rn --'
 
2316
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2317
  as_echo='printf %s\n'
 
2318
  as_echo_n='printf %s'
 
2319
else
 
2320
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
2321
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
2322
    as_echo_n='/usr/ucb/echo -n'
 
2323
  else
 
2324
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
2325
    as_echo_n_body='eval
 
2326
      arg=$1;
 
2327
      case $arg in #(
 
2328
      *"$as_nl"*)
 
2329
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
2330
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
2331
      esac;
 
2332
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
2333
    '
 
2334
    export as_echo_n_body
 
2335
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
2336
  fi
 
2337
  export as_echo_body
 
2338
  as_echo='sh -c $as_echo_body as_echo'
 
2339
fi
2272
2340
 
2273
2341
# The user is always right.
2274
2342
if test "${PATH_SEPARATOR+set}" != set; then
2275
 
  echo "#! /bin/sh" >conf$$.sh
2276
 
  echo  "exit 0"   >>conf$$.sh
2277
 
  chmod +x conf$$.sh
2278
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2279
 
    PATH_SEPARATOR=';'
2280
 
  else
2281
 
    PATH_SEPARATOR=:
2282
 
  fi
2283
 
  rm -f conf$$.sh
2284
 
fi
2285
 
 
2286
 
# Support unset when possible.
2287
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2288
 
  as_unset=unset
2289
 
else
2290
 
  as_unset=false
 
2343
  PATH_SEPARATOR=:
 
2344
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
2345
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
2346
      PATH_SEPARATOR=';'
 
2347
  }
2291
2348
fi
2292
2349
 
2293
2350
 
2296
2353
# there to prevent editors from complaining about space-tab.
2297
2354
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2298
2355
# splitting by setting IFS to empty value.)
2299
 
as_nl='
2300
 
'
2301
2356
IFS=" ""        $as_nl"
2302
2357
 
2303
2358
# Find who we are.  Look in the path if we contain no directory separator.
2304
 
case $0 in
 
2359
case $0 in #((
2305
2360
  *[\\/]* ) as_myself=$0 ;;
2306
2361
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307
2362
for as_dir in $PATH
2308
2363
do
2309
2364
  IFS=$as_save_IFS
2310
2365
  test -z "$as_dir" && as_dir=.
2311
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2312
 
done
 
2366
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2367
  done
2313
2368
IFS=$as_save_IFS
2314
2369
 
2315
2370
     ;;
2320
2375
  as_myself=$0
2321
2376
fi
2322
2377
if test ! -f "$as_myself"; then
2323
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2324
 
  { (exit 1); exit 1; }
 
2378
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2379
  exit 1
2325
2380
fi
2326
2381
 
2327
 
# Work around bugs in pre-3.0 UWIN ksh.
2328
 
for as_var in ENV MAIL MAILPATH
2329
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2382
# Unset variables that we do not need and which cause bugs (e.g. in
 
2383
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
2384
# suppresses any "Segmentation fault" message there.  '((' could
 
2385
# trigger a bug in pdksh 5.2.14.
 
2386
for as_var in BASH_ENV ENV MAIL MAILPATH
 
2387
do eval test x\${$as_var+set} = xset \
 
2388
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2330
2389
done
2331
2390
PS1='$ '
2332
2391
PS2='> '
2333
2392
PS4='+ '
2334
2393
 
2335
2394
# NLS nuisances.
2336
 
for as_var in \
2337
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2338
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2339
 
  LC_TELEPHONE LC_TIME
2340
 
do
2341
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2342
 
    eval $as_var=C; export $as_var
2343
 
  else
2344
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2395
LC_ALL=C
 
2396
export LC_ALL
 
2397
LANGUAGE=C
 
2398
export LANGUAGE
 
2399
 
 
2400
# CDPATH.
 
2401
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
2402
 
 
2403
 
 
2404
# as_fn_error ERROR [LINENO LOG_FD]
 
2405
# ---------------------------------
 
2406
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
2407
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
2408
# script with status $?, using 1 if that was 0.
 
2409
as_fn_error ()
 
2410
{
 
2411
  as_status=$?; test $as_status -eq 0 && as_status=1
 
2412
  if test "$3"; then
 
2413
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2414
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2345
2415
  fi
2346
 
done
2347
 
 
2348
 
# Required to use basename.
 
2416
  $as_echo "$as_me: error: $1" >&2
 
2417
  as_fn_exit $as_status
 
2418
} # as_fn_error
 
2419
 
 
2420
 
 
2421
# as_fn_set_status STATUS
 
2422
# -----------------------
 
2423
# Set $? to STATUS, without forking.
 
2424
as_fn_set_status ()
 
2425
{
 
2426
  return $1
 
2427
} # as_fn_set_status
 
2428
 
 
2429
# as_fn_exit STATUS
 
2430
# -----------------
 
2431
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
2432
as_fn_exit ()
 
2433
{
 
2434
  set +e
 
2435
  as_fn_set_status $1
 
2436
  exit $1
 
2437
} # as_fn_exit
 
2438
 
 
2439
# as_fn_unset VAR
 
2440
# ---------------
 
2441
# Portably unset VAR.
 
2442
as_fn_unset ()
 
2443
{
 
2444
  { eval $1=; unset $1;}
 
2445
}
 
2446
as_unset=as_fn_unset
 
2447
# as_fn_append VAR VALUE
 
2448
# ----------------------
 
2449
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
2450
# advantage of any shell optimizations that allow amortized linear growth over
 
2451
# repeated appends, instead of the typical quadratic growth present in naive
 
2452
# implementations.
 
2453
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
2454
  eval 'as_fn_append ()
 
2455
  {
 
2456
    eval $1+=\$2
 
2457
  }'
 
2458
else
 
2459
  as_fn_append ()
 
2460
  {
 
2461
    eval $1=\$$1\$2
 
2462
  }
 
2463
fi # as_fn_append
 
2464
 
 
2465
# as_fn_arith ARG...
 
2466
# ------------------
 
2467
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
2468
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
2469
# must be portable across $(()) and expr.
 
2470
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
2471
  eval 'as_fn_arith ()
 
2472
  {
 
2473
    as_val=$(( $* ))
 
2474
  }'
 
2475
else
 
2476
  as_fn_arith ()
 
2477
  {
 
2478
    as_val=`expr "$@" || test $? -eq 1`
 
2479
  }
 
2480
fi # as_fn_arith
 
2481
 
 
2482
 
2349
2483
if expr a : '\(a\)' >/dev/null 2>&1 &&
2350
2484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2351
2485
  as_expr=expr
2359
2493
  as_basename=false
2360
2494
fi
2361
2495
 
 
2496
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2497
  as_dirname=dirname
 
2498
else
 
2499
  as_dirname=false
 
2500
fi
2362
2501
 
2363
 
# Name of the executable.
2364
2502
as_me=`$as_basename -- "$0" ||
2365
2503
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2366
2504
         X"$0" : 'X\(//\)$' \| \
2367
2505
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2368
 
echo X/"$0" |
 
2506
$as_echo X/"$0" |
2369
2507
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2370
2508
            s//\1/
2371
2509
            q
2380
2518
          }
2381
2519
          s/.*/./; q'`
2382
2520
 
2383
 
# CDPATH.
2384
 
$as_unset CDPATH
2385
 
 
2386
 
 
2387
 
 
2388
 
  as_lineno_1=$LINENO
2389
 
  as_lineno_2=$LINENO
2390
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2391
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2392
 
 
2393
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2394
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
2395
 
  # line-number line after each line using $LINENO; the second 'sed'
2396
 
  # does the real work.  The second script uses 'N' to pair each
2397
 
  # line-number line with the line containing $LINENO, and appends
2398
 
  # trailing '-' during substitution so that $LINENO is not a special
2399
 
  # case at line end.
2400
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2401
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2402
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
2403
 
  sed -n '
2404
 
    p
2405
 
    /[$]LINENO/=
2406
 
  ' <$as_myself |
2407
 
    sed '
2408
 
      s/[$]LINENO.*/&-/
2409
 
      t lineno
2410
 
      b
2411
 
      :lineno
2412
 
      N
2413
 
      :loop
2414
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2415
 
      t loop
2416
 
      s/-\n.*//
2417
 
    ' >$as_me.lineno &&
2418
 
  chmod +x "$as_me.lineno" ||
2419
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2420
 
   { (exit 1); exit 1; }; }
2421
 
 
2422
 
  # Don't try to exec as it changes $[0], causing all sort of problems
2423
 
  # (the dirname of $[0] is not the place where we might find the
2424
 
  # original and so on.  Autoconf is especially sensitive to this).
2425
 
  . "./$as_me.lineno"
2426
 
  # Exit status is that of the last command.
2427
 
  exit
2428
 
}
2429
 
 
2430
 
 
2431
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2432
 
  as_dirname=dirname
2433
 
else
2434
 
  as_dirname=false
2435
 
fi
 
2521
# Avoid depending upon Character Ranges.
 
2522
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2523
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2524
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2525
as_cr_digits='0123456789'
 
2526
as_cr_alnum=$as_cr_Letters$as_cr_digits
2436
2527
 
2437
2528
ECHO_C= ECHO_N= ECHO_T=
2438
 
case `echo -n x` in
 
2529
case `echo -n x` in #(((((
2439
2530
-n*)
2440
 
  case `echo 'x\c'` in
 
2531
  case `echo 'xy\c'` in
2441
2532
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2442
 
  *)   ECHO_C='\c';;
 
2533
  xy)  ECHO_C='\c';;
 
2534
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
2535
       ECHO_T=' ';;
2443
2536
  esac;;
2444
2537
*)
2445
2538
  ECHO_N='-n';;
2446
2539
esac
2447
2540
 
2448
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
2449
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2450
 
  as_expr=expr
2451
 
else
2452
 
  as_expr=false
2453
 
fi
2454
 
 
2455
2541
rm -f conf$$ conf$$.exe conf$$.file
2456
2542
if test -d conf$$.dir; then
2457
2543
  rm -f conf$$.dir/conf$$.file
2458
2544
else
2459
2545
  rm -f conf$$.dir
2460
 
  mkdir conf$$.dir
 
2546
  mkdir conf$$.dir 2>/dev/null
2461
2547
fi
2462
 
echo >conf$$.file
2463
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
2464
 
  as_ln_s='ln -s'
2465
 
  # ... but there are two gotchas:
2466
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2467
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2468
 
  # In both cases, we have to default to `cp -p'.
2469
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2548
if (echo >conf$$.file) 2>/dev/null; then
 
2549
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
2550
    as_ln_s='ln -s'
 
2551
    # ... but there are two gotchas:
 
2552
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2553
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2554
    # In both cases, we have to default to `cp -p'.
 
2555
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2556
      as_ln_s='cp -p'
 
2557
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
2558
    as_ln_s=ln
 
2559
  else
2470
2560
    as_ln_s='cp -p'
2471
 
elif ln conf$$.file conf$$ 2>/dev/null; then
2472
 
  as_ln_s=ln
 
2561
  fi
2473
2562
else
2474
2563
  as_ln_s='cp -p'
2475
2564
fi
2476
2565
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2477
2566
rmdir conf$$.dir 2>/dev/null
2478
2567
 
 
2568
 
 
2569
# as_fn_mkdir_p
 
2570
# -------------
 
2571
# Create "$as_dir" as a directory, including parents if necessary.
 
2572
as_fn_mkdir_p ()
 
2573
{
 
2574
 
 
2575
  case $as_dir in #(
 
2576
  -*) as_dir=./$as_dir;;
 
2577
  esac
 
2578
  test -d "$as_dir" || eval $as_mkdir_p || {
 
2579
    as_dirs=
 
2580
    while :; do
 
2581
      case $as_dir in #(
 
2582
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
2583
      *) as_qdir=$as_dir;;
 
2584
      esac
 
2585
      as_dirs="'$as_qdir' $as_dirs"
 
2586
      as_dir=`$as_dirname -- "$as_dir" ||
 
2587
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2588
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
2589
         X"$as_dir" : 'X\(//\)$' \| \
 
2590
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
2591
$as_echo X"$as_dir" |
 
2592
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2593
            s//\1/
 
2594
            q
 
2595
          }
 
2596
          /^X\(\/\/\)[^/].*/{
 
2597
            s//\1/
 
2598
            q
 
2599
          }
 
2600
          /^X\(\/\/\)$/{
 
2601
            s//\1/
 
2602
            q
 
2603
          }
 
2604
          /^X\(\/\).*/{
 
2605
            s//\1/
 
2606
            q
 
2607
          }
 
2608
          s/.*/./; q'`
 
2609
      test -d "$as_dir" && break
 
2610
    done
 
2611
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
2612
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
2613
 
 
2614
 
 
2615
} # as_fn_mkdir_p
2479
2616
if mkdir -p . 2>/dev/null; then
2480
 
  as_mkdir_p=:
 
2617
  as_mkdir_p='mkdir -p "$as_dir"'
2481
2618
else
2482
2619
  test -d ./-p && rmdir ./-p
2483
2620
  as_mkdir_p=false
2494
2631
  as_test_x='
2495
2632
    eval sh -c '\''
2496
2633
      if test -d "$1"; then
2497
 
        test -d "$1/.";
 
2634
        test -d "$1/.";
2498
2635
      else
2499
 
        case $1 in
2500
 
        -*)set "./$1";;
 
2636
        case $1 in #(
 
2637
        -*)set "./$1";;
2501
2638
        esac;
2502
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
2639
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2503
2640
        ???[sx]*):;;*)false;;esac;fi
2504
2641
    '\'' sh
2505
2642
  '
2514
2651
 
2515
2652
 
2516
2653
exec 6>&1
 
2654
## ----------------------------------- ##
 
2655
## Main body of $CONFIG_STATUS script. ##
 
2656
## ----------------------------------- ##
 
2657
_ASEOF
 
2658
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2517
2659
 
2518
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
2660
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
2661
# Save the log message, to keep $0 and so on meaningful, and to
2519
2662
# report actual input values of CONFIG_FILES etc. instead of their
2520
2663
# values after options handling.
2521
2664
ac_log="
2522
2665
This file was extended by $as_me, which was
2523
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2666
generated by GNU Autoconf 2.64.  Invocation command line was
2524
2667
 
2525
2668
  CONFIG_FILES    = $CONFIG_FILES
2526
2669
  CONFIG_HEADERS  = $CONFIG_HEADERS
2533
2676
 
2534
2677
_ACEOF
2535
2678
 
2536
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2679
case $ac_config_files in *"
 
2680
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
2681
esac
 
2682
 
 
2683
 
 
2684
 
 
2685
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2537
2686
# Files that config.status was made for.
2538
2687
config_files="$ac_config_files"
2539
2688
 
2540
2689
_ACEOF
2541
2690
 
2542
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2691
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2543
2692
ac_cs_usage="\
2544
 
\`$as_me' instantiates files from templates according to the
2545
 
current configuration.
 
2693
\`$as_me' instantiates files and other configuration actions
 
2694
from templates according to the current configuration.  Unless the files
 
2695
and actions are specified as TAGs, all are instantiated by default.
2546
2696
 
2547
 
Usage: $0 [OPTIONS] [FILE]...
 
2697
Usage: $0 [OPTION]... [TAG]...
2548
2698
 
2549
2699
  -h, --help       print this help, then exit
2550
2700
  -V, --version    print version number and configuration settings, then exit
2551
 
  -q, --quiet      do not print progress messages
 
2701
  -q, --quiet, --silent
 
2702
                   do not print progress messages
2552
2703
  -d, --debug      don't remove temporary files
2553
2704
      --recheck    update $as_me by reconfiguring in the same conditions
2554
 
  --file=FILE[:TEMPLATE]
2555
 
                   instantiate the configuration file FILE
 
2705
      --file=FILE[:TEMPLATE]
 
2706
                   instantiate the configuration file FILE
2556
2707
 
2557
2708
Configuration files:
2558
2709
$config_files
2559
2710
 
2560
 
Report bugs to <bug-autoconf@gnu.org>."
 
2711
Report bugs to the package provider."
2561
2712
 
2562
2713
_ACEOF
2563
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2714
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2564
2715
ac_cs_version="\\
2565
2716
config.status
2566
 
configured by $0, generated by GNU Autoconf 2.61,
2567
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
2717
configured by $0, generated by GNU Autoconf 2.64,
 
2718
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2568
2719
 
2569
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
2720
Copyright (C) 2009 Free Software Foundation, Inc.
2570
2721
This config.status script is free software; the Free Software Foundation
2571
2722
gives unlimited permission to copy, distribute and modify it."
2572
2723
 
2573
2724
ac_pwd='$ac_pwd'
2574
2725
srcdir='$srcdir'
 
2726
test -n "\$AWK" || AWK=awk
2575
2727
_ACEOF
2576
2728
 
2577
 
cat >>$CONFIG_STATUS <<\_ACEOF
2578
 
# If no file are specified by the user, then we need to provide default
2579
 
# value.  By we need to know if files were specified by the user.
 
2729
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
2730
# The default lists apply if the user does not specify any file.
2580
2731
ac_need_defaults=:
2581
2732
while test $# != 0
2582
2733
do
2598
2749
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2599
2750
    ac_cs_recheck=: ;;
2600
2751
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2601
 
    echo "$ac_cs_version"; exit ;;
 
2752
    $as_echo "$ac_cs_version"; exit ;;
2602
2753
  --debug | --debu | --deb | --de | --d | -d )
2603
2754
    debug=: ;;
2604
2755
  --file | --fil | --fi | --f )
2605
2756
    $ac_shift
2606
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
2757
    case $ac_optarg in
 
2758
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2759
    esac
 
2760
    as_fn_append CONFIG_FILES " '$ac_optarg'"
2607
2761
    ac_need_defaults=false;;
2608
2762
  --he | --h |  --help | --hel | -h )
2609
 
    echo "$ac_cs_usage"; exit ;;
 
2763
    $as_echo "$ac_cs_usage"; exit ;;
2610
2764
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2611
2765
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2612
2766
    ac_cs_silent=: ;;
2613
2767
 
2614
2768
  # This is an error.
2615
 
  -*) { echo "$as_me: error: unrecognized option: $1
2616
 
Try \`$0 --help' for more information." >&2
2617
 
   { (exit 1); exit 1; }; } ;;
 
2769
  -*) as_fn_error "unrecognized option: \`$1'
 
2770
Try \`$0 --help' for more information." ;;
2618
2771
 
2619
 
  *) ac_config_targets="$ac_config_targets $1"
 
2772
  *) as_fn_append ac_config_targets " $1"
2620
2773
     ac_need_defaults=false ;;
2621
2774
 
2622
2775
  esac
2631
2784
fi
2632
2785
 
2633
2786
_ACEOF
2634
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2787
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2635
2788
if \$ac_cs_recheck; then
2636
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2637
 
  CONFIG_SHELL=$SHELL
 
2789
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2790
  shift
 
2791
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
2792
  CONFIG_SHELL='$SHELL'
2638
2793
  export CONFIG_SHELL
2639
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2794
  exec "\$@"
2640
2795
fi
2641
2796
 
2642
2797
_ACEOF
2643
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2798
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2644
2799
exec 5>>config.log
2645
2800
{
2646
2801
  echo
2647
2802
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2648
2803
## Running $as_me. ##
2649
2804
_ASBOX
2650
 
  echo "$ac_log"
 
2805
  $as_echo "$ac_log"
2651
2806
} >&5
2652
2807
 
2653
2808
_ACEOF
2654
 
cat >>$CONFIG_STATUS <<_ACEOF
 
2809
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2655
2810
_ACEOF
2656
2811
 
2657
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2812
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2658
2813
 
2659
2814
# Handling of arguments.
2660
2815
for ac_config_target in $ac_config_targets
2662
2817
  case $ac_config_target in
2663
2818
    "$ACFILES") CONFIG_FILES="$CONFIG_FILES $ACFILES" ;;
2664
2819
 
2665
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2666
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2667
 
   { (exit 1); exit 1; }; };;
 
2820
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2668
2821
  esac
2669
2822
done
2670
2823
 
2689
2842
  trap 'exit_status=$?
2690
2843
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2691
2844
' 0
2692
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
2845
  trap 'as_fn_exit 1' 1 2 13 15
2693
2846
}
2694
2847
# Create a (secure) tmp directory for tmp files.
2695
2848
 
2700
2853
{
2701
2854
  tmp=./conf$$-$RANDOM
2702
2855
  (umask 077 && mkdir "$tmp")
2703
 
} ||
2704
 
{
2705
 
   echo "$me: cannot create a temporary directory in ." >&2
2706
 
   { (exit 1); exit 1; }
2707
 
}
2708
 
 
2709
 
#
2710
 
# Set up the sed scripts for CONFIG_FILES section.
2711
 
#
2712
 
 
2713
 
# No need to generate the scripts if there are no CONFIG_FILES.
2714
 
# This happens for instance when ./config.status config.h
 
2856
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
2857
 
 
2858
# Set up the scripts for CONFIG_FILES section.
 
2859
# No need to generate them if there are no CONFIG_FILES.
 
2860
# This happens for instance with `./config.status config.h'.
2715
2861
if test -n "$CONFIG_FILES"; then
2716
2862
 
2717
 
_ACEOF
2718
 
 
2719
 
 
2720
 
 
2721
 
ac_delim='%!_!# '
2722
 
for ac_last_try in false false false false false :; do
2723
 
  cat >conf$$subs.sed <<_ACEOF
2724
 
SHELL!$SHELL$ac_delim
2725
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2726
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2727
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2728
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2729
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2730
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2731
 
exec_prefix!$exec_prefix$ac_delim
2732
 
prefix!$prefix$ac_delim
2733
 
program_transform_name!$program_transform_name$ac_delim
2734
 
bindir!$bindir$ac_delim
2735
 
sbindir!$sbindir$ac_delim
2736
 
libexecdir!$libexecdir$ac_delim
2737
 
datarootdir!$datarootdir$ac_delim
2738
 
datadir!$datadir$ac_delim
2739
 
sysconfdir!$sysconfdir$ac_delim
2740
 
sharedstatedir!$sharedstatedir$ac_delim
2741
 
localstatedir!$localstatedir$ac_delim
2742
 
includedir!$includedir$ac_delim
2743
 
oldincludedir!$oldincludedir$ac_delim
2744
 
docdir!$docdir$ac_delim
2745
 
infodir!$infodir$ac_delim
2746
 
htmldir!$htmldir$ac_delim
2747
 
dvidir!$dvidir$ac_delim
2748
 
pdfdir!$pdfdir$ac_delim
2749
 
psdir!$psdir$ac_delim
2750
 
libdir!$libdir$ac_delim
2751
 
localedir!$localedir$ac_delim
2752
 
mandir!$mandir$ac_delim
2753
 
DEFS!$DEFS$ac_delim
2754
 
ECHO_C!$ECHO_C$ac_delim
2755
 
ECHO_N!$ECHO_N$ac_delim
2756
 
ECHO_T!$ECHO_T$ac_delim
2757
 
LIBS!$LIBS$ac_delim
2758
 
build_alias!$build_alias$ac_delim
2759
 
host_alias!$host_alias$ac_delim
2760
 
target_alias!$target_alias$ac_delim
2761
 
ac_prefix_program!$ac_prefix_program$ac_delim
2762
 
ICONV!$ICONV$ac_delim
2763
 
VERSION!$VERSION$ac_delim
2764
 
OCAMLC!$OCAMLC$ac_delim
2765
 
OCAMLOPT!$OCAMLOPT$ac_delim
2766
 
OCAMLDEP!$OCAMLDEP$ac_delim
2767
 
OCAMLLEX!$OCAMLLEX$ac_delim
2768
 
OCAMLYACC!$OCAMLYACC$ac_delim
2769
 
OCAMLVERSION!$OCAMLVERSION$ac_delim
2770
 
OCAMLLIB!$OCAMLLIB$ac_delim
2771
 
OCAMLMKTOP!$OCAMLMKTOP$ac_delim
2772
 
OCAMLMKLIB!$OCAMLMKLIB$ac_delim
2773
 
CAMMKTOP!$CAMMKTOP$ac_delim
2774
 
OCAMLBIN!$OCAMLBIN$ac_delim
2775
 
LABLGLADECC!$LABLGLADECC$ac_delim
2776
 
OCAMLDOC!$OCAMLDOC$ac_delim
2777
 
OCAMLDOC_OPT!$OCAMLDOC_OPT$ac_delim
2778
 
OCAMLDOC_PLUGINSDIR!$OCAMLDOC_PLUGINSDIR$ac_delim
2779
 
EXEC_PREFIX!$EXEC_PREFIX$ac_delim
2780
 
INSTALLBIN!$INSTALLBIN$ac_delim
2781
 
TEMPLATESDIR!$TEMPLATESDIR$ac_delim
2782
 
PLUGINSDIR!$PLUGINSDIR$ac_delim
2783
 
PIXMAPSDIR!$PIXMAPSDIR$ac_delim
2784
 
GLADEDIR!$GLADEDIR$ac_delim
2785
 
DTDDIR!$DTDDIR$ac_delim
2786
 
LANGUAGESSPECSDIR!$LANGUAGESSPECSDIR$ac_delim
2787
 
ROOT!$ROOT$ac_delim
2788
 
OCAML_DRIVER_INCLUDES!$OCAML_DRIVER_INCLUDES$ac_delim
2789
 
GTK_INCLUDES!$GTK_INCLUDES$ac_delim
2790
 
LABLGTK2_INCLUDES!$LABLGTK2_INCLUDES$ac_delim
2791
 
LABLGTK2DIR!$LABLGTK2DIR$ac_delim
2792
 
PCREDIR!$PCREDIR$ac_delim
2793
 
LABLGTKSOURCEVIEW_INCLUDES!$LABLGTKSOURCEVIEW_INCLUDES$ac_delim
2794
 
LABLGTKSOURCEVIEW_CMA!$LABLGTKSOURCEVIEW_CMA$ac_delim
2795
 
LABLGTKSOURCEVIEW_CMXA!$LABLGTKSOURCEVIEW_CMXA$ac_delim
2796
 
USE_LABLGTKSOURCEVIEW!$USE_LABLGTKSOURCEVIEW$ac_delim
2797
 
XMLLIGHT_INCLUDES!$XMLLIGHT_INCLUDES$ac_delim
2798
 
PCRE_INCLUDES!$PCRE_INCLUDES$ac_delim
2799
 
DEBUG_LEVEL!$DEBUG_LEVEL$ac_delim
2800
 
SOCKET_DIR!$SOCKET_DIR$ac_delim
2801
 
CAMELEON!$CAMELEON$ac_delim
2802
 
CAMELEON_BYTE!$CAMELEON_BYTE$ac_delim
2803
 
CAM_CONFIG!$CAM_CONFIG$ac_delim
2804
 
CAM_CONFIG_BYTE!$CAM_CONFIG_BYTE$ac_delim
2805
 
CAMTOP!$CAMTOP$ac_delim
2806
 
CAMTOP_SOURCEVIEW_MODULE!$CAMTOP_SOURCEVIEW_MODULE$ac_delim
2807
 
CAMTOP_SOURCEVIEW_MODULE_CMO!$CAMTOP_SOURCEVIEW_MODULE_CMO$ac_delim
2808
 
DOCBROWSER!$DOCBROWSER$ac_delim
2809
 
DOCBROWSER_BYTE!$DOCBROWSER_BYTE$ac_delim
2810
 
EDITOR!$EDITOR$ac_delim
2811
 
EDITOR_BYTE!$EDITOR_BYTE$ac_delim
2812
 
OCAMLCVS!$OCAMLCVS$ac_delim
2813
 
OCAMLCVS_BYTE!$OCAMLCVS_BYTE$ac_delim
2814
 
TDL!$TDL$ac_delim
2815
 
TDL_BYTE!$TDL_BYTE$ac_delim
2816
 
TDL_EXPORT!$TDL_EXPORT$ac_delim
2817
 
TDL_EXPORT_BYTE!$TDL_EXPORT_BYTE$ac_delim
2818
 
TDL_HTML!$TDL_HTML$ac_delim
2819
 
TDL_HTML_BYTE!$TDL_HTML_BYTE$ac_delim
2820
 
TDL_SVN!$TDL_SVN$ac_delim
2821
 
_ACEOF
2822
 
 
2823
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
2824
 
    break
2825
 
  elif $ac_last_try; then
2826
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2827
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2828
 
   { (exit 1); exit 1; }; }
2829
 
  else
2830
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2831
 
  fi
2832
 
done
2833
 
 
2834
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2835
 
if test -n "$ac_eof"; then
2836
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2837
 
  ac_eof=`expr $ac_eof + 1`
2838
 
fi
2839
 
 
2840
 
cat >>$CONFIG_STATUS <<_ACEOF
2841
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2842
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2843
 
_ACEOF
2844
 
sed '
2845
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2846
 
s/^/s,@/; s/!/@,|#_!!_#|/
2847
 
:n
2848
 
t n
2849
 
s/'"$ac_delim"'$/,g/; t
2850
 
s/$/\\/; p
2851
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2852
 
' >>$CONFIG_STATUS <conf$$subs.sed
2853
 
rm -f conf$$subs.sed
2854
 
cat >>$CONFIG_STATUS <<_ACEOF
2855
 
CEOF$ac_eof
2856
 
_ACEOF
2857
 
 
2858
 
 
2859
 
ac_delim='%!_!# '
2860
 
for ac_last_try in false false false false false :; do
2861
 
  cat >conf$$subs.sed <<_ACEOF
2862
 
TDL_SVN_BYTE!$TDL_SVN_BYTE$ac_delim
2863
 
RSS!$RSS$ac_delim
2864
 
RSS_BYTE!$RSS_BYTE$ac_delim
2865
 
RSS_EXPORT!$RSS_EXPORT$ac_delim
2866
 
RSS_EXPORT_BYTE!$RSS_EXPORT_BYTE$ac_delim
2867
 
REPORT!$REPORT$ac_delim
2868
 
REPORT_BYTE!$REPORT_BYTE$ac_delim
2869
 
REPORT_GUI!$REPORT_GUI$ac_delim
2870
 
REPORT_GUI_BYTE!$REPORT_GUI_BYTE$ac_delim
2871
 
DBFORGE!$DBFORGE$ac_delim
2872
 
DBFORGE_BYTE!$DBFORGE_BYTE$ac_delim
2873
 
DBFORGE_GUI!$DBFORGE_GUI$ac_delim
2874
 
DBFORGE_GUI_BYTE!$DBFORGE_GUI_BYTE$ac_delim
2875
 
TMPL_ENGINE!$TMPL_ENGINE$ac_delim
2876
 
TMPL_ENGINE_BYTE!$TMPL_ENGINE_BYTE$ac_delim
2877
 
AVAILABLE_CHARSETS!$AVAILABLE_CHARSETS$ac_delim
2878
 
LIBOBJS!$LIBOBJS$ac_delim
2879
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
2880
 
_ACEOF
2881
 
 
2882
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
2883
 
    break
2884
 
  elif $ac_last_try; then
2885
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2886
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2887
 
   { (exit 1); exit 1; }; }
2888
 
  else
2889
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2890
 
  fi
2891
 
done
2892
 
 
2893
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2894
 
if test -n "$ac_eof"; then
2895
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2896
 
  ac_eof=`expr $ac_eof + 1`
2897
 
fi
2898
 
 
2899
 
cat >>$CONFIG_STATUS <<_ACEOF
2900
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
2901
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2902
 
_ACEOF
2903
 
sed '
2904
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2905
 
s/^/s,@/; s/!/@,|#_!!_#|/
2906
 
:n
2907
 
t n
2908
 
s/'"$ac_delim"'$/,g/; t
2909
 
s/$/\\/; p
2910
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2911
 
' >>$CONFIG_STATUS <conf$$subs.sed
2912
 
rm -f conf$$subs.sed
2913
 
cat >>$CONFIG_STATUS <<_ACEOF
2914
 
:end
2915
 
s/|#_!!_#|//g
2916
 
CEOF$ac_eof
2917
 
_ACEOF
2918
 
 
 
2863
 
 
2864
ac_cr=`echo X | tr X '\015'`
 
2865
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
2866
# But we know of no other shell where ac_cr would be empty at this
 
2867
# point, so we can use a bashism as a fallback.
 
2868
if test "x$ac_cr" = x; then
 
2869
  eval ac_cr=\$\'\\r\'
 
2870
fi
 
2871
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
2872
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
2873
  ac_cs_awk_cr='\r'
 
2874
else
 
2875
  ac_cs_awk_cr=$ac_cr
 
2876
fi
 
2877
 
 
2878
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
2879
_ACEOF
 
2880
 
 
2881
 
 
2882
{
 
2883
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
2884
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
2885
  echo "_ACEOF"
 
2886
} >conf$$subs.sh ||
 
2887
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
2888
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
2889
ac_delim='%!_!# '
 
2890
for ac_last_try in false false false false false :; do
 
2891
  . ./conf$$subs.sh ||
 
2892
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
2893
 
 
2894
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
2895
  if test $ac_delim_n = $ac_delim_num; then
 
2896
    break
 
2897
  elif $ac_last_try; then
 
2898
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
2899
  else
 
2900
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
2901
  fi
 
2902
done
 
2903
rm -f conf$$subs.sh
 
2904
 
 
2905
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
2906
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
2907
_ACEOF
 
2908
sed -n '
 
2909
h
 
2910
s/^/S["/; s/!.*/"]=/
 
2911
p
 
2912
g
 
2913
s/^[^!]*!//
 
2914
:repl
 
2915
t repl
 
2916
s/'"$ac_delim"'$//
 
2917
t delim
 
2918
:nl
 
2919
h
 
2920
s/\(.\{148\}\).*/\1/
 
2921
t more1
 
2922
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
2923
p
 
2924
n
 
2925
b repl
 
2926
:more1
 
2927
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
2928
p
 
2929
g
 
2930
s/.\{148\}//
 
2931
t nl
 
2932
:delim
 
2933
h
 
2934
s/\(.\{148\}\).*/\1/
 
2935
t more2
 
2936
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
2937
p
 
2938
b
 
2939
:more2
 
2940
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
2941
p
 
2942
g
 
2943
s/.\{148\}//
 
2944
t delim
 
2945
' <conf$$subs.awk | sed '
 
2946
/^[^""]/{
 
2947
  N
 
2948
  s/\n//
 
2949
}
 
2950
' >>$CONFIG_STATUS || ac_write_fail=1
 
2951
rm -f conf$$subs.awk
 
2952
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
2953
_ACAWK
 
2954
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
2955
  for (key in S) S_is_set[key] = 1
 
2956
  FS = ""
 
2957
 
 
2958
}
 
2959
{
 
2960
  line = $ 0
 
2961
  nfields = split(line, field, "@")
 
2962
  substed = 0
 
2963
  len = length(field[1])
 
2964
  for (i = 2; i < nfields; i++) {
 
2965
    key = field[i]
 
2966
    keylen = length(key)
 
2967
    if (S_is_set[key]) {
 
2968
      value = S[key]
 
2969
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
2970
      len += length(value) + length(field[++i])
 
2971
      substed = 1
 
2972
    } else
 
2973
      len += 1 + keylen
 
2974
  }
 
2975
 
 
2976
  print line
 
2977
}
 
2978
 
 
2979
_ACAWK
 
2980
_ACEOF
 
2981
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
2982
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
2983
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
2984
else
 
2985
  cat
 
2986
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
2987
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
2988
_ACEOF
2919
2989
 
2920
2990
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2921
2991
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2932
3002
}'
2933
3003
fi
2934
3004
 
2935
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3005
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2936
3006
fi # test -n "$CONFIG_FILES"
2937
3007
 
2938
3008
 
2939
 
for ac_tag in  :F $CONFIG_FILES
 
3009
eval set X "  :F $CONFIG_FILES      "
 
3010
shift
 
3011
for ac_tag
2940
3012
do
2941
3013
  case $ac_tag in
2942
3014
  :[FHLC]) ac_mode=$ac_tag; continue;;
2943
3015
  esac
2944
3016
  case $ac_mode$ac_tag in
2945
3017
  :[FHL]*:*);;
2946
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2947
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2948
 
   { (exit 1); exit 1; }; };;
 
3018
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2949
3019
  :[FH]-) ac_tag=-:-;;
2950
3020
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2951
3021
  esac
2973
3043
           [\\/$]*) false;;
2974
3044
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2975
3045
           esac ||
2976
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2977
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2978
 
   { (exit 1); exit 1; }; };;
 
3046
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2979
3047
      esac
2980
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
3048
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
3049
      as_fn_append ac_file_inputs " '$ac_f'"
2981
3050
    done
2982
3051
 
2983
3052
    # Let's still pretend it is `configure' which instantiates (i.e., don't
2984
3053
    # use $as_me), people would be surprised to read:
2985
3054
    #    /* config.h.  Generated by config.status.  */
2986
 
    configure_input="Generated from "`IFS=:
2987
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
3055
    configure_input='Generated from '`
 
3056
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
3057
        `' by configure.'
2988
3058
    if test x"$ac_file" != x-; then
2989
3059
      configure_input="$ac_file.  $configure_input"
2990
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
2991
 
echo "$as_me: creating $ac_file" >&6;}
 
3060
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
3061
$as_echo "$as_me: creating $ac_file" >&6;}
2992
3062
    fi
 
3063
    # Neutralize special characters interpreted by sed in replacement strings.
 
3064
    case $configure_input in #(
 
3065
    *\&* | *\|* | *\\* )
 
3066
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
3067
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
3068
    *) ac_sed_conf_input=$configure_input;;
 
3069
    esac
2993
3070
 
2994
3071
    case $ac_tag in
2995
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
3072
    *:-:* | *:-) cat >"$tmp/stdin" \
 
3073
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2996
3074
    esac
2997
3075
    ;;
2998
3076
  esac
3002
3080
         X"$ac_file" : 'X\(//\)[^/]' \| \
3003
3081
         X"$ac_file" : 'X\(//\)$' \| \
3004
3082
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3005
 
echo X"$ac_file" |
3006
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3007
 
            s//\1/
3008
 
            q
3009
 
          }
3010
 
          /^X\(\/\/\)[^/].*/{
3011
 
            s//\1/
3012
 
            q
3013
 
          }
3014
 
          /^X\(\/\/\)$/{
3015
 
            s//\1/
3016
 
            q
3017
 
          }
3018
 
          /^X\(\/\).*/{
3019
 
            s//\1/
3020
 
            q
3021
 
          }
3022
 
          s/.*/./; q'`
3023
 
  { as_dir="$ac_dir"
3024
 
  case $as_dir in #(
3025
 
  -*) as_dir=./$as_dir;;
3026
 
  esac
3027
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3028
 
    as_dirs=
3029
 
    while :; do
3030
 
      case $as_dir in #(
3031
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3032
 
      *) as_qdir=$as_dir;;
3033
 
      esac
3034
 
      as_dirs="'$as_qdir' $as_dirs"
3035
 
      as_dir=`$as_dirname -- "$as_dir" ||
3036
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3037
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
3038
 
         X"$as_dir" : 'X\(//\)$' \| \
3039
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3040
 
echo X"$as_dir" |
3041
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3042
 
            s//\1/
3043
 
            q
3044
 
          }
3045
 
          /^X\(\/\/\)[^/].*/{
3046
 
            s//\1/
3047
 
            q
3048
 
          }
3049
 
          /^X\(\/\/\)$/{
3050
 
            s//\1/
3051
 
            q
3052
 
          }
3053
 
          /^X\(\/\).*/{
3054
 
            s//\1/
3055
 
            q
3056
 
          }
3057
 
          s/.*/./; q'`
3058
 
      test -d "$as_dir" && break
3059
 
    done
3060
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3061
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3062
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3063
 
   { (exit 1); exit 1; }; }; }
 
3083
$as_echo X"$ac_file" |
 
3084
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3085
            s//\1/
 
3086
            q
 
3087
          }
 
3088
          /^X\(\/\/\)[^/].*/{
 
3089
            s//\1/
 
3090
            q
 
3091
          }
 
3092
          /^X\(\/\/\)$/{
 
3093
            s//\1/
 
3094
            q
 
3095
          }
 
3096
          /^X\(\/\).*/{
 
3097
            s//\1/
 
3098
            q
 
3099
          }
 
3100
          s/.*/./; q'`
 
3101
  as_dir="$ac_dir"; as_fn_mkdir_p
3064
3102
  ac_builddir=.
3065
3103
 
3066
3104
case "$ac_dir" in
3067
3105
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3068
3106
*)
3069
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
3107
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3070
3108
  # A ".." for each directory in $ac_dir_suffix.
3071
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
3109
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3072
3110
  case $ac_top_builddir_sub in
3073
3111
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3074
3112
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3104
3142
 
3105
3143
_ACEOF
3106
3144
 
3107
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3145
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3108
3146
# If the template does not know about datarootdir, expand it.
3109
3147
# FIXME: This hack should be removed a few years after 2.60.
3110
3148
ac_datarootdir_hack=; ac_datarootdir_seen=
3111
 
 
3112
 
case `sed -n '/datarootdir/ {
 
3149
ac_sed_dataroot='
 
3150
/datarootdir/ {
3113
3151
  p
3114
3152
  q
3115
3153
}
3117
3155
/@docdir@/p
3118
3156
/@infodir@/p
3119
3157
/@localedir@/p
3120
 
/@mandir@/p
3121
 
' $ac_file_inputs` in
 
3158
/@mandir@/p'
 
3159
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3122
3160
*datarootdir*) ac_datarootdir_seen=yes;;
3123
3161
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3124
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3125
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
3162
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3163
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3126
3164
_ACEOF
3127
 
cat >>$CONFIG_STATUS <<_ACEOF
 
3165
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3128
3166
  ac_datarootdir_hack='
3129
3167
  s&@datadir@&$datadir&g
3130
3168
  s&@docdir@&$docdir&g
3131
3169
  s&@infodir@&$infodir&g
3132
3170
  s&@localedir@&$localedir&g
3133
3171
  s&@mandir@&$mandir&g
3134
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
3172
  s&\\\${datarootdir}&$datarootdir&g' ;;
3135
3173
esac
3136
3174
_ACEOF
3137
3175
 
3138
3176
# Neutralize VPATH when `$srcdir' = `.'.
3139
3177
# Shell code in configure.ac might set extrasub.
3140
3178
# FIXME: do we really want to maintain this feature?
3141
 
cat >>$CONFIG_STATUS <<_ACEOF
3142
 
  sed "$ac_vpsub
 
3179
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3180
ac_sed_extra="$ac_vpsub
3143
3181
$extrasub
3144
3182
_ACEOF
3145
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3183
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3146
3184
:t
3147
3185
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3148
 
s&@configure_input@&$configure_input&;t t
 
3186
s|@configure_input@|$ac_sed_conf_input|;t t
3149
3187
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
3188
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3150
3189
s&@srcdir@&$ac_srcdir&;t t
3151
3190
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3152
3191
s&@top_srcdir@&$ac_top_srcdir&;t t
3155
3194
s&@abs_builddir@&$ac_abs_builddir&;t t
3156
3195
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3157
3196
$ac_datarootdir_hack
3158
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
3197
"
 
3198
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
3199
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3159
3200
 
3160
3201
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3161
3202
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3162
3203
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3163
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3204
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3164
3205
which seems to be undefined.  Please make sure it is defined." >&5
3165
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3206
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3166
3207
which seems to be undefined.  Please make sure it is defined." >&2;}
3167
3208
 
3168
3209
  rm -f "$tmp/stdin"
3169
3210
  case $ac_file in
3170
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
3171
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3172
 
  esac
 
3211
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
3212
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
3213
  esac \
 
3214
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3173
3215
 ;;
3174
3216
 
3175
3217
 
3179
3221
done # for ac_tag
3180
3222
 
3181
3223
 
3182
 
{ (exit 0); exit 0; }
 
3224
as_fn_exit 0
3183
3225
_ACEOF
3184
 
chmod +x $CONFIG_STATUS
3185
3226
ac_clean_files=$ac_clean_files_save
3186
3227
 
 
3228
test $ac_write_fail = 0 ||
 
3229
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
3230
 
3187
3231
 
3188
3232
# configure is writing to config.log, and then calls config.status.
3189
3233
# config.status does its own redirection, appending to config.log.
3203
3247
  exec 5>>config.log
3204
3248
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3205
3249
  # would make configure fail if this is the last instruction.
3206
 
  $ac_cs_success || { (exit 1); exit 1; }
 
3250
  $ac_cs_success || as_fn_exit $?
 
3251
fi
 
3252
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
3253
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
3254
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3207
3255
fi
3208
3256
 
3209
3257
chmod a-w master.Makefile