~ubuntu-branches/ubuntu/gutsy/hplip/gutsy-security

« back to all changes in this revision

Viewing changes to prnt/hpijs/configure

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2006-09-15 18:00:07 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060915180007-96mez3nck3oy5wij
Tags: 1.6.7-2ubuntu1
* Merge from debian unstable.
* Removed patches 50_ui-supportform-cleanups.dpatch and
  55_ui-supportform-debian.dpatch, there is no support window in the HP
  toolbox any more.
* HPLIP (file io/hpiod/usbext.h) includes linux/compiler.h which is not
  part of Ubuntu Linux and not needed. Removed the include with patch
  80_no-compiler.h.dpatch.
* debian/control: Let the "Conflicts:" of hpijs-ppds be only a "Breaks:"
  to facilitate an update from the previous version when both hpijs and
  hpijs-ppds are installed.

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 HP IJS printer driver 2.1.10.
 
3
# Generated by GNU Autoconf 2.60 for HP IJS printer driver 2.6.7.
4
4
#
5
5
# Report bugs to <hpijs@packages.debian.org>.
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
#
45
46
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46
47
  # is contrary to our usage.  Disable this feature.
47
48
  alias -g '${1+"$@"}'='"$@"'
48
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49
 
  set -o posix
 
49
  setopt NO_GLOB_SUBST
 
50
else
 
51
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
50
52
fi
 
53
BIN_SH=xpg4; export BIN_SH # for Tru64
51
54
DUALCASE=1; export DUALCASE # for MKS sh
52
55
 
 
56
 
 
57
# PATH needs CR
 
58
# Avoid depending upon Character Ranges.
 
59
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
60
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
61
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
62
as_cr_digits='0123456789'
 
63
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
64
 
 
65
# The user is always right.
 
66
if test "${PATH_SEPARATOR+set}" != set; then
 
67
  echo "#! /bin/sh" >conf$$.sh
 
68
  echo  "exit 0"   >>conf$$.sh
 
69
  chmod +x conf$$.sh
 
70
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
71
    PATH_SEPARATOR=';'
 
72
  else
 
73
    PATH_SEPARATOR=:
 
74
  fi
 
75
  rm -f conf$$.sh
 
76
fi
 
77
 
53
78
# Support unset when possible.
54
79
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
80
  as_unset=unset
58
83
fi
59
84
 
60
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
as_nl='
 
92
'
 
93
IFS=" ""        $as_nl"
 
94
 
 
95
# Find who we are.  Look in the path if we contain no directory separator.
 
96
case $0 in
 
97
  *[\\/]* ) as_myself=$0 ;;
 
98
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
99
for as_dir in $PATH
 
100
do
 
101
  IFS=$as_save_IFS
 
102
  test -z "$as_dir" && as_dir=.
 
103
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
104
done
 
105
IFS=$as_save_IFS
 
106
 
 
107
     ;;
 
108
esac
 
109
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
110
# in which case we are not to be found in the path.
 
111
if test "x$as_myself" = x; then
 
112
  as_myself=$0
 
113
fi
 
114
if test ! -f "$as_myself"; then
 
115
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  { (exit 1); exit 1; }
 
117
fi
 
118
 
61
119
# Work around bugs in pre-3.0 UWIN ksh.
62
 
$as_unset ENV MAIL MAILPATH
 
120
for as_var in ENV MAIL MAILPATH
 
121
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
122
done
63
123
PS1='$ '
64
124
PS2='> '
65
125
PS4='+ '
73
133
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
74
134
    eval $as_var=C; export $as_var
75
135
  else
76
 
    $as_unset $as_var
 
136
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
77
137
  fi
78
138
done
79
139
 
80
140
# Required to use basename.
81
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
141
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
142
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
82
143
  as_expr=expr
83
144
else
84
145
  as_expr=false
85
146
fi
86
147
 
87
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
148
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
88
149
  as_basename=basename
89
150
else
90
151
  as_basename=false
92
153
 
93
154
 
94
155
# Name of the executable.
95
 
as_me=`$as_basename "$0" ||
 
156
as_me=`$as_basename -- "$0" ||
96
157
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97
158
         X"$0" : 'X\(//\)$' \| \
98
 
         X"$0" : 'X\(/\)$' \| \
99
 
         .     : '\(.\)' 2>/dev/null ||
 
159
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
100
160
echo X/"$0" |
101
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
102
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
103
 
          /^X\/\(\/\).*/{ s//\1/; q; }
104
 
          s/.*/./; q'`
105
 
 
106
 
 
107
 
# PATH needs CR, and LINENO needs CR and PATH.
108
 
# Avoid depending upon Character Ranges.
109
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
111
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
112
 
as_cr_digits='0123456789'
113
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
114
 
 
115
 
# The user is always right.
116
 
if test "${PATH_SEPARATOR+set}" != set; then
117
 
  echo "#! /bin/sh" >conf$$.sh
118
 
  echo  "exit 0"   >>conf$$.sh
119
 
  chmod +x conf$$.sh
120
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121
 
    PATH_SEPARATOR=';'
122
 
  else
123
 
    PATH_SEPARATOR=:
124
 
  fi
125
 
  rm -f conf$$.sh
126
 
fi
127
 
 
128
 
 
129
 
  as_lineno_1=$LINENO
130
 
  as_lineno_2=$LINENO
131
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
132
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
133
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
134
 
  # Find who we are.  Look in the path if we contain no path at all
135
 
  # relative or not.
136
 
  case $0 in
137
 
    *[\\/]* ) as_myself=$0 ;;
138
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
139
 
for as_dir in $PATH
140
 
do
141
 
  IFS=$as_save_IFS
142
 
  test -z "$as_dir" && as_dir=.
143
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
144
 
done
145
 
 
146
 
       ;;
147
 
  esac
148
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
149
 
  # in which case we are not to be found in the path.
150
 
  if test "x$as_myself" = x; then
151
 
    as_myself=$0
152
 
  fi
153
 
  if test ! -f "$as_myself"; then
154
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
155
 
   { (exit 1); exit 1; }; }
156
 
  fi
157
 
  case $CONFIG_SHELL in
158
 
  '')
 
161
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\/\)$/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          /^X\/\(\/\).*/{
 
170
            s//\1/
 
171
            q
 
172
          }
 
173
          s/.*/./; q'`
 
174
 
 
175
# CDPATH.
 
176
$as_unset CDPATH
 
177
 
 
178
 
 
179
if test "x$CONFIG_SHELL" = x; then
 
180
  if (eval ":") 2>/dev/null; then
 
181
  as_have_required=yes
 
182
else
 
183
  as_have_required=no
 
184
fi
 
185
 
 
186
  if test $as_have_required = yes &&     (eval ":
 
187
(as_func_return () {
 
188
  (exit \$1)
 
189
}
 
190
as_func_success () {
 
191
  as_func_return 0
 
192
}
 
193
as_func_failure () {
 
194
  as_func_return 1
 
195
}
 
196
as_func_ret_success () {
 
197
  return 0
 
198
}
 
199
as_func_ret_failure () {
 
200
  return 1
 
201
}
 
202
 
 
203
exitcode=0
 
204
if as_func_success; then
 
205
  :
 
206
else
 
207
  exitcode=1
 
208
  echo as_func_success failed.
 
209
fi
 
210
 
 
211
if as_func_failure; then
 
212
  exitcode=1
 
213
  echo as_func_failure succeeded.
 
214
fi
 
215
 
 
216
if as_func_ret_success; then
 
217
  :
 
218
else
 
219
  exitcode=1
 
220
  echo as_func_ret_success failed.
 
221
fi
 
222
 
 
223
if as_func_ret_failure; then
 
224
  exitcode=1
 
225
  echo as_func_ret_failure succeeded.
 
226
fi
 
227
 
 
228
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
229
  :
 
230
else
 
231
  exitcode=1
 
232
  echo positional parameters were not saved.
 
233
fi
 
234
 
 
235
test \$exitcode = 0) || { (exit 1); exit 1; }
 
236
 
 
237
(
 
238
  as_lineno_1=\$LINENO
 
239
  as_lineno_2=\$LINENO
 
240
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
241
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
242
") 2> /dev/null; then
 
243
  :
 
244
else
 
245
  as_candidate_shells=
159
246
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
160
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
247
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
161
248
do
162
249
  IFS=$as_save_IFS
163
250
  test -z "$as_dir" && as_dir=.
164
 
  for as_base in sh bash ksh sh5; do
165
 
         case $as_dir in
 
251
  case $as_dir in
166
252
         /*)
167
 
           if ("$as_dir/$as_base" -c '
168
 
  as_lineno_1=$LINENO
169
 
  as_lineno_2=$LINENO
170
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
171
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
172
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
173
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
174
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
175
 
             CONFIG_SHELL=$as_dir/$as_base
176
 
             export CONFIG_SHELL
177
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
178
 
           fi;;
179
 
         esac
180
 
       done
 
253
           for as_base in sh bash ksh sh5; do
 
254
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
255
           done;;
 
256
       esac
181
257
done
182
 
;;
183
 
  esac
 
258
IFS=$as_save_IFS
 
259
 
 
260
 
 
261
      for as_shell in $as_candidate_shells $SHELL; do
 
262
         # Try only shells that exist, to save several forks.
 
263
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
264
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
265
# Be Bourne compatible
 
266
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
267
  emulate sh
 
268
  NULLCMD=:
 
269
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
270
  # is contrary to our usage.  Disable this feature.
 
271
  alias -g '${1+"$@"}'='"$@"'
 
272
  setopt NO_GLOB_SUBST
 
273
else
 
274
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
275
fi
 
276
BIN_SH=xpg4; export BIN_SH # for Tru64
 
277
DUALCASE=1; export DUALCASE # for MKS sh
 
278
 
 
279
:
 
280
_ASEOF
 
281
}; then
 
282
  CONFIG_SHELL=$as_shell
 
283
               as_have_required=yes
 
284
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
285
# Be Bourne compatible
 
286
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
287
  emulate sh
 
288
  NULLCMD=:
 
289
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
290
  # is contrary to our usage.  Disable this feature.
 
291
  alias -g '${1+"$@"}'='"$@"'
 
292
  setopt NO_GLOB_SUBST
 
293
else
 
294
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
295
fi
 
296
BIN_SH=xpg4; export BIN_SH # for Tru64
 
297
DUALCASE=1; export DUALCASE # for MKS sh
 
298
 
 
299
:
 
300
(as_func_return () {
 
301
  (exit $1)
 
302
}
 
303
as_func_success () {
 
304
  as_func_return 0
 
305
}
 
306
as_func_failure () {
 
307
  as_func_return 1
 
308
}
 
309
as_func_ret_success () {
 
310
  return 0
 
311
}
 
312
as_func_ret_failure () {
 
313
  return 1
 
314
}
 
315
 
 
316
exitcode=0
 
317
if as_func_success; then
 
318
  :
 
319
else
 
320
  exitcode=1
 
321
  echo as_func_success failed.
 
322
fi
 
323
 
 
324
if as_func_failure; then
 
325
  exitcode=1
 
326
  echo as_func_failure succeeded.
 
327
fi
 
328
 
 
329
if as_func_ret_success; then
 
330
  :
 
331
else
 
332
  exitcode=1
 
333
  echo as_func_ret_success failed.
 
334
fi
 
335
 
 
336
if as_func_ret_failure; then
 
337
  exitcode=1
 
338
  echo as_func_ret_failure succeeded.
 
339
fi
 
340
 
 
341
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
342
  :
 
343
else
 
344
  exitcode=1
 
345
  echo positional parameters were not saved.
 
346
fi
 
347
 
 
348
test $exitcode = 0) || { (exit 1); exit 1; }
 
349
 
 
350
(
 
351
  as_lineno_1=$LINENO
 
352
  as_lineno_2=$LINENO
 
353
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
354
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
355
 
 
356
_ASEOF
 
357
}; then
 
358
  break
 
359
fi
 
360
 
 
361
fi
 
362
 
 
363
      done
 
364
 
 
365
      if test "x$CONFIG_SHELL" != x; then
 
366
  for as_var in BASH_ENV ENV
 
367
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
368
        done
 
369
        export CONFIG_SHELL
 
370
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
371
fi
 
372
 
 
373
 
 
374
    if test $as_have_required = no; then
 
375
  echo This script requires a shell more modern than all the
 
376
      echo shells that I found on your system.  Please install a
 
377
      echo modern shell, or manually run the script under such a
 
378
      echo shell if you do have one.
 
379
      { (exit 1); exit 1; }
 
380
fi
 
381
 
 
382
 
 
383
fi
 
384
 
 
385
fi
 
386
 
 
387
 
 
388
 
 
389
(eval "as_func_return () {
 
390
  (exit \$1)
 
391
}
 
392
as_func_success () {
 
393
  as_func_return 0
 
394
}
 
395
as_func_failure () {
 
396
  as_func_return 1
 
397
}
 
398
as_func_ret_success () {
 
399
  return 0
 
400
}
 
401
as_func_ret_failure () {
 
402
  return 1
 
403
}
 
404
 
 
405
exitcode=0
 
406
if as_func_success; then
 
407
  :
 
408
else
 
409
  exitcode=1
 
410
  echo as_func_success failed.
 
411
fi
 
412
 
 
413
if as_func_failure; then
 
414
  exitcode=1
 
415
  echo as_func_failure succeeded.
 
416
fi
 
417
 
 
418
if as_func_ret_success; then
 
419
  :
 
420
else
 
421
  exitcode=1
 
422
  echo as_func_ret_success failed.
 
423
fi
 
424
 
 
425
if as_func_ret_failure; then
 
426
  exitcode=1
 
427
  echo as_func_ret_failure succeeded.
 
428
fi
 
429
 
 
430
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
431
  :
 
432
else
 
433
  exitcode=1
 
434
  echo positional parameters were not saved.
 
435
fi
 
436
 
 
437
test \$exitcode = 0") || {
 
438
  echo No shell found that supports shell functions.
 
439
  echo Please tell autoconf@gnu.org about your system,
 
440
  echo including any error possibly output before this
 
441
  echo message
 
442
}
 
443
 
 
444
 
 
445
 
 
446
  as_lineno_1=$LINENO
 
447
  as_lineno_2=$LINENO
 
448
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
449
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
184
450
 
185
451
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
186
452
  # uniformly replaced by the line number.  The first 'sed' inserts a
187
 
  # line-number line before each line; the second 'sed' does the real
188
 
  # work.  The second script uses 'N' to pair each line-number line
189
 
  # with the numbered line, and appends trailing '-' during
190
 
  # substitution so that $LINENO is not a special case at line end.
 
453
  # line-number line after each line using $LINENO; the second 'sed'
 
454
  # does the real work.  The second script uses 'N' to pair each
 
455
  # line-number line with the line containing $LINENO, and appends
 
456
  # trailing '-' during substitution so that $LINENO is not a special
 
457
  # case at line end.
191
458
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
192
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
193
 
  sed '=' <$as_myself |
 
459
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
460
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
461
  sed -n '
 
462
    p
 
463
    /[$]LINENO/=
 
464
  ' <$as_myself |
194
465
    sed '
 
466
      s/[$]LINENO.*/&-/
 
467
      t lineno
 
468
      b
 
469
      :lineno
195
470
      N
196
 
      s,$,-,
197
 
      : loop
198
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
471
      :loop
 
472
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
199
473
      t loop
200
 
      s,-$,,
201
 
      s,^['$as_cr_digits']*\n,,
 
474
      s/-\n.*//
202
475
    ' >$as_me.lineno &&
203
 
  chmod +x $as_me.lineno ||
 
476
  chmod +x "$as_me.lineno" ||
204
477
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
205
478
   { (exit 1); exit 1; }; }
206
479
 
207
480
  # Don't try to exec as it changes $[0], causing all sort of problems
208
481
  # (the dirname of $[0] is not the place where we might find the
209
 
  # original and so on.  Autoconf is especially sensible to this).
210
 
  . ./$as_me.lineno
 
482
  # original and so on.  Autoconf is especially sensitive to this).
 
483
  . "./$as_me.lineno"
211
484
  # Exit status is that of the last command.
212
485
  exit
213
486
}
214
487
 
215
488
 
216
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
217
 
  *c*,-n*) ECHO_N= ECHO_C='
218
 
' ECHO_T='      ' ;;
219
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
220
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
489
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
490
  as_dirname=dirname
 
491
else
 
492
  as_dirname=false
 
493
fi
 
494
 
 
495
ECHO_C= ECHO_N= ECHO_T=
 
496
case `echo -n x` in
 
497
-n*)
 
498
  case `echo 'x\c'` in
 
499
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
500
  *)   ECHO_C='\c';;
 
501
  esac;;
 
502
*)
 
503
  ECHO_N='-n';;
221
504
esac
222
505
 
223
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
506
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
507
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
224
508
  as_expr=expr
225
509
else
226
510
  as_expr=false
227
511
fi
228
512
 
229
513
rm -f conf$$ conf$$.exe conf$$.file
 
514
if test -d conf$$.dir; then
 
515
  rm -f conf$$.dir/conf$$.file
 
516
else
 
517
  rm -f conf$$.dir
 
518
  mkdir conf$$.dir
 
519
fi
230
520
echo >conf$$.file
231
521
if ln -s conf$$.file conf$$ 2>/dev/null; then
232
 
  # We could just check for DJGPP; but this test a) works b) is more generic
233
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
234
 
  if test -f conf$$.exe; then
235
 
    # Don't use ln at all; we don't have any links
 
522
  as_ln_s='ln -s'
 
523
  # ... but there are two gotchas:
 
524
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
525
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
526
  # In both cases, we have to default to `cp -p'.
 
527
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
236
528
    as_ln_s='cp -p'
237
 
  else
238
 
    as_ln_s='ln -s'
239
 
  fi
240
529
elif ln conf$$.file conf$$ 2>/dev/null; then
241
530
  as_ln_s=ln
242
531
else
243
532
  as_ln_s='cp -p'
244
533
fi
245
 
rm -f conf$$ conf$$.exe conf$$.file
 
534
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
535
rmdir conf$$.dir 2>/dev/null
246
536
 
247
537
if mkdir -p . 2>/dev/null; then
248
538
  as_mkdir_p=:
251
541
  as_mkdir_p=false
252
542
fi
253
543
 
254
 
as_executable_p="test -f"
 
544
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
545
# systems may use methods other than mode bits to determine executability.
 
546
cat >conf$$.file <<_ASEOF
 
547
#! /bin/sh
 
548
exit 0
 
549
_ASEOF
 
550
chmod +x conf$$.file
 
551
if test -x conf$$.file >/dev/null 2>&1; then
 
552
  as_executable_p="test -x"
 
553
else
 
554
  as_executable_p=:
 
555
fi
 
556
rm -f conf$$.file
255
557
 
256
558
# Sed expression to map a string onto a valid CPP name.
257
559
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
260
562
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
261
563
 
262
564
 
263
 
# IFS
264
 
# We need space, tab and new line, in precisely that order.
265
 
as_nl='
266
 
'
267
 
IFS="   $as_nl"
268
 
 
269
 
# CDPATH.
270
 
$as_unset CDPATH
271
 
 
272
565
 
273
566
 
274
567
# Check that we are running under the correct shell.
424
717
 
425
718
tagnames=${tagnames+${tagnames},}F77
426
719
 
 
720
exec 7<&0 </dev/null 6>&1
 
721
 
427
722
# Name of the host.
428
723
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
429
724
# so uname gets run too.
430
725
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
431
726
 
432
 
exec 6>&1
433
 
 
434
727
#
435
728
# Initializations.
436
729
#
437
730
ac_default_prefix=/usr/local
 
731
ac_clean_files=
438
732
ac_config_libobj_dir=.
 
733
LIBOBJS=
439
734
cross_compiling=no
440
735
subdirs=
441
736
MFLAGS=
442
737
MAKEFLAGS=
443
738
SHELL=${CONFIG_SHELL-/bin/sh}
444
739
 
445
 
# Maximum number of lines to put in a shell here document.
446
 
# This variable seems obsolete.  It should probably be removed, and
447
 
# only ac_max_sed_lines should be used.
448
 
: ${ac_max_here_lines=38}
449
 
 
450
740
# Identity of this package.
451
741
PACKAGE_NAME='HP IJS printer driver'
452
742
PACKAGE_TARNAME='hpijs'
453
 
PACKAGE_VERSION='2.1.10'
454
 
PACKAGE_STRING='HP IJS printer driver 2.1.10'
 
743
PACKAGE_VERSION='2.6.7'
 
744
PACKAGE_STRING='HP IJS printer driver 2.6.7'
455
745
PACKAGE_BUGREPORT='hpijs@packages.debian.org'
456
746
 
457
747
ac_unique_file="hpijs.cpp"
483
773
#endif
484
774
#if HAVE_INTTYPES_H
485
775
# include <inttypes.h>
486
 
#else
487
 
# if HAVE_STDINT_H
488
 
#  include <stdint.h>
489
 
# endif
 
776
#endif
 
777
#if HAVE_STDINT_H
 
778
# include <stdint.h>
490
779
#endif
491
780
#if HAVE_UNISTD_H
492
781
# include <unistd.h>
493
782
#endif"
494
783
 
495
 
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 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 CUPS_PPD_PATH CUPS_FILTER_PATH CUPS_INSTALL_TRUE CUPS_INSTALL_FALSE FOOMATIC_INSTALL_TRUE FOOMATIC_INSTALL_FALSE HPLIP_BUILD_TRUE HPLIP_BUILD_FALSE LIBOBJS LTLIBOBJS'
 
784
ac_subst_vars='SHELL
 
785
PATH_SEPARATOR
 
786
PACKAGE_NAME
 
787
PACKAGE_TARNAME
 
788
PACKAGE_VERSION
 
789
PACKAGE_STRING
 
790
PACKAGE_BUGREPORT
 
791
exec_prefix
 
792
prefix
 
793
program_transform_name
 
794
bindir
 
795
sbindir
 
796
libexecdir
 
797
datarootdir
 
798
datadir
 
799
sysconfdir
 
800
sharedstatedir
 
801
localstatedir
 
802
includedir
 
803
oldincludedir
 
804
docdir
 
805
infodir
 
806
htmldir
 
807
dvidir
 
808
pdfdir
 
809
psdir
 
810
libdir
 
811
localedir
 
812
mandir
 
813
DEFS
 
814
ECHO_C
 
815
ECHO_N
 
816
ECHO_T
 
817
LIBS
 
818
build_alias
 
819
host_alias
 
820
target_alias
 
821
INSTALL_PROGRAM
 
822
INSTALL_SCRIPT
 
823
INSTALL_DATA
 
824
CYGPATH_W
 
825
PACKAGE
 
826
VERSION
 
827
ACLOCAL
 
828
AUTOCONF
 
829
AUTOMAKE
 
830
AUTOHEADER
 
831
MAKEINFO
 
832
install_sh
 
833
STRIP
 
834
INSTALL_STRIP_PROGRAM
 
835
mkdir_p
 
836
AWK
 
837
SET_MAKE
 
838
am__leading_dot
 
839
AMTAR
 
840
am__tar
 
841
am__untar
 
842
MAINTAINER_MODE_TRUE
 
843
MAINTAINER_MODE_FALSE
 
844
MAINT
 
845
build
 
846
build_cpu
 
847
build_vendor
 
848
build_os
 
849
host
 
850
host_cpu
 
851
host_vendor
 
852
host_os
 
853
CC
 
854
CFLAGS
 
855
LDFLAGS
 
856
CPPFLAGS
 
857
ac_ct_CC
 
858
EXEEXT
 
859
OBJEXT
 
860
DEPDIR
 
861
am__include
 
862
am__quote
 
863
AMDEP_TRUE
 
864
AMDEP_FALSE
 
865
AMDEPBACKSLASH
 
866
CCDEPMODE
 
867
am__fastdepCC_TRUE
 
868
am__fastdepCC_FALSE
 
869
GREP
 
870
EGREP
 
871
LN_S
 
872
ECHO
 
873
AR
 
874
RANLIB
 
875
CPP
 
876
CXX
 
877
CXXFLAGS
 
878
ac_ct_CXX
 
879
CXXDEPMODE
 
880
am__fastdepCXX_TRUE
 
881
am__fastdepCXX_FALSE
 
882
CXXCPP
 
883
F77
 
884
FFLAGS
 
885
ac_ct_F77
 
886
LIBTOOL
 
887
CUPS_PPD_PATH
 
888
CUPS_FILTER_PATH
 
889
CUPS_INSTALL_TRUE
 
890
CUPS_INSTALL_FALSE
 
891
FOOMATIC_INSTALL_TRUE
 
892
FOOMATIC_INSTALL_FALSE
 
893
HPLIP_BUILD_TRUE
 
894
HPLIP_BUILD_FALSE
 
895
LIBOBJS
 
896
LTLIBOBJS'
496
897
ac_subst_files=''
 
898
      ac_precious_vars='build_alias
 
899
host_alias
 
900
target_alias
 
901
CC
 
902
CFLAGS
 
903
LDFLAGS
 
904
CPPFLAGS
 
905
CPP
 
906
CXX
 
907
CXXFLAGS
 
908
CCC
 
909
CXXCPP
 
910
F77
 
911
FFLAGS
 
912
CUPS_PPD_PATH
 
913
CUPS_FILTER_PATH'
 
914
 
497
915
 
498
916
# Initialize some variables set by options.
499
917
ac_init_help=
520
938
# and all the variables that are supposed to be based on exec_prefix
521
939
# by default will actually change.
522
940
# Use braces instead of parens because sh, perl, etc. also accept them.
 
941
# (The list follows the same order as the GNU Coding Standards.)
523
942
bindir='${exec_prefix}/bin'
524
943
sbindir='${exec_prefix}/sbin'
525
944
libexecdir='${exec_prefix}/libexec'
526
 
datadir='${prefix}/share'
 
945
datarootdir='${prefix}/share'
 
946
datadir='${datarootdir}'
527
947
sysconfdir='${prefix}/etc'
528
948
sharedstatedir='${prefix}/com'
529
949
localstatedir='${prefix}/var'
530
 
libdir='${exec_prefix}/lib'
531
950
includedir='${prefix}/include'
532
951
oldincludedir='/usr/include'
533
 
infodir='${prefix}/info'
534
 
mandir='${prefix}/man'
 
952
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
953
infodir='${datarootdir}/info'
 
954
htmldir='${docdir}'
 
955
dvidir='${docdir}'
 
956
pdfdir='${docdir}'
 
957
psdir='${docdir}'
 
958
libdir='${exec_prefix}/lib'
 
959
localedir='${datarootdir}/locale'
 
960
mandir='${datarootdir}/man'
535
961
 
536
962
ac_prev=
 
963
ac_dashdash=
537
964
for ac_option
538
965
do
539
966
  # If the previous option needs an argument, assign it.
540
967
  if test -n "$ac_prev"; then
541
 
    eval "$ac_prev=\$ac_option"
 
968
    eval $ac_prev=\$ac_option
542
969
    ac_prev=
543
970
    continue
544
971
  fi
545
972
 
546
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
973
  case $ac_option in
 
974
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
975
  *)    ac_optarg=yes ;;
 
976
  esac
547
977
 
548
978
  # Accept the important Cygnus configure options, so we can diagnose typos.
549
979
 
550
 
  case $ac_option in
 
980
  case $ac_dashdash$ac_option in
 
981
  --)
 
982
    ac_dashdash=yes ;;
551
983
 
552
984
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
553
985
    ac_prev=bindir ;;
569
1001
  --config-cache | -C)
570
1002
    cache_file=config.cache ;;
571
1003
 
572
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1004
  -datadir | --datadir | --datadi | --datad)
573
1005
    ac_prev=datadir ;;
574
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
575
 
  | --da=*)
 
1006
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
576
1007
    datadir=$ac_optarg ;;
577
1008
 
 
1009
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1010
  | --dataroo | --dataro | --datar)
 
1011
    ac_prev=datarootdir ;;
 
1012
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1013
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1014
    datarootdir=$ac_optarg ;;
 
1015
 
578
1016
  -disable-* | --disable-*)
579
1017
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
580
1018
    # Reject names that are not valid shell variable names.
582
1020
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
583
1021
   { (exit 1); exit 1; }; }
584
1022
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
585
 
    eval "enable_$ac_feature=no" ;;
 
1023
    eval enable_$ac_feature=no ;;
 
1024
 
 
1025
  -docdir | --docdir | --docdi | --doc | --do)
 
1026
    ac_prev=docdir ;;
 
1027
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1028
    docdir=$ac_optarg ;;
 
1029
 
 
1030
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1031
    ac_prev=dvidir ;;
 
1032
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1033
    dvidir=$ac_optarg ;;
586
1034
 
587
1035
  -enable-* | --enable-*)
588
1036
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
591
1039
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
592
1040
   { (exit 1); exit 1; }; }
593
1041
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
594
 
    case $ac_option in
595
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596
 
      *) ac_optarg=yes ;;
597
 
    esac
598
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1042
    eval enable_$ac_feature=\$ac_optarg ;;
599
1043
 
600
1044
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
601
1045
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
622
1066
  -host=* | --host=* | --hos=* | --ho=*)
623
1067
    host_alias=$ac_optarg ;;
624
1068
 
 
1069
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1070
    ac_prev=htmldir ;;
 
1071
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1072
  | --ht=*)
 
1073
    htmldir=$ac_optarg ;;
 
1074
 
625
1075
  -includedir | --includedir | --includedi | --included | --include \
626
1076
  | --includ | --inclu | --incl | --inc)
627
1077
    ac_prev=includedir ;;
646
1096
  | --libexe=* | --libex=* | --libe=*)
647
1097
    libexecdir=$ac_optarg ;;
648
1098
 
 
1099
  -localedir | --localedir | --localedi | --localed | --locale)
 
1100
    ac_prev=localedir ;;
 
1101
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1102
    localedir=$ac_optarg ;;
 
1103
 
649
1104
  -localstatedir | --localstatedir | --localstatedi | --localstated \
650
 
  | --localstate | --localstat | --localsta | --localst \
651
 
  | --locals | --local | --loca | --loc | --lo)
 
1105
  | --localstate | --localstat | --localsta | --localst | --locals)
652
1106
    ac_prev=localstatedir ;;
653
1107
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
654
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
655
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1108
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
656
1109
    localstatedir=$ac_optarg ;;
657
1110
 
658
1111
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
717
1170
  | --progr-tra=* | --program-tr=* | --program-t=*)
718
1171
    program_transform_name=$ac_optarg ;;
719
1172
 
 
1173
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1174
    ac_prev=pdfdir ;;
 
1175
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1176
    pdfdir=$ac_optarg ;;
 
1177
 
 
1178
  -psdir | --psdir | --psdi | --psd | --ps)
 
1179
    ac_prev=psdir ;;
 
1180
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1181
    psdir=$ac_optarg ;;
 
1182
 
720
1183
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
721
1184
  | -silent | --silent | --silen | --sile | --sil)
722
1185
    silent=yes ;;
773
1236
      { echo "$as_me: error: invalid package name: $ac_package" >&2
774
1237
   { (exit 1); exit 1; }; }
775
1238
    ac_package=`echo $ac_package| sed 's/-/_/g'`
776
 
    case $ac_option in
777
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
778
 
      *) ac_optarg=yes ;;
779
 
    esac
780
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1239
    eval with_$ac_package=\$ac_optarg ;;
781
1240
 
782
1241
  -without-* | --without-*)
783
1242
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
786
1245
      { echo "$as_me: error: invalid package name: $ac_package" >&2
787
1246
   { (exit 1); exit 1; }; }
788
1247
    ac_package=`echo $ac_package | sed 's/-/_/g'`
789
 
    eval "with_$ac_package=no" ;;
 
1248
    eval with_$ac_package=no ;;
790
1249
 
791
1250
  --x)
792
1251
    # Obsolete; use --with-x.
817
1276
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
818
1277
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
819
1278
   { (exit 1); exit 1; }; }
820
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
821
 
    eval "$ac_envvar='$ac_optarg'"
 
1279
    eval $ac_envvar=\$ac_optarg
822
1280
    export $ac_envvar ;;
823
1281
 
824
1282
  *)
838
1296
   { (exit 1); exit 1; }; }
839
1297
fi
840
1298
 
841
 
# Be sure to have absolute paths.
842
 
for ac_var in exec_prefix prefix
843
 
do
844
 
  eval ac_val=$`echo $ac_var`
845
 
  case $ac_val in
846
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
847
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
848
 
   { (exit 1); exit 1; }; };;
849
 
  esac
850
 
done
851
 
 
852
 
# Be sure to have absolute paths.
853
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
854
 
              localstatedir libdir includedir oldincludedir infodir mandir
855
 
do
856
 
  eval ac_val=$`echo $ac_var`
857
 
  case $ac_val in
858
 
    [\\/$]* | ?:[\\/]* ) ;;
859
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
860
 
   { (exit 1); exit 1; }; };;
861
 
  esac
 
1299
# Be sure to have absolute directory names.
 
1300
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1301
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1302
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1303
                libdir localedir mandir
 
1304
do
 
1305
  eval ac_val=\$$ac_var
 
1306
  case $ac_val in
 
1307
    [\\/$]* | ?:[\\/]* )  continue;;
 
1308
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1309
  esac
 
1310
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1311
   { (exit 1); exit 1; }; }
862
1312
done
863
1313
 
864
1314
# There might be people who depend on the old broken behavior: `$host'
885
1335
test "$silent" = yes && exec 6>/dev/null
886
1336
 
887
1337
 
 
1338
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1339
ac_ls_di=`ls -di .` &&
 
1340
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1341
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1342
   { (exit 1); exit 1; }; }
 
1343
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1344
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1345
   { (exit 1); exit 1; }; }
 
1346
 
 
1347
 
888
1348
# Find the source files, if location was not specified.
889
1349
if test -z "$srcdir"; then
890
1350
  ac_srcdir_defaulted=yes
891
 
  # Try the directory containing this script, then its parent.
892
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1351
  # Try the directory containing this script, then the parent directory.
 
1352
  ac_confdir=`$as_dirname -- "$0" ||
893
1353
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
894
1354
         X"$0" : 'X\(//\)[^/]' \| \
895
1355
         X"$0" : 'X\(//\)$' \| \
896
 
         X"$0" : 'X\(/\)' \| \
897
 
         .     : '\(.\)' 2>/dev/null ||
 
1356
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
898
1357
echo X"$0" |
899
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
900
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
901
 
          /^X\(\/\/\)$/{ s//\1/; q; }
902
 
          /^X\(\/\).*/{ s//\1/; q; }
903
 
          s/.*/./; q'`
 
1358
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1359
            s//\1/
 
1360
            q
 
1361
          }
 
1362
          /^X\(\/\/\)[^/].*/{
 
1363
            s//\1/
 
1364
            q
 
1365
          }
 
1366
          /^X\(\/\/\)$/{
 
1367
            s//\1/
 
1368
            q
 
1369
          }
 
1370
          /^X\(\/\).*/{
 
1371
            s//\1/
 
1372
            q
 
1373
          }
 
1374
          s/.*/./; q'`
904
1375
  srcdir=$ac_confdir
905
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1376
  if test ! -r "$srcdir/$ac_unique_file"; then
906
1377
    srcdir=..
907
1378
  fi
908
1379
else
909
1380
  ac_srcdir_defaulted=no
910
1381
fi
911
 
if test ! -r $srcdir/$ac_unique_file; then
912
 
  if test "$ac_srcdir_defaulted" = yes; then
913
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
914
 
   { (exit 1); exit 1; }; }
915
 
  else
916
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
917
 
   { (exit 1); exit 1; }; }
918
 
  fi
919
 
fi
920
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
921
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
922
 
   { (exit 1); exit 1; }; }
923
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
924
 
ac_env_build_alias_set=${build_alias+set}
925
 
ac_env_build_alias_value=$build_alias
926
 
ac_cv_env_build_alias_set=${build_alias+set}
927
 
ac_cv_env_build_alias_value=$build_alias
928
 
ac_env_host_alias_set=${host_alias+set}
929
 
ac_env_host_alias_value=$host_alias
930
 
ac_cv_env_host_alias_set=${host_alias+set}
931
 
ac_cv_env_host_alias_value=$host_alias
932
 
ac_env_target_alias_set=${target_alias+set}
933
 
ac_env_target_alias_value=$target_alias
934
 
ac_cv_env_target_alias_set=${target_alias+set}
935
 
ac_cv_env_target_alias_value=$target_alias
936
 
ac_env_CC_set=${CC+set}
937
 
ac_env_CC_value=$CC
938
 
ac_cv_env_CC_set=${CC+set}
939
 
ac_cv_env_CC_value=$CC
940
 
ac_env_CFLAGS_set=${CFLAGS+set}
941
 
ac_env_CFLAGS_value=$CFLAGS
942
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
943
 
ac_cv_env_CFLAGS_value=$CFLAGS
944
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
945
 
ac_env_LDFLAGS_value=$LDFLAGS
946
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
947
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
948
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
949
 
ac_env_CPPFLAGS_value=$CPPFLAGS
950
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
951
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
952
 
ac_env_CPP_set=${CPP+set}
953
 
ac_env_CPP_value=$CPP
954
 
ac_cv_env_CPP_set=${CPP+set}
955
 
ac_cv_env_CPP_value=$CPP
956
 
ac_env_CXX_set=${CXX+set}
957
 
ac_env_CXX_value=$CXX
958
 
ac_cv_env_CXX_set=${CXX+set}
959
 
ac_cv_env_CXX_value=$CXX
960
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
961
 
ac_env_CXXFLAGS_value=$CXXFLAGS
962
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
963
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
964
 
ac_env_CXXCPP_set=${CXXCPP+set}
965
 
ac_env_CXXCPP_value=$CXXCPP
966
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
967
 
ac_cv_env_CXXCPP_value=$CXXCPP
968
 
ac_env_F77_set=${F77+set}
969
 
ac_env_F77_value=$F77
970
 
ac_cv_env_F77_set=${F77+set}
971
 
ac_cv_env_F77_value=$F77
972
 
ac_env_FFLAGS_set=${FFLAGS+set}
973
 
ac_env_FFLAGS_value=$FFLAGS
974
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
975
 
ac_cv_env_FFLAGS_value=$FFLAGS
976
 
ac_env_CUPS_PPD_PATH_set=${CUPS_PPD_PATH+set}
977
 
ac_env_CUPS_PPD_PATH_value=$CUPS_PPD_PATH
978
 
ac_cv_env_CUPS_PPD_PATH_set=${CUPS_PPD_PATH+set}
979
 
ac_cv_env_CUPS_PPD_PATH_value=$CUPS_PPD_PATH
980
 
ac_env_CUPS_FILTER_PATH_set=${CUPS_FILTER_PATH+set}
981
 
ac_env_CUPS_FILTER_PATH_value=$CUPS_FILTER_PATH
982
 
ac_cv_env_CUPS_FILTER_PATH_set=${CUPS_FILTER_PATH+set}
983
 
ac_cv_env_CUPS_FILTER_PATH_value=$CUPS_FILTER_PATH
 
1382
if test ! -r "$srcdir/$ac_unique_file"; then
 
1383
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1384
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1385
   { (exit 1); exit 1; }; }
 
1386
fi
 
1387
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1388
ac_abs_confdir=`(
 
1389
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1390
   { (exit 1); exit 1; }; }
 
1391
        pwd)`
 
1392
# When building in place, set srcdir=.
 
1393
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1394
  srcdir=.
 
1395
fi
 
1396
# Remove unnecessary trailing slashes from srcdir.
 
1397
# Double slashes in file names in object file debugging info
 
1398
# mess up M-x gdb in Emacs.
 
1399
case $srcdir in
 
1400
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1401
esac
 
1402
for ac_var in $ac_precious_vars; do
 
1403
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1404
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1405
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1406
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1407
done
984
1408
 
985
1409
#
986
1410
# Report the --help message.
989
1413
  # Omit some internal or obsolete options to make the list less imposing.
990
1414
  # This message is too long to be a string in the A/UX 3.1 sh.
991
1415
  cat <<_ACEOF
992
 
\`configure' configures HP IJS printer driver 2.1.10 to adapt to many kinds of systems.
 
1416
\`configure' configures HP IJS printer driver 2.6.7 to adapt to many kinds of systems.
993
1417
 
994
1418
Usage: $0 [OPTION]... [VAR=VALUE]...
995
1419
 
1009
1433
  -n, --no-create         do not create output files
1010
1434
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1011
1435
 
1012
 
_ACEOF
1013
 
 
1014
 
  cat <<_ACEOF
1015
1436
Installation directories:
1016
1437
  --prefix=PREFIX         install architecture-independent files in PREFIX
1017
1438
                          [$ac_default_prefix]
1029
1450
  --bindir=DIR           user executables [EPREFIX/bin]
1030
1451
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1031
1452
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1032
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1033
1453
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1034
1454
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1035
1455
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1036
1456
  --libdir=DIR           object code libraries [EPREFIX/lib]
1037
1457
  --includedir=DIR       C header files [PREFIX/include]
1038
1458
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1039
 
  --infodir=DIR          info documentation [PREFIX/info]
1040
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1459
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1460
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1461
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1462
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1463
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1464
  --docdir=DIR           documentation root [DATAROOTDIR/doc/hpijs]
 
1465
  --htmldir=DIR          html documentation [DOCDIR]
 
1466
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1467
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1468
  --psdir=DIR            ps documentation [DOCDIR]
1041
1469
_ACEOF
1042
1470
 
1043
1471
  cat <<\_ACEOF
1055
1483
 
1056
1484
if test -n "$ac_init_help"; then
1057
1485
  case $ac_init_help in
1058
 
     short | recursive ) echo "Configuration of HP IJS printer driver 2.1.10:";;
 
1486
     short | recursive ) echo "Configuration of HP IJS printer driver 2.6.7:";;
1059
1487
   esac
1060
1488
  cat <<\_ACEOF
1061
1489
 
1064
1492
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1065
1493
  --enable-maintainer-mode  enable make rules and dependencies not useful
1066
1494
                          (and sometimes confusing) to the casual installer
1067
 
  --enable-shared[=PKGS]
1068
 
                          build shared libraries [default=yes]
1069
 
  --enable-static[=PKGS]
1070
 
                          build static libraries [default=yes]
 
1495
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1496
  --enable-static[=PKGS]  build static libraries [default=yes]
1071
1497
  --enable-fast-install[=PKGS]
1072
1498
                          optimize for fast installation [default=yes]
1073
1499
  --disable-dependency-tracking  speeds up one-time build
1084
1510
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1085
1511
  --with-pic              try to use only PIC/non-PIC objects [default=use
1086
1512
                          both]
1087
 
  --with-tags[=TAGS]
1088
 
                          include additional configurations [automatic]
 
1513
  --with-tags[=TAGS]      include additional configurations [automatic]
1089
1514
 
1090
1515
Some influential environment variables:
1091
1516
  CC          C compiler command
1092
1517
  CFLAGS      C compiler flags
1093
1518
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1094
1519
              nonstandard directory <lib dir>
1095
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096
 
              headers in a nonstandard directory <include dir>
 
1520
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1521
              you have headers in a nonstandard directory <include dir>
1097
1522
  CPP         C preprocessor
1098
1523
  CXX         C++ compiler command
1099
1524
  CXXFLAGS    C++ compiler flags
1110
1535
 
1111
1536
Report bugs to <hpijs@packages.debian.org>.
1112
1537
_ACEOF
 
1538
ac_status=$?
1113
1539
fi
1114
1540
 
1115
1541
if test "$ac_init_help" = "recursive"; then
1116
1542
  # If there are subdirs, report their specific --help.
1117
 
  ac_popdir=`pwd`
1118
1543
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1119
 
    test -d $ac_dir || continue
 
1544
    test -d "$ac_dir" || continue
1120
1545
    ac_builddir=.
1121
1546
 
1122
 
if test "$ac_dir" != .; then
 
1547
case "$ac_dir" in
 
1548
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1549
*)
1123
1550
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1124
 
  # A "../" for each directory in $ac_dir_suffix.
1125
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1126
 
else
1127
 
  ac_dir_suffix= ac_top_builddir=
1128
 
fi
 
1551
  # A ".." for each directory in $ac_dir_suffix.
 
1552
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1553
  case $ac_top_builddir_sub in
 
1554
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1555
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1556
  esac ;;
 
1557
esac
 
1558
ac_abs_top_builddir=$ac_pwd
 
1559
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1560
# for backward compatibility:
 
1561
ac_top_builddir=$ac_top_build_prefix
1129
1562
 
1130
1563
case $srcdir in
1131
 
  .)  # No --srcdir option.  We are building in place.
 
1564
  .)  # We are building in place.
1132
1565
    ac_srcdir=.
1133
 
    if test -z "$ac_top_builddir"; then
1134
 
       ac_top_srcdir=.
1135
 
    else
1136
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1137
 
    fi ;;
1138
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1566
    ac_top_srcdir=$ac_top_builddir_sub
 
1567
    ac_abs_top_srcdir=$ac_pwd ;;
 
1568
  [\\/]* | ?:[\\/]* )  # Absolute name.
1139
1569
    ac_srcdir=$srcdir$ac_dir_suffix;
1140
 
    ac_top_srcdir=$srcdir ;;
1141
 
  *) # Relative path.
1142
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1143
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1144
 
esac
1145
 
 
1146
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1147
 
# the directories may not exist.
1148
 
case `pwd` in
1149
 
.) ac_abs_builddir="$ac_dir";;
1150
 
*)
1151
 
  case "$ac_dir" in
1152
 
  .) ac_abs_builddir=`pwd`;;
1153
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1154
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1155
 
  esac;;
1156
 
esac
1157
 
case $ac_abs_builddir in
1158
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1159
 
*)
1160
 
  case ${ac_top_builddir}. in
1161
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1162
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1163
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1164
 
  esac;;
1165
 
esac
1166
 
case $ac_abs_builddir in
1167
 
.) ac_abs_srcdir=$ac_srcdir;;
1168
 
*)
1169
 
  case $ac_srcdir in
1170
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1171
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1172
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1173
 
  esac;;
1174
 
esac
1175
 
case $ac_abs_builddir in
1176
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1177
 
*)
1178
 
  case $ac_top_srcdir in
1179
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1180
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1181
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1182
 
  esac;;
1183
 
esac
1184
 
 
1185
 
    cd $ac_dir
1186
 
    # Check for guested configure; otherwise get Cygnus style configure.
1187
 
    if test -f $ac_srcdir/configure.gnu; then
1188
 
      echo
1189
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1190
 
    elif test -f $ac_srcdir/configure; then
1191
 
      echo
1192
 
      $SHELL $ac_srcdir/configure  --help=recursive
1193
 
    elif test -f $ac_srcdir/configure.ac ||
1194
 
           test -f $ac_srcdir/configure.in; then
1195
 
      echo
1196
 
      $ac_configure --help
 
1570
    ac_top_srcdir=$srcdir
 
1571
    ac_abs_top_srcdir=$srcdir ;;
 
1572
  *) # Relative name.
 
1573
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1574
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1575
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1576
esac
 
1577
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1578
 
 
1579
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1580
    # Check for guested configure.
 
1581
    if test -f "$ac_srcdir/configure.gnu"; then
 
1582
      echo &&
 
1583
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1584
    elif test -f "$ac_srcdir/configure"; then
 
1585
      echo &&
 
1586
      $SHELL "$ac_srcdir/configure" --help=recursive
1197
1587
    else
1198
1588
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1199
 
    fi
1200
 
    cd "$ac_popdir"
 
1589
    fi || ac_status=$?
 
1590
    cd "$ac_pwd" || { ac_status=$?; break; }
1201
1591
  done
1202
1592
fi
1203
1593
 
1204
 
test -n "$ac_init_help" && exit 0
 
1594
test -n "$ac_init_help" && exit $ac_status
1205
1595
if $ac_init_version; then
1206
1596
  cat <<\_ACEOF
1207
 
HP IJS printer driver configure 2.1.10
1208
 
generated by GNU Autoconf 2.59
 
1597
HP IJS printer driver configure 2.6.7
 
1598
generated by GNU Autoconf 2.60
1209
1599
 
1210
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1600
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1601
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1211
1602
This configure script is free software; the Free Software Foundation
1212
1603
gives unlimited permission to copy, distribute and modify it.
1213
1604
 
1238
1629
 
1239
1630
 
1240
1631
_ACEOF
1241
 
  exit 0
 
1632
  exit
1242
1633
fi
1243
 
exec 5>config.log
1244
 
cat >&5 <<_ACEOF
 
1634
cat >config.log <<_ACEOF
1245
1635
This file contains any messages produced by compilers while
1246
1636
running configure, to aid debugging if configure makes a mistake.
1247
1637
 
1248
 
It was created by HP IJS printer driver $as_me 2.1.10, which was
1249
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1638
It was created by HP IJS printer driver $as_me 2.6.7, which was
 
1639
generated by GNU Autoconf 2.60.  Invocation command line was
1250
1640
 
1251
1641
  $ $0 $@
1252
1642
 
1253
1643
_ACEOF
 
1644
exec 5>>config.log
1254
1645
{
1255
1646
cat <<_ASUNAME
1256
1647
## --------- ##
1269
1660
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1270
1661
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1271
1662
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1272
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1663
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1273
1664
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1274
1665
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1275
1666
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1283
1674
  test -z "$as_dir" && as_dir=.
1284
1675
  echo "PATH: $as_dir"
1285
1676
done
 
1677
IFS=$as_save_IFS
1286
1678
 
1287
1679
} >&5
1288
1680
 
1304
1696
ac_configure_args=
1305
1697
ac_configure_args0=
1306
1698
ac_configure_args1=
1307
 
ac_sep=
1308
1699
ac_must_keep_next=false
1309
1700
for ac_pass in 1 2
1310
1701
do
1315
1706
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1316
1707
    | -silent | --silent | --silen | --sile | --sil)
1317
1708
      continue ;;
1318
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1709
    *\'*)
1319
1710
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1320
1711
    esac
1321
1712
    case $ac_pass in
1337
1728
          -* ) ac_must_keep_next=true ;;
1338
1729
        esac
1339
1730
      fi
1340
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1341
 
      # Get rid of the leading space.
1342
 
      ac_sep=" "
 
1731
      ac_configure_args="$ac_configure_args '$ac_arg'"
1343
1732
      ;;
1344
1733
    esac
1345
1734
  done
1350
1739
# When interrupted or exit'd, cleanup temporary files, and complete
1351
1740
# config.log.  We remove comments because anyway the quotes in there
1352
1741
# would cause problems or look ugly.
1353
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1354
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1742
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1743
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1355
1744
trap 'exit_status=$?
1356
1745
  # Save into config.log some information that might help in debugging.
1357
1746
  {
1364
1753
_ASBOX
1365
1754
    echo
1366
1755
    # The following way of writing the cache mishandles newlines in values,
1367
 
{
 
1756
(
 
1757
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1758
    eval ac_val=\$$ac_var
 
1759
    case $ac_val in #(
 
1760
    *${as_nl}*)
 
1761
      case $ac_var in #(
 
1762
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1763
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1764
      esac
 
1765
      case $ac_var in #(
 
1766
      _ | IFS | as_nl) ;; #(
 
1767
      *) $as_unset $ac_var ;;
 
1768
      esac ;;
 
1769
    esac
 
1770
  done
1368
1771
  (set) 2>&1 |
1369
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1370
 
    *ac_space=\ *)
 
1772
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1773
    *${as_nl}ac_space=\ *)
1371
1774
      sed -n \
1372
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1373
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1374
 
      ;;
 
1775
        "s/'\''/'\''\\\\'\'''\''/g;
 
1776
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1777
      ;; #(
1375
1778
    *)
1376
 
      sed -n \
1377
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1779
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1378
1780
      ;;
1379
 
    esac;
1380
 
}
 
1781
    esac |
 
1782
    sort
 
1783
)
1381
1784
    echo
1382
1785
 
1383
1786
    cat <<\_ASBOX
1388
1791
    echo
1389
1792
    for ac_var in $ac_subst_vars
1390
1793
    do
1391
 
      eval ac_val=$`echo $ac_var`
1392
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1794
      eval ac_val=\$$ac_var
 
1795
      case $ac_val in
 
1796
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1797
      esac
 
1798
      echo "$ac_var='\''$ac_val'\''"
1393
1799
    done | sort
1394
1800
    echo
1395
1801
 
1396
1802
    if test -n "$ac_subst_files"; then
1397
1803
      cat <<\_ASBOX
1398
 
## ------------- ##
1399
 
## Output files. ##
1400
 
## ------------- ##
 
1804
## ------------------- ##
 
1805
## File substitutions. ##
 
1806
## ------------------- ##
1401
1807
_ASBOX
1402
1808
      echo
1403
1809
      for ac_var in $ac_subst_files
1404
1810
      do
1405
 
        eval ac_val=$`echo $ac_var`
1406
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1811
        eval ac_val=\$$ac_var
 
1812
        case $ac_val in
 
1813
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1814
        esac
 
1815
        echo "$ac_var='\''$ac_val'\''"
1407
1816
      done | sort
1408
1817
      echo
1409
1818
    fi
1415
1824
## ----------- ##
1416
1825
_ASBOX
1417
1826
      echo
1418
 
      sed "/^$/d" confdefs.h | sort
 
1827
      cat confdefs.h
1419
1828
      echo
1420
1829
    fi
1421
1830
    test "$ac_signal" != 0 &&
1422
1831
      echo "$as_me: caught signal $ac_signal"
1423
1832
    echo "$as_me: exit $exit_status"
1424
1833
  } >&5
1425
 
  rm -f core *.core &&
1426
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1834
  rm -f core *.core core.conftest.* &&
 
1835
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1427
1836
    exit $exit_status
1428
 
     ' 0
 
1837
' 0
1429
1838
for ac_signal in 1 2 13 15; do
1430
1839
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1431
1840
done
1432
1841
ac_signal=0
1433
1842
 
1434
1843
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1435
 
rm -rf conftest* confdefs.h
1436
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1437
 
echo >confdefs.h
 
1844
rm -f -r conftest* confdefs.h
1438
1845
 
1439
1846
# Predefined preprocessor variables.
1440
1847
 
1465
1872
 
1466
1873
# Let the site file select an alternate cache file if it wants to.
1467
1874
# Prefer explicitly selected file to automatically selected ones.
1468
 
if test -z "$CONFIG_SITE"; then
1469
 
  if test "x$prefix" != xNONE; then
1470
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1471
 
  else
1472
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1473
 
  fi
 
1875
if test -n "$CONFIG_SITE"; then
 
1876
  set x "$CONFIG_SITE"
 
1877
elif test "x$prefix" != xNONE; then
 
1878
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1879
else
 
1880
  set x "$ac_default_prefix/share/config.site" \
 
1881
        "$ac_default_prefix/etc/config.site"
1474
1882
fi
1475
 
for ac_site_file in $CONFIG_SITE; do
 
1883
shift
 
1884
for ac_site_file
 
1885
do
1476
1886
  if test -r "$ac_site_file"; then
1477
1887
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1478
1888
echo "$as_me: loading site script $ac_site_file" >&6;}
1488
1898
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1489
1899
echo "$as_me: loading cache $cache_file" >&6;}
1490
1900
    case $cache_file in
1491
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1492
 
      *)                      . ./$cache_file;;
 
1901
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1902
      *)                      . "./$cache_file";;
1493
1903
    esac
1494
1904
  fi
1495
1905
else
1501
1911
# Check that the precious variables saved in the cache have kept the same
1502
1912
# value.
1503
1913
ac_cache_corrupted=false
1504
 
for ac_var in `(set) 2>&1 |
1505
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1914
for ac_var in $ac_precious_vars; do
1506
1915
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1507
1916
  eval ac_new_set=\$ac_env_${ac_var}_set
1508
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1509
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1917
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1918
  eval ac_new_val=\$ac_env_${ac_var}_value
1510
1919
  case $ac_old_set,$ac_new_set in
1511
1920
    set,)
1512
1921
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1531
1940
  # Pass precious variables to config.status.
1532
1941
  if test "$ac_new_set" = set; then
1533
1942
    case $ac_new_val in
1534
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1535
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1943
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1536
1944
    *) ac_arg=$ac_var=$ac_new_val ;;
1537
1945
    esac
1538
1946
    case " $ac_configure_args " in
1549
1957
   { (exit 1); exit 1; }; }
1550
1958
fi
1551
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
 
1964
 
 
1965
 
 
1966
 
 
1967
 
 
1968
 
 
1969
 
 
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
 
1976
 
 
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
 
1982
 
 
1983
 
1552
1984
ac_ext=c
1553
1985
ac_cpp='$CPP $CPPFLAGS'
1554
1986
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1560
1992
 
1561
1993
 
1562
1994
 
1563
 
 
1564
 
 
1565
 
 
1566
 
 
1567
 
 
1568
 
 
1569
 
 
1570
 
 
1571
 
 
1572
 
 
1573
 
 
1574
 
 
1575
 
 
1576
 
 
1577
 
 
1578
 
 
1579
 
 
1580
 
 
1581
 
 
1582
 
 
1583
 
 
1584
 
 
1585
 
 
1586
 
 
1587
 
 
1588
1995
ac_aux_dir=
1589
 
for ac_dir in ../.. $srcdir/../..; do
1590
 
  if test -f $ac_dir/install-sh; then
 
1996
for ac_dir in ../.. "$srcdir"/../..; do
 
1997
  if test -f "$ac_dir/install-sh"; then
1591
1998
    ac_aux_dir=$ac_dir
1592
1999
    ac_install_sh="$ac_aux_dir/install-sh -c"
1593
2000
    break
1594
 
  elif test -f $ac_dir/install.sh; then
 
2001
  elif test -f "$ac_dir/install.sh"; then
1595
2002
    ac_aux_dir=$ac_dir
1596
2003
    ac_install_sh="$ac_aux_dir/install.sh -c"
1597
2004
    break
1598
 
  elif test -f $ac_dir/shtool; then
 
2005
  elif test -f "$ac_dir/shtool"; then
1599
2006
    ac_aux_dir=$ac_dir
1600
2007
    ac_install_sh="$ac_aux_dir/shtool install -c"
1601
2008
    break
1602
2009
  fi
1603
2010
done
1604
2011
if test -z "$ac_aux_dir"; then
1605
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1606
 
echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
 
2012
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. \"$srcdir\"/../.." >&5
 
2013
echo "$as_me: error: cannot find install-sh or install.sh in ../.. \"$srcdir\"/../.." >&2;}
1607
2014
   { (exit 1); exit 1; }; }
1608
2015
fi
1609
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1610
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1611
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2016
 
 
2017
# These three variables are undocumented and unsupported,
 
2018
# and are intended to be withdrawn in a future Autoconf release.
 
2019
# They can cause serious problems if a builder's source tree is in a directory
 
2020
# whose full name contains unusual characters.
 
2021
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2022
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2023
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2024
 
1612
2025
 
1613
2026
am__api_version="1.9"
1614
2027
# Find a good install program.  We prefer a C program (faster),
1624
2037
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1625
2038
# OS/2's system install, which has a completely different semantic
1626
2039
# ./install, which can be erroneously created by make from ./install.sh.
1627
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1628
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2040
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2041
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1629
2042
if test -z "$INSTALL"; then
1630
2043
if test "${ac_cv_path_install+set}" = set; then
1631
2044
  echo $ECHO_N "(cached) $ECHO_C" >&6
1647
2060
    # by default.
1648
2061
    for ac_prog in ginstall scoinst install; do
1649
2062
      for ac_exec_ext in '' $ac_executable_extensions; do
1650
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2063
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1651
2064
          if test $ac_prog = install &&
1652
2065
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1653
2066
            # AIX install.  It has an incompatible calling convention.
1666
2079
    ;;
1667
2080
esac
1668
2081
done
 
2082
IFS=$as_save_IFS
1669
2083
 
1670
2084
 
1671
2085
fi
1672
2086
  if test "${ac_cv_path_install+set}" = set; then
1673
2087
    INSTALL=$ac_cv_path_install
1674
2088
  else
1675
 
    # As a last resort, use the slow shell script.  We don't cache a
1676
 
    # path for INSTALL within a source directory, because that will
 
2089
    # As a last resort, use the slow shell script.  Don't cache a
 
2090
    # value for INSTALL within a source directory, because that will
1677
2091
    # break other packages using the cache if that directory is
1678
 
    # removed, or if the path is relative.
 
2092
    # removed, or if the value is a relative name.
1679
2093
    INSTALL=$ac_install_sh
1680
2094
  fi
1681
2095
fi
1682
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1683
 
echo "${ECHO_T}$INSTALL" >&6
 
2096
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2097
echo "${ECHO_T}$INSTALL" >&6; }
1684
2098
 
1685
2099
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1686
2100
# It thinks the first close brace ends the variable substitution.
1690
2104
 
1691
2105
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1692
2106
 
1693
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1694
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2107
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2108
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1695
2109
# Just in case
1696
2110
sleep 1
1697
2111
echo timestamp > conftest.file
1733
2147
Check your system clock" >&2;}
1734
2148
   { (exit 1); exit 1; }; }
1735
2149
fi
1736
 
echo "$as_me:$LINENO: result: yes" >&5
1737
 
echo "${ECHO_T}yes" >&6
 
2150
{ echo "$as_me:$LINENO: result: yes" >&5
 
2151
echo "${ECHO_T}yes" >&6; }
1738
2152
test "$program_prefix" != NONE &&
1739
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2153
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1740
2154
# Use a double $ so make ignores it.
1741
2155
test "$program_suffix" != NONE &&
1742
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2156
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1743
2157
# Double any \ or $.  echo might interpret backslashes.
1744
2158
# By default was `s,x,x', remove it if useless.
1745
2159
cat <<\_ACEOF >conftest.sed
1746
2160
s/[\\$]/&&/g;s/;s,x,x,$//
1747
2161
_ACEOF
1748
2162
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1749
 
rm conftest.sed
 
2163
rm -f conftest.sed
1750
2164
 
1751
2165
# expand $ac_aux_dir to an absolute path
1752
2166
am_aux_dir=`cd $ac_aux_dir && pwd`
1798
2212
do
1799
2213
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1800
2214
set dummy $ac_prog; ac_word=$2
1801
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1802
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2215
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2216
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1803
2217
if test "${ac_cv_prog_AWK+set}" = set; then
1804
2218
  echo $ECHO_N "(cached) $ECHO_C" >&6
1805
2219
else
1812
2226
  IFS=$as_save_IFS
1813
2227
  test -z "$as_dir" && as_dir=.
1814
2228
  for ac_exec_ext in '' $ac_executable_extensions; do
1815
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1816
2230
    ac_cv_prog_AWK="$ac_prog"
1817
2231
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818
2232
    break 2
1819
2233
  fi
1820
2234
done
1821
2235
done
 
2236
IFS=$as_save_IFS
1822
2237
 
1823
2238
fi
1824
2239
fi
1825
2240
AWK=$ac_cv_prog_AWK
1826
2241
if test -n "$AWK"; then
1827
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1828
 
echo "${ECHO_T}$AWK" >&6
 
2242
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2243
echo "${ECHO_T}$AWK" >&6; }
1829
2244
else
1830
 
  echo "$as_me:$LINENO: result: no" >&5
1831
 
echo "${ECHO_T}no" >&6
 
2245
  { echo "$as_me:$LINENO: result: no" >&5
 
2246
echo "${ECHO_T}no" >&6; }
1832
2247
fi
1833
2248
 
 
2249
 
1834
2250
  test -n "$AWK" && break
1835
2251
done
1836
2252
 
1837
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1838
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1839
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1840
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2253
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2254
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2255
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2256
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1841
2257
  echo $ECHO_N "(cached) $ECHO_C" >&6
1842
2258
else
1843
2259
  cat >conftest.make <<\_ACEOF
 
2260
SHELL = /bin/sh
1844
2261
all:
1845
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2262
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1846
2263
_ACEOF
1847
2264
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1848
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1849
 
if test -n "$ac_maketemp"; then
1850
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1851
 
else
1852
 
  eval ac_cv_prog_make_${ac_make}_set=no
1853
 
fi
 
2265
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2266
  *@@@%%%=?*=@@@%%%*)
 
2267
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2268
  *)
 
2269
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2270
esac
1854
2271
rm -f conftest.make
1855
2272
fi
1856
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1857
 
  echo "$as_me:$LINENO: result: yes" >&5
1858
 
echo "${ECHO_T}yes" >&6
 
2273
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2274
  { echo "$as_me:$LINENO: result: yes" >&5
 
2275
echo "${ECHO_T}yes" >&6; }
1859
2276
  SET_MAKE=
1860
2277
else
1861
 
  echo "$as_me:$LINENO: result: no" >&5
1862
 
echo "${ECHO_T}no" >&6
 
2278
  { echo "$as_me:$LINENO: result: no" >&5
 
2279
echo "${ECHO_T}no" >&6; }
1863
2280
  SET_MAKE="MAKE=${MAKE-make}"
1864
2281
fi
1865
2282
 
1892
2309
 
1893
2310
# Define the identity of the package.
1894
2311
 PACKAGE='hpijs'
1895
 
 VERSION='2.1.10'
 
2312
 VERSION='2.6.7'
1896
2313
 
1897
2314
 
1898
2315
cat >>confdefs.h <<_ACEOF
1930
2347
  if test -n "$ac_tool_prefix"; then
1931
2348
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1932
2349
set dummy ${ac_tool_prefix}strip; ac_word=$2
1933
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1934
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2350
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2351
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1935
2352
if test "${ac_cv_prog_STRIP+set}" = set; then
1936
2353
  echo $ECHO_N "(cached) $ECHO_C" >&6
1937
2354
else
1944
2361
  IFS=$as_save_IFS
1945
2362
  test -z "$as_dir" && as_dir=.
1946
2363
  for ac_exec_ext in '' $ac_executable_extensions; do
1947
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2364
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1948
2365
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1949
2366
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950
2367
    break 2
1951
2368
  fi
1952
2369
done
1953
2370
done
 
2371
IFS=$as_save_IFS
1954
2372
 
1955
2373
fi
1956
2374
fi
1957
2375
STRIP=$ac_cv_prog_STRIP
1958
2376
if test -n "$STRIP"; then
1959
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1960
 
echo "${ECHO_T}$STRIP" >&6
 
2377
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2378
echo "${ECHO_T}$STRIP" >&6; }
1961
2379
else
1962
 
  echo "$as_me:$LINENO: result: no" >&5
1963
 
echo "${ECHO_T}no" >&6
 
2380
  { echo "$as_me:$LINENO: result: no" >&5
 
2381
echo "${ECHO_T}no" >&6; }
1964
2382
fi
 
2383
 
1965
2384
 
1966
2385
fi
1967
2386
if test -z "$ac_cv_prog_STRIP"; then
1968
2387
  ac_ct_STRIP=$STRIP
1969
2388
  # Extract the first word of "strip", so it can be a program name with args.
1970
2389
set dummy strip; ac_word=$2
1971
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1972
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2390
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2391
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1973
2392
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1974
2393
  echo $ECHO_N "(cached) $ECHO_C" >&6
1975
2394
else
1982
2401
  IFS=$as_save_IFS
1983
2402
  test -z "$as_dir" && as_dir=.
1984
2403
  for ac_exec_ext in '' $ac_executable_extensions; do
1985
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2404
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1986
2405
    ac_cv_prog_ac_ct_STRIP="strip"
1987
2406
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988
2407
    break 2
1989
2408
  fi
1990
2409
done
1991
2410
done
 
2411
IFS=$as_save_IFS
1992
2412
 
1993
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1994
2413
fi
1995
2414
fi
1996
2415
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1997
2416
if test -n "$ac_ct_STRIP"; then
1998
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1999
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2417
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2418
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2000
2419
else
2001
 
  echo "$as_me:$LINENO: result: no" >&5
2002
 
echo "${ECHO_T}no" >&6
 
2420
  { echo "$as_me:$LINENO: result: no" >&5
 
2421
echo "${ECHO_T}no" >&6; }
2003
2422
fi
2004
2423
 
2005
 
  STRIP=$ac_ct_STRIP
 
2424
  if test "x$ac_ct_STRIP" = x; then
 
2425
    STRIP=":"
 
2426
  else
 
2427
    case $cross_compiling:$ac_tool_warned in
 
2428
yes:)
 
2429
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2430
whose name does not start with the host triplet.  If you think this
 
2431
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2432
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2433
whose name does not start with the host triplet.  If you think this
 
2434
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2435
ac_tool_warned=yes ;;
 
2436
esac
 
2437
    STRIP=$ac_ct_STRIP
 
2438
  fi
2006
2439
else
2007
2440
  STRIP="$ac_cv_prog_STRIP"
2008
2441
fi
2022
2455
 
2023
2456
 
2024
2457
 
2025
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2026
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2027
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2458
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2459
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2460
    # Check whether --enable-maintainer-mode was given.
2028
2461
if test "${enable_maintainer_mode+set}" = set; then
2029
 
  enableval="$enable_maintainer_mode"
2030
 
  USE_MAINTAINER_MODE=$enableval
 
2462
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2031
2463
else
2032
2464
  USE_MAINTAINER_MODE=no
2033
 
fi;
2034
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2035
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2465
fi
 
2466
 
 
2467
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2468
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2036
2469
 
2037
2470
 
2038
2471
if test $USE_MAINTAINER_MODE = yes; then
2046
2479
  MAINT=$MAINTAINER_MODE_TRUE
2047
2480
 
2048
2481
 
2049
 
# Check whether --enable-shared or --disable-shared was given.
 
2482
# Check whether --enable-shared was given.
2050
2483
if test "${enable_shared+set}" = set; then
2051
 
  enableval="$enable_shared"
2052
 
  p=${PACKAGE-default}
 
2484
  enableval=$enable_shared; p=${PACKAGE-default}
2053
2485
    case $enableval in
2054
2486
    yes) enable_shared=yes ;;
2055
2487
    no) enable_shared=no ;;
2068
2500
    esac
2069
2501
else
2070
2502
  enable_shared=yes
2071
 
fi;
2072
 
 
2073
 
# Check whether --enable-static or --disable-static was given.
 
2503
fi
 
2504
 
 
2505
 
 
2506
# Check whether --enable-static was given.
2074
2507
if test "${enable_static+set}" = set; then
2075
 
  enableval="$enable_static"
2076
 
  p=${PACKAGE-default}
 
2508
  enableval=$enable_static; p=${PACKAGE-default}
2077
2509
    case $enableval in
2078
2510
    yes) enable_static=yes ;;
2079
2511
    no) enable_static=no ;;
2092
2524
    esac
2093
2525
else
2094
2526
  enable_static=yes
2095
 
fi;
2096
 
 
2097
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
2527
fi
 
2528
 
 
2529
 
 
2530
# Check whether --enable-fast-install was given.
2098
2531
if test "${enable_fast_install+set}" = set; then
2099
 
  enableval="$enable_fast_install"
2100
 
  p=${PACKAGE-default}
 
2532
  enableval=$enable_fast_install; p=${PACKAGE-default}
2101
2533
    case $enableval in
2102
2534
    yes) enable_fast_install=yes ;;
2103
2535
    no) enable_fast_install=no ;;
2116
2548
    esac
2117
2549
else
2118
2550
  enable_fast_install=yes
2119
 
fi;
 
2551
fi
 
2552
 
2120
2553
 
2121
2554
# Make sure we can run config.sub.
2122
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2123
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2124
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2555
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2556
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2557
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2125
2558
   { (exit 1); exit 1; }; }
2126
2559
 
2127
 
echo "$as_me:$LINENO: checking build system type" >&5
2128
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2560
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2561
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2129
2562
if test "${ac_cv_build+set}" = set; then
2130
2563
  echo $ECHO_N "(cached) $ECHO_C" >&6
2131
2564
else
2132
 
  ac_cv_build_alias=$build_alias
2133
 
test -z "$ac_cv_build_alias" &&
2134
 
  ac_cv_build_alias=`$ac_config_guess`
2135
 
test -z "$ac_cv_build_alias" &&
 
2565
  ac_build_alias=$build_alias
 
2566
test "x$ac_build_alias" = x &&
 
2567
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2568
test "x$ac_build_alias" = x &&
2136
2569
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2137
2570
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2138
2571
   { (exit 1); exit 1; }; }
2139
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2140
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2141
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2572
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2573
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2574
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2142
2575
   { (exit 1); exit 1; }; }
2143
2576
 
2144
2577
fi
2145
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2146
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2578
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2579
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2580
case $ac_cv_build in
 
2581
*-*-*) ;;
 
2582
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2583
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2584
   { (exit 1); exit 1; }; };;
 
2585
esac
2147
2586
build=$ac_cv_build
2148
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2149
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2150
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2151
 
 
2152
 
 
2153
 
echo "$as_me:$LINENO: checking host system type" >&5
2154
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2587
ac_save_IFS=$IFS; IFS='-'
 
2588
set x $ac_cv_build
 
2589
shift
 
2590
build_cpu=$1
 
2591
build_vendor=$2
 
2592
shift; shift
 
2593
# Remember, the first character of IFS is used to create $*,
 
2594
# except with old shells:
 
2595
build_os=$*
 
2596
IFS=$ac_save_IFS
 
2597
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2598
 
 
2599
 
 
2600
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2601
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2155
2602
if test "${ac_cv_host+set}" = set; then
2156
2603
  echo $ECHO_N "(cached) $ECHO_C" >&6
2157
2604
else
2158
 
  ac_cv_host_alias=$host_alias
2159
 
test -z "$ac_cv_host_alias" &&
2160
 
  ac_cv_host_alias=$ac_cv_build_alias
2161
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2162
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2163
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2605
  if test "x$host_alias" = x; then
 
2606
  ac_cv_host=$ac_cv_build
 
2607
else
 
2608
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2609
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2610
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2164
2611
   { (exit 1); exit 1; }; }
 
2612
fi
2165
2613
 
2166
2614
fi
2167
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2168
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2615
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2616
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2617
case $ac_cv_host in
 
2618
*-*-*) ;;
 
2619
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2620
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2621
   { (exit 1); exit 1; }; };;
 
2622
esac
2169
2623
host=$ac_cv_host
2170
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2171
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2172
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2624
ac_save_IFS=$IFS; IFS='-'
 
2625
set x $ac_cv_host
 
2626
shift
 
2627
host_cpu=$1
 
2628
host_vendor=$2
 
2629
shift; shift
 
2630
# Remember, the first character of IFS is used to create $*,
 
2631
# except with old shells:
 
2632
host_os=$*
 
2633
IFS=$ac_save_IFS
 
2634
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2173
2635
 
2174
2636
 
2175
2637
DEPDIR="${am__leading_dot}deps"
2176
2638
 
2177
 
          ac_config_commands="$ac_config_commands depfiles"
 
2639
ac_config_commands="$ac_config_commands depfiles"
2178
2640
 
2179
2641
 
2180
2642
am_make=${MAKE-make}
2184
2646
.PHONY: am__doit
2185
2647
END
2186
2648
# If we don't find an include directive, just comment out the code.
2187
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2188
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2649
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2650
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2189
2651
am__include="#"
2190
2652
am__quote=
2191
2653
_am_result=none
2212
2674
fi
2213
2675
 
2214
2676
 
2215
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2216
 
echo "${ECHO_T}$_am_result" >&6
 
2677
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
2678
echo "${ECHO_T}$_am_result" >&6; }
2217
2679
rm -f confinc confmf
2218
2680
 
2219
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2681
# Check whether --enable-dependency-tracking was given.
2220
2682
if test "${enable_dependency_tracking+set}" = set; then
2221
 
  enableval="$enable_dependency_tracking"
 
2683
  enableval=$enable_dependency_tracking;
 
2684
fi
2222
2685
 
2223
 
fi;
2224
2686
if test "x$enable_dependency_tracking" != xno; then
2225
2687
  am_depcomp="$ac_aux_dir/depcomp"
2226
2688
  AMDEPBACKSLASH='\'
2245
2707
if test -n "$ac_tool_prefix"; then
2246
2708
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2247
2709
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2248
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2249
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2710
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2711
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2250
2712
if test "${ac_cv_prog_CC+set}" = set; then
2251
2713
  echo $ECHO_N "(cached) $ECHO_C" >&6
2252
2714
else
2259
2721
  IFS=$as_save_IFS
2260
2722
  test -z "$as_dir" && as_dir=.
2261
2723
  for ac_exec_ext in '' $ac_executable_extensions; do
2262
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2724
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2263
2725
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2264
2726
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265
2727
    break 2
2266
2728
  fi
2267
2729
done
2268
2730
done
 
2731
IFS=$as_save_IFS
2269
2732
 
2270
2733
fi
2271
2734
fi
2272
2735
CC=$ac_cv_prog_CC
2273
2736
if test -n "$CC"; then
2274
 
  echo "$as_me:$LINENO: result: $CC" >&5
2275
 
echo "${ECHO_T}$CC" >&6
 
2737
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2738
echo "${ECHO_T}$CC" >&6; }
2276
2739
else
2277
 
  echo "$as_me:$LINENO: result: no" >&5
2278
 
echo "${ECHO_T}no" >&6
 
2740
  { echo "$as_me:$LINENO: result: no" >&5
 
2741
echo "${ECHO_T}no" >&6; }
2279
2742
fi
 
2743
 
2280
2744
 
2281
2745
fi
2282
2746
if test -z "$ac_cv_prog_CC"; then
2283
2747
  ac_ct_CC=$CC
2284
2748
  # Extract the first word of "gcc", so it can be a program name with args.
2285
2749
set dummy gcc; ac_word=$2
2286
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2287
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2750
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2751
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288
2752
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289
2753
  echo $ECHO_N "(cached) $ECHO_C" >&6
2290
2754
else
2297
2761
  IFS=$as_save_IFS
2298
2762
  test -z "$as_dir" && as_dir=.
2299
2763
  for ac_exec_ext in '' $ac_executable_extensions; do
2300
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2764
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2301
2765
    ac_cv_prog_ac_ct_CC="gcc"
2302
2766
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303
2767
    break 2
2304
2768
  fi
2305
2769
done
2306
2770
done
 
2771
IFS=$as_save_IFS
2307
2772
 
2308
2773
fi
2309
2774
fi
2310
2775
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2311
2776
if test -n "$ac_ct_CC"; then
2312
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2313
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2777
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2778
echo "${ECHO_T}$ac_ct_CC" >&6; }
2314
2779
else
2315
 
  echo "$as_me:$LINENO: result: no" >&5
2316
 
echo "${ECHO_T}no" >&6
 
2780
  { echo "$as_me:$LINENO: result: no" >&5
 
2781
echo "${ECHO_T}no" >&6; }
2317
2782
fi
2318
2783
 
2319
 
  CC=$ac_ct_CC
 
2784
  if test "x$ac_ct_CC" = x; then
 
2785
    CC=""
 
2786
  else
 
2787
    case $cross_compiling:$ac_tool_warned in
 
2788
yes:)
 
2789
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2790
whose name does not start with the host triplet.  If you think this
 
2791
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2792
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2793
whose name does not start with the host triplet.  If you think this
 
2794
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2795
ac_tool_warned=yes ;;
 
2796
esac
 
2797
    CC=$ac_ct_CC
 
2798
  fi
2320
2799
else
2321
2800
  CC="$ac_cv_prog_CC"
2322
2801
fi
2323
2802
 
2324
2803
if test -z "$CC"; then
2325
 
  if test -n "$ac_tool_prefix"; then
2326
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2804
          if test -n "$ac_tool_prefix"; then
 
2805
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2327
2806
set dummy ${ac_tool_prefix}cc; ac_word=$2
2328
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2329
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2807
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2808
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330
2809
if test "${ac_cv_prog_CC+set}" = set; then
2331
2810
  echo $ECHO_N "(cached) $ECHO_C" >&6
2332
2811
else
2339
2818
  IFS=$as_save_IFS
2340
2819
  test -z "$as_dir" && as_dir=.
2341
2820
  for ac_exec_ext in '' $ac_executable_extensions; do
2342
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2821
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2343
2822
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2344
2823
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345
2824
    break 2
2346
2825
  fi
2347
2826
done
2348
2827
done
 
2828
IFS=$as_save_IFS
2349
2829
 
2350
2830
fi
2351
2831
fi
2352
2832
CC=$ac_cv_prog_CC
2353
2833
if test -n "$CC"; then
2354
 
  echo "$as_me:$LINENO: result: $CC" >&5
2355
 
echo "${ECHO_T}$CC" >&6
2356
 
else
2357
 
  echo "$as_me:$LINENO: result: no" >&5
2358
 
echo "${ECHO_T}no" >&6
2359
 
fi
2360
 
 
2361
 
fi
2362
 
if test -z "$ac_cv_prog_CC"; then
2363
 
  ac_ct_CC=$CC
2364
 
  # Extract the first word of "cc", so it can be a program name with args.
2365
 
set dummy cc; ac_word=$2
2366
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2367
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2368
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2370
 
else
2371
 
  if test -n "$ac_ct_CC"; then
2372
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2373
 
else
2374
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375
 
for as_dir in $PATH
2376
 
do
2377
 
  IFS=$as_save_IFS
2378
 
  test -z "$as_dir" && as_dir=.
2379
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2380
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2381
 
    ac_cv_prog_ac_ct_CC="cc"
2382
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383
 
    break 2
 
2834
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2835
echo "${ECHO_T}$CC" >&6; }
 
2836
else
 
2837
  { echo "$as_me:$LINENO: result: no" >&5
 
2838
echo "${ECHO_T}no" >&6; }
 
2839
fi
 
2840
 
 
2841
 
2384
2842
  fi
2385
 
done
2386
 
done
2387
 
 
2388
 
fi
2389
 
fi
2390
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2391
 
if test -n "$ac_ct_CC"; then
2392
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2393
 
echo "${ECHO_T}$ac_ct_CC" >&6
2394
 
else
2395
 
  echo "$as_me:$LINENO: result: no" >&5
2396
 
echo "${ECHO_T}no" >&6
2397
 
fi
2398
 
 
2399
 
  CC=$ac_ct_CC
2400
 
else
2401
 
  CC="$ac_cv_prog_CC"
2402
 
fi
2403
 
 
2404
2843
fi
2405
2844
if test -z "$CC"; then
2406
2845
  # Extract the first word of "cc", so it can be a program name with args.
2407
2846
set dummy cc; ac_word=$2
2408
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2409
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2847
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2848
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2410
2849
if test "${ac_cv_prog_CC+set}" = set; then
2411
2850
  echo $ECHO_N "(cached) $ECHO_C" >&6
2412
2851
else
2420
2859
  IFS=$as_save_IFS
2421
2860
  test -z "$as_dir" && as_dir=.
2422
2861
  for ac_exec_ext in '' $ac_executable_extensions; do
2423
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2424
2863
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2425
2864
       ac_prog_rejected=yes
2426
2865
       continue
2431
2870
  fi
2432
2871
done
2433
2872
done
 
2873
IFS=$as_save_IFS
2434
2874
 
2435
2875
if test $ac_prog_rejected = yes; then
2436
2876
  # We found a bogon in the path, so make sure we never use it.
2448
2888
fi
2449
2889
CC=$ac_cv_prog_CC
2450
2890
if test -n "$CC"; then
2451
 
  echo "$as_me:$LINENO: result: $CC" >&5
2452
 
echo "${ECHO_T}$CC" >&6
 
2891
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2892
echo "${ECHO_T}$CC" >&6; }
2453
2893
else
2454
 
  echo "$as_me:$LINENO: result: no" >&5
2455
 
echo "${ECHO_T}no" >&6
 
2894
  { echo "$as_me:$LINENO: result: no" >&5
 
2895
echo "${ECHO_T}no" >&6; }
2456
2896
fi
 
2897
 
2457
2898
 
2458
2899
fi
2459
2900
if test -z "$CC"; then
2460
2901
  if test -n "$ac_tool_prefix"; then
2461
 
  for ac_prog in cl
 
2902
  for ac_prog in cl.exe
2462
2903
  do
2463
2904
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2464
2905
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2465
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2466
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2906
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2907
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467
2908
if test "${ac_cv_prog_CC+set}" = set; then
2468
2909
  echo $ECHO_N "(cached) $ECHO_C" >&6
2469
2910
else
2476
2917
  IFS=$as_save_IFS
2477
2918
  test -z "$as_dir" && as_dir=.
2478
2919
  for ac_exec_ext in '' $ac_executable_extensions; do
2479
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2480
2921
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2481
2922
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482
2923
    break 2
2483
2924
  fi
2484
2925
done
2485
2926
done
 
2927
IFS=$as_save_IFS
2486
2928
 
2487
2929
fi
2488
2930
fi
2489
2931
CC=$ac_cv_prog_CC
2490
2932
if test -n "$CC"; then
2491
 
  echo "$as_me:$LINENO: result: $CC" >&5
2492
 
echo "${ECHO_T}$CC" >&6
 
2933
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2934
echo "${ECHO_T}$CC" >&6; }
2493
2935
else
2494
 
  echo "$as_me:$LINENO: result: no" >&5
2495
 
echo "${ECHO_T}no" >&6
 
2936
  { echo "$as_me:$LINENO: result: no" >&5
 
2937
echo "${ECHO_T}no" >&6; }
2496
2938
fi
2497
2939
 
 
2940
 
2498
2941
    test -n "$CC" && break
2499
2942
  done
2500
2943
fi
2501
2944
if test -z "$CC"; then
2502
2945
  ac_ct_CC=$CC
2503
 
  for ac_prog in cl
 
2946
  for ac_prog in cl.exe
2504
2947
do
2505
2948
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2506
2949
set dummy $ac_prog; ac_word=$2
2507
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2508
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2950
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2951
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2509
2952
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2510
2953
  echo $ECHO_N "(cached) $ECHO_C" >&6
2511
2954
else
2518
2961
  IFS=$as_save_IFS
2519
2962
  test -z "$as_dir" && as_dir=.
2520
2963
  for ac_exec_ext in '' $ac_executable_extensions; do
2521
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2964
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2522
2965
    ac_cv_prog_ac_ct_CC="$ac_prog"
2523
2966
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524
2967
    break 2
2525
2968
  fi
2526
2969
done
2527
2970
done
 
2971
IFS=$as_save_IFS
2528
2972
 
2529
2973
fi
2530
2974
fi
2531
2975
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2532
2976
if test -n "$ac_ct_CC"; then
2533
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2534
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2977
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2978
echo "${ECHO_T}$ac_ct_CC" >&6; }
2535
2979
else
2536
 
  echo "$as_me:$LINENO: result: no" >&5
2537
 
echo "${ECHO_T}no" >&6
 
2980
  { echo "$as_me:$LINENO: result: no" >&5
 
2981
echo "${ECHO_T}no" >&6; }
2538
2982
fi
2539
2983
 
 
2984
 
2540
2985
  test -n "$ac_ct_CC" && break
2541
2986
done
2542
2987
 
2543
 
  CC=$ac_ct_CC
 
2988
  if test "x$ac_ct_CC" = x; then
 
2989
    CC=""
 
2990
  else
 
2991
    case $cross_compiling:$ac_tool_warned in
 
2992
yes:)
 
2993
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2994
whose name does not start with the host triplet.  If you think this
 
2995
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2996
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2997
whose name does not start with the host triplet.  If you think this
 
2998
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2999
ac_tool_warned=yes ;;
 
3000
esac
 
3001
    CC=$ac_ct_CC
 
3002
  fi
2544
3003
fi
2545
3004
 
2546
3005
fi
2553
3012
   { (exit 1); exit 1; }; }
2554
3013
 
2555
3014
# Provide some information about the compiler.
2556
 
echo "$as_me:$LINENO:" \
2557
 
     "checking for C compiler version" >&5
 
3015
echo "$as_me:$LINENO: checking for C compiler version" >&5
2558
3016
ac_compiler=`set X $ac_compile; echo $2`
2559
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2560
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2561
 
  ac_status=$?
2562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563
 
  (exit $ac_status); }
2564
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2565
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2566
 
  ac_status=$?
2567
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
 
  (exit $ac_status); }
2569
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2570
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3017
{ (ac_try="$ac_compiler --version >&5"
 
3018
case "(($ac_try" in
 
3019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3020
  *) ac_try_echo=$ac_try;;
 
3021
esac
 
3022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3023
  (eval "$ac_compiler --version >&5") 2>&5
 
3024
  ac_status=$?
 
3025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3026
  (exit $ac_status); }
 
3027
{ (ac_try="$ac_compiler -v >&5"
 
3028
case "(($ac_try" in
 
3029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3030
  *) ac_try_echo=$ac_try;;
 
3031
esac
 
3032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3033
  (eval "$ac_compiler -v >&5") 2>&5
 
3034
  ac_status=$?
 
3035
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3036
  (exit $ac_status); }
 
3037
{ (ac_try="$ac_compiler -V >&5"
 
3038
case "(($ac_try" in
 
3039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3040
  *) ac_try_echo=$ac_try;;
 
3041
esac
 
3042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3043
  (eval "$ac_compiler -V >&5") 2>&5
2571
3044
  ac_status=$?
2572
3045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
3046
  (exit $ac_status); }
2592
3065
# Try to create an executable without -o first, disregard a.out.
2593
3066
# It will help us diagnose broken compilers, and finding out an intuition
2594
3067
# of exeext.
2595
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2596
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3068
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3069
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2597
3070
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2598
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2599
 
  (eval $ac_link_default) 2>&5
 
3071
#
 
3072
# List of possible output files, starting from the most likely.
 
3073
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3074
# only as a last resort.  b.out is created by i960 compilers.
 
3075
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3076
#
 
3077
# The IRIX 6 linker writes into existing files which may not be
 
3078
# executable, retaining their permissions.  Remove them first so a
 
3079
# subsequent execution test works.
 
3080
ac_rmfiles=
 
3081
for ac_file in $ac_files
 
3082
do
 
3083
  case $ac_file in
 
3084
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3085
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3086
  esac
 
3087
done
 
3088
rm -f $ac_rmfiles
 
3089
 
 
3090
if { (ac_try="$ac_link_default"
 
3091
case "(($ac_try" in
 
3092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3093
  *) ac_try_echo=$ac_try;;
 
3094
esac
 
3095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3096
  (eval "$ac_link_default") 2>&5
2600
3097
  ac_status=$?
2601
3098
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
3099
  (exit $ac_status); }; then
2603
 
  # Find the output, starting from the most likely.  This scheme is
2604
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2605
 
# resort.
2606
 
 
2607
 
# Be careful to initialize this variable, since it used to be cached.
2608
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2609
 
ac_cv_exeext=
2610
 
# b.out is created by i960 compilers.
2611
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3100
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3101
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3102
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3103
# so that the user can short-circuit this test for compilers unknown to
 
3104
# Autoconf.
 
3105
for ac_file in $ac_files
2612
3106
do
2613
3107
  test -f "$ac_file" || continue
2614
3108
  case $ac_file in
2615
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2616
 
        ;;
2617
 
    conftest.$ac_ext )
2618
 
        # This is the source file.
 
3109
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2619
3110
        ;;
2620
3111
    [ab].out )
2621
3112
        # We found the default executable, but exeext='' is most
2622
3113
        # certainly right.
2623
3114
        break;;
2624
3115
    *.* )
2625
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2626
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2627
 
        # but it would be cool to find out if it's true.  Does anybody
2628
 
        # maintain Libtool? --akim.
2629
 
        export ac_cv_exeext
 
3116
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3117
        then :; else
 
3118
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3119
        fi
 
3120
        # We set ac_cv_exeext here because the later test for it is not
 
3121
        # safe: cross compilers may not add the suffix if given an `-o'
 
3122
        # argument, so we may need to know it at that point already.
 
3123
        # Even if this section looks crufty: it has the advantage of
 
3124
        # actually working.
2630
3125
        break;;
2631
3126
    * )
2632
3127
        break;;
2633
3128
  esac
2634
3129
done
 
3130
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3131
 
2635
3132
else
2636
3133
  echo "$as_me: failed program was:" >&5
2637
3134
sed 's/^/| /' conftest.$ac_ext >&5
2644
3141
fi
2645
3142
 
2646
3143
ac_exeext=$ac_cv_exeext
2647
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2648
 
echo "${ECHO_T}$ac_file" >&6
 
3144
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3145
echo "${ECHO_T}$ac_file" >&6; }
2649
3146
 
2650
 
# Check the compiler produces executables we can run.  If not, either
 
3147
# Check that the compiler produces executables we can run.  If not, either
2651
3148
# the compiler is broken, or we cross compile.
2652
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2653
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3149
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3150
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2654
3151
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2655
3152
# If not cross compiling, check that we can run a simple program.
2656
3153
if test "$cross_compiling" != yes; then
2657
3154
  if { ac_try='./$ac_file'
2658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659
 
  (eval $ac_try) 2>&5
 
3155
  { (case "(($ac_try" in
 
3156
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3157
  *) ac_try_echo=$ac_try;;
 
3158
esac
 
3159
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3160
  (eval "$ac_try") 2>&5
2660
3161
  ac_status=$?
2661
3162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662
3163
  (exit $ac_status); }; }; then
2675
3176
    fi
2676
3177
  fi
2677
3178
fi
2678
 
echo "$as_me:$LINENO: result: yes" >&5
2679
 
echo "${ECHO_T}yes" >&6
 
3179
{ echo "$as_me:$LINENO: result: yes" >&5
 
3180
echo "${ECHO_T}yes" >&6; }
2680
3181
 
2681
3182
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2682
3183
ac_clean_files=$ac_clean_files_save
2683
 
# Check the compiler produces executables we can run.  If not, either
 
3184
# Check that the compiler produces executables we can run.  If not, either
2684
3185
# the compiler is broken, or we cross compile.
2685
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2686
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2687
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2688
 
echo "${ECHO_T}$cross_compiling" >&6
 
3186
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3187
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3188
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3189
echo "${ECHO_T}$cross_compiling" >&6; }
2689
3190
 
2690
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2691
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2692
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2693
 
  (eval $ac_link) 2>&5
 
3191
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3192
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3193
if { (ac_try="$ac_link"
 
3194
case "(($ac_try" in
 
3195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3196
  *) ac_try_echo=$ac_try;;
 
3197
esac
 
3198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3199
  (eval "$ac_link") 2>&5
2694
3200
  ac_status=$?
2695
3201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696
3202
  (exit $ac_status); }; then
2701
3207
for ac_file in conftest.exe conftest conftest.*; do
2702
3208
  test -f "$ac_file" || continue
2703
3209
  case $ac_file in
2704
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3210
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2705
3211
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2706
 
          export ac_cv_exeext
2707
3212
          break;;
2708
3213
    * ) break;;
2709
3214
  esac
2717
3222
fi
2718
3223
 
2719
3224
rm -f conftest$ac_cv_exeext
2720
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2721
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3225
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3226
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2722
3227
 
2723
3228
rm -f conftest.$ac_ext
2724
3229
EXEEXT=$ac_cv_exeext
2725
3230
ac_exeext=$EXEEXT
2726
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2727
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3231
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3232
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2728
3233
if test "${ac_cv_objext+set}" = set; then
2729
3234
  echo $ECHO_N "(cached) $ECHO_C" >&6
2730
3235
else
2744
3249
}
2745
3250
_ACEOF
2746
3251
rm -f conftest.o conftest.obj
2747
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2748
 
  (eval $ac_compile) 2>&5
 
3252
if { (ac_try="$ac_compile"
 
3253
case "(($ac_try" in
 
3254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3255
  *) ac_try_echo=$ac_try;;
 
3256
esac
 
3257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3258
  (eval "$ac_compile") 2>&5
2749
3259
  ac_status=$?
2750
3260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751
3261
  (exit $ac_status); }; then
2752
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3262
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3263
  test -f "$ac_file" || continue;
2753
3264
  case $ac_file in
2754
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3265
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2755
3266
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2756
3267
       break;;
2757
3268
  esac
2769
3280
 
2770
3281
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2771
3282
fi
2772
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2773
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3283
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3284
echo "${ECHO_T}$ac_cv_objext" >&6; }
2774
3285
OBJEXT=$ac_cv_objext
2775
3286
ac_objext=$OBJEXT
2776
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2777
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3287
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3288
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2778
3289
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2779
3290
  echo $ECHO_N "(cached) $ECHO_C" >&6
2780
3291
else
2797
3308
}
2798
3309
_ACEOF
2799
3310
rm -f conftest.$ac_objext
2800
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2801
 
  (eval $ac_compile) 2>conftest.er1
 
3311
if { (ac_try="$ac_compile"
 
3312
case "(($ac_try" in
 
3313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3314
  *) ac_try_echo=$ac_try;;
 
3315
esac
 
3316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3317
  (eval "$ac_compile") 2>conftest.er1
2802
3318
  ac_status=$?
2803
3319
  grep -v '^ *+' conftest.er1 >conftest.err
2804
3320
  rm -f conftest.er1
2805
3321
  cat conftest.err >&5
2806
3322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807
3323
  (exit $ac_status); } &&
2808
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2809
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810
 
  (eval $ac_try) 2>&5
 
3324
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3325
  { (case "(($ac_try" in
 
3326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3327
  *) ac_try_echo=$ac_try;;
 
3328
esac
 
3329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3330
  (eval "$ac_try") 2>&5
2811
3331
  ac_status=$?
2812
3332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813
3333
  (exit $ac_status); }; } &&
2814
3334
         { ac_try='test -s conftest.$ac_objext'
2815
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816
 
  (eval $ac_try) 2>&5
 
3335
  { (case "(($ac_try" in
 
3336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3337
  *) ac_try_echo=$ac_try;;
 
3338
esac
 
3339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3340
  (eval "$ac_try") 2>&5
2817
3341
  ac_status=$?
2818
3342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819
3343
  (exit $ac_status); }; }; then
2822
3346
  echo "$as_me: failed program was:" >&5
2823
3347
sed 's/^/| /' conftest.$ac_ext >&5
2824
3348
 
2825
 
ac_compiler_gnu=no
 
3349
        ac_compiler_gnu=no
2826
3350
fi
2827
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3351
 
 
3352
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828
3353
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2829
3354
 
2830
3355
fi
2831
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2832
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3356
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3357
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2833
3358
GCC=`test $ac_compiler_gnu = yes && echo yes`
2834
3359
ac_test_CFLAGS=${CFLAGS+set}
2835
3360
ac_save_CFLAGS=$CFLAGS
2836
 
CFLAGS="-g"
2837
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2838
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3361
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3362
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2839
3363
if test "${ac_cv_prog_cc_g+set}" = set; then
2840
3364
  echo $ECHO_N "(cached) $ECHO_C" >&6
2841
3365
else
2842
 
  cat >conftest.$ac_ext <<_ACEOF
2843
 
/* confdefs.h.  */
2844
 
_ACEOF
2845
 
cat confdefs.h >>conftest.$ac_ext
2846
 
cat >>conftest.$ac_ext <<_ACEOF
2847
 
/* end confdefs.h.  */
2848
 
 
2849
 
int
2850
 
main ()
2851
 
{
2852
 
 
2853
 
  ;
2854
 
  return 0;
2855
 
}
2856
 
_ACEOF
2857
 
rm -f conftest.$ac_objext
2858
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859
 
  (eval $ac_compile) 2>conftest.er1
2860
 
  ac_status=$?
2861
 
  grep -v '^ *+' conftest.er1 >conftest.err
2862
 
  rm -f conftest.er1
2863
 
  cat conftest.err >&5
2864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865
 
  (exit $ac_status); } &&
2866
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2867
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868
 
  (eval $ac_try) 2>&5
2869
 
  ac_status=$?
2870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871
 
  (exit $ac_status); }; } &&
2872
 
         { ac_try='test -s conftest.$ac_objext'
2873
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874
 
  (eval $ac_try) 2>&5
2875
 
  ac_status=$?
2876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877
 
  (exit $ac_status); }; }; then
2878
 
  ac_cv_prog_cc_g=yes
2879
 
else
2880
 
  echo "$as_me: failed program was:" >&5
2881
 
sed 's/^/| /' conftest.$ac_ext >&5
2882
 
 
2883
 
ac_cv_prog_cc_g=no
2884
 
fi
2885
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2886
 
fi
2887
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2888
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3366
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3367
   ac_c_werror_flag=yes
 
3368
   ac_cv_prog_cc_g=no
 
3369
   CFLAGS="-g"
 
3370
   cat >conftest.$ac_ext <<_ACEOF
 
3371
/* confdefs.h.  */
 
3372
_ACEOF
 
3373
cat confdefs.h >>conftest.$ac_ext
 
3374
cat >>conftest.$ac_ext <<_ACEOF
 
3375
/* end confdefs.h.  */
 
3376
 
 
3377
int
 
3378
main ()
 
3379
{
 
3380
 
 
3381
  ;
 
3382
  return 0;
 
3383
}
 
3384
_ACEOF
 
3385
rm -f conftest.$ac_objext
 
3386
if { (ac_try="$ac_compile"
 
3387
case "(($ac_try" in
 
3388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3389
  *) ac_try_echo=$ac_try;;
 
3390
esac
 
3391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3392
  (eval "$ac_compile") 2>conftest.er1
 
3393
  ac_status=$?
 
3394
  grep -v '^ *+' conftest.er1 >conftest.err
 
3395
  rm -f conftest.er1
 
3396
  cat conftest.err >&5
 
3397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3398
  (exit $ac_status); } &&
 
3399
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3400
  { (case "(($ac_try" in
 
3401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3402
  *) ac_try_echo=$ac_try;;
 
3403
esac
 
3404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3405
  (eval "$ac_try") 2>&5
 
3406
  ac_status=$?
 
3407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3408
  (exit $ac_status); }; } &&
 
3409
         { ac_try='test -s conftest.$ac_objext'
 
3410
  { (case "(($ac_try" in
 
3411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3412
  *) ac_try_echo=$ac_try;;
 
3413
esac
 
3414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3415
  (eval "$ac_try") 2>&5
 
3416
  ac_status=$?
 
3417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3418
  (exit $ac_status); }; }; then
 
3419
  ac_cv_prog_cc_g=yes
 
3420
else
 
3421
  echo "$as_me: failed program was:" >&5
 
3422
sed 's/^/| /' conftest.$ac_ext >&5
 
3423
 
 
3424
        CFLAGS=""
 
3425
      cat >conftest.$ac_ext <<_ACEOF
 
3426
/* confdefs.h.  */
 
3427
_ACEOF
 
3428
cat confdefs.h >>conftest.$ac_ext
 
3429
cat >>conftest.$ac_ext <<_ACEOF
 
3430
/* end confdefs.h.  */
 
3431
 
 
3432
int
 
3433
main ()
 
3434
{
 
3435
 
 
3436
  ;
 
3437
  return 0;
 
3438
}
 
3439
_ACEOF
 
3440
rm -f conftest.$ac_objext
 
3441
if { (ac_try="$ac_compile"
 
3442
case "(($ac_try" in
 
3443
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3444
  *) ac_try_echo=$ac_try;;
 
3445
esac
 
3446
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3447
  (eval "$ac_compile") 2>conftest.er1
 
3448
  ac_status=$?
 
3449
  grep -v '^ *+' conftest.er1 >conftest.err
 
3450
  rm -f conftest.er1
 
3451
  cat conftest.err >&5
 
3452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3453
  (exit $ac_status); } &&
 
3454
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3455
  { (case "(($ac_try" in
 
3456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3457
  *) ac_try_echo=$ac_try;;
 
3458
esac
 
3459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3460
  (eval "$ac_try") 2>&5
 
3461
  ac_status=$?
 
3462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3463
  (exit $ac_status); }; } &&
 
3464
         { ac_try='test -s conftest.$ac_objext'
 
3465
  { (case "(($ac_try" in
 
3466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3467
  *) ac_try_echo=$ac_try;;
 
3468
esac
 
3469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3470
  (eval "$ac_try") 2>&5
 
3471
  ac_status=$?
 
3472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3473
  (exit $ac_status); }; }; then
 
3474
  :
 
3475
else
 
3476
  echo "$as_me: failed program was:" >&5
 
3477
sed 's/^/| /' conftest.$ac_ext >&5
 
3478
 
 
3479
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3480
         CFLAGS="-g"
 
3481
         cat >conftest.$ac_ext <<_ACEOF
 
3482
/* confdefs.h.  */
 
3483
_ACEOF
 
3484
cat confdefs.h >>conftest.$ac_ext
 
3485
cat >>conftest.$ac_ext <<_ACEOF
 
3486
/* end confdefs.h.  */
 
3487
 
 
3488
int
 
3489
main ()
 
3490
{
 
3491
 
 
3492
  ;
 
3493
  return 0;
 
3494
}
 
3495
_ACEOF
 
3496
rm -f conftest.$ac_objext
 
3497
if { (ac_try="$ac_compile"
 
3498
case "(($ac_try" in
 
3499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3500
  *) ac_try_echo=$ac_try;;
 
3501
esac
 
3502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3503
  (eval "$ac_compile") 2>conftest.er1
 
3504
  ac_status=$?
 
3505
  grep -v '^ *+' conftest.er1 >conftest.err
 
3506
  rm -f conftest.er1
 
3507
  cat conftest.err >&5
 
3508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3509
  (exit $ac_status); } &&
 
3510
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3511
  { (case "(($ac_try" in
 
3512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3513
  *) ac_try_echo=$ac_try;;
 
3514
esac
 
3515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3516
  (eval "$ac_try") 2>&5
 
3517
  ac_status=$?
 
3518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3519
  (exit $ac_status); }; } &&
 
3520
         { ac_try='test -s conftest.$ac_objext'
 
3521
  { (case "(($ac_try" in
 
3522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3523
  *) ac_try_echo=$ac_try;;
 
3524
esac
 
3525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3526
  (eval "$ac_try") 2>&5
 
3527
  ac_status=$?
 
3528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3529
  (exit $ac_status); }; }; then
 
3530
  ac_cv_prog_cc_g=yes
 
3531
else
 
3532
  echo "$as_me: failed program was:" >&5
 
3533
sed 's/^/| /' conftest.$ac_ext >&5
 
3534
 
 
3535
 
 
3536
fi
 
3537
 
 
3538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3539
fi
 
3540
 
 
3541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3542
fi
 
3543
 
 
3544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3545
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3546
fi
 
3547
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3548
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2889
3549
if test "$ac_test_CFLAGS" = set; then
2890
3550
  CFLAGS=$ac_save_CFLAGS
2891
3551
elif test $ac_cv_prog_cc_g = yes; then
2901
3561
    CFLAGS=
2902
3562
  fi
2903
3563
fi
2904
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2905
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2906
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3564
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3565
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3566
if test "${ac_cv_prog_cc_c89+set}" = set; then
2907
3567
  echo $ECHO_N "(cached) $ECHO_C" >&6
2908
3568
else
2909
 
  ac_cv_prog_cc_stdc=no
 
3569
  ac_cv_prog_cc_c89=no
2910
3570
ac_save_CC=$CC
2911
3571
cat >conftest.$ac_ext <<_ACEOF
2912
3572
/* confdefs.h.  */
2940
3600
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2941
3601
   function prototypes and stuff, but not '\xHH' hex character constants.
2942
3602
   These don't provoke an error unfortunately, instead are silently treated
2943
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3603
   as 'x'.  The following induces an error, until -std is added to get
2944
3604
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2945
3605
   array size at least.  It's necessary to write '\x00'==0 to get something
2946
 
   that's true only with -std1.  */
 
3606
   that's true only with -std.  */
2947
3607
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2948
3608
 
 
3609
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3610
   inside strings and character constants.  */
 
3611
#define FOO(x) 'x'
 
3612
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3613
 
2949
3614
int test (int i, double x);
2950
3615
struct s1 {int (*f) (int a);};
2951
3616
struct s2 {int (*f) (double a);};
2960
3625
  return 0;
2961
3626
}
2962
3627
_ACEOF
2963
 
# Don't try gcc -ansi; that turns off useful extensions and
2964
 
# breaks some systems' header files.
2965
 
# AIX                   -qlanglvl=ansi
2966
 
# Ultrix and OSF/1      -std1
2967
 
# HP-UX 10.20 and later -Ae
2968
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2969
 
# SVR4                  -Xc -D__EXTENSIONS__
2970
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3628
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3629
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2971
3630
do
2972
3631
  CC="$ac_save_CC $ac_arg"
2973
3632
  rm -f conftest.$ac_objext
2974
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975
 
  (eval $ac_compile) 2>conftest.er1
 
3633
if { (ac_try="$ac_compile"
 
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_compile") 2>conftest.er1
2976
3640
  ac_status=$?
2977
3641
  grep -v '^ *+' conftest.er1 >conftest.err
2978
3642
  rm -f conftest.er1
2979
3643
  cat conftest.err >&5
2980
3644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
3645
  (exit $ac_status); } &&
2982
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2983
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984
 
  (eval $ac_try) 2>&5
 
3646
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3647
  { (case "(($ac_try" in
 
3648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3649
  *) ac_try_echo=$ac_try;;
 
3650
esac
 
3651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3652
  (eval "$ac_try") 2>&5
2985
3653
  ac_status=$?
2986
3654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
3655
  (exit $ac_status); }; } &&
2988
3656
         { ac_try='test -s conftest.$ac_objext'
2989
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990
 
  (eval $ac_try) 2>&5
 
3657
  { (case "(($ac_try" in
 
3658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3659
  *) ac_try_echo=$ac_try;;
 
3660
esac
 
3661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3662
  (eval "$ac_try") 2>&5
2991
3663
  ac_status=$?
2992
3664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993
3665
  (exit $ac_status); }; }; then
2994
 
  ac_cv_prog_cc_stdc=$ac_arg
2995
 
break
 
3666
  ac_cv_prog_cc_c89=$ac_arg
2996
3667
else
2997
3668
  echo "$as_me: failed program was:" >&5
2998
3669
sed 's/^/| /' conftest.$ac_ext >&5
2999
3670
 
 
3671
 
3000
3672
fi
3001
 
rm -f conftest.err conftest.$ac_objext
 
3673
 
 
3674
rm -f core conftest.err conftest.$ac_objext
 
3675
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3002
3676
done
3003
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3677
rm -f conftest.$ac_ext
3004
3678
CC=$ac_save_CC
3005
3679
 
3006
3680
fi
3007
 
 
3008
 
case "x$ac_cv_prog_cc_stdc" in
3009
 
  x|xno)
3010
 
    echo "$as_me:$LINENO: result: none needed" >&5
3011
 
echo "${ECHO_T}none needed" >&6 ;;
 
3681
# AC_CACHE_VAL
 
3682
case "x$ac_cv_prog_cc_c89" in
 
3683
  x)
 
3684
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3685
echo "${ECHO_T}none needed" >&6; } ;;
 
3686
  xno)
 
3687
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3688
echo "${ECHO_T}unsupported" >&6; } ;;
3012
3689
  *)
3013
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3014
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3015
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3690
    CC="$CC $ac_cv_prog_cc_c89"
 
3691
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3692
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3016
3693
esac
3017
3694
 
3018
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3019
 
# in C++ we need to declare it.  In case someone uses the same compiler
3020
 
# for both compiling C and C++ we need to have the C++ compiler decide
3021
 
# the declaration of exit, since it's the most demanding environment.
3022
 
cat >conftest.$ac_ext <<_ACEOF
3023
 
#ifndef __cplusplus
3024
 
  choke me
3025
 
#endif
3026
 
_ACEOF
3027
 
rm -f conftest.$ac_objext
3028
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3029
 
  (eval $ac_compile) 2>conftest.er1
3030
 
  ac_status=$?
3031
 
  grep -v '^ *+' conftest.er1 >conftest.err
3032
 
  rm -f conftest.er1
3033
 
  cat conftest.err >&5
3034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035
 
  (exit $ac_status); } &&
3036
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3037
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3038
 
  (eval $ac_try) 2>&5
3039
 
  ac_status=$?
3040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041
 
  (exit $ac_status); }; } &&
3042
 
         { ac_try='test -s conftest.$ac_objext'
3043
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044
 
  (eval $ac_try) 2>&5
3045
 
  ac_status=$?
3046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
 
  (exit $ac_status); }; }; then
3048
 
  for ac_declaration in \
3049
 
   '' \
3050
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3051
 
   'extern "C" void std::exit (int); using std::exit;' \
3052
 
   'extern "C" void exit (int) throw ();' \
3053
 
   'extern "C" void exit (int);' \
3054
 
   'void exit (int);'
3055
 
do
3056
 
  cat >conftest.$ac_ext <<_ACEOF
3057
 
/* confdefs.h.  */
3058
 
_ACEOF
3059
 
cat confdefs.h >>conftest.$ac_ext
3060
 
cat >>conftest.$ac_ext <<_ACEOF
3061
 
/* end confdefs.h.  */
3062
 
$ac_declaration
3063
 
#include <stdlib.h>
3064
 
int
3065
 
main ()
3066
 
{
3067
 
exit (42);
3068
 
  ;
3069
 
  return 0;
3070
 
}
3071
 
_ACEOF
3072
 
rm -f conftest.$ac_objext
3073
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074
 
  (eval $ac_compile) 2>conftest.er1
3075
 
  ac_status=$?
3076
 
  grep -v '^ *+' conftest.er1 >conftest.err
3077
 
  rm -f conftest.er1
3078
 
  cat conftest.err >&5
3079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080
 
  (exit $ac_status); } &&
3081
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3083
 
  (eval $ac_try) 2>&5
3084
 
  ac_status=$?
3085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086
 
  (exit $ac_status); }; } &&
3087
 
         { ac_try='test -s conftest.$ac_objext'
3088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089
 
  (eval $ac_try) 2>&5
3090
 
  ac_status=$?
3091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
 
  (exit $ac_status); }; }; then
3093
 
  :
3094
 
else
3095
 
  echo "$as_me: failed program was:" >&5
3096
 
sed 's/^/| /' conftest.$ac_ext >&5
3097
 
 
3098
 
continue
3099
 
fi
3100
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3101
 
  cat >conftest.$ac_ext <<_ACEOF
3102
 
/* confdefs.h.  */
3103
 
_ACEOF
3104
 
cat confdefs.h >>conftest.$ac_ext
3105
 
cat >>conftest.$ac_ext <<_ACEOF
3106
 
/* end confdefs.h.  */
3107
 
$ac_declaration
3108
 
int
3109
 
main ()
3110
 
{
3111
 
exit (42);
3112
 
  ;
3113
 
  return 0;
3114
 
}
3115
 
_ACEOF
3116
 
rm -f conftest.$ac_objext
3117
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118
 
  (eval $ac_compile) 2>conftest.er1
3119
 
  ac_status=$?
3120
 
  grep -v '^ *+' conftest.er1 >conftest.err
3121
 
  rm -f conftest.er1
3122
 
  cat conftest.err >&5
3123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
 
  (exit $ac_status); } &&
3125
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127
 
  (eval $ac_try) 2>&5
3128
 
  ac_status=$?
3129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130
 
  (exit $ac_status); }; } &&
3131
 
         { ac_try='test -s conftest.$ac_objext'
3132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133
 
  (eval $ac_try) 2>&5
3134
 
  ac_status=$?
3135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
 
  (exit $ac_status); }; }; then
3137
 
  break
3138
 
else
3139
 
  echo "$as_me: failed program was:" >&5
3140
 
sed 's/^/| /' conftest.$ac_ext >&5
3141
 
 
3142
 
fi
3143
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3144
 
done
3145
 
rm -f conftest*
3146
 
if test -n "$ac_declaration"; then
3147
 
  echo '#ifdef __cplusplus' >>confdefs.h
3148
 
  echo $ac_declaration      >>confdefs.h
3149
 
  echo '#endif'             >>confdefs.h
3150
 
fi
3151
 
 
3152
 
else
3153
 
  echo "$as_me: failed program was:" >&5
3154
 
sed 's/^/| /' conftest.$ac_ext >&5
3155
 
 
3156
 
fi
3157
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3695
 
3158
3696
ac_ext=c
3159
3697
ac_cpp='$CPP $CPPFLAGS'
3160
3698
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3163
3701
 
3164
3702
depcc="$CC"   am_compiler_list=
3165
3703
 
3166
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3167
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3704
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3705
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3168
3706
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3169
3707
  echo $ECHO_N "(cached) $ECHO_C" >&6
3170
3708
else
3253
3791
fi
3254
3792
 
3255
3793
fi
3256
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3257
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3794
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3795
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3258
3796
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3259
3797
 
3260
3798
 
3270
3808
fi
3271
3809
 
3272
3810
 
3273
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3274
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3811
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3812
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3275
3813
if test "${lt_cv_path_SED+set}" = set; then
3276
3814
  echo $ECHO_N "(cached) $ECHO_C" >&6
3277
3815
else
3324
3862
fi
3325
3863
 
3326
3864
SED=$lt_cv_path_SED
3327
 
echo "$as_me:$LINENO: result: $SED" >&5
3328
 
echo "${ECHO_T}$SED" >&6
3329
 
 
3330
 
echo "$as_me:$LINENO: checking for egrep" >&5
3331
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3332
 
if test "${ac_cv_prog_egrep+set}" = set; then
3333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3334
 
else
3335
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3336
 
    then ac_cv_prog_egrep='grep -E'
3337
 
    else ac_cv_prog_egrep='egrep'
3338
 
    fi
3339
 
fi
3340
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3341
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3342
 
 EGREP=$ac_cv_prog_egrep
3343
 
 
3344
 
 
3345
 
 
3346
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3865
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3866
echo "${ECHO_T}$SED" >&6; }
 
3867
 
 
3868
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3869
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3870
if test "${ac_cv_path_GREP+set}" = set; then
 
3871
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3872
else
 
3873
  # Extract the first word of "grep ggrep" to use in msg output
 
3874
if test -z "$GREP"; then
 
3875
set dummy grep ggrep; ac_prog_name=$2
 
3876
if test "${ac_cv_path_GREP+set}" = set; then
 
3877
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3878
else
 
3879
  ac_path_GREP_found=false
 
3880
# Loop through the user's path and test for each of PROGNAME-LIST
 
3881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3882
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3883
do
 
3884
  IFS=$as_save_IFS
 
3885
  test -z "$as_dir" && as_dir=.
 
3886
  for ac_prog in grep ggrep; do
 
3887
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3888
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3889
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3890
    # Check for GNU ac_path_GREP and select it if it is found.
 
3891
  # Check for GNU $ac_path_GREP
 
3892
case `"$ac_path_GREP" --version 2>&1` in
 
3893
*GNU*)
 
3894
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3895
*)
 
3896
  ac_count=0
 
3897
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3898
  while :
 
3899
  do
 
3900
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3901
    mv "conftest.tmp" "conftest.in"
 
3902
    cp "conftest.in" "conftest.nl"
 
3903
    echo 'GREP' >> "conftest.nl"
 
3904
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3905
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3906
    ac_count=`expr $ac_count + 1`
 
3907
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3908
      # Best one so far, save it but keep looking for a better one
 
3909
      ac_cv_path_GREP="$ac_path_GREP"
 
3910
      ac_path_GREP_max=$ac_count
 
3911
    fi
 
3912
    # 10*(2^10) chars as input seems more than enough
 
3913
    test $ac_count -gt 10 && break
 
3914
  done
 
3915
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3916
esac
 
3917
 
 
3918
 
 
3919
    $ac_path_GREP_found && break 3
 
3920
  done
 
3921
done
 
3922
 
 
3923
done
 
3924
IFS=$as_save_IFS
 
3925
 
 
3926
 
 
3927
fi
 
3928
 
 
3929
GREP="$ac_cv_path_GREP"
 
3930
if test -z "$GREP"; then
 
3931
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3932
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3933
   { (exit 1); exit 1; }; }
 
3934
fi
 
3935
 
 
3936
else
 
3937
  ac_cv_path_GREP=$GREP
 
3938
fi
 
3939
 
 
3940
 
 
3941
fi
 
3942
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3943
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3944
 GREP="$ac_cv_path_GREP"
 
3945
 
 
3946
 
 
3947
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3948
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3949
if test "${ac_cv_path_EGREP+set}" = set; then
 
3950
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3951
else
 
3952
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3953
   then ac_cv_path_EGREP="$GREP -E"
 
3954
   else
 
3955
     # Extract the first word of "egrep" to use in msg output
 
3956
if test -z "$EGREP"; then
 
3957
set dummy egrep; ac_prog_name=$2
 
3958
if test "${ac_cv_path_EGREP+set}" = set; then
 
3959
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3960
else
 
3961
  ac_path_EGREP_found=false
 
3962
# Loop through the user's path and test for each of PROGNAME-LIST
 
3963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3964
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3965
do
 
3966
  IFS=$as_save_IFS
 
3967
  test -z "$as_dir" && as_dir=.
 
3968
  for ac_prog in egrep; do
 
3969
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3970
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3971
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
3972
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3973
  # Check for GNU $ac_path_EGREP
 
3974
case `"$ac_path_EGREP" --version 2>&1` in
 
3975
*GNU*)
 
3976
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3977
*)
 
3978
  ac_count=0
 
3979
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3980
  while :
 
3981
  do
 
3982
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3983
    mv "conftest.tmp" "conftest.in"
 
3984
    cp "conftest.in" "conftest.nl"
 
3985
    echo 'EGREP' >> "conftest.nl"
 
3986
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3987
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3988
    ac_count=`expr $ac_count + 1`
 
3989
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3990
      # Best one so far, save it but keep looking for a better one
 
3991
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3992
      ac_path_EGREP_max=$ac_count
 
3993
    fi
 
3994
    # 10*(2^10) chars as input seems more than enough
 
3995
    test $ac_count -gt 10 && break
 
3996
  done
 
3997
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3998
esac
 
3999
 
 
4000
 
 
4001
    $ac_path_EGREP_found && break 3
 
4002
  done
 
4003
done
 
4004
 
 
4005
done
 
4006
IFS=$as_save_IFS
 
4007
 
 
4008
 
 
4009
fi
 
4010
 
 
4011
EGREP="$ac_cv_path_EGREP"
 
4012
if test -z "$EGREP"; then
 
4013
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4014
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4015
   { (exit 1); exit 1; }; }
 
4016
fi
 
4017
 
 
4018
else
 
4019
  ac_cv_path_EGREP=$EGREP
 
4020
fi
 
4021
 
 
4022
 
 
4023
   fi
 
4024
fi
 
4025
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4026
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4027
 EGREP="$ac_cv_path_EGREP"
 
4028
 
 
4029
 
 
4030
 
 
4031
# Check whether --with-gnu-ld was given.
3347
4032
if test "${with_gnu_ld+set}" = set; then
3348
 
  withval="$with_gnu_ld"
3349
 
  test "$withval" = no || with_gnu_ld=yes
 
4033
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3350
4034
else
3351
4035
  with_gnu_ld=no
3352
 
fi;
 
4036
fi
 
4037
 
3353
4038
ac_prog=ld
3354
4039
if test "$GCC" = yes; then
3355
4040
  # Check if gcc -print-prog-name=ld gives a path.
3356
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3357
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4041
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4042
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3358
4043
  case $host in
3359
4044
  *-*-mingw*)
3360
4045
    # gcc leaves a trailing carriage return which upsets mingw
3383
4068
    ;;
3384
4069
  esac
3385
4070
elif test "$with_gnu_ld" = yes; then
3386
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3387
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4071
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4072
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3388
4073
else
3389
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3390
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4074
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4075
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3391
4076
fi
3392
4077
if test "${lt_cv_path_LD+set}" = set; then
3393
4078
  echo $ECHO_N "(cached) $ECHO_C" >&6
3420
4105
 
3421
4106
LD="$lt_cv_path_LD"
3422
4107
if test -n "$LD"; then
3423
 
  echo "$as_me:$LINENO: result: $LD" >&5
3424
 
echo "${ECHO_T}$LD" >&6
 
4108
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4109
echo "${ECHO_T}$LD" >&6; }
3425
4110
else
3426
 
  echo "$as_me:$LINENO: result: no" >&5
3427
 
echo "${ECHO_T}no" >&6
 
4111
  { echo "$as_me:$LINENO: result: no" >&5
 
4112
echo "${ECHO_T}no" >&6; }
3428
4113
fi
3429
4114
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3430
4115
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3431
4116
   { (exit 1); exit 1; }; }
3432
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3433
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4117
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4118
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3434
4119
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3435
4120
  echo $ECHO_N "(cached) $ECHO_C" >&6
3436
4121
else
3444
4129
  ;;
3445
4130
esac
3446
4131
fi
3447
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3448
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4132
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4133
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3449
4134
with_gnu_ld=$lt_cv_prog_gnu_ld
3450
4135
 
3451
4136
 
3452
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3453
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4137
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4138
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3454
4139
if test "${lt_cv_ld_reload_flag+set}" = set; then
3455
4140
  echo $ECHO_N "(cached) $ECHO_C" >&6
3456
4141
else
3457
4142
  lt_cv_ld_reload_flag='-r'
3458
4143
fi
3459
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3460
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4144
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4145
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3461
4146
reload_flag=$lt_cv_ld_reload_flag
3462
4147
case $reload_flag in
3463
4148
"" | " "*) ;;
3474
4159
    ;;
3475
4160
esac
3476
4161
 
3477
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3478
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4162
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4163
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3479
4164
if test "${lt_cv_path_NM+set}" = set; then
3480
4165
  echo $ECHO_N "(cached) $ECHO_C" >&6
3481
4166
else
3523
4208
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3524
4209
fi
3525
4210
fi
3526
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3527
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4211
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4212
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3528
4213
NM="$lt_cv_path_NM"
3529
4214
 
3530
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3531
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4215
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4216
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3532
4217
LN_S=$as_ln_s
3533
4218
if test "$LN_S" = "ln -s"; then
3534
 
  echo "$as_me:$LINENO: result: yes" >&5
3535
 
echo "${ECHO_T}yes" >&6
 
4219
  { echo "$as_me:$LINENO: result: yes" >&5
 
4220
echo "${ECHO_T}yes" >&6; }
3536
4221
else
3537
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3538
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4222
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4223
echo "${ECHO_T}no, using $LN_S" >&6; }
3539
4224
fi
3540
4225
 
3541
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3542
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4226
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4227
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3543
4228
if test "${lt_cv_deplibs_check_method+set}" = set; then
3544
4229
  echo $ECHO_N "(cached) $ECHO_C" >&6
3545
4230
else
3714
4399
esac
3715
4400
 
3716
4401
fi
3717
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3718
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4402
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4403
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3719
4404
file_magic_cmd=$lt_cv_file_magic_cmd
3720
4405
deplibs_check_method=$lt_cv_deplibs_check_method
3721
4406
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3733
4418
compiler=$CC
3734
4419
 
3735
4420
 
3736
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4421
# Check whether --enable-libtool-lock was given.
3737
4422
if test "${enable_libtool_lock+set}" = set; then
3738
 
  enableval="$enable_libtool_lock"
 
4423
  enableval=$enable_libtool_lock;
 
4424
fi
3739
4425
 
3740
 
fi;
3741
4426
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3742
4427
 
3743
4428
# Some flags need to be propagated to the compiler or linker for good
3764
4449
  ;;
3765
4450
*-*-irix6*)
3766
4451
  # Find out which ABI we are using.
3767
 
  echo '#line 3767 "configure"' > conftest.$ac_ext
 
4452
  echo '#line 4452 "configure"' > conftest.$ac_ext
3768
4453
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3769
4454
  (eval $ac_compile) 2>&5
3770
4455
  ac_status=$?
3849
4534
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3850
4535
  SAVE_CFLAGS="$CFLAGS"
3851
4536
  CFLAGS="$CFLAGS -belf"
3852
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3853
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4537
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4538
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3854
4539
if test "${lt_cv_cc_needs_belf+set}" = set; then
3855
4540
  echo $ECHO_N "(cached) $ECHO_C" >&6
3856
4541
else
3876
4561
}
3877
4562
_ACEOF
3878
4563
rm -f conftest.$ac_objext conftest$ac_exeext
3879
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3880
 
  (eval $ac_link) 2>conftest.er1
 
4564
if { (ac_try="$ac_link"
 
4565
case "(($ac_try" in
 
4566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4567
  *) ac_try_echo=$ac_try;;
 
4568
esac
 
4569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4570
  (eval "$ac_link") 2>conftest.er1
3881
4571
  ac_status=$?
3882
4572
  grep -v '^ *+' conftest.er1 >conftest.err
3883
4573
  rm -f conftest.er1
3884
4574
  cat conftest.err >&5
3885
4575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886
4576
  (exit $ac_status); } &&
3887
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889
 
  (eval $ac_try) 2>&5
 
4577
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4578
  { (case "(($ac_try" in
 
4579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4580
  *) ac_try_echo=$ac_try;;
 
4581
esac
 
4582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4583
  (eval "$ac_try") 2>&5
3890
4584
  ac_status=$?
3891
4585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892
4586
  (exit $ac_status); }; } &&
3893
4587
         { ac_try='test -s conftest$ac_exeext'
3894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895
 
  (eval $ac_try) 2>&5
 
4588
  { (case "(($ac_try" in
 
4589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4590
  *) ac_try_echo=$ac_try;;
 
4591
esac
 
4592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4593
  (eval "$ac_try") 2>&5
3896
4594
  ac_status=$?
3897
4595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898
4596
  (exit $ac_status); }; }; then
3901
4599
  echo "$as_me: failed program was:" >&5
3902
4600
sed 's/^/| /' conftest.$ac_ext >&5
3903
4601
 
3904
 
lt_cv_cc_needs_belf=no
 
4602
        lt_cv_cc_needs_belf=no
3905
4603
fi
3906
 
rm -f conftest.err conftest.$ac_objext \
 
4604
 
 
4605
rm -f core conftest.err conftest.$ac_objext \
3907
4606
      conftest$ac_exeext conftest.$ac_ext
3908
4607
     ac_ext=c
3909
4608
ac_cpp='$CPP $CPPFLAGS'
3912
4611
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913
4612
 
3914
4613
fi
3915
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3916
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4614
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4615
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3917
4616
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3918
4617
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3919
4618
    CFLAGS="$SAVE_CFLAGS"
3950
4649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3951
4650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3952
4651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3954
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4652
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4653
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3955
4654
# On Suns, sometimes $CPP names a directory.
3956
4655
if test -n "$CPP" && test -d "$CPP"; then
3957
4656
  CPP=
3985
4684
#endif
3986
4685
                     Syntax error
3987
4686
_ACEOF
3988
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3989
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4687
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4688
case "(($ac_try" in
 
4689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4690
  *) ac_try_echo=$ac_try;;
 
4691
esac
 
4692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4693
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3990
4694
  ac_status=$?
3991
4695
  grep -v '^ *+' conftest.er1 >conftest.err
3992
4696
  rm -f conftest.er1
4011
4715
  # Broken: fails on valid input.
4012
4716
continue
4013
4717
fi
 
4718
 
4014
4719
rm -f conftest.err conftest.$ac_ext
4015
4720
 
4016
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4721
  # OK, works on sane cases.  Now check whether nonexistent headers
4017
4722
  # can be detected and how.
4018
4723
  cat >conftest.$ac_ext <<_ACEOF
4019
4724
/* confdefs.h.  */
4023
4728
/* end confdefs.h.  */
4024
4729
#include <ac_nonexistent.h>
4025
4730
_ACEOF
4026
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4027
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4731
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4732
case "(($ac_try" in
 
4733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4734
  *) ac_try_echo=$ac_try;;
 
4735
esac
 
4736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4737
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4028
4738
  ac_status=$?
4029
4739
  grep -v '^ *+' conftest.er1 >conftest.err
4030
4740
  rm -f conftest.er1
4051
4761
ac_preproc_ok=:
4052
4762
break
4053
4763
fi
 
4764
 
4054
4765
rm -f conftest.err conftest.$ac_ext
4055
4766
 
4056
4767
done
4068
4779
else
4069
4780
  ac_cv_prog_CPP=$CPP
4070
4781
fi
4071
 
echo "$as_me:$LINENO: result: $CPP" >&5
4072
 
echo "${ECHO_T}$CPP" >&6
 
4782
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4783
echo "${ECHO_T}$CPP" >&6; }
4073
4784
ac_preproc_ok=false
4074
4785
for ac_c_preproc_warn_flag in '' yes
4075
4786
do
4092
4803
#endif
4093
4804
                     Syntax error
4094
4805
_ACEOF
4095
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4096
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4806
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4807
case "(($ac_try" in
 
4808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4809
  *) ac_try_echo=$ac_try;;
 
4810
esac
 
4811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4812
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4097
4813
  ac_status=$?
4098
4814
  grep -v '^ *+' conftest.er1 >conftest.err
4099
4815
  rm -f conftest.er1
4118
4834
  # Broken: fails on valid input.
4119
4835
continue
4120
4836
fi
 
4837
 
4121
4838
rm -f conftest.err conftest.$ac_ext
4122
4839
 
4123
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4840
  # OK, works on sane cases.  Now check whether nonexistent headers
4124
4841
  # can be detected and how.
4125
4842
  cat >conftest.$ac_ext <<_ACEOF
4126
4843
/* confdefs.h.  */
4130
4847
/* end confdefs.h.  */
4131
4848
#include <ac_nonexistent.h>
4132
4849
_ACEOF
4133
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4134
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4850
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4851
case "(($ac_try" in
 
4852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4853
  *) ac_try_echo=$ac_try;;
 
4854
esac
 
4855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4856
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4135
4857
  ac_status=$?
4136
4858
  grep -v '^ *+' conftest.er1 >conftest.err
4137
4859
  rm -f conftest.er1
4158
4880
ac_preproc_ok=:
4159
4881
break
4160
4882
fi
 
4883
 
4161
4884
rm -f conftest.err conftest.$ac_ext
4162
4885
 
4163
4886
done
4180
4903
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4181
4904
 
4182
4905
 
4183
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4184
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4906
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4907
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4185
4908
if test "${ac_cv_header_stdc+set}" = set; then
4186
4909
  echo $ECHO_N "(cached) $ECHO_C" >&6
4187
4910
else
4205
4928
}
4206
4929
_ACEOF
4207
4930
rm -f conftest.$ac_objext
4208
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4209
 
  (eval $ac_compile) 2>conftest.er1
 
4931
if { (ac_try="$ac_compile"
 
4932
case "(($ac_try" in
 
4933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4934
  *) ac_try_echo=$ac_try;;
 
4935
esac
 
4936
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4937
  (eval "$ac_compile") 2>conftest.er1
4210
4938
  ac_status=$?
4211
4939
  grep -v '^ *+' conftest.er1 >conftest.err
4212
4940
  rm -f conftest.er1
4213
4941
  cat conftest.err >&5
4214
4942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215
4943
  (exit $ac_status); } &&
4216
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218
 
  (eval $ac_try) 2>&5
 
4944
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4945
  { (case "(($ac_try" in
 
4946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4947
  *) ac_try_echo=$ac_try;;
 
4948
esac
 
4949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4950
  (eval "$ac_try") 2>&5
4219
4951
  ac_status=$?
4220
4952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
4953
  (exit $ac_status); }; } &&
4222
4954
         { ac_try='test -s conftest.$ac_objext'
4223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224
 
  (eval $ac_try) 2>&5
 
4955
  { (case "(($ac_try" in
 
4956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4957
  *) ac_try_echo=$ac_try;;
 
4958
esac
 
4959
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4960
  (eval "$ac_try") 2>&5
4225
4961
  ac_status=$?
4226
4962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227
4963
  (exit $ac_status); }; }; then
4230
4966
  echo "$as_me: failed program was:" >&5
4231
4967
sed 's/^/| /' conftest.$ac_ext >&5
4232
4968
 
4233
 
ac_cv_header_stdc=no
 
4969
        ac_cv_header_stdc=no
4234
4970
fi
4235
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4971
 
 
4972
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236
4973
 
4237
4974
if test $ac_cv_header_stdc = yes; then
4238
4975
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4288
5025
cat >>conftest.$ac_ext <<_ACEOF
4289
5026
/* end confdefs.h.  */
4290
5027
#include <ctype.h>
 
5028
#include <stdlib.h>
4291
5029
#if ((' ' & 0x0FF) == 0x020)
4292
5030
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4293
5031
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4307
5045
  for (i = 0; i < 256; i++)
4308
5046
    if (XOR (islower (i), ISLOWER (i))
4309
5047
        || toupper (i) != TOUPPER (i))
4310
 
      exit(2);
4311
 
  exit (0);
 
5048
      return 2;
 
5049
  return 0;
4312
5050
}
4313
5051
_ACEOF
4314
5052
rm -f conftest$ac_exeext
4315
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4316
 
  (eval $ac_link) 2>&5
 
5053
if { (ac_try="$ac_link"
 
5054
case "(($ac_try" in
 
5055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5056
  *) ac_try_echo=$ac_try;;
 
5057
esac
 
5058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5059
  (eval "$ac_link") 2>&5
4317
5060
  ac_status=$?
4318
5061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319
5062
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4320
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321
 
  (eval $ac_try) 2>&5
 
5063
  { (case "(($ac_try" in
 
5064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5065
  *) ac_try_echo=$ac_try;;
 
5066
esac
 
5067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5068
  (eval "$ac_try") 2>&5
4322
5069
  ac_status=$?
4323
5070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324
5071
  (exit $ac_status); }; }; then
4331
5078
( exit $ac_status )
4332
5079
ac_cv_header_stdc=no
4333
5080
fi
4334
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4335
 
fi
4336
 
fi
4337
 
fi
4338
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4339
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5081
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5082
fi
 
5083
 
 
5084
 
 
5085
fi
 
5086
fi
 
5087
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5088
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4340
5089
if test $ac_cv_header_stdc = yes; then
4341
5090
 
4342
5091
cat >>confdefs.h <<\_ACEOF
4359
5108
                  inttypes.h stdint.h unistd.h
4360
5109
do
4361
5110
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4362
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4363
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4364
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5111
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5112
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5113
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4365
5114
  echo $ECHO_N "(cached) $ECHO_C" >&6
4366
5115
else
4367
5116
  cat >conftest.$ac_ext <<_ACEOF
4375
5124
#include <$ac_header>
4376
5125
_ACEOF
4377
5126
rm -f conftest.$ac_objext
4378
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379
 
  (eval $ac_compile) 2>conftest.er1
 
5127
if { (ac_try="$ac_compile"
 
5128
case "(($ac_try" in
 
5129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5130
  *) ac_try_echo=$ac_try;;
 
5131
esac
 
5132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5133
  (eval "$ac_compile") 2>conftest.er1
4380
5134
  ac_status=$?
4381
5135
  grep -v '^ *+' conftest.er1 >conftest.err
4382
5136
  rm -f conftest.er1
4383
5137
  cat conftest.err >&5
4384
5138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385
5139
  (exit $ac_status); } &&
4386
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388
 
  (eval $ac_try) 2>&5
 
5140
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5141
  { (case "(($ac_try" in
 
5142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5143
  *) ac_try_echo=$ac_try;;
 
5144
esac
 
5145
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5146
  (eval "$ac_try") 2>&5
4389
5147
  ac_status=$?
4390
5148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391
5149
  (exit $ac_status); }; } &&
4392
5150
         { ac_try='test -s conftest.$ac_objext'
4393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394
 
  (eval $ac_try) 2>&5
 
5151
  { (case "(($ac_try" in
 
5152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5153
  *) ac_try_echo=$ac_try;;
 
5154
esac
 
5155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5156
  (eval "$ac_try") 2>&5
4395
5157
  ac_status=$?
4396
5158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
5159
  (exit $ac_status); }; }; then
4400
5162
  echo "$as_me: failed program was:" >&5
4401
5163
sed 's/^/| /' conftest.$ac_ext >&5
4402
5164
 
4403
 
eval "$as_ac_Header=no"
4404
 
fi
4405
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4406
 
fi
4407
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4408
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5165
        eval "$as_ac_Header=no"
 
5166
fi
 
5167
 
 
5168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5169
fi
 
5170
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5171
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5172
echo "${ECHO_T}$ac_res" >&6; }
4409
5173
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4410
5174
  cat >>confdefs.h <<_ACEOF
4411
5175
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4420
5184
for ac_header in dlfcn.h
4421
5185
do
4422
5186
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4423
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4424
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4425
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4426
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5187
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5188
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5189
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5190
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4427
5191
  echo $ECHO_N "(cached) $ECHO_C" >&6
4428
5192
fi
4429
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4430
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5193
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5194
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5195
echo "${ECHO_T}$ac_res" >&6; }
4431
5196
else
4432
5197
  # Is the header compilable?
4433
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4434
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5198
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5199
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4435
5200
cat >conftest.$ac_ext <<_ACEOF
4436
5201
/* confdefs.h.  */
4437
5202
_ACEOF
4442
5207
#include <$ac_header>
4443
5208
_ACEOF
4444
5209
rm -f conftest.$ac_objext
4445
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446
 
  (eval $ac_compile) 2>conftest.er1
 
5210
if { (ac_try="$ac_compile"
 
5211
case "(($ac_try" in
 
5212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5213
  *) ac_try_echo=$ac_try;;
 
5214
esac
 
5215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5216
  (eval "$ac_compile") 2>conftest.er1
4447
5217
  ac_status=$?
4448
5218
  grep -v '^ *+' conftest.er1 >conftest.err
4449
5219
  rm -f conftest.er1
4450
5220
  cat conftest.err >&5
4451
5221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452
5222
  (exit $ac_status); } &&
4453
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4454
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4455
 
  (eval $ac_try) 2>&5
 
5223
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5224
  { (case "(($ac_try" in
 
5225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5226
  *) ac_try_echo=$ac_try;;
 
5227
esac
 
5228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5229
  (eval "$ac_try") 2>&5
4456
5230
  ac_status=$?
4457
5231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458
5232
  (exit $ac_status); }; } &&
4459
5233
         { ac_try='test -s conftest.$ac_objext'
4460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461
 
  (eval $ac_try) 2>&5
 
5234
  { (case "(($ac_try" in
 
5235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5236
  *) ac_try_echo=$ac_try;;
 
5237
esac
 
5238
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5239
  (eval "$ac_try") 2>&5
4462
5240
  ac_status=$?
4463
5241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464
5242
  (exit $ac_status); }; }; then
4467
5245
  echo "$as_me: failed program was:" >&5
4468
5246
sed 's/^/| /' conftest.$ac_ext >&5
4469
5247
 
4470
 
ac_header_compiler=no
 
5248
        ac_header_compiler=no
4471
5249
fi
4472
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4473
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4474
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5250
 
 
5251
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5252
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5253
echo "${ECHO_T}$ac_header_compiler" >&6; }
4475
5254
 
4476
5255
# Is the header present?
4477
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4478
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5256
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5257
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4479
5258
cat >conftest.$ac_ext <<_ACEOF
4480
5259
/* confdefs.h.  */
4481
5260
_ACEOF
4484
5263
/* end confdefs.h.  */
4485
5264
#include <$ac_header>
4486
5265
_ACEOF
4487
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4488
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5266
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5267
case "(($ac_try" in
 
5268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5269
  *) ac_try_echo=$ac_try;;
 
5270
esac
 
5271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5272
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4489
5273
  ac_status=$?
4490
5274
  grep -v '^ *+' conftest.er1 >conftest.err
4491
5275
  rm -f conftest.er1
4509
5293
 
4510
5294
  ac_header_preproc=no
4511
5295
fi
 
5296
 
4512
5297
rm -f conftest.err conftest.$ac_ext
4513
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4514
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5298
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5299
echo "${ECHO_T}$ac_header_preproc" >&6; }
4515
5300
 
4516
5301
# So?  What about this header?
4517
5302
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4535
5320
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4536
5321
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4537
5322
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4538
 
    (
4539
 
      cat <<\_ASBOX
 
5323
    ( cat <<\_ASBOX
4540
5324
## ---------------------------------------- ##
4541
5325
## Report this to hpijs@packages.debian.org ##
4542
5326
## ---------------------------------------- ##
4543
5327
_ASBOX
4544
 
    ) |
4545
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5328
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4546
5329
    ;;
4547
5330
esac
4548
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4549
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4550
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5331
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5332
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5333
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4551
5334
  echo $ECHO_N "(cached) $ECHO_C" >&6
4552
5335
else
4553
5336
  eval "$as_ac_Header=\$ac_header_preproc"
4554
5337
fi
4555
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4556
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5338
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5339
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5340
echo "${ECHO_T}$ac_res" >&6; }
4557
5341
 
4558
5342
fi
4559
5343
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4565
5349
 
4566
5350
done
4567
5351
 
4568
 
ac_ext=cc
 
5352
ac_ext=cpp
4569
5353
ac_cpp='$CXXCPP $CPPFLAGS'
4570
5354
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571
5355
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572
5356
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4573
 
if test -n "$ac_tool_prefix"; then
4574
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5357
if test -z "$CXX"; then
 
5358
  if test -n "$CCC"; then
 
5359
    CXX=$CCC
 
5360
  else
 
5361
    if test -n "$ac_tool_prefix"; then
 
5362
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4575
5363
  do
4576
5364
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4577
5365
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4578
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4579
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5366
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5367
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4580
5368
if test "${ac_cv_prog_CXX+set}" = set; then
4581
5369
  echo $ECHO_N "(cached) $ECHO_C" >&6
4582
5370
else
4589
5377
  IFS=$as_save_IFS
4590
5378
  test -z "$as_dir" && as_dir=.
4591
5379
  for ac_exec_ext in '' $ac_executable_extensions; do
4592
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4593
5381
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4594
5382
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4595
5383
    break 2
4596
5384
  fi
4597
5385
done
4598
5386
done
 
5387
IFS=$as_save_IFS
4599
5388
 
4600
5389
fi
4601
5390
fi
4602
5391
CXX=$ac_cv_prog_CXX
4603
5392
if test -n "$CXX"; then
4604
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4605
 
echo "${ECHO_T}$CXX" >&6
 
5393
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5394
echo "${ECHO_T}$CXX" >&6; }
4606
5395
else
4607
 
  echo "$as_me:$LINENO: result: no" >&5
4608
 
echo "${ECHO_T}no" >&6
 
5396
  { echo "$as_me:$LINENO: result: no" >&5
 
5397
echo "${ECHO_T}no" >&6; }
4609
5398
fi
4610
5399
 
 
5400
 
4611
5401
    test -n "$CXX" && break
4612
5402
  done
4613
5403
fi
4614
5404
if test -z "$CXX"; then
4615
5405
  ac_ct_CXX=$CXX
4616
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5406
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4617
5407
do
4618
5408
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4619
5409
set dummy $ac_prog; ac_word=$2
4620
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4621
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5410
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5411
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4622
5412
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4623
5413
  echo $ECHO_N "(cached) $ECHO_C" >&6
4624
5414
else
4631
5421
  IFS=$as_save_IFS
4632
5422
  test -z "$as_dir" && as_dir=.
4633
5423
  for ac_exec_ext in '' $ac_executable_extensions; do
4634
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5424
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4635
5425
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4636
5426
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637
5427
    break 2
4638
5428
  fi
4639
5429
done
4640
5430
done
 
5431
IFS=$as_save_IFS
4641
5432
 
4642
5433
fi
4643
5434
fi
4644
5435
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4645
5436
if test -n "$ac_ct_CXX"; then
4646
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4647
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5437
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5438
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4648
5439
else
4649
 
  echo "$as_me:$LINENO: result: no" >&5
4650
 
echo "${ECHO_T}no" >&6
 
5440
  { echo "$as_me:$LINENO: result: no" >&5
 
5441
echo "${ECHO_T}no" >&6; }
4651
5442
fi
4652
5443
 
 
5444
 
4653
5445
  test -n "$ac_ct_CXX" && break
4654
5446
done
4655
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4656
 
 
4657
 
  CXX=$ac_ct_CXX
4658
 
fi
4659
 
 
4660
 
 
 
5447
 
 
5448
  if test "x$ac_ct_CXX" = x; then
 
5449
    CXX="g++"
 
5450
  else
 
5451
    case $cross_compiling:$ac_tool_warned in
 
5452
yes:)
 
5453
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5454
whose name does not start with the host triplet.  If you think this
 
5455
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5456
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5457
whose name does not start with the host triplet.  If you think this
 
5458
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5459
ac_tool_warned=yes ;;
 
5460
esac
 
5461
    CXX=$ac_ct_CXX
 
5462
  fi
 
5463
fi
 
5464
 
 
5465
  fi
 
5466
fi
4661
5467
# Provide some information about the compiler.
4662
 
echo "$as_me:$LINENO:" \
4663
 
     "checking for C++ compiler version" >&5
 
5468
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4664
5469
ac_compiler=`set X $ac_compile; echo $2`
4665
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4666
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4667
 
  ac_status=$?
4668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669
 
  (exit $ac_status); }
4670
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4671
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4672
 
  ac_status=$?
4673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674
 
  (exit $ac_status); }
4675
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4676
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5470
{ (ac_try="$ac_compiler --version >&5"
 
5471
case "(($ac_try" in
 
5472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5473
  *) ac_try_echo=$ac_try;;
 
5474
esac
 
5475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5476
  (eval "$ac_compiler --version >&5") 2>&5
 
5477
  ac_status=$?
 
5478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5479
  (exit $ac_status); }
 
5480
{ (ac_try="$ac_compiler -v >&5"
 
5481
case "(($ac_try" in
 
5482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5483
  *) ac_try_echo=$ac_try;;
 
5484
esac
 
5485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5486
  (eval "$ac_compiler -v >&5") 2>&5
 
5487
  ac_status=$?
 
5488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5489
  (exit $ac_status); }
 
5490
{ (ac_try="$ac_compiler -V >&5"
 
5491
case "(($ac_try" in
 
5492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5493
  *) ac_try_echo=$ac_try;;
 
5494
esac
 
5495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5496
  (eval "$ac_compiler -V >&5") 2>&5
4677
5497
  ac_status=$?
4678
5498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
5499
  (exit $ac_status); }
4680
5500
 
4681
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4682
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5501
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5502
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4683
5503
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4684
5504
  echo $ECHO_N "(cached) $ECHO_C" >&6
4685
5505
else
4702
5522
}
4703
5523
_ACEOF
4704
5524
rm -f conftest.$ac_objext
4705
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4706
 
  (eval $ac_compile) 2>conftest.er1
 
5525
if { (ac_try="$ac_compile"
 
5526
case "(($ac_try" in
 
5527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5528
  *) ac_try_echo=$ac_try;;
 
5529
esac
 
5530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5531
  (eval "$ac_compile") 2>conftest.er1
4707
5532
  ac_status=$?
4708
5533
  grep -v '^ *+' conftest.er1 >conftest.err
4709
5534
  rm -f conftest.er1
4710
5535
  cat conftest.err >&5
4711
5536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712
5537
  (exit $ac_status); } &&
4713
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715
 
  (eval $ac_try) 2>&5
 
5538
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5539
  { (case "(($ac_try" in
 
5540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5541
  *) ac_try_echo=$ac_try;;
 
5542
esac
 
5543
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5544
  (eval "$ac_try") 2>&5
4716
5545
  ac_status=$?
4717
5546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718
5547
  (exit $ac_status); }; } &&
4719
5548
         { ac_try='test -s conftest.$ac_objext'
4720
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721
 
  (eval $ac_try) 2>&5
 
5549
  { (case "(($ac_try" in
 
5550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5551
  *) ac_try_echo=$ac_try;;
 
5552
esac
 
5553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5554
  (eval "$ac_try") 2>&5
4722
5555
  ac_status=$?
4723
5556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724
5557
  (exit $ac_status); }; }; then
4727
5560
  echo "$as_me: failed program was:" >&5
4728
5561
sed 's/^/| /' conftest.$ac_ext >&5
4729
5562
 
4730
 
ac_compiler_gnu=no
 
5563
        ac_compiler_gnu=no
4731
5564
fi
4732
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5565
 
 
5566
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733
5567
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4734
5568
 
4735
5569
fi
4736
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4737
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5570
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5571
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4738
5572
GXX=`test $ac_compiler_gnu = yes && echo yes`
4739
5573
ac_test_CXXFLAGS=${CXXFLAGS+set}
4740
5574
ac_save_CXXFLAGS=$CXXFLAGS
4741
 
CXXFLAGS="-g"
4742
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4743
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5575
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5576
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4744
5577
if test "${ac_cv_prog_cxx_g+set}" = set; then
4745
5578
  echo $ECHO_N "(cached) $ECHO_C" >&6
4746
5579
else
4747
 
  cat >conftest.$ac_ext <<_ACEOF
4748
 
/* confdefs.h.  */
4749
 
_ACEOF
4750
 
cat confdefs.h >>conftest.$ac_ext
4751
 
cat >>conftest.$ac_ext <<_ACEOF
4752
 
/* end confdefs.h.  */
4753
 
 
4754
 
int
4755
 
main ()
4756
 
{
4757
 
 
4758
 
  ;
4759
 
  return 0;
4760
 
}
4761
 
_ACEOF
4762
 
rm -f conftest.$ac_objext
4763
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764
 
  (eval $ac_compile) 2>conftest.er1
4765
 
  ac_status=$?
4766
 
  grep -v '^ *+' conftest.er1 >conftest.err
4767
 
  rm -f conftest.er1
4768
 
  cat conftest.err >&5
4769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
 
  (exit $ac_status); } &&
4771
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773
 
  (eval $ac_try) 2>&5
4774
 
  ac_status=$?
4775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776
 
  (exit $ac_status); }; } &&
4777
 
         { ac_try='test -s conftest.$ac_objext'
4778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779
 
  (eval $ac_try) 2>&5
4780
 
  ac_status=$?
4781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782
 
  (exit $ac_status); }; }; then
4783
 
  ac_cv_prog_cxx_g=yes
4784
 
else
4785
 
  echo "$as_me: failed program was:" >&5
4786
 
sed 's/^/| /' conftest.$ac_ext >&5
4787
 
 
4788
 
ac_cv_prog_cxx_g=no
4789
 
fi
4790
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4791
 
fi
4792
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4793
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5580
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5581
   ac_cxx_werror_flag=yes
 
5582
   ac_cv_prog_cxx_g=no
 
5583
   CXXFLAGS="-g"
 
5584
   cat >conftest.$ac_ext <<_ACEOF
 
5585
/* confdefs.h.  */
 
5586
_ACEOF
 
5587
cat confdefs.h >>conftest.$ac_ext
 
5588
cat >>conftest.$ac_ext <<_ACEOF
 
5589
/* end confdefs.h.  */
 
5590
 
 
5591
int
 
5592
main ()
 
5593
{
 
5594
 
 
5595
  ;
 
5596
  return 0;
 
5597
}
 
5598
_ACEOF
 
5599
rm -f conftest.$ac_objext
 
5600
if { (ac_try="$ac_compile"
 
5601
case "(($ac_try" in
 
5602
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5603
  *) ac_try_echo=$ac_try;;
 
5604
esac
 
5605
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5606
  (eval "$ac_compile") 2>conftest.er1
 
5607
  ac_status=$?
 
5608
  grep -v '^ *+' conftest.er1 >conftest.err
 
5609
  rm -f conftest.er1
 
5610
  cat conftest.err >&5
 
5611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5612
  (exit $ac_status); } &&
 
5613
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5614
  { (case "(($ac_try" in
 
5615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5616
  *) ac_try_echo=$ac_try;;
 
5617
esac
 
5618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5619
  (eval "$ac_try") 2>&5
 
5620
  ac_status=$?
 
5621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5622
  (exit $ac_status); }; } &&
 
5623
         { ac_try='test -s conftest.$ac_objext'
 
5624
  { (case "(($ac_try" in
 
5625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5626
  *) ac_try_echo=$ac_try;;
 
5627
esac
 
5628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5629
  (eval "$ac_try") 2>&5
 
5630
  ac_status=$?
 
5631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5632
  (exit $ac_status); }; }; then
 
5633
  ac_cv_prog_cxx_g=yes
 
5634
else
 
5635
  echo "$as_me: failed program was:" >&5
 
5636
sed 's/^/| /' conftest.$ac_ext >&5
 
5637
 
 
5638
        CXXFLAGS=""
 
5639
      cat >conftest.$ac_ext <<_ACEOF
 
5640
/* confdefs.h.  */
 
5641
_ACEOF
 
5642
cat confdefs.h >>conftest.$ac_ext
 
5643
cat >>conftest.$ac_ext <<_ACEOF
 
5644
/* end confdefs.h.  */
 
5645
 
 
5646
int
 
5647
main ()
 
5648
{
 
5649
 
 
5650
  ;
 
5651
  return 0;
 
5652
}
 
5653
_ACEOF
 
5654
rm -f conftest.$ac_objext
 
5655
if { (ac_try="$ac_compile"
 
5656
case "(($ac_try" in
 
5657
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5658
  *) ac_try_echo=$ac_try;;
 
5659
esac
 
5660
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5661
  (eval "$ac_compile") 2>conftest.er1
 
5662
  ac_status=$?
 
5663
  grep -v '^ *+' conftest.er1 >conftest.err
 
5664
  rm -f conftest.er1
 
5665
  cat conftest.err >&5
 
5666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5667
  (exit $ac_status); } &&
 
5668
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5669
  { (case "(($ac_try" in
 
5670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5671
  *) ac_try_echo=$ac_try;;
 
5672
esac
 
5673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5674
  (eval "$ac_try") 2>&5
 
5675
  ac_status=$?
 
5676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5677
  (exit $ac_status); }; } &&
 
5678
         { ac_try='test -s conftest.$ac_objext'
 
5679
  { (case "(($ac_try" in
 
5680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5681
  *) ac_try_echo=$ac_try;;
 
5682
esac
 
5683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5684
  (eval "$ac_try") 2>&5
 
5685
  ac_status=$?
 
5686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5687
  (exit $ac_status); }; }; then
 
5688
  :
 
5689
else
 
5690
  echo "$as_me: failed program was:" >&5
 
5691
sed 's/^/| /' conftest.$ac_ext >&5
 
5692
 
 
5693
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5694
         CXXFLAGS="-g"
 
5695
         cat >conftest.$ac_ext <<_ACEOF
 
5696
/* confdefs.h.  */
 
5697
_ACEOF
 
5698
cat confdefs.h >>conftest.$ac_ext
 
5699
cat >>conftest.$ac_ext <<_ACEOF
 
5700
/* end confdefs.h.  */
 
5701
 
 
5702
int
 
5703
main ()
 
5704
{
 
5705
 
 
5706
  ;
 
5707
  return 0;
 
5708
}
 
5709
_ACEOF
 
5710
rm -f conftest.$ac_objext
 
5711
if { (ac_try="$ac_compile"
 
5712
case "(($ac_try" in
 
5713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5714
  *) ac_try_echo=$ac_try;;
 
5715
esac
 
5716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5717
  (eval "$ac_compile") 2>conftest.er1
 
5718
  ac_status=$?
 
5719
  grep -v '^ *+' conftest.er1 >conftest.err
 
5720
  rm -f conftest.er1
 
5721
  cat conftest.err >&5
 
5722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5723
  (exit $ac_status); } &&
 
5724
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5725
  { (case "(($ac_try" in
 
5726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5727
  *) ac_try_echo=$ac_try;;
 
5728
esac
 
5729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5730
  (eval "$ac_try") 2>&5
 
5731
  ac_status=$?
 
5732
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5733
  (exit $ac_status); }; } &&
 
5734
         { ac_try='test -s conftest.$ac_objext'
 
5735
  { (case "(($ac_try" in
 
5736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5737
  *) ac_try_echo=$ac_try;;
 
5738
esac
 
5739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5740
  (eval "$ac_try") 2>&5
 
5741
  ac_status=$?
 
5742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5743
  (exit $ac_status); }; }; then
 
5744
  ac_cv_prog_cxx_g=yes
 
5745
else
 
5746
  echo "$as_me: failed program was:" >&5
 
5747
sed 's/^/| /' conftest.$ac_ext >&5
 
5748
 
 
5749
 
 
5750
fi
 
5751
 
 
5752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5753
fi
 
5754
 
 
5755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5756
fi
 
5757
 
 
5758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5759
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5760
fi
 
5761
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5762
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4794
5763
if test "$ac_test_CXXFLAGS" = set; then
4795
5764
  CXXFLAGS=$ac_save_CXXFLAGS
4796
5765
elif test $ac_cv_prog_cxx_g = yes; then
4806
5775
    CXXFLAGS=
4807
5776
  fi
4808
5777
fi
4809
 
for ac_declaration in \
4810
 
   '' \
4811
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4812
 
   'extern "C" void std::exit (int); using std::exit;' \
4813
 
   'extern "C" void exit (int) throw ();' \
4814
 
   'extern "C" void exit (int);' \
4815
 
   'void exit (int);'
4816
 
do
4817
 
  cat >conftest.$ac_ext <<_ACEOF
4818
 
/* confdefs.h.  */
4819
 
_ACEOF
4820
 
cat confdefs.h >>conftest.$ac_ext
4821
 
cat >>conftest.$ac_ext <<_ACEOF
4822
 
/* end confdefs.h.  */
4823
 
$ac_declaration
4824
 
#include <stdlib.h>
4825
 
int
4826
 
main ()
4827
 
{
4828
 
exit (42);
4829
 
  ;
4830
 
  return 0;
4831
 
}
4832
 
_ACEOF
4833
 
rm -f conftest.$ac_objext
4834
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835
 
  (eval $ac_compile) 2>conftest.er1
4836
 
  ac_status=$?
4837
 
  grep -v '^ *+' conftest.er1 >conftest.err
4838
 
  rm -f conftest.er1
4839
 
  cat conftest.err >&5
4840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
 
  (exit $ac_status); } &&
4842
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4843
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844
 
  (eval $ac_try) 2>&5
4845
 
  ac_status=$?
4846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847
 
  (exit $ac_status); }; } &&
4848
 
         { ac_try='test -s conftest.$ac_objext'
4849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850
 
  (eval $ac_try) 2>&5
4851
 
  ac_status=$?
4852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853
 
  (exit $ac_status); }; }; then
4854
 
  :
4855
 
else
4856
 
  echo "$as_me: failed program was:" >&5
4857
 
sed 's/^/| /' conftest.$ac_ext >&5
4858
 
 
4859
 
continue
4860
 
fi
4861
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4862
 
  cat >conftest.$ac_ext <<_ACEOF
4863
 
/* confdefs.h.  */
4864
 
_ACEOF
4865
 
cat confdefs.h >>conftest.$ac_ext
4866
 
cat >>conftest.$ac_ext <<_ACEOF
4867
 
/* end confdefs.h.  */
4868
 
$ac_declaration
4869
 
int
4870
 
main ()
4871
 
{
4872
 
exit (42);
4873
 
  ;
4874
 
  return 0;
4875
 
}
4876
 
_ACEOF
4877
 
rm -f conftest.$ac_objext
4878
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4879
 
  (eval $ac_compile) 2>conftest.er1
4880
 
  ac_status=$?
4881
 
  grep -v '^ *+' conftest.er1 >conftest.err
4882
 
  rm -f conftest.er1
4883
 
  cat conftest.err >&5
4884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885
 
  (exit $ac_status); } &&
4886
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4887
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888
 
  (eval $ac_try) 2>&5
4889
 
  ac_status=$?
4890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891
 
  (exit $ac_status); }; } &&
4892
 
         { ac_try='test -s conftest.$ac_objext'
4893
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894
 
  (eval $ac_try) 2>&5
4895
 
  ac_status=$?
4896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897
 
  (exit $ac_status); }; }; then
4898
 
  break
4899
 
else
4900
 
  echo "$as_me: failed program was:" >&5
4901
 
sed 's/^/| /' conftest.$ac_ext >&5
4902
 
 
4903
 
fi
4904
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4905
 
done
4906
 
rm -f conftest*
4907
 
if test -n "$ac_declaration"; then
4908
 
  echo '#ifdef __cplusplus' >>confdefs.h
4909
 
  echo $ac_declaration      >>confdefs.h
4910
 
  echo '#endif'             >>confdefs.h
4911
 
fi
4912
 
 
4913
 
ac_ext=cc
 
5778
ac_ext=cpp
4914
5779
ac_cpp='$CXXCPP $CPPFLAGS'
4915
5780
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916
5781
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918
5783
 
4919
5784
depcc="$CXX"  am_compiler_list=
4920
5785
 
4921
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4922
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5786
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5787
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4923
5788
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4924
5789
  echo $ECHO_N "(cached) $ECHO_C" >&6
4925
5790
else
5008
5873
fi
5009
5874
 
5010
5875
fi
5011
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5012
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5876
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5877
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5013
5878
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5014
5879
 
5015
5880
 
5030
5895
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5031
5896
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5032
5897
    (test "X$CXX" != "Xg++"))) ; then
5033
 
  ac_ext=cc
 
5898
  ac_ext=cpp
5034
5899
ac_cpp='$CXXCPP $CPPFLAGS'
5035
5900
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036
5901
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037
5902
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5038
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5039
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5903
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5904
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5040
5905
if test -z "$CXXCPP"; then
5041
5906
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5042
5907
  echo $ECHO_N "(cached) $ECHO_C" >&6
5066
5931
#endif
5067
5932
                     Syntax error
5068
5933
_ACEOF
5069
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5070
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5934
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5935
case "(($ac_try" in
 
5936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5937
  *) ac_try_echo=$ac_try;;
 
5938
esac
 
5939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5940
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5071
5941
  ac_status=$?
5072
5942
  grep -v '^ *+' conftest.er1 >conftest.err
5073
5943
  rm -f conftest.er1
5092
5962
  # Broken: fails on valid input.
5093
5963
continue
5094
5964
fi
 
5965
 
5095
5966
rm -f conftest.err conftest.$ac_ext
5096
5967
 
5097
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5968
  # OK, works on sane cases.  Now check whether nonexistent headers
5098
5969
  # can be detected and how.
5099
5970
  cat >conftest.$ac_ext <<_ACEOF
5100
5971
/* confdefs.h.  */
5104
5975
/* end confdefs.h.  */
5105
5976
#include <ac_nonexistent.h>
5106
5977
_ACEOF
5107
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5108
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5978
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5979
case "(($ac_try" in
 
5980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5981
  *) ac_try_echo=$ac_try;;
 
5982
esac
 
5983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5984
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5109
5985
  ac_status=$?
5110
5986
  grep -v '^ *+' conftest.er1 >conftest.err
5111
5987
  rm -f conftest.er1
5132
6008
ac_preproc_ok=:
5133
6009
break
5134
6010
fi
 
6011
 
5135
6012
rm -f conftest.err conftest.$ac_ext
5136
6013
 
5137
6014
done
5149
6026
else
5150
6027
  ac_cv_prog_CXXCPP=$CXXCPP
5151
6028
fi
5152
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5153
 
echo "${ECHO_T}$CXXCPP" >&6
 
6029
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6030
echo "${ECHO_T}$CXXCPP" >&6; }
5154
6031
ac_preproc_ok=false
5155
6032
for ac_cxx_preproc_warn_flag in '' yes
5156
6033
do
5173
6050
#endif
5174
6051
                     Syntax error
5175
6052
_ACEOF
5176
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5177
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6053
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6054
case "(($ac_try" in
 
6055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6056
  *) ac_try_echo=$ac_try;;
 
6057
esac
 
6058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6059
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5178
6060
  ac_status=$?
5179
6061
  grep -v '^ *+' conftest.er1 >conftest.err
5180
6062
  rm -f conftest.er1
5199
6081
  # Broken: fails on valid input.
5200
6082
continue
5201
6083
fi
 
6084
 
5202
6085
rm -f conftest.err conftest.$ac_ext
5203
6086
 
5204
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6087
  # OK, works on sane cases.  Now check whether nonexistent headers
5205
6088
  # can be detected and how.
5206
6089
  cat >conftest.$ac_ext <<_ACEOF
5207
6090
/* confdefs.h.  */
5211
6094
/* end confdefs.h.  */
5212
6095
#include <ac_nonexistent.h>
5213
6096
_ACEOF
5214
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5215
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6097
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6098
case "(($ac_try" in
 
6099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6100
  *) ac_try_echo=$ac_try;;
 
6101
esac
 
6102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6103
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5216
6104
  ac_status=$?
5217
6105
  grep -v '^ *+' conftest.er1 >conftest.err
5218
6106
  rm -f conftest.er1
5239
6127
ac_preproc_ok=:
5240
6128
break
5241
6129
fi
 
6130
 
5242
6131
rm -f conftest.err conftest.$ac_ext
5243
6132
 
5244
6133
done
5254
6143
   { (exit 1); exit 1; }; }
5255
6144
fi
5256
6145
 
5257
 
ac_ext=cc
 
6146
ac_ext=cpp
5258
6147
ac_cpp='$CXXCPP $CPPFLAGS'
5259
6148
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260
6149
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268
6157
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5269
6158
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5270
6159
if test -n "$ac_tool_prefix"; then
5271
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6160
  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
5272
6161
  do
5273
6162
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5274
6163
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5275
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5276
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6164
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6165
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277
6166
if test "${ac_cv_prog_F77+set}" = set; then
5278
6167
  echo $ECHO_N "(cached) $ECHO_C" >&6
5279
6168
else
5286
6175
  IFS=$as_save_IFS
5287
6176
  test -z "$as_dir" && as_dir=.
5288
6177
  for ac_exec_ext in '' $ac_executable_extensions; do
5289
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5290
6179
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5291
6180
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292
6181
    break 2
5293
6182
  fi
5294
6183
done
5295
6184
done
 
6185
IFS=$as_save_IFS
5296
6186
 
5297
6187
fi
5298
6188
fi
5299
6189
F77=$ac_cv_prog_F77
5300
6190
if test -n "$F77"; then
5301
 
  echo "$as_me:$LINENO: result: $F77" >&5
5302
 
echo "${ECHO_T}$F77" >&6
 
6191
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6192
echo "${ECHO_T}$F77" >&6; }
5303
6193
else
5304
 
  echo "$as_me:$LINENO: result: no" >&5
5305
 
echo "${ECHO_T}no" >&6
 
6194
  { echo "$as_me:$LINENO: result: no" >&5
 
6195
echo "${ECHO_T}no" >&6; }
5306
6196
fi
5307
6197
 
 
6198
 
5308
6199
    test -n "$F77" && break
5309
6200
  done
5310
6201
fi
5311
6202
if test -z "$F77"; then
5312
6203
  ac_ct_F77=$F77
5313
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6204
  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
5314
6205
do
5315
6206
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5316
6207
set dummy $ac_prog; ac_word=$2
5317
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5318
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6208
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6209
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5319
6210
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5320
6211
  echo $ECHO_N "(cached) $ECHO_C" >&6
5321
6212
else
5328
6219
  IFS=$as_save_IFS
5329
6220
  test -z "$as_dir" && as_dir=.
5330
6221
  for ac_exec_ext in '' $ac_executable_extensions; do
5331
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6222
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5332
6223
    ac_cv_prog_ac_ct_F77="$ac_prog"
5333
6224
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5334
6225
    break 2
5335
6226
  fi
5336
6227
done
5337
6228
done
 
6229
IFS=$as_save_IFS
5338
6230
 
5339
6231
fi
5340
6232
fi
5341
6233
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5342
6234
if test -n "$ac_ct_F77"; then
5343
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5344
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6235
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6236
echo "${ECHO_T}$ac_ct_F77" >&6; }
5345
6237
else
5346
 
  echo "$as_me:$LINENO: result: no" >&5
5347
 
echo "${ECHO_T}no" >&6
 
6238
  { echo "$as_me:$LINENO: result: no" >&5
 
6239
echo "${ECHO_T}no" >&6; }
5348
6240
fi
5349
6241
 
 
6242
 
5350
6243
  test -n "$ac_ct_F77" && break
5351
6244
done
5352
6245
 
5353
 
  F77=$ac_ct_F77
 
6246
  if test "x$ac_ct_F77" = x; then
 
6247
    F77=""
 
6248
  else
 
6249
    case $cross_compiling:$ac_tool_warned in
 
6250
yes:)
 
6251
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6252
whose name does not start with the host triplet.  If you think this
 
6253
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6254
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6255
whose name does not start with the host triplet.  If you think this
 
6256
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6257
ac_tool_warned=yes ;;
 
6258
esac
 
6259
    F77=$ac_ct_F77
 
6260
  fi
5354
6261
fi
5355
6262
 
5356
6263
 
5357
6264
# Provide some information about the compiler.
5358
 
echo "$as_me:5358:" \
5359
 
     "checking for Fortran 77 compiler version" >&5
 
6265
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5360
6266
ac_compiler=`set X $ac_compile; echo $2`
5361
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5362
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5363
 
  ac_status=$?
5364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
 
  (exit $ac_status); }
5366
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5367
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5368
 
  ac_status=$?
5369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370
 
  (exit $ac_status); }
5371
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5372
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6267
{ (ac_try="$ac_compiler --version >&5"
 
6268
case "(($ac_try" in
 
6269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6270
  *) ac_try_echo=$ac_try;;
 
6271
esac
 
6272
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6273
  (eval "$ac_compiler --version >&5") 2>&5
 
6274
  ac_status=$?
 
6275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6276
  (exit $ac_status); }
 
6277
{ (ac_try="$ac_compiler -v >&5"
 
6278
case "(($ac_try" in
 
6279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6280
  *) ac_try_echo=$ac_try;;
 
6281
esac
 
6282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6283
  (eval "$ac_compiler -v >&5") 2>&5
 
6284
  ac_status=$?
 
6285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6286
  (exit $ac_status); }
 
6287
{ (ac_try="$ac_compiler -V >&5"
 
6288
case "(($ac_try" in
 
6289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6290
  *) ac_try_echo=$ac_try;;
 
6291
esac
 
6292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6293
  (eval "$ac_compiler -V >&5") 2>&5
5373
6294
  ac_status=$?
5374
6295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375
6296
  (exit $ac_status); }
5379
6300
# input file.  (Note that this only needs to work for GNU compilers.)
5380
6301
ac_save_ext=$ac_ext
5381
6302
ac_ext=F
5382
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5383
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6303
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6304
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5384
6305
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5385
6306
  echo $ECHO_N "(cached) $ECHO_C" >&6
5386
6307
else
5393
6314
      end
5394
6315
_ACEOF
5395
6316
rm -f conftest.$ac_objext
5396
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5397
 
  (eval $ac_compile) 2>conftest.er1
 
6317
if { (ac_try="$ac_compile"
 
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_compile") 2>conftest.er1
5398
6324
  ac_status=$?
5399
6325
  grep -v '^ *+' conftest.er1 >conftest.err
5400
6326
  rm -f conftest.er1
5401
6327
  cat conftest.err >&5
5402
6328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403
6329
  (exit $ac_status); } &&
5404
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5405
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5406
 
  (eval $ac_try) 2>&5
 
6330
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6331
  { (case "(($ac_try" in
 
6332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6333
  *) ac_try_echo=$ac_try;;
 
6334
esac
 
6335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6336
  (eval "$ac_try") 2>&5
5407
6337
  ac_status=$?
5408
6338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409
6339
  (exit $ac_status); }; } &&
5410
6340
         { ac_try='test -s conftest.$ac_objext'
5411
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412
 
  (eval $ac_try) 2>&5
 
6341
  { (case "(($ac_try" in
 
6342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6343
  *) ac_try_echo=$ac_try;;
 
6344
esac
 
6345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6346
  (eval "$ac_try") 2>&5
5413
6347
  ac_status=$?
5414
6348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415
6349
  (exit $ac_status); }; }; then
5418
6352
  echo "$as_me: failed program was:" >&5
5419
6353
sed 's/^/| /' conftest.$ac_ext >&5
5420
6354
 
5421
 
ac_compiler_gnu=no
 
6355
        ac_compiler_gnu=no
5422
6356
fi
5423
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6357
 
 
6358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424
6359
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5425
6360
 
5426
6361
fi
5427
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5428
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6362
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6363
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5429
6364
ac_ext=$ac_save_ext
5430
6365
ac_test_FFLAGS=${FFLAGS+set}
5431
6366
ac_save_FFLAGS=$FFLAGS
5432
6367
FFLAGS=
5433
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5434
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6368
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6369
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5435
6370
if test "${ac_cv_prog_f77_g+set}" = set; then
5436
6371
  echo $ECHO_N "(cached) $ECHO_C" >&6
5437
6372
else
5442
6377
      end
5443
6378
_ACEOF
5444
6379
rm -f conftest.$ac_objext
5445
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5446
 
  (eval $ac_compile) 2>conftest.er1
 
6380
if { (ac_try="$ac_compile"
 
6381
case "(($ac_try" in
 
6382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6383
  *) ac_try_echo=$ac_try;;
 
6384
esac
 
6385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6386
  (eval "$ac_compile") 2>conftest.er1
5447
6387
  ac_status=$?
5448
6388
  grep -v '^ *+' conftest.er1 >conftest.err
5449
6389
  rm -f conftest.er1
5450
6390
  cat conftest.err >&5
5451
6391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452
6392
  (exit $ac_status); } &&
5453
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5454
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455
 
  (eval $ac_try) 2>&5
 
6393
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6394
  { (case "(($ac_try" in
 
6395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6396
  *) ac_try_echo=$ac_try;;
 
6397
esac
 
6398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6399
  (eval "$ac_try") 2>&5
5456
6400
  ac_status=$?
5457
6401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458
6402
  (exit $ac_status); }; } &&
5459
6403
         { ac_try='test -s conftest.$ac_objext'
5460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461
 
  (eval $ac_try) 2>&5
 
6404
  { (case "(($ac_try" in
 
6405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6406
  *) ac_try_echo=$ac_try;;
 
6407
esac
 
6408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6409
  (eval "$ac_try") 2>&5
5462
6410
  ac_status=$?
5463
6411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464
6412
  (exit $ac_status); }; }; then
5467
6415
  echo "$as_me: failed program was:" >&5
5468
6416
sed 's/^/| /' conftest.$ac_ext >&5
5469
6417
 
5470
 
ac_cv_prog_f77_g=no
5471
 
fi
5472
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5473
 
 
5474
 
fi
5475
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5476
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6418
        ac_cv_prog_f77_g=no
 
6419
fi
 
6420
 
 
6421
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6422
 
 
6423
fi
 
6424
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6425
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5477
6426
if test "$ac_test_FFLAGS" = set; then
5478
6427
  FFLAGS=$ac_save_FFLAGS
5479
6428
elif test $ac_cv_prog_f77_g = yes; then
5502
6451
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5503
6452
 
5504
6453
# find the maximum length of command line arguments
5505
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5506
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6454
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6455
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5507
6456
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5508
6457
  echo $ECHO_N "(cached) $ECHO_C" >&6
5509
6458
else
5611
6560
fi
5612
6561
 
5613
6562
if test -n $lt_cv_sys_max_cmd_len ; then
5614
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5615
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6563
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6564
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5616
6565
else
5617
 
  echo "$as_me:$LINENO: result: none" >&5
5618
 
echo "${ECHO_T}none" >&6
 
6566
  { echo "$as_me:$LINENO: result: none" >&5
 
6567
echo "${ECHO_T}none" >&6; }
5619
6568
fi
5620
6569
 
5621
6570
 
5622
6571
 
5623
6572
 
5624
6573
# Check for command to grab the raw symbol name followed by C symbol from nm.
5625
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5626
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6574
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6575
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5627
6576
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5628
6577
  echo $ECHO_N "(cached) $ECHO_C" >&6
5629
6578
else
5827
6776
  lt_cv_sys_global_symbol_to_cdecl=
5828
6777
fi
5829
6778
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5830
 
  echo "$as_me:$LINENO: result: failed" >&5
5831
 
echo "${ECHO_T}failed" >&6
 
6779
  { echo "$as_me:$LINENO: result: failed" >&5
 
6780
echo "${ECHO_T}failed" >&6; }
5832
6781
else
5833
 
  echo "$as_me:$LINENO: result: ok" >&5
5834
 
echo "${ECHO_T}ok" >&6
 
6782
  { echo "$as_me:$LINENO: result: ok" >&5
 
6783
echo "${ECHO_T}ok" >&6; }
5835
6784
fi
5836
6785
 
5837
 
echo "$as_me:$LINENO: checking for objdir" >&5
5838
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6786
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6787
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5839
6788
if test "${lt_cv_objdir+set}" = set; then
5840
6789
  echo $ECHO_N "(cached) $ECHO_C" >&6
5841
6790
else
5849
6798
fi
5850
6799
rmdir .libs 2>/dev/null
5851
6800
fi
5852
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5853
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6801
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6802
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5854
6803
objdir=$lt_cv_objdir
5855
6804
 
5856
6805
 
5901
6850
if test -n "$ac_tool_prefix"; then
5902
6851
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5903
6852
set dummy ${ac_tool_prefix}ar; ac_word=$2
5904
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5905
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6853
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6854
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5906
6855
if test "${ac_cv_prog_AR+set}" = set; then
5907
6856
  echo $ECHO_N "(cached) $ECHO_C" >&6
5908
6857
else
5915
6864
  IFS=$as_save_IFS
5916
6865
  test -z "$as_dir" && as_dir=.
5917
6866
  for ac_exec_ext in '' $ac_executable_extensions; do
5918
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5919
6868
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5920
6869
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921
6870
    break 2
5922
6871
  fi
5923
6872
done
5924
6873
done
 
6874
IFS=$as_save_IFS
5925
6875
 
5926
6876
fi
5927
6877
fi
5928
6878
AR=$ac_cv_prog_AR
5929
6879
if test -n "$AR"; then
5930
 
  echo "$as_me:$LINENO: result: $AR" >&5
5931
 
echo "${ECHO_T}$AR" >&6
 
6880
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6881
echo "${ECHO_T}$AR" >&6; }
5932
6882
else
5933
 
  echo "$as_me:$LINENO: result: no" >&5
5934
 
echo "${ECHO_T}no" >&6
 
6883
  { echo "$as_me:$LINENO: result: no" >&5
 
6884
echo "${ECHO_T}no" >&6; }
5935
6885
fi
 
6886
 
5936
6887
 
5937
6888
fi
5938
6889
if test -z "$ac_cv_prog_AR"; then
5939
6890
  ac_ct_AR=$AR
5940
6891
  # Extract the first word of "ar", so it can be a program name with args.
5941
6892
set dummy ar; ac_word=$2
5942
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5943
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6893
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6894
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5944
6895
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5945
6896
  echo $ECHO_N "(cached) $ECHO_C" >&6
5946
6897
else
5953
6904
  IFS=$as_save_IFS
5954
6905
  test -z "$as_dir" && as_dir=.
5955
6906
  for ac_exec_ext in '' $ac_executable_extensions; do
5956
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5957
6908
    ac_cv_prog_ac_ct_AR="ar"
5958
6909
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5959
6910
    break 2
5960
6911
  fi
5961
6912
done
5962
6913
done
 
6914
IFS=$as_save_IFS
5963
6915
 
5964
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5965
6916
fi
5966
6917
fi
5967
6918
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5968
6919
if test -n "$ac_ct_AR"; then
5969
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5970
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6920
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6921
echo "${ECHO_T}$ac_ct_AR" >&6; }
5971
6922
else
5972
 
  echo "$as_me:$LINENO: result: no" >&5
5973
 
echo "${ECHO_T}no" >&6
 
6923
  { echo "$as_me:$LINENO: result: no" >&5
 
6924
echo "${ECHO_T}no" >&6; }
5974
6925
fi
5975
6926
 
5976
 
  AR=$ac_ct_AR
 
6927
  if test "x$ac_ct_AR" = x; then
 
6928
    AR="false"
 
6929
  else
 
6930
    case $cross_compiling:$ac_tool_warned in
 
6931
yes:)
 
6932
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6933
whose name does not start with the host triplet.  If you think this
 
6934
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6935
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6936
whose name does not start with the host triplet.  If you think this
 
6937
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6938
ac_tool_warned=yes ;;
 
6939
esac
 
6940
    AR=$ac_ct_AR
 
6941
  fi
5977
6942
else
5978
6943
  AR="$ac_cv_prog_AR"
5979
6944
fi
5981
6946
if test -n "$ac_tool_prefix"; then
5982
6947
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5983
6948
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5984
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5985
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6949
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6950
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5986
6951
if test "${ac_cv_prog_RANLIB+set}" = set; then
5987
6952
  echo $ECHO_N "(cached) $ECHO_C" >&6
5988
6953
else
5995
6960
  IFS=$as_save_IFS
5996
6961
  test -z "$as_dir" && as_dir=.
5997
6962
  for ac_exec_ext in '' $ac_executable_extensions; do
5998
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6963
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5999
6964
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6000
6965
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6001
6966
    break 2
6002
6967
  fi
6003
6968
done
6004
6969
done
 
6970
IFS=$as_save_IFS
6005
6971
 
6006
6972
fi
6007
6973
fi
6008
6974
RANLIB=$ac_cv_prog_RANLIB
6009
6975
if test -n "$RANLIB"; then
6010
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6011
 
echo "${ECHO_T}$RANLIB" >&6
 
6976
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6977
echo "${ECHO_T}$RANLIB" >&6; }
6012
6978
else
6013
 
  echo "$as_me:$LINENO: result: no" >&5
6014
 
echo "${ECHO_T}no" >&6
 
6979
  { echo "$as_me:$LINENO: result: no" >&5
 
6980
echo "${ECHO_T}no" >&6; }
6015
6981
fi
 
6982
 
6016
6983
 
6017
6984
fi
6018
6985
if test -z "$ac_cv_prog_RANLIB"; then
6019
6986
  ac_ct_RANLIB=$RANLIB
6020
6987
  # Extract the first word of "ranlib", so it can be a program name with args.
6021
6988
set dummy ranlib; ac_word=$2
6022
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6023
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6989
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6990
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6024
6991
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6025
6992
  echo $ECHO_N "(cached) $ECHO_C" >&6
6026
6993
else
6033
7000
  IFS=$as_save_IFS
6034
7001
  test -z "$as_dir" && as_dir=.
6035
7002
  for ac_exec_ext in '' $ac_executable_extensions; do
6036
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7003
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6037
7004
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6038
7005
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039
7006
    break 2
6040
7007
  fi
6041
7008
done
6042
7009
done
 
7010
IFS=$as_save_IFS
6043
7011
 
6044
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6045
7012
fi
6046
7013
fi
6047
7014
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6048
7015
if test -n "$ac_ct_RANLIB"; then
6049
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6050
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7016
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7017
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6051
7018
else
6052
 
  echo "$as_me:$LINENO: result: no" >&5
6053
 
echo "${ECHO_T}no" >&6
 
7019
  { echo "$as_me:$LINENO: result: no" >&5
 
7020
echo "${ECHO_T}no" >&6; }
6054
7021
fi
6055
7022
 
6056
 
  RANLIB=$ac_ct_RANLIB
 
7023
  if test "x$ac_ct_RANLIB" = x; then
 
7024
    RANLIB=":"
 
7025
  else
 
7026
    case $cross_compiling:$ac_tool_warned in
 
7027
yes:)
 
7028
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7029
whose name does not start with the host triplet.  If you think this
 
7030
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7031
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7032
whose name does not start with the host triplet.  If you think this
 
7033
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7034
ac_tool_warned=yes ;;
 
7035
esac
 
7036
    RANLIB=$ac_ct_RANLIB
 
7037
  fi
6057
7038
else
6058
7039
  RANLIB="$ac_cv_prog_RANLIB"
6059
7040
fi
6061
7042
if test -n "$ac_tool_prefix"; then
6062
7043
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6063
7044
set dummy ${ac_tool_prefix}strip; ac_word=$2
6064
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6065
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7045
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7046
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6066
7047
if test "${ac_cv_prog_STRIP+set}" = set; then
6067
7048
  echo $ECHO_N "(cached) $ECHO_C" >&6
6068
7049
else
6075
7056
  IFS=$as_save_IFS
6076
7057
  test -z "$as_dir" && as_dir=.
6077
7058
  for ac_exec_ext in '' $ac_executable_extensions; do
6078
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6079
7060
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6080
7061
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6081
7062
    break 2
6082
7063
  fi
6083
7064
done
6084
7065
done
 
7066
IFS=$as_save_IFS
6085
7067
 
6086
7068
fi
6087
7069
fi
6088
7070
STRIP=$ac_cv_prog_STRIP
6089
7071
if test -n "$STRIP"; then
6090
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6091
 
echo "${ECHO_T}$STRIP" >&6
 
7072
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7073
echo "${ECHO_T}$STRIP" >&6; }
6092
7074
else
6093
 
  echo "$as_me:$LINENO: result: no" >&5
6094
 
echo "${ECHO_T}no" >&6
 
7075
  { echo "$as_me:$LINENO: result: no" >&5
 
7076
echo "${ECHO_T}no" >&6; }
6095
7077
fi
 
7078
 
6096
7079
 
6097
7080
fi
6098
7081
if test -z "$ac_cv_prog_STRIP"; then
6099
7082
  ac_ct_STRIP=$STRIP
6100
7083
  # Extract the first word of "strip", so it can be a program name with args.
6101
7084
set dummy strip; ac_word=$2
6102
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6103
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7085
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7086
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6104
7087
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6105
7088
  echo $ECHO_N "(cached) $ECHO_C" >&6
6106
7089
else
6113
7096
  IFS=$as_save_IFS
6114
7097
  test -z "$as_dir" && as_dir=.
6115
7098
  for ac_exec_ext in '' $ac_executable_extensions; do
6116
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7099
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6117
7100
    ac_cv_prog_ac_ct_STRIP="strip"
6118
7101
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6119
7102
    break 2
6120
7103
  fi
6121
7104
done
6122
7105
done
 
7106
IFS=$as_save_IFS
6123
7107
 
6124
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6125
7108
fi
6126
7109
fi
6127
7110
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6128
7111
if test -n "$ac_ct_STRIP"; then
6129
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6130
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7112
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7113
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6131
7114
else
6132
 
  echo "$as_me:$LINENO: result: no" >&5
6133
 
echo "${ECHO_T}no" >&6
 
7115
  { echo "$as_me:$LINENO: result: no" >&5
 
7116
echo "${ECHO_T}no" >&6; }
6134
7117
fi
6135
7118
 
6136
 
  STRIP=$ac_ct_STRIP
 
7119
  if test "x$ac_ct_STRIP" = x; then
 
7120
    STRIP=":"
 
7121
  else
 
7122
    case $cross_compiling:$ac_tool_warned in
 
7123
yes:)
 
7124
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7125
whose name does not start with the host triplet.  If you think this
 
7126
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7127
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7128
whose name does not start with the host triplet.  If you think this
 
7129
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7130
ac_tool_warned=yes ;;
 
7131
esac
 
7132
    STRIP=$ac_ct_STRIP
 
7133
  fi
6137
7134
else
6138
7135
  STRIP="$ac_cv_prog_STRIP"
6139
7136
fi
6192
7189
case $deplibs_check_method in
6193
7190
file_magic*)
6194
7191
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6195
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6196
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7192
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7193
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6197
7194
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6198
7195
  echo $ECHO_N "(cached) $ECHO_C" >&6
6199
7196
else
6245
7242
 
6246
7243
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6247
7244
if test -n "$MAGIC_CMD"; then
6248
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6249
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7245
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7246
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6250
7247
else
6251
 
  echo "$as_me:$LINENO: result: no" >&5
6252
 
echo "${ECHO_T}no" >&6
 
7248
  { echo "$as_me:$LINENO: result: no" >&5
 
7249
echo "${ECHO_T}no" >&6; }
6253
7250
fi
6254
7251
 
6255
7252
if test -z "$lt_cv_path_MAGIC_CMD"; then
6256
7253
  if test -n "$ac_tool_prefix"; then
6257
 
    echo "$as_me:$LINENO: checking for file" >&5
6258
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7254
    { echo "$as_me:$LINENO: checking for file" >&5
 
7255
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6259
7256
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6260
7257
  echo $ECHO_N "(cached) $ECHO_C" >&6
6261
7258
else
6307
7304
 
6308
7305
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6309
7306
if test -n "$MAGIC_CMD"; then
6310
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6311
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7307
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7308
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6312
7309
else
6313
 
  echo "$as_me:$LINENO: result: no" >&5
6314
 
echo "${ECHO_T}no" >&6
 
7310
  { echo "$as_me:$LINENO: result: no" >&5
 
7311
echo "${ECHO_T}no" >&6; }
6315
7312
fi
6316
7313
 
6317
7314
  else
6326
7323
enable_dlopen=no
6327
7324
enable_win32_dll=no
6328
7325
 
6329
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7326
# Check whether --enable-libtool-lock was given.
6330
7327
if test "${enable_libtool_lock+set}" = set; then
6331
 
  enableval="$enable_libtool_lock"
 
7328
  enableval=$enable_libtool_lock;
 
7329
fi
6332
7330
 
6333
 
fi;
6334
7331
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6335
7332
 
6336
7333
 
6337
 
# Check whether --with-pic or --without-pic was given.
 
7334
# Check whether --with-pic was given.
6338
7335
if test "${with_pic+set}" = set; then
6339
 
  withval="$with_pic"
6340
 
  pic_mode="$withval"
 
7336
  withval=$with_pic; pic_mode="$withval"
6341
7337
else
6342
7338
  pic_mode=default
6343
 
fi;
 
7339
fi
 
7340
 
6344
7341
test -z "$pic_mode" && pic_mode=default
6345
7342
 
6346
7343
# Use C for the default configuration in the libtool script
6398
7395
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6399
7396
 
6400
7397
 
6401
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6402
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7398
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7399
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6403
7400
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6404
7401
  echo $ECHO_N "(cached) $ECHO_C" >&6
6405
7402
else
6416
7413
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6417
7414
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6418
7415
   -e 's:$: $lt_compiler_flag:'`
6419
 
   (eval echo "\"\$as_me:6419: $lt_compile\"" >&5)
 
7416
   (eval echo "\"\$as_me:7416: $lt_compile\"" >&5)
6420
7417
   (eval "$lt_compile" 2>conftest.err)
6421
7418
   ac_status=$?
6422
7419
   cat conftest.err >&5
6423
 
   echo "$as_me:6423: \$? = $ac_status" >&5
 
7420
   echo "$as_me:7420: \$? = $ac_status" >&5
6424
7421
   if (exit $ac_status) && test -s "$ac_outfile"; then
6425
7422
     # The compiler can only warn and ignore the option if not recognized
6426
7423
     # So say no if there are warnings other than the usual output.
6433
7430
   $rm conftest*
6434
7431
 
6435
7432
fi
6436
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6437
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7433
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7434
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6438
7435
 
6439
7436
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6440
7437
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6448
7445
lt_prog_compiler_pic=
6449
7446
lt_prog_compiler_static=
6450
7447
 
6451
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6452
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7448
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7449
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6453
7450
 
6454
7451
  if test "$GCC" = yes; then
6455
7452
    lt_prog_compiler_wl='-Wl,'
6658
7655
    esac
6659
7656
  fi
6660
7657
 
6661
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6662
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7658
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7659
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6663
7660
 
6664
7661
#
6665
7662
# Check to make sure the PIC flag actually works.
6666
7663
#
6667
7664
if test -n "$lt_prog_compiler_pic"; then
6668
7665
 
6669
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6670
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7666
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7667
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6671
7668
if test "${lt_prog_compiler_pic_works+set}" = set; then
6672
7669
  echo $ECHO_N "(cached) $ECHO_C" >&6
6673
7670
else
6684
7681
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6685
7682
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6686
7683
   -e 's:$: $lt_compiler_flag:'`
6687
 
   (eval echo "\"\$as_me:6687: $lt_compile\"" >&5)
 
7684
   (eval echo "\"\$as_me:7684: $lt_compile\"" >&5)
6688
7685
   (eval "$lt_compile" 2>conftest.err)
6689
7686
   ac_status=$?
6690
7687
   cat conftest.err >&5
6691
 
   echo "$as_me:6691: \$? = $ac_status" >&5
 
7688
   echo "$as_me:7688: \$? = $ac_status" >&5
6692
7689
   if (exit $ac_status) && test -s "$ac_outfile"; then
6693
7690
     # The compiler can only warn and ignore the option if not recognized
6694
7691
     # So say no if there are warnings other than the usual output.
6701
7698
   $rm conftest*
6702
7699
 
6703
7700
fi
6704
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6705
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7701
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7702
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6706
7703
 
6707
7704
if test x"$lt_prog_compiler_pic_works" = xyes; then
6708
7705
    case $lt_prog_compiler_pic in
6729
7726
# Check to make sure the static flag actually works.
6730
7727
#
6731
7728
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6732
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6733
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
7729
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7730
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6734
7731
if test "${lt_prog_compiler_static_works+set}" = set; then
6735
7732
  echo $ECHO_N "(cached) $ECHO_C" >&6
6736
7733
else
6757
7754
   LDFLAGS="$save_LDFLAGS"
6758
7755
 
6759
7756
fi
6760
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6761
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7757
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7758
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6762
7759
 
6763
7760
if test x"$lt_prog_compiler_static_works" = xyes; then
6764
7761
    :
6767
7764
fi
6768
7765
 
6769
7766
 
6770
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6771
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7767
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7768
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6772
7769
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6773
7770
  echo $ECHO_N "(cached) $ECHO_C" >&6
6774
7771
else
6788
7785
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6789
7786
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6790
7787
   -e 's:$: $lt_compiler_flag:'`
6791
 
   (eval echo "\"\$as_me:6791: $lt_compile\"" >&5)
 
7788
   (eval echo "\"\$as_me:7788: $lt_compile\"" >&5)
6792
7789
   (eval "$lt_compile" 2>out/conftest.err)
6793
7790
   ac_status=$?
6794
7791
   cat out/conftest.err >&5
6795
 
   echo "$as_me:6795: \$? = $ac_status" >&5
 
7792
   echo "$as_me:7792: \$? = $ac_status" >&5
6796
7793
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6797
7794
   then
6798
7795
     # The compiler can only warn and ignore the option if not recognized
6814
7811
   $rm conftest*
6815
7812
 
6816
7813
fi
6817
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6818
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7814
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7815
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6819
7816
 
6820
7817
 
6821
7818
hard_links="nottested"
6822
7819
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6823
7820
  # do not overwrite the value of need_locks provided by the user
6824
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6825
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7821
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7822
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6826
7823
  hard_links=yes
6827
7824
  $rm conftest*
6828
7825
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6829
7826
  touch conftest.a
6830
7827
  ln conftest.a conftest.b 2>&5 || hard_links=no
6831
7828
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6832
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6833
 
echo "${ECHO_T}$hard_links" >&6
 
7829
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7830
echo "${ECHO_T}$hard_links" >&6; }
6834
7831
  if test "$hard_links" = no; then
6835
7832
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6836
7833
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6840
7837
  need_locks=no
6841
7838
fi
6842
7839
 
6843
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6844
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7840
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7841
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6845
7842
 
6846
7843
  runpath_var=
6847
7844
  allow_undefined_flag=
7257
8254
}
7258
8255
_ACEOF
7259
8256
rm -f conftest.$ac_objext conftest$ac_exeext
7260
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7261
 
  (eval $ac_link) 2>conftest.er1
 
8257
if { (ac_try="$ac_link"
 
8258
case "(($ac_try" in
 
8259
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8260
  *) ac_try_echo=$ac_try;;
 
8261
esac
 
8262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8263
  (eval "$ac_link") 2>conftest.er1
7262
8264
  ac_status=$?
7263
8265
  grep -v '^ *+' conftest.er1 >conftest.err
7264
8266
  rm -f conftest.er1
7265
8267
  cat conftest.err >&5
7266
8268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267
8269
  (exit $ac_status); } &&
7268
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270
 
  (eval $ac_try) 2>&5
 
8270
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8271
  { (case "(($ac_try" in
 
8272
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8273
  *) ac_try_echo=$ac_try;;
 
8274
esac
 
8275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8276
  (eval "$ac_try") 2>&5
7271
8277
  ac_status=$?
7272
8278
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273
8279
  (exit $ac_status); }; } &&
7274
8280
         { ac_try='test -s conftest$ac_exeext'
7275
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276
 
  (eval $ac_try) 2>&5
 
8281
  { (case "(($ac_try" in
 
8282
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8283
  *) ac_try_echo=$ac_try;;
 
8284
esac
 
8285
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8286
  (eval "$ac_try") 2>&5
7277
8287
  ac_status=$?
7278
8288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279
8289
  (exit $ac_status); }; }; then
7287
8297
  echo "$as_me: failed program was:" >&5
7288
8298
sed 's/^/| /' conftest.$ac_ext >&5
7289
8299
 
 
8300
 
7290
8301
fi
7291
 
rm -f conftest.err conftest.$ac_objext \
 
8302
 
 
8303
rm -f core conftest.err conftest.$ac_objext \
7292
8304
      conftest$ac_exeext conftest.$ac_ext
7293
8305
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7294
8306
 
7317
8329
}
7318
8330
_ACEOF
7319
8331
rm -f conftest.$ac_objext conftest$ac_exeext
7320
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7321
 
  (eval $ac_link) 2>conftest.er1
 
8332
if { (ac_try="$ac_link"
 
8333
case "(($ac_try" in
 
8334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8335
  *) ac_try_echo=$ac_try;;
 
8336
esac
 
8337
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8338
  (eval "$ac_link") 2>conftest.er1
7322
8339
  ac_status=$?
7323
8340
  grep -v '^ *+' conftest.er1 >conftest.err
7324
8341
  rm -f conftest.er1
7325
8342
  cat conftest.err >&5
7326
8343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327
8344
  (exit $ac_status); } &&
7328
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7329
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330
 
  (eval $ac_try) 2>&5
 
8345
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8346
  { (case "(($ac_try" in
 
8347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8348
  *) ac_try_echo=$ac_try;;
 
8349
esac
 
8350
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8351
  (eval "$ac_try") 2>&5
7331
8352
  ac_status=$?
7332
8353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333
8354
  (exit $ac_status); }; } &&
7334
8355
         { ac_try='test -s conftest$ac_exeext'
7335
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336
 
  (eval $ac_try) 2>&5
 
8356
  { (case "(($ac_try" in
 
8357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8358
  *) ac_try_echo=$ac_try;;
 
8359
esac
 
8360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8361
  (eval "$ac_try") 2>&5
7337
8362
  ac_status=$?
7338
8363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339
8364
  (exit $ac_status); }; }; then
7347
8372
  echo "$as_me: failed program was:" >&5
7348
8373
sed 's/^/| /' conftest.$ac_ext >&5
7349
8374
 
 
8375
 
7350
8376
fi
7351
 
rm -f conftest.err conftest.$ac_objext \
 
8377
 
 
8378
rm -f core conftest.err conftest.$ac_objext \
7352
8379
      conftest$ac_exeext conftest.$ac_ext
7353
8380
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7354
8381
 
7797
8824
    esac
7798
8825
  fi
7799
8826
 
7800
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7801
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8827
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8828
echo "${ECHO_T}$ld_shlibs" >&6; }
7802
8829
test "$ld_shlibs" = no && can_build_shared=no
7803
8830
 
7804
8831
#
7818
8845
      # Test whether the compiler implicitly links with -lc since on some
7819
8846
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7820
8847
      # to ld, don't add -lc before -lgcc.
7821
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7822
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8848
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8849
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7823
8850
      $rm conftest*
7824
8851
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7825
8852
 
7856
8883
        cat conftest.err 1>&5
7857
8884
      fi
7858
8885
      $rm conftest*
7859
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7860
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8886
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8887
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7861
8888
      ;;
7862
8889
    esac
7863
8890
  fi
7864
8891
  ;;
7865
8892
esac
7866
8893
 
7867
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7868
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8894
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8895
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7869
8896
library_names_spec=
7870
8897
libname_spec='lib$name'
7871
8898
soname_spec=
8440
9467
  dynamic_linker=no
8441
9468
  ;;
8442
9469
esac
8443
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8444
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9470
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9471
echo "${ECHO_T}$dynamic_linker" >&6; }
8445
9472
test "$dynamic_linker" = no && can_build_shared=no
8446
9473
 
8447
9474
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8449
9476
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8450
9477
fi
8451
9478
 
8452
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8453
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9479
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9480
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8454
9481
hardcode_action=
8455
9482
if test -n "$hardcode_libdir_flag_spec" || \
8456
9483
   test -n "$runpath_var" || \
8474
9501
  # directories.
8475
9502
  hardcode_action=unsupported
8476
9503
fi
8477
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8478
 
echo "${ECHO_T}$hardcode_action" >&6
 
9504
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9505
echo "${ECHO_T}$hardcode_action" >&6; }
8479
9506
 
8480
9507
if test "$hardcode_action" = relink; then
8481
9508
  # Fast installation is not supported
8488
9515
 
8489
9516
striplib=
8490
9517
old_striplib=
8491
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8492
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9518
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9519
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8493
9520
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8494
9521
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8495
9522
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8496
 
  echo "$as_me:$LINENO: result: yes" >&5
8497
 
echo "${ECHO_T}yes" >&6
 
9523
  { echo "$as_me:$LINENO: result: yes" >&5
 
9524
echo "${ECHO_T}yes" >&6; }
8498
9525
else
8499
9526
# FIXME - insert some real tests, host_os isn't really good enough
8500
9527
  case $host_os in
8501
9528
   darwin*)
8502
9529
       if test -n "$STRIP" ; then
8503
9530
         striplib="$STRIP -x"
8504
 
         echo "$as_me:$LINENO: result: yes" >&5
8505
 
echo "${ECHO_T}yes" >&6
 
9531
         { echo "$as_me:$LINENO: result: yes" >&5
 
9532
echo "${ECHO_T}yes" >&6; }
8506
9533
       else
8507
 
  echo "$as_me:$LINENO: result: no" >&5
8508
 
echo "${ECHO_T}no" >&6
 
9534
  { echo "$as_me:$LINENO: result: no" >&5
 
9535
echo "${ECHO_T}no" >&6; }
8509
9536
fi
8510
9537
       ;;
8511
9538
   *)
8512
 
  echo "$as_me:$LINENO: result: no" >&5
8513
 
echo "${ECHO_T}no" >&6
 
9539
  { echo "$as_me:$LINENO: result: no" >&5
 
9540
echo "${ECHO_T}no" >&6; }
8514
9541
    ;;
8515
9542
  esac
8516
9543
fi
8542
9569
 
8543
9570
  darwin*)
8544
9571
  # if libdl is installed we need to link against it
8545
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8546
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9572
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9573
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8547
9574
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8548
9575
  echo $ECHO_N "(cached) $ECHO_C" >&6
8549
9576
else
8556
9583
cat >>conftest.$ac_ext <<_ACEOF
8557
9584
/* end confdefs.h.  */
8558
9585
 
8559
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9586
/* Override any GCC internal prototype to avoid an error.
 
9587
   Use char because int might match the return type of a GCC
 
9588
   builtin and then its argument prototype would still apply.  */
8560
9589
#ifdef __cplusplus
8561
9590
extern "C"
8562
9591
#endif
8563
 
/* We use char because int might match the return type of a gcc2
8564
 
   builtin and then its argument prototype would still apply.  */
8565
9592
char dlopen ();
8566
9593
int
8567
9594
main ()
8568
9595
{
8569
 
dlopen ();
 
9596
return dlopen ();
8570
9597
  ;
8571
9598
  return 0;
8572
9599
}
8573
9600
_ACEOF
8574
9601
rm -f conftest.$ac_objext conftest$ac_exeext
8575
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8576
 
  (eval $ac_link) 2>conftest.er1
 
9602
if { (ac_try="$ac_link"
 
9603
case "(($ac_try" in
 
9604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9605
  *) ac_try_echo=$ac_try;;
 
9606
esac
 
9607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9608
  (eval "$ac_link") 2>conftest.er1
8577
9609
  ac_status=$?
8578
9610
  grep -v '^ *+' conftest.er1 >conftest.err
8579
9611
  rm -f conftest.er1
8580
9612
  cat conftest.err >&5
8581
9613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582
9614
  (exit $ac_status); } &&
8583
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8584
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585
 
  (eval $ac_try) 2>&5
 
9615
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9616
  { (case "(($ac_try" in
 
9617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9618
  *) ac_try_echo=$ac_try;;
 
9619
esac
 
9620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9621
  (eval "$ac_try") 2>&5
8586
9622
  ac_status=$?
8587
9623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588
9624
  (exit $ac_status); }; } &&
8589
9625
         { ac_try='test -s conftest$ac_exeext'
8590
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591
 
  (eval $ac_try) 2>&5
 
9626
  { (case "(($ac_try" in
 
9627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9628
  *) ac_try_echo=$ac_try;;
 
9629
esac
 
9630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9631
  (eval "$ac_try") 2>&5
8592
9632
  ac_status=$?
8593
9633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594
9634
  (exit $ac_status); }; }; then
8597
9637
  echo "$as_me: failed program was:" >&5
8598
9638
sed 's/^/| /' conftest.$ac_ext >&5
8599
9639
 
8600
 
ac_cv_lib_dl_dlopen=no
 
9640
        ac_cv_lib_dl_dlopen=no
8601
9641
fi
8602
 
rm -f conftest.err conftest.$ac_objext \
 
9642
 
 
9643
rm -f core conftest.err conftest.$ac_objext \
8603
9644
      conftest$ac_exeext conftest.$ac_ext
8604
9645
LIBS=$ac_check_lib_save_LIBS
8605
9646
fi
8606
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8607
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9647
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9648
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8608
9649
if test $ac_cv_lib_dl_dlopen = yes; then
8609
9650
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8610
9651
else
8618
9659
   ;;
8619
9660
 
8620
9661
  *)
8621
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8622
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9662
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9663
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8623
9664
if test "${ac_cv_func_shl_load+set}" = set; then
8624
9665
  echo $ECHO_N "(cached) $ECHO_C" >&6
8625
9666
else
8646
9687
 
8647
9688
#undef shl_load
8648
9689
 
8649
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9690
/* Override any GCC internal prototype to avoid an error.
 
9691
   Use char because int might match the return type of a GCC
 
9692
   builtin and then its argument prototype would still apply.  */
8650
9693
#ifdef __cplusplus
8651
9694
extern "C"
8652
 
{
8653
9695
#endif
8654
 
/* We use char because int might match the return type of a gcc2
8655
 
   builtin and then its argument prototype would still apply.  */
8656
9696
char shl_load ();
8657
9697
/* The GNU C library defines this for functions which it implements
8658
9698
    to always fail with ENOSYS.  Some functions are actually named
8659
9699
    something starting with __ and the normal name is an alias.  */
8660
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9700
#if defined __stub_shl_load || defined __stub___shl_load
8661
9701
choke me
8662
 
#else
8663
 
char (*f) () = shl_load;
8664
 
#endif
8665
 
#ifdef __cplusplus
8666
 
}
8667
9702
#endif
8668
9703
 
8669
9704
int
8670
9705
main ()
8671
9706
{
8672
 
return f != shl_load;
 
9707
return shl_load ();
8673
9708
  ;
8674
9709
  return 0;
8675
9710
}
8676
9711
_ACEOF
8677
9712
rm -f conftest.$ac_objext conftest$ac_exeext
8678
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8679
 
  (eval $ac_link) 2>conftest.er1
 
9713
if { (ac_try="$ac_link"
 
9714
case "(($ac_try" in
 
9715
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9716
  *) ac_try_echo=$ac_try;;
 
9717
esac
 
9718
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9719
  (eval "$ac_link") 2>conftest.er1
8680
9720
  ac_status=$?
8681
9721
  grep -v '^ *+' conftest.er1 >conftest.err
8682
9722
  rm -f conftest.er1
8683
9723
  cat conftest.err >&5
8684
9724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685
9725
  (exit $ac_status); } &&
8686
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688
 
  (eval $ac_try) 2>&5
 
9726
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9727
  { (case "(($ac_try" in
 
9728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9729
  *) ac_try_echo=$ac_try;;
 
9730
esac
 
9731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9732
  (eval "$ac_try") 2>&5
8689
9733
  ac_status=$?
8690
9734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691
9735
  (exit $ac_status); }; } &&
8692
9736
         { ac_try='test -s conftest$ac_exeext'
8693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8694
 
  (eval $ac_try) 2>&5
 
9737
  { (case "(($ac_try" in
 
9738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9739
  *) ac_try_echo=$ac_try;;
 
9740
esac
 
9741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9742
  (eval "$ac_try") 2>&5
8695
9743
  ac_status=$?
8696
9744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697
9745
  (exit $ac_status); }; }; then
8700
9748
  echo "$as_me: failed program was:" >&5
8701
9749
sed 's/^/| /' conftest.$ac_ext >&5
8702
9750
 
8703
 
ac_cv_func_shl_load=no
 
9751
        ac_cv_func_shl_load=no
8704
9752
fi
8705
 
rm -f conftest.err conftest.$ac_objext \
 
9753
 
 
9754
rm -f core conftest.err conftest.$ac_objext \
8706
9755
      conftest$ac_exeext conftest.$ac_ext
8707
9756
fi
8708
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8709
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9757
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9758
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8710
9759
if test $ac_cv_func_shl_load = yes; then
8711
9760
  lt_cv_dlopen="shl_load"
8712
9761
else
8713
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8714
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9762
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9763
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8715
9764
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8716
9765
  echo $ECHO_N "(cached) $ECHO_C" >&6
8717
9766
else
8724
9773
cat >>conftest.$ac_ext <<_ACEOF
8725
9774
/* end confdefs.h.  */
8726
9775
 
8727
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9776
/* Override any GCC internal prototype to avoid an error.
 
9777
   Use char because int might match the return type of a GCC
 
9778
   builtin and then its argument prototype would still apply.  */
8728
9779
#ifdef __cplusplus
8729
9780
extern "C"
8730
9781
#endif
8731
 
/* We use char because int might match the return type of a gcc2
8732
 
   builtin and then its argument prototype would still apply.  */
8733
9782
char shl_load ();
8734
9783
int
8735
9784
main ()
8736
9785
{
8737
 
shl_load ();
 
9786
return shl_load ();
8738
9787
  ;
8739
9788
  return 0;
8740
9789
}
8741
9790
_ACEOF
8742
9791
rm -f conftest.$ac_objext conftest$ac_exeext
8743
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744
 
  (eval $ac_link) 2>conftest.er1
 
9792
if { (ac_try="$ac_link"
 
9793
case "(($ac_try" in
 
9794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9795
  *) ac_try_echo=$ac_try;;
 
9796
esac
 
9797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9798
  (eval "$ac_link") 2>conftest.er1
8745
9799
  ac_status=$?
8746
9800
  grep -v '^ *+' conftest.er1 >conftest.err
8747
9801
  rm -f conftest.er1
8748
9802
  cat conftest.err >&5
8749
9803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750
9804
  (exit $ac_status); } &&
8751
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8752
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753
 
  (eval $ac_try) 2>&5
 
9805
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9806
  { (case "(($ac_try" in
 
9807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9808
  *) ac_try_echo=$ac_try;;
 
9809
esac
 
9810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9811
  (eval "$ac_try") 2>&5
8754
9812
  ac_status=$?
8755
9813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756
9814
  (exit $ac_status); }; } &&
8757
9815
         { ac_try='test -s conftest$ac_exeext'
8758
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759
 
  (eval $ac_try) 2>&5
 
9816
  { (case "(($ac_try" in
 
9817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9818
  *) ac_try_echo=$ac_try;;
 
9819
esac
 
9820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9821
  (eval "$ac_try") 2>&5
8760
9822
  ac_status=$?
8761
9823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762
9824
  (exit $ac_status); }; }; then
8765
9827
  echo "$as_me: failed program was:" >&5
8766
9828
sed 's/^/| /' conftest.$ac_ext >&5
8767
9829
 
8768
 
ac_cv_lib_dld_shl_load=no
 
9830
        ac_cv_lib_dld_shl_load=no
8769
9831
fi
8770
 
rm -f conftest.err conftest.$ac_objext \
 
9832
 
 
9833
rm -f core conftest.err conftest.$ac_objext \
8771
9834
      conftest$ac_exeext conftest.$ac_ext
8772
9835
LIBS=$ac_check_lib_save_LIBS
8773
9836
fi
8774
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8775
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9837
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9838
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8776
9839
if test $ac_cv_lib_dld_shl_load = yes; then
8777
9840
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8778
9841
else
8779
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8780
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9842
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9843
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8781
9844
if test "${ac_cv_func_dlopen+set}" = set; then
8782
9845
  echo $ECHO_N "(cached) $ECHO_C" >&6
8783
9846
else
8804
9867
 
8805
9868
#undef dlopen
8806
9869
 
8807
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9870
/* Override any GCC internal prototype to avoid an error.
 
9871
   Use char because int might match the return type of a GCC
 
9872
   builtin and then its argument prototype would still apply.  */
8808
9873
#ifdef __cplusplus
8809
9874
extern "C"
8810
 
{
8811
9875
#endif
8812
 
/* We use char because int might match the return type of a gcc2
8813
 
   builtin and then its argument prototype would still apply.  */
8814
9876
char dlopen ();
8815
9877
/* The GNU C library defines this for functions which it implements
8816
9878
    to always fail with ENOSYS.  Some functions are actually named
8817
9879
    something starting with __ and the normal name is an alias.  */
8818
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9880
#if defined __stub_dlopen || defined __stub___dlopen
8819
9881
choke me
8820
 
#else
8821
 
char (*f) () = dlopen;
8822
 
#endif
8823
 
#ifdef __cplusplus
8824
 
}
8825
9882
#endif
8826
9883
 
8827
9884
int
8828
9885
main ()
8829
9886
{
8830
 
return f != dlopen;
 
9887
return dlopen ();
8831
9888
  ;
8832
9889
  return 0;
8833
9890
}
8834
9891
_ACEOF
8835
9892
rm -f conftest.$ac_objext conftest$ac_exeext
8836
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8837
 
  (eval $ac_link) 2>conftest.er1
 
9893
if { (ac_try="$ac_link"
 
9894
case "(($ac_try" in
 
9895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9896
  *) ac_try_echo=$ac_try;;
 
9897
esac
 
9898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9899
  (eval "$ac_link") 2>conftest.er1
8838
9900
  ac_status=$?
8839
9901
  grep -v '^ *+' conftest.er1 >conftest.err
8840
9902
  rm -f conftest.er1
8841
9903
  cat conftest.err >&5
8842
9904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843
9905
  (exit $ac_status); } &&
8844
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846
 
  (eval $ac_try) 2>&5
 
9906
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9907
  { (case "(($ac_try" in
 
9908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9909
  *) ac_try_echo=$ac_try;;
 
9910
esac
 
9911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9912
  (eval "$ac_try") 2>&5
8847
9913
  ac_status=$?
8848
9914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849
9915
  (exit $ac_status); }; } &&
8850
9916
         { ac_try='test -s conftest$ac_exeext'
8851
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852
 
  (eval $ac_try) 2>&5
 
9917
  { (case "(($ac_try" in
 
9918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9919
  *) ac_try_echo=$ac_try;;
 
9920
esac
 
9921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9922
  (eval "$ac_try") 2>&5
8853
9923
  ac_status=$?
8854
9924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855
9925
  (exit $ac_status); }; }; then
8858
9928
  echo "$as_me: failed program was:" >&5
8859
9929
sed 's/^/| /' conftest.$ac_ext >&5
8860
9930
 
8861
 
ac_cv_func_dlopen=no
 
9931
        ac_cv_func_dlopen=no
8862
9932
fi
8863
 
rm -f conftest.err conftest.$ac_objext \
 
9933
 
 
9934
rm -f core conftest.err conftest.$ac_objext \
8864
9935
      conftest$ac_exeext conftest.$ac_ext
8865
9936
fi
8866
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8867
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9937
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9938
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8868
9939
if test $ac_cv_func_dlopen = yes; then
8869
9940
  lt_cv_dlopen="dlopen"
8870
9941
else
8871
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8872
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9942
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9943
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8873
9944
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8874
9945
  echo $ECHO_N "(cached) $ECHO_C" >&6
8875
9946
else
8882
9953
cat >>conftest.$ac_ext <<_ACEOF
8883
9954
/* end confdefs.h.  */
8884
9955
 
8885
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9956
/* Override any GCC internal prototype to avoid an error.
 
9957
   Use char because int might match the return type of a GCC
 
9958
   builtin and then its argument prototype would still apply.  */
8886
9959
#ifdef __cplusplus
8887
9960
extern "C"
8888
9961
#endif
8889
 
/* We use char because int might match the return type of a gcc2
8890
 
   builtin and then its argument prototype would still apply.  */
8891
9962
char dlopen ();
8892
9963
int
8893
9964
main ()
8894
9965
{
8895
 
dlopen ();
 
9966
return dlopen ();
8896
9967
  ;
8897
9968
  return 0;
8898
9969
}
8899
9970
_ACEOF
8900
9971
rm -f conftest.$ac_objext conftest$ac_exeext
8901
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902
 
  (eval $ac_link) 2>conftest.er1
 
9972
if { (ac_try="$ac_link"
 
9973
case "(($ac_try" in
 
9974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9975
  *) ac_try_echo=$ac_try;;
 
9976
esac
 
9977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9978
  (eval "$ac_link") 2>conftest.er1
8903
9979
  ac_status=$?
8904
9980
  grep -v '^ *+' conftest.er1 >conftest.err
8905
9981
  rm -f conftest.er1
8906
9982
  cat conftest.err >&5
8907
9983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908
9984
  (exit $ac_status); } &&
8909
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8910
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911
 
  (eval $ac_try) 2>&5
 
9985
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9986
  { (case "(($ac_try" in
 
9987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9988
  *) ac_try_echo=$ac_try;;
 
9989
esac
 
9990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9991
  (eval "$ac_try") 2>&5
8912
9992
  ac_status=$?
8913
9993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914
9994
  (exit $ac_status); }; } &&
8915
9995
         { ac_try='test -s conftest$ac_exeext'
8916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917
 
  (eval $ac_try) 2>&5
 
9996
  { (case "(($ac_try" in
 
9997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9998
  *) ac_try_echo=$ac_try;;
 
9999
esac
 
10000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10001
  (eval "$ac_try") 2>&5
8918
10002
  ac_status=$?
8919
10003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920
10004
  (exit $ac_status); }; }; then
8923
10007
  echo "$as_me: failed program was:" >&5
8924
10008
sed 's/^/| /' conftest.$ac_ext >&5
8925
10009
 
8926
 
ac_cv_lib_dl_dlopen=no
 
10010
        ac_cv_lib_dl_dlopen=no
8927
10011
fi
8928
 
rm -f conftest.err conftest.$ac_objext \
 
10012
 
 
10013
rm -f core conftest.err conftest.$ac_objext \
8929
10014
      conftest$ac_exeext conftest.$ac_ext
8930
10015
LIBS=$ac_check_lib_save_LIBS
8931
10016
fi
8932
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8933
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10017
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10018
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8934
10019
if test $ac_cv_lib_dl_dlopen = yes; then
8935
10020
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8936
10021
else
8937
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8938
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10022
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10023
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8939
10024
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8940
10025
  echo $ECHO_N "(cached) $ECHO_C" >&6
8941
10026
else
8948
10033
cat >>conftest.$ac_ext <<_ACEOF
8949
10034
/* end confdefs.h.  */
8950
10035
 
8951
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10036
/* Override any GCC internal prototype to avoid an error.
 
10037
   Use char because int might match the return type of a GCC
 
10038
   builtin and then its argument prototype would still apply.  */
8952
10039
#ifdef __cplusplus
8953
10040
extern "C"
8954
10041
#endif
8955
 
/* We use char because int might match the return type of a gcc2
8956
 
   builtin and then its argument prototype would still apply.  */
8957
10042
char dlopen ();
8958
10043
int
8959
10044
main ()
8960
10045
{
8961
 
dlopen ();
 
10046
return dlopen ();
8962
10047
  ;
8963
10048
  return 0;
8964
10049
}
8965
10050
_ACEOF
8966
10051
rm -f conftest.$ac_objext conftest$ac_exeext
8967
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8968
 
  (eval $ac_link) 2>conftest.er1
 
10052
if { (ac_try="$ac_link"
 
10053
case "(($ac_try" in
 
10054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10055
  *) ac_try_echo=$ac_try;;
 
10056
esac
 
10057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10058
  (eval "$ac_link") 2>conftest.er1
8969
10059
  ac_status=$?
8970
10060
  grep -v '^ *+' conftest.er1 >conftest.err
8971
10061
  rm -f conftest.er1
8972
10062
  cat conftest.err >&5
8973
10063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974
10064
  (exit $ac_status); } &&
8975
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8976
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977
 
  (eval $ac_try) 2>&5
 
10065
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10066
  { (case "(($ac_try" in
 
10067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10068
  *) ac_try_echo=$ac_try;;
 
10069
esac
 
10070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10071
  (eval "$ac_try") 2>&5
8978
10072
  ac_status=$?
8979
10073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980
10074
  (exit $ac_status); }; } &&
8981
10075
         { ac_try='test -s conftest$ac_exeext'
8982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983
 
  (eval $ac_try) 2>&5
 
10076
  { (case "(($ac_try" in
 
10077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10078
  *) ac_try_echo=$ac_try;;
 
10079
esac
 
10080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10081
  (eval "$ac_try") 2>&5
8984
10082
  ac_status=$?
8985
10083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986
10084
  (exit $ac_status); }; }; then
8989
10087
  echo "$as_me: failed program was:" >&5
8990
10088
sed 's/^/| /' conftest.$ac_ext >&5
8991
10089
 
8992
 
ac_cv_lib_svld_dlopen=no
 
10090
        ac_cv_lib_svld_dlopen=no
8993
10091
fi
8994
 
rm -f conftest.err conftest.$ac_objext \
 
10092
 
 
10093
rm -f core conftest.err conftest.$ac_objext \
8995
10094
      conftest$ac_exeext conftest.$ac_ext
8996
10095
LIBS=$ac_check_lib_save_LIBS
8997
10096
fi
8998
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8999
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10097
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10098
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9000
10099
if test $ac_cv_lib_svld_dlopen = yes; then
9001
10100
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9002
10101
else
9003
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9004
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10102
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10103
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9005
10104
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9006
10105
  echo $ECHO_N "(cached) $ECHO_C" >&6
9007
10106
else
9014
10113
cat >>conftest.$ac_ext <<_ACEOF
9015
10114
/* end confdefs.h.  */
9016
10115
 
9017
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10116
/* Override any GCC internal prototype to avoid an error.
 
10117
   Use char because int might match the return type of a GCC
 
10118
   builtin and then its argument prototype would still apply.  */
9018
10119
#ifdef __cplusplus
9019
10120
extern "C"
9020
10121
#endif
9021
 
/* We use char because int might match the return type of a gcc2
9022
 
   builtin and then its argument prototype would still apply.  */
9023
10122
char dld_link ();
9024
10123
int
9025
10124
main ()
9026
10125
{
9027
 
dld_link ();
 
10126
return dld_link ();
9028
10127
  ;
9029
10128
  return 0;
9030
10129
}
9031
10130
_ACEOF
9032
10131
rm -f conftest.$ac_objext conftest$ac_exeext
9033
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9034
 
  (eval $ac_link) 2>conftest.er1
 
10132
if { (ac_try="$ac_link"
 
10133
case "(($ac_try" in
 
10134
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10135
  *) ac_try_echo=$ac_try;;
 
10136
esac
 
10137
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10138
  (eval "$ac_link") 2>conftest.er1
9035
10139
  ac_status=$?
9036
10140
  grep -v '^ *+' conftest.er1 >conftest.err
9037
10141
  rm -f conftest.er1
9038
10142
  cat conftest.err >&5
9039
10143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040
10144
  (exit $ac_status); } &&
9041
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043
 
  (eval $ac_try) 2>&5
 
10145
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10146
  { (case "(($ac_try" in
 
10147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10148
  *) ac_try_echo=$ac_try;;
 
10149
esac
 
10150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10151
  (eval "$ac_try") 2>&5
9044
10152
  ac_status=$?
9045
10153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046
10154
  (exit $ac_status); }; } &&
9047
10155
         { ac_try='test -s conftest$ac_exeext'
9048
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049
 
  (eval $ac_try) 2>&5
 
10156
  { (case "(($ac_try" in
 
10157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10158
  *) ac_try_echo=$ac_try;;
 
10159
esac
 
10160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10161
  (eval "$ac_try") 2>&5
9050
10162
  ac_status=$?
9051
10163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052
10164
  (exit $ac_status); }; }; then
9055
10167
  echo "$as_me: failed program was:" >&5
9056
10168
sed 's/^/| /' conftest.$ac_ext >&5
9057
10169
 
9058
 
ac_cv_lib_dld_dld_link=no
 
10170
        ac_cv_lib_dld_dld_link=no
9059
10171
fi
9060
 
rm -f conftest.err conftest.$ac_objext \
 
10172
 
 
10173
rm -f core conftest.err conftest.$ac_objext \
9061
10174
      conftest$ac_exeext conftest.$ac_ext
9062
10175
LIBS=$ac_check_lib_save_LIBS
9063
10176
fi
9064
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9065
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10177
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10178
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9066
10179
if test $ac_cv_lib_dld_dld_link = yes; then
9067
10180
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9068
10181
fi
9102
10215
    save_LIBS="$LIBS"
9103
10216
    LIBS="$lt_cv_dlopen_libs $LIBS"
9104
10217
 
9105
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9106
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10218
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10219
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9107
10220
if test "${lt_cv_dlopen_self+set}" = set; then
9108
10221
  echo $ECHO_N "(cached) $ECHO_C" >&6
9109
10222
else
9113
10226
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9114
10227
  lt_status=$lt_dlunknown
9115
10228
  cat > conftest.$ac_ext <<EOF
9116
 
#line 9116 "configure"
 
10229
#line 10229 "configure"
9117
10230
#include "confdefs.h"
9118
10231
 
9119
10232
#if HAVE_DLFCN_H
9197
10310
 
9198
10311
 
9199
10312
fi
9200
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9201
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10313
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10314
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9202
10315
 
9203
10316
    if test "x$lt_cv_dlopen_self" = xyes; then
9204
10317
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9205
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9206
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10318
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10319
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9207
10320
if test "${lt_cv_dlopen_self_static+set}" = set; then
9208
10321
  echo $ECHO_N "(cached) $ECHO_C" >&6
9209
10322
else
9213
10326
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9214
10327
  lt_status=$lt_dlunknown
9215
10328
  cat > conftest.$ac_ext <<EOF
9216
 
#line 9216 "configure"
 
10329
#line 10329 "configure"
9217
10330
#include "confdefs.h"
9218
10331
 
9219
10332
#if HAVE_DLFCN_H
9297
10410
 
9298
10411
 
9299
10412
fi
9300
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9301
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10413
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10414
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9302
10415
    fi
9303
10416
 
9304
10417
    CPPFLAGS="$save_CPPFLAGS"
9320
10433
 
9321
10434
 
9322
10435
# Report which library types will actually be built
9323
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9324
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9325
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9326
 
echo "${ECHO_T}$can_build_shared" >&6
 
10436
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10437
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10438
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10439
echo "${ECHO_T}$can_build_shared" >&6; }
9327
10440
 
9328
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9329
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10441
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10442
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9330
10443
test "$can_build_shared" = "no" && enable_shared=no
9331
10444
 
9332
10445
# On AIX, shared libraries and static libraries use the same namespace, and
9346
10459
  fi
9347
10460
    ;;
9348
10461
esac
9349
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9350
 
echo "${ECHO_T}$enable_shared" >&6
 
10462
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10463
echo "${ECHO_T}$enable_shared" >&6; }
9351
10464
 
9352
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9353
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10465
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10466
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9354
10467
# Make sure either enable_shared or enable_static is yes.
9355
10468
test "$enable_shared" = yes || enable_static=yes
9356
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9357
 
echo "${ECHO_T}$enable_static" >&6
 
10469
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10470
echo "${ECHO_T}$enable_static" >&6; }
9358
10471
 
9359
10472
# The else clause should only fire when bootstrapping the
9360
10473
# libtool distribution, otherwise you forgot to ship ltmain.sh
9846
10959
CC="$lt_save_CC"
9847
10960
 
9848
10961
 
9849
 
# Check whether --with-tags or --without-tags was given.
 
10962
# Check whether --with-tags was given.
9850
10963
if test "${with_tags+set}" = set; then
9851
 
  withval="$with_tags"
9852
 
  tagnames="$withval"
9853
 
fi;
 
10964
  withval=$with_tags; tagnames="$withval"
 
10965
fi
 
10966
 
9854
10967
 
9855
10968
if test -f "$ltmain" && test -n "$tagnames"; then
9856
10969
  if test ! -f "${ofile}"; then
9904
11017
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9905
11018
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9906
11019
            (test "X$CXX" != "Xg++"))) ; then
9907
 
          ac_ext=cc
 
11020
          ac_ext=cpp
9908
11021
ac_cpp='$CXXCPP $CPPFLAGS'
9909
11022
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9910
11023
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10023
11136
  # Set up default GNU C++ configuration
10024
11137
 
10025
11138
 
10026
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11139
# Check whether --with-gnu-ld was given.
10027
11140
if test "${with_gnu_ld+set}" = set; then
10028
 
  withval="$with_gnu_ld"
10029
 
  test "$withval" = no || with_gnu_ld=yes
 
11141
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10030
11142
else
10031
11143
  with_gnu_ld=no
10032
 
fi;
 
11144
fi
 
11145
 
10033
11146
ac_prog=ld
10034
11147
if test "$GCC" = yes; then
10035
11148
  # Check if gcc -print-prog-name=ld gives a path.
10036
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10037
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11149
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11150
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10038
11151
  case $host in
10039
11152
  *-*-mingw*)
10040
11153
    # gcc leaves a trailing carriage return which upsets mingw
10063
11176
    ;;
10064
11177
  esac
10065
11178
elif test "$with_gnu_ld" = yes; then
10066
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10067
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11179
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11180
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10068
11181
else
10069
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10070
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11182
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11183
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10071
11184
fi
10072
11185
if test "${lt_cv_path_LD+set}" = set; then
10073
11186
  echo $ECHO_N "(cached) $ECHO_C" >&6
10100
11213
 
10101
11214
LD="$lt_cv_path_LD"
10102
11215
if test -n "$LD"; then
10103
 
  echo "$as_me:$LINENO: result: $LD" >&5
10104
 
echo "${ECHO_T}$LD" >&6
 
11216
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11217
echo "${ECHO_T}$LD" >&6; }
10105
11218
else
10106
 
  echo "$as_me:$LINENO: result: no" >&5
10107
 
echo "${ECHO_T}no" >&6
 
11219
  { echo "$as_me:$LINENO: result: no" >&5
 
11220
echo "${ECHO_T}no" >&6; }
10108
11221
fi
10109
11222
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10110
11223
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10111
11224
   { (exit 1); exit 1; }; }
10112
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10113
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11225
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11226
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10114
11227
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10115
11228
  echo $ECHO_N "(cached) $ECHO_C" >&6
10116
11229
else
10124
11237
  ;;
10125
11238
esac
10126
11239
fi
10127
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10128
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11240
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11241
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10129
11242
with_gnu_ld=$lt_cv_prog_gnu_ld
10130
11243
 
10131
11244
 
10175
11288
fi
10176
11289
 
10177
11290
# PORTME: fill in a description of your system's C++ link characteristics
10178
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10179
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11291
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11292
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10180
11293
ld_shlibs_CXX=yes
10181
11294
case $host_os in
10182
11295
  aix3*)
10288
11401
}
10289
11402
_ACEOF
10290
11403
rm -f conftest.$ac_objext conftest$ac_exeext
10291
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10292
 
  (eval $ac_link) 2>conftest.er1
 
11404
if { (ac_try="$ac_link"
 
11405
case "(($ac_try" in
 
11406
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11407
  *) ac_try_echo=$ac_try;;
 
11408
esac
 
11409
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11410
  (eval "$ac_link") 2>conftest.er1
10293
11411
  ac_status=$?
10294
11412
  grep -v '^ *+' conftest.er1 >conftest.err
10295
11413
  rm -f conftest.er1
10296
11414
  cat conftest.err >&5
10297
11415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298
11416
  (exit $ac_status); } &&
10299
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301
 
  (eval $ac_try) 2>&5
 
11417
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11418
  { (case "(($ac_try" in
 
11419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11420
  *) ac_try_echo=$ac_try;;
 
11421
esac
 
11422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11423
  (eval "$ac_try") 2>&5
10302
11424
  ac_status=$?
10303
11425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304
11426
  (exit $ac_status); }; } &&
10305
11427
         { ac_try='test -s conftest$ac_exeext'
10306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307
 
  (eval $ac_try) 2>&5
 
11428
  { (case "(($ac_try" in
 
11429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11430
  *) ac_try_echo=$ac_try;;
 
11431
esac
 
11432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11433
  (eval "$ac_try") 2>&5
10308
11434
  ac_status=$?
10309
11435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310
11436
  (exit $ac_status); }; }; then
10318
11444
  echo "$as_me: failed program was:" >&5
10319
11445
sed 's/^/| /' conftest.$ac_ext >&5
10320
11446
 
 
11447
 
10321
11448
fi
10322
 
rm -f conftest.err conftest.$ac_objext \
 
11449
 
 
11450
rm -f core conftest.err conftest.$ac_objext \
10323
11451
      conftest$ac_exeext conftest.$ac_ext
10324
11452
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10325
11453
 
10349
11477
}
10350
11478
_ACEOF
10351
11479
rm -f conftest.$ac_objext conftest$ac_exeext
10352
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10353
 
  (eval $ac_link) 2>conftest.er1
 
11480
if { (ac_try="$ac_link"
 
11481
case "(($ac_try" in
 
11482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11483
  *) ac_try_echo=$ac_try;;
 
11484
esac
 
11485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11486
  (eval "$ac_link") 2>conftest.er1
10354
11487
  ac_status=$?
10355
11488
  grep -v '^ *+' conftest.er1 >conftest.err
10356
11489
  rm -f conftest.er1
10357
11490
  cat conftest.err >&5
10358
11491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359
11492
  (exit $ac_status); } &&
10360
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362
 
  (eval $ac_try) 2>&5
 
11493
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11494
  { (case "(($ac_try" in
 
11495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11496
  *) ac_try_echo=$ac_try;;
 
11497
esac
 
11498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11499
  (eval "$ac_try") 2>&5
10363
11500
  ac_status=$?
10364
11501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365
11502
  (exit $ac_status); }; } &&
10366
11503
         { ac_try='test -s conftest$ac_exeext'
10367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368
 
  (eval $ac_try) 2>&5
 
11504
  { (case "(($ac_try" in
 
11505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11506
  *) ac_try_echo=$ac_try;;
 
11507
esac
 
11508
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11509
  (eval "$ac_try") 2>&5
10369
11510
  ac_status=$?
10370
11511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371
11512
  (exit $ac_status); }; }; then
10379
11520
  echo "$as_me: failed program was:" >&5
10380
11521
sed 's/^/| /' conftest.$ac_ext >&5
10381
11522
 
 
11523
 
10382
11524
fi
10383
 
rm -f conftest.err conftest.$ac_objext \
 
11525
 
 
11526
rm -f core conftest.err conftest.$ac_objext \
10384
11527
      conftest$ac_exeext conftest.$ac_ext
10385
11528
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10386
11529
 
11111
12254
    ld_shlibs_CXX=no
11112
12255
    ;;
11113
12256
esac
11114
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11115
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12257
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12258
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11116
12259
test "$ld_shlibs_CXX" = no && can_build_shared=no
11117
12260
 
11118
12261
GCC_CXX="$GXX"
11251
12394
lt_prog_compiler_pic_CXX=
11252
12395
lt_prog_compiler_static_CXX=
11253
12396
 
11254
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11255
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12397
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12398
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11256
12399
 
11257
12400
  # C++ specific cases for pic, static, wl, etc.
11258
12401
  if test "$GXX" = yes; then
11525
12668
    esac
11526
12669
  fi
11527
12670
 
11528
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11529
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12671
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12672
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11530
12673
 
11531
12674
#
11532
12675
# Check to make sure the PIC flag actually works.
11533
12676
#
11534
12677
if test -n "$lt_prog_compiler_pic_CXX"; then
11535
12678
 
11536
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11537
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12679
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12680
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11538
12681
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11539
12682
  echo $ECHO_N "(cached) $ECHO_C" >&6
11540
12683
else
11551
12694
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11552
12695
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11553
12696
   -e 's:$: $lt_compiler_flag:'`
11554
 
   (eval echo "\"\$as_me:11554: $lt_compile\"" >&5)
 
12697
   (eval echo "\"\$as_me:12697: $lt_compile\"" >&5)
11555
12698
   (eval "$lt_compile" 2>conftest.err)
11556
12699
   ac_status=$?
11557
12700
   cat conftest.err >&5
11558
 
   echo "$as_me:11558: \$? = $ac_status" >&5
 
12701
   echo "$as_me:12701: \$? = $ac_status" >&5
11559
12702
   if (exit $ac_status) && test -s "$ac_outfile"; then
11560
12703
     # The compiler can only warn and ignore the option if not recognized
11561
12704
     # So say no if there are warnings other than the usual output.
11568
12711
   $rm conftest*
11569
12712
 
11570
12713
fi
11571
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11572
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12714
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12715
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11573
12716
 
11574
12717
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11575
12718
    case $lt_prog_compiler_pic_CXX in
11596
12739
# Check to make sure the static flag actually works.
11597
12740
#
11598
12741
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11599
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11600
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
12742
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12743
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11601
12744
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11602
12745
  echo $ECHO_N "(cached) $ECHO_C" >&6
11603
12746
else
11624
12767
   LDFLAGS="$save_LDFLAGS"
11625
12768
 
11626
12769
fi
11627
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11628
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12770
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12771
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11629
12772
 
11630
12773
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11631
12774
    :
11634
12777
fi
11635
12778
 
11636
12779
 
11637
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11638
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12780
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12781
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11639
12782
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11640
12783
  echo $ECHO_N "(cached) $ECHO_C" >&6
11641
12784
else
11655
12798
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11656
12799
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11657
12800
   -e 's:$: $lt_compiler_flag:'`
11658
 
   (eval echo "\"\$as_me:11658: $lt_compile\"" >&5)
 
12801
   (eval echo "\"\$as_me:12801: $lt_compile\"" >&5)
11659
12802
   (eval "$lt_compile" 2>out/conftest.err)
11660
12803
   ac_status=$?
11661
12804
   cat out/conftest.err >&5
11662
 
   echo "$as_me:11662: \$? = $ac_status" >&5
 
12805
   echo "$as_me:12805: \$? = $ac_status" >&5
11663
12806
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11664
12807
   then
11665
12808
     # The compiler can only warn and ignore the option if not recognized
11681
12824
   $rm conftest*
11682
12825
 
11683
12826
fi
11684
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11685
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12827
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12828
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11686
12829
 
11687
12830
 
11688
12831
hard_links="nottested"
11689
12832
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11690
12833
  # do not overwrite the value of need_locks provided by the user
11691
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11692
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12834
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12835
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11693
12836
  hard_links=yes
11694
12837
  $rm conftest*
11695
12838
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11696
12839
  touch conftest.a
11697
12840
  ln conftest.a conftest.b 2>&5 || hard_links=no
11698
12841
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11699
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11700
 
echo "${ECHO_T}$hard_links" >&6
 
12842
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12843
echo "${ECHO_T}$hard_links" >&6; }
11701
12844
  if test "$hard_links" = no; then
11702
12845
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11703
12846
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11707
12850
  need_locks=no
11708
12851
fi
11709
12852
 
11710
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11711
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12853
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12854
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11712
12855
 
11713
12856
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11714
12857
  case $host_os in
11735
12878
  ;;
11736
12879
  esac
11737
12880
 
11738
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11739
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12881
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12882
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11740
12883
test "$ld_shlibs_CXX" = no && can_build_shared=no
11741
12884
 
11742
12885
#
11756
12899
      # Test whether the compiler implicitly links with -lc since on some
11757
12900
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11758
12901
      # to ld, don't add -lc before -lgcc.
11759
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11760
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12902
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12903
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11761
12904
      $rm conftest*
11762
12905
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11763
12906
 
11794
12937
        cat conftest.err 1>&5
11795
12938
      fi
11796
12939
      $rm conftest*
11797
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11798
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12940
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12941
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11799
12942
      ;;
11800
12943
    esac
11801
12944
  fi
11802
12945
  ;;
11803
12946
esac
11804
12947
 
11805
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11806
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12948
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12949
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11807
12950
library_names_spec=
11808
12951
libname_spec='lib$name'
11809
12952
soname_spec=
12378
13521
  dynamic_linker=no
12379
13522
  ;;
12380
13523
esac
12381
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12382
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13524
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13525
echo "${ECHO_T}$dynamic_linker" >&6; }
12383
13526
test "$dynamic_linker" = no && can_build_shared=no
12384
13527
 
12385
13528
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12387
13530
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12388
13531
fi
12389
13532
 
12390
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12391
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13533
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13534
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12392
13535
hardcode_action_CXX=
12393
13536
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12394
13537
   test -n "$runpath_var_CXX" || \
12412
13555
  # directories.
12413
13556
  hardcode_action_CXX=unsupported
12414
13557
fi
12415
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12416
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13558
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13559
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12417
13560
 
12418
13561
if test "$hardcode_action_CXX" = relink; then
12419
13562
  # Fast installation is not supported
12938
14081
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12939
14082
 
12940
14083
 
12941
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12942
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12943
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12944
 
echo "${ECHO_T}$can_build_shared" >&6
 
14084
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14085
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14086
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14087
echo "${ECHO_T}$can_build_shared" >&6; }
12945
14088
 
12946
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12947
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14089
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14090
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12948
14091
test "$can_build_shared" = "no" && enable_shared=no
12949
14092
 
12950
14093
# On AIX, shared libraries and static libraries use the same namespace, and
12963
14106
  fi
12964
14107
  ;;
12965
14108
esac
12966
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12967
 
echo "${ECHO_T}$enable_shared" >&6
 
14109
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14110
echo "${ECHO_T}$enable_shared" >&6; }
12968
14111
 
12969
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12970
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14112
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14113
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12971
14114
# Make sure either enable_shared or enable_static is yes.
12972
14115
test "$enable_shared" = yes || enable_static=yes
12973
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12974
 
echo "${ECHO_T}$enable_static" >&6
 
14116
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14117
echo "${ECHO_T}$enable_static" >&6; }
12975
14118
 
12976
14119
GCC_F77="$G77"
12977
14120
LD_F77="$LD"
12980
14123
lt_prog_compiler_pic_F77=
12981
14124
lt_prog_compiler_static_F77=
12982
14125
 
12983
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12984
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14126
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14127
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12985
14128
 
12986
14129
  if test "$GCC" = yes; then
12987
14130
    lt_prog_compiler_wl_F77='-Wl,'
13190
14333
    esac
13191
14334
  fi
13192
14335
 
13193
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13194
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14336
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14337
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13195
14338
 
13196
14339
#
13197
14340
# Check to make sure the PIC flag actually works.
13198
14341
#
13199
14342
if test -n "$lt_prog_compiler_pic_F77"; then
13200
14343
 
13201
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13202
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14344
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14345
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13203
14346
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13204
14347
  echo $ECHO_N "(cached) $ECHO_C" >&6
13205
14348
else
13216
14359
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13217
14360
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13218
14361
   -e 's:$: $lt_compiler_flag:'`
13219
 
   (eval echo "\"\$as_me:13219: $lt_compile\"" >&5)
 
14362
   (eval echo "\"\$as_me:14362: $lt_compile\"" >&5)
13220
14363
   (eval "$lt_compile" 2>conftest.err)
13221
14364
   ac_status=$?
13222
14365
   cat conftest.err >&5
13223
 
   echo "$as_me:13223: \$? = $ac_status" >&5
 
14366
   echo "$as_me:14366: \$? = $ac_status" >&5
13224
14367
   if (exit $ac_status) && test -s "$ac_outfile"; then
13225
14368
     # The compiler can only warn and ignore the option if not recognized
13226
14369
     # So say no if there are warnings other than the usual output.
13233
14376
   $rm conftest*
13234
14377
 
13235
14378
fi
13236
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13237
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14379
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14380
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13238
14381
 
13239
14382
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13240
14383
    case $lt_prog_compiler_pic_F77 in
13261
14404
# Check to make sure the static flag actually works.
13262
14405
#
13263
14406
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13264
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13265
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
14407
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14408
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13266
14409
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13267
14410
  echo $ECHO_N "(cached) $ECHO_C" >&6
13268
14411
else
13289
14432
   LDFLAGS="$save_LDFLAGS"
13290
14433
 
13291
14434
fi
13292
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13293
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14435
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14436
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13294
14437
 
13295
14438
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13296
14439
    :
13299
14442
fi
13300
14443
 
13301
14444
 
13302
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13303
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14445
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14446
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13304
14447
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13305
14448
  echo $ECHO_N "(cached) $ECHO_C" >&6
13306
14449
else
13320
14463
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13321
14464
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13322
14465
   -e 's:$: $lt_compiler_flag:'`
13323
 
   (eval echo "\"\$as_me:13323: $lt_compile\"" >&5)
 
14466
   (eval echo "\"\$as_me:14466: $lt_compile\"" >&5)
13324
14467
   (eval "$lt_compile" 2>out/conftest.err)
13325
14468
   ac_status=$?
13326
14469
   cat out/conftest.err >&5
13327
 
   echo "$as_me:13327: \$? = $ac_status" >&5
 
14470
   echo "$as_me:14470: \$? = $ac_status" >&5
13328
14471
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13329
14472
   then
13330
14473
     # The compiler can only warn and ignore the option if not recognized
13346
14489
   $rm conftest*
13347
14490
 
13348
14491
fi
13349
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13350
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14492
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14493
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13351
14494
 
13352
14495
 
13353
14496
hard_links="nottested"
13354
14497
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13355
14498
  # do not overwrite the value of need_locks provided by the user
13356
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13357
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14499
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14500
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13358
14501
  hard_links=yes
13359
14502
  $rm conftest*
13360
14503
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13361
14504
  touch conftest.a
13362
14505
  ln conftest.a conftest.b 2>&5 || hard_links=no
13363
14506
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13364
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13365
 
echo "${ECHO_T}$hard_links" >&6
 
14507
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14508
echo "${ECHO_T}$hard_links" >&6; }
13366
14509
  if test "$hard_links" = no; then
13367
14510
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13368
14511
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13372
14515
  need_locks=no
13373
14516
fi
13374
14517
 
13375
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13376
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14518
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14519
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13377
14520
 
13378
14521
  runpath_var=
13379
14522
  allow_undefined_flag_F77=
13779
14922
      end
13780
14923
_ACEOF
13781
14924
rm -f conftest.$ac_objext conftest$ac_exeext
13782
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13783
 
  (eval $ac_link) 2>conftest.er1
 
14925
if { (ac_try="$ac_link"
 
14926
case "(($ac_try" in
 
14927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14928
  *) ac_try_echo=$ac_try;;
 
14929
esac
 
14930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14931
  (eval "$ac_link") 2>conftest.er1
13784
14932
  ac_status=$?
13785
14933
  grep -v '^ *+' conftest.er1 >conftest.err
13786
14934
  rm -f conftest.er1
13787
14935
  cat conftest.err >&5
13788
14936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789
14937
  (exit $ac_status); } &&
13790
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13791
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792
 
  (eval $ac_try) 2>&5
 
14938
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
14939
  { (case "(($ac_try" in
 
14940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14941
  *) ac_try_echo=$ac_try;;
 
14942
esac
 
14943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14944
  (eval "$ac_try") 2>&5
13793
14945
  ac_status=$?
13794
14946
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795
14947
  (exit $ac_status); }; } &&
13796
14948
         { ac_try='test -s conftest$ac_exeext'
13797
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798
 
  (eval $ac_try) 2>&5
 
14949
  { (case "(($ac_try" in
 
14950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14951
  *) ac_try_echo=$ac_try;;
 
14952
esac
 
14953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14954
  (eval "$ac_try") 2>&5
13799
14955
  ac_status=$?
13800
14956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801
14957
  (exit $ac_status); }; }; then
13809
14965
  echo "$as_me: failed program was:" >&5
13810
14966
sed 's/^/| /' conftest.$ac_ext >&5
13811
14967
 
 
14968
 
13812
14969
fi
13813
 
rm -f conftest.err conftest.$ac_objext \
 
14970
 
 
14971
rm -f core conftest.err conftest.$ac_objext \
13814
14972
      conftest$ac_exeext conftest.$ac_ext
13815
14973
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13816
14974
 
13829
14987
      end
13830
14988
_ACEOF
13831
14989
rm -f conftest.$ac_objext conftest$ac_exeext
13832
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13833
 
  (eval $ac_link) 2>conftest.er1
 
14990
if { (ac_try="$ac_link"
 
14991
case "(($ac_try" in
 
14992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14993
  *) ac_try_echo=$ac_try;;
 
14994
esac
 
14995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14996
  (eval "$ac_link") 2>conftest.er1
13834
14997
  ac_status=$?
13835
14998
  grep -v '^ *+' conftest.er1 >conftest.err
13836
14999
  rm -f conftest.er1
13837
15000
  cat conftest.err >&5
13838
15001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839
15002
  (exit $ac_status); } &&
13840
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13841
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842
 
  (eval $ac_try) 2>&5
 
15003
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15004
  { (case "(($ac_try" in
 
15005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15006
  *) ac_try_echo=$ac_try;;
 
15007
esac
 
15008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15009
  (eval "$ac_try") 2>&5
13843
15010
  ac_status=$?
13844
15011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845
15012
  (exit $ac_status); }; } &&
13846
15013
         { ac_try='test -s conftest$ac_exeext'
13847
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848
 
  (eval $ac_try) 2>&5
 
15014
  { (case "(($ac_try" in
 
15015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15016
  *) ac_try_echo=$ac_try;;
 
15017
esac
 
15018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15019
  (eval "$ac_try") 2>&5
13849
15020
  ac_status=$?
13850
15021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851
15022
  (exit $ac_status); }; }; then
13859
15030
  echo "$as_me: failed program was:" >&5
13860
15031
sed 's/^/| /' conftest.$ac_ext >&5
13861
15032
 
 
15033
 
13862
15034
fi
13863
 
rm -f conftest.err conftest.$ac_objext \
 
15035
 
 
15036
rm -f core conftest.err conftest.$ac_objext \
13864
15037
      conftest$ac_exeext conftest.$ac_ext
13865
15038
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13866
15039
 
14309
15482
    esac
14310
15483
  fi
14311
15484
 
14312
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14313
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15485
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15486
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14314
15487
test "$ld_shlibs_F77" = no && can_build_shared=no
14315
15488
 
14316
15489
#
14330
15503
      # Test whether the compiler implicitly links with -lc since on some
14331
15504
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14332
15505
      # to ld, don't add -lc before -lgcc.
14333
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14334
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15506
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15507
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14335
15508
      $rm conftest*
14336
15509
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14337
15510
 
14368
15541
        cat conftest.err 1>&5
14369
15542
      fi
14370
15543
      $rm conftest*
14371
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14372
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15544
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15545
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14373
15546
      ;;
14374
15547
    esac
14375
15548
  fi
14376
15549
  ;;
14377
15550
esac
14378
15551
 
14379
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14380
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15552
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15553
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14381
15554
library_names_spec=
14382
15555
libname_spec='lib$name'
14383
15556
soname_spec=
14952
16125
  dynamic_linker=no
14953
16126
  ;;
14954
16127
esac
14955
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14956
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16128
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16129
echo "${ECHO_T}$dynamic_linker" >&6; }
14957
16130
test "$dynamic_linker" = no && can_build_shared=no
14958
16131
 
14959
16132
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14961
16134
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14962
16135
fi
14963
16136
 
14964
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14965
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16137
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16138
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14966
16139
hardcode_action_F77=
14967
16140
if test -n "$hardcode_libdir_flag_spec_F77" || \
14968
16141
   test -n "$runpath_var_F77" || \
14986
16159
  # directories.
14987
16160
  hardcode_action_F77=unsupported
14988
16161
fi
14989
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14990
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16162
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16163
echo "${ECHO_T}$hardcode_action_F77" >&6; }
14991
16164
 
14992
16165
if test "$hardcode_action_F77" = relink; then
14993
16166
  # Fast installation is not supported
15424
16597
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15425
16598
 
15426
16599
 
15427
 
 
15428
16600
# Source file extension for Java test sources.
15429
16601
ac_ext=java
15430
16602
 
15492
16664
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15493
16665
 
15494
16666
 
15495
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15496
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16667
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16668
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15497
16669
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15498
16670
  echo $ECHO_N "(cached) $ECHO_C" >&6
15499
16671
else
15510
16682
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15511
16683
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15512
16684
   -e 's:$: $lt_compiler_flag:'`
15513
 
   (eval echo "\"\$as_me:15513: $lt_compile\"" >&5)
 
16685
   (eval echo "\"\$as_me:16685: $lt_compile\"" >&5)
15514
16686
   (eval "$lt_compile" 2>conftest.err)
15515
16687
   ac_status=$?
15516
16688
   cat conftest.err >&5
15517
 
   echo "$as_me:15517: \$? = $ac_status" >&5
 
16689
   echo "$as_me:16689: \$? = $ac_status" >&5
15518
16690
   if (exit $ac_status) && test -s "$ac_outfile"; then
15519
16691
     # The compiler can only warn and ignore the option if not recognized
15520
16692
     # So say no if there are warnings other than the usual output.
15527
16699
   $rm conftest*
15528
16700
 
15529
16701
fi
15530
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15531
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16702
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16703
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15532
16704
 
15533
16705
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15534
16706
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15542
16714
lt_prog_compiler_pic_GCJ=
15543
16715
lt_prog_compiler_static_GCJ=
15544
16716
 
15545
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15546
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16717
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16718
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15547
16719
 
15548
16720
  if test "$GCC" = yes; then
15549
16721
    lt_prog_compiler_wl_GCJ='-Wl,'
15752
16924
    esac
15753
16925
  fi
15754
16926
 
15755
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15756
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16927
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16928
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15757
16929
 
15758
16930
#
15759
16931
# Check to make sure the PIC flag actually works.
15760
16932
#
15761
16933
if test -n "$lt_prog_compiler_pic_GCJ"; then
15762
16934
 
15763
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15764
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16935
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16936
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15765
16937
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15766
16938
  echo $ECHO_N "(cached) $ECHO_C" >&6
15767
16939
else
15778
16950
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15779
16951
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15780
16952
   -e 's:$: $lt_compiler_flag:'`
15781
 
   (eval echo "\"\$as_me:15781: $lt_compile\"" >&5)
 
16953
   (eval echo "\"\$as_me:16953: $lt_compile\"" >&5)
15782
16954
   (eval "$lt_compile" 2>conftest.err)
15783
16955
   ac_status=$?
15784
16956
   cat conftest.err >&5
15785
 
   echo "$as_me:15785: \$? = $ac_status" >&5
 
16957
   echo "$as_me:16957: \$? = $ac_status" >&5
15786
16958
   if (exit $ac_status) && test -s "$ac_outfile"; then
15787
16959
     # The compiler can only warn and ignore the option if not recognized
15788
16960
     # So say no if there are warnings other than the usual output.
15795
16967
   $rm conftest*
15796
16968
 
15797
16969
fi
15798
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15799
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16970
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16971
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15800
16972
 
15801
16973
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15802
16974
    case $lt_prog_compiler_pic_GCJ in
15823
16995
# Check to make sure the static flag actually works.
15824
16996
#
15825
16997
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15826
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15827
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
16998
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16999
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15828
17000
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15829
17001
  echo $ECHO_N "(cached) $ECHO_C" >&6
15830
17002
else
15851
17023
   LDFLAGS="$save_LDFLAGS"
15852
17024
 
15853
17025
fi
15854
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15855
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
17026
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17027
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
15856
17028
 
15857
17029
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15858
17030
    :
15861
17033
fi
15862
17034
 
15863
17035
 
15864
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15865
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17036
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17037
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15866
17038
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15867
17039
  echo $ECHO_N "(cached) $ECHO_C" >&6
15868
17040
else
15882
17054
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15883
17055
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15884
17056
   -e 's:$: $lt_compiler_flag:'`
15885
 
   (eval echo "\"\$as_me:15885: $lt_compile\"" >&5)
 
17057
   (eval echo "\"\$as_me:17057: $lt_compile\"" >&5)
15886
17058
   (eval "$lt_compile" 2>out/conftest.err)
15887
17059
   ac_status=$?
15888
17060
   cat out/conftest.err >&5
15889
 
   echo "$as_me:15889: \$? = $ac_status" >&5
 
17061
   echo "$as_me:17061: \$? = $ac_status" >&5
15890
17062
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15891
17063
   then
15892
17064
     # The compiler can only warn and ignore the option if not recognized
15908
17080
   $rm conftest*
15909
17081
 
15910
17082
fi
15911
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15912
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17083
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17084
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15913
17085
 
15914
17086
 
15915
17087
hard_links="nottested"
15916
17088
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15917
17089
  # do not overwrite the value of need_locks provided by the user
15918
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15919
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17090
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17091
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15920
17092
  hard_links=yes
15921
17093
  $rm conftest*
15922
17094
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15923
17095
  touch conftest.a
15924
17096
  ln conftest.a conftest.b 2>&5 || hard_links=no
15925
17097
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15926
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15927
 
echo "${ECHO_T}$hard_links" >&6
 
17098
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17099
echo "${ECHO_T}$hard_links" >&6; }
15928
17100
  if test "$hard_links" = no; then
15929
17101
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15930
17102
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15934
17106
  need_locks=no
15935
17107
fi
15936
17108
 
15937
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15938
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17109
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17110
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15939
17111
 
15940
17112
  runpath_var=
15941
17113
  allow_undefined_flag_GCJ=
16351
17523
}
16352
17524
_ACEOF
16353
17525
rm -f conftest.$ac_objext conftest$ac_exeext
16354
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16355
 
  (eval $ac_link) 2>conftest.er1
 
17526
if { (ac_try="$ac_link"
 
17527
case "(($ac_try" in
 
17528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17529
  *) ac_try_echo=$ac_try;;
 
17530
esac
 
17531
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17532
  (eval "$ac_link") 2>conftest.er1
16356
17533
  ac_status=$?
16357
17534
  grep -v '^ *+' conftest.er1 >conftest.err
16358
17535
  rm -f conftest.er1
16359
17536
  cat conftest.err >&5
16360
17537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361
17538
  (exit $ac_status); } &&
16362
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364
 
  (eval $ac_try) 2>&5
 
17539
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17540
  { (case "(($ac_try" in
 
17541
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17542
  *) ac_try_echo=$ac_try;;
 
17543
esac
 
17544
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17545
  (eval "$ac_try") 2>&5
16365
17546
  ac_status=$?
16366
17547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367
17548
  (exit $ac_status); }; } &&
16368
17549
         { ac_try='test -s conftest$ac_exeext'
16369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370
 
  (eval $ac_try) 2>&5
 
17550
  { (case "(($ac_try" in
 
17551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17552
  *) ac_try_echo=$ac_try;;
 
17553
esac
 
17554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17555
  (eval "$ac_try") 2>&5
16371
17556
  ac_status=$?
16372
17557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373
17558
  (exit $ac_status); }; }; then
16381
17566
  echo "$as_me: failed program was:" >&5
16382
17567
sed 's/^/| /' conftest.$ac_ext >&5
16383
17568
 
 
17569
 
16384
17570
fi
16385
 
rm -f conftest.err conftest.$ac_objext \
 
17571
 
 
17572
rm -f core conftest.err conftest.$ac_objext \
16386
17573
      conftest$ac_exeext conftest.$ac_ext
16387
17574
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16388
17575
 
16411
17598
}
16412
17599
_ACEOF
16413
17600
rm -f conftest.$ac_objext conftest$ac_exeext
16414
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16415
 
  (eval $ac_link) 2>conftest.er1
 
17601
if { (ac_try="$ac_link"
 
17602
case "(($ac_try" in
 
17603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17604
  *) ac_try_echo=$ac_try;;
 
17605
esac
 
17606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17607
  (eval "$ac_link") 2>conftest.er1
16416
17608
  ac_status=$?
16417
17609
  grep -v '^ *+' conftest.er1 >conftest.err
16418
17610
  rm -f conftest.er1
16419
17611
  cat conftest.err >&5
16420
17612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421
17613
  (exit $ac_status); } &&
16422
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16423
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16424
 
  (eval $ac_try) 2>&5
 
17614
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17615
  { (case "(($ac_try" in
 
17616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17617
  *) ac_try_echo=$ac_try;;
 
17618
esac
 
17619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17620
  (eval "$ac_try") 2>&5
16425
17621
  ac_status=$?
16426
17622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427
17623
  (exit $ac_status); }; } &&
16428
17624
         { ac_try='test -s conftest$ac_exeext'
16429
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430
 
  (eval $ac_try) 2>&5
 
17625
  { (case "(($ac_try" in
 
17626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17627
  *) ac_try_echo=$ac_try;;
 
17628
esac
 
17629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17630
  (eval "$ac_try") 2>&5
16431
17631
  ac_status=$?
16432
17632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433
17633
  (exit $ac_status); }; }; then
16441
17641
  echo "$as_me: failed program was:" >&5
16442
17642
sed 's/^/| /' conftest.$ac_ext >&5
16443
17643
 
 
17644
 
16444
17645
fi
16445
 
rm -f conftest.err conftest.$ac_objext \
 
17646
 
 
17647
rm -f core conftest.err conftest.$ac_objext \
16446
17648
      conftest$ac_exeext conftest.$ac_ext
16447
17649
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16448
17650
 
16891
18093
    esac
16892
18094
  fi
16893
18095
 
16894
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16895
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18096
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18097
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16896
18098
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16897
18099
 
16898
18100
#
16912
18114
      # Test whether the compiler implicitly links with -lc since on some
16913
18115
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16914
18116
      # to ld, don't add -lc before -lgcc.
16915
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16916
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18117
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18118
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16917
18119
      $rm conftest*
16918
18120
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16919
18121
 
16950
18152
        cat conftest.err 1>&5
16951
18153
      fi
16952
18154
      $rm conftest*
16953
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16954
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18155
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18156
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16955
18157
      ;;
16956
18158
    esac
16957
18159
  fi
16958
18160
  ;;
16959
18161
esac
16960
18162
 
16961
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16962
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18163
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18164
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16963
18165
library_names_spec=
16964
18166
libname_spec='lib$name'
16965
18167
soname_spec=
17534
18736
  dynamic_linker=no
17535
18737
  ;;
17536
18738
esac
17537
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17538
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18739
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18740
echo "${ECHO_T}$dynamic_linker" >&6; }
17539
18741
test "$dynamic_linker" = no && can_build_shared=no
17540
18742
 
17541
18743
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17543
18745
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17544
18746
fi
17545
18747
 
17546
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17547
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18748
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18749
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17548
18750
hardcode_action_GCJ=
17549
18751
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17550
18752
   test -n "$runpath_var_GCJ" || \
17568
18770
  # directories.
17569
18771
  hardcode_action_GCJ=unsupported
17570
18772
fi
17571
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17572
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18773
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18774
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17573
18775
 
17574
18776
if test "$hardcode_action_GCJ" = relink; then
17575
18777
  # Fast installation is not supported
18005
19207
      RC)
18006
19208
 
18007
19209
 
18008
 
 
18009
19210
# Source file extension for RC test sources.
18010
19211
ac_ext=rc
18011
19212
 
18546
19747
if test -n "$ac_tool_prefix"; then
18547
19748
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18548
19749
set dummy ${ac_tool_prefix}gcc; ac_word=$2
18549
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18550
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19750
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19751
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18551
19752
if test "${ac_cv_prog_CC+set}" = set; then
18552
19753
  echo $ECHO_N "(cached) $ECHO_C" >&6
18553
19754
else
18560
19761
  IFS=$as_save_IFS
18561
19762
  test -z "$as_dir" && as_dir=.
18562
19763
  for ac_exec_ext in '' $ac_executable_extensions; do
18563
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19764
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18564
19765
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
18565
19766
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18566
19767
    break 2
18567
19768
  fi
18568
19769
done
18569
19770
done
 
19771
IFS=$as_save_IFS
18570
19772
 
18571
19773
fi
18572
19774
fi
18573
19775
CC=$ac_cv_prog_CC
18574
19776
if test -n "$CC"; then
18575
 
  echo "$as_me:$LINENO: result: $CC" >&5
18576
 
echo "${ECHO_T}$CC" >&6
 
19777
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19778
echo "${ECHO_T}$CC" >&6; }
18577
19779
else
18578
 
  echo "$as_me:$LINENO: result: no" >&5
18579
 
echo "${ECHO_T}no" >&6
 
19780
  { echo "$as_me:$LINENO: result: no" >&5
 
19781
echo "${ECHO_T}no" >&6; }
18580
19782
fi
 
19783
 
18581
19784
 
18582
19785
fi
18583
19786
if test -z "$ac_cv_prog_CC"; then
18584
19787
  ac_ct_CC=$CC
18585
19788
  # Extract the first word of "gcc", so it can be a program name with args.
18586
19789
set dummy gcc; ac_word=$2
18587
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18588
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19790
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19791
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18589
19792
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18590
19793
  echo $ECHO_N "(cached) $ECHO_C" >&6
18591
19794
else
18598
19801
  IFS=$as_save_IFS
18599
19802
  test -z "$as_dir" && as_dir=.
18600
19803
  for ac_exec_ext in '' $ac_executable_extensions; do
18601
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18602
19805
    ac_cv_prog_ac_ct_CC="gcc"
18603
19806
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18604
19807
    break 2
18605
19808
  fi
18606
19809
done
18607
19810
done
 
19811
IFS=$as_save_IFS
18608
19812
 
18609
19813
fi
18610
19814
fi
18611
19815
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18612
19816
if test -n "$ac_ct_CC"; then
18613
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18614
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
19817
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
19818
echo "${ECHO_T}$ac_ct_CC" >&6; }
18615
19819
else
18616
 
  echo "$as_me:$LINENO: result: no" >&5
18617
 
echo "${ECHO_T}no" >&6
 
19820
  { echo "$as_me:$LINENO: result: no" >&5
 
19821
echo "${ECHO_T}no" >&6; }
18618
19822
fi
18619
19823
 
18620
 
  CC=$ac_ct_CC
 
19824
  if test "x$ac_ct_CC" = x; then
 
19825
    CC=""
 
19826
  else
 
19827
    case $cross_compiling:$ac_tool_warned in
 
19828
yes:)
 
19829
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19830
whose name does not start with the host triplet.  If you think this
 
19831
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19832
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19833
whose name does not start with the host triplet.  If you think this
 
19834
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19835
ac_tool_warned=yes ;;
 
19836
esac
 
19837
    CC=$ac_ct_CC
 
19838
  fi
18621
19839
else
18622
19840
  CC="$ac_cv_prog_CC"
18623
19841
fi
18624
19842
 
18625
19843
if test -z "$CC"; then
18626
 
  if test -n "$ac_tool_prefix"; then
18627
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
19844
          if test -n "$ac_tool_prefix"; then
 
19845
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18628
19846
set dummy ${ac_tool_prefix}cc; ac_word=$2
18629
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18630
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19847
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19848
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18631
19849
if test "${ac_cv_prog_CC+set}" = set; then
18632
19850
  echo $ECHO_N "(cached) $ECHO_C" >&6
18633
19851
else
18640
19858
  IFS=$as_save_IFS
18641
19859
  test -z "$as_dir" && as_dir=.
18642
19860
  for ac_exec_ext in '' $ac_executable_extensions; do
18643
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18644
19862
    ac_cv_prog_CC="${ac_tool_prefix}cc"
18645
19863
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18646
19864
    break 2
18647
19865
  fi
18648
19866
done
18649
19867
done
 
19868
IFS=$as_save_IFS
18650
19869
 
18651
19870
fi
18652
19871
fi
18653
19872
CC=$ac_cv_prog_CC
18654
19873
if test -n "$CC"; then
18655
 
  echo "$as_me:$LINENO: result: $CC" >&5
18656
 
echo "${ECHO_T}$CC" >&6
18657
 
else
18658
 
  echo "$as_me:$LINENO: result: no" >&5
18659
 
echo "${ECHO_T}no" >&6
18660
 
fi
18661
 
 
18662
 
fi
18663
 
if test -z "$ac_cv_prog_CC"; then
18664
 
  ac_ct_CC=$CC
18665
 
  # Extract the first word of "cc", so it can be a program name with args.
18666
 
set dummy cc; ac_word=$2
18667
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18668
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18669
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18671
 
else
18672
 
  if test -n "$ac_ct_CC"; then
18673
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18674
 
else
18675
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18676
 
for as_dir in $PATH
18677
 
do
18678
 
  IFS=$as_save_IFS
18679
 
  test -z "$as_dir" && as_dir=.
18680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
18681
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18682
 
    ac_cv_prog_ac_ct_CC="cc"
18683
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18684
 
    break 2
 
19874
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19875
echo "${ECHO_T}$CC" >&6; }
 
19876
else
 
19877
  { echo "$as_me:$LINENO: result: no" >&5
 
19878
echo "${ECHO_T}no" >&6; }
 
19879
fi
 
19880
 
 
19881
 
18685
19882
  fi
18686
 
done
18687
 
done
18688
 
 
18689
 
fi
18690
 
fi
18691
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18692
 
if test -n "$ac_ct_CC"; then
18693
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18694
 
echo "${ECHO_T}$ac_ct_CC" >&6
18695
 
else
18696
 
  echo "$as_me:$LINENO: result: no" >&5
18697
 
echo "${ECHO_T}no" >&6
18698
 
fi
18699
 
 
18700
 
  CC=$ac_ct_CC
18701
 
else
18702
 
  CC="$ac_cv_prog_CC"
18703
 
fi
18704
 
 
18705
19883
fi
18706
19884
if test -z "$CC"; then
18707
19885
  # Extract the first word of "cc", so it can be a program name with args.
18708
19886
set dummy cc; ac_word=$2
18709
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19887
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18711
19889
if test "${ac_cv_prog_CC+set}" = set; then
18712
19890
  echo $ECHO_N "(cached) $ECHO_C" >&6
18713
19891
else
18721
19899
  IFS=$as_save_IFS
18722
19900
  test -z "$as_dir" && as_dir=.
18723
19901
  for ac_exec_ext in '' $ac_executable_extensions; do
18724
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19902
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18725
19903
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18726
19904
       ac_prog_rejected=yes
18727
19905
       continue
18732
19910
  fi
18733
19911
done
18734
19912
done
 
19913
IFS=$as_save_IFS
18735
19914
 
18736
19915
if test $ac_prog_rejected = yes; then
18737
19916
  # We found a bogon in the path, so make sure we never use it.
18749
19928
fi
18750
19929
CC=$ac_cv_prog_CC
18751
19930
if test -n "$CC"; then
18752
 
  echo "$as_me:$LINENO: result: $CC" >&5
18753
 
echo "${ECHO_T}$CC" >&6
 
19931
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19932
echo "${ECHO_T}$CC" >&6; }
18754
19933
else
18755
 
  echo "$as_me:$LINENO: result: no" >&5
18756
 
echo "${ECHO_T}no" >&6
 
19934
  { echo "$as_me:$LINENO: result: no" >&5
 
19935
echo "${ECHO_T}no" >&6; }
18757
19936
fi
 
19937
 
18758
19938
 
18759
19939
fi
18760
19940
if test -z "$CC"; then
18761
19941
  if test -n "$ac_tool_prefix"; then
18762
 
  for ac_prog in cl
 
19942
  for ac_prog in cl.exe
18763
19943
  do
18764
19944
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18765
19945
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18766
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18767
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19946
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19947
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18768
19948
if test "${ac_cv_prog_CC+set}" = set; then
18769
19949
  echo $ECHO_N "(cached) $ECHO_C" >&6
18770
19950
else
18777
19957
  IFS=$as_save_IFS
18778
19958
  test -z "$as_dir" && as_dir=.
18779
19959
  for ac_exec_ext in '' $ac_executable_extensions; do
18780
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19960
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18781
19961
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18782
19962
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18783
19963
    break 2
18784
19964
  fi
18785
19965
done
18786
19966
done
 
19967
IFS=$as_save_IFS
18787
19968
 
18788
19969
fi
18789
19970
fi
18790
19971
CC=$ac_cv_prog_CC
18791
19972
if test -n "$CC"; then
18792
 
  echo "$as_me:$LINENO: result: $CC" >&5
18793
 
echo "${ECHO_T}$CC" >&6
 
19973
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19974
echo "${ECHO_T}$CC" >&6; }
18794
19975
else
18795
 
  echo "$as_me:$LINENO: result: no" >&5
18796
 
echo "${ECHO_T}no" >&6
 
19976
  { echo "$as_me:$LINENO: result: no" >&5
 
19977
echo "${ECHO_T}no" >&6; }
18797
19978
fi
18798
19979
 
 
19980
 
18799
19981
    test -n "$CC" && break
18800
19982
  done
18801
19983
fi
18802
19984
if test -z "$CC"; then
18803
19985
  ac_ct_CC=$CC
18804
 
  for ac_prog in cl
 
19986
  for ac_prog in cl.exe
18805
19987
do
18806
19988
  # Extract the first word of "$ac_prog", so it can be a program name with args.
18807
19989
set dummy $ac_prog; ac_word=$2
18808
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18809
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19990
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19991
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18810
19992
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18811
19993
  echo $ECHO_N "(cached) $ECHO_C" >&6
18812
19994
else
18819
20001
  IFS=$as_save_IFS
18820
20002
  test -z "$as_dir" && as_dir=.
18821
20003
  for ac_exec_ext in '' $ac_executable_extensions; do
18822
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20004
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18823
20005
    ac_cv_prog_ac_ct_CC="$ac_prog"
18824
20006
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18825
20007
    break 2
18826
20008
  fi
18827
20009
done
18828
20010
done
 
20011
IFS=$as_save_IFS
18829
20012
 
18830
20013
fi
18831
20014
fi
18832
20015
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18833
20016
if test -n "$ac_ct_CC"; then
18834
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18835
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
20017
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20018
echo "${ECHO_T}$ac_ct_CC" >&6; }
18836
20019
else
18837
 
  echo "$as_me:$LINENO: result: no" >&5
18838
 
echo "${ECHO_T}no" >&6
 
20020
  { echo "$as_me:$LINENO: result: no" >&5
 
20021
echo "${ECHO_T}no" >&6; }
18839
20022
fi
18840
20023
 
 
20024
 
18841
20025
  test -n "$ac_ct_CC" && break
18842
20026
done
18843
20027
 
18844
 
  CC=$ac_ct_CC
 
20028
  if test "x$ac_ct_CC" = x; then
 
20029
    CC=""
 
20030
  else
 
20031
    case $cross_compiling:$ac_tool_warned in
 
20032
yes:)
 
20033
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20034
whose name does not start with the host triplet.  If you think this
 
20035
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20036
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20037
whose name does not start with the host triplet.  If you think this
 
20038
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20039
ac_tool_warned=yes ;;
 
20040
esac
 
20041
    CC=$ac_ct_CC
 
20042
  fi
18845
20043
fi
18846
20044
 
18847
20045
fi
18854
20052
   { (exit 1); exit 1; }; }
18855
20053
 
18856
20054
# Provide some information about the compiler.
18857
 
echo "$as_me:$LINENO:" \
18858
 
     "checking for C compiler version" >&5
 
20055
echo "$as_me:$LINENO: checking for C compiler version" >&5
18859
20056
ac_compiler=`set X $ac_compile; echo $2`
18860
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18861
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
18862
 
  ac_status=$?
18863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864
 
  (exit $ac_status); }
18865
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18866
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
18867
 
  ac_status=$?
18868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869
 
  (exit $ac_status); }
18870
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18871
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
20057
{ (ac_try="$ac_compiler --version >&5"
 
20058
case "(($ac_try" in
 
20059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20060
  *) ac_try_echo=$ac_try;;
 
20061
esac
 
20062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20063
  (eval "$ac_compiler --version >&5") 2>&5
 
20064
  ac_status=$?
 
20065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20066
  (exit $ac_status); }
 
20067
{ (ac_try="$ac_compiler -v >&5"
 
20068
case "(($ac_try" in
 
20069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20070
  *) ac_try_echo=$ac_try;;
 
20071
esac
 
20072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20073
  (eval "$ac_compiler -v >&5") 2>&5
 
20074
  ac_status=$?
 
20075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20076
  (exit $ac_status); }
 
20077
{ (ac_try="$ac_compiler -V >&5"
 
20078
case "(($ac_try" in
 
20079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20080
  *) ac_try_echo=$ac_try;;
 
20081
esac
 
20082
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20083
  (eval "$ac_compiler -V >&5") 2>&5
18872
20084
  ac_status=$?
18873
20085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874
20086
  (exit $ac_status); }
18875
20087
 
18876
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18877
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
20088
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
20089
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
18878
20090
if test "${ac_cv_c_compiler_gnu+set}" = set; then
18879
20091
  echo $ECHO_N "(cached) $ECHO_C" >&6
18880
20092
else
18897
20109
}
18898
20110
_ACEOF
18899
20111
rm -f conftest.$ac_objext
18900
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18901
 
  (eval $ac_compile) 2>conftest.er1
 
20112
if { (ac_try="$ac_compile"
 
20113
case "(($ac_try" in
 
20114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20115
  *) ac_try_echo=$ac_try;;
 
20116
esac
 
20117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20118
  (eval "$ac_compile") 2>conftest.er1
18902
20119
  ac_status=$?
18903
20120
  grep -v '^ *+' conftest.er1 >conftest.err
18904
20121
  rm -f conftest.er1
18905
20122
  cat conftest.err >&5
18906
20123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907
20124
  (exit $ac_status); } &&
18908
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18909
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910
 
  (eval $ac_try) 2>&5
 
20125
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20126
  { (case "(($ac_try" in
 
20127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20128
  *) ac_try_echo=$ac_try;;
 
20129
esac
 
20130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20131
  (eval "$ac_try") 2>&5
18911
20132
  ac_status=$?
18912
20133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913
20134
  (exit $ac_status); }; } &&
18914
20135
         { ac_try='test -s conftest.$ac_objext'
18915
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916
 
  (eval $ac_try) 2>&5
 
20136
  { (case "(($ac_try" in
 
20137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20138
  *) ac_try_echo=$ac_try;;
 
20139
esac
 
20140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20141
  (eval "$ac_try") 2>&5
18917
20142
  ac_status=$?
18918
20143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919
20144
  (exit $ac_status); }; }; then
18922
20147
  echo "$as_me: failed program was:" >&5
18923
20148
sed 's/^/| /' conftest.$ac_ext >&5
18924
20149
 
18925
 
ac_compiler_gnu=no
 
20150
        ac_compiler_gnu=no
18926
20151
fi
18927
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20152
 
 
20153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928
20154
ac_cv_c_compiler_gnu=$ac_compiler_gnu
18929
20155
 
18930
20156
fi
18931
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18932
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
20157
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
20158
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
18933
20159
GCC=`test $ac_compiler_gnu = yes && echo yes`
18934
20160
ac_test_CFLAGS=${CFLAGS+set}
18935
20161
ac_save_CFLAGS=$CFLAGS
18936
 
CFLAGS="-g"
18937
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18938
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
20162
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
20163
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18939
20164
if test "${ac_cv_prog_cc_g+set}" = set; then
18940
20165
  echo $ECHO_N "(cached) $ECHO_C" >&6
18941
20166
else
18942
 
  cat >conftest.$ac_ext <<_ACEOF
18943
 
/* confdefs.h.  */
18944
 
_ACEOF
18945
 
cat confdefs.h >>conftest.$ac_ext
18946
 
cat >>conftest.$ac_ext <<_ACEOF
18947
 
/* end confdefs.h.  */
18948
 
 
18949
 
int
18950
 
main ()
18951
 
{
18952
 
 
18953
 
  ;
18954
 
  return 0;
18955
 
}
18956
 
_ACEOF
18957
 
rm -f conftest.$ac_objext
18958
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959
 
  (eval $ac_compile) 2>conftest.er1
18960
 
  ac_status=$?
18961
 
  grep -v '^ *+' conftest.er1 >conftest.err
18962
 
  rm -f conftest.er1
18963
 
  cat conftest.err >&5
18964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965
 
  (exit $ac_status); } &&
18966
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968
 
  (eval $ac_try) 2>&5
18969
 
  ac_status=$?
18970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971
 
  (exit $ac_status); }; } &&
18972
 
         { ac_try='test -s conftest.$ac_objext'
18973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974
 
  (eval $ac_try) 2>&5
18975
 
  ac_status=$?
18976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977
 
  (exit $ac_status); }; }; then
18978
 
  ac_cv_prog_cc_g=yes
18979
 
else
18980
 
  echo "$as_me: failed program was:" >&5
18981
 
sed 's/^/| /' conftest.$ac_ext >&5
18982
 
 
18983
 
ac_cv_prog_cc_g=no
18984
 
fi
18985
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18986
 
fi
18987
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18988
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
20167
  ac_save_c_werror_flag=$ac_c_werror_flag
 
20168
   ac_c_werror_flag=yes
 
20169
   ac_cv_prog_cc_g=no
 
20170
   CFLAGS="-g"
 
20171
   cat >conftest.$ac_ext <<_ACEOF
 
20172
/* confdefs.h.  */
 
20173
_ACEOF
 
20174
cat confdefs.h >>conftest.$ac_ext
 
20175
cat >>conftest.$ac_ext <<_ACEOF
 
20176
/* end confdefs.h.  */
 
20177
 
 
20178
int
 
20179
main ()
 
20180
{
 
20181
 
 
20182
  ;
 
20183
  return 0;
 
20184
}
 
20185
_ACEOF
 
20186
rm -f conftest.$ac_objext
 
20187
if { (ac_try="$ac_compile"
 
20188
case "(($ac_try" in
 
20189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20190
  *) ac_try_echo=$ac_try;;
 
20191
esac
 
20192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20193
  (eval "$ac_compile") 2>conftest.er1
 
20194
  ac_status=$?
 
20195
  grep -v '^ *+' conftest.er1 >conftest.err
 
20196
  rm -f conftest.er1
 
20197
  cat conftest.err >&5
 
20198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20199
  (exit $ac_status); } &&
 
20200
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20201
  { (case "(($ac_try" in
 
20202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20203
  *) ac_try_echo=$ac_try;;
 
20204
esac
 
20205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20206
  (eval "$ac_try") 2>&5
 
20207
  ac_status=$?
 
20208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20209
  (exit $ac_status); }; } &&
 
20210
         { ac_try='test -s conftest.$ac_objext'
 
20211
  { (case "(($ac_try" in
 
20212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20213
  *) ac_try_echo=$ac_try;;
 
20214
esac
 
20215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20216
  (eval "$ac_try") 2>&5
 
20217
  ac_status=$?
 
20218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20219
  (exit $ac_status); }; }; then
 
20220
  ac_cv_prog_cc_g=yes
 
20221
else
 
20222
  echo "$as_me: failed program was:" >&5
 
20223
sed 's/^/| /' conftest.$ac_ext >&5
 
20224
 
 
20225
        CFLAGS=""
 
20226
      cat >conftest.$ac_ext <<_ACEOF
 
20227
/* confdefs.h.  */
 
20228
_ACEOF
 
20229
cat confdefs.h >>conftest.$ac_ext
 
20230
cat >>conftest.$ac_ext <<_ACEOF
 
20231
/* end confdefs.h.  */
 
20232
 
 
20233
int
 
20234
main ()
 
20235
{
 
20236
 
 
20237
  ;
 
20238
  return 0;
 
20239
}
 
20240
_ACEOF
 
20241
rm -f conftest.$ac_objext
 
20242
if { (ac_try="$ac_compile"
 
20243
case "(($ac_try" in
 
20244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20245
  *) ac_try_echo=$ac_try;;
 
20246
esac
 
20247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20248
  (eval "$ac_compile") 2>conftest.er1
 
20249
  ac_status=$?
 
20250
  grep -v '^ *+' conftest.er1 >conftest.err
 
20251
  rm -f conftest.er1
 
20252
  cat conftest.err >&5
 
20253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20254
  (exit $ac_status); } &&
 
20255
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20256
  { (case "(($ac_try" in
 
20257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20258
  *) ac_try_echo=$ac_try;;
 
20259
esac
 
20260
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20261
  (eval "$ac_try") 2>&5
 
20262
  ac_status=$?
 
20263
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20264
  (exit $ac_status); }; } &&
 
20265
         { ac_try='test -s conftest.$ac_objext'
 
20266
  { (case "(($ac_try" in
 
20267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20268
  *) ac_try_echo=$ac_try;;
 
20269
esac
 
20270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20271
  (eval "$ac_try") 2>&5
 
20272
  ac_status=$?
 
20273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20274
  (exit $ac_status); }; }; then
 
20275
  :
 
20276
else
 
20277
  echo "$as_me: failed program was:" >&5
 
20278
sed 's/^/| /' conftest.$ac_ext >&5
 
20279
 
 
20280
        ac_c_werror_flag=$ac_save_c_werror_flag
 
20281
         CFLAGS="-g"
 
20282
         cat >conftest.$ac_ext <<_ACEOF
 
20283
/* confdefs.h.  */
 
20284
_ACEOF
 
20285
cat confdefs.h >>conftest.$ac_ext
 
20286
cat >>conftest.$ac_ext <<_ACEOF
 
20287
/* end confdefs.h.  */
 
20288
 
 
20289
int
 
20290
main ()
 
20291
{
 
20292
 
 
20293
  ;
 
20294
  return 0;
 
20295
}
 
20296
_ACEOF
 
20297
rm -f conftest.$ac_objext
 
20298
if { (ac_try="$ac_compile"
 
20299
case "(($ac_try" in
 
20300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20301
  *) ac_try_echo=$ac_try;;
 
20302
esac
 
20303
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20304
  (eval "$ac_compile") 2>conftest.er1
 
20305
  ac_status=$?
 
20306
  grep -v '^ *+' conftest.er1 >conftest.err
 
20307
  rm -f conftest.er1
 
20308
  cat conftest.err >&5
 
20309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20310
  (exit $ac_status); } &&
 
20311
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20312
  { (case "(($ac_try" in
 
20313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20314
  *) ac_try_echo=$ac_try;;
 
20315
esac
 
20316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20317
  (eval "$ac_try") 2>&5
 
20318
  ac_status=$?
 
20319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20320
  (exit $ac_status); }; } &&
 
20321
         { ac_try='test -s conftest.$ac_objext'
 
20322
  { (case "(($ac_try" in
 
20323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20324
  *) ac_try_echo=$ac_try;;
 
20325
esac
 
20326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20327
  (eval "$ac_try") 2>&5
 
20328
  ac_status=$?
 
20329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20330
  (exit $ac_status); }; }; then
 
20331
  ac_cv_prog_cc_g=yes
 
20332
else
 
20333
  echo "$as_me: failed program was:" >&5
 
20334
sed 's/^/| /' conftest.$ac_ext >&5
 
20335
 
 
20336
 
 
20337
fi
 
20338
 
 
20339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20340
fi
 
20341
 
 
20342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20343
fi
 
20344
 
 
20345
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20346
   ac_c_werror_flag=$ac_save_c_werror_flag
 
20347
fi
 
20348
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
20349
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18989
20350
if test "$ac_test_CFLAGS" = set; then
18990
20351
  CFLAGS=$ac_save_CFLAGS
18991
20352
elif test $ac_cv_prog_cc_g = yes; then
19001
20362
    CFLAGS=
19002
20363
  fi
19003
20364
fi
19004
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19005
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19006
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
20365
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
20366
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
20367
if test "${ac_cv_prog_cc_c89+set}" = set; then
19007
20368
  echo $ECHO_N "(cached) $ECHO_C" >&6
19008
20369
else
19009
 
  ac_cv_prog_cc_stdc=no
 
20370
  ac_cv_prog_cc_c89=no
19010
20371
ac_save_CC=$CC
19011
20372
cat >conftest.$ac_ext <<_ACEOF
19012
20373
/* confdefs.h.  */
19040
20401
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19041
20402
   function prototypes and stuff, but not '\xHH' hex character constants.
19042
20403
   These don't provoke an error unfortunately, instead are silently treated
19043
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
20404
   as 'x'.  The following induces an error, until -std is added to get
19044
20405
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19045
20406
   array size at least.  It's necessary to write '\x00'==0 to get something
19046
 
   that's true only with -std1.  */
 
20407
   that's true only with -std.  */
19047
20408
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19048
20409
 
 
20410
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
20411
   inside strings and character constants.  */
 
20412
#define FOO(x) 'x'
 
20413
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
20414
 
19049
20415
int test (int i, double x);
19050
20416
struct s1 {int (*f) (int a);};
19051
20417
struct s2 {int (*f) (double a);};
19060
20426
  return 0;
19061
20427
}
19062
20428
_ACEOF
19063
 
# Don't try gcc -ansi; that turns off useful extensions and
19064
 
# breaks some systems' header files.
19065
 
# AIX                   -qlanglvl=ansi
19066
 
# Ultrix and OSF/1      -std1
19067
 
# HP-UX 10.20 and later -Ae
19068
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
19069
 
# SVR4                  -Xc -D__EXTENSIONS__
19070
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
20429
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
20430
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19071
20431
do
19072
20432
  CC="$ac_save_CC $ac_arg"
19073
20433
  rm -f conftest.$ac_objext
19074
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075
 
  (eval $ac_compile) 2>conftest.er1
 
20434
if { (ac_try="$ac_compile"
 
20435
case "(($ac_try" in
 
20436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20437
  *) ac_try_echo=$ac_try;;
 
20438
esac
 
20439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20440
  (eval "$ac_compile") 2>conftest.er1
19076
20441
  ac_status=$?
19077
20442
  grep -v '^ *+' conftest.er1 >conftest.err
19078
20443
  rm -f conftest.er1
19079
20444
  cat conftest.err >&5
19080
20445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081
20446
  (exit $ac_status); } &&
19082
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19083
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084
 
  (eval $ac_try) 2>&5
 
20447
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20448
  { (case "(($ac_try" in
 
20449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20450
  *) ac_try_echo=$ac_try;;
 
20451
esac
 
20452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20453
  (eval "$ac_try") 2>&5
19085
20454
  ac_status=$?
19086
20455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087
20456
  (exit $ac_status); }; } &&
19088
20457
         { ac_try='test -s conftest.$ac_objext'
19089
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090
 
  (eval $ac_try) 2>&5
 
20458
  { (case "(($ac_try" in
 
20459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20460
  *) ac_try_echo=$ac_try;;
 
20461
esac
 
20462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20463
  (eval "$ac_try") 2>&5
19091
20464
  ac_status=$?
19092
20465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093
20466
  (exit $ac_status); }; }; then
19094
 
  ac_cv_prog_cc_stdc=$ac_arg
19095
 
break
 
20467
  ac_cv_prog_cc_c89=$ac_arg
19096
20468
else
19097
20469
  echo "$as_me: failed program was:" >&5
19098
20470
sed 's/^/| /' conftest.$ac_ext >&5
19099
20471
 
 
20472
 
19100
20473
fi
19101
 
rm -f conftest.err conftest.$ac_objext
 
20474
 
 
20475
rm -f core conftest.err conftest.$ac_objext
 
20476
  test "x$ac_cv_prog_cc_c89" != "xno" && break
19102
20477
done
19103
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
20478
rm -f conftest.$ac_ext
19104
20479
CC=$ac_save_CC
19105
20480
 
19106
20481
fi
19107
 
 
19108
 
case "x$ac_cv_prog_cc_stdc" in
19109
 
  x|xno)
19110
 
    echo "$as_me:$LINENO: result: none needed" >&5
19111
 
echo "${ECHO_T}none needed" >&6 ;;
 
20482
# AC_CACHE_VAL
 
20483
case "x$ac_cv_prog_cc_c89" in
 
20484
  x)
 
20485
    { echo "$as_me:$LINENO: result: none needed" >&5
 
20486
echo "${ECHO_T}none needed" >&6; } ;;
 
20487
  xno)
 
20488
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
20489
echo "${ECHO_T}unsupported" >&6; } ;;
19112
20490
  *)
19113
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19114
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19115
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
20491
    CC="$CC $ac_cv_prog_cc_c89"
 
20492
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
20493
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
19116
20494
esac
19117
20495
 
19118
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
19119
 
# in C++ we need to declare it.  In case someone uses the same compiler
19120
 
# for both compiling C and C++ we need to have the C++ compiler decide
19121
 
# the declaration of exit, since it's the most demanding environment.
19122
 
cat >conftest.$ac_ext <<_ACEOF
19123
 
#ifndef __cplusplus
19124
 
  choke me
19125
 
#endif
19126
 
_ACEOF
19127
 
rm -f conftest.$ac_objext
19128
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19129
 
  (eval $ac_compile) 2>conftest.er1
19130
 
  ac_status=$?
19131
 
  grep -v '^ *+' conftest.er1 >conftest.err
19132
 
  rm -f conftest.er1
19133
 
  cat conftest.err >&5
19134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135
 
  (exit $ac_status); } &&
19136
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19137
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138
 
  (eval $ac_try) 2>&5
19139
 
  ac_status=$?
19140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141
 
  (exit $ac_status); }; } &&
19142
 
         { ac_try='test -s conftest.$ac_objext'
19143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144
 
  (eval $ac_try) 2>&5
19145
 
  ac_status=$?
19146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147
 
  (exit $ac_status); }; }; then
19148
 
  for ac_declaration in \
19149
 
   '' \
19150
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
19151
 
   'extern "C" void std::exit (int); using std::exit;' \
19152
 
   'extern "C" void exit (int) throw ();' \
19153
 
   'extern "C" void exit (int);' \
19154
 
   'void exit (int);'
19155
 
do
19156
 
  cat >conftest.$ac_ext <<_ACEOF
19157
 
/* confdefs.h.  */
19158
 
_ACEOF
19159
 
cat confdefs.h >>conftest.$ac_ext
19160
 
cat >>conftest.$ac_ext <<_ACEOF
19161
 
/* end confdefs.h.  */
19162
 
$ac_declaration
19163
 
#include <stdlib.h>
19164
 
int
19165
 
main ()
19166
 
{
19167
 
exit (42);
19168
 
  ;
19169
 
  return 0;
19170
 
}
19171
 
_ACEOF
19172
 
rm -f conftest.$ac_objext
19173
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174
 
  (eval $ac_compile) 2>conftest.er1
19175
 
  ac_status=$?
19176
 
  grep -v '^ *+' conftest.er1 >conftest.err
19177
 
  rm -f conftest.er1
19178
 
  cat conftest.err >&5
19179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180
 
  (exit $ac_status); } &&
19181
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183
 
  (eval $ac_try) 2>&5
19184
 
  ac_status=$?
19185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186
 
  (exit $ac_status); }; } &&
19187
 
         { ac_try='test -s conftest.$ac_objext'
19188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189
 
  (eval $ac_try) 2>&5
19190
 
  ac_status=$?
19191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192
 
  (exit $ac_status); }; }; then
19193
 
  :
19194
 
else
19195
 
  echo "$as_me: failed program was:" >&5
19196
 
sed 's/^/| /' conftest.$ac_ext >&5
19197
 
 
19198
 
continue
19199
 
fi
19200
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19201
 
  cat >conftest.$ac_ext <<_ACEOF
19202
 
/* confdefs.h.  */
19203
 
_ACEOF
19204
 
cat confdefs.h >>conftest.$ac_ext
19205
 
cat >>conftest.$ac_ext <<_ACEOF
19206
 
/* end confdefs.h.  */
19207
 
$ac_declaration
19208
 
int
19209
 
main ()
19210
 
{
19211
 
exit (42);
19212
 
  ;
19213
 
  return 0;
19214
 
}
19215
 
_ACEOF
19216
 
rm -f conftest.$ac_objext
19217
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19218
 
  (eval $ac_compile) 2>conftest.er1
19219
 
  ac_status=$?
19220
 
  grep -v '^ *+' conftest.er1 >conftest.err
19221
 
  rm -f conftest.er1
19222
 
  cat conftest.err >&5
19223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224
 
  (exit $ac_status); } &&
19225
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19226
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227
 
  (eval $ac_try) 2>&5
19228
 
  ac_status=$?
19229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230
 
  (exit $ac_status); }; } &&
19231
 
         { ac_try='test -s conftest.$ac_objext'
19232
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233
 
  (eval $ac_try) 2>&5
19234
 
  ac_status=$?
19235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236
 
  (exit $ac_status); }; }; then
19237
 
  break
19238
 
else
19239
 
  echo "$as_me: failed program was:" >&5
19240
 
sed 's/^/| /' conftest.$ac_ext >&5
19241
 
 
19242
 
fi
19243
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19244
 
done
19245
 
rm -f conftest*
19246
 
if test -n "$ac_declaration"; then
19247
 
  echo '#ifdef __cplusplus' >>confdefs.h
19248
 
  echo $ac_declaration      >>confdefs.h
19249
 
  echo '#endif'             >>confdefs.h
19250
 
fi
19251
 
 
19252
 
else
19253
 
  echo "$as_me: failed program was:" >&5
19254
 
sed 's/^/| /' conftest.$ac_ext >&5
19255
 
 
19256
 
fi
19257
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20496
 
19258
20497
ac_ext=c
19259
20498
ac_cpp='$CPP $CPPFLAGS'
19260
20499
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263
20502
 
19264
20503
depcc="$CC"   am_compiler_list=
19265
20504
 
19266
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19267
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
20505
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
20506
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19268
20507
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19269
20508
  echo $ECHO_N "(cached) $ECHO_C" >&6
19270
20509
else
19353
20592
fi
19354
20593
 
19355
20594
fi
19356
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
19357
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
20595
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
20596
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
19358
20597
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
19359
20598
 
19360
20599
 
19375
20614
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19376
20615
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19377
20616
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19378
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
19379
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
20617
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
20618
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
19380
20619
# On Suns, sometimes $CPP names a directory.
19381
20620
if test -n "$CPP" && test -d "$CPP"; then
19382
20621
  CPP=
19410
20649
#endif
19411
20650
                     Syntax error
19412
20651
_ACEOF
19413
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19414
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20652
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20653
case "(($ac_try" in
 
20654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20655
  *) ac_try_echo=$ac_try;;
 
20656
esac
 
20657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20658
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19415
20659
  ac_status=$?
19416
20660
  grep -v '^ *+' conftest.er1 >conftest.err
19417
20661
  rm -f conftest.er1
19436
20680
  # Broken: fails on valid input.
19437
20681
continue
19438
20682
fi
 
20683
 
19439
20684
rm -f conftest.err conftest.$ac_ext
19440
20685
 
19441
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
20686
  # OK, works on sane cases.  Now check whether nonexistent headers
19442
20687
  # can be detected and how.
19443
20688
  cat >conftest.$ac_ext <<_ACEOF
19444
20689
/* confdefs.h.  */
19448
20693
/* end confdefs.h.  */
19449
20694
#include <ac_nonexistent.h>
19450
20695
_ACEOF
19451
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19452
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20696
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20697
case "(($ac_try" in
 
20698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20699
  *) ac_try_echo=$ac_try;;
 
20700
esac
 
20701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20702
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19453
20703
  ac_status=$?
19454
20704
  grep -v '^ *+' conftest.er1 >conftest.err
19455
20705
  rm -f conftest.er1
19476
20726
ac_preproc_ok=:
19477
20727
break
19478
20728
fi
 
20729
 
19479
20730
rm -f conftest.err conftest.$ac_ext
19480
20731
 
19481
20732
done
19493
20744
else
19494
20745
  ac_cv_prog_CPP=$CPP
19495
20746
fi
19496
 
echo "$as_me:$LINENO: result: $CPP" >&5
19497
 
echo "${ECHO_T}$CPP" >&6
 
20747
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
20748
echo "${ECHO_T}$CPP" >&6; }
19498
20749
ac_preproc_ok=false
19499
20750
for ac_c_preproc_warn_flag in '' yes
19500
20751
do
19517
20768
#endif
19518
20769
                     Syntax error
19519
20770
_ACEOF
19520
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19521
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20771
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20772
case "(($ac_try" in
 
20773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20774
  *) ac_try_echo=$ac_try;;
 
20775
esac
 
20776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20777
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19522
20778
  ac_status=$?
19523
20779
  grep -v '^ *+' conftest.er1 >conftest.err
19524
20780
  rm -f conftest.er1
19543
20799
  # Broken: fails on valid input.
19544
20800
continue
19545
20801
fi
 
20802
 
19546
20803
rm -f conftest.err conftest.$ac_ext
19547
20804
 
19548
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
20805
  # OK, works on sane cases.  Now check whether nonexistent headers
19549
20806
  # can be detected and how.
19550
20807
  cat >conftest.$ac_ext <<_ACEOF
19551
20808
/* confdefs.h.  */
19555
20812
/* end confdefs.h.  */
19556
20813
#include <ac_nonexistent.h>
19557
20814
_ACEOF
19558
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19559
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20815
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20816
case "(($ac_try" in
 
20817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20818
  *) ac_try_echo=$ac_try;;
 
20819
esac
 
20820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20821
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19560
20822
  ac_status=$?
19561
20823
  grep -v '^ *+' conftest.er1 >conftest.err
19562
20824
  rm -f conftest.er1
19583
20845
ac_preproc_ok=:
19584
20846
break
19585
20847
fi
 
20848
 
19586
20849
rm -f conftest.err conftest.$ac_ext
19587
20850
 
19588
20851
done
19604
20867
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605
20868
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19606
20869
 
19607
 
ac_ext=cc
 
20870
ac_ext=cpp
19608
20871
ac_cpp='$CXXCPP $CPPFLAGS'
19609
20872
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610
20873
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611
20874
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19612
 
if test -n "$ac_tool_prefix"; then
19613
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
20875
if test -z "$CXX"; then
 
20876
  if test -n "$CCC"; then
 
20877
    CXX=$CCC
 
20878
  else
 
20879
    if test -n "$ac_tool_prefix"; then
 
20880
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19614
20881
  do
19615
20882
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19616
20883
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19617
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19618
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20884
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19619
20886
if test "${ac_cv_prog_CXX+set}" = set; then
19620
20887
  echo $ECHO_N "(cached) $ECHO_C" >&6
19621
20888
else
19628
20895
  IFS=$as_save_IFS
19629
20896
  test -z "$as_dir" && as_dir=.
19630
20897
  for ac_exec_ext in '' $ac_executable_extensions; do
19631
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20898
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19632
20899
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19633
20900
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19634
20901
    break 2
19635
20902
  fi
19636
20903
done
19637
20904
done
 
20905
IFS=$as_save_IFS
19638
20906
 
19639
20907
fi
19640
20908
fi
19641
20909
CXX=$ac_cv_prog_CXX
19642
20910
if test -n "$CXX"; then
19643
 
  echo "$as_me:$LINENO: result: $CXX" >&5
19644
 
echo "${ECHO_T}$CXX" >&6
 
20911
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
20912
echo "${ECHO_T}$CXX" >&6; }
19645
20913
else
19646
 
  echo "$as_me:$LINENO: result: no" >&5
19647
 
echo "${ECHO_T}no" >&6
 
20914
  { echo "$as_me:$LINENO: result: no" >&5
 
20915
echo "${ECHO_T}no" >&6; }
19648
20916
fi
19649
20917
 
 
20918
 
19650
20919
    test -n "$CXX" && break
19651
20920
  done
19652
20921
fi
19653
20922
if test -z "$CXX"; then
19654
20923
  ac_ct_CXX=$CXX
19655
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
20924
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19656
20925
do
19657
20926
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19658
20927
set dummy $ac_prog; ac_word=$2
19659
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19660
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20928
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20929
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19661
20930
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19662
20931
  echo $ECHO_N "(cached) $ECHO_C" >&6
19663
20932
else
19670
20939
  IFS=$as_save_IFS
19671
20940
  test -z "$as_dir" && as_dir=.
19672
20941
  for ac_exec_ext in '' $ac_executable_extensions; do
19673
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20942
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19674
20943
    ac_cv_prog_ac_ct_CXX="$ac_prog"
19675
20944
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19676
20945
    break 2
19677
20946
  fi
19678
20947
done
19679
20948
done
 
20949
IFS=$as_save_IFS
19680
20950
 
19681
20951
fi
19682
20952
fi
19683
20953
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19684
20954
if test -n "$ac_ct_CXX"; then
19685
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19686
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
20955
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
20956
echo "${ECHO_T}$ac_ct_CXX" >&6; }
19687
20957
else
19688
 
  echo "$as_me:$LINENO: result: no" >&5
19689
 
echo "${ECHO_T}no" >&6
 
20958
  { echo "$as_me:$LINENO: result: no" >&5
 
20959
echo "${ECHO_T}no" >&6; }
19690
20960
fi
19691
20961
 
 
20962
 
19692
20963
  test -n "$ac_ct_CXX" && break
19693
20964
done
19694
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
19695
 
 
19696
 
  CXX=$ac_ct_CXX
19697
 
fi
19698
 
 
19699
 
 
 
20965
 
 
20966
  if test "x$ac_ct_CXX" = x; then
 
20967
    CXX="g++"
 
20968
  else
 
20969
    case $cross_compiling:$ac_tool_warned in
 
20970
yes:)
 
20971
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20972
whose name does not start with the host triplet.  If you think this
 
20973
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20974
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20975
whose name does not start with the host triplet.  If you think this
 
20976
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20977
ac_tool_warned=yes ;;
 
20978
esac
 
20979
    CXX=$ac_ct_CXX
 
20980
  fi
 
20981
fi
 
20982
 
 
20983
  fi
 
20984
fi
19700
20985
# Provide some information about the compiler.
19701
 
echo "$as_me:$LINENO:" \
19702
 
     "checking for C++ compiler version" >&5
 
20986
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19703
20987
ac_compiler=`set X $ac_compile; echo $2`
19704
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19705
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
19706
 
  ac_status=$?
19707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708
 
  (exit $ac_status); }
19709
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19710
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
19711
 
  ac_status=$?
19712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713
 
  (exit $ac_status); }
19714
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19715
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
20988
{ (ac_try="$ac_compiler --version >&5"
 
20989
case "(($ac_try" in
 
20990
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20991
  *) ac_try_echo=$ac_try;;
 
20992
esac
 
20993
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20994
  (eval "$ac_compiler --version >&5") 2>&5
 
20995
  ac_status=$?
 
20996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20997
  (exit $ac_status); }
 
20998
{ (ac_try="$ac_compiler -v >&5"
 
20999
case "(($ac_try" in
 
21000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21001
  *) ac_try_echo=$ac_try;;
 
21002
esac
 
21003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21004
  (eval "$ac_compiler -v >&5") 2>&5
 
21005
  ac_status=$?
 
21006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21007
  (exit $ac_status); }
 
21008
{ (ac_try="$ac_compiler -V >&5"
 
21009
case "(($ac_try" in
 
21010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21011
  *) ac_try_echo=$ac_try;;
 
21012
esac
 
21013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21014
  (eval "$ac_compiler -V >&5") 2>&5
19716
21015
  ac_status=$?
19717
21016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718
21017
  (exit $ac_status); }
19719
21018
 
19720
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19721
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
21019
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
21020
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19722
21021
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19723
21022
  echo $ECHO_N "(cached) $ECHO_C" >&6
19724
21023
else
19741
21040
}
19742
21041
_ACEOF
19743
21042
rm -f conftest.$ac_objext
19744
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19745
 
  (eval $ac_compile) 2>conftest.er1
 
21043
if { (ac_try="$ac_compile"
 
21044
case "(($ac_try" in
 
21045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21046
  *) ac_try_echo=$ac_try;;
 
21047
esac
 
21048
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21049
  (eval "$ac_compile") 2>conftest.er1
19746
21050
  ac_status=$?
19747
21051
  grep -v '^ *+' conftest.er1 >conftest.err
19748
21052
  rm -f conftest.er1
19749
21053
  cat conftest.err >&5
19750
21054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751
21055
  (exit $ac_status); } &&
19752
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754
 
  (eval $ac_try) 2>&5
 
21056
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
21057
  { (case "(($ac_try" in
 
21058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21059
  *) ac_try_echo=$ac_try;;
 
21060
esac
 
21061
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21062
  (eval "$ac_try") 2>&5
19755
21063
  ac_status=$?
19756
21064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757
21065
  (exit $ac_status); }; } &&
19758
21066
         { ac_try='test -s conftest.$ac_objext'
19759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760
 
  (eval $ac_try) 2>&5
 
21067
  { (case "(($ac_try" in
 
21068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21069
  *) ac_try_echo=$ac_try;;
 
21070
esac
 
21071
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21072
  (eval "$ac_try") 2>&5
19761
21073
  ac_status=$?
19762
21074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763
21075
  (exit $ac_status); }; }; then
19766
21078
  echo "$as_me: failed program was:" >&5
19767
21079
sed 's/^/| /' conftest.$ac_ext >&5
19768
21080
 
19769
 
ac_compiler_gnu=no
 
21081
        ac_compiler_gnu=no
19770
21082
fi
19771
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21083
 
 
21084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772
21085
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19773
21086
 
19774
21087
fi
19775
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19776
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
21088
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
21089
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19777
21090
GXX=`test $ac_compiler_gnu = yes && echo yes`
19778
21091
ac_test_CXXFLAGS=${CXXFLAGS+set}
19779
21092
ac_save_CXXFLAGS=$CXXFLAGS
19780
 
CXXFLAGS="-g"
19781
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19782
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
21093
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
21094
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19783
21095
if test "${ac_cv_prog_cxx_g+set}" = set; then
19784
21096
  echo $ECHO_N "(cached) $ECHO_C" >&6
19785
21097
else
19786
 
  cat >conftest.$ac_ext <<_ACEOF
19787
 
/* confdefs.h.  */
19788
 
_ACEOF
19789
 
cat confdefs.h >>conftest.$ac_ext
19790
 
cat >>conftest.$ac_ext <<_ACEOF
19791
 
/* end confdefs.h.  */
19792
 
 
19793
 
int
19794
 
main ()
19795
 
{
19796
 
 
19797
 
  ;
19798
 
  return 0;
19799
 
}
19800
 
_ACEOF
19801
 
rm -f conftest.$ac_objext
19802
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19803
 
  (eval $ac_compile) 2>conftest.er1
19804
 
  ac_status=$?
19805
 
  grep -v '^ *+' conftest.er1 >conftest.err
19806
 
  rm -f conftest.er1
19807
 
  cat conftest.err >&5
19808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809
 
  (exit $ac_status); } &&
19810
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19811
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812
 
  (eval $ac_try) 2>&5
19813
 
  ac_status=$?
19814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
 
  (exit $ac_status); }; } &&
19816
 
         { ac_try='test -s conftest.$ac_objext'
19817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818
 
  (eval $ac_try) 2>&5
19819
 
  ac_status=$?
19820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821
 
  (exit $ac_status); }; }; then
19822
 
  ac_cv_prog_cxx_g=yes
19823
 
else
19824
 
  echo "$as_me: failed program was:" >&5
19825
 
sed 's/^/| /' conftest.$ac_ext >&5
19826
 
 
19827
 
ac_cv_prog_cxx_g=no
19828
 
fi
19829
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19830
 
fi
19831
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19832
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
21098
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
21099
   ac_cxx_werror_flag=yes
 
21100
   ac_cv_prog_cxx_g=no
 
21101
   CXXFLAGS="-g"
 
21102
   cat >conftest.$ac_ext <<_ACEOF
 
21103
/* confdefs.h.  */
 
21104
_ACEOF
 
21105
cat confdefs.h >>conftest.$ac_ext
 
21106
cat >>conftest.$ac_ext <<_ACEOF
 
21107
/* end confdefs.h.  */
 
21108
 
 
21109
int
 
21110
main ()
 
21111
{
 
21112
 
 
21113
  ;
 
21114
  return 0;
 
21115
}
 
21116
_ACEOF
 
21117
rm -f conftest.$ac_objext
 
21118
if { (ac_try="$ac_compile"
 
21119
case "(($ac_try" in
 
21120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21121
  *) ac_try_echo=$ac_try;;
 
21122
esac
 
21123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21124
  (eval "$ac_compile") 2>conftest.er1
 
21125
  ac_status=$?
 
21126
  grep -v '^ *+' conftest.er1 >conftest.err
 
21127
  rm -f conftest.er1
 
21128
  cat conftest.err >&5
 
21129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21130
  (exit $ac_status); } &&
 
21131
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
21132
  { (case "(($ac_try" in
 
21133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21134
  *) ac_try_echo=$ac_try;;
 
21135
esac
 
21136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21137
  (eval "$ac_try") 2>&5
 
21138
  ac_status=$?
 
21139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21140
  (exit $ac_status); }; } &&
 
21141
         { ac_try='test -s conftest.$ac_objext'
 
21142
  { (case "(($ac_try" in
 
21143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21144
  *) ac_try_echo=$ac_try;;
 
21145
esac
 
21146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21147
  (eval "$ac_try") 2>&5
 
21148
  ac_status=$?
 
21149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21150
  (exit $ac_status); }; }; then
 
21151
  ac_cv_prog_cxx_g=yes
 
21152
else
 
21153
  echo "$as_me: failed program was:" >&5
 
21154
sed 's/^/| /' conftest.$ac_ext >&5
 
21155
 
 
21156
        CXXFLAGS=""
 
21157
      cat >conftest.$ac_ext <<_ACEOF
 
21158
/* confdefs.h.  */
 
21159
_ACEOF
 
21160
cat confdefs.h >>conftest.$ac_ext
 
21161
cat >>conftest.$ac_ext <<_ACEOF
 
21162
/* end confdefs.h.  */
 
21163
 
 
21164
int
 
21165
main ()
 
21166
{
 
21167
 
 
21168
  ;
 
21169
  return 0;
 
21170
}
 
21171
_ACEOF
 
21172
rm -f conftest.$ac_objext
 
21173
if { (ac_try="$ac_compile"
 
21174
case "(($ac_try" in
 
21175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21176
  *) ac_try_echo=$ac_try;;
 
21177
esac
 
21178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21179
  (eval "$ac_compile") 2>conftest.er1
 
21180
  ac_status=$?
 
21181
  grep -v '^ *+' conftest.er1 >conftest.err
 
21182
  rm -f conftest.er1
 
21183
  cat conftest.err >&5
 
21184
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21185
  (exit $ac_status); } &&
 
21186
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
21187
  { (case "(($ac_try" in
 
21188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21189
  *) ac_try_echo=$ac_try;;
 
21190
esac
 
21191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21192
  (eval "$ac_try") 2>&5
 
21193
  ac_status=$?
 
21194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21195
  (exit $ac_status); }; } &&
 
21196
         { ac_try='test -s conftest.$ac_objext'
 
21197
  { (case "(($ac_try" in
 
21198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21199
  *) ac_try_echo=$ac_try;;
 
21200
esac
 
21201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21202
  (eval "$ac_try") 2>&5
 
21203
  ac_status=$?
 
21204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21205
  (exit $ac_status); }; }; then
 
21206
  :
 
21207
else
 
21208
  echo "$as_me: failed program was:" >&5
 
21209
sed 's/^/| /' conftest.$ac_ext >&5
 
21210
 
 
21211
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
21212
         CXXFLAGS="-g"
 
21213
         cat >conftest.$ac_ext <<_ACEOF
 
21214
/* confdefs.h.  */
 
21215
_ACEOF
 
21216
cat confdefs.h >>conftest.$ac_ext
 
21217
cat >>conftest.$ac_ext <<_ACEOF
 
21218
/* end confdefs.h.  */
 
21219
 
 
21220
int
 
21221
main ()
 
21222
{
 
21223
 
 
21224
  ;
 
21225
  return 0;
 
21226
}
 
21227
_ACEOF
 
21228
rm -f conftest.$ac_objext
 
21229
if { (ac_try="$ac_compile"
 
21230
case "(($ac_try" in
 
21231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21232
  *) ac_try_echo=$ac_try;;
 
21233
esac
 
21234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21235
  (eval "$ac_compile") 2>conftest.er1
 
21236
  ac_status=$?
 
21237
  grep -v '^ *+' conftest.er1 >conftest.err
 
21238
  rm -f conftest.er1
 
21239
  cat conftest.err >&5
 
21240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21241
  (exit $ac_status); } &&
 
21242
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
21243
  { (case "(($ac_try" in
 
21244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21245
  *) ac_try_echo=$ac_try;;
 
21246
esac
 
21247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21248
  (eval "$ac_try") 2>&5
 
21249
  ac_status=$?
 
21250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21251
  (exit $ac_status); }; } &&
 
21252
         { ac_try='test -s conftest.$ac_objext'
 
21253
  { (case "(($ac_try" in
 
21254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21255
  *) ac_try_echo=$ac_try;;
 
21256
esac
 
21257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21258
  (eval "$ac_try") 2>&5
 
21259
  ac_status=$?
 
21260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21261
  (exit $ac_status); }; }; then
 
21262
  ac_cv_prog_cxx_g=yes
 
21263
else
 
21264
  echo "$as_me: failed program was:" >&5
 
21265
sed 's/^/| /' conftest.$ac_ext >&5
 
21266
 
 
21267
 
 
21268
fi
 
21269
 
 
21270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21271
fi
 
21272
 
 
21273
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21274
fi
 
21275
 
 
21276
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21277
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
21278
fi
 
21279
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
21280
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19833
21281
if test "$ac_test_CXXFLAGS" = set; then
19834
21282
  CXXFLAGS=$ac_save_CXXFLAGS
19835
21283
elif test $ac_cv_prog_cxx_g = yes; then
19845
21293
    CXXFLAGS=
19846
21294
  fi
19847
21295
fi
19848
 
for ac_declaration in \
19849
 
   '' \
19850
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
19851
 
   'extern "C" void std::exit (int); using std::exit;' \
19852
 
   'extern "C" void exit (int) throw ();' \
19853
 
   'extern "C" void exit (int);' \
19854
 
   'void exit (int);'
19855
 
do
19856
 
  cat >conftest.$ac_ext <<_ACEOF
19857
 
/* confdefs.h.  */
19858
 
_ACEOF
19859
 
cat confdefs.h >>conftest.$ac_ext
19860
 
cat >>conftest.$ac_ext <<_ACEOF
19861
 
/* end confdefs.h.  */
19862
 
$ac_declaration
19863
 
#include <stdlib.h>
19864
 
int
19865
 
main ()
19866
 
{
19867
 
exit (42);
19868
 
  ;
19869
 
  return 0;
19870
 
}
19871
 
_ACEOF
19872
 
rm -f conftest.$ac_objext
19873
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874
 
  (eval $ac_compile) 2>conftest.er1
19875
 
  ac_status=$?
19876
 
  grep -v '^ *+' conftest.er1 >conftest.err
19877
 
  rm -f conftest.er1
19878
 
  cat conftest.err >&5
19879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880
 
  (exit $ac_status); } &&
19881
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883
 
  (eval $ac_try) 2>&5
19884
 
  ac_status=$?
19885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886
 
  (exit $ac_status); }; } &&
19887
 
         { ac_try='test -s conftest.$ac_objext'
19888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889
 
  (eval $ac_try) 2>&5
19890
 
  ac_status=$?
19891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
 
  (exit $ac_status); }; }; then
19893
 
  :
19894
 
else
19895
 
  echo "$as_me: failed program was:" >&5
19896
 
sed 's/^/| /' conftest.$ac_ext >&5
19897
 
 
19898
 
continue
19899
 
fi
19900
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19901
 
  cat >conftest.$ac_ext <<_ACEOF
19902
 
/* confdefs.h.  */
19903
 
_ACEOF
19904
 
cat confdefs.h >>conftest.$ac_ext
19905
 
cat >>conftest.$ac_ext <<_ACEOF
19906
 
/* end confdefs.h.  */
19907
 
$ac_declaration
19908
 
int
19909
 
main ()
19910
 
{
19911
 
exit (42);
19912
 
  ;
19913
 
  return 0;
19914
 
}
19915
 
_ACEOF
19916
 
rm -f conftest.$ac_objext
19917
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19918
 
  (eval $ac_compile) 2>conftest.er1
19919
 
  ac_status=$?
19920
 
  grep -v '^ *+' conftest.er1 >conftest.err
19921
 
  rm -f conftest.er1
19922
 
  cat conftest.err >&5
19923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924
 
  (exit $ac_status); } &&
19925
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19926
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927
 
  (eval $ac_try) 2>&5
19928
 
  ac_status=$?
19929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930
 
  (exit $ac_status); }; } &&
19931
 
         { ac_try='test -s conftest.$ac_objext'
19932
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933
 
  (eval $ac_try) 2>&5
19934
 
  ac_status=$?
19935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936
 
  (exit $ac_status); }; }; then
19937
 
  break
19938
 
else
19939
 
  echo "$as_me: failed program was:" >&5
19940
 
sed 's/^/| /' conftest.$ac_ext >&5
19941
 
 
19942
 
fi
19943
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19944
 
done
19945
 
rm -f conftest*
19946
 
if test -n "$ac_declaration"; then
19947
 
  echo '#ifdef __cplusplus' >>confdefs.h
19948
 
  echo $ac_declaration      >>confdefs.h
19949
 
  echo '#endif'             >>confdefs.h
19950
 
fi
19951
 
 
19952
21296
ac_ext=c
19953
21297
ac_cpp='$CPP $CPPFLAGS'
19954
21298
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19957
21301
 
19958
21302
depcc="$CXX"  am_compiler_list=
19959
21303
 
19960
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19961
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
21304
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
21305
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19962
21306
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19963
21307
  echo $ECHO_N "(cached) $ECHO_C" >&6
19964
21308
else
20047
21391
fi
20048
21392
 
20049
21393
fi
20050
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
20051
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
21394
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
21395
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
20052
21396
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
20053
21397
 
20054
21398
 
20077
21421
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20078
21422
# OS/2's system install, which has a completely different semantic
20079
21423
# ./install, which can be erroneously created by make from ./install.sh.
20080
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20081
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
21424
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
21425
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
20082
21426
if test -z "$INSTALL"; then
20083
21427
if test "${ac_cv_path_install+set}" = set; then
20084
21428
  echo $ECHO_N "(cached) $ECHO_C" >&6
20100
21444
    # by default.
20101
21445
    for ac_prog in ginstall scoinst install; do
20102
21446
      for ac_exec_ext in '' $ac_executable_extensions; do
20103
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
21447
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
20104
21448
          if test $ac_prog = install &&
20105
21449
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20106
21450
            # AIX install.  It has an incompatible calling convention.
20119
21463
    ;;
20120
21464
esac
20121
21465
done
 
21466
IFS=$as_save_IFS
20122
21467
 
20123
21468
 
20124
21469
fi
20125
21470
  if test "${ac_cv_path_install+set}" = set; then
20126
21471
    INSTALL=$ac_cv_path_install
20127
21472
  else
20128
 
    # As a last resort, use the slow shell script.  We don't cache a
20129
 
    # path for INSTALL within a source directory, because that will
 
21473
    # As a last resort, use the slow shell script.  Don't cache a
 
21474
    # value for INSTALL within a source directory, because that will
20130
21475
    # break other packages using the cache if that directory is
20131
 
    # removed, or if the path is relative.
 
21476
    # removed, or if the value is a relative name.
20132
21477
    INSTALL=$ac_install_sh
20133
21478
  fi
20134
21479
fi
20135
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
20136
 
echo "${ECHO_T}$INSTALL" >&6
 
21480
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
21481
echo "${ECHO_T}$INSTALL" >&6; }
20137
21482
 
20138
21483
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
20139
21484
# It thinks the first close brace ends the variable substitution.
20145
21490
 
20146
21491
 
20147
21492
 
20148
 
echo "$as_me:$LINENO: checking for jpeg_set_defaults in -ljpeg" >&5
20149
 
echo $ECHO_N "checking for jpeg_set_defaults in -ljpeg... $ECHO_C" >&6
 
21493
{ echo "$as_me:$LINENO: checking for jpeg_set_defaults in -ljpeg" >&5
 
21494
echo $ECHO_N "checking for jpeg_set_defaults in -ljpeg... $ECHO_C" >&6; }
20150
21495
if test "${ac_cv_lib_jpeg_jpeg_set_defaults+set}" = set; then
20151
21496
  echo $ECHO_N "(cached) $ECHO_C" >&6
20152
21497
else
20159
21504
cat >>conftest.$ac_ext <<_ACEOF
20160
21505
/* end confdefs.h.  */
20161
21506
 
20162
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21507
/* Override any GCC internal prototype to avoid an error.
 
21508
   Use char because int might match the return type of a GCC
 
21509
   builtin and then its argument prototype would still apply.  */
20163
21510
#ifdef __cplusplus
20164
21511
extern "C"
20165
21512
#endif
20166
 
/* We use char because int might match the return type of a gcc2
20167
 
   builtin and then its argument prototype would still apply.  */
20168
21513
char jpeg_set_defaults ();
20169
21514
int
20170
21515
main ()
20171
21516
{
20172
 
jpeg_set_defaults ();
 
21517
return jpeg_set_defaults ();
20173
21518
  ;
20174
21519
  return 0;
20175
21520
}
20176
21521
_ACEOF
20177
21522
rm -f conftest.$ac_objext conftest$ac_exeext
20178
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20179
 
  (eval $ac_link) 2>conftest.er1
 
21523
if { (ac_try="$ac_link"
 
21524
case "(($ac_try" in
 
21525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21526
  *) ac_try_echo=$ac_try;;
 
21527
esac
 
21528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21529
  (eval "$ac_link") 2>conftest.er1
20180
21530
  ac_status=$?
20181
21531
  grep -v '^ *+' conftest.er1 >conftest.err
20182
21532
  rm -f conftest.er1
20183
21533
  cat conftest.err >&5
20184
21534
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185
21535
  (exit $ac_status); } &&
20186
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20187
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188
 
  (eval $ac_try) 2>&5
 
21536
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21537
  { (case "(($ac_try" in
 
21538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21539
  *) ac_try_echo=$ac_try;;
 
21540
esac
 
21541
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21542
  (eval "$ac_try") 2>&5
20189
21543
  ac_status=$?
20190
21544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191
21545
  (exit $ac_status); }; } &&
20192
21546
         { ac_try='test -s conftest$ac_exeext'
20193
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194
 
  (eval $ac_try) 2>&5
 
21547
  { (case "(($ac_try" in
 
21548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21549
  *) ac_try_echo=$ac_try;;
 
21550
esac
 
21551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21552
  (eval "$ac_try") 2>&5
20195
21553
  ac_status=$?
20196
21554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197
21555
  (exit $ac_status); }; }; then
20200
21558
  echo "$as_me: failed program was:" >&5
20201
21559
sed 's/^/| /' conftest.$ac_ext >&5
20202
21560
 
20203
 
ac_cv_lib_jpeg_jpeg_set_defaults=no
 
21561
        ac_cv_lib_jpeg_jpeg_set_defaults=no
20204
21562
fi
20205
 
rm -f conftest.err conftest.$ac_objext \
 
21563
 
 
21564
rm -f core conftest.err conftest.$ac_objext \
20206
21565
      conftest$ac_exeext conftest.$ac_ext
20207
21566
LIBS=$ac_check_lib_save_LIBS
20208
21567
fi
20209
 
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
20210
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_set_defaults" >&6
 
21568
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
 
21569
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
20211
21570
if test $ac_cv_lib_jpeg_jpeg_set_defaults = yes; then
20212
21571
  cat >>confdefs.h <<_ACEOF
20213
21572
#define HAVE_LIBJPEG 1
20224
21583
 
20225
21584
 
20226
21585
# Check for header files.
20227
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20228
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
21586
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
21587
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20229
21588
if test "${ac_cv_header_stdc+set}" = set; then
20230
21589
  echo $ECHO_N "(cached) $ECHO_C" >&6
20231
21590
else
20249
21608
}
20250
21609
_ACEOF
20251
21610
rm -f conftest.$ac_objext
20252
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253
 
  (eval $ac_compile) 2>conftest.er1
 
21611
if { (ac_try="$ac_compile"
 
21612
case "(($ac_try" in
 
21613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21614
  *) ac_try_echo=$ac_try;;
 
21615
esac
 
21616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21617
  (eval "$ac_compile") 2>conftest.er1
20254
21618
  ac_status=$?
20255
21619
  grep -v '^ *+' conftest.er1 >conftest.err
20256
21620
  rm -f conftest.er1
20257
21621
  cat conftest.err >&5
20258
21622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259
21623
  (exit $ac_status); } &&
20260
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262
 
  (eval $ac_try) 2>&5
 
21624
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21625
  { (case "(($ac_try" in
 
21626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21627
  *) ac_try_echo=$ac_try;;
 
21628
esac
 
21629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21630
  (eval "$ac_try") 2>&5
20263
21631
  ac_status=$?
20264
21632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265
21633
  (exit $ac_status); }; } &&
20266
21634
         { ac_try='test -s conftest.$ac_objext'
20267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268
 
  (eval $ac_try) 2>&5
 
21635
  { (case "(($ac_try" in
 
21636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21637
  *) ac_try_echo=$ac_try;;
 
21638
esac
 
21639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21640
  (eval "$ac_try") 2>&5
20269
21641
  ac_status=$?
20270
21642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271
21643
  (exit $ac_status); }; }; then
20274
21646
  echo "$as_me: failed program was:" >&5
20275
21647
sed 's/^/| /' conftest.$ac_ext >&5
20276
21648
 
20277
 
ac_cv_header_stdc=no
 
21649
        ac_cv_header_stdc=no
20278
21650
fi
20279
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21651
 
 
21652
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280
21653
 
20281
21654
if test $ac_cv_header_stdc = yes; then
20282
21655
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20332
21705
cat >>conftest.$ac_ext <<_ACEOF
20333
21706
/* end confdefs.h.  */
20334
21707
#include <ctype.h>
 
21708
#include <stdlib.h>
20335
21709
#if ((' ' & 0x0FF) == 0x020)
20336
21710
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20337
21711
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20351
21725
  for (i = 0; i < 256; i++)
20352
21726
    if (XOR (islower (i), ISLOWER (i))
20353
21727
        || toupper (i) != TOUPPER (i))
20354
 
      exit(2);
20355
 
  exit (0);
 
21728
      return 2;
 
21729
  return 0;
20356
21730
}
20357
21731
_ACEOF
20358
21732
rm -f conftest$ac_exeext
20359
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20360
 
  (eval $ac_link) 2>&5
 
21733
if { (ac_try="$ac_link"
 
21734
case "(($ac_try" in
 
21735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21736
  *) ac_try_echo=$ac_try;;
 
21737
esac
 
21738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21739
  (eval "$ac_link") 2>&5
20361
21740
  ac_status=$?
20362
21741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363
21742
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20364
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365
 
  (eval $ac_try) 2>&5
 
21743
  { (case "(($ac_try" in
 
21744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21745
  *) ac_try_echo=$ac_try;;
 
21746
esac
 
21747
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21748
  (eval "$ac_try") 2>&5
20366
21749
  ac_status=$?
20367
21750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368
21751
  (exit $ac_status); }; }; then
20375
21758
( exit $ac_status )
20376
21759
ac_cv_header_stdc=no
20377
21760
fi
20378
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20379
 
fi
20380
 
fi
20381
 
fi
20382
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20383
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
21761
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21762
fi
 
21763
 
 
21764
 
 
21765
fi
 
21766
fi
 
21767
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
21768
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20384
21769
if test $ac_cv_header_stdc = yes; then
20385
21770
 
20386
21771
cat >>confdefs.h <<\_ACEOF
20397
21782
for ac_header in fcntl.h malloc.h syslog.h machine/types.h
20398
21783
do
20399
21784
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20400
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20401
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20402
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20403
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21785
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21786
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21787
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21788
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20404
21789
  echo $ECHO_N "(cached) $ECHO_C" >&6
20405
21790
fi
20406
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20407
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21791
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21792
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21793
echo "${ECHO_T}$ac_res" >&6; }
20408
21794
else
20409
21795
  # Is the header compilable?
20410
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20411
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21796
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21797
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20412
21798
cat >conftest.$ac_ext <<_ACEOF
20413
21799
/* confdefs.h.  */
20414
21800
_ACEOF
20419
21805
#include <$ac_header>
20420
21806
_ACEOF
20421
21807
rm -f conftest.$ac_objext
20422
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20423
 
  (eval $ac_compile) 2>conftest.er1
 
21808
if { (ac_try="$ac_compile"
 
21809
case "(($ac_try" in
 
21810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21811
  *) ac_try_echo=$ac_try;;
 
21812
esac
 
21813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21814
  (eval "$ac_compile") 2>conftest.er1
20424
21815
  ac_status=$?
20425
21816
  grep -v '^ *+' conftest.er1 >conftest.err
20426
21817
  rm -f conftest.er1
20427
21818
  cat conftest.err >&5
20428
21819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429
21820
  (exit $ac_status); } &&
20430
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432
 
  (eval $ac_try) 2>&5
 
21821
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21822
  { (case "(($ac_try" in
 
21823
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21824
  *) ac_try_echo=$ac_try;;
 
21825
esac
 
21826
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21827
  (eval "$ac_try") 2>&5
20433
21828
  ac_status=$?
20434
21829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435
21830
  (exit $ac_status); }; } &&
20436
21831
         { ac_try='test -s conftest.$ac_objext'
20437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438
 
  (eval $ac_try) 2>&5
 
21832
  { (case "(($ac_try" in
 
21833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21834
  *) ac_try_echo=$ac_try;;
 
21835
esac
 
21836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21837
  (eval "$ac_try") 2>&5
20439
21838
  ac_status=$?
20440
21839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441
21840
  (exit $ac_status); }; }; then
20444
21843
  echo "$as_me: failed program was:" >&5
20445
21844
sed 's/^/| /' conftest.$ac_ext >&5
20446
21845
 
20447
 
ac_header_compiler=no
 
21846
        ac_header_compiler=no
20448
21847
fi
20449
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20450
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20451
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21848
 
 
21849
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21850
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21851
echo "${ECHO_T}$ac_header_compiler" >&6; }
20452
21852
 
20453
21853
# Is the header present?
20454
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20455
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21854
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21855
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20456
21856
cat >conftest.$ac_ext <<_ACEOF
20457
21857
/* confdefs.h.  */
20458
21858
_ACEOF
20461
21861
/* end confdefs.h.  */
20462
21862
#include <$ac_header>
20463
21863
_ACEOF
20464
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20465
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21864
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21865
case "(($ac_try" in
 
21866
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21867
  *) ac_try_echo=$ac_try;;
 
21868
esac
 
21869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21870
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20466
21871
  ac_status=$?
20467
21872
  grep -v '^ *+' conftest.er1 >conftest.err
20468
21873
  rm -f conftest.er1
20486
21891
 
20487
21892
  ac_header_preproc=no
20488
21893
fi
 
21894
 
20489
21895
rm -f conftest.err conftest.$ac_ext
20490
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20491
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21896
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21897
echo "${ECHO_T}$ac_header_preproc" >&6; }
20492
21898
 
20493
21899
# So?  What about this header?
20494
21900
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20512
21918
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20513
21919
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20514
21920
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20515
 
    (
20516
 
      cat <<\_ASBOX
 
21921
    ( cat <<\_ASBOX
20517
21922
## ---------------------------------------- ##
20518
21923
## Report this to hpijs@packages.debian.org ##
20519
21924
## ---------------------------------------- ##
20520
21925
_ASBOX
20521
 
    ) |
20522
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21926
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20523
21927
    ;;
20524
21928
esac
20525
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20526
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20527
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21929
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21930
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21931
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20528
21932
  echo $ECHO_N "(cached) $ECHO_C" >&6
20529
21933
else
20530
21934
  eval "$as_ac_Header=\$ac_header_preproc"
20531
21935
fi
20532
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20533
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21936
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21937
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21938
echo "${ECHO_T}$ac_res" >&6; }
20534
21939
 
20535
21940
fi
20536
21941
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20546
21951
for ac_header in jpeglib.h
20547
21952
do
20548
21953
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20549
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20550
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20551
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20552
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21954
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21955
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21956
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21957
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20553
21958
  echo $ECHO_N "(cached) $ECHO_C" >&6
20554
21959
fi
20555
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20556
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21960
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21961
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21962
echo "${ECHO_T}$ac_res" >&6; }
20557
21963
else
20558
21964
  # Is the header compilable?
20559
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20560
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21965
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21966
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20561
21967
cat >conftest.$ac_ext <<_ACEOF
20562
21968
/* confdefs.h.  */
20563
21969
_ACEOF
20568
21974
#include <$ac_header>
20569
21975
_ACEOF
20570
21976
rm -f conftest.$ac_objext
20571
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20572
 
  (eval $ac_compile) 2>conftest.er1
 
21977
if { (ac_try="$ac_compile"
 
21978
case "(($ac_try" in
 
21979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21980
  *) ac_try_echo=$ac_try;;
 
21981
esac
 
21982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21983
  (eval "$ac_compile") 2>conftest.er1
20573
21984
  ac_status=$?
20574
21985
  grep -v '^ *+' conftest.er1 >conftest.err
20575
21986
  rm -f conftest.er1
20576
21987
  cat conftest.err >&5
20577
21988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578
21989
  (exit $ac_status); } &&
20579
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20580
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20581
 
  (eval $ac_try) 2>&5
 
21990
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21991
  { (case "(($ac_try" in
 
21992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21993
  *) ac_try_echo=$ac_try;;
 
21994
esac
 
21995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21996
  (eval "$ac_try") 2>&5
20582
21997
  ac_status=$?
20583
21998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584
21999
  (exit $ac_status); }; } &&
20585
22000
         { ac_try='test -s conftest.$ac_objext'
20586
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587
 
  (eval $ac_try) 2>&5
 
22001
  { (case "(($ac_try" in
 
22002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22003
  *) ac_try_echo=$ac_try;;
 
22004
esac
 
22005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22006
  (eval "$ac_try") 2>&5
20588
22007
  ac_status=$?
20589
22008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590
22009
  (exit $ac_status); }; }; then
20593
22012
  echo "$as_me: failed program was:" >&5
20594
22013
sed 's/^/| /' conftest.$ac_ext >&5
20595
22014
 
20596
 
ac_header_compiler=no
 
22015
        ac_header_compiler=no
20597
22016
fi
20598
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20599
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20600
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22017
 
 
22018
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22019
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22020
echo "${ECHO_T}$ac_header_compiler" >&6; }
20601
22021
 
20602
22022
# Is the header present?
20603
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20604
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22023
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22024
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20605
22025
cat >conftest.$ac_ext <<_ACEOF
20606
22026
/* confdefs.h.  */
20607
22027
_ACEOF
20610
22030
/* end confdefs.h.  */
20611
22031
#include <$ac_header>
20612
22032
_ACEOF
20613
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20614
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22033
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22034
case "(($ac_try" in
 
22035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22036
  *) ac_try_echo=$ac_try;;
 
22037
esac
 
22038
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22039
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20615
22040
  ac_status=$?
20616
22041
  grep -v '^ *+' conftest.er1 >conftest.err
20617
22042
  rm -f conftest.er1
20635
22060
 
20636
22061
  ac_header_preproc=no
20637
22062
fi
 
22063
 
20638
22064
rm -f conftest.err conftest.$ac_ext
20639
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20640
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22065
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22066
echo "${ECHO_T}$ac_header_preproc" >&6; }
20641
22067
 
20642
22068
# So?  What about this header?
20643
22069
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20661
22087
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20662
22088
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20663
22089
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20664
 
    (
20665
 
      cat <<\_ASBOX
 
22090
    ( cat <<\_ASBOX
20666
22091
## ---------------------------------------- ##
20667
22092
## Report this to hpijs@packages.debian.org ##
20668
22093
## ---------------------------------------- ##
20669
22094
_ASBOX
20670
 
    ) |
20671
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22095
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20672
22096
    ;;
20673
22097
esac
20674
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20675
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20676
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22098
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22099
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22100
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20677
22101
  echo $ECHO_N "(cached) $ECHO_C" >&6
20678
22102
else
20679
22103
  eval "$as_ac_Header=\$ac_header_preproc"
20680
22104
fi
20681
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20682
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22105
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22106
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22107
echo "${ECHO_T}$ac_res" >&6; }
20683
22108
 
20684
22109
fi
20685
22110
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20698
22123
 
20699
22124
 
20700
22125
# Check for typedefs, structures, and compiler characteristics.
20701
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20702
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
22126
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
22127
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20703
22128
if test "${ac_cv_c_const+set}" = set; then
20704
22129
  echo $ECHO_N "(cached) $ECHO_C" >&6
20705
22130
else
20739
22164
    char const *s = 0 ? (char *) 0 : (char const *) 0;
20740
22165
 
20741
22166
    *t++ = 0;
 
22167
    if (s) return 0;
20742
22168
  }
20743
22169
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20744
22170
    int x[] = {25, 17};
20757
22183
  }
20758
22184
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20759
22185
    const int foo = 10;
 
22186
    if (!foo) return 0;
20760
22187
  }
 
22188
  return !x[0] && !zero.x;
20761
22189
#endif
20762
22190
 
20763
22191
  ;
20765
22193
}
20766
22194
_ACEOF
20767
22195
rm -f conftest.$ac_objext
20768
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20769
 
  (eval $ac_compile) 2>conftest.er1
 
22196
if { (ac_try="$ac_compile"
 
22197
case "(($ac_try" in
 
22198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22199
  *) ac_try_echo=$ac_try;;
 
22200
esac
 
22201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22202
  (eval "$ac_compile") 2>conftest.er1
20770
22203
  ac_status=$?
20771
22204
  grep -v '^ *+' conftest.er1 >conftest.err
20772
22205
  rm -f conftest.er1
20773
22206
  cat conftest.err >&5
20774
22207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775
22208
  (exit $ac_status); } &&
20776
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778
 
  (eval $ac_try) 2>&5
 
22209
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22210
  { (case "(($ac_try" in
 
22211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22212
  *) ac_try_echo=$ac_try;;
 
22213
esac
 
22214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22215
  (eval "$ac_try") 2>&5
20779
22216
  ac_status=$?
20780
22217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781
22218
  (exit $ac_status); }; } &&
20782
22219
         { ac_try='test -s conftest.$ac_objext'
20783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784
 
  (eval $ac_try) 2>&5
 
22220
  { (case "(($ac_try" in
 
22221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22222
  *) ac_try_echo=$ac_try;;
 
22223
esac
 
22224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22225
  (eval "$ac_try") 2>&5
20785
22226
  ac_status=$?
20786
22227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787
22228
  (exit $ac_status); }; }; then
20790
22231
  echo "$as_me: failed program was:" >&5
20791
22232
sed 's/^/| /' conftest.$ac_ext >&5
20792
22233
 
20793
 
ac_cv_c_const=no
20794
 
fi
20795
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20796
 
fi
20797
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20798
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
22234
        ac_cv_c_const=no
 
22235
fi
 
22236
 
 
22237
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22238
fi
 
22239
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
22240
echo "${ECHO_T}$ac_cv_c_const" >&6; }
20799
22241
if test $ac_cv_c_const = no; then
20800
22242
 
20801
22243
cat >>confdefs.h <<\_ACEOF
20804
22246
 
20805
22247
fi
20806
22248
 
20807
 
echo "$as_me:$LINENO: checking for inline" >&5
20808
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
22249
{ echo "$as_me:$LINENO: checking for inline" >&5
 
22250
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20809
22251
if test "${ac_cv_c_inline+set}" = set; then
20810
22252
  echo $ECHO_N "(cached) $ECHO_C" >&6
20811
22253
else
20825
22267
 
20826
22268
_ACEOF
20827
22269
rm -f conftest.$ac_objext
20828
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20829
 
  (eval $ac_compile) 2>conftest.er1
 
22270
if { (ac_try="$ac_compile"
 
22271
case "(($ac_try" in
 
22272
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22273
  *) ac_try_echo=$ac_try;;
 
22274
esac
 
22275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22276
  (eval "$ac_compile") 2>conftest.er1
20830
22277
  ac_status=$?
20831
22278
  grep -v '^ *+' conftest.er1 >conftest.err
20832
22279
  rm -f conftest.er1
20833
22280
  cat conftest.err >&5
20834
22281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835
22282
  (exit $ac_status); } &&
20836
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20837
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838
 
  (eval $ac_try) 2>&5
 
22283
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22284
  { (case "(($ac_try" in
 
22285
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22286
  *) ac_try_echo=$ac_try;;
 
22287
esac
 
22288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22289
  (eval "$ac_try") 2>&5
20839
22290
  ac_status=$?
20840
22291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841
22292
  (exit $ac_status); }; } &&
20842
22293
         { ac_try='test -s conftest.$ac_objext'
20843
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844
 
  (eval $ac_try) 2>&5
 
22294
  { (case "(($ac_try" in
 
22295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22296
  *) ac_try_echo=$ac_try;;
 
22297
esac
 
22298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22299
  (eval "$ac_try") 2>&5
20845
22300
  ac_status=$?
20846
22301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847
22302
  (exit $ac_status); }; }; then
20848
 
  ac_cv_c_inline=$ac_kw; break
 
22303
  ac_cv_c_inline=$ac_kw
20849
22304
else
20850
22305
  echo "$as_me: failed program was:" >&5
20851
22306
sed 's/^/| /' conftest.$ac_ext >&5
20852
22307
 
 
22308
 
20853
22309
fi
20854
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22310
 
 
22311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22312
  test "$ac_cv_c_inline" != no && break
20855
22313
done
20856
22314
 
20857
22315
fi
20858
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20859
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
22316
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
22317
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20860
22318
 
20861
22319
 
20862
22320
case $ac_cv_c_inline in
20874
22332
    ;;
20875
22333
esac
20876
22334
 
20877
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20878
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
22335
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
22336
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
20879
22337
if test "${ac_cv_c_bigendian+set}" = set; then
20880
22338
  echo $ECHO_N "(cached) $ECHO_C" >&6
20881
22339
else
20901
22359
}
20902
22360
_ACEOF
20903
22361
rm -f conftest.$ac_objext
20904
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20905
 
  (eval $ac_compile) 2>conftest.er1
 
22362
if { (ac_try="$ac_compile"
 
22363
case "(($ac_try" in
 
22364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22365
  *) ac_try_echo=$ac_try;;
 
22366
esac
 
22367
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22368
  (eval "$ac_compile") 2>conftest.er1
20906
22369
  ac_status=$?
20907
22370
  grep -v '^ *+' conftest.er1 >conftest.err
20908
22371
  rm -f conftest.er1
20909
22372
  cat conftest.err >&5
20910
22373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911
22374
  (exit $ac_status); } &&
20912
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20914
 
  (eval $ac_try) 2>&5
 
22375
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22376
  { (case "(($ac_try" in
 
22377
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22378
  *) ac_try_echo=$ac_try;;
 
22379
esac
 
22380
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22381
  (eval "$ac_try") 2>&5
20915
22382
  ac_status=$?
20916
22383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917
22384
  (exit $ac_status); }; } &&
20918
22385
         { ac_try='test -s conftest.$ac_objext'
20919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20920
 
  (eval $ac_try) 2>&5
 
22386
  { (case "(($ac_try" in
 
22387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22388
  *) ac_try_echo=$ac_try;;
 
22389
esac
 
22390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22391
  (eval "$ac_try") 2>&5
20921
22392
  ac_status=$?
20922
22393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923
22394
  (exit $ac_status); }; }; then
20943
22414
}
20944
22415
_ACEOF
20945
22416
rm -f conftest.$ac_objext
20946
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20947
 
  (eval $ac_compile) 2>conftest.er1
 
22417
if { (ac_try="$ac_compile"
 
22418
case "(($ac_try" in
 
22419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22420
  *) ac_try_echo=$ac_try;;
 
22421
esac
 
22422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22423
  (eval "$ac_compile") 2>conftest.er1
20948
22424
  ac_status=$?
20949
22425
  grep -v '^ *+' conftest.er1 >conftest.err
20950
22426
  rm -f conftest.er1
20951
22427
  cat conftest.err >&5
20952
22428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953
22429
  (exit $ac_status); } &&
20954
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20956
 
  (eval $ac_try) 2>&5
 
22430
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22431
  { (case "(($ac_try" in
 
22432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22433
  *) ac_try_echo=$ac_try;;
 
22434
esac
 
22435
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22436
  (eval "$ac_try") 2>&5
20957
22437
  ac_status=$?
20958
22438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959
22439
  (exit $ac_status); }; } &&
20960
22440
         { ac_try='test -s conftest.$ac_objext'
20961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962
 
  (eval $ac_try) 2>&5
 
22441
  { (case "(($ac_try" in
 
22442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22443
  *) ac_try_echo=$ac_try;;
 
22444
esac
 
22445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22446
  (eval "$ac_try") 2>&5
20963
22447
  ac_status=$?
20964
22448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965
22449
  (exit $ac_status); }; }; then
20968
22452
  echo "$as_me: failed program was:" >&5
20969
22453
sed 's/^/| /' conftest.$ac_ext >&5
20970
22454
 
20971
 
ac_cv_c_bigendian=no
 
22455
        ac_cv_c_bigendian=no
20972
22456
fi
20973
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22457
 
 
22458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20974
22459
else
20975
22460
  echo "$as_me: failed program was:" >&5
20976
22461
sed 's/^/| /' conftest.$ac_ext >&5
20977
22462
 
20978
 
# It does not; compile a test program.
 
22463
        # It does not; compile a test program.
20979
22464
if test "$cross_compiling" = yes; then
20980
22465
  # try to guess the endianness by grepping values into an object file
20981
22466
  ac_cv_c_bigendian=unknown
20985
22470
cat confdefs.h >>conftest.$ac_ext
20986
22471
cat >>conftest.$ac_ext <<_ACEOF
20987
22472
/* end confdefs.h.  */
20988
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20989
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
22473
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
22474
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20990
22475
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20991
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20992
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
22476
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
22477
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20993
22478
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20994
22479
int
20995
22480
main ()
21000
22485
}
21001
22486
_ACEOF
21002
22487
rm -f conftest.$ac_objext
21003
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21004
 
  (eval $ac_compile) 2>conftest.er1
 
22488
if { (ac_try="$ac_compile"
 
22489
case "(($ac_try" in
 
22490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22491
  *) ac_try_echo=$ac_try;;
 
22492
esac
 
22493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22494
  (eval "$ac_compile") 2>conftest.er1
21005
22495
  ac_status=$?
21006
22496
  grep -v '^ *+' conftest.er1 >conftest.err
21007
22497
  rm -f conftest.er1
21008
22498
  cat conftest.err >&5
21009
22499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010
22500
  (exit $ac_status); } &&
21011
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21012
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21013
 
  (eval $ac_try) 2>&5
 
22501
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22502
  { (case "(($ac_try" in
 
22503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22504
  *) ac_try_echo=$ac_try;;
 
22505
esac
 
22506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22507
  (eval "$ac_try") 2>&5
21014
22508
  ac_status=$?
21015
22509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016
22510
  (exit $ac_status); }; } &&
21017
22511
         { ac_try='test -s conftest.$ac_objext'
21018
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019
 
  (eval $ac_try) 2>&5
 
22512
  { (case "(($ac_try" in
 
22513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22514
  *) ac_try_echo=$ac_try;;
 
22515
esac
 
22516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22517
  (eval "$ac_try") 2>&5
21020
22518
  ac_status=$?
21021
22519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022
22520
  (exit $ac_status); }; }; then
21035
22533
  echo "$as_me: failed program was:" >&5
21036
22534
sed 's/^/| /' conftest.$ac_ext >&5
21037
22535
 
 
22536
 
21038
22537
fi
21039
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22538
 
 
22539
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040
22540
else
21041
22541
  cat >conftest.$ac_ext <<_ACEOF
21042
22542
/* confdefs.h.  */
21044
22544
cat confdefs.h >>conftest.$ac_ext
21045
22545
cat >>conftest.$ac_ext <<_ACEOF
21046
22546
/* end confdefs.h.  */
 
22547
$ac_includes_default
21047
22548
int
21048
22549
main ()
21049
22550
{
 
22551
 
21050
22552
  /* Are we little or big endian?  From Harbison&Steele.  */
21051
22553
  union
21052
22554
  {
21053
 
    long l;
21054
 
    char c[sizeof (long)];
 
22555
    long int l;
 
22556
    char c[sizeof (long int)];
21055
22557
  } u;
21056
22558
  u.l = 1;
21057
 
  exit (u.c[sizeof (long) - 1] == 1);
 
22559
  return u.c[sizeof (long int) - 1] == 1;
 
22560
 
 
22561
  ;
 
22562
  return 0;
21058
22563
}
21059
22564
_ACEOF
21060
22565
rm -f conftest$ac_exeext
21061
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21062
 
  (eval $ac_link) 2>&5
 
22566
if { (ac_try="$ac_link"
 
22567
case "(($ac_try" in
 
22568
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22569
  *) ac_try_echo=$ac_try;;
 
22570
esac
 
22571
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22572
  (eval "$ac_link") 2>&5
21063
22573
  ac_status=$?
21064
22574
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065
22575
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067
 
  (eval $ac_try) 2>&5
 
22576
  { (case "(($ac_try" in
 
22577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22578
  *) ac_try_echo=$ac_try;;
 
22579
esac
 
22580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22581
  (eval "$ac_try") 2>&5
21068
22582
  ac_status=$?
21069
22583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070
22584
  (exit $ac_status); }; }; then
21077
22591
( exit $ac_status )
21078
22592
ac_cv_c_bigendian=yes
21079
22593
fi
21080
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21081
 
fi
21082
 
fi
21083
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21084
 
fi
21085
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21086
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
22594
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22595
fi
 
22596
 
 
22597
 
 
22598
fi
 
22599
 
 
22600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22601
fi
 
22602
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
22603
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
21087
22604
case $ac_cv_c_bigendian in
21088
22605
  yes)
21089
22606
 
21123
22640
#include <machine/types.h>
21124
22641
#endif
21125
22642
EOFH
21126
 
echo "$as_me:$LINENO: checking for uint32_t" >&5
21127
 
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
 
22643
{ echo "$as_me:$LINENO: checking for uint32_t" >&5
 
22644
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
21128
22645
if test "${ac_cv_type_uint32_t+set}" = set; then
21129
22646
  echo $ECHO_N "(cached) $ECHO_C" >&6
21130
22647
else
21137
22654
#include "auto-include.h"
21138
22655
 
21139
22656
 
 
22657
typedef uint32_t ac__type_new_;
21140
22658
int
21141
22659
main ()
21142
22660
{
21143
 
if ((uint32_t *) 0)
 
22661
if ((ac__type_new_ *) 0)
21144
22662
  return 0;
21145
 
if (sizeof (uint32_t))
 
22663
if (sizeof (ac__type_new_))
21146
22664
  return 0;
21147
22665
  ;
21148
22666
  return 0;
21149
22667
}
21150
22668
_ACEOF
21151
22669
rm -f conftest.$ac_objext
21152
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21153
 
  (eval $ac_compile) 2>conftest.er1
 
22670
if { (ac_try="$ac_compile"
 
22671
case "(($ac_try" in
 
22672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22673
  *) ac_try_echo=$ac_try;;
 
22674
esac
 
22675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22676
  (eval "$ac_compile") 2>conftest.er1
21154
22677
  ac_status=$?
21155
22678
  grep -v '^ *+' conftest.er1 >conftest.err
21156
22679
  rm -f conftest.er1
21157
22680
  cat conftest.err >&5
21158
22681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159
22682
  (exit $ac_status); } &&
21160
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21161
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162
 
  (eval $ac_try) 2>&5
 
22683
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22684
  { (case "(($ac_try" in
 
22685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22686
  *) ac_try_echo=$ac_try;;
 
22687
esac
 
22688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22689
  (eval "$ac_try") 2>&5
21163
22690
  ac_status=$?
21164
22691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165
22692
  (exit $ac_status); }; } &&
21166
22693
         { ac_try='test -s conftest.$ac_objext'
21167
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168
 
  (eval $ac_try) 2>&5
 
22694
  { (case "(($ac_try" in
 
22695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22696
  *) ac_try_echo=$ac_try;;
 
22697
esac
 
22698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22699
  (eval "$ac_try") 2>&5
21169
22700
  ac_status=$?
21170
22701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171
22702
  (exit $ac_status); }; }; then
21174
22705
  echo "$as_me: failed program was:" >&5
21175
22706
sed 's/^/| /' conftest.$ac_ext >&5
21176
22707
 
21177
 
ac_cv_type_uint32_t=no
21178
 
fi
21179
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21180
 
fi
21181
 
echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
21182
 
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
 
22708
        ac_cv_type_uint32_t=no
 
22709
fi
 
22710
 
 
22711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22712
fi
 
22713
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
 
22714
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
21183
22715
if test $ac_cv_type_uint32_t = yes; then
21184
22716
 
21185
22717
cat >>confdefs.h <<_ACEOF
21193
22725
CXXFLAGS="$CXXFLAGS $MYFLAGS"
21194
22726
CFLAGS="$CFLAGS $MYFLAGS"
21195
22727
 
21196
 
echo "$as_me:$LINENO: checking for platform-dependencies" >&5
21197
 
echo $ECHO_N "checking for platform-dependencies... $ECHO_C" >&6
 
22728
{ echo "$as_me:$LINENO: checking for platform-dependencies" >&5
 
22729
echo $ECHO_N "checking for platform-dependencies... $ECHO_C" >&6; }
21198
22730
case "$host" in
21199
22731
   *-darwin*)
21200
 
      echo "$as_me:$LINENO: result: using Mac OS X platform.h" >&5
21201
 
echo "${ECHO_T}using Mac OS X platform.h" >&6
 
22732
      { echo "$as_me:$LINENO: result: using Mac OS X platform.h" >&5
 
22733
echo "${ECHO_T}using Mac OS X platform.h" >&6; }
21202
22734
      cat >platform.h <<EOF
21203
22735
#include <stdlib.h>
21204
22736
#include <sys/types.h>
21211
22743
      ;;
21212
22744
 
21213
22745
     *)
21214
 
      echo "$as_me:$LINENO: result: using Default platform.h" >&5
21215
 
echo "${ECHO_T}using Default platform.h" >&6
 
22746
      { echo "$as_me:$LINENO: result: using Default platform.h" >&5
 
22747
echo "${ECHO_T}using Default platform.h" >&6; }
21216
22748
      cat >platform.h <<EOF
21217
22749
#include <stdlib.h>
21218
22750
#include <memory.h>
21227
22759
CUPSSEARCHPATH="/usr/share /usr/local/share /usr/lib /usr/local/lib /usr/libexec /usr/lib64 /opt"
21228
22760
 
21229
22761
 
21230
 
echo "$as_me:$LINENO: checking for cups ppd path" >&5
21231
 
echo $ECHO_N "checking for cups ppd path... $ECHO_C" >&6
 
22762
{ echo "$as_me:$LINENO: checking for cups ppd path" >&5
 
22763
echo $ECHO_N "checking for cups ppd path... $ECHO_C" >&6; }
21232
22764
if test "x${CUPS_PPD_PATH}" = "x"; then
21233
22765
 
21234
22766
        CUPS_PPD_PATH="/usr/share/cups/model"
21241
22773
 
21242
22774
fi
21243
22775
 
21244
 
echo "$as_me:$LINENO: result: using ${CUPS_PPD_PATH}" >&5
21245
 
echo "${ECHO_T}using ${CUPS_PPD_PATH}" >&6
21246
 
 
21247
 
 
21248
 
echo "$as_me:$LINENO: checking for cups filter path" >&5
21249
 
echo $ECHO_N "checking for cups filter path... $ECHO_C" >&6
 
22776
{ echo "$as_me:$LINENO: result: using ${CUPS_PPD_PATH}" >&5
 
22777
echo "${ECHO_T}using ${CUPS_PPD_PATH}" >&6; }
 
22778
 
 
22779
 
 
22780
{ echo "$as_me:$LINENO: checking for cups filter path" >&5
 
22781
echo $ECHO_N "checking for cups filter path... $ECHO_C" >&6; }
21250
22782
if test "x${CUPS_FILTER_PATH}" = "x"; then
21251
22783
 
21252
22784
        CUPS_FILTER_PATH="/usr/lib/cups/filter"
21259
22791
 
21260
22792
fi
21261
22793
 
21262
 
echo "$as_me:$LINENO: result: using ${CUPS_FILTER_PATH}" >&5
21263
 
echo "${ECHO_T}using ${CUPS_FILTER_PATH}" >&6
 
22794
{ echo "$as_me:$LINENO: result: using ${CUPS_FILTER_PATH}" >&5
 
22795
echo "${ECHO_T}using ${CUPS_FILTER_PATH}" >&6; }
21264
22796
 
21265
 
echo "$as_me:$LINENO: checking for cups install" >&5
21266
 
echo $ECHO_N "checking for cups install... $ECHO_C" >&6
21267
 
# Check whether --enable-cups_install or --disable-cups_install was given.
 
22797
{ echo "$as_me:$LINENO: checking for cups install" >&5
 
22798
echo $ECHO_N "checking for cups install... $ECHO_C" >&6; }
 
22799
# Check whether --enable-cups_install was given.
21268
22800
if test "${enable_cups_install+set}" = set; then
21269
 
  enableval="$enable_cups_install"
21270
 
  cups_install=$enableval
 
22801
  enableval=$enable_cups_install; cups_install=$enableval
21271
22802
else
21272
22803
  cups_install=yes
21273
 
fi;
 
22804
fi
 
22805
 
21274
22806
if test $cups_install = yes; then
21275
 
   echo "$as_me:$LINENO: result: yes" >&5
21276
 
echo "${ECHO_T}yes" >&6
 
22807
   { echo "$as_me:$LINENO: result: yes" >&5
 
22808
echo "${ECHO_T}yes" >&6; }
21277
22809
else
21278
 
   echo "$as_me:$LINENO: result: no" >&5
21279
 
echo "${ECHO_T}no" >&6
 
22810
   { echo "$as_me:$LINENO: result: no" >&5
 
22811
echo "${ECHO_T}no" >&6; }
21280
22812
fi
21281
22813
 
21282
22814
 
21289
22821
fi
21290
22822
 
21291
22823
 
21292
 
echo "$as_me:$LINENO: checking for foomatic install" >&5
21293
 
echo $ECHO_N "checking for foomatic install... $ECHO_C" >&6
21294
 
# Check whether --enable-foomatic_install or --disable-foomatic_install was given.
 
22824
{ echo "$as_me:$LINENO: checking for foomatic install" >&5
 
22825
echo $ECHO_N "checking for foomatic install... $ECHO_C" >&6; }
 
22826
# Check whether --enable-foomatic_install was given.
21295
22827
if test "${enable_foomatic_install+set}" = set; then
21296
 
  enableval="$enable_foomatic_install"
21297
 
  foomatic_install=$enableval
 
22828
  enableval=$enable_foomatic_install; foomatic_install=$enableval
21298
22829
else
21299
22830
  foomatic_install=yes
21300
 
fi;
 
22831
fi
 
22832
 
21301
22833
if test x$foomatic_install = xyes; then
21302
 
  echo "$as_me:$LINENO: result: yes" >&5
21303
 
echo "${ECHO_T}yes" >&6
 
22834
  { echo "$as_me:$LINENO: result: yes" >&5
 
22835
echo "${ECHO_T}yes" >&6; }
21304
22836
else
21305
 
  echo "$as_me:$LINENO: result: no" >&5
21306
 
echo "${ECHO_T}no" >&6
 
22837
  { echo "$as_me:$LINENO: result: no" >&5
 
22838
echo "${ECHO_T}no" >&6; }
21307
22839
 
21308
22840
fi
21309
22841
 
21318
22850
fi
21319
22851
 
21320
22852
 
21321
 
echo "$as_me:$LINENO: checking for HPLIP-enabled build" >&5
21322
 
echo $ECHO_N "checking for HPLIP-enabled build... $ECHO_C" >&6
21323
 
# Check whether --enable-hplip-build or --disable-hplip-build was given.
 
22853
{ echo "$as_me:$LINENO: checking for HPLIP-enabled build" >&5
 
22854
echo $ECHO_N "checking for HPLIP-enabled build... $ECHO_C" >&6; }
 
22855
# Check whether --enable-hplip-build was given.
21324
22856
if test "${enable_hplip_build+set}" = set; then
21325
 
  enableval="$enable_hplip_build"
21326
 
  hplip_build="$enableval"
 
22857
  enableval=$enable_hplip_build; hplip_build="$enableval"
21327
22858
else
21328
22859
  hplip_build=no
21329
 
fi;
 
22860
fi
 
22861
 
21330
22862
if test x$hplip_build = xyes; then
21331
22863
 
21332
22864
cat >>confdefs.h <<\_ACEOF
21333
22865
#define HAVE_LIBHPIP 1
21334
22866
_ACEOF
21335
22867
 
21336
 
         echo "$as_me:$LINENO: result: yes" >&5
21337
 
echo "${ECHO_T}yes" >&6
 
22868
         { echo "$as_me:$LINENO: result: yes" >&5
 
22869
echo "${ECHO_T}yes" >&6; }
21338
22870
else
21339
 
  echo "$as_me:$LINENO: result: no" >&5
21340
 
echo "${ECHO_T}no" >&6
 
22871
  { echo "$as_me:$LINENO: result: no" >&5
 
22872
echo "${ECHO_T}no" >&6; }
21341
22873
 
21342
22874
fi
21343
22875
 
21357
22889
for ac_func in strtod strtol
21358
22890
do
21359
22891
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21360
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
21361
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21362
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22892
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22893
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22894
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21363
22895
  echo $ECHO_N "(cached) $ECHO_C" >&6
21364
22896
else
21365
22897
  cat >conftest.$ac_ext <<_ACEOF
21385
22917
 
21386
22918
#undef $ac_func
21387
22919
 
21388
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22920
/* Override any GCC internal prototype to avoid an error.
 
22921
   Use char because int might match the return type of a GCC
 
22922
   builtin and then its argument prototype would still apply.  */
21389
22923
#ifdef __cplusplus
21390
22924
extern "C"
21391
 
{
21392
22925
#endif
21393
 
/* We use char because int might match the return type of a gcc2
21394
 
   builtin and then its argument prototype would still apply.  */
21395
22926
char $ac_func ();
21396
22927
/* The GNU C library defines this for functions which it implements
21397
22928
    to always fail with ENOSYS.  Some functions are actually named
21398
22929
    something starting with __ and the normal name is an alias.  */
21399
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22930
#if defined __stub_$ac_func || defined __stub___$ac_func
21400
22931
choke me
21401
 
#else
21402
 
char (*f) () = $ac_func;
21403
 
#endif
21404
 
#ifdef __cplusplus
21405
 
}
21406
22932
#endif
21407
22933
 
21408
22934
int
21409
22935
main ()
21410
22936
{
21411
 
return f != $ac_func;
 
22937
return $ac_func ();
21412
22938
  ;
21413
22939
  return 0;
21414
22940
}
21415
22941
_ACEOF
21416
22942
rm -f conftest.$ac_objext conftest$ac_exeext
21417
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21418
 
  (eval $ac_link) 2>conftest.er1
 
22943
if { (ac_try="$ac_link"
 
22944
case "(($ac_try" in
 
22945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22946
  *) ac_try_echo=$ac_try;;
 
22947
esac
 
22948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22949
  (eval "$ac_link") 2>conftest.er1
21419
22950
  ac_status=$?
21420
22951
  grep -v '^ *+' conftest.er1 >conftest.err
21421
22952
  rm -f conftest.er1
21422
22953
  cat conftest.err >&5
21423
22954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424
22955
  (exit $ac_status); } &&
21425
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21426
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21427
 
  (eval $ac_try) 2>&5
 
22956
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22957
  { (case "(($ac_try" in
 
22958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22959
  *) ac_try_echo=$ac_try;;
 
22960
esac
 
22961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22962
  (eval "$ac_try") 2>&5
21428
22963
  ac_status=$?
21429
22964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430
22965
  (exit $ac_status); }; } &&
21431
22966
         { ac_try='test -s conftest$ac_exeext'
21432
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433
 
  (eval $ac_try) 2>&5
 
22967
  { (case "(($ac_try" in
 
22968
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22969
  *) ac_try_echo=$ac_try;;
 
22970
esac
 
22971
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22972
  (eval "$ac_try") 2>&5
21434
22973
  ac_status=$?
21435
22974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436
22975
  (exit $ac_status); }; }; then
21439
22978
  echo "$as_me: failed program was:" >&5
21440
22979
sed 's/^/| /' conftest.$ac_ext >&5
21441
22980
 
21442
 
eval "$as_ac_var=no"
 
22981
        eval "$as_ac_var=no"
21443
22982
fi
21444
 
rm -f conftest.err conftest.$ac_objext \
 
22983
 
 
22984
rm -f core conftest.err conftest.$ac_objext \
21445
22985
      conftest$ac_exeext conftest.$ac_ext
21446
22986
fi
21447
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21448
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22987
ac_res=`eval echo '${'$as_ac_var'}'`
 
22988
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22989
echo "${ECHO_T}$ac_res" >&6; }
21449
22990
if test `eval echo '${'$as_ac_var'}'` = yes; then
21450
22991
  cat >>confdefs.h <<_ACEOF
21451
22992
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21459
23000
fi
21460
23001
done
21461
23002
 
21462
 
echo "$as_me:$LINENO: checking for pow" >&5
21463
 
echo $ECHO_N "checking for pow... $ECHO_C" >&6
 
23003
{ echo "$as_me:$LINENO: checking for pow" >&5
 
23004
echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
21464
23005
if test "${ac_cv_func_pow+set}" = set; then
21465
23006
  echo $ECHO_N "(cached) $ECHO_C" >&6
21466
23007
else
21487
23028
 
21488
23029
#undef pow
21489
23030
 
21490
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23031
/* Override any GCC internal prototype to avoid an error.
 
23032
   Use char because int might match the return type of a GCC
 
23033
   builtin and then its argument prototype would still apply.  */
21491
23034
#ifdef __cplusplus
21492
23035
extern "C"
21493
 
{
21494
23036
#endif
21495
 
/* We use char because int might match the return type of a gcc2
21496
 
   builtin and then its argument prototype would still apply.  */
21497
23037
char pow ();
21498
23038
/* The GNU C library defines this for functions which it implements
21499
23039
    to always fail with ENOSYS.  Some functions are actually named
21500
23040
    something starting with __ and the normal name is an alias.  */
21501
 
#if defined (__stub_pow) || defined (__stub___pow)
 
23041
#if defined __stub_pow || defined __stub___pow
21502
23042
choke me
21503
 
#else
21504
 
char (*f) () = pow;
21505
 
#endif
21506
 
#ifdef __cplusplus
21507
 
}
21508
23043
#endif
21509
23044
 
21510
23045
int
21511
23046
main ()
21512
23047
{
21513
 
return f != pow;
 
23048
return pow ();
21514
23049
  ;
21515
23050
  return 0;
21516
23051
}
21517
23052
_ACEOF
21518
23053
rm -f conftest.$ac_objext conftest$ac_exeext
21519
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21520
 
  (eval $ac_link) 2>conftest.er1
 
23054
if { (ac_try="$ac_link"
 
23055
case "(($ac_try" in
 
23056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23057
  *) ac_try_echo=$ac_try;;
 
23058
esac
 
23059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23060
  (eval "$ac_link") 2>conftest.er1
21521
23061
  ac_status=$?
21522
23062
  grep -v '^ *+' conftest.er1 >conftest.err
21523
23063
  rm -f conftest.er1
21524
23064
  cat conftest.err >&5
21525
23065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526
23066
  (exit $ac_status); } &&
21527
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21528
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529
 
  (eval $ac_try) 2>&5
 
23067
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23068
  { (case "(($ac_try" in
 
23069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23070
  *) ac_try_echo=$ac_try;;
 
23071
esac
 
23072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23073
  (eval "$ac_try") 2>&5
21530
23074
  ac_status=$?
21531
23075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532
23076
  (exit $ac_status); }; } &&
21533
23077
         { ac_try='test -s conftest$ac_exeext'
21534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535
 
  (eval $ac_try) 2>&5
 
23078
  { (case "(($ac_try" in
 
23079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23080
  *) ac_try_echo=$ac_try;;
 
23081
esac
 
23082
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23083
  (eval "$ac_try") 2>&5
21536
23084
  ac_status=$?
21537
23085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538
23086
  (exit $ac_status); }; }; then
21541
23089
  echo "$as_me: failed program was:" >&5
21542
23090
sed 's/^/| /' conftest.$ac_ext >&5
21543
23091
 
21544
 
ac_cv_func_pow=no
 
23092
        ac_cv_func_pow=no
21545
23093
fi
21546
 
rm -f conftest.err conftest.$ac_objext \
 
23094
 
 
23095
rm -f core conftest.err conftest.$ac_objext \
21547
23096
      conftest$ac_exeext conftest.$ac_ext
21548
23097
fi
21549
 
echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
21550
 
echo "${ECHO_T}$ac_cv_func_pow" >&6
 
23098
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
 
23099
echo "${ECHO_T}$ac_cv_func_pow" >&6; }
21551
23100
if test $ac_cv_func_pow = yes; then
21552
23101
  :
21553
23102
else
21554
23103
 
21555
 
echo "$as_me:$LINENO: checking for pow in -lm" >&5
21556
 
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
 
23104
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5
 
23105
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
21557
23106
if test "${ac_cv_lib_m_pow+set}" = set; then
21558
23107
  echo $ECHO_N "(cached) $ECHO_C" >&6
21559
23108
else
21566
23115
cat >>conftest.$ac_ext <<_ACEOF
21567
23116
/* end confdefs.h.  */
21568
23117
 
21569
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23118
/* Override any GCC internal prototype to avoid an error.
 
23119
   Use char because int might match the return type of a GCC
 
23120
   builtin and then its argument prototype would still apply.  */
21570
23121
#ifdef __cplusplus
21571
23122
extern "C"
21572
23123
#endif
21573
 
/* We use char because int might match the return type of a gcc2
21574
 
   builtin and then its argument prototype would still apply.  */
21575
23124
char pow ();
21576
23125
int
21577
23126
main ()
21578
23127
{
21579
 
pow ();
 
23128
return pow ();
21580
23129
  ;
21581
23130
  return 0;
21582
23131
}
21583
23132
_ACEOF
21584
23133
rm -f conftest.$ac_objext conftest$ac_exeext
21585
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586
 
  (eval $ac_link) 2>conftest.er1
 
23134
if { (ac_try="$ac_link"
 
23135
case "(($ac_try" in
 
23136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23137
  *) ac_try_echo=$ac_try;;
 
23138
esac
 
23139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23140
  (eval "$ac_link") 2>conftest.er1
21587
23141
  ac_status=$?
21588
23142
  grep -v '^ *+' conftest.er1 >conftest.err
21589
23143
  rm -f conftest.er1
21590
23144
  cat conftest.err >&5
21591
23145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592
23146
  (exit $ac_status); } &&
21593
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595
 
  (eval $ac_try) 2>&5
 
23147
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23148
  { (case "(($ac_try" in
 
23149
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23150
  *) ac_try_echo=$ac_try;;
 
23151
esac
 
23152
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23153
  (eval "$ac_try") 2>&5
21596
23154
  ac_status=$?
21597
23155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598
23156
  (exit $ac_status); }; } &&
21599
23157
         { ac_try='test -s conftest$ac_exeext'
21600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601
 
  (eval $ac_try) 2>&5
 
23158
  { (case "(($ac_try" in
 
23159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23160
  *) ac_try_echo=$ac_try;;
 
23161
esac
 
23162
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23163
  (eval "$ac_try") 2>&5
21602
23164
  ac_status=$?
21603
23165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604
23166
  (exit $ac_status); }; }; then
21607
23169
  echo "$as_me: failed program was:" >&5
21608
23170
sed 's/^/| /' conftest.$ac_ext >&5
21609
23171
 
21610
 
ac_cv_lib_m_pow=no
 
23172
        ac_cv_lib_m_pow=no
21611
23173
fi
21612
 
rm -f conftest.err conftest.$ac_objext \
 
23174
 
 
23175
rm -f core conftest.err conftest.$ac_objext \
21613
23176
      conftest$ac_exeext conftest.$ac_ext
21614
23177
LIBS=$ac_check_lib_save_LIBS
21615
23178
fi
21616
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
21617
 
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
 
23179
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
 
23180
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
21618
23181
if test $ac_cv_lib_m_pow = yes; then
21619
23182
  cat >>confdefs.h <<_ACEOF
21620
23183
#define HAVE_LIBM 1
21633
23196
fi
21634
23197
 
21635
23198
 
21636
 
          ac_config_files="$ac_config_files Makefile"
 
23199
ac_config_files="$ac_config_files Makefile"
21637
23200
 
21638
23201
cat >confcache <<\_ACEOF
21639
23202
# This file is a shell script that caches the results of configure
21653
23216
 
21654
23217
# The following way of writing the cache mishandles newlines in values,
21655
23218
# but we know of no workaround that is simple, portable, and efficient.
21656
 
# So, don't put newlines in cache variables' values.
 
23219
# So, we kill variables containing newlines.
21657
23220
# Ultrix sh set writes to stderr and can't be redirected directly,
21658
23221
# and sets the high bit in the cache file unless we assign to the vars.
21659
 
{
 
23222
(
 
23223
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
23224
    eval ac_val=\$$ac_var
 
23225
    case $ac_val in #(
 
23226
    *${as_nl}*)
 
23227
      case $ac_var in #(
 
23228
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
23229
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23230
      esac
 
23231
      case $ac_var in #(
 
23232
      _ | IFS | as_nl) ;; #(
 
23233
      *) $as_unset $ac_var ;;
 
23234
      esac ;;
 
23235
    esac
 
23236
  done
 
23237
 
21660
23238
  (set) 2>&1 |
21661
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
21662
 
    *ac_space=\ *)
 
23239
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
23240
    *${as_nl}ac_space=\ *)
21663
23241
      # `set' does not quote correctly, so add quotes (double-quote
21664
23242
      # substitution turns \\\\ into \\, and sed turns \\ into \).
21665
23243
      sed -n \
21666
23244
        "s/'/'\\\\''/g;
21667
23245
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21668
 
      ;;
 
23246
      ;; #(
21669
23247
    *)
21670
23248
      # `set' quotes correctly as required by POSIX, so do not add quotes.
21671
 
      sed -n \
21672
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
23249
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21673
23250
      ;;
21674
 
    esac;
21675
 
} |
 
23251
    esac |
 
23252
    sort
 
23253
) |
21676
23254
  sed '
 
23255
     /^ac_cv_env_/b end
21677
23256
     t clear
21678
 
     : clear
 
23257
     :clear
21679
23258
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21680
23259
     t end
21681
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21682
 
     : end' >>confcache
21683
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
21684
 
  if test -w $cache_file; then
21685
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
23260
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
23261
     :end' >>confcache
 
23262
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
23263
  if test -w "$cache_file"; then
 
23264
    test "x$cache_file" != "x/dev/null" &&
 
23265
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23266
echo "$as_me: updating cache $cache_file" >&6;}
21686
23267
    cat confcache >$cache_file
21687
23268
  else
21688
 
    echo "not updating unwritable cache $cache_file"
 
23269
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23270
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21689
23271
  fi
21690
23272
fi
21691
23273
rm -f confcache
21694
23276
# Let make expand exec_prefix.
21695
23277
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21696
23278
 
21697
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21698
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21699
 
# trailing colons and then remove the whole line if VPATH becomes empty
21700
 
# (actually we leave an empty line to preserve line numbers).
21701
 
if test "x$srcdir" = x.; then
21702
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
21703
 
s/:*\$(srcdir):*/:/;
21704
 
s/:*\${srcdir}:*/:/;
21705
 
s/:*@srcdir@:*/:/;
21706
 
s/^\([^=]*=[     ]*\):*/\1/;
21707
 
s/:*$//;
21708
 
s/^[^=]*=[       ]*$//;
21709
 
}'
21710
 
fi
21711
 
 
21712
23279
# Transform confdefs.h into DEFS.
21713
23280
# Protect against shell expansion while executing Makefile rules.
21714
23281
# Protect against Makefile macro expansion.
21715
23282
#
21716
23283
# If the first sed substitution is executed (which looks for macros that
21717
 
# take arguments), then we branch to the quote section.  Otherwise,
 
23284
# take arguments), then branch to the quote section.  Otherwise,
21718
23285
# look for a macro that doesn't take arguments.
21719
 
cat >confdef2opt.sed <<\_ACEOF
 
23286
ac_script='
21720
23287
t clear
21721
 
: clear
21722
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
21723
 
t quote
21724
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
21725
 
t quote
21726
 
d
21727
 
: quote
21728
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
21729
 
s,\[,\\&,g
21730
 
s,\],\\&,g
21731
 
s,\$,$$,g
21732
 
p
21733
 
_ACEOF
21734
 
# We use echo to avoid assuming a particular line-breaking character.
21735
 
# The extra dot is to prevent the shell from consuming trailing
21736
 
# line-breaks from the sub-command output.  A line-break within
21737
 
# single-quotes doesn't work because, if this script is created in a
21738
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
21739
 
# would break.
21740
 
ac_LF_and_DOT=`echo; echo .`
21741
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
21742
 
rm -f confdef2opt.sed
 
23288
:clear
 
23289
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
23290
t quote
 
23291
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
23292
t quote
 
23293
b any
 
23294
:quote
 
23295
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
23296
s/\[/\\&/g
 
23297
s/\]/\\&/g
 
23298
s/\$/$$/g
 
23299
H
 
23300
:any
 
23301
${
 
23302
        g
 
23303
        s/^\n//
 
23304
        s/\n/ /g
 
23305
        p
 
23306
}
 
23307
'
 
23308
DEFS=`sed -n "$ac_script" confdefs.h`
21743
23309
 
21744
23310
 
21745
23311
ac_libobjs=
21746
23312
ac_ltlibobjs=
21747
23313
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21748
23314
  # 1. Remove the extension, and $U if already installed.
21749
 
  ac_i=`echo "$ac_i" |
21750
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21751
 
  # 2. Add them.
21752
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21753
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
23315
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
23316
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23317
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
23318
  #    will be set to the directory where LIBOBJS objects are built.
 
23319
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
23320
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21754
23321
done
21755
23322
LIBOBJS=$ac_libobjs
21756
23323
 
21851
23418
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21852
23419
  # is contrary to our usage.  Disable this feature.
21853
23420
  alias -g '${1+"$@"}'='"$@"'
21854
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21855
 
  set -o posix
 
23421
  setopt NO_GLOB_SUBST
 
23422
else
 
23423
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21856
23424
fi
 
23425
BIN_SH=xpg4; export BIN_SH # for Tru64
21857
23426
DUALCASE=1; export DUALCASE # for MKS sh
21858
23427
 
 
23428
 
 
23429
# PATH needs CR
 
23430
# Avoid depending upon Character Ranges.
 
23431
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23432
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23433
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23434
as_cr_digits='0123456789'
 
23435
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23436
 
 
23437
# The user is always right.
 
23438
if test "${PATH_SEPARATOR+set}" != set; then
 
23439
  echo "#! /bin/sh" >conf$$.sh
 
23440
  echo  "exit 0"   >>conf$$.sh
 
23441
  chmod +x conf$$.sh
 
23442
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
23443
    PATH_SEPARATOR=';'
 
23444
  else
 
23445
    PATH_SEPARATOR=:
 
23446
  fi
 
23447
  rm -f conf$$.sh
 
23448
fi
 
23449
 
21859
23450
# Support unset when possible.
21860
23451
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21861
23452
  as_unset=unset
21864
23455
fi
21865
23456
 
21866
23457
 
 
23458
# IFS
 
23459
# We need space, tab and new line, in precisely that order.  Quoting is
 
23460
# there to prevent editors from complaining about space-tab.
 
23461
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
23462
# splitting by setting IFS to empty value.)
 
23463
as_nl='
 
23464
'
 
23465
IFS=" ""        $as_nl"
 
23466
 
 
23467
# Find who we are.  Look in the path if we contain no directory separator.
 
23468
case $0 in
 
23469
  *[\\/]* ) as_myself=$0 ;;
 
23470
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23471
for as_dir in $PATH
 
23472
do
 
23473
  IFS=$as_save_IFS
 
23474
  test -z "$as_dir" && as_dir=.
 
23475
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23476
done
 
23477
IFS=$as_save_IFS
 
23478
 
 
23479
     ;;
 
23480
esac
 
23481
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
23482
# in which case we are not to be found in the path.
 
23483
if test "x$as_myself" = x; then
 
23484
  as_myself=$0
 
23485
fi
 
23486
if test ! -f "$as_myself"; then
 
23487
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23488
  { (exit 1); exit 1; }
 
23489
fi
 
23490
 
21867
23491
# Work around bugs in pre-3.0 UWIN ksh.
21868
 
$as_unset ENV MAIL MAILPATH
 
23492
for as_var in ENV MAIL MAILPATH
 
23493
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
23494
done
21869
23495
PS1='$ '
21870
23496
PS2='> '
21871
23497
PS4='+ '
21879
23505
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21880
23506
    eval $as_var=C; export $as_var
21881
23507
  else
21882
 
    $as_unset $as_var
 
23508
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21883
23509
  fi
21884
23510
done
21885
23511
 
21886
23512
# Required to use basename.
21887
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23513
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23514
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21888
23515
  as_expr=expr
21889
23516
else
21890
23517
  as_expr=false
21891
23518
fi
21892
23519
 
21893
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
23520
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21894
23521
  as_basename=basename
21895
23522
else
21896
23523
  as_basename=false
21898
23525
 
21899
23526
 
21900
23527
# Name of the executable.
21901
 
as_me=`$as_basename "$0" ||
 
23528
as_me=`$as_basename -- "$0" ||
21902
23529
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21903
23530
         X"$0" : 'X\(//\)$' \| \
21904
 
         X"$0" : 'X\(/\)$' \| \
21905
 
         .     : '\(.\)' 2>/dev/null ||
 
23531
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21906
23532
echo X/"$0" |
21907
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21908
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21909
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21910
 
          s/.*/./; q'`
21911
 
 
21912
 
 
21913
 
# PATH needs CR, and LINENO needs CR and PATH.
21914
 
# Avoid depending upon Character Ranges.
21915
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21916
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21917
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21918
 
as_cr_digits='0123456789'
21919
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21920
 
 
21921
 
# The user is always right.
21922
 
if test "${PATH_SEPARATOR+set}" != set; then
21923
 
  echo "#! /bin/sh" >conf$$.sh
21924
 
  echo  "exit 0"   >>conf$$.sh
21925
 
  chmod +x conf$$.sh
21926
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21927
 
    PATH_SEPARATOR=';'
21928
 
  else
21929
 
    PATH_SEPARATOR=:
21930
 
  fi
21931
 
  rm -f conf$$.sh
21932
 
fi
21933
 
 
21934
 
 
21935
 
  as_lineno_1=$LINENO
21936
 
  as_lineno_2=$LINENO
21937
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21938
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21939
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21940
 
  # Find who we are.  Look in the path if we contain no path at all
21941
 
  # relative or not.
21942
 
  case $0 in
21943
 
    *[\\/]* ) as_myself=$0 ;;
21944
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21945
 
for as_dir in $PATH
21946
 
do
21947
 
  IFS=$as_save_IFS
21948
 
  test -z "$as_dir" && as_dir=.
21949
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21950
 
done
21951
 
 
21952
 
       ;;
21953
 
  esac
21954
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21955
 
  # in which case we are not to be found in the path.
21956
 
  if test "x$as_myself" = x; then
21957
 
    as_myself=$0
21958
 
  fi
21959
 
  if test ! -f "$as_myself"; then
21960
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21961
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21962
 
   { (exit 1); exit 1; }; }
21963
 
  fi
21964
 
  case $CONFIG_SHELL in
21965
 
  '')
21966
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21967
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21968
 
do
21969
 
  IFS=$as_save_IFS
21970
 
  test -z "$as_dir" && as_dir=.
21971
 
  for as_base in sh bash ksh sh5; do
21972
 
         case $as_dir in
21973
 
         /*)
21974
 
           if ("$as_dir/$as_base" -c '
21975
 
  as_lineno_1=$LINENO
21976
 
  as_lineno_2=$LINENO
21977
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21978
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21979
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21980
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21981
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21982
 
             CONFIG_SHELL=$as_dir/$as_base
21983
 
             export CONFIG_SHELL
21984
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21985
 
           fi;;
21986
 
         esac
21987
 
       done
21988
 
done
21989
 
;;
21990
 
  esac
 
23533
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
23534
            s//\1/
 
23535
            q
 
23536
          }
 
23537
          /^X\/\(\/\/\)$/{
 
23538
            s//\1/
 
23539
            q
 
23540
          }
 
23541
          /^X\/\(\/\).*/{
 
23542
            s//\1/
 
23543
            q
 
23544
          }
 
23545
          s/.*/./; q'`
 
23546
 
 
23547
# CDPATH.
 
23548
$as_unset CDPATH
 
23549
 
 
23550
 
 
23551
 
 
23552
  as_lineno_1=$LINENO
 
23553
  as_lineno_2=$LINENO
 
23554
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
23555
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21991
23556
 
21992
23557
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21993
23558
  # uniformly replaced by the line number.  The first 'sed' inserts a
21994
 
  # line-number line before each line; the second 'sed' does the real
21995
 
  # work.  The second script uses 'N' to pair each line-number line
21996
 
  # with the numbered line, and appends trailing '-' during
21997
 
  # substitution so that $LINENO is not a special case at line end.
 
23559
  # line-number line after each line using $LINENO; the second 'sed'
 
23560
  # does the real work.  The second script uses 'N' to pair each
 
23561
  # line-number line with the line containing $LINENO, and appends
 
23562
  # trailing '-' during substitution so that $LINENO is not a special
 
23563
  # case at line end.
21998
23564
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21999
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22000
 
  sed '=' <$as_myself |
 
23565
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
23566
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
23567
  sed -n '
 
23568
    p
 
23569
    /[$]LINENO/=
 
23570
  ' <$as_myself |
22001
23571
    sed '
 
23572
      s/[$]LINENO.*/&-/
 
23573
      t lineno
 
23574
      b
 
23575
      :lineno
22002
23576
      N
22003
 
      s,$,-,
22004
 
      : loop
22005
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
23577
      :loop
 
23578
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22006
23579
      t loop
22007
 
      s,-$,,
22008
 
      s,^['$as_cr_digits']*\n,,
 
23580
      s/-\n.*//
22009
23581
    ' >$as_me.lineno &&
22010
 
  chmod +x $as_me.lineno ||
22011
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22012
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
23582
  chmod +x "$as_me.lineno" ||
 
23583
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22013
23584
   { (exit 1); exit 1; }; }
22014
23585
 
22015
23586
  # Don't try to exec as it changes $[0], causing all sort of problems
22016
23587
  # (the dirname of $[0] is not the place where we might find the
22017
 
  # original and so on.  Autoconf is especially sensible to this).
22018
 
  . ./$as_me.lineno
 
23588
  # original and so on.  Autoconf is especially sensitive to this).
 
23589
  . "./$as_me.lineno"
22019
23590
  # Exit status is that of the last command.
22020
23591
  exit
22021
23592
}
22022
23593
 
22023
23594
 
22024
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22025
 
  *c*,-n*) ECHO_N= ECHO_C='
22026
 
' ECHO_T='      ' ;;
22027
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22028
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
23595
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
23596
  as_dirname=dirname
 
23597
else
 
23598
  as_dirname=false
 
23599
fi
 
23600
 
 
23601
ECHO_C= ECHO_N= ECHO_T=
 
23602
case `echo -n x` in
 
23603
-n*)
 
23604
  case `echo 'x\c'` in
 
23605
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
23606
  *)   ECHO_C='\c';;
 
23607
  esac;;
 
23608
*)
 
23609
  ECHO_N='-n';;
22029
23610
esac
22030
23611
 
22031
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23612
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23613
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22032
23614
  as_expr=expr
22033
23615
else
22034
23616
  as_expr=false
22035
23617
fi
22036
23618
 
22037
23619
rm -f conf$$ conf$$.exe conf$$.file
 
23620
if test -d conf$$.dir; then
 
23621
  rm -f conf$$.dir/conf$$.file
 
23622
else
 
23623
  rm -f conf$$.dir
 
23624
  mkdir conf$$.dir
 
23625
fi
22038
23626
echo >conf$$.file
22039
23627
if ln -s conf$$.file conf$$ 2>/dev/null; then
22040
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22041
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22042
 
  if test -f conf$$.exe; then
22043
 
    # Don't use ln at all; we don't have any links
 
23628
  as_ln_s='ln -s'
 
23629
  # ... but there are two gotchas:
 
23630
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23631
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23632
  # In both cases, we have to default to `cp -p'.
 
23633
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22044
23634
    as_ln_s='cp -p'
22045
 
  else
22046
 
    as_ln_s='ln -s'
22047
 
  fi
22048
23635
elif ln conf$$.file conf$$ 2>/dev/null; then
22049
23636
  as_ln_s=ln
22050
23637
else
22051
23638
  as_ln_s='cp -p'
22052
23639
fi
22053
 
rm -f conf$$ conf$$.exe conf$$.file
 
23640
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
23641
rmdir conf$$.dir 2>/dev/null
22054
23642
 
22055
23643
if mkdir -p . 2>/dev/null; then
22056
23644
  as_mkdir_p=:
22059
23647
  as_mkdir_p=false
22060
23648
fi
22061
23649
 
22062
 
as_executable_p="test -f"
 
23650
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
23651
# systems may use methods other than mode bits to determine executability.
 
23652
cat >conf$$.file <<_ASEOF
 
23653
#! /bin/sh
 
23654
exit 0
 
23655
_ASEOF
 
23656
chmod +x conf$$.file
 
23657
if test -x conf$$.file >/dev/null 2>&1; then
 
23658
  as_executable_p="test -x"
 
23659
else
 
23660
  as_executable_p=:
 
23661
fi
 
23662
rm -f conf$$.file
22063
23663
 
22064
23664
# Sed expression to map a string onto a valid CPP name.
22065
23665
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22068
23668
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22069
23669
 
22070
23670
 
22071
 
# IFS
22072
 
# We need space, tab and new line, in precisely that order.
22073
 
as_nl='
22074
 
'
22075
 
IFS="   $as_nl"
22076
 
 
22077
 
# CDPATH.
22078
 
$as_unset CDPATH
22079
 
 
22080
23671
exec 6>&1
22081
23672
 
22082
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
23673
# Save the log message, to keep $[0] and so on meaningful, and to
22083
23674
# report actual input values of CONFIG_FILES etc. instead of their
22084
 
# values after options handling.  Logging --version etc. is OK.
22085
 
exec 5>>config.log
22086
 
{
22087
 
  echo
22088
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22089
 
## Running $as_me. ##
22090
 
_ASBOX
22091
 
} >&5
22092
 
cat >&5 <<_CSEOF
22093
 
 
22094
 
This file was extended by HP IJS printer driver $as_me 2.1.10, which was
22095
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
23675
# values after options handling.
 
23676
ac_log="
 
23677
This file was extended by HP IJS printer driver $as_me 2.6.7, which was
 
23678
generated by GNU Autoconf 2.60.  Invocation command line was
22096
23679
 
22097
23680
  CONFIG_FILES    = $CONFIG_FILES
22098
23681
  CONFIG_HEADERS  = $CONFIG_HEADERS
22100
23683
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22101
23684
  $ $0 $@
22102
23685
 
22103
 
_CSEOF
22104
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22105
 
echo >&5
 
23686
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
23687
"
 
23688
 
22106
23689
_ACEOF
22107
23690
 
 
23691
cat >>$CONFIG_STATUS <<_ACEOF
22108
23692
# Files that config.status was made for.
22109
 
if test -n "$ac_config_files"; then
22110
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22111
 
fi
22112
 
 
22113
 
if test -n "$ac_config_headers"; then
22114
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22115
 
fi
22116
 
 
22117
 
if test -n "$ac_config_links"; then
22118
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22119
 
fi
22120
 
 
22121
 
if test -n "$ac_config_commands"; then
22122
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22123
 
fi
 
23693
config_files="$ac_config_files"
 
23694
config_commands="$ac_config_commands"
 
23695
 
 
23696
_ACEOF
22124
23697
 
22125
23698
cat >>$CONFIG_STATUS <<\_ACEOF
22126
 
 
22127
23699
ac_cs_usage="\
22128
23700
\`$as_me' instantiates files from templates according to the
22129
23701
current configuration.
22145
23717
$config_commands
22146
23718
 
22147
23719
Report bugs to <bug-autoconf@gnu.org>."
 
23720
 
22148
23721
_ACEOF
22149
 
 
22150
23722
cat >>$CONFIG_STATUS <<_ACEOF
22151
23723
ac_cs_version="\\
22152
 
HP IJS printer driver config.status 2.1.10
22153
 
configured by $0, generated by GNU Autoconf 2.59,
22154
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
23724
HP IJS printer driver config.status 2.6.7
 
23725
configured by $0, generated by GNU Autoconf 2.60,
 
23726
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22155
23727
 
22156
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
23728
Copyright (C) 2006 Free Software Foundation, Inc.
22157
23729
This config.status script is free software; the Free Software Foundation
22158
23730
gives unlimited permission to copy, distribute and modify it."
22159
 
srcdir=$srcdir
22160
 
INSTALL="$INSTALL"
 
23731
 
 
23732
ac_pwd='$ac_pwd'
 
23733
srcdir='$srcdir'
 
23734
INSTALL='$INSTALL'
22161
23735
_ACEOF
22162
23736
 
22163
23737
cat >>$CONFIG_STATUS <<\_ACEOF
22168
23742
do
22169
23743
  case $1 in
22170
23744
  --*=*)
22171
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
22172
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23745
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23746
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22173
23747
    ac_shift=:
22174
23748
    ;;
22175
 
  -*)
 
23749
  *)
22176
23750
    ac_option=$1
22177
23751
    ac_optarg=$2
22178
23752
    ac_shift=shift
22179
23753
    ;;
22180
 
  *) # This is not an option, so the user has probably given explicit
22181
 
     # arguments.
22182
 
     ac_option=$1
22183
 
     ac_need_defaults=false;;
22184
23754
  esac
22185
23755
 
22186
23756
  case $ac_option in
22187
23757
  # Handling of the options.
22188
 
_ACEOF
22189
 
cat >>$CONFIG_STATUS <<\_ACEOF
22190
23758
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22191
23759
    ac_cs_recheck=: ;;
22192
 
  --version | --vers* | -V )
22193
 
    echo "$ac_cs_version"; exit 0 ;;
22194
 
  --he | --h)
22195
 
    # Conflict between --help and --header
22196
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
22197
 
Try \`$0 --help' for more information." >&5
22198
 
echo "$as_me: error: ambiguous option: $1
22199
 
Try \`$0 --help' for more information." >&2;}
22200
 
   { (exit 1); exit 1; }; };;
22201
 
  --help | --hel | -h )
22202
 
    echo "$ac_cs_usage"; exit 0 ;;
22203
 
  --debug | --d* | -d )
 
23760
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23761
    echo "$ac_cs_version"; exit ;;
 
23762
  --debug | --debu | --deb | --de | --d | -d )
22204
23763
    debug=: ;;
22205
23764
  --file | --fil | --fi | --f )
22206
23765
    $ac_shift
22207
23766
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22208
23767
    ac_need_defaults=false;;
22209
 
  --header | --heade | --head | --hea )
22210
 
    $ac_shift
22211
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22212
 
    ac_need_defaults=false;;
 
23768
  --he | --h |  --help | --hel | -h )
 
23769
    echo "$ac_cs_usage"; exit ;;
22213
23770
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22214
23771
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22215
23772
    ac_cs_silent=: ;;
22216
23773
 
22217
23774
  # This is an error.
22218
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22219
 
Try \`$0 --help' for more information." >&5
22220
 
echo "$as_me: error: unrecognized option: $1
22221
 
Try \`$0 --help' for more information." >&2;}
 
23775
  -*) { echo "$as_me: error: unrecognized option: $1
 
23776
Try \`$0 --help' for more information." >&2
22222
23777
   { (exit 1); exit 1; }; } ;;
22223
23778
 
22224
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23779
  *) ac_config_targets="$ac_config_targets $1"
 
23780
     ac_need_defaults=false ;;
22225
23781
 
22226
23782
  esac
22227
23783
  shift
22237
23793
_ACEOF
22238
23794
cat >>$CONFIG_STATUS <<_ACEOF
22239
23795
if \$ac_cs_recheck; then
22240
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22241
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23796
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
23797
  CONFIG_SHELL=$SHELL
 
23798
  export CONFIG_SHELL
 
23799
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22242
23800
fi
22243
23801
 
22244
23802
_ACEOF
 
23803
cat >>$CONFIG_STATUS <<\_ACEOF
 
23804
exec 5>>config.log
 
23805
{
 
23806
  echo
 
23807
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23808
## Running $as_me. ##
 
23809
_ASBOX
 
23810
  echo "$ac_log"
 
23811
} >&5
22245
23812
 
 
23813
_ACEOF
22246
23814
cat >>$CONFIG_STATUS <<_ACEOF
22247
23815
#
22248
 
# INIT-COMMANDS section.
 
23816
# INIT-COMMANDS
22249
23817
#
22250
 
 
22251
23818
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22252
23819
 
22253
23820
_ACEOF
22254
23821
 
22255
 
 
22256
 
 
22257
23822
cat >>$CONFIG_STATUS <<\_ACEOF
 
23823
 
 
23824
# Handling of arguments.
22258
23825
for ac_config_target in $ac_config_targets
22259
23826
do
22260
 
  case "$ac_config_target" in
22261
 
  # Handling of arguments.
22262
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22263
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23827
  case $ac_config_target in
 
23828
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23829
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23830
 
22264
23831
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22265
23832
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22266
23833
   { (exit 1); exit 1; }; };;
22267
23834
  esac
22268
23835
done
22269
23836
 
 
23837
 
22270
23838
# If the user did not use the arguments to specify the items to instantiate,
22271
23839
# then the envvar interface is used.  Set only those that are not.
22272
23840
# We use the long form for the default assignment because of an extremely
22277
23845
fi
22278
23846
 
22279
23847
# Have a temporary directory for convenience.  Make it in the build tree
22280
 
# simply because there is no reason to put it here, and in addition,
 
23848
# simply because there is no reason against having it here, and in addition,
22281
23849
# creating and moving files from /tmp can sometimes cause problems.
22282
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23850
# Hook for its removal unless debugging.
 
23851
# Note that there is a small window in which the directory will not be cleaned:
 
23852
# after its creation but before its name has been assigned to `$tmp'.
22283
23853
$debug ||
22284
23854
{
22285
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23855
  tmp=
 
23856
  trap 'exit_status=$?
 
23857
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23858
' 0
22286
23859
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22287
23860
}
22288
 
 
22289
23861
# Create a (secure) tmp directory for tmp files.
22290
23862
 
22291
23863
{
22292
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23864
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22293
23865
  test -n "$tmp" && test -d "$tmp"
22294
23866
}  ||
22295
23867
{
22296
 
  tmp=./confstat$$-$RANDOM
22297
 
  (umask 077 && mkdir $tmp)
 
23868
  tmp=./conf$$-$RANDOM
 
23869
  (umask 077 && mkdir "$tmp")
22298
23870
} ||
22299
23871
{
22300
23872
   echo "$me: cannot create a temporary directory in ." >&2
22301
23873
   { (exit 1); exit 1; }
22302
23874
}
22303
23875
 
22304
 
_ACEOF
22305
 
 
22306
 
cat >>$CONFIG_STATUS <<_ACEOF
22307
 
 
22308
23876
#
22309
 
# CONFIG_FILES section.
 
23877
# Set up the sed scripts for CONFIG_FILES section.
22310
23878
#
22311
23879
 
22312
23880
# No need to generate the scripts if there are no CONFIG_FILES.
22313
23881
# This happens for instance when ./config.status config.h
22314
 
if test -n "\$CONFIG_FILES"; then
22315
 
  # Protect against being on the right side of a sed subst in config.status.
22316
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22317
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22318
 
s,@SHELL@,$SHELL,;t t
22319
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22320
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22321
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22322
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22323
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22324
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22325
 
s,@exec_prefix@,$exec_prefix,;t t
22326
 
s,@prefix@,$prefix,;t t
22327
 
s,@program_transform_name@,$program_transform_name,;t t
22328
 
s,@bindir@,$bindir,;t t
22329
 
s,@sbindir@,$sbindir,;t t
22330
 
s,@libexecdir@,$libexecdir,;t t
22331
 
s,@datadir@,$datadir,;t t
22332
 
s,@sysconfdir@,$sysconfdir,;t t
22333
 
s,@sharedstatedir@,$sharedstatedir,;t t
22334
 
s,@localstatedir@,$localstatedir,;t t
22335
 
s,@libdir@,$libdir,;t t
22336
 
s,@includedir@,$includedir,;t t
22337
 
s,@oldincludedir@,$oldincludedir,;t t
22338
 
s,@infodir@,$infodir,;t t
22339
 
s,@mandir@,$mandir,;t t
22340
 
s,@build_alias@,$build_alias,;t t
22341
 
s,@host_alias@,$host_alias,;t t
22342
 
s,@target_alias@,$target_alias,;t t
22343
 
s,@DEFS@,$DEFS,;t t
22344
 
s,@ECHO_C@,$ECHO_C,;t t
22345
 
s,@ECHO_N@,$ECHO_N,;t t
22346
 
s,@ECHO_T@,$ECHO_T,;t t
22347
 
s,@LIBS@,$LIBS,;t t
22348
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22349
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22350
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22351
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
22352
 
s,@PACKAGE@,$PACKAGE,;t t
22353
 
s,@VERSION@,$VERSION,;t t
22354
 
s,@ACLOCAL@,$ACLOCAL,;t t
22355
 
s,@AUTOCONF@,$AUTOCONF,;t t
22356
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
22357
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
22358
 
s,@MAKEINFO@,$MAKEINFO,;t t
22359
 
s,@install_sh@,$install_sh,;t t
22360
 
s,@STRIP@,$STRIP,;t t
22361
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22362
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22363
 
s,@mkdir_p@,$mkdir_p,;t t
22364
 
s,@AWK@,$AWK,;t t
22365
 
s,@SET_MAKE@,$SET_MAKE,;t t
22366
 
s,@am__leading_dot@,$am__leading_dot,;t t
22367
 
s,@AMTAR@,$AMTAR,;t t
22368
 
s,@am__tar@,$am__tar,;t t
22369
 
s,@am__untar@,$am__untar,;t t
22370
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22371
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22372
 
s,@MAINT@,$MAINT,;t t
22373
 
s,@build@,$build,;t t
22374
 
s,@build_cpu@,$build_cpu,;t t
22375
 
s,@build_vendor@,$build_vendor,;t t
22376
 
s,@build_os@,$build_os,;t t
22377
 
s,@host@,$host,;t t
22378
 
s,@host_cpu@,$host_cpu,;t t
22379
 
s,@host_vendor@,$host_vendor,;t t
22380
 
s,@host_os@,$host_os,;t t
22381
 
s,@CC@,$CC,;t t
22382
 
s,@CFLAGS@,$CFLAGS,;t t
22383
 
s,@LDFLAGS@,$LDFLAGS,;t t
22384
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
22385
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
22386
 
s,@EXEEXT@,$EXEEXT,;t t
22387
 
s,@OBJEXT@,$OBJEXT,;t t
22388
 
s,@DEPDIR@,$DEPDIR,;t t
22389
 
s,@am__include@,$am__include,;t t
22390
 
s,@am__quote@,$am__quote,;t t
22391
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22392
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22393
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22394
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
22395
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22396
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22397
 
s,@EGREP@,$EGREP,;t t
22398
 
s,@LN_S@,$LN_S,;t t
22399
 
s,@ECHO@,$ECHO,;t t
22400
 
s,@AR@,$AR,;t t
22401
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
22402
 
s,@RANLIB@,$RANLIB,;t t
22403
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22404
 
s,@CPP@,$CPP,;t t
22405
 
s,@CXX@,$CXX,;t t
22406
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
22407
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22408
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22409
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22410
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22411
 
s,@CXXCPP@,$CXXCPP,;t t
22412
 
s,@F77@,$F77,;t t
22413
 
s,@FFLAGS@,$FFLAGS,;t t
22414
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
22415
 
s,@LIBTOOL@,$LIBTOOL,;t t
22416
 
s,@CUPS_PPD_PATH@,$CUPS_PPD_PATH,;t t
22417
 
s,@CUPS_FILTER_PATH@,$CUPS_FILTER_PATH,;t t
22418
 
s,@CUPS_INSTALL_TRUE@,$CUPS_INSTALL_TRUE,;t t
22419
 
s,@CUPS_INSTALL_FALSE@,$CUPS_INSTALL_FALSE,;t t
22420
 
s,@FOOMATIC_INSTALL_TRUE@,$FOOMATIC_INSTALL_TRUE,;t t
22421
 
s,@FOOMATIC_INSTALL_FALSE@,$FOOMATIC_INSTALL_FALSE,;t t
22422
 
s,@HPLIP_BUILD_TRUE@,$HPLIP_BUILD_TRUE,;t t
22423
 
s,@HPLIP_BUILD_FALSE@,$HPLIP_BUILD_FALSE,;t t
22424
 
s,@LIBOBJS@,$LIBOBJS,;t t
22425
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22426
 
CEOF
22427
 
 
22428
 
_ACEOF
22429
 
 
22430
 
  cat >>$CONFIG_STATUS <<\_ACEOF
22431
 
  # Split the substitutions into bite-sized pieces for seds with
22432
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
22433
 
  ac_max_sed_lines=48
22434
 
  ac_sed_frag=1 # Number of current file.
22435
 
  ac_beg=1 # First line for current file.
22436
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
22437
 
  ac_more_lines=:
22438
 
  ac_sed_cmds=
22439
 
  while $ac_more_lines; do
22440
 
    if test $ac_beg -gt 1; then
22441
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22442
 
    else
22443
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22444
 
    fi
22445
 
    if test ! -s $tmp/subs.frag; then
22446
 
      ac_more_lines=false
22447
 
    else
22448
 
      # The purpose of the label and of the branching condition is to
22449
 
      # speed up the sed processing (if there are no `@' at all, there
22450
 
      # is no need to browse any of the substitutions).
22451
 
      # These are the two extra sed commands mentioned above.
22452
 
      (echo ':t
22453
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22454
 
      if test -z "$ac_sed_cmds"; then
22455
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22456
 
      else
22457
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22458
 
      fi
22459
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
22460
 
      ac_beg=$ac_end
22461
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
22462
 
    fi
22463
 
  done
22464
 
  if test -z "$ac_sed_cmds"; then
22465
 
    ac_sed_cmds=cat
22466
 
  fi
 
23882
if test -n "$CONFIG_FILES"; then
 
23883
 
 
23884
_ACEOF
 
23885
 
 
23886
 
 
23887
 
 
23888
ac_delim='%!_!# '
 
23889
for ac_last_try in false false false false false :; do
 
23890
  cat >conf$$subs.sed <<_ACEOF
 
23891
SHELL!$SHELL$ac_delim
 
23892
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23893
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23894
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23895
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23896
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23897
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23898
exec_prefix!$exec_prefix$ac_delim
 
23899
prefix!$prefix$ac_delim
 
23900
program_transform_name!$program_transform_name$ac_delim
 
23901
bindir!$bindir$ac_delim
 
23902
sbindir!$sbindir$ac_delim
 
23903
libexecdir!$libexecdir$ac_delim
 
23904
datarootdir!$datarootdir$ac_delim
 
23905
datadir!$datadir$ac_delim
 
23906
sysconfdir!$sysconfdir$ac_delim
 
23907
sharedstatedir!$sharedstatedir$ac_delim
 
23908
localstatedir!$localstatedir$ac_delim
 
23909
includedir!$includedir$ac_delim
 
23910
oldincludedir!$oldincludedir$ac_delim
 
23911
docdir!$docdir$ac_delim
 
23912
infodir!$infodir$ac_delim
 
23913
htmldir!$htmldir$ac_delim
 
23914
dvidir!$dvidir$ac_delim
 
23915
pdfdir!$pdfdir$ac_delim
 
23916
psdir!$psdir$ac_delim
 
23917
libdir!$libdir$ac_delim
 
23918
localedir!$localedir$ac_delim
 
23919
mandir!$mandir$ac_delim
 
23920
DEFS!$DEFS$ac_delim
 
23921
ECHO_C!$ECHO_C$ac_delim
 
23922
ECHO_N!$ECHO_N$ac_delim
 
23923
ECHO_T!$ECHO_T$ac_delim
 
23924
LIBS!$LIBS$ac_delim
 
23925
build_alias!$build_alias$ac_delim
 
23926
host_alias!$host_alias$ac_delim
 
23927
target_alias!$target_alias$ac_delim
 
23928
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23929
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23930
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23931
CYGPATH_W!$CYGPATH_W$ac_delim
 
23932
PACKAGE!$PACKAGE$ac_delim
 
23933
VERSION!$VERSION$ac_delim
 
23934
ACLOCAL!$ACLOCAL$ac_delim
 
23935
AUTOCONF!$AUTOCONF$ac_delim
 
23936
AUTOMAKE!$AUTOMAKE$ac_delim
 
23937
AUTOHEADER!$AUTOHEADER$ac_delim
 
23938
MAKEINFO!$MAKEINFO$ac_delim
 
23939
install_sh!$install_sh$ac_delim
 
23940
STRIP!$STRIP$ac_delim
 
23941
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23942
mkdir_p!$mkdir_p$ac_delim
 
23943
AWK!$AWK$ac_delim
 
23944
SET_MAKE!$SET_MAKE$ac_delim
 
23945
am__leading_dot!$am__leading_dot$ac_delim
 
23946
AMTAR!$AMTAR$ac_delim
 
23947
am__tar!$am__tar$ac_delim
 
23948
am__untar!$am__untar$ac_delim
 
23949
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23950
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23951
MAINT!$MAINT$ac_delim
 
23952
build!$build$ac_delim
 
23953
build_cpu!$build_cpu$ac_delim
 
23954
build_vendor!$build_vendor$ac_delim
 
23955
build_os!$build_os$ac_delim
 
23956
host!$host$ac_delim
 
23957
host_cpu!$host_cpu$ac_delim
 
23958
host_vendor!$host_vendor$ac_delim
 
23959
host_os!$host_os$ac_delim
 
23960
CC!$CC$ac_delim
 
23961
CFLAGS!$CFLAGS$ac_delim
 
23962
LDFLAGS!$LDFLAGS$ac_delim
 
23963
CPPFLAGS!$CPPFLAGS$ac_delim
 
23964
ac_ct_CC!$ac_ct_CC$ac_delim
 
23965
EXEEXT!$EXEEXT$ac_delim
 
23966
OBJEXT!$OBJEXT$ac_delim
 
23967
DEPDIR!$DEPDIR$ac_delim
 
23968
am__include!$am__include$ac_delim
 
23969
am__quote!$am__quote$ac_delim
 
23970
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23971
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23972
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23973
CCDEPMODE!$CCDEPMODE$ac_delim
 
23974
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23975
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23976
GREP!$GREP$ac_delim
 
23977
EGREP!$EGREP$ac_delim
 
23978
LN_S!$LN_S$ac_delim
 
23979
ECHO!$ECHO$ac_delim
 
23980
AR!$AR$ac_delim
 
23981
RANLIB!$RANLIB$ac_delim
 
23982
CPP!$CPP$ac_delim
 
23983
CXX!$CXX$ac_delim
 
23984
CXXFLAGS!$CXXFLAGS$ac_delim
 
23985
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23986
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23987
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23988
_ACEOF
 
23989
 
 
23990
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23991
    break
 
23992
  elif $ac_last_try; then
 
23993
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23994
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23995
   { (exit 1); exit 1; }; }
 
23996
  else
 
23997
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23998
  fi
 
23999
done
 
24000
 
 
24001
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24002
if test -n "$ac_eof"; then
 
24003
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24004
  ac_eof=`expr $ac_eof + 1`
 
24005
fi
 
24006
 
 
24007
cat >>$CONFIG_STATUS <<_ACEOF
 
24008
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
24009
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24010
_ACEOF
 
24011
sed '
 
24012
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24013
s/^/s,@/; s/!/@,|#_!!_#|/
 
24014
:n
 
24015
t n
 
24016
s/'"$ac_delim"'$/,g/; t
 
24017
s/$/\\/; p
 
24018
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24019
' >>$CONFIG_STATUS <conf$$subs.sed
 
24020
rm -f conf$$subs.sed
 
24021
cat >>$CONFIG_STATUS <<_ACEOF
 
24022
CEOF$ac_eof
 
24023
_ACEOF
 
24024
 
 
24025
 
 
24026
ac_delim='%!_!# '
 
24027
for ac_last_try in false false false false false :; do
 
24028
  cat >conf$$subs.sed <<_ACEOF
 
24029
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
24030
CXXCPP!$CXXCPP$ac_delim
 
24031
F77!$F77$ac_delim
 
24032
FFLAGS!$FFLAGS$ac_delim
 
24033
ac_ct_F77!$ac_ct_F77$ac_delim
 
24034
LIBTOOL!$LIBTOOL$ac_delim
 
24035
CUPS_PPD_PATH!$CUPS_PPD_PATH$ac_delim
 
24036
CUPS_FILTER_PATH!$CUPS_FILTER_PATH$ac_delim
 
24037
CUPS_INSTALL_TRUE!$CUPS_INSTALL_TRUE$ac_delim
 
24038
CUPS_INSTALL_FALSE!$CUPS_INSTALL_FALSE$ac_delim
 
24039
FOOMATIC_INSTALL_TRUE!$FOOMATIC_INSTALL_TRUE$ac_delim
 
24040
FOOMATIC_INSTALL_FALSE!$FOOMATIC_INSTALL_FALSE$ac_delim
 
24041
HPLIP_BUILD_TRUE!$HPLIP_BUILD_TRUE$ac_delim
 
24042
HPLIP_BUILD_FALSE!$HPLIP_BUILD_FALSE$ac_delim
 
24043
LIBOBJS!$LIBOBJS$ac_delim
 
24044
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
24045
_ACEOF
 
24046
 
 
24047
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
 
24048
    break
 
24049
  elif $ac_last_try; then
 
24050
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24051
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24052
   { (exit 1); exit 1; }; }
 
24053
  else
 
24054
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24055
  fi
 
24056
done
 
24057
 
 
24058
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24059
if test -n "$ac_eof"; then
 
24060
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24061
  ac_eof=`expr $ac_eof + 1`
 
24062
fi
 
24063
 
 
24064
cat >>$CONFIG_STATUS <<_ACEOF
 
24065
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
24066
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
24067
_ACEOF
 
24068
sed '
 
24069
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24070
s/^/s,@/; s/!/@,|#_!!_#|/
 
24071
:n
 
24072
t n
 
24073
s/'"$ac_delim"'$/,g/; t
 
24074
s/$/\\/; p
 
24075
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24076
' >>$CONFIG_STATUS <conf$$subs.sed
 
24077
rm -f conf$$subs.sed
 
24078
cat >>$CONFIG_STATUS <<_ACEOF
 
24079
:end
 
24080
s/|#_!!_#|//g
 
24081
CEOF$ac_eof
 
24082
_ACEOF
 
24083
 
 
24084
 
 
24085
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
24086
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
24087
# trailing colons and then remove the whole line if VPATH becomes empty
 
24088
# (actually we leave an empty line to preserve line numbers).
 
24089
if test "x$srcdir" = x.; then
 
24090
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
24091
s/:*\$(srcdir):*/:/
 
24092
s/:*\${srcdir}:*/:/
 
24093
s/:*@srcdir@:*/:/
 
24094
s/^\([^=]*=[     ]*\):*/\1/
 
24095
s/:*$//
 
24096
s/^[^=]*=[       ]*$//
 
24097
}'
 
24098
fi
 
24099
 
 
24100
cat >>$CONFIG_STATUS <<\_ACEOF
22467
24101
fi # test -n "$CONFIG_FILES"
22468
24102
 
22469
 
_ACEOF
22470
 
cat >>$CONFIG_STATUS <<\_ACEOF
22471
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22472
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22473
 
  case $ac_file in
22474
 
  - | *:- | *:-:* ) # input from stdin
22475
 
        cat >$tmp/stdin
22476
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22477
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22478
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22479
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22480
 
  * )   ac_file_in=$ac_file.in ;;
22481
 
  esac
22482
 
 
22483
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22484
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
24103
 
 
24104
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
 
24105
do
 
24106
  case $ac_tag in
 
24107
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
24108
  esac
 
24109
  case $ac_mode$ac_tag in
 
24110
  :[FHL]*:*);;
 
24111
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
24112
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24113
   { (exit 1); exit 1; }; };;
 
24114
  :[FH]-) ac_tag=-:-;;
 
24115
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
24116
  esac
 
24117
  ac_save_IFS=$IFS
 
24118
  IFS=:
 
24119
  set x $ac_tag
 
24120
  IFS=$ac_save_IFS
 
24121
  shift
 
24122
  ac_file=$1
 
24123
  shift
 
24124
 
 
24125
  case $ac_mode in
 
24126
  :L) ac_source=$1;;
 
24127
  :[FH])
 
24128
    ac_file_inputs=
 
24129
    for ac_f
 
24130
    do
 
24131
      case $ac_f in
 
24132
      -) ac_f="$tmp/stdin";;
 
24133
      *) # Look for the file first in the build tree, then in the source tree
 
24134
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
24135
         # because $ac_f cannot contain `:'.
 
24136
         test -f "$ac_f" ||
 
24137
           case $ac_f in
 
24138
           [\\/$]*) false;;
 
24139
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
24140
           esac ||
 
24141
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24142
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24143
   { (exit 1); exit 1; }; };;
 
24144
      esac
 
24145
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24146
    done
 
24147
 
 
24148
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
24149
    # use $as_me), people would be surprised to read:
 
24150
    #    /* config.h.  Generated by config.status.  */
 
24151
    configure_input="Generated from "`IFS=:
 
24152
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24153
    if test x"$ac_file" != x-; then
 
24154
      configure_input="$ac_file.  $configure_input"
 
24155
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
24156
echo "$as_me: creating $ac_file" >&6;}
 
24157
    fi
 
24158
 
 
24159
    case $ac_tag in
 
24160
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24161
    esac
 
24162
    ;;
 
24163
  esac
 
24164
 
 
24165
  ac_dir=`$as_dirname -- "$ac_file" ||
22485
24166
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22486
24167
         X"$ac_file" : 'X\(//\)[^/]' \| \
22487
24168
         X"$ac_file" : 'X\(//\)$' \| \
22488
 
         X"$ac_file" : 'X\(/\)' \| \
22489
 
         .     : '\(.\)' 2>/dev/null ||
 
24169
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22490
24170
echo X"$ac_file" |
22491
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22492
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22493
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22494
 
          /^X\(\/\).*/{ s//\1/; q; }
22495
 
          s/.*/./; q'`
22496
 
  { if $as_mkdir_p; then
22497
 
    mkdir -p "$ac_dir"
22498
 
  else
22499
 
    as_dir="$ac_dir"
 
24171
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24172
            s//\1/
 
24173
            q
 
24174
          }
 
24175
          /^X\(\/\/\)[^/].*/{
 
24176
            s//\1/
 
24177
            q
 
24178
          }
 
24179
          /^X\(\/\/\)$/{
 
24180
            s//\1/
 
24181
            q
 
24182
          }
 
24183
          /^X\(\/\).*/{
 
24184
            s//\1/
 
24185
            q
 
24186
          }
 
24187
          s/.*/./; q'`
 
24188
  { as_dir="$ac_dir"
 
24189
  case $as_dir in #(
 
24190
  -*) as_dir=./$as_dir;;
 
24191
  esac
 
24192
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22500
24193
    as_dirs=
22501
 
    while test ! -d "$as_dir"; do
22502
 
      as_dirs="$as_dir $as_dirs"
22503
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24194
    while :; do
 
24195
      case $as_dir in #(
 
24196
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24197
      *) as_qdir=$as_dir;;
 
24198
      esac
 
24199
      as_dirs="'$as_qdir' $as_dirs"
 
24200
      as_dir=`$as_dirname -- "$as_dir" ||
22504
24201
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22505
24202
         X"$as_dir" : 'X\(//\)[^/]' \| \
22506
24203
         X"$as_dir" : 'X\(//\)$' \| \
22507
 
         X"$as_dir" : 'X\(/\)' \| \
22508
 
         .     : '\(.\)' 2>/dev/null ||
 
24204
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22509
24205
echo X"$as_dir" |
22510
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22511
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22512
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22513
 
          /^X\(\/\).*/{ s//\1/; q; }
22514
 
          s/.*/./; q'`
 
24206
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24207
            s//\1/
 
24208
            q
 
24209
          }
 
24210
          /^X\(\/\/\)[^/].*/{
 
24211
            s//\1/
 
24212
            q
 
24213
          }
 
24214
          /^X\(\/\/\)$/{
 
24215
            s//\1/
 
24216
            q
 
24217
          }
 
24218
          /^X\(\/\).*/{
 
24219
            s//\1/
 
24220
            q
 
24221
          }
 
24222
          s/.*/./; q'`
 
24223
      test -d "$as_dir" && break
22515
24224
    done
22516
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22517
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22518
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
24225
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24226
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24227
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22519
24228
   { (exit 1); exit 1; }; }; }
22520
 
 
22521
24229
  ac_builddir=.
22522
24230
 
22523
 
if test "$ac_dir" != .; then
 
24231
case "$ac_dir" in
 
24232
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24233
*)
22524
24234
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22525
 
  # A "../" for each directory in $ac_dir_suffix.
22526
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22527
 
else
22528
 
  ac_dir_suffix= ac_top_builddir=
22529
 
fi
 
24235
  # A ".." for each directory in $ac_dir_suffix.
 
24236
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24237
  case $ac_top_builddir_sub in
 
24238
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24239
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
24240
  esac ;;
 
24241
esac
 
24242
ac_abs_top_builddir=$ac_pwd
 
24243
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
24244
# for backward compatibility:
 
24245
ac_top_builddir=$ac_top_build_prefix
22530
24246
 
22531
24247
case $srcdir in
22532
 
  .)  # No --srcdir option.  We are building in place.
 
24248
  .)  # We are building in place.
22533
24249
    ac_srcdir=.
22534
 
    if test -z "$ac_top_builddir"; then
22535
 
       ac_top_srcdir=.
22536
 
    else
22537
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22538
 
    fi ;;
22539
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
24250
    ac_top_srcdir=$ac_top_builddir_sub
 
24251
    ac_abs_top_srcdir=$ac_pwd ;;
 
24252
  [\\/]* | ?:[\\/]* )  # Absolute name.
22540
24253
    ac_srcdir=$srcdir$ac_dir_suffix;
22541
 
    ac_top_srcdir=$srcdir ;;
22542
 
  *) # Relative path.
22543
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22544
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22545
 
esac
22546
 
 
22547
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22548
 
# the directories may not exist.
22549
 
case `pwd` in
22550
 
.) ac_abs_builddir="$ac_dir";;
22551
 
*)
22552
 
  case "$ac_dir" in
22553
 
  .) ac_abs_builddir=`pwd`;;
22554
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22555
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22556
 
  esac;;
22557
 
esac
22558
 
case $ac_abs_builddir in
22559
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22560
 
*)
22561
 
  case ${ac_top_builddir}. in
22562
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22563
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22564
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22565
 
  esac;;
22566
 
esac
22567
 
case $ac_abs_builddir in
22568
 
.) ac_abs_srcdir=$ac_srcdir;;
22569
 
*)
22570
 
  case $ac_srcdir in
22571
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22572
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22573
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22574
 
  esac;;
22575
 
esac
22576
 
case $ac_abs_builddir in
22577
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22578
 
*)
22579
 
  case $ac_top_srcdir in
22580
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22581
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22582
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22583
 
  esac;;
22584
 
esac
22585
 
 
 
24254
    ac_top_srcdir=$srcdir
 
24255
    ac_abs_top_srcdir=$srcdir ;;
 
24256
  *) # Relative name.
 
24257
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
24258
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
24259
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
24260
esac
 
24261
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
24262
 
 
24263
 
 
24264
  case $ac_mode in
 
24265
  :F)
 
24266
  #
 
24267
  # CONFIG_FILE
 
24268
  #
22586
24269
 
22587
24270
  case $INSTALL in
22588
24271
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22589
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
24272
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22590
24273
  esac
22591
 
 
22592
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22593
 
  # use $as_me), people would be surprised to read:
22594
 
  #    /* config.h.  Generated by config.status.  */
22595
 
  if test x"$ac_file" = x-; then
22596
 
    configure_input=
22597
 
  else
22598
 
    configure_input="$ac_file.  "
22599
 
  fi
22600
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
22601
 
                                     sed 's,.*/,,'` by configure."
22602
 
 
22603
 
  # First look for the input files in the build tree, otherwise in the
22604
 
  # src tree.
22605
 
  ac_file_inputs=`IFS=:
22606
 
    for f in $ac_file_in; do
22607
 
      case $f in
22608
 
      -) echo $tmp/stdin ;;
22609
 
      [\\/$]*)
22610
 
         # Absolute (can't be DOS-style, as IFS=:)
22611
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22612
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22613
 
   { (exit 1); exit 1; }; }
22614
 
         echo "$f";;
22615
 
      *) # Relative
22616
 
         if test -f "$f"; then
22617
 
           # Build tree
22618
 
           echo "$f"
22619
 
         elif test -f "$srcdir/$f"; then
22620
 
           # Source tree
22621
 
           echo "$srcdir/$f"
22622
 
         else
22623
 
           # /dev/null tree
22624
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22625
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22626
 
   { (exit 1); exit 1; }; }
22627
 
         fi;;
22628
 
      esac
22629
 
    done` || { (exit 1); exit 1; }
22630
 
 
22631
 
  if test x"$ac_file" != x-; then
22632
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
22633
 
echo "$as_me: creating $ac_file" >&6;}
22634
 
    rm -f "$ac_file"
22635
 
  fi
22636
 
_ACEOF
 
24274
_ACEOF
 
24275
 
 
24276
cat >>$CONFIG_STATUS <<\_ACEOF
 
24277
# If the template does not know about datarootdir, expand it.
 
24278
# FIXME: This hack should be removed a few years after 2.60.
 
24279
ac_datarootdir_hack=; ac_datarootdir_seen=
 
24280
 
 
24281
case `sed -n '/datarootdir/ {
 
24282
  p
 
24283
  q
 
24284
}
 
24285
/@datadir@/p
 
24286
/@docdir@/p
 
24287
/@infodir@/p
 
24288
/@localedir@/p
 
24289
/@mandir@/p
 
24290
' $ac_file_inputs` in
 
24291
*datarootdir*) ac_datarootdir_seen=yes;;
 
24292
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
24293
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24294
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24295
_ACEOF
 
24296
cat >>$CONFIG_STATUS <<_ACEOF
 
24297
  ac_datarootdir_hack='
 
24298
  s&@datadir@&$datadir&g
 
24299
  s&@docdir@&$docdir&g
 
24300
  s&@infodir@&$infodir&g
 
24301
  s&@localedir@&$localedir&g
 
24302
  s&@mandir@&$mandir&g
 
24303
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
24304
esac
 
24305
_ACEOF
 
24306
 
 
24307
# Neutralize VPATH when `$srcdir' = `.'.
 
24308
# Shell code in configure.ac might set extrasub.
 
24309
# FIXME: do we really want to maintain this feature?
22637
24310
cat >>$CONFIG_STATUS <<_ACEOF
22638
24311
  sed "$ac_vpsub
22639
24312
$extrasub
22641
24314
cat >>$CONFIG_STATUS <<\_ACEOF
22642
24315
:t
22643
24316
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22644
 
s,@configure_input@,$configure_input,;t t
22645
 
s,@srcdir@,$ac_srcdir,;t t
22646
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22647
 
s,@top_srcdir@,$ac_top_srcdir,;t t
22648
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22649
 
s,@builddir@,$ac_builddir,;t t
22650
 
s,@abs_builddir@,$ac_abs_builddir,;t t
22651
 
s,@top_builddir@,$ac_top_builddir,;t t
22652
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22653
 
s,@INSTALL@,$ac_INSTALL,;t t
22654
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22655
 
  rm -f $tmp/stdin
22656
 
  if test x"$ac_file" != x-; then
22657
 
    mv $tmp/out $ac_file
22658
 
  else
22659
 
    cat $tmp/out
22660
 
    rm -f $tmp/out
22661
 
  fi
22662
 
 
22663
 
done
22664
 
_ACEOF
22665
 
cat >>$CONFIG_STATUS <<\_ACEOF
22666
 
 
22667
 
#
22668
 
# CONFIG_COMMANDS section.
22669
 
#
22670
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22671
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22672
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22673
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22674
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22675
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22676
 
         X"$ac_dest" : 'X\(//\)$' \| \
22677
 
         X"$ac_dest" : 'X\(/\)' \| \
22678
 
         .     : '\(.\)' 2>/dev/null ||
22679
 
echo X"$ac_dest" |
22680
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22681
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22682
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22683
 
          /^X\(\/\).*/{ s//\1/; q; }
22684
 
          s/.*/./; q'`
22685
 
  { if $as_mkdir_p; then
22686
 
    mkdir -p "$ac_dir"
22687
 
  else
22688
 
    as_dir="$ac_dir"
22689
 
    as_dirs=
22690
 
    while test ! -d "$as_dir"; do
22691
 
      as_dirs="$as_dir $as_dirs"
22692
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22693
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22694
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22695
 
         X"$as_dir" : 'X\(//\)$' \| \
22696
 
         X"$as_dir" : 'X\(/\)' \| \
22697
 
         .     : '\(.\)' 2>/dev/null ||
22698
 
echo X"$as_dir" |
22699
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22700
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22701
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22702
 
          /^X\(\/\).*/{ s//\1/; q; }
22703
 
          s/.*/./; q'`
22704
 
    done
22705
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22706
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22707
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22708
 
   { (exit 1); exit 1; }; }; }
22709
 
 
22710
 
  ac_builddir=.
22711
 
 
22712
 
if test "$ac_dir" != .; then
22713
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22714
 
  # A "../" for each directory in $ac_dir_suffix.
22715
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22716
 
else
22717
 
  ac_dir_suffix= ac_top_builddir=
22718
 
fi
22719
 
 
22720
 
case $srcdir in
22721
 
  .)  # No --srcdir option.  We are building in place.
22722
 
    ac_srcdir=.
22723
 
    if test -z "$ac_top_builddir"; then
22724
 
       ac_top_srcdir=.
22725
 
    else
22726
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22727
 
    fi ;;
22728
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22729
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22730
 
    ac_top_srcdir=$srcdir ;;
22731
 
  *) # Relative path.
22732
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22733
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22734
 
esac
22735
 
 
22736
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22737
 
# the directories may not exist.
22738
 
case `pwd` in
22739
 
.) ac_abs_builddir="$ac_dir";;
22740
 
*)
22741
 
  case "$ac_dir" in
22742
 
  .) ac_abs_builddir=`pwd`;;
22743
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22744
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22745
 
  esac;;
22746
 
esac
22747
 
case $ac_abs_builddir in
22748
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22749
 
*)
22750
 
  case ${ac_top_builddir}. in
22751
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22752
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22753
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22754
 
  esac;;
22755
 
esac
22756
 
case $ac_abs_builddir in
22757
 
.) ac_abs_srcdir=$ac_srcdir;;
22758
 
*)
22759
 
  case $ac_srcdir in
22760
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22761
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22762
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22763
 
  esac;;
22764
 
esac
22765
 
case $ac_abs_builddir in
22766
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22767
 
*)
22768
 
  case $ac_top_srcdir in
22769
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22770
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22771
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22772
 
  esac;;
22773
 
esac
22774
 
 
22775
 
 
22776
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22777
 
echo "$as_me: executing $ac_dest commands" >&6;}
22778
 
  case $ac_dest in
22779
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
24317
s&@configure_input@&$configure_input&;t t
 
24318
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24319
s&@srcdir@&$ac_srcdir&;t t
 
24320
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
24321
s&@top_srcdir@&$ac_top_srcdir&;t t
 
24322
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
24323
s&@builddir@&$ac_builddir&;t t
 
24324
s&@abs_builddir@&$ac_abs_builddir&;t t
 
24325
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
24326
s&@INSTALL@&$ac_INSTALL&;t t
 
24327
$ac_datarootdir_hack
 
24328
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
24329
 
 
24330
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
24331
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
24332
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24333
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24334
which seems to be undefined.  Please make sure it is defined." >&5
 
24335
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24336
which seems to be undefined.  Please make sure it is defined." >&2;}
 
24337
 
 
24338
  rm -f "$tmp/stdin"
 
24339
  case $ac_file in
 
24340
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
24341
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
24342
  esac
 
24343
 ;;
 
24344
 
 
24345
 
 
24346
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
24347
echo "$as_me: executing $ac_file commands" >&6;}
 
24348
 ;;
 
24349
  esac
 
24350
 
 
24351
 
 
24352
  case $ac_file$ac_mode in
 
24353
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22780
24354
  # Strip MF so we end up with the name of the file.
22781
24355
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22782
24356
  # Check whether this is an Automake generated Makefile or not.
22786
24360
  # each Makefile.in and add a new line on top of each file to say so.
22787
24361
  # So let's grep whole file.
22788
24362
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22789
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
24363
    dirpart=`$as_dirname -- "$mf" ||
22790
24364
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22791
24365
         X"$mf" : 'X\(//\)[^/]' \| \
22792
24366
         X"$mf" : 'X\(//\)$' \| \
22793
 
         X"$mf" : 'X\(/\)' \| \
22794
 
         .     : '\(.\)' 2>/dev/null ||
 
24367
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22795
24368
echo X"$mf" |
22796
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22797
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22798
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22799
 
          /^X\(\/\).*/{ s//\1/; q; }
22800
 
          s/.*/./; q'`
 
24369
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24370
            s//\1/
 
24371
            q
 
24372
          }
 
24373
          /^X\(\/\/\)[^/].*/{
 
24374
            s//\1/
 
24375
            q
 
24376
          }
 
24377
          /^X\(\/\/\)$/{
 
24378
            s//\1/
 
24379
            q
 
24380
          }
 
24381
          /^X\(\/\).*/{
 
24382
            s//\1/
 
24383
            q
 
24384
          }
 
24385
          s/.*/./; q'`
22801
24386
  else
22802
24387
    continue
22803
24388
  fi
22819
24404
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22820
24405
    # Make sure the directory exists.
22821
24406
    test -f "$dirpart/$file" && continue
22822
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
24407
    fdir=`$as_dirname -- "$file" ||
22823
24408
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22824
24409
         X"$file" : 'X\(//\)[^/]' \| \
22825
24410
         X"$file" : 'X\(//\)$' \| \
22826
 
         X"$file" : 'X\(/\)' \| \
22827
 
         .     : '\(.\)' 2>/dev/null ||
 
24411
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22828
24412
echo X"$file" |
22829
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22830
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22831
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22832
 
          /^X\(\/\).*/{ s//\1/; q; }
22833
 
          s/.*/./; q'`
22834
 
    { if $as_mkdir_p; then
22835
 
    mkdir -p $dirpart/$fdir
22836
 
  else
22837
 
    as_dir=$dirpart/$fdir
 
24413
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24414
            s//\1/
 
24415
            q
 
24416
          }
 
24417
          /^X\(\/\/\)[^/].*/{
 
24418
            s//\1/
 
24419
            q
 
24420
          }
 
24421
          /^X\(\/\/\)$/{
 
24422
            s//\1/
 
24423
            q
 
24424
          }
 
24425
          /^X\(\/\).*/{
 
24426
            s//\1/
 
24427
            q
 
24428
          }
 
24429
          s/.*/./; q'`
 
24430
    { as_dir=$dirpart/$fdir
 
24431
  case $as_dir in #(
 
24432
  -*) as_dir=./$as_dir;;
 
24433
  esac
 
24434
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22838
24435
    as_dirs=
22839
 
    while test ! -d "$as_dir"; do
22840
 
      as_dirs="$as_dir $as_dirs"
22841
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24436
    while :; do
 
24437
      case $as_dir in #(
 
24438
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24439
      *) as_qdir=$as_dir;;
 
24440
      esac
 
24441
      as_dirs="'$as_qdir' $as_dirs"
 
24442
      as_dir=`$as_dirname -- "$as_dir" ||
22842
24443
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22843
24444
         X"$as_dir" : 'X\(//\)[^/]' \| \
22844
24445
         X"$as_dir" : 'X\(//\)$' \| \
22845
 
         X"$as_dir" : 'X\(/\)' \| \
22846
 
         .     : '\(.\)' 2>/dev/null ||
 
24446
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22847
24447
echo X"$as_dir" |
22848
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22849
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22850
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22851
 
          /^X\(\/\).*/{ s//\1/; q; }
22852
 
          s/.*/./; q'`
 
24448
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24449
            s//\1/
 
24450
            q
 
24451
          }
 
24452
          /^X\(\/\/\)[^/].*/{
 
24453
            s//\1/
 
24454
            q
 
24455
          }
 
24456
          /^X\(\/\/\)$/{
 
24457
            s//\1/
 
24458
            q
 
24459
          }
 
24460
          /^X\(\/\).*/{
 
24461
            s//\1/
 
24462
            q
 
24463
          }
 
24464
          s/.*/./; q'`
 
24465
      test -d "$as_dir" && break
22853
24466
    done
22854
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22855
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22856
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
24467
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24468
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24469
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22857
24470
   { (exit 1); exit 1; }; }; }
22858
 
 
22859
24471
    # echo "creating $dirpart/$file"
22860
24472
    echo '# dummy' > "$dirpart/$file"
22861
24473
  done
22862
24474
done
22863
24475
 ;;
 
24476
 
22864
24477
  esac
22865
 
done
22866
 
_ACEOF
 
24478
done # for ac_tag
22867
24479
 
22868
 
cat >>$CONFIG_STATUS <<\_ACEOF
22869
24480
 
22870
24481
{ (exit 0); exit 0; }
22871
24482
_ACEOF