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

« back to all changes in this revision

Viewing changes to 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 Linux Imaging and Printing 0.9.11.
 
3
# Generated by GNU Autoconf 2.60 for HP Linux Imaging and Printing 1.6.7.
4
4
#
5
5
# Report bugs to <hplip@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
#
26
27
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27
28
  # is contrary to our usage.  Disable this feature.
28
29
  alias -g '${1+"$@"}'='"$@"'
29
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30
 
  set -o posix
 
30
  setopt NO_GLOB_SUBST
 
31
else
 
32
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
31
33
fi
 
34
BIN_SH=xpg4; export BIN_SH # for Tru64
32
35
DUALCASE=1; export DUALCASE # for MKS sh
33
36
 
 
37
 
 
38
# PATH needs CR
 
39
# Avoid depending upon Character Ranges.
 
40
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
41
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
42
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
43
as_cr_digits='0123456789'
 
44
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
45
 
 
46
# The user is always right.
 
47
if test "${PATH_SEPARATOR+set}" != set; then
 
48
  echo "#! /bin/sh" >conf$$.sh
 
49
  echo  "exit 0"   >>conf$$.sh
 
50
  chmod +x conf$$.sh
 
51
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
52
    PATH_SEPARATOR=';'
 
53
  else
 
54
    PATH_SEPARATOR=:
 
55
  fi
 
56
  rm -f conf$$.sh
 
57
fi
 
58
 
34
59
# Support unset when possible.
35
60
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
36
61
  as_unset=unset
39
64
fi
40
65
 
41
66
 
 
67
# IFS
 
68
# We need space, tab and new line, in precisely that order.  Quoting is
 
69
# there to prevent editors from complaining about space-tab.
 
70
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
71
# splitting by setting IFS to empty value.)
 
72
as_nl='
 
73
'
 
74
IFS=" ""        $as_nl"
 
75
 
 
76
# Find who we are.  Look in the path if we contain no directory separator.
 
77
case $0 in
 
78
  *[\\/]* ) as_myself=$0 ;;
 
79
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
80
for as_dir in $PATH
 
81
do
 
82
  IFS=$as_save_IFS
 
83
  test -z "$as_dir" && as_dir=.
 
84
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
85
done
 
86
IFS=$as_save_IFS
 
87
 
 
88
     ;;
 
89
esac
 
90
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
91
# in which case we are not to be found in the path.
 
92
if test "x$as_myself" = x; then
 
93
  as_myself=$0
 
94
fi
 
95
if test ! -f "$as_myself"; then
 
96
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
97
  { (exit 1); exit 1; }
 
98
fi
 
99
 
42
100
# Work around bugs in pre-3.0 UWIN ksh.
43
 
$as_unset ENV MAIL MAILPATH
 
101
for as_var in ENV MAIL MAILPATH
 
102
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
103
done
44
104
PS1='$ '
45
105
PS2='> '
46
106
PS4='+ '
54
114
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55
115
    eval $as_var=C; export $as_var
56
116
  else
57
 
    $as_unset $as_var
 
117
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
58
118
  fi
59
119
done
60
120
 
61
121
# Required to use basename.
62
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
122
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
123
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
63
124
  as_expr=expr
64
125
else
65
126
  as_expr=false
66
127
fi
67
128
 
68
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
129
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
69
130
  as_basename=basename
70
131
else
71
132
  as_basename=false
73
134
 
74
135
 
75
136
# Name of the executable.
76
 
as_me=`$as_basename "$0" ||
 
137
as_me=`$as_basename -- "$0" ||
77
138
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78
139
         X"$0" : 'X\(//\)$' \| \
79
 
         X"$0" : 'X\(/\)$' \| \
80
 
         .     : '\(.\)' 2>/dev/null ||
 
140
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81
141
echo X/"$0" |
82
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
83
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
84
 
          /^X\/\(\/\).*/{ s//\1/; q; }
85
 
          s/.*/./; q'`
86
 
 
87
 
 
88
 
# PATH needs CR, and LINENO needs CR and PATH.
89
 
# Avoid depending upon Character Ranges.
90
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
91
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
92
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
93
 
as_cr_digits='0123456789'
94
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
95
 
 
96
 
# The user is always right.
97
 
if test "${PATH_SEPARATOR+set}" != set; then
98
 
  echo "#! /bin/sh" >conf$$.sh
99
 
  echo  "exit 0"   >>conf$$.sh
100
 
  chmod +x conf$$.sh
101
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
 
    PATH_SEPARATOR=';'
103
 
  else
104
 
    PATH_SEPARATOR=:
105
 
  fi
106
 
  rm -f conf$$.sh
107
 
fi
108
 
 
109
 
 
110
 
  as_lineno_1=$LINENO
111
 
  as_lineno_2=$LINENO
112
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
113
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
114
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
115
 
  # Find who we are.  Look in the path if we contain no path at all
116
 
  # relative or not.
117
 
  case $0 in
118
 
    *[\\/]* ) as_myself=$0 ;;
119
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120
 
for as_dir in $PATH
121
 
do
122
 
  IFS=$as_save_IFS
123
 
  test -z "$as_dir" && as_dir=.
124
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
125
 
done
126
 
 
127
 
       ;;
128
 
  esac
129
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
130
 
  # in which case we are not to be found in the path.
131
 
  if test "x$as_myself" = x; then
132
 
    as_myself=$0
133
 
  fi
134
 
  if test ! -f "$as_myself"; then
135
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
136
 
   { (exit 1); exit 1; }; }
137
 
  fi
138
 
  case $CONFIG_SHELL in
139
 
  '')
 
142
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\/\)$/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          /^X\/\(\/\).*/{
 
151
            s//\1/
 
152
            q
 
153
          }
 
154
          s/.*/./; q'`
 
155
 
 
156
# CDPATH.
 
157
$as_unset CDPATH
 
158
 
 
159
 
 
160
if test "x$CONFIG_SHELL" = x; then
 
161
  if (eval ":") 2>/dev/null; then
 
162
  as_have_required=yes
 
163
else
 
164
  as_have_required=no
 
165
fi
 
166
 
 
167
  if test $as_have_required = yes &&     (eval ":
 
168
(as_func_return () {
 
169
  (exit \$1)
 
170
}
 
171
as_func_success () {
 
172
  as_func_return 0
 
173
}
 
174
as_func_failure () {
 
175
  as_func_return 1
 
176
}
 
177
as_func_ret_success () {
 
178
  return 0
 
179
}
 
180
as_func_ret_failure () {
 
181
  return 1
 
182
}
 
183
 
 
184
exitcode=0
 
185
if as_func_success; then
 
186
  :
 
187
else
 
188
  exitcode=1
 
189
  echo as_func_success failed.
 
190
fi
 
191
 
 
192
if as_func_failure; then
 
193
  exitcode=1
 
194
  echo as_func_failure succeeded.
 
195
fi
 
196
 
 
197
if as_func_ret_success; then
 
198
  :
 
199
else
 
200
  exitcode=1
 
201
  echo as_func_ret_success failed.
 
202
fi
 
203
 
 
204
if as_func_ret_failure; then
 
205
  exitcode=1
 
206
  echo as_func_ret_failure succeeded.
 
207
fi
 
208
 
 
209
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
210
  :
 
211
else
 
212
  exitcode=1
 
213
  echo positional parameters were not saved.
 
214
fi
 
215
 
 
216
test \$exitcode = 0) || { (exit 1); exit 1; }
 
217
 
 
218
(
 
219
  as_lineno_1=\$LINENO
 
220
  as_lineno_2=\$LINENO
 
221
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
222
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
223
") 2> /dev/null; then
 
224
  :
 
225
else
 
226
  as_candidate_shells=
140
227
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
141
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
228
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
142
229
do
143
230
  IFS=$as_save_IFS
144
231
  test -z "$as_dir" && as_dir=.
145
 
  for as_base in sh bash ksh sh5; do
146
 
         case $as_dir in
 
232
  case $as_dir in
147
233
         /*)
148
 
           if ("$as_dir/$as_base" -c '
149
 
  as_lineno_1=$LINENO
150
 
  as_lineno_2=$LINENO
151
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
152
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
153
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
154
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
155
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
156
 
             CONFIG_SHELL=$as_dir/$as_base
157
 
             export CONFIG_SHELL
158
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159
 
           fi;;
160
 
         esac
161
 
       done
 
234
           for as_base in sh bash ksh sh5; do
 
235
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
236
           done;;
 
237
       esac
162
238
done
163
 
;;
164
 
  esac
 
239
IFS=$as_save_IFS
 
240
 
 
241
 
 
242
      for as_shell in $as_candidate_shells $SHELL; do
 
243
         # Try only shells that exist, to save several forks.
 
244
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
245
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
246
# Be Bourne compatible
 
247
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
248
  emulate sh
 
249
  NULLCMD=:
 
250
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
251
  # is contrary to our usage.  Disable this feature.
 
252
  alias -g '${1+"$@"}'='"$@"'
 
253
  setopt NO_GLOB_SUBST
 
254
else
 
255
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
256
fi
 
257
BIN_SH=xpg4; export BIN_SH # for Tru64
 
258
DUALCASE=1; export DUALCASE # for MKS sh
 
259
 
 
260
:
 
261
_ASEOF
 
262
}; then
 
263
  CONFIG_SHELL=$as_shell
 
264
               as_have_required=yes
 
265
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
266
# Be Bourne compatible
 
267
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
268
  emulate sh
 
269
  NULLCMD=:
 
270
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
271
  # is contrary to our usage.  Disable this feature.
 
272
  alias -g '${1+"$@"}'='"$@"'
 
273
  setopt NO_GLOB_SUBST
 
274
else
 
275
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
276
fi
 
277
BIN_SH=xpg4; export BIN_SH # for Tru64
 
278
DUALCASE=1; export DUALCASE # for MKS sh
 
279
 
 
280
:
 
281
(as_func_return () {
 
282
  (exit $1)
 
283
}
 
284
as_func_success () {
 
285
  as_func_return 0
 
286
}
 
287
as_func_failure () {
 
288
  as_func_return 1
 
289
}
 
290
as_func_ret_success () {
 
291
  return 0
 
292
}
 
293
as_func_ret_failure () {
 
294
  return 1
 
295
}
 
296
 
 
297
exitcode=0
 
298
if as_func_success; then
 
299
  :
 
300
else
 
301
  exitcode=1
 
302
  echo as_func_success failed.
 
303
fi
 
304
 
 
305
if as_func_failure; then
 
306
  exitcode=1
 
307
  echo as_func_failure succeeded.
 
308
fi
 
309
 
 
310
if as_func_ret_success; then
 
311
  :
 
312
else
 
313
  exitcode=1
 
314
  echo as_func_ret_success failed.
 
315
fi
 
316
 
 
317
if as_func_ret_failure; then
 
318
  exitcode=1
 
319
  echo as_func_ret_failure succeeded.
 
320
fi
 
321
 
 
322
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
323
  :
 
324
else
 
325
  exitcode=1
 
326
  echo positional parameters were not saved.
 
327
fi
 
328
 
 
329
test $exitcode = 0) || { (exit 1); exit 1; }
 
330
 
 
331
(
 
332
  as_lineno_1=$LINENO
 
333
  as_lineno_2=$LINENO
 
334
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
335
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
336
 
 
337
_ASEOF
 
338
}; then
 
339
  break
 
340
fi
 
341
 
 
342
fi
 
343
 
 
344
      done
 
345
 
 
346
      if test "x$CONFIG_SHELL" != x; then
 
347
  for as_var in BASH_ENV ENV
 
348
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
349
        done
 
350
        export CONFIG_SHELL
 
351
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
352
fi
 
353
 
 
354
 
 
355
    if test $as_have_required = no; then
 
356
  echo This script requires a shell more modern than all the
 
357
      echo shells that I found on your system.  Please install a
 
358
      echo modern shell, or manually run the script under such a
 
359
      echo shell if you do have one.
 
360
      { (exit 1); exit 1; }
 
361
fi
 
362
 
 
363
 
 
364
fi
 
365
 
 
366
fi
 
367
 
 
368
 
 
369
 
 
370
(eval "as_func_return () {
 
371
  (exit \$1)
 
372
}
 
373
as_func_success () {
 
374
  as_func_return 0
 
375
}
 
376
as_func_failure () {
 
377
  as_func_return 1
 
378
}
 
379
as_func_ret_success () {
 
380
  return 0
 
381
}
 
382
as_func_ret_failure () {
 
383
  return 1
 
384
}
 
385
 
 
386
exitcode=0
 
387
if as_func_success; then
 
388
  :
 
389
else
 
390
  exitcode=1
 
391
  echo as_func_success failed.
 
392
fi
 
393
 
 
394
if as_func_failure; then
 
395
  exitcode=1
 
396
  echo as_func_failure succeeded.
 
397
fi
 
398
 
 
399
if as_func_ret_success; then
 
400
  :
 
401
else
 
402
  exitcode=1
 
403
  echo as_func_ret_success failed.
 
404
fi
 
405
 
 
406
if as_func_ret_failure; then
 
407
  exitcode=1
 
408
  echo as_func_ret_failure succeeded.
 
409
fi
 
410
 
 
411
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
412
  :
 
413
else
 
414
  exitcode=1
 
415
  echo positional parameters were not saved.
 
416
fi
 
417
 
 
418
test \$exitcode = 0") || {
 
419
  echo No shell found that supports shell functions.
 
420
  echo Please tell autoconf@gnu.org about your system,
 
421
  echo including any error possibly output before this
 
422
  echo message
 
423
}
 
424
 
 
425
 
 
426
 
 
427
  as_lineno_1=$LINENO
 
428
  as_lineno_2=$LINENO
 
429
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
430
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
165
431
 
166
432
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
167
433
  # uniformly replaced by the line number.  The first 'sed' inserts a
168
 
  # line-number line before each line; the second 'sed' does the real
169
 
  # work.  The second script uses 'N' to pair each line-number line
170
 
  # with the numbered line, and appends trailing '-' during
171
 
  # substitution so that $LINENO is not a special case at line end.
 
434
  # line-number line after each line using $LINENO; the second 'sed'
 
435
  # does the real work.  The second script uses 'N' to pair each
 
436
  # line-number line with the line containing $LINENO, and appends
 
437
  # trailing '-' during substitution so that $LINENO is not a special
 
438
  # case at line end.
172
439
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
173
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
174
 
  sed '=' <$as_myself |
 
440
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
441
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
442
  sed -n '
 
443
    p
 
444
    /[$]LINENO/=
 
445
  ' <$as_myself |
175
446
    sed '
 
447
      s/[$]LINENO.*/&-/
 
448
      t lineno
 
449
      b
 
450
      :lineno
176
451
      N
177
 
      s,$,-,
178
 
      : loop
179
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
452
      :loop
 
453
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
180
454
      t loop
181
 
      s,-$,,
182
 
      s,^['$as_cr_digits']*\n,,
 
455
      s/-\n.*//
183
456
    ' >$as_me.lineno &&
184
 
  chmod +x $as_me.lineno ||
 
457
  chmod +x "$as_me.lineno" ||
185
458
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
186
459
   { (exit 1); exit 1; }; }
187
460
 
188
461
  # Don't try to exec as it changes $[0], causing all sort of problems
189
462
  # (the dirname of $[0] is not the place where we might find the
190
 
  # original and so on.  Autoconf is especially sensible to this).
191
 
  . ./$as_me.lineno
 
463
  # original and so on.  Autoconf is especially sensitive to this).
 
464
  . "./$as_me.lineno"
192
465
  # Exit status is that of the last command.
193
466
  exit
194
467
}
195
468
 
196
469
 
197
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
198
 
  *c*,-n*) ECHO_N= ECHO_C='
199
 
' ECHO_T='      ' ;;
200
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
201
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
470
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
471
  as_dirname=dirname
 
472
else
 
473
  as_dirname=false
 
474
fi
 
475
 
 
476
ECHO_C= ECHO_N= ECHO_T=
 
477
case `echo -n x` in
 
478
-n*)
 
479
  case `echo 'x\c'` in
 
480
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
481
  *)   ECHO_C='\c';;
 
482
  esac;;
 
483
*)
 
484
  ECHO_N='-n';;
202
485
esac
203
486
 
204
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
487
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
488
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
205
489
  as_expr=expr
206
490
else
207
491
  as_expr=false
208
492
fi
209
493
 
210
494
rm -f conf$$ conf$$.exe conf$$.file
 
495
if test -d conf$$.dir; then
 
496
  rm -f conf$$.dir/conf$$.file
 
497
else
 
498
  rm -f conf$$.dir
 
499
  mkdir conf$$.dir
 
500
fi
211
501
echo >conf$$.file
212
502
if ln -s conf$$.file conf$$ 2>/dev/null; then
213
 
  # We could just check for DJGPP; but this test a) works b) is more generic
214
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
215
 
  if test -f conf$$.exe; then
216
 
    # Don't use ln at all; we don't have any links
 
503
  as_ln_s='ln -s'
 
504
  # ... but there are two gotchas:
 
505
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
506
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
507
  # In both cases, we have to default to `cp -p'.
 
508
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
217
509
    as_ln_s='cp -p'
218
 
  else
219
 
    as_ln_s='ln -s'
220
 
  fi
221
510
elif ln conf$$.file conf$$ 2>/dev/null; then
222
511
  as_ln_s=ln
223
512
else
224
513
  as_ln_s='cp -p'
225
514
fi
226
 
rm -f conf$$ conf$$.exe conf$$.file
 
515
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
516
rmdir conf$$.dir 2>/dev/null
227
517
 
228
518
if mkdir -p . 2>/dev/null; then
229
519
  as_mkdir_p=:
232
522
  as_mkdir_p=false
233
523
fi
234
524
 
235
 
as_executable_p="test -f"
 
525
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
526
# systems may use methods other than mode bits to determine executability.
 
527
cat >conf$$.file <<_ASEOF
 
528
#! /bin/sh
 
529
exit 0
 
530
_ASEOF
 
531
chmod +x conf$$.file
 
532
if test -x conf$$.file >/dev/null 2>&1; then
 
533
  as_executable_p="test -x"
 
534
else
 
535
  as_executable_p=:
 
536
fi
 
537
rm -f conf$$.file
236
538
 
237
539
# Sed expression to map a string onto a valid CPP name.
238
540
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
241
543
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
242
544
 
243
545
 
244
 
# IFS
245
 
# We need space, tab and new line, in precisely that order.
246
 
as_nl='
247
 
'
248
 
IFS="   $as_nl"
249
 
 
250
 
# CDPATH.
251
 
$as_unset CDPATH
252
 
 
253
546
 
254
547
 
255
548
# Check that we are running under the correct shell.
405
698
 
406
699
tagnames=${tagnames+${tagnames},}F77
407
700
 
 
701
exec 7<&0 </dev/null 6>&1
 
702
 
408
703
# Name of the host.
409
704
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
410
705
# so uname gets run too.
411
706
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
412
707
 
413
 
exec 6>&1
414
 
 
415
708
#
416
709
# Initializations.
417
710
#
418
711
ac_default_prefix=/usr/local
 
712
ac_clean_files=
419
713
ac_config_libobj_dir=.
 
714
LIBOBJS=
420
715
cross_compiling=no
421
716
subdirs=
422
717
MFLAGS=
423
718
MAKEFLAGS=
424
719
SHELL=${CONFIG_SHELL-/bin/sh}
425
720
 
426
 
# Maximum number of lines to put in a shell here document.
427
 
# This variable seems obsolete.  It should probably be removed, and
428
 
# only ac_max_sed_lines should be used.
429
 
: ${ac_max_here_lines=38}
430
 
 
431
721
# Identity of this package.
432
722
PACKAGE_NAME='HP Linux Imaging and Printing'
433
723
PACKAGE_TARNAME='hplip'
434
 
PACKAGE_VERSION='0.9.11'
435
 
PACKAGE_STRING='HP Linux Imaging and Printing 0.9.11'
 
724
PACKAGE_VERSION='1.6.7'
 
725
PACKAGE_STRING='HP Linux Imaging and Printing 1.6.7'
436
726
PACKAGE_BUGREPORT='hplip@packages.debian.org'
437
727
 
438
728
ac_unique_file="io/hpiod/hpiod.cpp"
464
754
#endif
465
755
#if HAVE_INTTYPES_H
466
756
# include <inttypes.h>
467
 
#else
468
 
# if HAVE_STDINT_H
469
 
#  include <stdint.h>
470
 
# endif
 
757
#endif
 
758
#if HAVE_STDINT_H
 
759
# include <stdint.h>
471
760
#endif
472
761
#if HAVE_UNISTD_H
473
762
# include <unistd.h>
474
763
#endif"
475
764
 
476
 
ac_subdirs_all="$ac_subdirs_all prnt/hpijs"
477
 
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 subdirs PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir PYUIC ac_ct_PYUIC CHKCONFIG ac_pt_CHKCONFIG INSTALLINITD ac_pt_INSTALLINITD CUPS_BACKEND_PATH HPLIP_PPD_PATH RPM_INSTALL network_build pp_build ICON_PATH ICON_FILE LIBOBJS LTLIBOBJS'
 
765
ac_subst_vars='SHELL
 
766
PATH_SEPARATOR
 
767
PACKAGE_NAME
 
768
PACKAGE_TARNAME
 
769
PACKAGE_VERSION
 
770
PACKAGE_STRING
 
771
PACKAGE_BUGREPORT
 
772
exec_prefix
 
773
prefix
 
774
program_transform_name
 
775
bindir
 
776
sbindir
 
777
libexecdir
 
778
datarootdir
 
779
datadir
 
780
sysconfdir
 
781
sharedstatedir
 
782
localstatedir
 
783
includedir
 
784
oldincludedir
 
785
docdir
 
786
infodir
 
787
htmldir
 
788
dvidir
 
789
pdfdir
 
790
psdir
 
791
libdir
 
792
localedir
 
793
mandir
 
794
DEFS
 
795
ECHO_C
 
796
ECHO_N
 
797
ECHO_T
 
798
LIBS
 
799
build_alias
 
800
host_alias
 
801
target_alias
 
802
INSTALL_PROGRAM
 
803
INSTALL_SCRIPT
 
804
INSTALL_DATA
 
805
CYGPATH_W
 
806
PACKAGE
 
807
VERSION
 
808
ACLOCAL
 
809
AUTOCONF
 
810
AUTOMAKE
 
811
AUTOHEADER
 
812
MAKEINFO
 
813
install_sh
 
814
STRIP
 
815
INSTALL_STRIP_PROGRAM
 
816
mkdir_p
 
817
AWK
 
818
SET_MAKE
 
819
am__leading_dot
 
820
AMTAR
 
821
am__tar
 
822
am__untar
 
823
MAINTAINER_MODE_TRUE
 
824
MAINTAINER_MODE_FALSE
 
825
MAINT
 
826
build
 
827
build_cpu
 
828
build_vendor
 
829
build_os
 
830
host
 
831
host_cpu
 
832
host_vendor
 
833
host_os
 
834
CC
 
835
CFLAGS
 
836
LDFLAGS
 
837
CPPFLAGS
 
838
ac_ct_CC
 
839
EXEEXT
 
840
OBJEXT
 
841
DEPDIR
 
842
am__include
 
843
am__quote
 
844
AMDEP_TRUE
 
845
AMDEP_FALSE
 
846
AMDEPBACKSLASH
 
847
CCDEPMODE
 
848
am__fastdepCC_TRUE
 
849
am__fastdepCC_FALSE
 
850
GREP
 
851
EGREP
 
852
LN_S
 
853
ECHO
 
854
AR
 
855
RANLIB
 
856
CPP
 
857
CXX
 
858
CXXFLAGS
 
859
ac_ct_CXX
 
860
CXXDEPMODE
 
861
am__fastdepCXX_TRUE
 
862
am__fastdepCXX_FALSE
 
863
CXXCPP
 
864
F77
 
865
FFLAGS
 
866
ac_ct_F77
 
867
LIBTOOL
 
868
subdirs
 
869
PYTHON
 
870
PYTHON_VERSION
 
871
PYTHON_PREFIX
 
872
PYTHON_EXEC_PREFIX
 
873
PYTHON_PLATFORM
 
874
pythondir
 
875
pkgpythondir
 
876
pyexecdir
 
877
pkgpyexecdir
 
878
PYUIC
 
879
ac_ct_PYUIC
 
880
CHKCONFIG
 
881
INSTALLINITD
 
882
CUPS_BACKEND_PATH
 
883
HPLIP_PPD_PATH
 
884
RPM_INSTALL
 
885
network_build
 
886
pp_build
 
887
fax_build
 
888
ICON_PATH
 
889
ICON_FILE
 
890
LIBOBJS
 
891
LTLIBOBJS'
478
892
ac_subst_files=''
 
893
      ac_precious_vars='build_alias
 
894
host_alias
 
895
target_alias
 
896
CC
 
897
CFLAGS
 
898
LDFLAGS
 
899
CPPFLAGS
 
900
CPP
 
901
CXX
 
902
CXXFLAGS
 
903
CCC
 
904
CXXCPP
 
905
F77
 
906
FFLAGS
 
907
PYTHON
 
908
PYUIC
 
909
CHKCONFIG
 
910
INSTALLINITD
 
911
CUPS_BACKEND_PATH
 
912
HPLIP_PPD_PATH'
 
913
ac_subdirs_all='prnt/hpijs'
479
914
 
480
915
# Initialize some variables set by options.
481
916
ac_init_help=
502
937
# and all the variables that are supposed to be based on exec_prefix
503
938
# by default will actually change.
504
939
# Use braces instead of parens because sh, perl, etc. also accept them.
 
940
# (The list follows the same order as the GNU Coding Standards.)
505
941
bindir='${exec_prefix}/bin'
506
942
sbindir='${exec_prefix}/sbin'
507
943
libexecdir='${exec_prefix}/libexec'
508
 
datadir='${prefix}/share'
 
944
datarootdir='${prefix}/share'
 
945
datadir='${datarootdir}'
509
946
sysconfdir='${prefix}/etc'
510
947
sharedstatedir='${prefix}/com'
511
948
localstatedir='${prefix}/var'
512
 
libdir='${exec_prefix}/lib'
513
949
includedir='${prefix}/include'
514
950
oldincludedir='/usr/include'
515
 
infodir='${prefix}/info'
516
 
mandir='${prefix}/man'
 
951
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
952
infodir='${datarootdir}/info'
 
953
htmldir='${docdir}'
 
954
dvidir='${docdir}'
 
955
pdfdir='${docdir}'
 
956
psdir='${docdir}'
 
957
libdir='${exec_prefix}/lib'
 
958
localedir='${datarootdir}/locale'
 
959
mandir='${datarootdir}/man'
517
960
 
518
961
ac_prev=
 
962
ac_dashdash=
519
963
for ac_option
520
964
do
521
965
  # If the previous option needs an argument, assign it.
522
966
  if test -n "$ac_prev"; then
523
 
    eval "$ac_prev=\$ac_option"
 
967
    eval $ac_prev=\$ac_option
524
968
    ac_prev=
525
969
    continue
526
970
  fi
527
971
 
528
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
972
  case $ac_option in
 
973
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
974
  *)    ac_optarg=yes ;;
 
975
  esac
529
976
 
530
977
  # Accept the important Cygnus configure options, so we can diagnose typos.
531
978
 
532
 
  case $ac_option in
 
979
  case $ac_dashdash$ac_option in
 
980
  --)
 
981
    ac_dashdash=yes ;;
533
982
 
534
983
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
535
984
    ac_prev=bindir ;;
551
1000
  --config-cache | -C)
552
1001
    cache_file=config.cache ;;
553
1002
 
554
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1003
  -datadir | --datadir | --datadi | --datad)
555
1004
    ac_prev=datadir ;;
556
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
557
 
  | --da=*)
 
1005
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
558
1006
    datadir=$ac_optarg ;;
559
1007
 
 
1008
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1009
  | --dataroo | --dataro | --datar)
 
1010
    ac_prev=datarootdir ;;
 
1011
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1012
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1013
    datarootdir=$ac_optarg ;;
 
1014
 
560
1015
  -disable-* | --disable-*)
561
1016
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
562
1017
    # Reject names that are not valid shell variable names.
564
1019
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565
1020
   { (exit 1); exit 1; }; }
566
1021
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
 
    eval "enable_$ac_feature=no" ;;
 
1022
    eval enable_$ac_feature=no ;;
 
1023
 
 
1024
  -docdir | --docdir | --docdi | --doc | --do)
 
1025
    ac_prev=docdir ;;
 
1026
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1027
    docdir=$ac_optarg ;;
 
1028
 
 
1029
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1030
    ac_prev=dvidir ;;
 
1031
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1032
    dvidir=$ac_optarg ;;
568
1033
 
569
1034
  -enable-* | --enable-*)
570
1035
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
573
1038
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
574
1039
   { (exit 1); exit 1; }; }
575
1040
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
576
 
    case $ac_option in
577
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
578
 
      *) ac_optarg=yes ;;
579
 
    esac
580
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1041
    eval enable_$ac_feature=\$ac_optarg ;;
581
1042
 
582
1043
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
583
1044
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
604
1065
  -host=* | --host=* | --hos=* | --ho=*)
605
1066
    host_alias=$ac_optarg ;;
606
1067
 
 
1068
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1069
    ac_prev=htmldir ;;
 
1070
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1071
  | --ht=*)
 
1072
    htmldir=$ac_optarg ;;
 
1073
 
607
1074
  -includedir | --includedir | --includedi | --included | --include \
608
1075
  | --includ | --inclu | --incl | --inc)
609
1076
    ac_prev=includedir ;;
628
1095
  | --libexe=* | --libex=* | --libe=*)
629
1096
    libexecdir=$ac_optarg ;;
630
1097
 
 
1098
  -localedir | --localedir | --localedi | --localed | --locale)
 
1099
    ac_prev=localedir ;;
 
1100
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1101
    localedir=$ac_optarg ;;
 
1102
 
631
1103
  -localstatedir | --localstatedir | --localstatedi | --localstated \
632
 
  | --localstate | --localstat | --localsta | --localst \
633
 
  | --locals | --local | --loca | --loc | --lo)
 
1104
  | --localstate | --localstat | --localsta | --localst | --locals)
634
1105
    ac_prev=localstatedir ;;
635
1106
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
636
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
637
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1107
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
638
1108
    localstatedir=$ac_optarg ;;
639
1109
 
640
1110
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
699
1169
  | --progr-tra=* | --program-tr=* | --program-t=*)
700
1170
    program_transform_name=$ac_optarg ;;
701
1171
 
 
1172
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1173
    ac_prev=pdfdir ;;
 
1174
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1175
    pdfdir=$ac_optarg ;;
 
1176
 
 
1177
  -psdir | --psdir | --psdi | --psd | --ps)
 
1178
    ac_prev=psdir ;;
 
1179
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1180
    psdir=$ac_optarg ;;
 
1181
 
702
1182
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
703
1183
  | -silent | --silent | --silen | --sile | --sil)
704
1184
    silent=yes ;;
755
1235
      { echo "$as_me: error: invalid package name: $ac_package" >&2
756
1236
   { (exit 1); exit 1; }; }
757
1237
    ac_package=`echo $ac_package| sed 's/-/_/g'`
758
 
    case $ac_option in
759
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
760
 
      *) ac_optarg=yes ;;
761
 
    esac
762
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1238
    eval with_$ac_package=\$ac_optarg ;;
763
1239
 
764
1240
  -without-* | --without-*)
765
1241
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
768
1244
      { echo "$as_me: error: invalid package name: $ac_package" >&2
769
1245
   { (exit 1); exit 1; }; }
770
1246
    ac_package=`echo $ac_package | sed 's/-/_/g'`
771
 
    eval "with_$ac_package=no" ;;
 
1247
    eval with_$ac_package=no ;;
772
1248
 
773
1249
  --x)
774
1250
    # Obsolete; use --with-x.
799
1275
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
800
1276
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
801
1277
   { (exit 1); exit 1; }; }
802
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
803
 
    eval "$ac_envvar='$ac_optarg'"
 
1278
    eval $ac_envvar=\$ac_optarg
804
1279
    export $ac_envvar ;;
805
1280
 
806
1281
  *)
820
1295
   { (exit 1); exit 1; }; }
821
1296
fi
822
1297
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in exec_prefix prefix
825
 
do
826
 
  eval ac_val=$`echo $ac_var`
827
 
  case $ac_val in
828
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
829
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830
 
   { (exit 1); exit 1; }; };;
831
 
  esac
832
 
done
833
 
 
834
 
# Be sure to have absolute paths.
835
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
836
 
              localstatedir libdir includedir oldincludedir infodir mandir
837
 
do
838
 
  eval ac_val=$`echo $ac_var`
839
 
  case $ac_val in
840
 
    [\\/$]* | ?:[\\/]* ) ;;
841
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
842
 
   { (exit 1); exit 1; }; };;
843
 
  esac
 
1298
# Be sure to have absolute directory names.
 
1299
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1300
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1301
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1302
                libdir localedir mandir
 
1303
do
 
1304
  eval ac_val=\$$ac_var
 
1305
  case $ac_val in
 
1306
    [\\/$]* | ?:[\\/]* )  continue;;
 
1307
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1308
  esac
 
1309
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1310
   { (exit 1); exit 1; }; }
844
1311
done
845
1312
 
846
1313
# There might be people who depend on the old broken behavior: `$host'
867
1334
test "$silent" = yes && exec 6>/dev/null
868
1335
 
869
1336
 
 
1337
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1338
ac_ls_di=`ls -di .` &&
 
1339
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1340
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1341
   { (exit 1); exit 1; }; }
 
1342
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1343
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1344
   { (exit 1); exit 1; }; }
 
1345
 
 
1346
 
870
1347
# Find the source files, if location was not specified.
871
1348
if test -z "$srcdir"; then
872
1349
  ac_srcdir_defaulted=yes
873
 
  # Try the directory containing this script, then its parent.
874
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1350
  # Try the directory containing this script, then the parent directory.
 
1351
  ac_confdir=`$as_dirname -- "$0" ||
875
1352
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
876
1353
         X"$0" : 'X\(//\)[^/]' \| \
877
1354
         X"$0" : 'X\(//\)$' \| \
878
 
         X"$0" : 'X\(/\)' \| \
879
 
         .     : '\(.\)' 2>/dev/null ||
 
1355
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
880
1356
echo X"$0" |
881
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
882
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
883
 
          /^X\(\/\/\)$/{ s//\1/; q; }
884
 
          /^X\(\/\).*/{ s//\1/; q; }
885
 
          s/.*/./; q'`
 
1357
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1358
            s//\1/
 
1359
            q
 
1360
          }
 
1361
          /^X\(\/\/\)[^/].*/{
 
1362
            s//\1/
 
1363
            q
 
1364
          }
 
1365
          /^X\(\/\/\)$/{
 
1366
            s//\1/
 
1367
            q
 
1368
          }
 
1369
          /^X\(\/\).*/{
 
1370
            s//\1/
 
1371
            q
 
1372
          }
 
1373
          s/.*/./; q'`
886
1374
  srcdir=$ac_confdir
887
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1375
  if test ! -r "$srcdir/$ac_unique_file"; then
888
1376
    srcdir=..
889
1377
  fi
890
1378
else
891
1379
  ac_srcdir_defaulted=no
892
1380
fi
893
 
if test ! -r $srcdir/$ac_unique_file; then
894
 
  if test "$ac_srcdir_defaulted" = yes; then
895
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
896
 
   { (exit 1); exit 1; }; }
897
 
  else
898
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
899
 
   { (exit 1); exit 1; }; }
900
 
  fi
901
 
fi
902
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
903
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
904
 
   { (exit 1); exit 1; }; }
905
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
906
 
ac_env_build_alias_set=${build_alias+set}
907
 
ac_env_build_alias_value=$build_alias
908
 
ac_cv_env_build_alias_set=${build_alias+set}
909
 
ac_cv_env_build_alias_value=$build_alias
910
 
ac_env_host_alias_set=${host_alias+set}
911
 
ac_env_host_alias_value=$host_alias
912
 
ac_cv_env_host_alias_set=${host_alias+set}
913
 
ac_cv_env_host_alias_value=$host_alias
914
 
ac_env_target_alias_set=${target_alias+set}
915
 
ac_env_target_alias_value=$target_alias
916
 
ac_cv_env_target_alias_set=${target_alias+set}
917
 
ac_cv_env_target_alias_value=$target_alias
918
 
ac_env_CC_set=${CC+set}
919
 
ac_env_CC_value=$CC
920
 
ac_cv_env_CC_set=${CC+set}
921
 
ac_cv_env_CC_value=$CC
922
 
ac_env_CFLAGS_set=${CFLAGS+set}
923
 
ac_env_CFLAGS_value=$CFLAGS
924
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
925
 
ac_cv_env_CFLAGS_value=$CFLAGS
926
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
927
 
ac_env_LDFLAGS_value=$LDFLAGS
928
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
929
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
930
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
931
 
ac_env_CPPFLAGS_value=$CPPFLAGS
932
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
933
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
934
 
ac_env_CPP_set=${CPP+set}
935
 
ac_env_CPP_value=$CPP
936
 
ac_cv_env_CPP_set=${CPP+set}
937
 
ac_cv_env_CPP_value=$CPP
938
 
ac_env_CXX_set=${CXX+set}
939
 
ac_env_CXX_value=$CXX
940
 
ac_cv_env_CXX_set=${CXX+set}
941
 
ac_cv_env_CXX_value=$CXX
942
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
943
 
ac_env_CXXFLAGS_value=$CXXFLAGS
944
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
945
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
946
 
ac_env_CXXCPP_set=${CXXCPP+set}
947
 
ac_env_CXXCPP_value=$CXXCPP
948
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
949
 
ac_cv_env_CXXCPP_value=$CXXCPP
950
 
ac_env_F77_set=${F77+set}
951
 
ac_env_F77_value=$F77
952
 
ac_cv_env_F77_set=${F77+set}
953
 
ac_cv_env_F77_value=$F77
954
 
ac_env_FFLAGS_set=${FFLAGS+set}
955
 
ac_env_FFLAGS_value=$FFLAGS
956
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
957
 
ac_cv_env_FFLAGS_value=$FFLAGS
958
 
ac_env_PYTHON_set=${PYTHON+set}
959
 
ac_env_PYTHON_value=$PYTHON
960
 
ac_cv_env_PYTHON_set=${PYTHON+set}
961
 
ac_cv_env_PYTHON_value=$PYTHON
962
 
ac_env_PYUIC_set=${PYUIC+set}
963
 
ac_env_PYUIC_value=$PYUIC
964
 
ac_cv_env_PYUIC_set=${PYUIC+set}
965
 
ac_cv_env_PYUIC_value=$PYUIC
966
 
ac_env_CHKCONFIG_set=${CHKCONFIG+set}
967
 
ac_env_CHKCONFIG_value=$CHKCONFIG
968
 
ac_cv_env_CHKCONFIG_set=${CHKCONFIG+set}
969
 
ac_cv_env_CHKCONFIG_value=$CHKCONFIG
970
 
ac_env_INSTALLINITD_set=${INSTALLINITD+set}
971
 
ac_env_INSTALLINITD_value=$INSTALLINITD
972
 
ac_cv_env_INSTALLINITD_set=${INSTALLINITD+set}
973
 
ac_cv_env_INSTALLINITD_value=$INSTALLINITD
974
 
ac_env_CUPS_BACKEND_PATH_set=${CUPS_BACKEND_PATH+set}
975
 
ac_env_CUPS_BACKEND_PATH_value=$CUPS_BACKEND_PATH
976
 
ac_cv_env_CUPS_BACKEND_PATH_set=${CUPS_BACKEND_PATH+set}
977
 
ac_cv_env_CUPS_BACKEND_PATH_value=$CUPS_BACKEND_PATH
978
 
ac_env_HPLIP_PPD_PATH_set=${HPLIP_PPD_PATH+set}
979
 
ac_env_HPLIP_PPD_PATH_value=$HPLIP_PPD_PATH
980
 
ac_cv_env_HPLIP_PPD_PATH_set=${HPLIP_PPD_PATH+set}
981
 
ac_cv_env_HPLIP_PPD_PATH_value=$HPLIP_PPD_PATH
 
1381
if test ! -r "$srcdir/$ac_unique_file"; then
 
1382
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1383
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1384
   { (exit 1); exit 1; }; }
 
1385
fi
 
1386
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1387
ac_abs_confdir=`(
 
1388
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1389
   { (exit 1); exit 1; }; }
 
1390
        pwd)`
 
1391
# When building in place, set srcdir=.
 
1392
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1393
  srcdir=.
 
1394
fi
 
1395
# Remove unnecessary trailing slashes from srcdir.
 
1396
# Double slashes in file names in object file debugging info
 
1397
# mess up M-x gdb in Emacs.
 
1398
case $srcdir in
 
1399
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1400
esac
 
1401
for ac_var in $ac_precious_vars; do
 
1402
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1403
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1404
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1405
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1406
done
982
1407
 
983
1408
#
984
1409
# Report the --help message.
987
1412
  # Omit some internal or obsolete options to make the list less imposing.
988
1413
  # This message is too long to be a string in the A/UX 3.1 sh.
989
1414
  cat <<_ACEOF
990
 
\`configure' configures HP Linux Imaging and Printing 0.9.11 to adapt to many kinds of systems.
 
1415
\`configure' configures HP Linux Imaging and Printing 1.6.7 to adapt to many kinds of systems.
991
1416
 
992
1417
Usage: $0 [OPTION]... [VAR=VALUE]...
993
1418
 
1007
1432
  -n, --no-create         do not create output files
1008
1433
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1009
1434
 
1010
 
_ACEOF
1011
 
 
1012
 
  cat <<_ACEOF
1013
1435
Installation directories:
1014
1436
  --prefix=PREFIX         install architecture-independent files in PREFIX
1015
1437
                          [$ac_default_prefix]
1027
1449
  --bindir=DIR           user executables [EPREFIX/bin]
1028
1450
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1029
1451
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1030
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1031
1452
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1032
1453
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1033
1454
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1034
1455
  --libdir=DIR           object code libraries [EPREFIX/lib]
1035
1456
  --includedir=DIR       C header files [PREFIX/include]
1036
1457
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1037
 
  --infodir=DIR          info documentation [PREFIX/info]
1038
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1458
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1459
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1460
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1461
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1462
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1463
  --docdir=DIR           documentation root [DATAROOTDIR/doc/hplip]
 
1464
  --htmldir=DIR          html documentation [DOCDIR]
 
1465
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1466
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1467
  --psdir=DIR            ps documentation [DOCDIR]
1039
1468
_ACEOF
1040
1469
 
1041
1470
  cat <<\_ACEOF
1053
1482
 
1054
1483
if test -n "$ac_init_help"; then
1055
1484
  case $ac_init_help in
1056
 
     short | recursive ) echo "Configuration of HP Linux Imaging and Printing 0.9.11:";;
 
1485
     short | recursive ) echo "Configuration of HP Linux Imaging and Printing 1.6.7:";;
1057
1486
   esac
1058
1487
  cat <<\_ACEOF
1059
1488
 
1062
1491
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1063
1492
  --enable-maintainer-mode  enable make rules and dependencies not useful
1064
1493
                          (and sometimes confusing) to the casual installer
1065
 
  --enable-static[=PKGS]
1066
 
                          build static libraries [default=no]
1067
 
  --enable-shared[=PKGS]
1068
 
                          build shared libraries [default=yes]
 
1494
  --enable-static[=PKGS]  build static libraries [default=no]
 
1495
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1069
1496
  --enable-fast-install[=PKGS]
1070
1497
                          optimize for fast installation [default=yes]
1071
1498
  --disable-dependency-tracking  speeds up one-time build
1074
1501
  --enable-rpm-install    enable rpm install (default=no)
1075
1502
  --enable-network-build  enable network build (default=yes)
1076
1503
  --enable-pp-build       support parallel port IO (default=yes)
 
1504
  --enable-fax-build      enable fax build (default=yes)
1077
1505
 
1078
1506
Optional Packages:
1079
1507
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1081
1509
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1082
1510
  --with-pic              try to use only PIC/non-PIC objects [default=use
1083
1511
                          both]
1084
 
  --with-tags[=TAGS]
1085
 
                          include additional configurations [automatic]
1086
 
  --with-icon[=path]
1087
 
                          Where to install menu/desktop file (default=yes
 
1512
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1513
  --with-icon[=path]      Where to install menu/desktop file (default=yes
1088
1514
                          (autodetect))
1089
1515
 
1090
1516
Some influential environment variables:
1092
1518
  CFLAGS      C compiler flags
1093
1519
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1094
1520
              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>
 
1521
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1522
              you have headers in a nonstandard directory <include dir>
1097
1523
  CPP         C preprocessor
1098
1524
  CXX         C++ compiler command
1099
1525
  CXXFLAGS    C++ compiler flags
1115
1541
 
1116
1542
Report bugs to <hplip@packages.debian.org>.
1117
1543
_ACEOF
 
1544
ac_status=$?
1118
1545
fi
1119
1546
 
1120
1547
if test "$ac_init_help" = "recursive"; then
1121
1548
  # If there are subdirs, report their specific --help.
1122
 
  ac_popdir=`pwd`
1123
1549
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1124
 
    test -d $ac_dir || continue
 
1550
    test -d "$ac_dir" || continue
1125
1551
    ac_builddir=.
1126
1552
 
1127
 
if test "$ac_dir" != .; then
 
1553
case "$ac_dir" in
 
1554
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1555
*)
1128
1556
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1129
 
  # A "../" for each directory in $ac_dir_suffix.
1130
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1131
 
else
1132
 
  ac_dir_suffix= ac_top_builddir=
1133
 
fi
 
1557
  # A ".." for each directory in $ac_dir_suffix.
 
1558
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1559
  case $ac_top_builddir_sub in
 
1560
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1561
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1562
  esac ;;
 
1563
esac
 
1564
ac_abs_top_builddir=$ac_pwd
 
1565
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1566
# for backward compatibility:
 
1567
ac_top_builddir=$ac_top_build_prefix
1134
1568
 
1135
1569
case $srcdir in
1136
 
  .)  # No --srcdir option.  We are building in place.
 
1570
  .)  # We are building in place.
1137
1571
    ac_srcdir=.
1138
 
    if test -z "$ac_top_builddir"; then
1139
 
       ac_top_srcdir=.
1140
 
    else
1141
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1142
 
    fi ;;
1143
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1572
    ac_top_srcdir=$ac_top_builddir_sub
 
1573
    ac_abs_top_srcdir=$ac_pwd ;;
 
1574
  [\\/]* | ?:[\\/]* )  # Absolute name.
1144
1575
    ac_srcdir=$srcdir$ac_dir_suffix;
1145
 
    ac_top_srcdir=$srcdir ;;
1146
 
  *) # Relative path.
1147
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1148
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1149
 
esac
1150
 
 
1151
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1152
 
# the directories may not exist.
1153
 
case `pwd` in
1154
 
.) ac_abs_builddir="$ac_dir";;
1155
 
*)
1156
 
  case "$ac_dir" in
1157
 
  .) ac_abs_builddir=`pwd`;;
1158
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1159
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1160
 
  esac;;
1161
 
esac
1162
 
case $ac_abs_builddir in
1163
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1164
 
*)
1165
 
  case ${ac_top_builddir}. in
1166
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1167
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1168
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1169
 
  esac;;
1170
 
esac
1171
 
case $ac_abs_builddir in
1172
 
.) ac_abs_srcdir=$ac_srcdir;;
1173
 
*)
1174
 
  case $ac_srcdir in
1175
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1176
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1177
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1178
 
  esac;;
1179
 
esac
1180
 
case $ac_abs_builddir in
1181
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1182
 
*)
1183
 
  case $ac_top_srcdir in
1184
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1185
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1186
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1187
 
  esac;;
1188
 
esac
1189
 
 
1190
 
    cd $ac_dir
1191
 
    # Check for guested configure; otherwise get Cygnus style configure.
1192
 
    if test -f $ac_srcdir/configure.gnu; then
1193
 
      echo
1194
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1195
 
    elif test -f $ac_srcdir/configure; then
1196
 
      echo
1197
 
      $SHELL $ac_srcdir/configure  --help=recursive
1198
 
    elif test -f $ac_srcdir/configure.ac ||
1199
 
           test -f $ac_srcdir/configure.in; then
1200
 
      echo
1201
 
      $ac_configure --help
 
1576
    ac_top_srcdir=$srcdir
 
1577
    ac_abs_top_srcdir=$srcdir ;;
 
1578
  *) # Relative name.
 
1579
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1580
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1581
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1582
esac
 
1583
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1584
 
 
1585
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1586
    # Check for guested configure.
 
1587
    if test -f "$ac_srcdir/configure.gnu"; then
 
1588
      echo &&
 
1589
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1590
    elif test -f "$ac_srcdir/configure"; then
 
1591
      echo &&
 
1592
      $SHELL "$ac_srcdir/configure" --help=recursive
1202
1593
    else
1203
1594
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1204
 
    fi
1205
 
    cd "$ac_popdir"
 
1595
    fi || ac_status=$?
 
1596
    cd "$ac_pwd" || { ac_status=$?; break; }
1206
1597
  done
1207
1598
fi
1208
1599
 
1209
 
test -n "$ac_init_help" && exit 0
 
1600
test -n "$ac_init_help" && exit $ac_status
1210
1601
if $ac_init_version; then
1211
1602
  cat <<\_ACEOF
1212
 
HP Linux Imaging and Printing configure 0.9.11
1213
 
generated by GNU Autoconf 2.59
 
1603
HP Linux Imaging and Printing configure 1.6.7
 
1604
generated by GNU Autoconf 2.60
1214
1605
 
1215
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1606
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1607
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1216
1608
This configure script is free software; the Free Software Foundation
1217
1609
gives unlimited permission to copy, distribute and modify it.
1218
1610
 
1224
1616
(at your option) any later version.
1225
1617
 
1226
1618
_ACEOF
1227
 
  exit 0
 
1619
  exit
1228
1620
fi
1229
 
exec 5>config.log
1230
 
cat >&5 <<_ACEOF
 
1621
cat >config.log <<_ACEOF
1231
1622
This file contains any messages produced by compilers while
1232
1623
running configure, to aid debugging if configure makes a mistake.
1233
1624
 
1234
 
It was created by HP Linux Imaging and Printing $as_me 0.9.11, which was
1235
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1625
It was created by HP Linux Imaging and Printing $as_me 1.6.7, which was
 
1626
generated by GNU Autoconf 2.60.  Invocation command line was
1236
1627
 
1237
1628
  $ $0 $@
1238
1629
 
1239
1630
_ACEOF
 
1631
exec 5>>config.log
1240
1632
{
1241
1633
cat <<_ASUNAME
1242
1634
## --------- ##
1255
1647
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1256
1648
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1257
1649
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1258
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1650
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1259
1651
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1260
1652
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1261
1653
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1269
1661
  test -z "$as_dir" && as_dir=.
1270
1662
  echo "PATH: $as_dir"
1271
1663
done
 
1664
IFS=$as_save_IFS
1272
1665
 
1273
1666
} >&5
1274
1667
 
1290
1683
ac_configure_args=
1291
1684
ac_configure_args0=
1292
1685
ac_configure_args1=
1293
 
ac_sep=
1294
1686
ac_must_keep_next=false
1295
1687
for ac_pass in 1 2
1296
1688
do
1301
1693
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1302
1694
    | -silent | --silent | --silen | --sile | --sil)
1303
1695
      continue ;;
1304
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1696
    *\'*)
1305
1697
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1306
1698
    esac
1307
1699
    case $ac_pass in
1323
1715
          -* ) ac_must_keep_next=true ;;
1324
1716
        esac
1325
1717
      fi
1326
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1327
 
      # Get rid of the leading space.
1328
 
      ac_sep=" "
 
1718
      ac_configure_args="$ac_configure_args '$ac_arg'"
1329
1719
      ;;
1330
1720
    esac
1331
1721
  done
1336
1726
# When interrupted or exit'd, cleanup temporary files, and complete
1337
1727
# config.log.  We remove comments because anyway the quotes in there
1338
1728
# would cause problems or look ugly.
1339
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1340
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1729
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1730
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1341
1731
trap 'exit_status=$?
1342
1732
  # Save into config.log some information that might help in debugging.
1343
1733
  {
1350
1740
_ASBOX
1351
1741
    echo
1352
1742
    # The following way of writing the cache mishandles newlines in values,
1353
 
{
 
1743
(
 
1744
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1745
    eval ac_val=\$$ac_var
 
1746
    case $ac_val in #(
 
1747
    *${as_nl}*)
 
1748
      case $ac_var in #(
 
1749
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1750
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1751
      esac
 
1752
      case $ac_var in #(
 
1753
      _ | IFS | as_nl) ;; #(
 
1754
      *) $as_unset $ac_var ;;
 
1755
      esac ;;
 
1756
    esac
 
1757
  done
1354
1758
  (set) 2>&1 |
1355
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1356
 
    *ac_space=\ *)
 
1759
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1760
    *${as_nl}ac_space=\ *)
1357
1761
      sed -n \
1358
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1359
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1360
 
      ;;
 
1762
        "s/'\''/'\''\\\\'\'''\''/g;
 
1763
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1764
      ;; #(
1361
1765
    *)
1362
 
      sed -n \
1363
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1766
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1364
1767
      ;;
1365
 
    esac;
1366
 
}
 
1768
    esac |
 
1769
    sort
 
1770
)
1367
1771
    echo
1368
1772
 
1369
1773
    cat <<\_ASBOX
1374
1778
    echo
1375
1779
    for ac_var in $ac_subst_vars
1376
1780
    do
1377
 
      eval ac_val=$`echo $ac_var`
1378
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1781
      eval ac_val=\$$ac_var
 
1782
      case $ac_val in
 
1783
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1784
      esac
 
1785
      echo "$ac_var='\''$ac_val'\''"
1379
1786
    done | sort
1380
1787
    echo
1381
1788
 
1382
1789
    if test -n "$ac_subst_files"; then
1383
1790
      cat <<\_ASBOX
1384
 
## ------------- ##
1385
 
## Output files. ##
1386
 
## ------------- ##
 
1791
## ------------------- ##
 
1792
## File substitutions. ##
 
1793
## ------------------- ##
1387
1794
_ASBOX
1388
1795
      echo
1389
1796
      for ac_var in $ac_subst_files
1390
1797
      do
1391
 
        eval ac_val=$`echo $ac_var`
1392
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1798
        eval ac_val=\$$ac_var
 
1799
        case $ac_val in
 
1800
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1801
        esac
 
1802
        echo "$ac_var='\''$ac_val'\''"
1393
1803
      done | sort
1394
1804
      echo
1395
1805
    fi
1401
1811
## ----------- ##
1402
1812
_ASBOX
1403
1813
      echo
1404
 
      sed "/^$/d" confdefs.h | sort
 
1814
      cat confdefs.h
1405
1815
      echo
1406
1816
    fi
1407
1817
    test "$ac_signal" != 0 &&
1408
1818
      echo "$as_me: caught signal $ac_signal"
1409
1819
    echo "$as_me: exit $exit_status"
1410
1820
  } >&5
1411
 
  rm -f core *.core &&
1412
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1821
  rm -f core *.core core.conftest.* &&
 
1822
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1413
1823
    exit $exit_status
1414
 
     ' 0
 
1824
' 0
1415
1825
for ac_signal in 1 2 13 15; do
1416
1826
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1417
1827
done
1418
1828
ac_signal=0
1419
1829
 
1420
1830
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1421
 
rm -rf conftest* confdefs.h
1422
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1423
 
echo >confdefs.h
 
1831
rm -f -r conftest* confdefs.h
1424
1832
 
1425
1833
# Predefined preprocessor variables.
1426
1834
 
1451
1859
 
1452
1860
# Let the site file select an alternate cache file if it wants to.
1453
1861
# Prefer explicitly selected file to automatically selected ones.
1454
 
if test -z "$CONFIG_SITE"; then
1455
 
  if test "x$prefix" != xNONE; then
1456
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1457
 
  else
1458
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1459
 
  fi
 
1862
if test -n "$CONFIG_SITE"; then
 
1863
  set x "$CONFIG_SITE"
 
1864
elif test "x$prefix" != xNONE; then
 
1865
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1866
else
 
1867
  set x "$ac_default_prefix/share/config.site" \
 
1868
        "$ac_default_prefix/etc/config.site"
1460
1869
fi
1461
 
for ac_site_file in $CONFIG_SITE; do
 
1870
shift
 
1871
for ac_site_file
 
1872
do
1462
1873
  if test -r "$ac_site_file"; then
1463
1874
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1464
1875
echo "$as_me: loading site script $ac_site_file" >&6;}
1474
1885
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1475
1886
echo "$as_me: loading cache $cache_file" >&6;}
1476
1887
    case $cache_file in
1477
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1478
 
      *)                      . ./$cache_file;;
 
1888
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1889
      *)                      . "./$cache_file";;
1479
1890
    esac
1480
1891
  fi
1481
1892
else
1487
1898
# Check that the precious variables saved in the cache have kept the same
1488
1899
# value.
1489
1900
ac_cache_corrupted=false
1490
 
for ac_var in `(set) 2>&1 |
1491
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1901
for ac_var in $ac_precious_vars; do
1492
1902
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1493
1903
  eval ac_new_set=\$ac_env_${ac_var}_set
1494
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1495
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1904
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1905
  eval ac_new_val=\$ac_env_${ac_var}_value
1496
1906
  case $ac_old_set,$ac_new_set in
1497
1907
    set,)
1498
1908
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1517
1927
  # Pass precious variables to config.status.
1518
1928
  if test "$ac_new_set" = set; then
1519
1929
    case $ac_new_val in
1520
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1521
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1930
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1522
1931
    *) ac_arg=$ac_var=$ac_new_val ;;
1523
1932
    esac
1524
1933
    case " $ac_configure_args " in
1535
1944
   { (exit 1); exit 1; }; }
1536
1945
fi
1537
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
 
1964
 
 
1965
 
 
1966
 
 
1967
 
 
1968
 
 
1969
 
 
1970
 
1538
1971
ac_ext=c
1539
1972
ac_cpp='$CPP $CPPFLAGS'
1540
1973
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1546
1979
 
1547
1980
 
1548
1981
 
1549
 
 
1550
 
 
1551
 
 
1552
 
 
1553
 
 
1554
 
 
1555
 
 
1556
 
 
1557
 
 
1558
 
 
1559
 
 
1560
 
 
1561
 
 
1562
 
 
1563
 
 
1564
 
 
1565
 
 
1566
 
 
1567
 
 
1568
 
 
1569
 
 
1570
 
 
1571
 
 
1572
 
 
1573
 
 
1574
1982
ac_aux_dir=
1575
 
for ac_dir in . $srcdir/.; do
1576
 
  if test -f $ac_dir/install-sh; then
 
1983
for ac_dir in . "$srcdir"/.; do
 
1984
  if test -f "$ac_dir/install-sh"; then
1577
1985
    ac_aux_dir=$ac_dir
1578
1986
    ac_install_sh="$ac_aux_dir/install-sh -c"
1579
1987
    break
1580
 
  elif test -f $ac_dir/install.sh; then
 
1988
  elif test -f "$ac_dir/install.sh"; then
1581
1989
    ac_aux_dir=$ac_dir
1582
1990
    ac_install_sh="$ac_aux_dir/install.sh -c"
1583
1991
    break
1584
 
  elif test -f $ac_dir/shtool; then
 
1992
  elif test -f "$ac_dir/shtool"; then
1585
1993
    ac_aux_dir=$ac_dir
1586
1994
    ac_install_sh="$ac_aux_dir/shtool install -c"
1587
1995
    break
1588
1996
  fi
1589
1997
done
1590
1998
if test -z "$ac_aux_dir"; then
1591
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1592
 
echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
 
1999
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
 
2000
echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1593
2001
   { (exit 1); exit 1; }; }
1594
2002
fi
1595
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1596
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1597
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2003
 
 
2004
# These three variables are undocumented and unsupported,
 
2005
# and are intended to be withdrawn in a future Autoconf release.
 
2006
# They can cause serious problems if a builder's source tree is in a directory
 
2007
# whose full name contains unusual characters.
 
2008
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2009
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2010
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2011
 
1598
2012
 
1599
2013
am__api_version="1.9"
1600
2014
# Find a good install program.  We prefer a C program (faster),
1610
2024
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1611
2025
# OS/2's system install, which has a completely different semantic
1612
2026
# ./install, which can be erroneously created by make from ./install.sh.
1613
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1614
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2027
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2028
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1615
2029
if test -z "$INSTALL"; then
1616
2030
if test "${ac_cv_path_install+set}" = set; then
1617
2031
  echo $ECHO_N "(cached) $ECHO_C" >&6
1633
2047
    # by default.
1634
2048
    for ac_prog in ginstall scoinst install; do
1635
2049
      for ac_exec_ext in '' $ac_executable_extensions; do
1636
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2050
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1637
2051
          if test $ac_prog = install &&
1638
2052
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1639
2053
            # AIX install.  It has an incompatible calling convention.
1652
2066
    ;;
1653
2067
esac
1654
2068
done
 
2069
IFS=$as_save_IFS
1655
2070
 
1656
2071
 
1657
2072
fi
1658
2073
  if test "${ac_cv_path_install+set}" = set; then
1659
2074
    INSTALL=$ac_cv_path_install
1660
2075
  else
1661
 
    # As a last resort, use the slow shell script.  We don't cache a
1662
 
    # path for INSTALL within a source directory, because that will
 
2076
    # As a last resort, use the slow shell script.  Don't cache a
 
2077
    # value for INSTALL within a source directory, because that will
1663
2078
    # break other packages using the cache if that directory is
1664
 
    # removed, or if the path is relative.
 
2079
    # removed, or if the value is a relative name.
1665
2080
    INSTALL=$ac_install_sh
1666
2081
  fi
1667
2082
fi
1668
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1669
 
echo "${ECHO_T}$INSTALL" >&6
 
2083
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2084
echo "${ECHO_T}$INSTALL" >&6; }
1670
2085
 
1671
2086
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1672
2087
# It thinks the first close brace ends the variable substitution.
1676
2091
 
1677
2092
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1678
2093
 
1679
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1680
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2094
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2095
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1681
2096
# Just in case
1682
2097
sleep 1
1683
2098
echo timestamp > conftest.file
1719
2134
Check your system clock" >&2;}
1720
2135
   { (exit 1); exit 1; }; }
1721
2136
fi
1722
 
echo "$as_me:$LINENO: result: yes" >&5
1723
 
echo "${ECHO_T}yes" >&6
 
2137
{ echo "$as_me:$LINENO: result: yes" >&5
 
2138
echo "${ECHO_T}yes" >&6; }
1724
2139
test "$program_prefix" != NONE &&
1725
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2140
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1726
2141
# Use a double $ so make ignores it.
1727
2142
test "$program_suffix" != NONE &&
1728
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2143
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1729
2144
# Double any \ or $.  echo might interpret backslashes.
1730
2145
# By default was `s,x,x', remove it if useless.
1731
2146
cat <<\_ACEOF >conftest.sed
1732
2147
s/[\\$]/&&/g;s/;s,x,x,$//
1733
2148
_ACEOF
1734
2149
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1735
 
rm conftest.sed
 
2150
rm -f conftest.sed
1736
2151
 
1737
2152
# expand $ac_aux_dir to an absolute path
1738
2153
am_aux_dir=`cd $ac_aux_dir && pwd`
1784
2199
do
1785
2200
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1786
2201
set dummy $ac_prog; ac_word=$2
1787
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1788
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2202
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2203
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1789
2204
if test "${ac_cv_prog_AWK+set}" = set; then
1790
2205
  echo $ECHO_N "(cached) $ECHO_C" >&6
1791
2206
else
1798
2213
  IFS=$as_save_IFS
1799
2214
  test -z "$as_dir" && as_dir=.
1800
2215
  for ac_exec_ext in '' $ac_executable_extensions; do
1801
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2216
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1802
2217
    ac_cv_prog_AWK="$ac_prog"
1803
2218
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1804
2219
    break 2
1805
2220
  fi
1806
2221
done
1807
2222
done
 
2223
IFS=$as_save_IFS
1808
2224
 
1809
2225
fi
1810
2226
fi
1811
2227
AWK=$ac_cv_prog_AWK
1812
2228
if test -n "$AWK"; then
1813
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1814
 
echo "${ECHO_T}$AWK" >&6
 
2229
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2230
echo "${ECHO_T}$AWK" >&6; }
1815
2231
else
1816
 
  echo "$as_me:$LINENO: result: no" >&5
1817
 
echo "${ECHO_T}no" >&6
 
2232
  { echo "$as_me:$LINENO: result: no" >&5
 
2233
echo "${ECHO_T}no" >&6; }
1818
2234
fi
1819
2235
 
 
2236
 
1820
2237
  test -n "$AWK" && break
1821
2238
done
1822
2239
 
1823
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1824
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1825
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1826
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2240
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2241
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2242
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2243
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1827
2244
  echo $ECHO_N "(cached) $ECHO_C" >&6
1828
2245
else
1829
2246
  cat >conftest.make <<\_ACEOF
 
2247
SHELL = /bin/sh
1830
2248
all:
1831
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2249
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1832
2250
_ACEOF
1833
2251
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1834
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1835
 
if test -n "$ac_maketemp"; then
1836
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1837
 
else
1838
 
  eval ac_cv_prog_make_${ac_make}_set=no
1839
 
fi
 
2252
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2253
  *@@@%%%=?*=@@@%%%*)
 
2254
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2255
  *)
 
2256
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2257
esac
1840
2258
rm -f conftest.make
1841
2259
fi
1842
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1843
 
  echo "$as_me:$LINENO: result: yes" >&5
1844
 
echo "${ECHO_T}yes" >&6
 
2260
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2261
  { echo "$as_me:$LINENO: result: yes" >&5
 
2262
echo "${ECHO_T}yes" >&6; }
1845
2263
  SET_MAKE=
1846
2264
else
1847
 
  echo "$as_me:$LINENO: result: no" >&5
1848
 
echo "${ECHO_T}no" >&6
 
2265
  { echo "$as_me:$LINENO: result: no" >&5
 
2266
echo "${ECHO_T}no" >&6; }
1849
2267
  SET_MAKE="MAKE=${MAKE-make}"
1850
2268
fi
1851
2269
 
1878
2296
 
1879
2297
# Define the identity of the package.
1880
2298
 PACKAGE='hplip'
1881
 
 VERSION='0.9.11'
 
2299
 VERSION='1.6.7'
1882
2300
 
1883
2301
 
1884
2302
cat >>confdefs.h <<_ACEOF
1916
2334
  if test -n "$ac_tool_prefix"; then
1917
2335
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1918
2336
set dummy ${ac_tool_prefix}strip; ac_word=$2
1919
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1920
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2337
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2338
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1921
2339
if test "${ac_cv_prog_STRIP+set}" = set; then
1922
2340
  echo $ECHO_N "(cached) $ECHO_C" >&6
1923
2341
else
1930
2348
  IFS=$as_save_IFS
1931
2349
  test -z "$as_dir" && as_dir=.
1932
2350
  for ac_exec_ext in '' $ac_executable_extensions; do
1933
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1934
2352
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1935
2353
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936
2354
    break 2
1937
2355
  fi
1938
2356
done
1939
2357
done
 
2358
IFS=$as_save_IFS
1940
2359
 
1941
2360
fi
1942
2361
fi
1943
2362
STRIP=$ac_cv_prog_STRIP
1944
2363
if test -n "$STRIP"; then
1945
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1946
 
echo "${ECHO_T}$STRIP" >&6
 
2364
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2365
echo "${ECHO_T}$STRIP" >&6; }
1947
2366
else
1948
 
  echo "$as_me:$LINENO: result: no" >&5
1949
 
echo "${ECHO_T}no" >&6
 
2367
  { echo "$as_me:$LINENO: result: no" >&5
 
2368
echo "${ECHO_T}no" >&6; }
1950
2369
fi
 
2370
 
1951
2371
 
1952
2372
fi
1953
2373
if test -z "$ac_cv_prog_STRIP"; then
1954
2374
  ac_ct_STRIP=$STRIP
1955
2375
  # Extract the first word of "strip", so it can be a program name with args.
1956
2376
set dummy strip; ac_word=$2
1957
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1958
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2377
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2378
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1959
2379
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1960
2380
  echo $ECHO_N "(cached) $ECHO_C" >&6
1961
2381
else
1968
2388
  IFS=$as_save_IFS
1969
2389
  test -z "$as_dir" && as_dir=.
1970
2390
  for ac_exec_ext in '' $ac_executable_extensions; do
1971
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2391
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1972
2392
    ac_cv_prog_ac_ct_STRIP="strip"
1973
2393
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974
2394
    break 2
1975
2395
  fi
1976
2396
done
1977
2397
done
 
2398
IFS=$as_save_IFS
1978
2399
 
1979
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1980
2400
fi
1981
2401
fi
1982
2402
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1983
2403
if test -n "$ac_ct_STRIP"; then
1984
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1985
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2404
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2405
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1986
2406
else
1987
 
  echo "$as_me:$LINENO: result: no" >&5
1988
 
echo "${ECHO_T}no" >&6
 
2407
  { echo "$as_me:$LINENO: result: no" >&5
 
2408
echo "${ECHO_T}no" >&6; }
1989
2409
fi
1990
2410
 
1991
 
  STRIP=$ac_ct_STRIP
 
2411
  if test "x$ac_ct_STRIP" = x; then
 
2412
    STRIP=":"
 
2413
  else
 
2414
    case $cross_compiling:$ac_tool_warned in
 
2415
yes:)
 
2416
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2417
whose name does not start with the host triplet.  If you think this
 
2418
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2419
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2420
whose name does not start with the host triplet.  If you think this
 
2421
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2422
ac_tool_warned=yes ;;
 
2423
esac
 
2424
    STRIP=$ac_ct_STRIP
 
2425
  fi
1992
2426
else
1993
2427
  STRIP="$ac_cv_prog_STRIP"
1994
2428
fi
2008
2442
 
2009
2443
 
2010
2444
 
2011
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2012
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2013
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2445
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2446
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2447
    # Check whether --enable-maintainer-mode was given.
2014
2448
if test "${enable_maintainer_mode+set}" = set; then
2015
 
  enableval="$enable_maintainer_mode"
2016
 
  USE_MAINTAINER_MODE=$enableval
 
2449
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2017
2450
else
2018
2451
  USE_MAINTAINER_MODE=no
2019
 
fi;
2020
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2021
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2452
fi
 
2453
 
 
2454
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2455
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2022
2456
 
2023
2457
 
2024
2458
if test $USE_MAINTAINER_MODE = yes; then
2032
2466
  MAINT=$MAINTAINER_MODE_TRUE
2033
2467
 
2034
2468
 
2035
 
# Check whether --enable-static or --disable-static was given.
 
2469
# Check whether --enable-static was given.
2036
2470
if test "${enable_static+set}" = set; then
2037
 
  enableval="$enable_static"
2038
 
  p=${PACKAGE-default}
 
2471
  enableval=$enable_static; p=${PACKAGE-default}
2039
2472
    case $enableval in
2040
2473
    yes) enable_static=yes ;;
2041
2474
    no) enable_static=no ;;
2054
2487
    esac
2055
2488
else
2056
2489
  enable_static=no
2057
 
fi;
2058
 
 
2059
 
 
2060
 
# Check whether --enable-shared or --disable-shared was given.
 
2490
fi
 
2491
 
 
2492
 
 
2493
 
 
2494
# Check whether --enable-shared was given.
2061
2495
if test "${enable_shared+set}" = set; then
2062
 
  enableval="$enable_shared"
2063
 
  p=${PACKAGE-default}
 
2496
  enableval=$enable_shared; p=${PACKAGE-default}
2064
2497
    case $enableval in
2065
2498
    yes) enable_shared=yes ;;
2066
2499
    no) enable_shared=no ;;
2079
2512
    esac
2080
2513
else
2081
2514
  enable_shared=yes
2082
 
fi;
2083
 
 
2084
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
2515
fi
 
2516
 
 
2517
 
 
2518
# Check whether --enable-fast-install was given.
2085
2519
if test "${enable_fast_install+set}" = set; then
2086
 
  enableval="$enable_fast_install"
2087
 
  p=${PACKAGE-default}
 
2520
  enableval=$enable_fast_install; p=${PACKAGE-default}
2088
2521
    case $enableval in
2089
2522
    yes) enable_fast_install=yes ;;
2090
2523
    no) enable_fast_install=no ;;
2103
2536
    esac
2104
2537
else
2105
2538
  enable_fast_install=yes
2106
 
fi;
 
2539
fi
 
2540
 
2107
2541
 
2108
2542
# Make sure we can run config.sub.
2109
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2110
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2111
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2543
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2544
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2545
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112
2546
   { (exit 1); exit 1; }; }
2113
2547
 
2114
 
echo "$as_me:$LINENO: checking build system type" >&5
2115
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2548
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2549
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116
2550
if test "${ac_cv_build+set}" = set; then
2117
2551
  echo $ECHO_N "(cached) $ECHO_C" >&6
2118
2552
else
2119
 
  ac_cv_build_alias=$build_alias
2120
 
test -z "$ac_cv_build_alias" &&
2121
 
  ac_cv_build_alias=`$ac_config_guess`
2122
 
test -z "$ac_cv_build_alias" &&
 
2553
  ac_build_alias=$build_alias
 
2554
test "x$ac_build_alias" = x &&
 
2555
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2556
test "x$ac_build_alias" = x &&
2123
2557
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124
2558
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125
2559
   { (exit 1); exit 1; }; }
2126
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2127
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2128
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2560
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2561
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2562
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129
2563
   { (exit 1); exit 1; }; }
2130
2564
 
2131
2565
fi
2132
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2566
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2567
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2568
case $ac_cv_build in
 
2569
*-*-*) ;;
 
2570
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2571
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2572
   { (exit 1); exit 1; }; };;
 
2573
esac
2134
2574
build=$ac_cv_build
2135
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2136
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2137
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2138
 
 
2139
 
 
2140
 
echo "$as_me:$LINENO: checking host system type" >&5
2141
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2575
ac_save_IFS=$IFS; IFS='-'
 
2576
set x $ac_cv_build
 
2577
shift
 
2578
build_cpu=$1
 
2579
build_vendor=$2
 
2580
shift; shift
 
2581
# Remember, the first character of IFS is used to create $*,
 
2582
# except with old shells:
 
2583
build_os=$*
 
2584
IFS=$ac_save_IFS
 
2585
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2586
 
 
2587
 
 
2588
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2589
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2142
2590
if test "${ac_cv_host+set}" = set; then
2143
2591
  echo $ECHO_N "(cached) $ECHO_C" >&6
2144
2592
else
2145
 
  ac_cv_host_alias=$host_alias
2146
 
test -z "$ac_cv_host_alias" &&
2147
 
  ac_cv_host_alias=$ac_cv_build_alias
2148
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2149
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2150
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2593
  if test "x$host_alias" = x; then
 
2594
  ac_cv_host=$ac_cv_build
 
2595
else
 
2596
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2597
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2598
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2151
2599
   { (exit 1); exit 1; }; }
 
2600
fi
2152
2601
 
2153
2602
fi
2154
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2155
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2603
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2604
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2605
case $ac_cv_host in
 
2606
*-*-*) ;;
 
2607
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2608
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2609
   { (exit 1); exit 1; }; };;
 
2610
esac
2156
2611
host=$ac_cv_host
2157
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2158
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2159
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2612
ac_save_IFS=$IFS; IFS='-'
 
2613
set x $ac_cv_host
 
2614
shift
 
2615
host_cpu=$1
 
2616
host_vendor=$2
 
2617
shift; shift
 
2618
# Remember, the first character of IFS is used to create $*,
 
2619
# except with old shells:
 
2620
host_os=$*
 
2621
IFS=$ac_save_IFS
 
2622
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2160
2623
 
2161
2624
 
2162
2625
DEPDIR="${am__leading_dot}deps"
2163
2626
 
2164
 
          ac_config_commands="$ac_config_commands depfiles"
 
2627
ac_config_commands="$ac_config_commands depfiles"
2165
2628
 
2166
2629
 
2167
2630
am_make=${MAKE-make}
2171
2634
.PHONY: am__doit
2172
2635
END
2173
2636
# If we don't find an include directive, just comment out the code.
2174
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2175
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2637
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2638
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2176
2639
am__include="#"
2177
2640
am__quote=
2178
2641
_am_result=none
2199
2662
fi
2200
2663
 
2201
2664
 
2202
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2203
 
echo "${ECHO_T}$_am_result" >&6
 
2665
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
2666
echo "${ECHO_T}$_am_result" >&6; }
2204
2667
rm -f confinc confmf
2205
2668
 
2206
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2669
# Check whether --enable-dependency-tracking was given.
2207
2670
if test "${enable_dependency_tracking+set}" = set; then
2208
 
  enableval="$enable_dependency_tracking"
 
2671
  enableval=$enable_dependency_tracking;
 
2672
fi
2209
2673
 
2210
 
fi;
2211
2674
if test "x$enable_dependency_tracking" != xno; then
2212
2675
  am_depcomp="$ac_aux_dir/depcomp"
2213
2676
  AMDEPBACKSLASH='\'
2232
2695
if test -n "$ac_tool_prefix"; then
2233
2696
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2234
2697
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2235
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2236
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2698
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2699
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237
2700
if test "${ac_cv_prog_CC+set}" = set; then
2238
2701
  echo $ECHO_N "(cached) $ECHO_C" >&6
2239
2702
else
2246
2709
  IFS=$as_save_IFS
2247
2710
  test -z "$as_dir" && as_dir=.
2248
2711
  for ac_exec_ext in '' $ac_executable_extensions; do
2249
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2712
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2250
2713
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2251
2714
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252
2715
    break 2
2253
2716
  fi
2254
2717
done
2255
2718
done
 
2719
IFS=$as_save_IFS
2256
2720
 
2257
2721
fi
2258
2722
fi
2259
2723
CC=$ac_cv_prog_CC
2260
2724
if test -n "$CC"; then
2261
 
  echo "$as_me:$LINENO: result: $CC" >&5
2262
 
echo "${ECHO_T}$CC" >&6
 
2725
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2726
echo "${ECHO_T}$CC" >&6; }
2263
2727
else
2264
 
  echo "$as_me:$LINENO: result: no" >&5
2265
 
echo "${ECHO_T}no" >&6
 
2728
  { echo "$as_me:$LINENO: result: no" >&5
 
2729
echo "${ECHO_T}no" >&6; }
2266
2730
fi
 
2731
 
2267
2732
 
2268
2733
fi
2269
2734
if test -z "$ac_cv_prog_CC"; then
2270
2735
  ac_ct_CC=$CC
2271
2736
  # Extract the first word of "gcc", so it can be a program name with args.
2272
2737
set dummy gcc; ac_word=$2
2273
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2274
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2738
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2739
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275
2740
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276
2741
  echo $ECHO_N "(cached) $ECHO_C" >&6
2277
2742
else
2284
2749
  IFS=$as_save_IFS
2285
2750
  test -z "$as_dir" && as_dir=.
2286
2751
  for ac_exec_ext in '' $ac_executable_extensions; do
2287
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2288
2753
    ac_cv_prog_ac_ct_CC="gcc"
2289
2754
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290
2755
    break 2
2291
2756
  fi
2292
2757
done
2293
2758
done
 
2759
IFS=$as_save_IFS
2294
2760
 
2295
2761
fi
2296
2762
fi
2297
2763
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298
2764
if test -n "$ac_ct_CC"; then
2299
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2765
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2766
echo "${ECHO_T}$ac_ct_CC" >&6; }
2301
2767
else
2302
 
  echo "$as_me:$LINENO: result: no" >&5
2303
 
echo "${ECHO_T}no" >&6
 
2768
  { echo "$as_me:$LINENO: result: no" >&5
 
2769
echo "${ECHO_T}no" >&6; }
2304
2770
fi
2305
2771
 
2306
 
  CC=$ac_ct_CC
 
2772
  if test "x$ac_ct_CC" = x; then
 
2773
    CC=""
 
2774
  else
 
2775
    case $cross_compiling:$ac_tool_warned in
 
2776
yes:)
 
2777
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2778
whose name does not start with the host triplet.  If you think this
 
2779
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2780
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2781
whose name does not start with the host triplet.  If you think this
 
2782
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2783
ac_tool_warned=yes ;;
 
2784
esac
 
2785
    CC=$ac_ct_CC
 
2786
  fi
2307
2787
else
2308
2788
  CC="$ac_cv_prog_CC"
2309
2789
fi
2310
2790
 
2311
2791
if test -z "$CC"; then
2312
 
  if test -n "$ac_tool_prefix"; then
2313
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2792
          if test -n "$ac_tool_prefix"; then
 
2793
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2314
2794
set dummy ${ac_tool_prefix}cc; ac_word=$2
2315
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2316
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2795
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2796
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2317
2797
if test "${ac_cv_prog_CC+set}" = set; then
2318
2798
  echo $ECHO_N "(cached) $ECHO_C" >&6
2319
2799
else
2326
2806
  IFS=$as_save_IFS
2327
2807
  test -z "$as_dir" && as_dir=.
2328
2808
  for ac_exec_ext in '' $ac_executable_extensions; do
2329
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2809
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2330
2810
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2331
2811
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332
2812
    break 2
2333
2813
  fi
2334
2814
done
2335
2815
done
 
2816
IFS=$as_save_IFS
2336
2817
 
2337
2818
fi
2338
2819
fi
2339
2820
CC=$ac_cv_prog_CC
2340
2821
if test -n "$CC"; then
2341
 
  echo "$as_me:$LINENO: result: $CC" >&5
2342
 
echo "${ECHO_T}$CC" >&6
2343
 
else
2344
 
  echo "$as_me:$LINENO: result: no" >&5
2345
 
echo "${ECHO_T}no" >&6
2346
 
fi
2347
 
 
2348
 
fi
2349
 
if test -z "$ac_cv_prog_CC"; then
2350
 
  ac_ct_CC=$CC
2351
 
  # Extract the first word of "cc", so it can be a program name with args.
2352
 
set dummy cc; ac_word=$2
2353
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2354
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2355
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2357
 
else
2358
 
  if test -n "$ac_ct_CC"; then
2359
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2360
 
else
2361
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362
 
for as_dir in $PATH
2363
 
do
2364
 
  IFS=$as_save_IFS
2365
 
  test -z "$as_dir" && as_dir=.
2366
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2367
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368
 
    ac_cv_prog_ac_ct_CC="cc"
2369
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370
 
    break 2
 
2822
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2823
echo "${ECHO_T}$CC" >&6; }
 
2824
else
 
2825
  { echo "$as_me:$LINENO: result: no" >&5
 
2826
echo "${ECHO_T}no" >&6; }
 
2827
fi
 
2828
 
 
2829
 
2371
2830
  fi
2372
 
done
2373
 
done
2374
 
 
2375
 
fi
2376
 
fi
2377
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2378
 
if test -n "$ac_ct_CC"; then
2379
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2380
 
echo "${ECHO_T}$ac_ct_CC" >&6
2381
 
else
2382
 
  echo "$as_me:$LINENO: result: no" >&5
2383
 
echo "${ECHO_T}no" >&6
2384
 
fi
2385
 
 
2386
 
  CC=$ac_ct_CC
2387
 
else
2388
 
  CC="$ac_cv_prog_CC"
2389
 
fi
2390
 
 
2391
2831
fi
2392
2832
if test -z "$CC"; then
2393
2833
  # Extract the first word of "cc", so it can be a program name with args.
2394
2834
set dummy cc; ac_word=$2
2395
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2396
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2835
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2836
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397
2837
if test "${ac_cv_prog_CC+set}" = set; then
2398
2838
  echo $ECHO_N "(cached) $ECHO_C" >&6
2399
2839
else
2407
2847
  IFS=$as_save_IFS
2408
2848
  test -z "$as_dir" && as_dir=.
2409
2849
  for ac_exec_ext in '' $ac_executable_extensions; do
2410
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2411
2851
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2412
2852
       ac_prog_rejected=yes
2413
2853
       continue
2418
2858
  fi
2419
2859
done
2420
2860
done
 
2861
IFS=$as_save_IFS
2421
2862
 
2422
2863
if test $ac_prog_rejected = yes; then
2423
2864
  # We found a bogon in the path, so make sure we never use it.
2435
2876
fi
2436
2877
CC=$ac_cv_prog_CC
2437
2878
if test -n "$CC"; then
2438
 
  echo "$as_me:$LINENO: result: $CC" >&5
2439
 
echo "${ECHO_T}$CC" >&6
 
2879
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2880
echo "${ECHO_T}$CC" >&6; }
2440
2881
else
2441
 
  echo "$as_me:$LINENO: result: no" >&5
2442
 
echo "${ECHO_T}no" >&6
 
2882
  { echo "$as_me:$LINENO: result: no" >&5
 
2883
echo "${ECHO_T}no" >&6; }
2443
2884
fi
 
2885
 
2444
2886
 
2445
2887
fi
2446
2888
if test -z "$CC"; then
2447
2889
  if test -n "$ac_tool_prefix"; then
2448
 
  for ac_prog in cl
 
2890
  for ac_prog in cl.exe
2449
2891
  do
2450
2892
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2451
2893
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2452
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2453
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2894
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2895
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2454
2896
if test "${ac_cv_prog_CC+set}" = set; then
2455
2897
  echo $ECHO_N "(cached) $ECHO_C" >&6
2456
2898
else
2463
2905
  IFS=$as_save_IFS
2464
2906
  test -z "$as_dir" && as_dir=.
2465
2907
  for ac_exec_ext in '' $ac_executable_extensions; do
2466
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2467
2909
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2468
2910
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469
2911
    break 2
2470
2912
  fi
2471
2913
done
2472
2914
done
 
2915
IFS=$as_save_IFS
2473
2916
 
2474
2917
fi
2475
2918
fi
2476
2919
CC=$ac_cv_prog_CC
2477
2920
if test -n "$CC"; then
2478
 
  echo "$as_me:$LINENO: result: $CC" >&5
2479
 
echo "${ECHO_T}$CC" >&6
 
2921
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2922
echo "${ECHO_T}$CC" >&6; }
2480
2923
else
2481
 
  echo "$as_me:$LINENO: result: no" >&5
2482
 
echo "${ECHO_T}no" >&6
 
2924
  { echo "$as_me:$LINENO: result: no" >&5
 
2925
echo "${ECHO_T}no" >&6; }
2483
2926
fi
2484
2927
 
 
2928
 
2485
2929
    test -n "$CC" && break
2486
2930
  done
2487
2931
fi
2488
2932
if test -z "$CC"; then
2489
2933
  ac_ct_CC=$CC
2490
 
  for ac_prog in cl
 
2934
  for ac_prog in cl.exe
2491
2935
do
2492
2936
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2493
2937
set dummy $ac_prog; ac_word=$2
2494
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2495
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2938
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2939
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496
2940
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2497
2941
  echo $ECHO_N "(cached) $ECHO_C" >&6
2498
2942
else
2505
2949
  IFS=$as_save_IFS
2506
2950
  test -z "$as_dir" && as_dir=.
2507
2951
  for ac_exec_ext in '' $ac_executable_extensions; do
2508
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2952
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2509
2953
    ac_cv_prog_ac_ct_CC="$ac_prog"
2510
2954
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511
2955
    break 2
2512
2956
  fi
2513
2957
done
2514
2958
done
 
2959
IFS=$as_save_IFS
2515
2960
 
2516
2961
fi
2517
2962
fi
2518
2963
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2519
2964
if test -n "$ac_ct_CC"; then
2520
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2521
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2965
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2966
echo "${ECHO_T}$ac_ct_CC" >&6; }
2522
2967
else
2523
 
  echo "$as_me:$LINENO: result: no" >&5
2524
 
echo "${ECHO_T}no" >&6
 
2968
  { echo "$as_me:$LINENO: result: no" >&5
 
2969
echo "${ECHO_T}no" >&6; }
2525
2970
fi
2526
2971
 
 
2972
 
2527
2973
  test -n "$ac_ct_CC" && break
2528
2974
done
2529
2975
 
2530
 
  CC=$ac_ct_CC
 
2976
  if test "x$ac_ct_CC" = x; then
 
2977
    CC=""
 
2978
  else
 
2979
    case $cross_compiling:$ac_tool_warned in
 
2980
yes:)
 
2981
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2982
whose name does not start with the host triplet.  If you think this
 
2983
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2984
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2985
whose name does not start with the host triplet.  If you think this
 
2986
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2987
ac_tool_warned=yes ;;
 
2988
esac
 
2989
    CC=$ac_ct_CC
 
2990
  fi
2531
2991
fi
2532
2992
 
2533
2993
fi
2540
3000
   { (exit 1); exit 1; }; }
2541
3001
 
2542
3002
# Provide some information about the compiler.
2543
 
echo "$as_me:$LINENO:" \
2544
 
     "checking for C compiler version" >&5
 
3003
echo "$as_me:$LINENO: checking for C compiler version" >&5
2545
3004
ac_compiler=`set X $ac_compile; echo $2`
2546
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2547
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2548
 
  ac_status=$?
2549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550
 
  (exit $ac_status); }
2551
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2552
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2553
 
  ac_status=$?
2554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
 
  (exit $ac_status); }
2556
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2557
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3005
{ (ac_try="$ac_compiler --version >&5"
 
3006
case "(($ac_try" in
 
3007
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3008
  *) ac_try_echo=$ac_try;;
 
3009
esac
 
3010
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3011
  (eval "$ac_compiler --version >&5") 2>&5
 
3012
  ac_status=$?
 
3013
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3014
  (exit $ac_status); }
 
3015
{ (ac_try="$ac_compiler -v >&5"
 
3016
case "(($ac_try" in
 
3017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3018
  *) ac_try_echo=$ac_try;;
 
3019
esac
 
3020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3021
  (eval "$ac_compiler -v >&5") 2>&5
 
3022
  ac_status=$?
 
3023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3024
  (exit $ac_status); }
 
3025
{ (ac_try="$ac_compiler -V >&5"
 
3026
case "(($ac_try" in
 
3027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3028
  *) ac_try_echo=$ac_try;;
 
3029
esac
 
3030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3031
  (eval "$ac_compiler -V >&5") 2>&5
2558
3032
  ac_status=$?
2559
3033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560
3034
  (exit $ac_status); }
2579
3053
# Try to create an executable without -o first, disregard a.out.
2580
3054
# It will help us diagnose broken compilers, and finding out an intuition
2581
3055
# of exeext.
2582
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2583
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3056
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3057
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2584
3058
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2585
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2586
 
  (eval $ac_link_default) 2>&5
 
3059
#
 
3060
# List of possible output files, starting from the most likely.
 
3061
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3062
# only as a last resort.  b.out is created by i960 compilers.
 
3063
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3064
#
 
3065
# The IRIX 6 linker writes into existing files which may not be
 
3066
# executable, retaining their permissions.  Remove them first so a
 
3067
# subsequent execution test works.
 
3068
ac_rmfiles=
 
3069
for ac_file in $ac_files
 
3070
do
 
3071
  case $ac_file in
 
3072
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3073
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3074
  esac
 
3075
done
 
3076
rm -f $ac_rmfiles
 
3077
 
 
3078
if { (ac_try="$ac_link_default"
 
3079
case "(($ac_try" in
 
3080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3081
  *) ac_try_echo=$ac_try;;
 
3082
esac
 
3083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3084
  (eval "$ac_link_default") 2>&5
2587
3085
  ac_status=$?
2588
3086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
3087
  (exit $ac_status); }; then
2590
 
  # Find the output, starting from the most likely.  This scheme is
2591
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2592
 
# resort.
2593
 
 
2594
 
# Be careful to initialize this variable, since it used to be cached.
2595
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2596
 
ac_cv_exeext=
2597
 
# b.out is created by i960 compilers.
2598
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3088
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3089
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3090
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3091
# so that the user can short-circuit this test for compilers unknown to
 
3092
# Autoconf.
 
3093
for ac_file in $ac_files
2599
3094
do
2600
3095
  test -f "$ac_file" || continue
2601
3096
  case $ac_file in
2602
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2603
 
        ;;
2604
 
    conftest.$ac_ext )
2605
 
        # This is the source file.
 
3097
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2606
3098
        ;;
2607
3099
    [ab].out )
2608
3100
        # We found the default executable, but exeext='' is most
2609
3101
        # certainly right.
2610
3102
        break;;
2611
3103
    *.* )
2612
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2613
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2614
 
        # but it would be cool to find out if it's true.  Does anybody
2615
 
        # maintain Libtool? --akim.
2616
 
        export ac_cv_exeext
 
3104
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3105
        then :; else
 
3106
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3107
        fi
 
3108
        # We set ac_cv_exeext here because the later test for it is not
 
3109
        # safe: cross compilers may not add the suffix if given an `-o'
 
3110
        # argument, so we may need to know it at that point already.
 
3111
        # Even if this section looks crufty: it has the advantage of
 
3112
        # actually working.
2617
3113
        break;;
2618
3114
    * )
2619
3115
        break;;
2620
3116
  esac
2621
3117
done
 
3118
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3119
 
2622
3120
else
2623
3121
  echo "$as_me: failed program was:" >&5
2624
3122
sed 's/^/| /' conftest.$ac_ext >&5
2631
3129
fi
2632
3130
 
2633
3131
ac_exeext=$ac_cv_exeext
2634
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2635
 
echo "${ECHO_T}$ac_file" >&6
 
3132
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3133
echo "${ECHO_T}$ac_file" >&6; }
2636
3134
 
2637
 
# Check the compiler produces executables we can run.  If not, either
 
3135
# Check that the compiler produces executables we can run.  If not, either
2638
3136
# the compiler is broken, or we cross compile.
2639
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2640
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3137
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3138
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2641
3139
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2642
3140
# If not cross compiling, check that we can run a simple program.
2643
3141
if test "$cross_compiling" != yes; then
2644
3142
  if { ac_try='./$ac_file'
2645
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646
 
  (eval $ac_try) 2>&5
 
3143
  { (case "(($ac_try" in
 
3144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3145
  *) ac_try_echo=$ac_try;;
 
3146
esac
 
3147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3148
  (eval "$ac_try") 2>&5
2647
3149
  ac_status=$?
2648
3150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649
3151
  (exit $ac_status); }; }; then
2662
3164
    fi
2663
3165
  fi
2664
3166
fi
2665
 
echo "$as_me:$LINENO: result: yes" >&5
2666
 
echo "${ECHO_T}yes" >&6
 
3167
{ echo "$as_me:$LINENO: result: yes" >&5
 
3168
echo "${ECHO_T}yes" >&6; }
2667
3169
 
2668
3170
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2669
3171
ac_clean_files=$ac_clean_files_save
2670
 
# Check the compiler produces executables we can run.  If not, either
 
3172
# Check that the compiler produces executables we can run.  If not, either
2671
3173
# the compiler is broken, or we cross compile.
2672
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2673
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2674
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2675
 
echo "${ECHO_T}$cross_compiling" >&6
 
3174
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3175
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3176
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3177
echo "${ECHO_T}$cross_compiling" >&6; }
2676
3178
 
2677
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2678
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2679
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2680
 
  (eval $ac_link) 2>&5
 
3179
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3180
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3181
if { (ac_try="$ac_link"
 
3182
case "(($ac_try" in
 
3183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3184
  *) ac_try_echo=$ac_try;;
 
3185
esac
 
3186
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3187
  (eval "$ac_link") 2>&5
2681
3188
  ac_status=$?
2682
3189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
3190
  (exit $ac_status); }; then
2688
3195
for ac_file in conftest.exe conftest conftest.*; do
2689
3196
  test -f "$ac_file" || continue
2690
3197
  case $ac_file in
2691
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3198
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2692
3199
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2693
 
          export ac_cv_exeext
2694
3200
          break;;
2695
3201
    * ) break;;
2696
3202
  esac
2704
3210
fi
2705
3211
 
2706
3212
rm -f conftest$ac_cv_exeext
2707
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2708
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3213
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3214
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2709
3215
 
2710
3216
rm -f conftest.$ac_ext
2711
3217
EXEEXT=$ac_cv_exeext
2712
3218
ac_exeext=$EXEEXT
2713
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2714
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3219
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3220
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2715
3221
if test "${ac_cv_objext+set}" = set; then
2716
3222
  echo $ECHO_N "(cached) $ECHO_C" >&6
2717
3223
else
2731
3237
}
2732
3238
_ACEOF
2733
3239
rm -f conftest.o conftest.obj
2734
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2735
 
  (eval $ac_compile) 2>&5
 
3240
if { (ac_try="$ac_compile"
 
3241
case "(($ac_try" in
 
3242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3243
  *) ac_try_echo=$ac_try;;
 
3244
esac
 
3245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3246
  (eval "$ac_compile") 2>&5
2736
3247
  ac_status=$?
2737
3248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
3249
  (exit $ac_status); }; then
2739
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3250
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3251
  test -f "$ac_file" || continue;
2740
3252
  case $ac_file in
2741
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3253
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2742
3254
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2743
3255
       break;;
2744
3256
  esac
2756
3268
 
2757
3269
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2758
3270
fi
2759
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2760
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3271
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3272
echo "${ECHO_T}$ac_cv_objext" >&6; }
2761
3273
OBJEXT=$ac_cv_objext
2762
3274
ac_objext=$OBJEXT
2763
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2764
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3275
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3276
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2765
3277
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2766
3278
  echo $ECHO_N "(cached) $ECHO_C" >&6
2767
3279
else
2784
3296
}
2785
3297
_ACEOF
2786
3298
rm -f conftest.$ac_objext
2787
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788
 
  (eval $ac_compile) 2>conftest.er1
 
3299
if { (ac_try="$ac_compile"
 
3300
case "(($ac_try" in
 
3301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3302
  *) ac_try_echo=$ac_try;;
 
3303
esac
 
3304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3305
  (eval "$ac_compile") 2>conftest.er1
2789
3306
  ac_status=$?
2790
3307
  grep -v '^ *+' conftest.er1 >conftest.err
2791
3308
  rm -f conftest.er1
2792
3309
  cat conftest.err >&5
2793
3310
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794
3311
  (exit $ac_status); } &&
2795
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797
 
  (eval $ac_try) 2>&5
 
3312
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3313
  { (case "(($ac_try" in
 
3314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3315
  *) ac_try_echo=$ac_try;;
 
3316
esac
 
3317
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3318
  (eval "$ac_try") 2>&5
2798
3319
  ac_status=$?
2799
3320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800
3321
  (exit $ac_status); }; } &&
2801
3322
         { ac_try='test -s conftest.$ac_objext'
2802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803
 
  (eval $ac_try) 2>&5
 
3323
  { (case "(($ac_try" in
 
3324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3325
  *) ac_try_echo=$ac_try;;
 
3326
esac
 
3327
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3328
  (eval "$ac_try") 2>&5
2804
3329
  ac_status=$?
2805
3330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806
3331
  (exit $ac_status); }; }; then
2809
3334
  echo "$as_me: failed program was:" >&5
2810
3335
sed 's/^/| /' conftest.$ac_ext >&5
2811
3336
 
2812
 
ac_compiler_gnu=no
 
3337
        ac_compiler_gnu=no
2813
3338
fi
2814
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3339
 
 
3340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815
3341
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2816
3342
 
2817
3343
fi
2818
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2819
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3344
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3345
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2820
3346
GCC=`test $ac_compiler_gnu = yes && echo yes`
2821
3347
ac_test_CFLAGS=${CFLAGS+set}
2822
3348
ac_save_CFLAGS=$CFLAGS
2823
 
CFLAGS="-g"
2824
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2825
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3349
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3350
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2826
3351
if test "${ac_cv_prog_cc_g+set}" = set; then
2827
3352
  echo $ECHO_N "(cached) $ECHO_C" >&6
2828
3353
else
2829
 
  cat >conftest.$ac_ext <<_ACEOF
2830
 
/* confdefs.h.  */
2831
 
_ACEOF
2832
 
cat confdefs.h >>conftest.$ac_ext
2833
 
cat >>conftest.$ac_ext <<_ACEOF
2834
 
/* end confdefs.h.  */
2835
 
 
2836
 
int
2837
 
main ()
2838
 
{
2839
 
 
2840
 
  ;
2841
 
  return 0;
2842
 
}
2843
 
_ACEOF
2844
 
rm -f conftest.$ac_objext
2845
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2846
 
  (eval $ac_compile) 2>conftest.er1
2847
 
  ac_status=$?
2848
 
  grep -v '^ *+' conftest.er1 >conftest.err
2849
 
  rm -f conftest.er1
2850
 
  cat conftest.err >&5
2851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852
 
  (exit $ac_status); } &&
2853
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855
 
  (eval $ac_try) 2>&5
2856
 
  ac_status=$?
2857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858
 
  (exit $ac_status); }; } &&
2859
 
         { ac_try='test -s conftest.$ac_objext'
2860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861
 
  (eval $ac_try) 2>&5
2862
 
  ac_status=$?
2863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864
 
  (exit $ac_status); }; }; then
2865
 
  ac_cv_prog_cc_g=yes
2866
 
else
2867
 
  echo "$as_me: failed program was:" >&5
2868
 
sed 's/^/| /' conftest.$ac_ext >&5
2869
 
 
2870
 
ac_cv_prog_cc_g=no
2871
 
fi
2872
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2873
 
fi
2874
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2875
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3354
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3355
   ac_c_werror_flag=yes
 
3356
   ac_cv_prog_cc_g=no
 
3357
   CFLAGS="-g"
 
3358
   cat >conftest.$ac_ext <<_ACEOF
 
3359
/* confdefs.h.  */
 
3360
_ACEOF
 
3361
cat confdefs.h >>conftest.$ac_ext
 
3362
cat >>conftest.$ac_ext <<_ACEOF
 
3363
/* end confdefs.h.  */
 
3364
 
 
3365
int
 
3366
main ()
 
3367
{
 
3368
 
 
3369
  ;
 
3370
  return 0;
 
3371
}
 
3372
_ACEOF
 
3373
rm -f conftest.$ac_objext
 
3374
if { (ac_try="$ac_compile"
 
3375
case "(($ac_try" in
 
3376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3377
  *) ac_try_echo=$ac_try;;
 
3378
esac
 
3379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3380
  (eval "$ac_compile") 2>conftest.er1
 
3381
  ac_status=$?
 
3382
  grep -v '^ *+' conftest.er1 >conftest.err
 
3383
  rm -f conftest.er1
 
3384
  cat conftest.err >&5
 
3385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3386
  (exit $ac_status); } &&
 
3387
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3388
  { (case "(($ac_try" in
 
3389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3390
  *) ac_try_echo=$ac_try;;
 
3391
esac
 
3392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3393
  (eval "$ac_try") 2>&5
 
3394
  ac_status=$?
 
3395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3396
  (exit $ac_status); }; } &&
 
3397
         { ac_try='test -s conftest.$ac_objext'
 
3398
  { (case "(($ac_try" in
 
3399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3400
  *) ac_try_echo=$ac_try;;
 
3401
esac
 
3402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3403
  (eval "$ac_try") 2>&5
 
3404
  ac_status=$?
 
3405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3406
  (exit $ac_status); }; }; then
 
3407
  ac_cv_prog_cc_g=yes
 
3408
else
 
3409
  echo "$as_me: failed program was:" >&5
 
3410
sed 's/^/| /' conftest.$ac_ext >&5
 
3411
 
 
3412
        CFLAGS=""
 
3413
      cat >conftest.$ac_ext <<_ACEOF
 
3414
/* confdefs.h.  */
 
3415
_ACEOF
 
3416
cat confdefs.h >>conftest.$ac_ext
 
3417
cat >>conftest.$ac_ext <<_ACEOF
 
3418
/* end confdefs.h.  */
 
3419
 
 
3420
int
 
3421
main ()
 
3422
{
 
3423
 
 
3424
  ;
 
3425
  return 0;
 
3426
}
 
3427
_ACEOF
 
3428
rm -f conftest.$ac_objext
 
3429
if { (ac_try="$ac_compile"
 
3430
case "(($ac_try" in
 
3431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3432
  *) ac_try_echo=$ac_try;;
 
3433
esac
 
3434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3435
  (eval "$ac_compile") 2>conftest.er1
 
3436
  ac_status=$?
 
3437
  grep -v '^ *+' conftest.er1 >conftest.err
 
3438
  rm -f conftest.er1
 
3439
  cat conftest.err >&5
 
3440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3441
  (exit $ac_status); } &&
 
3442
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3443
  { (case "(($ac_try" in
 
3444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3445
  *) ac_try_echo=$ac_try;;
 
3446
esac
 
3447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3448
  (eval "$ac_try") 2>&5
 
3449
  ac_status=$?
 
3450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3451
  (exit $ac_status); }; } &&
 
3452
         { ac_try='test -s conftest.$ac_objext'
 
3453
  { (case "(($ac_try" in
 
3454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3455
  *) ac_try_echo=$ac_try;;
 
3456
esac
 
3457
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3458
  (eval "$ac_try") 2>&5
 
3459
  ac_status=$?
 
3460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3461
  (exit $ac_status); }; }; then
 
3462
  :
 
3463
else
 
3464
  echo "$as_me: failed program was:" >&5
 
3465
sed 's/^/| /' conftest.$ac_ext >&5
 
3466
 
 
3467
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3468
         CFLAGS="-g"
 
3469
         cat >conftest.$ac_ext <<_ACEOF
 
3470
/* confdefs.h.  */
 
3471
_ACEOF
 
3472
cat confdefs.h >>conftest.$ac_ext
 
3473
cat >>conftest.$ac_ext <<_ACEOF
 
3474
/* end confdefs.h.  */
 
3475
 
 
3476
int
 
3477
main ()
 
3478
{
 
3479
 
 
3480
  ;
 
3481
  return 0;
 
3482
}
 
3483
_ACEOF
 
3484
rm -f conftest.$ac_objext
 
3485
if { (ac_try="$ac_compile"
 
3486
case "(($ac_try" in
 
3487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3488
  *) ac_try_echo=$ac_try;;
 
3489
esac
 
3490
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3491
  (eval "$ac_compile") 2>conftest.er1
 
3492
  ac_status=$?
 
3493
  grep -v '^ *+' conftest.er1 >conftest.err
 
3494
  rm -f conftest.er1
 
3495
  cat conftest.err >&5
 
3496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3497
  (exit $ac_status); } &&
 
3498
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3499
  { (case "(($ac_try" in
 
3500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3501
  *) ac_try_echo=$ac_try;;
 
3502
esac
 
3503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3504
  (eval "$ac_try") 2>&5
 
3505
  ac_status=$?
 
3506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3507
  (exit $ac_status); }; } &&
 
3508
         { ac_try='test -s conftest.$ac_objext'
 
3509
  { (case "(($ac_try" in
 
3510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3511
  *) ac_try_echo=$ac_try;;
 
3512
esac
 
3513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3514
  (eval "$ac_try") 2>&5
 
3515
  ac_status=$?
 
3516
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3517
  (exit $ac_status); }; }; then
 
3518
  ac_cv_prog_cc_g=yes
 
3519
else
 
3520
  echo "$as_me: failed program was:" >&5
 
3521
sed 's/^/| /' conftest.$ac_ext >&5
 
3522
 
 
3523
 
 
3524
fi
 
3525
 
 
3526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3527
fi
 
3528
 
 
3529
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3530
fi
 
3531
 
 
3532
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3533
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3534
fi
 
3535
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3536
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2876
3537
if test "$ac_test_CFLAGS" = set; then
2877
3538
  CFLAGS=$ac_save_CFLAGS
2878
3539
elif test $ac_cv_prog_cc_g = yes; then
2888
3549
    CFLAGS=
2889
3550
  fi
2890
3551
fi
2891
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2892
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2893
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3552
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3553
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3554
if test "${ac_cv_prog_cc_c89+set}" = set; then
2894
3555
  echo $ECHO_N "(cached) $ECHO_C" >&6
2895
3556
else
2896
 
  ac_cv_prog_cc_stdc=no
 
3557
  ac_cv_prog_cc_c89=no
2897
3558
ac_save_CC=$CC
2898
3559
cat >conftest.$ac_ext <<_ACEOF
2899
3560
/* confdefs.h.  */
2927
3588
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2928
3589
   function prototypes and stuff, but not '\xHH' hex character constants.
2929
3590
   These don't provoke an error unfortunately, instead are silently treated
2930
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3591
   as 'x'.  The following induces an error, until -std is added to get
2931
3592
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2932
3593
   array size at least.  It's necessary to write '\x00'==0 to get something
2933
 
   that's true only with -std1.  */
 
3594
   that's true only with -std.  */
2934
3595
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2935
3596
 
 
3597
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3598
   inside strings and character constants.  */
 
3599
#define FOO(x) 'x'
 
3600
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3601
 
2936
3602
int test (int i, double x);
2937
3603
struct s1 {int (*f) (int a);};
2938
3604
struct s2 {int (*f) (double a);};
2947
3613
  return 0;
2948
3614
}
2949
3615
_ACEOF
2950
 
# Don't try gcc -ansi; that turns off useful extensions and
2951
 
# breaks some systems' header files.
2952
 
# AIX                   -qlanglvl=ansi
2953
 
# Ultrix and OSF/1      -std1
2954
 
# HP-UX 10.20 and later -Ae
2955
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2956
 
# SVR4                  -Xc -D__EXTENSIONS__
2957
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3616
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3617
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2958
3618
do
2959
3619
  CC="$ac_save_CC $ac_arg"
2960
3620
  rm -f conftest.$ac_objext
2961
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2962
 
  (eval $ac_compile) 2>conftest.er1
 
3621
if { (ac_try="$ac_compile"
 
3622
case "(($ac_try" in
 
3623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3624
  *) ac_try_echo=$ac_try;;
 
3625
esac
 
3626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3627
  (eval "$ac_compile") 2>conftest.er1
2963
3628
  ac_status=$?
2964
3629
  grep -v '^ *+' conftest.er1 >conftest.err
2965
3630
  rm -f conftest.er1
2966
3631
  cat conftest.err >&5
2967
3632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
3633
  (exit $ac_status); } &&
2969
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971
 
  (eval $ac_try) 2>&5
 
3634
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3635
  { (case "(($ac_try" in
 
3636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3637
  *) ac_try_echo=$ac_try;;
 
3638
esac
 
3639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3640
  (eval "$ac_try") 2>&5
2972
3641
  ac_status=$?
2973
3642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
3643
  (exit $ac_status); }; } &&
2975
3644
         { ac_try='test -s conftest.$ac_objext'
2976
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977
 
  (eval $ac_try) 2>&5
 
3645
  { (case "(($ac_try" in
 
3646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3647
  *) ac_try_echo=$ac_try;;
 
3648
esac
 
3649
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3650
  (eval "$ac_try") 2>&5
2978
3651
  ac_status=$?
2979
3652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980
3653
  (exit $ac_status); }; }; then
2981
 
  ac_cv_prog_cc_stdc=$ac_arg
2982
 
break
 
3654
  ac_cv_prog_cc_c89=$ac_arg
2983
3655
else
2984
3656
  echo "$as_me: failed program was:" >&5
2985
3657
sed 's/^/| /' conftest.$ac_ext >&5
2986
3658
 
 
3659
 
2987
3660
fi
2988
 
rm -f conftest.err conftest.$ac_objext
 
3661
 
 
3662
rm -f core conftest.err conftest.$ac_objext
 
3663
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2989
3664
done
2990
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3665
rm -f conftest.$ac_ext
2991
3666
CC=$ac_save_CC
2992
3667
 
2993
3668
fi
2994
 
 
2995
 
case "x$ac_cv_prog_cc_stdc" in
2996
 
  x|xno)
2997
 
    echo "$as_me:$LINENO: result: none needed" >&5
2998
 
echo "${ECHO_T}none needed" >&6 ;;
 
3669
# AC_CACHE_VAL
 
3670
case "x$ac_cv_prog_cc_c89" in
 
3671
  x)
 
3672
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3673
echo "${ECHO_T}none needed" >&6; } ;;
 
3674
  xno)
 
3675
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3676
echo "${ECHO_T}unsupported" >&6; } ;;
2999
3677
  *)
3000
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3001
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3002
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3678
    CC="$CC $ac_cv_prog_cc_c89"
 
3679
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3680
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3003
3681
esac
3004
3682
 
3005
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3006
 
# in C++ we need to declare it.  In case someone uses the same compiler
3007
 
# for both compiling C and C++ we need to have the C++ compiler decide
3008
 
# the declaration of exit, since it's the most demanding environment.
3009
 
cat >conftest.$ac_ext <<_ACEOF
3010
 
#ifndef __cplusplus
3011
 
  choke me
3012
 
#endif
3013
 
_ACEOF
3014
 
rm -f conftest.$ac_objext
3015
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3016
 
  (eval $ac_compile) 2>conftest.er1
3017
 
  ac_status=$?
3018
 
  grep -v '^ *+' conftest.er1 >conftest.err
3019
 
  rm -f conftest.er1
3020
 
  cat conftest.err >&5
3021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022
 
  (exit $ac_status); } &&
3023
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025
 
  (eval $ac_try) 2>&5
3026
 
  ac_status=$?
3027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
 
  (exit $ac_status); }; } &&
3029
 
         { ac_try='test -s conftest.$ac_objext'
3030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031
 
  (eval $ac_try) 2>&5
3032
 
  ac_status=$?
3033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034
 
  (exit $ac_status); }; }; then
3035
 
  for ac_declaration in \
3036
 
   '' \
3037
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3038
 
   'extern "C" void std::exit (int); using std::exit;' \
3039
 
   'extern "C" void exit (int) throw ();' \
3040
 
   'extern "C" void exit (int);' \
3041
 
   'void exit (int);'
3042
 
do
3043
 
  cat >conftest.$ac_ext <<_ACEOF
3044
 
/* confdefs.h.  */
3045
 
_ACEOF
3046
 
cat confdefs.h >>conftest.$ac_ext
3047
 
cat >>conftest.$ac_ext <<_ACEOF
3048
 
/* end confdefs.h.  */
3049
 
$ac_declaration
3050
 
#include <stdlib.h>
3051
 
int
3052
 
main ()
3053
 
{
3054
 
exit (42);
3055
 
  ;
3056
 
  return 0;
3057
 
}
3058
 
_ACEOF
3059
 
rm -f conftest.$ac_objext
3060
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061
 
  (eval $ac_compile) 2>conftest.er1
3062
 
  ac_status=$?
3063
 
  grep -v '^ *+' conftest.er1 >conftest.err
3064
 
  rm -f conftest.er1
3065
 
  cat conftest.err >&5
3066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067
 
  (exit $ac_status); } &&
3068
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070
 
  (eval $ac_try) 2>&5
3071
 
  ac_status=$?
3072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073
 
  (exit $ac_status); }; } &&
3074
 
         { ac_try='test -s conftest.$ac_objext'
3075
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076
 
  (eval $ac_try) 2>&5
3077
 
  ac_status=$?
3078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079
 
  (exit $ac_status); }; }; then
3080
 
  :
3081
 
else
3082
 
  echo "$as_me: failed program was:" >&5
3083
 
sed 's/^/| /' conftest.$ac_ext >&5
3084
 
 
3085
 
continue
3086
 
fi
3087
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3088
 
  cat >conftest.$ac_ext <<_ACEOF
3089
 
/* confdefs.h.  */
3090
 
_ACEOF
3091
 
cat confdefs.h >>conftest.$ac_ext
3092
 
cat >>conftest.$ac_ext <<_ACEOF
3093
 
/* end confdefs.h.  */
3094
 
$ac_declaration
3095
 
int
3096
 
main ()
3097
 
{
3098
 
exit (42);
3099
 
  ;
3100
 
  return 0;
3101
 
}
3102
 
_ACEOF
3103
 
rm -f conftest.$ac_objext
3104
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105
 
  (eval $ac_compile) 2>conftest.er1
3106
 
  ac_status=$?
3107
 
  grep -v '^ *+' conftest.er1 >conftest.err
3108
 
  rm -f conftest.er1
3109
 
  cat conftest.err >&5
3110
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111
 
  (exit $ac_status); } &&
3112
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3113
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114
 
  (eval $ac_try) 2>&5
3115
 
  ac_status=$?
3116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117
 
  (exit $ac_status); }; } &&
3118
 
         { ac_try='test -s conftest.$ac_objext'
3119
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120
 
  (eval $ac_try) 2>&5
3121
 
  ac_status=$?
3122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123
 
  (exit $ac_status); }; }; then
3124
 
  break
3125
 
else
3126
 
  echo "$as_me: failed program was:" >&5
3127
 
sed 's/^/| /' conftest.$ac_ext >&5
3128
 
 
3129
 
fi
3130
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3131
 
done
3132
 
rm -f conftest*
3133
 
if test -n "$ac_declaration"; then
3134
 
  echo '#ifdef __cplusplus' >>confdefs.h
3135
 
  echo $ac_declaration      >>confdefs.h
3136
 
  echo '#endif'             >>confdefs.h
3137
 
fi
3138
 
 
3139
 
else
3140
 
  echo "$as_me: failed program was:" >&5
3141
 
sed 's/^/| /' conftest.$ac_ext >&5
3142
 
 
3143
 
fi
3144
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3683
 
3145
3684
ac_ext=c
3146
3685
ac_cpp='$CPP $CPPFLAGS'
3147
3686
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150
3689
 
3151
3690
depcc="$CC"   am_compiler_list=
3152
3691
 
3153
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3154
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3692
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3693
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3155
3694
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3156
3695
  echo $ECHO_N "(cached) $ECHO_C" >&6
3157
3696
else
3240
3779
fi
3241
3780
 
3242
3781
fi
3243
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3244
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3782
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3783
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3245
3784
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3246
3785
 
3247
3786
 
3257
3796
fi
3258
3797
 
3259
3798
 
3260
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3261
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3799
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3800
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3262
3801
if test "${lt_cv_path_SED+set}" = set; then
3263
3802
  echo $ECHO_N "(cached) $ECHO_C" >&6
3264
3803
else
3311
3850
fi
3312
3851
 
3313
3852
SED=$lt_cv_path_SED
3314
 
echo "$as_me:$LINENO: result: $SED" >&5
3315
 
echo "${ECHO_T}$SED" >&6
3316
 
 
3317
 
echo "$as_me:$LINENO: checking for egrep" >&5
3318
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3319
 
if test "${ac_cv_prog_egrep+set}" = set; then
3320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3321
 
else
3322
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3323
 
    then ac_cv_prog_egrep='grep -E'
3324
 
    else ac_cv_prog_egrep='egrep'
3325
 
    fi
3326
 
fi
3327
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3328
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3329
 
 EGREP=$ac_cv_prog_egrep
3330
 
 
3331
 
 
3332
 
 
3333
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3853
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3854
echo "${ECHO_T}$SED" >&6; }
 
3855
 
 
3856
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3857
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3858
if test "${ac_cv_path_GREP+set}" = set; then
 
3859
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3860
else
 
3861
  # Extract the first word of "grep ggrep" to use in msg output
 
3862
if test -z "$GREP"; then
 
3863
set dummy grep ggrep; ac_prog_name=$2
 
3864
if test "${ac_cv_path_GREP+set}" = set; then
 
3865
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3866
else
 
3867
  ac_path_GREP_found=false
 
3868
# Loop through the user's path and test for each of PROGNAME-LIST
 
3869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3870
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3871
do
 
3872
  IFS=$as_save_IFS
 
3873
  test -z "$as_dir" && as_dir=.
 
3874
  for ac_prog in grep ggrep; do
 
3875
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3876
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3877
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3878
    # Check for GNU ac_path_GREP and select it if it is found.
 
3879
  # Check for GNU $ac_path_GREP
 
3880
case `"$ac_path_GREP" --version 2>&1` in
 
3881
*GNU*)
 
3882
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3883
*)
 
3884
  ac_count=0
 
3885
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3886
  while :
 
3887
  do
 
3888
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3889
    mv "conftest.tmp" "conftest.in"
 
3890
    cp "conftest.in" "conftest.nl"
 
3891
    echo 'GREP' >> "conftest.nl"
 
3892
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3893
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3894
    ac_count=`expr $ac_count + 1`
 
3895
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3896
      # Best one so far, save it but keep looking for a better one
 
3897
      ac_cv_path_GREP="$ac_path_GREP"
 
3898
      ac_path_GREP_max=$ac_count
 
3899
    fi
 
3900
    # 10*(2^10) chars as input seems more than enough
 
3901
    test $ac_count -gt 10 && break
 
3902
  done
 
3903
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3904
esac
 
3905
 
 
3906
 
 
3907
    $ac_path_GREP_found && break 3
 
3908
  done
 
3909
done
 
3910
 
 
3911
done
 
3912
IFS=$as_save_IFS
 
3913
 
 
3914
 
 
3915
fi
 
3916
 
 
3917
GREP="$ac_cv_path_GREP"
 
3918
if test -z "$GREP"; then
 
3919
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3920
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3921
   { (exit 1); exit 1; }; }
 
3922
fi
 
3923
 
 
3924
else
 
3925
  ac_cv_path_GREP=$GREP
 
3926
fi
 
3927
 
 
3928
 
 
3929
fi
 
3930
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3931
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3932
 GREP="$ac_cv_path_GREP"
 
3933
 
 
3934
 
 
3935
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3936
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3937
if test "${ac_cv_path_EGREP+set}" = set; then
 
3938
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3939
else
 
3940
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3941
   then ac_cv_path_EGREP="$GREP -E"
 
3942
   else
 
3943
     # Extract the first word of "egrep" to use in msg output
 
3944
if test -z "$EGREP"; then
 
3945
set dummy egrep; ac_prog_name=$2
 
3946
if test "${ac_cv_path_EGREP+set}" = set; then
 
3947
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3948
else
 
3949
  ac_path_EGREP_found=false
 
3950
# Loop through the user's path and test for each of PROGNAME-LIST
 
3951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3952
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3953
do
 
3954
  IFS=$as_save_IFS
 
3955
  test -z "$as_dir" && as_dir=.
 
3956
  for ac_prog in egrep; do
 
3957
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3958
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3959
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
3960
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3961
  # Check for GNU $ac_path_EGREP
 
3962
case `"$ac_path_EGREP" --version 2>&1` in
 
3963
*GNU*)
 
3964
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3965
*)
 
3966
  ac_count=0
 
3967
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3968
  while :
 
3969
  do
 
3970
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3971
    mv "conftest.tmp" "conftest.in"
 
3972
    cp "conftest.in" "conftest.nl"
 
3973
    echo 'EGREP' >> "conftest.nl"
 
3974
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3975
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3976
    ac_count=`expr $ac_count + 1`
 
3977
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3978
      # Best one so far, save it but keep looking for a better one
 
3979
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3980
      ac_path_EGREP_max=$ac_count
 
3981
    fi
 
3982
    # 10*(2^10) chars as input seems more than enough
 
3983
    test $ac_count -gt 10 && break
 
3984
  done
 
3985
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3986
esac
 
3987
 
 
3988
 
 
3989
    $ac_path_EGREP_found && break 3
 
3990
  done
 
3991
done
 
3992
 
 
3993
done
 
3994
IFS=$as_save_IFS
 
3995
 
 
3996
 
 
3997
fi
 
3998
 
 
3999
EGREP="$ac_cv_path_EGREP"
 
4000
if test -z "$EGREP"; then
 
4001
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4002
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4003
   { (exit 1); exit 1; }; }
 
4004
fi
 
4005
 
 
4006
else
 
4007
  ac_cv_path_EGREP=$EGREP
 
4008
fi
 
4009
 
 
4010
 
 
4011
   fi
 
4012
fi
 
4013
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4014
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4015
 EGREP="$ac_cv_path_EGREP"
 
4016
 
 
4017
 
 
4018
 
 
4019
# Check whether --with-gnu-ld was given.
3334
4020
if test "${with_gnu_ld+set}" = set; then
3335
 
  withval="$with_gnu_ld"
3336
 
  test "$withval" = no || with_gnu_ld=yes
 
4021
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3337
4022
else
3338
4023
  with_gnu_ld=no
3339
 
fi;
 
4024
fi
 
4025
 
3340
4026
ac_prog=ld
3341
4027
if test "$GCC" = yes; then
3342
4028
  # Check if gcc -print-prog-name=ld gives a path.
3343
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3344
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4029
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4030
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3345
4031
  case $host in
3346
4032
  *-*-mingw*)
3347
4033
    # gcc leaves a trailing carriage return which upsets mingw
3370
4056
    ;;
3371
4057
  esac
3372
4058
elif test "$with_gnu_ld" = yes; then
3373
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3374
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4059
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4060
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3375
4061
else
3376
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3377
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4062
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4063
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3378
4064
fi
3379
4065
if test "${lt_cv_path_LD+set}" = set; then
3380
4066
  echo $ECHO_N "(cached) $ECHO_C" >&6
3407
4093
 
3408
4094
LD="$lt_cv_path_LD"
3409
4095
if test -n "$LD"; then
3410
 
  echo "$as_me:$LINENO: result: $LD" >&5
3411
 
echo "${ECHO_T}$LD" >&6
 
4096
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4097
echo "${ECHO_T}$LD" >&6; }
3412
4098
else
3413
 
  echo "$as_me:$LINENO: result: no" >&5
3414
 
echo "${ECHO_T}no" >&6
 
4099
  { echo "$as_me:$LINENO: result: no" >&5
 
4100
echo "${ECHO_T}no" >&6; }
3415
4101
fi
3416
4102
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3417
4103
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3418
4104
   { (exit 1); exit 1; }; }
3419
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3420
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4105
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4106
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3421
4107
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3422
4108
  echo $ECHO_N "(cached) $ECHO_C" >&6
3423
4109
else
3431
4117
  ;;
3432
4118
esac
3433
4119
fi
3434
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3435
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4120
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4121
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3436
4122
with_gnu_ld=$lt_cv_prog_gnu_ld
3437
4123
 
3438
4124
 
3439
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3440
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4125
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4126
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3441
4127
if test "${lt_cv_ld_reload_flag+set}" = set; then
3442
4128
  echo $ECHO_N "(cached) $ECHO_C" >&6
3443
4129
else
3444
4130
  lt_cv_ld_reload_flag='-r'
3445
4131
fi
3446
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3447
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4132
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4133
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3448
4134
reload_flag=$lt_cv_ld_reload_flag
3449
4135
case $reload_flag in
3450
4136
"" | " "*) ;;
3461
4147
    ;;
3462
4148
esac
3463
4149
 
3464
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3465
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4150
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4151
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3466
4152
if test "${lt_cv_path_NM+set}" = set; then
3467
4153
  echo $ECHO_N "(cached) $ECHO_C" >&6
3468
4154
else
3510
4196
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3511
4197
fi
3512
4198
fi
3513
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3514
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4199
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4200
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3515
4201
NM="$lt_cv_path_NM"
3516
4202
 
3517
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3518
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4203
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4204
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3519
4205
LN_S=$as_ln_s
3520
4206
if test "$LN_S" = "ln -s"; then
3521
 
  echo "$as_me:$LINENO: result: yes" >&5
3522
 
echo "${ECHO_T}yes" >&6
 
4207
  { echo "$as_me:$LINENO: result: yes" >&5
 
4208
echo "${ECHO_T}yes" >&6; }
3523
4209
else
3524
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3525
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4210
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4211
echo "${ECHO_T}no, using $LN_S" >&6; }
3526
4212
fi
3527
4213
 
3528
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3529
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4214
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4215
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3530
4216
if test "${lt_cv_deplibs_check_method+set}" = set; then
3531
4217
  echo $ECHO_N "(cached) $ECHO_C" >&6
3532
4218
else
3701
4387
esac
3702
4388
 
3703
4389
fi
3704
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3705
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4390
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4391
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3706
4392
file_magic_cmd=$lt_cv_file_magic_cmd
3707
4393
deplibs_check_method=$lt_cv_deplibs_check_method
3708
4394
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3720
4406
compiler=$CC
3721
4407
 
3722
4408
 
3723
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4409
# Check whether --enable-libtool-lock was given.
3724
4410
if test "${enable_libtool_lock+set}" = set; then
3725
 
  enableval="$enable_libtool_lock"
 
4411
  enableval=$enable_libtool_lock;
 
4412
fi
3726
4413
 
3727
 
fi;
3728
4414
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3729
4415
 
3730
4416
# Some flags need to be propagated to the compiler or linker for good
3751
4437
  ;;
3752
4438
*-*-irix6*)
3753
4439
  # Find out which ABI we are using.
3754
 
  echo '#line 3754 "configure"' > conftest.$ac_ext
 
4440
  echo '#line 4440 "configure"' > conftest.$ac_ext
3755
4441
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756
4442
  (eval $ac_compile) 2>&5
3757
4443
  ac_status=$?
3836
4522
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3837
4523
  SAVE_CFLAGS="$CFLAGS"
3838
4524
  CFLAGS="$CFLAGS -belf"
3839
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3840
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4525
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4526
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3841
4527
if test "${lt_cv_cc_needs_belf+set}" = set; then
3842
4528
  echo $ECHO_N "(cached) $ECHO_C" >&6
3843
4529
else
3863
4549
}
3864
4550
_ACEOF
3865
4551
rm -f conftest.$ac_objext conftest$ac_exeext
3866
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3867
 
  (eval $ac_link) 2>conftest.er1
 
4552
if { (ac_try="$ac_link"
 
4553
case "(($ac_try" in
 
4554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4555
  *) ac_try_echo=$ac_try;;
 
4556
esac
 
4557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4558
  (eval "$ac_link") 2>conftest.er1
3868
4559
  ac_status=$?
3869
4560
  grep -v '^ *+' conftest.er1 >conftest.err
3870
4561
  rm -f conftest.er1
3871
4562
  cat conftest.err >&5
3872
4563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
4564
  (exit $ac_status); } &&
3874
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3875
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876
 
  (eval $ac_try) 2>&5
 
4565
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4566
  { (case "(($ac_try" in
 
4567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4568
  *) ac_try_echo=$ac_try;;
 
4569
esac
 
4570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4571
  (eval "$ac_try") 2>&5
3877
4572
  ac_status=$?
3878
4573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879
4574
  (exit $ac_status); }; } &&
3880
4575
         { ac_try='test -s conftest$ac_exeext'
3881
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882
 
  (eval $ac_try) 2>&5
 
4576
  { (case "(($ac_try" in
 
4577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4578
  *) ac_try_echo=$ac_try;;
 
4579
esac
 
4580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4581
  (eval "$ac_try") 2>&5
3883
4582
  ac_status=$?
3884
4583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885
4584
  (exit $ac_status); }; }; then
3888
4587
  echo "$as_me: failed program was:" >&5
3889
4588
sed 's/^/| /' conftest.$ac_ext >&5
3890
4589
 
3891
 
lt_cv_cc_needs_belf=no
 
4590
        lt_cv_cc_needs_belf=no
3892
4591
fi
3893
 
rm -f conftest.err conftest.$ac_objext \
 
4592
 
 
4593
rm -f core conftest.err conftest.$ac_objext \
3894
4594
      conftest$ac_exeext conftest.$ac_ext
3895
4595
     ac_ext=c
3896
4596
ac_cpp='$CPP $CPPFLAGS'
3899
4599
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3900
4600
 
3901
4601
fi
3902
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3903
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4602
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4603
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3904
4604
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3905
4605
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3906
4606
    CFLAGS="$SAVE_CFLAGS"
3937
4637
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938
4638
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939
4639
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3941
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4640
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4641
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3942
4642
# On Suns, sometimes $CPP names a directory.
3943
4643
if test -n "$CPP" && test -d "$CPP"; then
3944
4644
  CPP=
3972
4672
#endif
3973
4673
                     Syntax error
3974
4674
_ACEOF
3975
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3976
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4675
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4676
case "(($ac_try" in
 
4677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4678
  *) ac_try_echo=$ac_try;;
 
4679
esac
 
4680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4681
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3977
4682
  ac_status=$?
3978
4683
  grep -v '^ *+' conftest.er1 >conftest.err
3979
4684
  rm -f conftest.er1
3998
4703
  # Broken: fails on valid input.
3999
4704
continue
4000
4705
fi
 
4706
 
4001
4707
rm -f conftest.err conftest.$ac_ext
4002
4708
 
4003
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4709
  # OK, works on sane cases.  Now check whether nonexistent headers
4004
4710
  # can be detected and how.
4005
4711
  cat >conftest.$ac_ext <<_ACEOF
4006
4712
/* confdefs.h.  */
4010
4716
/* end confdefs.h.  */
4011
4717
#include <ac_nonexistent.h>
4012
4718
_ACEOF
4013
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4014
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4719
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4720
case "(($ac_try" in
 
4721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4722
  *) ac_try_echo=$ac_try;;
 
4723
esac
 
4724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4725
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4015
4726
  ac_status=$?
4016
4727
  grep -v '^ *+' conftest.er1 >conftest.err
4017
4728
  rm -f conftest.er1
4038
4749
ac_preproc_ok=:
4039
4750
break
4040
4751
fi
 
4752
 
4041
4753
rm -f conftest.err conftest.$ac_ext
4042
4754
 
4043
4755
done
4055
4767
else
4056
4768
  ac_cv_prog_CPP=$CPP
4057
4769
fi
4058
 
echo "$as_me:$LINENO: result: $CPP" >&5
4059
 
echo "${ECHO_T}$CPP" >&6
 
4770
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4771
echo "${ECHO_T}$CPP" >&6; }
4060
4772
ac_preproc_ok=false
4061
4773
for ac_c_preproc_warn_flag in '' yes
4062
4774
do
4079
4791
#endif
4080
4792
                     Syntax error
4081
4793
_ACEOF
4082
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4083
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4794
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4795
case "(($ac_try" in
 
4796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4797
  *) ac_try_echo=$ac_try;;
 
4798
esac
 
4799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4800
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4084
4801
  ac_status=$?
4085
4802
  grep -v '^ *+' conftest.er1 >conftest.err
4086
4803
  rm -f conftest.er1
4105
4822
  # Broken: fails on valid input.
4106
4823
continue
4107
4824
fi
 
4825
 
4108
4826
rm -f conftest.err conftest.$ac_ext
4109
4827
 
4110
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4828
  # OK, works on sane cases.  Now check whether nonexistent headers
4111
4829
  # can be detected and how.
4112
4830
  cat >conftest.$ac_ext <<_ACEOF
4113
4831
/* confdefs.h.  */
4117
4835
/* end confdefs.h.  */
4118
4836
#include <ac_nonexistent.h>
4119
4837
_ACEOF
4120
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4121
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4838
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4839
case "(($ac_try" in
 
4840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4841
  *) ac_try_echo=$ac_try;;
 
4842
esac
 
4843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4844
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4122
4845
  ac_status=$?
4123
4846
  grep -v '^ *+' conftest.er1 >conftest.err
4124
4847
  rm -f conftest.er1
4145
4868
ac_preproc_ok=:
4146
4869
break
4147
4870
fi
 
4871
 
4148
4872
rm -f conftest.err conftest.$ac_ext
4149
4873
 
4150
4874
done
4167
4891
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4168
4892
 
4169
4893
 
4170
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4171
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4894
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4895
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4172
4896
if test "${ac_cv_header_stdc+set}" = set; then
4173
4897
  echo $ECHO_N "(cached) $ECHO_C" >&6
4174
4898
else
4192
4916
}
4193
4917
_ACEOF
4194
4918
rm -f conftest.$ac_objext
4195
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4196
 
  (eval $ac_compile) 2>conftest.er1
 
4919
if { (ac_try="$ac_compile"
 
4920
case "(($ac_try" in
 
4921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4922
  *) ac_try_echo=$ac_try;;
 
4923
esac
 
4924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4925
  (eval "$ac_compile") 2>conftest.er1
4197
4926
  ac_status=$?
4198
4927
  grep -v '^ *+' conftest.er1 >conftest.err
4199
4928
  rm -f conftest.er1
4200
4929
  cat conftest.err >&5
4201
4930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202
4931
  (exit $ac_status); } &&
4203
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4205
 
  (eval $ac_try) 2>&5
 
4932
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4933
  { (case "(($ac_try" in
 
4934
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4935
  *) ac_try_echo=$ac_try;;
 
4936
esac
 
4937
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4938
  (eval "$ac_try") 2>&5
4206
4939
  ac_status=$?
4207
4940
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208
4941
  (exit $ac_status); }; } &&
4209
4942
         { ac_try='test -s conftest.$ac_objext'
4210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4211
 
  (eval $ac_try) 2>&5
 
4943
  { (case "(($ac_try" in
 
4944
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4945
  *) ac_try_echo=$ac_try;;
 
4946
esac
 
4947
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4948
  (eval "$ac_try") 2>&5
4212
4949
  ac_status=$?
4213
4950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214
4951
  (exit $ac_status); }; }; then
4217
4954
  echo "$as_me: failed program was:" >&5
4218
4955
sed 's/^/| /' conftest.$ac_ext >&5
4219
4956
 
4220
 
ac_cv_header_stdc=no
 
4957
        ac_cv_header_stdc=no
4221
4958
fi
4222
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4959
 
 
4960
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223
4961
 
4224
4962
if test $ac_cv_header_stdc = yes; then
4225
4963
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4275
5013
cat >>conftest.$ac_ext <<_ACEOF
4276
5014
/* end confdefs.h.  */
4277
5015
#include <ctype.h>
 
5016
#include <stdlib.h>
4278
5017
#if ((' ' & 0x0FF) == 0x020)
4279
5018
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4280
5019
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4294
5033
  for (i = 0; i < 256; i++)
4295
5034
    if (XOR (islower (i), ISLOWER (i))
4296
5035
        || toupper (i) != TOUPPER (i))
4297
 
      exit(2);
4298
 
  exit (0);
 
5036
      return 2;
 
5037
  return 0;
4299
5038
}
4300
5039
_ACEOF
4301
5040
rm -f conftest$ac_exeext
4302
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303
 
  (eval $ac_link) 2>&5
 
5041
if { (ac_try="$ac_link"
 
5042
case "(($ac_try" in
 
5043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5044
  *) ac_try_echo=$ac_try;;
 
5045
esac
 
5046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5047
  (eval "$ac_link") 2>&5
4304
5048
  ac_status=$?
4305
5049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306
5050
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308
 
  (eval $ac_try) 2>&5
 
5051
  { (case "(($ac_try" in
 
5052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5053
  *) ac_try_echo=$ac_try;;
 
5054
esac
 
5055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5056
  (eval "$ac_try") 2>&5
4309
5057
  ac_status=$?
4310
5058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311
5059
  (exit $ac_status); }; }; then
4318
5066
( exit $ac_status )
4319
5067
ac_cv_header_stdc=no
4320
5068
fi
4321
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4322
 
fi
4323
 
fi
4324
 
fi
4325
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4326
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5069
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5070
fi
 
5071
 
 
5072
 
 
5073
fi
 
5074
fi
 
5075
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5076
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4327
5077
if test $ac_cv_header_stdc = yes; then
4328
5078
 
4329
5079
cat >>confdefs.h <<\_ACEOF
4346
5096
                  inttypes.h stdint.h unistd.h
4347
5097
do
4348
5098
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4349
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4350
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4351
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5099
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5100
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5101
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4352
5102
  echo $ECHO_N "(cached) $ECHO_C" >&6
4353
5103
else
4354
5104
  cat >conftest.$ac_ext <<_ACEOF
4362
5112
#include <$ac_header>
4363
5113
_ACEOF
4364
5114
rm -f conftest.$ac_objext
4365
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4366
 
  (eval $ac_compile) 2>conftest.er1
 
5115
if { (ac_try="$ac_compile"
 
5116
case "(($ac_try" in
 
5117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5118
  *) ac_try_echo=$ac_try;;
 
5119
esac
 
5120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5121
  (eval "$ac_compile") 2>conftest.er1
4367
5122
  ac_status=$?
4368
5123
  grep -v '^ *+' conftest.er1 >conftest.err
4369
5124
  rm -f conftest.er1
4370
5125
  cat conftest.err >&5
4371
5126
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372
5127
  (exit $ac_status); } &&
4373
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375
 
  (eval $ac_try) 2>&5
 
5128
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5129
  { (case "(($ac_try" in
 
5130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5131
  *) ac_try_echo=$ac_try;;
 
5132
esac
 
5133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5134
  (eval "$ac_try") 2>&5
4376
5135
  ac_status=$?
4377
5136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378
5137
  (exit $ac_status); }; } &&
4379
5138
         { ac_try='test -s conftest.$ac_objext'
4380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381
 
  (eval $ac_try) 2>&5
 
5139
  { (case "(($ac_try" in
 
5140
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5141
  *) ac_try_echo=$ac_try;;
 
5142
esac
 
5143
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5144
  (eval "$ac_try") 2>&5
4382
5145
  ac_status=$?
4383
5146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384
5147
  (exit $ac_status); }; }; then
4387
5150
  echo "$as_me: failed program was:" >&5
4388
5151
sed 's/^/| /' conftest.$ac_ext >&5
4389
5152
 
4390
 
eval "$as_ac_Header=no"
4391
 
fi
4392
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4393
 
fi
4394
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4395
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5153
        eval "$as_ac_Header=no"
 
5154
fi
 
5155
 
 
5156
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5157
fi
 
5158
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5159
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5160
echo "${ECHO_T}$ac_res" >&6; }
4396
5161
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4397
5162
  cat >>confdefs.h <<_ACEOF
4398
5163
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4407
5172
for ac_header in dlfcn.h
4408
5173
do
4409
5174
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4410
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4411
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4412
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4413
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5175
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5176
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5177
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5178
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4414
5179
  echo $ECHO_N "(cached) $ECHO_C" >&6
4415
5180
fi
4416
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4417
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5181
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5182
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5183
echo "${ECHO_T}$ac_res" >&6; }
4418
5184
else
4419
5185
  # Is the header compilable?
4420
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4421
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5186
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5187
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4422
5188
cat >conftest.$ac_ext <<_ACEOF
4423
5189
/* confdefs.h.  */
4424
5190
_ACEOF
4429
5195
#include <$ac_header>
4430
5196
_ACEOF
4431
5197
rm -f conftest.$ac_objext
4432
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433
 
  (eval $ac_compile) 2>conftest.er1
 
5198
if { (ac_try="$ac_compile"
 
5199
case "(($ac_try" in
 
5200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5201
  *) ac_try_echo=$ac_try;;
 
5202
esac
 
5203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5204
  (eval "$ac_compile") 2>conftest.er1
4434
5205
  ac_status=$?
4435
5206
  grep -v '^ *+' conftest.er1 >conftest.err
4436
5207
  rm -f conftest.er1
4437
5208
  cat conftest.err >&5
4438
5209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439
5210
  (exit $ac_status); } &&
4440
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4442
 
  (eval $ac_try) 2>&5
 
5211
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5212
  { (case "(($ac_try" in
 
5213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5214
  *) ac_try_echo=$ac_try;;
 
5215
esac
 
5216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5217
  (eval "$ac_try") 2>&5
4443
5218
  ac_status=$?
4444
5219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445
5220
  (exit $ac_status); }; } &&
4446
5221
         { ac_try='test -s conftest.$ac_objext'
4447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4448
 
  (eval $ac_try) 2>&5
 
5222
  { (case "(($ac_try" in
 
5223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5224
  *) ac_try_echo=$ac_try;;
 
5225
esac
 
5226
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5227
  (eval "$ac_try") 2>&5
4449
5228
  ac_status=$?
4450
5229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451
5230
  (exit $ac_status); }; }; then
4454
5233
  echo "$as_me: failed program was:" >&5
4455
5234
sed 's/^/| /' conftest.$ac_ext >&5
4456
5235
 
4457
 
ac_header_compiler=no
 
5236
        ac_header_compiler=no
4458
5237
fi
4459
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4460
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4461
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5238
 
 
5239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5240
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5241
echo "${ECHO_T}$ac_header_compiler" >&6; }
4462
5242
 
4463
5243
# Is the header present?
4464
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4465
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5244
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5245
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4466
5246
cat >conftest.$ac_ext <<_ACEOF
4467
5247
/* confdefs.h.  */
4468
5248
_ACEOF
4471
5251
/* end confdefs.h.  */
4472
5252
#include <$ac_header>
4473
5253
_ACEOF
4474
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4475
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5254
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5255
case "(($ac_try" in
 
5256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5257
  *) ac_try_echo=$ac_try;;
 
5258
esac
 
5259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5260
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4476
5261
  ac_status=$?
4477
5262
  grep -v '^ *+' conftest.er1 >conftest.err
4478
5263
  rm -f conftest.er1
4496
5281
 
4497
5282
  ac_header_preproc=no
4498
5283
fi
 
5284
 
4499
5285
rm -f conftest.err conftest.$ac_ext
4500
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4501
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5286
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5287
echo "${ECHO_T}$ac_header_preproc" >&6; }
4502
5288
 
4503
5289
# So?  What about this header?
4504
5290
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4522
5308
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4523
5309
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4524
5310
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4525
 
    (
4526
 
      cat <<\_ASBOX
 
5311
    ( cat <<\_ASBOX
4527
5312
## ---------------------------------------- ##
4528
5313
## Report this to hplip@packages.debian.org ##
4529
5314
## ---------------------------------------- ##
4530
5315
_ASBOX
4531
 
    ) |
4532
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5316
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4533
5317
    ;;
4534
5318
esac
4535
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4536
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4537
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5319
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5320
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5321
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4538
5322
  echo $ECHO_N "(cached) $ECHO_C" >&6
4539
5323
else
4540
5324
  eval "$as_ac_Header=\$ac_header_preproc"
4541
5325
fi
4542
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4543
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5326
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5327
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5328
echo "${ECHO_T}$ac_res" >&6; }
4544
5329
 
4545
5330
fi
4546
5331
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4552
5337
 
4553
5338
done
4554
5339
 
4555
 
ac_ext=cc
 
5340
ac_ext=cpp
4556
5341
ac_cpp='$CXXCPP $CPPFLAGS'
4557
5342
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558
5343
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559
5344
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4560
 
if test -n "$ac_tool_prefix"; then
4561
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5345
if test -z "$CXX"; then
 
5346
  if test -n "$CCC"; then
 
5347
    CXX=$CCC
 
5348
  else
 
5349
    if test -n "$ac_tool_prefix"; then
 
5350
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4562
5351
  do
4563
5352
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4564
5353
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4565
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4566
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5354
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5355
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4567
5356
if test "${ac_cv_prog_CXX+set}" = set; then
4568
5357
  echo $ECHO_N "(cached) $ECHO_C" >&6
4569
5358
else
4576
5365
  IFS=$as_save_IFS
4577
5366
  test -z "$as_dir" && as_dir=.
4578
5367
  for ac_exec_ext in '' $ac_executable_extensions; do
4579
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4580
5369
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4581
5370
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4582
5371
    break 2
4583
5372
  fi
4584
5373
done
4585
5374
done
 
5375
IFS=$as_save_IFS
4586
5376
 
4587
5377
fi
4588
5378
fi
4589
5379
CXX=$ac_cv_prog_CXX
4590
5380
if test -n "$CXX"; then
4591
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4592
 
echo "${ECHO_T}$CXX" >&6
 
5381
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5382
echo "${ECHO_T}$CXX" >&6; }
4593
5383
else
4594
 
  echo "$as_me:$LINENO: result: no" >&5
4595
 
echo "${ECHO_T}no" >&6
 
5384
  { echo "$as_me:$LINENO: result: no" >&5
 
5385
echo "${ECHO_T}no" >&6; }
4596
5386
fi
4597
5387
 
 
5388
 
4598
5389
    test -n "$CXX" && break
4599
5390
  done
4600
5391
fi
4601
5392
if test -z "$CXX"; then
4602
5393
  ac_ct_CXX=$CXX
4603
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5394
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4604
5395
do
4605
5396
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4606
5397
set dummy $ac_prog; ac_word=$2
4607
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4608
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5398
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5399
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4609
5400
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4610
5401
  echo $ECHO_N "(cached) $ECHO_C" >&6
4611
5402
else
4618
5409
  IFS=$as_save_IFS
4619
5410
  test -z "$as_dir" && as_dir=.
4620
5411
  for ac_exec_ext in '' $ac_executable_extensions; do
4621
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5412
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4622
5413
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4623
5414
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624
5415
    break 2
4625
5416
  fi
4626
5417
done
4627
5418
done
 
5419
IFS=$as_save_IFS
4628
5420
 
4629
5421
fi
4630
5422
fi
4631
5423
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4632
5424
if test -n "$ac_ct_CXX"; then
4633
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4634
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5425
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5426
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4635
5427
else
4636
 
  echo "$as_me:$LINENO: result: no" >&5
4637
 
echo "${ECHO_T}no" >&6
 
5428
  { echo "$as_me:$LINENO: result: no" >&5
 
5429
echo "${ECHO_T}no" >&6; }
4638
5430
fi
4639
5431
 
 
5432
 
4640
5433
  test -n "$ac_ct_CXX" && break
4641
5434
done
4642
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4643
 
 
4644
 
  CXX=$ac_ct_CXX
4645
 
fi
4646
 
 
4647
 
 
 
5435
 
 
5436
  if test "x$ac_ct_CXX" = x; then
 
5437
    CXX="g++"
 
5438
  else
 
5439
    case $cross_compiling:$ac_tool_warned in
 
5440
yes:)
 
5441
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5442
whose name does not start with the host triplet.  If you think this
 
5443
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5444
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5445
whose name does not start with the host triplet.  If you think this
 
5446
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5447
ac_tool_warned=yes ;;
 
5448
esac
 
5449
    CXX=$ac_ct_CXX
 
5450
  fi
 
5451
fi
 
5452
 
 
5453
  fi
 
5454
fi
4648
5455
# Provide some information about the compiler.
4649
 
echo "$as_me:$LINENO:" \
4650
 
     "checking for C++ compiler version" >&5
 
5456
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4651
5457
ac_compiler=`set X $ac_compile; echo $2`
4652
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4653
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4654
 
  ac_status=$?
4655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
 
  (exit $ac_status); }
4657
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4658
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4659
 
  ac_status=$?
4660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661
 
  (exit $ac_status); }
4662
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4663
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5458
{ (ac_try="$ac_compiler --version >&5"
 
5459
case "(($ac_try" in
 
5460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5461
  *) ac_try_echo=$ac_try;;
 
5462
esac
 
5463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5464
  (eval "$ac_compiler --version >&5") 2>&5
 
5465
  ac_status=$?
 
5466
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5467
  (exit $ac_status); }
 
5468
{ (ac_try="$ac_compiler -v >&5"
 
5469
case "(($ac_try" in
 
5470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5471
  *) ac_try_echo=$ac_try;;
 
5472
esac
 
5473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5474
  (eval "$ac_compiler -v >&5") 2>&5
 
5475
  ac_status=$?
 
5476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5477
  (exit $ac_status); }
 
5478
{ (ac_try="$ac_compiler -V >&5"
 
5479
case "(($ac_try" in
 
5480
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5481
  *) ac_try_echo=$ac_try;;
 
5482
esac
 
5483
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5484
  (eval "$ac_compiler -V >&5") 2>&5
4664
5485
  ac_status=$?
4665
5486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666
5487
  (exit $ac_status); }
4667
5488
 
4668
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4669
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5489
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5490
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4670
5491
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4671
5492
  echo $ECHO_N "(cached) $ECHO_C" >&6
4672
5493
else
4689
5510
}
4690
5511
_ACEOF
4691
5512
rm -f conftest.$ac_objext
4692
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4693
 
  (eval $ac_compile) 2>conftest.er1
 
5513
if { (ac_try="$ac_compile"
 
5514
case "(($ac_try" in
 
5515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5516
  *) ac_try_echo=$ac_try;;
 
5517
esac
 
5518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5519
  (eval "$ac_compile") 2>conftest.er1
4694
5520
  ac_status=$?
4695
5521
  grep -v '^ *+' conftest.er1 >conftest.err
4696
5522
  rm -f conftest.er1
4697
5523
  cat conftest.err >&5
4698
5524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699
5525
  (exit $ac_status); } &&
4700
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702
 
  (eval $ac_try) 2>&5
 
5526
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5527
  { (case "(($ac_try" in
 
5528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5529
  *) ac_try_echo=$ac_try;;
 
5530
esac
 
5531
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5532
  (eval "$ac_try") 2>&5
4703
5533
  ac_status=$?
4704
5534
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705
5535
  (exit $ac_status); }; } &&
4706
5536
         { ac_try='test -s conftest.$ac_objext'
4707
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708
 
  (eval $ac_try) 2>&5
 
5537
  { (case "(($ac_try" in
 
5538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5539
  *) ac_try_echo=$ac_try;;
 
5540
esac
 
5541
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5542
  (eval "$ac_try") 2>&5
4709
5543
  ac_status=$?
4710
5544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711
5545
  (exit $ac_status); }; }; then
4714
5548
  echo "$as_me: failed program was:" >&5
4715
5549
sed 's/^/| /' conftest.$ac_ext >&5
4716
5550
 
4717
 
ac_compiler_gnu=no
 
5551
        ac_compiler_gnu=no
4718
5552
fi
4719
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5553
 
 
5554
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720
5555
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4721
5556
 
4722
5557
fi
4723
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4724
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5558
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5559
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4725
5560
GXX=`test $ac_compiler_gnu = yes && echo yes`
4726
5561
ac_test_CXXFLAGS=${CXXFLAGS+set}
4727
5562
ac_save_CXXFLAGS=$CXXFLAGS
4728
 
CXXFLAGS="-g"
4729
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4730
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5563
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5564
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4731
5565
if test "${ac_cv_prog_cxx_g+set}" = set; then
4732
5566
  echo $ECHO_N "(cached) $ECHO_C" >&6
4733
5567
else
4734
 
  cat >conftest.$ac_ext <<_ACEOF
4735
 
/* confdefs.h.  */
4736
 
_ACEOF
4737
 
cat confdefs.h >>conftest.$ac_ext
4738
 
cat >>conftest.$ac_ext <<_ACEOF
4739
 
/* end confdefs.h.  */
4740
 
 
4741
 
int
4742
 
main ()
4743
 
{
4744
 
 
4745
 
  ;
4746
 
  return 0;
4747
 
}
4748
 
_ACEOF
4749
 
rm -f conftest.$ac_objext
4750
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751
 
  (eval $ac_compile) 2>conftest.er1
4752
 
  ac_status=$?
4753
 
  grep -v '^ *+' conftest.er1 >conftest.err
4754
 
  rm -f conftest.er1
4755
 
  cat conftest.err >&5
4756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757
 
  (exit $ac_status); } &&
4758
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760
 
  (eval $ac_try) 2>&5
4761
 
  ac_status=$?
4762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763
 
  (exit $ac_status); }; } &&
4764
 
         { ac_try='test -s conftest.$ac_objext'
4765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766
 
  (eval $ac_try) 2>&5
4767
 
  ac_status=$?
4768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769
 
  (exit $ac_status); }; }; then
4770
 
  ac_cv_prog_cxx_g=yes
4771
 
else
4772
 
  echo "$as_me: failed program was:" >&5
4773
 
sed 's/^/| /' conftest.$ac_ext >&5
4774
 
 
4775
 
ac_cv_prog_cxx_g=no
4776
 
fi
4777
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4778
 
fi
4779
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4780
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5568
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5569
   ac_cxx_werror_flag=yes
 
5570
   ac_cv_prog_cxx_g=no
 
5571
   CXXFLAGS="-g"
 
5572
   cat >conftest.$ac_ext <<_ACEOF
 
5573
/* confdefs.h.  */
 
5574
_ACEOF
 
5575
cat confdefs.h >>conftest.$ac_ext
 
5576
cat >>conftest.$ac_ext <<_ACEOF
 
5577
/* end confdefs.h.  */
 
5578
 
 
5579
int
 
5580
main ()
 
5581
{
 
5582
 
 
5583
  ;
 
5584
  return 0;
 
5585
}
 
5586
_ACEOF
 
5587
rm -f conftest.$ac_objext
 
5588
if { (ac_try="$ac_compile"
 
5589
case "(($ac_try" in
 
5590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5591
  *) ac_try_echo=$ac_try;;
 
5592
esac
 
5593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5594
  (eval "$ac_compile") 2>conftest.er1
 
5595
  ac_status=$?
 
5596
  grep -v '^ *+' conftest.er1 >conftest.err
 
5597
  rm -f conftest.er1
 
5598
  cat conftest.err >&5
 
5599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5600
  (exit $ac_status); } &&
 
5601
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5602
  { (case "(($ac_try" in
 
5603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5604
  *) ac_try_echo=$ac_try;;
 
5605
esac
 
5606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5607
  (eval "$ac_try") 2>&5
 
5608
  ac_status=$?
 
5609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5610
  (exit $ac_status); }; } &&
 
5611
         { ac_try='test -s conftest.$ac_objext'
 
5612
  { (case "(($ac_try" in
 
5613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5614
  *) ac_try_echo=$ac_try;;
 
5615
esac
 
5616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5617
  (eval "$ac_try") 2>&5
 
5618
  ac_status=$?
 
5619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5620
  (exit $ac_status); }; }; then
 
5621
  ac_cv_prog_cxx_g=yes
 
5622
else
 
5623
  echo "$as_me: failed program was:" >&5
 
5624
sed 's/^/| /' conftest.$ac_ext >&5
 
5625
 
 
5626
        CXXFLAGS=""
 
5627
      cat >conftest.$ac_ext <<_ACEOF
 
5628
/* confdefs.h.  */
 
5629
_ACEOF
 
5630
cat confdefs.h >>conftest.$ac_ext
 
5631
cat >>conftest.$ac_ext <<_ACEOF
 
5632
/* end confdefs.h.  */
 
5633
 
 
5634
int
 
5635
main ()
 
5636
{
 
5637
 
 
5638
  ;
 
5639
  return 0;
 
5640
}
 
5641
_ACEOF
 
5642
rm -f conftest.$ac_objext
 
5643
if { (ac_try="$ac_compile"
 
5644
case "(($ac_try" in
 
5645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5646
  *) ac_try_echo=$ac_try;;
 
5647
esac
 
5648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5649
  (eval "$ac_compile") 2>conftest.er1
 
5650
  ac_status=$?
 
5651
  grep -v '^ *+' conftest.er1 >conftest.err
 
5652
  rm -f conftest.er1
 
5653
  cat conftest.err >&5
 
5654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5655
  (exit $ac_status); } &&
 
5656
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5657
  { (case "(($ac_try" in
 
5658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5659
  *) ac_try_echo=$ac_try;;
 
5660
esac
 
5661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5662
  (eval "$ac_try") 2>&5
 
5663
  ac_status=$?
 
5664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5665
  (exit $ac_status); }; } &&
 
5666
         { ac_try='test -s conftest.$ac_objext'
 
5667
  { (case "(($ac_try" in
 
5668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5669
  *) ac_try_echo=$ac_try;;
 
5670
esac
 
5671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5672
  (eval "$ac_try") 2>&5
 
5673
  ac_status=$?
 
5674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5675
  (exit $ac_status); }; }; then
 
5676
  :
 
5677
else
 
5678
  echo "$as_me: failed program was:" >&5
 
5679
sed 's/^/| /' conftest.$ac_ext >&5
 
5680
 
 
5681
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5682
         CXXFLAGS="-g"
 
5683
         cat >conftest.$ac_ext <<_ACEOF
 
5684
/* confdefs.h.  */
 
5685
_ACEOF
 
5686
cat confdefs.h >>conftest.$ac_ext
 
5687
cat >>conftest.$ac_ext <<_ACEOF
 
5688
/* end confdefs.h.  */
 
5689
 
 
5690
int
 
5691
main ()
 
5692
{
 
5693
 
 
5694
  ;
 
5695
  return 0;
 
5696
}
 
5697
_ACEOF
 
5698
rm -f conftest.$ac_objext
 
5699
if { (ac_try="$ac_compile"
 
5700
case "(($ac_try" in
 
5701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5702
  *) ac_try_echo=$ac_try;;
 
5703
esac
 
5704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5705
  (eval "$ac_compile") 2>conftest.er1
 
5706
  ac_status=$?
 
5707
  grep -v '^ *+' conftest.er1 >conftest.err
 
5708
  rm -f conftest.er1
 
5709
  cat conftest.err >&5
 
5710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5711
  (exit $ac_status); } &&
 
5712
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5713
  { (case "(($ac_try" in
 
5714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5715
  *) ac_try_echo=$ac_try;;
 
5716
esac
 
5717
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5718
  (eval "$ac_try") 2>&5
 
5719
  ac_status=$?
 
5720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5721
  (exit $ac_status); }; } &&
 
5722
         { ac_try='test -s conftest.$ac_objext'
 
5723
  { (case "(($ac_try" in
 
5724
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5725
  *) ac_try_echo=$ac_try;;
 
5726
esac
 
5727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5728
  (eval "$ac_try") 2>&5
 
5729
  ac_status=$?
 
5730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5731
  (exit $ac_status); }; }; then
 
5732
  ac_cv_prog_cxx_g=yes
 
5733
else
 
5734
  echo "$as_me: failed program was:" >&5
 
5735
sed 's/^/| /' conftest.$ac_ext >&5
 
5736
 
 
5737
 
 
5738
fi
 
5739
 
 
5740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5741
fi
 
5742
 
 
5743
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5744
fi
 
5745
 
 
5746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5747
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5748
fi
 
5749
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5750
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4781
5751
if test "$ac_test_CXXFLAGS" = set; then
4782
5752
  CXXFLAGS=$ac_save_CXXFLAGS
4783
5753
elif test $ac_cv_prog_cxx_g = yes; then
4793
5763
    CXXFLAGS=
4794
5764
  fi
4795
5765
fi
4796
 
for ac_declaration in \
4797
 
   '' \
4798
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4799
 
   'extern "C" void std::exit (int); using std::exit;' \
4800
 
   'extern "C" void exit (int) throw ();' \
4801
 
   'extern "C" void exit (int);' \
4802
 
   'void exit (int);'
4803
 
do
4804
 
  cat >conftest.$ac_ext <<_ACEOF
4805
 
/* confdefs.h.  */
4806
 
_ACEOF
4807
 
cat confdefs.h >>conftest.$ac_ext
4808
 
cat >>conftest.$ac_ext <<_ACEOF
4809
 
/* end confdefs.h.  */
4810
 
$ac_declaration
4811
 
#include <stdlib.h>
4812
 
int
4813
 
main ()
4814
 
{
4815
 
exit (42);
4816
 
  ;
4817
 
  return 0;
4818
 
}
4819
 
_ACEOF
4820
 
rm -f conftest.$ac_objext
4821
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4822
 
  (eval $ac_compile) 2>conftest.er1
4823
 
  ac_status=$?
4824
 
  grep -v '^ *+' conftest.er1 >conftest.err
4825
 
  rm -f conftest.er1
4826
 
  cat conftest.err >&5
4827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
 
  (exit $ac_status); } &&
4829
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4830
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831
 
  (eval $ac_try) 2>&5
4832
 
  ac_status=$?
4833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834
 
  (exit $ac_status); }; } &&
4835
 
         { ac_try='test -s conftest.$ac_objext'
4836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837
 
  (eval $ac_try) 2>&5
4838
 
  ac_status=$?
4839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840
 
  (exit $ac_status); }; }; then
4841
 
  :
4842
 
else
4843
 
  echo "$as_me: failed program was:" >&5
4844
 
sed 's/^/| /' conftest.$ac_ext >&5
4845
 
 
4846
 
continue
4847
 
fi
4848
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4849
 
  cat >conftest.$ac_ext <<_ACEOF
4850
 
/* confdefs.h.  */
4851
 
_ACEOF
4852
 
cat confdefs.h >>conftest.$ac_ext
4853
 
cat >>conftest.$ac_ext <<_ACEOF
4854
 
/* end confdefs.h.  */
4855
 
$ac_declaration
4856
 
int
4857
 
main ()
4858
 
{
4859
 
exit (42);
4860
 
  ;
4861
 
  return 0;
4862
 
}
4863
 
_ACEOF
4864
 
rm -f conftest.$ac_objext
4865
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4866
 
  (eval $ac_compile) 2>conftest.er1
4867
 
  ac_status=$?
4868
 
  grep -v '^ *+' conftest.er1 >conftest.err
4869
 
  rm -f conftest.er1
4870
 
  cat conftest.err >&5
4871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872
 
  (exit $ac_status); } &&
4873
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875
 
  (eval $ac_try) 2>&5
4876
 
  ac_status=$?
4877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878
 
  (exit $ac_status); }; } &&
4879
 
         { ac_try='test -s conftest.$ac_objext'
4880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881
 
  (eval $ac_try) 2>&5
4882
 
  ac_status=$?
4883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884
 
  (exit $ac_status); }; }; then
4885
 
  break
4886
 
else
4887
 
  echo "$as_me: failed program was:" >&5
4888
 
sed 's/^/| /' conftest.$ac_ext >&5
4889
 
 
4890
 
fi
4891
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4892
 
done
4893
 
rm -f conftest*
4894
 
if test -n "$ac_declaration"; then
4895
 
  echo '#ifdef __cplusplus' >>confdefs.h
4896
 
  echo $ac_declaration      >>confdefs.h
4897
 
  echo '#endif'             >>confdefs.h
4898
 
fi
4899
 
 
4900
 
ac_ext=cc
 
5766
ac_ext=cpp
4901
5767
ac_cpp='$CXXCPP $CPPFLAGS'
4902
5768
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4903
5769
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905
5771
 
4906
5772
depcc="$CXX"  am_compiler_list=
4907
5773
 
4908
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4909
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5774
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5775
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4910
5776
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4911
5777
  echo $ECHO_N "(cached) $ECHO_C" >&6
4912
5778
else
4995
5861
fi
4996
5862
 
4997
5863
fi
4998
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4999
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5864
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5865
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5000
5866
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5001
5867
 
5002
5868
 
5017
5883
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5018
5884
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5019
5885
    (test "X$CXX" != "Xg++"))) ; then
5020
 
  ac_ext=cc
 
5886
  ac_ext=cpp
5021
5887
ac_cpp='$CXXCPP $CPPFLAGS'
5022
5888
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5023
5889
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5024
5890
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5025
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5026
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5891
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5892
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5027
5893
if test -z "$CXXCPP"; then
5028
5894
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5029
5895
  echo $ECHO_N "(cached) $ECHO_C" >&6
5053
5919
#endif
5054
5920
                     Syntax error
5055
5921
_ACEOF
5056
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5057
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5922
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5923
case "(($ac_try" in
 
5924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5925
  *) ac_try_echo=$ac_try;;
 
5926
esac
 
5927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5928
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5058
5929
  ac_status=$?
5059
5930
  grep -v '^ *+' conftest.er1 >conftest.err
5060
5931
  rm -f conftest.er1
5079
5950
  # Broken: fails on valid input.
5080
5951
continue
5081
5952
fi
 
5953
 
5082
5954
rm -f conftest.err conftest.$ac_ext
5083
5955
 
5084
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5956
  # OK, works on sane cases.  Now check whether nonexistent headers
5085
5957
  # can be detected and how.
5086
5958
  cat >conftest.$ac_ext <<_ACEOF
5087
5959
/* confdefs.h.  */
5091
5963
/* end confdefs.h.  */
5092
5964
#include <ac_nonexistent.h>
5093
5965
_ACEOF
5094
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5095
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5966
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5967
case "(($ac_try" in
 
5968
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5969
  *) ac_try_echo=$ac_try;;
 
5970
esac
 
5971
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5972
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5096
5973
  ac_status=$?
5097
5974
  grep -v '^ *+' conftest.er1 >conftest.err
5098
5975
  rm -f conftest.er1
5119
5996
ac_preproc_ok=:
5120
5997
break
5121
5998
fi
 
5999
 
5122
6000
rm -f conftest.err conftest.$ac_ext
5123
6001
 
5124
6002
done
5136
6014
else
5137
6015
  ac_cv_prog_CXXCPP=$CXXCPP
5138
6016
fi
5139
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5140
 
echo "${ECHO_T}$CXXCPP" >&6
 
6017
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6018
echo "${ECHO_T}$CXXCPP" >&6; }
5141
6019
ac_preproc_ok=false
5142
6020
for ac_cxx_preproc_warn_flag in '' yes
5143
6021
do
5160
6038
#endif
5161
6039
                     Syntax error
5162
6040
_ACEOF
5163
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5164
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6041
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6042
case "(($ac_try" in
 
6043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6044
  *) ac_try_echo=$ac_try;;
 
6045
esac
 
6046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6047
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5165
6048
  ac_status=$?
5166
6049
  grep -v '^ *+' conftest.er1 >conftest.err
5167
6050
  rm -f conftest.er1
5186
6069
  # Broken: fails on valid input.
5187
6070
continue
5188
6071
fi
 
6072
 
5189
6073
rm -f conftest.err conftest.$ac_ext
5190
6074
 
5191
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6075
  # OK, works on sane cases.  Now check whether nonexistent headers
5192
6076
  # can be detected and how.
5193
6077
  cat >conftest.$ac_ext <<_ACEOF
5194
6078
/* confdefs.h.  */
5198
6082
/* end confdefs.h.  */
5199
6083
#include <ac_nonexistent.h>
5200
6084
_ACEOF
5201
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5202
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6085
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6086
case "(($ac_try" in
 
6087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6088
  *) ac_try_echo=$ac_try;;
 
6089
esac
 
6090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6091
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5203
6092
  ac_status=$?
5204
6093
  grep -v '^ *+' conftest.er1 >conftest.err
5205
6094
  rm -f conftest.er1
5226
6115
ac_preproc_ok=:
5227
6116
break
5228
6117
fi
 
6118
 
5229
6119
rm -f conftest.err conftest.$ac_ext
5230
6120
 
5231
6121
done
5241
6131
   { (exit 1); exit 1; }; }
5242
6132
fi
5243
6133
 
5244
 
ac_ext=cc
 
6134
ac_ext=cpp
5245
6135
ac_cpp='$CXXCPP $CPPFLAGS'
5246
6136
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5247
6137
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5255
6145
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256
6146
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5257
6147
if test -n "$ac_tool_prefix"; then
5258
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6148
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5259
6149
  do
5260
6150
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261
6151
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5262
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5263
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6152
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6153
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264
6154
if test "${ac_cv_prog_F77+set}" = set; then
5265
6155
  echo $ECHO_N "(cached) $ECHO_C" >&6
5266
6156
else
5273
6163
  IFS=$as_save_IFS
5274
6164
  test -z "$as_dir" && as_dir=.
5275
6165
  for ac_exec_ext in '' $ac_executable_extensions; do
5276
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5277
6167
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5278
6168
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279
6169
    break 2
5280
6170
  fi
5281
6171
done
5282
6172
done
 
6173
IFS=$as_save_IFS
5283
6174
 
5284
6175
fi
5285
6176
fi
5286
6177
F77=$ac_cv_prog_F77
5287
6178
if test -n "$F77"; then
5288
 
  echo "$as_me:$LINENO: result: $F77" >&5
5289
 
echo "${ECHO_T}$F77" >&6
 
6179
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6180
echo "${ECHO_T}$F77" >&6; }
5290
6181
else
5291
 
  echo "$as_me:$LINENO: result: no" >&5
5292
 
echo "${ECHO_T}no" >&6
 
6182
  { echo "$as_me:$LINENO: result: no" >&5
 
6183
echo "${ECHO_T}no" >&6; }
5293
6184
fi
5294
6185
 
 
6186
 
5295
6187
    test -n "$F77" && break
5296
6188
  done
5297
6189
fi
5298
6190
if test -z "$F77"; then
5299
6191
  ac_ct_F77=$F77
5300
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6192
  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
5301
6193
do
5302
6194
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5303
6195
set dummy $ac_prog; ac_word=$2
5304
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5305
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6196
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6197
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5306
6198
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5307
6199
  echo $ECHO_N "(cached) $ECHO_C" >&6
5308
6200
else
5315
6207
  IFS=$as_save_IFS
5316
6208
  test -z "$as_dir" && as_dir=.
5317
6209
  for ac_exec_ext in '' $ac_executable_extensions; do
5318
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5319
6211
    ac_cv_prog_ac_ct_F77="$ac_prog"
5320
6212
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5321
6213
    break 2
5322
6214
  fi
5323
6215
done
5324
6216
done
 
6217
IFS=$as_save_IFS
5325
6218
 
5326
6219
fi
5327
6220
fi
5328
6221
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5329
6222
if test -n "$ac_ct_F77"; then
5330
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5331
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6223
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6224
echo "${ECHO_T}$ac_ct_F77" >&6; }
5332
6225
else
5333
 
  echo "$as_me:$LINENO: result: no" >&5
5334
 
echo "${ECHO_T}no" >&6
 
6226
  { echo "$as_me:$LINENO: result: no" >&5
 
6227
echo "${ECHO_T}no" >&6; }
5335
6228
fi
5336
6229
 
 
6230
 
5337
6231
  test -n "$ac_ct_F77" && break
5338
6232
done
5339
6233
 
5340
 
  F77=$ac_ct_F77
 
6234
  if test "x$ac_ct_F77" = x; then
 
6235
    F77=""
 
6236
  else
 
6237
    case $cross_compiling:$ac_tool_warned in
 
6238
yes:)
 
6239
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6240
whose name does not start with the host triplet.  If you think this
 
6241
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6242
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6243
whose name does not start with the host triplet.  If you think this
 
6244
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6245
ac_tool_warned=yes ;;
 
6246
esac
 
6247
    F77=$ac_ct_F77
 
6248
  fi
5341
6249
fi
5342
6250
 
5343
6251
 
5344
6252
# Provide some information about the compiler.
5345
 
echo "$as_me:5345:" \
5346
 
     "checking for Fortran 77 compiler version" >&5
 
6253
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5347
6254
ac_compiler=`set X $ac_compile; echo $2`
5348
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5349
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5350
 
  ac_status=$?
5351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352
 
  (exit $ac_status); }
5353
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5354
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5355
 
  ac_status=$?
5356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357
 
  (exit $ac_status); }
5358
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5359
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6255
{ (ac_try="$ac_compiler --version >&5"
 
6256
case "(($ac_try" in
 
6257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6258
  *) ac_try_echo=$ac_try;;
 
6259
esac
 
6260
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6261
  (eval "$ac_compiler --version >&5") 2>&5
 
6262
  ac_status=$?
 
6263
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6264
  (exit $ac_status); }
 
6265
{ (ac_try="$ac_compiler -v >&5"
 
6266
case "(($ac_try" in
 
6267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6268
  *) ac_try_echo=$ac_try;;
 
6269
esac
 
6270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6271
  (eval "$ac_compiler -v >&5") 2>&5
 
6272
  ac_status=$?
 
6273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6274
  (exit $ac_status); }
 
6275
{ (ac_try="$ac_compiler -V >&5"
 
6276
case "(($ac_try" in
 
6277
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6278
  *) ac_try_echo=$ac_try;;
 
6279
esac
 
6280
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6281
  (eval "$ac_compiler -V >&5") 2>&5
5360
6282
  ac_status=$?
5361
6283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362
6284
  (exit $ac_status); }
5366
6288
# input file.  (Note that this only needs to work for GNU compilers.)
5367
6289
ac_save_ext=$ac_ext
5368
6290
ac_ext=F
5369
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5370
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6291
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6292
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5371
6293
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5372
6294
  echo $ECHO_N "(cached) $ECHO_C" >&6
5373
6295
else
5380
6302
      end
5381
6303
_ACEOF
5382
6304
rm -f conftest.$ac_objext
5383
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5384
 
  (eval $ac_compile) 2>conftest.er1
 
6305
if { (ac_try="$ac_compile"
 
6306
case "(($ac_try" in
 
6307
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6308
  *) ac_try_echo=$ac_try;;
 
6309
esac
 
6310
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6311
  (eval "$ac_compile") 2>conftest.er1
5385
6312
  ac_status=$?
5386
6313
  grep -v '^ *+' conftest.er1 >conftest.err
5387
6314
  rm -f conftest.er1
5388
6315
  cat conftest.err >&5
5389
6316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390
6317
  (exit $ac_status); } &&
5391
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5393
 
  (eval $ac_try) 2>&5
 
6318
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6319
  { (case "(($ac_try" in
 
6320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6321
  *) ac_try_echo=$ac_try;;
 
6322
esac
 
6323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6324
  (eval "$ac_try") 2>&5
5394
6325
  ac_status=$?
5395
6326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396
6327
  (exit $ac_status); }; } &&
5397
6328
         { ac_try='test -s conftest.$ac_objext'
5398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399
 
  (eval $ac_try) 2>&5
 
6329
  { (case "(($ac_try" in
 
6330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6331
  *) ac_try_echo=$ac_try;;
 
6332
esac
 
6333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6334
  (eval "$ac_try") 2>&5
5400
6335
  ac_status=$?
5401
6336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
6337
  (exit $ac_status); }; }; then
5405
6340
  echo "$as_me: failed program was:" >&5
5406
6341
sed 's/^/| /' conftest.$ac_ext >&5
5407
6342
 
5408
 
ac_compiler_gnu=no
 
6343
        ac_compiler_gnu=no
5409
6344
fi
5410
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6345
 
 
6346
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5411
6347
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5412
6348
 
5413
6349
fi
5414
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5415
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6350
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6351
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5416
6352
ac_ext=$ac_save_ext
5417
6353
ac_test_FFLAGS=${FFLAGS+set}
5418
6354
ac_save_FFLAGS=$FFLAGS
5419
6355
FFLAGS=
5420
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5421
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6356
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6357
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5422
6358
if test "${ac_cv_prog_f77_g+set}" = set; then
5423
6359
  echo $ECHO_N "(cached) $ECHO_C" >&6
5424
6360
else
5429
6365
      end
5430
6366
_ACEOF
5431
6367
rm -f conftest.$ac_objext
5432
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5433
 
  (eval $ac_compile) 2>conftest.er1
 
6368
if { (ac_try="$ac_compile"
 
6369
case "(($ac_try" in
 
6370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6371
  *) ac_try_echo=$ac_try;;
 
6372
esac
 
6373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6374
  (eval "$ac_compile") 2>conftest.er1
5434
6375
  ac_status=$?
5435
6376
  grep -v '^ *+' conftest.er1 >conftest.err
5436
6377
  rm -f conftest.er1
5437
6378
  cat conftest.err >&5
5438
6379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439
6380
  (exit $ac_status); } &&
5440
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5442
 
  (eval $ac_try) 2>&5
 
6381
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6382
  { (case "(($ac_try" in
 
6383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6384
  *) ac_try_echo=$ac_try;;
 
6385
esac
 
6386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6387
  (eval "$ac_try") 2>&5
5443
6388
  ac_status=$?
5444
6389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445
6390
  (exit $ac_status); }; } &&
5446
6391
         { ac_try='test -s conftest.$ac_objext'
5447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5448
 
  (eval $ac_try) 2>&5
 
6392
  { (case "(($ac_try" in
 
6393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6394
  *) ac_try_echo=$ac_try;;
 
6395
esac
 
6396
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6397
  (eval "$ac_try") 2>&5
5449
6398
  ac_status=$?
5450
6399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451
6400
  (exit $ac_status); }; }; then
5454
6403
  echo "$as_me: failed program was:" >&5
5455
6404
sed 's/^/| /' conftest.$ac_ext >&5
5456
6405
 
5457
 
ac_cv_prog_f77_g=no
5458
 
fi
5459
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5460
 
 
5461
 
fi
5462
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5463
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6406
        ac_cv_prog_f77_g=no
 
6407
fi
 
6408
 
 
6409
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6410
 
 
6411
fi
 
6412
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6413
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5464
6414
if test "$ac_test_FFLAGS" = set; then
5465
6415
  FFLAGS=$ac_save_FFLAGS
5466
6416
elif test $ac_cv_prog_f77_g = yes; then
5489
6439
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5490
6440
 
5491
6441
# find the maximum length of command line arguments
5492
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5493
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6442
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6443
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5494
6444
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5495
6445
  echo $ECHO_N "(cached) $ECHO_C" >&6
5496
6446
else
5598
6548
fi
5599
6549
 
5600
6550
if test -n $lt_cv_sys_max_cmd_len ; then
5601
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5602
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6551
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6552
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5603
6553
else
5604
 
  echo "$as_me:$LINENO: result: none" >&5
5605
 
echo "${ECHO_T}none" >&6
 
6554
  { echo "$as_me:$LINENO: result: none" >&5
 
6555
echo "${ECHO_T}none" >&6; }
5606
6556
fi
5607
6557
 
5608
6558
 
5609
6559
 
5610
6560
 
5611
6561
# Check for command to grab the raw symbol name followed by C symbol from nm.
5612
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5613
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6562
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6563
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5614
6564
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5615
6565
  echo $ECHO_N "(cached) $ECHO_C" >&6
5616
6566
else
5814
6764
  lt_cv_sys_global_symbol_to_cdecl=
5815
6765
fi
5816
6766
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5817
 
  echo "$as_me:$LINENO: result: failed" >&5
5818
 
echo "${ECHO_T}failed" >&6
 
6767
  { echo "$as_me:$LINENO: result: failed" >&5
 
6768
echo "${ECHO_T}failed" >&6; }
5819
6769
else
5820
 
  echo "$as_me:$LINENO: result: ok" >&5
5821
 
echo "${ECHO_T}ok" >&6
 
6770
  { echo "$as_me:$LINENO: result: ok" >&5
 
6771
echo "${ECHO_T}ok" >&6; }
5822
6772
fi
5823
6773
 
5824
 
echo "$as_me:$LINENO: checking for objdir" >&5
5825
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6774
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6775
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5826
6776
if test "${lt_cv_objdir+set}" = set; then
5827
6777
  echo $ECHO_N "(cached) $ECHO_C" >&6
5828
6778
else
5836
6786
fi
5837
6787
rmdir .libs 2>/dev/null
5838
6788
fi
5839
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5840
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6789
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6790
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5841
6791
objdir=$lt_cv_objdir
5842
6792
 
5843
6793
 
5888
6838
if test -n "$ac_tool_prefix"; then
5889
6839
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5890
6840
set dummy ${ac_tool_prefix}ar; ac_word=$2
5891
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5892
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6841
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6842
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893
6843
if test "${ac_cv_prog_AR+set}" = set; then
5894
6844
  echo $ECHO_N "(cached) $ECHO_C" >&6
5895
6845
else
5902
6852
  IFS=$as_save_IFS
5903
6853
  test -z "$as_dir" && as_dir=.
5904
6854
  for ac_exec_ext in '' $ac_executable_extensions; do
5905
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6855
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5906
6856
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5907
6857
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5908
6858
    break 2
5909
6859
  fi
5910
6860
done
5911
6861
done
 
6862
IFS=$as_save_IFS
5912
6863
 
5913
6864
fi
5914
6865
fi
5915
6866
AR=$ac_cv_prog_AR
5916
6867
if test -n "$AR"; then
5917
 
  echo "$as_me:$LINENO: result: $AR" >&5
5918
 
echo "${ECHO_T}$AR" >&6
 
6868
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6869
echo "${ECHO_T}$AR" >&6; }
5919
6870
else
5920
 
  echo "$as_me:$LINENO: result: no" >&5
5921
 
echo "${ECHO_T}no" >&6
 
6871
  { echo "$as_me:$LINENO: result: no" >&5
 
6872
echo "${ECHO_T}no" >&6; }
5922
6873
fi
 
6874
 
5923
6875
 
5924
6876
fi
5925
6877
if test -z "$ac_cv_prog_AR"; then
5926
6878
  ac_ct_AR=$AR
5927
6879
  # Extract the first word of "ar", so it can be a program name with args.
5928
6880
set dummy ar; ac_word=$2
5929
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6881
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6882
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5931
6883
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5932
6884
  echo $ECHO_N "(cached) $ECHO_C" >&6
5933
6885
else
5940
6892
  IFS=$as_save_IFS
5941
6893
  test -z "$as_dir" && as_dir=.
5942
6894
  for ac_exec_ext in '' $ac_executable_extensions; do
5943
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5944
6896
    ac_cv_prog_ac_ct_AR="ar"
5945
6897
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946
6898
    break 2
5947
6899
  fi
5948
6900
done
5949
6901
done
 
6902
IFS=$as_save_IFS
5950
6903
 
5951
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5952
6904
fi
5953
6905
fi
5954
6906
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5955
6907
if test -n "$ac_ct_AR"; then
5956
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5957
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6908
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6909
echo "${ECHO_T}$ac_ct_AR" >&6; }
5958
6910
else
5959
 
  echo "$as_me:$LINENO: result: no" >&5
5960
 
echo "${ECHO_T}no" >&6
 
6911
  { echo "$as_me:$LINENO: result: no" >&5
 
6912
echo "${ECHO_T}no" >&6; }
5961
6913
fi
5962
6914
 
5963
 
  AR=$ac_ct_AR
 
6915
  if test "x$ac_ct_AR" = x; then
 
6916
    AR="false"
 
6917
  else
 
6918
    case $cross_compiling:$ac_tool_warned in
 
6919
yes:)
 
6920
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6921
whose name does not start with the host triplet.  If you think this
 
6922
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6923
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6924
whose name does not start with the host triplet.  If you think this
 
6925
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6926
ac_tool_warned=yes ;;
 
6927
esac
 
6928
    AR=$ac_ct_AR
 
6929
  fi
5964
6930
else
5965
6931
  AR="$ac_cv_prog_AR"
5966
6932
fi
5968
6934
if test -n "$ac_tool_prefix"; then
5969
6935
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5970
6936
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5971
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5972
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6937
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6938
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5973
6939
if test "${ac_cv_prog_RANLIB+set}" = set; then
5974
6940
  echo $ECHO_N "(cached) $ECHO_C" >&6
5975
6941
else
5982
6948
  IFS=$as_save_IFS
5983
6949
  test -z "$as_dir" && as_dir=.
5984
6950
  for ac_exec_ext in '' $ac_executable_extensions; do
5985
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6951
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5986
6952
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5987
6953
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5988
6954
    break 2
5989
6955
  fi
5990
6956
done
5991
6957
done
 
6958
IFS=$as_save_IFS
5992
6959
 
5993
6960
fi
5994
6961
fi
5995
6962
RANLIB=$ac_cv_prog_RANLIB
5996
6963
if test -n "$RANLIB"; then
5997
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5998
 
echo "${ECHO_T}$RANLIB" >&6
 
6964
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6965
echo "${ECHO_T}$RANLIB" >&6; }
5999
6966
else
6000
 
  echo "$as_me:$LINENO: result: no" >&5
6001
 
echo "${ECHO_T}no" >&6
 
6967
  { echo "$as_me:$LINENO: result: no" >&5
 
6968
echo "${ECHO_T}no" >&6; }
6002
6969
fi
 
6970
 
6003
6971
 
6004
6972
fi
6005
6973
if test -z "$ac_cv_prog_RANLIB"; then
6006
6974
  ac_ct_RANLIB=$RANLIB
6007
6975
  # Extract the first word of "ranlib", so it can be a program name with args.
6008
6976
set dummy ranlib; ac_word=$2
6009
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6010
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6977
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6978
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6011
6979
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6012
6980
  echo $ECHO_N "(cached) $ECHO_C" >&6
6013
6981
else
6020
6988
  IFS=$as_save_IFS
6021
6989
  test -z "$as_dir" && as_dir=.
6022
6990
  for ac_exec_ext in '' $ac_executable_extensions; do
6023
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6991
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6024
6992
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6025
6993
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6026
6994
    break 2
6027
6995
  fi
6028
6996
done
6029
6997
done
 
6998
IFS=$as_save_IFS
6030
6999
 
6031
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6032
7000
fi
6033
7001
fi
6034
7002
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6035
7003
if test -n "$ac_ct_RANLIB"; then
6036
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6037
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7004
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7005
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6038
7006
else
6039
 
  echo "$as_me:$LINENO: result: no" >&5
6040
 
echo "${ECHO_T}no" >&6
 
7007
  { echo "$as_me:$LINENO: result: no" >&5
 
7008
echo "${ECHO_T}no" >&6; }
6041
7009
fi
6042
7010
 
6043
 
  RANLIB=$ac_ct_RANLIB
 
7011
  if test "x$ac_ct_RANLIB" = x; then
 
7012
    RANLIB=":"
 
7013
  else
 
7014
    case $cross_compiling:$ac_tool_warned in
 
7015
yes:)
 
7016
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7017
whose name does not start with the host triplet.  If you think this
 
7018
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7019
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7020
whose name does not start with the host triplet.  If you think this
 
7021
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7022
ac_tool_warned=yes ;;
 
7023
esac
 
7024
    RANLIB=$ac_ct_RANLIB
 
7025
  fi
6044
7026
else
6045
7027
  RANLIB="$ac_cv_prog_RANLIB"
6046
7028
fi
6048
7030
if test -n "$ac_tool_prefix"; then
6049
7031
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6050
7032
set dummy ${ac_tool_prefix}strip; ac_word=$2
6051
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6052
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7033
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7034
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6053
7035
if test "${ac_cv_prog_STRIP+set}" = set; then
6054
7036
  echo $ECHO_N "(cached) $ECHO_C" >&6
6055
7037
else
6062
7044
  IFS=$as_save_IFS
6063
7045
  test -z "$as_dir" && as_dir=.
6064
7046
  for ac_exec_ext in '' $ac_executable_extensions; do
6065
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6066
7048
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6067
7049
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6068
7050
    break 2
6069
7051
  fi
6070
7052
done
6071
7053
done
 
7054
IFS=$as_save_IFS
6072
7055
 
6073
7056
fi
6074
7057
fi
6075
7058
STRIP=$ac_cv_prog_STRIP
6076
7059
if test -n "$STRIP"; then
6077
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6078
 
echo "${ECHO_T}$STRIP" >&6
 
7060
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7061
echo "${ECHO_T}$STRIP" >&6; }
6079
7062
else
6080
 
  echo "$as_me:$LINENO: result: no" >&5
6081
 
echo "${ECHO_T}no" >&6
 
7063
  { echo "$as_me:$LINENO: result: no" >&5
 
7064
echo "${ECHO_T}no" >&6; }
6082
7065
fi
 
7066
 
6083
7067
 
6084
7068
fi
6085
7069
if test -z "$ac_cv_prog_STRIP"; then
6086
7070
  ac_ct_STRIP=$STRIP
6087
7071
  # Extract the first word of "strip", so it can be a program name with args.
6088
7072
set dummy strip; ac_word=$2
6089
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6090
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7073
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091
7075
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6092
7076
  echo $ECHO_N "(cached) $ECHO_C" >&6
6093
7077
else
6100
7084
  IFS=$as_save_IFS
6101
7085
  test -z "$as_dir" && as_dir=.
6102
7086
  for ac_exec_ext in '' $ac_executable_extensions; do
6103
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7087
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6104
7088
    ac_cv_prog_ac_ct_STRIP="strip"
6105
7089
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106
7090
    break 2
6107
7091
  fi
6108
7092
done
6109
7093
done
 
7094
IFS=$as_save_IFS
6110
7095
 
6111
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6112
7096
fi
6113
7097
fi
6114
7098
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6115
7099
if test -n "$ac_ct_STRIP"; then
6116
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6117
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7100
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7101
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6118
7102
else
6119
 
  echo "$as_me:$LINENO: result: no" >&5
6120
 
echo "${ECHO_T}no" >&6
 
7103
  { echo "$as_me:$LINENO: result: no" >&5
 
7104
echo "${ECHO_T}no" >&6; }
6121
7105
fi
6122
7106
 
6123
 
  STRIP=$ac_ct_STRIP
 
7107
  if test "x$ac_ct_STRIP" = x; then
 
7108
    STRIP=":"
 
7109
  else
 
7110
    case $cross_compiling:$ac_tool_warned in
 
7111
yes:)
 
7112
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7113
whose name does not start with the host triplet.  If you think this
 
7114
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7115
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7116
whose name does not start with the host triplet.  If you think this
 
7117
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7118
ac_tool_warned=yes ;;
 
7119
esac
 
7120
    STRIP=$ac_ct_STRIP
 
7121
  fi
6124
7122
else
6125
7123
  STRIP="$ac_cv_prog_STRIP"
6126
7124
fi
6179
7177
case $deplibs_check_method in
6180
7178
file_magic*)
6181
7179
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6182
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6183
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7180
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7181
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6184
7182
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6185
7183
  echo $ECHO_N "(cached) $ECHO_C" >&6
6186
7184
else
6232
7230
 
6233
7231
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6234
7232
if test -n "$MAGIC_CMD"; then
6235
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6236
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7233
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7234
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6237
7235
else
6238
 
  echo "$as_me:$LINENO: result: no" >&5
6239
 
echo "${ECHO_T}no" >&6
 
7236
  { echo "$as_me:$LINENO: result: no" >&5
 
7237
echo "${ECHO_T}no" >&6; }
6240
7238
fi
6241
7239
 
6242
7240
if test -z "$lt_cv_path_MAGIC_CMD"; then
6243
7241
  if test -n "$ac_tool_prefix"; then
6244
 
    echo "$as_me:$LINENO: checking for file" >&5
6245
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7242
    { echo "$as_me:$LINENO: checking for file" >&5
 
7243
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6246
7244
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6247
7245
  echo $ECHO_N "(cached) $ECHO_C" >&6
6248
7246
else
6294
7292
 
6295
7293
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6296
7294
if test -n "$MAGIC_CMD"; then
6297
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6298
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7295
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7296
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6299
7297
else
6300
 
  echo "$as_me:$LINENO: result: no" >&5
6301
 
echo "${ECHO_T}no" >&6
 
7298
  { echo "$as_me:$LINENO: result: no" >&5
 
7299
echo "${ECHO_T}no" >&6; }
6302
7300
fi
6303
7301
 
6304
7302
  else
6313
7311
enable_dlopen=no
6314
7312
enable_win32_dll=no
6315
7313
 
6316
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7314
# Check whether --enable-libtool-lock was given.
6317
7315
if test "${enable_libtool_lock+set}" = set; then
6318
 
  enableval="$enable_libtool_lock"
 
7316
  enableval=$enable_libtool_lock;
 
7317
fi
6319
7318
 
6320
 
fi;
6321
7319
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6322
7320
 
6323
7321
 
6324
 
# Check whether --with-pic or --without-pic was given.
 
7322
# Check whether --with-pic was given.
6325
7323
if test "${with_pic+set}" = set; then
6326
 
  withval="$with_pic"
6327
 
  pic_mode="$withval"
 
7324
  withval=$with_pic; pic_mode="$withval"
6328
7325
else
6329
7326
  pic_mode=default
6330
 
fi;
 
7327
fi
 
7328
 
6331
7329
test -z "$pic_mode" && pic_mode=default
6332
7330
 
6333
7331
# Use C for the default configuration in the libtool script
6385
7383
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6386
7384
 
6387
7385
 
6388
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6389
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7386
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7387
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6390
7388
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6391
7389
  echo $ECHO_N "(cached) $ECHO_C" >&6
6392
7390
else
6403
7401
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6404
7402
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6405
7403
   -e 's:$: $lt_compiler_flag:'`
6406
 
   (eval echo "\"\$as_me:6406: $lt_compile\"" >&5)
 
7404
   (eval echo "\"\$as_me:7404: $lt_compile\"" >&5)
6407
7405
   (eval "$lt_compile" 2>conftest.err)
6408
7406
   ac_status=$?
6409
7407
   cat conftest.err >&5
6410
 
   echo "$as_me:6410: \$? = $ac_status" >&5
 
7408
   echo "$as_me:7408: \$? = $ac_status" >&5
6411
7409
   if (exit $ac_status) && test -s "$ac_outfile"; then
6412
7410
     # The compiler can only warn and ignore the option if not recognized
6413
7411
     # So say no if there are warnings other than the usual output.
6420
7418
   $rm conftest*
6421
7419
 
6422
7420
fi
6423
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6424
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7421
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7422
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6425
7423
 
6426
7424
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6427
7425
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6435
7433
lt_prog_compiler_pic=
6436
7434
lt_prog_compiler_static=
6437
7435
 
6438
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6439
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7436
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7437
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6440
7438
 
6441
7439
  if test "$GCC" = yes; then
6442
7440
    lt_prog_compiler_wl='-Wl,'
6645
7643
    esac
6646
7644
  fi
6647
7645
 
6648
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6649
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7646
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7647
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6650
7648
 
6651
7649
#
6652
7650
# Check to make sure the PIC flag actually works.
6653
7651
#
6654
7652
if test -n "$lt_prog_compiler_pic"; then
6655
7653
 
6656
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6657
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7654
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7655
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6658
7656
if test "${lt_prog_compiler_pic_works+set}" = set; then
6659
7657
  echo $ECHO_N "(cached) $ECHO_C" >&6
6660
7658
else
6671
7669
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6672
7670
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6673
7671
   -e 's:$: $lt_compiler_flag:'`
6674
 
   (eval echo "\"\$as_me:6674: $lt_compile\"" >&5)
 
7672
   (eval echo "\"\$as_me:7672: $lt_compile\"" >&5)
6675
7673
   (eval "$lt_compile" 2>conftest.err)
6676
7674
   ac_status=$?
6677
7675
   cat conftest.err >&5
6678
 
   echo "$as_me:6678: \$? = $ac_status" >&5
 
7676
   echo "$as_me:7676: \$? = $ac_status" >&5
6679
7677
   if (exit $ac_status) && test -s "$ac_outfile"; then
6680
7678
     # The compiler can only warn and ignore the option if not recognized
6681
7679
     # So say no if there are warnings other than the usual output.
6688
7686
   $rm conftest*
6689
7687
 
6690
7688
fi
6691
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6692
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7689
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7690
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6693
7691
 
6694
7692
if test x"$lt_prog_compiler_pic_works" = xyes; then
6695
7693
    case $lt_prog_compiler_pic in
6716
7714
# Check to make sure the static flag actually works.
6717
7715
#
6718
7716
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6719
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6720
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
7717
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7718
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6721
7719
if test "${lt_prog_compiler_static_works+set}" = set; then
6722
7720
  echo $ECHO_N "(cached) $ECHO_C" >&6
6723
7721
else
6744
7742
   LDFLAGS="$save_LDFLAGS"
6745
7743
 
6746
7744
fi
6747
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6748
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7745
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7746
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6749
7747
 
6750
7748
if test x"$lt_prog_compiler_static_works" = xyes; then
6751
7749
    :
6754
7752
fi
6755
7753
 
6756
7754
 
6757
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6758
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7755
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7756
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6759
7757
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6760
7758
  echo $ECHO_N "(cached) $ECHO_C" >&6
6761
7759
else
6775
7773
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6776
7774
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6777
7775
   -e 's:$: $lt_compiler_flag:'`
6778
 
   (eval echo "\"\$as_me:6778: $lt_compile\"" >&5)
 
7776
   (eval echo "\"\$as_me:7776: $lt_compile\"" >&5)
6779
7777
   (eval "$lt_compile" 2>out/conftest.err)
6780
7778
   ac_status=$?
6781
7779
   cat out/conftest.err >&5
6782
 
   echo "$as_me:6782: \$? = $ac_status" >&5
 
7780
   echo "$as_me:7780: \$? = $ac_status" >&5
6783
7781
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6784
7782
   then
6785
7783
     # The compiler can only warn and ignore the option if not recognized
6801
7799
   $rm conftest*
6802
7800
 
6803
7801
fi
6804
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6805
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7802
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7803
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6806
7804
 
6807
7805
 
6808
7806
hard_links="nottested"
6809
7807
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6810
7808
  # do not overwrite the value of need_locks provided by the user
6811
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6812
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7809
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7810
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6813
7811
  hard_links=yes
6814
7812
  $rm conftest*
6815
7813
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6816
7814
  touch conftest.a
6817
7815
  ln conftest.a conftest.b 2>&5 || hard_links=no
6818
7816
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6819
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6820
 
echo "${ECHO_T}$hard_links" >&6
 
7817
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7818
echo "${ECHO_T}$hard_links" >&6; }
6821
7819
  if test "$hard_links" = no; then
6822
7820
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6823
7821
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6827
7825
  need_locks=no
6828
7826
fi
6829
7827
 
6830
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6831
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7828
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7829
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6832
7830
 
6833
7831
  runpath_var=
6834
7832
  allow_undefined_flag=
7244
8242
}
7245
8243
_ACEOF
7246
8244
rm -f conftest.$ac_objext conftest$ac_exeext
7247
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7248
 
  (eval $ac_link) 2>conftest.er1
 
8245
if { (ac_try="$ac_link"
 
8246
case "(($ac_try" in
 
8247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8248
  *) ac_try_echo=$ac_try;;
 
8249
esac
 
8250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8251
  (eval "$ac_link") 2>conftest.er1
7249
8252
  ac_status=$?
7250
8253
  grep -v '^ *+' conftest.er1 >conftest.err
7251
8254
  rm -f conftest.er1
7252
8255
  cat conftest.err >&5
7253
8256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254
8257
  (exit $ac_status); } &&
7255
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7256
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257
 
  (eval $ac_try) 2>&5
 
8258
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8259
  { (case "(($ac_try" in
 
8260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8261
  *) ac_try_echo=$ac_try;;
 
8262
esac
 
8263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8264
  (eval "$ac_try") 2>&5
7258
8265
  ac_status=$?
7259
8266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260
8267
  (exit $ac_status); }; } &&
7261
8268
         { ac_try='test -s conftest$ac_exeext'
7262
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263
 
  (eval $ac_try) 2>&5
 
8269
  { (case "(($ac_try" in
 
8270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8271
  *) ac_try_echo=$ac_try;;
 
8272
esac
 
8273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8274
  (eval "$ac_try") 2>&5
7264
8275
  ac_status=$?
7265
8276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266
8277
  (exit $ac_status); }; }; then
7274
8285
  echo "$as_me: failed program was:" >&5
7275
8286
sed 's/^/| /' conftest.$ac_ext >&5
7276
8287
 
 
8288
 
7277
8289
fi
7278
 
rm -f conftest.err conftest.$ac_objext \
 
8290
 
 
8291
rm -f core conftest.err conftest.$ac_objext \
7279
8292
      conftest$ac_exeext conftest.$ac_ext
7280
8293
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7281
8294
 
7304
8317
}
7305
8318
_ACEOF
7306
8319
rm -f conftest.$ac_objext conftest$ac_exeext
7307
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7308
 
  (eval $ac_link) 2>conftest.er1
 
8320
if { (ac_try="$ac_link"
 
8321
case "(($ac_try" in
 
8322
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8323
  *) ac_try_echo=$ac_try;;
 
8324
esac
 
8325
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8326
  (eval "$ac_link") 2>conftest.er1
7309
8327
  ac_status=$?
7310
8328
  grep -v '^ *+' conftest.er1 >conftest.err
7311
8329
  rm -f conftest.er1
7312
8330
  cat conftest.err >&5
7313
8331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314
8332
  (exit $ac_status); } &&
7315
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7316
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317
 
  (eval $ac_try) 2>&5
 
8333
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8334
  { (case "(($ac_try" in
 
8335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8336
  *) ac_try_echo=$ac_try;;
 
8337
esac
 
8338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8339
  (eval "$ac_try") 2>&5
7318
8340
  ac_status=$?
7319
8341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320
8342
  (exit $ac_status); }; } &&
7321
8343
         { ac_try='test -s conftest$ac_exeext'
7322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7323
 
  (eval $ac_try) 2>&5
 
8344
  { (case "(($ac_try" in
 
8345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8346
  *) ac_try_echo=$ac_try;;
 
8347
esac
 
8348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8349
  (eval "$ac_try") 2>&5
7324
8350
  ac_status=$?
7325
8351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326
8352
  (exit $ac_status); }; }; then
7334
8360
  echo "$as_me: failed program was:" >&5
7335
8361
sed 's/^/| /' conftest.$ac_ext >&5
7336
8362
 
 
8363
 
7337
8364
fi
7338
 
rm -f conftest.err conftest.$ac_objext \
 
8365
 
 
8366
rm -f core conftest.err conftest.$ac_objext \
7339
8367
      conftest$ac_exeext conftest.$ac_ext
7340
8368
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7341
8369
 
7784
8812
    esac
7785
8813
  fi
7786
8814
 
7787
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7788
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8815
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8816
echo "${ECHO_T}$ld_shlibs" >&6; }
7789
8817
test "$ld_shlibs" = no && can_build_shared=no
7790
8818
 
7791
8819
#
7805
8833
      # Test whether the compiler implicitly links with -lc since on some
7806
8834
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7807
8835
      # to ld, don't add -lc before -lgcc.
7808
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7809
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8836
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8837
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7810
8838
      $rm conftest*
7811
8839
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7812
8840
 
7843
8871
        cat conftest.err 1>&5
7844
8872
      fi
7845
8873
      $rm conftest*
7846
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7847
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8874
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8875
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7848
8876
      ;;
7849
8877
    esac
7850
8878
  fi
7851
8879
  ;;
7852
8880
esac
7853
8881
 
7854
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7855
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8882
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8883
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7856
8884
library_names_spec=
7857
8885
libname_spec='lib$name'
7858
8886
soname_spec=
8427
9455
  dynamic_linker=no
8428
9456
  ;;
8429
9457
esac
8430
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8431
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9458
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9459
echo "${ECHO_T}$dynamic_linker" >&6; }
8432
9460
test "$dynamic_linker" = no && can_build_shared=no
8433
9461
 
8434
9462
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8436
9464
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8437
9465
fi
8438
9466
 
8439
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8440
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9467
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9468
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8441
9469
hardcode_action=
8442
9470
if test -n "$hardcode_libdir_flag_spec" || \
8443
9471
   test -n "$runpath_var" || \
8461
9489
  # directories.
8462
9490
  hardcode_action=unsupported
8463
9491
fi
8464
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8465
 
echo "${ECHO_T}$hardcode_action" >&6
 
9492
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9493
echo "${ECHO_T}$hardcode_action" >&6; }
8466
9494
 
8467
9495
if test "$hardcode_action" = relink; then
8468
9496
  # Fast installation is not supported
8475
9503
 
8476
9504
striplib=
8477
9505
old_striplib=
8478
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8479
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9506
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9507
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8480
9508
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8481
9509
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8482
9510
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8483
 
  echo "$as_me:$LINENO: result: yes" >&5
8484
 
echo "${ECHO_T}yes" >&6
 
9511
  { echo "$as_me:$LINENO: result: yes" >&5
 
9512
echo "${ECHO_T}yes" >&6; }
8485
9513
else
8486
9514
# FIXME - insert some real tests, host_os isn't really good enough
8487
9515
  case $host_os in
8488
9516
   darwin*)
8489
9517
       if test -n "$STRIP" ; then
8490
9518
         striplib="$STRIP -x"
8491
 
         echo "$as_me:$LINENO: result: yes" >&5
8492
 
echo "${ECHO_T}yes" >&6
 
9519
         { echo "$as_me:$LINENO: result: yes" >&5
 
9520
echo "${ECHO_T}yes" >&6; }
8493
9521
       else
8494
 
  echo "$as_me:$LINENO: result: no" >&5
8495
 
echo "${ECHO_T}no" >&6
 
9522
  { echo "$as_me:$LINENO: result: no" >&5
 
9523
echo "${ECHO_T}no" >&6; }
8496
9524
fi
8497
9525
       ;;
8498
9526
   *)
8499
 
  echo "$as_me:$LINENO: result: no" >&5
8500
 
echo "${ECHO_T}no" >&6
 
9527
  { echo "$as_me:$LINENO: result: no" >&5
 
9528
echo "${ECHO_T}no" >&6; }
8501
9529
    ;;
8502
9530
  esac
8503
9531
fi
8529
9557
 
8530
9558
  darwin*)
8531
9559
  # if libdl is installed we need to link against it
8532
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8533
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9560
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9561
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8534
9562
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8535
9563
  echo $ECHO_N "(cached) $ECHO_C" >&6
8536
9564
else
8543
9571
cat >>conftest.$ac_ext <<_ACEOF
8544
9572
/* end confdefs.h.  */
8545
9573
 
8546
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9574
/* Override any GCC internal prototype to avoid an error.
 
9575
   Use char because int might match the return type of a GCC
 
9576
   builtin and then its argument prototype would still apply.  */
8547
9577
#ifdef __cplusplus
8548
9578
extern "C"
8549
9579
#endif
8550
 
/* We use char because int might match the return type of a gcc2
8551
 
   builtin and then its argument prototype would still apply.  */
8552
9580
char dlopen ();
8553
9581
int
8554
9582
main ()
8555
9583
{
8556
 
dlopen ();
 
9584
return dlopen ();
8557
9585
  ;
8558
9586
  return 0;
8559
9587
}
8560
9588
_ACEOF
8561
9589
rm -f conftest.$ac_objext conftest$ac_exeext
8562
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8563
 
  (eval $ac_link) 2>conftest.er1
 
9590
if { (ac_try="$ac_link"
 
9591
case "(($ac_try" in
 
9592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9593
  *) ac_try_echo=$ac_try;;
 
9594
esac
 
9595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9596
  (eval "$ac_link") 2>conftest.er1
8564
9597
  ac_status=$?
8565
9598
  grep -v '^ *+' conftest.er1 >conftest.err
8566
9599
  rm -f conftest.er1
8567
9600
  cat conftest.err >&5
8568
9601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569
9602
  (exit $ac_status); } &&
8570
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572
 
  (eval $ac_try) 2>&5
 
9603
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9604
  { (case "(($ac_try" in
 
9605
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9606
  *) ac_try_echo=$ac_try;;
 
9607
esac
 
9608
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9609
  (eval "$ac_try") 2>&5
8573
9610
  ac_status=$?
8574
9611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575
9612
  (exit $ac_status); }; } &&
8576
9613
         { ac_try='test -s conftest$ac_exeext'
8577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8578
 
  (eval $ac_try) 2>&5
 
9614
  { (case "(($ac_try" in
 
9615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9616
  *) ac_try_echo=$ac_try;;
 
9617
esac
 
9618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9619
  (eval "$ac_try") 2>&5
8579
9620
  ac_status=$?
8580
9621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581
9622
  (exit $ac_status); }; }; then
8584
9625
  echo "$as_me: failed program was:" >&5
8585
9626
sed 's/^/| /' conftest.$ac_ext >&5
8586
9627
 
8587
 
ac_cv_lib_dl_dlopen=no
 
9628
        ac_cv_lib_dl_dlopen=no
8588
9629
fi
8589
 
rm -f conftest.err conftest.$ac_objext \
 
9630
 
 
9631
rm -f core conftest.err conftest.$ac_objext \
8590
9632
      conftest$ac_exeext conftest.$ac_ext
8591
9633
LIBS=$ac_check_lib_save_LIBS
8592
9634
fi
8593
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8594
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9635
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9636
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8595
9637
if test $ac_cv_lib_dl_dlopen = yes; then
8596
9638
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8597
9639
else
8605
9647
   ;;
8606
9648
 
8607
9649
  *)
8608
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8609
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9650
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9651
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8610
9652
if test "${ac_cv_func_shl_load+set}" = set; then
8611
9653
  echo $ECHO_N "(cached) $ECHO_C" >&6
8612
9654
else
8633
9675
 
8634
9676
#undef shl_load
8635
9677
 
8636
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9678
/* Override any GCC internal prototype to avoid an error.
 
9679
   Use char because int might match the return type of a GCC
 
9680
   builtin and then its argument prototype would still apply.  */
8637
9681
#ifdef __cplusplus
8638
9682
extern "C"
8639
 
{
8640
9683
#endif
8641
 
/* We use char because int might match the return type of a gcc2
8642
 
   builtin and then its argument prototype would still apply.  */
8643
9684
char shl_load ();
8644
9685
/* The GNU C library defines this for functions which it implements
8645
9686
    to always fail with ENOSYS.  Some functions are actually named
8646
9687
    something starting with __ and the normal name is an alias.  */
8647
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9688
#if defined __stub_shl_load || defined __stub___shl_load
8648
9689
choke me
8649
 
#else
8650
 
char (*f) () = shl_load;
8651
 
#endif
8652
 
#ifdef __cplusplus
8653
 
}
8654
9690
#endif
8655
9691
 
8656
9692
int
8657
9693
main ()
8658
9694
{
8659
 
return f != shl_load;
 
9695
return shl_load ();
8660
9696
  ;
8661
9697
  return 0;
8662
9698
}
8663
9699
_ACEOF
8664
9700
rm -f conftest.$ac_objext conftest$ac_exeext
8665
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8666
 
  (eval $ac_link) 2>conftest.er1
 
9701
if { (ac_try="$ac_link"
 
9702
case "(($ac_try" in
 
9703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9704
  *) ac_try_echo=$ac_try;;
 
9705
esac
 
9706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9707
  (eval "$ac_link") 2>conftest.er1
8667
9708
  ac_status=$?
8668
9709
  grep -v '^ *+' conftest.er1 >conftest.err
8669
9710
  rm -f conftest.er1
8670
9711
  cat conftest.err >&5
8671
9712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672
9713
  (exit $ac_status); } &&
8673
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675
 
  (eval $ac_try) 2>&5
 
9714
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9715
  { (case "(($ac_try" in
 
9716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9717
  *) ac_try_echo=$ac_try;;
 
9718
esac
 
9719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9720
  (eval "$ac_try") 2>&5
8676
9721
  ac_status=$?
8677
9722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678
9723
  (exit $ac_status); }; } &&
8679
9724
         { ac_try='test -s conftest$ac_exeext'
8680
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681
 
  (eval $ac_try) 2>&5
 
9725
  { (case "(($ac_try" in
 
9726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9727
  *) ac_try_echo=$ac_try;;
 
9728
esac
 
9729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9730
  (eval "$ac_try") 2>&5
8682
9731
  ac_status=$?
8683
9732
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684
9733
  (exit $ac_status); }; }; then
8687
9736
  echo "$as_me: failed program was:" >&5
8688
9737
sed 's/^/| /' conftest.$ac_ext >&5
8689
9738
 
8690
 
ac_cv_func_shl_load=no
 
9739
        ac_cv_func_shl_load=no
8691
9740
fi
8692
 
rm -f conftest.err conftest.$ac_objext \
 
9741
 
 
9742
rm -f core conftest.err conftest.$ac_objext \
8693
9743
      conftest$ac_exeext conftest.$ac_ext
8694
9744
fi
8695
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8696
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9745
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9746
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8697
9747
if test $ac_cv_func_shl_load = yes; then
8698
9748
  lt_cv_dlopen="shl_load"
8699
9749
else
8700
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8701
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9750
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9751
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8702
9752
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8703
9753
  echo $ECHO_N "(cached) $ECHO_C" >&6
8704
9754
else
8711
9761
cat >>conftest.$ac_ext <<_ACEOF
8712
9762
/* end confdefs.h.  */
8713
9763
 
8714
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9764
/* Override any GCC internal prototype to avoid an error.
 
9765
   Use char because int might match the return type of a GCC
 
9766
   builtin and then its argument prototype would still apply.  */
8715
9767
#ifdef __cplusplus
8716
9768
extern "C"
8717
9769
#endif
8718
 
/* We use char because int might match the return type of a gcc2
8719
 
   builtin and then its argument prototype would still apply.  */
8720
9770
char shl_load ();
8721
9771
int
8722
9772
main ()
8723
9773
{
8724
 
shl_load ();
 
9774
return shl_load ();
8725
9775
  ;
8726
9776
  return 0;
8727
9777
}
8728
9778
_ACEOF
8729
9779
rm -f conftest.$ac_objext conftest$ac_exeext
8730
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8731
 
  (eval $ac_link) 2>conftest.er1
 
9780
if { (ac_try="$ac_link"
 
9781
case "(($ac_try" in
 
9782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9783
  *) ac_try_echo=$ac_try;;
 
9784
esac
 
9785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9786
  (eval "$ac_link") 2>conftest.er1
8732
9787
  ac_status=$?
8733
9788
  grep -v '^ *+' conftest.er1 >conftest.err
8734
9789
  rm -f conftest.er1
8735
9790
  cat conftest.err >&5
8736
9791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737
9792
  (exit $ac_status); } &&
8738
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8739
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740
 
  (eval $ac_try) 2>&5
 
9793
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9794
  { (case "(($ac_try" in
 
9795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9796
  *) ac_try_echo=$ac_try;;
 
9797
esac
 
9798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9799
  (eval "$ac_try") 2>&5
8741
9800
  ac_status=$?
8742
9801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743
9802
  (exit $ac_status); }; } &&
8744
9803
         { ac_try='test -s conftest$ac_exeext'
8745
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746
 
  (eval $ac_try) 2>&5
 
9804
  { (case "(($ac_try" in
 
9805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9806
  *) ac_try_echo=$ac_try;;
 
9807
esac
 
9808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9809
  (eval "$ac_try") 2>&5
8747
9810
  ac_status=$?
8748
9811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749
9812
  (exit $ac_status); }; }; then
8752
9815
  echo "$as_me: failed program was:" >&5
8753
9816
sed 's/^/| /' conftest.$ac_ext >&5
8754
9817
 
8755
 
ac_cv_lib_dld_shl_load=no
 
9818
        ac_cv_lib_dld_shl_load=no
8756
9819
fi
8757
 
rm -f conftest.err conftest.$ac_objext \
 
9820
 
 
9821
rm -f core conftest.err conftest.$ac_objext \
8758
9822
      conftest$ac_exeext conftest.$ac_ext
8759
9823
LIBS=$ac_check_lib_save_LIBS
8760
9824
fi
8761
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8762
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9825
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9826
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8763
9827
if test $ac_cv_lib_dld_shl_load = yes; then
8764
9828
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8765
9829
else
8766
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8767
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9830
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9831
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8768
9832
if test "${ac_cv_func_dlopen+set}" = set; then
8769
9833
  echo $ECHO_N "(cached) $ECHO_C" >&6
8770
9834
else
8791
9855
 
8792
9856
#undef dlopen
8793
9857
 
8794
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9858
/* Override any GCC internal prototype to avoid an error.
 
9859
   Use char because int might match the return type of a GCC
 
9860
   builtin and then its argument prototype would still apply.  */
8795
9861
#ifdef __cplusplus
8796
9862
extern "C"
8797
 
{
8798
9863
#endif
8799
 
/* We use char because int might match the return type of a gcc2
8800
 
   builtin and then its argument prototype would still apply.  */
8801
9864
char dlopen ();
8802
9865
/* The GNU C library defines this for functions which it implements
8803
9866
    to always fail with ENOSYS.  Some functions are actually named
8804
9867
    something starting with __ and the normal name is an alias.  */
8805
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9868
#if defined __stub_dlopen || defined __stub___dlopen
8806
9869
choke me
8807
 
#else
8808
 
char (*f) () = dlopen;
8809
 
#endif
8810
 
#ifdef __cplusplus
8811
 
}
8812
9870
#endif
8813
9871
 
8814
9872
int
8815
9873
main ()
8816
9874
{
8817
 
return f != dlopen;
 
9875
return dlopen ();
8818
9876
  ;
8819
9877
  return 0;
8820
9878
}
8821
9879
_ACEOF
8822
9880
rm -f conftest.$ac_objext conftest$ac_exeext
8823
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8824
 
  (eval $ac_link) 2>conftest.er1
 
9881
if { (ac_try="$ac_link"
 
9882
case "(($ac_try" in
 
9883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9884
  *) ac_try_echo=$ac_try;;
 
9885
esac
 
9886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9887
  (eval "$ac_link") 2>conftest.er1
8825
9888
  ac_status=$?
8826
9889
  grep -v '^ *+' conftest.er1 >conftest.err
8827
9890
  rm -f conftest.er1
8828
9891
  cat conftest.err >&5
8829
9892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830
9893
  (exit $ac_status); } &&
8831
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833
 
  (eval $ac_try) 2>&5
 
9894
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9895
  { (case "(($ac_try" in
 
9896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9897
  *) ac_try_echo=$ac_try;;
 
9898
esac
 
9899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9900
  (eval "$ac_try") 2>&5
8834
9901
  ac_status=$?
8835
9902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836
9903
  (exit $ac_status); }; } &&
8837
9904
         { ac_try='test -s conftest$ac_exeext'
8838
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839
 
  (eval $ac_try) 2>&5
 
9905
  { (case "(($ac_try" in
 
9906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9907
  *) ac_try_echo=$ac_try;;
 
9908
esac
 
9909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9910
  (eval "$ac_try") 2>&5
8840
9911
  ac_status=$?
8841
9912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842
9913
  (exit $ac_status); }; }; then
8845
9916
  echo "$as_me: failed program was:" >&5
8846
9917
sed 's/^/| /' conftest.$ac_ext >&5
8847
9918
 
8848
 
ac_cv_func_dlopen=no
 
9919
        ac_cv_func_dlopen=no
8849
9920
fi
8850
 
rm -f conftest.err conftest.$ac_objext \
 
9921
 
 
9922
rm -f core conftest.err conftest.$ac_objext \
8851
9923
      conftest$ac_exeext conftest.$ac_ext
8852
9924
fi
8853
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8854
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9925
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9926
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8855
9927
if test $ac_cv_func_dlopen = yes; then
8856
9928
  lt_cv_dlopen="dlopen"
8857
9929
else
8858
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8859
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9930
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9931
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8860
9932
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8861
9933
  echo $ECHO_N "(cached) $ECHO_C" >&6
8862
9934
else
8869
9941
cat >>conftest.$ac_ext <<_ACEOF
8870
9942
/* end confdefs.h.  */
8871
9943
 
8872
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9944
/* Override any GCC internal prototype to avoid an error.
 
9945
   Use char because int might match the return type of a GCC
 
9946
   builtin and then its argument prototype would still apply.  */
8873
9947
#ifdef __cplusplus
8874
9948
extern "C"
8875
9949
#endif
8876
 
/* We use char because int might match the return type of a gcc2
8877
 
   builtin and then its argument prototype would still apply.  */
8878
9950
char dlopen ();
8879
9951
int
8880
9952
main ()
8881
9953
{
8882
 
dlopen ();
 
9954
return dlopen ();
8883
9955
  ;
8884
9956
  return 0;
8885
9957
}
8886
9958
_ACEOF
8887
9959
rm -f conftest.$ac_objext conftest$ac_exeext
8888
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8889
 
  (eval $ac_link) 2>conftest.er1
 
9960
if { (ac_try="$ac_link"
 
9961
case "(($ac_try" in
 
9962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9963
  *) ac_try_echo=$ac_try;;
 
9964
esac
 
9965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9966
  (eval "$ac_link") 2>conftest.er1
8890
9967
  ac_status=$?
8891
9968
  grep -v '^ *+' conftest.er1 >conftest.err
8892
9969
  rm -f conftest.er1
8893
9970
  cat conftest.err >&5
8894
9971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895
9972
  (exit $ac_status); } &&
8896
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8897
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8898
 
  (eval $ac_try) 2>&5
 
9973
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9974
  { (case "(($ac_try" in
 
9975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9976
  *) ac_try_echo=$ac_try;;
 
9977
esac
 
9978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9979
  (eval "$ac_try") 2>&5
8899
9980
  ac_status=$?
8900
9981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901
9982
  (exit $ac_status); }; } &&
8902
9983
         { ac_try='test -s conftest$ac_exeext'
8903
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8904
 
  (eval $ac_try) 2>&5
 
9984
  { (case "(($ac_try" in
 
9985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9986
  *) ac_try_echo=$ac_try;;
 
9987
esac
 
9988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9989
  (eval "$ac_try") 2>&5
8905
9990
  ac_status=$?
8906
9991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907
9992
  (exit $ac_status); }; }; then
8910
9995
  echo "$as_me: failed program was:" >&5
8911
9996
sed 's/^/| /' conftest.$ac_ext >&5
8912
9997
 
8913
 
ac_cv_lib_dl_dlopen=no
 
9998
        ac_cv_lib_dl_dlopen=no
8914
9999
fi
8915
 
rm -f conftest.err conftest.$ac_objext \
 
10000
 
 
10001
rm -f core conftest.err conftest.$ac_objext \
8916
10002
      conftest$ac_exeext conftest.$ac_ext
8917
10003
LIBS=$ac_check_lib_save_LIBS
8918
10004
fi
8919
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8920
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10005
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10006
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8921
10007
if test $ac_cv_lib_dl_dlopen = yes; then
8922
10008
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8923
10009
else
8924
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8925
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10010
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10011
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8926
10012
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8927
10013
  echo $ECHO_N "(cached) $ECHO_C" >&6
8928
10014
else
8935
10021
cat >>conftest.$ac_ext <<_ACEOF
8936
10022
/* end confdefs.h.  */
8937
10023
 
8938
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10024
/* Override any GCC internal prototype to avoid an error.
 
10025
   Use char because int might match the return type of a GCC
 
10026
   builtin and then its argument prototype would still apply.  */
8939
10027
#ifdef __cplusplus
8940
10028
extern "C"
8941
10029
#endif
8942
 
/* We use char because int might match the return type of a gcc2
8943
 
   builtin and then its argument prototype would still apply.  */
8944
10030
char dlopen ();
8945
10031
int
8946
10032
main ()
8947
10033
{
8948
 
dlopen ();
 
10034
return dlopen ();
8949
10035
  ;
8950
10036
  return 0;
8951
10037
}
8952
10038
_ACEOF
8953
10039
rm -f conftest.$ac_objext conftest$ac_exeext
8954
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8955
 
  (eval $ac_link) 2>conftest.er1
 
10040
if { (ac_try="$ac_link"
 
10041
case "(($ac_try" in
 
10042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10043
  *) ac_try_echo=$ac_try;;
 
10044
esac
 
10045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10046
  (eval "$ac_link") 2>conftest.er1
8956
10047
  ac_status=$?
8957
10048
  grep -v '^ *+' conftest.er1 >conftest.err
8958
10049
  rm -f conftest.er1
8959
10050
  cat conftest.err >&5
8960
10051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961
10052
  (exit $ac_status); } &&
8962
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8964
 
  (eval $ac_try) 2>&5
 
10053
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10054
  { (case "(($ac_try" in
 
10055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10056
  *) ac_try_echo=$ac_try;;
 
10057
esac
 
10058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10059
  (eval "$ac_try") 2>&5
8965
10060
  ac_status=$?
8966
10061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967
10062
  (exit $ac_status); }; } &&
8968
10063
         { ac_try='test -s conftest$ac_exeext'
8969
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970
 
  (eval $ac_try) 2>&5
 
10064
  { (case "(($ac_try" in
 
10065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10066
  *) ac_try_echo=$ac_try;;
 
10067
esac
 
10068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10069
  (eval "$ac_try") 2>&5
8971
10070
  ac_status=$?
8972
10071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973
10072
  (exit $ac_status); }; }; then
8976
10075
  echo "$as_me: failed program was:" >&5
8977
10076
sed 's/^/| /' conftest.$ac_ext >&5
8978
10077
 
8979
 
ac_cv_lib_svld_dlopen=no
 
10078
        ac_cv_lib_svld_dlopen=no
8980
10079
fi
8981
 
rm -f conftest.err conftest.$ac_objext \
 
10080
 
 
10081
rm -f core conftest.err conftest.$ac_objext \
8982
10082
      conftest$ac_exeext conftest.$ac_ext
8983
10083
LIBS=$ac_check_lib_save_LIBS
8984
10084
fi
8985
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8986
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10085
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10086
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8987
10087
if test $ac_cv_lib_svld_dlopen = yes; then
8988
10088
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8989
10089
else
8990
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8991
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10090
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10091
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8992
10092
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8993
10093
  echo $ECHO_N "(cached) $ECHO_C" >&6
8994
10094
else
9001
10101
cat >>conftest.$ac_ext <<_ACEOF
9002
10102
/* end confdefs.h.  */
9003
10103
 
9004
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10104
/* Override any GCC internal prototype to avoid an error.
 
10105
   Use char because int might match the return type of a GCC
 
10106
   builtin and then its argument prototype would still apply.  */
9005
10107
#ifdef __cplusplus
9006
10108
extern "C"
9007
10109
#endif
9008
 
/* We use char because int might match the return type of a gcc2
9009
 
   builtin and then its argument prototype would still apply.  */
9010
10110
char dld_link ();
9011
10111
int
9012
10112
main ()
9013
10113
{
9014
 
dld_link ();
 
10114
return dld_link ();
9015
10115
  ;
9016
10116
  return 0;
9017
10117
}
9018
10118
_ACEOF
9019
10119
rm -f conftest.$ac_objext conftest$ac_exeext
9020
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9021
 
  (eval $ac_link) 2>conftest.er1
 
10120
if { (ac_try="$ac_link"
 
10121
case "(($ac_try" in
 
10122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10123
  *) ac_try_echo=$ac_try;;
 
10124
esac
 
10125
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10126
  (eval "$ac_link") 2>conftest.er1
9022
10127
  ac_status=$?
9023
10128
  grep -v '^ *+' conftest.er1 >conftest.err
9024
10129
  rm -f conftest.er1
9025
10130
  cat conftest.err >&5
9026
10131
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027
10132
  (exit $ac_status); } &&
9028
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030
 
  (eval $ac_try) 2>&5
 
10133
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10134
  { (case "(($ac_try" in
 
10135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10136
  *) ac_try_echo=$ac_try;;
 
10137
esac
 
10138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10139
  (eval "$ac_try") 2>&5
9031
10140
  ac_status=$?
9032
10141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033
10142
  (exit $ac_status); }; } &&
9034
10143
         { ac_try='test -s conftest$ac_exeext'
9035
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9036
 
  (eval $ac_try) 2>&5
 
10144
  { (case "(($ac_try" in
 
10145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10146
  *) ac_try_echo=$ac_try;;
 
10147
esac
 
10148
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10149
  (eval "$ac_try") 2>&5
9037
10150
  ac_status=$?
9038
10151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039
10152
  (exit $ac_status); }; }; then
9042
10155
  echo "$as_me: failed program was:" >&5
9043
10156
sed 's/^/| /' conftest.$ac_ext >&5
9044
10157
 
9045
 
ac_cv_lib_dld_dld_link=no
 
10158
        ac_cv_lib_dld_dld_link=no
9046
10159
fi
9047
 
rm -f conftest.err conftest.$ac_objext \
 
10160
 
 
10161
rm -f core conftest.err conftest.$ac_objext \
9048
10162
      conftest$ac_exeext conftest.$ac_ext
9049
10163
LIBS=$ac_check_lib_save_LIBS
9050
10164
fi
9051
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9052
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10165
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10166
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9053
10167
if test $ac_cv_lib_dld_dld_link = yes; then
9054
10168
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9055
10169
fi
9089
10203
    save_LIBS="$LIBS"
9090
10204
    LIBS="$lt_cv_dlopen_libs $LIBS"
9091
10205
 
9092
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9093
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10206
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10207
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9094
10208
if test "${lt_cv_dlopen_self+set}" = set; then
9095
10209
  echo $ECHO_N "(cached) $ECHO_C" >&6
9096
10210
else
9100
10214
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9101
10215
  lt_status=$lt_dlunknown
9102
10216
  cat > conftest.$ac_ext <<EOF
9103
 
#line 9103 "configure"
 
10217
#line 10217 "configure"
9104
10218
#include "confdefs.h"
9105
10219
 
9106
10220
#if HAVE_DLFCN_H
9184
10298
 
9185
10299
 
9186
10300
fi
9187
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9188
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10301
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10302
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9189
10303
 
9190
10304
    if test "x$lt_cv_dlopen_self" = xyes; then
9191
10305
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9192
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9193
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10306
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10307
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9194
10308
if test "${lt_cv_dlopen_self_static+set}" = set; then
9195
10309
  echo $ECHO_N "(cached) $ECHO_C" >&6
9196
10310
else
9200
10314
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9201
10315
  lt_status=$lt_dlunknown
9202
10316
  cat > conftest.$ac_ext <<EOF
9203
 
#line 9203 "configure"
 
10317
#line 10317 "configure"
9204
10318
#include "confdefs.h"
9205
10319
 
9206
10320
#if HAVE_DLFCN_H
9284
10398
 
9285
10399
 
9286
10400
fi
9287
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9288
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10401
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10402
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9289
10403
    fi
9290
10404
 
9291
10405
    CPPFLAGS="$save_CPPFLAGS"
9307
10421
 
9308
10422
 
9309
10423
# Report which library types will actually be built
9310
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9311
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9312
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9313
 
echo "${ECHO_T}$can_build_shared" >&6
 
10424
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10425
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10426
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10427
echo "${ECHO_T}$can_build_shared" >&6; }
9314
10428
 
9315
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9316
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10429
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10430
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9317
10431
test "$can_build_shared" = "no" && enable_shared=no
9318
10432
 
9319
10433
# On AIX, shared libraries and static libraries use the same namespace, and
9333
10447
  fi
9334
10448
    ;;
9335
10449
esac
9336
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9337
 
echo "${ECHO_T}$enable_shared" >&6
 
10450
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10451
echo "${ECHO_T}$enable_shared" >&6; }
9338
10452
 
9339
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9340
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10453
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10454
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9341
10455
# Make sure either enable_shared or enable_static is yes.
9342
10456
test "$enable_shared" = yes || enable_static=yes
9343
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9344
 
echo "${ECHO_T}$enable_static" >&6
 
10457
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10458
echo "${ECHO_T}$enable_static" >&6; }
9345
10459
 
9346
10460
# The else clause should only fire when bootstrapping the
9347
10461
# libtool distribution, otherwise you forgot to ship ltmain.sh
9833
10947
CC="$lt_save_CC"
9834
10948
 
9835
10949
 
9836
 
# Check whether --with-tags or --without-tags was given.
 
10950
# Check whether --with-tags was given.
9837
10951
if test "${with_tags+set}" = set; then
9838
 
  withval="$with_tags"
9839
 
  tagnames="$withval"
9840
 
fi;
 
10952
  withval=$with_tags; tagnames="$withval"
 
10953
fi
 
10954
 
9841
10955
 
9842
10956
if test -f "$ltmain" && test -n "$tagnames"; then
9843
10957
  if test ! -f "${ofile}"; then
9891
11005
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9892
11006
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9893
11007
            (test "X$CXX" != "Xg++"))) ; then
9894
 
          ac_ext=cc
 
11008
          ac_ext=cpp
9895
11009
ac_cpp='$CXXCPP $CPPFLAGS'
9896
11010
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9897
11011
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10010
11124
  # Set up default GNU C++ configuration
10011
11125
 
10012
11126
 
10013
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11127
# Check whether --with-gnu-ld was given.
10014
11128
if test "${with_gnu_ld+set}" = set; then
10015
 
  withval="$with_gnu_ld"
10016
 
  test "$withval" = no || with_gnu_ld=yes
 
11129
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10017
11130
else
10018
11131
  with_gnu_ld=no
10019
 
fi;
 
11132
fi
 
11133
 
10020
11134
ac_prog=ld
10021
11135
if test "$GCC" = yes; then
10022
11136
  # Check if gcc -print-prog-name=ld gives a path.
10023
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10024
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11137
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11138
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10025
11139
  case $host in
10026
11140
  *-*-mingw*)
10027
11141
    # gcc leaves a trailing carriage return which upsets mingw
10050
11164
    ;;
10051
11165
  esac
10052
11166
elif test "$with_gnu_ld" = yes; then
10053
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10054
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11167
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11168
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10055
11169
else
10056
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10057
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11170
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11171
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10058
11172
fi
10059
11173
if test "${lt_cv_path_LD+set}" = set; then
10060
11174
  echo $ECHO_N "(cached) $ECHO_C" >&6
10087
11201
 
10088
11202
LD="$lt_cv_path_LD"
10089
11203
if test -n "$LD"; then
10090
 
  echo "$as_me:$LINENO: result: $LD" >&5
10091
 
echo "${ECHO_T}$LD" >&6
 
11204
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11205
echo "${ECHO_T}$LD" >&6; }
10092
11206
else
10093
 
  echo "$as_me:$LINENO: result: no" >&5
10094
 
echo "${ECHO_T}no" >&6
 
11207
  { echo "$as_me:$LINENO: result: no" >&5
 
11208
echo "${ECHO_T}no" >&6; }
10095
11209
fi
10096
11210
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10097
11211
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10098
11212
   { (exit 1); exit 1; }; }
10099
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10100
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11213
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11214
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10101
11215
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10102
11216
  echo $ECHO_N "(cached) $ECHO_C" >&6
10103
11217
else
10111
11225
  ;;
10112
11226
esac
10113
11227
fi
10114
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10115
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11228
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11229
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10116
11230
with_gnu_ld=$lt_cv_prog_gnu_ld
10117
11231
 
10118
11232
 
10162
11276
fi
10163
11277
 
10164
11278
# PORTME: fill in a description of your system's C++ link characteristics
10165
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10166
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11279
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11280
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10167
11281
ld_shlibs_CXX=yes
10168
11282
case $host_os in
10169
11283
  aix3*)
10275
11389
}
10276
11390
_ACEOF
10277
11391
rm -f conftest.$ac_objext conftest$ac_exeext
10278
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10279
 
  (eval $ac_link) 2>conftest.er1
 
11392
if { (ac_try="$ac_link"
 
11393
case "(($ac_try" in
 
11394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11395
  *) ac_try_echo=$ac_try;;
 
11396
esac
 
11397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11398
  (eval "$ac_link") 2>conftest.er1
10280
11399
  ac_status=$?
10281
11400
  grep -v '^ *+' conftest.er1 >conftest.err
10282
11401
  rm -f conftest.er1
10283
11402
  cat conftest.err >&5
10284
11403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285
11404
  (exit $ac_status); } &&
10286
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288
 
  (eval $ac_try) 2>&5
 
11405
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11406
  { (case "(($ac_try" in
 
11407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11408
  *) ac_try_echo=$ac_try;;
 
11409
esac
 
11410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11411
  (eval "$ac_try") 2>&5
10289
11412
  ac_status=$?
10290
11413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291
11414
  (exit $ac_status); }; } &&
10292
11415
         { ac_try='test -s conftest$ac_exeext'
10293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294
 
  (eval $ac_try) 2>&5
 
11416
  { (case "(($ac_try" in
 
11417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11418
  *) ac_try_echo=$ac_try;;
 
11419
esac
 
11420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11421
  (eval "$ac_try") 2>&5
10295
11422
  ac_status=$?
10296
11423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297
11424
  (exit $ac_status); }; }; then
10305
11432
  echo "$as_me: failed program was:" >&5
10306
11433
sed 's/^/| /' conftest.$ac_ext >&5
10307
11434
 
 
11435
 
10308
11436
fi
10309
 
rm -f conftest.err conftest.$ac_objext \
 
11437
 
 
11438
rm -f core conftest.err conftest.$ac_objext \
10310
11439
      conftest$ac_exeext conftest.$ac_ext
10311
11440
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10312
11441
 
10336
11465
}
10337
11466
_ACEOF
10338
11467
rm -f conftest.$ac_objext conftest$ac_exeext
10339
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10340
 
  (eval $ac_link) 2>conftest.er1
 
11468
if { (ac_try="$ac_link"
 
11469
case "(($ac_try" in
 
11470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11471
  *) ac_try_echo=$ac_try;;
 
11472
esac
 
11473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11474
  (eval "$ac_link") 2>conftest.er1
10341
11475
  ac_status=$?
10342
11476
  grep -v '^ *+' conftest.er1 >conftest.err
10343
11477
  rm -f conftest.er1
10344
11478
  cat conftest.err >&5
10345
11479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346
11480
  (exit $ac_status); } &&
10347
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349
 
  (eval $ac_try) 2>&5
 
11481
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11482
  { (case "(($ac_try" in
 
11483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11484
  *) ac_try_echo=$ac_try;;
 
11485
esac
 
11486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11487
  (eval "$ac_try") 2>&5
10350
11488
  ac_status=$?
10351
11489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352
11490
  (exit $ac_status); }; } &&
10353
11491
         { ac_try='test -s conftest$ac_exeext'
10354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355
 
  (eval $ac_try) 2>&5
 
11492
  { (case "(($ac_try" in
 
11493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11494
  *) ac_try_echo=$ac_try;;
 
11495
esac
 
11496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11497
  (eval "$ac_try") 2>&5
10356
11498
  ac_status=$?
10357
11499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358
11500
  (exit $ac_status); }; }; then
10366
11508
  echo "$as_me: failed program was:" >&5
10367
11509
sed 's/^/| /' conftest.$ac_ext >&5
10368
11510
 
 
11511
 
10369
11512
fi
10370
 
rm -f conftest.err conftest.$ac_objext \
 
11513
 
 
11514
rm -f core conftest.err conftest.$ac_objext \
10371
11515
      conftest$ac_exeext conftest.$ac_ext
10372
11516
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10373
11517
 
11098
12242
    ld_shlibs_CXX=no
11099
12243
    ;;
11100
12244
esac
11101
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11102
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12245
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12246
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11103
12247
test "$ld_shlibs_CXX" = no && can_build_shared=no
11104
12248
 
11105
12249
GCC_CXX="$GXX"
11238
12382
lt_prog_compiler_pic_CXX=
11239
12383
lt_prog_compiler_static_CXX=
11240
12384
 
11241
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11242
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12385
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12386
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11243
12387
 
11244
12388
  # C++ specific cases for pic, static, wl, etc.
11245
12389
  if test "$GXX" = yes; then
11512
12656
    esac
11513
12657
  fi
11514
12658
 
11515
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11516
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12659
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12660
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11517
12661
 
11518
12662
#
11519
12663
# Check to make sure the PIC flag actually works.
11520
12664
#
11521
12665
if test -n "$lt_prog_compiler_pic_CXX"; then
11522
12666
 
11523
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11524
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12667
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12668
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11525
12669
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11526
12670
  echo $ECHO_N "(cached) $ECHO_C" >&6
11527
12671
else
11538
12682
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11539
12683
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11540
12684
   -e 's:$: $lt_compiler_flag:'`
11541
 
   (eval echo "\"\$as_me:11541: $lt_compile\"" >&5)
 
12685
   (eval echo "\"\$as_me:12685: $lt_compile\"" >&5)
11542
12686
   (eval "$lt_compile" 2>conftest.err)
11543
12687
   ac_status=$?
11544
12688
   cat conftest.err >&5
11545
 
   echo "$as_me:11545: \$? = $ac_status" >&5
 
12689
   echo "$as_me:12689: \$? = $ac_status" >&5
11546
12690
   if (exit $ac_status) && test -s "$ac_outfile"; then
11547
12691
     # The compiler can only warn and ignore the option if not recognized
11548
12692
     # So say no if there are warnings other than the usual output.
11555
12699
   $rm conftest*
11556
12700
 
11557
12701
fi
11558
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11559
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12702
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12703
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11560
12704
 
11561
12705
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11562
12706
    case $lt_prog_compiler_pic_CXX in
11583
12727
# Check to make sure the static flag actually works.
11584
12728
#
11585
12729
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11586
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11587
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
12730
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12731
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11588
12732
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11589
12733
  echo $ECHO_N "(cached) $ECHO_C" >&6
11590
12734
else
11611
12755
   LDFLAGS="$save_LDFLAGS"
11612
12756
 
11613
12757
fi
11614
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11615
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12758
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12759
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11616
12760
 
11617
12761
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11618
12762
    :
11621
12765
fi
11622
12766
 
11623
12767
 
11624
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11625
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12768
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12769
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11626
12770
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11627
12771
  echo $ECHO_N "(cached) $ECHO_C" >&6
11628
12772
else
11642
12786
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11643
12787
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11644
12788
   -e 's:$: $lt_compiler_flag:'`
11645
 
   (eval echo "\"\$as_me:11645: $lt_compile\"" >&5)
 
12789
   (eval echo "\"\$as_me:12789: $lt_compile\"" >&5)
11646
12790
   (eval "$lt_compile" 2>out/conftest.err)
11647
12791
   ac_status=$?
11648
12792
   cat out/conftest.err >&5
11649
 
   echo "$as_me:11649: \$? = $ac_status" >&5
 
12793
   echo "$as_me:12793: \$? = $ac_status" >&5
11650
12794
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11651
12795
   then
11652
12796
     # The compiler can only warn and ignore the option if not recognized
11668
12812
   $rm conftest*
11669
12813
 
11670
12814
fi
11671
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11672
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12815
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12816
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11673
12817
 
11674
12818
 
11675
12819
hard_links="nottested"
11676
12820
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11677
12821
  # do not overwrite the value of need_locks provided by the user
11678
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11679
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12822
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12823
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11680
12824
  hard_links=yes
11681
12825
  $rm conftest*
11682
12826
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11683
12827
  touch conftest.a
11684
12828
  ln conftest.a conftest.b 2>&5 || hard_links=no
11685
12829
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11686
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11687
 
echo "${ECHO_T}$hard_links" >&6
 
12830
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12831
echo "${ECHO_T}$hard_links" >&6; }
11688
12832
  if test "$hard_links" = no; then
11689
12833
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11690
12834
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11694
12838
  need_locks=no
11695
12839
fi
11696
12840
 
11697
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11698
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12841
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12842
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11699
12843
 
11700
12844
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11701
12845
  case $host_os in
11722
12866
  ;;
11723
12867
  esac
11724
12868
 
11725
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11726
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12869
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12870
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11727
12871
test "$ld_shlibs_CXX" = no && can_build_shared=no
11728
12872
 
11729
12873
#
11743
12887
      # Test whether the compiler implicitly links with -lc since on some
11744
12888
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11745
12889
      # to ld, don't add -lc before -lgcc.
11746
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11747
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12890
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12891
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11748
12892
      $rm conftest*
11749
12893
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11750
12894
 
11781
12925
        cat conftest.err 1>&5
11782
12926
      fi
11783
12927
      $rm conftest*
11784
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11785
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12928
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12929
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11786
12930
      ;;
11787
12931
    esac
11788
12932
  fi
11789
12933
  ;;
11790
12934
esac
11791
12935
 
11792
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11793
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12936
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12937
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11794
12938
library_names_spec=
11795
12939
libname_spec='lib$name'
11796
12940
soname_spec=
12365
13509
  dynamic_linker=no
12366
13510
  ;;
12367
13511
esac
12368
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12369
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13512
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13513
echo "${ECHO_T}$dynamic_linker" >&6; }
12370
13514
test "$dynamic_linker" = no && can_build_shared=no
12371
13515
 
12372
13516
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12374
13518
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12375
13519
fi
12376
13520
 
12377
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12378
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13521
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13522
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12379
13523
hardcode_action_CXX=
12380
13524
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12381
13525
   test -n "$runpath_var_CXX" || \
12399
13543
  # directories.
12400
13544
  hardcode_action_CXX=unsupported
12401
13545
fi
12402
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12403
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13546
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13547
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12404
13548
 
12405
13549
if test "$hardcode_action_CXX" = relink; then
12406
13550
  # Fast installation is not supported
12925
14069
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12926
14070
 
12927
14071
 
12928
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12929
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12930
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12931
 
echo "${ECHO_T}$can_build_shared" >&6
 
14072
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14073
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14074
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14075
echo "${ECHO_T}$can_build_shared" >&6; }
12932
14076
 
12933
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12934
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14077
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14078
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12935
14079
test "$can_build_shared" = "no" && enable_shared=no
12936
14080
 
12937
14081
# On AIX, shared libraries and static libraries use the same namespace, and
12950
14094
  fi
12951
14095
  ;;
12952
14096
esac
12953
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12954
 
echo "${ECHO_T}$enable_shared" >&6
 
14097
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14098
echo "${ECHO_T}$enable_shared" >&6; }
12955
14099
 
12956
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12957
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14100
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14101
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12958
14102
# Make sure either enable_shared or enable_static is yes.
12959
14103
test "$enable_shared" = yes || enable_static=yes
12960
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12961
 
echo "${ECHO_T}$enable_static" >&6
 
14104
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14105
echo "${ECHO_T}$enable_static" >&6; }
12962
14106
 
12963
14107
GCC_F77="$G77"
12964
14108
LD_F77="$LD"
12967
14111
lt_prog_compiler_pic_F77=
12968
14112
lt_prog_compiler_static_F77=
12969
14113
 
12970
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12971
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14114
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14115
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12972
14116
 
12973
14117
  if test "$GCC" = yes; then
12974
14118
    lt_prog_compiler_wl_F77='-Wl,'
13177
14321
    esac
13178
14322
  fi
13179
14323
 
13180
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13181
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14324
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14325
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13182
14326
 
13183
14327
#
13184
14328
# Check to make sure the PIC flag actually works.
13185
14329
#
13186
14330
if test -n "$lt_prog_compiler_pic_F77"; then
13187
14331
 
13188
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13189
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14332
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14333
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13190
14334
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13191
14335
  echo $ECHO_N "(cached) $ECHO_C" >&6
13192
14336
else
13203
14347
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13204
14348
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13205
14349
   -e 's:$: $lt_compiler_flag:'`
13206
 
   (eval echo "\"\$as_me:13206: $lt_compile\"" >&5)
 
14350
   (eval echo "\"\$as_me:14350: $lt_compile\"" >&5)
13207
14351
   (eval "$lt_compile" 2>conftest.err)
13208
14352
   ac_status=$?
13209
14353
   cat conftest.err >&5
13210
 
   echo "$as_me:13210: \$? = $ac_status" >&5
 
14354
   echo "$as_me:14354: \$? = $ac_status" >&5
13211
14355
   if (exit $ac_status) && test -s "$ac_outfile"; then
13212
14356
     # The compiler can only warn and ignore the option if not recognized
13213
14357
     # So say no if there are warnings other than the usual output.
13220
14364
   $rm conftest*
13221
14365
 
13222
14366
fi
13223
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13224
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14367
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14368
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13225
14369
 
13226
14370
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13227
14371
    case $lt_prog_compiler_pic_F77 in
13248
14392
# Check to make sure the static flag actually works.
13249
14393
#
13250
14394
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13251
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13252
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
14395
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14396
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13253
14397
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13254
14398
  echo $ECHO_N "(cached) $ECHO_C" >&6
13255
14399
else
13276
14420
   LDFLAGS="$save_LDFLAGS"
13277
14421
 
13278
14422
fi
13279
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13280
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14423
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14424
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13281
14425
 
13282
14426
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13283
14427
    :
13286
14430
fi
13287
14431
 
13288
14432
 
13289
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13290
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14433
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14434
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13291
14435
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13292
14436
  echo $ECHO_N "(cached) $ECHO_C" >&6
13293
14437
else
13307
14451
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13308
14452
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13309
14453
   -e 's:$: $lt_compiler_flag:'`
13310
 
   (eval echo "\"\$as_me:13310: $lt_compile\"" >&5)
 
14454
   (eval echo "\"\$as_me:14454: $lt_compile\"" >&5)
13311
14455
   (eval "$lt_compile" 2>out/conftest.err)
13312
14456
   ac_status=$?
13313
14457
   cat out/conftest.err >&5
13314
 
   echo "$as_me:13314: \$? = $ac_status" >&5
 
14458
   echo "$as_me:14458: \$? = $ac_status" >&5
13315
14459
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13316
14460
   then
13317
14461
     # The compiler can only warn and ignore the option if not recognized
13333
14477
   $rm conftest*
13334
14478
 
13335
14479
fi
13336
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13337
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14480
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14481
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13338
14482
 
13339
14483
 
13340
14484
hard_links="nottested"
13341
14485
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13342
14486
  # do not overwrite the value of need_locks provided by the user
13343
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13344
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14487
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14488
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13345
14489
  hard_links=yes
13346
14490
  $rm conftest*
13347
14491
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13348
14492
  touch conftest.a
13349
14493
  ln conftest.a conftest.b 2>&5 || hard_links=no
13350
14494
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13351
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13352
 
echo "${ECHO_T}$hard_links" >&6
 
14495
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14496
echo "${ECHO_T}$hard_links" >&6; }
13353
14497
  if test "$hard_links" = no; then
13354
14498
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13355
14499
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13359
14503
  need_locks=no
13360
14504
fi
13361
14505
 
13362
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13363
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14506
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14507
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13364
14508
 
13365
14509
  runpath_var=
13366
14510
  allow_undefined_flag_F77=
13766
14910
      end
13767
14911
_ACEOF
13768
14912
rm -f conftest.$ac_objext conftest$ac_exeext
13769
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13770
 
  (eval $ac_link) 2>conftest.er1
 
14913
if { (ac_try="$ac_link"
 
14914
case "(($ac_try" in
 
14915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14916
  *) ac_try_echo=$ac_try;;
 
14917
esac
 
14918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14919
  (eval "$ac_link") 2>conftest.er1
13771
14920
  ac_status=$?
13772
14921
  grep -v '^ *+' conftest.er1 >conftest.err
13773
14922
  rm -f conftest.er1
13774
14923
  cat conftest.err >&5
13775
14924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776
14925
  (exit $ac_status); } &&
13777
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779
 
  (eval $ac_try) 2>&5
 
14926
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
14927
  { (case "(($ac_try" in
 
14928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14929
  *) ac_try_echo=$ac_try;;
 
14930
esac
 
14931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14932
  (eval "$ac_try") 2>&5
13780
14933
  ac_status=$?
13781
14934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782
14935
  (exit $ac_status); }; } &&
13783
14936
         { ac_try='test -s conftest$ac_exeext'
13784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785
 
  (eval $ac_try) 2>&5
 
14937
  { (case "(($ac_try" in
 
14938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14939
  *) ac_try_echo=$ac_try;;
 
14940
esac
 
14941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14942
  (eval "$ac_try") 2>&5
13786
14943
  ac_status=$?
13787
14944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788
14945
  (exit $ac_status); }; }; then
13796
14953
  echo "$as_me: failed program was:" >&5
13797
14954
sed 's/^/| /' conftest.$ac_ext >&5
13798
14955
 
 
14956
 
13799
14957
fi
13800
 
rm -f conftest.err conftest.$ac_objext \
 
14958
 
 
14959
rm -f core conftest.err conftest.$ac_objext \
13801
14960
      conftest$ac_exeext conftest.$ac_ext
13802
14961
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13803
14962
 
13816
14975
      end
13817
14976
_ACEOF
13818
14977
rm -f conftest.$ac_objext conftest$ac_exeext
13819
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13820
 
  (eval $ac_link) 2>conftest.er1
 
14978
if { (ac_try="$ac_link"
 
14979
case "(($ac_try" in
 
14980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14981
  *) ac_try_echo=$ac_try;;
 
14982
esac
 
14983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14984
  (eval "$ac_link") 2>conftest.er1
13821
14985
  ac_status=$?
13822
14986
  grep -v '^ *+' conftest.er1 >conftest.err
13823
14987
  rm -f conftest.er1
13824
14988
  cat conftest.err >&5
13825
14989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826
14990
  (exit $ac_status); } &&
13827
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829
 
  (eval $ac_try) 2>&5
 
14991
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
14992
  { (case "(($ac_try" in
 
14993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14994
  *) ac_try_echo=$ac_try;;
 
14995
esac
 
14996
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14997
  (eval "$ac_try") 2>&5
13830
14998
  ac_status=$?
13831
14999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832
15000
  (exit $ac_status); }; } &&
13833
15001
         { ac_try='test -s conftest$ac_exeext'
13834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835
 
  (eval $ac_try) 2>&5
 
15002
  { (case "(($ac_try" in
 
15003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15004
  *) ac_try_echo=$ac_try;;
 
15005
esac
 
15006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15007
  (eval "$ac_try") 2>&5
13836
15008
  ac_status=$?
13837
15009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838
15010
  (exit $ac_status); }; }; then
13846
15018
  echo "$as_me: failed program was:" >&5
13847
15019
sed 's/^/| /' conftest.$ac_ext >&5
13848
15020
 
 
15021
 
13849
15022
fi
13850
 
rm -f conftest.err conftest.$ac_objext \
 
15023
 
 
15024
rm -f core conftest.err conftest.$ac_objext \
13851
15025
      conftest$ac_exeext conftest.$ac_ext
13852
15026
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13853
15027
 
14296
15470
    esac
14297
15471
  fi
14298
15472
 
14299
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14300
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15473
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15474
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14301
15475
test "$ld_shlibs_F77" = no && can_build_shared=no
14302
15476
 
14303
15477
#
14317
15491
      # Test whether the compiler implicitly links with -lc since on some
14318
15492
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14319
15493
      # to ld, don't add -lc before -lgcc.
14320
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14321
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15494
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15495
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14322
15496
      $rm conftest*
14323
15497
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14324
15498
 
14355
15529
        cat conftest.err 1>&5
14356
15530
      fi
14357
15531
      $rm conftest*
14358
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14359
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15532
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15533
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14360
15534
      ;;
14361
15535
    esac
14362
15536
  fi
14363
15537
  ;;
14364
15538
esac
14365
15539
 
14366
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14367
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15540
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15541
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14368
15542
library_names_spec=
14369
15543
libname_spec='lib$name'
14370
15544
soname_spec=
14939
16113
  dynamic_linker=no
14940
16114
  ;;
14941
16115
esac
14942
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14943
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16116
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16117
echo "${ECHO_T}$dynamic_linker" >&6; }
14944
16118
test "$dynamic_linker" = no && can_build_shared=no
14945
16119
 
14946
16120
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14948
16122
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14949
16123
fi
14950
16124
 
14951
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14952
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16125
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16126
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14953
16127
hardcode_action_F77=
14954
16128
if test -n "$hardcode_libdir_flag_spec_F77" || \
14955
16129
   test -n "$runpath_var_F77" || \
14973
16147
  # directories.
14974
16148
  hardcode_action_F77=unsupported
14975
16149
fi
14976
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14977
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16150
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16151
echo "${ECHO_T}$hardcode_action_F77" >&6; }
14978
16152
 
14979
16153
if test "$hardcode_action_F77" = relink; then
14980
16154
  # Fast installation is not supported
15411
16585
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15412
16586
 
15413
16587
 
15414
 
 
15415
16588
# Source file extension for Java test sources.
15416
16589
ac_ext=java
15417
16590
 
15479
16652
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15480
16653
 
15481
16654
 
15482
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15483
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16655
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16656
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15484
16657
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15485
16658
  echo $ECHO_N "(cached) $ECHO_C" >&6
15486
16659
else
15497
16670
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15498
16671
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15499
16672
   -e 's:$: $lt_compiler_flag:'`
15500
 
   (eval echo "\"\$as_me:15500: $lt_compile\"" >&5)
 
16673
   (eval echo "\"\$as_me:16673: $lt_compile\"" >&5)
15501
16674
   (eval "$lt_compile" 2>conftest.err)
15502
16675
   ac_status=$?
15503
16676
   cat conftest.err >&5
15504
 
   echo "$as_me:15504: \$? = $ac_status" >&5
 
16677
   echo "$as_me:16677: \$? = $ac_status" >&5
15505
16678
   if (exit $ac_status) && test -s "$ac_outfile"; then
15506
16679
     # The compiler can only warn and ignore the option if not recognized
15507
16680
     # So say no if there are warnings other than the usual output.
15514
16687
   $rm conftest*
15515
16688
 
15516
16689
fi
15517
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15518
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16690
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16691
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15519
16692
 
15520
16693
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15521
16694
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15529
16702
lt_prog_compiler_pic_GCJ=
15530
16703
lt_prog_compiler_static_GCJ=
15531
16704
 
15532
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15533
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16705
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16706
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15534
16707
 
15535
16708
  if test "$GCC" = yes; then
15536
16709
    lt_prog_compiler_wl_GCJ='-Wl,'
15739
16912
    esac
15740
16913
  fi
15741
16914
 
15742
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15743
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16915
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16916
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15744
16917
 
15745
16918
#
15746
16919
# Check to make sure the PIC flag actually works.
15747
16920
#
15748
16921
if test -n "$lt_prog_compiler_pic_GCJ"; then
15749
16922
 
15750
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15751
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16923
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16924
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15752
16925
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15753
16926
  echo $ECHO_N "(cached) $ECHO_C" >&6
15754
16927
else
15765
16938
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15766
16939
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15767
16940
   -e 's:$: $lt_compiler_flag:'`
15768
 
   (eval echo "\"\$as_me:15768: $lt_compile\"" >&5)
 
16941
   (eval echo "\"\$as_me:16941: $lt_compile\"" >&5)
15769
16942
   (eval "$lt_compile" 2>conftest.err)
15770
16943
   ac_status=$?
15771
16944
   cat conftest.err >&5
15772
 
   echo "$as_me:15772: \$? = $ac_status" >&5
 
16945
   echo "$as_me:16945: \$? = $ac_status" >&5
15773
16946
   if (exit $ac_status) && test -s "$ac_outfile"; then
15774
16947
     # The compiler can only warn and ignore the option if not recognized
15775
16948
     # So say no if there are warnings other than the usual output.
15782
16955
   $rm conftest*
15783
16956
 
15784
16957
fi
15785
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15786
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16958
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16959
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15787
16960
 
15788
16961
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15789
16962
    case $lt_prog_compiler_pic_GCJ in
15810
16983
# Check to make sure the static flag actually works.
15811
16984
#
15812
16985
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15813
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15814
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
16986
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16987
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15815
16988
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15816
16989
  echo $ECHO_N "(cached) $ECHO_C" >&6
15817
16990
else
15838
17011
   LDFLAGS="$save_LDFLAGS"
15839
17012
 
15840
17013
fi
15841
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15842
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
17014
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17015
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
15843
17016
 
15844
17017
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15845
17018
    :
15848
17021
fi
15849
17022
 
15850
17023
 
15851
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15852
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17024
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17025
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15853
17026
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15854
17027
  echo $ECHO_N "(cached) $ECHO_C" >&6
15855
17028
else
15869
17042
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15870
17043
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15871
17044
   -e 's:$: $lt_compiler_flag:'`
15872
 
   (eval echo "\"\$as_me:15872: $lt_compile\"" >&5)
 
17045
   (eval echo "\"\$as_me:17045: $lt_compile\"" >&5)
15873
17046
   (eval "$lt_compile" 2>out/conftest.err)
15874
17047
   ac_status=$?
15875
17048
   cat out/conftest.err >&5
15876
 
   echo "$as_me:15876: \$? = $ac_status" >&5
 
17049
   echo "$as_me:17049: \$? = $ac_status" >&5
15877
17050
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15878
17051
   then
15879
17052
     # The compiler can only warn and ignore the option if not recognized
15895
17068
   $rm conftest*
15896
17069
 
15897
17070
fi
15898
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15899
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17071
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17072
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15900
17073
 
15901
17074
 
15902
17075
hard_links="nottested"
15903
17076
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15904
17077
  # do not overwrite the value of need_locks provided by the user
15905
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15906
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17078
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17079
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15907
17080
  hard_links=yes
15908
17081
  $rm conftest*
15909
17082
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15910
17083
  touch conftest.a
15911
17084
  ln conftest.a conftest.b 2>&5 || hard_links=no
15912
17085
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15913
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15914
 
echo "${ECHO_T}$hard_links" >&6
 
17086
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17087
echo "${ECHO_T}$hard_links" >&6; }
15915
17088
  if test "$hard_links" = no; then
15916
17089
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15917
17090
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15921
17094
  need_locks=no
15922
17095
fi
15923
17096
 
15924
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15925
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17097
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17098
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15926
17099
 
15927
17100
  runpath_var=
15928
17101
  allow_undefined_flag_GCJ=
16338
17511
}
16339
17512
_ACEOF
16340
17513
rm -f conftest.$ac_objext conftest$ac_exeext
16341
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16342
 
  (eval $ac_link) 2>conftest.er1
 
17514
if { (ac_try="$ac_link"
 
17515
case "(($ac_try" in
 
17516
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17517
  *) ac_try_echo=$ac_try;;
 
17518
esac
 
17519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17520
  (eval "$ac_link") 2>conftest.er1
16343
17521
  ac_status=$?
16344
17522
  grep -v '^ *+' conftest.er1 >conftest.err
16345
17523
  rm -f conftest.er1
16346
17524
  cat conftest.err >&5
16347
17525
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348
17526
  (exit $ac_status); } &&
16349
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351
 
  (eval $ac_try) 2>&5
 
17527
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17528
  { (case "(($ac_try" in
 
17529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17530
  *) ac_try_echo=$ac_try;;
 
17531
esac
 
17532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17533
  (eval "$ac_try") 2>&5
16352
17534
  ac_status=$?
16353
17535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354
17536
  (exit $ac_status); }; } &&
16355
17537
         { ac_try='test -s conftest$ac_exeext'
16356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357
 
  (eval $ac_try) 2>&5
 
17538
  { (case "(($ac_try" in
 
17539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17540
  *) ac_try_echo=$ac_try;;
 
17541
esac
 
17542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17543
  (eval "$ac_try") 2>&5
16358
17544
  ac_status=$?
16359
17545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360
17546
  (exit $ac_status); }; }; then
16368
17554
  echo "$as_me: failed program was:" >&5
16369
17555
sed 's/^/| /' conftest.$ac_ext >&5
16370
17556
 
 
17557
 
16371
17558
fi
16372
 
rm -f conftest.err conftest.$ac_objext \
 
17559
 
 
17560
rm -f core conftest.err conftest.$ac_objext \
16373
17561
      conftest$ac_exeext conftest.$ac_ext
16374
17562
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16375
17563
 
16398
17586
}
16399
17587
_ACEOF
16400
17588
rm -f conftest.$ac_objext conftest$ac_exeext
16401
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16402
 
  (eval $ac_link) 2>conftest.er1
 
17589
if { (ac_try="$ac_link"
 
17590
case "(($ac_try" in
 
17591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17592
  *) ac_try_echo=$ac_try;;
 
17593
esac
 
17594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17595
  (eval "$ac_link") 2>conftest.er1
16403
17596
  ac_status=$?
16404
17597
  grep -v '^ *+' conftest.er1 >conftest.err
16405
17598
  rm -f conftest.er1
16406
17599
  cat conftest.err >&5
16407
17600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408
17601
  (exit $ac_status); } &&
16409
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16410
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411
 
  (eval $ac_try) 2>&5
 
17602
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17603
  { (case "(($ac_try" in
 
17604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17605
  *) ac_try_echo=$ac_try;;
 
17606
esac
 
17607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17608
  (eval "$ac_try") 2>&5
16412
17609
  ac_status=$?
16413
17610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414
17611
  (exit $ac_status); }; } &&
16415
17612
         { ac_try='test -s conftest$ac_exeext'
16416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417
 
  (eval $ac_try) 2>&5
 
17613
  { (case "(($ac_try" in
 
17614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17615
  *) ac_try_echo=$ac_try;;
 
17616
esac
 
17617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17618
  (eval "$ac_try") 2>&5
16418
17619
  ac_status=$?
16419
17620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420
17621
  (exit $ac_status); }; }; then
16428
17629
  echo "$as_me: failed program was:" >&5
16429
17630
sed 's/^/| /' conftest.$ac_ext >&5
16430
17631
 
 
17632
 
16431
17633
fi
16432
 
rm -f conftest.err conftest.$ac_objext \
 
17634
 
 
17635
rm -f core conftest.err conftest.$ac_objext \
16433
17636
      conftest$ac_exeext conftest.$ac_ext
16434
17637
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16435
17638
 
16878
18081
    esac
16879
18082
  fi
16880
18083
 
16881
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16882
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18084
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18085
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16883
18086
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16884
18087
 
16885
18088
#
16899
18102
      # Test whether the compiler implicitly links with -lc since on some
16900
18103
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16901
18104
      # to ld, don't add -lc before -lgcc.
16902
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16903
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18105
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18106
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16904
18107
      $rm conftest*
16905
18108
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16906
18109
 
16937
18140
        cat conftest.err 1>&5
16938
18141
      fi
16939
18142
      $rm conftest*
16940
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16941
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18143
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18144
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16942
18145
      ;;
16943
18146
    esac
16944
18147
  fi
16945
18148
  ;;
16946
18149
esac
16947
18150
 
16948
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16949
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18151
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18152
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16950
18153
library_names_spec=
16951
18154
libname_spec='lib$name'
16952
18155
soname_spec=
17521
18724
  dynamic_linker=no
17522
18725
  ;;
17523
18726
esac
17524
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17525
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18727
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18728
echo "${ECHO_T}$dynamic_linker" >&6; }
17526
18729
test "$dynamic_linker" = no && can_build_shared=no
17527
18730
 
17528
18731
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17530
18733
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17531
18734
fi
17532
18735
 
17533
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17534
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18736
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18737
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17535
18738
hardcode_action_GCJ=
17536
18739
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17537
18740
   test -n "$runpath_var_GCJ" || \
17555
18758
  # directories.
17556
18759
  hardcode_action_GCJ=unsupported
17557
18760
fi
17558
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17559
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18761
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18762
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17560
18763
 
17561
18764
if test "$hardcode_action_GCJ" = relink; then
17562
18765
  # Fast installation is not supported
17992
19195
      RC)
17993
19196
 
17994
19197
 
17995
 
 
17996
19198
# Source file extension for RC test sources.
17997
19199
ac_ext=rc
17998
19200
 
18523
19725
 
18524
19726
 
18525
19727
 
18526
 
 
18527
 
 
18528
19728
subdirs="$subdirs prnt/hpijs"
18529
19729
 
18530
19730
 
18537
19737
if test -n "$ac_tool_prefix"; then
18538
19738
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18539
19739
set dummy ${ac_tool_prefix}gcc; ac_word=$2
18540
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18541
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19740
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19741
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18542
19742
if test "${ac_cv_prog_CC+set}" = set; then
18543
19743
  echo $ECHO_N "(cached) $ECHO_C" >&6
18544
19744
else
18551
19751
  IFS=$as_save_IFS
18552
19752
  test -z "$as_dir" && as_dir=.
18553
19753
  for ac_exec_ext in '' $ac_executable_extensions; do
18554
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19754
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18555
19755
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
18556
19756
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18557
19757
    break 2
18558
19758
  fi
18559
19759
done
18560
19760
done
 
19761
IFS=$as_save_IFS
18561
19762
 
18562
19763
fi
18563
19764
fi
18564
19765
CC=$ac_cv_prog_CC
18565
19766
if test -n "$CC"; then
18566
 
  echo "$as_me:$LINENO: result: $CC" >&5
18567
 
echo "${ECHO_T}$CC" >&6
 
19767
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19768
echo "${ECHO_T}$CC" >&6; }
18568
19769
else
18569
 
  echo "$as_me:$LINENO: result: no" >&5
18570
 
echo "${ECHO_T}no" >&6
 
19770
  { echo "$as_me:$LINENO: result: no" >&5
 
19771
echo "${ECHO_T}no" >&6; }
18571
19772
fi
 
19773
 
18572
19774
 
18573
19775
fi
18574
19776
if test -z "$ac_cv_prog_CC"; then
18575
19777
  ac_ct_CC=$CC
18576
19778
  # Extract the first word of "gcc", so it can be a program name with args.
18577
19779
set dummy gcc; ac_word=$2
18578
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18579
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19780
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19781
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18580
19782
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18581
19783
  echo $ECHO_N "(cached) $ECHO_C" >&6
18582
19784
else
18589
19791
  IFS=$as_save_IFS
18590
19792
  test -z "$as_dir" && as_dir=.
18591
19793
  for ac_exec_ext in '' $ac_executable_extensions; do
18592
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19794
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18593
19795
    ac_cv_prog_ac_ct_CC="gcc"
18594
19796
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18595
19797
    break 2
18596
19798
  fi
18597
19799
done
18598
19800
done
 
19801
IFS=$as_save_IFS
18599
19802
 
18600
19803
fi
18601
19804
fi
18602
19805
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18603
19806
if test -n "$ac_ct_CC"; then
18604
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18605
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
19807
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
19808
echo "${ECHO_T}$ac_ct_CC" >&6; }
18606
19809
else
18607
 
  echo "$as_me:$LINENO: result: no" >&5
18608
 
echo "${ECHO_T}no" >&6
 
19810
  { echo "$as_me:$LINENO: result: no" >&5
 
19811
echo "${ECHO_T}no" >&6; }
18609
19812
fi
18610
19813
 
18611
 
  CC=$ac_ct_CC
 
19814
  if test "x$ac_ct_CC" = x; then
 
19815
    CC=""
 
19816
  else
 
19817
    case $cross_compiling:$ac_tool_warned in
 
19818
yes:)
 
19819
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19820
whose name does not start with the host triplet.  If you think this
 
19821
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19822
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19823
whose name does not start with the host triplet.  If you think this
 
19824
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19825
ac_tool_warned=yes ;;
 
19826
esac
 
19827
    CC=$ac_ct_CC
 
19828
  fi
18612
19829
else
18613
19830
  CC="$ac_cv_prog_CC"
18614
19831
fi
18615
19832
 
18616
19833
if test -z "$CC"; then
18617
 
  if test -n "$ac_tool_prefix"; then
18618
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
19834
          if test -n "$ac_tool_prefix"; then
 
19835
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18619
19836
set dummy ${ac_tool_prefix}cc; ac_word=$2
18620
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18621
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19837
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19838
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18622
19839
if test "${ac_cv_prog_CC+set}" = set; then
18623
19840
  echo $ECHO_N "(cached) $ECHO_C" >&6
18624
19841
else
18631
19848
  IFS=$as_save_IFS
18632
19849
  test -z "$as_dir" && as_dir=.
18633
19850
  for ac_exec_ext in '' $ac_executable_extensions; do
18634
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19851
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18635
19852
    ac_cv_prog_CC="${ac_tool_prefix}cc"
18636
19853
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18637
19854
    break 2
18638
19855
  fi
18639
19856
done
18640
19857
done
 
19858
IFS=$as_save_IFS
18641
19859
 
18642
19860
fi
18643
19861
fi
18644
19862
CC=$ac_cv_prog_CC
18645
19863
if test -n "$CC"; then
18646
 
  echo "$as_me:$LINENO: result: $CC" >&5
18647
 
echo "${ECHO_T}$CC" >&6
18648
 
else
18649
 
  echo "$as_me:$LINENO: result: no" >&5
18650
 
echo "${ECHO_T}no" >&6
18651
 
fi
18652
 
 
18653
 
fi
18654
 
if test -z "$ac_cv_prog_CC"; then
18655
 
  ac_ct_CC=$CC
18656
 
  # Extract the first word of "cc", so it can be a program name with args.
18657
 
set dummy cc; ac_word=$2
18658
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18659
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18660
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18662
 
else
18663
 
  if test -n "$ac_ct_CC"; then
18664
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18665
 
else
18666
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18667
 
for as_dir in $PATH
18668
 
do
18669
 
  IFS=$as_save_IFS
18670
 
  test -z "$as_dir" && as_dir=.
18671
 
  for ac_exec_ext in '' $ac_executable_extensions; do
18672
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18673
 
    ac_cv_prog_ac_ct_CC="cc"
18674
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18675
 
    break 2
 
19864
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19865
echo "${ECHO_T}$CC" >&6; }
 
19866
else
 
19867
  { echo "$as_me:$LINENO: result: no" >&5
 
19868
echo "${ECHO_T}no" >&6; }
 
19869
fi
 
19870
 
 
19871
 
18676
19872
  fi
18677
 
done
18678
 
done
18679
 
 
18680
 
fi
18681
 
fi
18682
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18683
 
if test -n "$ac_ct_CC"; then
18684
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18685
 
echo "${ECHO_T}$ac_ct_CC" >&6
18686
 
else
18687
 
  echo "$as_me:$LINENO: result: no" >&5
18688
 
echo "${ECHO_T}no" >&6
18689
 
fi
18690
 
 
18691
 
  CC=$ac_ct_CC
18692
 
else
18693
 
  CC="$ac_cv_prog_CC"
18694
 
fi
18695
 
 
18696
19873
fi
18697
19874
if test -z "$CC"; then
18698
19875
  # Extract the first word of "cc", so it can be a program name with args.
18699
19876
set dummy cc; ac_word=$2
18700
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18701
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19877
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19878
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18702
19879
if test "${ac_cv_prog_CC+set}" = set; then
18703
19880
  echo $ECHO_N "(cached) $ECHO_C" >&6
18704
19881
else
18712
19889
  IFS=$as_save_IFS
18713
19890
  test -z "$as_dir" && as_dir=.
18714
19891
  for ac_exec_ext in '' $ac_executable_extensions; do
18715
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19892
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18716
19893
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18717
19894
       ac_prog_rejected=yes
18718
19895
       continue
18723
19900
  fi
18724
19901
done
18725
19902
done
 
19903
IFS=$as_save_IFS
18726
19904
 
18727
19905
if test $ac_prog_rejected = yes; then
18728
19906
  # We found a bogon in the path, so make sure we never use it.
18740
19918
fi
18741
19919
CC=$ac_cv_prog_CC
18742
19920
if test -n "$CC"; then
18743
 
  echo "$as_me:$LINENO: result: $CC" >&5
18744
 
echo "${ECHO_T}$CC" >&6
 
19921
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19922
echo "${ECHO_T}$CC" >&6; }
18745
19923
else
18746
 
  echo "$as_me:$LINENO: result: no" >&5
18747
 
echo "${ECHO_T}no" >&6
 
19924
  { echo "$as_me:$LINENO: result: no" >&5
 
19925
echo "${ECHO_T}no" >&6; }
18748
19926
fi
 
19927
 
18749
19928
 
18750
19929
fi
18751
19930
if test -z "$CC"; then
18752
19931
  if test -n "$ac_tool_prefix"; then
18753
 
  for ac_prog in cl
 
19932
  for ac_prog in cl.exe
18754
19933
  do
18755
19934
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18756
19935
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18757
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18758
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19936
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19937
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18759
19938
if test "${ac_cv_prog_CC+set}" = set; then
18760
19939
  echo $ECHO_N "(cached) $ECHO_C" >&6
18761
19940
else
18768
19947
  IFS=$as_save_IFS
18769
19948
  test -z "$as_dir" && as_dir=.
18770
19949
  for ac_exec_ext in '' $ac_executable_extensions; do
18771
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19950
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18772
19951
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18773
19952
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18774
19953
    break 2
18775
19954
  fi
18776
19955
done
18777
19956
done
 
19957
IFS=$as_save_IFS
18778
19958
 
18779
19959
fi
18780
19960
fi
18781
19961
CC=$ac_cv_prog_CC
18782
19962
if test -n "$CC"; then
18783
 
  echo "$as_me:$LINENO: result: $CC" >&5
18784
 
echo "${ECHO_T}$CC" >&6
 
19963
  { echo "$as_me:$LINENO: result: $CC" >&5
 
19964
echo "${ECHO_T}$CC" >&6; }
18785
19965
else
18786
 
  echo "$as_me:$LINENO: result: no" >&5
18787
 
echo "${ECHO_T}no" >&6
 
19966
  { echo "$as_me:$LINENO: result: no" >&5
 
19967
echo "${ECHO_T}no" >&6; }
18788
19968
fi
18789
19969
 
 
19970
 
18790
19971
    test -n "$CC" && break
18791
19972
  done
18792
19973
fi
18793
19974
if test -z "$CC"; then
18794
19975
  ac_ct_CC=$CC
18795
 
  for ac_prog in cl
 
19976
  for ac_prog in cl.exe
18796
19977
do
18797
19978
  # Extract the first word of "$ac_prog", so it can be a program name with args.
18798
19979
set dummy $ac_prog; ac_word=$2
18799
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18800
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19980
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19981
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18801
19982
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18802
19983
  echo $ECHO_N "(cached) $ECHO_C" >&6
18803
19984
else
18810
19991
  IFS=$as_save_IFS
18811
19992
  test -z "$as_dir" && as_dir=.
18812
19993
  for ac_exec_ext in '' $ac_executable_extensions; do
18813
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19994
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
18814
19995
    ac_cv_prog_ac_ct_CC="$ac_prog"
18815
19996
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18816
19997
    break 2
18817
19998
  fi
18818
19999
done
18819
20000
done
 
20001
IFS=$as_save_IFS
18820
20002
 
18821
20003
fi
18822
20004
fi
18823
20005
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18824
20006
if test -n "$ac_ct_CC"; then
18825
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18826
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
20007
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20008
echo "${ECHO_T}$ac_ct_CC" >&6; }
18827
20009
else
18828
 
  echo "$as_me:$LINENO: result: no" >&5
18829
 
echo "${ECHO_T}no" >&6
 
20010
  { echo "$as_me:$LINENO: result: no" >&5
 
20011
echo "${ECHO_T}no" >&6; }
18830
20012
fi
18831
20013
 
 
20014
 
18832
20015
  test -n "$ac_ct_CC" && break
18833
20016
done
18834
20017
 
18835
 
  CC=$ac_ct_CC
 
20018
  if test "x$ac_ct_CC" = x; then
 
20019
    CC=""
 
20020
  else
 
20021
    case $cross_compiling:$ac_tool_warned in
 
20022
yes:)
 
20023
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20024
whose name does not start with the host triplet.  If you think this
 
20025
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20026
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20027
whose name does not start with the host triplet.  If you think this
 
20028
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20029
ac_tool_warned=yes ;;
 
20030
esac
 
20031
    CC=$ac_ct_CC
 
20032
  fi
18836
20033
fi
18837
20034
 
18838
20035
fi
18845
20042
   { (exit 1); exit 1; }; }
18846
20043
 
18847
20044
# Provide some information about the compiler.
18848
 
echo "$as_me:$LINENO:" \
18849
 
     "checking for C compiler version" >&5
 
20045
echo "$as_me:$LINENO: checking for C compiler version" >&5
18850
20046
ac_compiler=`set X $ac_compile; echo $2`
18851
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18852
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
18853
 
  ac_status=$?
18854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855
 
  (exit $ac_status); }
18856
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18857
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
18858
 
  ac_status=$?
18859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860
 
  (exit $ac_status); }
18861
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18862
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
20047
{ (ac_try="$ac_compiler --version >&5"
 
20048
case "(($ac_try" in
 
20049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20050
  *) ac_try_echo=$ac_try;;
 
20051
esac
 
20052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20053
  (eval "$ac_compiler --version >&5") 2>&5
 
20054
  ac_status=$?
 
20055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20056
  (exit $ac_status); }
 
20057
{ (ac_try="$ac_compiler -v >&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 -v >&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
18863
20074
  ac_status=$?
18864
20075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865
20076
  (exit $ac_status); }
18866
20077
 
18867
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18868
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
20078
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
20079
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
18869
20080
if test "${ac_cv_c_compiler_gnu+set}" = set; then
18870
20081
  echo $ECHO_N "(cached) $ECHO_C" >&6
18871
20082
else
18888
20099
}
18889
20100
_ACEOF
18890
20101
rm -f conftest.$ac_objext
18891
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18892
 
  (eval $ac_compile) 2>conftest.er1
 
20102
if { (ac_try="$ac_compile"
 
20103
case "(($ac_try" in
 
20104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20105
  *) ac_try_echo=$ac_try;;
 
20106
esac
 
20107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20108
  (eval "$ac_compile") 2>conftest.er1
18893
20109
  ac_status=$?
18894
20110
  grep -v '^ *+' conftest.er1 >conftest.err
18895
20111
  rm -f conftest.er1
18896
20112
  cat conftest.err >&5
18897
20113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898
20114
  (exit $ac_status); } &&
18899
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18900
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901
 
  (eval $ac_try) 2>&5
 
20115
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20116
  { (case "(($ac_try" in
 
20117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20118
  *) ac_try_echo=$ac_try;;
 
20119
esac
 
20120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20121
  (eval "$ac_try") 2>&5
18902
20122
  ac_status=$?
18903
20123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904
20124
  (exit $ac_status); }; } &&
18905
20125
         { ac_try='test -s conftest.$ac_objext'
18906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907
 
  (eval $ac_try) 2>&5
 
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
18908
20132
  ac_status=$?
18909
20133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910
20134
  (exit $ac_status); }; }; then
18913
20137
  echo "$as_me: failed program was:" >&5
18914
20138
sed 's/^/| /' conftest.$ac_ext >&5
18915
20139
 
18916
 
ac_compiler_gnu=no
 
20140
        ac_compiler_gnu=no
18917
20141
fi
18918
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20142
 
 
20143
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18919
20144
ac_cv_c_compiler_gnu=$ac_compiler_gnu
18920
20145
 
18921
20146
fi
18922
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18923
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
20147
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
20148
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
18924
20149
GCC=`test $ac_compiler_gnu = yes && echo yes`
18925
20150
ac_test_CFLAGS=${CFLAGS+set}
18926
20151
ac_save_CFLAGS=$CFLAGS
18927
 
CFLAGS="-g"
18928
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18929
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
20152
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
20153
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18930
20154
if test "${ac_cv_prog_cc_g+set}" = set; then
18931
20155
  echo $ECHO_N "(cached) $ECHO_C" >&6
18932
20156
else
18933
 
  cat >conftest.$ac_ext <<_ACEOF
18934
 
/* confdefs.h.  */
18935
 
_ACEOF
18936
 
cat confdefs.h >>conftest.$ac_ext
18937
 
cat >>conftest.$ac_ext <<_ACEOF
18938
 
/* end confdefs.h.  */
18939
 
 
18940
 
int
18941
 
main ()
18942
 
{
18943
 
 
18944
 
  ;
18945
 
  return 0;
18946
 
}
18947
 
_ACEOF
18948
 
rm -f conftest.$ac_objext
18949
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18950
 
  (eval $ac_compile) 2>conftest.er1
18951
 
  ac_status=$?
18952
 
  grep -v '^ *+' conftest.er1 >conftest.err
18953
 
  rm -f conftest.er1
18954
 
  cat conftest.err >&5
18955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956
 
  (exit $ac_status); } &&
18957
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18958
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959
 
  (eval $ac_try) 2>&5
18960
 
  ac_status=$?
18961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962
 
  (exit $ac_status); }; } &&
18963
 
         { ac_try='test -s conftest.$ac_objext'
18964
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965
 
  (eval $ac_try) 2>&5
18966
 
  ac_status=$?
18967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968
 
  (exit $ac_status); }; }; then
18969
 
  ac_cv_prog_cc_g=yes
18970
 
else
18971
 
  echo "$as_me: failed program was:" >&5
18972
 
sed 's/^/| /' conftest.$ac_ext >&5
18973
 
 
18974
 
ac_cv_prog_cc_g=no
18975
 
fi
18976
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18977
 
fi
18978
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18979
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
20157
  ac_save_c_werror_flag=$ac_c_werror_flag
 
20158
   ac_c_werror_flag=yes
 
20159
   ac_cv_prog_cc_g=no
 
20160
   CFLAGS="-g"
 
20161
   cat >conftest.$ac_ext <<_ACEOF
 
20162
/* confdefs.h.  */
 
20163
_ACEOF
 
20164
cat confdefs.h >>conftest.$ac_ext
 
20165
cat >>conftest.$ac_ext <<_ACEOF
 
20166
/* end confdefs.h.  */
 
20167
 
 
20168
int
 
20169
main ()
 
20170
{
 
20171
 
 
20172
  ;
 
20173
  return 0;
 
20174
}
 
20175
_ACEOF
 
20176
rm -f conftest.$ac_objext
 
20177
if { (ac_try="$ac_compile"
 
20178
case "(($ac_try" in
 
20179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20180
  *) ac_try_echo=$ac_try;;
 
20181
esac
 
20182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20183
  (eval "$ac_compile") 2>conftest.er1
 
20184
  ac_status=$?
 
20185
  grep -v '^ *+' conftest.er1 >conftest.err
 
20186
  rm -f conftest.er1
 
20187
  cat conftest.err >&5
 
20188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20189
  (exit $ac_status); } &&
 
20190
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20191
  { (case "(($ac_try" in
 
20192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20193
  *) ac_try_echo=$ac_try;;
 
20194
esac
 
20195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20196
  (eval "$ac_try") 2>&5
 
20197
  ac_status=$?
 
20198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20199
  (exit $ac_status); }; } &&
 
20200
         { ac_try='test -s conftest.$ac_objext'
 
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); }; }; then
 
20210
  ac_cv_prog_cc_g=yes
 
20211
else
 
20212
  echo "$as_me: failed program was:" >&5
 
20213
sed 's/^/| /' conftest.$ac_ext >&5
 
20214
 
 
20215
        CFLAGS=""
 
20216
      cat >conftest.$ac_ext <<_ACEOF
 
20217
/* confdefs.h.  */
 
20218
_ACEOF
 
20219
cat confdefs.h >>conftest.$ac_ext
 
20220
cat >>conftest.$ac_ext <<_ACEOF
 
20221
/* end confdefs.h.  */
 
20222
 
 
20223
int
 
20224
main ()
 
20225
{
 
20226
 
 
20227
  ;
 
20228
  return 0;
 
20229
}
 
20230
_ACEOF
 
20231
rm -f conftest.$ac_objext
 
20232
if { (ac_try="$ac_compile"
 
20233
case "(($ac_try" in
 
20234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20235
  *) ac_try_echo=$ac_try;;
 
20236
esac
 
20237
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20238
  (eval "$ac_compile") 2>conftest.er1
 
20239
  ac_status=$?
 
20240
  grep -v '^ *+' conftest.er1 >conftest.err
 
20241
  rm -f conftest.er1
 
20242
  cat conftest.err >&5
 
20243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20244
  (exit $ac_status); } &&
 
20245
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20246
  { (case "(($ac_try" in
 
20247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20248
  *) ac_try_echo=$ac_try;;
 
20249
esac
 
20250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20251
  (eval "$ac_try") 2>&5
 
20252
  ac_status=$?
 
20253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20254
  (exit $ac_status); }; } &&
 
20255
         { ac_try='test -s conftest.$ac_objext'
 
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); }; }; then
 
20265
  :
 
20266
else
 
20267
  echo "$as_me: failed program was:" >&5
 
20268
sed 's/^/| /' conftest.$ac_ext >&5
 
20269
 
 
20270
        ac_c_werror_flag=$ac_save_c_werror_flag
 
20271
         CFLAGS="-g"
 
20272
         cat >conftest.$ac_ext <<_ACEOF
 
20273
/* confdefs.h.  */
 
20274
_ACEOF
 
20275
cat confdefs.h >>conftest.$ac_ext
 
20276
cat >>conftest.$ac_ext <<_ACEOF
 
20277
/* end confdefs.h.  */
 
20278
 
 
20279
int
 
20280
main ()
 
20281
{
 
20282
 
 
20283
  ;
 
20284
  return 0;
 
20285
}
 
20286
_ACEOF
 
20287
rm -f conftest.$ac_objext
 
20288
if { (ac_try="$ac_compile"
 
20289
case "(($ac_try" in
 
20290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20291
  *) ac_try_echo=$ac_try;;
 
20292
esac
 
20293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20294
  (eval "$ac_compile") 2>conftest.er1
 
20295
  ac_status=$?
 
20296
  grep -v '^ *+' conftest.er1 >conftest.err
 
20297
  rm -f conftest.er1
 
20298
  cat conftest.err >&5
 
20299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20300
  (exit $ac_status); } &&
 
20301
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20302
  { (case "(($ac_try" in
 
20303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20304
  *) ac_try_echo=$ac_try;;
 
20305
esac
 
20306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20307
  (eval "$ac_try") 2>&5
 
20308
  ac_status=$?
 
20309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20310
  (exit $ac_status); }; } &&
 
20311
         { ac_try='test -s conftest.$ac_objext'
 
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); }; }; then
 
20321
  ac_cv_prog_cc_g=yes
 
20322
else
 
20323
  echo "$as_me: failed program was:" >&5
 
20324
sed 's/^/| /' conftest.$ac_ext >&5
 
20325
 
 
20326
 
 
20327
fi
 
20328
 
 
20329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20330
fi
 
20331
 
 
20332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20333
fi
 
20334
 
 
20335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20336
   ac_c_werror_flag=$ac_save_c_werror_flag
 
20337
fi
 
20338
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
20339
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18980
20340
if test "$ac_test_CFLAGS" = set; then
18981
20341
  CFLAGS=$ac_save_CFLAGS
18982
20342
elif test $ac_cv_prog_cc_g = yes; then
18992
20352
    CFLAGS=
18993
20353
  fi
18994
20354
fi
18995
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
18996
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
18997
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
20355
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
20356
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
20357
if test "${ac_cv_prog_cc_c89+set}" = set; then
18998
20358
  echo $ECHO_N "(cached) $ECHO_C" >&6
18999
20359
else
19000
 
  ac_cv_prog_cc_stdc=no
 
20360
  ac_cv_prog_cc_c89=no
19001
20361
ac_save_CC=$CC
19002
20362
cat >conftest.$ac_ext <<_ACEOF
19003
20363
/* confdefs.h.  */
19031
20391
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19032
20392
   function prototypes and stuff, but not '\xHH' hex character constants.
19033
20393
   These don't provoke an error unfortunately, instead are silently treated
19034
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
20394
   as 'x'.  The following induces an error, until -std is added to get
19035
20395
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19036
20396
   array size at least.  It's necessary to write '\x00'==0 to get something
19037
 
   that's true only with -std1.  */
 
20397
   that's true only with -std.  */
19038
20398
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19039
20399
 
 
20400
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
20401
   inside strings and character constants.  */
 
20402
#define FOO(x) 'x'
 
20403
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
20404
 
19040
20405
int test (int i, double x);
19041
20406
struct s1 {int (*f) (int a);};
19042
20407
struct s2 {int (*f) (double a);};
19051
20416
  return 0;
19052
20417
}
19053
20418
_ACEOF
19054
 
# Don't try gcc -ansi; that turns off useful extensions and
19055
 
# breaks some systems' header files.
19056
 
# AIX                   -qlanglvl=ansi
19057
 
# Ultrix and OSF/1      -std1
19058
 
# HP-UX 10.20 and later -Ae
19059
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
19060
 
# SVR4                  -Xc -D__EXTENSIONS__
19061
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
20419
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
20420
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19062
20421
do
19063
20422
  CC="$ac_save_CC $ac_arg"
19064
20423
  rm -f conftest.$ac_objext
19065
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19066
 
  (eval $ac_compile) 2>conftest.er1
 
20424
if { (ac_try="$ac_compile"
 
20425
case "(($ac_try" in
 
20426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20427
  *) ac_try_echo=$ac_try;;
 
20428
esac
 
20429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20430
  (eval "$ac_compile") 2>conftest.er1
19067
20431
  ac_status=$?
19068
20432
  grep -v '^ *+' conftest.er1 >conftest.err
19069
20433
  rm -f conftest.er1
19070
20434
  cat conftest.err >&5
19071
20435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072
20436
  (exit $ac_status); } &&
19073
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075
 
  (eval $ac_try) 2>&5
 
20437
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20438
  { (case "(($ac_try" in
 
20439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20440
  *) ac_try_echo=$ac_try;;
 
20441
esac
 
20442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20443
  (eval "$ac_try") 2>&5
19076
20444
  ac_status=$?
19077
20445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078
20446
  (exit $ac_status); }; } &&
19079
20447
         { ac_try='test -s conftest.$ac_objext'
19080
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081
 
  (eval $ac_try) 2>&5
 
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
19082
20454
  ac_status=$?
19083
20455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084
20456
  (exit $ac_status); }; }; then
19085
 
  ac_cv_prog_cc_stdc=$ac_arg
19086
 
break
 
20457
  ac_cv_prog_cc_c89=$ac_arg
19087
20458
else
19088
20459
  echo "$as_me: failed program was:" >&5
19089
20460
sed 's/^/| /' conftest.$ac_ext >&5
19090
20461
 
 
20462
 
19091
20463
fi
19092
 
rm -f conftest.err conftest.$ac_objext
 
20464
 
 
20465
rm -f core conftest.err conftest.$ac_objext
 
20466
  test "x$ac_cv_prog_cc_c89" != "xno" && break
19093
20467
done
19094
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
20468
rm -f conftest.$ac_ext
19095
20469
CC=$ac_save_CC
19096
20470
 
19097
20471
fi
19098
 
 
19099
 
case "x$ac_cv_prog_cc_stdc" in
19100
 
  x|xno)
19101
 
    echo "$as_me:$LINENO: result: none needed" >&5
19102
 
echo "${ECHO_T}none needed" >&6 ;;
 
20472
# AC_CACHE_VAL
 
20473
case "x$ac_cv_prog_cc_c89" in
 
20474
  x)
 
20475
    { echo "$as_me:$LINENO: result: none needed" >&5
 
20476
echo "${ECHO_T}none needed" >&6; } ;;
 
20477
  xno)
 
20478
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
20479
echo "${ECHO_T}unsupported" >&6; } ;;
19103
20480
  *)
19104
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19105
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19106
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
20481
    CC="$CC $ac_cv_prog_cc_c89"
 
20482
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
20483
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
19107
20484
esac
19108
20485
 
19109
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
19110
 
# in C++ we need to declare it.  In case someone uses the same compiler
19111
 
# for both compiling C and C++ we need to have the C++ compiler decide
19112
 
# the declaration of exit, since it's the most demanding environment.
19113
 
cat >conftest.$ac_ext <<_ACEOF
19114
 
#ifndef __cplusplus
19115
 
  choke me
19116
 
#endif
19117
 
_ACEOF
19118
 
rm -f conftest.$ac_objext
19119
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19120
 
  (eval $ac_compile) 2>conftest.er1
19121
 
  ac_status=$?
19122
 
  grep -v '^ *+' conftest.er1 >conftest.err
19123
 
  rm -f conftest.er1
19124
 
  cat conftest.err >&5
19125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126
 
  (exit $ac_status); } &&
19127
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19128
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129
 
  (eval $ac_try) 2>&5
19130
 
  ac_status=$?
19131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132
 
  (exit $ac_status); }; } &&
19133
 
         { ac_try='test -s conftest.$ac_objext'
19134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135
 
  (eval $ac_try) 2>&5
19136
 
  ac_status=$?
19137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138
 
  (exit $ac_status); }; }; then
19139
 
  for ac_declaration in \
19140
 
   '' \
19141
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
19142
 
   'extern "C" void std::exit (int); using std::exit;' \
19143
 
   'extern "C" void exit (int) throw ();' \
19144
 
   'extern "C" void exit (int);' \
19145
 
   'void exit (int);'
19146
 
do
19147
 
  cat >conftest.$ac_ext <<_ACEOF
19148
 
/* confdefs.h.  */
19149
 
_ACEOF
19150
 
cat confdefs.h >>conftest.$ac_ext
19151
 
cat >>conftest.$ac_ext <<_ACEOF
19152
 
/* end confdefs.h.  */
19153
 
$ac_declaration
19154
 
#include <stdlib.h>
19155
 
int
19156
 
main ()
19157
 
{
19158
 
exit (42);
19159
 
  ;
19160
 
  return 0;
19161
 
}
19162
 
_ACEOF
19163
 
rm -f conftest.$ac_objext
19164
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165
 
  (eval $ac_compile) 2>conftest.er1
19166
 
  ac_status=$?
19167
 
  grep -v '^ *+' conftest.er1 >conftest.err
19168
 
  rm -f conftest.er1
19169
 
  cat conftest.err >&5
19170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171
 
  (exit $ac_status); } &&
19172
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19173
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174
 
  (eval $ac_try) 2>&5
19175
 
  ac_status=$?
19176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177
 
  (exit $ac_status); }; } &&
19178
 
         { ac_try='test -s conftest.$ac_objext'
19179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180
 
  (eval $ac_try) 2>&5
19181
 
  ac_status=$?
19182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183
 
  (exit $ac_status); }; }; then
19184
 
  :
19185
 
else
19186
 
  echo "$as_me: failed program was:" >&5
19187
 
sed 's/^/| /' conftest.$ac_ext >&5
19188
 
 
19189
 
continue
19190
 
fi
19191
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19192
 
  cat >conftest.$ac_ext <<_ACEOF
19193
 
/* confdefs.h.  */
19194
 
_ACEOF
19195
 
cat confdefs.h >>conftest.$ac_ext
19196
 
cat >>conftest.$ac_ext <<_ACEOF
19197
 
/* end confdefs.h.  */
19198
 
$ac_declaration
19199
 
int
19200
 
main ()
19201
 
{
19202
 
exit (42);
19203
 
  ;
19204
 
  return 0;
19205
 
}
19206
 
_ACEOF
19207
 
rm -f conftest.$ac_objext
19208
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19209
 
  (eval $ac_compile) 2>conftest.er1
19210
 
  ac_status=$?
19211
 
  grep -v '^ *+' conftest.er1 >conftest.err
19212
 
  rm -f conftest.er1
19213
 
  cat conftest.err >&5
19214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215
 
  (exit $ac_status); } &&
19216
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218
 
  (eval $ac_try) 2>&5
19219
 
  ac_status=$?
19220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221
 
  (exit $ac_status); }; } &&
19222
 
         { ac_try='test -s conftest.$ac_objext'
19223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224
 
  (eval $ac_try) 2>&5
19225
 
  ac_status=$?
19226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227
 
  (exit $ac_status); }; }; then
19228
 
  break
19229
 
else
19230
 
  echo "$as_me: failed program was:" >&5
19231
 
sed 's/^/| /' conftest.$ac_ext >&5
19232
 
 
19233
 
fi
19234
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19235
 
done
19236
 
rm -f conftest*
19237
 
if test -n "$ac_declaration"; then
19238
 
  echo '#ifdef __cplusplus' >>confdefs.h
19239
 
  echo $ac_declaration      >>confdefs.h
19240
 
  echo '#endif'             >>confdefs.h
19241
 
fi
19242
 
 
19243
 
else
19244
 
  echo "$as_me: failed program was:" >&5
19245
 
sed 's/^/| /' conftest.$ac_ext >&5
19246
 
 
19247
 
fi
19248
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20486
 
19249
20487
ac_ext=c
19250
20488
ac_cpp='$CPP $CPPFLAGS'
19251
20489
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254
20492
 
19255
20493
depcc="$CC"   am_compiler_list=
19256
20494
 
19257
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19258
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
20495
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
20496
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19259
20497
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19260
20498
  echo $ECHO_N "(cached) $ECHO_C" >&6
19261
20499
else
19344
20582
fi
19345
20583
 
19346
20584
fi
19347
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
19348
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
20585
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
20586
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
19349
20587
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
19350
20588
 
19351
20589
 
19361
20599
fi
19362
20600
 
19363
20601
 
19364
 
ac_ext=cc
 
20602
ac_ext=cpp
19365
20603
ac_cpp='$CXXCPP $CPPFLAGS'
19366
20604
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19367
20605
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19368
20606
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19369
 
if test -n "$ac_tool_prefix"; then
19370
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
20607
if test -z "$CXX"; then
 
20608
  if test -n "$CCC"; then
 
20609
    CXX=$CCC
 
20610
  else
 
20611
    if test -n "$ac_tool_prefix"; then
 
20612
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19371
20613
  do
19372
20614
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19373
20615
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19374
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19375
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20616
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20617
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19376
20618
if test "${ac_cv_prog_CXX+set}" = set; then
19377
20619
  echo $ECHO_N "(cached) $ECHO_C" >&6
19378
20620
else
19385
20627
  IFS=$as_save_IFS
19386
20628
  test -z "$as_dir" && as_dir=.
19387
20629
  for ac_exec_ext in '' $ac_executable_extensions; do
19388
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19389
20631
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19390
20632
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19391
20633
    break 2
19392
20634
  fi
19393
20635
done
19394
20636
done
 
20637
IFS=$as_save_IFS
19395
20638
 
19396
20639
fi
19397
20640
fi
19398
20641
CXX=$ac_cv_prog_CXX
19399
20642
if test -n "$CXX"; then
19400
 
  echo "$as_me:$LINENO: result: $CXX" >&5
19401
 
echo "${ECHO_T}$CXX" >&6
 
20643
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
20644
echo "${ECHO_T}$CXX" >&6; }
19402
20645
else
19403
 
  echo "$as_me:$LINENO: result: no" >&5
19404
 
echo "${ECHO_T}no" >&6
 
20646
  { echo "$as_me:$LINENO: result: no" >&5
 
20647
echo "${ECHO_T}no" >&6; }
19405
20648
fi
19406
20649
 
 
20650
 
19407
20651
    test -n "$CXX" && break
19408
20652
  done
19409
20653
fi
19410
20654
if test -z "$CXX"; then
19411
20655
  ac_ct_CXX=$CXX
19412
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
20656
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19413
20657
do
19414
20658
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19415
20659
set dummy $ac_prog; ac_word=$2
19416
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19417
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20660
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20661
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19418
20662
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19419
20663
  echo $ECHO_N "(cached) $ECHO_C" >&6
19420
20664
else
19427
20671
  IFS=$as_save_IFS
19428
20672
  test -z "$as_dir" && as_dir=.
19429
20673
  for ac_exec_ext in '' $ac_executable_extensions; do
19430
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19431
20675
    ac_cv_prog_ac_ct_CXX="$ac_prog"
19432
20676
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19433
20677
    break 2
19434
20678
  fi
19435
20679
done
19436
20680
done
 
20681
IFS=$as_save_IFS
19437
20682
 
19438
20683
fi
19439
20684
fi
19440
20685
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19441
20686
if test -n "$ac_ct_CXX"; then
19442
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19443
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
20687
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
20688
echo "${ECHO_T}$ac_ct_CXX" >&6; }
19444
20689
else
19445
 
  echo "$as_me:$LINENO: result: no" >&5
19446
 
echo "${ECHO_T}no" >&6
 
20690
  { echo "$as_me:$LINENO: result: no" >&5
 
20691
echo "${ECHO_T}no" >&6; }
19447
20692
fi
19448
20693
 
 
20694
 
19449
20695
  test -n "$ac_ct_CXX" && break
19450
20696
done
19451
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
19452
 
 
19453
 
  CXX=$ac_ct_CXX
19454
 
fi
19455
 
 
19456
 
 
 
20697
 
 
20698
  if test "x$ac_ct_CXX" = x; then
 
20699
    CXX="g++"
 
20700
  else
 
20701
    case $cross_compiling:$ac_tool_warned in
 
20702
yes:)
 
20703
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20704
whose name does not start with the host triplet.  If you think this
 
20705
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20706
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20707
whose name does not start with the host triplet.  If you think this
 
20708
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20709
ac_tool_warned=yes ;;
 
20710
esac
 
20711
    CXX=$ac_ct_CXX
 
20712
  fi
 
20713
fi
 
20714
 
 
20715
  fi
 
20716
fi
19457
20717
# Provide some information about the compiler.
19458
 
echo "$as_me:$LINENO:" \
19459
 
     "checking for C++ compiler version" >&5
 
20718
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19460
20719
ac_compiler=`set X $ac_compile; echo $2`
19461
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19462
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
19463
 
  ac_status=$?
19464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465
 
  (exit $ac_status); }
19466
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19467
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
19468
 
  ac_status=$?
19469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470
 
  (exit $ac_status); }
19471
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19472
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
20720
{ (ac_try="$ac_compiler --version >&5"
 
20721
case "(($ac_try" in
 
20722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20723
  *) ac_try_echo=$ac_try;;
 
20724
esac
 
20725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20726
  (eval "$ac_compiler --version >&5") 2>&5
 
20727
  ac_status=$?
 
20728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20729
  (exit $ac_status); }
 
20730
{ (ac_try="$ac_compiler -v >&5"
 
20731
case "(($ac_try" in
 
20732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20733
  *) ac_try_echo=$ac_try;;
 
20734
esac
 
20735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20736
  (eval "$ac_compiler -v >&5") 2>&5
 
20737
  ac_status=$?
 
20738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20739
  (exit $ac_status); }
 
20740
{ (ac_try="$ac_compiler -V >&5"
 
20741
case "(($ac_try" in
 
20742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20743
  *) ac_try_echo=$ac_try;;
 
20744
esac
 
20745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20746
  (eval "$ac_compiler -V >&5") 2>&5
19473
20747
  ac_status=$?
19474
20748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475
20749
  (exit $ac_status); }
19476
20750
 
19477
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19478
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
20751
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
20752
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19479
20753
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19480
20754
  echo $ECHO_N "(cached) $ECHO_C" >&6
19481
20755
else
19498
20772
}
19499
20773
_ACEOF
19500
20774
rm -f conftest.$ac_objext
19501
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19502
 
  (eval $ac_compile) 2>conftest.er1
 
20775
if { (ac_try="$ac_compile"
 
20776
case "(($ac_try" in
 
20777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20778
  *) ac_try_echo=$ac_try;;
 
20779
esac
 
20780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20781
  (eval "$ac_compile") 2>conftest.er1
19503
20782
  ac_status=$?
19504
20783
  grep -v '^ *+' conftest.er1 >conftest.err
19505
20784
  rm -f conftest.er1
19506
20785
  cat conftest.err >&5
19507
20786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508
20787
  (exit $ac_status); } &&
19509
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511
 
  (eval $ac_try) 2>&5
 
20788
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
20789
  { (case "(($ac_try" in
 
20790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20791
  *) ac_try_echo=$ac_try;;
 
20792
esac
 
20793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20794
  (eval "$ac_try") 2>&5
19512
20795
  ac_status=$?
19513
20796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514
20797
  (exit $ac_status); }; } &&
19515
20798
         { ac_try='test -s conftest.$ac_objext'
19516
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517
 
  (eval $ac_try) 2>&5
 
20799
  { (case "(($ac_try" in
 
20800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20801
  *) ac_try_echo=$ac_try;;
 
20802
esac
 
20803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20804
  (eval "$ac_try") 2>&5
19518
20805
  ac_status=$?
19519
20806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520
20807
  (exit $ac_status); }; }; then
19523
20810
  echo "$as_me: failed program was:" >&5
19524
20811
sed 's/^/| /' conftest.$ac_ext >&5
19525
20812
 
19526
 
ac_compiler_gnu=no
 
20813
        ac_compiler_gnu=no
19527
20814
fi
19528
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20815
 
 
20816
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19529
20817
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19530
20818
 
19531
20819
fi
19532
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19533
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
20820
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
20821
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19534
20822
GXX=`test $ac_compiler_gnu = yes && echo yes`
19535
20823
ac_test_CXXFLAGS=${CXXFLAGS+set}
19536
20824
ac_save_CXXFLAGS=$CXXFLAGS
19537
 
CXXFLAGS="-g"
19538
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19539
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
20825
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
20826
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19540
20827
if test "${ac_cv_prog_cxx_g+set}" = set; then
19541
20828
  echo $ECHO_N "(cached) $ECHO_C" >&6
19542
20829
else
19543
 
  cat >conftest.$ac_ext <<_ACEOF
19544
 
/* confdefs.h.  */
19545
 
_ACEOF
19546
 
cat confdefs.h >>conftest.$ac_ext
19547
 
cat >>conftest.$ac_ext <<_ACEOF
19548
 
/* end confdefs.h.  */
19549
 
 
19550
 
int
19551
 
main ()
19552
 
{
19553
 
 
19554
 
  ;
19555
 
  return 0;
19556
 
}
19557
 
_ACEOF
19558
 
rm -f conftest.$ac_objext
19559
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19560
 
  (eval $ac_compile) 2>conftest.er1
19561
 
  ac_status=$?
19562
 
  grep -v '^ *+' conftest.er1 >conftest.err
19563
 
  rm -f conftest.er1
19564
 
  cat conftest.err >&5
19565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566
 
  (exit $ac_status); } &&
19567
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569
 
  (eval $ac_try) 2>&5
19570
 
  ac_status=$?
19571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572
 
  (exit $ac_status); }; } &&
19573
 
         { ac_try='test -s conftest.$ac_objext'
19574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575
 
  (eval $ac_try) 2>&5
19576
 
  ac_status=$?
19577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578
 
  (exit $ac_status); }; }; then
19579
 
  ac_cv_prog_cxx_g=yes
19580
 
else
19581
 
  echo "$as_me: failed program was:" >&5
19582
 
sed 's/^/| /' conftest.$ac_ext >&5
19583
 
 
19584
 
ac_cv_prog_cxx_g=no
19585
 
fi
19586
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19587
 
fi
19588
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19589
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
20830
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
20831
   ac_cxx_werror_flag=yes
 
20832
   ac_cv_prog_cxx_g=no
 
20833
   CXXFLAGS="-g"
 
20834
   cat >conftest.$ac_ext <<_ACEOF
 
20835
/* confdefs.h.  */
 
20836
_ACEOF
 
20837
cat confdefs.h >>conftest.$ac_ext
 
20838
cat >>conftest.$ac_ext <<_ACEOF
 
20839
/* end confdefs.h.  */
 
20840
 
 
20841
int
 
20842
main ()
 
20843
{
 
20844
 
 
20845
  ;
 
20846
  return 0;
 
20847
}
 
20848
_ACEOF
 
20849
rm -f conftest.$ac_objext
 
20850
if { (ac_try="$ac_compile"
 
20851
case "(($ac_try" in
 
20852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20853
  *) ac_try_echo=$ac_try;;
 
20854
esac
 
20855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20856
  (eval "$ac_compile") 2>conftest.er1
 
20857
  ac_status=$?
 
20858
  grep -v '^ *+' conftest.er1 >conftest.err
 
20859
  rm -f conftest.er1
 
20860
  cat conftest.err >&5
 
20861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20862
  (exit $ac_status); } &&
 
20863
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
20864
  { (case "(($ac_try" in
 
20865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20866
  *) ac_try_echo=$ac_try;;
 
20867
esac
 
20868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20869
  (eval "$ac_try") 2>&5
 
20870
  ac_status=$?
 
20871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20872
  (exit $ac_status); }; } &&
 
20873
         { ac_try='test -s conftest.$ac_objext'
 
20874
  { (case "(($ac_try" in
 
20875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20876
  *) ac_try_echo=$ac_try;;
 
20877
esac
 
20878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20879
  (eval "$ac_try") 2>&5
 
20880
  ac_status=$?
 
20881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20882
  (exit $ac_status); }; }; then
 
20883
  ac_cv_prog_cxx_g=yes
 
20884
else
 
20885
  echo "$as_me: failed program was:" >&5
 
20886
sed 's/^/| /' conftest.$ac_ext >&5
 
20887
 
 
20888
        CXXFLAGS=""
 
20889
      cat >conftest.$ac_ext <<_ACEOF
 
20890
/* confdefs.h.  */
 
20891
_ACEOF
 
20892
cat confdefs.h >>conftest.$ac_ext
 
20893
cat >>conftest.$ac_ext <<_ACEOF
 
20894
/* end confdefs.h.  */
 
20895
 
 
20896
int
 
20897
main ()
 
20898
{
 
20899
 
 
20900
  ;
 
20901
  return 0;
 
20902
}
 
20903
_ACEOF
 
20904
rm -f conftest.$ac_objext
 
20905
if { (ac_try="$ac_compile"
 
20906
case "(($ac_try" in
 
20907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20908
  *) ac_try_echo=$ac_try;;
 
20909
esac
 
20910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20911
  (eval "$ac_compile") 2>conftest.er1
 
20912
  ac_status=$?
 
20913
  grep -v '^ *+' conftest.er1 >conftest.err
 
20914
  rm -f conftest.er1
 
20915
  cat conftest.err >&5
 
20916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20917
  (exit $ac_status); } &&
 
20918
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
20919
  { (case "(($ac_try" in
 
20920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20921
  *) ac_try_echo=$ac_try;;
 
20922
esac
 
20923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20924
  (eval "$ac_try") 2>&5
 
20925
  ac_status=$?
 
20926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20927
  (exit $ac_status); }; } &&
 
20928
         { ac_try='test -s conftest.$ac_objext'
 
20929
  { (case "(($ac_try" in
 
20930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20931
  *) ac_try_echo=$ac_try;;
 
20932
esac
 
20933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20934
  (eval "$ac_try") 2>&5
 
20935
  ac_status=$?
 
20936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20937
  (exit $ac_status); }; }; then
 
20938
  :
 
20939
else
 
20940
  echo "$as_me: failed program was:" >&5
 
20941
sed 's/^/| /' conftest.$ac_ext >&5
 
20942
 
 
20943
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
20944
         CXXFLAGS="-g"
 
20945
         cat >conftest.$ac_ext <<_ACEOF
 
20946
/* confdefs.h.  */
 
20947
_ACEOF
 
20948
cat confdefs.h >>conftest.$ac_ext
 
20949
cat >>conftest.$ac_ext <<_ACEOF
 
20950
/* end confdefs.h.  */
 
20951
 
 
20952
int
 
20953
main ()
 
20954
{
 
20955
 
 
20956
  ;
 
20957
  return 0;
 
20958
}
 
20959
_ACEOF
 
20960
rm -f conftest.$ac_objext
 
20961
if { (ac_try="$ac_compile"
 
20962
case "(($ac_try" in
 
20963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20964
  *) ac_try_echo=$ac_try;;
 
20965
esac
 
20966
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20967
  (eval "$ac_compile") 2>conftest.er1
 
20968
  ac_status=$?
 
20969
  grep -v '^ *+' conftest.er1 >conftest.err
 
20970
  rm -f conftest.er1
 
20971
  cat conftest.err >&5
 
20972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20973
  (exit $ac_status); } &&
 
20974
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
20975
  { (case "(($ac_try" in
 
20976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20977
  *) ac_try_echo=$ac_try;;
 
20978
esac
 
20979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20980
  (eval "$ac_try") 2>&5
 
20981
  ac_status=$?
 
20982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20983
  (exit $ac_status); }; } &&
 
20984
         { ac_try='test -s conftest.$ac_objext'
 
20985
  { (case "(($ac_try" in
 
20986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20987
  *) ac_try_echo=$ac_try;;
 
20988
esac
 
20989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20990
  (eval "$ac_try") 2>&5
 
20991
  ac_status=$?
 
20992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20993
  (exit $ac_status); }; }; then
 
20994
  ac_cv_prog_cxx_g=yes
 
20995
else
 
20996
  echo "$as_me: failed program was:" >&5
 
20997
sed 's/^/| /' conftest.$ac_ext >&5
 
20998
 
 
20999
 
 
21000
fi
 
21001
 
 
21002
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21003
fi
 
21004
 
 
21005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21006
fi
 
21007
 
 
21008
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21009
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
21010
fi
 
21011
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
21012
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19590
21013
if test "$ac_test_CXXFLAGS" = set; then
19591
21014
  CXXFLAGS=$ac_save_CXXFLAGS
19592
21015
elif test $ac_cv_prog_cxx_g = yes; then
19602
21025
    CXXFLAGS=
19603
21026
  fi
19604
21027
fi
19605
 
for ac_declaration in \
19606
 
   '' \
19607
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
19608
 
   'extern "C" void std::exit (int); using std::exit;' \
19609
 
   'extern "C" void exit (int) throw ();' \
19610
 
   'extern "C" void exit (int);' \
19611
 
   'void exit (int);'
19612
 
do
19613
 
  cat >conftest.$ac_ext <<_ACEOF
19614
 
/* confdefs.h.  */
19615
 
_ACEOF
19616
 
cat confdefs.h >>conftest.$ac_ext
19617
 
cat >>conftest.$ac_ext <<_ACEOF
19618
 
/* end confdefs.h.  */
19619
 
$ac_declaration
19620
 
#include <stdlib.h>
19621
 
int
19622
 
main ()
19623
 
{
19624
 
exit (42);
19625
 
  ;
19626
 
  return 0;
19627
 
}
19628
 
_ACEOF
19629
 
rm -f conftest.$ac_objext
19630
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19631
 
  (eval $ac_compile) 2>conftest.er1
19632
 
  ac_status=$?
19633
 
  grep -v '^ *+' conftest.er1 >conftest.err
19634
 
  rm -f conftest.er1
19635
 
  cat conftest.err >&5
19636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637
 
  (exit $ac_status); } &&
19638
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19639
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640
 
  (eval $ac_try) 2>&5
19641
 
  ac_status=$?
19642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643
 
  (exit $ac_status); }; } &&
19644
 
         { ac_try='test -s conftest.$ac_objext'
19645
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646
 
  (eval $ac_try) 2>&5
19647
 
  ac_status=$?
19648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649
 
  (exit $ac_status); }; }; then
19650
 
  :
19651
 
else
19652
 
  echo "$as_me: failed program was:" >&5
19653
 
sed 's/^/| /' conftest.$ac_ext >&5
19654
 
 
19655
 
continue
19656
 
fi
19657
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19658
 
  cat >conftest.$ac_ext <<_ACEOF
19659
 
/* confdefs.h.  */
19660
 
_ACEOF
19661
 
cat confdefs.h >>conftest.$ac_ext
19662
 
cat >>conftest.$ac_ext <<_ACEOF
19663
 
/* end confdefs.h.  */
19664
 
$ac_declaration
19665
 
int
19666
 
main ()
19667
 
{
19668
 
exit (42);
19669
 
  ;
19670
 
  return 0;
19671
 
}
19672
 
_ACEOF
19673
 
rm -f conftest.$ac_objext
19674
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19675
 
  (eval $ac_compile) 2>conftest.er1
19676
 
  ac_status=$?
19677
 
  grep -v '^ *+' conftest.er1 >conftest.err
19678
 
  rm -f conftest.er1
19679
 
  cat conftest.err >&5
19680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681
 
  (exit $ac_status); } &&
19682
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684
 
  (eval $ac_try) 2>&5
19685
 
  ac_status=$?
19686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687
 
  (exit $ac_status); }; } &&
19688
 
         { ac_try='test -s conftest.$ac_objext'
19689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690
 
  (eval $ac_try) 2>&5
19691
 
  ac_status=$?
19692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693
 
  (exit $ac_status); }; }; then
19694
 
  break
19695
 
else
19696
 
  echo "$as_me: failed program was:" >&5
19697
 
sed 's/^/| /' conftest.$ac_ext >&5
19698
 
 
19699
 
fi
19700
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19701
 
done
19702
 
rm -f conftest*
19703
 
if test -n "$ac_declaration"; then
19704
 
  echo '#ifdef __cplusplus' >>confdefs.h
19705
 
  echo $ac_declaration      >>confdefs.h
19706
 
  echo '#endif'             >>confdefs.h
19707
 
fi
19708
 
 
19709
21028
ac_ext=c
19710
21029
ac_cpp='$CPP $CPPFLAGS'
19711
21030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19714
21033
 
19715
21034
depcc="$CXX"  am_compiler_list=
19716
21035
 
19717
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19718
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
21036
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
21037
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19719
21038
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19720
21039
  echo $ECHO_N "(cached) $ECHO_C" >&6
19721
21040
else
19804
21123
fi
19805
21124
 
19806
21125
fi
19807
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19808
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
21126
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
21127
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
19809
21128
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
19810
21129
 
19811
21130
 
19834
21153
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19835
21154
# OS/2's system install, which has a completely different semantic
19836
21155
# ./install, which can be erroneously created by make from ./install.sh.
19837
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19838
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
21156
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
21157
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19839
21158
if test -z "$INSTALL"; then
19840
21159
if test "${ac_cv_path_install+set}" = set; then
19841
21160
  echo $ECHO_N "(cached) $ECHO_C" >&6
19857
21176
    # by default.
19858
21177
    for ac_prog in ginstall scoinst install; do
19859
21178
      for ac_exec_ext in '' $ac_executable_extensions; do
19860
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
21179
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
19861
21180
          if test $ac_prog = install &&
19862
21181
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19863
21182
            # AIX install.  It has an incompatible calling convention.
19876
21195
    ;;
19877
21196
esac
19878
21197
done
 
21198
IFS=$as_save_IFS
19879
21199
 
19880
21200
 
19881
21201
fi
19882
21202
  if test "${ac_cv_path_install+set}" = set; then
19883
21203
    INSTALL=$ac_cv_path_install
19884
21204
  else
19885
 
    # As a last resort, use the slow shell script.  We don't cache a
19886
 
    # path for INSTALL within a source directory, because that will
 
21205
    # As a last resort, use the slow shell script.  Don't cache a
 
21206
    # value for INSTALL within a source directory, because that will
19887
21207
    # break other packages using the cache if that directory is
19888
 
    # removed, or if the path is relative.
 
21208
    # removed, or if the value is a relative name.
19889
21209
    INSTALL=$ac_install_sh
19890
21210
  fi
19891
21211
fi
19892
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
19893
 
echo "${ECHO_T}$INSTALL" >&6
 
21212
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
21213
echo "${ECHO_T}$INSTALL" >&6; }
19894
21214
 
19895
21215
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19896
21216
# It thinks the first close brace ends the variable substitution.
19908
21228
 
19909
21229
        if test -n "$PYTHON"; then
19910
21230
      # If the user set $PYTHON, use it and don't search something else.
19911
 
      echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
19912
 
echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6
 
21231
      { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
 
21232
echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6; }
19913
21233
      prog="import sys, string
19914
21234
# split strings by '.' and convert to numeric.  Append some zeros
19915
21235
# because we need at least 4 digits for the hex conversion.
19922
21242
   ac_status=$?
19923
21243
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924
21244
   (exit $ac_status); }; then
19925
 
  echo "$as_me:$LINENO: result: yes" >&5
19926
 
echo "${ECHO_T}yes" >&6
 
21245
  { echo "$as_me:$LINENO: result: yes" >&5
 
21246
echo "${ECHO_T}yes" >&6; }
19927
21247
else
19928
21248
  { { echo "$as_me:$LINENO: error: too old" >&5
19929
21249
echo "$as_me: error: too old" >&2;}
19934
21254
    else
19935
21255
      # Otherwise, try each interpreter until we find one that satisfies
19936
21256
      # VERSION.
19937
 
      echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
19938
 
echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6
 
21257
      { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
 
21258
echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6; }
19939
21259
if test "${am_cv_pathless_PYTHON+set}" = set; then
19940
21260
  echo $ECHO_N "(cached) $ECHO_C" >&6
19941
21261
else
19959
21279
 
19960
21280
        done
19961
21281
fi
19962
 
echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
19963
 
echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
 
21282
{ echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
 
21283
echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
19964
21284
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
19965
21285
      if test "$am_cv_pathless_PYTHON" = none; then
19966
21286
        PYTHON=:
19967
21287
      else
19968
21288
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
19969
21289
set dummy $am_cv_pathless_PYTHON; ac_word=$2
19970
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19971
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21290
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21291
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19972
21292
if test "${ac_cv_path_PYTHON+set}" = set; then
19973
21293
  echo $ECHO_N "(cached) $ECHO_C" >&6
19974
21294
else
19983
21303
  IFS=$as_save_IFS
19984
21304
  test -z "$as_dir" && as_dir=.
19985
21305
  for ac_exec_ext in '' $ac_executable_extensions; do
19986
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21306
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19987
21307
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19988
21308
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19989
21309
    break 2
19990
21310
  fi
19991
21311
done
19992
21312
done
 
21313
IFS=$as_save_IFS
19993
21314
 
19994
21315
  ;;
19995
21316
esac
19996
21317
fi
19997
21318
PYTHON=$ac_cv_path_PYTHON
19998
 
 
19999
21319
if test -n "$PYTHON"; then
20000
 
  echo "$as_me:$LINENO: result: $PYTHON" >&5
20001
 
echo "${ECHO_T}$PYTHON" >&6
 
21320
  { echo "$as_me:$LINENO: result: $PYTHON" >&5
 
21321
echo "${ECHO_T}$PYTHON" >&6; }
20002
21322
else
20003
 
  echo "$as_me:$LINENO: result: no" >&5
20004
 
echo "${ECHO_T}no" >&6
 
21323
  { echo "$as_me:$LINENO: result: no" >&5
 
21324
echo "${ECHO_T}no" >&6; }
20005
21325
fi
20006
21326
 
 
21327
 
20007
21328
      fi
20008
21329
      am_display_PYTHON=$am_cv_pathless_PYTHON
20009
21330
    fi
20016
21337
  else
20017
21338
 
20018
21339
 
20019
 
  echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
20020
 
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
 
21340
  { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
 
21341
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
20021
21342
if test "${am_cv_python_version+set}" = set; then
20022
21343
  echo $ECHO_N "(cached) $ECHO_C" >&6
20023
21344
else
20024
21345
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
20025
21346
fi
20026
 
echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
20027
 
echo "${ECHO_T}$am_cv_python_version" >&6
 
21347
{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
 
21348
echo "${ECHO_T}$am_cv_python_version" >&6; }
20028
21349
  PYTHON_VERSION=$am_cv_python_version
20029
21350
 
20030
21351
 
20035
21356
 
20036
21357
 
20037
21358
 
20038
 
  echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
20039
 
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
 
21359
  { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
 
21360
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
20040
21361
if test "${am_cv_python_platform+set}" = set; then
20041
21362
  echo $ECHO_N "(cached) $ECHO_C" >&6
20042
21363
else
20043
21364
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
20044
21365
fi
20045
 
echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
20046
 
echo "${ECHO_T}$am_cv_python_platform" >&6
 
21366
{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
 
21367
echo "${ECHO_T}$am_cv_python_platform" >&6; }
20047
21368
  PYTHON_PLATFORM=$am_cv_python_platform
20048
21369
 
20049
21370
 
20050
21371
 
20051
21372
 
20052
 
                echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
20053
 
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
 
21373
                { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
 
21374
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
20054
21375
if test "${am_cv_python_pythondir+set}" = set; then
20055
21376
  echo $ECHO_N "(cached) $ECHO_C" >&6
20056
21377
else
20057
21378
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
20058
21379
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
20059
21380
fi
20060
 
echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
20061
 
echo "${ECHO_T}$am_cv_python_pythondir" >&6
 
21381
{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
 
21382
echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
20062
21383
  pythondir=$am_cv_python_pythondir
20063
21384
 
20064
21385
 
20066
21387
  pkgpythondir=\${pythondir}/$PACKAGE
20067
21388
 
20068
21389
 
20069
 
            echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
20070
 
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
 
21390
            { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
 
21391
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
20071
21392
if test "${am_cv_python_pyexecdir+set}" = set; then
20072
21393
  echo $ECHO_N "(cached) $ECHO_C" >&6
20073
21394
else
20074
21395
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
20075
21396
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
20076
21397
fi
20077
 
echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
20078
 
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
 
21398
{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
 
21399
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
20079
21400
  pyexecdir=$am_cv_python_pyexecdir
20080
21401
 
20081
21402
 
20094
21415
  do
20095
21416
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20096
21417
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20097
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20098
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21418
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21419
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20099
21420
if test "${ac_cv_prog_PYUIC+set}" = set; then
20100
21421
  echo $ECHO_N "(cached) $ECHO_C" >&6
20101
21422
else
20108
21429
  IFS=$as_save_IFS
20109
21430
  test -z "$as_dir" && as_dir=.
20110
21431
  for ac_exec_ext in '' $ac_executable_extensions; do
20111
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21432
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20112
21433
    ac_cv_prog_PYUIC="$ac_tool_prefix$ac_prog"
20113
21434
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20114
21435
    break 2
20115
21436
  fi
20116
21437
done
20117
21438
done
 
21439
IFS=$as_save_IFS
20118
21440
 
20119
21441
fi
20120
21442
fi
20121
21443
PYUIC=$ac_cv_prog_PYUIC
20122
21444
if test -n "$PYUIC"; then
20123
 
  echo "$as_me:$LINENO: result: $PYUIC" >&5
20124
 
echo "${ECHO_T}$PYUIC" >&6
 
21445
  { echo "$as_me:$LINENO: result: $PYUIC" >&5
 
21446
echo "${ECHO_T}$PYUIC" >&6; }
20125
21447
else
20126
 
  echo "$as_me:$LINENO: result: no" >&5
20127
 
echo "${ECHO_T}no" >&6
 
21448
  { echo "$as_me:$LINENO: result: no" >&5
 
21449
echo "${ECHO_T}no" >&6; }
20128
21450
fi
20129
21451
 
 
21452
 
20130
21453
    test -n "$PYUIC" && break
20131
21454
  done
20132
21455
fi
20136
21459
do
20137
21460
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20138
21461
set dummy $ac_prog; ac_word=$2
20139
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20140
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20141
21464
if test "${ac_cv_prog_ac_ct_PYUIC+set}" = set; then
20142
21465
  echo $ECHO_N "(cached) $ECHO_C" >&6
20143
21466
else
20150
21473
  IFS=$as_save_IFS
20151
21474
  test -z "$as_dir" && as_dir=.
20152
21475
  for ac_exec_ext in '' $ac_executable_extensions; do
20153
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20154
21477
    ac_cv_prog_ac_ct_PYUIC="$ac_prog"
20155
21478
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20156
21479
    break 2
20157
21480
  fi
20158
21481
done
20159
21482
done
 
21483
IFS=$as_save_IFS
20160
21484
 
20161
21485
fi
20162
21486
fi
20163
21487
ac_ct_PYUIC=$ac_cv_prog_ac_ct_PYUIC
20164
21488
if test -n "$ac_ct_PYUIC"; then
20165
 
  echo "$as_me:$LINENO: result: $ac_ct_PYUIC" >&5
20166
 
echo "${ECHO_T}$ac_ct_PYUIC" >&6
 
21489
  { echo "$as_me:$LINENO: result: $ac_ct_PYUIC" >&5
 
21490
echo "${ECHO_T}$ac_ct_PYUIC" >&6; }
20167
21491
else
20168
 
  echo "$as_me:$LINENO: result: no" >&5
20169
 
echo "${ECHO_T}no" >&6
 
21492
  { echo "$as_me:$LINENO: result: no" >&5
 
21493
echo "${ECHO_T}no" >&6; }
20170
21494
fi
20171
21495
 
 
21496
 
20172
21497
  test -n "$ac_ct_PYUIC" && break
20173
21498
done
20174
21499
 
20175
 
  PYUIC=$ac_ct_PYUIC
 
21500
  if test "x$ac_ct_PYUIC" = x; then
 
21501
    PYUIC=""
 
21502
  else
 
21503
    case $cross_compiling:$ac_tool_warned in
 
21504
yes:)
 
21505
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
21506
whose name does not start with the host triplet.  If you think this
 
21507
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
21508
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
21509
whose name does not start with the host triplet.  If you think this
 
21510
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
21511
ac_tool_warned=yes ;;
 
21512
esac
 
21513
    PYUIC=$ac_ct_PYUIC
 
21514
  fi
20176
21515
fi
20177
21516
 
20178
21517
 
20180
21519
if test -n "$ac_tool_prefix"; then
20181
21520
  # Extract the first word of "${ac_tool_prefix}chkconfig", so it can be a program name with args.
20182
21521
set dummy ${ac_tool_prefix}chkconfig; ac_word=$2
20183
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20184
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21522
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21523
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20185
21524
if test "${ac_cv_path_CHKCONFIG+set}" = set; then
20186
21525
  echo $ECHO_N "(cached) $ECHO_C" >&6
20187
21526
else
20197
21536
  IFS=$as_save_IFS
20198
21537
  test -z "$as_dir" && as_dir=.
20199
21538
  for ac_exec_ext in '' $ac_executable_extensions; do
20200
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20201
21540
    ac_cv_path_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
20202
21541
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20203
21542
    break 2
20204
21543
  fi
20205
21544
done
20206
21545
done
 
21546
IFS=$as_save_IFS
20207
21547
 
20208
21548
  ;;
20209
21549
esac
20210
21550
fi
20211
21551
CHKCONFIG=$ac_cv_path_CHKCONFIG
20212
 
 
20213
21552
if test -n "$CHKCONFIG"; then
20214
 
  echo "$as_me:$LINENO: result: $CHKCONFIG" >&5
20215
 
echo "${ECHO_T}$CHKCONFIG" >&6
 
21553
  { echo "$as_me:$LINENO: result: $CHKCONFIG" >&5
 
21554
echo "${ECHO_T}$CHKCONFIG" >&6; }
20216
21555
else
20217
 
  echo "$as_me:$LINENO: result: no" >&5
20218
 
echo "${ECHO_T}no" >&6
 
21556
  { echo "$as_me:$LINENO: result: no" >&5
 
21557
echo "${ECHO_T}no" >&6; }
20219
21558
fi
 
21559
 
20220
21560
 
20221
21561
fi
20222
21562
if test -z "$ac_cv_path_CHKCONFIG"; then
20223
21563
  ac_pt_CHKCONFIG=$CHKCONFIG
20224
21564
  # Extract the first word of "chkconfig", so it can be a program name with args.
20225
21565
set dummy chkconfig; ac_word=$2
20226
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20227
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21566
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21567
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20228
21568
if test "${ac_cv_path_ac_pt_CHKCONFIG+set}" = set; then
20229
21569
  echo $ECHO_N "(cached) $ECHO_C" >&6
20230
21570
else
20240
21580
  IFS=$as_save_IFS
20241
21581
  test -z "$as_dir" && as_dir=.
20242
21582
  for ac_exec_ext in '' $ac_executable_extensions; do
20243
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21583
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20244
21584
    ac_cv_path_ac_pt_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
20245
21585
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20246
21586
    break 2
20247
21587
  fi
20248
21588
done
20249
21589
done
 
21590
IFS=$as_save_IFS
20250
21591
 
20251
21592
  ;;
20252
21593
esac
20253
21594
fi
20254
21595
ac_pt_CHKCONFIG=$ac_cv_path_ac_pt_CHKCONFIG
20255
 
 
20256
21596
if test -n "$ac_pt_CHKCONFIG"; then
20257
 
  echo "$as_me:$LINENO: result: $ac_pt_CHKCONFIG" >&5
20258
 
echo "${ECHO_T}$ac_pt_CHKCONFIG" >&6
 
21597
  { echo "$as_me:$LINENO: result: $ac_pt_CHKCONFIG" >&5
 
21598
echo "${ECHO_T}$ac_pt_CHKCONFIG" >&6; }
20259
21599
else
20260
 
  echo "$as_me:$LINENO: result: no" >&5
20261
 
echo "${ECHO_T}no" >&6
 
21600
  { echo "$as_me:$LINENO: result: no" >&5
 
21601
echo "${ECHO_T}no" >&6; }
20262
21602
fi
20263
21603
 
20264
 
  CHKCONFIG=$ac_pt_CHKCONFIG
 
21604
  if test "x$ac_pt_CHKCONFIG" = x; then
 
21605
    CHKCONFIG=""
 
21606
  else
 
21607
    case $cross_compiling:$ac_tool_warned in
 
21608
yes:)
 
21609
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
21610
whose name does not start with the host triplet.  If you think this
 
21611
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
21612
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
21613
whose name does not start with the host triplet.  If you think this
 
21614
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
21615
ac_tool_warned=yes ;;
 
21616
esac
 
21617
    CHKCONFIG=$ac_pt_CHKCONFIG
 
21618
  fi
20265
21619
else
20266
21620
  CHKCONFIG="$ac_cv_path_CHKCONFIG"
20267
21621
fi
20271
21625
if test -n "$ac_tool_prefix"; then
20272
21626
  # Extract the first word of "${ac_tool_prefix}install_initd", so it can be a program name with args.
20273
21627
set dummy ${ac_tool_prefix}install_initd; ac_word=$2
20274
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20275
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21628
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21629
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20276
21630
if test "${ac_cv_path_INSTALLINITD+set}" = set; then
20277
21631
  echo $ECHO_N "(cached) $ECHO_C" >&6
20278
21632
else
20288
21642
  IFS=$as_save_IFS
20289
21643
  test -z "$as_dir" && as_dir=.
20290
21644
  for ac_exec_ext in '' $ac_executable_extensions; do
20291
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21645
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20292
21646
    ac_cv_path_INSTALLINITD="$as_dir/$ac_word$ac_exec_ext"
20293
21647
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20294
21648
    break 2
20295
21649
  fi
20296
21650
done
20297
21651
done
 
21652
IFS=$as_save_IFS
20298
21653
 
20299
21654
  ;;
20300
21655
esac
20301
21656
fi
20302
21657
INSTALLINITD=$ac_cv_path_INSTALLINITD
20303
 
 
20304
21658
if test -n "$INSTALLINITD"; then
20305
 
  echo "$as_me:$LINENO: result: $INSTALLINITD" >&5
20306
 
echo "${ECHO_T}$INSTALLINITD" >&6
 
21659
  { echo "$as_me:$LINENO: result: $INSTALLINITD" >&5
 
21660
echo "${ECHO_T}$INSTALLINITD" >&6; }
20307
21661
else
20308
 
  echo "$as_me:$LINENO: result: no" >&5
20309
 
echo "${ECHO_T}no" >&6
 
21662
  { echo "$as_me:$LINENO: result: no" >&5
 
21663
echo "${ECHO_T}no" >&6; }
20310
21664
fi
 
21665
 
20311
21666
 
20312
21667
fi
20313
21668
if test -z "$ac_cv_path_INSTALLINITD"; then
20314
21669
  ac_pt_INSTALLINITD=$INSTALLINITD
20315
21670
  # Extract the first word of "install_initd", so it can be a program name with args.
20316
21671
set dummy install_initd; ac_word=$2
20317
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20318
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21672
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21673
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20319
21674
if test "${ac_cv_path_ac_pt_INSTALLINITD+set}" = set; then
20320
21675
  echo $ECHO_N "(cached) $ECHO_C" >&6
20321
21676
else
20331
21686
  IFS=$as_save_IFS
20332
21687
  test -z "$as_dir" && as_dir=.
20333
21688
  for ac_exec_ext in '' $ac_executable_extensions; do
20334
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21689
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20335
21690
    ac_cv_path_ac_pt_INSTALLINITD="$as_dir/$ac_word$ac_exec_ext"
20336
21691
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20337
21692
    break 2
20338
21693
  fi
20339
21694
done
20340
21695
done
 
21696
IFS=$as_save_IFS
20341
21697
 
20342
21698
  ;;
20343
21699
esac
20344
21700
fi
20345
21701
ac_pt_INSTALLINITD=$ac_cv_path_ac_pt_INSTALLINITD
20346
 
 
20347
21702
if test -n "$ac_pt_INSTALLINITD"; then
20348
 
  echo "$as_me:$LINENO: result: $ac_pt_INSTALLINITD" >&5
20349
 
echo "${ECHO_T}$ac_pt_INSTALLINITD" >&6
 
21703
  { echo "$as_me:$LINENO: result: $ac_pt_INSTALLINITD" >&5
 
21704
echo "${ECHO_T}$ac_pt_INSTALLINITD" >&6; }
20350
21705
else
20351
 
  echo "$as_me:$LINENO: result: no" >&5
20352
 
echo "${ECHO_T}no" >&6
 
21706
  { echo "$as_me:$LINENO: result: no" >&5
 
21707
echo "${ECHO_T}no" >&6; }
20353
21708
fi
20354
21709
 
20355
 
  INSTALLINITD=$ac_pt_INSTALLINITD
 
21710
  if test "x$ac_pt_INSTALLINITD" = x; then
 
21711
    INSTALLINITD=""
 
21712
  else
 
21713
    case $cross_compiling:$ac_tool_warned in
 
21714
yes:)
 
21715
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
21716
whose name does not start with the host triplet.  If you think this
 
21717
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
21718
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
21719
whose name does not start with the host triplet.  If you think this
 
21720
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
21721
ac_tool_warned=yes ;;
 
21722
esac
 
21723
    INSTALLINITD=$ac_pt_INSTALLINITD
 
21724
  fi
20356
21725
else
20357
21726
  INSTALLINITD="$ac_cv_path_INSTALLINITD"
20358
21727
fi
20366
21735
#
20367
21736
 
20368
21737
# For Solaris
20369
 
echo "$as_me:$LINENO: checking for gethostent" >&5
20370
 
echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
 
21738
{ echo "$as_me:$LINENO: checking for gethostent" >&5
 
21739
echo $ECHO_N "checking for gethostent... $ECHO_C" >&6; }
20371
21740
if test "${ac_cv_func_gethostent+set}" = set; then
20372
21741
  echo $ECHO_N "(cached) $ECHO_C" >&6
20373
21742
else
20394
21763
 
20395
21764
#undef gethostent
20396
21765
 
20397
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21766
/* Override any GCC internal prototype to avoid an error.
 
21767
   Use char because int might match the return type of a GCC
 
21768
   builtin and then its argument prototype would still apply.  */
20398
21769
#ifdef __cplusplus
20399
21770
extern "C"
20400
 
{
20401
21771
#endif
20402
 
/* We use char because int might match the return type of a gcc2
20403
 
   builtin and then its argument prototype would still apply.  */
20404
21772
char gethostent ();
20405
21773
/* The GNU C library defines this for functions which it implements
20406
21774
    to always fail with ENOSYS.  Some functions are actually named
20407
21775
    something starting with __ and the normal name is an alias.  */
20408
 
#if defined (__stub_gethostent) || defined (__stub___gethostent)
 
21776
#if defined __stub_gethostent || defined __stub___gethostent
20409
21777
choke me
20410
 
#else
20411
 
char (*f) () = gethostent;
20412
 
#endif
20413
 
#ifdef __cplusplus
20414
 
}
20415
21778
#endif
20416
21779
 
20417
21780
int
20418
21781
main ()
20419
21782
{
20420
 
return f != gethostent;
 
21783
return gethostent ();
20421
21784
  ;
20422
21785
  return 0;
20423
21786
}
20424
21787
_ACEOF
20425
21788
rm -f conftest.$ac_objext conftest$ac_exeext
20426
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427
 
  (eval $ac_link) 2>conftest.er1
 
21789
if { (ac_try="$ac_link"
 
21790
case "(($ac_try" in
 
21791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21792
  *) ac_try_echo=$ac_try;;
 
21793
esac
 
21794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21795
  (eval "$ac_link") 2>conftest.er1
20428
21796
  ac_status=$?
20429
21797
  grep -v '^ *+' conftest.er1 >conftest.err
20430
21798
  rm -f conftest.er1
20431
21799
  cat conftest.err >&5
20432
21800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433
21801
  (exit $ac_status); } &&
20434
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436
 
  (eval $ac_try) 2>&5
 
21802
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21803
  { (case "(($ac_try" in
 
21804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21805
  *) ac_try_echo=$ac_try;;
 
21806
esac
 
21807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21808
  (eval "$ac_try") 2>&5
20437
21809
  ac_status=$?
20438
21810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439
21811
  (exit $ac_status); }; } &&
20440
21812
         { ac_try='test -s conftest$ac_exeext'
20441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442
 
  (eval $ac_try) 2>&5
 
21813
  { (case "(($ac_try" in
 
21814
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21815
  *) ac_try_echo=$ac_try;;
 
21816
esac
 
21817
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21818
  (eval "$ac_try") 2>&5
20443
21819
  ac_status=$?
20444
21820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445
21821
  (exit $ac_status); }; }; then
20448
21824
  echo "$as_me: failed program was:" >&5
20449
21825
sed 's/^/| /' conftest.$ac_ext >&5
20450
21826
 
20451
 
ac_cv_func_gethostent=no
 
21827
        ac_cv_func_gethostent=no
20452
21828
fi
20453
 
rm -f conftest.err conftest.$ac_objext \
 
21829
 
 
21830
rm -f core conftest.err conftest.$ac_objext \
20454
21831
      conftest$ac_exeext conftest.$ac_ext
20455
21832
fi
20456
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
20457
 
echo "${ECHO_T}$ac_cv_func_gethostent" >&6
 
21833
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
 
21834
echo "${ECHO_T}$ac_cv_func_gethostent" >&6; }
20458
21835
if test $ac_cv_func_gethostent = yes; then
20459
21836
  :
20460
21837
else
20461
21838
 
20462
 
echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
20463
 
echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
 
21839
{ echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
 
21840
echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6; }
20464
21841
if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
20465
21842
  echo $ECHO_N "(cached) $ECHO_C" >&6
20466
21843
else
20473
21850
cat >>conftest.$ac_ext <<_ACEOF
20474
21851
/* end confdefs.h.  */
20475
21852
 
20476
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21853
/* Override any GCC internal prototype to avoid an error.
 
21854
   Use char because int might match the return type of a GCC
 
21855
   builtin and then its argument prototype would still apply.  */
20477
21856
#ifdef __cplusplus
20478
21857
extern "C"
20479
21858
#endif
20480
 
/* We use char because int might match the return type of a gcc2
20481
 
   builtin and then its argument prototype would still apply.  */
20482
21859
char gethostent ();
20483
21860
int
20484
21861
main ()
20485
21862
{
20486
 
gethostent ();
 
21863
return gethostent ();
20487
21864
  ;
20488
21865
  return 0;
20489
21866
}
20490
21867
_ACEOF
20491
21868
rm -f conftest.$ac_objext conftest$ac_exeext
20492
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20493
 
  (eval $ac_link) 2>conftest.er1
 
21869
if { (ac_try="$ac_link"
 
21870
case "(($ac_try" in
 
21871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21872
  *) ac_try_echo=$ac_try;;
 
21873
esac
 
21874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21875
  (eval "$ac_link") 2>conftest.er1
20494
21876
  ac_status=$?
20495
21877
  grep -v '^ *+' conftest.er1 >conftest.err
20496
21878
  rm -f conftest.er1
20497
21879
  cat conftest.err >&5
20498
21880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499
21881
  (exit $ac_status); } &&
20500
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20501
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502
 
  (eval $ac_try) 2>&5
 
21882
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21883
  { (case "(($ac_try" in
 
21884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21885
  *) ac_try_echo=$ac_try;;
 
21886
esac
 
21887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21888
  (eval "$ac_try") 2>&5
20503
21889
  ac_status=$?
20504
21890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505
21891
  (exit $ac_status); }; } &&
20506
21892
         { ac_try='test -s conftest$ac_exeext'
20507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508
 
  (eval $ac_try) 2>&5
 
21893
  { (case "(($ac_try" in
 
21894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21895
  *) ac_try_echo=$ac_try;;
 
21896
esac
 
21897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21898
  (eval "$ac_try") 2>&5
20509
21899
  ac_status=$?
20510
21900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511
21901
  (exit $ac_status); }; }; then
20514
21904
  echo "$as_me: failed program was:" >&5
20515
21905
sed 's/^/| /' conftest.$ac_ext >&5
20516
21906
 
20517
 
ac_cv_lib_nsl_gethostent=no
 
21907
        ac_cv_lib_nsl_gethostent=no
20518
21908
fi
20519
 
rm -f conftest.err conftest.$ac_objext \
 
21909
 
 
21910
rm -f core conftest.err conftest.$ac_objext \
20520
21911
      conftest$ac_exeext conftest.$ac_ext
20521
21912
LIBS=$ac_check_lib_save_LIBS
20522
21913
fi
20523
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
20524
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
 
21914
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
 
21915
echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6; }
20525
21916
if test $ac_cv_lib_nsl_gethostent = yes; then
20526
21917
  cat >>confdefs.h <<_ACEOF
20527
21918
#define HAVE_LIBNSL 1
20539
21930
 
20540
21931
fi
20541
21932
 
20542
 
echo "$as_me:$LINENO: checking for setsockopt" >&5
20543
 
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
 
21933
{ echo "$as_me:$LINENO: checking for setsockopt" >&5
 
21934
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; }
20544
21935
if test "${ac_cv_func_setsockopt+set}" = set; then
20545
21936
  echo $ECHO_N "(cached) $ECHO_C" >&6
20546
21937
else
20567
21958
 
20568
21959
#undef setsockopt
20569
21960
 
20570
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21961
/* Override any GCC internal prototype to avoid an error.
 
21962
   Use char because int might match the return type of a GCC
 
21963
   builtin and then its argument prototype would still apply.  */
20571
21964
#ifdef __cplusplus
20572
21965
extern "C"
20573
 
{
20574
21966
#endif
20575
 
/* We use char because int might match the return type of a gcc2
20576
 
   builtin and then its argument prototype would still apply.  */
20577
21967
char setsockopt ();
20578
21968
/* The GNU C library defines this for functions which it implements
20579
21969
    to always fail with ENOSYS.  Some functions are actually named
20580
21970
    something starting with __ and the normal name is an alias.  */
20581
 
#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
 
21971
#if defined __stub_setsockopt || defined __stub___setsockopt
20582
21972
choke me
20583
 
#else
20584
 
char (*f) () = setsockopt;
20585
 
#endif
20586
 
#ifdef __cplusplus
20587
 
}
20588
21973
#endif
20589
21974
 
20590
21975
int
20591
21976
main ()
20592
21977
{
20593
 
return f != setsockopt;
 
21978
return setsockopt ();
20594
21979
  ;
20595
21980
  return 0;
20596
21981
}
20597
21982
_ACEOF
20598
21983
rm -f conftest.$ac_objext conftest$ac_exeext
20599
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20600
 
  (eval $ac_link) 2>conftest.er1
 
21984
if { (ac_try="$ac_link"
 
21985
case "(($ac_try" in
 
21986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21987
  *) ac_try_echo=$ac_try;;
 
21988
esac
 
21989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21990
  (eval "$ac_link") 2>conftest.er1
20601
21991
  ac_status=$?
20602
21992
  grep -v '^ *+' conftest.er1 >conftest.err
20603
21993
  rm -f conftest.er1
20604
21994
  cat conftest.err >&5
20605
21995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606
21996
  (exit $ac_status); } &&
20607
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609
 
  (eval $ac_try) 2>&5
 
21997
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21998
  { (case "(($ac_try" in
 
21999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22000
  *) ac_try_echo=$ac_try;;
 
22001
esac
 
22002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22003
  (eval "$ac_try") 2>&5
20610
22004
  ac_status=$?
20611
22005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612
22006
  (exit $ac_status); }; } &&
20613
22007
         { ac_try='test -s conftest$ac_exeext'
20614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615
 
  (eval $ac_try) 2>&5
 
22008
  { (case "(($ac_try" in
 
22009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22010
  *) ac_try_echo=$ac_try;;
 
22011
esac
 
22012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22013
  (eval "$ac_try") 2>&5
20616
22014
  ac_status=$?
20617
22015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618
22016
  (exit $ac_status); }; }; then
20621
22019
  echo "$as_me: failed program was:" >&5
20622
22020
sed 's/^/| /' conftest.$ac_ext >&5
20623
22021
 
20624
 
ac_cv_func_setsockopt=no
 
22022
        ac_cv_func_setsockopt=no
20625
22023
fi
20626
 
rm -f conftest.err conftest.$ac_objext \
 
22024
 
 
22025
rm -f core conftest.err conftest.$ac_objext \
20627
22026
      conftest$ac_exeext conftest.$ac_ext
20628
22027
fi
20629
 
echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
20630
 
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
 
22028
{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
 
22029
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; }
20631
22030
if test $ac_cv_func_setsockopt = yes; then
20632
22031
  :
20633
22032
else
20634
22033
 
20635
 
echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
20636
 
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
 
22034
{ echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
 
22035
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
20637
22036
if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
20638
22037
  echo $ECHO_N "(cached) $ECHO_C" >&6
20639
22038
else
20646
22045
cat >>conftest.$ac_ext <<_ACEOF
20647
22046
/* end confdefs.h.  */
20648
22047
 
20649
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22048
/* Override any GCC internal prototype to avoid an error.
 
22049
   Use char because int might match the return type of a GCC
 
22050
   builtin and then its argument prototype would still apply.  */
20650
22051
#ifdef __cplusplus
20651
22052
extern "C"
20652
22053
#endif
20653
 
/* We use char because int might match the return type of a gcc2
20654
 
   builtin and then its argument prototype would still apply.  */
20655
22054
char setsockopt ();
20656
22055
int
20657
22056
main ()
20658
22057
{
20659
 
setsockopt ();
 
22058
return setsockopt ();
20660
22059
  ;
20661
22060
  return 0;
20662
22061
}
20663
22062
_ACEOF
20664
22063
rm -f conftest.$ac_objext conftest$ac_exeext
20665
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20666
 
  (eval $ac_link) 2>conftest.er1
 
22064
if { (ac_try="$ac_link"
 
22065
case "(($ac_try" in
 
22066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22067
  *) ac_try_echo=$ac_try;;
 
22068
esac
 
22069
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22070
  (eval "$ac_link") 2>conftest.er1
20667
22071
  ac_status=$?
20668
22072
  grep -v '^ *+' conftest.er1 >conftest.err
20669
22073
  rm -f conftest.er1
20670
22074
  cat conftest.err >&5
20671
22075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672
22076
  (exit $ac_status); } &&
20673
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675
 
  (eval $ac_try) 2>&5
 
22077
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22078
  { (case "(($ac_try" in
 
22079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22080
  *) ac_try_echo=$ac_try;;
 
22081
esac
 
22082
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22083
  (eval "$ac_try") 2>&5
20676
22084
  ac_status=$?
20677
22085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678
22086
  (exit $ac_status); }; } &&
20679
22087
         { ac_try='test -s conftest$ac_exeext'
20680
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681
 
  (eval $ac_try) 2>&5
 
22088
  { (case "(($ac_try" in
 
22089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22090
  *) ac_try_echo=$ac_try;;
 
22091
esac
 
22092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22093
  (eval "$ac_try") 2>&5
20682
22094
  ac_status=$?
20683
22095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684
22096
  (exit $ac_status); }; }; then
20687
22099
  echo "$as_me: failed program was:" >&5
20688
22100
sed 's/^/| /' conftest.$ac_ext >&5
20689
22101
 
20690
 
ac_cv_lib_socket_setsockopt=no
 
22102
        ac_cv_lib_socket_setsockopt=no
20691
22103
fi
20692
 
rm -f conftest.err conftest.$ac_objext \
 
22104
 
 
22105
rm -f core conftest.err conftest.$ac_objext \
20693
22106
      conftest$ac_exeext conftest.$ac_ext
20694
22107
LIBS=$ac_check_lib_save_LIBS
20695
22108
fi
20696
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
20697
 
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
 
22109
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
 
22110
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
20698
22111
if test $ac_cv_lib_socket_setsockopt = yes; then
20699
22112
  cat >>confdefs.h <<_ACEOF
20700
22113
#define HAVE_LIBSOCKET 1
20715
22128
 
20716
22129
# Pthread
20717
22130
 
20718
 
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20719
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
 
22131
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
22132
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20720
22133
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20721
22134
  echo $ECHO_N "(cached) $ECHO_C" >&6
20722
22135
else
20729
22142
cat >>conftest.$ac_ext <<_ACEOF
20730
22143
/* end confdefs.h.  */
20731
22144
 
20732
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22145
/* Override any GCC internal prototype to avoid an error.
 
22146
   Use char because int might match the return type of a GCC
 
22147
   builtin and then its argument prototype would still apply.  */
20733
22148
#ifdef __cplusplus
20734
22149
extern "C"
20735
22150
#endif
20736
 
/* We use char because int might match the return type of a gcc2
20737
 
   builtin and then its argument prototype would still apply.  */
20738
22151
char pthread_create ();
20739
22152
int
20740
22153
main ()
20741
22154
{
20742
 
pthread_create ();
 
22155
return pthread_create ();
20743
22156
  ;
20744
22157
  return 0;
20745
22158
}
20746
22159
_ACEOF
20747
22160
rm -f conftest.$ac_objext conftest$ac_exeext
20748
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20749
 
  (eval $ac_link) 2>conftest.er1
 
22161
if { (ac_try="$ac_link"
 
22162
case "(($ac_try" in
 
22163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22164
  *) ac_try_echo=$ac_try;;
 
22165
esac
 
22166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22167
  (eval "$ac_link") 2>conftest.er1
20750
22168
  ac_status=$?
20751
22169
  grep -v '^ *+' conftest.er1 >conftest.err
20752
22170
  rm -f conftest.er1
20753
22171
  cat conftest.err >&5
20754
22172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755
22173
  (exit $ac_status); } &&
20756
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20757
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758
 
  (eval $ac_try) 2>&5
 
22174
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22175
  { (case "(($ac_try" in
 
22176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22177
  *) ac_try_echo=$ac_try;;
 
22178
esac
 
22179
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22180
  (eval "$ac_try") 2>&5
20759
22181
  ac_status=$?
20760
22182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761
22183
  (exit $ac_status); }; } &&
20762
22184
         { ac_try='test -s conftest$ac_exeext'
20763
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764
 
  (eval $ac_try) 2>&5
 
22185
  { (case "(($ac_try" in
 
22186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22187
  *) ac_try_echo=$ac_try;;
 
22188
esac
 
22189
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22190
  (eval "$ac_try") 2>&5
20765
22191
  ac_status=$?
20766
22192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767
22193
  (exit $ac_status); }; }; then
20770
22196
  echo "$as_me: failed program was:" >&5
20771
22197
sed 's/^/| /' conftest.$ac_ext >&5
20772
22198
 
20773
 
ac_cv_lib_pthread_pthread_create=no
 
22199
        ac_cv_lib_pthread_pthread_create=no
20774
22200
fi
20775
 
rm -f conftest.err conftest.$ac_objext \
 
22201
 
 
22202
rm -f core conftest.err conftest.$ac_objext \
20776
22203
      conftest$ac_exeext conftest.$ac_ext
20777
22204
LIBS=$ac_check_lib_save_LIBS
20778
22205
fi
20779
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20780
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
 
22206
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 
22207
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20781
22208
if test $ac_cv_lib_pthread_pthread_create = yes; then
20782
22209
  cat >>confdefs.h <<_ACEOF
20783
22210
#define HAVE_LIBPTHREAD 1
20794
22221
 
20795
22222
 
20796
22223
# Netsnmp
20797
 
echo "$as_me:$LINENO: checking for snmp_timeout in -lnetsnmp" >&5
20798
 
echo $ECHO_N "checking for snmp_timeout in -lnetsnmp... $ECHO_C" >&6
 
22224
{ echo "$as_me:$LINENO: checking for snmp_timeout in -lnetsnmp" >&5
 
22225
echo $ECHO_N "checking for snmp_timeout in -lnetsnmp... $ECHO_C" >&6; }
20799
22226
if test "${ac_cv_lib_netsnmp_snmp_timeout+set}" = set; then
20800
22227
  echo $ECHO_N "(cached) $ECHO_C" >&6
20801
22228
else
20808
22235
cat >>conftest.$ac_ext <<_ACEOF
20809
22236
/* end confdefs.h.  */
20810
22237
 
20811
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22238
/* Override any GCC internal prototype to avoid an error.
 
22239
   Use char because int might match the return type of a GCC
 
22240
   builtin and then its argument prototype would still apply.  */
20812
22241
#ifdef __cplusplus
20813
22242
extern "C"
20814
22243
#endif
20815
 
/* We use char because int might match the return type of a gcc2
20816
 
   builtin and then its argument prototype would still apply.  */
20817
22244
char snmp_timeout ();
20818
22245
int
20819
22246
main ()
20820
22247
{
20821
 
snmp_timeout ();
 
22248
return snmp_timeout ();
20822
22249
  ;
20823
22250
  return 0;
20824
22251
}
20825
22252
_ACEOF
20826
22253
rm -f conftest.$ac_objext conftest$ac_exeext
20827
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20828
 
  (eval $ac_link) 2>conftest.er1
 
22254
if { (ac_try="$ac_link"
 
22255
case "(($ac_try" in
 
22256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22257
  *) ac_try_echo=$ac_try;;
 
22258
esac
 
22259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22260
  (eval "$ac_link") 2>conftest.er1
20829
22261
  ac_status=$?
20830
22262
  grep -v '^ *+' conftest.er1 >conftest.err
20831
22263
  rm -f conftest.er1
20832
22264
  cat conftest.err >&5
20833
22265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834
22266
  (exit $ac_status); } &&
20835
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20837
 
  (eval $ac_try) 2>&5
 
22267
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22268
  { (case "(($ac_try" in
 
22269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22270
  *) ac_try_echo=$ac_try;;
 
22271
esac
 
22272
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22273
  (eval "$ac_try") 2>&5
20838
22274
  ac_status=$?
20839
22275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840
22276
  (exit $ac_status); }; } &&
20841
22277
         { ac_try='test -s conftest$ac_exeext'
20842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843
 
  (eval $ac_try) 2>&5
 
22278
  { (case "(($ac_try" in
 
22279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22280
  *) ac_try_echo=$ac_try;;
 
22281
esac
 
22282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22283
  (eval "$ac_try") 2>&5
20844
22284
  ac_status=$?
20845
22285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846
22286
  (exit $ac_status); }; }; then
20849
22289
  echo "$as_me: failed program was:" >&5
20850
22290
sed 's/^/| /' conftest.$ac_ext >&5
20851
22291
 
20852
 
ac_cv_lib_netsnmp_snmp_timeout=no
 
22292
        ac_cv_lib_netsnmp_snmp_timeout=no
20853
22293
fi
20854
 
rm -f conftest.err conftest.$ac_objext \
 
22294
 
 
22295
rm -f core conftest.err conftest.$ac_objext \
20855
22296
      conftest$ac_exeext conftest.$ac_ext
20856
22297
LIBS=$ac_check_lib_save_LIBS
20857
22298
fi
20858
 
echo "$as_me:$LINENO: result: $ac_cv_lib_netsnmp_snmp_timeout" >&5
20859
 
echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_timeout" >&6
 
22299
{ echo "$as_me:$LINENO: result: $ac_cv_lib_netsnmp_snmp_timeout" >&5
 
22300
echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_timeout" >&6; }
20860
22301
if test $ac_cv_lib_netsnmp_snmp_timeout = yes; then
20861
22302
  libsnmp=yes
20862
22303
else
20864
22305
fi
20865
22306
 
20866
22307
 
20867
 
echo "$as_me:$LINENO: checking for usb_init in -lusb" >&5
20868
 
echo $ECHO_N "checking for usb_init in -lusb... $ECHO_C" >&6
 
22308
{ echo "$as_me:$LINENO: checking for usb_init in -lusb" >&5
 
22309
echo $ECHO_N "checking for usb_init in -lusb... $ECHO_C" >&6; }
20869
22310
if test "${ac_cv_lib_usb_usb_init+set}" = set; then
20870
22311
  echo $ECHO_N "(cached) $ECHO_C" >&6
20871
22312
else
20878
22319
cat >>conftest.$ac_ext <<_ACEOF
20879
22320
/* end confdefs.h.  */
20880
22321
 
20881
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22322
/* Override any GCC internal prototype to avoid an error.
 
22323
   Use char because int might match the return type of a GCC
 
22324
   builtin and then its argument prototype would still apply.  */
20882
22325
#ifdef __cplusplus
20883
22326
extern "C"
20884
22327
#endif
20885
 
/* We use char because int might match the return type of a gcc2
20886
 
   builtin and then its argument prototype would still apply.  */
20887
22328
char usb_init ();
20888
22329
int
20889
22330
main ()
20890
22331
{
20891
 
usb_init ();
 
22332
return usb_init ();
20892
22333
  ;
20893
22334
  return 0;
20894
22335
}
20895
22336
_ACEOF
20896
22337
rm -f conftest.$ac_objext conftest$ac_exeext
20897
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20898
 
  (eval $ac_link) 2>conftest.er1
 
22338
if { (ac_try="$ac_link"
 
22339
case "(($ac_try" in
 
22340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22341
  *) ac_try_echo=$ac_try;;
 
22342
esac
 
22343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22344
  (eval "$ac_link") 2>conftest.er1
20899
22345
  ac_status=$?
20900
22346
  grep -v '^ *+' conftest.er1 >conftest.err
20901
22347
  rm -f conftest.er1
20902
22348
  cat conftest.err >&5
20903
22349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904
22350
  (exit $ac_status); } &&
20905
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907
 
  (eval $ac_try) 2>&5
 
22351
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22352
  { (case "(($ac_try" in
 
22353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22354
  *) ac_try_echo=$ac_try;;
 
22355
esac
 
22356
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22357
  (eval "$ac_try") 2>&5
20908
22358
  ac_status=$?
20909
22359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910
22360
  (exit $ac_status); }; } &&
20911
22361
         { ac_try='test -s conftest$ac_exeext'
20912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913
 
  (eval $ac_try) 2>&5
 
22362
  { (case "(($ac_try" in
 
22363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22364
  *) ac_try_echo=$ac_try;;
 
22365
esac
 
22366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22367
  (eval "$ac_try") 2>&5
20914
22368
  ac_status=$?
20915
22369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916
22370
  (exit $ac_status); }; }; then
20919
22373
  echo "$as_me: failed program was:" >&5
20920
22374
sed 's/^/| /' conftest.$ac_ext >&5
20921
22375
 
20922
 
ac_cv_lib_usb_usb_init=no
 
22376
        ac_cv_lib_usb_usb_init=no
20923
22377
fi
20924
 
rm -f conftest.err conftest.$ac_objext \
 
22378
 
 
22379
rm -f core conftest.err conftest.$ac_objext \
20925
22380
      conftest$ac_exeext conftest.$ac_ext
20926
22381
LIBS=$ac_check_lib_save_LIBS
20927
22382
fi
20928
 
echo "$as_me:$LINENO: result: $ac_cv_lib_usb_usb_init" >&5
20929
 
echo "${ECHO_T}$ac_cv_lib_usb_usb_init" >&6
 
22383
{ echo "$as_me:$LINENO: result: $ac_cv_lib_usb_usb_init" >&5
 
22384
echo "${ECHO_T}$ac_cv_lib_usb_usb_init" >&6; }
20930
22385
if test $ac_cv_lib_usb_usb_init = yes; then
20931
22386
  cat >>confdefs.h <<_ACEOF
20932
22387
#define HAVE_LIBUSB 1
20942
22397
 
20943
22398
 
20944
22399
# Checks for header files.
20945
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20946
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
22400
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
22401
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20947
22402
if test "${ac_cv_header_stdc+set}" = set; then
20948
22403
  echo $ECHO_N "(cached) $ECHO_C" >&6
20949
22404
else
20967
22422
}
20968
22423
_ACEOF
20969
22424
rm -f conftest.$ac_objext
20970
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20971
 
  (eval $ac_compile) 2>conftest.er1
 
22425
if { (ac_try="$ac_compile"
 
22426
case "(($ac_try" in
 
22427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22428
  *) ac_try_echo=$ac_try;;
 
22429
esac
 
22430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22431
  (eval "$ac_compile") 2>conftest.er1
20972
22432
  ac_status=$?
20973
22433
  grep -v '^ *+' conftest.er1 >conftest.err
20974
22434
  rm -f conftest.er1
20975
22435
  cat conftest.err >&5
20976
22436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977
22437
  (exit $ac_status); } &&
20978
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980
 
  (eval $ac_try) 2>&5
 
22438
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22439
  { (case "(($ac_try" in
 
22440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22441
  *) ac_try_echo=$ac_try;;
 
22442
esac
 
22443
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22444
  (eval "$ac_try") 2>&5
20981
22445
  ac_status=$?
20982
22446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983
22447
  (exit $ac_status); }; } &&
20984
22448
         { ac_try='test -s conftest.$ac_objext'
20985
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986
 
  (eval $ac_try) 2>&5
 
22449
  { (case "(($ac_try" in
 
22450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22451
  *) ac_try_echo=$ac_try;;
 
22452
esac
 
22453
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22454
  (eval "$ac_try") 2>&5
20987
22455
  ac_status=$?
20988
22456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989
22457
  (exit $ac_status); }; }; then
20992
22460
  echo "$as_me: failed program was:" >&5
20993
22461
sed 's/^/| /' conftest.$ac_ext >&5
20994
22462
 
20995
 
ac_cv_header_stdc=no
 
22463
        ac_cv_header_stdc=no
20996
22464
fi
20997
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22465
 
 
22466
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998
22467
 
20999
22468
if test $ac_cv_header_stdc = yes; then
21000
22469
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21050
22519
cat >>conftest.$ac_ext <<_ACEOF
21051
22520
/* end confdefs.h.  */
21052
22521
#include <ctype.h>
 
22522
#include <stdlib.h>
21053
22523
#if ((' ' & 0x0FF) == 0x020)
21054
22524
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21055
22525
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21069
22539
  for (i = 0; i < 256; i++)
21070
22540
    if (XOR (islower (i), ISLOWER (i))
21071
22541
        || toupper (i) != TOUPPER (i))
21072
 
      exit(2);
21073
 
  exit (0);
 
22542
      return 2;
 
22543
  return 0;
21074
22544
}
21075
22545
_ACEOF
21076
22546
rm -f conftest$ac_exeext
21077
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21078
 
  (eval $ac_link) 2>&5
 
22547
if { (ac_try="$ac_link"
 
22548
case "(($ac_try" in
 
22549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22550
  *) ac_try_echo=$ac_try;;
 
22551
esac
 
22552
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22553
  (eval "$ac_link") 2>&5
21079
22554
  ac_status=$?
21080
22555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081
22556
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21083
 
  (eval $ac_try) 2>&5
 
22557
  { (case "(($ac_try" in
 
22558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22559
  *) ac_try_echo=$ac_try;;
 
22560
esac
 
22561
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22562
  (eval "$ac_try") 2>&5
21084
22563
  ac_status=$?
21085
22564
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086
22565
  (exit $ac_status); }; }; then
21093
22572
( exit $ac_status )
21094
22573
ac_cv_header_stdc=no
21095
22574
fi
21096
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21097
 
fi
21098
 
fi
21099
 
fi
21100
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21101
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
22575
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22576
fi
 
22577
 
 
22578
 
 
22579
fi
 
22580
fi
 
22581
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
22582
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21102
22583
if test $ac_cv_header_stdc = yes; then
21103
22584
 
21104
22585
cat >>confdefs.h <<\_ACEOF
21108
22589
fi
21109
22590
 
21110
22591
if test "${ac_cv_header_cups_cups_h+set}" = set; then
21111
 
  echo "$as_me:$LINENO: checking for cups/cups.h" >&5
21112
 
echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
 
22592
  { echo "$as_me:$LINENO: checking for cups/cups.h" >&5
 
22593
echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6; }
21113
22594
if test "${ac_cv_header_cups_cups_h+set}" = set; then
21114
22595
  echo $ECHO_N "(cached) $ECHO_C" >&6
21115
22596
fi
21116
 
echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
21117
 
echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
 
22597
{ echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
 
22598
echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6; }
21118
22599
else
21119
22600
  # Is the header compilable?
21120
 
echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
21121
 
echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
 
22601
{ echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
 
22602
echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6; }
21122
22603
cat >conftest.$ac_ext <<_ACEOF
21123
22604
/* confdefs.h.  */
21124
22605
_ACEOF
21129
22610
#include <cups/cups.h>
21130
22611
_ACEOF
21131
22612
rm -f conftest.$ac_objext
21132
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21133
 
  (eval $ac_compile) 2>conftest.er1
 
22613
if { (ac_try="$ac_compile"
 
22614
case "(($ac_try" in
 
22615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22616
  *) ac_try_echo=$ac_try;;
 
22617
esac
 
22618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22619
  (eval "$ac_compile") 2>conftest.er1
21134
22620
  ac_status=$?
21135
22621
  grep -v '^ *+' conftest.er1 >conftest.err
21136
22622
  rm -f conftest.er1
21137
22623
  cat conftest.err >&5
21138
22624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139
22625
  (exit $ac_status); } &&
21140
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142
 
  (eval $ac_try) 2>&5
 
22626
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22627
  { (case "(($ac_try" in
 
22628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22629
  *) ac_try_echo=$ac_try;;
 
22630
esac
 
22631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22632
  (eval "$ac_try") 2>&5
21143
22633
  ac_status=$?
21144
22634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145
22635
  (exit $ac_status); }; } &&
21146
22636
         { ac_try='test -s conftest.$ac_objext'
21147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148
 
  (eval $ac_try) 2>&5
 
22637
  { (case "(($ac_try" in
 
22638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22639
  *) ac_try_echo=$ac_try;;
 
22640
esac
 
22641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22642
  (eval "$ac_try") 2>&5
21149
22643
  ac_status=$?
21150
22644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151
22645
  (exit $ac_status); }; }; then
21154
22648
  echo "$as_me: failed program was:" >&5
21155
22649
sed 's/^/| /' conftest.$ac_ext >&5
21156
22650
 
21157
 
ac_header_compiler=no
 
22651
        ac_header_compiler=no
21158
22652
fi
21159
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21160
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21161
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22653
 
 
22654
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22655
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22656
echo "${ECHO_T}$ac_header_compiler" >&6; }
21162
22657
 
21163
22658
# Is the header present?
21164
 
echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
21165
 
echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
 
22659
{ echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
 
22660
echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6; }
21166
22661
cat >conftest.$ac_ext <<_ACEOF
21167
22662
/* confdefs.h.  */
21168
22663
_ACEOF
21171
22666
/* end confdefs.h.  */
21172
22667
#include <cups/cups.h>
21173
22668
_ACEOF
21174
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21175
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22669
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22670
case "(($ac_try" in
 
22671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22672
  *) ac_try_echo=$ac_try;;
 
22673
esac
 
22674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22675
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21176
22676
  ac_status=$?
21177
22677
  grep -v '^ *+' conftest.er1 >conftest.err
21178
22678
  rm -f conftest.er1
21196
22696
 
21197
22697
  ac_header_preproc=no
21198
22698
fi
 
22699
 
21199
22700
rm -f conftest.err conftest.$ac_ext
21200
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21201
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22701
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22702
echo "${ECHO_T}$ac_header_preproc" >&6; }
21202
22703
 
21203
22704
# So?  What about this header?
21204
22705
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21222
22723
echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;}
21223
22724
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: in the future, the compiler will take precedence" >&5
21224
22725
echo "$as_me: WARNING: cups/cups.h: in the future, the compiler will take precedence" >&2;}
21225
 
    (
21226
 
      cat <<\_ASBOX
 
22726
    ( cat <<\_ASBOX
21227
22727
## ---------------------------------------- ##
21228
22728
## Report this to hplip@packages.debian.org ##
21229
22729
## ---------------------------------------- ##
21230
22730
_ASBOX
21231
 
    ) |
21232
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22731
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21233
22732
    ;;
21234
22733
esac
21235
 
echo "$as_me:$LINENO: checking for cups/cups.h" >&5
21236
 
echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
 
22734
{ echo "$as_me:$LINENO: checking for cups/cups.h" >&5
 
22735
echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6; }
21237
22736
if test "${ac_cv_header_cups_cups_h+set}" = set; then
21238
22737
  echo $ECHO_N "(cached) $ECHO_C" >&6
21239
22738
else
21240
22739
  ac_cv_header_cups_cups_h=$ac_header_preproc
21241
22740
fi
21242
 
echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
21243
 
echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
 
22741
{ echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
 
22742
echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6; }
21244
22743
 
21245
22744
fi
21246
22745
if test $ac_cv_header_cups_cups_h = yes; then
21254
22753
 
21255
22754
 
21256
22755
if test "${ac_cv_header_net_snmp_net_snmp_config_h+set}" = set; then
21257
 
  echo "$as_me:$LINENO: checking for net-snmp/net-snmp-config.h" >&5
21258
 
echo $ECHO_N "checking for net-snmp/net-snmp-config.h... $ECHO_C" >&6
 
22756
  { echo "$as_me:$LINENO: checking for net-snmp/net-snmp-config.h" >&5
 
22757
echo $ECHO_N "checking for net-snmp/net-snmp-config.h... $ECHO_C" >&6; }
21259
22758
if test "${ac_cv_header_net_snmp_net_snmp_config_h+set}" = set; then
21260
22759
  echo $ECHO_N "(cached) $ECHO_C" >&6
21261
22760
fi
21262
 
echo "$as_me:$LINENO: result: $ac_cv_header_net_snmp_net_snmp_config_h" >&5
21263
 
echo "${ECHO_T}$ac_cv_header_net_snmp_net_snmp_config_h" >&6
 
22761
{ echo "$as_me:$LINENO: result: $ac_cv_header_net_snmp_net_snmp_config_h" >&5
 
22762
echo "${ECHO_T}$ac_cv_header_net_snmp_net_snmp_config_h" >&6; }
21264
22763
else
21265
22764
  # Is the header compilable?
21266
 
echo "$as_me:$LINENO: checking net-snmp/net-snmp-config.h usability" >&5
21267
 
echo $ECHO_N "checking net-snmp/net-snmp-config.h usability... $ECHO_C" >&6
 
22765
{ echo "$as_me:$LINENO: checking net-snmp/net-snmp-config.h usability" >&5
 
22766
echo $ECHO_N "checking net-snmp/net-snmp-config.h usability... $ECHO_C" >&6; }
21268
22767
cat >conftest.$ac_ext <<_ACEOF
21269
22768
/* confdefs.h.  */
21270
22769
_ACEOF
21275
22774
#include <net-snmp/net-snmp-config.h>
21276
22775
_ACEOF
21277
22776
rm -f conftest.$ac_objext
21278
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21279
 
  (eval $ac_compile) 2>conftest.er1
 
22777
if { (ac_try="$ac_compile"
 
22778
case "(($ac_try" in
 
22779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22780
  *) ac_try_echo=$ac_try;;
 
22781
esac
 
22782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22783
  (eval "$ac_compile") 2>conftest.er1
21280
22784
  ac_status=$?
21281
22785
  grep -v '^ *+' conftest.er1 >conftest.err
21282
22786
  rm -f conftest.er1
21283
22787
  cat conftest.err >&5
21284
22788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285
22789
  (exit $ac_status); } &&
21286
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21288
 
  (eval $ac_try) 2>&5
 
22790
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22791
  { (case "(($ac_try" in
 
22792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22793
  *) ac_try_echo=$ac_try;;
 
22794
esac
 
22795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22796
  (eval "$ac_try") 2>&5
21289
22797
  ac_status=$?
21290
22798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291
22799
  (exit $ac_status); }; } &&
21292
22800
         { ac_try='test -s conftest.$ac_objext'
21293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294
 
  (eval $ac_try) 2>&5
 
22801
  { (case "(($ac_try" in
 
22802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22803
  *) ac_try_echo=$ac_try;;
 
22804
esac
 
22805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22806
  (eval "$ac_try") 2>&5
21295
22807
  ac_status=$?
21296
22808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297
22809
  (exit $ac_status); }; }; then
21300
22812
  echo "$as_me: failed program was:" >&5
21301
22813
sed 's/^/| /' conftest.$ac_ext >&5
21302
22814
 
21303
 
ac_header_compiler=no
 
22815
        ac_header_compiler=no
21304
22816
fi
21305
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21306
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21307
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22817
 
 
22818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22819
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22820
echo "${ECHO_T}$ac_header_compiler" >&6; }
21308
22821
 
21309
22822
# Is the header present?
21310
 
echo "$as_me:$LINENO: checking net-snmp/net-snmp-config.h presence" >&5
21311
 
echo $ECHO_N "checking net-snmp/net-snmp-config.h presence... $ECHO_C" >&6
 
22823
{ echo "$as_me:$LINENO: checking net-snmp/net-snmp-config.h presence" >&5
 
22824
echo $ECHO_N "checking net-snmp/net-snmp-config.h presence... $ECHO_C" >&6; }
21312
22825
cat >conftest.$ac_ext <<_ACEOF
21313
22826
/* confdefs.h.  */
21314
22827
_ACEOF
21317
22830
/* end confdefs.h.  */
21318
22831
#include <net-snmp/net-snmp-config.h>
21319
22832
_ACEOF
21320
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21321
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22833
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22834
case "(($ac_try" in
 
22835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22836
  *) ac_try_echo=$ac_try;;
 
22837
esac
 
22838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22839
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21322
22840
  ac_status=$?
21323
22841
  grep -v '^ *+' conftest.er1 >conftest.err
21324
22842
  rm -f conftest.er1
21342
22860
 
21343
22861
  ac_header_preproc=no
21344
22862
fi
 
22863
 
21345
22864
rm -f conftest.err conftest.$ac_ext
21346
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21347
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22865
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22866
echo "${ECHO_T}$ac_header_preproc" >&6; }
21348
22867
 
21349
22868
# So?  What about this header?
21350
22869
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21368
22887
echo "$as_me: WARNING: net-snmp/net-snmp-config.h: proceeding with the preprocessor's result" >&2;}
21369
22888
    { echo "$as_me:$LINENO: WARNING: net-snmp/net-snmp-config.h: in the future, the compiler will take precedence" >&5
21370
22889
echo "$as_me: WARNING: net-snmp/net-snmp-config.h: in the future, the compiler will take precedence" >&2;}
21371
 
    (
21372
 
      cat <<\_ASBOX
 
22890
    ( cat <<\_ASBOX
21373
22891
## ---------------------------------------- ##
21374
22892
## Report this to hplip@packages.debian.org ##
21375
22893
## ---------------------------------------- ##
21376
22894
_ASBOX
21377
 
    ) |
21378
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22895
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21379
22896
    ;;
21380
22897
esac
21381
 
echo "$as_me:$LINENO: checking for net-snmp/net-snmp-config.h" >&5
21382
 
echo $ECHO_N "checking for net-snmp/net-snmp-config.h... $ECHO_C" >&6
 
22898
{ echo "$as_me:$LINENO: checking for net-snmp/net-snmp-config.h" >&5
 
22899
echo $ECHO_N "checking for net-snmp/net-snmp-config.h... $ECHO_C" >&6; }
21383
22900
if test "${ac_cv_header_net_snmp_net_snmp_config_h+set}" = set; then
21384
22901
  echo $ECHO_N "(cached) $ECHO_C" >&6
21385
22902
else
21386
22903
  ac_cv_header_net_snmp_net_snmp_config_h=$ac_header_preproc
21387
22904
fi
21388
 
echo "$as_me:$LINENO: result: $ac_cv_header_net_snmp_net_snmp_config_h" >&5
21389
 
echo "${ECHO_T}$ac_cv_header_net_snmp_net_snmp_config_h" >&6
 
22905
{ echo "$as_me:$LINENO: result: $ac_cv_header_net_snmp_net_snmp_config_h" >&5
 
22906
echo "${ECHO_T}$ac_cv_header_net_snmp_net_snmp_config_h" >&6; }
21390
22907
 
21391
22908
fi
21392
22909
if test $ac_cv_header_net_snmp_net_snmp_config_h = yes; then
21397
22914
 
21398
22915
 
21399
22916
as_ac_Header=`echo "ac_cv_header_python${PYTHON_VERSION}/Python.h" | $as_tr_sh`
21400
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21401
 
  echo "$as_me:$LINENO: checking for python${PYTHON_VERSION}/Python.h" >&5
21402
 
echo $ECHO_N "checking for python${PYTHON_VERSION}/Python.h... $ECHO_C" >&6
21403
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22917
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22918
  { echo "$as_me:$LINENO: checking for python${PYTHON_VERSION}/Python.h" >&5
 
22919
echo $ECHO_N "checking for python${PYTHON_VERSION}/Python.h... $ECHO_C" >&6; }
 
22920
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21404
22921
  echo $ECHO_N "(cached) $ECHO_C" >&6
21405
22922
fi
21406
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21407
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22923
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22924
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22925
echo "${ECHO_T}$ac_res" >&6; }
21408
22926
else
21409
22927
  # Is the header compilable?
21410
 
echo "$as_me:$LINENO: checking python${PYTHON_VERSION}/Python.h usability" >&5
21411
 
echo $ECHO_N "checking python${PYTHON_VERSION}/Python.h usability... $ECHO_C" >&6
 
22928
{ echo "$as_me:$LINENO: checking python${PYTHON_VERSION}/Python.h usability" >&5
 
22929
echo $ECHO_N "checking python${PYTHON_VERSION}/Python.h usability... $ECHO_C" >&6; }
21412
22930
cat >conftest.$ac_ext <<_ACEOF
21413
22931
/* confdefs.h.  */
21414
22932
_ACEOF
21419
22937
#include <python${PYTHON_VERSION}/Python.h>
21420
22938
_ACEOF
21421
22939
rm -f conftest.$ac_objext
21422
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21423
 
  (eval $ac_compile) 2>conftest.er1
 
22940
if { (ac_try="$ac_compile"
 
22941
case "(($ac_try" in
 
22942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22943
  *) ac_try_echo=$ac_try;;
 
22944
esac
 
22945
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22946
  (eval "$ac_compile") 2>conftest.er1
21424
22947
  ac_status=$?
21425
22948
  grep -v '^ *+' conftest.er1 >conftest.err
21426
22949
  rm -f conftest.er1
21427
22950
  cat conftest.err >&5
21428
22951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429
22952
  (exit $ac_status); } &&
21430
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432
 
  (eval $ac_try) 2>&5
 
22953
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22954
  { (case "(($ac_try" in
 
22955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22956
  *) ac_try_echo=$ac_try;;
 
22957
esac
 
22958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22959
  (eval "$ac_try") 2>&5
21433
22960
  ac_status=$?
21434
22961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435
22962
  (exit $ac_status); }; } &&
21436
22963
         { ac_try='test -s conftest.$ac_objext'
21437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438
 
  (eval $ac_try) 2>&5
 
22964
  { (case "(($ac_try" in
 
22965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22966
  *) ac_try_echo=$ac_try;;
 
22967
esac
 
22968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22969
  (eval "$ac_try") 2>&5
21439
22970
  ac_status=$?
21440
22971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441
22972
  (exit $ac_status); }; }; then
21444
22975
  echo "$as_me: failed program was:" >&5
21445
22976
sed 's/^/| /' conftest.$ac_ext >&5
21446
22977
 
21447
 
ac_header_compiler=no
 
22978
        ac_header_compiler=no
21448
22979
fi
21449
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21450
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21451
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22980
 
 
22981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22982
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22983
echo "${ECHO_T}$ac_header_compiler" >&6; }
21452
22984
 
21453
22985
# Is the header present?
21454
 
echo "$as_me:$LINENO: checking python${PYTHON_VERSION}/Python.h presence" >&5
21455
 
echo $ECHO_N "checking python${PYTHON_VERSION}/Python.h presence... $ECHO_C" >&6
 
22986
{ echo "$as_me:$LINENO: checking python${PYTHON_VERSION}/Python.h presence" >&5
 
22987
echo $ECHO_N "checking python${PYTHON_VERSION}/Python.h presence... $ECHO_C" >&6; }
21456
22988
cat >conftest.$ac_ext <<_ACEOF
21457
22989
/* confdefs.h.  */
21458
22990
_ACEOF
21461
22993
/* end confdefs.h.  */
21462
22994
#include <python${PYTHON_VERSION}/Python.h>
21463
22995
_ACEOF
21464
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21465
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22996
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22997
case "(($ac_try" in
 
22998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22999
  *) ac_try_echo=$ac_try;;
 
23000
esac
 
23001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23002
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21466
23003
  ac_status=$?
21467
23004
  grep -v '^ *+' conftest.er1 >conftest.err
21468
23005
  rm -f conftest.er1
21486
23023
 
21487
23024
  ac_header_preproc=no
21488
23025
fi
 
23026
 
21489
23027
rm -f conftest.err conftest.$ac_ext
21490
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21491
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23028
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23029
echo "${ECHO_T}$ac_header_preproc" >&6; }
21492
23030
 
21493
23031
# So?  What about this header?
21494
23032
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21512
23050
echo "$as_me: WARNING: python${PYTHON_VERSION}/Python.h: proceeding with the preprocessor's result" >&2;}
21513
23051
    { echo "$as_me:$LINENO: WARNING: python${PYTHON_VERSION}/Python.h: in the future, the compiler will take precedence" >&5
21514
23052
echo "$as_me: WARNING: python${PYTHON_VERSION}/Python.h: in the future, the compiler will take precedence" >&2;}
21515
 
    (
21516
 
      cat <<\_ASBOX
 
23053
    ( cat <<\_ASBOX
21517
23054
## ---------------------------------------- ##
21518
23055
## Report this to hplip@packages.debian.org ##
21519
23056
## ---------------------------------------- ##
21520
23057
_ASBOX
21521
 
    ) |
21522
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23058
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21523
23059
    ;;
21524
23060
esac
21525
 
echo "$as_me:$LINENO: checking for python${PYTHON_VERSION}/Python.h" >&5
21526
 
echo $ECHO_N "checking for python${PYTHON_VERSION}/Python.h... $ECHO_C" >&6
21527
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23061
{ echo "$as_me:$LINENO: checking for python${PYTHON_VERSION}/Python.h" >&5
 
23062
echo $ECHO_N "checking for python${PYTHON_VERSION}/Python.h... $ECHO_C" >&6; }
 
23063
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21528
23064
  echo $ECHO_N "(cached) $ECHO_C" >&6
21529
23065
else
21530
23066
  eval "$as_ac_Header=\$ac_header_preproc"
21531
23067
fi
21532
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21533
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23068
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23069
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23070
echo "${ECHO_T}$ac_res" >&6; }
21534
23071
 
21535
23072
fi
21536
23073
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21545
23082
 
21546
23083
 
21547
23084
# Checks for typedefs, structures, and compiler characteristics.
21548
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21549
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
23085
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
23086
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21550
23087
if test "${ac_cv_c_const+set}" = set; then
21551
23088
  echo $ECHO_N "(cached) $ECHO_C" >&6
21552
23089
else
21586
23123
    char const *s = 0 ? (char *) 0 : (char const *) 0;
21587
23124
 
21588
23125
    *t++ = 0;
 
23126
    if (s) return 0;
21589
23127
  }
21590
23128
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
21591
23129
    int x[] = {25, 17};
21604
23142
  }
21605
23143
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21606
23144
    const int foo = 10;
 
23145
    if (!foo) return 0;
21607
23146
  }
 
23147
  return !x[0] && !zero.x;
21608
23148
#endif
21609
23149
 
21610
23150
  ;
21612
23152
}
21613
23153
_ACEOF
21614
23154
rm -f conftest.$ac_objext
21615
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21616
 
  (eval $ac_compile) 2>conftest.er1
 
23155
if { (ac_try="$ac_compile"
 
23156
case "(($ac_try" in
 
23157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23158
  *) ac_try_echo=$ac_try;;
 
23159
esac
 
23160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23161
  (eval "$ac_compile") 2>conftest.er1
21617
23162
  ac_status=$?
21618
23163
  grep -v '^ *+' conftest.er1 >conftest.err
21619
23164
  rm -f conftest.er1
21620
23165
  cat conftest.err >&5
21621
23166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622
23167
  (exit $ac_status); } &&
21623
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625
 
  (eval $ac_try) 2>&5
 
23168
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23169
  { (case "(($ac_try" in
 
23170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23171
  *) ac_try_echo=$ac_try;;
 
23172
esac
 
23173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23174
  (eval "$ac_try") 2>&5
21626
23175
  ac_status=$?
21627
23176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628
23177
  (exit $ac_status); }; } &&
21629
23178
         { ac_try='test -s conftest.$ac_objext'
21630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631
 
  (eval $ac_try) 2>&5
 
23179
  { (case "(($ac_try" in
 
23180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23181
  *) ac_try_echo=$ac_try;;
 
23182
esac
 
23183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23184
  (eval "$ac_try") 2>&5
21632
23185
  ac_status=$?
21633
23186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634
23187
  (exit $ac_status); }; }; then
21637
23190
  echo "$as_me: failed program was:" >&5
21638
23191
sed 's/^/| /' conftest.$ac_ext >&5
21639
23192
 
21640
 
ac_cv_c_const=no
21641
 
fi
21642
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21643
 
fi
21644
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21645
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
23193
        ac_cv_c_const=no
 
23194
fi
 
23195
 
 
23196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23197
fi
 
23198
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
23199
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21646
23200
if test $ac_cv_c_const = no; then
21647
23201
 
21648
23202
cat >>confdefs.h <<\_ACEOF
21651
23205
 
21652
23206
fi
21653
23207
 
21654
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21655
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
23208
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
23209
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
21656
23210
if test "${ac_cv_c_bigendian+set}" = set; then
21657
23211
  echo $ECHO_N "(cached) $ECHO_C" >&6
21658
23212
else
21678
23232
}
21679
23233
_ACEOF
21680
23234
rm -f conftest.$ac_objext
21681
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21682
 
  (eval $ac_compile) 2>conftest.er1
 
23235
if { (ac_try="$ac_compile"
 
23236
case "(($ac_try" in
 
23237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23238
  *) ac_try_echo=$ac_try;;
 
23239
esac
 
23240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23241
  (eval "$ac_compile") 2>conftest.er1
21683
23242
  ac_status=$?
21684
23243
  grep -v '^ *+' conftest.er1 >conftest.err
21685
23244
  rm -f conftest.er1
21686
23245
  cat conftest.err >&5
21687
23246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688
23247
  (exit $ac_status); } &&
21689
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691
 
  (eval $ac_try) 2>&5
 
23248
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23249
  { (case "(($ac_try" in
 
23250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23251
  *) ac_try_echo=$ac_try;;
 
23252
esac
 
23253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23254
  (eval "$ac_try") 2>&5
21692
23255
  ac_status=$?
21693
23256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694
23257
  (exit $ac_status); }; } &&
21695
23258
         { ac_try='test -s conftest.$ac_objext'
21696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697
 
  (eval $ac_try) 2>&5
 
23259
  { (case "(($ac_try" in
 
23260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23261
  *) ac_try_echo=$ac_try;;
 
23262
esac
 
23263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23264
  (eval "$ac_try") 2>&5
21698
23265
  ac_status=$?
21699
23266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700
23267
  (exit $ac_status); }; }; then
21720
23287
}
21721
23288
_ACEOF
21722
23289
rm -f conftest.$ac_objext
21723
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21724
 
  (eval $ac_compile) 2>conftest.er1
 
23290
if { (ac_try="$ac_compile"
 
23291
case "(($ac_try" in
 
23292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23293
  *) ac_try_echo=$ac_try;;
 
23294
esac
 
23295
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23296
  (eval "$ac_compile") 2>conftest.er1
21725
23297
  ac_status=$?
21726
23298
  grep -v '^ *+' conftest.er1 >conftest.err
21727
23299
  rm -f conftest.er1
21728
23300
  cat conftest.err >&5
21729
23301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730
23302
  (exit $ac_status); } &&
21731
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733
 
  (eval $ac_try) 2>&5
 
23303
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23304
  { (case "(($ac_try" in
 
23305
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23306
  *) ac_try_echo=$ac_try;;
 
23307
esac
 
23308
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23309
  (eval "$ac_try") 2>&5
21734
23310
  ac_status=$?
21735
23311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736
23312
  (exit $ac_status); }; } &&
21737
23313
         { ac_try='test -s conftest.$ac_objext'
21738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739
 
  (eval $ac_try) 2>&5
 
23314
  { (case "(($ac_try" in
 
23315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23316
  *) ac_try_echo=$ac_try;;
 
23317
esac
 
23318
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23319
  (eval "$ac_try") 2>&5
21740
23320
  ac_status=$?
21741
23321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742
23322
  (exit $ac_status); }; }; then
21745
23325
  echo "$as_me: failed program was:" >&5
21746
23326
sed 's/^/| /' conftest.$ac_ext >&5
21747
23327
 
21748
 
ac_cv_c_bigendian=no
 
23328
        ac_cv_c_bigendian=no
21749
23329
fi
21750
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23330
 
 
23331
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751
23332
else
21752
23333
  echo "$as_me: failed program was:" >&5
21753
23334
sed 's/^/| /' conftest.$ac_ext >&5
21754
23335
 
21755
 
# It does not; compile a test program.
 
23336
        # It does not; compile a test program.
21756
23337
if test "$cross_compiling" = yes; then
21757
23338
  # try to guess the endianness by grepping values into an object file
21758
23339
  ac_cv_c_bigendian=unknown
21762
23343
cat confdefs.h >>conftest.$ac_ext
21763
23344
cat >>conftest.$ac_ext <<_ACEOF
21764
23345
/* end confdefs.h.  */
21765
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21766
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
23346
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
23347
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21767
23348
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
21768
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21769
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
23349
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
23350
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21770
23351
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
21771
23352
int
21772
23353
main ()
21777
23358
}
21778
23359
_ACEOF
21779
23360
rm -f conftest.$ac_objext
21780
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21781
 
  (eval $ac_compile) 2>conftest.er1
 
23361
if { (ac_try="$ac_compile"
 
23362
case "(($ac_try" in
 
23363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23364
  *) ac_try_echo=$ac_try;;
 
23365
esac
 
23366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23367
  (eval "$ac_compile") 2>conftest.er1
21782
23368
  ac_status=$?
21783
23369
  grep -v '^ *+' conftest.er1 >conftest.err
21784
23370
  rm -f conftest.er1
21785
23371
  cat conftest.err >&5
21786
23372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787
23373
  (exit $ac_status); } &&
21788
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790
 
  (eval $ac_try) 2>&5
 
23374
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23375
  { (case "(($ac_try" in
 
23376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23377
  *) ac_try_echo=$ac_try;;
 
23378
esac
 
23379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23380
  (eval "$ac_try") 2>&5
21791
23381
  ac_status=$?
21792
23382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793
23383
  (exit $ac_status); }; } &&
21794
23384
         { ac_try='test -s conftest.$ac_objext'
21795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796
 
  (eval $ac_try) 2>&5
 
23385
  { (case "(($ac_try" in
 
23386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23387
  *) ac_try_echo=$ac_try;;
 
23388
esac
 
23389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23390
  (eval "$ac_try") 2>&5
21797
23391
  ac_status=$?
21798
23392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799
23393
  (exit $ac_status); }; }; then
21812
23406
  echo "$as_me: failed program was:" >&5
21813
23407
sed 's/^/| /' conftest.$ac_ext >&5
21814
23408
 
 
23409
 
21815
23410
fi
21816
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23411
 
 
23412
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817
23413
else
21818
23414
  cat >conftest.$ac_ext <<_ACEOF
21819
23415
/* confdefs.h.  */
21821
23417
cat confdefs.h >>conftest.$ac_ext
21822
23418
cat >>conftest.$ac_ext <<_ACEOF
21823
23419
/* end confdefs.h.  */
 
23420
$ac_includes_default
21824
23421
int
21825
23422
main ()
21826
23423
{
 
23424
 
21827
23425
  /* Are we little or big endian?  From Harbison&Steele.  */
21828
23426
  union
21829
23427
  {
21830
 
    long l;
21831
 
    char c[sizeof (long)];
 
23428
    long int l;
 
23429
    char c[sizeof (long int)];
21832
23430
  } u;
21833
23431
  u.l = 1;
21834
 
  exit (u.c[sizeof (long) - 1] == 1);
 
23432
  return u.c[sizeof (long int) - 1] == 1;
 
23433
 
 
23434
  ;
 
23435
  return 0;
21835
23436
}
21836
23437
_ACEOF
21837
23438
rm -f conftest$ac_exeext
21838
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21839
 
  (eval $ac_link) 2>&5
 
23439
if { (ac_try="$ac_link"
 
23440
case "(($ac_try" in
 
23441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23442
  *) ac_try_echo=$ac_try;;
 
23443
esac
 
23444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23445
  (eval "$ac_link") 2>&5
21840
23446
  ac_status=$?
21841
23447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842
23448
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21843
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21844
 
  (eval $ac_try) 2>&5
 
23449
  { (case "(($ac_try" in
 
23450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23451
  *) ac_try_echo=$ac_try;;
 
23452
esac
 
23453
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23454
  (eval "$ac_try") 2>&5
21845
23455
  ac_status=$?
21846
23456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847
23457
  (exit $ac_status); }; }; then
21854
23464
( exit $ac_status )
21855
23465
ac_cv_c_bigendian=yes
21856
23466
fi
21857
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21858
 
fi
21859
 
fi
21860
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21861
 
fi
21862
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21863
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
23467
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23468
fi
 
23469
 
 
23470
 
 
23471
fi
 
23472
 
 
23473
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23474
fi
 
23475
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
23476
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
21864
23477
case $ac_cv_c_bigendian in
21865
23478
  yes)
21866
23479
 
21880
23493
 
21881
23494
 
21882
23495
# Options
21883
 
echo "$as_me:$LINENO: checking for rpm install" >&5
21884
 
echo $ECHO_N "checking for rpm install... $ECHO_C" >&6
21885
 
# Check whether --enable-rpm-install or --disable-rpm-install was given.
 
23496
{ echo "$as_me:$LINENO: checking for rpm install" >&5
 
23497
echo $ECHO_N "checking for rpm install... $ECHO_C" >&6; }
 
23498
# Check whether --enable-rpm-install was given.
21886
23499
if test "${enable_rpm_install+set}" = set; then
21887
 
  enableval="$enable_rpm_install"
21888
 
  RPM_INSTALL="$enableval"
 
23500
  enableval=$enable_rpm_install; RPM_INSTALL="$enableval"
21889
23501
else
21890
23502
  RPM_INSTALL=no
21891
23503
 
21892
 
fi;
 
23504
fi
 
23505
 
21893
23506
if test "$RPM_INSTALL" != "no"; then
21894
 
  echo "$as_me:$LINENO: result: yes" >&5
21895
 
echo "${ECHO_T}yes" >&6
 
23507
  { echo "$as_me:$LINENO: result: yes" >&5
 
23508
echo "${ECHO_T}yes" >&6; }
21896
23509
else
21897
 
  echo "$as_me:$LINENO: result: no" >&5
21898
 
echo "${ECHO_T}no" >&6
 
23510
  { echo "$as_me:$LINENO: result: no" >&5
 
23511
echo "${ECHO_T}no" >&6; }
21899
23512
 
21900
23513
fi
21901
23514
 
21902
23515
 
21903
 
echo "$as_me:$LINENO: checking for network build" >&5
21904
 
echo $ECHO_N "checking for network build... $ECHO_C" >&6
21905
 
# Check whether --enable-network-build or --disable-network-build was given.
 
23516
{ echo "$as_me:$LINENO: checking for network build" >&5
 
23517
echo $ECHO_N "checking for network build... $ECHO_C" >&6; }
 
23518
# Check whether --enable-network-build was given.
21906
23519
if test "${enable_network_build+set}" = set; then
21907
 
  enableval="$enable_network_build"
21908
 
  network_build="$enableval"
 
23520
  enableval=$enable_network_build; network_build="$enableval"
21909
23521
else
21910
23522
  network_build=yes
21911
 
fi;
 
23523
fi
 
23524
 
21912
23525
if test "$network_build" = "yes"; then
21913
 
  echo "$as_me:$LINENO: result: yes" >&5
21914
 
echo "${ECHO_T}yes" >&6
 
23526
  { echo "$as_me:$LINENO: result: yes" >&5
 
23527
echo "${ECHO_T}yes" >&6; }
21915
23528
else
21916
 
  echo "$as_me:$LINENO: result: no" >&5
21917
 
echo "${ECHO_T}no" >&6
 
23529
  { echo "$as_me:$LINENO: result: no" >&5
 
23530
echo "${ECHO_T}no" >&6; }
21918
23531
 
21919
23532
fi
21920
23533
 
21921
23534
 
21922
 
echo "$as_me:$LINENO: checking whether to support parallel port IO" >&5
21923
 
echo $ECHO_N "checking whether to support parallel port IO... $ECHO_C" >&6
21924
 
# Check whether --enable-pp_build or --disable-pp_build was given.
 
23535
{ echo "$as_me:$LINENO: checking whether to support parallel port IO" >&5
 
23536
echo $ECHO_N "checking whether to support parallel port IO... $ECHO_C" >&6; }
 
23537
# Check whether --enable-pp_build was given.
21925
23538
if test "${enable_pp_build+set}" = set; then
21926
 
  enableval="$enable_pp_build"
21927
 
  pp_build="$enableval"
 
23539
  enableval=$enable_pp_build; pp_build="$enableval"
21928
23540
else
21929
23541
  pp_build=yes
21930
 
fi;
 
23542
fi
 
23543
 
21931
23544
if test "$pp_build" = "yes"; then
21932
 
  echo "$as_me:$LINENO: result: yes" >&5
21933
 
echo "${ECHO_T}yes" >&6
 
23545
  { echo "$as_me:$LINENO: result: yes" >&5
 
23546
echo "${ECHO_T}yes" >&6; }
21934
23547
    cat >>confdefs.h <<\_ACEOF
21935
23548
#define HAVE_PPORT 1
21936
23549
_ACEOF
21937
23550
 
21938
23551
else
21939
 
  echo "$as_me:$LINENO: result: no" >&5
21940
 
echo "${ECHO_T}no" >&6
 
23552
  { echo "$as_me:$LINENO: result: no" >&5
 
23553
echo "${ECHO_T}no" >&6; }
 
23554
 
 
23555
fi
 
23556
 
 
23557
 
 
23558
{ echo "$as_me:$LINENO: checking whether to support fax functionality" >&5
 
23559
echo $ECHO_N "checking whether to support fax functionality... $ECHO_C" >&6; }
 
23560
# Check whether --enable-fax_build was given.
 
23561
if test "${enable_fax_build+set}" = set; then
 
23562
  enableval=$enable_fax_build; fax_build="$enableval"
 
23563
else
 
23564
  fax_build=yes
 
23565
fi
 
23566
 
 
23567
if test "$fax_build" = "yes"; then
 
23568
  { echo "$as_me:$LINENO: result: yes" >&5
 
23569
echo "${ECHO_T}yes" >&6; }
 
23570
else
 
23571
  { echo "$as_me:$LINENO: result: no" >&5
 
23572
echo "${ECHO_T}no" >&6; }
21941
23573
 
21942
23574
fi
21943
23575
 
21945
23577
CUPSSEARCHPATH="/usr/share /usr/local/share /usr/lib /usr/local/lib /usr/libexec /usr/lib64 /opt"
21946
23578
 
21947
23579
 
21948
 
echo "$as_me:$LINENO: checking for cups backend path" >&5
21949
 
echo $ECHO_N "checking for cups backend path... $ECHO_C" >&6
 
23580
{ echo "$as_me:$LINENO: checking for cups backend path" >&5
 
23581
echo $ECHO_N "checking for cups backend path... $ECHO_C" >&6; }
21950
23582
if test "x${CUPS_BACKEND_PATH}" = "x"; then
21951
23583
 
21952
23584
        CUPS_BACKEND_PATH="/usr/lib/cups/backend"
21960
23592
 
21961
23593
fi
21962
23594
 
21963
 
echo "$as_me:$LINENO: result: using ${CUPS_BACKEND_PATH}" >&5
21964
 
echo "${ECHO_T}using ${CUPS_BACKEND_PATH}" >&6
21965
 
 
21966
 
 
21967
 
echo "$as_me:$LINENO: checking for HPLIP ppd path" >&5
21968
 
echo $ECHO_N "checking for HPLIP ppd path... $ECHO_C" >&6
 
23595
{ echo "$as_me:$LINENO: result: using ${CUPS_BACKEND_PATH}" >&5
 
23596
echo "${ECHO_T}using ${CUPS_BACKEND_PATH}" >&6; }
 
23597
 
 
23598
 
 
23599
{ echo "$as_me:$LINENO: checking for HPLIP ppd path" >&5
 
23600
echo $ECHO_N "checking for HPLIP ppd path... $ECHO_C" >&6; }
21969
23601
if test "x${HPLIP_PPD_PATH}" = "x"; then
21970
23602
  HPLIP_PPD_PATH="\${datadir}/ppd/HP"
21971
23603
 
21972
23604
fi
21973
23605
 
21974
 
echo "$as_me:$LINENO: result: using ${HPLIP_PPD_PATH}" >&5
21975
 
echo "${ECHO_T}using ${HPLIP_PPD_PATH}" >&6
 
23606
{ echo "$as_me:$LINENO: result: using ${HPLIP_PPD_PATH}" >&5
 
23607
echo "${ECHO_T}using ${HPLIP_PPD_PATH}" >&6; }
21976
23608
 
21977
23609
ICONSEARCHPATH="/usr/lib/menu /usr/share/applications"
21978
23610
ICONFILETYPES="hplip hplip.desktop"
21979
23611
 
21980
 
echo "$as_me:$LINENO: checking for icon/menu/desktop file install" >&5
21981
 
echo $ECHO_N "checking for icon/menu/desktop file install... $ECHO_C" >&6
 
23612
{ echo "$as_me:$LINENO: checking for icon/menu/desktop file install" >&5
 
23613
echo $ECHO_N "checking for icon/menu/desktop file install... $ECHO_C" >&6; }
21982
23614
ICON_PATH=""
21983
23615
ICON_FILE=""
21984
23616
 
21985
 
# Check whether --with-icon or --without-icon was given.
 
23617
# Check whether --with-icon was given.
21986
23618
if test "${with_icon+set}" = set; then
21987
 
  withval="$with_icon"
21988
 
 
 
23619
  withval=$with_icon;
21989
23620
        if test "x$withval" != "xyes" || test "x$withval" = "x"; then
21990
23621
 
21991
23622
                DO_ICON_AUTODETECT="no"
22006
23637
else
22007
23638
  DO_ICON_AUTODETECT="yes"
22008
23639
 
22009
 
fi;
 
23640
fi
 
23641
 
22010
23642
if test "x${DO_ICON_AUTODETECT}" = "xyes"; then
22011
23643
 
22012
23644
        idx=1
22029
23661
fi
22030
23662
 
22031
23663
if test "x${ICON_PATH}${ICON_FILE}" != "x"; then
22032
 
  echo "$as_me:$LINENO: result: using ${ICON_PATH}/${ICON_FILE}" >&5
22033
 
echo "${ECHO_T}using ${ICON_PATH}/${ICON_FILE}" >&6
 
23664
  { echo "$as_me:$LINENO: result: using ${ICON_PATH}/${ICON_FILE}" >&5
 
23665
echo "${ECHO_T}using ${ICON_PATH}/${ICON_FILE}" >&6; }
22034
23666
else
22035
 
  echo "$as_me:$LINENO: result: none" >&5
22036
 
echo "${ECHO_T}none" >&6
 
23667
  { echo "$as_me:$LINENO: result: none" >&5
 
23668
echo "${ECHO_T}none" >&6; }
22037
23669
 
22038
23670
fi
22039
23671
 
22056
23688
   LIBS="-lnetsnmp $LIBS"
22057
23689
fi
22058
23690
 
22059
 
ac_configure_args="$ac_configure_args --enable-hplip-build"
22060
 
 
22061
 
 
22062
 
 
22063
 
 
22064
 
 
22065
 
 
22066
 
 
22067
 
          ac_config_files="$ac_config_files Makefile"
 
23691
if test "$fax_build" = "yes"; then
 
23692
   ac_configure_args="$ac_configure_args --enable-hplip-build"
 
23693
fi
 
23694
 
 
23695
 
 
23696
 
 
23697
 
 
23698
 
 
23699
 
 
23700
 
 
23701
 
 
23702
ac_config_files="$ac_config_files Makefile"
22068
23703
 
22069
23704
cat >confcache <<\_ACEOF
22070
23705
# This file is a shell script that caches the results of configure
22084
23719
 
22085
23720
# The following way of writing the cache mishandles newlines in values,
22086
23721
# but we know of no workaround that is simple, portable, and efficient.
22087
 
# So, don't put newlines in cache variables' values.
 
23722
# So, we kill variables containing newlines.
22088
23723
# Ultrix sh set writes to stderr and can't be redirected directly,
22089
23724
# and sets the high bit in the cache file unless we assign to the vars.
22090
 
{
 
23725
(
 
23726
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
23727
    eval ac_val=\$$ac_var
 
23728
    case $ac_val in #(
 
23729
    *${as_nl}*)
 
23730
      case $ac_var in #(
 
23731
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
23732
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23733
      esac
 
23734
      case $ac_var in #(
 
23735
      _ | IFS | as_nl) ;; #(
 
23736
      *) $as_unset $ac_var ;;
 
23737
      esac ;;
 
23738
    esac
 
23739
  done
 
23740
 
22091
23741
  (set) 2>&1 |
22092
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
22093
 
    *ac_space=\ *)
 
23742
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
23743
    *${as_nl}ac_space=\ *)
22094
23744
      # `set' does not quote correctly, so add quotes (double-quote
22095
23745
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22096
23746
      sed -n \
22097
23747
        "s/'/'\\\\''/g;
22098
23748
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22099
 
      ;;
 
23749
      ;; #(
22100
23750
    *)
22101
23751
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22102
 
      sed -n \
22103
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
23752
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22104
23753
      ;;
22105
 
    esac;
22106
 
} |
 
23754
    esac |
 
23755
    sort
 
23756
) |
22107
23757
  sed '
 
23758
     /^ac_cv_env_/b end
22108
23759
     t clear
22109
 
     : clear
 
23760
     :clear
22110
23761
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22111
23762
     t end
22112
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22113
 
     : end' >>confcache
22114
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
22115
 
  if test -w $cache_file; then
22116
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
23763
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
23764
     :end' >>confcache
 
23765
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
23766
  if test -w "$cache_file"; then
 
23767
    test "x$cache_file" != "x/dev/null" &&
 
23768
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23769
echo "$as_me: updating cache $cache_file" >&6;}
22117
23770
    cat confcache >$cache_file
22118
23771
  else
22119
 
    echo "not updating unwritable cache $cache_file"
 
23772
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23773
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22120
23774
  fi
22121
23775
fi
22122
23776
rm -f confcache
22125
23779
# Let make expand exec_prefix.
22126
23780
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22127
23781
 
22128
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22129
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22130
 
# trailing colons and then remove the whole line if VPATH becomes empty
22131
 
# (actually we leave an empty line to preserve line numbers).
22132
 
if test "x$srcdir" = x.; then
22133
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
22134
 
s/:*\$(srcdir):*/:/;
22135
 
s/:*\${srcdir}:*/:/;
22136
 
s/:*@srcdir@:*/:/;
22137
 
s/^\([^=]*=[     ]*\):*/\1/;
22138
 
s/:*$//;
22139
 
s/^[^=]*=[       ]*$//;
22140
 
}'
22141
 
fi
22142
 
 
22143
23782
# Transform confdefs.h into DEFS.
22144
23783
# Protect against shell expansion while executing Makefile rules.
22145
23784
# Protect against Makefile macro expansion.
22146
23785
#
22147
23786
# If the first sed substitution is executed (which looks for macros that
22148
 
# take arguments), then we branch to the quote section.  Otherwise,
 
23787
# take arguments), then branch to the quote section.  Otherwise,
22149
23788
# look for a macro that doesn't take arguments.
22150
 
cat >confdef2opt.sed <<\_ACEOF
 
23789
ac_script='
22151
23790
t clear
22152
 
: clear
22153
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
22154
 
t quote
22155
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
22156
 
t quote
22157
 
d
22158
 
: quote
22159
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
22160
 
s,\[,\\&,g
22161
 
s,\],\\&,g
22162
 
s,\$,$$,g
22163
 
p
22164
 
_ACEOF
22165
 
# We use echo to avoid assuming a particular line-breaking character.
22166
 
# The extra dot is to prevent the shell from consuming trailing
22167
 
# line-breaks from the sub-command output.  A line-break within
22168
 
# single-quotes doesn't work because, if this script is created in a
22169
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
22170
 
# would break.
22171
 
ac_LF_and_DOT=`echo; echo .`
22172
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
22173
 
rm -f confdef2opt.sed
 
23791
:clear
 
23792
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
23793
t quote
 
23794
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
23795
t quote
 
23796
b any
 
23797
:quote
 
23798
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
23799
s/\[/\\&/g
 
23800
s/\]/\\&/g
 
23801
s/\$/$$/g
 
23802
H
 
23803
:any
 
23804
${
 
23805
        g
 
23806
        s/^\n//
 
23807
        s/\n/ /g
 
23808
        p
 
23809
}
 
23810
'
 
23811
DEFS=`sed -n "$ac_script" confdefs.h`
22174
23812
 
22175
23813
 
22176
23814
ac_libobjs=
22177
23815
ac_ltlibobjs=
22178
23816
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22179
23817
  # 1. Remove the extension, and $U if already installed.
22180
 
  ac_i=`echo "$ac_i" |
22181
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22182
 
  # 2. Add them.
22183
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22184
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
23818
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
23819
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23820
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
23821
  #    will be set to the directory where LIBOBJS objects are built.
 
23822
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
23823
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22185
23824
done
22186
23825
LIBOBJS=$ac_libobjs
22187
23826
 
22261
23900
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22262
23901
  # is contrary to our usage.  Disable this feature.
22263
23902
  alias -g '${1+"$@"}'='"$@"'
22264
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22265
 
  set -o posix
 
23903
  setopt NO_GLOB_SUBST
 
23904
else
 
23905
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
22266
23906
fi
 
23907
BIN_SH=xpg4; export BIN_SH # for Tru64
22267
23908
DUALCASE=1; export DUALCASE # for MKS sh
22268
23909
 
 
23910
 
 
23911
# PATH needs CR
 
23912
# Avoid depending upon Character Ranges.
 
23913
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23914
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23915
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23916
as_cr_digits='0123456789'
 
23917
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23918
 
 
23919
# The user is always right.
 
23920
if test "${PATH_SEPARATOR+set}" != set; then
 
23921
  echo "#! /bin/sh" >conf$$.sh
 
23922
  echo  "exit 0"   >>conf$$.sh
 
23923
  chmod +x conf$$.sh
 
23924
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
23925
    PATH_SEPARATOR=';'
 
23926
  else
 
23927
    PATH_SEPARATOR=:
 
23928
  fi
 
23929
  rm -f conf$$.sh
 
23930
fi
 
23931
 
22269
23932
# Support unset when possible.
22270
23933
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22271
23934
  as_unset=unset
22274
23937
fi
22275
23938
 
22276
23939
 
 
23940
# IFS
 
23941
# We need space, tab and new line, in precisely that order.  Quoting is
 
23942
# there to prevent editors from complaining about space-tab.
 
23943
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
23944
# splitting by setting IFS to empty value.)
 
23945
as_nl='
 
23946
'
 
23947
IFS=" ""        $as_nl"
 
23948
 
 
23949
# Find who we are.  Look in the path if we contain no directory separator.
 
23950
case $0 in
 
23951
  *[\\/]* ) as_myself=$0 ;;
 
23952
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23953
for as_dir in $PATH
 
23954
do
 
23955
  IFS=$as_save_IFS
 
23956
  test -z "$as_dir" && as_dir=.
 
23957
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23958
done
 
23959
IFS=$as_save_IFS
 
23960
 
 
23961
     ;;
 
23962
esac
 
23963
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
23964
# in which case we are not to be found in the path.
 
23965
if test "x$as_myself" = x; then
 
23966
  as_myself=$0
 
23967
fi
 
23968
if test ! -f "$as_myself"; then
 
23969
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23970
  { (exit 1); exit 1; }
 
23971
fi
 
23972
 
22277
23973
# Work around bugs in pre-3.0 UWIN ksh.
22278
 
$as_unset ENV MAIL MAILPATH
 
23974
for as_var in ENV MAIL MAILPATH
 
23975
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
23976
done
22279
23977
PS1='$ '
22280
23978
PS2='> '
22281
23979
PS4='+ '
22289
23987
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22290
23988
    eval $as_var=C; export $as_var
22291
23989
  else
22292
 
    $as_unset $as_var
 
23990
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22293
23991
  fi
22294
23992
done
22295
23993
 
22296
23994
# Required to use basename.
22297
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23995
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23996
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22298
23997
  as_expr=expr
22299
23998
else
22300
23999
  as_expr=false
22301
24000
fi
22302
24001
 
22303
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
24002
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22304
24003
  as_basename=basename
22305
24004
else
22306
24005
  as_basename=false
22308
24007
 
22309
24008
 
22310
24009
# Name of the executable.
22311
 
as_me=`$as_basename "$0" ||
 
24010
as_me=`$as_basename -- "$0" ||
22312
24011
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22313
24012
         X"$0" : 'X\(//\)$' \| \
22314
 
         X"$0" : 'X\(/\)$' \| \
22315
 
         .     : '\(.\)' 2>/dev/null ||
 
24013
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22316
24014
echo X/"$0" |
22317
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22318
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
22319
 
          /^X\/\(\/\).*/{ s//\1/; q; }
22320
 
          s/.*/./; q'`
22321
 
 
22322
 
 
22323
 
# PATH needs CR, and LINENO needs CR and PATH.
22324
 
# Avoid depending upon Character Ranges.
22325
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22326
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22327
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22328
 
as_cr_digits='0123456789'
22329
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22330
 
 
22331
 
# The user is always right.
22332
 
if test "${PATH_SEPARATOR+set}" != set; then
22333
 
  echo "#! /bin/sh" >conf$$.sh
22334
 
  echo  "exit 0"   >>conf$$.sh
22335
 
  chmod +x conf$$.sh
22336
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22337
 
    PATH_SEPARATOR=';'
22338
 
  else
22339
 
    PATH_SEPARATOR=:
22340
 
  fi
22341
 
  rm -f conf$$.sh
22342
 
fi
22343
 
 
22344
 
 
22345
 
  as_lineno_1=$LINENO
22346
 
  as_lineno_2=$LINENO
22347
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22348
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22349
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
22350
 
  # Find who we are.  Look in the path if we contain no path at all
22351
 
  # relative or not.
22352
 
  case $0 in
22353
 
    *[\\/]* ) as_myself=$0 ;;
22354
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22355
 
for as_dir in $PATH
22356
 
do
22357
 
  IFS=$as_save_IFS
22358
 
  test -z "$as_dir" && as_dir=.
22359
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22360
 
done
22361
 
 
22362
 
       ;;
22363
 
  esac
22364
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
22365
 
  # in which case we are not to be found in the path.
22366
 
  if test "x$as_myself" = x; then
22367
 
    as_myself=$0
22368
 
  fi
22369
 
  if test ! -f "$as_myself"; then
22370
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22371
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22372
 
   { (exit 1); exit 1; }; }
22373
 
  fi
22374
 
  case $CONFIG_SHELL in
22375
 
  '')
22376
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22377
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22378
 
do
22379
 
  IFS=$as_save_IFS
22380
 
  test -z "$as_dir" && as_dir=.
22381
 
  for as_base in sh bash ksh sh5; do
22382
 
         case $as_dir in
22383
 
         /*)
22384
 
           if ("$as_dir/$as_base" -c '
22385
 
  as_lineno_1=$LINENO
22386
 
  as_lineno_2=$LINENO
22387
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22388
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22389
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22390
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22391
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22392
 
             CONFIG_SHELL=$as_dir/$as_base
22393
 
             export CONFIG_SHELL
22394
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22395
 
           fi;;
22396
 
         esac
22397
 
       done
22398
 
done
22399
 
;;
22400
 
  esac
 
24015
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
24016
            s//\1/
 
24017
            q
 
24018
          }
 
24019
          /^X\/\(\/\/\)$/{
 
24020
            s//\1/
 
24021
            q
 
24022
          }
 
24023
          /^X\/\(\/\).*/{
 
24024
            s//\1/
 
24025
            q
 
24026
          }
 
24027
          s/.*/./; q'`
 
24028
 
 
24029
# CDPATH.
 
24030
$as_unset CDPATH
 
24031
 
 
24032
 
 
24033
 
 
24034
  as_lineno_1=$LINENO
 
24035
  as_lineno_2=$LINENO
 
24036
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
24037
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22401
24038
 
22402
24039
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22403
24040
  # uniformly replaced by the line number.  The first 'sed' inserts a
22404
 
  # line-number line before each line; the second 'sed' does the real
22405
 
  # work.  The second script uses 'N' to pair each line-number line
22406
 
  # with the numbered line, and appends trailing '-' during
22407
 
  # substitution so that $LINENO is not a special case at line end.
 
24041
  # line-number line after each line using $LINENO; the second 'sed'
 
24042
  # does the real work.  The second script uses 'N' to pair each
 
24043
  # line-number line with the line containing $LINENO, and appends
 
24044
  # trailing '-' during substitution so that $LINENO is not a special
 
24045
  # case at line end.
22408
24046
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22409
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22410
 
  sed '=' <$as_myself |
 
24047
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
24048
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
24049
  sed -n '
 
24050
    p
 
24051
    /[$]LINENO/=
 
24052
  ' <$as_myself |
22411
24053
    sed '
 
24054
      s/[$]LINENO.*/&-/
 
24055
      t lineno
 
24056
      b
 
24057
      :lineno
22412
24058
      N
22413
 
      s,$,-,
22414
 
      : loop
22415
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
24059
      :loop
 
24060
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22416
24061
      t loop
22417
 
      s,-$,,
22418
 
      s,^['$as_cr_digits']*\n,,
 
24062
      s/-\n.*//
22419
24063
    ' >$as_me.lineno &&
22420
 
  chmod +x $as_me.lineno ||
22421
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22422
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
24064
  chmod +x "$as_me.lineno" ||
 
24065
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22423
24066
   { (exit 1); exit 1; }; }
22424
24067
 
22425
24068
  # Don't try to exec as it changes $[0], causing all sort of problems
22426
24069
  # (the dirname of $[0] is not the place where we might find the
22427
 
  # original and so on.  Autoconf is especially sensible to this).
22428
 
  . ./$as_me.lineno
 
24070
  # original and so on.  Autoconf is especially sensitive to this).
 
24071
  . "./$as_me.lineno"
22429
24072
  # Exit status is that of the last command.
22430
24073
  exit
22431
24074
}
22432
24075
 
22433
24076
 
22434
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22435
 
  *c*,-n*) ECHO_N= ECHO_C='
22436
 
' ECHO_T='      ' ;;
22437
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22438
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
24077
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
24078
  as_dirname=dirname
 
24079
else
 
24080
  as_dirname=false
 
24081
fi
 
24082
 
 
24083
ECHO_C= ECHO_N= ECHO_T=
 
24084
case `echo -n x` in
 
24085
-n*)
 
24086
  case `echo 'x\c'` in
 
24087
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
24088
  *)   ECHO_C='\c';;
 
24089
  esac;;
 
24090
*)
 
24091
  ECHO_N='-n';;
22439
24092
esac
22440
24093
 
22441
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
24094
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
24095
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22442
24096
  as_expr=expr
22443
24097
else
22444
24098
  as_expr=false
22445
24099
fi
22446
24100
 
22447
24101
rm -f conf$$ conf$$.exe conf$$.file
 
24102
if test -d conf$$.dir; then
 
24103
  rm -f conf$$.dir/conf$$.file
 
24104
else
 
24105
  rm -f conf$$.dir
 
24106
  mkdir conf$$.dir
 
24107
fi
22448
24108
echo >conf$$.file
22449
24109
if ln -s conf$$.file conf$$ 2>/dev/null; then
22450
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22451
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22452
 
  if test -f conf$$.exe; then
22453
 
    # Don't use ln at all; we don't have any links
 
24110
  as_ln_s='ln -s'
 
24111
  # ... but there are two gotchas:
 
24112
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
24113
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
24114
  # In both cases, we have to default to `cp -p'.
 
24115
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22454
24116
    as_ln_s='cp -p'
22455
 
  else
22456
 
    as_ln_s='ln -s'
22457
 
  fi
22458
24117
elif ln conf$$.file conf$$ 2>/dev/null; then
22459
24118
  as_ln_s=ln
22460
24119
else
22461
24120
  as_ln_s='cp -p'
22462
24121
fi
22463
 
rm -f conf$$ conf$$.exe conf$$.file
 
24122
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
24123
rmdir conf$$.dir 2>/dev/null
22464
24124
 
22465
24125
if mkdir -p . 2>/dev/null; then
22466
24126
  as_mkdir_p=:
22469
24129
  as_mkdir_p=false
22470
24130
fi
22471
24131
 
22472
 
as_executable_p="test -f"
 
24132
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
24133
# systems may use methods other than mode bits to determine executability.
 
24134
cat >conf$$.file <<_ASEOF
 
24135
#! /bin/sh
 
24136
exit 0
 
24137
_ASEOF
 
24138
chmod +x conf$$.file
 
24139
if test -x conf$$.file >/dev/null 2>&1; then
 
24140
  as_executable_p="test -x"
 
24141
else
 
24142
  as_executable_p=:
 
24143
fi
 
24144
rm -f conf$$.file
22473
24145
 
22474
24146
# Sed expression to map a string onto a valid CPP name.
22475
24147
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22478
24150
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22479
24151
 
22480
24152
 
22481
 
# IFS
22482
 
# We need space, tab and new line, in precisely that order.
22483
 
as_nl='
22484
 
'
22485
 
IFS="   $as_nl"
22486
 
 
22487
 
# CDPATH.
22488
 
$as_unset CDPATH
22489
 
 
22490
24153
exec 6>&1
22491
24154
 
22492
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
24155
# Save the log message, to keep $[0] and so on meaningful, and to
22493
24156
# report actual input values of CONFIG_FILES etc. instead of their
22494
 
# values after options handling.  Logging --version etc. is OK.
22495
 
exec 5>>config.log
22496
 
{
22497
 
  echo
22498
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22499
 
## Running $as_me. ##
22500
 
_ASBOX
22501
 
} >&5
22502
 
cat >&5 <<_CSEOF
22503
 
 
22504
 
This file was extended by HP Linux Imaging and Printing $as_me 0.9.11, which was
22505
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
24157
# values after options handling.
 
24158
ac_log="
 
24159
This file was extended by HP Linux Imaging and Printing $as_me 1.6.7, which was
 
24160
generated by GNU Autoconf 2.60.  Invocation command line was
22506
24161
 
22507
24162
  CONFIG_FILES    = $CONFIG_FILES
22508
24163
  CONFIG_HEADERS  = $CONFIG_HEADERS
22510
24165
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22511
24166
  $ $0 $@
22512
24167
 
22513
 
_CSEOF
22514
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22515
 
echo >&5
 
24168
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
24169
"
 
24170
 
22516
24171
_ACEOF
22517
24172
 
 
24173
cat >>$CONFIG_STATUS <<_ACEOF
22518
24174
# Files that config.status was made for.
22519
 
if test -n "$ac_config_files"; then
22520
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22521
 
fi
22522
 
 
22523
 
if test -n "$ac_config_headers"; then
22524
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22525
 
fi
22526
 
 
22527
 
if test -n "$ac_config_links"; then
22528
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22529
 
fi
22530
 
 
22531
 
if test -n "$ac_config_commands"; then
22532
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22533
 
fi
 
24175
config_files="$ac_config_files"
 
24176
config_commands="$ac_config_commands"
 
24177
 
 
24178
_ACEOF
22534
24179
 
22535
24180
cat >>$CONFIG_STATUS <<\_ACEOF
22536
 
 
22537
24181
ac_cs_usage="\
22538
24182
\`$as_me' instantiates files from templates according to the
22539
24183
current configuration.
22555
24199
$config_commands
22556
24200
 
22557
24201
Report bugs to <bug-autoconf@gnu.org>."
 
24202
 
22558
24203
_ACEOF
22559
 
 
22560
24204
cat >>$CONFIG_STATUS <<_ACEOF
22561
24205
ac_cs_version="\\
22562
 
HP Linux Imaging and Printing config.status 0.9.11
22563
 
configured by $0, generated by GNU Autoconf 2.59,
22564
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
24206
HP Linux Imaging and Printing config.status 1.6.7
 
24207
configured by $0, generated by GNU Autoconf 2.60,
 
24208
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22565
24209
 
22566
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
24210
Copyright (C) 2006 Free Software Foundation, Inc.
22567
24211
This config.status script is free software; the Free Software Foundation
22568
24212
gives unlimited permission to copy, distribute and modify it."
22569
 
srcdir=$srcdir
22570
 
INSTALL="$INSTALL"
 
24213
 
 
24214
ac_pwd='$ac_pwd'
 
24215
srcdir='$srcdir'
 
24216
INSTALL='$INSTALL'
22571
24217
_ACEOF
22572
24218
 
22573
24219
cat >>$CONFIG_STATUS <<\_ACEOF
22578
24224
do
22579
24225
  case $1 in
22580
24226
  --*=*)
22581
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
22582
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
24227
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
24228
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22583
24229
    ac_shift=:
22584
24230
    ;;
22585
 
  -*)
 
24231
  *)
22586
24232
    ac_option=$1
22587
24233
    ac_optarg=$2
22588
24234
    ac_shift=shift
22589
24235
    ;;
22590
 
  *) # This is not an option, so the user has probably given explicit
22591
 
     # arguments.
22592
 
     ac_option=$1
22593
 
     ac_need_defaults=false;;
22594
24236
  esac
22595
24237
 
22596
24238
  case $ac_option in
22597
24239
  # Handling of the options.
22598
 
_ACEOF
22599
 
cat >>$CONFIG_STATUS <<\_ACEOF
22600
24240
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22601
24241
    ac_cs_recheck=: ;;
22602
 
  --version | --vers* | -V )
22603
 
    echo "$ac_cs_version"; exit 0 ;;
22604
 
  --he | --h)
22605
 
    # Conflict between --help and --header
22606
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
22607
 
Try \`$0 --help' for more information." >&5
22608
 
echo "$as_me: error: ambiguous option: $1
22609
 
Try \`$0 --help' for more information." >&2;}
22610
 
   { (exit 1); exit 1; }; };;
22611
 
  --help | --hel | -h )
22612
 
    echo "$ac_cs_usage"; exit 0 ;;
22613
 
  --debug | --d* | -d )
 
24242
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
24243
    echo "$ac_cs_version"; exit ;;
 
24244
  --debug | --debu | --deb | --de | --d | -d )
22614
24245
    debug=: ;;
22615
24246
  --file | --fil | --fi | --f )
22616
24247
    $ac_shift
22617
24248
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22618
24249
    ac_need_defaults=false;;
22619
 
  --header | --heade | --head | --hea )
22620
 
    $ac_shift
22621
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22622
 
    ac_need_defaults=false;;
 
24250
  --he | --h |  --help | --hel | -h )
 
24251
    echo "$ac_cs_usage"; exit ;;
22623
24252
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22624
24253
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22625
24254
    ac_cs_silent=: ;;
22626
24255
 
22627
24256
  # This is an error.
22628
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22629
 
Try \`$0 --help' for more information." >&5
22630
 
echo "$as_me: error: unrecognized option: $1
22631
 
Try \`$0 --help' for more information." >&2;}
 
24257
  -*) { echo "$as_me: error: unrecognized option: $1
 
24258
Try \`$0 --help' for more information." >&2
22632
24259
   { (exit 1); exit 1; }; } ;;
22633
24260
 
22634
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
24261
  *) ac_config_targets="$ac_config_targets $1"
 
24262
     ac_need_defaults=false ;;
22635
24263
 
22636
24264
  esac
22637
24265
  shift
22647
24275
_ACEOF
22648
24276
cat >>$CONFIG_STATUS <<_ACEOF
22649
24277
if \$ac_cs_recheck; then
22650
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22651
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
24278
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
24279
  CONFIG_SHELL=$SHELL
 
24280
  export CONFIG_SHELL
 
24281
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22652
24282
fi
22653
24283
 
22654
24284
_ACEOF
 
24285
cat >>$CONFIG_STATUS <<\_ACEOF
 
24286
exec 5>>config.log
 
24287
{
 
24288
  echo
 
24289
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
24290
## Running $as_me. ##
 
24291
_ASBOX
 
24292
  echo "$ac_log"
 
24293
} >&5
22655
24294
 
 
24295
_ACEOF
22656
24296
cat >>$CONFIG_STATUS <<_ACEOF
22657
24297
#
22658
 
# INIT-COMMANDS section.
 
24298
# INIT-COMMANDS
22659
24299
#
22660
 
 
22661
24300
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22662
24301
 
22663
24302
_ACEOF
22664
24303
 
22665
 
 
22666
 
 
22667
24304
cat >>$CONFIG_STATUS <<\_ACEOF
 
24305
 
 
24306
# Handling of arguments.
22668
24307
for ac_config_target in $ac_config_targets
22669
24308
do
22670
 
  case "$ac_config_target" in
22671
 
  # Handling of arguments.
22672
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22673
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
24309
  case $ac_config_target in
 
24310
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
24311
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
24312
 
22674
24313
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22675
24314
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22676
24315
   { (exit 1); exit 1; }; };;
22677
24316
  esac
22678
24317
done
22679
24318
 
 
24319
 
22680
24320
# If the user did not use the arguments to specify the items to instantiate,
22681
24321
# then the envvar interface is used.  Set only those that are not.
22682
24322
# We use the long form for the default assignment because of an extremely
22687
24327
fi
22688
24328
 
22689
24329
# Have a temporary directory for convenience.  Make it in the build tree
22690
 
# simply because there is no reason to put it here, and in addition,
 
24330
# simply because there is no reason against having it here, and in addition,
22691
24331
# creating and moving files from /tmp can sometimes cause problems.
22692
 
# Create a temporary directory, and hook for its removal unless debugging.
 
24332
# Hook for its removal unless debugging.
 
24333
# Note that there is a small window in which the directory will not be cleaned:
 
24334
# after its creation but before its name has been assigned to `$tmp'.
22693
24335
$debug ||
22694
24336
{
22695
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
24337
  tmp=
 
24338
  trap 'exit_status=$?
 
24339
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
24340
' 0
22696
24341
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22697
24342
}
22698
 
 
22699
24343
# Create a (secure) tmp directory for tmp files.
22700
24344
 
22701
24345
{
22702
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
24346
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22703
24347
  test -n "$tmp" && test -d "$tmp"
22704
24348
}  ||
22705
24349
{
22706
 
  tmp=./confstat$$-$RANDOM
22707
 
  (umask 077 && mkdir $tmp)
 
24350
  tmp=./conf$$-$RANDOM
 
24351
  (umask 077 && mkdir "$tmp")
22708
24352
} ||
22709
24353
{
22710
24354
   echo "$me: cannot create a temporary directory in ." >&2
22711
24355
   { (exit 1); exit 1; }
22712
24356
}
22713
24357
 
22714
 
_ACEOF
22715
 
 
22716
 
cat >>$CONFIG_STATUS <<_ACEOF
22717
 
 
22718
24358
#
22719
 
# CONFIG_FILES section.
 
24359
# Set up the sed scripts for CONFIG_FILES section.
22720
24360
#
22721
24361
 
22722
24362
# No need to generate the scripts if there are no CONFIG_FILES.
22723
24363
# This happens for instance when ./config.status config.h
22724
 
if test -n "\$CONFIG_FILES"; then
22725
 
  # Protect against being on the right side of a sed subst in config.status.
22726
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22727
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22728
 
s,@SHELL@,$SHELL,;t t
22729
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22730
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22731
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22732
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22733
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22734
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22735
 
s,@exec_prefix@,$exec_prefix,;t t
22736
 
s,@prefix@,$prefix,;t t
22737
 
s,@program_transform_name@,$program_transform_name,;t t
22738
 
s,@bindir@,$bindir,;t t
22739
 
s,@sbindir@,$sbindir,;t t
22740
 
s,@libexecdir@,$libexecdir,;t t
22741
 
s,@datadir@,$datadir,;t t
22742
 
s,@sysconfdir@,$sysconfdir,;t t
22743
 
s,@sharedstatedir@,$sharedstatedir,;t t
22744
 
s,@localstatedir@,$localstatedir,;t t
22745
 
s,@libdir@,$libdir,;t t
22746
 
s,@includedir@,$includedir,;t t
22747
 
s,@oldincludedir@,$oldincludedir,;t t
22748
 
s,@infodir@,$infodir,;t t
22749
 
s,@mandir@,$mandir,;t t
22750
 
s,@build_alias@,$build_alias,;t t
22751
 
s,@host_alias@,$host_alias,;t t
22752
 
s,@target_alias@,$target_alias,;t t
22753
 
s,@DEFS@,$DEFS,;t t
22754
 
s,@ECHO_C@,$ECHO_C,;t t
22755
 
s,@ECHO_N@,$ECHO_N,;t t
22756
 
s,@ECHO_T@,$ECHO_T,;t t
22757
 
s,@LIBS@,$LIBS,;t t
22758
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22759
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22760
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22761
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
22762
 
s,@PACKAGE@,$PACKAGE,;t t
22763
 
s,@VERSION@,$VERSION,;t t
22764
 
s,@ACLOCAL@,$ACLOCAL,;t t
22765
 
s,@AUTOCONF@,$AUTOCONF,;t t
22766
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
22767
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
22768
 
s,@MAKEINFO@,$MAKEINFO,;t t
22769
 
s,@install_sh@,$install_sh,;t t
22770
 
s,@STRIP@,$STRIP,;t t
22771
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22772
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22773
 
s,@mkdir_p@,$mkdir_p,;t t
22774
 
s,@AWK@,$AWK,;t t
22775
 
s,@SET_MAKE@,$SET_MAKE,;t t
22776
 
s,@am__leading_dot@,$am__leading_dot,;t t
22777
 
s,@AMTAR@,$AMTAR,;t t
22778
 
s,@am__tar@,$am__tar,;t t
22779
 
s,@am__untar@,$am__untar,;t t
22780
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22781
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22782
 
s,@MAINT@,$MAINT,;t t
22783
 
s,@build@,$build,;t t
22784
 
s,@build_cpu@,$build_cpu,;t t
22785
 
s,@build_vendor@,$build_vendor,;t t
22786
 
s,@build_os@,$build_os,;t t
22787
 
s,@host@,$host,;t t
22788
 
s,@host_cpu@,$host_cpu,;t t
22789
 
s,@host_vendor@,$host_vendor,;t t
22790
 
s,@host_os@,$host_os,;t t
22791
 
s,@CC@,$CC,;t t
22792
 
s,@CFLAGS@,$CFLAGS,;t t
22793
 
s,@LDFLAGS@,$LDFLAGS,;t t
22794
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
22795
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
22796
 
s,@EXEEXT@,$EXEEXT,;t t
22797
 
s,@OBJEXT@,$OBJEXT,;t t
22798
 
s,@DEPDIR@,$DEPDIR,;t t
22799
 
s,@am__include@,$am__include,;t t
22800
 
s,@am__quote@,$am__quote,;t t
22801
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22802
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22803
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22804
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
22805
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22806
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22807
 
s,@EGREP@,$EGREP,;t t
22808
 
s,@LN_S@,$LN_S,;t t
22809
 
s,@ECHO@,$ECHO,;t t
22810
 
s,@AR@,$AR,;t t
22811
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
22812
 
s,@RANLIB@,$RANLIB,;t t
22813
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22814
 
s,@CPP@,$CPP,;t t
22815
 
s,@CXX@,$CXX,;t t
22816
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
22817
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22818
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22819
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22820
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22821
 
s,@CXXCPP@,$CXXCPP,;t t
22822
 
s,@F77@,$F77,;t t
22823
 
s,@FFLAGS@,$FFLAGS,;t t
22824
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
22825
 
s,@LIBTOOL@,$LIBTOOL,;t t
22826
 
s,@subdirs@,$subdirs,;t t
22827
 
s,@PYTHON@,$PYTHON,;t t
22828
 
s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
22829
 
s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
22830
 
s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
22831
 
s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
22832
 
s,@pythondir@,$pythondir,;t t
22833
 
s,@pkgpythondir@,$pkgpythondir,;t t
22834
 
s,@pyexecdir@,$pyexecdir,;t t
22835
 
s,@pkgpyexecdir@,$pkgpyexecdir,;t t
22836
 
s,@PYUIC@,$PYUIC,;t t
22837
 
s,@ac_ct_PYUIC@,$ac_ct_PYUIC,;t t
22838
 
s,@CHKCONFIG@,$CHKCONFIG,;t t
22839
 
s,@ac_pt_CHKCONFIG@,$ac_pt_CHKCONFIG,;t t
22840
 
s,@INSTALLINITD@,$INSTALLINITD,;t t
22841
 
s,@ac_pt_INSTALLINITD@,$ac_pt_INSTALLINITD,;t t
22842
 
s,@CUPS_BACKEND_PATH@,$CUPS_BACKEND_PATH,;t t
22843
 
s,@HPLIP_PPD_PATH@,$HPLIP_PPD_PATH,;t t
22844
 
s,@RPM_INSTALL@,$RPM_INSTALL,;t t
22845
 
s,@network_build@,$network_build,;t t
22846
 
s,@pp_build@,$pp_build,;t t
22847
 
s,@ICON_PATH@,$ICON_PATH,;t t
22848
 
s,@ICON_FILE@,$ICON_FILE,;t t
22849
 
s,@LIBOBJS@,$LIBOBJS,;t t
22850
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22851
 
CEOF
22852
 
 
22853
 
_ACEOF
22854
 
 
22855
 
  cat >>$CONFIG_STATUS <<\_ACEOF
22856
 
  # Split the substitutions into bite-sized pieces for seds with
22857
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
22858
 
  ac_max_sed_lines=48
22859
 
  ac_sed_frag=1 # Number of current file.
22860
 
  ac_beg=1 # First line for current file.
22861
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
22862
 
  ac_more_lines=:
22863
 
  ac_sed_cmds=
22864
 
  while $ac_more_lines; do
22865
 
    if test $ac_beg -gt 1; then
22866
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22867
 
    else
22868
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22869
 
    fi
22870
 
    if test ! -s $tmp/subs.frag; then
22871
 
      ac_more_lines=false
22872
 
    else
22873
 
      # The purpose of the label and of the branching condition is to
22874
 
      # speed up the sed processing (if there are no `@' at all, there
22875
 
      # is no need to browse any of the substitutions).
22876
 
      # These are the two extra sed commands mentioned above.
22877
 
      (echo ':t
22878
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22879
 
      if test -z "$ac_sed_cmds"; then
22880
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22881
 
      else
22882
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22883
 
      fi
22884
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
22885
 
      ac_beg=$ac_end
22886
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
22887
 
    fi
22888
 
  done
22889
 
  if test -z "$ac_sed_cmds"; then
22890
 
    ac_sed_cmds=cat
22891
 
  fi
 
24364
if test -n "$CONFIG_FILES"; then
 
24365
 
 
24366
_ACEOF
 
24367
 
 
24368
 
 
24369
 
 
24370
ac_delim='%!_!# '
 
24371
for ac_last_try in false false false false false :; do
 
24372
  cat >conf$$subs.sed <<_ACEOF
 
24373
SHELL!$SHELL$ac_delim
 
24374
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
24375
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
24376
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
24377
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
24378
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
24379
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
24380
exec_prefix!$exec_prefix$ac_delim
 
24381
prefix!$prefix$ac_delim
 
24382
program_transform_name!$program_transform_name$ac_delim
 
24383
bindir!$bindir$ac_delim
 
24384
sbindir!$sbindir$ac_delim
 
24385
libexecdir!$libexecdir$ac_delim
 
24386
datarootdir!$datarootdir$ac_delim
 
24387
datadir!$datadir$ac_delim
 
24388
sysconfdir!$sysconfdir$ac_delim
 
24389
sharedstatedir!$sharedstatedir$ac_delim
 
24390
localstatedir!$localstatedir$ac_delim
 
24391
includedir!$includedir$ac_delim
 
24392
oldincludedir!$oldincludedir$ac_delim
 
24393
docdir!$docdir$ac_delim
 
24394
infodir!$infodir$ac_delim
 
24395
htmldir!$htmldir$ac_delim
 
24396
dvidir!$dvidir$ac_delim
 
24397
pdfdir!$pdfdir$ac_delim
 
24398
psdir!$psdir$ac_delim
 
24399
libdir!$libdir$ac_delim
 
24400
localedir!$localedir$ac_delim
 
24401
mandir!$mandir$ac_delim
 
24402
DEFS!$DEFS$ac_delim
 
24403
ECHO_C!$ECHO_C$ac_delim
 
24404
ECHO_N!$ECHO_N$ac_delim
 
24405
ECHO_T!$ECHO_T$ac_delim
 
24406
LIBS!$LIBS$ac_delim
 
24407
build_alias!$build_alias$ac_delim
 
24408
host_alias!$host_alias$ac_delim
 
24409
target_alias!$target_alias$ac_delim
 
24410
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
24411
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
24412
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
24413
CYGPATH_W!$CYGPATH_W$ac_delim
 
24414
PACKAGE!$PACKAGE$ac_delim
 
24415
VERSION!$VERSION$ac_delim
 
24416
ACLOCAL!$ACLOCAL$ac_delim
 
24417
AUTOCONF!$AUTOCONF$ac_delim
 
24418
AUTOMAKE!$AUTOMAKE$ac_delim
 
24419
AUTOHEADER!$AUTOHEADER$ac_delim
 
24420
MAKEINFO!$MAKEINFO$ac_delim
 
24421
install_sh!$install_sh$ac_delim
 
24422
STRIP!$STRIP$ac_delim
 
24423
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
24424
mkdir_p!$mkdir_p$ac_delim
 
24425
AWK!$AWK$ac_delim
 
24426
SET_MAKE!$SET_MAKE$ac_delim
 
24427
am__leading_dot!$am__leading_dot$ac_delim
 
24428
AMTAR!$AMTAR$ac_delim
 
24429
am__tar!$am__tar$ac_delim
 
24430
am__untar!$am__untar$ac_delim
 
24431
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
24432
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
24433
MAINT!$MAINT$ac_delim
 
24434
build!$build$ac_delim
 
24435
build_cpu!$build_cpu$ac_delim
 
24436
build_vendor!$build_vendor$ac_delim
 
24437
build_os!$build_os$ac_delim
 
24438
host!$host$ac_delim
 
24439
host_cpu!$host_cpu$ac_delim
 
24440
host_vendor!$host_vendor$ac_delim
 
24441
host_os!$host_os$ac_delim
 
24442
CC!$CC$ac_delim
 
24443
CFLAGS!$CFLAGS$ac_delim
 
24444
LDFLAGS!$LDFLAGS$ac_delim
 
24445
CPPFLAGS!$CPPFLAGS$ac_delim
 
24446
ac_ct_CC!$ac_ct_CC$ac_delim
 
24447
EXEEXT!$EXEEXT$ac_delim
 
24448
OBJEXT!$OBJEXT$ac_delim
 
24449
DEPDIR!$DEPDIR$ac_delim
 
24450
am__include!$am__include$ac_delim
 
24451
am__quote!$am__quote$ac_delim
 
24452
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
24453
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
24454
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
24455
CCDEPMODE!$CCDEPMODE$ac_delim
 
24456
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
24457
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
24458
GREP!$GREP$ac_delim
 
24459
EGREP!$EGREP$ac_delim
 
24460
LN_S!$LN_S$ac_delim
 
24461
ECHO!$ECHO$ac_delim
 
24462
AR!$AR$ac_delim
 
24463
RANLIB!$RANLIB$ac_delim
 
24464
CPP!$CPP$ac_delim
 
24465
CXX!$CXX$ac_delim
 
24466
CXXFLAGS!$CXXFLAGS$ac_delim
 
24467
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
24468
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
24469
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
24470
_ACEOF
 
24471
 
 
24472
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
24473
    break
 
24474
  elif $ac_last_try; then
 
24475
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24476
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24477
   { (exit 1); exit 1; }; }
 
24478
  else
 
24479
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24480
  fi
 
24481
done
 
24482
 
 
24483
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24484
if test -n "$ac_eof"; then
 
24485
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24486
  ac_eof=`expr $ac_eof + 1`
 
24487
fi
 
24488
 
 
24489
cat >>$CONFIG_STATUS <<_ACEOF
 
24490
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
24491
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24492
_ACEOF
 
24493
sed '
 
24494
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24495
s/^/s,@/; s/!/@,|#_!!_#|/
 
24496
:n
 
24497
t n
 
24498
s/'"$ac_delim"'$/,g/; t
 
24499
s/$/\\/; p
 
24500
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24501
' >>$CONFIG_STATUS <conf$$subs.sed
 
24502
rm -f conf$$subs.sed
 
24503
cat >>$CONFIG_STATUS <<_ACEOF
 
24504
CEOF$ac_eof
 
24505
_ACEOF
 
24506
 
 
24507
 
 
24508
ac_delim='%!_!# '
 
24509
for ac_last_try in false false false false false :; do
 
24510
  cat >conf$$subs.sed <<_ACEOF
 
24511
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
24512
CXXCPP!$CXXCPP$ac_delim
 
24513
F77!$F77$ac_delim
 
24514
FFLAGS!$FFLAGS$ac_delim
 
24515
ac_ct_F77!$ac_ct_F77$ac_delim
 
24516
LIBTOOL!$LIBTOOL$ac_delim
 
24517
subdirs!$subdirs$ac_delim
 
24518
PYTHON!$PYTHON$ac_delim
 
24519
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
 
24520
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
 
24521
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
 
24522
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
 
24523
pythondir!$pythondir$ac_delim
 
24524
pkgpythondir!$pkgpythondir$ac_delim
 
24525
pyexecdir!$pyexecdir$ac_delim
 
24526
pkgpyexecdir!$pkgpyexecdir$ac_delim
 
24527
PYUIC!$PYUIC$ac_delim
 
24528
ac_ct_PYUIC!$ac_ct_PYUIC$ac_delim
 
24529
CHKCONFIG!$CHKCONFIG$ac_delim
 
24530
INSTALLINITD!$INSTALLINITD$ac_delim
 
24531
CUPS_BACKEND_PATH!$CUPS_BACKEND_PATH$ac_delim
 
24532
HPLIP_PPD_PATH!$HPLIP_PPD_PATH$ac_delim
 
24533
RPM_INSTALL!$RPM_INSTALL$ac_delim
 
24534
network_build!$network_build$ac_delim
 
24535
pp_build!$pp_build$ac_delim
 
24536
fax_build!$fax_build$ac_delim
 
24537
ICON_PATH!$ICON_PATH$ac_delim
 
24538
ICON_FILE!$ICON_FILE$ac_delim
 
24539
LIBOBJS!$LIBOBJS$ac_delim
 
24540
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
24541
_ACEOF
 
24542
 
 
24543
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
 
24544
    break
 
24545
  elif $ac_last_try; then
 
24546
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24547
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24548
   { (exit 1); exit 1; }; }
 
24549
  else
 
24550
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24551
  fi
 
24552
done
 
24553
 
 
24554
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24555
if test -n "$ac_eof"; then
 
24556
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24557
  ac_eof=`expr $ac_eof + 1`
 
24558
fi
 
24559
 
 
24560
cat >>$CONFIG_STATUS <<_ACEOF
 
24561
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
24562
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
24563
_ACEOF
 
24564
sed '
 
24565
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24566
s/^/s,@/; s/!/@,|#_!!_#|/
 
24567
:n
 
24568
t n
 
24569
s/'"$ac_delim"'$/,g/; t
 
24570
s/$/\\/; p
 
24571
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24572
' >>$CONFIG_STATUS <conf$$subs.sed
 
24573
rm -f conf$$subs.sed
 
24574
cat >>$CONFIG_STATUS <<_ACEOF
 
24575
:end
 
24576
s/|#_!!_#|//g
 
24577
CEOF$ac_eof
 
24578
_ACEOF
 
24579
 
 
24580
 
 
24581
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
24582
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
24583
# trailing colons and then remove the whole line if VPATH becomes empty
 
24584
# (actually we leave an empty line to preserve line numbers).
 
24585
if test "x$srcdir" = x.; then
 
24586
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
24587
s/:*\$(srcdir):*/:/
 
24588
s/:*\${srcdir}:*/:/
 
24589
s/:*@srcdir@:*/:/
 
24590
s/^\([^=]*=[     ]*\):*/\1/
 
24591
s/:*$//
 
24592
s/^[^=]*=[       ]*$//
 
24593
}'
 
24594
fi
 
24595
 
 
24596
cat >>$CONFIG_STATUS <<\_ACEOF
22892
24597
fi # test -n "$CONFIG_FILES"
22893
24598
 
22894
 
_ACEOF
22895
 
cat >>$CONFIG_STATUS <<\_ACEOF
22896
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22897
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22898
 
  case $ac_file in
22899
 
  - | *:- | *:-:* ) # input from stdin
22900
 
        cat >$tmp/stdin
22901
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22902
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22903
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22904
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22905
 
  * )   ac_file_in=$ac_file.in ;;
22906
 
  esac
22907
 
 
22908
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22909
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
24599
 
 
24600
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
 
24601
do
 
24602
  case $ac_tag in
 
24603
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
24604
  esac
 
24605
  case $ac_mode$ac_tag in
 
24606
  :[FHL]*:*);;
 
24607
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
24608
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24609
   { (exit 1); exit 1; }; };;
 
24610
  :[FH]-) ac_tag=-:-;;
 
24611
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
24612
  esac
 
24613
  ac_save_IFS=$IFS
 
24614
  IFS=:
 
24615
  set x $ac_tag
 
24616
  IFS=$ac_save_IFS
 
24617
  shift
 
24618
  ac_file=$1
 
24619
  shift
 
24620
 
 
24621
  case $ac_mode in
 
24622
  :L) ac_source=$1;;
 
24623
  :[FH])
 
24624
    ac_file_inputs=
 
24625
    for ac_f
 
24626
    do
 
24627
      case $ac_f in
 
24628
      -) ac_f="$tmp/stdin";;
 
24629
      *) # Look for the file first in the build tree, then in the source tree
 
24630
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
24631
         # because $ac_f cannot contain `:'.
 
24632
         test -f "$ac_f" ||
 
24633
           case $ac_f in
 
24634
           [\\/$]*) false;;
 
24635
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
24636
           esac ||
 
24637
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24638
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24639
   { (exit 1); exit 1; }; };;
 
24640
      esac
 
24641
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24642
    done
 
24643
 
 
24644
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
24645
    # use $as_me), people would be surprised to read:
 
24646
    #    /* config.h.  Generated by config.status.  */
 
24647
    configure_input="Generated from "`IFS=:
 
24648
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24649
    if test x"$ac_file" != x-; then
 
24650
      configure_input="$ac_file.  $configure_input"
 
24651
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
24652
echo "$as_me: creating $ac_file" >&6;}
 
24653
    fi
 
24654
 
 
24655
    case $ac_tag in
 
24656
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24657
    esac
 
24658
    ;;
 
24659
  esac
 
24660
 
 
24661
  ac_dir=`$as_dirname -- "$ac_file" ||
22910
24662
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22911
24663
         X"$ac_file" : 'X\(//\)[^/]' \| \
22912
24664
         X"$ac_file" : 'X\(//\)$' \| \
22913
 
         X"$ac_file" : 'X\(/\)' \| \
22914
 
         .     : '\(.\)' 2>/dev/null ||
 
24665
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22915
24666
echo X"$ac_file" |
22916
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22917
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22918
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22919
 
          /^X\(\/\).*/{ s//\1/; q; }
22920
 
          s/.*/./; q'`
22921
 
  { if $as_mkdir_p; then
22922
 
    mkdir -p "$ac_dir"
22923
 
  else
22924
 
    as_dir="$ac_dir"
 
24667
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24668
            s//\1/
 
24669
            q
 
24670
          }
 
24671
          /^X\(\/\/\)[^/].*/{
 
24672
            s//\1/
 
24673
            q
 
24674
          }
 
24675
          /^X\(\/\/\)$/{
 
24676
            s//\1/
 
24677
            q
 
24678
          }
 
24679
          /^X\(\/\).*/{
 
24680
            s//\1/
 
24681
            q
 
24682
          }
 
24683
          s/.*/./; q'`
 
24684
  { as_dir="$ac_dir"
 
24685
  case $as_dir in #(
 
24686
  -*) as_dir=./$as_dir;;
 
24687
  esac
 
24688
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22925
24689
    as_dirs=
22926
 
    while test ! -d "$as_dir"; do
22927
 
      as_dirs="$as_dir $as_dirs"
22928
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24690
    while :; do
 
24691
      case $as_dir in #(
 
24692
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24693
      *) as_qdir=$as_dir;;
 
24694
      esac
 
24695
      as_dirs="'$as_qdir' $as_dirs"
 
24696
      as_dir=`$as_dirname -- "$as_dir" ||
22929
24697
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22930
24698
         X"$as_dir" : 'X\(//\)[^/]' \| \
22931
24699
         X"$as_dir" : 'X\(//\)$' \| \
22932
 
         X"$as_dir" : 'X\(/\)' \| \
22933
 
         .     : '\(.\)' 2>/dev/null ||
 
24700
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22934
24701
echo X"$as_dir" |
22935
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22936
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22937
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22938
 
          /^X\(\/\).*/{ s//\1/; q; }
22939
 
          s/.*/./; q'`
 
24702
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24703
            s//\1/
 
24704
            q
 
24705
          }
 
24706
          /^X\(\/\/\)[^/].*/{
 
24707
            s//\1/
 
24708
            q
 
24709
          }
 
24710
          /^X\(\/\/\)$/{
 
24711
            s//\1/
 
24712
            q
 
24713
          }
 
24714
          /^X\(\/\).*/{
 
24715
            s//\1/
 
24716
            q
 
24717
          }
 
24718
          s/.*/./; q'`
 
24719
      test -d "$as_dir" && break
22940
24720
    done
22941
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22942
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22943
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
24721
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24722
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24723
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22944
24724
   { (exit 1); exit 1; }; }; }
22945
 
 
22946
24725
  ac_builddir=.
22947
24726
 
22948
 
if test "$ac_dir" != .; then
 
24727
case "$ac_dir" in
 
24728
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24729
*)
22949
24730
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22950
 
  # A "../" for each directory in $ac_dir_suffix.
22951
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22952
 
else
22953
 
  ac_dir_suffix= ac_top_builddir=
22954
 
fi
 
24731
  # A ".." for each directory in $ac_dir_suffix.
 
24732
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24733
  case $ac_top_builddir_sub in
 
24734
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24735
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
24736
  esac ;;
 
24737
esac
 
24738
ac_abs_top_builddir=$ac_pwd
 
24739
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
24740
# for backward compatibility:
 
24741
ac_top_builddir=$ac_top_build_prefix
22955
24742
 
22956
24743
case $srcdir in
22957
 
  .)  # No --srcdir option.  We are building in place.
 
24744
  .)  # We are building in place.
22958
24745
    ac_srcdir=.
22959
 
    if test -z "$ac_top_builddir"; then
22960
 
       ac_top_srcdir=.
22961
 
    else
22962
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22963
 
    fi ;;
22964
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
24746
    ac_top_srcdir=$ac_top_builddir_sub
 
24747
    ac_abs_top_srcdir=$ac_pwd ;;
 
24748
  [\\/]* | ?:[\\/]* )  # Absolute name.
22965
24749
    ac_srcdir=$srcdir$ac_dir_suffix;
22966
 
    ac_top_srcdir=$srcdir ;;
22967
 
  *) # Relative path.
22968
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22969
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22970
 
esac
22971
 
 
22972
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22973
 
# the directories may not exist.
22974
 
case `pwd` in
22975
 
.) ac_abs_builddir="$ac_dir";;
22976
 
*)
22977
 
  case "$ac_dir" in
22978
 
  .) ac_abs_builddir=`pwd`;;
22979
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22980
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22981
 
  esac;;
22982
 
esac
22983
 
case $ac_abs_builddir in
22984
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22985
 
*)
22986
 
  case ${ac_top_builddir}. in
22987
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22988
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22989
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22990
 
  esac;;
22991
 
esac
22992
 
case $ac_abs_builddir in
22993
 
.) ac_abs_srcdir=$ac_srcdir;;
22994
 
*)
22995
 
  case $ac_srcdir in
22996
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22997
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22998
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22999
 
  esac;;
23000
 
esac
23001
 
case $ac_abs_builddir in
23002
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23003
 
*)
23004
 
  case $ac_top_srcdir in
23005
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23006
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23007
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23008
 
  esac;;
23009
 
esac
23010
 
 
 
24750
    ac_top_srcdir=$srcdir
 
24751
    ac_abs_top_srcdir=$srcdir ;;
 
24752
  *) # Relative name.
 
24753
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
24754
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
24755
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
24756
esac
 
24757
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
24758
 
 
24759
 
 
24760
  case $ac_mode in
 
24761
  :F)
 
24762
  #
 
24763
  # CONFIG_FILE
 
24764
  #
23011
24765
 
23012
24766
  case $INSTALL in
23013
24767
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23014
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
24768
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23015
24769
  esac
23016
 
 
23017
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23018
 
  # use $as_me), people would be surprised to read:
23019
 
  #    /* config.h.  Generated by config.status.  */
23020
 
  if test x"$ac_file" = x-; then
23021
 
    configure_input=
23022
 
  else
23023
 
    configure_input="$ac_file.  "
23024
 
  fi
23025
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
23026
 
                                     sed 's,.*/,,'` by configure."
23027
 
 
23028
 
  # First look for the input files in the build tree, otherwise in the
23029
 
  # src tree.
23030
 
  ac_file_inputs=`IFS=:
23031
 
    for f in $ac_file_in; do
23032
 
      case $f in
23033
 
      -) echo $tmp/stdin ;;
23034
 
      [\\/$]*)
23035
 
         # Absolute (can't be DOS-style, as IFS=:)
23036
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23037
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23038
 
   { (exit 1); exit 1; }; }
23039
 
         echo "$f";;
23040
 
      *) # Relative
23041
 
         if test -f "$f"; then
23042
 
           # Build tree
23043
 
           echo "$f"
23044
 
         elif test -f "$srcdir/$f"; then
23045
 
           # Source tree
23046
 
           echo "$srcdir/$f"
23047
 
         else
23048
 
           # /dev/null tree
23049
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23050
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23051
 
   { (exit 1); exit 1; }; }
23052
 
         fi;;
23053
 
      esac
23054
 
    done` || { (exit 1); exit 1; }
23055
 
 
23056
 
  if test x"$ac_file" != x-; then
23057
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
23058
 
echo "$as_me: creating $ac_file" >&6;}
23059
 
    rm -f "$ac_file"
23060
 
  fi
23061
 
_ACEOF
 
24770
_ACEOF
 
24771
 
 
24772
cat >>$CONFIG_STATUS <<\_ACEOF
 
24773
# If the template does not know about datarootdir, expand it.
 
24774
# FIXME: This hack should be removed a few years after 2.60.
 
24775
ac_datarootdir_hack=; ac_datarootdir_seen=
 
24776
 
 
24777
case `sed -n '/datarootdir/ {
 
24778
  p
 
24779
  q
 
24780
}
 
24781
/@datadir@/p
 
24782
/@docdir@/p
 
24783
/@infodir@/p
 
24784
/@localedir@/p
 
24785
/@mandir@/p
 
24786
' $ac_file_inputs` in
 
24787
*datarootdir*) ac_datarootdir_seen=yes;;
 
24788
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
24789
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24790
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24791
_ACEOF
 
24792
cat >>$CONFIG_STATUS <<_ACEOF
 
24793
  ac_datarootdir_hack='
 
24794
  s&@datadir@&$datadir&g
 
24795
  s&@docdir@&$docdir&g
 
24796
  s&@infodir@&$infodir&g
 
24797
  s&@localedir@&$localedir&g
 
24798
  s&@mandir@&$mandir&g
 
24799
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
24800
esac
 
24801
_ACEOF
 
24802
 
 
24803
# Neutralize VPATH when `$srcdir' = `.'.
 
24804
# Shell code in configure.ac might set extrasub.
 
24805
# FIXME: do we really want to maintain this feature?
23062
24806
cat >>$CONFIG_STATUS <<_ACEOF
23063
24807
  sed "$ac_vpsub
23064
24808
$extrasub
23066
24810
cat >>$CONFIG_STATUS <<\_ACEOF
23067
24811
:t
23068
24812
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23069
 
s,@configure_input@,$configure_input,;t t
23070
 
s,@srcdir@,$ac_srcdir,;t t
23071
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23072
 
s,@top_srcdir@,$ac_top_srcdir,;t t
23073
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23074
 
s,@builddir@,$ac_builddir,;t t
23075
 
s,@abs_builddir@,$ac_abs_builddir,;t t
23076
 
s,@top_builddir@,$ac_top_builddir,;t t
23077
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23078
 
s,@INSTALL@,$ac_INSTALL,;t t
23079
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23080
 
  rm -f $tmp/stdin
23081
 
  if test x"$ac_file" != x-; then
23082
 
    mv $tmp/out $ac_file
23083
 
  else
23084
 
    cat $tmp/out
23085
 
    rm -f $tmp/out
23086
 
  fi
23087
 
 
23088
 
done
23089
 
_ACEOF
23090
 
cat >>$CONFIG_STATUS <<\_ACEOF
23091
 
 
23092
 
#
23093
 
# CONFIG_COMMANDS section.
23094
 
#
23095
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23096
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23097
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23098
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23099
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23100
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
23101
 
         X"$ac_dest" : 'X\(//\)$' \| \
23102
 
         X"$ac_dest" : 'X\(/\)' \| \
23103
 
         .     : '\(.\)' 2>/dev/null ||
23104
 
echo X"$ac_dest" |
23105
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23106
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23107
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23108
 
          /^X\(\/\).*/{ s//\1/; q; }
23109
 
          s/.*/./; q'`
23110
 
  { if $as_mkdir_p; then
23111
 
    mkdir -p "$ac_dir"
23112
 
  else
23113
 
    as_dir="$ac_dir"
23114
 
    as_dirs=
23115
 
    while test ! -d "$as_dir"; do
23116
 
      as_dirs="$as_dir $as_dirs"
23117
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23118
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23119
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23120
 
         X"$as_dir" : 'X\(//\)$' \| \
23121
 
         X"$as_dir" : 'X\(/\)' \| \
23122
 
         .     : '\(.\)' 2>/dev/null ||
23123
 
echo X"$as_dir" |
23124
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23125
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23126
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23127
 
          /^X\(\/\).*/{ s//\1/; q; }
23128
 
          s/.*/./; q'`
23129
 
    done
23130
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23131
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23132
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23133
 
   { (exit 1); exit 1; }; }; }
23134
 
 
23135
 
  ac_builddir=.
23136
 
 
23137
 
if test "$ac_dir" != .; then
23138
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23139
 
  # A "../" for each directory in $ac_dir_suffix.
23140
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23141
 
else
23142
 
  ac_dir_suffix= ac_top_builddir=
23143
 
fi
23144
 
 
23145
 
case $srcdir in
23146
 
  .)  # No --srcdir option.  We are building in place.
23147
 
    ac_srcdir=.
23148
 
    if test -z "$ac_top_builddir"; then
23149
 
       ac_top_srcdir=.
23150
 
    else
23151
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23152
 
    fi ;;
23153
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
23154
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23155
 
    ac_top_srcdir=$srcdir ;;
23156
 
  *) # Relative path.
23157
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23158
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23159
 
esac
23160
 
 
23161
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23162
 
# the directories may not exist.
23163
 
case `pwd` in
23164
 
.) ac_abs_builddir="$ac_dir";;
23165
 
*)
23166
 
  case "$ac_dir" in
23167
 
  .) ac_abs_builddir=`pwd`;;
23168
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23169
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23170
 
  esac;;
23171
 
esac
23172
 
case $ac_abs_builddir in
23173
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23174
 
*)
23175
 
  case ${ac_top_builddir}. in
23176
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23177
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23178
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23179
 
  esac;;
23180
 
esac
23181
 
case $ac_abs_builddir in
23182
 
.) ac_abs_srcdir=$ac_srcdir;;
23183
 
*)
23184
 
  case $ac_srcdir in
23185
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23186
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23187
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23188
 
  esac;;
23189
 
esac
23190
 
case $ac_abs_builddir in
23191
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23192
 
*)
23193
 
  case $ac_top_srcdir in
23194
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23195
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23196
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23197
 
  esac;;
23198
 
esac
23199
 
 
23200
 
 
23201
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23202
 
echo "$as_me: executing $ac_dest commands" >&6;}
23203
 
  case $ac_dest in
23204
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
24813
s&@configure_input@&$configure_input&;t t
 
24814
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24815
s&@srcdir@&$ac_srcdir&;t t
 
24816
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
24817
s&@top_srcdir@&$ac_top_srcdir&;t t
 
24818
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
24819
s&@builddir@&$ac_builddir&;t t
 
24820
s&@abs_builddir@&$ac_abs_builddir&;t t
 
24821
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
24822
s&@INSTALL@&$ac_INSTALL&;t t
 
24823
$ac_datarootdir_hack
 
24824
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
24825
 
 
24826
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
24827
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
24828
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24829
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24830
which seems to be undefined.  Please make sure it is defined." >&5
 
24831
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24832
which seems to be undefined.  Please make sure it is defined." >&2;}
 
24833
 
 
24834
  rm -f "$tmp/stdin"
 
24835
  case $ac_file in
 
24836
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
24837
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
24838
  esac
 
24839
 ;;
 
24840
 
 
24841
 
 
24842
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
24843
echo "$as_me: executing $ac_file commands" >&6;}
 
24844
 ;;
 
24845
  esac
 
24846
 
 
24847
 
 
24848
  case $ac_file$ac_mode in
 
24849
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23205
24850
  # Strip MF so we end up with the name of the file.
23206
24851
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23207
24852
  # Check whether this is an Automake generated Makefile or not.
23211
24856
  # each Makefile.in and add a new line on top of each file to say so.
23212
24857
  # So let's grep whole file.
23213
24858
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23214
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
24859
    dirpart=`$as_dirname -- "$mf" ||
23215
24860
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23216
24861
         X"$mf" : 'X\(//\)[^/]' \| \
23217
24862
         X"$mf" : 'X\(//\)$' \| \
23218
 
         X"$mf" : 'X\(/\)' \| \
23219
 
         .     : '\(.\)' 2>/dev/null ||
 
24863
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23220
24864
echo X"$mf" |
23221
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23222
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23223
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23224
 
          /^X\(\/\).*/{ s//\1/; q; }
23225
 
          s/.*/./; q'`
 
24865
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24866
            s//\1/
 
24867
            q
 
24868
          }
 
24869
          /^X\(\/\/\)[^/].*/{
 
24870
            s//\1/
 
24871
            q
 
24872
          }
 
24873
          /^X\(\/\/\)$/{
 
24874
            s//\1/
 
24875
            q
 
24876
          }
 
24877
          /^X\(\/\).*/{
 
24878
            s//\1/
 
24879
            q
 
24880
          }
 
24881
          s/.*/./; q'`
23226
24882
  else
23227
24883
    continue
23228
24884
  fi
23244
24900
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23245
24901
    # Make sure the directory exists.
23246
24902
    test -f "$dirpart/$file" && continue
23247
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
24903
    fdir=`$as_dirname -- "$file" ||
23248
24904
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23249
24905
         X"$file" : 'X\(//\)[^/]' \| \
23250
24906
         X"$file" : 'X\(//\)$' \| \
23251
 
         X"$file" : 'X\(/\)' \| \
23252
 
         .     : '\(.\)' 2>/dev/null ||
 
24907
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23253
24908
echo X"$file" |
23254
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23255
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23256
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23257
 
          /^X\(\/\).*/{ s//\1/; q; }
23258
 
          s/.*/./; q'`
23259
 
    { if $as_mkdir_p; then
23260
 
    mkdir -p $dirpart/$fdir
23261
 
  else
23262
 
    as_dir=$dirpart/$fdir
 
24909
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24910
            s//\1/
 
24911
            q
 
24912
          }
 
24913
          /^X\(\/\/\)[^/].*/{
 
24914
            s//\1/
 
24915
            q
 
24916
          }
 
24917
          /^X\(\/\/\)$/{
 
24918
            s//\1/
 
24919
            q
 
24920
          }
 
24921
          /^X\(\/\).*/{
 
24922
            s//\1/
 
24923
            q
 
24924
          }
 
24925
          s/.*/./; q'`
 
24926
    { as_dir=$dirpart/$fdir
 
24927
  case $as_dir in #(
 
24928
  -*) as_dir=./$as_dir;;
 
24929
  esac
 
24930
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23263
24931
    as_dirs=
23264
 
    while test ! -d "$as_dir"; do
23265
 
      as_dirs="$as_dir $as_dirs"
23266
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24932
    while :; do
 
24933
      case $as_dir in #(
 
24934
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24935
      *) as_qdir=$as_dir;;
 
24936
      esac
 
24937
      as_dirs="'$as_qdir' $as_dirs"
 
24938
      as_dir=`$as_dirname -- "$as_dir" ||
23267
24939
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23268
24940
         X"$as_dir" : 'X\(//\)[^/]' \| \
23269
24941
         X"$as_dir" : 'X\(//\)$' \| \
23270
 
         X"$as_dir" : 'X\(/\)' \| \
23271
 
         .     : '\(.\)' 2>/dev/null ||
 
24942
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23272
24943
echo X"$as_dir" |
23273
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23274
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23275
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23276
 
          /^X\(\/\).*/{ s//\1/; q; }
23277
 
          s/.*/./; q'`
 
24944
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24945
            s//\1/
 
24946
            q
 
24947
          }
 
24948
          /^X\(\/\/\)[^/].*/{
 
24949
            s//\1/
 
24950
            q
 
24951
          }
 
24952
          /^X\(\/\/\)$/{
 
24953
            s//\1/
 
24954
            q
 
24955
          }
 
24956
          /^X\(\/\).*/{
 
24957
            s//\1/
 
24958
            q
 
24959
          }
 
24960
          s/.*/./; q'`
 
24961
      test -d "$as_dir" && break
23278
24962
    done
23279
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23280
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23281
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
24963
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24964
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24965
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23282
24966
   { (exit 1); exit 1; }; }; }
23283
 
 
23284
24967
    # echo "creating $dirpart/$file"
23285
24968
    echo '# dummy' > "$dirpart/$file"
23286
24969
  done
23287
24970
done
23288
24971
 ;;
 
24972
 
23289
24973
  esac
23290
 
done
23291
 
_ACEOF
 
24974
done # for ac_tag
23292
24975
 
23293
 
cat >>$CONFIG_STATUS <<\_ACEOF
23294
24976
 
23295
24977
{ (exit 0); exit 0; }
23296
24978
_ACEOF
23327
25009
  # Remove --cache-file and --srcdir arguments so they do not pile up.
23328
25010
  ac_sub_configure_args=
23329
25011
  ac_prev=
23330
 
  for ac_arg in $ac_configure_args; do
 
25012
  eval "set x $ac_configure_args"
 
25013
  shift
 
25014
  for ac_arg
 
25015
  do
23331
25016
    if test -n "$ac_prev"; then
23332
25017
      ac_prev=
23333
25018
      continue
23350
25035
      ac_prev=prefix ;;
23351
25036
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
23352
25037
      ;;
23353
 
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
25038
    *)
 
25039
      case $ac_arg in
 
25040
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
25041
      esac
 
25042
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
23354
25043
    esac
23355
25044
  done
23356
25045
 
23357
25046
  # Always prepend --prefix to ensure using the same prefix
23358
25047
  # in subdir configurations.
23359
 
  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
 
25048
  ac_arg="--prefix=$prefix"
 
25049
  case $ac_arg in
 
25050
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
25051
  esac
 
25052
  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
23360
25053
 
23361
25054
  ac_popdir=`pwd`
23362
25055
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
23363
25056
 
23364
25057
    # Do not complain, so a configure script can configure whichever
23365
25058
    # parts of a large source tree are present.
23366
 
    test -d $srcdir/$ac_dir || continue
 
25059
    test -d "$srcdir/$ac_dir" || continue
23367
25060
 
23368
 
    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
23369
 
echo "$as_me: configuring in $ac_dir" >&6;}
23370
 
    { if $as_mkdir_p; then
23371
 
    mkdir -p "$ac_dir"
23372
 
  else
23373
 
    as_dir="$ac_dir"
 
25061
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
 
25062
    echo "$as_me:$LINENO: $ac_msg" >&5
 
25063
    echo "$ac_msg" >&6
 
25064
    { as_dir="$ac_dir"
 
25065
  case $as_dir in #(
 
25066
  -*) as_dir=./$as_dir;;
 
25067
  esac
 
25068
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23374
25069
    as_dirs=
23375
 
    while test ! -d "$as_dir"; do
23376
 
      as_dirs="$as_dir $as_dirs"
23377
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
25070
    while :; do
 
25071
      case $as_dir in #(
 
25072
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
25073
      *) as_qdir=$as_dir;;
 
25074
      esac
 
25075
      as_dirs="'$as_qdir' $as_dirs"
 
25076
      as_dir=`$as_dirname -- "$as_dir" ||
23378
25077
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23379
25078
         X"$as_dir" : 'X\(//\)[^/]' \| \
23380
25079
         X"$as_dir" : 'X\(//\)$' \| \
23381
 
         X"$as_dir" : 'X\(/\)' \| \
23382
 
         .     : '\(.\)' 2>/dev/null ||
 
25080
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23383
25081
echo X"$as_dir" |
23384
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23385
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23386
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23387
 
          /^X\(\/\).*/{ s//\1/; q; }
23388
 
          s/.*/./; q'`
 
25082
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
25083
            s//\1/
 
25084
            q
 
25085
          }
 
25086
          /^X\(\/\/\)[^/].*/{
 
25087
            s//\1/
 
25088
            q
 
25089
          }
 
25090
          /^X\(\/\/\)$/{
 
25091
            s//\1/
 
25092
            q
 
25093
          }
 
25094
          /^X\(\/\).*/{
 
25095
            s//\1/
 
25096
            q
 
25097
          }
 
25098
          s/.*/./; q'`
 
25099
      test -d "$as_dir" && break
23389
25100
    done
23390
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23391
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23392
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
25101
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
25102
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
25103
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23393
25104
   { (exit 1); exit 1; }; }; }
23394
 
 
23395
25105
    ac_builddir=.
23396
25106
 
23397
 
if test "$ac_dir" != .; then
 
25107
case "$ac_dir" in
 
25108
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
25109
*)
23398
25110
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23399
 
  # A "../" for each directory in $ac_dir_suffix.
23400
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23401
 
else
23402
 
  ac_dir_suffix= ac_top_builddir=
23403
 
fi
 
25111
  # A ".." for each directory in $ac_dir_suffix.
 
25112
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
25113
  case $ac_top_builddir_sub in
 
25114
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
25115
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
25116
  esac ;;
 
25117
esac
 
25118
ac_abs_top_builddir=$ac_pwd
 
25119
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
25120
# for backward compatibility:
 
25121
ac_top_builddir=$ac_top_build_prefix
23404
25122
 
23405
25123
case $srcdir in
23406
 
  .)  # No --srcdir option.  We are building in place.
 
25124
  .)  # We are building in place.
23407
25125
    ac_srcdir=.
23408
 
    if test -z "$ac_top_builddir"; then
23409
 
       ac_top_srcdir=.
23410
 
    else
23411
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23412
 
    fi ;;
23413
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
25126
    ac_top_srcdir=$ac_top_builddir_sub
 
25127
    ac_abs_top_srcdir=$ac_pwd ;;
 
25128
  [\\/]* | ?:[\\/]* )  # Absolute name.
23414
25129
    ac_srcdir=$srcdir$ac_dir_suffix;
23415
 
    ac_top_srcdir=$srcdir ;;
23416
 
  *) # Relative path.
23417
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23418
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23419
 
esac
23420
 
 
23421
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23422
 
# the directories may not exist.
23423
 
case `pwd` in
23424
 
.) ac_abs_builddir="$ac_dir";;
23425
 
*)
23426
 
  case "$ac_dir" in
23427
 
  .) ac_abs_builddir=`pwd`;;
23428
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23429
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23430
 
  esac;;
23431
 
esac
23432
 
case $ac_abs_builddir in
23433
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23434
 
*)
23435
 
  case ${ac_top_builddir}. in
23436
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23437
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23438
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23439
 
  esac;;
23440
 
esac
23441
 
case $ac_abs_builddir in
23442
 
.) ac_abs_srcdir=$ac_srcdir;;
23443
 
*)
23444
 
  case $ac_srcdir in
23445
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23446
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23447
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23448
 
  esac;;
23449
 
esac
23450
 
case $ac_abs_builddir in
23451
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23452
 
*)
23453
 
  case $ac_top_srcdir in
23454
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23455
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23456
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23457
 
  esac;;
23458
 
esac
23459
 
 
23460
 
 
23461
 
    cd $ac_dir
 
25130
    ac_top_srcdir=$srcdir
 
25131
    ac_abs_top_srcdir=$srcdir ;;
 
25132
  *) # Relative name.
 
25133
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
25134
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
25135
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
25136
esac
 
25137
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
25138
 
 
25139
 
 
25140
    cd "$ac_dir"
23462
25141
 
23463
25142
    # Check for guested configure; otherwise get Cygnus style configure.
23464
 
    if test -f $ac_srcdir/configure.gnu; then
23465
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
23466
 
    elif test -f $ac_srcdir/configure; then
23467
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
23468
 
    elif test -f $ac_srcdir/configure.in; then
23469
 
      ac_sub_configure=$ac_configure
 
25143
    if test -f "$ac_srcdir/configure.gnu"; then
 
25144
      ac_sub_configure=$ac_srcdir/configure.gnu
 
25145
    elif test -f "$ac_srcdir/configure"; then
 
25146
      ac_sub_configure=$ac_srcdir/configure
 
25147
    elif test -f "$ac_srcdir/configure.in"; then
 
25148
      # This should be Cygnus configure.
 
25149
      ac_sub_configure=$ac_aux_dir/configure
23470
25150
    else
23471
25151
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
23472
25152
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23478
25158
      # Make the cache file name correct relative to the subdirectory.
23479
25159
      case $cache_file in
23480
25160
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
23481
 
      *) # Relative path.
23482
 
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
25161
      *) # Relative name.
 
25162
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
23483
25163
      esac
23484
25164
 
23485
 
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23486
 
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
25165
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
25166
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23487
25167
      # The eval makes quoting arguments work.
23488
 
      eval $ac_sub_configure $ac_sub_configure_args \
23489
 
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
 
25168
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
 
25169
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
23490
25170
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23491
25171
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23492
25172
   { (exit 1); exit 1; }; }