~jcowgill/ubuntu/trusty/easytag/bug-1295882

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2008-09-08 21:44:11 UTC
  • mfrom: (3.1.10 hardy)
  • Revision ID: james.westby@ubuntu.com-20080908214411-v237hcgn5d97ecut
Tags: 2.1.4-1.1
* Non-maintainer upload.
* Warn user when ogg vorbis tags will be lost, fix handling of multiple same
  ogg vorbis tags (Closes: #460247).
* Fix lintian warnings:
  - Add watch file.
  - Install icon for menu file (Closes: #477456).
  - Fix section in menu file.
  - Drop version from NAME section of man page to `apropos' and `whatis'
    happy.
  - Include copyright information in debian/copyright.

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 easytag 1.99.12.
 
3
# Generated by GNU Autoconf 2.61 for easytag 2.1.4.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
278
586
 
279
587
# The HP-UX ksh and POSIX shell print the target directory to stdout
280
588
# if CDPATH is set.
281
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
590
 
283
591
if test -z "$ECHO"; then
284
592
if test "X${echo_test_string+set}" != Xset; then
285
593
# find a string as large as possible, as long as the shell can cope with it
286
594
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
595
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
289
 
       echo_test_string="`eval $cmd`" &&
 
596
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
597
       echo_test_string=`eval $cmd` &&
290
598
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
291
599
    then
292
600
      break
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIBOBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
726
# Identity of this package.
422
727
PACKAGE_NAME='easytag'
423
728
PACKAGE_TARNAME='easytag'
424
 
PACKAGE_VERSION='1.99.12'
425
 
PACKAGE_STRING='easytag 1.99.12'
 
729
PACKAGE_VERSION='2.1.4'
 
730
PACKAGE_STRING='easytag 2.1.4'
426
731
PACKAGE_BUGREPORT=''
427
732
 
428
733
ac_unique_file="src/easytag.h"
429
734
# Factoring default headers for most tests.
430
735
ac_includes_default="\
431
736
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
737
#ifdef HAVE_SYS_TYPES_H
433
738
# include <sys/types.h>
434
739
#endif
435
 
#if HAVE_SYS_STAT_H
 
740
#ifdef HAVE_SYS_STAT_H
436
741
# include <sys/stat.h>
437
742
#endif
438
 
#if STDC_HEADERS
 
743
#ifdef STDC_HEADERS
439
744
# include <stdlib.h>
440
745
# include <stddef.h>
441
746
#else
442
 
# if HAVE_STDLIB_H
 
747
# ifdef HAVE_STDLIB_H
443
748
#  include <stdlib.h>
444
749
# endif
445
750
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
751
#ifdef HAVE_STRING_H
 
752
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
753
#  include <memory.h>
449
754
# endif
450
755
# include <string.h>
451
756
#endif
452
 
#if HAVE_STRINGS_H
 
757
#ifdef HAVE_STRINGS_H
453
758
# include <strings.h>
454
759
#endif
455
 
#if HAVE_INTTYPES_H
 
760
#ifdef HAVE_INTTYPES_H
456
761
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
762
#endif
 
763
#ifdef HAVE_STDINT_H
 
764
# include <stdint.h>
 
765
#endif
 
766
#ifdef HAVE_UNISTD_H
463
767
# include <unistd.h>
464
768
#endif"
465
769
 
466
 
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 GETTEXT_PACKAGE 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS GTK_CFLAGS GTK_LIBS LIBOBJS USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LTLIBOBJS'
 
770
ac_subst_vars='SHELL
 
771
PATH_SEPARATOR
 
772
PACKAGE_NAME
 
773
PACKAGE_TARNAME
 
774
PACKAGE_VERSION
 
775
PACKAGE_STRING
 
776
PACKAGE_BUGREPORT
 
777
exec_prefix
 
778
prefix
 
779
program_transform_name
 
780
bindir
 
781
sbindir
 
782
libexecdir
 
783
datarootdir
 
784
datadir
 
785
sysconfdir
 
786
sharedstatedir
 
787
localstatedir
 
788
includedir
 
789
oldincludedir
 
790
docdir
 
791
infodir
 
792
htmldir
 
793
dvidir
 
794
pdfdir
 
795
psdir
 
796
libdir
 
797
localedir
 
798
mandir
 
799
DEFS
 
800
ECHO_C
 
801
ECHO_N
 
802
ECHO_T
 
803
LIBS
 
804
build_alias
 
805
host_alias
 
806
target_alias
 
807
INSTALL_PROGRAM
 
808
INSTALL_SCRIPT
 
809
INSTALL_DATA
 
810
am__isrc
 
811
CYGPATH_W
 
812
PACKAGE
 
813
VERSION
 
814
ACLOCAL
 
815
AUTOCONF
 
816
AUTOMAKE
 
817
AUTOHEADER
 
818
MAKEINFO
 
819
install_sh
 
820
STRIP
 
821
INSTALL_STRIP_PROGRAM
 
822
mkdir_p
 
823
AWK
 
824
SET_MAKE
 
825
am__leading_dot
 
826
AMTAR
 
827
am__tar
 
828
am__untar
 
829
GETTEXT_PACKAGE
 
830
CC
 
831
CFLAGS
 
832
LDFLAGS
 
833
CPPFLAGS
 
834
ac_ct_CC
 
835
EXEEXT
 
836
OBJEXT
 
837
DEPDIR
 
838
am__include
 
839
am__quote
 
840
AMDEP_TRUE
 
841
AMDEP_FALSE
 
842
AMDEPBACKSLASH
 
843
CCDEPMODE
 
844
am__fastdepCC_TRUE
 
845
am__fastdepCC_FALSE
 
846
CXX
 
847
CXXFLAGS
 
848
ac_ct_CXX
 
849
CXXDEPMODE
 
850
am__fastdepCXX_TRUE
 
851
am__fastdepCXX_FALSE
 
852
CXXCPP
 
853
build
 
854
build_cpu
 
855
build_vendor
 
856
build_os
 
857
host
 
858
host_cpu
 
859
host_vendor
 
860
host_os
 
861
SED
 
862
GREP
 
863
EGREP
 
864
LN_S
 
865
ECHO
 
866
AR
 
867
RANLIB
 
868
CPP
 
869
F77
 
870
FFLAGS
 
871
ac_ct_F77
 
872
LIBTOOL
 
873
MAINTAINER_MODE_TRUE
 
874
MAINTAINER_MODE_FALSE
 
875
MAINT
 
876
PKG_CONFIG
 
877
GLIB_CFLAGS
 
878
GLIB_LIBS
 
879
GLIB_GENMARSHAL
 
880
GOBJECT_QUERY
 
881
GLIB_MKENUMS
 
882
GTK_CFLAGS
 
883
GTK_LIBS
 
884
OGG_CFLAGS
 
885
OGG_LIBS
 
886
VORBIS_CFLAGS
 
887
VORBIS_LIBS
 
888
WAVPACK_CFLAGS
 
889
WAVPACK_LIBS
 
890
LIBOBJS
 
891
USE_NLS
 
892
MSGFMT
 
893
MSGFMT_OPTS
 
894
GMSGFMT
 
895
XGETTEXT
 
896
CATALOGS
 
897
CATOBJEXT
 
898
DATADIRNAME
 
899
GMOFILES
 
900
INSTOBJEXT
 
901
INTLLIBS
 
902
PO_IN_DATADIR_TRUE
 
903
PO_IN_DATADIR_FALSE
 
904
POFILES
 
905
POSUB
 
906
MKINSTALLDIRS
 
907
LTLIBOBJS'
467
908
ac_subst_files=''
 
909
      ac_precious_vars='build_alias
 
910
host_alias
 
911
target_alias
 
912
CC
 
913
CFLAGS
 
914
LDFLAGS
 
915
LIBS
 
916
CPPFLAGS
 
917
CXX
 
918
CXXFLAGS
 
919
CCC
 
920
CXXCPP
 
921
CPP
 
922
F77
 
923
FFLAGS
 
924
PKG_CONFIG
 
925
GTK_CFLAGS
 
926
GTK_LIBS
 
927
OGG_CFLAGS
 
928
OGG_LIBS
 
929
VORBIS_CFLAGS
 
930
VORBIS_LIBS
 
931
WAVPACK_CFLAGS
 
932
WAVPACK_LIBS'
 
933
 
468
934
 
469
935
# Initialize some variables set by options.
470
936
ac_init_help=
491
957
# and all the variables that are supposed to be based on exec_prefix
492
958
# by default will actually change.
493
959
# Use braces instead of parens because sh, perl, etc. also accept them.
 
960
# (The list follows the same order as the GNU Coding Standards.)
494
961
bindir='${exec_prefix}/bin'
495
962
sbindir='${exec_prefix}/sbin'
496
963
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
 
964
datarootdir='${prefix}/share'
 
965
datadir='${datarootdir}'
498
966
sysconfdir='${prefix}/etc'
499
967
sharedstatedir='${prefix}/com'
500
968
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
969
includedir='${prefix}/include'
503
970
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
 
971
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
972
infodir='${datarootdir}/info'
 
973
htmldir='${docdir}'
 
974
dvidir='${docdir}'
 
975
pdfdir='${docdir}'
 
976
psdir='${docdir}'
 
977
libdir='${exec_prefix}/lib'
 
978
localedir='${datarootdir}/locale'
 
979
mandir='${datarootdir}/man'
506
980
 
507
981
ac_prev=
 
982
ac_dashdash=
508
983
for ac_option
509
984
do
510
985
  # If the previous option needs an argument, assign it.
511
986
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
 
987
    eval $ac_prev=\$ac_option
513
988
    ac_prev=
514
989
    continue
515
990
  fi
516
991
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
992
  case $ac_option in
 
993
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
994
  *)    ac_optarg=yes ;;
 
995
  esac
518
996
 
519
997
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
998
 
521
 
  case $ac_option in
 
999
  case $ac_dashdash$ac_option in
 
1000
  --)
 
1001
    ac_dashdash=yes ;;
522
1002
 
523
1003
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
1004
    ac_prev=bindir ;;
540
1020
  --config-cache | -C)
541
1021
    cache_file=config.cache ;;
542
1022
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1023
  -datadir | --datadir | --datadi | --datad)
544
1024
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
 
1025
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547
1026
    datadir=$ac_optarg ;;
548
1027
 
 
1028
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1029
  | --dataroo | --dataro | --datar)
 
1030
    ac_prev=datarootdir ;;
 
1031
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1032
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1033
    datarootdir=$ac_optarg ;;
 
1034
 
549
1035
  -disable-* | --disable-*)
550
1036
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
1037
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1038
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
1039
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554
1040
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
 
1041
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1042
    eval enable_$ac_feature=no ;;
 
1043
 
 
1044
  -docdir | --docdir | --docdi | --doc | --do)
 
1045
    ac_prev=docdir ;;
 
1046
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1047
    docdir=$ac_optarg ;;
 
1048
 
 
1049
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1050
    ac_prev=dvidir ;;
 
1051
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1052
    dvidir=$ac_optarg ;;
557
1053
 
558
1054
  -enable-* | --enable-*)
559
1055
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
1056
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1057
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
562
1058
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563
1059
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
568
 
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1060
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1061
    eval enable_$ac_feature=\$ac_optarg ;;
570
1062
 
571
1063
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
1064
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
593
1085
  -host=* | --host=* | --hos=* | --ho=*)
594
1086
    host_alias=$ac_optarg ;;
595
1087
 
 
1088
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1089
    ac_prev=htmldir ;;
 
1090
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1091
  | --ht=*)
 
1092
    htmldir=$ac_optarg ;;
 
1093
 
596
1094
  -includedir | --includedir | --includedi | --included | --include \
597
1095
  | --includ | --inclu | --incl | --inc)
598
1096
    ac_prev=includedir ;;
617
1115
  | --libexe=* | --libex=* | --libe=*)
618
1116
    libexecdir=$ac_optarg ;;
619
1117
 
 
1118
  -localedir | --localedir | --localedi | --localed | --locale)
 
1119
    ac_prev=localedir ;;
 
1120
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1121
    localedir=$ac_optarg ;;
 
1122
 
620
1123
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
 
1124
  | --localstate | --localstat | --localsta | --localst | --locals)
623
1125
    ac_prev=localstatedir ;;
624
1126
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1127
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627
1128
    localstatedir=$ac_optarg ;;
628
1129
 
629
1130
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688
1189
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
1190
    program_transform_name=$ac_optarg ;;
690
1191
 
 
1192
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1193
    ac_prev=pdfdir ;;
 
1194
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1195
    pdfdir=$ac_optarg ;;
 
1196
 
 
1197
  -psdir | --psdir | --psdi | --psd | --ps)
 
1198
    ac_prev=psdir ;;
 
1199
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1200
    psdir=$ac_optarg ;;
 
1201
 
691
1202
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
1203
  | -silent | --silent | --silen | --sile | --sil)
693
1204
    silent=yes ;;
740
1251
  -with-* | --with-*)
741
1252
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
1253
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1254
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744
1255
      { echo "$as_me: error: invalid package name: $ac_package" >&2
745
1256
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
750
 
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1257
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1258
    eval with_$ac_package=\$ac_optarg ;;
752
1259
 
753
1260
  -without-* | --without-*)
754
1261
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
1262
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1263
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757
1264
      { echo "$as_me: error: invalid package name: $ac_package" >&2
758
1265
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
 
1266
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1267
    eval with_$ac_package=no ;;
761
1268
 
762
1269
  --x)
763
1270
    # Obsolete; use --with-x.
788
1295
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
1296
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
1297
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
 
1298
    eval $ac_envvar=\$ac_optarg
793
1299
    export $ac_envvar ;;
794
1300
 
795
1301
  *)
809
1315
   { (exit 1); exit 1; }; }
810
1316
fi
811
1317
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
 
1318
# Be sure to have absolute directory names.
 
1319
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1320
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1321
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1322
                libdir localedir mandir
 
1323
do
 
1324
  eval ac_val=\$$ac_var
 
1325
  case $ac_val in
 
1326
    [\\/$]* | ?:[\\/]* )  continue;;
 
1327
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1328
  esac
 
1329
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1330
   { (exit 1); exit 1; }; }
833
1331
done
834
1332
 
835
1333
# There might be people who depend on the old broken behavior: `$host'
856
1354
test "$silent" = yes && exec 6>/dev/null
857
1355
 
858
1356
 
 
1357
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1358
ac_ls_di=`ls -di .` &&
 
1359
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1360
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1361
   { (exit 1); exit 1; }; }
 
1362
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1363
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1364
   { (exit 1); exit 1; }; }
 
1365
 
 
1366
 
859
1367
# Find the source files, if location was not specified.
860
1368
if test -z "$srcdir"; then
861
1369
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1370
  # Try the directory containing this script, then the parent directory.
 
1371
  ac_confdir=`$as_dirname -- "$0" ||
864
1372
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
1373
         X"$0" : 'X\(//\)[^/]' \| \
866
1374
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
 
1375
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869
1376
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
 
1377
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1378
            s//\1/
 
1379
            q
 
1380
          }
 
1381
          /^X\(\/\/\)[^/].*/{
 
1382
            s//\1/
 
1383
            q
 
1384
          }
 
1385
          /^X\(\/\/\)$/{
 
1386
            s//\1/
 
1387
            q
 
1388
          }
 
1389
          /^X\(\/\).*/{
 
1390
            s//\1/
 
1391
            q
 
1392
          }
 
1393
          s/.*/./; q'`
875
1394
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1395
  if test ! -r "$srcdir/$ac_unique_file"; then
877
1396
    srcdir=..
878
1397
  fi
879
1398
else
880
1399
  ac_srcdir_defaulted=no
881
1400
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CXX_set=${CXX+set}
924
 
ac_env_CXX_value=$CXX
925
 
ac_cv_env_CXX_set=${CXX+set}
926
 
ac_cv_env_CXX_value=$CXX
927
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
928
 
ac_env_CXXFLAGS_value=$CXXFLAGS
929
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
930
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
931
 
ac_env_CXXCPP_set=${CXXCPP+set}
932
 
ac_env_CXXCPP_value=$CXXCPP
933
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
934
 
ac_cv_env_CXXCPP_value=$CXXCPP
935
 
ac_env_CPP_set=${CPP+set}
936
 
ac_env_CPP_value=$CPP
937
 
ac_cv_env_CPP_set=${CPP+set}
938
 
ac_cv_env_CPP_value=$CPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1401
if test ! -r "$srcdir/$ac_unique_file"; then
 
1402
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1403
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1404
   { (exit 1); exit 1; }; }
 
1405
fi
 
1406
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1407
ac_abs_confdir=`(
 
1408
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1409
   { (exit 1); exit 1; }; }
 
1410
        pwd)`
 
1411
# When building in place, set srcdir=.
 
1412
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1413
  srcdir=.
 
1414
fi
 
1415
# Remove unnecessary trailing slashes from srcdir.
 
1416
# Double slashes in file names in object file debugging info
 
1417
# mess up M-x gdb in Emacs.
 
1418
case $srcdir in
 
1419
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1420
esac
 
1421
for ac_var in $ac_precious_vars; do
 
1422
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1423
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1424
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1425
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1426
done
947
1427
 
948
1428
#
949
1429
# Report the --help message.
952
1432
  # Omit some internal or obsolete options to make the list less imposing.
953
1433
  # This message is too long to be a string in the A/UX 3.1 sh.
954
1434
  cat <<_ACEOF
955
 
\`configure' configures easytag 1.99.12 to adapt to many kinds of systems.
 
1435
\`configure' configures easytag 2.1.4 to adapt to many kinds of systems.
956
1436
 
957
1437
Usage: $0 [OPTION]... [VAR=VALUE]...
958
1438
 
972
1452
  -n, --no-create         do not create output files
973
1453
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
974
1454
 
975
 
_ACEOF
976
 
 
977
 
  cat <<_ACEOF
978
1455
Installation directories:
979
1456
  --prefix=PREFIX         install architecture-independent files in PREFIX
980
1457
                          [$ac_default_prefix]
992
1469
  --bindir=DIR           user executables [EPREFIX/bin]
993
1470
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
994
1471
  --libexecdir=DIR       program executables [EPREFIX/libexec]
995
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996
1472
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997
1473
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998
1474
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999
1475
  --libdir=DIR           object code libraries [EPREFIX/lib]
1000
1476
  --includedir=DIR       C header files [PREFIX/include]
1001
1477
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002
 
  --infodir=DIR          info documentation [PREFIX/info]
1003
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1478
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1479
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1480
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1481
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1482
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1483
  --docdir=DIR           documentation root [DATAROOTDIR/doc/easytag]
 
1484
  --htmldir=DIR          html documentation [DOCDIR]
 
1485
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1486
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1487
  --psdir=DIR            ps documentation [DOCDIR]
1004
1488
_ACEOF
1005
1489
 
1006
1490
  cat <<\_ACEOF
1018
1502
 
1019
1503
if test -n "$ac_init_help"; then
1020
1504
  case $ac_init_help in
1021
 
     short | recursive ) echo "Configuration of easytag 1.99.12:";;
 
1505
     short | recursive ) echo "Configuration of easytag 2.1.4:";;
1022
1506
   esac
1023
1507
  cat <<\_ACEOF
1024
1508
 
1027
1511
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1028
1512
  --disable-dependency-tracking  speeds up one-time build
1029
1513
  --enable-dependency-tracking   do not reject slow dependency extractors
1030
 
  --enable-shared[=PKGS]
1031
 
                          build shared libraries [default=no]
1032
 
  --enable-static[=PKGS]
1033
 
                          build static libraries [default=yes]
 
1514
  --enable-shared[=PKGS]  build shared libraries [default=no]
 
1515
  --enable-static[=PKGS]  build static libraries [default=yes]
1034
1516
  --enable-fast-install[=PKGS]
1035
1517
                          optimize for fast installation [default=yes]
1036
1518
  --disable-libtool-lock  avoid locking (might break parallel builds)
1037
1519
  --enable-maintainer-mode  enable make rules and dependencies not useful
1038
1520
                          (and sometimes confusing) to the casual installer
1039
1521
  --disable-mp3           Disable support for MP3 files (default=enabled)
 
1522
  --disable-id3v23        Disable support for writing id3v2.3 tags
 
1523
                          (default=enabled)
1040
1524
  --disable-ogg           Disable support for Ogg Vorbis files
1041
1525
                          (default=enabled)
 
1526
  --disable-speex         Disable support for Ogg Speex files
 
1527
                          (default=enabled)
1042
1528
  --disable-flac          Disable support for FLAC files (default=enabled)
1043
1529
  --disable-mp4           Disable support for MP4 files (default=enabled)
 
1530
  --disable-wavpack       Disable support for Wavpack files (default=enabled)
1044
1531
  --disable-glibtest      do not try to compile and run a test GLIB program
1045
1532
  --disable-gtktest       do not try to compile and run a test GTK+ program
1046
1533
 
1050
1537
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1051
1538
  --with-pic              try to use only PIC/non-PIC objects [default=use
1052
1539
                          both]
1053
 
  --with-tags[=TAGS]
1054
 
                          include additional configurations [automatic]
 
1540
  --with-tags[=TAGS]      include additional configurations [automatic]
1055
1541
 
1056
1542
Some influential environment variables:
1057
1543
  CC          C compiler command
1058
1544
  CFLAGS      C compiler flags
1059
1545
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1060
1546
              nonstandard directory <lib dir>
1061
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062
 
              headers in a nonstandard directory <include dir>
 
1547
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1548
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1549
              you have headers in a nonstandard directory <include dir>
1063
1550
  CXX         C++ compiler command
1064
1551
  CXXFLAGS    C++ compiler flags
1065
1552
  CXXCPP      C++ preprocessor
1066
1553
  CPP         C preprocessor
1067
1554
  F77         Fortran 77 compiler command
1068
1555
  FFLAGS      Fortran 77 compiler flags
 
1556
  PKG_CONFIG  path to pkg-config utility
 
1557
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1558
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1559
  OGG_CFLAGS  C compiler flags for OGG, overriding pkg-config
 
1560
  OGG_LIBS    linker flags for OGG, overriding pkg-config
 
1561
  VORBIS_CFLAGS
 
1562
              C compiler flags for VORBIS, overriding pkg-config
 
1563
  VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
 
1564
  WAVPACK_CFLAGS
 
1565
              C compiler flags for WAVPACK, overriding pkg-config
 
1566
  WAVPACK_LIBS
 
1567
              linker flags for WAVPACK, overriding pkg-config
1069
1568
 
1070
1569
Use these variables to override the choices made by `configure' or to help
1071
1570
it to find libraries and programs with nonstandard names/locations.
1072
1571
 
1073
1572
_ACEOF
 
1573
ac_status=$?
1074
1574
fi
1075
1575
 
1076
1576
if test "$ac_init_help" = "recursive"; then
1077
1577
  # If there are subdirs, report their specific --help.
1078
 
  ac_popdir=`pwd`
1079
1578
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080
 
    test -d $ac_dir || continue
 
1579
    test -d "$ac_dir" || continue
1081
1580
    ac_builddir=.
1082
1581
 
1083
 
if test "$ac_dir" != .; then
 
1582
case "$ac_dir" in
 
1583
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1584
*)
1084
1585
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085
 
  # A "../" for each directory in $ac_dir_suffix.
1086
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087
 
else
1088
 
  ac_dir_suffix= ac_top_builddir=
1089
 
fi
 
1586
  # A ".." for each directory in $ac_dir_suffix.
 
1587
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1588
  case $ac_top_builddir_sub in
 
1589
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1590
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1591
  esac ;;
 
1592
esac
 
1593
ac_abs_top_builddir=$ac_pwd
 
1594
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1595
# for backward compatibility:
 
1596
ac_top_builddir=$ac_top_build_prefix
1090
1597
 
1091
1598
case $srcdir in
1092
 
  .)  # No --srcdir option.  We are building in place.
 
1599
  .)  # We are building in place.
1093
1600
    ac_srcdir=.
1094
 
    if test -z "$ac_top_builddir"; then
1095
 
       ac_top_srcdir=.
1096
 
    else
1097
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098
 
    fi ;;
1099
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1601
    ac_top_srcdir=$ac_top_builddir_sub
 
1602
    ac_abs_top_srcdir=$ac_pwd ;;
 
1603
  [\\/]* | ?:[\\/]* )  # Absolute name.
1100
1604
    ac_srcdir=$srcdir$ac_dir_suffix;
1101
 
    ac_top_srcdir=$srcdir ;;
1102
 
  *) # Relative path.
1103
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105
 
esac
1106
 
 
1107
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1108
 
# the directories may not exist.
1109
 
case `pwd` in
1110
 
.) ac_abs_builddir="$ac_dir";;
1111
 
*)
1112
 
  case "$ac_dir" in
1113
 
  .) ac_abs_builddir=`pwd`;;
1114
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1115
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1116
 
  esac;;
1117
 
esac
1118
 
case $ac_abs_builddir in
1119
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1120
 
*)
1121
 
  case ${ac_top_builddir}. in
1122
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1123
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1124
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1125
 
  esac;;
1126
 
esac
1127
 
case $ac_abs_builddir in
1128
 
.) ac_abs_srcdir=$ac_srcdir;;
1129
 
*)
1130
 
  case $ac_srcdir in
1131
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1132
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1133
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1134
 
  esac;;
1135
 
esac
1136
 
case $ac_abs_builddir in
1137
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1138
 
*)
1139
 
  case $ac_top_srcdir in
1140
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1141
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1142
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1143
 
  esac;;
1144
 
esac
1145
 
 
1146
 
    cd $ac_dir
1147
 
    # Check for guested configure; otherwise get Cygnus style configure.
1148
 
    if test -f $ac_srcdir/configure.gnu; then
1149
 
      echo
1150
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1151
 
    elif test -f $ac_srcdir/configure; then
1152
 
      echo
1153
 
      $SHELL $ac_srcdir/configure  --help=recursive
1154
 
    elif test -f $ac_srcdir/configure.ac ||
1155
 
           test -f $ac_srcdir/configure.in; then
1156
 
      echo
1157
 
      $ac_configure --help
 
1605
    ac_top_srcdir=$srcdir
 
1606
    ac_abs_top_srcdir=$srcdir ;;
 
1607
  *) # Relative name.
 
1608
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1609
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1610
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1611
esac
 
1612
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1613
 
 
1614
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1615
    # Check for guested configure.
 
1616
    if test -f "$ac_srcdir/configure.gnu"; then
 
1617
      echo &&
 
1618
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1619
    elif test -f "$ac_srcdir/configure"; then
 
1620
      echo &&
 
1621
      $SHELL "$ac_srcdir/configure" --help=recursive
1158
1622
    else
1159
1623
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160
 
    fi
1161
 
    cd $ac_popdir
 
1624
    fi || ac_status=$?
 
1625
    cd "$ac_pwd" || { ac_status=$?; break; }
1162
1626
  done
1163
1627
fi
1164
1628
 
1165
 
test -n "$ac_init_help" && exit 0
 
1629
test -n "$ac_init_help" && exit $ac_status
1166
1630
if $ac_init_version; then
1167
1631
  cat <<\_ACEOF
1168
 
easytag configure 1.99.12
1169
 
generated by GNU Autoconf 2.59
 
1632
easytag configure 2.1.4
 
1633
generated by GNU Autoconf 2.61
1170
1634
 
1171
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1635
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1636
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1172
1637
This configure script is free software; the Free Software Foundation
1173
1638
gives unlimited permission to copy, distribute and modify it.
1174
1639
_ACEOF
1175
 
  exit 0
 
1640
  exit
1176
1641
fi
1177
 
exec 5>config.log
1178
 
cat >&5 <<_ACEOF
 
1642
cat >config.log <<_ACEOF
1179
1643
This file contains any messages produced by compilers while
1180
1644
running configure, to aid debugging if configure makes a mistake.
1181
1645
 
1182
 
It was created by easytag $as_me 1.99.12, which was
1183
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1646
It was created by easytag $as_me 2.1.4, which was
 
1647
generated by GNU Autoconf 2.61.  Invocation command line was
1184
1648
 
1185
1649
  $ $0 $@
1186
1650
 
1187
1651
_ACEOF
 
1652
exec 5>>config.log
1188
1653
{
1189
1654
cat <<_ASUNAME
1190
1655
## --------- ##
1203
1668
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1204
1669
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1205
1670
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1206
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1671
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1207
1672
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1208
1673
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1209
1674
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1217
1682
  test -z "$as_dir" && as_dir=.
1218
1683
  echo "PATH: $as_dir"
1219
1684
done
 
1685
IFS=$as_save_IFS
1220
1686
 
1221
1687
} >&5
1222
1688
 
1238
1704
ac_configure_args=
1239
1705
ac_configure_args0=
1240
1706
ac_configure_args1=
1241
 
ac_sep=
1242
1707
ac_must_keep_next=false
1243
1708
for ac_pass in 1 2
1244
1709
do
1249
1714
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1250
1715
    | -silent | --silent | --silen | --sile | --sil)
1251
1716
      continue ;;
1252
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1717
    *\'*)
1253
1718
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1254
1719
    esac
1255
1720
    case $ac_pass in
1271
1736
          -* ) ac_must_keep_next=true ;;
1272
1737
        esac
1273
1738
      fi
1274
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1275
 
      # Get rid of the leading space.
1276
 
      ac_sep=" "
 
1739
      ac_configure_args="$ac_configure_args '$ac_arg'"
1277
1740
      ;;
1278
1741
    esac
1279
1742
  done
1284
1747
# When interrupted or exit'd, cleanup temporary files, and complete
1285
1748
# config.log.  We remove comments because anyway the quotes in there
1286
1749
# would cause problems or look ugly.
1287
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1288
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1750
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1751
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1289
1752
trap 'exit_status=$?
1290
1753
  # Save into config.log some information that might help in debugging.
1291
1754
  {
1298
1761
_ASBOX
1299
1762
    echo
1300
1763
    # The following way of writing the cache mishandles newlines in values,
1301
 
{
 
1764
(
 
1765
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1766
    eval ac_val=\$$ac_var
 
1767
    case $ac_val in #(
 
1768
    *${as_nl}*)
 
1769
      case $ac_var in #(
 
1770
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1771
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1772
      esac
 
1773
      case $ac_var in #(
 
1774
      _ | IFS | as_nl) ;; #(
 
1775
      *) $as_unset $ac_var ;;
 
1776
      esac ;;
 
1777
    esac
 
1778
  done
1302
1779
  (set) 2>&1 |
1303
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1304
 
    *ac_space=\ *)
 
1780
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1781
    *${as_nl}ac_space=\ *)
1305
1782
      sed -n \
1306
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1307
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1308
 
      ;;
 
1783
        "s/'\''/'\''\\\\'\'''\''/g;
 
1784
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1785
      ;; #(
1309
1786
    *)
1310
 
      sed -n \
1311
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1787
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1312
1788
      ;;
1313
 
    esac;
1314
 
}
 
1789
    esac |
 
1790
    sort
 
1791
)
1315
1792
    echo
1316
1793
 
1317
1794
    cat <<\_ASBOX
1322
1799
    echo
1323
1800
    for ac_var in $ac_subst_vars
1324
1801
    do
1325
 
      eval ac_val=$`echo $ac_var`
1326
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1802
      eval ac_val=\$$ac_var
 
1803
      case $ac_val in
 
1804
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1805
      esac
 
1806
      echo "$ac_var='\''$ac_val'\''"
1327
1807
    done | sort
1328
1808
    echo
1329
1809
 
1330
1810
    if test -n "$ac_subst_files"; then
1331
1811
      cat <<\_ASBOX
1332
 
## ------------- ##
1333
 
## Output files. ##
1334
 
## ------------- ##
 
1812
## ------------------- ##
 
1813
## File substitutions. ##
 
1814
## ------------------- ##
1335
1815
_ASBOX
1336
1816
      echo
1337
1817
      for ac_var in $ac_subst_files
1338
1818
      do
1339
 
        eval ac_val=$`echo $ac_var`
1340
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1819
        eval ac_val=\$$ac_var
 
1820
        case $ac_val in
 
1821
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1822
        esac
 
1823
        echo "$ac_var='\''$ac_val'\''"
1341
1824
      done | sort
1342
1825
      echo
1343
1826
    fi
1349
1832
## ----------- ##
1350
1833
_ASBOX
1351
1834
      echo
1352
 
      sed "/^$/d" confdefs.h | sort
 
1835
      cat confdefs.h
1353
1836
      echo
1354
1837
    fi
1355
1838
    test "$ac_signal" != 0 &&
1356
1839
      echo "$as_me: caught signal $ac_signal"
1357
1840
    echo "$as_me: exit $exit_status"
1358
1841
  } >&5
1359
 
  rm -f core *.core &&
1360
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1842
  rm -f core *.core core.conftest.* &&
 
1843
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1361
1844
    exit $exit_status
1362
 
     ' 0
 
1845
' 0
1363
1846
for ac_signal in 1 2 13 15; do
1364
1847
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1365
1848
done
1366
1849
ac_signal=0
1367
1850
 
1368
1851
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1369
 
rm -rf conftest* confdefs.h
1370
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1371
 
echo >confdefs.h
 
1852
rm -f -r conftest* confdefs.h
1372
1853
 
1373
1854
# Predefined preprocessor variables.
1374
1855
 
1399
1880
 
1400
1881
# Let the site file select an alternate cache file if it wants to.
1401
1882
# Prefer explicitly selected file to automatically selected ones.
1402
 
if test -z "$CONFIG_SITE"; then
1403
 
  if test "x$prefix" != xNONE; then
1404
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1405
 
  else
1406
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1407
 
  fi
 
1883
if test -n "$CONFIG_SITE"; then
 
1884
  set x "$CONFIG_SITE"
 
1885
elif test "x$prefix" != xNONE; then
 
1886
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1887
else
 
1888
  set x "$ac_default_prefix/share/config.site" \
 
1889
        "$ac_default_prefix/etc/config.site"
1408
1890
fi
1409
 
for ac_site_file in $CONFIG_SITE; do
 
1891
shift
 
1892
for ac_site_file
 
1893
do
1410
1894
  if test -r "$ac_site_file"; then
1411
1895
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1412
1896
echo "$as_me: loading site script $ac_site_file" >&6;}
1422
1906
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1423
1907
echo "$as_me: loading cache $cache_file" >&6;}
1424
1908
    case $cache_file in
1425
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1426
 
      *)                      . ./$cache_file;;
 
1909
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1910
      *)                      . "./$cache_file";;
1427
1911
    esac
1428
1912
  fi
1429
1913
else
1435
1919
# Check that the precious variables saved in the cache have kept the same
1436
1920
# value.
1437
1921
ac_cache_corrupted=false
1438
 
for ac_var in `(set) 2>&1 |
1439
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1922
for ac_var in $ac_precious_vars; do
1440
1923
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1441
1924
  eval ac_new_set=\$ac_env_${ac_var}_set
1442
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1443
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1925
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1926
  eval ac_new_val=\$ac_env_${ac_var}_value
1444
1927
  case $ac_old_set,$ac_new_set in
1445
1928
    set,)
1446
1929
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465
1948
  # Pass precious variables to config.status.
1466
1949
  if test "$ac_new_set" = set; then
1467
1950
    case $ac_new_val in
1468
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1469
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1951
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1470
1952
    *) ac_arg=$ac_var=$ac_new_val ;;
1471
1953
    esac
1472
1954
    case " $ac_configure_args " in
1483
1965
   { (exit 1); exit 1; }; }
1484
1966
fi
1485
1967
 
 
1968
 
 
1969
 
 
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
 
1976
 
 
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
 
1982
 
 
1983
 
 
1984
 
 
1985
 
 
1986
 
 
1987
 
 
1988
 
 
1989
 
 
1990
 
 
1991
 
1486
1992
ac_ext=c
1487
1993
ac_cpp='$CPP $CPPFLAGS'
1488
1994
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1491
1997
 
1492
1998
 
1493
1999
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
am__api_version="1.9"
 
2000
am__api_version='1.10'
 
2001
 
1520
2002
ac_aux_dir=
1521
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1522
 
  if test -f $ac_dir/install-sh; then
 
2003
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2004
  if test -f "$ac_dir/install-sh"; then
1523
2005
    ac_aux_dir=$ac_dir
1524
2006
    ac_install_sh="$ac_aux_dir/install-sh -c"
1525
2007
    break
1526
 
  elif test -f $ac_dir/install.sh; then
 
2008
  elif test -f "$ac_dir/install.sh"; then
1527
2009
    ac_aux_dir=$ac_dir
1528
2010
    ac_install_sh="$ac_aux_dir/install.sh -c"
1529
2011
    break
1530
 
  elif test -f $ac_dir/shtool; then
 
2012
  elif test -f "$ac_dir/shtool"; then
1531
2013
    ac_aux_dir=$ac_dir
1532
2014
    ac_install_sh="$ac_aux_dir/shtool install -c"
1533
2015
    break
1534
2016
  fi
1535
2017
done
1536
2018
if test -z "$ac_aux_dir"; then
1537
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1538
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2019
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2020
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1539
2021
   { (exit 1); exit 1; }; }
1540
2022
fi
1541
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1542
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1543
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2023
 
 
2024
# These three variables are undocumented and unsupported,
 
2025
# and are intended to be withdrawn in a future Autoconf release.
 
2026
# They can cause serious problems if a builder's source tree is in a directory
 
2027
# whose full name contains unusual characters.
 
2028
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2029
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2030
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2031
 
1544
2032
 
1545
2033
# Find a good install program.  We prefer a C program (faster),
1546
2034
# so one script is as good as another.  But avoid the broken or
1555
2043
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1556
2044
# OS/2's system install, which has a completely different semantic
1557
2045
# ./install, which can be erroneously created by make from ./install.sh.
1558
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1559
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2046
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2047
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1560
2048
if test -z "$INSTALL"; then
1561
2049
if test "${ac_cv_path_install+set}" = set; then
1562
2050
  echo $ECHO_N "(cached) $ECHO_C" >&6
1578
2066
    # by default.
1579
2067
    for ac_prog in ginstall scoinst install; do
1580
2068
      for ac_exec_ext in '' $ac_executable_extensions; do
1581
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2069
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1582
2070
          if test $ac_prog = install &&
1583
2071
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1584
2072
            # AIX install.  It has an incompatible calling convention.
1597
2085
    ;;
1598
2086
esac
1599
2087
done
 
2088
IFS=$as_save_IFS
1600
2089
 
1601
2090
 
1602
2091
fi
1603
2092
  if test "${ac_cv_path_install+set}" = set; then
1604
2093
    INSTALL=$ac_cv_path_install
1605
2094
  else
1606
 
    # As a last resort, use the slow shell script.  We don't cache a
1607
 
    # path for INSTALL within a source directory, because that will
 
2095
    # As a last resort, use the slow shell script.  Don't cache a
 
2096
    # value for INSTALL within a source directory, because that will
1608
2097
    # break other packages using the cache if that directory is
1609
 
    # removed, or if the path is relative.
 
2098
    # removed, or if the value is a relative name.
1610
2099
    INSTALL=$ac_install_sh
1611
2100
  fi
1612
2101
fi
1613
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1614
 
echo "${ECHO_T}$INSTALL" >&6
 
2102
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2103
echo "${ECHO_T}$INSTALL" >&6; }
1615
2104
 
1616
2105
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1617
2106
# It thinks the first close brace ends the variable substitution.
1621
2110
 
1622
2111
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1623
2112
 
1624
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1625
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2113
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2114
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1626
2115
# Just in case
1627
2116
sleep 1
1628
2117
echo timestamp > conftest.file
1664
2153
Check your system clock" >&2;}
1665
2154
   { (exit 1); exit 1; }; }
1666
2155
fi
1667
 
echo "$as_me:$LINENO: result: yes" >&5
1668
 
echo "${ECHO_T}yes" >&6
 
2156
{ echo "$as_me:$LINENO: result: yes" >&5
 
2157
echo "${ECHO_T}yes" >&6; }
1669
2158
test "$program_prefix" != NONE &&
1670
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2159
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1671
2160
# Use a double $ so make ignores it.
1672
2161
test "$program_suffix" != NONE &&
1673
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2162
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1674
2163
# Double any \ or $.  echo might interpret backslashes.
1675
2164
# By default was `s,x,x', remove it if useless.
1676
2165
cat <<\_ACEOF >conftest.sed
1677
2166
s/[\\$]/&&/g;s/;s,x,x,$//
1678
2167
_ACEOF
1679
2168
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1680
 
rm conftest.sed
 
2169
rm -f conftest.sed
1681
2170
 
1682
2171
# expand $ac_aux_dir to an absolute path
1683
2172
am_aux_dir=`cd $ac_aux_dir && pwd`
1692
2181
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1693
2182
fi
1694
2183
 
1695
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1696
 
  # We used to keeping the `.' as first argument, in order to
1697
 
  # allow $(mkdir_p) to be used without argument.  As in
1698
 
  #   $(mkdir_p) $(somedir)
1699
 
  # where $(somedir) is conditionally defined.  However this is wrong
1700
 
  # for two reasons:
1701
 
  #  1. if the package is installed by a user who cannot write `.'
1702
 
  #     make install will fail,
1703
 
  #  2. the above comment should most certainly read
1704
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1705
 
  #     so it does not work when $(somedir) is undefined and
1706
 
  #     $(DESTDIR) is not.
1707
 
  #  To support the latter case, we have to write
1708
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1709
 
  #  so the `.' trick is pointless.
1710
 
  mkdir_p='mkdir -p --'
 
2184
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2185
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2186
if test -z "$MKDIR_P"; then
 
2187
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2188
  echo $ECHO_N "(cached) $ECHO_C" >&6
1711
2189
else
1712
 
  # On NextStep and OpenStep, the `mkdir' command does not
1713
 
  # recognize any option.  It will interpret all options as
1714
 
  # directories to create, and then abort because `.' already
1715
 
  # exists.
1716
 
  for d in ./-p ./--version;
1717
 
  do
1718
 
    test -d $d && rmdir $d
1719
 
  done
1720
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1721
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1722
 
    mkdir_p='$(mkinstalldirs)'
 
2190
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2191
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2192
do
 
2193
  IFS=$as_save_IFS
 
2194
  test -z "$as_dir" && as_dir=.
 
2195
  for ac_prog in mkdir gmkdir; do
 
2196
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2197
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2198
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2199
             'mkdir (GNU coreutils) '* | \
 
2200
             'mkdir (coreutils) '* | \
 
2201
             'mkdir (fileutils) '4.1*)
 
2202
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2203
               break 3;;
 
2204
           esac
 
2205
         done
 
2206
       done
 
2207
done
 
2208
IFS=$as_save_IFS
 
2209
 
 
2210
fi
 
2211
 
 
2212
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2213
    MKDIR_P="$ac_cv_path_mkdir -p"
1723
2214
  else
1724
 
    mkdir_p='$(install_sh) -d'
 
2215
    # As a last resort, use the slow shell script.  Don't cache a
 
2216
    # value for MKDIR_P within a source directory, because that will
 
2217
    # break other packages using the cache if that directory is
 
2218
    # removed, or if the value is a relative name.
 
2219
    test -d ./--version && rmdir ./--version
 
2220
    MKDIR_P="$ac_install_sh -d"
1725
2221
  fi
1726
2222
fi
 
2223
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2224
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2225
 
 
2226
mkdir_p="$MKDIR_P"
 
2227
case $mkdir_p in
 
2228
  [\\/$]* | ?:[\\/]*) ;;
 
2229
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2230
esac
1727
2231
 
1728
2232
for ac_prog in gawk mawk nawk awk
1729
2233
do
1730
2234
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1731
2235
set dummy $ac_prog; ac_word=$2
1732
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1733
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2236
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2237
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1734
2238
if test "${ac_cv_prog_AWK+set}" = set; then
1735
2239
  echo $ECHO_N "(cached) $ECHO_C" >&6
1736
2240
else
1743
2247
  IFS=$as_save_IFS
1744
2248
  test -z "$as_dir" && as_dir=.
1745
2249
  for ac_exec_ext in '' $ac_executable_extensions; do
1746
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1747
2251
    ac_cv_prog_AWK="$ac_prog"
1748
2252
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749
2253
    break 2
1750
2254
  fi
1751
2255
done
1752
2256
done
 
2257
IFS=$as_save_IFS
1753
2258
 
1754
2259
fi
1755
2260
fi
1756
2261
AWK=$ac_cv_prog_AWK
1757
2262
if test -n "$AWK"; then
1758
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1759
 
echo "${ECHO_T}$AWK" >&6
 
2263
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2264
echo "${ECHO_T}$AWK" >&6; }
1760
2265
else
1761
 
  echo "$as_me:$LINENO: result: no" >&5
1762
 
echo "${ECHO_T}no" >&6
 
2266
  { echo "$as_me:$LINENO: result: no" >&5
 
2267
echo "${ECHO_T}no" >&6; }
1763
2268
fi
1764
2269
 
 
2270
 
1765
2271
  test -n "$AWK" && break
1766
2272
done
1767
2273
 
1768
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1769
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1770
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1771
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2274
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2275
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2276
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2277
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1772
2278
  echo $ECHO_N "(cached) $ECHO_C" >&6
1773
2279
else
1774
2280
  cat >conftest.make <<\_ACEOF
 
2281
SHELL = /bin/sh
1775
2282
all:
1776
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2283
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1777
2284
_ACEOF
1778
2285
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1779
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1780
 
if test -n "$ac_maketemp"; then
1781
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1782
 
else
1783
 
  eval ac_cv_prog_make_${ac_make}_set=no
1784
 
fi
 
2286
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2287
  *@@@%%%=?*=@@@%%%*)
 
2288
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2289
  *)
 
2290
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2291
esac
1785
2292
rm -f conftest.make
1786
2293
fi
1787
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1788
 
  echo "$as_me:$LINENO: result: yes" >&5
1789
 
echo "${ECHO_T}yes" >&6
 
2294
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2295
  { echo "$as_me:$LINENO: result: yes" >&5
 
2296
echo "${ECHO_T}yes" >&6; }
1790
2297
  SET_MAKE=
1791
2298
else
1792
 
  echo "$as_me:$LINENO: result: no" >&5
1793
 
echo "${ECHO_T}no" >&6
 
2299
  { echo "$as_me:$LINENO: result: no" >&5
 
2300
echo "${ECHO_T}no" >&6; }
1794
2301
  SET_MAKE="MAKE=${MAKE-make}"
1795
2302
fi
1796
2303
 
1803
2310
fi
1804
2311
rmdir .tst 2>/dev/null
1805
2312
 
1806
 
# test to see if srcdir already configured
1807
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1808
 
   test -f $srcdir/config.status; then
1809
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2313
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2314
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2315
  # is not polluted with repeated "-I."
 
2316
  am__isrc=' -I$(srcdir)'
 
2317
  # test to see if srcdir already configured
 
2318
  if test -f $srcdir/config.status; then
 
2319
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1810
2320
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1811
2321
   { (exit 1); exit 1; }; }
 
2322
  fi
1812
2323
fi
1813
2324
 
1814
2325
# test whether we have cygpath
1823
2334
 
1824
2335
# Define the identity of the package.
1825
2336
 PACKAGE='easytag'
1826
 
 VERSION='1.99.12'
 
2337
 VERSION='2.1.4'
1827
2338
 
1828
2339
 
1829
2340
cat >>confdefs.h <<_ACEOF
1851
2362
 
1852
2363
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1853
2364
 
1854
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2365
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1855
2366
 
1856
2367
# Installed binaries are usually stripped using `strip' when the user
1857
2368
# run `make install-strip'.  However `strip' might not be the right
1861
2372
  if test -n "$ac_tool_prefix"; then
1862
2373
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1863
2374
set dummy ${ac_tool_prefix}strip; ac_word=$2
1864
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1865
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2375
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2376
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1866
2377
if test "${ac_cv_prog_STRIP+set}" = set; then
1867
2378
  echo $ECHO_N "(cached) $ECHO_C" >&6
1868
2379
else
1875
2386
  IFS=$as_save_IFS
1876
2387
  test -z "$as_dir" && as_dir=.
1877
2388
  for ac_exec_ext in '' $ac_executable_extensions; do
1878
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1879
2390
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1880
2391
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881
2392
    break 2
1882
2393
  fi
1883
2394
done
1884
2395
done
 
2396
IFS=$as_save_IFS
1885
2397
 
1886
2398
fi
1887
2399
fi
1888
2400
STRIP=$ac_cv_prog_STRIP
1889
2401
if test -n "$STRIP"; then
1890
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1891
 
echo "${ECHO_T}$STRIP" >&6
 
2402
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2403
echo "${ECHO_T}$STRIP" >&6; }
1892
2404
else
1893
 
  echo "$as_me:$LINENO: result: no" >&5
1894
 
echo "${ECHO_T}no" >&6
 
2405
  { echo "$as_me:$LINENO: result: no" >&5
 
2406
echo "${ECHO_T}no" >&6; }
1895
2407
fi
 
2408
 
1896
2409
 
1897
2410
fi
1898
2411
if test -z "$ac_cv_prog_STRIP"; then
1899
2412
  ac_ct_STRIP=$STRIP
1900
2413
  # Extract the first word of "strip", so it can be a program name with args.
1901
2414
set dummy strip; ac_word=$2
1902
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1903
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2415
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2416
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1904
2417
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1905
2418
  echo $ECHO_N "(cached) $ECHO_C" >&6
1906
2419
else
1913
2426
  IFS=$as_save_IFS
1914
2427
  test -z "$as_dir" && as_dir=.
1915
2428
  for ac_exec_ext in '' $ac_executable_extensions; do
1916
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2429
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1917
2430
    ac_cv_prog_ac_ct_STRIP="strip"
1918
2431
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919
2432
    break 2
1920
2433
  fi
1921
2434
done
1922
2435
done
 
2436
IFS=$as_save_IFS
1923
2437
 
1924
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1925
2438
fi
1926
2439
fi
1927
2440
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1928
2441
if test -n "$ac_ct_STRIP"; then
1929
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1930
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2442
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2443
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1931
2444
else
1932
 
  echo "$as_me:$LINENO: result: no" >&5
1933
 
echo "${ECHO_T}no" >&6
 
2445
  { echo "$as_me:$LINENO: result: no" >&5
 
2446
echo "${ECHO_T}no" >&6; }
1934
2447
fi
1935
2448
 
1936
 
  STRIP=$ac_ct_STRIP
 
2449
  if test "x$ac_ct_STRIP" = x; then
 
2450
    STRIP=":"
 
2451
  else
 
2452
    case $cross_compiling:$ac_tool_warned in
 
2453
yes:)
 
2454
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2455
whose name does not start with the host triplet.  If you think this
 
2456
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2457
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2458
whose name does not start with the host triplet.  If you think this
 
2459
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2460
ac_tool_warned=yes ;;
 
2461
esac
 
2462
    STRIP=$ac_ct_STRIP
 
2463
  fi
1937
2464
else
1938
2465
  STRIP="$ac_cv_prog_STRIP"
1939
2466
fi
1940
2467
 
1941
2468
fi
1942
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2469
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1943
2470
 
1944
2471
# We need awk for the "check" target.  The system "awk" is bad on
1945
2472
# some platforms.
1954
2481
 
1955
2482
 
1956
2483
 
1957
 
ALL_LINGUAS="bg cs da de el es fr hu it ja nl pl pt_BR ro ru sv uk"
 
2484
ALL_LINGUAS="bg cs da de el es fr he hu it ja nl pl pt_BR ro ru sr sr@Latn sv uk zh_CN zh_TW"
1958
2485
GETTEXT_PACKAGE=easytag
1959
2486
 
1960
2487
 
1971
2498
if test -n "$ac_tool_prefix"; then
1972
2499
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1973
2500
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1974
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1975
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2501
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2502
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1976
2503
if test "${ac_cv_prog_CC+set}" = set; then
1977
2504
  echo $ECHO_N "(cached) $ECHO_C" >&6
1978
2505
else
1985
2512
  IFS=$as_save_IFS
1986
2513
  test -z "$as_dir" && as_dir=.
1987
2514
  for ac_exec_ext in '' $ac_executable_extensions; do
1988
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2515
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1989
2516
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1990
2517
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991
2518
    break 2
1992
2519
  fi
1993
2520
done
1994
2521
done
 
2522
IFS=$as_save_IFS
1995
2523
 
1996
2524
fi
1997
2525
fi
1998
2526
CC=$ac_cv_prog_CC
1999
2527
if test -n "$CC"; then
2000
 
  echo "$as_me:$LINENO: result: $CC" >&5
2001
 
echo "${ECHO_T}$CC" >&6
 
2528
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2529
echo "${ECHO_T}$CC" >&6; }
2002
2530
else
2003
 
  echo "$as_me:$LINENO: result: no" >&5
2004
 
echo "${ECHO_T}no" >&6
 
2531
  { echo "$as_me:$LINENO: result: no" >&5
 
2532
echo "${ECHO_T}no" >&6; }
2005
2533
fi
 
2534
 
2006
2535
 
2007
2536
fi
2008
2537
if test -z "$ac_cv_prog_CC"; then
2009
2538
  ac_ct_CC=$CC
2010
2539
  # Extract the first word of "gcc", so it can be a program name with args.
2011
2540
set dummy gcc; ac_word=$2
2012
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2013
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2541
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2014
2543
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2015
2544
  echo $ECHO_N "(cached) $ECHO_C" >&6
2016
2545
else
2023
2552
  IFS=$as_save_IFS
2024
2553
  test -z "$as_dir" && as_dir=.
2025
2554
  for ac_exec_ext in '' $ac_executable_extensions; do
2026
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2555
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027
2556
    ac_cv_prog_ac_ct_CC="gcc"
2028
2557
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029
2558
    break 2
2030
2559
  fi
2031
2560
done
2032
2561
done
 
2562
IFS=$as_save_IFS
2033
2563
 
2034
2564
fi
2035
2565
fi
2036
2566
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2037
2567
if test -n "$ac_ct_CC"; then
2038
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2039
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2568
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2569
echo "${ECHO_T}$ac_ct_CC" >&6; }
2040
2570
else
2041
 
  echo "$as_me:$LINENO: result: no" >&5
2042
 
echo "${ECHO_T}no" >&6
 
2571
  { echo "$as_me:$LINENO: result: no" >&5
 
2572
echo "${ECHO_T}no" >&6; }
2043
2573
fi
2044
2574
 
2045
 
  CC=$ac_ct_CC
 
2575
  if test "x$ac_ct_CC" = x; then
 
2576
    CC=""
 
2577
  else
 
2578
    case $cross_compiling:$ac_tool_warned in
 
2579
yes:)
 
2580
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2581
whose name does not start with the host triplet.  If you think this
 
2582
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2583
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2584
whose name does not start with the host triplet.  If you think this
 
2585
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2586
ac_tool_warned=yes ;;
 
2587
esac
 
2588
    CC=$ac_ct_CC
 
2589
  fi
2046
2590
else
2047
2591
  CC="$ac_cv_prog_CC"
2048
2592
fi
2049
2593
 
2050
2594
if test -z "$CC"; then
2051
 
  if test -n "$ac_tool_prefix"; then
2052
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2595
          if test -n "$ac_tool_prefix"; then
 
2596
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2053
2597
set dummy ${ac_tool_prefix}cc; ac_word=$2
2054
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2055
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2598
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2599
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056
2600
if test "${ac_cv_prog_CC+set}" = set; then
2057
2601
  echo $ECHO_N "(cached) $ECHO_C" >&6
2058
2602
else
2065
2609
  IFS=$as_save_IFS
2066
2610
  test -z "$as_dir" && as_dir=.
2067
2611
  for ac_exec_ext in '' $ac_executable_extensions; do
2068
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2612
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069
2613
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2070
2614
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071
2615
    break 2
2072
2616
  fi
2073
2617
done
2074
2618
done
 
2619
IFS=$as_save_IFS
2075
2620
 
2076
2621
fi
2077
2622
fi
2078
2623
CC=$ac_cv_prog_CC
2079
2624
if test -n "$CC"; then
2080
 
  echo "$as_me:$LINENO: result: $CC" >&5
2081
 
echo "${ECHO_T}$CC" >&6
2082
 
else
2083
 
  echo "$as_me:$LINENO: result: no" >&5
2084
 
echo "${ECHO_T}no" >&6
2085
 
fi
2086
 
 
2087
 
fi
2088
 
if test -z "$ac_cv_prog_CC"; then
2089
 
  ac_ct_CC=$CC
2090
 
  # Extract the first word of "cc", so it can be a program name with args.
2091
 
set dummy cc; ac_word=$2
2092
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2093
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2094
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2095
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2096
 
else
2097
 
  if test -n "$ac_ct_CC"; then
2098
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2099
 
else
2100
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101
 
for as_dir in $PATH
2102
 
do
2103
 
  IFS=$as_save_IFS
2104
 
  test -z "$as_dir" && as_dir=.
2105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2106
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107
 
    ac_cv_prog_ac_ct_CC="cc"
2108
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109
 
    break 2
 
2625
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2626
echo "${ECHO_T}$CC" >&6; }
 
2627
else
 
2628
  { echo "$as_me:$LINENO: result: no" >&5
 
2629
echo "${ECHO_T}no" >&6; }
 
2630
fi
 
2631
 
 
2632
 
2110
2633
  fi
2111
 
done
2112
 
done
2113
 
 
2114
 
fi
2115
 
fi
2116
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2117
 
if test -n "$ac_ct_CC"; then
2118
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2119
 
echo "${ECHO_T}$ac_ct_CC" >&6
2120
 
else
2121
 
  echo "$as_me:$LINENO: result: no" >&5
2122
 
echo "${ECHO_T}no" >&6
2123
 
fi
2124
 
 
2125
 
  CC=$ac_ct_CC
2126
 
else
2127
 
  CC="$ac_cv_prog_CC"
2128
 
fi
2129
 
 
2130
2634
fi
2131
2635
if test -z "$CC"; then
2132
2636
  # Extract the first word of "cc", so it can be a program name with args.
2133
2637
set dummy cc; ac_word=$2
2134
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2135
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2638
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2639
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2136
2640
if test "${ac_cv_prog_CC+set}" = set; then
2137
2641
  echo $ECHO_N "(cached) $ECHO_C" >&6
2138
2642
else
2146
2650
  IFS=$as_save_IFS
2147
2651
  test -z "$as_dir" && as_dir=.
2148
2652
  for ac_exec_ext in '' $ac_executable_extensions; do
2149
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2653
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150
2654
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2151
2655
       ac_prog_rejected=yes
2152
2656
       continue
2157
2661
  fi
2158
2662
done
2159
2663
done
 
2664
IFS=$as_save_IFS
2160
2665
 
2161
2666
if test $ac_prog_rejected = yes; then
2162
2667
  # We found a bogon in the path, so make sure we never use it.
2174
2679
fi
2175
2680
CC=$ac_cv_prog_CC
2176
2681
if test -n "$CC"; then
2177
 
  echo "$as_me:$LINENO: result: $CC" >&5
2178
 
echo "${ECHO_T}$CC" >&6
 
2682
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2683
echo "${ECHO_T}$CC" >&6; }
2179
2684
else
2180
 
  echo "$as_me:$LINENO: result: no" >&5
2181
 
echo "${ECHO_T}no" >&6
 
2685
  { echo "$as_me:$LINENO: result: no" >&5
 
2686
echo "${ECHO_T}no" >&6; }
2182
2687
fi
 
2688
 
2183
2689
 
2184
2690
fi
2185
2691
if test -z "$CC"; then
2186
2692
  if test -n "$ac_tool_prefix"; then
2187
 
  for ac_prog in cl
 
2693
  for ac_prog in cl.exe
2188
2694
  do
2189
2695
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2190
2696
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2191
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2192
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2697
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2698
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2193
2699
if test "${ac_cv_prog_CC+set}" = set; then
2194
2700
  echo $ECHO_N "(cached) $ECHO_C" >&6
2195
2701
else
2202
2708
  IFS=$as_save_IFS
2203
2709
  test -z "$as_dir" && as_dir=.
2204
2710
  for ac_exec_ext in '' $ac_executable_extensions; do
2205
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206
2712
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2207
2713
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208
2714
    break 2
2209
2715
  fi
2210
2716
done
2211
2717
done
 
2718
IFS=$as_save_IFS
2212
2719
 
2213
2720
fi
2214
2721
fi
2215
2722
CC=$ac_cv_prog_CC
2216
2723
if test -n "$CC"; then
2217
 
  echo "$as_me:$LINENO: result: $CC" >&5
2218
 
echo "${ECHO_T}$CC" >&6
 
2724
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2725
echo "${ECHO_T}$CC" >&6; }
2219
2726
else
2220
 
  echo "$as_me:$LINENO: result: no" >&5
2221
 
echo "${ECHO_T}no" >&6
 
2727
  { echo "$as_me:$LINENO: result: no" >&5
 
2728
echo "${ECHO_T}no" >&6; }
2222
2729
fi
2223
2730
 
 
2731
 
2224
2732
    test -n "$CC" && break
2225
2733
  done
2226
2734
fi
2227
2735
if test -z "$CC"; then
2228
2736
  ac_ct_CC=$CC
2229
 
  for ac_prog in cl
 
2737
  for ac_prog in cl.exe
2230
2738
do
2231
2739
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2232
2740
set dummy $ac_prog; ac_word=$2
2233
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2741
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2235
2743
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2236
2744
  echo $ECHO_N "(cached) $ECHO_C" >&6
2237
2745
else
2244
2752
  IFS=$as_save_IFS
2245
2753
  test -z "$as_dir" && as_dir=.
2246
2754
  for ac_exec_ext in '' $ac_executable_extensions; do
2247
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2755
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2248
2756
    ac_cv_prog_ac_ct_CC="$ac_prog"
2249
2757
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250
2758
    break 2
2251
2759
  fi
2252
2760
done
2253
2761
done
 
2762
IFS=$as_save_IFS
2254
2763
 
2255
2764
fi
2256
2765
fi
2257
2766
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2258
2767
if test -n "$ac_ct_CC"; then
2259
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2260
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2768
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2769
echo "${ECHO_T}$ac_ct_CC" >&6; }
2261
2770
else
2262
 
  echo "$as_me:$LINENO: result: no" >&5
2263
 
echo "${ECHO_T}no" >&6
 
2771
  { echo "$as_me:$LINENO: result: no" >&5
 
2772
echo "${ECHO_T}no" >&6; }
2264
2773
fi
2265
2774
 
 
2775
 
2266
2776
  test -n "$ac_ct_CC" && break
2267
2777
done
2268
2778
 
2269
 
  CC=$ac_ct_CC
 
2779
  if test "x$ac_ct_CC" = x; then
 
2780
    CC=""
 
2781
  else
 
2782
    case $cross_compiling:$ac_tool_warned in
 
2783
yes:)
 
2784
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2785
whose name does not start with the host triplet.  If you think this
 
2786
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2787
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2788
whose name does not start with the host triplet.  If you think this
 
2789
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2790
ac_tool_warned=yes ;;
 
2791
esac
 
2792
    CC=$ac_ct_CC
 
2793
  fi
2270
2794
fi
2271
2795
 
2272
2796
fi
2279
2803
   { (exit 1); exit 1; }; }
2280
2804
 
2281
2805
# Provide some information about the compiler.
2282
 
echo "$as_me:$LINENO:" \
2283
 
     "checking for C compiler version" >&5
 
2806
echo "$as_me:$LINENO: checking for C compiler version" >&5
2284
2807
ac_compiler=`set X $ac_compile; echo $2`
2285
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2286
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2287
 
  ac_status=$?
2288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289
 
  (exit $ac_status); }
2290
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2291
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2292
 
  ac_status=$?
2293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294
 
  (exit $ac_status); }
2295
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2296
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2808
{ (ac_try="$ac_compiler --version >&5"
 
2809
case "(($ac_try" in
 
2810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2811
  *) ac_try_echo=$ac_try;;
 
2812
esac
 
2813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2814
  (eval "$ac_compiler --version >&5") 2>&5
 
2815
  ac_status=$?
 
2816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2817
  (exit $ac_status); }
 
2818
{ (ac_try="$ac_compiler -v >&5"
 
2819
case "(($ac_try" in
 
2820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2821
  *) ac_try_echo=$ac_try;;
 
2822
esac
 
2823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2824
  (eval "$ac_compiler -v >&5") 2>&5
 
2825
  ac_status=$?
 
2826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2827
  (exit $ac_status); }
 
2828
{ (ac_try="$ac_compiler -V >&5"
 
2829
case "(($ac_try" in
 
2830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2831
  *) ac_try_echo=$ac_try;;
 
2832
esac
 
2833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2834
  (eval "$ac_compiler -V >&5") 2>&5
2297
2835
  ac_status=$?
2298
2836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299
2837
  (exit $ac_status); }
2318
2856
# Try to create an executable without -o first, disregard a.out.
2319
2857
# It will help us diagnose broken compilers, and finding out an intuition
2320
2858
# of exeext.
2321
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2322
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2859
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2860
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2323
2861
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2324
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2325
 
  (eval $ac_link_default) 2>&5
 
2862
#
 
2863
# List of possible output files, starting from the most likely.
 
2864
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2865
# only as a last resort.  b.out is created by i960 compilers.
 
2866
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2867
#
 
2868
# The IRIX 6 linker writes into existing files which may not be
 
2869
# executable, retaining their permissions.  Remove them first so a
 
2870
# subsequent execution test works.
 
2871
ac_rmfiles=
 
2872
for ac_file in $ac_files
 
2873
do
 
2874
  case $ac_file in
 
2875
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2876
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2877
  esac
 
2878
done
 
2879
rm -f $ac_rmfiles
 
2880
 
 
2881
if { (ac_try="$ac_link_default"
 
2882
case "(($ac_try" in
 
2883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2884
  *) ac_try_echo=$ac_try;;
 
2885
esac
 
2886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2887
  (eval "$ac_link_default") 2>&5
2326
2888
  ac_status=$?
2327
2889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
2890
  (exit $ac_status); }; then
2329
 
  # Find the output, starting from the most likely.  This scheme is
2330
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2331
 
# resort.
2332
 
 
2333
 
# Be careful to initialize this variable, since it used to be cached.
2334
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2335
 
ac_cv_exeext=
2336
 
# b.out is created by i960 compilers.
2337
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2891
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2892
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2893
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2894
# so that the user can short-circuit this test for compilers unknown to
 
2895
# Autoconf.
 
2896
for ac_file in $ac_files ''
2338
2897
do
2339
2898
  test -f "$ac_file" || continue
2340
2899
  case $ac_file in
2341
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2342
 
        ;;
2343
 
    conftest.$ac_ext )
2344
 
        # This is the source file.
 
2900
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2345
2901
        ;;
2346
2902
    [ab].out )
2347
2903
        # We found the default executable, but exeext='' is most
2348
2904
        # certainly right.
2349
2905
        break;;
2350
2906
    *.* )
2351
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2352
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2353
 
        # but it would be cool to find out if it's true.  Does anybody
2354
 
        # maintain Libtool? --akim.
2355
 
        export ac_cv_exeext
 
2907
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2908
        then :; else
 
2909
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2910
        fi
 
2911
        # We set ac_cv_exeext here because the later test for it is not
 
2912
        # safe: cross compilers may not add the suffix if given an `-o'
 
2913
        # argument, so we may need to know it at that point already.
 
2914
        # Even if this section looks crufty: it has the advantage of
 
2915
        # actually working.
2356
2916
        break;;
2357
2917
    * )
2358
2918
        break;;
2359
2919
  esac
2360
2920
done
 
2921
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2922
 
2361
2923
else
 
2924
  ac_file=''
 
2925
fi
 
2926
 
 
2927
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2928
echo "${ECHO_T}$ac_file" >&6; }
 
2929
if test -z "$ac_file"; then
2362
2930
  echo "$as_me: failed program was:" >&5
2363
2931
sed 's/^/| /' conftest.$ac_ext >&5
2364
2932
 
2370
2938
fi
2371
2939
 
2372
2940
ac_exeext=$ac_cv_exeext
2373
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2374
 
echo "${ECHO_T}$ac_file" >&6
2375
2941
 
2376
 
# Check the compiler produces executables we can run.  If not, either
 
2942
# Check that the compiler produces executables we can run.  If not, either
2377
2943
# the compiler is broken, or we cross compile.
2378
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2379
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2944
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2945
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2380
2946
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2381
2947
# If not cross compiling, check that we can run a simple program.
2382
2948
if test "$cross_compiling" != yes; then
2383
2949
  if { ac_try='./$ac_file'
2384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385
 
  (eval $ac_try) 2>&5
 
2950
  { (case "(($ac_try" in
 
2951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2952
  *) ac_try_echo=$ac_try;;
 
2953
esac
 
2954
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2955
  (eval "$ac_try") 2>&5
2386
2956
  ac_status=$?
2387
2957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388
2958
  (exit $ac_status); }; }; then
2401
2971
    fi
2402
2972
  fi
2403
2973
fi
2404
 
echo "$as_me:$LINENO: result: yes" >&5
2405
 
echo "${ECHO_T}yes" >&6
 
2974
{ echo "$as_me:$LINENO: result: yes" >&5
 
2975
echo "${ECHO_T}yes" >&6; }
2406
2976
 
2407
2977
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2408
2978
ac_clean_files=$ac_clean_files_save
2409
 
# Check the compiler produces executables we can run.  If not, either
 
2979
# Check that the compiler produces executables we can run.  If not, either
2410
2980
# the compiler is broken, or we cross compile.
2411
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2412
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2413
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2414
 
echo "${ECHO_T}$cross_compiling" >&6
 
2981
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2982
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2983
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2984
echo "${ECHO_T}$cross_compiling" >&6; }
2415
2985
 
2416
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2417
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2418
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2419
 
  (eval $ac_link) 2>&5
 
2986
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2987
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2988
if { (ac_try="$ac_link"
 
2989
case "(($ac_try" in
 
2990
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2991
  *) ac_try_echo=$ac_try;;
 
2992
esac
 
2993
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2994
  (eval "$ac_link") 2>&5
2420
2995
  ac_status=$?
2421
2996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
2997
  (exit $ac_status); }; then
2427
3002
for ac_file in conftest.exe conftest conftest.*; do
2428
3003
  test -f "$ac_file" || continue
2429
3004
  case $ac_file in
2430
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3005
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2431
3006
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2432
 
          export ac_cv_exeext
2433
3007
          break;;
2434
3008
    * ) break;;
2435
3009
  esac
2443
3017
fi
2444
3018
 
2445
3019
rm -f conftest$ac_cv_exeext
2446
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2447
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3020
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3021
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2448
3022
 
2449
3023
rm -f conftest.$ac_ext
2450
3024
EXEEXT=$ac_cv_exeext
2451
3025
ac_exeext=$EXEEXT
2452
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2453
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3026
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3027
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2454
3028
if test "${ac_cv_objext+set}" = set; then
2455
3029
  echo $ECHO_N "(cached) $ECHO_C" >&6
2456
3030
else
2470
3044
}
2471
3045
_ACEOF
2472
3046
rm -f conftest.o conftest.obj
2473
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474
 
  (eval $ac_compile) 2>&5
 
3047
if { (ac_try="$ac_compile"
 
3048
case "(($ac_try" in
 
3049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3050
  *) ac_try_echo=$ac_try;;
 
3051
esac
 
3052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3053
  (eval "$ac_compile") 2>&5
2475
3054
  ac_status=$?
2476
3055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
3056
  (exit $ac_status); }; then
2478
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3057
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3058
  test -f "$ac_file" || continue;
2479
3059
  case $ac_file in
2480
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3060
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2481
3061
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2482
3062
       break;;
2483
3063
  esac
2495
3075
 
2496
3076
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2497
3077
fi
2498
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2499
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3078
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3079
echo "${ECHO_T}$ac_cv_objext" >&6; }
2500
3080
OBJEXT=$ac_cv_objext
2501
3081
ac_objext=$OBJEXT
2502
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2503
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3082
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3083
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2504
3084
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2505
3085
  echo $ECHO_N "(cached) $ECHO_C" >&6
2506
3086
else
2523
3103
}
2524
3104
_ACEOF
2525
3105
rm -f conftest.$ac_objext
2526
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527
 
  (eval $ac_compile) 2>conftest.er1
 
3106
if { (ac_try="$ac_compile"
 
3107
case "(($ac_try" in
 
3108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3109
  *) ac_try_echo=$ac_try;;
 
3110
esac
 
3111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3112
  (eval "$ac_compile") 2>conftest.er1
2528
3113
  ac_status=$?
2529
3114
  grep -v '^ *+' conftest.er1 >conftest.err
2530
3115
  rm -f conftest.er1
2531
3116
  cat conftest.err >&5
2532
3117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533
 
  (exit $ac_status); } &&
2534
 
         { ac_try='test -z "$ac_c_werror_flag"
2535
 
                         || test ! -s conftest.err'
2536
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537
 
  (eval $ac_try) 2>&5
2538
 
  ac_status=$?
2539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
 
  (exit $ac_status); }; } &&
2541
 
         { ac_try='test -s conftest.$ac_objext'
2542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543
 
  (eval $ac_try) 2>&5
2544
 
  ac_status=$?
2545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
 
  (exit $ac_status); }; }; then
 
3118
  (exit $ac_status); } && {
 
3119
         test -z "$ac_c_werror_flag" ||
 
3120
         test ! -s conftest.err
 
3121
       } && test -s conftest.$ac_objext; then
2547
3122
  ac_compiler_gnu=yes
2548
3123
else
2549
3124
  echo "$as_me: failed program was:" >&5
2550
3125
sed 's/^/| /' conftest.$ac_ext >&5
2551
3126
 
2552
 
ac_compiler_gnu=no
 
3127
        ac_compiler_gnu=no
2553
3128
fi
2554
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3129
 
 
3130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555
3131
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2556
3132
 
2557
3133
fi
2558
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2559
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3134
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3135
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2560
3136
GCC=`test $ac_compiler_gnu = yes && echo yes`
2561
3137
ac_test_CFLAGS=${CFLAGS+set}
2562
3138
ac_save_CFLAGS=$CFLAGS
2563
 
CFLAGS="-g"
2564
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2565
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3139
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3140
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2566
3141
if test "${ac_cv_prog_cc_g+set}" = set; then
2567
3142
  echo $ECHO_N "(cached) $ECHO_C" >&6
2568
3143
else
2569
 
  cat >conftest.$ac_ext <<_ACEOF
2570
 
/* confdefs.h.  */
2571
 
_ACEOF
2572
 
cat confdefs.h >>conftest.$ac_ext
2573
 
cat >>conftest.$ac_ext <<_ACEOF
2574
 
/* end confdefs.h.  */
2575
 
 
2576
 
int
2577
 
main ()
2578
 
{
2579
 
 
2580
 
  ;
2581
 
  return 0;
2582
 
}
2583
 
_ACEOF
2584
 
rm -f conftest.$ac_objext
2585
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586
 
  (eval $ac_compile) 2>conftest.er1
2587
 
  ac_status=$?
2588
 
  grep -v '^ *+' conftest.er1 >conftest.err
2589
 
  rm -f conftest.er1
2590
 
  cat conftest.err >&5
2591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
 
  (exit $ac_status); } &&
2593
 
         { ac_try='test -z "$ac_c_werror_flag"
2594
 
                         || test ! -s conftest.err'
2595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596
 
  (eval $ac_try) 2>&5
2597
 
  ac_status=$?
2598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
 
  (exit $ac_status); }; } &&
2600
 
         { ac_try='test -s conftest.$ac_objext'
2601
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602
 
  (eval $ac_try) 2>&5
2603
 
  ac_status=$?
2604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605
 
  (exit $ac_status); }; }; then
2606
 
  ac_cv_prog_cc_g=yes
2607
 
else
2608
 
  echo "$as_me: failed program was:" >&5
2609
 
sed 's/^/| /' conftest.$ac_ext >&5
2610
 
 
2611
 
ac_cv_prog_cc_g=no
2612
 
fi
2613
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614
 
fi
2615
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2616
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3144
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3145
   ac_c_werror_flag=yes
 
3146
   ac_cv_prog_cc_g=no
 
3147
   CFLAGS="-g"
 
3148
   cat >conftest.$ac_ext <<_ACEOF
 
3149
/* confdefs.h.  */
 
3150
_ACEOF
 
3151
cat confdefs.h >>conftest.$ac_ext
 
3152
cat >>conftest.$ac_ext <<_ACEOF
 
3153
/* end confdefs.h.  */
 
3154
 
 
3155
int
 
3156
main ()
 
3157
{
 
3158
 
 
3159
  ;
 
3160
  return 0;
 
3161
}
 
3162
_ACEOF
 
3163
rm -f conftest.$ac_objext
 
3164
if { (ac_try="$ac_compile"
 
3165
case "(($ac_try" in
 
3166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3167
  *) ac_try_echo=$ac_try;;
 
3168
esac
 
3169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3170
  (eval "$ac_compile") 2>conftest.er1
 
3171
  ac_status=$?
 
3172
  grep -v '^ *+' conftest.er1 >conftest.err
 
3173
  rm -f conftest.er1
 
3174
  cat conftest.err >&5
 
3175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3176
  (exit $ac_status); } && {
 
3177
         test -z "$ac_c_werror_flag" ||
 
3178
         test ! -s conftest.err
 
3179
       } && test -s conftest.$ac_objext; then
 
3180
  ac_cv_prog_cc_g=yes
 
3181
else
 
3182
  echo "$as_me: failed program was:" >&5
 
3183
sed 's/^/| /' conftest.$ac_ext >&5
 
3184
 
 
3185
        CFLAGS=""
 
3186
      cat >conftest.$ac_ext <<_ACEOF
 
3187
/* confdefs.h.  */
 
3188
_ACEOF
 
3189
cat confdefs.h >>conftest.$ac_ext
 
3190
cat >>conftest.$ac_ext <<_ACEOF
 
3191
/* end confdefs.h.  */
 
3192
 
 
3193
int
 
3194
main ()
 
3195
{
 
3196
 
 
3197
  ;
 
3198
  return 0;
 
3199
}
 
3200
_ACEOF
 
3201
rm -f conftest.$ac_objext
 
3202
if { (ac_try="$ac_compile"
 
3203
case "(($ac_try" in
 
3204
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3205
  *) ac_try_echo=$ac_try;;
 
3206
esac
 
3207
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3208
  (eval "$ac_compile") 2>conftest.er1
 
3209
  ac_status=$?
 
3210
  grep -v '^ *+' conftest.er1 >conftest.err
 
3211
  rm -f conftest.er1
 
3212
  cat conftest.err >&5
 
3213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3214
  (exit $ac_status); } && {
 
3215
         test -z "$ac_c_werror_flag" ||
 
3216
         test ! -s conftest.err
 
3217
       } && test -s conftest.$ac_objext; then
 
3218
  :
 
3219
else
 
3220
  echo "$as_me: failed program was:" >&5
 
3221
sed 's/^/| /' conftest.$ac_ext >&5
 
3222
 
 
3223
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3224
         CFLAGS="-g"
 
3225
         cat >conftest.$ac_ext <<_ACEOF
 
3226
/* confdefs.h.  */
 
3227
_ACEOF
 
3228
cat confdefs.h >>conftest.$ac_ext
 
3229
cat >>conftest.$ac_ext <<_ACEOF
 
3230
/* end confdefs.h.  */
 
3231
 
 
3232
int
 
3233
main ()
 
3234
{
 
3235
 
 
3236
  ;
 
3237
  return 0;
 
3238
}
 
3239
_ACEOF
 
3240
rm -f conftest.$ac_objext
 
3241
if { (ac_try="$ac_compile"
 
3242
case "(($ac_try" in
 
3243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3244
  *) ac_try_echo=$ac_try;;
 
3245
esac
 
3246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3247
  (eval "$ac_compile") 2>conftest.er1
 
3248
  ac_status=$?
 
3249
  grep -v '^ *+' conftest.er1 >conftest.err
 
3250
  rm -f conftest.er1
 
3251
  cat conftest.err >&5
 
3252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3253
  (exit $ac_status); } && {
 
3254
         test -z "$ac_c_werror_flag" ||
 
3255
         test ! -s conftest.err
 
3256
       } && test -s conftest.$ac_objext; then
 
3257
  ac_cv_prog_cc_g=yes
 
3258
else
 
3259
  echo "$as_me: failed program was:" >&5
 
3260
sed 's/^/| /' conftest.$ac_ext >&5
 
3261
 
 
3262
 
 
3263
fi
 
3264
 
 
3265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3266
fi
 
3267
 
 
3268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3269
fi
 
3270
 
 
3271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3272
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3273
fi
 
3274
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3275
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2617
3276
if test "$ac_test_CFLAGS" = set; then
2618
3277
  CFLAGS=$ac_save_CFLAGS
2619
3278
elif test $ac_cv_prog_cc_g = yes; then
2629
3288
    CFLAGS=
2630
3289
  fi
2631
3290
fi
2632
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2633
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2634
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3291
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3292
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3293
if test "${ac_cv_prog_cc_c89+set}" = set; then
2635
3294
  echo $ECHO_N "(cached) $ECHO_C" >&6
2636
3295
else
2637
 
  ac_cv_prog_cc_stdc=no
 
3296
  ac_cv_prog_cc_c89=no
2638
3297
ac_save_CC=$CC
2639
3298
cat >conftest.$ac_ext <<_ACEOF
2640
3299
/* confdefs.h.  */
2668
3327
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2669
3328
   function prototypes and stuff, but not '\xHH' hex character constants.
2670
3329
   These don't provoke an error unfortunately, instead are silently treated
2671
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3330
   as 'x'.  The following induces an error, until -std is added to get
2672
3331
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2673
3332
   array size at least.  It's necessary to write '\x00'==0 to get something
2674
 
   that's true only with -std1.  */
 
3333
   that's true only with -std.  */
2675
3334
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2676
3335
 
 
3336
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3337
   inside strings and character constants.  */
 
3338
#define FOO(x) 'x'
 
3339
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3340
 
2677
3341
int test (int i, double x);
2678
3342
struct s1 {int (*f) (int a);};
2679
3343
struct s2 {int (*f) (double a);};
2688
3352
  return 0;
2689
3353
}
2690
3354
_ACEOF
2691
 
# Don't try gcc -ansi; that turns off useful extensions and
2692
 
# breaks some systems' header files.
2693
 
# AIX                   -qlanglvl=ansi
2694
 
# Ultrix and OSF/1      -std1
2695
 
# HP-UX 10.20 and later -Ae
2696
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2697
 
# SVR4                  -Xc -D__EXTENSIONS__
2698
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3355
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3356
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2699
3357
do
2700
3358
  CC="$ac_save_CC $ac_arg"
2701
3359
  rm -f conftest.$ac_objext
2702
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703
 
  (eval $ac_compile) 2>conftest.er1
 
3360
if { (ac_try="$ac_compile"
 
3361
case "(($ac_try" in
 
3362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3363
  *) ac_try_echo=$ac_try;;
 
3364
esac
 
3365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3366
  (eval "$ac_compile") 2>conftest.er1
2704
3367
  ac_status=$?
2705
3368
  grep -v '^ *+' conftest.er1 >conftest.err
2706
3369
  rm -f conftest.er1
2707
3370
  cat conftest.err >&5
2708
3371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
 
  (exit $ac_status); } &&
2710
 
         { ac_try='test -z "$ac_c_werror_flag"
2711
 
                         || test ! -s conftest.err'
2712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713
 
  (eval $ac_try) 2>&5
2714
 
  ac_status=$?
2715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
 
  (exit $ac_status); }; } &&
2717
 
         { ac_try='test -s conftest.$ac_objext'
2718
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719
 
  (eval $ac_try) 2>&5
2720
 
  ac_status=$?
2721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
 
  (exit $ac_status); }; }; then
2723
 
  ac_cv_prog_cc_stdc=$ac_arg
2724
 
break
 
3372
  (exit $ac_status); } && {
 
3373
         test -z "$ac_c_werror_flag" ||
 
3374
         test ! -s conftest.err
 
3375
       } && test -s conftest.$ac_objext; then
 
3376
  ac_cv_prog_cc_c89=$ac_arg
2725
3377
else
2726
3378
  echo "$as_me: failed program was:" >&5
2727
3379
sed 's/^/| /' conftest.$ac_ext >&5
2728
3380
 
 
3381
 
2729
3382
fi
2730
 
rm -f conftest.err conftest.$ac_objext
 
3383
 
 
3384
rm -f core conftest.err conftest.$ac_objext
 
3385
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2731
3386
done
2732
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3387
rm -f conftest.$ac_ext
2733
3388
CC=$ac_save_CC
2734
3389
 
2735
3390
fi
2736
 
 
2737
 
case "x$ac_cv_prog_cc_stdc" in
2738
 
  x|xno)
2739
 
    echo "$as_me:$LINENO: result: none needed" >&5
2740
 
echo "${ECHO_T}none needed" >&6 ;;
 
3391
# AC_CACHE_VAL
 
3392
case "x$ac_cv_prog_cc_c89" in
 
3393
  x)
 
3394
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3395
echo "${ECHO_T}none needed" >&6; } ;;
 
3396
  xno)
 
3397
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3398
echo "${ECHO_T}unsupported" >&6; } ;;
2741
3399
  *)
2742
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2743
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2744
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3400
    CC="$CC $ac_cv_prog_cc_c89"
 
3401
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3402
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2745
3403
esac
2746
3404
 
2747
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2748
 
# in C++ we need to declare it.  In case someone uses the same compiler
2749
 
# for both compiling C and C++ we need to have the C++ compiler decide
2750
 
# the declaration of exit, since it's the most demanding environment.
2751
 
cat >conftest.$ac_ext <<_ACEOF
2752
 
#ifndef __cplusplus
2753
 
  choke me
2754
 
#endif
2755
 
_ACEOF
2756
 
rm -f conftest.$ac_objext
2757
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758
 
  (eval $ac_compile) 2>conftest.er1
2759
 
  ac_status=$?
2760
 
  grep -v '^ *+' conftest.er1 >conftest.err
2761
 
  rm -f conftest.er1
2762
 
  cat conftest.err >&5
2763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
 
  (exit $ac_status); } &&
2765
 
         { ac_try='test -z "$ac_c_werror_flag"
2766
 
                         || test ! -s conftest.err'
2767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768
 
  (eval $ac_try) 2>&5
2769
 
  ac_status=$?
2770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771
 
  (exit $ac_status); }; } &&
2772
 
         { ac_try='test -s conftest.$ac_objext'
2773
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774
 
  (eval $ac_try) 2>&5
2775
 
  ac_status=$?
2776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
 
  (exit $ac_status); }; }; then
2778
 
  for ac_declaration in \
2779
 
   '' \
2780
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2781
 
   'extern "C" void std::exit (int); using std::exit;' \
2782
 
   'extern "C" void exit (int) throw ();' \
2783
 
   'extern "C" void exit (int);' \
2784
 
   'void exit (int);'
2785
 
do
2786
 
  cat >conftest.$ac_ext <<_ACEOF
2787
 
/* confdefs.h.  */
2788
 
_ACEOF
2789
 
cat confdefs.h >>conftest.$ac_ext
2790
 
cat >>conftest.$ac_ext <<_ACEOF
2791
 
/* end confdefs.h.  */
2792
 
$ac_declaration
2793
 
#include <stdlib.h>
2794
 
int
2795
 
main ()
2796
 
{
2797
 
exit (42);
2798
 
  ;
2799
 
  return 0;
2800
 
}
2801
 
_ACEOF
2802
 
rm -f conftest.$ac_objext
2803
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804
 
  (eval $ac_compile) 2>conftest.er1
2805
 
  ac_status=$?
2806
 
  grep -v '^ *+' conftest.er1 >conftest.err
2807
 
  rm -f conftest.er1
2808
 
  cat conftest.err >&5
2809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
 
  (exit $ac_status); } &&
2811
 
         { ac_try='test -z "$ac_c_werror_flag"
2812
 
                         || test ! -s conftest.err'
2813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814
 
  (eval $ac_try) 2>&5
2815
 
  ac_status=$?
2816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817
 
  (exit $ac_status); }; } &&
2818
 
         { ac_try='test -s conftest.$ac_objext'
2819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820
 
  (eval $ac_try) 2>&5
2821
 
  ac_status=$?
2822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
 
  (exit $ac_status); }; }; then
2824
 
  :
2825
 
else
2826
 
  echo "$as_me: failed program was:" >&5
2827
 
sed 's/^/| /' conftest.$ac_ext >&5
2828
 
 
2829
 
continue
2830
 
fi
2831
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2832
 
  cat >conftest.$ac_ext <<_ACEOF
2833
 
/* confdefs.h.  */
2834
 
_ACEOF
2835
 
cat confdefs.h >>conftest.$ac_ext
2836
 
cat >>conftest.$ac_ext <<_ACEOF
2837
 
/* end confdefs.h.  */
2838
 
$ac_declaration
2839
 
int
2840
 
main ()
2841
 
{
2842
 
exit (42);
2843
 
  ;
2844
 
  return 0;
2845
 
}
2846
 
_ACEOF
2847
 
rm -f conftest.$ac_objext
2848
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849
 
  (eval $ac_compile) 2>conftest.er1
2850
 
  ac_status=$?
2851
 
  grep -v '^ *+' conftest.er1 >conftest.err
2852
 
  rm -f conftest.er1
2853
 
  cat conftest.err >&5
2854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855
 
  (exit $ac_status); } &&
2856
 
         { ac_try='test -z "$ac_c_werror_flag"
2857
 
                         || test ! -s conftest.err'
2858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859
 
  (eval $ac_try) 2>&5
2860
 
  ac_status=$?
2861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862
 
  (exit $ac_status); }; } &&
2863
 
         { ac_try='test -s conftest.$ac_objext'
2864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865
 
  (eval $ac_try) 2>&5
2866
 
  ac_status=$?
2867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868
 
  (exit $ac_status); }; }; then
2869
 
  break
2870
 
else
2871
 
  echo "$as_me: failed program was:" >&5
2872
 
sed 's/^/| /' conftest.$ac_ext >&5
2873
 
 
2874
 
fi
2875
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2876
 
done
2877
 
rm -f conftest*
2878
 
if test -n "$ac_declaration"; then
2879
 
  echo '#ifdef __cplusplus' >>confdefs.h
2880
 
  echo $ac_declaration      >>confdefs.h
2881
 
  echo '#endif'             >>confdefs.h
2882
 
fi
2883
 
 
2884
 
else
2885
 
  echo "$as_me: failed program was:" >&5
2886
 
sed 's/^/| /' conftest.$ac_ext >&5
2887
 
 
2888
 
fi
2889
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3405
 
2890
3406
ac_ext=c
2891
3407
ac_cpp='$CPP $CPPFLAGS'
2892
3408
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894
3410
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895
3411
DEPDIR="${am__leading_dot}deps"
2896
3412
 
2897
 
          ac_config_commands="$ac_config_commands depfiles"
 
3413
ac_config_commands="$ac_config_commands depfiles"
2898
3414
 
2899
3415
 
2900
3416
am_make=${MAKE-make}
2904
3420
.PHONY: am__doit
2905
3421
END
2906
3422
# If we don't find an include directive, just comment out the code.
2907
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2908
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3423
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3424
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2909
3425
am__include="#"
2910
3426
am__quote=
2911
3427
_am_result=none
2932
3448
fi
2933
3449
 
2934
3450
 
2935
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2936
 
echo "${ECHO_T}$_am_result" >&6
 
3451
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3452
echo "${ECHO_T}$_am_result" >&6; }
2937
3453
rm -f confinc confmf
2938
3454
 
2939
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3455
# Check whether --enable-dependency-tracking was given.
2940
3456
if test "${enable_dependency_tracking+set}" = set; then
2941
 
  enableval="$enable_dependency_tracking"
 
3457
  enableval=$enable_dependency_tracking;
 
3458
fi
2942
3459
 
2943
 
fi;
2944
3460
if test "x$enable_dependency_tracking" != xno; then
2945
3461
  am_depcomp="$ac_aux_dir/depcomp"
2946
3462
  AMDEPBACKSLASH='\'
2947
3463
fi
2948
 
 
2949
 
 
2950
 
if test "x$enable_dependency_tracking" != xno; then
 
3464
 if test "x$enable_dependency_tracking" != xno; then
2951
3465
  AMDEP_TRUE=
2952
3466
  AMDEP_FALSE='#'
2953
3467
else
2957
3471
 
2958
3472
 
2959
3473
 
2960
 
 
2961
3474
depcc="$CC"   am_compiler_list=
2962
3475
 
2963
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2964
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3476
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3477
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2965
3478
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2966
3479
  echo $ECHO_N "(cached) $ECHO_C" >&6
2967
3480
else
3025
3538
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3026
3539
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3027
3540
         >/dev/null 2>conftest.err &&
 
3541
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3028
3542
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3029
3543
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3030
3544
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3050
3564
fi
3051
3565
 
3052
3566
fi
3053
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3054
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3567
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3568
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3055
3569
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3056
3570
 
3057
 
 
3058
 
 
3059
 
if
 
3571
 if
3060
3572
  test "x$enable_dependency_tracking" != xno \
3061
3573
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3062
3574
  am__fastdepCC_TRUE=
3067
3579
fi
3068
3580
 
3069
3581
 
3070
 
ac_ext=cc
 
3582
ac_ext=cpp
3071
3583
ac_cpp='$CXXCPP $CPPFLAGS'
3072
3584
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3073
3585
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3074
3586
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3075
 
if test -n "$ac_tool_prefix"; then
3076
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3587
if test -z "$CXX"; then
 
3588
  if test -n "$CCC"; then
 
3589
    CXX=$CCC
 
3590
  else
 
3591
    if test -n "$ac_tool_prefix"; then
 
3592
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3077
3593
  do
3078
3594
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3079
3595
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3080
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3081
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3596
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3597
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3082
3598
if test "${ac_cv_prog_CXX+set}" = set; then
3083
3599
  echo $ECHO_N "(cached) $ECHO_C" >&6
3084
3600
else
3091
3607
  IFS=$as_save_IFS
3092
3608
  test -z "$as_dir" && as_dir=.
3093
3609
  for ac_exec_ext in '' $ac_executable_extensions; do
3094
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3610
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095
3611
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3096
3612
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097
3613
    break 2
3098
3614
  fi
3099
3615
done
3100
3616
done
 
3617
IFS=$as_save_IFS
3101
3618
 
3102
3619
fi
3103
3620
fi
3104
3621
CXX=$ac_cv_prog_CXX
3105
3622
if test -n "$CXX"; then
3106
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3107
 
echo "${ECHO_T}$CXX" >&6
 
3623
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
3624
echo "${ECHO_T}$CXX" >&6; }
3108
3625
else
3109
 
  echo "$as_me:$LINENO: result: no" >&5
3110
 
echo "${ECHO_T}no" >&6
 
3626
  { echo "$as_me:$LINENO: result: no" >&5
 
3627
echo "${ECHO_T}no" >&6; }
3111
3628
fi
3112
3629
 
 
3630
 
3113
3631
    test -n "$CXX" && break
3114
3632
  done
3115
3633
fi
3116
3634
if test -z "$CXX"; then
3117
3635
  ac_ct_CXX=$CXX
3118
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3636
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3119
3637
do
3120
3638
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3121
3639
set dummy $ac_prog; ac_word=$2
3122
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3123
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3640
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3641
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3124
3642
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3125
3643
  echo $ECHO_N "(cached) $ECHO_C" >&6
3126
3644
else
3133
3651
  IFS=$as_save_IFS
3134
3652
  test -z "$as_dir" && as_dir=.
3135
3653
  for ac_exec_ext in '' $ac_executable_extensions; do
3136
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137
3655
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3138
3656
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3139
3657
    break 2
3140
3658
  fi
3141
3659
done
3142
3660
done
 
3661
IFS=$as_save_IFS
3143
3662
 
3144
3663
fi
3145
3664
fi
3146
3665
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3147
3666
if test -n "$ac_ct_CXX"; then
3148
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3149
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
3667
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3668
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3150
3669
else
3151
 
  echo "$as_me:$LINENO: result: no" >&5
3152
 
echo "${ECHO_T}no" >&6
 
3670
  { echo "$as_me:$LINENO: result: no" >&5
 
3671
echo "${ECHO_T}no" >&6; }
3153
3672
fi
3154
3673
 
 
3674
 
3155
3675
  test -n "$ac_ct_CXX" && break
3156
3676
done
3157
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3158
 
 
3159
 
  CXX=$ac_ct_CXX
3160
 
fi
3161
 
 
3162
 
 
 
3677
 
 
3678
  if test "x$ac_ct_CXX" = x; then
 
3679
    CXX="g++"
 
3680
  else
 
3681
    case $cross_compiling:$ac_tool_warned in
 
3682
yes:)
 
3683
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3684
whose name does not start with the host triplet.  If you think this
 
3685
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3686
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3687
whose name does not start with the host triplet.  If you think this
 
3688
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3689
ac_tool_warned=yes ;;
 
3690
esac
 
3691
    CXX=$ac_ct_CXX
 
3692
  fi
 
3693
fi
 
3694
 
 
3695
  fi
 
3696
fi
3163
3697
# Provide some information about the compiler.
3164
 
echo "$as_me:$LINENO:" \
3165
 
     "checking for C++ compiler version" >&5
 
3698
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3166
3699
ac_compiler=`set X $ac_compile; echo $2`
3167
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3168
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3169
 
  ac_status=$?
3170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
 
  (exit $ac_status); }
3172
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3173
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3174
 
  ac_status=$?
3175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
 
  (exit $ac_status); }
3177
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3178
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3700
{ (ac_try="$ac_compiler --version >&5"
 
3701
case "(($ac_try" in
 
3702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3703
  *) ac_try_echo=$ac_try;;
 
3704
esac
 
3705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3706
  (eval "$ac_compiler --version >&5") 2>&5
 
3707
  ac_status=$?
 
3708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3709
  (exit $ac_status); }
 
3710
{ (ac_try="$ac_compiler -v >&5"
 
3711
case "(($ac_try" in
 
3712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3713
  *) ac_try_echo=$ac_try;;
 
3714
esac
 
3715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3716
  (eval "$ac_compiler -v >&5") 2>&5
 
3717
  ac_status=$?
 
3718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3719
  (exit $ac_status); }
 
3720
{ (ac_try="$ac_compiler -V >&5"
 
3721
case "(($ac_try" in
 
3722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3723
  *) ac_try_echo=$ac_try;;
 
3724
esac
 
3725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3726
  (eval "$ac_compiler -V >&5") 2>&5
3179
3727
  ac_status=$?
3180
3728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181
3729
  (exit $ac_status); }
3182
3730
 
3183
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3184
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
3731
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3732
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3185
3733
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3186
3734
  echo $ECHO_N "(cached) $ECHO_C" >&6
3187
3735
else
3204
3752
}
3205
3753
_ACEOF
3206
3754
rm -f conftest.$ac_objext
3207
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208
 
  (eval $ac_compile) 2>conftest.er1
 
3755
if { (ac_try="$ac_compile"
 
3756
case "(($ac_try" in
 
3757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3758
  *) ac_try_echo=$ac_try;;
 
3759
esac
 
3760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3761
  (eval "$ac_compile") 2>conftest.er1
3209
3762
  ac_status=$?
3210
3763
  grep -v '^ *+' conftest.er1 >conftest.err
3211
3764
  rm -f conftest.er1
3212
3765
  cat conftest.err >&5
3213
3766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
 
  (exit $ac_status); } &&
3215
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3216
 
                         || test ! -s conftest.err'
3217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218
 
  (eval $ac_try) 2>&5
3219
 
  ac_status=$?
3220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
 
  (exit $ac_status); }; } &&
3222
 
         { ac_try='test -s conftest.$ac_objext'
3223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224
 
  (eval $ac_try) 2>&5
3225
 
  ac_status=$?
3226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
 
  (exit $ac_status); }; }; then
 
3767
  (exit $ac_status); } && {
 
3768
         test -z "$ac_cxx_werror_flag" ||
 
3769
         test ! -s conftest.err
 
3770
       } && test -s conftest.$ac_objext; then
3228
3771
  ac_compiler_gnu=yes
3229
3772
else
3230
3773
  echo "$as_me: failed program was:" >&5
3231
3774
sed 's/^/| /' conftest.$ac_ext >&5
3232
3775
 
3233
 
ac_compiler_gnu=no
 
3776
        ac_compiler_gnu=no
3234
3777
fi
3235
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3778
 
 
3779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236
3780
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3237
3781
 
3238
3782
fi
3239
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3240
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
3783
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3784
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3241
3785
GXX=`test $ac_compiler_gnu = yes && echo yes`
3242
3786
ac_test_CXXFLAGS=${CXXFLAGS+set}
3243
3787
ac_save_CXXFLAGS=$CXXFLAGS
3244
 
CXXFLAGS="-g"
3245
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3246
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
3788
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3789
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3247
3790
if test "${ac_cv_prog_cxx_g+set}" = set; then
3248
3791
  echo $ECHO_N "(cached) $ECHO_C" >&6
3249
3792
else
3250
 
  cat >conftest.$ac_ext <<_ACEOF
3251
 
/* confdefs.h.  */
3252
 
_ACEOF
3253
 
cat confdefs.h >>conftest.$ac_ext
3254
 
cat >>conftest.$ac_ext <<_ACEOF
3255
 
/* end confdefs.h.  */
3256
 
 
3257
 
int
3258
 
main ()
3259
 
{
3260
 
 
3261
 
  ;
3262
 
  return 0;
3263
 
}
3264
 
_ACEOF
3265
 
rm -f conftest.$ac_objext
3266
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267
 
  (eval $ac_compile) 2>conftest.er1
3268
 
  ac_status=$?
3269
 
  grep -v '^ *+' conftest.er1 >conftest.err
3270
 
  rm -f conftest.er1
3271
 
  cat conftest.err >&5
3272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
 
  (exit $ac_status); } &&
3274
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3275
 
                         || test ! -s conftest.err'
3276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277
 
  (eval $ac_try) 2>&5
3278
 
  ac_status=$?
3279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280
 
  (exit $ac_status); }; } &&
3281
 
         { ac_try='test -s conftest.$ac_objext'
3282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283
 
  (eval $ac_try) 2>&5
3284
 
  ac_status=$?
3285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286
 
  (exit $ac_status); }; }; then
3287
 
  ac_cv_prog_cxx_g=yes
3288
 
else
3289
 
  echo "$as_me: failed program was:" >&5
3290
 
sed 's/^/| /' conftest.$ac_ext >&5
3291
 
 
3292
 
ac_cv_prog_cxx_g=no
3293
 
fi
3294
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3295
 
fi
3296
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3297
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
3793
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3794
   ac_cxx_werror_flag=yes
 
3795
   ac_cv_prog_cxx_g=no
 
3796
   CXXFLAGS="-g"
 
3797
   cat >conftest.$ac_ext <<_ACEOF
 
3798
/* confdefs.h.  */
 
3799
_ACEOF
 
3800
cat confdefs.h >>conftest.$ac_ext
 
3801
cat >>conftest.$ac_ext <<_ACEOF
 
3802
/* end confdefs.h.  */
 
3803
 
 
3804
int
 
3805
main ()
 
3806
{
 
3807
 
 
3808
  ;
 
3809
  return 0;
 
3810
}
 
3811
_ACEOF
 
3812
rm -f conftest.$ac_objext
 
3813
if { (ac_try="$ac_compile"
 
3814
case "(($ac_try" in
 
3815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3816
  *) ac_try_echo=$ac_try;;
 
3817
esac
 
3818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3819
  (eval "$ac_compile") 2>conftest.er1
 
3820
  ac_status=$?
 
3821
  grep -v '^ *+' conftest.er1 >conftest.err
 
3822
  rm -f conftest.er1
 
3823
  cat conftest.err >&5
 
3824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3825
  (exit $ac_status); } && {
 
3826
         test -z "$ac_cxx_werror_flag" ||
 
3827
         test ! -s conftest.err
 
3828
       } && test -s conftest.$ac_objext; then
 
3829
  ac_cv_prog_cxx_g=yes
 
3830
else
 
3831
  echo "$as_me: failed program was:" >&5
 
3832
sed 's/^/| /' conftest.$ac_ext >&5
 
3833
 
 
3834
        CXXFLAGS=""
 
3835
      cat >conftest.$ac_ext <<_ACEOF
 
3836
/* confdefs.h.  */
 
3837
_ACEOF
 
3838
cat confdefs.h >>conftest.$ac_ext
 
3839
cat >>conftest.$ac_ext <<_ACEOF
 
3840
/* end confdefs.h.  */
 
3841
 
 
3842
int
 
3843
main ()
 
3844
{
 
3845
 
 
3846
  ;
 
3847
  return 0;
 
3848
}
 
3849
_ACEOF
 
3850
rm -f conftest.$ac_objext
 
3851
if { (ac_try="$ac_compile"
 
3852
case "(($ac_try" in
 
3853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3854
  *) ac_try_echo=$ac_try;;
 
3855
esac
 
3856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3857
  (eval "$ac_compile") 2>conftest.er1
 
3858
  ac_status=$?
 
3859
  grep -v '^ *+' conftest.er1 >conftest.err
 
3860
  rm -f conftest.er1
 
3861
  cat conftest.err >&5
 
3862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3863
  (exit $ac_status); } && {
 
3864
         test -z "$ac_cxx_werror_flag" ||
 
3865
         test ! -s conftest.err
 
3866
       } && test -s conftest.$ac_objext; then
 
3867
  :
 
3868
else
 
3869
  echo "$as_me: failed program was:" >&5
 
3870
sed 's/^/| /' conftest.$ac_ext >&5
 
3871
 
 
3872
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3873
         CXXFLAGS="-g"
 
3874
         cat >conftest.$ac_ext <<_ACEOF
 
3875
/* confdefs.h.  */
 
3876
_ACEOF
 
3877
cat confdefs.h >>conftest.$ac_ext
 
3878
cat >>conftest.$ac_ext <<_ACEOF
 
3879
/* end confdefs.h.  */
 
3880
 
 
3881
int
 
3882
main ()
 
3883
{
 
3884
 
 
3885
  ;
 
3886
  return 0;
 
3887
}
 
3888
_ACEOF
 
3889
rm -f conftest.$ac_objext
 
3890
if { (ac_try="$ac_compile"
 
3891
case "(($ac_try" in
 
3892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3893
  *) ac_try_echo=$ac_try;;
 
3894
esac
 
3895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3896
  (eval "$ac_compile") 2>conftest.er1
 
3897
  ac_status=$?
 
3898
  grep -v '^ *+' conftest.er1 >conftest.err
 
3899
  rm -f conftest.er1
 
3900
  cat conftest.err >&5
 
3901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3902
  (exit $ac_status); } && {
 
3903
         test -z "$ac_cxx_werror_flag" ||
 
3904
         test ! -s conftest.err
 
3905
       } && test -s conftest.$ac_objext; then
 
3906
  ac_cv_prog_cxx_g=yes
 
3907
else
 
3908
  echo "$as_me: failed program was:" >&5
 
3909
sed 's/^/| /' conftest.$ac_ext >&5
 
3910
 
 
3911
 
 
3912
fi
 
3913
 
 
3914
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3915
fi
 
3916
 
 
3917
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3918
fi
 
3919
 
 
3920
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3921
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3922
fi
 
3923
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3924
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3298
3925
if test "$ac_test_CXXFLAGS" = set; then
3299
3926
  CXXFLAGS=$ac_save_CXXFLAGS
3300
3927
elif test $ac_cv_prog_cxx_g = yes; then
3310
3937
    CXXFLAGS=
3311
3938
  fi
3312
3939
fi
3313
 
for ac_declaration in \
3314
 
   '' \
3315
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3316
 
   'extern "C" void std::exit (int); using std::exit;' \
3317
 
   'extern "C" void exit (int) throw ();' \
3318
 
   'extern "C" void exit (int);' \
3319
 
   'void exit (int);'
3320
 
do
3321
 
  cat >conftest.$ac_ext <<_ACEOF
3322
 
/* confdefs.h.  */
3323
 
_ACEOF
3324
 
cat confdefs.h >>conftest.$ac_ext
3325
 
cat >>conftest.$ac_ext <<_ACEOF
3326
 
/* end confdefs.h.  */
3327
 
$ac_declaration
3328
 
#include <stdlib.h>
3329
 
int
3330
 
main ()
3331
 
{
3332
 
exit (42);
3333
 
  ;
3334
 
  return 0;
3335
 
}
3336
 
_ACEOF
3337
 
rm -f conftest.$ac_objext
3338
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3339
 
  (eval $ac_compile) 2>conftest.er1
3340
 
  ac_status=$?
3341
 
  grep -v '^ *+' conftest.er1 >conftest.err
3342
 
  rm -f conftest.er1
3343
 
  cat conftest.err >&5
3344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
 
  (exit $ac_status); } &&
3346
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3347
 
                         || test ! -s conftest.err'
3348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349
 
  (eval $ac_try) 2>&5
3350
 
  ac_status=$?
3351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
 
  (exit $ac_status); }; } &&
3353
 
         { ac_try='test -s conftest.$ac_objext'
3354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355
 
  (eval $ac_try) 2>&5
3356
 
  ac_status=$?
3357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358
 
  (exit $ac_status); }; }; then
3359
 
  :
3360
 
else
3361
 
  echo "$as_me: failed program was:" >&5
3362
 
sed 's/^/| /' conftest.$ac_ext >&5
3363
 
 
3364
 
continue
3365
 
fi
3366
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3367
 
  cat >conftest.$ac_ext <<_ACEOF
3368
 
/* confdefs.h.  */
3369
 
_ACEOF
3370
 
cat confdefs.h >>conftest.$ac_ext
3371
 
cat >>conftest.$ac_ext <<_ACEOF
3372
 
/* end confdefs.h.  */
3373
 
$ac_declaration
3374
 
int
3375
 
main ()
3376
 
{
3377
 
exit (42);
3378
 
  ;
3379
 
  return 0;
3380
 
}
3381
 
_ACEOF
3382
 
rm -f conftest.$ac_objext
3383
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384
 
  (eval $ac_compile) 2>conftest.er1
3385
 
  ac_status=$?
3386
 
  grep -v '^ *+' conftest.er1 >conftest.err
3387
 
  rm -f conftest.er1
3388
 
  cat conftest.err >&5
3389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
 
  (exit $ac_status); } &&
3391
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3392
 
                         || test ! -s conftest.err'
3393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3394
 
  (eval $ac_try) 2>&5
3395
 
  ac_status=$?
3396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397
 
  (exit $ac_status); }; } &&
3398
 
         { ac_try='test -s conftest.$ac_objext'
3399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400
 
  (eval $ac_try) 2>&5
3401
 
  ac_status=$?
3402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
 
  (exit $ac_status); }; }; then
3404
 
  break
3405
 
else
3406
 
  echo "$as_me: failed program was:" >&5
3407
 
sed 's/^/| /' conftest.$ac_ext >&5
3408
 
 
3409
 
fi
3410
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3411
 
done
3412
 
rm -f conftest*
3413
 
if test -n "$ac_declaration"; then
3414
 
  echo '#ifdef __cplusplus' >>confdefs.h
3415
 
  echo $ac_declaration      >>confdefs.h
3416
 
  echo '#endif'             >>confdefs.h
3417
 
fi
3418
 
 
3419
3940
ac_ext=c
3420
3941
ac_cpp='$CPP $CPPFLAGS'
3421
3942
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424
3945
 
3425
3946
depcc="$CXX"  am_compiler_list=
3426
3947
 
3427
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3428
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3948
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3949
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3429
3950
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3430
3951
  echo $ECHO_N "(cached) $ECHO_C" >&6
3431
3952
else
3489
4010
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3490
4011
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3491
4012
         >/dev/null 2>conftest.err &&
 
4013
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3492
4014
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3493
4015
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3494
4016
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3514
4036
fi
3515
4037
 
3516
4038
fi
3517
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3518
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4039
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4040
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3519
4041
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3520
4042
 
3521
 
 
3522
 
 
3523
 
if
 
4043
 if
3524
4044
  test "x$enable_dependency_tracking" != xno \
3525
4045
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3526
4046
  am__fastdepCXX_TRUE=
3531
4051
fi
3532
4052
 
3533
4053
 
3534
 
ac_ext=cc
 
4054
ac_ext=cpp
3535
4055
ac_cpp='$CXXCPP $CPPFLAGS'
3536
4056
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537
4057
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538
4058
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3539
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3540
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
4059
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
4060
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
3541
4061
if test -z "$CXXCPP"; then
3542
4062
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
3543
4063
  echo $ECHO_N "(cached) $ECHO_C" >&6
3567
4087
#endif
3568
4088
                     Syntax error
3569
4089
_ACEOF
3570
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3571
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4090
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4091
case "(($ac_try" in
 
4092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4093
  *) ac_try_echo=$ac_try;;
 
4094
esac
 
4095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4096
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3572
4097
  ac_status=$?
3573
4098
  grep -v '^ *+' conftest.er1 >conftest.err
3574
4099
  rm -f conftest.er1
3575
4100
  cat conftest.err >&5
3576
4101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577
 
  (exit $ac_status); } >/dev/null; then
3578
 
  if test -s conftest.err; then
3579
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
3580
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3581
 
  else
3582
 
    ac_cpp_err=
3583
 
  fi
3584
 
else
3585
 
  ac_cpp_err=yes
3586
 
fi
3587
 
if test -z "$ac_cpp_err"; then
 
4102
  (exit $ac_status); } >/dev/null && {
 
4103
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
4104
         test ! -s conftest.err
 
4105
       }; then
3588
4106
  :
3589
4107
else
3590
4108
  echo "$as_me: failed program was:" >&5
3593
4111
  # Broken: fails on valid input.
3594
4112
continue
3595
4113
fi
 
4114
 
3596
4115
rm -f conftest.err conftest.$ac_ext
3597
4116
 
3598
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4117
  # OK, works on sane cases.  Now check whether nonexistent headers
3599
4118
  # can be detected and how.
3600
4119
  cat >conftest.$ac_ext <<_ACEOF
3601
4120
/* confdefs.h.  */
3605
4124
/* end confdefs.h.  */
3606
4125
#include <ac_nonexistent.h>
3607
4126
_ACEOF
3608
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3609
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4127
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4128
case "(($ac_try" in
 
4129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4130
  *) ac_try_echo=$ac_try;;
 
4131
esac
 
4132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4133
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3610
4134
  ac_status=$?
3611
4135
  grep -v '^ *+' conftest.er1 >conftest.err
3612
4136
  rm -f conftest.er1
3613
4137
  cat conftest.err >&5
3614
4138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615
 
  (exit $ac_status); } >/dev/null; then
3616
 
  if test -s conftest.err; then
3617
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
3618
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3619
 
  else
3620
 
    ac_cpp_err=
3621
 
  fi
3622
 
else
3623
 
  ac_cpp_err=yes
3624
 
fi
3625
 
if test -z "$ac_cpp_err"; then
 
4139
  (exit $ac_status); } >/dev/null && {
 
4140
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
4141
         test ! -s conftest.err
 
4142
       }; then
3626
4143
  # Broken: success on invalid input.
3627
4144
continue
3628
4145
else
3633
4150
ac_preproc_ok=:
3634
4151
break
3635
4152
fi
 
4153
 
3636
4154
rm -f conftest.err conftest.$ac_ext
3637
4155
 
3638
4156
done
3650
4168
else
3651
4169
  ac_cv_prog_CXXCPP=$CXXCPP
3652
4170
fi
3653
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
3654
 
echo "${ECHO_T}$CXXCPP" >&6
 
4171
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
4172
echo "${ECHO_T}$CXXCPP" >&6; }
3655
4173
ac_preproc_ok=false
3656
4174
for ac_cxx_preproc_warn_flag in '' yes
3657
4175
do
3674
4192
#endif
3675
4193
                     Syntax error
3676
4194
_ACEOF
3677
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3678
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4195
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4196
case "(($ac_try" in
 
4197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4198
  *) ac_try_echo=$ac_try;;
 
4199
esac
 
4200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4201
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3679
4202
  ac_status=$?
3680
4203
  grep -v '^ *+' conftest.er1 >conftest.err
3681
4204
  rm -f conftest.er1
3682
4205
  cat conftest.err >&5
3683
4206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684
 
  (exit $ac_status); } >/dev/null; then
3685
 
  if test -s conftest.err; then
3686
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
3687
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3688
 
  else
3689
 
    ac_cpp_err=
3690
 
  fi
3691
 
else
3692
 
  ac_cpp_err=yes
3693
 
fi
3694
 
if test -z "$ac_cpp_err"; then
 
4207
  (exit $ac_status); } >/dev/null && {
 
4208
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
4209
         test ! -s conftest.err
 
4210
       }; then
3695
4211
  :
3696
4212
else
3697
4213
  echo "$as_me: failed program was:" >&5
3700
4216
  # Broken: fails on valid input.
3701
4217
continue
3702
4218
fi
 
4219
 
3703
4220
rm -f conftest.err conftest.$ac_ext
3704
4221
 
3705
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4222
  # OK, works on sane cases.  Now check whether nonexistent headers
3706
4223
  # can be detected and how.
3707
4224
  cat >conftest.$ac_ext <<_ACEOF
3708
4225
/* confdefs.h.  */
3712
4229
/* end confdefs.h.  */
3713
4230
#include <ac_nonexistent.h>
3714
4231
_ACEOF
3715
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3716
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4232
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4233
case "(($ac_try" in
 
4234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4235
  *) ac_try_echo=$ac_try;;
 
4236
esac
 
4237
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4238
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3717
4239
  ac_status=$?
3718
4240
  grep -v '^ *+' conftest.er1 >conftest.err
3719
4241
  rm -f conftest.er1
3720
4242
  cat conftest.err >&5
3721
4243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722
 
  (exit $ac_status); } >/dev/null; then
3723
 
  if test -s conftest.err; then
3724
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
3725
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3726
 
  else
3727
 
    ac_cpp_err=
3728
 
  fi
3729
 
else
3730
 
  ac_cpp_err=yes
3731
 
fi
3732
 
if test -z "$ac_cpp_err"; then
 
4244
  (exit $ac_status); } >/dev/null && {
 
4245
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
4246
         test ! -s conftest.err
 
4247
       }; then
3733
4248
  # Broken: success on invalid input.
3734
4249
continue
3735
4250
else
3740
4255
ac_preproc_ok=:
3741
4256
break
3742
4257
fi
 
4258
 
3743
4259
rm -f conftest.err conftest.$ac_ext
3744
4260
 
3745
4261
done
3774
4290
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3775
4291
# OS/2's system install, which has a completely different semantic
3776
4292
# ./install, which can be erroneously created by make from ./install.sh.
3777
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3778
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
4293
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4294
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3779
4295
if test -z "$INSTALL"; then
3780
4296
if test "${ac_cv_path_install+set}" = set; then
3781
4297
  echo $ECHO_N "(cached) $ECHO_C" >&6
3797
4313
    # by default.
3798
4314
    for ac_prog in ginstall scoinst install; do
3799
4315
      for ac_exec_ext in '' $ac_executable_extensions; do
3800
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4316
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3801
4317
          if test $ac_prog = install &&
3802
4318
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3803
4319
            # AIX install.  It has an incompatible calling convention.
3816
4332
    ;;
3817
4333
esac
3818
4334
done
 
4335
IFS=$as_save_IFS
3819
4336
 
3820
4337
 
3821
4338
fi
3822
4339
  if test "${ac_cv_path_install+set}" = set; then
3823
4340
    INSTALL=$ac_cv_path_install
3824
4341
  else
3825
 
    # As a last resort, use the slow shell script.  We don't cache a
3826
 
    # path for INSTALL within a source directory, because that will
 
4342
    # As a last resort, use the slow shell script.  Don't cache a
 
4343
    # value for INSTALL within a source directory, because that will
3827
4344
    # break other packages using the cache if that directory is
3828
 
    # removed, or if the path is relative.
 
4345
    # removed, or if the value is a relative name.
3829
4346
    INSTALL=$ac_install_sh
3830
4347
  fi
3831
4348
fi
3832
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3833
 
echo "${ECHO_T}$INSTALL" >&6
 
4349
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4350
echo "${ECHO_T}$INSTALL" >&6; }
3834
4351
 
3835
4352
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3836
4353
# It thinks the first close brace ends the variable substitution.
3840
4357
 
3841
4358
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3842
4359
 
3843
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3844
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3845
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3846
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
4360
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
4361
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
4362
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
4363
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3847
4364
  echo $ECHO_N "(cached) $ECHO_C" >&6
3848
4365
else
3849
4366
  cat >conftest.make <<\_ACEOF
 
4367
SHELL = /bin/sh
3850
4368
all:
3851
 
        @echo 'ac_maketemp="$(MAKE)"'
 
4369
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3852
4370
_ACEOF
3853
4371
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3854
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3855
 
if test -n "$ac_maketemp"; then
3856
 
  eval ac_cv_prog_make_${ac_make}_set=yes
3857
 
else
3858
 
  eval ac_cv_prog_make_${ac_make}_set=no
3859
 
fi
 
4372
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
4373
  *@@@%%%=?*=@@@%%%*)
 
4374
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
4375
  *)
 
4376
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
4377
esac
3860
4378
rm -f conftest.make
3861
4379
fi
3862
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3863
 
  echo "$as_me:$LINENO: result: yes" >&5
3864
 
echo "${ECHO_T}yes" >&6
 
4380
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
4381
  { echo "$as_me:$LINENO: result: yes" >&5
 
4382
echo "${ECHO_T}yes" >&6; }
3865
4383
  SET_MAKE=
3866
4384
else
3867
 
  echo "$as_me:$LINENO: result: no" >&5
3868
 
echo "${ECHO_T}no" >&6
 
4385
  { echo "$as_me:$LINENO: result: no" >&5
 
4386
echo "${ECHO_T}no" >&6; }
3869
4387
  SET_MAKE="MAKE=${MAKE-make}"
3870
4388
fi
3871
4389
 
3872
 
# Check whether --enable-shared or --disable-shared was given.
 
4390
# Check whether --enable-shared was given.
3873
4391
if test "${enable_shared+set}" = set; then
3874
 
  enableval="$enable_shared"
3875
 
  p=${PACKAGE-default}
 
4392
  enableval=$enable_shared; p=${PACKAGE-default}
3876
4393
    case $enableval in
3877
4394
    yes) enable_shared=yes ;;
3878
4395
    no) enable_shared=no ;;
3891
4408
    esac
3892
4409
else
3893
4410
  enable_shared=no
3894
 
fi;
3895
 
 
3896
 
 
3897
 
# Check whether --enable-static or --disable-static was given.
 
4411
fi
 
4412
 
 
4413
 
 
4414
 
 
4415
# Check whether --enable-static was given.
3898
4416
if test "${enable_static+set}" = set; then
3899
 
  enableval="$enable_static"
3900
 
  p=${PACKAGE-default}
 
4417
  enableval=$enable_static; p=${PACKAGE-default}
3901
4418
    case $enableval in
3902
4419
    yes) enable_static=yes ;;
3903
4420
    no) enable_static=no ;;
3916
4433
    esac
3917
4434
else
3918
4435
  enable_static=yes
3919
 
fi;
3920
 
 
3921
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4436
fi
 
4437
 
 
4438
 
 
4439
# Check whether --enable-fast-install was given.
3922
4440
if test "${enable_fast_install+set}" = set; then
3923
 
  enableval="$enable_fast_install"
3924
 
  p=${PACKAGE-default}
 
4441
  enableval=$enable_fast_install; p=${PACKAGE-default}
3925
4442
    case $enableval in
3926
4443
    yes) enable_fast_install=yes ;;
3927
4444
    no) enable_fast_install=no ;;
3940
4457
    esac
3941
4458
else
3942
4459
  enable_fast_install=yes
3943
 
fi;
 
4460
fi
 
4461
 
3944
4462
 
3945
4463
# Make sure we can run config.sub.
3946
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3947
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3948
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4464
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4465
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4466
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3949
4467
   { (exit 1); exit 1; }; }
3950
4468
 
3951
 
echo "$as_me:$LINENO: checking build system type" >&5
3952
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4469
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4470
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3953
4471
if test "${ac_cv_build+set}" = set; then
3954
4472
  echo $ECHO_N "(cached) $ECHO_C" >&6
3955
4473
else
3956
 
  ac_cv_build_alias=$build_alias
3957
 
test -z "$ac_cv_build_alias" &&
3958
 
  ac_cv_build_alias=`$ac_config_guess`
3959
 
test -z "$ac_cv_build_alias" &&
 
4474
  ac_build_alias=$build_alias
 
4475
test "x$ac_build_alias" = x &&
 
4476
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4477
test "x$ac_build_alias" = x &&
3960
4478
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3961
4479
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3962
4480
   { (exit 1); exit 1; }; }
3963
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3964
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3965
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4481
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4482
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4483
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3966
4484
   { (exit 1); exit 1; }; }
3967
4485
 
3968
4486
fi
3969
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3970
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4487
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4488
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4489
case $ac_cv_build in
 
4490
*-*-*) ;;
 
4491
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4492
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4493
   { (exit 1); exit 1; }; };;
 
4494
esac
3971
4495
build=$ac_cv_build
3972
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3973
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3974
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3975
 
 
3976
 
 
3977
 
echo "$as_me:$LINENO: checking host system type" >&5
3978
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4496
ac_save_IFS=$IFS; IFS='-'
 
4497
set x $ac_cv_build
 
4498
shift
 
4499
build_cpu=$1
 
4500
build_vendor=$2
 
4501
shift; shift
 
4502
# Remember, the first character of IFS is used to create $*,
 
4503
# except with old shells:
 
4504
build_os=$*
 
4505
IFS=$ac_save_IFS
 
4506
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4507
 
 
4508
 
 
4509
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4510
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3979
4511
if test "${ac_cv_host+set}" = set; then
3980
4512
  echo $ECHO_N "(cached) $ECHO_C" >&6
3981
4513
else
3982
 
  ac_cv_host_alias=$host_alias
3983
 
test -z "$ac_cv_host_alias" &&
3984
 
  ac_cv_host_alias=$ac_cv_build_alias
3985
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3986
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3987
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4514
  if test "x$host_alias" = x; then
 
4515
  ac_cv_host=$ac_cv_build
 
4516
else
 
4517
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4518
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4519
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3988
4520
   { (exit 1); exit 1; }; }
 
4521
fi
3989
4522
 
3990
4523
fi
3991
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3992
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4524
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4525
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4526
case $ac_cv_host in
 
4527
*-*-*) ;;
 
4528
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4529
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4530
   { (exit 1); exit 1; }; };;
 
4531
esac
3993
4532
host=$ac_cv_host
3994
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3995
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3996
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3997
 
 
3998
 
 
3999
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4000
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4533
ac_save_IFS=$IFS; IFS='-'
 
4534
set x $ac_cv_host
 
4535
shift
 
4536
host_cpu=$1
 
4537
host_vendor=$2
 
4538
shift; shift
 
4539
# Remember, the first character of IFS is used to create $*,
 
4540
# except with old shells:
 
4541
host_os=$*
 
4542
IFS=$ac_save_IFS
 
4543
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4544
 
 
4545
 
 
4546
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4547
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4001
4548
if test "${lt_cv_path_SED+set}" = set; then
4002
4549
  echo $ECHO_N "(cached) $ECHO_C" >&6
4003
4550
else
4010
4557
  test -z "$as_dir" && as_dir=.
4011
4558
  for lt_ac_prog in sed gsed; do
4012
4559
    for ac_exec_ext in '' $ac_executable_extensions; do
4013
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4560
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4014
4561
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4015
4562
      fi
4016
4563
    done
4017
4564
  done
4018
4565
done
 
4566
IFS=$as_save_IFS
4019
4567
lt_ac_max=0
4020
4568
lt_ac_count=0
4021
4569
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4022
4570
# along with /bin/sed that truncates output.
4023
4571
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4024
 
  test ! -f $lt_ac_sed && break
 
4572
  test ! -f $lt_ac_sed && continue
4025
4573
  cat /dev/null > conftest.in
4026
4574
  lt_ac_count=0
4027
4575
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4046
4594
    fi
4047
4595
  done
4048
4596
done
 
4597
 
 
4598
fi
 
4599
 
4049
4600
SED=$lt_cv_path_SED
4050
4601
 
4051
 
fi
4052
 
 
4053
 
echo "$as_me:$LINENO: result: $SED" >&5
4054
 
echo "${ECHO_T}$SED" >&6
4055
 
 
4056
 
echo "$as_me:$LINENO: checking for egrep" >&5
4057
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4058
 
if test "${ac_cv_prog_egrep+set}" = set; then
4059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4060
 
else
4061
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4062
 
    then ac_cv_prog_egrep='grep -E'
4063
 
    else ac_cv_prog_egrep='egrep'
4064
 
    fi
4065
 
fi
4066
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4067
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4068
 
 EGREP=$ac_cv_prog_egrep
4069
 
 
4070
 
 
4071
 
 
4072
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4602
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4603
echo "${ECHO_T}$SED" >&6; }
 
4604
 
 
4605
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4606
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4607
if test "${ac_cv_path_GREP+set}" = set; then
 
4608
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4609
else
 
4610
  # Extract the first word of "grep ggrep" to use in msg output
 
4611
if test -z "$GREP"; then
 
4612
set dummy grep ggrep; ac_prog_name=$2
 
4613
if test "${ac_cv_path_GREP+set}" = set; then
 
4614
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4615
else
 
4616
  ac_path_GREP_found=false
 
4617
# Loop through the user's path and test for each of PROGNAME-LIST
 
4618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4619
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4620
do
 
4621
  IFS=$as_save_IFS
 
4622
  test -z "$as_dir" && as_dir=.
 
4623
  for ac_prog in grep ggrep; do
 
4624
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4625
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4626
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4627
    # Check for GNU ac_path_GREP and select it if it is found.
 
4628
  # Check for GNU $ac_path_GREP
 
4629
case `"$ac_path_GREP" --version 2>&1` in
 
4630
*GNU*)
 
4631
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4632
*)
 
4633
  ac_count=0
 
4634
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4635
  while :
 
4636
  do
 
4637
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4638
    mv "conftest.tmp" "conftest.in"
 
4639
    cp "conftest.in" "conftest.nl"
 
4640
    echo 'GREP' >> "conftest.nl"
 
4641
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4642
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4643
    ac_count=`expr $ac_count + 1`
 
4644
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4645
      # Best one so far, save it but keep looking for a better one
 
4646
      ac_cv_path_GREP="$ac_path_GREP"
 
4647
      ac_path_GREP_max=$ac_count
 
4648
    fi
 
4649
    # 10*(2^10) chars as input seems more than enough
 
4650
    test $ac_count -gt 10 && break
 
4651
  done
 
4652
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4653
esac
 
4654
 
 
4655
 
 
4656
    $ac_path_GREP_found && break 3
 
4657
  done
 
4658
done
 
4659
 
 
4660
done
 
4661
IFS=$as_save_IFS
 
4662
 
 
4663
 
 
4664
fi
 
4665
 
 
4666
GREP="$ac_cv_path_GREP"
 
4667
if test -z "$GREP"; then
 
4668
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4669
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4670
   { (exit 1); exit 1; }; }
 
4671
fi
 
4672
 
 
4673
else
 
4674
  ac_cv_path_GREP=$GREP
 
4675
fi
 
4676
 
 
4677
 
 
4678
fi
 
4679
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4680
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4681
 GREP="$ac_cv_path_GREP"
 
4682
 
 
4683
 
 
4684
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4685
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4686
if test "${ac_cv_path_EGREP+set}" = set; then
 
4687
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4688
else
 
4689
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4690
   then ac_cv_path_EGREP="$GREP -E"
 
4691
   else
 
4692
     # Extract the first word of "egrep" to use in msg output
 
4693
if test -z "$EGREP"; then
 
4694
set dummy egrep; ac_prog_name=$2
 
4695
if test "${ac_cv_path_EGREP+set}" = set; then
 
4696
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4697
else
 
4698
  ac_path_EGREP_found=false
 
4699
# Loop through the user's path and test for each of PROGNAME-LIST
 
4700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4701
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4702
do
 
4703
  IFS=$as_save_IFS
 
4704
  test -z "$as_dir" && as_dir=.
 
4705
  for ac_prog in egrep; do
 
4706
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4707
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4708
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4709
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4710
  # Check for GNU $ac_path_EGREP
 
4711
case `"$ac_path_EGREP" --version 2>&1` in
 
4712
*GNU*)
 
4713
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4714
*)
 
4715
  ac_count=0
 
4716
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4717
  while :
 
4718
  do
 
4719
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4720
    mv "conftest.tmp" "conftest.in"
 
4721
    cp "conftest.in" "conftest.nl"
 
4722
    echo 'EGREP' >> "conftest.nl"
 
4723
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4724
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4725
    ac_count=`expr $ac_count + 1`
 
4726
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4727
      # Best one so far, save it but keep looking for a better one
 
4728
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4729
      ac_path_EGREP_max=$ac_count
 
4730
    fi
 
4731
    # 10*(2^10) chars as input seems more than enough
 
4732
    test $ac_count -gt 10 && break
 
4733
  done
 
4734
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4735
esac
 
4736
 
 
4737
 
 
4738
    $ac_path_EGREP_found && break 3
 
4739
  done
 
4740
done
 
4741
 
 
4742
done
 
4743
IFS=$as_save_IFS
 
4744
 
 
4745
 
 
4746
fi
 
4747
 
 
4748
EGREP="$ac_cv_path_EGREP"
 
4749
if test -z "$EGREP"; then
 
4750
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4751
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4752
   { (exit 1); exit 1; }; }
 
4753
fi
 
4754
 
 
4755
else
 
4756
  ac_cv_path_EGREP=$EGREP
 
4757
fi
 
4758
 
 
4759
 
 
4760
   fi
 
4761
fi
 
4762
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4763
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4764
 EGREP="$ac_cv_path_EGREP"
 
4765
 
 
4766
 
 
4767
 
 
4768
# Check whether --with-gnu-ld was given.
4073
4769
if test "${with_gnu_ld+set}" = set; then
4074
 
  withval="$with_gnu_ld"
4075
 
  test "$withval" = no || with_gnu_ld=yes
 
4770
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4076
4771
else
4077
4772
  with_gnu_ld=no
4078
 
fi;
 
4773
fi
 
4774
 
4079
4775
ac_prog=ld
4080
4776
if test "$GCC" = yes; then
4081
4777
  # Check if gcc -print-prog-name=ld gives a path.
4082
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4083
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4778
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4779
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4084
4780
  case $host in
4085
4781
  *-*-mingw*)
4086
4782
    # gcc leaves a trailing carriage return which upsets mingw
4109
4805
    ;;
4110
4806
  esac
4111
4807
elif test "$with_gnu_ld" = yes; then
4112
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
4113
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4808
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4809
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4114
4810
else
4115
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4116
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4811
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4812
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4117
4813
fi
4118
4814
if test "${lt_cv_path_LD+set}" = set; then
4119
4815
  echo $ECHO_N "(cached) $ECHO_C" >&6
4126
4822
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4127
4823
      lt_cv_path_LD="$ac_dir/$ac_prog"
4128
4824
      # Check to see if the program is GNU ld.  I'd rather use --version,
4129
 
      # but apparently some GNU ld's only accept -v.
 
4825
      # but apparently some variants of GNU ld only accept -v.
4130
4826
      # Break only if it was the GNU/non-GNU ld that we prefer.
4131
4827
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4132
4828
      *GNU* | *'with BFD'*)
4146
4842
 
4147
4843
LD="$lt_cv_path_LD"
4148
4844
if test -n "$LD"; then
4149
 
  echo "$as_me:$LINENO: result: $LD" >&5
4150
 
echo "${ECHO_T}$LD" >&6
 
4845
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4846
echo "${ECHO_T}$LD" >&6; }
4151
4847
else
4152
 
  echo "$as_me:$LINENO: result: no" >&5
4153
 
echo "${ECHO_T}no" >&6
 
4848
  { echo "$as_me:$LINENO: result: no" >&5
 
4849
echo "${ECHO_T}no" >&6; }
4154
4850
fi
4155
4851
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4156
4852
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4157
4853
   { (exit 1); exit 1; }; }
4158
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4159
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4854
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4855
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4160
4856
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4161
4857
  echo $ECHO_N "(cached) $ECHO_C" >&6
4162
4858
else
4163
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4859
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4164
4860
case `$LD -v 2>&1 </dev/null` in
4165
4861
*GNU* | *'with BFD'*)
4166
4862
  lt_cv_prog_gnu_ld=yes
4170
4866
  ;;
4171
4867
esac
4172
4868
fi
4173
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4174
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4869
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4870
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4175
4871
with_gnu_ld=$lt_cv_prog_gnu_ld
4176
4872
 
4177
4873
 
4178
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4179
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4874
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4875
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4180
4876
if test "${lt_cv_ld_reload_flag+set}" = set; then
4181
4877
  echo $ECHO_N "(cached) $ECHO_C" >&6
4182
4878
else
4183
4879
  lt_cv_ld_reload_flag='-r'
4184
4880
fi
4185
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4186
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4881
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4882
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4187
4883
reload_flag=$lt_cv_ld_reload_flag
4188
4884
case $reload_flag in
4189
4885
"" | " "*) ;;
4190
4886
*) reload_flag=" $reload_flag" ;;
4191
4887
esac
4192
4888
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4889
case $host_os in
 
4890
  darwin*)
 
4891
    if test "$GCC" = yes; then
 
4892
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4893
    else
 
4894
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4895
    fi
 
4896
    ;;
 
4897
esac
4193
4898
 
4194
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4195
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4899
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4900
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4196
4901
if test "${lt_cv_path_NM+set}" = set; then
4197
4902
  echo $ECHO_N "(cached) $ECHO_C" >&6
4198
4903
else
4200
4905
  # Let the user override the test.
4201
4906
  lt_cv_path_NM="$NM"
4202
4907
else
4203
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4204
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4205
 
    IFS="$lt_save_ifs"
4206
 
    test -z "$ac_dir" && ac_dir=.
4207
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4208
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4209
 
      # Check to see if the nm accepts a BSD-compat flag.
4210
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4211
 
      #   nm: unknown option "B" ignored
4212
 
      # Tru64's nm complains that /dev/null is an invalid object file
4213
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4214
 
      */dev/null* | *'Invalid file or object type'*)
4215
 
        lt_cv_path_NM="$tmp_nm -B"
4216
 
        break
4217
 
        ;;
4218
 
      *)
4219
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4220
 
        */dev/null*)
4221
 
          lt_cv_path_NM="$tmp_nm -p"
 
4908
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4909
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4910
    lt_nm_to_check="$lt_nm_to_check nm"
 
4911
  fi
 
4912
  for lt_tmp_nm in $lt_nm_to_check; do
 
4913
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4914
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4915
      IFS="$lt_save_ifs"
 
4916
      test -z "$ac_dir" && ac_dir=.
 
4917
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4918
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4919
        # Check to see if the nm accepts a BSD-compat flag.
 
4920
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4921
        #   nm: unknown option "B" ignored
 
4922
        # Tru64's nm complains that /dev/null is an invalid object file
 
4923
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4924
        */dev/null* | *'Invalid file or object type'*)
 
4925
          lt_cv_path_NM="$tmp_nm -B"
4222
4926
          break
4223
4927
          ;;
4224
4928
        *)
4225
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4226
 
          continue # so that we can try to find one that supports BSD flags
 
4929
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4930
          */dev/null*)
 
4931
            lt_cv_path_NM="$tmp_nm -p"
 
4932
            break
 
4933
            ;;
 
4934
          *)
 
4935
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4936
            continue # so that we can try to find one that supports BSD flags
 
4937
            ;;
 
4938
          esac
4227
4939
          ;;
4228
4940
        esac
4229
 
      esac
4230
 
    fi
 
4941
      fi
 
4942
    done
 
4943
    IFS="$lt_save_ifs"
4231
4944
  done
4232
 
  IFS="$lt_save_ifs"
4233
4945
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4234
4946
fi
4235
4947
fi
4236
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4237
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4948
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4949
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4238
4950
NM="$lt_cv_path_NM"
4239
4951
 
4240
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4241
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4952
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4953
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4242
4954
LN_S=$as_ln_s
4243
4955
if test "$LN_S" = "ln -s"; then
4244
 
  echo "$as_me:$LINENO: result: yes" >&5
4245
 
echo "${ECHO_T}yes" >&6
 
4956
  { echo "$as_me:$LINENO: result: yes" >&5
 
4957
echo "${ECHO_T}yes" >&6; }
4246
4958
else
4247
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4248
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4959
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4960
echo "${ECHO_T}no, using $LN_S" >&6; }
4249
4961
fi
4250
4962
 
4251
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4252
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4963
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4964
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4253
4965
if test "${lt_cv_deplibs_check_method+set}" = set; then
4254
4966
  echo $ECHO_N "(cached) $ECHO_C" >&6
4255
4967
else
4276
4988
  lt_cv_deplibs_check_method=pass_all
4277
4989
  ;;
4278
4990
 
4279
 
bsdi4*)
 
4991
bsdi[45]*)
4280
4992
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4281
4993
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4282
4994
  lt_cv_file_magic_test_file=/shlib/libc.so
4290
5002
 
4291
5003
mingw* | pw32*)
4292
5004
  # Base MSYS/MinGW do not provide the 'file' command needed by
4293
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4294
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4295
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5005
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5006
  # unless we find 'file', for example because we are cross-compiling.
 
5007
  if ( file / ) >/dev/null 2>&1; then
 
5008
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5009
    lt_cv_file_magic_cmd='func_win32_libid'
 
5010
  else
 
5011
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5012
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5013
  fi
4296
5014
  ;;
4297
5015
 
4298
5016
darwin* | rhapsody*)
4299
5017
  lt_cv_deplibs_check_method=pass_all
4300
5018
  ;;
4301
5019
 
4302
 
freebsd* | kfreebsd*-gnu)
 
5020
freebsd* | dragonfly*)
4303
5021
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4304
5022
    case $host_cpu in
4305
5023
    i*86 )
4306
5024
      # Not sure whether the presence of OpenBSD here was a mistake.
4307
5025
      # Let's accept both of them until this is cleared up.
4308
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
5026
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4309
5027
      lt_cv_file_magic_cmd=/usr/bin/file
4310
5028
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4311
5029
      ;;
4321
5039
 
4322
5040
hpux10.20* | hpux11*)
4323
5041
  lt_cv_file_magic_cmd=/usr/bin/file
4324
 
  case "$host_cpu" in
 
5042
  case $host_cpu in
4325
5043
  ia64*)
4326
5044
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4327
5045
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4337
5055
  esac
4338
5056
  ;;
4339
5057
 
 
5058
interix[3-9]*)
 
5059
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5060
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5061
  ;;
 
5062
 
4340
5063
irix5* | irix6* | nonstopux*)
4341
5064
  case $LD in
4342
5065
  *-32|*"-32 ") libmagic=32-bit;;
4348
5071
  ;;
4349
5072
 
4350
5073
# This must be Linux ELF.
4351
 
linux*)
4352
 
  case $host_cpu in
4353
 
  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
4354
 
    lt_cv_deplibs_check_method=pass_all ;;
4355
 
  *)
4356
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
4357
 
    # this will be overridden with pass_all, but let us keep it just in case
4358
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4359
 
  esac
4360
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
 
5074
linux* | k*bsd*-gnu)
4361
5075
  lt_cv_deplibs_check_method=pass_all
4362
5076
  ;;
4363
5077
 
4380
5094
  ;;
4381
5095
 
4382
5096
openbsd*)
4383
 
  lt_cv_file_magic_cmd=/usr/bin/file
4384
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4385
5097
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4386
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
5098
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4387
5099
  else
4388
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
5100
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4389
5101
  fi
4390
5102
  ;;
4391
5103
 
4393
5105
  lt_cv_deplibs_check_method=pass_all
4394
5106
  ;;
4395
5107
 
4396
 
sco3.2v5*)
 
5108
rdos*)
4397
5109
  lt_cv_deplibs_check_method=pass_all
4398
5110
  ;;
4399
5111
 
4401
5113
  lt_cv_deplibs_check_method=pass_all
4402
5114
  ;;
4403
5115
 
4404
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
5116
sysv4 | sysv4.3*)
4405
5117
  case $host_vendor in
4406
5118
  motorola)
4407
5119
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4422
5134
  siemens)
4423
5135
    lt_cv_deplibs_check_method=pass_all
4424
5136
    ;;
 
5137
  pc)
 
5138
    lt_cv_deplibs_check_method=pass_all
 
5139
    ;;
4425
5140
  esac
4426
5141
  ;;
4427
5142
 
4428
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
5143
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4429
5144
  lt_cv_deplibs_check_method=pass_all
4430
5145
  ;;
4431
5146
esac
4432
5147
 
4433
5148
fi
4434
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4435
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
5149
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5150
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4436
5151
file_magic_cmd=$lt_cv_file_magic_cmd
4437
5152
deplibs_check_method=$lt_cv_deplibs_check_method
4438
5153
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4443
5158
# If no C compiler was specified, use CC.
4444
5159
LTCC=${LTCC-"$CC"}
4445
5160
 
 
5161
# If no C compiler flags were specified, use CFLAGS.
 
5162
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5163
 
4446
5164
# Allow CC to be a program name with arguments.
4447
5165
compiler=$CC
4448
5166
 
4449
5167
 
4450
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
5168
# Check whether --enable-libtool-lock was given.
4451
5169
if test "${enable_libtool_lock+set}" = set; then
4452
 
  enableval="$enable_libtool_lock"
 
5170
  enableval=$enable_libtool_lock;
 
5171
fi
4453
5172
 
4454
 
fi;
4455
5173
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4456
5174
 
4457
5175
# Some flags need to be propagated to the compiler or linker for good
4478
5196
  ;;
4479
5197
*-*-irix6*)
4480
5198
  # Find out which ABI we are using.
4481
 
  echo '#line 4481 "configure"' > conftest.$ac_ext
 
5199
  echo '#line 5199 "configure"' > conftest.$ac_ext
4482
5200
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4483
5201
  (eval $ac_compile) 2>&5
4484
5202
  ac_status=$?
4513
5231
  rm -rf conftest*
4514
5232
  ;;
4515
5233
 
4516
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
5234
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5235
s390*-*linux*|sparc*-*linux*)
4517
5236
  # Find out which ABI we are using.
4518
5237
  echo 'int i;' > conftest.$ac_ext
4519
5238
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4521
5240
  ac_status=$?
4522
5241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523
5242
  (exit $ac_status); }; then
4524
 
    case "`/usr/bin/file conftest.o`" in
 
5243
    case `/usr/bin/file conftest.o` in
4525
5244
    *32-bit*)
4526
5245
      case $host in
 
5246
        x86_64-*kfreebsd*-gnu)
 
5247
          LD="${LD-ld} -m elf_i386_fbsd"
 
5248
          ;;
4527
5249
        x86_64-*linux*)
4528
5250
          LD="${LD-ld} -m elf_i386"
4529
5251
          ;;
4539
5261
      esac
4540
5262
      ;;
4541
5263
    *64-bit*)
 
5264
      libsuff=64
4542
5265
      case $host in
 
5266
        x86_64-*kfreebsd*-gnu)
 
5267
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
5268
          ;;
4543
5269
        x86_64-*linux*)
4544
5270
          LD="${LD-ld} -m elf_x86_64"
4545
5271
          ;;
4563
5289
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4564
5290
  SAVE_CFLAGS="$CFLAGS"
4565
5291
  CFLAGS="$CFLAGS -belf"
4566
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4567
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5292
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5293
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4568
5294
if test "${lt_cv_cc_needs_belf+set}" = set; then
4569
5295
  echo $ECHO_N "(cached) $ECHO_C" >&6
4570
5296
else
4590
5316
}
4591
5317
_ACEOF
4592
5318
rm -f conftest.$ac_objext conftest$ac_exeext
4593
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4594
 
  (eval $ac_link) 2>conftest.er1
 
5319
if { (ac_try="$ac_link"
 
5320
case "(($ac_try" in
 
5321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5322
  *) ac_try_echo=$ac_try;;
 
5323
esac
 
5324
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5325
  (eval "$ac_link") 2>conftest.er1
4595
5326
  ac_status=$?
4596
5327
  grep -v '^ *+' conftest.er1 >conftest.err
4597
5328
  rm -f conftest.er1
4598
5329
  cat conftest.err >&5
4599
5330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600
 
  (exit $ac_status); } &&
4601
 
         { ac_try='test -z "$ac_c_werror_flag"
4602
 
                         || test ! -s conftest.err'
4603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604
 
  (eval $ac_try) 2>&5
4605
 
  ac_status=$?
4606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607
 
  (exit $ac_status); }; } &&
4608
 
         { ac_try='test -s conftest$ac_exeext'
4609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610
 
  (eval $ac_try) 2>&5
4611
 
  ac_status=$?
4612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613
 
  (exit $ac_status); }; }; then
 
5331
  (exit $ac_status); } && {
 
5332
         test -z "$ac_c_werror_flag" ||
 
5333
         test ! -s conftest.err
 
5334
       } && test -s conftest$ac_exeext &&
 
5335
       $as_test_x conftest$ac_exeext; then
4614
5336
  lt_cv_cc_needs_belf=yes
4615
5337
else
4616
5338
  echo "$as_me: failed program was:" >&5
4617
5339
sed 's/^/| /' conftest.$ac_ext >&5
4618
5340
 
4619
 
lt_cv_cc_needs_belf=no
 
5341
        lt_cv_cc_needs_belf=no
4620
5342
fi
4621
 
rm -f conftest.err conftest.$ac_objext \
 
5343
 
 
5344
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622
5345
      conftest$ac_exeext conftest.$ac_ext
4623
5346
     ac_ext=c
4624
5347
ac_cpp='$CPP $CPPFLAGS'
4627
5350
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628
5351
 
4629
5352
fi
4630
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4631
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5353
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5354
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4632
5355
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4633
5356
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4634
5357
    CFLAGS="$SAVE_CFLAGS"
4635
5358
  fi
4636
5359
  ;;
 
5360
sparc*-*solaris*)
 
5361
  # Find out which ABI we are using.
 
5362
  echo 'int i;' > conftest.$ac_ext
 
5363
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5364
  (eval $ac_compile) 2>&5
 
5365
  ac_status=$?
 
5366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5367
  (exit $ac_status); }; then
 
5368
    case `/usr/bin/file conftest.o` in
 
5369
    *64-bit*)
 
5370
      case $lt_cv_prog_gnu_ld in
 
5371
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5372
      *)    LD="${LD-ld} -64" ;;
 
5373
      esac
 
5374
      ;;
 
5375
    esac
 
5376
  fi
 
5377
  rm -rf conftest*
 
5378
  ;;
 
5379
 
4637
5380
 
4638
5381
esac
4639
5382
 
4645
5388
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646
5389
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647
5390
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4648
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4649
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5391
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5392
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4650
5393
# On Suns, sometimes $CPP names a directory.
4651
5394
if test -n "$CPP" && test -d "$CPP"; then
4652
5395
  CPP=
4680
5423
#endif
4681
5424
                     Syntax error
4682
5425
_ACEOF
4683
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4684
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5426
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5427
case "(($ac_try" in
 
5428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5429
  *) ac_try_echo=$ac_try;;
 
5430
esac
 
5431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5432
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4685
5433
  ac_status=$?
4686
5434
  grep -v '^ *+' conftest.er1 >conftest.err
4687
5435
  rm -f conftest.er1
4688
5436
  cat conftest.err >&5
4689
5437
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690
 
  (exit $ac_status); } >/dev/null; then
4691
 
  if test -s conftest.err; then
4692
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4693
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4694
 
  else
4695
 
    ac_cpp_err=
4696
 
  fi
4697
 
else
4698
 
  ac_cpp_err=yes
4699
 
fi
4700
 
if test -z "$ac_cpp_err"; then
 
5438
  (exit $ac_status); } >/dev/null && {
 
5439
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5440
         test ! -s conftest.err
 
5441
       }; then
4701
5442
  :
4702
5443
else
4703
5444
  echo "$as_me: failed program was:" >&5
4706
5447
  # Broken: fails on valid input.
4707
5448
continue
4708
5449
fi
 
5450
 
4709
5451
rm -f conftest.err conftest.$ac_ext
4710
5452
 
4711
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5453
  # OK, works on sane cases.  Now check whether nonexistent headers
4712
5454
  # can be detected and how.
4713
5455
  cat >conftest.$ac_ext <<_ACEOF
4714
5456
/* confdefs.h.  */
4718
5460
/* end confdefs.h.  */
4719
5461
#include <ac_nonexistent.h>
4720
5462
_ACEOF
4721
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4722
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5463
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5464
case "(($ac_try" in
 
5465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5466
  *) ac_try_echo=$ac_try;;
 
5467
esac
 
5468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5469
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4723
5470
  ac_status=$?
4724
5471
  grep -v '^ *+' conftest.er1 >conftest.err
4725
5472
  rm -f conftest.er1
4726
5473
  cat conftest.err >&5
4727
5474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728
 
  (exit $ac_status); } >/dev/null; then
4729
 
  if test -s conftest.err; then
4730
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4731
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4732
 
  else
4733
 
    ac_cpp_err=
4734
 
  fi
4735
 
else
4736
 
  ac_cpp_err=yes
4737
 
fi
4738
 
if test -z "$ac_cpp_err"; then
 
5475
  (exit $ac_status); } >/dev/null && {
 
5476
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5477
         test ! -s conftest.err
 
5478
       }; then
4739
5479
  # Broken: success on invalid input.
4740
5480
continue
4741
5481
else
4746
5486
ac_preproc_ok=:
4747
5487
break
4748
5488
fi
 
5489
 
4749
5490
rm -f conftest.err conftest.$ac_ext
4750
5491
 
4751
5492
done
4763
5504
else
4764
5505
  ac_cv_prog_CPP=$CPP
4765
5506
fi
4766
 
echo "$as_me:$LINENO: result: $CPP" >&5
4767
 
echo "${ECHO_T}$CPP" >&6
 
5507
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5508
echo "${ECHO_T}$CPP" >&6; }
4768
5509
ac_preproc_ok=false
4769
5510
for ac_c_preproc_warn_flag in '' yes
4770
5511
do
4787
5528
#endif
4788
5529
                     Syntax error
4789
5530
_ACEOF
4790
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4791
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5531
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5532
case "(($ac_try" in
 
5533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5534
  *) ac_try_echo=$ac_try;;
 
5535
esac
 
5536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5537
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4792
5538
  ac_status=$?
4793
5539
  grep -v '^ *+' conftest.er1 >conftest.err
4794
5540
  rm -f conftest.er1
4795
5541
  cat conftest.err >&5
4796
5542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
 
  (exit $ac_status); } >/dev/null; then
4798
 
  if test -s conftest.err; then
4799
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4800
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4801
 
  else
4802
 
    ac_cpp_err=
4803
 
  fi
4804
 
else
4805
 
  ac_cpp_err=yes
4806
 
fi
4807
 
if test -z "$ac_cpp_err"; then
 
5543
  (exit $ac_status); } >/dev/null && {
 
5544
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5545
         test ! -s conftest.err
 
5546
       }; then
4808
5547
  :
4809
5548
else
4810
5549
  echo "$as_me: failed program was:" >&5
4813
5552
  # Broken: fails on valid input.
4814
5553
continue
4815
5554
fi
 
5555
 
4816
5556
rm -f conftest.err conftest.$ac_ext
4817
5557
 
4818
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5558
  # OK, works on sane cases.  Now check whether nonexistent headers
4819
5559
  # can be detected and how.
4820
5560
  cat >conftest.$ac_ext <<_ACEOF
4821
5561
/* confdefs.h.  */
4825
5565
/* end confdefs.h.  */
4826
5566
#include <ac_nonexistent.h>
4827
5567
_ACEOF
4828
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4829
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5568
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5569
case "(($ac_try" in
 
5570
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5571
  *) ac_try_echo=$ac_try;;
 
5572
esac
 
5573
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5574
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4830
5575
  ac_status=$?
4831
5576
  grep -v '^ *+' conftest.er1 >conftest.err
4832
5577
  rm -f conftest.er1
4833
5578
  cat conftest.err >&5
4834
5579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835
 
  (exit $ac_status); } >/dev/null; then
4836
 
  if test -s conftest.err; then
4837
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4838
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4839
 
  else
4840
 
    ac_cpp_err=
4841
 
  fi
4842
 
else
4843
 
  ac_cpp_err=yes
4844
 
fi
4845
 
if test -z "$ac_cpp_err"; then
 
5580
  (exit $ac_status); } >/dev/null && {
 
5581
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5582
         test ! -s conftest.err
 
5583
       }; then
4846
5584
  # Broken: success on invalid input.
4847
5585
continue
4848
5586
else
4853
5591
ac_preproc_ok=:
4854
5592
break
4855
5593
fi
 
5594
 
4856
5595
rm -f conftest.err conftest.$ac_ext
4857
5596
 
4858
5597
done
4875
5614
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4876
5615
 
4877
5616
 
4878
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4879
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5617
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5618
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4880
5619
if test "${ac_cv_header_stdc+set}" = set; then
4881
5620
  echo $ECHO_N "(cached) $ECHO_C" >&6
4882
5621
else
4900
5639
}
4901
5640
_ACEOF
4902
5641
rm -f conftest.$ac_objext
4903
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904
 
  (eval $ac_compile) 2>conftest.er1
 
5642
if { (ac_try="$ac_compile"
 
5643
case "(($ac_try" in
 
5644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5645
  *) ac_try_echo=$ac_try;;
 
5646
esac
 
5647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5648
  (eval "$ac_compile") 2>conftest.er1
4905
5649
  ac_status=$?
4906
5650
  grep -v '^ *+' conftest.er1 >conftest.err
4907
5651
  rm -f conftest.er1
4908
5652
  cat conftest.err >&5
4909
5653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910
 
  (exit $ac_status); } &&
4911
 
         { ac_try='test -z "$ac_c_werror_flag"
4912
 
                         || test ! -s conftest.err'
4913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914
 
  (eval $ac_try) 2>&5
4915
 
  ac_status=$?
4916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917
 
  (exit $ac_status); }; } &&
4918
 
         { ac_try='test -s conftest.$ac_objext'
4919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920
 
  (eval $ac_try) 2>&5
4921
 
  ac_status=$?
4922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
 
  (exit $ac_status); }; }; then
 
5654
  (exit $ac_status); } && {
 
5655
         test -z "$ac_c_werror_flag" ||
 
5656
         test ! -s conftest.err
 
5657
       } && test -s conftest.$ac_objext; then
4924
5658
  ac_cv_header_stdc=yes
4925
5659
else
4926
5660
  echo "$as_me: failed program was:" >&5
4927
5661
sed 's/^/| /' conftest.$ac_ext >&5
4928
5662
 
4929
 
ac_cv_header_stdc=no
 
5663
        ac_cv_header_stdc=no
4930
5664
fi
4931
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5665
 
 
5666
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4932
5667
 
4933
5668
if test $ac_cv_header_stdc = yes; then
4934
5669
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4984
5719
cat >>conftest.$ac_ext <<_ACEOF
4985
5720
/* end confdefs.h.  */
4986
5721
#include <ctype.h>
 
5722
#include <stdlib.h>
4987
5723
#if ((' ' & 0x0FF) == 0x020)
4988
5724
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4989
5725
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5003
5739
  for (i = 0; i < 256; i++)
5004
5740
    if (XOR (islower (i), ISLOWER (i))
5005
5741
        || toupper (i) != TOUPPER (i))
5006
 
      exit(2);
5007
 
  exit (0);
 
5742
      return 2;
 
5743
  return 0;
5008
5744
}
5009
5745
_ACEOF
5010
5746
rm -f conftest$ac_exeext
5011
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5012
 
  (eval $ac_link) 2>&5
 
5747
if { (ac_try="$ac_link"
 
5748
case "(($ac_try" in
 
5749
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5750
  *) ac_try_echo=$ac_try;;
 
5751
esac
 
5752
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5753
  (eval "$ac_link") 2>&5
5013
5754
  ac_status=$?
5014
5755
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
5756
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017
 
  (eval $ac_try) 2>&5
 
5757
  { (case "(($ac_try" in
 
5758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5759
  *) ac_try_echo=$ac_try;;
 
5760
esac
 
5761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5762
  (eval "$ac_try") 2>&5
5018
5763
  ac_status=$?
5019
5764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
5765
  (exit $ac_status); }; }; then
5027
5772
( exit $ac_status )
5028
5773
ac_cv_header_stdc=no
5029
5774
fi
5030
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5031
 
fi
5032
 
fi
5033
 
fi
5034
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5035
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5775
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5776
fi
 
5777
 
 
5778
 
 
5779
fi
 
5780
fi
 
5781
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5782
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5036
5783
if test $ac_cv_header_stdc = yes; then
5037
5784
 
5038
5785
cat >>confdefs.h <<\_ACEOF
5055
5802
                  inttypes.h stdint.h unistd.h
5056
5803
do
5057
5804
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5058
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5059
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5060
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5805
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5806
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5807
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5061
5808
  echo $ECHO_N "(cached) $ECHO_C" >&6
5062
5809
else
5063
5810
  cat >conftest.$ac_ext <<_ACEOF
5071
5818
#include <$ac_header>
5072
5819
_ACEOF
5073
5820
rm -f conftest.$ac_objext
5074
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075
 
  (eval $ac_compile) 2>conftest.er1
 
5821
if { (ac_try="$ac_compile"
 
5822
case "(($ac_try" in
 
5823
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5824
  *) ac_try_echo=$ac_try;;
 
5825
esac
 
5826
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5827
  (eval "$ac_compile") 2>conftest.er1
5076
5828
  ac_status=$?
5077
5829
  grep -v '^ *+' conftest.er1 >conftest.err
5078
5830
  rm -f conftest.er1
5079
5831
  cat conftest.err >&5
5080
5832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081
 
  (exit $ac_status); } &&
5082
 
         { ac_try='test -z "$ac_c_werror_flag"
5083
 
                         || test ! -s conftest.err'
5084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085
 
  (eval $ac_try) 2>&5
5086
 
  ac_status=$?
5087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088
 
  (exit $ac_status); }; } &&
5089
 
         { ac_try='test -s conftest.$ac_objext'
5090
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091
 
  (eval $ac_try) 2>&5
5092
 
  ac_status=$?
5093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094
 
  (exit $ac_status); }; }; then
 
5833
  (exit $ac_status); } && {
 
5834
         test -z "$ac_c_werror_flag" ||
 
5835
         test ! -s conftest.err
 
5836
       } && test -s conftest.$ac_objext; then
5095
5837
  eval "$as_ac_Header=yes"
5096
5838
else
5097
5839
  echo "$as_me: failed program was:" >&5
5098
5840
sed 's/^/| /' conftest.$ac_ext >&5
5099
5841
 
5100
 
eval "$as_ac_Header=no"
5101
 
fi
5102
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5103
 
fi
5104
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5105
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5842
        eval "$as_ac_Header=no"
 
5843
fi
 
5844
 
 
5845
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5846
fi
 
5847
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5848
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5849
echo "${ECHO_T}$ac_res" >&6; }
5106
5850
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5107
5851
  cat >>confdefs.h <<_ACEOF
5108
5852
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5117
5861
for ac_header in dlfcn.h
5118
5862
do
5119
5863
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5120
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5121
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5122
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5123
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5864
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5865
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5866
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5867
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5124
5868
  echo $ECHO_N "(cached) $ECHO_C" >&6
5125
5869
fi
5126
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5127
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5870
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5871
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5872
echo "${ECHO_T}$ac_res" >&6; }
5128
5873
else
5129
5874
  # Is the header compilable?
5130
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5131
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5875
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5876
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5132
5877
cat >conftest.$ac_ext <<_ACEOF
5133
5878
/* confdefs.h.  */
5134
5879
_ACEOF
5139
5884
#include <$ac_header>
5140
5885
_ACEOF
5141
5886
rm -f conftest.$ac_objext
5142
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5143
 
  (eval $ac_compile) 2>conftest.er1
 
5887
if { (ac_try="$ac_compile"
 
5888
case "(($ac_try" in
 
5889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5890
  *) ac_try_echo=$ac_try;;
 
5891
esac
 
5892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5893
  (eval "$ac_compile") 2>conftest.er1
5144
5894
  ac_status=$?
5145
5895
  grep -v '^ *+' conftest.er1 >conftest.err
5146
5896
  rm -f conftest.er1
5147
5897
  cat conftest.err >&5
5148
5898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149
 
  (exit $ac_status); } &&
5150
 
         { ac_try='test -z "$ac_c_werror_flag"
5151
 
                         || test ! -s conftest.err'
5152
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153
 
  (eval $ac_try) 2>&5
5154
 
  ac_status=$?
5155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156
 
  (exit $ac_status); }; } &&
5157
 
         { ac_try='test -s conftest.$ac_objext'
5158
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159
 
  (eval $ac_try) 2>&5
5160
 
  ac_status=$?
5161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162
 
  (exit $ac_status); }; }; then
 
5899
  (exit $ac_status); } && {
 
5900
         test -z "$ac_c_werror_flag" ||
 
5901
         test ! -s conftest.err
 
5902
       } && test -s conftest.$ac_objext; then
5163
5903
  ac_header_compiler=yes
5164
5904
else
5165
5905
  echo "$as_me: failed program was:" >&5
5166
5906
sed 's/^/| /' conftest.$ac_ext >&5
5167
5907
 
5168
 
ac_header_compiler=no
 
5908
        ac_header_compiler=no
5169
5909
fi
5170
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5171
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5172
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5910
 
 
5911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5912
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5913
echo "${ECHO_T}$ac_header_compiler" >&6; }
5173
5914
 
5174
5915
# Is the header present?
5175
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5176
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5916
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5917
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5177
5918
cat >conftest.$ac_ext <<_ACEOF
5178
5919
/* confdefs.h.  */
5179
5920
_ACEOF
5182
5923
/* end confdefs.h.  */
5183
5924
#include <$ac_header>
5184
5925
_ACEOF
5185
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5186
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5926
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5927
case "(($ac_try" in
 
5928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5929
  *) ac_try_echo=$ac_try;;
 
5930
esac
 
5931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5932
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5187
5933
  ac_status=$?
5188
5934
  grep -v '^ *+' conftest.er1 >conftest.err
5189
5935
  rm -f conftest.er1
5190
5936
  cat conftest.err >&5
5191
5937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
 
  (exit $ac_status); } >/dev/null; then
5193
 
  if test -s conftest.err; then
5194
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5195
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5196
 
  else
5197
 
    ac_cpp_err=
5198
 
  fi
5199
 
else
5200
 
  ac_cpp_err=yes
5201
 
fi
5202
 
if test -z "$ac_cpp_err"; then
 
5938
  (exit $ac_status); } >/dev/null && {
 
5939
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5940
         test ! -s conftest.err
 
5941
       }; then
5203
5942
  ac_header_preproc=yes
5204
5943
else
5205
5944
  echo "$as_me: failed program was:" >&5
5207
5946
 
5208
5947
  ac_header_preproc=no
5209
5948
fi
 
5949
 
5210
5950
rm -f conftest.err conftest.$ac_ext
5211
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5212
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5951
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5952
echo "${ECHO_T}$ac_header_preproc" >&6; }
5213
5953
 
5214
5954
# So?  What about this header?
5215
5955
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5233
5973
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5234
5974
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5235
5975
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5236
 
    (
5237
 
      cat <<\_ASBOX
5238
 
## ---------------------------------- ##
5239
 
## Report this to the easytag lists.  ##
5240
 
## ---------------------------------- ##
5241
 
_ASBOX
5242
 
    ) |
5243
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5976
 
5244
5977
    ;;
5245
5978
esac
5246
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5247
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5248
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5979
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5980
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5981
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5249
5982
  echo $ECHO_N "(cached) $ECHO_C" >&6
5250
5983
else
5251
5984
  eval "$as_ac_Header=\$ac_header_preproc"
5252
5985
fi
5253
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5254
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5986
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5987
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5988
echo "${ECHO_T}$ac_res" >&6; }
5255
5989
 
5256
5990
fi
5257
5991
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5264
5998
done
5265
5999
 
5266
6000
 
 
6001
 
 
6002
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
6003
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
6004
    (test "X$CXX" != "Xg++"))) ; then
 
6005
  ac_ext=cpp
 
6006
ac_cpp='$CXXCPP $CPPFLAGS'
 
6007
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6008
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6009
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6010
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6011
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
6012
if test -z "$CXXCPP"; then
 
6013
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
6014
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6015
else
 
6016
      # Double quotes because CXXCPP needs to be expanded
 
6017
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
6018
    do
 
6019
      ac_preproc_ok=false
 
6020
for ac_cxx_preproc_warn_flag in '' yes
 
6021
do
 
6022
  # Use a header file that comes with gcc, so configuring glibc
 
6023
  # with a fresh cross-compiler works.
 
6024
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6025
  # <limits.h> exists even on freestanding compilers.
 
6026
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6027
  # not just through cpp. "Syntax error" is here to catch this case.
 
6028
  cat >conftest.$ac_ext <<_ACEOF
 
6029
/* confdefs.h.  */
 
6030
_ACEOF
 
6031
cat confdefs.h >>conftest.$ac_ext
 
6032
cat >>conftest.$ac_ext <<_ACEOF
 
6033
/* end confdefs.h.  */
 
6034
#ifdef __STDC__
 
6035
# include <limits.h>
 
6036
#else
 
6037
# include <assert.h>
 
6038
#endif
 
6039
                     Syntax error
 
6040
_ACEOF
 
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
 
6048
  ac_status=$?
 
6049
  grep -v '^ *+' conftest.er1 >conftest.err
 
6050
  rm -f conftest.er1
 
6051
  cat conftest.err >&5
 
6052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6053
  (exit $ac_status); } >/dev/null && {
 
6054
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6055
         test ! -s conftest.err
 
6056
       }; then
 
6057
  :
 
6058
else
 
6059
  echo "$as_me: failed program was:" >&5
 
6060
sed 's/^/| /' conftest.$ac_ext >&5
 
6061
 
 
6062
  # Broken: fails on valid input.
 
6063
continue
 
6064
fi
 
6065
 
 
6066
rm -f conftest.err conftest.$ac_ext
 
6067
 
 
6068
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6069
  # can be detected and how.
 
6070
  cat >conftest.$ac_ext <<_ACEOF
 
6071
/* confdefs.h.  */
 
6072
_ACEOF
 
6073
cat confdefs.h >>conftest.$ac_ext
 
6074
cat >>conftest.$ac_ext <<_ACEOF
 
6075
/* end confdefs.h.  */
 
6076
#include <ac_nonexistent.h>
 
6077
_ACEOF
 
6078
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6079
case "(($ac_try" in
 
6080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6081
  *) ac_try_echo=$ac_try;;
 
6082
esac
 
6083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6084
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6085
  ac_status=$?
 
6086
  grep -v '^ *+' conftest.er1 >conftest.err
 
6087
  rm -f conftest.er1
 
6088
  cat conftest.err >&5
 
6089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6090
  (exit $ac_status); } >/dev/null && {
 
6091
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6092
         test ! -s conftest.err
 
6093
       }; then
 
6094
  # Broken: success on invalid input.
 
6095
continue
 
6096
else
 
6097
  echo "$as_me: failed program was:" >&5
 
6098
sed 's/^/| /' conftest.$ac_ext >&5
 
6099
 
 
6100
  # Passes both tests.
 
6101
ac_preproc_ok=:
 
6102
break
 
6103
fi
 
6104
 
 
6105
rm -f conftest.err conftest.$ac_ext
 
6106
 
 
6107
done
 
6108
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6109
rm -f conftest.err conftest.$ac_ext
 
6110
if $ac_preproc_ok; then
 
6111
  break
 
6112
fi
 
6113
 
 
6114
    done
 
6115
    ac_cv_prog_CXXCPP=$CXXCPP
 
6116
 
 
6117
fi
 
6118
  CXXCPP=$ac_cv_prog_CXXCPP
 
6119
else
 
6120
  ac_cv_prog_CXXCPP=$CXXCPP
 
6121
fi
 
6122
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6123
echo "${ECHO_T}$CXXCPP" >&6; }
 
6124
ac_preproc_ok=false
 
6125
for ac_cxx_preproc_warn_flag in '' yes
 
6126
do
 
6127
  # Use a header file that comes with gcc, so configuring glibc
 
6128
  # with a fresh cross-compiler works.
 
6129
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6130
  # <limits.h> exists even on freestanding compilers.
 
6131
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6132
  # not just through cpp. "Syntax error" is here to catch this case.
 
6133
  cat >conftest.$ac_ext <<_ACEOF
 
6134
/* confdefs.h.  */
 
6135
_ACEOF
 
6136
cat confdefs.h >>conftest.$ac_ext
 
6137
cat >>conftest.$ac_ext <<_ACEOF
 
6138
/* end confdefs.h.  */
 
6139
#ifdef __STDC__
 
6140
# include <limits.h>
 
6141
#else
 
6142
# include <assert.h>
 
6143
#endif
 
6144
                     Syntax error
 
6145
_ACEOF
 
6146
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6147
case "(($ac_try" in
 
6148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6149
  *) ac_try_echo=$ac_try;;
 
6150
esac
 
6151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6152
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6153
  ac_status=$?
 
6154
  grep -v '^ *+' conftest.er1 >conftest.err
 
6155
  rm -f conftest.er1
 
6156
  cat conftest.err >&5
 
6157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6158
  (exit $ac_status); } >/dev/null && {
 
6159
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6160
         test ! -s conftest.err
 
6161
       }; then
 
6162
  :
 
6163
else
 
6164
  echo "$as_me: failed program was:" >&5
 
6165
sed 's/^/| /' conftest.$ac_ext >&5
 
6166
 
 
6167
  # Broken: fails on valid input.
 
6168
continue
 
6169
fi
 
6170
 
 
6171
rm -f conftest.err conftest.$ac_ext
 
6172
 
 
6173
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6174
  # can be detected and how.
 
6175
  cat >conftest.$ac_ext <<_ACEOF
 
6176
/* confdefs.h.  */
 
6177
_ACEOF
 
6178
cat confdefs.h >>conftest.$ac_ext
 
6179
cat >>conftest.$ac_ext <<_ACEOF
 
6180
/* end confdefs.h.  */
 
6181
#include <ac_nonexistent.h>
 
6182
_ACEOF
 
6183
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6184
case "(($ac_try" in
 
6185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6186
  *) ac_try_echo=$ac_try;;
 
6187
esac
 
6188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6189
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6190
  ac_status=$?
 
6191
  grep -v '^ *+' conftest.er1 >conftest.err
 
6192
  rm -f conftest.er1
 
6193
  cat conftest.err >&5
 
6194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6195
  (exit $ac_status); } >/dev/null && {
 
6196
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6197
         test ! -s conftest.err
 
6198
       }; then
 
6199
  # Broken: success on invalid input.
 
6200
continue
 
6201
else
 
6202
  echo "$as_me: failed program was:" >&5
 
6203
sed 's/^/| /' conftest.$ac_ext >&5
 
6204
 
 
6205
  # Passes both tests.
 
6206
ac_preproc_ok=:
 
6207
break
 
6208
fi
 
6209
 
 
6210
rm -f conftest.err conftest.$ac_ext
 
6211
 
 
6212
done
 
6213
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6214
rm -f conftest.err conftest.$ac_ext
 
6215
if $ac_preproc_ok; then
 
6216
  :
 
6217
else
 
6218
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
6219
See \`config.log' for more details." >&5
 
6220
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
6221
See \`config.log' for more details." >&2;}
 
6222
   { (exit 1); exit 1; }; }
 
6223
fi
 
6224
 
 
6225
ac_ext=cpp
 
6226
ac_cpp='$CXXCPP $CPPFLAGS'
 
6227
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6228
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6229
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6230
 
 
6231
fi
 
6232
 
 
6233
 
5267
6234
ac_ext=f
5268
6235
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5269
6236
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270
6237
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5271
6238
if test -n "$ac_tool_prefix"; then
5272
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6239
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5273
6240
  do
5274
6241
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5275
6242
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5276
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5277
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6243
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6244
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5278
6245
if test "${ac_cv_prog_F77+set}" = set; then
5279
6246
  echo $ECHO_N "(cached) $ECHO_C" >&6
5280
6247
else
5287
6254
  IFS=$as_save_IFS
5288
6255
  test -z "$as_dir" && as_dir=.
5289
6256
  for ac_exec_ext in '' $ac_executable_extensions; do
5290
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5291
6258
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5292
6259
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5293
6260
    break 2
5294
6261
  fi
5295
6262
done
5296
6263
done
 
6264
IFS=$as_save_IFS
5297
6265
 
5298
6266
fi
5299
6267
fi
5300
6268
F77=$ac_cv_prog_F77
5301
6269
if test -n "$F77"; then
5302
 
  echo "$as_me:$LINENO: result: $F77" >&5
5303
 
echo "${ECHO_T}$F77" >&6
 
6270
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6271
echo "${ECHO_T}$F77" >&6; }
5304
6272
else
5305
 
  echo "$as_me:$LINENO: result: no" >&5
5306
 
echo "${ECHO_T}no" >&6
 
6273
  { echo "$as_me:$LINENO: result: no" >&5
 
6274
echo "${ECHO_T}no" >&6; }
5307
6275
fi
5308
6276
 
 
6277
 
5309
6278
    test -n "$F77" && break
5310
6279
  done
5311
6280
fi
5312
6281
if test -z "$F77"; then
5313
6282
  ac_ct_F77=$F77
5314
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6283
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5315
6284
do
5316
6285
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5317
6286
set dummy $ac_prog; ac_word=$2
5318
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5319
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6287
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6288
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320
6289
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5321
6290
  echo $ECHO_N "(cached) $ECHO_C" >&6
5322
6291
else
5329
6298
  IFS=$as_save_IFS
5330
6299
  test -z "$as_dir" && as_dir=.
5331
6300
  for ac_exec_ext in '' $ac_executable_extensions; do
5332
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333
6302
    ac_cv_prog_ac_ct_F77="$ac_prog"
5334
6303
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335
6304
    break 2
5336
6305
  fi
5337
6306
done
5338
6307
done
 
6308
IFS=$as_save_IFS
5339
6309
 
5340
6310
fi
5341
6311
fi
5342
6312
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5343
6313
if test -n "$ac_ct_F77"; then
5344
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5345
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6314
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6315
echo "${ECHO_T}$ac_ct_F77" >&6; }
5346
6316
else
5347
 
  echo "$as_me:$LINENO: result: no" >&5
5348
 
echo "${ECHO_T}no" >&6
 
6317
  { echo "$as_me:$LINENO: result: no" >&5
 
6318
echo "${ECHO_T}no" >&6; }
5349
6319
fi
5350
6320
 
 
6321
 
5351
6322
  test -n "$ac_ct_F77" && break
5352
6323
done
5353
6324
 
5354
 
  F77=$ac_ct_F77
 
6325
  if test "x$ac_ct_F77" = x; then
 
6326
    F77=""
 
6327
  else
 
6328
    case $cross_compiling:$ac_tool_warned in
 
6329
yes:)
 
6330
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6331
whose name does not start with the host triplet.  If you think this
 
6332
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6333
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6334
whose name does not start with the host triplet.  If you think this
 
6335
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6336
ac_tool_warned=yes ;;
 
6337
esac
 
6338
    F77=$ac_ct_F77
 
6339
  fi
5355
6340
fi
5356
6341
 
5357
6342
 
5358
6343
# Provide some information about the compiler.
5359
 
echo "$as_me:5359:" \
5360
 
     "checking for Fortran 77 compiler version" >&5
 
6344
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5361
6345
ac_compiler=`set X $ac_compile; echo $2`
5362
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5363
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5364
 
  ac_status=$?
5365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366
 
  (exit $ac_status); }
5367
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5368
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5369
 
  ac_status=$?
5370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
 
  (exit $ac_status); }
5372
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5373
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6346
{ (ac_try="$ac_compiler --version >&5"
 
6347
case "(($ac_try" in
 
6348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6349
  *) ac_try_echo=$ac_try;;
 
6350
esac
 
6351
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6352
  (eval "$ac_compiler --version >&5") 2>&5
 
6353
  ac_status=$?
 
6354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6355
  (exit $ac_status); }
 
6356
{ (ac_try="$ac_compiler -v >&5"
 
6357
case "(($ac_try" in
 
6358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6359
  *) ac_try_echo=$ac_try;;
 
6360
esac
 
6361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6362
  (eval "$ac_compiler -v >&5") 2>&5
 
6363
  ac_status=$?
 
6364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6365
  (exit $ac_status); }
 
6366
{ (ac_try="$ac_compiler -V >&5"
 
6367
case "(($ac_try" in
 
6368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6369
  *) ac_try_echo=$ac_try;;
 
6370
esac
 
6371
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6372
  (eval "$ac_compiler -V >&5") 2>&5
5374
6373
  ac_status=$?
5375
6374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376
6375
  (exit $ac_status); }
5380
6379
# input file.  (Note that this only needs to work for GNU compilers.)
5381
6380
ac_save_ext=$ac_ext
5382
6381
ac_ext=F
5383
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5384
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6382
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6383
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5385
6384
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5386
6385
  echo $ECHO_N "(cached) $ECHO_C" >&6
5387
6386
else
5394
6393
      end
5395
6394
_ACEOF
5396
6395
rm -f conftest.$ac_objext
5397
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5398
 
  (eval $ac_compile) 2>conftest.er1
 
6396
if { (ac_try="$ac_compile"
 
6397
case "(($ac_try" in
 
6398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6399
  *) ac_try_echo=$ac_try;;
 
6400
esac
 
6401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6402
  (eval "$ac_compile") 2>conftest.er1
5399
6403
  ac_status=$?
5400
6404
  grep -v '^ *+' conftest.er1 >conftest.err
5401
6405
  rm -f conftest.er1
5402
6406
  cat conftest.err >&5
5403
6407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404
 
  (exit $ac_status); } &&
5405
 
         { ac_try='test -z "$ac_f77_werror_flag"
5406
 
                         || test ! -s conftest.err'
5407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408
 
  (eval $ac_try) 2>&5
5409
 
  ac_status=$?
5410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411
 
  (exit $ac_status); }; } &&
5412
 
         { ac_try='test -s conftest.$ac_objext'
5413
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414
 
  (eval $ac_try) 2>&5
5415
 
  ac_status=$?
5416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); }; }; then
 
6408
  (exit $ac_status); } && {
 
6409
         test -z "$ac_f77_werror_flag" ||
 
6410
         test ! -s conftest.err
 
6411
       } && test -s conftest.$ac_objext; then
5418
6412
  ac_compiler_gnu=yes
5419
6413
else
5420
6414
  echo "$as_me: failed program was:" >&5
5421
6415
sed 's/^/| /' conftest.$ac_ext >&5
5422
6416
 
5423
 
ac_compiler_gnu=no
 
6417
        ac_compiler_gnu=no
5424
6418
fi
5425
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6419
 
 
6420
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426
6421
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5427
6422
 
5428
6423
fi
5429
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5430
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6424
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6425
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5431
6426
ac_ext=$ac_save_ext
5432
6427
ac_test_FFLAGS=${FFLAGS+set}
5433
6428
ac_save_FFLAGS=$FFLAGS
5434
6429
FFLAGS=
5435
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5436
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6430
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6431
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5437
6432
if test "${ac_cv_prog_f77_g+set}" = set; then
5438
6433
  echo $ECHO_N "(cached) $ECHO_C" >&6
5439
6434
else
5444
6439
      end
5445
6440
_ACEOF
5446
6441
rm -f conftest.$ac_objext
5447
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448
 
  (eval $ac_compile) 2>conftest.er1
 
6442
if { (ac_try="$ac_compile"
 
6443
case "(($ac_try" in
 
6444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6445
  *) ac_try_echo=$ac_try;;
 
6446
esac
 
6447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6448
  (eval "$ac_compile") 2>conftest.er1
5449
6449
  ac_status=$?
5450
6450
  grep -v '^ *+' conftest.er1 >conftest.err
5451
6451
  rm -f conftest.er1
5452
6452
  cat conftest.err >&5
5453
6453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
 
  (exit $ac_status); } &&
5455
 
         { ac_try='test -z "$ac_f77_werror_flag"
5456
 
                         || test ! -s conftest.err'
5457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458
 
  (eval $ac_try) 2>&5
5459
 
  ac_status=$?
5460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461
 
  (exit $ac_status); }; } &&
5462
 
         { ac_try='test -s conftest.$ac_objext'
5463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5464
 
  (eval $ac_try) 2>&5
5465
 
  ac_status=$?
5466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467
 
  (exit $ac_status); }; }; then
 
6454
  (exit $ac_status); } && {
 
6455
         test -z "$ac_f77_werror_flag" ||
 
6456
         test ! -s conftest.err
 
6457
       } && test -s conftest.$ac_objext; then
5468
6458
  ac_cv_prog_f77_g=yes
5469
6459
else
5470
6460
  echo "$as_me: failed program was:" >&5
5471
6461
sed 's/^/| /' conftest.$ac_ext >&5
5472
6462
 
5473
 
ac_cv_prog_f77_g=no
5474
 
fi
5475
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5476
 
 
5477
 
fi
5478
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5479
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6463
        ac_cv_prog_f77_g=no
 
6464
fi
 
6465
 
 
6466
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6467
 
 
6468
fi
 
6469
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6470
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5480
6471
if test "$ac_test_FFLAGS" = set; then
5481
6472
  FFLAGS=$ac_save_FFLAGS
5482
6473
elif test $ac_cv_prog_f77_g = yes; then
5505
6496
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5506
6497
 
5507
6498
# find the maximum length of command line arguments
5508
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5509
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6499
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6500
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5510
6501
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5511
6502
  echo $ECHO_N "(cached) $ECHO_C" >&6
5512
6503
else
5546
6537
    lt_cv_sys_max_cmd_len=8192;
5547
6538
    ;;
5548
6539
 
5549
 
 *)
5550
 
    # If test is not a shell built-in, we'll probably end up computing a
5551
 
    # maximum length that is only half of the actual maximum length, but
5552
 
    # we can't tell.
5553
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6540
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6541
    # This has been around since 386BSD, at least.  Likely further.
 
6542
    if test -x /sbin/sysctl; then
 
6543
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6544
    elif test -x /usr/sbin/sysctl; then
 
6545
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6546
    else
 
6547
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6548
    fi
 
6549
    # And add a safety zone
 
6550
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6551
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6552
    ;;
 
6553
 
 
6554
  interix*)
 
6555
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6556
    lt_cv_sys_max_cmd_len=196608
 
6557
    ;;
 
6558
 
 
6559
  osf*)
 
6560
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6561
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6562
    # nice to cause kernel panics so lets avoid the loop below.
 
6563
    # First set a reasonable default.
 
6564
    lt_cv_sys_max_cmd_len=16384
 
6565
    #
 
6566
    if test -x /sbin/sysconfig; then
 
6567
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6568
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6569
      esac
 
6570
    fi
 
6571
    ;;
 
6572
  sco3.2v5*)
 
6573
    lt_cv_sys_max_cmd_len=102400
 
6574
    ;;
 
6575
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6576
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6577
    if test -n "$kargmax"; then
 
6578
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6579
    else
 
6580
      lt_cv_sys_max_cmd_len=32768
 
6581
    fi
 
6582
    ;;
 
6583
  *)
 
6584
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6585
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6586
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6587
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6588
    else
 
6589
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6590
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5554
6591
               = "XX$teststring") >/dev/null 2>&1 &&
5555
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5556
 
            lt_cv_sys_max_cmd_len=$new_result &&
5557
 
            test $i != 17 # 1/2 MB should be enough
5558
 
    do
5559
 
      i=`expr $i + 1`
5560
 
      teststring=$teststring$teststring
5561
 
    done
5562
 
    teststring=
5563
 
    # Add a significant safety factor because C++ compilers can tack on massive
5564
 
    # amounts of additional arguments before passing them to the linker.
5565
 
    # It appears as though 1/2 is a usable value.
5566
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6592
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6593
              lt_cv_sys_max_cmd_len=$new_result &&
 
6594
              test $i != 17 # 1/2 MB should be enough
 
6595
      do
 
6596
        i=`expr $i + 1`
 
6597
        teststring=$teststring$teststring
 
6598
      done
 
6599
      teststring=
 
6600
      # Add a significant safety factor because C++ compilers can tack on massive
 
6601
      # amounts of additional arguments before passing them to the linker.
 
6602
      # It appears as though 1/2 is a usable value.
 
6603
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6604
    fi
5567
6605
    ;;
5568
6606
  esac
5569
6607
 
5570
6608
fi
5571
6609
 
5572
6610
if test -n $lt_cv_sys_max_cmd_len ; then
5573
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5574
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6611
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6612
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5575
6613
else
5576
 
  echo "$as_me:$LINENO: result: none" >&5
5577
 
echo "${ECHO_T}none" >&6
 
6614
  { echo "$as_me:$LINENO: result: none" >&5
 
6615
echo "${ECHO_T}none" >&6; }
5578
6616
fi
5579
6617
 
5580
6618
 
5581
6619
 
5582
6620
 
 
6621
 
5583
6622
# Check for command to grab the raw symbol name followed by C symbol from nm.
5584
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5585
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6623
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6624
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5586
6625
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5587
6626
  echo $ECHO_N "(cached) $ECHO_C" >&6
5588
6627
else
5596
6635
# Regexp to match symbols that can be accessed directly from C.
5597
6636
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5598
6637
 
5599
 
# Transform the above into a raw symbol and a C symbol.
5600
 
symxfrm='\1 \2\3 \3'
5601
 
 
5602
6638
# Transform an extracted symbol line into a proper C declaration
5603
6639
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5604
6640
 
5620
6656
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5621
6657
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5622
6658
  ;;
 
6659
linux* | k*bsd*-gnu)
 
6660
  if test "$host_cpu" = ia64; then
 
6661
    symcode='[ABCDGIRSTW]'
 
6662
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6663
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
6664
  fi
 
6665
  ;;
5623
6666
irix* | nonstopux*)
5624
6667
  symcode='[BCDEGRST]'
5625
6668
  ;;
5626
6669
osf*)
5627
6670
  symcode='[BCDEGQRST]'
5628
6671
  ;;
5629
 
solaris* | sysv5*)
 
6672
solaris*)
5630
6673
  symcode='[BDRT]'
5631
6674
  ;;
 
6675
sco3.2v5*)
 
6676
  symcode='[DT]'
 
6677
  ;;
 
6678
sysv4.2uw2*)
 
6679
  symcode='[DT]'
 
6680
  ;;
 
6681
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6682
  symcode='[ABDT]'
 
6683
  ;;
5632
6684
sysv4)
5633
6685
  symcode='[DFNSTU]'
5634
6686
  ;;
5651
6703
# Try without a prefix undercore, then with it.
5652
6704
for ac_symprfx in "" "_"; do
5653
6705
 
 
6706
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6707
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6708
 
5654
6709
  # Write the raw and C identifiers.
5655
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
6710
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5656
6711
 
5657
6712
  # Check to see that the pipe works correctly.
5658
6713
  pipe_works=no
5770
6825
  lt_cv_sys_global_symbol_to_cdecl=
5771
6826
fi
5772
6827
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5773
 
  echo "$as_me:$LINENO: result: failed" >&5
5774
 
echo "${ECHO_T}failed" >&6
 
6828
  { echo "$as_me:$LINENO: result: failed" >&5
 
6829
echo "${ECHO_T}failed" >&6; }
5775
6830
else
5776
 
  echo "$as_me:$LINENO: result: ok" >&5
5777
 
echo "${ECHO_T}ok" >&6
 
6831
  { echo "$as_me:$LINENO: result: ok" >&5
 
6832
echo "${ECHO_T}ok" >&6; }
5778
6833
fi
5779
6834
 
5780
 
echo "$as_me:$LINENO: checking for objdir" >&5
5781
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6835
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6836
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5782
6837
if test "${lt_cv_objdir+set}" = set; then
5783
6838
  echo $ECHO_N "(cached) $ECHO_C" >&6
5784
6839
else
5792
6847
fi
5793
6848
rmdir .libs 2>/dev/null
5794
6849
fi
5795
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5796
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6850
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6851
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5797
6852
objdir=$lt_cv_objdir
5798
6853
 
5799
6854
 
5814
6869
 
5815
6870
# Sed substitution that helps us do robust quoting.  It backslashifies
5816
6871
# metacharacters that are still active within double-quoted strings.
5817
 
Xsed='sed -e s/^X//'
 
6872
Xsed='sed -e 1s/^X//'
5818
6873
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5819
6874
 
5820
6875
# Same as above, but do not quote variable references.
5834
6889
default_ofile=libtool
5835
6890
can_build_shared=yes
5836
6891
 
5837
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
6892
# All known linkers require a `.a' archive for static linking (except MSVC,
5838
6893
# which needs '.lib').
5839
6894
libext=a
5840
6895
ltmain="$ac_aux_dir/ltmain.sh"
5844
6899
if test -n "$ac_tool_prefix"; then
5845
6900
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5846
6901
set dummy ${ac_tool_prefix}ar; ac_word=$2
5847
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5848
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6902
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6903
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5849
6904
if test "${ac_cv_prog_AR+set}" = set; then
5850
6905
  echo $ECHO_N "(cached) $ECHO_C" >&6
5851
6906
else
5858
6913
  IFS=$as_save_IFS
5859
6914
  test -z "$as_dir" && as_dir=.
5860
6915
  for ac_exec_ext in '' $ac_executable_extensions; do
5861
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6916
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5862
6917
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5863
6918
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5864
6919
    break 2
5865
6920
  fi
5866
6921
done
5867
6922
done
 
6923
IFS=$as_save_IFS
5868
6924
 
5869
6925
fi
5870
6926
fi
5871
6927
AR=$ac_cv_prog_AR
5872
6928
if test -n "$AR"; then
5873
 
  echo "$as_me:$LINENO: result: $AR" >&5
5874
 
echo "${ECHO_T}$AR" >&6
 
6929
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6930
echo "${ECHO_T}$AR" >&6; }
5875
6931
else
5876
 
  echo "$as_me:$LINENO: result: no" >&5
5877
 
echo "${ECHO_T}no" >&6
 
6932
  { echo "$as_me:$LINENO: result: no" >&5
 
6933
echo "${ECHO_T}no" >&6; }
5878
6934
fi
 
6935
 
5879
6936
 
5880
6937
fi
5881
6938
if test -z "$ac_cv_prog_AR"; then
5882
6939
  ac_ct_AR=$AR
5883
6940
  # Extract the first word of "ar", so it can be a program name with args.
5884
6941
set dummy ar; ac_word=$2
5885
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5886
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6942
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6943
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5887
6944
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5888
6945
  echo $ECHO_N "(cached) $ECHO_C" >&6
5889
6946
else
5896
6953
  IFS=$as_save_IFS
5897
6954
  test -z "$as_dir" && as_dir=.
5898
6955
  for ac_exec_ext in '' $ac_executable_extensions; do
5899
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900
6957
    ac_cv_prog_ac_ct_AR="ar"
5901
6958
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5902
6959
    break 2
5903
6960
  fi
5904
6961
done
5905
6962
done
 
6963
IFS=$as_save_IFS
5906
6964
 
5907
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5908
6965
fi
5909
6966
fi
5910
6967
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5911
6968
if test -n "$ac_ct_AR"; then
5912
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5913
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6969
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6970
echo "${ECHO_T}$ac_ct_AR" >&6; }
5914
6971
else
5915
 
  echo "$as_me:$LINENO: result: no" >&5
5916
 
echo "${ECHO_T}no" >&6
 
6972
  { echo "$as_me:$LINENO: result: no" >&5
 
6973
echo "${ECHO_T}no" >&6; }
5917
6974
fi
5918
6975
 
5919
 
  AR=$ac_ct_AR
 
6976
  if test "x$ac_ct_AR" = x; then
 
6977
    AR="false"
 
6978
  else
 
6979
    case $cross_compiling:$ac_tool_warned in
 
6980
yes:)
 
6981
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6982
whose name does not start with the host triplet.  If you think this
 
6983
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6984
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6985
whose name does not start with the host triplet.  If you think this
 
6986
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6987
ac_tool_warned=yes ;;
 
6988
esac
 
6989
    AR=$ac_ct_AR
 
6990
  fi
5920
6991
else
5921
6992
  AR="$ac_cv_prog_AR"
5922
6993
fi
5924
6995
if test -n "$ac_tool_prefix"; then
5925
6996
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5926
6997
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5927
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5928
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6998
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6999
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5929
7000
if test "${ac_cv_prog_RANLIB+set}" = set; then
5930
7001
  echo $ECHO_N "(cached) $ECHO_C" >&6
5931
7002
else
5938
7009
  IFS=$as_save_IFS
5939
7010
  test -z "$as_dir" && as_dir=.
5940
7011
  for ac_exec_ext in '' $ac_executable_extensions; do
5941
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942
7013
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5943
7014
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5944
7015
    break 2
5945
7016
  fi
5946
7017
done
5947
7018
done
 
7019
IFS=$as_save_IFS
5948
7020
 
5949
7021
fi
5950
7022
fi
5951
7023
RANLIB=$ac_cv_prog_RANLIB
5952
7024
if test -n "$RANLIB"; then
5953
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5954
 
echo "${ECHO_T}$RANLIB" >&6
 
7025
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7026
echo "${ECHO_T}$RANLIB" >&6; }
5955
7027
else
5956
 
  echo "$as_me:$LINENO: result: no" >&5
5957
 
echo "${ECHO_T}no" >&6
 
7028
  { echo "$as_me:$LINENO: result: no" >&5
 
7029
echo "${ECHO_T}no" >&6; }
5958
7030
fi
 
7031
 
5959
7032
 
5960
7033
fi
5961
7034
if test -z "$ac_cv_prog_RANLIB"; then
5962
7035
  ac_ct_RANLIB=$RANLIB
5963
7036
  # Extract the first word of "ranlib", so it can be a program name with args.
5964
7037
set dummy ranlib; ac_word=$2
5965
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5966
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7038
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7039
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5967
7040
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5968
7041
  echo $ECHO_N "(cached) $ECHO_C" >&6
5969
7042
else
5976
7049
  IFS=$as_save_IFS
5977
7050
  test -z "$as_dir" && as_dir=.
5978
7051
  for ac_exec_ext in '' $ac_executable_extensions; do
5979
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5980
7053
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5981
7054
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5982
7055
    break 2
5983
7056
  fi
5984
7057
done
5985
7058
done
 
7059
IFS=$as_save_IFS
5986
7060
 
5987
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5988
7061
fi
5989
7062
fi
5990
7063
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5991
7064
if test -n "$ac_ct_RANLIB"; then
5992
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5993
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7065
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7066
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5994
7067
else
5995
 
  echo "$as_me:$LINENO: result: no" >&5
5996
 
echo "${ECHO_T}no" >&6
 
7068
  { echo "$as_me:$LINENO: result: no" >&5
 
7069
echo "${ECHO_T}no" >&6; }
5997
7070
fi
5998
7071
 
5999
 
  RANLIB=$ac_ct_RANLIB
 
7072
  if test "x$ac_ct_RANLIB" = x; then
 
7073
    RANLIB=":"
 
7074
  else
 
7075
    case $cross_compiling:$ac_tool_warned in
 
7076
yes:)
 
7077
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7078
whose name does not start with the host triplet.  If you think this
 
7079
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7080
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7081
whose name does not start with the host triplet.  If you think this
 
7082
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7083
ac_tool_warned=yes ;;
 
7084
esac
 
7085
    RANLIB=$ac_ct_RANLIB
 
7086
  fi
6000
7087
else
6001
7088
  RANLIB="$ac_cv_prog_RANLIB"
6002
7089
fi
6004
7091
if test -n "$ac_tool_prefix"; then
6005
7092
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6006
7093
set dummy ${ac_tool_prefix}strip; ac_word=$2
6007
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6008
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7094
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7095
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6009
7096
if test "${ac_cv_prog_STRIP+set}" = set; then
6010
7097
  echo $ECHO_N "(cached) $ECHO_C" >&6
6011
7098
else
6018
7105
  IFS=$as_save_IFS
6019
7106
  test -z "$as_dir" && as_dir=.
6020
7107
  for ac_exec_ext in '' $ac_executable_extensions; do
6021
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7108
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022
7109
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6023
7110
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024
7111
    break 2
6025
7112
  fi
6026
7113
done
6027
7114
done
 
7115
IFS=$as_save_IFS
6028
7116
 
6029
7117
fi
6030
7118
fi
6031
7119
STRIP=$ac_cv_prog_STRIP
6032
7120
if test -n "$STRIP"; then
6033
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6034
 
echo "${ECHO_T}$STRIP" >&6
 
7121
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7122
echo "${ECHO_T}$STRIP" >&6; }
6035
7123
else
6036
 
  echo "$as_me:$LINENO: result: no" >&5
6037
 
echo "${ECHO_T}no" >&6
 
7124
  { echo "$as_me:$LINENO: result: no" >&5
 
7125
echo "${ECHO_T}no" >&6; }
6038
7126
fi
 
7127
 
6039
7128
 
6040
7129
fi
6041
7130
if test -z "$ac_cv_prog_STRIP"; then
6042
7131
  ac_ct_STRIP=$STRIP
6043
7132
  # Extract the first word of "strip", so it can be a program name with args.
6044
7133
set dummy strip; ac_word=$2
6045
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6046
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7134
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7135
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6047
7136
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6048
7137
  echo $ECHO_N "(cached) $ECHO_C" >&6
6049
7138
else
6056
7145
  IFS=$as_save_IFS
6057
7146
  test -z "$as_dir" && as_dir=.
6058
7147
  for ac_exec_ext in '' $ac_executable_extensions; do
6059
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6060
7149
    ac_cv_prog_ac_ct_STRIP="strip"
6061
7150
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6062
7151
    break 2
6063
7152
  fi
6064
7153
done
6065
7154
done
 
7155
IFS=$as_save_IFS
6066
7156
 
6067
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6068
7157
fi
6069
7158
fi
6070
7159
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6071
7160
if test -n "$ac_ct_STRIP"; then
6072
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6073
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7161
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7162
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6074
7163
else
6075
 
  echo "$as_me:$LINENO: result: no" >&5
6076
 
echo "${ECHO_T}no" >&6
 
7164
  { echo "$as_me:$LINENO: result: no" >&5
 
7165
echo "${ECHO_T}no" >&6; }
6077
7166
fi
6078
7167
 
6079
 
  STRIP=$ac_ct_STRIP
 
7168
  if test "x$ac_ct_STRIP" = x; then
 
7169
    STRIP=":"
 
7170
  else
 
7171
    case $cross_compiling:$ac_tool_warned in
 
7172
yes:)
 
7173
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7174
whose name does not start with the host triplet.  If you think this
 
7175
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7176
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7177
whose name does not start with the host triplet.  If you think this
 
7178
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7179
ac_tool_warned=yes ;;
 
7180
esac
 
7181
    STRIP=$ac_ct_STRIP
 
7182
  fi
6080
7183
else
6081
7184
  STRIP="$ac_cv_prog_STRIP"
6082
7185
fi
6091
7194
test -z "$AS" && AS=as
6092
7195
test -z "$CC" && CC=cc
6093
7196
test -z "$LTCC" && LTCC=$CC
 
7197
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6094
7198
test -z "$DLLTOOL" && DLLTOOL=dlltool
6095
7199
test -z "$LD" && LD=ld
6096
7200
test -z "$LN_S" && LN_S="ln -s"
6103
7207
test -z "$ac_objext" && ac_objext=o
6104
7208
 
6105
7209
# Determine commands to create old-style static archives.
6106
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7210
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6107
7211
old_postinstall_cmds='chmod 644 $oldlib'
6108
7212
old_postuninstall_cmds=
6109
7213
 
6110
7214
if test -n "$RANLIB"; then
6111
7215
  case $host_os in
6112
7216
  openbsd*)
6113
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
7217
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6114
7218
    ;;
6115
7219
  *)
6116
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
7220
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6117
7221
    ;;
6118
7222
  esac
6119
7223
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6120
7224
fi
6121
7225
 
 
7226
for cc_temp in $compiler""; do
 
7227
  case $cc_temp in
 
7228
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7229
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7230
    \-*) ;;
 
7231
    *) break;;
 
7232
  esac
 
7233
done
 
7234
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7235
 
 
7236
 
6122
7237
# Only perform the check for file, if the check method requires it
6123
7238
case $deplibs_check_method in
6124
7239
file_magic*)
6125
7240
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6126
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6127
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7241
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7242
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6128
7243
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6129
7244
  echo $ECHO_N "(cached) $ECHO_C" >&6
6130
7245
else
6144
7259
      if test -n "$file_magic_test_file"; then
6145
7260
        case $deplibs_check_method in
6146
7261
        "file_magic "*)
6147
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7262
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6148
7263
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6149
7264
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6150
7265
            $EGREP "$file_magic_regex" > /dev/null; then
6176
7291
 
6177
7292
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6178
7293
if test -n "$MAGIC_CMD"; then
6179
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6180
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7294
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7295
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6181
7296
else
6182
 
  echo "$as_me:$LINENO: result: no" >&5
6183
 
echo "${ECHO_T}no" >&6
 
7297
  { echo "$as_me:$LINENO: result: no" >&5
 
7298
echo "${ECHO_T}no" >&6; }
6184
7299
fi
6185
7300
 
6186
7301
if test -z "$lt_cv_path_MAGIC_CMD"; then
6187
7302
  if test -n "$ac_tool_prefix"; then
6188
 
    echo "$as_me:$LINENO: checking for file" >&5
6189
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7303
    { echo "$as_me:$LINENO: checking for file" >&5
 
7304
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6190
7305
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6191
7306
  echo $ECHO_N "(cached) $ECHO_C" >&6
6192
7307
else
6206
7321
      if test -n "$file_magic_test_file"; then
6207
7322
        case $deplibs_check_method in
6208
7323
        "file_magic "*)
6209
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7324
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6210
7325
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6211
7326
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6212
7327
            $EGREP "$file_magic_regex" > /dev/null; then
6238
7353
 
6239
7354
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6240
7355
if test -n "$MAGIC_CMD"; then
6241
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6242
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7356
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7357
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6243
7358
else
6244
 
  echo "$as_me:$LINENO: result: no" >&5
6245
 
echo "${ECHO_T}no" >&6
 
7359
  { echo "$as_me:$LINENO: result: no" >&5
 
7360
echo "${ECHO_T}no" >&6; }
6246
7361
fi
6247
7362
 
6248
7363
  else
6257
7372
enable_dlopen=no
6258
7373
enable_win32_dll=no
6259
7374
 
6260
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7375
# Check whether --enable-libtool-lock was given.
6261
7376
if test "${enable_libtool_lock+set}" = set; then
6262
 
  enableval="$enable_libtool_lock"
 
7377
  enableval=$enable_libtool_lock;
 
7378
fi
6263
7379
 
6264
 
fi;
6265
7380
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6266
7381
 
6267
7382
 
6268
 
# Check whether --with-pic or --without-pic was given.
 
7383
# Check whether --with-pic was given.
6269
7384
if test "${with_pic+set}" = set; then
6270
 
  withval="$with_pic"
6271
 
  pic_mode="$withval"
 
7385
  withval=$with_pic; pic_mode="$withval"
6272
7386
else
6273
7387
  pic_mode=default
6274
 
fi;
 
7388
fi
 
7389
 
6275
7390
test -z "$pic_mode" && pic_mode=default
6276
7391
 
6277
7392
# Use C for the default configuration in the libtool script
6292
7407
objext=$objext
6293
7408
 
6294
7409
# Code to be used in simple compile tests
6295
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7410
lt_simple_compile_test_code="int some_variable = 0;"
6296
7411
 
6297
7412
# Code to be used in simple link tests
6298
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7413
lt_simple_link_test_code='int main(){return(0);}'
6299
7414
 
6300
7415
 
6301
7416
# If no C compiler was specified, use CC.
6302
7417
LTCC=${LTCC-"$CC"}
6303
7418
 
 
7419
# If no C compiler flags were specified, use CFLAGS.
 
7420
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7421
 
6304
7422
# Allow CC to be a program name with arguments.
6305
7423
compiler=$CC
6306
7424
 
6307
7425
 
6308
 
#
6309
 
# Check for any special shared library compilation flags.
6310
 
#
6311
 
lt_prog_cc_shlib=
6312
 
if test "$GCC" = no; then
6313
 
  case $host_os in
6314
 
  sco3.2v5*)
6315
 
    lt_prog_cc_shlib='-belf'
6316
 
    ;;
6317
 
  esac
6318
 
fi
6319
 
if test -n "$lt_prog_cc_shlib"; then
6320
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6321
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6322
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6323
 
  else
6324
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6325
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6326
 
    lt_cv_prog_cc_can_build_shared=no
6327
 
  fi
6328
 
fi
6329
 
 
6330
 
 
6331
 
#
6332
 
# Check to make sure the static flag actually works.
6333
 
#
6334
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6335
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6336
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6338
 
else
6339
 
  lt_prog_compiler_static_works=no
6340
 
   save_LDFLAGS="$LDFLAGS"
6341
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6342
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6343
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6344
 
     # The compiler can only warn and ignore the option if not recognized
6345
 
     # So say no if there are warnings
6346
 
     if test -s conftest.err; then
6347
 
       # Append any errors to the config.log.
6348
 
       cat conftest.err 1>&5
6349
 
     else
6350
 
       lt_prog_compiler_static_works=yes
6351
 
     fi
6352
 
   fi
6353
 
   $rm conftest*
6354
 
   LDFLAGS="$save_LDFLAGS"
6355
 
 
6356
 
fi
6357
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6358
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6359
 
 
6360
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6361
 
    :
6362
 
else
6363
 
    lt_prog_compiler_static=
6364
 
fi
6365
 
 
 
7426
# save warnings/boilerplate of simple test code
 
7427
ac_outfile=conftest.$ac_objext
 
7428
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7429
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7430
_lt_compiler_boilerplate=`cat conftest.err`
 
7431
$rm conftest*
 
7432
 
 
7433
ac_outfile=conftest.$ac_objext
 
7434
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7435
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7436
_lt_linker_boilerplate=`cat conftest.err`
 
7437
$rm conftest*
6366
7438
 
6367
7439
 
6368
7440
 
6372
7444
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6373
7445
 
6374
7446
 
6375
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6376
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7447
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7448
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6377
7449
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6378
7450
  echo $ECHO_N "(cached) $ECHO_C" >&6
6379
7451
else
6380
7452
  lt_cv_prog_compiler_rtti_exceptions=no
6381
7453
  ac_outfile=conftest.$ac_objext
6382
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7454
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6383
7455
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6384
7456
   # Insert the option either (1) after the last *FLAGS variable, or
6385
7457
   # (2) before a word containing "conftest.", or (3) at the end.
6387
7459
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6388
7460
   # The option is referenced via a variable to avoid confusing sed.
6389
7461
   lt_compile=`echo "$ac_compile" | $SED \
6390
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7462
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6391
7463
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6392
7464
   -e 's:$: $lt_compiler_flag:'`
6393
 
   (eval echo "\"\$as_me:6393: $lt_compile\"" >&5)
 
7465
   (eval echo "\"\$as_me:7465: $lt_compile\"" >&5)
6394
7466
   (eval "$lt_compile" 2>conftest.err)
6395
7467
   ac_status=$?
6396
7468
   cat conftest.err >&5
6397
 
   echo "$as_me:6397: \$? = $ac_status" >&5
 
7469
   echo "$as_me:7469: \$? = $ac_status" >&5
6398
7470
   if (exit $ac_status) && test -s "$ac_outfile"; then
6399
7471
     # The compiler can only warn and ignore the option if not recognized
6400
 
     # So say no if there are warnings
6401
 
     if test ! -s conftest.err; then
 
7472
     # So say no if there are warnings other than the usual output.
 
7473
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7474
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7475
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6402
7476
       lt_cv_prog_compiler_rtti_exceptions=yes
6403
7477
     fi
6404
7478
   fi
6405
7479
   $rm conftest*
6406
7480
 
6407
7481
fi
6408
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6409
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7482
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7483
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6410
7484
 
6411
7485
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6412
7486
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6420
7494
lt_prog_compiler_pic=
6421
7495
lt_prog_compiler_static=
6422
7496
 
6423
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6424
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7497
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7498
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6425
7499
 
6426
7500
  if test "$GCC" = yes; then
6427
7501
    lt_prog_compiler_wl='-Wl,'
6443
7517
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6444
7518
      ;;
6445
7519
 
6446
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7520
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6447
7521
      # PIC is the default for these OSes.
6448
7522
      ;;
6449
7523
 
6450
 
    mingw* | pw32* | os2*)
 
7524
    mingw* | cygwin* | pw32* | os2*)
6451
7525
      # This hack is so that the source file can tell whether it is being
6452
7526
      # built for inclusion in a dll (and should export symbols for example).
 
7527
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7528
      # (--disable-auto-import) libraries
6453
7529
      lt_prog_compiler_pic='-DDLL_EXPORT'
6454
7530
      ;;
6455
7531
 
6459
7535
      lt_prog_compiler_pic='-fno-common'
6460
7536
      ;;
6461
7537
 
 
7538
    interix[3-9]*)
 
7539
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7540
      # Instead, we relocate shared libraries at runtime.
 
7541
      ;;
 
7542
 
6462
7543
    msdosdjgpp*)
6463
7544
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6464
7545
      # on systems that don't support them.
6475
7556
    hpux*)
6476
7557
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6477
7558
      # not for PA HP-UX.
6478
 
      case "$host_cpu" in
 
7559
      case $host_cpu in
6479
7560
      hppa*64*|ia64*)
6480
7561
        # +Z the default
6481
7562
        ;;
6501
7582
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6502
7583
      fi
6503
7584
      ;;
 
7585
      darwin*)
 
7586
        # PIC is the default on this platform
 
7587
        # Common symbols not allowed in MH_DYLIB files
 
7588
       case $cc_basename in
 
7589
         xlc*)
 
7590
         lt_prog_compiler_pic='-qnocommon'
 
7591
         lt_prog_compiler_wl='-Wl,'
 
7592
         ;;
 
7593
       esac
 
7594
       ;;
6504
7595
 
6505
 
    mingw* | pw32* | os2*)
 
7596
    mingw* | cygwin* | pw32* | os2*)
6506
7597
      # This hack is so that the source file can tell whether it is being
6507
7598
      # built for inclusion in a dll (and should export symbols for example).
6508
7599
      lt_prog_compiler_pic='-DDLL_EXPORT'
6512
7603
      lt_prog_compiler_wl='-Wl,'
6513
7604
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6514
7605
      # not for PA HP-UX.
6515
 
      case "$host_cpu" in
 
7606
      case $host_cpu in
6516
7607
      hppa*64*|ia64*)
6517
7608
        # +Z the default
6518
7609
        ;;
6535
7626
      lt_prog_compiler_static='-Bstatic'
6536
7627
      ;;
6537
7628
 
6538
 
    linux*)
6539
 
      case $CC in
 
7629
    linux* | k*bsd*-gnu)
 
7630
      case $cc_basename in
6540
7631
      icc* | ecc*)
6541
7632
        lt_prog_compiler_wl='-Wl,'
6542
7633
        lt_prog_compiler_pic='-KPIC'
6543
7634
        lt_prog_compiler_static='-static'
6544
7635
        ;;
 
7636
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7637
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7638
        # which looks to be a dead project)
 
7639
        lt_prog_compiler_wl='-Wl,'
 
7640
        lt_prog_compiler_pic='-fpic'
 
7641
        lt_prog_compiler_static='-Bstatic'
 
7642
        ;;
6545
7643
      ccc*)
6546
7644
        lt_prog_compiler_wl='-Wl,'
6547
7645
        # All Alpha code is PIC.
6548
7646
        lt_prog_compiler_static='-non_shared'
6549
7647
        ;;
 
7648
      *)
 
7649
        case `$CC -V 2>&1 | sed 5q` in
 
7650
        *Sun\ C*)
 
7651
          # Sun C 5.9
 
7652
          lt_prog_compiler_pic='-KPIC'
 
7653
          lt_prog_compiler_static='-Bstatic'
 
7654
          lt_prog_compiler_wl='-Wl,'
 
7655
          ;;
 
7656
        *Sun\ F*)
 
7657
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7658
          lt_prog_compiler_pic='-KPIC'
 
7659
          lt_prog_compiler_static='-Bstatic'
 
7660
          lt_prog_compiler_wl=''
 
7661
          ;;
 
7662
        esac
 
7663
        ;;
6550
7664
      esac
6551
7665
      ;;
6552
7666
 
6556
7670
      lt_prog_compiler_static='-non_shared'
6557
7671
      ;;
6558
7672
 
6559
 
    sco3.2v5*)
6560
 
      lt_prog_compiler_pic='-Kpic'
6561
 
      lt_prog_compiler_static='-dn'
 
7673
    rdos*)
 
7674
      lt_prog_compiler_static='-non_shared'
6562
7675
      ;;
6563
7676
 
6564
7677
    solaris*)
6565
 
      lt_prog_compiler_wl='-Wl,'
6566
7678
      lt_prog_compiler_pic='-KPIC'
6567
7679
      lt_prog_compiler_static='-Bstatic'
 
7680
      case $cc_basename in
 
7681
      f77* | f90* | f95*)
 
7682
        lt_prog_compiler_wl='-Qoption ld ';;
 
7683
      *)
 
7684
        lt_prog_compiler_wl='-Wl,';;
 
7685
      esac
6568
7686
      ;;
6569
7687
 
6570
7688
    sunos4*)
6573
7691
      lt_prog_compiler_static='-Bstatic'
6574
7692
      ;;
6575
7693
 
6576
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7694
    sysv4 | sysv4.2uw2* | sysv4.3*)
6577
7695
      lt_prog_compiler_wl='-Wl,'
6578
7696
      lt_prog_compiler_pic='-KPIC'
6579
7697
      lt_prog_compiler_static='-Bstatic'
6586
7704
      fi
6587
7705
      ;;
6588
7706
 
 
7707
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7708
      lt_prog_compiler_wl='-Wl,'
 
7709
      lt_prog_compiler_pic='-KPIC'
 
7710
      lt_prog_compiler_static='-Bstatic'
 
7711
      ;;
 
7712
 
 
7713
    unicos*)
 
7714
      lt_prog_compiler_wl='-Wl,'
 
7715
      lt_prog_compiler_can_build_shared=no
 
7716
      ;;
 
7717
 
6589
7718
    uts4*)
6590
7719
      lt_prog_compiler_pic='-pic'
6591
7720
      lt_prog_compiler_static='-Bstatic'
6597
7726
    esac
6598
7727
  fi
6599
7728
 
6600
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6601
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7729
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7730
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6602
7731
 
6603
7732
#
6604
7733
# Check to make sure the PIC flag actually works.
6605
7734
#
6606
7735
if test -n "$lt_prog_compiler_pic"; then
6607
7736
 
6608
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6609
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7737
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7738
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6610
7739
if test "${lt_prog_compiler_pic_works+set}" = set; then
6611
7740
  echo $ECHO_N "(cached) $ECHO_C" >&6
6612
7741
else
6613
7742
  lt_prog_compiler_pic_works=no
6614
7743
  ac_outfile=conftest.$ac_objext
6615
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7744
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6616
7745
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6617
7746
   # Insert the option either (1) after the last *FLAGS variable, or
6618
7747
   # (2) before a word containing "conftest.", or (3) at the end.
6620
7749
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6621
7750
   # The option is referenced via a variable to avoid confusing sed.
6622
7751
   lt_compile=`echo "$ac_compile" | $SED \
6623
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7752
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6624
7753
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6625
7754
   -e 's:$: $lt_compiler_flag:'`
6626
 
   (eval echo "\"\$as_me:6626: $lt_compile\"" >&5)
 
7755
   (eval echo "\"\$as_me:7755: $lt_compile\"" >&5)
6627
7756
   (eval "$lt_compile" 2>conftest.err)
6628
7757
   ac_status=$?
6629
7758
   cat conftest.err >&5
6630
 
   echo "$as_me:6630: \$? = $ac_status" >&5
 
7759
   echo "$as_me:7759: \$? = $ac_status" >&5
6631
7760
   if (exit $ac_status) && test -s "$ac_outfile"; then
6632
7761
     # The compiler can only warn and ignore the option if not recognized
6633
 
     # So say no if there are warnings
6634
 
     if test ! -s conftest.err; then
 
7762
     # So say no if there are warnings other than the usual output.
 
7763
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7764
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7765
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6635
7766
       lt_prog_compiler_pic_works=yes
6636
7767
     fi
6637
7768
   fi
6638
7769
   $rm conftest*
6639
7770
 
6640
7771
fi
6641
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6642
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7772
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7773
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6643
7774
 
6644
7775
if test x"$lt_prog_compiler_pic_works" = xyes; then
6645
7776
    case $lt_prog_compiler_pic in
6652
7783
fi
6653
7784
 
6654
7785
fi
6655
 
case "$host_os" in
 
7786
case $host_os in
6656
7787
  # For platforms which do not support PIC, -DPIC is meaningless:
6657
7788
  *djgpp*)
6658
7789
    lt_prog_compiler_pic=
6662
7793
    ;;
6663
7794
esac
6664
7795
 
6665
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6666
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7796
#
 
7797
# Check to make sure the static flag actually works.
 
7798
#
 
7799
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7800
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7801
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
7802
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7803
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7804
else
 
7805
  lt_prog_compiler_static_works=no
 
7806
   save_LDFLAGS="$LDFLAGS"
 
7807
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7808
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
7809
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7810
     # The linker can only warn and ignore the option if not recognized
 
7811
     # So say no if there are warnings
 
7812
     if test -s conftest.err; then
 
7813
       # Append any errors to the config.log.
 
7814
       cat conftest.err 1>&5
 
7815
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7816
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7817
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7818
         lt_prog_compiler_static_works=yes
 
7819
       fi
 
7820
     else
 
7821
       lt_prog_compiler_static_works=yes
 
7822
     fi
 
7823
   fi
 
7824
   $rm conftest*
 
7825
   LDFLAGS="$save_LDFLAGS"
 
7826
 
 
7827
fi
 
7828
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7829
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7830
 
 
7831
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7832
    :
 
7833
else
 
7834
    lt_prog_compiler_static=
 
7835
fi
 
7836
 
 
7837
 
 
7838
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7839
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6667
7840
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6668
7841
  echo $ECHO_N "(cached) $ECHO_C" >&6
6669
7842
else
6672
7845
   mkdir conftest
6673
7846
   cd conftest
6674
7847
   mkdir out
6675
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7848
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6676
7849
 
6677
7850
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6678
7851
   # Insert the option either (1) after the last *FLAGS variable, or
6680
7853
   # Note that $ac_compile itself does not contain backslashes and begins
6681
7854
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6682
7855
   lt_compile=`echo "$ac_compile" | $SED \
6683
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7856
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6684
7857
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6685
7858
   -e 's:$: $lt_compiler_flag:'`
6686
 
   (eval echo "\"\$as_me:6686: $lt_compile\"" >&5)
 
7859
   (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
6687
7860
   (eval "$lt_compile" 2>out/conftest.err)
6688
7861
   ac_status=$?
6689
7862
   cat out/conftest.err >&5
6690
 
   echo "$as_me:6690: \$? = $ac_status" >&5
 
7863
   echo "$as_me:7863: \$? = $ac_status" >&5
6691
7864
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6692
7865
   then
6693
7866
     # The compiler can only warn and ignore the option if not recognized
6694
7867
     # So say no if there are warnings
6695
 
     if test ! -s out/conftest.err; then
 
7868
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7869
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7870
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6696
7871
       lt_cv_prog_compiler_c_o=yes
6697
7872
     fi
6698
7873
   fi
6699
 
   chmod u+w .
 
7874
   chmod u+w . 2>&5
6700
7875
   $rm conftest*
6701
7876
   # SGI C++ compiler will create directory out/ii_files/ for
6702
7877
   # template instantiation
6707
7882
   $rm conftest*
6708
7883
 
6709
7884
fi
6710
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6711
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7885
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7886
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6712
7887
 
6713
7888
 
6714
7889
hard_links="nottested"
6715
7890
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6716
7891
  # do not overwrite the value of need_locks provided by the user
6717
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6718
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7892
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7893
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6719
7894
  hard_links=yes
6720
7895
  $rm conftest*
6721
7896
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6722
7897
  touch conftest.a
6723
7898
  ln conftest.a conftest.b 2>&5 || hard_links=no
6724
7899
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6725
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6726
 
echo "${ECHO_T}$hard_links" >&6
 
7900
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7901
echo "${ECHO_T}$hard_links" >&6; }
6727
7902
  if test "$hard_links" = no; then
6728
7903
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6729
7904
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6733
7908
  need_locks=no
6734
7909
fi
6735
7910
 
6736
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6737
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7911
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7912
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6738
7913
 
6739
7914
  runpath_var=
6740
7915
  allow_undefined_flag=
6772
7947
  # rely on this symbol name, it's probably fine to never include it in
6773
7948
  # preloaded symbol tables.
6774
7949
  extract_expsyms_cmds=
 
7950
  # Just being paranoid about ensuring that cc_basename is set.
 
7951
  for cc_temp in $compiler""; do
 
7952
  case $cc_temp in
 
7953
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7954
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7955
    \-*) ;;
 
7956
    *) break;;
 
7957
  esac
 
7958
done
 
7959
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6775
7960
 
6776
7961
  case $host_os in
6777
7962
  cygwin* | mingw* | pw32*)
6782
7967
      with_gnu_ld=no
6783
7968
    fi
6784
7969
    ;;
 
7970
  interix*)
 
7971
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7972
    with_gnu_ld=yes
 
7973
    ;;
6785
7974
  openbsd*)
6786
7975
    with_gnu_ld=no
6787
7976
    ;;
6792
7981
    # If archive_cmds runs LD, not CC, wlarc should be empty
6793
7982
    wlarc='${wl}'
6794
7983
 
 
7984
    # Set some defaults for GNU ld with shared library support. These
 
7985
    # are reset later if shared libraries are not supported. Putting them
 
7986
    # here allows them to be overridden if necessary.
 
7987
    runpath_var=LD_RUN_PATH
 
7988
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
7989
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
7990
    # ancient GNU ld didn't support --whole-archive et. al.
 
7991
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
7992
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
7993
      else
 
7994
        whole_archive_flag_spec=
 
7995
    fi
 
7996
    supports_anon_versioning=no
 
7997
    case `$LD -v 2>/dev/null` in
 
7998
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
7999
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8000
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8001
      *\ 2.11.*) ;; # other 2.11 versions
 
8002
      *) supports_anon_versioning=yes ;;
 
8003
    esac
 
8004
 
6795
8005
    # See if GNU ld supports shared libraries.
6796
8006
    case $host_os in
6797
8007
    aix3* | aix4* | aix5*)
6842
8052
      allow_undefined_flag=unsupported
6843
8053
      always_export_symbols=no
6844
8054
      enable_shared_with_static_runtimes=yes
6845
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8055
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6846
8056
 
6847
8057
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6848
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8058
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6849
8059
        # If the export-symbols file already is a .def file (1st line
6850
8060
        # is EXPORTS), use it as is; otherwise, prepend...
6851
8061
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6854
8064
          echo EXPORTS > $output_objdir/$soname.def;
6855
8065
          cat $export_symbols >> $output_objdir/$soname.def;
6856
8066
        fi~
6857
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
8067
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8068
      else
 
8069
        ld_shlibs=no
 
8070
      fi
 
8071
      ;;
 
8072
 
 
8073
    interix[3-9]*)
 
8074
      hardcode_direct=no
 
8075
      hardcode_shlibpath_var=no
 
8076
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8077
      export_dynamic_flag_spec='${wl}-E'
 
8078
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8079
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8080
      # default) and relocated if they conflict, which is a slow very memory
 
8081
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8082
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8083
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8084
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8085
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8086
      ;;
 
8087
 
 
8088
    gnu* | linux* | k*bsd*-gnu)
 
8089
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8090
        tmp_addflag=
 
8091
        case $cc_basename,$host_cpu in
 
8092
        pgcc*)                          # Portland Group C compiler
 
8093
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8094
          tmp_addflag=' $pic_flag'
 
8095
          ;;
 
8096
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8097
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8098
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8099
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8100
          tmp_addflag=' -i_dynamic' ;;
 
8101
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8102
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8103
        ifc* | ifort*)                  # Intel Fortran compiler
 
8104
          tmp_addflag=' -nofor_main' ;;
 
8105
        esac
 
8106
        case `$CC -V 2>&1 | sed 5q` in
 
8107
        *Sun\ C*)                       # Sun C 5.9
 
8108
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8109
          tmp_sharedflag='-G' ;;
 
8110
        *Sun\ F*)                       # Sun Fortran 8.3
 
8111
          tmp_sharedflag='-G' ;;
 
8112
        *)
 
8113
          tmp_sharedflag='-shared' ;;
 
8114
        esac
 
8115
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8116
 
 
8117
        if test $supports_anon_versioning = yes; then
 
8118
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8119
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8120
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8121
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8122
        fi
6858
8123
      else
6859
8124
        ld_shlibs=no
6860
8125
      fi
6870
8135
      fi
6871
8136
      ;;
6872
8137
 
6873
 
    solaris* | sysv5*)
 
8138
    solaris*)
6874
8139
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6875
8140
        ld_shlibs=no
6876
8141
        cat <<EOF 1>&2
6891
8156
      fi
6892
8157
      ;;
6893
8158
 
 
8159
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8160
      case `$LD -v 2>&1` in
 
8161
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8162
        ld_shlibs=no
 
8163
        cat <<_LT_EOF 1>&2
 
8164
 
 
8165
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8166
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8167
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8168
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8169
*** your PATH or compiler configuration so that the native linker is
 
8170
*** used, and then restart.
 
8171
 
 
8172
_LT_EOF
 
8173
        ;;
 
8174
        *)
 
8175
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8176
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8177
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8178
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8179
          else
 
8180
            ld_shlibs=no
 
8181
          fi
 
8182
        ;;
 
8183
      esac
 
8184
      ;;
 
8185
 
6894
8186
    sunos4*)
6895
8187
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6896
8188
      wlarc=
6898
8190
      hardcode_shlibpath_var=no
6899
8191
      ;;
6900
8192
 
6901
 
  linux*)
6902
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6903
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6904
 
        archive_cmds="$tmp_archive_cmds"
6905
 
      supports_anon_versioning=no
6906
 
      case `$LD -v 2>/dev/null` in
6907
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6908
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6909
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6910
 
        *\ 2.11.*) ;; # other 2.11 versions
6911
 
        *) supports_anon_versioning=yes ;;
6912
 
      esac
6913
 
      if test $supports_anon_versioning = yes; then
6914
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6915
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6916
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
6917
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6918
 
      else
6919
 
        archive_expsym_cmds="$tmp_archive_cmds"
6920
 
      fi
6921
 
    else
6922
 
      ld_shlibs=no
6923
 
    fi
6924
 
    ;;
6925
 
 
6926
8193
    *)
6927
8194
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6928
8195
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6933
8200
      ;;
6934
8201
    esac
6935
8202
 
6936
 
    if test "$ld_shlibs" = yes; then
6937
 
      runpath_var=LD_RUN_PATH
6938
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6939
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
6940
 
      # ancient GNU ld didn't support --whole-archive et. al.
6941
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6942
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6943
 
      else
6944
 
        whole_archive_flag_spec=
6945
 
      fi
 
8203
    if test "$ld_shlibs" = no; then
 
8204
      runpath_var=
 
8205
      hardcode_libdir_flag_spec=
 
8206
      export_dynamic_flag_spec=
 
8207
      whole_archive_flag_spec=
6946
8208
    fi
6947
8209
  else
6948
8210
    # PORTME fill in a description of your system's linker (not GNU ld)
6954
8216
      # Note: this linker hardcodes the directories in LIBPATH if there
6955
8217
      # are no directories specified by -L.
6956
8218
      hardcode_minus_L=yes
6957
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8219
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6958
8220
        # Neither direct hardcoding nor static linking is supported with a
6959
8221
        # broken collect2.
6960
8222
        hardcode_direct=unsupported
6988
8250
            break
6989
8251
          fi
6990
8252
          done
 
8253
          ;;
6991
8254
        esac
6992
8255
 
6993
8256
        exp_sym_flag='-bexport'
7006
8269
      link_all_deplibs=yes
7007
8270
 
7008
8271
      if test "$GCC" = yes; then
7009
 
        case $host_os in aix4.012|aix4.012.*)
 
8272
        case $host_os in aix4.[012]|aix4.[012].*)
7010
8273
        # We only want to do this on AIX 4.2 and lower, the check
7011
8274
        # below for broken collect2 doesn't work under 4.3+
7012
8275
          collect2name=`${CC} -print-prog-name=collect2`
7014
8277
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7015
8278
          then
7016
8279
          # We have reworked collect2
7017
 
          hardcode_direct=yes
 
8280
          :
7018
8281
          else
7019
8282
          # We have old collect2
7020
8283
          hardcode_direct=unsupported
7025
8288
          hardcode_libdir_flag_spec='-L$libdir'
7026
8289
          hardcode_libdir_separator=
7027
8290
          fi
 
8291
          ;;
7028
8292
        esac
7029
8293
        shared_flag='-shared'
 
8294
        if test "$aix_use_runtimelinking" = yes; then
 
8295
          shared_flag="$shared_flag "'${wl}-G'
 
8296
        fi
7030
8297
      else
7031
8298
        # not using gcc
7032
8299
        if test "$host_cpu" = ia64; then
7034
8301
        # chokes on -Wl,-G. The following line is correct:
7035
8302
          shared_flag='-G'
7036
8303
        else
7037
 
        if test "$aix_use_runtimelinking" = yes; then
 
8304
          if test "$aix_use_runtimelinking" = yes; then
7038
8305
            shared_flag='${wl}-G'
7039
8306
          else
7040
8307
            shared_flag='${wl}-bM:SRE'
7041
 
        fi
 
8308
          fi
7042
8309
        fi
7043
8310
      fi
7044
8311
 
7066
8333
}
7067
8334
_ACEOF
7068
8335
rm -f conftest.$ac_objext conftest$ac_exeext
7069
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7070
 
  (eval $ac_link) 2>conftest.er1
 
8336
if { (ac_try="$ac_link"
 
8337
case "(($ac_try" in
 
8338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8339
  *) ac_try_echo=$ac_try;;
 
8340
esac
 
8341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8342
  (eval "$ac_link") 2>conftest.er1
7071
8343
  ac_status=$?
7072
8344
  grep -v '^ *+' conftest.er1 >conftest.err
7073
8345
  rm -f conftest.er1
7074
8346
  cat conftest.err >&5
7075
8347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076
 
  (exit $ac_status); } &&
7077
 
         { ac_try='test -z "$ac_c_werror_flag"
7078
 
                         || test ! -s conftest.err'
7079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080
 
  (eval $ac_try) 2>&5
7081
 
  ac_status=$?
7082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083
 
  (exit $ac_status); }; } &&
7084
 
         { ac_try='test -s conftest$ac_exeext'
7085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086
 
  (eval $ac_try) 2>&5
7087
 
  ac_status=$?
7088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089
 
  (exit $ac_status); }; }; then
 
8348
  (exit $ac_status); } && {
 
8349
         test -z "$ac_c_werror_flag" ||
 
8350
         test ! -s conftest.err
 
8351
       } && test -s conftest$ac_exeext &&
 
8352
       $as_test_x conftest$ac_exeext; then
7090
8353
 
7091
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7092
 
}'`
 
8354
lt_aix_libpath_sed='
 
8355
    /Import File Strings/,/^$/ {
 
8356
        /^0/ {
 
8357
            s/^0  *\(.*\)$/\1/
 
8358
            p
 
8359
        }
 
8360
    }'
 
8361
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7093
8362
# Check for a 64-bit object if we didn't find anything.
7094
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7095
 
}'`; fi
 
8363
if test -z "$aix_libpath"; then
 
8364
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8365
fi
7096
8366
else
7097
8367
  echo "$as_me: failed program was:" >&5
7098
8368
sed 's/^/| /' conftest.$ac_ext >&5
7099
8369
 
 
8370
 
7100
8371
fi
7101
 
rm -f conftest.err conftest.$ac_objext \
 
8372
 
 
8373
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7102
8374
      conftest$ac_exeext conftest.$ac_ext
7103
8375
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7104
8376
 
7105
8377
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7106
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8378
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7107
8379
       else
7108
8380
        if test "$host_cpu" = ia64; then
7109
8381
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7110
8382
          allow_undefined_flag="-z nodefs"
7111
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8383
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7112
8384
        else
7113
8385
         # Determine the default libpath from the value encoded in an empty executable.
7114
8386
         cat >conftest.$ac_ext <<_ACEOF
7127
8399
}
7128
8400
_ACEOF
7129
8401
rm -f conftest.$ac_objext conftest$ac_exeext
7130
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7131
 
  (eval $ac_link) 2>conftest.er1
 
8402
if { (ac_try="$ac_link"
 
8403
case "(($ac_try" in
 
8404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8405
  *) ac_try_echo=$ac_try;;
 
8406
esac
 
8407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8408
  (eval "$ac_link") 2>conftest.er1
7132
8409
  ac_status=$?
7133
8410
  grep -v '^ *+' conftest.er1 >conftest.err
7134
8411
  rm -f conftest.er1
7135
8412
  cat conftest.err >&5
7136
8413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137
 
  (exit $ac_status); } &&
7138
 
         { ac_try='test -z "$ac_c_werror_flag"
7139
 
                         || test ! -s conftest.err'
7140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141
 
  (eval $ac_try) 2>&5
7142
 
  ac_status=$?
7143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144
 
  (exit $ac_status); }; } &&
7145
 
         { ac_try='test -s conftest$ac_exeext'
7146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147
 
  (eval $ac_try) 2>&5
7148
 
  ac_status=$?
7149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150
 
  (exit $ac_status); }; }; then
 
8414
  (exit $ac_status); } && {
 
8415
         test -z "$ac_c_werror_flag" ||
 
8416
         test ! -s conftest.err
 
8417
       } && test -s conftest$ac_exeext &&
 
8418
       $as_test_x conftest$ac_exeext; then
7151
8419
 
7152
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7153
 
}'`
 
8420
lt_aix_libpath_sed='
 
8421
    /Import File Strings/,/^$/ {
 
8422
        /^0/ {
 
8423
            s/^0  *\(.*\)$/\1/
 
8424
            p
 
8425
        }
 
8426
    }'
 
8427
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7154
8428
# Check for a 64-bit object if we didn't find anything.
7155
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7156
 
}'`; fi
 
8429
if test -z "$aix_libpath"; then
 
8430
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8431
fi
7157
8432
else
7158
8433
  echo "$as_me: failed program was:" >&5
7159
8434
sed 's/^/| /' conftest.$ac_ext >&5
7160
8435
 
 
8436
 
7161
8437
fi
7162
 
rm -f conftest.err conftest.$ac_objext \
 
8438
 
 
8439
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7163
8440
      conftest$ac_exeext conftest.$ac_ext
7164
8441
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7165
8442
 
7168
8445
          # -berok will link without error, but may produce a broken library.
7169
8446
          no_undefined_flag=' ${wl}-bernotok'
7170
8447
          allow_undefined_flag=' ${wl}-berok'
7171
 
          # -bexpall does not export symbols beginning with underscore (_)
7172
 
          always_export_symbols=yes
7173
8448
          # Exported symbols can be pulled into shared objects from archives
7174
 
          whole_archive_flag_spec=' '
 
8449
          whole_archive_flag_spec='$convenience'
7175
8450
          archive_cmds_need_lc=yes
7176
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7177
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8451
          # This is similar to how AIX traditionally builds its shared libraries.
 
8452
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7178
8453
        fi
7179
8454
      fi
7180
8455
      ;;
7187
8462
      ld_shlibs=no
7188
8463
      ;;
7189
8464
 
7190
 
    bsdi4*)
 
8465
    bsdi[45]*)
7191
8466
      export_dynamic_flag_spec=-rdynamic
7192
8467
      ;;
7193
8468
 
7207
8482
      # The linker will automatically build a .lib file if we build a DLL.
7208
8483
      old_archive_From_new_cmds='true'
7209
8484
      # FIXME: Should let the user specify the lib program.
7210
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8485
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7211
8486
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7212
8487
      enable_shared_with_static_runtimes=yes
7213
8488
      ;;
7214
8489
 
7215
8490
    darwin* | rhapsody*)
7216
 
    if test "$GXX" = yes ; then
 
8491
      case $host_os in
 
8492
        rhapsody* | darwin1.[012])
 
8493
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
8494
         ;;
 
8495
       *) # Darwin 1.3 on
 
8496
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8497
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8498
         else
 
8499
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
8500
             10.[012])
 
8501
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8502
               ;;
 
8503
             10.*)
 
8504
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
8505
               ;;
 
8506
           esac
 
8507
         fi
 
8508
         ;;
 
8509
      esac
7217
8510
      archive_cmds_need_lc=no
7218
 
      case "$host_os" in
7219
 
      rhapsody* | darwin1.[012])
7220
 
        allow_undefined_flag='-undefined suppress'
7221
 
        ;;
7222
 
      *) # Darwin 1.3 on
7223
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7224
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
7225
 
      else
7226
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
7227
 
          10.[012])
7228
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
7229
 
            ;;
7230
 
          10.*)
7231
 
            allow_undefined_flag='-undefined dynamic_lookup'
7232
 
            ;;
7233
 
        esac
7234
 
      fi
7235
 
        ;;
7236
 
      esac
7237
 
        lt_int_apple_cc_single_mod=no
7238
 
        output_verbose_link_cmd='echo'
7239
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7240
 
          lt_int_apple_cc_single_mod=yes
7241
 
        fi
7242
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7243
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7244
 
        else
7245
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7246
 
      fi
7247
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7248
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7249
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7250
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7251
 
        else
7252
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7253
 
        fi
7254
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7255
8511
      hardcode_direct=no
7256
8512
      hardcode_automatic=yes
7257
8513
      hardcode_shlibpath_var=unsupported
7258
 
      whole_archive_flag_spec='-all_load $convenience'
 
8514
      whole_archive_flag_spec=''
7259
8515
      link_all_deplibs=yes
 
8516
    if test "$GCC" = yes ; then
 
8517
        output_verbose_link_cmd='echo'
 
8518
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
8519
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8520
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8521
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8522
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7260
8523
    else
7261
 
      ld_shlibs=no
 
8524
      case $cc_basename in
 
8525
        xlc*)
 
8526
         output_verbose_link_cmd='echo'
 
8527
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
8528
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8529
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8530
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8531
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8532
          ;;
 
8533
       *)
 
8534
         ld_shlibs=no
 
8535
          ;;
 
8536
      esac
7262
8537
    fi
7263
8538
      ;;
7264
8539
 
7292
8567
      ;;
7293
8568
 
7294
8569
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7295
 
    freebsd* | kfreebsd*-gnu)
 
8570
    freebsd* | dragonfly*)
7296
8571
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7297
8572
      hardcode_libdir_flag_spec='-R$libdir'
7298
8573
      hardcode_direct=yes
7315
8590
      export_dynamic_flag_spec='${wl}-E'
7316
8591
      ;;
7317
8592
 
7318
 
    hpux10* | hpux11*)
7319
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7320
 
        case "$host_cpu" in
7321
 
        hppa*64*|ia64*)
 
8593
    hpux10*)
 
8594
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8595
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8596
      else
 
8597
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8598
      fi
 
8599
      if test "$with_gnu_ld" = no; then
 
8600
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8601
        hardcode_libdir_separator=:
 
8602
 
 
8603
        hardcode_direct=yes
 
8604
        export_dynamic_flag_spec='${wl}-E'
 
8605
 
 
8606
        # hardcode_minus_L: Not really in the search PATH,
 
8607
        # but as the default location of the library.
 
8608
        hardcode_minus_L=yes
 
8609
      fi
 
8610
      ;;
 
8611
 
 
8612
    hpux11*)
 
8613
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8614
        case $host_cpu in
 
8615
        hppa*64*)
7322
8616
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7323
8617
          ;;
 
8618
        ia64*)
 
8619
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8620
          ;;
7324
8621
        *)
7325
8622
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7326
8623
          ;;
7327
8624
        esac
7328
8625
      else
7329
 
        case "$host_cpu" in
7330
 
        hppa*64*|ia64*)
7331
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8626
        case $host_cpu in
 
8627
        hppa*64*)
 
8628
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8629
          ;;
 
8630
        ia64*)
 
8631
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7332
8632
          ;;
7333
8633
        *)
7334
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8634
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7335
8635
          ;;
7336
8636
        esac
7337
8637
      fi
7338
8638
      if test "$with_gnu_ld" = no; then
7339
 
        case "$host_cpu" in
7340
 
        hppa*64*)
7341
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8639
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8640
        hardcode_libdir_separator=:
 
8641
 
 
8642
        case $host_cpu in
 
8643
        hppa*64*|ia64*)
7342
8644
          hardcode_libdir_flag_spec_ld='+b $libdir'
7343
 
          hardcode_libdir_separator=:
7344
 
          hardcode_direct=no
7345
 
          hardcode_shlibpath_var=no
7346
 
          ;;
7347
 
        ia64*)
7348
 
          hardcode_libdir_flag_spec='-L$libdir'
7349
 
          hardcode_direct=no
7350
 
          hardcode_shlibpath_var=no
7351
 
 
7352
 
          # hardcode_minus_L: Not really in the search PATH,
7353
 
          # but as the default location of the library.
7354
 
          hardcode_minus_L=yes
 
8645
          hardcode_direct=no
 
8646
          hardcode_shlibpath_var=no
7355
8647
          ;;
7356
8648
        *)
7357
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7358
 
          hardcode_libdir_separator=:
7359
8649
          hardcode_direct=yes
7360
8650
          export_dynamic_flag_spec='${wl}-E'
7361
8651
 
7399
8689
      ;;
7400
8690
 
7401
8691
    openbsd*)
7402
 
      hardcode_direct=yes
7403
 
      hardcode_shlibpath_var=no
7404
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7405
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7406
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7407
 
        export_dynamic_flag_spec='${wl}-E'
 
8692
      if test -f /usr/libexec/ld.so; then
 
8693
        hardcode_direct=yes
 
8694
        hardcode_shlibpath_var=no
 
8695
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8696
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8697
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8698
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8699
          export_dynamic_flag_spec='${wl}-E'
 
8700
        else
 
8701
          case $host_os in
 
8702
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8703
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8704
             hardcode_libdir_flag_spec='-R$libdir'
 
8705
             ;;
 
8706
           *)
 
8707
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8708
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8709
             ;;
 
8710
          esac
 
8711
        fi
7408
8712
      else
7409
 
       case $host_os in
7410
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7411
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7412
 
           hardcode_libdir_flag_spec='-R$libdir'
7413
 
           ;;
7414
 
         *)
7415
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7416
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7417
 
           ;;
7418
 
       esac
 
8713
        ld_shlibs=no
7419
8714
      fi
7420
8715
      ;;
7421
8716
 
7448
8743
        allow_undefined_flag=' -expect_unresolved \*'
7449
8744
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7450
8745
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7451
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
8746
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7452
8747
 
7453
8748
        # Both c and cxx compiler support -rpath directly
7454
8749
        hardcode_libdir_flag_spec='-rpath $libdir'
7456
8751
      hardcode_libdir_separator=:
7457
8752
      ;;
7458
8753
 
7459
 
    sco3.2v5*)
7460
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7461
 
      hardcode_shlibpath_var=no
7462
 
      export_dynamic_flag_spec='${wl}-Bexport'
7463
 
      runpath_var=LD_RUN_PATH
7464
 
      hardcode_runpath_var=yes
7465
 
      ;;
7466
 
 
7467
8754
    solaris*)
7468
8755
      no_undefined_flag=' -z text'
7469
8756
      if test "$GCC" = yes; then
 
8757
        wlarc='${wl}'
7470
8758
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7471
8759
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7472
8760
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7473
8761
      else
 
8762
        wlarc=''
7474
8763
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7475
8764
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7476
8765
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7479
8768
      hardcode_shlibpath_var=no
7480
8769
      case $host_os in
7481
8770
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7482
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7483
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
8771
      *)
 
8772
        # The compiler driver will combine and reorder linker options,
 
8773
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8774
        # but is careful enough not to reorder.
 
8775
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8776
        if test "$GCC" = yes; then
 
8777
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8778
        else
 
8779
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8780
        fi
 
8781
        ;;
7484
8782
      esac
7485
8783
      link_all_deplibs=yes
7486
8784
      ;;
7537
8835
      fi
7538
8836
      ;;
7539
8837
 
7540
 
    sysv4.2uw2*)
7541
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7542
 
      hardcode_direct=yes
7543
 
      hardcode_minus_L=no
7544
 
      hardcode_shlibpath_var=no
7545
 
      hardcode_runpath_var=yes
7546
 
      runpath_var=LD_RUN_PATH
7547
 
      ;;
7548
 
 
7549
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7550
 
      no_undefined_flag='${wl}-z ${wl}text'
7551
 
      if test "$GCC" = yes; then
7552
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7553
 
      else
7554
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7555
 
      fi
7556
 
      runpath_var='LD_RUN_PATH'
7557
 
      hardcode_shlibpath_var=no
7558
 
      ;;
7559
 
 
7560
 
    sysv5*)
7561
 
      no_undefined_flag=' -z text'
7562
 
      # $CC -shared without GNU ld will not create a library from C++
7563
 
      # object files and a static libstdc++, better avoid it by now
7564
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7565
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7566
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7567
 
      hardcode_libdir_flag_spec=
7568
 
      hardcode_shlibpath_var=no
7569
 
      runpath_var='LD_RUN_PATH'
 
8838
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
8839
      no_undefined_flag='${wl}-z,text'
 
8840
      archive_cmds_need_lc=no
 
8841
      hardcode_shlibpath_var=no
 
8842
      runpath_var='LD_RUN_PATH'
 
8843
 
 
8844
      if test "$GCC" = yes; then
 
8845
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8846
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8847
      else
 
8848
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8849
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8850
      fi
 
8851
      ;;
 
8852
 
 
8853
    sysv5* | sco3.2v5* | sco5v6*)
 
8854
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8855
      # link with -lc, and that would cause any symbols used from libc to
 
8856
      # always be unresolved, which means just about no library would
 
8857
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8858
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8859
      # as -z defs.
 
8860
      no_undefined_flag='${wl}-z,text'
 
8861
      allow_undefined_flag='${wl}-z,nodefs'
 
8862
      archive_cmds_need_lc=no
 
8863
      hardcode_shlibpath_var=no
 
8864
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8865
      hardcode_libdir_separator=':'
 
8866
      link_all_deplibs=yes
 
8867
      export_dynamic_flag_spec='${wl}-Bexport'
 
8868
      runpath_var='LD_RUN_PATH'
 
8869
 
 
8870
      if test "$GCC" = yes; then
 
8871
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8872
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8873
      else
 
8874
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8875
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8876
      fi
7570
8877
      ;;
7571
8878
 
7572
8879
    uts4*)
7581
8888
    esac
7582
8889
  fi
7583
8890
 
7584
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7585
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8891
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8892
echo "${ECHO_T}$ld_shlibs" >&6; }
7586
8893
test "$ld_shlibs" = no && can_build_shared=no
7587
8894
 
7588
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7589
 
if test "$GCC" = yes; then
7590
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7591
 
fi
7592
 
 
7593
8895
#
7594
8896
# Do we need to explicitly link libc?
7595
8897
#
7607
8909
      # Test whether the compiler implicitly links with -lc since on some
7608
8910
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7609
8911
      # to ld, don't add -lc before -lgcc.
7610
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7611
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8912
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8913
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7612
8914
      $rm conftest*
7613
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8915
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7614
8916
 
7615
8917
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7616
8918
  (eval $ac_compile) 2>&5
7622
8924
        libobjs=conftest.$ac_objext
7623
8925
        deplibs=
7624
8926
        wl=$lt_prog_compiler_wl
 
8927
        pic_flag=$lt_prog_compiler_pic
7625
8928
        compiler_flags=-v
7626
8929
        linker_flags=-v
7627
8930
        verstring=
7644
8947
        cat conftest.err 1>&5
7645
8948
      fi
7646
8949
      $rm conftest*
7647
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7648
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8950
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8951
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7649
8952
      ;;
7650
8953
    esac
7651
8954
  fi
7652
8955
  ;;
7653
8956
esac
7654
8957
 
7655
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7656
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8958
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8959
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7657
8960
library_names_spec=
7658
8961
libname_spec='lib$name'
7659
8962
soname_spec=
7667
8970
version_type=none
7668
8971
dynamic_linker="$host_os ld.so"
7669
8972
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8973
 
7670
8974
if test "$GCC" = yes; then
7671
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7672
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8975
  case $host_os in
 
8976
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8977
    *) lt_awk_arg="/^libraries:/" ;;
 
8978
  esac
 
8979
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8980
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7673
8981
    # if the path contains ";" then we assume it to be the separator
7674
8982
    # otherwise default to the standard path separator (i.e. ":") - it is
7675
8983
    # assumed that no part of a normal pathname contains ";" but that should
7676
8984
    # okay in the real world where ";" in dirpaths is itself problematic.
7677
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8985
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7678
8986
  else
7679
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8987
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7680
8988
  fi
 
8989
  # Ok, now we have the path, separated by spaces, we can step through it
 
8990
  # and add multilib dir if necessary.
 
8991
  lt_tmp_lt_search_path_spec=
 
8992
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8993
  for lt_sys_path in $lt_search_path_spec; do
 
8994
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8995
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8996
    else
 
8997
      test -d "$lt_sys_path" && \
 
8998
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8999
    fi
 
9000
  done
 
9001
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9002
BEGIN {RS=" "; FS="/|\n";} {
 
9003
  lt_foo="";
 
9004
  lt_count=0;
 
9005
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9006
    if ($lt_i != "" && $lt_i != ".") {
 
9007
      if ($lt_i == "..") {
 
9008
        lt_count++;
 
9009
      } else {
 
9010
        if (lt_count == 0) {
 
9011
          lt_foo="/" $lt_i lt_foo;
 
9012
        } else {
 
9013
          lt_count--;
 
9014
        }
 
9015
      }
 
9016
    }
 
9017
  }
 
9018
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9019
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9020
}'`
 
9021
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7681
9022
else
7682
9023
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7683
9024
fi
7754
9095
  shlibpath_var=LIBRARY_PATH
7755
9096
  ;;
7756
9097
 
7757
 
bsdi4*)
 
9098
bsdi[45]*)
7758
9099
  version_type=linux
7759
9100
  need_version=no
7760
9101
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7782
9123
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7783
9124
      dldir=$destdir/`dirname \$dlpath`~
7784
9125
      test -d \$dldir || mkdir -p \$dldir~
7785
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9126
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9127
      chmod a+x \$dldir/$dlname'
7786
9128
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7787
9129
      dlpath=$dir/\$dldll~
7788
9130
       $rm \$dlpath'
7812
9154
      ;;
7813
9155
    pw32*)
7814
9156
      # pw32 DLLs use 'pw' prefix rather than 'lib'
7815
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
9157
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7816
9158
      ;;
7817
9159
    esac
7818
9160
    ;;
7835
9177
  soname_spec='${libname}${release}${major}$shared_ext'
7836
9178
  shlibpath_overrides_runpath=yes
7837
9179
  shlibpath_var=DYLD_LIBRARY_PATH
7838
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
7839
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7840
 
  if test "$GCC" = yes; then
7841
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7842
 
  else
7843
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7844
 
  fi
 
9180
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9181
 
 
9182
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7845
9183
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7846
9184
  ;;
7847
9185
 
7858
9196
  dynamic_linker=no
7859
9197
  ;;
7860
9198
 
7861
 
kfreebsd*-gnu)
7862
 
  version_type=linux
7863
 
  need_lib_prefix=no
7864
 
  need_version=no
7865
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7866
 
  soname_spec='${libname}${release}${shared_ext}$major'
7867
 
  shlibpath_var=LD_LIBRARY_PATH
7868
 
  shlibpath_overrides_runpath=no
7869
 
  hardcode_into_libs=yes
7870
 
  dynamic_linker='GNU ld.so'
7871
 
  ;;
7872
 
 
7873
 
freebsd*)
7874
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9199
freebsd* | dragonfly*)
 
9200
  # DragonFly does not have aout.  When/if they implement a new
 
9201
  # versioning mechanism, adjust this.
 
9202
  if test -x /usr/bin/objformat; then
 
9203
    objformat=`/usr/bin/objformat`
 
9204
  else
 
9205
    case $host_os in
 
9206
    freebsd[123]*) objformat=aout ;;
 
9207
    *) objformat=elf ;;
 
9208
    esac
 
9209
  fi
7875
9210
  version_type=freebsd-$objformat
7876
9211
  case $version_type in
7877
9212
    freebsd-elf*)
7889
9224
  freebsd2*)
7890
9225
    shlibpath_overrides_runpath=yes
7891
9226
    ;;
7892
 
  freebsd3.01* | freebsdelf3.01*)
 
9227
  freebsd3.[01]* | freebsdelf3.[01]*)
7893
9228
    shlibpath_overrides_runpath=yes
7894
9229
    hardcode_into_libs=yes
7895
9230
    ;;
7896
 
  *) # from 3.2 on
 
9231
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9232
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7897
9233
    shlibpath_overrides_runpath=no
7898
9234
    hardcode_into_libs=yes
7899
9235
    ;;
 
9236
  *) # from 4.6 on, and DragonFly
 
9237
    shlibpath_overrides_runpath=yes
 
9238
    hardcode_into_libs=yes
 
9239
    ;;
7900
9240
  esac
7901
9241
  ;;
7902
9242
 
7916
9256
  version_type=sunos
7917
9257
  need_lib_prefix=no
7918
9258
  need_version=no
7919
 
  case "$host_cpu" in
 
9259
  case $host_cpu in
7920
9260
  ia64*)
7921
9261
    shrext_cmds='.so'
7922
9262
    hardcode_into_libs=yes
7956
9296
  postinstall_cmds='chmod 555 $lib'
7957
9297
  ;;
7958
9298
 
 
9299
interix[3-9]*)
 
9300
  version_type=linux
 
9301
  need_lib_prefix=no
 
9302
  need_version=no
 
9303
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9304
  soname_spec='${libname}${release}${shared_ext}$major'
 
9305
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9306
  shlibpath_var=LD_LIBRARY_PATH
 
9307
  shlibpath_overrides_runpath=no
 
9308
  hardcode_into_libs=yes
 
9309
  ;;
 
9310
 
7959
9311
irix5* | irix6* | nonstopux*)
7960
9312
  case $host_os in
7961
9313
    nonstopux*) version_type=nonstopux ;;
7999
9351
  ;;
8000
9352
 
8001
9353
# This must be Linux ELF.
8002
 
linux*)
 
9354
linux* | k*bsd*-gnu)
8003
9355
  version_type=linux
8004
9356
  need_lib_prefix=no
8005
9357
  need_version=no
8012
9364
  # Some rework will be needed to allow for fast_install
8013
9365
  # before this can be enabled.
8014
9366
  hardcode_into_libs=yes
8015
 
 
8016
 
  # find out which ABI we are using
8017
 
  libsuff=
8018
 
  case "$host_cpu" in
8019
 
  x86_64*|s390x*|powerpc64*)
8020
 
    echo '#line 8020 "configure"' > conftest.$ac_ext
8021
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8022
 
  (eval $ac_compile) 2>&5
8023
 
  ac_status=$?
8024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025
 
  (exit $ac_status); }; then
8026
 
      case `/usr/bin/file conftest.$ac_objext` in
8027
 
      *64-bit*)
8028
 
        libsuff=64
8029
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8030
 
        ;;
8031
 
      esac
8032
 
    fi
8033
 
    rm -rf conftest*
8034
 
    ;;
8035
 
  esac
 
9367
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
9368
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8036
9369
 
8037
9370
  # Append ld.so.conf contents to the search path
8038
9371
  if test -f /etc/ld.so.conf; then
8039
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8040
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9372
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9373
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
8041
9374
  fi
8042
9375
 
8043
9376
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8049
9382
  dynamic_linker='GNU/Linux ld.so'
8050
9383
  ;;
8051
9384
 
8052
 
knetbsd*-gnu)
8053
 
  version_type=linux
8054
 
  need_lib_prefix=no
8055
 
  need_version=no
8056
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8057
 
  soname_spec='${libname}${release}${shared_ext}$major'
8058
 
  shlibpath_var=LD_LIBRARY_PATH
8059
 
  shlibpath_overrides_runpath=no
8060
 
  hardcode_into_libs=yes
8061
 
  dynamic_linker='GNU ld.so'
8062
 
  ;;
8063
 
 
8064
9385
netbsd*)
8065
9386
  version_type=sunos
8066
9387
  need_lib_prefix=no
8098
9419
 
8099
9420
openbsd*)
8100
9421
  version_type=sunos
 
9422
  sys_lib_dlsearch_path_spec="/usr/lib"
8101
9423
  need_lib_prefix=no
8102
 
  need_version=yes
 
9424
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9425
  case $host_os in
 
9426
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9427
    *)                         need_version=no  ;;
 
9428
  esac
8103
9429
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8104
9430
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8105
9431
  shlibpath_var=LD_LIBRARY_PATH
8137
9463
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8138
9464
  ;;
8139
9465
 
8140
 
sco3.2v5*)
8141
 
  version_type=osf
8142
 
  soname_spec='${libname}${release}${shared_ext}$major'
8143
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8144
 
  shlibpath_var=LD_LIBRARY_PATH
 
9466
rdos*)
 
9467
  dynamic_linker=no
8145
9468
  ;;
8146
9469
 
8147
9470
solaris*)
8169
9492
  need_version=yes
8170
9493
  ;;
8171
9494
 
8172
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9495
sysv4 | sysv4.3*)
8173
9496
  version_type=linux
8174
9497
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8175
9498
  soname_spec='${libname}${release}${shared_ext}$major'
8202
9525
  fi
8203
9526
  ;;
8204
9527
 
 
9528
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9529
  version_type=freebsd-elf
 
9530
  need_lib_prefix=no
 
9531
  need_version=no
 
9532
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9533
  soname_spec='${libname}${release}${shared_ext}$major'
 
9534
  shlibpath_var=LD_LIBRARY_PATH
 
9535
  hardcode_into_libs=yes
 
9536
  if test "$with_gnu_ld" = yes; then
 
9537
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9538
    shlibpath_overrides_runpath=no
 
9539
  else
 
9540
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9541
    shlibpath_overrides_runpath=yes
 
9542
    case $host_os in
 
9543
      sco3.2v5*)
 
9544
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9545
        ;;
 
9546
    esac
 
9547
  fi
 
9548
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9549
  ;;
 
9550
 
8205
9551
uts4*)
8206
9552
  version_type=linux
8207
9553
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8213
9559
  dynamic_linker=no
8214
9560
  ;;
8215
9561
esac
8216
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8217
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9562
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9563
echo "${ECHO_T}$dynamic_linker" >&6; }
8218
9564
test "$dynamic_linker" = no && can_build_shared=no
8219
9565
 
8220
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8221
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9566
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9567
if test "$GCC" = yes; then
 
9568
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9569
fi
 
9570
 
 
9571
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9572
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8222
9573
hardcode_action=
8223
9574
if test -n "$hardcode_libdir_flag_spec" || \
8224
 
   test -n "$runpath_var " || \
8225
 
   test "X$hardcode_automatic"="Xyes" ; then
 
9575
   test -n "$runpath_var" || \
 
9576
   test "X$hardcode_automatic" = "Xyes" ; then
8226
9577
 
8227
9578
  # We can hardcode non-existant directories.
8228
9579
  if test "$hardcode_direct" != no &&
8242
9593
  # directories.
8243
9594
  hardcode_action=unsupported
8244
9595
fi
8245
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8246
 
echo "${ECHO_T}$hardcode_action" >&6
 
9596
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9597
echo "${ECHO_T}$hardcode_action" >&6; }
8247
9598
 
8248
9599
if test "$hardcode_action" = relink; then
8249
9600
  # Fast installation is not supported
8256
9607
 
8257
9608
striplib=
8258
9609
old_striplib=
8259
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8260
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9610
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9611
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8261
9612
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8262
9613
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8263
9614
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8264
 
  echo "$as_me:$LINENO: result: yes" >&5
8265
 
echo "${ECHO_T}yes" >&6
 
9615
  { echo "$as_me:$LINENO: result: yes" >&5
 
9616
echo "${ECHO_T}yes" >&6; }
8266
9617
else
8267
9618
# FIXME - insert some real tests, host_os isn't really good enough
8268
9619
  case $host_os in
8269
9620
   darwin*)
8270
9621
       if test -n "$STRIP" ; then
8271
9622
         striplib="$STRIP -x"
8272
 
         echo "$as_me:$LINENO: result: yes" >&5
8273
 
echo "${ECHO_T}yes" >&6
 
9623
         old_striplib="$STRIP -S"
 
9624
         { echo "$as_me:$LINENO: result: yes" >&5
 
9625
echo "${ECHO_T}yes" >&6; }
8274
9626
       else
8275
 
  echo "$as_me:$LINENO: result: no" >&5
8276
 
echo "${ECHO_T}no" >&6
 
9627
  { echo "$as_me:$LINENO: result: no" >&5
 
9628
echo "${ECHO_T}no" >&6; }
8277
9629
fi
8278
9630
       ;;
8279
9631
   *)
8280
 
  echo "$as_me:$LINENO: result: no" >&5
8281
 
echo "${ECHO_T}no" >&6
 
9632
  { echo "$as_me:$LINENO: result: no" >&5
 
9633
echo "${ECHO_T}no" >&6; }
8282
9634
    ;;
8283
9635
  esac
8284
9636
fi
8310
9662
 
8311
9663
  darwin*)
8312
9664
  # if libdl is installed we need to link against it
8313
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8314
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9665
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9666
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8315
9667
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8316
9668
  echo $ECHO_N "(cached) $ECHO_C" >&6
8317
9669
else
8324
9676
cat >>conftest.$ac_ext <<_ACEOF
8325
9677
/* end confdefs.h.  */
8326
9678
 
8327
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9679
/* Override any GCC internal prototype to avoid an error.
 
9680
   Use char because int might match the return type of a GCC
 
9681
   builtin and then its argument prototype would still apply.  */
8328
9682
#ifdef __cplusplus
8329
9683
extern "C"
8330
9684
#endif
8331
 
/* We use char because int might match the return type of a gcc2
8332
 
   builtin and then its argument prototype would still apply.  */
8333
9685
char dlopen ();
8334
9686
int
8335
9687
main ()
8336
9688
{
8337
 
dlopen ();
 
9689
return dlopen ();
8338
9690
  ;
8339
9691
  return 0;
8340
9692
}
8341
9693
_ACEOF
8342
9694
rm -f conftest.$ac_objext conftest$ac_exeext
8343
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344
 
  (eval $ac_link) 2>conftest.er1
 
9695
if { (ac_try="$ac_link"
 
9696
case "(($ac_try" in
 
9697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9698
  *) ac_try_echo=$ac_try;;
 
9699
esac
 
9700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9701
  (eval "$ac_link") 2>conftest.er1
8345
9702
  ac_status=$?
8346
9703
  grep -v '^ *+' conftest.er1 >conftest.err
8347
9704
  rm -f conftest.er1
8348
9705
  cat conftest.err >&5
8349
9706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350
 
  (exit $ac_status); } &&
8351
 
         { ac_try='test -z "$ac_c_werror_flag"
8352
 
                         || test ! -s conftest.err'
8353
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354
 
  (eval $ac_try) 2>&5
8355
 
  ac_status=$?
8356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357
 
  (exit $ac_status); }; } &&
8358
 
         { ac_try='test -s conftest$ac_exeext'
8359
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360
 
  (eval $ac_try) 2>&5
8361
 
  ac_status=$?
8362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363
 
  (exit $ac_status); }; }; then
 
9707
  (exit $ac_status); } && {
 
9708
         test -z "$ac_c_werror_flag" ||
 
9709
         test ! -s conftest.err
 
9710
       } && test -s conftest$ac_exeext &&
 
9711
       $as_test_x conftest$ac_exeext; then
8364
9712
  ac_cv_lib_dl_dlopen=yes
8365
9713
else
8366
9714
  echo "$as_me: failed program was:" >&5
8367
9715
sed 's/^/| /' conftest.$ac_ext >&5
8368
9716
 
8369
 
ac_cv_lib_dl_dlopen=no
 
9717
        ac_cv_lib_dl_dlopen=no
8370
9718
fi
8371
 
rm -f conftest.err conftest.$ac_objext \
 
9719
 
 
9720
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8372
9721
      conftest$ac_exeext conftest.$ac_ext
8373
9722
LIBS=$ac_check_lib_save_LIBS
8374
9723
fi
8375
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8376
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9724
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9725
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8377
9726
if test $ac_cv_lib_dl_dlopen = yes; then
8378
9727
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8379
9728
else
8387
9736
   ;;
8388
9737
 
8389
9738
  *)
8390
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8391
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9739
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9740
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8392
9741
if test "${ac_cv_func_shl_load+set}" = set; then
8393
9742
  echo $ECHO_N "(cached) $ECHO_C" >&6
8394
9743
else
8415
9764
 
8416
9765
#undef shl_load
8417
9766
 
8418
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9767
/* Override any GCC internal prototype to avoid an error.
 
9768
   Use char because int might match the return type of a GCC
 
9769
   builtin and then its argument prototype would still apply.  */
8419
9770
#ifdef __cplusplus
8420
9771
extern "C"
8421
 
{
8422
9772
#endif
8423
 
/* We use char because int might match the return type of a gcc2
8424
 
   builtin and then its argument prototype would still apply.  */
8425
9773
char shl_load ();
8426
9774
/* The GNU C library defines this for functions which it implements
8427
9775
    to always fail with ENOSYS.  Some functions are actually named
8428
9776
    something starting with __ and the normal name is an alias.  */
8429
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9777
#if defined __stub_shl_load || defined __stub___shl_load
8430
9778
choke me
8431
 
#else
8432
 
char (*f) () = shl_load;
8433
 
#endif
8434
 
#ifdef __cplusplus
8435
 
}
8436
9779
#endif
8437
9780
 
8438
9781
int
8439
9782
main ()
8440
9783
{
8441
 
return f != shl_load;
 
9784
return shl_load ();
8442
9785
  ;
8443
9786
  return 0;
8444
9787
}
8445
9788
_ACEOF
8446
9789
rm -f conftest.$ac_objext conftest$ac_exeext
8447
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8448
 
  (eval $ac_link) 2>conftest.er1
 
9790
if { (ac_try="$ac_link"
 
9791
case "(($ac_try" in
 
9792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9793
  *) ac_try_echo=$ac_try;;
 
9794
esac
 
9795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9796
  (eval "$ac_link") 2>conftest.er1
8449
9797
  ac_status=$?
8450
9798
  grep -v '^ *+' conftest.er1 >conftest.err
8451
9799
  rm -f conftest.er1
8452
9800
  cat conftest.err >&5
8453
9801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454
 
  (exit $ac_status); } &&
8455
 
         { ac_try='test -z "$ac_c_werror_flag"
8456
 
                         || test ! -s conftest.err'
8457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8458
 
  (eval $ac_try) 2>&5
8459
 
  ac_status=$?
8460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461
 
  (exit $ac_status); }; } &&
8462
 
         { ac_try='test -s conftest$ac_exeext'
8463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464
 
  (eval $ac_try) 2>&5
8465
 
  ac_status=$?
8466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467
 
  (exit $ac_status); }; }; then
 
9802
  (exit $ac_status); } && {
 
9803
         test -z "$ac_c_werror_flag" ||
 
9804
         test ! -s conftest.err
 
9805
       } && test -s conftest$ac_exeext &&
 
9806
       $as_test_x conftest$ac_exeext; then
8468
9807
  ac_cv_func_shl_load=yes
8469
9808
else
8470
9809
  echo "$as_me: failed program was:" >&5
8471
9810
sed 's/^/| /' conftest.$ac_ext >&5
8472
9811
 
8473
 
ac_cv_func_shl_load=no
 
9812
        ac_cv_func_shl_load=no
8474
9813
fi
8475
 
rm -f conftest.err conftest.$ac_objext \
 
9814
 
 
9815
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8476
9816
      conftest$ac_exeext conftest.$ac_ext
8477
9817
fi
8478
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8479
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9818
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9819
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8480
9820
if test $ac_cv_func_shl_load = yes; then
8481
9821
  lt_cv_dlopen="shl_load"
8482
9822
else
8483
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8484
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9823
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9824
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8485
9825
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8486
9826
  echo $ECHO_N "(cached) $ECHO_C" >&6
8487
9827
else
8494
9834
cat >>conftest.$ac_ext <<_ACEOF
8495
9835
/* end confdefs.h.  */
8496
9836
 
8497
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9837
/* Override any GCC internal prototype to avoid an error.
 
9838
   Use char because int might match the return type of a GCC
 
9839
   builtin and then its argument prototype would still apply.  */
8498
9840
#ifdef __cplusplus
8499
9841
extern "C"
8500
9842
#endif
8501
 
/* We use char because int might match the return type of a gcc2
8502
 
   builtin and then its argument prototype would still apply.  */
8503
9843
char shl_load ();
8504
9844
int
8505
9845
main ()
8506
9846
{
8507
 
shl_load ();
 
9847
return shl_load ();
8508
9848
  ;
8509
9849
  return 0;
8510
9850
}
8511
9851
_ACEOF
8512
9852
rm -f conftest.$ac_objext conftest$ac_exeext
8513
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514
 
  (eval $ac_link) 2>conftest.er1
 
9853
if { (ac_try="$ac_link"
 
9854
case "(($ac_try" in
 
9855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9856
  *) ac_try_echo=$ac_try;;
 
9857
esac
 
9858
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9859
  (eval "$ac_link") 2>conftest.er1
8515
9860
  ac_status=$?
8516
9861
  grep -v '^ *+' conftest.er1 >conftest.err
8517
9862
  rm -f conftest.er1
8518
9863
  cat conftest.err >&5
8519
9864
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520
 
  (exit $ac_status); } &&
8521
 
         { ac_try='test -z "$ac_c_werror_flag"
8522
 
                         || test ! -s conftest.err'
8523
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524
 
  (eval $ac_try) 2>&5
8525
 
  ac_status=$?
8526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527
 
  (exit $ac_status); }; } &&
8528
 
         { ac_try='test -s conftest$ac_exeext'
8529
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530
 
  (eval $ac_try) 2>&5
8531
 
  ac_status=$?
8532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533
 
  (exit $ac_status); }; }; then
 
9865
  (exit $ac_status); } && {
 
9866
         test -z "$ac_c_werror_flag" ||
 
9867
         test ! -s conftest.err
 
9868
       } && test -s conftest$ac_exeext &&
 
9869
       $as_test_x conftest$ac_exeext; then
8534
9870
  ac_cv_lib_dld_shl_load=yes
8535
9871
else
8536
9872
  echo "$as_me: failed program was:" >&5
8537
9873
sed 's/^/| /' conftest.$ac_ext >&5
8538
9874
 
8539
 
ac_cv_lib_dld_shl_load=no
 
9875
        ac_cv_lib_dld_shl_load=no
8540
9876
fi
8541
 
rm -f conftest.err conftest.$ac_objext \
 
9877
 
 
9878
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8542
9879
      conftest$ac_exeext conftest.$ac_ext
8543
9880
LIBS=$ac_check_lib_save_LIBS
8544
9881
fi
8545
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8546
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9882
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9883
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8547
9884
if test $ac_cv_lib_dld_shl_load = yes; then
8548
9885
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8549
9886
else
8550
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8551
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9887
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9888
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8552
9889
if test "${ac_cv_func_dlopen+set}" = set; then
8553
9890
  echo $ECHO_N "(cached) $ECHO_C" >&6
8554
9891
else
8575
9912
 
8576
9913
#undef dlopen
8577
9914
 
8578
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9915
/* Override any GCC internal prototype to avoid an error.
 
9916
   Use char because int might match the return type of a GCC
 
9917
   builtin and then its argument prototype would still apply.  */
8579
9918
#ifdef __cplusplus
8580
9919
extern "C"
8581
 
{
8582
9920
#endif
8583
 
/* We use char because int might match the return type of a gcc2
8584
 
   builtin and then its argument prototype would still apply.  */
8585
9921
char dlopen ();
8586
9922
/* The GNU C library defines this for functions which it implements
8587
9923
    to always fail with ENOSYS.  Some functions are actually named
8588
9924
    something starting with __ and the normal name is an alias.  */
8589
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9925
#if defined __stub_dlopen || defined __stub___dlopen
8590
9926
choke me
8591
 
#else
8592
 
char (*f) () = dlopen;
8593
 
#endif
8594
 
#ifdef __cplusplus
8595
 
}
8596
9927
#endif
8597
9928
 
8598
9929
int
8599
9930
main ()
8600
9931
{
8601
 
return f != dlopen;
 
9932
return dlopen ();
8602
9933
  ;
8603
9934
  return 0;
8604
9935
}
8605
9936
_ACEOF
8606
9937
rm -f conftest.$ac_objext conftest$ac_exeext
8607
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8608
 
  (eval $ac_link) 2>conftest.er1
 
9938
if { (ac_try="$ac_link"
 
9939
case "(($ac_try" in
 
9940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9941
  *) ac_try_echo=$ac_try;;
 
9942
esac
 
9943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9944
  (eval "$ac_link") 2>conftest.er1
8609
9945
  ac_status=$?
8610
9946
  grep -v '^ *+' conftest.er1 >conftest.err
8611
9947
  rm -f conftest.er1
8612
9948
  cat conftest.err >&5
8613
9949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614
 
  (exit $ac_status); } &&
8615
 
         { ac_try='test -z "$ac_c_werror_flag"
8616
 
                         || test ! -s conftest.err'
8617
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618
 
  (eval $ac_try) 2>&5
8619
 
  ac_status=$?
8620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621
 
  (exit $ac_status); }; } &&
8622
 
         { ac_try='test -s conftest$ac_exeext'
8623
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624
 
  (eval $ac_try) 2>&5
8625
 
  ac_status=$?
8626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627
 
  (exit $ac_status); }; }; then
 
9950
  (exit $ac_status); } && {
 
9951
         test -z "$ac_c_werror_flag" ||
 
9952
         test ! -s conftest.err
 
9953
       } && test -s conftest$ac_exeext &&
 
9954
       $as_test_x conftest$ac_exeext; then
8628
9955
  ac_cv_func_dlopen=yes
8629
9956
else
8630
9957
  echo "$as_me: failed program was:" >&5
8631
9958
sed 's/^/| /' conftest.$ac_ext >&5
8632
9959
 
8633
 
ac_cv_func_dlopen=no
 
9960
        ac_cv_func_dlopen=no
8634
9961
fi
8635
 
rm -f conftest.err conftest.$ac_objext \
 
9962
 
 
9963
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8636
9964
      conftest$ac_exeext conftest.$ac_ext
8637
9965
fi
8638
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8639
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9966
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9967
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8640
9968
if test $ac_cv_func_dlopen = yes; then
8641
9969
  lt_cv_dlopen="dlopen"
8642
9970
else
8643
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8644
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9971
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9972
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8645
9973
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8646
9974
  echo $ECHO_N "(cached) $ECHO_C" >&6
8647
9975
else
8654
9982
cat >>conftest.$ac_ext <<_ACEOF
8655
9983
/* end confdefs.h.  */
8656
9984
 
8657
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9985
/* Override any GCC internal prototype to avoid an error.
 
9986
   Use char because int might match the return type of a GCC
 
9987
   builtin and then its argument prototype would still apply.  */
8658
9988
#ifdef __cplusplus
8659
9989
extern "C"
8660
9990
#endif
8661
 
/* We use char because int might match the return type of a gcc2
8662
 
   builtin and then its argument prototype would still apply.  */
8663
9991
char dlopen ();
8664
9992
int
8665
9993
main ()
8666
9994
{
8667
 
dlopen ();
 
9995
return dlopen ();
8668
9996
  ;
8669
9997
  return 0;
8670
9998
}
8671
9999
_ACEOF
8672
10000
rm -f conftest.$ac_objext conftest$ac_exeext
8673
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8674
 
  (eval $ac_link) 2>conftest.er1
 
10001
if { (ac_try="$ac_link"
 
10002
case "(($ac_try" in
 
10003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10004
  *) ac_try_echo=$ac_try;;
 
10005
esac
 
10006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10007
  (eval "$ac_link") 2>conftest.er1
8675
10008
  ac_status=$?
8676
10009
  grep -v '^ *+' conftest.er1 >conftest.err
8677
10010
  rm -f conftest.er1
8678
10011
  cat conftest.err >&5
8679
10012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
 
  (exit $ac_status); } &&
8681
 
         { ac_try='test -z "$ac_c_werror_flag"
8682
 
                         || test ! -s conftest.err'
8683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684
 
  (eval $ac_try) 2>&5
8685
 
  ac_status=$?
8686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687
 
  (exit $ac_status); }; } &&
8688
 
         { ac_try='test -s conftest$ac_exeext'
8689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690
 
  (eval $ac_try) 2>&5
8691
 
  ac_status=$?
8692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693
 
  (exit $ac_status); }; }; then
 
10013
  (exit $ac_status); } && {
 
10014
         test -z "$ac_c_werror_flag" ||
 
10015
         test ! -s conftest.err
 
10016
       } && test -s conftest$ac_exeext &&
 
10017
       $as_test_x conftest$ac_exeext; then
8694
10018
  ac_cv_lib_dl_dlopen=yes
8695
10019
else
8696
10020
  echo "$as_me: failed program was:" >&5
8697
10021
sed 's/^/| /' conftest.$ac_ext >&5
8698
10022
 
8699
 
ac_cv_lib_dl_dlopen=no
 
10023
        ac_cv_lib_dl_dlopen=no
8700
10024
fi
8701
 
rm -f conftest.err conftest.$ac_objext \
 
10025
 
 
10026
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8702
10027
      conftest$ac_exeext conftest.$ac_ext
8703
10028
LIBS=$ac_check_lib_save_LIBS
8704
10029
fi
8705
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8706
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10030
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10031
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8707
10032
if test $ac_cv_lib_dl_dlopen = yes; then
8708
10033
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8709
10034
else
8710
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8711
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10035
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10036
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8712
10037
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8713
10038
  echo $ECHO_N "(cached) $ECHO_C" >&6
8714
10039
else
8721
10046
cat >>conftest.$ac_ext <<_ACEOF
8722
10047
/* end confdefs.h.  */
8723
10048
 
8724
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10049
/* Override any GCC internal prototype to avoid an error.
 
10050
   Use char because int might match the return type of a GCC
 
10051
   builtin and then its argument prototype would still apply.  */
8725
10052
#ifdef __cplusplus
8726
10053
extern "C"
8727
10054
#endif
8728
 
/* We use char because int might match the return type of a gcc2
8729
 
   builtin and then its argument prototype would still apply.  */
8730
10055
char dlopen ();
8731
10056
int
8732
10057
main ()
8733
10058
{
8734
 
dlopen ();
 
10059
return dlopen ();
8735
10060
  ;
8736
10061
  return 0;
8737
10062
}
8738
10063
_ACEOF
8739
10064
rm -f conftest.$ac_objext conftest$ac_exeext
8740
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8741
 
  (eval $ac_link) 2>conftest.er1
 
10065
if { (ac_try="$ac_link"
 
10066
case "(($ac_try" in
 
10067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10068
  *) ac_try_echo=$ac_try;;
 
10069
esac
 
10070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10071
  (eval "$ac_link") 2>conftest.er1
8742
10072
  ac_status=$?
8743
10073
  grep -v '^ *+' conftest.er1 >conftest.err
8744
10074
  rm -f conftest.er1
8745
10075
  cat conftest.err >&5
8746
10076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747
 
  (exit $ac_status); } &&
8748
 
         { ac_try='test -z "$ac_c_werror_flag"
8749
 
                         || test ! -s conftest.err'
8750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751
 
  (eval $ac_try) 2>&5
8752
 
  ac_status=$?
8753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754
 
  (exit $ac_status); }; } &&
8755
 
         { ac_try='test -s conftest$ac_exeext'
8756
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757
 
  (eval $ac_try) 2>&5
8758
 
  ac_status=$?
8759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760
 
  (exit $ac_status); }; }; then
 
10077
  (exit $ac_status); } && {
 
10078
         test -z "$ac_c_werror_flag" ||
 
10079
         test ! -s conftest.err
 
10080
       } && test -s conftest$ac_exeext &&
 
10081
       $as_test_x conftest$ac_exeext; then
8761
10082
  ac_cv_lib_svld_dlopen=yes
8762
10083
else
8763
10084
  echo "$as_me: failed program was:" >&5
8764
10085
sed 's/^/| /' conftest.$ac_ext >&5
8765
10086
 
8766
 
ac_cv_lib_svld_dlopen=no
 
10087
        ac_cv_lib_svld_dlopen=no
8767
10088
fi
8768
 
rm -f conftest.err conftest.$ac_objext \
 
10089
 
 
10090
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8769
10091
      conftest$ac_exeext conftest.$ac_ext
8770
10092
LIBS=$ac_check_lib_save_LIBS
8771
10093
fi
8772
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8773
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10094
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10095
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8774
10096
if test $ac_cv_lib_svld_dlopen = yes; then
8775
10097
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8776
10098
else
8777
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8778
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10099
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10100
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8779
10101
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8780
10102
  echo $ECHO_N "(cached) $ECHO_C" >&6
8781
10103
else
8788
10110
cat >>conftest.$ac_ext <<_ACEOF
8789
10111
/* end confdefs.h.  */
8790
10112
 
8791
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10113
/* Override any GCC internal prototype to avoid an error.
 
10114
   Use char because int might match the return type of a GCC
 
10115
   builtin and then its argument prototype would still apply.  */
8792
10116
#ifdef __cplusplus
8793
10117
extern "C"
8794
10118
#endif
8795
 
/* We use char because int might match the return type of a gcc2
8796
 
   builtin and then its argument prototype would still apply.  */
8797
10119
char dld_link ();
8798
10120
int
8799
10121
main ()
8800
10122
{
8801
 
dld_link ();
 
10123
return dld_link ();
8802
10124
  ;
8803
10125
  return 0;
8804
10126
}
8805
10127
_ACEOF
8806
10128
rm -f conftest.$ac_objext conftest$ac_exeext
8807
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8808
 
  (eval $ac_link) 2>conftest.er1
 
10129
if { (ac_try="$ac_link"
 
10130
case "(($ac_try" in
 
10131
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10132
  *) ac_try_echo=$ac_try;;
 
10133
esac
 
10134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10135
  (eval "$ac_link") 2>conftest.er1
8809
10136
  ac_status=$?
8810
10137
  grep -v '^ *+' conftest.er1 >conftest.err
8811
10138
  rm -f conftest.er1
8812
10139
  cat conftest.err >&5
8813
10140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814
 
  (exit $ac_status); } &&
8815
 
         { ac_try='test -z "$ac_c_werror_flag"
8816
 
                         || test ! -s conftest.err'
8817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818
 
  (eval $ac_try) 2>&5
8819
 
  ac_status=$?
8820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821
 
  (exit $ac_status); }; } &&
8822
 
         { ac_try='test -s conftest$ac_exeext'
8823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824
 
  (eval $ac_try) 2>&5
8825
 
  ac_status=$?
8826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827
 
  (exit $ac_status); }; }; then
 
10141
  (exit $ac_status); } && {
 
10142
         test -z "$ac_c_werror_flag" ||
 
10143
         test ! -s conftest.err
 
10144
       } && test -s conftest$ac_exeext &&
 
10145
       $as_test_x conftest$ac_exeext; then
8828
10146
  ac_cv_lib_dld_dld_link=yes
8829
10147
else
8830
10148
  echo "$as_me: failed program was:" >&5
8831
10149
sed 's/^/| /' conftest.$ac_ext >&5
8832
10150
 
8833
 
ac_cv_lib_dld_dld_link=no
 
10151
        ac_cv_lib_dld_dld_link=no
8834
10152
fi
8835
 
rm -f conftest.err conftest.$ac_objext \
 
10153
 
 
10154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8836
10155
      conftest$ac_exeext conftest.$ac_ext
8837
10156
LIBS=$ac_check_lib_save_LIBS
8838
10157
fi
8839
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8840
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10158
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10159
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8841
10160
if test $ac_cv_lib_dld_dld_link = yes; then
8842
10161
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8843
10162
fi
8872
10191
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8873
10192
 
8874
10193
    save_LDFLAGS="$LDFLAGS"
8875
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10194
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8876
10195
 
8877
10196
    save_LIBS="$LIBS"
8878
10197
    LIBS="$lt_cv_dlopen_libs $LIBS"
8879
10198
 
8880
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8881
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10199
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10200
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8882
10201
if test "${lt_cv_dlopen_self+set}" = set; then
8883
10202
  echo $ECHO_N "(cached) $ECHO_C" >&6
8884
10203
else
8888
10207
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8889
10208
  lt_status=$lt_dlunknown
8890
10209
  cat > conftest.$ac_ext <<EOF
8891
 
#line 8891 "configure"
 
10210
#line 10210 "configure"
8892
10211
#include "confdefs.h"
8893
10212
 
8894
10213
#if HAVE_DLFCN_H
8945
10264
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8946
10265
      /* dlclose (self); */
8947
10266
    }
 
10267
  else
 
10268
    puts (dlerror ());
8948
10269
 
8949
10270
    exit (status);
8950
10271
}
8954
10275
  ac_status=$?
8955
10276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956
10277
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8957
 
    (./conftest; exit; ) 2>/dev/null
 
10278
    (./conftest; exit; ) >&5 2>/dev/null
8958
10279
    lt_status=$?
8959
10280
    case x$lt_status in
8960
10281
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8961
10282
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8962
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10283
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
8963
10284
    esac
8964
10285
  else :
8965
10286
    # compilation failed
8970
10291
 
8971
10292
 
8972
10293
fi
8973
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8974
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10294
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10295
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8975
10296
 
8976
10297
    if test "x$lt_cv_dlopen_self" = xyes; then
8977
 
      LDFLAGS="$LDFLAGS $link_static_flag"
8978
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8979
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10298
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10299
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10300
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8980
10301
if test "${lt_cv_dlopen_self_static+set}" = set; then
8981
10302
  echo $ECHO_N "(cached) $ECHO_C" >&6
8982
10303
else
8986
10307
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8987
10308
  lt_status=$lt_dlunknown
8988
10309
  cat > conftest.$ac_ext <<EOF
8989
 
#line 8989 "configure"
 
10310
#line 10310 "configure"
8990
10311
#include "confdefs.h"
8991
10312
 
8992
10313
#if HAVE_DLFCN_H
9043
10364
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9044
10365
      /* dlclose (self); */
9045
10366
    }
 
10367
  else
 
10368
    puts (dlerror ());
9046
10369
 
9047
10370
    exit (status);
9048
10371
}
9052
10375
  ac_status=$?
9053
10376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054
10377
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9055
 
    (./conftest; exit; ) 2>/dev/null
 
10378
    (./conftest; exit; ) >&5 2>/dev/null
9056
10379
    lt_status=$?
9057
10380
    case x$lt_status in
9058
10381
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9059
10382
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9060
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10383
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9061
10384
    esac
9062
10385
  else :
9063
10386
    # compilation failed
9068
10391
 
9069
10392
 
9070
10393
fi
9071
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9072
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10394
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10395
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9073
10396
    fi
9074
10397
 
9075
10398
    CPPFLAGS="$save_CPPFLAGS"
9090
10413
fi
9091
10414
 
9092
10415
 
9093
 
# Report which librarie types wil actually be built
9094
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9095
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9096
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9097
 
echo "${ECHO_T}$can_build_shared" >&6
 
10416
# Report which library types will actually be built
 
10417
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10418
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10419
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10420
echo "${ECHO_T}$can_build_shared" >&6; }
9098
10421
 
9099
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9100
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10422
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10423
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9101
10424
test "$can_build_shared" = "no" && enable_shared=no
9102
10425
 
9103
10426
# On AIX, shared libraries and static libraries use the same namespace, and
9104
10427
# are all built from PIC.
9105
 
case "$host_os" in
 
10428
case $host_os in
9106
10429
aix3*)
9107
10430
  test "$enable_shared" = yes && enable_static=no
9108
10431
  if test -n "$RANLIB"; then
9115
10438
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9116
10439
    test "$enable_shared" = yes && enable_static=no
9117
10440
  fi
9118
 
  ;;
9119
 
  darwin* | rhapsody*)
9120
 
  if test "$GCC" = yes; then
9121
 
    archive_cmds_need_lc=no
9122
 
    case "$host_os" in
9123
 
    rhapsody* | darwin1.[012])
9124
 
      allow_undefined_flag='-undefined suppress'
9125
 
      ;;
9126
 
    *) # Darwin 1.3 on
9127
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9128
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
9129
 
      else
9130
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9131
 
          10.[012])
9132
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
9133
 
            ;;
9134
 
          10.*)
9135
 
            allow_undefined_flag='-undefined dynamic_lookup'
9136
 
            ;;
9137
 
        esac
9138
 
      fi
9139
 
      ;;
9140
 
    esac
9141
 
    output_verbose_link_cmd='echo'
9142
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9143
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9144
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9145
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9146
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9147
 
    hardcode_direct=no
9148
 
    hardcode_automatic=yes
9149
 
    hardcode_shlibpath_var=unsupported
9150
 
    whole_archive_flag_spec='-all_load $convenience'
9151
 
    link_all_deplibs=yes
9152
 
  else
9153
 
    ld_shlibs=no
9154
 
  fi
9155
10441
    ;;
9156
10442
esac
9157
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9158
 
echo "${ECHO_T}$enable_shared" >&6
 
10443
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10444
echo "${ECHO_T}$enable_shared" >&6; }
9159
10445
 
9160
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9161
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10446
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10447
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9162
10448
# Make sure either enable_shared or enable_static is yes.
9163
10449
test "$enable_shared" = yes || enable_static=yes
9164
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9165
 
echo "${ECHO_T}$enable_static" >&6
 
10450
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10451
echo "${ECHO_T}$enable_static" >&6; }
9166
10452
 
9167
10453
# The else clause should only fire when bootstrapping the
9168
10454
# libtool distribution, otherwise you forgot to ship ltmain.sh
9177
10463
  # Now quote all the things that may contain metacharacters while being
9178
10464
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9179
10465
  # variables and quote the copies for generation of the libtool script.
9180
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10466
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9181
10467
    SED SHELL STRIP \
9182
10468
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9183
10469
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9219
10505
    module_cmds \
9220
10506
    module_expsym_cmds \
9221
10507
    lt_cv_prog_compiler_c_o \
 
10508
    fix_srcfile_path \
9222
10509
    exclude_expsyms \
9223
10510
    include_expsyms; do
9224
10511
 
9263
10550
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9264
10551
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9265
10552
#
9266
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10553
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9267
10554
# Free Software Foundation, Inc.
9268
10555
#
9269
10556
# This file is part of GNU Libtool:
9281
10568
#
9282
10569
# You should have received a copy of the GNU General Public License
9283
10570
# along with this program; if not, write to the Free Software
9284
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
10571
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9285
10572
#
9286
10573
# As a special exception to the GNU General Public License, if you
9287
10574
# distribute this file as part of a program that contains a
9292
10579
SED=$lt_SED
9293
10580
 
9294
10581
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9295
 
Xsed="$SED -e s/^X//"
 
10582
Xsed="$SED -e 1s/^X//"
9296
10583
 
9297
10584
# The HP-UX ksh and POSIX shell print the target directory to stdout
9298
10585
# if CDPATH is set.
9299
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
10586
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9300
10587
 
9301
10588
# The names of the tagged configurations supported by this script.
9302
10589
available_tags=
9326
10613
# The host system.
9327
10614
host_alias=$host_alias
9328
10615
host=$host
 
10616
host_os=$host_os
 
10617
 
 
10618
# The build system.
 
10619
build_alias=$build_alias
 
10620
build=$build
 
10621
build_os=$build_os
9329
10622
 
9330
10623
# An echo program that does not interpret backslashes.
9331
10624
echo=$lt_echo
9337
10630
# A C compiler.
9338
10631
LTCC=$lt_LTCC
9339
10632
 
 
10633
# LTCC compiler flags.
 
10634
LTCFLAGS=$lt_LTCFLAGS
 
10635
 
9340
10636
# A language-specific compiler.
9341
10637
CC=$lt_compiler
9342
10638
 
9402
10698
# Does compiler simultaneously support -c and -o options?
9403
10699
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9404
10700
 
9405
 
# Must we lock files when doing compilation ?
 
10701
# Must we lock files when doing compilation?
9406
10702
need_locks=$lt_need_locks
9407
10703
 
9408
10704
# Do we need the lib prefix for modules?
9578
10874
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9579
10875
 
9580
10876
# Fix the shell variable \$srcfile for the compiler.
9581
 
fix_srcfile_path="$fix_srcfile_path"
 
10877
fix_srcfile_path=$lt_fix_srcfile_path
9582
10878
 
9583
10879
# Set to yes if exported symbols are required.
9584
10880
always_export_symbols=$always_export_symbols
9645
10941
CC="$lt_save_CC"
9646
10942
 
9647
10943
 
9648
 
# Check whether --with-tags or --without-tags was given.
 
10944
# Check whether --with-tags was given.
9649
10945
if test "${with_tags+set}" = set; then
9650
 
  withval="$with_tags"
9651
 
  tagnames="$withval"
9652
 
fi;
 
10946
  withval=$with_tags; tagnames="$withval"
 
10947
fi
 
10948
 
9653
10949
 
9654
10950
if test -f "$ltmain" && test -n "$tagnames"; then
9655
10951
  if test ! -f "${ofile}"; then
9667
10963
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9668
10964
    fi
9669
10965
  fi
 
10966
  if test -z "$LTCFLAGS"; then
 
10967
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
10968
  fi
9670
10969
 
9671
10970
  # Extract list of available tagged configurations in $ofile.
9672
10971
  # Note that this assumes the entire list is on one line.
9697
10996
 
9698
10997
      case $tagname in
9699
10998
      CXX)
9700
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
9701
 
          ac_ext=cc
 
10999
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11000
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11001
            (test "X$CXX" != "Xg++"))) ; then
 
11002
          ac_ext=cpp
9702
11003
ac_cpp='$CXXCPP $CPPFLAGS'
9703
11004
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9704
11005
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9717
11018
hardcode_libdir_flag_spec_ld_CXX=
9718
11019
hardcode_libdir_separator_CXX=
9719
11020
hardcode_minus_L_CXX=no
 
11021
hardcode_shlibpath_var_CXX=unsupported
9720
11022
hardcode_automatic_CXX=no
9721
11023
module_cmds_CXX=
9722
11024
module_expsym_cmds_CXX=
9734
11036
compiler_lib_search_path_CXX=
9735
11037
 
9736
11038
# Source file extension for C++ test sources.
9737
 
ac_ext=cc
 
11039
ac_ext=cpp
9738
11040
 
9739
11041
# Object file extension for compiled C++ test sources.
9740
11042
objext=o
9741
11043
objext_CXX=$objext
9742
11044
 
9743
11045
# Code to be used in simple compile tests
9744
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11046
lt_simple_compile_test_code="int some_variable = 0;"
9745
11047
 
9746
11048
# Code to be used in simple link tests
9747
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11049
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
9748
11050
 
9749
11051
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9750
11052
 
9751
11053
# If no C compiler was specified, use CC.
9752
11054
LTCC=${LTCC-"$CC"}
9753
11055
 
 
11056
# If no C compiler flags were specified, use CFLAGS.
 
11057
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11058
 
9754
11059
# Allow CC to be a program name with arguments.
9755
11060
compiler=$CC
9756
11061
 
9757
11062
 
 
11063
# save warnings/boilerplate of simple test code
 
11064
ac_outfile=conftest.$ac_objext
 
11065
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11066
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11067
_lt_compiler_boilerplate=`cat conftest.err`
 
11068
$rm conftest*
 
11069
 
 
11070
ac_outfile=conftest.$ac_objext
 
11071
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
11072
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11073
_lt_linker_boilerplate=`cat conftest.err`
 
11074
$rm conftest*
 
11075
 
 
11076
 
9758
11077
# Allow CC to be a program name with arguments.
9759
11078
lt_save_CC=$CC
9760
11079
lt_save_LD=$LD
9765
11084
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9766
11085
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9767
11086
else
9768
 
  unset lt_cv_prog_gnu_ld
 
11087
  $as_unset lt_cv_prog_gnu_ld
9769
11088
fi
9770
11089
if test -n "${lt_cv_path_LDCXX+set}"; then
9771
11090
  lt_cv_path_LD=$lt_cv_path_LDCXX
9772
11091
else
9773
 
  unset lt_cv_path_LD
 
11092
  $as_unset lt_cv_path_LD
9774
11093
fi
9775
11094
test -z "${LDCXX+set}" || LD=$LDCXX
9776
11095
CC=${CXX-"c++"}
9777
11096
compiler=$CC
9778
11097
compiler_CXX=$CC
9779
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
11098
for cc_temp in $compiler""; do
 
11099
  case $cc_temp in
 
11100
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11101
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11102
    \-*) ;;
 
11103
    *) break;;
 
11104
  esac
 
11105
done
 
11106
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11107
 
9780
11108
 
9781
11109
# We don't want -fno-exception wen compiling C++ code, so set the
9782
11110
# no_builtin_flag separately
9790
11118
  # Set up default GNU C++ configuration
9791
11119
 
9792
11120
 
9793
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11121
# Check whether --with-gnu-ld was given.
9794
11122
if test "${with_gnu_ld+set}" = set; then
9795
 
  withval="$with_gnu_ld"
9796
 
  test "$withval" = no || with_gnu_ld=yes
 
11123
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9797
11124
else
9798
11125
  with_gnu_ld=no
9799
 
fi;
 
11126
fi
 
11127
 
9800
11128
ac_prog=ld
9801
11129
if test "$GCC" = yes; then
9802
11130
  # Check if gcc -print-prog-name=ld gives a path.
9803
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9804
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11131
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11132
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9805
11133
  case $host in
9806
11134
  *-*-mingw*)
9807
11135
    # gcc leaves a trailing carriage return which upsets mingw
9830
11158
    ;;
9831
11159
  esac
9832
11160
elif test "$with_gnu_ld" = yes; then
9833
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9834
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11161
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11162
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9835
11163
else
9836
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9837
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11164
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11165
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9838
11166
fi
9839
11167
if test "${lt_cv_path_LD+set}" = set; then
9840
11168
  echo $ECHO_N "(cached) $ECHO_C" >&6
9847
11175
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9848
11176
      lt_cv_path_LD="$ac_dir/$ac_prog"
9849
11177
      # Check to see if the program is GNU ld.  I'd rather use --version,
9850
 
      # but apparently some GNU ld's only accept -v.
 
11178
      # but apparently some variants of GNU ld only accept -v.
9851
11179
      # Break only if it was the GNU/non-GNU ld that we prefer.
9852
11180
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9853
11181
      *GNU* | *'with BFD'*)
9867
11195
 
9868
11196
LD="$lt_cv_path_LD"
9869
11197
if test -n "$LD"; then
9870
 
  echo "$as_me:$LINENO: result: $LD" >&5
9871
 
echo "${ECHO_T}$LD" >&6
 
11198
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11199
echo "${ECHO_T}$LD" >&6; }
9872
11200
else
9873
 
  echo "$as_me:$LINENO: result: no" >&5
9874
 
echo "${ECHO_T}no" >&6
 
11201
  { echo "$as_me:$LINENO: result: no" >&5
 
11202
echo "${ECHO_T}no" >&6; }
9875
11203
fi
9876
11204
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9877
11205
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9878
11206
   { (exit 1); exit 1; }; }
9879
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9880
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11207
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11208
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9881
11209
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9882
11210
  echo $ECHO_N "(cached) $ECHO_C" >&6
9883
11211
else
9884
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11212
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9885
11213
case `$LD -v 2>&1 </dev/null` in
9886
11214
*GNU* | *'with BFD'*)
9887
11215
  lt_cv_prog_gnu_ld=yes
9891
11219
  ;;
9892
11220
esac
9893
11221
fi
9894
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9895
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11222
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11223
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9896
11224
with_gnu_ld=$lt_cv_prog_gnu_ld
9897
11225
 
9898
11226
 
9942
11270
fi
9943
11271
 
9944
11272
# PORTME: fill in a description of your system's C++ link characteristics
9945
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9946
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11273
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11274
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9947
11275
ld_shlibs_CXX=yes
9948
11276
case $host_os in
9949
11277
  aix3*)
9972
11300
            ;;
9973
11301
          esac
9974
11302
        done
 
11303
        ;;
9975
11304
      esac
9976
11305
 
9977
11306
      exp_sym_flag='-bexport'
9990
11319
    link_all_deplibs_CXX=yes
9991
11320
 
9992
11321
    if test "$GXX" = yes; then
9993
 
      case $host_os in aix4.012|aix4.012.*)
 
11322
      case $host_os in aix4.[012]|aix4.[012].*)
9994
11323
      # We only want to do this on AIX 4.2 and lower, the check
9995
11324
      # below for broken collect2 doesn't work under 4.3+
9996
11325
        collect2name=`${CC} -print-prog-name=collect2`
9998
11327
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9999
11328
        then
10000
11329
          # We have reworked collect2
10001
 
          hardcode_direct_CXX=yes
 
11330
          :
10002
11331
        else
10003
11332
          # We have old collect2
10004
11333
          hardcode_direct_CXX=unsupported
10009
11338
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10010
11339
          hardcode_libdir_separator_CXX=
10011
11340
        fi
 
11341
        ;;
10012
11342
      esac
10013
11343
      shared_flag='-shared'
 
11344
      if test "$aix_use_runtimelinking" = yes; then
 
11345
        shared_flag="$shared_flag "'${wl}-G'
 
11346
      fi
10014
11347
    else
10015
11348
      # not using gcc
10016
11349
      if test "$host_cpu" = ia64; then
10050
11383
}
10051
11384
_ACEOF
10052
11385
rm -f conftest.$ac_objext conftest$ac_exeext
10053
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10054
 
  (eval $ac_link) 2>conftest.er1
 
11386
if { (ac_try="$ac_link"
 
11387
case "(($ac_try" in
 
11388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11389
  *) ac_try_echo=$ac_try;;
 
11390
esac
 
11391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11392
  (eval "$ac_link") 2>conftest.er1
10055
11393
  ac_status=$?
10056
11394
  grep -v '^ *+' conftest.er1 >conftest.err
10057
11395
  rm -f conftest.er1
10058
11396
  cat conftest.err >&5
10059
11397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060
 
  (exit $ac_status); } &&
10061
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10062
 
                         || test ! -s conftest.err'
10063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064
 
  (eval $ac_try) 2>&5
10065
 
  ac_status=$?
10066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067
 
  (exit $ac_status); }; } &&
10068
 
         { ac_try='test -s conftest$ac_exeext'
10069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10070
 
  (eval $ac_try) 2>&5
10071
 
  ac_status=$?
10072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073
 
  (exit $ac_status); }; }; then
 
11398
  (exit $ac_status); } && {
 
11399
         test -z "$ac_cxx_werror_flag" ||
 
11400
         test ! -s conftest.err
 
11401
       } && test -s conftest$ac_exeext &&
 
11402
       $as_test_x conftest$ac_exeext; then
10074
11403
 
10075
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10076
 
}'`
 
11404
lt_aix_libpath_sed='
 
11405
    /Import File Strings/,/^$/ {
 
11406
        /^0/ {
 
11407
            s/^0  *\(.*\)$/\1/
 
11408
            p
 
11409
        }
 
11410
    }'
 
11411
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10077
11412
# Check for a 64-bit object if we didn't find anything.
10078
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10079
 
}'`; fi
 
11413
if test -z "$aix_libpath"; then
 
11414
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11415
fi
10080
11416
else
10081
11417
  echo "$as_me: failed program was:" >&5
10082
11418
sed 's/^/| /' conftest.$ac_ext >&5
10083
11419
 
 
11420
 
10084
11421
fi
10085
 
rm -f conftest.err conftest.$ac_objext \
 
11422
 
 
11423
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10086
11424
      conftest$ac_exeext conftest.$ac_ext
10087
11425
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10088
11426
 
10089
11427
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10090
11428
 
10091
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11429
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10092
11430
     else
10093
11431
      if test "$host_cpu" = ia64; then
10094
11432
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10095
11433
        allow_undefined_flag_CXX="-z nodefs"
10096
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11434
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10097
11435
      else
10098
11436
        # Determine the default libpath from the value encoded in an empty executable.
10099
11437
        cat >conftest.$ac_ext <<_ACEOF
10112
11450
}
10113
11451
_ACEOF
10114
11452
rm -f conftest.$ac_objext conftest$ac_exeext
10115
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10116
 
  (eval $ac_link) 2>conftest.er1
 
11453
if { (ac_try="$ac_link"
 
11454
case "(($ac_try" in
 
11455
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11456
  *) ac_try_echo=$ac_try;;
 
11457
esac
 
11458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11459
  (eval "$ac_link") 2>conftest.er1
10117
11460
  ac_status=$?
10118
11461
  grep -v '^ *+' conftest.er1 >conftest.err
10119
11462
  rm -f conftest.er1
10120
11463
  cat conftest.err >&5
10121
11464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122
 
  (exit $ac_status); } &&
10123
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10124
 
                         || test ! -s conftest.err'
10125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126
 
  (eval $ac_try) 2>&5
10127
 
  ac_status=$?
10128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129
 
  (exit $ac_status); }; } &&
10130
 
         { ac_try='test -s conftest$ac_exeext'
10131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132
 
  (eval $ac_try) 2>&5
10133
 
  ac_status=$?
10134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135
 
  (exit $ac_status); }; }; then
 
11465
  (exit $ac_status); } && {
 
11466
         test -z "$ac_cxx_werror_flag" ||
 
11467
         test ! -s conftest.err
 
11468
       } && test -s conftest$ac_exeext &&
 
11469
       $as_test_x conftest$ac_exeext; then
10136
11470
 
10137
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10138
 
}'`
 
11471
lt_aix_libpath_sed='
 
11472
    /Import File Strings/,/^$/ {
 
11473
        /^0/ {
 
11474
            s/^0  *\(.*\)$/\1/
 
11475
            p
 
11476
        }
 
11477
    }'
 
11478
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10139
11479
# Check for a 64-bit object if we didn't find anything.
10140
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10141
 
}'`; fi
 
11480
if test -z "$aix_libpath"; then
 
11481
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11482
fi
10142
11483
else
10143
11484
  echo "$as_me: failed program was:" >&5
10144
11485
sed 's/^/| /' conftest.$ac_ext >&5
10145
11486
 
 
11487
 
10146
11488
fi
10147
 
rm -f conftest.err conftest.$ac_objext \
 
11489
 
 
11490
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10148
11491
      conftest$ac_exeext conftest.$ac_ext
10149
11492
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10150
11493
 
10153
11496
        # -berok will link without error, but may produce a broken library.
10154
11497
        no_undefined_flag_CXX=' ${wl}-bernotok'
10155
11498
        allow_undefined_flag_CXX=' ${wl}-berok'
10156
 
        # -bexpall does not export symbols beginning with underscore (_)
10157
 
        always_export_symbols_CXX=yes
10158
11499
        # Exported symbols can be pulled into shared objects from archives
10159
 
        whole_archive_flag_spec_CXX=' '
 
11500
        whole_archive_flag_spec_CXX='$convenience'
10160
11501
        archive_cmds_need_lc_CXX=yes
10161
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10162
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11502
        # This is similar to how AIX traditionally builds its shared libraries.
 
11503
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10163
11504
      fi
10164
11505
    fi
10165
11506
    ;;
 
11507
 
 
11508
  beos*)
 
11509
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11510
      allow_undefined_flag_CXX=unsupported
 
11511
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11512
      # support --undefined.  This deserves some investigation.  FIXME
 
11513
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11514
    else
 
11515
      ld_shlibs_CXX=no
 
11516
    fi
 
11517
    ;;
 
11518
 
10166
11519
  chorus*)
10167
11520
    case $cc_basename in
10168
11521
      *)
10181
11534
    enable_shared_with_static_runtimes_CXX=yes
10182
11535
 
10183
11536
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10184
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11537
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10185
11538
      # If the export-symbols file already is a .def file (1st line
10186
11539
      # is EXPORTS), use it as is; otherwise, prepend...
10187
11540
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10190
11543
        echo EXPORTS > $output_objdir/$soname.def;
10191
11544
        cat $export_symbols >> $output_objdir/$soname.def;
10192
11545
      fi~
10193
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11546
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10194
11547
    else
10195
11548
      ld_shlibs_CXX=no
10196
11549
    fi
10197
11550
  ;;
10198
 
 
10199
 
  darwin* | rhapsody*)
10200
 
  if test "$GXX" = yes; then
10201
 
    archive_cmds_need_lc_CXX=no
10202
 
    case "$host_os" in
10203
 
    rhapsody* | darwin1.[012])
10204
 
      allow_undefined_flag_CXX='-undefined suppress'
10205
 
      ;;
10206
 
    *) # Darwin 1.3 on
10207
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10208
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10209
 
      else
10210
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10211
 
          10.[012])
10212
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10213
 
            ;;
10214
 
          10.*)
10215
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
10216
 
            ;;
 
11551
      darwin* | rhapsody*)
 
11552
        case $host_os in
 
11553
        rhapsody* | darwin1.[012])
 
11554
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
11555
         ;;
 
11556
       *) # Darwin 1.3 on
 
11557
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11558
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11559
         else
 
11560
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
11561
             10.[012])
 
11562
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11563
               ;;
 
11564
             10.*)
 
11565
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
11566
               ;;
 
11567
           esac
 
11568
         fi
 
11569
         ;;
10217
11570
        esac
10218
 
      fi
10219
 
      ;;
10220
 
    esac
10221
 
    lt_int_apple_cc_single_mod=no
10222
 
    output_verbose_link_cmd='echo'
10223
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10224
 
      lt_int_apple_cc_single_mod=yes
10225
 
    fi
10226
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10227
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10228
 
    else
10229
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10230
 
    fi
10231
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11571
      archive_cmds_need_lc_CXX=no
 
11572
      hardcode_direct_CXX=no
 
11573
      hardcode_automatic_CXX=yes
 
11574
      hardcode_shlibpath_var_CXX=unsupported
 
11575
      whole_archive_flag_spec_CXX=''
 
11576
      link_all_deplibs_CXX=yes
10232
11577
 
10233
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10234
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10235
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10236
 
    else
10237
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10238
 
    fi
10239
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10240
 
    hardcode_direct_CXX=no
10241
 
    hardcode_automatic_CXX=yes
10242
 
    hardcode_shlibpath_var_CXX=unsupported
10243
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
10244
 
    link_all_deplibs_CXX=yes
10245
 
  else
10246
 
    ld_shlibs_CXX=no
10247
 
  fi
10248
 
    ;;
 
11578
    if test "$GXX" = yes ; then
 
11579
      lt_int_apple_cc_single_mod=no
 
11580
      output_verbose_link_cmd='echo'
 
11581
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
11582
       lt_int_apple_cc_single_mod=yes
 
11583
      fi
 
11584
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11585
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11586
      else
 
11587
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11588
        fi
 
11589
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11590
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11591
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11592
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11593
          else
 
11594
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11595
          fi
 
11596
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11597
      else
 
11598
      case $cc_basename in
 
11599
        xlc*)
 
11600
         output_verbose_link_cmd='echo'
 
11601
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
11602
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11603
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11604
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11605
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11606
          ;;
 
11607
       *)
 
11608
         ld_shlibs_CXX=no
 
11609
          ;;
 
11610
      esac
 
11611
      fi
 
11612
        ;;
10249
11613
 
10250
11614
  dgux*)
10251
11615
    case $cc_basename in
10252
 
      ec++)
 
11616
      ec++*)
10253
11617
        # FIXME: insert proper C++ library support
10254
11618
        ld_shlibs_CXX=no
10255
11619
        ;;
10256
 
      ghcx)
 
11620
      ghcx*)
10257
11621
        # Green Hills C++ Compiler
10258
11622
        # FIXME: insert proper C++ library support
10259
11623
        ld_shlibs_CXX=no
10264
11628
        ;;
10265
11629
    esac
10266
11630
    ;;
10267
 
  freebsd12*)
 
11631
  freebsd[12]*)
10268
11632
    # C++ shared libraries reported to be fairly broken before switch to ELF
10269
11633
    ld_shlibs_CXX=no
10270
11634
    ;;
10271
11635
  freebsd-elf*)
10272
11636
    archive_cmds_need_lc_CXX=no
10273
11637
    ;;
10274
 
  freebsd* | kfreebsd*-gnu)
 
11638
  freebsd* | dragonfly*)
10275
11639
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10276
11640
    # conventions
10277
11641
    ld_shlibs_CXX=yes
10288
11652
                                # location of the library.
10289
11653
 
10290
11654
    case $cc_basename in
10291
 
    CC)
 
11655
    CC*)
10292
11656
      # FIXME: insert proper C++ library support
10293
11657
      ld_shlibs_CXX=no
10294
11658
      ;;
10295
 
    aCC)
 
11659
    aCC*)
10296
11660
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10297
11661
      # Commands to make compiler produce verbose output that lists
10298
11662
      # what "hidden" libraries, object files and flags are used when
10302
11666
      # explicitly linking system object files so we need to strip them
10303
11667
      # from the output so that they don't get included in the library
10304
11668
      # dependencies.
10305
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
11669
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10306
11670
      ;;
10307
11671
    *)
10308
11672
      if test "$GXX" = yes; then
10316
11680
    ;;
10317
11681
  hpux10*|hpux11*)
10318
11682
    if test $with_gnu_ld = no; then
10319
 
      case "$host_cpu" in
10320
 
      hppa*64*)
10321
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10322
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10323
 
        hardcode_libdir_separator_CXX=:
10324
 
        ;;
10325
 
      ia64*)
10326
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10327
 
        ;;
 
11683
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11684
      hardcode_libdir_separator_CXX=:
 
11685
 
 
11686
      case $host_cpu in
 
11687
      hppa*64*|ia64*) ;;
10328
11688
      *)
10329
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10330
 
        hardcode_libdir_separator_CXX=:
10331
11689
        export_dynamic_flag_spec_CXX='${wl}-E'
10332
11690
        ;;
10333
11691
      esac
10334
11692
    fi
10335
 
    case "$host_cpu" in
10336
 
    hppa*64*)
10337
 
      hardcode_direct_CXX=no
10338
 
      hardcode_shlibpath_var_CXX=no
10339
 
      ;;
10340
 
    ia64*)
10341
 
      hardcode_direct_CXX=no
10342
 
      hardcode_shlibpath_var_CXX=no
10343
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10344
 
                                              # but as the default
10345
 
                                              # location of the library.
 
11693
    case $host_cpu in
 
11694
    hppa*64*|ia64*)
 
11695
      hardcode_direct_CXX=no
 
11696
      hardcode_shlibpath_var_CXX=no
10346
11697
      ;;
10347
11698
    *)
10348
11699
      hardcode_direct_CXX=yes
10353
11704
    esac
10354
11705
 
10355
11706
    case $cc_basename in
10356
 
      CC)
 
11707
      CC*)
10357
11708
        # FIXME: insert proper C++ library support
10358
11709
        ld_shlibs_CXX=no
10359
11710
        ;;
10360
 
      aCC)
10361
 
        case "$host_cpu" in
10362
 
        hppa*64*|ia64*)
10363
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11711
      aCC*)
 
11712
        case $host_cpu in
 
11713
        hppa*64*)
 
11714
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11715
          ;;
 
11716
        ia64*)
 
11717
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10364
11718
          ;;
10365
11719
        *)
10366
11720
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10379
11733
      *)
10380
11734
        if test "$GXX" = yes; then
10381
11735
          if test $with_gnu_ld = no; then
10382
 
            case "$host_cpu" in
10383
 
            ia64*|hppa*64*)
10384
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11736
            case $host_cpu in
 
11737
            hppa*64*)
 
11738
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11739
              ;;
 
11740
            ia64*)
 
11741
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10385
11742
              ;;
10386
11743
            *)
10387
11744
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10395
11752
        ;;
10396
11753
    esac
10397
11754
    ;;
 
11755
  interix[3-9]*)
 
11756
    hardcode_direct_CXX=no
 
11757
    hardcode_shlibpath_var_CXX=no
 
11758
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11759
    export_dynamic_flag_spec_CXX='${wl}-E'
 
11760
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11761
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11762
    # default) and relocated if they conflict, which is a slow very memory
 
11763
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
11764
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11765
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11766
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11767
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11768
    ;;
10398
11769
  irix5* | irix6*)
10399
11770
    case $cc_basename in
10400
 
      CC)
 
11771
      CC*)
10401
11772
        # SGI C++
10402
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
11773
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10403
11774
 
10404
11775
        # Archives containing C++ object files must be created using
10405
11776
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10410
11781
      *)
10411
11782
        if test "$GXX" = yes; then
10412
11783
          if test "$with_gnu_ld" = no; then
10413
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
11784
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10414
11785
          else
10415
11786
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10416
11787
          fi
10421
11792
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10422
11793
    hardcode_libdir_separator_CXX=:
10423
11794
    ;;
10424
 
  linux*)
 
11795
  linux* | k*bsd*-gnu)
10425
11796
    case $cc_basename in
10426
 
      KCC)
 
11797
      KCC*)
10427
11798
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10428
11799
 
10429
11800
        # KCC will only create a shared library if the output file
10448
11819
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10449
11820
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10450
11821
        ;;
10451
 
      icpc)
 
11822
      icpc*)
10452
11823
        # Intel C++
10453
11824
        with_gnu_ld=yes
 
11825
        # version 8.0 and above of icpc choke on multiply defined symbols
 
11826
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
11827
        # earlier do not add the objects themselves.
 
11828
        case `$CC -V 2>&1` in
 
11829
        *"Version 7."*)
 
11830
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11831
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11832
          ;;
 
11833
        *)  # Version 8.0 or newer
 
11834
          tmp_idyn=
 
11835
          case $host_cpu in
 
11836
            ia64*) tmp_idyn=' -i_dynamic';;
 
11837
          esac
 
11838
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11839
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11840
          ;;
 
11841
        esac
10454
11842
        archive_cmds_need_lc_CXX=no
10455
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10456
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10457
11843
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10458
11844
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10459
11845
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10460
11846
        ;;
10461
 
      cxx)
 
11847
      pgCC*)
 
11848
        # Portland Group C++ compiler
 
11849
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
11850
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
11851
 
 
11852
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
11853
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
11854
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11855
        ;;
 
11856
      cxx*)
10462
11857
        # Compaq C++
10463
11858
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10464
11859
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10477
11872
        # dependencies.
10478
11873
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10479
11874
        ;;
 
11875
      *)
 
11876
        case `$CC -V 2>&1 | sed 5q` in
 
11877
        *Sun\ C*)
 
11878
          # Sun C++ 5.9
 
11879
          no_undefined_flag_CXX=' -zdefs'
 
11880
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11881
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11882
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11883
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11884
 
 
11885
          # Not sure whether something based on
 
11886
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11887
          # would be better.
 
11888
          output_verbose_link_cmd='echo'
 
11889
 
 
11890
          # Archives containing C++ object files must be created using
 
11891
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11892
          # necessary to make sure instantiated templates are included
 
11893
          # in the archive.
 
11894
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11895
          ;;
 
11896
        esac
 
11897
        ;;
10480
11898
    esac
10481
11899
    ;;
10482
11900
  lynxos*)
10489
11907
    ;;
10490
11908
  mvs*)
10491
11909
    case $cc_basename in
10492
 
      cxx)
 
11910
      cxx*)
10493
11911
        # FIXME: insert proper C++ library support
10494
11912
        ld_shlibs_CXX=no
10495
11913
        ;;
10510
11928
    # Workaround some broken pre-1.5 toolchains
10511
11929
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10512
11930
    ;;
 
11931
  openbsd2*)
 
11932
    # C++ shared libraries are fairly broken
 
11933
    ld_shlibs_CXX=no
 
11934
    ;;
 
11935
  openbsd*)
 
11936
    if test -f /usr/libexec/ld.so; then
 
11937
      hardcode_direct_CXX=yes
 
11938
      hardcode_shlibpath_var_CXX=no
 
11939
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11940
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11941
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11942
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11943
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11944
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11945
      fi
 
11946
      output_verbose_link_cmd='echo'
 
11947
    else
 
11948
      ld_shlibs_CXX=no
 
11949
    fi
 
11950
    ;;
10513
11951
  osf3*)
10514
11952
    case $cc_basename in
10515
 
      KCC)
 
11953
      KCC*)
10516
11954
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10517
11955
 
10518
11956
        # KCC will only create a shared library if the output file
10528
11966
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10529
11967
 
10530
11968
        ;;
10531
 
      RCC)
 
11969
      RCC*)
10532
11970
        # Rational C++ 2.4.1
10533
11971
        # FIXME: insert proper C++ library support
10534
11972
        ld_shlibs_CXX=no
10535
11973
        ;;
10536
 
      cxx)
 
11974
      cxx*)
10537
11975
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10538
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
11976
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10539
11977
 
10540
11978
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10541
11979
        hardcode_libdir_separator_CXX=:
10553
11991
      *)
10554
11992
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10555
11993
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10556
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
11994
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10557
11995
 
10558
11996
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10559
11997
          hardcode_libdir_separator_CXX=:
10572
12010
    ;;
10573
12011
  osf4* | osf5*)
10574
12012
    case $cc_basename in
10575
 
      KCC)
 
12013
      KCC*)
10576
12014
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10577
12015
 
10578
12016
        # KCC will only create a shared library if the output file
10587
12025
        # the KAI C++ compiler.
10588
12026
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10589
12027
        ;;
10590
 
      RCC)
 
12028
      RCC*)
10591
12029
        # Rational C++ 2.4.1
10592
12030
        # FIXME: insert proper C++ library support
10593
12031
        ld_shlibs_CXX=no
10594
12032
        ;;
10595
 
      cxx)
 
12033
      cxx*)
10596
12034
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10597
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12035
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10598
12036
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10599
12037
          echo "-hidden">> $lib.exp~
10600
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
12038
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10601
12039
          $rm $lib.exp'
10602
12040
 
10603
12041
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10616
12054
      *)
10617
12055
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10618
12056
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10619
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12057
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10620
12058
 
10621
12059
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10622
12060
          hardcode_libdir_separator_CXX=:
10637
12075
    # FIXME: insert proper C++ library support
10638
12076
    ld_shlibs_CXX=no
10639
12077
    ;;
10640
 
  sco*)
10641
 
    archive_cmds_need_lc_CXX=no
10642
 
    case $cc_basename in
10643
 
      CC)
10644
 
        # FIXME: insert proper C++ library support
10645
 
        ld_shlibs_CXX=no
10646
 
        ;;
10647
 
      *)
10648
 
        # FIXME: insert proper C++ library support
10649
 
        ld_shlibs_CXX=no
10650
 
        ;;
10651
 
    esac
10652
 
    ;;
10653
12078
  sunos4*)
10654
12079
    case $cc_basename in
10655
 
      CC)
 
12080
      CC*)
10656
12081
        # Sun C++ 4.x
10657
12082
        # FIXME: insert proper C++ library support
10658
12083
        ld_shlibs_CXX=no
10659
12084
        ;;
10660
 
      lcc)
 
12085
      lcc*)
10661
12086
        # Lucid
10662
12087
        # FIXME: insert proper C++ library support
10663
12088
        ld_shlibs_CXX=no
10670
12095
    ;;
10671
12096
  solaris*)
10672
12097
    case $cc_basename in
10673
 
      CC)
 
12098
      CC*)
10674
12099
        # Sun C++ 4.2, 5.x and Centerline C++
 
12100
        archive_cmds_need_lc_CXX=yes
10675
12101
        no_undefined_flag_CXX=' -zdefs'
10676
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12102
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10677
12103
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10678
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12104
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10679
12105
 
10680
12106
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10681
12107
        hardcode_shlibpath_var_CXX=no
10682
12108
        case $host_os in
10683
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
12109
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10684
12110
          *)
10685
 
            # The C++ compiler is used as linker so we must use $wl
10686
 
            # flag to pass the commands to the underlying system
10687
 
            # linker.
 
12111
            # The compiler driver will combine and reorder linker options,
 
12112
            # but understands `-z linker_flag'.
10688
12113
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10689
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12114
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
10690
12115
            ;;
10691
12116
        esac
10692
12117
        link_all_deplibs_CXX=yes
10693
12118
 
10694
 
        # Commands to make compiler produce verbose output that lists
10695
 
        # what "hidden" libraries, object files and flags are used when
10696
 
        # linking a shared library.
10697
 
        #
10698
 
        # There doesn't appear to be a way to prevent this compiler from
10699
 
        # explicitly linking system object files so we need to strip them
10700
 
        # from the output so that they don't get included in the library
10701
 
        # dependencies.
10702
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12119
        output_verbose_link_cmd='echo'
10703
12120
 
10704
12121
        # Archives containing C++ object files must be created using
10705
12122
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10707
12124
        # in the archive.
10708
12125
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10709
12126
        ;;
10710
 
      gcx)
 
12127
      gcx*)
10711
12128
        # Green Hills C++ Compiler
10712
12129
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10713
12130
 
10741
12158
          fi
10742
12159
 
10743
12160
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12161
          case $host_os in
 
12162
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12163
          *)
 
12164
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12165
            ;;
 
12166
          esac
10744
12167
        fi
10745
12168
        ;;
10746
12169
    esac
10747
12170
    ;;
10748
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10749
 
    archive_cmds_need_lc_CXX=no
 
12171
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12172
    no_undefined_flag_CXX='${wl}-z,text'
 
12173
    archive_cmds_need_lc_CXX=no
 
12174
    hardcode_shlibpath_var_CXX=no
 
12175
    runpath_var='LD_RUN_PATH'
 
12176
 
 
12177
    case $cc_basename in
 
12178
      CC*)
 
12179
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12180
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12181
        ;;
 
12182
      *)
 
12183
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12184
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12185
        ;;
 
12186
    esac
 
12187
    ;;
 
12188
  sysv5* | sco3.2v5* | sco5v6*)
 
12189
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12190
    # link with -lc, and that would cause any symbols used from libc to
 
12191
    # always be unresolved, which means just about no library would
 
12192
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12193
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12194
    # as -z defs.
 
12195
    # For security reasons, it is highly recommended that you always
 
12196
    # use absolute paths for naming shared libraries, and exclude the
 
12197
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12198
    # requires that you compile everything twice, which is a pain.
 
12199
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12200
    # non-empty value in the environment.  Most likely only useful for
 
12201
    # creating official distributions of packages.
 
12202
    # This is a hack until libtool officially supports absolute path
 
12203
    # names for shared libraries.
 
12204
    no_undefined_flag_CXX='${wl}-z,text'
 
12205
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12206
    archive_cmds_need_lc_CXX=no
 
12207
    hardcode_shlibpath_var_CXX=no
 
12208
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12209
    hardcode_libdir_separator_CXX=':'
 
12210
    link_all_deplibs_CXX=yes
 
12211
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12212
    runpath_var='LD_RUN_PATH'
 
12213
 
 
12214
    case $cc_basename in
 
12215
      CC*)
 
12216
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12217
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12218
        ;;
 
12219
      *)
 
12220
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12221
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12222
        ;;
 
12223
    esac
10750
12224
    ;;
10751
12225
  tandem*)
10752
12226
    case $cc_basename in
10753
 
      NCC)
 
12227
      NCC*)
10754
12228
        # NonStop-UX NCC 3.20
10755
12229
        # FIXME: insert proper C++ library support
10756
12230
        ld_shlibs_CXX=no
10770
12244
    ld_shlibs_CXX=no
10771
12245
    ;;
10772
12246
esac
10773
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10774
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12247
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12248
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10775
12249
test "$ld_shlibs_CXX" = no && can_build_shared=no
10776
12250
 
10777
12251
GCC_CXX="$GXX"
10803
12277
  # The `*' in the case matches for architectures that use `case' in
10804
12278
  # $output_verbose_cmd can trigger glob expansion during the loop
10805
12279
  # eval without this substitution.
10806
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12280
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10807
12281
 
10808
12282
  for p in `eval $output_verbose_link_cmd`; do
10809
12283
    case $p in
10879
12353
 
10880
12354
$rm -f confest.$objext
10881
12355
 
 
12356
# PORTME: override above test on systems where it is broken
 
12357
case $host_os in
 
12358
interix[3-9]*)
 
12359
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12360
  # hack all around it, let's just trust "g++" to DTRT.
 
12361
  predep_objects_CXX=
 
12362
  postdep_objects_CXX=
 
12363
  postdeps_CXX=
 
12364
  ;;
 
12365
 
 
12366
linux*)
 
12367
  case `$CC -V 2>&1 | sed 5q` in
 
12368
  *Sun\ C*)
 
12369
    # Sun C++ 5.9
 
12370
    #
 
12371
    # The more standards-conforming stlport4 library is
 
12372
    # incompatible with the Cstd library. Avoid specifying
 
12373
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12374
    # -library=stlport4 depends on it.
 
12375
    case " $CXX $CXXFLAGS " in
 
12376
    *" -library=stlport4 "*)
 
12377
      solaris_use_stlport4=yes
 
12378
      ;;
 
12379
    esac
 
12380
    if test "$solaris_use_stlport4" != yes; then
 
12381
      postdeps_CXX='-library=Cstd -library=Crun'
 
12382
    fi
 
12383
    ;;
 
12384
  esac
 
12385
  ;;
 
12386
 
 
12387
solaris*)
 
12388
  case $cc_basename in
 
12389
  CC*)
 
12390
    # The more standards-conforming stlport4 library is
 
12391
    # incompatible with the Cstd library. Avoid specifying
 
12392
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12393
    # -library=stlport4 depends on it.
 
12394
    case " $CXX $CXXFLAGS " in
 
12395
    *" -library=stlport4 "*)
 
12396
      solaris_use_stlport4=yes
 
12397
      ;;
 
12398
    esac
 
12399
 
 
12400
    # Adding this requires a known-good setup of shared libraries for
 
12401
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12402
    # archive will be linked into the output, leading to subtle bugs.
 
12403
    if test "$solaris_use_stlport4" != yes; then
 
12404
      postdeps_CXX='-library=Cstd -library=Crun'
 
12405
    fi
 
12406
    ;;
 
12407
  esac
 
12408
  ;;
 
12409
esac
 
12410
 
 
12411
 
10882
12412
case " $postdeps_CXX " in
10883
12413
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10884
12414
esac
10887
12417
lt_prog_compiler_pic_CXX=
10888
12418
lt_prog_compiler_static_CXX=
10889
12419
 
10890
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10891
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12420
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12421
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10892
12422
 
10893
12423
  # C++ specific cases for pic, static, wl, etc.
10894
12424
  if test "$GXX" = yes; then
10909
12439
      # like `-m68040'.
10910
12440
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10911
12441
      ;;
10912
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12442
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10913
12443
      # PIC is the default for these OSes.
10914
12444
      ;;
10915
 
    mingw* | os2* | pw32*)
 
12445
    mingw* | cygwin* | os2* | pw32*)
10916
12446
      # This hack is so that the source file can tell whether it is being
10917
12447
      # built for inclusion in a dll (and should export symbols for example).
 
12448
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12449
      # (--disable-auto-import) libraries
10918
12450
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10919
12451
      ;;
10920
12452
    darwin* | rhapsody*)
10926
12458
      # DJGPP does not support shared libraries at all
10927
12459
      lt_prog_compiler_pic_CXX=
10928
12460
      ;;
 
12461
    interix[3-9]*)
 
12462
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12463
      # Instead, we relocate shared libraries at runtime.
 
12464
      ;;
10929
12465
    sysv4*MP*)
10930
12466
      if test -d /usr/nec; then
10931
12467
        lt_prog_compiler_pic_CXX=-Kconform_pic
10934
12470
    hpux*)
10935
12471
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10936
12472
      # not for PA HP-UX.
10937
 
      case "$host_cpu" in
 
12473
      case $host_cpu in
10938
12474
      hppa*64*|ia64*)
10939
12475
        ;;
10940
12476
      *)
10959
12495
        ;;
10960
12496
      chorus*)
10961
12497
        case $cc_basename in
10962
 
        cxch68)
 
12498
        cxch68*)
10963
12499
          # Green Hills C++ Compiler
10964
12500
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
10965
12501
          ;;
10966
12502
        esac
10967
12503
        ;;
 
12504
       darwin*)
 
12505
         # PIC is the default on this platform
 
12506
         # Common symbols not allowed in MH_DYLIB files
 
12507
         case $cc_basename in
 
12508
           xlc*)
 
12509
           lt_prog_compiler_pic_CXX='-qnocommon'
 
12510
           lt_prog_compiler_wl_CXX='-Wl,'
 
12511
           ;;
 
12512
         esac
 
12513
       ;;
10968
12514
      dgux*)
10969
12515
        case $cc_basename in
10970
 
          ec++)
 
12516
          ec++*)
10971
12517
            lt_prog_compiler_pic_CXX='-KPIC'
10972
12518
            ;;
10973
 
          ghcx)
 
12519
          ghcx*)
10974
12520
            # Green Hills C++ Compiler
10975
12521
            lt_prog_compiler_pic_CXX='-pic'
10976
12522
            ;;
10978
12524
            ;;
10979
12525
        esac
10980
12526
        ;;
10981
 
      freebsd* | kfreebsd*-gnu)
 
12527
      freebsd* | dragonfly*)
10982
12528
        # FreeBSD uses GNU C++
10983
12529
        ;;
10984
12530
      hpux9* | hpux10* | hpux11*)
10985
12531
        case $cc_basename in
10986
 
          CC)
 
12532
          CC*)
10987
12533
            lt_prog_compiler_wl_CXX='-Wl,'
10988
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12534
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
10989
12535
            if test "$host_cpu" != ia64; then
10990
12536
              lt_prog_compiler_pic_CXX='+Z'
10991
12537
            fi
10992
12538
            ;;
10993
 
          aCC)
 
12539
          aCC*)
10994
12540
            lt_prog_compiler_wl_CXX='-Wl,'
10995
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10996
 
            case "$host_cpu" in
 
12541
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12542
            case $host_cpu in
10997
12543
            hppa*64*|ia64*)
10998
12544
              # +Z the default
10999
12545
              ;;
11006
12552
            ;;
11007
12553
        esac
11008
12554
        ;;
 
12555
      interix*)
 
12556
        # This is c89, which is MS Visual C++ (no shared libs)
 
12557
        # Anyone wants to do a port?
 
12558
        ;;
11009
12559
      irix5* | irix6* | nonstopux*)
11010
12560
        case $cc_basename in
11011
 
          CC)
 
12561
          CC*)
11012
12562
            lt_prog_compiler_wl_CXX='-Wl,'
11013
12563
            lt_prog_compiler_static_CXX='-non_shared'
11014
12564
            # CC pic flag -KPIC is the default.
11017
12567
            ;;
11018
12568
        esac
11019
12569
        ;;
11020
 
      linux*)
 
12570
      linux* | k*bsd*-gnu)
11021
12571
        case $cc_basename in
11022
 
          KCC)
 
12572
          KCC*)
11023
12573
            # KAI C++ Compiler
11024
12574
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11025
12575
            lt_prog_compiler_pic_CXX='-fPIC'
11026
12576
            ;;
11027
 
          icpc)
 
12577
          icpc* | ecpc*)
11028
12578
            # Intel C++
11029
12579
            lt_prog_compiler_wl_CXX='-Wl,'
11030
12580
            lt_prog_compiler_pic_CXX='-KPIC'
11031
12581
            lt_prog_compiler_static_CXX='-static'
11032
12582
            ;;
11033
 
          cxx)
 
12583
          pgCC*)
 
12584
            # Portland Group C++ compiler.
 
12585
            lt_prog_compiler_wl_CXX='-Wl,'
 
12586
            lt_prog_compiler_pic_CXX='-fpic'
 
12587
            lt_prog_compiler_static_CXX='-Bstatic'
 
12588
            ;;
 
12589
          cxx*)
11034
12590
            # Compaq C++
11035
12591
            # Make sure the PIC flag is empty.  It appears that all Alpha
11036
12592
            # Linux and Compaq Tru64 Unix objects are PIC.
11038
12594
            lt_prog_compiler_static_CXX='-non_shared'
11039
12595
            ;;
11040
12596
          *)
 
12597
            case `$CC -V 2>&1 | sed 5q` in
 
12598
            *Sun\ C*)
 
12599
              # Sun C++ 5.9
 
12600
              lt_prog_compiler_pic_CXX='-KPIC'
 
12601
              lt_prog_compiler_static_CXX='-Bstatic'
 
12602
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12603
              ;;
 
12604
            esac
11041
12605
            ;;
11042
12606
        esac
11043
12607
        ;;
11047
12611
        ;;
11048
12612
      mvs*)
11049
12613
        case $cc_basename in
11050
 
          cxx)
 
12614
          cxx*)
11051
12615
            lt_prog_compiler_pic_CXX='-W c,exportall'
11052
12616
            ;;
11053
12617
          *)
11058
12622
        ;;
11059
12623
      osf3* | osf4* | osf5*)
11060
12624
        case $cc_basename in
11061
 
          KCC)
 
12625
          KCC*)
11062
12626
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11063
12627
            ;;
11064
 
          RCC)
 
12628
          RCC*)
11065
12629
            # Rational C++ 2.4.1
11066
12630
            lt_prog_compiler_pic_CXX='-pic'
11067
12631
            ;;
11068
 
          cxx)
 
12632
          cxx*)
11069
12633
            # Digital/Compaq C++
11070
12634
            lt_prog_compiler_wl_CXX='-Wl,'
11071
12635
            # Make sure the PIC flag is empty.  It appears that all Alpha
11079
12643
        ;;
11080
12644
      psos*)
11081
12645
        ;;
11082
 
      sco*)
11083
 
        case $cc_basename in
11084
 
          CC)
11085
 
            lt_prog_compiler_pic_CXX='-fPIC'
11086
 
            ;;
11087
 
          *)
11088
 
            ;;
11089
 
        esac
11090
 
        ;;
11091
12646
      solaris*)
11092
12647
        case $cc_basename in
11093
 
          CC)
 
12648
          CC*)
11094
12649
            # Sun C++ 4.2, 5.x and Centerline C++
11095
12650
            lt_prog_compiler_pic_CXX='-KPIC'
11096
12651
            lt_prog_compiler_static_CXX='-Bstatic'
11097
12652
            lt_prog_compiler_wl_CXX='-Qoption ld '
11098
12653
            ;;
11099
 
          gcx)
 
12654
          gcx*)
11100
12655
            # Green Hills C++ Compiler
11101
12656
            lt_prog_compiler_pic_CXX='-PIC'
11102
12657
            ;;
11106
12661
        ;;
11107
12662
      sunos4*)
11108
12663
        case $cc_basename in
11109
 
          CC)
 
12664
          CC*)
11110
12665
            # Sun C++ 4.x
11111
12666
            lt_prog_compiler_pic_CXX='-pic'
11112
12667
            lt_prog_compiler_static_CXX='-Bstatic'
11113
12668
            ;;
11114
 
          lcc)
 
12669
          lcc*)
11115
12670
            # Lucid
11116
12671
            lt_prog_compiler_pic_CXX='-pic'
11117
12672
            ;;
11121
12676
        ;;
11122
12677
      tandem*)
11123
12678
        case $cc_basename in
11124
 
          NCC)
 
12679
          NCC*)
11125
12680
            # NonStop-UX NCC 3.20
11126
12681
            lt_prog_compiler_pic_CXX='-KPIC'
11127
12682
            ;;
11129
12684
            ;;
11130
12685
        esac
11131
12686
        ;;
11132
 
      unixware*)
 
12687
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12688
        case $cc_basename in
 
12689
          CC*)
 
12690
            lt_prog_compiler_wl_CXX='-Wl,'
 
12691
            lt_prog_compiler_pic_CXX='-KPIC'
 
12692
            lt_prog_compiler_static_CXX='-Bstatic'
 
12693
            ;;
 
12694
        esac
11133
12695
        ;;
11134
12696
      vxworks*)
11135
12697
        ;;
11139
12701
    esac
11140
12702
  fi
11141
12703
 
11142
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11143
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12704
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12705
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11144
12706
 
11145
12707
#
11146
12708
# Check to make sure the PIC flag actually works.
11147
12709
#
11148
12710
if test -n "$lt_prog_compiler_pic_CXX"; then
11149
12711
 
11150
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11151
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12712
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12713
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11152
12714
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11153
12715
  echo $ECHO_N "(cached) $ECHO_C" >&6
11154
12716
else
11155
12717
  lt_prog_compiler_pic_works_CXX=no
11156
12718
  ac_outfile=conftest.$ac_objext
11157
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12719
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11158
12720
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11159
12721
   # Insert the option either (1) after the last *FLAGS variable, or
11160
12722
   # (2) before a word containing "conftest.", or (3) at the end.
11162
12724
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11163
12725
   # The option is referenced via a variable to avoid confusing sed.
11164
12726
   lt_compile=`echo "$ac_compile" | $SED \
11165
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12727
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11166
12728
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11167
12729
   -e 's:$: $lt_compiler_flag:'`
11168
 
   (eval echo "\"\$as_me:11168: $lt_compile\"" >&5)
 
12730
   (eval echo "\"\$as_me:12730: $lt_compile\"" >&5)
11169
12731
   (eval "$lt_compile" 2>conftest.err)
11170
12732
   ac_status=$?
11171
12733
   cat conftest.err >&5
11172
 
   echo "$as_me:11172: \$? = $ac_status" >&5
 
12734
   echo "$as_me:12734: \$? = $ac_status" >&5
11173
12735
   if (exit $ac_status) && test -s "$ac_outfile"; then
11174
12736
     # The compiler can only warn and ignore the option if not recognized
11175
 
     # So say no if there are warnings
11176
 
     if test ! -s conftest.err; then
 
12737
     # So say no if there are warnings other than the usual output.
 
12738
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12739
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12740
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11177
12741
       lt_prog_compiler_pic_works_CXX=yes
11178
12742
     fi
11179
12743
   fi
11180
12744
   $rm conftest*
11181
12745
 
11182
12746
fi
11183
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11184
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12747
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12748
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11185
12749
 
11186
12750
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11187
12751
    case $lt_prog_compiler_pic_CXX in
11194
12758
fi
11195
12759
 
11196
12760
fi
11197
 
case "$host_os" in
 
12761
case $host_os in
11198
12762
  # For platforms which do not support PIC, -DPIC is meaningless:
11199
12763
  *djgpp*)
11200
12764
    lt_prog_compiler_pic_CXX=
11204
12768
    ;;
11205
12769
esac
11206
12770
 
11207
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11208
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12771
#
 
12772
# Check to make sure the static flag actually works.
 
12773
#
 
12774
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12775
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12776
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12777
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12778
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12779
else
 
12780
  lt_prog_compiler_static_works_CXX=no
 
12781
   save_LDFLAGS="$LDFLAGS"
 
12782
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12783
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
12784
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12785
     # The linker can only warn and ignore the option if not recognized
 
12786
     # So say no if there are warnings
 
12787
     if test -s conftest.err; then
 
12788
       # Append any errors to the config.log.
 
12789
       cat conftest.err 1>&5
 
12790
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12791
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12792
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12793
         lt_prog_compiler_static_works_CXX=yes
 
12794
       fi
 
12795
     else
 
12796
       lt_prog_compiler_static_works_CXX=yes
 
12797
     fi
 
12798
   fi
 
12799
   $rm conftest*
 
12800
   LDFLAGS="$save_LDFLAGS"
 
12801
 
 
12802
fi
 
12803
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12804
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12805
 
 
12806
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12807
    :
 
12808
else
 
12809
    lt_prog_compiler_static_CXX=
 
12810
fi
 
12811
 
 
12812
 
 
12813
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12814
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11209
12815
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11210
12816
  echo $ECHO_N "(cached) $ECHO_C" >&6
11211
12817
else
11214
12820
   mkdir conftest
11215
12821
   cd conftest
11216
12822
   mkdir out
11217
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12823
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11218
12824
 
11219
12825
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11220
12826
   # Insert the option either (1) after the last *FLAGS variable, or
11222
12828
   # Note that $ac_compile itself does not contain backslashes and begins
11223
12829
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11224
12830
   lt_compile=`echo "$ac_compile" | $SED \
11225
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12831
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11226
12832
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11227
12833
   -e 's:$: $lt_compiler_flag:'`
11228
 
   (eval echo "\"\$as_me:11228: $lt_compile\"" >&5)
 
12834
   (eval echo "\"\$as_me:12834: $lt_compile\"" >&5)
11229
12835
   (eval "$lt_compile" 2>out/conftest.err)
11230
12836
   ac_status=$?
11231
12837
   cat out/conftest.err >&5
11232
 
   echo "$as_me:11232: \$? = $ac_status" >&5
 
12838
   echo "$as_me:12838: \$? = $ac_status" >&5
11233
12839
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11234
12840
   then
11235
12841
     # The compiler can only warn and ignore the option if not recognized
11236
12842
     # So say no if there are warnings
11237
 
     if test ! -s out/conftest.err; then
 
12843
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12844
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12845
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11238
12846
       lt_cv_prog_compiler_c_o_CXX=yes
11239
12847
     fi
11240
12848
   fi
11241
 
   chmod u+w .
 
12849
   chmod u+w . 2>&5
11242
12850
   $rm conftest*
11243
12851
   # SGI C++ compiler will create directory out/ii_files/ for
11244
12852
   # template instantiation
11249
12857
   $rm conftest*
11250
12858
 
11251
12859
fi
11252
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11253
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12860
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12861
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11254
12862
 
11255
12863
 
11256
12864
hard_links="nottested"
11257
12865
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11258
12866
  # do not overwrite the value of need_locks provided by the user
11259
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11260
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12867
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12868
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11261
12869
  hard_links=yes
11262
12870
  $rm conftest*
11263
12871
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11264
12872
  touch conftest.a
11265
12873
  ln conftest.a conftest.b 2>&5 || hard_links=no
11266
12874
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11267
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11268
 
echo "${ECHO_T}$hard_links" >&6
 
12875
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12876
echo "${ECHO_T}$hard_links" >&6; }
11269
12877
  if test "$hard_links" = no; then
11270
12878
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11271
12879
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11275
12883
  need_locks=no
11276
12884
fi
11277
12885
 
11278
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11279
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12886
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12887
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11280
12888
 
11281
12889
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11282
12890
  case $host_os in
11293
12901
    export_symbols_cmds_CXX="$ltdll_cmds"
11294
12902
  ;;
11295
12903
  cygwin* | mingw*)
11296
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
12904
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11297
12905
  ;;
11298
12906
  *)
11299
12907
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11300
12908
  ;;
11301
12909
  esac
11302
12910
 
11303
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11304
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12911
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12912
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11305
12913
test "$ld_shlibs_CXX" = no && can_build_shared=no
11306
12914
 
11307
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11308
 
if test "$GCC" = yes; then
11309
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11310
 
fi
11311
 
 
11312
12915
#
11313
12916
# Do we need to explicitly link libc?
11314
12917
#
11326
12929
      # Test whether the compiler implicitly links with -lc since on some
11327
12930
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11328
12931
      # to ld, don't add -lc before -lgcc.
11329
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11330
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12932
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12933
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11331
12934
      $rm conftest*
11332
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12935
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11333
12936
 
11334
12937
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11335
12938
  (eval $ac_compile) 2>&5
11341
12944
        libobjs=conftest.$ac_objext
11342
12945
        deplibs=
11343
12946
        wl=$lt_prog_compiler_wl_CXX
 
12947
        pic_flag=$lt_prog_compiler_pic_CXX
11344
12948
        compiler_flags=-v
11345
12949
        linker_flags=-v
11346
12950
        verstring=
11363
12967
        cat conftest.err 1>&5
11364
12968
      fi
11365
12969
      $rm conftest*
11366
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11367
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12970
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12971
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11368
12972
      ;;
11369
12973
    esac
11370
12974
  fi
11371
12975
  ;;
11372
12976
esac
11373
12977
 
11374
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11375
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12978
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12979
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11376
12980
library_names_spec=
11377
12981
libname_spec='lib$name'
11378
12982
soname_spec=
11386
12990
version_type=none
11387
12991
dynamic_linker="$host_os ld.so"
11388
12992
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11389
 
if test "$GCC" = yes; then
11390
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11391
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11392
 
    # if the path contains ";" then we assume it to be the separator
11393
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11394
 
    # assumed that no part of a normal pathname contains ";" but that should
11395
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11396
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11397
 
  else
11398
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11399
 
  fi
11400
 
else
11401
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11402
 
fi
 
12993
 
11403
12994
need_lib_prefix=unknown
11404
12995
hardcode_into_libs=no
11405
12996
 
11473
13064
  shlibpath_var=LIBRARY_PATH
11474
13065
  ;;
11475
13066
 
11476
 
bsdi4*)
 
13067
bsdi[45]*)
11477
13068
  version_type=linux
11478
13069
  need_version=no
11479
13070
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11501
13092
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11502
13093
      dldir=$destdir/`dirname \$dlpath`~
11503
13094
      test -d \$dldir || mkdir -p \$dldir~
11504
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13095
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13096
      chmod a+x \$dldir/$dlname'
11505
13097
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11506
13098
      dlpath=$dir/\$dldll~
11507
13099
       $rm \$dlpath'
11531
13123
      ;;
11532
13124
    pw32*)
11533
13125
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11534
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
13126
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11535
13127
      ;;
11536
13128
    esac
11537
13129
    ;;
11554
13146
  soname_spec='${libname}${release}${major}$shared_ext'
11555
13147
  shlibpath_overrides_runpath=yes
11556
13148
  shlibpath_var=DYLD_LIBRARY_PATH
11557
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11558
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11559
 
  if test "$GCC" = yes; then
11560
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11561
 
  else
11562
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11563
 
  fi
 
13149
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
13150
 
11564
13151
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11565
13152
  ;;
11566
13153
 
11577
13164
  dynamic_linker=no
11578
13165
  ;;
11579
13166
 
11580
 
kfreebsd*-gnu)
11581
 
  version_type=linux
11582
 
  need_lib_prefix=no
11583
 
  need_version=no
11584
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11585
 
  soname_spec='${libname}${release}${shared_ext}$major'
11586
 
  shlibpath_var=LD_LIBRARY_PATH
11587
 
  shlibpath_overrides_runpath=no
11588
 
  hardcode_into_libs=yes
11589
 
  dynamic_linker='GNU ld.so'
11590
 
  ;;
11591
 
 
11592
 
freebsd*)
11593
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13167
freebsd* | dragonfly*)
 
13168
  # DragonFly does not have aout.  When/if they implement a new
 
13169
  # versioning mechanism, adjust this.
 
13170
  if test -x /usr/bin/objformat; then
 
13171
    objformat=`/usr/bin/objformat`
 
13172
  else
 
13173
    case $host_os in
 
13174
    freebsd[123]*) objformat=aout ;;
 
13175
    *) objformat=elf ;;
 
13176
    esac
 
13177
  fi
11594
13178
  version_type=freebsd-$objformat
11595
13179
  case $version_type in
11596
13180
    freebsd-elf*)
11608
13192
  freebsd2*)
11609
13193
    shlibpath_overrides_runpath=yes
11610
13194
    ;;
11611
 
  freebsd3.01* | freebsdelf3.01*)
 
13195
  freebsd3.[01]* | freebsdelf3.[01]*)
11612
13196
    shlibpath_overrides_runpath=yes
11613
13197
    hardcode_into_libs=yes
11614
13198
    ;;
11615
 
  *) # from 3.2 on
 
13199
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13200
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11616
13201
    shlibpath_overrides_runpath=no
11617
13202
    hardcode_into_libs=yes
11618
13203
    ;;
 
13204
  *) # from 4.6 on, and DragonFly
 
13205
    shlibpath_overrides_runpath=yes
 
13206
    hardcode_into_libs=yes
 
13207
    ;;
11619
13208
  esac
11620
13209
  ;;
11621
13210
 
11635
13224
  version_type=sunos
11636
13225
  need_lib_prefix=no
11637
13226
  need_version=no
11638
 
  case "$host_cpu" in
 
13227
  case $host_cpu in
11639
13228
  ia64*)
11640
13229
    shrext_cmds='.so'
11641
13230
    hardcode_into_libs=yes
11675
13264
  postinstall_cmds='chmod 555 $lib'
11676
13265
  ;;
11677
13266
 
 
13267
interix[3-9]*)
 
13268
  version_type=linux
 
13269
  need_lib_prefix=no
 
13270
  need_version=no
 
13271
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13272
  soname_spec='${libname}${release}${shared_ext}$major'
 
13273
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13274
  shlibpath_var=LD_LIBRARY_PATH
 
13275
  shlibpath_overrides_runpath=no
 
13276
  hardcode_into_libs=yes
 
13277
  ;;
 
13278
 
11678
13279
irix5* | irix6* | nonstopux*)
11679
13280
  case $host_os in
11680
13281
    nonstopux*) version_type=nonstopux ;;
11718
13319
  ;;
11719
13320
 
11720
13321
# This must be Linux ELF.
11721
 
linux*)
 
13322
linux* | k*bsd*-gnu)
11722
13323
  version_type=linux
11723
13324
  need_lib_prefix=no
11724
13325
  need_version=no
11731
13332
  # Some rework will be needed to allow for fast_install
11732
13333
  # before this can be enabled.
11733
13334
  hardcode_into_libs=yes
11734
 
 
11735
 
  # find out which ABI we are using
11736
 
  libsuff=
11737
 
  case "$host_cpu" in
11738
 
  x86_64*|s390x*|powerpc64*)
11739
 
    echo '#line 11739 "configure"' > conftest.$ac_ext
11740
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11741
 
  (eval $ac_compile) 2>&5
11742
 
  ac_status=$?
11743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744
 
  (exit $ac_status); }; then
11745
 
      case `/usr/bin/file conftest.$ac_objext` in
11746
 
      *64-bit*)
11747
 
        libsuff=64
11748
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11749
 
        ;;
11750
 
      esac
11751
 
    fi
11752
 
    rm -rf conftest*
11753
 
    ;;
11754
 
  esac
 
13335
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
13336
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11755
13337
 
11756
13338
  # Append ld.so.conf contents to the search path
11757
13339
  if test -f /etc/ld.so.conf; then
11758
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11759
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13340
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13341
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11760
13342
  fi
11761
13343
 
11762
13344
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11768
13350
  dynamic_linker='GNU/Linux ld.so'
11769
13351
  ;;
11770
13352
 
11771
 
knetbsd*-gnu)
11772
 
  version_type=linux
11773
 
  need_lib_prefix=no
11774
 
  need_version=no
11775
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11776
 
  soname_spec='${libname}${release}${shared_ext}$major'
11777
 
  shlibpath_var=LD_LIBRARY_PATH
11778
 
  shlibpath_overrides_runpath=no
11779
 
  hardcode_into_libs=yes
11780
 
  dynamic_linker='GNU ld.so'
11781
 
  ;;
11782
 
 
11783
13353
netbsd*)
11784
13354
  version_type=sunos
11785
13355
  need_lib_prefix=no
11817
13387
 
11818
13388
openbsd*)
11819
13389
  version_type=sunos
 
13390
  sys_lib_dlsearch_path_spec="/usr/lib"
11820
13391
  need_lib_prefix=no
11821
 
  need_version=yes
 
13392
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13393
  case $host_os in
 
13394
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13395
    *)                         need_version=no  ;;
 
13396
  esac
11822
13397
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11823
13398
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11824
13399
  shlibpath_var=LD_LIBRARY_PATH
11856
13431
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11857
13432
  ;;
11858
13433
 
11859
 
sco3.2v5*)
11860
 
  version_type=osf
11861
 
  soname_spec='${libname}${release}${shared_ext}$major'
11862
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11863
 
  shlibpath_var=LD_LIBRARY_PATH
 
13434
rdos*)
 
13435
  dynamic_linker=no
11864
13436
  ;;
11865
13437
 
11866
13438
solaris*)
11888
13460
  need_version=yes
11889
13461
  ;;
11890
13462
 
11891
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13463
sysv4 | sysv4.3*)
11892
13464
  version_type=linux
11893
13465
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11894
13466
  soname_spec='${libname}${release}${shared_ext}$major'
11921
13493
  fi
11922
13494
  ;;
11923
13495
 
 
13496
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13497
  version_type=freebsd-elf
 
13498
  need_lib_prefix=no
 
13499
  need_version=no
 
13500
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13501
  soname_spec='${libname}${release}${shared_ext}$major'
 
13502
  shlibpath_var=LD_LIBRARY_PATH
 
13503
  hardcode_into_libs=yes
 
13504
  if test "$with_gnu_ld" = yes; then
 
13505
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13506
    shlibpath_overrides_runpath=no
 
13507
  else
 
13508
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13509
    shlibpath_overrides_runpath=yes
 
13510
    case $host_os in
 
13511
      sco3.2v5*)
 
13512
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13513
        ;;
 
13514
    esac
 
13515
  fi
 
13516
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13517
  ;;
 
13518
 
11924
13519
uts4*)
11925
13520
  version_type=linux
11926
13521
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11932
13527
  dynamic_linker=no
11933
13528
  ;;
11934
13529
esac
11935
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11936
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13530
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13531
echo "${ECHO_T}$dynamic_linker" >&6; }
11937
13532
test "$dynamic_linker" = no && can_build_shared=no
11938
13533
 
11939
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11940
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13534
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13535
if test "$GCC" = yes; then
 
13536
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13537
fi
 
13538
 
 
13539
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13540
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11941
13541
hardcode_action_CXX=
11942
13542
if test -n "$hardcode_libdir_flag_spec_CXX" || \
11943
 
   test -n "$runpath_var CXX" || \
11944
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
13543
   test -n "$runpath_var_CXX" || \
 
13544
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
11945
13545
 
11946
13546
  # We can hardcode non-existant directories.
11947
13547
  if test "$hardcode_direct_CXX" != no &&
11961
13561
  # directories.
11962
13562
  hardcode_action_CXX=unsupported
11963
13563
fi
11964
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11965
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13564
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13565
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
11966
13566
 
11967
13567
if test "$hardcode_action_CXX" = relink; then
11968
13568
  # Fast installation is not supported
11973
13573
  enable_fast_install=needless
11974
13574
fi
11975
13575
 
11976
 
striplib=
11977
 
old_striplib=
11978
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11979
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11980
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11981
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11982
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11983
 
  echo "$as_me:$LINENO: result: yes" >&5
11984
 
echo "${ECHO_T}yes" >&6
11985
 
else
11986
 
# FIXME - insert some real tests, host_os isn't really good enough
11987
 
  case $host_os in
11988
 
   darwin*)
11989
 
       if test -n "$STRIP" ; then
11990
 
         striplib="$STRIP -x"
11991
 
         echo "$as_me:$LINENO: result: yes" >&5
11992
 
echo "${ECHO_T}yes" >&6
11993
 
       else
11994
 
  echo "$as_me:$LINENO: result: no" >&5
11995
 
echo "${ECHO_T}no" >&6
11996
 
fi
11997
 
       ;;
11998
 
   *)
11999
 
  echo "$as_me:$LINENO: result: no" >&5
12000
 
echo "${ECHO_T}no" >&6
12001
 
    ;;
12002
 
  esac
12003
 
fi
12004
 
 
12005
 
if test "x$enable_dlopen" != xyes; then
12006
 
  enable_dlopen=unknown
12007
 
  enable_dlopen_self=unknown
12008
 
  enable_dlopen_self_static=unknown
12009
 
else
12010
 
  lt_cv_dlopen=no
12011
 
  lt_cv_dlopen_libs=
12012
 
 
12013
 
  case $host_os in
12014
 
  beos*)
12015
 
    lt_cv_dlopen="load_add_on"
12016
 
    lt_cv_dlopen_libs=
12017
 
    lt_cv_dlopen_self=yes
12018
 
    ;;
12019
 
 
12020
 
  mingw* | pw32*)
12021
 
    lt_cv_dlopen="LoadLibrary"
12022
 
    lt_cv_dlopen_libs=
12023
 
   ;;
12024
 
 
12025
 
  cygwin*)
12026
 
    lt_cv_dlopen="dlopen"
12027
 
    lt_cv_dlopen_libs=
12028
 
   ;;
12029
 
 
12030
 
  darwin*)
12031
 
  # if libdl is installed we need to link against it
12032
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12033
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12034
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12036
 
else
12037
 
  ac_check_lib_save_LIBS=$LIBS
12038
 
LIBS="-ldl  $LIBS"
12039
 
cat >conftest.$ac_ext <<_ACEOF
12040
 
/* confdefs.h.  */
12041
 
_ACEOF
12042
 
cat confdefs.h >>conftest.$ac_ext
12043
 
cat >>conftest.$ac_ext <<_ACEOF
12044
 
/* end confdefs.h.  */
12045
 
 
12046
 
/* Override any gcc2 internal prototype to avoid an error.  */
12047
 
#ifdef __cplusplus
12048
 
extern "C"
12049
 
#endif
12050
 
/* We use char because int might match the return type of a gcc2
12051
 
   builtin and then its argument prototype would still apply.  */
12052
 
char dlopen ();
12053
 
int
12054
 
main ()
12055
 
{
12056
 
dlopen ();
12057
 
  ;
12058
 
  return 0;
12059
 
}
12060
 
_ACEOF
12061
 
rm -f conftest.$ac_objext conftest$ac_exeext
12062
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12063
 
  (eval $ac_link) 2>conftest.er1
12064
 
  ac_status=$?
12065
 
  grep -v '^ *+' conftest.er1 >conftest.err
12066
 
  rm -f conftest.er1
12067
 
  cat conftest.err >&5
12068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069
 
  (exit $ac_status); } &&
12070
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12071
 
                         || test ! -s conftest.err'
12072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073
 
  (eval $ac_try) 2>&5
12074
 
  ac_status=$?
12075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076
 
  (exit $ac_status); }; } &&
12077
 
         { ac_try='test -s conftest$ac_exeext'
12078
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079
 
  (eval $ac_try) 2>&5
12080
 
  ac_status=$?
12081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082
 
  (exit $ac_status); }; }; then
12083
 
  ac_cv_lib_dl_dlopen=yes
12084
 
else
12085
 
  echo "$as_me: failed program was:" >&5
12086
 
sed 's/^/| /' conftest.$ac_ext >&5
12087
 
 
12088
 
ac_cv_lib_dl_dlopen=no
12089
 
fi
12090
 
rm -f conftest.err conftest.$ac_objext \
12091
 
      conftest$ac_exeext conftest.$ac_ext
12092
 
LIBS=$ac_check_lib_save_LIBS
12093
 
fi
12094
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12095
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12096
 
if test $ac_cv_lib_dl_dlopen = yes; then
12097
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12098
 
else
12099
 
 
12100
 
    lt_cv_dlopen="dyld"
12101
 
    lt_cv_dlopen_libs=
12102
 
    lt_cv_dlopen_self=yes
12103
 
 
12104
 
fi
12105
 
 
12106
 
   ;;
12107
 
 
12108
 
  *)
12109
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12110
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12111
 
if test "${ac_cv_func_shl_load+set}" = set; then
12112
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12113
 
else
12114
 
  cat >conftest.$ac_ext <<_ACEOF
12115
 
/* confdefs.h.  */
12116
 
_ACEOF
12117
 
cat confdefs.h >>conftest.$ac_ext
12118
 
cat >>conftest.$ac_ext <<_ACEOF
12119
 
/* end confdefs.h.  */
12120
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12121
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12122
 
#define shl_load innocuous_shl_load
12123
 
 
12124
 
/* System header to define __stub macros and hopefully few prototypes,
12125
 
    which can conflict with char shl_load (); below.
12126
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12127
 
    <limits.h> exists even on freestanding compilers.  */
12128
 
 
12129
 
#ifdef __STDC__
12130
 
# include <limits.h>
12131
 
#else
12132
 
# include <assert.h>
12133
 
#endif
12134
 
 
12135
 
#undef shl_load
12136
 
 
12137
 
/* Override any gcc2 internal prototype to avoid an error.  */
12138
 
#ifdef __cplusplus
12139
 
extern "C"
12140
 
{
12141
 
#endif
12142
 
/* We use char because int might match the return type of a gcc2
12143
 
   builtin and then its argument prototype would still apply.  */
12144
 
char shl_load ();
12145
 
/* The GNU C library defines this for functions which it implements
12146
 
    to always fail with ENOSYS.  Some functions are actually named
12147
 
    something starting with __ and the normal name is an alias.  */
12148
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12149
 
choke me
12150
 
#else
12151
 
char (*f) () = shl_load;
12152
 
#endif
12153
 
#ifdef __cplusplus
12154
 
}
12155
 
#endif
12156
 
 
12157
 
int
12158
 
main ()
12159
 
{
12160
 
return f != shl_load;
12161
 
  ;
12162
 
  return 0;
12163
 
}
12164
 
_ACEOF
12165
 
rm -f conftest.$ac_objext conftest$ac_exeext
12166
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12167
 
  (eval $ac_link) 2>conftest.er1
12168
 
  ac_status=$?
12169
 
  grep -v '^ *+' conftest.er1 >conftest.err
12170
 
  rm -f conftest.er1
12171
 
  cat conftest.err >&5
12172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173
 
  (exit $ac_status); } &&
12174
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12175
 
                         || test ! -s conftest.err'
12176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12177
 
  (eval $ac_try) 2>&5
12178
 
  ac_status=$?
12179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180
 
  (exit $ac_status); }; } &&
12181
 
         { ac_try='test -s conftest$ac_exeext'
12182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12183
 
  (eval $ac_try) 2>&5
12184
 
  ac_status=$?
12185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186
 
  (exit $ac_status); }; }; then
12187
 
  ac_cv_func_shl_load=yes
12188
 
else
12189
 
  echo "$as_me: failed program was:" >&5
12190
 
sed 's/^/| /' conftest.$ac_ext >&5
12191
 
 
12192
 
ac_cv_func_shl_load=no
12193
 
fi
12194
 
rm -f conftest.err conftest.$ac_objext \
12195
 
      conftest$ac_exeext conftest.$ac_ext
12196
 
fi
12197
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12198
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12199
 
if test $ac_cv_func_shl_load = yes; then
12200
 
  lt_cv_dlopen="shl_load"
12201
 
else
12202
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12203
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12204
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12206
 
else
12207
 
  ac_check_lib_save_LIBS=$LIBS
12208
 
LIBS="-ldld  $LIBS"
12209
 
cat >conftest.$ac_ext <<_ACEOF
12210
 
/* confdefs.h.  */
12211
 
_ACEOF
12212
 
cat confdefs.h >>conftest.$ac_ext
12213
 
cat >>conftest.$ac_ext <<_ACEOF
12214
 
/* end confdefs.h.  */
12215
 
 
12216
 
/* Override any gcc2 internal prototype to avoid an error.  */
12217
 
#ifdef __cplusplus
12218
 
extern "C"
12219
 
#endif
12220
 
/* We use char because int might match the return type of a gcc2
12221
 
   builtin and then its argument prototype would still apply.  */
12222
 
char shl_load ();
12223
 
int
12224
 
main ()
12225
 
{
12226
 
shl_load ();
12227
 
  ;
12228
 
  return 0;
12229
 
}
12230
 
_ACEOF
12231
 
rm -f conftest.$ac_objext conftest$ac_exeext
12232
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12233
 
  (eval $ac_link) 2>conftest.er1
12234
 
  ac_status=$?
12235
 
  grep -v '^ *+' conftest.er1 >conftest.err
12236
 
  rm -f conftest.er1
12237
 
  cat conftest.err >&5
12238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239
 
  (exit $ac_status); } &&
12240
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12241
 
                         || test ! -s conftest.err'
12242
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243
 
  (eval $ac_try) 2>&5
12244
 
  ac_status=$?
12245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246
 
  (exit $ac_status); }; } &&
12247
 
         { ac_try='test -s conftest$ac_exeext'
12248
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12249
 
  (eval $ac_try) 2>&5
12250
 
  ac_status=$?
12251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252
 
  (exit $ac_status); }; }; then
12253
 
  ac_cv_lib_dld_shl_load=yes
12254
 
else
12255
 
  echo "$as_me: failed program was:" >&5
12256
 
sed 's/^/| /' conftest.$ac_ext >&5
12257
 
 
12258
 
ac_cv_lib_dld_shl_load=no
12259
 
fi
12260
 
rm -f conftest.err conftest.$ac_objext \
12261
 
      conftest$ac_exeext conftest.$ac_ext
12262
 
LIBS=$ac_check_lib_save_LIBS
12263
 
fi
12264
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12265
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12266
 
if test $ac_cv_lib_dld_shl_load = yes; then
12267
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12268
 
else
12269
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12270
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12271
 
if test "${ac_cv_func_dlopen+set}" = set; then
12272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12273
 
else
12274
 
  cat >conftest.$ac_ext <<_ACEOF
12275
 
/* confdefs.h.  */
12276
 
_ACEOF
12277
 
cat confdefs.h >>conftest.$ac_ext
12278
 
cat >>conftest.$ac_ext <<_ACEOF
12279
 
/* end confdefs.h.  */
12280
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12281
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12282
 
#define dlopen innocuous_dlopen
12283
 
 
12284
 
/* System header to define __stub macros and hopefully few prototypes,
12285
 
    which can conflict with char dlopen (); below.
12286
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12287
 
    <limits.h> exists even on freestanding compilers.  */
12288
 
 
12289
 
#ifdef __STDC__
12290
 
# include <limits.h>
12291
 
#else
12292
 
# include <assert.h>
12293
 
#endif
12294
 
 
12295
 
#undef dlopen
12296
 
 
12297
 
/* Override any gcc2 internal prototype to avoid an error.  */
12298
 
#ifdef __cplusplus
12299
 
extern "C"
12300
 
{
12301
 
#endif
12302
 
/* We use char because int might match the return type of a gcc2
12303
 
   builtin and then its argument prototype would still apply.  */
12304
 
char dlopen ();
12305
 
/* The GNU C library defines this for functions which it implements
12306
 
    to always fail with ENOSYS.  Some functions are actually named
12307
 
    something starting with __ and the normal name is an alias.  */
12308
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12309
 
choke me
12310
 
#else
12311
 
char (*f) () = dlopen;
12312
 
#endif
12313
 
#ifdef __cplusplus
12314
 
}
12315
 
#endif
12316
 
 
12317
 
int
12318
 
main ()
12319
 
{
12320
 
return f != dlopen;
12321
 
  ;
12322
 
  return 0;
12323
 
}
12324
 
_ACEOF
12325
 
rm -f conftest.$ac_objext conftest$ac_exeext
12326
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12327
 
  (eval $ac_link) 2>conftest.er1
12328
 
  ac_status=$?
12329
 
  grep -v '^ *+' conftest.er1 >conftest.err
12330
 
  rm -f conftest.er1
12331
 
  cat conftest.err >&5
12332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333
 
  (exit $ac_status); } &&
12334
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12335
 
                         || test ! -s conftest.err'
12336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337
 
  (eval $ac_try) 2>&5
12338
 
  ac_status=$?
12339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340
 
  (exit $ac_status); }; } &&
12341
 
         { ac_try='test -s conftest$ac_exeext'
12342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12343
 
  (eval $ac_try) 2>&5
12344
 
  ac_status=$?
12345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346
 
  (exit $ac_status); }; }; then
12347
 
  ac_cv_func_dlopen=yes
12348
 
else
12349
 
  echo "$as_me: failed program was:" >&5
12350
 
sed 's/^/| /' conftest.$ac_ext >&5
12351
 
 
12352
 
ac_cv_func_dlopen=no
12353
 
fi
12354
 
rm -f conftest.err conftest.$ac_objext \
12355
 
      conftest$ac_exeext conftest.$ac_ext
12356
 
fi
12357
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12358
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12359
 
if test $ac_cv_func_dlopen = yes; then
12360
 
  lt_cv_dlopen="dlopen"
12361
 
else
12362
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12363
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12364
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12366
 
else
12367
 
  ac_check_lib_save_LIBS=$LIBS
12368
 
LIBS="-ldl  $LIBS"
12369
 
cat >conftest.$ac_ext <<_ACEOF
12370
 
/* confdefs.h.  */
12371
 
_ACEOF
12372
 
cat confdefs.h >>conftest.$ac_ext
12373
 
cat >>conftest.$ac_ext <<_ACEOF
12374
 
/* end confdefs.h.  */
12375
 
 
12376
 
/* Override any gcc2 internal prototype to avoid an error.  */
12377
 
#ifdef __cplusplus
12378
 
extern "C"
12379
 
#endif
12380
 
/* We use char because int might match the return type of a gcc2
12381
 
   builtin and then its argument prototype would still apply.  */
12382
 
char dlopen ();
12383
 
int
12384
 
main ()
12385
 
{
12386
 
dlopen ();
12387
 
  ;
12388
 
  return 0;
12389
 
}
12390
 
_ACEOF
12391
 
rm -f conftest.$ac_objext conftest$ac_exeext
12392
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12393
 
  (eval $ac_link) 2>conftest.er1
12394
 
  ac_status=$?
12395
 
  grep -v '^ *+' conftest.er1 >conftest.err
12396
 
  rm -f conftest.er1
12397
 
  cat conftest.err >&5
12398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399
 
  (exit $ac_status); } &&
12400
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12401
 
                         || test ! -s conftest.err'
12402
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403
 
  (eval $ac_try) 2>&5
12404
 
  ac_status=$?
12405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406
 
  (exit $ac_status); }; } &&
12407
 
         { ac_try='test -s conftest$ac_exeext'
12408
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409
 
  (eval $ac_try) 2>&5
12410
 
  ac_status=$?
12411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412
 
  (exit $ac_status); }; }; then
12413
 
  ac_cv_lib_dl_dlopen=yes
12414
 
else
12415
 
  echo "$as_me: failed program was:" >&5
12416
 
sed 's/^/| /' conftest.$ac_ext >&5
12417
 
 
12418
 
ac_cv_lib_dl_dlopen=no
12419
 
fi
12420
 
rm -f conftest.err conftest.$ac_objext \
12421
 
      conftest$ac_exeext conftest.$ac_ext
12422
 
LIBS=$ac_check_lib_save_LIBS
12423
 
fi
12424
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12425
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12426
 
if test $ac_cv_lib_dl_dlopen = yes; then
12427
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12428
 
else
12429
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12430
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12431
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12433
 
else
12434
 
  ac_check_lib_save_LIBS=$LIBS
12435
 
LIBS="-lsvld  $LIBS"
12436
 
cat >conftest.$ac_ext <<_ACEOF
12437
 
/* confdefs.h.  */
12438
 
_ACEOF
12439
 
cat confdefs.h >>conftest.$ac_ext
12440
 
cat >>conftest.$ac_ext <<_ACEOF
12441
 
/* end confdefs.h.  */
12442
 
 
12443
 
/* Override any gcc2 internal prototype to avoid an error.  */
12444
 
#ifdef __cplusplus
12445
 
extern "C"
12446
 
#endif
12447
 
/* We use char because int might match the return type of a gcc2
12448
 
   builtin and then its argument prototype would still apply.  */
12449
 
char dlopen ();
12450
 
int
12451
 
main ()
12452
 
{
12453
 
dlopen ();
12454
 
  ;
12455
 
  return 0;
12456
 
}
12457
 
_ACEOF
12458
 
rm -f conftest.$ac_objext conftest$ac_exeext
12459
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460
 
  (eval $ac_link) 2>conftest.er1
12461
 
  ac_status=$?
12462
 
  grep -v '^ *+' conftest.er1 >conftest.err
12463
 
  rm -f conftest.er1
12464
 
  cat conftest.err >&5
12465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466
 
  (exit $ac_status); } &&
12467
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12468
 
                         || test ! -s conftest.err'
12469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470
 
  (eval $ac_try) 2>&5
12471
 
  ac_status=$?
12472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473
 
  (exit $ac_status); }; } &&
12474
 
         { ac_try='test -s conftest$ac_exeext'
12475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476
 
  (eval $ac_try) 2>&5
12477
 
  ac_status=$?
12478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479
 
  (exit $ac_status); }; }; then
12480
 
  ac_cv_lib_svld_dlopen=yes
12481
 
else
12482
 
  echo "$as_me: failed program was:" >&5
12483
 
sed 's/^/| /' conftest.$ac_ext >&5
12484
 
 
12485
 
ac_cv_lib_svld_dlopen=no
12486
 
fi
12487
 
rm -f conftest.err conftest.$ac_objext \
12488
 
      conftest$ac_exeext conftest.$ac_ext
12489
 
LIBS=$ac_check_lib_save_LIBS
12490
 
fi
12491
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12492
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12493
 
if test $ac_cv_lib_svld_dlopen = yes; then
12494
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12495
 
else
12496
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12497
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12498
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12500
 
else
12501
 
  ac_check_lib_save_LIBS=$LIBS
12502
 
LIBS="-ldld  $LIBS"
12503
 
cat >conftest.$ac_ext <<_ACEOF
12504
 
/* confdefs.h.  */
12505
 
_ACEOF
12506
 
cat confdefs.h >>conftest.$ac_ext
12507
 
cat >>conftest.$ac_ext <<_ACEOF
12508
 
/* end confdefs.h.  */
12509
 
 
12510
 
/* Override any gcc2 internal prototype to avoid an error.  */
12511
 
#ifdef __cplusplus
12512
 
extern "C"
12513
 
#endif
12514
 
/* We use char because int might match the return type of a gcc2
12515
 
   builtin and then its argument prototype would still apply.  */
12516
 
char dld_link ();
12517
 
int
12518
 
main ()
12519
 
{
12520
 
dld_link ();
12521
 
  ;
12522
 
  return 0;
12523
 
}
12524
 
_ACEOF
12525
 
rm -f conftest.$ac_objext conftest$ac_exeext
12526
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12527
 
  (eval $ac_link) 2>conftest.er1
12528
 
  ac_status=$?
12529
 
  grep -v '^ *+' conftest.er1 >conftest.err
12530
 
  rm -f conftest.er1
12531
 
  cat conftest.err >&5
12532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533
 
  (exit $ac_status); } &&
12534
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12535
 
                         || test ! -s conftest.err'
12536
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537
 
  (eval $ac_try) 2>&5
12538
 
  ac_status=$?
12539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540
 
  (exit $ac_status); }; } &&
12541
 
         { ac_try='test -s conftest$ac_exeext'
12542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543
 
  (eval $ac_try) 2>&5
12544
 
  ac_status=$?
12545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546
 
  (exit $ac_status); }; }; then
12547
 
  ac_cv_lib_dld_dld_link=yes
12548
 
else
12549
 
  echo "$as_me: failed program was:" >&5
12550
 
sed 's/^/| /' conftest.$ac_ext >&5
12551
 
 
12552
 
ac_cv_lib_dld_dld_link=no
12553
 
fi
12554
 
rm -f conftest.err conftest.$ac_objext \
12555
 
      conftest$ac_exeext conftest.$ac_ext
12556
 
LIBS=$ac_check_lib_save_LIBS
12557
 
fi
12558
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12559
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12560
 
if test $ac_cv_lib_dld_dld_link = yes; then
12561
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12562
 
fi
12563
 
 
12564
 
 
12565
 
fi
12566
 
 
12567
 
 
12568
 
fi
12569
 
 
12570
 
 
12571
 
fi
12572
 
 
12573
 
 
12574
 
fi
12575
 
 
12576
 
 
12577
 
fi
12578
 
 
12579
 
    ;;
12580
 
  esac
12581
 
 
12582
 
  if test "x$lt_cv_dlopen" != xno; then
12583
 
    enable_dlopen=yes
12584
 
  else
12585
 
    enable_dlopen=no
12586
 
  fi
12587
 
 
12588
 
  case $lt_cv_dlopen in
12589
 
  dlopen)
12590
 
    save_CPPFLAGS="$CPPFLAGS"
12591
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12592
 
 
12593
 
    save_LDFLAGS="$LDFLAGS"
12594
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12595
 
 
12596
 
    save_LIBS="$LIBS"
12597
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12598
 
 
12599
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12600
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12601
 
if test "${lt_cv_dlopen_self+set}" = set; then
12602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12603
 
else
12604
 
          if test "$cross_compiling" = yes; then :
12605
 
  lt_cv_dlopen_self=cross
12606
 
else
12607
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12608
 
  lt_status=$lt_dlunknown
12609
 
  cat > conftest.$ac_ext <<EOF
12610
 
#line 12610 "configure"
12611
 
#include "confdefs.h"
12612
 
 
12613
 
#if HAVE_DLFCN_H
12614
 
#include <dlfcn.h>
12615
 
#endif
12616
 
 
12617
 
#include <stdio.h>
12618
 
 
12619
 
#ifdef RTLD_GLOBAL
12620
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12621
 
#else
12622
 
#  ifdef DL_GLOBAL
12623
 
#    define LT_DLGLOBAL         DL_GLOBAL
12624
 
#  else
12625
 
#    define LT_DLGLOBAL         0
12626
 
#  endif
12627
 
#endif
12628
 
 
12629
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12630
 
   find out it does not work in some platform. */
12631
 
#ifndef LT_DLLAZY_OR_NOW
12632
 
#  ifdef RTLD_LAZY
12633
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12634
 
#  else
12635
 
#    ifdef DL_LAZY
12636
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12637
 
#    else
12638
 
#      ifdef RTLD_NOW
12639
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12640
 
#      else
12641
 
#        ifdef DL_NOW
12642
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12643
 
#        else
12644
 
#          define LT_DLLAZY_OR_NOW      0
12645
 
#        endif
12646
 
#      endif
12647
 
#    endif
12648
 
#  endif
12649
 
#endif
12650
 
 
12651
 
#ifdef __cplusplus
12652
 
extern "C" void exit (int);
12653
 
#endif
12654
 
 
12655
 
void fnord() { int i=42;}
12656
 
int main ()
12657
 
{
12658
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12659
 
  int status = $lt_dlunknown;
12660
 
 
12661
 
  if (self)
12662
 
    {
12663
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12664
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12665
 
      /* dlclose (self); */
12666
 
    }
12667
 
 
12668
 
    exit (status);
12669
 
}
12670
 
EOF
12671
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12672
 
  (eval $ac_link) 2>&5
12673
 
  ac_status=$?
12674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12676
 
    (./conftest; exit; ) 2>/dev/null
12677
 
    lt_status=$?
12678
 
    case x$lt_status in
12679
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12680
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12681
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12682
 
    esac
12683
 
  else :
12684
 
    # compilation failed
12685
 
    lt_cv_dlopen_self=no
12686
 
  fi
12687
 
fi
12688
 
rm -fr conftest*
12689
 
 
12690
 
 
12691
 
fi
12692
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12693
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12694
 
 
12695
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12696
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12697
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12698
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12699
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12701
 
else
12702
 
          if test "$cross_compiling" = yes; then :
12703
 
  lt_cv_dlopen_self_static=cross
12704
 
else
12705
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12706
 
  lt_status=$lt_dlunknown
12707
 
  cat > conftest.$ac_ext <<EOF
12708
 
#line 12708 "configure"
12709
 
#include "confdefs.h"
12710
 
 
12711
 
#if HAVE_DLFCN_H
12712
 
#include <dlfcn.h>
12713
 
#endif
12714
 
 
12715
 
#include <stdio.h>
12716
 
 
12717
 
#ifdef RTLD_GLOBAL
12718
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12719
 
#else
12720
 
#  ifdef DL_GLOBAL
12721
 
#    define LT_DLGLOBAL         DL_GLOBAL
12722
 
#  else
12723
 
#    define LT_DLGLOBAL         0
12724
 
#  endif
12725
 
#endif
12726
 
 
12727
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12728
 
   find out it does not work in some platform. */
12729
 
#ifndef LT_DLLAZY_OR_NOW
12730
 
#  ifdef RTLD_LAZY
12731
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12732
 
#  else
12733
 
#    ifdef DL_LAZY
12734
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12735
 
#    else
12736
 
#      ifdef RTLD_NOW
12737
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12738
 
#      else
12739
 
#        ifdef DL_NOW
12740
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12741
 
#        else
12742
 
#          define LT_DLLAZY_OR_NOW      0
12743
 
#        endif
12744
 
#      endif
12745
 
#    endif
12746
 
#  endif
12747
 
#endif
12748
 
 
12749
 
#ifdef __cplusplus
12750
 
extern "C" void exit (int);
12751
 
#endif
12752
 
 
12753
 
void fnord() { int i=42;}
12754
 
int main ()
12755
 
{
12756
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12757
 
  int status = $lt_dlunknown;
12758
 
 
12759
 
  if (self)
12760
 
    {
12761
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12762
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12763
 
      /* dlclose (self); */
12764
 
    }
12765
 
 
12766
 
    exit (status);
12767
 
}
12768
 
EOF
12769
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12770
 
  (eval $ac_link) 2>&5
12771
 
  ac_status=$?
12772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12774
 
    (./conftest; exit; ) 2>/dev/null
12775
 
    lt_status=$?
12776
 
    case x$lt_status in
12777
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12778
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12779
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12780
 
    esac
12781
 
  else :
12782
 
    # compilation failed
12783
 
    lt_cv_dlopen_self_static=no
12784
 
  fi
12785
 
fi
12786
 
rm -fr conftest*
12787
 
 
12788
 
 
12789
 
fi
12790
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12791
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12792
 
    fi
12793
 
 
12794
 
    CPPFLAGS="$save_CPPFLAGS"
12795
 
    LDFLAGS="$save_LDFLAGS"
12796
 
    LIBS="$save_LIBS"
12797
 
    ;;
12798
 
  esac
12799
 
 
12800
 
  case $lt_cv_dlopen_self in
12801
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12802
 
  *) enable_dlopen_self=unknown ;;
12803
 
  esac
12804
 
 
12805
 
  case $lt_cv_dlopen_self_static in
12806
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12807
 
  *) enable_dlopen_self_static=unknown ;;
12808
 
  esac
12809
 
fi
12810
 
 
12811
13576
 
12812
13577
# The else clause should only fire when bootstrapping the
12813
13578
# libtool distribution, otherwise you forgot to ship ltmain.sh
12822
13587
  # Now quote all the things that may contain metacharacters while being
12823
13588
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12824
13589
  # variables and quote the copies for generation of the libtool script.
12825
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13590
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12826
13591
    SED SHELL STRIP \
12827
13592
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12828
13593
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12864
13629
    module_cmds_CXX \
12865
13630
    module_expsym_cmds_CXX \
12866
13631
    lt_cv_prog_compiler_c_o_CXX \
 
13632
    fix_srcfile_path_CXX \
12867
13633
    exclude_expsyms_CXX \
12868
13634
    include_expsyms_CXX; do
12869
13635
 
12923
13689
# The host system.
12924
13690
host_alias=$host_alias
12925
13691
host=$host
 
13692
host_os=$host_os
 
13693
 
 
13694
# The build system.
 
13695
build_alias=$build_alias
 
13696
build=$build
 
13697
build_os=$build_os
12926
13698
 
12927
13699
# An echo program that does not interpret backslashes.
12928
13700
echo=$lt_echo
12934
13706
# A C compiler.
12935
13707
LTCC=$lt_LTCC
12936
13708
 
 
13709
# LTCC compiler flags.
 
13710
LTCFLAGS=$lt_LTCFLAGS
 
13711
 
12937
13712
# A language-specific compiler.
12938
13713
CC=$lt_compiler_CXX
12939
13714
 
12999
13774
# Does compiler simultaneously support -c and -o options?
13000
13775
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13001
13776
 
13002
 
# Must we lock files when doing compilation ?
 
13777
# Must we lock files when doing compilation?
13003
13778
need_locks=$lt_need_locks
13004
13779
 
13005
13780
# Do we need the lib prefix for modules?
13175
13950
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13176
13951
 
13177
13952
# Fix the shell variable \$srcfile for the compiler.
13178
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13953
fix_srcfile_path=$lt_fix_srcfile_path
13179
13954
 
13180
13955
# Set to yes if exported symbols are required.
13181
13956
always_export_symbols=$always_export_symbols_CXX
13266
14041
objext_F77=$objext
13267
14042
 
13268
14043
# Code to be used in simple compile tests
13269
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14044
lt_simple_compile_test_code="\
 
14045
      subroutine t
 
14046
      return
 
14047
      end
 
14048
"
13270
14049
 
13271
14050
# Code to be used in simple link tests
13272
 
lt_simple_link_test_code="      program t\n      end\n"
 
14051
lt_simple_link_test_code="\
 
14052
      program t
 
14053
      end
 
14054
"
13273
14055
 
13274
14056
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13275
14057
 
13276
14058
# If no C compiler was specified, use CC.
13277
14059
LTCC=${LTCC-"$CC"}
13278
14060
 
 
14061
# If no C compiler flags were specified, use CFLAGS.
 
14062
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14063
 
13279
14064
# Allow CC to be a program name with arguments.
13280
14065
compiler=$CC
13281
14066
 
13282
14067
 
 
14068
# save warnings/boilerplate of simple test code
 
14069
ac_outfile=conftest.$ac_objext
 
14070
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14071
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14072
_lt_compiler_boilerplate=`cat conftest.err`
 
14073
$rm conftest*
 
14074
 
 
14075
ac_outfile=conftest.$ac_objext
 
14076
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
14077
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14078
_lt_linker_boilerplate=`cat conftest.err`
 
14079
$rm conftest*
 
14080
 
 
14081
 
13283
14082
# Allow CC to be a program name with arguments.
13284
14083
lt_save_CC="$CC"
13285
14084
CC=${F77-"f77"}
13286
14085
compiler=$CC
13287
14086
compiler_F77=$CC
13288
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13289
 
 
13290
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13291
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13292
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13293
 
echo "${ECHO_T}$can_build_shared" >&6
13294
 
 
13295
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13296
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14087
for cc_temp in $compiler""; do
 
14088
  case $cc_temp in
 
14089
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14090
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14091
    \-*) ;;
 
14092
    *) break;;
 
14093
  esac
 
14094
done
 
14095
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14096
 
 
14097
 
 
14098
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14099
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14100
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14101
echo "${ECHO_T}$can_build_shared" >&6; }
 
14102
 
 
14103
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14104
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13297
14105
test "$can_build_shared" = "no" && enable_shared=no
13298
14106
 
13299
14107
# On AIX, shared libraries and static libraries use the same namespace, and
13300
14108
# are all built from PIC.
13301
 
case "$host_os" in
 
14109
case $host_os in
13302
14110
aix3*)
13303
14111
  test "$enable_shared" = yes && enable_static=no
13304
14112
  if test -n "$RANLIB"; then
13307
14115
  fi
13308
14116
  ;;
13309
14117
aix4* | aix5*)
13310
 
  test "$enable_shared" = yes && enable_static=no
 
14118
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14119
    test "$enable_shared" = yes && enable_static=no
 
14120
  fi
13311
14121
  ;;
13312
14122
esac
13313
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13314
 
echo "${ECHO_T}$enable_shared" >&6
 
14123
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14124
echo "${ECHO_T}$enable_shared" >&6; }
13315
14125
 
13316
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13317
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14126
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14127
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13318
14128
# Make sure either enable_shared or enable_static is yes.
13319
14129
test "$enable_shared" = yes || enable_static=yes
13320
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13321
 
echo "${ECHO_T}$enable_static" >&6
13322
 
 
13323
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14130
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14131
echo "${ECHO_T}$enable_static" >&6; }
13324
14132
 
13325
14133
GCC_F77="$G77"
13326
14134
LD_F77="$LD"
13329
14137
lt_prog_compiler_pic_F77=
13330
14138
lt_prog_compiler_static_F77=
13331
14139
 
13332
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13333
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14140
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14141
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13334
14142
 
13335
14143
  if test "$GCC" = yes; then
13336
14144
    lt_prog_compiler_wl_F77='-Wl,'
13352
14160
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13353
14161
      ;;
13354
14162
 
13355
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14163
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13356
14164
      # PIC is the default for these OSes.
13357
14165
      ;;
13358
14166
 
13359
 
    mingw* | pw32* | os2*)
 
14167
    mingw* | cygwin* | pw32* | os2*)
13360
14168
      # This hack is so that the source file can tell whether it is being
13361
14169
      # built for inclusion in a dll (and should export symbols for example).
 
14170
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14171
      # (--disable-auto-import) libraries
13362
14172
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13363
14173
      ;;
13364
14174
 
13368
14178
      lt_prog_compiler_pic_F77='-fno-common'
13369
14179
      ;;
13370
14180
 
 
14181
    interix[3-9]*)
 
14182
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14183
      # Instead, we relocate shared libraries at runtime.
 
14184
      ;;
 
14185
 
13371
14186
    msdosdjgpp*)
13372
14187
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13373
14188
      # on systems that don't support them.
13384
14199
    hpux*)
13385
14200
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13386
14201
      # not for PA HP-UX.
13387
 
      case "$host_cpu" in
 
14202
      case $host_cpu in
13388
14203
      hppa*64*|ia64*)
13389
14204
        # +Z the default
13390
14205
        ;;
13410
14225
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13411
14226
      fi
13412
14227
      ;;
 
14228
      darwin*)
 
14229
        # PIC is the default on this platform
 
14230
        # Common symbols not allowed in MH_DYLIB files
 
14231
       case $cc_basename in
 
14232
         xlc*)
 
14233
         lt_prog_compiler_pic_F77='-qnocommon'
 
14234
         lt_prog_compiler_wl_F77='-Wl,'
 
14235
         ;;
 
14236
       esac
 
14237
       ;;
13413
14238
 
13414
 
    mingw* | pw32* | os2*)
 
14239
    mingw* | cygwin* | pw32* | os2*)
13415
14240
      # This hack is so that the source file can tell whether it is being
13416
14241
      # built for inclusion in a dll (and should export symbols for example).
13417
14242
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13421
14246
      lt_prog_compiler_wl_F77='-Wl,'
13422
14247
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13423
14248
      # not for PA HP-UX.
13424
 
      case "$host_cpu" in
 
14249
      case $host_cpu in
13425
14250
      hppa*64*|ia64*)
13426
14251
        # +Z the default
13427
14252
        ;;
13444
14269
      lt_prog_compiler_static_F77='-Bstatic'
13445
14270
      ;;
13446
14271
 
13447
 
    linux*)
13448
 
      case $CC in
 
14272
    linux* | k*bsd*-gnu)
 
14273
      case $cc_basename in
13449
14274
      icc* | ecc*)
13450
14275
        lt_prog_compiler_wl_F77='-Wl,'
13451
14276
        lt_prog_compiler_pic_F77='-KPIC'
13452
14277
        lt_prog_compiler_static_F77='-static'
13453
14278
        ;;
 
14279
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14280
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14281
        # which looks to be a dead project)
 
14282
        lt_prog_compiler_wl_F77='-Wl,'
 
14283
        lt_prog_compiler_pic_F77='-fpic'
 
14284
        lt_prog_compiler_static_F77='-Bstatic'
 
14285
        ;;
13454
14286
      ccc*)
13455
14287
        lt_prog_compiler_wl_F77='-Wl,'
13456
14288
        # All Alpha code is PIC.
13457
14289
        lt_prog_compiler_static_F77='-non_shared'
13458
14290
        ;;
 
14291
      *)
 
14292
        case `$CC -V 2>&1 | sed 5q` in
 
14293
        *Sun\ C*)
 
14294
          # Sun C 5.9
 
14295
          lt_prog_compiler_pic_F77='-KPIC'
 
14296
          lt_prog_compiler_static_F77='-Bstatic'
 
14297
          lt_prog_compiler_wl_F77='-Wl,'
 
14298
          ;;
 
14299
        *Sun\ F*)
 
14300
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14301
          lt_prog_compiler_pic_F77='-KPIC'
 
14302
          lt_prog_compiler_static_F77='-Bstatic'
 
14303
          lt_prog_compiler_wl_F77=''
 
14304
          ;;
 
14305
        esac
 
14306
        ;;
13459
14307
      esac
13460
14308
      ;;
13461
14309
 
13465
14313
      lt_prog_compiler_static_F77='-non_shared'
13466
14314
      ;;
13467
14315
 
13468
 
    sco3.2v5*)
13469
 
      lt_prog_compiler_pic_F77='-Kpic'
13470
 
      lt_prog_compiler_static_F77='-dn'
 
14316
    rdos*)
 
14317
      lt_prog_compiler_static_F77='-non_shared'
13471
14318
      ;;
13472
14319
 
13473
14320
    solaris*)
13474
 
      lt_prog_compiler_wl_F77='-Wl,'
13475
14321
      lt_prog_compiler_pic_F77='-KPIC'
13476
14322
      lt_prog_compiler_static_F77='-Bstatic'
 
14323
      case $cc_basename in
 
14324
      f77* | f90* | f95*)
 
14325
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14326
      *)
 
14327
        lt_prog_compiler_wl_F77='-Wl,';;
 
14328
      esac
13477
14329
      ;;
13478
14330
 
13479
14331
    sunos4*)
13482
14334
      lt_prog_compiler_static_F77='-Bstatic'
13483
14335
      ;;
13484
14336
 
13485
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14337
    sysv4 | sysv4.2uw2* | sysv4.3*)
13486
14338
      lt_prog_compiler_wl_F77='-Wl,'
13487
14339
      lt_prog_compiler_pic_F77='-KPIC'
13488
14340
      lt_prog_compiler_static_F77='-Bstatic'
13495
14347
      fi
13496
14348
      ;;
13497
14349
 
 
14350
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14351
      lt_prog_compiler_wl_F77='-Wl,'
 
14352
      lt_prog_compiler_pic_F77='-KPIC'
 
14353
      lt_prog_compiler_static_F77='-Bstatic'
 
14354
      ;;
 
14355
 
 
14356
    unicos*)
 
14357
      lt_prog_compiler_wl_F77='-Wl,'
 
14358
      lt_prog_compiler_can_build_shared_F77=no
 
14359
      ;;
 
14360
 
13498
14361
    uts4*)
13499
14362
      lt_prog_compiler_pic_F77='-pic'
13500
14363
      lt_prog_compiler_static_F77='-Bstatic'
13506
14369
    esac
13507
14370
  fi
13508
14371
 
13509
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13510
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14372
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14373
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13511
14374
 
13512
14375
#
13513
14376
# Check to make sure the PIC flag actually works.
13514
14377
#
13515
14378
if test -n "$lt_prog_compiler_pic_F77"; then
13516
14379
 
13517
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13518
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14380
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14381
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13519
14382
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13520
14383
  echo $ECHO_N "(cached) $ECHO_C" >&6
13521
14384
else
13522
14385
  lt_prog_compiler_pic_works_F77=no
13523
14386
  ac_outfile=conftest.$ac_objext
13524
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14387
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13525
14388
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13526
14389
   # Insert the option either (1) after the last *FLAGS variable, or
13527
14390
   # (2) before a word containing "conftest.", or (3) at the end.
13529
14392
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13530
14393
   # The option is referenced via a variable to avoid confusing sed.
13531
14394
   lt_compile=`echo "$ac_compile" | $SED \
13532
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14395
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13533
14396
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13534
14397
   -e 's:$: $lt_compiler_flag:'`
13535
 
   (eval echo "\"\$as_me:13535: $lt_compile\"" >&5)
 
14398
   (eval echo "\"\$as_me:14398: $lt_compile\"" >&5)
13536
14399
   (eval "$lt_compile" 2>conftest.err)
13537
14400
   ac_status=$?
13538
14401
   cat conftest.err >&5
13539
 
   echo "$as_me:13539: \$? = $ac_status" >&5
 
14402
   echo "$as_me:14402: \$? = $ac_status" >&5
13540
14403
   if (exit $ac_status) && test -s "$ac_outfile"; then
13541
14404
     # The compiler can only warn and ignore the option if not recognized
13542
 
     # So say no if there are warnings
13543
 
     if test ! -s conftest.err; then
 
14405
     # So say no if there are warnings other than the usual output.
 
14406
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14407
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14408
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13544
14409
       lt_prog_compiler_pic_works_F77=yes
13545
14410
     fi
13546
14411
   fi
13547
14412
   $rm conftest*
13548
14413
 
13549
14414
fi
13550
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13551
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14415
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14416
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13552
14417
 
13553
14418
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13554
14419
    case $lt_prog_compiler_pic_F77 in
13561
14426
fi
13562
14427
 
13563
14428
fi
13564
 
case "$host_os" in
 
14429
case $host_os in
13565
14430
  # For platforms which do not support PIC, -DPIC is meaningless:
13566
14431
  *djgpp*)
13567
14432
    lt_prog_compiler_pic_F77=
13571
14436
    ;;
13572
14437
esac
13573
14438
 
13574
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13575
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14439
#
 
14440
# Check to make sure the static flag actually works.
 
14441
#
 
14442
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14443
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14444
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14445
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14446
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14447
else
 
14448
  lt_prog_compiler_static_works_F77=no
 
14449
   save_LDFLAGS="$LDFLAGS"
 
14450
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14451
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
14452
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14453
     # The linker can only warn and ignore the option if not recognized
 
14454
     # So say no if there are warnings
 
14455
     if test -s conftest.err; then
 
14456
       # Append any errors to the config.log.
 
14457
       cat conftest.err 1>&5
 
14458
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14459
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14460
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14461
         lt_prog_compiler_static_works_F77=yes
 
14462
       fi
 
14463
     else
 
14464
       lt_prog_compiler_static_works_F77=yes
 
14465
     fi
 
14466
   fi
 
14467
   $rm conftest*
 
14468
   LDFLAGS="$save_LDFLAGS"
 
14469
 
 
14470
fi
 
14471
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14472
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14473
 
 
14474
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14475
    :
 
14476
else
 
14477
    lt_prog_compiler_static_F77=
 
14478
fi
 
14479
 
 
14480
 
 
14481
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14482
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13576
14483
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13577
14484
  echo $ECHO_N "(cached) $ECHO_C" >&6
13578
14485
else
13581
14488
   mkdir conftest
13582
14489
   cd conftest
13583
14490
   mkdir out
13584
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14491
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13585
14492
 
13586
14493
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13587
14494
   # Insert the option either (1) after the last *FLAGS variable, or
13589
14496
   # Note that $ac_compile itself does not contain backslashes and begins
13590
14497
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13591
14498
   lt_compile=`echo "$ac_compile" | $SED \
13592
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14499
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13593
14500
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13594
14501
   -e 's:$: $lt_compiler_flag:'`
13595
 
   (eval echo "\"\$as_me:13595: $lt_compile\"" >&5)
 
14502
   (eval echo "\"\$as_me:14502: $lt_compile\"" >&5)
13596
14503
   (eval "$lt_compile" 2>out/conftest.err)
13597
14504
   ac_status=$?
13598
14505
   cat out/conftest.err >&5
13599
 
   echo "$as_me:13599: \$? = $ac_status" >&5
 
14506
   echo "$as_me:14506: \$? = $ac_status" >&5
13600
14507
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13601
14508
   then
13602
14509
     # The compiler can only warn and ignore the option if not recognized
13603
14510
     # So say no if there are warnings
13604
 
     if test ! -s out/conftest.err; then
 
14511
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14512
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14513
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13605
14514
       lt_cv_prog_compiler_c_o_F77=yes
13606
14515
     fi
13607
14516
   fi
13608
 
   chmod u+w .
 
14517
   chmod u+w . 2>&5
13609
14518
   $rm conftest*
13610
14519
   # SGI C++ compiler will create directory out/ii_files/ for
13611
14520
   # template instantiation
13616
14525
   $rm conftest*
13617
14526
 
13618
14527
fi
13619
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13620
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14528
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14529
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13621
14530
 
13622
14531
 
13623
14532
hard_links="nottested"
13624
14533
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13625
14534
  # do not overwrite the value of need_locks provided by the user
13626
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13627
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14535
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14536
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13628
14537
  hard_links=yes
13629
14538
  $rm conftest*
13630
14539
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13631
14540
  touch conftest.a
13632
14541
  ln conftest.a conftest.b 2>&5 || hard_links=no
13633
14542
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13634
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13635
 
echo "${ECHO_T}$hard_links" >&6
 
14543
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14544
echo "${ECHO_T}$hard_links" >&6; }
13636
14545
  if test "$hard_links" = no; then
13637
14546
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13638
14547
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13642
14551
  need_locks=no
13643
14552
fi
13644
14553
 
13645
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13646
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14554
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14555
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13647
14556
 
13648
14557
  runpath_var=
13649
14558
  allow_undefined_flag_F77=
13681
14590
  # rely on this symbol name, it's probably fine to never include it in
13682
14591
  # preloaded symbol tables.
13683
14592
  extract_expsyms_cmds=
 
14593
  # Just being paranoid about ensuring that cc_basename is set.
 
14594
  for cc_temp in $compiler""; do
 
14595
  case $cc_temp in
 
14596
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14597
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14598
    \-*) ;;
 
14599
    *) break;;
 
14600
  esac
 
14601
done
 
14602
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13684
14603
 
13685
14604
  case $host_os in
13686
14605
  cygwin* | mingw* | pw32*)
13691
14610
      with_gnu_ld=no
13692
14611
    fi
13693
14612
    ;;
 
14613
  interix*)
 
14614
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14615
    with_gnu_ld=yes
 
14616
    ;;
13694
14617
  openbsd*)
13695
14618
    with_gnu_ld=no
13696
14619
    ;;
13701
14624
    # If archive_cmds runs LD, not CC, wlarc should be empty
13702
14625
    wlarc='${wl}'
13703
14626
 
 
14627
    # Set some defaults for GNU ld with shared library support. These
 
14628
    # are reset later if shared libraries are not supported. Putting them
 
14629
    # here allows them to be overridden if necessary.
 
14630
    runpath_var=LD_RUN_PATH
 
14631
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
14632
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
14633
    # ancient GNU ld didn't support --whole-archive et. al.
 
14634
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
14635
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14636
      else
 
14637
        whole_archive_flag_spec_F77=
 
14638
    fi
 
14639
    supports_anon_versioning=no
 
14640
    case `$LD -v 2>/dev/null` in
 
14641
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
14642
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
14643
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
14644
      *\ 2.11.*) ;; # other 2.11 versions
 
14645
      *) supports_anon_versioning=yes ;;
 
14646
    esac
 
14647
 
13704
14648
    # See if GNU ld supports shared libraries.
13705
14649
    case $host_os in
13706
14650
    aix3* | aix4* | aix5*)
13751
14695
      allow_undefined_flag_F77=unsupported
13752
14696
      always_export_symbols_F77=no
13753
14697
      enable_shared_with_static_runtimes_F77=yes
13754
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14698
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13755
14699
 
13756
14700
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13757
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
14701
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13758
14702
        # If the export-symbols file already is a .def file (1st line
13759
14703
        # is EXPORTS), use it as is; otherwise, prepend...
13760
14704
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13763
14707
          echo EXPORTS > $output_objdir/$soname.def;
13764
14708
          cat $export_symbols >> $output_objdir/$soname.def;
13765
14709
        fi~
13766
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
13767
 
      else
13768
 
        ld_shlibs=no
 
14710
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
14711
      else
 
14712
        ld_shlibs_F77=no
 
14713
      fi
 
14714
      ;;
 
14715
 
 
14716
    interix[3-9]*)
 
14717
      hardcode_direct_F77=no
 
14718
      hardcode_shlibpath_var_F77=no
 
14719
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14720
      export_dynamic_flag_spec_F77='${wl}-E'
 
14721
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14722
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14723
      # default) and relocated if they conflict, which is a slow very memory
 
14724
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
14725
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14726
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14727
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
14728
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
14729
      ;;
 
14730
 
 
14731
    gnu* | linux* | k*bsd*-gnu)
 
14732
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14733
        tmp_addflag=
 
14734
        case $cc_basename,$host_cpu in
 
14735
        pgcc*)                          # Portland Group C compiler
 
14736
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14737
          tmp_addflag=' $pic_flag'
 
14738
          ;;
 
14739
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
14740
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14741
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
14742
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
14743
          tmp_addflag=' -i_dynamic' ;;
 
14744
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
14745
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
14746
        ifc* | ifort*)                  # Intel Fortran compiler
 
14747
          tmp_addflag=' -nofor_main' ;;
 
14748
        esac
 
14749
        case `$CC -V 2>&1 | sed 5q` in
 
14750
        *Sun\ C*)                       # Sun C 5.9
 
14751
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14752
          tmp_sharedflag='-G' ;;
 
14753
        *Sun\ F*)                       # Sun Fortran 8.3
 
14754
          tmp_sharedflag='-G' ;;
 
14755
        *)
 
14756
          tmp_sharedflag='-shared' ;;
 
14757
        esac
 
14758
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14759
 
 
14760
        if test $supports_anon_versioning = yes; then
 
14761
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
14762
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
14763
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
14764
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14765
        fi
 
14766
      else
 
14767
        ld_shlibs_F77=no
13769
14768
      fi
13770
14769
      ;;
13771
14770
 
13779
14778
      fi
13780
14779
      ;;
13781
14780
 
13782
 
    solaris* | sysv5*)
 
14781
    solaris*)
13783
14782
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13784
14783
        ld_shlibs_F77=no
13785
14784
        cat <<EOF 1>&2
13800
14799
      fi
13801
14800
      ;;
13802
14801
 
 
14802
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14803
      case `$LD -v 2>&1` in
 
14804
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14805
        ld_shlibs_F77=no
 
14806
        cat <<_LT_EOF 1>&2
 
14807
 
 
14808
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14809
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14810
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14811
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14812
*** your PATH or compiler configuration so that the native linker is
 
14813
*** used, and then restart.
 
14814
 
 
14815
_LT_EOF
 
14816
        ;;
 
14817
        *)
 
14818
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14819
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
14820
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
14821
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
14822
          else
 
14823
            ld_shlibs_F77=no
 
14824
          fi
 
14825
        ;;
 
14826
      esac
 
14827
      ;;
 
14828
 
13803
14829
    sunos4*)
13804
14830
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13805
14831
      wlarc=
13807
14833
      hardcode_shlibpath_var_F77=no
13808
14834
      ;;
13809
14835
 
13810
 
  linux*)
13811
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13812
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13813
 
        archive_cmds_F77="$tmp_archive_cmds"
13814
 
      supports_anon_versioning=no
13815
 
      case `$LD -v 2>/dev/null` in
13816
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13817
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13818
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13819
 
        *\ 2.11.*) ;; # other 2.11 versions
13820
 
        *) supports_anon_versioning=yes ;;
13821
 
      esac
13822
 
      if test $supports_anon_versioning = yes; then
13823
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13824
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13825
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13826
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13827
 
      else
13828
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
13829
 
      fi
13830
 
    else
13831
 
      ld_shlibs_F77=no
13832
 
    fi
13833
 
    ;;
13834
 
 
13835
14836
    *)
13836
14837
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13837
14838
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13842
14843
      ;;
13843
14844
    esac
13844
14845
 
13845
 
    if test "$ld_shlibs_F77" = yes; then
13846
 
      runpath_var=LD_RUN_PATH
13847
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13848
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13849
 
      # ancient GNU ld didn't support --whole-archive et. al.
13850
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13851
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13852
 
      else
13853
 
        whole_archive_flag_spec_F77=
13854
 
      fi
 
14846
    if test "$ld_shlibs_F77" = no; then
 
14847
      runpath_var=
 
14848
      hardcode_libdir_flag_spec_F77=
 
14849
      export_dynamic_flag_spec_F77=
 
14850
      whole_archive_flag_spec_F77=
13855
14851
    fi
13856
14852
  else
13857
14853
    # PORTME fill in a description of your system's linker (not GNU ld)
13863
14859
      # Note: this linker hardcodes the directories in LIBPATH if there
13864
14860
      # are no directories specified by -L.
13865
14861
      hardcode_minus_L_F77=yes
13866
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
14862
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13867
14863
        # Neither direct hardcoding nor static linking is supported with a
13868
14864
        # broken collect2.
13869
14865
        hardcode_direct_F77=unsupported
13897
14893
            break
13898
14894
          fi
13899
14895
          done
 
14896
          ;;
13900
14897
        esac
13901
14898
 
13902
14899
        exp_sym_flag='-bexport'
13915
14912
      link_all_deplibs_F77=yes
13916
14913
 
13917
14914
      if test "$GCC" = yes; then
13918
 
        case $host_os in aix4.012|aix4.012.*)
 
14915
        case $host_os in aix4.[012]|aix4.[012].*)
13919
14916
        # We only want to do this on AIX 4.2 and lower, the check
13920
14917
        # below for broken collect2 doesn't work under 4.3+
13921
14918
          collect2name=`${CC} -print-prog-name=collect2`
13923
14920
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13924
14921
          then
13925
14922
          # We have reworked collect2
13926
 
          hardcode_direct_F77=yes
 
14923
          :
13927
14924
          else
13928
14925
          # We have old collect2
13929
14926
          hardcode_direct_F77=unsupported
13934
14931
          hardcode_libdir_flag_spec_F77='-L$libdir'
13935
14932
          hardcode_libdir_separator_F77=
13936
14933
          fi
 
14934
          ;;
13937
14935
        esac
13938
14936
        shared_flag='-shared'
 
14937
        if test "$aix_use_runtimelinking" = yes; then
 
14938
          shared_flag="$shared_flag "'${wl}-G'
 
14939
        fi
13939
14940
      else
13940
14941
        # not using gcc
13941
14942
        if test "$host_cpu" = ia64; then
13943
14944
        # chokes on -Wl,-G. The following line is correct:
13944
14945
          shared_flag='-G'
13945
14946
        else
13946
 
        if test "$aix_use_runtimelinking" = yes; then
 
14947
          if test "$aix_use_runtimelinking" = yes; then
13947
14948
            shared_flag='${wl}-G'
13948
14949
          else
13949
14950
            shared_flag='${wl}-bM:SRE'
13950
 
        fi
 
14951
          fi
13951
14952
        fi
13952
14953
      fi
13953
14954
 
13965
14966
      end
13966
14967
_ACEOF
13967
14968
rm -f conftest.$ac_objext conftest$ac_exeext
13968
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13969
 
  (eval $ac_link) 2>conftest.er1
 
14969
if { (ac_try="$ac_link"
 
14970
case "(($ac_try" in
 
14971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14972
  *) ac_try_echo=$ac_try;;
 
14973
esac
 
14974
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14975
  (eval "$ac_link") 2>conftest.er1
13970
14976
  ac_status=$?
13971
14977
  grep -v '^ *+' conftest.er1 >conftest.err
13972
14978
  rm -f conftest.er1
13973
14979
  cat conftest.err >&5
13974
14980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975
 
  (exit $ac_status); } &&
13976
 
         { ac_try='test -z "$ac_f77_werror_flag"
13977
 
                         || test ! -s conftest.err'
13978
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979
 
  (eval $ac_try) 2>&5
13980
 
  ac_status=$?
13981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982
 
  (exit $ac_status); }; } &&
13983
 
         { ac_try='test -s conftest$ac_exeext'
13984
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985
 
  (eval $ac_try) 2>&5
13986
 
  ac_status=$?
13987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988
 
  (exit $ac_status); }; }; then
 
14981
  (exit $ac_status); } && {
 
14982
         test -z "$ac_f77_werror_flag" ||
 
14983
         test ! -s conftest.err
 
14984
       } && test -s conftest$ac_exeext &&
 
14985
       $as_test_x conftest$ac_exeext; then
13989
14986
 
13990
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13991
 
}'`
 
14987
lt_aix_libpath_sed='
 
14988
    /Import File Strings/,/^$/ {
 
14989
        /^0/ {
 
14990
            s/^0  *\(.*\)$/\1/
 
14991
            p
 
14992
        }
 
14993
    }'
 
14994
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13992
14995
# Check for a 64-bit object if we didn't find anything.
13993
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13994
 
}'`; fi
 
14996
if test -z "$aix_libpath"; then
 
14997
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14998
fi
13995
14999
else
13996
15000
  echo "$as_me: failed program was:" >&5
13997
15001
sed 's/^/| /' conftest.$ac_ext >&5
13998
15002
 
 
15003
 
13999
15004
fi
14000
 
rm -f conftest.err conftest.$ac_objext \
 
15005
 
 
15006
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14001
15007
      conftest$ac_exeext conftest.$ac_ext
14002
15008
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14003
15009
 
14004
15010
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14005
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
15011
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14006
15012
       else
14007
15013
        if test "$host_cpu" = ia64; then
14008
15014
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14009
15015
          allow_undefined_flag_F77="-z nodefs"
14010
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
15016
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14011
15017
        else
14012
15018
         # Determine the default libpath from the value encoded in an empty executable.
14013
15019
         cat >conftest.$ac_ext <<_ACEOF
14016
15022
      end
14017
15023
_ACEOF
14018
15024
rm -f conftest.$ac_objext conftest$ac_exeext
14019
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14020
 
  (eval $ac_link) 2>conftest.er1
 
15025
if { (ac_try="$ac_link"
 
15026
case "(($ac_try" in
 
15027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15028
  *) ac_try_echo=$ac_try;;
 
15029
esac
 
15030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15031
  (eval "$ac_link") 2>conftest.er1
14021
15032
  ac_status=$?
14022
15033
  grep -v '^ *+' conftest.er1 >conftest.err
14023
15034
  rm -f conftest.er1
14024
15035
  cat conftest.err >&5
14025
15036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026
 
  (exit $ac_status); } &&
14027
 
         { ac_try='test -z "$ac_f77_werror_flag"
14028
 
                         || test ! -s conftest.err'
14029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14030
 
  (eval $ac_try) 2>&5
14031
 
  ac_status=$?
14032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033
 
  (exit $ac_status); }; } &&
14034
 
         { ac_try='test -s conftest$ac_exeext'
14035
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036
 
  (eval $ac_try) 2>&5
14037
 
  ac_status=$?
14038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039
 
  (exit $ac_status); }; }; then
 
15037
  (exit $ac_status); } && {
 
15038
         test -z "$ac_f77_werror_flag" ||
 
15039
         test ! -s conftest.err
 
15040
       } && test -s conftest$ac_exeext &&
 
15041
       $as_test_x conftest$ac_exeext; then
14040
15042
 
14041
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14042
 
}'`
 
15043
lt_aix_libpath_sed='
 
15044
    /Import File Strings/,/^$/ {
 
15045
        /^0/ {
 
15046
            s/^0  *\(.*\)$/\1/
 
15047
            p
 
15048
        }
 
15049
    }'
 
15050
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14043
15051
# Check for a 64-bit object if we didn't find anything.
14044
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14045
 
}'`; fi
 
15052
if test -z "$aix_libpath"; then
 
15053
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15054
fi
14046
15055
else
14047
15056
  echo "$as_me: failed program was:" >&5
14048
15057
sed 's/^/| /' conftest.$ac_ext >&5
14049
15058
 
 
15059
 
14050
15060
fi
14051
 
rm -f conftest.err conftest.$ac_objext \
 
15061
 
 
15062
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14052
15063
      conftest$ac_exeext conftest.$ac_ext
14053
15064
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14054
15065
 
14057
15068
          # -berok will link without error, but may produce a broken library.
14058
15069
          no_undefined_flag_F77=' ${wl}-bernotok'
14059
15070
          allow_undefined_flag_F77=' ${wl}-berok'
14060
 
          # -bexpall does not export symbols beginning with underscore (_)
14061
 
          always_export_symbols_F77=yes
14062
15071
          # Exported symbols can be pulled into shared objects from archives
14063
 
          whole_archive_flag_spec_F77=' '
 
15072
          whole_archive_flag_spec_F77='$convenience'
14064
15073
          archive_cmds_need_lc_F77=yes
14065
 
          # This is similar to how AIX traditionally builds it's shared libraries.
14066
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
15074
          # This is similar to how AIX traditionally builds its shared libraries.
 
15075
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14067
15076
        fi
14068
15077
      fi
14069
15078
      ;;
14076
15085
      ld_shlibs_F77=no
14077
15086
      ;;
14078
15087
 
14079
 
    bsdi4*)
 
15088
    bsdi[45]*)
14080
15089
      export_dynamic_flag_spec_F77=-rdynamic
14081
15090
      ;;
14082
15091
 
14096
15105
      # The linker will automatically build a .lib file if we build a DLL.
14097
15106
      old_archive_From_new_cmds_F77='true'
14098
15107
      # FIXME: Should let the user specify the lib program.
14099
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14100
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
15108
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
15109
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14101
15110
      enable_shared_with_static_runtimes_F77=yes
14102
15111
      ;;
14103
15112
 
14104
15113
    darwin* | rhapsody*)
14105
 
    if test "$GXX" = yes ; then
 
15114
      case $host_os in
 
15115
        rhapsody* | darwin1.[012])
 
15116
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15117
         ;;
 
15118
       *) # Darwin 1.3 on
 
15119
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15120
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15121
         else
 
15122
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15123
             10.[012])
 
15124
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15125
               ;;
 
15126
             10.*)
 
15127
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15128
               ;;
 
15129
           esac
 
15130
         fi
 
15131
         ;;
 
15132
      esac
14106
15133
      archive_cmds_need_lc_F77=no
14107
 
      case "$host_os" in
14108
 
      rhapsody* | darwin1.[012])
14109
 
        allow_undefined_flag_F77='-undefined suppress'
14110
 
        ;;
14111
 
      *) # Darwin 1.3 on
14112
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14113
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14114
 
      else
14115
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14116
 
          10.[012])
14117
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14118
 
            ;;
14119
 
          10.*)
14120
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
14121
 
            ;;
14122
 
        esac
14123
 
      fi
14124
 
        ;;
14125
 
      esac
14126
 
        lt_int_apple_cc_single_mod=no
14127
 
        output_verbose_link_cmd='echo'
14128
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14129
 
          lt_int_apple_cc_single_mod=yes
14130
 
        fi
14131
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14132
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14133
 
        else
14134
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14135
 
      fi
14136
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14137
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14138
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14139
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14140
 
        else
14141
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14142
 
        fi
14143
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14144
15134
      hardcode_direct_F77=no
14145
15135
      hardcode_automatic_F77=yes
14146
15136
      hardcode_shlibpath_var_F77=unsupported
14147
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
15137
      whole_archive_flag_spec_F77=''
14148
15138
      link_all_deplibs_F77=yes
 
15139
    if test "$GCC" = yes ; then
 
15140
        output_verbose_link_cmd='echo'
 
15141
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
15142
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15143
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15144
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15145
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14149
15146
    else
14150
 
      ld_shlibs_F77=no
 
15147
      case $cc_basename in
 
15148
        xlc*)
 
15149
         output_verbose_link_cmd='echo'
 
15150
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
15151
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15152
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15153
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15154
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15155
          ;;
 
15156
       *)
 
15157
         ld_shlibs_F77=no
 
15158
          ;;
 
15159
      esac
14151
15160
    fi
14152
15161
      ;;
14153
15162
 
14181
15190
      ;;
14182
15191
 
14183
15192
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14184
 
    freebsd* | kfreebsd*-gnu)
 
15193
    freebsd* | dragonfly*)
14185
15194
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14186
15195
      hardcode_libdir_flag_spec_F77='-R$libdir'
14187
15196
      hardcode_direct_F77=yes
14204
15213
      export_dynamic_flag_spec_F77='${wl}-E'
14205
15214
      ;;
14206
15215
 
14207
 
    hpux10* | hpux11*)
14208
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14209
 
        case "$host_cpu" in
14210
 
        hppa*64*|ia64*)
 
15216
    hpux10*)
 
15217
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15218
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15219
      else
 
15220
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15221
      fi
 
15222
      if test "$with_gnu_ld" = no; then
 
15223
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15224
        hardcode_libdir_separator_F77=:
 
15225
 
 
15226
        hardcode_direct_F77=yes
 
15227
        export_dynamic_flag_spec_F77='${wl}-E'
 
15228
 
 
15229
        # hardcode_minus_L: Not really in the search PATH,
 
15230
        # but as the default location of the library.
 
15231
        hardcode_minus_L_F77=yes
 
15232
      fi
 
15233
      ;;
 
15234
 
 
15235
    hpux11*)
 
15236
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15237
        case $host_cpu in
 
15238
        hppa*64*)
14211
15239
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14212
15240
          ;;
 
15241
        ia64*)
 
15242
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15243
          ;;
14213
15244
        *)
14214
15245
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14215
15246
          ;;
14216
15247
        esac
14217
15248
      else
14218
 
        case "$host_cpu" in
14219
 
        hppa*64*|ia64*)
14220
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15249
        case $host_cpu in
 
15250
        hppa*64*)
 
15251
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15252
          ;;
 
15253
        ia64*)
 
15254
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14221
15255
          ;;
14222
15256
        *)
14223
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15257
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14224
15258
          ;;
14225
15259
        esac
14226
15260
      fi
14227
15261
      if test "$with_gnu_ld" = no; then
14228
 
        case "$host_cpu" in
14229
 
        hppa*64*)
14230
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15262
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15263
        hardcode_libdir_separator_F77=:
 
15264
 
 
15265
        case $host_cpu in
 
15266
        hppa*64*|ia64*)
14231
15267
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14232
 
          hardcode_libdir_separator_F77=:
14233
 
          hardcode_direct_F77=no
14234
 
          hardcode_shlibpath_var_F77=no
14235
 
          ;;
14236
 
        ia64*)
14237
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14238
 
          hardcode_direct_F77=no
14239
 
          hardcode_shlibpath_var_F77=no
14240
 
 
14241
 
          # hardcode_minus_L: Not really in the search PATH,
14242
 
          # but as the default location of the library.
14243
 
          hardcode_minus_L_F77=yes
 
15268
          hardcode_direct_F77=no
 
15269
          hardcode_shlibpath_var_F77=no
14244
15270
          ;;
14245
15271
        *)
14246
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14247
 
          hardcode_libdir_separator_F77=:
14248
15272
          hardcode_direct_F77=yes
14249
15273
          export_dynamic_flag_spec_F77='${wl}-E'
14250
15274
 
14288
15312
      ;;
14289
15313
 
14290
15314
    openbsd*)
14291
 
      hardcode_direct_F77=yes
14292
 
      hardcode_shlibpath_var_F77=no
14293
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14294
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14295
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14296
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15315
      if test -f /usr/libexec/ld.so; then
 
15316
        hardcode_direct_F77=yes
 
15317
        hardcode_shlibpath_var_F77=no
 
15318
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15319
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15320
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15321
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15322
          export_dynamic_flag_spec_F77='${wl}-E'
 
15323
        else
 
15324
          case $host_os in
 
15325
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15326
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15327
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15328
             ;;
 
15329
           *)
 
15330
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15331
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15332
             ;;
 
15333
          esac
 
15334
        fi
14297
15335
      else
14298
 
       case $host_os in
14299
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14300
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14301
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14302
 
           ;;
14303
 
         *)
14304
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14305
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14306
 
           ;;
14307
 
       esac
 
15336
        ld_shlibs_F77=no
14308
15337
      fi
14309
15338
      ;;
14310
15339
 
14337
15366
        allow_undefined_flag_F77=' -expect_unresolved \*'
14338
15367
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14339
15368
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14340
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
15369
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14341
15370
 
14342
15371
        # Both c and cxx compiler support -rpath directly
14343
15372
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14345
15374
      hardcode_libdir_separator_F77=:
14346
15375
      ;;
14347
15376
 
14348
 
    sco3.2v5*)
14349
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14350
 
      hardcode_shlibpath_var_F77=no
14351
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14352
 
      runpath_var=LD_RUN_PATH
14353
 
      hardcode_runpath_var=yes
14354
 
      ;;
14355
 
 
14356
15377
    solaris*)
14357
15378
      no_undefined_flag_F77=' -z text'
14358
15379
      if test "$GCC" = yes; then
 
15380
        wlarc='${wl}'
14359
15381
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14360
15382
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14361
15383
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14362
15384
      else
 
15385
        wlarc=''
14363
15386
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14364
15387
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14365
15388
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14368
15391
      hardcode_shlibpath_var_F77=no
14369
15392
      case $host_os in
14370
15393
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14371
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14372
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15394
      *)
 
15395
        # The compiler driver will combine and reorder linker options,
 
15396
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15397
        # but is careful enough not to reorder.
 
15398
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15399
        if test "$GCC" = yes; then
 
15400
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15401
        else
 
15402
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15403
        fi
 
15404
        ;;
14373
15405
      esac
14374
15406
      link_all_deplibs_F77=yes
14375
15407
      ;;
14426
15458
      fi
14427
15459
      ;;
14428
15460
 
14429
 
    sysv4.2uw2*)
14430
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14431
 
      hardcode_direct_F77=yes
14432
 
      hardcode_minus_L_F77=no
14433
 
      hardcode_shlibpath_var_F77=no
14434
 
      hardcode_runpath_var=yes
14435
 
      runpath_var=LD_RUN_PATH
14436
 
      ;;
14437
 
 
14438
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14439
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14440
 
      if test "$GCC" = yes; then
14441
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14442
 
      else
14443
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14444
 
      fi
14445
 
      runpath_var='LD_RUN_PATH'
14446
 
      hardcode_shlibpath_var_F77=no
14447
 
      ;;
14448
 
 
14449
 
    sysv5*)
14450
 
      no_undefined_flag_F77=' -z text'
14451
 
      # $CC -shared without GNU ld will not create a library from C++
14452
 
      # object files and a static libstdc++, better avoid it by now
14453
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14454
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14455
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14456
 
      hardcode_libdir_flag_spec_F77=
14457
 
      hardcode_shlibpath_var_F77=no
14458
 
      runpath_var='LD_RUN_PATH'
 
15461
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15462
      no_undefined_flag_F77='${wl}-z,text'
 
15463
      archive_cmds_need_lc_F77=no
 
15464
      hardcode_shlibpath_var_F77=no
 
15465
      runpath_var='LD_RUN_PATH'
 
15466
 
 
15467
      if test "$GCC" = yes; then
 
15468
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15469
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15470
      else
 
15471
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15472
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15473
      fi
 
15474
      ;;
 
15475
 
 
15476
    sysv5* | sco3.2v5* | sco5v6*)
 
15477
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15478
      # link with -lc, and that would cause any symbols used from libc to
 
15479
      # always be unresolved, which means just about no library would
 
15480
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15481
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15482
      # as -z defs.
 
15483
      no_undefined_flag_F77='${wl}-z,text'
 
15484
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15485
      archive_cmds_need_lc_F77=no
 
15486
      hardcode_shlibpath_var_F77=no
 
15487
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15488
      hardcode_libdir_separator_F77=':'
 
15489
      link_all_deplibs_F77=yes
 
15490
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15491
      runpath_var='LD_RUN_PATH'
 
15492
 
 
15493
      if test "$GCC" = yes; then
 
15494
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15495
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15496
      else
 
15497
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15498
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15499
      fi
14459
15500
      ;;
14460
15501
 
14461
15502
    uts4*)
14470
15511
    esac
14471
15512
  fi
14472
15513
 
14473
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14474
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15514
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15515
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14475
15516
test "$ld_shlibs_F77" = no && can_build_shared=no
14476
15517
 
14477
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14478
 
if test "$GCC" = yes; then
14479
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14480
 
fi
14481
 
 
14482
15518
#
14483
15519
# Do we need to explicitly link libc?
14484
15520
#
14496
15532
      # Test whether the compiler implicitly links with -lc since on some
14497
15533
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14498
15534
      # to ld, don't add -lc before -lgcc.
14499
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14500
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15535
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15536
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14501
15537
      $rm conftest*
14502
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15538
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14503
15539
 
14504
15540
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505
15541
  (eval $ac_compile) 2>&5
14511
15547
        libobjs=conftest.$ac_objext
14512
15548
        deplibs=
14513
15549
        wl=$lt_prog_compiler_wl_F77
 
15550
        pic_flag=$lt_prog_compiler_pic_F77
14514
15551
        compiler_flags=-v
14515
15552
        linker_flags=-v
14516
15553
        verstring=
14533
15570
        cat conftest.err 1>&5
14534
15571
      fi
14535
15572
      $rm conftest*
14536
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14537
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15573
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15574
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14538
15575
      ;;
14539
15576
    esac
14540
15577
  fi
14541
15578
  ;;
14542
15579
esac
14543
15580
 
14544
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14545
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15581
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15582
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14546
15583
library_names_spec=
14547
15584
libname_spec='lib$name'
14548
15585
soname_spec=
14556
15593
version_type=none
14557
15594
dynamic_linker="$host_os ld.so"
14558
15595
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14559
 
if test "$GCC" = yes; then
14560
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14561
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14562
 
    # if the path contains ";" then we assume it to be the separator
14563
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14564
 
    # assumed that no part of a normal pathname contains ";" but that should
14565
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14566
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14567
 
  else
14568
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14569
 
  fi
14570
 
else
14571
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14572
 
fi
 
15596
 
14573
15597
need_lib_prefix=unknown
14574
15598
hardcode_into_libs=no
14575
15599
 
14643
15667
  shlibpath_var=LIBRARY_PATH
14644
15668
  ;;
14645
15669
 
14646
 
bsdi4*)
 
15670
bsdi[45]*)
14647
15671
  version_type=linux
14648
15672
  need_version=no
14649
15673
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671
15695
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14672
15696
      dldir=$destdir/`dirname \$dlpath`~
14673
15697
      test -d \$dldir || mkdir -p \$dldir~
14674
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15698
      $install_prog $dir/$dlname \$dldir/$dlname~
 
15699
      chmod a+x \$dldir/$dlname'
14675
15700
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14676
15701
      dlpath=$dir/\$dldll~
14677
15702
       $rm \$dlpath'
14701
15726
      ;;
14702
15727
    pw32*)
14703
15728
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14704
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
15729
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14705
15730
      ;;
14706
15731
    esac
14707
15732
    ;;
14724
15749
  soname_spec='${libname}${release}${major}$shared_ext'
14725
15750
  shlibpath_overrides_runpath=yes
14726
15751
  shlibpath_var=DYLD_LIBRARY_PATH
14727
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14728
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14729
 
  if test "$GCC" = yes; then
14730
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14731
 
  else
14732
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14733
 
  fi
 
15752
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
15753
 
14734
15754
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14735
15755
  ;;
14736
15756
 
14747
15767
  dynamic_linker=no
14748
15768
  ;;
14749
15769
 
14750
 
kfreebsd*-gnu)
14751
 
  version_type=linux
14752
 
  need_lib_prefix=no
14753
 
  need_version=no
14754
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14755
 
  soname_spec='${libname}${release}${shared_ext}$major'
14756
 
  shlibpath_var=LD_LIBRARY_PATH
14757
 
  shlibpath_overrides_runpath=no
14758
 
  hardcode_into_libs=yes
14759
 
  dynamic_linker='GNU ld.so'
14760
 
  ;;
14761
 
 
14762
 
freebsd*)
14763
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
15770
freebsd* | dragonfly*)
 
15771
  # DragonFly does not have aout.  When/if they implement a new
 
15772
  # versioning mechanism, adjust this.
 
15773
  if test -x /usr/bin/objformat; then
 
15774
    objformat=`/usr/bin/objformat`
 
15775
  else
 
15776
    case $host_os in
 
15777
    freebsd[123]*) objformat=aout ;;
 
15778
    *) objformat=elf ;;
 
15779
    esac
 
15780
  fi
14764
15781
  version_type=freebsd-$objformat
14765
15782
  case $version_type in
14766
15783
    freebsd-elf*)
14778
15795
  freebsd2*)
14779
15796
    shlibpath_overrides_runpath=yes
14780
15797
    ;;
14781
 
  freebsd3.01* | freebsdelf3.01*)
 
15798
  freebsd3.[01]* | freebsdelf3.[01]*)
14782
15799
    shlibpath_overrides_runpath=yes
14783
15800
    hardcode_into_libs=yes
14784
15801
    ;;
14785
 
  *) # from 3.2 on
 
15802
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15803
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14786
15804
    shlibpath_overrides_runpath=no
14787
15805
    hardcode_into_libs=yes
14788
15806
    ;;
 
15807
  *) # from 4.6 on, and DragonFly
 
15808
    shlibpath_overrides_runpath=yes
 
15809
    hardcode_into_libs=yes
 
15810
    ;;
14789
15811
  esac
14790
15812
  ;;
14791
15813
 
14805
15827
  version_type=sunos
14806
15828
  need_lib_prefix=no
14807
15829
  need_version=no
14808
 
  case "$host_cpu" in
 
15830
  case $host_cpu in
14809
15831
  ia64*)
14810
15832
    shrext_cmds='.so'
14811
15833
    hardcode_into_libs=yes
14845
15867
  postinstall_cmds='chmod 555 $lib'
14846
15868
  ;;
14847
15869
 
 
15870
interix[3-9]*)
 
15871
  version_type=linux
 
15872
  need_lib_prefix=no
 
15873
  need_version=no
 
15874
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15875
  soname_spec='${libname}${release}${shared_ext}$major'
 
15876
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15877
  shlibpath_var=LD_LIBRARY_PATH
 
15878
  shlibpath_overrides_runpath=no
 
15879
  hardcode_into_libs=yes
 
15880
  ;;
 
15881
 
14848
15882
irix5* | irix6* | nonstopux*)
14849
15883
  case $host_os in
14850
15884
    nonstopux*) version_type=nonstopux ;;
14888
15922
  ;;
14889
15923
 
14890
15924
# This must be Linux ELF.
14891
 
linux*)
 
15925
linux* | k*bsd*-gnu)
14892
15926
  version_type=linux
14893
15927
  need_lib_prefix=no
14894
15928
  need_version=no
14901
15935
  # Some rework will be needed to allow for fast_install
14902
15936
  # before this can be enabled.
14903
15937
  hardcode_into_libs=yes
14904
 
 
14905
 
  # find out which ABI we are using
14906
 
  libsuff=
14907
 
  case "$host_cpu" in
14908
 
  x86_64*|s390x*|powerpc64*)
14909
 
    echo '#line 14909 "configure"' > conftest.$ac_ext
14910
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14911
 
  (eval $ac_compile) 2>&5
14912
 
  ac_status=$?
14913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914
 
  (exit $ac_status); }; then
14915
 
      case `/usr/bin/file conftest.$ac_objext` in
14916
 
      *64-bit*)
14917
 
        libsuff=64
14918
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14919
 
        ;;
14920
 
      esac
14921
 
    fi
14922
 
    rm -rf conftest*
14923
 
    ;;
14924
 
  esac
 
15938
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
15939
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14925
15940
 
14926
15941
  # Append ld.so.conf contents to the search path
14927
15942
  if test -f /etc/ld.so.conf; then
14928
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
14929
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15943
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15944
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14930
15945
  fi
14931
15946
 
14932
15947
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14938
15953
  dynamic_linker='GNU/Linux ld.so'
14939
15954
  ;;
14940
15955
 
14941
 
knetbsd*-gnu)
14942
 
  version_type=linux
14943
 
  need_lib_prefix=no
14944
 
  need_version=no
14945
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14946
 
  soname_spec='${libname}${release}${shared_ext}$major'
14947
 
  shlibpath_var=LD_LIBRARY_PATH
14948
 
  shlibpath_overrides_runpath=no
14949
 
  hardcode_into_libs=yes
14950
 
  dynamic_linker='GNU ld.so'
14951
 
  ;;
14952
 
 
14953
15956
netbsd*)
14954
15957
  version_type=sunos
14955
15958
  need_lib_prefix=no
14987
15990
 
14988
15991
openbsd*)
14989
15992
  version_type=sunos
 
15993
  sys_lib_dlsearch_path_spec="/usr/lib"
14990
15994
  need_lib_prefix=no
14991
 
  need_version=yes
 
15995
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
15996
  case $host_os in
 
15997
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
15998
    *)                         need_version=no  ;;
 
15999
  esac
14992
16000
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14993
16001
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14994
16002
  shlibpath_var=LD_LIBRARY_PATH
15026
16034
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15027
16035
  ;;
15028
16036
 
15029
 
sco3.2v5*)
15030
 
  version_type=osf
15031
 
  soname_spec='${libname}${release}${shared_ext}$major'
15032
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15033
 
  shlibpath_var=LD_LIBRARY_PATH
 
16037
rdos*)
 
16038
  dynamic_linker=no
15034
16039
  ;;
15035
16040
 
15036
16041
solaris*)
15058
16063
  need_version=yes
15059
16064
  ;;
15060
16065
 
15061
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16066
sysv4 | sysv4.3*)
15062
16067
  version_type=linux
15063
16068
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15064
16069
  soname_spec='${libname}${release}${shared_ext}$major'
15091
16096
  fi
15092
16097
  ;;
15093
16098
 
 
16099
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16100
  version_type=freebsd-elf
 
16101
  need_lib_prefix=no
 
16102
  need_version=no
 
16103
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16104
  soname_spec='${libname}${release}${shared_ext}$major'
 
16105
  shlibpath_var=LD_LIBRARY_PATH
 
16106
  hardcode_into_libs=yes
 
16107
  if test "$with_gnu_ld" = yes; then
 
16108
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16109
    shlibpath_overrides_runpath=no
 
16110
  else
 
16111
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16112
    shlibpath_overrides_runpath=yes
 
16113
    case $host_os in
 
16114
      sco3.2v5*)
 
16115
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16116
        ;;
 
16117
    esac
 
16118
  fi
 
16119
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16120
  ;;
 
16121
 
15094
16122
uts4*)
15095
16123
  version_type=linux
15096
16124
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15102
16130
  dynamic_linker=no
15103
16131
  ;;
15104
16132
esac
15105
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15106
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16133
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16134
echo "${ECHO_T}$dynamic_linker" >&6; }
15107
16135
test "$dynamic_linker" = no && can_build_shared=no
15108
16136
 
15109
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15110
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16137
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16138
if test "$GCC" = yes; then
 
16139
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16140
fi
 
16141
 
 
16142
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16143
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15111
16144
hardcode_action_F77=
15112
16145
if test -n "$hardcode_libdir_flag_spec_F77" || \
15113
 
   test -n "$runpath_var F77" || \
15114
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
16146
   test -n "$runpath_var_F77" || \
 
16147
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15115
16148
 
15116
16149
  # We can hardcode non-existant directories.
15117
16150
  if test "$hardcode_direct_F77" != no &&
15131
16164
  # directories.
15132
16165
  hardcode_action_F77=unsupported
15133
16166
fi
15134
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15135
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16167
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16168
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15136
16169
 
15137
16170
if test "$hardcode_action_F77" = relink; then
15138
16171
  # Fast installation is not supported
15143
16176
  enable_fast_install=needless
15144
16177
fi
15145
16178
 
15146
 
striplib=
15147
 
old_striplib=
15148
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15149
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15150
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15151
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15152
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15153
 
  echo "$as_me:$LINENO: result: yes" >&5
15154
 
echo "${ECHO_T}yes" >&6
15155
 
else
15156
 
# FIXME - insert some real tests, host_os isn't really good enough
15157
 
  case $host_os in
15158
 
   darwin*)
15159
 
       if test -n "$STRIP" ; then
15160
 
         striplib="$STRIP -x"
15161
 
         echo "$as_me:$LINENO: result: yes" >&5
15162
 
echo "${ECHO_T}yes" >&6
15163
 
       else
15164
 
  echo "$as_me:$LINENO: result: no" >&5
15165
 
echo "${ECHO_T}no" >&6
15166
 
fi
15167
 
       ;;
15168
 
   *)
15169
 
  echo "$as_me:$LINENO: result: no" >&5
15170
 
echo "${ECHO_T}no" >&6
15171
 
    ;;
15172
 
  esac
15173
 
fi
15174
 
 
15175
 
 
15176
16179
 
15177
16180
# The else clause should only fire when bootstrapping the
15178
16181
# libtool distribution, otherwise you forgot to ship ltmain.sh
15187
16190
  # Now quote all the things that may contain metacharacters while being
15188
16191
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15189
16192
  # variables and quote the copies for generation of the libtool script.
15190
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16193
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15191
16194
    SED SHELL STRIP \
15192
16195
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15193
16196
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15229
16232
    module_cmds_F77 \
15230
16233
    module_expsym_cmds_F77 \
15231
16234
    lt_cv_prog_compiler_c_o_F77 \
 
16235
    fix_srcfile_path_F77 \
15232
16236
    exclude_expsyms_F77 \
15233
16237
    include_expsyms_F77; do
15234
16238
 
15288
16292
# The host system.
15289
16293
host_alias=$host_alias
15290
16294
host=$host
 
16295
host_os=$host_os
 
16296
 
 
16297
# The build system.
 
16298
build_alias=$build_alias
 
16299
build=$build
 
16300
build_os=$build_os
15291
16301
 
15292
16302
# An echo program that does not interpret backslashes.
15293
16303
echo=$lt_echo
15299
16309
# A C compiler.
15300
16310
LTCC=$lt_LTCC
15301
16311
 
 
16312
# LTCC compiler flags.
 
16313
LTCFLAGS=$lt_LTCFLAGS
 
16314
 
15302
16315
# A language-specific compiler.
15303
16316
CC=$lt_compiler_F77
15304
16317
 
15364
16377
# Does compiler simultaneously support -c and -o options?
15365
16378
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15366
16379
 
15367
 
# Must we lock files when doing compilation ?
 
16380
# Must we lock files when doing compilation?
15368
16381
need_locks=$lt_need_locks
15369
16382
 
15370
16383
# Do we need the lib prefix for modules?
15540
16553
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15541
16554
 
15542
16555
# Fix the shell variable \$srcfile for the compiler.
15543
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16556
fix_srcfile_path=$lt_fix_srcfile_path
15544
16557
 
15545
16558
# Set to yes if exported symbols are required.
15546
16559
always_export_symbols=$always_export_symbols_F77
15590
16603
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15591
16604
 
15592
16605
 
15593
 
 
15594
16606
# Source file extension for Java test sources.
15595
16607
ac_ext=java
15596
16608
 
15599
16611
objext_GCJ=$objext
15600
16612
 
15601
16613
# Code to be used in simple compile tests
15602
 
lt_simple_compile_test_code="class foo {}\n"
 
16614
lt_simple_compile_test_code="class foo {}"
15603
16615
 
15604
16616
# Code to be used in simple link tests
15605
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
16617
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15606
16618
 
15607
16619
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15608
16620
 
15609
16621
# If no C compiler was specified, use CC.
15610
16622
LTCC=${LTCC-"$CC"}
15611
16623
 
 
16624
# If no C compiler flags were specified, use CFLAGS.
 
16625
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16626
 
15612
16627
# Allow CC to be a program name with arguments.
15613
16628
compiler=$CC
15614
16629
 
15615
16630
 
 
16631
# save warnings/boilerplate of simple test code
 
16632
ac_outfile=conftest.$ac_objext
 
16633
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16634
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16635
_lt_compiler_boilerplate=`cat conftest.err`
 
16636
$rm conftest*
 
16637
 
 
16638
ac_outfile=conftest.$ac_objext
 
16639
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
16640
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16641
_lt_linker_boilerplate=`cat conftest.err`
 
16642
$rm conftest*
 
16643
 
 
16644
 
15616
16645
# Allow CC to be a program name with arguments.
15617
16646
lt_save_CC="$CC"
15618
16647
CC=${GCJ-"gcj"}
15619
16648
compiler=$CC
15620
16649
compiler_GCJ=$CC
 
16650
for cc_temp in $compiler""; do
 
16651
  case $cc_temp in
 
16652
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16653
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16654
    \-*) ;;
 
16655
    *) break;;
 
16656
  esac
 
16657
done
 
16658
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
16659
 
15621
16660
 
15622
16661
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15623
16662
archive_cmds_need_lc_GCJ=no
15624
16663
 
 
16664
old_archive_cmds_GCJ=$old_archive_cmds
 
16665
 
15625
16666
 
15626
16667
lt_prog_compiler_no_builtin_flag_GCJ=
15627
16668
 
15629
16670
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15630
16671
 
15631
16672
 
15632
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15633
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16673
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16674
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15634
16675
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15635
16676
  echo $ECHO_N "(cached) $ECHO_C" >&6
15636
16677
else
15637
16678
  lt_cv_prog_compiler_rtti_exceptions=no
15638
16679
  ac_outfile=conftest.$ac_objext
15639
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16680
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15640
16681
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15641
16682
   # Insert the option either (1) after the last *FLAGS variable, or
15642
16683
   # (2) before a word containing "conftest.", or (3) at the end.
15644
16685
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15645
16686
   # The option is referenced via a variable to avoid confusing sed.
15646
16687
   lt_compile=`echo "$ac_compile" | $SED \
15647
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16688
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15648
16689
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15649
16690
   -e 's:$: $lt_compiler_flag:'`
15650
 
   (eval echo "\"\$as_me:15650: $lt_compile\"" >&5)
 
16691
   (eval echo "\"\$as_me:16691: $lt_compile\"" >&5)
15651
16692
   (eval "$lt_compile" 2>conftest.err)
15652
16693
   ac_status=$?
15653
16694
   cat conftest.err >&5
15654
 
   echo "$as_me:15654: \$? = $ac_status" >&5
 
16695
   echo "$as_me:16695: \$? = $ac_status" >&5
15655
16696
   if (exit $ac_status) && test -s "$ac_outfile"; then
15656
16697
     # The compiler can only warn and ignore the option if not recognized
15657
 
     # So say no if there are warnings
15658
 
     if test ! -s conftest.err; then
 
16698
     # So say no if there are warnings other than the usual output.
 
16699
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16700
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16701
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15659
16702
       lt_cv_prog_compiler_rtti_exceptions=yes
15660
16703
     fi
15661
16704
   fi
15662
16705
   $rm conftest*
15663
16706
 
15664
16707
fi
15665
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15666
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16708
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16709
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15667
16710
 
15668
16711
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15669
16712
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15677
16720
lt_prog_compiler_pic_GCJ=
15678
16721
lt_prog_compiler_static_GCJ=
15679
16722
 
15680
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15681
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16723
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16724
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15682
16725
 
15683
16726
  if test "$GCC" = yes; then
15684
16727
    lt_prog_compiler_wl_GCJ='-Wl,'
15700
16743
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15701
16744
      ;;
15702
16745
 
15703
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16746
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15704
16747
      # PIC is the default for these OSes.
15705
16748
      ;;
15706
16749
 
15707
 
    mingw* | pw32* | os2*)
 
16750
    mingw* | cygwin* | pw32* | os2*)
15708
16751
      # This hack is so that the source file can tell whether it is being
15709
16752
      # built for inclusion in a dll (and should export symbols for example).
 
16753
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16754
      # (--disable-auto-import) libraries
15710
16755
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15711
16756
      ;;
15712
16757
 
15716
16761
      lt_prog_compiler_pic_GCJ='-fno-common'
15717
16762
      ;;
15718
16763
 
 
16764
    interix[3-9]*)
 
16765
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16766
      # Instead, we relocate shared libraries at runtime.
 
16767
      ;;
 
16768
 
15719
16769
    msdosdjgpp*)
15720
16770
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15721
16771
      # on systems that don't support them.
15732
16782
    hpux*)
15733
16783
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15734
16784
      # not for PA HP-UX.
15735
 
      case "$host_cpu" in
 
16785
      case $host_cpu in
15736
16786
      hppa*64*|ia64*)
15737
16787
        # +Z the default
15738
16788
        ;;
15758
16808
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15759
16809
      fi
15760
16810
      ;;
 
16811
      darwin*)
 
16812
        # PIC is the default on this platform
 
16813
        # Common symbols not allowed in MH_DYLIB files
 
16814
       case $cc_basename in
 
16815
         xlc*)
 
16816
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
16817
         lt_prog_compiler_wl_GCJ='-Wl,'
 
16818
         ;;
 
16819
       esac
 
16820
       ;;
15761
16821
 
15762
 
    mingw* | pw32* | os2*)
 
16822
    mingw* | cygwin* | pw32* | os2*)
15763
16823
      # This hack is so that the source file can tell whether it is being
15764
16824
      # built for inclusion in a dll (and should export symbols for example).
15765
16825
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15769
16829
      lt_prog_compiler_wl_GCJ='-Wl,'
15770
16830
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15771
16831
      # not for PA HP-UX.
15772
 
      case "$host_cpu" in
 
16832
      case $host_cpu in
15773
16833
      hppa*64*|ia64*)
15774
16834
        # +Z the default
15775
16835
        ;;
15792
16852
      lt_prog_compiler_static_GCJ='-Bstatic'
15793
16853
      ;;
15794
16854
 
15795
 
    linux*)
15796
 
      case $CC in
 
16855
    linux* | k*bsd*-gnu)
 
16856
      case $cc_basename in
15797
16857
      icc* | ecc*)
15798
16858
        lt_prog_compiler_wl_GCJ='-Wl,'
15799
16859
        lt_prog_compiler_pic_GCJ='-KPIC'
15800
16860
        lt_prog_compiler_static_GCJ='-static'
15801
16861
        ;;
 
16862
      pgcc* | pgf77* | pgf90* | pgf95*)
 
16863
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
16864
        # which looks to be a dead project)
 
16865
        lt_prog_compiler_wl_GCJ='-Wl,'
 
16866
        lt_prog_compiler_pic_GCJ='-fpic'
 
16867
        lt_prog_compiler_static_GCJ='-Bstatic'
 
16868
        ;;
15802
16869
      ccc*)
15803
16870
        lt_prog_compiler_wl_GCJ='-Wl,'
15804
16871
        # All Alpha code is PIC.
15805
16872
        lt_prog_compiler_static_GCJ='-non_shared'
15806
16873
        ;;
 
16874
      *)
 
16875
        case `$CC -V 2>&1 | sed 5q` in
 
16876
        *Sun\ C*)
 
16877
          # Sun C 5.9
 
16878
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16879
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16880
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16881
          ;;
 
16882
        *Sun\ F*)
 
16883
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16884
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16885
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16886
          lt_prog_compiler_wl_GCJ=''
 
16887
          ;;
 
16888
        esac
 
16889
        ;;
15807
16890
      esac
15808
16891
      ;;
15809
16892
 
15813
16896
      lt_prog_compiler_static_GCJ='-non_shared'
15814
16897
      ;;
15815
16898
 
15816
 
    sco3.2v5*)
15817
 
      lt_prog_compiler_pic_GCJ='-Kpic'
15818
 
      lt_prog_compiler_static_GCJ='-dn'
 
16899
    rdos*)
 
16900
      lt_prog_compiler_static_GCJ='-non_shared'
15819
16901
      ;;
15820
16902
 
15821
16903
    solaris*)
15822
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15823
16904
      lt_prog_compiler_pic_GCJ='-KPIC'
15824
16905
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16906
      case $cc_basename in
 
16907
      f77* | f90* | f95*)
 
16908
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
16909
      *)
 
16910
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
16911
      esac
15825
16912
      ;;
15826
16913
 
15827
16914
    sunos4*)
15830
16917
      lt_prog_compiler_static_GCJ='-Bstatic'
15831
16918
      ;;
15832
16919
 
15833
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16920
    sysv4 | sysv4.2uw2* | sysv4.3*)
15834
16921
      lt_prog_compiler_wl_GCJ='-Wl,'
15835
16922
      lt_prog_compiler_pic_GCJ='-KPIC'
15836
16923
      lt_prog_compiler_static_GCJ='-Bstatic'
15843
16930
      fi
15844
16931
      ;;
15845
16932
 
 
16933
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16934
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16935
      lt_prog_compiler_pic_GCJ='-KPIC'
 
16936
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16937
      ;;
 
16938
 
 
16939
    unicos*)
 
16940
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16941
      lt_prog_compiler_can_build_shared_GCJ=no
 
16942
      ;;
 
16943
 
15846
16944
    uts4*)
15847
16945
      lt_prog_compiler_pic_GCJ='-pic'
15848
16946
      lt_prog_compiler_static_GCJ='-Bstatic'
15854
16952
    esac
15855
16953
  fi
15856
16954
 
15857
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15858
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16955
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16956
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15859
16957
 
15860
16958
#
15861
16959
# Check to make sure the PIC flag actually works.
15862
16960
#
15863
16961
if test -n "$lt_prog_compiler_pic_GCJ"; then
15864
16962
 
15865
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15866
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16963
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16964
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15867
16965
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15868
16966
  echo $ECHO_N "(cached) $ECHO_C" >&6
15869
16967
else
15870
16968
  lt_prog_compiler_pic_works_GCJ=no
15871
16969
  ac_outfile=conftest.$ac_objext
15872
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16970
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15873
16971
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15874
16972
   # Insert the option either (1) after the last *FLAGS variable, or
15875
16973
   # (2) before a word containing "conftest.", or (3) at the end.
15877
16975
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15878
16976
   # The option is referenced via a variable to avoid confusing sed.
15879
16977
   lt_compile=`echo "$ac_compile" | $SED \
15880
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16978
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15881
16979
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15882
16980
   -e 's:$: $lt_compiler_flag:'`
15883
 
   (eval echo "\"\$as_me:15883: $lt_compile\"" >&5)
 
16981
   (eval echo "\"\$as_me:16981: $lt_compile\"" >&5)
15884
16982
   (eval "$lt_compile" 2>conftest.err)
15885
16983
   ac_status=$?
15886
16984
   cat conftest.err >&5
15887
 
   echo "$as_me:15887: \$? = $ac_status" >&5
 
16985
   echo "$as_me:16985: \$? = $ac_status" >&5
15888
16986
   if (exit $ac_status) && test -s "$ac_outfile"; then
15889
16987
     # The compiler can only warn and ignore the option if not recognized
15890
 
     # So say no if there are warnings
15891
 
     if test ! -s conftest.err; then
 
16988
     # So say no if there are warnings other than the usual output.
 
16989
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16990
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16991
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15892
16992
       lt_prog_compiler_pic_works_GCJ=yes
15893
16993
     fi
15894
16994
   fi
15895
16995
   $rm conftest*
15896
16996
 
15897
16997
fi
15898
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15899
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16998
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16999
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15900
17000
 
15901
17001
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15902
17002
    case $lt_prog_compiler_pic_GCJ in
15909
17009
fi
15910
17010
 
15911
17011
fi
15912
 
case "$host_os" in
 
17012
case $host_os in
15913
17013
  # For platforms which do not support PIC, -DPIC is meaningless:
15914
17014
  *djgpp*)
15915
17015
    lt_prog_compiler_pic_GCJ=
15919
17019
    ;;
15920
17020
esac
15921
17021
 
15922
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15923
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17022
#
 
17023
# Check to make sure the static flag actually works.
 
17024
#
 
17025
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17026
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17027
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17028
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17029
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17030
else
 
17031
  lt_prog_compiler_static_works_GCJ=no
 
17032
   save_LDFLAGS="$LDFLAGS"
 
17033
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17034
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
17035
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17036
     # The linker can only warn and ignore the option if not recognized
 
17037
     # So say no if there are warnings
 
17038
     if test -s conftest.err; then
 
17039
       # Append any errors to the config.log.
 
17040
       cat conftest.err 1>&5
 
17041
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17042
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17043
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17044
         lt_prog_compiler_static_works_GCJ=yes
 
17045
       fi
 
17046
     else
 
17047
       lt_prog_compiler_static_works_GCJ=yes
 
17048
     fi
 
17049
   fi
 
17050
   $rm conftest*
 
17051
   LDFLAGS="$save_LDFLAGS"
 
17052
 
 
17053
fi
 
17054
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17055
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17056
 
 
17057
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17058
    :
 
17059
else
 
17060
    lt_prog_compiler_static_GCJ=
 
17061
fi
 
17062
 
 
17063
 
 
17064
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17065
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15924
17066
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15925
17067
  echo $ECHO_N "(cached) $ECHO_C" >&6
15926
17068
else
15929
17071
   mkdir conftest
15930
17072
   cd conftest
15931
17073
   mkdir out
15932
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17074
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15933
17075
 
15934
17076
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15935
17077
   # Insert the option either (1) after the last *FLAGS variable, or
15937
17079
   # Note that $ac_compile itself does not contain backslashes and begins
15938
17080
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15939
17081
   lt_compile=`echo "$ac_compile" | $SED \
15940
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17082
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15941
17083
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15942
17084
   -e 's:$: $lt_compiler_flag:'`
15943
 
   (eval echo "\"\$as_me:15943: $lt_compile\"" >&5)
 
17085
   (eval echo "\"\$as_me:17085: $lt_compile\"" >&5)
15944
17086
   (eval "$lt_compile" 2>out/conftest.err)
15945
17087
   ac_status=$?
15946
17088
   cat out/conftest.err >&5
15947
 
   echo "$as_me:15947: \$? = $ac_status" >&5
 
17089
   echo "$as_me:17089: \$? = $ac_status" >&5
15948
17090
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15949
17091
   then
15950
17092
     # The compiler can only warn and ignore the option if not recognized
15951
17093
     # So say no if there are warnings
15952
 
     if test ! -s out/conftest.err; then
 
17094
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17095
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17096
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15953
17097
       lt_cv_prog_compiler_c_o_GCJ=yes
15954
17098
     fi
15955
17099
   fi
15956
 
   chmod u+w .
 
17100
   chmod u+w . 2>&5
15957
17101
   $rm conftest*
15958
17102
   # SGI C++ compiler will create directory out/ii_files/ for
15959
17103
   # template instantiation
15964
17108
   $rm conftest*
15965
17109
 
15966
17110
fi
15967
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15968
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17111
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17112
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15969
17113
 
15970
17114
 
15971
17115
hard_links="nottested"
15972
17116
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15973
17117
  # do not overwrite the value of need_locks provided by the user
15974
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15975
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17118
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17119
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15976
17120
  hard_links=yes
15977
17121
  $rm conftest*
15978
17122
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15979
17123
  touch conftest.a
15980
17124
  ln conftest.a conftest.b 2>&5 || hard_links=no
15981
17125
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15982
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15983
 
echo "${ECHO_T}$hard_links" >&6
 
17126
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17127
echo "${ECHO_T}$hard_links" >&6; }
15984
17128
  if test "$hard_links" = no; then
15985
17129
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15986
17130
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15990
17134
  need_locks=no
15991
17135
fi
15992
17136
 
15993
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15994
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17137
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17138
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15995
17139
 
15996
17140
  runpath_var=
15997
17141
  allow_undefined_flag_GCJ=
16029
17173
  # rely on this symbol name, it's probably fine to never include it in
16030
17174
  # preloaded symbol tables.
16031
17175
  extract_expsyms_cmds=
 
17176
  # Just being paranoid about ensuring that cc_basename is set.
 
17177
  for cc_temp in $compiler""; do
 
17178
  case $cc_temp in
 
17179
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17180
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17181
    \-*) ;;
 
17182
    *) break;;
 
17183
  esac
 
17184
done
 
17185
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16032
17186
 
16033
17187
  case $host_os in
16034
17188
  cygwin* | mingw* | pw32*)
16039
17193
      with_gnu_ld=no
16040
17194
    fi
16041
17195
    ;;
 
17196
  interix*)
 
17197
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17198
    with_gnu_ld=yes
 
17199
    ;;
16042
17200
  openbsd*)
16043
17201
    with_gnu_ld=no
16044
17202
    ;;
16049
17207
    # If archive_cmds runs LD, not CC, wlarc should be empty
16050
17208
    wlarc='${wl}'
16051
17209
 
 
17210
    # Set some defaults for GNU ld with shared library support. These
 
17211
    # are reset later if shared libraries are not supported. Putting them
 
17212
    # here allows them to be overridden if necessary.
 
17213
    runpath_var=LD_RUN_PATH
 
17214
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17215
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17216
    # ancient GNU ld didn't support --whole-archive et. al.
 
17217
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17218
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17219
      else
 
17220
        whole_archive_flag_spec_GCJ=
 
17221
    fi
 
17222
    supports_anon_versioning=no
 
17223
    case `$LD -v 2>/dev/null` in
 
17224
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17225
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17226
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17227
      *\ 2.11.*) ;; # other 2.11 versions
 
17228
      *) supports_anon_versioning=yes ;;
 
17229
    esac
 
17230
 
16052
17231
    # See if GNU ld supports shared libraries.
16053
17232
    case $host_os in
16054
17233
    aix3* | aix4* | aix5*)
16099
17278
      allow_undefined_flag_GCJ=unsupported
16100
17279
      always_export_symbols_GCJ=no
16101
17280
      enable_shared_with_static_runtimes_GCJ=yes
16102
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17281
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16103
17282
 
16104
17283
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16105
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17284
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16106
17285
        # If the export-symbols file already is a .def file (1st line
16107
17286
        # is EXPORTS), use it as is; otherwise, prepend...
16108
17287
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16111
17290
          echo EXPORTS > $output_objdir/$soname.def;
16112
17291
          cat $export_symbols >> $output_objdir/$soname.def;
16113
17292
        fi~
16114
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16115
 
      else
16116
 
        ld_shlibs=no
 
17293
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17294
      else
 
17295
        ld_shlibs_GCJ=no
 
17296
      fi
 
17297
      ;;
 
17298
 
 
17299
    interix[3-9]*)
 
17300
      hardcode_direct_GCJ=no
 
17301
      hardcode_shlibpath_var_GCJ=no
 
17302
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17303
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17304
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17305
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17306
      # default) and relocated if they conflict, which is a slow very memory
 
17307
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17308
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17309
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17310
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
17311
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
17312
      ;;
 
17313
 
 
17314
    gnu* | linux* | k*bsd*-gnu)
 
17315
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17316
        tmp_addflag=
 
17317
        case $cc_basename,$host_cpu in
 
17318
        pgcc*)                          # Portland Group C compiler
 
17319
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17320
          tmp_addflag=' $pic_flag'
 
17321
          ;;
 
17322
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17323
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17324
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17325
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17326
          tmp_addflag=' -i_dynamic' ;;
 
17327
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17328
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17329
        ifc* | ifort*)                  # Intel Fortran compiler
 
17330
          tmp_addflag=' -nofor_main' ;;
 
17331
        esac
 
17332
        case `$CC -V 2>&1 | sed 5q` in
 
17333
        *Sun\ C*)                       # Sun C 5.9
 
17334
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17335
          tmp_sharedflag='-G' ;;
 
17336
        *Sun\ F*)                       # Sun Fortran 8.3
 
17337
          tmp_sharedflag='-G' ;;
 
17338
        *)
 
17339
          tmp_sharedflag='-shared' ;;
 
17340
        esac
 
17341
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17342
 
 
17343
        if test $supports_anon_versioning = yes; then
 
17344
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17345
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17346
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17347
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17348
        fi
 
17349
      else
 
17350
        ld_shlibs_GCJ=no
16117
17351
      fi
16118
17352
      ;;
16119
17353
 
16127
17361
      fi
16128
17362
      ;;
16129
17363
 
16130
 
    solaris* | sysv5*)
 
17364
    solaris*)
16131
17365
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16132
17366
        ld_shlibs_GCJ=no
16133
17367
        cat <<EOF 1>&2
16148
17382
      fi
16149
17383
      ;;
16150
17384
 
 
17385
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17386
      case `$LD -v 2>&1` in
 
17387
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17388
        ld_shlibs_GCJ=no
 
17389
        cat <<_LT_EOF 1>&2
 
17390
 
 
17391
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17392
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17393
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17394
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17395
*** your PATH or compiler configuration so that the native linker is
 
17396
*** used, and then restart.
 
17397
 
 
17398
_LT_EOF
 
17399
        ;;
 
17400
        *)
 
17401
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17402
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17403
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17404
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17405
          else
 
17406
            ld_shlibs_GCJ=no
 
17407
          fi
 
17408
        ;;
 
17409
      esac
 
17410
      ;;
 
17411
 
16151
17412
    sunos4*)
16152
17413
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16153
17414
      wlarc=
16155
17416
      hardcode_shlibpath_var_GCJ=no
16156
17417
      ;;
16157
17418
 
16158
 
  linux*)
16159
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16160
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16161
 
        archive_cmds_GCJ="$tmp_archive_cmds"
16162
 
      supports_anon_versioning=no
16163
 
      case `$LD -v 2>/dev/null` in
16164
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16165
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16166
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16167
 
        *\ 2.11.*) ;; # other 2.11 versions
16168
 
        *) supports_anon_versioning=yes ;;
16169
 
      esac
16170
 
      if test $supports_anon_versioning = yes; then
16171
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16172
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16173
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
16174
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16175
 
      else
16176
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16177
 
      fi
16178
 
    else
16179
 
      ld_shlibs_GCJ=no
16180
 
    fi
16181
 
    ;;
16182
 
 
16183
17419
    *)
16184
17420
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16185
17421
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16190
17426
      ;;
16191
17427
    esac
16192
17428
 
16193
 
    if test "$ld_shlibs_GCJ" = yes; then
16194
 
      runpath_var=LD_RUN_PATH
16195
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16196
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16197
 
      # ancient GNU ld didn't support --whole-archive et. al.
16198
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16199
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16200
 
      else
16201
 
        whole_archive_flag_spec_GCJ=
16202
 
      fi
 
17429
    if test "$ld_shlibs_GCJ" = no; then
 
17430
      runpath_var=
 
17431
      hardcode_libdir_flag_spec_GCJ=
 
17432
      export_dynamic_flag_spec_GCJ=
 
17433
      whole_archive_flag_spec_GCJ=
16203
17434
    fi
16204
17435
  else
16205
17436
    # PORTME fill in a description of your system's linker (not GNU ld)
16211
17442
      # Note: this linker hardcodes the directories in LIBPATH if there
16212
17443
      # are no directories specified by -L.
16213
17444
      hardcode_minus_L_GCJ=yes
16214
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17445
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16215
17446
        # Neither direct hardcoding nor static linking is supported with a
16216
17447
        # broken collect2.
16217
17448
        hardcode_direct_GCJ=unsupported
16245
17476
            break
16246
17477
          fi
16247
17478
          done
 
17479
          ;;
16248
17480
        esac
16249
17481
 
16250
17482
        exp_sym_flag='-bexport'
16263
17495
      link_all_deplibs_GCJ=yes
16264
17496
 
16265
17497
      if test "$GCC" = yes; then
16266
 
        case $host_os in aix4.012|aix4.012.*)
 
17498
        case $host_os in aix4.[012]|aix4.[012].*)
16267
17499
        # We only want to do this on AIX 4.2 and lower, the check
16268
17500
        # below for broken collect2 doesn't work under 4.3+
16269
17501
          collect2name=`${CC} -print-prog-name=collect2`
16271
17503
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16272
17504
          then
16273
17505
          # We have reworked collect2
16274
 
          hardcode_direct_GCJ=yes
 
17506
          :
16275
17507
          else
16276
17508
          # We have old collect2
16277
17509
          hardcode_direct_GCJ=unsupported
16282
17514
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16283
17515
          hardcode_libdir_separator_GCJ=
16284
17516
          fi
 
17517
          ;;
16285
17518
        esac
16286
17519
        shared_flag='-shared'
 
17520
        if test "$aix_use_runtimelinking" = yes; then
 
17521
          shared_flag="$shared_flag "'${wl}-G'
 
17522
        fi
16287
17523
      else
16288
17524
        # not using gcc
16289
17525
        if test "$host_cpu" = ia64; then
16291
17527
        # chokes on -Wl,-G. The following line is correct:
16292
17528
          shared_flag='-G'
16293
17529
        else
16294
 
        if test "$aix_use_runtimelinking" = yes; then
 
17530
          if test "$aix_use_runtimelinking" = yes; then
16295
17531
            shared_flag='${wl}-G'
16296
17532
          else
16297
17533
            shared_flag='${wl}-bM:SRE'
16298
 
        fi
 
17534
          fi
16299
17535
        fi
16300
17536
      fi
16301
17537
 
16323
17559
}
16324
17560
_ACEOF
16325
17561
rm -f conftest.$ac_objext conftest$ac_exeext
16326
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16327
 
  (eval $ac_link) 2>conftest.er1
 
17562
if { (ac_try="$ac_link"
 
17563
case "(($ac_try" in
 
17564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17565
  *) ac_try_echo=$ac_try;;
 
17566
esac
 
17567
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17568
  (eval "$ac_link") 2>conftest.er1
16328
17569
  ac_status=$?
16329
17570
  grep -v '^ *+' conftest.er1 >conftest.err
16330
17571
  rm -f conftest.er1
16331
17572
  cat conftest.err >&5
16332
17573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333
 
  (exit $ac_status); } &&
16334
 
         { ac_try='test -z "$ac_c_werror_flag"
16335
 
                         || test ! -s conftest.err'
16336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337
 
  (eval $ac_try) 2>&5
16338
 
  ac_status=$?
16339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340
 
  (exit $ac_status); }; } &&
16341
 
         { ac_try='test -s conftest$ac_exeext'
16342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343
 
  (eval $ac_try) 2>&5
16344
 
  ac_status=$?
16345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346
 
  (exit $ac_status); }; }; then
 
17574
  (exit $ac_status); } && {
 
17575
         test -z "$ac_c_werror_flag" ||
 
17576
         test ! -s conftest.err
 
17577
       } && test -s conftest$ac_exeext &&
 
17578
       $as_test_x conftest$ac_exeext; then
16347
17579
 
16348
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16349
 
}'`
 
17580
lt_aix_libpath_sed='
 
17581
    /Import File Strings/,/^$/ {
 
17582
        /^0/ {
 
17583
            s/^0  *\(.*\)$/\1/
 
17584
            p
 
17585
        }
 
17586
    }'
 
17587
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16350
17588
# Check for a 64-bit object if we didn't find anything.
16351
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16352
 
}'`; fi
 
17589
if test -z "$aix_libpath"; then
 
17590
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17591
fi
16353
17592
else
16354
17593
  echo "$as_me: failed program was:" >&5
16355
17594
sed 's/^/| /' conftest.$ac_ext >&5
16356
17595
 
 
17596
 
16357
17597
fi
16358
 
rm -f conftest.err conftest.$ac_objext \
 
17598
 
 
17599
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16359
17600
      conftest$ac_exeext conftest.$ac_ext
16360
17601
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16361
17602
 
16362
17603
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16363
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17604
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16364
17605
       else
16365
17606
        if test "$host_cpu" = ia64; then
16366
17607
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16367
17608
          allow_undefined_flag_GCJ="-z nodefs"
16368
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17609
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16369
17610
        else
16370
17611
         # Determine the default libpath from the value encoded in an empty executable.
16371
17612
         cat >conftest.$ac_ext <<_ACEOF
16384
17625
}
16385
17626
_ACEOF
16386
17627
rm -f conftest.$ac_objext conftest$ac_exeext
16387
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16388
 
  (eval $ac_link) 2>conftest.er1
 
17628
if { (ac_try="$ac_link"
 
17629
case "(($ac_try" in
 
17630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17631
  *) ac_try_echo=$ac_try;;
 
17632
esac
 
17633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17634
  (eval "$ac_link") 2>conftest.er1
16389
17635
  ac_status=$?
16390
17636
  grep -v '^ *+' conftest.er1 >conftest.err
16391
17637
  rm -f conftest.er1
16392
17638
  cat conftest.err >&5
16393
17639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394
 
  (exit $ac_status); } &&
16395
 
         { ac_try='test -z "$ac_c_werror_flag"
16396
 
                         || test ! -s conftest.err'
16397
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398
 
  (eval $ac_try) 2>&5
16399
 
  ac_status=$?
16400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401
 
  (exit $ac_status); }; } &&
16402
 
         { ac_try='test -s conftest$ac_exeext'
16403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404
 
  (eval $ac_try) 2>&5
16405
 
  ac_status=$?
16406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407
 
  (exit $ac_status); }; }; then
 
17640
  (exit $ac_status); } && {
 
17641
         test -z "$ac_c_werror_flag" ||
 
17642
         test ! -s conftest.err
 
17643
       } && test -s conftest$ac_exeext &&
 
17644
       $as_test_x conftest$ac_exeext; then
16408
17645
 
16409
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16410
 
}'`
 
17646
lt_aix_libpath_sed='
 
17647
    /Import File Strings/,/^$/ {
 
17648
        /^0/ {
 
17649
            s/^0  *\(.*\)$/\1/
 
17650
            p
 
17651
        }
 
17652
    }'
 
17653
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16411
17654
# Check for a 64-bit object if we didn't find anything.
16412
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16413
 
}'`; fi
 
17655
if test -z "$aix_libpath"; then
 
17656
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17657
fi
16414
17658
else
16415
17659
  echo "$as_me: failed program was:" >&5
16416
17660
sed 's/^/| /' conftest.$ac_ext >&5
16417
17661
 
 
17662
 
16418
17663
fi
16419
 
rm -f conftest.err conftest.$ac_objext \
 
17664
 
 
17665
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16420
17666
      conftest$ac_exeext conftest.$ac_ext
16421
17667
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16422
17668
 
16425
17671
          # -berok will link without error, but may produce a broken library.
16426
17672
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16427
17673
          allow_undefined_flag_GCJ=' ${wl}-berok'
16428
 
          # -bexpall does not export symbols beginning with underscore (_)
16429
 
          always_export_symbols_GCJ=yes
16430
17674
          # Exported symbols can be pulled into shared objects from archives
16431
 
          whole_archive_flag_spec_GCJ=' '
 
17675
          whole_archive_flag_spec_GCJ='$convenience'
16432
17676
          archive_cmds_need_lc_GCJ=yes
16433
 
          # This is similar to how AIX traditionally builds it's shared libraries.
16434
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
17677
          # This is similar to how AIX traditionally builds its shared libraries.
 
17678
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16435
17679
        fi
16436
17680
      fi
16437
17681
      ;;
16444
17688
      ld_shlibs_GCJ=no
16445
17689
      ;;
16446
17690
 
16447
 
    bsdi4*)
 
17691
    bsdi[45]*)
16448
17692
      export_dynamic_flag_spec_GCJ=-rdynamic
16449
17693
      ;;
16450
17694
 
16464
17708
      # The linker will automatically build a .lib file if we build a DLL.
16465
17709
      old_archive_From_new_cmds_GCJ='true'
16466
17710
      # FIXME: Should let the user specify the lib program.
16467
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16468
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
17711
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
17712
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16469
17713
      enable_shared_with_static_runtimes_GCJ=yes
16470
17714
      ;;
16471
17715
 
16472
17716
    darwin* | rhapsody*)
16473
 
    if test "$GXX" = yes ; then
 
17717
      case $host_os in
 
17718
        rhapsody* | darwin1.[012])
 
17719
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
17720
         ;;
 
17721
       *) # Darwin 1.3 on
 
17722
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
17723
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
17724
         else
 
17725
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
17726
             10.[012])
 
17727
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
17728
               ;;
 
17729
             10.*)
 
17730
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
17731
               ;;
 
17732
           esac
 
17733
         fi
 
17734
         ;;
 
17735
      esac
16474
17736
      archive_cmds_need_lc_GCJ=no
16475
 
      case "$host_os" in
16476
 
      rhapsody* | darwin1.[012])
16477
 
        allow_undefined_flag_GCJ='-undefined suppress'
16478
 
        ;;
16479
 
      *) # Darwin 1.3 on
16480
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16481
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16482
 
      else
16483
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
16484
 
          10.[012])
16485
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16486
 
            ;;
16487
 
          10.*)
16488
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16489
 
            ;;
16490
 
        esac
16491
 
      fi
16492
 
        ;;
16493
 
      esac
16494
 
        lt_int_apple_cc_single_mod=no
16495
 
        output_verbose_link_cmd='echo'
16496
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16497
 
          lt_int_apple_cc_single_mod=yes
16498
 
        fi
16499
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16500
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16501
 
        else
16502
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16503
 
      fi
16504
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16505
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16506
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16507
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16508
 
        else
16509
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16510
 
        fi
16511
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16512
17737
      hardcode_direct_GCJ=no
16513
17738
      hardcode_automatic_GCJ=yes
16514
17739
      hardcode_shlibpath_var_GCJ=unsupported
16515
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
17740
      whole_archive_flag_spec_GCJ=''
16516
17741
      link_all_deplibs_GCJ=yes
 
17742
    if test "$GCC" = yes ; then
 
17743
        output_verbose_link_cmd='echo'
 
17744
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
17745
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17746
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17747
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17748
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16517
17749
    else
16518
 
      ld_shlibs_GCJ=no
 
17750
      case $cc_basename in
 
17751
        xlc*)
 
17752
         output_verbose_link_cmd='echo'
 
17753
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
17754
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17755
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17756
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17757
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17758
          ;;
 
17759
       *)
 
17760
         ld_shlibs_GCJ=no
 
17761
          ;;
 
17762
      esac
16519
17763
    fi
16520
17764
      ;;
16521
17765
 
16549
17793
      ;;
16550
17794
 
16551
17795
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16552
 
    freebsd* | kfreebsd*-gnu)
 
17796
    freebsd* | dragonfly*)
16553
17797
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16554
17798
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16555
17799
      hardcode_direct_GCJ=yes
16572
17816
      export_dynamic_flag_spec_GCJ='${wl}-E'
16573
17817
      ;;
16574
17818
 
16575
 
    hpux10* | hpux11*)
16576
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16577
 
        case "$host_cpu" in
16578
 
        hppa*64*|ia64*)
 
17819
    hpux10*)
 
17820
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17821
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17822
      else
 
17823
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17824
      fi
 
17825
      if test "$with_gnu_ld" = no; then
 
17826
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17827
        hardcode_libdir_separator_GCJ=:
 
17828
 
 
17829
        hardcode_direct_GCJ=yes
 
17830
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17831
 
 
17832
        # hardcode_minus_L: Not really in the search PATH,
 
17833
        # but as the default location of the library.
 
17834
        hardcode_minus_L_GCJ=yes
 
17835
      fi
 
17836
      ;;
 
17837
 
 
17838
    hpux11*)
 
17839
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17840
        case $host_cpu in
 
17841
        hppa*64*)
16579
17842
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16580
17843
          ;;
 
17844
        ia64*)
 
17845
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17846
          ;;
16581
17847
        *)
16582
17848
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16583
17849
          ;;
16584
17850
        esac
16585
17851
      else
16586
 
        case "$host_cpu" in
16587
 
        hppa*64*|ia64*)
16588
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17852
        case $host_cpu in
 
17853
        hppa*64*)
 
17854
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17855
          ;;
 
17856
        ia64*)
 
17857
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16589
17858
          ;;
16590
17859
        *)
16591
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17860
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16592
17861
          ;;
16593
17862
        esac
16594
17863
      fi
16595
17864
      if test "$with_gnu_ld" = no; then
16596
 
        case "$host_cpu" in
16597
 
        hppa*64*)
16598
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17865
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17866
        hardcode_libdir_separator_GCJ=:
 
17867
 
 
17868
        case $host_cpu in
 
17869
        hppa*64*|ia64*)
16599
17870
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16600
 
          hardcode_libdir_separator_GCJ=:
16601
 
          hardcode_direct_GCJ=no
16602
 
          hardcode_shlibpath_var_GCJ=no
16603
 
          ;;
16604
 
        ia64*)
16605
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16606
 
          hardcode_direct_GCJ=no
16607
 
          hardcode_shlibpath_var_GCJ=no
16608
 
 
16609
 
          # hardcode_minus_L: Not really in the search PATH,
16610
 
          # but as the default location of the library.
16611
 
          hardcode_minus_L_GCJ=yes
 
17871
          hardcode_direct_GCJ=no
 
17872
          hardcode_shlibpath_var_GCJ=no
16612
17873
          ;;
16613
17874
        *)
16614
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16615
 
          hardcode_libdir_separator_GCJ=:
16616
17875
          hardcode_direct_GCJ=yes
16617
17876
          export_dynamic_flag_spec_GCJ='${wl}-E'
16618
17877
 
16656
17915
      ;;
16657
17916
 
16658
17917
    openbsd*)
16659
 
      hardcode_direct_GCJ=yes
16660
 
      hardcode_shlibpath_var_GCJ=no
16661
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16662
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16663
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16664
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17918
      if test -f /usr/libexec/ld.so; then
 
17919
        hardcode_direct_GCJ=yes
 
17920
        hardcode_shlibpath_var_GCJ=no
 
17921
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17922
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17923
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17924
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17925
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17926
        else
 
17927
          case $host_os in
 
17928
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17929
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17930
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17931
             ;;
 
17932
           *)
 
17933
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17934
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17935
             ;;
 
17936
          esac
 
17937
        fi
16665
17938
      else
16666
 
       case $host_os in
16667
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16668
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16669
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16670
 
           ;;
16671
 
         *)
16672
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16673
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16674
 
           ;;
16675
 
       esac
 
17939
        ld_shlibs_GCJ=no
16676
17940
      fi
16677
17941
      ;;
16678
17942
 
16705
17969
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16706
17970
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16707
17971
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16708
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
17972
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16709
17973
 
16710
17974
        # Both c and cxx compiler support -rpath directly
16711
17975
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16713
17977
      hardcode_libdir_separator_GCJ=:
16714
17978
      ;;
16715
17979
 
16716
 
    sco3.2v5*)
16717
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16718
 
      hardcode_shlibpath_var_GCJ=no
16719
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16720
 
      runpath_var=LD_RUN_PATH
16721
 
      hardcode_runpath_var=yes
16722
 
      ;;
16723
 
 
16724
17980
    solaris*)
16725
17981
      no_undefined_flag_GCJ=' -z text'
16726
17982
      if test "$GCC" = yes; then
 
17983
        wlarc='${wl}'
16727
17984
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16728
17985
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16729
17986
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16730
17987
      else
 
17988
        wlarc=''
16731
17989
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16732
17990
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16733
17991
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16736
17994
      hardcode_shlibpath_var_GCJ=no
16737
17995
      case $host_os in
16738
17996
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16739
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16740
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
17997
      *)
 
17998
        # The compiler driver will combine and reorder linker options,
 
17999
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18000
        # but is careful enough not to reorder.
 
18001
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18002
        if test "$GCC" = yes; then
 
18003
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18004
        else
 
18005
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18006
        fi
 
18007
        ;;
16741
18008
      esac
16742
18009
      link_all_deplibs_GCJ=yes
16743
18010
      ;;
16794
18061
      fi
16795
18062
      ;;
16796
18063
 
16797
 
    sysv4.2uw2*)
16798
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16799
 
      hardcode_direct_GCJ=yes
16800
 
      hardcode_minus_L_GCJ=no
16801
 
      hardcode_shlibpath_var_GCJ=no
16802
 
      hardcode_runpath_var=yes
16803
 
      runpath_var=LD_RUN_PATH
16804
 
      ;;
16805
 
 
16806
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16807
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
16808
 
      if test "$GCC" = yes; then
16809
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16810
 
      else
16811
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16812
 
      fi
16813
 
      runpath_var='LD_RUN_PATH'
16814
 
      hardcode_shlibpath_var_GCJ=no
16815
 
      ;;
16816
 
 
16817
 
    sysv5*)
16818
 
      no_undefined_flag_GCJ=' -z text'
16819
 
      # $CC -shared without GNU ld will not create a library from C++
16820
 
      # object files and a static libstdc++, better avoid it by now
16821
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16822
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16823
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16824
 
      hardcode_libdir_flag_spec_GCJ=
16825
 
      hardcode_shlibpath_var_GCJ=no
16826
 
      runpath_var='LD_RUN_PATH'
 
18064
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
18065
      no_undefined_flag_GCJ='${wl}-z,text'
 
18066
      archive_cmds_need_lc_GCJ=no
 
18067
      hardcode_shlibpath_var_GCJ=no
 
18068
      runpath_var='LD_RUN_PATH'
 
18069
 
 
18070
      if test "$GCC" = yes; then
 
18071
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18072
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18073
      else
 
18074
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18075
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18076
      fi
 
18077
      ;;
 
18078
 
 
18079
    sysv5* | sco3.2v5* | sco5v6*)
 
18080
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18081
      # link with -lc, and that would cause any symbols used from libc to
 
18082
      # always be unresolved, which means just about no library would
 
18083
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18084
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18085
      # as -z defs.
 
18086
      no_undefined_flag_GCJ='${wl}-z,text'
 
18087
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18088
      archive_cmds_need_lc_GCJ=no
 
18089
      hardcode_shlibpath_var_GCJ=no
 
18090
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18091
      hardcode_libdir_separator_GCJ=':'
 
18092
      link_all_deplibs_GCJ=yes
 
18093
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18094
      runpath_var='LD_RUN_PATH'
 
18095
 
 
18096
      if test "$GCC" = yes; then
 
18097
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18098
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18099
      else
 
18100
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18101
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18102
      fi
16827
18103
      ;;
16828
18104
 
16829
18105
    uts4*)
16838
18114
    esac
16839
18115
  fi
16840
18116
 
16841
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16842
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18117
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18118
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16843
18119
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16844
18120
 
16845
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16846
 
if test "$GCC" = yes; then
16847
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16848
 
fi
16849
 
 
16850
18121
#
16851
18122
# Do we need to explicitly link libc?
16852
18123
#
16864
18135
      # Test whether the compiler implicitly links with -lc since on some
16865
18136
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16866
18137
      # to ld, don't add -lc before -lgcc.
16867
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16868
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18138
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18139
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16869
18140
      $rm conftest*
16870
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18141
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16871
18142
 
16872
18143
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16873
18144
  (eval $ac_compile) 2>&5
16879
18150
        libobjs=conftest.$ac_objext
16880
18151
        deplibs=
16881
18152
        wl=$lt_prog_compiler_wl_GCJ
 
18153
        pic_flag=$lt_prog_compiler_pic_GCJ
16882
18154
        compiler_flags=-v
16883
18155
        linker_flags=-v
16884
18156
        verstring=
16901
18173
        cat conftest.err 1>&5
16902
18174
      fi
16903
18175
      $rm conftest*
16904
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16905
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18176
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18177
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16906
18178
      ;;
16907
18179
    esac
16908
18180
  fi
16909
18181
  ;;
16910
18182
esac
16911
18183
 
16912
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16913
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18184
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18185
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16914
18186
library_names_spec=
16915
18187
libname_spec='lib$name'
16916
18188
soname_spec=
16924
18196
version_type=none
16925
18197
dynamic_linker="$host_os ld.so"
16926
18198
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16927
 
if test "$GCC" = yes; then
16928
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16929
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16930
 
    # if the path contains ";" then we assume it to be the separator
16931
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16932
 
    # assumed that no part of a normal pathname contains ";" but that should
16933
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16934
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16935
 
  else
16936
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16937
 
  fi
16938
 
else
16939
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16940
 
fi
 
18199
 
16941
18200
need_lib_prefix=unknown
16942
18201
hardcode_into_libs=no
16943
18202
 
17011
18270
  shlibpath_var=LIBRARY_PATH
17012
18271
  ;;
17013
18272
 
17014
 
bsdi4*)
 
18273
bsdi[45]*)
17015
18274
  version_type=linux
17016
18275
  need_version=no
17017
18276
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17039
18298
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17040
18299
      dldir=$destdir/`dirname \$dlpath`~
17041
18300
      test -d \$dldir || mkdir -p \$dldir~
17042
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18301
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18302
      chmod a+x \$dldir/$dlname'
17043
18303
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17044
18304
      dlpath=$dir/\$dldll~
17045
18305
       $rm \$dlpath'
17069
18329
      ;;
17070
18330
    pw32*)
17071
18331
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17072
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
18332
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17073
18333
      ;;
17074
18334
    esac
17075
18335
    ;;
17092
18352
  soname_spec='${libname}${release}${major}$shared_ext'
17093
18353
  shlibpath_overrides_runpath=yes
17094
18354
  shlibpath_var=DYLD_LIBRARY_PATH
17095
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17096
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17097
 
  if test "$GCC" = yes; then
17098
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17099
 
  else
17100
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17101
 
  fi
 
18355
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
18356
 
17102
18357
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17103
18358
  ;;
17104
18359
 
17115
18370
  dynamic_linker=no
17116
18371
  ;;
17117
18372
 
17118
 
kfreebsd*-gnu)
17119
 
  version_type=linux
17120
 
  need_lib_prefix=no
17121
 
  need_version=no
17122
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17123
 
  soname_spec='${libname}${release}${shared_ext}$major'
17124
 
  shlibpath_var=LD_LIBRARY_PATH
17125
 
  shlibpath_overrides_runpath=no
17126
 
  hardcode_into_libs=yes
17127
 
  dynamic_linker='GNU ld.so'
17128
 
  ;;
17129
 
 
17130
 
freebsd*)
17131
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18373
freebsd* | dragonfly*)
 
18374
  # DragonFly does not have aout.  When/if they implement a new
 
18375
  # versioning mechanism, adjust this.
 
18376
  if test -x /usr/bin/objformat; then
 
18377
    objformat=`/usr/bin/objformat`
 
18378
  else
 
18379
    case $host_os in
 
18380
    freebsd[123]*) objformat=aout ;;
 
18381
    *) objformat=elf ;;
 
18382
    esac
 
18383
  fi
17132
18384
  version_type=freebsd-$objformat
17133
18385
  case $version_type in
17134
18386
    freebsd-elf*)
17146
18398
  freebsd2*)
17147
18399
    shlibpath_overrides_runpath=yes
17148
18400
    ;;
17149
 
  freebsd3.01* | freebsdelf3.01*)
 
18401
  freebsd3.[01]* | freebsdelf3.[01]*)
17150
18402
    shlibpath_overrides_runpath=yes
17151
18403
    hardcode_into_libs=yes
17152
18404
    ;;
17153
 
  *) # from 3.2 on
 
18405
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18406
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17154
18407
    shlibpath_overrides_runpath=no
17155
18408
    hardcode_into_libs=yes
17156
18409
    ;;
 
18410
  *) # from 4.6 on, and DragonFly
 
18411
    shlibpath_overrides_runpath=yes
 
18412
    hardcode_into_libs=yes
 
18413
    ;;
17157
18414
  esac
17158
18415
  ;;
17159
18416
 
17173
18430
  version_type=sunos
17174
18431
  need_lib_prefix=no
17175
18432
  need_version=no
17176
 
  case "$host_cpu" in
 
18433
  case $host_cpu in
17177
18434
  ia64*)
17178
18435
    shrext_cmds='.so'
17179
18436
    hardcode_into_libs=yes
17213
18470
  postinstall_cmds='chmod 555 $lib'
17214
18471
  ;;
17215
18472
 
 
18473
interix[3-9]*)
 
18474
  version_type=linux
 
18475
  need_lib_prefix=no
 
18476
  need_version=no
 
18477
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18478
  soname_spec='${libname}${release}${shared_ext}$major'
 
18479
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18480
  shlibpath_var=LD_LIBRARY_PATH
 
18481
  shlibpath_overrides_runpath=no
 
18482
  hardcode_into_libs=yes
 
18483
  ;;
 
18484
 
17216
18485
irix5* | irix6* | nonstopux*)
17217
18486
  case $host_os in
17218
18487
    nonstopux*) version_type=nonstopux ;;
17256
18525
  ;;
17257
18526
 
17258
18527
# This must be Linux ELF.
17259
 
linux*)
 
18528
linux* | k*bsd*-gnu)
17260
18529
  version_type=linux
17261
18530
  need_lib_prefix=no
17262
18531
  need_version=no
17269
18538
  # Some rework will be needed to allow for fast_install
17270
18539
  # before this can be enabled.
17271
18540
  hardcode_into_libs=yes
17272
 
 
17273
 
  # find out which ABI we are using
17274
 
  libsuff=
17275
 
  case "$host_cpu" in
17276
 
  x86_64*|s390x*|powerpc64*)
17277
 
    echo '#line 17277 "configure"' > conftest.$ac_ext
17278
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17279
 
  (eval $ac_compile) 2>&5
17280
 
  ac_status=$?
17281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282
 
  (exit $ac_status); }; then
17283
 
      case `/usr/bin/file conftest.$ac_objext` in
17284
 
      *64-bit*)
17285
 
        libsuff=64
17286
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17287
 
        ;;
17288
 
      esac
17289
 
    fi
17290
 
    rm -rf conftest*
17291
 
    ;;
17292
 
  esac
 
18541
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
18542
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17293
18543
 
17294
18544
  # Append ld.so.conf contents to the search path
17295
18545
  if test -f /etc/ld.so.conf; then
17296
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17297
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18546
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18547
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17298
18548
  fi
17299
18549
 
17300
18550
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17306
18556
  dynamic_linker='GNU/Linux ld.so'
17307
18557
  ;;
17308
18558
 
17309
 
knetbsd*-gnu)
17310
 
  version_type=linux
17311
 
  need_lib_prefix=no
17312
 
  need_version=no
17313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17314
 
  soname_spec='${libname}${release}${shared_ext}$major'
17315
 
  shlibpath_var=LD_LIBRARY_PATH
17316
 
  shlibpath_overrides_runpath=no
17317
 
  hardcode_into_libs=yes
17318
 
  dynamic_linker='GNU ld.so'
17319
 
  ;;
17320
 
 
17321
18559
netbsd*)
17322
18560
  version_type=sunos
17323
18561
  need_lib_prefix=no
17355
18593
 
17356
18594
openbsd*)
17357
18595
  version_type=sunos
 
18596
  sys_lib_dlsearch_path_spec="/usr/lib"
17358
18597
  need_lib_prefix=no
17359
 
  need_version=yes
 
18598
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18599
  case $host_os in
 
18600
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18601
    *)                         need_version=no  ;;
 
18602
  esac
17360
18603
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17361
18604
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17362
18605
  shlibpath_var=LD_LIBRARY_PATH
17394
18637
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17395
18638
  ;;
17396
18639
 
17397
 
sco3.2v5*)
17398
 
  version_type=osf
17399
 
  soname_spec='${libname}${release}${shared_ext}$major'
17400
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17401
 
  shlibpath_var=LD_LIBRARY_PATH
 
18640
rdos*)
 
18641
  dynamic_linker=no
17402
18642
  ;;
17403
18643
 
17404
18644
solaris*)
17426
18666
  need_version=yes
17427
18667
  ;;
17428
18668
 
17429
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18669
sysv4 | sysv4.3*)
17430
18670
  version_type=linux
17431
18671
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17432
18672
  soname_spec='${libname}${release}${shared_ext}$major'
17459
18699
  fi
17460
18700
  ;;
17461
18701
 
 
18702
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
18703
  version_type=freebsd-elf
 
18704
  need_lib_prefix=no
 
18705
  need_version=no
 
18706
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
18707
  soname_spec='${libname}${release}${shared_ext}$major'
 
18708
  shlibpath_var=LD_LIBRARY_PATH
 
18709
  hardcode_into_libs=yes
 
18710
  if test "$with_gnu_ld" = yes; then
 
18711
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
18712
    shlibpath_overrides_runpath=no
 
18713
  else
 
18714
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
18715
    shlibpath_overrides_runpath=yes
 
18716
    case $host_os in
 
18717
      sco3.2v5*)
 
18718
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
18719
        ;;
 
18720
    esac
 
18721
  fi
 
18722
  sys_lib_dlsearch_path_spec='/usr/lib'
 
18723
  ;;
 
18724
 
17462
18725
uts4*)
17463
18726
  version_type=linux
17464
18727
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17470
18733
  dynamic_linker=no
17471
18734
  ;;
17472
18735
esac
17473
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17474
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18736
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18737
echo "${ECHO_T}$dynamic_linker" >&6; }
17475
18738
test "$dynamic_linker" = no && can_build_shared=no
17476
18739
 
17477
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17478
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18740
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18741
if test "$GCC" = yes; then
 
18742
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18743
fi
 
18744
 
 
18745
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18746
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17479
18747
hardcode_action_GCJ=
17480
18748
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17481
 
   test -n "$runpath_var GCJ" || \
17482
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
18749
   test -n "$runpath_var_GCJ" || \
 
18750
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17483
18751
 
17484
18752
  # We can hardcode non-existant directories.
17485
18753
  if test "$hardcode_direct_GCJ" != no &&
17499
18767
  # directories.
17500
18768
  hardcode_action_GCJ=unsupported
17501
18769
fi
17502
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17503
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18770
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18771
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17504
18772
 
17505
18773
if test "$hardcode_action_GCJ" = relink; then
17506
18774
  # Fast installation is not supported
17511
18779
  enable_fast_install=needless
17512
18780
fi
17513
18781
 
17514
 
striplib=
17515
 
old_striplib=
17516
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17517
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17518
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17519
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17520
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17521
 
  echo "$as_me:$LINENO: result: yes" >&5
17522
 
echo "${ECHO_T}yes" >&6
17523
 
else
17524
 
# FIXME - insert some real tests, host_os isn't really good enough
17525
 
  case $host_os in
17526
 
   darwin*)
17527
 
       if test -n "$STRIP" ; then
17528
 
         striplib="$STRIP -x"
17529
 
         echo "$as_me:$LINENO: result: yes" >&5
17530
 
echo "${ECHO_T}yes" >&6
17531
 
       else
17532
 
  echo "$as_me:$LINENO: result: no" >&5
17533
 
echo "${ECHO_T}no" >&6
17534
 
fi
17535
 
       ;;
17536
 
   *)
17537
 
  echo "$as_me:$LINENO: result: no" >&5
17538
 
echo "${ECHO_T}no" >&6
17539
 
    ;;
17540
 
  esac
17541
 
fi
17542
 
 
17543
 
if test "x$enable_dlopen" != xyes; then
17544
 
  enable_dlopen=unknown
17545
 
  enable_dlopen_self=unknown
17546
 
  enable_dlopen_self_static=unknown
17547
 
else
17548
 
  lt_cv_dlopen=no
17549
 
  lt_cv_dlopen_libs=
17550
 
 
17551
 
  case $host_os in
17552
 
  beos*)
17553
 
    lt_cv_dlopen="load_add_on"
17554
 
    lt_cv_dlopen_libs=
17555
 
    lt_cv_dlopen_self=yes
17556
 
    ;;
17557
 
 
17558
 
  mingw* | pw32*)
17559
 
    lt_cv_dlopen="LoadLibrary"
17560
 
    lt_cv_dlopen_libs=
17561
 
   ;;
17562
 
 
17563
 
  cygwin*)
17564
 
    lt_cv_dlopen="dlopen"
17565
 
    lt_cv_dlopen_libs=
17566
 
   ;;
17567
 
 
17568
 
  darwin*)
17569
 
  # if libdl is installed we need to link against it
17570
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17571
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17572
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17573
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17574
 
else
17575
 
  ac_check_lib_save_LIBS=$LIBS
17576
 
LIBS="-ldl  $LIBS"
17577
 
cat >conftest.$ac_ext <<_ACEOF
17578
 
/* confdefs.h.  */
17579
 
_ACEOF
17580
 
cat confdefs.h >>conftest.$ac_ext
17581
 
cat >>conftest.$ac_ext <<_ACEOF
17582
 
/* end confdefs.h.  */
17583
 
 
17584
 
/* Override any gcc2 internal prototype to avoid an error.  */
17585
 
#ifdef __cplusplus
17586
 
extern "C"
17587
 
#endif
17588
 
/* We use char because int might match the return type of a gcc2
17589
 
   builtin and then its argument prototype would still apply.  */
17590
 
char dlopen ();
17591
 
int
17592
 
main ()
17593
 
{
17594
 
dlopen ();
17595
 
  ;
17596
 
  return 0;
17597
 
}
17598
 
_ACEOF
17599
 
rm -f conftest.$ac_objext conftest$ac_exeext
17600
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17601
 
  (eval $ac_link) 2>conftest.er1
17602
 
  ac_status=$?
17603
 
  grep -v '^ *+' conftest.er1 >conftest.err
17604
 
  rm -f conftest.er1
17605
 
  cat conftest.err >&5
17606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607
 
  (exit $ac_status); } &&
17608
 
         { ac_try='test -z "$ac_c_werror_flag"
17609
 
                         || test ! -s conftest.err'
17610
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611
 
  (eval $ac_try) 2>&5
17612
 
  ac_status=$?
17613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614
 
  (exit $ac_status); }; } &&
17615
 
         { ac_try='test -s conftest$ac_exeext'
17616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617
 
  (eval $ac_try) 2>&5
17618
 
  ac_status=$?
17619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620
 
  (exit $ac_status); }; }; then
17621
 
  ac_cv_lib_dl_dlopen=yes
17622
 
else
17623
 
  echo "$as_me: failed program was:" >&5
17624
 
sed 's/^/| /' conftest.$ac_ext >&5
17625
 
 
17626
 
ac_cv_lib_dl_dlopen=no
17627
 
fi
17628
 
rm -f conftest.err conftest.$ac_objext \
17629
 
      conftest$ac_exeext conftest.$ac_ext
17630
 
LIBS=$ac_check_lib_save_LIBS
17631
 
fi
17632
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17633
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17634
 
if test $ac_cv_lib_dl_dlopen = yes; then
17635
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17636
 
else
17637
 
 
17638
 
    lt_cv_dlopen="dyld"
17639
 
    lt_cv_dlopen_libs=
17640
 
    lt_cv_dlopen_self=yes
17641
 
 
17642
 
fi
17643
 
 
17644
 
   ;;
17645
 
 
17646
 
  *)
17647
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17648
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17649
 
if test "${ac_cv_func_shl_load+set}" = set; then
17650
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17651
 
else
17652
 
  cat >conftest.$ac_ext <<_ACEOF
17653
 
/* confdefs.h.  */
17654
 
_ACEOF
17655
 
cat confdefs.h >>conftest.$ac_ext
17656
 
cat >>conftest.$ac_ext <<_ACEOF
17657
 
/* end confdefs.h.  */
17658
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17659
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17660
 
#define shl_load innocuous_shl_load
17661
 
 
17662
 
/* System header to define __stub macros and hopefully few prototypes,
17663
 
    which can conflict with char shl_load (); below.
17664
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17665
 
    <limits.h> exists even on freestanding compilers.  */
17666
 
 
17667
 
#ifdef __STDC__
17668
 
# include <limits.h>
17669
 
#else
17670
 
# include <assert.h>
17671
 
#endif
17672
 
 
17673
 
#undef shl_load
17674
 
 
17675
 
/* Override any gcc2 internal prototype to avoid an error.  */
17676
 
#ifdef __cplusplus
17677
 
extern "C"
17678
 
{
17679
 
#endif
17680
 
/* We use char because int might match the return type of a gcc2
17681
 
   builtin and then its argument prototype would still apply.  */
17682
 
char shl_load ();
17683
 
/* The GNU C library defines this for functions which it implements
17684
 
    to always fail with ENOSYS.  Some functions are actually named
17685
 
    something starting with __ and the normal name is an alias.  */
17686
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17687
 
choke me
17688
 
#else
17689
 
char (*f) () = shl_load;
17690
 
#endif
17691
 
#ifdef __cplusplus
17692
 
}
17693
 
#endif
17694
 
 
17695
 
int
17696
 
main ()
17697
 
{
17698
 
return f != shl_load;
17699
 
  ;
17700
 
  return 0;
17701
 
}
17702
 
_ACEOF
17703
 
rm -f conftest.$ac_objext conftest$ac_exeext
17704
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17705
 
  (eval $ac_link) 2>conftest.er1
17706
 
  ac_status=$?
17707
 
  grep -v '^ *+' conftest.er1 >conftest.err
17708
 
  rm -f conftest.er1
17709
 
  cat conftest.err >&5
17710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711
 
  (exit $ac_status); } &&
17712
 
         { ac_try='test -z "$ac_c_werror_flag"
17713
 
                         || test ! -s conftest.err'
17714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715
 
  (eval $ac_try) 2>&5
17716
 
  ac_status=$?
17717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718
 
  (exit $ac_status); }; } &&
17719
 
         { ac_try='test -s conftest$ac_exeext'
17720
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721
 
  (eval $ac_try) 2>&5
17722
 
  ac_status=$?
17723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724
 
  (exit $ac_status); }; }; then
17725
 
  ac_cv_func_shl_load=yes
17726
 
else
17727
 
  echo "$as_me: failed program was:" >&5
17728
 
sed 's/^/| /' conftest.$ac_ext >&5
17729
 
 
17730
 
ac_cv_func_shl_load=no
17731
 
fi
17732
 
rm -f conftest.err conftest.$ac_objext \
17733
 
      conftest$ac_exeext conftest.$ac_ext
17734
 
fi
17735
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17736
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17737
 
if test $ac_cv_func_shl_load = yes; then
17738
 
  lt_cv_dlopen="shl_load"
17739
 
else
17740
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17741
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17742
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17744
 
else
17745
 
  ac_check_lib_save_LIBS=$LIBS
17746
 
LIBS="-ldld  $LIBS"
17747
 
cat >conftest.$ac_ext <<_ACEOF
17748
 
/* confdefs.h.  */
17749
 
_ACEOF
17750
 
cat confdefs.h >>conftest.$ac_ext
17751
 
cat >>conftest.$ac_ext <<_ACEOF
17752
 
/* end confdefs.h.  */
17753
 
 
17754
 
/* Override any gcc2 internal prototype to avoid an error.  */
17755
 
#ifdef __cplusplus
17756
 
extern "C"
17757
 
#endif
17758
 
/* We use char because int might match the return type of a gcc2
17759
 
   builtin and then its argument prototype would still apply.  */
17760
 
char shl_load ();
17761
 
int
17762
 
main ()
17763
 
{
17764
 
shl_load ();
17765
 
  ;
17766
 
  return 0;
17767
 
}
17768
 
_ACEOF
17769
 
rm -f conftest.$ac_objext conftest$ac_exeext
17770
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771
 
  (eval $ac_link) 2>conftest.er1
17772
 
  ac_status=$?
17773
 
  grep -v '^ *+' conftest.er1 >conftest.err
17774
 
  rm -f conftest.er1
17775
 
  cat conftest.err >&5
17776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777
 
  (exit $ac_status); } &&
17778
 
         { ac_try='test -z "$ac_c_werror_flag"
17779
 
                         || test ! -s conftest.err'
17780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781
 
  (eval $ac_try) 2>&5
17782
 
  ac_status=$?
17783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784
 
  (exit $ac_status); }; } &&
17785
 
         { ac_try='test -s conftest$ac_exeext'
17786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787
 
  (eval $ac_try) 2>&5
17788
 
  ac_status=$?
17789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790
 
  (exit $ac_status); }; }; then
17791
 
  ac_cv_lib_dld_shl_load=yes
17792
 
else
17793
 
  echo "$as_me: failed program was:" >&5
17794
 
sed 's/^/| /' conftest.$ac_ext >&5
17795
 
 
17796
 
ac_cv_lib_dld_shl_load=no
17797
 
fi
17798
 
rm -f conftest.err conftest.$ac_objext \
17799
 
      conftest$ac_exeext conftest.$ac_ext
17800
 
LIBS=$ac_check_lib_save_LIBS
17801
 
fi
17802
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17803
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17804
 
if test $ac_cv_lib_dld_shl_load = yes; then
17805
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17806
 
else
17807
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
17808
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17809
 
if test "${ac_cv_func_dlopen+set}" = set; then
17810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17811
 
else
17812
 
  cat >conftest.$ac_ext <<_ACEOF
17813
 
/* confdefs.h.  */
17814
 
_ACEOF
17815
 
cat confdefs.h >>conftest.$ac_ext
17816
 
cat >>conftest.$ac_ext <<_ACEOF
17817
 
/* end confdefs.h.  */
17818
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17819
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17820
 
#define dlopen innocuous_dlopen
17821
 
 
17822
 
/* System header to define __stub macros and hopefully few prototypes,
17823
 
    which can conflict with char dlopen (); below.
17824
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17825
 
    <limits.h> exists even on freestanding compilers.  */
17826
 
 
17827
 
#ifdef __STDC__
17828
 
# include <limits.h>
17829
 
#else
17830
 
# include <assert.h>
17831
 
#endif
17832
 
 
17833
 
#undef dlopen
17834
 
 
17835
 
/* Override any gcc2 internal prototype to avoid an error.  */
17836
 
#ifdef __cplusplus
17837
 
extern "C"
17838
 
{
17839
 
#endif
17840
 
/* We use char because int might match the return type of a gcc2
17841
 
   builtin and then its argument prototype would still apply.  */
17842
 
char dlopen ();
17843
 
/* The GNU C library defines this for functions which it implements
17844
 
    to always fail with ENOSYS.  Some functions are actually named
17845
 
    something starting with __ and the normal name is an alias.  */
17846
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17847
 
choke me
17848
 
#else
17849
 
char (*f) () = dlopen;
17850
 
#endif
17851
 
#ifdef __cplusplus
17852
 
}
17853
 
#endif
17854
 
 
17855
 
int
17856
 
main ()
17857
 
{
17858
 
return f != dlopen;
17859
 
  ;
17860
 
  return 0;
17861
 
}
17862
 
_ACEOF
17863
 
rm -f conftest.$ac_objext conftest$ac_exeext
17864
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17865
 
  (eval $ac_link) 2>conftest.er1
17866
 
  ac_status=$?
17867
 
  grep -v '^ *+' conftest.er1 >conftest.err
17868
 
  rm -f conftest.er1
17869
 
  cat conftest.err >&5
17870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871
 
  (exit $ac_status); } &&
17872
 
         { ac_try='test -z "$ac_c_werror_flag"
17873
 
                         || test ! -s conftest.err'
17874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875
 
  (eval $ac_try) 2>&5
17876
 
  ac_status=$?
17877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878
 
  (exit $ac_status); }; } &&
17879
 
         { ac_try='test -s conftest$ac_exeext'
17880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881
 
  (eval $ac_try) 2>&5
17882
 
  ac_status=$?
17883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884
 
  (exit $ac_status); }; }; then
17885
 
  ac_cv_func_dlopen=yes
17886
 
else
17887
 
  echo "$as_me: failed program was:" >&5
17888
 
sed 's/^/| /' conftest.$ac_ext >&5
17889
 
 
17890
 
ac_cv_func_dlopen=no
17891
 
fi
17892
 
rm -f conftest.err conftest.$ac_objext \
17893
 
      conftest$ac_exeext conftest.$ac_ext
17894
 
fi
17895
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17896
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17897
 
if test $ac_cv_func_dlopen = yes; then
17898
 
  lt_cv_dlopen="dlopen"
17899
 
else
17900
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17901
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17902
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17903
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17904
 
else
17905
 
  ac_check_lib_save_LIBS=$LIBS
17906
 
LIBS="-ldl  $LIBS"
17907
 
cat >conftest.$ac_ext <<_ACEOF
17908
 
/* confdefs.h.  */
17909
 
_ACEOF
17910
 
cat confdefs.h >>conftest.$ac_ext
17911
 
cat >>conftest.$ac_ext <<_ACEOF
17912
 
/* end confdefs.h.  */
17913
 
 
17914
 
/* Override any gcc2 internal prototype to avoid an error.  */
17915
 
#ifdef __cplusplus
17916
 
extern "C"
17917
 
#endif
17918
 
/* We use char because int might match the return type of a gcc2
17919
 
   builtin and then its argument prototype would still apply.  */
17920
 
char dlopen ();
17921
 
int
17922
 
main ()
17923
 
{
17924
 
dlopen ();
17925
 
  ;
17926
 
  return 0;
17927
 
}
17928
 
_ACEOF
17929
 
rm -f conftest.$ac_objext conftest$ac_exeext
17930
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17931
 
  (eval $ac_link) 2>conftest.er1
17932
 
  ac_status=$?
17933
 
  grep -v '^ *+' conftest.er1 >conftest.err
17934
 
  rm -f conftest.er1
17935
 
  cat conftest.err >&5
17936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937
 
  (exit $ac_status); } &&
17938
 
         { ac_try='test -z "$ac_c_werror_flag"
17939
 
                         || test ! -s conftest.err'
17940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941
 
  (eval $ac_try) 2>&5
17942
 
  ac_status=$?
17943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944
 
  (exit $ac_status); }; } &&
17945
 
         { ac_try='test -s conftest$ac_exeext'
17946
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947
 
  (eval $ac_try) 2>&5
17948
 
  ac_status=$?
17949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950
 
  (exit $ac_status); }; }; then
17951
 
  ac_cv_lib_dl_dlopen=yes
17952
 
else
17953
 
  echo "$as_me: failed program was:" >&5
17954
 
sed 's/^/| /' conftest.$ac_ext >&5
17955
 
 
17956
 
ac_cv_lib_dl_dlopen=no
17957
 
fi
17958
 
rm -f conftest.err conftest.$ac_objext \
17959
 
      conftest$ac_exeext conftest.$ac_ext
17960
 
LIBS=$ac_check_lib_save_LIBS
17961
 
fi
17962
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17963
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17964
 
if test $ac_cv_lib_dl_dlopen = yes; then
17965
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17966
 
else
17967
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17968
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17969
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17971
 
else
17972
 
  ac_check_lib_save_LIBS=$LIBS
17973
 
LIBS="-lsvld  $LIBS"
17974
 
cat >conftest.$ac_ext <<_ACEOF
17975
 
/* confdefs.h.  */
17976
 
_ACEOF
17977
 
cat confdefs.h >>conftest.$ac_ext
17978
 
cat >>conftest.$ac_ext <<_ACEOF
17979
 
/* end confdefs.h.  */
17980
 
 
17981
 
/* Override any gcc2 internal prototype to avoid an error.  */
17982
 
#ifdef __cplusplus
17983
 
extern "C"
17984
 
#endif
17985
 
/* We use char because int might match the return type of a gcc2
17986
 
   builtin and then its argument prototype would still apply.  */
17987
 
char dlopen ();
17988
 
int
17989
 
main ()
17990
 
{
17991
 
dlopen ();
17992
 
  ;
17993
 
  return 0;
17994
 
}
17995
 
_ACEOF
17996
 
rm -f conftest.$ac_objext conftest$ac_exeext
17997
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17998
 
  (eval $ac_link) 2>conftest.er1
17999
 
  ac_status=$?
18000
 
  grep -v '^ *+' conftest.er1 >conftest.err
18001
 
  rm -f conftest.er1
18002
 
  cat conftest.err >&5
18003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004
 
  (exit $ac_status); } &&
18005
 
         { ac_try='test -z "$ac_c_werror_flag"
18006
 
                         || test ! -s conftest.err'
18007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008
 
  (eval $ac_try) 2>&5
18009
 
  ac_status=$?
18010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011
 
  (exit $ac_status); }; } &&
18012
 
         { ac_try='test -s conftest$ac_exeext'
18013
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014
 
  (eval $ac_try) 2>&5
18015
 
  ac_status=$?
18016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017
 
  (exit $ac_status); }; }; then
18018
 
  ac_cv_lib_svld_dlopen=yes
18019
 
else
18020
 
  echo "$as_me: failed program was:" >&5
18021
 
sed 's/^/| /' conftest.$ac_ext >&5
18022
 
 
18023
 
ac_cv_lib_svld_dlopen=no
18024
 
fi
18025
 
rm -f conftest.err conftest.$ac_objext \
18026
 
      conftest$ac_exeext conftest.$ac_ext
18027
 
LIBS=$ac_check_lib_save_LIBS
18028
 
fi
18029
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18030
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18031
 
if test $ac_cv_lib_svld_dlopen = yes; then
18032
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18033
 
else
18034
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18035
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18036
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18038
 
else
18039
 
  ac_check_lib_save_LIBS=$LIBS
18040
 
LIBS="-ldld  $LIBS"
18041
 
cat >conftest.$ac_ext <<_ACEOF
18042
 
/* confdefs.h.  */
18043
 
_ACEOF
18044
 
cat confdefs.h >>conftest.$ac_ext
18045
 
cat >>conftest.$ac_ext <<_ACEOF
18046
 
/* end confdefs.h.  */
18047
 
 
18048
 
/* Override any gcc2 internal prototype to avoid an error.  */
18049
 
#ifdef __cplusplus
18050
 
extern "C"
18051
 
#endif
18052
 
/* We use char because int might match the return type of a gcc2
18053
 
   builtin and then its argument prototype would still apply.  */
18054
 
char dld_link ();
18055
 
int
18056
 
main ()
18057
 
{
18058
 
dld_link ();
18059
 
  ;
18060
 
  return 0;
18061
 
}
18062
 
_ACEOF
18063
 
rm -f conftest.$ac_objext conftest$ac_exeext
18064
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065
 
  (eval $ac_link) 2>conftest.er1
18066
 
  ac_status=$?
18067
 
  grep -v '^ *+' conftest.er1 >conftest.err
18068
 
  rm -f conftest.er1
18069
 
  cat conftest.err >&5
18070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071
 
  (exit $ac_status); } &&
18072
 
         { ac_try='test -z "$ac_c_werror_flag"
18073
 
                         || test ! -s conftest.err'
18074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075
 
  (eval $ac_try) 2>&5
18076
 
  ac_status=$?
18077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078
 
  (exit $ac_status); }; } &&
18079
 
         { ac_try='test -s conftest$ac_exeext'
18080
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081
 
  (eval $ac_try) 2>&5
18082
 
  ac_status=$?
18083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084
 
  (exit $ac_status); }; }; then
18085
 
  ac_cv_lib_dld_dld_link=yes
18086
 
else
18087
 
  echo "$as_me: failed program was:" >&5
18088
 
sed 's/^/| /' conftest.$ac_ext >&5
18089
 
 
18090
 
ac_cv_lib_dld_dld_link=no
18091
 
fi
18092
 
rm -f conftest.err conftest.$ac_objext \
18093
 
      conftest$ac_exeext conftest.$ac_ext
18094
 
LIBS=$ac_check_lib_save_LIBS
18095
 
fi
18096
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18097
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18098
 
if test $ac_cv_lib_dld_dld_link = yes; then
18099
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18100
 
fi
18101
 
 
18102
 
 
18103
 
fi
18104
 
 
18105
 
 
18106
 
fi
18107
 
 
18108
 
 
18109
 
fi
18110
 
 
18111
 
 
18112
 
fi
18113
 
 
18114
 
 
18115
 
fi
18116
 
 
18117
 
    ;;
18118
 
  esac
18119
 
 
18120
 
  if test "x$lt_cv_dlopen" != xno; then
18121
 
    enable_dlopen=yes
18122
 
  else
18123
 
    enable_dlopen=no
18124
 
  fi
18125
 
 
18126
 
  case $lt_cv_dlopen in
18127
 
  dlopen)
18128
 
    save_CPPFLAGS="$CPPFLAGS"
18129
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18130
 
 
18131
 
    save_LDFLAGS="$LDFLAGS"
18132
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18133
 
 
18134
 
    save_LIBS="$LIBS"
18135
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18136
 
 
18137
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18138
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18139
 
if test "${lt_cv_dlopen_self+set}" = set; then
18140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18141
 
else
18142
 
          if test "$cross_compiling" = yes; then :
18143
 
  lt_cv_dlopen_self=cross
18144
 
else
18145
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18146
 
  lt_status=$lt_dlunknown
18147
 
  cat > conftest.$ac_ext <<EOF
18148
 
#line 18148 "configure"
18149
 
#include "confdefs.h"
18150
 
 
18151
 
#if HAVE_DLFCN_H
18152
 
#include <dlfcn.h>
18153
 
#endif
18154
 
 
18155
 
#include <stdio.h>
18156
 
 
18157
 
#ifdef RTLD_GLOBAL
18158
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18159
 
#else
18160
 
#  ifdef DL_GLOBAL
18161
 
#    define LT_DLGLOBAL         DL_GLOBAL
18162
 
#  else
18163
 
#    define LT_DLGLOBAL         0
18164
 
#  endif
18165
 
#endif
18166
 
 
18167
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18168
 
   find out it does not work in some platform. */
18169
 
#ifndef LT_DLLAZY_OR_NOW
18170
 
#  ifdef RTLD_LAZY
18171
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18172
 
#  else
18173
 
#    ifdef DL_LAZY
18174
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18175
 
#    else
18176
 
#      ifdef RTLD_NOW
18177
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18178
 
#      else
18179
 
#        ifdef DL_NOW
18180
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18181
 
#        else
18182
 
#          define LT_DLLAZY_OR_NOW      0
18183
 
#        endif
18184
 
#      endif
18185
 
#    endif
18186
 
#  endif
18187
 
#endif
18188
 
 
18189
 
#ifdef __cplusplus
18190
 
extern "C" void exit (int);
18191
 
#endif
18192
 
 
18193
 
void fnord() { int i=42;}
18194
 
int main ()
18195
 
{
18196
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18197
 
  int status = $lt_dlunknown;
18198
 
 
18199
 
  if (self)
18200
 
    {
18201
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18202
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18203
 
      /* dlclose (self); */
18204
 
    }
18205
 
 
18206
 
    exit (status);
18207
 
}
18208
 
EOF
18209
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210
 
  (eval $ac_link) 2>&5
18211
 
  ac_status=$?
18212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18214
 
    (./conftest; exit; ) 2>/dev/null
18215
 
    lt_status=$?
18216
 
    case x$lt_status in
18217
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18218
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18219
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18220
 
    esac
18221
 
  else :
18222
 
    # compilation failed
18223
 
    lt_cv_dlopen_self=no
18224
 
  fi
18225
 
fi
18226
 
rm -fr conftest*
18227
 
 
18228
 
 
18229
 
fi
18230
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18231
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18232
 
 
18233
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18234
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18235
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18236
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18237
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18238
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18239
 
else
18240
 
          if test "$cross_compiling" = yes; then :
18241
 
  lt_cv_dlopen_self_static=cross
18242
 
else
18243
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18244
 
  lt_status=$lt_dlunknown
18245
 
  cat > conftest.$ac_ext <<EOF
18246
 
#line 18246 "configure"
18247
 
#include "confdefs.h"
18248
 
 
18249
 
#if HAVE_DLFCN_H
18250
 
#include <dlfcn.h>
18251
 
#endif
18252
 
 
18253
 
#include <stdio.h>
18254
 
 
18255
 
#ifdef RTLD_GLOBAL
18256
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18257
 
#else
18258
 
#  ifdef DL_GLOBAL
18259
 
#    define LT_DLGLOBAL         DL_GLOBAL
18260
 
#  else
18261
 
#    define LT_DLGLOBAL         0
18262
 
#  endif
18263
 
#endif
18264
 
 
18265
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18266
 
   find out it does not work in some platform. */
18267
 
#ifndef LT_DLLAZY_OR_NOW
18268
 
#  ifdef RTLD_LAZY
18269
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18270
 
#  else
18271
 
#    ifdef DL_LAZY
18272
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18273
 
#    else
18274
 
#      ifdef RTLD_NOW
18275
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18276
 
#      else
18277
 
#        ifdef DL_NOW
18278
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18279
 
#        else
18280
 
#          define LT_DLLAZY_OR_NOW      0
18281
 
#        endif
18282
 
#      endif
18283
 
#    endif
18284
 
#  endif
18285
 
#endif
18286
 
 
18287
 
#ifdef __cplusplus
18288
 
extern "C" void exit (int);
18289
 
#endif
18290
 
 
18291
 
void fnord() { int i=42;}
18292
 
int main ()
18293
 
{
18294
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18295
 
  int status = $lt_dlunknown;
18296
 
 
18297
 
  if (self)
18298
 
    {
18299
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18300
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18301
 
      /* dlclose (self); */
18302
 
    }
18303
 
 
18304
 
    exit (status);
18305
 
}
18306
 
EOF
18307
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18308
 
  (eval $ac_link) 2>&5
18309
 
  ac_status=$?
18310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18312
 
    (./conftest; exit; ) 2>/dev/null
18313
 
    lt_status=$?
18314
 
    case x$lt_status in
18315
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18316
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18317
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18318
 
    esac
18319
 
  else :
18320
 
    # compilation failed
18321
 
    lt_cv_dlopen_self_static=no
18322
 
  fi
18323
 
fi
18324
 
rm -fr conftest*
18325
 
 
18326
 
 
18327
 
fi
18328
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18329
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18330
 
    fi
18331
 
 
18332
 
    CPPFLAGS="$save_CPPFLAGS"
18333
 
    LDFLAGS="$save_LDFLAGS"
18334
 
    LIBS="$save_LIBS"
18335
 
    ;;
18336
 
  esac
18337
 
 
18338
 
  case $lt_cv_dlopen_self in
18339
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18340
 
  *) enable_dlopen_self=unknown ;;
18341
 
  esac
18342
 
 
18343
 
  case $lt_cv_dlopen_self_static in
18344
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18345
 
  *) enable_dlopen_self_static=unknown ;;
18346
 
  esac
18347
 
fi
18348
 
 
18349
18782
 
18350
18783
# The else clause should only fire when bootstrapping the
18351
18784
# libtool distribution, otherwise you forgot to ship ltmain.sh
18360
18793
  # Now quote all the things that may contain metacharacters while being
18361
18794
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18362
18795
  # variables and quote the copies for generation of the libtool script.
18363
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18796
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18364
18797
    SED SHELL STRIP \
18365
18798
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18366
18799
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18402
18835
    module_cmds_GCJ \
18403
18836
    module_expsym_cmds_GCJ \
18404
18837
    lt_cv_prog_compiler_c_o_GCJ \
 
18838
    fix_srcfile_path_GCJ \
18405
18839
    exclude_expsyms_GCJ \
18406
18840
    include_expsyms_GCJ; do
18407
18841
 
18461
18895
# The host system.
18462
18896
host_alias=$host_alias
18463
18897
host=$host
 
18898
host_os=$host_os
 
18899
 
 
18900
# The build system.
 
18901
build_alias=$build_alias
 
18902
build=$build
 
18903
build_os=$build_os
18464
18904
 
18465
18905
# An echo program that does not interpret backslashes.
18466
18906
echo=$lt_echo
18472
18912
# A C compiler.
18473
18913
LTCC=$lt_LTCC
18474
18914
 
 
18915
# LTCC compiler flags.
 
18916
LTCFLAGS=$lt_LTCFLAGS
 
18917
 
18475
18918
# A language-specific compiler.
18476
18919
CC=$lt_compiler_GCJ
18477
18920
 
18537
18980
# Does compiler simultaneously support -c and -o options?
18538
18981
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18539
18982
 
18540
 
# Must we lock files when doing compilation ?
 
18983
# Must we lock files when doing compilation?
18541
18984
need_locks=$lt_need_locks
18542
18985
 
18543
18986
# Do we need the lib prefix for modules?
18713
19156
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18714
19157
 
18715
19158
# Fix the shell variable \$srcfile for the compiler.
18716
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19159
fix_srcfile_path=$lt_fix_srcfile_path
18717
19160
 
18718
19161
# Set to yes if exported symbols are required.
18719
19162
always_export_symbols=$always_export_symbols_GCJ
18762
19205
      RC)
18763
19206
 
18764
19207
 
18765
 
 
18766
19208
# Source file extension for RC test sources.
18767
19209
ac_ext=rc
18768
19210
 
18771
19213
objext_RC=$objext
18772
19214
 
18773
19215
# Code to be used in simple compile tests
18774
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19216
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18775
19217
 
18776
19218
# Code to be used in simple link tests
18777
19219
lt_simple_link_test_code="$lt_simple_compile_test_code"
18781
19223
# If no C compiler was specified, use CC.
18782
19224
LTCC=${LTCC-"$CC"}
18783
19225
 
 
19226
# If no C compiler flags were specified, use CFLAGS.
 
19227
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19228
 
18784
19229
# Allow CC to be a program name with arguments.
18785
19230
compiler=$CC
18786
19231
 
18787
19232
 
 
19233
# save warnings/boilerplate of simple test code
 
19234
ac_outfile=conftest.$ac_objext
 
19235
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19236
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19237
_lt_compiler_boilerplate=`cat conftest.err`
 
19238
$rm conftest*
 
19239
 
 
19240
ac_outfile=conftest.$ac_objext
 
19241
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
19242
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19243
_lt_linker_boilerplate=`cat conftest.err`
 
19244
$rm conftest*
 
19245
 
 
19246
 
18788
19247
# Allow CC to be a program name with arguments.
18789
19248
lt_save_CC="$CC"
18790
19249
CC=${RC-"windres"}
18791
19250
compiler=$CC
18792
19251
compiler_RC=$CC
 
19252
for cc_temp in $compiler""; do
 
19253
  case $cc_temp in
 
19254
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19255
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19256
    \-*) ;;
 
19257
    *) break;;
 
19258
  esac
 
19259
done
 
19260
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19261
 
18793
19262
lt_cv_prog_compiler_c_o_RC=yes
18794
19263
 
18795
19264
# The else clause should only fire when bootstrapping the
18805
19274
  # Now quote all the things that may contain metacharacters while being
18806
19275
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18807
19276
  # variables and quote the copies for generation of the libtool script.
18808
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19277
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18809
19278
    SED SHELL STRIP \
18810
19279
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18811
19280
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18847
19316
    module_cmds_RC \
18848
19317
    module_expsym_cmds_RC \
18849
19318
    lt_cv_prog_compiler_c_o_RC \
 
19319
    fix_srcfile_path_RC \
18850
19320
    exclude_expsyms_RC \
18851
19321
    include_expsyms_RC; do
18852
19322
 
18906
19376
# The host system.
18907
19377
host_alias=$host_alias
18908
19378
host=$host
 
19379
host_os=$host_os
 
19380
 
 
19381
# The build system.
 
19382
build_alias=$build_alias
 
19383
build=$build
 
19384
build_os=$build_os
18909
19385
 
18910
19386
# An echo program that does not interpret backslashes.
18911
19387
echo=$lt_echo
18917
19393
# A C compiler.
18918
19394
LTCC=$lt_LTCC
18919
19395
 
 
19396
# LTCC compiler flags.
 
19397
LTCFLAGS=$lt_LTCFLAGS
 
19398
 
18920
19399
# A language-specific compiler.
18921
19400
CC=$lt_compiler_RC
18922
19401
 
18982
19461
# Does compiler simultaneously support -c and -o options?
18983
19462
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18984
19463
 
18985
 
# Must we lock files when doing compilation ?
 
19464
# Must we lock files when doing compilation?
18986
19465
need_locks=$lt_need_locks
18987
19466
 
18988
19467
# Do we need the lib prefix for modules?
19158
19637
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19159
19638
 
19160
19639
# Fix the shell variable \$srcfile for the compiler.
19161
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19640
fix_srcfile_path=$lt_fix_srcfile_path
19162
19641
 
19163
19642
# Set to yes if exported symbols are required.
19164
19643
always_export_symbols=$always_export_symbols_RC
19257
19736
 
19258
19737
 
19259
19738
 
19260
 
echo "$as_me:$LINENO: checking for library containing strerror" >&5
19261
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
19739
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
19740
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
19262
19741
if test "${ac_cv_search_strerror+set}" = set; then
19263
19742
  echo $ECHO_N "(cached) $ECHO_C" >&6
19264
19743
else
19265
19744
  ac_func_search_save_LIBS=$LIBS
19266
 
ac_cv_search_strerror=no
19267
19745
cat >conftest.$ac_ext <<_ACEOF
19268
19746
/* confdefs.h.  */
19269
19747
_ACEOF
19271
19749
cat >>conftest.$ac_ext <<_ACEOF
19272
19750
/* end confdefs.h.  */
19273
19751
 
19274
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19752
/* Override any GCC internal prototype to avoid an error.
 
19753
   Use char because int might match the return type of a GCC
 
19754
   builtin and then its argument prototype would still apply.  */
19275
19755
#ifdef __cplusplus
19276
19756
extern "C"
19277
19757
#endif
19278
 
/* We use char because int might match the return type of a gcc2
19279
 
   builtin and then its argument prototype would still apply.  */
19280
19758
char strerror ();
19281
19759
int
19282
19760
main ()
19283
19761
{
19284
 
strerror ();
 
19762
return strerror ();
19285
19763
  ;
19286
19764
  return 0;
19287
19765
}
19288
19766
_ACEOF
19289
 
rm -f conftest.$ac_objext conftest$ac_exeext
19290
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19291
 
  (eval $ac_link) 2>conftest.er1
19292
 
  ac_status=$?
19293
 
  grep -v '^ *+' conftest.er1 >conftest.err
19294
 
  rm -f conftest.er1
19295
 
  cat conftest.err >&5
19296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297
 
  (exit $ac_status); } &&
19298
 
         { ac_try='test -z "$ac_c_werror_flag"
19299
 
                         || test ! -s conftest.err'
19300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301
 
  (eval $ac_try) 2>&5
19302
 
  ac_status=$?
19303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304
 
  (exit $ac_status); }; } &&
19305
 
         { ac_try='test -s conftest$ac_exeext'
19306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19307
 
  (eval $ac_try) 2>&5
19308
 
  ac_status=$?
19309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310
 
  (exit $ac_status); }; }; then
19311
 
  ac_cv_search_strerror="none required"
19312
 
else
19313
 
  echo "$as_me: failed program was:" >&5
19314
 
sed 's/^/| /' conftest.$ac_ext >&5
19315
 
 
19316
 
fi
19317
 
rm -f conftest.err conftest.$ac_objext \
19318
 
      conftest$ac_exeext conftest.$ac_ext
19319
 
if test "$ac_cv_search_strerror" = no; then
19320
 
  for ac_lib in cposix; do
 
19767
for ac_lib in '' cposix; do
 
19768
  if test -z "$ac_lib"; then
 
19769
    ac_res="none required"
 
19770
  else
 
19771
    ac_res=-l$ac_lib
19321
19772
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19322
 
    cat >conftest.$ac_ext <<_ACEOF
19323
 
/* confdefs.h.  */
19324
 
_ACEOF
19325
 
cat confdefs.h >>conftest.$ac_ext
19326
 
cat >>conftest.$ac_ext <<_ACEOF
19327
 
/* end confdefs.h.  */
19328
 
 
19329
 
/* Override any gcc2 internal prototype to avoid an error.  */
19330
 
#ifdef __cplusplus
19331
 
extern "C"
19332
 
#endif
19333
 
/* We use char because int might match the return type of a gcc2
19334
 
   builtin and then its argument prototype would still apply.  */
19335
 
char strerror ();
19336
 
int
19337
 
main ()
19338
 
{
19339
 
strerror ();
19340
 
  ;
19341
 
  return 0;
19342
 
}
19343
 
_ACEOF
19344
 
rm -f conftest.$ac_objext conftest$ac_exeext
19345
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346
 
  (eval $ac_link) 2>conftest.er1
 
19773
  fi
 
19774
  rm -f conftest.$ac_objext conftest$ac_exeext
 
19775
if { (ac_try="$ac_link"
 
19776
case "(($ac_try" in
 
19777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19778
  *) ac_try_echo=$ac_try;;
 
19779
esac
 
19780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19781
  (eval "$ac_link") 2>conftest.er1
19347
19782
  ac_status=$?
19348
19783
  grep -v '^ *+' conftest.er1 >conftest.err
19349
19784
  rm -f conftest.er1
19350
19785
  cat conftest.err >&5
19351
19786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352
 
  (exit $ac_status); } &&
19353
 
         { ac_try='test -z "$ac_c_werror_flag"
19354
 
                         || test ! -s conftest.err'
19355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356
 
  (eval $ac_try) 2>&5
19357
 
  ac_status=$?
19358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359
 
  (exit $ac_status); }; } &&
19360
 
         { ac_try='test -s conftest$ac_exeext'
19361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362
 
  (eval $ac_try) 2>&5
19363
 
  ac_status=$?
19364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365
 
  (exit $ac_status); }; }; then
19366
 
  ac_cv_search_strerror="-l$ac_lib"
19367
 
break
 
19787
  (exit $ac_status); } && {
 
19788
         test -z "$ac_c_werror_flag" ||
 
19789
         test ! -s conftest.err
 
19790
       } && test -s conftest$ac_exeext &&
 
19791
       $as_test_x conftest$ac_exeext; then
 
19792
  ac_cv_search_strerror=$ac_res
19368
19793
else
19369
19794
  echo "$as_me: failed program was:" >&5
19370
19795
sed 's/^/| /' conftest.$ac_ext >&5
19371
19796
 
19372
 
fi
19373
 
rm -f conftest.err conftest.$ac_objext \
19374
 
      conftest$ac_exeext conftest.$ac_ext
19375
 
  done
19376
 
fi
 
19797
 
 
19798
fi
 
19799
 
 
19800
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19801
      conftest$ac_exeext
 
19802
  if test "${ac_cv_search_strerror+set}" = set; then
 
19803
  break
 
19804
fi
 
19805
done
 
19806
if test "${ac_cv_search_strerror+set}" = set; then
 
19807
  :
 
19808
else
 
19809
  ac_cv_search_strerror=no
 
19810
fi
 
19811
rm conftest.$ac_ext
19377
19812
LIBS=$ac_func_search_save_LIBS
19378
19813
fi
19379
 
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
19380
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6
19381
 
if test "$ac_cv_search_strerror" != no; then
19382
 
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
19814
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
19815
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
19816
ac_res=$ac_cv_search_strerror
 
19817
if test "$ac_res" != no; then
 
19818
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19383
19819
 
19384
19820
fi
19385
19821
 
19386
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
19387
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
19388
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
19822
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
19823
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
19824
    # Check whether --enable-maintainer-mode was given.
19389
19825
if test "${enable_maintainer_mode+set}" = set; then
19390
 
  enableval="$enable_maintainer_mode"
19391
 
  USE_MAINTAINER_MODE=$enableval
 
19826
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
19392
19827
else
19393
19828
  USE_MAINTAINER_MODE=no
19394
 
fi;
19395
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
19396
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
19397
 
 
19398
 
 
19399
 
if test $USE_MAINTAINER_MODE = yes; then
 
19829
fi
 
19830
 
 
19831
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
19832
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
19833
   if test $USE_MAINTAINER_MODE = yes; then
19400
19834
  MAINTAINER_MODE_TRUE=
19401
19835
  MAINTAINER_MODE_FALSE='#'
19402
19836
else
19408
19842
 
19409
19843
 
19410
19844
 
19411
 
 
19412
 
# Check whether --enable-mp3 or --disable-mp3 was given.
 
19845
{ echo "$as_me:$LINENO: checking host system type" >&5
 
19846
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
19847
if test "${ac_cv_host+set}" = set; then
 
19848
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19849
else
 
19850
  if test "x$host_alias" = x; then
 
19851
  ac_cv_host=$ac_cv_build
 
19852
else
 
19853
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
19854
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
19855
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
19856
   { (exit 1); exit 1; }; }
 
19857
fi
 
19858
 
 
19859
fi
 
19860
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
19861
echo "${ECHO_T}$ac_cv_host" >&6; }
 
19862
case $ac_cv_host in
 
19863
*-*-*) ;;
 
19864
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
19865
echo "$as_me: error: invalid value of canonical host" >&2;}
 
19866
   { (exit 1); exit 1; }; };;
 
19867
esac
 
19868
host=$ac_cv_host
 
19869
ac_save_IFS=$IFS; IFS='-'
 
19870
set x $ac_cv_host
 
19871
shift
 
19872
host_cpu=$1
 
19873
host_vendor=$2
 
19874
shift; shift
 
19875
# Remember, the first character of IFS is used to create $*,
 
19876
# except with old shells:
 
19877
host_os=$*
 
19878
IFS=$ac_save_IFS
 
19879
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
19880
 
 
19881
 
 
19882
case $host_os in
 
19883
  *mingw32* ) MINGW32=yes;;
 
19884
          * ) MINGW32=no;;
 
19885
esac
 
19886
 
 
19887
{ echo "$as_me:$LINENO: checking host system type" >&5
 
19888
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
19889
if test "${ac_cv_host+set}" = set; then
 
19890
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19891
else
 
19892
  if test "x$host_alias" = x; then
 
19893
  ac_cv_host=$ac_cv_build
 
19894
else
 
19895
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
19896
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
19897
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
19898
   { (exit 1); exit 1; }; }
 
19899
fi
 
19900
 
 
19901
fi
 
19902
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
19903
echo "${ECHO_T}$ac_cv_host" >&6; }
 
19904
case $ac_cv_host in
 
19905
*-*-*) ;;
 
19906
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
19907
echo "$as_me: error: invalid value of canonical host" >&2;}
 
19908
   { (exit 1); exit 1; }; };;
 
19909
esac
 
19910
host=$ac_cv_host
 
19911
ac_save_IFS=$IFS; IFS='-'
 
19912
set x $ac_cv_host
 
19913
shift
 
19914
host_cpu=$1
 
19915
host_vendor=$2
 
19916
shift; shift
 
19917
# Remember, the first character of IFS is used to create $*,
 
19918
# except with old shells:
 
19919
host_os=$*
 
19920
IFS=$ac_save_IFS
 
19921
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
19922
 
 
19923
 
 
19924
case $host_os in
 
19925
  *cygwin* ) CYGWIN=yes;;
 
19926
         * ) CYGWIN=no;;
 
19927
esac
 
19928
 
 
19929
 
 
19930
# Check whether --enable-mp3 was given.
19413
19931
if test "${enable_mp3+set}" = set; then
19414
 
  enableval="$enable_mp3"
19415
 
 
 
19932
  enableval=$enable_mp3;
19416
19933
else
19417
19934
  enable_mp3=yes
19418
 
fi;
19419
 
 
19420
 
# Check whether --enable-ogg or --disable-ogg was given.
 
19935
fi
 
19936
 
 
19937
 
 
19938
# Check whether --enable-id3v23 was given.
 
19939
if test "${enable_id3v23+set}" = set; then
 
19940
  enableval=$enable_id3v23;
 
19941
else
 
19942
  enable_id3v23=yes
 
19943
fi
 
19944
 
 
19945
 
 
19946
# Check whether --enable-ogg was given.
19421
19947
if test "${enable_ogg+set}" = set; then
19422
 
  enableval="$enable_ogg"
19423
 
 
 
19948
  enableval=$enable_ogg;
19424
19949
else
19425
19950
  enable_ogg=yes
19426
 
fi;
19427
 
 
19428
 
# Check whether --enable-flac or --disable-flac was given.
 
19951
fi
 
19952
 
 
19953
 
 
19954
# Check whether --enable-speex was given.
 
19955
if test "${enable_speex+set}" = set; then
 
19956
  enableval=$enable_speex;
 
19957
else
 
19958
  enable_speex=yes
 
19959
fi
 
19960
 
 
19961
 
 
19962
# Check whether --enable-flac was given.
19429
19963
if test "${enable_flac+set}" = set; then
19430
 
  enableval="$enable_flac"
19431
 
 
 
19964
  enableval=$enable_flac;
19432
19965
else
19433
19966
  enable_flac=yes
19434
 
fi;
19435
 
 
19436
 
# Check whether --enable-mp4 or --disable-mp4 was given.
 
19967
fi
 
19968
 
 
19969
 
 
19970
# Check whether --enable-mp4 was given.
19437
19971
if test "${enable_mp4+set}" = set; then
19438
 
  enableval="$enable_mp4"
19439
 
 
 
19972
  enableval=$enable_mp4;
19440
19973
else
19441
19974
  enable_mp4=yes
19442
 
fi;
19443
 
 
19444
 
 
19445
 
 
19446
 
# Check whether --enable-glibtest or --disable-glibtest was given.
 
19975
fi
 
19976
 
 
19977
 
 
19978
# Check whether --enable-wavpack was given.
 
19979
if test "${enable_wavpack+set}" = set; then
 
19980
  enableval=$enable_wavpack;
 
19981
else
 
19982
  enable_wavpack=yes
 
19983
fi
 
19984
 
 
19985
 
 
19986
 
 
19987
 
 
19988
# Check whether --enable-glibtest was given.
19447
19989
if test "${enable_glibtest+set}" = set; then
19448
 
  enableval="$enable_glibtest"
19449
 
 
 
19990
  enableval=$enable_glibtest;
19450
19991
else
19451
19992
  enable_glibtest=yes
19452
 
fi;
 
19993
fi
 
19994
 
19453
19995
 
19454
19996
  pkg_config_args=glib-2.0
19455
19997
  for module in .
19458
20000
         gmodule)
19459
20001
             pkg_config_args="$pkg_config_args gmodule-2.0"
19460
20002
         ;;
 
20003
         gmodule-no-export)
 
20004
             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
 
20005
         ;;
19461
20006
         gobject)
19462
20007
             pkg_config_args="$pkg_config_args gobject-2.0"
19463
20008
         ;;
19467
20012
      esac
19468
20013
  done
19469
20014
 
19470
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
19471
 
set dummy pkg-config; ac_word=$2
19472
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19473
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20015
 
 
20016
 
 
20017
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
20018
        if test -n "$ac_tool_prefix"; then
 
20019
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
20020
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
20021
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20022
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19474
20023
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19475
20024
  echo $ECHO_N "(cached) $ECHO_C" >&6
19476
20025
else
19485
20034
  IFS=$as_save_IFS
19486
20035
  test -z "$as_dir" && as_dir=.
19487
20036
  for ac_exec_ext in '' $ac_executable_extensions; do
19488
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20037
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19489
20038
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19490
20039
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19491
20040
    break 2
19492
20041
  fi
19493
20042
done
19494
20043
done
 
20044
IFS=$as_save_IFS
19495
20045
 
19496
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19497
20046
  ;;
19498
20047
esac
19499
20048
fi
19500
20049
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19501
 
 
19502
 
if test -n "$PKG_CONFIG"; then
19503
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19504
 
echo "${ECHO_T}$PKG_CONFIG" >&6
19505
 
else
19506
 
  echo "$as_me:$LINENO: result: no" >&5
19507
 
echo "${ECHO_T}no" >&6
19508
 
fi
19509
 
 
 
20050
if test -n "$PKG_CONFIG"; then
 
20051
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
20052
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
20053
else
 
20054
  { echo "$as_me:$LINENO: result: no" >&5
 
20055
echo "${ECHO_T}no" >&6; }
 
20056
fi
 
20057
 
 
20058
 
 
20059
fi
 
20060
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
20061
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
20062
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
20063
set dummy pkg-config; ac_word=$2
 
20064
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20065
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20066
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
20067
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20068
else
 
20069
  case $ac_pt_PKG_CONFIG in
 
20070
  [\\/]* | ?:[\\/]*)
 
20071
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
20072
  ;;
 
20073
  *)
 
20074
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20075
for as_dir in $PATH
 
20076
do
 
20077
  IFS=$as_save_IFS
 
20078
  test -z "$as_dir" && as_dir=.
 
20079
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20080
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20081
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
20082
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20083
    break 2
 
20084
  fi
 
20085
done
 
20086
done
 
20087
IFS=$as_save_IFS
 
20088
 
 
20089
  ;;
 
20090
esac
 
20091
fi
 
20092
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
20093
if test -n "$ac_pt_PKG_CONFIG"; then
 
20094
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
20095
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
20096
else
 
20097
  { echo "$as_me:$LINENO: result: no" >&5
 
20098
echo "${ECHO_T}no" >&6; }
 
20099
fi
 
20100
 
 
20101
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
20102
    PKG_CONFIG=""
 
20103
  else
 
20104
    case $cross_compiling:$ac_tool_warned in
 
20105
yes:)
 
20106
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20107
whose name does not start with the host triplet.  If you think this
 
20108
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20109
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20110
whose name does not start with the host triplet.  If you think this
 
20111
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20112
ac_tool_warned=yes ;;
 
20113
esac
 
20114
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
20115
  fi
 
20116
else
 
20117
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
20118
fi
 
20119
 
 
20120
fi
 
20121
if test -n "$PKG_CONFIG"; then
 
20122
        _pkg_min_version=0.16
 
20123
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
20124
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
20125
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
20126
                { echo "$as_me:$LINENO: result: yes" >&5
 
20127
echo "${ECHO_T}yes" >&6; }
 
20128
        else
 
20129
                { echo "$as_me:$LINENO: result: no" >&5
 
20130
echo "${ECHO_T}no" >&6; }
 
20131
                PKG_CONFIG=""
 
20132
        fi
 
20133
 
 
20134
fi
19510
20135
 
19511
20136
  no_glib=""
19512
20137
 
19513
 
  if test x$PKG_CONFIG != xno ; then
19514
 
    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
19515
 
      :
19516
 
    else
19517
 
      echo *** pkg-config too old; version 0.7 or better required.
19518
 
      no_glib=yes
19519
 
      PKG_CONFIG=no
19520
 
    fi
19521
 
  else
 
20138
  if test "x$PKG_CONFIG" = x ; then
19522
20139
    no_glib=yes
 
20140
    PKG_CONFIG=no
19523
20141
  fi
19524
20142
 
19525
 
  min_glib_version=2.4.1
19526
 
  echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
19527
 
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
 
20143
  min_glib_version=2.8.0
 
20144
  { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
 
20145
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
19528
20146
 
19529
20147
  if test x$PKG_CONFIG != xno ; then
19530
20148
    ## don't try to run the test against uninstalled libtool libs
19642
20260
 
19643
20261
_ACEOF
19644
20262
rm -f conftest$ac_exeext
19645
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19646
 
  (eval $ac_link) 2>&5
 
20263
if { (ac_try="$ac_link"
 
20264
case "(($ac_try" in
 
20265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20266
  *) ac_try_echo=$ac_try;;
 
20267
esac
 
20268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20269
  (eval "$ac_link") 2>&5
19647
20270
  ac_status=$?
19648
20271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649
20272
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19650
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19651
 
  (eval $ac_try) 2>&5
 
20273
  { (case "(($ac_try" in
 
20274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20275
  *) ac_try_echo=$ac_try;;
 
20276
esac
 
20277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20278
  (eval "$ac_try") 2>&5
19652
20279
  ac_status=$?
19653
20280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654
20281
  (exit $ac_status); }; }; then
19661
20288
( exit $ac_status )
19662
20289
no_glib=yes
19663
20290
fi
19664
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20291
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19665
20292
fi
 
20293
 
 
20294
 
19666
20295
       CFLAGS="$ac_save_CFLAGS"
19667
20296
       LIBS="$ac_save_LIBS"
19668
20297
     fi
19669
20298
  fi
19670
20299
  if test "x$no_glib" = x ; then
19671
 
     echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
19672
 
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6
 
20300
     { echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
20301
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
19673
20302
     :
19674
20303
  else
19675
 
     echo "$as_me:$LINENO: result: no" >&5
19676
 
echo "${ECHO_T}no" >&6
 
20304
     { echo "$as_me:$LINENO: result: no" >&5
 
20305
echo "${ECHO_T}no" >&6; }
19677
20306
     if test "$PKG_CONFIG" = "no" ; then
19678
20307
       echo "*** A new enough version of pkg-config was not found."
19679
20308
       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
19705
20334
}
19706
20335
_ACEOF
19707
20336
rm -f conftest.$ac_objext conftest$ac_exeext
19708
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19709
 
  (eval $ac_link) 2>conftest.er1
 
20337
if { (ac_try="$ac_link"
 
20338
case "(($ac_try" in
 
20339
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20340
  *) ac_try_echo=$ac_try;;
 
20341
esac
 
20342
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20343
  (eval "$ac_link") 2>conftest.er1
19710
20344
  ac_status=$?
19711
20345
  grep -v '^ *+' conftest.er1 >conftest.err
19712
20346
  rm -f conftest.er1
19713
20347
  cat conftest.err >&5
19714
20348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715
 
  (exit $ac_status); } &&
19716
 
         { ac_try='test -z "$ac_c_werror_flag"
19717
 
                         || test ! -s conftest.err'
19718
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719
 
  (eval $ac_try) 2>&5
19720
 
  ac_status=$?
19721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722
 
  (exit $ac_status); }; } &&
19723
 
         { ac_try='test -s conftest$ac_exeext'
19724
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725
 
  (eval $ac_try) 2>&5
19726
 
  ac_status=$?
19727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728
 
  (exit $ac_status); }; }; then
 
20349
  (exit $ac_status); } && {
 
20350
         test -z "$ac_c_werror_flag" ||
 
20351
         test ! -s conftest.err
 
20352
       } && test -s conftest$ac_exeext &&
 
20353
       $as_test_x conftest$ac_exeext; then
19729
20354
   echo "*** The test program compiled, but did not run. This usually means"
19730
20355
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
19731
20356
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
19739
20364
  echo "$as_me: failed program was:" >&5
19740
20365
sed 's/^/| /' conftest.$ac_ext >&5
19741
20366
 
19742
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
20367
         echo "*** The test program failed to compile or link. See the file config.log for the"
19743
20368
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
19744
20369
fi
19745
 
rm -f conftest.err conftest.$ac_objext \
 
20370
 
 
20371
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19746
20372
      conftest$ac_exeext conftest.$ac_ext
19747
20373
          CFLAGS="$ac_save_CFLAGS"
19748
20374
          LIBS="$ac_save_LIBS"
19753
20379
     GLIB_GENMARSHAL=""
19754
20380
     GOBJECT_QUERY=""
19755
20381
     GLIB_MKENUMS=""
19756
 
     { { echo "$as_me:$LINENO: error: *** GLIB >= 2.4.1 not installed! ***" >&5
19757
 
echo "$as_me: error: *** GLIB >= 2.4.1 not installed! ***" >&2;}
 
20382
     { { echo "$as_me:$LINENO: error: *** GLIB >= 2.8.0 not installed! ***" >&5
 
20383
echo "$as_me: error: *** GLIB >= 2.8.0 not installed! ***" >&2;}
19758
20384
   { (exit 1); exit 1; }; }
19759
20385
  fi
19760
20386
 
19764
20390
 
19765
20391
  rm -f conf.glibtest
19766
20392
 
19767
 
# Check whether --enable-gtktest or --disable-gtktest was given.
 
20393
# Check whether --enable-gtktest was given.
19768
20394
if test "${enable_gtktest+set}" = set; then
19769
 
  enableval="$enable_gtktest"
19770
 
 
 
20395
  enableval=$enable_gtktest;
19771
20396
else
19772
20397
  enable_gtktest=yes
19773
 
fi;
 
20398
fi
 
20399
 
19774
20400
 
19775
20401
  pkg_config_args=gtk+-2.0
19776
20402
  for module in .
19786
20412
 
19787
20413
  # Extract the first word of "pkg-config", so it can be a program name with args.
19788
20414
set dummy pkg-config; ac_word=$2
19789
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19790
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20415
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20416
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19791
20417
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19792
20418
  echo $ECHO_N "(cached) $ECHO_C" >&6
19793
20419
else
19802
20428
  IFS=$as_save_IFS
19803
20429
  test -z "$as_dir" && as_dir=.
19804
20430
  for ac_exec_ext in '' $ac_executable_extensions; do
19805
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20431
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19806
20432
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19807
20433
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19808
20434
    break 2
19809
20435
  fi
19810
20436
done
19811
20437
done
 
20438
IFS=$as_save_IFS
19812
20439
 
19813
20440
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19814
20441
  ;;
19815
20442
esac
19816
20443
fi
19817
20444
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19818
 
 
19819
20445
if test -n "$PKG_CONFIG"; then
19820
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19821
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
20446
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
20447
echo "${ECHO_T}$PKG_CONFIG" >&6; }
19822
20448
else
19823
 
  echo "$as_me:$LINENO: result: no" >&5
19824
 
echo "${ECHO_T}no" >&6
 
20449
  { echo "$as_me:$LINENO: result: no" >&5
 
20450
echo "${ECHO_T}no" >&6; }
19825
20451
fi
19826
20452
 
19827
20453
 
 
20454
 
19828
20455
  if test x$PKG_CONFIG != xno ; then
19829
20456
    if pkg-config --atleast-pkgconfig-version 0.7 ; then
19830
20457
      :
19838
20465
  fi
19839
20466
 
19840
20467
  min_gtk_version=2.4.1
19841
 
  echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19842
 
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
 
20468
  { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
 
20469
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
19843
20470
 
19844
20471
  if test x$PKG_CONFIG != xno ; then
19845
20472
    ## don't try to run the test against uninstalled libtool libs
19953
20580
 
19954
20581
_ACEOF
19955
20582
rm -f conftest$ac_exeext
19956
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19957
 
  (eval $ac_link) 2>&5
 
20583
if { (ac_try="$ac_link"
 
20584
case "(($ac_try" in
 
20585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20586
  *) ac_try_echo=$ac_try;;
 
20587
esac
 
20588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20589
  (eval "$ac_link") 2>&5
19958
20590
  ac_status=$?
19959
20591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960
20592
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962
 
  (eval $ac_try) 2>&5
 
20593
  { (case "(($ac_try" in
 
20594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20595
  *) ac_try_echo=$ac_try;;
 
20596
esac
 
20597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20598
  (eval "$ac_try") 2>&5
19963
20599
  ac_status=$?
19964
20600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965
20601
  (exit $ac_status); }; }; then
19972
20608
( exit $ac_status )
19973
20609
no_gtk=yes
19974
20610
fi
19975
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20611
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19976
20612
fi
 
20613
 
 
20614
 
19977
20615
       CFLAGS="$ac_save_CFLAGS"
19978
20616
       LIBS="$ac_save_LIBS"
19979
20617
     fi
19980
20618
  fi
19981
20619
  if test "x$no_gtk" = x ; then
19982
 
     echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19983
 
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
 
20620
     { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
 
20621
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
19984
20622
     :
19985
20623
  else
19986
 
     echo "$as_me:$LINENO: result: no" >&5
19987
 
echo "${ECHO_T}no" >&6
 
20624
     { echo "$as_me:$LINENO: result: no" >&5
 
20625
echo "${ECHO_T}no" >&6; }
19988
20626
     if test "$PKG_CONFIG" = "no" ; then
19989
20627
       echo "*** A new enough version of pkg-config was not found."
19990
20628
       echo "*** See http://pkgconfig.sourceforge.net"
20016
20654
}
20017
20655
_ACEOF
20018
20656
rm -f conftest.$ac_objext conftest$ac_exeext
20019
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020
 
  (eval $ac_link) 2>conftest.er1
 
20657
if { (ac_try="$ac_link"
 
20658
case "(($ac_try" in
 
20659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20660
  *) ac_try_echo=$ac_try;;
 
20661
esac
 
20662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20663
  (eval "$ac_link") 2>conftest.er1
20021
20664
  ac_status=$?
20022
20665
  grep -v '^ *+' conftest.er1 >conftest.err
20023
20666
  rm -f conftest.er1
20024
20667
  cat conftest.err >&5
20025
20668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026
 
  (exit $ac_status); } &&
20027
 
         { ac_try='test -z "$ac_c_werror_flag"
20028
 
                         || test ! -s conftest.err'
20029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030
 
  (eval $ac_try) 2>&5
20031
 
  ac_status=$?
20032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033
 
  (exit $ac_status); }; } &&
20034
 
         { ac_try='test -s conftest$ac_exeext'
20035
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036
 
  (eval $ac_try) 2>&5
20037
 
  ac_status=$?
20038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039
 
  (exit $ac_status); }; }; then
 
20669
  (exit $ac_status); } && {
 
20670
         test -z "$ac_c_werror_flag" ||
 
20671
         test ! -s conftest.err
 
20672
       } && test -s conftest$ac_exeext &&
 
20673
       $as_test_x conftest$ac_exeext; then
20040
20674
   echo "*** The test program compiled, but did not run. This usually means"
20041
20675
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20042
20676
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20050
20684
  echo "$as_me: failed program was:" >&5
20051
20685
sed 's/^/| /' conftest.$ac_ext >&5
20052
20686
 
20053
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
20687
         echo "*** The test program failed to compile or link. See the file config.log for the"
20054
20688
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20055
20689
fi
20056
 
rm -f conftest.err conftest.$ac_objext \
 
20690
 
 
20691
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20057
20692
      conftest$ac_exeext conftest.$ac_ext
20058
20693
          CFLAGS="$ac_save_CFLAGS"
20059
20694
          LIBS="$ac_save_LIBS"
20070
20705
  rm -f conf.gtktest
20071
20706
 
20072
20707
 
20073
 
  succeeded=no
20074
 
 
20075
 
  if test -z "$PKG_CONFIG"; then
20076
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
20077
 
set dummy pkg-config; ac_word=$2
20078
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20079
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20080
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
20708
pkg_failed=no
 
20709
{ echo "$as_me:$LINENO: checking for GTK" >&5
 
20710
echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
 
20711
 
 
20712
if test -n "$PKG_CONFIG"; then
 
20713
    if test -n "$GTK_CFLAGS"; then
 
20714
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
20715
    else
 
20716
        if test -n "$PKG_CONFIG" && \
 
20717
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1\"") >&5
 
20718
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1") 2>&5
 
20719
  ac_status=$?
 
20720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20721
  (exit $ac_status); }; then
 
20722
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" 2>/dev/null`
 
20723
else
 
20724
  pkg_failed=yes
 
20725
fi
 
20726
    fi
 
20727
else
 
20728
        pkg_failed=untried
 
20729
fi
 
20730
if test -n "$PKG_CONFIG"; then
 
20731
    if test -n "$GTK_LIBS"; then
 
20732
        pkg_cv_GTK_LIBS="$GTK_LIBS"
 
20733
    else
 
20734
        if test -n "$PKG_CONFIG" && \
 
20735
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1\"") >&5
 
20736
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1") 2>&5
 
20737
  ac_status=$?
 
20738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20739
  (exit $ac_status); }; then
 
20740
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" 2>/dev/null`
 
20741
else
 
20742
  pkg_failed=yes
 
20743
fi
 
20744
    fi
 
20745
else
 
20746
        pkg_failed=untried
 
20747
fi
 
20748
 
 
20749
 
 
20750
 
 
20751
if test $pkg_failed = yes; then
 
20752
 
 
20753
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20754
        _pkg_short_errors_supported=yes
 
20755
else
 
20756
        _pkg_short_errors_supported=no
 
20757
fi
 
20758
        if test $_pkg_short_errors_supported = yes; then
 
20759
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
 
20760
        else
 
20761
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
 
20762
        fi
 
20763
        # Put the nasty error message in config.log where it belongs
 
20764
        echo "$GTK_PKG_ERRORS" >&5
 
20765
 
 
20766
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) were not met:
 
20767
 
 
20768
$GTK_PKG_ERRORS
 
20769
 
 
20770
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20771
installed software in a non-standard prefix.
 
20772
 
 
20773
Alternatively, you may set the environment variables GTK_CFLAGS
 
20774
and GTK_LIBS to avoid the need to call pkg-config.
 
20775
See the pkg-config man page for more details.
 
20776
" >&5
 
20777
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) were not met:
 
20778
 
 
20779
$GTK_PKG_ERRORS
 
20780
 
 
20781
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20782
installed software in a non-standard prefix.
 
20783
 
 
20784
Alternatively, you may set the environment variables GTK_CFLAGS
 
20785
and GTK_LIBS to avoid the need to call pkg-config.
 
20786
See the pkg-config man page for more details.
 
20787
" >&2;}
 
20788
   { (exit 1); exit 1; }; }
 
20789
elif test $pkg_failed = untried; then
 
20790
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
20791
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20792
path to pkg-config.
 
20793
 
 
20794
Alternatively, you may set the environment variables GTK_CFLAGS
 
20795
and GTK_LIBS to avoid the need to call pkg-config.
 
20796
See the pkg-config man page for more details.
 
20797
 
 
20798
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
20799
See \`config.log' for more details." >&5
 
20800
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
20801
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20802
path to pkg-config.
 
20803
 
 
20804
Alternatively, you may set the environment variables GTK_CFLAGS
 
20805
and GTK_LIBS to avoid the need to call pkg-config.
 
20806
See the pkg-config man page for more details.
 
20807
 
 
20808
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
20809
See \`config.log' for more details." >&2;}
 
20810
   { (exit 1); exit 1; }; }
 
20811
else
 
20812
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
20813
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
20814
        { echo "$as_me:$LINENO: result: yes" >&5
 
20815
echo "${ECHO_T}yes" >&6; }
 
20816
        :
 
20817
fi
 
20818
 
 
20819
 
 
20820
 
 
20821
{ echo "$as_me:$LINENO: checking for recv in -lsocket" >&5
 
20822
echo $ECHO_N "checking for recv in -lsocket... $ECHO_C" >&6; }
 
20823
if test "${ac_cv_lib_socket_recv+set}" = set; then
20081
20824
  echo $ECHO_N "(cached) $ECHO_C" >&6
20082
20825
else
20083
 
  case $PKG_CONFIG in
20084
 
  [\\/]* | ?:[\\/]*)
20085
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20086
 
  ;;
20087
 
  *)
20088
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20089
 
for as_dir in $PATH
20090
 
do
20091
 
  IFS=$as_save_IFS
20092
 
  test -z "$as_dir" && as_dir=.
20093
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20094
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20095
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20096
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20097
 
    break 2
20098
 
  fi
20099
 
done
20100
 
done
 
20826
  ac_check_lib_save_LIBS=$LIBS
 
20827
LIBS="-lsocket  $LIBS"
 
20828
cat >conftest.$ac_ext <<_ACEOF
 
20829
/* confdefs.h.  */
 
20830
_ACEOF
 
20831
cat confdefs.h >>conftest.$ac_ext
 
20832
cat >>conftest.$ac_ext <<_ACEOF
 
20833
/* end confdefs.h.  */
20101
20834
 
20102
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20103
 
  ;;
 
20835
/* Override any GCC internal prototype to avoid an error.
 
20836
   Use char because int might match the return type of a GCC
 
20837
   builtin and then its argument prototype would still apply.  */
 
20838
#ifdef __cplusplus
 
20839
extern "C"
 
20840
#endif
 
20841
char recv ();
 
20842
int
 
20843
main ()
 
20844
{
 
20845
return recv ();
 
20846
  ;
 
20847
  return 0;
 
20848
}
 
20849
_ACEOF
 
20850
rm -f conftest.$ac_objext conftest$ac_exeext
 
20851
if { (ac_try="$ac_link"
 
20852
case "(($ac_try" in
 
20853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20854
  *) ac_try_echo=$ac_try;;
20104
20855
esac
20105
 
fi
20106
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20107
 
 
20108
 
if test -n "$PKG_CONFIG"; then
20109
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20110
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
20856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20857
  (eval "$ac_link") 2>conftest.er1
 
20858
  ac_status=$?
 
20859
  grep -v '^ *+' conftest.er1 >conftest.err
 
20860
  rm -f conftest.er1
 
20861
  cat conftest.err >&5
 
20862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20863
  (exit $ac_status); } && {
 
20864
         test -z "$ac_c_werror_flag" ||
 
20865
         test ! -s conftest.err
 
20866
       } && test -s conftest$ac_exeext &&
 
20867
       $as_test_x conftest$ac_exeext; then
 
20868
  ac_cv_lib_socket_recv=yes
20111
20869
else
20112
 
  echo "$as_me:$LINENO: result: no" >&5
20113
 
echo "${ECHO_T}no" >&6
20114
 
fi
20115
 
 
20116
 
  fi
20117
 
 
20118
 
  if test "$PKG_CONFIG" = "no" ; then
20119
 
     echo "*** The pkg-config script could not be found. Make sure it is"
20120
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
20121
 
     echo "*** to the full path to pkg-config."
20122
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20123
 
  else
20124
 
     PKG_CONFIG_MIN_VERSION=0.9.0
20125
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20126
 
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" >&5
20127
 
echo $ECHO_N "checking for gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1... $ECHO_C" >&6
20128
 
 
20129
 
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" ; then
20130
 
            echo "$as_me:$LINENO: result: yes" >&5
20131
 
echo "${ECHO_T}yes" >&6
20132
 
            succeeded=yes
20133
 
 
20134
 
            echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
20135
 
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
20136
 
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20137
 
            echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
20138
 
echo "${ECHO_T}$GTK_CFLAGS" >&6
20139
 
 
20140
 
            echo "$as_me:$LINENO: checking GTK_LIBS" >&5
20141
 
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
20142
 
            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20143
 
            echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
20144
 
echo "${ECHO_T}$GTK_LIBS" >&6
20145
 
        else
20146
 
            GTK_CFLAGS=""
20147
 
            GTK_LIBS=""
20148
 
            ## If we have a custom action on failure, don't print errors, but
20149
 
            ## do set a variable so people can do so.
20150
 
            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20151
 
            echo $GTK_PKG_ERRORS
20152
 
        fi
20153
 
 
20154
 
 
20155
 
 
20156
 
     else
20157
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20158
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
20159
 
     fi
20160
 
  fi
20161
 
 
20162
 
  if test $succeeded = yes; then
20163
 
     :
20164
 
  else
20165
 
     { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
20166
 
echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
20167
 
   { (exit 1); exit 1; }; }
20168
 
  fi
20169
 
 
20170
 
 
20171
 
 
20172
 
CFLAGS="`echo $CFLAGS|sed -e 's%\-I/usr/include%%g' -e 's%\-L/usr/lib%%g'`"
 
20870
  echo "$as_me: failed program was:" >&5
 
20871
sed 's/^/| /' conftest.$ac_ext >&5
 
20872
 
 
20873
        ac_cv_lib_socket_recv=no
 
20874
fi
 
20875
 
 
20876
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20877
      conftest$ac_exeext conftest.$ac_ext
 
20878
LIBS=$ac_check_lib_save_LIBS
 
20879
fi
 
20880
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_recv" >&5
 
20881
echo "${ECHO_T}$ac_cv_lib_socket_recv" >&6; }
 
20882
if test $ac_cv_lib_socket_recv = yes; then
 
20883
  cat >>confdefs.h <<_ACEOF
 
20884
#define HAVE_LIBSOCKET 1
 
20885
_ACEOF
 
20886
 
 
20887
  LIBS="-lsocket $LIBS"
 
20888
 
 
20889
fi
 
20890
 
20173
20891
 
20174
20892
 
20175
20893
 
20176
20894
if test "x$enable_ogg" = "xyes" -o "x$enable_flac" = "xyes"; then
20177
20895
 
20178
 
echo "$as_me:$LINENO: checking for cos in -lm" >&5
20179
 
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
 
20896
pkg_failed=no
 
20897
{ echo "$as_me:$LINENO: checking for OGG" >&5
 
20898
echo $ECHO_N "checking for OGG... $ECHO_C" >&6; }
 
20899
 
 
20900
if test -n "$PKG_CONFIG"; then
 
20901
    if test -n "$OGG_CFLAGS"; then
 
20902
        pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
 
20903
    else
 
20904
        if test -n "$PKG_CONFIG" && \
 
20905
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
 
20906
  ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
 
20907
  ac_status=$?
 
20908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20909
  (exit $ac_status); }; then
 
20910
  pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null`
 
20911
else
 
20912
  pkg_failed=yes
 
20913
fi
 
20914
    fi
 
20915
else
 
20916
        pkg_failed=untried
 
20917
fi
 
20918
if test -n "$PKG_CONFIG"; then
 
20919
    if test -n "$OGG_LIBS"; then
 
20920
        pkg_cv_OGG_LIBS="$OGG_LIBS"
 
20921
    else
 
20922
        if test -n "$PKG_CONFIG" && \
 
20923
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
 
20924
  ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
 
20925
  ac_status=$?
 
20926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20927
  (exit $ac_status); }; then
 
20928
  pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null`
 
20929
else
 
20930
  pkg_failed=yes
 
20931
fi
 
20932
    fi
 
20933
else
 
20934
        pkg_failed=untried
 
20935
fi
 
20936
 
 
20937
 
 
20938
 
 
20939
if test $pkg_failed = yes; then
 
20940
 
 
20941
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20942
        _pkg_short_errors_supported=yes
 
20943
else
 
20944
        _pkg_short_errors_supported=no
 
20945
fi
 
20946
        if test $_pkg_short_errors_supported = yes; then
 
20947
                OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"`
 
20948
        else
 
20949
                OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"`
 
20950
        fi
 
20951
        # Put the nasty error message in config.log where it belongs
 
20952
        echo "$OGG_PKG_ERRORS" >&5
 
20953
 
 
20954
        { echo "$as_me:$LINENO: result: no" >&5
 
20955
echo "${ECHO_T}no" >&6; }
 
20956
                ogg_available=no
 
20957
elif test $pkg_failed = untried; then
 
20958
        ogg_available=no
 
20959
else
 
20960
        OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
 
20961
        OGG_LIBS=$pkg_cv_OGG_LIBS
 
20962
        { echo "$as_me:$LINENO: result: yes" >&5
 
20963
echo "${ECHO_T}yes" >&6; }
 
20964
        :
 
20965
fi
 
20966
    if test "x$ogg_available" = "xno"; then
 
20967
        echo "***"
 
20968
        echo "*** Warning: libogg >= 1.0 needed"
 
20969
        echo "***"
 
20970
    fi
 
20971
 
 
20972
pkg_failed=no
 
20973
{ echo "$as_me:$LINENO: checking for VORBIS" >&5
 
20974
echo $ECHO_N "checking for VORBIS... $ECHO_C" >&6; }
 
20975
 
 
20976
if test -n "$PKG_CONFIG"; then
 
20977
    if test -n "$VORBIS_CFLAGS"; then
 
20978
        pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
 
20979
    else
 
20980
        if test -n "$PKG_CONFIG" && \
 
20981
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.1\"") >&5
 
20982
  ($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.1") 2>&5
 
20983
  ac_status=$?
 
20984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20985
  (exit $ac_status); }; then
 
20986
  pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.0.1" 2>/dev/null`
 
20987
else
 
20988
  pkg_failed=yes
 
20989
fi
 
20990
    fi
 
20991
else
 
20992
        pkg_failed=untried
 
20993
fi
 
20994
if test -n "$PKG_CONFIG"; then
 
20995
    if test -n "$VORBIS_LIBS"; then
 
20996
        pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
 
20997
    else
 
20998
        if test -n "$PKG_CONFIG" && \
 
20999
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.1\"") >&5
 
21000
  ($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.1") 2>&5
 
21001
  ac_status=$?
 
21002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21003
  (exit $ac_status); }; then
 
21004
  pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.0.1" 2>/dev/null`
 
21005
else
 
21006
  pkg_failed=yes
 
21007
fi
 
21008
    fi
 
21009
else
 
21010
        pkg_failed=untried
 
21011
fi
 
21012
 
 
21013
 
 
21014
 
 
21015
if test $pkg_failed = yes; then
 
21016
 
 
21017
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21018
        _pkg_short_errors_supported=yes
 
21019
else
 
21020
        _pkg_short_errors_supported=no
 
21021
fi
 
21022
        if test $_pkg_short_errors_supported = yes; then
 
21023
                VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.0.1"`
 
21024
        else
 
21025
                VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.0.1"`
 
21026
        fi
 
21027
        # Put the nasty error message in config.log where it belongs
 
21028
        echo "$VORBIS_PKG_ERRORS" >&5
 
21029
 
 
21030
        { echo "$as_me:$LINENO: result: no" >&5
 
21031
echo "${ECHO_T}no" >&6; }
 
21032
                ogg_available=no
 
21033
elif test $pkg_failed = untried; then
 
21034
        ogg_available=no
 
21035
else
 
21036
        VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
 
21037
        VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
 
21038
        { echo "$as_me:$LINENO: result: yes" >&5
 
21039
echo "${ECHO_T}yes" >&6; }
 
21040
        :
 
21041
fi
 
21042
    if test "x$ogg_available" = "xno"; then
 
21043
        echo "***"
 
21044
        echo "*** Warning: libvorbis >= 1.0.1 needed"
 
21045
        echo "***"
 
21046
    fi
 
21047
 
 
21048
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
 
21049
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
20180
21050
if test "${ac_cv_lib_m_cos+set}" = set; then
20181
21051
  echo $ECHO_N "(cached) $ECHO_C" >&6
20182
21052
else
20189
21059
cat >>conftest.$ac_ext <<_ACEOF
20190
21060
/* end confdefs.h.  */
20191
21061
 
20192
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21062
/* Override any GCC internal prototype to avoid an error.
 
21063
   Use char because int might match the return type of a GCC
 
21064
   builtin and then its argument prototype would still apply.  */
20193
21065
#ifdef __cplusplus
20194
21066
extern "C"
20195
21067
#endif
20196
 
/* We use char because int might match the return type of a gcc2
20197
 
   builtin and then its argument prototype would still apply.  */
20198
21068
char cos ();
20199
21069
int
20200
21070
main ()
20201
21071
{
20202
 
cos ();
 
21072
return cos ();
20203
21073
  ;
20204
21074
  return 0;
20205
21075
}
20206
21076
_ACEOF
20207
21077
rm -f conftest.$ac_objext conftest$ac_exeext
20208
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20209
 
  (eval $ac_link) 2>conftest.er1
 
21078
if { (ac_try="$ac_link"
 
21079
case "(($ac_try" in
 
21080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21081
  *) ac_try_echo=$ac_try;;
 
21082
esac
 
21083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21084
  (eval "$ac_link") 2>conftest.er1
20210
21085
  ac_status=$?
20211
21086
  grep -v '^ *+' conftest.er1 >conftest.err
20212
21087
  rm -f conftest.er1
20213
21088
  cat conftest.err >&5
20214
21089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215
 
  (exit $ac_status); } &&
20216
 
         { ac_try='test -z "$ac_c_werror_flag"
20217
 
                         || test ! -s conftest.err'
20218
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219
 
  (eval $ac_try) 2>&5
20220
 
  ac_status=$?
20221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222
 
  (exit $ac_status); }; } &&
20223
 
         { ac_try='test -s conftest$ac_exeext'
20224
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225
 
  (eval $ac_try) 2>&5
20226
 
  ac_status=$?
20227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228
 
  (exit $ac_status); }; }; then
 
21090
  (exit $ac_status); } && {
 
21091
         test -z "$ac_c_werror_flag" ||
 
21092
         test ! -s conftest.err
 
21093
       } && test -s conftest$ac_exeext &&
 
21094
       $as_test_x conftest$ac_exeext; then
20229
21095
  ac_cv_lib_m_cos=yes
20230
21096
else
20231
21097
  echo "$as_me: failed program was:" >&5
20232
21098
sed 's/^/| /' conftest.$ac_ext >&5
20233
21099
 
20234
 
ac_cv_lib_m_cos=no
 
21100
        ac_cv_lib_m_cos=no
20235
21101
fi
20236
 
rm -f conftest.err conftest.$ac_objext \
 
21102
 
 
21103
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20237
21104
      conftest$ac_exeext conftest.$ac_ext
20238
21105
LIBS=$ac_check_lib_save_LIBS
20239
21106
fi
20240
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
20241
 
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
 
21107
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
 
21108
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
20242
21109
if test $ac_cv_lib_m_cos = yes; then
20243
21110
  cat >>confdefs.h <<_ACEOF
20244
21111
#define HAVE_LIBM 1
20248
21115
 
20249
21116
fi
20250
21117
 
20251
 
echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
20252
 
echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6
 
21118
{ echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
 
21119
echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6; }
20253
21120
if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
20254
21121
  echo $ECHO_N "(cached) $ECHO_C" >&6
20255
21122
else
20262
21129
cat >>conftest.$ac_ext <<_ACEOF
20263
21130
/* end confdefs.h.  */
20264
21131
 
20265
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21132
/* Override any GCC internal prototype to avoid an error.
 
21133
   Use char because int might match the return type of a GCC
 
21134
   builtin and then its argument prototype would still apply.  */
20266
21135
#ifdef __cplusplus
20267
21136
extern "C"
20268
21137
#endif
20269
 
/* We use char because int might match the return type of a gcc2
20270
 
   builtin and then its argument prototype would still apply.  */
20271
21138
char ogg_sync_init ();
20272
21139
int
20273
21140
main ()
20274
21141
{
20275
 
ogg_sync_init ();
 
21142
return ogg_sync_init ();
20276
21143
  ;
20277
21144
  return 0;
20278
21145
}
20279
21146
_ACEOF
20280
21147
rm -f conftest.$ac_objext conftest$ac_exeext
20281
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20282
 
  (eval $ac_link) 2>conftest.er1
 
21148
if { (ac_try="$ac_link"
 
21149
case "(($ac_try" in
 
21150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21151
  *) ac_try_echo=$ac_try;;
 
21152
esac
 
21153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21154
  (eval "$ac_link") 2>conftest.er1
20283
21155
  ac_status=$?
20284
21156
  grep -v '^ *+' conftest.er1 >conftest.err
20285
21157
  rm -f conftest.er1
20286
21158
  cat conftest.err >&5
20287
21159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288
 
  (exit $ac_status); } &&
20289
 
         { ac_try='test -z "$ac_c_werror_flag"
20290
 
                         || test ! -s conftest.err'
20291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292
 
  (eval $ac_try) 2>&5
20293
 
  ac_status=$?
20294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295
 
  (exit $ac_status); }; } &&
20296
 
         { ac_try='test -s conftest$ac_exeext'
20297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298
 
  (eval $ac_try) 2>&5
20299
 
  ac_status=$?
20300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301
 
  (exit $ac_status); }; }; then
 
21160
  (exit $ac_status); } && {
 
21161
         test -z "$ac_c_werror_flag" ||
 
21162
         test ! -s conftest.err
 
21163
       } && test -s conftest$ac_exeext &&
 
21164
       $as_test_x conftest$ac_exeext; then
20302
21165
  ac_cv_lib_ogg_ogg_sync_init=yes
20303
21166
else
20304
21167
  echo "$as_me: failed program was:" >&5
20305
21168
sed 's/^/| /' conftest.$ac_ext >&5
20306
21169
 
20307
 
ac_cv_lib_ogg_ogg_sync_init=no
 
21170
        ac_cv_lib_ogg_ogg_sync_init=no
20308
21171
fi
20309
 
rm -f conftest.err conftest.$ac_objext \
 
21172
 
 
21173
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20310
21174
      conftest$ac_exeext conftest.$ac_ext
20311
21175
LIBS=$ac_check_lib_save_LIBS
20312
21176
fi
20313
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
20314
 
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6
 
21177
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
 
21178
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
20315
21179
if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
20316
21180
  cat >>confdefs.h <<_ACEOF
20317
21181
#define HAVE_LIBOGG 1
20324
21188
fi
20325
21189
 
20326
21190
 
20327
 
echo "$as_me:$LINENO: checking for vorbis_comment_init in -lvorbis" >&5
20328
 
echo $ECHO_N "checking for vorbis_comment_init in -lvorbis... $ECHO_C" >&6
 
21191
{ echo "$as_me:$LINENO: checking for vorbis_comment_init in -lvorbis" >&5
 
21192
echo $ECHO_N "checking for vorbis_comment_init in -lvorbis... $ECHO_C" >&6; }
20329
21193
if test "${ac_cv_lib_vorbis_vorbis_comment_init+set}" = set; then
20330
21194
  echo $ECHO_N "(cached) $ECHO_C" >&6
20331
21195
else
20338
21202
cat >>conftest.$ac_ext <<_ACEOF
20339
21203
/* end confdefs.h.  */
20340
21204
 
20341
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21205
/* Override any GCC internal prototype to avoid an error.
 
21206
   Use char because int might match the return type of a GCC
 
21207
   builtin and then its argument prototype would still apply.  */
20342
21208
#ifdef __cplusplus
20343
21209
extern "C"
20344
21210
#endif
20345
 
/* We use char because int might match the return type of a gcc2
20346
 
   builtin and then its argument prototype would still apply.  */
20347
21211
char vorbis_comment_init ();
20348
21212
int
20349
21213
main ()
20350
21214
{
20351
 
vorbis_comment_init ();
 
21215
return vorbis_comment_init ();
20352
21216
  ;
20353
21217
  return 0;
20354
21218
}
20355
21219
_ACEOF
20356
21220
rm -f conftest.$ac_objext conftest$ac_exeext
20357
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20358
 
  (eval $ac_link) 2>conftest.er1
 
21221
if { (ac_try="$ac_link"
 
21222
case "(($ac_try" in
 
21223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21224
  *) ac_try_echo=$ac_try;;
 
21225
esac
 
21226
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21227
  (eval "$ac_link") 2>conftest.er1
20359
21228
  ac_status=$?
20360
21229
  grep -v '^ *+' conftest.er1 >conftest.err
20361
21230
  rm -f conftest.er1
20362
21231
  cat conftest.err >&5
20363
21232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364
 
  (exit $ac_status); } &&
20365
 
         { ac_try='test -z "$ac_c_werror_flag"
20366
 
                         || test ! -s conftest.err'
20367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20368
 
  (eval $ac_try) 2>&5
20369
 
  ac_status=$?
20370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371
 
  (exit $ac_status); }; } &&
20372
 
         { ac_try='test -s conftest$ac_exeext'
20373
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374
 
  (eval $ac_try) 2>&5
20375
 
  ac_status=$?
20376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377
 
  (exit $ac_status); }; }; then
 
21233
  (exit $ac_status); } && {
 
21234
         test -z "$ac_c_werror_flag" ||
 
21235
         test ! -s conftest.err
 
21236
       } && test -s conftest$ac_exeext &&
 
21237
       $as_test_x conftest$ac_exeext; then
20378
21238
  ac_cv_lib_vorbis_vorbis_comment_init=yes
20379
21239
else
20380
21240
  echo "$as_me: failed program was:" >&5
20381
21241
sed 's/^/| /' conftest.$ac_ext >&5
20382
21242
 
20383
 
ac_cv_lib_vorbis_vorbis_comment_init=no
 
21243
        ac_cv_lib_vorbis_vorbis_comment_init=no
20384
21244
fi
20385
 
rm -f conftest.err conftest.$ac_objext \
 
21245
 
 
21246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20386
21247
      conftest$ac_exeext conftest.$ac_ext
20387
21248
LIBS=$ac_check_lib_save_LIBS
20388
21249
fi
20389
 
echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_comment_init" >&5
20390
 
echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_comment_init" >&6
 
21250
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_comment_init" >&5
 
21251
echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_comment_init" >&6; }
20391
21252
if test $ac_cv_lib_vorbis_vorbis_comment_init = yes; then
20392
21253
  cat >>confdefs.h <<_ACEOF
20393
21254
#define HAVE_LIBVORBIS 1
20400
21261
fi
20401
21262
 
20402
21263
 
20403
 
echo "$as_me:$LINENO: checking for ov_open in -lvorbisfile" >&5
20404
 
echo $ECHO_N "checking for ov_open in -lvorbisfile... $ECHO_C" >&6
 
21264
{ echo "$as_me:$LINENO: checking for ov_open in -lvorbisfile" >&5
 
21265
echo $ECHO_N "checking for ov_open in -lvorbisfile... $ECHO_C" >&6; }
20405
21266
if test "${ac_cv_lib_vorbisfile_ov_open+set}" = set; then
20406
21267
  echo $ECHO_N "(cached) $ECHO_C" >&6
20407
21268
else
20414
21275
cat >>conftest.$ac_ext <<_ACEOF
20415
21276
/* end confdefs.h.  */
20416
21277
 
20417
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21278
/* Override any GCC internal prototype to avoid an error.
 
21279
   Use char because int might match the return type of a GCC
 
21280
   builtin and then its argument prototype would still apply.  */
20418
21281
#ifdef __cplusplus
20419
21282
extern "C"
20420
21283
#endif
20421
 
/* We use char because int might match the return type of a gcc2
20422
 
   builtin and then its argument prototype would still apply.  */
20423
21284
char ov_open ();
20424
21285
int
20425
21286
main ()
20426
21287
{
20427
 
ov_open ();
 
21288
return ov_open ();
20428
21289
  ;
20429
21290
  return 0;
20430
21291
}
20431
21292
_ACEOF
20432
21293
rm -f conftest.$ac_objext conftest$ac_exeext
20433
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20434
 
  (eval $ac_link) 2>conftest.er1
 
21294
if { (ac_try="$ac_link"
 
21295
case "(($ac_try" in
 
21296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21297
  *) ac_try_echo=$ac_try;;
 
21298
esac
 
21299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21300
  (eval "$ac_link") 2>conftest.er1
20435
21301
  ac_status=$?
20436
21302
  grep -v '^ *+' conftest.er1 >conftest.err
20437
21303
  rm -f conftest.er1
20438
21304
  cat conftest.err >&5
20439
21305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440
 
  (exit $ac_status); } &&
20441
 
         { ac_try='test -z "$ac_c_werror_flag"
20442
 
                         || test ! -s conftest.err'
20443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444
 
  (eval $ac_try) 2>&5
20445
 
  ac_status=$?
20446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447
 
  (exit $ac_status); }; } &&
20448
 
         { ac_try='test -s conftest$ac_exeext'
20449
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450
 
  (eval $ac_try) 2>&5
20451
 
  ac_status=$?
20452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453
 
  (exit $ac_status); }; }; then
 
21306
  (exit $ac_status); } && {
 
21307
         test -z "$ac_c_werror_flag" ||
 
21308
         test ! -s conftest.err
 
21309
       } && test -s conftest$ac_exeext &&
 
21310
       $as_test_x conftest$ac_exeext; then
20454
21311
  ac_cv_lib_vorbisfile_ov_open=yes
20455
21312
else
20456
21313
  echo "$as_me: failed program was:" >&5
20457
21314
sed 's/^/| /' conftest.$ac_ext >&5
20458
21315
 
20459
 
ac_cv_lib_vorbisfile_ov_open=no
 
21316
        ac_cv_lib_vorbisfile_ov_open=no
20460
21317
fi
20461
 
rm -f conftest.err conftest.$ac_objext \
 
21318
 
 
21319
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20462
21320
      conftest$ac_exeext conftest.$ac_ext
20463
21321
LIBS=$ac_check_lib_save_LIBS
20464
21322
fi
20465
 
echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open" >&5
20466
 
echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open" >&6
 
21323
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open" >&5
 
21324
echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open" >&6; }
20467
21325
if test $ac_cv_lib_vorbisfile_ov_open = yes; then
20468
21326
  cat >>confdefs.h <<_ACEOF
20469
21327
#define HAVE_LIBVORBISFILE 1
20477
21335
 
20478
21336
fi
20479
21337
 
20480
 
echo "$as_me:$LINENO: checking for Ogg Vorbis file support" >&5
20481
 
echo $ECHO_N "checking for Ogg Vorbis file support... $ECHO_C" >&6
 
21338
{ echo "$as_me:$LINENO: checking for Ogg Vorbis file support" >&5
 
21339
echo $ECHO_N "checking for Ogg Vorbis file support... $ECHO_C" >&6; }
20482
21340
if test "x$enable_ogg" = "xyes"; then
20483
21341
    if test "x$ogg_available" = "xno"; then
20484
 
        echo "$as_me:$LINENO: result: no" >&5
20485
 
echo "${ECHO_T}no" >&6
 
21342
        { echo "$as_me:$LINENO: result: no" >&5
 
21343
echo "${ECHO_T}no" >&6; }
20486
21344
        enable_ogg="no"
20487
21345
        echo "***"
20488
21346
        echo "*** Warning: Ogg Vorbis file support disabled"
20489
21347
        echo "*** (Install libogg and libvorbis libraries to enable it)"
20490
21348
        echo "***"
20491
21349
    else
20492
 
        echo "$as_me:$LINENO: result: yes" >&5
20493
 
echo "${ECHO_T}yes" >&6
 
21350
        { echo "$as_me:$LINENO: result: yes" >&5
 
21351
echo "${ECHO_T}yes" >&6; }
20494
21352
 
20495
21353
cat >>confdefs.h <<\_ACEOF
20496
21354
#define ENABLE_OGG 1
20506
21364
 
20507
21365
 
20508
21366
 
 
21367
if test "x$enable_speex" = "xyes"; then
 
21368
 
 
21369
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
 
21370
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
 
21371
if test "${ac_cv_lib_m_cos+set}" = set; then
 
21372
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21373
else
 
21374
  ac_check_lib_save_LIBS=$LIBS
 
21375
LIBS="-lm  $LIBS"
 
21376
cat >conftest.$ac_ext <<_ACEOF
 
21377
/* confdefs.h.  */
 
21378
_ACEOF
 
21379
cat confdefs.h >>conftest.$ac_ext
 
21380
cat >>conftest.$ac_ext <<_ACEOF
 
21381
/* end confdefs.h.  */
 
21382
 
 
21383
/* Override any GCC internal prototype to avoid an error.
 
21384
   Use char because int might match the return type of a GCC
 
21385
   builtin and then its argument prototype would still apply.  */
 
21386
#ifdef __cplusplus
 
21387
extern "C"
 
21388
#endif
 
21389
char cos ();
 
21390
int
 
21391
main ()
 
21392
{
 
21393
return cos ();
 
21394
  ;
 
21395
  return 0;
 
21396
}
 
21397
_ACEOF
 
21398
rm -f conftest.$ac_objext conftest$ac_exeext
 
21399
if { (ac_try="$ac_link"
 
21400
case "(($ac_try" in
 
21401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21402
  *) ac_try_echo=$ac_try;;
 
21403
esac
 
21404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21405
  (eval "$ac_link") 2>conftest.er1
 
21406
  ac_status=$?
 
21407
  grep -v '^ *+' conftest.er1 >conftest.err
 
21408
  rm -f conftest.er1
 
21409
  cat conftest.err >&5
 
21410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21411
  (exit $ac_status); } && {
 
21412
         test -z "$ac_c_werror_flag" ||
 
21413
         test ! -s conftest.err
 
21414
       } && test -s conftest$ac_exeext &&
 
21415
       $as_test_x conftest$ac_exeext; then
 
21416
  ac_cv_lib_m_cos=yes
 
21417
else
 
21418
  echo "$as_me: failed program was:" >&5
 
21419
sed 's/^/| /' conftest.$ac_ext >&5
 
21420
 
 
21421
        ac_cv_lib_m_cos=no
 
21422
fi
 
21423
 
 
21424
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21425
      conftest$ac_exeext conftest.$ac_ext
 
21426
LIBS=$ac_check_lib_save_LIBS
 
21427
fi
 
21428
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
 
21429
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
 
21430
if test $ac_cv_lib_m_cos = yes; then
 
21431
  cat >>confdefs.h <<_ACEOF
 
21432
#define HAVE_LIBM 1
 
21433
_ACEOF
 
21434
 
 
21435
  LIBS="-lm $LIBS"
 
21436
 
 
21437
fi
 
21438
 
 
21439
{ echo "$as_me:$LINENO: checking for speex_packet_to_header in -lspeex" >&5
 
21440
echo $ECHO_N "checking for speex_packet_to_header in -lspeex... $ECHO_C" >&6; }
 
21441
if test "${ac_cv_lib_speex_speex_packet_to_header+set}" = set; then
 
21442
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21443
else
 
21444
  ac_check_lib_save_LIBS=$LIBS
 
21445
LIBS="-lspeex  $LIBS"
 
21446
cat >conftest.$ac_ext <<_ACEOF
 
21447
/* confdefs.h.  */
 
21448
_ACEOF
 
21449
cat confdefs.h >>conftest.$ac_ext
 
21450
cat >>conftest.$ac_ext <<_ACEOF
 
21451
/* end confdefs.h.  */
 
21452
 
 
21453
/* Override any GCC internal prototype to avoid an error.
 
21454
   Use char because int might match the return type of a GCC
 
21455
   builtin and then its argument prototype would still apply.  */
 
21456
#ifdef __cplusplus
 
21457
extern "C"
 
21458
#endif
 
21459
char speex_packet_to_header ();
 
21460
int
 
21461
main ()
 
21462
{
 
21463
return speex_packet_to_header ();
 
21464
  ;
 
21465
  return 0;
 
21466
}
 
21467
_ACEOF
 
21468
rm -f conftest.$ac_objext conftest$ac_exeext
 
21469
if { (ac_try="$ac_link"
 
21470
case "(($ac_try" in
 
21471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21472
  *) ac_try_echo=$ac_try;;
 
21473
esac
 
21474
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21475
  (eval "$ac_link") 2>conftest.er1
 
21476
  ac_status=$?
 
21477
  grep -v '^ *+' conftest.er1 >conftest.err
 
21478
  rm -f conftest.er1
 
21479
  cat conftest.err >&5
 
21480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21481
  (exit $ac_status); } && {
 
21482
         test -z "$ac_c_werror_flag" ||
 
21483
         test ! -s conftest.err
 
21484
       } && test -s conftest$ac_exeext &&
 
21485
       $as_test_x conftest$ac_exeext; then
 
21486
  ac_cv_lib_speex_speex_packet_to_header=yes
 
21487
else
 
21488
  echo "$as_me: failed program was:" >&5
 
21489
sed 's/^/| /' conftest.$ac_ext >&5
 
21490
 
 
21491
        ac_cv_lib_speex_speex_packet_to_header=no
 
21492
fi
 
21493
 
 
21494
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21495
      conftest$ac_exeext conftest.$ac_ext
 
21496
LIBS=$ac_check_lib_save_LIBS
 
21497
fi
 
21498
{ echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_packet_to_header" >&5
 
21499
echo "${ECHO_T}$ac_cv_lib_speex_speex_packet_to_header" >&6; }
 
21500
if test $ac_cv_lib_speex_speex_packet_to_header = yes; then
 
21501
  cat >>confdefs.h <<_ACEOF
 
21502
#define HAVE_LIBSPEEX 1
 
21503
_ACEOF
 
21504
 
 
21505
  LIBS="-lspeex $LIBS"
 
21506
 
 
21507
else
 
21508
  speex_available=no
 
21509
fi
 
21510
 
 
21511
 
 
21512
    { echo "$as_me:$LINENO: checking for Speex file support" >&5
 
21513
echo $ECHO_N "checking for Speex file support... $ECHO_C" >&6; }
 
21514
    if test "x$speex_available" = "xno"; then
 
21515
        { echo "$as_me:$LINENO: result: no" >&5
 
21516
echo "${ECHO_T}no" >&6; }
 
21517
        enable_speex="no"
 
21518
        echo "***"
 
21519
        echo "*** Warning: Speex file support disabled, speex missing"
 
21520
        echo "*** (Install speex, libogg and libvorbis libraries to enable it)"
 
21521
        echo "***"
 
21522
    elif test "x$ogg_available" = "xno"; then
 
21523
        { echo "$as_me:$LINENO: result: no" >&5
 
21524
echo "${ECHO_T}no" >&6; }
 
21525
        enable_speex="no"
 
21526
        echo "***"
 
21527
        echo "*** Warning: Speex file support disabled, libvorbis missing"
 
21528
        echo "*** (Install speex, libogg and libvorbis libraries to enable it)"
 
21529
        echo "***"
 
21530
    else
 
21531
        { echo "$as_me:$LINENO: result: yes" >&5
 
21532
echo "${ECHO_T}yes" >&6; }
 
21533
 
 
21534
cat >>confdefs.h <<\_ACEOF
 
21535
#define ENABLE_SPEEX 1
 
21536
_ACEOF
 
21537
 
 
21538
    fi
 
21539
else
 
21540
    { echo "$as_me:$LINENO: checking for Speex file support" >&5
 
21541
echo $ECHO_N "checking for Speex file support... $ECHO_C" >&6; }
 
21542
    { echo "$as_me:$LINENO: result: no" >&5
 
21543
echo "${ECHO_T}no" >&6; }
 
21544
    echo "***"
 
21545
    echo "*** Speex file support disabled on commandline"
 
21546
    echo "*** (Install speex, libogg and libvorbis libraries, and use --enable-speex to enable it)"
 
21547
    echo "***"
 
21548
fi
 
21549
 
 
21550
 
 
21551
 
20509
21552
if test "x$enable_flac" = "xyes"; then
20510
21553
 
20511
 
echo "$as_me:$LINENO: checking for cos in -lm" >&5
20512
 
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
 
21554
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
 
21555
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
20513
21556
if test "${ac_cv_lib_m_cos+set}" = set; then
20514
21557
  echo $ECHO_N "(cached) $ECHO_C" >&6
20515
21558
else
20522
21565
cat >>conftest.$ac_ext <<_ACEOF
20523
21566
/* end confdefs.h.  */
20524
21567
 
20525
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21568
/* Override any GCC internal prototype to avoid an error.
 
21569
   Use char because int might match the return type of a GCC
 
21570
   builtin and then its argument prototype would still apply.  */
20526
21571
#ifdef __cplusplus
20527
21572
extern "C"
20528
21573
#endif
20529
 
/* We use char because int might match the return type of a gcc2
20530
 
   builtin and then its argument prototype would still apply.  */
20531
21574
char cos ();
20532
21575
int
20533
21576
main ()
20534
21577
{
20535
 
cos ();
 
21578
return cos ();
20536
21579
  ;
20537
21580
  return 0;
20538
21581
}
20539
21582
_ACEOF
20540
21583
rm -f conftest.$ac_objext conftest$ac_exeext
20541
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20542
 
  (eval $ac_link) 2>conftest.er1
 
21584
if { (ac_try="$ac_link"
 
21585
case "(($ac_try" in
 
21586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21587
  *) ac_try_echo=$ac_try;;
 
21588
esac
 
21589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21590
  (eval "$ac_link") 2>conftest.er1
20543
21591
  ac_status=$?
20544
21592
  grep -v '^ *+' conftest.er1 >conftest.err
20545
21593
  rm -f conftest.er1
20546
21594
  cat conftest.err >&5
20547
21595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548
 
  (exit $ac_status); } &&
20549
 
         { ac_try='test -z "$ac_c_werror_flag"
20550
 
                         || test ! -s conftest.err'
20551
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552
 
  (eval $ac_try) 2>&5
20553
 
  ac_status=$?
20554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555
 
  (exit $ac_status); }; } &&
20556
 
         { ac_try='test -s conftest$ac_exeext'
20557
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558
 
  (eval $ac_try) 2>&5
20559
 
  ac_status=$?
20560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561
 
  (exit $ac_status); }; }; then
 
21596
  (exit $ac_status); } && {
 
21597
         test -z "$ac_c_werror_flag" ||
 
21598
         test ! -s conftest.err
 
21599
       } && test -s conftest$ac_exeext &&
 
21600
       $as_test_x conftest$ac_exeext; then
20562
21601
  ac_cv_lib_m_cos=yes
20563
21602
else
20564
21603
  echo "$as_me: failed program was:" >&5
20565
21604
sed 's/^/| /' conftest.$ac_ext >&5
20566
21605
 
20567
 
ac_cv_lib_m_cos=no
 
21606
        ac_cv_lib_m_cos=no
20568
21607
fi
20569
 
rm -f conftest.err conftest.$ac_objext \
 
21608
 
 
21609
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20570
21610
      conftest$ac_exeext conftest.$ac_ext
20571
21611
LIBS=$ac_check_lib_save_LIBS
20572
21612
fi
20573
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
20574
 
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
 
21613
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
 
21614
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
20575
21615
if test $ac_cv_lib_m_cos = yes; then
20576
21616
  cat >>confdefs.h <<_ACEOF
20577
21617
#define HAVE_LIBM 1
20581
21621
 
20582
21622
fi
20583
21623
 
20584
 
echo "$as_me:$LINENO: checking for FLAC__metadata_simple_iterator_new in -lFLAC" >&5
20585
 
echo $ECHO_N "checking for FLAC__metadata_simple_iterator_new in -lFLAC... $ECHO_C" >&6
 
21624
{ echo "$as_me:$LINENO: checking for FLAC__metadata_simple_iterator_new in -lFLAC" >&5
 
21625
echo $ECHO_N "checking for FLAC__metadata_simple_iterator_new in -lFLAC... $ECHO_C" >&6; }
20586
21626
if test "${ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new+set}" = set; then
20587
21627
  echo $ECHO_N "(cached) $ECHO_C" >&6
20588
21628
else
20595
21635
cat >>conftest.$ac_ext <<_ACEOF
20596
21636
/* end confdefs.h.  */
20597
21637
 
20598
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21638
/* Override any GCC internal prototype to avoid an error.
 
21639
   Use char because int might match the return type of a GCC
 
21640
   builtin and then its argument prototype would still apply.  */
20599
21641
#ifdef __cplusplus
20600
21642
extern "C"
20601
21643
#endif
20602
 
/* We use char because int might match the return type of a gcc2
20603
 
   builtin and then its argument prototype would still apply.  */
20604
21644
char FLAC__metadata_simple_iterator_new ();
20605
21645
int
20606
21646
main ()
20607
21647
{
20608
 
FLAC__metadata_simple_iterator_new ();
 
21648
return FLAC__metadata_simple_iterator_new ();
20609
21649
  ;
20610
21650
  return 0;
20611
21651
}
20612
21652
_ACEOF
20613
21653
rm -f conftest.$ac_objext conftest$ac_exeext
20614
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20615
 
  (eval $ac_link) 2>conftest.er1
 
21654
if { (ac_try="$ac_link"
 
21655
case "(($ac_try" in
 
21656
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21657
  *) ac_try_echo=$ac_try;;
 
21658
esac
 
21659
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21660
  (eval "$ac_link") 2>conftest.er1
20616
21661
  ac_status=$?
20617
21662
  grep -v '^ *+' conftest.er1 >conftest.err
20618
21663
  rm -f conftest.er1
20619
21664
  cat conftest.err >&5
20620
21665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621
 
  (exit $ac_status); } &&
20622
 
         { ac_try='test -z "$ac_c_werror_flag"
20623
 
                         || test ! -s conftest.err'
20624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20625
 
  (eval $ac_try) 2>&5
20626
 
  ac_status=$?
20627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628
 
  (exit $ac_status); }; } &&
20629
 
         { ac_try='test -s conftest$ac_exeext'
20630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631
 
  (eval $ac_try) 2>&5
20632
 
  ac_status=$?
20633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634
 
  (exit $ac_status); }; }; then
 
21666
  (exit $ac_status); } && {
 
21667
         test -z "$ac_c_werror_flag" ||
 
21668
         test ! -s conftest.err
 
21669
       } && test -s conftest$ac_exeext &&
 
21670
       $as_test_x conftest$ac_exeext; then
20635
21671
  ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new=yes
20636
21672
else
20637
21673
  echo "$as_me: failed program was:" >&5
20638
21674
sed 's/^/| /' conftest.$ac_ext >&5
20639
21675
 
20640
 
ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new=no
 
21676
        ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new=no
20641
21677
fi
20642
 
rm -f conftest.err conftest.$ac_objext \
 
21678
 
 
21679
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20643
21680
      conftest$ac_exeext conftest.$ac_ext
20644
21681
LIBS=$ac_check_lib_save_LIBS
20645
21682
fi
20646
 
echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new" >&5
20647
 
echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new" >&6
 
21683
{ echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new" >&5
 
21684
echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new" >&6; }
20648
21685
if test $ac_cv_lib_FLAC_FLAC__metadata_simple_iterator_new = yes; then
20649
21686
  cat >>confdefs.h <<_ACEOF
20650
21687
#define HAVE_LIBFLAC 1
20657
21694
fi
20658
21695
 
20659
21696
 
20660
 
    echo "$as_me:$LINENO: checking for FLAC file support" >&5
20661
 
echo $ECHO_N "checking for FLAC file support... $ECHO_C" >&6
 
21697
    { echo "$as_me:$LINENO: checking for FLAC file support" >&5
 
21698
echo $ECHO_N "checking for FLAC file support... $ECHO_C" >&6; }
20662
21699
    if test "x$flac_available" = "xno"; then
20663
 
        echo "$as_me:$LINENO: result: no" >&5
20664
 
echo "${ECHO_T}no" >&6
 
21700
        { echo "$as_me:$LINENO: result: no" >&5
 
21701
echo "${ECHO_T}no" >&6; }
20665
21702
        enable_flac="no"
20666
21703
        echo "***"
20667
21704
        echo "*** Warning: FLAC file support disabled, libflac missing"
20668
21705
        echo "*** (Install libflac, libogg and libvorbis libraries to enable it)"
20669
21706
        echo "***"
20670
21707
    elif test "x$ogg_available" = "xno"; then
20671
 
        echo "$as_me:$LINENO: result: no" >&5
20672
 
echo "${ECHO_T}no" >&6
 
21708
        { echo "$as_me:$LINENO: result: no" >&5
 
21709
echo "${ECHO_T}no" >&6; }
20673
21710
        enable_flac="no"
20674
21711
        echo "***"
20675
21712
        echo "*** Warning: FLAC file support disabled, libvorbis missing"
20676
21713
        echo "*** (Install libflac, libogg and libvorbis libraries to enable it)"
20677
21714
        echo "***"
20678
21715
    else
20679
 
        echo "$as_me:$LINENO: result: yes" >&5
20680
 
echo "${ECHO_T}yes" >&6
 
21716
        { echo "$as_me:$LINENO: result: yes" >&5
 
21717
echo "${ECHO_T}yes" >&6; }
20681
21718
 
20682
21719
cat >>confdefs.h <<\_ACEOF
20683
21720
#define ENABLE_FLAC 1
20685
21722
 
20686
21723
    fi
20687
21724
else
20688
 
    echo "$as_me:$LINENO: checking for FLAC file support" >&5
20689
 
echo $ECHO_N "checking for FLAC file support... $ECHO_C" >&6
20690
 
    echo "$as_me:$LINENO: result: no" >&5
20691
 
echo "${ECHO_T}no" >&6
 
21725
    { echo "$as_me:$LINENO: checking for FLAC file support" >&5
 
21726
echo $ECHO_N "checking for FLAC file support... $ECHO_C" >&6; }
 
21727
    { echo "$as_me:$LINENO: result: no" >&5
 
21728
echo "${ECHO_T}no" >&6; }
20692
21729
    echo "***"
20693
21730
    echo "*** FLAC file support disabled on commandline"
20694
21731
    echo "*** (Install libflac, libogg and libvorbis libraries, and use --enable-flac to enable it)"
20700
21737
    CFLAGS_SAVE="$CFLAGS"
20701
21738
    LIBS="$LIBS $LIBFLAC_LIBS"
20702
21739
    CFLAGS="$CFLAGS $LIBFLAC_CFLAGS"
20703
 
    echo "$as_me:$LINENO: checking for libFLAC version" >&5
20704
 
echo $ECHO_N "checking for libFLAC version... $ECHO_C" >&6
 
21740
    { echo "$as_me:$LINENO: checking for libFLAC version" >&5
 
21741
echo $ECHO_N "checking for libFLAC version... $ECHO_C" >&6; }
20705
21742
        if test "$cross_compiling" = yes; then
20706
21743
  echo $ac_n "cross compiling; assuming ${LIBFLAC_MAJOR}.${LIBFLAC_MINOR}.${LIBFLAC_PATCH} $ac_c"
20707
21744
else
20735
21772
 
20736
21773
_ACEOF
20737
21774
rm -f conftest$ac_exeext
20738
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20739
 
  (eval $ac_link) 2>&5
 
21775
if { (ac_try="$ac_link"
 
21776
case "(($ac_try" in
 
21777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21778
  *) ac_try_echo=$ac_try;;
 
21779
esac
 
21780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21781
  (eval "$ac_link") 2>&5
20740
21782
  ac_status=$?
20741
21783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742
21784
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744
 
  (eval $ac_try) 2>&5
 
21785
  { (case "(($ac_try" in
 
21786
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21787
  *) ac_try_echo=$ac_try;;
 
21788
esac
 
21789
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21790
  (eval "$ac_try") 2>&5
20745
21791
  ac_status=$?
20746
21792
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747
21793
  (exit $ac_status); }; }; then
20755
21801
{ echo "$as_me:$LINENO: WARNING: could not determine libFLAC version" >&5
20756
21802
echo "$as_me: WARNING: could not determine libFLAC version" >&2;}
20757
21803
fi
20758
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21804
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20759
21805
fi
 
21806
 
 
21807
 
20760
21808
    LIBS="$LIBS_SAVE"
20761
21809
    CFLAGS="$CFLAGS_SAVE"
20762
21810
    LIBFLAC_VERSION="(flac-$LIBFLAC_MAJOR.$LIBFLAC_MINOR.$LIBFLAC_PATCH)"
20779
21827
 
20780
21828
 
20781
21829
if test "x$enable_mp3" = "xyes"; then
20782
 
        echo "$as_me:$LINENO: checking for library containing ID3Tag_Link" >&5
20783
 
echo $ECHO_N "checking for library containing ID3Tag_Link... $ECHO_C" >&6
 
21830
    { echo "$as_me:$LINENO: checking for MP3 file support" >&5
 
21831
echo $ECHO_N "checking for MP3 file support... $ECHO_C" >&6; }
 
21832
    if test "${ac_cv_header_id3tag_h+set}" = set; then
 
21833
  { echo "$as_me:$LINENO: checking for id3tag.h" >&5
 
21834
echo $ECHO_N "checking for id3tag.h... $ECHO_C" >&6; }
 
21835
if test "${ac_cv_header_id3tag_h+set}" = set; then
 
21836
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21837
fi
 
21838
{ echo "$as_me:$LINENO: result: $ac_cv_header_id3tag_h" >&5
 
21839
echo "${ECHO_T}$ac_cv_header_id3tag_h" >&6; }
 
21840
else
 
21841
  # Is the header compilable?
 
21842
{ echo "$as_me:$LINENO: checking id3tag.h usability" >&5
 
21843
echo $ECHO_N "checking id3tag.h usability... $ECHO_C" >&6; }
 
21844
cat >conftest.$ac_ext <<_ACEOF
 
21845
/* confdefs.h.  */
 
21846
_ACEOF
 
21847
cat confdefs.h >>conftest.$ac_ext
 
21848
cat >>conftest.$ac_ext <<_ACEOF
 
21849
/* end confdefs.h.  */
 
21850
$ac_includes_default
 
21851
#include <id3tag.h>
 
21852
_ACEOF
 
21853
rm -f conftest.$ac_objext
 
21854
if { (ac_try="$ac_compile"
 
21855
case "(($ac_try" in
 
21856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21857
  *) ac_try_echo=$ac_try;;
 
21858
esac
 
21859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21860
  (eval "$ac_compile") 2>conftest.er1
 
21861
  ac_status=$?
 
21862
  grep -v '^ *+' conftest.er1 >conftest.err
 
21863
  rm -f conftest.er1
 
21864
  cat conftest.err >&5
 
21865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21866
  (exit $ac_status); } && {
 
21867
         test -z "$ac_c_werror_flag" ||
 
21868
         test ! -s conftest.err
 
21869
       } && test -s conftest.$ac_objext; then
 
21870
  ac_header_compiler=yes
 
21871
else
 
21872
  echo "$as_me: failed program was:" >&5
 
21873
sed 's/^/| /' conftest.$ac_ext >&5
 
21874
 
 
21875
        ac_header_compiler=no
 
21876
fi
 
21877
 
 
21878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21879
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21880
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21881
 
 
21882
# Is the header present?
 
21883
{ echo "$as_me:$LINENO: checking id3tag.h presence" >&5
 
21884
echo $ECHO_N "checking id3tag.h presence... $ECHO_C" >&6; }
 
21885
cat >conftest.$ac_ext <<_ACEOF
 
21886
/* confdefs.h.  */
 
21887
_ACEOF
 
21888
cat confdefs.h >>conftest.$ac_ext
 
21889
cat >>conftest.$ac_ext <<_ACEOF
 
21890
/* end confdefs.h.  */
 
21891
#include <id3tag.h>
 
21892
_ACEOF
 
21893
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21894
case "(($ac_try" in
 
21895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21896
  *) ac_try_echo=$ac_try;;
 
21897
esac
 
21898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21899
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
21900
  ac_status=$?
 
21901
  grep -v '^ *+' conftest.er1 >conftest.err
 
21902
  rm -f conftest.er1
 
21903
  cat conftest.err >&5
 
21904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21905
  (exit $ac_status); } >/dev/null && {
 
21906
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21907
         test ! -s conftest.err
 
21908
       }; then
 
21909
  ac_header_preproc=yes
 
21910
else
 
21911
  echo "$as_me: failed program was:" >&5
 
21912
sed 's/^/| /' conftest.$ac_ext >&5
 
21913
 
 
21914
  ac_header_preproc=no
 
21915
fi
 
21916
 
 
21917
rm -f conftest.err conftest.$ac_ext
 
21918
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21919
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21920
 
 
21921
# So?  What about this header?
 
21922
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
21923
  yes:no: )
 
21924
    { echo "$as_me:$LINENO: WARNING: id3tag.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
21925
echo "$as_me: WARNING: id3tag.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21926
    { echo "$as_me:$LINENO: WARNING: id3tag.h: proceeding with the compiler's result" >&5
 
21927
echo "$as_me: WARNING: id3tag.h: proceeding with the compiler's result" >&2;}
 
21928
    ac_header_preproc=yes
 
21929
    ;;
 
21930
  no:yes:* )
 
21931
    { echo "$as_me:$LINENO: WARNING: id3tag.h: present but cannot be compiled" >&5
 
21932
echo "$as_me: WARNING: id3tag.h: present but cannot be compiled" >&2;}
 
21933
    { echo "$as_me:$LINENO: WARNING: id3tag.h:     check for missing prerequisite headers?" >&5
 
21934
echo "$as_me: WARNING: id3tag.h:     check for missing prerequisite headers?" >&2;}
 
21935
    { echo "$as_me:$LINENO: WARNING: id3tag.h: see the Autoconf documentation" >&5
 
21936
echo "$as_me: WARNING: id3tag.h: see the Autoconf documentation" >&2;}
 
21937
    { echo "$as_me:$LINENO: WARNING: id3tag.h:     section \"Present But Cannot Be Compiled\"" >&5
 
21938
echo "$as_me: WARNING: id3tag.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21939
    { echo "$as_me:$LINENO: WARNING: id3tag.h: proceeding with the preprocessor's result" >&5
 
21940
echo "$as_me: WARNING: id3tag.h: proceeding with the preprocessor's result" >&2;}
 
21941
    { echo "$as_me:$LINENO: WARNING: id3tag.h: in the future, the compiler will take precedence" >&5
 
21942
echo "$as_me: WARNING: id3tag.h: in the future, the compiler will take precedence" >&2;}
 
21943
 
 
21944
    ;;
 
21945
esac
 
21946
{ echo "$as_me:$LINENO: checking for id3tag.h" >&5
 
21947
echo $ECHO_N "checking for id3tag.h... $ECHO_C" >&6; }
 
21948
if test "${ac_cv_header_id3tag_h+set}" = set; then
 
21949
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21950
else
 
21951
  ac_cv_header_id3tag_h=$ac_header_preproc
 
21952
fi
 
21953
{ echo "$as_me:$LINENO: result: $ac_cv_header_id3tag_h" >&5
 
21954
echo "${ECHO_T}$ac_cv_header_id3tag_h" >&6; }
 
21955
 
 
21956
fi
 
21957
if test $ac_cv_header_id3tag_h = yes; then
 
21958
  :
 
21959
else
 
21960
  libid3tag_available=no
 
21961
fi
 
21962
 
 
21963
 
 
21964
 
 
21965
{ echo "$as_me:$LINENO: checking for id3_frame_field in -lid3tag" >&5
 
21966
echo $ECHO_N "checking for id3_frame_field in -lid3tag... $ECHO_C" >&6; }
 
21967
if test "${ac_cv_lib_id3tag_id3_frame_field+set}" = set; then
 
21968
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21969
else
 
21970
  ac_check_lib_save_LIBS=$LIBS
 
21971
LIBS="-lid3tag -lz $LIBS"
 
21972
cat >conftest.$ac_ext <<_ACEOF
 
21973
/* confdefs.h.  */
 
21974
_ACEOF
 
21975
cat confdefs.h >>conftest.$ac_ext
 
21976
cat >>conftest.$ac_ext <<_ACEOF
 
21977
/* end confdefs.h.  */
 
21978
 
 
21979
/* Override any GCC internal prototype to avoid an error.
 
21980
   Use char because int might match the return type of a GCC
 
21981
   builtin and then its argument prototype would still apply.  */
 
21982
#ifdef __cplusplus
 
21983
extern "C"
 
21984
#endif
 
21985
char id3_frame_field ();
 
21986
int
 
21987
main ()
 
21988
{
 
21989
return id3_frame_field ();
 
21990
  ;
 
21991
  return 0;
 
21992
}
 
21993
_ACEOF
 
21994
rm -f conftest.$ac_objext conftest$ac_exeext
 
21995
if { (ac_try="$ac_link"
 
21996
case "(($ac_try" in
 
21997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21998
  *) ac_try_echo=$ac_try;;
 
21999
esac
 
22000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22001
  (eval "$ac_link") 2>conftest.er1
 
22002
  ac_status=$?
 
22003
  grep -v '^ *+' conftest.er1 >conftest.err
 
22004
  rm -f conftest.er1
 
22005
  cat conftest.err >&5
 
22006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22007
  (exit $ac_status); } && {
 
22008
         test -z "$ac_c_werror_flag" ||
 
22009
         test ! -s conftest.err
 
22010
       } && test -s conftest$ac_exeext &&
 
22011
       $as_test_x conftest$ac_exeext; then
 
22012
  ac_cv_lib_id3tag_id3_frame_field=yes
 
22013
else
 
22014
  echo "$as_me: failed program was:" >&5
 
22015
sed 's/^/| /' conftest.$ac_ext >&5
 
22016
 
 
22017
        ac_cv_lib_id3tag_id3_frame_field=no
 
22018
fi
 
22019
 
 
22020
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22021
      conftest$ac_exeext conftest.$ac_ext
 
22022
LIBS=$ac_check_lib_save_LIBS
 
22023
fi
 
22024
{ echo "$as_me:$LINENO: result: $ac_cv_lib_id3tag_id3_frame_field" >&5
 
22025
echo "${ECHO_T}$ac_cv_lib_id3tag_id3_frame_field" >&6; }
 
22026
if test $ac_cv_lib_id3tag_id3_frame_field = yes; then
 
22027
  cat >>confdefs.h <<_ACEOF
 
22028
#define HAVE_LIBID3TAG 1
 
22029
_ACEOF
 
22030
 
 
22031
  LIBS="-lid3tag $LIBS"
 
22032
 
 
22033
else
 
22034
  libid3tag_available=no
 
22035
fi
 
22036
 
 
22037
    if test "x$libid3tag_available" = "xno"; then
 
22038
        { echo "$as_me:$LINENO: result: no" >&5
 
22039
echo "${ECHO_T}no" >&6; }
 
22040
        enable_mp3="no"
 
22041
        echo "***"
 
22042
        echo "*** Warning: MP3 file support disabled, libid3tag missing"
 
22043
        echo "***"
 
22044
    else
 
22045
        { echo "$as_me:$LINENO: result: yes" >&5
 
22046
echo "${ECHO_T}yes" >&6; }
 
22047
 
 
22048
cat >>confdefs.h <<\_ACEOF
 
22049
#define ENABLE_MP3 1
 
22050
_ACEOF
 
22051
 
 
22052
    fi
 
22053
 
 
22054
    if test "x$enable_id3v23" = "xyes"; then
 
22055
                { echo "$as_me:$LINENO: checking for library containing ID3Tag_Link" >&5
 
22056
echo $ECHO_N "checking for library containing ID3Tag_Link... $ECHO_C" >&6; }
20784
22057
if test "${ac_cv_search_ID3Tag_Link+set}" = set; then
20785
22058
  echo $ECHO_N "(cached) $ECHO_C" >&6
20786
22059
else
20787
22060
  ac_func_search_save_LIBS=$LIBS
20788
 
ac_cv_search_ID3Tag_Link=no
20789
22061
cat >conftest.$ac_ext <<_ACEOF
20790
22062
/* confdefs.h.  */
20791
22063
_ACEOF
20793
22065
cat >>conftest.$ac_ext <<_ACEOF
20794
22066
/* end confdefs.h.  */
20795
22067
 
20796
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22068
/* Override any GCC internal prototype to avoid an error.
 
22069
   Use char because int might match the return type of a GCC
 
22070
   builtin and then its argument prototype would still apply.  */
20797
22071
#ifdef __cplusplus
20798
22072
extern "C"
20799
22073
#endif
20800
 
/* We use char because int might match the return type of a gcc2
20801
 
   builtin and then its argument prototype would still apply.  */
20802
22074
char ID3Tag_Link ();
20803
22075
int
20804
22076
main ()
20805
22077
{
20806
 
ID3Tag_Link ();
 
22078
return ID3Tag_Link ();
20807
22079
  ;
20808
22080
  return 0;
20809
22081
}
20810
22082
_ACEOF
20811
 
rm -f conftest.$ac_objext conftest$ac_exeext
20812
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20813
 
  (eval $ac_link) 2>conftest.er1
20814
 
  ac_status=$?
20815
 
  grep -v '^ *+' conftest.er1 >conftest.err
20816
 
  rm -f conftest.er1
20817
 
  cat conftest.err >&5
20818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819
 
  (exit $ac_status); } &&
20820
 
         { ac_try='test -z "$ac_c_werror_flag"
20821
 
                         || test ! -s conftest.err'
20822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823
 
  (eval $ac_try) 2>&5
20824
 
  ac_status=$?
20825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826
 
  (exit $ac_status); }; } &&
20827
 
         { ac_try='test -s conftest$ac_exeext'
20828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829
 
  (eval $ac_try) 2>&5
20830
 
  ac_status=$?
20831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832
 
  (exit $ac_status); }; }; then
20833
 
  ac_cv_search_ID3Tag_Link="none required"
20834
 
else
20835
 
  echo "$as_me: failed program was:" >&5
20836
 
sed 's/^/| /' conftest.$ac_ext >&5
20837
 
 
20838
 
fi
20839
 
rm -f conftest.err conftest.$ac_objext \
20840
 
      conftest$ac_exeext conftest.$ac_ext
20841
 
if test "$ac_cv_search_ID3Tag_Link" = no; then
20842
 
  for ac_lib in "id3" "id3 -lstdc++" "id3 -lz" "id3 -lz -lstdc++"; do
 
22083
for ac_lib in '' "id3" "id3 -lstdc++" "id3 -lz" "id3 -lz -lstdc++"; do
 
22084
  if test -z "$ac_lib"; then
 
22085
    ac_res="none required"
 
22086
  else
 
22087
    ac_res=-l$ac_lib
20843
22088
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20844
 
    cat >conftest.$ac_ext <<_ACEOF
20845
 
/* confdefs.h.  */
20846
 
_ACEOF
20847
 
cat confdefs.h >>conftest.$ac_ext
20848
 
cat >>conftest.$ac_ext <<_ACEOF
20849
 
/* end confdefs.h.  */
20850
 
 
20851
 
/* Override any gcc2 internal prototype to avoid an error.  */
20852
 
#ifdef __cplusplus
20853
 
extern "C"
20854
 
#endif
20855
 
/* We use char because int might match the return type of a gcc2
20856
 
   builtin and then its argument prototype would still apply.  */
20857
 
char ID3Tag_Link ();
20858
 
int
20859
 
main ()
20860
 
{
20861
 
ID3Tag_Link ();
20862
 
  ;
20863
 
  return 0;
20864
 
}
20865
 
_ACEOF
20866
 
rm -f conftest.$ac_objext conftest$ac_exeext
20867
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20868
 
  (eval $ac_link) 2>conftest.er1
 
22089
  fi
 
22090
  rm -f conftest.$ac_objext conftest$ac_exeext
 
22091
if { (ac_try="$ac_link"
 
22092
case "(($ac_try" in
 
22093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22094
  *) ac_try_echo=$ac_try;;
 
22095
esac
 
22096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22097
  (eval "$ac_link") 2>conftest.er1
20869
22098
  ac_status=$?
20870
22099
  grep -v '^ *+' conftest.er1 >conftest.err
20871
22100
  rm -f conftest.er1
20872
22101
  cat conftest.err >&5
20873
22102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874
 
  (exit $ac_status); } &&
20875
 
         { ac_try='test -z "$ac_c_werror_flag"
20876
 
                         || test ! -s conftest.err'
20877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878
 
  (eval $ac_try) 2>&5
20879
 
  ac_status=$?
20880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881
 
  (exit $ac_status); }; } &&
20882
 
         { ac_try='test -s conftest$ac_exeext'
20883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884
 
  (eval $ac_try) 2>&5
20885
 
  ac_status=$?
20886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887
 
  (exit $ac_status); }; }; then
20888
 
  ac_cv_search_ID3Tag_Link="-l$ac_lib"
20889
 
break
 
22103
  (exit $ac_status); } && {
 
22104
         test -z "$ac_c_werror_flag" ||
 
22105
         test ! -s conftest.err
 
22106
       } && test -s conftest$ac_exeext &&
 
22107
       $as_test_x conftest$ac_exeext; then
 
22108
  ac_cv_search_ID3Tag_Link=$ac_res
20890
22109
else
20891
22110
  echo "$as_me: failed program was:" >&5
20892
22111
sed 's/^/| /' conftest.$ac_ext >&5
20893
22112
 
20894
 
fi
20895
 
rm -f conftest.err conftest.$ac_objext \
20896
 
      conftest$ac_exeext conftest.$ac_ext
20897
 
  done
20898
 
fi
 
22113
 
 
22114
fi
 
22115
 
 
22116
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22117
      conftest$ac_exeext
 
22118
  if test "${ac_cv_search_ID3Tag_Link+set}" = set; then
 
22119
  break
 
22120
fi
 
22121
done
 
22122
if test "${ac_cv_search_ID3Tag_Link+set}" = set; then
 
22123
  :
 
22124
else
 
22125
  ac_cv_search_ID3Tag_Link=no
 
22126
fi
 
22127
rm conftest.$ac_ext
20899
22128
LIBS=$ac_func_search_save_LIBS
20900
22129
fi
20901
 
echo "$as_me:$LINENO: result: $ac_cv_search_ID3Tag_Link" >&5
20902
 
echo "${ECHO_T}$ac_cv_search_ID3Tag_Link" >&6
20903
 
if test "$ac_cv_search_ID3Tag_Link" != no; then
20904
 
  test "$ac_cv_search_ID3Tag_Link" = "none required" || LIBS="$ac_cv_search_ID3Tag_Link $LIBS"
 
22130
{ echo "$as_me:$LINENO: result: $ac_cv_search_ID3Tag_Link" >&5
 
22131
echo "${ECHO_T}$ac_cv_search_ID3Tag_Link" >&6; }
 
22132
ac_res=$ac_cv_search_ID3Tag_Link
 
22133
if test "$ac_res" != no; then
 
22134
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20905
22135
 
20906
22136
else
20907
22137
  { echo "$as_me:$LINENO: WARNING: id3lib not found" >&5
20909
22139
fi
20910
22140
 
20911
22141
 
20912
 
        LIBS="-lz -lstdc++ $LIBS"
20913
 
 
20914
 
        ID3LIB_MAJOR=3
20915
 
    ID3LIB_MINOR=8
20916
 
    ID3LIB_PATCH=0
20917
 
 
20918
 
echo "$as_me:$LINENO: checking for id3lib version" >&5
20919
 
echo $ECHO_N "checking for id3lib version... $ECHO_C" >&6
20920
 
      if test "$cross_compiling" = yes; then
 
22142
                LIBS="-lz -lstdc++ $LIBS"
 
22143
 
 
22144
                ID3LIB_MAJOR=3
 
22145
        ID3LIB_MINOR=8
 
22146
        ID3LIB_PATCH=0
 
22147
 
 
22148
        { echo "$as_me:$LINENO: checking for id3lib version" >&5
 
22149
echo $ECHO_N "checking for id3lib version... $ECHO_C" >&6; }
 
22150
              if test "$cross_compiling" = yes; then
20921
22151
  echo $ac_n "cross compiling; assuming ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c"
20922
22152
else
20923
22153
  cat >conftest.$ac_ext <<_ACEOF
20927
22157
cat >>conftest.$ac_ext <<_ACEOF
20928
22158
/* end confdefs.h.  */
20929
22159
 
20930
 
#include <id3.h>
20931
 
#include <stdio.h>
20932
 
int
20933
 
main ()
20934
 
{
20935
 
    FILE *output;
20936
 
    output=fopen("conftest.id3","w");
20937
 
    fprintf(output,"ID3LIB_MAJOR=%d\nID3LIB_MINOR=%d\nID3LIB_PATCH=%d\n",ID3LIB_MAJOR_VERSION,ID3LIB_MINOR_VERSION,ID3LIB_PATCH_VERSION);
20938
 
    fclose(output);
20939
 
    exit(0);
20940
 
}
 
22160
        #include <id3.h>
 
22161
        #include <stdio.h>
 
22162
        int main ()
 
22163
        {
 
22164
            FILE *output;
 
22165
            output=fopen("conftest.id3","w");
 
22166
            fprintf(output,"ID3LIB_MAJOR=%d\nID3LIB_MINOR=%d\nID3LIB_PATCH=%d\n",ID3LIB_MAJOR_VERSION,ID3LIB_MINOR_VERSION,ID3LIB_PATCH_VERSION);
 
22167
            fclose(output);
 
22168
            exit(0);
 
22169
        }
20941
22170
 
20942
22171
_ACEOF
20943
22172
rm -f conftest$ac_exeext
20944
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20945
 
  (eval $ac_link) 2>&5
 
22173
if { (ac_try="$ac_link"
 
22174
case "(($ac_try" in
 
22175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22176
  *) ac_try_echo=$ac_try;;
 
22177
esac
 
22178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22179
  (eval "$ac_link") 2>&5
20946
22180
  ac_status=$?
20947
22181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948
22182
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20949
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950
 
  (eval $ac_try) 2>&5
 
22183
  { (case "(($ac_try" in
 
22184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22185
  *) ac_try_echo=$ac_try;;
 
22186
esac
 
22187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22188
  (eval "$ac_try") 2>&5
20951
22189
  ac_status=$?
20952
22190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953
22191
  (exit $ac_status); }; }; then
20961
22199
{ echo "$as_me:$LINENO: WARNING: could not determine id3lib version" >&5
20962
22200
echo "$as_me: WARNING: could not determine id3lib version" >&2;}; id3lib_available=no
20963
22201
fi
20964
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22202
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20965
22203
fi
20966
22204
 
 
22205
 
 
22206
 
20967
22207
cat >>confdefs.h <<_ACEOF
20968
22208
#define ID3LIB_MAJOR $ID3LIB_MAJOR
20969
22209
_ACEOF
20979
22219
_ACEOF
20980
22220
 
20981
22221
 
20982
 
    echo "$as_me:$LINENO: checking for MP3 file support" >&5
20983
 
echo $ECHO_N "checking for MP3 file support... $ECHO_C" >&6
20984
 
    if test "x$id3lib_available" = "xno"; then
20985
 
        echo "$as_me:$LINENO: result: no" >&5
20986
 
echo "${ECHO_T}no" >&6
20987
 
        enable_mp3="no"
20988
 
        echo "***"
20989
 
        echo "*** Warning: MP3 file support disabled, id3lib missing"
20990
 
        echo "***"
20991
 
    else
20992
 
        echo "$as_me:$LINENO: result: yes" >&5
20993
 
echo "${ECHO_T}yes" >&6
 
22222
        { echo "$as_me:$LINENO: checking for MP3 file support" >&5
 
22223
echo $ECHO_N "checking for MP3 file support... $ECHO_C" >&6; }
 
22224
        if test "x$id3lib_available" = "xno"; then
 
22225
            { echo "$as_me:$LINENO: result: no" >&5
 
22226
echo "${ECHO_T}no" >&6; }
 
22227
            echo "***"
 
22228
            echo "*** Warning: id3v23 tags support disabled, id3lib missing"
 
22229
            echo "***"
 
22230
        else
 
22231
            { echo "$as_me:$LINENO: result: yes" >&5
 
22232
echo "${ECHO_T}yes" >&6; }
20994
22233
 
20995
22234
cat >>confdefs.h <<\_ACEOF
20996
 
#define ENABLE_MP3 1
 
22235
#define ENABLE_ID3LIB 1
20997
22236
_ACEOF
20998
22237
 
20999
 
        ID3LIB_VERSION="(id3lib-$ID3LIB_MAJOR.$ID3LIB_MINOR.$ID3LIB_PATCH)"
 
22238
            ID3LIB_VERSION="(id3lib-$ID3LIB_MAJOR.$ID3LIB_MINOR.$ID3LIB_PATCH)"
 
22239
        fi
21000
22240
    fi
21001
22241
fi
21002
22242
 
21003
22243
 
21004
22244
if test "x$enable_mp4" = "xyes"; then
21005
22245
 
21006
 
echo "$as_me:$LINENO: checking for cos in -lm" >&5
21007
 
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
 
22246
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
 
22247
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
21008
22248
if test "${ac_cv_lib_m_cos+set}" = set; then
21009
22249
  echo $ECHO_N "(cached) $ECHO_C" >&6
21010
22250
else
21017
22257
cat >>conftest.$ac_ext <<_ACEOF
21018
22258
/* end confdefs.h.  */
21019
22259
 
21020
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22260
/* Override any GCC internal prototype to avoid an error.
 
22261
   Use char because int might match the return type of a GCC
 
22262
   builtin and then its argument prototype would still apply.  */
21021
22263
#ifdef __cplusplus
21022
22264
extern "C"
21023
22265
#endif
21024
 
/* We use char because int might match the return type of a gcc2
21025
 
   builtin and then its argument prototype would still apply.  */
21026
22266
char cos ();
21027
22267
int
21028
22268
main ()
21029
22269
{
21030
 
cos ();
 
22270
return cos ();
21031
22271
  ;
21032
22272
  return 0;
21033
22273
}
21034
22274
_ACEOF
21035
22275
rm -f conftest.$ac_objext conftest$ac_exeext
21036
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21037
 
  (eval $ac_link) 2>conftest.er1
 
22276
if { (ac_try="$ac_link"
 
22277
case "(($ac_try" in
 
22278
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22279
  *) ac_try_echo=$ac_try;;
 
22280
esac
 
22281
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22282
  (eval "$ac_link") 2>conftest.er1
21038
22283
  ac_status=$?
21039
22284
  grep -v '^ *+' conftest.er1 >conftest.err
21040
22285
  rm -f conftest.er1
21041
22286
  cat conftest.err >&5
21042
22287
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043
 
  (exit $ac_status); } &&
21044
 
         { ac_try='test -z "$ac_c_werror_flag"
21045
 
                         || test ! -s conftest.err'
21046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047
 
  (eval $ac_try) 2>&5
21048
 
  ac_status=$?
21049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050
 
  (exit $ac_status); }; } &&
21051
 
         { ac_try='test -s conftest$ac_exeext'
21052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053
 
  (eval $ac_try) 2>&5
21054
 
  ac_status=$?
21055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056
 
  (exit $ac_status); }; }; then
 
22288
  (exit $ac_status); } && {
 
22289
         test -z "$ac_c_werror_flag" ||
 
22290
         test ! -s conftest.err
 
22291
       } && test -s conftest$ac_exeext &&
 
22292
       $as_test_x conftest$ac_exeext; then
21057
22293
  ac_cv_lib_m_cos=yes
21058
22294
else
21059
22295
  echo "$as_me: failed program was:" >&5
21060
22296
sed 's/^/| /' conftest.$ac_ext >&5
21061
22297
 
21062
 
ac_cv_lib_m_cos=no
 
22298
        ac_cv_lib_m_cos=no
21063
22299
fi
21064
 
rm -f conftest.err conftest.$ac_objext \
 
22300
 
 
22301
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21065
22302
      conftest$ac_exeext conftest.$ac_ext
21066
22303
LIBS=$ac_check_lib_save_LIBS
21067
22304
fi
21068
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21069
 
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
 
22305
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
 
22306
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
21070
22307
if test $ac_cv_lib_m_cos = yes; then
21071
22308
  cat >>confdefs.h <<_ACEOF
21072
22309
#define HAVE_LIBM 1
21077
22314
fi
21078
22315
 
21079
22316
 
21080
 
echo "$as_me:$LINENO: checking for MP4Read in -lmp4v2" >&5
21081
 
echo $ECHO_N "checking for MP4Read in -lmp4v2... $ECHO_C" >&6
21082
 
if test "${ac_cv_lib_mp4v2_MP4Read+set}" = set; then
 
22317
{ echo "$as_me:$LINENO: checking for MP4GetTrackMediaDataName in -lmp4v2" >&5
 
22318
echo $ECHO_N "checking for MP4GetTrackMediaDataName in -lmp4v2... $ECHO_C" >&6; }
 
22319
if test "${ac_cv_lib_mp4v2_MP4GetTrackMediaDataName+set}" = set; then
21083
22320
  echo $ECHO_N "(cached) $ECHO_C" >&6
21084
22321
else
21085
22322
  ac_check_lib_save_LIBS=$LIBS
21091
22328
cat >>conftest.$ac_ext <<_ACEOF
21092
22329
/* end confdefs.h.  */
21093
22330
 
21094
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22331
/* Override any GCC internal prototype to avoid an error.
 
22332
   Use char because int might match the return type of a GCC
 
22333
   builtin and then its argument prototype would still apply.  */
21095
22334
#ifdef __cplusplus
21096
22335
extern "C"
21097
22336
#endif
21098
 
/* We use char because int might match the return type of a gcc2
21099
 
   builtin and then its argument prototype would still apply.  */
21100
 
char MP4Read ();
 
22337
char MP4GetTrackMediaDataName ();
21101
22338
int
21102
22339
main ()
21103
22340
{
21104
 
MP4Read ();
 
22341
return MP4GetTrackMediaDataName ();
21105
22342
  ;
21106
22343
  return 0;
21107
22344
}
21108
22345
_ACEOF
21109
22346
rm -f conftest.$ac_objext conftest$ac_exeext
21110
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21111
 
  (eval $ac_link) 2>conftest.er1
 
22347
if { (ac_try="$ac_link"
 
22348
case "(($ac_try" in
 
22349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22350
  *) ac_try_echo=$ac_try;;
 
22351
esac
 
22352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22353
  (eval "$ac_link") 2>conftest.er1
21112
22354
  ac_status=$?
21113
22355
  grep -v '^ *+' conftest.er1 >conftest.err
21114
22356
  rm -f conftest.er1
21115
22357
  cat conftest.err >&5
21116
22358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117
 
  (exit $ac_status); } &&
21118
 
         { ac_try='test -z "$ac_c_werror_flag"
21119
 
                         || test ! -s conftest.err'
21120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121
 
  (eval $ac_try) 2>&5
21122
 
  ac_status=$?
21123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124
 
  (exit $ac_status); }; } &&
21125
 
         { ac_try='test -s conftest$ac_exeext'
21126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127
 
  (eval $ac_try) 2>&5
21128
 
  ac_status=$?
21129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130
 
  (exit $ac_status); }; }; then
21131
 
  ac_cv_lib_mp4v2_MP4Read=yes
 
22359
  (exit $ac_status); } && {
 
22360
         test -z "$ac_c_werror_flag" ||
 
22361
         test ! -s conftest.err
 
22362
       } && test -s conftest$ac_exeext &&
 
22363
       $as_test_x conftest$ac_exeext; then
 
22364
  ac_cv_lib_mp4v2_MP4GetTrackMediaDataName=yes
21132
22365
else
21133
22366
  echo "$as_me: failed program was:" >&5
21134
22367
sed 's/^/| /' conftest.$ac_ext >&5
21135
22368
 
21136
 
ac_cv_lib_mp4v2_MP4Read=no
 
22369
        ac_cv_lib_mp4v2_MP4GetTrackMediaDataName=no
21137
22370
fi
21138
 
rm -f conftest.err conftest.$ac_objext \
 
22371
 
 
22372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21139
22373
      conftest$ac_exeext conftest.$ac_ext
21140
22374
LIBS=$ac_check_lib_save_LIBS
21141
22375
fi
21142
 
echo "$as_me:$LINENO: result: $ac_cv_lib_mp4v2_MP4Read" >&5
21143
 
echo "${ECHO_T}$ac_cv_lib_mp4v2_MP4Read" >&6
21144
 
if test $ac_cv_lib_mp4v2_MP4Read = yes; then
 
22376
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mp4v2_MP4GetTrackMediaDataName" >&5
 
22377
echo "${ECHO_T}$ac_cv_lib_mp4v2_MP4GetTrackMediaDataName" >&6; }
 
22378
if test $ac_cv_lib_mp4v2_MP4GetTrackMediaDataName = yes; then
21145
22379
  cat >>confdefs.h <<_ACEOF
21146
22380
#define HAVE_LIBMP4V2 1
21147
22381
_ACEOF
21152
22386
  mp4_available=no
21153
22387
fi
21154
22388
 
21155
 
    fi
 
22389
fi
21156
22390
 
21157
 
echo "$as_me:$LINENO: checking for MP4/AAC file support" >&5
21158
 
echo $ECHO_N "checking for MP4/AAC file support... $ECHO_C" >&6
 
22391
{ echo "$as_me:$LINENO: checking for MP4/AAC file support" >&5
 
22392
echo $ECHO_N "checking for MP4/AAC file support... $ECHO_C" >&6; }
21159
22393
if test "x$enable_mp4" = "xyes"; then
21160
22394
    if test "x$mp4_available" = "xno"; then
21161
 
        echo "$as_me:$LINENO: result: no" >&5
21162
 
echo "${ECHO_T}no" >&6
 
22395
        { echo "$as_me:$LINENO: result: no" >&5
 
22396
echo "${ECHO_T}no" >&6; }
21163
22397
        enable_mp4="no"
21164
22398
        echo "***"
21165
22399
        echo "*** Warning: MP4 file support disabled"
21166
 
        echo "*** (Install MPEG4IP tools (libmp4v2) to enable it)"
 
22400
        echo "*** (Install libmp4v2 to enable it)"
21167
22401
        echo "***"
21168
22402
    else
21169
 
        echo "$as_me:$LINENO: result: yes" >&5
21170
 
echo "${ECHO_T}yes" >&6
 
22403
 
 
22404
                LIBS_SAVE="$LIBS"
 
22405
        CFLAGS_SAVE="$CFLAGS"
 
22406
        LIBS="$LIBS $LIBMP4V2_LIBS"
 
22407
        CFLAGS="$CFLAGS $LIBMP4V2_CFLAGS"
 
22408
        { echo "$as_me:$LINENO: checking for libmp4v2 version" >&5
 
22409
echo $ECHO_N "checking for libmp4v2 version... $ECHO_C" >&6; }
 
22410
            if test "$cross_compiling" = yes; then
 
22411
  echo $ac_n "cross compiling; assuming ${LIBMP4V2_NAME}-${LIBMP4V2_VERSION} $ac_c"
 
22412
else
 
22413
  cat >conftest.$ac_ext <<_ACEOF
 
22414
/* confdefs.h.  */
 
22415
_ACEOF
 
22416
cat confdefs.h >>conftest.$ac_ext
 
22417
cat >>conftest.$ac_ext <<_ACEOF
 
22418
/* end confdefs.h.  */
 
22419
 
 
22420
                #include <stdio.h>
 
22421
                #include <mpeg4ip_config.h>
 
22422
                int main (void)
 
22423
                {
 
22424
                    FILE *output;
 
22425
                    output=fopen("conftest.mp4v2","w");
 
22426
                    fprintf(output,"LIBMP4V2_NAME=%s\nLIBMP4V2_VERSION=%s\n",PACKAGE_TARNAME,PACKAGE_VERSION);
 
22427
                    fclose(output);
 
22428
                    exit(0);
 
22429
                }
 
22430
 
 
22431
_ACEOF
 
22432
rm -f conftest$ac_exeext
 
22433
if { (ac_try="$ac_link"
 
22434
case "(($ac_try" in
 
22435
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22436
  *) ac_try_echo=$ac_try;;
 
22437
esac
 
22438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22439
  (eval "$ac_link") 2>&5
 
22440
  ac_status=$?
 
22441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22442
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
22443
  { (case "(($ac_try" in
 
22444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22445
  *) ac_try_echo=$ac_try;;
 
22446
esac
 
22447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22448
  (eval "$ac_try") 2>&5
 
22449
  ac_status=$?
 
22450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22451
  (exit $ac_status); }; }; then
 
22452
  . ./conftest.mp4v2; echo "${LIBMP4V2_NAME}-${LIBMP4V2_VERSION}"
 
22453
else
 
22454
  echo "$as_me: program exited with status $ac_status" >&5
 
22455
echo "$as_me: failed program was:" >&5
 
22456
sed 's/^/| /' conftest.$ac_ext >&5
 
22457
 
 
22458
( exit $ac_status )
 
22459
{ echo "$as_me:$LINENO: WARNING: could not determine libmp4v2 version" >&5
 
22460
echo "$as_me: WARNING: could not determine libmp4v2 version" >&2;}
 
22461
fi
 
22462
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22463
fi
 
22464
 
 
22465
 
 
22466
        LIBS="$LIBS_SAVE"
 
22467
        CFLAGS="$CFLAGS_SAVE"
 
22468
        if test "$LIBMP4V2_VERSION" != ""; then
 
22469
            LIBMP4V2_VERSION="($LIBMP4V2_NAME-$LIBMP4V2_VERSION)"
 
22470
        fi
 
22471
 
 
22472
                cat >conftest.$ac_ext <<_ACEOF
 
22473
 
 
22474
           #include <mp4.h>
 
22475
           main () {
 
22476
           MP4FileHandle hFile;
 
22477
           MP4GetMetadataCoverArt(hFile, NULL, NULL,0); }
 
22478
 
 
22479
_ACEOF
 
22480
rm -f conftest.$ac_objext
 
22481
if { (ac_try="$ac_compile"
 
22482
case "(($ac_try" in
 
22483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22484
  *) ac_try_echo=$ac_try;;
 
22485
esac
 
22486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22487
  (eval "$ac_compile") 2>conftest.er1
 
22488
  ac_status=$?
 
22489
  grep -v '^ *+' conftest.er1 >conftest.err
 
22490
  rm -f conftest.er1
 
22491
  cat conftest.err >&5
 
22492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22493
  (exit $ac_status); } && {
 
22494
         test -z "$ac_c_werror_flag" ||
 
22495
         test ! -s conftest.err
 
22496
       } && test -s conftest.$ac_objext; then
 
22497
 
 
22498
cat >>confdefs.h <<\_ACEOF
 
22499
#define NEWMP4 1
 
22500
_ACEOF
 
22501
 
 
22502
else
 
22503
  echo "$as_me: failed program was:" >&5
 
22504
sed 's/^/| /' conftest.$ac_ext >&5
 
22505
 
 
22506
 
 
22507
fi
 
22508
 
 
22509
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22510
 
 
22511
        { echo "$as_me:$LINENO: result: yes" >&5
 
22512
echo "${ECHO_T}yes" >&6; }
21171
22513
 
21172
22514
cat >>confdefs.h <<\_ACEOF
21173
22515
#define ENABLE_MP4 1
21174
22516
_ACEOF
21175
22517
 
21176
 
        MPEG4IP_VERSION="(mpeg4ip-`mpeg4ip-config --version`)"
21177
22518
    fi
21178
22519
else
21179
 
    echo "$as_me:$LINENO: result: no" >&5
21180
 
echo "${ECHO_T}no" >&6
 
22520
    { echo "$as_me:$LINENO: result: no" >&5
 
22521
echo "${ECHO_T}no" >&6; }
21181
22522
    enable_mp4="no"
21182
22523
    echo "***"
21183
22524
    echo "*** MP4 file support disabled on commandline"
21184
 
    echo "*** (Install MPEG4IP tools (libmp4v2), and use --enable-mp4 to enable it)"
21185
 
    echo "***"
21186
 
fi
21187
 
 
 
22525
    echo "*** (Install libmp4v2 and use --enable-mp4 to enable it)"
 
22526
    echo "***"
 
22527
fi
 
22528
 
 
22529
 
 
22530
if test "x$enable_wavpack" = "xyes"; then
 
22531
 
 
22532
pkg_failed=no
 
22533
{ echo "$as_me:$LINENO: checking for WAVPACK" >&5
 
22534
echo $ECHO_N "checking for WAVPACK... $ECHO_C" >&6; }
 
22535
 
 
22536
if test -n "$PKG_CONFIG"; then
 
22537
    if test -n "$WAVPACK_CFLAGS"; then
 
22538
        pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
 
22539
    else
 
22540
        if test -n "$PKG_CONFIG" && \
 
22541
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40\"") >&5
 
22542
  ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40") 2>&5
 
22543
  ac_status=$?
 
22544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22545
  (exit $ac_status); }; then
 
22546
  pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.40" 2>/dev/null`
 
22547
else
 
22548
  pkg_failed=yes
 
22549
fi
 
22550
    fi
 
22551
else
 
22552
        pkg_failed=untried
 
22553
fi
 
22554
if test -n "$PKG_CONFIG"; then
 
22555
    if test -n "$WAVPACK_LIBS"; then
 
22556
        pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
 
22557
    else
 
22558
        if test -n "$PKG_CONFIG" && \
 
22559
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40\"") >&5
 
22560
  ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40") 2>&5
 
22561
  ac_status=$?
 
22562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22563
  (exit $ac_status); }; then
 
22564
  pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.40" 2>/dev/null`
 
22565
else
 
22566
  pkg_failed=yes
 
22567
fi
 
22568
    fi
 
22569
else
 
22570
        pkg_failed=untried
 
22571
fi
 
22572
 
 
22573
 
 
22574
 
 
22575
if test $pkg_failed = yes; then
 
22576
 
 
22577
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22578
        _pkg_short_errors_supported=yes
 
22579
else
 
22580
        _pkg_short_errors_supported=no
 
22581
fi
 
22582
        if test $_pkg_short_errors_supported = yes; then
 
22583
                WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.40"`
 
22584
        else
 
22585
                WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.40"`
 
22586
        fi
 
22587
        # Put the nasty error message in config.log where it belongs
 
22588
        echo "$WAVPACK_PKG_ERRORS" >&5
 
22589
 
 
22590
        { echo "$as_me:$LINENO: result: no" >&5
 
22591
echo "${ECHO_T}no" >&6; }
 
22592
                wavpack_available=no
 
22593
elif test $pkg_failed = untried; then
 
22594
        wavpack_available=no
 
22595
else
 
22596
        WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
 
22597
        WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
 
22598
        { echo "$as_me:$LINENO: result: yes" >&5
 
22599
echo "${ECHO_T}yes" >&6; }
 
22600
        :
 
22601
fi
 
22602
    if test "x$wavpack_available" = "xno"; then
 
22603
        echo "***"
 
22604
        echo "*** Warning: wavpack >= 4.40 needed"
 
22605
        echo "***"
 
22606
    fi
 
22607
 
 
22608
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
 
22609
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
 
22610
if test "${ac_cv_lib_m_cos+set}" = set; then
 
22611
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22612
else
 
22613
  ac_check_lib_save_LIBS=$LIBS
 
22614
LIBS="-lm  $LIBS"
 
22615
cat >conftest.$ac_ext <<_ACEOF
 
22616
/* confdefs.h.  */
 
22617
_ACEOF
 
22618
cat confdefs.h >>conftest.$ac_ext
 
22619
cat >>conftest.$ac_ext <<_ACEOF
 
22620
/* end confdefs.h.  */
 
22621
 
 
22622
/* Override any GCC internal prototype to avoid an error.
 
22623
   Use char because int might match the return type of a GCC
 
22624
   builtin and then its argument prototype would still apply.  */
 
22625
#ifdef __cplusplus
 
22626
extern "C"
 
22627
#endif
 
22628
char cos ();
 
22629
int
 
22630
main ()
 
22631
{
 
22632
return cos ();
 
22633
  ;
 
22634
  return 0;
 
22635
}
 
22636
_ACEOF
 
22637
rm -f conftest.$ac_objext conftest$ac_exeext
 
22638
if { (ac_try="$ac_link"
 
22639
case "(($ac_try" in
 
22640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22641
  *) ac_try_echo=$ac_try;;
 
22642
esac
 
22643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22644
  (eval "$ac_link") 2>conftest.er1
 
22645
  ac_status=$?
 
22646
  grep -v '^ *+' conftest.er1 >conftest.err
 
22647
  rm -f conftest.er1
 
22648
  cat conftest.err >&5
 
22649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22650
  (exit $ac_status); } && {
 
22651
         test -z "$ac_c_werror_flag" ||
 
22652
         test ! -s conftest.err
 
22653
       } && test -s conftest$ac_exeext &&
 
22654
       $as_test_x conftest$ac_exeext; then
 
22655
  ac_cv_lib_m_cos=yes
 
22656
else
 
22657
  echo "$as_me: failed program was:" >&5
 
22658
sed 's/^/| /' conftest.$ac_ext >&5
 
22659
 
 
22660
        ac_cv_lib_m_cos=no
 
22661
fi
 
22662
 
 
22663
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22664
      conftest$ac_exeext conftest.$ac_ext
 
22665
LIBS=$ac_check_lib_save_LIBS
 
22666
fi
 
22667
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
 
22668
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
 
22669
if test $ac_cv_lib_m_cos = yes; then
 
22670
  cat >>confdefs.h <<_ACEOF
 
22671
#define HAVE_LIBM 1
 
22672
_ACEOF
 
22673
 
 
22674
  LIBS="-lm $LIBS"
 
22675
 
 
22676
fi
 
22677
 
 
22678
 
 
22679
{ echo "$as_me:$LINENO: checking for WavpackOpenFileInput in -lwavpack" >&5
 
22680
echo $ECHO_N "checking for WavpackOpenFileInput in -lwavpack... $ECHO_C" >&6; }
 
22681
if test "${ac_cv_lib_wavpack_WavpackOpenFileInput+set}" = set; then
 
22682
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22683
else
 
22684
  ac_check_lib_save_LIBS=$LIBS
 
22685
LIBS="-lwavpack  $LIBS"
 
22686
cat >conftest.$ac_ext <<_ACEOF
 
22687
/* confdefs.h.  */
 
22688
_ACEOF
 
22689
cat confdefs.h >>conftest.$ac_ext
 
22690
cat >>conftest.$ac_ext <<_ACEOF
 
22691
/* end confdefs.h.  */
 
22692
 
 
22693
/* Override any GCC internal prototype to avoid an error.
 
22694
   Use char because int might match the return type of a GCC
 
22695
   builtin and then its argument prototype would still apply.  */
 
22696
#ifdef __cplusplus
 
22697
extern "C"
 
22698
#endif
 
22699
char WavpackOpenFileInput ();
 
22700
int
 
22701
main ()
 
22702
{
 
22703
return WavpackOpenFileInput ();
 
22704
  ;
 
22705
  return 0;
 
22706
}
 
22707
_ACEOF
 
22708
rm -f conftest.$ac_objext conftest$ac_exeext
 
22709
if { (ac_try="$ac_link"
 
22710
case "(($ac_try" in
 
22711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22712
  *) ac_try_echo=$ac_try;;
 
22713
esac
 
22714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22715
  (eval "$ac_link") 2>conftest.er1
 
22716
  ac_status=$?
 
22717
  grep -v '^ *+' conftest.er1 >conftest.err
 
22718
  rm -f conftest.er1
 
22719
  cat conftest.err >&5
 
22720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22721
  (exit $ac_status); } && {
 
22722
         test -z "$ac_c_werror_flag" ||
 
22723
         test ! -s conftest.err
 
22724
       } && test -s conftest$ac_exeext &&
 
22725
       $as_test_x conftest$ac_exeext; then
 
22726
  ac_cv_lib_wavpack_WavpackOpenFileInput=yes
 
22727
else
 
22728
  echo "$as_me: failed program was:" >&5
 
22729
sed 's/^/| /' conftest.$ac_ext >&5
 
22730
 
 
22731
        ac_cv_lib_wavpack_WavpackOpenFileInput=no
 
22732
fi
 
22733
 
 
22734
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22735
      conftest$ac_exeext conftest.$ac_ext
 
22736
LIBS=$ac_check_lib_save_LIBS
 
22737
fi
 
22738
{ echo "$as_me:$LINENO: result: $ac_cv_lib_wavpack_WavpackOpenFileInput" >&5
 
22739
echo "${ECHO_T}$ac_cv_lib_wavpack_WavpackOpenFileInput" >&6; }
 
22740
if test $ac_cv_lib_wavpack_WavpackOpenFileInput = yes; then
 
22741
  cat >>confdefs.h <<_ACEOF
 
22742
#define HAVE_LIBWAVPACK 1
 
22743
_ACEOF
 
22744
 
 
22745
  LIBS="-lwavpack $LIBS"
 
22746
 
 
22747
else
 
22748
  wavpack_available=no
 
22749
fi
 
22750
 
 
22751
fi
 
22752
 
 
22753
{ echo "$as_me:$LINENO: checking for Wavpack file support" >&5
 
22754
echo $ECHO_N "checking for Wavpack file support... $ECHO_C" >&6; }
 
22755
if test "x$enable_wavpack" = "xyes"; then
 
22756
    if test "x$wavpack_available" = "xno"; then
 
22757
        { echo "$as_me:$LINENO: result: no" >&5
 
22758
echo "${ECHO_T}no" >&6; }
 
22759
        enable_wavpack="no"
 
22760
        echo "***"
 
22761
        echo "*** Warning: Wavpack file support disabled"
 
22762
        echo "*** (Install libwavpack to enable it)"
 
22763
        echo "***"
 
22764
    else
 
22765
        { echo "$as_me:$LINENO: result: yes" >&5
 
22766
echo "${ECHO_T}yes" >&6; }
 
22767
 
 
22768
cat >>confdefs.h <<\_ACEOF
 
22769
#define ENABLE_WAVPACK 1
 
22770
_ACEOF
 
22771
 
 
22772
    fi
 
22773
else
 
22774
    { echo "$as_me:$LINENO: result: no" >&5
 
22775
echo "${ECHO_T}no" >&6; }
 
22776
    enable_wavpack="no"
 
22777
    echo "***"
 
22778
    echo "*** Wavpack file support disabled on commandline"
 
22779
    echo "*** (Install libwavpack, and use --enable-wavpack to enable it)"
 
22780
    echo "***"
 
22781
fi
21188
22782
 
21189
22783
if test "x$GCC" = "xyes"; then
21190
22784
  case " $CFLAGS " in
21200
22794
 
21201
22795
 
21202
22796
 
 
22797
 
21203
22798
ac_header_dirent=no
21204
22799
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
21205
22800
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
21206
 
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
21207
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
21208
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22801
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
22802
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
 
22803
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21209
22804
  echo $ECHO_N "(cached) $ECHO_C" >&6
21210
22805
else
21211
22806
  cat >conftest.$ac_ext <<_ACEOF
21227
22822
}
21228
22823
_ACEOF
21229
22824
rm -f conftest.$ac_objext
21230
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21231
 
  (eval $ac_compile) 2>conftest.er1
 
22825
if { (ac_try="$ac_compile"
 
22826
case "(($ac_try" in
 
22827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22828
  *) ac_try_echo=$ac_try;;
 
22829
esac
 
22830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22831
  (eval "$ac_compile") 2>conftest.er1
21232
22832
  ac_status=$?
21233
22833
  grep -v '^ *+' conftest.er1 >conftest.err
21234
22834
  rm -f conftest.er1
21235
22835
  cat conftest.err >&5
21236
22836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237
 
  (exit $ac_status); } &&
21238
 
         { ac_try='test -z "$ac_c_werror_flag"
21239
 
                         || test ! -s conftest.err'
21240
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241
 
  (eval $ac_try) 2>&5
21242
 
  ac_status=$?
21243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244
 
  (exit $ac_status); }; } &&
21245
 
         { ac_try='test -s conftest.$ac_objext'
21246
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247
 
  (eval $ac_try) 2>&5
21248
 
  ac_status=$?
21249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250
 
  (exit $ac_status); }; }; then
 
22837
  (exit $ac_status); } && {
 
22838
         test -z "$ac_c_werror_flag" ||
 
22839
         test ! -s conftest.err
 
22840
       } && test -s conftest.$ac_objext; then
21251
22841
  eval "$as_ac_Header=yes"
21252
22842
else
21253
22843
  echo "$as_me: failed program was:" >&5
21254
22844
sed 's/^/| /' conftest.$ac_ext >&5
21255
22845
 
21256
 
eval "$as_ac_Header=no"
21257
 
fi
21258
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21259
 
fi
21260
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21261
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22846
        eval "$as_ac_Header=no"
 
22847
fi
 
22848
 
 
22849
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22850
fi
 
22851
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22852
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22853
echo "${ECHO_T}$ac_res" >&6; }
21262
22854
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21263
22855
  cat >>confdefs.h <<_ACEOF
21264
22856
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21270
22862
done
21271
22863
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21272
22864
if test $ac_header_dirent = dirent.h; then
21273
 
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
21274
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
21275
 
if test "${ac_cv_search_opendir+set}" = set; then
21276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21277
 
else
21278
 
  ac_func_search_save_LIBS=$LIBS
21279
 
ac_cv_search_opendir=no
21280
 
cat >conftest.$ac_ext <<_ACEOF
21281
 
/* confdefs.h.  */
21282
 
_ACEOF
21283
 
cat confdefs.h >>conftest.$ac_ext
21284
 
cat >>conftest.$ac_ext <<_ACEOF
21285
 
/* end confdefs.h.  */
21286
 
 
21287
 
/* Override any gcc2 internal prototype to avoid an error.  */
21288
 
#ifdef __cplusplus
21289
 
extern "C"
21290
 
#endif
21291
 
/* We use char because int might match the return type of a gcc2
21292
 
   builtin and then its argument prototype would still apply.  */
21293
 
char opendir ();
21294
 
int
21295
 
main ()
21296
 
{
21297
 
opendir ();
21298
 
  ;
21299
 
  return 0;
21300
 
}
21301
 
_ACEOF
21302
 
rm -f conftest.$ac_objext conftest$ac_exeext
21303
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21304
 
  (eval $ac_link) 2>conftest.er1
21305
 
  ac_status=$?
21306
 
  grep -v '^ *+' conftest.er1 >conftest.err
21307
 
  rm -f conftest.er1
21308
 
  cat conftest.err >&5
21309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310
 
  (exit $ac_status); } &&
21311
 
         { ac_try='test -z "$ac_c_werror_flag"
21312
 
                         || test ! -s conftest.err'
21313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314
 
  (eval $ac_try) 2>&5
21315
 
  ac_status=$?
21316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317
 
  (exit $ac_status); }; } &&
21318
 
         { ac_try='test -s conftest$ac_exeext'
21319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21320
 
  (eval $ac_try) 2>&5
21321
 
  ac_status=$?
21322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323
 
  (exit $ac_status); }; }; then
21324
 
  ac_cv_search_opendir="none required"
21325
 
else
21326
 
  echo "$as_me: failed program was:" >&5
21327
 
sed 's/^/| /' conftest.$ac_ext >&5
21328
 
 
21329
 
fi
21330
 
rm -f conftest.err conftest.$ac_objext \
21331
 
      conftest$ac_exeext conftest.$ac_ext
21332
 
if test "$ac_cv_search_opendir" = no; then
21333
 
  for ac_lib in dir; do
21334
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21335
 
    cat >conftest.$ac_ext <<_ACEOF
21336
 
/* confdefs.h.  */
21337
 
_ACEOF
21338
 
cat confdefs.h >>conftest.$ac_ext
21339
 
cat >>conftest.$ac_ext <<_ACEOF
21340
 
/* end confdefs.h.  */
21341
 
 
21342
 
/* Override any gcc2 internal prototype to avoid an error.  */
21343
 
#ifdef __cplusplus
21344
 
extern "C"
21345
 
#endif
21346
 
/* We use char because int might match the return type of a gcc2
21347
 
   builtin and then its argument prototype would still apply.  */
21348
 
char opendir ();
21349
 
int
21350
 
main ()
21351
 
{
21352
 
opendir ();
21353
 
  ;
21354
 
  return 0;
21355
 
}
21356
 
_ACEOF
21357
 
rm -f conftest.$ac_objext conftest$ac_exeext
21358
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359
 
  (eval $ac_link) 2>conftest.er1
21360
 
  ac_status=$?
21361
 
  grep -v '^ *+' conftest.er1 >conftest.err
21362
 
  rm -f conftest.er1
21363
 
  cat conftest.err >&5
21364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365
 
  (exit $ac_status); } &&
21366
 
         { ac_try='test -z "$ac_c_werror_flag"
21367
 
                         || test ! -s conftest.err'
21368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369
 
  (eval $ac_try) 2>&5
21370
 
  ac_status=$?
21371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372
 
  (exit $ac_status); }; } &&
21373
 
         { ac_try='test -s conftest$ac_exeext'
21374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375
 
  (eval $ac_try) 2>&5
21376
 
  ac_status=$?
21377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378
 
  (exit $ac_status); }; }; then
21379
 
  ac_cv_search_opendir="-l$ac_lib"
21380
 
break
21381
 
else
21382
 
  echo "$as_me: failed program was:" >&5
21383
 
sed 's/^/| /' conftest.$ac_ext >&5
21384
 
 
21385
 
fi
21386
 
rm -f conftest.err conftest.$ac_objext \
21387
 
      conftest$ac_exeext conftest.$ac_ext
21388
 
  done
21389
 
fi
21390
 
LIBS=$ac_func_search_save_LIBS
21391
 
fi
21392
 
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21393
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6
21394
 
if test "$ac_cv_search_opendir" != no; then
21395
 
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
21396
 
 
21397
 
fi
21398
 
 
21399
 
else
21400
 
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
21401
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
21402
 
if test "${ac_cv_search_opendir+set}" = set; then
21403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21404
 
else
21405
 
  ac_func_search_save_LIBS=$LIBS
21406
 
ac_cv_search_opendir=no
21407
 
cat >conftest.$ac_ext <<_ACEOF
21408
 
/* confdefs.h.  */
21409
 
_ACEOF
21410
 
cat confdefs.h >>conftest.$ac_ext
21411
 
cat >>conftest.$ac_ext <<_ACEOF
21412
 
/* end confdefs.h.  */
21413
 
 
21414
 
/* Override any gcc2 internal prototype to avoid an error.  */
21415
 
#ifdef __cplusplus
21416
 
extern "C"
21417
 
#endif
21418
 
/* We use char because int might match the return type of a gcc2
21419
 
   builtin and then its argument prototype would still apply.  */
21420
 
char opendir ();
21421
 
int
21422
 
main ()
21423
 
{
21424
 
opendir ();
21425
 
  ;
21426
 
  return 0;
21427
 
}
21428
 
_ACEOF
21429
 
rm -f conftest.$ac_objext conftest$ac_exeext
21430
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21431
 
  (eval $ac_link) 2>conftest.er1
21432
 
  ac_status=$?
21433
 
  grep -v '^ *+' conftest.er1 >conftest.err
21434
 
  rm -f conftest.er1
21435
 
  cat conftest.err >&5
21436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437
 
  (exit $ac_status); } &&
21438
 
         { ac_try='test -z "$ac_c_werror_flag"
21439
 
                         || test ! -s conftest.err'
21440
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441
 
  (eval $ac_try) 2>&5
21442
 
  ac_status=$?
21443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444
 
  (exit $ac_status); }; } &&
21445
 
         { ac_try='test -s conftest$ac_exeext'
21446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447
 
  (eval $ac_try) 2>&5
21448
 
  ac_status=$?
21449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450
 
  (exit $ac_status); }; }; then
21451
 
  ac_cv_search_opendir="none required"
21452
 
else
21453
 
  echo "$as_me: failed program was:" >&5
21454
 
sed 's/^/| /' conftest.$ac_ext >&5
21455
 
 
21456
 
fi
21457
 
rm -f conftest.err conftest.$ac_objext \
21458
 
      conftest$ac_exeext conftest.$ac_ext
21459
 
if test "$ac_cv_search_opendir" = no; then
21460
 
  for ac_lib in x; do
21461
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21462
 
    cat >conftest.$ac_ext <<_ACEOF
21463
 
/* confdefs.h.  */
21464
 
_ACEOF
21465
 
cat confdefs.h >>conftest.$ac_ext
21466
 
cat >>conftest.$ac_ext <<_ACEOF
21467
 
/* end confdefs.h.  */
21468
 
 
21469
 
/* Override any gcc2 internal prototype to avoid an error.  */
21470
 
#ifdef __cplusplus
21471
 
extern "C"
21472
 
#endif
21473
 
/* We use char because int might match the return type of a gcc2
21474
 
   builtin and then its argument prototype would still apply.  */
21475
 
char opendir ();
21476
 
int
21477
 
main ()
21478
 
{
21479
 
opendir ();
21480
 
  ;
21481
 
  return 0;
21482
 
}
21483
 
_ACEOF
21484
 
rm -f conftest.$ac_objext conftest$ac_exeext
21485
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21486
 
  (eval $ac_link) 2>conftest.er1
21487
 
  ac_status=$?
21488
 
  grep -v '^ *+' conftest.er1 >conftest.err
21489
 
  rm -f conftest.er1
21490
 
  cat conftest.err >&5
21491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492
 
  (exit $ac_status); } &&
21493
 
         { ac_try='test -z "$ac_c_werror_flag"
21494
 
                         || test ! -s conftest.err'
21495
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496
 
  (eval $ac_try) 2>&5
21497
 
  ac_status=$?
21498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499
 
  (exit $ac_status); }; } &&
21500
 
         { ac_try='test -s conftest$ac_exeext'
21501
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21502
 
  (eval $ac_try) 2>&5
21503
 
  ac_status=$?
21504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505
 
  (exit $ac_status); }; }; then
21506
 
  ac_cv_search_opendir="-l$ac_lib"
21507
 
break
21508
 
else
21509
 
  echo "$as_me: failed program was:" >&5
21510
 
sed 's/^/| /' conftest.$ac_ext >&5
21511
 
 
21512
 
fi
21513
 
rm -f conftest.err conftest.$ac_objext \
21514
 
      conftest$ac_exeext conftest.$ac_ext
21515
 
  done
21516
 
fi
21517
 
LIBS=$ac_func_search_save_LIBS
21518
 
fi
21519
 
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21520
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6
21521
 
if test "$ac_cv_search_opendir" != no; then
21522
 
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
21523
 
 
21524
 
fi
21525
 
 
21526
 
fi
21527
 
 
21528
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21529
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
22865
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
22866
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
22867
if test "${ac_cv_search_opendir+set}" = set; then
 
22868
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22869
else
 
22870
  ac_func_search_save_LIBS=$LIBS
 
22871
cat >conftest.$ac_ext <<_ACEOF
 
22872
/* confdefs.h.  */
 
22873
_ACEOF
 
22874
cat confdefs.h >>conftest.$ac_ext
 
22875
cat >>conftest.$ac_ext <<_ACEOF
 
22876
/* end confdefs.h.  */
 
22877
 
 
22878
/* Override any GCC internal prototype to avoid an error.
 
22879
   Use char because int might match the return type of a GCC
 
22880
   builtin and then its argument prototype would still apply.  */
 
22881
#ifdef __cplusplus
 
22882
extern "C"
 
22883
#endif
 
22884
char opendir ();
 
22885
int
 
22886
main ()
 
22887
{
 
22888
return opendir ();
 
22889
  ;
 
22890
  return 0;
 
22891
}
 
22892
_ACEOF
 
22893
for ac_lib in '' dir; do
 
22894
  if test -z "$ac_lib"; then
 
22895
    ac_res="none required"
 
22896
  else
 
22897
    ac_res=-l$ac_lib
 
22898
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
22899
  fi
 
22900
  rm -f conftest.$ac_objext conftest$ac_exeext
 
22901
if { (ac_try="$ac_link"
 
22902
case "(($ac_try" in
 
22903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22904
  *) ac_try_echo=$ac_try;;
 
22905
esac
 
22906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22907
  (eval "$ac_link") 2>conftest.er1
 
22908
  ac_status=$?
 
22909
  grep -v '^ *+' conftest.er1 >conftest.err
 
22910
  rm -f conftest.er1
 
22911
  cat conftest.err >&5
 
22912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22913
  (exit $ac_status); } && {
 
22914
         test -z "$ac_c_werror_flag" ||
 
22915
         test ! -s conftest.err
 
22916
       } && test -s conftest$ac_exeext &&
 
22917
       $as_test_x conftest$ac_exeext; then
 
22918
  ac_cv_search_opendir=$ac_res
 
22919
else
 
22920
  echo "$as_me: failed program was:" >&5
 
22921
sed 's/^/| /' conftest.$ac_ext >&5
 
22922
 
 
22923
 
 
22924
fi
 
22925
 
 
22926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22927
      conftest$ac_exeext
 
22928
  if test "${ac_cv_search_opendir+set}" = set; then
 
22929
  break
 
22930
fi
 
22931
done
 
22932
if test "${ac_cv_search_opendir+set}" = set; then
 
22933
  :
 
22934
else
 
22935
  ac_cv_search_opendir=no
 
22936
fi
 
22937
rm conftest.$ac_ext
 
22938
LIBS=$ac_func_search_save_LIBS
 
22939
fi
 
22940
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
22941
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
22942
ac_res=$ac_cv_search_opendir
 
22943
if test "$ac_res" != no; then
 
22944
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
22945
 
 
22946
fi
 
22947
 
 
22948
else
 
22949
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
22950
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
22951
if test "${ac_cv_search_opendir+set}" = set; then
 
22952
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22953
else
 
22954
  ac_func_search_save_LIBS=$LIBS
 
22955
cat >conftest.$ac_ext <<_ACEOF
 
22956
/* confdefs.h.  */
 
22957
_ACEOF
 
22958
cat confdefs.h >>conftest.$ac_ext
 
22959
cat >>conftest.$ac_ext <<_ACEOF
 
22960
/* end confdefs.h.  */
 
22961
 
 
22962
/* Override any GCC internal prototype to avoid an error.
 
22963
   Use char because int might match the return type of a GCC
 
22964
   builtin and then its argument prototype would still apply.  */
 
22965
#ifdef __cplusplus
 
22966
extern "C"
 
22967
#endif
 
22968
char opendir ();
 
22969
int
 
22970
main ()
 
22971
{
 
22972
return opendir ();
 
22973
  ;
 
22974
  return 0;
 
22975
}
 
22976
_ACEOF
 
22977
for ac_lib in '' x; do
 
22978
  if test -z "$ac_lib"; then
 
22979
    ac_res="none required"
 
22980
  else
 
22981
    ac_res=-l$ac_lib
 
22982
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
22983
  fi
 
22984
  rm -f conftest.$ac_objext conftest$ac_exeext
 
22985
if { (ac_try="$ac_link"
 
22986
case "(($ac_try" in
 
22987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22988
  *) ac_try_echo=$ac_try;;
 
22989
esac
 
22990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22991
  (eval "$ac_link") 2>conftest.er1
 
22992
  ac_status=$?
 
22993
  grep -v '^ *+' conftest.er1 >conftest.err
 
22994
  rm -f conftest.er1
 
22995
  cat conftest.err >&5
 
22996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22997
  (exit $ac_status); } && {
 
22998
         test -z "$ac_c_werror_flag" ||
 
22999
         test ! -s conftest.err
 
23000
       } && test -s conftest$ac_exeext &&
 
23001
       $as_test_x conftest$ac_exeext; then
 
23002
  ac_cv_search_opendir=$ac_res
 
23003
else
 
23004
  echo "$as_me: failed program was:" >&5
 
23005
sed 's/^/| /' conftest.$ac_ext >&5
 
23006
 
 
23007
 
 
23008
fi
 
23009
 
 
23010
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23011
      conftest$ac_exeext
 
23012
  if test "${ac_cv_search_opendir+set}" = set; then
 
23013
  break
 
23014
fi
 
23015
done
 
23016
if test "${ac_cv_search_opendir+set}" = set; then
 
23017
  :
 
23018
else
 
23019
  ac_cv_search_opendir=no
 
23020
fi
 
23021
rm conftest.$ac_ext
 
23022
LIBS=$ac_func_search_save_LIBS
 
23023
fi
 
23024
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
23025
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
23026
ac_res=$ac_cv_search_opendir
 
23027
if test "$ac_res" != no; then
 
23028
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
23029
 
 
23030
fi
 
23031
 
 
23032
fi
 
23033
 
 
23034
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
23035
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21530
23036
if test "${ac_cv_header_stdc+set}" = set; then
21531
23037
  echo $ECHO_N "(cached) $ECHO_C" >&6
21532
23038
else
21550
23056
}
21551
23057
_ACEOF
21552
23058
rm -f conftest.$ac_objext
21553
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21554
 
  (eval $ac_compile) 2>conftest.er1
 
23059
if { (ac_try="$ac_compile"
 
23060
case "(($ac_try" in
 
23061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23062
  *) ac_try_echo=$ac_try;;
 
23063
esac
 
23064
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23065
  (eval "$ac_compile") 2>conftest.er1
21555
23066
  ac_status=$?
21556
23067
  grep -v '^ *+' conftest.er1 >conftest.err
21557
23068
  rm -f conftest.er1
21558
23069
  cat conftest.err >&5
21559
23070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560
 
  (exit $ac_status); } &&
21561
 
         { ac_try='test -z "$ac_c_werror_flag"
21562
 
                         || test ! -s conftest.err'
21563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21564
 
  (eval $ac_try) 2>&5
21565
 
  ac_status=$?
21566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567
 
  (exit $ac_status); }; } &&
21568
 
         { ac_try='test -s conftest.$ac_objext'
21569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570
 
  (eval $ac_try) 2>&5
21571
 
  ac_status=$?
21572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573
 
  (exit $ac_status); }; }; then
 
23071
  (exit $ac_status); } && {
 
23072
         test -z "$ac_c_werror_flag" ||
 
23073
         test ! -s conftest.err
 
23074
       } && test -s conftest.$ac_objext; then
21574
23075
  ac_cv_header_stdc=yes
21575
23076
else
21576
23077
  echo "$as_me: failed program was:" >&5
21577
23078
sed 's/^/| /' conftest.$ac_ext >&5
21578
23079
 
21579
 
ac_cv_header_stdc=no
 
23080
        ac_cv_header_stdc=no
21580
23081
fi
21581
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23082
 
 
23083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582
23084
 
21583
23085
if test $ac_cv_header_stdc = yes; then
21584
23086
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21634
23136
cat >>conftest.$ac_ext <<_ACEOF
21635
23137
/* end confdefs.h.  */
21636
23138
#include <ctype.h>
 
23139
#include <stdlib.h>
21637
23140
#if ((' ' & 0x0FF) == 0x020)
21638
23141
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21639
23142
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21653
23156
  for (i = 0; i < 256; i++)
21654
23157
    if (XOR (islower (i), ISLOWER (i))
21655
23158
        || toupper (i) != TOUPPER (i))
21656
 
      exit(2);
21657
 
  exit (0);
 
23159
      return 2;
 
23160
  return 0;
21658
23161
}
21659
23162
_ACEOF
21660
23163
rm -f conftest$ac_exeext
21661
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662
 
  (eval $ac_link) 2>&5
 
23164
if { (ac_try="$ac_link"
 
23165
case "(($ac_try" in
 
23166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23167
  *) ac_try_echo=$ac_try;;
 
23168
esac
 
23169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23170
  (eval "$ac_link") 2>&5
21663
23171
  ac_status=$?
21664
23172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665
23173
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21666
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21667
 
  (eval $ac_try) 2>&5
 
23174
  { (case "(($ac_try" in
 
23175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23176
  *) ac_try_echo=$ac_try;;
 
23177
esac
 
23178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23179
  (eval "$ac_try") 2>&5
21668
23180
  ac_status=$?
21669
23181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670
23182
  (exit $ac_status); }; }; then
21677
23189
( exit $ac_status )
21678
23190
ac_cv_header_stdc=no
21679
23191
fi
21680
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21681
 
fi
21682
 
fi
21683
 
fi
21684
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21685
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
23192
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23193
fi
 
23194
 
 
23195
 
 
23196
fi
 
23197
fi
 
23198
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
23199
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21686
23200
if test $ac_cv_header_stdc = yes; then
21687
23201
 
21688
23202
cat >>confdefs.h <<\_ACEOF
21696
23210
for ac_header in fcntl.h unistd.h
21697
23211
do
21698
23212
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21699
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21700
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21701
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21702
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23213
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23214
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23215
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23216
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21703
23217
  echo $ECHO_N "(cached) $ECHO_C" >&6
21704
23218
fi
21705
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21706
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23219
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23220
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23221
echo "${ECHO_T}$ac_res" >&6; }
21707
23222
else
21708
23223
  # Is the header compilable?
21709
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21710
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23224
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23225
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21711
23226
cat >conftest.$ac_ext <<_ACEOF
21712
23227
/* confdefs.h.  */
21713
23228
_ACEOF
21718
23233
#include <$ac_header>
21719
23234
_ACEOF
21720
23235
rm -f conftest.$ac_objext
21721
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21722
 
  (eval $ac_compile) 2>conftest.er1
 
23236
if { (ac_try="$ac_compile"
 
23237
case "(($ac_try" in
 
23238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23239
  *) ac_try_echo=$ac_try;;
 
23240
esac
 
23241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23242
  (eval "$ac_compile") 2>conftest.er1
21723
23243
  ac_status=$?
21724
23244
  grep -v '^ *+' conftest.er1 >conftest.err
21725
23245
  rm -f conftest.er1
21726
23246
  cat conftest.err >&5
21727
23247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728
 
  (exit $ac_status); } &&
21729
 
         { ac_try='test -z "$ac_c_werror_flag"
21730
 
                         || test ! -s conftest.err'
21731
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732
 
  (eval $ac_try) 2>&5
21733
 
  ac_status=$?
21734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735
 
  (exit $ac_status); }; } &&
21736
 
         { ac_try='test -s conftest.$ac_objext'
21737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738
 
  (eval $ac_try) 2>&5
21739
 
  ac_status=$?
21740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741
 
  (exit $ac_status); }; }; then
 
23248
  (exit $ac_status); } && {
 
23249
         test -z "$ac_c_werror_flag" ||
 
23250
         test ! -s conftest.err
 
23251
       } && test -s conftest.$ac_objext; then
21742
23252
  ac_header_compiler=yes
21743
23253
else
21744
23254
  echo "$as_me: failed program was:" >&5
21745
23255
sed 's/^/| /' conftest.$ac_ext >&5
21746
23256
 
21747
 
ac_header_compiler=no
 
23257
        ac_header_compiler=no
21748
23258
fi
21749
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21750
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21751
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23259
 
 
23260
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23261
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23262
echo "${ECHO_T}$ac_header_compiler" >&6; }
21752
23263
 
21753
23264
# Is the header present?
21754
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21755
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23265
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23266
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21756
23267
cat >conftest.$ac_ext <<_ACEOF
21757
23268
/* confdefs.h.  */
21758
23269
_ACEOF
21761
23272
/* end confdefs.h.  */
21762
23273
#include <$ac_header>
21763
23274
_ACEOF
21764
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21765
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23275
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23276
case "(($ac_try" in
 
23277
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23278
  *) ac_try_echo=$ac_try;;
 
23279
esac
 
23280
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23281
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21766
23282
  ac_status=$?
21767
23283
  grep -v '^ *+' conftest.er1 >conftest.err
21768
23284
  rm -f conftest.er1
21769
23285
  cat conftest.err >&5
21770
23286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771
 
  (exit $ac_status); } >/dev/null; then
21772
 
  if test -s conftest.err; then
21773
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21774
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21775
 
  else
21776
 
    ac_cpp_err=
21777
 
  fi
21778
 
else
21779
 
  ac_cpp_err=yes
21780
 
fi
21781
 
if test -z "$ac_cpp_err"; then
 
23287
  (exit $ac_status); } >/dev/null && {
 
23288
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23289
         test ! -s conftest.err
 
23290
       }; then
21782
23291
  ac_header_preproc=yes
21783
23292
else
21784
23293
  echo "$as_me: failed program was:" >&5
21786
23295
 
21787
23296
  ac_header_preproc=no
21788
23297
fi
 
23298
 
21789
23299
rm -f conftest.err conftest.$ac_ext
21790
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21791
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23300
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23301
echo "${ECHO_T}$ac_header_preproc" >&6; }
21792
23302
 
21793
23303
# So?  What about this header?
21794
23304
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21812
23322
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21813
23323
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21814
23324
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21815
 
    (
21816
 
      cat <<\_ASBOX
21817
 
## ---------------------------------- ##
21818
 
## Report this to the easytag lists.  ##
21819
 
## ---------------------------------- ##
21820
 
_ASBOX
21821
 
    ) |
21822
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23325
 
21823
23326
    ;;
21824
23327
esac
21825
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21826
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21827
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23328
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23329
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23330
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21828
23331
  echo $ECHO_N "(cached) $ECHO_C" >&6
21829
23332
else
21830
23333
  eval "$as_ac_Header=\$ac_header_preproc"
21831
23334
fi
21832
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21833
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23335
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23336
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23337
echo "${ECHO_T}$ac_res" >&6; }
21834
23338
 
21835
23339
fi
21836
23340
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21844
23348
 
21845
23349
 
21846
23350
 
21847
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21848
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
23351
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
23352
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21849
23353
if test "${ac_cv_c_const+set}" = set; then
21850
23354
  echo $ECHO_N "(cached) $ECHO_C" >&6
21851
23355
else
21863
23367
#ifndef __cplusplus
21864
23368
  /* Ultrix mips cc rejects this.  */
21865
23369
  typedef int charset[2];
21866
 
  const charset x;
 
23370
  const charset cs;
21867
23371
  /* SunOS 4.1.1 cc rejects this.  */
21868
 
  char const *const *ccp;
21869
 
  char **p;
 
23372
  char const *const *pcpcc;
 
23373
  char **ppc;
21870
23374
  /* NEC SVR4.0.2 mips cc rejects this.  */
21871
23375
  struct point {int x, y;};
21872
23376
  static struct point const zero = {0,0};
21875
23379
     an arm of an if-expression whose if-part is not a constant
21876
23380
     expression */
21877
23381
  const char *g = "string";
21878
 
  ccp = &g + (g ? g-g : 0);
 
23382
  pcpcc = &g + (g ? g-g : 0);
21879
23383
  /* HPUX 7.0 cc rejects these. */
21880
 
  ++ccp;
21881
 
  p = (char**) ccp;
21882
 
  ccp = (char const *const *) p;
 
23384
  ++pcpcc;
 
23385
  ppc = (char**) pcpcc;
 
23386
  pcpcc = (char const *const *) ppc;
21883
23387
  { /* SCO 3.2v4 cc rejects this.  */
21884
23388
    char *t;
21885
23389
    char const *s = 0 ? (char *) 0 : (char const *) 0;
21886
23390
 
21887
23391
    *t++ = 0;
 
23392
    if (s) return 0;
21888
23393
  }
21889
23394
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
21890
23395
    int x[] = {25, 17};
21903
23408
  }
21904
23409
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21905
23410
    const int foo = 10;
 
23411
    if (!foo) return 0;
21906
23412
  }
 
23413
  return !cs[0] && !zero.x;
21907
23414
#endif
21908
23415
 
21909
23416
  ;
21911
23418
}
21912
23419
_ACEOF
21913
23420
rm -f conftest.$ac_objext
21914
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21915
 
  (eval $ac_compile) 2>conftest.er1
 
23421
if { (ac_try="$ac_compile"
 
23422
case "(($ac_try" in
 
23423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23424
  *) ac_try_echo=$ac_try;;
 
23425
esac
 
23426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23427
  (eval "$ac_compile") 2>conftest.er1
21916
23428
  ac_status=$?
21917
23429
  grep -v '^ *+' conftest.er1 >conftest.err
21918
23430
  rm -f conftest.er1
21919
23431
  cat conftest.err >&5
21920
23432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921
 
  (exit $ac_status); } &&
21922
 
         { ac_try='test -z "$ac_c_werror_flag"
21923
 
                         || test ! -s conftest.err'
21924
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925
 
  (eval $ac_try) 2>&5
21926
 
  ac_status=$?
21927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928
 
  (exit $ac_status); }; } &&
21929
 
         { ac_try='test -s conftest.$ac_objext'
21930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21931
 
  (eval $ac_try) 2>&5
21932
 
  ac_status=$?
21933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934
 
  (exit $ac_status); }; }; then
 
23433
  (exit $ac_status); } && {
 
23434
         test -z "$ac_c_werror_flag" ||
 
23435
         test ! -s conftest.err
 
23436
       } && test -s conftest.$ac_objext; then
21935
23437
  ac_cv_c_const=yes
21936
23438
else
21937
23439
  echo "$as_me: failed program was:" >&5
21938
23440
sed 's/^/| /' conftest.$ac_ext >&5
21939
23441
 
21940
 
ac_cv_c_const=no
21941
 
fi
21942
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21943
 
fi
21944
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21945
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
23442
        ac_cv_c_const=no
 
23443
fi
 
23444
 
 
23445
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23446
fi
 
23447
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
23448
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21946
23449
if test $ac_cv_c_const = no; then
21947
23450
 
21948
23451
cat >>confdefs.h <<\_ACEOF
21951
23454
 
21952
23455
fi
21953
23456
 
21954
 
echo "$as_me:$LINENO: checking for mode_t" >&5
21955
 
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
 
23457
{ echo "$as_me:$LINENO: checking for mode_t" >&5
 
23458
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
21956
23459
if test "${ac_cv_type_mode_t+set}" = set; then
21957
23460
  echo $ECHO_N "(cached) $ECHO_C" >&6
21958
23461
else
21963
23466
cat >>conftest.$ac_ext <<_ACEOF
21964
23467
/* end confdefs.h.  */
21965
23468
$ac_includes_default
 
23469
typedef mode_t ac__type_new_;
21966
23470
int
21967
23471
main ()
21968
23472
{
21969
 
if ((mode_t *) 0)
 
23473
if ((ac__type_new_ *) 0)
21970
23474
  return 0;
21971
 
if (sizeof (mode_t))
 
23475
if (sizeof (ac__type_new_))
21972
23476
  return 0;
21973
23477
  ;
21974
23478
  return 0;
21975
23479
}
21976
23480
_ACEOF
21977
23481
rm -f conftest.$ac_objext
21978
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21979
 
  (eval $ac_compile) 2>conftest.er1
 
23482
if { (ac_try="$ac_compile"
 
23483
case "(($ac_try" in
 
23484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23485
  *) ac_try_echo=$ac_try;;
 
23486
esac
 
23487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23488
  (eval "$ac_compile") 2>conftest.er1
21980
23489
  ac_status=$?
21981
23490
  grep -v '^ *+' conftest.er1 >conftest.err
21982
23491
  rm -f conftest.er1
21983
23492
  cat conftest.err >&5
21984
23493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985
 
  (exit $ac_status); } &&
21986
 
         { ac_try='test -z "$ac_c_werror_flag"
21987
 
                         || test ! -s conftest.err'
21988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989
 
  (eval $ac_try) 2>&5
21990
 
  ac_status=$?
21991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992
 
  (exit $ac_status); }; } &&
21993
 
         { ac_try='test -s conftest.$ac_objext'
21994
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995
 
  (eval $ac_try) 2>&5
21996
 
  ac_status=$?
21997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998
 
  (exit $ac_status); }; }; then
 
23494
  (exit $ac_status); } && {
 
23495
         test -z "$ac_c_werror_flag" ||
 
23496
         test ! -s conftest.err
 
23497
       } && test -s conftest.$ac_objext; then
21999
23498
  ac_cv_type_mode_t=yes
22000
23499
else
22001
23500
  echo "$as_me: failed program was:" >&5
22002
23501
sed 's/^/| /' conftest.$ac_ext >&5
22003
23502
 
22004
 
ac_cv_type_mode_t=no
22005
 
fi
22006
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22007
 
fi
22008
 
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
22009
 
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
 
23503
        ac_cv_type_mode_t=no
 
23504
fi
 
23505
 
 
23506
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23507
fi
 
23508
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
 
23509
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
22010
23510
if test $ac_cv_type_mode_t = yes; then
22011
23511
  :
22012
23512
else
22017
23517
 
22018
23518
fi
22019
23519
 
22020
 
echo "$as_me:$LINENO: checking for pid_t" >&5
22021
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 
23520
{ echo "$as_me:$LINENO: checking for pid_t" >&5
 
23521
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
22022
23522
if test "${ac_cv_type_pid_t+set}" = set; then
22023
23523
  echo $ECHO_N "(cached) $ECHO_C" >&6
22024
23524
else
22029
23529
cat >>conftest.$ac_ext <<_ACEOF
22030
23530
/* end confdefs.h.  */
22031
23531
$ac_includes_default
 
23532
typedef pid_t ac__type_new_;
22032
23533
int
22033
23534
main ()
22034
23535
{
22035
 
if ((pid_t *) 0)
 
23536
if ((ac__type_new_ *) 0)
22036
23537
  return 0;
22037
 
if (sizeof (pid_t))
 
23538
if (sizeof (ac__type_new_))
22038
23539
  return 0;
22039
23540
  ;
22040
23541
  return 0;
22041
23542
}
22042
23543
_ACEOF
22043
23544
rm -f conftest.$ac_objext
22044
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22045
 
  (eval $ac_compile) 2>conftest.er1
 
23545
if { (ac_try="$ac_compile"
 
23546
case "(($ac_try" in
 
23547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23548
  *) ac_try_echo=$ac_try;;
 
23549
esac
 
23550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23551
  (eval "$ac_compile") 2>conftest.er1
22046
23552
  ac_status=$?
22047
23553
  grep -v '^ *+' conftest.er1 >conftest.err
22048
23554
  rm -f conftest.er1
22049
23555
  cat conftest.err >&5
22050
23556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051
 
  (exit $ac_status); } &&
22052
 
         { ac_try='test -z "$ac_c_werror_flag"
22053
 
                         || test ! -s conftest.err'
22054
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055
 
  (eval $ac_try) 2>&5
22056
 
  ac_status=$?
22057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058
 
  (exit $ac_status); }; } &&
22059
 
         { ac_try='test -s conftest.$ac_objext'
22060
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061
 
  (eval $ac_try) 2>&5
22062
 
  ac_status=$?
22063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064
 
  (exit $ac_status); }; }; then
 
23557
  (exit $ac_status); } && {
 
23558
         test -z "$ac_c_werror_flag" ||
 
23559
         test ! -s conftest.err
 
23560
       } && test -s conftest.$ac_objext; then
22065
23561
  ac_cv_type_pid_t=yes
22066
23562
else
22067
23563
  echo "$as_me: failed program was:" >&5
22068
23564
sed 's/^/| /' conftest.$ac_ext >&5
22069
23565
 
22070
 
ac_cv_type_pid_t=no
22071
 
fi
22072
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22073
 
fi
22074
 
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22075
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
 
23566
        ac_cv_type_pid_t=no
 
23567
fi
 
23568
 
 
23569
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23570
fi
 
23571
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
23572
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
22076
23573
if test $ac_cv_type_pid_t = yes; then
22077
23574
  :
22078
23575
else
22083
23580
 
22084
23581
fi
22085
23582
 
22086
 
echo "$as_me:$LINENO: checking for size_t" >&5
22087
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
23583
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
23584
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22088
23585
if test "${ac_cv_type_size_t+set}" = set; then
22089
23586
  echo $ECHO_N "(cached) $ECHO_C" >&6
22090
23587
else
22095
23592
cat >>conftest.$ac_ext <<_ACEOF
22096
23593
/* end confdefs.h.  */
22097
23594
$ac_includes_default
 
23595
typedef size_t ac__type_new_;
22098
23596
int
22099
23597
main ()
22100
23598
{
22101
 
if ((size_t *) 0)
 
23599
if ((ac__type_new_ *) 0)
22102
23600
  return 0;
22103
 
if (sizeof (size_t))
 
23601
if (sizeof (ac__type_new_))
22104
23602
  return 0;
22105
23603
  ;
22106
23604
  return 0;
22107
23605
}
22108
23606
_ACEOF
22109
23607
rm -f conftest.$ac_objext
22110
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22111
 
  (eval $ac_compile) 2>conftest.er1
 
23608
if { (ac_try="$ac_compile"
 
23609
case "(($ac_try" in
 
23610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23611
  *) ac_try_echo=$ac_try;;
 
23612
esac
 
23613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23614
  (eval "$ac_compile") 2>conftest.er1
22112
23615
  ac_status=$?
22113
23616
  grep -v '^ *+' conftest.er1 >conftest.err
22114
23617
  rm -f conftest.er1
22115
23618
  cat conftest.err >&5
22116
23619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117
 
  (exit $ac_status); } &&
22118
 
         { ac_try='test -z "$ac_c_werror_flag"
22119
 
                         || test ! -s conftest.err'
22120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121
 
  (eval $ac_try) 2>&5
22122
 
  ac_status=$?
22123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124
 
  (exit $ac_status); }; } &&
22125
 
         { ac_try='test -s conftest.$ac_objext'
22126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127
 
  (eval $ac_try) 2>&5
22128
 
  ac_status=$?
22129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130
 
  (exit $ac_status); }; }; then
 
23620
  (exit $ac_status); } && {
 
23621
         test -z "$ac_c_werror_flag" ||
 
23622
         test ! -s conftest.err
 
23623
       } && test -s conftest.$ac_objext; then
22131
23624
  ac_cv_type_size_t=yes
22132
23625
else
22133
23626
  echo "$as_me: failed program was:" >&5
22134
23627
sed 's/^/| /' conftest.$ac_ext >&5
22135
23628
 
22136
 
ac_cv_type_size_t=no
22137
 
fi
22138
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22139
 
fi
22140
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22141
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
23629
        ac_cv_type_size_t=no
 
23630
fi
 
23631
 
 
23632
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23633
fi
 
23634
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
23635
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22142
23636
if test $ac_cv_type_size_t = yes; then
22143
23637
  :
22144
23638
else
22145
23639
 
22146
23640
cat >>confdefs.h <<_ACEOF
22147
 
#define size_t unsigned
 
23641
#define size_t unsigned int
22148
23642
_ACEOF
22149
23643
 
22150
23644
fi
22151
23645
 
22152
 
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22153
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
 
23646
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
23647
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
22154
23648
if test "${ac_cv_struct_tm+set}" = set; then
22155
23649
  echo $ECHO_N "(cached) $ECHO_C" >&6
22156
23650
else
22166
23660
int
22167
23661
main ()
22168
23662
{
22169
 
struct tm *tp; tp->tm_sec;
 
23663
struct tm tm;
 
23664
                                     int *p = &tm.tm_sec;
 
23665
                                     return !p;
22170
23666
  ;
22171
23667
  return 0;
22172
23668
}
22173
23669
_ACEOF
22174
23670
rm -f conftest.$ac_objext
22175
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22176
 
  (eval $ac_compile) 2>conftest.er1
 
23671
if { (ac_try="$ac_compile"
 
23672
case "(($ac_try" in
 
23673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23674
  *) ac_try_echo=$ac_try;;
 
23675
esac
 
23676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23677
  (eval "$ac_compile") 2>conftest.er1
22177
23678
  ac_status=$?
22178
23679
  grep -v '^ *+' conftest.er1 >conftest.err
22179
23680
  rm -f conftest.er1
22180
23681
  cat conftest.err >&5
22181
23682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182
 
  (exit $ac_status); } &&
22183
 
         { ac_try='test -z "$ac_c_werror_flag"
22184
 
                         || test ! -s conftest.err'
22185
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22186
 
  (eval $ac_try) 2>&5
22187
 
  ac_status=$?
22188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189
 
  (exit $ac_status); }; } &&
22190
 
         { ac_try='test -s conftest.$ac_objext'
22191
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22192
 
  (eval $ac_try) 2>&5
22193
 
  ac_status=$?
22194
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195
 
  (exit $ac_status); }; }; then
 
23683
  (exit $ac_status); } && {
 
23684
         test -z "$ac_c_werror_flag" ||
 
23685
         test ! -s conftest.err
 
23686
       } && test -s conftest.$ac_objext; then
22196
23687
  ac_cv_struct_tm=time.h
22197
23688
else
22198
23689
  echo "$as_me: failed program was:" >&5
22199
23690
sed 's/^/| /' conftest.$ac_ext >&5
22200
23691
 
22201
 
ac_cv_struct_tm=sys/time.h
22202
 
fi
22203
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22204
 
fi
22205
 
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22206
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6
 
23692
        ac_cv_struct_tm=sys/time.h
 
23693
fi
 
23694
 
 
23695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23696
fi
 
23697
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
23698
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
22207
23699
if test $ac_cv_struct_tm = sys/time.h; then
22208
23700
 
22209
23701
cat >>confdefs.h <<\_ACEOF
22215
23707
 
22216
23708
 
22217
23709
 
22218
 
 
22219
 
for ac_header in unistd.h vfork.h
 
23710
for ac_header in vfork.h
22220
23711
do
22221
23712
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22222
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22223
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22224
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22225
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23713
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23714
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23715
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23716
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22226
23717
  echo $ECHO_N "(cached) $ECHO_C" >&6
22227
23718
fi
22228
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22229
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23719
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23720
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23721
echo "${ECHO_T}$ac_res" >&6; }
22230
23722
else
22231
23723
  # Is the header compilable?
22232
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22233
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23724
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23725
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22234
23726
cat >conftest.$ac_ext <<_ACEOF
22235
23727
/* confdefs.h.  */
22236
23728
_ACEOF
22241
23733
#include <$ac_header>
22242
23734
_ACEOF
22243
23735
rm -f conftest.$ac_objext
22244
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22245
 
  (eval $ac_compile) 2>conftest.er1
 
23736
if { (ac_try="$ac_compile"
 
23737
case "(($ac_try" in
 
23738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23739
  *) ac_try_echo=$ac_try;;
 
23740
esac
 
23741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23742
  (eval "$ac_compile") 2>conftest.er1
22246
23743
  ac_status=$?
22247
23744
  grep -v '^ *+' conftest.er1 >conftest.err
22248
23745
  rm -f conftest.er1
22249
23746
  cat conftest.err >&5
22250
23747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251
 
  (exit $ac_status); } &&
22252
 
         { ac_try='test -z "$ac_c_werror_flag"
22253
 
                         || test ! -s conftest.err'
22254
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255
 
  (eval $ac_try) 2>&5
22256
 
  ac_status=$?
22257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258
 
  (exit $ac_status); }; } &&
22259
 
         { ac_try='test -s conftest.$ac_objext'
22260
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261
 
  (eval $ac_try) 2>&5
22262
 
  ac_status=$?
22263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264
 
  (exit $ac_status); }; }; then
 
23748
  (exit $ac_status); } && {
 
23749
         test -z "$ac_c_werror_flag" ||
 
23750
         test ! -s conftest.err
 
23751
       } && test -s conftest.$ac_objext; then
22265
23752
  ac_header_compiler=yes
22266
23753
else
22267
23754
  echo "$as_me: failed program was:" >&5
22268
23755
sed 's/^/| /' conftest.$ac_ext >&5
22269
23756
 
22270
 
ac_header_compiler=no
 
23757
        ac_header_compiler=no
22271
23758
fi
22272
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22273
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22274
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23759
 
 
23760
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23761
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23762
echo "${ECHO_T}$ac_header_compiler" >&6; }
22275
23763
 
22276
23764
# Is the header present?
22277
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22278
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23765
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23766
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22279
23767
cat >conftest.$ac_ext <<_ACEOF
22280
23768
/* confdefs.h.  */
22281
23769
_ACEOF
22284
23772
/* end confdefs.h.  */
22285
23773
#include <$ac_header>
22286
23774
_ACEOF
22287
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22288
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23775
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23776
case "(($ac_try" in
 
23777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23778
  *) ac_try_echo=$ac_try;;
 
23779
esac
 
23780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23781
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22289
23782
  ac_status=$?
22290
23783
  grep -v '^ *+' conftest.er1 >conftest.err
22291
23784
  rm -f conftest.er1
22292
23785
  cat conftest.err >&5
22293
23786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294
 
  (exit $ac_status); } >/dev/null; then
22295
 
  if test -s conftest.err; then
22296
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22297
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22298
 
  else
22299
 
    ac_cpp_err=
22300
 
  fi
22301
 
else
22302
 
  ac_cpp_err=yes
22303
 
fi
22304
 
if test -z "$ac_cpp_err"; then
 
23787
  (exit $ac_status); } >/dev/null && {
 
23788
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23789
         test ! -s conftest.err
 
23790
       }; then
22305
23791
  ac_header_preproc=yes
22306
23792
else
22307
23793
  echo "$as_me: failed program was:" >&5
22309
23795
 
22310
23796
  ac_header_preproc=no
22311
23797
fi
 
23798
 
22312
23799
rm -f conftest.err conftest.$ac_ext
22313
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22314
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23800
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23801
echo "${ECHO_T}$ac_header_preproc" >&6; }
22315
23802
 
22316
23803
# So?  What about this header?
22317
23804
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22335
23822
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22336
23823
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22337
23824
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22338
 
    (
22339
 
      cat <<\_ASBOX
22340
 
## ---------------------------------- ##
22341
 
## Report this to the easytag lists.  ##
22342
 
## ---------------------------------- ##
22343
 
_ASBOX
22344
 
    ) |
22345
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23825
 
22346
23826
    ;;
22347
23827
esac
22348
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22349
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22350
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23828
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23829
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23830
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22351
23831
  echo $ECHO_N "(cached) $ECHO_C" >&6
22352
23832
else
22353
23833
  eval "$as_ac_Header=\$ac_header_preproc"
22354
23834
fi
22355
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22356
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23835
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23836
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23837
echo "${ECHO_T}$ac_res" >&6; }
22357
23838
 
22358
23839
fi
22359
23840
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22370
23851
for ac_func in fork vfork
22371
23852
do
22372
23853
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22373
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22374
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22375
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23854
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23855
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23856
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22376
23857
  echo $ECHO_N "(cached) $ECHO_C" >&6
22377
23858
else
22378
23859
  cat >conftest.$ac_ext <<_ACEOF
22398
23879
 
22399
23880
#undef $ac_func
22400
23881
 
22401
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23882
/* Override any GCC internal prototype to avoid an error.
 
23883
   Use char because int might match the return type of a GCC
 
23884
   builtin and then its argument prototype would still apply.  */
22402
23885
#ifdef __cplusplus
22403
23886
extern "C"
22404
 
{
22405
23887
#endif
22406
 
/* We use char because int might match the return type of a gcc2
22407
 
   builtin and then its argument prototype would still apply.  */
22408
23888
char $ac_func ();
22409
23889
/* The GNU C library defines this for functions which it implements
22410
23890
    to always fail with ENOSYS.  Some functions are actually named
22411
23891
    something starting with __ and the normal name is an alias.  */
22412
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23892
#if defined __stub_$ac_func || defined __stub___$ac_func
22413
23893
choke me
22414
 
#else
22415
 
char (*f) () = $ac_func;
22416
 
#endif
22417
 
#ifdef __cplusplus
22418
 
}
22419
23894
#endif
22420
23895
 
22421
23896
int
22422
23897
main ()
22423
23898
{
22424
 
return f != $ac_func;
 
23899
return $ac_func ();
22425
23900
  ;
22426
23901
  return 0;
22427
23902
}
22428
23903
_ACEOF
22429
23904
rm -f conftest.$ac_objext conftest$ac_exeext
22430
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22431
 
  (eval $ac_link) 2>conftest.er1
 
23905
if { (ac_try="$ac_link"
 
23906
case "(($ac_try" in
 
23907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23908
  *) ac_try_echo=$ac_try;;
 
23909
esac
 
23910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23911
  (eval "$ac_link") 2>conftest.er1
22432
23912
  ac_status=$?
22433
23913
  grep -v '^ *+' conftest.er1 >conftest.err
22434
23914
  rm -f conftest.er1
22435
23915
  cat conftest.err >&5
22436
23916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437
 
  (exit $ac_status); } &&
22438
 
         { ac_try='test -z "$ac_c_werror_flag"
22439
 
                         || test ! -s conftest.err'
22440
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441
 
  (eval $ac_try) 2>&5
22442
 
  ac_status=$?
22443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444
 
  (exit $ac_status); }; } &&
22445
 
         { ac_try='test -s conftest$ac_exeext'
22446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22447
 
  (eval $ac_try) 2>&5
22448
 
  ac_status=$?
22449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450
 
  (exit $ac_status); }; }; then
 
23917
  (exit $ac_status); } && {
 
23918
         test -z "$ac_c_werror_flag" ||
 
23919
         test ! -s conftest.err
 
23920
       } && test -s conftest$ac_exeext &&
 
23921
       $as_test_x conftest$ac_exeext; then
22451
23922
  eval "$as_ac_var=yes"
22452
23923
else
22453
23924
  echo "$as_me: failed program was:" >&5
22454
23925
sed 's/^/| /' conftest.$ac_ext >&5
22455
23926
 
22456
 
eval "$as_ac_var=no"
 
23927
        eval "$as_ac_var=no"
22457
23928
fi
22458
 
rm -f conftest.err conftest.$ac_objext \
 
23929
 
 
23930
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22459
23931
      conftest$ac_exeext conftest.$ac_ext
22460
23932
fi
22461
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22462
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23933
ac_res=`eval echo '${'$as_ac_var'}'`
 
23934
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23935
echo "${ECHO_T}$ac_res" >&6; }
22463
23936
if test `eval echo '${'$as_ac_var'}'` = yes; then
22464
23937
  cat >>confdefs.h <<_ACEOF
22465
23938
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22469
23942
done
22470
23943
 
22471
23944
if test "x$ac_cv_func_fork" = xyes; then
22472
 
  echo "$as_me:$LINENO: checking for working fork" >&5
22473
 
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
 
23945
  { echo "$as_me:$LINENO: checking for working fork" >&5
 
23946
echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
22474
23947
if test "${ac_cv_func_fork_works+set}" = set; then
22475
23948
  echo $ECHO_N "(cached) $ECHO_C" >&6
22476
23949
else
22478
23951
  ac_cv_func_fork_works=cross
22479
23952
else
22480
23953
  cat >conftest.$ac_ext <<_ACEOF
22481
 
/* By Ruediger Kuhlmann. */
22482
 
      #include <sys/types.h>
22483
 
      #if HAVE_UNISTD_H
22484
 
      # include <unistd.h>
22485
 
      #endif
22486
 
      /* Some systems only have a dummy stub for fork() */
22487
 
      int main ()
22488
 
      {
22489
 
        if (fork() < 0)
22490
 
          exit (1);
22491
 
        exit (0);
22492
 
      }
 
23954
/* confdefs.h.  */
 
23955
_ACEOF
 
23956
cat confdefs.h >>conftest.$ac_ext
 
23957
cat >>conftest.$ac_ext <<_ACEOF
 
23958
/* end confdefs.h.  */
 
23959
$ac_includes_default
 
23960
int
 
23961
main ()
 
23962
{
 
23963
 
 
23964
          /* By Ruediger Kuhlmann. */
 
23965
          return fork () < 0;
 
23966
 
 
23967
  ;
 
23968
  return 0;
 
23969
}
22493
23970
_ACEOF
22494
23971
rm -f conftest$ac_exeext
22495
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22496
 
  (eval $ac_link) 2>&5
 
23972
if { (ac_try="$ac_link"
 
23973
case "(($ac_try" in
 
23974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23975
  *) ac_try_echo=$ac_try;;
 
23976
esac
 
23977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23978
  (eval "$ac_link") 2>&5
22497
23979
  ac_status=$?
22498
23980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499
23981
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501
 
  (eval $ac_try) 2>&5
 
23982
  { (case "(($ac_try" in
 
23983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23984
  *) ac_try_echo=$ac_try;;
 
23985
esac
 
23986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23987
  (eval "$ac_try") 2>&5
22502
23988
  ac_status=$?
22503
23989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504
23990
  (exit $ac_status); }; }; then
22511
23997
( exit $ac_status )
22512
23998
ac_cv_func_fork_works=no
22513
23999
fi
22514
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22515
 
fi
22516
 
fi
22517
 
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
22518
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
 
24000
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24001
fi
 
24002
 
 
24003
 
 
24004
fi
 
24005
{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
24006
echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
22519
24007
 
22520
24008
else
22521
24009
  ac_cv_func_fork_works=$ac_cv_func_fork
22535
24023
fi
22536
24024
ac_cv_func_vfork_works=$ac_cv_func_vfork
22537
24025
if test "x$ac_cv_func_vfork" = xyes; then
22538
 
  echo "$as_me:$LINENO: checking for working vfork" >&5
22539
 
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
 
24026
  { echo "$as_me:$LINENO: checking for working vfork" >&5
 
24027
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
22540
24028
if test "${ac_cv_func_vfork_works+set}" = set; then
22541
24029
  echo $ECHO_N "(cached) $ECHO_C" >&6
22542
24030
else
22550
24038
cat >>conftest.$ac_ext <<_ACEOF
22551
24039
/* end confdefs.h.  */
22552
24040
/* Thanks to Paul Eggert for this test.  */
22553
 
#include <stdio.h>
22554
 
#include <stdlib.h>
22555
 
#include <sys/types.h>
22556
 
#include <sys/stat.h>
 
24041
$ac_includes_default
22557
24042
#include <sys/wait.h>
22558
 
#if HAVE_UNISTD_H
22559
 
# include <unistd.h>
22560
 
#endif
22561
 
#if HAVE_VFORK_H
 
24043
#ifdef HAVE_VFORK_H
22562
24044
# include <vfork.h>
22563
24045
#endif
22564
24046
/* On some sparc systems, changes by the child to local and incoming
22629
24111
 
22630
24112
    while (wait(&status) != child)
22631
24113
      ;
22632
 
    exit(
 
24114
    return (
22633
24115
         /* Was there some problem with vforking?  */
22634
24116
         child < 0
22635
24117
 
22646
24128
}
22647
24129
_ACEOF
22648
24130
rm -f conftest$ac_exeext
22649
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22650
 
  (eval $ac_link) 2>&5
 
24131
if { (ac_try="$ac_link"
 
24132
case "(($ac_try" in
 
24133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24134
  *) ac_try_echo=$ac_try;;
 
24135
esac
 
24136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24137
  (eval "$ac_link") 2>&5
22651
24138
  ac_status=$?
22652
24139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653
24140
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22654
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22655
 
  (eval $ac_try) 2>&5
 
24141
  { (case "(($ac_try" in
 
24142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24143
  *) ac_try_echo=$ac_try;;
 
24144
esac
 
24145
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24146
  (eval "$ac_try") 2>&5
22656
24147
  ac_status=$?
22657
24148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658
24149
  (exit $ac_status); }; }; then
22665
24156
( exit $ac_status )
22666
24157
ac_cv_func_vfork_works=no
22667
24158
fi
22668
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22669
 
fi
22670
 
fi
22671
 
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
22672
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
 
24159
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24160
fi
 
24161
 
 
24162
 
 
24163
fi
 
24164
{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
24165
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
22673
24166
 
22674
24167
fi;
22675
24168
if test "x$ac_cv_func_fork_works" = xcross; then
22699
24192
 
22700
24193
fi
22701
24194
 
22702
 
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22703
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
 
24195
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
 
24196
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22704
24197
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22705
24198
  echo $ECHO_N "(cached) $ECHO_C" >&6
22706
24199
else
22724
24217
     /* Linux will dereference the symlink and fail.
22725
24218
        That is better in the sense that it means we will not
22726
24219
        have to compile and use the lstat wrapper.  */
22727
 
     exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
 
24220
     return lstat ("conftest.sym/", &sbuf) == 0;
22728
24221
  ;
22729
24222
  return 0;
22730
24223
}
22731
24224
_ACEOF
22732
24225
rm -f conftest$ac_exeext
22733
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22734
 
  (eval $ac_link) 2>&5
 
24226
if { (ac_try="$ac_link"
 
24227
case "(($ac_try" in
 
24228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24229
  *) ac_try_echo=$ac_try;;
 
24230
esac
 
24231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24232
  (eval "$ac_link") 2>&5
22735
24233
  ac_status=$?
22736
24234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737
24235
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739
 
  (eval $ac_try) 2>&5
 
24236
  { (case "(($ac_try" in
 
24237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24238
  *) ac_try_echo=$ac_try;;
 
24239
esac
 
24240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24241
  (eval "$ac_try") 2>&5
22740
24242
  ac_status=$?
22741
24243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742
24244
  (exit $ac_status); }; }; then
22749
24251
( exit $ac_status )
22750
24252
ac_cv_func_lstat_dereferences_slashed_symlink=no
22751
24253
fi
22752
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24254
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22753
24255
fi
 
24256
 
 
24257
 
22754
24258
else
22755
24259
  # If the `ln -s' command failed, then we probably don't even
22756
24260
  # have an lstat function.
22759
24263
rm -f conftest.sym conftest.file
22760
24264
 
22761
24265
fi
22762
 
echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22763
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
 
24266
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
 
24267
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22764
24268
 
22765
24269
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22766
24270
 
22770
24274
 
22771
24275
 
22772
24276
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22773
 
  case $LIBOBJS in
22774
 
    "lstat.$ac_objext"   | \
22775
 
  *" lstat.$ac_objext"   | \
22776
 
    "lstat.$ac_objext "* | \
 
24277
  case " $LIBOBJS " in
22777
24278
  *" lstat.$ac_objext "* ) ;;
22778
 
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;;
 
24279
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
 
24280
 ;;
22779
24281
esac
22780
24282
 
22781
24283
fi
22782
24284
 
22783
 
echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22784
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
 
24285
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
 
24286
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22785
24287
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22786
24288
  echo $ECHO_N "(cached) $ECHO_C" >&6
22787
24289
else
22799
24301
main ()
22800
24302
{
22801
24303
struct stat sbuf;
22802
 
  exit (stat ("", &sbuf) ? 1 : 0);
 
24304
  return stat ("", &sbuf) == 0;
22803
24305
  ;
22804
24306
  return 0;
22805
24307
}
22806
24308
_ACEOF
22807
24309
rm -f conftest$ac_exeext
22808
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22809
 
  (eval $ac_link) 2>&5
 
24310
if { (ac_try="$ac_link"
 
24311
case "(($ac_try" in
 
24312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24313
  *) ac_try_echo=$ac_try;;
 
24314
esac
 
24315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24316
  (eval "$ac_link") 2>&5
22810
24317
  ac_status=$?
22811
24318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812
24319
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22814
 
  (eval $ac_try) 2>&5
 
24320
  { (case "(($ac_try" in
 
24321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24322
  *) ac_try_echo=$ac_try;;
 
24323
esac
 
24324
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24325
  (eval "$ac_try") 2>&5
22815
24326
  ac_status=$?
22816
24327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817
24328
  (exit $ac_status); }; }; then
22818
 
  ac_cv_func_stat_empty_string_bug=yes
 
24329
  ac_cv_func_stat_empty_string_bug=no
22819
24330
else
22820
24331
  echo "$as_me: program exited with status $ac_status" >&5
22821
24332
echo "$as_me: failed program was:" >&5
22822
24333
sed 's/^/| /' conftest.$ac_ext >&5
22823
24334
 
22824
24335
( exit $ac_status )
22825
 
ac_cv_func_stat_empty_string_bug=no
22826
 
fi
22827
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22828
 
fi
22829
 
fi
22830
 
echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22831
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
 
24336
ac_cv_func_stat_empty_string_bug=yes
 
24337
fi
 
24338
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24339
fi
 
24340
 
 
24341
 
 
24342
fi
 
24343
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
 
24344
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
22832
24345
if test $ac_cv_func_stat_empty_string_bug = yes; then
22833
 
  case $LIBOBJS in
22834
 
    "stat.$ac_objext"   | \
22835
 
  *" stat.$ac_objext"   | \
22836
 
    "stat.$ac_objext "* | \
 
24346
  case " $LIBOBJS " in
22837
24347
  *" stat.$ac_objext "* ) ;;
22838
 
  *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;;
 
24348
  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
 
24349
 ;;
22839
24350
esac
22840
24351
 
22841
24352
 
22845
24356
 
22846
24357
fi
22847
24358
 
22848
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22849
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 
24359
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
24360
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
22850
24361
if test "${ac_cv_type_signal+set}" = set; then
22851
24362
  echo $ECHO_N "(cached) $ECHO_C" >&6
22852
24363
else
22858
24369
/* end confdefs.h.  */
22859
24370
#include <sys/types.h>
22860
24371
#include <signal.h>
22861
 
#ifdef signal
22862
 
# undef signal
22863
 
#endif
22864
 
#ifdef __cplusplus
22865
 
extern "C" void (*signal (int, void (*)(int)))(int);
22866
 
#else
22867
 
void (*signal ()) ();
22868
 
#endif
22869
24372
 
22870
24373
int
22871
24374
main ()
22872
24375
{
22873
 
int i;
 
24376
return *(signal (0, 0)) (0) == 1;
22874
24377
  ;
22875
24378
  return 0;
22876
24379
}
22877
24380
_ACEOF
22878
24381
rm -f conftest.$ac_objext
22879
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22880
 
  (eval $ac_compile) 2>conftest.er1
 
24382
if { (ac_try="$ac_compile"
 
24383
case "(($ac_try" in
 
24384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24385
  *) ac_try_echo=$ac_try;;
 
24386
esac
 
24387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24388
  (eval "$ac_compile") 2>conftest.er1
22881
24389
  ac_status=$?
22882
24390
  grep -v '^ *+' conftest.er1 >conftest.err
22883
24391
  rm -f conftest.er1
22884
24392
  cat conftest.err >&5
22885
24393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886
 
  (exit $ac_status); } &&
22887
 
         { ac_try='test -z "$ac_c_werror_flag"
22888
 
                         || test ! -s conftest.err'
22889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890
 
  (eval $ac_try) 2>&5
22891
 
  ac_status=$?
22892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893
 
  (exit $ac_status); }; } &&
22894
 
         { ac_try='test -s conftest.$ac_objext'
22895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896
 
  (eval $ac_try) 2>&5
22897
 
  ac_status=$?
22898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899
 
  (exit $ac_status); }; }; then
22900
 
  ac_cv_type_signal=void
 
24394
  (exit $ac_status); } && {
 
24395
         test -z "$ac_c_werror_flag" ||
 
24396
         test ! -s conftest.err
 
24397
       } && test -s conftest.$ac_objext; then
 
24398
  ac_cv_type_signal=int
22901
24399
else
22902
24400
  echo "$as_me: failed program was:" >&5
22903
24401
sed 's/^/| /' conftest.$ac_ext >&5
22904
24402
 
22905
 
ac_cv_type_signal=int
22906
 
fi
22907
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22908
 
fi
22909
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22910
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
 
24403
        ac_cv_type_signal=void
 
24404
fi
 
24405
 
 
24406
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24407
fi
 
24408
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
24409
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
22911
24410
 
22912
24411
cat >>confdefs.h <<_ACEOF
22913
24412
#define RETSIGTYPE $ac_cv_type_signal
22921
24420
for ac_func in mkdir strstr strtol mkstemp
22922
24421
do
22923
24422
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22924
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22925
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22926
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
24423
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24424
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24425
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22927
24426
  echo $ECHO_N "(cached) $ECHO_C" >&6
22928
24427
else
22929
24428
  cat >conftest.$ac_ext <<_ACEOF
22949
24448
 
22950
24449
#undef $ac_func
22951
24450
 
22952
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24451
/* Override any GCC internal prototype to avoid an error.
 
24452
   Use char because int might match the return type of a GCC
 
24453
   builtin and then its argument prototype would still apply.  */
22953
24454
#ifdef __cplusplus
22954
24455
extern "C"
22955
 
{
22956
24456
#endif
22957
 
/* We use char because int might match the return type of a gcc2
22958
 
   builtin and then its argument prototype would still apply.  */
22959
24457
char $ac_func ();
22960
24458
/* The GNU C library defines this for functions which it implements
22961
24459
    to always fail with ENOSYS.  Some functions are actually named
22962
24460
    something starting with __ and the normal name is an alias.  */
22963
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
24461
#if defined __stub_$ac_func || defined __stub___$ac_func
22964
24462
choke me
22965
 
#else
22966
 
char (*f) () = $ac_func;
22967
 
#endif
22968
 
#ifdef __cplusplus
22969
 
}
22970
24463
#endif
22971
24464
 
22972
24465
int
22973
24466
main ()
22974
24467
{
22975
 
return f != $ac_func;
 
24468
return $ac_func ();
22976
24469
  ;
22977
24470
  return 0;
22978
24471
}
22979
24472
_ACEOF
22980
24473
rm -f conftest.$ac_objext conftest$ac_exeext
22981
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22982
 
  (eval $ac_link) 2>conftest.er1
 
24474
if { (ac_try="$ac_link"
 
24475
case "(($ac_try" in
 
24476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24477
  *) ac_try_echo=$ac_try;;
 
24478
esac
 
24479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24480
  (eval "$ac_link") 2>conftest.er1
22983
24481
  ac_status=$?
22984
24482
  grep -v '^ *+' conftest.er1 >conftest.err
22985
24483
  rm -f conftest.er1
22986
24484
  cat conftest.err >&5
22987
24485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988
 
  (exit $ac_status); } &&
22989
 
         { ac_try='test -z "$ac_c_werror_flag"
22990
 
                         || test ! -s conftest.err'
22991
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992
 
  (eval $ac_try) 2>&5
22993
 
  ac_status=$?
22994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995
 
  (exit $ac_status); }; } &&
22996
 
         { ac_try='test -s conftest$ac_exeext'
22997
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998
 
  (eval $ac_try) 2>&5
22999
 
  ac_status=$?
23000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001
 
  (exit $ac_status); }; }; then
 
24486
  (exit $ac_status); } && {
 
24487
         test -z "$ac_c_werror_flag" ||
 
24488
         test ! -s conftest.err
 
24489
       } && test -s conftest$ac_exeext &&
 
24490
       $as_test_x conftest$ac_exeext; then
23002
24491
  eval "$as_ac_var=yes"
23003
24492
else
23004
24493
  echo "$as_me: failed program was:" >&5
23005
24494
sed 's/^/| /' conftest.$ac_ext >&5
23006
24495
 
23007
 
eval "$as_ac_var=no"
 
24496
        eval "$as_ac_var=no"
23008
24497
fi
23009
 
rm -f conftest.err conftest.$ac_objext \
 
24498
 
 
24499
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23010
24500
      conftest$ac_exeext conftest.$ac_ext
23011
24501
fi
23012
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23013
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
24502
ac_res=`eval echo '${'$as_ac_var'}'`
 
24503
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24504
echo "${ECHO_T}$ac_res" >&6; }
23014
24505
if test `eval echo '${'$as_ac_var'}'` = yes; then
23015
24506
  cat >>confdefs.h <<_ACEOF
23016
24507
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23026
24517
for ac_header in locale.h
23027
24518
do
23028
24519
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23029
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23030
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23031
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23032
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24520
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24521
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24522
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24523
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23033
24524
  echo $ECHO_N "(cached) $ECHO_C" >&6
23034
24525
fi
23035
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23036
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24526
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24527
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24528
echo "${ECHO_T}$ac_res" >&6; }
23037
24529
else
23038
24530
  # Is the header compilable?
23039
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23040
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24531
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24532
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23041
24533
cat >conftest.$ac_ext <<_ACEOF
23042
24534
/* confdefs.h.  */
23043
24535
_ACEOF
23048
24540
#include <$ac_header>
23049
24541
_ACEOF
23050
24542
rm -f conftest.$ac_objext
23051
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23052
 
  (eval $ac_compile) 2>conftest.er1
 
24543
if { (ac_try="$ac_compile"
 
24544
case "(($ac_try" in
 
24545
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24546
  *) ac_try_echo=$ac_try;;
 
24547
esac
 
24548
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24549
  (eval "$ac_compile") 2>conftest.er1
23053
24550
  ac_status=$?
23054
24551
  grep -v '^ *+' conftest.er1 >conftest.err
23055
24552
  rm -f conftest.er1
23056
24553
  cat conftest.err >&5
23057
24554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058
 
  (exit $ac_status); } &&
23059
 
         { ac_try='test -z "$ac_c_werror_flag"
23060
 
                         || test ! -s conftest.err'
23061
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062
 
  (eval $ac_try) 2>&5
23063
 
  ac_status=$?
23064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065
 
  (exit $ac_status); }; } &&
23066
 
         { ac_try='test -s conftest.$ac_objext'
23067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068
 
  (eval $ac_try) 2>&5
23069
 
  ac_status=$?
23070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071
 
  (exit $ac_status); }; }; then
 
24555
  (exit $ac_status); } && {
 
24556
         test -z "$ac_c_werror_flag" ||
 
24557
         test ! -s conftest.err
 
24558
       } && test -s conftest.$ac_objext; then
23072
24559
  ac_header_compiler=yes
23073
24560
else
23074
24561
  echo "$as_me: failed program was:" >&5
23075
24562
sed 's/^/| /' conftest.$ac_ext >&5
23076
24563
 
23077
 
ac_header_compiler=no
 
24564
        ac_header_compiler=no
23078
24565
fi
23079
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23080
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23081
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24566
 
 
24567
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24568
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24569
echo "${ECHO_T}$ac_header_compiler" >&6; }
23082
24570
 
23083
24571
# Is the header present?
23084
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23085
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24572
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24573
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23086
24574
cat >conftest.$ac_ext <<_ACEOF
23087
24575
/* confdefs.h.  */
23088
24576
_ACEOF
23091
24579
/* end confdefs.h.  */
23092
24580
#include <$ac_header>
23093
24581
_ACEOF
23094
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23095
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24582
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24583
case "(($ac_try" in
 
24584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24585
  *) ac_try_echo=$ac_try;;
 
24586
esac
 
24587
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24588
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23096
24589
  ac_status=$?
23097
24590
  grep -v '^ *+' conftest.er1 >conftest.err
23098
24591
  rm -f conftest.er1
23099
24592
  cat conftest.err >&5
23100
24593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
 
  (exit $ac_status); } >/dev/null; then
23102
 
  if test -s conftest.err; then
23103
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23104
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23105
 
  else
23106
 
    ac_cpp_err=
23107
 
  fi
23108
 
else
23109
 
  ac_cpp_err=yes
23110
 
fi
23111
 
if test -z "$ac_cpp_err"; then
 
24594
  (exit $ac_status); } >/dev/null && {
 
24595
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24596
         test ! -s conftest.err
 
24597
       }; then
23112
24598
  ac_header_preproc=yes
23113
24599
else
23114
24600
  echo "$as_me: failed program was:" >&5
23116
24602
 
23117
24603
  ac_header_preproc=no
23118
24604
fi
 
24605
 
23119
24606
rm -f conftest.err conftest.$ac_ext
23120
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23121
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24607
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24608
echo "${ECHO_T}$ac_header_preproc" >&6; }
23122
24609
 
23123
24610
# So?  What about this header?
23124
24611
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23142
24629
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23143
24630
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23144
24631
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23145
 
    (
23146
 
      cat <<\_ASBOX
23147
 
## ---------------------------------- ##
23148
 
## Report this to the easytag lists.  ##
23149
 
## ---------------------------------- ##
23150
 
_ASBOX
23151
 
    ) |
23152
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24632
 
23153
24633
    ;;
23154
24634
esac
23155
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23156
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23157
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24635
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24636
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24637
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23158
24638
  echo $ECHO_N "(cached) $ECHO_C" >&6
23159
24639
else
23160
24640
  eval "$as_ac_Header=\$ac_header_preproc"
23161
24641
fi
23162
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23163
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24642
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24643
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24644
echo "${ECHO_T}$ac_res" >&6; }
23164
24645
 
23165
24646
fi
23166
24647
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23173
24654
done
23174
24655
 
23175
24656
    if test $ac_cv_header_locale_h = yes; then
23176
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
23177
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
24657
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
24658
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
23178
24659
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
23179
24660
  echo $ECHO_N "(cached) $ECHO_C" >&6
23180
24661
else
23194
24675
}
23195
24676
_ACEOF
23196
24677
rm -f conftest.$ac_objext conftest$ac_exeext
23197
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23198
 
  (eval $ac_link) 2>conftest.er1
 
24678
if { (ac_try="$ac_link"
 
24679
case "(($ac_try" in
 
24680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24681
  *) ac_try_echo=$ac_try;;
 
24682
esac
 
24683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24684
  (eval "$ac_link") 2>conftest.er1
23199
24685
  ac_status=$?
23200
24686
  grep -v '^ *+' conftest.er1 >conftest.err
23201
24687
  rm -f conftest.er1
23202
24688
  cat conftest.err >&5
23203
24689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204
 
  (exit $ac_status); } &&
23205
 
         { ac_try='test -z "$ac_c_werror_flag"
23206
 
                         || test ! -s conftest.err'
23207
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208
 
  (eval $ac_try) 2>&5
23209
 
  ac_status=$?
23210
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211
 
  (exit $ac_status); }; } &&
23212
 
         { ac_try='test -s conftest$ac_exeext'
23213
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214
 
  (eval $ac_try) 2>&5
23215
 
  ac_status=$?
23216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217
 
  (exit $ac_status); }; }; then
 
24690
  (exit $ac_status); } && {
 
24691
         test -z "$ac_c_werror_flag" ||
 
24692
         test ! -s conftest.err
 
24693
       } && test -s conftest$ac_exeext &&
 
24694
       $as_test_x conftest$ac_exeext; then
23218
24695
  am_cv_val_LC_MESSAGES=yes
23219
24696
else
23220
24697
  echo "$as_me: failed program was:" >&5
23221
24698
sed 's/^/| /' conftest.$ac_ext >&5
23222
24699
 
23223
 
am_cv_val_LC_MESSAGES=no
 
24700
        am_cv_val_LC_MESSAGES=no
23224
24701
fi
23225
 
rm -f conftest.err conftest.$ac_objext \
 
24702
 
 
24703
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23226
24704
      conftest$ac_exeext conftest.$ac_ext
23227
24705
fi
23228
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
23229
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
24706
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
24707
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
23230
24708
    if test $am_cv_val_LC_MESSAGES = yes; then
23231
24709
 
23232
24710
cat >>confdefs.h <<\_ACEOF
23235
24713
 
23236
24714
    fi
23237
24715
  fi
23238
 
     USE_NLS=yes
 
24716
         USE_NLS=yes
23239
24717
 
23240
24718
 
23241
24719
    gt_cv_have_gettext=no
23245
24723
    INTLLIBS=
23246
24724
 
23247
24725
    if test "${ac_cv_header_libintl_h+set}" = set; then
23248
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
23249
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
24726
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
 
24727
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
23250
24728
if test "${ac_cv_header_libintl_h+set}" = set; then
23251
24729
  echo $ECHO_N "(cached) $ECHO_C" >&6
23252
24730
fi
23253
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
23254
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
24731
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
24732
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
23255
24733
else
23256
24734
  # Is the header compilable?
23257
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
23258
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
24735
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
24736
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
23259
24737
cat >conftest.$ac_ext <<_ACEOF
23260
24738
/* confdefs.h.  */
23261
24739
_ACEOF
23266
24744
#include <libintl.h>
23267
24745
_ACEOF
23268
24746
rm -f conftest.$ac_objext
23269
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23270
 
  (eval $ac_compile) 2>conftest.er1
 
24747
if { (ac_try="$ac_compile"
 
24748
case "(($ac_try" in
 
24749
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24750
  *) ac_try_echo=$ac_try;;
 
24751
esac
 
24752
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24753
  (eval "$ac_compile") 2>conftest.er1
23271
24754
  ac_status=$?
23272
24755
  grep -v '^ *+' conftest.er1 >conftest.err
23273
24756
  rm -f conftest.er1
23274
24757
  cat conftest.err >&5
23275
24758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276
 
  (exit $ac_status); } &&
23277
 
         { ac_try='test -z "$ac_c_werror_flag"
23278
 
                         || test ! -s conftest.err'
23279
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280
 
  (eval $ac_try) 2>&5
23281
 
  ac_status=$?
23282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283
 
  (exit $ac_status); }; } &&
23284
 
         { ac_try='test -s conftest.$ac_objext'
23285
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286
 
  (eval $ac_try) 2>&5
23287
 
  ac_status=$?
23288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289
 
  (exit $ac_status); }; }; then
 
24759
  (exit $ac_status); } && {
 
24760
         test -z "$ac_c_werror_flag" ||
 
24761
         test ! -s conftest.err
 
24762
       } && test -s conftest.$ac_objext; then
23290
24763
  ac_header_compiler=yes
23291
24764
else
23292
24765
  echo "$as_me: failed program was:" >&5
23293
24766
sed 's/^/| /' conftest.$ac_ext >&5
23294
24767
 
23295
 
ac_header_compiler=no
 
24768
        ac_header_compiler=no
23296
24769
fi
23297
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23298
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23299
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24770
 
 
24771
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24772
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24773
echo "${ECHO_T}$ac_header_compiler" >&6; }
23300
24774
 
23301
24775
# Is the header present?
23302
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
23303
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
24776
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
24777
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
23304
24778
cat >conftest.$ac_ext <<_ACEOF
23305
24779
/* confdefs.h.  */
23306
24780
_ACEOF
23309
24783
/* end confdefs.h.  */
23310
24784
#include <libintl.h>
23311
24785
_ACEOF
23312
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23313
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24786
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24787
case "(($ac_try" in
 
24788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24789
  *) ac_try_echo=$ac_try;;
 
24790
esac
 
24791
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24792
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23314
24793
  ac_status=$?
23315
24794
  grep -v '^ *+' conftest.er1 >conftest.err
23316
24795
  rm -f conftest.er1
23317
24796
  cat conftest.err >&5
23318
24797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319
 
  (exit $ac_status); } >/dev/null; then
23320
 
  if test -s conftest.err; then
23321
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23322
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23323
 
  else
23324
 
    ac_cpp_err=
23325
 
  fi
23326
 
else
23327
 
  ac_cpp_err=yes
23328
 
fi
23329
 
if test -z "$ac_cpp_err"; then
 
24798
  (exit $ac_status); } >/dev/null && {
 
24799
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24800
         test ! -s conftest.err
 
24801
       }; then
23330
24802
  ac_header_preproc=yes
23331
24803
else
23332
24804
  echo "$as_me: failed program was:" >&5
23334
24806
 
23335
24807
  ac_header_preproc=no
23336
24808
fi
 
24809
 
23337
24810
rm -f conftest.err conftest.$ac_ext
23338
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23339
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24811
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24812
echo "${ECHO_T}$ac_header_preproc" >&6; }
23340
24813
 
23341
24814
# So?  What about this header?
23342
24815
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23360
24833
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
23361
24834
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
23362
24835
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
23363
 
    (
23364
 
      cat <<\_ASBOX
23365
 
## ---------------------------------- ##
23366
 
## Report this to the easytag lists.  ##
23367
 
## ---------------------------------- ##
23368
 
_ASBOX
23369
 
    ) |
23370
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24836
 
23371
24837
    ;;
23372
24838
esac
23373
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
23374
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
24839
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
 
24840
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
23375
24841
if test "${ac_cv_header_libintl_h+set}" = set; then
23376
24842
  echo $ECHO_N "(cached) $ECHO_C" >&6
23377
24843
else
23378
24844
  ac_cv_header_libintl_h=$ac_header_preproc
23379
24845
fi
23380
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
23381
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
24846
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
24847
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
23382
24848
 
23383
24849
fi
23384
24850
if test $ac_cv_header_libintl_h = yes; then
23388
24854
      #
23389
24855
      # First check in libc
23390
24856
      #
23391
 
      echo "$as_me:$LINENO: checking for dgettext in libc" >&5
23392
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
24857
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
24858
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 
24859
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
24860
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24861
else
 
24862
  cat >conftest.$ac_ext <<_ACEOF
 
24863
/* confdefs.h.  */
 
24864
_ACEOF
 
24865
cat confdefs.h >>conftest.$ac_ext
 
24866
cat >>conftest.$ac_ext <<_ACEOF
 
24867
/* end confdefs.h.  */
 
24868
 
 
24869
#include <libintl.h>
 
24870
 
 
24871
int
 
24872
main ()
 
24873
{
 
24874
return !ngettext ("","", 1)
 
24875
  ;
 
24876
  return 0;
 
24877
}
 
24878
_ACEOF
 
24879
rm -f conftest.$ac_objext conftest$ac_exeext
 
24880
if { (ac_try="$ac_link"
 
24881
case "(($ac_try" in
 
24882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24883
  *) ac_try_echo=$ac_try;;
 
24884
esac
 
24885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24886
  (eval "$ac_link") 2>conftest.er1
 
24887
  ac_status=$?
 
24888
  grep -v '^ *+' conftest.er1 >conftest.err
 
24889
  rm -f conftest.er1
 
24890
  cat conftest.err >&5
 
24891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24892
  (exit $ac_status); } && {
 
24893
         test -z "$ac_c_werror_flag" ||
 
24894
         test ! -s conftest.err
 
24895
       } && test -s conftest$ac_exeext &&
 
24896
       $as_test_x conftest$ac_exeext; then
 
24897
  gt_cv_func_ngettext_libc=yes
 
24898
else
 
24899
  echo "$as_me: failed program was:" >&5
 
24900
sed 's/^/| /' conftest.$ac_ext >&5
 
24901
 
 
24902
        gt_cv_func_ngettext_libc=no
 
24903
fi
 
24904
 
 
24905
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24906
      conftest$ac_exeext conftest.$ac_ext
 
24907
 
 
24908
fi
 
24909
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
24910
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 
24911
 
 
24912
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
24913
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
24914
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
23393
24915
if test "${gt_cv_func_dgettext_libc+set}" = set; then
23394
24916
  echo $ECHO_N "(cached) $ECHO_C" >&6
23395
24917
else
23405
24927
int
23406
24928
main ()
23407
24929
{
23408
 
return (int) dgettext ("","")
 
24930
return !dgettext ("","")
23409
24931
  ;
23410
24932
  return 0;
23411
24933
}
23412
24934
_ACEOF
23413
24935
rm -f conftest.$ac_objext conftest$ac_exeext
23414
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23415
 
  (eval $ac_link) 2>conftest.er1
 
24936
if { (ac_try="$ac_link"
 
24937
case "(($ac_try" in
 
24938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24939
  *) ac_try_echo=$ac_try;;
 
24940
esac
 
24941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24942
  (eval "$ac_link") 2>conftest.er1
23416
24943
  ac_status=$?
23417
24944
  grep -v '^ *+' conftest.er1 >conftest.err
23418
24945
  rm -f conftest.er1
23419
24946
  cat conftest.err >&5
23420
24947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421
 
  (exit $ac_status); } &&
23422
 
         { ac_try='test -z "$ac_c_werror_flag"
23423
 
                         || test ! -s conftest.err'
23424
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425
 
  (eval $ac_try) 2>&5
23426
 
  ac_status=$?
23427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428
 
  (exit $ac_status); }; } &&
23429
 
         { ac_try='test -s conftest$ac_exeext'
23430
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431
 
  (eval $ac_try) 2>&5
23432
 
  ac_status=$?
23433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434
 
  (exit $ac_status); }; }; then
 
24948
  (exit $ac_status); } && {
 
24949
         test -z "$ac_c_werror_flag" ||
 
24950
         test ! -s conftest.err
 
24951
       } && test -s conftest$ac_exeext &&
 
24952
       $as_test_x conftest$ac_exeext; then
23435
24953
  gt_cv_func_dgettext_libc=yes
23436
24954
else
23437
24955
  echo "$as_me: failed program was:" >&5
23438
24956
sed 's/^/| /' conftest.$ac_ext >&5
23439
24957
 
23440
 
gt_cv_func_dgettext_libc=no
 
24958
        gt_cv_func_dgettext_libc=no
23441
24959
fi
23442
 
rm -f conftest.err conftest.$ac_objext \
 
24960
 
 
24961
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23443
24962
      conftest$ac_exeext conftest.$ac_ext
23444
24963
 
23445
24964
fi
23446
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
23447
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
24965
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
24966
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 
24967
      fi
23448
24968
 
23449
 
      if test "$gt_cv_func_dgettext_libc" = "yes" ; then
 
24969
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
23450
24970
 
23451
24971
for ac_func in bind_textdomain_codeset
23452
24972
do
23453
24973
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23454
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23455
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23456
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
24974
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24975
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24976
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23457
24977
  echo $ECHO_N "(cached) $ECHO_C" >&6
23458
24978
else
23459
24979
  cat >conftest.$ac_ext <<_ACEOF
23479
24999
 
23480
25000
#undef $ac_func
23481
25001
 
23482
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25002
/* Override any GCC internal prototype to avoid an error.
 
25003
   Use char because int might match the return type of a GCC
 
25004
   builtin and then its argument prototype would still apply.  */
23483
25005
#ifdef __cplusplus
23484
25006
extern "C"
23485
 
{
23486
25007
#endif
23487
 
/* We use char because int might match the return type of a gcc2
23488
 
   builtin and then its argument prototype would still apply.  */
23489
25008
char $ac_func ();
23490
25009
/* The GNU C library defines this for functions which it implements
23491
25010
    to always fail with ENOSYS.  Some functions are actually named
23492
25011
    something starting with __ and the normal name is an alias.  */
23493
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25012
#if defined __stub_$ac_func || defined __stub___$ac_func
23494
25013
choke me
23495
 
#else
23496
 
char (*f) () = $ac_func;
23497
 
#endif
23498
 
#ifdef __cplusplus
23499
 
}
23500
25014
#endif
23501
25015
 
23502
25016
int
23503
25017
main ()
23504
25018
{
23505
 
return f != $ac_func;
 
25019
return $ac_func ();
23506
25020
  ;
23507
25021
  return 0;
23508
25022
}
23509
25023
_ACEOF
23510
25024
rm -f conftest.$ac_objext conftest$ac_exeext
23511
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23512
 
  (eval $ac_link) 2>conftest.er1
 
25025
if { (ac_try="$ac_link"
 
25026
case "(($ac_try" in
 
25027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25028
  *) ac_try_echo=$ac_try;;
 
25029
esac
 
25030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25031
  (eval "$ac_link") 2>conftest.er1
23513
25032
  ac_status=$?
23514
25033
  grep -v '^ *+' conftest.er1 >conftest.err
23515
25034
  rm -f conftest.er1
23516
25035
  cat conftest.err >&5
23517
25036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518
 
  (exit $ac_status); } &&
23519
 
         { ac_try='test -z "$ac_c_werror_flag"
23520
 
                         || test ! -s conftest.err'
23521
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522
 
  (eval $ac_try) 2>&5
23523
 
  ac_status=$?
23524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525
 
  (exit $ac_status); }; } &&
23526
 
         { ac_try='test -s conftest$ac_exeext'
23527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23528
 
  (eval $ac_try) 2>&5
23529
 
  ac_status=$?
23530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531
 
  (exit $ac_status); }; }; then
 
25037
  (exit $ac_status); } && {
 
25038
         test -z "$ac_c_werror_flag" ||
 
25039
         test ! -s conftest.err
 
25040
       } && test -s conftest$ac_exeext &&
 
25041
       $as_test_x conftest$ac_exeext; then
23532
25042
  eval "$as_ac_var=yes"
23533
25043
else
23534
25044
  echo "$as_me: failed program was:" >&5
23535
25045
sed 's/^/| /' conftest.$ac_ext >&5
23536
25046
 
23537
 
eval "$as_ac_var=no"
 
25047
        eval "$as_ac_var=no"
23538
25048
fi
23539
 
rm -f conftest.err conftest.$ac_objext \
 
25049
 
 
25050
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23540
25051
      conftest$ac_exeext conftest.$ac_ext
23541
25052
fi
23542
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23543
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25053
ac_res=`eval echo '${'$as_ac_var'}'`
 
25054
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25055
echo "${ECHO_T}$ac_res" >&6; }
23544
25056
if test `eval echo '${'$as_ac_var'}'` = yes; then
23545
25057
  cat >>confdefs.h <<_ACEOF
23546
25058
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23555
25067
      # If we don't have everything we want, check in libintl
23556
25068
      #
23557
25069
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
25070
         || test "$gt_cv_func_ngettext_libc" != "yes" \
23558
25071
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
23559
25072
 
23560
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
23561
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
25073
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
25074
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
23562
25075
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
23563
25076
  echo $ECHO_N "(cached) $ECHO_C" >&6
23564
25077
else
23571
25084
cat >>conftest.$ac_ext <<_ACEOF
23572
25085
/* end confdefs.h.  */
23573
25086
 
23574
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25087
/* Override any GCC internal prototype to avoid an error.
 
25088
   Use char because int might match the return type of a GCC
 
25089
   builtin and then its argument prototype would still apply.  */
23575
25090
#ifdef __cplusplus
23576
25091
extern "C"
23577
25092
#endif
23578
 
/* We use char because int might match the return type of a gcc2
23579
 
   builtin and then its argument prototype would still apply.  */
23580
25093
char bindtextdomain ();
23581
25094
int
23582
25095
main ()
23583
25096
{
23584
 
bindtextdomain ();
 
25097
return bindtextdomain ();
23585
25098
  ;
23586
25099
  return 0;
23587
25100
}
23588
25101
_ACEOF
23589
25102
rm -f conftest.$ac_objext conftest$ac_exeext
23590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23591
 
  (eval $ac_link) 2>conftest.er1
 
25103
if { (ac_try="$ac_link"
 
25104
case "(($ac_try" in
 
25105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25106
  *) ac_try_echo=$ac_try;;
 
25107
esac
 
25108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25109
  (eval "$ac_link") 2>conftest.er1
23592
25110
  ac_status=$?
23593
25111
  grep -v '^ *+' conftest.er1 >conftest.err
23594
25112
  rm -f conftest.er1
23595
25113
  cat conftest.err >&5
23596
25114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597
 
  (exit $ac_status); } &&
23598
 
         { ac_try='test -z "$ac_c_werror_flag"
23599
 
                         || test ! -s conftest.err'
23600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601
 
  (eval $ac_try) 2>&5
23602
 
  ac_status=$?
23603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604
 
  (exit $ac_status); }; } &&
23605
 
         { ac_try='test -s conftest$ac_exeext'
23606
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607
 
  (eval $ac_try) 2>&5
23608
 
  ac_status=$?
23609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610
 
  (exit $ac_status); }; }; then
 
25115
  (exit $ac_status); } && {
 
25116
         test -z "$ac_c_werror_flag" ||
 
25117
         test ! -s conftest.err
 
25118
       } && test -s conftest$ac_exeext &&
 
25119
       $as_test_x conftest$ac_exeext; then
23611
25120
  ac_cv_lib_intl_bindtextdomain=yes
23612
25121
else
23613
25122
  echo "$as_me: failed program was:" >&5
23614
25123
sed 's/^/| /' conftest.$ac_ext >&5
23615
25124
 
23616
 
ac_cv_lib_intl_bindtextdomain=no
 
25125
        ac_cv_lib_intl_bindtextdomain=no
23617
25126
fi
23618
 
rm -f conftest.err conftest.$ac_objext \
 
25127
 
 
25128
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23619
25129
      conftest$ac_exeext conftest.$ac_ext
23620
25130
LIBS=$ac_check_lib_save_LIBS
23621
25131
fi
23622
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
23623
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
25132
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
25133
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
23624
25134
if test $ac_cv_lib_intl_bindtextdomain = yes; then
23625
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
23626
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
25135
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
25136
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
25137
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
25138
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25139
else
 
25140
  ac_check_lib_save_LIBS=$LIBS
 
25141
LIBS="-lintl  $LIBS"
 
25142
cat >conftest.$ac_ext <<_ACEOF
 
25143
/* confdefs.h.  */
 
25144
_ACEOF
 
25145
cat confdefs.h >>conftest.$ac_ext
 
25146
cat >>conftest.$ac_ext <<_ACEOF
 
25147
/* end confdefs.h.  */
 
25148
 
 
25149
/* Override any GCC internal prototype to avoid an error.
 
25150
   Use char because int might match the return type of a GCC
 
25151
   builtin and then its argument prototype would still apply.  */
 
25152
#ifdef __cplusplus
 
25153
extern "C"
 
25154
#endif
 
25155
char ngettext ();
 
25156
int
 
25157
main ()
 
25158
{
 
25159
return ngettext ();
 
25160
  ;
 
25161
  return 0;
 
25162
}
 
25163
_ACEOF
 
25164
rm -f conftest.$ac_objext conftest$ac_exeext
 
25165
if { (ac_try="$ac_link"
 
25166
case "(($ac_try" in
 
25167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25168
  *) ac_try_echo=$ac_try;;
 
25169
esac
 
25170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25171
  (eval "$ac_link") 2>conftest.er1
 
25172
  ac_status=$?
 
25173
  grep -v '^ *+' conftest.er1 >conftest.err
 
25174
  rm -f conftest.er1
 
25175
  cat conftest.err >&5
 
25176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25177
  (exit $ac_status); } && {
 
25178
         test -z "$ac_c_werror_flag" ||
 
25179
         test ! -s conftest.err
 
25180
       } && test -s conftest$ac_exeext &&
 
25181
       $as_test_x conftest$ac_exeext; then
 
25182
  ac_cv_lib_intl_ngettext=yes
 
25183
else
 
25184
  echo "$as_me: failed program was:" >&5
 
25185
sed 's/^/| /' conftest.$ac_ext >&5
 
25186
 
 
25187
        ac_cv_lib_intl_ngettext=no
 
25188
fi
 
25189
 
 
25190
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25191
      conftest$ac_exeext conftest.$ac_ext
 
25192
LIBS=$ac_check_lib_save_LIBS
 
25193
fi
 
25194
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
25195
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 
25196
if test $ac_cv_lib_intl_ngettext = yes; then
 
25197
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
25198
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
23627
25199
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
23628
25200
  echo $ECHO_N "(cached) $ECHO_C" >&6
23629
25201
else
23636
25208
cat >>conftest.$ac_ext <<_ACEOF
23637
25209
/* end confdefs.h.  */
23638
25210
 
23639
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25211
/* Override any GCC internal prototype to avoid an error.
 
25212
   Use char because int might match the return type of a GCC
 
25213
   builtin and then its argument prototype would still apply.  */
23640
25214
#ifdef __cplusplus
23641
25215
extern "C"
23642
25216
#endif
23643
 
/* We use char because int might match the return type of a gcc2
23644
 
   builtin and then its argument prototype would still apply.  */
23645
25217
char dgettext ();
23646
25218
int
23647
25219
main ()
23648
25220
{
23649
 
dgettext ();
 
25221
return dgettext ();
23650
25222
  ;
23651
25223
  return 0;
23652
25224
}
23653
25225
_ACEOF
23654
25226
rm -f conftest.$ac_objext conftest$ac_exeext
23655
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23656
 
  (eval $ac_link) 2>conftest.er1
 
25227
if { (ac_try="$ac_link"
 
25228
case "(($ac_try" in
 
25229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25230
  *) ac_try_echo=$ac_try;;
 
25231
esac
 
25232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25233
  (eval "$ac_link") 2>conftest.er1
23657
25234
  ac_status=$?
23658
25235
  grep -v '^ *+' conftest.er1 >conftest.err
23659
25236
  rm -f conftest.er1
23660
25237
  cat conftest.err >&5
23661
25238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662
 
  (exit $ac_status); } &&
23663
 
         { ac_try='test -z "$ac_c_werror_flag"
23664
 
                         || test ! -s conftest.err'
23665
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23666
 
  (eval $ac_try) 2>&5
23667
 
  ac_status=$?
23668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669
 
  (exit $ac_status); }; } &&
23670
 
         { ac_try='test -s conftest$ac_exeext'
23671
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672
 
  (eval $ac_try) 2>&5
23673
 
  ac_status=$?
23674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675
 
  (exit $ac_status); }; }; then
 
25239
  (exit $ac_status); } && {
 
25240
         test -z "$ac_c_werror_flag" ||
 
25241
         test ! -s conftest.err
 
25242
       } && test -s conftest$ac_exeext &&
 
25243
       $as_test_x conftest$ac_exeext; then
23676
25244
  ac_cv_lib_intl_dgettext=yes
23677
25245
else
23678
25246
  echo "$as_me: failed program was:" >&5
23679
25247
sed 's/^/| /' conftest.$ac_ext >&5
23680
25248
 
23681
 
ac_cv_lib_intl_dgettext=no
 
25249
        ac_cv_lib_intl_dgettext=no
23682
25250
fi
23683
 
rm -f conftest.err conftest.$ac_objext \
 
25251
 
 
25252
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23684
25253
      conftest$ac_exeext conftest.$ac_ext
23685
25254
LIBS=$ac_check_lib_save_LIBS
23686
25255
fi
23687
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
23688
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
25256
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
25257
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
23689
25258
if test $ac_cv_lib_intl_dgettext = yes; then
23690
25259
  gt_cv_func_dgettext_libintl=yes
23691
25260
fi
23692
25261
 
23693
25262
fi
23694
25263
 
 
25264
fi
 
25265
 
23695
25266
 
23696
25267
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
23697
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
23698
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
23699
 
          echo "$as_me:$LINENO: result: " >&5
23700
 
echo "${ECHO_T}" >&6
23701
 
          echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
23702
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
25268
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
25269
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 
25270
          { echo "$as_me:$LINENO: result: " >&5
 
25271
echo "${ECHO_T}" >&6; }
 
25272
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
25273
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
25274
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
25275
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25276
else
 
25277
  ac_check_lib_save_LIBS=$LIBS
 
25278
LIBS="-lintl -liconv $LIBS"
 
25279
cat >conftest.$ac_ext <<_ACEOF
 
25280
/* confdefs.h.  */
 
25281
_ACEOF
 
25282
cat confdefs.h >>conftest.$ac_ext
 
25283
cat >>conftest.$ac_ext <<_ACEOF
 
25284
/* end confdefs.h.  */
 
25285
 
 
25286
/* Override any GCC internal prototype to avoid an error.
 
25287
   Use char because int might match the return type of a GCC
 
25288
   builtin and then its argument prototype would still apply.  */
 
25289
#ifdef __cplusplus
 
25290
extern "C"
 
25291
#endif
 
25292
char ngettext ();
 
25293
int
 
25294
main ()
 
25295
{
 
25296
return ngettext ();
 
25297
  ;
 
25298
  return 0;
 
25299
}
 
25300
_ACEOF
 
25301
rm -f conftest.$ac_objext conftest$ac_exeext
 
25302
if { (ac_try="$ac_link"
 
25303
case "(($ac_try" in
 
25304
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25305
  *) ac_try_echo=$ac_try;;
 
25306
esac
 
25307
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25308
  (eval "$ac_link") 2>conftest.er1
 
25309
  ac_status=$?
 
25310
  grep -v '^ *+' conftest.er1 >conftest.err
 
25311
  rm -f conftest.er1
 
25312
  cat conftest.err >&5
 
25313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25314
  (exit $ac_status); } && {
 
25315
         test -z "$ac_c_werror_flag" ||
 
25316
         test ! -s conftest.err
 
25317
       } && test -s conftest$ac_exeext &&
 
25318
       $as_test_x conftest$ac_exeext; then
 
25319
  ac_cv_lib_intl_ngettext=yes
 
25320
else
 
25321
  echo "$as_me: failed program was:" >&5
 
25322
sed 's/^/| /' conftest.$ac_ext >&5
 
25323
 
 
25324
        ac_cv_lib_intl_ngettext=no
 
25325
fi
 
25326
 
 
25327
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25328
      conftest$ac_exeext conftest.$ac_ext
 
25329
LIBS=$ac_check_lib_save_LIBS
 
25330
fi
 
25331
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
25332
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 
25333
if test $ac_cv_lib_intl_ngettext = yes; then
 
25334
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
25335
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
23703
25336
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
23704
25337
  echo $ECHO_N "(cached) $ECHO_C" >&6
23705
25338
else
23712
25345
cat >>conftest.$ac_ext <<_ACEOF
23713
25346
/* end confdefs.h.  */
23714
25347
 
23715
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25348
/* Override any GCC internal prototype to avoid an error.
 
25349
   Use char because int might match the return type of a GCC
 
25350
   builtin and then its argument prototype would still apply.  */
23716
25351
#ifdef __cplusplus
23717
25352
extern "C"
23718
25353
#endif
23719
 
/* We use char because int might match the return type of a gcc2
23720
 
   builtin and then its argument prototype would still apply.  */
23721
25354
char dcgettext ();
23722
25355
int
23723
25356
main ()
23724
25357
{
23725
 
dcgettext ();
 
25358
return dcgettext ();
23726
25359
  ;
23727
25360
  return 0;
23728
25361
}
23729
25362
_ACEOF
23730
25363
rm -f conftest.$ac_objext conftest$ac_exeext
23731
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23732
 
  (eval $ac_link) 2>conftest.er1
 
25364
if { (ac_try="$ac_link"
 
25365
case "(($ac_try" in
 
25366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25367
  *) ac_try_echo=$ac_try;;
 
25368
esac
 
25369
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25370
  (eval "$ac_link") 2>conftest.er1
23733
25371
  ac_status=$?
23734
25372
  grep -v '^ *+' conftest.er1 >conftest.err
23735
25373
  rm -f conftest.er1
23736
25374
  cat conftest.err >&5
23737
25375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738
 
  (exit $ac_status); } &&
23739
 
         { ac_try='test -z "$ac_c_werror_flag"
23740
 
                         || test ! -s conftest.err'
23741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742
 
  (eval $ac_try) 2>&5
23743
 
  ac_status=$?
23744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745
 
  (exit $ac_status); }; } &&
23746
 
         { ac_try='test -s conftest$ac_exeext'
23747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748
 
  (eval $ac_try) 2>&5
23749
 
  ac_status=$?
23750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751
 
  (exit $ac_status); }; }; then
 
25376
  (exit $ac_status); } && {
 
25377
         test -z "$ac_c_werror_flag" ||
 
25378
         test ! -s conftest.err
 
25379
       } && test -s conftest$ac_exeext &&
 
25380
       $as_test_x conftest$ac_exeext; then
23752
25381
  ac_cv_lib_intl_dcgettext=yes
23753
25382
else
23754
25383
  echo "$as_me: failed program was:" >&5
23755
25384
sed 's/^/| /' conftest.$ac_ext >&5
23756
25385
 
23757
 
ac_cv_lib_intl_dcgettext=no
 
25386
        ac_cv_lib_intl_dcgettext=no
23758
25387
fi
23759
 
rm -f conftest.err conftest.$ac_objext \
 
25388
 
 
25389
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23760
25390
      conftest$ac_exeext conftest.$ac_ext
23761
25391
LIBS=$ac_check_lib_save_LIBS
23762
25392
fi
23763
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
23764
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
25393
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
25394
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
23765
25395
if test $ac_cv_lib_intl_dcgettext = yes; then
23766
25396
  gt_cv_func_dgettext_libintl=yes
23767
25397
                        libintl_extra_libs=-liconv
23769
25399
  :
23770
25400
fi
23771
25401
 
 
25402
else
 
25403
  :
 
25404
fi
 
25405
 
23772
25406
        fi
23773
25407
 
23774
25408
        #
23775
25409
        # If we found libintl, then check in it for bind_textdomain_codeset();
23776
25410
        # we'll prefer libc if neither have bind_textdomain_codeset(),
23777
 
        # and both have dgettext
 
25411
        # and both have dgettext and ngettext
23778
25412
        #
23779
25413
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
23780
25414
          glib_save_LIBS="$LIBS"
23784
25418
for ac_func in bind_textdomain_codeset
23785
25419
do
23786
25420
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23787
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23788
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23789
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25421
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25422
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
25423
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23790
25424
  echo $ECHO_N "(cached) $ECHO_C" >&6
23791
25425
else
23792
25426
  cat >conftest.$ac_ext <<_ACEOF
23812
25446
 
23813
25447
#undef $ac_func
23814
25448
 
23815
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25449
/* Override any GCC internal prototype to avoid an error.
 
25450
   Use char because int might match the return type of a GCC
 
25451
   builtin and then its argument prototype would still apply.  */
23816
25452
#ifdef __cplusplus
23817
25453
extern "C"
23818
 
{
23819
25454
#endif
23820
 
/* We use char because int might match the return type of a gcc2
23821
 
   builtin and then its argument prototype would still apply.  */
23822
25455
char $ac_func ();
23823
25456
/* The GNU C library defines this for functions which it implements
23824
25457
    to always fail with ENOSYS.  Some functions are actually named
23825
25458
    something starting with __ and the normal name is an alias.  */
23826
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25459
#if defined __stub_$ac_func || defined __stub___$ac_func
23827
25460
choke me
23828
 
#else
23829
 
char (*f) () = $ac_func;
23830
 
#endif
23831
 
#ifdef __cplusplus
23832
 
}
23833
25461
#endif
23834
25462
 
23835
25463
int
23836
25464
main ()
23837
25465
{
23838
 
return f != $ac_func;
 
25466
return $ac_func ();
23839
25467
  ;
23840
25468
  return 0;
23841
25469
}
23842
25470
_ACEOF
23843
25471
rm -f conftest.$ac_objext conftest$ac_exeext
23844
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23845
 
  (eval $ac_link) 2>conftest.er1
 
25472
if { (ac_try="$ac_link"
 
25473
case "(($ac_try" in
 
25474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25475
  *) ac_try_echo=$ac_try;;
 
25476
esac
 
25477
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25478
  (eval "$ac_link") 2>conftest.er1
23846
25479
  ac_status=$?
23847
25480
  grep -v '^ *+' conftest.er1 >conftest.err
23848
25481
  rm -f conftest.er1
23849
25482
  cat conftest.err >&5
23850
25483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851
 
  (exit $ac_status); } &&
23852
 
         { ac_try='test -z "$ac_c_werror_flag"
23853
 
                         || test ! -s conftest.err'
23854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23855
 
  (eval $ac_try) 2>&5
23856
 
  ac_status=$?
23857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858
 
  (exit $ac_status); }; } &&
23859
 
         { ac_try='test -s conftest$ac_exeext'
23860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861
 
  (eval $ac_try) 2>&5
23862
 
  ac_status=$?
23863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864
 
  (exit $ac_status); }; }; then
 
25484
  (exit $ac_status); } && {
 
25485
         test -z "$ac_c_werror_flag" ||
 
25486
         test ! -s conftest.err
 
25487
       } && test -s conftest$ac_exeext &&
 
25488
       $as_test_x conftest$ac_exeext; then
23865
25489
  eval "$as_ac_var=yes"
23866
25490
else
23867
25491
  echo "$as_me: failed program was:" >&5
23868
25492
sed 's/^/| /' conftest.$ac_ext >&5
23869
25493
 
23870
 
eval "$as_ac_var=no"
 
25494
        eval "$as_ac_var=no"
23871
25495
fi
23872
 
rm -f conftest.err conftest.$ac_objext \
 
25496
 
 
25497
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23873
25498
      conftest$ac_exeext conftest.$ac_ext
23874
25499
fi
23875
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23876
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25500
ac_res=`eval echo '${'$as_ac_var'}'`
 
25501
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25502
echo "${ECHO_T}$ac_res" >&6; }
23877
25503
if test `eval echo '${'$as_ac_var'}'` = yes; then
23878
25504
  cat >>confdefs.h <<_ACEOF
23879
25505
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23887
25513
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
23888
25514
            gt_cv_func_dgettext_libc=no
23889
25515
          else
23890
 
            if test "$gt_cv_func_dgettext_libc" = "yes"; then
 
25516
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
25517
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
23891
25518
              gt_cv_func_dgettext_libintl=no
23892
25519
            fi
23893
25520
          fi
23911
25538
 
23912
25539
        # Extract the first word of "msgfmt", so it can be a program name with args.
23913
25540
set dummy msgfmt; ac_word=$2
23914
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
23915
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25541
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23916
25543
if test "${ac_cv_path_MSGFMT+set}" = set; then
23917
25544
  echo $ECHO_N "(cached) $ECHO_C" >&6
23918
25545
else
23938
25565
fi
23939
25566
MSGFMT="$ac_cv_path_MSGFMT"
23940
25567
if test "$MSGFMT" != "no"; then
23941
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
23942
 
echo "${ECHO_T}$MSGFMT" >&6
 
25568
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
25569
echo "${ECHO_T}$MSGFMT" >&6; }
23943
25570
else
23944
 
  echo "$as_me:$LINENO: result: no" >&5
23945
 
echo "${ECHO_T}no" >&6
 
25571
  { echo "$as_me:$LINENO: result: no" >&5
 
25572
echo "${ECHO_T}no" >&6; }
23946
25573
fi
23947
25574
        if test "$MSGFMT" != "no"; then
23948
25575
          glib_save_LIBS="$LIBS"
23951
25578
for ac_func in dcgettext
23952
25579
do
23953
25580
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23954
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23955
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23956
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25581
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25582
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
25583
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23957
25584
  echo $ECHO_N "(cached) $ECHO_C" >&6
23958
25585
else
23959
25586
  cat >conftest.$ac_ext <<_ACEOF
23979
25606
 
23980
25607
#undef $ac_func
23981
25608
 
23982
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25609
/* Override any GCC internal prototype to avoid an error.
 
25610
   Use char because int might match the return type of a GCC
 
25611
   builtin and then its argument prototype would still apply.  */
23983
25612
#ifdef __cplusplus
23984
25613
extern "C"
23985
 
{
23986
25614
#endif
23987
 
/* We use char because int might match the return type of a gcc2
23988
 
   builtin and then its argument prototype would still apply.  */
23989
25615
char $ac_func ();
23990
25616
/* The GNU C library defines this for functions which it implements
23991
25617
    to always fail with ENOSYS.  Some functions are actually named
23992
25618
    something starting with __ and the normal name is an alias.  */
23993
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25619
#if defined __stub_$ac_func || defined __stub___$ac_func
23994
25620
choke me
23995
 
#else
23996
 
char (*f) () = $ac_func;
23997
 
#endif
23998
 
#ifdef __cplusplus
23999
 
}
24000
25621
#endif
24001
25622
 
24002
25623
int
24003
25624
main ()
24004
25625
{
24005
 
return f != $ac_func;
 
25626
return $ac_func ();
24006
25627
  ;
24007
25628
  return 0;
24008
25629
}
24009
25630
_ACEOF
24010
25631
rm -f conftest.$ac_objext conftest$ac_exeext
24011
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24012
 
  (eval $ac_link) 2>conftest.er1
 
25632
if { (ac_try="$ac_link"
 
25633
case "(($ac_try" in
 
25634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25635
  *) ac_try_echo=$ac_try;;
 
25636
esac
 
25637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25638
  (eval "$ac_link") 2>conftest.er1
24013
25639
  ac_status=$?
24014
25640
  grep -v '^ *+' conftest.er1 >conftest.err
24015
25641
  rm -f conftest.er1
24016
25642
  cat conftest.err >&5
24017
25643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018
 
  (exit $ac_status); } &&
24019
 
         { ac_try='test -z "$ac_c_werror_flag"
24020
 
                         || test ! -s conftest.err'
24021
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022
 
  (eval $ac_try) 2>&5
24023
 
  ac_status=$?
24024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025
 
  (exit $ac_status); }; } &&
24026
 
         { ac_try='test -s conftest$ac_exeext'
24027
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028
 
  (eval $ac_try) 2>&5
24029
 
  ac_status=$?
24030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031
 
  (exit $ac_status); }; }; then
 
25644
  (exit $ac_status); } && {
 
25645
         test -z "$ac_c_werror_flag" ||
 
25646
         test ! -s conftest.err
 
25647
       } && test -s conftest$ac_exeext &&
 
25648
       $as_test_x conftest$ac_exeext; then
24032
25649
  eval "$as_ac_var=yes"
24033
25650
else
24034
25651
  echo "$as_me: failed program was:" >&5
24035
25652
sed 's/^/| /' conftest.$ac_ext >&5
24036
25653
 
24037
 
eval "$as_ac_var=no"
 
25654
        eval "$as_ac_var=no"
24038
25655
fi
24039
 
rm -f conftest.err conftest.$ac_objext \
 
25656
 
 
25657
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24040
25658
      conftest$ac_exeext conftest.$ac_ext
24041
25659
fi
24042
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24043
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25660
ac_res=`eval echo '${'$as_ac_var'}'`
 
25661
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25662
echo "${ECHO_T}$ac_res" >&6; }
24044
25663
if test `eval echo '${'$as_ac_var'}'` = yes; then
24045
25664
  cat >>confdefs.h <<_ACEOF
24046
25665
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24049
25668
fi
24050
25669
done
24051
25670
 
 
25671
          MSGFMT_OPTS=
 
25672
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
25673
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
25674
          cat >conftest.foo <<_ACEOF
 
25675
 
 
25676
msgid ""
 
25677
msgstr ""
 
25678
"Content-Type: text/plain; charset=UTF-8\n"
 
25679
"Project-Id-Version: test 1.0\n"
 
25680
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
25681
"Last-Translator: test <foo@bar.xx>\n"
 
25682
"Language-Team: C <LL@li.org>\n"
 
25683
"MIME-Version: 1.0\n"
 
25684
"Content-Transfer-Encoding: 8bit\n"
 
25685
 
 
25686
_ACEOF
 
25687
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
25688
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
25689
  ac_status=$?
 
25690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25691
  (exit $ac_status); }; then
 
25692
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
 
25693
echo "${ECHO_T}yes" >&6; }
 
25694
else { echo "$as_me:$LINENO: result: no" >&5
 
25695
echo "${ECHO_T}no" >&6; }
 
25696
echo "$as_me: failed input was:" >&5
 
25697
sed 's/^/| /' conftest.foo >&5
 
25698
fi
 
25699
 
24052
25700
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
24053
25701
set dummy gmsgfmt; ac_word=$2
24054
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
24055
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25702
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25703
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24056
25704
if test "${ac_cv_path_GMSGFMT+set}" = set; then
24057
25705
  echo $ECHO_N "(cached) $ECHO_C" >&6
24058
25706
else
24067
25715
  IFS=$as_save_IFS
24068
25716
  test -z "$as_dir" && as_dir=.
24069
25717
  for ac_exec_ext in '' $ac_executable_extensions; do
24070
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
25718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24071
25719
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
24072
25720
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24073
25721
    break 2
24074
25722
  fi
24075
25723
done
24076
25724
done
 
25725
IFS=$as_save_IFS
24077
25726
 
24078
25727
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
24079
25728
  ;;
24080
25729
esac
24081
25730
fi
24082
25731
GMSGFMT=$ac_cv_path_GMSGFMT
24083
 
 
24084
25732
if test -n "$GMSGFMT"; then
24085
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
24086
 
echo "${ECHO_T}$GMSGFMT" >&6
 
25733
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
25734
echo "${ECHO_T}$GMSGFMT" >&6; }
24087
25735
else
24088
 
  echo "$as_me:$LINENO: result: no" >&5
24089
 
echo "${ECHO_T}no" >&6
 
25736
  { echo "$as_me:$LINENO: result: no" >&5
 
25737
echo "${ECHO_T}no" >&6; }
24090
25738
fi
24091
25739
 
 
25740
 
24092
25741
          # Extract the first word of "xgettext", so it can be a program name with args.
24093
25742
set dummy xgettext; ac_word=$2
24094
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
24095
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25743
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25744
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24096
25745
if test "${ac_cv_path_XGETTEXT+set}" = set; then
24097
25746
  echo $ECHO_N "(cached) $ECHO_C" >&6
24098
25747
else
24118
25767
fi
24119
25768
XGETTEXT="$ac_cv_path_XGETTEXT"
24120
25769
if test "$XGETTEXT" != ":"; then
24121
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
24122
 
echo "${ECHO_T}$XGETTEXT" >&6
 
25770
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
25771
echo "${ECHO_T}$XGETTEXT" >&6; }
24123
25772
else
24124
 
  echo "$as_me:$LINENO: result: no" >&5
24125
 
echo "${ECHO_T}no" >&6
 
25773
  { echo "$as_me:$LINENO: result: no" >&5
 
25774
echo "${ECHO_T}no" >&6; }
24126
25775
fi
24127
25776
 
24128
25777
          cat >conftest.$ac_ext <<_ACEOF
24142
25791
}
24143
25792
_ACEOF
24144
25793
rm -f conftest.$ac_objext conftest$ac_exeext
24145
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24146
 
  (eval $ac_link) 2>conftest.er1
 
25794
if { (ac_try="$ac_link"
 
25795
case "(($ac_try" in
 
25796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25797
  *) ac_try_echo=$ac_try;;
 
25798
esac
 
25799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25800
  (eval "$ac_link") 2>conftest.er1
24147
25801
  ac_status=$?
24148
25802
  grep -v '^ *+' conftest.er1 >conftest.err
24149
25803
  rm -f conftest.er1
24150
25804
  cat conftest.err >&5
24151
25805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152
 
  (exit $ac_status); } &&
24153
 
         { ac_try='test -z "$ac_c_werror_flag"
24154
 
                         || test ! -s conftest.err'
24155
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24156
 
  (eval $ac_try) 2>&5
24157
 
  ac_status=$?
24158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159
 
  (exit $ac_status); }; } &&
24160
 
         { ac_try='test -s conftest$ac_exeext'
24161
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162
 
  (eval $ac_try) 2>&5
24163
 
  ac_status=$?
24164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165
 
  (exit $ac_status); }; }; then
 
25806
  (exit $ac_status); } && {
 
25807
         test -z "$ac_c_werror_flag" ||
 
25808
         test ! -s conftest.err
 
25809
       } && test -s conftest$ac_exeext &&
 
25810
       $as_test_x conftest$ac_exeext; then
24166
25811
  CATOBJEXT=.gmo
24167
25812
             DATADIRNAME=share
24168
25813
else
24169
25814
  echo "$as_me: failed program was:" >&5
24170
25815
sed 's/^/| /' conftest.$ac_ext >&5
24171
25816
 
24172
 
case $host in
 
25817
        case $host in
24173
25818
            *-*-solaris*)
24174
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
24175
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
25819
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
25820
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
24176
25821
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
24177
25822
  echo $ECHO_N "(cached) $ECHO_C" >&6
24178
25823
else
24199
25844
 
24200
25845
#undef bind_textdomain_codeset
24201
25846
 
24202
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25847
/* Override any GCC internal prototype to avoid an error.
 
25848
   Use char because int might match the return type of a GCC
 
25849
   builtin and then its argument prototype would still apply.  */
24203
25850
#ifdef __cplusplus
24204
25851
extern "C"
24205
 
{
24206
25852
#endif
24207
 
/* We use char because int might match the return type of a gcc2
24208
 
   builtin and then its argument prototype would still apply.  */
24209
25853
char bind_textdomain_codeset ();
24210
25854
/* The GNU C library defines this for functions which it implements
24211
25855
    to always fail with ENOSYS.  Some functions are actually named
24212
25856
    something starting with __ and the normal name is an alias.  */
24213
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
25857
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
24214
25858
choke me
24215
 
#else
24216
 
char (*f) () = bind_textdomain_codeset;
24217
 
#endif
24218
 
#ifdef __cplusplus
24219
 
}
24220
25859
#endif
24221
25860
 
24222
25861
int
24223
25862
main ()
24224
25863
{
24225
 
return f != bind_textdomain_codeset;
 
25864
return bind_textdomain_codeset ();
24226
25865
  ;
24227
25866
  return 0;
24228
25867
}
24229
25868
_ACEOF
24230
25869
rm -f conftest.$ac_objext conftest$ac_exeext
24231
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24232
 
  (eval $ac_link) 2>conftest.er1
 
25870
if { (ac_try="$ac_link"
 
25871
case "(($ac_try" in
 
25872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25873
  *) ac_try_echo=$ac_try;;
 
25874
esac
 
25875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25876
  (eval "$ac_link") 2>conftest.er1
24233
25877
  ac_status=$?
24234
25878
  grep -v '^ *+' conftest.er1 >conftest.err
24235
25879
  rm -f conftest.er1
24236
25880
  cat conftest.err >&5
24237
25881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238
 
  (exit $ac_status); } &&
24239
 
         { ac_try='test -z "$ac_c_werror_flag"
24240
 
                         || test ! -s conftest.err'
24241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242
 
  (eval $ac_try) 2>&5
24243
 
  ac_status=$?
24244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245
 
  (exit $ac_status); }; } &&
24246
 
         { ac_try='test -s conftest$ac_exeext'
24247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24248
 
  (eval $ac_try) 2>&5
24249
 
  ac_status=$?
24250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251
 
  (exit $ac_status); }; }; then
 
25882
  (exit $ac_status); } && {
 
25883
         test -z "$ac_c_werror_flag" ||
 
25884
         test ! -s conftest.err
 
25885
       } && test -s conftest$ac_exeext &&
 
25886
       $as_test_x conftest$ac_exeext; then
24252
25887
  ac_cv_func_bind_textdomain_codeset=yes
24253
25888
else
24254
25889
  echo "$as_me: failed program was:" >&5
24255
25890
sed 's/^/| /' conftest.$ac_ext >&5
24256
25891
 
24257
 
ac_cv_func_bind_textdomain_codeset=no
 
25892
        ac_cv_func_bind_textdomain_codeset=no
24258
25893
fi
24259
 
rm -f conftest.err conftest.$ac_objext \
 
25894
 
 
25895
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24260
25896
      conftest$ac_exeext conftest.$ac_ext
24261
25897
fi
24262
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
24263
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
25898
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
25899
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
24264
25900
if test $ac_cv_func_bind_textdomain_codeset = yes; then
24265
25901
  CATOBJEXT=.gmo
24266
25902
               DATADIRNAME=share
24276
25912
            ;;
24277
25913
            esac
24278
25914
fi
24279
 
rm -f conftest.err conftest.$ac_objext \
 
25915
 
 
25916
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24280
25917
      conftest$ac_exeext conftest.$ac_ext
24281
25918
          LIBS="$glib_save_LIBS"
24282
25919
          INSTOBJEXT=.mo
24301
25938
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
24302
25939
        : ;
24303
25940
      else
24304
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
24305
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
25941
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
25942
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
24306
25943
        XGETTEXT=":"
24307
25944
      fi
24308
25945
    fi
24310
25947
    # We need to process the po/ directory.
24311
25948
    POSUB=po
24312
25949
 
24313
 
              ac_config_commands="$ac_config_commands default-1"
 
25950
    ac_config_commands="$ac_config_commands default-1"
24314
25951
 
24315
25952
 
24316
25953
                for lang in $ALL_LINGUAS; do
24334
25971
     if test "x$ALL_LINGUAS" = "x"; then
24335
25972
       LINGUAS=
24336
25973
     else
24337
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
24338
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
25974
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
25975
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
24339
25976
       NEW_LINGUAS=
24340
25977
       for presentlang in $ALL_LINGUAS; do
24341
25978
         useit=no
24359
25996
         fi
24360
25997
       done
24361
25998
       LINGUAS=$NEW_LINGUAS
24362
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
24363
 
echo "${ECHO_T}$LINGUAS" >&6
 
25999
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
26000
echo "${ECHO_T}$LINGUAS" >&6; }
24364
26001
     fi
24365
26002
 
24366
26003
          if test -n "$LINGUAS"; then
24393
26030
 
24394
26031
 
24395
26032
 
24396
 
          ac_config_headers="$ac_config_headers config.h"
24397
 
 
24398
 
 
24399
 
 
24400
 
                                                                                ac_config_files="$ac_config_files Makefile easytag.spec doc/easytag.1 src/Makefile src/id3lib/Makefile src/libapetag/Makefile src/libmpg123/Makefile po/Makefile.in"
 
26033
ac_config_headers="$ac_config_headers config.h"
 
26034
 
 
26035
 
 
26036
 
 
26037
ac_config_files="$ac_config_files Makefile easytag.spec doc/easytag.1 src/Makefile src/id3lib/Makefile src/libapetag/Makefile src/libmpg123/Makefile po/Makefile.in"
 
26038
 
24401
26039
cat >confcache <<\_ACEOF
24402
26040
# This file is a shell script that caches the results of configure
24403
26041
# tests run on this system so they can be shared between configure
24416
26054
 
24417
26055
# The following way of writing the cache mishandles newlines in values,
24418
26056
# but we know of no workaround that is simple, portable, and efficient.
24419
 
# So, don't put newlines in cache variables' values.
 
26057
# So, we kill variables containing newlines.
24420
26058
# Ultrix sh set writes to stderr and can't be redirected directly,
24421
26059
# and sets the high bit in the cache file unless we assign to the vars.
24422
 
{
 
26060
(
 
26061
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
26062
    eval ac_val=\$$ac_var
 
26063
    case $ac_val in #(
 
26064
    *${as_nl}*)
 
26065
      case $ac_var in #(
 
26066
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
26067
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
26068
      esac
 
26069
      case $ac_var in #(
 
26070
      _ | IFS | as_nl) ;; #(
 
26071
      *) $as_unset $ac_var ;;
 
26072
      esac ;;
 
26073
    esac
 
26074
  done
 
26075
 
24423
26076
  (set) 2>&1 |
24424
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
24425
 
    *ac_space=\ *)
 
26077
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
26078
    *${as_nl}ac_space=\ *)
24426
26079
      # `set' does not quote correctly, so add quotes (double-quote
24427
26080
      # substitution turns \\\\ into \\, and sed turns \\ into \).
24428
26081
      sed -n \
24429
26082
        "s/'/'\\\\''/g;
24430
26083
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24431
 
      ;;
 
26084
      ;; #(
24432
26085
    *)
24433
26086
      # `set' quotes correctly as required by POSIX, so do not add quotes.
24434
 
      sed -n \
24435
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
26087
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24436
26088
      ;;
24437
 
    esac;
24438
 
} |
 
26089
    esac |
 
26090
    sort
 
26091
) |
24439
26092
  sed '
 
26093
     /^ac_cv_env_/b end
24440
26094
     t clear
24441
 
     : clear
 
26095
     :clear
24442
26096
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24443
26097
     t end
24444
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24445
 
     : end' >>confcache
24446
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
24447
 
  if test -w $cache_file; then
24448
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
26098
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
26099
     :end' >>confcache
 
26100
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
26101
  if test -w "$cache_file"; then
 
26102
    test "x$cache_file" != "x/dev/null" &&
 
26103
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
26104
echo "$as_me: updating cache $cache_file" >&6;}
24449
26105
    cat confcache >$cache_file
24450
26106
  else
24451
 
    echo "not updating unwritable cache $cache_file"
 
26107
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
26108
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24452
26109
  fi
24453
26110
fi
24454
26111
rm -f confcache
24457
26114
# Let make expand exec_prefix.
24458
26115
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24459
26116
 
24460
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24461
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24462
 
# trailing colons and then remove the whole line if VPATH becomes empty
24463
 
# (actually we leave an empty line to preserve line numbers).
24464
 
if test "x$srcdir" = x.; then
24465
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
24466
 
s/:*\$(srcdir):*/:/;
24467
 
s/:*\${srcdir}:*/:/;
24468
 
s/:*@srcdir@:*/:/;
24469
 
s/^\([^=]*=[     ]*\):*/\1/;
24470
 
s/:*$//;
24471
 
s/^[^=]*=[       ]*$//;
24472
 
}'
24473
 
fi
24474
 
 
24475
26117
DEFS=-DHAVE_CONFIG_H
24476
26118
 
24477
26119
ac_libobjs=
24478
26120
ac_ltlibobjs=
24479
26121
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24480
26122
  # 1. Remove the extension, and $U if already installed.
24481
 
  ac_i=`echo "$ac_i" |
24482
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24483
 
  # 2. Add them.
24484
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24485
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
26123
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
26124
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
26125
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
26126
  #    will be set to the directory where LIBOBJS objects are built.
 
26127
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
26128
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24486
26129
done
24487
26130
LIBOBJS=$ac_libobjs
24488
26131
 
24541
26184
## M4sh Initialization.  ##
24542
26185
## --------------------- ##
24543
26186
 
24544
 
# Be Bourne compatible
 
26187
# Be more Bourne compatible
 
26188
DUALCASE=1; export DUALCASE # for MKS sh
24545
26189
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24546
26190
  emulate sh
24547
26191
  NULLCMD=:
24548
26192
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24549
26193
  # is contrary to our usage.  Disable this feature.
24550
26194
  alias -g '${1+"$@"}'='"$@"'
24551
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24552
 
  set -o posix
24553
 
fi
24554
 
DUALCASE=1; export DUALCASE # for MKS sh
 
26195
  setopt NO_GLOB_SUBST
 
26196
else
 
26197
  case `(set -o) 2>/dev/null` in
 
26198
  *posix*) set -o posix ;;
 
26199
esac
 
26200
 
 
26201
fi
 
26202
 
 
26203
 
 
26204
 
 
26205
 
 
26206
# PATH needs CR
 
26207
# Avoid depending upon Character Ranges.
 
26208
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
26209
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
26210
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
26211
as_cr_digits='0123456789'
 
26212
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
26213
 
 
26214
# The user is always right.
 
26215
if test "${PATH_SEPARATOR+set}" != set; then
 
26216
  echo "#! /bin/sh" >conf$$.sh
 
26217
  echo  "exit 0"   >>conf$$.sh
 
26218
  chmod +x conf$$.sh
 
26219
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
26220
    PATH_SEPARATOR=';'
 
26221
  else
 
26222
    PATH_SEPARATOR=:
 
26223
  fi
 
26224
  rm -f conf$$.sh
 
26225
fi
24555
26226
 
24556
26227
# Support unset when possible.
24557
26228
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24561
26232
fi
24562
26233
 
24563
26234
 
 
26235
# IFS
 
26236
# We need space, tab and new line, in precisely that order.  Quoting is
 
26237
# there to prevent editors from complaining about space-tab.
 
26238
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
26239
# splitting by setting IFS to empty value.)
 
26240
as_nl='
 
26241
'
 
26242
IFS=" ""        $as_nl"
 
26243
 
 
26244
# Find who we are.  Look in the path if we contain no directory separator.
 
26245
case $0 in
 
26246
  *[\\/]* ) as_myself=$0 ;;
 
26247
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
26248
for as_dir in $PATH
 
26249
do
 
26250
  IFS=$as_save_IFS
 
26251
  test -z "$as_dir" && as_dir=.
 
26252
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
26253
done
 
26254
IFS=$as_save_IFS
 
26255
 
 
26256
     ;;
 
26257
esac
 
26258
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
26259
# in which case we are not to be found in the path.
 
26260
if test "x$as_myself" = x; then
 
26261
  as_myself=$0
 
26262
fi
 
26263
if test ! -f "$as_myself"; then
 
26264
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
26265
  { (exit 1); exit 1; }
 
26266
fi
 
26267
 
24564
26268
# Work around bugs in pre-3.0 UWIN ksh.
24565
 
$as_unset ENV MAIL MAILPATH
 
26269
for as_var in ENV MAIL MAILPATH
 
26270
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
26271
done
24566
26272
PS1='$ '
24567
26273
PS2='> '
24568
26274
PS4='+ '
24576
26282
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24577
26283
    eval $as_var=C; export $as_var
24578
26284
  else
24579
 
    $as_unset $as_var
 
26285
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24580
26286
  fi
24581
26287
done
24582
26288
 
24583
26289
# Required to use basename.
24584
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
26290
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
26291
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24585
26292
  as_expr=expr
24586
26293
else
24587
26294
  as_expr=false
24588
26295
fi
24589
26296
 
24590
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
26297
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24591
26298
  as_basename=basename
24592
26299
else
24593
26300
  as_basename=false
24595
26302
 
24596
26303
 
24597
26304
# Name of the executable.
24598
 
as_me=`$as_basename "$0" ||
 
26305
as_me=`$as_basename -- "$0" ||
24599
26306
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24600
26307
         X"$0" : 'X\(//\)$' \| \
24601
 
         X"$0" : 'X\(/\)$' \| \
24602
 
         .     : '\(.\)' 2>/dev/null ||
 
26308
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24603
26309
echo X/"$0" |
24604
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24605
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
24606
 
          /^X\/\(\/\).*/{ s//\1/; q; }
24607
 
          s/.*/./; q'`
24608
 
 
24609
 
 
24610
 
# PATH needs CR, and LINENO needs CR and PATH.
24611
 
# Avoid depending upon Character Ranges.
24612
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24613
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24614
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24615
 
as_cr_digits='0123456789'
24616
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
24617
 
 
24618
 
# The user is always right.
24619
 
if test "${PATH_SEPARATOR+set}" != set; then
24620
 
  echo "#! /bin/sh" >conf$$.sh
24621
 
  echo  "exit 0"   >>conf$$.sh
24622
 
  chmod +x conf$$.sh
24623
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24624
 
    PATH_SEPARATOR=';'
24625
 
  else
24626
 
    PATH_SEPARATOR=:
24627
 
  fi
24628
 
  rm -f conf$$.sh
24629
 
fi
24630
 
 
24631
 
 
24632
 
  as_lineno_1=$LINENO
24633
 
  as_lineno_2=$LINENO
24634
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24635
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
24636
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
24637
 
  # Find who we are.  Look in the path if we contain no path at all
24638
 
  # relative or not.
24639
 
  case $0 in
24640
 
    *[\\/]* ) as_myself=$0 ;;
24641
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24642
 
for as_dir in $PATH
24643
 
do
24644
 
  IFS=$as_save_IFS
24645
 
  test -z "$as_dir" && as_dir=.
24646
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24647
 
done
24648
 
 
24649
 
       ;;
24650
 
  esac
24651
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
24652
 
  # in which case we are not to be found in the path.
24653
 
  if test "x$as_myself" = x; then
24654
 
    as_myself=$0
24655
 
  fi
24656
 
  if test ! -f "$as_myself"; then
24657
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24658
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24659
 
   { (exit 1); exit 1; }; }
24660
 
  fi
24661
 
  case $CONFIG_SHELL in
24662
 
  '')
24663
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24664
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24665
 
do
24666
 
  IFS=$as_save_IFS
24667
 
  test -z "$as_dir" && as_dir=.
24668
 
  for as_base in sh bash ksh sh5; do
24669
 
         case $as_dir in
24670
 
         /*)
24671
 
           if ("$as_dir/$as_base" -c '
24672
 
  as_lineno_1=$LINENO
24673
 
  as_lineno_2=$LINENO
24674
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24675
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
24676
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
24677
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24678
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24679
 
             CONFIG_SHELL=$as_dir/$as_base
24680
 
             export CONFIG_SHELL
24681
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24682
 
           fi;;
24683
 
         esac
24684
 
       done
24685
 
done
24686
 
;;
24687
 
  esac
 
26310
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
26311
            s//\1/
 
26312
            q
 
26313
          }
 
26314
          /^X\/\(\/\/\)$/{
 
26315
            s//\1/
 
26316
            q
 
26317
          }
 
26318
          /^X\/\(\/\).*/{
 
26319
            s//\1/
 
26320
            q
 
26321
          }
 
26322
          s/.*/./; q'`
 
26323
 
 
26324
# CDPATH.
 
26325
$as_unset CDPATH
 
26326
 
 
26327
 
 
26328
 
 
26329
  as_lineno_1=$LINENO
 
26330
  as_lineno_2=$LINENO
 
26331
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
26332
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24688
26333
 
24689
26334
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24690
26335
  # uniformly replaced by the line number.  The first 'sed' inserts a
24691
 
  # line-number line before each line; the second 'sed' does the real
24692
 
  # work.  The second script uses 'N' to pair each line-number line
24693
 
  # with the numbered line, and appends trailing '-' during
24694
 
  # substitution so that $LINENO is not a special case at line end.
 
26336
  # line-number line after each line using $LINENO; the second 'sed'
 
26337
  # does the real work.  The second script uses 'N' to pair each
 
26338
  # line-number line with the line containing $LINENO, and appends
 
26339
  # trailing '-' during substitution so that $LINENO is not a special
 
26340
  # case at line end.
24695
26341
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24696
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
24697
 
  sed '=' <$as_myself |
 
26342
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
26343
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
26344
  sed -n '
 
26345
    p
 
26346
    /[$]LINENO/=
 
26347
  ' <$as_myself |
24698
26348
    sed '
 
26349
      s/[$]LINENO.*/&-/
 
26350
      t lineno
 
26351
      b
 
26352
      :lineno
24699
26353
      N
24700
 
      s,$,-,
24701
 
      : loop
24702
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
26354
      :loop
 
26355
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24703
26356
      t loop
24704
 
      s,-$,,
24705
 
      s,^['$as_cr_digits']*\n,,
 
26357
      s/-\n.*//
24706
26358
    ' >$as_me.lineno &&
24707
 
  chmod +x $as_me.lineno ||
24708
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24709
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
26359
  chmod +x "$as_me.lineno" ||
 
26360
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24710
26361
   { (exit 1); exit 1; }; }
24711
26362
 
24712
26363
  # Don't try to exec as it changes $[0], causing all sort of problems
24713
26364
  # (the dirname of $[0] is not the place where we might find the
24714
 
  # original and so on.  Autoconf is especially sensible to this).
24715
 
  . ./$as_me.lineno
 
26365
  # original and so on.  Autoconf is especially sensitive to this).
 
26366
  . "./$as_me.lineno"
24716
26367
  # Exit status is that of the last command.
24717
26368
  exit
24718
26369
}
24719
26370
 
24720
26371
 
24721
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24722
 
  *c*,-n*) ECHO_N= ECHO_C='
24723
 
' ECHO_T='      ' ;;
24724
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24725
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
26372
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
26373
  as_dirname=dirname
 
26374
else
 
26375
  as_dirname=false
 
26376
fi
 
26377
 
 
26378
ECHO_C= ECHO_N= ECHO_T=
 
26379
case `echo -n x` in
 
26380
-n*)
 
26381
  case `echo 'x\c'` in
 
26382
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
26383
  *)   ECHO_C='\c';;
 
26384
  esac;;
 
26385
*)
 
26386
  ECHO_N='-n';;
24726
26387
esac
24727
26388
 
24728
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
26389
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
26390
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24729
26391
  as_expr=expr
24730
26392
else
24731
26393
  as_expr=false
24732
26394
fi
24733
26395
 
24734
26396
rm -f conf$$ conf$$.exe conf$$.file
 
26397
if test -d conf$$.dir; then
 
26398
  rm -f conf$$.dir/conf$$.file
 
26399
else
 
26400
  rm -f conf$$.dir
 
26401
  mkdir conf$$.dir
 
26402
fi
24735
26403
echo >conf$$.file
24736
26404
if ln -s conf$$.file conf$$ 2>/dev/null; then
24737
 
  # We could just check for DJGPP; but this test a) works b) is more generic
24738
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24739
 
  if test -f conf$$.exe; then
24740
 
    # Don't use ln at all; we don't have any links
 
26405
  as_ln_s='ln -s'
 
26406
  # ... but there are two gotchas:
 
26407
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
26408
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
26409
  # In both cases, we have to default to `cp -p'.
 
26410
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24741
26411
    as_ln_s='cp -p'
24742
 
  else
24743
 
    as_ln_s='ln -s'
24744
 
  fi
24745
26412
elif ln conf$$.file conf$$ 2>/dev/null; then
24746
26413
  as_ln_s=ln
24747
26414
else
24748
26415
  as_ln_s='cp -p'
24749
26416
fi
24750
 
rm -f conf$$ conf$$.exe conf$$.file
 
26417
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
26418
rmdir conf$$.dir 2>/dev/null
24751
26419
 
24752
26420
if mkdir -p . 2>/dev/null; then
24753
26421
  as_mkdir_p=:
24756
26424
  as_mkdir_p=false
24757
26425
fi
24758
26426
 
24759
 
as_executable_p="test -f"
 
26427
if test -x / >/dev/null 2>&1; then
 
26428
  as_test_x='test -x'
 
26429
else
 
26430
  if ls -dL / >/dev/null 2>&1; then
 
26431
    as_ls_L_option=L
 
26432
  else
 
26433
    as_ls_L_option=
 
26434
  fi
 
26435
  as_test_x='
 
26436
    eval sh -c '\''
 
26437
      if test -d "$1"; then
 
26438
        test -d "$1/.";
 
26439
      else
 
26440
        case $1 in
 
26441
        -*)set "./$1";;
 
26442
        esac;
 
26443
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
26444
        ???[sx]*):;;*)false;;esac;fi
 
26445
    '\'' sh
 
26446
  '
 
26447
fi
 
26448
as_executable_p=$as_test_x
24760
26449
 
24761
26450
# Sed expression to map a string onto a valid CPP name.
24762
26451
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24765
26454
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24766
26455
 
24767
26456
 
24768
 
# IFS
24769
 
# We need space, tab and new line, in precisely that order.
24770
 
as_nl='
24771
 
'
24772
 
IFS="   $as_nl"
24773
 
 
24774
 
# CDPATH.
24775
 
$as_unset CDPATH
24776
 
 
24777
26457
exec 6>&1
24778
26458
 
24779
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
26459
# Save the log message, to keep $[0] and so on meaningful, and to
24780
26460
# report actual input values of CONFIG_FILES etc. instead of their
24781
 
# values after options handling.  Logging --version etc. is OK.
24782
 
exec 5>>config.log
24783
 
{
24784
 
  echo
24785
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24786
 
## Running $as_me. ##
24787
 
_ASBOX
24788
 
} >&5
24789
 
cat >&5 <<_CSEOF
24790
 
 
24791
 
This file was extended by easytag $as_me 1.99.12, which was
24792
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
26461
# values after options handling.
 
26462
ac_log="
 
26463
This file was extended by easytag $as_me 2.1.4, which was
 
26464
generated by GNU Autoconf 2.61.  Invocation command line was
24793
26465
 
24794
26466
  CONFIG_FILES    = $CONFIG_FILES
24795
26467
  CONFIG_HEADERS  = $CONFIG_HEADERS
24797
26469
  CONFIG_COMMANDS = $CONFIG_COMMANDS
24798
26470
  $ $0 $@
24799
26471
 
24800
 
_CSEOF
24801
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24802
 
echo >&5
 
26472
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
26473
"
 
26474
 
24803
26475
_ACEOF
24804
26476
 
 
26477
cat >>$CONFIG_STATUS <<_ACEOF
24805
26478
# Files that config.status was made for.
24806
 
if test -n "$ac_config_files"; then
24807
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24808
 
fi
24809
 
 
24810
 
if test -n "$ac_config_headers"; then
24811
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24812
 
fi
24813
 
 
24814
 
if test -n "$ac_config_links"; then
24815
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24816
 
fi
24817
 
 
24818
 
if test -n "$ac_config_commands"; then
24819
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24820
 
fi
 
26479
config_files="$ac_config_files"
 
26480
config_headers="$ac_config_headers"
 
26481
config_commands="$ac_config_commands"
 
26482
 
 
26483
_ACEOF
24821
26484
 
24822
26485
cat >>$CONFIG_STATUS <<\_ACEOF
24823
 
 
24824
26486
ac_cs_usage="\
24825
26487
\`$as_me' instantiates files from templates according to the
24826
26488
current configuration.
24828
26490
Usage: $0 [OPTIONS] [FILE]...
24829
26491
 
24830
26492
  -h, --help       print this help, then exit
24831
 
  -V, --version    print version number, then exit
 
26493
  -V, --version    print version number and configuration settings, then exit
24832
26494
  -q, --quiet      do not print progress messages
24833
26495
  -d, --debug      don't remove temporary files
24834
26496
      --recheck    update $as_me by reconfiguring in the same conditions
24847
26509
$config_commands
24848
26510
 
24849
26511
Report bugs to <bug-autoconf@gnu.org>."
 
26512
 
24850
26513
_ACEOF
24851
 
 
24852
26514
cat >>$CONFIG_STATUS <<_ACEOF
24853
26515
ac_cs_version="\\
24854
 
easytag config.status 1.99.12
24855
 
configured by $0, generated by GNU Autoconf 2.59,
24856
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
26516
easytag config.status 2.1.4
 
26517
configured by $0, generated by GNU Autoconf 2.61,
 
26518
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24857
26519
 
24858
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
26520
Copyright (C) 2006 Free Software Foundation, Inc.
24859
26521
This config.status script is free software; the Free Software Foundation
24860
26522
gives unlimited permission to copy, distribute and modify it."
24861
 
srcdir=$srcdir
24862
 
INSTALL="$INSTALL"
 
26523
 
 
26524
ac_pwd='$ac_pwd'
 
26525
srcdir='$srcdir'
 
26526
INSTALL='$INSTALL'
 
26527
MKDIR_P='$MKDIR_P'
24863
26528
_ACEOF
24864
26529
 
24865
26530
cat >>$CONFIG_STATUS <<\_ACEOF
24870
26535
do
24871
26536
  case $1 in
24872
26537
  --*=*)
24873
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
24874
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
26538
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
26539
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24875
26540
    ac_shift=:
24876
26541
    ;;
24877
 
  -*)
 
26542
  *)
24878
26543
    ac_option=$1
24879
26544
    ac_optarg=$2
24880
26545
    ac_shift=shift
24881
26546
    ;;
24882
 
  *) # This is not an option, so the user has probably given explicit
24883
 
     # arguments.
24884
 
     ac_option=$1
24885
 
     ac_need_defaults=false;;
24886
26547
  esac
24887
26548
 
24888
26549
  case $ac_option in
24889
26550
  # Handling of the options.
24890
 
_ACEOF
24891
 
cat >>$CONFIG_STATUS <<\_ACEOF
24892
26551
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24893
26552
    ac_cs_recheck=: ;;
24894
 
  --version | --vers* | -V )
24895
 
    echo "$ac_cs_version"; exit 0 ;;
24896
 
  --he | --h)
24897
 
    # Conflict between --help and --header
24898
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
24899
 
Try \`$0 --help' for more information." >&5
24900
 
echo "$as_me: error: ambiguous option: $1
24901
 
Try \`$0 --help' for more information." >&2;}
24902
 
   { (exit 1); exit 1; }; };;
24903
 
  --help | --hel | -h )
24904
 
    echo "$ac_cs_usage"; exit 0 ;;
24905
 
  --debug | --d* | -d )
 
26553
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
26554
    echo "$ac_cs_version"; exit ;;
 
26555
  --debug | --debu | --deb | --de | --d | -d )
24906
26556
    debug=: ;;
24907
26557
  --file | --fil | --fi | --f )
24908
26558
    $ac_shift
24912
26562
    $ac_shift
24913
26563
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24914
26564
    ac_need_defaults=false;;
 
26565
  --he | --h)
 
26566
    # Conflict between --help and --header
 
26567
    { echo "$as_me: error: ambiguous option: $1
 
26568
Try \`$0 --help' for more information." >&2
 
26569
   { (exit 1); exit 1; }; };;
 
26570
  --help | --hel | -h )
 
26571
    echo "$ac_cs_usage"; exit ;;
24915
26572
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24916
26573
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24917
26574
    ac_cs_silent=: ;;
24918
26575
 
24919
26576
  # This is an error.
24920
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24921
 
Try \`$0 --help' for more information." >&5
24922
 
echo "$as_me: error: unrecognized option: $1
24923
 
Try \`$0 --help' for more information." >&2;}
 
26577
  -*) { echo "$as_me: error: unrecognized option: $1
 
26578
Try \`$0 --help' for more information." >&2
24924
26579
   { (exit 1); exit 1; }; } ;;
24925
26580
 
24926
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
26581
  *) ac_config_targets="$ac_config_targets $1"
 
26582
     ac_need_defaults=false ;;
24927
26583
 
24928
26584
  esac
24929
26585
  shift
24939
26595
_ACEOF
24940
26596
cat >>$CONFIG_STATUS <<_ACEOF
24941
26597
if \$ac_cs_recheck; then
24942
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24943
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
26598
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
26599
  CONFIG_SHELL=$SHELL
 
26600
  export CONFIG_SHELL
 
26601
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24944
26602
fi
24945
26603
 
24946
26604
_ACEOF
 
26605
cat >>$CONFIG_STATUS <<\_ACEOF
 
26606
exec 5>>config.log
 
26607
{
 
26608
  echo
 
26609
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
26610
## Running $as_me. ##
 
26611
_ASBOX
 
26612
  echo "$ac_log"
 
26613
} >&5
24947
26614
 
 
26615
_ACEOF
24948
26616
cat >>$CONFIG_STATUS <<_ACEOF
24949
26617
#
24950
 
# INIT-COMMANDS section.
 
26618
# INIT-COMMANDS
24951
26619
#
24952
 
 
24953
26620
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24954
26621
 
24955
26622
 
24956
26623
_ACEOF
24957
26624
 
24958
 
 
24959
 
 
24960
26625
cat >>$CONFIG_STATUS <<\_ACEOF
 
26626
 
 
26627
# Handling of arguments.
24961
26628
for ac_config_target in $ac_config_targets
24962
26629
do
24963
 
  case "$ac_config_target" in
24964
 
  # Handling of arguments.
24965
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24966
 
  "easytag.spec" ) CONFIG_FILES="$CONFIG_FILES easytag.spec" ;;
24967
 
  "doc/easytag.1" ) CONFIG_FILES="$CONFIG_FILES doc/easytag.1" ;;
24968
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24969
 
  "src/id3lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/id3lib/Makefile" ;;
24970
 
  "src/libapetag/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libapetag/Makefile" ;;
24971
 
  "src/libmpg123/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libmpg123/Makefile" ;;
24972
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24973
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24974
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24975
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
26630
  case $ac_config_target in
 
26631
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
26632
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
26633
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
26634
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
26635
    "easytag.spec") CONFIG_FILES="$CONFIG_FILES easytag.spec" ;;
 
26636
    "doc/easytag.1") CONFIG_FILES="$CONFIG_FILES doc/easytag.1" ;;
 
26637
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
26638
    "src/id3lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/id3lib/Makefile" ;;
 
26639
    "src/libapetag/Makefile") CONFIG_FILES="$CONFIG_FILES src/libapetag/Makefile" ;;
 
26640
    "src/libmpg123/Makefile") CONFIG_FILES="$CONFIG_FILES src/libmpg123/Makefile" ;;
 
26641
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
26642
 
24976
26643
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24977
26644
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24978
26645
   { (exit 1); exit 1; }; };;
24979
26646
  esac
24980
26647
done
24981
26648
 
 
26649
 
24982
26650
# If the user did not use the arguments to specify the items to instantiate,
24983
26651
# then the envvar interface is used.  Set only those that are not.
24984
26652
# We use the long form for the default assignment because of an extremely
24990
26658
fi
24991
26659
 
24992
26660
# Have a temporary directory for convenience.  Make it in the build tree
24993
 
# simply because there is no reason to put it here, and in addition,
 
26661
# simply because there is no reason against having it here, and in addition,
24994
26662
# creating and moving files from /tmp can sometimes cause problems.
24995
 
# Create a temporary directory, and hook for its removal unless debugging.
 
26663
# Hook for its removal unless debugging.
 
26664
# Note that there is a small window in which the directory will not be cleaned:
 
26665
# after its creation but before its name has been assigned to `$tmp'.
24996
26666
$debug ||
24997
26667
{
24998
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
26668
  tmp=
 
26669
  trap 'exit_status=$?
 
26670
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
26671
' 0
24999
26672
  trap '{ (exit 1); exit 1; }' 1 2 13 15
25000
26673
}
25001
 
 
25002
26674
# Create a (secure) tmp directory for tmp files.
25003
26675
 
25004
26676
{
25005
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
26677
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25006
26678
  test -n "$tmp" && test -d "$tmp"
25007
26679
}  ||
25008
26680
{
25009
 
  tmp=./confstat$$-$RANDOM
25010
 
  (umask 077 && mkdir $tmp)
 
26681
  tmp=./conf$$-$RANDOM
 
26682
  (umask 077 && mkdir "$tmp")
25011
26683
} ||
25012
26684
{
25013
26685
   echo "$me: cannot create a temporary directory in ." >&2
25014
26686
   { (exit 1); exit 1; }
25015
26687
}
25016
26688
 
25017
 
_ACEOF
25018
 
 
25019
 
cat >>$CONFIG_STATUS <<_ACEOF
25020
 
 
25021
26689
#
25022
 
# CONFIG_FILES section.
 
26690
# Set up the sed scripts for CONFIG_FILES section.
25023
26691
#
25024
26692
 
25025
26693
# No need to generate the scripts if there are no CONFIG_FILES.
25026
26694
# This happens for instance when ./config.status config.h
25027
 
if test -n "\$CONFIG_FILES"; then
25028
 
  # Protect against being on the right side of a sed subst in config.status.
25029
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25030
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25031
 
s,@SHELL@,$SHELL,;t t
25032
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25033
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25034
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25035
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25036
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25037
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25038
 
s,@exec_prefix@,$exec_prefix,;t t
25039
 
s,@prefix@,$prefix,;t t
25040
 
s,@program_transform_name@,$program_transform_name,;t t
25041
 
s,@bindir@,$bindir,;t t
25042
 
s,@sbindir@,$sbindir,;t t
25043
 
s,@libexecdir@,$libexecdir,;t t
25044
 
s,@datadir@,$datadir,;t t
25045
 
s,@sysconfdir@,$sysconfdir,;t t
25046
 
s,@sharedstatedir@,$sharedstatedir,;t t
25047
 
s,@localstatedir@,$localstatedir,;t t
25048
 
s,@libdir@,$libdir,;t t
25049
 
s,@includedir@,$includedir,;t t
25050
 
s,@oldincludedir@,$oldincludedir,;t t
25051
 
s,@infodir@,$infodir,;t t
25052
 
s,@mandir@,$mandir,;t t
25053
 
s,@build_alias@,$build_alias,;t t
25054
 
s,@host_alias@,$host_alias,;t t
25055
 
s,@target_alias@,$target_alias,;t t
25056
 
s,@DEFS@,$DEFS,;t t
25057
 
s,@ECHO_C@,$ECHO_C,;t t
25058
 
s,@ECHO_N@,$ECHO_N,;t t
25059
 
s,@ECHO_T@,$ECHO_T,;t t
25060
 
s,@LIBS@,$LIBS,;t t
25061
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25062
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25063
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25064
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
25065
 
s,@PACKAGE@,$PACKAGE,;t t
25066
 
s,@VERSION@,$VERSION,;t t
25067
 
s,@ACLOCAL@,$ACLOCAL,;t t
25068
 
s,@AUTOCONF@,$AUTOCONF,;t t
25069
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
25070
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
25071
 
s,@MAKEINFO@,$MAKEINFO,;t t
25072
 
s,@install_sh@,$install_sh,;t t
25073
 
s,@STRIP@,$STRIP,;t t
25074
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25075
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25076
 
s,@mkdir_p@,$mkdir_p,;t t
25077
 
s,@AWK@,$AWK,;t t
25078
 
s,@SET_MAKE@,$SET_MAKE,;t t
25079
 
s,@am__leading_dot@,$am__leading_dot,;t t
25080
 
s,@AMTAR@,$AMTAR,;t t
25081
 
s,@am__tar@,$am__tar,;t t
25082
 
s,@am__untar@,$am__untar,;t t
25083
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
25084
 
s,@CC@,$CC,;t t
25085
 
s,@CFLAGS@,$CFLAGS,;t t
25086
 
s,@LDFLAGS@,$LDFLAGS,;t t
25087
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
25088
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
25089
 
s,@EXEEXT@,$EXEEXT,;t t
25090
 
s,@OBJEXT@,$OBJEXT,;t t
25091
 
s,@DEPDIR@,$DEPDIR,;t t
25092
 
s,@am__include@,$am__include,;t t
25093
 
s,@am__quote@,$am__quote,;t t
25094
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25095
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25096
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25097
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
25098
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25099
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25100
 
s,@CXX@,$CXX,;t t
25101
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
25102
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
25103
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
25104
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
25105
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
25106
 
s,@CXXCPP@,$CXXCPP,;t t
25107
 
s,@build@,$build,;t t
25108
 
s,@build_cpu@,$build_cpu,;t t
25109
 
s,@build_vendor@,$build_vendor,;t t
25110
 
s,@build_os@,$build_os,;t t
25111
 
s,@host@,$host,;t t
25112
 
s,@host_cpu@,$host_cpu,;t t
25113
 
s,@host_vendor@,$host_vendor,;t t
25114
 
s,@host_os@,$host_os,;t t
25115
 
s,@EGREP@,$EGREP,;t t
25116
 
s,@LN_S@,$LN_S,;t t
25117
 
s,@ECHO@,$ECHO,;t t
25118
 
s,@AR@,$AR,;t t
25119
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
25120
 
s,@RANLIB@,$RANLIB,;t t
25121
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25122
 
s,@CPP@,$CPP,;t t
25123
 
s,@F77@,$F77,;t t
25124
 
s,@FFLAGS@,$FFLAGS,;t t
25125
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
25126
 
s,@LIBTOOL@,$LIBTOOL,;t t
25127
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25128
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25129
 
s,@MAINT@,$MAINT,;t t
25130
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
25131
 
s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
25132
 
s,@GLIB_LIBS@,$GLIB_LIBS,;t t
25133
 
s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
25134
 
s,@GOBJECT_QUERY@,$GOBJECT_QUERY,;t t
25135
 
s,@GLIB_MKENUMS@,$GLIB_MKENUMS,;t t
25136
 
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
25137
 
s,@GTK_LIBS@,$GTK_LIBS,;t t
25138
 
s,@LIBOBJS@,$LIBOBJS,;t t
25139
 
s,@USE_NLS@,$USE_NLS,;t t
25140
 
s,@MSGFMT@,$MSGFMT,;t t
25141
 
s,@GMSGFMT@,$GMSGFMT,;t t
25142
 
s,@XGETTEXT@,$XGETTEXT,;t t
25143
 
s,@CATALOGS@,$CATALOGS,;t t
25144
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
25145
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
25146
 
s,@GMOFILES@,$GMOFILES,;t t
25147
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
25148
 
s,@INTLLIBS@,$INTLLIBS,;t t
25149
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
25150
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
25151
 
s,@POFILES@,$POFILES,;t t
25152
 
s,@POSUB@,$POSUB,;t t
25153
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
25154
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25155
 
CEOF
25156
 
 
25157
 
_ACEOF
25158
 
 
25159
 
  cat >>$CONFIG_STATUS <<\_ACEOF
25160
 
  # Split the substitutions into bite-sized pieces for seds with
25161
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
25162
 
  ac_max_sed_lines=48
25163
 
  ac_sed_frag=1 # Number of current file.
25164
 
  ac_beg=1 # First line for current file.
25165
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
25166
 
  ac_more_lines=:
25167
 
  ac_sed_cmds=
25168
 
  while $ac_more_lines; do
25169
 
    if test $ac_beg -gt 1; then
25170
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25171
 
    else
25172
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25173
 
    fi
25174
 
    if test ! -s $tmp/subs.frag; then
25175
 
      ac_more_lines=false
25176
 
    else
25177
 
      # The purpose of the label and of the branching condition is to
25178
 
      # speed up the sed processing (if there are no `@' at all, there
25179
 
      # is no need to browse any of the substitutions).
25180
 
      # These are the two extra sed commands mentioned above.
25181
 
      (echo ':t
25182
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25183
 
      if test -z "$ac_sed_cmds"; then
25184
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25185
 
      else
25186
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25187
 
      fi
25188
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
25189
 
      ac_beg=$ac_end
25190
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
25191
 
    fi
25192
 
  done
25193
 
  if test -z "$ac_sed_cmds"; then
25194
 
    ac_sed_cmds=cat
25195
 
  fi
 
26695
if test -n "$CONFIG_FILES"; then
 
26696
 
 
26697
_ACEOF
 
26698
 
 
26699
 
 
26700
 
 
26701
ac_delim='%!_!# '
 
26702
for ac_last_try in false false false false false :; do
 
26703
  cat >conf$$subs.sed <<_ACEOF
 
26704
SHELL!$SHELL$ac_delim
 
26705
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
26706
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
26707
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
26708
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
26709
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
26710
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
26711
exec_prefix!$exec_prefix$ac_delim
 
26712
prefix!$prefix$ac_delim
 
26713
program_transform_name!$program_transform_name$ac_delim
 
26714
bindir!$bindir$ac_delim
 
26715
sbindir!$sbindir$ac_delim
 
26716
libexecdir!$libexecdir$ac_delim
 
26717
datarootdir!$datarootdir$ac_delim
 
26718
datadir!$datadir$ac_delim
 
26719
sysconfdir!$sysconfdir$ac_delim
 
26720
sharedstatedir!$sharedstatedir$ac_delim
 
26721
localstatedir!$localstatedir$ac_delim
 
26722
includedir!$includedir$ac_delim
 
26723
oldincludedir!$oldincludedir$ac_delim
 
26724
docdir!$docdir$ac_delim
 
26725
infodir!$infodir$ac_delim
 
26726
htmldir!$htmldir$ac_delim
 
26727
dvidir!$dvidir$ac_delim
 
26728
pdfdir!$pdfdir$ac_delim
 
26729
psdir!$psdir$ac_delim
 
26730
libdir!$libdir$ac_delim
 
26731
localedir!$localedir$ac_delim
 
26732
mandir!$mandir$ac_delim
 
26733
DEFS!$DEFS$ac_delim
 
26734
ECHO_C!$ECHO_C$ac_delim
 
26735
ECHO_N!$ECHO_N$ac_delim
 
26736
ECHO_T!$ECHO_T$ac_delim
 
26737
LIBS!$LIBS$ac_delim
 
26738
build_alias!$build_alias$ac_delim
 
26739
host_alias!$host_alias$ac_delim
 
26740
target_alias!$target_alias$ac_delim
 
26741
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
26742
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
26743
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
26744
am__isrc!$am__isrc$ac_delim
 
26745
CYGPATH_W!$CYGPATH_W$ac_delim
 
26746
PACKAGE!$PACKAGE$ac_delim
 
26747
VERSION!$VERSION$ac_delim
 
26748
ACLOCAL!$ACLOCAL$ac_delim
 
26749
AUTOCONF!$AUTOCONF$ac_delim
 
26750
AUTOMAKE!$AUTOMAKE$ac_delim
 
26751
AUTOHEADER!$AUTOHEADER$ac_delim
 
26752
MAKEINFO!$MAKEINFO$ac_delim
 
26753
install_sh!$install_sh$ac_delim
 
26754
STRIP!$STRIP$ac_delim
 
26755
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
26756
mkdir_p!$mkdir_p$ac_delim
 
26757
AWK!$AWK$ac_delim
 
26758
SET_MAKE!$SET_MAKE$ac_delim
 
26759
am__leading_dot!$am__leading_dot$ac_delim
 
26760
AMTAR!$AMTAR$ac_delim
 
26761
am__tar!$am__tar$ac_delim
 
26762
am__untar!$am__untar$ac_delim
 
26763
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 
26764
CC!$CC$ac_delim
 
26765
CFLAGS!$CFLAGS$ac_delim
 
26766
LDFLAGS!$LDFLAGS$ac_delim
 
26767
CPPFLAGS!$CPPFLAGS$ac_delim
 
26768
ac_ct_CC!$ac_ct_CC$ac_delim
 
26769
EXEEXT!$EXEEXT$ac_delim
 
26770
OBJEXT!$OBJEXT$ac_delim
 
26771
DEPDIR!$DEPDIR$ac_delim
 
26772
am__include!$am__include$ac_delim
 
26773
am__quote!$am__quote$ac_delim
 
26774
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
26775
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
26776
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
26777
CCDEPMODE!$CCDEPMODE$ac_delim
 
26778
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
26779
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
26780
CXX!$CXX$ac_delim
 
26781
CXXFLAGS!$CXXFLAGS$ac_delim
 
26782
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
26783
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
26784
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
26785
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
26786
CXXCPP!$CXXCPP$ac_delim
 
26787
build!$build$ac_delim
 
26788
build_cpu!$build_cpu$ac_delim
 
26789
build_vendor!$build_vendor$ac_delim
 
26790
build_os!$build_os$ac_delim
 
26791
host!$host$ac_delim
 
26792
host_cpu!$host_cpu$ac_delim
 
26793
host_vendor!$host_vendor$ac_delim
 
26794
host_os!$host_os$ac_delim
 
26795
SED!$SED$ac_delim
 
26796
GREP!$GREP$ac_delim
 
26797
EGREP!$EGREP$ac_delim
 
26798
LN_S!$LN_S$ac_delim
 
26799
ECHO!$ECHO$ac_delim
 
26800
AR!$AR$ac_delim
 
26801
_ACEOF
 
26802
 
 
26803
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
26804
    break
 
26805
  elif $ac_last_try; then
 
26806
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
26807
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
26808
   { (exit 1); exit 1; }; }
 
26809
  else
 
26810
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
26811
  fi
 
26812
done
 
26813
 
 
26814
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
26815
if test -n "$ac_eof"; then
 
26816
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
26817
  ac_eof=`expr $ac_eof + 1`
 
26818
fi
 
26819
 
 
26820
cat >>$CONFIG_STATUS <<_ACEOF
 
26821
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
26822
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
26823
_ACEOF
 
26824
sed '
 
26825
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
26826
s/^/s,@/; s/!/@,|#_!!_#|/
 
26827
:n
 
26828
t n
 
26829
s/'"$ac_delim"'$/,g/; t
 
26830
s/$/\\/; p
 
26831
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
26832
' >>$CONFIG_STATUS <conf$$subs.sed
 
26833
rm -f conf$$subs.sed
 
26834
cat >>$CONFIG_STATUS <<_ACEOF
 
26835
CEOF$ac_eof
 
26836
_ACEOF
 
26837
 
 
26838
 
 
26839
ac_delim='%!_!# '
 
26840
for ac_last_try in false false false false false :; do
 
26841
  cat >conf$$subs.sed <<_ACEOF
 
26842
RANLIB!$RANLIB$ac_delim
 
26843
CPP!$CPP$ac_delim
 
26844
F77!$F77$ac_delim
 
26845
FFLAGS!$FFLAGS$ac_delim
 
26846
ac_ct_F77!$ac_ct_F77$ac_delim
 
26847
LIBTOOL!$LIBTOOL$ac_delim
 
26848
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
26849
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
26850
MAINT!$MAINT$ac_delim
 
26851
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
26852
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
 
26853
GLIB_LIBS!$GLIB_LIBS$ac_delim
 
26854
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
 
26855
GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
 
26856
GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
 
26857
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
 
26858
GTK_LIBS!$GTK_LIBS$ac_delim
 
26859
OGG_CFLAGS!$OGG_CFLAGS$ac_delim
 
26860
OGG_LIBS!$OGG_LIBS$ac_delim
 
26861
VORBIS_CFLAGS!$VORBIS_CFLAGS$ac_delim
 
26862
VORBIS_LIBS!$VORBIS_LIBS$ac_delim
 
26863
WAVPACK_CFLAGS!$WAVPACK_CFLAGS$ac_delim
 
26864
WAVPACK_LIBS!$WAVPACK_LIBS$ac_delim
 
26865
LIBOBJS!$LIBOBJS$ac_delim
 
26866
USE_NLS!$USE_NLS$ac_delim
 
26867
MSGFMT!$MSGFMT$ac_delim
 
26868
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
 
26869
GMSGFMT!$GMSGFMT$ac_delim
 
26870
XGETTEXT!$XGETTEXT$ac_delim
 
26871
CATALOGS!$CATALOGS$ac_delim
 
26872
CATOBJEXT!$CATOBJEXT$ac_delim
 
26873
DATADIRNAME!$DATADIRNAME$ac_delim
 
26874
GMOFILES!$GMOFILES$ac_delim
 
26875
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
26876
INTLLIBS!$INTLLIBS$ac_delim
 
26877
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 
26878
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 
26879
POFILES!$POFILES$ac_delim
 
26880
POSUB!$POSUB$ac_delim
 
26881
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
26882
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
26883
_ACEOF
 
26884
 
 
26885
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
 
26886
    break
 
26887
  elif $ac_last_try; then
 
26888
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
26889
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
26890
   { (exit 1); exit 1; }; }
 
26891
  else
 
26892
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
26893
  fi
 
26894
done
 
26895
 
 
26896
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
26897
if test -n "$ac_eof"; then
 
26898
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
26899
  ac_eof=`expr $ac_eof + 1`
 
26900
fi
 
26901
 
 
26902
cat >>$CONFIG_STATUS <<_ACEOF
 
26903
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
26904
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
26905
_ACEOF
 
26906
sed '
 
26907
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
26908
s/^/s,@/; s/!/@,|#_!!_#|/
 
26909
:n
 
26910
t n
 
26911
s/'"$ac_delim"'$/,g/; t
 
26912
s/$/\\/; p
 
26913
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
26914
' >>$CONFIG_STATUS <conf$$subs.sed
 
26915
rm -f conf$$subs.sed
 
26916
cat >>$CONFIG_STATUS <<_ACEOF
 
26917
:end
 
26918
s/|#_!!_#|//g
 
26919
CEOF$ac_eof
 
26920
_ACEOF
 
26921
 
 
26922
 
 
26923
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
26924
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
26925
# trailing colons and then remove the whole line if VPATH becomes empty
 
26926
# (actually we leave an empty line to preserve line numbers).
 
26927
if test "x$srcdir" = x.; then
 
26928
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
26929
s/:*\$(srcdir):*/:/
 
26930
s/:*\${srcdir}:*/:/
 
26931
s/:*@srcdir@:*/:/
 
26932
s/^\([^=]*=[     ]*\):*/\1/
 
26933
s/:*$//
 
26934
s/^[^=]*=[       ]*$//
 
26935
}'
 
26936
fi
 
26937
 
 
26938
cat >>$CONFIG_STATUS <<\_ACEOF
25196
26939
fi # test -n "$CONFIG_FILES"
25197
26940
 
25198
 
_ACEOF
25199
 
cat >>$CONFIG_STATUS <<\_ACEOF
25200
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25201
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25202
 
  case $ac_file in
25203
 
  - | *:- | *:-:* ) # input from stdin
25204
 
        cat >$tmp/stdin
25205
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25206
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25207
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25208
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25209
 
  * )   ac_file_in=$ac_file.in ;;
25210
 
  esac
25211
 
 
25212
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25213
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
26941
 
 
26942
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
26943
do
 
26944
  case $ac_tag in
 
26945
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
26946
  esac
 
26947
  case $ac_mode$ac_tag in
 
26948
  :[FHL]*:*);;
 
26949
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
26950
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
26951
   { (exit 1); exit 1; }; };;
 
26952
  :[FH]-) ac_tag=-:-;;
 
26953
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
26954
  esac
 
26955
  ac_save_IFS=$IFS
 
26956
  IFS=:
 
26957
  set x $ac_tag
 
26958
  IFS=$ac_save_IFS
 
26959
  shift
 
26960
  ac_file=$1
 
26961
  shift
 
26962
 
 
26963
  case $ac_mode in
 
26964
  :L) ac_source=$1;;
 
26965
  :[FH])
 
26966
    ac_file_inputs=
 
26967
    for ac_f
 
26968
    do
 
26969
      case $ac_f in
 
26970
      -) ac_f="$tmp/stdin";;
 
26971
      *) # Look for the file first in the build tree, then in the source tree
 
26972
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
26973
         # because $ac_f cannot contain `:'.
 
26974
         test -f "$ac_f" ||
 
26975
           case $ac_f in
 
26976
           [\\/$]*) false;;
 
26977
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
26978
           esac ||
 
26979
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
26980
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
26981
   { (exit 1); exit 1; }; };;
 
26982
      esac
 
26983
      ac_file_inputs="$ac_file_inputs $ac_f"
 
26984
    done
 
26985
 
 
26986
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
26987
    # use $as_me), people would be surprised to read:
 
26988
    #    /* config.h.  Generated by config.status.  */
 
26989
    configure_input="Generated from "`IFS=:
 
26990
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
26991
    if test x"$ac_file" != x-; then
 
26992
      configure_input="$ac_file.  $configure_input"
 
26993
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
26994
echo "$as_me: creating $ac_file" >&6;}
 
26995
    fi
 
26996
 
 
26997
    case $ac_tag in
 
26998
    *:-:* | *:-) cat >"$tmp/stdin";;
 
26999
    esac
 
27000
    ;;
 
27001
  esac
 
27002
 
 
27003
  ac_dir=`$as_dirname -- "$ac_file" ||
25214
27004
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25215
27005
         X"$ac_file" : 'X\(//\)[^/]' \| \
25216
27006
         X"$ac_file" : 'X\(//\)$' \| \
25217
 
         X"$ac_file" : 'X\(/\)' \| \
25218
 
         .     : '\(.\)' 2>/dev/null ||
 
27007
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25219
27008
echo X"$ac_file" |
25220
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25221
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25222
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25223
 
          /^X\(\/\).*/{ s//\1/; q; }
25224
 
          s/.*/./; q'`
25225
 
  { if $as_mkdir_p; then
25226
 
    mkdir -p "$ac_dir"
25227
 
  else
25228
 
    as_dir="$ac_dir"
 
27009
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27010
            s//\1/
 
27011
            q
 
27012
          }
 
27013
          /^X\(\/\/\)[^/].*/{
 
27014
            s//\1/
 
27015
            q
 
27016
          }
 
27017
          /^X\(\/\/\)$/{
 
27018
            s//\1/
 
27019
            q
 
27020
          }
 
27021
          /^X\(\/\).*/{
 
27022
            s//\1/
 
27023
            q
 
27024
          }
 
27025
          s/.*/./; q'`
 
27026
  { as_dir="$ac_dir"
 
27027
  case $as_dir in #(
 
27028
  -*) as_dir=./$as_dir;;
 
27029
  esac
 
27030
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25229
27031
    as_dirs=
25230
 
    while test ! -d "$as_dir"; do
25231
 
      as_dirs="$as_dir $as_dirs"
25232
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27032
    while :; do
 
27033
      case $as_dir in #(
 
27034
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
27035
      *) as_qdir=$as_dir;;
 
27036
      esac
 
27037
      as_dirs="'$as_qdir' $as_dirs"
 
27038
      as_dir=`$as_dirname -- "$as_dir" ||
25233
27039
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25234
27040
         X"$as_dir" : 'X\(//\)[^/]' \| \
25235
27041
         X"$as_dir" : 'X\(//\)$' \| \
25236
 
         X"$as_dir" : 'X\(/\)' \| \
25237
 
         .     : '\(.\)' 2>/dev/null ||
 
27042
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25238
27043
echo X"$as_dir" |
25239
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25240
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25241
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25242
 
          /^X\(\/\).*/{ s//\1/; q; }
25243
 
          s/.*/./; q'`
 
27044
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27045
            s//\1/
 
27046
            q
 
27047
          }
 
27048
          /^X\(\/\/\)[^/].*/{
 
27049
            s//\1/
 
27050
            q
 
27051
          }
 
27052
          /^X\(\/\/\)$/{
 
27053
            s//\1/
 
27054
            q
 
27055
          }
 
27056
          /^X\(\/\).*/{
 
27057
            s//\1/
 
27058
            q
 
27059
          }
 
27060
          s/.*/./; q'`
 
27061
      test -d "$as_dir" && break
25244
27062
    done
25245
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25246
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25247
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27063
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
27064
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
27065
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25248
27066
   { (exit 1); exit 1; }; }; }
25249
 
 
25250
27067
  ac_builddir=.
25251
27068
 
25252
 
if test "$ac_dir" != .; then
 
27069
case "$ac_dir" in
 
27070
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27071
*)
25253
27072
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25254
 
  # A "../" for each directory in $ac_dir_suffix.
25255
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25256
 
else
25257
 
  ac_dir_suffix= ac_top_builddir=
25258
 
fi
 
27073
  # A ".." for each directory in $ac_dir_suffix.
 
27074
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
27075
  case $ac_top_builddir_sub in
 
27076
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27077
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
27078
  esac ;;
 
27079
esac
 
27080
ac_abs_top_builddir=$ac_pwd
 
27081
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
27082
# for backward compatibility:
 
27083
ac_top_builddir=$ac_top_build_prefix
25259
27084
 
25260
27085
case $srcdir in
25261
 
  .)  # No --srcdir option.  We are building in place.
 
27086
  .)  # We are building in place.
25262
27087
    ac_srcdir=.
25263
 
    if test -z "$ac_top_builddir"; then
25264
 
       ac_top_srcdir=.
25265
 
    else
25266
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25267
 
    fi ;;
25268
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
27088
    ac_top_srcdir=$ac_top_builddir_sub
 
27089
    ac_abs_top_srcdir=$ac_pwd ;;
 
27090
  [\\/]* | ?:[\\/]* )  # Absolute name.
25269
27091
    ac_srcdir=$srcdir$ac_dir_suffix;
25270
 
    ac_top_srcdir=$srcdir ;;
25271
 
  *) # Relative path.
25272
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25273
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
25274
 
esac
25275
 
 
25276
 
# Do not use `cd foo && pwd` to compute absolute paths, because
25277
 
# the directories may not exist.
25278
 
case `pwd` in
25279
 
.) ac_abs_builddir="$ac_dir";;
25280
 
*)
25281
 
  case "$ac_dir" in
25282
 
  .) ac_abs_builddir=`pwd`;;
25283
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25284
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
25285
 
  esac;;
25286
 
esac
25287
 
case $ac_abs_builddir in
25288
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
25289
 
*)
25290
 
  case ${ac_top_builddir}. in
25291
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
25292
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25293
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25294
 
  esac;;
25295
 
esac
25296
 
case $ac_abs_builddir in
25297
 
.) ac_abs_srcdir=$ac_srcdir;;
25298
 
*)
25299
 
  case $ac_srcdir in
25300
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
25301
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25302
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25303
 
  esac;;
25304
 
esac
25305
 
case $ac_abs_builddir in
25306
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
25307
 
*)
25308
 
  case $ac_top_srcdir in
25309
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
25310
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25311
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25312
 
  esac;;
25313
 
esac
25314
 
 
 
27092
    ac_top_srcdir=$srcdir
 
27093
    ac_abs_top_srcdir=$srcdir ;;
 
27094
  *) # Relative name.
 
27095
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
27096
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
27097
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
27098
esac
 
27099
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
27100
 
 
27101
 
 
27102
  case $ac_mode in
 
27103
  :F)
 
27104
  #
 
27105
  # CONFIG_FILE
 
27106
  #
25315
27107
 
25316
27108
  case $INSTALL in
25317
27109
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25318
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25319
 
  esac
25320
 
 
25321
 
  if test x"$ac_file" != x-; then
25322
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
25323
 
echo "$as_me: creating $ac_file" >&6;}
25324
 
    rm -f "$ac_file"
25325
 
  fi
25326
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
25327
 
  # use $as_me), people would be surprised to read:
25328
 
  #    /* config.h.  Generated by config.status.  */
25329
 
  if test x"$ac_file" = x-; then
25330
 
    configure_input=
25331
 
  else
25332
 
    configure_input="$ac_file.  "
25333
 
  fi
25334
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
25335
 
                                     sed 's,.*/,,'` by configure."
25336
 
 
25337
 
  # First look for the input files in the build tree, otherwise in the
25338
 
  # src tree.
25339
 
  ac_file_inputs=`IFS=:
25340
 
    for f in $ac_file_in; do
25341
 
      case $f in
25342
 
      -) echo $tmp/stdin ;;
25343
 
      [\\/$]*)
25344
 
         # Absolute (can't be DOS-style, as IFS=:)
25345
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25346
 
echo "$as_me: error: cannot find input file: $f" >&2;}
25347
 
   { (exit 1); exit 1; }; }
25348
 
         echo "$f";;
25349
 
      *) # Relative
25350
 
         if test -f "$f"; then
25351
 
           # Build tree
25352
 
           echo "$f"
25353
 
         elif test -f "$srcdir/$f"; then
25354
 
           # Source tree
25355
 
           echo "$srcdir/$f"
25356
 
         else
25357
 
           # /dev/null tree
25358
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25359
 
echo "$as_me: error: cannot find input file: $f" >&2;}
25360
 
   { (exit 1); exit 1; }; }
25361
 
         fi;;
25362
 
      esac
25363
 
    done` || { (exit 1); exit 1; }
25364
 
_ACEOF
 
27110
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
27111
  esac
 
27112
  ac_MKDIR_P=$MKDIR_P
 
27113
  case $MKDIR_P in
 
27114
  [\\/$]* | ?:[\\/]* ) ;;
 
27115
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
27116
  esac
 
27117
_ACEOF
 
27118
 
 
27119
cat >>$CONFIG_STATUS <<\_ACEOF
 
27120
# If the template does not know about datarootdir, expand it.
 
27121
# FIXME: This hack should be removed a few years after 2.60.
 
27122
ac_datarootdir_hack=; ac_datarootdir_seen=
 
27123
 
 
27124
case `sed -n '/datarootdir/ {
 
27125
  p
 
27126
  q
 
27127
}
 
27128
/@datadir@/p
 
27129
/@docdir@/p
 
27130
/@infodir@/p
 
27131
/@localedir@/p
 
27132
/@mandir@/p
 
27133
' $ac_file_inputs` in
 
27134
*datarootdir*) ac_datarootdir_seen=yes;;
 
27135
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
27136
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
27137
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
27138
_ACEOF
 
27139
cat >>$CONFIG_STATUS <<_ACEOF
 
27140
  ac_datarootdir_hack='
 
27141
  s&@datadir@&$datadir&g
 
27142
  s&@docdir@&$docdir&g
 
27143
  s&@infodir@&$infodir&g
 
27144
  s&@localedir@&$localedir&g
 
27145
  s&@mandir@&$mandir&g
 
27146
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
27147
esac
 
27148
_ACEOF
 
27149
 
 
27150
# Neutralize VPATH when `$srcdir' = `.'.
 
27151
# Shell code in configure.ac might set extrasub.
 
27152
# FIXME: do we really want to maintain this feature?
25365
27153
cat >>$CONFIG_STATUS <<_ACEOF
25366
27154
  sed "$ac_vpsub
25367
27155
$extrasub
25369
27157
cat >>$CONFIG_STATUS <<\_ACEOF
25370
27158
:t
25371
27159
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25372
 
s,@configure_input@,$configure_input,;t t
25373
 
s,@srcdir@,$ac_srcdir,;t t
25374
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
25375
 
s,@top_srcdir@,$ac_top_srcdir,;t t
25376
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25377
 
s,@builddir@,$ac_builddir,;t t
25378
 
s,@abs_builddir@,$ac_abs_builddir,;t t
25379
 
s,@top_builddir@,$ac_top_builddir,;t t
25380
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25381
 
s,@INSTALL@,$ac_INSTALL,;t t
25382
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25383
 
  rm -f $tmp/stdin
25384
 
  if test x"$ac_file" != x-; then
25385
 
    mv $tmp/out $ac_file
25386
 
  else
25387
 
    cat $tmp/out
25388
 
    rm -f $tmp/out
25389
 
  fi
25390
 
 
25391
 
done
 
27160
s&@configure_input@&$configure_input&;t t
 
27161
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
27162
s&@srcdir@&$ac_srcdir&;t t
 
27163
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
27164
s&@top_srcdir@&$ac_top_srcdir&;t t
 
27165
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
27166
s&@builddir@&$ac_builddir&;t t
 
27167
s&@abs_builddir@&$ac_abs_builddir&;t t
 
27168
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
27169
s&@INSTALL@&$ac_INSTALL&;t t
 
27170
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
27171
$ac_datarootdir_hack
 
27172
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
27173
 
 
27174
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
27175
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
27176
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
27177
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
27178
which seems to be undefined.  Please make sure it is defined." >&5
 
27179
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
27180
which seems to be undefined.  Please make sure it is defined." >&2;}
 
27181
 
 
27182
  rm -f "$tmp/stdin"
 
27183
  case $ac_file in
 
27184
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
27185
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
27186
  esac
 
27187
 ;;
 
27188
  :H)
 
27189
  #
 
27190
  # CONFIG_HEADER
 
27191
  #
25392
27192
_ACEOF
25393
 
cat >>$CONFIG_STATUS <<\_ACEOF
25394
 
 
25395
 
#
25396
 
# CONFIG_HEADER section.
25397
 
#
25398
 
 
25399
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25400
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
25401
 
#
25402
 
# ac_d sets the value in "#define NAME VALUE" lines.
25403
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
25404
 
ac_dB='[         ].*$,\1#\2'
 
27193
 
 
27194
# Transform confdefs.h into a sed script `conftest.defines', that
 
27195
# substitutes the proper values into config.h.in to produce config.h.
 
27196
rm -f conftest.defines conftest.tail
 
27197
# First, append a space to every undef/define line, to ease matching.
 
27198
echo 's/$/ /' >conftest.defines
 
27199
# Then, protect against being on the right side of a sed subst, or in
 
27200
# an unquoted here document, in config.status.  If some macros were
 
27201
# called several times there might be several #defines for the same
 
27202
# symbol, which is useless.  But do not sort them, since the last
 
27203
# AC_DEFINE must be honored.
 
27204
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
27205
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
27206
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
27207
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
27208
# just an empty string.
 
27209
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
27210
ac_dB='\\)[      (].*,\\1define\\2'
25405
27211
ac_dC=' '
25406
 
ac_dD=',;t'
25407
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25408
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
25409
 
ac_uB='$,\1#\2define\3'
25410
 
ac_uC=' '
25411
 
ac_uD=',;t'
25412
 
 
25413
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25414
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25415
 
  case $ac_file in
25416
 
  - | *:- | *:-:* ) # input from stdin
25417
 
        cat >$tmp/stdin
25418
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25419
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25420
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25421
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25422
 
  * )   ac_file_in=$ac_file.in ;;
25423
 
  esac
25424
 
 
25425
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25426
 
echo "$as_me: creating $ac_file" >&6;}
25427
 
 
25428
 
  # First look for the input files in the build tree, otherwise in the
25429
 
  # src tree.
25430
 
  ac_file_inputs=`IFS=:
25431
 
    for f in $ac_file_in; do
25432
 
      case $f in
25433
 
      -) echo $tmp/stdin ;;
25434
 
      [\\/$]*)
25435
 
         # Absolute (can't be DOS-style, as IFS=:)
25436
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25437
 
echo "$as_me: error: cannot find input file: $f" >&2;}
25438
 
   { (exit 1); exit 1; }; }
25439
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
25440
 
         echo "$f";;
25441
 
      *) # Relative
25442
 
         if test -f "$f"; then
25443
 
           # Build tree
25444
 
           echo "$f"
25445
 
         elif test -f "$srcdir/$f"; then
25446
 
           # Source tree
25447
 
           echo "$srcdir/$f"
25448
 
         else
25449
 
           # /dev/null tree
25450
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25451
 
echo "$as_me: error: cannot find input file: $f" >&2;}
25452
 
   { (exit 1); exit 1; }; }
25453
 
         fi;;
25454
 
      esac
25455
 
    done` || { (exit 1); exit 1; }
25456
 
  # Remove the trailing spaces.
25457
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
25458
 
 
25459
 
_ACEOF
25460
 
 
25461
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
25462
 
# `conftest.undefs', that substitutes the proper values into
25463
 
# config.h.in to produce config.h.  The first handles `#define'
25464
 
# templates, and the second `#undef' templates.
25465
 
# And first: Protect against being on the right side of a sed subst in
25466
 
# config.status.  Protect against being in an unquoted here document
25467
 
# in config.status.
25468
 
rm -f conftest.defines conftest.undefs
25469
 
# Using a here document instead of a string reduces the quoting nightmare.
25470
 
# Putting comments in sed scripts is not portable.
25471
 
#
25472
 
# `end' is used to avoid that the second main sed command (meant for
25473
 
# 0-ary CPP macros) applies to n-ary macro definitions.
25474
 
# See the Autoconf documentation for `clear'.
25475
 
cat >confdef2sed.sed <<\_ACEOF
25476
 
s/[\\&,]/\\&/g
25477
 
s,[\\$`],\\&,g
25478
 
t clear
25479
 
: clear
25480
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25481
 
t end
25482
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25483
 
: end
25484
 
_ACEOF
25485
 
# If some macros were called several times there might be several times
25486
 
# the same #defines, which is useless.  Nevertheless, we may not want to
25487
 
# sort them, since we want the *last* AC-DEFINE to be honored.
25488
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25489
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25490
 
rm -f confdef2sed.sed
25491
 
 
25492
 
# This sed command replaces #undef with comments.  This is necessary, for
 
27212
ac_dD=' ,'
 
27213
 
 
27214
uniq confdefs.h |
 
27215
  sed -n '
 
27216
        t rset
 
27217
        :rset
 
27218
        s/^[     ]*#[    ]*define[       ][      ]*//
 
27219
        t ok
 
27220
        d
 
27221
        :ok
 
27222
        s/[\\&,]/\\&/g
 
27223
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
27224
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
27225
  ' >>conftest.defines
 
27226
 
 
27227
# Remove the space that was appended to ease matching.
 
27228
# Then replace #undef with comments.  This is necessary, for
25493
27229
# example, in the case of _POSIX_SOURCE, which is predefined and required
25494
27230
# on some systems where configure will not decide to define it.
25495
 
cat >>conftest.undefs <<\_ACEOF
25496
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
27231
# (The regexp can be short, since the line contains either #define or #undef.)
 
27232
echo 's/ $//
 
27233
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
27234
 
 
27235
# Break up conftest.defines:
 
27236
ac_max_sed_lines=50
 
27237
 
 
27238
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
27239
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
27240
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
27241
# et cetera.
 
27242
ac_in='$ac_file_inputs'
 
27243
ac_out='"$tmp/out1"'
 
27244
ac_nxt='"$tmp/out2"'
 
27245
 
 
27246
while :
 
27247
do
 
27248
  # Write a here document:
 
27249
    cat >>$CONFIG_STATUS <<_ACEOF
 
27250
    # First, check the format of the line:
 
27251
    cat >"\$tmp/defines.sed" <<\\CEOF
 
27252
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
27253
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
27254
b
 
27255
:def
25497
27256
_ACEOF
25498
 
 
25499
 
# Break up conftest.defines because some shells have a limit on the size
25500
 
# of here documents, and old seds have small limits too (100 cmds).
25501
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25502
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25503
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25504
 
echo '  :' >>$CONFIG_STATUS
25505
 
rm -f conftest.tail
25506
 
while grep . conftest.defines >/dev/null
25507
 
do
25508
 
  # Write a limited-size here document to $tmp/defines.sed.
25509
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25510
 
  # Speed up: don't consider the non `#define' lines.
25511
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
25512
 
  # Work around the forget-to-reset-the-flag bug.
25513
 
  echo 't clr' >>$CONFIG_STATUS
25514
 
  echo ': clr' >>$CONFIG_STATUS
25515
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
27257
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25516
27258
  echo 'CEOF
25517
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
25518
 
  rm -f $tmp/in
25519
 
  mv $tmp/out $tmp/in
25520
 
' >>$CONFIG_STATUS
25521
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
27259
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
27260
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
27261
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
27262
  grep . conftest.tail >/dev/null || break
25522
27263
  rm -f conftest.defines
25523
27264
  mv conftest.tail conftest.defines
25524
27265
done
25525
 
rm -f conftest.defines
25526
 
echo '  fi # grep' >>$CONFIG_STATUS
25527
 
echo >>$CONFIG_STATUS
25528
 
 
25529
 
# Break up conftest.undefs because some shells have a limit on the size
25530
 
# of here documents, and old seds have small limits too (100 cmds).
25531
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
25532
 
rm -f conftest.tail
25533
 
while grep . conftest.undefs >/dev/null
25534
 
do
25535
 
  # Write a limited-size here document to $tmp/undefs.sed.
25536
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25537
 
  # Speed up: don't consider the non `#undef'
25538
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
25539
 
  # Work around the forget-to-reset-the-flag bug.
25540
 
  echo 't clr' >>$CONFIG_STATUS
25541
 
  echo ': clr' >>$CONFIG_STATUS
25542
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25543
 
  echo 'CEOF
25544
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25545
 
  rm -f $tmp/in
25546
 
  mv $tmp/out $tmp/in
25547
 
' >>$CONFIG_STATUS
25548
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25549
 
  rm -f conftest.undefs
25550
 
  mv conftest.tail conftest.undefs
25551
 
done
25552
 
rm -f conftest.undefs
25553
 
 
 
27266
rm -f conftest.defines conftest.tail
 
27267
 
 
27268
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25554
27269
cat >>$CONFIG_STATUS <<\_ACEOF
25555
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
25556
 
  # use $as_me), people would be surprised to read:
25557
 
  #    /* config.h.  Generated by config.status.  */
25558
 
  if test x"$ac_file" = x-; then
25559
 
    echo "/* Generated by configure.  */" >$tmp/config.h
25560
 
  else
25561
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
25562
 
  fi
25563
 
  cat $tmp/in >>$tmp/config.h
25564
 
  rm -f $tmp/in
25565
27270
  if test x"$ac_file" != x-; then
25566
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
27271
    echo "/* $configure_input  */" >"$tmp/config.h"
 
27272
    cat "$ac_result" >>"$tmp/config.h"
 
27273
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25567
27274
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25568
27275
echo "$as_me: $ac_file is unchanged" >&6;}
25569
27276
    else
25570
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25571
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25572
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
25573
 
         X"$ac_file" : 'X\(//\)$' \| \
25574
 
         X"$ac_file" : 'X\(/\)' \| \
25575
 
         .     : '\(.\)' 2>/dev/null ||
25576
 
echo X"$ac_file" |
25577
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25578
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25579
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25580
 
          /^X\(\/\).*/{ s//\1/; q; }
25581
 
          s/.*/./; q'`
25582
 
      { if $as_mkdir_p; then
25583
 
    mkdir -p "$ac_dir"
25584
 
  else
25585
 
    as_dir="$ac_dir"
25586
 
    as_dirs=
25587
 
    while test ! -d "$as_dir"; do
25588
 
      as_dirs="$as_dir $as_dirs"
25589
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
25590
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25591
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
25592
 
         X"$as_dir" : 'X\(//\)$' \| \
25593
 
         X"$as_dir" : 'X\(/\)' \| \
25594
 
         .     : '\(.\)' 2>/dev/null ||
25595
 
echo X"$as_dir" |
25596
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25597
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25598
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25599
 
          /^X\(\/\).*/{ s//\1/; q; }
25600
 
          s/.*/./; q'`
25601
 
    done
25602
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25603
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25604
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25605
 
   { (exit 1); exit 1; }; }; }
25606
 
 
25607
27277
      rm -f $ac_file
25608
 
      mv $tmp/config.h $ac_file
 
27278
      mv "$tmp/config.h" $ac_file
25609
27279
    fi
25610
27280
  else
25611
 
    cat $tmp/config.h
25612
 
    rm -f $tmp/config.h
 
27281
    echo "/* $configure_input  */"
 
27282
    cat "$ac_result"
25613
27283
  fi
 
27284
  rm -f "$tmp/out12"
25614
27285
# Compute $ac_file's index in $config_headers.
25615
27286
_am_stamp_count=1
25616
27287
for _am_header in $config_headers :; do
25621
27292
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25622
27293
  esac
25623
27294
done
25624
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
27295
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25625
27296
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25626
27297
         X$ac_file : 'X\(//\)[^/]' \| \
25627
27298
         X$ac_file : 'X\(//\)$' \| \
25628
 
         X$ac_file : 'X\(/\)' \| \
25629
 
         .     : '\(.\)' 2>/dev/null ||
 
27299
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25630
27300
echo X$ac_file |
25631
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25632
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25633
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25634
 
          /^X\(\/\).*/{ s//\1/; q; }
25635
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
25636
 
done
25637
 
_ACEOF
25638
 
cat >>$CONFIG_STATUS <<\_ACEOF
25639
 
 
25640
 
#
25641
 
# CONFIG_COMMANDS section.
25642
 
#
25643
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25644
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25645
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25646
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25647
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25648
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
25649
 
         X"$ac_dest" : 'X\(//\)$' \| \
25650
 
         X"$ac_dest" : 'X\(/\)' \| \
25651
 
         .     : '\(.\)' 2>/dev/null ||
25652
 
echo X"$ac_dest" |
25653
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25654
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25655
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25656
 
          /^X\(\/\).*/{ s//\1/; q; }
25657
 
          s/.*/./; q'`
25658
 
  { if $as_mkdir_p; then
25659
 
    mkdir -p "$ac_dir"
25660
 
  else
25661
 
    as_dir="$ac_dir"
25662
 
    as_dirs=
25663
 
    while test ! -d "$as_dir"; do
25664
 
      as_dirs="$as_dir $as_dirs"
25665
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
25666
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25667
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
25668
 
         X"$as_dir" : 'X\(//\)$' \| \
25669
 
         X"$as_dir" : 'X\(/\)' \| \
25670
 
         .     : '\(.\)' 2>/dev/null ||
25671
 
echo X"$as_dir" |
25672
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25673
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25674
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25675
 
          /^X\(\/\).*/{ s//\1/; q; }
25676
 
          s/.*/./; q'`
25677
 
    done
25678
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25679
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25680
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25681
 
   { (exit 1); exit 1; }; }; }
25682
 
 
25683
 
  ac_builddir=.
25684
 
 
25685
 
if test "$ac_dir" != .; then
25686
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25687
 
  # A "../" for each directory in $ac_dir_suffix.
25688
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25689
 
else
25690
 
  ac_dir_suffix= ac_top_builddir=
25691
 
fi
25692
 
 
25693
 
case $srcdir in
25694
 
  .)  # No --srcdir option.  We are building in place.
25695
 
    ac_srcdir=.
25696
 
    if test -z "$ac_top_builddir"; then
25697
 
       ac_top_srcdir=.
25698
 
    else
25699
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25700
 
    fi ;;
25701
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
25702
 
    ac_srcdir=$srcdir$ac_dir_suffix;
25703
 
    ac_top_srcdir=$srcdir ;;
25704
 
  *) # Relative path.
25705
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25706
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
25707
 
esac
25708
 
 
25709
 
# Do not use `cd foo && pwd` to compute absolute paths, because
25710
 
# the directories may not exist.
25711
 
case `pwd` in
25712
 
.) ac_abs_builddir="$ac_dir";;
25713
 
*)
25714
 
  case "$ac_dir" in
25715
 
  .) ac_abs_builddir=`pwd`;;
25716
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25717
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
25718
 
  esac;;
25719
 
esac
25720
 
case $ac_abs_builddir in
25721
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
25722
 
*)
25723
 
  case ${ac_top_builddir}. in
25724
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
25725
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25726
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25727
 
  esac;;
25728
 
esac
25729
 
case $ac_abs_builddir in
25730
 
.) ac_abs_srcdir=$ac_srcdir;;
25731
 
*)
25732
 
  case $ac_srcdir in
25733
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
25734
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25735
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25736
 
  esac;;
25737
 
esac
25738
 
case $ac_abs_builddir in
25739
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
25740
 
*)
25741
 
  case $ac_top_srcdir in
25742
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
25743
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25744
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25745
 
  esac;;
25746
 
esac
25747
 
 
25748
 
 
25749
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25750
 
echo "$as_me: executing $ac_dest commands" >&6;}
25751
 
  case $ac_dest in
25752
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
27301
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27302
            s//\1/
 
27303
            q
 
27304
          }
 
27305
          /^X\(\/\/\)[^/].*/{
 
27306
            s//\1/
 
27307
            q
 
27308
          }
 
27309
          /^X\(\/\/\)$/{
 
27310
            s//\1/
 
27311
            q
 
27312
          }
 
27313
          /^X\(\/\).*/{
 
27314
            s//\1/
 
27315
            q
 
27316
          }
 
27317
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
27318
 ;;
 
27319
 
 
27320
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
27321
echo "$as_me: executing $ac_file commands" >&6;}
 
27322
 ;;
 
27323
  esac
 
27324
 
 
27325
 
 
27326
  case $ac_file$ac_mode in
 
27327
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25753
27328
  # Strip MF so we end up with the name of the file.
25754
27329
  mf=`echo "$mf" | sed -e 's/:.*$//'`
25755
27330
  # Check whether this is an Automake generated Makefile or not.
25757
27332
  # some people rename them; so instead we look at the file content.
25758
27333
  # Grep'ing the first line is not enough: some people post-process
25759
27334
  # each Makefile.in and add a new line on top of each file to say so.
25760
 
  # So let's grep whole file.
25761
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25762
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
27335
  # Grep'ing the whole file is not good either: AIX grep has a line
 
27336
  # limit of 2048, but all sed's we know have understand at least 4000.
 
27337
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
27338
    dirpart=`$as_dirname -- "$mf" ||
25763
27339
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25764
27340
         X"$mf" : 'X\(//\)[^/]' \| \
25765
27341
         X"$mf" : 'X\(//\)$' \| \
25766
 
         X"$mf" : 'X\(/\)' \| \
25767
 
         .     : '\(.\)' 2>/dev/null ||
 
27342
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25768
27343
echo X"$mf" |
25769
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25770
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25771
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25772
 
          /^X\(\/\).*/{ s//\1/; q; }
25773
 
          s/.*/./; q'`
 
27344
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27345
            s//\1/
 
27346
            q
 
27347
          }
 
27348
          /^X\(\/\/\)[^/].*/{
 
27349
            s//\1/
 
27350
            q
 
27351
          }
 
27352
          /^X\(\/\/\)$/{
 
27353
            s//\1/
 
27354
            q
 
27355
          }
 
27356
          /^X\(\/\).*/{
 
27357
            s//\1/
 
27358
            q
 
27359
          }
 
27360
          s/.*/./; q'`
25774
27361
  else
25775
27362
    continue
25776
27363
  fi
25792
27379
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25793
27380
    # Make sure the directory exists.
25794
27381
    test -f "$dirpart/$file" && continue
25795
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
27382
    fdir=`$as_dirname -- "$file" ||
25796
27383
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25797
27384
         X"$file" : 'X\(//\)[^/]' \| \
25798
27385
         X"$file" : 'X\(//\)$' \| \
25799
 
         X"$file" : 'X\(/\)' \| \
25800
 
         .     : '\(.\)' 2>/dev/null ||
 
27386
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25801
27387
echo X"$file" |
25802
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25803
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25804
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25805
 
          /^X\(\/\).*/{ s//\1/; q; }
25806
 
          s/.*/./; q'`
25807
 
    { if $as_mkdir_p; then
25808
 
    mkdir -p $dirpart/$fdir
25809
 
  else
25810
 
    as_dir=$dirpart/$fdir
 
27388
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27389
            s//\1/
 
27390
            q
 
27391
          }
 
27392
          /^X\(\/\/\)[^/].*/{
 
27393
            s//\1/
 
27394
            q
 
27395
          }
 
27396
          /^X\(\/\/\)$/{
 
27397
            s//\1/
 
27398
            q
 
27399
          }
 
27400
          /^X\(\/\).*/{
 
27401
            s//\1/
 
27402
            q
 
27403
          }
 
27404
          s/.*/./; q'`
 
27405
    { as_dir=$dirpart/$fdir
 
27406
  case $as_dir in #(
 
27407
  -*) as_dir=./$as_dir;;
 
27408
  esac
 
27409
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25811
27410
    as_dirs=
25812
 
    while test ! -d "$as_dir"; do
25813
 
      as_dirs="$as_dir $as_dirs"
25814
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27411
    while :; do
 
27412
      case $as_dir in #(
 
27413
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
27414
      *) as_qdir=$as_dir;;
 
27415
      esac
 
27416
      as_dirs="'$as_qdir' $as_dirs"
 
27417
      as_dir=`$as_dirname -- "$as_dir" ||
25815
27418
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25816
27419
         X"$as_dir" : 'X\(//\)[^/]' \| \
25817
27420
         X"$as_dir" : 'X\(//\)$' \| \
25818
 
         X"$as_dir" : 'X\(/\)' \| \
25819
 
         .     : '\(.\)' 2>/dev/null ||
 
27421
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25820
27422
echo X"$as_dir" |
25821
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25822
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25823
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25824
 
          /^X\(\/\).*/{ s//\1/; q; }
25825
 
          s/.*/./; q'`
 
27423
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27424
            s//\1/
 
27425
            q
 
27426
          }
 
27427
          /^X\(\/\/\)[^/].*/{
 
27428
            s//\1/
 
27429
            q
 
27430
          }
 
27431
          /^X\(\/\/\)$/{
 
27432
            s//\1/
 
27433
            q
 
27434
          }
 
27435
          /^X\(\/\).*/{
 
27436
            s//\1/
 
27437
            q
 
27438
          }
 
27439
          s/.*/./; q'`
 
27440
      test -d "$as_dir" && break
25826
27441
    done
25827
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25828
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25829
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
27442
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
27443
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
27444
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25830
27445
   { (exit 1); exit 1; }; }; }
25831
 
 
25832
27446
    # echo "creating $dirpart/$file"
25833
27447
    echo '# dummy' > "$dirpart/$file"
25834
27448
  done
25835
27449
done
25836
27450
 ;;
25837
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
27451
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
25838
27452
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
25839
27453
      esac ;;
 
27454
 
25840
27455
  esac
25841
 
done
25842
 
_ACEOF
 
27456
done # for ac_tag
25843
27457
 
25844
 
cat >>$CONFIG_STATUS <<\_ACEOF
25845
27458
 
25846
27459
{ (exit 0); exit 0; }
25847
27460
_ACEOF
25881
27494
echo Compiler ................: $CC $CFLAGS
25882
27495
echo Linker ..................: $CC $LDFLAGS $LIBS
25883
27496
echo GTK2 version ............: `pkg-config --modversion gtk+-2.0`
25884
 
echo MP3 file support ........: $enable_mp3 $ID3LIB_VERSION
 
27497
echo MP3 file support ........: $enable_mp3
 
27498
echo ID3v2.3 tags support ....: $enable_id3v23 $ID3LIB_VERSION
25885
27499
echo Ogg Vorbis file support .: $enable_ogg
 
27500
echo Speex file support ......: $enable_speex
25886
27501
echo FLAC file support .......: $enable_flac $LIBFLAC_VERSION
25887
 
echo MP4 file support ........: $enable_mp4 $MPEG4IP_VERSION
 
27502
echo MP4 file support ........: $enable_mp4 $LIBMP4V2_VERSION
 
27503
echo WavPack support .........: $enable_wavpack
25888
27504
echo NLS/gettext .............: $USE_NLS
25889
27505
echo Install path ............: $prefix
25890
27506
echo