~ubuntu-branches/ubuntu/quantal/libcm/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier, Josselin Mouette, Loic Minier
  • Date: 2008-05-26 14:43:19 UTC
  • mfrom: (3.1.4 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080526144319-ddwovigo7i925ewr
Tags: 0.1.1-4
[ Josselin Mouette ]
* Allow libgl-dev and libglu-dev as alternative dependencies for
  libcm-dev. Closes: #478887.

[ Loic Minier ]
* Don't copy config.guess/.sub after unpatch in clean; should avoid having
  them in the .diff.gz -- not needed as we always update them after patching
  anyway -- and should fix conversion to source format 3.0; closes: #482728.
* Stop shipping *.la files.

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 libcm 0.0.16.
 
3
# Generated by GNU Autoconf 2.60 for libcm 0.1.1.
4
4
#
5
5
# Report bugs to <sandmann@redhat.com>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
18
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
20
  # is contrary to our usage.  Disable this feature.
20
21
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
 
22
  setopt NO_GLOB_SUBST
 
23
else
 
24
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
25
fi
 
26
BIN_SH=xpg4; export BIN_SH # for Tru64
24
27
DUALCASE=1; export DUALCASE # for MKS sh
25
28
 
 
29
 
 
30
# PATH needs CR
 
31
# Avoid depending upon Character Ranges.
 
32
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
33
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
34
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
35
as_cr_digits='0123456789'
 
36
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
37
 
 
38
# The user is always right.
 
39
if test "${PATH_SEPARATOR+set}" != set; then
 
40
  echo "#! /bin/sh" >conf$$.sh
 
41
  echo  "exit 0"   >>conf$$.sh
 
42
  chmod +x conf$$.sh
 
43
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
44
    PATH_SEPARATOR=';'
 
45
  else
 
46
    PATH_SEPARATOR=:
 
47
  fi
 
48
  rm -f conf$$.sh
 
49
fi
 
50
 
26
51
# Support unset when possible.
27
52
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
53
  as_unset=unset
31
56
fi
32
57
 
33
58
 
 
59
# IFS
 
60
# We need space, tab and new line, in precisely that order.  Quoting is
 
61
# there to prevent editors from complaining about space-tab.
 
62
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
63
# splitting by setting IFS to empty value.)
 
64
as_nl='
 
65
'
 
66
IFS=" ""        $as_nl"
 
67
 
 
68
# Find who we are.  Look in the path if we contain no directory separator.
 
69
case $0 in
 
70
  *[\\/]* ) as_myself=$0 ;;
 
71
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
72
for as_dir in $PATH
 
73
do
 
74
  IFS=$as_save_IFS
 
75
  test -z "$as_dir" && as_dir=.
 
76
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
77
done
 
78
IFS=$as_save_IFS
 
79
 
 
80
     ;;
 
81
esac
 
82
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
83
# in which case we are not to be found in the path.
 
84
if test "x$as_myself" = x; then
 
85
  as_myself=$0
 
86
fi
 
87
if test ! -f "$as_myself"; then
 
88
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
89
  { (exit 1); exit 1; }
 
90
fi
 
91
 
34
92
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
93
for as_var in ENV MAIL MAILPATH
 
94
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
95
done
36
96
PS1='$ '
37
97
PS2='> '
38
98
PS4='+ '
46
106
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
107
    eval $as_var=C; export $as_var
48
108
  else
49
 
    $as_unset $as_var
 
109
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
110
  fi
51
111
done
52
112
 
53
113
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
114
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
115
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
116
  as_expr=expr
56
117
else
57
118
  as_expr=false
58
119
fi
59
120
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
121
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
122
  as_basename=basename
62
123
else
63
124
  as_basename=false
65
126
 
66
127
 
67
128
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
132
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
133
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
134
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
135
            s//\1/
 
136
            q
 
137
          }
 
138
          /^X\/\(\/\/\)$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\).*/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          s/.*/./; q'`
 
147
 
 
148
# CDPATH.
 
149
$as_unset CDPATH
 
150
 
 
151
 
 
152
if test "x$CONFIG_SHELL" = x; then
 
153
  if (eval ":") 2>/dev/null; then
 
154
  as_have_required=yes
 
155
else
 
156
  as_have_required=no
 
157
fi
 
158
 
 
159
  if test $as_have_required = yes &&     (eval ":
 
160
(as_func_return () {
 
161
  (exit \$1)
 
162
}
 
163
as_func_success () {
 
164
  as_func_return 0
 
165
}
 
166
as_func_failure () {
 
167
  as_func_return 1
 
168
}
 
169
as_func_ret_success () {
 
170
  return 0
 
171
}
 
172
as_func_ret_failure () {
 
173
  return 1
 
174
}
 
175
 
 
176
exitcode=0
 
177
if as_func_success; then
 
178
  :
 
179
else
 
180
  exitcode=1
 
181
  echo as_func_success failed.
 
182
fi
 
183
 
 
184
if as_func_failure; then
 
185
  exitcode=1
 
186
  echo as_func_failure succeeded.
 
187
fi
 
188
 
 
189
if as_func_ret_success; then
 
190
  :
 
191
else
 
192
  exitcode=1
 
193
  echo as_func_ret_success failed.
 
194
fi
 
195
 
 
196
if as_func_ret_failure; then
 
197
  exitcode=1
 
198
  echo as_func_ret_failure succeeded.
 
199
fi
 
200
 
 
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
202
  :
 
203
else
 
204
  exitcode=1
 
205
  echo positional parameters were not saved.
 
206
fi
 
207
 
 
208
test \$exitcode = 0) || { (exit 1); exit 1; }
 
209
 
 
210
(
 
211
  as_lineno_1=\$LINENO
 
212
  as_lineno_2=\$LINENO
 
213
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
214
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
215
") 2> /dev/null; then
 
216
  :
 
217
else
 
218
  as_candidate_shells=
132
219
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
do
135
222
  IFS=$as_save_IFS
136
223
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
224
  case $as_dir in
139
225
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
226
           for as_base in sh bash ksh sh5; do
 
227
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
228
           done;;
 
229
       esac
154
230
done
155
 
;;
156
 
  esac
 
231
IFS=$as_save_IFS
 
232
 
 
233
 
 
234
      for as_shell in $as_candidate_shells $SHELL; do
 
235
         # Try only shells that exist, to save several forks.
 
236
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
237
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
238
# Be Bourne compatible
 
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
240
  emulate sh
 
241
  NULLCMD=:
 
242
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
243
  # is contrary to our usage.  Disable this feature.
 
244
  alias -g '${1+"$@"}'='"$@"'
 
245
  setopt NO_GLOB_SUBST
 
246
else
 
247
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
248
fi
 
249
BIN_SH=xpg4; export BIN_SH # for Tru64
 
250
DUALCASE=1; export DUALCASE # for MKS sh
 
251
 
 
252
:
 
253
_ASEOF
 
254
}; then
 
255
  CONFIG_SHELL=$as_shell
 
256
               as_have_required=yes
 
257
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
258
# Be Bourne compatible
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
260
  emulate sh
 
261
  NULLCMD=:
 
262
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
263
  # is contrary to our usage.  Disable this feature.
 
264
  alias -g '${1+"$@"}'='"$@"'
 
265
  setopt NO_GLOB_SUBST
 
266
else
 
267
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
268
fi
 
269
BIN_SH=xpg4; export BIN_SH # for Tru64
 
270
DUALCASE=1; export DUALCASE # for MKS sh
 
271
 
 
272
:
 
273
(as_func_return () {
 
274
  (exit $1)
 
275
}
 
276
as_func_success () {
 
277
  as_func_return 0
 
278
}
 
279
as_func_failure () {
 
280
  as_func_return 1
 
281
}
 
282
as_func_ret_success () {
 
283
  return 0
 
284
}
 
285
as_func_ret_failure () {
 
286
  return 1
 
287
}
 
288
 
 
289
exitcode=0
 
290
if as_func_success; then
 
291
  :
 
292
else
 
293
  exitcode=1
 
294
  echo as_func_success failed.
 
295
fi
 
296
 
 
297
if as_func_failure; then
 
298
  exitcode=1
 
299
  echo as_func_failure succeeded.
 
300
fi
 
301
 
 
302
if as_func_ret_success; then
 
303
  :
 
304
else
 
305
  exitcode=1
 
306
  echo as_func_ret_success failed.
 
307
fi
 
308
 
 
309
if as_func_ret_failure; then
 
310
  exitcode=1
 
311
  echo as_func_ret_failure succeeded.
 
312
fi
 
313
 
 
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
315
  :
 
316
else
 
317
  exitcode=1
 
318
  echo positional parameters were not saved.
 
319
fi
 
320
 
 
321
test $exitcode = 0) || { (exit 1); exit 1; }
 
322
 
 
323
(
 
324
  as_lineno_1=$LINENO
 
325
  as_lineno_2=$LINENO
 
326
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
327
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
328
 
 
329
_ASEOF
 
330
}; then
 
331
  break
 
332
fi
 
333
 
 
334
fi
 
335
 
 
336
      done
 
337
 
 
338
      if test "x$CONFIG_SHELL" != x; then
 
339
  for as_var in BASH_ENV ENV
 
340
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
341
        done
 
342
        export CONFIG_SHELL
 
343
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
344
fi
 
345
 
 
346
 
 
347
    if test $as_have_required = no; then
 
348
  echo This script requires a shell more modern than all the
 
349
      echo shells that I found on your system.  Please install a
 
350
      echo modern shell, or manually run the script under such a
 
351
      echo shell if you do have one.
 
352
      { (exit 1); exit 1; }
 
353
fi
 
354
 
 
355
 
 
356
fi
 
357
 
 
358
fi
 
359
 
 
360
 
 
361
 
 
362
(eval "as_func_return () {
 
363
  (exit \$1)
 
364
}
 
365
as_func_success () {
 
366
  as_func_return 0
 
367
}
 
368
as_func_failure () {
 
369
  as_func_return 1
 
370
}
 
371
as_func_ret_success () {
 
372
  return 0
 
373
}
 
374
as_func_ret_failure () {
 
375
  return 1
 
376
}
 
377
 
 
378
exitcode=0
 
379
if as_func_success; then
 
380
  :
 
381
else
 
382
  exitcode=1
 
383
  echo as_func_success failed.
 
384
fi
 
385
 
 
386
if as_func_failure; then
 
387
  exitcode=1
 
388
  echo as_func_failure succeeded.
 
389
fi
 
390
 
 
391
if as_func_ret_success; then
 
392
  :
 
393
else
 
394
  exitcode=1
 
395
  echo as_func_ret_success failed.
 
396
fi
 
397
 
 
398
if as_func_ret_failure; then
 
399
  exitcode=1
 
400
  echo as_func_ret_failure succeeded.
 
401
fi
 
402
 
 
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
404
  :
 
405
else
 
406
  exitcode=1
 
407
  echo positional parameters were not saved.
 
408
fi
 
409
 
 
410
test \$exitcode = 0") || {
 
411
  echo No shell found that supports shell functions.
 
412
  echo Please tell autoconf@gnu.org about your system,
 
413
  echo including any error possibly output before this
 
414
  echo message
 
415
}
 
416
 
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO
 
420
  as_lineno_2=$LINENO
 
421
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
422
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
423
 
158
424
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
426
  # line-number line after each line using $LINENO; the second 'sed'
 
427
  # does the real work.  The second script uses 'N' to pair each
 
428
  # line-number line with the line containing $LINENO, and appends
 
429
  # trailing '-' during substitution so that $LINENO is not a special
 
430
  # case at line end.
164
431
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
432
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
433
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
434
  sed -n '
 
435
    p
 
436
    /[$]LINENO/=
 
437
  ' <$as_myself |
167
438
    sed '
 
439
      s/[$]LINENO.*/&-/
 
440
      t lineno
 
441
      b
 
442
      :lineno
168
443
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
444
      :loop
 
445
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
446
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
447
      s/-\n.*//
175
448
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
449
  chmod +x "$as_me.lineno" ||
177
450
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
   { (exit 1); exit 1; }; }
179
452
 
180
453
  # Don't try to exec as it changes $[0], causing all sort of problems
181
454
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
455
  # original and so on.  Autoconf is especially sensitive to this).
 
456
  . "./$as_me.lineno"
184
457
  # Exit status is that of the last command.
185
458
  exit
186
459
}
187
460
 
188
461
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
463
  as_dirname=dirname
 
464
else
 
465
  as_dirname=false
 
466
fi
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in
 
470
-n*)
 
471
  case `echo 'x\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  *)   ECHO_C='\c';;
 
474
  esac;;
 
475
*)
 
476
  ECHO_N='-n';;
194
477
esac
195
478
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
480
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
481
  as_expr=expr
198
482
else
199
483
  as_expr=false
200
484
fi
201
485
 
202
486
rm -f conf$$ conf$$.exe conf$$.file
 
487
if test -d conf$$.dir; then
 
488
  rm -f conf$$.dir/conf$$.file
 
489
else
 
490
  rm -f conf$$.dir
 
491
  mkdir conf$$.dir
 
492
fi
203
493
echo >conf$$.file
204
494
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
495
  as_ln_s='ln -s'
 
496
  # ... but there are two gotchas:
 
497
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
498
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
499
  # In both cases, we have to default to `cp -p'.
 
500
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
501
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
214
503
  as_ln_s=ln
215
504
else
216
505
  as_ln_s='cp -p'
217
506
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
508
rmdir conf$$.dir 2>/dev/null
219
509
 
220
510
if mkdir -p . 2>/dev/null; then
221
511
  as_mkdir_p=:
224
514
  as_mkdir_p=false
225
515
fi
226
516
 
227
 
as_executable_p="test -f"
 
517
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
518
# systems may use methods other than mode bits to determine executability.
 
519
cat >conf$$.file <<_ASEOF
 
520
#! /bin/sh
 
521
exit 0
 
522
_ASEOF
 
523
chmod +x conf$$.file
 
524
if test -x conf$$.file >/dev/null 2>&1; then
 
525
  as_executable_p="test -x"
 
526
else
 
527
  as_executable_p=:
 
528
fi
 
529
rm -f conf$$.file
228
530
 
229
531
# Sed expression to map a string onto a valid CPP name.
230
532
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
535
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
536
 
235
537
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
538
 
246
539
 
247
540
# Check that we are running under the correct shell.
397
690
 
398
691
tagnames=${tagnames+${tagnames},}F77
399
692
 
 
693
exec 7<&0 </dev/null 6>&1
 
694
 
400
695
# Name of the host.
401
696
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
697
# so uname gets run too.
403
698
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
699
 
405
 
exec 6>&1
406
 
 
407
700
#
408
701
# Initializations.
409
702
#
410
703
ac_default_prefix=/usr/local
 
704
ac_clean_files=
411
705
ac_config_libobj_dir=.
 
706
LIBOBJS=
412
707
cross_compiling=no
413
708
subdirs=
414
709
MFLAGS=
415
710
MAKEFLAGS=
416
711
SHELL=${CONFIG_SHELL-/bin/sh}
417
712
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
713
# Identity of this package.
424
714
PACKAGE_NAME='libcm'
425
715
PACKAGE_TARNAME='libcm'
426
 
PACKAGE_VERSION='0.0.16'
427
 
PACKAGE_STRING='libcm 0.0.16'
 
716
PACKAGE_VERSION='0.1.1'
 
717
PACKAGE_STRING='libcm 0.1.1'
428
718
PACKAGE_BUGREPORT='sandmann@redhat.com'
429
719
 
430
720
# Factoring default headers for most tests.
455
745
#endif
456
746
#if HAVE_INTTYPES_H
457
747
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
 
748
#endif
 
749
#if HAVE_STDINT_H
 
750
# include <stdint.h>
462
751
#endif
463
752
#if HAVE_UNISTD_H
464
753
# include <unistd.h>
465
754
#endif"
466
755
 
467
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG ac_pt_PKG_CONFIG DEP_CFLAGS DEP_LIBS LIBOBJS LTLIBOBJS'
 
756
ac_subst_vars='SHELL
 
757
PATH_SEPARATOR
 
758
PACKAGE_NAME
 
759
PACKAGE_TARNAME
 
760
PACKAGE_VERSION
 
761
PACKAGE_STRING
 
762
PACKAGE_BUGREPORT
 
763
exec_prefix
 
764
prefix
 
765
program_transform_name
 
766
bindir
 
767
sbindir
 
768
libexecdir
 
769
datarootdir
 
770
datadir
 
771
sysconfdir
 
772
sharedstatedir
 
773
localstatedir
 
774
includedir
 
775
oldincludedir
 
776
docdir
 
777
infodir
 
778
htmldir
 
779
dvidir
 
780
pdfdir
 
781
psdir
 
782
libdir
 
783
localedir
 
784
mandir
 
785
DEFS
 
786
ECHO_C
 
787
ECHO_N
 
788
ECHO_T
 
789
LIBS
 
790
build_alias
 
791
host_alias
 
792
target_alias
 
793
INSTALL_PROGRAM
 
794
INSTALL_SCRIPT
 
795
INSTALL_DATA
 
796
CYGPATH_W
 
797
PACKAGE
 
798
VERSION
 
799
ACLOCAL
 
800
AUTOCONF
 
801
AUTOMAKE
 
802
AUTOHEADER
 
803
MAKEINFO
 
804
install_sh
 
805
STRIP
 
806
INSTALL_STRIP_PROGRAM
 
807
mkdir_p
 
808
AWK
 
809
SET_MAKE
 
810
am__leading_dot
 
811
AMTAR
 
812
am__tar
 
813
am__untar
 
814
MAINTAINER_MODE_TRUE
 
815
MAINTAINER_MODE_FALSE
 
816
MAINT
 
817
CC
 
818
CFLAGS
 
819
LDFLAGS
 
820
CPPFLAGS
 
821
ac_ct_CC
 
822
EXEEXT
 
823
OBJEXT
 
824
DEPDIR
 
825
am__include
 
826
am__quote
 
827
AMDEP_TRUE
 
828
AMDEP_FALSE
 
829
AMDEPBACKSLASH
 
830
CCDEPMODE
 
831
am__fastdepCC_TRUE
 
832
am__fastdepCC_FALSE
 
833
CPP
 
834
GREP
 
835
EGREP
 
836
build
 
837
build_cpu
 
838
build_vendor
 
839
build_os
 
840
host
 
841
host_cpu
 
842
host_vendor
 
843
host_os
 
844
LN_S
 
845
ECHO
 
846
AR
 
847
RANLIB
 
848
CXX
 
849
CXXFLAGS
 
850
ac_ct_CXX
 
851
CXXDEPMODE
 
852
am__fastdepCXX_TRUE
 
853
am__fastdepCXX_FALSE
 
854
CXXCPP
 
855
F77
 
856
FFLAGS
 
857
ac_ct_F77
 
858
LIBTOOL
 
859
PKG_CONFIG
 
860
DEP_CFLAGS
 
861
DEP_LIBS
 
862
LIBOBJS
 
863
LTLIBOBJS'
468
864
ac_subst_files=''
 
865
      ac_precious_vars='build_alias
 
866
host_alias
 
867
target_alias
 
868
CC
 
869
CFLAGS
 
870
LDFLAGS
 
871
CPPFLAGS
 
872
CPP
 
873
CXX
 
874
CXXFLAGS
 
875
CCC
 
876
CXXCPP
 
877
F77
 
878
FFLAGS
 
879
PKG_CONFIG
 
880
DEP_CFLAGS
 
881
DEP_LIBS'
 
882
 
469
883
 
470
884
# Initialize some variables set by options.
471
885
ac_init_help=
492
906
# and all the variables that are supposed to be based on exec_prefix
493
907
# by default will actually change.
494
908
# Use braces instead of parens because sh, perl, etc. also accept them.
 
909
# (The list follows the same order as the GNU Coding Standards.)
495
910
bindir='${exec_prefix}/bin'
496
911
sbindir='${exec_prefix}/sbin'
497
912
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
913
datarootdir='${prefix}/share'
 
914
datadir='${datarootdir}'
499
915
sysconfdir='${prefix}/etc'
500
916
sharedstatedir='${prefix}/com'
501
917
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
918
includedir='${prefix}/include'
504
919
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
920
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
921
infodir='${datarootdir}/info'
 
922
htmldir='${docdir}'
 
923
dvidir='${docdir}'
 
924
pdfdir='${docdir}'
 
925
psdir='${docdir}'
 
926
libdir='${exec_prefix}/lib'
 
927
localedir='${datarootdir}/locale'
 
928
mandir='${datarootdir}/man'
507
929
 
508
930
ac_prev=
 
931
ac_dashdash=
509
932
for ac_option
510
933
do
511
934
  # If the previous option needs an argument, assign it.
512
935
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
936
    eval $ac_prev=\$ac_option
514
937
    ac_prev=
515
938
    continue
516
939
  fi
517
940
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
941
  case $ac_option in
 
942
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
943
  *)    ac_optarg=yes ;;
 
944
  esac
519
945
 
520
946
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
947
 
522
 
  case $ac_option in
 
948
  case $ac_dashdash$ac_option in
 
949
  --)
 
950
    ac_dashdash=yes ;;
523
951
 
524
952
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
953
    ac_prev=bindir ;;
541
969
  --config-cache | -C)
542
970
    cache_file=config.cache ;;
543
971
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
972
  -datadir | --datadir | --datadi | --datad)
545
973
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
974
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
975
    datadir=$ac_optarg ;;
549
976
 
 
977
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
978
  | --dataroo | --dataro | --datar)
 
979
    ac_prev=datarootdir ;;
 
980
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
981
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
982
    datarootdir=$ac_optarg ;;
 
983
 
550
984
  -disable-* | --disable-*)
551
985
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
986
    # Reject names that are not valid shell variable names.
554
988
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
989
   { (exit 1); exit 1; }; }
556
990
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
991
    eval enable_$ac_feature=no ;;
 
992
 
 
993
  -docdir | --docdir | --docdi | --doc | --do)
 
994
    ac_prev=docdir ;;
 
995
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
996
    docdir=$ac_optarg ;;
 
997
 
 
998
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
999
    ac_prev=dvidir ;;
 
1000
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1001
    dvidir=$ac_optarg ;;
558
1002
 
559
1003
  -enable-* | --enable-*)
560
1004
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563
1007
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1008
   { (exit 1); exit 1; }; }
565
1009
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1010
    eval enable_$ac_feature=\$ac_optarg ;;
571
1011
 
572
1012
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1013
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1034
  -host=* | --host=* | --hos=* | --ho=*)
595
1035
    host_alias=$ac_optarg ;;
596
1036
 
 
1037
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1038
    ac_prev=htmldir ;;
 
1039
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1040
  | --ht=*)
 
1041
    htmldir=$ac_optarg ;;
 
1042
 
597
1043
  -includedir | --includedir | --includedi | --included | --include \
598
1044
  | --includ | --inclu | --incl | --inc)
599
1045
    ac_prev=includedir ;;
618
1064
  | --libexe=* | --libex=* | --libe=*)
619
1065
    libexecdir=$ac_optarg ;;
620
1066
 
 
1067
  -localedir | --localedir | --localedi | --localed | --locale)
 
1068
    ac_prev=localedir ;;
 
1069
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1070
    localedir=$ac_optarg ;;
 
1071
 
621
1072
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1073
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1074
    ac_prev=localstatedir ;;
625
1075
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1076
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1077
    localstatedir=$ac_optarg ;;
629
1078
 
630
1079
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1138
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1139
    program_transform_name=$ac_optarg ;;
691
1140
 
 
1141
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1142
    ac_prev=pdfdir ;;
 
1143
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1144
    pdfdir=$ac_optarg ;;
 
1145
 
 
1146
  -psdir | --psdir | --psdi | --psd | --ps)
 
1147
    ac_prev=psdir ;;
 
1148
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1149
    psdir=$ac_optarg ;;
 
1150
 
692
1151
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1152
  | -silent | --silent | --silen | --sile | --sil)
694
1153
    silent=yes ;;
745
1204
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1205
   { (exit 1); exit 1; }; }
747
1206
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1207
    eval with_$ac_package=\$ac_optarg ;;
753
1208
 
754
1209
  -without-* | --without-*)
755
1210
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758
1213
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1214
   { (exit 1); exit 1; }; }
760
1215
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1216
    eval with_$ac_package=no ;;
762
1217
 
763
1218
  --x)
764
1219
    # Obsolete; use --with-x.
789
1244
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1245
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1246
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1247
    eval $ac_envvar=\$ac_optarg
794
1248
    export $ac_envvar ;;
795
1249
 
796
1250
  *)
810
1264
   { (exit 1); exit 1; }; }
811
1265
fi
812
1266
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1267
# Be sure to have absolute directory names.
 
1268
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1269
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1270
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1271
                libdir localedir mandir
 
1272
do
 
1273
  eval ac_val=\$$ac_var
 
1274
  case $ac_val in
 
1275
    [\\/$]* | ?:[\\/]* )  continue;;
 
1276
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1277
  esac
 
1278
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1279
   { (exit 1); exit 1; }; }
834
1280
done
835
1281
 
836
1282
# There might be people who depend on the old broken behavior: `$host'
857
1303
test "$silent" = yes && exec 6>/dev/null
858
1304
 
859
1305
 
 
1306
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1307
ac_ls_di=`ls -di .` &&
 
1308
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1309
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1310
   { (exit 1); exit 1; }; }
 
1311
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1312
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1313
   { (exit 1); exit 1; }; }
 
1314
 
 
1315
 
860
1316
# Find the source files, if location was not specified.
861
1317
if test -z "$srcdir"; then
862
1318
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1319
  # Try the directory containing this script, then the parent directory.
 
1320
  ac_confdir=`$as_dirname -- "$0" ||
865
1321
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1322
         X"$0" : 'X\(//\)[^/]' \| \
867
1323
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1324
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1325
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1326
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1327
            s//\1/
 
1328
            q
 
1329
          }
 
1330
          /^X\(\/\/\)[^/].*/{
 
1331
            s//\1/
 
1332
            q
 
1333
          }
 
1334
          /^X\(\/\/\)$/{
 
1335
            s//\1/
 
1336
            q
 
1337
          }
 
1338
          /^X\(\/\).*/{
 
1339
            s//\1/
 
1340
            q
 
1341
          }
 
1342
          s/.*/./; q'`
876
1343
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1344
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1345
    srcdir=..
879
1346
  fi
880
1347
else
881
1348
  ac_srcdir_defaulted=no
882
1349
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
948
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
949
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
950
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
951
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
952
 
ac_env_DEP_CFLAGS_set=${DEP_CFLAGS+set}
953
 
ac_env_DEP_CFLAGS_value=$DEP_CFLAGS
954
 
ac_cv_env_DEP_CFLAGS_set=${DEP_CFLAGS+set}
955
 
ac_cv_env_DEP_CFLAGS_value=$DEP_CFLAGS
956
 
ac_env_DEP_LIBS_set=${DEP_LIBS+set}
957
 
ac_env_DEP_LIBS_value=$DEP_LIBS
958
 
ac_cv_env_DEP_LIBS_set=${DEP_LIBS+set}
959
 
ac_cv_env_DEP_LIBS_value=$DEP_LIBS
 
1350
if test ! -r "$srcdir/$ac_unique_file"; then
 
1351
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1352
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1353
   { (exit 1); exit 1; }; }
 
1354
fi
 
1355
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1356
ac_abs_confdir=`(
 
1357
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1358
   { (exit 1); exit 1; }; }
 
1359
        pwd)`
 
1360
# When building in place, set srcdir=.
 
1361
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1362
  srcdir=.
 
1363
fi
 
1364
# Remove unnecessary trailing slashes from srcdir.
 
1365
# Double slashes in file names in object file debugging info
 
1366
# mess up M-x gdb in Emacs.
 
1367
case $srcdir in
 
1368
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1369
esac
 
1370
for ac_var in $ac_precious_vars; do
 
1371
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1372
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1373
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1374
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1375
done
960
1376
 
961
1377
#
962
1378
# Report the --help message.
965
1381
  # Omit some internal or obsolete options to make the list less imposing.
966
1382
  # This message is too long to be a string in the A/UX 3.1 sh.
967
1383
  cat <<_ACEOF
968
 
\`configure' configures libcm 0.0.16 to adapt to many kinds of systems.
 
1384
\`configure' configures libcm 0.1.1 to adapt to many kinds of systems.
969
1385
 
970
1386
Usage: $0 [OPTION]... [VAR=VALUE]...
971
1387
 
985
1401
  -n, --no-create         do not create output files
986
1402
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
987
1403
 
988
 
_ACEOF
989
 
 
990
 
  cat <<_ACEOF
991
1404
Installation directories:
992
1405
  --prefix=PREFIX         install architecture-independent files in PREFIX
993
1406
                          [$ac_default_prefix]
1005
1418
  --bindir=DIR           user executables [EPREFIX/bin]
1006
1419
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1007
1420
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1008
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1009
1421
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1010
1422
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1011
1423
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1012
1424
  --libdir=DIR           object code libraries [EPREFIX/lib]
1013
1425
  --includedir=DIR       C header files [PREFIX/include]
1014
1426
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1015
 
  --infodir=DIR          info documentation [PREFIX/info]
1016
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1427
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1428
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1429
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1430
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1431
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1432
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libcm]
 
1433
  --htmldir=DIR          html documentation [DOCDIR]
 
1434
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1435
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1436
  --psdir=DIR            ps documentation [DOCDIR]
1017
1437
_ACEOF
1018
1438
 
1019
1439
  cat <<\_ACEOF
1031
1451
 
1032
1452
if test -n "$ac_init_help"; then
1033
1453
  case $ac_init_help in
1034
 
     short | recursive ) echo "Configuration of libcm 0.0.16:";;
 
1454
     short | recursive ) echo "Configuration of libcm 0.1.1:";;
1035
1455
   esac
1036
1456
  cat <<\_ACEOF
1037
1457
 
1042
1462
                          (and sometimes confusing) to the casual installer
1043
1463
  --disable-dependency-tracking  speeds up one-time build
1044
1464
  --enable-dependency-tracking   do not reject slow dependency extractors
1045
 
  --enable-shared[=PKGS]
1046
 
                          build shared libraries [default=yes]
1047
 
  --enable-static[=PKGS]
1048
 
                          build static libraries [default=yes]
 
1465
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1466
  --enable-static[=PKGS]  build static libraries [default=yes]
1049
1467
  --enable-fast-install[=PKGS]
1050
1468
                          optimize for fast installation [default=yes]
1051
1469
  --disable-libtool-lock  avoid locking (might break parallel builds)
1056
1474
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1057
1475
  --with-pic              try to use only PIC/non-PIC objects [default=use
1058
1476
                          both]
1059
 
  --with-tags[=TAGS]
1060
 
                          include additional configurations [automatic]
 
1477
  --with-tags[=TAGS]      include additional configurations [automatic]
1061
1478
 
1062
1479
Some influential environment variables:
1063
1480
  CC          C compiler command
1064
1481
  CFLAGS      C compiler flags
1065
1482
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1066
1483
              nonstandard directory <lib dir>
1067
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068
 
              headers in a nonstandard directory <include dir>
 
1484
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1485
              you have headers in a nonstandard directory <include dir>
1069
1486
  CPP         C preprocessor
1070
1487
  CXX         C++ compiler command
1071
1488
  CXXFLAGS    C++ compiler flags
1081
1498
 
1082
1499
Report bugs to <sandmann@redhat.com>.
1083
1500
_ACEOF
 
1501
ac_status=$?
1084
1502
fi
1085
1503
 
1086
1504
if test "$ac_init_help" = "recursive"; then
1087
1505
  # If there are subdirs, report their specific --help.
1088
 
  ac_popdir=`pwd`
1089
1506
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1090
 
    test -d $ac_dir || continue
 
1507
    test -d "$ac_dir" || continue
1091
1508
    ac_builddir=.
1092
1509
 
1093
 
if test "$ac_dir" != .; then
 
1510
case "$ac_dir" in
 
1511
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1512
*)
1094
1513
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1095
 
  # A "../" for each directory in $ac_dir_suffix.
1096
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1097
 
else
1098
 
  ac_dir_suffix= ac_top_builddir=
1099
 
fi
 
1514
  # A ".." for each directory in $ac_dir_suffix.
 
1515
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1516
  case $ac_top_builddir_sub in
 
1517
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1518
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1519
  esac ;;
 
1520
esac
 
1521
ac_abs_top_builddir=$ac_pwd
 
1522
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1523
# for backward compatibility:
 
1524
ac_top_builddir=$ac_top_build_prefix
1100
1525
 
1101
1526
case $srcdir in
1102
 
  .)  # No --srcdir option.  We are building in place.
 
1527
  .)  # We are building in place.
1103
1528
    ac_srcdir=.
1104
 
    if test -z "$ac_top_builddir"; then
1105
 
       ac_top_srcdir=.
1106
 
    else
1107
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1108
 
    fi ;;
1109
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1529
    ac_top_srcdir=$ac_top_builddir_sub
 
1530
    ac_abs_top_srcdir=$ac_pwd ;;
 
1531
  [\\/]* | ?:[\\/]* )  # Absolute name.
1110
1532
    ac_srcdir=$srcdir$ac_dir_suffix;
1111
 
    ac_top_srcdir=$srcdir ;;
1112
 
  *) # Relative path.
1113
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1114
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1115
 
esac
1116
 
 
1117
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1118
 
# the directories may not exist.
1119
 
case `pwd` in
1120
 
.) ac_abs_builddir="$ac_dir";;
1121
 
*)
1122
 
  case "$ac_dir" in
1123
 
  .) ac_abs_builddir=`pwd`;;
1124
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1125
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1126
 
  esac;;
1127
 
esac
1128
 
case $ac_abs_builddir in
1129
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1130
 
*)
1131
 
  case ${ac_top_builddir}. in
1132
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1133
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1134
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1135
 
  esac;;
1136
 
esac
1137
 
case $ac_abs_builddir in
1138
 
.) ac_abs_srcdir=$ac_srcdir;;
1139
 
*)
1140
 
  case $ac_srcdir in
1141
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1142
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1143
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1144
 
  esac;;
1145
 
esac
1146
 
case $ac_abs_builddir in
1147
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1148
 
*)
1149
 
  case $ac_top_srcdir in
1150
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1151
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1152
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1153
 
  esac;;
1154
 
esac
1155
 
 
1156
 
    cd $ac_dir
1157
 
    # Check for guested configure; otherwise get Cygnus style configure.
1158
 
    if test -f $ac_srcdir/configure.gnu; then
1159
 
      echo
1160
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1161
 
    elif test -f $ac_srcdir/configure; then
1162
 
      echo
1163
 
      $SHELL $ac_srcdir/configure  --help=recursive
1164
 
    elif test -f $ac_srcdir/configure.ac ||
1165
 
           test -f $ac_srcdir/configure.in; then
1166
 
      echo
1167
 
      $ac_configure --help
 
1533
    ac_top_srcdir=$srcdir
 
1534
    ac_abs_top_srcdir=$srcdir ;;
 
1535
  *) # Relative name.
 
1536
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1537
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1538
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1539
esac
 
1540
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1541
 
 
1542
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1543
    # Check for guested configure.
 
1544
    if test -f "$ac_srcdir/configure.gnu"; then
 
1545
      echo &&
 
1546
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1547
    elif test -f "$ac_srcdir/configure"; then
 
1548
      echo &&
 
1549
      $SHELL "$ac_srcdir/configure" --help=recursive
1168
1550
    else
1169
1551
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1170
 
    fi
1171
 
    cd "$ac_popdir"
 
1552
    fi || ac_status=$?
 
1553
    cd "$ac_pwd" || { ac_status=$?; break; }
1172
1554
  done
1173
1555
fi
1174
1556
 
1175
 
test -n "$ac_init_help" && exit 0
 
1557
test -n "$ac_init_help" && exit $ac_status
1176
1558
if $ac_init_version; then
1177
1559
  cat <<\_ACEOF
1178
 
libcm configure 0.0.16
1179
 
generated by GNU Autoconf 2.59
 
1560
libcm configure 0.1.1
 
1561
generated by GNU Autoconf 2.60
1180
1562
 
1181
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1563
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1564
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1182
1565
This configure script is free software; the Free Software Foundation
1183
1566
gives unlimited permission to copy, distribute and modify it.
1184
1567
_ACEOF
1185
 
  exit 0
 
1568
  exit
1186
1569
fi
1187
 
exec 5>config.log
1188
 
cat >&5 <<_ACEOF
 
1570
cat >config.log <<_ACEOF
1189
1571
This file contains any messages produced by compilers while
1190
1572
running configure, to aid debugging if configure makes a mistake.
1191
1573
 
1192
 
It was created by libcm $as_me 0.0.16, which was
1193
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1574
It was created by libcm $as_me 0.1.1, which was
 
1575
generated by GNU Autoconf 2.60.  Invocation command line was
1194
1576
 
1195
1577
  $ $0 $@
1196
1578
 
1197
1579
_ACEOF
 
1580
exec 5>>config.log
1198
1581
{
1199
1582
cat <<_ASUNAME
1200
1583
## --------- ##
1213
1596
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1214
1597
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1215
1598
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1216
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1599
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1217
1600
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1218
1601
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1219
1602
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1227
1610
  test -z "$as_dir" && as_dir=.
1228
1611
  echo "PATH: $as_dir"
1229
1612
done
 
1613
IFS=$as_save_IFS
1230
1614
 
1231
1615
} >&5
1232
1616
 
1248
1632
ac_configure_args=
1249
1633
ac_configure_args0=
1250
1634
ac_configure_args1=
1251
 
ac_sep=
1252
1635
ac_must_keep_next=false
1253
1636
for ac_pass in 1 2
1254
1637
do
1259
1642
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1260
1643
    | -silent | --silent | --silen | --sile | --sil)
1261
1644
      continue ;;
1262
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1645
    *\'*)
1263
1646
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1264
1647
    esac
1265
1648
    case $ac_pass in
1281
1664
          -* ) ac_must_keep_next=true ;;
1282
1665
        esac
1283
1666
      fi
1284
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1285
 
      # Get rid of the leading space.
1286
 
      ac_sep=" "
 
1667
      ac_configure_args="$ac_configure_args '$ac_arg'"
1287
1668
      ;;
1288
1669
    esac
1289
1670
  done
1294
1675
# When interrupted or exit'd, cleanup temporary files, and complete
1295
1676
# config.log.  We remove comments because anyway the quotes in there
1296
1677
# would cause problems or look ugly.
1297
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1298
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1678
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1679
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1299
1680
trap 'exit_status=$?
1300
1681
  # Save into config.log some information that might help in debugging.
1301
1682
  {
1308
1689
_ASBOX
1309
1690
    echo
1310
1691
    # The following way of writing the cache mishandles newlines in values,
1311
 
{
 
1692
(
 
1693
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1694
    eval ac_val=\$$ac_var
 
1695
    case $ac_val in #(
 
1696
    *${as_nl}*)
 
1697
      case $ac_var in #(
 
1698
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1699
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1700
      esac
 
1701
      case $ac_var in #(
 
1702
      _ | IFS | as_nl) ;; #(
 
1703
      *) $as_unset $ac_var ;;
 
1704
      esac ;;
 
1705
    esac
 
1706
  done
1312
1707
  (set) 2>&1 |
1313
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1314
 
    *ac_space=\ *)
 
1708
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1709
    *${as_nl}ac_space=\ *)
1315
1710
      sed -n \
1316
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1317
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1318
 
      ;;
 
1711
        "s/'\''/'\''\\\\'\'''\''/g;
 
1712
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1713
      ;; #(
1319
1714
    *)
1320
 
      sed -n \
1321
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1715
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1322
1716
      ;;
1323
 
    esac;
1324
 
}
 
1717
    esac |
 
1718
    sort
 
1719
)
1325
1720
    echo
1326
1721
 
1327
1722
    cat <<\_ASBOX
1332
1727
    echo
1333
1728
    for ac_var in $ac_subst_vars
1334
1729
    do
1335
 
      eval ac_val=$`echo $ac_var`
1336
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1730
      eval ac_val=\$$ac_var
 
1731
      case $ac_val in
 
1732
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1733
      esac
 
1734
      echo "$ac_var='\''$ac_val'\''"
1337
1735
    done | sort
1338
1736
    echo
1339
1737
 
1340
1738
    if test -n "$ac_subst_files"; then
1341
1739
      cat <<\_ASBOX
1342
 
## ------------- ##
1343
 
## Output files. ##
1344
 
## ------------- ##
 
1740
## ------------------- ##
 
1741
## File substitutions. ##
 
1742
## ------------------- ##
1345
1743
_ASBOX
1346
1744
      echo
1347
1745
      for ac_var in $ac_subst_files
1348
1746
      do
1349
 
        eval ac_val=$`echo $ac_var`
1350
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1747
        eval ac_val=\$$ac_var
 
1748
        case $ac_val in
 
1749
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1750
        esac
 
1751
        echo "$ac_var='\''$ac_val'\''"
1351
1752
      done | sort
1352
1753
      echo
1353
1754
    fi
1359
1760
## ----------- ##
1360
1761
_ASBOX
1361
1762
      echo
1362
 
      sed "/^$/d" confdefs.h | sort
 
1763
      cat confdefs.h
1363
1764
      echo
1364
1765
    fi
1365
1766
    test "$ac_signal" != 0 &&
1366
1767
      echo "$as_me: caught signal $ac_signal"
1367
1768
    echo "$as_me: exit $exit_status"
1368
1769
  } >&5
1369
 
  rm -f core *.core &&
1370
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1770
  rm -f core *.core core.conftest.* &&
 
1771
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1371
1772
    exit $exit_status
1372
 
     ' 0
 
1773
' 0
1373
1774
for ac_signal in 1 2 13 15; do
1374
1775
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1375
1776
done
1376
1777
ac_signal=0
1377
1778
 
1378
1779
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1379
 
rm -rf conftest* confdefs.h
1380
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1381
 
echo >confdefs.h
 
1780
rm -f -r conftest* confdefs.h
1382
1781
 
1383
1782
# Predefined preprocessor variables.
1384
1783
 
1409
1808
 
1410
1809
# Let the site file select an alternate cache file if it wants to.
1411
1810
# Prefer explicitly selected file to automatically selected ones.
1412
 
if test -z "$CONFIG_SITE"; then
1413
 
  if test "x$prefix" != xNONE; then
1414
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1415
 
  else
1416
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1417
 
  fi
 
1811
if test -n "$CONFIG_SITE"; then
 
1812
  set x "$CONFIG_SITE"
 
1813
elif test "x$prefix" != xNONE; then
 
1814
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1815
else
 
1816
  set x "$ac_default_prefix/share/config.site" \
 
1817
        "$ac_default_prefix/etc/config.site"
1418
1818
fi
1419
 
for ac_site_file in $CONFIG_SITE; do
 
1819
shift
 
1820
for ac_site_file
 
1821
do
1420
1822
  if test -r "$ac_site_file"; then
1421
1823
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1422
1824
echo "$as_me: loading site script $ac_site_file" >&6;}
1432
1834
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1433
1835
echo "$as_me: loading cache $cache_file" >&6;}
1434
1836
    case $cache_file in
1435
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1436
 
      *)                      . ./$cache_file;;
 
1837
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1838
      *)                      . "./$cache_file";;
1437
1839
    esac
1438
1840
  fi
1439
1841
else
1445
1847
# Check that the precious variables saved in the cache have kept the same
1446
1848
# value.
1447
1849
ac_cache_corrupted=false
1448
 
for ac_var in `(set) 2>&1 |
1449
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1850
for ac_var in $ac_precious_vars; do
1450
1851
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1451
1852
  eval ac_new_set=\$ac_env_${ac_var}_set
1452
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1453
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1853
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1854
  eval ac_new_val=\$ac_env_${ac_var}_value
1454
1855
  case $ac_old_set,$ac_new_set in
1455
1856
    set,)
1456
1857
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1475
1876
  # Pass precious variables to config.status.
1476
1877
  if test "$ac_new_set" = set; then
1477
1878
    case $ac_new_val in
1478
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1479
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1879
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1480
1880
    *) ac_arg=$ac_var=$ac_new_val ;;
1481
1881
    esac
1482
1882
    case " $ac_configure_args " in
1493
1893
   { (exit 1); exit 1; }; }
1494
1894
fi
1495
1895
 
 
1896
 
 
1897
 
 
1898
 
 
1899
 
 
1900
 
 
1901
 
 
1902
 
 
1903
 
 
1904
 
 
1905
 
 
1906
 
 
1907
 
 
1908
 
 
1909
 
 
1910
 
 
1911
 
 
1912
 
 
1913
 
 
1914
 
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
1496
1920
ac_ext=c
1497
1921
ac_cpp='$CPP $CPPFLAGS'
1498
1922
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1500
1924
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1501
1925
 
1502
1926
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
1927
am__api_version="1.9"
1529
1928
ac_aux_dir=
1530
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1531
 
  if test -f $ac_dir/install-sh; then
 
1929
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1930
  if test -f "$ac_dir/install-sh"; then
1532
1931
    ac_aux_dir=$ac_dir
1533
1932
    ac_install_sh="$ac_aux_dir/install-sh -c"
1534
1933
    break
1535
 
  elif test -f $ac_dir/install.sh; then
 
1934
  elif test -f "$ac_dir/install.sh"; then
1536
1935
    ac_aux_dir=$ac_dir
1537
1936
    ac_install_sh="$ac_aux_dir/install.sh -c"
1538
1937
    break
1539
 
  elif test -f $ac_dir/shtool; then
 
1938
  elif test -f "$ac_dir/shtool"; then
1540
1939
    ac_aux_dir=$ac_dir
1541
1940
    ac_install_sh="$ac_aux_dir/shtool install -c"
1542
1941
    break
1543
1942
  fi
1544
1943
done
1545
1944
if test -z "$ac_aux_dir"; then
1546
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1547
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1945
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1946
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1548
1947
   { (exit 1); exit 1; }; }
1549
1948
fi
1550
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1949
 
 
1950
# These three variables are undocumented and unsupported,
 
1951
# and are intended to be withdrawn in a future Autoconf release.
 
1952
# They can cause serious problems if a builder's source tree is in a directory
 
1953
# whose full name contains unusual characters.
 
1954
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1955
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1956
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1957
 
1553
1958
 
1554
1959
# Find a good install program.  We prefer a C program (faster),
1555
1960
# so one script is as good as another.  But avoid the broken or
1564
1969
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1565
1970
# OS/2's system install, which has a completely different semantic
1566
1971
# ./install, which can be erroneously created by make from ./install.sh.
1567
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1568
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1972
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1973
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1569
1974
if test -z "$INSTALL"; then
1570
1975
if test "${ac_cv_path_install+set}" = set; then
1571
1976
  echo $ECHO_N "(cached) $ECHO_C" >&6
1587
1992
    # by default.
1588
1993
    for ac_prog in ginstall scoinst install; do
1589
1994
      for ac_exec_ext in '' $ac_executable_extensions; do
1590
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1995
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1591
1996
          if test $ac_prog = install &&
1592
1997
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1593
1998
            # AIX install.  It has an incompatible calling convention.
1606
2011
    ;;
1607
2012
esac
1608
2013
done
 
2014
IFS=$as_save_IFS
1609
2015
 
1610
2016
 
1611
2017
fi
1612
2018
  if test "${ac_cv_path_install+set}" = set; then
1613
2019
    INSTALL=$ac_cv_path_install
1614
2020
  else
1615
 
    # As a last resort, use the slow shell script.  We don't cache a
1616
 
    # path for INSTALL within a source directory, because that will
 
2021
    # As a last resort, use the slow shell script.  Don't cache a
 
2022
    # value for INSTALL within a source directory, because that will
1617
2023
    # break other packages using the cache if that directory is
1618
 
    # removed, or if the path is relative.
 
2024
    # removed, or if the value is a relative name.
1619
2025
    INSTALL=$ac_install_sh
1620
2026
  fi
1621
2027
fi
1622
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1623
 
echo "${ECHO_T}$INSTALL" >&6
 
2028
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2029
echo "${ECHO_T}$INSTALL" >&6; }
1624
2030
 
1625
2031
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1626
2032
# It thinks the first close brace ends the variable substitution.
1630
2036
 
1631
2037
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1632
2038
 
1633
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1634
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2039
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2040
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1635
2041
# Just in case
1636
2042
sleep 1
1637
2043
echo timestamp > conftest.file
1673
2079
Check your system clock" >&2;}
1674
2080
   { (exit 1); exit 1; }; }
1675
2081
fi
1676
 
echo "$as_me:$LINENO: result: yes" >&5
1677
 
echo "${ECHO_T}yes" >&6
 
2082
{ echo "$as_me:$LINENO: result: yes" >&5
 
2083
echo "${ECHO_T}yes" >&6; }
1678
2084
test "$program_prefix" != NONE &&
1679
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2085
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1680
2086
# Use a double $ so make ignores it.
1681
2087
test "$program_suffix" != NONE &&
1682
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2088
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1683
2089
# Double any \ or $.  echo might interpret backslashes.
1684
2090
# By default was `s,x,x', remove it if useless.
1685
2091
cat <<\_ACEOF >conftest.sed
1686
2092
s/[\\$]/&&/g;s/;s,x,x,$//
1687
2093
_ACEOF
1688
2094
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1689
 
rm conftest.sed
 
2095
rm -f conftest.sed
1690
2096
 
1691
2097
# expand $ac_aux_dir to an absolute path
1692
2098
am_aux_dir=`cd $ac_aux_dir && pwd`
1738
2144
do
1739
2145
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1740
2146
set dummy $ac_prog; ac_word=$2
1741
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1742
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2147
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2148
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1743
2149
if test "${ac_cv_prog_AWK+set}" = set; then
1744
2150
  echo $ECHO_N "(cached) $ECHO_C" >&6
1745
2151
else
1752
2158
  IFS=$as_save_IFS
1753
2159
  test -z "$as_dir" && as_dir=.
1754
2160
  for ac_exec_ext in '' $ac_executable_extensions; do
1755
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2161
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1756
2162
    ac_cv_prog_AWK="$ac_prog"
1757
2163
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758
2164
    break 2
1759
2165
  fi
1760
2166
done
1761
2167
done
 
2168
IFS=$as_save_IFS
1762
2169
 
1763
2170
fi
1764
2171
fi
1765
2172
AWK=$ac_cv_prog_AWK
1766
2173
if test -n "$AWK"; then
1767
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1768
 
echo "${ECHO_T}$AWK" >&6
 
2174
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2175
echo "${ECHO_T}$AWK" >&6; }
1769
2176
else
1770
 
  echo "$as_me:$LINENO: result: no" >&5
1771
 
echo "${ECHO_T}no" >&6
 
2177
  { echo "$as_me:$LINENO: result: no" >&5
 
2178
echo "${ECHO_T}no" >&6; }
1772
2179
fi
1773
2180
 
 
2181
 
1774
2182
  test -n "$AWK" && break
1775
2183
done
1776
2184
 
1777
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1778
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1779
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1780
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2185
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2186
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2187
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2188
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1781
2189
  echo $ECHO_N "(cached) $ECHO_C" >&6
1782
2190
else
1783
2191
  cat >conftest.make <<\_ACEOF
 
2192
SHELL = /bin/sh
1784
2193
all:
1785
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2194
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1786
2195
_ACEOF
1787
2196
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1788
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1789
 
if test -n "$ac_maketemp"; then
1790
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1791
 
else
1792
 
  eval ac_cv_prog_make_${ac_make}_set=no
1793
 
fi
 
2197
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2198
  *@@@%%%=?*=@@@%%%*)
 
2199
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2200
  *)
 
2201
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2202
esac
1794
2203
rm -f conftest.make
1795
2204
fi
1796
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1797
 
  echo "$as_me:$LINENO: result: yes" >&5
1798
 
echo "${ECHO_T}yes" >&6
 
2205
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2206
  { echo "$as_me:$LINENO: result: yes" >&5
 
2207
echo "${ECHO_T}yes" >&6; }
1799
2208
  SET_MAKE=
1800
2209
else
1801
 
  echo "$as_me:$LINENO: result: no" >&5
1802
 
echo "${ECHO_T}no" >&6
 
2210
  { echo "$as_me:$LINENO: result: no" >&5
 
2211
echo "${ECHO_T}no" >&6; }
1803
2212
  SET_MAKE="MAKE=${MAKE-make}"
1804
2213
fi
1805
2214
 
1832
2241
 
1833
2242
# Define the identity of the package.
1834
2243
 PACKAGE='libcm'
1835
 
 VERSION='0.0.16'
 
2244
 VERSION='0.1.1'
1836
2245
 
1837
2246
 
1838
2247
cat >>confdefs.h <<_ACEOF
1870
2279
  if test -n "$ac_tool_prefix"; then
1871
2280
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1872
2281
set dummy ${ac_tool_prefix}strip; ac_word=$2
1873
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1874
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2282
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2283
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1875
2284
if test "${ac_cv_prog_STRIP+set}" = set; then
1876
2285
  echo $ECHO_N "(cached) $ECHO_C" >&6
1877
2286
else
1884
2293
  IFS=$as_save_IFS
1885
2294
  test -z "$as_dir" && as_dir=.
1886
2295
  for ac_exec_ext in '' $ac_executable_extensions; do
1887
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2296
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1888
2297
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1889
2298
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1890
2299
    break 2
1891
2300
  fi
1892
2301
done
1893
2302
done
 
2303
IFS=$as_save_IFS
1894
2304
 
1895
2305
fi
1896
2306
fi
1897
2307
STRIP=$ac_cv_prog_STRIP
1898
2308
if test -n "$STRIP"; then
1899
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1900
 
echo "${ECHO_T}$STRIP" >&6
 
2309
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2310
echo "${ECHO_T}$STRIP" >&6; }
1901
2311
else
1902
 
  echo "$as_me:$LINENO: result: no" >&5
1903
 
echo "${ECHO_T}no" >&6
 
2312
  { echo "$as_me:$LINENO: result: no" >&5
 
2313
echo "${ECHO_T}no" >&6; }
1904
2314
fi
 
2315
 
1905
2316
 
1906
2317
fi
1907
2318
if test -z "$ac_cv_prog_STRIP"; then
1908
2319
  ac_ct_STRIP=$STRIP
1909
2320
  # Extract the first word of "strip", so it can be a program name with args.
1910
2321
set dummy strip; ac_word=$2
1911
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1912
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2322
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2323
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1913
2324
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1914
2325
  echo $ECHO_N "(cached) $ECHO_C" >&6
1915
2326
else
1922
2333
  IFS=$as_save_IFS
1923
2334
  test -z "$as_dir" && as_dir=.
1924
2335
  for ac_exec_ext in '' $ac_executable_extensions; do
1925
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2336
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1926
2337
    ac_cv_prog_ac_ct_STRIP="strip"
1927
2338
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928
2339
    break 2
1929
2340
  fi
1930
2341
done
1931
2342
done
 
2343
IFS=$as_save_IFS
1932
2344
 
1933
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1934
2345
fi
1935
2346
fi
1936
2347
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1937
2348
if test -n "$ac_ct_STRIP"; then
1938
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1939
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2349
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2350
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1940
2351
else
1941
 
  echo "$as_me:$LINENO: result: no" >&5
1942
 
echo "${ECHO_T}no" >&6
 
2352
  { echo "$as_me:$LINENO: result: no" >&5
 
2353
echo "${ECHO_T}no" >&6; }
1943
2354
fi
1944
2355
 
1945
 
  STRIP=$ac_ct_STRIP
 
2356
  if test "x$ac_ct_STRIP" = x; then
 
2357
    STRIP=":"
 
2358
  else
 
2359
    case $cross_compiling:$ac_tool_warned in
 
2360
yes:)
 
2361
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2362
whose name does not start with the host triplet.  If you think this
 
2363
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2364
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2365
whose name does not start with the host triplet.  If you think this
 
2366
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2367
ac_tool_warned=yes ;;
 
2368
esac
 
2369
    STRIP=$ac_ct_STRIP
 
2370
  fi
1946
2371
else
1947
2372
  STRIP="$ac_cv_prog_STRIP"
1948
2373
fi
1962
2387
 
1963
2388
 
1964
2389
 
1965
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1966
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1967
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2390
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2391
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2392
    # Check whether --enable-maintainer-mode was given.
1968
2393
if test "${enable_maintainer_mode+set}" = set; then
1969
 
  enableval="$enable_maintainer_mode"
1970
 
  USE_MAINTAINER_MODE=$enableval
 
2394
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1971
2395
else
1972
2396
  USE_MAINTAINER_MODE=no
1973
 
fi;
1974
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1975
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2397
fi
 
2398
 
 
2399
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2400
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1976
2401
 
1977
2402
 
1978
2403
if test $USE_MAINTAINER_MODE = yes; then
1987
2412
 
1988
2413
 
1989
2414
 
1990
 
          ac_config_headers="$ac_config_headers config.h"
1991
 
 
1992
 
 
1993
 
# Check for progs
 
2415
ac_config_headers="$ac_config_headers config.h"
 
2416
 
 
2417
 
 
2418
DEPDIR="${am__leading_dot}deps"
 
2419
 
 
2420
ac_config_commands="$ac_config_commands depfiles"
 
2421
 
 
2422
 
 
2423
am_make=${MAKE-make}
 
2424
cat > confinc << 'END'
 
2425
am__doit:
 
2426
        @echo done
 
2427
.PHONY: am__doit
 
2428
END
 
2429
# If we don't find an include directive, just comment out the code.
 
2430
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2431
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2432
am__include="#"
 
2433
am__quote=
 
2434
_am_result=none
 
2435
# First try GNU make style include.
 
2436
echo "include confinc" > confmf
 
2437
# We grep out `Entering directory' and `Leaving directory'
 
2438
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2439
# In particular we don't look at `^make:' because GNU make might
 
2440
# be invoked under some other name (usually "gmake"), in which
 
2441
# case it prints its new name instead of `make'.
 
2442
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2443
   am__include=include
 
2444
   am__quote=
 
2445
   _am_result=GNU
 
2446
fi
 
2447
# Now try BSD make style include.
 
2448
if test "$am__include" = "#"; then
 
2449
   echo '.include "confinc"' > confmf
 
2450
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2451
      am__include=.include
 
2452
      am__quote="\""
 
2453
      _am_result=BSD
 
2454
   fi
 
2455
fi
 
2456
 
 
2457
 
 
2458
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
2459
echo "${ECHO_T}$_am_result" >&6; }
 
2460
rm -f confinc confmf
 
2461
 
 
2462
# Check whether --enable-dependency-tracking was given.
 
2463
if test "${enable_dependency_tracking+set}" = set; then
 
2464
  enableval=$enable_dependency_tracking;
 
2465
fi
 
2466
 
 
2467
if test "x$enable_dependency_tracking" != xno; then
 
2468
  am_depcomp="$ac_aux_dir/depcomp"
 
2469
  AMDEPBACKSLASH='\'
 
2470
fi
 
2471
 
 
2472
 
 
2473
if test "x$enable_dependency_tracking" != xno; then
 
2474
  AMDEP_TRUE=
 
2475
  AMDEP_FALSE='#'
 
2476
else
 
2477
  AMDEP_TRUE='#'
 
2478
  AMDEP_FALSE=
 
2479
fi
 
2480
 
 
2481
 
 
2482
 
1994
2483
ac_ext=c
1995
2484
ac_cpp='$CPP $CPPFLAGS'
1996
2485
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1999
2488
if test -n "$ac_tool_prefix"; then
2000
2489
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2001
2490
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2002
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2003
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2491
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2492
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2004
2493
if test "${ac_cv_prog_CC+set}" = set; then
2005
2494
  echo $ECHO_N "(cached) $ECHO_C" >&6
2006
2495
else
2013
2502
  IFS=$as_save_IFS
2014
2503
  test -z "$as_dir" && as_dir=.
2015
2504
  for ac_exec_ext in '' $ac_executable_extensions; do
2016
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2505
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2017
2506
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2018
2507
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019
2508
    break 2
2020
2509
  fi
2021
2510
done
2022
2511
done
 
2512
IFS=$as_save_IFS
2023
2513
 
2024
2514
fi
2025
2515
fi
2026
2516
CC=$ac_cv_prog_CC
2027
2517
if test -n "$CC"; then
2028
 
  echo "$as_me:$LINENO: result: $CC" >&5
2029
 
echo "${ECHO_T}$CC" >&6
 
2518
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2519
echo "${ECHO_T}$CC" >&6; }
2030
2520
else
2031
 
  echo "$as_me:$LINENO: result: no" >&5
2032
 
echo "${ECHO_T}no" >&6
 
2521
  { echo "$as_me:$LINENO: result: no" >&5
 
2522
echo "${ECHO_T}no" >&6; }
2033
2523
fi
 
2524
 
2034
2525
 
2035
2526
fi
2036
2527
if test -z "$ac_cv_prog_CC"; then
2037
2528
  ac_ct_CC=$CC
2038
2529
  # Extract the first word of "gcc", so it can be a program name with args.
2039
2530
set dummy gcc; ac_word=$2
2040
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2041
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2531
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2042
2533
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2043
2534
  echo $ECHO_N "(cached) $ECHO_C" >&6
2044
2535
else
2051
2542
  IFS=$as_save_IFS
2052
2543
  test -z "$as_dir" && as_dir=.
2053
2544
  for ac_exec_ext in '' $ac_executable_extensions; do
2054
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2055
2546
    ac_cv_prog_ac_ct_CC="gcc"
2056
2547
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057
2548
    break 2
2058
2549
  fi
2059
2550
done
2060
2551
done
 
2552
IFS=$as_save_IFS
2061
2553
 
2062
2554
fi
2063
2555
fi
2064
2556
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2065
2557
if test -n "$ac_ct_CC"; then
2066
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2067
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2558
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2559
echo "${ECHO_T}$ac_ct_CC" >&6; }
2068
2560
else
2069
 
  echo "$as_me:$LINENO: result: no" >&5
2070
 
echo "${ECHO_T}no" >&6
 
2561
  { echo "$as_me:$LINENO: result: no" >&5
 
2562
echo "${ECHO_T}no" >&6; }
2071
2563
fi
2072
2564
 
2073
 
  CC=$ac_ct_CC
 
2565
  if test "x$ac_ct_CC" = x; then
 
2566
    CC=""
 
2567
  else
 
2568
    case $cross_compiling:$ac_tool_warned in
 
2569
yes:)
 
2570
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2571
whose name does not start with the host triplet.  If you think this
 
2572
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2573
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2574
whose name does not start with the host triplet.  If you think this
 
2575
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2576
ac_tool_warned=yes ;;
 
2577
esac
 
2578
    CC=$ac_ct_CC
 
2579
  fi
2074
2580
else
2075
2581
  CC="$ac_cv_prog_CC"
2076
2582
fi
2077
2583
 
2078
2584
if test -z "$CC"; then
2079
 
  if test -n "$ac_tool_prefix"; then
2080
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2585
          if test -n "$ac_tool_prefix"; then
 
2586
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2081
2587
set dummy ${ac_tool_prefix}cc; ac_word=$2
2082
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2083
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2588
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2589
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2084
2590
if test "${ac_cv_prog_CC+set}" = set; then
2085
2591
  echo $ECHO_N "(cached) $ECHO_C" >&6
2086
2592
else
2093
2599
  IFS=$as_save_IFS
2094
2600
  test -z "$as_dir" && as_dir=.
2095
2601
  for ac_exec_ext in '' $ac_executable_extensions; do
2096
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2602
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2097
2603
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2098
2604
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099
2605
    break 2
2100
2606
  fi
2101
2607
done
2102
2608
done
 
2609
IFS=$as_save_IFS
2103
2610
 
2104
2611
fi
2105
2612
fi
2106
2613
CC=$ac_cv_prog_CC
2107
2614
if test -n "$CC"; then
2108
 
  echo "$as_me:$LINENO: result: $CC" >&5
2109
 
echo "${ECHO_T}$CC" >&6
2110
 
else
2111
 
  echo "$as_me:$LINENO: result: no" >&5
2112
 
echo "${ECHO_T}no" >&6
2113
 
fi
2114
 
 
2115
 
fi
2116
 
if test -z "$ac_cv_prog_CC"; then
2117
 
  ac_ct_CC=$CC
2118
 
  # Extract the first word of "cc", so it can be a program name with args.
2119
 
set dummy cc; ac_word=$2
2120
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2124
 
else
2125
 
  if test -n "$ac_ct_CC"; then
2126
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2127
 
else
2128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129
 
for as_dir in $PATH
2130
 
do
2131
 
  IFS=$as_save_IFS
2132
 
  test -z "$as_dir" && as_dir=.
2133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2134
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135
 
    ac_cv_prog_ac_ct_CC="cc"
2136
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137
 
    break 2
 
2615
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2616
echo "${ECHO_T}$CC" >&6; }
 
2617
else
 
2618
  { echo "$as_me:$LINENO: result: no" >&5
 
2619
echo "${ECHO_T}no" >&6; }
 
2620
fi
 
2621
 
 
2622
 
2138
2623
  fi
2139
 
done
2140
 
done
2141
 
 
2142
 
fi
2143
 
fi
2144
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2145
 
if test -n "$ac_ct_CC"; then
2146
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2147
 
echo "${ECHO_T}$ac_ct_CC" >&6
2148
 
else
2149
 
  echo "$as_me:$LINENO: result: no" >&5
2150
 
echo "${ECHO_T}no" >&6
2151
 
fi
2152
 
 
2153
 
  CC=$ac_ct_CC
2154
 
else
2155
 
  CC="$ac_cv_prog_CC"
2156
 
fi
2157
 
 
2158
2624
fi
2159
2625
if test -z "$CC"; then
2160
2626
  # Extract the first word of "cc", so it can be a program name with args.
2161
2627
set dummy cc; ac_word=$2
2162
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2163
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2628
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2629
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2164
2630
if test "${ac_cv_prog_CC+set}" = set; then
2165
2631
  echo $ECHO_N "(cached) $ECHO_C" >&6
2166
2632
else
2174
2640
  IFS=$as_save_IFS
2175
2641
  test -z "$as_dir" && as_dir=.
2176
2642
  for ac_exec_ext in '' $ac_executable_extensions; do
2177
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2643
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2178
2644
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2179
2645
       ac_prog_rejected=yes
2180
2646
       continue
2185
2651
  fi
2186
2652
done
2187
2653
done
 
2654
IFS=$as_save_IFS
2188
2655
 
2189
2656
if test $ac_prog_rejected = yes; then
2190
2657
  # We found a bogon in the path, so make sure we never use it.
2202
2669
fi
2203
2670
CC=$ac_cv_prog_CC
2204
2671
if test -n "$CC"; then
2205
 
  echo "$as_me:$LINENO: result: $CC" >&5
2206
 
echo "${ECHO_T}$CC" >&6
 
2672
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2673
echo "${ECHO_T}$CC" >&6; }
2207
2674
else
2208
 
  echo "$as_me:$LINENO: result: no" >&5
2209
 
echo "${ECHO_T}no" >&6
 
2675
  { echo "$as_me:$LINENO: result: no" >&5
 
2676
echo "${ECHO_T}no" >&6; }
2210
2677
fi
 
2678
 
2211
2679
 
2212
2680
fi
2213
2681
if test -z "$CC"; then
2214
2682
  if test -n "$ac_tool_prefix"; then
2215
 
  for ac_prog in cl
 
2683
  for ac_prog in cl.exe
2216
2684
  do
2217
2685
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2218
2686
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2219
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2220
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2687
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2688
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2221
2689
if test "${ac_cv_prog_CC+set}" = set; then
2222
2690
  echo $ECHO_N "(cached) $ECHO_C" >&6
2223
2691
else
2230
2698
  IFS=$as_save_IFS
2231
2699
  test -z "$as_dir" && as_dir=.
2232
2700
  for ac_exec_ext in '' $ac_executable_extensions; do
2233
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2234
2702
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2235
2703
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236
2704
    break 2
2237
2705
  fi
2238
2706
done
2239
2707
done
 
2708
IFS=$as_save_IFS
2240
2709
 
2241
2710
fi
2242
2711
fi
2243
2712
CC=$ac_cv_prog_CC
2244
2713
if test -n "$CC"; then
2245
 
  echo "$as_me:$LINENO: result: $CC" >&5
2246
 
echo "${ECHO_T}$CC" >&6
 
2714
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2715
echo "${ECHO_T}$CC" >&6; }
2247
2716
else
2248
 
  echo "$as_me:$LINENO: result: no" >&5
2249
 
echo "${ECHO_T}no" >&6
 
2717
  { echo "$as_me:$LINENO: result: no" >&5
 
2718
echo "${ECHO_T}no" >&6; }
2250
2719
fi
2251
2720
 
 
2721
 
2252
2722
    test -n "$CC" && break
2253
2723
  done
2254
2724
fi
2255
2725
if test -z "$CC"; then
2256
2726
  ac_ct_CC=$CC
2257
 
  for ac_prog in cl
 
2727
  for ac_prog in cl.exe
2258
2728
do
2259
2729
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2260
2730
set dummy $ac_prog; ac_word=$2
2261
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2262
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2731
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2732
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2263
2733
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2264
2734
  echo $ECHO_N "(cached) $ECHO_C" >&6
2265
2735
else
2272
2742
  IFS=$as_save_IFS
2273
2743
  test -z "$as_dir" && as_dir=.
2274
2744
  for ac_exec_ext in '' $ac_executable_extensions; do
2275
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2276
2746
    ac_cv_prog_ac_ct_CC="$ac_prog"
2277
2747
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278
2748
    break 2
2279
2749
  fi
2280
2750
done
2281
2751
done
 
2752
IFS=$as_save_IFS
2282
2753
 
2283
2754
fi
2284
2755
fi
2285
2756
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2286
2757
if test -n "$ac_ct_CC"; then
2287
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2288
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2758
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2759
echo "${ECHO_T}$ac_ct_CC" >&6; }
2289
2760
else
2290
 
  echo "$as_me:$LINENO: result: no" >&5
2291
 
echo "${ECHO_T}no" >&6
 
2761
  { echo "$as_me:$LINENO: result: no" >&5
 
2762
echo "${ECHO_T}no" >&6; }
2292
2763
fi
2293
2764
 
 
2765
 
2294
2766
  test -n "$ac_ct_CC" && break
2295
2767
done
2296
2768
 
2297
 
  CC=$ac_ct_CC
 
2769
  if test "x$ac_ct_CC" = x; then
 
2770
    CC=""
 
2771
  else
 
2772
    case $cross_compiling:$ac_tool_warned in
 
2773
yes:)
 
2774
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2775
whose name does not start with the host triplet.  If you think this
 
2776
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2777
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2778
whose name does not start with the host triplet.  If you think this
 
2779
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2780
ac_tool_warned=yes ;;
 
2781
esac
 
2782
    CC=$ac_ct_CC
 
2783
  fi
2298
2784
fi
2299
2785
 
2300
2786
fi
2307
2793
   { (exit 1); exit 1; }; }
2308
2794
 
2309
2795
# Provide some information about the compiler.
2310
 
echo "$as_me:$LINENO:" \
2311
 
     "checking for C compiler version" >&5
 
2796
echo "$as_me:$LINENO: checking for C compiler version" >&5
2312
2797
ac_compiler=`set X $ac_compile; echo $2`
2313
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2314
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2315
 
  ac_status=$?
2316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317
 
  (exit $ac_status); }
2318
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2319
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2320
 
  ac_status=$?
2321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322
 
  (exit $ac_status); }
2323
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2324
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2798
{ (ac_try="$ac_compiler --version >&5"
 
2799
case "(($ac_try" in
 
2800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2801
  *) ac_try_echo=$ac_try;;
 
2802
esac
 
2803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2804
  (eval "$ac_compiler --version >&5") 2>&5
 
2805
  ac_status=$?
 
2806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2807
  (exit $ac_status); }
 
2808
{ (ac_try="$ac_compiler -v >&5"
 
2809
case "(($ac_try" in
 
2810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2811
  *) ac_try_echo=$ac_try;;
 
2812
esac
 
2813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2814
  (eval "$ac_compiler -v >&5") 2>&5
 
2815
  ac_status=$?
 
2816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2817
  (exit $ac_status); }
 
2818
{ (ac_try="$ac_compiler -V >&5"
 
2819
case "(($ac_try" in
 
2820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2821
  *) ac_try_echo=$ac_try;;
 
2822
esac
 
2823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2824
  (eval "$ac_compiler -V >&5") 2>&5
2325
2825
  ac_status=$?
2326
2826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327
2827
  (exit $ac_status); }
2346
2846
# Try to create an executable without -o first, disregard a.out.
2347
2847
# It will help us diagnose broken compilers, and finding out an intuition
2348
2848
# of exeext.
2349
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2350
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2849
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2850
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2351
2851
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2352
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2353
 
  (eval $ac_link_default) 2>&5
 
2852
#
 
2853
# List of possible output files, starting from the most likely.
 
2854
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2855
# only as a last resort.  b.out is created by i960 compilers.
 
2856
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2857
#
 
2858
# The IRIX 6 linker writes into existing files which may not be
 
2859
# executable, retaining their permissions.  Remove them first so a
 
2860
# subsequent execution test works.
 
2861
ac_rmfiles=
 
2862
for ac_file in $ac_files
 
2863
do
 
2864
  case $ac_file in
 
2865
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2866
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2867
  esac
 
2868
done
 
2869
rm -f $ac_rmfiles
 
2870
 
 
2871
if { (ac_try="$ac_link_default"
 
2872
case "(($ac_try" in
 
2873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2874
  *) ac_try_echo=$ac_try;;
 
2875
esac
 
2876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2877
  (eval "$ac_link_default") 2>&5
2354
2878
  ac_status=$?
2355
2879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356
2880
  (exit $ac_status); }; then
2357
 
  # Find the output, starting from the most likely.  This scheme is
2358
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2359
 
# resort.
2360
 
 
2361
 
# Be careful to initialize this variable, since it used to be cached.
2362
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2363
 
ac_cv_exeext=
2364
 
# b.out is created by i960 compilers.
2365
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2881
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2882
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2883
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2884
# so that the user can short-circuit this test for compilers unknown to
 
2885
# Autoconf.
 
2886
for ac_file in $ac_files
2366
2887
do
2367
2888
  test -f "$ac_file" || continue
2368
2889
  case $ac_file in
2369
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2370
 
        ;;
2371
 
    conftest.$ac_ext )
2372
 
        # This is the source file.
 
2890
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2373
2891
        ;;
2374
2892
    [ab].out )
2375
2893
        # We found the default executable, but exeext='' is most
2376
2894
        # certainly right.
2377
2895
        break;;
2378
2896
    *.* )
2379
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2380
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2381
 
        # but it would be cool to find out if it's true.  Does anybody
2382
 
        # maintain Libtool? --akim.
2383
 
        export ac_cv_exeext
 
2897
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2898
        then :; else
 
2899
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2900
        fi
 
2901
        # We set ac_cv_exeext here because the later test for it is not
 
2902
        # safe: cross compilers may not add the suffix if given an `-o'
 
2903
        # argument, so we may need to know it at that point already.
 
2904
        # Even if this section looks crufty: it has the advantage of
 
2905
        # actually working.
2384
2906
        break;;
2385
2907
    * )
2386
2908
        break;;
2387
2909
  esac
2388
2910
done
 
2911
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2912
 
2389
2913
else
2390
2914
  echo "$as_me: failed program was:" >&5
2391
2915
sed 's/^/| /' conftest.$ac_ext >&5
2398
2922
fi
2399
2923
 
2400
2924
ac_exeext=$ac_cv_exeext
2401
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2402
 
echo "${ECHO_T}$ac_file" >&6
 
2925
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2926
echo "${ECHO_T}$ac_file" >&6; }
2403
2927
 
2404
 
# Check the compiler produces executables we can run.  If not, either
 
2928
# Check that the compiler produces executables we can run.  If not, either
2405
2929
# the compiler is broken, or we cross compile.
2406
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2407
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2930
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2931
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2408
2932
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2409
2933
# If not cross compiling, check that we can run a simple program.
2410
2934
if test "$cross_compiling" != yes; then
2411
2935
  if { ac_try='./$ac_file'
2412
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413
 
  (eval $ac_try) 2>&5
 
2936
  { (case "(($ac_try" in
 
2937
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2938
  *) ac_try_echo=$ac_try;;
 
2939
esac
 
2940
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2941
  (eval "$ac_try") 2>&5
2414
2942
  ac_status=$?
2415
2943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416
2944
  (exit $ac_status); }; }; then
2429
2957
    fi
2430
2958
  fi
2431
2959
fi
2432
 
echo "$as_me:$LINENO: result: yes" >&5
2433
 
echo "${ECHO_T}yes" >&6
 
2960
{ echo "$as_me:$LINENO: result: yes" >&5
 
2961
echo "${ECHO_T}yes" >&6; }
2434
2962
 
2435
2963
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2436
2964
ac_clean_files=$ac_clean_files_save
2437
 
# Check the compiler produces executables we can run.  If not, either
 
2965
# Check that the compiler produces executables we can run.  If not, either
2438
2966
# the compiler is broken, or we cross compile.
2439
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2440
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2441
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2442
 
echo "${ECHO_T}$cross_compiling" >&6
 
2967
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2968
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2969
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2970
echo "${ECHO_T}$cross_compiling" >&6; }
2443
2971
 
2444
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2445
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2446
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2447
 
  (eval $ac_link) 2>&5
 
2972
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2973
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2974
if { (ac_try="$ac_link"
 
2975
case "(($ac_try" in
 
2976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2977
  *) ac_try_echo=$ac_try;;
 
2978
esac
 
2979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2980
  (eval "$ac_link") 2>&5
2448
2981
  ac_status=$?
2449
2982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450
2983
  (exit $ac_status); }; then
2455
2988
for ac_file in conftest.exe conftest conftest.*; do
2456
2989
  test -f "$ac_file" || continue
2457
2990
  case $ac_file in
2458
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2991
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2459
2992
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460
 
          export ac_cv_exeext
2461
2993
          break;;
2462
2994
    * ) break;;
2463
2995
  esac
2471
3003
fi
2472
3004
 
2473
3005
rm -f conftest$ac_cv_exeext
2474
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2475
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3006
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3007
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2476
3008
 
2477
3009
rm -f conftest.$ac_ext
2478
3010
EXEEXT=$ac_cv_exeext
2479
3011
ac_exeext=$EXEEXT
2480
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2481
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3012
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3013
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2482
3014
if test "${ac_cv_objext+set}" = set; then
2483
3015
  echo $ECHO_N "(cached) $ECHO_C" >&6
2484
3016
else
2498
3030
}
2499
3031
_ACEOF
2500
3032
rm -f conftest.o conftest.obj
2501
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502
 
  (eval $ac_compile) 2>&5
 
3033
if { (ac_try="$ac_compile"
 
3034
case "(($ac_try" in
 
3035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3036
  *) ac_try_echo=$ac_try;;
 
3037
esac
 
3038
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3039
  (eval "$ac_compile") 2>&5
2503
3040
  ac_status=$?
2504
3041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505
3042
  (exit $ac_status); }; then
2506
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3043
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3044
  test -f "$ac_file" || continue;
2507
3045
  case $ac_file in
2508
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3046
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2509
3047
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2510
3048
       break;;
2511
3049
  esac
2523
3061
 
2524
3062
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2525
3063
fi
2526
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2527
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3064
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3065
echo "${ECHO_T}$ac_cv_objext" >&6; }
2528
3066
OBJEXT=$ac_cv_objext
2529
3067
ac_objext=$OBJEXT
2530
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2531
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3068
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3069
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2532
3070
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2533
3071
  echo $ECHO_N "(cached) $ECHO_C" >&6
2534
3072
else
2551
3089
}
2552
3090
_ACEOF
2553
3091
rm -f conftest.$ac_objext
2554
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555
 
  (eval $ac_compile) 2>conftest.er1
 
3092
if { (ac_try="$ac_compile"
 
3093
case "(($ac_try" in
 
3094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3095
  *) ac_try_echo=$ac_try;;
 
3096
esac
 
3097
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3098
  (eval "$ac_compile") 2>conftest.er1
2556
3099
  ac_status=$?
2557
3100
  grep -v '^ *+' conftest.er1 >conftest.err
2558
3101
  rm -f conftest.er1
2559
3102
  cat conftest.err >&5
2560
3103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
3104
  (exit $ac_status); } &&
2562
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564
 
  (eval $ac_try) 2>&5
 
3105
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3106
  { (case "(($ac_try" in
 
3107
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3108
  *) ac_try_echo=$ac_try;;
 
3109
esac
 
3110
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3111
  (eval "$ac_try") 2>&5
2565
3112
  ac_status=$?
2566
3113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567
3114
  (exit $ac_status); }; } &&
2568
3115
         { ac_try='test -s conftest.$ac_objext'
2569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570
 
  (eval $ac_try) 2>&5
 
3116
  { (case "(($ac_try" in
 
3117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3118
  *) ac_try_echo=$ac_try;;
 
3119
esac
 
3120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3121
  (eval "$ac_try") 2>&5
2571
3122
  ac_status=$?
2572
3123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
3124
  (exit $ac_status); }; }; then
2576
3127
  echo "$as_me: failed program was:" >&5
2577
3128
sed 's/^/| /' conftest.$ac_ext >&5
2578
3129
 
2579
 
ac_compiler_gnu=no
 
3130
        ac_compiler_gnu=no
2580
3131
fi
2581
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3132
 
 
3133
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582
3134
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2583
3135
 
2584
3136
fi
2585
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2586
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3137
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3138
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2587
3139
GCC=`test $ac_compiler_gnu = yes && echo yes`
2588
3140
ac_test_CFLAGS=${CFLAGS+set}
2589
3141
ac_save_CFLAGS=$CFLAGS
2590
 
CFLAGS="-g"
2591
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2592
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3142
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3143
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2593
3144
if test "${ac_cv_prog_cc_g+set}" = set; then
2594
3145
  echo $ECHO_N "(cached) $ECHO_C" >&6
2595
3146
else
2596
 
  cat >conftest.$ac_ext <<_ACEOF
2597
 
/* confdefs.h.  */
2598
 
_ACEOF
2599
 
cat confdefs.h >>conftest.$ac_ext
2600
 
cat >>conftest.$ac_ext <<_ACEOF
2601
 
/* end confdefs.h.  */
2602
 
 
2603
 
int
2604
 
main ()
2605
 
{
2606
 
 
2607
 
  ;
2608
 
  return 0;
2609
 
}
2610
 
_ACEOF
2611
 
rm -f conftest.$ac_objext
2612
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2613
 
  (eval $ac_compile) 2>conftest.er1
2614
 
  ac_status=$?
2615
 
  grep -v '^ *+' conftest.er1 >conftest.err
2616
 
  rm -f conftest.er1
2617
 
  cat conftest.err >&5
2618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619
 
  (exit $ac_status); } &&
2620
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622
 
  (eval $ac_try) 2>&5
2623
 
  ac_status=$?
2624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
 
  (exit $ac_status); }; } &&
2626
 
         { ac_try='test -s conftest.$ac_objext'
2627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628
 
  (eval $ac_try) 2>&5
2629
 
  ac_status=$?
2630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631
 
  (exit $ac_status); }; }; then
2632
 
  ac_cv_prog_cc_g=yes
2633
 
else
2634
 
  echo "$as_me: failed program was:" >&5
2635
 
sed 's/^/| /' conftest.$ac_ext >&5
2636
 
 
2637
 
ac_cv_prog_cc_g=no
2638
 
fi
2639
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2640
 
fi
2641
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2642
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3147
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3148
   ac_c_werror_flag=yes
 
3149
   ac_cv_prog_cc_g=no
 
3150
   CFLAGS="-g"
 
3151
   cat >conftest.$ac_ext <<_ACEOF
 
3152
/* confdefs.h.  */
 
3153
_ACEOF
 
3154
cat confdefs.h >>conftest.$ac_ext
 
3155
cat >>conftest.$ac_ext <<_ACEOF
 
3156
/* end confdefs.h.  */
 
3157
 
 
3158
int
 
3159
main ()
 
3160
{
 
3161
 
 
3162
  ;
 
3163
  return 0;
 
3164
}
 
3165
_ACEOF
 
3166
rm -f conftest.$ac_objext
 
3167
if { (ac_try="$ac_compile"
 
3168
case "(($ac_try" in
 
3169
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3170
  *) ac_try_echo=$ac_try;;
 
3171
esac
 
3172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3173
  (eval "$ac_compile") 2>conftest.er1
 
3174
  ac_status=$?
 
3175
  grep -v '^ *+' conftest.er1 >conftest.err
 
3176
  rm -f conftest.er1
 
3177
  cat conftest.err >&5
 
3178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3179
  (exit $ac_status); } &&
 
3180
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3181
  { (case "(($ac_try" in
 
3182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3183
  *) ac_try_echo=$ac_try;;
 
3184
esac
 
3185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3186
  (eval "$ac_try") 2>&5
 
3187
  ac_status=$?
 
3188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3189
  (exit $ac_status); }; } &&
 
3190
         { ac_try='test -s conftest.$ac_objext'
 
3191
  { (case "(($ac_try" in
 
3192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3193
  *) ac_try_echo=$ac_try;;
 
3194
esac
 
3195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3196
  (eval "$ac_try") 2>&5
 
3197
  ac_status=$?
 
3198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3199
  (exit $ac_status); }; }; then
 
3200
  ac_cv_prog_cc_g=yes
 
3201
else
 
3202
  echo "$as_me: failed program was:" >&5
 
3203
sed 's/^/| /' conftest.$ac_ext >&5
 
3204
 
 
3205
        CFLAGS=""
 
3206
      cat >conftest.$ac_ext <<_ACEOF
 
3207
/* confdefs.h.  */
 
3208
_ACEOF
 
3209
cat confdefs.h >>conftest.$ac_ext
 
3210
cat >>conftest.$ac_ext <<_ACEOF
 
3211
/* end confdefs.h.  */
 
3212
 
 
3213
int
 
3214
main ()
 
3215
{
 
3216
 
 
3217
  ;
 
3218
  return 0;
 
3219
}
 
3220
_ACEOF
 
3221
rm -f conftest.$ac_objext
 
3222
if { (ac_try="$ac_compile"
 
3223
case "(($ac_try" in
 
3224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3225
  *) ac_try_echo=$ac_try;;
 
3226
esac
 
3227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3228
  (eval "$ac_compile") 2>conftest.er1
 
3229
  ac_status=$?
 
3230
  grep -v '^ *+' conftest.er1 >conftest.err
 
3231
  rm -f conftest.er1
 
3232
  cat conftest.err >&5
 
3233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3234
  (exit $ac_status); } &&
 
3235
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3236
  { (case "(($ac_try" in
 
3237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3238
  *) ac_try_echo=$ac_try;;
 
3239
esac
 
3240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3241
  (eval "$ac_try") 2>&5
 
3242
  ac_status=$?
 
3243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3244
  (exit $ac_status); }; } &&
 
3245
         { ac_try='test -s conftest.$ac_objext'
 
3246
  { (case "(($ac_try" in
 
3247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3248
  *) ac_try_echo=$ac_try;;
 
3249
esac
 
3250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3251
  (eval "$ac_try") 2>&5
 
3252
  ac_status=$?
 
3253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3254
  (exit $ac_status); }; }; then
 
3255
  :
 
3256
else
 
3257
  echo "$as_me: failed program was:" >&5
 
3258
sed 's/^/| /' conftest.$ac_ext >&5
 
3259
 
 
3260
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3261
         CFLAGS="-g"
 
3262
         cat >conftest.$ac_ext <<_ACEOF
 
3263
/* confdefs.h.  */
 
3264
_ACEOF
 
3265
cat confdefs.h >>conftest.$ac_ext
 
3266
cat >>conftest.$ac_ext <<_ACEOF
 
3267
/* end confdefs.h.  */
 
3268
 
 
3269
int
 
3270
main ()
 
3271
{
 
3272
 
 
3273
  ;
 
3274
  return 0;
 
3275
}
 
3276
_ACEOF
 
3277
rm -f conftest.$ac_objext
 
3278
if { (ac_try="$ac_compile"
 
3279
case "(($ac_try" in
 
3280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3281
  *) ac_try_echo=$ac_try;;
 
3282
esac
 
3283
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3284
  (eval "$ac_compile") 2>conftest.er1
 
3285
  ac_status=$?
 
3286
  grep -v '^ *+' conftest.er1 >conftest.err
 
3287
  rm -f conftest.er1
 
3288
  cat conftest.err >&5
 
3289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3290
  (exit $ac_status); } &&
 
3291
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3292
  { (case "(($ac_try" in
 
3293
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3294
  *) ac_try_echo=$ac_try;;
 
3295
esac
 
3296
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3297
  (eval "$ac_try") 2>&5
 
3298
  ac_status=$?
 
3299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3300
  (exit $ac_status); }; } &&
 
3301
         { ac_try='test -s conftest.$ac_objext'
 
3302
  { (case "(($ac_try" in
 
3303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3304
  *) ac_try_echo=$ac_try;;
 
3305
esac
 
3306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3307
  (eval "$ac_try") 2>&5
 
3308
  ac_status=$?
 
3309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3310
  (exit $ac_status); }; }; then
 
3311
  ac_cv_prog_cc_g=yes
 
3312
else
 
3313
  echo "$as_me: failed program was:" >&5
 
3314
sed 's/^/| /' conftest.$ac_ext >&5
 
3315
 
 
3316
 
 
3317
fi
 
3318
 
 
3319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3320
fi
 
3321
 
 
3322
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3323
fi
 
3324
 
 
3325
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3326
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3327
fi
 
3328
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3329
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2643
3330
if test "$ac_test_CFLAGS" = set; then
2644
3331
  CFLAGS=$ac_save_CFLAGS
2645
3332
elif test $ac_cv_prog_cc_g = yes; then
2655
3342
    CFLAGS=
2656
3343
  fi
2657
3344
fi
2658
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2659
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2660
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3345
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3346
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3347
if test "${ac_cv_prog_cc_c89+set}" = set; then
2661
3348
  echo $ECHO_N "(cached) $ECHO_C" >&6
2662
3349
else
2663
 
  ac_cv_prog_cc_stdc=no
 
3350
  ac_cv_prog_cc_c89=no
2664
3351
ac_save_CC=$CC
2665
3352
cat >conftest.$ac_ext <<_ACEOF
2666
3353
/* confdefs.h.  */
2694
3381
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2695
3382
   function prototypes and stuff, but not '\xHH' hex character constants.
2696
3383
   These don't provoke an error unfortunately, instead are silently treated
2697
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3384
   as 'x'.  The following induces an error, until -std is added to get
2698
3385
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2699
3386
   array size at least.  It's necessary to write '\x00'==0 to get something
2700
 
   that's true only with -std1.  */
 
3387
   that's true only with -std.  */
2701
3388
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2702
3389
 
 
3390
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3391
   inside strings and character constants.  */
 
3392
#define FOO(x) 'x'
 
3393
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3394
 
2703
3395
int test (int i, double x);
2704
3396
struct s1 {int (*f) (int a);};
2705
3397
struct s2 {int (*f) (double a);};
2714
3406
  return 0;
2715
3407
}
2716
3408
_ACEOF
2717
 
# Don't try gcc -ansi; that turns off useful extensions and
2718
 
# breaks some systems' header files.
2719
 
# AIX                   -qlanglvl=ansi
2720
 
# Ultrix and OSF/1      -std1
2721
 
# HP-UX 10.20 and later -Ae
2722
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2723
 
# SVR4                  -Xc -D__EXTENSIONS__
2724
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3409
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3410
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2725
3411
do
2726
3412
  CC="$ac_save_CC $ac_arg"
2727
3413
  rm -f conftest.$ac_objext
2728
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729
 
  (eval $ac_compile) 2>conftest.er1
 
3414
if { (ac_try="$ac_compile"
 
3415
case "(($ac_try" in
 
3416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3417
  *) ac_try_echo=$ac_try;;
 
3418
esac
 
3419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3420
  (eval "$ac_compile") 2>conftest.er1
2730
3421
  ac_status=$?
2731
3422
  grep -v '^ *+' conftest.er1 >conftest.err
2732
3423
  rm -f conftest.er1
2733
3424
  cat conftest.err >&5
2734
3425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735
3426
  (exit $ac_status); } &&
2736
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738
 
  (eval $ac_try) 2>&5
 
3427
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3428
  { (case "(($ac_try" in
 
3429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3430
  *) ac_try_echo=$ac_try;;
 
3431
esac
 
3432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3433
  (eval "$ac_try") 2>&5
2739
3434
  ac_status=$?
2740
3435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741
3436
  (exit $ac_status); }; } &&
2742
3437
         { ac_try='test -s conftest.$ac_objext'
2743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744
 
  (eval $ac_try) 2>&5
 
3438
  { (case "(($ac_try" in
 
3439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3440
  *) ac_try_echo=$ac_try;;
 
3441
esac
 
3442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3443
  (eval "$ac_try") 2>&5
2745
3444
  ac_status=$?
2746
3445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747
3446
  (exit $ac_status); }; }; then
2748
 
  ac_cv_prog_cc_stdc=$ac_arg
2749
 
break
 
3447
  ac_cv_prog_cc_c89=$ac_arg
2750
3448
else
2751
3449
  echo "$as_me: failed program was:" >&5
2752
3450
sed 's/^/| /' conftest.$ac_ext >&5
2753
3451
 
 
3452
 
2754
3453
fi
2755
 
rm -f conftest.err conftest.$ac_objext
 
3454
 
 
3455
rm -f core conftest.err conftest.$ac_objext
 
3456
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2756
3457
done
2757
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3458
rm -f conftest.$ac_ext
2758
3459
CC=$ac_save_CC
2759
3460
 
2760
3461
fi
2761
 
 
2762
 
case "x$ac_cv_prog_cc_stdc" in
2763
 
  x|xno)
2764
 
    echo "$as_me:$LINENO: result: none needed" >&5
2765
 
echo "${ECHO_T}none needed" >&6 ;;
 
3462
# AC_CACHE_VAL
 
3463
case "x$ac_cv_prog_cc_c89" in
 
3464
  x)
 
3465
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3466
echo "${ECHO_T}none needed" >&6; } ;;
 
3467
  xno)
 
3468
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3469
echo "${ECHO_T}unsupported" >&6; } ;;
2766
3470
  *)
2767
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2768
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2769
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3471
    CC="$CC $ac_cv_prog_cc_c89"
 
3472
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3473
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2770
3474
esac
2771
3475
 
2772
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2773
 
# in C++ we need to declare it.  In case someone uses the same compiler
2774
 
# for both compiling C and C++ we need to have the C++ compiler decide
2775
 
# the declaration of exit, since it's the most demanding environment.
2776
 
cat >conftest.$ac_ext <<_ACEOF
2777
 
#ifndef __cplusplus
2778
 
  choke me
 
3476
 
 
3477
ac_ext=c
 
3478
ac_cpp='$CPP $CPPFLAGS'
 
3479
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3480
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3481
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3482
 
 
3483
depcc="$CC"   am_compiler_list=
 
3484
 
 
3485
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3486
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3487
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3488
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3489
else
 
3490
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3491
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3492
  # making bogus files that we don't know about and never remove.  For
 
3493
  # instance it was reported that on HP-UX the gcc test will end up
 
3494
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3495
  # in D'.
 
3496
  mkdir conftest.dir
 
3497
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3498
  # using a relative directory.
 
3499
  cp "$am_depcomp" conftest.dir
 
3500
  cd conftest.dir
 
3501
  # We will build objects and dependencies in a subdirectory because
 
3502
  # it helps to detect inapplicable dependency modes.  For instance
 
3503
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3504
  # side effect of compilation, but ICC will put the dependencies in
 
3505
  # the current directory while Tru64 will put them in the object
 
3506
  # directory.
 
3507
  mkdir sub
 
3508
 
 
3509
  am_cv_CC_dependencies_compiler_type=none
 
3510
  if test "$am_compiler_list" = ""; then
 
3511
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3512
  fi
 
3513
  for depmode in $am_compiler_list; do
 
3514
    # Setup a source with many dependencies, because some compilers
 
3515
    # like to wrap large dependency lists on column 80 (with \), and
 
3516
    # we should not choose a depcomp mode which is confused by this.
 
3517
    #
 
3518
    # We need to recreate these files for each test, as the compiler may
 
3519
    # overwrite some of them when testing with obscure command lines.
 
3520
    # This happens at least with the AIX C compiler.
 
3521
    : > sub/conftest.c
 
3522
    for i in 1 2 3 4 5 6; do
 
3523
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3524
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3525
      # Solaris 8's {/usr,}/bin/sh.
 
3526
      touch sub/conftst$i.h
 
3527
    done
 
3528
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3529
 
 
3530
    case $depmode in
 
3531
    nosideeffect)
 
3532
      # after this tag, mechanisms are not by side-effect, so they'll
 
3533
      # only be used when explicitly requested
 
3534
      if test "x$enable_dependency_tracking" = xyes; then
 
3535
        continue
 
3536
      else
 
3537
        break
 
3538
      fi
 
3539
      ;;
 
3540
    none) break ;;
 
3541
    esac
 
3542
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3543
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3544
    # handle `-M -o', and we need to detect this.
 
3545
    if depmode=$depmode \
 
3546
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3547
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3548
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3549
         >/dev/null 2>conftest.err &&
 
3550
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3551
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3552
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3553
      # icc doesn't choke on unknown options, it will just issue warnings
 
3554
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3555
      # that says an option was ignored or not supported.
 
3556
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3557
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3558
      # The diagnosis changed in icc 8.0:
 
3559
      #   icc: Command line remark: option '-MP' not supported
 
3560
      if (grep 'ignoring option' conftest.err ||
 
3561
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3562
        am_cv_CC_dependencies_compiler_type=$depmode
 
3563
        break
 
3564
      fi
 
3565
    fi
 
3566
  done
 
3567
 
 
3568
  cd ..
 
3569
  rm -rf conftest.dir
 
3570
else
 
3571
  am_cv_CC_dependencies_compiler_type=none
 
3572
fi
 
3573
 
 
3574
fi
 
3575
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3576
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3577
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3578
 
 
3579
 
 
3580
 
 
3581
if
 
3582
  test "x$enable_dependency_tracking" != xno \
 
3583
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3584
  am__fastdepCC_TRUE=
 
3585
  am__fastdepCC_FALSE='#'
 
3586
else
 
3587
  am__fastdepCC_TRUE='#'
 
3588
  am__fastdepCC_FALSE=
 
3589
fi
 
3590
 
 
3591
 
 
3592
 
 
3593
ac_ext=c
 
3594
ac_cpp='$CPP $CPPFLAGS'
 
3595
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3596
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3597
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3598
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3599
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3600
# On Suns, sometimes $CPP names a directory.
 
3601
if test -n "$CPP" && test -d "$CPP"; then
 
3602
  CPP=
 
3603
fi
 
3604
if test -z "$CPP"; then
 
3605
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3606
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3607
else
 
3608
      # Double quotes because CPP needs to be expanded
 
3609
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3610
    do
 
3611
      ac_preproc_ok=false
 
3612
for ac_c_preproc_warn_flag in '' yes
 
3613
do
 
3614
  # Use a header file that comes with gcc, so configuring glibc
 
3615
  # with a fresh cross-compiler works.
 
3616
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3617
  # <limits.h> exists even on freestanding compilers.
 
3618
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3619
  # not just through cpp. "Syntax error" is here to catch this case.
 
3620
  cat >conftest.$ac_ext <<_ACEOF
 
3621
/* confdefs.h.  */
 
3622
_ACEOF
 
3623
cat confdefs.h >>conftest.$ac_ext
 
3624
cat >>conftest.$ac_ext <<_ACEOF
 
3625
/* end confdefs.h.  */
 
3626
#ifdef __STDC__
 
3627
# include <limits.h>
 
3628
#else
 
3629
# include <assert.h>
2779
3630
#endif
2780
 
_ACEOF
2781
 
rm -f conftest.$ac_objext
2782
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2783
 
  (eval $ac_compile) 2>conftest.er1
2784
 
  ac_status=$?
2785
 
  grep -v '^ *+' conftest.er1 >conftest.err
2786
 
  rm -f conftest.er1
2787
 
  cat conftest.err >&5
2788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789
 
  (exit $ac_status); } &&
2790
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2791
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792
 
  (eval $ac_try) 2>&5
2793
 
  ac_status=$?
2794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795
 
  (exit $ac_status); }; } &&
2796
 
         { ac_try='test -s conftest.$ac_objext'
2797
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798
 
  (eval $ac_try) 2>&5
2799
 
  ac_status=$?
2800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801
 
  (exit $ac_status); }; }; then
2802
 
  for ac_declaration in \
2803
 
   '' \
2804
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2805
 
   'extern "C" void std::exit (int); using std::exit;' \
2806
 
   'extern "C" void exit (int) throw ();' \
2807
 
   'extern "C" void exit (int);' \
2808
 
   'void exit (int);'
2809
 
do
2810
 
  cat >conftest.$ac_ext <<_ACEOF
2811
 
/* confdefs.h.  */
2812
 
_ACEOF
2813
 
cat confdefs.h >>conftest.$ac_ext
2814
 
cat >>conftest.$ac_ext <<_ACEOF
2815
 
/* end confdefs.h.  */
2816
 
$ac_declaration
2817
 
#include <stdlib.h>
2818
 
int
2819
 
main ()
2820
 
{
2821
 
exit (42);
2822
 
  ;
2823
 
  return 0;
2824
 
}
2825
 
_ACEOF
2826
 
rm -f conftest.$ac_objext
2827
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828
 
  (eval $ac_compile) 2>conftest.er1
2829
 
  ac_status=$?
2830
 
  grep -v '^ *+' conftest.er1 >conftest.err
2831
 
  rm -f conftest.er1
2832
 
  cat conftest.err >&5
2833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
 
  (exit $ac_status); } &&
2835
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837
 
  (eval $ac_try) 2>&5
2838
 
  ac_status=$?
2839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }; } &&
2841
 
         { ac_try='test -s conftest.$ac_objext'
2842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843
 
  (eval $ac_try) 2>&5
2844
 
  ac_status=$?
2845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
 
  (exit $ac_status); }; }; then
 
3631
                     Syntax error
 
3632
_ACEOF
 
3633
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3634
case "(($ac_try" in
 
3635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3636
  *) ac_try_echo=$ac_try;;
 
3637
esac
 
3638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3639
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3640
  ac_status=$?
 
3641
  grep -v '^ *+' conftest.er1 >conftest.err
 
3642
  rm -f conftest.er1
 
3643
  cat conftest.err >&5
 
3644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3645
  (exit $ac_status); } >/dev/null; then
 
3646
  if test -s conftest.err; then
 
3647
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3648
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3649
  else
 
3650
    ac_cpp_err=
 
3651
  fi
 
3652
else
 
3653
  ac_cpp_err=yes
 
3654
fi
 
3655
if test -z "$ac_cpp_err"; then
2847
3656
  :
2848
3657
else
2849
3658
  echo "$as_me: failed program was:" >&5
2850
3659
sed 's/^/| /' conftest.$ac_ext >&5
2851
3660
 
 
3661
  # Broken: fails on valid input.
2852
3662
continue
2853
3663
fi
2854
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3664
 
 
3665
rm -f conftest.err conftest.$ac_ext
 
3666
 
 
3667
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3668
  # can be detected and how.
2855
3669
  cat >conftest.$ac_ext <<_ACEOF
2856
3670
/* confdefs.h.  */
2857
3671
_ACEOF
2858
3672
cat confdefs.h >>conftest.$ac_ext
2859
3673
cat >>conftest.$ac_ext <<_ACEOF
2860
3674
/* end confdefs.h.  */
2861
 
$ac_declaration
2862
 
int
2863
 
main ()
2864
 
{
2865
 
exit (42);
2866
 
  ;
2867
 
  return 0;
2868
 
}
 
3675
#include <ac_nonexistent.h>
2869
3676
_ACEOF
2870
 
rm -f conftest.$ac_objext
2871
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872
 
  (eval $ac_compile) 2>conftest.er1
 
3677
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3678
case "(($ac_try" in
 
3679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3680
  *) ac_try_echo=$ac_try;;
 
3681
esac
 
3682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3683
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2873
3684
  ac_status=$?
2874
3685
  grep -v '^ *+' conftest.er1 >conftest.err
2875
3686
  rm -f conftest.er1
2876
3687
  cat conftest.err >&5
2877
3688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878
 
  (exit $ac_status); } &&
2879
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881
 
  (eval $ac_try) 2>&5
2882
 
  ac_status=$?
2883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
 
  (exit $ac_status); }; } &&
2885
 
         { ac_try='test -s conftest.$ac_objext'
2886
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887
 
  (eval $ac_try) 2>&5
2888
 
  ac_status=$?
2889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890
 
  (exit $ac_status); }; }; then
 
3689
  (exit $ac_status); } >/dev/null; then
 
3690
  if test -s conftest.err; then
 
3691
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3692
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3693
  else
 
3694
    ac_cpp_err=
 
3695
  fi
 
3696
else
 
3697
  ac_cpp_err=yes
 
3698
fi
 
3699
if test -z "$ac_cpp_err"; then
 
3700
  # Broken: success on invalid input.
 
3701
continue
 
3702
else
 
3703
  echo "$as_me: failed program was:" >&5
 
3704
sed 's/^/| /' conftest.$ac_ext >&5
 
3705
 
 
3706
  # Passes both tests.
 
3707
ac_preproc_ok=:
 
3708
break
 
3709
fi
 
3710
 
 
3711
rm -f conftest.err conftest.$ac_ext
 
3712
 
 
3713
done
 
3714
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3715
rm -f conftest.err conftest.$ac_ext
 
3716
if $ac_preproc_ok; then
2891
3717
  break
2892
 
else
2893
 
  echo "$as_me: failed program was:" >&5
2894
 
sed 's/^/| /' conftest.$ac_ext >&5
2895
 
 
2896
 
fi
2897
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3718
fi
 
3719
 
 
3720
    done
 
3721
    ac_cv_prog_CPP=$CPP
 
3722
 
 
3723
fi
 
3724
  CPP=$ac_cv_prog_CPP
 
3725
else
 
3726
  ac_cv_prog_CPP=$CPP
 
3727
fi
 
3728
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3729
echo "${ECHO_T}$CPP" >&6; }
 
3730
ac_preproc_ok=false
 
3731
for ac_c_preproc_warn_flag in '' yes
 
3732
do
 
3733
  # Use a header file that comes with gcc, so configuring glibc
 
3734
  # with a fresh cross-compiler works.
 
3735
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3736
  # <limits.h> exists even on freestanding compilers.
 
3737
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3738
  # not just through cpp. "Syntax error" is here to catch this case.
 
3739
  cat >conftest.$ac_ext <<_ACEOF
 
3740
/* confdefs.h.  */
 
3741
_ACEOF
 
3742
cat confdefs.h >>conftest.$ac_ext
 
3743
cat >>conftest.$ac_ext <<_ACEOF
 
3744
/* end confdefs.h.  */
 
3745
#ifdef __STDC__
 
3746
# include <limits.h>
 
3747
#else
 
3748
# include <assert.h>
 
3749
#endif
 
3750
                     Syntax error
 
3751
_ACEOF
 
3752
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3753
case "(($ac_try" in
 
3754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3755
  *) ac_try_echo=$ac_try;;
 
3756
esac
 
3757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3758
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3759
  ac_status=$?
 
3760
  grep -v '^ *+' conftest.er1 >conftest.err
 
3761
  rm -f conftest.er1
 
3762
  cat conftest.err >&5
 
3763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3764
  (exit $ac_status); } >/dev/null; then
 
3765
  if test -s conftest.err; then
 
3766
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3767
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3768
  else
 
3769
    ac_cpp_err=
 
3770
  fi
 
3771
else
 
3772
  ac_cpp_err=yes
 
3773
fi
 
3774
if test -z "$ac_cpp_err"; then
 
3775
  :
 
3776
else
 
3777
  echo "$as_me: failed program was:" >&5
 
3778
sed 's/^/| /' conftest.$ac_ext >&5
 
3779
 
 
3780
  # Broken: fails on valid input.
 
3781
continue
 
3782
fi
 
3783
 
 
3784
rm -f conftest.err conftest.$ac_ext
 
3785
 
 
3786
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3787
  # can be detected and how.
 
3788
  cat >conftest.$ac_ext <<_ACEOF
 
3789
/* confdefs.h.  */
 
3790
_ACEOF
 
3791
cat confdefs.h >>conftest.$ac_ext
 
3792
cat >>conftest.$ac_ext <<_ACEOF
 
3793
/* end confdefs.h.  */
 
3794
#include <ac_nonexistent.h>
 
3795
_ACEOF
 
3796
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3797
case "(($ac_try" in
 
3798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3799
  *) ac_try_echo=$ac_try;;
 
3800
esac
 
3801
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3802
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3803
  ac_status=$?
 
3804
  grep -v '^ *+' conftest.er1 >conftest.err
 
3805
  rm -f conftest.er1
 
3806
  cat conftest.err >&5
 
3807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3808
  (exit $ac_status); } >/dev/null; then
 
3809
  if test -s conftest.err; then
 
3810
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3811
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3812
  else
 
3813
    ac_cpp_err=
 
3814
  fi
 
3815
else
 
3816
  ac_cpp_err=yes
 
3817
fi
 
3818
if test -z "$ac_cpp_err"; then
 
3819
  # Broken: success on invalid input.
 
3820
continue
 
3821
else
 
3822
  echo "$as_me: failed program was:" >&5
 
3823
sed 's/^/| /' conftest.$ac_ext >&5
 
3824
 
 
3825
  # Passes both tests.
 
3826
ac_preproc_ok=:
 
3827
break
 
3828
fi
 
3829
 
 
3830
rm -f conftest.err conftest.$ac_ext
 
3831
 
2898
3832
done
2899
 
rm -f conftest*
2900
 
if test -n "$ac_declaration"; then
2901
 
  echo '#ifdef __cplusplus' >>confdefs.h
2902
 
  echo $ac_declaration      >>confdefs.h
2903
 
  echo '#endif'             >>confdefs.h
2904
 
fi
2905
 
 
 
3833
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3834
rm -f conftest.err conftest.$ac_ext
 
3835
if $ac_preproc_ok; then
 
3836
  :
2906
3837
else
2907
 
  echo "$as_me: failed program was:" >&5
2908
 
sed 's/^/| /' conftest.$ac_ext >&5
 
3838
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3839
See \`config.log' for more details." >&5
 
3840
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3841
See \`config.log' for more details." >&2;}
 
3842
   { (exit 1); exit 1; }; }
 
3843
fi
2909
3844
 
2910
 
fi
2911
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2912
3845
ac_ext=c
2913
3846
ac_cpp='$CPP $CPPFLAGS'
2914
3847
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915
3848
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2916
3849
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917
 
DEPDIR="${am__leading_dot}deps"
2918
 
 
2919
 
          ac_config_commands="$ac_config_commands depfiles"
2920
 
 
2921
 
 
2922
 
am_make=${MAKE-make}
2923
 
cat > confinc << 'END'
2924
 
am__doit:
2925
 
        @echo done
2926
 
.PHONY: am__doit
2927
 
END
2928
 
# If we don't find an include directive, just comment out the code.
2929
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2930
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2931
 
am__include="#"
2932
 
am__quote=
2933
 
_am_result=none
2934
 
# First try GNU make style include.
2935
 
echo "include confinc" > confmf
2936
 
# We grep out `Entering directory' and `Leaving directory'
2937
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2938
 
# In particular we don't look at `^make:' because GNU make might
2939
 
# be invoked under some other name (usually "gmake"), in which
2940
 
# case it prints its new name instead of `make'.
2941
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2942
 
   am__include=include
2943
 
   am__quote=
2944
 
   _am_result=GNU
2945
 
fi
2946
 
# Now try BSD make style include.
2947
 
if test "$am__include" = "#"; then
2948
 
   echo '.include "confinc"' > confmf
2949
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2950
 
      am__include=.include
2951
 
      am__quote="\""
2952
 
      _am_result=BSD
 
3850
 
 
3851
 
 
3852
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3853
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3854
if test "${ac_cv_path_GREP+set}" = set; then
 
3855
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3856
else
 
3857
  # Extract the first word of "grep ggrep" to use in msg output
 
3858
if test -z "$GREP"; then
 
3859
set dummy grep ggrep; ac_prog_name=$2
 
3860
if test "${ac_cv_path_GREP+set}" = set; then
 
3861
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3862
else
 
3863
  ac_path_GREP_found=false
 
3864
# Loop through the user's path and test for each of PROGNAME-LIST
 
3865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3866
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3867
do
 
3868
  IFS=$as_save_IFS
 
3869
  test -z "$as_dir" && as_dir=.
 
3870
  for ac_prog in grep ggrep; do
 
3871
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3872
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3873
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3874
    # Check for GNU ac_path_GREP and select it if it is found.
 
3875
  # Check for GNU $ac_path_GREP
 
3876
case `"$ac_path_GREP" --version 2>&1` in
 
3877
*GNU*)
 
3878
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3879
*)
 
3880
  ac_count=0
 
3881
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3882
  while :
 
3883
  do
 
3884
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3885
    mv "conftest.tmp" "conftest.in"
 
3886
    cp "conftest.in" "conftest.nl"
 
3887
    echo 'GREP' >> "conftest.nl"
 
3888
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3889
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3890
    ac_count=`expr $ac_count + 1`
 
3891
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3892
      # Best one so far, save it but keep looking for a better one
 
3893
      ac_cv_path_GREP="$ac_path_GREP"
 
3894
      ac_path_GREP_max=$ac_count
 
3895
    fi
 
3896
    # 10*(2^10) chars as input seems more than enough
 
3897
    test $ac_count -gt 10 && break
 
3898
  done
 
3899
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3900
esac
 
3901
 
 
3902
 
 
3903
    $ac_path_GREP_found && break 3
 
3904
  done
 
3905
done
 
3906
 
 
3907
done
 
3908
IFS=$as_save_IFS
 
3909
 
 
3910
 
 
3911
fi
 
3912
 
 
3913
GREP="$ac_cv_path_GREP"
 
3914
if test -z "$GREP"; then
 
3915
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3916
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3917
   { (exit 1); exit 1; }; }
 
3918
fi
 
3919
 
 
3920
else
 
3921
  ac_cv_path_GREP=$GREP
 
3922
fi
 
3923
 
 
3924
 
 
3925
fi
 
3926
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3927
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3928
 GREP="$ac_cv_path_GREP"
 
3929
 
 
3930
 
 
3931
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3932
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3933
if test "${ac_cv_path_EGREP+set}" = set; then
 
3934
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3935
else
 
3936
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3937
   then ac_cv_path_EGREP="$GREP -E"
 
3938
   else
 
3939
     # Extract the first word of "egrep" to use in msg output
 
3940
if test -z "$EGREP"; then
 
3941
set dummy egrep; ac_prog_name=$2
 
3942
if test "${ac_cv_path_EGREP+set}" = set; then
 
3943
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3944
else
 
3945
  ac_path_EGREP_found=false
 
3946
# Loop through the user's path and test for each of PROGNAME-LIST
 
3947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3948
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3949
do
 
3950
  IFS=$as_save_IFS
 
3951
  test -z "$as_dir" && as_dir=.
 
3952
  for ac_prog in egrep; do
 
3953
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3954
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3955
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
3956
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3957
  # Check for GNU $ac_path_EGREP
 
3958
case `"$ac_path_EGREP" --version 2>&1` in
 
3959
*GNU*)
 
3960
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3961
*)
 
3962
  ac_count=0
 
3963
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3964
  while :
 
3965
  do
 
3966
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3967
    mv "conftest.tmp" "conftest.in"
 
3968
    cp "conftest.in" "conftest.nl"
 
3969
    echo 'EGREP' >> "conftest.nl"
 
3970
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3971
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3972
    ac_count=`expr $ac_count + 1`
 
3973
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3974
      # Best one so far, save it but keep looking for a better one
 
3975
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3976
      ac_path_EGREP_max=$ac_count
 
3977
    fi
 
3978
    # 10*(2^10) chars as input seems more than enough
 
3979
    test $ac_count -gt 10 && break
 
3980
  done
 
3981
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3982
esac
 
3983
 
 
3984
 
 
3985
    $ac_path_EGREP_found && break 3
 
3986
  done
 
3987
done
 
3988
 
 
3989
done
 
3990
IFS=$as_save_IFS
 
3991
 
 
3992
 
 
3993
fi
 
3994
 
 
3995
EGREP="$ac_cv_path_EGREP"
 
3996
if test -z "$EGREP"; then
 
3997
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3998
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3999
   { (exit 1); exit 1; }; }
 
4000
fi
 
4001
 
 
4002
else
 
4003
  ac_cv_path_EGREP=$EGREP
 
4004
fi
 
4005
 
 
4006
 
2953
4007
   fi
2954
4008
fi
2955
 
 
2956
 
 
2957
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2958
 
echo "${ECHO_T}$_am_result" >&6
2959
 
rm -f confinc confmf
2960
 
 
2961
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2962
 
if test "${enable_dependency_tracking+set}" = set; then
2963
 
  enableval="$enable_dependency_tracking"
2964
 
 
2965
 
fi;
2966
 
if test "x$enable_dependency_tracking" != xno; then
2967
 
  am_depcomp="$ac_aux_dir/depcomp"
2968
 
  AMDEPBACKSLASH='\'
2969
 
fi
2970
 
 
2971
 
 
2972
 
if test "x$enable_dependency_tracking" != xno; then
2973
 
  AMDEP_TRUE=
2974
 
  AMDEP_FALSE='#'
2975
 
else
2976
 
  AMDEP_TRUE='#'
2977
 
  AMDEP_FALSE=
2978
 
fi
2979
 
 
2980
 
 
2981
 
 
 
4009
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4010
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4011
 EGREP="$ac_cv_path_EGREP"
 
4012
 
 
4013
 
 
4014
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4015
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4016
if test "${ac_cv_header_stdc+set}" = set; then
 
4017
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4018
else
 
4019
  cat >conftest.$ac_ext <<_ACEOF
 
4020
/* confdefs.h.  */
 
4021
_ACEOF
 
4022
cat confdefs.h >>conftest.$ac_ext
 
4023
cat >>conftest.$ac_ext <<_ACEOF
 
4024
/* end confdefs.h.  */
 
4025
#include <stdlib.h>
 
4026
#include <stdarg.h>
 
4027
#include <string.h>
 
4028
#include <float.h>
 
4029
 
 
4030
int
 
4031
main ()
 
4032
{
 
4033
 
 
4034
  ;
 
4035
  return 0;
 
4036
}
 
4037
_ACEOF
 
4038
rm -f conftest.$ac_objext
 
4039
if { (ac_try="$ac_compile"
 
4040
case "(($ac_try" in
 
4041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4042
  *) ac_try_echo=$ac_try;;
 
4043
esac
 
4044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4045
  (eval "$ac_compile") 2>conftest.er1
 
4046
  ac_status=$?
 
4047
  grep -v '^ *+' conftest.er1 >conftest.err
 
4048
  rm -f conftest.er1
 
4049
  cat conftest.err >&5
 
4050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4051
  (exit $ac_status); } &&
 
4052
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4053
  { (case "(($ac_try" in
 
4054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4055
  *) ac_try_echo=$ac_try;;
 
4056
esac
 
4057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4058
  (eval "$ac_try") 2>&5
 
4059
  ac_status=$?
 
4060
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4061
  (exit $ac_status); }; } &&
 
4062
         { ac_try='test -s conftest.$ac_objext'
 
4063
  { (case "(($ac_try" in
 
4064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4065
  *) ac_try_echo=$ac_try;;
 
4066
esac
 
4067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4068
  (eval "$ac_try") 2>&5
 
4069
  ac_status=$?
 
4070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4071
  (exit $ac_status); }; }; then
 
4072
  ac_cv_header_stdc=yes
 
4073
else
 
4074
  echo "$as_me: failed program was:" >&5
 
4075
sed 's/^/| /' conftest.$ac_ext >&5
 
4076
 
 
4077
        ac_cv_header_stdc=no
 
4078
fi
 
4079
 
 
4080
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4081
 
 
4082
if test $ac_cv_header_stdc = yes; then
 
4083
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4084
  cat >conftest.$ac_ext <<_ACEOF
 
4085
/* confdefs.h.  */
 
4086
_ACEOF
 
4087
cat confdefs.h >>conftest.$ac_ext
 
4088
cat >>conftest.$ac_ext <<_ACEOF
 
4089
/* end confdefs.h.  */
 
4090
#include <string.h>
 
4091
 
 
4092
_ACEOF
 
4093
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4094
  $EGREP "memchr" >/dev/null 2>&1; then
 
4095
  :
 
4096
else
 
4097
  ac_cv_header_stdc=no
 
4098
fi
 
4099
rm -f conftest*
 
4100
 
 
4101
fi
 
4102
 
 
4103
if test $ac_cv_header_stdc = yes; then
 
4104
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4105
  cat >conftest.$ac_ext <<_ACEOF
 
4106
/* confdefs.h.  */
 
4107
_ACEOF
 
4108
cat confdefs.h >>conftest.$ac_ext
 
4109
cat >>conftest.$ac_ext <<_ACEOF
 
4110
/* end confdefs.h.  */
 
4111
#include <stdlib.h>
 
4112
 
 
4113
_ACEOF
 
4114
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4115
  $EGREP "free" >/dev/null 2>&1; then
 
4116
  :
 
4117
else
 
4118
  ac_cv_header_stdc=no
 
4119
fi
 
4120
rm -f conftest*
 
4121
 
 
4122
fi
 
4123
 
 
4124
if test $ac_cv_header_stdc = yes; then
 
4125
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4126
  if test "$cross_compiling" = yes; then
 
4127
  :
 
4128
else
 
4129
  cat >conftest.$ac_ext <<_ACEOF
 
4130
/* confdefs.h.  */
 
4131
_ACEOF
 
4132
cat confdefs.h >>conftest.$ac_ext
 
4133
cat >>conftest.$ac_ext <<_ACEOF
 
4134
/* end confdefs.h.  */
 
4135
#include <ctype.h>
 
4136
#include <stdlib.h>
 
4137
#if ((' ' & 0x0FF) == 0x020)
 
4138
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4139
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4140
#else
 
4141
# define ISLOWER(c) \
 
4142
                   (('a' <= (c) && (c) <= 'i') \
 
4143
                     || ('j' <= (c) && (c) <= 'r') \
 
4144
                     || ('s' <= (c) && (c) <= 'z'))
 
4145
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4146
#endif
 
4147
 
 
4148
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4149
int
 
4150
main ()
 
4151
{
 
4152
  int i;
 
4153
  for (i = 0; i < 256; i++)
 
4154
    if (XOR (islower (i), ISLOWER (i))
 
4155
        || toupper (i) != TOUPPER (i))
 
4156
      return 2;
 
4157
  return 0;
 
4158
}
 
4159
_ACEOF
 
4160
rm -f conftest$ac_exeext
 
4161
if { (ac_try="$ac_link"
 
4162
case "(($ac_try" in
 
4163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4164
  *) ac_try_echo=$ac_try;;
 
4165
esac
 
4166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4167
  (eval "$ac_link") 2>&5
 
4168
  ac_status=$?
 
4169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4170
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4171
  { (case "(($ac_try" in
 
4172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4173
  *) ac_try_echo=$ac_try;;
 
4174
esac
 
4175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4176
  (eval "$ac_try") 2>&5
 
4177
  ac_status=$?
 
4178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4179
  (exit $ac_status); }; }; then
 
4180
  :
 
4181
else
 
4182
  echo "$as_me: program exited with status $ac_status" >&5
 
4183
echo "$as_me: failed program was:" >&5
 
4184
sed 's/^/| /' conftest.$ac_ext >&5
 
4185
 
 
4186
( exit $ac_status )
 
4187
ac_cv_header_stdc=no
 
4188
fi
 
4189
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4190
fi
 
4191
 
 
4192
 
 
4193
fi
 
4194
fi
 
4195
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4196
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4197
if test $ac_cv_header_stdc = yes; then
 
4198
 
 
4199
cat >>confdefs.h <<\_ACEOF
 
4200
#define STDC_HEADERS 1
 
4201
_ACEOF
 
4202
 
 
4203
fi
 
4204
 
 
4205
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4206
 
 
4207
 
 
4208
 
 
4209
 
 
4210
 
 
4211
 
 
4212
 
 
4213
 
 
4214
 
 
4215
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4216
                  inttypes.h stdint.h unistd.h
 
4217
do
 
4218
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4219
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4220
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4221
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4222
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4223
else
 
4224
  cat >conftest.$ac_ext <<_ACEOF
 
4225
/* confdefs.h.  */
 
4226
_ACEOF
 
4227
cat confdefs.h >>conftest.$ac_ext
 
4228
cat >>conftest.$ac_ext <<_ACEOF
 
4229
/* end confdefs.h.  */
 
4230
$ac_includes_default
 
4231
 
 
4232
#include <$ac_header>
 
4233
_ACEOF
 
4234
rm -f conftest.$ac_objext
 
4235
if { (ac_try="$ac_compile"
 
4236
case "(($ac_try" in
 
4237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4238
  *) ac_try_echo=$ac_try;;
 
4239
esac
 
4240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4241
  (eval "$ac_compile") 2>conftest.er1
 
4242
  ac_status=$?
 
4243
  grep -v '^ *+' conftest.er1 >conftest.err
 
4244
  rm -f conftest.er1
 
4245
  cat conftest.err >&5
 
4246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4247
  (exit $ac_status); } &&
 
4248
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4249
  { (case "(($ac_try" in
 
4250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4251
  *) ac_try_echo=$ac_try;;
 
4252
esac
 
4253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4254
  (eval "$ac_try") 2>&5
 
4255
  ac_status=$?
 
4256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4257
  (exit $ac_status); }; } &&
 
4258
         { ac_try='test -s conftest.$ac_objext'
 
4259
  { (case "(($ac_try" in
 
4260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4261
  *) ac_try_echo=$ac_try;;
 
4262
esac
 
4263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4264
  (eval "$ac_try") 2>&5
 
4265
  ac_status=$?
 
4266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4267
  (exit $ac_status); }; }; then
 
4268
  eval "$as_ac_Header=yes"
 
4269
else
 
4270
  echo "$as_me: failed program was:" >&5
 
4271
sed 's/^/| /' conftest.$ac_ext >&5
 
4272
 
 
4273
        eval "$as_ac_Header=no"
 
4274
fi
 
4275
 
 
4276
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4277
fi
 
4278
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4279
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4280
echo "${ECHO_T}$ac_res" >&6; }
 
4281
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4282
  cat >>confdefs.h <<_ACEOF
 
4283
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4284
_ACEOF
 
4285
 
 
4286
fi
 
4287
 
 
4288
done
 
4289
 
 
4290
 
 
4291
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
4292
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
4293
if test "${ac_cv_c_bigendian+set}" = set; then
 
4294
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4295
else
 
4296
  # See if sys/param.h defines the BYTE_ORDER macro.
 
4297
cat >conftest.$ac_ext <<_ACEOF
 
4298
/* confdefs.h.  */
 
4299
_ACEOF
 
4300
cat confdefs.h >>conftest.$ac_ext
 
4301
cat >>conftest.$ac_ext <<_ACEOF
 
4302
/* end confdefs.h.  */
 
4303
#include <sys/types.h>
 
4304
#include <sys/param.h>
 
4305
 
 
4306
int
 
4307
main ()
 
4308
{
 
4309
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
4310
 bogus endian macros
 
4311
#endif
 
4312
 
 
4313
  ;
 
4314
  return 0;
 
4315
}
 
4316
_ACEOF
 
4317
rm -f conftest.$ac_objext
 
4318
if { (ac_try="$ac_compile"
 
4319
case "(($ac_try" in
 
4320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4321
  *) ac_try_echo=$ac_try;;
 
4322
esac
 
4323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4324
  (eval "$ac_compile") 2>conftest.er1
 
4325
  ac_status=$?
 
4326
  grep -v '^ *+' conftest.er1 >conftest.err
 
4327
  rm -f conftest.er1
 
4328
  cat conftest.err >&5
 
4329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4330
  (exit $ac_status); } &&
 
4331
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4332
  { (case "(($ac_try" in
 
4333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4334
  *) ac_try_echo=$ac_try;;
 
4335
esac
 
4336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4337
  (eval "$ac_try") 2>&5
 
4338
  ac_status=$?
 
4339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4340
  (exit $ac_status); }; } &&
 
4341
         { ac_try='test -s conftest.$ac_objext'
 
4342
  { (case "(($ac_try" in
 
4343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4344
  *) ac_try_echo=$ac_try;;
 
4345
esac
 
4346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4347
  (eval "$ac_try") 2>&5
 
4348
  ac_status=$?
 
4349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4350
  (exit $ac_status); }; }; then
 
4351
  # It does; now see whether it defined to BIG_ENDIAN or not.
 
4352
cat >conftest.$ac_ext <<_ACEOF
 
4353
/* confdefs.h.  */
 
4354
_ACEOF
 
4355
cat confdefs.h >>conftest.$ac_ext
 
4356
cat >>conftest.$ac_ext <<_ACEOF
 
4357
/* end confdefs.h.  */
 
4358
#include <sys/types.h>
 
4359
#include <sys/param.h>
 
4360
 
 
4361
int
 
4362
main ()
 
4363
{
 
4364
#if BYTE_ORDER != BIG_ENDIAN
 
4365
 not big endian
 
4366
#endif
 
4367
 
 
4368
  ;
 
4369
  return 0;
 
4370
}
 
4371
_ACEOF
 
4372
rm -f conftest.$ac_objext
 
4373
if { (ac_try="$ac_compile"
 
4374
case "(($ac_try" in
 
4375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4376
  *) ac_try_echo=$ac_try;;
 
4377
esac
 
4378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4379
  (eval "$ac_compile") 2>conftest.er1
 
4380
  ac_status=$?
 
4381
  grep -v '^ *+' conftest.er1 >conftest.err
 
4382
  rm -f conftest.er1
 
4383
  cat conftest.err >&5
 
4384
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4385
  (exit $ac_status); } &&
 
4386
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4387
  { (case "(($ac_try" in
 
4388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4389
  *) ac_try_echo=$ac_try;;
 
4390
esac
 
4391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4392
  (eval "$ac_try") 2>&5
 
4393
  ac_status=$?
 
4394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4395
  (exit $ac_status); }; } &&
 
4396
         { ac_try='test -s conftest.$ac_objext'
 
4397
  { (case "(($ac_try" in
 
4398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4399
  *) ac_try_echo=$ac_try;;
 
4400
esac
 
4401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4402
  (eval "$ac_try") 2>&5
 
4403
  ac_status=$?
 
4404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4405
  (exit $ac_status); }; }; then
 
4406
  ac_cv_c_bigendian=yes
 
4407
else
 
4408
  echo "$as_me: failed program was:" >&5
 
4409
sed 's/^/| /' conftest.$ac_ext >&5
 
4410
 
 
4411
        ac_cv_c_bigendian=no
 
4412
fi
 
4413
 
 
4414
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4415
else
 
4416
  echo "$as_me: failed program was:" >&5
 
4417
sed 's/^/| /' conftest.$ac_ext >&5
 
4418
 
 
4419
        # It does not; compile a test program.
 
4420
if test "$cross_compiling" = yes; then
 
4421
  # try to guess the endianness by grepping values into an object file
 
4422
  ac_cv_c_bigendian=unknown
 
4423
  cat >conftest.$ac_ext <<_ACEOF
 
4424
/* confdefs.h.  */
 
4425
_ACEOF
 
4426
cat confdefs.h >>conftest.$ac_ext
 
4427
cat >>conftest.$ac_ext <<_ACEOF
 
4428
/* end confdefs.h.  */
 
4429
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
4430
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
4431
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
 
4432
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
4433
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
4434
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
 
4435
int
 
4436
main ()
 
4437
{
 
4438
 _ascii (); _ebcdic ();
 
4439
  ;
 
4440
  return 0;
 
4441
}
 
4442
_ACEOF
 
4443
rm -f conftest.$ac_objext
 
4444
if { (ac_try="$ac_compile"
 
4445
case "(($ac_try" in
 
4446
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4447
  *) ac_try_echo=$ac_try;;
 
4448
esac
 
4449
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4450
  (eval "$ac_compile") 2>conftest.er1
 
4451
  ac_status=$?
 
4452
  grep -v '^ *+' conftest.er1 >conftest.err
 
4453
  rm -f conftest.er1
 
4454
  cat conftest.err >&5
 
4455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4456
  (exit $ac_status); } &&
 
4457
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4458
  { (case "(($ac_try" in
 
4459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4460
  *) ac_try_echo=$ac_try;;
 
4461
esac
 
4462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4463
  (eval "$ac_try") 2>&5
 
4464
  ac_status=$?
 
4465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4466
  (exit $ac_status); }; } &&
 
4467
         { ac_try='test -s conftest.$ac_objext'
 
4468
  { (case "(($ac_try" in
 
4469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4470
  *) ac_try_echo=$ac_try;;
 
4471
esac
 
4472
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4473
  (eval "$ac_try") 2>&5
 
4474
  ac_status=$?
 
4475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4476
  (exit $ac_status); }; }; then
 
4477
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
 
4478
  ac_cv_c_bigendian=yes
 
4479
fi
 
4480
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
4481
  if test "$ac_cv_c_bigendian" = unknown; then
 
4482
    ac_cv_c_bigendian=no
 
4483
  else
 
4484
    # finding both strings is unlikely to happen, but who knows?
 
4485
    ac_cv_c_bigendian=unknown
 
4486
  fi
 
4487
fi
 
4488
else
 
4489
  echo "$as_me: failed program was:" >&5
 
4490
sed 's/^/| /' conftest.$ac_ext >&5
 
4491
 
 
4492
 
 
4493
fi
 
4494
 
 
4495
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4496
else
 
4497
  cat >conftest.$ac_ext <<_ACEOF
 
4498
/* confdefs.h.  */
 
4499
_ACEOF
 
4500
cat confdefs.h >>conftest.$ac_ext
 
4501
cat >>conftest.$ac_ext <<_ACEOF
 
4502
/* end confdefs.h.  */
 
4503
$ac_includes_default
 
4504
int
 
4505
main ()
 
4506
{
 
4507
 
 
4508
  /* Are we little or big endian?  From Harbison&Steele.  */
 
4509
  union
 
4510
  {
 
4511
    long int l;
 
4512
    char c[sizeof (long int)];
 
4513
  } u;
 
4514
  u.l = 1;
 
4515
  return u.c[sizeof (long int) - 1] == 1;
 
4516
 
 
4517
  ;
 
4518
  return 0;
 
4519
}
 
4520
_ACEOF
 
4521
rm -f conftest$ac_exeext
 
4522
if { (ac_try="$ac_link"
 
4523
case "(($ac_try" in
 
4524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4525
  *) ac_try_echo=$ac_try;;
 
4526
esac
 
4527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4528
  (eval "$ac_link") 2>&5
 
4529
  ac_status=$?
 
4530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4531
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4532
  { (case "(($ac_try" in
 
4533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4534
  *) ac_try_echo=$ac_try;;
 
4535
esac
 
4536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4537
  (eval "$ac_try") 2>&5
 
4538
  ac_status=$?
 
4539
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4540
  (exit $ac_status); }; }; then
 
4541
  ac_cv_c_bigendian=no
 
4542
else
 
4543
  echo "$as_me: program exited with status $ac_status" >&5
 
4544
echo "$as_me: failed program was:" >&5
 
4545
sed 's/^/| /' conftest.$ac_ext >&5
 
4546
 
 
4547
( exit $ac_status )
 
4548
ac_cv_c_bigendian=yes
 
4549
fi
 
4550
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4551
fi
 
4552
 
 
4553
 
 
4554
fi
 
4555
 
 
4556
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4557
fi
 
4558
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
4559
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
 
4560
case $ac_cv_c_bigendian in
 
4561
  yes)
 
4562
 
 
4563
cat >>confdefs.h <<\_ACEOF
 
4564
#define WORDS_BIGENDIAN 1
 
4565
_ACEOF
 
4566
 ;;
 
4567
  no)
 
4568
     ;;
 
4569
  *)
 
4570
    { { echo "$as_me:$LINENO: error: unknown endianness
 
4571
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
4572
echo "$as_me: error: unknown endianness
 
4573
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
4574
   { (exit 1); exit 1; }; } ;;
 
4575
esac
 
4576
 
 
4577
 
 
4578
# Check for progs
 
4579
ac_ext=c
 
4580
ac_cpp='$CPP $CPPFLAGS'
 
4581
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4582
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4583
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4584
if test -n "$ac_tool_prefix"; then
 
4585
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4586
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4587
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4588
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4589
if test "${ac_cv_prog_CC+set}" = set; then
 
4590
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4591
else
 
4592
  if test -n "$CC"; then
 
4593
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4594
else
 
4595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4596
for as_dir in $PATH
 
4597
do
 
4598
  IFS=$as_save_IFS
 
4599
  test -z "$as_dir" && as_dir=.
 
4600
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4602
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4603
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4604
    break 2
 
4605
  fi
 
4606
done
 
4607
done
 
4608
IFS=$as_save_IFS
 
4609
 
 
4610
fi
 
4611
fi
 
4612
CC=$ac_cv_prog_CC
 
4613
if test -n "$CC"; then
 
4614
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4615
echo "${ECHO_T}$CC" >&6; }
 
4616
else
 
4617
  { echo "$as_me:$LINENO: result: no" >&5
 
4618
echo "${ECHO_T}no" >&6; }
 
4619
fi
 
4620
 
 
4621
 
 
4622
fi
 
4623
if test -z "$ac_cv_prog_CC"; then
 
4624
  ac_ct_CC=$CC
 
4625
  # Extract the first word of "gcc", so it can be a program name with args.
 
4626
set dummy gcc; ac_word=$2
 
4627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4629
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4630
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4631
else
 
4632
  if test -n "$ac_ct_CC"; then
 
4633
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4634
else
 
4635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4636
for as_dir in $PATH
 
4637
do
 
4638
  IFS=$as_save_IFS
 
4639
  test -z "$as_dir" && as_dir=.
 
4640
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4641
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4642
    ac_cv_prog_ac_ct_CC="gcc"
 
4643
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4644
    break 2
 
4645
  fi
 
4646
done
 
4647
done
 
4648
IFS=$as_save_IFS
 
4649
 
 
4650
fi
 
4651
fi
 
4652
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4653
if test -n "$ac_ct_CC"; then
 
4654
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4655
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4656
else
 
4657
  { echo "$as_me:$LINENO: result: no" >&5
 
4658
echo "${ECHO_T}no" >&6; }
 
4659
fi
 
4660
 
 
4661
  if test "x$ac_ct_CC" = x; then
 
4662
    CC=""
 
4663
  else
 
4664
    case $cross_compiling:$ac_tool_warned in
 
4665
yes:)
 
4666
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4667
whose name does not start with the host triplet.  If you think this
 
4668
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4669
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4670
whose name does not start with the host triplet.  If you think this
 
4671
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4672
ac_tool_warned=yes ;;
 
4673
esac
 
4674
    CC=$ac_ct_CC
 
4675
  fi
 
4676
else
 
4677
  CC="$ac_cv_prog_CC"
 
4678
fi
 
4679
 
 
4680
if test -z "$CC"; then
 
4681
          if test -n "$ac_tool_prefix"; then
 
4682
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4683
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4684
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4685
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4686
if test "${ac_cv_prog_CC+set}" = set; then
 
4687
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4688
else
 
4689
  if test -n "$CC"; then
 
4690
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4691
else
 
4692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4693
for as_dir in $PATH
 
4694
do
 
4695
  IFS=$as_save_IFS
 
4696
  test -z "$as_dir" && as_dir=.
 
4697
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4698
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4699
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4700
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4701
    break 2
 
4702
  fi
 
4703
done
 
4704
done
 
4705
IFS=$as_save_IFS
 
4706
 
 
4707
fi
 
4708
fi
 
4709
CC=$ac_cv_prog_CC
 
4710
if test -n "$CC"; then
 
4711
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4712
echo "${ECHO_T}$CC" >&6; }
 
4713
else
 
4714
  { echo "$as_me:$LINENO: result: no" >&5
 
4715
echo "${ECHO_T}no" >&6; }
 
4716
fi
 
4717
 
 
4718
 
 
4719
  fi
 
4720
fi
 
4721
if test -z "$CC"; then
 
4722
  # Extract the first word of "cc", so it can be a program name with args.
 
4723
set dummy cc; ac_word=$2
 
4724
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4725
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4726
if test "${ac_cv_prog_CC+set}" = set; then
 
4727
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4728
else
 
4729
  if test -n "$CC"; then
 
4730
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4731
else
 
4732
  ac_prog_rejected=no
 
4733
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4734
for as_dir in $PATH
 
4735
do
 
4736
  IFS=$as_save_IFS
 
4737
  test -z "$as_dir" && as_dir=.
 
4738
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4739
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4740
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4741
       ac_prog_rejected=yes
 
4742
       continue
 
4743
     fi
 
4744
    ac_cv_prog_CC="cc"
 
4745
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4746
    break 2
 
4747
  fi
 
4748
done
 
4749
done
 
4750
IFS=$as_save_IFS
 
4751
 
 
4752
if test $ac_prog_rejected = yes; then
 
4753
  # We found a bogon in the path, so make sure we never use it.
 
4754
  set dummy $ac_cv_prog_CC
 
4755
  shift
 
4756
  if test $# != 0; then
 
4757
    # We chose a different compiler from the bogus one.
 
4758
    # However, it has the same basename, so the bogon will be chosen
 
4759
    # first if we set CC to just the basename; use the full file name.
 
4760
    shift
 
4761
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4762
  fi
 
4763
fi
 
4764
fi
 
4765
fi
 
4766
CC=$ac_cv_prog_CC
 
4767
if test -n "$CC"; then
 
4768
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4769
echo "${ECHO_T}$CC" >&6; }
 
4770
else
 
4771
  { echo "$as_me:$LINENO: result: no" >&5
 
4772
echo "${ECHO_T}no" >&6; }
 
4773
fi
 
4774
 
 
4775
 
 
4776
fi
 
4777
if test -z "$CC"; then
 
4778
  if test -n "$ac_tool_prefix"; then
 
4779
  for ac_prog in cl.exe
 
4780
  do
 
4781
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4782
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4783
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4784
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4785
if test "${ac_cv_prog_CC+set}" = set; then
 
4786
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4787
else
 
4788
  if test -n "$CC"; then
 
4789
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4790
else
 
4791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4792
for as_dir in $PATH
 
4793
do
 
4794
  IFS=$as_save_IFS
 
4795
  test -z "$as_dir" && as_dir=.
 
4796
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4798
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4799
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4800
    break 2
 
4801
  fi
 
4802
done
 
4803
done
 
4804
IFS=$as_save_IFS
 
4805
 
 
4806
fi
 
4807
fi
 
4808
CC=$ac_cv_prog_CC
 
4809
if test -n "$CC"; then
 
4810
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4811
echo "${ECHO_T}$CC" >&6; }
 
4812
else
 
4813
  { echo "$as_me:$LINENO: result: no" >&5
 
4814
echo "${ECHO_T}no" >&6; }
 
4815
fi
 
4816
 
 
4817
 
 
4818
    test -n "$CC" && break
 
4819
  done
 
4820
fi
 
4821
if test -z "$CC"; then
 
4822
  ac_ct_CC=$CC
 
4823
  for ac_prog in cl.exe
 
4824
do
 
4825
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4826
set dummy $ac_prog; ac_word=$2
 
4827
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4828
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4829
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4830
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4831
else
 
4832
  if test -n "$ac_ct_CC"; then
 
4833
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4834
else
 
4835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4836
for as_dir in $PATH
 
4837
do
 
4838
  IFS=$as_save_IFS
 
4839
  test -z "$as_dir" && as_dir=.
 
4840
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4841
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4842
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4843
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4844
    break 2
 
4845
  fi
 
4846
done
 
4847
done
 
4848
IFS=$as_save_IFS
 
4849
 
 
4850
fi
 
4851
fi
 
4852
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4853
if test -n "$ac_ct_CC"; then
 
4854
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4855
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4856
else
 
4857
  { echo "$as_me:$LINENO: result: no" >&5
 
4858
echo "${ECHO_T}no" >&6; }
 
4859
fi
 
4860
 
 
4861
 
 
4862
  test -n "$ac_ct_CC" && break
 
4863
done
 
4864
 
 
4865
  if test "x$ac_ct_CC" = x; then
 
4866
    CC=""
 
4867
  else
 
4868
    case $cross_compiling:$ac_tool_warned in
 
4869
yes:)
 
4870
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4871
whose name does not start with the host triplet.  If you think this
 
4872
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4873
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4874
whose name does not start with the host triplet.  If you think this
 
4875
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4876
ac_tool_warned=yes ;;
 
4877
esac
 
4878
    CC=$ac_ct_CC
 
4879
  fi
 
4880
fi
 
4881
 
 
4882
fi
 
4883
 
 
4884
 
 
4885
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4886
See \`config.log' for more details." >&5
 
4887
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4888
See \`config.log' for more details." >&2;}
 
4889
   { (exit 1); exit 1; }; }
 
4890
 
 
4891
# Provide some information about the compiler.
 
4892
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4893
ac_compiler=`set X $ac_compile; echo $2`
 
4894
{ (ac_try="$ac_compiler --version >&5"
 
4895
case "(($ac_try" in
 
4896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4897
  *) ac_try_echo=$ac_try;;
 
4898
esac
 
4899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4900
  (eval "$ac_compiler --version >&5") 2>&5
 
4901
  ac_status=$?
 
4902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4903
  (exit $ac_status); }
 
4904
{ (ac_try="$ac_compiler -v >&5"
 
4905
case "(($ac_try" in
 
4906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4907
  *) ac_try_echo=$ac_try;;
 
4908
esac
 
4909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4910
  (eval "$ac_compiler -v >&5") 2>&5
 
4911
  ac_status=$?
 
4912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4913
  (exit $ac_status); }
 
4914
{ (ac_try="$ac_compiler -V >&5"
 
4915
case "(($ac_try" in
 
4916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4917
  *) ac_try_echo=$ac_try;;
 
4918
esac
 
4919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4920
  (eval "$ac_compiler -V >&5") 2>&5
 
4921
  ac_status=$?
 
4922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4923
  (exit $ac_status); }
 
4924
 
 
4925
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4926
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
4927
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4928
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4929
else
 
4930
  cat >conftest.$ac_ext <<_ACEOF
 
4931
/* confdefs.h.  */
 
4932
_ACEOF
 
4933
cat confdefs.h >>conftest.$ac_ext
 
4934
cat >>conftest.$ac_ext <<_ACEOF
 
4935
/* end confdefs.h.  */
 
4936
 
 
4937
int
 
4938
main ()
 
4939
{
 
4940
#ifndef __GNUC__
 
4941
       choke me
 
4942
#endif
 
4943
 
 
4944
  ;
 
4945
  return 0;
 
4946
}
 
4947
_ACEOF
 
4948
rm -f conftest.$ac_objext
 
4949
if { (ac_try="$ac_compile"
 
4950
case "(($ac_try" in
 
4951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4952
  *) ac_try_echo=$ac_try;;
 
4953
esac
 
4954
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4955
  (eval "$ac_compile") 2>conftest.er1
 
4956
  ac_status=$?
 
4957
  grep -v '^ *+' conftest.er1 >conftest.err
 
4958
  rm -f conftest.er1
 
4959
  cat conftest.err >&5
 
4960
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4961
  (exit $ac_status); } &&
 
4962
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4963
  { (case "(($ac_try" in
 
4964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4965
  *) ac_try_echo=$ac_try;;
 
4966
esac
 
4967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4968
  (eval "$ac_try") 2>&5
 
4969
  ac_status=$?
 
4970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4971
  (exit $ac_status); }; } &&
 
4972
         { ac_try='test -s conftest.$ac_objext'
 
4973
  { (case "(($ac_try" in
 
4974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4975
  *) ac_try_echo=$ac_try;;
 
4976
esac
 
4977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4978
  (eval "$ac_try") 2>&5
 
4979
  ac_status=$?
 
4980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4981
  (exit $ac_status); }; }; then
 
4982
  ac_compiler_gnu=yes
 
4983
else
 
4984
  echo "$as_me: failed program was:" >&5
 
4985
sed 's/^/| /' conftest.$ac_ext >&5
 
4986
 
 
4987
        ac_compiler_gnu=no
 
4988
fi
 
4989
 
 
4990
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4991
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4992
 
 
4993
fi
 
4994
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4995
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
4996
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4997
ac_test_CFLAGS=${CFLAGS+set}
 
4998
ac_save_CFLAGS=$CFLAGS
 
4999
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
5000
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
5001
if test "${ac_cv_prog_cc_g+set}" = set; then
 
5002
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5003
else
 
5004
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5005
   ac_c_werror_flag=yes
 
5006
   ac_cv_prog_cc_g=no
 
5007
   CFLAGS="-g"
 
5008
   cat >conftest.$ac_ext <<_ACEOF
 
5009
/* confdefs.h.  */
 
5010
_ACEOF
 
5011
cat confdefs.h >>conftest.$ac_ext
 
5012
cat >>conftest.$ac_ext <<_ACEOF
 
5013
/* end confdefs.h.  */
 
5014
 
 
5015
int
 
5016
main ()
 
5017
{
 
5018
 
 
5019
  ;
 
5020
  return 0;
 
5021
}
 
5022
_ACEOF
 
5023
rm -f conftest.$ac_objext
 
5024
if { (ac_try="$ac_compile"
 
5025
case "(($ac_try" in
 
5026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5027
  *) ac_try_echo=$ac_try;;
 
5028
esac
 
5029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5030
  (eval "$ac_compile") 2>conftest.er1
 
5031
  ac_status=$?
 
5032
  grep -v '^ *+' conftest.er1 >conftest.err
 
5033
  rm -f conftest.er1
 
5034
  cat conftest.err >&5
 
5035
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5036
  (exit $ac_status); } &&
 
5037
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5038
  { (case "(($ac_try" in
 
5039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5040
  *) ac_try_echo=$ac_try;;
 
5041
esac
 
5042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5043
  (eval "$ac_try") 2>&5
 
5044
  ac_status=$?
 
5045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5046
  (exit $ac_status); }; } &&
 
5047
         { ac_try='test -s conftest.$ac_objext'
 
5048
  { (case "(($ac_try" in
 
5049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5050
  *) ac_try_echo=$ac_try;;
 
5051
esac
 
5052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5053
  (eval "$ac_try") 2>&5
 
5054
  ac_status=$?
 
5055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5056
  (exit $ac_status); }; }; then
 
5057
  ac_cv_prog_cc_g=yes
 
5058
else
 
5059
  echo "$as_me: failed program was:" >&5
 
5060
sed 's/^/| /' conftest.$ac_ext >&5
 
5061
 
 
5062
        CFLAGS=""
 
5063
      cat >conftest.$ac_ext <<_ACEOF
 
5064
/* confdefs.h.  */
 
5065
_ACEOF
 
5066
cat confdefs.h >>conftest.$ac_ext
 
5067
cat >>conftest.$ac_ext <<_ACEOF
 
5068
/* end confdefs.h.  */
 
5069
 
 
5070
int
 
5071
main ()
 
5072
{
 
5073
 
 
5074
  ;
 
5075
  return 0;
 
5076
}
 
5077
_ACEOF
 
5078
rm -f conftest.$ac_objext
 
5079
if { (ac_try="$ac_compile"
 
5080
case "(($ac_try" in
 
5081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5082
  *) ac_try_echo=$ac_try;;
 
5083
esac
 
5084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5085
  (eval "$ac_compile") 2>conftest.er1
 
5086
  ac_status=$?
 
5087
  grep -v '^ *+' conftest.er1 >conftest.err
 
5088
  rm -f conftest.er1
 
5089
  cat conftest.err >&5
 
5090
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5091
  (exit $ac_status); } &&
 
5092
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5093
  { (case "(($ac_try" in
 
5094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5095
  *) ac_try_echo=$ac_try;;
 
5096
esac
 
5097
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5098
  (eval "$ac_try") 2>&5
 
5099
  ac_status=$?
 
5100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5101
  (exit $ac_status); }; } &&
 
5102
         { ac_try='test -s conftest.$ac_objext'
 
5103
  { (case "(($ac_try" in
 
5104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5105
  *) ac_try_echo=$ac_try;;
 
5106
esac
 
5107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5108
  (eval "$ac_try") 2>&5
 
5109
  ac_status=$?
 
5110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5111
  (exit $ac_status); }; }; then
 
5112
  :
 
5113
else
 
5114
  echo "$as_me: failed program was:" >&5
 
5115
sed 's/^/| /' conftest.$ac_ext >&5
 
5116
 
 
5117
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5118
         CFLAGS="-g"
 
5119
         cat >conftest.$ac_ext <<_ACEOF
 
5120
/* confdefs.h.  */
 
5121
_ACEOF
 
5122
cat confdefs.h >>conftest.$ac_ext
 
5123
cat >>conftest.$ac_ext <<_ACEOF
 
5124
/* end confdefs.h.  */
 
5125
 
 
5126
int
 
5127
main ()
 
5128
{
 
5129
 
 
5130
  ;
 
5131
  return 0;
 
5132
}
 
5133
_ACEOF
 
5134
rm -f conftest.$ac_objext
 
5135
if { (ac_try="$ac_compile"
 
5136
case "(($ac_try" in
 
5137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5138
  *) ac_try_echo=$ac_try;;
 
5139
esac
 
5140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5141
  (eval "$ac_compile") 2>conftest.er1
 
5142
  ac_status=$?
 
5143
  grep -v '^ *+' conftest.er1 >conftest.err
 
5144
  rm -f conftest.er1
 
5145
  cat conftest.err >&5
 
5146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5147
  (exit $ac_status); } &&
 
5148
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5149
  { (case "(($ac_try" in
 
5150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5151
  *) ac_try_echo=$ac_try;;
 
5152
esac
 
5153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5154
  (eval "$ac_try") 2>&5
 
5155
  ac_status=$?
 
5156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5157
  (exit $ac_status); }; } &&
 
5158
         { ac_try='test -s conftest.$ac_objext'
 
5159
  { (case "(($ac_try" in
 
5160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5161
  *) ac_try_echo=$ac_try;;
 
5162
esac
 
5163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5164
  (eval "$ac_try") 2>&5
 
5165
  ac_status=$?
 
5166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5167
  (exit $ac_status); }; }; then
 
5168
  ac_cv_prog_cc_g=yes
 
5169
else
 
5170
  echo "$as_me: failed program was:" >&5
 
5171
sed 's/^/| /' conftest.$ac_ext >&5
 
5172
 
 
5173
 
 
5174
fi
 
5175
 
 
5176
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5177
fi
 
5178
 
 
5179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5180
fi
 
5181
 
 
5182
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5183
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5184
fi
 
5185
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5186
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
5187
if test "$ac_test_CFLAGS" = set; then
 
5188
  CFLAGS=$ac_save_CFLAGS
 
5189
elif test $ac_cv_prog_cc_g = yes; then
 
5190
  if test "$GCC" = yes; then
 
5191
    CFLAGS="-g -O2"
 
5192
  else
 
5193
    CFLAGS="-g"
 
5194
  fi
 
5195
else
 
5196
  if test "$GCC" = yes; then
 
5197
    CFLAGS="-O2"
 
5198
  else
 
5199
    CFLAGS=
 
5200
  fi
 
5201
fi
 
5202
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5203
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
5204
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5205
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5206
else
 
5207
  ac_cv_prog_cc_c89=no
 
5208
ac_save_CC=$CC
 
5209
cat >conftest.$ac_ext <<_ACEOF
 
5210
/* confdefs.h.  */
 
5211
_ACEOF
 
5212
cat confdefs.h >>conftest.$ac_ext
 
5213
cat >>conftest.$ac_ext <<_ACEOF
 
5214
/* end confdefs.h.  */
 
5215
#include <stdarg.h>
 
5216
#include <stdio.h>
 
5217
#include <sys/types.h>
 
5218
#include <sys/stat.h>
 
5219
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5220
struct buf { int x; };
 
5221
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5222
static char *e (p, i)
 
5223
     char **p;
 
5224
     int i;
 
5225
{
 
5226
  return p[i];
 
5227
}
 
5228
static char *f (char * (*g) (char **, int), char **p, ...)
 
5229
{
 
5230
  char *s;
 
5231
  va_list v;
 
5232
  va_start (v,p);
 
5233
  s = g (p, va_arg (v,int));
 
5234
  va_end (v);
 
5235
  return s;
 
5236
}
 
5237
 
 
5238
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5239
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5240
   These don't provoke an error unfortunately, instead are silently treated
 
5241
   as 'x'.  The following induces an error, until -std is added to get
 
5242
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5243
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5244
   that's true only with -std.  */
 
5245
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5246
 
 
5247
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5248
   inside strings and character constants.  */
 
5249
#define FOO(x) 'x'
 
5250
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5251
 
 
5252
int test (int i, double x);
 
5253
struct s1 {int (*f) (int a);};
 
5254
struct s2 {int (*f) (double a);};
 
5255
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5256
int argc;
 
5257
char **argv;
 
5258
int
 
5259
main ()
 
5260
{
 
5261
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5262
  ;
 
5263
  return 0;
 
5264
}
 
5265
_ACEOF
 
5266
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5267
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5268
do
 
5269
  CC="$ac_save_CC $ac_arg"
 
5270
  rm -f conftest.$ac_objext
 
5271
if { (ac_try="$ac_compile"
 
5272
case "(($ac_try" in
 
5273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5274
  *) ac_try_echo=$ac_try;;
 
5275
esac
 
5276
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5277
  (eval "$ac_compile") 2>conftest.er1
 
5278
  ac_status=$?
 
5279
  grep -v '^ *+' conftest.er1 >conftest.err
 
5280
  rm -f conftest.er1
 
5281
  cat conftest.err >&5
 
5282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5283
  (exit $ac_status); } &&
 
5284
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5285
  { (case "(($ac_try" in
 
5286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5287
  *) ac_try_echo=$ac_try;;
 
5288
esac
 
5289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5290
  (eval "$ac_try") 2>&5
 
5291
  ac_status=$?
 
5292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5293
  (exit $ac_status); }; } &&
 
5294
         { ac_try='test -s conftest.$ac_objext'
 
5295
  { (case "(($ac_try" in
 
5296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5297
  *) ac_try_echo=$ac_try;;
 
5298
esac
 
5299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5300
  (eval "$ac_try") 2>&5
 
5301
  ac_status=$?
 
5302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5303
  (exit $ac_status); }; }; then
 
5304
  ac_cv_prog_cc_c89=$ac_arg
 
5305
else
 
5306
  echo "$as_me: failed program was:" >&5
 
5307
sed 's/^/| /' conftest.$ac_ext >&5
 
5308
 
 
5309
 
 
5310
fi
 
5311
 
 
5312
rm -f core conftest.err conftest.$ac_objext
 
5313
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5314
done
 
5315
rm -f conftest.$ac_ext
 
5316
CC=$ac_save_CC
 
5317
 
 
5318
fi
 
5319
# AC_CACHE_VAL
 
5320
case "x$ac_cv_prog_cc_c89" in
 
5321
  x)
 
5322
    { echo "$as_me:$LINENO: result: none needed" >&5
 
5323
echo "${ECHO_T}none needed" >&6; } ;;
 
5324
  xno)
 
5325
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
5326
echo "${ECHO_T}unsupported" >&6; } ;;
 
5327
  *)
 
5328
    CC="$CC $ac_cv_prog_cc_c89"
 
5329
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5330
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
5331
esac
 
5332
 
 
5333
 
 
5334
ac_ext=c
 
5335
ac_cpp='$CPP $CPPFLAGS'
 
5336
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5337
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5338
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2982
5339
 
2983
5340
depcc="$CC"   am_compiler_list=
2984
5341
 
2985
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2986
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5342
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5343
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2987
5344
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2988
5345
  echo $ECHO_N "(cached) $ECHO_C" >&6
2989
5346
else
3072
5429
fi
3073
5430
 
3074
5431
fi
3075
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3076
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
5432
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5433
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3077
5434
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3078
5435
 
3079
5436
 
3089
5446
fi
3090
5447
 
3091
5448
 
3092
 
# Check whether --enable-shared or --disable-shared was given.
 
5449
# Check whether --enable-shared was given.
3093
5450
if test "${enable_shared+set}" = set; then
3094
 
  enableval="$enable_shared"
3095
 
  p=${PACKAGE-default}
 
5451
  enableval=$enable_shared; p=${PACKAGE-default}
3096
5452
    case $enableval in
3097
5453
    yes) enable_shared=yes ;;
3098
5454
    no) enable_shared=no ;;
3111
5467
    esac
3112
5468
else
3113
5469
  enable_shared=yes
3114
 
fi;
3115
 
 
3116
 
# Check whether --enable-static or --disable-static was given.
 
5470
fi
 
5471
 
 
5472
 
 
5473
# Check whether --enable-static was given.
3117
5474
if test "${enable_static+set}" = set; then
3118
 
  enableval="$enable_static"
3119
 
  p=${PACKAGE-default}
 
5475
  enableval=$enable_static; p=${PACKAGE-default}
3120
5476
    case $enableval in
3121
5477
    yes) enable_static=yes ;;
3122
5478
    no) enable_static=no ;;
3135
5491
    esac
3136
5492
else
3137
5493
  enable_static=yes
3138
 
fi;
3139
 
 
3140
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
5494
fi
 
5495
 
 
5496
 
 
5497
# Check whether --enable-fast-install was given.
3141
5498
if test "${enable_fast_install+set}" = set; then
3142
 
  enableval="$enable_fast_install"
3143
 
  p=${PACKAGE-default}
 
5499
  enableval=$enable_fast_install; p=${PACKAGE-default}
3144
5500
    case $enableval in
3145
5501
    yes) enable_fast_install=yes ;;
3146
5502
    no) enable_fast_install=no ;;
3159
5515
    esac
3160
5516
else
3161
5517
  enable_fast_install=yes
3162
 
fi;
 
5518
fi
 
5519
 
3163
5520
 
3164
5521
# Make sure we can run config.sub.
3165
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3166
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3167
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
5522
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
5523
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
5524
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3168
5525
   { (exit 1); exit 1; }; }
3169
5526
 
3170
 
echo "$as_me:$LINENO: checking build system type" >&5
3171
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
5527
{ echo "$as_me:$LINENO: checking build system type" >&5
 
5528
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3172
5529
if test "${ac_cv_build+set}" = set; then
3173
5530
  echo $ECHO_N "(cached) $ECHO_C" >&6
3174
5531
else
3175
 
  ac_cv_build_alias=$build_alias
3176
 
test -z "$ac_cv_build_alias" &&
3177
 
  ac_cv_build_alias=`$ac_config_guess`
3178
 
test -z "$ac_cv_build_alias" &&
 
5532
  ac_build_alias=$build_alias
 
5533
test "x$ac_build_alias" = x &&
 
5534
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
5535
test "x$ac_build_alias" = x &&
3179
5536
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3180
5537
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3181
5538
   { (exit 1); exit 1; }; }
3182
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3183
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3184
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
5539
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
5540
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
5541
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3185
5542
   { (exit 1); exit 1; }; }
3186
5543
 
3187
5544
fi
3188
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3189
 
echo "${ECHO_T}$ac_cv_build" >&6
 
5545
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5546
echo "${ECHO_T}$ac_cv_build" >&6; }
 
5547
case $ac_cv_build in
 
5548
*-*-*) ;;
 
5549
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
5550
echo "$as_me: error: invalid value of canonical build" >&2;}
 
5551
   { (exit 1); exit 1; }; };;
 
5552
esac
3190
5553
build=$ac_cv_build
3191
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3192
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3193
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3194
 
 
3195
 
 
3196
 
echo "$as_me:$LINENO: checking host system type" >&5
3197
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
5554
ac_save_IFS=$IFS; IFS='-'
 
5555
set x $ac_cv_build
 
5556
shift
 
5557
build_cpu=$1
 
5558
build_vendor=$2
 
5559
shift; shift
 
5560
# Remember, the first character of IFS is used to create $*,
 
5561
# except with old shells:
 
5562
build_os=$*
 
5563
IFS=$ac_save_IFS
 
5564
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
5565
 
 
5566
 
 
5567
{ echo "$as_me:$LINENO: checking host system type" >&5
 
5568
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3198
5569
if test "${ac_cv_host+set}" = set; then
3199
5570
  echo $ECHO_N "(cached) $ECHO_C" >&6
3200
5571
else
3201
 
  ac_cv_host_alias=$host_alias
3202
 
test -z "$ac_cv_host_alias" &&
3203
 
  ac_cv_host_alias=$ac_cv_build_alias
3204
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3205
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3206
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
5572
  if test "x$host_alias" = x; then
 
5573
  ac_cv_host=$ac_cv_build
 
5574
else
 
5575
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
5576
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
5577
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3207
5578
   { (exit 1); exit 1; }; }
 
5579
fi
3208
5580
 
3209
5581
fi
3210
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3211
 
echo "${ECHO_T}$ac_cv_host" >&6
 
5582
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
5583
echo "${ECHO_T}$ac_cv_host" >&6; }
 
5584
case $ac_cv_host in
 
5585
*-*-*) ;;
 
5586
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
5587
echo "$as_me: error: invalid value of canonical host" >&2;}
 
5588
   { (exit 1); exit 1; }; };;
 
5589
esac
3212
5590
host=$ac_cv_host
3213
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3214
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3215
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3216
 
 
3217
 
 
3218
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3219
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
5591
ac_save_IFS=$IFS; IFS='-'
 
5592
set x $ac_cv_host
 
5593
shift
 
5594
host_cpu=$1
 
5595
host_vendor=$2
 
5596
shift; shift
 
5597
# Remember, the first character of IFS is used to create $*,
 
5598
# except with old shells:
 
5599
host_os=$*
 
5600
IFS=$ac_save_IFS
 
5601
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
5602
 
 
5603
 
 
5604
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5605
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3220
5606
if test "${lt_cv_path_SED+set}" = set; then
3221
5607
  echo $ECHO_N "(cached) $ECHO_C" >&6
3222
5608
else
3269
5655
fi
3270
5656
 
3271
5657
SED=$lt_cv_path_SED
3272
 
echo "$as_me:$LINENO: result: $SED" >&5
3273
 
echo "${ECHO_T}$SED" >&6
3274
 
 
3275
 
echo "$as_me:$LINENO: checking for egrep" >&5
3276
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3277
 
if test "${ac_cv_prog_egrep+set}" = set; then
3278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3279
 
else
3280
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3281
 
    then ac_cv_prog_egrep='grep -E'
3282
 
    else ac_cv_prog_egrep='egrep'
3283
 
    fi
3284
 
fi
3285
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3286
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3287
 
 EGREP=$ac_cv_prog_egrep
3288
 
 
3289
 
 
3290
 
 
3291
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
5658
{ echo "$as_me:$LINENO: result: $SED" >&5
 
5659
echo "${ECHO_T}$SED" >&6; }
 
5660
 
 
5661
 
 
5662
# Check whether --with-gnu-ld was given.
3292
5663
if test "${with_gnu_ld+set}" = set; then
3293
 
  withval="$with_gnu_ld"
3294
 
  test "$withval" = no || with_gnu_ld=yes
 
5664
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3295
5665
else
3296
5666
  with_gnu_ld=no
3297
 
fi;
 
5667
fi
 
5668
 
3298
5669
ac_prog=ld
3299
5670
if test "$GCC" = yes; then
3300
5671
  # Check if gcc -print-prog-name=ld gives a path.
3301
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3302
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
5672
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5673
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3303
5674
  case $host in
3304
5675
  *-*-mingw*)
3305
5676
    # gcc leaves a trailing carriage return which upsets mingw
3328
5699
    ;;
3329
5700
  esac
3330
5701
elif test "$with_gnu_ld" = yes; then
3331
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3332
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
5702
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5703
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3333
5704
else
3334
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3335
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
5705
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5706
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3336
5707
fi
3337
5708
if test "${lt_cv_path_LD+set}" = set; then
3338
5709
  echo $ECHO_N "(cached) $ECHO_C" >&6
3365
5736
 
3366
5737
LD="$lt_cv_path_LD"
3367
5738
if test -n "$LD"; then
3368
 
  echo "$as_me:$LINENO: result: $LD" >&5
3369
 
echo "${ECHO_T}$LD" >&6
 
5739
  { echo "$as_me:$LINENO: result: $LD" >&5
 
5740
echo "${ECHO_T}$LD" >&6; }
3370
5741
else
3371
 
  echo "$as_me:$LINENO: result: no" >&5
3372
 
echo "${ECHO_T}no" >&6
 
5742
  { echo "$as_me:$LINENO: result: no" >&5
 
5743
echo "${ECHO_T}no" >&6; }
3373
5744
fi
3374
5745
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3375
5746
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3376
5747
   { (exit 1); exit 1; }; }
3377
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3378
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
5748
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5749
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3379
5750
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3380
5751
  echo $ECHO_N "(cached) $ECHO_C" >&6
3381
5752
else
3389
5760
  ;;
3390
5761
esac
3391
5762
fi
3392
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3393
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
5763
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5764
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3394
5765
with_gnu_ld=$lt_cv_prog_gnu_ld
3395
5766
 
3396
5767
 
3397
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3398
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
5768
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5769
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3399
5770
if test "${lt_cv_ld_reload_flag+set}" = set; then
3400
5771
  echo $ECHO_N "(cached) $ECHO_C" >&6
3401
5772
else
3402
5773
  lt_cv_ld_reload_flag='-r'
3403
5774
fi
3404
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3405
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
5775
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5776
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3406
5777
reload_flag=$lt_cv_ld_reload_flag
3407
5778
case $reload_flag in
3408
5779
"" | " "*) ;;
3419
5790
    ;;
3420
5791
esac
3421
5792
 
3422
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3423
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
5793
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
5794
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3424
5795
if test "${lt_cv_path_NM+set}" = set; then
3425
5796
  echo $ECHO_N "(cached) $ECHO_C" >&6
3426
5797
else
3468
5839
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3469
5840
fi
3470
5841
fi
3471
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3472
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
5842
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5843
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3473
5844
NM="$lt_cv_path_NM"
3474
5845
 
3475
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3476
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
5846
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5847
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3477
5848
LN_S=$as_ln_s
3478
5849
if test "$LN_S" = "ln -s"; then
3479
 
  echo "$as_me:$LINENO: result: yes" >&5
3480
 
echo "${ECHO_T}yes" >&6
 
5850
  { echo "$as_me:$LINENO: result: yes" >&5
 
5851
echo "${ECHO_T}yes" >&6; }
3481
5852
else
3482
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3483
 
echo "${ECHO_T}no, using $LN_S" >&6
 
5853
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5854
echo "${ECHO_T}no, using $LN_S" >&6; }
3484
5855
fi
3485
5856
 
3486
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3487
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
5857
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
5858
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3488
5859
if test "${lt_cv_deplibs_check_method+set}" = set; then
3489
5860
  echo $ECHO_N "(cached) $ECHO_C" >&6
3490
5861
else
3534
5905
  lt_cv_deplibs_check_method=pass_all
3535
5906
  ;;
3536
5907
 
3537
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
5908
freebsd* | dragonfly*)
3538
5909
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3539
5910
    case $host_cpu in
3540
5911
    i*86 )
3588
5959
  ;;
3589
5960
 
3590
5961
# This must be Linux ELF.
3591
 
linux*)
 
5962
linux* | k*bsd*-gnu)
3592
5963
  lt_cv_deplibs_check_method=pass_all
3593
5964
  ;;
3594
5965
 
3595
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5966
netbsd* | netbsdelf*-gnu)
3596
5967
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3597
5968
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3598
5969
  else
3659
6030
esac
3660
6031
 
3661
6032
fi
3662
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3663
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
6033
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6034
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3664
6035
file_magic_cmd=$lt_cv_file_magic_cmd
3665
6036
deplibs_check_method=$lt_cv_deplibs_check_method
3666
6037
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3677
6048
# Allow CC to be a program name with arguments.
3678
6049
compiler=$CC
3679
6050
 
3680
 
 
3681
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
6051
# Check whether --enable-libtool-lock was given.
3682
6052
if test "${enable_libtool_lock+set}" = set; then
3683
 
  enableval="$enable_libtool_lock"
 
6053
  enableval=$enable_libtool_lock;
 
6054
fi
3684
6055
 
3685
 
fi;
3686
6056
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3687
6057
 
3688
6058
# Some flags need to be propagated to the compiler or linker for good
3709
6079
  ;;
3710
6080
*-*-irix6*)
3711
6081
  # Find out which ABI we are using.
3712
 
  echo '#line 3712 "configure"' > conftest.$ac_ext
 
6082
  echo '#line 6082 "configure"' > conftest.$ac_ext
3713
6083
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3714
6084
  (eval $ac_compile) 2>&5
3715
6085
  ac_status=$?
3794
6164
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3795
6165
  SAVE_CFLAGS="$CFLAGS"
3796
6166
  CFLAGS="$CFLAGS -belf"
3797
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3798
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
6167
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6168
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3799
6169
if test "${lt_cv_cc_needs_belf+set}" = set; then
3800
6170
  echo $ECHO_N "(cached) $ECHO_C" >&6
3801
6171
else
3821
6191
}
3822
6192
_ACEOF
3823
6193
rm -f conftest.$ac_objext conftest$ac_exeext
3824
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3825
 
  (eval $ac_link) 2>conftest.er1
 
6194
if { (ac_try="$ac_link"
 
6195
case "(($ac_try" in
 
6196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6197
  *) ac_try_echo=$ac_try;;
 
6198
esac
 
6199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6200
  (eval "$ac_link") 2>conftest.er1
3826
6201
  ac_status=$?
3827
6202
  grep -v '^ *+' conftest.er1 >conftest.err
3828
6203
  rm -f conftest.er1
3829
6204
  cat conftest.err >&5
3830
6205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831
6206
  (exit $ac_status); } &&
3832
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3833
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834
 
  (eval $ac_try) 2>&5
 
6207
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6208
  { (case "(($ac_try" in
 
6209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6210
  *) ac_try_echo=$ac_try;;
 
6211
esac
 
6212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6213
  (eval "$ac_try") 2>&5
3835
6214
  ac_status=$?
3836
6215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837
6216
  (exit $ac_status); }; } &&
3838
6217
         { ac_try='test -s conftest$ac_exeext'
3839
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840
 
  (eval $ac_try) 2>&5
 
6218
  { (case "(($ac_try" in
 
6219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6220
  *) ac_try_echo=$ac_try;;
 
6221
esac
 
6222
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6223
  (eval "$ac_try") 2>&5
3841
6224
  ac_status=$?
3842
6225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843
6226
  (exit $ac_status); }; }; then
3846
6229
  echo "$as_me: failed program was:" >&5
3847
6230
sed 's/^/| /' conftest.$ac_ext >&5
3848
6231
 
3849
 
lt_cv_cc_needs_belf=no
 
6232
        lt_cv_cc_needs_belf=no
3850
6233
fi
3851
 
rm -f conftest.err conftest.$ac_objext \
 
6234
 
 
6235
rm -f core conftest.err conftest.$ac_objext \
3852
6236
      conftest$ac_exeext conftest.$ac_ext
3853
6237
     ac_ext=c
3854
6238
ac_cpp='$CPP $CPPFLAGS'
3857
6241
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3858
6242
 
3859
6243
fi
3860
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3861
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
6244
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6245
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3862
6246
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3863
6247
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3864
6248
    CFLAGS="$SAVE_CFLAGS"
3890
6274
need_locks="$enable_libtool_lock"
3891
6275
 
3892
6276
 
3893
 
ac_ext=c
3894
 
ac_cpp='$CPP $CPPFLAGS'
3895
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3899
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3900
 
# On Suns, sometimes $CPP names a directory.
3901
 
if test -n "$CPP" && test -d "$CPP"; then
3902
 
  CPP=
3903
 
fi
3904
 
if test -z "$CPP"; then
3905
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3907
 
else
3908
 
      # Double quotes because CPP needs to be expanded
3909
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3910
 
    do
3911
 
      ac_preproc_ok=false
3912
 
for ac_c_preproc_warn_flag in '' yes
3913
 
do
3914
 
  # Use a header file that comes with gcc, so configuring glibc
3915
 
  # with a fresh cross-compiler works.
3916
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3917
 
  # <limits.h> exists even on freestanding compilers.
3918
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3919
 
  # not just through cpp. "Syntax error" is here to catch this case.
3920
 
  cat >conftest.$ac_ext <<_ACEOF
3921
 
/* confdefs.h.  */
3922
 
_ACEOF
3923
 
cat confdefs.h >>conftest.$ac_ext
3924
 
cat >>conftest.$ac_ext <<_ACEOF
3925
 
/* end confdefs.h.  */
3926
 
#ifdef __STDC__
3927
 
# include <limits.h>
3928
 
#else
3929
 
# include <assert.h>
3930
 
#endif
3931
 
                     Syntax error
3932
 
_ACEOF
3933
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3934
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3935
 
  ac_status=$?
3936
 
  grep -v '^ *+' conftest.er1 >conftest.err
3937
 
  rm -f conftest.er1
3938
 
  cat conftest.err >&5
3939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940
 
  (exit $ac_status); } >/dev/null; then
3941
 
  if test -s conftest.err; then
3942
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3943
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3944
 
  else
3945
 
    ac_cpp_err=
3946
 
  fi
3947
 
else
3948
 
  ac_cpp_err=yes
3949
 
fi
3950
 
if test -z "$ac_cpp_err"; then
3951
 
  :
3952
 
else
3953
 
  echo "$as_me: failed program was:" >&5
3954
 
sed 's/^/| /' conftest.$ac_ext >&5
3955
 
 
3956
 
  # Broken: fails on valid input.
3957
 
continue
3958
 
fi
3959
 
rm -f conftest.err conftest.$ac_ext
3960
 
 
3961
 
  # OK, works on sane cases.  Now check whether non-existent headers
3962
 
  # can be detected and how.
3963
 
  cat >conftest.$ac_ext <<_ACEOF
3964
 
/* confdefs.h.  */
3965
 
_ACEOF
3966
 
cat confdefs.h >>conftest.$ac_ext
3967
 
cat >>conftest.$ac_ext <<_ACEOF
3968
 
/* end confdefs.h.  */
3969
 
#include <ac_nonexistent.h>
3970
 
_ACEOF
3971
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3972
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3973
 
  ac_status=$?
3974
 
  grep -v '^ *+' conftest.er1 >conftest.err
3975
 
  rm -f conftest.er1
3976
 
  cat conftest.err >&5
3977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978
 
  (exit $ac_status); } >/dev/null; then
3979
 
  if test -s conftest.err; then
3980
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3981
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3982
 
  else
3983
 
    ac_cpp_err=
3984
 
  fi
3985
 
else
3986
 
  ac_cpp_err=yes
3987
 
fi
3988
 
if test -z "$ac_cpp_err"; then
3989
 
  # Broken: success on invalid input.
3990
 
continue
3991
 
else
3992
 
  echo "$as_me: failed program was:" >&5
3993
 
sed 's/^/| /' conftest.$ac_ext >&5
3994
 
 
3995
 
  # Passes both tests.
3996
 
ac_preproc_ok=:
3997
 
break
3998
 
fi
3999
 
rm -f conftest.err conftest.$ac_ext
4000
 
 
4001
 
done
4002
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4003
 
rm -f conftest.err conftest.$ac_ext
4004
 
if $ac_preproc_ok; then
4005
 
  break
4006
 
fi
4007
 
 
4008
 
    done
4009
 
    ac_cv_prog_CPP=$CPP
4010
 
 
4011
 
fi
4012
 
  CPP=$ac_cv_prog_CPP
4013
 
else
4014
 
  ac_cv_prog_CPP=$CPP
4015
 
fi
4016
 
echo "$as_me:$LINENO: result: $CPP" >&5
4017
 
echo "${ECHO_T}$CPP" >&6
4018
 
ac_preproc_ok=false
4019
 
for ac_c_preproc_warn_flag in '' yes
4020
 
do
4021
 
  # Use a header file that comes with gcc, so configuring glibc
4022
 
  # with a fresh cross-compiler works.
4023
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4024
 
  # <limits.h> exists even on freestanding compilers.
4025
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4026
 
  # not just through cpp. "Syntax error" is here to catch this case.
4027
 
  cat >conftest.$ac_ext <<_ACEOF
4028
 
/* confdefs.h.  */
4029
 
_ACEOF
4030
 
cat confdefs.h >>conftest.$ac_ext
4031
 
cat >>conftest.$ac_ext <<_ACEOF
4032
 
/* end confdefs.h.  */
4033
 
#ifdef __STDC__
4034
 
# include <limits.h>
4035
 
#else
4036
 
# include <assert.h>
4037
 
#endif
4038
 
                     Syntax error
4039
 
_ACEOF
4040
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4041
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4042
 
  ac_status=$?
4043
 
  grep -v '^ *+' conftest.er1 >conftest.err
4044
 
  rm -f conftest.er1
4045
 
  cat conftest.err >&5
4046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047
 
  (exit $ac_status); } >/dev/null; then
4048
 
  if test -s conftest.err; then
4049
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4050
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4051
 
  else
4052
 
    ac_cpp_err=
4053
 
  fi
4054
 
else
4055
 
  ac_cpp_err=yes
4056
 
fi
4057
 
if test -z "$ac_cpp_err"; then
4058
 
  :
4059
 
else
4060
 
  echo "$as_me: failed program was:" >&5
4061
 
sed 's/^/| /' conftest.$ac_ext >&5
4062
 
 
4063
 
  # Broken: fails on valid input.
4064
 
continue
4065
 
fi
4066
 
rm -f conftest.err conftest.$ac_ext
4067
 
 
4068
 
  # OK, works on sane cases.  Now check whether non-existent headers
4069
 
  # can be detected and how.
4070
 
  cat >conftest.$ac_ext <<_ACEOF
4071
 
/* confdefs.h.  */
4072
 
_ACEOF
4073
 
cat confdefs.h >>conftest.$ac_ext
4074
 
cat >>conftest.$ac_ext <<_ACEOF
4075
 
/* end confdefs.h.  */
4076
 
#include <ac_nonexistent.h>
4077
 
_ACEOF
4078
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4079
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4080
 
  ac_status=$?
4081
 
  grep -v '^ *+' conftest.er1 >conftest.err
4082
 
  rm -f conftest.er1
4083
 
  cat conftest.err >&5
4084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085
 
  (exit $ac_status); } >/dev/null; then
4086
 
  if test -s conftest.err; then
4087
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4088
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4089
 
  else
4090
 
    ac_cpp_err=
4091
 
  fi
4092
 
else
4093
 
  ac_cpp_err=yes
4094
 
fi
4095
 
if test -z "$ac_cpp_err"; then
4096
 
  # Broken: success on invalid input.
4097
 
continue
4098
 
else
4099
 
  echo "$as_me: failed program was:" >&5
4100
 
sed 's/^/| /' conftest.$ac_ext >&5
4101
 
 
4102
 
  # Passes both tests.
4103
 
ac_preproc_ok=:
4104
 
break
4105
 
fi
4106
 
rm -f conftest.err conftest.$ac_ext
4107
 
 
4108
 
done
4109
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4110
 
rm -f conftest.err conftest.$ac_ext
4111
 
if $ac_preproc_ok; then
4112
 
  :
4113
 
else
4114
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4115
 
See \`config.log' for more details." >&5
4116
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4117
 
See \`config.log' for more details." >&2;}
4118
 
   { (exit 1); exit 1; }; }
4119
 
fi
4120
 
 
4121
 
ac_ext=c
4122
 
ac_cpp='$CPP $CPPFLAGS'
4123
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126
 
 
4127
 
 
4128
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4129
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4130
 
if test "${ac_cv_header_stdc+set}" = set; then
4131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4132
 
else
4133
 
  cat >conftest.$ac_ext <<_ACEOF
4134
 
/* confdefs.h.  */
4135
 
_ACEOF
4136
 
cat confdefs.h >>conftest.$ac_ext
4137
 
cat >>conftest.$ac_ext <<_ACEOF
4138
 
/* end confdefs.h.  */
4139
 
#include <stdlib.h>
4140
 
#include <stdarg.h>
4141
 
#include <string.h>
4142
 
#include <float.h>
4143
 
 
4144
 
int
4145
 
main ()
4146
 
{
4147
 
 
4148
 
  ;
4149
 
  return 0;
4150
 
}
4151
 
_ACEOF
4152
 
rm -f conftest.$ac_objext
4153
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4154
 
  (eval $ac_compile) 2>conftest.er1
4155
 
  ac_status=$?
4156
 
  grep -v '^ *+' conftest.er1 >conftest.err
4157
 
  rm -f conftest.er1
4158
 
  cat conftest.err >&5
4159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160
 
  (exit $ac_status); } &&
4161
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4162
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163
 
  (eval $ac_try) 2>&5
4164
 
  ac_status=$?
4165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166
 
  (exit $ac_status); }; } &&
4167
 
         { ac_try='test -s conftest.$ac_objext'
4168
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169
 
  (eval $ac_try) 2>&5
4170
 
  ac_status=$?
4171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172
 
  (exit $ac_status); }; }; then
4173
 
  ac_cv_header_stdc=yes
4174
 
else
4175
 
  echo "$as_me: failed program was:" >&5
4176
 
sed 's/^/| /' conftest.$ac_ext >&5
4177
 
 
4178
 
ac_cv_header_stdc=no
4179
 
fi
4180
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4181
 
 
4182
 
if test $ac_cv_header_stdc = yes; then
4183
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4184
 
  cat >conftest.$ac_ext <<_ACEOF
4185
 
/* confdefs.h.  */
4186
 
_ACEOF
4187
 
cat confdefs.h >>conftest.$ac_ext
4188
 
cat >>conftest.$ac_ext <<_ACEOF
4189
 
/* end confdefs.h.  */
4190
 
#include <string.h>
4191
 
 
4192
 
_ACEOF
4193
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4194
 
  $EGREP "memchr" >/dev/null 2>&1; then
4195
 
  :
4196
 
else
4197
 
  ac_cv_header_stdc=no
4198
 
fi
4199
 
rm -f conftest*
4200
 
 
4201
 
fi
4202
 
 
4203
 
if test $ac_cv_header_stdc = yes; then
4204
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4205
 
  cat >conftest.$ac_ext <<_ACEOF
4206
 
/* confdefs.h.  */
4207
 
_ACEOF
4208
 
cat confdefs.h >>conftest.$ac_ext
4209
 
cat >>conftest.$ac_ext <<_ACEOF
4210
 
/* end confdefs.h.  */
4211
 
#include <stdlib.h>
4212
 
 
4213
 
_ACEOF
4214
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4215
 
  $EGREP "free" >/dev/null 2>&1; then
4216
 
  :
4217
 
else
4218
 
  ac_cv_header_stdc=no
4219
 
fi
4220
 
rm -f conftest*
4221
 
 
4222
 
fi
4223
 
 
4224
 
if test $ac_cv_header_stdc = yes; then
4225
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4226
 
  if test "$cross_compiling" = yes; then
4227
 
  :
4228
 
else
4229
 
  cat >conftest.$ac_ext <<_ACEOF
4230
 
/* confdefs.h.  */
4231
 
_ACEOF
4232
 
cat confdefs.h >>conftest.$ac_ext
4233
 
cat >>conftest.$ac_ext <<_ACEOF
4234
 
/* end confdefs.h.  */
4235
 
#include <ctype.h>
4236
 
#if ((' ' & 0x0FF) == 0x020)
4237
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4238
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4239
 
#else
4240
 
# define ISLOWER(c) \
4241
 
                   (('a' <= (c) && (c) <= 'i') \
4242
 
                     || ('j' <= (c) && (c) <= 'r') \
4243
 
                     || ('s' <= (c) && (c) <= 'z'))
4244
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4245
 
#endif
4246
 
 
4247
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4248
 
int
4249
 
main ()
4250
 
{
4251
 
  int i;
4252
 
  for (i = 0; i < 256; i++)
4253
 
    if (XOR (islower (i), ISLOWER (i))
4254
 
        || toupper (i) != TOUPPER (i))
4255
 
      exit(2);
4256
 
  exit (0);
4257
 
}
4258
 
_ACEOF
4259
 
rm -f conftest$ac_exeext
4260
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4261
 
  (eval $ac_link) 2>&5
4262
 
  ac_status=$?
4263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266
 
  (eval $ac_try) 2>&5
4267
 
  ac_status=$?
4268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
 
  (exit $ac_status); }; }; then
4270
 
  :
4271
 
else
4272
 
  echo "$as_me: program exited with status $ac_status" >&5
4273
 
echo "$as_me: failed program was:" >&5
4274
 
sed 's/^/| /' conftest.$ac_ext >&5
4275
 
 
4276
 
( exit $ac_status )
4277
 
ac_cv_header_stdc=no
4278
 
fi
4279
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4280
 
fi
4281
 
fi
4282
 
fi
4283
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4284
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4285
 
if test $ac_cv_header_stdc = yes; then
4286
 
 
4287
 
cat >>confdefs.h <<\_ACEOF
4288
 
#define STDC_HEADERS 1
4289
 
_ACEOF
4290
 
 
4291
 
fi
4292
 
 
4293
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4294
 
 
4295
 
 
4296
 
 
4297
 
 
4298
 
 
4299
 
 
4300
 
 
4301
 
 
4302
 
 
4303
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4304
 
                  inttypes.h stdint.h unistd.h
4305
 
do
4306
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4307
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4308
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4309
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4310
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4311
 
else
4312
 
  cat >conftest.$ac_ext <<_ACEOF
4313
 
/* confdefs.h.  */
4314
 
_ACEOF
4315
 
cat confdefs.h >>conftest.$ac_ext
4316
 
cat >>conftest.$ac_ext <<_ACEOF
4317
 
/* end confdefs.h.  */
4318
 
$ac_includes_default
4319
 
 
4320
 
#include <$ac_header>
4321
 
_ACEOF
4322
 
rm -f conftest.$ac_objext
4323
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4324
 
  (eval $ac_compile) 2>conftest.er1
4325
 
  ac_status=$?
4326
 
  grep -v '^ *+' conftest.er1 >conftest.err
4327
 
  rm -f conftest.er1
4328
 
  cat conftest.err >&5
4329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
 
  (exit $ac_status); } &&
4331
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4332
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333
 
  (eval $ac_try) 2>&5
4334
 
  ac_status=$?
4335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336
 
  (exit $ac_status); }; } &&
4337
 
         { ac_try='test -s conftest.$ac_objext'
4338
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339
 
  (eval $ac_try) 2>&5
4340
 
  ac_status=$?
4341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342
 
  (exit $ac_status); }; }; then
4343
 
  eval "$as_ac_Header=yes"
4344
 
else
4345
 
  echo "$as_me: failed program was:" >&5
4346
 
sed 's/^/| /' conftest.$ac_ext >&5
4347
 
 
4348
 
eval "$as_ac_Header=no"
4349
 
fi
4350
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4351
 
fi
4352
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4353
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4354
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4355
 
  cat >>confdefs.h <<_ACEOF
4356
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4357
 
_ACEOF
4358
 
 
4359
 
fi
4360
 
 
4361
 
done
4362
 
 
4363
 
 
4364
6277
 
4365
6278
for ac_header in dlfcn.h
4366
6279
do
4367
6280
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4368
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4369
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4370
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4371
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6281
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6282
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6283
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6284
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4372
6285
  echo $ECHO_N "(cached) $ECHO_C" >&6
4373
6286
fi
4374
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4375
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6287
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6288
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6289
echo "${ECHO_T}$ac_res" >&6; }
4376
6290
else
4377
6291
  # Is the header compilable?
4378
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4379
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
6292
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6293
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4380
6294
cat >conftest.$ac_ext <<_ACEOF
4381
6295
/* confdefs.h.  */
4382
6296
_ACEOF
4387
6301
#include <$ac_header>
4388
6302
_ACEOF
4389
6303
rm -f conftest.$ac_objext
4390
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4391
 
  (eval $ac_compile) 2>conftest.er1
 
6304
if { (ac_try="$ac_compile"
 
6305
case "(($ac_try" in
 
6306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6307
  *) ac_try_echo=$ac_try;;
 
6308
esac
 
6309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6310
  (eval "$ac_compile") 2>conftest.er1
4392
6311
  ac_status=$?
4393
6312
  grep -v '^ *+' conftest.er1 >conftest.err
4394
6313
  rm -f conftest.er1
4395
6314
  cat conftest.err >&5
4396
6315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
6316
  (exit $ac_status); } &&
4398
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400
 
  (eval $ac_try) 2>&5
 
6317
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6318
  { (case "(($ac_try" in
 
6319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6320
  *) ac_try_echo=$ac_try;;
 
6321
esac
 
6322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6323
  (eval "$ac_try") 2>&5
4401
6324
  ac_status=$?
4402
6325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403
6326
  (exit $ac_status); }; } &&
4404
6327
         { ac_try='test -s conftest.$ac_objext'
4405
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406
 
  (eval $ac_try) 2>&5
 
6328
  { (case "(($ac_try" in
 
6329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6330
  *) ac_try_echo=$ac_try;;
 
6331
esac
 
6332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6333
  (eval "$ac_try") 2>&5
4407
6334
  ac_status=$?
4408
6335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409
6336
  (exit $ac_status); }; }; then
4412
6339
  echo "$as_me: failed program was:" >&5
4413
6340
sed 's/^/| /' conftest.$ac_ext >&5
4414
6341
 
4415
 
ac_header_compiler=no
 
6342
        ac_header_compiler=no
4416
6343
fi
4417
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4418
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4419
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6344
 
 
6345
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6346
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6347
echo "${ECHO_T}$ac_header_compiler" >&6; }
4420
6348
 
4421
6349
# Is the header present?
4422
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4423
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
6350
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6351
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4424
6352
cat >conftest.$ac_ext <<_ACEOF
4425
6353
/* confdefs.h.  */
4426
6354
_ACEOF
4429
6357
/* end confdefs.h.  */
4430
6358
#include <$ac_header>
4431
6359
_ACEOF
4432
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4433
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6360
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6361
case "(($ac_try" in
 
6362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6363
  *) ac_try_echo=$ac_try;;
 
6364
esac
 
6365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6366
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4434
6367
  ac_status=$?
4435
6368
  grep -v '^ *+' conftest.er1 >conftest.err
4436
6369
  rm -f conftest.er1
4454
6387
 
4455
6388
  ac_header_preproc=no
4456
6389
fi
 
6390
 
4457
6391
rm -f conftest.err conftest.$ac_ext
4458
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4459
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6392
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6393
echo "${ECHO_T}$ac_header_preproc" >&6; }
4460
6394
 
4461
6395
# So?  What about this header?
4462
6396
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4480
6414
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4481
6415
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4482
6416
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4483
 
    (
4484
 
      cat <<\_ASBOX
 
6417
    ( cat <<\_ASBOX
4485
6418
## ---------------------------------- ##
4486
6419
## Report this to sandmann@redhat.com ##
4487
6420
## ---------------------------------- ##
4488
6421
_ASBOX
4489
 
    ) |
4490
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6422
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4491
6423
    ;;
4492
6424
esac
4493
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4494
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4495
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6425
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6426
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6427
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4496
6428
  echo $ECHO_N "(cached) $ECHO_C" >&6
4497
6429
else
4498
6430
  eval "$as_ac_Header=\$ac_header_preproc"
4499
6431
fi
4500
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4501
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6432
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6433
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6434
echo "${ECHO_T}$ac_res" >&6; }
4502
6435
 
4503
6436
fi
4504
6437
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4510
6443
 
4511
6444
done
4512
6445
 
4513
 
ac_ext=cc
 
6446
ac_ext=cpp
4514
6447
ac_cpp='$CXXCPP $CPPFLAGS'
4515
6448
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516
6449
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517
6450
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4518
 
if test -n "$ac_tool_prefix"; then
4519
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
6451
if test -z "$CXX"; then
 
6452
  if test -n "$CCC"; then
 
6453
    CXX=$CCC
 
6454
  else
 
6455
    if test -n "$ac_tool_prefix"; then
 
6456
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4520
6457
  do
4521
6458
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4522
6459
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4523
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4524
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6460
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6461
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4525
6462
if test "${ac_cv_prog_CXX+set}" = set; then
4526
6463
  echo $ECHO_N "(cached) $ECHO_C" >&6
4527
6464
else
4534
6471
  IFS=$as_save_IFS
4535
6472
  test -z "$as_dir" && as_dir=.
4536
6473
  for ac_exec_ext in '' $ac_executable_extensions; do
4537
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6474
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4538
6475
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4539
6476
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540
6477
    break 2
4541
6478
  fi
4542
6479
done
4543
6480
done
 
6481
IFS=$as_save_IFS
4544
6482
 
4545
6483
fi
4546
6484
fi
4547
6485
CXX=$ac_cv_prog_CXX
4548
6486
if test -n "$CXX"; then
4549
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4550
 
echo "${ECHO_T}$CXX" >&6
 
6487
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
6488
echo "${ECHO_T}$CXX" >&6; }
4551
6489
else
4552
 
  echo "$as_me:$LINENO: result: no" >&5
4553
 
echo "${ECHO_T}no" >&6
 
6490
  { echo "$as_me:$LINENO: result: no" >&5
 
6491
echo "${ECHO_T}no" >&6; }
4554
6492
fi
4555
6493
 
 
6494
 
4556
6495
    test -n "$CXX" && break
4557
6496
  done
4558
6497
fi
4559
6498
if test -z "$CXX"; then
4560
6499
  ac_ct_CXX=$CXX
4561
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
6500
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4562
6501
do
4563
6502
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4564
6503
set dummy $ac_prog; ac_word=$2
4565
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4566
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6504
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6505
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4567
6506
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4568
6507
  echo $ECHO_N "(cached) $ECHO_C" >&6
4569
6508
else
4576
6515
  IFS=$as_save_IFS
4577
6516
  test -z "$as_dir" && as_dir=.
4578
6517
  for ac_exec_ext in '' $ac_executable_extensions; do
4579
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6518
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4580
6519
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4581
6520
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4582
6521
    break 2
4583
6522
  fi
4584
6523
done
4585
6524
done
 
6525
IFS=$as_save_IFS
4586
6526
 
4587
6527
fi
4588
6528
fi
4589
6529
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4590
6530
if test -n "$ac_ct_CXX"; then
4591
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4592
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
6531
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
6532
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4593
6533
else
4594
 
  echo "$as_me:$LINENO: result: no" >&5
4595
 
echo "${ECHO_T}no" >&6
 
6534
  { echo "$as_me:$LINENO: result: no" >&5
 
6535
echo "${ECHO_T}no" >&6; }
4596
6536
fi
4597
6537
 
 
6538
 
4598
6539
  test -n "$ac_ct_CXX" && break
4599
6540
done
4600
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4601
 
 
4602
 
  CXX=$ac_ct_CXX
4603
 
fi
4604
 
 
4605
 
 
 
6541
 
 
6542
  if test "x$ac_ct_CXX" = x; then
 
6543
    CXX="g++"
 
6544
  else
 
6545
    case $cross_compiling:$ac_tool_warned in
 
6546
yes:)
 
6547
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6548
whose name does not start with the host triplet.  If you think this
 
6549
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6550
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6551
whose name does not start with the host triplet.  If you think this
 
6552
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6553
ac_tool_warned=yes ;;
 
6554
esac
 
6555
    CXX=$ac_ct_CXX
 
6556
  fi
 
6557
fi
 
6558
 
 
6559
  fi
 
6560
fi
4606
6561
# Provide some information about the compiler.
4607
 
echo "$as_me:$LINENO:" \
4608
 
     "checking for C++ compiler version" >&5
 
6562
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4609
6563
ac_compiler=`set X $ac_compile; echo $2`
4610
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4611
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4612
 
  ac_status=$?
4613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
 
  (exit $ac_status); }
4615
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4616
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4617
 
  ac_status=$?
4618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619
 
  (exit $ac_status); }
4620
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4621
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6564
{ (ac_try="$ac_compiler --version >&5"
 
6565
case "(($ac_try" in
 
6566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6567
  *) ac_try_echo=$ac_try;;
 
6568
esac
 
6569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6570
  (eval "$ac_compiler --version >&5") 2>&5
 
6571
  ac_status=$?
 
6572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6573
  (exit $ac_status); }
 
6574
{ (ac_try="$ac_compiler -v >&5"
 
6575
case "(($ac_try" in
 
6576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6577
  *) ac_try_echo=$ac_try;;
 
6578
esac
 
6579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6580
  (eval "$ac_compiler -v >&5") 2>&5
 
6581
  ac_status=$?
 
6582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6583
  (exit $ac_status); }
 
6584
{ (ac_try="$ac_compiler -V >&5"
 
6585
case "(($ac_try" in
 
6586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6587
  *) ac_try_echo=$ac_try;;
 
6588
esac
 
6589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6590
  (eval "$ac_compiler -V >&5") 2>&5
4622
6591
  ac_status=$?
4623
6592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624
6593
  (exit $ac_status); }
4625
6594
 
4626
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4627
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
6595
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
6596
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4628
6597
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4629
6598
  echo $ECHO_N "(cached) $ECHO_C" >&6
4630
6599
else
4647
6616
}
4648
6617
_ACEOF
4649
6618
rm -f conftest.$ac_objext
4650
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4651
 
  (eval $ac_compile) 2>conftest.er1
 
6619
if { (ac_try="$ac_compile"
 
6620
case "(($ac_try" in
 
6621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6622
  *) ac_try_echo=$ac_try;;
 
6623
esac
 
6624
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6625
  (eval "$ac_compile") 2>conftest.er1
4652
6626
  ac_status=$?
4653
6627
  grep -v '^ *+' conftest.er1 >conftest.err
4654
6628
  rm -f conftest.er1
4655
6629
  cat conftest.err >&5
4656
6630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657
6631
  (exit $ac_status); } &&
4658
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4659
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660
 
  (eval $ac_try) 2>&5
 
6632
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6633
  { (case "(($ac_try" in
 
6634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6635
  *) ac_try_echo=$ac_try;;
 
6636
esac
 
6637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6638
  (eval "$ac_try") 2>&5
4661
6639
  ac_status=$?
4662
6640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663
6641
  (exit $ac_status); }; } &&
4664
6642
         { ac_try='test -s conftest.$ac_objext'
4665
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666
 
  (eval $ac_try) 2>&5
 
6643
  { (case "(($ac_try" in
 
6644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6645
  *) ac_try_echo=$ac_try;;
 
6646
esac
 
6647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6648
  (eval "$ac_try") 2>&5
4667
6649
  ac_status=$?
4668
6650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669
6651
  (exit $ac_status); }; }; then
4672
6654
  echo "$as_me: failed program was:" >&5
4673
6655
sed 's/^/| /' conftest.$ac_ext >&5
4674
6656
 
4675
 
ac_compiler_gnu=no
 
6657
        ac_compiler_gnu=no
4676
6658
fi
4677
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6659
 
 
6660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678
6661
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4679
6662
 
4680
6663
fi
4681
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4682
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
6664
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6665
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4683
6666
GXX=`test $ac_compiler_gnu = yes && echo yes`
4684
6667
ac_test_CXXFLAGS=${CXXFLAGS+set}
4685
6668
ac_save_CXXFLAGS=$CXXFLAGS
4686
 
CXXFLAGS="-g"
4687
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4688
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
6669
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6670
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4689
6671
if test "${ac_cv_prog_cxx_g+set}" = set; then
4690
6672
  echo $ECHO_N "(cached) $ECHO_C" >&6
4691
6673
else
4692
 
  cat >conftest.$ac_ext <<_ACEOF
4693
 
/* confdefs.h.  */
4694
 
_ACEOF
4695
 
cat confdefs.h >>conftest.$ac_ext
4696
 
cat >>conftest.$ac_ext <<_ACEOF
4697
 
/* end confdefs.h.  */
4698
 
 
4699
 
int
4700
 
main ()
4701
 
{
4702
 
 
4703
 
  ;
4704
 
  return 0;
4705
 
}
4706
 
_ACEOF
4707
 
rm -f conftest.$ac_objext
4708
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4709
 
  (eval $ac_compile) 2>conftest.er1
4710
 
  ac_status=$?
4711
 
  grep -v '^ *+' conftest.er1 >conftest.err
4712
 
  rm -f conftest.er1
4713
 
  cat conftest.err >&5
4714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
 
  (exit $ac_status); } &&
4716
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718
 
  (eval $ac_try) 2>&5
4719
 
  ac_status=$?
4720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721
 
  (exit $ac_status); }; } &&
4722
 
         { ac_try='test -s conftest.$ac_objext'
4723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724
 
  (eval $ac_try) 2>&5
4725
 
  ac_status=$?
4726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727
 
  (exit $ac_status); }; }; then
4728
 
  ac_cv_prog_cxx_g=yes
4729
 
else
4730
 
  echo "$as_me: failed program was:" >&5
4731
 
sed 's/^/| /' conftest.$ac_ext >&5
4732
 
 
4733
 
ac_cv_prog_cxx_g=no
4734
 
fi
4735
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4736
 
fi
4737
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4738
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
6674
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
6675
   ac_cxx_werror_flag=yes
 
6676
   ac_cv_prog_cxx_g=no
 
6677
   CXXFLAGS="-g"
 
6678
   cat >conftest.$ac_ext <<_ACEOF
 
6679
/* confdefs.h.  */
 
6680
_ACEOF
 
6681
cat confdefs.h >>conftest.$ac_ext
 
6682
cat >>conftest.$ac_ext <<_ACEOF
 
6683
/* end confdefs.h.  */
 
6684
 
 
6685
int
 
6686
main ()
 
6687
{
 
6688
 
 
6689
  ;
 
6690
  return 0;
 
6691
}
 
6692
_ACEOF
 
6693
rm -f conftest.$ac_objext
 
6694
if { (ac_try="$ac_compile"
 
6695
case "(($ac_try" in
 
6696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6697
  *) ac_try_echo=$ac_try;;
 
6698
esac
 
6699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6700
  (eval "$ac_compile") 2>conftest.er1
 
6701
  ac_status=$?
 
6702
  grep -v '^ *+' conftest.er1 >conftest.err
 
6703
  rm -f conftest.er1
 
6704
  cat conftest.err >&5
 
6705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6706
  (exit $ac_status); } &&
 
6707
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6708
  { (case "(($ac_try" in
 
6709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6710
  *) ac_try_echo=$ac_try;;
 
6711
esac
 
6712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6713
  (eval "$ac_try") 2>&5
 
6714
  ac_status=$?
 
6715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6716
  (exit $ac_status); }; } &&
 
6717
         { ac_try='test -s conftest.$ac_objext'
 
6718
  { (case "(($ac_try" in
 
6719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6720
  *) ac_try_echo=$ac_try;;
 
6721
esac
 
6722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6723
  (eval "$ac_try") 2>&5
 
6724
  ac_status=$?
 
6725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6726
  (exit $ac_status); }; }; then
 
6727
  ac_cv_prog_cxx_g=yes
 
6728
else
 
6729
  echo "$as_me: failed program was:" >&5
 
6730
sed 's/^/| /' conftest.$ac_ext >&5
 
6731
 
 
6732
        CXXFLAGS=""
 
6733
      cat >conftest.$ac_ext <<_ACEOF
 
6734
/* confdefs.h.  */
 
6735
_ACEOF
 
6736
cat confdefs.h >>conftest.$ac_ext
 
6737
cat >>conftest.$ac_ext <<_ACEOF
 
6738
/* end confdefs.h.  */
 
6739
 
 
6740
int
 
6741
main ()
 
6742
{
 
6743
 
 
6744
  ;
 
6745
  return 0;
 
6746
}
 
6747
_ACEOF
 
6748
rm -f conftest.$ac_objext
 
6749
if { (ac_try="$ac_compile"
 
6750
case "(($ac_try" in
 
6751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6752
  *) ac_try_echo=$ac_try;;
 
6753
esac
 
6754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6755
  (eval "$ac_compile") 2>conftest.er1
 
6756
  ac_status=$?
 
6757
  grep -v '^ *+' conftest.er1 >conftest.err
 
6758
  rm -f conftest.er1
 
6759
  cat conftest.err >&5
 
6760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6761
  (exit $ac_status); } &&
 
6762
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6763
  { (case "(($ac_try" in
 
6764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6765
  *) ac_try_echo=$ac_try;;
 
6766
esac
 
6767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6768
  (eval "$ac_try") 2>&5
 
6769
  ac_status=$?
 
6770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6771
  (exit $ac_status); }; } &&
 
6772
         { ac_try='test -s conftest.$ac_objext'
 
6773
  { (case "(($ac_try" in
 
6774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6775
  *) ac_try_echo=$ac_try;;
 
6776
esac
 
6777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6778
  (eval "$ac_try") 2>&5
 
6779
  ac_status=$?
 
6780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6781
  (exit $ac_status); }; }; then
 
6782
  :
 
6783
else
 
6784
  echo "$as_me: failed program was:" >&5
 
6785
sed 's/^/| /' conftest.$ac_ext >&5
 
6786
 
 
6787
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6788
         CXXFLAGS="-g"
 
6789
         cat >conftest.$ac_ext <<_ACEOF
 
6790
/* confdefs.h.  */
 
6791
_ACEOF
 
6792
cat confdefs.h >>conftest.$ac_ext
 
6793
cat >>conftest.$ac_ext <<_ACEOF
 
6794
/* end confdefs.h.  */
 
6795
 
 
6796
int
 
6797
main ()
 
6798
{
 
6799
 
 
6800
  ;
 
6801
  return 0;
 
6802
}
 
6803
_ACEOF
 
6804
rm -f conftest.$ac_objext
 
6805
if { (ac_try="$ac_compile"
 
6806
case "(($ac_try" in
 
6807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6808
  *) ac_try_echo=$ac_try;;
 
6809
esac
 
6810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6811
  (eval "$ac_compile") 2>conftest.er1
 
6812
  ac_status=$?
 
6813
  grep -v '^ *+' conftest.er1 >conftest.err
 
6814
  rm -f conftest.er1
 
6815
  cat conftest.err >&5
 
6816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6817
  (exit $ac_status); } &&
 
6818
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6819
  { (case "(($ac_try" in
 
6820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6821
  *) ac_try_echo=$ac_try;;
 
6822
esac
 
6823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6824
  (eval "$ac_try") 2>&5
 
6825
  ac_status=$?
 
6826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6827
  (exit $ac_status); }; } &&
 
6828
         { ac_try='test -s conftest.$ac_objext'
 
6829
  { (case "(($ac_try" in
 
6830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6831
  *) ac_try_echo=$ac_try;;
 
6832
esac
 
6833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6834
  (eval "$ac_try") 2>&5
 
6835
  ac_status=$?
 
6836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6837
  (exit $ac_status); }; }; then
 
6838
  ac_cv_prog_cxx_g=yes
 
6839
else
 
6840
  echo "$as_me: failed program was:" >&5
 
6841
sed 's/^/| /' conftest.$ac_ext >&5
 
6842
 
 
6843
 
 
6844
fi
 
6845
 
 
6846
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6847
fi
 
6848
 
 
6849
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6850
fi
 
6851
 
 
6852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6853
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6854
fi
 
6855
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6856
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4739
6857
if test "$ac_test_CXXFLAGS" = set; then
4740
6858
  CXXFLAGS=$ac_save_CXXFLAGS
4741
6859
elif test $ac_cv_prog_cxx_g = yes; then
4751
6869
    CXXFLAGS=
4752
6870
  fi
4753
6871
fi
4754
 
for ac_declaration in \
4755
 
   '' \
4756
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4757
 
   'extern "C" void std::exit (int); using std::exit;' \
4758
 
   'extern "C" void exit (int) throw ();' \
4759
 
   'extern "C" void exit (int);' \
4760
 
   'void exit (int);'
4761
 
do
4762
 
  cat >conftest.$ac_ext <<_ACEOF
4763
 
/* confdefs.h.  */
4764
 
_ACEOF
4765
 
cat confdefs.h >>conftest.$ac_ext
4766
 
cat >>conftest.$ac_ext <<_ACEOF
4767
 
/* end confdefs.h.  */
4768
 
$ac_declaration
4769
 
#include <stdlib.h>
4770
 
int
4771
 
main ()
4772
 
{
4773
 
exit (42);
4774
 
  ;
4775
 
  return 0;
4776
 
}
4777
 
_ACEOF
4778
 
rm -f conftest.$ac_objext
4779
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4780
 
  (eval $ac_compile) 2>conftest.er1
4781
 
  ac_status=$?
4782
 
  grep -v '^ *+' conftest.er1 >conftest.err
4783
 
  rm -f conftest.er1
4784
 
  cat conftest.err >&5
4785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786
 
  (exit $ac_status); } &&
4787
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789
 
  (eval $ac_try) 2>&5
4790
 
  ac_status=$?
4791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792
 
  (exit $ac_status); }; } &&
4793
 
         { ac_try='test -s conftest.$ac_objext'
4794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795
 
  (eval $ac_try) 2>&5
4796
 
  ac_status=$?
4797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798
 
  (exit $ac_status); }; }; then
4799
 
  :
4800
 
else
4801
 
  echo "$as_me: failed program was:" >&5
4802
 
sed 's/^/| /' conftest.$ac_ext >&5
4803
 
 
4804
 
continue
4805
 
fi
4806
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4807
 
  cat >conftest.$ac_ext <<_ACEOF
4808
 
/* confdefs.h.  */
4809
 
_ACEOF
4810
 
cat confdefs.h >>conftest.$ac_ext
4811
 
cat >>conftest.$ac_ext <<_ACEOF
4812
 
/* end confdefs.h.  */
4813
 
$ac_declaration
4814
 
int
4815
 
main ()
4816
 
{
4817
 
exit (42);
4818
 
  ;
4819
 
  return 0;
4820
 
}
4821
 
_ACEOF
4822
 
rm -f conftest.$ac_objext
4823
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4824
 
  (eval $ac_compile) 2>conftest.er1
4825
 
  ac_status=$?
4826
 
  grep -v '^ *+' conftest.er1 >conftest.err
4827
 
  rm -f conftest.er1
4828
 
  cat conftest.err >&5
4829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
 
  (exit $ac_status); } &&
4831
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833
 
  (eval $ac_try) 2>&5
4834
 
  ac_status=$?
4835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836
 
  (exit $ac_status); }; } &&
4837
 
         { ac_try='test -s conftest.$ac_objext'
4838
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839
 
  (eval $ac_try) 2>&5
4840
 
  ac_status=$?
4841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
 
  (exit $ac_status); }; }; then
4843
 
  break
4844
 
else
4845
 
  echo "$as_me: failed program was:" >&5
4846
 
sed 's/^/| /' conftest.$ac_ext >&5
4847
 
 
4848
 
fi
4849
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4850
 
done
4851
 
rm -f conftest*
4852
 
if test -n "$ac_declaration"; then
4853
 
  echo '#ifdef __cplusplus' >>confdefs.h
4854
 
  echo $ac_declaration      >>confdefs.h
4855
 
  echo '#endif'             >>confdefs.h
4856
 
fi
4857
 
 
4858
 
ac_ext=cc
 
6872
ac_ext=cpp
4859
6873
ac_cpp='$CXXCPP $CPPFLAGS'
4860
6874
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861
6875
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863
6877
 
4864
6878
depcc="$CXX"  am_compiler_list=
4865
6879
 
4866
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4867
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6880
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6881
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4868
6882
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4869
6883
  echo $ECHO_N "(cached) $ECHO_C" >&6
4870
6884
else
4953
6967
fi
4954
6968
 
4955
6969
fi
4956
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4957
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6970
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6971
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4958
6972
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4959
6973
 
4960
6974
 
4975
6989
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4976
6990
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4977
6991
    (test "X$CXX" != "Xg++"))) ; then
4978
 
  ac_ext=cc
 
6992
  ac_ext=cpp
4979
6993
ac_cpp='$CXXCPP $CPPFLAGS'
4980
6994
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981
6995
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982
6996
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4983
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4984
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6997
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6998
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4985
6999
if test -z "$CXXCPP"; then
4986
7000
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4987
7001
  echo $ECHO_N "(cached) $ECHO_C" >&6
5011
7025
#endif
5012
7026
                     Syntax error
5013
7027
_ACEOF
5014
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5015
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7028
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7029
case "(($ac_try" in
 
7030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7031
  *) ac_try_echo=$ac_try;;
 
7032
esac
 
7033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7034
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5016
7035
  ac_status=$?
5017
7036
  grep -v '^ *+' conftest.er1 >conftest.err
5018
7037
  rm -f conftest.er1
5037
7056
  # Broken: fails on valid input.
5038
7057
continue
5039
7058
fi
 
7059
 
5040
7060
rm -f conftest.err conftest.$ac_ext
5041
7061
 
5042
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7062
  # OK, works on sane cases.  Now check whether nonexistent headers
5043
7063
  # can be detected and how.
5044
7064
  cat >conftest.$ac_ext <<_ACEOF
5045
7065
/* confdefs.h.  */
5049
7069
/* end confdefs.h.  */
5050
7070
#include <ac_nonexistent.h>
5051
7071
_ACEOF
5052
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5053
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7072
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7073
case "(($ac_try" in
 
7074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7075
  *) ac_try_echo=$ac_try;;
 
7076
esac
 
7077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7078
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5054
7079
  ac_status=$?
5055
7080
  grep -v '^ *+' conftest.er1 >conftest.err
5056
7081
  rm -f conftest.er1
5077
7102
ac_preproc_ok=:
5078
7103
break
5079
7104
fi
 
7105
 
5080
7106
rm -f conftest.err conftest.$ac_ext
5081
7107
 
5082
7108
done
5094
7120
else
5095
7121
  ac_cv_prog_CXXCPP=$CXXCPP
5096
7122
fi
5097
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5098
 
echo "${ECHO_T}$CXXCPP" >&6
 
7123
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7124
echo "${ECHO_T}$CXXCPP" >&6; }
5099
7125
ac_preproc_ok=false
5100
7126
for ac_cxx_preproc_warn_flag in '' yes
5101
7127
do
5118
7144
#endif
5119
7145
                     Syntax error
5120
7146
_ACEOF
5121
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7147
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7148
case "(($ac_try" in
 
7149
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7150
  *) ac_try_echo=$ac_try;;
 
7151
esac
 
7152
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7153
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5123
7154
  ac_status=$?
5124
7155
  grep -v '^ *+' conftest.er1 >conftest.err
5125
7156
  rm -f conftest.er1
5144
7175
  # Broken: fails on valid input.
5145
7176
continue
5146
7177
fi
 
7178
 
5147
7179
rm -f conftest.err conftest.$ac_ext
5148
7180
 
5149
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7181
  # OK, works on sane cases.  Now check whether nonexistent headers
5150
7182
  # can be detected and how.
5151
7183
  cat >conftest.$ac_ext <<_ACEOF
5152
7184
/* confdefs.h.  */
5156
7188
/* end confdefs.h.  */
5157
7189
#include <ac_nonexistent.h>
5158
7190
_ACEOF
5159
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5160
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7191
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7192
case "(($ac_try" in
 
7193
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7194
  *) ac_try_echo=$ac_try;;
 
7195
esac
 
7196
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7197
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5161
7198
  ac_status=$?
5162
7199
  grep -v '^ *+' conftest.er1 >conftest.err
5163
7200
  rm -f conftest.er1
5184
7221
ac_preproc_ok=:
5185
7222
break
5186
7223
fi
 
7224
 
5187
7225
rm -f conftest.err conftest.$ac_ext
5188
7226
 
5189
7227
done
5199
7237
   { (exit 1); exit 1; }; }
5200
7238
fi
5201
7239
 
5202
 
ac_ext=cc
 
7240
ac_ext=cpp
5203
7241
ac_cpp='$CXXCPP $CPPFLAGS'
5204
7242
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5205
7243
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213
7251
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214
7252
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5215
7253
if test -n "$ac_tool_prefix"; then
5216
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
7254
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5217
7255
  do
5218
7256
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5219
7257
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5220
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5221
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7258
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7259
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5222
7260
if test "${ac_cv_prog_F77+set}" = set; then
5223
7261
  echo $ECHO_N "(cached) $ECHO_C" >&6
5224
7262
else
5231
7269
  IFS=$as_save_IFS
5232
7270
  test -z "$as_dir" && as_dir=.
5233
7271
  for ac_exec_ext in '' $ac_executable_extensions; do
5234
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5235
7273
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5236
7274
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5237
7275
    break 2
5238
7276
  fi
5239
7277
done
5240
7278
done
 
7279
IFS=$as_save_IFS
5241
7280
 
5242
7281
fi
5243
7282
fi
5244
7283
F77=$ac_cv_prog_F77
5245
7284
if test -n "$F77"; then
5246
 
  echo "$as_me:$LINENO: result: $F77" >&5
5247
 
echo "${ECHO_T}$F77" >&6
 
7285
  { echo "$as_me:$LINENO: result: $F77" >&5
 
7286
echo "${ECHO_T}$F77" >&6; }
5248
7287
else
5249
 
  echo "$as_me:$LINENO: result: no" >&5
5250
 
echo "${ECHO_T}no" >&6
 
7288
  { echo "$as_me:$LINENO: result: no" >&5
 
7289
echo "${ECHO_T}no" >&6; }
5251
7290
fi
5252
7291
 
 
7292
 
5253
7293
    test -n "$F77" && break
5254
7294
  done
5255
7295
fi
5256
7296
if test -z "$F77"; then
5257
7297
  ac_ct_F77=$F77
5258
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
7298
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5259
7299
do
5260
7300
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5261
7301
set dummy $ac_prog; ac_word=$2
5262
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5263
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7302
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7303
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264
7304
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5265
7305
  echo $ECHO_N "(cached) $ECHO_C" >&6
5266
7306
else
5273
7313
  IFS=$as_save_IFS
5274
7314
  test -z "$as_dir" && as_dir=.
5275
7315
  for ac_exec_ext in '' $ac_executable_extensions; do
5276
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7316
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5277
7317
    ac_cv_prog_ac_ct_F77="$ac_prog"
5278
7318
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279
7319
    break 2
5280
7320
  fi
5281
7321
done
5282
7322
done
 
7323
IFS=$as_save_IFS
5283
7324
 
5284
7325
fi
5285
7326
fi
5286
7327
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5287
7328
if test -n "$ac_ct_F77"; then
5288
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5289
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
7329
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
7330
echo "${ECHO_T}$ac_ct_F77" >&6; }
5290
7331
else
5291
 
  echo "$as_me:$LINENO: result: no" >&5
5292
 
echo "${ECHO_T}no" >&6
 
7332
  { echo "$as_me:$LINENO: result: no" >&5
 
7333
echo "${ECHO_T}no" >&6; }
5293
7334
fi
5294
7335
 
 
7336
 
5295
7337
  test -n "$ac_ct_F77" && break
5296
7338
done
5297
7339
 
5298
 
  F77=$ac_ct_F77
 
7340
  if test "x$ac_ct_F77" = x; then
 
7341
    F77=""
 
7342
  else
 
7343
    case $cross_compiling:$ac_tool_warned in
 
7344
yes:)
 
7345
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7346
whose name does not start with the host triplet.  If you think this
 
7347
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7348
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7349
whose name does not start with the host triplet.  If you think this
 
7350
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7351
ac_tool_warned=yes ;;
 
7352
esac
 
7353
    F77=$ac_ct_F77
 
7354
  fi
5299
7355
fi
5300
7356
 
5301
7357
 
5302
7358
# Provide some information about the compiler.
5303
 
echo "$as_me:5303:" \
5304
 
     "checking for Fortran 77 compiler version" >&5
 
7359
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5305
7360
ac_compiler=`set X $ac_compile; echo $2`
5306
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5307
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5308
 
  ac_status=$?
5309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310
 
  (exit $ac_status); }
5311
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5312
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5313
 
  ac_status=$?
5314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315
 
  (exit $ac_status); }
5316
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5317
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
7361
{ (ac_try="$ac_compiler --version >&5"
 
7362
case "(($ac_try" in
 
7363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7364
  *) ac_try_echo=$ac_try;;
 
7365
esac
 
7366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7367
  (eval "$ac_compiler --version >&5") 2>&5
 
7368
  ac_status=$?
 
7369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7370
  (exit $ac_status); }
 
7371
{ (ac_try="$ac_compiler -v >&5"
 
7372
case "(($ac_try" in
 
7373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7374
  *) ac_try_echo=$ac_try;;
 
7375
esac
 
7376
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7377
  (eval "$ac_compiler -v >&5") 2>&5
 
7378
  ac_status=$?
 
7379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7380
  (exit $ac_status); }
 
7381
{ (ac_try="$ac_compiler -V >&5"
 
7382
case "(($ac_try" in
 
7383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7384
  *) ac_try_echo=$ac_try;;
 
7385
esac
 
7386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7387
  (eval "$ac_compiler -V >&5") 2>&5
5318
7388
  ac_status=$?
5319
7389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320
7390
  (exit $ac_status); }
5324
7394
# input file.  (Note that this only needs to work for GNU compilers.)
5325
7395
ac_save_ext=$ac_ext
5326
7396
ac_ext=F
5327
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5328
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
7397
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
7398
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5329
7399
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5330
7400
  echo $ECHO_N "(cached) $ECHO_C" >&6
5331
7401
else
5338
7408
      end
5339
7409
_ACEOF
5340
7410
rm -f conftest.$ac_objext
5341
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5342
 
  (eval $ac_compile) 2>conftest.er1
 
7411
if { (ac_try="$ac_compile"
 
7412
case "(($ac_try" in
 
7413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7414
  *) ac_try_echo=$ac_try;;
 
7415
esac
 
7416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7417
  (eval "$ac_compile") 2>conftest.er1
5343
7418
  ac_status=$?
5344
7419
  grep -v '^ *+' conftest.er1 >conftest.err
5345
7420
  rm -f conftest.er1
5346
7421
  cat conftest.err >&5
5347
7422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348
7423
  (exit $ac_status); } &&
5349
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351
 
  (eval $ac_try) 2>&5
 
7424
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
7425
  { (case "(($ac_try" in
 
7426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7427
  *) ac_try_echo=$ac_try;;
 
7428
esac
 
7429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7430
  (eval "$ac_try") 2>&5
5352
7431
  ac_status=$?
5353
7432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
7433
  (exit $ac_status); }; } &&
5355
7434
         { ac_try='test -s conftest.$ac_objext'
5356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357
 
  (eval $ac_try) 2>&5
 
7435
  { (case "(($ac_try" in
 
7436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7437
  *) ac_try_echo=$ac_try;;
 
7438
esac
 
7439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7440
  (eval "$ac_try") 2>&5
5358
7441
  ac_status=$?
5359
7442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360
7443
  (exit $ac_status); }; }; then
5363
7446
  echo "$as_me: failed program was:" >&5
5364
7447
sed 's/^/| /' conftest.$ac_ext >&5
5365
7448
 
5366
 
ac_compiler_gnu=no
 
7449
        ac_compiler_gnu=no
5367
7450
fi
5368
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
7451
 
 
7452
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369
7453
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5370
7454
 
5371
7455
fi
5372
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5373
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
7456
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
7457
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5374
7458
ac_ext=$ac_save_ext
5375
7459
ac_test_FFLAGS=${FFLAGS+set}
5376
7460
ac_save_FFLAGS=$FFLAGS
5377
7461
FFLAGS=
5378
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5379
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
7462
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
7463
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5380
7464
if test "${ac_cv_prog_f77_g+set}" = set; then
5381
7465
  echo $ECHO_N "(cached) $ECHO_C" >&6
5382
7466
else
5387
7471
      end
5388
7472
_ACEOF
5389
7473
rm -f conftest.$ac_objext
5390
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5391
 
  (eval $ac_compile) 2>conftest.er1
 
7474
if { (ac_try="$ac_compile"
 
7475
case "(($ac_try" in
 
7476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7477
  *) ac_try_echo=$ac_try;;
 
7478
esac
 
7479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7480
  (eval "$ac_compile") 2>conftest.er1
5392
7481
  ac_status=$?
5393
7482
  grep -v '^ *+' conftest.er1 >conftest.err
5394
7483
  rm -f conftest.er1
5395
7484
  cat conftest.err >&5
5396
7485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
7486
  (exit $ac_status); } &&
5398
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5400
 
  (eval $ac_try) 2>&5
 
7487
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
7488
  { (case "(($ac_try" in
 
7489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7490
  *) ac_try_echo=$ac_try;;
 
7491
esac
 
7492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7493
  (eval "$ac_try") 2>&5
5401
7494
  ac_status=$?
5402
7495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403
7496
  (exit $ac_status); }; } &&
5404
7497
         { ac_try='test -s conftest.$ac_objext'
5405
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5406
 
  (eval $ac_try) 2>&5
 
7498
  { (case "(($ac_try" in
 
7499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7500
  *) ac_try_echo=$ac_try;;
 
7501
esac
 
7502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7503
  (eval "$ac_try") 2>&5
5407
7504
  ac_status=$?
5408
7505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409
7506
  (exit $ac_status); }; }; then
5412
7509
  echo "$as_me: failed program was:" >&5
5413
7510
sed 's/^/| /' conftest.$ac_ext >&5
5414
7511
 
5415
 
ac_cv_prog_f77_g=no
5416
 
fi
5417
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5418
 
 
5419
 
fi
5420
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5421
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
7512
        ac_cv_prog_f77_g=no
 
7513
fi
 
7514
 
 
7515
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7516
 
 
7517
fi
 
7518
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
7519
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5422
7520
if test "$ac_test_FFLAGS" = set; then
5423
7521
  FFLAGS=$ac_save_FFLAGS
5424
7522
elif test $ac_cv_prog_f77_g = yes; then
5447
7545
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5448
7546
 
5449
7547
# find the maximum length of command line arguments
5450
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5451
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
7548
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7549
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5452
7550
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5453
7551
  echo $ECHO_N "(cached) $ECHO_C" >&6
5454
7552
else
5556
7654
fi
5557
7655
 
5558
7656
if test -n $lt_cv_sys_max_cmd_len ; then
5559
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5560
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
7657
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
7658
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5561
7659
else
5562
 
  echo "$as_me:$LINENO: result: none" >&5
5563
 
echo "${ECHO_T}none" >&6
 
7660
  { echo "$as_me:$LINENO: result: none" >&5
 
7661
echo "${ECHO_T}none" >&6; }
5564
7662
fi
5565
7663
 
5566
7664
 
5567
7665
 
5568
7666
 
5569
7667
# Check for command to grab the raw symbol name followed by C symbol from nm.
5570
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5571
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
7668
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7669
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5572
7670
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5573
7671
  echo $ECHO_N "(cached) $ECHO_C" >&6
5574
7672
else
5603
7701
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5604
7702
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5605
7703
  ;;
5606
 
linux*)
 
7704
linux* | k*bsd*-gnu)
5607
7705
  if test "$host_cpu" = ia64; then
5608
7706
    symcode='[ABCDGIRSTW]'
5609
7707
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5772
7870
  lt_cv_sys_global_symbol_to_cdecl=
5773
7871
fi
5774
7872
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5775
 
  echo "$as_me:$LINENO: result: failed" >&5
5776
 
echo "${ECHO_T}failed" >&6
 
7873
  { echo "$as_me:$LINENO: result: failed" >&5
 
7874
echo "${ECHO_T}failed" >&6; }
5777
7875
else
5778
 
  echo "$as_me:$LINENO: result: ok" >&5
5779
 
echo "${ECHO_T}ok" >&6
 
7876
  { echo "$as_me:$LINENO: result: ok" >&5
 
7877
echo "${ECHO_T}ok" >&6; }
5780
7878
fi
5781
7879
 
5782
 
echo "$as_me:$LINENO: checking for objdir" >&5
5783
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
7880
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7881
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5784
7882
if test "${lt_cv_objdir+set}" = set; then
5785
7883
  echo $ECHO_N "(cached) $ECHO_C" >&6
5786
7884
else
5794
7892
fi
5795
7893
rmdir .libs 2>/dev/null
5796
7894
fi
5797
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5798
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7895
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7896
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5799
7897
objdir=$lt_cv_objdir
5800
7898
 
5801
7899
 
5846
7944
if test -n "$ac_tool_prefix"; then
5847
7945
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5848
7946
set dummy ${ac_tool_prefix}ar; ac_word=$2
5849
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5850
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7947
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7948
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5851
7949
if test "${ac_cv_prog_AR+set}" = set; then
5852
7950
  echo $ECHO_N "(cached) $ECHO_C" >&6
5853
7951
else
5860
7958
  IFS=$as_save_IFS
5861
7959
  test -z "$as_dir" && as_dir=.
5862
7960
  for ac_exec_ext in '' $ac_executable_extensions; do
5863
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5864
7962
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5865
7963
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866
7964
    break 2
5867
7965
  fi
5868
7966
done
5869
7967
done
 
7968
IFS=$as_save_IFS
5870
7969
 
5871
7970
fi
5872
7971
fi
5873
7972
AR=$ac_cv_prog_AR
5874
7973
if test -n "$AR"; then
5875
 
  echo "$as_me:$LINENO: result: $AR" >&5
5876
 
echo "${ECHO_T}$AR" >&6
 
7974
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7975
echo "${ECHO_T}$AR" >&6; }
5877
7976
else
5878
 
  echo "$as_me:$LINENO: result: no" >&5
5879
 
echo "${ECHO_T}no" >&6
 
7977
  { echo "$as_me:$LINENO: result: no" >&5
 
7978
echo "${ECHO_T}no" >&6; }
5880
7979
fi
 
7980
 
5881
7981
 
5882
7982
fi
5883
7983
if test -z "$ac_cv_prog_AR"; then
5884
7984
  ac_ct_AR=$AR
5885
7985
  # Extract the first word of "ar", so it can be a program name with args.
5886
7986
set dummy ar; ac_word=$2
5887
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5888
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7987
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7988
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5889
7989
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5890
7990
  echo $ECHO_N "(cached) $ECHO_C" >&6
5891
7991
else
5898
7998
  IFS=$as_save_IFS
5899
7999
  test -z "$as_dir" && as_dir=.
5900
8000
  for ac_exec_ext in '' $ac_executable_extensions; do
5901
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8001
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5902
8002
    ac_cv_prog_ac_ct_AR="ar"
5903
8003
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5904
8004
    break 2
5905
8005
  fi
5906
8006
done
5907
8007
done
 
8008
IFS=$as_save_IFS
5908
8009
 
5909
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5910
8010
fi
5911
8011
fi
5912
8012
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5913
8013
if test -n "$ac_ct_AR"; then
5914
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5915
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
8014
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8015
echo "${ECHO_T}$ac_ct_AR" >&6; }
5916
8016
else
5917
 
  echo "$as_me:$LINENO: result: no" >&5
5918
 
echo "${ECHO_T}no" >&6
 
8017
  { echo "$as_me:$LINENO: result: no" >&5
 
8018
echo "${ECHO_T}no" >&6; }
5919
8019
fi
5920
8020
 
5921
 
  AR=$ac_ct_AR
 
8021
  if test "x$ac_ct_AR" = x; then
 
8022
    AR="false"
 
8023
  else
 
8024
    case $cross_compiling:$ac_tool_warned in
 
8025
yes:)
 
8026
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8027
whose name does not start with the host triplet.  If you think this
 
8028
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8029
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8030
whose name does not start with the host triplet.  If you think this
 
8031
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8032
ac_tool_warned=yes ;;
 
8033
esac
 
8034
    AR=$ac_ct_AR
 
8035
  fi
5922
8036
else
5923
8037
  AR="$ac_cv_prog_AR"
5924
8038
fi
5926
8040
if test -n "$ac_tool_prefix"; then
5927
8041
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5928
8042
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5929
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8043
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8044
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5931
8045
if test "${ac_cv_prog_RANLIB+set}" = set; then
5932
8046
  echo $ECHO_N "(cached) $ECHO_C" >&6
5933
8047
else
5940
8054
  IFS=$as_save_IFS
5941
8055
  test -z "$as_dir" && as_dir=.
5942
8056
  for ac_exec_ext in '' $ac_executable_extensions; do
5943
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5944
8058
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5945
8059
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946
8060
    break 2
5947
8061
  fi
5948
8062
done
5949
8063
done
 
8064
IFS=$as_save_IFS
5950
8065
 
5951
8066
fi
5952
8067
fi
5953
8068
RANLIB=$ac_cv_prog_RANLIB
5954
8069
if test -n "$RANLIB"; then
5955
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5956
 
echo "${ECHO_T}$RANLIB" >&6
 
8070
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8071
echo "${ECHO_T}$RANLIB" >&6; }
5957
8072
else
5958
 
  echo "$as_me:$LINENO: result: no" >&5
5959
 
echo "${ECHO_T}no" >&6
 
8073
  { echo "$as_me:$LINENO: result: no" >&5
 
8074
echo "${ECHO_T}no" >&6; }
5960
8075
fi
 
8076
 
5961
8077
 
5962
8078
fi
5963
8079
if test -z "$ac_cv_prog_RANLIB"; then
5964
8080
  ac_ct_RANLIB=$RANLIB
5965
8081
  # Extract the first word of "ranlib", so it can be a program name with args.
5966
8082
set dummy ranlib; ac_word=$2
5967
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5968
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8083
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8084
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5969
8085
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5970
8086
  echo $ECHO_N "(cached) $ECHO_C" >&6
5971
8087
else
5978
8094
  IFS=$as_save_IFS
5979
8095
  test -z "$as_dir" && as_dir=.
5980
8096
  for ac_exec_ext in '' $ac_executable_extensions; do
5981
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5982
8098
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5983
8099
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984
8100
    break 2
5985
8101
  fi
5986
8102
done
5987
8103
done
 
8104
IFS=$as_save_IFS
5988
8105
 
5989
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5990
8106
fi
5991
8107
fi
5992
8108
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5993
8109
if test -n "$ac_ct_RANLIB"; then
5994
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5995
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
8110
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8111
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5996
8112
else
5997
 
  echo "$as_me:$LINENO: result: no" >&5
5998
 
echo "${ECHO_T}no" >&6
 
8113
  { echo "$as_me:$LINENO: result: no" >&5
 
8114
echo "${ECHO_T}no" >&6; }
5999
8115
fi
6000
8116
 
6001
 
  RANLIB=$ac_ct_RANLIB
 
8117
  if test "x$ac_ct_RANLIB" = x; then
 
8118
    RANLIB=":"
 
8119
  else
 
8120
    case $cross_compiling:$ac_tool_warned in
 
8121
yes:)
 
8122
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8123
whose name does not start with the host triplet.  If you think this
 
8124
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8125
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8126
whose name does not start with the host triplet.  If you think this
 
8127
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8128
ac_tool_warned=yes ;;
 
8129
esac
 
8130
    RANLIB=$ac_ct_RANLIB
 
8131
  fi
6002
8132
else
6003
8133
  RANLIB="$ac_cv_prog_RANLIB"
6004
8134
fi
6006
8136
if test -n "$ac_tool_prefix"; then
6007
8137
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6008
8138
set dummy ${ac_tool_prefix}strip; ac_word=$2
6009
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6010
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8139
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8140
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6011
8141
if test "${ac_cv_prog_STRIP+set}" = set; then
6012
8142
  echo $ECHO_N "(cached) $ECHO_C" >&6
6013
8143
else
6020
8150
  IFS=$as_save_IFS
6021
8151
  test -z "$as_dir" && as_dir=.
6022
8152
  for ac_exec_ext in '' $ac_executable_extensions; do
6023
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6024
8154
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6025
8155
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6026
8156
    break 2
6027
8157
  fi
6028
8158
done
6029
8159
done
 
8160
IFS=$as_save_IFS
6030
8161
 
6031
8162
fi
6032
8163
fi
6033
8164
STRIP=$ac_cv_prog_STRIP
6034
8165
if test -n "$STRIP"; then
6035
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6036
 
echo "${ECHO_T}$STRIP" >&6
 
8166
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
8167
echo "${ECHO_T}$STRIP" >&6; }
6037
8168
else
6038
 
  echo "$as_me:$LINENO: result: no" >&5
6039
 
echo "${ECHO_T}no" >&6
 
8169
  { echo "$as_me:$LINENO: result: no" >&5
 
8170
echo "${ECHO_T}no" >&6; }
6040
8171
fi
 
8172
 
6041
8173
 
6042
8174
fi
6043
8175
if test -z "$ac_cv_prog_STRIP"; then
6044
8176
  ac_ct_STRIP=$STRIP
6045
8177
  # Extract the first word of "strip", so it can be a program name with args.
6046
8178
set dummy strip; ac_word=$2
6047
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6048
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8179
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8180
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049
8181
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6050
8182
  echo $ECHO_N "(cached) $ECHO_C" >&6
6051
8183
else
6058
8190
  IFS=$as_save_IFS
6059
8191
  test -z "$as_dir" && as_dir=.
6060
8192
  for ac_exec_ext in '' $ac_executable_extensions; do
6061
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8193
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6062
8194
    ac_cv_prog_ac_ct_STRIP="strip"
6063
8195
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064
8196
    break 2
6065
8197
  fi
6066
8198
done
6067
8199
done
 
8200
IFS=$as_save_IFS
6068
8201
 
6069
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6070
8202
fi
6071
8203
fi
6072
8204
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6073
8205
if test -n "$ac_ct_STRIP"; then
6074
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6075
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
8206
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8207
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6076
8208
else
6077
 
  echo "$as_me:$LINENO: result: no" >&5
6078
 
echo "${ECHO_T}no" >&6
 
8209
  { echo "$as_me:$LINENO: result: no" >&5
 
8210
echo "${ECHO_T}no" >&6; }
6079
8211
fi
6080
8212
 
6081
 
  STRIP=$ac_ct_STRIP
 
8213
  if test "x$ac_ct_STRIP" = x; then
 
8214
    STRIP=":"
 
8215
  else
 
8216
    case $cross_compiling:$ac_tool_warned in
 
8217
yes:)
 
8218
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8219
whose name does not start with the host triplet.  If you think this
 
8220
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8221
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8222
whose name does not start with the host triplet.  If you think this
 
8223
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8224
ac_tool_warned=yes ;;
 
8225
esac
 
8226
    STRIP=$ac_ct_STRIP
 
8227
  fi
6082
8228
else
6083
8229
  STRIP="$ac_cv_prog_STRIP"
6084
8230
fi
6137
8283
case $deplibs_check_method in
6138
8284
file_magic*)
6139
8285
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6140
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6141
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
8286
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8287
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6142
8288
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6143
8289
  echo $ECHO_N "(cached) $ECHO_C" >&6
6144
8290
else
6190
8336
 
6191
8337
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6192
8338
if test -n "$MAGIC_CMD"; then
6193
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6194
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8339
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8340
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6195
8341
else
6196
 
  echo "$as_me:$LINENO: result: no" >&5
6197
 
echo "${ECHO_T}no" >&6
 
8342
  { echo "$as_me:$LINENO: result: no" >&5
 
8343
echo "${ECHO_T}no" >&6; }
6198
8344
fi
6199
8345
 
6200
8346
if test -z "$lt_cv_path_MAGIC_CMD"; then
6201
8347
  if test -n "$ac_tool_prefix"; then
6202
 
    echo "$as_me:$LINENO: checking for file" >&5
6203
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
8348
    { echo "$as_me:$LINENO: checking for file" >&5
 
8349
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6204
8350
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6205
8351
  echo $ECHO_N "(cached) $ECHO_C" >&6
6206
8352
else
6252
8398
 
6253
8399
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6254
8400
if test -n "$MAGIC_CMD"; then
6255
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6256
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8401
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8402
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6257
8403
else
6258
 
  echo "$as_me:$LINENO: result: no" >&5
6259
 
echo "${ECHO_T}no" >&6
 
8404
  { echo "$as_me:$LINENO: result: no" >&5
 
8405
echo "${ECHO_T}no" >&6; }
6260
8406
fi
6261
8407
 
6262
8408
  else
6271
8417
enable_dlopen=no
6272
8418
enable_win32_dll=no
6273
8419
 
6274
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
8420
# Check whether --enable-libtool-lock was given.
6275
8421
if test "${enable_libtool_lock+set}" = set; then
6276
 
  enableval="$enable_libtool_lock"
 
8422
  enableval=$enable_libtool_lock;
 
8423
fi
6277
8424
 
6278
 
fi;
6279
8425
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6280
8426
 
6281
8427
 
6282
 
# Check whether --with-pic or --without-pic was given.
 
8428
# Check whether --with-pic was given.
6283
8429
if test "${with_pic+set}" = set; then
6284
 
  withval="$with_pic"
6285
 
  pic_mode="$withval"
 
8430
  withval=$with_pic; pic_mode="$withval"
6286
8431
else
6287
8432
  pic_mode=default
6288
 
fi;
 
8433
fi
 
8434
 
6289
8435
test -z "$pic_mode" && pic_mode=default
6290
8436
 
6291
8437
# Use C for the default configuration in the libtool script
6343
8489
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6344
8490
 
6345
8491
 
6346
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6347
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
8492
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8493
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6348
8494
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6349
8495
  echo $ECHO_N "(cached) $ECHO_C" >&6
6350
8496
else
6361
8507
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6362
8508
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6363
8509
   -e 's:$: $lt_compiler_flag:'`
6364
 
   (eval echo "\"\$as_me:6364: $lt_compile\"" >&5)
 
8510
   (eval echo "\"\$as_me:8510: $lt_compile\"" >&5)
6365
8511
   (eval "$lt_compile" 2>conftest.err)
6366
8512
   ac_status=$?
6367
8513
   cat conftest.err >&5
6368
 
   echo "$as_me:6368: \$? = $ac_status" >&5
 
8514
   echo "$as_me:8514: \$? = $ac_status" >&5
6369
8515
   if (exit $ac_status) && test -s "$ac_outfile"; then
6370
8516
     # The compiler can only warn and ignore the option if not recognized
6371
8517
     # So say no if there are warnings other than the usual output.
6378
8524
   $rm conftest*
6379
8525
 
6380
8526
fi
6381
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6382
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
8527
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8528
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6383
8529
 
6384
8530
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6385
8531
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6393
8539
lt_prog_compiler_pic=
6394
8540
lt_prog_compiler_static=
6395
8541
 
6396
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6397
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
8542
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8543
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6398
8544
 
6399
8545
  if test "$GCC" = yes; then
6400
8546
    lt_prog_compiler_wl='-Wl,'
6523
8669
      lt_prog_compiler_static='-Bstatic'
6524
8670
      ;;
6525
8671
 
6526
 
    linux*)
 
8672
    linux* | k*bsd*-gnu)
6527
8673
      case $cc_basename in
6528
8674
      icc* | ecc*)
6529
8675
        lt_prog_compiler_wl='-Wl,'
6603
8749
    esac
6604
8750
  fi
6605
8751
 
6606
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6607
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8752
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8753
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6608
8754
 
6609
8755
#
6610
8756
# Check to make sure the PIC flag actually works.
6611
8757
#
6612
8758
if test -n "$lt_prog_compiler_pic"; then
6613
8759
 
6614
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6615
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
8760
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8761
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6616
8762
if test "${lt_prog_compiler_pic_works+set}" = set; then
6617
8763
  echo $ECHO_N "(cached) $ECHO_C" >&6
6618
8764
else
6629
8775
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6630
8776
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6631
8777
   -e 's:$: $lt_compiler_flag:'`
6632
 
   (eval echo "\"\$as_me:6632: $lt_compile\"" >&5)
 
8778
   (eval echo "\"\$as_me:8778: $lt_compile\"" >&5)
6633
8779
   (eval "$lt_compile" 2>conftest.err)
6634
8780
   ac_status=$?
6635
8781
   cat conftest.err >&5
6636
 
   echo "$as_me:6636: \$? = $ac_status" >&5
 
8782
   echo "$as_me:8782: \$? = $ac_status" >&5
6637
8783
   if (exit $ac_status) && test -s "$ac_outfile"; then
6638
8784
     # The compiler can only warn and ignore the option if not recognized
6639
8785
     # So say no if there are warnings other than the usual output.
6646
8792
   $rm conftest*
6647
8793
 
6648
8794
fi
6649
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6650
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8795
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
8796
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6651
8797
 
6652
8798
if test x"$lt_prog_compiler_pic_works" = xyes; then
6653
8799
    case $lt_prog_compiler_pic in
6674
8820
# Check to make sure the static flag actually works.
6675
8821
#
6676
8822
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6677
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6678
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
8823
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8824
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6679
8825
if test "${lt_prog_compiler_static_works+set}" = set; then
6680
8826
  echo $ECHO_N "(cached) $ECHO_C" >&6
6681
8827
else
6702
8848
   LDFLAGS="$save_LDFLAGS"
6703
8849
 
6704
8850
fi
6705
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6706
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
8851
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8852
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6707
8853
 
6708
8854
if test x"$lt_prog_compiler_static_works" = xyes; then
6709
8855
    :
6712
8858
fi
6713
8859
 
6714
8860
 
6715
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6716
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8861
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8862
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6717
8863
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6718
8864
  echo $ECHO_N "(cached) $ECHO_C" >&6
6719
8865
else
6733
8879
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6734
8880
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6735
8881
   -e 's:$: $lt_compiler_flag:'`
6736
 
   (eval echo "\"\$as_me:6736: $lt_compile\"" >&5)
 
8882
   (eval echo "\"\$as_me:8882: $lt_compile\"" >&5)
6737
8883
   (eval "$lt_compile" 2>out/conftest.err)
6738
8884
   ac_status=$?
6739
8885
   cat out/conftest.err >&5
6740
 
   echo "$as_me:6740: \$? = $ac_status" >&5
 
8886
   echo "$as_me:8886: \$? = $ac_status" >&5
6741
8887
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6742
8888
   then
6743
8889
     # The compiler can only warn and ignore the option if not recognized
6759
8905
   $rm conftest*
6760
8906
 
6761
8907
fi
6762
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6763
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8908
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8909
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6764
8910
 
6765
8911
 
6766
8912
hard_links="nottested"
6767
8913
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6768
8914
  # do not overwrite the value of need_locks provided by the user
6769
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6770
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8915
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8916
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6771
8917
  hard_links=yes
6772
8918
  $rm conftest*
6773
8919
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6774
8920
  touch conftest.a
6775
8921
  ln conftest.a conftest.b 2>&5 || hard_links=no
6776
8922
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6777
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6778
 
echo "${ECHO_T}$hard_links" >&6
 
8923
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8924
echo "${ECHO_T}$hard_links" >&6; }
6779
8925
  if test "$hard_links" = no; then
6780
8926
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6781
8927
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6785
8931
  need_locks=no
6786
8932
fi
6787
8933
 
6788
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6789
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8934
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8935
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6790
8936
 
6791
8937
  runpath_var=
6792
8938
  allow_undefined_flag=
6962
9108
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6963
9109
      ;;
6964
9110
 
6965
 
    linux*)
 
9111
    linux* | k*bsd*-gnu)
6966
9112
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6967
9113
        tmp_addflag=
6968
9114
        case $cc_basename,$host_cpu in
6994
9140
      fi
6995
9141
      ;;
6996
9142
 
6997
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
9143
    netbsd* | netbsdelf*-gnu)
6998
9144
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6999
9145
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7000
9146
        wlarc=
7202
9348
}
7203
9349
_ACEOF
7204
9350
rm -f conftest.$ac_objext conftest$ac_exeext
7205
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7206
 
  (eval $ac_link) 2>conftest.er1
 
9351
if { (ac_try="$ac_link"
 
9352
case "(($ac_try" in
 
9353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9354
  *) ac_try_echo=$ac_try;;
 
9355
esac
 
9356
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9357
  (eval "$ac_link") 2>conftest.er1
7207
9358
  ac_status=$?
7208
9359
  grep -v '^ *+' conftest.er1 >conftest.err
7209
9360
  rm -f conftest.er1
7210
9361
  cat conftest.err >&5
7211
9362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212
9363
  (exit $ac_status); } &&
7213
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7214
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215
 
  (eval $ac_try) 2>&5
 
9364
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9365
  { (case "(($ac_try" in
 
9366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9367
  *) ac_try_echo=$ac_try;;
 
9368
esac
 
9369
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9370
  (eval "$ac_try") 2>&5
7216
9371
  ac_status=$?
7217
9372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218
9373
  (exit $ac_status); }; } &&
7219
9374
         { ac_try='test -s conftest$ac_exeext'
7220
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221
 
  (eval $ac_try) 2>&5
 
9375
  { (case "(($ac_try" in
 
9376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9377
  *) ac_try_echo=$ac_try;;
 
9378
esac
 
9379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9380
  (eval "$ac_try") 2>&5
7222
9381
  ac_status=$?
7223
9382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224
9383
  (exit $ac_status); }; }; then
7232
9391
  echo "$as_me: failed program was:" >&5
7233
9392
sed 's/^/| /' conftest.$ac_ext >&5
7234
9393
 
 
9394
 
7235
9395
fi
7236
 
rm -f conftest.err conftest.$ac_objext \
 
9396
 
 
9397
rm -f core conftest.err conftest.$ac_objext \
7237
9398
      conftest$ac_exeext conftest.$ac_ext
7238
9399
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7239
9400
 
7262
9423
}
7263
9424
_ACEOF
7264
9425
rm -f conftest.$ac_objext conftest$ac_exeext
7265
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7266
 
  (eval $ac_link) 2>conftest.er1
 
9426
if { (ac_try="$ac_link"
 
9427
case "(($ac_try" in
 
9428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9429
  *) ac_try_echo=$ac_try;;
 
9430
esac
 
9431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9432
  (eval "$ac_link") 2>conftest.er1
7267
9433
  ac_status=$?
7268
9434
  grep -v '^ *+' conftest.er1 >conftest.err
7269
9435
  rm -f conftest.er1
7270
9436
  cat conftest.err >&5
7271
9437
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272
9438
  (exit $ac_status); } &&
7273
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7274
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275
 
  (eval $ac_try) 2>&5
 
9439
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9440
  { (case "(($ac_try" in
 
9441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9442
  *) ac_try_echo=$ac_try;;
 
9443
esac
 
9444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9445
  (eval "$ac_try") 2>&5
7276
9446
  ac_status=$?
7277
9447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278
9448
  (exit $ac_status); }; } &&
7279
9449
         { ac_try='test -s conftest$ac_exeext'
7280
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281
 
  (eval $ac_try) 2>&5
 
9450
  { (case "(($ac_try" in
 
9451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9452
  *) ac_try_echo=$ac_try;;
 
9453
esac
 
9454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9455
  (eval "$ac_try") 2>&5
7282
9456
  ac_status=$?
7283
9457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284
9458
  (exit $ac_status); }; }; then
7292
9466
  echo "$as_me: failed program was:" >&5
7293
9467
sed 's/^/| /' conftest.$ac_ext >&5
7294
9468
 
 
9469
 
7295
9470
fi
7296
 
rm -f conftest.err conftest.$ac_objext \
 
9471
 
 
9472
rm -f core conftest.err conftest.$ac_objext \
7297
9473
      conftest$ac_exeext conftest.$ac_ext
7298
9474
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7299
9475
 
7431
9607
      hardcode_shlibpath_var=no
7432
9608
      ;;
7433
9609
 
7434
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
7435
 
    kfreebsd*-gnu)
7436
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7437
 
      hardcode_libdir_flag_spec='-R$libdir'
7438
 
      hardcode_direct=yes
7439
 
      hardcode_shlibpath_var=no
7440
 
      link_all_deplibs=no
7441
 
      ;;
7442
 
 
7443
9610
    hpux9*)
7444
9611
      if test "$GCC" = yes; then
7445
9612
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7535
9702
      link_all_deplibs=yes
7536
9703
      ;;
7537
9704
 
7538
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
9705
    netbsd* | netbsdelf*-gnu)
7539
9706
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7540
9707
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7541
9708
      else
7751
9918
    esac
7752
9919
  fi
7753
9920
 
7754
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7755
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9921
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9922
echo "${ECHO_T}$ld_shlibs" >&6; }
7756
9923
test "$ld_shlibs" = no && can_build_shared=no
7757
9924
 
7758
9925
#
7772
9939
      # Test whether the compiler implicitly links with -lc since on some
7773
9940
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7774
9941
      # to ld, don't add -lc before -lgcc.
7775
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7776
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9942
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9943
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7777
9944
      $rm conftest*
7778
9945
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7779
9946
 
7810
9977
        cat conftest.err 1>&5
7811
9978
      fi
7812
9979
      $rm conftest*
7813
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7814
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9980
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9981
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7815
9982
      ;;
7816
9983
    esac
7817
9984
  fi
7818
9985
  ;;
7819
9986
esac
7820
9987
 
7821
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7822
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9988
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9989
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7823
9990
library_names_spec=
7824
9991
libname_spec='lib$name'
7825
9992
soname_spec=
8025
10192
  dynamic_linker=no
8026
10193
  ;;
8027
10194
 
8028
 
kfreebsd*-gnu)
8029
 
  version_type=linux
8030
 
  need_lib_prefix=no
8031
 
  need_version=no
8032
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8033
 
  soname_spec='${libname}${release}${shared_ext}$major'
8034
 
  shlibpath_var=LD_LIBRARY_PATH
8035
 
  shlibpath_overrides_runpath=no
8036
 
  hardcode_into_libs=yes
8037
 
  dynamic_linker='GNU ld.so'
8038
 
  ;;
8039
 
 
8040
10195
freebsd* | dragonfly*)
8041
10196
  # DragonFly does not have aout.  When/if they implement a new
8042
10197
  # versioning mechanism, adjust this.
8192
10347
  ;;
8193
10348
 
8194
10349
# This must be Linux ELF.
8195
 
linux*)
 
10350
linux* | k*bsd*-gnu)
8196
10351
  version_type=linux
8197
10352
  need_lib_prefix=no
8198
10353
  need_version=no
8233
10388
  dynamic_linker='NetBSD ld.elf_so'
8234
10389
  ;;
8235
10390
 
8236
 
knetbsd*-gnu)
8237
 
  version_type=linux
8238
 
  need_lib_prefix=no
8239
 
  need_version=no
8240
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8241
 
  soname_spec='${libname}${release}${shared_ext}$major'
8242
 
  shlibpath_var=LD_LIBRARY_PATH
8243
 
  shlibpath_overrides_runpath=no
8244
 
  hardcode_into_libs=yes
8245
 
  dynamic_linker='GNU ld.so'
8246
 
  ;;
8247
 
 
8248
10391
netbsd*)
8249
10392
  version_type=sunos
8250
10393
  need_lib_prefix=no
8418
10561
  dynamic_linker=no
8419
10562
  ;;
8420
10563
esac
8421
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8422
 
echo "${ECHO_T}$dynamic_linker" >&6
 
10564
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10565
echo "${ECHO_T}$dynamic_linker" >&6; }
8423
10566
test "$dynamic_linker" = no && can_build_shared=no
8424
10567
 
8425
10568
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8427
10570
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8428
10571
fi
8429
10572
 
8430
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8431
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
10573
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10574
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8432
10575
hardcode_action=
8433
10576
if test -n "$hardcode_libdir_flag_spec" || \
8434
10577
   test -n "$runpath_var" || \
8452
10595
  # directories.
8453
10596
  hardcode_action=unsupported
8454
10597
fi
8455
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8456
 
echo "${ECHO_T}$hardcode_action" >&6
 
10598
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10599
echo "${ECHO_T}$hardcode_action" >&6; }
8457
10600
 
8458
10601
if test "$hardcode_action" = relink; then
8459
10602
  # Fast installation is not supported
8466
10609
 
8467
10610
striplib=
8468
10611
old_striplib=
8469
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8470
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
10612
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10613
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8471
10614
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8472
10615
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8473
10616
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8474
 
  echo "$as_me:$LINENO: result: yes" >&5
8475
 
echo "${ECHO_T}yes" >&6
 
10617
  { echo "$as_me:$LINENO: result: yes" >&5
 
10618
echo "${ECHO_T}yes" >&6; }
8476
10619
else
8477
10620
# FIXME - insert some real tests, host_os isn't really good enough
8478
10621
  case $host_os in
8479
10622
   darwin*)
8480
10623
       if test -n "$STRIP" ; then
8481
10624
         striplib="$STRIP -x"
8482
 
         echo "$as_me:$LINENO: result: yes" >&5
8483
 
echo "${ECHO_T}yes" >&6
 
10625
         { echo "$as_me:$LINENO: result: yes" >&5
 
10626
echo "${ECHO_T}yes" >&6; }
8484
10627
       else
8485
 
  echo "$as_me:$LINENO: result: no" >&5
8486
 
echo "${ECHO_T}no" >&6
 
10628
  { echo "$as_me:$LINENO: result: no" >&5
 
10629
echo "${ECHO_T}no" >&6; }
8487
10630
fi
8488
10631
       ;;
8489
10632
   *)
8490
 
  echo "$as_me:$LINENO: result: no" >&5
8491
 
echo "${ECHO_T}no" >&6
 
10633
  { echo "$as_me:$LINENO: result: no" >&5
 
10634
echo "${ECHO_T}no" >&6; }
8492
10635
    ;;
8493
10636
  esac
8494
10637
fi
8520
10663
 
8521
10664
  darwin*)
8522
10665
  # if libdl is installed we need to link against it
8523
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8524
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10666
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10667
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8525
10668
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8526
10669
  echo $ECHO_N "(cached) $ECHO_C" >&6
8527
10670
else
8534
10677
cat >>conftest.$ac_ext <<_ACEOF
8535
10678
/* end confdefs.h.  */
8536
10679
 
8537
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10680
/* Override any GCC internal prototype to avoid an error.
 
10681
   Use char because int might match the return type of a GCC
 
10682
   builtin and then its argument prototype would still apply.  */
8538
10683
#ifdef __cplusplus
8539
10684
extern "C"
8540
10685
#endif
8541
 
/* We use char because int might match the return type of a gcc2
8542
 
   builtin and then its argument prototype would still apply.  */
8543
10686
char dlopen ();
8544
10687
int
8545
10688
main ()
8546
10689
{
8547
 
dlopen ();
 
10690
return dlopen ();
8548
10691
  ;
8549
10692
  return 0;
8550
10693
}
8551
10694
_ACEOF
8552
10695
rm -f conftest.$ac_objext conftest$ac_exeext
8553
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8554
 
  (eval $ac_link) 2>conftest.er1
 
10696
if { (ac_try="$ac_link"
 
10697
case "(($ac_try" in
 
10698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10699
  *) ac_try_echo=$ac_try;;
 
10700
esac
 
10701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10702
  (eval "$ac_link") 2>conftest.er1
8555
10703
  ac_status=$?
8556
10704
  grep -v '^ *+' conftest.er1 >conftest.err
8557
10705
  rm -f conftest.er1
8558
10706
  cat conftest.err >&5
8559
10707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560
10708
  (exit $ac_status); } &&
8561
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563
 
  (eval $ac_try) 2>&5
 
10709
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10710
  { (case "(($ac_try" in
 
10711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10712
  *) ac_try_echo=$ac_try;;
 
10713
esac
 
10714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10715
  (eval "$ac_try") 2>&5
8564
10716
  ac_status=$?
8565
10717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566
10718
  (exit $ac_status); }; } &&
8567
10719
         { ac_try='test -s conftest$ac_exeext'
8568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569
 
  (eval $ac_try) 2>&5
 
10720
  { (case "(($ac_try" in
 
10721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10722
  *) ac_try_echo=$ac_try;;
 
10723
esac
 
10724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10725
  (eval "$ac_try") 2>&5
8570
10726
  ac_status=$?
8571
10727
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572
10728
  (exit $ac_status); }; }; then
8575
10731
  echo "$as_me: failed program was:" >&5
8576
10732
sed 's/^/| /' conftest.$ac_ext >&5
8577
10733
 
8578
 
ac_cv_lib_dl_dlopen=no
 
10734
        ac_cv_lib_dl_dlopen=no
8579
10735
fi
8580
 
rm -f conftest.err conftest.$ac_objext \
 
10736
 
 
10737
rm -f core conftest.err conftest.$ac_objext \
8581
10738
      conftest$ac_exeext conftest.$ac_ext
8582
10739
LIBS=$ac_check_lib_save_LIBS
8583
10740
fi
8584
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8585
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10741
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10742
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8586
10743
if test $ac_cv_lib_dl_dlopen = yes; then
8587
10744
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8588
10745
else
8596
10753
   ;;
8597
10754
 
8598
10755
  *)
8599
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8600
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10756
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
10757
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8601
10758
if test "${ac_cv_func_shl_load+set}" = set; then
8602
10759
  echo $ECHO_N "(cached) $ECHO_C" >&6
8603
10760
else
8624
10781
 
8625
10782
#undef shl_load
8626
10783
 
8627
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10784
/* Override any GCC internal prototype to avoid an error.
 
10785
   Use char because int might match the return type of a GCC
 
10786
   builtin and then its argument prototype would still apply.  */
8628
10787
#ifdef __cplusplus
8629
10788
extern "C"
8630
 
{
8631
10789
#endif
8632
 
/* We use char because int might match the return type of a gcc2
8633
 
   builtin and then its argument prototype would still apply.  */
8634
10790
char shl_load ();
8635
10791
/* The GNU C library defines this for functions which it implements
8636
10792
    to always fail with ENOSYS.  Some functions are actually named
8637
10793
    something starting with __ and the normal name is an alias.  */
8638
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10794
#if defined __stub_shl_load || defined __stub___shl_load
8639
10795
choke me
8640
 
#else
8641
 
char (*f) () = shl_load;
8642
 
#endif
8643
 
#ifdef __cplusplus
8644
 
}
8645
10796
#endif
8646
10797
 
8647
10798
int
8648
10799
main ()
8649
10800
{
8650
 
return f != shl_load;
 
10801
return shl_load ();
8651
10802
  ;
8652
10803
  return 0;
8653
10804
}
8654
10805
_ACEOF
8655
10806
rm -f conftest.$ac_objext conftest$ac_exeext
8656
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8657
 
  (eval $ac_link) 2>conftest.er1
 
10807
if { (ac_try="$ac_link"
 
10808
case "(($ac_try" in
 
10809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10810
  *) ac_try_echo=$ac_try;;
 
10811
esac
 
10812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10813
  (eval "$ac_link") 2>conftest.er1
8658
10814
  ac_status=$?
8659
10815
  grep -v '^ *+' conftest.er1 >conftest.err
8660
10816
  rm -f conftest.er1
8661
10817
  cat conftest.err >&5
8662
10818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663
10819
  (exit $ac_status); } &&
8664
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8665
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666
 
  (eval $ac_try) 2>&5
 
10820
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10821
  { (case "(($ac_try" in
 
10822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10823
  *) ac_try_echo=$ac_try;;
 
10824
esac
 
10825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10826
  (eval "$ac_try") 2>&5
8667
10827
  ac_status=$?
8668
10828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669
10829
  (exit $ac_status); }; } &&
8670
10830
         { ac_try='test -s conftest$ac_exeext'
8671
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672
 
  (eval $ac_try) 2>&5
 
10831
  { (case "(($ac_try" in
 
10832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10833
  *) ac_try_echo=$ac_try;;
 
10834
esac
 
10835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10836
  (eval "$ac_try") 2>&5
8673
10837
  ac_status=$?
8674
10838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675
10839
  (exit $ac_status); }; }; then
8678
10842
  echo "$as_me: failed program was:" >&5
8679
10843
sed 's/^/| /' conftest.$ac_ext >&5
8680
10844
 
8681
 
ac_cv_func_shl_load=no
 
10845
        ac_cv_func_shl_load=no
8682
10846
fi
8683
 
rm -f conftest.err conftest.$ac_objext \
 
10847
 
 
10848
rm -f core conftest.err conftest.$ac_objext \
8684
10849
      conftest$ac_exeext conftest.$ac_ext
8685
10850
fi
8686
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8687
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10851
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10852
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8688
10853
if test $ac_cv_func_shl_load = yes; then
8689
10854
  lt_cv_dlopen="shl_load"
8690
10855
else
8691
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8692
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10856
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10857
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8693
10858
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8694
10859
  echo $ECHO_N "(cached) $ECHO_C" >&6
8695
10860
else
8702
10867
cat >>conftest.$ac_ext <<_ACEOF
8703
10868
/* end confdefs.h.  */
8704
10869
 
8705
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10870
/* Override any GCC internal prototype to avoid an error.
 
10871
   Use char because int might match the return type of a GCC
 
10872
   builtin and then its argument prototype would still apply.  */
8706
10873
#ifdef __cplusplus
8707
10874
extern "C"
8708
10875
#endif
8709
 
/* We use char because int might match the return type of a gcc2
8710
 
   builtin and then its argument prototype would still apply.  */
8711
10876
char shl_load ();
8712
10877
int
8713
10878
main ()
8714
10879
{
8715
 
shl_load ();
 
10880
return shl_load ();
8716
10881
  ;
8717
10882
  return 0;
8718
10883
}
8719
10884
_ACEOF
8720
10885
rm -f conftest.$ac_objext conftest$ac_exeext
8721
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8722
 
  (eval $ac_link) 2>conftest.er1
 
10886
if { (ac_try="$ac_link"
 
10887
case "(($ac_try" in
 
10888
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10889
  *) ac_try_echo=$ac_try;;
 
10890
esac
 
10891
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10892
  (eval "$ac_link") 2>conftest.er1
8723
10893
  ac_status=$?
8724
10894
  grep -v '^ *+' conftest.er1 >conftest.err
8725
10895
  rm -f conftest.er1
8726
10896
  cat conftest.err >&5
8727
10897
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728
10898
  (exit $ac_status); } &&
8729
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731
 
  (eval $ac_try) 2>&5
 
10899
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10900
  { (case "(($ac_try" in
 
10901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10902
  *) ac_try_echo=$ac_try;;
 
10903
esac
 
10904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10905
  (eval "$ac_try") 2>&5
8732
10906
  ac_status=$?
8733
10907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734
10908
  (exit $ac_status); }; } &&
8735
10909
         { ac_try='test -s conftest$ac_exeext'
8736
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8737
 
  (eval $ac_try) 2>&5
 
10910
  { (case "(($ac_try" in
 
10911
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10912
  *) ac_try_echo=$ac_try;;
 
10913
esac
 
10914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10915
  (eval "$ac_try") 2>&5
8738
10916
  ac_status=$?
8739
10917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740
10918
  (exit $ac_status); }; }; then
8743
10921
  echo "$as_me: failed program was:" >&5
8744
10922
sed 's/^/| /' conftest.$ac_ext >&5
8745
10923
 
8746
 
ac_cv_lib_dld_shl_load=no
 
10924
        ac_cv_lib_dld_shl_load=no
8747
10925
fi
8748
 
rm -f conftest.err conftest.$ac_objext \
 
10926
 
 
10927
rm -f core conftest.err conftest.$ac_objext \
8749
10928
      conftest$ac_exeext conftest.$ac_ext
8750
10929
LIBS=$ac_check_lib_save_LIBS
8751
10930
fi
8752
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8753
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10931
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10932
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8754
10933
if test $ac_cv_lib_dld_shl_load = yes; then
8755
10934
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8756
10935
else
8757
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8758
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10936
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10937
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8759
10938
if test "${ac_cv_func_dlopen+set}" = set; then
8760
10939
  echo $ECHO_N "(cached) $ECHO_C" >&6
8761
10940
else
8782
10961
 
8783
10962
#undef dlopen
8784
10963
 
8785
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10964
/* Override any GCC internal prototype to avoid an error.
 
10965
   Use char because int might match the return type of a GCC
 
10966
   builtin and then its argument prototype would still apply.  */
8786
10967
#ifdef __cplusplus
8787
10968
extern "C"
8788
 
{
8789
10969
#endif
8790
 
/* We use char because int might match the return type of a gcc2
8791
 
   builtin and then its argument prototype would still apply.  */
8792
10970
char dlopen ();
8793
10971
/* The GNU C library defines this for functions which it implements
8794
10972
    to always fail with ENOSYS.  Some functions are actually named
8795
10973
    something starting with __ and the normal name is an alias.  */
8796
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10974
#if defined __stub_dlopen || defined __stub___dlopen
8797
10975
choke me
8798
 
#else
8799
 
char (*f) () = dlopen;
8800
 
#endif
8801
 
#ifdef __cplusplus
8802
 
}
8803
10976
#endif
8804
10977
 
8805
10978
int
8806
10979
main ()
8807
10980
{
8808
 
return f != dlopen;
 
10981
return dlopen ();
8809
10982
  ;
8810
10983
  return 0;
8811
10984
}
8812
10985
_ACEOF
8813
10986
rm -f conftest.$ac_objext conftest$ac_exeext
8814
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8815
 
  (eval $ac_link) 2>conftest.er1
 
10987
if { (ac_try="$ac_link"
 
10988
case "(($ac_try" in
 
10989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10990
  *) ac_try_echo=$ac_try;;
 
10991
esac
 
10992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10993
  (eval "$ac_link") 2>conftest.er1
8816
10994
  ac_status=$?
8817
10995
  grep -v '^ *+' conftest.er1 >conftest.err
8818
10996
  rm -f conftest.er1
8819
10997
  cat conftest.err >&5
8820
10998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821
10999
  (exit $ac_status); } &&
8822
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824
 
  (eval $ac_try) 2>&5
 
11000
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11001
  { (case "(($ac_try" in
 
11002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11003
  *) ac_try_echo=$ac_try;;
 
11004
esac
 
11005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11006
  (eval "$ac_try") 2>&5
8825
11007
  ac_status=$?
8826
11008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827
11009
  (exit $ac_status); }; } &&
8828
11010
         { ac_try='test -s conftest$ac_exeext'
8829
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830
 
  (eval $ac_try) 2>&5
 
11011
  { (case "(($ac_try" in
 
11012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11013
  *) ac_try_echo=$ac_try;;
 
11014
esac
 
11015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11016
  (eval "$ac_try") 2>&5
8831
11017
  ac_status=$?
8832
11018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833
11019
  (exit $ac_status); }; }; then
8836
11022
  echo "$as_me: failed program was:" >&5
8837
11023
sed 's/^/| /' conftest.$ac_ext >&5
8838
11024
 
8839
 
ac_cv_func_dlopen=no
 
11025
        ac_cv_func_dlopen=no
8840
11026
fi
8841
 
rm -f conftest.err conftest.$ac_objext \
 
11027
 
 
11028
rm -f core conftest.err conftest.$ac_objext \
8842
11029
      conftest$ac_exeext conftest.$ac_ext
8843
11030
fi
8844
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8845
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
11031
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11032
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8846
11033
if test $ac_cv_func_dlopen = yes; then
8847
11034
  lt_cv_dlopen="dlopen"
8848
11035
else
8849
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8850
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11036
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11037
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8851
11038
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8852
11039
  echo $ECHO_N "(cached) $ECHO_C" >&6
8853
11040
else
8860
11047
cat >>conftest.$ac_ext <<_ACEOF
8861
11048
/* end confdefs.h.  */
8862
11049
 
8863
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11050
/* Override any GCC internal prototype to avoid an error.
 
11051
   Use char because int might match the return type of a GCC
 
11052
   builtin and then its argument prototype would still apply.  */
8864
11053
#ifdef __cplusplus
8865
11054
extern "C"
8866
11055
#endif
8867
 
/* We use char because int might match the return type of a gcc2
8868
 
   builtin and then its argument prototype would still apply.  */
8869
11056
char dlopen ();
8870
11057
int
8871
11058
main ()
8872
11059
{
8873
 
dlopen ();
 
11060
return dlopen ();
8874
11061
  ;
8875
11062
  return 0;
8876
11063
}
8877
11064
_ACEOF
8878
11065
rm -f conftest.$ac_objext conftest$ac_exeext
8879
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8880
 
  (eval $ac_link) 2>conftest.er1
 
11066
if { (ac_try="$ac_link"
 
11067
case "(($ac_try" in
 
11068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11069
  *) ac_try_echo=$ac_try;;
 
11070
esac
 
11071
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11072
  (eval "$ac_link") 2>conftest.er1
8881
11073
  ac_status=$?
8882
11074
  grep -v '^ *+' conftest.er1 >conftest.err
8883
11075
  rm -f conftest.er1
8884
11076
  cat conftest.err >&5
8885
11077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886
11078
  (exit $ac_status); } &&
8887
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889
 
  (eval $ac_try) 2>&5
 
11079
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11080
  { (case "(($ac_try" in
 
11081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11082
  *) ac_try_echo=$ac_try;;
 
11083
esac
 
11084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11085
  (eval "$ac_try") 2>&5
8890
11086
  ac_status=$?
8891
11087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892
11088
  (exit $ac_status); }; } &&
8893
11089
         { ac_try='test -s conftest$ac_exeext'
8894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895
 
  (eval $ac_try) 2>&5
 
11090
  { (case "(($ac_try" in
 
11091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11092
  *) ac_try_echo=$ac_try;;
 
11093
esac
 
11094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11095
  (eval "$ac_try") 2>&5
8896
11096
  ac_status=$?
8897
11097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898
11098
  (exit $ac_status); }; }; then
8901
11101
  echo "$as_me: failed program was:" >&5
8902
11102
sed 's/^/| /' conftest.$ac_ext >&5
8903
11103
 
8904
 
ac_cv_lib_dl_dlopen=no
 
11104
        ac_cv_lib_dl_dlopen=no
8905
11105
fi
8906
 
rm -f conftest.err conftest.$ac_objext \
 
11106
 
 
11107
rm -f core conftest.err conftest.$ac_objext \
8907
11108
      conftest$ac_exeext conftest.$ac_ext
8908
11109
LIBS=$ac_check_lib_save_LIBS
8909
11110
fi
8910
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8911
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
11111
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11112
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8912
11113
if test $ac_cv_lib_dl_dlopen = yes; then
8913
11114
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8914
11115
else
8915
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8916
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
11116
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11117
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8917
11118
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8918
11119
  echo $ECHO_N "(cached) $ECHO_C" >&6
8919
11120
else
8926
11127
cat >>conftest.$ac_ext <<_ACEOF
8927
11128
/* end confdefs.h.  */
8928
11129
 
8929
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11130
/* Override any GCC internal prototype to avoid an error.
 
11131
   Use char because int might match the return type of a GCC
 
11132
   builtin and then its argument prototype would still apply.  */
8930
11133
#ifdef __cplusplus
8931
11134
extern "C"
8932
11135
#endif
8933
 
/* We use char because int might match the return type of a gcc2
8934
 
   builtin and then its argument prototype would still apply.  */
8935
11136
char dlopen ();
8936
11137
int
8937
11138
main ()
8938
11139
{
8939
 
dlopen ();
 
11140
return dlopen ();
8940
11141
  ;
8941
11142
  return 0;
8942
11143
}
8943
11144
_ACEOF
8944
11145
rm -f conftest.$ac_objext conftest$ac_exeext
8945
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8946
 
  (eval $ac_link) 2>conftest.er1
 
11146
if { (ac_try="$ac_link"
 
11147
case "(($ac_try" in
 
11148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11149
  *) ac_try_echo=$ac_try;;
 
11150
esac
 
11151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11152
  (eval "$ac_link") 2>conftest.er1
8947
11153
  ac_status=$?
8948
11154
  grep -v '^ *+' conftest.er1 >conftest.err
8949
11155
  rm -f conftest.er1
8950
11156
  cat conftest.err >&5
8951
11157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952
11158
  (exit $ac_status); } &&
8953
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955
 
  (eval $ac_try) 2>&5
 
11159
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11160
  { (case "(($ac_try" in
 
11161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11162
  *) ac_try_echo=$ac_try;;
 
11163
esac
 
11164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11165
  (eval "$ac_try") 2>&5
8956
11166
  ac_status=$?
8957
11167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958
11168
  (exit $ac_status); }; } &&
8959
11169
         { ac_try='test -s conftest$ac_exeext'
8960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961
 
  (eval $ac_try) 2>&5
 
11170
  { (case "(($ac_try" in
 
11171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11172
  *) ac_try_echo=$ac_try;;
 
11173
esac
 
11174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11175
  (eval "$ac_try") 2>&5
8962
11176
  ac_status=$?
8963
11177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964
11178
  (exit $ac_status); }; }; then
8967
11181
  echo "$as_me: failed program was:" >&5
8968
11182
sed 's/^/| /' conftest.$ac_ext >&5
8969
11183
 
8970
 
ac_cv_lib_svld_dlopen=no
 
11184
        ac_cv_lib_svld_dlopen=no
8971
11185
fi
8972
 
rm -f conftest.err conftest.$ac_objext \
 
11186
 
 
11187
rm -f core conftest.err conftest.$ac_objext \
8973
11188
      conftest$ac_exeext conftest.$ac_ext
8974
11189
LIBS=$ac_check_lib_save_LIBS
8975
11190
fi
8976
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8977
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
11191
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11192
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8978
11193
if test $ac_cv_lib_svld_dlopen = yes; then
8979
11194
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8980
11195
else
8981
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8982
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
11196
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11197
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8983
11198
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8984
11199
  echo $ECHO_N "(cached) $ECHO_C" >&6
8985
11200
else
8992
11207
cat >>conftest.$ac_ext <<_ACEOF
8993
11208
/* end confdefs.h.  */
8994
11209
 
8995
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11210
/* Override any GCC internal prototype to avoid an error.
 
11211
   Use char because int might match the return type of a GCC
 
11212
   builtin and then its argument prototype would still apply.  */
8996
11213
#ifdef __cplusplus
8997
11214
extern "C"
8998
11215
#endif
8999
 
/* We use char because int might match the return type of a gcc2
9000
 
   builtin and then its argument prototype would still apply.  */
9001
11216
char dld_link ();
9002
11217
int
9003
11218
main ()
9004
11219
{
9005
 
dld_link ();
 
11220
return dld_link ();
9006
11221
  ;
9007
11222
  return 0;
9008
11223
}
9009
11224
_ACEOF
9010
11225
rm -f conftest.$ac_objext conftest$ac_exeext
9011
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9012
 
  (eval $ac_link) 2>conftest.er1
 
11226
if { (ac_try="$ac_link"
 
11227
case "(($ac_try" in
 
11228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11229
  *) ac_try_echo=$ac_try;;
 
11230
esac
 
11231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11232
  (eval "$ac_link") 2>conftest.er1
9013
11233
  ac_status=$?
9014
11234
  grep -v '^ *+' conftest.er1 >conftest.err
9015
11235
  rm -f conftest.er1
9016
11236
  cat conftest.err >&5
9017
11237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018
11238
  (exit $ac_status); } &&
9019
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9020
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021
 
  (eval $ac_try) 2>&5
 
11239
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11240
  { (case "(($ac_try" in
 
11241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11242
  *) ac_try_echo=$ac_try;;
 
11243
esac
 
11244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11245
  (eval "$ac_try") 2>&5
9022
11246
  ac_status=$?
9023
11247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024
11248
  (exit $ac_status); }; } &&
9025
11249
         { ac_try='test -s conftest$ac_exeext'
9026
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027
 
  (eval $ac_try) 2>&5
 
11250
  { (case "(($ac_try" in
 
11251
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11252
  *) ac_try_echo=$ac_try;;
 
11253
esac
 
11254
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11255
  (eval "$ac_try") 2>&5
9028
11256
  ac_status=$?
9029
11257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030
11258
  (exit $ac_status); }; }; then
9033
11261
  echo "$as_me: failed program was:" >&5
9034
11262
sed 's/^/| /' conftest.$ac_ext >&5
9035
11263
 
9036
 
ac_cv_lib_dld_dld_link=no
 
11264
        ac_cv_lib_dld_dld_link=no
9037
11265
fi
9038
 
rm -f conftest.err conftest.$ac_objext \
 
11266
 
 
11267
rm -f core conftest.err conftest.$ac_objext \
9039
11268
      conftest$ac_exeext conftest.$ac_ext
9040
11269
LIBS=$ac_check_lib_save_LIBS
9041
11270
fi
9042
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9043
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
11271
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11272
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9044
11273
if test $ac_cv_lib_dld_dld_link = yes; then
9045
11274
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9046
11275
fi
9080
11309
    save_LIBS="$LIBS"
9081
11310
    LIBS="$lt_cv_dlopen_libs $LIBS"
9082
11311
 
9083
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9084
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
11312
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11313
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9085
11314
if test "${lt_cv_dlopen_self+set}" = set; then
9086
11315
  echo $ECHO_N "(cached) $ECHO_C" >&6
9087
11316
else
9091
11320
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9092
11321
  lt_status=$lt_dlunknown
9093
11322
  cat > conftest.$ac_ext <<EOF
9094
 
#line 9094 "configure"
 
11323
#line 11323 "configure"
9095
11324
#include "confdefs.h"
9096
11325
 
9097
11326
#if HAVE_DLFCN_H
9175
11404
 
9176
11405
 
9177
11406
fi
9178
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9179
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
11407
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11408
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9180
11409
 
9181
11410
    if test "x$lt_cv_dlopen_self" = xyes; then
9182
11411
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9183
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9184
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
11412
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11413
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9185
11414
if test "${lt_cv_dlopen_self_static+set}" = set; then
9186
11415
  echo $ECHO_N "(cached) $ECHO_C" >&6
9187
11416
else
9191
11420
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9192
11421
  lt_status=$lt_dlunknown
9193
11422
  cat > conftest.$ac_ext <<EOF
9194
 
#line 9194 "configure"
 
11423
#line 11423 "configure"
9195
11424
#include "confdefs.h"
9196
11425
 
9197
11426
#if HAVE_DLFCN_H
9275
11504
 
9276
11505
 
9277
11506
fi
9278
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9279
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
11507
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11508
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9280
11509
    fi
9281
11510
 
9282
11511
    CPPFLAGS="$save_CPPFLAGS"
9298
11527
 
9299
11528
 
9300
11529
# Report which library types will actually be built
9301
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9302
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9303
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9304
 
echo "${ECHO_T}$can_build_shared" >&6
 
11530
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11531
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
11532
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11533
echo "${ECHO_T}$can_build_shared" >&6; }
9305
11534
 
9306
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9307
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
11535
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11536
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9308
11537
test "$can_build_shared" = "no" && enable_shared=no
9309
11538
 
9310
11539
# On AIX, shared libraries and static libraries use the same namespace, and
9324
11553
  fi
9325
11554
    ;;
9326
11555
esac
9327
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9328
 
echo "${ECHO_T}$enable_shared" >&6
 
11556
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11557
echo "${ECHO_T}$enable_shared" >&6; }
9329
11558
 
9330
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9331
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
11559
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11560
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9332
11561
# Make sure either enable_shared or enable_static is yes.
9333
11562
test "$enable_shared" = yes || enable_static=yes
9334
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9335
 
echo "${ECHO_T}$enable_static" >&6
 
11563
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
11564
echo "${ECHO_T}$enable_static" >&6; }
9336
11565
 
9337
11566
# The else clause should only fire when bootstrapping the
9338
11567
# libtool distribution, otherwise you forgot to ship ltmain.sh
9824
12053
CC="$lt_save_CC"
9825
12054
 
9826
12055
 
9827
 
# Check whether --with-tags or --without-tags was given.
 
12056
# Check whether --with-tags was given.
9828
12057
if test "${with_tags+set}" = set; then
9829
 
  withval="$with_tags"
9830
 
  tagnames="$withval"
9831
 
fi;
 
12058
  withval=$with_tags; tagnames="$withval"
 
12059
fi
 
12060
 
9832
12061
 
9833
12062
if test -f "$ltmain" && test -n "$tagnames"; then
9834
12063
  if test ! -f "${ofile}"; then
9882
12111
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9883
12112
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9884
12113
            (test "X$CXX" != "Xg++"))) ; then
9885
 
          ac_ext=cc
 
12114
          ac_ext=cpp
9886
12115
ac_cpp='$CXXCPP $CPPFLAGS'
9887
12116
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9888
12117
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10001
12230
  # Set up default GNU C++ configuration
10002
12231
 
10003
12232
 
10004
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
12233
# Check whether --with-gnu-ld was given.
10005
12234
if test "${with_gnu_ld+set}" = set; then
10006
 
  withval="$with_gnu_ld"
10007
 
  test "$withval" = no || with_gnu_ld=yes
 
12235
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10008
12236
else
10009
12237
  with_gnu_ld=no
10010
 
fi;
 
12238
fi
 
12239
 
10011
12240
ac_prog=ld
10012
12241
if test "$GCC" = yes; then
10013
12242
  # Check if gcc -print-prog-name=ld gives a path.
10014
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10015
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
12243
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
12244
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10016
12245
  case $host in
10017
12246
  *-*-mingw*)
10018
12247
    # gcc leaves a trailing carriage return which upsets mingw
10041
12270
    ;;
10042
12271
  esac
10043
12272
elif test "$with_gnu_ld" = yes; then
10044
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10045
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
12273
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
12274
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10046
12275
else
10047
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10048
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
12276
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
12277
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10049
12278
fi
10050
12279
if test "${lt_cv_path_LD+set}" = set; then
10051
12280
  echo $ECHO_N "(cached) $ECHO_C" >&6
10078
12307
 
10079
12308
LD="$lt_cv_path_LD"
10080
12309
if test -n "$LD"; then
10081
 
  echo "$as_me:$LINENO: result: $LD" >&5
10082
 
echo "${ECHO_T}$LD" >&6
 
12310
  { echo "$as_me:$LINENO: result: $LD" >&5
 
12311
echo "${ECHO_T}$LD" >&6; }
10083
12312
else
10084
 
  echo "$as_me:$LINENO: result: no" >&5
10085
 
echo "${ECHO_T}no" >&6
 
12313
  { echo "$as_me:$LINENO: result: no" >&5
 
12314
echo "${ECHO_T}no" >&6; }
10086
12315
fi
10087
12316
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10088
12317
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10089
12318
   { (exit 1); exit 1; }; }
10090
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10091
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
12319
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
12320
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10092
12321
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10093
12322
  echo $ECHO_N "(cached) $ECHO_C" >&6
10094
12323
else
10102
12331
  ;;
10103
12332
esac
10104
12333
fi
10105
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10106
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
12334
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
12335
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10107
12336
with_gnu_ld=$lt_cv_prog_gnu_ld
10108
12337
 
10109
12338
 
10153
12382
fi
10154
12383
 
10155
12384
# PORTME: fill in a description of your system's C++ link characteristics
10156
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10157
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12385
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12386
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10158
12387
ld_shlibs_CXX=yes
10159
12388
case $host_os in
10160
12389
  aix3*)
10266
12495
}
10267
12496
_ACEOF
10268
12497
rm -f conftest.$ac_objext conftest$ac_exeext
10269
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10270
 
  (eval $ac_link) 2>conftest.er1
 
12498
if { (ac_try="$ac_link"
 
12499
case "(($ac_try" in
 
12500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12501
  *) ac_try_echo=$ac_try;;
 
12502
esac
 
12503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12504
  (eval "$ac_link") 2>conftest.er1
10271
12505
  ac_status=$?
10272
12506
  grep -v '^ *+' conftest.er1 >conftest.err
10273
12507
  rm -f conftest.er1
10274
12508
  cat conftest.err >&5
10275
12509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276
12510
  (exit $ac_status); } &&
10277
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10278
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10279
 
  (eval $ac_try) 2>&5
 
12511
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
12512
  { (case "(($ac_try" in
 
12513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12514
  *) ac_try_echo=$ac_try;;
 
12515
esac
 
12516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12517
  (eval "$ac_try") 2>&5
10280
12518
  ac_status=$?
10281
12519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282
12520
  (exit $ac_status); }; } &&
10283
12521
         { ac_try='test -s conftest$ac_exeext'
10284
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285
 
  (eval $ac_try) 2>&5
 
12522
  { (case "(($ac_try" in
 
12523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12524
  *) ac_try_echo=$ac_try;;
 
12525
esac
 
12526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12527
  (eval "$ac_try") 2>&5
10286
12528
  ac_status=$?
10287
12529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288
12530
  (exit $ac_status); }; }; then
10296
12538
  echo "$as_me: failed program was:" >&5
10297
12539
sed 's/^/| /' conftest.$ac_ext >&5
10298
12540
 
 
12541
 
10299
12542
fi
10300
 
rm -f conftest.err conftest.$ac_objext \
 
12543
 
 
12544
rm -f core conftest.err conftest.$ac_objext \
10301
12545
      conftest$ac_exeext conftest.$ac_ext
10302
12546
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10303
12547
 
10327
12571
}
10328
12572
_ACEOF
10329
12573
rm -f conftest.$ac_objext conftest$ac_exeext
10330
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10331
 
  (eval $ac_link) 2>conftest.er1
 
12574
if { (ac_try="$ac_link"
 
12575
case "(($ac_try" in
 
12576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12577
  *) ac_try_echo=$ac_try;;
 
12578
esac
 
12579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12580
  (eval "$ac_link") 2>conftest.er1
10332
12581
  ac_status=$?
10333
12582
  grep -v '^ *+' conftest.er1 >conftest.err
10334
12583
  rm -f conftest.er1
10335
12584
  cat conftest.err >&5
10336
12585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337
12586
  (exit $ac_status); } &&
10338
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10339
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340
 
  (eval $ac_try) 2>&5
 
12587
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
12588
  { (case "(($ac_try" in
 
12589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12590
  *) ac_try_echo=$ac_try;;
 
12591
esac
 
12592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12593
  (eval "$ac_try") 2>&5
10341
12594
  ac_status=$?
10342
12595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343
12596
  (exit $ac_status); }; } &&
10344
12597
         { ac_try='test -s conftest$ac_exeext'
10345
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10346
 
  (eval $ac_try) 2>&5
 
12598
  { (case "(($ac_try" in
 
12599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12600
  *) ac_try_echo=$ac_try;;
 
12601
esac
 
12602
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12603
  (eval "$ac_try") 2>&5
10347
12604
  ac_status=$?
10348
12605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349
12606
  (exit $ac_status); }; }; then
10357
12614
  echo "$as_me: failed program was:" >&5
10358
12615
sed 's/^/| /' conftest.$ac_ext >&5
10359
12616
 
 
12617
 
10360
12618
fi
10361
 
rm -f conftest.err conftest.$ac_objext \
 
12619
 
 
12620
rm -f core conftest.err conftest.$ac_objext \
10362
12621
      conftest$ac_exeext conftest.$ac_ext
10363
12622
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10364
12623
 
10506
12765
  freebsd-elf*)
10507
12766
    archive_cmds_need_lc_CXX=no
10508
12767
    ;;
10509
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
12768
  freebsd* | dragonfly*)
10510
12769
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10511
12770
    # conventions
10512
12771
    ld_shlibs_CXX=yes
10665
12924
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10666
12925
    hardcode_libdir_separator_CXX=:
10667
12926
    ;;
10668
 
  linux*)
 
12927
  linux* | k*bsd*-gnu)
10669
12928
    case $cc_basename in
10670
12929
      KCC*)
10671
12930
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10767
13026
        ;;
10768
13027
    esac
10769
13028
    ;;
10770
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
13029
  netbsd* | netbsdelf*-gnu)
10771
13030
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10772
13031
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10773
13032
      wlarc=
11089
13348
    ld_shlibs_CXX=no
11090
13349
    ;;
11091
13350
esac
11092
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11093
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13351
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13352
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11094
13353
test "$ld_shlibs_CXX" = no && can_build_shared=no
11095
13354
 
11096
13355
GCC_CXX="$GXX"
11229
13488
lt_prog_compiler_pic_CXX=
11230
13489
lt_prog_compiler_static_CXX=
11231
13490
 
11232
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11233
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
13491
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13492
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11234
13493
 
11235
13494
  # C++ specific cases for pic, static, wl, etc.
11236
13495
  if test "$GXX" = yes; then
11334
13593
            ;;
11335
13594
        esac
11336
13595
        ;;
11337
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
13596
      freebsd* | dragonfly*)
11338
13597
        # FreeBSD uses GNU C++
11339
13598
        ;;
11340
13599
      hpux9* | hpux10* | hpux11*)
11377
13636
            ;;
11378
13637
        esac
11379
13638
        ;;
11380
 
      linux*)
 
13639
      linux* | k*bsd*-gnu)
11381
13640
        case $cc_basename in
11382
13641
          KCC*)
11383
13642
            # KAI C++ Compiler
11420
13679
            ;;
11421
13680
        esac
11422
13681
        ;;
11423
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
13682
      netbsd* | netbsdelf*-gnu)
11424
13683
        ;;
11425
13684
      osf3* | osf4* | osf5*)
11426
13685
        case $cc_basename in
11503
13762
    esac
11504
13763
  fi
11505
13764
 
11506
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11507
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
13765
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13766
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11508
13767
 
11509
13768
#
11510
13769
# Check to make sure the PIC flag actually works.
11511
13770
#
11512
13771
if test -n "$lt_prog_compiler_pic_CXX"; then
11513
13772
 
11514
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11515
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
13773
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13774
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11516
13775
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11517
13776
  echo $ECHO_N "(cached) $ECHO_C" >&6
11518
13777
else
11529
13788
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11530
13789
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11531
13790
   -e 's:$: $lt_compiler_flag:'`
11532
 
   (eval echo "\"\$as_me:11532: $lt_compile\"" >&5)
 
13791
   (eval echo "\"\$as_me:13791: $lt_compile\"" >&5)
11533
13792
   (eval "$lt_compile" 2>conftest.err)
11534
13793
   ac_status=$?
11535
13794
   cat conftest.err >&5
11536
 
   echo "$as_me:11536: \$? = $ac_status" >&5
 
13795
   echo "$as_me:13795: \$? = $ac_status" >&5
11537
13796
   if (exit $ac_status) && test -s "$ac_outfile"; then
11538
13797
     # The compiler can only warn and ignore the option if not recognized
11539
13798
     # So say no if there are warnings other than the usual output.
11546
13805
   $rm conftest*
11547
13806
 
11548
13807
fi
11549
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11550
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
13808
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
13809
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11551
13810
 
11552
13811
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11553
13812
    case $lt_prog_compiler_pic_CXX in
11574
13833
# Check to make sure the static flag actually works.
11575
13834
#
11576
13835
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11577
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11578
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
13836
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13837
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11579
13838
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11580
13839
  echo $ECHO_N "(cached) $ECHO_C" >&6
11581
13840
else
11602
13861
   LDFLAGS="$save_LDFLAGS"
11603
13862
 
11604
13863
fi
11605
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11606
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
13864
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
13865
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11607
13866
 
11608
13867
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11609
13868
    :
11612
13871
fi
11613
13872
 
11614
13873
 
11615
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11616
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13874
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13875
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11617
13876
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11618
13877
  echo $ECHO_N "(cached) $ECHO_C" >&6
11619
13878
else
11633
13892
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11634
13893
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11635
13894
   -e 's:$: $lt_compiler_flag:'`
11636
 
   (eval echo "\"\$as_me:11636: $lt_compile\"" >&5)
 
13895
   (eval echo "\"\$as_me:13895: $lt_compile\"" >&5)
11637
13896
   (eval "$lt_compile" 2>out/conftest.err)
11638
13897
   ac_status=$?
11639
13898
   cat out/conftest.err >&5
11640
 
   echo "$as_me:11640: \$? = $ac_status" >&5
 
13899
   echo "$as_me:13899: \$? = $ac_status" >&5
11641
13900
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11642
13901
   then
11643
13902
     # The compiler can only warn and ignore the option if not recognized
11659
13918
   $rm conftest*
11660
13919
 
11661
13920
fi
11662
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11663
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13921
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13922
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11664
13923
 
11665
13924
 
11666
13925
hard_links="nottested"
11667
13926
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11668
13927
  # do not overwrite the value of need_locks provided by the user
11669
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11670
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13928
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13929
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11671
13930
  hard_links=yes
11672
13931
  $rm conftest*
11673
13932
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11674
13933
  touch conftest.a
11675
13934
  ln conftest.a conftest.b 2>&5 || hard_links=no
11676
13935
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11677
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11678
 
echo "${ECHO_T}$hard_links" >&6
 
13936
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13937
echo "${ECHO_T}$hard_links" >&6; }
11679
13938
  if test "$hard_links" = no; then
11680
13939
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11681
13940
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11685
13944
  need_locks=no
11686
13945
fi
11687
13946
 
11688
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11689
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13947
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13948
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11690
13949
 
11691
13950
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11692
13951
  case $host_os in
11705
13964
  cygwin* | mingw*)
11706
13965
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11707
13966
  ;;
11708
 
  kfreebsd*-gnu)
11709
 
    link_all_deplibs_CXX=no
11710
 
  ;;
11711
 
  linux*)
 
13967
  linux* | k*bsd*-gnu)
11712
13968
    link_all_deplibs_CXX=no
11713
13969
  ;;
11714
13970
  *)
11716
13972
  ;;
11717
13973
  esac
11718
13974
 
11719
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11720
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13975
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13976
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11721
13977
test "$ld_shlibs_CXX" = no && can_build_shared=no
11722
13978
 
11723
13979
#
11737
13993
      # Test whether the compiler implicitly links with -lc since on some
11738
13994
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11739
13995
      # to ld, don't add -lc before -lgcc.
11740
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11741
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13996
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13997
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11742
13998
      $rm conftest*
11743
13999
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11744
14000
 
11775
14031
        cat conftest.err 1>&5
11776
14032
      fi
11777
14033
      $rm conftest*
11778
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11779
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
14034
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14035
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11780
14036
      ;;
11781
14037
    esac
11782
14038
  fi
11783
14039
  ;;
11784
14040
esac
11785
14041
 
11786
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11787
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
14042
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14043
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11788
14044
library_names_spec=
11789
14045
libname_spec='lib$name'
11790
14046
soname_spec=
11990
14246
  dynamic_linker=no
11991
14247
  ;;
11992
14248
 
11993
 
kfreebsd*-gnu)
11994
 
  version_type=linux
11995
 
  need_lib_prefix=no
11996
 
  need_version=no
11997
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11998
 
  soname_spec='${libname}${release}${shared_ext}$major'
11999
 
  shlibpath_var=LD_LIBRARY_PATH
12000
 
  shlibpath_overrides_runpath=no
12001
 
  hardcode_into_libs=yes
12002
 
  dynamic_linker='GNU ld.so'
12003
 
  ;;
12004
 
 
12005
14249
freebsd* | dragonfly*)
12006
14250
  # DragonFly does not have aout.  When/if they implement a new
12007
14251
  # versioning mechanism, adjust this.
12157
14401
  ;;
12158
14402
 
12159
14403
# This must be Linux ELF.
12160
 
linux*)
 
14404
linux* | k*bsd*-gnu)
12161
14405
  version_type=linux
12162
14406
  need_lib_prefix=no
12163
14407
  need_version=no
12198
14442
  dynamic_linker='NetBSD ld.elf_so'
12199
14443
  ;;
12200
14444
 
12201
 
knetbsd*-gnu)
12202
 
  version_type=linux
12203
 
  need_lib_prefix=no
12204
 
  need_version=no
12205
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12206
 
  soname_spec='${libname}${release}${shared_ext}$major'
12207
 
  shlibpath_var=LD_LIBRARY_PATH
12208
 
  shlibpath_overrides_runpath=no
12209
 
  hardcode_into_libs=yes
12210
 
  dynamic_linker='GNU ld.so'
12211
 
  ;;
12212
 
 
12213
14445
netbsd*)
12214
14446
  version_type=sunos
12215
14447
  need_lib_prefix=no
12383
14615
  dynamic_linker=no
12384
14616
  ;;
12385
14617
esac
12386
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12387
 
echo "${ECHO_T}$dynamic_linker" >&6
 
14618
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14619
echo "${ECHO_T}$dynamic_linker" >&6; }
12388
14620
test "$dynamic_linker" = no && can_build_shared=no
12389
14621
 
12390
14622
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12392
14624
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12393
14625
fi
12394
14626
 
12395
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12396
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
14627
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14628
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12397
14629
hardcode_action_CXX=
12398
14630
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12399
14631
   test -n "$runpath_var_CXX" || \
12417
14649
  # directories.
12418
14650
  hardcode_action_CXX=unsupported
12419
14651
fi
12420
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12421
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
14652
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
14653
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12422
14654
 
12423
14655
if test "$hardcode_action_CXX" = relink; then
12424
14656
  # Fast installation is not supported
12943
15175
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12944
15176
 
12945
15177
 
12946
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12947
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12948
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12949
 
echo "${ECHO_T}$can_build_shared" >&6
 
15178
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
15179
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
15180
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
15181
echo "${ECHO_T}$can_build_shared" >&6; }
12950
15182
 
12951
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12952
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
15183
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
15184
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12953
15185
test "$can_build_shared" = "no" && enable_shared=no
12954
15186
 
12955
15187
# On AIX, shared libraries and static libraries use the same namespace, and
12968
15200
  fi
12969
15201
  ;;
12970
15202
esac
12971
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12972
 
echo "${ECHO_T}$enable_shared" >&6
 
15203
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
15204
echo "${ECHO_T}$enable_shared" >&6; }
12973
15205
 
12974
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12975
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
15206
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
15207
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12976
15208
# Make sure either enable_shared or enable_static is yes.
12977
15209
test "$enable_shared" = yes || enable_static=yes
12978
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12979
 
echo "${ECHO_T}$enable_static" >&6
 
15210
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
15211
echo "${ECHO_T}$enable_static" >&6; }
12980
15212
 
12981
15213
GCC_F77="$G77"
12982
15214
LD_F77="$LD"
12985
15217
lt_prog_compiler_pic_F77=
12986
15218
lt_prog_compiler_static_F77=
12987
15219
 
12988
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12989
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
15220
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15221
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12990
15222
 
12991
15223
  if test "$GCC" = yes; then
12992
15224
    lt_prog_compiler_wl_F77='-Wl,'
13115
15347
      lt_prog_compiler_static_F77='-Bstatic'
13116
15348
      ;;
13117
15349
 
13118
 
    linux*)
 
15350
    linux* | k*bsd*-gnu)
13119
15351
      case $cc_basename in
13120
15352
      icc* | ecc*)
13121
15353
        lt_prog_compiler_wl_F77='-Wl,'
13195
15427
    esac
13196
15428
  fi
13197
15429
 
13198
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13199
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
15430
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
15431
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13200
15432
 
13201
15433
#
13202
15434
# Check to make sure the PIC flag actually works.
13203
15435
#
13204
15436
if test -n "$lt_prog_compiler_pic_F77"; then
13205
15437
 
13206
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13207
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
15438
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
15439
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13208
15440
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13209
15441
  echo $ECHO_N "(cached) $ECHO_C" >&6
13210
15442
else
13221
15453
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13222
15454
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13223
15455
   -e 's:$: $lt_compiler_flag:'`
13224
 
   (eval echo "\"\$as_me:13224: $lt_compile\"" >&5)
 
15456
   (eval echo "\"\$as_me:15456: $lt_compile\"" >&5)
13225
15457
   (eval "$lt_compile" 2>conftest.err)
13226
15458
   ac_status=$?
13227
15459
   cat conftest.err >&5
13228
 
   echo "$as_me:13228: \$? = $ac_status" >&5
 
15460
   echo "$as_me:15460: \$? = $ac_status" >&5
13229
15461
   if (exit $ac_status) && test -s "$ac_outfile"; then
13230
15462
     # The compiler can only warn and ignore the option if not recognized
13231
15463
     # So say no if there are warnings other than the usual output.
13238
15470
   $rm conftest*
13239
15471
 
13240
15472
fi
13241
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13242
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
15473
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
15474
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13243
15475
 
13244
15476
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13245
15477
    case $lt_prog_compiler_pic_F77 in
13266
15498
# Check to make sure the static flag actually works.
13267
15499
#
13268
15500
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13269
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13270
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
15501
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15502
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13271
15503
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13272
15504
  echo $ECHO_N "(cached) $ECHO_C" >&6
13273
15505
else
13294
15526
   LDFLAGS="$save_LDFLAGS"
13295
15527
 
13296
15528
fi
13297
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13298
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
15529
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
15530
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13299
15531
 
13300
15532
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13301
15533
    :
13304
15536
fi
13305
15537
 
13306
15538
 
13307
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13308
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
15539
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15540
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13309
15541
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13310
15542
  echo $ECHO_N "(cached) $ECHO_C" >&6
13311
15543
else
13325
15557
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13326
15558
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13327
15559
   -e 's:$: $lt_compiler_flag:'`
13328
 
   (eval echo "\"\$as_me:13328: $lt_compile\"" >&5)
 
15560
   (eval echo "\"\$as_me:15560: $lt_compile\"" >&5)
13329
15561
   (eval "$lt_compile" 2>out/conftest.err)
13330
15562
   ac_status=$?
13331
15563
   cat out/conftest.err >&5
13332
 
   echo "$as_me:13332: \$? = $ac_status" >&5
 
15564
   echo "$as_me:15564: \$? = $ac_status" >&5
13333
15565
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13334
15566
   then
13335
15567
     # The compiler can only warn and ignore the option if not recognized
13351
15583
   $rm conftest*
13352
15584
 
13353
15585
fi
13354
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13355
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
15586
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
15587
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13356
15588
 
13357
15589
 
13358
15590
hard_links="nottested"
13359
15591
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13360
15592
  # do not overwrite the value of need_locks provided by the user
13361
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13362
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
15593
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15594
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13363
15595
  hard_links=yes
13364
15596
  $rm conftest*
13365
15597
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13366
15598
  touch conftest.a
13367
15599
  ln conftest.a conftest.b 2>&5 || hard_links=no
13368
15600
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13369
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13370
 
echo "${ECHO_T}$hard_links" >&6
 
15601
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
15602
echo "${ECHO_T}$hard_links" >&6; }
13371
15603
  if test "$hard_links" = no; then
13372
15604
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13373
15605
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13377
15609
  need_locks=no
13378
15610
fi
13379
15611
 
13380
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13381
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
15612
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15613
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13382
15614
 
13383
15615
  runpath_var=
13384
15616
  allow_undefined_flag_F77=
13554
15786
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13555
15787
      ;;
13556
15788
 
13557
 
    linux*)
 
15789
    linux* | k*bsd*-gnu)
13558
15790
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13559
15791
        tmp_addflag=
13560
15792
        case $cc_basename,$host_cpu in
13586
15818
      fi
13587
15819
      ;;
13588
15820
 
13589
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15821
    netbsd* | netbsdelf*-gnu)
13590
15822
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13591
15823
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13592
15824
        wlarc=
13784
16016
      end
13785
16017
_ACEOF
13786
16018
rm -f conftest.$ac_objext conftest$ac_exeext
13787
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13788
 
  (eval $ac_link) 2>conftest.er1
 
16019
if { (ac_try="$ac_link"
 
16020
case "(($ac_try" in
 
16021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16022
  *) ac_try_echo=$ac_try;;
 
16023
esac
 
16024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16025
  (eval "$ac_link") 2>conftest.er1
13789
16026
  ac_status=$?
13790
16027
  grep -v '^ *+' conftest.er1 >conftest.err
13791
16028
  rm -f conftest.er1
13792
16029
  cat conftest.err >&5
13793
16030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794
16031
  (exit $ac_status); } &&
13795
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797
 
  (eval $ac_try) 2>&5
 
16032
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
16033
  { (case "(($ac_try" in
 
16034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16035
  *) ac_try_echo=$ac_try;;
 
16036
esac
 
16037
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16038
  (eval "$ac_try") 2>&5
13798
16039
  ac_status=$?
13799
16040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800
16041
  (exit $ac_status); }; } &&
13801
16042
         { ac_try='test -s conftest$ac_exeext'
13802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803
 
  (eval $ac_try) 2>&5
 
16043
  { (case "(($ac_try" in
 
16044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16045
  *) ac_try_echo=$ac_try;;
 
16046
esac
 
16047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16048
  (eval "$ac_try") 2>&5
13804
16049
  ac_status=$?
13805
16050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806
16051
  (exit $ac_status); }; }; then
13814
16059
  echo "$as_me: failed program was:" >&5
13815
16060
sed 's/^/| /' conftest.$ac_ext >&5
13816
16061
 
 
16062
 
13817
16063
fi
13818
 
rm -f conftest.err conftest.$ac_objext \
 
16064
 
 
16065
rm -f core conftest.err conftest.$ac_objext \
13819
16066
      conftest$ac_exeext conftest.$ac_ext
13820
16067
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13821
16068
 
13834
16081
      end
13835
16082
_ACEOF
13836
16083
rm -f conftest.$ac_objext conftest$ac_exeext
13837
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13838
 
  (eval $ac_link) 2>conftest.er1
 
16084
if { (ac_try="$ac_link"
 
16085
case "(($ac_try" in
 
16086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16087
  *) ac_try_echo=$ac_try;;
 
16088
esac
 
16089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16090
  (eval "$ac_link") 2>conftest.er1
13839
16091
  ac_status=$?
13840
16092
  grep -v '^ *+' conftest.er1 >conftest.err
13841
16093
  rm -f conftest.er1
13842
16094
  cat conftest.err >&5
13843
16095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844
16096
  (exit $ac_status); } &&
13845
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847
 
  (eval $ac_try) 2>&5
 
16097
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
16098
  { (case "(($ac_try" in
 
16099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16100
  *) ac_try_echo=$ac_try;;
 
16101
esac
 
16102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16103
  (eval "$ac_try") 2>&5
13848
16104
  ac_status=$?
13849
16105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850
16106
  (exit $ac_status); }; } &&
13851
16107
         { ac_try='test -s conftest$ac_exeext'
13852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853
 
  (eval $ac_try) 2>&5
 
16108
  { (case "(($ac_try" in
 
16109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16110
  *) ac_try_echo=$ac_try;;
 
16111
esac
 
16112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16113
  (eval "$ac_try") 2>&5
13854
16114
  ac_status=$?
13855
16115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856
16116
  (exit $ac_status); }; }; then
13864
16124
  echo "$as_me: failed program was:" >&5
13865
16125
sed 's/^/| /' conftest.$ac_ext >&5
13866
16126
 
 
16127
 
13867
16128
fi
13868
 
rm -f conftest.err conftest.$ac_objext \
 
16129
 
 
16130
rm -f core conftest.err conftest.$ac_objext \
13869
16131
      conftest$ac_exeext conftest.$ac_ext
13870
16132
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13871
16133
 
14003
16265
      hardcode_shlibpath_var_F77=no
14004
16266
      ;;
14005
16267
 
14006
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
14007
 
    kfreebsd*-gnu)
14008
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14009
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14010
 
      hardcode_direct_F77=yes
14011
 
      hardcode_shlibpath_var_F77=no
14012
 
      link_all_deplibs_F77=no
14013
 
      ;;
14014
 
 
14015
16268
    hpux9*)
14016
16269
      if test "$GCC" = yes; then
14017
16270
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14107
16360
      link_all_deplibs_F77=yes
14108
16361
      ;;
14109
16362
 
14110
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
16363
    netbsd* | netbsdelf*-gnu)
14111
16364
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14112
16365
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14113
16366
      else
14323
16576
    esac
14324
16577
  fi
14325
16578
 
14326
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14327
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
16579
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
16580
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14328
16581
test "$ld_shlibs_F77" = no && can_build_shared=no
14329
16582
 
14330
16583
#
14344
16597
      # Test whether the compiler implicitly links with -lc since on some
14345
16598
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14346
16599
      # to ld, don't add -lc before -lgcc.
14347
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14348
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
16600
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
16601
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14349
16602
      $rm conftest*
14350
16603
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14351
16604
 
14382
16635
        cat conftest.err 1>&5
14383
16636
      fi
14384
16637
      $rm conftest*
14385
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14386
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
16638
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
16639
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14387
16640
      ;;
14388
16641
    esac
14389
16642
  fi
14390
16643
  ;;
14391
16644
esac
14392
16645
 
14393
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14394
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
16646
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16647
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14395
16648
library_names_spec=
14396
16649
libname_spec='lib$name'
14397
16650
soname_spec=
14597
16850
  dynamic_linker=no
14598
16851
  ;;
14599
16852
 
14600
 
kfreebsd*-gnu)
14601
 
  version_type=linux
14602
 
  need_lib_prefix=no
14603
 
  need_version=no
14604
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14605
 
  soname_spec='${libname}${release}${shared_ext}$major'
14606
 
  shlibpath_var=LD_LIBRARY_PATH
14607
 
  shlibpath_overrides_runpath=no
14608
 
  hardcode_into_libs=yes
14609
 
  dynamic_linker='GNU ld.so'
14610
 
  ;;
14611
 
 
14612
16853
freebsd* | dragonfly*)
14613
16854
  # DragonFly does not have aout.  When/if they implement a new
14614
16855
  # versioning mechanism, adjust this.
14764
17005
  ;;
14765
17006
 
14766
17007
# This must be Linux ELF.
14767
 
linux*)
 
17008
linux* | k*bsd*-gnu)
14768
17009
  version_type=linux
14769
17010
  need_lib_prefix=no
14770
17011
  need_version=no
14805
17046
  dynamic_linker='NetBSD ld.elf_so'
14806
17047
  ;;
14807
17048
 
14808
 
knetbsd*-gnu)
14809
 
  version_type=linux
14810
 
  need_lib_prefix=no
14811
 
  need_version=no
14812
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14813
 
  soname_spec='${libname}${release}${shared_ext}$major'
14814
 
  shlibpath_var=LD_LIBRARY_PATH
14815
 
  shlibpath_overrides_runpath=no
14816
 
  hardcode_into_libs=yes
14817
 
  dynamic_linker='GNU ld.so'
14818
 
  ;;
14819
 
 
14820
17049
netbsd*)
14821
17050
  version_type=sunos
14822
17051
  need_lib_prefix=no
14990
17219
  dynamic_linker=no
14991
17220
  ;;
14992
17221
esac
14993
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14994
 
echo "${ECHO_T}$dynamic_linker" >&6
 
17222
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
17223
echo "${ECHO_T}$dynamic_linker" >&6; }
14995
17224
test "$dynamic_linker" = no && can_build_shared=no
14996
17225
 
14997
17226
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14999
17228
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15000
17229
fi
15001
17230
 
15002
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15003
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
17231
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17232
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15004
17233
hardcode_action_F77=
15005
17234
if test -n "$hardcode_libdir_flag_spec_F77" || \
15006
17235
   test -n "$runpath_var_F77" || \
15024
17253
  # directories.
15025
17254
  hardcode_action_F77=unsupported
15026
17255
fi
15027
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15028
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
17256
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
17257
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15029
17258
 
15030
17259
if test "$hardcode_action_F77" = relink; then
15031
17260
  # Fast installation is not supported
15462
17691
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15463
17692
 
15464
17693
 
15465
 
 
15466
17694
# Source file extension for Java test sources.
15467
17695
ac_ext=java
15468
17696
 
15530
17758
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15531
17759
 
15532
17760
 
15533
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15534
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
17761
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17762
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15535
17763
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15536
17764
  echo $ECHO_N "(cached) $ECHO_C" >&6
15537
17765
else
15548
17776
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15549
17777
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15550
17778
   -e 's:$: $lt_compiler_flag:'`
15551
 
   (eval echo "\"\$as_me:15551: $lt_compile\"" >&5)
 
17779
   (eval echo "\"\$as_me:17779: $lt_compile\"" >&5)
15552
17780
   (eval "$lt_compile" 2>conftest.err)
15553
17781
   ac_status=$?
15554
17782
   cat conftest.err >&5
15555
 
   echo "$as_me:15555: \$? = $ac_status" >&5
 
17783
   echo "$as_me:17783: \$? = $ac_status" >&5
15556
17784
   if (exit $ac_status) && test -s "$ac_outfile"; then
15557
17785
     # The compiler can only warn and ignore the option if not recognized
15558
17786
     # So say no if there are warnings other than the usual output.
15565
17793
   $rm conftest*
15566
17794
 
15567
17795
fi
15568
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15569
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
17796
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17797
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15570
17798
 
15571
17799
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15572
17800
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15580
17808
lt_prog_compiler_pic_GCJ=
15581
17809
lt_prog_compiler_static_GCJ=
15582
17810
 
15583
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15584
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17811
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17812
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15585
17813
 
15586
17814
  if test "$GCC" = yes; then
15587
17815
    lt_prog_compiler_wl_GCJ='-Wl,'
15710
17938
      lt_prog_compiler_static_GCJ='-Bstatic'
15711
17939
      ;;
15712
17940
 
15713
 
    linux*)
 
17941
    linux* | k*bsd*-gnu)
15714
17942
      case $cc_basename in
15715
17943
      icc* | ecc*)
15716
17944
        lt_prog_compiler_wl_GCJ='-Wl,'
15790
18018
    esac
15791
18019
  fi
15792
18020
 
15793
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15794
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
18021
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
18022
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15795
18023
 
15796
18024
#
15797
18025
# Check to make sure the PIC flag actually works.
15798
18026
#
15799
18027
if test -n "$lt_prog_compiler_pic_GCJ"; then
15800
18028
 
15801
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15802
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
18029
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
18030
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15803
18031
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15804
18032
  echo $ECHO_N "(cached) $ECHO_C" >&6
15805
18033
else
15816
18044
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15817
18045
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15818
18046
   -e 's:$: $lt_compiler_flag:'`
15819
 
   (eval echo "\"\$as_me:15819: $lt_compile\"" >&5)
 
18047
   (eval echo "\"\$as_me:18047: $lt_compile\"" >&5)
15820
18048
   (eval "$lt_compile" 2>conftest.err)
15821
18049
   ac_status=$?
15822
18050
   cat conftest.err >&5
15823
 
   echo "$as_me:15823: \$? = $ac_status" >&5
 
18051
   echo "$as_me:18051: \$? = $ac_status" >&5
15824
18052
   if (exit $ac_status) && test -s "$ac_outfile"; then
15825
18053
     # The compiler can only warn and ignore the option if not recognized
15826
18054
     # So say no if there are warnings other than the usual output.
15833
18061
   $rm conftest*
15834
18062
 
15835
18063
fi
15836
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15837
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
18064
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
18065
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15838
18066
 
15839
18067
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15840
18068
    case $lt_prog_compiler_pic_GCJ in
15861
18089
# Check to make sure the static flag actually works.
15862
18090
#
15863
18091
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15864
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15865
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
18092
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
18093
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15866
18094
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15867
18095
  echo $ECHO_N "(cached) $ECHO_C" >&6
15868
18096
else
15889
18117
   LDFLAGS="$save_LDFLAGS"
15890
18118
 
15891
18119
fi
15892
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15893
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
18120
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
18121
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
15894
18122
 
15895
18123
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15896
18124
    :
15899
18127
fi
15900
18128
 
15901
18129
 
15902
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15903
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
18130
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
18131
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15904
18132
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15905
18133
  echo $ECHO_N "(cached) $ECHO_C" >&6
15906
18134
else
15920
18148
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15921
18149
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15922
18150
   -e 's:$: $lt_compiler_flag:'`
15923
 
   (eval echo "\"\$as_me:15923: $lt_compile\"" >&5)
 
18151
   (eval echo "\"\$as_me:18151: $lt_compile\"" >&5)
15924
18152
   (eval "$lt_compile" 2>out/conftest.err)
15925
18153
   ac_status=$?
15926
18154
   cat out/conftest.err >&5
15927
 
   echo "$as_me:15927: \$? = $ac_status" >&5
 
18155
   echo "$as_me:18155: \$? = $ac_status" >&5
15928
18156
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15929
18157
   then
15930
18158
     # The compiler can only warn and ignore the option if not recognized
15946
18174
   $rm conftest*
15947
18175
 
15948
18176
fi
15949
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15950
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
18177
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
18178
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15951
18179
 
15952
18180
 
15953
18181
hard_links="nottested"
15954
18182
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15955
18183
  # do not overwrite the value of need_locks provided by the user
15956
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15957
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
18184
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
18185
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15958
18186
  hard_links=yes
15959
18187
  $rm conftest*
15960
18188
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15961
18189
  touch conftest.a
15962
18190
  ln conftest.a conftest.b 2>&5 || hard_links=no
15963
18191
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15964
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15965
 
echo "${ECHO_T}$hard_links" >&6
 
18192
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
18193
echo "${ECHO_T}$hard_links" >&6; }
15966
18194
  if test "$hard_links" = no; then
15967
18195
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15968
18196
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15972
18200
  need_locks=no
15973
18201
fi
15974
18202
 
15975
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15976
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
18203
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
18204
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15977
18205
 
15978
18206
  runpath_var=
15979
18207
  allow_undefined_flag_GCJ=
16149
18377
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16150
18378
      ;;
16151
18379
 
16152
 
    linux*)
 
18380
    linux* | k*bsd*-gnu)
16153
18381
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16154
18382
        tmp_addflag=
16155
18383
        case $cc_basename,$host_cpu in
16181
18409
      fi
16182
18410
      ;;
16183
18411
 
16184
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
18412
    netbsd* | netbsdelf*-gnu)
16185
18413
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16186
18414
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16187
18415
        wlarc=
16389
18617
}
16390
18618
_ACEOF
16391
18619
rm -f conftest.$ac_objext conftest$ac_exeext
16392
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16393
 
  (eval $ac_link) 2>conftest.er1
 
18620
if { (ac_try="$ac_link"
 
18621
case "(($ac_try" in
 
18622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18623
  *) ac_try_echo=$ac_try;;
 
18624
esac
 
18625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18626
  (eval "$ac_link") 2>conftest.er1
16394
18627
  ac_status=$?
16395
18628
  grep -v '^ *+' conftest.er1 >conftest.err
16396
18629
  rm -f conftest.er1
16397
18630
  cat conftest.err >&5
16398
18631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399
18632
  (exit $ac_status); } &&
16400
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402
 
  (eval $ac_try) 2>&5
 
18633
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18634
  { (case "(($ac_try" in
 
18635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18636
  *) ac_try_echo=$ac_try;;
 
18637
esac
 
18638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18639
  (eval "$ac_try") 2>&5
16403
18640
  ac_status=$?
16404
18641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405
18642
  (exit $ac_status); }; } &&
16406
18643
         { ac_try='test -s conftest$ac_exeext'
16407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408
 
  (eval $ac_try) 2>&5
 
18644
  { (case "(($ac_try" in
 
18645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18646
  *) ac_try_echo=$ac_try;;
 
18647
esac
 
18648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18649
  (eval "$ac_try") 2>&5
16409
18650
  ac_status=$?
16410
18651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411
18652
  (exit $ac_status); }; }; then
16419
18660
  echo "$as_me: failed program was:" >&5
16420
18661
sed 's/^/| /' conftest.$ac_ext >&5
16421
18662
 
 
18663
 
16422
18664
fi
16423
 
rm -f conftest.err conftest.$ac_objext \
 
18665
 
 
18666
rm -f core conftest.err conftest.$ac_objext \
16424
18667
      conftest$ac_exeext conftest.$ac_ext
16425
18668
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16426
18669
 
16449
18692
}
16450
18693
_ACEOF
16451
18694
rm -f conftest.$ac_objext conftest$ac_exeext
16452
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16453
 
  (eval $ac_link) 2>conftest.er1
 
18695
if { (ac_try="$ac_link"
 
18696
case "(($ac_try" in
 
18697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18698
  *) ac_try_echo=$ac_try;;
 
18699
esac
 
18700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18701
  (eval "$ac_link") 2>conftest.er1
16454
18702
  ac_status=$?
16455
18703
  grep -v '^ *+' conftest.er1 >conftest.err
16456
18704
  rm -f conftest.er1
16457
18705
  cat conftest.err >&5
16458
18706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459
18707
  (exit $ac_status); } &&
16460
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462
 
  (eval $ac_try) 2>&5
 
18708
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18709
  { (case "(($ac_try" in
 
18710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18711
  *) ac_try_echo=$ac_try;;
 
18712
esac
 
18713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18714
  (eval "$ac_try") 2>&5
16463
18715
  ac_status=$?
16464
18716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465
18717
  (exit $ac_status); }; } &&
16466
18718
         { ac_try='test -s conftest$ac_exeext'
16467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468
 
  (eval $ac_try) 2>&5
 
18719
  { (case "(($ac_try" in
 
18720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18721
  *) ac_try_echo=$ac_try;;
 
18722
esac
 
18723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18724
  (eval "$ac_try") 2>&5
16469
18725
  ac_status=$?
16470
18726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471
18727
  (exit $ac_status); }; }; then
16479
18735
  echo "$as_me: failed program was:" >&5
16480
18736
sed 's/^/| /' conftest.$ac_ext >&5
16481
18737
 
 
18738
 
16482
18739
fi
16483
 
rm -f conftest.err conftest.$ac_objext \
 
18740
 
 
18741
rm -f core conftest.err conftest.$ac_objext \
16484
18742
      conftest$ac_exeext conftest.$ac_ext
16485
18743
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16486
18744
 
16618
18876
      hardcode_shlibpath_var_GCJ=no
16619
18877
      ;;
16620
18878
 
16621
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
16622
 
    kfreebsd*-gnu)
16623
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16624
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16625
 
      hardcode_direct_GCJ=yes
16626
 
      hardcode_shlibpath_var_GCJ=no
16627
 
      link_all_deplibs_GCJ=no
16628
 
      ;;
16629
 
 
16630
18879
    hpux9*)
16631
18880
      if test "$GCC" = yes; then
16632
18881
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16722
18971
      link_all_deplibs_GCJ=yes
16723
18972
      ;;
16724
18973
 
16725
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
18974
    netbsd* | netbsdelf*-gnu)
16726
18975
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16727
18976
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16728
18977
      else
16938
19187
    esac
16939
19188
  fi
16940
19189
 
16941
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16942
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
19190
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
19191
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16943
19192
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16944
19193
 
16945
19194
#
16959
19208
      # Test whether the compiler implicitly links with -lc since on some
16960
19209
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16961
19210
      # to ld, don't add -lc before -lgcc.
16962
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16963
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
19211
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
19212
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16964
19213
      $rm conftest*
16965
19214
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16966
19215
 
16997
19246
        cat conftest.err 1>&5
16998
19247
      fi
16999
19248
      $rm conftest*
17000
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17001
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
19249
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
19250
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17002
19251
      ;;
17003
19252
    esac
17004
19253
  fi
17005
19254
  ;;
17006
19255
esac
17007
19256
 
17008
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17009
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
19257
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
19258
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17010
19259
library_names_spec=
17011
19260
libname_spec='lib$name'
17012
19261
soname_spec=
17212
19461
  dynamic_linker=no
17213
19462
  ;;
17214
19463
 
17215
 
kfreebsd*-gnu)
17216
 
  version_type=linux
17217
 
  need_lib_prefix=no
17218
 
  need_version=no
17219
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17220
 
  soname_spec='${libname}${release}${shared_ext}$major'
17221
 
  shlibpath_var=LD_LIBRARY_PATH
17222
 
  shlibpath_overrides_runpath=no
17223
 
  hardcode_into_libs=yes
17224
 
  dynamic_linker='GNU ld.so'
17225
 
  ;;
17226
 
 
17227
19464
freebsd* | dragonfly*)
17228
19465
  # DragonFly does not have aout.  When/if they implement a new
17229
19466
  # versioning mechanism, adjust this.
17379
19616
  ;;
17380
19617
 
17381
19618
# This must be Linux ELF.
17382
 
linux*)
 
19619
linux* | k*bsd*-gnu)
17383
19620
  version_type=linux
17384
19621
  need_lib_prefix=no
17385
19622
  need_version=no
17420
19657
  dynamic_linker='NetBSD ld.elf_so'
17421
19658
  ;;
17422
19659
 
17423
 
knetbsd*-gnu)
17424
 
  version_type=linux
17425
 
  need_lib_prefix=no
17426
 
  need_version=no
17427
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17428
 
  soname_spec='${libname}${release}${shared_ext}$major'
17429
 
  shlibpath_var=LD_LIBRARY_PATH
17430
 
  shlibpath_overrides_runpath=no
17431
 
  hardcode_into_libs=yes
17432
 
  dynamic_linker='GNU ld.so'
17433
 
  ;;
17434
 
 
17435
19660
netbsd*)
17436
19661
  version_type=sunos
17437
19662
  need_lib_prefix=no
17605
19830
  dynamic_linker=no
17606
19831
  ;;
17607
19832
esac
17608
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17609
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19833
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19834
echo "${ECHO_T}$dynamic_linker" >&6; }
17610
19835
test "$dynamic_linker" = no && can_build_shared=no
17611
19836
 
17612
19837
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17614
19839
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17615
19840
fi
17616
19841
 
17617
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17618
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19842
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19843
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17619
19844
hardcode_action_GCJ=
17620
19845
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17621
19846
   test -n "$runpath_var_GCJ" || \
17639
19864
  # directories.
17640
19865
  hardcode_action_GCJ=unsupported
17641
19866
fi
17642
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17643
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
19867
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19868
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17644
19869
 
17645
19870
if test "$hardcode_action_GCJ" = relink; then
17646
19871
  # Fast installation is not supported
18076
20301
      RC)
18077
20302
 
18078
20303
 
18079
 
 
18080
20304
# Source file extension for RC test sources.
18081
20305
ac_ext=rc
18082
20306
 
18622
20846
        if test -n "$ac_tool_prefix"; then
18623
20847
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18624
20848
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18625
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18626
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20849
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20850
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18627
20851
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18628
20852
  echo $ECHO_N "(cached) $ECHO_C" >&6
18629
20853
else
18638
20862
  IFS=$as_save_IFS
18639
20863
  test -z "$as_dir" && as_dir=.
18640
20864
  for ac_exec_ext in '' $ac_executable_extensions; do
18641
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18642
20866
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18643
20867
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18644
20868
    break 2
18645
20869
  fi
18646
20870
done
18647
20871
done
 
20872
IFS=$as_save_IFS
18648
20873
 
18649
20874
  ;;
18650
20875
esac
18651
20876
fi
18652
20877
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18653
 
 
18654
20878
if test -n "$PKG_CONFIG"; then
18655
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18656
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
20879
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
20880
echo "${ECHO_T}$PKG_CONFIG" >&6; }
18657
20881
else
18658
 
  echo "$as_me:$LINENO: result: no" >&5
18659
 
echo "${ECHO_T}no" >&6
 
20882
  { echo "$as_me:$LINENO: result: no" >&5
 
20883
echo "${ECHO_T}no" >&6; }
18660
20884
fi
 
20885
 
18661
20886
 
18662
20887
fi
18663
20888
if test -z "$ac_cv_path_PKG_CONFIG"; then
18664
20889
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18665
20890
  # Extract the first word of "pkg-config", so it can be a program name with args.
18666
20891
set dummy pkg-config; ac_word=$2
18667
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18668
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20892
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20893
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18669
20894
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18670
20895
  echo $ECHO_N "(cached) $ECHO_C" >&6
18671
20896
else
18680
20905
  IFS=$as_save_IFS
18681
20906
  test -z "$as_dir" && as_dir=.
18682
20907
  for ac_exec_ext in '' $ac_executable_extensions; do
18683
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18684
20909
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18685
20910
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18686
20911
    break 2
18687
20912
  fi
18688
20913
done
18689
20914
done
 
20915
IFS=$as_save_IFS
18690
20916
 
18691
20917
  ;;
18692
20918
esac
18693
20919
fi
18694
20920
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18695
 
 
18696
20921
if test -n "$ac_pt_PKG_CONFIG"; then
18697
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18698
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
20922
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
20923
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
18699
20924
else
18700
 
  echo "$as_me:$LINENO: result: no" >&5
18701
 
echo "${ECHO_T}no" >&6
 
20925
  { echo "$as_me:$LINENO: result: no" >&5
 
20926
echo "${ECHO_T}no" >&6; }
18702
20927
fi
18703
20928
 
18704
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
20929
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
20930
    PKG_CONFIG=""
 
20931
  else
 
20932
    case $cross_compiling:$ac_tool_warned in
 
20933
yes:)
 
20934
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20935
whose name does not start with the host triplet.  If you think this
 
20936
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20937
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20938
whose name does not start with the host triplet.  If you think this
 
20939
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20940
ac_tool_warned=yes ;;
 
20941
esac
 
20942
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
20943
  fi
18705
20944
else
18706
20945
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18707
20946
fi
18709
20948
fi
18710
20949
if test -n "$PKG_CONFIG"; then
18711
20950
        _pkg_min_version=0.9.0
18712
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18713
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
20951
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
20952
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
18714
20953
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18715
 
                echo "$as_me:$LINENO: result: yes" >&5
18716
 
echo "${ECHO_T}yes" >&6
 
20954
                { echo "$as_me:$LINENO: result: yes" >&5
 
20955
echo "${ECHO_T}yes" >&6; }
18717
20956
        else
18718
 
                echo "$as_me:$LINENO: result: no" >&5
18719
 
echo "${ECHO_T}no" >&6
 
20957
                { echo "$as_me:$LINENO: result: no" >&5
 
20958
echo "${ECHO_T}no" >&6; }
18720
20959
                PKG_CONFIG=""
18721
20960
        fi
18722
20961
 
18723
20962
fi
18724
20963
 
18725
20964
pkg_failed=no
18726
 
echo "$as_me:$LINENO: checking for DEP" >&5
18727
 
echo $ECHO_N "checking for DEP... $ECHO_C" >&6
 
20965
{ echo "$as_me:$LINENO: checking for DEP" >&5
 
20966
echo $ECHO_N "checking for DEP... $ECHO_C" >&6; }
18728
20967
 
18729
20968
if test -n "$PKG_CONFIG"; then
18730
20969
    if test -n "$DEP_CFLAGS"; then
18731
20970
        pkg_cv_DEP_CFLAGS="$DEP_CFLAGS"
18732
20971
    else
18733
20972
        if test -n "$PKG_CONFIG" && \
18734
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst\"") >&5
18735
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst") 2>&5
 
20973
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst\"") >&5
 
20974
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst") 2>&5
18736
20975
  ac_status=$?
18737
20976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738
20977
  (exit $ac_status); }; then
18739
 
  pkg_cv_DEP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst" 2>/dev/null`
 
20978
  pkg_cv_DEP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst" 2>/dev/null`
18740
20979
else
18741
20980
  pkg_failed=yes
18742
20981
fi
18749
20988
        pkg_cv_DEP_LIBS="$DEP_LIBS"
18750
20989
    else
18751
20990
        if test -n "$PKG_CONFIG" && \
18752
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst\"") >&5
18753
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst") 2>&5
 
20991
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst\"") >&5
 
20992
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst") 2>&5
18754
20993
  ac_status=$?
18755
20994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756
20995
  (exit $ac_status); }; then
18757
 
  pkg_cv_DEP_LIBS=`$PKG_CONFIG --libs "glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst" 2>/dev/null`
 
20996
  pkg_cv_DEP_LIBS=`$PKG_CONFIG --libs "glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst" 2>/dev/null`
18758
20997
else
18759
20998
  pkg_failed=yes
18760
20999
fi
18773
21012
        _pkg_short_errors_supported=no
18774
21013
fi
18775
21014
        if test $_pkg_short_errors_supported = yes; then
18776
 
                DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst"`
 
21015
                DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst"`
18777
21016
        else
18778
 
                DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst"`
 
21017
                DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst"`
18779
21018
        fi
18780
21019
        # Put the nasty error message in config.log where it belongs
18781
21020
        echo "$DEP_PKG_ERRORS" >&5
18782
21021
 
18783
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst) were not met:
 
21022
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst) were not met:
18784
21023
 
18785
21024
$DEP_PKG_ERRORS
18786
21025
 
18791
21030
and DEP_LIBS to avoid the need to call pkg-config.
18792
21031
See the pkg-config man page for more details.
18793
21032
" >&5
18794
 
echo "$as_me: error: Package requirements (glib-2.0 gobject-2.0 x11 xcomposite xdamage xtst) were not met:
 
21033
echo "$as_me: error: Package requirements (glib-2.0 gobject-2.0 x11 xext xcomposite xdamage xtst) were not met:
18795
21034
 
18796
21035
$DEP_PKG_ERRORS
18797
21036
 
18828
21067
else
18829
21068
        DEP_CFLAGS=$pkg_cv_DEP_CFLAGS
18830
21069
        DEP_LIBS=$pkg_cv_DEP_LIBS
18831
 
        echo "$as_me:$LINENO: result: yes" >&5
18832
 
echo "${ECHO_T}yes" >&6
 
21070
        { echo "$as_me:$LINENO: result: yes" >&5
 
21071
echo "${ECHO_T}yes" >&6; }
18833
21072
        :
18834
21073
fi
18835
21074
 
18836
21075
# AC_CHECK_LIB(libGL.so, glXCreateContext
18837
21076
 
18838
 
echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
18839
 
echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
 
21077
{ echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
 
21078
echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
18840
21079
if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
18841
21080
  echo $ECHO_N "(cached) $ECHO_C" >&6
18842
21081
else
18849
21088
cat >>conftest.$ac_ext <<_ACEOF
18850
21089
/* end confdefs.h.  */
18851
21090
 
18852
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21091
/* Override any GCC internal prototype to avoid an error.
 
21092
   Use char because int might match the return type of a GCC
 
21093
   builtin and then its argument prototype would still apply.  */
18853
21094
#ifdef __cplusplus
18854
21095
extern "C"
18855
21096
#endif
18856
 
/* We use char because int might match the return type of a gcc2
18857
 
   builtin and then its argument prototype would still apply.  */
18858
21097
char glXCreateContext ();
18859
21098
int
18860
21099
main ()
18861
21100
{
18862
 
glXCreateContext ();
 
21101
return glXCreateContext ();
18863
21102
  ;
18864
21103
  return 0;
18865
21104
}
18866
21105
_ACEOF
18867
21106
rm -f conftest.$ac_objext conftest$ac_exeext
18868
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18869
 
  (eval $ac_link) 2>conftest.er1
 
21107
if { (ac_try="$ac_link"
 
21108
case "(($ac_try" in
 
21109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21110
  *) ac_try_echo=$ac_try;;
 
21111
esac
 
21112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21113
  (eval "$ac_link") 2>conftest.er1
18870
21114
  ac_status=$?
18871
21115
  grep -v '^ *+' conftest.er1 >conftest.err
18872
21116
  rm -f conftest.er1
18873
21117
  cat conftest.err >&5
18874
21118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875
21119
  (exit $ac_status); } &&
18876
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878
 
  (eval $ac_try) 2>&5
 
21120
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21121
  { (case "(($ac_try" in
 
21122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21123
  *) ac_try_echo=$ac_try;;
 
21124
esac
 
21125
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21126
  (eval "$ac_try") 2>&5
18879
21127
  ac_status=$?
18880
21128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881
21129
  (exit $ac_status); }; } &&
18882
21130
         { ac_try='test -s conftest$ac_exeext'
18883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884
 
  (eval $ac_try) 2>&5
 
21131
  { (case "(($ac_try" in
 
21132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21133
  *) ac_try_echo=$ac_try;;
 
21134
esac
 
21135
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21136
  (eval "$ac_try") 2>&5
18885
21137
  ac_status=$?
18886
21138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887
21139
  (exit $ac_status); }; }; then
18890
21142
  echo "$as_me: failed program was:" >&5
18891
21143
sed 's/^/| /' conftest.$ac_ext >&5
18892
21144
 
18893
 
ac_cv_lib_GL_glXCreateContext=no
 
21145
        ac_cv_lib_GL_glXCreateContext=no
18894
21146
fi
18895
 
rm -f conftest.err conftest.$ac_objext \
 
21147
 
 
21148
rm -f core conftest.err conftest.$ac_objext \
18896
21149
      conftest$ac_exeext conftest.$ac_ext
18897
21150
LIBS=$ac_check_lib_save_LIBS
18898
21151
fi
18899
 
echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
18900
 
echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
 
21152
{ echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
 
21153
echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
18901
21154
if test $ac_cv_lib_GL_glXCreateContext = yes; then
18902
21155
  HAVE_LIBGL=yes
18903
21156
else
18913
21166
   DEP_LIBS="$DEP_LIBS -lGL"
18914
21167
fi
18915
21168
 
18916
 
echo "$as_me:$LINENO: checking for gluOrtho2D in -lGLU" >&5
18917
 
echo $ECHO_N "checking for gluOrtho2D in -lGLU... $ECHO_C" >&6
 
21169
{ echo "$as_me:$LINENO: checking for gluOrtho2D in -lGLU" >&5
 
21170
echo $ECHO_N "checking for gluOrtho2D in -lGLU... $ECHO_C" >&6; }
18918
21171
if test "${ac_cv_lib_GLU_gluOrtho2D+set}" = set; then
18919
21172
  echo $ECHO_N "(cached) $ECHO_C" >&6
18920
21173
else
18927
21180
cat >>conftest.$ac_ext <<_ACEOF
18928
21181
/* end confdefs.h.  */
18929
21182
 
18930
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21183
/* Override any GCC internal prototype to avoid an error.
 
21184
   Use char because int might match the return type of a GCC
 
21185
   builtin and then its argument prototype would still apply.  */
18931
21186
#ifdef __cplusplus
18932
21187
extern "C"
18933
21188
#endif
18934
 
/* We use char because int might match the return type of a gcc2
18935
 
   builtin and then its argument prototype would still apply.  */
18936
21189
char gluOrtho2D ();
18937
21190
int
18938
21191
main ()
18939
21192
{
18940
 
gluOrtho2D ();
 
21193
return gluOrtho2D ();
18941
21194
  ;
18942
21195
  return 0;
18943
21196
}
18944
21197
_ACEOF
18945
21198
rm -f conftest.$ac_objext conftest$ac_exeext
18946
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18947
 
  (eval $ac_link) 2>conftest.er1
 
21199
if { (ac_try="$ac_link"
 
21200
case "(($ac_try" in
 
21201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21202
  *) ac_try_echo=$ac_try;;
 
21203
esac
 
21204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21205
  (eval "$ac_link") 2>conftest.er1
18948
21206
  ac_status=$?
18949
21207
  grep -v '^ *+' conftest.er1 >conftest.err
18950
21208
  rm -f conftest.er1
18951
21209
  cat conftest.err >&5
18952
21210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953
21211
  (exit $ac_status); } &&
18954
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956
 
  (eval $ac_try) 2>&5
 
21212
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21213
  { (case "(($ac_try" in
 
21214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21215
  *) ac_try_echo=$ac_try;;
 
21216
esac
 
21217
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21218
  (eval "$ac_try") 2>&5
18957
21219
  ac_status=$?
18958
21220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959
21221
  (exit $ac_status); }; } &&
18960
21222
         { ac_try='test -s conftest$ac_exeext'
18961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962
 
  (eval $ac_try) 2>&5
 
21223
  { (case "(($ac_try" in
 
21224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21225
  *) ac_try_echo=$ac_try;;
 
21226
esac
 
21227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21228
  (eval "$ac_try") 2>&5
18963
21229
  ac_status=$?
18964
21230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965
21231
  (exit $ac_status); }; }; then
18968
21234
  echo "$as_me: failed program was:" >&5
18969
21235
sed 's/^/| /' conftest.$ac_ext >&5
18970
21236
 
18971
 
ac_cv_lib_GLU_gluOrtho2D=no
 
21237
        ac_cv_lib_GLU_gluOrtho2D=no
18972
21238
fi
18973
 
rm -f conftest.err conftest.$ac_objext \
 
21239
 
 
21240
rm -f core conftest.err conftest.$ac_objext \
18974
21241
      conftest$ac_exeext conftest.$ac_ext
18975
21242
LIBS=$ac_check_lib_save_LIBS
18976
21243
fi
18977
 
echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluOrtho2D" >&5
18978
 
echo "${ECHO_T}$ac_cv_lib_GLU_gluOrtho2D" >&6
 
21244
{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluOrtho2D" >&5
 
21245
echo "${ECHO_T}$ac_cv_lib_GLU_gluOrtho2D" >&6; }
18979
21246
if test $ac_cv_lib_GLU_gluOrtho2D = yes; then
18980
21247
  HAVE_LIBGLU=yes
18981
21248
else
18991
21258
   DEP_LIBS="$DEP_LIBS -lGLU"
18992
21259
fi
18993
21260
 
18994
 
echo "$as_me:$LINENO: checking for glXBindTexImageEXT in -lGL" >&5
18995
 
echo $ECHO_N "checking for glXBindTexImageEXT in -lGL... $ECHO_C" >&6
18996
 
if test "${ac_cv_lib_GL_glXBindTexImageEXT+set}" = set; then
18997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18998
 
else
18999
 
  ac_check_lib_save_LIBS=$LIBS
19000
 
LIBS="-lGL  $LIBS"
19001
 
cat >conftest.$ac_ext <<_ACEOF
19002
 
/* confdefs.h.  */
19003
 
_ACEOF
19004
 
cat confdefs.h >>conftest.$ac_ext
19005
 
cat >>conftest.$ac_ext <<_ACEOF
19006
 
/* end confdefs.h.  */
19007
 
 
19008
 
/* Override any gcc2 internal prototype to avoid an error.  */
19009
 
#ifdef __cplusplus
19010
 
extern "C"
19011
 
#endif
19012
 
/* We use char because int might match the return type of a gcc2
19013
 
   builtin and then its argument prototype would still apply.  */
19014
 
char glXBindTexImageEXT ();
19015
 
int
19016
 
main ()
19017
 
{
19018
 
glXBindTexImageEXT ();
19019
 
  ;
19020
 
  return 0;
19021
 
}
19022
 
_ACEOF
19023
 
rm -f conftest.$ac_objext conftest$ac_exeext
19024
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19025
 
  (eval $ac_link) 2>conftest.er1
19026
 
  ac_status=$?
19027
 
  grep -v '^ *+' conftest.er1 >conftest.err
19028
 
  rm -f conftest.er1
19029
 
  cat conftest.err >&5
19030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031
 
  (exit $ac_status); } &&
19032
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034
 
  (eval $ac_try) 2>&5
19035
 
  ac_status=$?
19036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037
 
  (exit $ac_status); }; } &&
19038
 
         { ac_try='test -s conftest$ac_exeext'
19039
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040
 
  (eval $ac_try) 2>&5
19041
 
  ac_status=$?
19042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043
 
  (exit $ac_status); }; }; then
19044
 
  ac_cv_lib_GL_glXBindTexImageEXT=yes
19045
 
else
19046
 
  echo "$as_me: failed program was:" >&5
19047
 
sed 's/^/| /' conftest.$ac_ext >&5
19048
 
 
19049
 
ac_cv_lib_GL_glXBindTexImageEXT=no
19050
 
fi
19051
 
rm -f conftest.err conftest.$ac_objext \
19052
 
      conftest$ac_exeext conftest.$ac_ext
19053
 
LIBS=$ac_check_lib_save_LIBS
19054
 
fi
19055
 
echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXBindTexImageEXT" >&5
19056
 
echo "${ECHO_T}$ac_cv_lib_GL_glXBindTexImageEXT" >&6
19057
 
if test $ac_cv_lib_GL_glXBindTexImageEXT = yes; then
19058
 
 
19059
 
cat >>confdefs.h <<\_ACEOF
19060
 
#define HAVE_TFD
19061
 
_ACEOF
19062
 
 
19063
 
fi
19064
 
 
19065
 
 
19066
 
if test "x$HAVE_TBD" = "xyes"; then
19067
 
   { { echo "$as_me:$LINENO: error: Texture from drawable extension is needed" >&5
19068
 
echo "$as_me: error: Texture from drawable extension is needed" >&2;}
19069
 
   { (exit 1); exit 1; }; }
19070
 
fi
19071
 
 
19072
 
 
19073
 
 
19074
 
 
19075
 
                              ac_config_files="$ac_config_files Makefile src/Makefile cm.pc"
 
21261
 
 
21262
 
 
21263
 
 
21264
ac_config_files="$ac_config_files Makefile src/Makefile cm.pc"
 
21265
 
19076
21266
cat >confcache <<\_ACEOF
19077
21267
# This file is a shell script that caches the results of configure
19078
21268
# tests run on this system so they can be shared between configure
19091
21281
 
19092
21282
# The following way of writing the cache mishandles newlines in values,
19093
21283
# but we know of no workaround that is simple, portable, and efficient.
19094
 
# So, don't put newlines in cache variables' values.
 
21284
# So, we kill variables containing newlines.
19095
21285
# Ultrix sh set writes to stderr and can't be redirected directly,
19096
21286
# and sets the high bit in the cache file unless we assign to the vars.
19097
 
{
 
21287
(
 
21288
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
21289
    eval ac_val=\$$ac_var
 
21290
    case $ac_val in #(
 
21291
    *${as_nl}*)
 
21292
      case $ac_var in #(
 
21293
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
21294
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
21295
      esac
 
21296
      case $ac_var in #(
 
21297
      _ | IFS | as_nl) ;; #(
 
21298
      *) $as_unset $ac_var ;;
 
21299
      esac ;;
 
21300
    esac
 
21301
  done
 
21302
 
19098
21303
  (set) 2>&1 |
19099
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
19100
 
    *ac_space=\ *)
 
21304
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
21305
    *${as_nl}ac_space=\ *)
19101
21306
      # `set' does not quote correctly, so add quotes (double-quote
19102
21307
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19103
21308
      sed -n \
19104
21309
        "s/'/'\\\\''/g;
19105
21310
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19106
 
      ;;
 
21311
      ;; #(
19107
21312
    *)
19108
21313
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19109
 
      sed -n \
19110
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
21314
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19111
21315
      ;;
19112
 
    esac;
19113
 
} |
 
21316
    esac |
 
21317
    sort
 
21318
) |
19114
21319
  sed '
 
21320
     /^ac_cv_env_/b end
19115
21321
     t clear
19116
 
     : clear
 
21322
     :clear
19117
21323
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19118
21324
     t end
19119
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19120
 
     : end' >>confcache
19121
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
19122
 
  if test -w $cache_file; then
19123
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
21325
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
21326
     :end' >>confcache
 
21327
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
21328
  if test -w "$cache_file"; then
 
21329
    test "x$cache_file" != "x/dev/null" &&
 
21330
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
21331
echo "$as_me: updating cache $cache_file" >&6;}
19124
21332
    cat confcache >$cache_file
19125
21333
  else
19126
 
    echo "not updating unwritable cache $cache_file"
 
21334
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
21335
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19127
21336
  fi
19128
21337
fi
19129
21338
rm -f confcache
19132
21341
# Let make expand exec_prefix.
19133
21342
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19134
21343
 
19135
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19136
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19137
 
# trailing colons and then remove the whole line if VPATH becomes empty
19138
 
# (actually we leave an empty line to preserve line numbers).
19139
 
if test "x$srcdir" = x.; then
19140
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
19141
 
s/:*\$(srcdir):*/:/;
19142
 
s/:*\${srcdir}:*/:/;
19143
 
s/:*@srcdir@:*/:/;
19144
 
s/^\([^=]*=[     ]*\):*/\1/;
19145
 
s/:*$//;
19146
 
s/^[^=]*=[       ]*$//;
19147
 
}'
19148
 
fi
19149
 
 
19150
21344
DEFS=-DHAVE_CONFIG_H
19151
21345
 
19152
21346
ac_libobjs=
19153
21347
ac_ltlibobjs=
19154
21348
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19155
21349
  # 1. Remove the extension, and $U if already installed.
19156
 
  ac_i=`echo "$ac_i" |
19157
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19158
 
  # 2. Add them.
19159
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19160
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
21350
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
21351
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
21352
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
21353
  #    will be set to the directory where LIBOBJS objects are built.
 
21354
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
21355
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19161
21356
done
19162
21357
LIBOBJS=$ac_libobjs
19163
21358
 
19185
21380
Usually this means the macro was only invoked conditionally." >&2;}
19186
21381
   { (exit 1); exit 1; }; }
19187
21382
fi
 
21383
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21384
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21385
Usually this means the macro was only invoked conditionally." >&5
 
21386
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21387
Usually this means the macro was only invoked conditionally." >&2;}
 
21388
   { (exit 1); exit 1; }; }
 
21389
fi
19188
21390
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19189
21391
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19190
21392
Usually this means the macro was only invoked conditionally." >&5
19223
21425
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19224
21426
  # is contrary to our usage.  Disable this feature.
19225
21427
  alias -g '${1+"$@"}'='"$@"'
19226
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19227
 
  set -o posix
 
21428
  setopt NO_GLOB_SUBST
 
21429
else
 
21430
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
19228
21431
fi
 
21432
BIN_SH=xpg4; export BIN_SH # for Tru64
19229
21433
DUALCASE=1; export DUALCASE # for MKS sh
19230
21434
 
 
21435
 
 
21436
# PATH needs CR
 
21437
# Avoid depending upon Character Ranges.
 
21438
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
21439
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
21440
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
21441
as_cr_digits='0123456789'
 
21442
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
21443
 
 
21444
# The user is always right.
 
21445
if test "${PATH_SEPARATOR+set}" != set; then
 
21446
  echo "#! /bin/sh" >conf$$.sh
 
21447
  echo  "exit 0"   >>conf$$.sh
 
21448
  chmod +x conf$$.sh
 
21449
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
21450
    PATH_SEPARATOR=';'
 
21451
  else
 
21452
    PATH_SEPARATOR=:
 
21453
  fi
 
21454
  rm -f conf$$.sh
 
21455
fi
 
21456
 
19231
21457
# Support unset when possible.
19232
21458
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19233
21459
  as_unset=unset
19236
21462
fi
19237
21463
 
19238
21464
 
 
21465
# IFS
 
21466
# We need space, tab and new line, in precisely that order.  Quoting is
 
21467
# there to prevent editors from complaining about space-tab.
 
21468
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
21469
# splitting by setting IFS to empty value.)
 
21470
as_nl='
 
21471
'
 
21472
IFS=" ""        $as_nl"
 
21473
 
 
21474
# Find who we are.  Look in the path if we contain no directory separator.
 
21475
case $0 in
 
21476
  *[\\/]* ) as_myself=$0 ;;
 
21477
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21478
for as_dir in $PATH
 
21479
do
 
21480
  IFS=$as_save_IFS
 
21481
  test -z "$as_dir" && as_dir=.
 
21482
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
21483
done
 
21484
IFS=$as_save_IFS
 
21485
 
 
21486
     ;;
 
21487
esac
 
21488
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
21489
# in which case we are not to be found in the path.
 
21490
if test "x$as_myself" = x; then
 
21491
  as_myself=$0
 
21492
fi
 
21493
if test ! -f "$as_myself"; then
 
21494
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
21495
  { (exit 1); exit 1; }
 
21496
fi
 
21497
 
19239
21498
# Work around bugs in pre-3.0 UWIN ksh.
19240
 
$as_unset ENV MAIL MAILPATH
 
21499
for as_var in ENV MAIL MAILPATH
 
21500
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
21501
done
19241
21502
PS1='$ '
19242
21503
PS2='> '
19243
21504
PS4='+ '
19251
21512
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19252
21513
    eval $as_var=C; export $as_var
19253
21514
  else
19254
 
    $as_unset $as_var
 
21515
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19255
21516
  fi
19256
21517
done
19257
21518
 
19258
21519
# Required to use basename.
19259
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
21520
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
21521
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19260
21522
  as_expr=expr
19261
21523
else
19262
21524
  as_expr=false
19263
21525
fi
19264
21526
 
19265
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
21527
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19266
21528
  as_basename=basename
19267
21529
else
19268
21530
  as_basename=false
19270
21532
 
19271
21533
 
19272
21534
# Name of the executable.
19273
 
as_me=`$as_basename "$0" ||
 
21535
as_me=`$as_basename -- "$0" ||
19274
21536
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19275
21537
         X"$0" : 'X\(//\)$' \| \
19276
 
         X"$0" : 'X\(/\)$' \| \
19277
 
         .     : '\(.\)' 2>/dev/null ||
 
21538
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19278
21539
echo X/"$0" |
19279
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19280
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
19281
 
          /^X\/\(\/\).*/{ s//\1/; q; }
19282
 
          s/.*/./; q'`
19283
 
 
19284
 
 
19285
 
# PATH needs CR, and LINENO needs CR and PATH.
19286
 
# Avoid depending upon Character Ranges.
19287
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19288
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19289
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19290
 
as_cr_digits='0123456789'
19291
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19292
 
 
19293
 
# The user is always right.
19294
 
if test "${PATH_SEPARATOR+set}" != set; then
19295
 
  echo "#! /bin/sh" >conf$$.sh
19296
 
  echo  "exit 0"   >>conf$$.sh
19297
 
  chmod +x conf$$.sh
19298
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19299
 
    PATH_SEPARATOR=';'
19300
 
  else
19301
 
    PATH_SEPARATOR=:
19302
 
  fi
19303
 
  rm -f conf$$.sh
19304
 
fi
19305
 
 
19306
 
 
19307
 
  as_lineno_1=$LINENO
19308
 
  as_lineno_2=$LINENO
19309
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19310
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19311
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
19312
 
  # Find who we are.  Look in the path if we contain no path at all
19313
 
  # relative or not.
19314
 
  case $0 in
19315
 
    *[\\/]* ) as_myself=$0 ;;
19316
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19317
 
for as_dir in $PATH
19318
 
do
19319
 
  IFS=$as_save_IFS
19320
 
  test -z "$as_dir" && as_dir=.
19321
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19322
 
done
19323
 
 
19324
 
       ;;
19325
 
  esac
19326
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
19327
 
  # in which case we are not to be found in the path.
19328
 
  if test "x$as_myself" = x; then
19329
 
    as_myself=$0
19330
 
  fi
19331
 
  if test ! -f "$as_myself"; then
19332
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19333
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19334
 
   { (exit 1); exit 1; }; }
19335
 
  fi
19336
 
  case $CONFIG_SHELL in
19337
 
  '')
19338
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19339
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19340
 
do
19341
 
  IFS=$as_save_IFS
19342
 
  test -z "$as_dir" && as_dir=.
19343
 
  for as_base in sh bash ksh sh5; do
19344
 
         case $as_dir in
19345
 
         /*)
19346
 
           if ("$as_dir/$as_base" -c '
19347
 
  as_lineno_1=$LINENO
19348
 
  as_lineno_2=$LINENO
19349
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19350
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19351
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
19352
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19353
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19354
 
             CONFIG_SHELL=$as_dir/$as_base
19355
 
             export CONFIG_SHELL
19356
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19357
 
           fi;;
19358
 
         esac
19359
 
       done
19360
 
done
19361
 
;;
19362
 
  esac
 
21540
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
21541
            s//\1/
 
21542
            q
 
21543
          }
 
21544
          /^X\/\(\/\/\)$/{
 
21545
            s//\1/
 
21546
            q
 
21547
          }
 
21548
          /^X\/\(\/\).*/{
 
21549
            s//\1/
 
21550
            q
 
21551
          }
 
21552
          s/.*/./; q'`
 
21553
 
 
21554
# CDPATH.
 
21555
$as_unset CDPATH
 
21556
 
 
21557
 
 
21558
 
 
21559
  as_lineno_1=$LINENO
 
21560
  as_lineno_2=$LINENO
 
21561
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
21562
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19363
21563
 
19364
21564
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19365
21565
  # uniformly replaced by the line number.  The first 'sed' inserts a
19366
 
  # line-number line before each line; the second 'sed' does the real
19367
 
  # work.  The second script uses 'N' to pair each line-number line
19368
 
  # with the numbered line, and appends trailing '-' during
19369
 
  # substitution so that $LINENO is not a special case at line end.
 
21566
  # line-number line after each line using $LINENO; the second 'sed'
 
21567
  # does the real work.  The second script uses 'N' to pair each
 
21568
  # line-number line with the line containing $LINENO, and appends
 
21569
  # trailing '-' during substitution so that $LINENO is not a special
 
21570
  # case at line end.
19370
21571
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19371
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
19372
 
  sed '=' <$as_myself |
 
21572
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
21573
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
21574
  sed -n '
 
21575
    p
 
21576
    /[$]LINENO/=
 
21577
  ' <$as_myself |
19373
21578
    sed '
 
21579
      s/[$]LINENO.*/&-/
 
21580
      t lineno
 
21581
      b
 
21582
      :lineno
19374
21583
      N
19375
 
      s,$,-,
19376
 
      : loop
19377
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
21584
      :loop
 
21585
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19378
21586
      t loop
19379
 
      s,-$,,
19380
 
      s,^['$as_cr_digits']*\n,,
 
21587
      s/-\n.*//
19381
21588
    ' >$as_me.lineno &&
19382
 
  chmod +x $as_me.lineno ||
19383
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19384
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
21589
  chmod +x "$as_me.lineno" ||
 
21590
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19385
21591
   { (exit 1); exit 1; }; }
19386
21592
 
19387
21593
  # Don't try to exec as it changes $[0], causing all sort of problems
19388
21594
  # (the dirname of $[0] is not the place where we might find the
19389
 
  # original and so on.  Autoconf is especially sensible to this).
19390
 
  . ./$as_me.lineno
 
21595
  # original and so on.  Autoconf is especially sensitive to this).
 
21596
  . "./$as_me.lineno"
19391
21597
  # Exit status is that of the last command.
19392
21598
  exit
19393
21599
}
19394
21600
 
19395
21601
 
19396
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19397
 
  *c*,-n*) ECHO_N= ECHO_C='
19398
 
' ECHO_T='      ' ;;
19399
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19400
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
21602
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
21603
  as_dirname=dirname
 
21604
else
 
21605
  as_dirname=false
 
21606
fi
 
21607
 
 
21608
ECHO_C= ECHO_N= ECHO_T=
 
21609
case `echo -n x` in
 
21610
-n*)
 
21611
  case `echo 'x\c'` in
 
21612
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
21613
  *)   ECHO_C='\c';;
 
21614
  esac;;
 
21615
*)
 
21616
  ECHO_N='-n';;
19401
21617
esac
19402
21618
 
19403
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
21619
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
21620
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19404
21621
  as_expr=expr
19405
21622
else
19406
21623
  as_expr=false
19407
21624
fi
19408
21625
 
19409
21626
rm -f conf$$ conf$$.exe conf$$.file
 
21627
if test -d conf$$.dir; then
 
21628
  rm -f conf$$.dir/conf$$.file
 
21629
else
 
21630
  rm -f conf$$.dir
 
21631
  mkdir conf$$.dir
 
21632
fi
19410
21633
echo >conf$$.file
19411
21634
if ln -s conf$$.file conf$$ 2>/dev/null; then
19412
 
  # We could just check for DJGPP; but this test a) works b) is more generic
19413
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19414
 
  if test -f conf$$.exe; then
19415
 
    # Don't use ln at all; we don't have any links
 
21635
  as_ln_s='ln -s'
 
21636
  # ... but there are two gotchas:
 
21637
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
21638
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
21639
  # In both cases, we have to default to `cp -p'.
 
21640
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19416
21641
    as_ln_s='cp -p'
19417
 
  else
19418
 
    as_ln_s='ln -s'
19419
 
  fi
19420
21642
elif ln conf$$.file conf$$ 2>/dev/null; then
19421
21643
  as_ln_s=ln
19422
21644
else
19423
21645
  as_ln_s='cp -p'
19424
21646
fi
19425
 
rm -f conf$$ conf$$.exe conf$$.file
 
21647
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
21648
rmdir conf$$.dir 2>/dev/null
19426
21649
 
19427
21650
if mkdir -p . 2>/dev/null; then
19428
21651
  as_mkdir_p=:
19431
21654
  as_mkdir_p=false
19432
21655
fi
19433
21656
 
19434
 
as_executable_p="test -f"
 
21657
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
21658
# systems may use methods other than mode bits to determine executability.
 
21659
cat >conf$$.file <<_ASEOF
 
21660
#! /bin/sh
 
21661
exit 0
 
21662
_ASEOF
 
21663
chmod +x conf$$.file
 
21664
if test -x conf$$.file >/dev/null 2>&1; then
 
21665
  as_executable_p="test -x"
 
21666
else
 
21667
  as_executable_p=:
 
21668
fi
 
21669
rm -f conf$$.file
19435
21670
 
19436
21671
# Sed expression to map a string onto a valid CPP name.
19437
21672
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19440
21675
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19441
21676
 
19442
21677
 
19443
 
# IFS
19444
 
# We need space, tab and new line, in precisely that order.
19445
 
as_nl='
19446
 
'
19447
 
IFS="   $as_nl"
19448
 
 
19449
 
# CDPATH.
19450
 
$as_unset CDPATH
19451
 
 
19452
21678
exec 6>&1
19453
21679
 
19454
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
21680
# Save the log message, to keep $[0] and so on meaningful, and to
19455
21681
# report actual input values of CONFIG_FILES etc. instead of their
19456
 
# values after options handling.  Logging --version etc. is OK.
19457
 
exec 5>>config.log
19458
 
{
19459
 
  echo
19460
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19461
 
## Running $as_me. ##
19462
 
_ASBOX
19463
 
} >&5
19464
 
cat >&5 <<_CSEOF
19465
 
 
19466
 
This file was extended by libcm $as_me 0.0.16, which was
19467
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
21682
# values after options handling.
 
21683
ac_log="
 
21684
This file was extended by libcm $as_me 0.1.1, which was
 
21685
generated by GNU Autoconf 2.60.  Invocation command line was
19468
21686
 
19469
21687
  CONFIG_FILES    = $CONFIG_FILES
19470
21688
  CONFIG_HEADERS  = $CONFIG_HEADERS
19472
21690
  CONFIG_COMMANDS = $CONFIG_COMMANDS
19473
21691
  $ $0 $@
19474
21692
 
19475
 
_CSEOF
19476
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19477
 
echo >&5
 
21693
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
21694
"
 
21695
 
19478
21696
_ACEOF
19479
21697
 
 
21698
cat >>$CONFIG_STATUS <<_ACEOF
19480
21699
# Files that config.status was made for.
19481
 
if test -n "$ac_config_files"; then
19482
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19483
 
fi
19484
 
 
19485
 
if test -n "$ac_config_headers"; then
19486
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19487
 
fi
19488
 
 
19489
 
if test -n "$ac_config_links"; then
19490
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19491
 
fi
19492
 
 
19493
 
if test -n "$ac_config_commands"; then
19494
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19495
 
fi
 
21700
config_files="$ac_config_files"
 
21701
config_headers="$ac_config_headers"
 
21702
config_commands="$ac_config_commands"
 
21703
 
 
21704
_ACEOF
19496
21705
 
19497
21706
cat >>$CONFIG_STATUS <<\_ACEOF
19498
 
 
19499
21707
ac_cs_usage="\
19500
21708
\`$as_me' instantiates files from templates according to the
19501
21709
current configuration.
19522
21730
$config_commands
19523
21731
 
19524
21732
Report bugs to <bug-autoconf@gnu.org>."
 
21733
 
19525
21734
_ACEOF
19526
 
 
19527
21735
cat >>$CONFIG_STATUS <<_ACEOF
19528
21736
ac_cs_version="\\
19529
 
libcm config.status 0.0.16
19530
 
configured by $0, generated by GNU Autoconf 2.59,
19531
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
21737
libcm config.status 0.1.1
 
21738
configured by $0, generated by GNU Autoconf 2.60,
 
21739
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19532
21740
 
19533
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
21741
Copyright (C) 2006 Free Software Foundation, Inc.
19534
21742
This config.status script is free software; the Free Software Foundation
19535
21743
gives unlimited permission to copy, distribute and modify it."
19536
 
srcdir=$srcdir
19537
 
INSTALL="$INSTALL"
 
21744
 
 
21745
ac_pwd='$ac_pwd'
 
21746
srcdir='$srcdir'
 
21747
INSTALL='$INSTALL'
19538
21748
_ACEOF
19539
21749
 
19540
21750
cat >>$CONFIG_STATUS <<\_ACEOF
19545
21755
do
19546
21756
  case $1 in
19547
21757
  --*=*)
19548
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
19549
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
21758
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
21759
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19550
21760
    ac_shift=:
19551
21761
    ;;
19552
 
  -*)
 
21762
  *)
19553
21763
    ac_option=$1
19554
21764
    ac_optarg=$2
19555
21765
    ac_shift=shift
19556
21766
    ;;
19557
 
  *) # This is not an option, so the user has probably given explicit
19558
 
     # arguments.
19559
 
     ac_option=$1
19560
 
     ac_need_defaults=false;;
19561
21767
  esac
19562
21768
 
19563
21769
  case $ac_option in
19564
21770
  # Handling of the options.
19565
 
_ACEOF
19566
 
cat >>$CONFIG_STATUS <<\_ACEOF
19567
21771
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19568
21772
    ac_cs_recheck=: ;;
19569
 
  --version | --vers* | -V )
19570
 
    echo "$ac_cs_version"; exit 0 ;;
19571
 
  --he | --h)
19572
 
    # Conflict between --help and --header
19573
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
19574
 
Try \`$0 --help' for more information." >&5
19575
 
echo "$as_me: error: ambiguous option: $1
19576
 
Try \`$0 --help' for more information." >&2;}
19577
 
   { (exit 1); exit 1; }; };;
19578
 
  --help | --hel | -h )
19579
 
    echo "$ac_cs_usage"; exit 0 ;;
19580
 
  --debug | --d* | -d )
 
21773
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
21774
    echo "$ac_cs_version"; exit ;;
 
21775
  --debug | --debu | --deb | --de | --d | -d )
19581
21776
    debug=: ;;
19582
21777
  --file | --fil | --fi | --f )
19583
21778
    $ac_shift
19587
21782
    $ac_shift
19588
21783
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19589
21784
    ac_need_defaults=false;;
 
21785
  --he | --h)
 
21786
    # Conflict between --help and --header
 
21787
    { echo "$as_me: error: ambiguous option: $1
 
21788
Try \`$0 --help' for more information." >&2
 
21789
   { (exit 1); exit 1; }; };;
 
21790
  --help | --hel | -h )
 
21791
    echo "$ac_cs_usage"; exit ;;
19590
21792
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19591
21793
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19592
21794
    ac_cs_silent=: ;;
19593
21795
 
19594
21796
  # This is an error.
19595
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19596
 
Try \`$0 --help' for more information." >&5
19597
 
echo "$as_me: error: unrecognized option: $1
19598
 
Try \`$0 --help' for more information." >&2;}
 
21797
  -*) { echo "$as_me: error: unrecognized option: $1
 
21798
Try \`$0 --help' for more information." >&2
19599
21799
   { (exit 1); exit 1; }; } ;;
19600
21800
 
19601
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
21801
  *) ac_config_targets="$ac_config_targets $1"
 
21802
     ac_need_defaults=false ;;
19602
21803
 
19603
21804
  esac
19604
21805
  shift
19614
21815
_ACEOF
19615
21816
cat >>$CONFIG_STATUS <<_ACEOF
19616
21817
if \$ac_cs_recheck; then
19617
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19618
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
21818
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
21819
  CONFIG_SHELL=$SHELL
 
21820
  export CONFIG_SHELL
 
21821
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19619
21822
fi
19620
21823
 
19621
21824
_ACEOF
 
21825
cat >>$CONFIG_STATUS <<\_ACEOF
 
21826
exec 5>>config.log
 
21827
{
 
21828
  echo
 
21829
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
21830
## Running $as_me. ##
 
21831
_ASBOX
 
21832
  echo "$ac_log"
 
21833
} >&5
19622
21834
 
 
21835
_ACEOF
19623
21836
cat >>$CONFIG_STATUS <<_ACEOF
19624
21837
#
19625
 
# INIT-COMMANDS section.
 
21838
# INIT-COMMANDS
19626
21839
#
19627
 
 
19628
21840
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19629
21841
 
19630
21842
_ACEOF
19631
21843
 
19632
 
 
19633
 
 
19634
21844
cat >>$CONFIG_STATUS <<\_ACEOF
 
21845
 
 
21846
# Handling of arguments.
19635
21847
for ac_config_target in $ac_config_targets
19636
21848
do
19637
 
  case "$ac_config_target" in
19638
 
  # Handling of arguments.
19639
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19640
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19641
 
  "cm.pc" ) CONFIG_FILES="$CONFIG_FILES cm.pc" ;;
19642
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19643
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
21849
  case $ac_config_target in
 
21850
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
21851
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
21852
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
21853
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
21854
    "cm.pc") CONFIG_FILES="$CONFIG_FILES cm.pc" ;;
 
21855
 
19644
21856
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19645
21857
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19646
21858
   { (exit 1); exit 1; }; };;
19647
21859
  esac
19648
21860
done
19649
21861
 
 
21862
 
19650
21863
# If the user did not use the arguments to specify the items to instantiate,
19651
21864
# then the envvar interface is used.  Set only those that are not.
19652
21865
# We use the long form for the default assignment because of an extremely
19658
21871
fi
19659
21872
 
19660
21873
# Have a temporary directory for convenience.  Make it in the build tree
19661
 
# simply because there is no reason to put it here, and in addition,
 
21874
# simply because there is no reason against having it here, and in addition,
19662
21875
# creating and moving files from /tmp can sometimes cause problems.
19663
 
# Create a temporary directory, and hook for its removal unless debugging.
 
21876
# Hook for its removal unless debugging.
 
21877
# Note that there is a small window in which the directory will not be cleaned:
 
21878
# after its creation but before its name has been assigned to `$tmp'.
19664
21879
$debug ||
19665
21880
{
19666
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
21881
  tmp=
 
21882
  trap 'exit_status=$?
 
21883
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
21884
' 0
19667
21885
  trap '{ (exit 1); exit 1; }' 1 2 13 15
19668
21886
}
19669
 
 
19670
21887
# Create a (secure) tmp directory for tmp files.
19671
21888
 
19672
21889
{
19673
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
21890
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19674
21891
  test -n "$tmp" && test -d "$tmp"
19675
21892
}  ||
19676
21893
{
19677
 
  tmp=./confstat$$-$RANDOM
19678
 
  (umask 077 && mkdir $tmp)
 
21894
  tmp=./conf$$-$RANDOM
 
21895
  (umask 077 && mkdir "$tmp")
19679
21896
} ||
19680
21897
{
19681
21898
   echo "$me: cannot create a temporary directory in ." >&2
19682
21899
   { (exit 1); exit 1; }
19683
21900
}
19684
21901
 
19685
 
_ACEOF
19686
 
 
19687
 
cat >>$CONFIG_STATUS <<_ACEOF
19688
 
 
19689
21902
#
19690
 
# CONFIG_FILES section.
 
21903
# Set up the sed scripts for CONFIG_FILES section.
19691
21904
#
19692
21905
 
19693
21906
# No need to generate the scripts if there are no CONFIG_FILES.
19694
21907
# This happens for instance when ./config.status config.h
19695
 
if test -n "\$CONFIG_FILES"; then
19696
 
  # Protect against being on the right side of a sed subst in config.status.
19697
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19698
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19699
 
s,@SHELL@,$SHELL,;t t
19700
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19701
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19702
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19703
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19704
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19705
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19706
 
s,@exec_prefix@,$exec_prefix,;t t
19707
 
s,@prefix@,$prefix,;t t
19708
 
s,@program_transform_name@,$program_transform_name,;t t
19709
 
s,@bindir@,$bindir,;t t
19710
 
s,@sbindir@,$sbindir,;t t
19711
 
s,@libexecdir@,$libexecdir,;t t
19712
 
s,@datadir@,$datadir,;t t
19713
 
s,@sysconfdir@,$sysconfdir,;t t
19714
 
s,@sharedstatedir@,$sharedstatedir,;t t
19715
 
s,@localstatedir@,$localstatedir,;t t
19716
 
s,@libdir@,$libdir,;t t
19717
 
s,@includedir@,$includedir,;t t
19718
 
s,@oldincludedir@,$oldincludedir,;t t
19719
 
s,@infodir@,$infodir,;t t
19720
 
s,@mandir@,$mandir,;t t
19721
 
s,@build_alias@,$build_alias,;t t
19722
 
s,@host_alias@,$host_alias,;t t
19723
 
s,@target_alias@,$target_alias,;t t
19724
 
s,@DEFS@,$DEFS,;t t
19725
 
s,@ECHO_C@,$ECHO_C,;t t
19726
 
s,@ECHO_N@,$ECHO_N,;t t
19727
 
s,@ECHO_T@,$ECHO_T,;t t
19728
 
s,@LIBS@,$LIBS,;t t
19729
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19730
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19731
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19732
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
19733
 
s,@PACKAGE@,$PACKAGE,;t t
19734
 
s,@VERSION@,$VERSION,;t t
19735
 
s,@ACLOCAL@,$ACLOCAL,;t t
19736
 
s,@AUTOCONF@,$AUTOCONF,;t t
19737
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
19738
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
19739
 
s,@MAKEINFO@,$MAKEINFO,;t t
19740
 
s,@install_sh@,$install_sh,;t t
19741
 
s,@STRIP@,$STRIP,;t t
19742
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19743
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19744
 
s,@mkdir_p@,$mkdir_p,;t t
19745
 
s,@AWK@,$AWK,;t t
19746
 
s,@SET_MAKE@,$SET_MAKE,;t t
19747
 
s,@am__leading_dot@,$am__leading_dot,;t t
19748
 
s,@AMTAR@,$AMTAR,;t t
19749
 
s,@am__tar@,$am__tar,;t t
19750
 
s,@am__untar@,$am__untar,;t t
19751
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
19752
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
19753
 
s,@MAINT@,$MAINT,;t t
19754
 
s,@CC@,$CC,;t t
19755
 
s,@CFLAGS@,$CFLAGS,;t t
19756
 
s,@LDFLAGS@,$LDFLAGS,;t t
19757
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
19758
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
19759
 
s,@EXEEXT@,$EXEEXT,;t t
19760
 
s,@OBJEXT@,$OBJEXT,;t t
19761
 
s,@DEPDIR@,$DEPDIR,;t t
19762
 
s,@am__include@,$am__include,;t t
19763
 
s,@am__quote@,$am__quote,;t t
19764
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19765
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19766
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19767
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
19768
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19769
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19770
 
s,@build@,$build,;t t
19771
 
s,@build_cpu@,$build_cpu,;t t
19772
 
s,@build_vendor@,$build_vendor,;t t
19773
 
s,@build_os@,$build_os,;t t
19774
 
s,@host@,$host,;t t
19775
 
s,@host_cpu@,$host_cpu,;t t
19776
 
s,@host_vendor@,$host_vendor,;t t
19777
 
s,@host_os@,$host_os,;t t
19778
 
s,@EGREP@,$EGREP,;t t
19779
 
s,@LN_S@,$LN_S,;t t
19780
 
s,@ECHO@,$ECHO,;t t
19781
 
s,@AR@,$AR,;t t
19782
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
19783
 
s,@RANLIB@,$RANLIB,;t t
19784
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19785
 
s,@CPP@,$CPP,;t t
19786
 
s,@CXX@,$CXX,;t t
19787
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
19788
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19789
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19790
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19791
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19792
 
s,@CXXCPP@,$CXXCPP,;t t
19793
 
s,@F77@,$F77,;t t
19794
 
s,@FFLAGS@,$FFLAGS,;t t
19795
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
19796
 
s,@LIBTOOL@,$LIBTOOL,;t t
19797
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19798
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
19799
 
s,@DEP_CFLAGS@,$DEP_CFLAGS,;t t
19800
 
s,@DEP_LIBS@,$DEP_LIBS,;t t
19801
 
s,@LIBOBJS@,$LIBOBJS,;t t
19802
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19803
 
CEOF
19804
 
 
19805
 
_ACEOF
19806
 
 
19807
 
  cat >>$CONFIG_STATUS <<\_ACEOF
19808
 
  # Split the substitutions into bite-sized pieces for seds with
19809
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
19810
 
  ac_max_sed_lines=48
19811
 
  ac_sed_frag=1 # Number of current file.
19812
 
  ac_beg=1 # First line for current file.
19813
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
19814
 
  ac_more_lines=:
19815
 
  ac_sed_cmds=
19816
 
  while $ac_more_lines; do
19817
 
    if test $ac_beg -gt 1; then
19818
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19819
 
    else
19820
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19821
 
    fi
19822
 
    if test ! -s $tmp/subs.frag; then
19823
 
      ac_more_lines=false
19824
 
    else
19825
 
      # The purpose of the label and of the branching condition is to
19826
 
      # speed up the sed processing (if there are no `@' at all, there
19827
 
      # is no need to browse any of the substitutions).
19828
 
      # These are the two extra sed commands mentioned above.
19829
 
      (echo ':t
19830
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
19831
 
      if test -z "$ac_sed_cmds"; then
19832
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
19833
 
      else
19834
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19835
 
      fi
19836
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
19837
 
      ac_beg=$ac_end
19838
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
19839
 
    fi
19840
 
  done
19841
 
  if test -z "$ac_sed_cmds"; then
19842
 
    ac_sed_cmds=cat
19843
 
  fi
 
21908
if test -n "$CONFIG_FILES"; then
 
21909
 
 
21910
_ACEOF
 
21911
 
 
21912
 
 
21913
 
 
21914
ac_delim='%!_!# '
 
21915
for ac_last_try in false false false false false :; do
 
21916
  cat >conf$$subs.sed <<_ACEOF
 
21917
SHELL!$SHELL$ac_delim
 
21918
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
21919
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
21920
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
21921
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
21922
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
21923
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
21924
exec_prefix!$exec_prefix$ac_delim
 
21925
prefix!$prefix$ac_delim
 
21926
program_transform_name!$program_transform_name$ac_delim
 
21927
bindir!$bindir$ac_delim
 
21928
sbindir!$sbindir$ac_delim
 
21929
libexecdir!$libexecdir$ac_delim
 
21930
datarootdir!$datarootdir$ac_delim
 
21931
datadir!$datadir$ac_delim
 
21932
sysconfdir!$sysconfdir$ac_delim
 
21933
sharedstatedir!$sharedstatedir$ac_delim
 
21934
localstatedir!$localstatedir$ac_delim
 
21935
includedir!$includedir$ac_delim
 
21936
oldincludedir!$oldincludedir$ac_delim
 
21937
docdir!$docdir$ac_delim
 
21938
infodir!$infodir$ac_delim
 
21939
htmldir!$htmldir$ac_delim
 
21940
dvidir!$dvidir$ac_delim
 
21941
pdfdir!$pdfdir$ac_delim
 
21942
psdir!$psdir$ac_delim
 
21943
libdir!$libdir$ac_delim
 
21944
localedir!$localedir$ac_delim
 
21945
mandir!$mandir$ac_delim
 
21946
DEFS!$DEFS$ac_delim
 
21947
ECHO_C!$ECHO_C$ac_delim
 
21948
ECHO_N!$ECHO_N$ac_delim
 
21949
ECHO_T!$ECHO_T$ac_delim
 
21950
LIBS!$LIBS$ac_delim
 
21951
build_alias!$build_alias$ac_delim
 
21952
host_alias!$host_alias$ac_delim
 
21953
target_alias!$target_alias$ac_delim
 
21954
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
21955
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
21956
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
21957
CYGPATH_W!$CYGPATH_W$ac_delim
 
21958
PACKAGE!$PACKAGE$ac_delim
 
21959
VERSION!$VERSION$ac_delim
 
21960
ACLOCAL!$ACLOCAL$ac_delim
 
21961
AUTOCONF!$AUTOCONF$ac_delim
 
21962
AUTOMAKE!$AUTOMAKE$ac_delim
 
21963
AUTOHEADER!$AUTOHEADER$ac_delim
 
21964
MAKEINFO!$MAKEINFO$ac_delim
 
21965
install_sh!$install_sh$ac_delim
 
21966
STRIP!$STRIP$ac_delim
 
21967
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
21968
mkdir_p!$mkdir_p$ac_delim
 
21969
AWK!$AWK$ac_delim
 
21970
SET_MAKE!$SET_MAKE$ac_delim
 
21971
am__leading_dot!$am__leading_dot$ac_delim
 
21972
AMTAR!$AMTAR$ac_delim
 
21973
am__tar!$am__tar$ac_delim
 
21974
am__untar!$am__untar$ac_delim
 
21975
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
21976
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
21977
MAINT!$MAINT$ac_delim
 
21978
CC!$CC$ac_delim
 
21979
CFLAGS!$CFLAGS$ac_delim
 
21980
LDFLAGS!$LDFLAGS$ac_delim
 
21981
CPPFLAGS!$CPPFLAGS$ac_delim
 
21982
ac_ct_CC!$ac_ct_CC$ac_delim
 
21983
EXEEXT!$EXEEXT$ac_delim
 
21984
OBJEXT!$OBJEXT$ac_delim
 
21985
DEPDIR!$DEPDIR$ac_delim
 
21986
am__include!$am__include$ac_delim
 
21987
am__quote!$am__quote$ac_delim
 
21988
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
21989
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
21990
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
21991
CCDEPMODE!$CCDEPMODE$ac_delim
 
21992
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
21993
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
21994
CPP!$CPP$ac_delim
 
21995
GREP!$GREP$ac_delim
 
21996
EGREP!$EGREP$ac_delim
 
21997
build!$build$ac_delim
 
21998
build_cpu!$build_cpu$ac_delim
 
21999
build_vendor!$build_vendor$ac_delim
 
22000
build_os!$build_os$ac_delim
 
22001
host!$host$ac_delim
 
22002
host_cpu!$host_cpu$ac_delim
 
22003
host_vendor!$host_vendor$ac_delim
 
22004
host_os!$host_os$ac_delim
 
22005
LN_S!$LN_S$ac_delim
 
22006
ECHO!$ECHO$ac_delim
 
22007
AR!$AR$ac_delim
 
22008
RANLIB!$RANLIB$ac_delim
 
22009
CXX!$CXX$ac_delim
 
22010
CXXFLAGS!$CXXFLAGS$ac_delim
 
22011
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
22012
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
22013
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
22014
_ACEOF
 
22015
 
 
22016
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
22017
    break
 
22018
  elif $ac_last_try; then
 
22019
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22020
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22021
   { (exit 1); exit 1; }; }
 
22022
  else
 
22023
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22024
  fi
 
22025
done
 
22026
 
 
22027
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22028
if test -n "$ac_eof"; then
 
22029
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22030
  ac_eof=`expr $ac_eof + 1`
 
22031
fi
 
22032
 
 
22033
cat >>$CONFIG_STATUS <<_ACEOF
 
22034
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
22035
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
22036
_ACEOF
 
22037
sed '
 
22038
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22039
s/^/s,@/; s/!/@,|#_!!_#|/
 
22040
:n
 
22041
t n
 
22042
s/'"$ac_delim"'$/,g/; t
 
22043
s/$/\\/; p
 
22044
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22045
' >>$CONFIG_STATUS <conf$$subs.sed
 
22046
rm -f conf$$subs.sed
 
22047
cat >>$CONFIG_STATUS <<_ACEOF
 
22048
CEOF$ac_eof
 
22049
_ACEOF
 
22050
 
 
22051
 
 
22052
ac_delim='%!_!# '
 
22053
for ac_last_try in false false false false false :; do
 
22054
  cat >conf$$subs.sed <<_ACEOF
 
22055
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
22056
CXXCPP!$CXXCPP$ac_delim
 
22057
F77!$F77$ac_delim
 
22058
FFLAGS!$FFLAGS$ac_delim
 
22059
ac_ct_F77!$ac_ct_F77$ac_delim
 
22060
LIBTOOL!$LIBTOOL$ac_delim
 
22061
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
22062
DEP_CFLAGS!$DEP_CFLAGS$ac_delim
 
22063
DEP_LIBS!$DEP_LIBS$ac_delim
 
22064
LIBOBJS!$LIBOBJS$ac_delim
 
22065
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
22066
_ACEOF
 
22067
 
 
22068
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
 
22069
    break
 
22070
  elif $ac_last_try; then
 
22071
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22072
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22073
   { (exit 1); exit 1; }; }
 
22074
  else
 
22075
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22076
  fi
 
22077
done
 
22078
 
 
22079
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22080
if test -n "$ac_eof"; then
 
22081
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22082
  ac_eof=`expr $ac_eof + 1`
 
22083
fi
 
22084
 
 
22085
cat >>$CONFIG_STATUS <<_ACEOF
 
22086
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
22087
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
22088
_ACEOF
 
22089
sed '
 
22090
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22091
s/^/s,@/; s/!/@,|#_!!_#|/
 
22092
:n
 
22093
t n
 
22094
s/'"$ac_delim"'$/,g/; t
 
22095
s/$/\\/; p
 
22096
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22097
' >>$CONFIG_STATUS <conf$$subs.sed
 
22098
rm -f conf$$subs.sed
 
22099
cat >>$CONFIG_STATUS <<_ACEOF
 
22100
:end
 
22101
s/|#_!!_#|//g
 
22102
CEOF$ac_eof
 
22103
_ACEOF
 
22104
 
 
22105
 
 
22106
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
22107
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
22108
# trailing colons and then remove the whole line if VPATH becomes empty
 
22109
# (actually we leave an empty line to preserve line numbers).
 
22110
if test "x$srcdir" = x.; then
 
22111
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
22112
s/:*\$(srcdir):*/:/
 
22113
s/:*\${srcdir}:*/:/
 
22114
s/:*@srcdir@:*/:/
 
22115
s/^\([^=]*=[     ]*\):*/\1/
 
22116
s/:*$//
 
22117
s/^[^=]*=[       ]*$//
 
22118
}'
 
22119
fi
 
22120
 
 
22121
cat >>$CONFIG_STATUS <<\_ACEOF
19844
22122
fi # test -n "$CONFIG_FILES"
19845
22123
 
19846
 
_ACEOF
19847
 
cat >>$CONFIG_STATUS <<\_ACEOF
19848
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
19849
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19850
 
  case $ac_file in
19851
 
  - | *:- | *:-:* ) # input from stdin
19852
 
        cat >$tmp/stdin
19853
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19854
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19855
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19856
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19857
 
  * )   ac_file_in=$ac_file.in ;;
19858
 
  esac
19859
 
 
19860
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19861
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
22124
 
 
22125
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
22126
do
 
22127
  case $ac_tag in
 
22128
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
22129
  esac
 
22130
  case $ac_mode$ac_tag in
 
22131
  :[FHL]*:*);;
 
22132
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
22133
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
22134
   { (exit 1); exit 1; }; };;
 
22135
  :[FH]-) ac_tag=-:-;;
 
22136
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
22137
  esac
 
22138
  ac_save_IFS=$IFS
 
22139
  IFS=:
 
22140
  set x $ac_tag
 
22141
  IFS=$ac_save_IFS
 
22142
  shift
 
22143
  ac_file=$1
 
22144
  shift
 
22145
 
 
22146
  case $ac_mode in
 
22147
  :L) ac_source=$1;;
 
22148
  :[FH])
 
22149
    ac_file_inputs=
 
22150
    for ac_f
 
22151
    do
 
22152
      case $ac_f in
 
22153
      -) ac_f="$tmp/stdin";;
 
22154
      *) # Look for the file first in the build tree, then in the source tree
 
22155
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
22156
         # because $ac_f cannot contain `:'.
 
22157
         test -f "$ac_f" ||
 
22158
           case $ac_f in
 
22159
           [\\/$]*) false;;
 
22160
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
22161
           esac ||
 
22162
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
22163
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
22164
   { (exit 1); exit 1; }; };;
 
22165
      esac
 
22166
      ac_file_inputs="$ac_file_inputs $ac_f"
 
22167
    done
 
22168
 
 
22169
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
22170
    # use $as_me), people would be surprised to read:
 
22171
    #    /* config.h.  Generated by config.status.  */
 
22172
    configure_input="Generated from "`IFS=:
 
22173
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
22174
    if test x"$ac_file" != x-; then
 
22175
      configure_input="$ac_file.  $configure_input"
 
22176
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
22177
echo "$as_me: creating $ac_file" >&6;}
 
22178
    fi
 
22179
 
 
22180
    case $ac_tag in
 
22181
    *:-:* | *:-) cat >"$tmp/stdin";;
 
22182
    esac
 
22183
    ;;
 
22184
  esac
 
22185
 
 
22186
  ac_dir=`$as_dirname -- "$ac_file" ||
19862
22187
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19863
22188
         X"$ac_file" : 'X\(//\)[^/]' \| \
19864
22189
         X"$ac_file" : 'X\(//\)$' \| \
19865
 
         X"$ac_file" : 'X\(/\)' \| \
19866
 
         .     : '\(.\)' 2>/dev/null ||
 
22190
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19867
22191
echo X"$ac_file" |
19868
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19869
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19870
 
          /^X\(\/\/\)$/{ s//\1/; q; }
19871
 
          /^X\(\/\).*/{ s//\1/; q; }
19872
 
          s/.*/./; q'`
19873
 
  { if $as_mkdir_p; then
19874
 
    mkdir -p "$ac_dir"
19875
 
  else
19876
 
    as_dir="$ac_dir"
 
22192
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22193
            s//\1/
 
22194
            q
 
22195
          }
 
22196
          /^X\(\/\/\)[^/].*/{
 
22197
            s//\1/
 
22198
            q
 
22199
          }
 
22200
          /^X\(\/\/\)$/{
 
22201
            s//\1/
 
22202
            q
 
22203
          }
 
22204
          /^X\(\/\).*/{
 
22205
            s//\1/
 
22206
            q
 
22207
          }
 
22208
          s/.*/./; q'`
 
22209
  { as_dir="$ac_dir"
 
22210
  case $as_dir in #(
 
22211
  -*) as_dir=./$as_dir;;
 
22212
  esac
 
22213
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19877
22214
    as_dirs=
19878
 
    while test ! -d "$as_dir"; do
19879
 
      as_dirs="$as_dir $as_dirs"
19880
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22215
    while :; do
 
22216
      case $as_dir in #(
 
22217
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22218
      *) as_qdir=$as_dir;;
 
22219
      esac
 
22220
      as_dirs="'$as_qdir' $as_dirs"
 
22221
      as_dir=`$as_dirname -- "$as_dir" ||
19881
22222
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19882
22223
         X"$as_dir" : 'X\(//\)[^/]' \| \
19883
22224
         X"$as_dir" : 'X\(//\)$' \| \
19884
 
         X"$as_dir" : 'X\(/\)' \| \
19885
 
         .     : '\(.\)' 2>/dev/null ||
 
22225
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19886
22226
echo X"$as_dir" |
19887
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19888
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19889
 
          /^X\(\/\/\)$/{ s//\1/; q; }
19890
 
          /^X\(\/\).*/{ s//\1/; q; }
19891
 
          s/.*/./; q'`
 
22227
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22228
            s//\1/
 
22229
            q
 
22230
          }
 
22231
          /^X\(\/\/\)[^/].*/{
 
22232
            s//\1/
 
22233
            q
 
22234
          }
 
22235
          /^X\(\/\/\)$/{
 
22236
            s//\1/
 
22237
            q
 
22238
          }
 
22239
          /^X\(\/\).*/{
 
22240
            s//\1/
 
22241
            q
 
22242
          }
 
22243
          s/.*/./; q'`
 
22244
      test -d "$as_dir" && break
19892
22245
    done
19893
 
    test ! -n "$as_dirs" || mkdir $as_dirs
19894
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19895
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22246
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22247
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22248
echo "$as_me: error: cannot create directory $as_dir" >&2;}
19896
22249
   { (exit 1); exit 1; }; }; }
19897
 
 
19898
22250
  ac_builddir=.
19899
22251
 
19900
 
if test "$ac_dir" != .; then
 
22252
case "$ac_dir" in
 
22253
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22254
*)
19901
22255
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19902
 
  # A "../" for each directory in $ac_dir_suffix.
19903
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19904
 
else
19905
 
  ac_dir_suffix= ac_top_builddir=
19906
 
fi
 
22256
  # A ".." for each directory in $ac_dir_suffix.
 
22257
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
22258
  case $ac_top_builddir_sub in
 
22259
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22260
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
22261
  esac ;;
 
22262
esac
 
22263
ac_abs_top_builddir=$ac_pwd
 
22264
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
22265
# for backward compatibility:
 
22266
ac_top_builddir=$ac_top_build_prefix
19907
22267
 
19908
22268
case $srcdir in
19909
 
  .)  # No --srcdir option.  We are building in place.
 
22269
  .)  # We are building in place.
19910
22270
    ac_srcdir=.
19911
 
    if test -z "$ac_top_builddir"; then
19912
 
       ac_top_srcdir=.
19913
 
    else
19914
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19915
 
    fi ;;
19916
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22271
    ac_top_srcdir=$ac_top_builddir_sub
 
22272
    ac_abs_top_srcdir=$ac_pwd ;;
 
22273
  [\\/]* | ?:[\\/]* )  # Absolute name.
19917
22274
    ac_srcdir=$srcdir$ac_dir_suffix;
19918
 
    ac_top_srcdir=$srcdir ;;
19919
 
  *) # Relative path.
19920
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19921
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
19922
 
esac
19923
 
 
19924
 
# Do not use `cd foo && pwd` to compute absolute paths, because
19925
 
# the directories may not exist.
19926
 
case `pwd` in
19927
 
.) ac_abs_builddir="$ac_dir";;
19928
 
*)
19929
 
  case "$ac_dir" in
19930
 
  .) ac_abs_builddir=`pwd`;;
19931
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19932
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
19933
 
  esac;;
19934
 
esac
19935
 
case $ac_abs_builddir in
19936
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
19937
 
*)
19938
 
  case ${ac_top_builddir}. in
19939
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
19940
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19941
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19942
 
  esac;;
19943
 
esac
19944
 
case $ac_abs_builddir in
19945
 
.) ac_abs_srcdir=$ac_srcdir;;
19946
 
*)
19947
 
  case $ac_srcdir in
19948
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
19949
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19950
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19951
 
  esac;;
19952
 
esac
19953
 
case $ac_abs_builddir in
19954
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
19955
 
*)
19956
 
  case $ac_top_srcdir in
19957
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
19958
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19959
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19960
 
  esac;;
19961
 
esac
19962
 
 
 
22275
    ac_top_srcdir=$srcdir
 
22276
    ac_abs_top_srcdir=$srcdir ;;
 
22277
  *) # Relative name.
 
22278
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
22279
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
22280
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
22281
esac
 
22282
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
22283
 
 
22284
 
 
22285
  case $ac_mode in
 
22286
  :F)
 
22287
  #
 
22288
  # CONFIG_FILE
 
22289
  #
19963
22290
 
19964
22291
  case $INSTALL in
19965
22292
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19966
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
22293
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19967
22294
  esac
19968
 
 
19969
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
19970
 
  # use $as_me), people would be surprised to read:
19971
 
  #    /* config.h.  Generated by config.status.  */
19972
 
  if test x"$ac_file" = x-; then
19973
 
    configure_input=
19974
 
  else
19975
 
    configure_input="$ac_file.  "
19976
 
  fi
19977
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
19978
 
                                     sed 's,.*/,,'` by configure."
19979
 
 
19980
 
  # First look for the input files in the build tree, otherwise in the
19981
 
  # src tree.
19982
 
  ac_file_inputs=`IFS=:
19983
 
    for f in $ac_file_in; do
19984
 
      case $f in
19985
 
      -) echo $tmp/stdin ;;
19986
 
      [\\/$]*)
19987
 
         # Absolute (can't be DOS-style, as IFS=:)
19988
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19989
 
echo "$as_me: error: cannot find input file: $f" >&2;}
19990
 
   { (exit 1); exit 1; }; }
19991
 
         echo "$f";;
19992
 
      *) # Relative
19993
 
         if test -f "$f"; then
19994
 
           # Build tree
19995
 
           echo "$f"
19996
 
         elif test -f "$srcdir/$f"; then
19997
 
           # Source tree
19998
 
           echo "$srcdir/$f"
19999
 
         else
20000
 
           # /dev/null tree
20001
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20002
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20003
 
   { (exit 1); exit 1; }; }
20004
 
         fi;;
20005
 
      esac
20006
 
    done` || { (exit 1); exit 1; }
20007
 
 
20008
 
  if test x"$ac_file" != x-; then
20009
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
20010
 
echo "$as_me: creating $ac_file" >&6;}
20011
 
    rm -f "$ac_file"
20012
 
  fi
20013
 
_ACEOF
 
22295
_ACEOF
 
22296
 
 
22297
cat >>$CONFIG_STATUS <<\_ACEOF
 
22298
# If the template does not know about datarootdir, expand it.
 
22299
# FIXME: This hack should be removed a few years after 2.60.
 
22300
ac_datarootdir_hack=; ac_datarootdir_seen=
 
22301
 
 
22302
case `sed -n '/datarootdir/ {
 
22303
  p
 
22304
  q
 
22305
}
 
22306
/@datadir@/p
 
22307
/@docdir@/p
 
22308
/@infodir@/p
 
22309
/@localedir@/p
 
22310
/@mandir@/p
 
22311
' $ac_file_inputs` in
 
22312
*datarootdir*) ac_datarootdir_seen=yes;;
 
22313
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
22314
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
22315
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
22316
_ACEOF
 
22317
cat >>$CONFIG_STATUS <<_ACEOF
 
22318
  ac_datarootdir_hack='
 
22319
  s&@datadir@&$datadir&g
 
22320
  s&@docdir@&$docdir&g
 
22321
  s&@infodir@&$infodir&g
 
22322
  s&@localedir@&$localedir&g
 
22323
  s&@mandir@&$mandir&g
 
22324
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
22325
esac
 
22326
_ACEOF
 
22327
 
 
22328
# Neutralize VPATH when `$srcdir' = `.'.
 
22329
# Shell code in configure.ac might set extrasub.
 
22330
# FIXME: do we really want to maintain this feature?
20014
22331
cat >>$CONFIG_STATUS <<_ACEOF
20015
22332
  sed "$ac_vpsub
20016
22333
$extrasub
20018
22335
cat >>$CONFIG_STATUS <<\_ACEOF
20019
22336
:t
20020
22337
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20021
 
s,@configure_input@,$configure_input,;t t
20022
 
s,@srcdir@,$ac_srcdir,;t t
20023
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20024
 
s,@top_srcdir@,$ac_top_srcdir,;t t
20025
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20026
 
s,@builddir@,$ac_builddir,;t t
20027
 
s,@abs_builddir@,$ac_abs_builddir,;t t
20028
 
s,@top_builddir@,$ac_top_builddir,;t t
20029
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20030
 
s,@INSTALL@,$ac_INSTALL,;t t
20031
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20032
 
  rm -f $tmp/stdin
20033
 
  if test x"$ac_file" != x-; then
20034
 
    mv $tmp/out $ac_file
20035
 
  else
20036
 
    cat $tmp/out
20037
 
    rm -f $tmp/out
20038
 
  fi
20039
 
 
20040
 
done
 
22338
s&@configure_input@&$configure_input&;t t
 
22339
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
22340
s&@srcdir@&$ac_srcdir&;t t
 
22341
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
22342
s&@top_srcdir@&$ac_top_srcdir&;t t
 
22343
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
22344
s&@builddir@&$ac_builddir&;t t
 
22345
s&@abs_builddir@&$ac_abs_builddir&;t t
 
22346
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
22347
s&@INSTALL@&$ac_INSTALL&;t t
 
22348
$ac_datarootdir_hack
 
22349
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
22350
 
 
22351
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
22352
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
22353
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
22354
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22355
which seems to be undefined.  Please make sure it is defined." >&5
 
22356
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22357
which seems to be undefined.  Please make sure it is defined." >&2;}
 
22358
 
 
22359
  rm -f "$tmp/stdin"
 
22360
  case $ac_file in
 
22361
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
22362
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
22363
  esac
 
22364
 ;;
 
22365
  :H)
 
22366
  #
 
22367
  # CONFIG_HEADER
 
22368
  #
20041
22369
_ACEOF
20042
 
cat >>$CONFIG_STATUS <<\_ACEOF
20043
 
 
20044
 
#
20045
 
# CONFIG_HEADER section.
20046
 
#
20047
 
 
20048
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20049
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
20050
 
#
20051
 
# ac_d sets the value in "#define NAME VALUE" lines.
20052
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
20053
 
ac_dB='[         ].*$,\1#\2'
 
22370
 
 
22371
# Transform confdefs.h into a sed script `conftest.defines', that
 
22372
# substitutes the proper values into config.h.in to produce config.h.
 
22373
rm -f conftest.defines conftest.tail
 
22374
# First, append a space to every undef/define line, to ease matching.
 
22375
echo 's/$/ /' >conftest.defines
 
22376
# Then, protect against being on the right side of a sed subst, or in
 
22377
# an unquoted here document, in config.status.  If some macros were
 
22378
# called several times there might be several #defines for the same
 
22379
# symbol, which is useless.  But do not sort them, since the last
 
22380
# AC_DEFINE must be honored.
 
22381
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
22382
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
22383
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
22384
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
22385
# just an empty string.
 
22386
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
22387
ac_dB='\\)[      (].*,\\1define\\2'
20054
22388
ac_dC=' '
20055
 
ac_dD=',;t'
20056
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20057
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
20058
 
ac_uB='$,\1#\2define\3'
20059
 
ac_uC=' '
20060
 
ac_uD=',;t'
20061
 
 
20062
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20063
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20064
 
  case $ac_file in
20065
 
  - | *:- | *:-:* ) # input from stdin
20066
 
        cat >$tmp/stdin
20067
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20068
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20069
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20070
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20071
 
  * )   ac_file_in=$ac_file.in ;;
20072
 
  esac
20073
 
 
20074
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20075
 
echo "$as_me: creating $ac_file" >&6;}
20076
 
 
20077
 
  # First look for the input files in the build tree, otherwise in the
20078
 
  # src tree.
20079
 
  ac_file_inputs=`IFS=:
20080
 
    for f in $ac_file_in; do
20081
 
      case $f in
20082
 
      -) echo $tmp/stdin ;;
20083
 
      [\\/$]*)
20084
 
         # Absolute (can't be DOS-style, as IFS=:)
20085
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20086
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20087
 
   { (exit 1); exit 1; }; }
20088
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
20089
 
         echo "$f";;
20090
 
      *) # Relative
20091
 
         if test -f "$f"; then
20092
 
           # Build tree
20093
 
           echo "$f"
20094
 
         elif test -f "$srcdir/$f"; then
20095
 
           # Source tree
20096
 
           echo "$srcdir/$f"
20097
 
         else
20098
 
           # /dev/null tree
20099
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20100
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20101
 
   { (exit 1); exit 1; }; }
20102
 
         fi;;
20103
 
      esac
20104
 
    done` || { (exit 1); exit 1; }
20105
 
  # Remove the trailing spaces.
20106
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
20107
 
 
20108
 
_ACEOF
20109
 
 
20110
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
20111
 
# `conftest.undefs', that substitutes the proper values into
20112
 
# config.h.in to produce config.h.  The first handles `#define'
20113
 
# templates, and the second `#undef' templates.
20114
 
# And first: Protect against being on the right side of a sed subst in
20115
 
# config.status.  Protect against being in an unquoted here document
20116
 
# in config.status.
20117
 
rm -f conftest.defines conftest.undefs
20118
 
# Using a here document instead of a string reduces the quoting nightmare.
20119
 
# Putting comments in sed scripts is not portable.
20120
 
#
20121
 
# `end' is used to avoid that the second main sed command (meant for
20122
 
# 0-ary CPP macros) applies to n-ary macro definitions.
20123
 
# See the Autoconf documentation for `clear'.
20124
 
cat >confdef2sed.sed <<\_ACEOF
20125
 
s/[\\&,]/\\&/g
20126
 
s,[\\$`],\\&,g
20127
 
t clear
20128
 
: clear
20129
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20130
 
t end
20131
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20132
 
: end
20133
 
_ACEOF
20134
 
# If some macros were called several times there might be several times
20135
 
# the same #defines, which is useless.  Nevertheless, we may not want to
20136
 
# sort them, since we want the *last* AC-DEFINE to be honored.
20137
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20138
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20139
 
rm -f confdef2sed.sed
20140
 
 
20141
 
# This sed command replaces #undef with comments.  This is necessary, for
 
22389
ac_dD=' ,'
 
22390
 
 
22391
uniq confdefs.h |
 
22392
  sed -n '
 
22393
        t rset
 
22394
        :rset
 
22395
        s/^[     ]*#[    ]*define[       ][      ]*//
 
22396
        t ok
 
22397
        d
 
22398
        :ok
 
22399
        s/[\\&,]/\\&/g
 
22400
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
22401
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
22402
  ' >>conftest.defines
 
22403
 
 
22404
# Remove the space that was appended to ease matching.
 
22405
# Then replace #undef with comments.  This is necessary, for
20142
22406
# example, in the case of _POSIX_SOURCE, which is predefined and required
20143
22407
# on some systems where configure will not decide to define it.
20144
 
cat >>conftest.undefs <<\_ACEOF
20145
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
22408
# (The regexp can be short, since the line contains either #define or #undef.)
 
22409
echo 's/ $//
 
22410
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
22411
 
 
22412
# Break up conftest.defines:
 
22413
ac_max_sed_lines=50
 
22414
 
 
22415
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
22416
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
22417
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
22418
# et cetera.
 
22419
ac_in='$ac_file_inputs'
 
22420
ac_out='"$tmp/out1"'
 
22421
ac_nxt='"$tmp/out2"'
 
22422
 
 
22423
while :
 
22424
do
 
22425
  # Write a here document:
 
22426
    cat >>$CONFIG_STATUS <<_ACEOF
 
22427
    # First, check the format of the line:
 
22428
    cat >"\$tmp/defines.sed" <<\\CEOF
 
22429
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
22430
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
22431
b
 
22432
:def
20146
22433
_ACEOF
20147
 
 
20148
 
# Break up conftest.defines because some shells have a limit on the size
20149
 
# of here documents, and old seds have small limits too (100 cmds).
20150
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20151
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20152
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20153
 
echo '  :' >>$CONFIG_STATUS
20154
 
rm -f conftest.tail
20155
 
while grep . conftest.defines >/dev/null
20156
 
do
20157
 
  # Write a limited-size here document to $tmp/defines.sed.
20158
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20159
 
  # Speed up: don't consider the non `#define' lines.
20160
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
20161
 
  # Work around the forget-to-reset-the-flag bug.
20162
 
  echo 't clr' >>$CONFIG_STATUS
20163
 
  echo ': clr' >>$CONFIG_STATUS
20164
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
22434
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20165
22435
  echo 'CEOF
20166
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
20167
 
  rm -f $tmp/in
20168
 
  mv $tmp/out $tmp/in
20169
 
' >>$CONFIG_STATUS
20170
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
22436
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
22437
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
22438
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
22439
  grep . conftest.tail >/dev/null || break
20171
22440
  rm -f conftest.defines
20172
22441
  mv conftest.tail conftest.defines
20173
22442
done
20174
 
rm -f conftest.defines
20175
 
echo '  fi # grep' >>$CONFIG_STATUS
20176
 
echo >>$CONFIG_STATUS
20177
 
 
20178
 
# Break up conftest.undefs because some shells have a limit on the size
20179
 
# of here documents, and old seds have small limits too (100 cmds).
20180
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
20181
 
rm -f conftest.tail
20182
 
while grep . conftest.undefs >/dev/null
20183
 
do
20184
 
  # Write a limited-size here document to $tmp/undefs.sed.
20185
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20186
 
  # Speed up: don't consider the non `#undef'
20187
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
20188
 
  # Work around the forget-to-reset-the-flag bug.
20189
 
  echo 't clr' >>$CONFIG_STATUS
20190
 
  echo ': clr' >>$CONFIG_STATUS
20191
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20192
 
  echo 'CEOF
20193
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20194
 
  rm -f $tmp/in
20195
 
  mv $tmp/out $tmp/in
20196
 
' >>$CONFIG_STATUS
20197
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20198
 
  rm -f conftest.undefs
20199
 
  mv conftest.tail conftest.undefs
20200
 
done
20201
 
rm -f conftest.undefs
20202
 
 
 
22443
rm -f conftest.defines conftest.tail
 
22444
 
 
22445
echo "ac_result=$ac_in" >>$CONFIG_STATUS
20203
22446
cat >>$CONFIG_STATUS <<\_ACEOF
20204
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20205
 
  # use $as_me), people would be surprised to read:
20206
 
  #    /* config.h.  Generated by config.status.  */
20207
 
  if test x"$ac_file" = x-; then
20208
 
    echo "/* Generated by configure.  */" >$tmp/config.h
20209
 
  else
20210
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
20211
 
  fi
20212
 
  cat $tmp/in >>$tmp/config.h
20213
 
  rm -f $tmp/in
20214
22447
  if test x"$ac_file" != x-; then
20215
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
22448
    echo "/* $configure_input  */" >"$tmp/config.h"
 
22449
    cat "$ac_result" >>"$tmp/config.h"
 
22450
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20216
22451
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20217
22452
echo "$as_me: $ac_file is unchanged" >&6;}
20218
22453
    else
20219
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20220
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20221
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
20222
 
         X"$ac_file" : 'X\(//\)$' \| \
20223
 
         X"$ac_file" : 'X\(/\)' \| \
20224
 
         .     : '\(.\)' 2>/dev/null ||
20225
 
echo X"$ac_file" |
20226
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20227
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20228
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20229
 
          /^X\(\/\).*/{ s//\1/; q; }
20230
 
          s/.*/./; q'`
20231
 
      { if $as_mkdir_p; then
20232
 
    mkdir -p "$ac_dir"
20233
 
  else
20234
 
    as_dir="$ac_dir"
20235
 
    as_dirs=
20236
 
    while test ! -d "$as_dir"; do
20237
 
      as_dirs="$as_dir $as_dirs"
20238
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20239
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20240
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20241
 
         X"$as_dir" : 'X\(//\)$' \| \
20242
 
         X"$as_dir" : 'X\(/\)' \| \
20243
 
         .     : '\(.\)' 2>/dev/null ||
20244
 
echo X"$as_dir" |
20245
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20246
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20247
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20248
 
          /^X\(\/\).*/{ s//\1/; q; }
20249
 
          s/.*/./; q'`
20250
 
    done
20251
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20252
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20253
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20254
 
   { (exit 1); exit 1; }; }; }
20255
 
 
20256
22454
      rm -f $ac_file
20257
 
      mv $tmp/config.h $ac_file
 
22455
      mv "$tmp/config.h" $ac_file
20258
22456
    fi
20259
22457
  else
20260
 
    cat $tmp/config.h
20261
 
    rm -f $tmp/config.h
 
22458
    echo "/* $configure_input  */"
 
22459
    cat "$ac_result"
20262
22460
  fi
 
22461
  rm -f "$tmp/out12"
20263
22462
# Compute $ac_file's index in $config_headers.
20264
22463
_am_stamp_count=1
20265
22464
for _am_header in $config_headers :; do
20270
22469
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20271
22470
  esac
20272
22471
done
20273
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
22472
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
20274
22473
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20275
22474
         X$ac_file : 'X\(//\)[^/]' \| \
20276
22475
         X$ac_file : 'X\(//\)$' \| \
20277
 
         X$ac_file : 'X\(/\)' \| \
20278
 
         .     : '\(.\)' 2>/dev/null ||
 
22476
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
20279
22477
echo X$ac_file |
20280
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20281
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20282
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20283
 
          /^X\(\/\).*/{ s//\1/; q; }
20284
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
20285
 
done
20286
 
_ACEOF
20287
 
cat >>$CONFIG_STATUS <<\_ACEOF
20288
 
 
20289
 
#
20290
 
# CONFIG_COMMANDS section.
20291
 
#
20292
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20293
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20294
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20295
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20296
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20297
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
20298
 
         X"$ac_dest" : 'X\(//\)$' \| \
20299
 
         X"$ac_dest" : 'X\(/\)' \| \
20300
 
         .     : '\(.\)' 2>/dev/null ||
20301
 
echo X"$ac_dest" |
20302
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20303
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20304
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20305
 
          /^X\(\/\).*/{ s//\1/; q; }
20306
 
          s/.*/./; q'`
20307
 
  { if $as_mkdir_p; then
20308
 
    mkdir -p "$ac_dir"
20309
 
  else
20310
 
    as_dir="$ac_dir"
20311
 
    as_dirs=
20312
 
    while test ! -d "$as_dir"; do
20313
 
      as_dirs="$as_dir $as_dirs"
20314
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20315
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20316
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20317
 
         X"$as_dir" : 'X\(//\)$' \| \
20318
 
         X"$as_dir" : 'X\(/\)' \| \
20319
 
         .     : '\(.\)' 2>/dev/null ||
20320
 
echo X"$as_dir" |
20321
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20322
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20323
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20324
 
          /^X\(\/\).*/{ s//\1/; q; }
20325
 
          s/.*/./; q'`
20326
 
    done
20327
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20328
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20329
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20330
 
   { (exit 1); exit 1; }; }; }
20331
 
 
20332
 
  ac_builddir=.
20333
 
 
20334
 
if test "$ac_dir" != .; then
20335
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20336
 
  # A "../" for each directory in $ac_dir_suffix.
20337
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20338
 
else
20339
 
  ac_dir_suffix= ac_top_builddir=
20340
 
fi
20341
 
 
20342
 
case $srcdir in
20343
 
  .)  # No --srcdir option.  We are building in place.
20344
 
    ac_srcdir=.
20345
 
    if test -z "$ac_top_builddir"; then
20346
 
       ac_top_srcdir=.
20347
 
    else
20348
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20349
 
    fi ;;
20350
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
20351
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20352
 
    ac_top_srcdir=$srcdir ;;
20353
 
  *) # Relative path.
20354
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20355
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20356
 
esac
20357
 
 
20358
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20359
 
# the directories may not exist.
20360
 
case `pwd` in
20361
 
.) ac_abs_builddir="$ac_dir";;
20362
 
*)
20363
 
  case "$ac_dir" in
20364
 
  .) ac_abs_builddir=`pwd`;;
20365
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20366
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20367
 
  esac;;
20368
 
esac
20369
 
case $ac_abs_builddir in
20370
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20371
 
*)
20372
 
  case ${ac_top_builddir}. in
20373
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20374
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20375
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20376
 
  esac;;
20377
 
esac
20378
 
case $ac_abs_builddir in
20379
 
.) ac_abs_srcdir=$ac_srcdir;;
20380
 
*)
20381
 
  case $ac_srcdir in
20382
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20383
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20384
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20385
 
  esac;;
20386
 
esac
20387
 
case $ac_abs_builddir in
20388
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20389
 
*)
20390
 
  case $ac_top_srcdir in
20391
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20392
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20393
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20394
 
  esac;;
20395
 
esac
20396
 
 
20397
 
 
20398
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20399
 
echo "$as_me: executing $ac_dest commands" >&6;}
20400
 
  case $ac_dest in
20401
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
22478
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22479
            s//\1/
 
22480
            q
 
22481
          }
 
22482
          /^X\(\/\/\)[^/].*/{
 
22483
            s//\1/
 
22484
            q
 
22485
          }
 
22486
          /^X\(\/\/\)$/{
 
22487
            s//\1/
 
22488
            q
 
22489
          }
 
22490
          /^X\(\/\).*/{
 
22491
            s//\1/
 
22492
            q
 
22493
          }
 
22494
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
22495
 ;;
 
22496
 
 
22497
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
22498
echo "$as_me: executing $ac_file commands" >&6;}
 
22499
 ;;
 
22500
  esac
 
22501
 
 
22502
 
 
22503
  case $ac_file$ac_mode in
 
22504
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20402
22505
  # Strip MF so we end up with the name of the file.
20403
22506
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20404
22507
  # Check whether this is an Automake generated Makefile or not.
20408
22511
  # each Makefile.in and add a new line on top of each file to say so.
20409
22512
  # So let's grep whole file.
20410
22513
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20411
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
22514
    dirpart=`$as_dirname -- "$mf" ||
20412
22515
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20413
22516
         X"$mf" : 'X\(//\)[^/]' \| \
20414
22517
         X"$mf" : 'X\(//\)$' \| \
20415
 
         X"$mf" : 'X\(/\)' \| \
20416
 
         .     : '\(.\)' 2>/dev/null ||
 
22518
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20417
22519
echo X"$mf" |
20418
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20419
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20420
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20421
 
          /^X\(\/\).*/{ s//\1/; q; }
20422
 
          s/.*/./; q'`
 
22520
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22521
            s//\1/
 
22522
            q
 
22523
          }
 
22524
          /^X\(\/\/\)[^/].*/{
 
22525
            s//\1/
 
22526
            q
 
22527
          }
 
22528
          /^X\(\/\/\)$/{
 
22529
            s//\1/
 
22530
            q
 
22531
          }
 
22532
          /^X\(\/\).*/{
 
22533
            s//\1/
 
22534
            q
 
22535
          }
 
22536
          s/.*/./; q'`
20423
22537
  else
20424
22538
    continue
20425
22539
  fi
20441
22555
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20442
22556
    # Make sure the directory exists.
20443
22557
    test -f "$dirpart/$file" && continue
20444
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
22558
    fdir=`$as_dirname -- "$file" ||
20445
22559
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20446
22560
         X"$file" : 'X\(//\)[^/]' \| \
20447
22561
         X"$file" : 'X\(//\)$' \| \
20448
 
         X"$file" : 'X\(/\)' \| \
20449
 
         .     : '\(.\)' 2>/dev/null ||
 
22562
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20450
22563
echo X"$file" |
20451
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20452
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20453
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20454
 
          /^X\(\/\).*/{ s//\1/; q; }
20455
 
          s/.*/./; q'`
20456
 
    { if $as_mkdir_p; then
20457
 
    mkdir -p $dirpart/$fdir
20458
 
  else
20459
 
    as_dir=$dirpart/$fdir
 
22564
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22565
            s//\1/
 
22566
            q
 
22567
          }
 
22568
          /^X\(\/\/\)[^/].*/{
 
22569
            s//\1/
 
22570
            q
 
22571
          }
 
22572
          /^X\(\/\/\)$/{
 
22573
            s//\1/
 
22574
            q
 
22575
          }
 
22576
          /^X\(\/\).*/{
 
22577
            s//\1/
 
22578
            q
 
22579
          }
 
22580
          s/.*/./; q'`
 
22581
    { as_dir=$dirpart/$fdir
 
22582
  case $as_dir in #(
 
22583
  -*) as_dir=./$as_dir;;
 
22584
  esac
 
22585
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20460
22586
    as_dirs=
20461
 
    while test ! -d "$as_dir"; do
20462
 
      as_dirs="$as_dir $as_dirs"
20463
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22587
    while :; do
 
22588
      case $as_dir in #(
 
22589
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22590
      *) as_qdir=$as_dir;;
 
22591
      esac
 
22592
      as_dirs="'$as_qdir' $as_dirs"
 
22593
      as_dir=`$as_dirname -- "$as_dir" ||
20464
22594
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20465
22595
         X"$as_dir" : 'X\(//\)[^/]' \| \
20466
22596
         X"$as_dir" : 'X\(//\)$' \| \
20467
 
         X"$as_dir" : 'X\(/\)' \| \
20468
 
         .     : '\(.\)' 2>/dev/null ||
 
22597
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20469
22598
echo X"$as_dir" |
20470
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20471
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20472
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20473
 
          /^X\(\/\).*/{ s//\1/; q; }
20474
 
          s/.*/./; q'`
 
22599
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22600
            s//\1/
 
22601
            q
 
22602
          }
 
22603
          /^X\(\/\/\)[^/].*/{
 
22604
            s//\1/
 
22605
            q
 
22606
          }
 
22607
          /^X\(\/\/\)$/{
 
22608
            s//\1/
 
22609
            q
 
22610
          }
 
22611
          /^X\(\/\).*/{
 
22612
            s//\1/
 
22613
            q
 
22614
          }
 
22615
          s/.*/./; q'`
 
22616
      test -d "$as_dir" && break
20475
22617
    done
20476
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20477
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20478
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
22618
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22619
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22620
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20479
22621
   { (exit 1); exit 1; }; }; }
20480
 
 
20481
22622
    # echo "creating $dirpart/$file"
20482
22623
    echo '# dummy' > "$dirpart/$file"
20483
22624
  done
20484
22625
done
20485
22626
 ;;
 
22627
 
20486
22628
  esac
20487
 
done
20488
 
_ACEOF
 
22629
done # for ac_tag
20489
22630
 
20490
 
cat >>$CONFIG_STATUS <<\_ACEOF
20491
22631
 
20492
22632
{ (exit 0); exit 0; }
20493
22633
_ACEOF