~ubuntu-branches/ubuntu/lucid/libatomic-ops/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Ian Wienand
  • Date: 2008-08-19 14:25:24 UTC
  • mfrom: (0.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080819142524-2767wsbmg7isqv23
Tags: 1.2+cvs20080819-1
* Update from upstream CVS
* Closes: #495211 -- patch taken upstream, thanks Thiemo!

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 for libatomic_ops 1.2.
 
3
# Generated by GNU Autoconf 2.61 for libatomic_ops 1.2.
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='libatomic_ops'
269
574
PACKAGE_TARNAME='libatomic_ops'
275
580
# Factoring default headers for most tests.
276
581
ac_includes_default="\
277
582
#include <stdio.h>
278
 
#if HAVE_SYS_TYPES_H
 
583
#ifdef HAVE_SYS_TYPES_H
279
584
# include <sys/types.h>
280
585
#endif
281
 
#if HAVE_SYS_STAT_H
 
586
#ifdef HAVE_SYS_STAT_H
282
587
# include <sys/stat.h>
283
588
#endif
284
 
#if STDC_HEADERS
 
589
#ifdef STDC_HEADERS
285
590
# include <stdlib.h>
286
591
# include <stddef.h>
287
592
#else
288
 
# if HAVE_STDLIB_H
 
593
# ifdef HAVE_STDLIB_H
289
594
#  include <stdlib.h>
290
595
# endif
291
596
#endif
292
 
#if HAVE_STRING_H
293
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
597
#ifdef HAVE_STRING_H
 
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
294
599
#  include <memory.h>
295
600
# endif
296
601
# include <string.h>
297
602
#endif
298
 
#if HAVE_STRINGS_H
 
603
#ifdef HAVE_STRINGS_H
299
604
# include <strings.h>
300
605
#endif
301
 
#if HAVE_INTTYPES_H
 
606
#ifdef HAVE_INTTYPES_H
302
607
# include <inttypes.h>
303
 
#else
304
 
# if HAVE_STDINT_H
305
 
#  include <stdint.h>
306
 
# endif
307
 
#endif
308
 
#if HAVE_UNISTD_H
 
608
#endif
 
609
#ifdef HAVE_STDINT_H
 
610
# include <stdint.h>
 
611
#endif
 
612
#ifdef HAVE_UNISTD_H
309
613
# include <unistd.h>
310
614
#endif"
311
615
 
312
 
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS CCASFLAGS CPP EGREP PICFLAG NEED_ASM_TRUE NEED_ASM_FALSE LIBOBJS LTLIBOBJS'
 
616
ac_subst_vars='SHELL
 
617
PATH_SEPARATOR
 
618
PACKAGE_NAME
 
619
PACKAGE_TARNAME
 
620
PACKAGE_VERSION
 
621
PACKAGE_STRING
 
622
PACKAGE_BUGREPORT
 
623
exec_prefix
 
624
prefix
 
625
program_transform_name
 
626
bindir
 
627
sbindir
 
628
libexecdir
 
629
datarootdir
 
630
datadir
 
631
sysconfdir
 
632
sharedstatedir
 
633
localstatedir
 
634
includedir
 
635
oldincludedir
 
636
docdir
 
637
infodir
 
638
htmldir
 
639
dvidir
 
640
pdfdir
 
641
psdir
 
642
libdir
 
643
localedir
 
644
mandir
 
645
DEFS
 
646
ECHO_C
 
647
ECHO_N
 
648
ECHO_T
 
649
LIBS
 
650
build_alias
 
651
host_alias
 
652
target_alias
 
653
build
 
654
build_cpu
 
655
build_vendor
 
656
build_os
 
657
host
 
658
host_cpu
 
659
host_vendor
 
660
host_os
 
661
target
 
662
target_cpu
 
663
target_vendor
 
664
target_os
 
665
INSTALL_PROGRAM
 
666
INSTALL_SCRIPT
 
667
INSTALL_DATA
 
668
CYGPATH_W
 
669
PACKAGE
 
670
VERSION
 
671
ACLOCAL
 
672
AUTOCONF
 
673
AUTOMAKE
 
674
AUTOHEADER
 
675
MAKEINFO
 
676
install_sh
 
677
STRIP
 
678
INSTALL_STRIP_PROGRAM
 
679
mkdir_p
 
680
AWK
 
681
SET_MAKE
 
682
am__leading_dot
 
683
AMTAR
 
684
am__tar
 
685
am__untar
 
686
RANLIB
 
687
CC
 
688
CFLAGS
 
689
LDFLAGS
 
690
CPPFLAGS
 
691
ac_ct_CC
 
692
EXEEXT
 
693
OBJEXT
 
694
DEPDIR
 
695
am__include
 
696
am__quote
 
697
AMDEP_TRUE
 
698
AMDEP_FALSE
 
699
AMDEPBACKSLASH
 
700
CCDEPMODE
 
701
am__fastdepCC_TRUE
 
702
am__fastdepCC_FALSE
 
703
CCAS
 
704
CCASFLAGS
 
705
CPP
 
706
GREP
 
707
EGREP
 
708
PICFLAG
 
709
NEED_ASM_TRUE
 
710
NEED_ASM_FALSE
 
711
LIBOBJS
 
712
LTLIBOBJS'
313
713
ac_subst_files=''
 
714
      ac_precious_vars='build_alias
 
715
host_alias
 
716
target_alias
 
717
CC
 
718
CFLAGS
 
719
LDFLAGS
 
720
LIBS
 
721
CPPFLAGS
 
722
CCAS
 
723
CCASFLAGS
 
724
CPP'
 
725
 
314
726
 
315
727
# Initialize some variables set by options.
316
728
ac_init_help=
337
749
# and all the variables that are supposed to be based on exec_prefix
338
750
# by default will actually change.
339
751
# Use braces instead of parens because sh, perl, etc. also accept them.
 
752
# (The list follows the same order as the GNU Coding Standards.)
340
753
bindir='${exec_prefix}/bin'
341
754
sbindir='${exec_prefix}/sbin'
342
755
libexecdir='${exec_prefix}/libexec'
343
 
datadir='${prefix}/share'
 
756
datarootdir='${prefix}/share'
 
757
datadir='${datarootdir}'
344
758
sysconfdir='${prefix}/etc'
345
759
sharedstatedir='${prefix}/com'
346
760
localstatedir='${prefix}/var'
347
 
libdir='${exec_prefix}/lib'
348
761
includedir='${prefix}/include'
349
762
oldincludedir='/usr/include'
350
 
infodir='${prefix}/info'
351
 
mandir='${prefix}/man'
 
763
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
764
infodir='${datarootdir}/info'
 
765
htmldir='${docdir}'
 
766
dvidir='${docdir}'
 
767
pdfdir='${docdir}'
 
768
psdir='${docdir}'
 
769
libdir='${exec_prefix}/lib'
 
770
localedir='${datarootdir}/locale'
 
771
mandir='${datarootdir}/man'
352
772
 
353
773
ac_prev=
 
774
ac_dashdash=
354
775
for ac_option
355
776
do
356
777
  # If the previous option needs an argument, assign it.
357
778
  if test -n "$ac_prev"; then
358
 
    eval "$ac_prev=\$ac_option"
 
779
    eval $ac_prev=\$ac_option
359
780
    ac_prev=
360
781
    continue
361
782
  fi
362
783
 
363
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
784
  case $ac_option in
 
785
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
786
  *)    ac_optarg=yes ;;
 
787
  esac
364
788
 
365
789
  # Accept the important Cygnus configure options, so we can diagnose typos.
366
790
 
367
 
  case $ac_option in
 
791
  case $ac_dashdash$ac_option in
 
792
  --)
 
793
    ac_dashdash=yes ;;
368
794
 
369
795
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
370
796
    ac_prev=bindir ;;
386
812
  --config-cache | -C)
387
813
    cache_file=config.cache ;;
388
814
 
389
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
815
  -datadir | --datadir | --datadi | --datad)
390
816
    ac_prev=datadir ;;
391
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392
 
  | --da=*)
 
817
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
393
818
    datadir=$ac_optarg ;;
394
819
 
 
820
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
821
  | --dataroo | --dataro | --datar)
 
822
    ac_prev=datarootdir ;;
 
823
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
824
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
825
    datarootdir=$ac_optarg ;;
 
826
 
395
827
  -disable-* | --disable-*)
396
828
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
829
    # Reject names that are not valid shell variable names.
398
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
830
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
399
831
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400
832
   { (exit 1); exit 1; }; }
401
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402
 
    eval "enable_$ac_feature=no" ;;
 
833
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
834
    eval enable_$ac_feature=no ;;
 
835
 
 
836
  -docdir | --docdir | --docdi | --doc | --do)
 
837
    ac_prev=docdir ;;
 
838
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
839
    docdir=$ac_optarg ;;
 
840
 
 
841
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
842
    ac_prev=dvidir ;;
 
843
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
844
    dvidir=$ac_optarg ;;
403
845
 
404
846
  -enable-* | --enable-*)
405
847
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
848
    # Reject names that are not valid shell variable names.
407
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
849
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
408
850
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409
851
   { (exit 1); exit 1; }; }
410
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411
 
    case $ac_option in
412
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413
 
      *) ac_optarg=yes ;;
414
 
    esac
415
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
852
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
853
    eval enable_$ac_feature=\$ac_optarg ;;
416
854
 
417
855
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
856
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
439
877
  -host=* | --host=* | --hos=* | --ho=*)
440
878
    host_alias=$ac_optarg ;;
441
879
 
 
880
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
881
    ac_prev=htmldir ;;
 
882
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
883
  | --ht=*)
 
884
    htmldir=$ac_optarg ;;
 
885
 
442
886
  -includedir | --includedir | --includedi | --included | --include \
443
887
  | --includ | --inclu | --incl | --inc)
444
888
    ac_prev=includedir ;;
463
907
  | --libexe=* | --libex=* | --libe=*)
464
908
    libexecdir=$ac_optarg ;;
465
909
 
 
910
  -localedir | --localedir | --localedi | --localed | --locale)
 
911
    ac_prev=localedir ;;
 
912
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
913
    localedir=$ac_optarg ;;
 
914
 
466
915
  -localstatedir | --localstatedir | --localstatedi | --localstated \
467
 
  | --localstate | --localstat | --localsta | --localst \
468
 
  | --locals | --local | --loca | --loc | --lo)
 
916
  | --localstate | --localstat | --localsta | --localst | --locals)
469
917
    ac_prev=localstatedir ;;
470
918
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
919
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
473
920
    localstatedir=$ac_optarg ;;
474
921
 
475
922
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
534
981
  | --progr-tra=* | --program-tr=* | --program-t=*)
535
982
    program_transform_name=$ac_optarg ;;
536
983
 
 
984
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
985
    ac_prev=pdfdir ;;
 
986
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
987
    pdfdir=$ac_optarg ;;
 
988
 
 
989
  -psdir | --psdir | --psdi | --psd | --ps)
 
990
    ac_prev=psdir ;;
 
991
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
992
    psdir=$ac_optarg ;;
 
993
 
537
994
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
995
  | -silent | --silent | --silen | --sile | --sil)
539
996
    silent=yes ;;
586
1043
  -with-* | --with-*)
587
1044
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
1045
    # Reject names that are not valid shell variable names.
589
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1046
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
590
1047
      { echo "$as_me: error: invalid package name: $ac_package" >&2
591
1048
   { (exit 1); exit 1; }; }
592
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
593
 
    case $ac_option in
594
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595
 
      *) ac_optarg=yes ;;
596
 
    esac
597
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1049
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1050
    eval with_$ac_package=\$ac_optarg ;;
598
1051
 
599
1052
  -without-* | --without-*)
600
1053
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
1054
    # Reject names that are not valid shell variable names.
602
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1055
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
603
1056
      { echo "$as_me: error: invalid package name: $ac_package" >&2
604
1057
   { (exit 1); exit 1; }; }
605
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
606
 
    eval "with_$ac_package=no" ;;
 
1058
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1059
    eval with_$ac_package=no ;;
607
1060
 
608
1061
  --x)
609
1062
    # Obsolete; use --with-x.
634
1087
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635
1088
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636
1089
   { (exit 1); exit 1; }; }
637
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638
 
    eval "$ac_envvar='$ac_optarg'"
 
1090
    eval $ac_envvar=\$ac_optarg
639
1091
    export $ac_envvar ;;
640
1092
 
641
1093
  *)
655
1107
   { (exit 1); exit 1; }; }
656
1108
fi
657
1109
 
658
 
# Be sure to have absolute paths.
659
 
for ac_var in exec_prefix prefix
660
 
do
661
 
  eval ac_val=$`echo $ac_var`
662
 
  case $ac_val in
663
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
 
   { (exit 1); exit 1; }; };;
666
 
  esac
667
 
done
668
 
 
669
 
# Be sure to have absolute paths.
670
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
 
              localstatedir libdir includedir oldincludedir infodir mandir
672
 
do
673
 
  eval ac_val=$`echo $ac_var`
674
 
  case $ac_val in
675
 
    [\\/$]* | ?:[\\/]* ) ;;
676
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
 
   { (exit 1); exit 1; }; };;
678
 
  esac
 
1110
# Be sure to have absolute directory names.
 
1111
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1112
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1113
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1114
                libdir localedir mandir
 
1115
do
 
1116
  eval ac_val=\$$ac_var
 
1117
  case $ac_val in
 
1118
    [\\/$]* | ?:[\\/]* )  continue;;
 
1119
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1120
  esac
 
1121
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1122
   { (exit 1); exit 1; }; }
679
1123
done
680
1124
 
681
1125
# There might be people who depend on the old broken behavior: `$host'
702
1146
test "$silent" = yes && exec 6>/dev/null
703
1147
 
704
1148
 
 
1149
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1150
ac_ls_di=`ls -di .` &&
 
1151
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1152
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1153
   { (exit 1); exit 1; }; }
 
1154
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1155
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1156
   { (exit 1); exit 1; }; }
 
1157
 
 
1158
 
705
1159
# Find the source files, if location was not specified.
706
1160
if test -z "$srcdir"; then
707
1161
  ac_srcdir_defaulted=yes
708
 
  # Try the directory containing this script, then its parent.
709
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1162
  # Try the directory containing this script, then the parent directory.
 
1163
  ac_confdir=`$as_dirname -- "$0" ||
710
1164
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
1165
         X"$0" : 'X\(//\)[^/]' \| \
712
1166
         X"$0" : 'X\(//\)$' \| \
713
 
         X"$0" : 'X\(/\)' \| \
714
 
         .     : '\(.\)' 2>/dev/null ||
 
1167
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
715
1168
echo X"$0" |
716
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
 
          /^X\(\/\/\)$/{ s//\1/; q; }
719
 
          /^X\(\/\).*/{ s//\1/; q; }
720
 
          s/.*/./; q'`
 
1169
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1170
            s//\1/
 
1171
            q
 
1172
          }
 
1173
          /^X\(\/\/\)[^/].*/{
 
1174
            s//\1/
 
1175
            q
 
1176
          }
 
1177
          /^X\(\/\/\)$/{
 
1178
            s//\1/
 
1179
            q
 
1180
          }
 
1181
          /^X\(\/\).*/{
 
1182
            s//\1/
 
1183
            q
 
1184
          }
 
1185
          s/.*/./; q'`
721
1186
  srcdir=$ac_confdir
722
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1187
  if test ! -r "$srcdir/$ac_unique_file"; then
723
1188
    srcdir=..
724
1189
  fi
725
1190
else
726
1191
  ac_srcdir_defaulted=no
727
1192
fi
728
 
if test ! -r $srcdir/$ac_unique_file; then
729
 
  if test "$ac_srcdir_defaulted" = yes; then
730
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
 
   { (exit 1); exit 1; }; }
732
 
  else
733
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
 
   { (exit 1); exit 1; }; }
735
 
  fi
736
 
fi
737
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
 
   { (exit 1); exit 1; }; }
740
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
 
ac_env_build_alias_set=${build_alias+set}
742
 
ac_env_build_alias_value=$build_alias
743
 
ac_cv_env_build_alias_set=${build_alias+set}
744
 
ac_cv_env_build_alias_value=$build_alias
745
 
ac_env_host_alias_set=${host_alias+set}
746
 
ac_env_host_alias_value=$host_alias
747
 
ac_cv_env_host_alias_set=${host_alias+set}
748
 
ac_cv_env_host_alias_value=$host_alias
749
 
ac_env_target_alias_set=${target_alias+set}
750
 
ac_env_target_alias_value=$target_alias
751
 
ac_cv_env_target_alias_set=${target_alias+set}
752
 
ac_cv_env_target_alias_value=$target_alias
753
 
ac_env_CC_set=${CC+set}
754
 
ac_env_CC_value=$CC
755
 
ac_cv_env_CC_set=${CC+set}
756
 
ac_cv_env_CC_value=$CC
757
 
ac_env_CFLAGS_set=${CFLAGS+set}
758
 
ac_env_CFLAGS_value=$CFLAGS
759
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
 
ac_cv_env_CFLAGS_value=$CFLAGS
761
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
 
ac_env_LDFLAGS_value=$LDFLAGS
763
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
 
ac_env_CPPFLAGS_value=$CPPFLAGS
767
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
 
ac_env_CCAS_set=${CCAS+set}
770
 
ac_env_CCAS_value=$CCAS
771
 
ac_cv_env_CCAS_set=${CCAS+set}
772
 
ac_cv_env_CCAS_value=$CCAS
773
 
ac_env_CCASFLAGS_set=${CCASFLAGS+set}
774
 
ac_env_CCASFLAGS_value=$CCASFLAGS
775
 
ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
776
 
ac_cv_env_CCASFLAGS_value=$CCASFLAGS
777
 
ac_env_CPP_set=${CPP+set}
778
 
ac_env_CPP_value=$CPP
779
 
ac_cv_env_CPP_set=${CPP+set}
780
 
ac_cv_env_CPP_value=$CPP
 
1193
if test ! -r "$srcdir/$ac_unique_file"; then
 
1194
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1195
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1196
   { (exit 1); exit 1; }; }
 
1197
fi
 
1198
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1199
ac_abs_confdir=`(
 
1200
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1201
   { (exit 1); exit 1; }; }
 
1202
        pwd)`
 
1203
# When building in place, set srcdir=.
 
1204
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1205
  srcdir=.
 
1206
fi
 
1207
# Remove unnecessary trailing slashes from srcdir.
 
1208
# Double slashes in file names in object file debugging info
 
1209
# mess up M-x gdb in Emacs.
 
1210
case $srcdir in
 
1211
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1212
esac
 
1213
for ac_var in $ac_precious_vars; do
 
1214
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1215
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1216
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1217
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1218
done
781
1219
 
782
1220
#
783
1221
# Report the --help message.
806
1244
  -n, --no-create         do not create output files
807
1245
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
808
1246
 
809
 
_ACEOF
810
 
 
811
 
  cat <<_ACEOF
812
1247
Installation directories:
813
1248
  --prefix=PREFIX         install architecture-independent files in PREFIX
814
1249
                          [$ac_default_prefix]
826
1261
  --bindir=DIR           user executables [EPREFIX/bin]
827
1262
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
828
1263
  --libexecdir=DIR       program executables [EPREFIX/libexec]
829
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
830
1264
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
831
1265
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
832
1266
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
833
1267
  --libdir=DIR           object code libraries [EPREFIX/lib]
834
1268
  --includedir=DIR       C header files [PREFIX/include]
835
1269
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
836
 
  --infodir=DIR          info documentation [PREFIX/info]
837
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1270
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1271
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1272
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1273
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1274
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1275
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libatomic_ops]
 
1276
  --htmldir=DIR          html documentation [DOCDIR]
 
1277
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1278
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1279
  --psdir=DIR            ps documentation [DOCDIR]
838
1280
_ACEOF
839
1281
 
840
1282
  cat <<\_ACEOF
868
1310
  CFLAGS      C compiler flags
869
1311
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
870
1312
              nonstandard directory <lib dir>
871
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
872
 
              headers in a nonstandard directory <include dir>
 
1313
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1314
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1315
              you have headers in a nonstandard directory <include dir>
873
1316
  CCAS        assembler compiler command (defaults to CC)
874
1317
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
875
1318
  CPP         C preprocessor
878
1321
it to find libraries and programs with nonstandard names/locations.
879
1322
 
880
1323
_ACEOF
 
1324
ac_status=$?
881
1325
fi
882
1326
 
883
1327
if test "$ac_init_help" = "recursive"; then
884
1328
  # If there are subdirs, report their specific --help.
885
 
  ac_popdir=`pwd`
886
1329
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887
 
    test -d $ac_dir || continue
 
1330
    test -d "$ac_dir" || continue
888
1331
    ac_builddir=.
889
1332
 
890
 
if test "$ac_dir" != .; then
 
1333
case "$ac_dir" in
 
1334
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1335
*)
891
1336
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892
 
  # A "../" for each directory in $ac_dir_suffix.
893
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894
 
else
895
 
  ac_dir_suffix= ac_top_builddir=
896
 
fi
 
1337
  # A ".." for each directory in $ac_dir_suffix.
 
1338
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1339
  case $ac_top_builddir_sub in
 
1340
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1341
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1342
  esac ;;
 
1343
esac
 
1344
ac_abs_top_builddir=$ac_pwd
 
1345
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1346
# for backward compatibility:
 
1347
ac_top_builddir=$ac_top_build_prefix
897
1348
 
898
1349
case $srcdir in
899
 
  .)  # No --srcdir option.  We are building in place.
 
1350
  .)  # We are building in place.
900
1351
    ac_srcdir=.
901
 
    if test -z "$ac_top_builddir"; then
902
 
       ac_top_srcdir=.
903
 
    else
904
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905
 
    fi ;;
906
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1352
    ac_top_srcdir=$ac_top_builddir_sub
 
1353
    ac_abs_top_srcdir=$ac_pwd ;;
 
1354
  [\\/]* | ?:[\\/]* )  # Absolute name.
907
1355
    ac_srcdir=$srcdir$ac_dir_suffix;
908
 
    ac_top_srcdir=$srcdir ;;
909
 
  *) # Relative path.
910
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
912
 
esac
913
 
 
914
 
# Do not use `cd foo && pwd` to compute absolute paths, because
915
 
# the directories may not exist.
916
 
case `pwd` in
917
 
.) ac_abs_builddir="$ac_dir";;
918
 
*)
919
 
  case "$ac_dir" in
920
 
  .) ac_abs_builddir=`pwd`;;
921
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
923
 
  esac;;
924
 
esac
925
 
case $ac_abs_builddir in
926
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
927
 
*)
928
 
  case ${ac_top_builddir}. in
929
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
930
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932
 
  esac;;
933
 
esac
934
 
case $ac_abs_builddir in
935
 
.) ac_abs_srcdir=$ac_srcdir;;
936
 
*)
937
 
  case $ac_srcdir in
938
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
939
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941
 
  esac;;
942
 
esac
943
 
case $ac_abs_builddir in
944
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
945
 
*)
946
 
  case $ac_top_srcdir in
947
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
948
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
950
 
  esac;;
951
 
esac
952
 
 
953
 
    cd $ac_dir
954
 
    # Check for guested configure; otherwise get Cygnus style configure.
955
 
    if test -f $ac_srcdir/configure.gnu; then
956
 
      echo
957
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
958
 
    elif test -f $ac_srcdir/configure; then
959
 
      echo
960
 
      $SHELL $ac_srcdir/configure  --help=recursive
961
 
    elif test -f $ac_srcdir/configure.ac ||
962
 
           test -f $ac_srcdir/configure.in; then
963
 
      echo
964
 
      $ac_configure --help
 
1356
    ac_top_srcdir=$srcdir
 
1357
    ac_abs_top_srcdir=$srcdir ;;
 
1358
  *) # Relative name.
 
1359
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1360
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1361
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1362
esac
 
1363
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1364
 
 
1365
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1366
    # Check for guested configure.
 
1367
    if test -f "$ac_srcdir/configure.gnu"; then
 
1368
      echo &&
 
1369
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1370
    elif test -f "$ac_srcdir/configure"; then
 
1371
      echo &&
 
1372
      $SHELL "$ac_srcdir/configure" --help=recursive
965
1373
    else
966
1374
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
967
 
    fi
968
 
    cd "$ac_popdir"
 
1375
    fi || ac_status=$?
 
1376
    cd "$ac_pwd" || { ac_status=$?; break; }
969
1377
  done
970
1378
fi
971
1379
 
972
 
test -n "$ac_init_help" && exit 0
 
1380
test -n "$ac_init_help" && exit $ac_status
973
1381
if $ac_init_version; then
974
1382
  cat <<\_ACEOF
975
1383
libatomic_ops configure 1.2
976
 
generated by GNU Autoconf 2.59
 
1384
generated by GNU Autoconf 2.61
977
1385
 
978
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1386
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1387
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
979
1388
This configure script is free software; the Free Software Foundation
980
1389
gives unlimited permission to copy, distribute and modify it.
981
1390
_ACEOF
982
 
  exit 0
 
1391
  exit
983
1392
fi
984
 
exec 5>config.log
985
 
cat >&5 <<_ACEOF
 
1393
cat >config.log <<_ACEOF
986
1394
This file contains any messages produced by compilers while
987
1395
running configure, to aid debugging if configure makes a mistake.
988
1396
 
989
1397
It was created by libatomic_ops $as_me 1.2, which was
990
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1398
generated by GNU Autoconf 2.61.  Invocation command line was
991
1399
 
992
1400
  $ $0 $@
993
1401
 
994
1402
_ACEOF
 
1403
exec 5>>config.log
995
1404
{
996
1405
cat <<_ASUNAME
997
1406
## --------- ##
1010
1419
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1011
1420
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1012
1421
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1013
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1422
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1014
1423
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1015
1424
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1016
1425
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1024
1433
  test -z "$as_dir" && as_dir=.
1025
1434
  echo "PATH: $as_dir"
1026
1435
done
 
1436
IFS=$as_save_IFS
1027
1437
 
1028
1438
} >&5
1029
1439
 
1045
1455
ac_configure_args=
1046
1456
ac_configure_args0=
1047
1457
ac_configure_args1=
1048
 
ac_sep=
1049
1458
ac_must_keep_next=false
1050
1459
for ac_pass in 1 2
1051
1460
do
1056
1465
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057
1466
    | -silent | --silent | --silen | --sile | --sil)
1058
1467
      continue ;;
1059
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1468
    *\'*)
1060
1469
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061
1470
    esac
1062
1471
    case $ac_pass in
1078
1487
          -* ) ac_must_keep_next=true ;;
1079
1488
        esac
1080
1489
      fi
1081
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082
 
      # Get rid of the leading space.
1083
 
      ac_sep=" "
 
1490
      ac_configure_args="$ac_configure_args '$ac_arg'"
1084
1491
      ;;
1085
1492
    esac
1086
1493
  done
1091
1498
# When interrupted or exit'd, cleanup temporary files, and complete
1092
1499
# config.log.  We remove comments because anyway the quotes in there
1093
1500
# would cause problems or look ugly.
1094
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1095
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1501
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1502
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1096
1503
trap 'exit_status=$?
1097
1504
  # Save into config.log some information that might help in debugging.
1098
1505
  {
1105
1512
_ASBOX
1106
1513
    echo
1107
1514
    # The following way of writing the cache mishandles newlines in values,
1108
 
{
 
1515
(
 
1516
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1517
    eval ac_val=\$$ac_var
 
1518
    case $ac_val in #(
 
1519
    *${as_nl}*)
 
1520
      case $ac_var in #(
 
1521
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1522
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1523
      esac
 
1524
      case $ac_var in #(
 
1525
      _ | IFS | as_nl) ;; #(
 
1526
      *) $as_unset $ac_var ;;
 
1527
      esac ;;
 
1528
    esac
 
1529
  done
1109
1530
  (set) 2>&1 |
1110
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111
 
    *ac_space=\ *)
 
1531
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1532
    *${as_nl}ac_space=\ *)
1112
1533
      sed -n \
1113
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115
 
      ;;
 
1534
        "s/'\''/'\''\\\\'\'''\''/g;
 
1535
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1536
      ;; #(
1116
1537
    *)
1117
 
      sed -n \
1118
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1538
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1119
1539
      ;;
1120
 
    esac;
1121
 
}
 
1540
    esac |
 
1541
    sort
 
1542
)
1122
1543
    echo
1123
1544
 
1124
1545
    cat <<\_ASBOX
1129
1550
    echo
1130
1551
    for ac_var in $ac_subst_vars
1131
1552
    do
1132
 
      eval ac_val=$`echo $ac_var`
1133
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1553
      eval ac_val=\$$ac_var
 
1554
      case $ac_val in
 
1555
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1556
      esac
 
1557
      echo "$ac_var='\''$ac_val'\''"
1134
1558
    done | sort
1135
1559
    echo
1136
1560
 
1137
1561
    if test -n "$ac_subst_files"; then
1138
1562
      cat <<\_ASBOX
1139
 
## ------------- ##
1140
 
## Output files. ##
1141
 
## ------------- ##
 
1563
## ------------------- ##
 
1564
## File substitutions. ##
 
1565
## ------------------- ##
1142
1566
_ASBOX
1143
1567
      echo
1144
1568
      for ac_var in $ac_subst_files
1145
1569
      do
1146
 
        eval ac_val=$`echo $ac_var`
1147
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1570
        eval ac_val=\$$ac_var
 
1571
        case $ac_val in
 
1572
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1573
        esac
 
1574
        echo "$ac_var='\''$ac_val'\''"
1148
1575
      done | sort
1149
1576
      echo
1150
1577
    fi
1156
1583
## ----------- ##
1157
1584
_ASBOX
1158
1585
      echo
1159
 
      sed "/^$/d" confdefs.h | sort
 
1586
      cat confdefs.h
1160
1587
      echo
1161
1588
    fi
1162
1589
    test "$ac_signal" != 0 &&
1163
1590
      echo "$as_me: caught signal $ac_signal"
1164
1591
    echo "$as_me: exit $exit_status"
1165
1592
  } >&5
1166
 
  rm -f core *.core &&
1167
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1593
  rm -f core *.core core.conftest.* &&
 
1594
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1168
1595
    exit $exit_status
1169
 
     ' 0
 
1596
' 0
1170
1597
for ac_signal in 1 2 13 15; do
1171
1598
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172
1599
done
1173
1600
ac_signal=0
1174
1601
 
1175
1602
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1176
 
rm -rf conftest* confdefs.h
1177
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178
 
echo >confdefs.h
 
1603
rm -f -r conftest* confdefs.h
1179
1604
 
1180
1605
# Predefined preprocessor variables.
1181
1606
 
1206
1631
 
1207
1632
# Let the site file select an alternate cache file if it wants to.
1208
1633
# Prefer explicitly selected file to automatically selected ones.
1209
 
if test -z "$CONFIG_SITE"; then
1210
 
  if test "x$prefix" != xNONE; then
1211
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212
 
  else
1213
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214
 
  fi
 
1634
if test -n "$CONFIG_SITE"; then
 
1635
  set x "$CONFIG_SITE"
 
1636
elif test "x$prefix" != xNONE; then
 
1637
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1638
else
 
1639
  set x "$ac_default_prefix/share/config.site" \
 
1640
        "$ac_default_prefix/etc/config.site"
1215
1641
fi
1216
 
for ac_site_file in $CONFIG_SITE; do
 
1642
shift
 
1643
for ac_site_file
 
1644
do
1217
1645
  if test -r "$ac_site_file"; then
1218
1646
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219
1647
echo "$as_me: loading site script $ac_site_file" >&6;}
1229
1657
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230
1658
echo "$as_me: loading cache $cache_file" >&6;}
1231
1659
    case $cache_file in
1232
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1233
 
      *)                      . ./$cache_file;;
 
1660
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1661
      *)                      . "./$cache_file";;
1234
1662
    esac
1235
1663
  fi
1236
1664
else
1242
1670
# Check that the precious variables saved in the cache have kept the same
1243
1671
# value.
1244
1672
ac_cache_corrupted=false
1245
 
for ac_var in `(set) 2>&1 |
1246
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1673
for ac_var in $ac_precious_vars; do
1247
1674
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248
1675
  eval ac_new_set=\$ac_env_${ac_var}_set
1249
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1676
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1677
  eval ac_new_val=\$ac_env_${ac_var}_value
1251
1678
  case $ac_old_set,$ac_new_set in
1252
1679
    set,)
1253
1680
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1272
1699
  # Pass precious variables to config.status.
1273
1700
  if test "$ac_new_set" = set; then
1274
1701
    case $ac_new_val in
1275
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1702
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1277
1703
    *) ac_arg=$ac_var=$ac_new_val ;;
1278
1704
    esac
1279
1705
    case " $ac_configure_args " in
1290
1716
   { (exit 1); exit 1; }; }
1291
1717
fi
1292
1718
 
 
1719
 
 
1720
 
 
1721
 
 
1722
 
 
1723
 
 
1724
 
 
1725
 
 
1726
 
 
1727
 
 
1728
 
 
1729
 
 
1730
 
 
1731
 
 
1732
 
 
1733
 
 
1734
 
 
1735
 
 
1736
 
 
1737
 
 
1738
 
 
1739
 
 
1740
 
 
1741
 
 
1742
 
1293
1743
ac_ext=c
1294
1744
ac_cpp='$CPP $CPPFLAGS'
1295
1745
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1297
1747
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298
1748
 
1299
1749
 
1300
 
 
1301
 
 
1302
 
 
1303
 
 
1304
 
 
1305
 
 
1306
 
 
1307
 
 
1308
 
 
1309
 
 
1310
 
 
1311
 
 
1312
 
 
1313
 
 
1314
 
 
1315
 
 
1316
 
 
1317
 
 
1318
 
 
1319
 
 
1320
 
 
1321
 
 
1322
 
 
1323
 
 
1324
 
 
1325
1750
ac_aux_dir=
1326
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327
 
  if test -f $ac_dir/install-sh; then
 
1751
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1752
  if test -f "$ac_dir/install-sh"; then
1328
1753
    ac_aux_dir=$ac_dir
1329
1754
    ac_install_sh="$ac_aux_dir/install-sh -c"
1330
1755
    break
1331
 
  elif test -f $ac_dir/install.sh; then
 
1756
  elif test -f "$ac_dir/install.sh"; then
1332
1757
    ac_aux_dir=$ac_dir
1333
1758
    ac_install_sh="$ac_aux_dir/install.sh -c"
1334
1759
    break
1335
 
  elif test -f $ac_dir/shtool; then
 
1760
  elif test -f "$ac_dir/shtool"; then
1336
1761
    ac_aux_dir=$ac_dir
1337
1762
    ac_install_sh="$ac_aux_dir/shtool install -c"
1338
1763
    break
1339
1764
  fi
1340
1765
done
1341
1766
if test -z "$ac_aux_dir"; then
1342
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1767
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1768
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1344
1769
   { (exit 1); exit 1; }; }
1345
1770
fi
1346
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1771
 
 
1772
# These three variables are undocumented and unsupported,
 
1773
# and are intended to be withdrawn in a future Autoconf release.
 
1774
# They can cause serious problems if a builder's source tree is in a directory
 
1775
# whose full name contains unusual characters.
 
1776
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1777
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1778
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1779
 
1349
1780
 
1350
1781
# Make sure we can run config.sub.
1351
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1352
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1353
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
1782
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
1783
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
1784
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1354
1785
   { (exit 1); exit 1; }; }
1355
1786
 
1356
 
echo "$as_me:$LINENO: checking build system type" >&5
1357
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
1787
{ echo "$as_me:$LINENO: checking build system type" >&5
 
1788
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1358
1789
if test "${ac_cv_build+set}" = set; then
1359
1790
  echo $ECHO_N "(cached) $ECHO_C" >&6
1360
1791
else
1361
 
  ac_cv_build_alias=$build_alias
1362
 
test -z "$ac_cv_build_alias" &&
1363
 
  ac_cv_build_alias=`$ac_config_guess`
1364
 
test -z "$ac_cv_build_alias" &&
 
1792
  ac_build_alias=$build_alias
 
1793
test "x$ac_build_alias" = x &&
 
1794
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
1795
test "x$ac_build_alias" = x &&
1365
1796
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1366
1797
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1367
1798
   { (exit 1); exit 1; }; }
1368
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1369
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1370
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
1799
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
1800
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
1801
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1371
1802
   { (exit 1); exit 1; }; }
1372
1803
 
1373
1804
fi
1374
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1375
 
echo "${ECHO_T}$ac_cv_build" >&6
 
1805
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1806
echo "${ECHO_T}$ac_cv_build" >&6; }
 
1807
case $ac_cv_build in
 
1808
*-*-*) ;;
 
1809
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
1810
echo "$as_me: error: invalid value of canonical build" >&2;}
 
1811
   { (exit 1); exit 1; }; };;
 
1812
esac
1376
1813
build=$ac_cv_build
1377
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1378
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1379
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1380
 
 
1381
 
 
1382
 
echo "$as_me:$LINENO: checking host system type" >&5
1383
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
1814
ac_save_IFS=$IFS; IFS='-'
 
1815
set x $ac_cv_build
 
1816
shift
 
1817
build_cpu=$1
 
1818
build_vendor=$2
 
1819
shift; shift
 
1820
# Remember, the first character of IFS is used to create $*,
 
1821
# except with old shells:
 
1822
build_os=$*
 
1823
IFS=$ac_save_IFS
 
1824
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
1825
 
 
1826
 
 
1827
{ echo "$as_me:$LINENO: checking host system type" >&5
 
1828
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1384
1829
if test "${ac_cv_host+set}" = set; then
1385
1830
  echo $ECHO_N "(cached) $ECHO_C" >&6
1386
1831
else
1387
 
  ac_cv_host_alias=$host_alias
1388
 
test -z "$ac_cv_host_alias" &&
1389
 
  ac_cv_host_alias=$ac_cv_build_alias
1390
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1391
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1392
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
1832
  if test "x$host_alias" = x; then
 
1833
  ac_cv_host=$ac_cv_build
 
1834
else
 
1835
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
1836
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
1837
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1393
1838
   { (exit 1); exit 1; }; }
 
1839
fi
1394
1840
 
1395
1841
fi
1396
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1397
 
echo "${ECHO_T}$ac_cv_host" >&6
 
1842
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
1843
echo "${ECHO_T}$ac_cv_host" >&6; }
 
1844
case $ac_cv_host in
 
1845
*-*-*) ;;
 
1846
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
1847
echo "$as_me: error: invalid value of canonical host" >&2;}
 
1848
   { (exit 1); exit 1; }; };;
 
1849
esac
1398
1850
host=$ac_cv_host
1399
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1400
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1401
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1402
 
 
1403
 
 
1404
 
echo "$as_me:$LINENO: checking target system type" >&5
1405
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
1851
ac_save_IFS=$IFS; IFS='-'
 
1852
set x $ac_cv_host
 
1853
shift
 
1854
host_cpu=$1
 
1855
host_vendor=$2
 
1856
shift; shift
 
1857
# Remember, the first character of IFS is used to create $*,
 
1858
# except with old shells:
 
1859
host_os=$*
 
1860
IFS=$ac_save_IFS
 
1861
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
1862
 
 
1863
 
 
1864
{ echo "$as_me:$LINENO: checking target system type" >&5
 
1865
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1406
1866
if test "${ac_cv_target+set}" = set; then
1407
1867
  echo $ECHO_N "(cached) $ECHO_C" >&6
1408
1868
else
1409
 
  ac_cv_target_alias=$target_alias
1410
 
test "x$ac_cv_target_alias" = "x" &&
1411
 
  ac_cv_target_alias=$ac_cv_host_alias
1412
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1413
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1414
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
1869
  if test "x$target_alias" = x; then
 
1870
  ac_cv_target=$ac_cv_host
 
1871
else
 
1872
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
1873
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
1874
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1415
1875
   { (exit 1); exit 1; }; }
 
1876
fi
1416
1877
 
1417
1878
fi
1418
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1419
 
echo "${ECHO_T}$ac_cv_target" >&6
 
1879
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
1880
echo "${ECHO_T}$ac_cv_target" >&6; }
 
1881
case $ac_cv_target in
 
1882
*-*-*) ;;
 
1883
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
1884
echo "$as_me: error: invalid value of canonical target" >&2;}
 
1885
   { (exit 1); exit 1; }; };;
 
1886
esac
1420
1887
target=$ac_cv_target
1421
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1422
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1423
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1888
ac_save_IFS=$IFS; IFS='-'
 
1889
set x $ac_cv_target
 
1890
shift
 
1891
target_cpu=$1
 
1892
target_vendor=$2
 
1893
shift; shift
 
1894
# Remember, the first character of IFS is used to create $*,
 
1895
# except with old shells:
 
1896
target_os=$*
 
1897
IFS=$ac_save_IFS
 
1898
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1424
1899
 
1425
1900
 
1426
1901
# The aliases save the names the user supplied, while $host etc.
1444
1919
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1445
1920
# OS/2's system install, which has a completely different semantic
1446
1921
# ./install, which can be erroneously created by make from ./install.sh.
1447
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1448
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1922
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1923
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1449
1924
if test -z "$INSTALL"; then
1450
1925
if test "${ac_cv_path_install+set}" = set; then
1451
1926
  echo $ECHO_N "(cached) $ECHO_C" >&6
1467
1942
    # by default.
1468
1943
    for ac_prog in ginstall scoinst install; do
1469
1944
      for ac_exec_ext in '' $ac_executable_extensions; do
1470
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1945
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1471
1946
          if test $ac_prog = install &&
1472
1947
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1473
1948
            # AIX install.  It has an incompatible calling convention.
1486
1961
    ;;
1487
1962
esac
1488
1963
done
 
1964
IFS=$as_save_IFS
1489
1965
 
1490
1966
 
1491
1967
fi
1492
1968
  if test "${ac_cv_path_install+set}" = set; then
1493
1969
    INSTALL=$ac_cv_path_install
1494
1970
  else
1495
 
    # As a last resort, use the slow shell script.  We don't cache a
1496
 
    # path for INSTALL within a source directory, because that will
 
1971
    # As a last resort, use the slow shell script.  Don't cache a
 
1972
    # value for INSTALL within a source directory, because that will
1497
1973
    # break other packages using the cache if that directory is
1498
 
    # removed, or if the path is relative.
 
1974
    # removed, or if the value is a relative name.
1499
1975
    INSTALL=$ac_install_sh
1500
1976
  fi
1501
1977
fi
1502
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1503
 
echo "${ECHO_T}$INSTALL" >&6
 
1978
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1979
echo "${ECHO_T}$INSTALL" >&6; }
1504
1980
 
1505
1981
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1506
1982
# It thinks the first close brace ends the variable substitution.
1510
1986
 
1511
1987
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1512
1988
 
1513
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1514
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1989
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1990
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1515
1991
# Just in case
1516
1992
sleep 1
1517
1993
echo timestamp > conftest.file
1553
2029
Check your system clock" >&2;}
1554
2030
   { (exit 1); exit 1; }; }
1555
2031
fi
1556
 
echo "$as_me:$LINENO: result: yes" >&5
1557
 
echo "${ECHO_T}yes" >&6
 
2032
{ echo "$as_me:$LINENO: result: yes" >&5
 
2033
echo "${ECHO_T}yes" >&6; }
1558
2034
test "$program_prefix" != NONE &&
1559
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2035
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1560
2036
# Use a double $ so make ignores it.
1561
2037
test "$program_suffix" != NONE &&
1562
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2038
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1563
2039
# Double any \ or $.  echo might interpret backslashes.
1564
2040
# By default was `s,x,x', remove it if useless.
1565
2041
cat <<\_ACEOF >conftest.sed
1566
2042
s/[\\$]/&&/g;s/;s,x,x,$//
1567
2043
_ACEOF
1568
2044
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1569
 
rm conftest.sed
 
2045
rm -f conftest.sed
1570
2046
 
1571
2047
# expand $ac_aux_dir to an absolute path
1572
2048
am_aux_dir=`cd $ac_aux_dir && pwd`
1618
2094
do
1619
2095
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1620
2096
set dummy $ac_prog; ac_word=$2
1621
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1622
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2097
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2098
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1623
2099
if test "${ac_cv_prog_AWK+set}" = set; then
1624
2100
  echo $ECHO_N "(cached) $ECHO_C" >&6
1625
2101
else
1632
2108
  IFS=$as_save_IFS
1633
2109
  test -z "$as_dir" && as_dir=.
1634
2110
  for ac_exec_ext in '' $ac_executable_extensions; do
1635
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1636
2112
    ac_cv_prog_AWK="$ac_prog"
1637
2113
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1638
2114
    break 2
1639
2115
  fi
1640
2116
done
1641
2117
done
 
2118
IFS=$as_save_IFS
1642
2119
 
1643
2120
fi
1644
2121
fi
1645
2122
AWK=$ac_cv_prog_AWK
1646
2123
if test -n "$AWK"; then
1647
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1648
 
echo "${ECHO_T}$AWK" >&6
 
2124
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2125
echo "${ECHO_T}$AWK" >&6; }
1649
2126
else
1650
 
  echo "$as_me:$LINENO: result: no" >&5
1651
 
echo "${ECHO_T}no" >&6
 
2127
  { echo "$as_me:$LINENO: result: no" >&5
 
2128
echo "${ECHO_T}no" >&6; }
1652
2129
fi
1653
2130
 
 
2131
 
1654
2132
  test -n "$AWK" && break
1655
2133
done
1656
2134
 
1657
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1658
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1659
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1660
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2135
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2136
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2137
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2138
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1661
2139
  echo $ECHO_N "(cached) $ECHO_C" >&6
1662
2140
else
1663
2141
  cat >conftest.make <<\_ACEOF
 
2142
SHELL = /bin/sh
1664
2143
all:
1665
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2144
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1666
2145
_ACEOF
1667
2146
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1668
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1669
 
if test -n "$ac_maketemp"; then
1670
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1671
 
else
1672
 
  eval ac_cv_prog_make_${ac_make}_set=no
1673
 
fi
 
2147
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2148
  *@@@%%%=?*=@@@%%%*)
 
2149
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2150
  *)
 
2151
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2152
esac
1674
2153
rm -f conftest.make
1675
2154
fi
1676
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1677
 
  echo "$as_me:$LINENO: result: yes" >&5
1678
 
echo "${ECHO_T}yes" >&6
 
2155
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2156
  { echo "$as_me:$LINENO: result: yes" >&5
 
2157
echo "${ECHO_T}yes" >&6; }
1679
2158
  SET_MAKE=
1680
2159
else
1681
 
  echo "$as_me:$LINENO: result: no" >&5
1682
 
echo "${ECHO_T}no" >&6
 
2160
  { echo "$as_me:$LINENO: result: no" >&5
 
2161
echo "${ECHO_T}no" >&6; }
1683
2162
  SET_MAKE="MAKE=${MAKE-make}"
1684
2163
fi
1685
2164
 
1750
2229
  if test -n "$ac_tool_prefix"; then
1751
2230
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1752
2231
set dummy ${ac_tool_prefix}strip; ac_word=$2
1753
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1754
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2232
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2233
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1755
2234
if test "${ac_cv_prog_STRIP+set}" = set; then
1756
2235
  echo $ECHO_N "(cached) $ECHO_C" >&6
1757
2236
else
1764
2243
  IFS=$as_save_IFS
1765
2244
  test -z "$as_dir" && as_dir=.
1766
2245
  for ac_exec_ext in '' $ac_executable_extensions; do
1767
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1768
2247
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1769
2248
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770
2249
    break 2
1771
2250
  fi
1772
2251
done
1773
2252
done
 
2253
IFS=$as_save_IFS
1774
2254
 
1775
2255
fi
1776
2256
fi
1777
2257
STRIP=$ac_cv_prog_STRIP
1778
2258
if test -n "$STRIP"; then
1779
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1780
 
echo "${ECHO_T}$STRIP" >&6
 
2259
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2260
echo "${ECHO_T}$STRIP" >&6; }
1781
2261
else
1782
 
  echo "$as_me:$LINENO: result: no" >&5
1783
 
echo "${ECHO_T}no" >&6
 
2262
  { echo "$as_me:$LINENO: result: no" >&5
 
2263
echo "${ECHO_T}no" >&6; }
1784
2264
fi
 
2265
 
1785
2266
 
1786
2267
fi
1787
2268
if test -z "$ac_cv_prog_STRIP"; then
1788
2269
  ac_ct_STRIP=$STRIP
1789
2270
  # Extract the first word of "strip", so it can be a program name with args.
1790
2271
set dummy strip; ac_word=$2
1791
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1792
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2272
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1793
2274
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1794
2275
  echo $ECHO_N "(cached) $ECHO_C" >&6
1795
2276
else
1802
2283
  IFS=$as_save_IFS
1803
2284
  test -z "$as_dir" && as_dir=.
1804
2285
  for ac_exec_ext in '' $ac_executable_extensions; do
1805
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1806
2287
    ac_cv_prog_ac_ct_STRIP="strip"
1807
2288
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808
2289
    break 2
1809
2290
  fi
1810
2291
done
1811
2292
done
 
2293
IFS=$as_save_IFS
1812
2294
 
1813
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1814
2295
fi
1815
2296
fi
1816
2297
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1817
2298
if test -n "$ac_ct_STRIP"; then
1818
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1819
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2299
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2300
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1820
2301
else
1821
 
  echo "$as_me:$LINENO: result: no" >&5
1822
 
echo "${ECHO_T}no" >&6
 
2302
  { echo "$as_me:$LINENO: result: no" >&5
 
2303
echo "${ECHO_T}no" >&6; }
1823
2304
fi
1824
2305
 
1825
 
  STRIP=$ac_ct_STRIP
 
2306
  if test "x$ac_ct_STRIP" = x; then
 
2307
    STRIP=":"
 
2308
  else
 
2309
    case $cross_compiling:$ac_tool_warned in
 
2310
yes:)
 
2311
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2312
whose name does not start with the host triplet.  If you think this
 
2313
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2314
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2315
whose name does not start with the host triplet.  If you think this
 
2316
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2317
ac_tool_warned=yes ;;
 
2318
esac
 
2319
    STRIP=$ac_ct_STRIP
 
2320
  fi
1826
2321
else
1827
2322
  STRIP="$ac_cv_prog_STRIP"
1828
2323
fi
1845
2340
if test -n "$ac_tool_prefix"; then
1846
2341
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1847
2342
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1848
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1849
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2343
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2344
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1850
2345
if test "${ac_cv_prog_RANLIB+set}" = set; then
1851
2346
  echo $ECHO_N "(cached) $ECHO_C" >&6
1852
2347
else
1859
2354
  IFS=$as_save_IFS
1860
2355
  test -z "$as_dir" && as_dir=.
1861
2356
  for ac_exec_ext in '' $ac_executable_extensions; do
1862
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2357
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1863
2358
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1864
2359
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865
2360
    break 2
1866
2361
  fi
1867
2362
done
1868
2363
done
 
2364
IFS=$as_save_IFS
1869
2365
 
1870
2366
fi
1871
2367
fi
1872
2368
RANLIB=$ac_cv_prog_RANLIB
1873
2369
if test -n "$RANLIB"; then
1874
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
1875
 
echo "${ECHO_T}$RANLIB" >&6
 
2370
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
2371
echo "${ECHO_T}$RANLIB" >&6; }
1876
2372
else
1877
 
  echo "$as_me:$LINENO: result: no" >&5
1878
 
echo "${ECHO_T}no" >&6
 
2373
  { echo "$as_me:$LINENO: result: no" >&5
 
2374
echo "${ECHO_T}no" >&6; }
1879
2375
fi
 
2376
 
1880
2377
 
1881
2378
fi
1882
2379
if test -z "$ac_cv_prog_RANLIB"; then
1883
2380
  ac_ct_RANLIB=$RANLIB
1884
2381
  # Extract the first word of "ranlib", so it can be a program name with args.
1885
2382
set dummy ranlib; ac_word=$2
1886
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1887
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2383
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2384
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1888
2385
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1889
2386
  echo $ECHO_N "(cached) $ECHO_C" >&6
1890
2387
else
1897
2394
  IFS=$as_save_IFS
1898
2395
  test -z "$as_dir" && as_dir=.
1899
2396
  for ac_exec_ext in '' $ac_executable_extensions; do
1900
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1901
2398
    ac_cv_prog_ac_ct_RANLIB="ranlib"
1902
2399
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903
2400
    break 2
1904
2401
  fi
1905
2402
done
1906
2403
done
 
2404
IFS=$as_save_IFS
1907
2405
 
1908
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1909
2406
fi
1910
2407
fi
1911
2408
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1912
2409
if test -n "$ac_ct_RANLIB"; then
1913
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1914
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
2410
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
2411
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
1915
2412
else
1916
 
  echo "$as_me:$LINENO: result: no" >&5
1917
 
echo "${ECHO_T}no" >&6
 
2413
  { echo "$as_me:$LINENO: result: no" >&5
 
2414
echo "${ECHO_T}no" >&6; }
1918
2415
fi
1919
2416
 
1920
 
  RANLIB=$ac_ct_RANLIB
 
2417
  if test "x$ac_ct_RANLIB" = x; then
 
2418
    RANLIB=":"
 
2419
  else
 
2420
    case $cross_compiling:$ac_tool_warned in
 
2421
yes:)
 
2422
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2423
whose name does not start with the host triplet.  If you think this
 
2424
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2425
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2426
whose name does not start with the host triplet.  If you think this
 
2427
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2428
ac_tool_warned=yes ;;
 
2429
esac
 
2430
    RANLIB=$ac_ct_RANLIB
 
2431
  fi
1921
2432
else
1922
2433
  RANLIB="$ac_cv_prog_RANLIB"
1923
2434
fi
1924
2435
 
1925
2436
 
1926
 
          ac_config_headers="$ac_config_headers src/config.h"
 
2437
ac_config_headers="$ac_config_headers src/config.h"
1927
2438
 
1928
2439
 
1929
2440
# Checks for programs.
1935
2446
if test -n "$ac_tool_prefix"; then
1936
2447
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1937
2448
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1938
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1939
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2449
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2450
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1940
2451
if test "${ac_cv_prog_CC+set}" = set; then
1941
2452
  echo $ECHO_N "(cached) $ECHO_C" >&6
1942
2453
else
1949
2460
  IFS=$as_save_IFS
1950
2461
  test -z "$as_dir" && as_dir=.
1951
2462
  for ac_exec_ext in '' $ac_executable_extensions; do
1952
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2463
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1953
2464
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1954
2465
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955
2466
    break 2
1956
2467
  fi
1957
2468
done
1958
2469
done
 
2470
IFS=$as_save_IFS
1959
2471
 
1960
2472
fi
1961
2473
fi
1962
2474
CC=$ac_cv_prog_CC
1963
2475
if test -n "$CC"; then
1964
 
  echo "$as_me:$LINENO: result: $CC" >&5
1965
 
echo "${ECHO_T}$CC" >&6
 
2476
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2477
echo "${ECHO_T}$CC" >&6; }
1966
2478
else
1967
 
  echo "$as_me:$LINENO: result: no" >&5
1968
 
echo "${ECHO_T}no" >&6
 
2479
  { echo "$as_me:$LINENO: result: no" >&5
 
2480
echo "${ECHO_T}no" >&6; }
1969
2481
fi
 
2482
 
1970
2483
 
1971
2484
fi
1972
2485
if test -z "$ac_cv_prog_CC"; then
1973
2486
  ac_ct_CC=$CC
1974
2487
  # Extract the first word of "gcc", so it can be a program name with args.
1975
2488
set dummy gcc; ac_word=$2
1976
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1977
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2489
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2490
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1978
2491
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979
2492
  echo $ECHO_N "(cached) $ECHO_C" >&6
1980
2493
else
1987
2500
  IFS=$as_save_IFS
1988
2501
  test -z "$as_dir" && as_dir=.
1989
2502
  for ac_exec_ext in '' $ac_executable_extensions; do
1990
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1991
2504
    ac_cv_prog_ac_ct_CC="gcc"
1992
2505
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993
2506
    break 2
1994
2507
  fi
1995
2508
done
1996
2509
done
 
2510
IFS=$as_save_IFS
1997
2511
 
1998
2512
fi
1999
2513
fi
2000
2514
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2001
2515
if test -n "$ac_ct_CC"; then
2002
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2516
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2517
echo "${ECHO_T}$ac_ct_CC" >&6; }
2004
2518
else
2005
 
  echo "$as_me:$LINENO: result: no" >&5
2006
 
echo "${ECHO_T}no" >&6
 
2519
  { echo "$as_me:$LINENO: result: no" >&5
 
2520
echo "${ECHO_T}no" >&6; }
2007
2521
fi
2008
2522
 
2009
 
  CC=$ac_ct_CC
 
2523
  if test "x$ac_ct_CC" = x; then
 
2524
    CC=""
 
2525
  else
 
2526
    case $cross_compiling:$ac_tool_warned in
 
2527
yes:)
 
2528
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2529
whose name does not start with the host triplet.  If you think this
 
2530
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2531
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2532
whose name does not start with the host triplet.  If you think this
 
2533
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2534
ac_tool_warned=yes ;;
 
2535
esac
 
2536
    CC=$ac_ct_CC
 
2537
  fi
2010
2538
else
2011
2539
  CC="$ac_cv_prog_CC"
2012
2540
fi
2013
2541
 
2014
2542
if test -z "$CC"; then
2015
 
  if test -n "$ac_tool_prefix"; then
2016
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2543
          if test -n "$ac_tool_prefix"; then
 
2544
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2017
2545
set dummy ${ac_tool_prefix}cc; ac_word=$2
2018
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2019
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2546
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2547
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2020
2548
if test "${ac_cv_prog_CC+set}" = set; then
2021
2549
  echo $ECHO_N "(cached) $ECHO_C" >&6
2022
2550
else
2029
2557
  IFS=$as_save_IFS
2030
2558
  test -z "$as_dir" && as_dir=.
2031
2559
  for ac_exec_ext in '' $ac_executable_extensions; do
2032
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2560
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2033
2561
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2034
2562
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2035
2563
    break 2
2036
2564
  fi
2037
2565
done
2038
2566
done
 
2567
IFS=$as_save_IFS
2039
2568
 
2040
2569
fi
2041
2570
fi
2042
2571
CC=$ac_cv_prog_CC
2043
2572
if test -n "$CC"; then
2044
 
  echo "$as_me:$LINENO: result: $CC" >&5
2045
 
echo "${ECHO_T}$CC" >&6
2046
 
else
2047
 
  echo "$as_me:$LINENO: result: no" >&5
2048
 
echo "${ECHO_T}no" >&6
2049
 
fi
2050
 
 
2051
 
fi
2052
 
if test -z "$ac_cv_prog_CC"; then
2053
 
  ac_ct_CC=$CC
2054
 
  # Extract the first word of "cc", so it can be a program name with args.
2055
 
set dummy cc; ac_word=$2
2056
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2057
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2060
 
else
2061
 
  if test -n "$ac_ct_CC"; then
2062
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2063
 
else
2064
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065
 
for as_dir in $PATH
2066
 
do
2067
 
  IFS=$as_save_IFS
2068
 
  test -z "$as_dir" && as_dir=.
2069
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2070
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071
 
    ac_cv_prog_ac_ct_CC="cc"
2072
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073
 
    break 2
 
2573
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2574
echo "${ECHO_T}$CC" >&6; }
 
2575
else
 
2576
  { echo "$as_me:$LINENO: result: no" >&5
 
2577
echo "${ECHO_T}no" >&6; }
 
2578
fi
 
2579
 
 
2580
 
2074
2581
  fi
2075
 
done
2076
 
done
2077
 
 
2078
 
fi
2079
 
fi
2080
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2081
 
if test -n "$ac_ct_CC"; then
2082
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2083
 
echo "${ECHO_T}$ac_ct_CC" >&6
2084
 
else
2085
 
  echo "$as_me:$LINENO: result: no" >&5
2086
 
echo "${ECHO_T}no" >&6
2087
 
fi
2088
 
 
2089
 
  CC=$ac_ct_CC
2090
 
else
2091
 
  CC="$ac_cv_prog_CC"
2092
 
fi
2093
 
 
2094
2582
fi
2095
2583
if test -z "$CC"; then
2096
2584
  # Extract the first word of "cc", so it can be a program name with args.
2097
2585
set dummy cc; ac_word=$2
2098
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2099
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2586
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2587
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2100
2588
if test "${ac_cv_prog_CC+set}" = set; then
2101
2589
  echo $ECHO_N "(cached) $ECHO_C" >&6
2102
2590
else
2110
2598
  IFS=$as_save_IFS
2111
2599
  test -z "$as_dir" && as_dir=.
2112
2600
  for ac_exec_ext in '' $ac_executable_extensions; do
2113
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114
2602
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2115
2603
       ac_prog_rejected=yes
2116
2604
       continue
2121
2609
  fi
2122
2610
done
2123
2611
done
 
2612
IFS=$as_save_IFS
2124
2613
 
2125
2614
if test $ac_prog_rejected = yes; then
2126
2615
  # We found a bogon in the path, so make sure we never use it.
2138
2627
fi
2139
2628
CC=$ac_cv_prog_CC
2140
2629
if test -n "$CC"; then
2141
 
  echo "$as_me:$LINENO: result: $CC" >&5
2142
 
echo "${ECHO_T}$CC" >&6
 
2630
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2631
echo "${ECHO_T}$CC" >&6; }
2143
2632
else
2144
 
  echo "$as_me:$LINENO: result: no" >&5
2145
 
echo "${ECHO_T}no" >&6
 
2633
  { echo "$as_me:$LINENO: result: no" >&5
 
2634
echo "${ECHO_T}no" >&6; }
2146
2635
fi
 
2636
 
2147
2637
 
2148
2638
fi
2149
2639
if test -z "$CC"; then
2150
2640
  if test -n "$ac_tool_prefix"; then
2151
 
  for ac_prog in cl
 
2641
  for ac_prog in cl.exe
2152
2642
  do
2153
2643
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2154
2644
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2155
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2156
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2645
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2157
2647
if test "${ac_cv_prog_CC+set}" = set; then
2158
2648
  echo $ECHO_N "(cached) $ECHO_C" >&6
2159
2649
else
2166
2656
  IFS=$as_save_IFS
2167
2657
  test -z "$as_dir" && as_dir=.
2168
2658
  for ac_exec_ext in '' $ac_executable_extensions; do
2169
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170
2660
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2171
2661
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172
2662
    break 2
2173
2663
  fi
2174
2664
done
2175
2665
done
 
2666
IFS=$as_save_IFS
2176
2667
 
2177
2668
fi
2178
2669
fi
2179
2670
CC=$ac_cv_prog_CC
2180
2671
if test -n "$CC"; then
2181
 
  echo "$as_me:$LINENO: result: $CC" >&5
2182
 
echo "${ECHO_T}$CC" >&6
 
2672
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2673
echo "${ECHO_T}$CC" >&6; }
2183
2674
else
2184
 
  echo "$as_me:$LINENO: result: no" >&5
2185
 
echo "${ECHO_T}no" >&6
 
2675
  { echo "$as_me:$LINENO: result: no" >&5
 
2676
echo "${ECHO_T}no" >&6; }
2186
2677
fi
2187
2678
 
 
2679
 
2188
2680
    test -n "$CC" && break
2189
2681
  done
2190
2682
fi
2191
2683
if test -z "$CC"; then
2192
2684
  ac_ct_CC=$CC
2193
 
  for ac_prog in cl
 
2685
  for ac_prog in cl.exe
2194
2686
do
2195
2687
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2196
2688
set dummy $ac_prog; ac_word=$2
2197
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2198
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2199
2691
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2200
2692
  echo $ECHO_N "(cached) $ECHO_C" >&6
2201
2693
else
2208
2700
  IFS=$as_save_IFS
2209
2701
  test -z "$as_dir" && as_dir=.
2210
2702
  for ac_exec_ext in '' $ac_executable_extensions; do
2211
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2703
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212
2704
    ac_cv_prog_ac_ct_CC="$ac_prog"
2213
2705
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214
2706
    break 2
2215
2707
  fi
2216
2708
done
2217
2709
done
 
2710
IFS=$as_save_IFS
2218
2711
 
2219
2712
fi
2220
2713
fi
2221
2714
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2222
2715
if test -n "$ac_ct_CC"; then
2223
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2716
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2717
echo "${ECHO_T}$ac_ct_CC" >&6; }
2225
2718
else
2226
 
  echo "$as_me:$LINENO: result: no" >&5
2227
 
echo "${ECHO_T}no" >&6
 
2719
  { echo "$as_me:$LINENO: result: no" >&5
 
2720
echo "${ECHO_T}no" >&6; }
2228
2721
fi
2229
2722
 
 
2723
 
2230
2724
  test -n "$ac_ct_CC" && break
2231
2725
done
2232
2726
 
2233
 
  CC=$ac_ct_CC
 
2727
  if test "x$ac_ct_CC" = x; then
 
2728
    CC=""
 
2729
  else
 
2730
    case $cross_compiling:$ac_tool_warned in
 
2731
yes:)
 
2732
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2733
whose name does not start with the host triplet.  If you think this
 
2734
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2735
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2736
whose name does not start with the host triplet.  If you think this
 
2737
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2738
ac_tool_warned=yes ;;
 
2739
esac
 
2740
    CC=$ac_ct_CC
 
2741
  fi
2234
2742
fi
2235
2743
 
2236
2744
fi
2243
2751
   { (exit 1); exit 1; }; }
2244
2752
 
2245
2753
# Provide some information about the compiler.
2246
 
echo "$as_me:$LINENO:" \
2247
 
     "checking for C compiler version" >&5
 
2754
echo "$as_me:$LINENO: checking for C compiler version" >&5
2248
2755
ac_compiler=`set X $ac_compile; echo $2`
2249
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2250
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2251
 
  ac_status=$?
2252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253
 
  (exit $ac_status); }
2254
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2255
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2256
 
  ac_status=$?
2257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258
 
  (exit $ac_status); }
2259
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2260
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2756
{ (ac_try="$ac_compiler --version >&5"
 
2757
case "(($ac_try" in
 
2758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2759
  *) ac_try_echo=$ac_try;;
 
2760
esac
 
2761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2762
  (eval "$ac_compiler --version >&5") 2>&5
 
2763
  ac_status=$?
 
2764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2765
  (exit $ac_status); }
 
2766
{ (ac_try="$ac_compiler -v >&5"
 
2767
case "(($ac_try" in
 
2768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2769
  *) ac_try_echo=$ac_try;;
 
2770
esac
 
2771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2772
  (eval "$ac_compiler -v >&5") 2>&5
 
2773
  ac_status=$?
 
2774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2775
  (exit $ac_status); }
 
2776
{ (ac_try="$ac_compiler -V >&5"
 
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_compiler -V >&5") 2>&5
2261
2783
  ac_status=$?
2262
2784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263
2785
  (exit $ac_status); }
2282
2804
# Try to create an executable without -o first, disregard a.out.
2283
2805
# It will help us diagnose broken compilers, and finding out an intuition
2284
2806
# of exeext.
2285
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2286
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2807
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2808
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2287
2809
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2288
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2289
 
  (eval $ac_link_default) 2>&5
 
2810
#
 
2811
# List of possible output files, starting from the most likely.
 
2812
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2813
# only as a last resort.  b.out is created by i960 compilers.
 
2814
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2815
#
 
2816
# The IRIX 6 linker writes into existing files which may not be
 
2817
# executable, retaining their permissions.  Remove them first so a
 
2818
# subsequent execution test works.
 
2819
ac_rmfiles=
 
2820
for ac_file in $ac_files
 
2821
do
 
2822
  case $ac_file in
 
2823
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2824
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2825
  esac
 
2826
done
 
2827
rm -f $ac_rmfiles
 
2828
 
 
2829
if { (ac_try="$ac_link_default"
 
2830
case "(($ac_try" in
 
2831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2832
  *) ac_try_echo=$ac_try;;
 
2833
esac
 
2834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2835
  (eval "$ac_link_default") 2>&5
2290
2836
  ac_status=$?
2291
2837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292
2838
  (exit $ac_status); }; then
2293
 
  # Find the output, starting from the most likely.  This scheme is
2294
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2295
 
# resort.
2296
 
 
2297
 
# Be careful to initialize this variable, since it used to be cached.
2298
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2299
 
ac_cv_exeext=
2300
 
# b.out is created by i960 compilers.
2301
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2839
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2840
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2841
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2842
# so that the user can short-circuit this test for compilers unknown to
 
2843
# Autoconf.
 
2844
for ac_file in $ac_files ''
2302
2845
do
2303
2846
  test -f "$ac_file" || continue
2304
2847
  case $ac_file in
2305
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2306
 
        ;;
2307
 
    conftest.$ac_ext )
2308
 
        # This is the source file.
 
2848
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2309
2849
        ;;
2310
2850
    [ab].out )
2311
2851
        # We found the default executable, but exeext='' is most
2312
2852
        # certainly right.
2313
2853
        break;;
2314
2854
    *.* )
2315
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2316
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2317
 
        # but it would be cool to find out if it's true.  Does anybody
2318
 
        # maintain Libtool? --akim.
2319
 
        export ac_cv_exeext
 
2855
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2856
        then :; else
 
2857
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2858
        fi
 
2859
        # We set ac_cv_exeext here because the later test for it is not
 
2860
        # safe: cross compilers may not add the suffix if given an `-o'
 
2861
        # argument, so we may need to know it at that point already.
 
2862
        # Even if this section looks crufty: it has the advantage of
 
2863
        # actually working.
2320
2864
        break;;
2321
2865
    * )
2322
2866
        break;;
2323
2867
  esac
2324
2868
done
 
2869
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2870
 
2325
2871
else
 
2872
  ac_file=''
 
2873
fi
 
2874
 
 
2875
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2876
echo "${ECHO_T}$ac_file" >&6; }
 
2877
if test -z "$ac_file"; then
2326
2878
  echo "$as_me: failed program was:" >&5
2327
2879
sed 's/^/| /' conftest.$ac_ext >&5
2328
2880
 
2334
2886
fi
2335
2887
 
2336
2888
ac_exeext=$ac_cv_exeext
2337
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2338
 
echo "${ECHO_T}$ac_file" >&6
2339
2889
 
2340
 
# Check the compiler produces executables we can run.  If not, either
 
2890
# Check that the compiler produces executables we can run.  If not, either
2341
2891
# the compiler is broken, or we cross compile.
2342
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2343
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2892
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2893
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2344
2894
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2345
2895
# If not cross compiling, check that we can run a simple program.
2346
2896
if test "$cross_compiling" != yes; then
2347
2897
  if { ac_try='./$ac_file'
2348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349
 
  (eval $ac_try) 2>&5
 
2898
  { (case "(($ac_try" in
 
2899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2900
  *) ac_try_echo=$ac_try;;
 
2901
esac
 
2902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2903
  (eval "$ac_try") 2>&5
2350
2904
  ac_status=$?
2351
2905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352
2906
  (exit $ac_status); }; }; then
2365
2919
    fi
2366
2920
  fi
2367
2921
fi
2368
 
echo "$as_me:$LINENO: result: yes" >&5
2369
 
echo "${ECHO_T}yes" >&6
 
2922
{ echo "$as_me:$LINENO: result: yes" >&5
 
2923
echo "${ECHO_T}yes" >&6; }
2370
2924
 
2371
2925
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2372
2926
ac_clean_files=$ac_clean_files_save
2373
 
# Check the compiler produces executables we can run.  If not, either
 
2927
# Check that the compiler produces executables we can run.  If not, either
2374
2928
# the compiler is broken, or we cross compile.
2375
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2376
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2377
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2378
 
echo "${ECHO_T}$cross_compiling" >&6
 
2929
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2930
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2931
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2932
echo "${ECHO_T}$cross_compiling" >&6; }
2379
2933
 
2380
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2381
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2382
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2383
 
  (eval $ac_link) 2>&5
 
2934
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2935
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2936
if { (ac_try="$ac_link"
 
2937
case "(($ac_try" in
 
2938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2939
  *) ac_try_echo=$ac_try;;
 
2940
esac
 
2941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2942
  (eval "$ac_link") 2>&5
2384
2943
  ac_status=$?
2385
2944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
2945
  (exit $ac_status); }; then
2391
2950
for ac_file in conftest.exe conftest conftest.*; do
2392
2951
  test -f "$ac_file" || continue
2393
2952
  case $ac_file in
2394
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2953
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2395
2954
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2396
 
          export ac_cv_exeext
2397
2955
          break;;
2398
2956
    * ) break;;
2399
2957
  esac
2407
2965
fi
2408
2966
 
2409
2967
rm -f conftest$ac_cv_exeext
2410
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2411
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2968
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2969
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2412
2970
 
2413
2971
rm -f conftest.$ac_ext
2414
2972
EXEEXT=$ac_cv_exeext
2415
2973
ac_exeext=$EXEEXT
2416
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2417
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2974
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2975
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2418
2976
if test "${ac_cv_objext+set}" = set; then
2419
2977
  echo $ECHO_N "(cached) $ECHO_C" >&6
2420
2978
else
2434
2992
}
2435
2993
_ACEOF
2436
2994
rm -f conftest.o conftest.obj
2437
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2438
 
  (eval $ac_compile) 2>&5
 
2995
if { (ac_try="$ac_compile"
 
2996
case "(($ac_try" in
 
2997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2998
  *) ac_try_echo=$ac_try;;
 
2999
esac
 
3000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3001
  (eval "$ac_compile") 2>&5
2439
3002
  ac_status=$?
2440
3003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441
3004
  (exit $ac_status); }; then
2442
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3005
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3006
  test -f "$ac_file" || continue;
2443
3007
  case $ac_file in
2444
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3008
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2445
3009
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2446
3010
       break;;
2447
3011
  esac
2459
3023
 
2460
3024
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2461
3025
fi
2462
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2463
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3026
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3027
echo "${ECHO_T}$ac_cv_objext" >&6; }
2464
3028
OBJEXT=$ac_cv_objext
2465
3029
ac_objext=$OBJEXT
2466
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2467
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3030
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3031
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2468
3032
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2469
3033
  echo $ECHO_N "(cached) $ECHO_C" >&6
2470
3034
else
2487
3051
}
2488
3052
_ACEOF
2489
3053
rm -f conftest.$ac_objext
2490
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491
 
  (eval $ac_compile) 2>conftest.er1
 
3054
if { (ac_try="$ac_compile"
 
3055
case "(($ac_try" in
 
3056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3057
  *) ac_try_echo=$ac_try;;
 
3058
esac
 
3059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3060
  (eval "$ac_compile") 2>conftest.er1
2492
3061
  ac_status=$?
2493
3062
  grep -v '^ *+' conftest.er1 >conftest.err
2494
3063
  rm -f conftest.er1
2495
3064
  cat conftest.err >&5
2496
3065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
 
  (exit $ac_status); } &&
2498
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2499
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500
 
  (eval $ac_try) 2>&5
2501
 
  ac_status=$?
2502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503
 
  (exit $ac_status); }; } &&
2504
 
         { ac_try='test -s conftest.$ac_objext'
2505
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506
 
  (eval $ac_try) 2>&5
2507
 
  ac_status=$?
2508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509
 
  (exit $ac_status); }; }; then
 
3066
  (exit $ac_status); } && {
 
3067
         test -z "$ac_c_werror_flag" ||
 
3068
         test ! -s conftest.err
 
3069
       } && test -s conftest.$ac_objext; then
2510
3070
  ac_compiler_gnu=yes
2511
3071
else
2512
3072
  echo "$as_me: failed program was:" >&5
2513
3073
sed 's/^/| /' conftest.$ac_ext >&5
2514
3074
 
2515
 
ac_compiler_gnu=no
 
3075
        ac_compiler_gnu=no
2516
3076
fi
2517
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3077
 
 
3078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2518
3079
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2519
3080
 
2520
3081
fi
2521
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2522
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3082
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3083
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2523
3084
GCC=`test $ac_compiler_gnu = yes && echo yes`
2524
3085
ac_test_CFLAGS=${CFLAGS+set}
2525
3086
ac_save_CFLAGS=$CFLAGS
2526
 
CFLAGS="-g"
2527
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2528
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3087
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3088
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2529
3089
if test "${ac_cv_prog_cc_g+set}" = set; then
2530
3090
  echo $ECHO_N "(cached) $ECHO_C" >&6
2531
3091
else
2532
 
  cat >conftest.$ac_ext <<_ACEOF
2533
 
/* confdefs.h.  */
2534
 
_ACEOF
2535
 
cat confdefs.h >>conftest.$ac_ext
2536
 
cat >>conftest.$ac_ext <<_ACEOF
2537
 
/* end confdefs.h.  */
2538
 
 
2539
 
int
2540
 
main ()
2541
 
{
2542
 
 
2543
 
  ;
2544
 
  return 0;
2545
 
}
2546
 
_ACEOF
2547
 
rm -f conftest.$ac_objext
2548
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549
 
  (eval $ac_compile) 2>conftest.er1
2550
 
  ac_status=$?
2551
 
  grep -v '^ *+' conftest.er1 >conftest.err
2552
 
  rm -f conftest.er1
2553
 
  cat conftest.err >&5
2554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
 
  (exit $ac_status); } &&
2556
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2557
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558
 
  (eval $ac_try) 2>&5
2559
 
  ac_status=$?
2560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
 
  (exit $ac_status); }; } &&
2562
 
         { ac_try='test -s conftest.$ac_objext'
2563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564
 
  (eval $ac_try) 2>&5
2565
 
  ac_status=$?
2566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567
 
  (exit $ac_status); }; }; then
2568
 
  ac_cv_prog_cc_g=yes
2569
 
else
2570
 
  echo "$as_me: failed program was:" >&5
2571
 
sed 's/^/| /' conftest.$ac_ext >&5
2572
 
 
2573
 
ac_cv_prog_cc_g=no
2574
 
fi
2575
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2576
 
fi
2577
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2578
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3092
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3093
   ac_c_werror_flag=yes
 
3094
   ac_cv_prog_cc_g=no
 
3095
   CFLAGS="-g"
 
3096
   cat >conftest.$ac_ext <<_ACEOF
 
3097
/* confdefs.h.  */
 
3098
_ACEOF
 
3099
cat confdefs.h >>conftest.$ac_ext
 
3100
cat >>conftest.$ac_ext <<_ACEOF
 
3101
/* end confdefs.h.  */
 
3102
 
 
3103
int
 
3104
main ()
 
3105
{
 
3106
 
 
3107
  ;
 
3108
  return 0;
 
3109
}
 
3110
_ACEOF
 
3111
rm -f conftest.$ac_objext
 
3112
if { (ac_try="$ac_compile"
 
3113
case "(($ac_try" in
 
3114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3115
  *) ac_try_echo=$ac_try;;
 
3116
esac
 
3117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3118
  (eval "$ac_compile") 2>conftest.er1
 
3119
  ac_status=$?
 
3120
  grep -v '^ *+' conftest.er1 >conftest.err
 
3121
  rm -f conftest.er1
 
3122
  cat conftest.err >&5
 
3123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3124
  (exit $ac_status); } && {
 
3125
         test -z "$ac_c_werror_flag" ||
 
3126
         test ! -s conftest.err
 
3127
       } && test -s conftest.$ac_objext; then
 
3128
  ac_cv_prog_cc_g=yes
 
3129
else
 
3130
  echo "$as_me: failed program was:" >&5
 
3131
sed 's/^/| /' conftest.$ac_ext >&5
 
3132
 
 
3133
        CFLAGS=""
 
3134
      cat >conftest.$ac_ext <<_ACEOF
 
3135
/* confdefs.h.  */
 
3136
_ACEOF
 
3137
cat confdefs.h >>conftest.$ac_ext
 
3138
cat >>conftest.$ac_ext <<_ACEOF
 
3139
/* end confdefs.h.  */
 
3140
 
 
3141
int
 
3142
main ()
 
3143
{
 
3144
 
 
3145
  ;
 
3146
  return 0;
 
3147
}
 
3148
_ACEOF
 
3149
rm -f conftest.$ac_objext
 
3150
if { (ac_try="$ac_compile"
 
3151
case "(($ac_try" in
 
3152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3153
  *) ac_try_echo=$ac_try;;
 
3154
esac
 
3155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3156
  (eval "$ac_compile") 2>conftest.er1
 
3157
  ac_status=$?
 
3158
  grep -v '^ *+' conftest.er1 >conftest.err
 
3159
  rm -f conftest.er1
 
3160
  cat conftest.err >&5
 
3161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3162
  (exit $ac_status); } && {
 
3163
         test -z "$ac_c_werror_flag" ||
 
3164
         test ! -s conftest.err
 
3165
       } && test -s conftest.$ac_objext; then
 
3166
  :
 
3167
else
 
3168
  echo "$as_me: failed program was:" >&5
 
3169
sed 's/^/| /' conftest.$ac_ext >&5
 
3170
 
 
3171
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3172
         CFLAGS="-g"
 
3173
         cat >conftest.$ac_ext <<_ACEOF
 
3174
/* confdefs.h.  */
 
3175
_ACEOF
 
3176
cat confdefs.h >>conftest.$ac_ext
 
3177
cat >>conftest.$ac_ext <<_ACEOF
 
3178
/* end confdefs.h.  */
 
3179
 
 
3180
int
 
3181
main ()
 
3182
{
 
3183
 
 
3184
  ;
 
3185
  return 0;
 
3186
}
 
3187
_ACEOF
 
3188
rm -f conftest.$ac_objext
 
3189
if { (ac_try="$ac_compile"
 
3190
case "(($ac_try" in
 
3191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3192
  *) ac_try_echo=$ac_try;;
 
3193
esac
 
3194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3195
  (eval "$ac_compile") 2>conftest.er1
 
3196
  ac_status=$?
 
3197
  grep -v '^ *+' conftest.er1 >conftest.err
 
3198
  rm -f conftest.er1
 
3199
  cat conftest.err >&5
 
3200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3201
  (exit $ac_status); } && {
 
3202
         test -z "$ac_c_werror_flag" ||
 
3203
         test ! -s conftest.err
 
3204
       } && test -s conftest.$ac_objext; then
 
3205
  ac_cv_prog_cc_g=yes
 
3206
else
 
3207
  echo "$as_me: failed program was:" >&5
 
3208
sed 's/^/| /' conftest.$ac_ext >&5
 
3209
 
 
3210
 
 
3211
fi
 
3212
 
 
3213
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3214
fi
 
3215
 
 
3216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3217
fi
 
3218
 
 
3219
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3220
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3221
fi
 
3222
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3223
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2579
3224
if test "$ac_test_CFLAGS" = set; then
2580
3225
  CFLAGS=$ac_save_CFLAGS
2581
3226
elif test $ac_cv_prog_cc_g = yes; then
2591
3236
    CFLAGS=
2592
3237
  fi
2593
3238
fi
2594
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2595
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2596
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3239
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3240
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3241
if test "${ac_cv_prog_cc_c89+set}" = set; then
2597
3242
  echo $ECHO_N "(cached) $ECHO_C" >&6
2598
3243
else
2599
 
  ac_cv_prog_cc_stdc=no
 
3244
  ac_cv_prog_cc_c89=no
2600
3245
ac_save_CC=$CC
2601
3246
cat >conftest.$ac_ext <<_ACEOF
2602
3247
/* confdefs.h.  */
2630
3275
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2631
3276
   function prototypes and stuff, but not '\xHH' hex character constants.
2632
3277
   These don't provoke an error unfortunately, instead are silently treated
2633
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3278
   as 'x'.  The following induces an error, until -std is added to get
2634
3279
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2635
3280
   array size at least.  It's necessary to write '\x00'==0 to get something
2636
 
   that's true only with -std1.  */
 
3281
   that's true only with -std.  */
2637
3282
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2638
3283
 
 
3284
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3285
   inside strings and character constants.  */
 
3286
#define FOO(x) 'x'
 
3287
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3288
 
2639
3289
int test (int i, double x);
2640
3290
struct s1 {int (*f) (int a);};
2641
3291
struct s2 {int (*f) (double a);};
2650
3300
  return 0;
2651
3301
}
2652
3302
_ACEOF
2653
 
# Don't try gcc -ansi; that turns off useful extensions and
2654
 
# breaks some systems' header files.
2655
 
# AIX                   -qlanglvl=ansi
2656
 
# Ultrix and OSF/1      -std1
2657
 
# HP-UX 10.20 and later -Ae
2658
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2659
 
# SVR4                  -Xc -D__EXTENSIONS__
2660
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3303
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3304
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2661
3305
do
2662
3306
  CC="$ac_save_CC $ac_arg"
2663
3307
  rm -f conftest.$ac_objext
2664
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665
 
  (eval $ac_compile) 2>conftest.er1
 
3308
if { (ac_try="$ac_compile"
 
3309
case "(($ac_try" in
 
3310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3311
  *) ac_try_echo=$ac_try;;
 
3312
esac
 
3313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3314
  (eval "$ac_compile") 2>conftest.er1
2666
3315
  ac_status=$?
2667
3316
  grep -v '^ *+' conftest.er1 >conftest.err
2668
3317
  rm -f conftest.er1
2669
3318
  cat conftest.err >&5
2670
3319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671
 
  (exit $ac_status); } &&
2672
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2673
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674
 
  (eval $ac_try) 2>&5
2675
 
  ac_status=$?
2676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677
 
  (exit $ac_status); }; } &&
2678
 
         { ac_try='test -s conftest.$ac_objext'
2679
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680
 
  (eval $ac_try) 2>&5
2681
 
  ac_status=$?
2682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
 
  (exit $ac_status); }; }; then
2684
 
  ac_cv_prog_cc_stdc=$ac_arg
2685
 
break
 
3320
  (exit $ac_status); } && {
 
3321
         test -z "$ac_c_werror_flag" ||
 
3322
         test ! -s conftest.err
 
3323
       } && test -s conftest.$ac_objext; then
 
3324
  ac_cv_prog_cc_c89=$ac_arg
2686
3325
else
2687
3326
  echo "$as_me: failed program was:" >&5
2688
3327
sed 's/^/| /' conftest.$ac_ext >&5
2689
3328
 
 
3329
 
2690
3330
fi
2691
 
rm -f conftest.err conftest.$ac_objext
 
3331
 
 
3332
rm -f core conftest.err conftest.$ac_objext
 
3333
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2692
3334
done
2693
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3335
rm -f conftest.$ac_ext
2694
3336
CC=$ac_save_CC
2695
3337
 
2696
3338
fi
2697
 
 
2698
 
case "x$ac_cv_prog_cc_stdc" in
2699
 
  x|xno)
2700
 
    echo "$as_me:$LINENO: result: none needed" >&5
2701
 
echo "${ECHO_T}none needed" >&6 ;;
 
3339
# AC_CACHE_VAL
 
3340
case "x$ac_cv_prog_cc_c89" in
 
3341
  x)
 
3342
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3343
echo "${ECHO_T}none needed" >&6; } ;;
 
3344
  xno)
 
3345
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3346
echo "${ECHO_T}unsupported" >&6; } ;;
2702
3347
  *)
2703
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2704
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2705
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3348
    CC="$CC $ac_cv_prog_cc_c89"
 
3349
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3350
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2706
3351
esac
2707
3352
 
2708
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2709
 
# in C++ we need to declare it.  In case someone uses the same compiler
2710
 
# for both compiling C and C++ we need to have the C++ compiler decide
2711
 
# the declaration of exit, since it's the most demanding environment.
2712
 
cat >conftest.$ac_ext <<_ACEOF
2713
 
#ifndef __cplusplus
2714
 
  choke me
2715
 
#endif
2716
 
_ACEOF
2717
 
rm -f conftest.$ac_objext
2718
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2719
 
  (eval $ac_compile) 2>conftest.er1
2720
 
  ac_status=$?
2721
 
  grep -v '^ *+' conftest.er1 >conftest.err
2722
 
  rm -f conftest.er1
2723
 
  cat conftest.err >&5
2724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
 
  (exit $ac_status); } &&
2726
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2727
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728
 
  (eval $ac_try) 2>&5
2729
 
  ac_status=$?
2730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
 
  (exit $ac_status); }; } &&
2732
 
         { ac_try='test -s conftest.$ac_objext'
2733
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734
 
  (eval $ac_try) 2>&5
2735
 
  ac_status=$?
2736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737
 
  (exit $ac_status); }; }; then
2738
 
  for ac_declaration in \
2739
 
   '' \
2740
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2741
 
   'extern "C" void std::exit (int); using std::exit;' \
2742
 
   'extern "C" void exit (int) throw ();' \
2743
 
   'extern "C" void exit (int);' \
2744
 
   'void exit (int);'
2745
 
do
2746
 
  cat >conftest.$ac_ext <<_ACEOF
2747
 
/* confdefs.h.  */
2748
 
_ACEOF
2749
 
cat confdefs.h >>conftest.$ac_ext
2750
 
cat >>conftest.$ac_ext <<_ACEOF
2751
 
/* end confdefs.h.  */
2752
 
$ac_declaration
2753
 
#include <stdlib.h>
2754
 
int
2755
 
main ()
2756
 
{
2757
 
exit (42);
2758
 
  ;
2759
 
  return 0;
2760
 
}
2761
 
_ACEOF
2762
 
rm -f conftest.$ac_objext
2763
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2764
 
  (eval $ac_compile) 2>conftest.er1
2765
 
  ac_status=$?
2766
 
  grep -v '^ *+' conftest.er1 >conftest.err
2767
 
  rm -f conftest.er1
2768
 
  cat conftest.err >&5
2769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
 
  (exit $ac_status); } &&
2771
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773
 
  (eval $ac_try) 2>&5
2774
 
  ac_status=$?
2775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
 
  (exit $ac_status); }; } &&
2777
 
         { ac_try='test -s conftest.$ac_objext'
2778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779
 
  (eval $ac_try) 2>&5
2780
 
  ac_status=$?
2781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
 
  (exit $ac_status); }; }; then
2783
 
  :
2784
 
else
2785
 
  echo "$as_me: failed program was:" >&5
2786
 
sed 's/^/| /' conftest.$ac_ext >&5
2787
 
 
2788
 
continue
2789
 
fi
2790
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2791
 
  cat >conftest.$ac_ext <<_ACEOF
2792
 
/* confdefs.h.  */
2793
 
_ACEOF
2794
 
cat confdefs.h >>conftest.$ac_ext
2795
 
cat >>conftest.$ac_ext <<_ACEOF
2796
 
/* end confdefs.h.  */
2797
 
$ac_declaration
2798
 
int
2799
 
main ()
2800
 
{
2801
 
exit (42);
2802
 
  ;
2803
 
  return 0;
2804
 
}
2805
 
_ACEOF
2806
 
rm -f conftest.$ac_objext
2807
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2808
 
  (eval $ac_compile) 2>conftest.er1
2809
 
  ac_status=$?
2810
 
  grep -v '^ *+' conftest.er1 >conftest.err
2811
 
  rm -f conftest.er1
2812
 
  cat conftest.err >&5
2813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814
 
  (exit $ac_status); } &&
2815
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817
 
  (eval $ac_try) 2>&5
2818
 
  ac_status=$?
2819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820
 
  (exit $ac_status); }; } &&
2821
 
         { ac_try='test -s conftest.$ac_objext'
2822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823
 
  (eval $ac_try) 2>&5
2824
 
  ac_status=$?
2825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
 
  (exit $ac_status); }; }; then
2827
 
  break
2828
 
else
2829
 
  echo "$as_me: failed program was:" >&5
2830
 
sed 's/^/| /' conftest.$ac_ext >&5
2831
 
 
2832
 
fi
2833
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2834
 
done
2835
 
rm -f conftest*
2836
 
if test -n "$ac_declaration"; then
2837
 
  echo '#ifdef __cplusplus' >>confdefs.h
2838
 
  echo $ac_declaration      >>confdefs.h
2839
 
  echo '#endif'             >>confdefs.h
2840
 
fi
2841
 
 
2842
 
else
2843
 
  echo "$as_me: failed program was:" >&5
2844
 
sed 's/^/| /' conftest.$ac_ext >&5
2845
 
 
2846
 
fi
2847
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3353
 
2848
3354
ac_ext=c
2849
3355
ac_cpp='$CPP $CPPFLAGS'
2850
3356
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2852
3358
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853
3359
DEPDIR="${am__leading_dot}deps"
2854
3360
 
2855
 
          ac_config_commands="$ac_config_commands depfiles"
 
3361
ac_config_commands="$ac_config_commands depfiles"
2856
3362
 
2857
3363
 
2858
3364
am_make=${MAKE-make}
2862
3368
.PHONY: am__doit
2863
3369
END
2864
3370
# If we don't find an include directive, just comment out the code.
2865
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2866
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3371
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3372
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2867
3373
am__include="#"
2868
3374
am__quote=
2869
3375
_am_result=none
2890
3396
fi
2891
3397
 
2892
3398
 
2893
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2894
 
echo "${ECHO_T}$_am_result" >&6
 
3399
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3400
echo "${ECHO_T}$_am_result" >&6; }
2895
3401
rm -f confinc confmf
2896
3402
 
2897
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3403
# Check whether --enable-dependency-tracking was given.
2898
3404
if test "${enable_dependency_tracking+set}" = set; then
2899
 
  enableval="$enable_dependency_tracking"
 
3405
  enableval=$enable_dependency_tracking;
 
3406
fi
2900
3407
 
2901
 
fi;
2902
3408
if test "x$enable_dependency_tracking" != xno; then
2903
3409
  am_depcomp="$ac_aux_dir/depcomp"
2904
3410
  AMDEPBACKSLASH='\'
2918
3424
 
2919
3425
depcc="$CC"   am_compiler_list=
2920
3426
 
2921
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2922
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3427
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3428
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2923
3429
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2924
3430
  echo $ECHO_N "(cached) $ECHO_C" >&6
2925
3431
else
3008
3514
fi
3009
3515
 
3010
3516
fi
3011
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3012
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3517
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3518
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3013
3519
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3014
3520
 
3015
3521
 
3040
3546
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041
3547
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042
3548
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3043
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3044
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3549
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3550
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3045
3551
# On Suns, sometimes $CPP names a directory.
3046
3552
if test -n "$CPP" && test -d "$CPP"; then
3047
3553
  CPP=
3075
3581
#endif
3076
3582
                     Syntax error
3077
3583
_ACEOF
3078
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3079
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3584
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3585
case "(($ac_try" in
 
3586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3587
  *) ac_try_echo=$ac_try;;
 
3588
esac
 
3589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3590
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3080
3591
  ac_status=$?
3081
3592
  grep -v '^ *+' conftest.er1 >conftest.err
3082
3593
  rm -f conftest.er1
3083
3594
  cat conftest.err >&5
3084
3595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085
 
  (exit $ac_status); } >/dev/null; then
3086
 
  if test -s conftest.err; then
3087
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3088
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3089
 
  else
3090
 
    ac_cpp_err=
3091
 
  fi
3092
 
else
3093
 
  ac_cpp_err=yes
3094
 
fi
3095
 
if test -z "$ac_cpp_err"; then
 
3596
  (exit $ac_status); } >/dev/null && {
 
3597
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3598
         test ! -s conftest.err
 
3599
       }; then
3096
3600
  :
3097
3601
else
3098
3602
  echo "$as_me: failed program was:" >&5
3101
3605
  # Broken: fails on valid input.
3102
3606
continue
3103
3607
fi
 
3608
 
3104
3609
rm -f conftest.err conftest.$ac_ext
3105
3610
 
3106
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3611
  # OK, works on sane cases.  Now check whether nonexistent headers
3107
3612
  # can be detected and how.
3108
3613
  cat >conftest.$ac_ext <<_ACEOF
3109
3614
/* confdefs.h.  */
3113
3618
/* end confdefs.h.  */
3114
3619
#include <ac_nonexistent.h>
3115
3620
_ACEOF
3116
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3117
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3621
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3622
case "(($ac_try" in
 
3623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3624
  *) ac_try_echo=$ac_try;;
 
3625
esac
 
3626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3627
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3118
3628
  ac_status=$?
3119
3629
  grep -v '^ *+' conftest.er1 >conftest.err
3120
3630
  rm -f conftest.er1
3121
3631
  cat conftest.err >&5
3122
3632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123
 
  (exit $ac_status); } >/dev/null; then
3124
 
  if test -s conftest.err; then
3125
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3126
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3127
 
  else
3128
 
    ac_cpp_err=
3129
 
  fi
3130
 
else
3131
 
  ac_cpp_err=yes
3132
 
fi
3133
 
if test -z "$ac_cpp_err"; then
 
3633
  (exit $ac_status); } >/dev/null && {
 
3634
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3635
         test ! -s conftest.err
 
3636
       }; then
3134
3637
  # Broken: success on invalid input.
3135
3638
continue
3136
3639
else
3141
3644
ac_preproc_ok=:
3142
3645
break
3143
3646
fi
 
3647
 
3144
3648
rm -f conftest.err conftest.$ac_ext
3145
3649
 
3146
3650
done
3158
3662
else
3159
3663
  ac_cv_prog_CPP=$CPP
3160
3664
fi
3161
 
echo "$as_me:$LINENO: result: $CPP" >&5
3162
 
echo "${ECHO_T}$CPP" >&6
 
3665
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3666
echo "${ECHO_T}$CPP" >&6; }
3163
3667
ac_preproc_ok=false
3164
3668
for ac_c_preproc_warn_flag in '' yes
3165
3669
do
3182
3686
#endif
3183
3687
                     Syntax error
3184
3688
_ACEOF
3185
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3186
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3689
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3690
case "(($ac_try" in
 
3691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3692
  *) ac_try_echo=$ac_try;;
 
3693
esac
 
3694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3695
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3187
3696
  ac_status=$?
3188
3697
  grep -v '^ *+' conftest.er1 >conftest.err
3189
3698
  rm -f conftest.er1
3190
3699
  cat conftest.err >&5
3191
3700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192
 
  (exit $ac_status); } >/dev/null; then
3193
 
  if test -s conftest.err; then
3194
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3195
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3196
 
  else
3197
 
    ac_cpp_err=
3198
 
  fi
3199
 
else
3200
 
  ac_cpp_err=yes
3201
 
fi
3202
 
if test -z "$ac_cpp_err"; then
 
3701
  (exit $ac_status); } >/dev/null && {
 
3702
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3703
         test ! -s conftest.err
 
3704
       }; then
3203
3705
  :
3204
3706
else
3205
3707
  echo "$as_me: failed program was:" >&5
3208
3710
  # Broken: fails on valid input.
3209
3711
continue
3210
3712
fi
 
3713
 
3211
3714
rm -f conftest.err conftest.$ac_ext
3212
3715
 
3213
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3716
  # OK, works on sane cases.  Now check whether nonexistent headers
3214
3717
  # can be detected and how.
3215
3718
  cat >conftest.$ac_ext <<_ACEOF
3216
3719
/* confdefs.h.  */
3220
3723
/* end confdefs.h.  */
3221
3724
#include <ac_nonexistent.h>
3222
3725
_ACEOF
3223
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3224
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3726
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3727
case "(($ac_try" in
 
3728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3729
  *) ac_try_echo=$ac_try;;
 
3730
esac
 
3731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3732
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3225
3733
  ac_status=$?
3226
3734
  grep -v '^ *+' conftest.er1 >conftest.err
3227
3735
  rm -f conftest.er1
3228
3736
  cat conftest.err >&5
3229
3737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230
 
  (exit $ac_status); } >/dev/null; then
3231
 
  if test -s conftest.err; then
3232
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3233
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3234
 
  else
3235
 
    ac_cpp_err=
3236
 
  fi
3237
 
else
3238
 
  ac_cpp_err=yes
3239
 
fi
3240
 
if test -z "$ac_cpp_err"; then
 
3738
  (exit $ac_status); } >/dev/null && {
 
3739
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3740
         test ! -s conftest.err
 
3741
       }; then
3241
3742
  # Broken: success on invalid input.
3242
3743
continue
3243
3744
else
3248
3749
ac_preproc_ok=:
3249
3750
break
3250
3751
fi
 
3752
 
3251
3753
rm -f conftest.err conftest.$ac_ext
3252
3754
 
3253
3755
done
3270
3772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271
3773
 
3272
3774
 
3273
 
echo "$as_me:$LINENO: checking for egrep" >&5
3274
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3275
 
if test "${ac_cv_prog_egrep+set}" = set; then
3276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3277
 
else
3278
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3279
 
    then ac_cv_prog_egrep='grep -E'
3280
 
    else ac_cv_prog_egrep='egrep'
3281
 
    fi
3282
 
fi
3283
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3284
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3285
 
 EGREP=$ac_cv_prog_egrep
3286
 
 
3287
 
 
3288
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3289
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3775
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3776
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3777
if test "${ac_cv_path_GREP+set}" = set; then
 
3778
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3779
else
 
3780
  # Extract the first word of "grep ggrep" to use in msg output
 
3781
if test -z "$GREP"; then
 
3782
set dummy grep ggrep; ac_prog_name=$2
 
3783
if test "${ac_cv_path_GREP+set}" = set; then
 
3784
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3785
else
 
3786
  ac_path_GREP_found=false
 
3787
# Loop through the user's path and test for each of PROGNAME-LIST
 
3788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3789
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3790
do
 
3791
  IFS=$as_save_IFS
 
3792
  test -z "$as_dir" && as_dir=.
 
3793
  for ac_prog in grep ggrep; do
 
3794
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3795
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3796
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3797
    # Check for GNU ac_path_GREP and select it if it is found.
 
3798
  # Check for GNU $ac_path_GREP
 
3799
case `"$ac_path_GREP" --version 2>&1` in
 
3800
*GNU*)
 
3801
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3802
*)
 
3803
  ac_count=0
 
3804
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3805
  while :
 
3806
  do
 
3807
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3808
    mv "conftest.tmp" "conftest.in"
 
3809
    cp "conftest.in" "conftest.nl"
 
3810
    echo 'GREP' >> "conftest.nl"
 
3811
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3812
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3813
    ac_count=`expr $ac_count + 1`
 
3814
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3815
      # Best one so far, save it but keep looking for a better one
 
3816
      ac_cv_path_GREP="$ac_path_GREP"
 
3817
      ac_path_GREP_max=$ac_count
 
3818
    fi
 
3819
    # 10*(2^10) chars as input seems more than enough
 
3820
    test $ac_count -gt 10 && break
 
3821
  done
 
3822
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3823
esac
 
3824
 
 
3825
 
 
3826
    $ac_path_GREP_found && break 3
 
3827
  done
 
3828
done
 
3829
 
 
3830
done
 
3831
IFS=$as_save_IFS
 
3832
 
 
3833
 
 
3834
fi
 
3835
 
 
3836
GREP="$ac_cv_path_GREP"
 
3837
if test -z "$GREP"; then
 
3838
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3839
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3840
   { (exit 1); exit 1; }; }
 
3841
fi
 
3842
 
 
3843
else
 
3844
  ac_cv_path_GREP=$GREP
 
3845
fi
 
3846
 
 
3847
 
 
3848
fi
 
3849
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3850
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3851
 GREP="$ac_cv_path_GREP"
 
3852
 
 
3853
 
 
3854
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3855
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3856
if test "${ac_cv_path_EGREP+set}" = set; then
 
3857
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3858
else
 
3859
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3860
   then ac_cv_path_EGREP="$GREP -E"
 
3861
   else
 
3862
     # Extract the first word of "egrep" to use in msg output
 
3863
if test -z "$EGREP"; then
 
3864
set dummy egrep; ac_prog_name=$2
 
3865
if test "${ac_cv_path_EGREP+set}" = set; then
 
3866
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3867
else
 
3868
  ac_path_EGREP_found=false
 
3869
# Loop through the user's path and test for each of PROGNAME-LIST
 
3870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3871
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3872
do
 
3873
  IFS=$as_save_IFS
 
3874
  test -z "$as_dir" && as_dir=.
 
3875
  for ac_prog in egrep; do
 
3876
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3877
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3878
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3879
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3880
  # Check for GNU $ac_path_EGREP
 
3881
case `"$ac_path_EGREP" --version 2>&1` in
 
3882
*GNU*)
 
3883
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3884
*)
 
3885
  ac_count=0
 
3886
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3887
  while :
 
3888
  do
 
3889
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3890
    mv "conftest.tmp" "conftest.in"
 
3891
    cp "conftest.in" "conftest.nl"
 
3892
    echo 'EGREP' >> "conftest.nl"
 
3893
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3894
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3895
    ac_count=`expr $ac_count + 1`
 
3896
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3897
      # Best one so far, save it but keep looking for a better one
 
3898
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3899
      ac_path_EGREP_max=$ac_count
 
3900
    fi
 
3901
    # 10*(2^10) chars as input seems more than enough
 
3902
    test $ac_count -gt 10 && break
 
3903
  done
 
3904
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3905
esac
 
3906
 
 
3907
 
 
3908
    $ac_path_EGREP_found && break 3
 
3909
  done
 
3910
done
 
3911
 
 
3912
done
 
3913
IFS=$as_save_IFS
 
3914
 
 
3915
 
 
3916
fi
 
3917
 
 
3918
EGREP="$ac_cv_path_EGREP"
 
3919
if test -z "$EGREP"; then
 
3920
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3921
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3922
   { (exit 1); exit 1; }; }
 
3923
fi
 
3924
 
 
3925
else
 
3926
  ac_cv_path_EGREP=$EGREP
 
3927
fi
 
3928
 
 
3929
 
 
3930
   fi
 
3931
fi
 
3932
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3933
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3934
 EGREP="$ac_cv_path_EGREP"
 
3935
 
 
3936
 
 
3937
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3938
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3290
3939
if test "${ac_cv_header_stdc+set}" = set; then
3291
3940
  echo $ECHO_N "(cached) $ECHO_C" >&6
3292
3941
else
3310
3959
}
3311
3960
_ACEOF
3312
3961
rm -f conftest.$ac_objext
3313
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314
 
  (eval $ac_compile) 2>conftest.er1
 
3962
if { (ac_try="$ac_compile"
 
3963
case "(($ac_try" in
 
3964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3965
  *) ac_try_echo=$ac_try;;
 
3966
esac
 
3967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3968
  (eval "$ac_compile") 2>conftest.er1
3315
3969
  ac_status=$?
3316
3970
  grep -v '^ *+' conftest.er1 >conftest.err
3317
3971
  rm -f conftest.er1
3318
3972
  cat conftest.err >&5
3319
3973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320
 
  (exit $ac_status); } &&
3321
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323
 
  (eval $ac_try) 2>&5
3324
 
  ac_status=$?
3325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326
 
  (exit $ac_status); }; } &&
3327
 
         { ac_try='test -s conftest.$ac_objext'
3328
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329
 
  (eval $ac_try) 2>&5
3330
 
  ac_status=$?
3331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332
 
  (exit $ac_status); }; }; then
 
3974
  (exit $ac_status); } && {
 
3975
         test -z "$ac_c_werror_flag" ||
 
3976
         test ! -s conftest.err
 
3977
       } && test -s conftest.$ac_objext; then
3333
3978
  ac_cv_header_stdc=yes
3334
3979
else
3335
3980
  echo "$as_me: failed program was:" >&5
3336
3981
sed 's/^/| /' conftest.$ac_ext >&5
3337
3982
 
3338
 
ac_cv_header_stdc=no
 
3983
        ac_cv_header_stdc=no
3339
3984
fi
3340
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3985
 
 
3986
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341
3987
 
3342
3988
if test $ac_cv_header_stdc = yes; then
3343
3989
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3393
4039
cat >>conftest.$ac_ext <<_ACEOF
3394
4040
/* end confdefs.h.  */
3395
4041
#include <ctype.h>
 
4042
#include <stdlib.h>
3396
4043
#if ((' ' & 0x0FF) == 0x020)
3397
4044
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3398
4045
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3412
4059
  for (i = 0; i < 256; i++)
3413
4060
    if (XOR (islower (i), ISLOWER (i))
3414
4061
        || toupper (i) != TOUPPER (i))
3415
 
      exit(2);
3416
 
  exit (0);
 
4062
      return 2;
 
4063
  return 0;
3417
4064
}
3418
4065
_ACEOF
3419
4066
rm -f conftest$ac_exeext
3420
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3421
 
  (eval $ac_link) 2>&5
 
4067
if { (ac_try="$ac_link"
 
4068
case "(($ac_try" in
 
4069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4070
  *) ac_try_echo=$ac_try;;
 
4071
esac
 
4072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4073
  (eval "$ac_link") 2>&5
3422
4074
  ac_status=$?
3423
4075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424
4076
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3425
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426
 
  (eval $ac_try) 2>&5
 
4077
  { (case "(($ac_try" in
 
4078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4079
  *) ac_try_echo=$ac_try;;
 
4080
esac
 
4081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4082
  (eval "$ac_try") 2>&5
3427
4083
  ac_status=$?
3428
4084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429
4085
  (exit $ac_status); }; }; then
3436
4092
( exit $ac_status )
3437
4093
ac_cv_header_stdc=no
3438
4094
fi
3439
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3440
 
fi
3441
 
fi
3442
 
fi
3443
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3444
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4095
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4096
fi
 
4097
 
 
4098
 
 
4099
fi
 
4100
fi
 
4101
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4102
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3445
4103
if test $ac_cv_header_stdc = yes; then
3446
4104
 
3447
4105
cat >>confdefs.h <<\_ACEOF
3464
4122
                  inttypes.h stdint.h unistd.h
3465
4123
do
3466
4124
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3467
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3468
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3469
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4125
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4126
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4127
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3470
4128
  echo $ECHO_N "(cached) $ECHO_C" >&6
3471
4129
else
3472
4130
  cat >conftest.$ac_ext <<_ACEOF
3480
4138
#include <$ac_header>
3481
4139
_ACEOF
3482
4140
rm -f conftest.$ac_objext
3483
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3484
 
  (eval $ac_compile) 2>conftest.er1
 
4141
if { (ac_try="$ac_compile"
 
4142
case "(($ac_try" in
 
4143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4144
  *) ac_try_echo=$ac_try;;
 
4145
esac
 
4146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4147
  (eval "$ac_compile") 2>conftest.er1
3485
4148
  ac_status=$?
3486
4149
  grep -v '^ *+' conftest.er1 >conftest.err
3487
4150
  rm -f conftest.er1
3488
4151
  cat conftest.err >&5
3489
4152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490
 
  (exit $ac_status); } &&
3491
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493
 
  (eval $ac_try) 2>&5
3494
 
  ac_status=$?
3495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496
 
  (exit $ac_status); }; } &&
3497
 
         { ac_try='test -s conftest.$ac_objext'
3498
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499
 
  (eval $ac_try) 2>&5
3500
 
  ac_status=$?
3501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502
 
  (exit $ac_status); }; }; then
 
4153
  (exit $ac_status); } && {
 
4154
         test -z "$ac_c_werror_flag" ||
 
4155
         test ! -s conftest.err
 
4156
       } && test -s conftest.$ac_objext; then
3503
4157
  eval "$as_ac_Header=yes"
3504
4158
else
3505
4159
  echo "$as_me: failed program was:" >&5
3506
4160
sed 's/^/| /' conftest.$ac_ext >&5
3507
4161
 
3508
 
eval "$as_ac_Header=no"
3509
 
fi
3510
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3511
 
fi
3512
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3513
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4162
        eval "$as_ac_Header=no"
 
4163
fi
 
4164
 
 
4165
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4166
fi
 
4167
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4168
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4169
echo "${ECHO_T}$ac_res" >&6; }
3514
4170
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3515
4171
  cat >>confdefs.h <<_ACEOF
3516
4172
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3526
4182
for ac_header in stdlib.h unistd.h
3527
4183
do
3528
4184
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3529
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3530
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
3531
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3532
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4185
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4186
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4187
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4188
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3533
4189
  echo $ECHO_N "(cached) $ECHO_C" >&6
3534
4190
fi
3535
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3536
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4191
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4192
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4193
echo "${ECHO_T}$ac_res" >&6; }
3537
4194
else
3538
4195
  # Is the header compilable?
3539
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3540
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
4196
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4197
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3541
4198
cat >conftest.$ac_ext <<_ACEOF
3542
4199
/* confdefs.h.  */
3543
4200
_ACEOF
3548
4205
#include <$ac_header>
3549
4206
_ACEOF
3550
4207
rm -f conftest.$ac_objext
3551
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3552
 
  (eval $ac_compile) 2>conftest.er1
 
4208
if { (ac_try="$ac_compile"
 
4209
case "(($ac_try" in
 
4210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4211
  *) ac_try_echo=$ac_try;;
 
4212
esac
 
4213
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4214
  (eval "$ac_compile") 2>conftest.er1
3553
4215
  ac_status=$?
3554
4216
  grep -v '^ *+' conftest.er1 >conftest.err
3555
4217
  rm -f conftest.er1
3556
4218
  cat conftest.err >&5
3557
4219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558
 
  (exit $ac_status); } &&
3559
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3560
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3561
 
  (eval $ac_try) 2>&5
3562
 
  ac_status=$?
3563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564
 
  (exit $ac_status); }; } &&
3565
 
         { ac_try='test -s conftest.$ac_objext'
3566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567
 
  (eval $ac_try) 2>&5
3568
 
  ac_status=$?
3569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570
 
  (exit $ac_status); }; }; then
 
4220
  (exit $ac_status); } && {
 
4221
         test -z "$ac_c_werror_flag" ||
 
4222
         test ! -s conftest.err
 
4223
       } && test -s conftest.$ac_objext; then
3571
4224
  ac_header_compiler=yes
3572
4225
else
3573
4226
  echo "$as_me: failed program was:" >&5
3574
4227
sed 's/^/| /' conftest.$ac_ext >&5
3575
4228
 
3576
 
ac_header_compiler=no
 
4229
        ac_header_compiler=no
3577
4230
fi
3578
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3579
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3580
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
4231
 
 
4232
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4233
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4234
echo "${ECHO_T}$ac_header_compiler" >&6; }
3581
4235
 
3582
4236
# Is the header present?
3583
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3584
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
4237
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4238
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3585
4239
cat >conftest.$ac_ext <<_ACEOF
3586
4240
/* confdefs.h.  */
3587
4241
_ACEOF
3590
4244
/* end confdefs.h.  */
3591
4245
#include <$ac_header>
3592
4246
_ACEOF
3593
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3594
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4247
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4248
case "(($ac_try" in
 
4249
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4250
  *) ac_try_echo=$ac_try;;
 
4251
esac
 
4252
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4253
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3595
4254
  ac_status=$?
3596
4255
  grep -v '^ *+' conftest.er1 >conftest.err
3597
4256
  rm -f conftest.er1
3598
4257
  cat conftest.err >&5
3599
4258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
 
  (exit $ac_status); } >/dev/null; then
3601
 
  if test -s conftest.err; then
3602
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3603
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3604
 
  else
3605
 
    ac_cpp_err=
3606
 
  fi
3607
 
else
3608
 
  ac_cpp_err=yes
3609
 
fi
3610
 
if test -z "$ac_cpp_err"; then
 
4259
  (exit $ac_status); } >/dev/null && {
 
4260
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4261
         test ! -s conftest.err
 
4262
       }; then
3611
4263
  ac_header_preproc=yes
3612
4264
else
3613
4265
  echo "$as_me: failed program was:" >&5
3615
4267
 
3616
4268
  ac_header_preproc=no
3617
4269
fi
 
4270
 
3618
4271
rm -f conftest.err conftest.$ac_ext
3619
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3620
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
4272
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4273
echo "${ECHO_T}$ac_header_preproc" >&6; }
3621
4274
 
3622
4275
# So?  What about this header?
3623
4276
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3641
4294
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3642
4295
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3643
4296
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3644
 
    (
3645
 
      cat <<\_ASBOX
3646
 
## ---------------------------------------- ##
3647
 
## Report this to the libatomic_ops lists.  ##
3648
 
## ---------------------------------------- ##
3649
 
_ASBOX
3650
 
    ) |
3651
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
4297
 
3652
4298
    ;;
3653
4299
esac
3654
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3655
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3656
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4300
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4301
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4302
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3657
4303
  echo $ECHO_N "(cached) $ECHO_C" >&6
3658
4304
else
3659
4305
  eval "$as_ac_Header=\$ac_header_preproc"
3660
4306
fi
3661
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3662
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4307
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4308
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4309
echo "${ECHO_T}$ac_res" >&6; }
3663
4310
 
3664
4311
fi
3665
4312
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3675
4322
for ac_func in getpagesize
3676
4323
do
3677
4324
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3678
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3679
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3680
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
4325
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4326
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
4327
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3681
4328
  echo $ECHO_N "(cached) $ECHO_C" >&6
3682
4329
else
3683
4330
  cat >conftest.$ac_ext <<_ACEOF
3703
4350
 
3704
4351
#undef $ac_func
3705
4352
 
3706
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4353
/* Override any GCC internal prototype to avoid an error.
 
4354
   Use char because int might match the return type of a GCC
 
4355
   builtin and then its argument prototype would still apply.  */
3707
4356
#ifdef __cplusplus
3708
4357
extern "C"
3709
 
{
3710
4358
#endif
3711
 
/* We use char because int might match the return type of a gcc2
3712
 
   builtin and then its argument prototype would still apply.  */
3713
4359
char $ac_func ();
3714
4360
/* The GNU C library defines this for functions which it implements
3715
4361
    to always fail with ENOSYS.  Some functions are actually named
3716
4362
    something starting with __ and the normal name is an alias.  */
3717
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
4363
#if defined __stub_$ac_func || defined __stub___$ac_func
3718
4364
choke me
3719
 
#else
3720
 
char (*f) () = $ac_func;
3721
 
#endif
3722
 
#ifdef __cplusplus
3723
 
}
3724
4365
#endif
3725
4366
 
3726
4367
int
3727
4368
main ()
3728
4369
{
3729
 
return f != $ac_func;
 
4370
return $ac_func ();
3730
4371
  ;
3731
4372
  return 0;
3732
4373
}
3733
4374
_ACEOF
3734
4375
rm -f conftest.$ac_objext conftest$ac_exeext
3735
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3736
 
  (eval $ac_link) 2>conftest.er1
 
4376
if { (ac_try="$ac_link"
 
4377
case "(($ac_try" in
 
4378
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4379
  *) ac_try_echo=$ac_try;;
 
4380
esac
 
4381
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4382
  (eval "$ac_link") 2>conftest.er1
3737
4383
  ac_status=$?
3738
4384
  grep -v '^ *+' conftest.er1 >conftest.err
3739
4385
  rm -f conftest.er1
3740
4386
  cat conftest.err >&5
3741
4387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742
 
  (exit $ac_status); } &&
3743
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745
 
  (eval $ac_try) 2>&5
3746
 
  ac_status=$?
3747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748
 
  (exit $ac_status); }; } &&
3749
 
         { ac_try='test -s conftest$ac_exeext'
3750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751
 
  (eval $ac_try) 2>&5
3752
 
  ac_status=$?
3753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754
 
  (exit $ac_status); }; }; then
 
4388
  (exit $ac_status); } && {
 
4389
         test -z "$ac_c_werror_flag" ||
 
4390
         test ! -s conftest.err
 
4391
       } && test -s conftest$ac_exeext &&
 
4392
       $as_test_x conftest$ac_exeext; then
3755
4393
  eval "$as_ac_var=yes"
3756
4394
else
3757
4395
  echo "$as_me: failed program was:" >&5
3758
4396
sed 's/^/| /' conftest.$ac_ext >&5
3759
4397
 
3760
 
eval "$as_ac_var=no"
 
4398
        eval "$as_ac_var=no"
3761
4399
fi
3762
 
rm -f conftest.err conftest.$ac_objext \
 
4400
 
 
4401
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3763
4402
      conftest$ac_exeext conftest.$ac_ext
3764
4403
fi
3765
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3766
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
4404
ac_res=`eval echo '${'$as_ac_var'}'`
 
4405
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4406
echo "${ECHO_T}$ac_res" >&6; }
3767
4407
if test `eval echo '${'$as_ac_var'}'` = yes; then
3768
4408
  cat >>confdefs.h <<_ACEOF
3769
4409
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3772
4412
fi
3773
4413
done
3774
4414
 
3775
 
echo "$as_me:$LINENO: checking for working mmap" >&5
3776
 
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
 
4415
{ echo "$as_me:$LINENO: checking for working mmap" >&5
 
4416
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
3777
4417
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3778
4418
  echo $ECHO_N "(cached) $ECHO_C" >&6
3779
4419
else
3815
4455
#include <fcntl.h>
3816
4456
#include <sys/mman.h>
3817
4457
 
3818
 
#if !STDC_HEADERS && !HAVE_STDLIB_H
 
4458
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
3819
4459
char *malloc ();
3820
4460
#endif
3821
4461
 
3822
4462
/* This mess was copied from the GNU getpagesize.h.  */
3823
 
#if !HAVE_GETPAGESIZE
 
4463
#ifndef HAVE_GETPAGESIZE
3824
4464
/* Assume that all systems that can run configure have sys/param.h.  */
3825
 
# if !HAVE_SYS_PARAM_H
 
4465
# ifndef HAVE_SYS_PARAM_H
3826
4466
#  define HAVE_SYS_PARAM_H 1
3827
4467
# endif
3828
4468
 
3829
4469
# ifdef _SC_PAGESIZE
3830
4470
#  define getpagesize() sysconf(_SC_PAGESIZE)
3831
4471
# else /* no _SC_PAGESIZE */
3832
 
#  if HAVE_SYS_PARAM_H
 
4472
#  ifdef HAVE_SYS_PARAM_H
3833
4473
#   include <sys/param.h>
3834
4474
#   ifdef EXEC_PAGESIZE
3835
4475
#    define getpagesize() EXEC_PAGESIZE
3868
4508
  /* First, make a file with some known garbage in it. */
3869
4509
  data = (char *) malloc (pagesize);
3870
4510
  if (!data)
3871
 
    exit (1);
 
4511
    return 1;
3872
4512
  for (i = 0; i < pagesize; ++i)
3873
4513
    *(data + i) = rand ();
3874
4514
  umask (0);
3875
4515
  fd = creat ("conftest.mmap", 0600);
3876
4516
  if (fd < 0)
3877
 
    exit (1);
 
4517
    return 1;
3878
4518
  if (write (fd, data, pagesize) != pagesize)
3879
 
    exit (1);
 
4519
    return 1;
3880
4520
  close (fd);
3881
4521
 
3882
4522
  /* Next, try to mmap the file at a fixed address which already has
3884
4524
     we see the same garbage.  */
3885
4525
  fd = open ("conftest.mmap", O_RDWR);
3886
4526
  if (fd < 0)
3887
 
    exit (1);
 
4527
    return 1;
3888
4528
  data2 = (char *) malloc (2 * pagesize);
3889
4529
  if (!data2)
3890
 
    exit (1);
3891
 
  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
 
4530
    return 1;
 
4531
  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
3892
4532
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3893
4533
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
3894
 
    exit (1);
 
4534
    return 1;
3895
4535
  for (i = 0; i < pagesize; ++i)
3896
4536
    if (*(data + i) != *(data2 + i))
3897
 
      exit (1);
 
4537
      return 1;
3898
4538
 
3899
4539
  /* Finally, make sure that changes to the mapped area do not
3900
4540
     percolate back to the file as seen by read().  (This is a bug on
3903
4543
    *(data2 + i) = *(data2 + i) + 1;
3904
4544
  data3 = (char *) malloc (pagesize);
3905
4545
  if (!data3)
3906
 
    exit (1);
 
4546
    return 1;
3907
4547
  if (read (fd, data3, pagesize) != pagesize)
3908
 
    exit (1);
 
4548
    return 1;
3909
4549
  for (i = 0; i < pagesize; ++i)
3910
4550
    if (*(data + i) != *(data3 + i))
3911
 
      exit (1);
 
4551
      return 1;
3912
4552
  close (fd);
3913
 
  exit (0);
 
4553
  return 0;
3914
4554
}
3915
4555
_ACEOF
3916
4556
rm -f conftest$ac_exeext
3917
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3918
 
  (eval $ac_link) 2>&5
 
4557
if { (ac_try="$ac_link"
 
4558
case "(($ac_try" in
 
4559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4560
  *) ac_try_echo=$ac_try;;
 
4561
esac
 
4562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4563
  (eval "$ac_link") 2>&5
3919
4564
  ac_status=$?
3920
4565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921
4566
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923
 
  (eval $ac_try) 2>&5
 
4567
  { (case "(($ac_try" in
 
4568
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4569
  *) ac_try_echo=$ac_try;;
 
4570
esac
 
4571
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4572
  (eval "$ac_try") 2>&5
3924
4573
  ac_status=$?
3925
4574
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926
4575
  (exit $ac_status); }; }; then
3933
4582
( exit $ac_status )
3934
4583
ac_cv_func_mmap_fixed_mapped=no
3935
4584
fi
3936
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3937
 
fi
3938
 
fi
3939
 
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3940
 
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
 
4585
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4586
fi
 
4587
 
 
4588
 
 
4589
fi
 
4590
{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
4591
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
3941
4592
if test $ac_cv_func_mmap_fixed_mapped = yes; then
3942
4593
 
3943
4594
cat >>confdefs.h <<\_ACEOF
3949
4600
 
3950
4601
 
3951
4602
# Checks for header files.
3952
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3953
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4603
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4604
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3954
4605
if test "${ac_cv_header_stdc+set}" = set; then
3955
4606
  echo $ECHO_N "(cached) $ECHO_C" >&6
3956
4607
else
3974
4625
}
3975
4626
_ACEOF
3976
4627
rm -f conftest.$ac_objext
3977
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3978
 
  (eval $ac_compile) 2>conftest.er1
 
4628
if { (ac_try="$ac_compile"
 
4629
case "(($ac_try" in
 
4630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4631
  *) ac_try_echo=$ac_try;;
 
4632
esac
 
4633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4634
  (eval "$ac_compile") 2>conftest.er1
3979
4635
  ac_status=$?
3980
4636
  grep -v '^ *+' conftest.er1 >conftest.err
3981
4637
  rm -f conftest.er1
3982
4638
  cat conftest.err >&5
3983
4639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984
 
  (exit $ac_status); } &&
3985
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987
 
  (eval $ac_try) 2>&5
3988
 
  ac_status=$?
3989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990
 
  (exit $ac_status); }; } &&
3991
 
         { ac_try='test -s conftest.$ac_objext'
3992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993
 
  (eval $ac_try) 2>&5
3994
 
  ac_status=$?
3995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996
 
  (exit $ac_status); }; }; then
 
4640
  (exit $ac_status); } && {
 
4641
         test -z "$ac_c_werror_flag" ||
 
4642
         test ! -s conftest.err
 
4643
       } && test -s conftest.$ac_objext; then
3997
4644
  ac_cv_header_stdc=yes
3998
4645
else
3999
4646
  echo "$as_me: failed program was:" >&5
4000
4647
sed 's/^/| /' conftest.$ac_ext >&5
4001
4648
 
4002
 
ac_cv_header_stdc=no
 
4649
        ac_cv_header_stdc=no
4003
4650
fi
4004
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4651
 
 
4652
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005
4653
 
4006
4654
if test $ac_cv_header_stdc = yes; then
4007
4655
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4057
4705
cat >>conftest.$ac_ext <<_ACEOF
4058
4706
/* end confdefs.h.  */
4059
4707
#include <ctype.h>
 
4708
#include <stdlib.h>
4060
4709
#if ((' ' & 0x0FF) == 0x020)
4061
4710
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4062
4711
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4076
4725
  for (i = 0; i < 256; i++)
4077
4726
    if (XOR (islower (i), ISLOWER (i))
4078
4727
        || toupper (i) != TOUPPER (i))
4079
 
      exit(2);
4080
 
  exit (0);
 
4728
      return 2;
 
4729
  return 0;
4081
4730
}
4082
4731
_ACEOF
4083
4732
rm -f conftest$ac_exeext
4084
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4085
 
  (eval $ac_link) 2>&5
 
4733
if { (ac_try="$ac_link"
 
4734
case "(($ac_try" in
 
4735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4736
  *) ac_try_echo=$ac_try;;
 
4737
esac
 
4738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4739
  (eval "$ac_link") 2>&5
4086
4740
  ac_status=$?
4087
4741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088
4742
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4089
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090
 
  (eval $ac_try) 2>&5
 
4743
  { (case "(($ac_try" in
 
4744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4745
  *) ac_try_echo=$ac_try;;
 
4746
esac
 
4747
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4748
  (eval "$ac_try") 2>&5
4091
4749
  ac_status=$?
4092
4750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093
4751
  (exit $ac_status); }; }; then
4100
4758
( exit $ac_status )
4101
4759
ac_cv_header_stdc=no
4102
4760
fi
4103
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4104
 
fi
4105
 
fi
4106
 
fi
4107
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4108
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4761
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4762
fi
 
4763
 
 
4764
 
 
4765
fi
 
4766
fi
 
4767
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4768
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4109
4769
if test $ac_cv_header_stdc = yes; then
4110
4770
 
4111
4771
cat >>confdefs.h <<\_ACEOF
4119
4779
# Determine PIC flag, adjust default CFLAGS
4120
4780
need_asm=false
4121
4781
PICFLAG=
4122
 
echo "$as_me:$LINENO: checking Determining PIC compiler flag" >&5
4123
 
echo $ECHO_N "checking Determining PIC compiler flag... $ECHO_C" >&6
 
4782
{ echo "$as_me:$LINENO: checking Determining PIC compiler flag" >&5
 
4783
echo $ECHO_N "checking Determining PIC compiler flag... $ECHO_C" >&6; }
4124
4784
if test "$GCC" = yes; then
4125
 
  echo "$as_me:$LINENO: result: -fPIC" >&5
4126
 
echo "${ECHO_T}-fPIC" >&6
 
4785
  { echo "$as_me:$LINENO: result: -fPIC" >&5
 
4786
echo "${ECHO_T}-fPIC" >&6; }
4127
4787
  PICFLAG=-fPIC
4128
4788
else
4129
4789
  case "$host" in
4130
4790
    *-*-hpux*)
4131
 
      echo "$as_me:$LINENO: result: \"+Z\"" >&5
4132
 
echo "${ECHO_T}\"+Z\"" >&6
 
4791
      { echo "$as_me:$LINENO: result: \"+Z\"" >&5
 
4792
echo "${ECHO_T}\"+Z\"" >&6; }
4133
4793
      PICFLAG="+Z"
4134
4794
      if test "$GCC" != yes; then
4135
4795
        CFLAGS="$CFLAGS +O2 -mt"
4136
4796
      fi
4137
4797
      ;;
4138
4798
    *-*-solaris*)
4139
 
      echo "$as_me:$LINENO: result: -Kpic" >&5
4140
 
echo "${ECHO_T}-Kpic" >&6
 
4799
      { echo "$as_me:$LINENO: result: -Kpic" >&5
 
4800
echo "${ECHO_T}-Kpic" >&6; }
4141
4801
      PICFLAG=-Kpic
4142
4802
      if test "$GCC" != yes; then
4143
4803
        CFLAGS="$CFLAGS -O"
4145
4805
      fi
4146
4806
      ;;
4147
4807
    *-*-linux*)
4148
 
      echo "$as_me:$LINENO: result: -fPIC" >&5
4149
 
echo "${ECHO_T}-fPIC" >&6
 
4808
      { echo "$as_me:$LINENO: result: -fPIC" >&5
 
4809
echo "${ECHO_T}-fPIC" >&6; }
4150
4810
      PICFLAG=-fPIC
4151
4811
      # Any Linux compiler had better be gcc compatible.
4152
4812
      ;;
4153
4813
    *)
4154
 
      echo "$as_me:$LINENO: result: \"<none>\"" >&5
4155
 
echo "${ECHO_T}\"<none>\"" >&6
 
4814
      { echo "$as_me:$LINENO: result: \"<none>\"" >&5
 
4815
echo "${ECHO_T}\"<none>\"" >&6; }
4156
4816
      ;;
4157
4817
  esac
4158
4818
fi
4172
4832
fi
4173
4833
 
4174
4834
 
4175
 
                                                            ac_config_files="$ac_config_files Makefile src/Makefile src/atomic_ops/Makefile src/atomic_ops/sysdeps/Makefile doc/Makefile tests/Makefile"
 
4835
ac_config_files="$ac_config_files Makefile src/Makefile src/atomic_ops/Makefile src/atomic_ops/sysdeps/Makefile doc/Makefile tests/Makefile"
4176
4836
 
4177
 
          ac_config_commands="$ac_config_commands default"
 
4837
ac_config_commands="$ac_config_commands default"
4178
4838
 
4179
4839
cat >confcache <<\_ACEOF
4180
4840
# This file is a shell script that caches the results of configure
4194
4854
 
4195
4855
# The following way of writing the cache mishandles newlines in values,
4196
4856
# but we know of no workaround that is simple, portable, and efficient.
4197
 
# So, don't put newlines in cache variables' values.
 
4857
# So, we kill variables containing newlines.
4198
4858
# Ultrix sh set writes to stderr and can't be redirected directly,
4199
4859
# and sets the high bit in the cache file unless we assign to the vars.
4200
 
{
 
4860
(
 
4861
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
4862
    eval ac_val=\$$ac_var
 
4863
    case $ac_val in #(
 
4864
    *${as_nl}*)
 
4865
      case $ac_var in #(
 
4866
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
4867
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
4868
      esac
 
4869
      case $ac_var in #(
 
4870
      _ | IFS | as_nl) ;; #(
 
4871
      *) $as_unset $ac_var ;;
 
4872
      esac ;;
 
4873
    esac
 
4874
  done
 
4875
 
4201
4876
  (set) 2>&1 |
4202
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4203
 
    *ac_space=\ *)
 
4877
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
4878
    *${as_nl}ac_space=\ *)
4204
4879
      # `set' does not quote correctly, so add quotes (double-quote
4205
4880
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4206
4881
      sed -n \
4207
4882
        "s/'/'\\\\''/g;
4208
4883
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4209
 
      ;;
 
4884
      ;; #(
4210
4885
    *)
4211
4886
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4212
 
      sed -n \
4213
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4887
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4214
4888
      ;;
4215
 
    esac;
4216
 
} |
 
4889
    esac |
 
4890
    sort
 
4891
) |
4217
4892
  sed '
 
4893
     /^ac_cv_env_/b end
4218
4894
     t clear
4219
 
     : clear
 
4895
     :clear
4220
4896
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4221
4897
     t end
4222
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4223
 
     : end' >>confcache
4224
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4225
 
  if test -w $cache_file; then
4226
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
4898
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4899
     :end' >>confcache
 
4900
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
4901
  if test -w "$cache_file"; then
 
4902
    test "x$cache_file" != "x/dev/null" &&
 
4903
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4904
echo "$as_me: updating cache $cache_file" >&6;}
4227
4905
    cat confcache >$cache_file
4228
4906
  else
4229
 
    echo "not updating unwritable cache $cache_file"
 
4907
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4908
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4230
4909
  fi
4231
4910
fi
4232
4911
rm -f confcache
4235
4914
# Let make expand exec_prefix.
4236
4915
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4237
4916
 
4238
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4239
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4240
 
# trailing colons and then remove the whole line if VPATH becomes empty
4241
 
# (actually we leave an empty line to preserve line numbers).
4242
 
if test "x$srcdir" = x.; then
4243
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4244
 
s/:*\$(srcdir):*/:/;
4245
 
s/:*\${srcdir}:*/:/;
4246
 
s/:*@srcdir@:*/:/;
4247
 
s/^\([^=]*=[     ]*\):*/\1/;
4248
 
s/:*$//;
4249
 
s/^[^=]*=[       ]*$//;
4250
 
}'
4251
 
fi
4252
 
 
4253
4917
DEFS=-DHAVE_CONFIG_H
4254
4918
 
4255
4919
ac_libobjs=
4256
4920
ac_ltlibobjs=
4257
4921
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4258
4922
  # 1. Remove the extension, and $U if already installed.
4259
 
  ac_i=`echo "$ac_i" |
4260
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4261
 
  # 2. Add them.
4262
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4263
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
4923
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
4924
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
4925
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
4926
  #    will be set to the directory where LIBOBJS objects are built.
 
4927
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4928
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4264
4929
done
4265
4930
LIBOBJS=$ac_libobjs
4266
4931
 
4312
4977
## M4sh Initialization.  ##
4313
4978
## --------------------- ##
4314
4979
 
4315
 
# Be Bourne compatible
 
4980
# Be more Bourne compatible
 
4981
DUALCASE=1; export DUALCASE # for MKS sh
4316
4982
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4317
4983
  emulate sh
4318
4984
  NULLCMD=:
4319
4985
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4320
4986
  # is contrary to our usage.  Disable this feature.
4321
4987
  alias -g '${1+"$@"}'='"$@"'
4322
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4323
 
  set -o posix
4324
 
fi
4325
 
DUALCASE=1; export DUALCASE # for MKS sh
 
4988
  setopt NO_GLOB_SUBST
 
4989
else
 
4990
  case `(set -o) 2>/dev/null` in
 
4991
  *posix*) set -o posix ;;
 
4992
esac
 
4993
 
 
4994
fi
 
4995
 
 
4996
 
 
4997
 
 
4998
 
 
4999
# PATH needs CR
 
5000
# Avoid depending upon Character Ranges.
 
5001
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5002
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5003
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5004
as_cr_digits='0123456789'
 
5005
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
5006
 
 
5007
# The user is always right.
 
5008
if test "${PATH_SEPARATOR+set}" != set; then
 
5009
  echo "#! /bin/sh" >conf$$.sh
 
5010
  echo  "exit 0"   >>conf$$.sh
 
5011
  chmod +x conf$$.sh
 
5012
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
5013
    PATH_SEPARATOR=';'
 
5014
  else
 
5015
    PATH_SEPARATOR=:
 
5016
  fi
 
5017
  rm -f conf$$.sh
 
5018
fi
4326
5019
 
4327
5020
# Support unset when possible.
4328
5021
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4332
5025
fi
4333
5026
 
4334
5027
 
 
5028
# IFS
 
5029
# We need space, tab and new line, in precisely that order.  Quoting is
 
5030
# there to prevent editors from complaining about space-tab.
 
5031
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
5032
# splitting by setting IFS to empty value.)
 
5033
as_nl='
 
5034
'
 
5035
IFS=" ""        $as_nl"
 
5036
 
 
5037
# Find who we are.  Look in the path if we contain no directory separator.
 
5038
case $0 in
 
5039
  *[\\/]* ) as_myself=$0 ;;
 
5040
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5041
for as_dir in $PATH
 
5042
do
 
5043
  IFS=$as_save_IFS
 
5044
  test -z "$as_dir" && as_dir=.
 
5045
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5046
done
 
5047
IFS=$as_save_IFS
 
5048
 
 
5049
     ;;
 
5050
esac
 
5051
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
5052
# in which case we are not to be found in the path.
 
5053
if test "x$as_myself" = x; then
 
5054
  as_myself=$0
 
5055
fi
 
5056
if test ! -f "$as_myself"; then
 
5057
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5058
  { (exit 1); exit 1; }
 
5059
fi
 
5060
 
4335
5061
# Work around bugs in pre-3.0 UWIN ksh.
4336
 
$as_unset ENV MAIL MAILPATH
 
5062
for as_var in ENV MAIL MAILPATH
 
5063
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5064
done
4337
5065
PS1='$ '
4338
5066
PS2='> '
4339
5067
PS4='+ '
4347
5075
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4348
5076
    eval $as_var=C; export $as_var
4349
5077
  else
4350
 
    $as_unset $as_var
 
5078
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4351
5079
  fi
4352
5080
done
4353
5081
 
4354
5082
# Required to use basename.
4355
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5083
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
5084
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4356
5085
  as_expr=expr
4357
5086
else
4358
5087
  as_expr=false
4359
5088
fi
4360
5089
 
4361
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
5090
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4362
5091
  as_basename=basename
4363
5092
else
4364
5093
  as_basename=false
4366
5095
 
4367
5096
 
4368
5097
# Name of the executable.
4369
 
as_me=`$as_basename "$0" ||
 
5098
as_me=`$as_basename -- "$0" ||
4370
5099
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4371
5100
         X"$0" : 'X\(//\)$' \| \
4372
 
         X"$0" : 'X\(/\)$' \| \
4373
 
         .     : '\(.\)' 2>/dev/null ||
 
5101
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4374
5102
echo X/"$0" |
4375
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4376
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
4377
 
          /^X\/\(\/\).*/{ s//\1/; q; }
4378
 
          s/.*/./; q'`
4379
 
 
4380
 
 
4381
 
# PATH needs CR, and LINENO needs CR and PATH.
4382
 
# Avoid depending upon Character Ranges.
4383
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4384
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4385
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4386
 
as_cr_digits='0123456789'
4387
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
4388
 
 
4389
 
# The user is always right.
4390
 
if test "${PATH_SEPARATOR+set}" != set; then
4391
 
  echo "#! /bin/sh" >conf$$.sh
4392
 
  echo  "exit 0"   >>conf$$.sh
4393
 
  chmod +x conf$$.sh
4394
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4395
 
    PATH_SEPARATOR=';'
4396
 
  else
4397
 
    PATH_SEPARATOR=:
4398
 
  fi
4399
 
  rm -f conf$$.sh
4400
 
fi
4401
 
 
4402
 
 
4403
 
  as_lineno_1=$LINENO
4404
 
  as_lineno_2=$LINENO
4405
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4406
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4407
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4408
 
  # Find who we are.  Look in the path if we contain no path at all
4409
 
  # relative or not.
4410
 
  case $0 in
4411
 
    *[\\/]* ) as_myself=$0 ;;
4412
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413
 
for as_dir in $PATH
4414
 
do
4415
 
  IFS=$as_save_IFS
4416
 
  test -z "$as_dir" && as_dir=.
4417
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4418
 
done
4419
 
 
4420
 
       ;;
4421
 
  esac
4422
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
4423
 
  # in which case we are not to be found in the path.
4424
 
  if test "x$as_myself" = x; then
4425
 
    as_myself=$0
4426
 
  fi
4427
 
  if test ! -f "$as_myself"; then
4428
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4429
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4430
 
   { (exit 1); exit 1; }; }
4431
 
  fi
4432
 
  case $CONFIG_SHELL in
4433
 
  '')
4434
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4436
 
do
4437
 
  IFS=$as_save_IFS
4438
 
  test -z "$as_dir" && as_dir=.
4439
 
  for as_base in sh bash ksh sh5; do
4440
 
         case $as_dir in
4441
 
         /*)
4442
 
           if ("$as_dir/$as_base" -c '
4443
 
  as_lineno_1=$LINENO
4444
 
  as_lineno_2=$LINENO
4445
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4446
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4447
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4448
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4449
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4450
 
             CONFIG_SHELL=$as_dir/$as_base
4451
 
             export CONFIG_SHELL
4452
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4453
 
           fi;;
4454
 
         esac
4455
 
       done
4456
 
done
4457
 
;;
4458
 
  esac
 
5103
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
5104
            s//\1/
 
5105
            q
 
5106
          }
 
5107
          /^X\/\(\/\/\)$/{
 
5108
            s//\1/
 
5109
            q
 
5110
          }
 
5111
          /^X\/\(\/\).*/{
 
5112
            s//\1/
 
5113
            q
 
5114
          }
 
5115
          s/.*/./; q'`
 
5116
 
 
5117
# CDPATH.
 
5118
$as_unset CDPATH
 
5119
 
 
5120
 
 
5121
 
 
5122
  as_lineno_1=$LINENO
 
5123
  as_lineno_2=$LINENO
 
5124
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
5125
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4459
5126
 
4460
5127
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4461
5128
  # uniformly replaced by the line number.  The first 'sed' inserts a
4462
 
  # line-number line before each line; the second 'sed' does the real
4463
 
  # work.  The second script uses 'N' to pair each line-number line
4464
 
  # with the numbered line, and appends trailing '-' during
4465
 
  # substitution so that $LINENO is not a special case at line end.
 
5129
  # line-number line after each line using $LINENO; the second 'sed'
 
5130
  # does the real work.  The second script uses 'N' to pair each
 
5131
  # line-number line with the line containing $LINENO, and appends
 
5132
  # trailing '-' during substitution so that $LINENO is not a special
 
5133
  # case at line end.
4466
5134
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4467
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4468
 
  sed '=' <$as_myself |
 
5135
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
5136
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
5137
  sed -n '
 
5138
    p
 
5139
    /[$]LINENO/=
 
5140
  ' <$as_myself |
4469
5141
    sed '
 
5142
      s/[$]LINENO.*/&-/
 
5143
      t lineno
 
5144
      b
 
5145
      :lineno
4470
5146
      N
4471
 
      s,$,-,
4472
 
      : loop
4473
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
5147
      :loop
 
5148
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4474
5149
      t loop
4475
 
      s,-$,,
4476
 
      s,^['$as_cr_digits']*\n,,
 
5150
      s/-\n.*//
4477
5151
    ' >$as_me.lineno &&
4478
 
  chmod +x $as_me.lineno ||
4479
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4480
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
5152
  chmod +x "$as_me.lineno" ||
 
5153
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4481
5154
   { (exit 1); exit 1; }; }
4482
5155
 
4483
5156
  # Don't try to exec as it changes $[0], causing all sort of problems
4484
5157
  # (the dirname of $[0] is not the place where we might find the
4485
 
  # original and so on.  Autoconf is especially sensible to this).
4486
 
  . ./$as_me.lineno
 
5158
  # original and so on.  Autoconf is especially sensitive to this).
 
5159
  . "./$as_me.lineno"
4487
5160
  # Exit status is that of the last command.
4488
5161
  exit
4489
5162
}
4490
5163
 
4491
5164
 
4492
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4493
 
  *c*,-n*) ECHO_N= ECHO_C='
4494
 
' ECHO_T='      ' ;;
4495
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4496
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
5165
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5166
  as_dirname=dirname
 
5167
else
 
5168
  as_dirname=false
 
5169
fi
 
5170
 
 
5171
ECHO_C= ECHO_N= ECHO_T=
 
5172
case `echo -n x` in
 
5173
-n*)
 
5174
  case `echo 'x\c'` in
 
5175
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
5176
  *)   ECHO_C='\c';;
 
5177
  esac;;
 
5178
*)
 
5179
  ECHO_N='-n';;
4497
5180
esac
4498
5181
 
4499
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5182
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
5183
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4500
5184
  as_expr=expr
4501
5185
else
4502
5186
  as_expr=false
4503
5187
fi
4504
5188
 
4505
5189
rm -f conf$$ conf$$.exe conf$$.file
 
5190
if test -d conf$$.dir; then
 
5191
  rm -f conf$$.dir/conf$$.file
 
5192
else
 
5193
  rm -f conf$$.dir
 
5194
  mkdir conf$$.dir
 
5195
fi
4506
5196
echo >conf$$.file
4507
5197
if ln -s conf$$.file conf$$ 2>/dev/null; then
4508
 
  # We could just check for DJGPP; but this test a) works b) is more generic
4509
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4510
 
  if test -f conf$$.exe; then
4511
 
    # Don't use ln at all; we don't have any links
 
5198
  as_ln_s='ln -s'
 
5199
  # ... but there are two gotchas:
 
5200
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
5201
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
5202
  # In both cases, we have to default to `cp -p'.
 
5203
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4512
5204
    as_ln_s='cp -p'
4513
 
  else
4514
 
    as_ln_s='ln -s'
4515
 
  fi
4516
5205
elif ln conf$$.file conf$$ 2>/dev/null; then
4517
5206
  as_ln_s=ln
4518
5207
else
4519
5208
  as_ln_s='cp -p'
4520
5209
fi
4521
 
rm -f conf$$ conf$$.exe conf$$.file
 
5210
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
5211
rmdir conf$$.dir 2>/dev/null
4522
5212
 
4523
5213
if mkdir -p . 2>/dev/null; then
4524
5214
  as_mkdir_p=:
4527
5217
  as_mkdir_p=false
4528
5218
fi
4529
5219
 
4530
 
as_executable_p="test -f"
 
5220
if test -x / >/dev/null 2>&1; then
 
5221
  as_test_x='test -x'
 
5222
else
 
5223
  if ls -dL / >/dev/null 2>&1; then
 
5224
    as_ls_L_option=L
 
5225
  else
 
5226
    as_ls_L_option=
 
5227
  fi
 
5228
  as_test_x='
 
5229
    eval sh -c '\''
 
5230
      if test -d "$1"; then
 
5231
        test -d "$1/.";
 
5232
      else
 
5233
        case $1 in
 
5234
        -*)set "./$1";;
 
5235
        esac;
 
5236
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5237
        ???[sx]*):;;*)false;;esac;fi
 
5238
    '\'' sh
 
5239
  '
 
5240
fi
 
5241
as_executable_p=$as_test_x
4531
5242
 
4532
5243
# Sed expression to map a string onto a valid CPP name.
4533
5244
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4536
5247
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4537
5248
 
4538
5249
 
4539
 
# IFS
4540
 
# We need space, tab and new line, in precisely that order.
4541
 
as_nl='
4542
 
'
4543
 
IFS="   $as_nl"
4544
 
 
4545
 
# CDPATH.
4546
 
$as_unset CDPATH
4547
 
 
4548
5250
exec 6>&1
4549
5251
 
4550
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
5252
# Save the log message, to keep $[0] and so on meaningful, and to
4551
5253
# report actual input values of CONFIG_FILES etc. instead of their
4552
 
# values after options handling.  Logging --version etc. is OK.
4553
 
exec 5>>config.log
4554
 
{
4555
 
  echo
4556
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4557
 
## Running $as_me. ##
4558
 
_ASBOX
4559
 
} >&5
4560
 
cat >&5 <<_CSEOF
4561
 
 
 
5254
# values after options handling.
 
5255
ac_log="
4562
5256
This file was extended by libatomic_ops $as_me 1.2, which was
4563
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
5257
generated by GNU Autoconf 2.61.  Invocation command line was
4564
5258
 
4565
5259
  CONFIG_FILES    = $CONFIG_FILES
4566
5260
  CONFIG_HEADERS  = $CONFIG_HEADERS
4568
5262
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4569
5263
  $ $0 $@
4570
5264
 
4571
 
_CSEOF
4572
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4573
 
echo >&5
 
5265
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
5266
"
 
5267
 
4574
5268
_ACEOF
4575
5269
 
 
5270
cat >>$CONFIG_STATUS <<_ACEOF
4576
5271
# Files that config.status was made for.
4577
 
if test -n "$ac_config_files"; then
4578
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4579
 
fi
4580
 
 
4581
 
if test -n "$ac_config_headers"; then
4582
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4583
 
fi
4584
 
 
4585
 
if test -n "$ac_config_links"; then
4586
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4587
 
fi
4588
 
 
4589
 
if test -n "$ac_config_commands"; then
4590
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4591
 
fi
 
5272
config_files="$ac_config_files"
 
5273
config_headers="$ac_config_headers"
 
5274
config_commands="$ac_config_commands"
 
5275
 
 
5276
_ACEOF
4592
5277
 
4593
5278
cat >>$CONFIG_STATUS <<\_ACEOF
4594
 
 
4595
5279
ac_cs_usage="\
4596
5280
\`$as_me' instantiates files from templates according to the
4597
5281
current configuration.
4599
5283
Usage: $0 [OPTIONS] [FILE]...
4600
5284
 
4601
5285
  -h, --help       print this help, then exit
4602
 
  -V, --version    print version number, then exit
 
5286
  -V, --version    print version number and configuration settings, then exit
4603
5287
  -q, --quiet      do not print progress messages
4604
5288
  -d, --debug      don't remove temporary files
4605
5289
      --recheck    update $as_me by reconfiguring in the same conditions
4618
5302
$config_commands
4619
5303
 
4620
5304
Report bugs to <bug-autoconf@gnu.org>."
 
5305
 
4621
5306
_ACEOF
4622
 
 
4623
5307
cat >>$CONFIG_STATUS <<_ACEOF
4624
5308
ac_cs_version="\\
4625
5309
libatomic_ops config.status 1.2
4626
 
configured by $0, generated by GNU Autoconf 2.59,
4627
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
5310
configured by $0, generated by GNU Autoconf 2.61,
 
5311
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4628
5312
 
4629
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
5313
Copyright (C) 2006 Free Software Foundation, Inc.
4630
5314
This config.status script is free software; the Free Software Foundation
4631
5315
gives unlimited permission to copy, distribute and modify it."
4632
 
srcdir=$srcdir
4633
 
INSTALL="$INSTALL"
 
5316
 
 
5317
ac_pwd='$ac_pwd'
 
5318
srcdir='$srcdir'
 
5319
INSTALL='$INSTALL'
4634
5320
_ACEOF
4635
5321
 
4636
5322
cat >>$CONFIG_STATUS <<\_ACEOF
4641
5327
do
4642
5328
  case $1 in
4643
5329
  --*=*)
4644
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4645
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
5330
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5331
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4646
5332
    ac_shift=:
4647
5333
    ;;
4648
 
  -*)
 
5334
  *)
4649
5335
    ac_option=$1
4650
5336
    ac_optarg=$2
4651
5337
    ac_shift=shift
4652
5338
    ;;
4653
 
  *) # This is not an option, so the user has probably given explicit
4654
 
     # arguments.
4655
 
     ac_option=$1
4656
 
     ac_need_defaults=false;;
4657
5339
  esac
4658
5340
 
4659
5341
  case $ac_option in
4660
5342
  # Handling of the options.
4661
 
_ACEOF
4662
 
cat >>$CONFIG_STATUS <<\_ACEOF
4663
5343
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4664
5344
    ac_cs_recheck=: ;;
4665
 
  --version | --vers* | -V )
4666
 
    echo "$ac_cs_version"; exit 0 ;;
4667
 
  --he | --h)
4668
 
    # Conflict between --help and --header
4669
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4670
 
Try \`$0 --help' for more information." >&5
4671
 
echo "$as_me: error: ambiguous option: $1
4672
 
Try \`$0 --help' for more information." >&2;}
4673
 
   { (exit 1); exit 1; }; };;
4674
 
  --help | --hel | -h )
4675
 
    echo "$ac_cs_usage"; exit 0 ;;
4676
 
  --debug | --d* | -d )
 
5345
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
5346
    echo "$ac_cs_version"; exit ;;
 
5347
  --debug | --debu | --deb | --de | --d | -d )
4677
5348
    debug=: ;;
4678
5349
  --file | --fil | --fi | --f )
4679
5350
    $ac_shift
4683
5354
    $ac_shift
4684
5355
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4685
5356
    ac_need_defaults=false;;
 
5357
  --he | --h)
 
5358
    # Conflict between --help and --header
 
5359
    { echo "$as_me: error: ambiguous option: $1
 
5360
Try \`$0 --help' for more information." >&2
 
5361
   { (exit 1); exit 1; }; };;
 
5362
  --help | --hel | -h )
 
5363
    echo "$ac_cs_usage"; exit ;;
4686
5364
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4687
5365
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4688
5366
    ac_cs_silent=: ;;
4689
5367
 
4690
5368
  # This is an error.
4691
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4692
 
Try \`$0 --help' for more information." >&5
4693
 
echo "$as_me: error: unrecognized option: $1
4694
 
Try \`$0 --help' for more information." >&2;}
 
5369
  -*) { echo "$as_me: error: unrecognized option: $1
 
5370
Try \`$0 --help' for more information." >&2
4695
5371
   { (exit 1); exit 1; }; } ;;
4696
5372
 
4697
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
5373
  *) ac_config_targets="$ac_config_targets $1"
 
5374
     ac_need_defaults=false ;;
4698
5375
 
4699
5376
  esac
4700
5377
  shift
4710
5387
_ACEOF
4711
5388
cat >>$CONFIG_STATUS <<_ACEOF
4712
5389
if \$ac_cs_recheck; then
4713
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4714
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5390
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
5391
  CONFIG_SHELL=$SHELL
 
5392
  export CONFIG_SHELL
 
5393
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4715
5394
fi
4716
5395
 
4717
5396
_ACEOF
 
5397
cat >>$CONFIG_STATUS <<\_ACEOF
 
5398
exec 5>>config.log
 
5399
{
 
5400
  echo
 
5401
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
5402
## Running $as_me. ##
 
5403
_ASBOX
 
5404
  echo "$ac_log"
 
5405
} >&5
4718
5406
 
 
5407
_ACEOF
4719
5408
cat >>$CONFIG_STATUS <<_ACEOF
4720
5409
#
4721
 
# INIT-COMMANDS section.
 
5410
# INIT-COMMANDS
4722
5411
#
4723
 
 
4724
5412
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4725
5413
PICFLAG=${PICFLAG}
4726
5414
CC=${CC}
4728
5416
 
4729
5417
_ACEOF
4730
5418
 
4731
 
 
4732
 
 
4733
5419
cat >>$CONFIG_STATUS <<\_ACEOF
 
5420
 
 
5421
# Handling of arguments.
4734
5422
for ac_config_target in $ac_config_targets
4735
5423
do
4736
 
  case "$ac_config_target" in
4737
 
  # Handling of arguments.
4738
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4739
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4740
 
  "src/atomic_ops/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/atomic_ops/Makefile" ;;
4741
 
  "src/atomic_ops/sysdeps/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/atomic_ops/sysdeps/Makefile" ;;
4742
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4743
 
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
4744
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4745
 
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4746
 
  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
 
5424
  case $ac_config_target in
 
5425
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
 
5426
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
5427
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
5428
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
5429
    "src/atomic_ops/Makefile") CONFIG_FILES="$CONFIG_FILES src/atomic_ops/Makefile" ;;
 
5430
    "src/atomic_ops/sysdeps/Makefile") CONFIG_FILES="$CONFIG_FILES src/atomic_ops/sysdeps/Makefile" ;;
 
5431
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
5432
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
5433
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
 
5434
 
4747
5435
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4748
5436
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4749
5437
   { (exit 1); exit 1; }; };;
4750
5438
  esac
4751
5439
done
4752
5440
 
 
5441
 
4753
5442
# If the user did not use the arguments to specify the items to instantiate,
4754
5443
# then the envvar interface is used.  Set only those that are not.
4755
5444
# We use the long form for the default assignment because of an extremely
4761
5450
fi
4762
5451
 
4763
5452
# Have a temporary directory for convenience.  Make it in the build tree
4764
 
# simply because there is no reason to put it here, and in addition,
 
5453
# simply because there is no reason against having it here, and in addition,
4765
5454
# creating and moving files from /tmp can sometimes cause problems.
4766
 
# Create a temporary directory, and hook for its removal unless debugging.
 
5455
# Hook for its removal unless debugging.
 
5456
# Note that there is a small window in which the directory will not be cleaned:
 
5457
# after its creation but before its name has been assigned to `$tmp'.
4767
5458
$debug ||
4768
5459
{
4769
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
5460
  tmp=
 
5461
  trap 'exit_status=$?
 
5462
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5463
' 0
4770
5464
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4771
5465
}
4772
 
 
4773
5466
# Create a (secure) tmp directory for tmp files.
4774
5467
 
4775
5468
{
4776
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
5469
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4777
5470
  test -n "$tmp" && test -d "$tmp"
4778
5471
}  ||
4779
5472
{
4780
 
  tmp=./confstat$$-$RANDOM
4781
 
  (umask 077 && mkdir $tmp)
 
5473
  tmp=./conf$$-$RANDOM
 
5474
  (umask 077 && mkdir "$tmp")
4782
5475
} ||
4783
5476
{
4784
5477
   echo "$me: cannot create a temporary directory in ." >&2
4785
5478
   { (exit 1); exit 1; }
4786
5479
}
4787
5480
 
4788
 
_ACEOF
4789
 
 
4790
 
cat >>$CONFIG_STATUS <<_ACEOF
4791
 
 
4792
5481
#
4793
 
# CONFIG_FILES section.
 
5482
# Set up the sed scripts for CONFIG_FILES section.
4794
5483
#
4795
5484
 
4796
5485
# No need to generate the scripts if there are no CONFIG_FILES.
4797
5486
# This happens for instance when ./config.status config.h
4798
 
if test -n "\$CONFIG_FILES"; then
4799
 
  # Protect against being on the right side of a sed subst in config.status.
4800
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4801
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4802
 
s,@SHELL@,$SHELL,;t t
4803
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4804
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4805
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4806
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4807
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4808
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4809
 
s,@exec_prefix@,$exec_prefix,;t t
4810
 
s,@prefix@,$prefix,;t t
4811
 
s,@program_transform_name@,$program_transform_name,;t t
4812
 
s,@bindir@,$bindir,;t t
4813
 
s,@sbindir@,$sbindir,;t t
4814
 
s,@libexecdir@,$libexecdir,;t t
4815
 
s,@datadir@,$datadir,;t t
4816
 
s,@sysconfdir@,$sysconfdir,;t t
4817
 
s,@sharedstatedir@,$sharedstatedir,;t t
4818
 
s,@localstatedir@,$localstatedir,;t t
4819
 
s,@libdir@,$libdir,;t t
4820
 
s,@includedir@,$includedir,;t t
4821
 
s,@oldincludedir@,$oldincludedir,;t t
4822
 
s,@infodir@,$infodir,;t t
4823
 
s,@mandir@,$mandir,;t t
4824
 
s,@build_alias@,$build_alias,;t t
4825
 
s,@host_alias@,$host_alias,;t t
4826
 
s,@target_alias@,$target_alias,;t t
4827
 
s,@DEFS@,$DEFS,;t t
4828
 
s,@ECHO_C@,$ECHO_C,;t t
4829
 
s,@ECHO_N@,$ECHO_N,;t t
4830
 
s,@ECHO_T@,$ECHO_T,;t t
4831
 
s,@LIBS@,$LIBS,;t t
4832
 
s,@build@,$build,;t t
4833
 
s,@build_cpu@,$build_cpu,;t t
4834
 
s,@build_vendor@,$build_vendor,;t t
4835
 
s,@build_os@,$build_os,;t t
4836
 
s,@host@,$host,;t t
4837
 
s,@host_cpu@,$host_cpu,;t t
4838
 
s,@host_vendor@,$host_vendor,;t t
4839
 
s,@host_os@,$host_os,;t t
4840
 
s,@target@,$target,;t t
4841
 
s,@target_cpu@,$target_cpu,;t t
4842
 
s,@target_vendor@,$target_vendor,;t t
4843
 
s,@target_os@,$target_os,;t t
4844
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4845
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4846
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4847
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
4848
 
s,@PACKAGE@,$PACKAGE,;t t
4849
 
s,@VERSION@,$VERSION,;t t
4850
 
s,@ACLOCAL@,$ACLOCAL,;t t
4851
 
s,@AUTOCONF@,$AUTOCONF,;t t
4852
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
4853
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
4854
 
s,@MAKEINFO@,$MAKEINFO,;t t
4855
 
s,@install_sh@,$install_sh,;t t
4856
 
s,@STRIP@,$STRIP,;t t
4857
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4858
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4859
 
s,@mkdir_p@,$mkdir_p,;t t
4860
 
s,@AWK@,$AWK,;t t
4861
 
s,@SET_MAKE@,$SET_MAKE,;t t
4862
 
s,@am__leading_dot@,$am__leading_dot,;t t
4863
 
s,@AMTAR@,$AMTAR,;t t
4864
 
s,@am__tar@,$am__tar,;t t
4865
 
s,@am__untar@,$am__untar,;t t
4866
 
s,@RANLIB@,$RANLIB,;t t
4867
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4868
 
s,@CC@,$CC,;t t
4869
 
s,@CFLAGS@,$CFLAGS,;t t
4870
 
s,@LDFLAGS@,$LDFLAGS,;t t
4871
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
4872
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
4873
 
s,@EXEEXT@,$EXEEXT,;t t
4874
 
s,@OBJEXT@,$OBJEXT,;t t
4875
 
s,@DEPDIR@,$DEPDIR,;t t
4876
 
s,@am__include@,$am__include,;t t
4877
 
s,@am__quote@,$am__quote,;t t
4878
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4879
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4880
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4881
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
4882
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4883
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4884
 
s,@CCAS@,$CCAS,;t t
4885
 
s,@CCASFLAGS@,$CCASFLAGS,;t t
4886
 
s,@CPP@,$CPP,;t t
4887
 
s,@EGREP@,$EGREP,;t t
4888
 
s,@PICFLAG@,$PICFLAG,;t t
4889
 
s,@NEED_ASM_TRUE@,$NEED_ASM_TRUE,;t t
4890
 
s,@NEED_ASM_FALSE@,$NEED_ASM_FALSE,;t t
4891
 
s,@LIBOBJS@,$LIBOBJS,;t t
4892
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4893
 
CEOF
4894
 
 
4895
 
_ACEOF
4896
 
 
4897
 
  cat >>$CONFIG_STATUS <<\_ACEOF
4898
 
  # Split the substitutions into bite-sized pieces for seds with
4899
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
4900
 
  ac_max_sed_lines=48
4901
 
  ac_sed_frag=1 # Number of current file.
4902
 
  ac_beg=1 # First line for current file.
4903
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
4904
 
  ac_more_lines=:
4905
 
  ac_sed_cmds=
4906
 
  while $ac_more_lines; do
4907
 
    if test $ac_beg -gt 1; then
4908
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4909
 
    else
4910
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4911
 
    fi
4912
 
    if test ! -s $tmp/subs.frag; then
4913
 
      ac_more_lines=false
4914
 
    else
4915
 
      # The purpose of the label and of the branching condition is to
4916
 
      # speed up the sed processing (if there are no `@' at all, there
4917
 
      # is no need to browse any of the substitutions).
4918
 
      # These are the two extra sed commands mentioned above.
4919
 
      (echo ':t
4920
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4921
 
      if test -z "$ac_sed_cmds"; then
4922
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4923
 
      else
4924
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4925
 
      fi
4926
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
4927
 
      ac_beg=$ac_end
4928
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
4929
 
    fi
4930
 
  done
4931
 
  if test -z "$ac_sed_cmds"; then
4932
 
    ac_sed_cmds=cat
 
5487
if test -n "$CONFIG_FILES"; then
 
5488
 
 
5489
_ACEOF
 
5490
 
 
5491
 
 
5492
 
 
5493
ac_delim='%!_!# '
 
5494
for ac_last_try in false false false false false :; do
 
5495
  cat >conf$$subs.sed <<_ACEOF
 
5496
SHELL!$SHELL$ac_delim
 
5497
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
5498
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
5499
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
5500
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
5501
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
5502
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
5503
exec_prefix!$exec_prefix$ac_delim
 
5504
prefix!$prefix$ac_delim
 
5505
program_transform_name!$program_transform_name$ac_delim
 
5506
bindir!$bindir$ac_delim
 
5507
sbindir!$sbindir$ac_delim
 
5508
libexecdir!$libexecdir$ac_delim
 
5509
datarootdir!$datarootdir$ac_delim
 
5510
datadir!$datadir$ac_delim
 
5511
sysconfdir!$sysconfdir$ac_delim
 
5512
sharedstatedir!$sharedstatedir$ac_delim
 
5513
localstatedir!$localstatedir$ac_delim
 
5514
includedir!$includedir$ac_delim
 
5515
oldincludedir!$oldincludedir$ac_delim
 
5516
docdir!$docdir$ac_delim
 
5517
infodir!$infodir$ac_delim
 
5518
htmldir!$htmldir$ac_delim
 
5519
dvidir!$dvidir$ac_delim
 
5520
pdfdir!$pdfdir$ac_delim
 
5521
psdir!$psdir$ac_delim
 
5522
libdir!$libdir$ac_delim
 
5523
localedir!$localedir$ac_delim
 
5524
mandir!$mandir$ac_delim
 
5525
DEFS!$DEFS$ac_delim
 
5526
ECHO_C!$ECHO_C$ac_delim
 
5527
ECHO_N!$ECHO_N$ac_delim
 
5528
ECHO_T!$ECHO_T$ac_delim
 
5529
LIBS!$LIBS$ac_delim
 
5530
build_alias!$build_alias$ac_delim
 
5531
host_alias!$host_alias$ac_delim
 
5532
target_alias!$target_alias$ac_delim
 
5533
build!$build$ac_delim
 
5534
build_cpu!$build_cpu$ac_delim
 
5535
build_vendor!$build_vendor$ac_delim
 
5536
build_os!$build_os$ac_delim
 
5537
host!$host$ac_delim
 
5538
host_cpu!$host_cpu$ac_delim
 
5539
host_vendor!$host_vendor$ac_delim
 
5540
host_os!$host_os$ac_delim
 
5541
target!$target$ac_delim
 
5542
target_cpu!$target_cpu$ac_delim
 
5543
target_vendor!$target_vendor$ac_delim
 
5544
target_os!$target_os$ac_delim
 
5545
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
5546
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
5547
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
5548
CYGPATH_W!$CYGPATH_W$ac_delim
 
5549
PACKAGE!$PACKAGE$ac_delim
 
5550
VERSION!$VERSION$ac_delim
 
5551
ACLOCAL!$ACLOCAL$ac_delim
 
5552
AUTOCONF!$AUTOCONF$ac_delim
 
5553
AUTOMAKE!$AUTOMAKE$ac_delim
 
5554
AUTOHEADER!$AUTOHEADER$ac_delim
 
5555
MAKEINFO!$MAKEINFO$ac_delim
 
5556
install_sh!$install_sh$ac_delim
 
5557
STRIP!$STRIP$ac_delim
 
5558
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
5559
mkdir_p!$mkdir_p$ac_delim
 
5560
AWK!$AWK$ac_delim
 
5561
SET_MAKE!$SET_MAKE$ac_delim
 
5562
am__leading_dot!$am__leading_dot$ac_delim
 
5563
AMTAR!$AMTAR$ac_delim
 
5564
am__tar!$am__tar$ac_delim
 
5565
am__untar!$am__untar$ac_delim
 
5566
RANLIB!$RANLIB$ac_delim
 
5567
CC!$CC$ac_delim
 
5568
CFLAGS!$CFLAGS$ac_delim
 
5569
LDFLAGS!$LDFLAGS$ac_delim
 
5570
CPPFLAGS!$CPPFLAGS$ac_delim
 
5571
ac_ct_CC!$ac_ct_CC$ac_delim
 
5572
EXEEXT!$EXEEXT$ac_delim
 
5573
OBJEXT!$OBJEXT$ac_delim
 
5574
DEPDIR!$DEPDIR$ac_delim
 
5575
am__include!$am__include$ac_delim
 
5576
am__quote!$am__quote$ac_delim
 
5577
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
5578
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
5579
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
5580
CCDEPMODE!$CCDEPMODE$ac_delim
 
5581
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
5582
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
5583
CCAS!$CCAS$ac_delim
 
5584
CCASFLAGS!$CCASFLAGS$ac_delim
 
5585
CPP!$CPP$ac_delim
 
5586
GREP!$GREP$ac_delim
 
5587
EGREP!$EGREP$ac_delim
 
5588
PICFLAG!$PICFLAG$ac_delim
 
5589
NEED_ASM_TRUE!$NEED_ASM_TRUE$ac_delim
 
5590
NEED_ASM_FALSE!$NEED_ASM_FALSE$ac_delim
 
5591
LIBOBJS!$LIBOBJS$ac_delim
 
5592
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
5593
_ACEOF
 
5594
 
 
5595
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
5596
    break
 
5597
  elif $ac_last_try; then
 
5598
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5599
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5600
   { (exit 1); exit 1; }; }
 
5601
  else
 
5602
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4933
5603
  fi
 
5604
done
 
5605
 
 
5606
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
5607
if test -n "$ac_eof"; then
 
5608
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
5609
  ac_eof=`expr $ac_eof + 1`
 
5610
fi
 
5611
 
 
5612
cat >>$CONFIG_STATUS <<_ACEOF
 
5613
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
5614
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
5615
_ACEOF
 
5616
sed '
 
5617
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
5618
s/^/s,@/; s/!/@,|#_!!_#|/
 
5619
:n
 
5620
t n
 
5621
s/'"$ac_delim"'$/,g/; t
 
5622
s/$/\\/; p
 
5623
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
5624
' >>$CONFIG_STATUS <conf$$subs.sed
 
5625
rm -f conf$$subs.sed
 
5626
cat >>$CONFIG_STATUS <<_ACEOF
 
5627
CEOF$ac_eof
 
5628
_ACEOF
 
5629
 
 
5630
 
 
5631
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
5632
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5633
# trailing colons and then remove the whole line if VPATH becomes empty
 
5634
# (actually we leave an empty line to preserve line numbers).
 
5635
if test "x$srcdir" = x.; then
 
5636
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
5637
s/:*\$(srcdir):*/:/
 
5638
s/:*\${srcdir}:*/:/
 
5639
s/:*@srcdir@:*/:/
 
5640
s/^\([^=]*=[     ]*\):*/\1/
 
5641
s/:*$//
 
5642
s/^[^=]*=[       ]*$//
 
5643
}'
 
5644
fi
 
5645
 
 
5646
cat >>$CONFIG_STATUS <<\_ACEOF
4934
5647
fi # test -n "$CONFIG_FILES"
4935
5648
 
4936
 
_ACEOF
4937
 
cat >>$CONFIG_STATUS <<\_ACEOF
4938
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4939
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4940
 
  case $ac_file in
4941
 
  - | *:- | *:-:* ) # input from stdin
4942
 
        cat >$tmp/stdin
4943
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4944
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4945
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4946
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4947
 
  * )   ac_file_in=$ac_file.in ;;
4948
 
  esac
4949
 
 
4950
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4951
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
5649
 
 
5650
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
5651
do
 
5652
  case $ac_tag in
 
5653
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
5654
  esac
 
5655
  case $ac_mode$ac_tag in
 
5656
  :[FHL]*:*);;
 
5657
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
5658
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
5659
   { (exit 1); exit 1; }; };;
 
5660
  :[FH]-) ac_tag=-:-;;
 
5661
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
5662
  esac
 
5663
  ac_save_IFS=$IFS
 
5664
  IFS=:
 
5665
  set x $ac_tag
 
5666
  IFS=$ac_save_IFS
 
5667
  shift
 
5668
  ac_file=$1
 
5669
  shift
 
5670
 
 
5671
  case $ac_mode in
 
5672
  :L) ac_source=$1;;
 
5673
  :[FH])
 
5674
    ac_file_inputs=
 
5675
    for ac_f
 
5676
    do
 
5677
      case $ac_f in
 
5678
      -) ac_f="$tmp/stdin";;
 
5679
      *) # Look for the file first in the build tree, then in the source tree
 
5680
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
5681
         # because $ac_f cannot contain `:'.
 
5682
         test -f "$ac_f" ||
 
5683
           case $ac_f in
 
5684
           [\\/$]*) false;;
 
5685
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
5686
           esac ||
 
5687
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
5688
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
5689
   { (exit 1); exit 1; }; };;
 
5690
      esac
 
5691
      ac_file_inputs="$ac_file_inputs $ac_f"
 
5692
    done
 
5693
 
 
5694
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
5695
    # use $as_me), people would be surprised to read:
 
5696
    #    /* config.h.  Generated by config.status.  */
 
5697
    configure_input="Generated from "`IFS=:
 
5698
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
5699
    if test x"$ac_file" != x-; then
 
5700
      configure_input="$ac_file.  $configure_input"
 
5701
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
5702
echo "$as_me: creating $ac_file" >&6;}
 
5703
    fi
 
5704
 
 
5705
    case $ac_tag in
 
5706
    *:-:* | *:-) cat >"$tmp/stdin";;
 
5707
    esac
 
5708
    ;;
 
5709
  esac
 
5710
 
 
5711
  ac_dir=`$as_dirname -- "$ac_file" ||
4952
5712
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4953
5713
         X"$ac_file" : 'X\(//\)[^/]' \| \
4954
5714
         X"$ac_file" : 'X\(//\)$' \| \
4955
 
         X"$ac_file" : 'X\(/\)' \| \
4956
 
         .     : '\(.\)' 2>/dev/null ||
 
5715
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4957
5716
echo X"$ac_file" |
4958
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4959
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4960
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4961
 
          /^X\(\/\).*/{ s//\1/; q; }
4962
 
          s/.*/./; q'`
4963
 
  { if $as_mkdir_p; then
4964
 
    mkdir -p "$ac_dir"
4965
 
  else
4966
 
    as_dir="$ac_dir"
 
5717
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5718
            s//\1/
 
5719
            q
 
5720
          }
 
5721
          /^X\(\/\/\)[^/].*/{
 
5722
            s//\1/
 
5723
            q
 
5724
          }
 
5725
          /^X\(\/\/\)$/{
 
5726
            s//\1/
 
5727
            q
 
5728
          }
 
5729
          /^X\(\/\).*/{
 
5730
            s//\1/
 
5731
            q
 
5732
          }
 
5733
          s/.*/./; q'`
 
5734
  { as_dir="$ac_dir"
 
5735
  case $as_dir in #(
 
5736
  -*) as_dir=./$as_dir;;
 
5737
  esac
 
5738
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4967
5739
    as_dirs=
4968
 
    while test ! -d "$as_dir"; do
4969
 
      as_dirs="$as_dir $as_dirs"
4970
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5740
    while :; do
 
5741
      case $as_dir in #(
 
5742
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
5743
      *) as_qdir=$as_dir;;
 
5744
      esac
 
5745
      as_dirs="'$as_qdir' $as_dirs"
 
5746
      as_dir=`$as_dirname -- "$as_dir" ||
4971
5747
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4972
5748
         X"$as_dir" : 'X\(//\)[^/]' \| \
4973
5749
         X"$as_dir" : 'X\(//\)$' \| \
4974
 
         X"$as_dir" : 'X\(/\)' \| \
4975
 
         .     : '\(.\)' 2>/dev/null ||
 
5750
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4976
5751
echo X"$as_dir" |
4977
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4978
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4979
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4980
 
          /^X\(\/\).*/{ s//\1/; q; }
4981
 
          s/.*/./; q'`
 
5752
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5753
            s//\1/
 
5754
            q
 
5755
          }
 
5756
          /^X\(\/\/\)[^/].*/{
 
5757
            s//\1/
 
5758
            q
 
5759
          }
 
5760
          /^X\(\/\/\)$/{
 
5761
            s//\1/
 
5762
            q
 
5763
          }
 
5764
          /^X\(\/\).*/{
 
5765
            s//\1/
 
5766
            q
 
5767
          }
 
5768
          s/.*/./; q'`
 
5769
      test -d "$as_dir" && break
4982
5770
    done
4983
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4984
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4985
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
5771
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5772
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5773
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4986
5774
   { (exit 1); exit 1; }; }; }
4987
 
 
4988
5775
  ac_builddir=.
4989
5776
 
4990
 
if test "$ac_dir" != .; then
 
5777
case "$ac_dir" in
 
5778
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5779
*)
4991
5780
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4992
 
  # A "../" for each directory in $ac_dir_suffix.
4993
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4994
 
else
4995
 
  ac_dir_suffix= ac_top_builddir=
4996
 
fi
 
5781
  # A ".." for each directory in $ac_dir_suffix.
 
5782
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
5783
  case $ac_top_builddir_sub in
 
5784
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5785
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
5786
  esac ;;
 
5787
esac
 
5788
ac_abs_top_builddir=$ac_pwd
 
5789
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
5790
# for backward compatibility:
 
5791
ac_top_builddir=$ac_top_build_prefix
4997
5792
 
4998
5793
case $srcdir in
4999
 
  .)  # No --srcdir option.  We are building in place.
 
5794
  .)  # We are building in place.
5000
5795
    ac_srcdir=.
5001
 
    if test -z "$ac_top_builddir"; then
5002
 
       ac_top_srcdir=.
5003
 
    else
5004
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5005
 
    fi ;;
5006
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
5796
    ac_top_srcdir=$ac_top_builddir_sub
 
5797
    ac_abs_top_srcdir=$ac_pwd ;;
 
5798
  [\\/]* | ?:[\\/]* )  # Absolute name.
5007
5799
    ac_srcdir=$srcdir$ac_dir_suffix;
5008
 
    ac_top_srcdir=$srcdir ;;
5009
 
  *) # Relative path.
5010
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5011
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5012
 
esac
5013
 
 
5014
 
# Do not use `cd foo && pwd` to compute absolute paths, because
5015
 
# the directories may not exist.
5016
 
case `pwd` in
5017
 
.) ac_abs_builddir="$ac_dir";;
5018
 
*)
5019
 
  case "$ac_dir" in
5020
 
  .) ac_abs_builddir=`pwd`;;
5021
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5022
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5023
 
  esac;;
5024
 
esac
5025
 
case $ac_abs_builddir in
5026
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5027
 
*)
5028
 
  case ${ac_top_builddir}. in
5029
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
5030
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5031
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5032
 
  esac;;
5033
 
esac
5034
 
case $ac_abs_builddir in
5035
 
.) ac_abs_srcdir=$ac_srcdir;;
5036
 
*)
5037
 
  case $ac_srcdir in
5038
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
5039
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5040
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5041
 
  esac;;
5042
 
esac
5043
 
case $ac_abs_builddir in
5044
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5045
 
*)
5046
 
  case $ac_top_srcdir in
5047
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5048
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5049
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5050
 
  esac;;
5051
 
esac
5052
 
 
 
5800
    ac_top_srcdir=$srcdir
 
5801
    ac_abs_top_srcdir=$srcdir ;;
 
5802
  *) # Relative name.
 
5803
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
5804
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
5805
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
5806
esac
 
5807
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
5808
 
 
5809
 
 
5810
  case $ac_mode in
 
5811
  :F)
 
5812
  #
 
5813
  # CONFIG_FILE
 
5814
  #
5053
5815
 
5054
5816
  case $INSTALL in
5055
5817
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5056
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
5818
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5057
5819
  esac
5058
 
 
5059
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5060
 
  # use $as_me), people would be surprised to read:
5061
 
  #    /* config.h.  Generated by config.status.  */
5062
 
  if test x"$ac_file" = x-; then
5063
 
    configure_input=
5064
 
  else
5065
 
    configure_input="$ac_file.  "
5066
 
  fi
5067
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5068
 
                                     sed 's,.*/,,'` by configure."
5069
 
 
5070
 
  # First look for the input files in the build tree, otherwise in the
5071
 
  # src tree.
5072
 
  ac_file_inputs=`IFS=:
5073
 
    for f in $ac_file_in; do
5074
 
      case $f in
5075
 
      -) echo $tmp/stdin ;;
5076
 
      [\\/$]*)
5077
 
         # Absolute (can't be DOS-style, as IFS=:)
5078
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5079
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5080
 
   { (exit 1); exit 1; }; }
5081
 
         echo "$f";;
5082
 
      *) # Relative
5083
 
         if test -f "$f"; then
5084
 
           # Build tree
5085
 
           echo "$f"
5086
 
         elif test -f "$srcdir/$f"; then
5087
 
           # Source tree
5088
 
           echo "$srcdir/$f"
5089
 
         else
5090
 
           # /dev/null tree
5091
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5092
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5093
 
   { (exit 1); exit 1; }; }
5094
 
         fi;;
5095
 
      esac
5096
 
    done` || { (exit 1); exit 1; }
5097
 
 
5098
 
  if test x"$ac_file" != x-; then
5099
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
5100
 
echo "$as_me: creating $ac_file" >&6;}
5101
 
    rm -f "$ac_file"
5102
 
  fi
5103
 
_ACEOF
 
5820
_ACEOF
 
5821
 
 
5822
cat >>$CONFIG_STATUS <<\_ACEOF
 
5823
# If the template does not know about datarootdir, expand it.
 
5824
# FIXME: This hack should be removed a few years after 2.60.
 
5825
ac_datarootdir_hack=; ac_datarootdir_seen=
 
5826
 
 
5827
case `sed -n '/datarootdir/ {
 
5828
  p
 
5829
  q
 
5830
}
 
5831
/@datadir@/p
 
5832
/@docdir@/p
 
5833
/@infodir@/p
 
5834
/@localedir@/p
 
5835
/@mandir@/p
 
5836
' $ac_file_inputs` in
 
5837
*datarootdir*) ac_datarootdir_seen=yes;;
 
5838
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
5839
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5840
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
5841
_ACEOF
 
5842
cat >>$CONFIG_STATUS <<_ACEOF
 
5843
  ac_datarootdir_hack='
 
5844
  s&@datadir@&$datadir&g
 
5845
  s&@docdir@&$docdir&g
 
5846
  s&@infodir@&$infodir&g
 
5847
  s&@localedir@&$localedir&g
 
5848
  s&@mandir@&$mandir&g
 
5849
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5850
esac
 
5851
_ACEOF
 
5852
 
 
5853
# Neutralize VPATH when `$srcdir' = `.'.
 
5854
# Shell code in configure.ac might set extrasub.
 
5855
# FIXME: do we really want to maintain this feature?
5104
5856
cat >>$CONFIG_STATUS <<_ACEOF
5105
5857
  sed "$ac_vpsub
5106
5858
$extrasub
5108
5860
cat >>$CONFIG_STATUS <<\_ACEOF
5109
5861
:t
5110
5862
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5111
 
s,@configure_input@,$configure_input,;t t
5112
 
s,@srcdir@,$ac_srcdir,;t t
5113
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5114
 
s,@top_srcdir@,$ac_top_srcdir,;t t
5115
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5116
 
s,@builddir@,$ac_builddir,;t t
5117
 
s,@abs_builddir@,$ac_abs_builddir,;t t
5118
 
s,@top_builddir@,$ac_top_builddir,;t t
5119
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5120
 
s,@INSTALL@,$ac_INSTALL,;t t
5121
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5122
 
  rm -f $tmp/stdin
5123
 
  if test x"$ac_file" != x-; then
5124
 
    mv $tmp/out $ac_file
5125
 
  else
5126
 
    cat $tmp/out
5127
 
    rm -f $tmp/out
5128
 
  fi
5129
 
 
5130
 
done
 
5863
s&@configure_input@&$configure_input&;t t
 
5864
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5865
s&@srcdir@&$ac_srcdir&;t t
 
5866
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
5867
s&@top_srcdir@&$ac_top_srcdir&;t t
 
5868
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
5869
s&@builddir@&$ac_builddir&;t t
 
5870
s&@abs_builddir@&$ac_abs_builddir&;t t
 
5871
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
5872
s&@INSTALL@&$ac_INSTALL&;t t
 
5873
$ac_datarootdir_hack
 
5874
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
 
5875
 
 
5876
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
5877
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
5878
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
5879
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5880
which seems to be undefined.  Please make sure it is defined." >&5
 
5881
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5882
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5883
 
 
5884
  rm -f "$tmp/stdin"
 
5885
  case $ac_file in
 
5886
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
5887
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
5888
  esac
 
5889
 ;;
 
5890
  :H)
 
5891
  #
 
5892
  # CONFIG_HEADER
 
5893
  #
5131
5894
_ACEOF
5132
 
cat >>$CONFIG_STATUS <<\_ACEOF
5133
 
 
5134
 
#
5135
 
# CONFIG_HEADER section.
5136
 
#
5137
 
 
5138
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5139
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5140
 
#
5141
 
# ac_d sets the value in "#define NAME VALUE" lines.
5142
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5143
 
ac_dB='[         ].*$,\1#\2'
 
5895
 
 
5896
# Transform confdefs.h into a sed script `conftest.defines', that
 
5897
# substitutes the proper values into config.h.in to produce config.h.
 
5898
rm -f conftest.defines conftest.tail
 
5899
# First, append a space to every undef/define line, to ease matching.
 
5900
echo 's/$/ /' >conftest.defines
 
5901
# Then, protect against being on the right side of a sed subst, or in
 
5902
# an unquoted here document, in config.status.  If some macros were
 
5903
# called several times there might be several #defines for the same
 
5904
# symbol, which is useless.  But do not sort them, since the last
 
5905
# AC_DEFINE must be honored.
 
5906
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
5907
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
5908
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
5909
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
5910
# just an empty string.
 
5911
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
5912
ac_dB='\\)[      (].*,\\1define\\2'
5144
5913
ac_dC=' '
5145
 
ac_dD=',;t'
5146
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5147
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5148
 
ac_uB='$,\1#\2define\3'
5149
 
ac_uC=' '
5150
 
ac_uD=',;t'
5151
 
 
5152
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5153
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5154
 
  case $ac_file in
5155
 
  - | *:- | *:-:* ) # input from stdin
5156
 
        cat >$tmp/stdin
5157
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5158
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5159
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5160
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5161
 
  * )   ac_file_in=$ac_file.in ;;
5162
 
  esac
5163
 
 
5164
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5165
 
echo "$as_me: creating $ac_file" >&6;}
5166
 
 
5167
 
  # First look for the input files in the build tree, otherwise in the
5168
 
  # src tree.
5169
 
  ac_file_inputs=`IFS=:
5170
 
    for f in $ac_file_in; do
5171
 
      case $f in
5172
 
      -) echo $tmp/stdin ;;
5173
 
      [\\/$]*)
5174
 
         # Absolute (can't be DOS-style, as IFS=:)
5175
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5176
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5177
 
   { (exit 1); exit 1; }; }
5178
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
5179
 
         echo "$f";;
5180
 
      *) # Relative
5181
 
         if test -f "$f"; then
5182
 
           # Build tree
5183
 
           echo "$f"
5184
 
         elif test -f "$srcdir/$f"; then
5185
 
           # Source tree
5186
 
           echo "$srcdir/$f"
5187
 
         else
5188
 
           # /dev/null tree
5189
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5190
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5191
 
   { (exit 1); exit 1; }; }
5192
 
         fi;;
5193
 
      esac
5194
 
    done` || { (exit 1); exit 1; }
5195
 
  # Remove the trailing spaces.
5196
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5197
 
 
5198
 
_ACEOF
5199
 
 
5200
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
5201
 
# `conftest.undefs', that substitutes the proper values into
5202
 
# config.h.in to produce config.h.  The first handles `#define'
5203
 
# templates, and the second `#undef' templates.
5204
 
# And first: Protect against being on the right side of a sed subst in
5205
 
# config.status.  Protect against being in an unquoted here document
5206
 
# in config.status.
5207
 
rm -f conftest.defines conftest.undefs
5208
 
# Using a here document instead of a string reduces the quoting nightmare.
5209
 
# Putting comments in sed scripts is not portable.
5210
 
#
5211
 
# `end' is used to avoid that the second main sed command (meant for
5212
 
# 0-ary CPP macros) applies to n-ary macro definitions.
5213
 
# See the Autoconf documentation for `clear'.
5214
 
cat >confdef2sed.sed <<\_ACEOF
5215
 
s/[\\&,]/\\&/g
5216
 
s,[\\$`],\\&,g
5217
 
t clear
5218
 
: clear
5219
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5220
 
t end
5221
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5222
 
: end
5223
 
_ACEOF
5224
 
# If some macros were called several times there might be several times
5225
 
# the same #defines, which is useless.  Nevertheless, we may not want to
5226
 
# sort them, since we want the *last* AC-DEFINE to be honored.
5227
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5228
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5229
 
rm -f confdef2sed.sed
5230
 
 
5231
 
# This sed command replaces #undef with comments.  This is necessary, for
 
5914
ac_dD=' ,'
 
5915
 
 
5916
uniq confdefs.h |
 
5917
  sed -n '
 
5918
        t rset
 
5919
        :rset
 
5920
        s/^[     ]*#[    ]*define[       ][      ]*//
 
5921
        t ok
 
5922
        d
 
5923
        :ok
 
5924
        s/[\\&,]/\\&/g
 
5925
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
5926
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
5927
  ' >>conftest.defines
 
5928
 
 
5929
# Remove the space that was appended to ease matching.
 
5930
# Then replace #undef with comments.  This is necessary, for
5232
5931
# example, in the case of _POSIX_SOURCE, which is predefined and required
5233
5932
# on some systems where configure will not decide to define it.
5234
 
cat >>conftest.undefs <<\_ACEOF
5235
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
5933
# (The regexp can be short, since the line contains either #define or #undef.)
 
5934
echo 's/ $//
 
5935
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
5936
 
 
5937
# Break up conftest.defines:
 
5938
ac_max_sed_lines=50
 
5939
 
 
5940
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
5941
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
5942
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
5943
# et cetera.
 
5944
ac_in='$ac_file_inputs'
 
5945
ac_out='"$tmp/out1"'
 
5946
ac_nxt='"$tmp/out2"'
 
5947
 
 
5948
while :
 
5949
do
 
5950
  # Write a here document:
 
5951
    cat >>$CONFIG_STATUS <<_ACEOF
 
5952
    # First, check the format of the line:
 
5953
    cat >"\$tmp/defines.sed" <<\\CEOF
 
5954
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
5955
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
5956
b
 
5957
:def
5236
5958
_ACEOF
5237
 
 
5238
 
# Break up conftest.defines because some shells have a limit on the size
5239
 
# of here documents, and old seds have small limits too (100 cmds).
5240
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5241
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5242
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5243
 
echo '  :' >>$CONFIG_STATUS
5244
 
rm -f conftest.tail
5245
 
while grep . conftest.defines >/dev/null
5246
 
do
5247
 
  # Write a limited-size here document to $tmp/defines.sed.
5248
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5249
 
  # Speed up: don't consider the non `#define' lines.
5250
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5251
 
  # Work around the forget-to-reset-the-flag bug.
5252
 
  echo 't clr' >>$CONFIG_STATUS
5253
 
  echo ': clr' >>$CONFIG_STATUS
5254
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
5959
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5255
5960
  echo 'CEOF
5256
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5257
 
  rm -f $tmp/in
5258
 
  mv $tmp/out $tmp/in
5259
 
' >>$CONFIG_STATUS
5260
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
5961
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
5962
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
5963
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
5964
  grep . conftest.tail >/dev/null || break
5261
5965
  rm -f conftest.defines
5262
5966
  mv conftest.tail conftest.defines
5263
5967
done
5264
 
rm -f conftest.defines
5265
 
echo '  fi # grep' >>$CONFIG_STATUS
5266
 
echo >>$CONFIG_STATUS
5267
 
 
5268
 
# Break up conftest.undefs because some shells have a limit on the size
5269
 
# of here documents, and old seds have small limits too (100 cmds).
5270
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5271
 
rm -f conftest.tail
5272
 
while grep . conftest.undefs >/dev/null
5273
 
do
5274
 
  # Write a limited-size here document to $tmp/undefs.sed.
5275
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5276
 
  # Speed up: don't consider the non `#undef'
5277
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5278
 
  # Work around the forget-to-reset-the-flag bug.
5279
 
  echo 't clr' >>$CONFIG_STATUS
5280
 
  echo ': clr' >>$CONFIG_STATUS
5281
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5282
 
  echo 'CEOF
5283
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5284
 
  rm -f $tmp/in
5285
 
  mv $tmp/out $tmp/in
5286
 
' >>$CONFIG_STATUS
5287
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5288
 
  rm -f conftest.undefs
5289
 
  mv conftest.tail conftest.undefs
5290
 
done
5291
 
rm -f conftest.undefs
5292
 
 
 
5968
rm -f conftest.defines conftest.tail
 
5969
 
 
5970
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5293
5971
cat >>$CONFIG_STATUS <<\_ACEOF
5294
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5295
 
  # use $as_me), people would be surprised to read:
5296
 
  #    /* config.h.  Generated by config.status.  */
5297
 
  if test x"$ac_file" = x-; then
5298
 
    echo "/* Generated by configure.  */" >$tmp/config.h
5299
 
  else
5300
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5301
 
  fi
5302
 
  cat $tmp/in >>$tmp/config.h
5303
 
  rm -f $tmp/in
5304
5972
  if test x"$ac_file" != x-; then
5305
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
5973
    echo "/* $configure_input  */" >"$tmp/config.h"
 
5974
    cat "$ac_result" >>"$tmp/config.h"
 
5975
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5306
5976
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5307
5977
echo "$as_me: $ac_file is unchanged" >&6;}
5308
5978
    else
5309
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5310
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5311
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5312
 
         X"$ac_file" : 'X\(//\)$' \| \
5313
 
         X"$ac_file" : 'X\(/\)' \| \
5314
 
         .     : '\(.\)' 2>/dev/null ||
5315
 
echo X"$ac_file" |
5316
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5317
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5318
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5319
 
          /^X\(\/\).*/{ s//\1/; q; }
5320
 
          s/.*/./; q'`
5321
 
      { if $as_mkdir_p; then
5322
 
    mkdir -p "$ac_dir"
5323
 
  else
5324
 
    as_dir="$ac_dir"
5325
 
    as_dirs=
5326
 
    while test ! -d "$as_dir"; do
5327
 
      as_dirs="$as_dir $as_dirs"
5328
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5329
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5330
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5331
 
         X"$as_dir" : 'X\(//\)$' \| \
5332
 
         X"$as_dir" : 'X\(/\)' \| \
5333
 
         .     : '\(.\)' 2>/dev/null ||
5334
 
echo X"$as_dir" |
5335
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5336
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5337
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5338
 
          /^X\(\/\).*/{ s//\1/; q; }
5339
 
          s/.*/./; q'`
5340
 
    done
5341
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5342
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5343
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5344
 
   { (exit 1); exit 1; }; }; }
5345
 
 
5346
5979
      rm -f $ac_file
5347
 
      mv $tmp/config.h $ac_file
 
5980
      mv "$tmp/config.h" $ac_file
5348
5981
    fi
5349
5982
  else
5350
 
    cat $tmp/config.h
5351
 
    rm -f $tmp/config.h
 
5983
    echo "/* $configure_input  */"
 
5984
    cat "$ac_result"
5352
5985
  fi
 
5986
  rm -f "$tmp/out12"
5353
5987
# Compute $ac_file's index in $config_headers.
5354
5988
_am_stamp_count=1
5355
5989
for _am_header in $config_headers :; do
5360
5994
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5361
5995
  esac
5362
5996
done
5363
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
5997
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5364
5998
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5365
5999
         X$ac_file : 'X\(//\)[^/]' \| \
5366
6000
         X$ac_file : 'X\(//\)$' \| \
5367
 
         X$ac_file : 'X\(/\)' \| \
5368
 
         .     : '\(.\)' 2>/dev/null ||
 
6001
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5369
6002
echo X$ac_file |
5370
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5371
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5372
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5373
 
          /^X\(\/\).*/{ s//\1/; q; }
5374
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
5375
 
done
5376
 
_ACEOF
5377
 
cat >>$CONFIG_STATUS <<\_ACEOF
5378
 
 
5379
 
#
5380
 
# CONFIG_COMMANDS section.
5381
 
#
5382
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5383
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5384
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5385
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5386
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5387
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5388
 
         X"$ac_dest" : 'X\(//\)$' \| \
5389
 
         X"$ac_dest" : 'X\(/\)' \| \
5390
 
         .     : '\(.\)' 2>/dev/null ||
5391
 
echo X"$ac_dest" |
5392
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5393
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5394
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5395
 
          /^X\(\/\).*/{ s//\1/; q; }
5396
 
          s/.*/./; q'`
5397
 
  { if $as_mkdir_p; then
5398
 
    mkdir -p "$ac_dir"
5399
 
  else
5400
 
    as_dir="$ac_dir"
5401
 
    as_dirs=
5402
 
    while test ! -d "$as_dir"; do
5403
 
      as_dirs="$as_dir $as_dirs"
5404
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5405
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5406
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5407
 
         X"$as_dir" : 'X\(//\)$' \| \
5408
 
         X"$as_dir" : 'X\(/\)' \| \
5409
 
         .     : '\(.\)' 2>/dev/null ||
5410
 
echo X"$as_dir" |
5411
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5412
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5413
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5414
 
          /^X\(\/\).*/{ s//\1/; q; }
5415
 
          s/.*/./; q'`
5416
 
    done
5417
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5418
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5419
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5420
 
   { (exit 1); exit 1; }; }; }
5421
 
 
5422
 
  ac_builddir=.
5423
 
 
5424
 
if test "$ac_dir" != .; then
5425
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5426
 
  # A "../" for each directory in $ac_dir_suffix.
5427
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5428
 
else
5429
 
  ac_dir_suffix= ac_top_builddir=
5430
 
fi
5431
 
 
5432
 
case $srcdir in
5433
 
  .)  # No --srcdir option.  We are building in place.
5434
 
    ac_srcdir=.
5435
 
    if test -z "$ac_top_builddir"; then
5436
 
       ac_top_srcdir=.
5437
 
    else
5438
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5439
 
    fi ;;
5440
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
5441
 
    ac_srcdir=$srcdir$ac_dir_suffix;
5442
 
    ac_top_srcdir=$srcdir ;;
5443
 
  *) # Relative path.
5444
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5445
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5446
 
esac
5447
 
 
5448
 
# Do not use `cd foo && pwd` to compute absolute paths, because
5449
 
# the directories may not exist.
5450
 
case `pwd` in
5451
 
.) ac_abs_builddir="$ac_dir";;
5452
 
*)
5453
 
  case "$ac_dir" in
5454
 
  .) ac_abs_builddir=`pwd`;;
5455
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5456
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5457
 
  esac;;
5458
 
esac
5459
 
case $ac_abs_builddir in
5460
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5461
 
*)
5462
 
  case ${ac_top_builddir}. in
5463
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
5464
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5465
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5466
 
  esac;;
5467
 
esac
5468
 
case $ac_abs_builddir in
5469
 
.) ac_abs_srcdir=$ac_srcdir;;
5470
 
*)
5471
 
  case $ac_srcdir in
5472
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
5473
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5474
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5475
 
  esac;;
5476
 
esac
5477
 
case $ac_abs_builddir in
5478
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5479
 
*)
5480
 
  case $ac_top_srcdir in
5481
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5482
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5483
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5484
 
  esac;;
5485
 
esac
5486
 
 
5487
 
 
5488
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5489
 
echo "$as_me: executing $ac_dest commands" >&6;}
5490
 
  case $ac_dest in
5491
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
6003
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6004
            s//\1/
 
6005
            q
 
6006
          }
 
6007
          /^X\(\/\/\)[^/].*/{
 
6008
            s//\1/
 
6009
            q
 
6010
          }
 
6011
          /^X\(\/\/\)$/{
 
6012
            s//\1/
 
6013
            q
 
6014
          }
 
6015
          /^X\(\/\).*/{
 
6016
            s//\1/
 
6017
            q
 
6018
          }
 
6019
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6020
 ;;
 
6021
 
 
6022
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6023
echo "$as_me: executing $ac_file commands" >&6;}
 
6024
 ;;
 
6025
  esac
 
6026
 
 
6027
 
 
6028
  case $ac_file$ac_mode in
 
6029
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5492
6030
  # Strip MF so we end up with the name of the file.
5493
6031
  mf=`echo "$mf" | sed -e 's/:.*$//'`
5494
6032
  # Check whether this is an Automake generated Makefile or not.
5498
6036
  # each Makefile.in and add a new line on top of each file to say so.
5499
6037
  # So let's grep whole file.
5500
6038
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5501
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
6039
    dirpart=`$as_dirname -- "$mf" ||
5502
6040
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5503
6041
         X"$mf" : 'X\(//\)[^/]' \| \
5504
6042
         X"$mf" : 'X\(//\)$' \| \
5505
 
         X"$mf" : 'X\(/\)' \| \
5506
 
         .     : '\(.\)' 2>/dev/null ||
 
6043
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5507
6044
echo X"$mf" |
5508
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5509
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5510
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5511
 
          /^X\(\/\).*/{ s//\1/; q; }
5512
 
          s/.*/./; q'`
 
6045
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6046
            s//\1/
 
6047
            q
 
6048
          }
 
6049
          /^X\(\/\/\)[^/].*/{
 
6050
            s//\1/
 
6051
            q
 
6052
          }
 
6053
          /^X\(\/\/\)$/{
 
6054
            s//\1/
 
6055
            q
 
6056
          }
 
6057
          /^X\(\/\).*/{
 
6058
            s//\1/
 
6059
            q
 
6060
          }
 
6061
          s/.*/./; q'`
5513
6062
  else
5514
6063
    continue
5515
6064
  fi
5531
6080
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5532
6081
    # Make sure the directory exists.
5533
6082
    test -f "$dirpart/$file" && continue
5534
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
6083
    fdir=`$as_dirname -- "$file" ||
5535
6084
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5536
6085
         X"$file" : 'X\(//\)[^/]' \| \
5537
6086
         X"$file" : 'X\(//\)$' \| \
5538
 
         X"$file" : 'X\(/\)' \| \
5539
 
         .     : '\(.\)' 2>/dev/null ||
 
6087
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5540
6088
echo X"$file" |
5541
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5542
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5543
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5544
 
          /^X\(\/\).*/{ s//\1/; q; }
5545
 
          s/.*/./; q'`
5546
 
    { if $as_mkdir_p; then
5547
 
    mkdir -p $dirpart/$fdir
5548
 
  else
5549
 
    as_dir=$dirpart/$fdir
 
6089
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6090
            s//\1/
 
6091
            q
 
6092
          }
 
6093
          /^X\(\/\/\)[^/].*/{
 
6094
            s//\1/
 
6095
            q
 
6096
          }
 
6097
          /^X\(\/\/\)$/{
 
6098
            s//\1/
 
6099
            q
 
6100
          }
 
6101
          /^X\(\/\).*/{
 
6102
            s//\1/
 
6103
            q
 
6104
          }
 
6105
          s/.*/./; q'`
 
6106
    { as_dir=$dirpart/$fdir
 
6107
  case $as_dir in #(
 
6108
  -*) as_dir=./$as_dir;;
 
6109
  esac
 
6110
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5550
6111
    as_dirs=
5551
 
    while test ! -d "$as_dir"; do
5552
 
      as_dirs="$as_dir $as_dirs"
5553
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6112
    while :; do
 
6113
      case $as_dir in #(
 
6114
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
6115
      *) as_qdir=$as_dir;;
 
6116
      esac
 
6117
      as_dirs="'$as_qdir' $as_dirs"
 
6118
      as_dir=`$as_dirname -- "$as_dir" ||
5554
6119
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5555
6120
         X"$as_dir" : 'X\(//\)[^/]' \| \
5556
6121
         X"$as_dir" : 'X\(//\)$' \| \
5557
 
         X"$as_dir" : 'X\(/\)' \| \
5558
 
         .     : '\(.\)' 2>/dev/null ||
 
6122
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5559
6123
echo X"$as_dir" |
5560
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5561
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5562
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5563
 
          /^X\(\/\).*/{ s//\1/; q; }
5564
 
          s/.*/./; q'`
 
6124
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6125
            s//\1/
 
6126
            q
 
6127
          }
 
6128
          /^X\(\/\/\)[^/].*/{
 
6129
            s//\1/
 
6130
            q
 
6131
          }
 
6132
          /^X\(\/\/\)$/{
 
6133
            s//\1/
 
6134
            q
 
6135
          }
 
6136
          /^X\(\/\).*/{
 
6137
            s//\1/
 
6138
            q
 
6139
          }
 
6140
          s/.*/./; q'`
 
6141
      test -d "$as_dir" && break
5565
6142
    done
5566
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5567
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5568
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
6143
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
6144
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
6145
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5569
6146
   { (exit 1); exit 1; }; }; }
5570
 
 
5571
6147
    # echo "creating $dirpart/$file"
5572
6148
    echo '# dummy' > "$dirpart/$file"
5573
6149
  done
5574
6150
done
5575
6151
 ;;
5576
 
    default )  ;;
 
6152
    "default":C)  ;;
 
6153
 
5577
6154
  esac
5578
 
done
5579
 
_ACEOF
 
6155
done # for ac_tag
5580
6156
 
5581
 
cat >>$CONFIG_STATUS <<\_ACEOF
5582
6157
 
5583
6158
{ (exit 0); exit 0; }
5584
6159
_ACEOF