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

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2009-10-14 17:07:30 UTC
  • mfrom: (1.1.10 upstream) (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091014170730-ip0cqnl0eyat91oy
Tags: 0.5.1-1
* New upstream release.
* Bumped standards version to 3.8.3
* Changed section to ocaml
* Use new automatic dependency system.
* Enabled debugging.
* Fixed Vcs-* fields. 
* Switch to ocaml.mk
* Versioned license in debian/copyright

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 for ocaml-vorbis 0.5.0.
 
3
# Generated by GNU Autoconf 2.64 for ocaml-vorbis 0.5.1.
4
4
#
5
5
# Report bugs to <savonet-users@lists.sourceforge.net>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
 
10
#
9
11
# This configure script is free software; the Free Software Foundation
10
12
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
14
16
 
15
17
# Be more Bourne compatible
16
18
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
20
  emulate sh
19
21
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
23
  # is contrary to our usage.  Disable this feature.
22
24
  alias -g '${1+"$@"}'='"$@"'
23
25
  setopt NO_GLOB_SUBST
24
26
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
27
32
esac
28
 
 
29
 
fi
30
 
 
31
 
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
41
73
 
42
74
# The user is always right.
43
75
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
60
81
fi
61
82
 
62
83
 
65
86
# there to prevent editors from complaining about space-tab.
66
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
88
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
89
IFS=" ""        $as_nl"
71
90
 
72
91
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
 
92
case $0 in #((
74
93
  *[\\/]* ) as_myself=$0 ;;
75
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
95
for as_dir in $PATH
77
96
do
78
97
  IFS=$as_save_IFS
79
98
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
82
101
IFS=$as_save_IFS
83
102
 
84
103
     ;;
89
108
  as_myself=$0
90
109
fi
91
110
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
94
113
fi
95
114
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
99
122
done
100
123
PS1='$ '
101
124
PS2='> '
102
125
PS4='+ '
103
126
 
104
127
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
151
132
 
152
133
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
155
135
 
156
136
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
 
174
  if (eval "$as_required") 2>/dev/null; then :
158
175
  as_have_required=yes
159
176
else
160
177
  as_have_required=no
161
178
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
179
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
180
 
 
181
else
 
182
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
183
as_found=false
224
184
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
185
do
226
186
  IFS=$as_save_IFS
227
187
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
 
188
  as_found=:
 
189
  case $as_dir in #(
229
190
         /*)
230
191
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
192
             # Try only shells that exist, to save several forks.
 
193
             as_shell=$as_dir/$as_base
 
194
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
195
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
196
  CONFIG_SHELL=$as_shell as_have_required=yes
 
197
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
198
  break 2
 
199
fi
 
200
fi
232
201
           done;;
233
202
       esac
 
203
  as_found=false
234
204
done
 
205
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
206
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
207
  CONFIG_SHELL=$SHELL as_have_required=yes
 
208
fi; }
235
209
IFS=$as_save_IFS
236
210
 
237
211
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
 
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
212
      if test "x$CONFIG_SHELL" != x; then :
 
213
  # We cannot yet assume a decent shell, so we have to provide a
 
214
        # neutralization value for shells without unset; and this also
 
215
        # works around shells that cannot unset nonexistent variables.
 
216
        BASH_ENV=/dev/null
 
217
        ENV=/dev/null
 
218
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
219
        export CONFIG_SHELL
 
220
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
221
fi
 
222
 
 
223
    if test x$as_have_required = xno; then :
 
224
  $as_echo "$0: This script requires a shell more modern than all"
 
225
  $as_echo "$0: the shells that I found on your system."
 
226
  if test x${ZSH_VERSION+set} = xset ; then
 
227
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
228
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
229
  else
 
230
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
231
$0: savonet-users@lists.sourceforge.net about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error ERROR [LINENO LOG_FD]
 
360
# ---------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with status $?, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$?; test $as_status -eq 0 && as_status=1
 
367
  if test "$3"; then
 
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  fi
 
371
  $as_echo "$as_me: error: $1" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
377
  as_expr=expr
 
378
else
 
379
  as_expr=false
 
380
fi
 
381
 
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
383
  as_basename=basename
 
384
else
 
385
  as_basename=false
 
386
fi
 
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
 
393
 
 
394
as_me=`$as_basename -- "$0" ||
 
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
396
         X"$0" : 'X\(//\)$' \| \
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
 
413
# Avoid depending upon Character Ranges.
 
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
417
as_cr_digits='0123456789'
 
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
419
 
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
440
426
  sed -n '
441
427
    p
442
428
    /[$]LINENO/=
453
439
      s/-\n.*//
454
440
    ' >$as_me.lineno &&
455
441
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458
443
 
459
444
  # Don't try to exec as it changes $[0], causing all sort of problems
460
445
  # (the dirname of $[0] is not the place where we might find the
464
449
  exit
465
450
}
466
451
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
452
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
476
454
-n*)
477
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
478
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
480
460
  esac;;
481
461
*)
482
462
  ECHO_N='-n';;
483
463
esac
484
464
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
465
rm -f conf$$ conf$$.exe conf$$.file
493
466
if test -d conf$$.dir; then
494
467
  rm -f conf$$.dir/conf$$.file
495
468
else
496
469
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
470
  mkdir conf$$.dir 2>/dev/null
498
471
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
472
if (echo >conf$$.file) 2>/dev/null; then
 
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
474
    as_ln_s='ln -s'
 
475
    # ... but there are two gotchas:
 
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
478
    # In both cases, we have to default to `cp -p'.
 
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
480
      as_ln_s='cp -p'
 
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
482
    as_ln_s=ln
 
483
  else
507
484
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
485
  fi
510
486
else
511
487
  as_ln_s='cp -p'
512
488
fi
514
490
rmdir conf$$.dir 2>/dev/null
515
491
 
516
492
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
518
494
else
519
495
  test -d ./-p && rmdir ./-p
520
496
  as_mkdir_p=false
531
507
  as_test_x='
532
508
    eval sh -c '\''
533
509
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
510
        test -d "$1/.";
535
511
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
 
512
        case $1 in #(
 
513
        -*)set "./$1";;
538
514
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
540
516
        ???[sx]*):;;*)false;;esac;fi
541
517
    '\'' sh
542
518
  '
550
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
527
 
552
528
 
553
 
 
554
529
exec 7<&0 </dev/null 6>&1
555
530
 
556
531
# Name of the host.
569
544
subdirs=
570
545
MFLAGS=
571
546
MAKEFLAGS=
572
 
SHELL=${CONFIG_SHELL-/bin/sh}
573
547
 
574
548
# Identity of this package.
575
549
PACKAGE_NAME='ocaml-vorbis'
576
550
PACKAGE_TARNAME='ocaml-vorbis'
577
 
PACKAGE_VERSION='0.5.0'
578
 
PACKAGE_STRING='ocaml-vorbis 0.5.0'
 
551
PACKAGE_VERSION='0.5.1'
 
552
PACKAGE_STRING='ocaml-vorbis 0.5.1'
579
553
PACKAGE_BUGREPORT='savonet-users@lists.sourceforge.net'
 
554
PACKAGE_URL=''
580
555
 
581
 
ac_subst_vars='SHELL
 
556
ac_subst_vars='LTLIBOBJS
 
557
LIBOBJS
 
558
CAMLLIBPATH
 
559
OCAMLFIND_LDCONF
 
560
OCAMLBIN
 
561
OCAMLLIB
 
562
OCAMLVERSION
 
563
OCAMLBEST
 
564
BEST
 
565
OCAMLFLAGS
 
566
VERSION
 
567
OCAMLOGG_INC
 
568
PS2PDF
 
569
DVIPS
 
570
LATEX
 
571
OCAMLCP
 
572
OCAMLFIND
 
573
VORBIS_LIBS
 
574
VORBIS_CFLAGS
 
575
VORBIS_LDFLAGS
 
576
OGG_LIBS
 
577
OGG_CFLAGS
 
578
OGG_LDFLAGS
 
579
PKGCONFIG
 
580
OBJEXT
 
581
EXEEXT
 
582
ac_ct_CC
 
583
CPPFLAGS
 
584
LDFLAGS
 
585
CFLAGS
 
586
CC
 
587
OCAMLMKTOP
 
588
OCAMLDOC
 
589
OCAMLYACC
 
590
OCAMLLEX
 
591
OCAMLDEP
 
592
OCAMLOPTDOTOPT
 
593
OCAMLCDOTOPT
 
594
OCAMLOPT
 
595
OCAMLC
 
596
target_alias
 
597
host_alias
 
598
build_alias
 
599
LIBS
 
600
ECHO_T
 
601
ECHO_N
 
602
ECHO_C
 
603
DEFS
 
604
mandir
 
605
localedir
 
606
libdir
 
607
psdir
 
608
pdfdir
 
609
dvidir
 
610
htmldir
 
611
infodir
 
612
docdir
 
613
oldincludedir
 
614
includedir
 
615
localstatedir
 
616
sharedstatedir
 
617
sysconfdir
 
618
datadir
 
619
datarootdir
 
620
libexecdir
 
621
sbindir
 
622
bindir
 
623
program_transform_name
 
624
prefix
 
625
exec_prefix
 
626
PACKAGE_URL
 
627
PACKAGE_BUGREPORT
 
628
PACKAGE_STRING
 
629
PACKAGE_VERSION
 
630
PACKAGE_TARNAME
 
631
PACKAGE_NAME
582
632
PATH_SEPARATOR
583
 
PACKAGE_NAME
584
 
PACKAGE_TARNAME
585
 
PACKAGE_VERSION
586
 
PACKAGE_STRING
587
 
PACKAGE_BUGREPORT
588
 
exec_prefix
589
 
prefix
590
 
program_transform_name
591
 
bindir
592
 
sbindir
593
 
libexecdir
594
 
datarootdir
595
 
datadir
596
 
sysconfdir
597
 
sharedstatedir
598
 
localstatedir
599
 
includedir
600
 
oldincludedir
601
 
docdir
602
 
infodir
603
 
htmldir
604
 
dvidir
605
 
pdfdir
606
 
psdir
607
 
libdir
608
 
localedir
609
 
mandir
610
 
DEFS
611
 
ECHO_C
612
 
ECHO_N
613
 
ECHO_T
614
 
LIBS
615
 
build_alias
616
 
host_alias
617
 
target_alias
618
 
OCAMLC
619
 
OCAMLOPT
620
 
OCAMLCDOTOPT
621
 
OCAMLOPTDOTOPT
622
 
OCAMLDEP
623
 
OCAMLLEX
624
 
OCAMLYACC
625
 
OCAMLDOC
626
 
OCAMLMKTOP
627
 
CC
628
 
CFLAGS
629
 
LDFLAGS
630
 
CPPFLAGS
631
 
ac_ct_CC
632
 
EXEEXT
633
 
OBJEXT
634
 
PKGCONFIG
635
 
OGG_LDFLAGS
636
 
OGG_CFLAGS
637
 
OGG_LIBS
638
 
VORBIS_LDFLAGS
639
 
VORBIS_CFLAGS
640
 
VORBIS_LIBS
641
 
OCAMLFIND
642
 
OCAMLCP
643
 
LATEX
644
 
DVIPS
645
 
PS2PDF
646
 
OCAMLOGG_INC
647
 
VERSION
648
 
BEST
649
 
OCAMLBEST
650
 
OCAMLVERSION
651
 
OCAMLLIB
652
 
OCAMLBIN
653
 
OCAMLFIND_LDCONF
654
 
CAMLLIBPATH
655
 
LIBOBJS
656
 
LTLIBOBJS'
 
633
SHELL'
657
634
ac_subst_files=''
 
635
ac_user_opts='
 
636
enable_option_checking
 
637
enable_ldconf
 
638
enable_debugging
 
639
with_ogg_dir
 
640
'
658
641
      ac_precious_vars='build_alias
659
642
host_alias
660
643
target_alias
668
651
# Initialize some variables set by options.
669
652
ac_init_help=
670
653
ac_init_version=false
 
654
ac_unrecognized_opts=
 
655
ac_unrecognized_sep=
671
656
# The variables have the same names as the options, with
672
657
# dashes changed to underlines.
673
658
cache_file=/dev/null
766
751
    datarootdir=$ac_optarg ;;
767
752
 
768
753
  -disable-* | --disable-*)
769
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
754
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770
755
    # Reject names that are not valid shell variable names.
771
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
772
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
773
 
   { (exit 1); exit 1; }; }
774
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
775
 
    eval enable_$ac_feature=no ;;
 
756
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
757
      as_fn_error "invalid feature name: $ac_useropt"
 
758
    ac_useropt_orig=$ac_useropt
 
759
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
760
    case $ac_user_opts in
 
761
      *"
 
762
"enable_$ac_useropt"
 
763
"*) ;;
 
764
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
765
         ac_unrecognized_sep=', ';;
 
766
    esac
 
767
    eval enable_$ac_useropt=no ;;
776
768
 
777
769
  -docdir | --docdir | --docdi | --doc | --do)
778
770
    ac_prev=docdir ;;
785
777
    dvidir=$ac_optarg ;;
786
778
 
787
779
  -enable-* | --enable-*)
788
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
780
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
789
781
    # Reject names that are not valid shell variable names.
790
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
791
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
792
 
   { (exit 1); exit 1; }; }
793
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
794
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
782
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
783
      as_fn_error "invalid feature name: $ac_useropt"
 
784
    ac_useropt_orig=$ac_useropt
 
785
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
786
    case $ac_user_opts in
 
787
      *"
 
788
"enable_$ac_useropt"
 
789
"*) ;;
 
790
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
791
         ac_unrecognized_sep=', ';;
 
792
    esac
 
793
    eval enable_$ac_useropt=\$ac_optarg ;;
795
794
 
796
795
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
797
796
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982
981
    ac_init_version=: ;;
983
982
 
984
983
  -with-* | --with-*)
985
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
984
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
986
985
    # Reject names that are not valid shell variable names.
987
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
988
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
989
 
   { (exit 1); exit 1; }; }
990
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
991
 
    eval with_$ac_package=\$ac_optarg ;;
 
986
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
987
      as_fn_error "invalid package name: $ac_useropt"
 
988
    ac_useropt_orig=$ac_useropt
 
989
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
990
    case $ac_user_opts in
 
991
      *"
 
992
"with_$ac_useropt"
 
993
"*) ;;
 
994
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
995
         ac_unrecognized_sep=', ';;
 
996
    esac
 
997
    eval with_$ac_useropt=\$ac_optarg ;;
992
998
 
993
999
  -without-* | --without-*)
994
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1000
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
995
1001
    # Reject names that are not valid shell variable names.
996
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
997
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
998
 
   { (exit 1); exit 1; }; }
999
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1000
 
    eval with_$ac_package=no ;;
 
1002
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1003
      as_fn_error "invalid package name: $ac_useropt"
 
1004
    ac_useropt_orig=$ac_useropt
 
1005
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1006
    case $ac_user_opts in
 
1007
      *"
 
1008
"with_$ac_useropt"
 
1009
"*) ;;
 
1010
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1011
         ac_unrecognized_sep=', ';;
 
1012
    esac
 
1013
    eval with_$ac_useropt=no ;;
1001
1014
 
1002
1015
  --x)
1003
1016
    # Obsolete; use --with-x.
1017
1030
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1018
1031
    x_libraries=$ac_optarg ;;
1019
1032
 
1020
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1021
 
Try \`$0 --help' for more information." >&2
1022
 
   { (exit 1); exit 1; }; }
 
1033
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1034
Try \`$0 --help' for more information."
1023
1035
    ;;
1024
1036
 
1025
1037
  *=*)
1026
1038
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1027
1039
    # Reject names that are not valid shell variable names.
1028
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1029
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1030
 
   { (exit 1); exit 1; }; }
 
1040
    case $ac_envvar in #(
 
1041
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1042
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1043
    esac
1031
1044
    eval $ac_envvar=\$ac_optarg
1032
1045
    export $ac_envvar ;;
1033
1046
 
1034
1047
  *)
1035
1048
    # FIXME: should be removed in autoconf 3.0.
1036
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1049
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1037
1050
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1051
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1039
1052
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1040
1053
    ;;
1041
1054
 
1044
1057
 
1045
1058
if test -n "$ac_prev"; then
1046
1059
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1047
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1048
 
   { (exit 1); exit 1; }; }
1049
 
fi
1050
 
 
1051
 
# Be sure to have absolute directory names.
 
1060
  as_fn_error "missing argument to $ac_option"
 
1061
fi
 
1062
 
 
1063
if test -n "$ac_unrecognized_opts"; then
 
1064
  case $enable_option_checking in
 
1065
    no) ;;
 
1066
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1067
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1068
  esac
 
1069
fi
 
1070
 
 
1071
# Check all directory arguments for consistency.
1052
1072
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1053
1073
                datadir sysconfdir sharedstatedir localstatedir includedir \
1054
1074
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1055
1075
                libdir localedir mandir
1056
1076
do
1057
1077
  eval ac_val=\$$ac_var
 
1078
  # Remove trailing slashes.
 
1079
  case $ac_val in
 
1080
    */ )
 
1081
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1082
      eval $ac_var=\$ac_val;;
 
1083
  esac
 
1084
  # Be sure to have absolute directory names.
1058
1085
  case $ac_val in
1059
1086
    [\\/$]* | ?:[\\/]* )  continue;;
1060
1087
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1061
1088
  esac
1062
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1063
 
   { (exit 1); exit 1; }; }
 
1089
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1064
1090
done
1065
1091
 
1066
1092
# There might be people who depend on the old broken behavior: `$host'
1074
1100
if test "x$host_alias" != x; then
1075
1101
  if test "x$build_alias" = x; then
1076
1102
    cross_compiling=maybe
1077
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1103
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1078
1104
    If a cross compiler is detected then cross compile mode will be used." >&2
1079
1105
  elif test "x$build_alias" != "x$host_alias"; then
1080
1106
    cross_compiling=yes
1090
1116
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1091
1117
ac_ls_di=`ls -di .` &&
1092
1118
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1093
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1094
 
   { (exit 1); exit 1; }; }
 
1119
  as_fn_error "working directory cannot be determined"
1095
1120
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1096
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1097
 
   { (exit 1); exit 1; }; }
 
1121
  as_fn_error "pwd does not report name of working directory"
1098
1122
 
1099
1123
 
1100
1124
# Find the source files, if location was not specified.
1101
1125
if test -z "$srcdir"; then
1102
1126
  ac_srcdir_defaulted=yes
1103
1127
  # Try the directory containing this script, then the parent directory.
1104
 
  ac_confdir=`$as_dirname -- "$0" ||
1105
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1106
 
         X"$0" : 'X\(//\)[^/]' \| \
1107
 
         X"$0" : 'X\(//\)$' \| \
1108
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1109
 
echo X"$0" |
 
1128
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1129
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1130
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1131
         X"$as_myself" : 'X\(//\)$' \| \
 
1132
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1133
$as_echo X"$as_myself" |
1110
1134
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1111
1135
            s//\1/
1112
1136
            q
1133
1157
fi
1134
1158
if test ! -r "$srcdir/$ac_unique_file"; then
1135
1159
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1136
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1137
 
   { (exit 1); exit 1; }; }
 
1160
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1138
1161
fi
1139
1162
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1140
1163
ac_abs_confdir=`(
1141
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1142
 
   { (exit 1); exit 1; }; }
 
1164
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1143
1165
        pwd)`
1144
1166
# When building in place, set srcdir=.
1145
1167
if test "$ac_abs_confdir" = "$ac_pwd"; then
1165
1187
  # Omit some internal or obsolete options to make the list less imposing.
1166
1188
  # This message is too long to be a string in the A/UX 3.1 sh.
1167
1189
  cat <<_ACEOF
1168
 
\`configure' configures ocaml-vorbis 0.5.0 to adapt to many kinds of systems.
 
1190
\`configure' configures ocaml-vorbis 0.5.1 to adapt to many kinds of systems.
1169
1191
 
1170
1192
Usage: $0 [OPTION]... [VAR=VALUE]...
1171
1193
 
1187
1209
 
1188
1210
Installation directories:
1189
1211
  --prefix=PREFIX         install architecture-independent files in PREFIX
1190
 
                          [$ac_default_prefix]
 
1212
                          [$ac_default_prefix]
1191
1213
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1192
 
                          [PREFIX]
 
1214
                          [PREFIX]
1193
1215
 
1194
1216
By default, \`make install' will install all the files in
1195
1217
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1199
1221
For better control, use the options below.
1200
1222
 
1201
1223
Fine tuning of the installation directories:
1202
 
  --bindir=DIR           user executables [EPREFIX/bin]
1203
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1204
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1205
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1206
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1207
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1208
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1209
 
  --includedir=DIR       C header files [PREFIX/include]
1210
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1211
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1212
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1213
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1214
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1215
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1216
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/ocaml-vorbis]
1217
 
  --htmldir=DIR          html documentation [DOCDIR]
1218
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1219
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1220
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1224
  --bindir=DIR            user executables [EPREFIX/bin]
 
1225
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1226
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1227
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1228
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1229
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1230
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1231
  --includedir=DIR        C header files [PREFIX/include]
 
1232
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1233
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1234
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1235
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1236
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1237
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1238
  --docdir=DIR            documentation root [DATAROOTDIR/doc/ocaml-vorbis]
 
1239
  --htmldir=DIR           html documentation [DOCDIR]
 
1240
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1241
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1242
  --psdir=DIR             ps documentation [DOCDIR]
1221
1243
_ACEOF
1222
1244
 
1223
1245
  cat <<\_ACEOF
1226
1248
 
1227
1249
if test -n "$ac_init_help"; then
1228
1250
  case $ac_init_help in
1229
 
     short | recursive ) echo "Configuration of ocaml-vorbis 0.5.0:";;
 
1251
     short | recursive ) echo "Configuration of ocaml-vorbis 0.5.1:";;
1230
1252
   esac
1231
1253
  cat <<\_ACEOF
1232
1254
 
1233
1255
Optional Features:
 
1256
  --disable-option-checking  ignore unrecognized --enable/--with options
1234
1257
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1235
1258
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1236
1259
  --disable-ldconf        don't modify the dynamic loader configuration file
1237
1260
                          (default is enable)
 
1261
  --enable-debugging      compile with debugging information (backtrace
 
1262
                          printing in particular)
1238
1263
 
1239
1264
Optional Packages:
1240
1265
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1262
1287
if test "$ac_init_help" = "recursive"; then
1263
1288
  # If there are subdirs, report their specific --help.
1264
1289
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1265
 
    test -d "$ac_dir" || continue
 
1290
    test -d "$ac_dir" ||
 
1291
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1292
      continue
1266
1293
    ac_builddir=.
1267
1294
 
1268
1295
case "$ac_dir" in
1269
1296
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270
1297
*)
1271
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1298
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1272
1299
  # A ".." for each directory in $ac_dir_suffix.
1273
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1300
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1274
1301
  case $ac_top_builddir_sub in
1275
1302
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1276
1303
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1306
1333
      echo &&
1307
1334
      $SHELL "$ac_srcdir/configure" --help=recursive
1308
1335
    else
1309
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1336
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1310
1337
    fi || ac_status=$?
1311
1338
    cd "$ac_pwd" || { ac_status=$?; break; }
1312
1339
  done
1315
1342
test -n "$ac_init_help" && exit $ac_status
1316
1343
if $ac_init_version; then
1317
1344
  cat <<\_ACEOF
1318
 
ocaml-vorbis configure 0.5.0
1319
 
generated by GNU Autoconf 2.61
 
1345
ocaml-vorbis configure 0.5.1
 
1346
generated by GNU Autoconf 2.64
1320
1347
 
1321
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1322
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1348
Copyright (C) 2009 Free Software Foundation, Inc.
1323
1349
This configure script is free software; the Free Software Foundation
1324
1350
gives unlimited permission to copy, distribute and modify it.
1325
1351
_ACEOF
1326
1352
  exit
1327
1353
fi
 
1354
 
 
1355
## ------------------------ ##
 
1356
## Autoconf initialization. ##
 
1357
## ------------------------ ##
 
1358
 
 
1359
# ac_fn_c_try_compile LINENO
 
1360
# --------------------------
 
1361
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1362
ac_fn_c_try_compile ()
 
1363
{
 
1364
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1365
  rm -f conftest.$ac_objext
 
1366
  if { { ac_try="$ac_compile"
 
1367
case "(($ac_try" in
 
1368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1369
  *) ac_try_echo=$ac_try;;
 
1370
esac
 
1371
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1372
$as_echo "$ac_try_echo"; } >&5
 
1373
  (eval "$ac_compile") 2>conftest.err
 
1374
  ac_status=$?
 
1375
  if test -s conftest.err; then
 
1376
    grep -v '^ *+' conftest.err >conftest.er1
 
1377
    cat conftest.er1 >&5
 
1378
    mv -f conftest.er1 conftest.err
 
1379
  fi
 
1380
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1381
  test $ac_status = 0; } && {
 
1382
         test -z "$ac_c_werror_flag" ||
 
1383
         test ! -s conftest.err
 
1384
       } && test -s conftest.$ac_objext; then :
 
1385
  ac_retval=0
 
1386
else
 
1387
  $as_echo "$as_me: failed program was:" >&5
 
1388
sed 's/^/| /' conftest.$ac_ext >&5
 
1389
 
 
1390
        ac_retval=1
 
1391
fi
 
1392
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1393
  return $ac_retval
 
1394
 
 
1395
} # ac_fn_c_try_compile
1328
1396
cat >config.log <<_ACEOF
1329
1397
This file contains any messages produced by compilers while
1330
1398
running configure, to aid debugging if configure makes a mistake.
1331
1399
 
1332
 
It was created by ocaml-vorbis $as_me 0.5.0, which was
1333
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1400
It was created by ocaml-vorbis $as_me 0.5.1, which was
 
1401
generated by GNU Autoconf 2.64.  Invocation command line was
1334
1402
 
1335
1403
  $ $0 $@
1336
1404
 
1366
1434
do
1367
1435
  IFS=$as_save_IFS
1368
1436
  test -z "$as_dir" && as_dir=.
1369
 
  echo "PATH: $as_dir"
1370
 
done
 
1437
    $as_echo "PATH: $as_dir"
 
1438
  done
1371
1439
IFS=$as_save_IFS
1372
1440
 
1373
1441
} >&5
1401
1469
    | -silent | --silent | --silen | --sile | --sil)
1402
1470
      continue ;;
1403
1471
    *\'*)
1404
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1472
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405
1473
    esac
1406
1474
    case $ac_pass in
1407
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1475
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1408
1476
    2)
1409
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1477
      as_fn_append ac_configure_args1 " '$ac_arg'"
1410
1478
      if test $ac_must_keep_next = true; then
1411
1479
        ac_must_keep_next=false # Got value, back to normal.
1412
1480
      else
1422
1490
          -* ) ac_must_keep_next=true ;;
1423
1491
        esac
1424
1492
      fi
1425
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1493
      as_fn_append ac_configure_args " '$ac_arg'"
1426
1494
      ;;
1427
1495
    esac
1428
1496
  done
1429
1497
done
1430
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1431
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1498
{ ac_configure_args0=; unset ac_configure_args0;}
 
1499
{ ac_configure_args1=; unset ac_configure_args1;}
1432
1500
 
1433
1501
# When interrupted or exit'd, cleanup temporary files, and complete
1434
1502
# config.log.  We remove comments because anyway the quotes in there
1453
1521
    case $ac_val in #(
1454
1522
    *${as_nl}*)
1455
1523
      case $ac_var in #(
1456
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1457
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1524
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1525
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1458
1526
      esac
1459
1527
      case $ac_var in #(
1460
1528
      _ | IFS | as_nl) ;; #(
1461
 
      *) $as_unset $ac_var ;;
 
1529
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1530
      *) { eval $ac_var=; unset $ac_var;} ;;
1462
1531
      esac ;;
1463
1532
    esac
1464
1533
  done
1487
1556
    do
1488
1557
      eval ac_val=\$$ac_var
1489
1558
      case $ac_val in
1490
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1559
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1491
1560
      esac
1492
 
      echo "$ac_var='\''$ac_val'\''"
 
1561
      $as_echo "$ac_var='\''$ac_val'\''"
1493
1562
    done | sort
1494
1563
    echo
1495
1564
 
1504
1573
      do
1505
1574
        eval ac_val=\$$ac_var
1506
1575
        case $ac_val in
1507
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1576
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1508
1577
        esac
1509
 
        echo "$ac_var='\''$ac_val'\''"
 
1578
        $as_echo "$ac_var='\''$ac_val'\''"
1510
1579
      done | sort
1511
1580
      echo
1512
1581
    fi
1522
1591
      echo
1523
1592
    fi
1524
1593
    test "$ac_signal" != 0 &&
1525
 
      echo "$as_me: caught signal $ac_signal"
1526
 
    echo "$as_me: exit $exit_status"
 
1594
      $as_echo "$as_me: caught signal $ac_signal"
 
1595
    $as_echo "$as_me: exit $exit_status"
1527
1596
  } >&5
1528
1597
  rm -f core *.core core.conftest.* &&
1529
1598
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1530
1599
    exit $exit_status
1531
1600
' 0
1532
1601
for ac_signal in 1 2 13 15; do
1533
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1602
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1534
1603
done
1535
1604
ac_signal=0
1536
1605
 
1537
1606
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1538
1607
rm -f -r conftest* confdefs.h
1539
1608
 
 
1609
$as_echo "/* confdefs.h */" > confdefs.h
 
1610
 
1540
1611
# Predefined preprocessor variables.
1541
1612
 
1542
1613
cat >>confdefs.h <<_ACEOF
1543
1614
#define PACKAGE_NAME "$PACKAGE_NAME"
1544
1615
_ACEOF
1545
1616
 
1546
 
 
1547
1617
cat >>confdefs.h <<_ACEOF
1548
1618
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1549
1619
_ACEOF
1550
1620
 
1551
 
 
1552
1621
cat >>confdefs.h <<_ACEOF
1553
1622
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1554
1623
_ACEOF
1555
1624
 
1556
 
 
1557
1625
cat >>confdefs.h <<_ACEOF
1558
1626
#define PACKAGE_STRING "$PACKAGE_STRING"
1559
1627
_ACEOF
1560
1628
 
1561
 
 
1562
1629
cat >>confdefs.h <<_ACEOF
1563
1630
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1564
1631
_ACEOF
1565
1632
 
 
1633
cat >>confdefs.h <<_ACEOF
 
1634
#define PACKAGE_URL "$PACKAGE_URL"
 
1635
_ACEOF
 
1636
 
1566
1637
 
1567
1638
# Let the site file select an alternate cache file if it wants to.
1568
 
# Prefer explicitly selected file to automatically selected ones.
 
1639
# Prefer an explicitly selected file to automatically selected ones.
 
1640
ac_site_file1=NONE
 
1641
ac_site_file2=NONE
1569
1642
if test -n "$CONFIG_SITE"; then
1570
 
  set x "$CONFIG_SITE"
 
1643
  ac_site_file1=$CONFIG_SITE
1571
1644
elif test "x$prefix" != xNONE; then
1572
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1645
  ac_site_file1=$prefix/share/config.site
 
1646
  ac_site_file2=$prefix/etc/config.site
1573
1647
else
1574
 
  set x "$ac_default_prefix/share/config.site" \
1575
 
        "$ac_default_prefix/etc/config.site"
 
1648
  ac_site_file1=$ac_default_prefix/share/config.site
 
1649
  ac_site_file2=$ac_default_prefix/etc/config.site
1576
1650
fi
1577
 
shift
1578
 
for ac_site_file
 
1651
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1579
1652
do
 
1653
  test "x$ac_site_file" = xNONE && continue
1580
1654
  if test -r "$ac_site_file"; then
1581
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1582
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1655
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
1656
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1583
1657
    sed 's/^/| /' "$ac_site_file" >&5
1584
1658
    . "$ac_site_file"
1585
1659
  fi
1589
1663
  # Some versions of bash will fail to source /dev/null (special
1590
1664
  # files actually), so we avoid doing that.
1591
1665
  if test -f "$cache_file"; then
1592
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1593
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1666
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
1667
$as_echo "$as_me: loading cache $cache_file" >&6;}
1594
1668
    case $cache_file in
1595
1669
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1596
1670
      *)                      . "./$cache_file";;
1597
1671
    esac
1598
1672
  fi
1599
1673
else
1600
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1601
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1674
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
1675
$as_echo "$as_me: creating cache $cache_file" >&6;}
1602
1676
  >$cache_file
1603
1677
fi
1604
1678
 
1612
1686
  eval ac_new_val=\$ac_env_${ac_var}_value
1613
1687
  case $ac_old_set,$ac_new_set in
1614
1688
    set,)
1615
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1689
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1690
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617
1691
      ac_cache_corrupted=: ;;
1618
1692
    ,set)
1619
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1620
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1693
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
1694
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621
1695
      ac_cache_corrupted=: ;;
1622
1696
    ,);;
1623
1697
    *)
1624
1698
      if test "x$ac_old_val" != "x$ac_new_val"; then
1625
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1626
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1627
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1628
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1629
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1630
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1631
 
        ac_cache_corrupted=:
 
1699
        # differences in whitespace do not lead to failure.
 
1700
        ac_old_val_w=`echo x $ac_old_val`
 
1701
        ac_new_val_w=`echo x $ac_new_val`
 
1702
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1703
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
1704
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1705
          ac_cache_corrupted=:
 
1706
        else
 
1707
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1708
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1709
          eval $ac_var=\$ac_old_val
 
1710
        fi
 
1711
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
1712
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1713
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
1714
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1632
1715
      fi;;
1633
1716
  esac
1634
1717
  # Pass precious variables to config.status.
1635
1718
  if test "$ac_new_set" = set; then
1636
1719
    case $ac_new_val in
1637
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1720
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1638
1721
    *) ac_arg=$ac_var=$ac_new_val ;;
1639
1722
    esac
1640
1723
    case " $ac_configure_args " in
1641
1724
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1642
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1725
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1643
1726
    esac
1644
1727
  fi
1645
1728
done
1646
1729
if $ac_cache_corrupted; then
1647
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1648
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1649
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1650
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1651
 
   { (exit 1); exit 1; }; }
 
1730
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1732
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
1733
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1734
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1652
1735
fi
1653
 
 
1654
 
 
1655
 
 
1656
 
 
1657
 
 
1658
 
 
1659
 
 
1660
 
 
1661
 
 
1662
 
 
1663
 
 
1664
 
 
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
 
1675
 
 
1676
 
 
 
1736
## -------------------- ##
 
1737
## Main body of script. ##
 
1738
## -------------------- ##
1677
1739
 
1678
1740
ac_ext=c
1679
1741
ac_cpp='$CPP $CPPFLAGS'
1684
1746
 
1685
1747
 
1686
1748
VERSION=$PACKAGE_VERSION
1687
 
{ echo "$as_me:$LINENO: result: configuring $PACKAGE_STRING" >&5
1688
 
echo "${ECHO_T}configuring $PACKAGE_STRING" >&6; }
 
1749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: configuring $PACKAGE_STRING" >&5
 
1750
$as_echo "configuring $PACKAGE_STRING" >&6; }
 
1751
 
 
1752
# Add prefix to compilation variables
 
1753
# if passed
 
1754
if test "x$prefix" != "xNONE"; then
 
1755
        CFLAGS="$CFLAGS -I$prefix/include"
 
1756
        LDFLAGS="$LDFLAGS -L$prefix/lib"
 
1757
        CPPFLAGS="$CPPFLAGS -I$prefix/include"
 
1758
fi
1689
1759
 
1690
1760
OCAMLFIND_LDCONF=""
1691
1761
# Check whether --enable-ldconf was given.
1692
 
if test "${enable_ldconf+set}" = set; then
 
1762
if test "${enable_ldconf+set}" = set; then :
1693
1763
  enableval=$enable_ldconf; ac_enable_ldconf=$enableval
1694
1764
else
1695
1765
  ac_enable_ldconf=$enableval
1696
1766
fi
1697
1767
 
1698
1768
if test "$ac_enable_ldconf" = no ; then
1699
 
        { echo "$as_me:$LINENO: result: disabling modification of ld.conf" >&5
1700
 
echo "${ECHO_T}disabling modification of ld.conf" >&6; }
 
1769
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabling modification of ld.conf" >&5
 
1770
$as_echo "disabling modification of ld.conf" >&6; }
1701
1771
        OCAMLFIND_LDCONF=dummy
1702
1772
fi
1703
1773
 
1706
1776
# we first look for ocamlc in the path; if not present, we fail
1707
1777
# Extract the first word of "ocamlc", so it can be a program name with args.
1708
1778
set dummy ocamlc; ac_word=$2
1709
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1711
 
if test "${ac_cv_prog_OCAMLC+set}" = set; then
1712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1780
$as_echo_n "checking for $ac_word... " >&6; }
 
1781
if test "${ac_cv_prog_OCAMLC+set}" = set; then :
 
1782
  $as_echo_n "(cached) " >&6
1713
1783
else
1714
1784
  if test -n "$OCAMLC"; then
1715
1785
  ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
1719
1789
do
1720
1790
  IFS=$as_save_IFS
1721
1791
  test -z "$as_dir" && as_dir=.
1722
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1792
    for ac_exec_ext in '' $ac_executable_extensions; do
1723
1793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1724
1794
    ac_cv_prog_OCAMLC="`which ocamlc`"
1725
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1795
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1726
1796
    break 2
1727
1797
  fi
1728
1798
done
1729
 
done
 
1799
  done
1730
1800
IFS=$as_save_IFS
1731
1801
 
1732
1802
  test -z "$ac_cv_prog_OCAMLC" && ac_cv_prog_OCAMLC="no"
1734
1804
fi
1735
1805
OCAMLC=$ac_cv_prog_OCAMLC
1736
1806
if test -n "$OCAMLC"; then
1737
 
  { echo "$as_me:$LINENO: result: $OCAMLC" >&5
1738
 
echo "${ECHO_T}$OCAMLC" >&6; }
 
1807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
 
1808
$as_echo "$OCAMLC" >&6; }
1739
1809
else
1740
 
  { echo "$as_me:$LINENO: result: no" >&5
1741
 
echo "${ECHO_T}no" >&6; }
 
1810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1811
$as_echo "no" >&6; }
1742
1812
fi
1743
1813
 
1744
1814
 
1745
1815
if test "$OCAMLC" = no ; then
1746
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamlc." >&5
1747
 
echo "$as_me: error: Cannot find ocamlc." >&2;}
1748
 
   { (exit 1); exit 1; }; }
 
1816
        as_fn_error "Cannot find ocamlc." "$LINENO" 5
1749
1817
fi
1750
1818
 
1751
1819
# we look for the directory of ocamlc in $OCAMLC
1762
1830
# we set OCAMLBEST to "opt" or "byte", whether ocamlopt is available or not
1763
1831
# Extract the first word of "ocamlopt", so it can be a program name with args.
1764
1832
set dummy ocamlopt; ac_word=$2
1765
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1766
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1767
 
if test "${ac_cv_path_OCAMLOPT+set}" = set; then
1768
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1834
$as_echo_n "checking for $ac_word... " >&6; }
 
1835
if test "${ac_cv_path_OCAMLOPT+set}" = set; then :
 
1836
  $as_echo_n "(cached) " >&6
1769
1837
else
1770
1838
  case $OCAMLOPT in
1771
1839
  [\\/]* | ?:[\\/]*)
1777
1845
do
1778
1846
  IFS=$as_save_IFS
1779
1847
  test -z "$as_dir" && as_dir=.
1780
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1848
    for ac_exec_ext in '' $ac_executable_extensions; do
1781
1849
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1782
1850
    ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
1783
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1784
1852
    break 2
1785
1853
  fi
1786
1854
done
1787
 
done
 
1855
  done
1788
1856
IFS=$as_save_IFS
1789
1857
 
1790
1858
  test -z "$ac_cv_path_OCAMLOPT" && ac_cv_path_OCAMLOPT="no"
1793
1861
fi
1794
1862
OCAMLOPT=$ac_cv_path_OCAMLOPT
1795
1863
if test -n "$OCAMLOPT"; then
1796
 
  { echo "$as_me:$LINENO: result: $OCAMLOPT" >&5
1797
 
echo "${ECHO_T}$OCAMLOPT" >&6; }
 
1864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
 
1865
$as_echo "$OCAMLOPT" >&6; }
1798
1866
else
1799
 
  { echo "$as_me:$LINENO: result: no" >&5
1800
 
echo "${ECHO_T}no" >&6; }
 
1867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1868
$as_echo "no" >&6; }
1801
1869
fi
1802
1870
 
1803
1871
 
1804
1872
OCAMLBEST=byte
1805
1873
if test "$OCAMLOPT" = no ; then
1806
 
        { echo "$as_me:$LINENO: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
1807
 
echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
 
1874
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
 
1875
$as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
1808
1876
else
1809
 
        { echo "$as_me:$LINENO: checking ocamlopt version" >&5
1810
 
echo $ECHO_N "checking ocamlopt version... $ECHO_C" >&6; }
 
1877
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlopt version" >&5
 
1878
$as_echo_n "checking ocamlopt version... " >&6; }
1811
1879
        TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
1812
1880
        if test "$TMPVERSION" != "$OCAMLVERSION" ; then
1813
 
            { echo "$as_me:$LINENO: result: differs from ocamlc; ocamlopt discarded." >&5
1814
 
echo "${ECHO_T}differs from ocamlc; ocamlopt discarded." >&6; }
 
1881
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: differs from ocamlc; ocamlopt discarded." >&5
 
1882
$as_echo "differs from ocamlc; ocamlopt discarded." >&6; }
1815
1883
            OCAMLOPT=no
1816
1884
        else
1817
 
            { echo "$as_me:$LINENO: result: ok" >&5
1818
 
echo "${ECHO_T}ok" >&6; }
 
1885
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
1886
$as_echo "ok" >&6; }
1819
1887
            OCAMLBEST=opt
1820
1888
        fi
1821
1889
fi
1823
1891
# checking for ocamlc.opt
1824
1892
# Extract the first word of "ocamlc.opt", so it can be a program name with args.
1825
1893
set dummy ocamlc.opt; ac_word=$2
1826
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1827
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1828
 
if test "${ac_cv_path_OCAMLCDOTOPT+set}" = set; then
1829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1895
$as_echo_n "checking for $ac_word... " >&6; }
 
1896
if test "${ac_cv_path_OCAMLCDOTOPT+set}" = set; then :
 
1897
  $as_echo_n "(cached) " >&6
1830
1898
else
1831
1899
  case $OCAMLCDOTOPT in
1832
1900
  [\\/]* | ?:[\\/]*)
1838
1906
do
1839
1907
  IFS=$as_save_IFS
1840
1908
  test -z "$as_dir" && as_dir=.
1841
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1909
    for ac_exec_ext in '' $ac_executable_extensions; do
1842
1910
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1843
1911
    ac_cv_path_OCAMLCDOTOPT="$as_dir/$ac_word$ac_exec_ext"
1844
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1912
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1845
1913
    break 2
1846
1914
  fi
1847
1915
done
1848
 
done
 
1916
  done
1849
1917
IFS=$as_save_IFS
1850
1918
 
1851
1919
  test -z "$ac_cv_path_OCAMLCDOTOPT" && ac_cv_path_OCAMLCDOTOPT="no"
1854
1922
fi
1855
1923
OCAMLCDOTOPT=$ac_cv_path_OCAMLCDOTOPT
1856
1924
if test -n "$OCAMLCDOTOPT"; then
1857
 
  { echo "$as_me:$LINENO: result: $OCAMLCDOTOPT" >&5
1858
 
echo "${ECHO_T}$OCAMLCDOTOPT" >&6; }
 
1925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
 
1926
$as_echo "$OCAMLCDOTOPT" >&6; }
1859
1927
else
1860
 
  { echo "$as_me:$LINENO: result: no" >&5
1861
 
echo "${ECHO_T}no" >&6; }
 
1928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1929
$as_echo "no" >&6; }
1862
1930
fi
1863
1931
 
1864
1932
 
1865
1933
if test "$OCAMLCDOTOPT" != no ; then
1866
 
        { echo "$as_me:$LINENO: checking ocamlc.opt version" >&5
1867
 
echo $ECHO_N "checking ocamlc.opt version... $ECHO_C" >&6; }
 
1934
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlc.opt version" >&5
 
1935
$as_echo_n "checking ocamlc.opt version... " >&6; }
1868
1936
        TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
1869
1937
        if test "$TMPVERSION" != "$OCAMLVERSION" ; then
1870
 
            { echo "$as_me:$LINENO: result: differs from ocamlc; ocamlc.opt discarded." >&5
1871
 
echo "${ECHO_T}differs from ocamlc; ocamlc.opt discarded." >&6; }
 
1938
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: differs from ocamlc; ocamlc.opt discarded." >&5
 
1939
$as_echo "differs from ocamlc; ocamlc.opt discarded." >&6; }
1872
1940
        else
1873
 
            { echo "$as_me:$LINENO: result: ok" >&5
1874
 
echo "${ECHO_T}ok" >&6; }
 
1941
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
1942
$as_echo "ok" >&6; }
1875
1943
            OCAMLC=$OCAMLCDOTOPT
1876
1944
        fi
1877
1945
fi
1880
1948
if test "$OCAMLOPT" != no ; then
1881
1949
    # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
1882
1950
set dummy ocamlopt.opt; ac_word=$2
1883
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1884
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1885
 
if test "${ac_cv_path_OCAMLOPTDOTOPT+set}" = set; then
1886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1952
$as_echo_n "checking for $ac_word... " >&6; }
 
1953
if test "${ac_cv_path_OCAMLOPTDOTOPT+set}" = set; then :
 
1954
  $as_echo_n "(cached) " >&6
1887
1955
else
1888
1956
  case $OCAMLOPTDOTOPT in
1889
1957
  [\\/]* | ?:[\\/]*)
1895
1963
do
1896
1964
  IFS=$as_save_IFS
1897
1965
  test -z "$as_dir" && as_dir=.
1898
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1966
    for ac_exec_ext in '' $ac_executable_extensions; do
1899
1967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1900
1968
    ac_cv_path_OCAMLOPTDOTOPT="$as_dir/$ac_word$ac_exec_ext"
1901
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1969
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1902
1970
    break 2
1903
1971
  fi
1904
1972
done
1905
 
done
 
1973
  done
1906
1974
IFS=$as_save_IFS
1907
1975
 
1908
1976
  test -z "$ac_cv_path_OCAMLOPTDOTOPT" && ac_cv_path_OCAMLOPTDOTOPT="no"
1911
1979
fi
1912
1980
OCAMLOPTDOTOPT=$ac_cv_path_OCAMLOPTDOTOPT
1913
1981
if test -n "$OCAMLOPTDOTOPT"; then
1914
 
  { echo "$as_me:$LINENO: result: $OCAMLOPTDOTOPT" >&5
1915
 
echo "${ECHO_T}$OCAMLOPTDOTOPT" >&6; }
 
1982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
 
1983
$as_echo "$OCAMLOPTDOTOPT" >&6; }
1916
1984
else
1917
 
  { echo "$as_me:$LINENO: result: no" >&5
1918
 
echo "${ECHO_T}no" >&6; }
 
1985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1986
$as_echo "no" >&6; }
1919
1987
fi
1920
1988
 
1921
1989
 
1922
1990
    if test "$OCAMLOPTDOTOPT" != no ; then
1923
 
        { echo "$as_me:$LINENO: checking ocamlc.opt version" >&5
1924
 
echo $ECHO_N "checking ocamlc.opt version... $ECHO_C" >&6; }
 
1991
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlc.opt version" >&5
 
1992
$as_echo_n "checking ocamlc.opt version... " >&6; }
1925
1993
        TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
1926
1994
        if test "$TMPVER" != "$OCAMLVERSION" ; then
1927
 
            { echo "$as_me:$LINENO: result: differs from ocamlc; ocamlopt.opt discarded." >&5
1928
 
echo "${ECHO_T}differs from ocamlc; ocamlopt.opt discarded." >&6; }
 
1995
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: differs from ocamlc; ocamlopt.opt discarded." >&5
 
1996
$as_echo "differs from ocamlc; ocamlopt.opt discarded." >&6; }
1929
1997
        else
1930
 
            { echo "$as_me:$LINENO: result: ok" >&5
1931
 
echo "${ECHO_T}ok" >&6; }
 
1998
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
1999
$as_echo "ok" >&6; }
1932
2000
            OCAMLOPT=$OCAMLOPTDOTOPT
1933
2001
        fi
1934
2002
    fi
1943
2011
# ocamldep, ocamllex and ocamlyacc should also be present in the path
1944
2012
# Extract the first word of "ocamldep", so it can be a program name with args.
1945
2013
set dummy ocamldep; ac_word=$2
1946
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1947
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1948
 
if test "${ac_cv_path_OCAMLDEP+set}" = set; then
1949
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2015
$as_echo_n "checking for $ac_word... " >&6; }
 
2016
if test "${ac_cv_path_OCAMLDEP+set}" = set; then :
 
2017
  $as_echo_n "(cached) " >&6
1950
2018
else
1951
2019
  case $OCAMLDEP in
1952
2020
  [\\/]* | ?:[\\/]*)
1958
2026
do
1959
2027
  IFS=$as_save_IFS
1960
2028
  test -z "$as_dir" && as_dir=.
1961
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2029
    for ac_exec_ext in '' $ac_executable_extensions; do
1962
2030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1963
2031
    ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
1964
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2032
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1965
2033
    break 2
1966
2034
  fi
1967
2035
done
1968
 
done
 
2036
  done
1969
2037
IFS=$as_save_IFS
1970
2038
 
1971
2039
  test -z "$ac_cv_path_OCAMLDEP" && ac_cv_path_OCAMLDEP="no"
1974
2042
fi
1975
2043
OCAMLDEP=$ac_cv_path_OCAMLDEP
1976
2044
if test -n "$OCAMLDEP"; then
1977
 
  { echo "$as_me:$LINENO: result: $OCAMLDEP" >&5
1978
 
echo "${ECHO_T}$OCAMLDEP" >&6; }
 
2045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
 
2046
$as_echo "$OCAMLDEP" >&6; }
1979
2047
else
1980
 
  { echo "$as_me:$LINENO: result: no" >&5
1981
 
echo "${ECHO_T}no" >&6; }
 
2048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2049
$as_echo "no" >&6; }
1982
2050
fi
1983
2051
 
1984
2052
 
1985
2053
if test "$OCAMLDEP" = no ; then
1986
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamldep." >&5
1987
 
echo "$as_me: error: Cannot find ocamldep." >&2;}
1988
 
   { (exit 1); exit 1; }; }
 
2054
        as_fn_error "Cannot find ocamldep." "$LINENO" 5
1989
2055
fi
1990
2056
 
1991
2057
# Extract the first word of "ocamllex", so it can be a program name with args.
1992
2058
set dummy ocamllex; ac_word=$2
1993
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1994
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1995
 
if test "${ac_cv_path_OCAMLLEX+set}" = set; then
1996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2060
$as_echo_n "checking for $ac_word... " >&6; }
 
2061
if test "${ac_cv_path_OCAMLLEX+set}" = set; then :
 
2062
  $as_echo_n "(cached) " >&6
1997
2063
else
1998
2064
  case $OCAMLLEX in
1999
2065
  [\\/]* | ?:[\\/]*)
2005
2071
do
2006
2072
  IFS=$as_save_IFS
2007
2073
  test -z "$as_dir" && as_dir=.
2008
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2074
    for ac_exec_ext in '' $ac_executable_extensions; do
2009
2075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2010
2076
    ac_cv_path_OCAMLLEX="$as_dir/$ac_word$ac_exec_ext"
2011
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2012
2078
    break 2
2013
2079
  fi
2014
2080
done
2015
 
done
 
2081
  done
2016
2082
IFS=$as_save_IFS
2017
2083
 
2018
2084
  test -z "$ac_cv_path_OCAMLLEX" && ac_cv_path_OCAMLLEX="no"
2021
2087
fi
2022
2088
OCAMLLEX=$ac_cv_path_OCAMLLEX
2023
2089
if test -n "$OCAMLLEX"; then
2024
 
  { echo "$as_me:$LINENO: result: $OCAMLLEX" >&5
2025
 
echo "${ECHO_T}$OCAMLLEX" >&6; }
 
2090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
 
2091
$as_echo "$OCAMLLEX" >&6; }
2026
2092
else
2027
 
  { echo "$as_me:$LINENO: result: no" >&5
2028
 
echo "${ECHO_T}no" >&6; }
 
2093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2094
$as_echo "no" >&6; }
2029
2095
fi
2030
2096
 
2031
2097
 
2032
2098
if test "$OCAMLLEX" = no ; then
2033
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamllex." >&5
2034
 
echo "$as_me: error: Cannot find ocamllex." >&2;}
2035
 
   { (exit 1); exit 1; }; }
 
2099
        as_fn_error "Cannot find ocamllex." "$LINENO" 5
2036
2100
fi
2037
2101
 
2038
2102
# Extract the first word of "ocamlyacc", so it can be a program name with args.
2039
2103
set dummy ocamlyacc; ac_word=$2
2040
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2041
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2042
 
if test "${ac_cv_path_OCAMLYACC+set}" = set; then
2043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2105
$as_echo_n "checking for $ac_word... " >&6; }
 
2106
if test "${ac_cv_path_OCAMLYACC+set}" = set; then :
 
2107
  $as_echo_n "(cached) " >&6
2044
2108
else
2045
2109
  case $OCAMLYACC in
2046
2110
  [\\/]* | ?:[\\/]*)
2052
2116
do
2053
2117
  IFS=$as_save_IFS
2054
2118
  test -z "$as_dir" && as_dir=.
2055
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2119
    for ac_exec_ext in '' $ac_executable_extensions; do
2056
2120
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2057
2121
    ac_cv_path_OCAMLYACC="$as_dir/$ac_word$ac_exec_ext"
2058
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2122
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2059
2123
    break 2
2060
2124
  fi
2061
2125
done
2062
 
done
 
2126
  done
2063
2127
IFS=$as_save_IFS
2064
2128
 
2065
2129
  test -z "$ac_cv_path_OCAMLYACC" && ac_cv_path_OCAMLYACC="no"
2068
2132
fi
2069
2133
OCAMLYACC=$ac_cv_path_OCAMLYACC
2070
2134
if test -n "$OCAMLYACC"; then
2071
 
  { echo "$as_me:$LINENO: result: $OCAMLYACC" >&5
2072
 
echo "${ECHO_T}$OCAMLYACC" >&6; }
 
2135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
 
2136
$as_echo "$OCAMLYACC" >&6; }
2073
2137
else
2074
 
  { echo "$as_me:$LINENO: result: no" >&5
2075
 
echo "${ECHO_T}no" >&6; }
 
2138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2139
$as_echo "no" >&6; }
2076
2140
fi
2077
2141
 
2078
2142
 
2079
2143
if test "$OCAMLYACC" = no ; then
2080
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamlyacc." >&5
2081
 
echo "$as_me: error: Cannot find ocamlyacc." >&2;}
2082
 
   { (exit 1); exit 1; }; }
 
2144
        as_fn_error "Cannot find ocamlyacc." "$LINENO" 5
2083
2145
fi
2084
2146
 
2085
2147
# Extract the first word of "ocamldoc", so it can be a program name with args.
2086
2148
set dummy ocamldoc; ac_word=$2
2087
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089
 
if test "${ac_cv_path_OCAMLDOC+set}" = set; then
2090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2150
$as_echo_n "checking for $ac_word... " >&6; }
 
2151
if test "${ac_cv_path_OCAMLDOC+set}" = set; then :
 
2152
  $as_echo_n "(cached) " >&6
2091
2153
else
2092
2154
  case $OCAMLDOC in
2093
2155
  [\\/]* | ?:[\\/]*)
2099
2161
do
2100
2162
  IFS=$as_save_IFS
2101
2163
  test -z "$as_dir" && as_dir=.
2102
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2164
    for ac_exec_ext in '' $ac_executable_extensions; do
2103
2165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104
2166
    ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
2105
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2106
2168
    break 2
2107
2169
  fi
2108
2170
done
2109
 
done
 
2171
  done
2110
2172
IFS=$as_save_IFS
2111
2173
 
2112
2174
  test -z "$ac_cv_path_OCAMLDOC" && ac_cv_path_OCAMLDOC="no"
2115
2177
fi
2116
2178
OCAMLDOC=$ac_cv_path_OCAMLDOC
2117
2179
if test -n "$OCAMLDOC"; then
2118
 
  { echo "$as_me:$LINENO: result: $OCAMLDOC" >&5
2119
 
echo "${ECHO_T}$OCAMLDOC" >&6; }
 
2180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
 
2181
$as_echo "$OCAMLDOC" >&6; }
2120
2182
else
2121
 
  { echo "$as_me:$LINENO: result: no" >&5
2122
 
echo "${ECHO_T}no" >&6; }
2123
 
fi
2124
 
 
2125
 
 
 
2183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2184
$as_echo "no" >&6; }
 
2185
fi
 
2186
 
 
2187
 
 
2188
 
 
2189
# Check whether --enable-debugging was given.
 
2190
if test "${enable_debugging+set}" = set; then :
 
2191
  enableval=$enable_debugging;
 
2192
fi
 
2193
 
 
2194
 
 
2195
if test "x$enable_debugging" = "xyes" ; then
 
2196
  OCAMLFLAGS="$OCAMLFLAGS -g"
 
2197
fi
2126
2198
 
2127
2199
# Extract the first word of "ocamlmktop", so it can be a program name with args.
2128
2200
set dummy ocamlmktop; ac_word=$2
2129
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2130
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131
 
if test "${ac_cv_path_OCAMLMKTOP+set}" = set; then
2132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2202
$as_echo_n "checking for $ac_word... " >&6; }
 
2203
if test "${ac_cv_path_OCAMLMKTOP+set}" = set; then :
 
2204
  $as_echo_n "(cached) " >&6
2133
2205
else
2134
2206
  case $OCAMLMKTOP in
2135
2207
  [\\/]* | ?:[\\/]*)
2141
2213
do
2142
2214
  IFS=$as_save_IFS
2143
2215
  test -z "$as_dir" && as_dir=.
2144
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2216
    for ac_exec_ext in '' $ac_executable_extensions; do
2145
2217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146
2218
    ac_cv_path_OCAMLMKTOP="$as_dir/$ac_word$ac_exec_ext"
2147
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2148
2220
    break 2
2149
2221
  fi
2150
2222
done
2151
 
done
 
2223
  done
2152
2224
IFS=$as_save_IFS
2153
2225
 
2154
2226
  test -z "$ac_cv_path_OCAMLMKTOP" && ac_cv_path_OCAMLMKTOP="no"
2157
2229
fi
2158
2230
OCAMLMKTOP=$ac_cv_path_OCAMLMKTOP
2159
2231
if test -n "$OCAMLMKTOP"; then
2160
 
  { echo "$as_me:$LINENO: result: $OCAMLMKTOP" >&5
2161
 
echo "${ECHO_T}$OCAMLMKTOP" >&6; }
 
2232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
 
2233
$as_echo "$OCAMLMKTOP" >&6; }
2162
2234
else
2163
 
  { echo "$as_me:$LINENO: result: no" >&5
2164
 
echo "${ECHO_T}no" >&6; }
 
2235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2236
$as_echo "no" >&6; }
2165
2237
fi
2166
2238
 
2167
2239
 
2168
2240
if test "$OCAMLMKTOP" = no ; then
2169
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamlmktop." >&5
2170
 
echo "$as_me: error: Cannot find ocamlmktop." >&2;}
2171
 
   { (exit 1); exit 1; }; }
 
2241
        as_fn_error "Cannot find ocamlmktop." "$LINENO" 5
2172
2242
fi
2173
2243
 
2174
2244
CAMLLIBPATH=`$OCAMLC -where`
2181
2251
if test -n "$ac_tool_prefix"; then
2182
2252
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2183
2253
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2184
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2185
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186
 
if test "${ac_cv_prog_CC+set}" = set; then
2187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2255
$as_echo_n "checking for $ac_word... " >&6; }
 
2256
if test "${ac_cv_prog_CC+set}" = set; then :
 
2257
  $as_echo_n "(cached) " >&6
2188
2258
else
2189
2259
  if test -n "$CC"; then
2190
2260
  ac_cv_prog_CC="$CC" # Let the user override the test.
2194
2264
do
2195
2265
  IFS=$as_save_IFS
2196
2266
  test -z "$as_dir" && as_dir=.
2197
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2267
    for ac_exec_ext in '' $ac_executable_extensions; do
2198
2268
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199
2269
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2200
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2270
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2201
2271
    break 2
2202
2272
  fi
2203
2273
done
2204
 
done
 
2274
  done
2205
2275
IFS=$as_save_IFS
2206
2276
 
2207
2277
fi
2208
2278
fi
2209
2279
CC=$ac_cv_prog_CC
2210
2280
if test -n "$CC"; then
2211
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2212
 
echo "${ECHO_T}$CC" >&6; }
 
2281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2282
$as_echo "$CC" >&6; }
2213
2283
else
2214
 
  { echo "$as_me:$LINENO: result: no" >&5
2215
 
echo "${ECHO_T}no" >&6; }
 
2284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2285
$as_echo "no" >&6; }
2216
2286
fi
2217
2287
 
2218
2288
 
2221
2291
  ac_ct_CC=$CC
2222
2292
  # Extract the first word of "gcc", so it can be a program name with args.
2223
2293
set dummy gcc; ac_word=$2
2224
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2225
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2226
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2295
$as_echo_n "checking for $ac_word... " >&6; }
 
2296
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2297
  $as_echo_n "(cached) " >&6
2228
2298
else
2229
2299
  if test -n "$ac_ct_CC"; then
2230
2300
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2234
2304
do
2235
2305
  IFS=$as_save_IFS
2236
2306
  test -z "$as_dir" && as_dir=.
2237
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2307
    for ac_exec_ext in '' $ac_executable_extensions; do
2238
2308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239
2309
    ac_cv_prog_ac_ct_CC="gcc"
2240
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2310
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2241
2311
    break 2
2242
2312
  fi
2243
2313
done
2244
 
done
 
2314
  done
2245
2315
IFS=$as_save_IFS
2246
2316
 
2247
2317
fi
2248
2318
fi
2249
2319
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2250
2320
if test -n "$ac_ct_CC"; then
2251
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2252
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2322
$as_echo "$ac_ct_CC" >&6; }
2253
2323
else
2254
 
  { echo "$as_me:$LINENO: result: no" >&5
2255
 
echo "${ECHO_T}no" >&6; }
 
2324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2325
$as_echo "no" >&6; }
2256
2326
fi
2257
2327
 
2258
2328
  if test "x$ac_ct_CC" = x; then
2260
2330
  else
2261
2331
    case $cross_compiling:$ac_tool_warned in
2262
2332
yes:)
2263
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2264
 
whose name does not start with the host triplet.  If you think this
2265
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2266
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2267
 
whose name does not start with the host triplet.  If you think this
2268
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2333
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2334
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2269
2335
ac_tool_warned=yes ;;
2270
2336
esac
2271
2337
    CC=$ac_ct_CC
2278
2344
          if test -n "$ac_tool_prefix"; then
2279
2345
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2280
2346
set dummy ${ac_tool_prefix}cc; ac_word=$2
2281
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2282
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2283
 
if test "${ac_cv_prog_CC+set}" = set; then
2284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2348
$as_echo_n "checking for $ac_word... " >&6; }
 
2349
if test "${ac_cv_prog_CC+set}" = set; then :
 
2350
  $as_echo_n "(cached) " >&6
2285
2351
else
2286
2352
  if test -n "$CC"; then
2287
2353
  ac_cv_prog_CC="$CC" # Let the user override the test.
2291
2357
do
2292
2358
  IFS=$as_save_IFS
2293
2359
  test -z "$as_dir" && as_dir=.
2294
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2360
    for ac_exec_ext in '' $ac_executable_extensions; do
2295
2361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296
2362
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2297
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2363
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2298
2364
    break 2
2299
2365
  fi
2300
2366
done
2301
 
done
 
2367
  done
2302
2368
IFS=$as_save_IFS
2303
2369
 
2304
2370
fi
2305
2371
fi
2306
2372
CC=$ac_cv_prog_CC
2307
2373
if test -n "$CC"; then
2308
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2309
 
echo "${ECHO_T}$CC" >&6; }
 
2374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2375
$as_echo "$CC" >&6; }
2310
2376
else
2311
 
  { echo "$as_me:$LINENO: result: no" >&5
2312
 
echo "${ECHO_T}no" >&6; }
 
2377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2378
$as_echo "no" >&6; }
2313
2379
fi
2314
2380
 
2315
2381
 
2318
2384
if test -z "$CC"; then
2319
2385
  # Extract the first word of "cc", so it can be a program name with args.
2320
2386
set dummy cc; ac_word=$2
2321
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2322
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2323
 
if test "${ac_cv_prog_CC+set}" = set; then
2324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2388
$as_echo_n "checking for $ac_word... " >&6; }
 
2389
if test "${ac_cv_prog_CC+set}" = set; then :
 
2390
  $as_echo_n "(cached) " >&6
2325
2391
else
2326
2392
  if test -n "$CC"; then
2327
2393
  ac_cv_prog_CC="$CC" # Let the user override the test.
2332
2398
do
2333
2399
  IFS=$as_save_IFS
2334
2400
  test -z "$as_dir" && as_dir=.
2335
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2401
    for ac_exec_ext in '' $ac_executable_extensions; do
2336
2402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337
2403
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2338
2404
       ac_prog_rejected=yes
2339
2405
       continue
2340
2406
     fi
2341
2407
    ac_cv_prog_CC="cc"
2342
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2408
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2343
2409
    break 2
2344
2410
  fi
2345
2411
done
2346
 
done
 
2412
  done
2347
2413
IFS=$as_save_IFS
2348
2414
 
2349
2415
if test $ac_prog_rejected = yes; then
2362
2428
fi
2363
2429
CC=$ac_cv_prog_CC
2364
2430
if test -n "$CC"; then
2365
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2366
 
echo "${ECHO_T}$CC" >&6; }
 
2431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2432
$as_echo "$CC" >&6; }
2367
2433
else
2368
 
  { echo "$as_me:$LINENO: result: no" >&5
2369
 
echo "${ECHO_T}no" >&6; }
 
2434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2435
$as_echo "no" >&6; }
2370
2436
fi
2371
2437
 
2372
2438
 
2377
2443
  do
2378
2444
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2379
2445
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2380
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2381
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2382
 
if test "${ac_cv_prog_CC+set}" = set; then
2383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2447
$as_echo_n "checking for $ac_word... " >&6; }
 
2448
if test "${ac_cv_prog_CC+set}" = set; then :
 
2449
  $as_echo_n "(cached) " >&6
2384
2450
else
2385
2451
  if test -n "$CC"; then
2386
2452
  ac_cv_prog_CC="$CC" # Let the user override the test.
2390
2456
do
2391
2457
  IFS=$as_save_IFS
2392
2458
  test -z "$as_dir" && as_dir=.
2393
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2459
    for ac_exec_ext in '' $ac_executable_extensions; do
2394
2460
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395
2461
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2396
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2462
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397
2463
    break 2
2398
2464
  fi
2399
2465
done
2400
 
done
 
2466
  done
2401
2467
IFS=$as_save_IFS
2402
2468
 
2403
2469
fi
2404
2470
fi
2405
2471
CC=$ac_cv_prog_CC
2406
2472
if test -n "$CC"; then
2407
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2408
 
echo "${ECHO_T}$CC" >&6; }
 
2473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2474
$as_echo "$CC" >&6; }
2409
2475
else
2410
 
  { echo "$as_me:$LINENO: result: no" >&5
2411
 
echo "${ECHO_T}no" >&6; }
 
2476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2477
$as_echo "no" >&6; }
2412
2478
fi
2413
2479
 
2414
2480
 
2421
2487
do
2422
2488
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2423
2489
set dummy $ac_prog; ac_word=$2
2424
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2425
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2491
$as_echo_n "checking for $ac_word... " >&6; }
 
2492
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2493
  $as_echo_n "(cached) " >&6
2428
2494
else
2429
2495
  if test -n "$ac_ct_CC"; then
2430
2496
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2434
2500
do
2435
2501
  IFS=$as_save_IFS
2436
2502
  test -z "$as_dir" && as_dir=.
2437
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2503
    for ac_exec_ext in '' $ac_executable_extensions; do
2438
2504
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439
2505
    ac_cv_prog_ac_ct_CC="$ac_prog"
2440
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2506
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441
2507
    break 2
2442
2508
  fi
2443
2509
done
2444
 
done
 
2510
  done
2445
2511
IFS=$as_save_IFS
2446
2512
 
2447
2513
fi
2448
2514
fi
2449
2515
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2450
2516
if test -n "$ac_ct_CC"; then
2451
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2452
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2518
$as_echo "$ac_ct_CC" >&6; }
2453
2519
else
2454
 
  { echo "$as_me:$LINENO: result: no" >&5
2455
 
echo "${ECHO_T}no" >&6; }
 
2520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2521
$as_echo "no" >&6; }
2456
2522
fi
2457
2523
 
2458
2524
 
2464
2530
  else
2465
2531
    case $cross_compiling:$ac_tool_warned in
2466
2532
yes:)
2467
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2468
 
whose name does not start with the host triplet.  If you think this
2469
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2470
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2471
 
whose name does not start with the host triplet.  If you think this
2472
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2533
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2534
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2473
2535
ac_tool_warned=yes ;;
2474
2536
esac
2475
2537
    CC=$ac_ct_CC
2479
2541
fi
2480
2542
 
2481
2543
 
2482
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2483
 
See \`config.log' for more details." >&5
2484
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2485
 
See \`config.log' for more details." >&2;}
2486
 
   { (exit 1); exit 1; }; }
 
2544
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2546
as_fn_error "no acceptable C compiler found in \$PATH
 
2547
See \`config.log' for more details." "$LINENO" 5; }
2487
2548
 
2488
2549
# Provide some information about the compiler.
2489
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2490
 
ac_compiler=`set X $ac_compile; echo $2`
2491
 
{ (ac_try="$ac_compiler --version >&5"
2492
 
case "(($ac_try" in
2493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494
 
  *) ac_try_echo=$ac_try;;
2495
 
esac
2496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2497
 
  (eval "$ac_compiler --version >&5") 2>&5
2498
 
  ac_status=$?
2499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
 
  (exit $ac_status); }
2501
 
{ (ac_try="$ac_compiler -v >&5"
2502
 
case "(($ac_try" in
2503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504
 
  *) ac_try_echo=$ac_try;;
2505
 
esac
2506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507
 
  (eval "$ac_compiler -v >&5") 2>&5
2508
 
  ac_status=$?
2509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
 
  (exit $ac_status); }
2511
 
{ (ac_try="$ac_compiler -V >&5"
2512
 
case "(($ac_try" in
2513
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514
 
  *) ac_try_echo=$ac_try;;
2515
 
esac
2516
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2517
 
  (eval "$ac_compiler -V >&5") 2>&5
2518
 
  ac_status=$?
2519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520
 
  (exit $ac_status); }
 
2550
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
2551
set X $ac_compile
 
2552
ac_compiler=$2
 
2553
for ac_option in --version -v -V -qversion; do
 
2554
  { { ac_try="$ac_compiler $ac_option >&5"
 
2555
case "(($ac_try" in
 
2556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2557
  *) ac_try_echo=$ac_try;;
 
2558
esac
 
2559
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2560
$as_echo "$ac_try_echo"; } >&5
 
2561
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2562
  ac_status=$?
 
2563
  if test -s conftest.err; then
 
2564
    sed '10a\
 
2565
... rest of stderr output deleted ...
 
2566
         10q' conftest.err >conftest.er1
 
2567
    cat conftest.er1 >&5
 
2568
    rm -f conftest.er1 conftest.err
 
2569
  fi
 
2570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2571
  test $ac_status = 0; }
 
2572
done
2521
2573
 
2522
 
cat >conftest.$ac_ext <<_ACEOF
2523
 
/* confdefs.h.  */
2524
 
_ACEOF
2525
 
cat confdefs.h >>conftest.$ac_ext
2526
 
cat >>conftest.$ac_ext <<_ACEOF
 
2574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527
2575
/* end confdefs.h.  */
2528
 
 
 
2576
#include <stdio.h>
2529
2577
int
2530
2578
main ()
2531
2579
{
 
2580
FILE *f = fopen ("conftest.out", "w");
 
2581
 return ferror (f) || fclose (f) != 0;
2532
2582
 
2533
2583
  ;
2534
2584
  return 0;
2535
2585
}
2536
2586
_ACEOF
2537
2587
ac_clean_files_save=$ac_clean_files
2538
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2588
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2539
2589
# Try to create an executable without -o first, disregard a.out.
2540
2590
# It will help us diagnose broken compilers, and finding out an intuition
2541
2591
# of exeext.
2542
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2543
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2544
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2545
 
#
2546
 
# List of possible output files, starting from the most likely.
2547
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2548
 
# only as a last resort.  b.out is created by i960 compilers.
2549
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2550
 
#
2551
 
# The IRIX 6 linker writes into existing files which may not be
2552
 
# executable, retaining their permissions.  Remove them first so a
2553
 
# subsequent execution test works.
 
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
2593
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2594
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2595
 
 
2596
# The possible output files:
 
2597
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2598
 
2554
2599
ac_rmfiles=
2555
2600
for ac_file in $ac_files
2556
2601
do
2557
2602
  case $ac_file in
2558
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2603
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2559
2604
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2560
2605
  esac
2561
2606
done
2562
2607
rm -f $ac_rmfiles
2563
2608
 
2564
 
if { (ac_try="$ac_link_default"
 
2609
if { { ac_try="$ac_link_default"
2565
2610
case "(($ac_try" in
2566
2611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567
2612
  *) ac_try_echo=$ac_try;;
2568
2613
esac
2569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2614
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2615
$as_echo "$ac_try_echo"; } >&5
2570
2616
  (eval "$ac_link_default") 2>&5
2571
2617
  ac_status=$?
2572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
 
  (exit $ac_status); }; then
 
2618
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2619
  test $ac_status = 0; }; then :
2574
2620
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2575
2621
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2576
2622
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2580
2626
do
2581
2627
  test -f "$ac_file" || continue
2582
2628
  case $ac_file in
2583
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2629
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2584
2630
        ;;
2585
2631
    [ab].out )
2586
2632
        # We found the default executable, but exeext='' is most
2587
2633
        # certainly right.
2588
2634
        break;;
2589
2635
    *.* )
2590
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2636
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2591
2637
        then :; else
2592
2638
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2593
2639
        fi
2606
2652
else
2607
2653
  ac_file=''
2608
2654
fi
2609
 
 
2610
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2611
 
echo "${ECHO_T}$ac_file" >&6; }
2612
 
if test -z "$ac_file"; then
2613
 
  echo "$as_me: failed program was:" >&5
 
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2656
$as_echo "$ac_file" >&6; }
 
2657
if test -z "$ac_file"; then :
 
2658
  $as_echo "$as_me: failed program was:" >&5
2614
2659
sed 's/^/| /' conftest.$ac_ext >&5
2615
2660
 
2616
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2617
 
See \`config.log' for more details." >&5
2618
 
echo "$as_me: error: C compiler cannot create executables
2619
 
See \`config.log' for more details." >&2;}
2620
 
   { (exit 77); exit 77; }; }
 
2661
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2663
{ as_fn_set_status 77
 
2664
as_fn_error "C compiler cannot create executables
 
2665
See \`config.log' for more details." "$LINENO" 5; }; }
2621
2666
fi
2622
 
 
2623
2667
ac_exeext=$ac_cv_exeext
2624
2668
 
2625
2669
# Check that the compiler produces executables we can run.  If not, either
2626
2670
# the compiler is broken, or we cross compile.
2627
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2628
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2629
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2672
$as_echo_n "checking whether the C compiler works... " >&6; }
2630
2673
# If not cross compiling, check that we can run a simple program.
2631
2674
if test "$cross_compiling" != yes; then
2632
2675
  if { ac_try='./$ac_file'
2633
 
  { (case "(($ac_try" in
 
2676
  { { case "(($ac_try" in
2634
2677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635
2678
  *) ac_try_echo=$ac_try;;
2636
2679
esac
2637
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2680
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2681
$as_echo "$ac_try_echo"; } >&5
2638
2682
  (eval "$ac_try") 2>&5
2639
2683
  ac_status=$?
2640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641
 
  (exit $ac_status); }; }; then
 
2684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2685
  test $ac_status = 0; }; }; then
2642
2686
    cross_compiling=no
2643
2687
  else
2644
2688
    if test "$cross_compiling" = maybe; then
2645
2689
        cross_compiling=yes
2646
2690
    else
2647
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2648
 
If you meant to cross compile, use \`--host'.
2649
 
See \`config.log' for more details." >&5
2650
 
echo "$as_me: error: cannot run C compiled programs.
2651
 
If you meant to cross compile, use \`--host'.
2652
 
See \`config.log' for more details." >&2;}
2653
 
   { (exit 1); exit 1; }; }
 
2691
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2692
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2693
as_fn_error "cannot run C compiled programs.
 
2694
If you meant to cross compile, use \`--host'.
 
2695
See \`config.log' for more details." "$LINENO" 5; }
2654
2696
    fi
2655
2697
  fi
2656
2698
fi
2657
 
{ echo "$as_me:$LINENO: result: yes" >&5
2658
 
echo "${ECHO_T}yes" >&6; }
 
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2700
$as_echo "yes" >&6; }
2659
2701
 
2660
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2702
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2661
2703
ac_clean_files=$ac_clean_files_save
2662
2704
# Check that the compiler produces executables we can run.  If not, either
2663
2705
# the compiler is broken, or we cross compile.
2664
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2665
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2666
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2667
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2707
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2709
$as_echo "$cross_compiling" >&6; }
2668
2710
 
2669
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2670
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2671
 
if { (ac_try="$ac_link"
 
2711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
2712
$as_echo_n "checking for suffix of executables... " >&6; }
 
2713
if { { ac_try="$ac_link"
2672
2714
case "(($ac_try" in
2673
2715
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674
2716
  *) ac_try_echo=$ac_try;;
2675
2717
esac
2676
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2718
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2719
$as_echo "$ac_try_echo"; } >&5
2677
2720
  (eval "$ac_link") 2>&5
2678
2721
  ac_status=$?
2679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680
 
  (exit $ac_status); }; then
 
2722
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2723
  test $ac_status = 0; }; then :
2681
2724
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2682
2725
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2683
2726
# work properly (i.e., refer to `conftest.exe'), while it won't with
2685
2728
for ac_file in conftest.exe conftest conftest.*; do
2686
2729
  test -f "$ac_file" || continue
2687
2730
  case $ac_file in
2688
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2731
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2689
2732
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690
2733
          break;;
2691
2734
    * ) break;;
2692
2735
  esac
2693
2736
done
2694
2737
else
2695
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2696
 
See \`config.log' for more details." >&5
2697
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2698
 
See \`config.log' for more details." >&2;}
2699
 
   { (exit 1); exit 1; }; }
 
2738
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2739
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2740
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
2741
See \`config.log' for more details." "$LINENO" 5; }
2700
2742
fi
2701
 
 
2702
2743
rm -f conftest$ac_cv_exeext
2703
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2704
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
2745
$as_echo "$ac_cv_exeext" >&6; }
2705
2746
 
2706
2747
rm -f conftest.$ac_ext
2707
2748
EXEEXT=$ac_cv_exeext
2708
2749
ac_exeext=$EXEEXT
2709
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2710
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2711
 
if test "${ac_cv_objext+set}" = set; then
2712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
2751
$as_echo_n "checking for suffix of object files... " >&6; }
 
2752
if test "${ac_cv_objext+set}" = set; then :
 
2753
  $as_echo_n "(cached) " >&6
2713
2754
else
2714
 
  cat >conftest.$ac_ext <<_ACEOF
2715
 
/* confdefs.h.  */
2716
 
_ACEOF
2717
 
cat confdefs.h >>conftest.$ac_ext
2718
 
cat >>conftest.$ac_ext <<_ACEOF
 
2755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719
2756
/* end confdefs.h.  */
2720
2757
 
2721
2758
int
2727
2764
}
2728
2765
_ACEOF
2729
2766
rm -f conftest.o conftest.obj
2730
 
if { (ac_try="$ac_compile"
 
2767
if { { ac_try="$ac_compile"
2731
2768
case "(($ac_try" in
2732
2769
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733
2770
  *) ac_try_echo=$ac_try;;
2734
2771
esac
2735
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2772
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2773
$as_echo "$ac_try_echo"; } >&5
2736
2774
  (eval "$ac_compile") 2>&5
2737
2775
  ac_status=$?
2738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739
 
  (exit $ac_status); }; then
 
2776
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2777
  test $ac_status = 0; }; then :
2740
2778
  for ac_file in conftest.o conftest.obj conftest.*; do
2741
2779
  test -f "$ac_file" || continue;
2742
2780
  case $ac_file in
2743
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2781
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2744
2782
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2745
2783
       break;;
2746
2784
  esac
2747
2785
done
2748
2786
else
2749
 
  echo "$as_me: failed program was:" >&5
 
2787
  $as_echo "$as_me: failed program was:" >&5
2750
2788
sed 's/^/| /' conftest.$ac_ext >&5
2751
2789
 
2752
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2753
 
See \`config.log' for more details." >&5
2754
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2755
 
See \`config.log' for more details." >&2;}
2756
 
   { (exit 1); exit 1; }; }
 
2790
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2791
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2792
as_fn_error "cannot compute suffix of object files: cannot compile
 
2793
See \`config.log' for more details." "$LINENO" 5; }
2757
2794
fi
2758
 
 
2759
2795
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2760
2796
fi
2761
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2762
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
2798
$as_echo "$ac_cv_objext" >&6; }
2763
2799
OBJEXT=$ac_cv_objext
2764
2800
ac_objext=$OBJEXT
2765
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2766
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2767
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2768
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
2802
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
2803
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
2804
  $as_echo_n "(cached) " >&6
2769
2805
else
2770
 
  cat >conftest.$ac_ext <<_ACEOF
2771
 
/* confdefs.h.  */
2772
 
_ACEOF
2773
 
cat confdefs.h >>conftest.$ac_ext
2774
 
cat >>conftest.$ac_ext <<_ACEOF
 
2806
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775
2807
/* end confdefs.h.  */
2776
2808
 
2777
2809
int
2785
2817
  return 0;
2786
2818
}
2787
2819
_ACEOF
2788
 
rm -f conftest.$ac_objext
2789
 
if { (ac_try="$ac_compile"
2790
 
case "(($ac_try" in
2791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792
 
  *) ac_try_echo=$ac_try;;
2793
 
esac
2794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795
 
  (eval "$ac_compile") 2>conftest.er1
2796
 
  ac_status=$?
2797
 
  grep -v '^ *+' conftest.er1 >conftest.err
2798
 
  rm -f conftest.er1
2799
 
  cat conftest.err >&5
2800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801
 
  (exit $ac_status); } && {
2802
 
         test -z "$ac_c_werror_flag" ||
2803
 
         test ! -s conftest.err
2804
 
       } && test -s conftest.$ac_objext; then
 
2820
if ac_fn_c_try_compile "$LINENO"; then :
2805
2821
  ac_compiler_gnu=yes
2806
2822
else
2807
 
  echo "$as_me: failed program was:" >&5
2808
 
sed 's/^/| /' conftest.$ac_ext >&5
2809
 
 
2810
 
        ac_compiler_gnu=no
 
2823
  ac_compiler_gnu=no
2811
2824
fi
2812
 
 
2813
2825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814
2826
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2815
2827
 
2816
2828
fi
2817
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2818
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2819
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
2830
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2831
if test $ac_compiler_gnu = yes; then
 
2832
  GCC=yes
 
2833
else
 
2834
  GCC=
 
2835
fi
2820
2836
ac_test_CFLAGS=${CFLAGS+set}
2821
2837
ac_save_CFLAGS=$CFLAGS
2822
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2823
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2824
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2825
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
2839
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
2840
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
2841
  $as_echo_n "(cached) " >&6
2826
2842
else
2827
2843
  ac_save_c_werror_flag=$ac_c_werror_flag
2828
2844
   ac_c_werror_flag=yes
2829
2845
   ac_cv_prog_cc_g=no
2830
2846
   CFLAGS="-g"
2831
 
   cat >conftest.$ac_ext <<_ACEOF
2832
 
/* confdefs.h.  */
2833
 
_ACEOF
2834
 
cat confdefs.h >>conftest.$ac_ext
2835
 
cat >>conftest.$ac_ext <<_ACEOF
 
2847
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836
2848
/* end confdefs.h.  */
2837
2849
 
2838
2850
int
2843
2855
  return 0;
2844
2856
}
2845
2857
_ACEOF
2846
 
rm -f conftest.$ac_objext
2847
 
if { (ac_try="$ac_compile"
2848
 
case "(($ac_try" in
2849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850
 
  *) ac_try_echo=$ac_try;;
2851
 
esac
2852
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853
 
  (eval "$ac_compile") 2>conftest.er1
2854
 
  ac_status=$?
2855
 
  grep -v '^ *+' conftest.er1 >conftest.err
2856
 
  rm -f conftest.er1
2857
 
  cat conftest.err >&5
2858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859
 
  (exit $ac_status); } && {
2860
 
         test -z "$ac_c_werror_flag" ||
2861
 
         test ! -s conftest.err
2862
 
       } && test -s conftest.$ac_objext; then
 
2858
if ac_fn_c_try_compile "$LINENO"; then :
2863
2859
  ac_cv_prog_cc_g=yes
2864
2860
else
2865
 
  echo "$as_me: failed program was:" >&5
2866
 
sed 's/^/| /' conftest.$ac_ext >&5
2867
 
 
2868
 
        CFLAGS=""
2869
 
      cat >conftest.$ac_ext <<_ACEOF
2870
 
/* confdefs.h.  */
2871
 
_ACEOF
2872
 
cat confdefs.h >>conftest.$ac_ext
2873
 
cat >>conftest.$ac_ext <<_ACEOF
 
2861
  CFLAGS=""
 
2862
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874
2863
/* end confdefs.h.  */
2875
2864
 
2876
2865
int
2881
2870
  return 0;
2882
2871
}
2883
2872
_ACEOF
2884
 
rm -f conftest.$ac_objext
2885
 
if { (ac_try="$ac_compile"
2886
 
case "(($ac_try" in
2887
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888
 
  *) ac_try_echo=$ac_try;;
2889
 
esac
2890
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891
 
  (eval "$ac_compile") 2>conftest.er1
2892
 
  ac_status=$?
2893
 
  grep -v '^ *+' conftest.er1 >conftest.err
2894
 
  rm -f conftest.er1
2895
 
  cat conftest.err >&5
2896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897
 
  (exit $ac_status); } && {
2898
 
         test -z "$ac_c_werror_flag" ||
2899
 
         test ! -s conftest.err
2900
 
       } && test -s conftest.$ac_objext; then
2901
 
  :
 
2873
if ac_fn_c_try_compile "$LINENO"; then :
 
2874
 
2902
2875
else
2903
 
  echo "$as_me: failed program was:" >&5
2904
 
sed 's/^/| /' conftest.$ac_ext >&5
2905
 
 
2906
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2876
  ac_c_werror_flag=$ac_save_c_werror_flag
2907
2877
         CFLAGS="-g"
2908
 
         cat >conftest.$ac_ext <<_ACEOF
2909
 
/* confdefs.h.  */
2910
 
_ACEOF
2911
 
cat confdefs.h >>conftest.$ac_ext
2912
 
cat >>conftest.$ac_ext <<_ACEOF
 
2878
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913
2879
/* end confdefs.h.  */
2914
2880
 
2915
2881
int
2920
2886
  return 0;
2921
2887
}
2922
2888
_ACEOF
2923
 
rm -f conftest.$ac_objext
2924
 
if { (ac_try="$ac_compile"
2925
 
case "(($ac_try" in
2926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927
 
  *) ac_try_echo=$ac_try;;
2928
 
esac
2929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930
 
  (eval "$ac_compile") 2>conftest.er1
2931
 
  ac_status=$?
2932
 
  grep -v '^ *+' conftest.er1 >conftest.err
2933
 
  rm -f conftest.er1
2934
 
  cat conftest.err >&5
2935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936
 
  (exit $ac_status); } && {
2937
 
         test -z "$ac_c_werror_flag" ||
2938
 
         test ! -s conftest.err
2939
 
       } && test -s conftest.$ac_objext; then
 
2889
if ac_fn_c_try_compile "$LINENO"; then :
2940
2890
  ac_cv_prog_cc_g=yes
2941
 
else
2942
 
  echo "$as_me: failed program was:" >&5
2943
 
sed 's/^/| /' conftest.$ac_ext >&5
2944
 
 
2945
 
 
2946
 
fi
2947
 
 
2948
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949
 
fi
2950
 
 
2951
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952
 
fi
2953
 
 
 
2891
fi
 
2892
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2893
fi
 
2894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2895
fi
2954
2896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955
2897
   ac_c_werror_flag=$ac_save_c_werror_flag
2956
2898
fi
2957
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2958
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
2899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
2900
$as_echo "$ac_cv_prog_cc_g" >&6; }
2959
2901
if test "$ac_test_CFLAGS" = set; then
2960
2902
  CFLAGS=$ac_save_CFLAGS
2961
2903
elif test $ac_cv_prog_cc_g = yes; then
2971
2913
    CFLAGS=
2972
2914
  fi
2973
2915
fi
2974
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2975
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2976
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
2977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
2917
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
2918
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
2919
  $as_echo_n "(cached) " >&6
2978
2920
else
2979
2921
  ac_cv_prog_cc_c89=no
2980
2922
ac_save_CC=$CC
2981
 
cat >conftest.$ac_ext <<_ACEOF
2982
 
/* confdefs.h.  */
2983
 
_ACEOF
2984
 
cat confdefs.h >>conftest.$ac_ext
2985
 
cat >>conftest.$ac_ext <<_ACEOF
 
2923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986
2924
/* end confdefs.h.  */
2987
2925
#include <stdarg.h>
2988
2926
#include <stdio.h>
3039
2977
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3040
2978
do
3041
2979
  CC="$ac_save_CC $ac_arg"
3042
 
  rm -f conftest.$ac_objext
3043
 
if { (ac_try="$ac_compile"
3044
 
case "(($ac_try" in
3045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046
 
  *) ac_try_echo=$ac_try;;
3047
 
esac
3048
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049
 
  (eval "$ac_compile") 2>conftest.er1
3050
 
  ac_status=$?
3051
 
  grep -v '^ *+' conftest.er1 >conftest.err
3052
 
  rm -f conftest.er1
3053
 
  cat conftest.err >&5
3054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
 
  (exit $ac_status); } && {
3056
 
         test -z "$ac_c_werror_flag" ||
3057
 
         test ! -s conftest.err
3058
 
       } && test -s conftest.$ac_objext; then
 
2980
  if ac_fn_c_try_compile "$LINENO"; then :
3059
2981
  ac_cv_prog_cc_c89=$ac_arg
3060
 
else
3061
 
  echo "$as_me: failed program was:" >&5
3062
 
sed 's/^/| /' conftest.$ac_ext >&5
3063
 
 
3064
 
 
3065
2982
fi
3066
 
 
3067
2983
rm -f core conftest.err conftest.$ac_objext
3068
2984
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3069
2985
done
3074
2990
# AC_CACHE_VAL
3075
2991
case "x$ac_cv_prog_cc_c89" in
3076
2992
  x)
3077
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3078
 
echo "${ECHO_T}none needed" >&6; } ;;
 
2993
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
2994
$as_echo "none needed" >&6; } ;;
3079
2995
  xno)
3080
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3081
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
2996
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
2997
$as_echo "unsupported" >&6; } ;;
3082
2998
  *)
3083
2999
    CC="$CC $ac_cv_prog_cc_c89"
3084
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3085
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3000
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3001
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3086
3002
esac
 
3003
if test "x$ac_cv_prog_cc_c89" != xno; then :
3087
3004
 
 
3005
fi
3088
3006
 
3089
3007
ac_ext=c
3090
3008
ac_cpp='$CPP $CPPFLAGS'
3097
3015
# PKG_CHECK_MODULES([OGG],[ogg])
3098
3016
# Extract the first word of "pkg-config", so it can be a program name with args.
3099
3017
set dummy pkg-config; ac_word=$2
3100
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3101
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3102
 
if test "${ac_cv_path_PKGCONFIG+set}" = set; then
3103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3019
$as_echo_n "checking for $ac_word... " >&6; }
 
3020
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
 
3021
  $as_echo_n "(cached) " >&6
3104
3022
else
3105
3023
  case $PKGCONFIG in
3106
3024
  [\\/]* | ?:[\\/]*)
3112
3030
do
3113
3031
  IFS=$as_save_IFS
3114
3032
  test -z "$as_dir" && as_dir=.
3115
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3033
    for ac_exec_ext in '' $ac_executable_extensions; do
3116
3034
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117
3035
    ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
3118
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3036
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119
3037
    break 2
3120
3038
  fi
3121
3039
done
3122
 
done
 
3040
  done
3123
3041
IFS=$as_save_IFS
3124
3042
 
3125
3043
  test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no"
3128
3046
fi
3129
3047
PKGCONFIG=$ac_cv_path_PKGCONFIG
3130
3048
if test -n "$PKGCONFIG"; then
3131
 
  { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
3132
 
echo "${ECHO_T}$PKGCONFIG" >&6; }
 
3049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
 
3050
$as_echo "$PKGCONFIG" >&6; }
3133
3051
else
3134
 
  { echo "$as_me:$LINENO: result: no" >&5
3135
 
echo "${ECHO_T}no" >&6; }
 
3052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3053
$as_echo "no" >&6; }
3136
3054
fi
3137
3055
 
3138
3056
 
3139
3057
if test "$PKGCONFIG" = no; then
3140
 
        { { echo "$as_me:$LINENO: error: pkg-config not found." >&5
3141
 
echo "$as_me: error: pkg-config not found." >&2;}
3142
 
   { (exit 1); exit 1; }; }
 
3058
        as_fn_error "pkg-config not found." "$LINENO" 5
3143
3059
fi
3144
3060
if ! $PKGCONFIG --exists ogg; then
3145
 
        { { echo "$as_me:$LINENO: error: libogg not found." >&5
3146
 
echo "$as_me: error: libogg not found." >&2;}
3147
 
   { (exit 1); exit 1; }; }
 
3061
        as_fn_error "libogg not found." "$LINENO" 5
3148
3062
fi
3149
3063
OGG_LDFLAGS=`$PKGCONFIG --libs-only-L ogg`
3150
3064
 
3155
3069
 
3156
3070
#PKG_CHECK_MODULES([VORBIS],[vorbis vorbisenc vorbisfile])
3157
3071
if ! $PKGCONFIG --exists vorbis vorbisenc vorbisfile; then
3158
 
        { { echo "$as_me:$LINENO: error: libvorbis not found." >&5
3159
 
echo "$as_me: error: libvorbis not found." >&2;}
3160
 
   { (exit 1); exit 1; }; }
 
3072
        as_fn_error "libvorbis not found." "$LINENO" 5
3161
3073
fi
3162
3074
VORBIS_LDFLAGS=`$PKGCONFIG --libs-only-L vorbis vorbisenc vorbisfile`
3163
3075
 
3169
3081
# other progs
3170
3082
# Extract the first word of "ocamlfind", so it can be a program name with args.
3171
3083
set dummy ocamlfind; ac_word=$2
3172
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3173
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3174
 
if test "${ac_cv_path_OCAMLFIND+set}" = set; then
3175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3085
$as_echo_n "checking for $ac_word... " >&6; }
 
3086
if test "${ac_cv_path_OCAMLFIND+set}" = set; then :
 
3087
  $as_echo_n "(cached) " >&6
3176
3088
else
3177
3089
  case $OCAMLFIND in
3178
3090
  [\\/]* | ?:[\\/]*)
3184
3096
do
3185
3097
  IFS=$as_save_IFS
3186
3098
  test -z "$as_dir" && as_dir=.
3187
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3099
    for ac_exec_ext in '' $ac_executable_extensions; do
3188
3100
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189
3101
    ac_cv_path_OCAMLFIND="$as_dir/$ac_word$ac_exec_ext"
3190
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3102
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191
3103
    break 2
3192
3104
  fi
3193
3105
done
3194
 
done
 
3106
  done
3195
3107
IFS=$as_save_IFS
3196
3108
 
3197
3109
  test -z "$ac_cv_path_OCAMLFIND" && ac_cv_path_OCAMLFIND="no"
3200
3112
fi
3201
3113
OCAMLFIND=$ac_cv_path_OCAMLFIND
3202
3114
if test -n "$OCAMLFIND"; then
3203
 
  { echo "$as_me:$LINENO: result: $OCAMLFIND" >&5
3204
 
echo "${ECHO_T}$OCAMLFIND" >&6; }
 
3115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
 
3116
$as_echo "$OCAMLFIND" >&6; }
3205
3117
else
3206
 
  { echo "$as_me:$LINENO: result: no" >&5
3207
 
echo "${ECHO_T}no" >&6; }
 
3118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3119
$as_echo "no" >&6; }
3208
3120
fi
3209
3121
 
3210
3122
 
3211
3123
if test "$OCAMLFIND" = no ; then
3212
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamlfind." >&5
3213
 
echo "$as_me: error: Cannot find ocamlfind." >&2;}
3214
 
   { (exit 1); exit 1; }; }
 
3124
        as_fn_error "Cannot find ocamlfind." "$LINENO" 5
3215
3125
fi
3216
3126
 
3217
3127
# Extract the first word of "ocamlcp", so it can be a program name with args.
3218
3128
set dummy ocamlcp; ac_word=$2
3219
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3220
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3221
 
if test "${ac_cv_path_OCAMLCP+set}" = set; then
3222
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3130
$as_echo_n "checking for $ac_word... " >&6; }
 
3131
if test "${ac_cv_path_OCAMLCP+set}" = set; then :
 
3132
  $as_echo_n "(cached) " >&6
3223
3133
else
3224
3134
  case $OCAMLCP in
3225
3135
  [\\/]* | ?:[\\/]*)
3231
3141
do
3232
3142
  IFS=$as_save_IFS
3233
3143
  test -z "$as_dir" && as_dir=.
3234
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3144
    for ac_exec_ext in '' $ac_executable_extensions; do
3235
3145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236
3146
    ac_cv_path_OCAMLCP="$as_dir/$ac_word$ac_exec_ext"
3237
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238
3148
    break 2
3239
3149
  fi
3240
3150
done
3241
 
done
 
3151
  done
3242
3152
IFS=$as_save_IFS
3243
3153
 
3244
3154
  test -z "$ac_cv_path_OCAMLCP" && ac_cv_path_OCAMLCP="no"
3247
3157
fi
3248
3158
OCAMLCP=$ac_cv_path_OCAMLCP
3249
3159
if test -n "$OCAMLCP"; then
3250
 
  { echo "$as_me:$LINENO: result: $OCAMLCP" >&5
3251
 
echo "${ECHO_T}$OCAMLCP" >&6; }
 
3160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCP" >&5
 
3161
$as_echo "$OCAMLCP" >&6; }
3252
3162
else
3253
 
  { echo "$as_me:$LINENO: result: no" >&5
3254
 
echo "${ECHO_T}no" >&6; }
 
3163
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3164
$as_echo "no" >&6; }
3255
3165
fi
3256
3166
 
3257
3167
 
3258
3168
if test "$OCAMLCP" = no ; then
3259
 
        { { echo "$as_me:$LINENO: error: Cannot find ocamlcp." >&5
3260
 
echo "$as_me: error: Cannot find ocamlcp." >&2;}
3261
 
   { (exit 1); exit 1; }; }
 
3169
        as_fn_error "Cannot find ocamlcp." "$LINENO" 5
3262
3170
fi
3263
3171
 
3264
3172
# Extract the first word of "latex", so it can be a program name with args.
3265
3173
set dummy latex; ac_word=$2
3266
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3267
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3268
 
if test "${ac_cv_path_LATEX+set}" = set; then
3269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3175
$as_echo_n "checking for $ac_word... " >&6; }
 
3176
if test "${ac_cv_path_LATEX+set}" = set; then :
 
3177
  $as_echo_n "(cached) " >&6
3270
3178
else
3271
3179
  case $LATEX in
3272
3180
  [\\/]* | ?:[\\/]*)
3278
3186
do
3279
3187
  IFS=$as_save_IFS
3280
3188
  test -z "$as_dir" && as_dir=.
3281
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3189
    for ac_exec_ext in '' $ac_executable_extensions; do
3282
3190
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283
3191
    ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
3284
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3192
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285
3193
    break 2
3286
3194
  fi
3287
3195
done
3288
 
done
 
3196
  done
3289
3197
IFS=$as_save_IFS
3290
3198
 
3291
3199
  test -z "$ac_cv_path_LATEX" && ac_cv_path_LATEX="no"
3294
3202
fi
3295
3203
LATEX=$ac_cv_path_LATEX
3296
3204
if test -n "$LATEX"; then
3297
 
  { echo "$as_me:$LINENO: result: $LATEX" >&5
3298
 
echo "${ECHO_T}$LATEX" >&6; }
 
3205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 
3206
$as_echo "$LATEX" >&6; }
3299
3207
else
3300
 
  { echo "$as_me:$LINENO: result: no" >&5
3301
 
echo "${ECHO_T}no" >&6; }
 
3208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3209
$as_echo "no" >&6; }
3302
3210
fi
3303
3211
 
3304
3212
 
3308
3216
 
3309
3217
# Extract the first word of "dvips", so it can be a program name with args.
3310
3218
set dummy dvips; ac_word=$2
3311
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3312
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3313
 
if test "${ac_cv_path_DVIPS+set}" = set; then
3314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3220
$as_echo_n "checking for $ac_word... " >&6; }
 
3221
if test "${ac_cv_path_DVIPS+set}" = set; then :
 
3222
  $as_echo_n "(cached) " >&6
3315
3223
else
3316
3224
  case $DVIPS in
3317
3225
  [\\/]* | ?:[\\/]*)
3323
3231
do
3324
3232
  IFS=$as_save_IFS
3325
3233
  test -z "$as_dir" && as_dir=.
3326
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3234
    for ac_exec_ext in '' $ac_executable_extensions; do
3327
3235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3328
3236
    ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3329
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330
3238
    break 2
3331
3239
  fi
3332
3240
done
3333
 
done
 
3241
  done
3334
3242
IFS=$as_save_IFS
3335
3243
 
3336
3244
  test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS="no"
3339
3247
fi
3340
3248
DVIPS=$ac_cv_path_DVIPS
3341
3249
if test -n "$DVIPS"; then
3342
 
  { echo "$as_me:$LINENO: result: $DVIPS" >&5
3343
 
echo "${ECHO_T}$DVIPS" >&6; }
 
3250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 
3251
$as_echo "$DVIPS" >&6; }
3344
3252
else
3345
 
  { echo "$as_me:$LINENO: result: no" >&5
3346
 
echo "${ECHO_T}no" >&6; }
 
3253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3254
$as_echo "no" >&6; }
3347
3255
fi
3348
3256
 
3349
3257
 
3353
3261
 
3354
3262
# Extract the first word of "ps2pdf", so it can be a program name with args.
3355
3263
set dummy ps2pdf; ac_word=$2
3356
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3357
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3358
 
if test "${ac_cv_path_PS2PDF+set}" = set; then
3359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3265
$as_echo_n "checking for $ac_word... " >&6; }
 
3266
if test "${ac_cv_path_PS2PDF+set}" = set; then :
 
3267
  $as_echo_n "(cached) " >&6
3360
3268
else
3361
3269
  case $PS2PDF in
3362
3270
  [\\/]* | ?:[\\/]*)
3368
3276
do
3369
3277
  IFS=$as_save_IFS
3370
3278
  test -z "$as_dir" && as_dir=.
3371
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3279
    for ac_exec_ext in '' $ac_executable_extensions; do
3372
3280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373
3281
    ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
3374
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3282
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375
3283
    break 2
3376
3284
  fi
3377
3285
done
3378
 
done
 
3286
  done
3379
3287
IFS=$as_save_IFS
3380
3288
 
3381
3289
  test -z "$ac_cv_path_PS2PDF" && ac_cv_path_PS2PDF="no"
3384
3292
fi
3385
3293
PS2PDF=$ac_cv_path_PS2PDF
3386
3294
if test -n "$PS2PDF"; then
3387
 
  { echo "$as_me:$LINENO: result: $PS2PDF" >&5
3388
 
echo "${ECHO_T}$PS2PDF" >&6; }
 
3295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
 
3296
$as_echo "$PS2PDF" >&6; }
3389
3297
else
3390
 
  { echo "$as_me:$LINENO: result: no" >&5
3391
 
echo "${ECHO_T}no" >&6; }
 
3298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3299
$as_echo "no" >&6; }
3392
3300
fi
3393
3301
 
3394
3302
 
3398
3306
 
3399
3307
 
3400
3308
# Check whether --with-ogg-dir was given.
3401
 
if test "${with_ogg_dir+set}" = set; then
 
3309
if test "${with_ogg_dir+set}" = set; then :
3402
3310
  withval=$with_ogg_dir;
3403
3311
fi
3404
3312
 
3405
3313
if test -z "$with_ogg_dir"; then
3406
 
  { echo "$as_me:$LINENO: checking for ocaml-ogg" >&5
3407
 
echo $ECHO_N "checking for ocaml-ogg... $ECHO_C" >&6; }
 
3314
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ocaml-ogg" >&5
 
3315
$as_echo_n "checking for ocaml-ogg... " >&6; }
3408
3316
  if ($OCAMLFIND query ogg > /dev/null 2>&1); then
3409
3317
        OCAMLOGG_INC=`$OCAMLFIND query ogg`
3410
 
        { echo "$as_me:$LINENO: result: ok" >&5
3411
 
echo "${ECHO_T}ok" >&6; }
 
3318
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
3319
$as_echo "ok" >&6; }
3412
3320
  else
3413
 
        { { echo "$as_me:$LINENO: error: not found." >&5
3414
 
echo "$as_me: error: not found." >&2;}
3415
 
   { (exit 1); exit 1; }; }
 
3321
        as_fn_error "not found." "$LINENO" 5
3416
3322
  fi
3417
3323
else
3418
3324
  echo $with_ogg_dir | grep ^/ > /dev/null 2>&1 \
3434
3340
 
3435
3341
 
3436
3342
 
 
3343
 
3437
3344
        # TODO
3438
3345
        # TODO
3439
3346
 
3483
3390
    case $ac_val in #(
3484
3391
    *${as_nl}*)
3485
3392
      case $ac_var in #(
3486
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3487
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
3393
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
3394
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3488
3395
      esac
3489
3396
      case $ac_var in #(
3490
3397
      _ | IFS | as_nl) ;; #(
3491
 
      *) $as_unset $ac_var ;;
 
3398
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
3399
      *) { eval $ac_var=; unset $ac_var;} ;;
3492
3400
      esac ;;
3493
3401
    esac
3494
3402
  done
3496
3404
  (set) 2>&1 |
3497
3405
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3498
3406
    *${as_nl}ac_space=\ *)
3499
 
      # `set' does not quote correctly, so add quotes (double-quote
3500
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
3407
      # `set' does not quote correctly, so add quotes: double-quote
 
3408
      # substitution turns \\\\ into \\, and sed turns \\ into \.
3501
3409
      sed -n \
3502
3410
        "s/'/'\\\\''/g;
3503
3411
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3520
3428
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3521
3429
  if test -w "$cache_file"; then
3522
3430
    test "x$cache_file" != "x/dev/null" &&
3523
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3524
 
echo "$as_me: updating cache $cache_file" >&6;}
 
3431
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
3432
$as_echo "$as_me: updating cache $cache_file" >&6;}
3525
3433
    cat confcache >$cache_file
3526
3434
  else
3527
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3528
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
3435
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
3436
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3529
3437
  fi
3530
3438
fi
3531
3439
rm -f confcache
3542
3450
# take arguments), then branch to the quote section.  Otherwise,
3543
3451
# look for a macro that doesn't take arguments.
3544
3452
ac_script='
 
3453
:mline
 
3454
/\\$/{
 
3455
 N
 
3456
 s,\\\n,,
 
3457
 b mline
 
3458
}
3545
3459
t clear
3546
3460
:clear
3547
3461
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3571
3485
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3572
3486
  # 1. Remove the extension, and $U if already installed.
3573
3487
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3574
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
3488
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3575
3489
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3576
3490
  #    will be set to the directory where LIBOBJS objects are built.
3577
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3578
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
3491
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
3492
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3579
3493
done
3580
3494
LIBOBJS=$ac_libobjs
3581
3495
 
3584
3498
 
3585
3499
 
3586
3500
: ${CONFIG_STATUS=./config.status}
 
3501
ac_write_fail=0
3587
3502
ac_clean_files_save=$ac_clean_files
3588
3503
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3589
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3590
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3591
 
cat >$CONFIG_STATUS <<_ACEOF
 
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
3505
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
3506
as_write_fail=0
 
3507
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3592
3508
#! $SHELL
3593
3509
# Generated by $as_me.
3594
3510
# Run this file to recreate the current configuration.
3598
3514
debug=false
3599
3515
ac_cs_recheck=false
3600
3516
ac_cs_silent=false
 
3517
 
3601
3518
SHELL=\${CONFIG_SHELL-$SHELL}
3602
 
_ACEOF
3603
 
 
3604
 
cat >>$CONFIG_STATUS <<\_ACEOF
3605
 
## --------------------- ##
3606
 
## M4sh Initialization.  ##
3607
 
## --------------------- ##
 
3519
export SHELL
 
3520
_ASEOF
 
3521
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
3522
## -------------------- ##
 
3523
## M4sh Initialization. ##
 
3524
## -------------------- ##
3608
3525
 
3609
3526
# Be more Bourne compatible
3610
3527
DUALCASE=1; export DUALCASE # for MKS sh
3611
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
3528
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3612
3529
  emulate sh
3613
3530
  NULLCMD=:
3614
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
3531
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3615
3532
  # is contrary to our usage.  Disable this feature.
3616
3533
  alias -g '${1+"$@"}'='"$@"'
3617
3534
  setopt NO_GLOB_SUBST
3618
3535
else
3619
 
  case `(set -o) 2>/dev/null` in
3620
 
  *posix*) set -o posix ;;
 
3536
  case `(set -o) 2>/dev/null` in #(
 
3537
  *posix*) :
 
3538
    set -o posix ;; #(
 
3539
  *) :
 
3540
     ;;
3621
3541
esac
3622
 
 
3623
 
fi
3624
 
 
3625
 
 
3626
 
 
3627
 
 
3628
 
# PATH needs CR
3629
 
# Avoid depending upon Character Ranges.
3630
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3631
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3632
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3633
 
as_cr_digits='0123456789'
3634
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
3542
fi
 
3543
 
 
3544
 
 
3545
as_nl='
 
3546
'
 
3547
export as_nl
 
3548
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
3549
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3550
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
3551
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
3552
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
3553
# but without wasting forks for bash or zsh.
 
3554
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
3555
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
3556
  as_echo='print -r --'
 
3557
  as_echo_n='print -rn --'
 
3558
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
3559
  as_echo='printf %s\n'
 
3560
  as_echo_n='printf %s'
 
3561
else
 
3562
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
3563
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
3564
    as_echo_n='/usr/ucb/echo -n'
 
3565
  else
 
3566
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
3567
    as_echo_n_body='eval
 
3568
      arg=$1;
 
3569
      case $arg in #(
 
3570
      *"$as_nl"*)
 
3571
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
3572
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
3573
      esac;
 
3574
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
3575
    '
 
3576
    export as_echo_n_body
 
3577
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
3578
  fi
 
3579
  export as_echo_body
 
3580
  as_echo='sh -c $as_echo_body as_echo'
 
3581
fi
3635
3582
 
3636
3583
# The user is always right.
3637
3584
if test "${PATH_SEPARATOR+set}" != set; then
3638
 
  echo "#! /bin/sh" >conf$$.sh
3639
 
  echo  "exit 0"   >>conf$$.sh
3640
 
  chmod +x conf$$.sh
3641
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3642
 
    PATH_SEPARATOR=';'
3643
 
  else
3644
 
    PATH_SEPARATOR=:
3645
 
  fi
3646
 
  rm -f conf$$.sh
3647
 
fi
3648
 
 
3649
 
# Support unset when possible.
3650
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3651
 
  as_unset=unset
3652
 
else
3653
 
  as_unset=false
 
3585
  PATH_SEPARATOR=:
 
3586
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
3587
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
3588
      PATH_SEPARATOR=';'
 
3589
  }
3654
3590
fi
3655
3591
 
3656
3592
 
3659
3595
# there to prevent editors from complaining about space-tab.
3660
3596
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3661
3597
# splitting by setting IFS to empty value.)
3662
 
as_nl='
3663
 
'
3664
3598
IFS=" ""        $as_nl"
3665
3599
 
3666
3600
# Find who we are.  Look in the path if we contain no directory separator.
3667
 
case $0 in
 
3601
case $0 in #((
3668
3602
  *[\\/]* ) as_myself=$0 ;;
3669
3603
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670
3604
for as_dir in $PATH
3671
3605
do
3672
3606
  IFS=$as_save_IFS
3673
3607
  test -z "$as_dir" && as_dir=.
3674
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3675
 
done
 
3608
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3609
  done
3676
3610
IFS=$as_save_IFS
3677
3611
 
3678
3612
     ;;
3683
3617
  as_myself=$0
3684
3618
fi
3685
3619
if test ! -f "$as_myself"; then
3686
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3687
 
  { (exit 1); exit 1; }
 
3620
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
3621
  exit 1
3688
3622
fi
3689
3623
 
3690
 
# Work around bugs in pre-3.0 UWIN ksh.
3691
 
for as_var in ENV MAIL MAILPATH
3692
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
3624
# Unset variables that we do not need and which cause bugs (e.g. in
 
3625
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
3626
# suppresses any "Segmentation fault" message there.  '((' could
 
3627
# trigger a bug in pdksh 5.2.14.
 
3628
for as_var in BASH_ENV ENV MAIL MAILPATH
 
3629
do eval test x\${$as_var+set} = xset \
 
3630
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3693
3631
done
3694
3632
PS1='$ '
3695
3633
PS2='> '
3696
3634
PS4='+ '
3697
3635
 
3698
3636
# NLS nuisances.
3699
 
for as_var in \
3700
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3701
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3702
 
  LC_TELEPHONE LC_TIME
3703
 
do
3704
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3705
 
    eval $as_var=C; export $as_var
3706
 
  else
3707
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
3637
LC_ALL=C
 
3638
export LC_ALL
 
3639
LANGUAGE=C
 
3640
export LANGUAGE
 
3641
 
 
3642
# CDPATH.
 
3643
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
3644
 
 
3645
 
 
3646
# as_fn_error ERROR [LINENO LOG_FD]
 
3647
# ---------------------------------
 
3648
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
3649
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
3650
# script with status $?, using 1 if that was 0.
 
3651
as_fn_error ()
 
3652
{
 
3653
  as_status=$?; test $as_status -eq 0 && as_status=1
 
3654
  if test "$3"; then
 
3655
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
3656
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3708
3657
  fi
3709
 
done
3710
 
 
3711
 
# Required to use basename.
 
3658
  $as_echo "$as_me: error: $1" >&2
 
3659
  as_fn_exit $as_status
 
3660
} # as_fn_error
 
3661
 
 
3662
 
 
3663
# as_fn_set_status STATUS
 
3664
# -----------------------
 
3665
# Set $? to STATUS, without forking.
 
3666
as_fn_set_status ()
 
3667
{
 
3668
  return $1
 
3669
} # as_fn_set_status
 
3670
 
 
3671
# as_fn_exit STATUS
 
3672
# -----------------
 
3673
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
3674
as_fn_exit ()
 
3675
{
 
3676
  set +e
 
3677
  as_fn_set_status $1
 
3678
  exit $1
 
3679
} # as_fn_exit
 
3680
 
 
3681
# as_fn_unset VAR
 
3682
# ---------------
 
3683
# Portably unset VAR.
 
3684
as_fn_unset ()
 
3685
{
 
3686
  { eval $1=; unset $1;}
 
3687
}
 
3688
as_unset=as_fn_unset
 
3689
# as_fn_append VAR VALUE
 
3690
# ----------------------
 
3691
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
3692
# advantage of any shell optimizations that allow amortized linear growth over
 
3693
# repeated appends, instead of the typical quadratic growth present in naive
 
3694
# implementations.
 
3695
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
3696
  eval 'as_fn_append ()
 
3697
  {
 
3698
    eval $1+=\$2
 
3699
  }'
 
3700
else
 
3701
  as_fn_append ()
 
3702
  {
 
3703
    eval $1=\$$1\$2
 
3704
  }
 
3705
fi # as_fn_append
 
3706
 
 
3707
# as_fn_arith ARG...
 
3708
# ------------------
 
3709
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
3710
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
3711
# must be portable across $(()) and expr.
 
3712
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
3713
  eval 'as_fn_arith ()
 
3714
  {
 
3715
    as_val=$(( $* ))
 
3716
  }'
 
3717
else
 
3718
  as_fn_arith ()
 
3719
  {
 
3720
    as_val=`expr "$@" || test $? -eq 1`
 
3721
  }
 
3722
fi # as_fn_arith
 
3723
 
 
3724
 
3712
3725
if expr a : '\(a\)' >/dev/null 2>&1 &&
3713
3726
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3714
3727
  as_expr=expr
3722
3735
  as_basename=false
3723
3736
fi
3724
3737
 
 
3738
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
3739
  as_dirname=dirname
 
3740
else
 
3741
  as_dirname=false
 
3742
fi
3725
3743
 
3726
 
# Name of the executable.
3727
3744
as_me=`$as_basename -- "$0" ||
3728
3745
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3729
3746
         X"$0" : 'X\(//\)$' \| \
3730
3747
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3731
 
echo X/"$0" |
 
3748
$as_echo X/"$0" |
3732
3749
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3733
3750
            s//\1/
3734
3751
            q
3743
3760
          }
3744
3761
          s/.*/./; q'`
3745
3762
 
3746
 
# CDPATH.
3747
 
$as_unset CDPATH
3748
 
 
3749
 
 
3750
 
 
3751
 
  as_lineno_1=$LINENO
3752
 
  as_lineno_2=$LINENO
3753
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3754
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3755
 
 
3756
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3757
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
3758
 
  # line-number line after each line using $LINENO; the second 'sed'
3759
 
  # does the real work.  The second script uses 'N' to pair each
3760
 
  # line-number line with the line containing $LINENO, and appends
3761
 
  # trailing '-' during substitution so that $LINENO is not a special
3762
 
  # case at line end.
3763
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3764
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3765
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
3766
 
  sed -n '
3767
 
    p
3768
 
    /[$]LINENO/=
3769
 
  ' <$as_myself |
3770
 
    sed '
3771
 
      s/[$]LINENO.*/&-/
3772
 
      t lineno
3773
 
      b
3774
 
      :lineno
3775
 
      N
3776
 
      :loop
3777
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3778
 
      t loop
3779
 
      s/-\n.*//
3780
 
    ' >$as_me.lineno &&
3781
 
  chmod +x "$as_me.lineno" ||
3782
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3783
 
   { (exit 1); exit 1; }; }
3784
 
 
3785
 
  # Don't try to exec as it changes $[0], causing all sort of problems
3786
 
  # (the dirname of $[0] is not the place where we might find the
3787
 
  # original and so on.  Autoconf is especially sensitive to this).
3788
 
  . "./$as_me.lineno"
3789
 
  # Exit status is that of the last command.
3790
 
  exit
3791
 
}
3792
 
 
3793
 
 
3794
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3795
 
  as_dirname=dirname
3796
 
else
3797
 
  as_dirname=false
3798
 
fi
 
3763
# Avoid depending upon Character Ranges.
 
3764
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3765
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3766
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3767
as_cr_digits='0123456789'
 
3768
as_cr_alnum=$as_cr_Letters$as_cr_digits
3799
3769
 
3800
3770
ECHO_C= ECHO_N= ECHO_T=
3801
 
case `echo -n x` in
 
3771
case `echo -n x` in #(((((
3802
3772
-n*)
3803
 
  case `echo 'x\c'` in
 
3773
  case `echo 'xy\c'` in
3804
3774
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3805
 
  *)   ECHO_C='\c';;
 
3775
  xy)  ECHO_C='\c';;
 
3776
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
3777
       ECHO_T=' ';;
3806
3778
  esac;;
3807
3779
*)
3808
3780
  ECHO_N='-n';;
3809
3781
esac
3810
3782
 
3811
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
3812
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3813
 
  as_expr=expr
3814
 
else
3815
 
  as_expr=false
3816
 
fi
3817
 
 
3818
3783
rm -f conf$$ conf$$.exe conf$$.file
3819
3784
if test -d conf$$.dir; then
3820
3785
  rm -f conf$$.dir/conf$$.file
3821
3786
else
3822
3787
  rm -f conf$$.dir
3823
 
  mkdir conf$$.dir
 
3788
  mkdir conf$$.dir 2>/dev/null
3824
3789
fi
3825
 
echo >conf$$.file
3826
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
3827
 
  as_ln_s='ln -s'
3828
 
  # ... but there are two gotchas:
3829
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3830
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3831
 
  # In both cases, we have to default to `cp -p'.
3832
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
3790
if (echo >conf$$.file) 2>/dev/null; then
 
3791
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
3792
    as_ln_s='ln -s'
 
3793
    # ... but there are two gotchas:
 
3794
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
3795
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
3796
    # In both cases, we have to default to `cp -p'.
 
3797
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
3798
      as_ln_s='cp -p'
 
3799
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
3800
    as_ln_s=ln
 
3801
  else
3833
3802
    as_ln_s='cp -p'
3834
 
elif ln conf$$.file conf$$ 2>/dev/null; then
3835
 
  as_ln_s=ln
 
3803
  fi
3836
3804
else
3837
3805
  as_ln_s='cp -p'
3838
3806
fi
3839
3807
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3840
3808
rmdir conf$$.dir 2>/dev/null
3841
3809
 
 
3810
 
 
3811
# as_fn_mkdir_p
 
3812
# -------------
 
3813
# Create "$as_dir" as a directory, including parents if necessary.
 
3814
as_fn_mkdir_p ()
 
3815
{
 
3816
 
 
3817
  case $as_dir in #(
 
3818
  -*) as_dir=./$as_dir;;
 
3819
  esac
 
3820
  test -d "$as_dir" || eval $as_mkdir_p || {
 
3821
    as_dirs=
 
3822
    while :; do
 
3823
      case $as_dir in #(
 
3824
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
3825
      *) as_qdir=$as_dir;;
 
3826
      esac
 
3827
      as_dirs="'$as_qdir' $as_dirs"
 
3828
      as_dir=`$as_dirname -- "$as_dir" ||
 
3829
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3830
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3831
         X"$as_dir" : 'X\(//\)$' \| \
 
3832
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
3833
$as_echo X"$as_dir" |
 
3834
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3835
            s//\1/
 
3836
            q
 
3837
          }
 
3838
          /^X\(\/\/\)[^/].*/{
 
3839
            s//\1/
 
3840
            q
 
3841
          }
 
3842
          /^X\(\/\/\)$/{
 
3843
            s//\1/
 
3844
            q
 
3845
          }
 
3846
          /^X\(\/\).*/{
 
3847
            s//\1/
 
3848
            q
 
3849
          }
 
3850
          s/.*/./; q'`
 
3851
      test -d "$as_dir" && break
 
3852
    done
 
3853
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
3854
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
3855
 
 
3856
 
 
3857
} # as_fn_mkdir_p
3842
3858
if mkdir -p . 2>/dev/null; then
3843
 
  as_mkdir_p=:
 
3859
  as_mkdir_p='mkdir -p "$as_dir"'
3844
3860
else
3845
3861
  test -d ./-p && rmdir ./-p
3846
3862
  as_mkdir_p=false
3857
3873
  as_test_x='
3858
3874
    eval sh -c '\''
3859
3875
      if test -d "$1"; then
3860
 
        test -d "$1/.";
 
3876
        test -d "$1/.";
3861
3877
      else
3862
 
        case $1 in
3863
 
        -*)set "./$1";;
 
3878
        case $1 in #(
 
3879
        -*)set "./$1";;
3864
3880
        esac;
3865
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
3881
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3866
3882
        ???[sx]*):;;*)false;;esac;fi
3867
3883
    '\'' sh
3868
3884
  '
3877
3893
 
3878
3894
 
3879
3895
exec 6>&1
 
3896
## ----------------------------------- ##
 
3897
## Main body of $CONFIG_STATUS script. ##
 
3898
## ----------------------------------- ##
 
3899
_ASEOF
 
3900
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3880
3901
 
3881
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
3902
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3903
# Save the log message, to keep $0 and so on meaningful, and to
3882
3904
# report actual input values of CONFIG_FILES etc. instead of their
3883
3905
# values after options handling.
3884
3906
ac_log="
3885
 
This file was extended by ocaml-vorbis $as_me 0.5.0, which was
3886
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
3907
This file was extended by ocaml-vorbis $as_me 0.5.1, which was
 
3908
generated by GNU Autoconf 2.64.  Invocation command line was
3887
3909
 
3888
3910
  CONFIG_FILES    = $CONFIG_FILES
3889
3911
  CONFIG_HEADERS  = $CONFIG_HEADERS
3896
3918
 
3897
3919
_ACEOF
3898
3920
 
3899
 
cat >>$CONFIG_STATUS <<_ACEOF
 
3921
case $ac_config_files in *"
 
3922
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
3923
esac
 
3924
 
 
3925
 
 
3926
 
 
3927
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3900
3928
# Files that config.status was made for.
3901
3929
config_files="$ac_config_files"
3902
3930
 
3903
3931
_ACEOF
3904
3932
 
3905
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3933
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3906
3934
ac_cs_usage="\
3907
 
\`$as_me' instantiates files from templates according to the
3908
 
current configuration.
 
3935
\`$as_me' instantiates files and other configuration actions
 
3936
from templates according to the current configuration.  Unless the files
 
3937
and actions are specified as TAGs, all are instantiated by default.
3909
3938
 
3910
 
Usage: $0 [OPTIONS] [FILE]...
 
3939
Usage: $0 [OPTION]... [TAG]...
3911
3940
 
3912
3941
  -h, --help       print this help, then exit
3913
3942
  -V, --version    print version number and configuration settings, then exit
3914
 
  -q, --quiet      do not print progress messages
 
3943
  -q, --quiet, --silent
 
3944
                   do not print progress messages
3915
3945
  -d, --debug      don't remove temporary files
3916
3946
      --recheck    update $as_me by reconfiguring in the same conditions
3917
 
  --file=FILE[:TEMPLATE]
3918
 
                   instantiate the configuration file FILE
 
3947
      --file=FILE[:TEMPLATE]
 
3948
                   instantiate the configuration file FILE
3919
3949
 
3920
3950
Configuration files:
3921
3951
$config_files
3922
3952
 
3923
 
Report bugs to <bug-autoconf@gnu.org>."
 
3953
Report bugs to <savonet-users@lists.sourceforge.net>."
3924
3954
 
3925
3955
_ACEOF
3926
 
cat >>$CONFIG_STATUS <<_ACEOF
 
3956
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3927
3957
ac_cs_version="\\
3928
 
ocaml-vorbis config.status 0.5.0
3929
 
configured by $0, generated by GNU Autoconf 2.61,
3930
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
3958
ocaml-vorbis config.status 0.5.1
 
3959
configured by $0, generated by GNU Autoconf 2.64,
 
3960
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3931
3961
 
3932
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
3962
Copyright (C) 2009 Free Software Foundation, Inc.
3933
3963
This config.status script is free software; the Free Software Foundation
3934
3964
gives unlimited permission to copy, distribute and modify it."
3935
3965
 
3936
3966
ac_pwd='$ac_pwd'
3937
3967
srcdir='$srcdir'
 
3968
test -n "\$AWK" || AWK=awk
3938
3969
_ACEOF
3939
3970
 
3940
 
cat >>$CONFIG_STATUS <<\_ACEOF
3941
 
# If no file are specified by the user, then we need to provide default
3942
 
# value.  By we need to know if files were specified by the user.
 
3971
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3972
# The default lists apply if the user does not specify any file.
3943
3973
ac_need_defaults=:
3944
3974
while test $# != 0
3945
3975
do
3961
3991
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3962
3992
    ac_cs_recheck=: ;;
3963
3993
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3964
 
    echo "$ac_cs_version"; exit ;;
 
3994
    $as_echo "$ac_cs_version"; exit ;;
3965
3995
  --debug | --debu | --deb | --de | --d | -d )
3966
3996
    debug=: ;;
3967
3997
  --file | --fil | --fi | --f )
3968
3998
    $ac_shift
3969
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
3999
    case $ac_optarg in
 
4000
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
4001
    esac
 
4002
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3970
4003
    ac_need_defaults=false;;
3971
4004
  --he | --h |  --help | --hel | -h )
3972
 
    echo "$ac_cs_usage"; exit ;;
 
4005
    $as_echo "$ac_cs_usage"; exit ;;
3973
4006
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3974
4007
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3975
4008
    ac_cs_silent=: ;;
3976
4009
 
3977
4010
  # This is an error.
3978
 
  -*) { echo "$as_me: error: unrecognized option: $1
3979
 
Try \`$0 --help' for more information." >&2
3980
 
   { (exit 1); exit 1; }; } ;;
 
4011
  -*) as_fn_error "unrecognized option: \`$1'
 
4012
Try \`$0 --help' for more information." ;;
3981
4013
 
3982
 
  *) ac_config_targets="$ac_config_targets $1"
 
4014
  *) as_fn_append ac_config_targets " $1"
3983
4015
     ac_need_defaults=false ;;
3984
4016
 
3985
4017
  esac
3994
4026
fi
3995
4027
 
3996
4028
_ACEOF
3997
 
cat >>$CONFIG_STATUS <<_ACEOF
 
4029
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3998
4030
if \$ac_cs_recheck; then
3999
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4000
 
  CONFIG_SHELL=$SHELL
 
4031
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4032
  shift
 
4033
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
4034
  CONFIG_SHELL='$SHELL'
4001
4035
  export CONFIG_SHELL
4002
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4036
  exec "\$@"
4003
4037
fi
4004
4038
 
4005
4039
_ACEOF
4006
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4040
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4007
4041
exec 5>>config.log
4008
4042
{
4009
4043
  echo
4010
4044
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4011
4045
## Running $as_me. ##
4012
4046
_ASBOX
4013
 
  echo "$ac_log"
 
4047
  $as_echo "$ac_log"
4014
4048
} >&5
4015
4049
 
4016
4050
_ACEOF
4017
 
cat >>$CONFIG_STATUS <<_ACEOF
 
4051
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4018
4052
_ACEOF
4019
4053
 
4020
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4054
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4021
4055
 
4022
4056
# Handling of arguments.
4023
4057
for ac_config_target in $ac_config_targets
4029
4063
    "examples/Makefile.stream2wav") CONFIG_FILES="$CONFIG_FILES examples/Makefile.stream2wav" ;;
4030
4064
    "src/META") CONFIG_FILES="$CONFIG_FILES src/META" ;;
4031
4065
 
4032
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4033
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4034
 
   { (exit 1); exit 1; }; };;
 
4066
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4035
4067
  esac
4036
4068
done
4037
4069
 
4056
4088
  trap 'exit_status=$?
4057
4089
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4058
4090
' 0
4059
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
4091
  trap 'as_fn_exit 1' 1 2 13 15
4060
4092
}
4061
4093
# Create a (secure) tmp directory for tmp files.
4062
4094
 
4067
4099
{
4068
4100
  tmp=./conf$$-$RANDOM
4069
4101
  (umask 077 && mkdir "$tmp")
4070
 
} ||
4071
 
{
4072
 
   echo "$me: cannot create a temporary directory in ." >&2
4073
 
   { (exit 1); exit 1; }
4074
 
}
4075
 
 
4076
 
#
4077
 
# Set up the sed scripts for CONFIG_FILES section.
4078
 
#
4079
 
 
4080
 
# No need to generate the scripts if there are no CONFIG_FILES.
4081
 
# This happens for instance when ./config.status config.h
 
4102
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
4103
 
 
4104
# Set up the scripts for CONFIG_FILES section.
 
4105
# No need to generate them if there are no CONFIG_FILES.
 
4106
# This happens for instance with `./config.status config.h'.
4082
4107
if test -n "$CONFIG_FILES"; then
4083
4108
 
 
4109
 
 
4110
ac_cr=`echo X | tr X '\015'`
 
4111
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
4112
# But we know of no other shell where ac_cr would be empty at this
 
4113
# point, so we can use a bashism as a fallback.
 
4114
if test "x$ac_cr" = x; then
 
4115
  eval ac_cr=\$\'\\r\'
 
4116
fi
 
4117
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
4118
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
4119
  ac_cs_awk_cr='\r'
 
4120
else
 
4121
  ac_cs_awk_cr=$ac_cr
 
4122
fi
 
4123
 
 
4124
echo 'BEGIN {' >"$tmp/subs1.awk" &&
4084
4125
_ACEOF
4085
4126
 
4086
4127
 
4087
 
 
 
4128
{
 
4129
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
4130
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
4131
  echo "_ACEOF"
 
4132
} >conf$$subs.sh ||
 
4133
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
4134
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4088
4135
ac_delim='%!_!# '
4089
4136
for ac_last_try in false false false false false :; do
4090
 
  cat >conf$$subs.sed <<_ACEOF
4091
 
SHELL!$SHELL$ac_delim
4092
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4093
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4094
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4095
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4096
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4097
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4098
 
exec_prefix!$exec_prefix$ac_delim
4099
 
prefix!$prefix$ac_delim
4100
 
program_transform_name!$program_transform_name$ac_delim
4101
 
bindir!$bindir$ac_delim
4102
 
sbindir!$sbindir$ac_delim
4103
 
libexecdir!$libexecdir$ac_delim
4104
 
datarootdir!$datarootdir$ac_delim
4105
 
datadir!$datadir$ac_delim
4106
 
sysconfdir!$sysconfdir$ac_delim
4107
 
sharedstatedir!$sharedstatedir$ac_delim
4108
 
localstatedir!$localstatedir$ac_delim
4109
 
includedir!$includedir$ac_delim
4110
 
oldincludedir!$oldincludedir$ac_delim
4111
 
docdir!$docdir$ac_delim
4112
 
infodir!$infodir$ac_delim
4113
 
htmldir!$htmldir$ac_delim
4114
 
dvidir!$dvidir$ac_delim
4115
 
pdfdir!$pdfdir$ac_delim
4116
 
psdir!$psdir$ac_delim
4117
 
libdir!$libdir$ac_delim
4118
 
localedir!$localedir$ac_delim
4119
 
mandir!$mandir$ac_delim
4120
 
DEFS!$DEFS$ac_delim
4121
 
ECHO_C!$ECHO_C$ac_delim
4122
 
ECHO_N!$ECHO_N$ac_delim
4123
 
ECHO_T!$ECHO_T$ac_delim
4124
 
LIBS!$LIBS$ac_delim
4125
 
build_alias!$build_alias$ac_delim
4126
 
host_alias!$host_alias$ac_delim
4127
 
target_alias!$target_alias$ac_delim
4128
 
OCAMLC!$OCAMLC$ac_delim
4129
 
OCAMLOPT!$OCAMLOPT$ac_delim
4130
 
OCAMLCDOTOPT!$OCAMLCDOTOPT$ac_delim
4131
 
OCAMLOPTDOTOPT!$OCAMLOPTDOTOPT$ac_delim
4132
 
OCAMLDEP!$OCAMLDEP$ac_delim
4133
 
OCAMLLEX!$OCAMLLEX$ac_delim
4134
 
OCAMLYACC!$OCAMLYACC$ac_delim
4135
 
OCAMLDOC!$OCAMLDOC$ac_delim
4136
 
OCAMLMKTOP!$OCAMLMKTOP$ac_delim
4137
 
CC!$CC$ac_delim
4138
 
CFLAGS!$CFLAGS$ac_delim
4139
 
LDFLAGS!$LDFLAGS$ac_delim
4140
 
CPPFLAGS!$CPPFLAGS$ac_delim
4141
 
ac_ct_CC!$ac_ct_CC$ac_delim
4142
 
EXEEXT!$EXEEXT$ac_delim
4143
 
OBJEXT!$OBJEXT$ac_delim
4144
 
PKGCONFIG!$PKGCONFIG$ac_delim
4145
 
OGG_LDFLAGS!$OGG_LDFLAGS$ac_delim
4146
 
OGG_CFLAGS!$OGG_CFLAGS$ac_delim
4147
 
OGG_LIBS!$OGG_LIBS$ac_delim
4148
 
VORBIS_LDFLAGS!$VORBIS_LDFLAGS$ac_delim
4149
 
VORBIS_CFLAGS!$VORBIS_CFLAGS$ac_delim
4150
 
VORBIS_LIBS!$VORBIS_LIBS$ac_delim
4151
 
OCAMLFIND!$OCAMLFIND$ac_delim
4152
 
OCAMLCP!$OCAMLCP$ac_delim
4153
 
LATEX!$LATEX$ac_delim
4154
 
DVIPS!$DVIPS$ac_delim
4155
 
PS2PDF!$PS2PDF$ac_delim
4156
 
OCAMLOGG_INC!$OCAMLOGG_INC$ac_delim
4157
 
VERSION!$VERSION$ac_delim
4158
 
BEST!$BEST$ac_delim
4159
 
OCAMLBEST!$OCAMLBEST$ac_delim
4160
 
OCAMLVERSION!$OCAMLVERSION$ac_delim
4161
 
OCAMLLIB!$OCAMLLIB$ac_delim
4162
 
OCAMLBIN!$OCAMLBIN$ac_delim
4163
 
OCAMLFIND_LDCONF!$OCAMLFIND_LDCONF$ac_delim
4164
 
CAMLLIBPATH!$CAMLLIBPATH$ac_delim
4165
 
LIBOBJS!$LIBOBJS$ac_delim
4166
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
4167
 
_ACEOF
 
4137
  . ./conf$$subs.sh ||
 
4138
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4168
4139
 
4169
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
 
4140
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
4141
  if test $ac_delim_n = $ac_delim_num; then
4170
4142
    break
4171
4143
  elif $ac_last_try; then
4172
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4173
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4174
 
   { (exit 1); exit 1; }; }
 
4144
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4175
4145
  else
4176
4146
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4177
4147
  fi
4178
4148
done
4179
 
 
4180
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4181
 
if test -n "$ac_eof"; then
4182
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4183
 
  ac_eof=`expr $ac_eof + 1`
4184
 
fi
4185
 
 
4186
 
cat >>$CONFIG_STATUS <<_ACEOF
4187
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4188
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4189
 
_ACEOF
4190
 
sed '
4191
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4192
 
s/^/s,@/; s/!/@,|#_!!_#|/
4193
 
:n
4194
 
t n
4195
 
s/'"$ac_delim"'$/,g/; t
4196
 
s/$/\\/; p
4197
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4198
 
' >>$CONFIG_STATUS <conf$$subs.sed
4199
 
rm -f conf$$subs.sed
4200
 
cat >>$CONFIG_STATUS <<_ACEOF
4201
 
:end
4202
 
s/|#_!!_#|//g
4203
 
CEOF$ac_eof
4204
 
_ACEOF
4205
 
 
 
4149
rm -f conf$$subs.sh
 
4150
 
 
4151
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4152
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
4153
_ACEOF
 
4154
sed -n '
 
4155
h
 
4156
s/^/S["/; s/!.*/"]=/
 
4157
p
 
4158
g
 
4159
s/^[^!]*!//
 
4160
:repl
 
4161
t repl
 
4162
s/'"$ac_delim"'$//
 
4163
t delim
 
4164
:nl
 
4165
h
 
4166
s/\(.\{148\}\).*/\1/
 
4167
t more1
 
4168
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
4169
p
 
4170
n
 
4171
b repl
 
4172
:more1
 
4173
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
4174
p
 
4175
g
 
4176
s/.\{148\}//
 
4177
t nl
 
4178
:delim
 
4179
h
 
4180
s/\(.\{148\}\).*/\1/
 
4181
t more2
 
4182
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
4183
p
 
4184
b
 
4185
:more2
 
4186
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
4187
p
 
4188
g
 
4189
s/.\{148\}//
 
4190
t delim
 
4191
' <conf$$subs.awk | sed '
 
4192
/^[^""]/{
 
4193
  N
 
4194
  s/\n//
 
4195
}
 
4196
' >>$CONFIG_STATUS || ac_write_fail=1
 
4197
rm -f conf$$subs.awk
 
4198
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4199
_ACAWK
 
4200
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
4201
  for (key in S) S_is_set[key] = 1
 
4202
  FS = ""
 
4203
 
 
4204
}
 
4205
{
 
4206
  line = $ 0
 
4207
  nfields = split(line, field, "@")
 
4208
  substed = 0
 
4209
  len = length(field[1])
 
4210
  for (i = 2; i < nfields; i++) {
 
4211
    key = field[i]
 
4212
    keylen = length(key)
 
4213
    if (S_is_set[key]) {
 
4214
      value = S[key]
 
4215
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
4216
      len += length(value) + length(field[++i])
 
4217
      substed = 1
 
4218
    } else
 
4219
      len += 1 + keylen
 
4220
  }
 
4221
 
 
4222
  print line
 
4223
}
 
4224
 
 
4225
_ACAWK
 
4226
_ACEOF
 
4227
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
4228
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
4229
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
4230
else
 
4231
  cat
 
4232
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
4233
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
4234
_ACEOF
4206
4235
 
4207
4236
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4208
4237
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4219
4248
}'
4220
4249
fi
4221
4250
 
4222
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4251
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4223
4252
fi # test -n "$CONFIG_FILES"
4224
4253
 
4225
4254
 
4226
 
for ac_tag in  :F $CONFIG_FILES
 
4255
eval set X "  :F $CONFIG_FILES      "
 
4256
shift
 
4257
for ac_tag
4227
4258
do
4228
4259
  case $ac_tag in
4229
4260
  :[FHLC]) ac_mode=$ac_tag; continue;;
4230
4261
  esac
4231
4262
  case $ac_mode$ac_tag in
4232
4263
  :[FHL]*:*);;
4233
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4234
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4235
 
   { (exit 1); exit 1; }; };;
 
4264
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4236
4265
  :[FH]-) ac_tag=-:-;;
4237
4266
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4238
4267
  esac
4260
4289
           [\\/$]*) false;;
4261
4290
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4262
4291
           esac ||
4263
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4264
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4265
 
   { (exit 1); exit 1; }; };;
 
4292
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4266
4293
      esac
4267
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
4294
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
4295
      as_fn_append ac_file_inputs " '$ac_f'"
4268
4296
    done
4269
4297
 
4270
4298
    # Let's still pretend it is `configure' which instantiates (i.e., don't
4271
4299
    # use $as_me), people would be surprised to read:
4272
4300
    #    /* config.h.  Generated by config.status.  */
4273
 
    configure_input="Generated from "`IFS=:
4274
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4301
    configure_input='Generated from '`
 
4302
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
4303
        `' by configure.'
4275
4304
    if test x"$ac_file" != x-; then
4276
4305
      configure_input="$ac_file.  $configure_input"
4277
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
4278
 
echo "$as_me: creating $ac_file" >&6;}
 
4306
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
4307
$as_echo "$as_me: creating $ac_file" >&6;}
4279
4308
    fi
 
4309
    # Neutralize special characters interpreted by sed in replacement strings.
 
4310
    case $configure_input in #(
 
4311
    *\&* | *\|* | *\\* )
 
4312
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
4313
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
4314
    *) ac_sed_conf_input=$configure_input;;
 
4315
    esac
4280
4316
 
4281
4317
    case $ac_tag in
4282
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
4318
    *:-:* | *:-) cat >"$tmp/stdin" \
 
4319
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4283
4320
    esac
4284
4321
    ;;
4285
4322
  esac
4289
4326
         X"$ac_file" : 'X\(//\)[^/]' \| \
4290
4327
         X"$ac_file" : 'X\(//\)$' \| \
4291
4328
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4292
 
echo X"$ac_file" |
4293
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4294
 
            s//\1/
4295
 
            q
4296
 
          }
4297
 
          /^X\(\/\/\)[^/].*/{
4298
 
            s//\1/
4299
 
            q
4300
 
          }
4301
 
          /^X\(\/\/\)$/{
4302
 
            s//\1/
4303
 
            q
4304
 
          }
4305
 
          /^X\(\/\).*/{
4306
 
            s//\1/
4307
 
            q
4308
 
          }
4309
 
          s/.*/./; q'`
4310
 
  { as_dir="$ac_dir"
4311
 
  case $as_dir in #(
4312
 
  -*) as_dir=./$as_dir;;
4313
 
  esac
4314
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4315
 
    as_dirs=
4316
 
    while :; do
4317
 
      case $as_dir in #(
4318
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4319
 
      *) as_qdir=$as_dir;;
4320
 
      esac
4321
 
      as_dirs="'$as_qdir' $as_dirs"
4322
 
      as_dir=`$as_dirname -- "$as_dir" ||
4323
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4324
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4325
 
         X"$as_dir" : 'X\(//\)$' \| \
4326
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4327
 
echo X"$as_dir" |
4328
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4329
 
            s//\1/
4330
 
            q
4331
 
          }
4332
 
          /^X\(\/\/\)[^/].*/{
4333
 
            s//\1/
4334
 
            q
4335
 
          }
4336
 
          /^X\(\/\/\)$/{
4337
 
            s//\1/
4338
 
            q
4339
 
          }
4340
 
          /^X\(\/\).*/{
4341
 
            s//\1/
4342
 
            q
4343
 
          }
4344
 
          s/.*/./; q'`
4345
 
      test -d "$as_dir" && break
4346
 
    done
4347
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4348
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4349
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4350
 
   { (exit 1); exit 1; }; }; }
 
4329
$as_echo X"$ac_file" |
 
4330
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4331
            s//\1/
 
4332
            q
 
4333
          }
 
4334
          /^X\(\/\/\)[^/].*/{
 
4335
            s//\1/
 
4336
            q
 
4337
          }
 
4338
          /^X\(\/\/\)$/{
 
4339
            s//\1/
 
4340
            q
 
4341
          }
 
4342
          /^X\(\/\).*/{
 
4343
            s//\1/
 
4344
            q
 
4345
          }
 
4346
          s/.*/./; q'`
 
4347
  as_dir="$ac_dir"; as_fn_mkdir_p
4351
4348
  ac_builddir=.
4352
4349
 
4353
4350
case "$ac_dir" in
4354
4351
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4355
4352
*)
4356
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
4353
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4357
4354
  # A ".." for each directory in $ac_dir_suffix.
4358
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
4355
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4359
4356
  case $ac_top_builddir_sub in
4360
4357
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4361
4358
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4391
4388
 
4392
4389
_ACEOF
4393
4390
 
4394
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4391
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4395
4392
# If the template does not know about datarootdir, expand it.
4396
4393
# FIXME: This hack should be removed a few years after 2.60.
4397
4394
ac_datarootdir_hack=; ac_datarootdir_seen=
4398
 
 
4399
 
case `sed -n '/datarootdir/ {
 
4395
ac_sed_dataroot='
 
4396
/datarootdir/ {
4400
4397
  p
4401
4398
  q
4402
4399
}
4404
4401
/@docdir@/p
4405
4402
/@infodir@/p
4406
4403
/@localedir@/p
4407
 
/@mandir@/p
4408
 
' $ac_file_inputs` in
 
4404
/@mandir@/p'
 
4405
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4409
4406
*datarootdir*) ac_datarootdir_seen=yes;;
4410
4407
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4411
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4412
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
4408
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
4409
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4413
4410
_ACEOF
4414
 
cat >>$CONFIG_STATUS <<_ACEOF
 
4411
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4415
4412
  ac_datarootdir_hack='
4416
4413
  s&@datadir@&$datadir&g
4417
4414
  s&@docdir@&$docdir&g
4418
4415
  s&@infodir@&$infodir&g
4419
4416
  s&@localedir@&$localedir&g
4420
4417
  s&@mandir@&$mandir&g
4421
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
4418
  s&\\\${datarootdir}&$datarootdir&g' ;;
4422
4419
esac
4423
4420
_ACEOF
4424
4421
 
4425
4422
# Neutralize VPATH when `$srcdir' = `.'.
4426
4423
# Shell code in configure.ac might set extrasub.
4427
4424
# FIXME: do we really want to maintain this feature?
4428
 
cat >>$CONFIG_STATUS <<_ACEOF
4429
 
  sed "$ac_vpsub
 
4425
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4426
ac_sed_extra="$ac_vpsub
4430
4427
$extrasub
4431
4428
_ACEOF
4432
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4429
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4433
4430
:t
4434
4431
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4435
 
s&@configure_input@&$configure_input&;t t
 
4432
s|@configure_input@|$ac_sed_conf_input|;t t
4436
4433
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
4434
s&@top_build_prefix@&$ac_top_build_prefix&;t t
4437
4435
s&@srcdir@&$ac_srcdir&;t t
4438
4436
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4439
4437
s&@top_srcdir@&$ac_top_srcdir&;t t
4442
4440
s&@abs_builddir@&$ac_abs_builddir&;t t
4443
4441
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4444
4442
$ac_datarootdir_hack
4445
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
4443
"
 
4444
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
4445
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4446
4446
 
4447
4447
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4448
4448
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4449
4449
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4450
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4450
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4451
4451
which seems to be undefined.  Please make sure it is defined." >&5
4452
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4452
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4453
4453
which seems to be undefined.  Please make sure it is defined." >&2;}
4454
4454
 
4455
4455
  rm -f "$tmp/stdin"
4456
4456
  case $ac_file in
4457
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
4458
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4459
 
  esac
 
4457
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
4458
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
4459
  esac \
 
4460
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4460
4461
 ;;
4461
4462
 
4462
4463
 
4475
4476
done # for ac_tag
4476
4477
 
4477
4478
 
4478
 
{ (exit 0); exit 0; }
 
4479
as_fn_exit 0
4479
4480
_ACEOF
4480
 
chmod +x $CONFIG_STATUS
4481
4481
ac_clean_files=$ac_clean_files_save
4482
4482
 
 
4483
test $ac_write_fail = 0 ||
 
4484
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
4485
 
4483
4486
 
4484
4487
# configure is writing to config.log, and then calls config.status.
4485
4488
# config.status does its own redirection, appending to config.log.
4499
4502
  exec 5>>config.log
4500
4503
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4501
4504
  # would make configure fail if this is the last instruction.
4502
 
  $ac_cs_success || { (exit 1); exit 1; }
 
4505
  $ac_cs_success || as_fn_exit $?
 
4506
fi
 
4507
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
4508
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
4509
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4503
4510
fi
4504
4511