~ubuntu-branches/ubuntu/maverick/acpi/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-23 10:11:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080623101154-s08e43i3cjuoal01
Tags: 1.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Allow acpi to build on lpia as well.

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.59.
 
3
# Generated by GNU Autoconf 2.61.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
551
 
 
552
exec 7<&0 </dev/null 6>&1
243
553
 
244
554
# Name of the host.
245
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
556
# so uname gets run too.
247
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
558
 
249
 
exec 6>&1
250
 
 
251
559
#
252
560
# Initializations.
253
561
#
254
562
ac_default_prefix=/usr/local
 
563
ac_clean_files=
255
564
ac_config_libobj_dir=.
 
565
LIBOBJS=
256
566
cross_compiling=no
257
567
subdirs=
258
568
MFLAGS=
259
569
MAKEFLAGS=
260
570
SHELL=${CONFIG_SHELL-/bin/sh}
261
571
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
 
 
267
572
# Identity of this package.
268
573
PACKAGE_NAME=
269
574
PACKAGE_TARNAME=
272
577
PACKAGE_BUGREPORT=
273
578
 
274
579
ac_unique_file="main.c"
275
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS'
 
580
ac_subst_vars='SHELL
 
581
PATH_SEPARATOR
 
582
PACKAGE_NAME
 
583
PACKAGE_TARNAME
 
584
PACKAGE_VERSION
 
585
PACKAGE_STRING
 
586
PACKAGE_BUGREPORT
 
587
exec_prefix
 
588
prefix
 
589
program_transform_name
 
590
bindir
 
591
sbindir
 
592
libexecdir
 
593
datarootdir
 
594
datadir
 
595
sysconfdir
 
596
sharedstatedir
 
597
localstatedir
 
598
includedir
 
599
oldincludedir
 
600
docdir
 
601
infodir
 
602
htmldir
 
603
dvidir
 
604
pdfdir
 
605
psdir
 
606
libdir
 
607
localedir
 
608
mandir
 
609
DEFS
 
610
ECHO_C
 
611
ECHO_N
 
612
ECHO_T
 
613
LIBS
 
614
build_alias
 
615
host_alias
 
616
target_alias
 
617
INSTALL_PROGRAM
 
618
INSTALL_SCRIPT
 
619
INSTALL_DATA
 
620
am__isrc
 
621
CYGPATH_W
 
622
PACKAGE
 
623
VERSION
 
624
ACLOCAL
 
625
AUTOCONF
 
626
AUTOMAKE
 
627
AUTOHEADER
 
628
MAKEINFO
 
629
install_sh
 
630
STRIP
 
631
INSTALL_STRIP_PROGRAM
 
632
mkdir_p
 
633
AWK
 
634
SET_MAKE
 
635
am__leading_dot
 
636
AMTAR
 
637
am__tar
 
638
am__untar
 
639
CC
 
640
CFLAGS
 
641
LDFLAGS
 
642
CPPFLAGS
 
643
ac_ct_CC
 
644
EXEEXT
 
645
OBJEXT
 
646
DEPDIR
 
647
am__include
 
648
am__quote
 
649
AMDEP_TRUE
 
650
AMDEP_FALSE
 
651
AMDEPBACKSLASH
 
652
CCDEPMODE
 
653
am__fastdepCC_TRUE
 
654
am__fastdepCC_FALSE
 
655
CPP
 
656
GREP
 
657
EGREP
 
658
LIBOBJS
 
659
LTLIBOBJS'
276
660
ac_subst_files=''
 
661
      ac_precious_vars='build_alias
 
662
host_alias
 
663
target_alias
 
664
CC
 
665
CFLAGS
 
666
LDFLAGS
 
667
LIBS
 
668
CPPFLAGS
 
669
CPP'
 
670
 
277
671
 
278
672
# Initialize some variables set by options.
279
673
ac_init_help=
300
694
# and all the variables that are supposed to be based on exec_prefix
301
695
# by default will actually change.
302
696
# Use braces instead of parens because sh, perl, etc. also accept them.
 
697
# (The list follows the same order as the GNU Coding Standards.)
303
698
bindir='${exec_prefix}/bin'
304
699
sbindir='${exec_prefix}/sbin'
305
700
libexecdir='${exec_prefix}/libexec'
306
 
datadir='${prefix}/share'
 
701
datarootdir='${prefix}/share'
 
702
datadir='${datarootdir}'
307
703
sysconfdir='${prefix}/etc'
308
704
sharedstatedir='${prefix}/com'
309
705
localstatedir='${prefix}/var'
310
 
libdir='${exec_prefix}/lib'
311
706
includedir='${prefix}/include'
312
707
oldincludedir='/usr/include'
313
 
infodir='${prefix}/info'
314
 
mandir='${prefix}/man'
 
708
docdir='${datarootdir}/doc/${PACKAGE}'
 
709
infodir='${datarootdir}/info'
 
710
htmldir='${docdir}'
 
711
dvidir='${docdir}'
 
712
pdfdir='${docdir}'
 
713
psdir='${docdir}'
 
714
libdir='${exec_prefix}/lib'
 
715
localedir='${datarootdir}/locale'
 
716
mandir='${datarootdir}/man'
315
717
 
316
718
ac_prev=
 
719
ac_dashdash=
317
720
for ac_option
318
721
do
319
722
  # If the previous option needs an argument, assign it.
320
723
  if test -n "$ac_prev"; then
321
 
    eval "$ac_prev=\$ac_option"
 
724
    eval $ac_prev=\$ac_option
322
725
    ac_prev=
323
726
    continue
324
727
  fi
325
728
 
326
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
729
  case $ac_option in
 
730
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
731
  *)    ac_optarg=yes ;;
 
732
  esac
327
733
 
328
734
  # Accept the important Cygnus configure options, so we can diagnose typos.
329
735
 
330
 
  case $ac_option in
 
736
  case $ac_dashdash$ac_option in
 
737
  --)
 
738
    ac_dashdash=yes ;;
331
739
 
332
740
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333
741
    ac_prev=bindir ;;
349
757
  --config-cache | -C)
350
758
    cache_file=config.cache ;;
351
759
 
352
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
760
  -datadir | --datadir | --datadi | --datad)
353
761
    ac_prev=datadir ;;
354
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355
 
  | --da=*)
 
762
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
356
763
    datadir=$ac_optarg ;;
357
764
 
 
765
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
766
  | --dataroo | --dataro | --datar)
 
767
    ac_prev=datarootdir ;;
 
768
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
769
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
770
    datarootdir=$ac_optarg ;;
 
771
 
358
772
  -disable-* | --disable-*)
359
773
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360
774
    # Reject names that are not valid shell variable names.
361
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
775
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
362
776
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363
777
   { (exit 1); exit 1; }; }
364
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365
 
    eval "enable_$ac_feature=no" ;;
 
778
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
779
    eval enable_$ac_feature=no ;;
 
780
 
 
781
  -docdir | --docdir | --docdi | --doc | --do)
 
782
    ac_prev=docdir ;;
 
783
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
784
    docdir=$ac_optarg ;;
 
785
 
 
786
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
787
    ac_prev=dvidir ;;
 
788
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
789
    dvidir=$ac_optarg ;;
366
790
 
367
791
  -enable-* | --enable-*)
368
792
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369
793
    # Reject names that are not valid shell variable names.
370
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
794
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
371
795
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372
796
   { (exit 1); exit 1; }; }
373
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374
 
    case $ac_option in
375
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376
 
      *) ac_optarg=yes ;;
377
 
    esac
378
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
797
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
798
    eval enable_$ac_feature=\$ac_optarg ;;
379
799
 
380
800
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381
801
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
402
822
  -host=* | --host=* | --hos=* | --ho=*)
403
823
    host_alias=$ac_optarg ;;
404
824
 
 
825
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
826
    ac_prev=htmldir ;;
 
827
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
828
  | --ht=*)
 
829
    htmldir=$ac_optarg ;;
 
830
 
405
831
  -includedir | --includedir | --includedi | --included | --include \
406
832
  | --includ | --inclu | --incl | --inc)
407
833
    ac_prev=includedir ;;
426
852
  | --libexe=* | --libex=* | --libe=*)
427
853
    libexecdir=$ac_optarg ;;
428
854
 
 
855
  -localedir | --localedir | --localedi | --localed | --locale)
 
856
    ac_prev=localedir ;;
 
857
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
858
    localedir=$ac_optarg ;;
 
859
 
429
860
  -localstatedir | --localstatedir | --localstatedi | --localstated \
430
 
  | --localstate | --localstat | --localsta | --localst \
431
 
  | --locals | --local | --loca | --loc | --lo)
 
861
  | --localstate | --localstat | --localsta | --localst | --locals)
432
862
    ac_prev=localstatedir ;;
433
863
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
864
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
436
865
    localstatedir=$ac_optarg ;;
437
866
 
438
867
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
497
926
  | --progr-tra=* | --program-tr=* | --program-t=*)
498
927
    program_transform_name=$ac_optarg ;;
499
928
 
 
929
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
930
    ac_prev=pdfdir ;;
 
931
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
932
    pdfdir=$ac_optarg ;;
 
933
 
 
934
  -psdir | --psdir | --psdi | --psd | --ps)
 
935
    ac_prev=psdir ;;
 
936
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
937
    psdir=$ac_optarg ;;
 
938
 
500
939
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
940
  | -silent | --silent | --silen | --sile | --sil)
502
941
    silent=yes ;;
549
988
  -with-* | --with-*)
550
989
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551
990
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
991
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
992
      { echo "$as_me: error: invalid package name: $ac_package" >&2
554
993
   { (exit 1); exit 1; }; }
555
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
556
 
    case $ac_option in
557
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558
 
      *) ac_optarg=yes ;;
559
 
    esac
560
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
994
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
995
    eval with_$ac_package=\$ac_optarg ;;
561
996
 
562
997
  -without-* | --without-*)
563
998
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564
999
    # Reject names that are not valid shell variable names.
565
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1000
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
566
1001
      { echo "$as_me: error: invalid package name: $ac_package" >&2
567
1002
   { (exit 1); exit 1; }; }
568
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
569
 
    eval "with_$ac_package=no" ;;
 
1003
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1004
    eval with_$ac_package=no ;;
570
1005
 
571
1006
  --x)
572
1007
    # Obsolete; use --with-x.
597
1032
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598
1033
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599
1034
   { (exit 1); exit 1; }; }
600
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601
 
    eval "$ac_envvar='$ac_optarg'"
 
1035
    eval $ac_envvar=\$ac_optarg
602
1036
    export $ac_envvar ;;
603
1037
 
604
1038
  *)
618
1052
   { (exit 1); exit 1; }; }
619
1053
fi
620
1054
 
621
 
# Be sure to have absolute paths.
622
 
for ac_var in exec_prefix prefix
623
 
do
624
 
  eval ac_val=$`echo $ac_var`
625
 
  case $ac_val in
626
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628
 
   { (exit 1); exit 1; }; };;
629
 
  esac
630
 
done
631
 
 
632
 
# Be sure to have absolute paths.
633
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634
 
              localstatedir libdir includedir oldincludedir infodir mandir
635
 
do
636
 
  eval ac_val=$`echo $ac_var`
637
 
  case $ac_val in
638
 
    [\\/$]* | ?:[\\/]* ) ;;
639
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640
 
   { (exit 1); exit 1; }; };;
641
 
  esac
 
1055
# Be sure to have absolute directory names.
 
1056
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1057
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1058
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1059
                libdir localedir mandir
 
1060
do
 
1061
  eval ac_val=\$$ac_var
 
1062
  case $ac_val in
 
1063
    [\\/$]* | ?:[\\/]* )  continue;;
 
1064
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1065
  esac
 
1066
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1067
   { (exit 1); exit 1; }; }
642
1068
done
643
1069
 
644
1070
# There might be people who depend on the old broken behavior: `$host'
665
1091
test "$silent" = yes && exec 6>/dev/null
666
1092
 
667
1093
 
 
1094
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1095
ac_ls_di=`ls -di .` &&
 
1096
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1097
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1098
   { (exit 1); exit 1; }; }
 
1099
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1100
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1101
   { (exit 1); exit 1; }; }
 
1102
 
 
1103
 
668
1104
# Find the source files, if location was not specified.
669
1105
if test -z "$srcdir"; then
670
1106
  ac_srcdir_defaulted=yes
671
 
  # Try the directory containing this script, then its parent.
672
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1107
  # Try the directory containing this script, then the parent directory.
 
1108
  ac_confdir=`$as_dirname -- "$0" ||
673
1109
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
1110
         X"$0" : 'X\(//\)[^/]' \| \
675
1111
         X"$0" : 'X\(//\)$' \| \
676
 
         X"$0" : 'X\(/\)' \| \
677
 
         .     : '\(.\)' 2>/dev/null ||
 
1112
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
678
1113
echo X"$0" |
679
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
 
          /^X\(\/\/\)$/{ s//\1/; q; }
682
 
          /^X\(\/\).*/{ s//\1/; q; }
683
 
          s/.*/./; q'`
 
1114
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1115
            s//\1/
 
1116
            q
 
1117
          }
 
1118
          /^X\(\/\/\)[^/].*/{
 
1119
            s//\1/
 
1120
            q
 
1121
          }
 
1122
          /^X\(\/\/\)$/{
 
1123
            s//\1/
 
1124
            q
 
1125
          }
 
1126
          /^X\(\/\).*/{
 
1127
            s//\1/
 
1128
            q
 
1129
          }
 
1130
          s/.*/./; q'`
684
1131
  srcdir=$ac_confdir
685
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1132
  if test ! -r "$srcdir/$ac_unique_file"; then
686
1133
    srcdir=..
687
1134
  fi
688
1135
else
689
1136
  ac_srcdir_defaulted=no
690
1137
fi
691
 
if test ! -r $srcdir/$ac_unique_file; then
692
 
  if test "$ac_srcdir_defaulted" = yes; then
693
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
 
   { (exit 1); exit 1; }; }
695
 
  else
696
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
 
   { (exit 1); exit 1; }; }
698
 
  fi
699
 
fi
700
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
 
   { (exit 1); exit 1; }; }
703
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
 
ac_env_build_alias_set=${build_alias+set}
705
 
ac_env_build_alias_value=$build_alias
706
 
ac_cv_env_build_alias_set=${build_alias+set}
707
 
ac_cv_env_build_alias_value=$build_alias
708
 
ac_env_host_alias_set=${host_alias+set}
709
 
ac_env_host_alias_value=$host_alias
710
 
ac_cv_env_host_alias_set=${host_alias+set}
711
 
ac_cv_env_host_alias_value=$host_alias
712
 
ac_env_target_alias_set=${target_alias+set}
713
 
ac_env_target_alias_value=$target_alias
714
 
ac_cv_env_target_alias_set=${target_alias+set}
715
 
ac_cv_env_target_alias_value=$target_alias
716
 
ac_env_CC_set=${CC+set}
717
 
ac_env_CC_value=$CC
718
 
ac_cv_env_CC_set=${CC+set}
719
 
ac_cv_env_CC_value=$CC
720
 
ac_env_CFLAGS_set=${CFLAGS+set}
721
 
ac_env_CFLAGS_value=$CFLAGS
722
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
723
 
ac_cv_env_CFLAGS_value=$CFLAGS
724
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
725
 
ac_env_LDFLAGS_value=$LDFLAGS
726
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
728
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729
 
ac_env_CPPFLAGS_value=$CPPFLAGS
730
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
 
ac_env_CPP_set=${CPP+set}
733
 
ac_env_CPP_value=$CPP
734
 
ac_cv_env_CPP_set=${CPP+set}
735
 
ac_cv_env_CPP_value=$CPP
 
1138
if test ! -r "$srcdir/$ac_unique_file"; then
 
1139
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1140
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1141
   { (exit 1); exit 1; }; }
 
1142
fi
 
1143
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1144
ac_abs_confdir=`(
 
1145
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1146
   { (exit 1); exit 1; }; }
 
1147
        pwd)`
 
1148
# When building in place, set srcdir=.
 
1149
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1150
  srcdir=.
 
1151
fi
 
1152
# Remove unnecessary trailing slashes from srcdir.
 
1153
# Double slashes in file names in object file debugging info
 
1154
# mess up M-x gdb in Emacs.
 
1155
case $srcdir in
 
1156
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1157
esac
 
1158
for ac_var in $ac_precious_vars; do
 
1159
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1160
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1161
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1162
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1163
done
736
1164
 
737
1165
#
738
1166
# Report the --help message.
761
1189
  -n, --no-create         do not create output files
762
1190
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
763
1191
 
764
 
_ACEOF
765
 
 
766
 
  cat <<_ACEOF
767
1192
Installation directories:
768
1193
  --prefix=PREFIX         install architecture-independent files in PREFIX
769
1194
                          [$ac_default_prefix]
781
1206
  --bindir=DIR           user executables [EPREFIX/bin]
782
1207
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
783
1208
  --libexecdir=DIR       program executables [EPREFIX/libexec]
784
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
785
1209
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
786
1210
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
787
1211
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
788
1212
  --libdir=DIR           object code libraries [EPREFIX/lib]
789
1213
  --includedir=DIR       C header files [PREFIX/include]
790
1214
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
791
 
  --infodir=DIR          info documentation [PREFIX/info]
792
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1215
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1216
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1217
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1218
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1219
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1220
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1221
  --htmldir=DIR          html documentation [DOCDIR]
 
1222
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1223
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1224
  --psdir=DIR            ps documentation [DOCDIR]
793
1225
_ACEOF
794
1226
 
795
1227
  cat <<\_ACEOF
805
1237
 
806
1238
  cat <<\_ACEOF
807
1239
 
 
1240
Optional Features:
 
1241
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1242
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1243
  --disable-dependency-tracking  speeds up one-time build
 
1244
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1245
 
808
1246
Some influential environment variables:
809
1247
  CC          C compiler command
810
1248
  CFLAGS      C compiler flags
811
1249
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
812
1250
              nonstandard directory <lib dir>
813
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
814
 
              headers in a nonstandard directory <include dir>
 
1251
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1252
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1253
              you have headers in a nonstandard directory <include dir>
815
1254
  CPP         C preprocessor
816
1255
 
817
1256
Use these variables to override the choices made by `configure' or to help
818
1257
it to find libraries and programs with nonstandard names/locations.
819
1258
 
820
1259
_ACEOF
 
1260
ac_status=$?
821
1261
fi
822
1262
 
823
1263
if test "$ac_init_help" = "recursive"; then
824
1264
  # If there are subdirs, report their specific --help.
825
 
  ac_popdir=`pwd`
826
1265
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
827
 
    test -d $ac_dir || continue
 
1266
    test -d "$ac_dir" || continue
828
1267
    ac_builddir=.
829
1268
 
830
 
if test "$ac_dir" != .; then
 
1269
case "$ac_dir" in
 
1270
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1271
*)
831
1272
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
832
 
  # A "../" for each directory in $ac_dir_suffix.
833
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
834
 
else
835
 
  ac_dir_suffix= ac_top_builddir=
836
 
fi
 
1273
  # A ".." for each directory in $ac_dir_suffix.
 
1274
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1275
  case $ac_top_builddir_sub in
 
1276
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1277
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1278
  esac ;;
 
1279
esac
 
1280
ac_abs_top_builddir=$ac_pwd
 
1281
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1282
# for backward compatibility:
 
1283
ac_top_builddir=$ac_top_build_prefix
837
1284
 
838
1285
case $srcdir in
839
 
  .)  # No --srcdir option.  We are building in place.
 
1286
  .)  # We are building in place.
840
1287
    ac_srcdir=.
841
 
    if test -z "$ac_top_builddir"; then
842
 
       ac_top_srcdir=.
843
 
    else
844
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
845
 
    fi ;;
846
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1288
    ac_top_srcdir=$ac_top_builddir_sub
 
1289
    ac_abs_top_srcdir=$ac_pwd ;;
 
1290
  [\\/]* | ?:[\\/]* )  # Absolute name.
847
1291
    ac_srcdir=$srcdir$ac_dir_suffix;
848
 
    ac_top_srcdir=$srcdir ;;
849
 
  *) # Relative path.
850
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
851
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
852
 
esac
853
 
 
854
 
# Do not use `cd foo && pwd` to compute absolute paths, because
855
 
# the directories may not exist.
856
 
case `pwd` in
857
 
.) ac_abs_builddir="$ac_dir";;
858
 
*)
859
 
  case "$ac_dir" in
860
 
  .) ac_abs_builddir=`pwd`;;
861
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
862
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
863
 
  esac;;
864
 
esac
865
 
case $ac_abs_builddir in
866
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
867
 
*)
868
 
  case ${ac_top_builddir}. in
869
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
870
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
871
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
872
 
  esac;;
873
 
esac
874
 
case $ac_abs_builddir in
875
 
.) ac_abs_srcdir=$ac_srcdir;;
876
 
*)
877
 
  case $ac_srcdir in
878
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
879
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
880
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
881
 
  esac;;
882
 
esac
883
 
case $ac_abs_builddir in
884
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
885
 
*)
886
 
  case $ac_top_srcdir in
887
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
888
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
889
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
890
 
  esac;;
891
 
esac
892
 
 
893
 
    cd $ac_dir
894
 
    # Check for guested configure; otherwise get Cygnus style configure.
895
 
    if test -f $ac_srcdir/configure.gnu; then
896
 
      echo
897
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
898
 
    elif test -f $ac_srcdir/configure; then
899
 
      echo
900
 
      $SHELL $ac_srcdir/configure  --help=recursive
901
 
    elif test -f $ac_srcdir/configure.ac ||
902
 
           test -f $ac_srcdir/configure.in; then
903
 
      echo
904
 
      $ac_configure --help
 
1292
    ac_top_srcdir=$srcdir
 
1293
    ac_abs_top_srcdir=$srcdir ;;
 
1294
  *) # Relative name.
 
1295
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1296
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1297
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1298
esac
 
1299
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1300
 
 
1301
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1302
    # Check for guested configure.
 
1303
    if test -f "$ac_srcdir/configure.gnu"; then
 
1304
      echo &&
 
1305
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1306
    elif test -f "$ac_srcdir/configure"; then
 
1307
      echo &&
 
1308
      $SHELL "$ac_srcdir/configure" --help=recursive
905
1309
    else
906
1310
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
907
 
    fi
908
 
    cd "$ac_popdir"
 
1311
    fi || ac_status=$?
 
1312
    cd "$ac_pwd" || { ac_status=$?; break; }
909
1313
  done
910
1314
fi
911
1315
 
912
 
test -n "$ac_init_help" && exit 0
 
1316
test -n "$ac_init_help" && exit $ac_status
913
1317
if $ac_init_version; then
914
1318
  cat <<\_ACEOF
 
1319
configure
 
1320
generated by GNU Autoconf 2.61
915
1321
 
916
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1322
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1323
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
917
1324
This configure script is free software; the Free Software Foundation
918
1325
gives unlimited permission to copy, distribute and modify it.
919
1326
_ACEOF
920
 
  exit 0
 
1327
  exit
921
1328
fi
922
 
exec 5>config.log
923
 
cat >&5 <<_ACEOF
 
1329
cat >config.log <<_ACEOF
924
1330
This file contains any messages produced by compilers while
925
1331
running configure, to aid debugging if configure makes a mistake.
926
1332
 
927
1333
It was created by $as_me, which was
928
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1334
generated by GNU Autoconf 2.61.  Invocation command line was
929
1335
 
930
1336
  $ $0 $@
931
1337
 
932
1338
_ACEOF
 
1339
exec 5>>config.log
933
1340
{
934
1341
cat <<_ASUNAME
935
1342
## --------- ##
948
1355
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
949
1356
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
950
1357
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
951
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1358
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
952
1359
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
953
1360
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
954
1361
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
962
1369
  test -z "$as_dir" && as_dir=.
963
1370
  echo "PATH: $as_dir"
964
1371
done
 
1372
IFS=$as_save_IFS
965
1373
 
966
1374
} >&5
967
1375
 
983
1391
ac_configure_args=
984
1392
ac_configure_args0=
985
1393
ac_configure_args1=
986
 
ac_sep=
987
1394
ac_must_keep_next=false
988
1395
for ac_pass in 1 2
989
1396
do
994
1401
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
995
1402
    | -silent | --silent | --silen | --sile | --sil)
996
1403
      continue ;;
997
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1404
    *\'*)
998
1405
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
999
1406
    esac
1000
1407
    case $ac_pass in
1016
1423
          -* ) ac_must_keep_next=true ;;
1017
1424
        esac
1018
1425
      fi
1019
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1020
 
      # Get rid of the leading space.
1021
 
      ac_sep=" "
 
1426
      ac_configure_args="$ac_configure_args '$ac_arg'"
1022
1427
      ;;
1023
1428
    esac
1024
1429
  done
1029
1434
# When interrupted or exit'd, cleanup temporary files, and complete
1030
1435
# config.log.  We remove comments because anyway the quotes in there
1031
1436
# would cause problems or look ugly.
1032
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1033
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1437
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1438
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1034
1439
trap 'exit_status=$?
1035
1440
  # Save into config.log some information that might help in debugging.
1036
1441
  {
1043
1448
_ASBOX
1044
1449
    echo
1045
1450
    # The following way of writing the cache mishandles newlines in values,
1046
 
{
 
1451
(
 
1452
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1453
    eval ac_val=\$$ac_var
 
1454
    case $ac_val in #(
 
1455
    *${as_nl}*)
 
1456
      case $ac_var in #(
 
1457
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1458
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1459
      esac
 
1460
      case $ac_var in #(
 
1461
      _ | IFS | as_nl) ;; #(
 
1462
      *) $as_unset $ac_var ;;
 
1463
      esac ;;
 
1464
    esac
 
1465
  done
1047
1466
  (set) 2>&1 |
1048
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1049
 
    *ac_space=\ *)
 
1467
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1468
    *${as_nl}ac_space=\ *)
1050
1469
      sed -n \
1051
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1052
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1053
 
      ;;
 
1470
        "s/'\''/'\''\\\\'\'''\''/g;
 
1471
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1472
      ;; #(
1054
1473
    *)
1055
 
      sed -n \
1056
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1474
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1057
1475
      ;;
1058
 
    esac;
1059
 
}
 
1476
    esac |
 
1477
    sort
 
1478
)
1060
1479
    echo
1061
1480
 
1062
1481
    cat <<\_ASBOX
1067
1486
    echo
1068
1487
    for ac_var in $ac_subst_vars
1069
1488
    do
1070
 
      eval ac_val=$`echo $ac_var`
1071
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1489
      eval ac_val=\$$ac_var
 
1490
      case $ac_val in
 
1491
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1492
      esac
 
1493
      echo "$ac_var='\''$ac_val'\''"
1072
1494
    done | sort
1073
1495
    echo
1074
1496
 
1075
1497
    if test -n "$ac_subst_files"; then
1076
1498
      cat <<\_ASBOX
1077
 
## ------------- ##
1078
 
## Output files. ##
1079
 
## ------------- ##
 
1499
## ------------------- ##
 
1500
## File substitutions. ##
 
1501
## ------------------- ##
1080
1502
_ASBOX
1081
1503
      echo
1082
1504
      for ac_var in $ac_subst_files
1083
1505
      do
1084
 
        eval ac_val=$`echo $ac_var`
1085
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1506
        eval ac_val=\$$ac_var
 
1507
        case $ac_val in
 
1508
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1509
        esac
 
1510
        echo "$ac_var='\''$ac_val'\''"
1086
1511
      done | sort
1087
1512
      echo
1088
1513
    fi
1094
1519
## ----------- ##
1095
1520
_ASBOX
1096
1521
      echo
1097
 
      sed "/^$/d" confdefs.h | sort
 
1522
      cat confdefs.h
1098
1523
      echo
1099
1524
    fi
1100
1525
    test "$ac_signal" != 0 &&
1101
1526
      echo "$as_me: caught signal $ac_signal"
1102
1527
    echo "$as_me: exit $exit_status"
1103
1528
  } >&5
1104
 
  rm -f core *.core &&
1105
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1529
  rm -f core *.core core.conftest.* &&
 
1530
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1106
1531
    exit $exit_status
1107
 
     ' 0
 
1532
' 0
1108
1533
for ac_signal in 1 2 13 15; do
1109
1534
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1110
1535
done
1111
1536
ac_signal=0
1112
1537
 
1113
1538
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1114
 
rm -rf conftest* confdefs.h
1115
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1116
 
echo >confdefs.h
 
1539
rm -f -r conftest* confdefs.h
1117
1540
 
1118
1541
# Predefined preprocessor variables.
1119
1542
 
1144
1567
 
1145
1568
# Let the site file select an alternate cache file if it wants to.
1146
1569
# Prefer explicitly selected file to automatically selected ones.
1147
 
if test -z "$CONFIG_SITE"; then
1148
 
  if test "x$prefix" != xNONE; then
1149
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1150
 
  else
1151
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1152
 
  fi
 
1570
if test -n "$CONFIG_SITE"; then
 
1571
  set x "$CONFIG_SITE"
 
1572
elif test "x$prefix" != xNONE; then
 
1573
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1574
else
 
1575
  set x "$ac_default_prefix/share/config.site" \
 
1576
        "$ac_default_prefix/etc/config.site"
1153
1577
fi
1154
 
for ac_site_file in $CONFIG_SITE; do
 
1578
shift
 
1579
for ac_site_file
 
1580
do
1155
1581
  if test -r "$ac_site_file"; then
1156
1582
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1157
1583
echo "$as_me: loading site script $ac_site_file" >&6;}
1167
1593
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1168
1594
echo "$as_me: loading cache $cache_file" >&6;}
1169
1595
    case $cache_file in
1170
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1171
 
      *)                      . ./$cache_file;;
 
1596
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1597
      *)                      . "./$cache_file";;
1172
1598
    esac
1173
1599
  fi
1174
1600
else
1180
1606
# Check that the precious variables saved in the cache have kept the same
1181
1607
# value.
1182
1608
ac_cache_corrupted=false
1183
 
for ac_var in `(set) 2>&1 |
1184
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1609
for ac_var in $ac_precious_vars; do
1185
1610
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1186
1611
  eval ac_new_set=\$ac_env_${ac_var}_set
1187
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1188
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1612
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1613
  eval ac_new_val=\$ac_env_${ac_var}_value
1189
1614
  case $ac_old_set,$ac_new_set in
1190
1615
    set,)
1191
1616
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1210
1635
  # Pass precious variables to config.status.
1211
1636
  if test "$ac_new_set" = set; then
1212
1637
    case $ac_new_val in
1213
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1214
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1638
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1215
1639
    *) ac_arg=$ac_var=$ac_new_val ;;
1216
1640
    esac
1217
1641
    case " $ac_configure_args " in
1228
1652
   { (exit 1); exit 1; }; }
1229
1653
fi
1230
1654
 
 
1655
 
 
1656
 
 
1657
 
 
1658
 
 
1659
 
 
1660
 
 
1661
 
 
1662
 
 
1663
 
 
1664
 
 
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
1231
1671
ac_ext=c
1232
1672
ac_cpp='$CPP $CPPFLAGS'
1233
1673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1235
1675
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1236
1676
 
1237
1677
 
1238
 
 
1239
 
 
1240
 
 
1241
 
 
1242
 
 
1243
 
 
1244
 
 
1245
 
 
1246
 
 
1247
 
 
1248
 
 
1249
 
 
1250
 
 
1251
 
 
1252
 
 
1253
 
 
1254
 
 
1255
 
 
1256
 
          ac_config_headers="$ac_config_headers config.h"
1257
 
 
1258
 
          ac_config_commands="$ac_config_commands default-1"
1259
 
 
1260
 
am__api_version="1.4"
 
1678
ac_config_headers="$ac_config_headers config.h"
 
1679
 
 
1680
am__api_version='1.10'
 
1681
 
1261
1682
ac_aux_dir=
1262
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1263
 
  if test -f $ac_dir/install-sh; then
 
1683
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1684
  if test -f "$ac_dir/install-sh"; then
1264
1685
    ac_aux_dir=$ac_dir
1265
1686
    ac_install_sh="$ac_aux_dir/install-sh -c"
1266
1687
    break
1267
 
  elif test -f $ac_dir/install.sh; then
 
1688
  elif test -f "$ac_dir/install.sh"; then
1268
1689
    ac_aux_dir=$ac_dir
1269
1690
    ac_install_sh="$ac_aux_dir/install.sh -c"
1270
1691
    break
1271
 
  elif test -f $ac_dir/shtool; then
 
1692
  elif test -f "$ac_dir/shtool"; then
1272
1693
    ac_aux_dir=$ac_dir
1273
1694
    ac_install_sh="$ac_aux_dir/shtool install -c"
1274
1695
    break
1275
1696
  fi
1276
1697
done
1277
1698
if test -z "$ac_aux_dir"; then
1278
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1279
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1699
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1700
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1280
1701
   { (exit 1); exit 1; }; }
1281
1702
fi
1282
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1283
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1284
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1703
 
 
1704
# These three variables are undocumented and unsupported,
 
1705
# and are intended to be withdrawn in a future Autoconf release.
 
1706
# They can cause serious problems if a builder's source tree is in a directory
 
1707
# whose full name contains unusual characters.
 
1708
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1709
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1710
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1711
 
1285
1712
 
1286
1713
# Find a good install program.  We prefer a C program (faster),
1287
1714
# so one script is as good as another.  But avoid the broken or
1296
1723
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1297
1724
# OS/2's system install, which has a completely different semantic
1298
1725
# ./install, which can be erroneously created by make from ./install.sh.
1299
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1300
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1726
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1727
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1301
1728
if test -z "$INSTALL"; then
1302
1729
if test "${ac_cv_path_install+set}" = set; then
1303
1730
  echo $ECHO_N "(cached) $ECHO_C" >&6
1319
1746
    # by default.
1320
1747
    for ac_prog in ginstall scoinst install; do
1321
1748
      for ac_exec_ext in '' $ac_executable_extensions; do
1322
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1749
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1323
1750
          if test $ac_prog = install &&
1324
1751
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1325
1752
            # AIX install.  It has an incompatible calling convention.
1338
1765
    ;;
1339
1766
esac
1340
1767
done
 
1768
IFS=$as_save_IFS
1341
1769
 
1342
1770
 
1343
1771
fi
1344
1772
  if test "${ac_cv_path_install+set}" = set; then
1345
1773
    INSTALL=$ac_cv_path_install
1346
1774
  else
1347
 
    # As a last resort, use the slow shell script.  We don't cache a
1348
 
    # path for INSTALL within a source directory, because that will
 
1775
    # As a last resort, use the slow shell script.  Don't cache a
 
1776
    # value for INSTALL within a source directory, because that will
1349
1777
    # break other packages using the cache if that directory is
1350
 
    # removed, or if the path is relative.
 
1778
    # removed, or if the value is a relative name.
1351
1779
    INSTALL=$ac_install_sh
1352
1780
  fi
1353
1781
fi
1354
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1355
 
echo "${ECHO_T}$INSTALL" >&6
 
1782
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1783
echo "${ECHO_T}$INSTALL" >&6; }
1356
1784
 
1357
1785
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1358
1786
# It thinks the first close brace ends the variable substitution.
1362
1790
 
1363
1791
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1364
1792
 
1365
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1366
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1793
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1794
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1367
1795
# Just in case
1368
1796
sleep 1
1369
 
echo timestamp > conftestfile
 
1797
echo timestamp > conftest.file
1370
1798
# Do `set' in a subshell so we don't clobber the current shell's
1371
1799
# arguments.  Must try -L first in case configure is actually a
1372
1800
# symlink; some systems play weird games with the mod time of symlinks
1373
1801
# (eg FreeBSD returns the mod time of the symlink's containing
1374
1802
# directory).
1375
1803
if (
1376
 
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 
1804
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1377
1805
   if test "$*" = "X"; then
1378
1806
      # -L didn't work.
1379
 
      set X `ls -t $srcdir/configure conftestfile`
 
1807
      set X `ls -t $srcdir/configure conftest.file`
1380
1808
   fi
1381
 
   if test "$*" != "X $srcdir/configure conftestfile" \
1382
 
      && test "$*" != "X conftestfile $srcdir/configure"; then
 
1809
   rm -f conftest.file
 
1810
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1811
      && test "$*" != "X conftest.file $srcdir/configure"; then
1383
1812
 
1384
1813
      # If neither matched, then we have a broken ls.  This can happen
1385
1814
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1392
1821
   { (exit 1); exit 1; }; }
1393
1822
   fi
1394
1823
 
1395
 
   test "$2" = conftestfile
 
1824
   test "$2" = conftest.file
1396
1825
   )
1397
1826
then
1398
1827
   # Ok.
1404
1833
Check your system clock" >&2;}
1405
1834
   { (exit 1); exit 1; }; }
1406
1835
fi
1407
 
rm -f conftest*
1408
 
echo "$as_me:$LINENO: result: yes" >&5
1409
 
echo "${ECHO_T}yes" >&6
 
1836
{ echo "$as_me:$LINENO: result: yes" >&5
 
1837
echo "${ECHO_T}yes" >&6; }
1410
1838
test "$program_prefix" != NONE &&
1411
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1839
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1412
1840
# Use a double $ so make ignores it.
1413
1841
test "$program_suffix" != NONE &&
1414
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1842
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1415
1843
# Double any \ or $.  echo might interpret backslashes.
1416
1844
# By default was `s,x,x', remove it if useless.
1417
1845
cat <<\_ACEOF >conftest.sed
1418
1846
s/[\\$]/&&/g;s/;s,x,x,$//
1419
1847
_ACEOF
1420
1848
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1421
 
rm conftest.sed
1422
 
 
1423
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1424
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1425
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1426
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1849
rm -f conftest.sed
 
1850
 
 
1851
# expand $ac_aux_dir to an absolute path
 
1852
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1853
 
 
1854
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1855
# Use eval to expand $SHELL
 
1856
if eval "$MISSING --run true"; then
 
1857
  am_missing_run="$MISSING --run "
 
1858
else
 
1859
  am_missing_run=
 
1860
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1861
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1862
fi
 
1863
 
 
1864
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
1865
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
1866
if test -z "$MKDIR_P"; then
 
1867
  if test "${ac_cv_path_mkdir+set}" = set; then
 
1868
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1869
else
 
1870
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1871
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
1872
do
 
1873
  IFS=$as_save_IFS
 
1874
  test -z "$as_dir" && as_dir=.
 
1875
  for ac_prog in mkdir gmkdir; do
 
1876
         for ac_exec_ext in '' $ac_executable_extensions; do
 
1877
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
1878
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
1879
             'mkdir (GNU coreutils) '* | \
 
1880
             'mkdir (coreutils) '* | \
 
1881
             'mkdir (fileutils) '4.1*)
 
1882
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
1883
               break 3;;
 
1884
           esac
 
1885
         done
 
1886
       done
 
1887
done
 
1888
IFS=$as_save_IFS
 
1889
 
 
1890
fi
 
1891
 
 
1892
  if test "${ac_cv_path_mkdir+set}" = set; then
 
1893
    MKDIR_P="$ac_cv_path_mkdir -p"
 
1894
  else
 
1895
    # As a last resort, use the slow shell script.  Don't cache a
 
1896
    # value for MKDIR_P within a source directory, because that will
 
1897
    # break other packages using the cache if that directory is
 
1898
    # removed, or if the value is a relative name.
 
1899
    test -d ./--version && rmdir ./--version
 
1900
    MKDIR_P="$ac_install_sh -d"
 
1901
  fi
 
1902
fi
 
1903
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
1904
echo "${ECHO_T}$MKDIR_P" >&6; }
 
1905
 
 
1906
mkdir_p="$MKDIR_P"
 
1907
case $mkdir_p in
 
1908
  [\\/$]* | ?:[\\/]*) ;;
 
1909
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
1910
esac
 
1911
 
 
1912
for ac_prog in gawk mawk nawk awk
 
1913
do
 
1914
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1915
set dummy $ac_prog; ac_word=$2
 
1916
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1917
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1918
if test "${ac_cv_prog_AWK+set}" = set; then
 
1919
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1920
else
 
1921
  if test -n "$AWK"; then
 
1922
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1923
else
 
1924
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1925
for as_dir in $PATH
 
1926
do
 
1927
  IFS=$as_save_IFS
 
1928
  test -z "$as_dir" && as_dir=.
 
1929
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1930
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1931
    ac_cv_prog_AWK="$ac_prog"
 
1932
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1933
    break 2
 
1934
  fi
 
1935
done
 
1936
done
 
1937
IFS=$as_save_IFS
 
1938
 
 
1939
fi
 
1940
fi
 
1941
AWK=$ac_cv_prog_AWK
 
1942
if test -n "$AWK"; then
 
1943
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
1944
echo "${ECHO_T}$AWK" >&6; }
 
1945
else
 
1946
  { echo "$as_me:$LINENO: result: no" >&5
 
1947
echo "${ECHO_T}no" >&6; }
 
1948
fi
 
1949
 
 
1950
 
 
1951
  test -n "$AWK" && break
 
1952
done
 
1953
 
 
1954
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1955
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1956
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1957
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1427
1958
  echo $ECHO_N "(cached) $ECHO_C" >&6
1428
1959
else
1429
1960
  cat >conftest.make <<\_ACEOF
 
1961
SHELL = /bin/sh
1430
1962
all:
1431
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1963
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1432
1964
_ACEOF
1433
1965
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1434
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1435
 
if test -n "$ac_maketemp"; then
1436
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1437
 
else
1438
 
  eval ac_cv_prog_make_${ac_make}_set=no
1439
 
fi
 
1966
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1967
  *@@@%%%=?*=@@@%%%*)
 
1968
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1969
  *)
 
1970
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1971
esac
1440
1972
rm -f conftest.make
1441
1973
fi
1442
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1443
 
  echo "$as_me:$LINENO: result: yes" >&5
1444
 
echo "${ECHO_T}yes" >&6
 
1974
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1975
  { echo "$as_me:$LINENO: result: yes" >&5
 
1976
echo "${ECHO_T}yes" >&6; }
1445
1977
  SET_MAKE=
1446
1978
else
1447
 
  echo "$as_me:$LINENO: result: no" >&5
1448
 
echo "${ECHO_T}no" >&6
 
1979
  { echo "$as_me:$LINENO: result: no" >&5
 
1980
echo "${ECHO_T}no" >&6; }
1449
1981
  SET_MAKE="MAKE=${MAKE-make}"
1450
1982
fi
1451
1983
 
1452
 
 
1453
 
PACKAGE=acpi
1454
 
 
1455
 
VERSION=0.09
1456
 
 
1457
 
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1458
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1984
rm -rf .tst 2>/dev/null
 
1985
mkdir .tst 2>/dev/null
 
1986
if test -d .tst; then
 
1987
  am__leading_dot=.
 
1988
else
 
1989
  am__leading_dot=_
 
1990
fi
 
1991
rmdir .tst 2>/dev/null
 
1992
 
 
1993
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
1994
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
1995
  # is not polluted with repeated "-I."
 
1996
  am__isrc=' -I$(srcdir)'
 
1997
  # test to see if srcdir already configured
 
1998
  if test -f $srcdir/config.status; then
 
1999
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1459
2000
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1460
2001
   { (exit 1); exit 1; }; }
1461
 
fi
 
2002
  fi
 
2003
fi
 
2004
 
 
2005
# test whether we have cygpath
 
2006
if test -z "$CYGPATH_W"; then
 
2007
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2008
    CYGPATH_W='cygpath -w'
 
2009
  else
 
2010
    CYGPATH_W=echo
 
2011
  fi
 
2012
fi
 
2013
 
 
2014
 
 
2015
# Define the identity of the package.
 
2016
 PACKAGE=acpi
 
2017
 VERSION=1.1
 
2018
 
1462
2019
 
1463
2020
cat >>confdefs.h <<_ACEOF
1464
2021
#define PACKAGE "$PACKAGE"
1469
2026
#define VERSION "$VERSION"
1470
2027
_ACEOF
1471
2028
 
1472
 
 
1473
 
 
1474
 
missing_dir=`cd $ac_aux_dir && pwd`
1475
 
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1476
 
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1477
 
# Run test in a subshell; some versions of sh will print an error if
1478
 
# an executable is not found, even if stderr is redirected.
1479
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1480
 
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1481
 
   ACLOCAL=aclocal-${am__api_version}
1482
 
   echo "$as_me:$LINENO: result: found" >&5
1483
 
echo "${ECHO_T}found" >&6
1484
 
else
1485
 
   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1486
 
   echo "$as_me:$LINENO: result: missing" >&5
1487
 
echo "${ECHO_T}missing" >&6
1488
 
fi
1489
 
 
1490
 
echo "$as_me:$LINENO: checking for working autoconf" >&5
1491
 
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1492
 
# Run test in a subshell; some versions of sh will print an error if
1493
 
# an executable is not found, even if stderr is redirected.
1494
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1495
 
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1496
 
   AUTOCONF=autoconf
1497
 
   echo "$as_me:$LINENO: result: found" >&5
1498
 
echo "${ECHO_T}found" >&6
1499
 
else
1500
 
   AUTOCONF="$missing_dir/missing autoconf"
1501
 
   echo "$as_me:$LINENO: result: missing" >&5
1502
 
echo "${ECHO_T}missing" >&6
1503
 
fi
1504
 
 
1505
 
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1506
 
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1507
 
# Run test in a subshell; some versions of sh will print an error if
1508
 
# an executable is not found, even if stderr is redirected.
1509
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1510
 
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1511
 
   AUTOMAKE=automake-${am__api_version}
1512
 
   echo "$as_me:$LINENO: result: found" >&5
1513
 
echo "${ECHO_T}found" >&6
1514
 
else
1515
 
   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1516
 
   echo "$as_me:$LINENO: result: missing" >&5
1517
 
echo "${ECHO_T}missing" >&6
1518
 
fi
1519
 
 
1520
 
echo "$as_me:$LINENO: checking for working autoheader" >&5
1521
 
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1522
 
# Run test in a subshell; some versions of sh will print an error if
1523
 
# an executable is not found, even if stderr is redirected.
1524
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1525
 
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1526
 
   AUTOHEADER=autoheader
1527
 
   echo "$as_me:$LINENO: result: found" >&5
1528
 
echo "${ECHO_T}found" >&6
1529
 
else
1530
 
   AUTOHEADER="$missing_dir/missing autoheader"
1531
 
   echo "$as_me:$LINENO: result: missing" >&5
1532
 
echo "${ECHO_T}missing" >&6
1533
 
fi
1534
 
 
1535
 
echo "$as_me:$LINENO: checking for working makeinfo" >&5
1536
 
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1537
 
# Run test in a subshell; some versions of sh will print an error if
1538
 
# an executable is not found, even if stderr is redirected.
1539
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1540
 
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1541
 
   MAKEINFO=makeinfo
1542
 
   echo "$as_me:$LINENO: result: found" >&5
1543
 
echo "${ECHO_T}found" >&6
1544
 
else
1545
 
   MAKEINFO="$missing_dir/missing makeinfo"
1546
 
   echo "$as_me:$LINENO: result: missing" >&5
1547
 
echo "${ECHO_T}missing" >&6
1548
 
fi
 
2029
# Some tools Automake needs.
 
2030
 
 
2031
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2032
 
 
2033
 
 
2034
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2035
 
 
2036
 
 
2037
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2038
 
 
2039
 
 
2040
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2041
 
 
2042
 
 
2043
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2044
 
 
2045
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2046
 
 
2047
# Installed binaries are usually stripped using `strip' when the user
 
2048
# run `make install-strip'.  However `strip' might not be the right
 
2049
# tool to use in cross-compilation environments, therefore Automake
 
2050
# will honor the `STRIP' environment variable to overrule this program.
 
2051
if test "$cross_compiling" != no; then
 
2052
  if test -n "$ac_tool_prefix"; then
 
2053
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2054
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2055
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2056
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2057
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2058
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2059
else
 
2060
  if test -n "$STRIP"; then
 
2061
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2062
else
 
2063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2064
for as_dir in $PATH
 
2065
do
 
2066
  IFS=$as_save_IFS
 
2067
  test -z "$as_dir" && as_dir=.
 
2068
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2070
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2071
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2072
    break 2
 
2073
  fi
 
2074
done
 
2075
done
 
2076
IFS=$as_save_IFS
 
2077
 
 
2078
fi
 
2079
fi
 
2080
STRIP=$ac_cv_prog_STRIP
 
2081
if test -n "$STRIP"; then
 
2082
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2083
echo "${ECHO_T}$STRIP" >&6; }
 
2084
else
 
2085
  { echo "$as_me:$LINENO: result: no" >&5
 
2086
echo "${ECHO_T}no" >&6; }
 
2087
fi
 
2088
 
 
2089
 
 
2090
fi
 
2091
if test -z "$ac_cv_prog_STRIP"; then
 
2092
  ac_ct_STRIP=$STRIP
 
2093
  # Extract the first word of "strip", so it can be a program name with args.
 
2094
set dummy strip; ac_word=$2
 
2095
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2096
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2097
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2098
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2099
else
 
2100
  if test -n "$ac_ct_STRIP"; then
 
2101
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2102
else
 
2103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2104
for as_dir in $PATH
 
2105
do
 
2106
  IFS=$as_save_IFS
 
2107
  test -z "$as_dir" && as_dir=.
 
2108
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2110
    ac_cv_prog_ac_ct_STRIP="strip"
 
2111
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2112
    break 2
 
2113
  fi
 
2114
done
 
2115
done
 
2116
IFS=$as_save_IFS
 
2117
 
 
2118
fi
 
2119
fi
 
2120
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2121
if test -n "$ac_ct_STRIP"; then
 
2122
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2123
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2124
else
 
2125
  { echo "$as_me:$LINENO: result: no" >&5
 
2126
echo "${ECHO_T}no" >&6; }
 
2127
fi
 
2128
 
 
2129
  if test "x$ac_ct_STRIP" = x; then
 
2130
    STRIP=":"
 
2131
  else
 
2132
    case $cross_compiling:$ac_tool_warned in
 
2133
yes:)
 
2134
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2135
whose name does not start with the host triplet.  If you think this
 
2136
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2137
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2138
whose name does not start with the host triplet.  If you think this
 
2139
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2140
ac_tool_warned=yes ;;
 
2141
esac
 
2142
    STRIP=$ac_ct_STRIP
 
2143
  fi
 
2144
else
 
2145
  STRIP="$ac_cv_prog_STRIP"
 
2146
fi
 
2147
 
 
2148
fi
 
2149
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2150
 
 
2151
# We need awk for the "check" target.  The system "awk" is bad on
 
2152
# some platforms.
 
2153
# Always define AMTAR for backward compatibility.
 
2154
 
 
2155
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2156
 
 
2157
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2158
 
 
2159
 
 
2160
 
1549
2161
 
1550
2162
 
1551
2163
ac_ext=c
1556
2168
if test -n "$ac_tool_prefix"; then
1557
2169
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1558
2170
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1559
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1560
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2171
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2172
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1561
2173
if test "${ac_cv_prog_CC+set}" = set; then
1562
2174
  echo $ECHO_N "(cached) $ECHO_C" >&6
1563
2175
else
1570
2182
  IFS=$as_save_IFS
1571
2183
  test -z "$as_dir" && as_dir=.
1572
2184
  for ac_exec_ext in '' $ac_executable_extensions; do
1573
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1574
2186
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1575
2187
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1576
2188
    break 2
1577
2189
  fi
1578
2190
done
1579
2191
done
 
2192
IFS=$as_save_IFS
1580
2193
 
1581
2194
fi
1582
2195
fi
1583
2196
CC=$ac_cv_prog_CC
1584
2197
if test -n "$CC"; then
1585
 
  echo "$as_me:$LINENO: result: $CC" >&5
1586
 
echo "${ECHO_T}$CC" >&6
 
2198
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2199
echo "${ECHO_T}$CC" >&6; }
1587
2200
else
1588
 
  echo "$as_me:$LINENO: result: no" >&5
1589
 
echo "${ECHO_T}no" >&6
 
2201
  { echo "$as_me:$LINENO: result: no" >&5
 
2202
echo "${ECHO_T}no" >&6; }
1590
2203
fi
 
2204
 
1591
2205
 
1592
2206
fi
1593
2207
if test -z "$ac_cv_prog_CC"; then
1594
2208
  ac_ct_CC=$CC
1595
2209
  # Extract the first word of "gcc", so it can be a program name with args.
1596
2210
set dummy gcc; ac_word=$2
1597
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1598
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2211
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2212
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1599
2213
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1600
2214
  echo $ECHO_N "(cached) $ECHO_C" >&6
1601
2215
else
1608
2222
  IFS=$as_save_IFS
1609
2223
  test -z "$as_dir" && as_dir=.
1610
2224
  for ac_exec_ext in '' $ac_executable_extensions; do
1611
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2225
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1612
2226
    ac_cv_prog_ac_ct_CC="gcc"
1613
2227
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614
2228
    break 2
1615
2229
  fi
1616
2230
done
1617
2231
done
 
2232
IFS=$as_save_IFS
1618
2233
 
1619
2234
fi
1620
2235
fi
1621
2236
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1622
2237
if test -n "$ac_ct_CC"; then
1623
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1624
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2238
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2239
echo "${ECHO_T}$ac_ct_CC" >&6; }
1625
2240
else
1626
 
  echo "$as_me:$LINENO: result: no" >&5
1627
 
echo "${ECHO_T}no" >&6
 
2241
  { echo "$as_me:$LINENO: result: no" >&5
 
2242
echo "${ECHO_T}no" >&6; }
1628
2243
fi
1629
2244
 
1630
 
  CC=$ac_ct_CC
 
2245
  if test "x$ac_ct_CC" = x; then
 
2246
    CC=""
 
2247
  else
 
2248
    case $cross_compiling:$ac_tool_warned in
 
2249
yes:)
 
2250
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2251
whose name does not start with the host triplet.  If you think this
 
2252
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2253
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2254
whose name does not start with the host triplet.  If you think this
 
2255
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2256
ac_tool_warned=yes ;;
 
2257
esac
 
2258
    CC=$ac_ct_CC
 
2259
  fi
1631
2260
else
1632
2261
  CC="$ac_cv_prog_CC"
1633
2262
fi
1634
2263
 
1635
2264
if test -z "$CC"; then
1636
 
  if test -n "$ac_tool_prefix"; then
1637
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2265
          if test -n "$ac_tool_prefix"; then
 
2266
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1638
2267
set dummy ${ac_tool_prefix}cc; ac_word=$2
1639
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1640
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2268
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2269
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1641
2270
if test "${ac_cv_prog_CC+set}" = set; then
1642
2271
  echo $ECHO_N "(cached) $ECHO_C" >&6
1643
2272
else
1650
2279
  IFS=$as_save_IFS
1651
2280
  test -z "$as_dir" && as_dir=.
1652
2281
  for ac_exec_ext in '' $ac_executable_extensions; do
1653
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2282
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1654
2283
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1655
2284
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1656
2285
    break 2
1657
2286
  fi
1658
2287
done
1659
2288
done
 
2289
IFS=$as_save_IFS
1660
2290
 
1661
2291
fi
1662
2292
fi
1663
2293
CC=$ac_cv_prog_CC
1664
2294
if test -n "$CC"; then
1665
 
  echo "$as_me:$LINENO: result: $CC" >&5
1666
 
echo "${ECHO_T}$CC" >&6
1667
 
else
1668
 
  echo "$as_me:$LINENO: result: no" >&5
1669
 
echo "${ECHO_T}no" >&6
1670
 
fi
1671
 
 
1672
 
fi
1673
 
if test -z "$ac_cv_prog_CC"; then
1674
 
  ac_ct_CC=$CC
1675
 
  # Extract the first word of "cc", so it can be a program name with args.
1676
 
set dummy cc; ac_word=$2
1677
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1678
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1681
 
else
1682
 
  if test -n "$ac_ct_CC"; then
1683
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1684
 
else
1685
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686
 
for as_dir in $PATH
1687
 
do
1688
 
  IFS=$as_save_IFS
1689
 
  test -z "$as_dir" && as_dir=.
1690
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1691
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692
 
    ac_cv_prog_ac_ct_CC="cc"
1693
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694
 
    break 2
 
2295
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2296
echo "${ECHO_T}$CC" >&6; }
 
2297
else
 
2298
  { echo "$as_me:$LINENO: result: no" >&5
 
2299
echo "${ECHO_T}no" >&6; }
 
2300
fi
 
2301
 
 
2302
 
1695
2303
  fi
1696
 
done
1697
 
done
1698
 
 
1699
 
fi
1700
 
fi
1701
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1702
 
if test -n "$ac_ct_CC"; then
1703
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1704
 
echo "${ECHO_T}$ac_ct_CC" >&6
1705
 
else
1706
 
  echo "$as_me:$LINENO: result: no" >&5
1707
 
echo "${ECHO_T}no" >&6
1708
 
fi
1709
 
 
1710
 
  CC=$ac_ct_CC
1711
 
else
1712
 
  CC="$ac_cv_prog_CC"
1713
 
fi
1714
 
 
1715
2304
fi
1716
2305
if test -z "$CC"; then
1717
2306
  # Extract the first word of "cc", so it can be a program name with args.
1718
2307
set dummy cc; ac_word=$2
1719
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1720
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2308
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2309
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1721
2310
if test "${ac_cv_prog_CC+set}" = set; then
1722
2311
  echo $ECHO_N "(cached) $ECHO_C" >&6
1723
2312
else
1731
2320
  IFS=$as_save_IFS
1732
2321
  test -z "$as_dir" && as_dir=.
1733
2322
  for ac_exec_ext in '' $ac_executable_extensions; do
1734
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2323
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1735
2324
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1736
2325
       ac_prog_rejected=yes
1737
2326
       continue
1742
2331
  fi
1743
2332
done
1744
2333
done
 
2334
IFS=$as_save_IFS
1745
2335
 
1746
2336
if test $ac_prog_rejected = yes; then
1747
2337
  # We found a bogon in the path, so make sure we never use it.
1759
2349
fi
1760
2350
CC=$ac_cv_prog_CC
1761
2351
if test -n "$CC"; then
1762
 
  echo "$as_me:$LINENO: result: $CC" >&5
1763
 
echo "${ECHO_T}$CC" >&6
 
2352
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2353
echo "${ECHO_T}$CC" >&6; }
1764
2354
else
1765
 
  echo "$as_me:$LINENO: result: no" >&5
1766
 
echo "${ECHO_T}no" >&6
 
2355
  { echo "$as_me:$LINENO: result: no" >&5
 
2356
echo "${ECHO_T}no" >&6; }
1767
2357
fi
 
2358
 
1768
2359
 
1769
2360
fi
1770
2361
if test -z "$CC"; then
1771
2362
  if test -n "$ac_tool_prefix"; then
1772
 
  for ac_prog in cl
 
2363
  for ac_prog in cl.exe
1773
2364
  do
1774
2365
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1775
2366
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1776
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1777
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2367
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2368
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1778
2369
if test "${ac_cv_prog_CC+set}" = set; then
1779
2370
  echo $ECHO_N "(cached) $ECHO_C" >&6
1780
2371
else
1787
2378
  IFS=$as_save_IFS
1788
2379
  test -z "$as_dir" && as_dir=.
1789
2380
  for ac_exec_ext in '' $ac_executable_extensions; do
1790
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1791
2382
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1792
2383
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793
2384
    break 2
1794
2385
  fi
1795
2386
done
1796
2387
done
 
2388
IFS=$as_save_IFS
1797
2389
 
1798
2390
fi
1799
2391
fi
1800
2392
CC=$ac_cv_prog_CC
1801
2393
if test -n "$CC"; then
1802
 
  echo "$as_me:$LINENO: result: $CC" >&5
1803
 
echo "${ECHO_T}$CC" >&6
 
2394
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2395
echo "${ECHO_T}$CC" >&6; }
1804
2396
else
1805
 
  echo "$as_me:$LINENO: result: no" >&5
1806
 
echo "${ECHO_T}no" >&6
 
2397
  { echo "$as_me:$LINENO: result: no" >&5
 
2398
echo "${ECHO_T}no" >&6; }
1807
2399
fi
1808
2400
 
 
2401
 
1809
2402
    test -n "$CC" && break
1810
2403
  done
1811
2404
fi
1812
2405
if test -z "$CC"; then
1813
2406
  ac_ct_CC=$CC
1814
 
  for ac_prog in cl
 
2407
  for ac_prog in cl.exe
1815
2408
do
1816
2409
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1817
2410
set dummy $ac_prog; ac_word=$2
1818
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1819
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2411
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2412
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1820
2413
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1821
2414
  echo $ECHO_N "(cached) $ECHO_C" >&6
1822
2415
else
1829
2422
  IFS=$as_save_IFS
1830
2423
  test -z "$as_dir" && as_dir=.
1831
2424
  for ac_exec_ext in '' $ac_executable_extensions; do
1832
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1833
2426
    ac_cv_prog_ac_ct_CC="$ac_prog"
1834
2427
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835
2428
    break 2
1836
2429
  fi
1837
2430
done
1838
2431
done
 
2432
IFS=$as_save_IFS
1839
2433
 
1840
2434
fi
1841
2435
fi
1842
2436
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1843
2437
if test -n "$ac_ct_CC"; then
1844
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1845
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2438
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2439
echo "${ECHO_T}$ac_ct_CC" >&6; }
1846
2440
else
1847
 
  echo "$as_me:$LINENO: result: no" >&5
1848
 
echo "${ECHO_T}no" >&6
 
2441
  { echo "$as_me:$LINENO: result: no" >&5
 
2442
echo "${ECHO_T}no" >&6; }
1849
2443
fi
1850
2444
 
 
2445
 
1851
2446
  test -n "$ac_ct_CC" && break
1852
2447
done
1853
2448
 
1854
 
  CC=$ac_ct_CC
 
2449
  if test "x$ac_ct_CC" = x; then
 
2450
    CC=""
 
2451
  else
 
2452
    case $cross_compiling:$ac_tool_warned in
 
2453
yes:)
 
2454
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2455
whose name does not start with the host triplet.  If you think this
 
2456
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2457
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2458
whose name does not start with the host triplet.  If you think this
 
2459
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2460
ac_tool_warned=yes ;;
 
2461
esac
 
2462
    CC=$ac_ct_CC
 
2463
  fi
1855
2464
fi
1856
2465
 
1857
2466
fi
1864
2473
   { (exit 1); exit 1; }; }
1865
2474
 
1866
2475
# Provide some information about the compiler.
1867
 
echo "$as_me:$LINENO:" \
1868
 
     "checking for C compiler version" >&5
 
2476
echo "$as_me:$LINENO: checking for C compiler version" >&5
1869
2477
ac_compiler=`set X $ac_compile; echo $2`
1870
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1871
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1872
 
  ac_status=$?
1873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874
 
  (exit $ac_status); }
1875
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1876
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1877
 
  ac_status=$?
1878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879
 
  (exit $ac_status); }
1880
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1881
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2478
{ (ac_try="$ac_compiler --version >&5"
 
2479
case "(($ac_try" in
 
2480
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2481
  *) ac_try_echo=$ac_try;;
 
2482
esac
 
2483
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2484
  (eval "$ac_compiler --version >&5") 2>&5
 
2485
  ac_status=$?
 
2486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2487
  (exit $ac_status); }
 
2488
{ (ac_try="$ac_compiler -v >&5"
 
2489
case "(($ac_try" in
 
2490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2491
  *) ac_try_echo=$ac_try;;
 
2492
esac
 
2493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2494
  (eval "$ac_compiler -v >&5") 2>&5
 
2495
  ac_status=$?
 
2496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2497
  (exit $ac_status); }
 
2498
{ (ac_try="$ac_compiler -V >&5"
 
2499
case "(($ac_try" in
 
2500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2501
  *) ac_try_echo=$ac_try;;
 
2502
esac
 
2503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2504
  (eval "$ac_compiler -V >&5") 2>&5
1882
2505
  ac_status=$?
1883
2506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884
2507
  (exit $ac_status); }
1903
2526
# Try to create an executable without -o first, disregard a.out.
1904
2527
# It will help us diagnose broken compilers, and finding out an intuition
1905
2528
# of exeext.
1906
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1907
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2529
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2530
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1908
2531
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1909
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1910
 
  (eval $ac_link_default) 2>&5
 
2532
#
 
2533
# List of possible output files, starting from the most likely.
 
2534
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2535
# only as a last resort.  b.out is created by i960 compilers.
 
2536
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2537
#
 
2538
# The IRIX 6 linker writes into existing files which may not be
 
2539
# executable, retaining their permissions.  Remove them first so a
 
2540
# subsequent execution test works.
 
2541
ac_rmfiles=
 
2542
for ac_file in $ac_files
 
2543
do
 
2544
  case $ac_file in
 
2545
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2546
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2547
  esac
 
2548
done
 
2549
rm -f $ac_rmfiles
 
2550
 
 
2551
if { (ac_try="$ac_link_default"
 
2552
case "(($ac_try" in
 
2553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2554
  *) ac_try_echo=$ac_try;;
 
2555
esac
 
2556
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2557
  (eval "$ac_link_default") 2>&5
1911
2558
  ac_status=$?
1912
2559
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913
2560
  (exit $ac_status); }; then
1914
 
  # Find the output, starting from the most likely.  This scheme is
1915
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1916
 
# resort.
1917
 
 
1918
 
# Be careful to initialize this variable, since it used to be cached.
1919
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1920
 
ac_cv_exeext=
1921
 
# b.out is created by i960 compilers.
1922
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2561
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2562
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2563
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2564
# so that the user can short-circuit this test for compilers unknown to
 
2565
# Autoconf.
 
2566
for ac_file in $ac_files ''
1923
2567
do
1924
2568
  test -f "$ac_file" || continue
1925
2569
  case $ac_file in
1926
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1927
 
        ;;
1928
 
    conftest.$ac_ext )
1929
 
        # This is the source file.
 
2570
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1930
2571
        ;;
1931
2572
    [ab].out )
1932
2573
        # We found the default executable, but exeext='' is most
1933
2574
        # certainly right.
1934
2575
        break;;
1935
2576
    *.* )
1936
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1937
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
1938
 
        # but it would be cool to find out if it's true.  Does anybody
1939
 
        # maintain Libtool? --akim.
1940
 
        export ac_cv_exeext
 
2577
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2578
        then :; else
 
2579
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2580
        fi
 
2581
        # We set ac_cv_exeext here because the later test for it is not
 
2582
        # safe: cross compilers may not add the suffix if given an `-o'
 
2583
        # argument, so we may need to know it at that point already.
 
2584
        # Even if this section looks crufty: it has the advantage of
 
2585
        # actually working.
1941
2586
        break;;
1942
2587
    * )
1943
2588
        break;;
1944
2589
  esac
1945
2590
done
 
2591
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2592
 
1946
2593
else
 
2594
  ac_file=''
 
2595
fi
 
2596
 
 
2597
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2598
echo "${ECHO_T}$ac_file" >&6; }
 
2599
if test -z "$ac_file"; then
1947
2600
  echo "$as_me: failed program was:" >&5
1948
2601
sed 's/^/| /' conftest.$ac_ext >&5
1949
2602
 
1955
2608
fi
1956
2609
 
1957
2610
ac_exeext=$ac_cv_exeext
1958
 
echo "$as_me:$LINENO: result: $ac_file" >&5
1959
 
echo "${ECHO_T}$ac_file" >&6
1960
2611
 
1961
 
# Check the compiler produces executables we can run.  If not, either
 
2612
# Check that the compiler produces executables we can run.  If not, either
1962
2613
# the compiler is broken, or we cross compile.
1963
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1964
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2614
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2615
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1965
2616
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1966
2617
# If not cross compiling, check that we can run a simple program.
1967
2618
if test "$cross_compiling" != yes; then
1968
2619
  if { ac_try='./$ac_file'
1969
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1970
 
  (eval $ac_try) 2>&5
 
2620
  { (case "(($ac_try" in
 
2621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2622
  *) ac_try_echo=$ac_try;;
 
2623
esac
 
2624
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2625
  (eval "$ac_try") 2>&5
1971
2626
  ac_status=$?
1972
2627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973
2628
  (exit $ac_status); }; }; then
1986
2641
    fi
1987
2642
  fi
1988
2643
fi
1989
 
echo "$as_me:$LINENO: result: yes" >&5
1990
 
echo "${ECHO_T}yes" >&6
 
2644
{ echo "$as_me:$LINENO: result: yes" >&5
 
2645
echo "${ECHO_T}yes" >&6; }
1991
2646
 
1992
2647
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1993
2648
ac_clean_files=$ac_clean_files_save
1994
 
# Check the compiler produces executables we can run.  If not, either
 
2649
# Check that the compiler produces executables we can run.  If not, either
1995
2650
# the compiler is broken, or we cross compile.
1996
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1997
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1998
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1999
 
echo "${ECHO_T}$cross_compiling" >&6
 
2651
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2652
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2653
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2654
echo "${ECHO_T}$cross_compiling" >&6; }
2000
2655
 
2001
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2002
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2003
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2004
 
  (eval $ac_link) 2>&5
 
2656
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2657
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2658
if { (ac_try="$ac_link"
 
2659
case "(($ac_try" in
 
2660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2661
  *) ac_try_echo=$ac_try;;
 
2662
esac
 
2663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2664
  (eval "$ac_link") 2>&5
2005
2665
  ac_status=$?
2006
2666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007
2667
  (exit $ac_status); }; then
2012
2672
for ac_file in conftest.exe conftest conftest.*; do
2013
2673
  test -f "$ac_file" || continue
2014
2674
  case $ac_file in
2015
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2675
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2016
2676
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2017
 
          export ac_cv_exeext
2018
2677
          break;;
2019
2678
    * ) break;;
2020
2679
  esac
2028
2687
fi
2029
2688
 
2030
2689
rm -f conftest$ac_cv_exeext
2031
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2032
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2690
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2691
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2033
2692
 
2034
2693
rm -f conftest.$ac_ext
2035
2694
EXEEXT=$ac_cv_exeext
2036
2695
ac_exeext=$EXEEXT
2037
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2038
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2696
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2697
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2039
2698
if test "${ac_cv_objext+set}" = set; then
2040
2699
  echo $ECHO_N "(cached) $ECHO_C" >&6
2041
2700
else
2055
2714
}
2056
2715
_ACEOF
2057
2716
rm -f conftest.o conftest.obj
2058
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2059
 
  (eval $ac_compile) 2>&5
 
2717
if { (ac_try="$ac_compile"
 
2718
case "(($ac_try" in
 
2719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2720
  *) ac_try_echo=$ac_try;;
 
2721
esac
 
2722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2723
  (eval "$ac_compile") 2>&5
2060
2724
  ac_status=$?
2061
2725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062
2726
  (exit $ac_status); }; then
2063
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2727
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2728
  test -f "$ac_file" || continue;
2064
2729
  case $ac_file in
2065
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2730
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2066
2731
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2067
2732
       break;;
2068
2733
  esac
2080
2745
 
2081
2746
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2082
2747
fi
2083
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2084
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2748
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2749
echo "${ECHO_T}$ac_cv_objext" >&6; }
2085
2750
OBJEXT=$ac_cv_objext
2086
2751
ac_objext=$OBJEXT
2087
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2088
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2752
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2753
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2089
2754
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2090
2755
  echo $ECHO_N "(cached) $ECHO_C" >&6
2091
2756
else
2108
2773
}
2109
2774
_ACEOF
2110
2775
rm -f conftest.$ac_objext
2111
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2112
 
  (eval $ac_compile) 2>conftest.er1
 
2776
if { (ac_try="$ac_compile"
 
2777
case "(($ac_try" in
 
2778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2779
  *) ac_try_echo=$ac_try;;
 
2780
esac
 
2781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2782
  (eval "$ac_compile") 2>conftest.er1
2113
2783
  ac_status=$?
2114
2784
  grep -v '^ *+' conftest.er1 >conftest.err
2115
2785
  rm -f conftest.er1
2116
2786
  cat conftest.err >&5
2117
2787
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118
 
  (exit $ac_status); } &&
2119
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121
 
  (eval $ac_try) 2>&5
2122
 
  ac_status=$?
2123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124
 
  (exit $ac_status); }; } &&
2125
 
         { ac_try='test -s conftest.$ac_objext'
2126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127
 
  (eval $ac_try) 2>&5
2128
 
  ac_status=$?
2129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130
 
  (exit $ac_status); }; }; then
 
2788
  (exit $ac_status); } && {
 
2789
         test -z "$ac_c_werror_flag" ||
 
2790
         test ! -s conftest.err
 
2791
       } && test -s conftest.$ac_objext; then
2131
2792
  ac_compiler_gnu=yes
2132
2793
else
2133
2794
  echo "$as_me: failed program was:" >&5
2134
2795
sed 's/^/| /' conftest.$ac_ext >&5
2135
2796
 
2136
 
ac_compiler_gnu=no
 
2797
        ac_compiler_gnu=no
2137
2798
fi
2138
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2799
 
 
2800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139
2801
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2140
2802
 
2141
2803
fi
2142
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2143
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2804
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2805
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2144
2806
GCC=`test $ac_compiler_gnu = yes && echo yes`
2145
2807
ac_test_CFLAGS=${CFLAGS+set}
2146
2808
ac_save_CFLAGS=$CFLAGS
2147
 
CFLAGS="-g"
2148
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2149
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2809
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2810
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2150
2811
if test "${ac_cv_prog_cc_g+set}" = set; then
2151
2812
  echo $ECHO_N "(cached) $ECHO_C" >&6
2152
2813
else
2153
 
  cat >conftest.$ac_ext <<_ACEOF
2154
 
/* confdefs.h.  */
2155
 
_ACEOF
2156
 
cat confdefs.h >>conftest.$ac_ext
2157
 
cat >>conftest.$ac_ext <<_ACEOF
2158
 
/* end confdefs.h.  */
2159
 
 
2160
 
int
2161
 
main ()
2162
 
{
2163
 
 
2164
 
  ;
2165
 
  return 0;
2166
 
}
2167
 
_ACEOF
2168
 
rm -f conftest.$ac_objext
2169
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170
 
  (eval $ac_compile) 2>conftest.er1
2171
 
  ac_status=$?
2172
 
  grep -v '^ *+' conftest.er1 >conftest.err
2173
 
  rm -f conftest.er1
2174
 
  cat conftest.err >&5
2175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176
 
  (exit $ac_status); } &&
2177
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2178
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179
 
  (eval $ac_try) 2>&5
2180
 
  ac_status=$?
2181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182
 
  (exit $ac_status); }; } &&
2183
 
         { ac_try='test -s conftest.$ac_objext'
2184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185
 
  (eval $ac_try) 2>&5
2186
 
  ac_status=$?
2187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188
 
  (exit $ac_status); }; }; then
2189
 
  ac_cv_prog_cc_g=yes
2190
 
else
2191
 
  echo "$as_me: failed program was:" >&5
2192
 
sed 's/^/| /' conftest.$ac_ext >&5
2193
 
 
2194
 
ac_cv_prog_cc_g=no
2195
 
fi
2196
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2197
 
fi
2198
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2199
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2814
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2815
   ac_c_werror_flag=yes
 
2816
   ac_cv_prog_cc_g=no
 
2817
   CFLAGS="-g"
 
2818
   cat >conftest.$ac_ext <<_ACEOF
 
2819
/* confdefs.h.  */
 
2820
_ACEOF
 
2821
cat confdefs.h >>conftest.$ac_ext
 
2822
cat >>conftest.$ac_ext <<_ACEOF
 
2823
/* end confdefs.h.  */
 
2824
 
 
2825
int
 
2826
main ()
 
2827
{
 
2828
 
 
2829
  ;
 
2830
  return 0;
 
2831
}
 
2832
_ACEOF
 
2833
rm -f conftest.$ac_objext
 
2834
if { (ac_try="$ac_compile"
 
2835
case "(($ac_try" in
 
2836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2837
  *) ac_try_echo=$ac_try;;
 
2838
esac
 
2839
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2840
  (eval "$ac_compile") 2>conftest.er1
 
2841
  ac_status=$?
 
2842
  grep -v '^ *+' conftest.er1 >conftest.err
 
2843
  rm -f conftest.er1
 
2844
  cat conftest.err >&5
 
2845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2846
  (exit $ac_status); } && {
 
2847
         test -z "$ac_c_werror_flag" ||
 
2848
         test ! -s conftest.err
 
2849
       } && test -s conftest.$ac_objext; then
 
2850
  ac_cv_prog_cc_g=yes
 
2851
else
 
2852
  echo "$as_me: failed program was:" >&5
 
2853
sed 's/^/| /' conftest.$ac_ext >&5
 
2854
 
 
2855
        CFLAGS=""
 
2856
      cat >conftest.$ac_ext <<_ACEOF
 
2857
/* confdefs.h.  */
 
2858
_ACEOF
 
2859
cat confdefs.h >>conftest.$ac_ext
 
2860
cat >>conftest.$ac_ext <<_ACEOF
 
2861
/* end confdefs.h.  */
 
2862
 
 
2863
int
 
2864
main ()
 
2865
{
 
2866
 
 
2867
  ;
 
2868
  return 0;
 
2869
}
 
2870
_ACEOF
 
2871
rm -f conftest.$ac_objext
 
2872
if { (ac_try="$ac_compile"
 
2873
case "(($ac_try" in
 
2874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2875
  *) ac_try_echo=$ac_try;;
 
2876
esac
 
2877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2878
  (eval "$ac_compile") 2>conftest.er1
 
2879
  ac_status=$?
 
2880
  grep -v '^ *+' conftest.er1 >conftest.err
 
2881
  rm -f conftest.er1
 
2882
  cat conftest.err >&5
 
2883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2884
  (exit $ac_status); } && {
 
2885
         test -z "$ac_c_werror_flag" ||
 
2886
         test ! -s conftest.err
 
2887
       } && test -s conftest.$ac_objext; then
 
2888
  :
 
2889
else
 
2890
  echo "$as_me: failed program was:" >&5
 
2891
sed 's/^/| /' conftest.$ac_ext >&5
 
2892
 
 
2893
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2894
         CFLAGS="-g"
 
2895
         cat >conftest.$ac_ext <<_ACEOF
 
2896
/* confdefs.h.  */
 
2897
_ACEOF
 
2898
cat confdefs.h >>conftest.$ac_ext
 
2899
cat >>conftest.$ac_ext <<_ACEOF
 
2900
/* end confdefs.h.  */
 
2901
 
 
2902
int
 
2903
main ()
 
2904
{
 
2905
 
 
2906
  ;
 
2907
  return 0;
 
2908
}
 
2909
_ACEOF
 
2910
rm -f conftest.$ac_objext
 
2911
if { (ac_try="$ac_compile"
 
2912
case "(($ac_try" in
 
2913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2914
  *) ac_try_echo=$ac_try;;
 
2915
esac
 
2916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2917
  (eval "$ac_compile") 2>conftest.er1
 
2918
  ac_status=$?
 
2919
  grep -v '^ *+' conftest.er1 >conftest.err
 
2920
  rm -f conftest.er1
 
2921
  cat conftest.err >&5
 
2922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2923
  (exit $ac_status); } && {
 
2924
         test -z "$ac_c_werror_flag" ||
 
2925
         test ! -s conftest.err
 
2926
       } && test -s conftest.$ac_objext; then
 
2927
  ac_cv_prog_cc_g=yes
 
2928
else
 
2929
  echo "$as_me: failed program was:" >&5
 
2930
sed 's/^/| /' conftest.$ac_ext >&5
 
2931
 
 
2932
 
 
2933
fi
 
2934
 
 
2935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2936
fi
 
2937
 
 
2938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2939
fi
 
2940
 
 
2941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2942
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2943
fi
 
2944
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2945
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2200
2946
if test "$ac_test_CFLAGS" = set; then
2201
2947
  CFLAGS=$ac_save_CFLAGS
2202
2948
elif test $ac_cv_prog_cc_g = yes; then
2212
2958
    CFLAGS=
2213
2959
  fi
2214
2960
fi
2215
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2216
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2217
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2961
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2962
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2963
if test "${ac_cv_prog_cc_c89+set}" = set; then
2218
2964
  echo $ECHO_N "(cached) $ECHO_C" >&6
2219
2965
else
2220
 
  ac_cv_prog_cc_stdc=no
 
2966
  ac_cv_prog_cc_c89=no
2221
2967
ac_save_CC=$CC
2222
2968
cat >conftest.$ac_ext <<_ACEOF
2223
2969
/* confdefs.h.  */
2251
2997
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2252
2998
   function prototypes and stuff, but not '\xHH' hex character constants.
2253
2999
   These don't provoke an error unfortunately, instead are silently treated
2254
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3000
   as 'x'.  The following induces an error, until -std is added to get
2255
3001
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2256
3002
   array size at least.  It's necessary to write '\x00'==0 to get something
2257
 
   that's true only with -std1.  */
 
3003
   that's true only with -std.  */
2258
3004
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2259
3005
 
 
3006
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3007
   inside strings and character constants.  */
 
3008
#define FOO(x) 'x'
 
3009
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3010
 
2260
3011
int test (int i, double x);
2261
3012
struct s1 {int (*f) (int a);};
2262
3013
struct s2 {int (*f) (double a);};
2271
3022
  return 0;
2272
3023
}
2273
3024
_ACEOF
2274
 
# Don't try gcc -ansi; that turns off useful extensions and
2275
 
# breaks some systems' header files.
2276
 
# AIX                   -qlanglvl=ansi
2277
 
# Ultrix and OSF/1      -std1
2278
 
# HP-UX 10.20 and later -Ae
2279
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2280
 
# SVR4                  -Xc -D__EXTENSIONS__
2281
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3025
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3026
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2282
3027
do
2283
3028
  CC="$ac_save_CC $ac_arg"
2284
3029
  rm -f conftest.$ac_objext
2285
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2286
 
  (eval $ac_compile) 2>conftest.er1
 
3030
if { (ac_try="$ac_compile"
 
3031
case "(($ac_try" in
 
3032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3033
  *) ac_try_echo=$ac_try;;
 
3034
esac
 
3035
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3036
  (eval "$ac_compile") 2>conftest.er1
2287
3037
  ac_status=$?
2288
3038
  grep -v '^ *+' conftest.er1 >conftest.err
2289
3039
  rm -f conftest.er1
2290
3040
  cat conftest.err >&5
2291
3041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292
 
  (exit $ac_status); } &&
2293
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2294
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295
 
  (eval $ac_try) 2>&5
2296
 
  ac_status=$?
2297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298
 
  (exit $ac_status); }; } &&
2299
 
         { ac_try='test -s conftest.$ac_objext'
2300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301
 
  (eval $ac_try) 2>&5
2302
 
  ac_status=$?
2303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304
 
  (exit $ac_status); }; }; then
2305
 
  ac_cv_prog_cc_stdc=$ac_arg
2306
 
break
 
3042
  (exit $ac_status); } && {
 
3043
         test -z "$ac_c_werror_flag" ||
 
3044
         test ! -s conftest.err
 
3045
       } && test -s conftest.$ac_objext; then
 
3046
  ac_cv_prog_cc_c89=$ac_arg
2307
3047
else
2308
3048
  echo "$as_me: failed program was:" >&5
2309
3049
sed 's/^/| /' conftest.$ac_ext >&5
2310
3050
 
 
3051
 
2311
3052
fi
2312
 
rm -f conftest.err conftest.$ac_objext
 
3053
 
 
3054
rm -f core conftest.err conftest.$ac_objext
 
3055
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2313
3056
done
2314
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3057
rm -f conftest.$ac_ext
2315
3058
CC=$ac_save_CC
2316
3059
 
2317
3060
fi
2318
 
 
2319
 
case "x$ac_cv_prog_cc_stdc" in
2320
 
  x|xno)
2321
 
    echo "$as_me:$LINENO: result: none needed" >&5
2322
 
echo "${ECHO_T}none needed" >&6 ;;
 
3061
# AC_CACHE_VAL
 
3062
case "x$ac_cv_prog_cc_c89" in
 
3063
  x)
 
3064
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3065
echo "${ECHO_T}none needed" >&6; } ;;
 
3066
  xno)
 
3067
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3068
echo "${ECHO_T}unsupported" >&6; } ;;
2323
3069
  *)
2324
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2325
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2326
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3070
    CC="$CC $ac_cv_prog_cc_c89"
 
3071
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3072
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2327
3073
esac
2328
3074
 
2329
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2330
 
# in C++ we need to declare it.  In case someone uses the same compiler
2331
 
# for both compiling C and C++ we need to have the C++ compiler decide
2332
 
# the declaration of exit, since it's the most demanding environment.
2333
 
cat >conftest.$ac_ext <<_ACEOF
2334
 
#ifndef __cplusplus
2335
 
  choke me
2336
 
#endif
2337
 
_ACEOF
2338
 
rm -f conftest.$ac_objext
2339
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2340
 
  (eval $ac_compile) 2>conftest.er1
2341
 
  ac_status=$?
2342
 
  grep -v '^ *+' conftest.er1 >conftest.err
2343
 
  rm -f conftest.er1
2344
 
  cat conftest.err >&5
2345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346
 
  (exit $ac_status); } &&
2347
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349
 
  (eval $ac_try) 2>&5
2350
 
  ac_status=$?
2351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352
 
  (exit $ac_status); }; } &&
2353
 
         { ac_try='test -s conftest.$ac_objext'
2354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355
 
  (eval $ac_try) 2>&5
2356
 
  ac_status=$?
2357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
 
  (exit $ac_status); }; }; then
2359
 
  for ac_declaration in \
2360
 
   '' \
2361
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2362
 
   'extern "C" void std::exit (int); using std::exit;' \
2363
 
   'extern "C" void exit (int) throw ();' \
2364
 
   'extern "C" void exit (int);' \
2365
 
   'void exit (int);'
2366
 
do
2367
 
  cat >conftest.$ac_ext <<_ACEOF
2368
 
/* confdefs.h.  */
2369
 
_ACEOF
2370
 
cat confdefs.h >>conftest.$ac_ext
2371
 
cat >>conftest.$ac_ext <<_ACEOF
2372
 
/* end confdefs.h.  */
2373
 
$ac_declaration
2374
 
#include <stdlib.h>
2375
 
int
2376
 
main ()
2377
 
{
2378
 
exit (42);
2379
 
  ;
2380
 
  return 0;
2381
 
}
2382
 
_ACEOF
2383
 
rm -f conftest.$ac_objext
2384
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385
 
  (eval $ac_compile) 2>conftest.er1
2386
 
  ac_status=$?
2387
 
  grep -v '^ *+' conftest.er1 >conftest.err
2388
 
  rm -f conftest.er1
2389
 
  cat conftest.err >&5
2390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391
 
  (exit $ac_status); } &&
2392
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394
 
  (eval $ac_try) 2>&5
2395
 
  ac_status=$?
2396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397
 
  (exit $ac_status); }; } &&
2398
 
         { ac_try='test -s conftest.$ac_objext'
2399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400
 
  (eval $ac_try) 2>&5
2401
 
  ac_status=$?
2402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403
 
  (exit $ac_status); }; }; then
2404
 
  :
2405
 
else
2406
 
  echo "$as_me: failed program was:" >&5
2407
 
sed 's/^/| /' conftest.$ac_ext >&5
2408
 
 
2409
 
continue
2410
 
fi
2411
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2412
 
  cat >conftest.$ac_ext <<_ACEOF
2413
 
/* confdefs.h.  */
2414
 
_ACEOF
2415
 
cat confdefs.h >>conftest.$ac_ext
2416
 
cat >>conftest.$ac_ext <<_ACEOF
2417
 
/* end confdefs.h.  */
2418
 
$ac_declaration
2419
 
int
2420
 
main ()
2421
 
{
2422
 
exit (42);
2423
 
  ;
2424
 
  return 0;
2425
 
}
2426
 
_ACEOF
2427
 
rm -f conftest.$ac_objext
2428
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429
 
  (eval $ac_compile) 2>conftest.er1
2430
 
  ac_status=$?
2431
 
  grep -v '^ *+' conftest.er1 >conftest.err
2432
 
  rm -f conftest.er1
2433
 
  cat conftest.err >&5
2434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
 
  (exit $ac_status); } &&
2436
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438
 
  (eval $ac_try) 2>&5
2439
 
  ac_status=$?
2440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441
 
  (exit $ac_status); }; } &&
2442
 
         { ac_try='test -s conftest.$ac_objext'
2443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444
 
  (eval $ac_try) 2>&5
2445
 
  ac_status=$?
2446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447
 
  (exit $ac_status); }; }; then
2448
 
  break
2449
 
else
2450
 
  echo "$as_me: failed program was:" >&5
2451
 
sed 's/^/| /' conftest.$ac_ext >&5
2452
 
 
2453
 
fi
2454
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2455
 
done
2456
 
rm -f conftest*
2457
 
if test -n "$ac_declaration"; then
2458
 
  echo '#ifdef __cplusplus' >>confdefs.h
2459
 
  echo $ac_declaration      >>confdefs.h
2460
 
  echo '#endif'             >>confdefs.h
2461
 
fi
2462
 
 
2463
 
else
2464
 
  echo "$as_me: failed program was:" >&5
2465
 
sed 's/^/| /' conftest.$ac_ext >&5
2466
 
 
2467
 
fi
2468
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3075
 
2469
3076
ac_ext=c
2470
3077
ac_cpp='$CPP $CPPFLAGS'
2471
3078
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2472
3079
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2473
3080
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2474
 
 
2475
 
 
2476
 
 
2477
 
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2478
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2479
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2481
 
else
2482
 
  ac_check_lib_save_LIBS=$LIBS
2483
 
LIBS="-lcposix  $LIBS"
 
3081
DEPDIR="${am__leading_dot}deps"
 
3082
 
 
3083
ac_config_commands="$ac_config_commands depfiles"
 
3084
 
 
3085
 
 
3086
am_make=${MAKE-make}
 
3087
cat > confinc << 'END'
 
3088
am__doit:
 
3089
        @echo done
 
3090
.PHONY: am__doit
 
3091
END
 
3092
# If we don't find an include directive, just comment out the code.
 
3093
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3094
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3095
am__include="#"
 
3096
am__quote=
 
3097
_am_result=none
 
3098
# First try GNU make style include.
 
3099
echo "include confinc" > confmf
 
3100
# We grep out `Entering directory' and `Leaving directory'
 
3101
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3102
# In particular we don't look at `^make:' because GNU make might
 
3103
# be invoked under some other name (usually "gmake"), in which
 
3104
# case it prints its new name instead of `make'.
 
3105
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3106
   am__include=include
 
3107
   am__quote=
 
3108
   _am_result=GNU
 
3109
fi
 
3110
# Now try BSD make style include.
 
3111
if test "$am__include" = "#"; then
 
3112
   echo '.include "confinc"' > confmf
 
3113
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3114
      am__include=.include
 
3115
      am__quote="\""
 
3116
      _am_result=BSD
 
3117
   fi
 
3118
fi
 
3119
 
 
3120
 
 
3121
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3122
echo "${ECHO_T}$_am_result" >&6; }
 
3123
rm -f confinc confmf
 
3124
 
 
3125
# Check whether --enable-dependency-tracking was given.
 
3126
if test "${enable_dependency_tracking+set}" = set; then
 
3127
  enableval=$enable_dependency_tracking;
 
3128
fi
 
3129
 
 
3130
if test "x$enable_dependency_tracking" != xno; then
 
3131
  am_depcomp="$ac_aux_dir/depcomp"
 
3132
  AMDEPBACKSLASH='\'
 
3133
fi
 
3134
 if test "x$enable_dependency_tracking" != xno; then
 
3135
  AMDEP_TRUE=
 
3136
  AMDEP_FALSE='#'
 
3137
else
 
3138
  AMDEP_TRUE='#'
 
3139
  AMDEP_FALSE=
 
3140
fi
 
3141
 
 
3142
 
 
3143
 
 
3144
depcc="$CC"   am_compiler_list=
 
3145
 
 
3146
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3147
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3148
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3149
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3150
else
 
3151
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3152
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3153
  # making bogus files that we don't know about and never remove.  For
 
3154
  # instance it was reported that on HP-UX the gcc test will end up
 
3155
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3156
  # in D'.
 
3157
  mkdir conftest.dir
 
3158
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3159
  # using a relative directory.
 
3160
  cp "$am_depcomp" conftest.dir
 
3161
  cd conftest.dir
 
3162
  # We will build objects and dependencies in a subdirectory because
 
3163
  # it helps to detect inapplicable dependency modes.  For instance
 
3164
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3165
  # side effect of compilation, but ICC will put the dependencies in
 
3166
  # the current directory while Tru64 will put them in the object
 
3167
  # directory.
 
3168
  mkdir sub
 
3169
 
 
3170
  am_cv_CC_dependencies_compiler_type=none
 
3171
  if test "$am_compiler_list" = ""; then
 
3172
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3173
  fi
 
3174
  for depmode in $am_compiler_list; do
 
3175
    # Setup a source with many dependencies, because some compilers
 
3176
    # like to wrap large dependency lists on column 80 (with \), and
 
3177
    # we should not choose a depcomp mode which is confused by this.
 
3178
    #
 
3179
    # We need to recreate these files for each test, as the compiler may
 
3180
    # overwrite some of them when testing with obscure command lines.
 
3181
    # This happens at least with the AIX C compiler.
 
3182
    : > sub/conftest.c
 
3183
    for i in 1 2 3 4 5 6; do
 
3184
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3185
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3186
      # Solaris 8's {/usr,}/bin/sh.
 
3187
      touch sub/conftst$i.h
 
3188
    done
 
3189
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3190
 
 
3191
    case $depmode in
 
3192
    nosideeffect)
 
3193
      # after this tag, mechanisms are not by side-effect, so they'll
 
3194
      # only be used when explicitly requested
 
3195
      if test "x$enable_dependency_tracking" = xyes; then
 
3196
        continue
 
3197
      else
 
3198
        break
 
3199
      fi
 
3200
      ;;
 
3201
    none) break ;;
 
3202
    esac
 
3203
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3204
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3205
    # handle `-M -o', and we need to detect this.
 
3206
    if depmode=$depmode \
 
3207
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3208
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3209
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3210
         >/dev/null 2>conftest.err &&
 
3211
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3212
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3213
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3214
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3215
      # icc doesn't choke on unknown options, it will just issue warnings
 
3216
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3217
      # that says an option was ignored or not supported.
 
3218
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3219
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3220
      # The diagnosis changed in icc 8.0:
 
3221
      #   icc: Command line remark: option '-MP' not supported
 
3222
      if (grep 'ignoring option' conftest.err ||
 
3223
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3224
        am_cv_CC_dependencies_compiler_type=$depmode
 
3225
        break
 
3226
      fi
 
3227
    fi
 
3228
  done
 
3229
 
 
3230
  cd ..
 
3231
  rm -rf conftest.dir
 
3232
else
 
3233
  am_cv_CC_dependencies_compiler_type=none
 
3234
fi
 
3235
 
 
3236
fi
 
3237
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3238
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3239
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3240
 
 
3241
 if
 
3242
  test "x$enable_dependency_tracking" != xno \
 
3243
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3244
  am__fastdepCC_TRUE=
 
3245
  am__fastdepCC_FALSE='#'
 
3246
else
 
3247
  am__fastdepCC_TRUE='#'
 
3248
  am__fastdepCC_FALSE=
 
3249
fi
 
3250
 
 
3251
 
 
3252
 
 
3253
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3254
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
3255
if test "${ac_cv_search_strerror+set}" = set; then
 
3256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3257
else
 
3258
  ac_func_search_save_LIBS=$LIBS
2484
3259
cat >conftest.$ac_ext <<_ACEOF
2485
3260
/* confdefs.h.  */
2486
3261
_ACEOF
2488
3263
cat >>conftest.$ac_ext <<_ACEOF
2489
3264
/* end confdefs.h.  */
2490
3265
 
2491
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3266
/* Override any GCC internal prototype to avoid an error.
 
3267
   Use char because int might match the return type of a GCC
 
3268
   builtin and then its argument prototype would still apply.  */
2492
3269
#ifdef __cplusplus
2493
3270
extern "C"
2494
3271
#endif
2495
 
/* We use char because int might match the return type of a gcc2
2496
 
   builtin and then its argument prototype would still apply.  */
2497
3272
char strerror ();
2498
3273
int
2499
3274
main ()
2500
3275
{
2501
 
strerror ();
 
3276
return strerror ();
2502
3277
  ;
2503
3278
  return 0;
2504
3279
}
2505
3280
_ACEOF
2506
 
rm -f conftest.$ac_objext conftest$ac_exeext
2507
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2508
 
  (eval $ac_link) 2>conftest.er1
 
3281
for ac_lib in '' cposix; do
 
3282
  if test -z "$ac_lib"; then
 
3283
    ac_res="none required"
 
3284
  else
 
3285
    ac_res=-l$ac_lib
 
3286
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3287
  fi
 
3288
  rm -f conftest.$ac_objext conftest$ac_exeext
 
3289
if { (ac_try="$ac_link"
 
3290
case "(($ac_try" in
 
3291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3292
  *) ac_try_echo=$ac_try;;
 
3293
esac
 
3294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3295
  (eval "$ac_link") 2>conftest.er1
2509
3296
  ac_status=$?
2510
3297
  grep -v '^ *+' conftest.er1 >conftest.err
2511
3298
  rm -f conftest.er1
2512
3299
  cat conftest.err >&5
2513
3300
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514
 
  (exit $ac_status); } &&
2515
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2516
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517
 
  (eval $ac_try) 2>&5
2518
 
  ac_status=$?
2519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520
 
  (exit $ac_status); }; } &&
2521
 
         { ac_try='test -s conftest$ac_exeext'
2522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523
 
  (eval $ac_try) 2>&5
2524
 
  ac_status=$?
2525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526
 
  (exit $ac_status); }; }; then
2527
 
  ac_cv_lib_cposix_strerror=yes
 
3301
  (exit $ac_status); } && {
 
3302
         test -z "$ac_c_werror_flag" ||
 
3303
         test ! -s conftest.err
 
3304
       } && test -s conftest$ac_exeext &&
 
3305
       $as_test_x conftest$ac_exeext; then
 
3306
  ac_cv_search_strerror=$ac_res
2528
3307
else
2529
3308
  echo "$as_me: failed program was:" >&5
2530
3309
sed 's/^/| /' conftest.$ac_ext >&5
2531
3310
 
2532
 
ac_cv_lib_cposix_strerror=no
2533
 
fi
2534
 
rm -f conftest.err conftest.$ac_objext \
2535
 
      conftest$ac_exeext conftest.$ac_ext
2536
 
LIBS=$ac_check_lib_save_LIBS
2537
 
fi
2538
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2539
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2540
 
if test $ac_cv_lib_cposix_strerror = yes; then
2541
 
  LIBS="$LIBS -lcposix"
2542
 
fi
2543
 
 
2544
 
 
 
3311
 
 
3312
fi
 
3313
 
 
3314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
3315
      conftest$ac_exeext
 
3316
  if test "${ac_cv_search_strerror+set}" = set; then
 
3317
  break
 
3318
fi
 
3319
done
 
3320
if test "${ac_cv_search_strerror+set}" = set; then
 
3321
  :
 
3322
else
 
3323
  ac_cv_search_strerror=no
 
3324
fi
 
3325
rm conftest.$ac_ext
 
3326
LIBS=$ac_func_search_save_LIBS
 
3327
fi
 
3328
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3329
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
3330
ac_res=$ac_cv_search_strerror
 
3331
if test "$ac_res" != no; then
 
3332
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3333
 
 
3334
fi
2545
3335
 
2546
3336
ac_ext=c
2547
3337
ac_cpp='$CPP $CPPFLAGS'
2548
3338
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549
3339
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550
3340
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2552
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3341
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3342
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2553
3343
# On Suns, sometimes $CPP names a directory.
2554
3344
if test -n "$CPP" && test -d "$CPP"; then
2555
3345
  CPP=
2583
3373
#endif
2584
3374
                     Syntax error
2585
3375
_ACEOF
2586
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2587
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3376
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3377
case "(($ac_try" in
 
3378
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3379
  *) ac_try_echo=$ac_try;;
 
3380
esac
 
3381
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3382
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2588
3383
  ac_status=$?
2589
3384
  grep -v '^ *+' conftest.er1 >conftest.err
2590
3385
  rm -f conftest.er1
2591
3386
  cat conftest.err >&5
2592
3387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593
 
  (exit $ac_status); } >/dev/null; then
2594
 
  if test -s conftest.err; then
2595
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2596
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2597
 
  else
2598
 
    ac_cpp_err=
2599
 
  fi
2600
 
else
2601
 
  ac_cpp_err=yes
2602
 
fi
2603
 
if test -z "$ac_cpp_err"; then
 
3388
  (exit $ac_status); } >/dev/null && {
 
3389
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3390
         test ! -s conftest.err
 
3391
       }; then
2604
3392
  :
2605
3393
else
2606
3394
  echo "$as_me: failed program was:" >&5
2609
3397
  # Broken: fails on valid input.
2610
3398
continue
2611
3399
fi
 
3400
 
2612
3401
rm -f conftest.err conftest.$ac_ext
2613
3402
 
2614
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3403
  # OK, works on sane cases.  Now check whether nonexistent headers
2615
3404
  # can be detected and how.
2616
3405
  cat >conftest.$ac_ext <<_ACEOF
2617
3406
/* confdefs.h.  */
2621
3410
/* end confdefs.h.  */
2622
3411
#include <ac_nonexistent.h>
2623
3412
_ACEOF
2624
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2625
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3413
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3414
case "(($ac_try" in
 
3415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3416
  *) ac_try_echo=$ac_try;;
 
3417
esac
 
3418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3419
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2626
3420
  ac_status=$?
2627
3421
  grep -v '^ *+' conftest.er1 >conftest.err
2628
3422
  rm -f conftest.er1
2629
3423
  cat conftest.err >&5
2630
3424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631
 
  (exit $ac_status); } >/dev/null; then
2632
 
  if test -s conftest.err; then
2633
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2634
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2635
 
  else
2636
 
    ac_cpp_err=
2637
 
  fi
2638
 
else
2639
 
  ac_cpp_err=yes
2640
 
fi
2641
 
if test -z "$ac_cpp_err"; then
 
3425
  (exit $ac_status); } >/dev/null && {
 
3426
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3427
         test ! -s conftest.err
 
3428
       }; then
2642
3429
  # Broken: success on invalid input.
2643
3430
continue
2644
3431
else
2649
3436
ac_preproc_ok=:
2650
3437
break
2651
3438
fi
 
3439
 
2652
3440
rm -f conftest.err conftest.$ac_ext
2653
3441
 
2654
3442
done
2666
3454
else
2667
3455
  ac_cv_prog_CPP=$CPP
2668
3456
fi
2669
 
echo "$as_me:$LINENO: result: $CPP" >&5
2670
 
echo "${ECHO_T}$CPP" >&6
 
3457
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3458
echo "${ECHO_T}$CPP" >&6; }
2671
3459
ac_preproc_ok=false
2672
3460
for ac_c_preproc_warn_flag in '' yes
2673
3461
do
2690
3478
#endif
2691
3479
                     Syntax error
2692
3480
_ACEOF
2693
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2694
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3481
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3482
case "(($ac_try" in
 
3483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3484
  *) ac_try_echo=$ac_try;;
 
3485
esac
 
3486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3487
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2695
3488
  ac_status=$?
2696
3489
  grep -v '^ *+' conftest.er1 >conftest.err
2697
3490
  rm -f conftest.er1
2698
3491
  cat conftest.err >&5
2699
3492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700
 
  (exit $ac_status); } >/dev/null; then
2701
 
  if test -s conftest.err; then
2702
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2703
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2704
 
  else
2705
 
    ac_cpp_err=
2706
 
  fi
2707
 
else
2708
 
  ac_cpp_err=yes
2709
 
fi
2710
 
if test -z "$ac_cpp_err"; then
 
3493
  (exit $ac_status); } >/dev/null && {
 
3494
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3495
         test ! -s conftest.err
 
3496
       }; then
2711
3497
  :
2712
3498
else
2713
3499
  echo "$as_me: failed program was:" >&5
2716
3502
  # Broken: fails on valid input.
2717
3503
continue
2718
3504
fi
 
3505
 
2719
3506
rm -f conftest.err conftest.$ac_ext
2720
3507
 
2721
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3508
  # OK, works on sane cases.  Now check whether nonexistent headers
2722
3509
  # can be detected and how.
2723
3510
  cat >conftest.$ac_ext <<_ACEOF
2724
3511
/* confdefs.h.  */
2728
3515
/* end confdefs.h.  */
2729
3516
#include <ac_nonexistent.h>
2730
3517
_ACEOF
2731
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2732
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3518
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3519
case "(($ac_try" in
 
3520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3521
  *) ac_try_echo=$ac_try;;
 
3522
esac
 
3523
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3524
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2733
3525
  ac_status=$?
2734
3526
  grep -v '^ *+' conftest.er1 >conftest.err
2735
3527
  rm -f conftest.er1
2736
3528
  cat conftest.err >&5
2737
3529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
 
  (exit $ac_status); } >/dev/null; then
2739
 
  if test -s conftest.err; then
2740
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2741
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2742
 
  else
2743
 
    ac_cpp_err=
2744
 
  fi
2745
 
else
2746
 
  ac_cpp_err=yes
2747
 
fi
2748
 
if test -z "$ac_cpp_err"; then
 
3530
  (exit $ac_status); } >/dev/null && {
 
3531
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3532
         test ! -s conftest.err
 
3533
       }; then
2749
3534
  # Broken: success on invalid input.
2750
3535
continue
2751
3536
else
2756
3541
ac_preproc_ok=:
2757
3542
break
2758
3543
fi
 
3544
 
2759
3545
rm -f conftest.err conftest.$ac_ext
2760
3546
 
2761
3547
done
2778
3564
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2779
3565
 
2780
3566
 
2781
 
echo "$as_me:$LINENO: checking for egrep" >&5
2782
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2783
 
if test "${ac_cv_prog_egrep+set}" = set; then
2784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2785
 
else
2786
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2787
 
    then ac_cv_prog_egrep='grep -E'
2788
 
    else ac_cv_prog_egrep='egrep'
2789
 
    fi
2790
 
fi
2791
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2792
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2793
 
 EGREP=$ac_cv_prog_egrep
2794
 
 
2795
 
 
2796
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2797
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3567
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3568
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3569
if test "${ac_cv_path_GREP+set}" = set; then
 
3570
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3571
else
 
3572
  # Extract the first word of "grep ggrep" to use in msg output
 
3573
if test -z "$GREP"; then
 
3574
set dummy grep ggrep; ac_prog_name=$2
 
3575
if test "${ac_cv_path_GREP+set}" = set; then
 
3576
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3577
else
 
3578
  ac_path_GREP_found=false
 
3579
# Loop through the user's path and test for each of PROGNAME-LIST
 
3580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3581
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3582
do
 
3583
  IFS=$as_save_IFS
 
3584
  test -z "$as_dir" && as_dir=.
 
3585
  for ac_prog in grep ggrep; do
 
3586
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3587
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3588
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3589
    # Check for GNU ac_path_GREP and select it if it is found.
 
3590
  # Check for GNU $ac_path_GREP
 
3591
case `"$ac_path_GREP" --version 2>&1` in
 
3592
*GNU*)
 
3593
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3594
*)
 
3595
  ac_count=0
 
3596
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3597
  while :
 
3598
  do
 
3599
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3600
    mv "conftest.tmp" "conftest.in"
 
3601
    cp "conftest.in" "conftest.nl"
 
3602
    echo 'GREP' >> "conftest.nl"
 
3603
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3604
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3605
    ac_count=`expr $ac_count + 1`
 
3606
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3607
      # Best one so far, save it but keep looking for a better one
 
3608
      ac_cv_path_GREP="$ac_path_GREP"
 
3609
      ac_path_GREP_max=$ac_count
 
3610
    fi
 
3611
    # 10*(2^10) chars as input seems more than enough
 
3612
    test $ac_count -gt 10 && break
 
3613
  done
 
3614
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3615
esac
 
3616
 
 
3617
 
 
3618
    $ac_path_GREP_found && break 3
 
3619
  done
 
3620
done
 
3621
 
 
3622
done
 
3623
IFS=$as_save_IFS
 
3624
 
 
3625
 
 
3626
fi
 
3627
 
 
3628
GREP="$ac_cv_path_GREP"
 
3629
if test -z "$GREP"; then
 
3630
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3631
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3632
   { (exit 1); exit 1; }; }
 
3633
fi
 
3634
 
 
3635
else
 
3636
  ac_cv_path_GREP=$GREP
 
3637
fi
 
3638
 
 
3639
 
 
3640
fi
 
3641
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3642
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3643
 GREP="$ac_cv_path_GREP"
 
3644
 
 
3645
 
 
3646
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3647
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3648
if test "${ac_cv_path_EGREP+set}" = set; then
 
3649
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3650
else
 
3651
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3652
   then ac_cv_path_EGREP="$GREP -E"
 
3653
   else
 
3654
     # Extract the first word of "egrep" to use in msg output
 
3655
if test -z "$EGREP"; then
 
3656
set dummy egrep; ac_prog_name=$2
 
3657
if test "${ac_cv_path_EGREP+set}" = set; then
 
3658
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3659
else
 
3660
  ac_path_EGREP_found=false
 
3661
# Loop through the user's path and test for each of PROGNAME-LIST
 
3662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3663
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3664
do
 
3665
  IFS=$as_save_IFS
 
3666
  test -z "$as_dir" && as_dir=.
 
3667
  for ac_prog in egrep; do
 
3668
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3669
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3670
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3671
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3672
  # Check for GNU $ac_path_EGREP
 
3673
case `"$ac_path_EGREP" --version 2>&1` in
 
3674
*GNU*)
 
3675
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3676
*)
 
3677
  ac_count=0
 
3678
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3679
  while :
 
3680
  do
 
3681
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3682
    mv "conftest.tmp" "conftest.in"
 
3683
    cp "conftest.in" "conftest.nl"
 
3684
    echo 'EGREP' >> "conftest.nl"
 
3685
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3686
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3687
    ac_count=`expr $ac_count + 1`
 
3688
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3689
      # Best one so far, save it but keep looking for a better one
 
3690
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3691
      ac_path_EGREP_max=$ac_count
 
3692
    fi
 
3693
    # 10*(2^10) chars as input seems more than enough
 
3694
    test $ac_count -gt 10 && break
 
3695
  done
 
3696
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3697
esac
 
3698
 
 
3699
 
 
3700
    $ac_path_EGREP_found && break 3
 
3701
  done
 
3702
done
 
3703
 
 
3704
done
 
3705
IFS=$as_save_IFS
 
3706
 
 
3707
 
 
3708
fi
 
3709
 
 
3710
EGREP="$ac_cv_path_EGREP"
 
3711
if test -z "$EGREP"; then
 
3712
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3713
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3714
   { (exit 1); exit 1; }; }
 
3715
fi
 
3716
 
 
3717
else
 
3718
  ac_cv_path_EGREP=$EGREP
 
3719
fi
 
3720
 
 
3721
 
 
3722
   fi
 
3723
fi
 
3724
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3725
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3726
 EGREP="$ac_cv_path_EGREP"
 
3727
 
 
3728
 
 
3729
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3730
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
2798
3731
if test "${ac_cv_header_stdc+set}" = set; then
2799
3732
  echo $ECHO_N "(cached) $ECHO_C" >&6
2800
3733
else
2818
3751
}
2819
3752
_ACEOF
2820
3753
rm -f conftest.$ac_objext
2821
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2822
 
  (eval $ac_compile) 2>conftest.er1
 
3754
if { (ac_try="$ac_compile"
 
3755
case "(($ac_try" in
 
3756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3757
  *) ac_try_echo=$ac_try;;
 
3758
esac
 
3759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3760
  (eval "$ac_compile") 2>conftest.er1
2823
3761
  ac_status=$?
2824
3762
  grep -v '^ *+' conftest.er1 >conftest.err
2825
3763
  rm -f conftest.er1
2826
3764
  cat conftest.err >&5
2827
3765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828
 
  (exit $ac_status); } &&
2829
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2830
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2831
 
  (eval $ac_try) 2>&5
2832
 
  ac_status=$?
2833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
 
  (exit $ac_status); }; } &&
2835
 
         { ac_try='test -s conftest.$ac_objext'
2836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837
 
  (eval $ac_try) 2>&5
2838
 
  ac_status=$?
2839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }; }; then
 
3766
  (exit $ac_status); } && {
 
3767
         test -z "$ac_c_werror_flag" ||
 
3768
         test ! -s conftest.err
 
3769
       } && test -s conftest.$ac_objext; then
2841
3770
  ac_cv_header_stdc=yes
2842
3771
else
2843
3772
  echo "$as_me: failed program was:" >&5
2844
3773
sed 's/^/| /' conftest.$ac_ext >&5
2845
3774
 
2846
 
ac_cv_header_stdc=no
 
3775
        ac_cv_header_stdc=no
2847
3776
fi
2848
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3777
 
 
3778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849
3779
 
2850
3780
if test $ac_cv_header_stdc = yes; then
2851
3781
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2901
3831
cat >>conftest.$ac_ext <<_ACEOF
2902
3832
/* end confdefs.h.  */
2903
3833
#include <ctype.h>
 
3834
#include <stdlib.h>
2904
3835
#if ((' ' & 0x0FF) == 0x020)
2905
3836
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2906
3837
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2920
3851
  for (i = 0; i < 256; i++)
2921
3852
    if (XOR (islower (i), ISLOWER (i))
2922
3853
        || toupper (i) != TOUPPER (i))
2923
 
      exit(2);
2924
 
  exit (0);
 
3854
      return 2;
 
3855
  return 0;
2925
3856
}
2926
3857
_ACEOF
2927
3858
rm -f conftest$ac_exeext
2928
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2929
 
  (eval $ac_link) 2>&5
 
3859
if { (ac_try="$ac_link"
 
3860
case "(($ac_try" in
 
3861
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3862
  *) ac_try_echo=$ac_try;;
 
3863
esac
 
3864
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3865
  (eval "$ac_link") 2>&5
2930
3866
  ac_status=$?
2931
3867
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932
3868
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2933
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934
 
  (eval $ac_try) 2>&5
 
3869
  { (case "(($ac_try" in
 
3870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3871
  *) ac_try_echo=$ac_try;;
 
3872
esac
 
3873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3874
  (eval "$ac_try") 2>&5
2935
3875
  ac_status=$?
2936
3876
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937
3877
  (exit $ac_status); }; }; then
2944
3884
( exit $ac_status )
2945
3885
ac_cv_header_stdc=no
2946
3886
fi
2947
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2948
 
fi
2949
 
fi
2950
 
fi
2951
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2952
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3887
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3888
fi
 
3889
 
 
3890
 
 
3891
fi
 
3892
fi
 
3893
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3894
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
2953
3895
if test $ac_cv_header_stdc = yes; then
2954
3896
 
2955
3897
cat >>confdefs.h <<\_ACEOF
2962
3904
 
2963
3905
 
2964
3906
 
2965
 
          ac_config_files="$ac_config_files Makefile"
 
3907
ac_config_files="$ac_config_files Makefile"
 
3908
 
2966
3909
cat >confcache <<\_ACEOF
2967
3910
# This file is a shell script that caches the results of configure
2968
3911
# tests run on this system so they can be shared between configure
2981
3924
 
2982
3925
# The following way of writing the cache mishandles newlines in values,
2983
3926
# but we know of no workaround that is simple, portable, and efficient.
2984
 
# So, don't put newlines in cache variables' values.
 
3927
# So, we kill variables containing newlines.
2985
3928
# Ultrix sh set writes to stderr and can't be redirected directly,
2986
3929
# and sets the high bit in the cache file unless we assign to the vars.
2987
 
{
 
3930
(
 
3931
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
3932
    eval ac_val=\$$ac_var
 
3933
    case $ac_val in #(
 
3934
    *${as_nl}*)
 
3935
      case $ac_var in #(
 
3936
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
3937
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
3938
      esac
 
3939
      case $ac_var in #(
 
3940
      _ | IFS | as_nl) ;; #(
 
3941
      *) $as_unset $ac_var ;;
 
3942
      esac ;;
 
3943
    esac
 
3944
  done
 
3945
 
2988
3946
  (set) 2>&1 |
2989
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2990
 
    *ac_space=\ *)
 
3947
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
3948
    *${as_nl}ac_space=\ *)
2991
3949
      # `set' does not quote correctly, so add quotes (double-quote
2992
3950
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2993
3951
      sed -n \
2994
3952
        "s/'/'\\\\''/g;
2995
3953
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2996
 
      ;;
 
3954
      ;; #(
2997
3955
    *)
2998
3956
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2999
 
      sed -n \
3000
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3957
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3001
3958
      ;;
3002
 
    esac;
3003
 
} |
 
3959
    esac |
 
3960
    sort
 
3961
) |
3004
3962
  sed '
 
3963
     /^ac_cv_env_/b end
3005
3964
     t clear
3006
 
     : clear
 
3965
     :clear
3007
3966
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3008
3967
     t end
3009
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3010
 
     : end' >>confcache
3011
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3012
 
  if test -w $cache_file; then
3013
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
3968
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3969
     :end' >>confcache
 
3970
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
3971
  if test -w "$cache_file"; then
 
3972
    test "x$cache_file" != "x/dev/null" &&
 
3973
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
3974
echo "$as_me: updating cache $cache_file" >&6;}
3014
3975
    cat confcache >$cache_file
3015
3976
  else
3016
 
    echo "not updating unwritable cache $cache_file"
 
3977
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
3978
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3017
3979
  fi
3018
3980
fi
3019
3981
rm -f confcache
3022
3984
# Let make expand exec_prefix.
3023
3985
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3024
3986
 
3025
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3026
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3027
 
# trailing colons and then remove the whole line if VPATH becomes empty
3028
 
# (actually we leave an empty line to preserve line numbers).
3029
 
if test "x$srcdir" = x.; then
3030
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3031
 
s/:*\$(srcdir):*/:/;
3032
 
s/:*\${srcdir}:*/:/;
3033
 
s/:*@srcdir@:*/:/;
3034
 
s/^\([^=]*=[     ]*\):*/\1/;
3035
 
s/:*$//;
3036
 
s/^[^=]*=[       ]*$//;
3037
 
}'
3038
 
fi
3039
 
 
3040
3987
DEFS=-DHAVE_CONFIG_H
3041
3988
 
3042
3989
ac_libobjs=
3043
3990
ac_ltlibobjs=
3044
3991
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3045
3992
  # 1. Remove the extension, and $U if already installed.
3046
 
  ac_i=`echo "$ac_i" |
3047
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3048
 
  # 2. Add them.
3049
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3050
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3993
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
3994
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
3995
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
3996
  #    will be set to the directory where LIBOBJS objects are built.
 
3997
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
3998
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3051
3999
done
3052
4000
LIBOBJS=$ac_libobjs
3053
4001
 
3054
4002
LTLIBOBJS=$ac_ltlibobjs
3055
4003
 
3056
4004
 
 
4005
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
4006
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
4007
Usually this means the macro was only invoked conditionally." >&5
 
4008
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
4009
Usually this means the macro was only invoked conditionally." >&2;}
 
4010
   { (exit 1); exit 1; }; }
 
4011
fi
 
4012
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
4013
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
4014
Usually this means the macro was only invoked conditionally." >&5
 
4015
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
4016
Usually this means the macro was only invoked conditionally." >&2;}
 
4017
   { (exit 1); exit 1; }; }
 
4018
fi
3057
4019
 
3058
4020
: ${CONFIG_STATUS=./config.status}
3059
4021
ac_clean_files_save=$ac_clean_files
3078
4040
## M4sh Initialization.  ##
3079
4041
## --------------------- ##
3080
4042
 
3081
 
# Be Bourne compatible
 
4043
# Be more Bourne compatible
 
4044
DUALCASE=1; export DUALCASE # for MKS sh
3082
4045
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3083
4046
  emulate sh
3084
4047
  NULLCMD=:
3085
4048
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3086
4049
  # is contrary to our usage.  Disable this feature.
3087
4050
  alias -g '${1+"$@"}'='"$@"'
3088
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3089
 
  set -o posix
3090
 
fi
3091
 
DUALCASE=1; export DUALCASE # for MKS sh
 
4051
  setopt NO_GLOB_SUBST
 
4052
else
 
4053
  case `(set -o) 2>/dev/null` in
 
4054
  *posix*) set -o posix ;;
 
4055
esac
 
4056
 
 
4057
fi
 
4058
 
 
4059
 
 
4060
 
 
4061
 
 
4062
# PATH needs CR
 
4063
# Avoid depending upon Character Ranges.
 
4064
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
4065
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
4066
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
4067
as_cr_digits='0123456789'
 
4068
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4069
 
 
4070
# The user is always right.
 
4071
if test "${PATH_SEPARATOR+set}" != set; then
 
4072
  echo "#! /bin/sh" >conf$$.sh
 
4073
  echo  "exit 0"   >>conf$$.sh
 
4074
  chmod +x conf$$.sh
 
4075
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
4076
    PATH_SEPARATOR=';'
 
4077
  else
 
4078
    PATH_SEPARATOR=:
 
4079
  fi
 
4080
  rm -f conf$$.sh
 
4081
fi
3092
4082
 
3093
4083
# Support unset when possible.
3094
4084
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3098
4088
fi
3099
4089
 
3100
4090
 
 
4091
# IFS
 
4092
# We need space, tab and new line, in precisely that order.  Quoting is
 
4093
# there to prevent editors from complaining about space-tab.
 
4094
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
4095
# splitting by setting IFS to empty value.)
 
4096
as_nl='
 
4097
'
 
4098
IFS=" ""        $as_nl"
 
4099
 
 
4100
# Find who we are.  Look in the path if we contain no directory separator.
 
4101
case $0 in
 
4102
  *[\\/]* ) as_myself=$0 ;;
 
4103
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4104
for as_dir in $PATH
 
4105
do
 
4106
  IFS=$as_save_IFS
 
4107
  test -z "$as_dir" && as_dir=.
 
4108
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4109
done
 
4110
IFS=$as_save_IFS
 
4111
 
 
4112
     ;;
 
4113
esac
 
4114
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
4115
# in which case we are not to be found in the path.
 
4116
if test "x$as_myself" = x; then
 
4117
  as_myself=$0
 
4118
fi
 
4119
if test ! -f "$as_myself"; then
 
4120
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
4121
  { (exit 1); exit 1; }
 
4122
fi
 
4123
 
3101
4124
# Work around bugs in pre-3.0 UWIN ksh.
3102
 
$as_unset ENV MAIL MAILPATH
 
4125
for as_var in ENV MAIL MAILPATH
 
4126
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4127
done
3103
4128
PS1='$ '
3104
4129
PS2='> '
3105
4130
PS4='+ '
3113
4138
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3114
4139
    eval $as_var=C; export $as_var
3115
4140
  else
3116
 
    $as_unset $as_var
 
4141
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3117
4142
  fi
3118
4143
done
3119
4144
 
3120
4145
# Required to use basename.
3121
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4146
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4147
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3122
4148
  as_expr=expr
3123
4149
else
3124
4150
  as_expr=false
3125
4151
fi
3126
4152
 
3127
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
4153
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3128
4154
  as_basename=basename
3129
4155
else
3130
4156
  as_basename=false
3132
4158
 
3133
4159
 
3134
4160
# Name of the executable.
3135
 
as_me=`$as_basename "$0" ||
 
4161
as_me=`$as_basename -- "$0" ||
3136
4162
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3137
4163
         X"$0" : 'X\(//\)$' \| \
3138
 
         X"$0" : 'X\(/\)$' \| \
3139
 
         .     : '\(.\)' 2>/dev/null ||
 
4164
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3140
4165
echo X/"$0" |
3141
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3142
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
3143
 
          /^X\/\(\/\).*/{ s//\1/; q; }
3144
 
          s/.*/./; q'`
3145
 
 
3146
 
 
3147
 
# PATH needs CR, and LINENO needs CR and PATH.
3148
 
# Avoid depending upon Character Ranges.
3149
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3150
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3151
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3152
 
as_cr_digits='0123456789'
3153
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
3154
 
 
3155
 
# The user is always right.
3156
 
if test "${PATH_SEPARATOR+set}" != set; then
3157
 
  echo "#! /bin/sh" >conf$$.sh
3158
 
  echo  "exit 0"   >>conf$$.sh
3159
 
  chmod +x conf$$.sh
3160
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3161
 
    PATH_SEPARATOR=';'
3162
 
  else
3163
 
    PATH_SEPARATOR=:
3164
 
  fi
3165
 
  rm -f conf$$.sh
3166
 
fi
3167
 
 
3168
 
 
3169
 
  as_lineno_1=$LINENO
3170
 
  as_lineno_2=$LINENO
3171
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3172
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3173
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3174
 
  # Find who we are.  Look in the path if we contain no path at all
3175
 
  # relative or not.
3176
 
  case $0 in
3177
 
    *[\\/]* ) as_myself=$0 ;;
3178
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179
 
for as_dir in $PATH
3180
 
do
3181
 
  IFS=$as_save_IFS
3182
 
  test -z "$as_dir" && as_dir=.
3183
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3184
 
done
3185
 
 
3186
 
       ;;
3187
 
  esac
3188
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
3189
 
  # in which case we are not to be found in the path.
3190
 
  if test "x$as_myself" = x; then
3191
 
    as_myself=$0
3192
 
  fi
3193
 
  if test ! -f "$as_myself"; then
3194
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3195
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3196
 
   { (exit 1); exit 1; }; }
3197
 
  fi
3198
 
  case $CONFIG_SHELL in
3199
 
  '')
3200
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3202
 
do
3203
 
  IFS=$as_save_IFS
3204
 
  test -z "$as_dir" && as_dir=.
3205
 
  for as_base in sh bash ksh sh5; do
3206
 
         case $as_dir in
3207
 
         /*)
3208
 
           if ("$as_dir/$as_base" -c '
3209
 
  as_lineno_1=$LINENO
3210
 
  as_lineno_2=$LINENO
3211
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3212
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3213
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3214
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3215
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3216
 
             CONFIG_SHELL=$as_dir/$as_base
3217
 
             export CONFIG_SHELL
3218
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3219
 
           fi;;
3220
 
         esac
3221
 
       done
3222
 
done
3223
 
;;
3224
 
  esac
 
4166
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
4167
            s//\1/
 
4168
            q
 
4169
          }
 
4170
          /^X\/\(\/\/\)$/{
 
4171
            s//\1/
 
4172
            q
 
4173
          }
 
4174
          /^X\/\(\/\).*/{
 
4175
            s//\1/
 
4176
            q
 
4177
          }
 
4178
          s/.*/./; q'`
 
4179
 
 
4180
# CDPATH.
 
4181
$as_unset CDPATH
 
4182
 
 
4183
 
 
4184
 
 
4185
  as_lineno_1=$LINENO
 
4186
  as_lineno_2=$LINENO
 
4187
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4188
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3225
4189
 
3226
4190
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3227
4191
  # uniformly replaced by the line number.  The first 'sed' inserts a
3228
 
  # line-number line before each line; the second 'sed' does the real
3229
 
  # work.  The second script uses 'N' to pair each line-number line
3230
 
  # with the numbered line, and appends trailing '-' during
3231
 
  # substitution so that $LINENO is not a special case at line end.
 
4192
  # line-number line after each line using $LINENO; the second 'sed'
 
4193
  # does the real work.  The second script uses 'N' to pair each
 
4194
  # line-number line with the line containing $LINENO, and appends
 
4195
  # trailing '-' during substitution so that $LINENO is not a special
 
4196
  # case at line end.
3232
4197
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3233
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3234
 
  sed '=' <$as_myself |
 
4198
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
4199
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
4200
  sed -n '
 
4201
    p
 
4202
    /[$]LINENO/=
 
4203
  ' <$as_myself |
3235
4204
    sed '
 
4205
      s/[$]LINENO.*/&-/
 
4206
      t lineno
 
4207
      b
 
4208
      :lineno
3236
4209
      N
3237
 
      s,$,-,
3238
 
      : loop
3239
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
4210
      :loop
 
4211
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3240
4212
      t loop
3241
 
      s,-$,,
3242
 
      s,^['$as_cr_digits']*\n,,
 
4213
      s/-\n.*//
3243
4214
    ' >$as_me.lineno &&
3244
 
  chmod +x $as_me.lineno ||
3245
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3246
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
4215
  chmod +x "$as_me.lineno" ||
 
4216
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3247
4217
   { (exit 1); exit 1; }; }
3248
4218
 
3249
4219
  # Don't try to exec as it changes $[0], causing all sort of problems
3250
4220
  # (the dirname of $[0] is not the place where we might find the
3251
 
  # original and so on.  Autoconf is especially sensible to this).
3252
 
  . ./$as_me.lineno
 
4221
  # original and so on.  Autoconf is especially sensitive to this).
 
4222
  . "./$as_me.lineno"
3253
4223
  # Exit status is that of the last command.
3254
4224
  exit
3255
4225
}
3256
4226
 
3257
4227
 
3258
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3259
 
  *c*,-n*) ECHO_N= ECHO_C='
3260
 
' ECHO_T='      ' ;;
3261
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3262
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
4228
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
4229
  as_dirname=dirname
 
4230
else
 
4231
  as_dirname=false
 
4232
fi
 
4233
 
 
4234
ECHO_C= ECHO_N= ECHO_T=
 
4235
case `echo -n x` in
 
4236
-n*)
 
4237
  case `echo 'x\c'` in
 
4238
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
4239
  *)   ECHO_C='\c';;
 
4240
  esac;;
 
4241
*)
 
4242
  ECHO_N='-n';;
3263
4243
esac
3264
4244
 
3265
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4245
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4246
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3266
4247
  as_expr=expr
3267
4248
else
3268
4249
  as_expr=false
3269
4250
fi
3270
4251
 
3271
4252
rm -f conf$$ conf$$.exe conf$$.file
 
4253
if test -d conf$$.dir; then
 
4254
  rm -f conf$$.dir/conf$$.file
 
4255
else
 
4256
  rm -f conf$$.dir
 
4257
  mkdir conf$$.dir
 
4258
fi
3272
4259
echo >conf$$.file
3273
4260
if ln -s conf$$.file conf$$ 2>/dev/null; then
3274
 
  # We could just check for DJGPP; but this test a) works b) is more generic
3275
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3276
 
  if test -f conf$$.exe; then
3277
 
    # Don't use ln at all; we don't have any links
 
4261
  as_ln_s='ln -s'
 
4262
  # ... but there are two gotchas:
 
4263
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
4264
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
4265
  # In both cases, we have to default to `cp -p'.
 
4266
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3278
4267
    as_ln_s='cp -p'
3279
 
  else
3280
 
    as_ln_s='ln -s'
3281
 
  fi
3282
4268
elif ln conf$$.file conf$$ 2>/dev/null; then
3283
4269
  as_ln_s=ln
3284
4270
else
3285
4271
  as_ln_s='cp -p'
3286
4272
fi
3287
 
rm -f conf$$ conf$$.exe conf$$.file
 
4273
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
4274
rmdir conf$$.dir 2>/dev/null
3288
4275
 
3289
4276
if mkdir -p . 2>/dev/null; then
3290
4277
  as_mkdir_p=:
3293
4280
  as_mkdir_p=false
3294
4281
fi
3295
4282
 
3296
 
as_executable_p="test -f"
 
4283
if test -x / >/dev/null 2>&1; then
 
4284
  as_test_x='test -x'
 
4285
else
 
4286
  if ls -dL / >/dev/null 2>&1; then
 
4287
    as_ls_L_option=L
 
4288
  else
 
4289
    as_ls_L_option=
 
4290
  fi
 
4291
  as_test_x='
 
4292
    eval sh -c '\''
 
4293
      if test -d "$1"; then
 
4294
        test -d "$1/.";
 
4295
      else
 
4296
        case $1 in
 
4297
        -*)set "./$1";;
 
4298
        esac;
 
4299
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
4300
        ???[sx]*):;;*)false;;esac;fi
 
4301
    '\'' sh
 
4302
  '
 
4303
fi
 
4304
as_executable_p=$as_test_x
3297
4305
 
3298
4306
# Sed expression to map a string onto a valid CPP name.
3299
4307
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3302
4310
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3303
4311
 
3304
4312
 
3305
 
# IFS
3306
 
# We need space, tab and new line, in precisely that order.
3307
 
as_nl='
3308
 
'
3309
 
IFS="   $as_nl"
3310
 
 
3311
 
# CDPATH.
3312
 
$as_unset CDPATH
3313
 
 
3314
4313
exec 6>&1
3315
4314
 
3316
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
4315
# Save the log message, to keep $[0] and so on meaningful, and to
3317
4316
# report actual input values of CONFIG_FILES etc. instead of their
3318
 
# values after options handling.  Logging --version etc. is OK.
3319
 
exec 5>>config.log
3320
 
{
3321
 
  echo
3322
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3323
 
## Running $as_me. ##
3324
 
_ASBOX
3325
 
} >&5
3326
 
cat >&5 <<_CSEOF
3327
 
 
 
4317
# values after options handling.
 
4318
ac_log="
3328
4319
This file was extended by $as_me, which was
3329
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
4320
generated by GNU Autoconf 2.61.  Invocation command line was
3330
4321
 
3331
4322
  CONFIG_FILES    = $CONFIG_FILES
3332
4323
  CONFIG_HEADERS  = $CONFIG_HEADERS
3334
4325
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3335
4326
  $ $0 $@
3336
4327
 
3337
 
_CSEOF
3338
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3339
 
echo >&5
 
4328
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
4329
"
 
4330
 
3340
4331
_ACEOF
3341
4332
 
 
4333
cat >>$CONFIG_STATUS <<_ACEOF
3342
4334
# Files that config.status was made for.
3343
 
if test -n "$ac_config_files"; then
3344
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3345
 
fi
3346
 
 
3347
 
if test -n "$ac_config_headers"; then
3348
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3349
 
fi
3350
 
 
3351
 
if test -n "$ac_config_links"; then
3352
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3353
 
fi
3354
 
 
3355
 
if test -n "$ac_config_commands"; then
3356
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3357
 
fi
 
4335
config_files="$ac_config_files"
 
4336
config_headers="$ac_config_headers"
 
4337
config_commands="$ac_config_commands"
 
4338
 
 
4339
_ACEOF
3358
4340
 
3359
4341
cat >>$CONFIG_STATUS <<\_ACEOF
3360
 
 
3361
4342
ac_cs_usage="\
3362
4343
\`$as_me' instantiates files from templates according to the
3363
4344
current configuration.
3365
4346
Usage: $0 [OPTIONS] [FILE]...
3366
4347
 
3367
4348
  -h, --help       print this help, then exit
3368
 
  -V, --version    print version number, then exit
 
4349
  -V, --version    print version number and configuration settings, then exit
3369
4350
  -q, --quiet      do not print progress messages
3370
4351
  -d, --debug      don't remove temporary files
3371
4352
      --recheck    update $as_me by reconfiguring in the same conditions
3384
4365
$config_commands
3385
4366
 
3386
4367
Report bugs to <bug-autoconf@gnu.org>."
 
4368
 
3387
4369
_ACEOF
3388
 
 
3389
4370
cat >>$CONFIG_STATUS <<_ACEOF
3390
4371
ac_cs_version="\\
3391
4372
config.status
3392
 
configured by $0, generated by GNU Autoconf 2.59,
3393
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
4373
configured by $0, generated by GNU Autoconf 2.61,
 
4374
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3394
4375
 
3395
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
4376
Copyright (C) 2006 Free Software Foundation, Inc.
3396
4377
This config.status script is free software; the Free Software Foundation
3397
4378
gives unlimited permission to copy, distribute and modify it."
3398
 
srcdir=$srcdir
3399
 
INSTALL="$INSTALL"
 
4379
 
 
4380
ac_pwd='$ac_pwd'
 
4381
srcdir='$srcdir'
 
4382
INSTALL='$INSTALL'
 
4383
MKDIR_P='$MKDIR_P'
3400
4384
_ACEOF
3401
4385
 
3402
4386
cat >>$CONFIG_STATUS <<\_ACEOF
3407
4391
do
3408
4392
  case $1 in
3409
4393
  --*=*)
3410
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3411
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
4394
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
4395
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3412
4396
    ac_shift=:
3413
4397
    ;;
3414
 
  -*)
 
4398
  *)
3415
4399
    ac_option=$1
3416
4400
    ac_optarg=$2
3417
4401
    ac_shift=shift
3418
4402
    ;;
3419
 
  *) # This is not an option, so the user has probably given explicit
3420
 
     # arguments.
3421
 
     ac_option=$1
3422
 
     ac_need_defaults=false;;
3423
4403
  esac
3424
4404
 
3425
4405
  case $ac_option in
3426
4406
  # Handling of the options.
3427
 
_ACEOF
3428
 
cat >>$CONFIG_STATUS <<\_ACEOF
3429
4407
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3430
4408
    ac_cs_recheck=: ;;
3431
 
  --version | --vers* | -V )
3432
 
    echo "$ac_cs_version"; exit 0 ;;
3433
 
  --he | --h)
3434
 
    # Conflict between --help and --header
3435
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3436
 
Try \`$0 --help' for more information." >&5
3437
 
echo "$as_me: error: ambiguous option: $1
3438
 
Try \`$0 --help' for more information." >&2;}
3439
 
   { (exit 1); exit 1; }; };;
3440
 
  --help | --hel | -h )
3441
 
    echo "$ac_cs_usage"; exit 0 ;;
3442
 
  --debug | --d* | -d )
 
4409
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
4410
    echo "$ac_cs_version"; exit ;;
 
4411
  --debug | --debu | --deb | --de | --d | -d )
3443
4412
    debug=: ;;
3444
4413
  --file | --fil | --fi | --f )
3445
4414
    $ac_shift
3449
4418
    $ac_shift
3450
4419
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3451
4420
    ac_need_defaults=false;;
 
4421
  --he | --h)
 
4422
    # Conflict between --help and --header
 
4423
    { echo "$as_me: error: ambiguous option: $1
 
4424
Try \`$0 --help' for more information." >&2
 
4425
   { (exit 1); exit 1; }; };;
 
4426
  --help | --hel | -h )
 
4427
    echo "$ac_cs_usage"; exit ;;
3452
4428
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3453
4429
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3454
4430
    ac_cs_silent=: ;;
3455
4431
 
3456
4432
  # This is an error.
3457
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3458
 
Try \`$0 --help' for more information." >&5
3459
 
echo "$as_me: error: unrecognized option: $1
3460
 
Try \`$0 --help' for more information." >&2;}
 
4433
  -*) { echo "$as_me: error: unrecognized option: $1
 
4434
Try \`$0 --help' for more information." >&2
3461
4435
   { (exit 1); exit 1; }; } ;;
3462
4436
 
3463
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
4437
  *) ac_config_targets="$ac_config_targets $1"
 
4438
     ac_need_defaults=false ;;
3464
4439
 
3465
4440
  esac
3466
4441
  shift
3476
4451
_ACEOF
3477
4452
cat >>$CONFIG_STATUS <<_ACEOF
3478
4453
if \$ac_cs_recheck; then
3479
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3480
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4454
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
4455
  CONFIG_SHELL=$SHELL
 
4456
  export CONFIG_SHELL
 
4457
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3481
4458
fi
3482
4459
 
3483
4460
_ACEOF
 
4461
cat >>$CONFIG_STATUS <<\_ACEOF
 
4462
exec 5>>config.log
 
4463
{
 
4464
  echo
 
4465
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4466
## Running $as_me. ##
 
4467
_ASBOX
 
4468
  echo "$ac_log"
 
4469
} >&5
3484
4470
 
 
4471
_ACEOF
3485
4472
cat >>$CONFIG_STATUS <<_ACEOF
3486
4473
#
3487
 
# INIT-COMMANDS section.
 
4474
# INIT-COMMANDS
3488
4475
#
3489
 
 
3490
 
 
 
4476
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3491
4477
 
3492
4478
_ACEOF
3493
4479
 
3494
 
 
3495
 
 
3496
4480
cat >>$CONFIG_STATUS <<\_ACEOF
 
4481
 
 
4482
# Handling of arguments.
3497
4483
for ac_config_target in $ac_config_targets
3498
4484
do
3499
 
  case "$ac_config_target" in
3500
 
  # Handling of arguments.
3501
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3502
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3503
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
4485
  case $ac_config_target in
 
4486
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
4487
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
4488
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4489
 
3504
4490
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3505
4491
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3506
4492
   { (exit 1); exit 1; }; };;
3507
4493
  esac
3508
4494
done
3509
4495
 
 
4496
 
3510
4497
# If the user did not use the arguments to specify the items to instantiate,
3511
4498
# then the envvar interface is used.  Set only those that are not.
3512
4499
# We use the long form for the default assignment because of an extremely
3518
4505
fi
3519
4506
 
3520
4507
# Have a temporary directory for convenience.  Make it in the build tree
3521
 
# simply because there is no reason to put it here, and in addition,
 
4508
# simply because there is no reason against having it here, and in addition,
3522
4509
# creating and moving files from /tmp can sometimes cause problems.
3523
 
# Create a temporary directory, and hook for its removal unless debugging.
 
4510
# Hook for its removal unless debugging.
 
4511
# Note that there is a small window in which the directory will not be cleaned:
 
4512
# after its creation but before its name has been assigned to `$tmp'.
3524
4513
$debug ||
3525
4514
{
3526
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
4515
  tmp=
 
4516
  trap 'exit_status=$?
 
4517
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4518
' 0
3527
4519
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3528
4520
}
3529
 
 
3530
4521
# Create a (secure) tmp directory for tmp files.
3531
4522
 
3532
4523
{
3533
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
4524
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3534
4525
  test -n "$tmp" && test -d "$tmp"
3535
4526
}  ||
3536
4527
{
3537
 
  tmp=./confstat$$-$RANDOM
3538
 
  (umask 077 && mkdir $tmp)
 
4528
  tmp=./conf$$-$RANDOM
 
4529
  (umask 077 && mkdir "$tmp")
3539
4530
} ||
3540
4531
{
3541
4532
   echo "$me: cannot create a temporary directory in ." >&2
3542
4533
   { (exit 1); exit 1; }
3543
4534
}
3544
4535
 
3545
 
_ACEOF
3546
 
 
3547
 
cat >>$CONFIG_STATUS <<_ACEOF
3548
 
 
3549
4536
#
3550
 
# CONFIG_FILES section.
 
4537
# Set up the sed scripts for CONFIG_FILES section.
3551
4538
#
3552
4539
 
3553
4540
# No need to generate the scripts if there are no CONFIG_FILES.
3554
4541
# This happens for instance when ./config.status config.h
3555
 
if test -n "\$CONFIG_FILES"; then
3556
 
  # Protect against being on the right side of a sed subst in config.status.
3557
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3558
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3559
 
s,@SHELL@,$SHELL,;t t
3560
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3561
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3562
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3563
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3564
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3565
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3566
 
s,@exec_prefix@,$exec_prefix,;t t
3567
 
s,@prefix@,$prefix,;t t
3568
 
s,@program_transform_name@,$program_transform_name,;t t
3569
 
s,@bindir@,$bindir,;t t
3570
 
s,@sbindir@,$sbindir,;t t
3571
 
s,@libexecdir@,$libexecdir,;t t
3572
 
s,@datadir@,$datadir,;t t
3573
 
s,@sysconfdir@,$sysconfdir,;t t
3574
 
s,@sharedstatedir@,$sharedstatedir,;t t
3575
 
s,@localstatedir@,$localstatedir,;t t
3576
 
s,@libdir@,$libdir,;t t
3577
 
s,@includedir@,$includedir,;t t
3578
 
s,@oldincludedir@,$oldincludedir,;t t
3579
 
s,@infodir@,$infodir,;t t
3580
 
s,@mandir@,$mandir,;t t
3581
 
s,@build_alias@,$build_alias,;t t
3582
 
s,@host_alias@,$host_alias,;t t
3583
 
s,@target_alias@,$target_alias,;t t
3584
 
s,@DEFS@,$DEFS,;t t
3585
 
s,@ECHO_C@,$ECHO_C,;t t
3586
 
s,@ECHO_N@,$ECHO_N,;t t
3587
 
s,@ECHO_T@,$ECHO_T,;t t
3588
 
s,@LIBS@,$LIBS,;t t
3589
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3590
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3591
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3592
 
s,@PACKAGE@,$PACKAGE,;t t
3593
 
s,@VERSION@,$VERSION,;t t
3594
 
s,@ACLOCAL@,$ACLOCAL,;t t
3595
 
s,@AUTOCONF@,$AUTOCONF,;t t
3596
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
3597
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
3598
 
s,@MAKEINFO@,$MAKEINFO,;t t
3599
 
s,@SET_MAKE@,$SET_MAKE,;t t
3600
 
s,@CC@,$CC,;t t
3601
 
s,@CFLAGS@,$CFLAGS,;t t
3602
 
s,@LDFLAGS@,$LDFLAGS,;t t
3603
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
3604
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
3605
 
s,@EXEEXT@,$EXEEXT,;t t
3606
 
s,@OBJEXT@,$OBJEXT,;t t
3607
 
s,@CPP@,$CPP,;t t
3608
 
s,@EGREP@,$EGREP,;t t
3609
 
s,@LIBOBJS@,$LIBOBJS,;t t
3610
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3611
 
CEOF
3612
 
 
3613
 
_ACEOF
3614
 
 
3615
 
  cat >>$CONFIG_STATUS <<\_ACEOF
3616
 
  # Split the substitutions into bite-sized pieces for seds with
3617
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
3618
 
  ac_max_sed_lines=48
3619
 
  ac_sed_frag=1 # Number of current file.
3620
 
  ac_beg=1 # First line for current file.
3621
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
3622
 
  ac_more_lines=:
3623
 
  ac_sed_cmds=
3624
 
  while $ac_more_lines; do
3625
 
    if test $ac_beg -gt 1; then
3626
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3627
 
    else
3628
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3629
 
    fi
3630
 
    if test ! -s $tmp/subs.frag; then
3631
 
      ac_more_lines=false
3632
 
    else
3633
 
      # The purpose of the label and of the branching condition is to
3634
 
      # speed up the sed processing (if there are no `@' at all, there
3635
 
      # is no need to browse any of the substitutions).
3636
 
      # These are the two extra sed commands mentioned above.
3637
 
      (echo ':t
3638
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3639
 
      if test -z "$ac_sed_cmds"; then
3640
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3641
 
      else
3642
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3643
 
      fi
3644
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
3645
 
      ac_beg=$ac_end
3646
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3647
 
    fi
3648
 
  done
3649
 
  if test -z "$ac_sed_cmds"; then
3650
 
    ac_sed_cmds=cat
 
4542
if test -n "$CONFIG_FILES"; then
 
4543
 
 
4544
_ACEOF
 
4545
 
 
4546
 
 
4547
 
 
4548
ac_delim='%!_!# '
 
4549
for ac_last_try in false false false false false :; do
 
4550
  cat >conf$$subs.sed <<_ACEOF
 
4551
SHELL!$SHELL$ac_delim
 
4552
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
4553
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
4554
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
4555
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
4556
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
4557
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
4558
exec_prefix!$exec_prefix$ac_delim
 
4559
prefix!$prefix$ac_delim
 
4560
program_transform_name!$program_transform_name$ac_delim
 
4561
bindir!$bindir$ac_delim
 
4562
sbindir!$sbindir$ac_delim
 
4563
libexecdir!$libexecdir$ac_delim
 
4564
datarootdir!$datarootdir$ac_delim
 
4565
datadir!$datadir$ac_delim
 
4566
sysconfdir!$sysconfdir$ac_delim
 
4567
sharedstatedir!$sharedstatedir$ac_delim
 
4568
localstatedir!$localstatedir$ac_delim
 
4569
includedir!$includedir$ac_delim
 
4570
oldincludedir!$oldincludedir$ac_delim
 
4571
docdir!$docdir$ac_delim
 
4572
infodir!$infodir$ac_delim
 
4573
htmldir!$htmldir$ac_delim
 
4574
dvidir!$dvidir$ac_delim
 
4575
pdfdir!$pdfdir$ac_delim
 
4576
psdir!$psdir$ac_delim
 
4577
libdir!$libdir$ac_delim
 
4578
localedir!$localedir$ac_delim
 
4579
mandir!$mandir$ac_delim
 
4580
DEFS!$DEFS$ac_delim
 
4581
ECHO_C!$ECHO_C$ac_delim
 
4582
ECHO_N!$ECHO_N$ac_delim
 
4583
ECHO_T!$ECHO_T$ac_delim
 
4584
LIBS!$LIBS$ac_delim
 
4585
build_alias!$build_alias$ac_delim
 
4586
host_alias!$host_alias$ac_delim
 
4587
target_alias!$target_alias$ac_delim
 
4588
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
4589
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
4590
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
4591
am__isrc!$am__isrc$ac_delim
 
4592
CYGPATH_W!$CYGPATH_W$ac_delim
 
4593
PACKAGE!$PACKAGE$ac_delim
 
4594
VERSION!$VERSION$ac_delim
 
4595
ACLOCAL!$ACLOCAL$ac_delim
 
4596
AUTOCONF!$AUTOCONF$ac_delim
 
4597
AUTOMAKE!$AUTOMAKE$ac_delim
 
4598
AUTOHEADER!$AUTOHEADER$ac_delim
 
4599
MAKEINFO!$MAKEINFO$ac_delim
 
4600
install_sh!$install_sh$ac_delim
 
4601
STRIP!$STRIP$ac_delim
 
4602
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
4603
mkdir_p!$mkdir_p$ac_delim
 
4604
AWK!$AWK$ac_delim
 
4605
SET_MAKE!$SET_MAKE$ac_delim
 
4606
am__leading_dot!$am__leading_dot$ac_delim
 
4607
AMTAR!$AMTAR$ac_delim
 
4608
am__tar!$am__tar$ac_delim
 
4609
am__untar!$am__untar$ac_delim
 
4610
CC!$CC$ac_delim
 
4611
CFLAGS!$CFLAGS$ac_delim
 
4612
LDFLAGS!$LDFLAGS$ac_delim
 
4613
CPPFLAGS!$CPPFLAGS$ac_delim
 
4614
ac_ct_CC!$ac_ct_CC$ac_delim
 
4615
EXEEXT!$EXEEXT$ac_delim
 
4616
OBJEXT!$OBJEXT$ac_delim
 
4617
DEPDIR!$DEPDIR$ac_delim
 
4618
am__include!$am__include$ac_delim
 
4619
am__quote!$am__quote$ac_delim
 
4620
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
4621
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
4622
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
4623
CCDEPMODE!$CCDEPMODE$ac_delim
 
4624
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
4625
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
4626
CPP!$CPP$ac_delim
 
4627
GREP!$GREP$ac_delim
 
4628
EGREP!$EGREP$ac_delim
 
4629
LIBOBJS!$LIBOBJS$ac_delim
 
4630
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
4631
_ACEOF
 
4632
 
 
4633
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
 
4634
    break
 
4635
  elif $ac_last_try; then
 
4636
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
4637
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
4638
   { (exit 1); exit 1; }; }
 
4639
  else
 
4640
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3651
4641
  fi
 
4642
done
 
4643
 
 
4644
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
4645
if test -n "$ac_eof"; then
 
4646
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
4647
  ac_eof=`expr $ac_eof + 1`
 
4648
fi
 
4649
 
 
4650
cat >>$CONFIG_STATUS <<_ACEOF
 
4651
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
4652
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
4653
_ACEOF
 
4654
sed '
 
4655
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
4656
s/^/s,@/; s/!/@,|#_!!_#|/
 
4657
:n
 
4658
t n
 
4659
s/'"$ac_delim"'$/,g/; t
 
4660
s/$/\\/; p
 
4661
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
4662
' >>$CONFIG_STATUS <conf$$subs.sed
 
4663
rm -f conf$$subs.sed
 
4664
cat >>$CONFIG_STATUS <<_ACEOF
 
4665
:end
 
4666
s/|#_!!_#|//g
 
4667
CEOF$ac_eof
 
4668
_ACEOF
 
4669
 
 
4670
 
 
4671
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
4672
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
4673
# trailing colons and then remove the whole line if VPATH becomes empty
 
4674
# (actually we leave an empty line to preserve line numbers).
 
4675
if test "x$srcdir" = x.; then
 
4676
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
4677
s/:*\$(srcdir):*/:/
 
4678
s/:*\${srcdir}:*/:/
 
4679
s/:*@srcdir@:*/:/
 
4680
s/^\([^=]*=[     ]*\):*/\1/
 
4681
s/:*$//
 
4682
s/^[^=]*=[       ]*$//
 
4683
}'
 
4684
fi
 
4685
 
 
4686
cat >>$CONFIG_STATUS <<\_ACEOF
3652
4687
fi # test -n "$CONFIG_FILES"
3653
4688
 
3654
 
_ACEOF
3655
 
cat >>$CONFIG_STATUS <<\_ACEOF
3656
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3657
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3658
 
  case $ac_file in
3659
 
  - | *:- | *:-:* ) # input from stdin
3660
 
        cat >$tmp/stdin
3661
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3662
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3663
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3664
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3665
 
  * )   ac_file_in=$ac_file.in ;;
3666
 
  esac
3667
 
 
3668
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3669
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
4689
 
 
4690
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
4691
do
 
4692
  case $ac_tag in
 
4693
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
4694
  esac
 
4695
  case $ac_mode$ac_tag in
 
4696
  :[FHL]*:*);;
 
4697
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
4698
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
4699
   { (exit 1); exit 1; }; };;
 
4700
  :[FH]-) ac_tag=-:-;;
 
4701
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
4702
  esac
 
4703
  ac_save_IFS=$IFS
 
4704
  IFS=:
 
4705
  set x $ac_tag
 
4706
  IFS=$ac_save_IFS
 
4707
  shift
 
4708
  ac_file=$1
 
4709
  shift
 
4710
 
 
4711
  case $ac_mode in
 
4712
  :L) ac_source=$1;;
 
4713
  :[FH])
 
4714
    ac_file_inputs=
 
4715
    for ac_f
 
4716
    do
 
4717
      case $ac_f in
 
4718
      -) ac_f="$tmp/stdin";;
 
4719
      *) # Look for the file first in the build tree, then in the source tree
 
4720
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
4721
         # because $ac_f cannot contain `:'.
 
4722
         test -f "$ac_f" ||
 
4723
           case $ac_f in
 
4724
           [\\/$]*) false;;
 
4725
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
4726
           esac ||
 
4727
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
4728
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
4729
   { (exit 1); exit 1; }; };;
 
4730
      esac
 
4731
      ac_file_inputs="$ac_file_inputs $ac_f"
 
4732
    done
 
4733
 
 
4734
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4735
    # use $as_me), people would be surprised to read:
 
4736
    #    /* config.h.  Generated by config.status.  */
 
4737
    configure_input="Generated from "`IFS=:
 
4738
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4739
    if test x"$ac_file" != x-; then
 
4740
      configure_input="$ac_file.  $configure_input"
 
4741
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4742
echo "$as_me: creating $ac_file" >&6;}
 
4743
    fi
 
4744
 
 
4745
    case $ac_tag in
 
4746
    *:-:* | *:-) cat >"$tmp/stdin";;
 
4747
    esac
 
4748
    ;;
 
4749
  esac
 
4750
 
 
4751
  ac_dir=`$as_dirname -- "$ac_file" ||
3670
4752
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3671
4753
         X"$ac_file" : 'X\(//\)[^/]' \| \
3672
4754
         X"$ac_file" : 'X\(//\)$' \| \
3673
 
         X"$ac_file" : 'X\(/\)' \| \
3674
 
         .     : '\(.\)' 2>/dev/null ||
 
4755
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3675
4756
echo X"$ac_file" |
3676
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3677
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3678
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3679
 
          /^X\(\/\).*/{ s//\1/; q; }
3680
 
          s/.*/./; q'`
3681
 
  { if $as_mkdir_p; then
3682
 
    mkdir -p "$ac_dir"
3683
 
  else
3684
 
    as_dir="$ac_dir"
 
4757
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4758
            s//\1/
 
4759
            q
 
4760
          }
 
4761
          /^X\(\/\/\)[^/].*/{
 
4762
            s//\1/
 
4763
            q
 
4764
          }
 
4765
          /^X\(\/\/\)$/{
 
4766
            s//\1/
 
4767
            q
 
4768
          }
 
4769
          /^X\(\/\).*/{
 
4770
            s//\1/
 
4771
            q
 
4772
          }
 
4773
          s/.*/./; q'`
 
4774
  { as_dir="$ac_dir"
 
4775
  case $as_dir in #(
 
4776
  -*) as_dir=./$as_dir;;
 
4777
  esac
 
4778
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3685
4779
    as_dirs=
3686
 
    while test ! -d "$as_dir"; do
3687
 
      as_dirs="$as_dir $as_dirs"
3688
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4780
    while :; do
 
4781
      case $as_dir in #(
 
4782
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
4783
      *) as_qdir=$as_dir;;
 
4784
      esac
 
4785
      as_dirs="'$as_qdir' $as_dirs"
 
4786
      as_dir=`$as_dirname -- "$as_dir" ||
3689
4787
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3690
4788
         X"$as_dir" : 'X\(//\)[^/]' \| \
3691
4789
         X"$as_dir" : 'X\(//\)$' \| \
3692
 
         X"$as_dir" : 'X\(/\)' \| \
3693
 
         .     : '\(.\)' 2>/dev/null ||
 
4790
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3694
4791
echo X"$as_dir" |
3695
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3696
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3697
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3698
 
          /^X\(\/\).*/{ s//\1/; q; }
3699
 
          s/.*/./; q'`
 
4792
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4793
            s//\1/
 
4794
            q
 
4795
          }
 
4796
          /^X\(\/\/\)[^/].*/{
 
4797
            s//\1/
 
4798
            q
 
4799
          }
 
4800
          /^X\(\/\/\)$/{
 
4801
            s//\1/
 
4802
            q
 
4803
          }
 
4804
          /^X\(\/\).*/{
 
4805
            s//\1/
 
4806
            q
 
4807
          }
 
4808
          s/.*/./; q'`
 
4809
      test -d "$as_dir" && break
3700
4810
    done
3701
 
    test ! -n "$as_dirs" || mkdir $as_dirs
3702
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3703
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4811
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
4812
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
4813
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3704
4814
   { (exit 1); exit 1; }; }; }
3705
 
 
3706
4815
  ac_builddir=.
3707
4816
 
3708
 
if test "$ac_dir" != .; then
 
4817
case "$ac_dir" in
 
4818
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4819
*)
3709
4820
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3710
 
  # A "../" for each directory in $ac_dir_suffix.
3711
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3712
 
else
3713
 
  ac_dir_suffix= ac_top_builddir=
3714
 
fi
 
4821
  # A ".." for each directory in $ac_dir_suffix.
 
4822
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
4823
  case $ac_top_builddir_sub in
 
4824
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4825
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
4826
  esac ;;
 
4827
esac
 
4828
ac_abs_top_builddir=$ac_pwd
 
4829
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
4830
# for backward compatibility:
 
4831
ac_top_builddir=$ac_top_build_prefix
3715
4832
 
3716
4833
case $srcdir in
3717
 
  .)  # No --srcdir option.  We are building in place.
 
4834
  .)  # We are building in place.
3718
4835
    ac_srcdir=.
3719
 
    if test -z "$ac_top_builddir"; then
3720
 
       ac_top_srcdir=.
3721
 
    else
3722
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3723
 
    fi ;;
3724
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4836
    ac_top_srcdir=$ac_top_builddir_sub
 
4837
    ac_abs_top_srcdir=$ac_pwd ;;
 
4838
  [\\/]* | ?:[\\/]* )  # Absolute name.
3725
4839
    ac_srcdir=$srcdir$ac_dir_suffix;
3726
 
    ac_top_srcdir=$srcdir ;;
3727
 
  *) # Relative path.
3728
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3729
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3730
 
esac
3731
 
 
3732
 
# Do not use `cd foo && pwd` to compute absolute paths, because
3733
 
# the directories may not exist.
3734
 
case `pwd` in
3735
 
.) ac_abs_builddir="$ac_dir";;
3736
 
*)
3737
 
  case "$ac_dir" in
3738
 
  .) ac_abs_builddir=`pwd`;;
3739
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3740
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3741
 
  esac;;
3742
 
esac
3743
 
case $ac_abs_builddir in
3744
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3745
 
*)
3746
 
  case ${ac_top_builddir}. in
3747
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
3748
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3749
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3750
 
  esac;;
3751
 
esac
3752
 
case $ac_abs_builddir in
3753
 
.) ac_abs_srcdir=$ac_srcdir;;
3754
 
*)
3755
 
  case $ac_srcdir in
3756
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
3757
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3758
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3759
 
  esac;;
3760
 
esac
3761
 
case $ac_abs_builddir in
3762
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3763
 
*)
3764
 
  case $ac_top_srcdir in
3765
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3766
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3767
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3768
 
  esac;;
3769
 
esac
3770
 
 
 
4840
    ac_top_srcdir=$srcdir
 
4841
    ac_abs_top_srcdir=$srcdir ;;
 
4842
  *) # Relative name.
 
4843
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
4844
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
4845
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
4846
esac
 
4847
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
4848
 
 
4849
 
 
4850
  case $ac_mode in
 
4851
  :F)
 
4852
  #
 
4853
  # CONFIG_FILE
 
4854
  #
3771
4855
 
3772
4856
  case $INSTALL in
3773
4857
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3774
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3775
 
  esac
3776
 
 
3777
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3778
 
  # use $as_me), people would be surprised to read:
3779
 
  #    /* config.h.  Generated by config.status.  */
3780
 
  if test x"$ac_file" = x-; then
3781
 
    configure_input=
3782
 
  else
3783
 
    configure_input="$ac_file.  "
3784
 
  fi
3785
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
3786
 
                                     sed 's,.*/,,'` by configure."
3787
 
 
3788
 
  # First look for the input files in the build tree, otherwise in the
3789
 
  # src tree.
3790
 
  ac_file_inputs=`IFS=:
3791
 
    for f in $ac_file_in; do
3792
 
      case $f in
3793
 
      -) echo $tmp/stdin ;;
3794
 
      [\\/$]*)
3795
 
         # Absolute (can't be DOS-style, as IFS=:)
3796
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3797
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3798
 
   { (exit 1); exit 1; }; }
3799
 
         echo "$f";;
3800
 
      *) # Relative
3801
 
         if test -f "$f"; then
3802
 
           # Build tree
3803
 
           echo "$f"
3804
 
         elif test -f "$srcdir/$f"; then
3805
 
           # Source tree
3806
 
           echo "$srcdir/$f"
3807
 
         else
3808
 
           # /dev/null tree
3809
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3810
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3811
 
   { (exit 1); exit 1; }; }
3812
 
         fi;;
3813
 
      esac
3814
 
    done` || { (exit 1); exit 1; }
3815
 
 
3816
 
  if test x"$ac_file" != x-; then
3817
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
3818
 
echo "$as_me: creating $ac_file" >&6;}
3819
 
    rm -f "$ac_file"
3820
 
  fi
3821
 
_ACEOF
 
4858
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
4859
  esac
 
4860
  ac_MKDIR_P=$MKDIR_P
 
4861
  case $MKDIR_P in
 
4862
  [\\/$]* | ?:[\\/]* ) ;;
 
4863
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
4864
  esac
 
4865
_ACEOF
 
4866
 
 
4867
cat >>$CONFIG_STATUS <<\_ACEOF
 
4868
# If the template does not know about datarootdir, expand it.
 
4869
# FIXME: This hack should be removed a few years after 2.60.
 
4870
ac_datarootdir_hack=; ac_datarootdir_seen=
 
4871
 
 
4872
case `sed -n '/datarootdir/ {
 
4873
  p
 
4874
  q
 
4875
}
 
4876
/@datadir@/p
 
4877
/@docdir@/p
 
4878
/@infodir@/p
 
4879
/@localedir@/p
 
4880
/@mandir@/p
 
4881
' $ac_file_inputs` in
 
4882
*datarootdir*) ac_datarootdir_seen=yes;;
 
4883
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
4884
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
4885
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
4886
_ACEOF
 
4887
cat >>$CONFIG_STATUS <<_ACEOF
 
4888
  ac_datarootdir_hack='
 
4889
  s&@datadir@&$datadir&g
 
4890
  s&@docdir@&$docdir&g
 
4891
  s&@infodir@&$infodir&g
 
4892
  s&@localedir@&$localedir&g
 
4893
  s&@mandir@&$mandir&g
 
4894
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
4895
esac
 
4896
_ACEOF
 
4897
 
 
4898
# Neutralize VPATH when `$srcdir' = `.'.
 
4899
# Shell code in configure.ac might set extrasub.
 
4900
# FIXME: do we really want to maintain this feature?
3822
4901
cat >>$CONFIG_STATUS <<_ACEOF
3823
4902
  sed "$ac_vpsub
3824
4903
$extrasub
3826
4905
cat >>$CONFIG_STATUS <<\_ACEOF
3827
4906
:t
3828
4907
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3829
 
s,@configure_input@,$configure_input,;t t
3830
 
s,@srcdir@,$ac_srcdir,;t t
3831
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3832
 
s,@top_srcdir@,$ac_top_srcdir,;t t
3833
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3834
 
s,@builddir@,$ac_builddir,;t t
3835
 
s,@abs_builddir@,$ac_abs_builddir,;t t
3836
 
s,@top_builddir@,$ac_top_builddir,;t t
3837
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3838
 
s,@INSTALL@,$ac_INSTALL,;t t
3839
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3840
 
  rm -f $tmp/stdin
3841
 
  if test x"$ac_file" != x-; then
3842
 
    mv $tmp/out $ac_file
3843
 
  else
3844
 
    cat $tmp/out
3845
 
    rm -f $tmp/out
3846
 
  fi
3847
 
 
3848
 
done
 
4908
s&@configure_input@&$configure_input&;t t
 
4909
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
4910
s&@srcdir@&$ac_srcdir&;t t
 
4911
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
4912
s&@top_srcdir@&$ac_top_srcdir&;t t
 
4913
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
4914
s&@builddir@&$ac_builddir&;t t
 
4915
s&@abs_builddir@&$ac_abs_builddir&;t t
 
4916
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
4917
s&@INSTALL@&$ac_INSTALL&;t t
 
4918
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
4919
$ac_datarootdir_hack
 
4920
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
4921
 
 
4922
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
4923
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
4924
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
4925
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4926
which seems to be undefined.  Please make sure it is defined." >&5
 
4927
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4928
which seems to be undefined.  Please make sure it is defined." >&2;}
 
4929
 
 
4930
  rm -f "$tmp/stdin"
 
4931
  case $ac_file in
 
4932
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
4933
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
4934
  esac
 
4935
 ;;
 
4936
  :H)
 
4937
  #
 
4938
  # CONFIG_HEADER
 
4939
  #
3849
4940
_ACEOF
3850
 
cat >>$CONFIG_STATUS <<\_ACEOF
3851
 
 
3852
 
#
3853
 
# CONFIG_HEADER section.
3854
 
#
3855
 
 
3856
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3857
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3858
 
#
3859
 
# ac_d sets the value in "#define NAME VALUE" lines.
3860
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
3861
 
ac_dB='[         ].*$,\1#\2'
 
4941
 
 
4942
# Transform confdefs.h into a sed script `conftest.defines', that
 
4943
# substitutes the proper values into config.h.in to produce config.h.
 
4944
rm -f conftest.defines conftest.tail
 
4945
# First, append a space to every undef/define line, to ease matching.
 
4946
echo 's/$/ /' >conftest.defines
 
4947
# Then, protect against being on the right side of a sed subst, or in
 
4948
# an unquoted here document, in config.status.  If some macros were
 
4949
# called several times there might be several #defines for the same
 
4950
# symbol, which is useless.  But do not sort them, since the last
 
4951
# AC_DEFINE must be honored.
 
4952
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
4953
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
4954
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
4955
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
4956
# just an empty string.
 
4957
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
4958
ac_dB='\\)[      (].*,\\1define\\2'
3862
4959
ac_dC=' '
3863
 
ac_dD=',;t'
3864
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3865
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3866
 
ac_uB='$,\1#\2define\3'
3867
 
ac_uC=' '
3868
 
ac_uD=',;t'
3869
 
 
3870
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3871
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3872
 
  case $ac_file in
3873
 
  - | *:- | *:-:* ) # input from stdin
3874
 
        cat >$tmp/stdin
3875
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3876
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3877
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3878
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3879
 
  * )   ac_file_in=$ac_file.in ;;
3880
 
  esac
3881
 
 
3882
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3883
 
echo "$as_me: creating $ac_file" >&6;}
3884
 
 
3885
 
  # First look for the input files in the build tree, otherwise in the
3886
 
  # src tree.
3887
 
  ac_file_inputs=`IFS=:
3888
 
    for f in $ac_file_in; do
3889
 
      case $f in
3890
 
      -) echo $tmp/stdin ;;
3891
 
      [\\/$]*)
3892
 
         # Absolute (can't be DOS-style, as IFS=:)
3893
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3894
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3895
 
   { (exit 1); exit 1; }; }
3896
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
3897
 
         echo "$f";;
3898
 
      *) # Relative
3899
 
         if test -f "$f"; then
3900
 
           # Build tree
3901
 
           echo "$f"
3902
 
         elif test -f "$srcdir/$f"; then
3903
 
           # Source tree
3904
 
           echo "$srcdir/$f"
3905
 
         else
3906
 
           # /dev/null tree
3907
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3908
 
echo "$as_me: error: cannot find input file: $f" >&2;}
3909
 
   { (exit 1); exit 1; }; }
3910
 
         fi;;
3911
 
      esac
3912
 
    done` || { (exit 1); exit 1; }
3913
 
  # Remove the trailing spaces.
3914
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
3915
 
 
3916
 
_ACEOF
3917
 
 
3918
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3919
 
# `conftest.undefs', that substitutes the proper values into
3920
 
# config.h.in to produce config.h.  The first handles `#define'
3921
 
# templates, and the second `#undef' templates.
3922
 
# And first: Protect against being on the right side of a sed subst in
3923
 
# config.status.  Protect against being in an unquoted here document
3924
 
# in config.status.
3925
 
rm -f conftest.defines conftest.undefs
3926
 
# Using a here document instead of a string reduces the quoting nightmare.
3927
 
# Putting comments in sed scripts is not portable.
3928
 
#
3929
 
# `end' is used to avoid that the second main sed command (meant for
3930
 
# 0-ary CPP macros) applies to n-ary macro definitions.
3931
 
# See the Autoconf documentation for `clear'.
3932
 
cat >confdef2sed.sed <<\_ACEOF
3933
 
s/[\\&,]/\\&/g
3934
 
s,[\\$`],\\&,g
3935
 
t clear
3936
 
: clear
3937
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3938
 
t end
3939
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3940
 
: end
3941
 
_ACEOF
3942
 
# If some macros were called several times there might be several times
3943
 
# the same #defines, which is useless.  Nevertheless, we may not want to
3944
 
# sort them, since we want the *last* AC-DEFINE to be honored.
3945
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3946
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3947
 
rm -f confdef2sed.sed
3948
 
 
3949
 
# This sed command replaces #undef with comments.  This is necessary, for
 
4960
ac_dD=' ,'
 
4961
 
 
4962
uniq confdefs.h |
 
4963
  sed -n '
 
4964
        t rset
 
4965
        :rset
 
4966
        s/^[     ]*#[    ]*define[       ][      ]*//
 
4967
        t ok
 
4968
        d
 
4969
        :ok
 
4970
        s/[\\&,]/\\&/g
 
4971
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
4972
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
4973
  ' >>conftest.defines
 
4974
 
 
4975
# Remove the space that was appended to ease matching.
 
4976
# Then replace #undef with comments.  This is necessary, for
3950
4977
# example, in the case of _POSIX_SOURCE, which is predefined and required
3951
4978
# on some systems where configure will not decide to define it.
3952
 
cat >>conftest.undefs <<\_ACEOF
3953
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4979
# (The regexp can be short, since the line contains either #define or #undef.)
 
4980
echo 's/ $//
 
4981
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
4982
 
 
4983
# Break up conftest.defines:
 
4984
ac_max_sed_lines=50
 
4985
 
 
4986
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
4987
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
4988
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
4989
# et cetera.
 
4990
ac_in='$ac_file_inputs'
 
4991
ac_out='"$tmp/out1"'
 
4992
ac_nxt='"$tmp/out2"'
 
4993
 
 
4994
while :
 
4995
do
 
4996
  # Write a here document:
 
4997
    cat >>$CONFIG_STATUS <<_ACEOF
 
4998
    # First, check the format of the line:
 
4999
    cat >"\$tmp/defines.sed" <<\\CEOF
 
5000
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
5001
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
5002
b
 
5003
:def
3954
5004
_ACEOF
3955
 
 
3956
 
# Break up conftest.defines because some shells have a limit on the size
3957
 
# of here documents, and old seds have small limits too (100 cmds).
3958
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3959
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3960
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3961
 
echo '  :' >>$CONFIG_STATUS
3962
 
rm -f conftest.tail
3963
 
while grep . conftest.defines >/dev/null
3964
 
do
3965
 
  # Write a limited-size here document to $tmp/defines.sed.
3966
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3967
 
  # Speed up: don't consider the non `#define' lines.
3968
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
3969
 
  # Work around the forget-to-reset-the-flag bug.
3970
 
  echo 't clr' >>$CONFIG_STATUS
3971
 
  echo ': clr' >>$CONFIG_STATUS
3972
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
5005
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3973
5006
  echo 'CEOF
3974
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
3975
 
  rm -f $tmp/in
3976
 
  mv $tmp/out $tmp/in
3977
 
' >>$CONFIG_STATUS
3978
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
5007
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
5008
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
5009
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
5010
  grep . conftest.tail >/dev/null || break
3979
5011
  rm -f conftest.defines
3980
5012
  mv conftest.tail conftest.defines
3981
5013
done
3982
 
rm -f conftest.defines
3983
 
echo '  fi # grep' >>$CONFIG_STATUS
3984
 
echo >>$CONFIG_STATUS
3985
 
 
3986
 
# Break up conftest.undefs because some shells have a limit on the size
3987
 
# of here documents, and old seds have small limits too (100 cmds).
3988
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
3989
 
rm -f conftest.tail
3990
 
while grep . conftest.undefs >/dev/null
3991
 
do
3992
 
  # Write a limited-size here document to $tmp/undefs.sed.
3993
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3994
 
  # Speed up: don't consider the non `#undef'
3995
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
3996
 
  # Work around the forget-to-reset-the-flag bug.
3997
 
  echo 't clr' >>$CONFIG_STATUS
3998
 
  echo ': clr' >>$CONFIG_STATUS
3999
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4000
 
  echo 'CEOF
4001
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4002
 
  rm -f $tmp/in
4003
 
  mv $tmp/out $tmp/in
4004
 
' >>$CONFIG_STATUS
4005
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4006
 
  rm -f conftest.undefs
4007
 
  mv conftest.tail conftest.undefs
4008
 
done
4009
 
rm -f conftest.undefs
4010
 
 
 
5014
rm -f conftest.defines conftest.tail
 
5015
 
 
5016
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4011
5017
cat >>$CONFIG_STATUS <<\_ACEOF
4012
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4013
 
  # use $as_me), people would be surprised to read:
4014
 
  #    /* config.h.  Generated by config.status.  */
4015
 
  if test x"$ac_file" = x-; then
4016
 
    echo "/* Generated by configure.  */" >$tmp/config.h
4017
 
  else
4018
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4019
 
  fi
4020
 
  cat $tmp/in >>$tmp/config.h
4021
 
  rm -f $tmp/in
4022
5018
  if test x"$ac_file" != x-; then
4023
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
5019
    echo "/* $configure_input  */" >"$tmp/config.h"
 
5020
    cat "$ac_result" >>"$tmp/config.h"
 
5021
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4024
5022
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4025
5023
echo "$as_me: $ac_file is unchanged" >&6;}
4026
5024
    else
4027
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4028
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4029
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4030
 
         X"$ac_file" : 'X\(//\)$' \| \
4031
 
         X"$ac_file" : 'X\(/\)' \| \
4032
 
         .     : '\(.\)' 2>/dev/null ||
4033
 
echo X"$ac_file" |
4034
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4035
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4036
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4037
 
          /^X\(\/\).*/{ s//\1/; q; }
4038
 
          s/.*/./; q'`
4039
 
      { if $as_mkdir_p; then
4040
 
    mkdir -p "$ac_dir"
4041
 
  else
4042
 
    as_dir="$ac_dir"
4043
 
    as_dirs=
4044
 
    while test ! -d "$as_dir"; do
4045
 
      as_dirs="$as_dir $as_dirs"
4046
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4047
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4048
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4049
 
         X"$as_dir" : 'X\(//\)$' \| \
4050
 
         X"$as_dir" : 'X\(/\)' \| \
4051
 
         .     : '\(.\)' 2>/dev/null ||
4052
 
echo X"$as_dir" |
4053
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4054
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4055
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4056
 
          /^X\(\/\).*/{ s//\1/; q; }
4057
 
          s/.*/./; q'`
4058
 
    done
4059
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4060
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4061
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4062
 
   { (exit 1); exit 1; }; }; }
4063
 
 
4064
5025
      rm -f $ac_file
4065
 
      mv $tmp/config.h $ac_file
 
5026
      mv "$tmp/config.h" $ac_file
4066
5027
    fi
4067
5028
  else
4068
 
    cat $tmp/config.h
4069
 
    rm -f $tmp/config.h
 
5029
    echo "/* $configure_input  */"
 
5030
    cat "$ac_result"
4070
5031
  fi
 
5032
  rm -f "$tmp/out12"
 
5033
# Compute $ac_file's index in $config_headers.
 
5034
_am_arg=$ac_file
 
5035
_am_stamp_count=1
 
5036
for _am_header in $config_headers :; do
 
5037
  case $_am_header in
 
5038
    $_am_arg | $_am_arg:* )
 
5039
      break ;;
 
5040
    * )
 
5041
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
5042
  esac
4071
5043
done
4072
 
_ACEOF
4073
 
cat >>$CONFIG_STATUS <<\_ACEOF
4074
 
 
4075
 
#
4076
 
# CONFIG_COMMANDS section.
4077
 
#
4078
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4079
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4080
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4081
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4082
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4083
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4084
 
         X"$ac_dest" : 'X\(//\)$' \| \
4085
 
         X"$ac_dest" : 'X\(/\)' \| \
4086
 
         .     : '\(.\)' 2>/dev/null ||
4087
 
echo X"$ac_dest" |
4088
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4089
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4090
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4091
 
          /^X\(\/\).*/{ s//\1/; q; }
4092
 
          s/.*/./; q'`
4093
 
  { if $as_mkdir_p; then
4094
 
    mkdir -p "$ac_dir"
 
5044
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
5045
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5046
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
5047
         X"$_am_arg" : 'X\(//\)$' \| \
 
5048
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
5049
echo X"$_am_arg" |
 
5050
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5051
            s//\1/
 
5052
            q
 
5053
          }
 
5054
          /^X\(\/\/\)[^/].*/{
 
5055
            s//\1/
 
5056
            q
 
5057
          }
 
5058
          /^X\(\/\/\)$/{
 
5059
            s//\1/
 
5060
            q
 
5061
          }
 
5062
          /^X\(\/\).*/{
 
5063
            s//\1/
 
5064
            q
 
5065
          }
 
5066
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
5067
 ;;
 
5068
 
 
5069
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
5070
echo "$as_me: executing $ac_file commands" >&6;}
 
5071
 ;;
 
5072
  esac
 
5073
 
 
5074
 
 
5075
  case $ac_file$ac_mode in
 
5076
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
5077
  # Strip MF so we end up with the name of the file.
 
5078
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
5079
  # Check whether this is an Automake generated Makefile or not.
 
5080
  # We used to match only the files named `Makefile.in', but
 
5081
  # some people rename them; so instead we look at the file content.
 
5082
  # Grep'ing the first line is not enough: some people post-process
 
5083
  # each Makefile.in and add a new line on top of each file to say so.
 
5084
  # Grep'ing the whole file is not good either: AIX grep has a line
 
5085
  # limit of 2048, but all sed's we know have understand at least 4000.
 
5086
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
5087
    dirpart=`$as_dirname -- "$mf" ||
 
5088
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5089
         X"$mf" : 'X\(//\)[^/]' \| \
 
5090
         X"$mf" : 'X\(//\)$' \| \
 
5091
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
5092
echo X"$mf" |
 
5093
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5094
            s//\1/
 
5095
            q
 
5096
          }
 
5097
          /^X\(\/\/\)[^/].*/{
 
5098
            s//\1/
 
5099
            q
 
5100
          }
 
5101
          /^X\(\/\/\)$/{
 
5102
            s//\1/
 
5103
            q
 
5104
          }
 
5105
          /^X\(\/\).*/{
 
5106
            s//\1/
 
5107
            q
 
5108
          }
 
5109
          s/.*/./; q'`
4095
5110
  else
4096
 
    as_dir="$ac_dir"
 
5111
    continue
 
5112
  fi
 
5113
  # Extract the definition of DEPDIR, am__include, and am__quote
 
5114
  # from the Makefile without running `make'.
 
5115
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
5116
  test -z "$DEPDIR" && continue
 
5117
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
5118
  test -z "am__include" && continue
 
5119
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
5120
  # When using ansi2knr, U may be empty or an underscore; expand it
 
5121
  U=`sed -n 's/^U = //p' < "$mf"`
 
5122
  # Find all dependency output files, they are included files with
 
5123
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
5124
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
5125
  # expansion.
 
5126
  for file in `sed -n "
 
5127
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
5128
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
5129
    # Make sure the directory exists.
 
5130
    test -f "$dirpart/$file" && continue
 
5131
    fdir=`$as_dirname -- "$file" ||
 
5132
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5133
         X"$file" : 'X\(//\)[^/]' \| \
 
5134
         X"$file" : 'X\(//\)$' \| \
 
5135
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
5136
echo X"$file" |
 
5137
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5138
            s//\1/
 
5139
            q
 
5140
          }
 
5141
          /^X\(\/\/\)[^/].*/{
 
5142
            s//\1/
 
5143
            q
 
5144
          }
 
5145
          /^X\(\/\/\)$/{
 
5146
            s//\1/
 
5147
            q
 
5148
          }
 
5149
          /^X\(\/\).*/{
 
5150
            s//\1/
 
5151
            q
 
5152
          }
 
5153
          s/.*/./; q'`
 
5154
    { as_dir=$dirpart/$fdir
 
5155
  case $as_dir in #(
 
5156
  -*) as_dir=./$as_dir;;
 
5157
  esac
 
5158
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4097
5159
    as_dirs=
4098
 
    while test ! -d "$as_dir"; do
4099
 
      as_dirs="$as_dir $as_dirs"
4100
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5160
    while :; do
 
5161
      case $as_dir in #(
 
5162
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
5163
      *) as_qdir=$as_dir;;
 
5164
      esac
 
5165
      as_dirs="'$as_qdir' $as_dirs"
 
5166
      as_dir=`$as_dirname -- "$as_dir" ||
4101
5167
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4102
5168
         X"$as_dir" : 'X\(//\)[^/]' \| \
4103
5169
         X"$as_dir" : 'X\(//\)$' \| \
4104
 
         X"$as_dir" : 'X\(/\)' \| \
4105
 
         .     : '\(.\)' 2>/dev/null ||
 
5170
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4106
5171
echo X"$as_dir" |
4107
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4108
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4109
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4110
 
          /^X\(\/\).*/{ s//\1/; q; }
4111
 
          s/.*/./; q'`
 
5172
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5173
            s//\1/
 
5174
            q
 
5175
          }
 
5176
          /^X\(\/\/\)[^/].*/{
 
5177
            s//\1/
 
5178
            q
 
5179
          }
 
5180
          /^X\(\/\/\)$/{
 
5181
            s//\1/
 
5182
            q
 
5183
          }
 
5184
          /^X\(\/\).*/{
 
5185
            s//\1/
 
5186
            q
 
5187
          }
 
5188
          s/.*/./; q'`
 
5189
      test -d "$as_dir" && break
4112
5190
    done
4113
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4114
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4115
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
5191
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5192
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5193
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4116
5194
   { (exit 1); exit 1; }; }; }
4117
 
 
4118
 
  ac_builddir=.
4119
 
 
4120
 
if test "$ac_dir" != .; then
4121
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4122
 
  # A "../" for each directory in $ac_dir_suffix.
4123
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4124
 
else
4125
 
  ac_dir_suffix= ac_top_builddir=
4126
 
fi
4127
 
 
4128
 
case $srcdir in
4129
 
  .)  # No --srcdir option.  We are building in place.
4130
 
    ac_srcdir=.
4131
 
    if test -z "$ac_top_builddir"; then
4132
 
       ac_top_srcdir=.
4133
 
    else
4134
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4135
 
    fi ;;
4136
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
4137
 
    ac_srcdir=$srcdir$ac_dir_suffix;
4138
 
    ac_top_srcdir=$srcdir ;;
4139
 
  *) # Relative path.
4140
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4141
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4142
 
esac
4143
 
 
4144
 
# Do not use `cd foo && pwd` to compute absolute paths, because
4145
 
# the directories may not exist.
4146
 
case `pwd` in
4147
 
.) ac_abs_builddir="$ac_dir";;
4148
 
*)
4149
 
  case "$ac_dir" in
4150
 
  .) ac_abs_builddir=`pwd`;;
4151
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4152
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4153
 
  esac;;
4154
 
esac
4155
 
case $ac_abs_builddir in
4156
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4157
 
*)
4158
 
  case ${ac_top_builddir}. in
4159
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
4160
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4161
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4162
 
  esac;;
4163
 
esac
4164
 
case $ac_abs_builddir in
4165
 
.) ac_abs_srcdir=$ac_srcdir;;
4166
 
*)
4167
 
  case $ac_srcdir in
4168
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
4169
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4170
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4171
 
  esac;;
4172
 
esac
4173
 
case $ac_abs_builddir in
4174
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4175
 
*)
4176
 
  case $ac_top_srcdir in
4177
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4178
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4179
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4180
 
  esac;;
4181
 
esac
4182
 
 
4183
 
 
4184
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4185
 
echo "$as_me: executing $ac_dest commands" >&6;}
4186
 
  case $ac_dest in
4187
 
    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
 
5195
    # echo "creating $dirpart/$file"
 
5196
    echo '# dummy' > "$dirpart/$file"
 
5197
  done
 
5198
done
 
5199
 ;;
 
5200
 
4188
5201
  esac
4189
 
done
4190
 
_ACEOF
 
5202
done # for ac_tag
4191
5203
 
4192
 
cat >>$CONFIG_STATUS <<\_ACEOF
4193
5204
 
4194
5205
{ (exit 0); exit 0; }
4195
5206
_ACEOF