~ubuntu-branches/debian/sid/pixman/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Rico Tzschichholz
  • Date: 2011-10-22 11:09:04 UTC
  • mfrom: (1.4.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20111022110904-rfjikjktzfa1hl2w
Tags: 0.23.6-1
[ Rico Tzschichholz ]
New upstream release.

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.63 for pixman 0.23.2.
 
3
# Generated by GNU Autoconf 2.66 for pixman 0.23.6.
4
4
#
5
5
# Report bugs to <pixman@lists.freedesktop.org>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
 
 
177
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
178
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    PATH=/empty FPATH=/empty; export PATH FPATH
 
182
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
183
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
184
test \$(( 1 + 1 )) = 2 || exit 1"
 
185
  if (eval "$as_required") 2>/dev/null; then :
177
186
  as_have_required=yes
178
187
else
179
188
  as_have_required=no
180
189
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
190
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
191
 
 
192
else
 
193
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
194
as_found=false
243
195
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
196
do
245
197
  IFS=$as_save_IFS
246
198
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
199
  as_found=:
 
200
  case $as_dir in #(
248
201
         /*)
249
202
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
203
             # Try only shells that exist, to save several forks.
 
204
             as_shell=$as_dir/$as_base
 
205
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
206
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
207
  CONFIG_SHELL=$as_shell as_have_required=yes
 
208
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
209
  break 2
 
210
fi
 
211
fi
251
212
           done;;
252
213
       esac
 
214
  as_found=false
253
215
done
 
216
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
217
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
218
  CONFIG_SHELL=$SHELL as_have_required=yes
 
219
fi; }
254
220
IFS=$as_save_IFS
255
221
 
256
222
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$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
 
  # Pre-4.2 versions of Zsh do 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
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
223
      if test "x$CONFIG_SHELL" != x; then :
 
224
  # We cannot yet assume a decent shell, so we have to provide a
 
225
        # neutralization value for shells without unset; and this also
 
226
        # works around shells that cannot unset nonexistent variables.
 
227
        BASH_ENV=/dev/null
 
228
        ENV=/dev/null
 
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
230
        export CONFIG_SHELL
368
231
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
232
fi
370
233
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: pixman@lists.freedesktop.org about your system,
 
243
$0: including any error possibly output before this
 
244
$0: message. Then install a modern shell, or manually run
 
245
$0: the script under such a shell if you do have one."
 
246
  fi
 
247
  exit 1
 
248
fi
 
249
fi
 
250
fi
 
251
SHELL=${CONFIG_SHELL-/bin/sh}
 
252
export SHELL
 
253
# Unset more variables known to interfere with behavior of common tools.
 
254
CLICOLOR_FORCE= GREP_OPTIONS=
 
255
unset CLICOLOR_FORCE GREP_OPTIONS
 
256
 
 
257
## --------------------- ##
 
258
## M4sh Shell Functions. ##
 
259
## --------------------- ##
 
260
# as_fn_unset VAR
 
261
# ---------------
 
262
# Portably unset VAR.
 
263
as_fn_unset ()
 
264
{
 
265
  { eval $1=; unset $1;}
 
266
}
 
267
as_unset=as_fn_unset
 
268
 
 
269
# as_fn_set_status STATUS
 
270
# -----------------------
 
271
# Set $? to STATUS, without forking.
 
272
as_fn_set_status ()
 
273
{
 
274
  return $1
 
275
} # as_fn_set_status
 
276
 
 
277
# as_fn_exit STATUS
 
278
# -----------------
 
279
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
280
as_fn_exit ()
 
281
{
 
282
  set +e
 
283
  as_fn_set_status $1
 
284
  exit $1
 
285
} # as_fn_exit
 
286
 
 
287
# as_fn_mkdir_p
 
288
# -------------
 
289
# Create "$as_dir" as a directory, including parents if necessary.
 
290
as_fn_mkdir_p ()
 
291
{
 
292
 
 
293
  case $as_dir in #(
 
294
  -*) as_dir=./$as_dir;;
 
295
  esac
 
296
  test -d "$as_dir" || eval $as_mkdir_p || {
 
297
    as_dirs=
 
298
    while :; do
 
299
      case $as_dir in #(
 
300
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
301
      *) as_qdir=$as_dir;;
 
302
      esac
 
303
      as_dirs="'$as_qdir' $as_dirs"
 
304
      as_dir=`$as_dirname -- "$as_dir" ||
 
305
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
306
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
307
         X"$as_dir" : 'X\(//\)$' \| \
 
308
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
309
$as_echo X"$as_dir" |
 
310
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\/\)[^/].*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          /^X\(\/\/\)$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\).*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          s/.*/./; q'`
 
327
      test -d "$as_dir" && break
 
328
    done
 
329
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
330
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
331
 
 
332
 
 
333
} # as_fn_mkdir_p
 
334
# as_fn_append VAR VALUE
 
335
# ----------------------
 
336
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
337
# advantage of any shell optimizations that allow amortized linear growth over
 
338
# repeated appends, instead of the typical quadratic growth present in naive
 
339
# implementations.
 
340
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
341
  eval 'as_fn_append ()
 
342
  {
 
343
    eval $1+=\$2
 
344
  }'
 
345
else
 
346
  as_fn_append ()
 
347
  {
 
348
    eval $1=\$$1\$2
 
349
  }
 
350
fi # as_fn_append
 
351
 
 
352
# as_fn_arith ARG...
 
353
# ------------------
 
354
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
355
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
356
# must be portable across $(()) and expr.
 
357
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
358
  eval 'as_fn_arith ()
 
359
  {
 
360
    as_val=$(( $* ))
 
361
  }'
 
362
else
 
363
  as_fn_arith ()
 
364
  {
 
365
    as_val=`expr "$@" || test $? -eq 1`
 
366
  }
 
367
fi # as_fn_arith
 
368
 
 
369
 
 
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
371
# ----------------------------------------
 
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
374
# script with STATUS, using 1 if that was 0.
 
375
as_fn_error ()
 
376
{
 
377
  as_status=$1; test $as_status -eq 0 && as_status=1
 
378
  if test "$4"; then
 
379
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
380
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
381
  fi
 
382
  $as_echo "$as_me: error: $2" >&2
 
383
  as_fn_exit $as_status
 
384
} # as_fn_error
 
385
 
 
386
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
387
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
388
  as_expr=expr
 
389
else
 
390
  as_expr=false
 
391
fi
 
392
 
 
393
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
394
  as_basename=basename
 
395
else
 
396
  as_basename=false
 
397
fi
 
398
 
 
399
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
400
  as_dirname=dirname
 
401
else
 
402
  as_dirname=false
 
403
fi
 
404
 
 
405
as_me=`$as_basename -- "$0" ||
 
406
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
407
         X"$0" : 'X\(//\)$' \| \
 
408
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
409
$as_echo X/"$0" |
 
410
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          /^X\/\(\/\/\)$/{
 
415
            s//\1/
 
416
            q
 
417
          }
 
418
          /^X\/\(\/\).*/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          s/.*/./; q'`
 
423
 
 
424
# Avoid depending upon Character Ranges.
 
425
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
426
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
427
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
428
as_cr_digits='0123456789'
 
429
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
430
 
 
431
 
 
432
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
433
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
434
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
435
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
436
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
437
  sed -n '
461
438
    p
462
439
    /[$]LINENO/=
473
450
      s/-\n.*//
474
451
    ' >$as_me.lineno &&
475
452
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
453
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
454
 
479
455
  # Don't try to exec as it changes $[0], causing all sort of problems
480
456
  # (the dirname of $[0] is not the place where we might find the
484
460
  exit
485
461
}
486
462
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
463
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
464
case `echo -n x` in #(((((
496
465
-n*)
497
 
  case `echo 'x\c'` in
 
466
  case `echo 'xy\c'` in
498
467
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
468
  xy)  ECHO_C='\c';;
 
469
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
470
       ECHO_T=' ';;
500
471
  esac;;
501
472
*)
502
473
  ECHO_N='-n';;
503
474
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
475
 
511
476
rm -f conf$$ conf$$.exe conf$$.file
512
477
if test -d conf$$.dir; then
536
501
rmdir conf$$.dir 2>/dev/null
537
502
 
538
503
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
504
  as_mkdir_p='mkdir -p "$as_dir"'
540
505
else
541
506
  test -d ./-p && rmdir ./-p
542
507
  as_mkdir_p=false
555
520
      if test -d "$1"; then
556
521
        test -d "$1/.";
557
522
      else
558
 
        case $1 in
 
523
        case $1 in #(
559
524
        -*)set "./$1";;
560
525
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
526
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
527
        ???[sx]*):;;*)false;;esac;fi
563
528
    '\'' sh
564
529
  '
571
536
# Sed expression to map a string onto a valid variable name.
572
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
538
 
574
 
 
575
 
 
576
 
 
577
 
# Check that we are running under the correct shell.
578
539
SHELL=${CONFIG_SHELL-/bin/sh}
579
540
 
580
 
case X$ECHO in
581
 
X*--fallback-echo)
582
 
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
 
  ;;
585
 
esac
586
 
 
587
 
echo=${ECHO-echo}
588
 
if test "X$1" = X--no-reexec; then
589
 
  # Discard the --no-reexec flag, and continue.
590
 
  shift
591
 
elif test "X$1" = X--fallback-echo; then
592
 
  # Avoid inline document here, it may be left over
593
 
  :
594
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $echo works!
596
 
  :
597
 
else
598
 
  # Restart under the correct shell.
599
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
600
 
fi
601
 
 
602
 
if test "X$1" = X--fallback-echo; then
603
 
  # used as fallback echo
604
 
  shift
605
 
  cat <<EOF
606
 
$*
607
 
EOF
608
 
  exit 0
609
 
fi
610
 
 
611
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
612
 
# if CDPATH is set.
613
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
 
 
615
 
if test -z "$ECHO"; then
616
 
if test "X${echo_test_string+set}" != Xset; then
617
 
# find a string as large as possible, as long as the shell can cope with it
618
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
621
 
       echo_test_string=`eval $cmd` &&
622
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
623
 
    then
624
 
      break
625
 
    fi
626
 
  done
627
 
fi
628
 
 
629
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
631
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
  :
633
 
else
634
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
635
 
  # backslashes.  This makes it impossible to quote backslashes using
636
 
  #   echo "$something" | sed 's/\\/\\\\/g'
637
 
  #
638
 
  # So, first we look for a working echo in the user's PATH.
639
 
 
640
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641
 
  for dir in $PATH /usr/ucb; do
642
 
    IFS="$lt_save_ifs"
643
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
647
 
      echo="$dir/echo"
648
 
      break
649
 
    fi
650
 
  done
651
 
  IFS="$lt_save_ifs"
652
 
 
653
 
  if test "X$echo" = Xecho; then
654
 
    # We didn't find a better echo, so look for alternatives.
655
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
657
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
      # This shell has a builtin print -r that does the trick.
659
 
      echo='print -r'
660
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
661
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
662
 
      # If we have ksh, try running configure again with it.
663
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664
 
      export ORIGINAL_CONFIG_SHELL
665
 
      CONFIG_SHELL=/bin/ksh
666
 
      export CONFIG_SHELL
667
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
 
    else
669
 
      # Try using printf.
670
 
      echo='printf %s\n'
671
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
673
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
674
 
        # Cool, printf works
675
 
        :
676
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677
 
           test "X$echo_testing_string" = 'X\t' &&
678
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
680
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
 
        export CONFIG_SHELL
682
 
        SHELL="$CONFIG_SHELL"
683
 
        export SHELL
684
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
685
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686
 
           test "X$echo_testing_string" = 'X\t' &&
687
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
689
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
690
 
      else
691
 
        # maybe with a smaller string...
692
 
        prev=:
693
 
 
694
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
696
 
          then
697
 
            break
698
 
          fi
699
 
          prev="$cmd"
700
 
        done
701
 
 
702
 
        if test "$prev" != 'sed 50q "$0"'; then
703
 
          echo_test_string=`eval $prev`
704
 
          export echo_test_string
705
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
 
        else
707
 
          # Oops.  We lost completely, so just stick with echo.
708
 
          echo=echo
709
 
        fi
710
 
      fi
711
 
    fi
712
 
  fi
713
 
fi
714
 
fi
715
 
 
716
 
# Copy echo and quote the copy suitably for passing to libtool from
717
 
# the Makefile, instead of quoting the original, which is used later.
718
 
ECHO=$echo
719
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
721
 
fi
722
 
 
723
 
 
724
 
 
725
 
 
726
 
tagnames=${tagnames+${tagnames},}CXX
727
 
 
728
 
tagnames=${tagnames+${tagnames},}F77
729
 
 
730
 
exec 7<&0 </dev/null 6>&1
 
541
 
 
542
test -n "$DJDIR" || exec 7<&0 </dev/null
 
543
exec 6>&1
731
544
 
732
545
# Name of the host.
733
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
546
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
734
547
# so uname gets run too.
735
548
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
736
549
 
745
558
subdirs=
746
559
MFLAGS=
747
560
MAKEFLAGS=
748
 
SHELL=${CONFIG_SHELL-/bin/sh}
749
561
 
750
562
# Identity of this package.
751
563
PACKAGE_NAME='pixman'
752
564
PACKAGE_TARNAME='pixman'
753
 
PACKAGE_VERSION='0.23.2'
754
 
PACKAGE_STRING='pixman 0.23.2'
 
565
PACKAGE_VERSION='0.23.6'
 
566
PACKAGE_STRING='pixman 0.23.6'
755
567
PACKAGE_BUGREPORT='pixman@lists.freedesktop.org'
 
568
PACKAGE_URL=''
756
569
 
757
570
# Factoring default headers for most tests.
758
571
ac_includes_default="\
794
607
am__EXEEXT_TRUE
795
608
LTLIBOBJS
796
609
LIBOBJS
 
610
HAVE_LIBPNG
 
611
PNG_LIBS
 
612
PNG_CFLAGS
797
613
TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR
798
614
PTHREAD_LIBS
799
615
PTHREAD_LDFLAGS
805
621
HAVE_GTK_TRUE
806
622
GTK_LIBS
807
623
GTK_CFLAGS
 
624
PKG_CONFIG_LIBDIR
 
625
PKG_CONFIG_PATH
808
626
PKG_CONFIG
809
627
PIXMAN_TIMERS
810
628
TESTPROGS_EXTRA_LDFLAGS
811
629
USE_GCC_INLINE_ASM_FALSE
812
630
USE_GCC_INLINE_ASM_TRUE
 
631
USE_ARM_IWMMXT_FALSE
 
632
USE_ARM_IWMMXT_TRUE
813
633
USE_ARM_NEON_FALSE
814
634
USE_ARM_NEON_TRUE
815
635
USE_ARM_SIMD_FALSE
823
643
MMX_CFLAGS
824
644
USE_SSE2_FALSE
825
645
USE_SSE2_TRUE
826
 
USE_MMX_FALSE
827
 
USE_MMX_TRUE
 
646
USE_X86_MMX_FALSE
 
647
USE_X86_MMX_TRUE
828
648
OPENMP_CFLAGS
829
649
PERL
830
650
LT_VERSION_INFO
831
651
PIXMAN_VERSION_MICRO
832
652
PIXMAN_VERSION_MINOR
833
653
PIXMAN_VERSION_MAJOR
834
 
LIBTOOL
835
 
ac_ct_F77
836
 
FFLAGS
837
 
F77
838
 
CXXCPP
839
 
am__fastdepCXX_FALSE
840
 
am__fastdepCXX_TRUE
841
 
CXXDEPMODE
842
 
ac_ct_CXX
843
 
CXXFLAGS
844
 
CXX
845
654
CPP
 
655
OTOOL64
 
656
OTOOL
 
657
LIPO
846
658
NMEDIT
847
659
DSYMUTIL
848
660
RANLIB
849
661
AR
850
 
ECHO
 
662
OBJDUMP
851
663
LN_S
 
664
NM
 
665
ac_ct_DUMPBIN
 
666
DUMPBIN
 
667
LD
 
668
FGREP
852
669
EGREP
853
670
GREP
854
671
SED
 
672
LIBTOOL
855
673
am__fastdepCCAS_FALSE
856
674
am__fastdepCCAS_TRUE
857
675
CCASDEPMODE
936
754
program_transform_name
937
755
prefix
938
756
exec_prefix
 
757
PACKAGE_URL
939
758
PACKAGE_BUGREPORT
940
759
PACKAGE_STRING
941
760
PACKAGE_VERSION
950
769
enable_dependency_tracking
951
770
enable_shared
952
771
enable_static
 
772
with_pic
953
773
enable_fast_install
954
774
with_gnu_ld
955
775
enable_libtool_lock
956
 
with_pic
957
 
with_tags
958
776
enable_openmp
959
777
enable_mmx
960
778
enable_sse2
961
779
enable_vmx
962
780
enable_arm_simd
963
781
enable_arm_neon
 
782
enable_arm_iwmmxt
964
783
enable_gcc_inline_asm
965
784
enable_static_testprogs
966
785
enable_timers
977
796
CCAS
978
797
CCASFLAGS
979
798
CPP
980
 
CXX
981
 
CXXFLAGS
982
 
CCC
983
 
CXXCPP
984
 
F77
985
 
FFLAGS
986
799
PKG_CONFIG
 
800
PKG_CONFIG_PATH
 
801
PKG_CONFIG_LIBDIR
987
802
GTK_CFLAGS
988
 
GTK_LIBS'
 
803
GTK_LIBS
 
804
PNG_CFLAGS
 
805
PNG_LIBS'
989
806
 
990
807
 
991
808
# Initialize some variables set by options.
1094
911
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1095
912
    # Reject names that are not valid shell variable names.
1096
913
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1098
 
   { (exit 1); exit 1; }; }
 
914
      as_fn_error $? "invalid feature name: $ac_useropt"
1099
915
    ac_useropt_orig=$ac_useropt
1100
916
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
917
    case $ac_user_opts in
1121
937
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1122
938
    # Reject names that are not valid shell variable names.
1123
939
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1125
 
   { (exit 1); exit 1; }; }
 
940
      as_fn_error $? "invalid feature name: $ac_useropt"
1126
941
    ac_useropt_orig=$ac_useropt
1127
942
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128
943
    case $ac_user_opts in
1326
1141
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1327
1142
    # Reject names that are not valid shell variable names.
1328
1143
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1329
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1330
 
   { (exit 1); exit 1; }; }
 
1144
      as_fn_error $? "invalid package name: $ac_useropt"
1331
1145
    ac_useropt_orig=$ac_useropt
1332
1146
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1333
1147
    case $ac_user_opts in
1343
1157
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1344
1158
    # Reject names that are not valid shell variable names.
1345
1159
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1346
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1347
 
   { (exit 1); exit 1; }; }
 
1160
      as_fn_error $? "invalid package name: $ac_useropt"
1348
1161
    ac_useropt_orig=$ac_useropt
1349
1162
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1350
1163
    case $ac_user_opts in
1374
1187
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1375
1188
    x_libraries=$ac_optarg ;;
1376
1189
 
1377
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1378
 
Try \`$0 --help' for more information." >&2
1379
 
   { (exit 1); exit 1; }; }
 
1190
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1191
Try \`$0 --help' for more information"
1380
1192
    ;;
1381
1193
 
1382
1194
  *=*)
1383
1195
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1384
1196
    # Reject names that are not valid shell variable names.
1385
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1386
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1387
 
   { (exit 1); exit 1; }; }
 
1197
    case $ac_envvar in #(
 
1198
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1199
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1200
    esac
1388
1201
    eval $ac_envvar=\$ac_optarg
1389
1202
    export $ac_envvar ;;
1390
1203
 
1401
1214
 
1402
1215
if test -n "$ac_prev"; then
1403
1216
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1404
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1405
 
   { (exit 1); exit 1; }; }
 
1217
  as_fn_error $? "missing argument to $ac_option"
1406
1218
fi
1407
1219
 
1408
1220
if test -n "$ac_unrecognized_opts"; then
1409
1221
  case $enable_option_checking in
1410
1222
    no) ;;
1411
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1412
 
   { (exit 1); exit 1; }; } ;;
 
1223
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1413
1224
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1414
1225
  esac
1415
1226
fi
1432
1243
    [\\/$]* | ?:[\\/]* )  continue;;
1433
1244
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1434
1245
  esac
1435
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1436
 
   { (exit 1); exit 1; }; }
 
1246
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1437
1247
done
1438
1248
 
1439
1249
# There might be people who depend on the old broken behavior: `$host'
1447
1257
if test "x$host_alias" != x; then
1448
1258
  if test "x$build_alias" = x; then
1449
1259
    cross_compiling=maybe
1450
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1451
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1260
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1261
    If a cross compiler is detected then cross compile mode will be used" >&2
1452
1262
  elif test "x$build_alias" != "x$host_alias"; then
1453
1263
    cross_compiling=yes
1454
1264
  fi
1463
1273
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1464
1274
ac_ls_di=`ls -di .` &&
1465
1275
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1466
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1467
 
   { (exit 1); exit 1; }; }
 
1276
  as_fn_error $? "working directory cannot be determined"
1468
1277
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1470
 
   { (exit 1); exit 1; }; }
 
1278
  as_fn_error $? "pwd does not report name of working directory"
1471
1279
 
1472
1280
 
1473
1281
# Find the source files, if location was not specified.
1506
1314
fi
1507
1315
if test ! -r "$srcdir/$ac_unique_file"; then
1508
1316
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1509
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1510
 
   { (exit 1); exit 1; }; }
 
1317
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1511
1318
fi
1512
1319
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1513
1320
ac_abs_confdir=`(
1514
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1515
 
   { (exit 1); exit 1; }; }
 
1321
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1516
1322
        pwd)`
1517
1323
# When building in place, set srcdir=.
1518
1324
if test "$ac_abs_confdir" = "$ac_pwd"; then
1538
1344
  # Omit some internal or obsolete options to make the list less imposing.
1539
1345
  # This message is too long to be a string in the A/UX 3.1 sh.
1540
1346
  cat <<_ACEOF
1541
 
\`configure' configures pixman 0.23.2 to adapt to many kinds of systems.
 
1347
\`configure' configures pixman 0.23.6 to adapt to many kinds of systems.
1542
1348
 
1543
1349
Usage: $0 [OPTION]... [VAR=VALUE]...
1544
1350
 
1552
1358
      --help=short        display options specific to this package
1553
1359
      --help=recursive    display the short help of all the included packages
1554
1360
  -V, --version           display version information and exit
1555
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1361
  -q, --quiet, --silent   do not print \`checking ...' messages
1556
1362
      --cache-file=FILE   cache test results in FILE [disabled]
1557
1363
  -C, --config-cache      alias for \`--cache-file=config.cache'
1558
1364
  -n, --no-create         do not create output files
1608
1414
 
1609
1415
if test -n "$ac_init_help"; then
1610
1416
  case $ac_init_help in
1611
 
     short | recursive ) echo "Configuration of pixman 0.23.2:";;
 
1417
     short | recursive ) echo "Configuration of pixman 0.23.6:";;
1612
1418
   esac
1613
1419
  cat <<\_ACEOF
1614
1420
 
1626
1432
                          optimize for fast installation [default=yes]
1627
1433
  --disable-libtool-lock  avoid locking (might break parallel builds)
1628
1434
  --disable-openmp        do not use OpenMP
1629
 
  --disable-mmx           disable MMX fast paths
 
1435
  --disable-mmx           disable x86 MMX fast paths
1630
1436
  --disable-sse2          disable SSE2 fast paths
1631
1437
  --disable-vmx           disable VMX fast paths
1632
1438
  --disable-arm-simd      disable ARM SIMD fast paths
1633
1439
  --disable-arm-neon      disable ARM NEON fast paths
 
1440
  --disable-arm-iwmmxt    disable ARM IWMMXT fast paths
1634
1441
  --disable-gcc-inline-asm
1635
1442
                          disable GNU-style inline assembler
1636
1443
  --enable-static-testprogs
1641
1448
Optional Packages:
1642
1449
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1643
1450
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1644
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1645
1451
  --with-pic              try to use only PIC/non-PIC objects [default=use
1646
1452
                          both]
1647
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1453
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1648
1454
 
1649
1455
Some influential environment variables:
1650
1456
  CC          C compiler command
1652
1458
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1653
1459
              nonstandard directory <lib dir>
1654
1460
  LIBS        libraries to pass to the linker, e.g. -l<library>
1655
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1461
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1656
1462
              you have headers in a nonstandard directory <include dir>
1657
1463
  CCAS        assembler compiler command (defaults to CC)
1658
1464
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1659
1465
  CPP         C preprocessor
1660
 
  CXX         C++ compiler command
1661
 
  CXXFLAGS    C++ compiler flags
1662
 
  CXXCPP      C++ preprocessor
1663
 
  F77         Fortran 77 compiler command
1664
 
  FFLAGS      Fortran 77 compiler flags
1665
1466
  PKG_CONFIG  path to pkg-config utility
 
1467
  PKG_CONFIG_PATH
 
1468
              directories to add to pkg-config's search path
 
1469
  PKG_CONFIG_LIBDIR
 
1470
              path overriding pkg-config's built-in search path
1666
1471
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1667
1472
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1473
  PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
 
1474
  PNG_LIBS    linker flags for PNG, overriding pkg-config
1668
1475
 
1669
1476
Use these variables to override the choices made by `configure' or to help
1670
1477
it to find libraries and programs with nonstandard names/locations.
1732
1539
test -n "$ac_init_help" && exit $ac_status
1733
1540
if $ac_init_version; then
1734
1541
  cat <<\_ACEOF
1735
 
pixman configure 0.23.2
1736
 
generated by GNU Autoconf 2.63
 
1542
pixman configure 0.23.6
 
1543
generated by GNU Autoconf 2.66
1737
1544
 
1738
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1739
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1545
Copyright (C) 2010 Free Software Foundation, Inc.
1740
1546
This configure script is free software; the Free Software Foundation
1741
1547
gives unlimited permission to copy, distribute and modify it.
1742
1548
_ACEOF
1743
1549
  exit
1744
1550
fi
 
1551
 
 
1552
## ------------------------ ##
 
1553
## Autoconf initialization. ##
 
1554
## ------------------------ ##
 
1555
 
 
1556
# ac_fn_c_try_compile LINENO
 
1557
# --------------------------
 
1558
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1559
ac_fn_c_try_compile ()
 
1560
{
 
1561
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1562
  rm -f conftest.$ac_objext
 
1563
  if { { ac_try="$ac_compile"
 
1564
case "(($ac_try" in
 
1565
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1566
  *) ac_try_echo=$ac_try;;
 
1567
esac
 
1568
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1569
$as_echo "$ac_try_echo"; } >&5
 
1570
  (eval "$ac_compile") 2>conftest.err
 
1571
  ac_status=$?
 
1572
  if test -s conftest.err; then
 
1573
    grep -v '^ *+' conftest.err >conftest.er1
 
1574
    cat conftest.er1 >&5
 
1575
    mv -f conftest.er1 conftest.err
 
1576
  fi
 
1577
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1578
  test $ac_status = 0; } && {
 
1579
         test -z "$ac_c_werror_flag" ||
 
1580
         test ! -s conftest.err
 
1581
       } && test -s conftest.$ac_objext; then :
 
1582
  ac_retval=0
 
1583
else
 
1584
  $as_echo "$as_me: failed program was:" >&5
 
1585
sed 's/^/| /' conftest.$ac_ext >&5
 
1586
 
 
1587
        ac_retval=1
 
1588
fi
 
1589
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1590
  as_fn_set_status $ac_retval
 
1591
 
 
1592
} # ac_fn_c_try_compile
 
1593
 
 
1594
# ac_fn_c_try_link LINENO
 
1595
# -----------------------
 
1596
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1597
ac_fn_c_try_link ()
 
1598
{
 
1599
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1600
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1601
  if { { ac_try="$ac_link"
 
1602
case "(($ac_try" in
 
1603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1604
  *) ac_try_echo=$ac_try;;
 
1605
esac
 
1606
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1607
$as_echo "$ac_try_echo"; } >&5
 
1608
  (eval "$ac_link") 2>conftest.err
 
1609
  ac_status=$?
 
1610
  if test -s conftest.err; then
 
1611
    grep -v '^ *+' conftest.err >conftest.er1
 
1612
    cat conftest.er1 >&5
 
1613
    mv -f conftest.er1 conftest.err
 
1614
  fi
 
1615
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1616
  test $ac_status = 0; } && {
 
1617
         test -z "$ac_c_werror_flag" ||
 
1618
         test ! -s conftest.err
 
1619
       } && test -s conftest$ac_exeext && {
 
1620
         test "$cross_compiling" = yes ||
 
1621
         $as_test_x conftest$ac_exeext
 
1622
       }; then :
 
1623
  ac_retval=0
 
1624
else
 
1625
  $as_echo "$as_me: failed program was:" >&5
 
1626
sed 's/^/| /' conftest.$ac_ext >&5
 
1627
 
 
1628
        ac_retval=1
 
1629
fi
 
1630
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1631
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1632
  # interfere with the next link command; also delete a directory that is
 
1633
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1634
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1635
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1636
  as_fn_set_status $ac_retval
 
1637
 
 
1638
} # ac_fn_c_try_link
 
1639
 
 
1640
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1641
# -------------------------------------------------------
 
1642
# Tests whether HEADER exists and can be compiled using the include files in
 
1643
# INCLUDES, setting the cache variable VAR accordingly.
 
1644
ac_fn_c_check_header_compile ()
 
1645
{
 
1646
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1647
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1648
$as_echo_n "checking for $2... " >&6; }
 
1649
if eval "test \"\${$3+set}\"" = set; then :
 
1650
  $as_echo_n "(cached) " >&6
 
1651
else
 
1652
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1653
/* end confdefs.h.  */
 
1654
$4
 
1655
#include <$2>
 
1656
_ACEOF
 
1657
if ac_fn_c_try_compile "$LINENO"; then :
 
1658
  eval "$3=yes"
 
1659
else
 
1660
  eval "$3=no"
 
1661
fi
 
1662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1663
fi
 
1664
eval ac_res=\$$3
 
1665
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1666
$as_echo "$ac_res" >&6; }
 
1667
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1668
 
 
1669
} # ac_fn_c_check_header_compile
 
1670
 
 
1671
# ac_fn_c_try_cpp LINENO
 
1672
# ----------------------
 
1673
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1674
ac_fn_c_try_cpp ()
 
1675
{
 
1676
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1677
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1678
case "(($ac_try" in
 
1679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1680
  *) ac_try_echo=$ac_try;;
 
1681
esac
 
1682
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1683
$as_echo "$ac_try_echo"; } >&5
 
1684
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1685
  ac_status=$?
 
1686
  if test -s conftest.err; then
 
1687
    grep -v '^ *+' conftest.err >conftest.er1
 
1688
    cat conftest.er1 >&5
 
1689
    mv -f conftest.er1 conftest.err
 
1690
  fi
 
1691
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1692
  test $ac_status = 0; } >/dev/null && {
 
1693
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1694
         test ! -s conftest.err
 
1695
       }; then :
 
1696
  ac_retval=0
 
1697
else
 
1698
  $as_echo "$as_me: failed program was:" >&5
 
1699
sed 's/^/| /' conftest.$ac_ext >&5
 
1700
 
 
1701
    ac_retval=1
 
1702
fi
 
1703
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1704
  as_fn_set_status $ac_retval
 
1705
 
 
1706
} # ac_fn_c_try_cpp
 
1707
 
 
1708
# ac_fn_c_try_run LINENO
 
1709
# ----------------------
 
1710
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1711
# that executables *can* be run.
 
1712
ac_fn_c_try_run ()
 
1713
{
 
1714
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1715
  if { { ac_try="$ac_link"
 
1716
case "(($ac_try" in
 
1717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1718
  *) ac_try_echo=$ac_try;;
 
1719
esac
 
1720
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1721
$as_echo "$ac_try_echo"; } >&5
 
1722
  (eval "$ac_link") 2>&5
 
1723
  ac_status=$?
 
1724
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1725
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1726
  { { case "(($ac_try" in
 
1727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1728
  *) ac_try_echo=$ac_try;;
 
1729
esac
 
1730
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1731
$as_echo "$ac_try_echo"; } >&5
 
1732
  (eval "$ac_try") 2>&5
 
1733
  ac_status=$?
 
1734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1735
  test $ac_status = 0; }; }; then :
 
1736
  ac_retval=0
 
1737
else
 
1738
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1739
       $as_echo "$as_me: failed program was:" >&5
 
1740
sed 's/^/| /' conftest.$ac_ext >&5
 
1741
 
 
1742
       ac_retval=$ac_status
 
1743
fi
 
1744
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1745
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1746
  as_fn_set_status $ac_retval
 
1747
 
 
1748
} # ac_fn_c_try_run
 
1749
 
 
1750
# ac_fn_c_check_func LINENO FUNC VAR
 
1751
# ----------------------------------
 
1752
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1753
ac_fn_c_check_func ()
 
1754
{
 
1755
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1756
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1757
$as_echo_n "checking for $2... " >&6; }
 
1758
if eval "test \"\${$3+set}\"" = set; then :
 
1759
  $as_echo_n "(cached) " >&6
 
1760
else
 
1761
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1762
/* end confdefs.h.  */
 
1763
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1764
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1765
#define $2 innocuous_$2
 
1766
 
 
1767
/* System header to define __stub macros and hopefully few prototypes,
 
1768
    which can conflict with char $2 (); below.
 
1769
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1770
    <limits.h> exists even on freestanding compilers.  */
 
1771
 
 
1772
#ifdef __STDC__
 
1773
# include <limits.h>
 
1774
#else
 
1775
# include <assert.h>
 
1776
#endif
 
1777
 
 
1778
#undef $2
 
1779
 
 
1780
/* Override any GCC internal prototype to avoid an error.
 
1781
   Use char because int might match the return type of a GCC
 
1782
   builtin and then its argument prototype would still apply.  */
 
1783
#ifdef __cplusplus
 
1784
extern "C"
 
1785
#endif
 
1786
char $2 ();
 
1787
/* The GNU C library defines this for functions which it implements
 
1788
    to always fail with ENOSYS.  Some functions are actually named
 
1789
    something starting with __ and the normal name is an alias.  */
 
1790
#if defined __stub_$2 || defined __stub___$2
 
1791
choke me
 
1792
#endif
 
1793
 
 
1794
int
 
1795
main ()
 
1796
{
 
1797
return $2 ();
 
1798
  ;
 
1799
  return 0;
 
1800
}
 
1801
_ACEOF
 
1802
if ac_fn_c_try_link "$LINENO"; then :
 
1803
  eval "$3=yes"
 
1804
else
 
1805
  eval "$3=no"
 
1806
fi
 
1807
rm -f core conftest.err conftest.$ac_objext \
 
1808
    conftest$ac_exeext conftest.$ac_ext
 
1809
fi
 
1810
eval ac_res=\$$3
 
1811
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1812
$as_echo "$ac_res" >&6; }
 
1813
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1814
 
 
1815
} # ac_fn_c_check_func
 
1816
 
 
1817
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 
1818
# --------------------------------------------
 
1819
# Tries to find the compile-time value of EXPR in a program that includes
 
1820
# INCLUDES, setting VAR accordingly. Returns whether the value could be
 
1821
# computed
 
1822
ac_fn_c_compute_int ()
 
1823
{
 
1824
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1825
  if test "$cross_compiling" = yes; then
 
1826
    # Depending upon the size, compute the lo and hi bounds.
 
1827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1828
/* end confdefs.h.  */
 
1829
$4
 
1830
int
 
1831
main ()
 
1832
{
 
1833
static int test_array [1 - 2 * !(($2) >= 0)];
 
1834
test_array [0] = 0
 
1835
 
 
1836
  ;
 
1837
  return 0;
 
1838
}
 
1839
_ACEOF
 
1840
if ac_fn_c_try_compile "$LINENO"; then :
 
1841
  ac_lo=0 ac_mid=0
 
1842
  while :; do
 
1843
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1844
/* end confdefs.h.  */
 
1845
$4
 
1846
int
 
1847
main ()
 
1848
{
 
1849
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
1850
test_array [0] = 0
 
1851
 
 
1852
  ;
 
1853
  return 0;
 
1854
}
 
1855
_ACEOF
 
1856
if ac_fn_c_try_compile "$LINENO"; then :
 
1857
  ac_hi=$ac_mid; break
 
1858
else
 
1859
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 
1860
                        if test $ac_lo -le $ac_mid; then
 
1861
                          ac_lo= ac_hi=
 
1862
                          break
 
1863
                        fi
 
1864
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 
1865
fi
 
1866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1867
  done
 
1868
else
 
1869
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1870
/* end confdefs.h.  */
 
1871
$4
 
1872
int
 
1873
main ()
 
1874
{
 
1875
static int test_array [1 - 2 * !(($2) < 0)];
 
1876
test_array [0] = 0
 
1877
 
 
1878
  ;
 
1879
  return 0;
 
1880
}
 
1881
_ACEOF
 
1882
if ac_fn_c_try_compile "$LINENO"; then :
 
1883
  ac_hi=-1 ac_mid=-1
 
1884
  while :; do
 
1885
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1886
/* end confdefs.h.  */
 
1887
$4
 
1888
int
 
1889
main ()
 
1890
{
 
1891
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 
1892
test_array [0] = 0
 
1893
 
 
1894
  ;
 
1895
  return 0;
 
1896
}
 
1897
_ACEOF
 
1898
if ac_fn_c_try_compile "$LINENO"; then :
 
1899
  ac_lo=$ac_mid; break
 
1900
else
 
1901
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 
1902
                        if test $ac_mid -le $ac_hi; then
 
1903
                          ac_lo= ac_hi=
 
1904
                          break
 
1905
                        fi
 
1906
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 
1907
fi
 
1908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1909
  done
 
1910
else
 
1911
  ac_lo= ac_hi=
 
1912
fi
 
1913
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1914
fi
 
1915
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1916
# Binary search between lo and hi bounds.
 
1917
while test "x$ac_lo" != "x$ac_hi"; do
 
1918
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 
1919
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1920
/* end confdefs.h.  */
 
1921
$4
 
1922
int
 
1923
main ()
 
1924
{
 
1925
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
1926
test_array [0] = 0
 
1927
 
 
1928
  ;
 
1929
  return 0;
 
1930
}
 
1931
_ACEOF
 
1932
if ac_fn_c_try_compile "$LINENO"; then :
 
1933
  ac_hi=$ac_mid
 
1934
else
 
1935
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 
1936
fi
 
1937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1938
done
 
1939
case $ac_lo in #((
 
1940
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 
1941
'') ac_retval=1 ;;
 
1942
esac
 
1943
  else
 
1944
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1945
/* end confdefs.h.  */
 
1946
$4
 
1947
static long int longval () { return $2; }
 
1948
static unsigned long int ulongval () { return $2; }
 
1949
#include <stdio.h>
 
1950
#include <stdlib.h>
 
1951
int
 
1952
main ()
 
1953
{
 
1954
 
 
1955
  FILE *f = fopen ("conftest.val", "w");
 
1956
  if (! f)
 
1957
    return 1;
 
1958
  if (($2) < 0)
 
1959
    {
 
1960
      long int i = longval ();
 
1961
      if (i != ($2))
 
1962
        return 1;
 
1963
      fprintf (f, "%ld", i);
 
1964
    }
 
1965
  else
 
1966
    {
 
1967
      unsigned long int i = ulongval ();
 
1968
      if (i != ($2))
 
1969
        return 1;
 
1970
      fprintf (f, "%lu", i);
 
1971
    }
 
1972
  /* Do not output a trailing newline, as this causes \r\n confusion
 
1973
     on some platforms.  */
 
1974
  return ferror (f) || fclose (f) != 0;
 
1975
 
 
1976
  ;
 
1977
  return 0;
 
1978
}
 
1979
_ACEOF
 
1980
if ac_fn_c_try_run "$LINENO"; then :
 
1981
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 
1982
else
 
1983
  ac_retval=1
 
1984
fi
 
1985
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
1986
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
1987
rm -f conftest.val
 
1988
 
 
1989
  fi
 
1990
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1991
  as_fn_set_status $ac_retval
 
1992
 
 
1993
} # ac_fn_c_compute_int
 
1994
 
 
1995
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1996
# ---------------------------------------------
 
1997
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1998
# accordingly.
 
1999
ac_fn_c_check_decl ()
 
2000
{
 
2001
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2002
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
2003
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
2004
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
2005
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
2006
if eval "test \"\${$3+set}\"" = set; then :
 
2007
  $as_echo_n "(cached) " >&6
 
2008
else
 
2009
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2010
/* end confdefs.h.  */
 
2011
$4
 
2012
int
 
2013
main ()
 
2014
{
 
2015
#ifndef $as_decl_name
 
2016
#ifdef __cplusplus
 
2017
  (void) $as_decl_use;
 
2018
#else
 
2019
  (void) $as_decl_name;
 
2020
#endif
 
2021
#endif
 
2022
 
 
2023
  ;
 
2024
  return 0;
 
2025
}
 
2026
_ACEOF
 
2027
if ac_fn_c_try_compile "$LINENO"; then :
 
2028
  eval "$3=yes"
 
2029
else
 
2030
  eval "$3=no"
 
2031
fi
 
2032
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2033
fi
 
2034
eval ac_res=\$$3
 
2035
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2036
$as_echo "$ac_res" >&6; }
 
2037
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2038
 
 
2039
} # ac_fn_c_check_decl
 
2040
 
 
2041
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2042
# -------------------------------------------------------
 
2043
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2044
# the include files in INCLUDES and setting the cache variable VAR
 
2045
# accordingly.
 
2046
ac_fn_c_check_header_mongrel ()
 
2047
{
 
2048
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2049
  if eval "test \"\${$3+set}\"" = set; then :
 
2050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2051
$as_echo_n "checking for $2... " >&6; }
 
2052
if eval "test \"\${$3+set}\"" = set; then :
 
2053
  $as_echo_n "(cached) " >&6
 
2054
fi
 
2055
eval ac_res=\$$3
 
2056
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2057
$as_echo "$ac_res" >&6; }
 
2058
else
 
2059
  # Is the header compilable?
 
2060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2061
$as_echo_n "checking $2 usability... " >&6; }
 
2062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2063
/* end confdefs.h.  */
 
2064
$4
 
2065
#include <$2>
 
2066
_ACEOF
 
2067
if ac_fn_c_try_compile "$LINENO"; then :
 
2068
  ac_header_compiler=yes
 
2069
else
 
2070
  ac_header_compiler=no
 
2071
fi
 
2072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2074
$as_echo "$ac_header_compiler" >&6; }
 
2075
 
 
2076
# Is the header present?
 
2077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2078
$as_echo_n "checking $2 presence... " >&6; }
 
2079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2080
/* end confdefs.h.  */
 
2081
#include <$2>
 
2082
_ACEOF
 
2083
if ac_fn_c_try_cpp "$LINENO"; then :
 
2084
  ac_header_preproc=yes
 
2085
else
 
2086
  ac_header_preproc=no
 
2087
fi
 
2088
rm -f conftest.err conftest.$ac_ext
 
2089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2090
$as_echo "$ac_header_preproc" >&6; }
 
2091
 
 
2092
# So?  What about this header?
 
2093
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2094
  yes:no: )
 
2095
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2096
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2097
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2098
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2099
    ;;
 
2100
  no:yes:* )
 
2101
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2102
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2103
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2104
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2105
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2106
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2107
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2108
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2109
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2110
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2111
( $as_echo "## ------------------------------------------- ##
 
2112
## Report this to pixman@lists.freedesktop.org ##
 
2113
## ------------------------------------------- ##"
 
2114
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2115
    ;;
 
2116
esac
 
2117
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2118
$as_echo_n "checking for $2... " >&6; }
 
2119
if eval "test \"\${$3+set}\"" = set; then :
 
2120
  $as_echo_n "(cached) " >&6
 
2121
else
 
2122
  eval "$3=\$ac_header_compiler"
 
2123
fi
 
2124
eval ac_res=\$$3
 
2125
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2126
$as_echo "$ac_res" >&6; }
 
2127
fi
 
2128
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2129
 
 
2130
} # ac_fn_c_check_header_mongrel
1745
2131
cat >config.log <<_ACEOF
1746
2132
This file contains any messages produced by compilers while
1747
2133
running configure, to aid debugging if configure makes a mistake.
1748
2134
 
1749
 
It was created by pixman $as_me 0.23.2, which was
1750
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2135
It was created by pixman $as_me 0.23.6, which was
 
2136
generated by GNU Autoconf 2.66.  Invocation command line was
1751
2137
 
1752
2138
  $ $0 $@
1753
2139
 
1783
2169
do
1784
2170
  IFS=$as_save_IFS
1785
2171
  test -z "$as_dir" && as_dir=.
1786
 
  $as_echo "PATH: $as_dir"
1787
 
done
 
2172
    $as_echo "PATH: $as_dir"
 
2173
  done
1788
2174
IFS=$as_save_IFS
1789
2175
 
1790
2176
} >&5
1821
2207
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1822
2208
    esac
1823
2209
    case $ac_pass in
1824
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2210
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1825
2211
    2)
1826
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2212
      as_fn_append ac_configure_args1 " '$ac_arg'"
1827
2213
      if test $ac_must_keep_next = true; then
1828
2214
        ac_must_keep_next=false # Got value, back to normal.
1829
2215
      else
1839
2225
          -* ) ac_must_keep_next=true ;;
1840
2226
        esac
1841
2227
      fi
1842
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2228
      as_fn_append ac_configure_args " '$ac_arg'"
1843
2229
      ;;
1844
2230
    esac
1845
2231
  done
1846
2232
done
1847
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1848
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2233
{ ac_configure_args0=; unset ac_configure_args0;}
 
2234
{ ac_configure_args1=; unset ac_configure_args1;}
1849
2235
 
1850
2236
# When interrupted or exit'd, cleanup temporary files, and complete
1851
2237
# config.log.  We remove comments because anyway the quotes in there
1857
2243
  {
1858
2244
    echo
1859
2245
 
1860
 
    cat <<\_ASBOX
1861
 
## ---------------- ##
 
2246
    $as_echo "## ---------------- ##
1862
2247
## Cache variables. ##
1863
 
## ---------------- ##
1864
 
_ASBOX
 
2248
## ---------------- ##"
1865
2249
    echo
1866
2250
    # The following way of writing the cache mishandles newlines in values,
1867
2251
(
1870
2254
    case $ac_val in #(
1871
2255
    *${as_nl}*)
1872
2256
      case $ac_var in #(
1873
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2257
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1874
2258
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1875
2259
      esac
1876
2260
      case $ac_var in #(
1877
2261
      _ | IFS | as_nl) ;; #(
1878
2262
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1879
 
      *) $as_unset $ac_var ;;
 
2263
      *) { eval $ac_var=; unset $ac_var;} ;;
1880
2264
      esac ;;
1881
2265
    esac
1882
2266
  done
1895
2279
)
1896
2280
    echo
1897
2281
 
1898
 
    cat <<\_ASBOX
1899
 
## ----------------- ##
 
2282
    $as_echo "## ----------------- ##
1900
2283
## Output variables. ##
1901
 
## ----------------- ##
1902
 
_ASBOX
 
2284
## ----------------- ##"
1903
2285
    echo
1904
2286
    for ac_var in $ac_subst_vars
1905
2287
    do
1912
2294
    echo
1913
2295
 
1914
2296
    if test -n "$ac_subst_files"; then
1915
 
      cat <<\_ASBOX
1916
 
## ------------------- ##
 
2297
      $as_echo "## ------------------- ##
1917
2298
## File substitutions. ##
1918
 
## ------------------- ##
1919
 
_ASBOX
 
2299
## ------------------- ##"
1920
2300
      echo
1921
2301
      for ac_var in $ac_subst_files
1922
2302
      do
1930
2310
    fi
1931
2311
 
1932
2312
    if test -s confdefs.h; then
1933
 
      cat <<\_ASBOX
1934
 
## ----------- ##
 
2313
      $as_echo "## ----------- ##
1935
2314
## confdefs.h. ##
1936
 
## ----------- ##
1937
 
_ASBOX
 
2315
## ----------- ##"
1938
2316
      echo
1939
2317
      cat confdefs.h
1940
2318
      echo
1948
2326
    exit $exit_status
1949
2327
' 0
1950
2328
for ac_signal in 1 2 13 15; do
1951
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2329
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1952
2330
done
1953
2331
ac_signal=0
1954
2332
 
1955
2333
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1956
2334
rm -f -r conftest* confdefs.h
1957
2335
 
 
2336
$as_echo "/* confdefs.h */" > confdefs.h
 
2337
 
1958
2338
# Predefined preprocessor variables.
1959
2339
 
1960
2340
cat >>confdefs.h <<_ACEOF
1961
2341
#define PACKAGE_NAME "$PACKAGE_NAME"
1962
2342
_ACEOF
1963
2343
 
1964
 
 
1965
2344
cat >>confdefs.h <<_ACEOF
1966
2345
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1967
2346
_ACEOF
1968
2347
 
1969
 
 
1970
2348
cat >>confdefs.h <<_ACEOF
1971
2349
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1972
2350
_ACEOF
1973
2351
 
1974
 
 
1975
2352
cat >>confdefs.h <<_ACEOF
1976
2353
#define PACKAGE_STRING "$PACKAGE_STRING"
1977
2354
_ACEOF
1978
2355
 
1979
 
 
1980
2356
cat >>confdefs.h <<_ACEOF
1981
2357
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1982
2358
_ACEOF
1983
2359
 
 
2360
cat >>confdefs.h <<_ACEOF
 
2361
#define PACKAGE_URL "$PACKAGE_URL"
 
2362
_ACEOF
 
2363
 
1984
2364
 
1985
2365
# Let the site file select an alternate cache file if it wants to.
1986
2366
# Prefer an explicitly selected file to automatically selected ones.
1987
2367
ac_site_file1=NONE
1988
2368
ac_site_file2=NONE
1989
2369
if test -n "$CONFIG_SITE"; then
1990
 
  ac_site_file1=$CONFIG_SITE
 
2370
  # We do not want a PATH search for config.site.
 
2371
  case $CONFIG_SITE in #((
 
2372
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2373
    */*) ac_site_file1=$CONFIG_SITE;;
 
2374
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2375
  esac
1991
2376
elif test "x$prefix" != xNONE; then
1992
2377
  ac_site_file1=$prefix/share/config.site
1993
2378
  ac_site_file2=$prefix/etc/config.site
1998
2383
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1999
2384
do
2000
2385
  test "x$ac_site_file" = xNONE && continue
2001
 
  if test -r "$ac_site_file"; then
2002
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2386
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2387
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2003
2388
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2004
2389
    sed 's/^/| /' "$ac_site_file" >&5
2005
 
    . "$ac_site_file"
 
2390
    . "$ac_site_file" \
 
2391
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2392
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2393
as_fn_error $? "failed to load site script $ac_site_file
 
2394
See \`config.log' for more details" "$LINENO" 5; }
2006
2395
  fi
2007
2396
done
2008
2397
 
2009
2398
if test -r "$cache_file"; then
2010
 
  # Some versions of bash will fail to source /dev/null (special
2011
 
  # files actually), so we avoid doing that.
2012
 
  if test -f "$cache_file"; then
2013
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2399
  # Some versions of bash will fail to source /dev/null (special files
 
2400
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2401
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2402
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2014
2403
$as_echo "$as_me: loading cache $cache_file" >&6;}
2015
2404
    case $cache_file in
2016
2405
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2018
2407
    esac
2019
2408
  fi
2020
2409
else
2021
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2410
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2022
2411
$as_echo "$as_me: creating cache $cache_file" >&6;}
2023
2412
  >$cache_file
2024
2413
fi
2033
2422
  eval ac_new_val=\$ac_env_${ac_var}_value
2034
2423
  case $ac_old_set,$ac_new_set in
2035
2424
    set,)
2036
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2425
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2037
2426
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2038
2427
      ac_cache_corrupted=: ;;
2039
2428
    ,set)
2040
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2429
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2041
2430
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2042
2431
      ac_cache_corrupted=: ;;
2043
2432
    ,);;
2047
2436
        ac_old_val_w=`echo x $ac_old_val`
2048
2437
        ac_new_val_w=`echo x $ac_new_val`
2049
2438
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2050
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2439
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2051
2440
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2052
2441
          ac_cache_corrupted=:
2053
2442
        else
2054
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2443
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2055
2444
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2056
2445
          eval $ac_var=\$ac_old_val
2057
2446
        fi
2058
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2447
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2059
2448
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2060
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2449
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2061
2450
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2062
2451
      fi;;
2063
2452
  esac
2069
2458
    esac
2070
2459
    case " $ac_configure_args " in
2071
2460
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2072
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2461
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2073
2462
    esac
2074
2463
  fi
2075
2464
done
2076
2465
if $ac_cache_corrupted; then
2077
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2466
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2078
2467
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2079
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2468
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2080
2469
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2081
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2082
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2083
 
   { (exit 1); exit 1; }; }
 
2470
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2084
2471
fi
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
 
 
2095
 
 
2096
 
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
 
2472
## -------------------- ##
 
2473
## Main body of script. ##
 
2474
## -------------------- ##
2109
2475
 
2110
2476
ac_ext=c
2111
2477
ac_cpp='$CPP $CPPFLAGS'
2133
2499
  fi
2134
2500
done
2135
2501
if test -z "$ac_aux_dir"; then
2136
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2137
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2138
 
   { (exit 1); exit 1; }; }
 
2502
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2139
2503
fi
2140
2504
 
2141
2505
# These three variables are undocumented and unsupported,
2161
2525
# OS/2's system install, which has a completely different semantic
2162
2526
# ./install, which can be erroneously created by make from ./install.sh.
2163
2527
# Reject install programs that cannot install multiple files.
2164
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2165
2529
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2166
2530
if test -z "$INSTALL"; then
2167
 
if test "${ac_cv_path_install+set}" = set; then
 
2531
if test "${ac_cv_path_install+set}" = set; then :
2168
2532
  $as_echo_n "(cached) " >&6
2169
2533
else
2170
2534
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172
2536
do
2173
2537
  IFS=$as_save_IFS
2174
2538
  test -z "$as_dir" && as_dir=.
2175
 
  # Account for people who put trailing slashes in PATH elements.
2176
 
case $as_dir/ in
2177
 
  ./ | .// | /cC/* | \
 
2539
    # Account for people who put trailing slashes in PATH elements.
 
2540
case $as_dir/ in #((
 
2541
  ./ | .// | /[cC]/* | \
2178
2542
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2179
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2543
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2180
2544
  /usr/ucb/* ) ;;
2181
2545
  *)
2182
2546
    # OSF1 and SCO ODT 3.0 have their own names for install.
2213
2577
    ;;
2214
2578
esac
2215
2579
 
2216
 
done
 
2580
  done
2217
2581
IFS=$as_save_IFS
2218
2582
 
2219
2583
rm -rf conftest.one conftest.two conftest.dir
2229
2593
    INSTALL=$ac_install_sh
2230
2594
  fi
2231
2595
fi
2232
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2233
2597
$as_echo "$INSTALL" >&6; }
2234
2598
 
2235
2599
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2240
2604
 
2241
2605
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2242
2606
 
2243
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2244
2608
$as_echo_n "checking whether build environment is sane... " >&6; }
2245
2609
# Just in case
2246
2610
sleep 1
2251
2615
'
2252
2616
case `pwd` in
2253
2617
  *[\\\"\#\$\&\'\`$am_lf]*)
2254
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2255
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2256
 
   { (exit 1); exit 1; }; };;
 
2618
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2257
2619
esac
2258
2620
case $srcdir in
2259
2621
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2260
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2261
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2262
 
   { (exit 1); exit 1; }; };;
 
2622
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2263
2623
esac
2264
2624
 
2265
2625
# Do `set' in a subshell so we don't clobber the current shell's
2281
2641
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2282
2642
      # broken ls alias from the environment.  This has actually
2283
2643
      # happened.  Such a system could not be considered "sane".
2284
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2285
 
alias in your environment" >&5
2286
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2287
 
alias in your environment" >&2;}
2288
 
   { (exit 1); exit 1; }; }
 
2644
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2645
alias in your environment" "$LINENO" 5
2289
2646
   fi
2290
2647
 
2291
2648
   test "$2" = conftest.file
2294
2651
   # Ok.
2295
2652
   :
2296
2653
else
2297
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2298
 
Check your system clock" >&5
2299
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2300
 
Check your system clock" >&2;}
2301
 
   { (exit 1); exit 1; }; }
 
2654
   as_fn_error $? "newly created file is older than distributed files!
 
2655
Check your system clock" "$LINENO" 5
2302
2656
fi
2303
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2304
2658
$as_echo "yes" >&6; }
2305
2659
test "$program_prefix" != NONE &&
2306
2660
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2328
2682
  am_missing_run="$MISSING --run "
2329
2683
else
2330
2684
  am_missing_run=
2331
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2685
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2332
2686
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2333
2687
fi
2334
2688
 
2349
2703
  if test -n "$ac_tool_prefix"; then
2350
2704
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2351
2705
set dummy ${ac_tool_prefix}strip; ac_word=$2
2352
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353
2707
$as_echo_n "checking for $ac_word... " >&6; }
2354
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2708
if test "${ac_cv_prog_STRIP+set}" = set; then :
2355
2709
  $as_echo_n "(cached) " >&6
2356
2710
else
2357
2711
  if test -n "$STRIP"; then
2362
2716
do
2363
2717
  IFS=$as_save_IFS
2364
2718
  test -z "$as_dir" && as_dir=.
2365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2719
    for ac_exec_ext in '' $ac_executable_extensions; do
2366
2720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367
2721
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2368
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
2723
    break 2
2370
2724
  fi
2371
2725
done
2372
 
done
 
2726
  done
2373
2727
IFS=$as_save_IFS
2374
2728
 
2375
2729
fi
2376
2730
fi
2377
2731
STRIP=$ac_cv_prog_STRIP
2378
2732
if test -n "$STRIP"; then
2379
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2380
2734
$as_echo "$STRIP" >&6; }
2381
2735
else
2382
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383
2737
$as_echo "no" >&6; }
2384
2738
fi
2385
2739
 
2389
2743
  ac_ct_STRIP=$STRIP
2390
2744
  # Extract the first word of "strip", so it can be a program name with args.
2391
2745
set dummy strip; ac_word=$2
2392
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393
2747
$as_echo_n "checking for $ac_word... " >&6; }
2394
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2748
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2395
2749
  $as_echo_n "(cached) " >&6
2396
2750
else
2397
2751
  if test -n "$ac_ct_STRIP"; then
2402
2756
do
2403
2757
  IFS=$as_save_IFS
2404
2758
  test -z "$as_dir" && as_dir=.
2405
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2759
    for ac_exec_ext in '' $ac_executable_extensions; do
2406
2760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407
2761
    ac_cv_prog_ac_ct_STRIP="strip"
2408
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409
2763
    break 2
2410
2764
  fi
2411
2765
done
2412
 
done
 
2766
  done
2413
2767
IFS=$as_save_IFS
2414
2768
 
2415
2769
fi
2416
2770
fi
2417
2771
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2418
2772
if test -n "$ac_ct_STRIP"; then
2419
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2420
2774
$as_echo "$ac_ct_STRIP" >&6; }
2421
2775
else
2422
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423
2777
$as_echo "no" >&6; }
2424
2778
fi
2425
2779
 
2428
2782
  else
2429
2783
    case $cross_compiling:$ac_tool_warned in
2430
2784
yes:)
2431
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2432
2786
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2433
2787
ac_tool_warned=yes ;;
2434
2788
esac
2441
2795
fi
2442
2796
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2443
2797
 
2444
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2445
2799
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2446
2800
if test -z "$MKDIR_P"; then
2447
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2801
  if test "${ac_cv_path_mkdir+set}" = set; then :
2448
2802
  $as_echo_n "(cached) " >&6
2449
2803
else
2450
2804
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452
2806
do
2453
2807
  IFS=$as_save_IFS
2454
2808
  test -z "$as_dir" && as_dir=.
2455
 
  for ac_prog in mkdir gmkdir; do
 
2809
    for ac_prog in mkdir gmkdir; do
2456
2810
         for ac_exec_ext in '' $ac_executable_extensions; do
2457
2811
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2458
2812
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2464
2818
           esac
2465
2819
         done
2466
2820
       done
2467
 
done
 
2821
  done
2468
2822
IFS=$as_save_IFS
2469
2823
 
2470
2824
fi
2471
2825
 
 
2826
  test -d ./--version && rmdir ./--version
2472
2827
  if test "${ac_cv_path_mkdir+set}" = set; then
2473
2828
    MKDIR_P="$ac_cv_path_mkdir -p"
2474
2829
  else
2476
2831
    # value for MKDIR_P within a source directory, because that will
2477
2832
    # break other packages using the cache if that directory is
2478
2833
    # removed, or if the value is a relative name.
2479
 
    test -d ./--version && rmdir ./--version
2480
2834
    MKDIR_P="$ac_install_sh -d"
2481
2835
  fi
2482
2836
fi
2483
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2484
2838
$as_echo "$MKDIR_P" >&6; }
2485
2839
 
2486
2840
mkdir_p="$MKDIR_P"
2493
2847
do
2494
2848
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2495
2849
set dummy $ac_prog; ac_word=$2
2496
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497
2851
$as_echo_n "checking for $ac_word... " >&6; }
2498
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2852
if test "${ac_cv_prog_AWK+set}" = set; then :
2499
2853
  $as_echo_n "(cached) " >&6
2500
2854
else
2501
2855
  if test -n "$AWK"; then
2506
2860
do
2507
2861
  IFS=$as_save_IFS
2508
2862
  test -z "$as_dir" && as_dir=.
2509
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2863
    for ac_exec_ext in '' $ac_executable_extensions; do
2510
2864
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511
2865
    ac_cv_prog_AWK="$ac_prog"
2512
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2866
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513
2867
    break 2
2514
2868
  fi
2515
2869
done
2516
 
done
 
2870
  done
2517
2871
IFS=$as_save_IFS
2518
2872
 
2519
2873
fi
2520
2874
fi
2521
2875
AWK=$ac_cv_prog_AWK
2522
2876
if test -n "$AWK"; then
2523
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2524
2878
$as_echo "$AWK" >&6; }
2525
2879
else
2526
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527
2881
$as_echo "no" >&6; }
2528
2882
fi
2529
2883
 
2531
2885
  test -n "$AWK" && break
2532
2886
done
2533
2887
 
2534
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2535
2889
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2536
2890
set x ${MAKE-make}
2537
2891
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2538
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2892
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2539
2893
  $as_echo_n "(cached) " >&6
2540
2894
else
2541
2895
  cat >conftest.make <<\_ACEOF
2543
2897
all:
2544
2898
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2545
2899
_ACEOF
2546
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2900
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2547
2901
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2548
2902
  *@@@%%%=?*=@@@%%%*)
2549
2903
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2553
2907
rm -f conftest.make
2554
2908
fi
2555
2909
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2556
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557
2911
$as_echo "yes" >&6; }
2558
2912
  SET_MAKE=
2559
2913
else
2560
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561
2915
$as_echo "no" >&6; }
2562
2916
  SET_MAKE="MAKE=${MAKE-make}"
2563
2917
fi
2577
2931
  am__isrc=' -I$(srcdir)'
2578
2932
  # test to see if srcdir already configured
2579
2933
  if test -f $srcdir/config.status; then
2580
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2581
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2582
 
   { (exit 1); exit 1; }; }
 
2934
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2583
2935
  fi
2584
2936
fi
2585
2937
 
2595
2947
 
2596
2948
# Define the identity of the package.
2597
2949
 PACKAGE='pixman'
2598
 
 VERSION='0.23.2'
 
2950
 VERSION='0.23.6'
2599
2951
 
2600
2952
 
2601
2953
cat >>confdefs.h <<_ACEOF
2638
2990
 
2639
2991
# Suppress verbose compile lines
2640
2992
# Check whether --enable-silent-rules was given.
2641
 
if test "${enable_silent_rules+set}" = set; then
 
2993
if test "${enable_silent_rules+set}" = set; then :
2642
2994
  enableval=$enable_silent_rules;
2643
2995
fi
2644
2996
 
2655
3007
 
2656
3008
# Make sure we can run config.sub.
2657
3009
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2658
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2659
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2660
 
   { (exit 1); exit 1; }; }
 
3010
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2661
3011
 
2662
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
3012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2663
3013
$as_echo_n "checking build system type... " >&6; }
2664
 
if test "${ac_cv_build+set}" = set; then
 
3014
if test "${ac_cv_build+set}" = set; then :
2665
3015
  $as_echo_n "(cached) " >&6
2666
3016
else
2667
3017
  ac_build_alias=$build_alias
2668
3018
test "x$ac_build_alias" = x &&
2669
3019
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2670
3020
test "x$ac_build_alias" = x &&
2671
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2672
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2673
 
   { (exit 1); exit 1; }; }
 
3021
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2674
3022
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2675
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2676
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2677
 
   { (exit 1); exit 1; }; }
 
3023
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2678
3024
 
2679
3025
fi
2680
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2681
3027
$as_echo "$ac_cv_build" >&6; }
2682
3028
case $ac_cv_build in
2683
3029
*-*-*) ;;
2684
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2685
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2686
 
   { (exit 1); exit 1; }; };;
 
3030
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2687
3031
esac
2688
3032
build=$ac_cv_build
2689
3033
ac_save_IFS=$IFS; IFS='-'
2699
3043
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2700
3044
 
2701
3045
 
2702
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2703
3047
$as_echo_n "checking host system type... " >&6; }
2704
 
if test "${ac_cv_host+set}" = set; then
 
3048
if test "${ac_cv_host+set}" = set; then :
2705
3049
  $as_echo_n "(cached) " >&6
2706
3050
else
2707
3051
  if test "x$host_alias" = x; then
2708
3052
  ac_cv_host=$ac_cv_build
2709
3053
else
2710
3054
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2711
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2712
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2713
 
   { (exit 1); exit 1; }; }
 
3055
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2714
3056
fi
2715
3057
 
2716
3058
fi
2717
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2718
3060
$as_echo "$ac_cv_host" >&6; }
2719
3061
case $ac_cv_host in
2720
3062
*-*-*) ;;
2721
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2722
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2723
 
   { (exit 1); exit 1; }; };;
 
3063
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2724
3064
esac
2725
3065
host=$ac_cv_host
2726
3066
ac_save_IFS=$IFS; IFS='-'
2747
3087
if test -n "$ac_tool_prefix"; then
2748
3088
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2749
3089
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2750
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751
3091
$as_echo_n "checking for $ac_word... " >&6; }
2752
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3092
if test "${ac_cv_prog_CC+set}" = set; then :
2753
3093
  $as_echo_n "(cached) " >&6
2754
3094
else
2755
3095
  if test -n "$CC"; then
2760
3100
do
2761
3101
  IFS=$as_save_IFS
2762
3102
  test -z "$as_dir" && as_dir=.
2763
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3103
    for ac_exec_ext in '' $ac_executable_extensions; do
2764
3104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765
3105
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2766
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767
3107
    break 2
2768
3108
  fi
2769
3109
done
2770
 
done
 
3110
  done
2771
3111
IFS=$as_save_IFS
2772
3112
 
2773
3113
fi
2774
3114
fi
2775
3115
CC=$ac_cv_prog_CC
2776
3116
if test -n "$CC"; then
2777
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2778
3118
$as_echo "$CC" >&6; }
2779
3119
else
2780
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781
3121
$as_echo "no" >&6; }
2782
3122
fi
2783
3123
 
2787
3127
  ac_ct_CC=$CC
2788
3128
  # Extract the first word of "gcc", so it can be a program name with args.
2789
3129
set dummy gcc; ac_word=$2
2790
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791
3131
$as_echo_n "checking for $ac_word... " >&6; }
2792
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3132
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2793
3133
  $as_echo_n "(cached) " >&6
2794
3134
else
2795
3135
  if test -n "$ac_ct_CC"; then
2800
3140
do
2801
3141
  IFS=$as_save_IFS
2802
3142
  test -z "$as_dir" && as_dir=.
2803
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3143
    for ac_exec_ext in '' $ac_executable_extensions; do
2804
3144
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805
3145
    ac_cv_prog_ac_ct_CC="gcc"
2806
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3146
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807
3147
    break 2
2808
3148
  fi
2809
3149
done
2810
 
done
 
3150
  done
2811
3151
IFS=$as_save_IFS
2812
3152
 
2813
3153
fi
2814
3154
fi
2815
3155
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2816
3156
if test -n "$ac_ct_CC"; then
2817
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2818
3158
$as_echo "$ac_ct_CC" >&6; }
2819
3159
else
2820
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821
3161
$as_echo "no" >&6; }
2822
3162
fi
2823
3163
 
2826
3166
  else
2827
3167
    case $cross_compiling:$ac_tool_warned in
2828
3168
yes:)
2829
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3169
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2830
3170
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2831
3171
ac_tool_warned=yes ;;
2832
3172
esac
2840
3180
          if test -n "$ac_tool_prefix"; then
2841
3181
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2842
3182
set dummy ${ac_tool_prefix}cc; ac_word=$2
2843
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844
3184
$as_echo_n "checking for $ac_word... " >&6; }
2845
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3185
if test "${ac_cv_prog_CC+set}" = set; then :
2846
3186
  $as_echo_n "(cached) " >&6
2847
3187
else
2848
3188
  if test -n "$CC"; then
2853
3193
do
2854
3194
  IFS=$as_save_IFS
2855
3195
  test -z "$as_dir" && as_dir=.
2856
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3196
    for ac_exec_ext in '' $ac_executable_extensions; do
2857
3197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858
3198
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2859
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3199
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860
3200
    break 2
2861
3201
  fi
2862
3202
done
2863
 
done
 
3203
  done
2864
3204
IFS=$as_save_IFS
2865
3205
 
2866
3206
fi
2867
3207
fi
2868
3208
CC=$ac_cv_prog_CC
2869
3209
if test -n "$CC"; then
2870
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2871
3211
$as_echo "$CC" >&6; }
2872
3212
else
2873
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874
3214
$as_echo "no" >&6; }
2875
3215
fi
2876
3216
 
2880
3220
if test -z "$CC"; then
2881
3221
  # Extract the first word of "cc", so it can be a program name with args.
2882
3222
set dummy cc; ac_word=$2
2883
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884
3224
$as_echo_n "checking for $ac_word... " >&6; }
2885
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3225
if test "${ac_cv_prog_CC+set}" = set; then :
2886
3226
  $as_echo_n "(cached) " >&6
2887
3227
else
2888
3228
  if test -n "$CC"; then
2894
3234
do
2895
3235
  IFS=$as_save_IFS
2896
3236
  test -z "$as_dir" && as_dir=.
2897
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3237
    for ac_exec_ext in '' $ac_executable_extensions; do
2898
3238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899
3239
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2900
3240
       ac_prog_rejected=yes
2901
3241
       continue
2902
3242
     fi
2903
3243
    ac_cv_prog_CC="cc"
2904
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3244
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905
3245
    break 2
2906
3246
  fi
2907
3247
done
2908
 
done
 
3248
  done
2909
3249
IFS=$as_save_IFS
2910
3250
 
2911
3251
if test $ac_prog_rejected = yes; then
2924
3264
fi
2925
3265
CC=$ac_cv_prog_CC
2926
3266
if test -n "$CC"; then
2927
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3267
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2928
3268
$as_echo "$CC" >&6; }
2929
3269
else
2930
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931
3271
$as_echo "no" >&6; }
2932
3272
fi
2933
3273
 
2939
3279
  do
2940
3280
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2941
3281
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2942
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943
3283
$as_echo_n "checking for $ac_word... " >&6; }
2944
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3284
if test "${ac_cv_prog_CC+set}" = set; then :
2945
3285
  $as_echo_n "(cached) " >&6
2946
3286
else
2947
3287
  if test -n "$CC"; then
2952
3292
do
2953
3293
  IFS=$as_save_IFS
2954
3294
  test -z "$as_dir" && as_dir=.
2955
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3295
    for ac_exec_ext in '' $ac_executable_extensions; do
2956
3296
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2957
3297
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2958
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3298
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959
3299
    break 2
2960
3300
  fi
2961
3301
done
2962
 
done
 
3302
  done
2963
3303
IFS=$as_save_IFS
2964
3304
 
2965
3305
fi
2966
3306
fi
2967
3307
CC=$ac_cv_prog_CC
2968
3308
if test -n "$CC"; then
2969
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2970
3310
$as_echo "$CC" >&6; }
2971
3311
else
2972
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973
3313
$as_echo "no" >&6; }
2974
3314
fi
2975
3315
 
2983
3323
do
2984
3324
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2985
3325
set dummy $ac_prog; ac_word=$2
2986
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987
3327
$as_echo_n "checking for $ac_word... " >&6; }
2988
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3328
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2989
3329
  $as_echo_n "(cached) " >&6
2990
3330
else
2991
3331
  if test -n "$ac_ct_CC"; then
2996
3336
do
2997
3337
  IFS=$as_save_IFS
2998
3338
  test -z "$as_dir" && as_dir=.
2999
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3339
    for ac_exec_ext in '' $ac_executable_extensions; do
3000
3340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3001
3341
    ac_cv_prog_ac_ct_CC="$ac_prog"
3002
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003
3343
    break 2
3004
3344
  fi
3005
3345
done
3006
 
done
 
3346
  done
3007
3347
IFS=$as_save_IFS
3008
3348
 
3009
3349
fi
3010
3350
fi
3011
3351
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3012
3352
if test -n "$ac_ct_CC"; then
3013
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3014
3354
$as_echo "$ac_ct_CC" >&6; }
3015
3355
else
3016
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017
3357
$as_echo "no" >&6; }
3018
3358
fi
3019
3359
 
3026
3366
  else
3027
3367
    case $cross_compiling:$ac_tool_warned in
3028
3368
yes:)
3029
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3369
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030
3370
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031
3371
ac_tool_warned=yes ;;
3032
3372
esac
3037
3377
fi
3038
3378
 
3039
3379
 
3040
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3380
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041
3381
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3043
 
See \`config.log' for more details." >&5
3044
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3045
 
See \`config.log' for more details." >&2;}
3046
 
   { (exit 1); exit 1; }; }; }
 
3382
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3383
See \`config.log' for more details" "$LINENO" 5; }
3047
3384
 
3048
3385
# Provide some information about the compiler.
3049
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3386
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3050
3387
set X $ac_compile
3051
3388
ac_compiler=$2
3052
 
{ (ac_try="$ac_compiler --version >&5"
3053
 
case "(($ac_try" in
3054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055
 
  *) ac_try_echo=$ac_try;;
3056
 
esac
3057
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3058
 
$as_echo "$ac_try_echo") >&5
3059
 
  (eval "$ac_compiler --version >&5") 2>&5
3060
 
  ac_status=$?
3061
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062
 
  (exit $ac_status); }
3063
 
{ (ac_try="$ac_compiler -v >&5"
3064
 
case "(($ac_try" in
3065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066
 
  *) ac_try_echo=$ac_try;;
3067
 
esac
3068
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3069
 
$as_echo "$ac_try_echo") >&5
3070
 
  (eval "$ac_compiler -v >&5") 2>&5
3071
 
  ac_status=$?
3072
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073
 
  (exit $ac_status); }
3074
 
{ (ac_try="$ac_compiler -V >&5"
3075
 
case "(($ac_try" in
3076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077
 
  *) ac_try_echo=$ac_try;;
3078
 
esac
3079
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3080
 
$as_echo "$ac_try_echo") >&5
3081
 
  (eval "$ac_compiler -V >&5") 2>&5
3082
 
  ac_status=$?
3083
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084
 
  (exit $ac_status); }
 
3389
for ac_option in --version -v -V -qversion; do
 
3390
  { { ac_try="$ac_compiler $ac_option >&5"
 
3391
case "(($ac_try" in
 
3392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3393
  *) ac_try_echo=$ac_try;;
 
3394
esac
 
3395
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3396
$as_echo "$ac_try_echo"; } >&5
 
3397
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3398
  ac_status=$?
 
3399
  if test -s conftest.err; then
 
3400
    sed '10a\
 
3401
... rest of stderr output deleted ...
 
3402
         10q' conftest.err >conftest.er1
 
3403
    cat conftest.er1 >&5
 
3404
  fi
 
3405
  rm -f conftest.er1 conftest.err
 
3406
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3407
  test $ac_status = 0; }
 
3408
done
3085
3409
 
3086
 
cat >conftest.$ac_ext <<_ACEOF
3087
 
/* confdefs.h.  */
3088
 
_ACEOF
3089
 
cat confdefs.h >>conftest.$ac_ext
3090
 
cat >>conftest.$ac_ext <<_ACEOF
 
3410
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091
3411
/* end confdefs.h.  */
3092
3412
 
3093
3413
int
3103
3423
# Try to create an executable without -o first, disregard a.out.
3104
3424
# It will help us diagnose broken compilers, and finding out an intuition
3105
3425
# of exeext.
3106
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3107
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3427
$as_echo_n "checking whether the C compiler works... " >&6; }
3108
3428
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3109
3429
 
3110
3430
# The possible output files:
3120
3440
done
3121
3441
rm -f $ac_rmfiles
3122
3442
 
3123
 
if { (ac_try="$ac_link_default"
 
3443
if { { ac_try="$ac_link_default"
3124
3444
case "(($ac_try" in
3125
3445
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126
3446
  *) ac_try_echo=$ac_try;;
3127
3447
esac
3128
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3129
 
$as_echo "$ac_try_echo") >&5
 
3448
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3449
$as_echo "$ac_try_echo"; } >&5
3130
3450
  (eval "$ac_link_default") 2>&5
3131
3451
  ac_status=$?
3132
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133
 
  (exit $ac_status); }; then
 
3452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3453
  test $ac_status = 0; }; then :
3134
3454
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3135
3455
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3136
3456
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3147
3467
        # certainly right.
3148
3468
        break;;
3149
3469
    *.* )
3150
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3470
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3151
3471
        then :; else
3152
3472
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3153
3473
        fi
3166
3486
else
3167
3487
  ac_file=''
3168
3488
fi
 
3489
if test -z "$ac_file"; then :
 
3490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3491
$as_echo "no" >&6; }
 
3492
$as_echo "$as_me: failed program was:" >&5
 
3493
sed 's/^/| /' conftest.$ac_ext >&5
3169
3494
 
3170
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3495
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3496
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3497
as_fn_error 77 "C compiler cannot create executables
 
3498
See \`config.log' for more details" "$LINENO" 5; }
 
3499
else
 
3500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3501
$as_echo "yes" >&6; }
 
3502
fi
 
3503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3504
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3171
3506
$as_echo "$ac_file" >&6; }
3172
 
if test -z "$ac_file"; then
3173
 
  $as_echo "$as_me: failed program was:" >&5
3174
 
sed 's/^/| /' conftest.$ac_ext >&5
3175
 
 
3176
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3177
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3179
 
See \`config.log' for more details." >&5
3180
 
$as_echo "$as_me: error: C compiler cannot create executables
3181
 
See \`config.log' for more details." >&2;}
3182
 
   { (exit 77); exit 77; }; }; }
3183
 
fi
3184
 
 
3185
3507
ac_exeext=$ac_cv_exeext
3186
3508
 
3187
 
# Check that the compiler produces executables we can run.  If not, either
3188
 
# the compiler is broken, or we cross compile.
3189
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3190
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3191
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3192
 
# If not cross compiling, check that we can run a simple program.
3193
 
if test "$cross_compiling" != yes; then
3194
 
  if { ac_try='./$ac_file'
3195
 
  { (case "(($ac_try" in
3196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197
 
  *) ac_try_echo=$ac_try;;
3198
 
esac
3199
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3200
 
$as_echo "$ac_try_echo") >&5
3201
 
  (eval "$ac_try") 2>&5
3202
 
  ac_status=$?
3203
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204
 
  (exit $ac_status); }; }; then
3205
 
    cross_compiling=no
3206
 
  else
3207
 
    if test "$cross_compiling" = maybe; then
3208
 
        cross_compiling=yes
3209
 
    else
3210
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3211
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3213
 
If you meant to cross compile, use \`--host'.
3214
 
See \`config.log' for more details." >&5
3215
 
$as_echo "$as_me: error: cannot run C compiled programs.
3216
 
If you meant to cross compile, use \`--host'.
3217
 
See \`config.log' for more details." >&2;}
3218
 
   { (exit 1); exit 1; }; }; }
3219
 
    fi
3220
 
  fi
3221
 
fi
3222
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3223
 
$as_echo "yes" >&6; }
3224
 
 
3225
3509
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3226
3510
ac_clean_files=$ac_clean_files_save
3227
 
# Check that the compiler produces executables we can run.  If not, either
3228
 
# the compiler is broken, or we cross compile.
3229
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3230
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3231
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3232
 
$as_echo "$cross_compiling" >&6; }
3233
 
 
3234
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3235
3512
$as_echo_n "checking for suffix of executables... " >&6; }
3236
 
if { (ac_try="$ac_link"
 
3513
if { { ac_try="$ac_link"
3237
3514
case "(($ac_try" in
3238
3515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239
3516
  *) ac_try_echo=$ac_try;;
3240
3517
esac
3241
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3242
 
$as_echo "$ac_try_echo") >&5
 
3518
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3519
$as_echo "$ac_try_echo"; } >&5
3243
3520
  (eval "$ac_link") 2>&5
3244
3521
  ac_status=$?
3245
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246
 
  (exit $ac_status); }; then
 
3522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3523
  test $ac_status = 0; }; then :
3247
3524
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3248
3525
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3249
3526
# work properly (i.e., refer to `conftest.exe'), while it won't with
3258
3535
  esac
3259
3536
done
3260
3537
else
3261
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3538
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262
3539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3264
 
See \`config.log' for more details." >&5
3265
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3266
 
See \`config.log' for more details." >&2;}
3267
 
   { (exit 1); exit 1; }; }; }
 
3540
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3541
See \`config.log' for more details" "$LINENO" 5; }
3268
3542
fi
3269
 
 
3270
 
rm -f conftest$ac_cv_exeext
3271
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3543
rm -f conftest conftest$ac_cv_exeext
 
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3272
3545
$as_echo "$ac_cv_exeext" >&6; }
3273
3546
 
3274
3547
rm -f conftest.$ac_ext
3275
3548
EXEEXT=$ac_cv_exeext
3276
3549
ac_exeext=$EXEEXT
3277
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3550
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3551
/* end confdefs.h.  */
 
3552
#include <stdio.h>
 
3553
int
 
3554
main ()
 
3555
{
 
3556
FILE *f = fopen ("conftest.out", "w");
 
3557
 return ferror (f) || fclose (f) != 0;
 
3558
 
 
3559
  ;
 
3560
  return 0;
 
3561
}
 
3562
_ACEOF
 
3563
ac_clean_files="$ac_clean_files conftest.out"
 
3564
# Check that the compiler produces executables we can run.  If not, either
 
3565
# the compiler is broken, or we cross compile.
 
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3567
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3568
if test "$cross_compiling" != yes; then
 
3569
  { { ac_try="$ac_link"
 
3570
case "(($ac_try" in
 
3571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3572
  *) ac_try_echo=$ac_try;;
 
3573
esac
 
3574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3575
$as_echo "$ac_try_echo"; } >&5
 
3576
  (eval "$ac_link") 2>&5
 
3577
  ac_status=$?
 
3578
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3579
  test $ac_status = 0; }
 
3580
  if { ac_try='./conftest$ac_cv_exeext'
 
3581
  { { case "(($ac_try" in
 
3582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3583
  *) ac_try_echo=$ac_try;;
 
3584
esac
 
3585
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3586
$as_echo "$ac_try_echo"; } >&5
 
3587
  (eval "$ac_try") 2>&5
 
3588
  ac_status=$?
 
3589
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3590
  test $ac_status = 0; }; }; then
 
3591
    cross_compiling=no
 
3592
  else
 
3593
    if test "$cross_compiling" = maybe; then
 
3594
        cross_compiling=yes
 
3595
    else
 
3596
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3597
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3598
as_fn_error $? "cannot run C compiled programs.
 
3599
If you meant to cross compile, use \`--host'.
 
3600
See \`config.log' for more details" "$LINENO" 5; }
 
3601
    fi
 
3602
  fi
 
3603
fi
 
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3605
$as_echo "$cross_compiling" >&6; }
 
3606
 
 
3607
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3608
ac_clean_files=$ac_clean_files_save
 
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3278
3610
$as_echo_n "checking for suffix of object files... " >&6; }
3279
 
if test "${ac_cv_objext+set}" = set; then
 
3611
if test "${ac_cv_objext+set}" = set; then :
3280
3612
  $as_echo_n "(cached) " >&6
3281
3613
else
3282
 
  cat >conftest.$ac_ext <<_ACEOF
3283
 
/* confdefs.h.  */
3284
 
_ACEOF
3285
 
cat confdefs.h >>conftest.$ac_ext
3286
 
cat >>conftest.$ac_ext <<_ACEOF
 
3614
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287
3615
/* end confdefs.h.  */
3288
3616
 
3289
3617
int
3295
3623
}
3296
3624
_ACEOF
3297
3625
rm -f conftest.o conftest.obj
3298
 
if { (ac_try="$ac_compile"
 
3626
if { { ac_try="$ac_compile"
3299
3627
case "(($ac_try" in
3300
3628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301
3629
  *) ac_try_echo=$ac_try;;
3302
3630
esac
3303
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3304
 
$as_echo "$ac_try_echo") >&5
 
3631
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3632
$as_echo "$ac_try_echo"; } >&5
3305
3633
  (eval "$ac_compile") 2>&5
3306
3634
  ac_status=$?
3307
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308
 
  (exit $ac_status); }; then
 
3635
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3636
  test $ac_status = 0; }; then :
3309
3637
  for ac_file in conftest.o conftest.obj conftest.*; do
3310
3638
  test -f "$ac_file" || continue;
3311
3639
  case $ac_file in
3318
3646
  $as_echo "$as_me: failed program was:" >&5
3319
3647
sed 's/^/| /' conftest.$ac_ext >&5
3320
3648
 
3321
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3649
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322
3650
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3324
 
See \`config.log' for more details." >&5
3325
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3326
 
See \`config.log' for more details." >&2;}
3327
 
   { (exit 1); exit 1; }; }; }
 
3651
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3652
See \`config.log' for more details" "$LINENO" 5; }
3328
3653
fi
3329
 
 
3330
3654
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3331
3655
fi
3332
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333
3657
$as_echo "$ac_cv_objext" >&6; }
3334
3658
OBJEXT=$ac_cv_objext
3335
3659
ac_objext=$OBJEXT
3336
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337
3661
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3662
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3339
3663
  $as_echo_n "(cached) " >&6
3340
3664
else
3341
 
  cat >conftest.$ac_ext <<_ACEOF
3342
 
/* confdefs.h.  */
3343
 
_ACEOF
3344
 
cat confdefs.h >>conftest.$ac_ext
3345
 
cat >>conftest.$ac_ext <<_ACEOF
 
3665
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346
3666
/* end confdefs.h.  */
3347
3667
 
3348
3668
int
3356
3676
  return 0;
3357
3677
}
3358
3678
_ACEOF
3359
 
rm -f conftest.$ac_objext
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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3366
 
$as_echo "$ac_try_echo") >&5
3367
 
  (eval "$ac_compile") 2>conftest.er1
3368
 
  ac_status=$?
3369
 
  grep -v '^ *+' conftest.er1 >conftest.err
3370
 
  rm -f conftest.er1
3371
 
  cat conftest.err >&5
3372
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373
 
  (exit $ac_status); } && {
3374
 
         test -z "$ac_c_werror_flag" ||
3375
 
         test ! -s conftest.err
3376
 
       } && test -s conftest.$ac_objext; then
 
3679
if ac_fn_c_try_compile "$LINENO"; then :
3377
3680
  ac_compiler_gnu=yes
3378
3681
else
3379
 
  $as_echo "$as_me: failed program was:" >&5
3380
 
sed 's/^/| /' conftest.$ac_ext >&5
3381
 
 
3382
 
        ac_compiler_gnu=no
 
3682
  ac_compiler_gnu=no
3383
3683
fi
3384
 
 
3385
3684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386
3685
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387
3686
 
3388
3687
fi
3389
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3390
3689
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3391
3690
if test $ac_compiler_gnu = yes; then
3392
3691
  GCC=yes
3395
3694
fi
3396
3695
ac_test_CFLAGS=${CFLAGS+set}
3397
3696
ac_save_CFLAGS=$CFLAGS
3398
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3399
3698
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3400
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3699
if test "${ac_cv_prog_cc_g+set}" = set; then :
3401
3700
  $as_echo_n "(cached) " >&6
3402
3701
else
3403
3702
  ac_save_c_werror_flag=$ac_c_werror_flag
3404
3703
   ac_c_werror_flag=yes
3405
3704
   ac_cv_prog_cc_g=no
3406
3705
   CFLAGS="-g"
3407
 
   cat >conftest.$ac_ext <<_ACEOF
3408
 
/* confdefs.h.  */
3409
 
_ACEOF
3410
 
cat confdefs.h >>conftest.$ac_ext
3411
 
cat >>conftest.$ac_ext <<_ACEOF
 
3706
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412
3707
/* end confdefs.h.  */
3413
3708
 
3414
3709
int
3419
3714
  return 0;
3420
3715
}
3421
3716
_ACEOF
3422
 
rm -f conftest.$ac_objext
3423
 
if { (ac_try="$ac_compile"
3424
 
case "(($ac_try" in
3425
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426
 
  *) ac_try_echo=$ac_try;;
3427
 
esac
3428
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3429
 
$as_echo "$ac_try_echo") >&5
3430
 
  (eval "$ac_compile") 2>conftest.er1
3431
 
  ac_status=$?
3432
 
  grep -v '^ *+' conftest.er1 >conftest.err
3433
 
  rm -f conftest.er1
3434
 
  cat conftest.err >&5
3435
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436
 
  (exit $ac_status); } && {
3437
 
         test -z "$ac_c_werror_flag" ||
3438
 
         test ! -s conftest.err
3439
 
       } && test -s conftest.$ac_objext; then
 
3717
if ac_fn_c_try_compile "$LINENO"; then :
3440
3718
  ac_cv_prog_cc_g=yes
3441
3719
else
3442
 
  $as_echo "$as_me: failed program was:" >&5
3443
 
sed 's/^/| /' conftest.$ac_ext >&5
3444
 
 
3445
 
        CFLAGS=""
3446
 
      cat >conftest.$ac_ext <<_ACEOF
3447
 
/* confdefs.h.  */
3448
 
_ACEOF
3449
 
cat confdefs.h >>conftest.$ac_ext
3450
 
cat >>conftest.$ac_ext <<_ACEOF
 
3720
  CFLAGS=""
 
3721
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451
3722
/* end confdefs.h.  */
3452
3723
 
3453
3724
int
3458
3729
  return 0;
3459
3730
}
3460
3731
_ACEOF
3461
 
rm -f conftest.$ac_objext
3462
 
if { (ac_try="$ac_compile"
3463
 
case "(($ac_try" in
3464
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465
 
  *) ac_try_echo=$ac_try;;
3466
 
esac
3467
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3468
 
$as_echo "$ac_try_echo") >&5
3469
 
  (eval "$ac_compile") 2>conftest.er1
3470
 
  ac_status=$?
3471
 
  grep -v '^ *+' conftest.er1 >conftest.err
3472
 
  rm -f conftest.er1
3473
 
  cat conftest.err >&5
3474
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475
 
  (exit $ac_status); } && {
3476
 
         test -z "$ac_c_werror_flag" ||
3477
 
         test ! -s conftest.err
3478
 
       } && test -s conftest.$ac_objext; then
3479
 
  :
 
3732
if ac_fn_c_try_compile "$LINENO"; then :
 
3733
 
3480
3734
else
3481
 
  $as_echo "$as_me: failed program was:" >&5
3482
 
sed 's/^/| /' conftest.$ac_ext >&5
3483
 
 
3484
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3735
  ac_c_werror_flag=$ac_save_c_werror_flag
3485
3736
         CFLAGS="-g"
3486
 
         cat >conftest.$ac_ext <<_ACEOF
3487
 
/* confdefs.h.  */
3488
 
_ACEOF
3489
 
cat confdefs.h >>conftest.$ac_ext
3490
 
cat >>conftest.$ac_ext <<_ACEOF
 
3737
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491
3738
/* end confdefs.h.  */
3492
3739
 
3493
3740
int
3498
3745
  return 0;
3499
3746
}
3500
3747
_ACEOF
3501
 
rm -f conftest.$ac_objext
3502
 
if { (ac_try="$ac_compile"
3503
 
case "(($ac_try" in
3504
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505
 
  *) ac_try_echo=$ac_try;;
3506
 
esac
3507
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3508
 
$as_echo "$ac_try_echo") >&5
3509
 
  (eval "$ac_compile") 2>conftest.er1
3510
 
  ac_status=$?
3511
 
  grep -v '^ *+' conftest.er1 >conftest.err
3512
 
  rm -f conftest.er1
3513
 
  cat conftest.err >&5
3514
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
 
  (exit $ac_status); } && {
3516
 
         test -z "$ac_c_werror_flag" ||
3517
 
         test ! -s conftest.err
3518
 
       } && test -s conftest.$ac_objext; then
 
3748
if ac_fn_c_try_compile "$LINENO"; then :
3519
3749
  ac_cv_prog_cc_g=yes
3520
 
else
3521
 
  $as_echo "$as_me: failed program was:" >&5
3522
 
sed 's/^/| /' conftest.$ac_ext >&5
3523
 
 
3524
 
 
3525
 
fi
3526
 
 
3527
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528
 
fi
3529
 
 
3530
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531
 
fi
3532
 
 
 
3750
fi
 
3751
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3752
fi
 
3753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3754
fi
3533
3755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534
3756
   ac_c_werror_flag=$ac_save_c_werror_flag
3535
3757
fi
3536
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3537
3759
$as_echo "$ac_cv_prog_cc_g" >&6; }
3538
3760
if test "$ac_test_CFLAGS" = set; then
3539
3761
  CFLAGS=$ac_save_CFLAGS
3550
3772
    CFLAGS=
3551
3773
  fi
3552
3774
fi
3553
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3554
3776
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3555
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3777
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3556
3778
  $as_echo_n "(cached) " >&6
3557
3779
else
3558
3780
  ac_cv_prog_cc_c89=no
3559
3781
ac_save_CC=$CC
3560
 
cat >conftest.$ac_ext <<_ACEOF
3561
 
/* confdefs.h.  */
3562
 
_ACEOF
3563
 
cat confdefs.h >>conftest.$ac_ext
3564
 
cat >>conftest.$ac_ext <<_ACEOF
 
3782
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565
3783
/* end confdefs.h.  */
3566
3784
#include <stdarg.h>
3567
3785
#include <stdio.h>
3618
3836
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3619
3837
do
3620
3838
  CC="$ac_save_CC $ac_arg"
3621
 
  rm -f conftest.$ac_objext
3622
 
if { (ac_try="$ac_compile"
3623
 
case "(($ac_try" in
3624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625
 
  *) ac_try_echo=$ac_try;;
3626
 
esac
3627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3628
 
$as_echo "$ac_try_echo") >&5
3629
 
  (eval "$ac_compile") 2>conftest.er1
3630
 
  ac_status=$?
3631
 
  grep -v '^ *+' conftest.er1 >conftest.err
3632
 
  rm -f conftest.er1
3633
 
  cat conftest.err >&5
3634
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635
 
  (exit $ac_status); } && {
3636
 
         test -z "$ac_c_werror_flag" ||
3637
 
         test ! -s conftest.err
3638
 
       } && test -s conftest.$ac_objext; then
 
3839
  if ac_fn_c_try_compile "$LINENO"; then :
3639
3840
  ac_cv_prog_cc_c89=$ac_arg
3640
 
else
3641
 
  $as_echo "$as_me: failed program was:" >&5
3642
 
sed 's/^/| /' conftest.$ac_ext >&5
3643
 
 
3644
 
 
3645
3841
fi
3646
 
 
3647
3842
rm -f core conftest.err conftest.$ac_objext
3648
3843
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3649
3844
done
3654
3849
# AC_CACHE_VAL
3655
3850
case "x$ac_cv_prog_cc_c89" in
3656
3851
  x)
3657
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3852
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3658
3853
$as_echo "none needed" >&6; } ;;
3659
3854
  xno)
3660
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3855
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3661
3856
$as_echo "unsupported" >&6; } ;;
3662
3857
  *)
3663
3858
    CC="$CC $ac_cv_prog_cc_c89"
3664
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3859
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3665
3860
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3666
3861
esac
 
3862
if test "x$ac_cv_prog_cc_c89" != xno; then :
3667
3863
 
 
3864
fi
3668
3865
 
3669
3866
ac_ext=c
3670
3867
ac_cpp='$CPP $CPPFLAGS'
3683
3880
.PHONY: am__doit
3684
3881
END
3685
3882
# If we don't find an include directive, just comment out the code.
3686
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3687
3884
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3688
3885
am__include="#"
3689
3886
am__quote=
3711
3908
fi
3712
3909
 
3713
3910
 
3714
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3715
3912
$as_echo "$_am_result" >&6; }
3716
3913
rm -f confinc confmf
3717
3914
 
3718
3915
# Check whether --enable-dependency-tracking was given.
3719
 
if test "${enable_dependency_tracking+set}" = set; then
 
3916
if test "${enable_dependency_tracking+set}" = set; then :
3720
3917
  enableval=$enable_dependency_tracking;
3721
3918
fi
3722
3919
 
3736
3933
 
3737
3934
depcc="$CC"   am_compiler_list=
3738
3935
 
3739
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3740
3937
$as_echo_n "checking dependency style of $depcc... " >&6; }
3741
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3938
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3742
3939
  $as_echo_n "(cached) " >&6
3743
3940
else
3744
3941
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3846
4043
fi
3847
4044
 
3848
4045
fi
3849
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3850
4047
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3851
4048
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3852
4049
 
3870
4067
 
3871
4068
depcc="$CCAS"   am_compiler_list=
3872
4069
 
3873
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3874
4071
$as_echo_n "checking dependency style of $depcc... " >&6; }
3875
 
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
 
4072
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3876
4073
  $as_echo_n "(cached) " >&6
3877
4074
else
3878
4075
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3978
4175
fi
3979
4176
 
3980
4177
fi
3981
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 
4178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3982
4179
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3983
4180
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3984
4181
 
3993
4190
fi
3994
4191
 
3995
4192
 
3996
 
# Check whether --enable-shared was given.
3997
 
if test "${enable_shared+set}" = set; then
3998
 
  enableval=$enable_shared; p=${PACKAGE-default}
3999
 
    case $enableval in
4000
 
    yes) enable_shared=yes ;;
4001
 
    no) enable_shared=no ;;
4002
 
    *)
4003
 
      enable_shared=no
4004
 
      # Look at the argument we got.  We use all the common list separators.
4005
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4006
 
      for pkg in $enableval; do
4007
 
        IFS="$lt_save_ifs"
4008
 
        if test "X$pkg" = "X$p"; then
4009
 
          enable_shared=yes
4010
 
        fi
4011
 
      done
4012
 
      IFS="$lt_save_ifs"
4013
 
      ;;
4014
 
    esac
4015
 
else
4016
 
  enable_shared=yes
4017
 
fi
4018
 
 
4019
 
 
4020
 
# Check whether --enable-static was given.
4021
 
if test "${enable_static+set}" = set; then
4022
 
  enableval=$enable_static; p=${PACKAGE-default}
4023
 
    case $enableval in
4024
 
    yes) enable_static=yes ;;
4025
 
    no) enable_static=no ;;
4026
 
    *)
4027
 
     enable_static=no
4028
 
      # Look at the argument we got.  We use all the common list separators.
4029
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4030
 
      for pkg in $enableval; do
4031
 
        IFS="$lt_save_ifs"
4032
 
        if test "X$pkg" = "X$p"; then
4033
 
          enable_static=yes
4034
 
        fi
4035
 
      done
4036
 
      IFS="$lt_save_ifs"
4037
 
      ;;
4038
 
    esac
4039
 
else
4040
 
  enable_static=yes
4041
 
fi
4042
 
 
4043
 
 
4044
 
# Check whether --enable-fast-install was given.
4045
 
if test "${enable_fast_install+set}" = set; then
4046
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4047
 
    case $enableval in
4048
 
    yes) enable_fast_install=yes ;;
4049
 
    no) enable_fast_install=no ;;
4050
 
    *)
4051
 
      enable_fast_install=no
4052
 
      # Look at the argument we got.  We use all the common list separators.
4053
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4054
 
      for pkg in $enableval; do
4055
 
        IFS="$lt_save_ifs"
4056
 
        if test "X$pkg" = "X$p"; then
4057
 
          enable_fast_install=yes
4058
 
        fi
4059
 
      done
4060
 
      IFS="$lt_save_ifs"
4061
 
      ;;
4062
 
    esac
4063
 
else
4064
 
  enable_fast_install=yes
4065
 
fi
4066
 
 
4067
 
 
4068
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4193
case `pwd` in
 
4194
  *\ * | *\     *)
 
4195
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4196
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4197
esac
 
4198
 
 
4199
 
 
4200
 
 
4201
macro_version='2.2.10'
 
4202
macro_revision='1.3175'
 
4203
 
 
4204
 
 
4205
 
 
4206
 
 
4207
 
 
4208
 
 
4209
 
 
4210
 
 
4211
 
 
4212
 
 
4213
 
 
4214
 
 
4215
 
 
4216
ltmain="$ac_aux_dir/ltmain.sh"
 
4217
 
 
4218
# Backslashify metacharacters that are still active within
 
4219
# double-quoted strings.
 
4220
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4221
 
 
4222
# Same as above, but do not quote variable references.
 
4223
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4224
 
 
4225
# Sed substitution to delay expansion of an escaped shell variable in a
 
4226
# double_quote_subst'ed string.
 
4227
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4228
 
 
4229
# Sed substitution to delay expansion of an escaped single quote.
 
4230
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4231
 
 
4232
# Sed substitution to avoid accidental globbing in evaled expressions
 
4233
no_glob_subst='s/\*/\\\*/g'
 
4234
 
 
4235
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4236
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4237
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4238
 
 
4239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4240
$as_echo_n "checking how to print strings... " >&6; }
 
4241
# Test print first, because it will be a builtin if present.
 
4242
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
4243
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4244
  ECHO='print -r --'
 
4245
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4246
  ECHO='printf %s\n'
 
4247
else
 
4248
  # Use this function as a fallback that always works.
 
4249
  func_fallback_echo ()
 
4250
  {
 
4251
    eval 'cat <<_LTECHO_EOF
 
4252
$1
 
4253
_LTECHO_EOF'
 
4254
  }
 
4255
  ECHO='func_fallback_echo'
 
4256
fi
 
4257
 
 
4258
# func_echo_all arg...
 
4259
# Invoke $ECHO with all args, space-separated.
 
4260
func_echo_all ()
 
4261
{
 
4262
    $ECHO ""
 
4263
}
 
4264
 
 
4265
case "$ECHO" in
 
4266
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4267
$as_echo "printf" >&6; } ;;
 
4268
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4269
$as_echo "print -r" >&6; } ;;
 
4270
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4271
$as_echo "cat" >&6; } ;;
 
4272
esac
 
4273
 
 
4274
 
 
4275
 
 
4276
 
 
4277
 
 
4278
 
 
4279
 
 
4280
 
 
4281
 
 
4282
 
 
4283
 
 
4284
 
 
4285
 
 
4286
 
 
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4069
4288
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4070
 
if test "${lt_cv_path_SED+set}" = set; then
 
4289
if test "${ac_cv_path_SED+set}" = set; then :
4071
4290
  $as_echo_n "(cached) " >&6
4072
4291
else
4073
 
  # Loop through the user's path and test for sed and gsed.
4074
 
# Then use that list of sed's as ones to test for truncation.
4075
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4292
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4293
     for ac_i in 1 2 3 4 5 6 7; do
 
4294
       ac_script="$ac_script$as_nl$ac_script"
 
4295
     done
 
4296
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4297
     { ac_script=; unset ac_script;}
 
4298
     if test -z "$SED"; then
 
4299
  ac_path_SED_found=false
 
4300
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4301
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076
4302
for as_dir in $PATH
4077
4303
do
4078
4304
  IFS=$as_save_IFS
4079
4305
  test -z "$as_dir" && as_dir=.
4080
 
  for lt_ac_prog in sed gsed; do
 
4306
    for ac_prog in sed gsed; do
4081
4307
    for ac_exec_ext in '' $ac_executable_extensions; do
4082
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4083
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4084
 
      fi
 
4308
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4309
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4310
# Check for GNU ac_path_SED and select it if it is found.
 
4311
  # Check for GNU $ac_path_SED
 
4312
case `"$ac_path_SED" --version 2>&1` in
 
4313
*GNU*)
 
4314
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4315
*)
 
4316
  ac_count=0
 
4317
  $as_echo_n 0123456789 >"conftest.in"
 
4318
  while :
 
4319
  do
 
4320
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4321
    mv "conftest.tmp" "conftest.in"
 
4322
    cp "conftest.in" "conftest.nl"
 
4323
    $as_echo '' >> "conftest.nl"
 
4324
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4325
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4326
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4327
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4328
      # Best one so far, save it but keep looking for a better one
 
4329
      ac_cv_path_SED="$ac_path_SED"
 
4330
      ac_path_SED_max=$ac_count
 
4331
    fi
 
4332
    # 10*(2^10) chars as input seems more than enough
 
4333
    test $ac_count -gt 10 && break
 
4334
  done
 
4335
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4336
esac
 
4337
 
 
4338
      $ac_path_SED_found && break 3
4085
4339
    done
4086
4340
  done
4087
 
done
 
4341
  done
4088
4342
IFS=$as_save_IFS
4089
 
lt_ac_max=0
4090
 
lt_ac_count=0
4091
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4092
 
# along with /bin/sed that truncates output.
4093
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4094
 
  test ! -f $lt_ac_sed && continue
4095
 
  cat /dev/null > conftest.in
4096
 
  lt_ac_count=0
4097
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4098
 
  # Check for GNU sed and select it if it is found.
4099
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4100
 
    lt_cv_path_SED=$lt_ac_sed
4101
 
    break
 
4343
  if test -z "$ac_cv_path_SED"; then
 
4344
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4102
4345
  fi
4103
 
  while true; do
4104
 
    cat conftest.in conftest.in >conftest.tmp
4105
 
    mv conftest.tmp conftest.in
4106
 
    cp conftest.in conftest.nl
4107
 
    echo >>conftest.nl
4108
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4109
 
    cmp -s conftest.out conftest.nl || break
4110
 
    # 10000 chars as input seems more than enough
4111
 
    test $lt_ac_count -gt 10 && break
4112
 
    lt_ac_count=`expr $lt_ac_count + 1`
4113
 
    if test $lt_ac_count -gt $lt_ac_max; then
4114
 
      lt_ac_max=$lt_ac_count
4115
 
      lt_cv_path_SED=$lt_ac_sed
4116
 
    fi
4117
 
  done
4118
 
done
4119
 
 
4120
 
fi
4121
 
 
4122
 
SED=$lt_cv_path_SED
4123
 
 
4124
 
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
4125
 
$as_echo "$SED" >&6; }
4126
 
 
4127
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4346
else
 
4347
  ac_cv_path_SED=$SED
 
4348
fi
 
4349
 
 
4350
fi
 
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4352
$as_echo "$ac_cv_path_SED" >&6; }
 
4353
 SED="$ac_cv_path_SED"
 
4354
  rm -f conftest.sed
 
4355
 
 
4356
test -z "$SED" && SED=sed
 
4357
Xsed="$SED -e 1s/^X//"
 
4358
 
 
4359
 
 
4360
 
 
4361
 
 
4362
 
 
4363
 
 
4364
 
 
4365
 
 
4366
 
 
4367
 
 
4368
 
 
4369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4128
4370
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4129
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4371
if test "${ac_cv_path_GREP+set}" = set; then :
4130
4372
  $as_echo_n "(cached) " >&6
4131
4373
else
4132
4374
  if test -z "$GREP"; then
4137
4379
do
4138
4380
  IFS=$as_save_IFS
4139
4381
  test -z "$as_dir" && as_dir=.
4140
 
  for ac_prog in grep ggrep; do
 
4382
    for ac_prog in grep ggrep; do
4141
4383
    for ac_exec_ext in '' $ac_executable_extensions; do
4142
4384
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4143
4385
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4157
4399
    $as_echo 'GREP' >> "conftest.nl"
4158
4400
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4159
4401
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4160
 
    ac_count=`expr $ac_count + 1`
 
4402
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4161
4403
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4162
4404
      # Best one so far, save it but keep looking for a better one
4163
4405
      ac_cv_path_GREP="$ac_path_GREP"
4172
4414
      $ac_path_GREP_found && break 3
4173
4415
    done
4174
4416
  done
4175
 
done
 
4417
  done
4176
4418
IFS=$as_save_IFS
4177
4419
  if test -z "$ac_cv_path_GREP"; then
4178
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4179
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4180
 
   { (exit 1); exit 1; }; }
 
4420
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4181
4421
  fi
4182
4422
else
4183
4423
  ac_cv_path_GREP=$GREP
4184
4424
fi
4185
4425
 
4186
4426
fi
4187
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4188
4428
$as_echo "$ac_cv_path_GREP" >&6; }
4189
4429
 GREP="$ac_cv_path_GREP"
4190
4430
 
4191
4431
 
4192
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4193
4433
$as_echo_n "checking for egrep... " >&6; }
4194
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4434
if test "${ac_cv_path_EGREP+set}" = set; then :
4195
4435
  $as_echo_n "(cached) " >&6
4196
4436
else
4197
4437
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4205
4445
do
4206
4446
  IFS=$as_save_IFS
4207
4447
  test -z "$as_dir" && as_dir=.
4208
 
  for ac_prog in egrep; do
 
4448
    for ac_prog in egrep; do
4209
4449
    for ac_exec_ext in '' $ac_executable_extensions; do
4210
4450
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4211
4451
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4225
4465
    $as_echo 'EGREP' >> "conftest.nl"
4226
4466
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4227
4467
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4228
 
    ac_count=`expr $ac_count + 1`
 
4468
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4229
4469
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4230
4470
      # Best one so far, save it but keep looking for a better one
4231
4471
      ac_cv_path_EGREP="$ac_path_EGREP"
4240
4480
      $ac_path_EGREP_found && break 3
4241
4481
    done
4242
4482
  done
4243
 
done
 
4483
  done
4244
4484
IFS=$as_save_IFS
4245
4485
  if test -z "$ac_cv_path_EGREP"; then
4246
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4247
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4248
 
   { (exit 1); exit 1; }; }
 
4486
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4249
4487
  fi
4250
4488
else
4251
4489
  ac_cv_path_EGREP=$EGREP
4253
4491
 
4254
4492
   fi
4255
4493
fi
4256
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4257
4495
$as_echo "$ac_cv_path_EGREP" >&6; }
4258
4496
 EGREP="$ac_cv_path_EGREP"
4259
4497
 
4260
4498
 
 
4499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4500
$as_echo_n "checking for fgrep... " >&6; }
 
4501
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4502
  $as_echo_n "(cached) " >&6
 
4503
else
 
4504
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4505
   then ac_cv_path_FGREP="$GREP -F"
 
4506
   else
 
4507
     if test -z "$FGREP"; then
 
4508
  ac_path_FGREP_found=false
 
4509
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4510
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4511
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4512
do
 
4513
  IFS=$as_save_IFS
 
4514
  test -z "$as_dir" && as_dir=.
 
4515
    for ac_prog in fgrep; do
 
4516
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4517
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4518
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4519
# Check for GNU ac_path_FGREP and select it if it is found.
 
4520
  # Check for GNU $ac_path_FGREP
 
4521
case `"$ac_path_FGREP" --version 2>&1` in
 
4522
*GNU*)
 
4523
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4524
*)
 
4525
  ac_count=0
 
4526
  $as_echo_n 0123456789 >"conftest.in"
 
4527
  while :
 
4528
  do
 
4529
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4530
    mv "conftest.tmp" "conftest.in"
 
4531
    cp "conftest.in" "conftest.nl"
 
4532
    $as_echo 'FGREP' >> "conftest.nl"
 
4533
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4534
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4535
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4536
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4537
      # Best one so far, save it but keep looking for a better one
 
4538
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4539
      ac_path_FGREP_max=$ac_count
 
4540
    fi
 
4541
    # 10*(2^10) chars as input seems more than enough
 
4542
    test $ac_count -gt 10 && break
 
4543
  done
 
4544
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4545
esac
 
4546
 
 
4547
      $ac_path_FGREP_found && break 3
 
4548
    done
 
4549
  done
 
4550
  done
 
4551
IFS=$as_save_IFS
 
4552
  if test -z "$ac_cv_path_FGREP"; then
 
4553
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4554
  fi
 
4555
else
 
4556
  ac_cv_path_FGREP=$FGREP
 
4557
fi
 
4558
 
 
4559
   fi
 
4560
fi
 
4561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4562
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4563
 FGREP="$ac_cv_path_FGREP"
 
4564
 
 
4565
 
 
4566
test -z "$GREP" && GREP=grep
 
4567
 
 
4568
 
 
4569
 
 
4570
 
 
4571
 
 
4572
 
 
4573
 
 
4574
 
 
4575
 
 
4576
 
 
4577
 
 
4578
 
 
4579
 
 
4580
 
 
4581
 
 
4582
 
 
4583
 
 
4584
 
4261
4585
 
4262
4586
# Check whether --with-gnu-ld was given.
4263
 
if test "${with_gnu_ld+set}" = set; then
 
4587
if test "${with_gnu_ld+set}" = set; then :
4264
4588
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4265
4589
else
4266
4590
  with_gnu_ld=no
4269
4593
ac_prog=ld
4270
4594
if test "$GCC" = yes; then
4271
4595
  # Check if gcc -print-prog-name=ld gives a path.
4272
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4596
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4273
4597
$as_echo_n "checking for ld used by $CC... " >&6; }
4274
4598
  case $host in
4275
4599
  *-*-mingw*)
4283
4607
    [\\/]* | ?:[\\/]*)
4284
4608
      re_direlt='/[^/][^/]*/\.\./'
4285
4609
      # Canonicalize the pathname of ld
4286
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4287
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4288
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4610
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4611
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4612
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4289
4613
      done
4290
4614
      test -z "$LD" && LD="$ac_prog"
4291
4615
      ;;
4299
4623
    ;;
4300
4624
  esac
4301
4625
elif test "$with_gnu_ld" = yes; then
4302
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4626
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4303
4627
$as_echo_n "checking for GNU ld... " >&6; }
4304
4628
else
4305
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4629
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4306
4630
$as_echo_n "checking for non-GNU ld... " >&6; }
4307
4631
fi
4308
 
if test "${lt_cv_path_LD+set}" = set; then
 
4632
if test "${lt_cv_path_LD+set}" = set; then :
4309
4633
  $as_echo_n "(cached) " >&6
4310
4634
else
4311
4635
  if test -z "$LD"; then
4336
4660
 
4337
4661
LD="$lt_cv_path_LD"
4338
4662
if test -n "$LD"; then
4339
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4663
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4340
4664
$as_echo "$LD" >&6; }
4341
4665
else
4342
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4666
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343
4667
$as_echo "no" >&6; }
4344
4668
fi
4345
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4346
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4347
 
   { (exit 1); exit 1; }; }
4348
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4669
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4349
4671
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4350
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4672
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4351
4673
  $as_echo_n "(cached) " >&6
4352
4674
else
4353
4675
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4360
4682
  ;;
4361
4683
esac
4362
4684
fi
4363
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4364
4686
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4365
4687
with_gnu_ld=$lt_cv_prog_gnu_ld
4366
4688
 
4367
4689
 
4368
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4369
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4370
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4371
 
  $as_echo_n "(cached) " >&6
4372
 
else
4373
 
  lt_cv_ld_reload_flag='-r'
4374
 
fi
4375
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4376
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4377
 
reload_flag=$lt_cv_ld_reload_flag
4378
 
case $reload_flag in
4379
 
"" | " "*) ;;
4380
 
*) reload_flag=" $reload_flag" ;;
4381
 
esac
4382
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4383
 
case $host_os in
4384
 
  darwin*)
4385
 
    if test "$GCC" = yes; then
4386
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4387
 
    else
4388
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4389
 
    fi
4390
 
    ;;
4391
 
esac
4392
 
 
4393
 
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4394
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
4395
 
if test "${lt_cv_path_NM+set}" = set; then
 
4690
 
 
4691
 
 
4692
 
 
4693
 
 
4694
 
 
4695
 
 
4696
 
 
4697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4698
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4699
if test "${lt_cv_path_NM+set}" = set; then :
4396
4700
  $as_echo_n "(cached) " >&6
4397
4701
else
4398
4702
  if test -n "$NM"; then
4436
4740
    done
4437
4741
    IFS="$lt_save_ifs"
4438
4742
  done
4439
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4440
 
fi
4441
 
fi
4442
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4743
  : ${lt_cv_path_NM=no}
 
4744
fi
 
4745
fi
 
4746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4443
4747
$as_echo "$lt_cv_path_NM" >&6; }
4444
 
NM="$lt_cv_path_NM"
4445
 
 
4446
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4748
if test "$lt_cv_path_NM" != "no"; then
 
4749
  NM="$lt_cv_path_NM"
 
4750
else
 
4751
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4752
  if test -n "$DUMPBIN"; then :
 
4753
    # Let the user override the test.
 
4754
  else
 
4755
    if test -n "$ac_tool_prefix"; then
 
4756
  for ac_prog in dumpbin "link -dump"
 
4757
  do
 
4758
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4759
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4761
$as_echo_n "checking for $ac_word... " >&6; }
 
4762
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4763
  $as_echo_n "(cached) " >&6
 
4764
else
 
4765
  if test -n "$DUMPBIN"; then
 
4766
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4767
else
 
4768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4769
for as_dir in $PATH
 
4770
do
 
4771
  IFS=$as_save_IFS
 
4772
  test -z "$as_dir" && as_dir=.
 
4773
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4774
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4775
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4776
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4777
    break 2
 
4778
  fi
 
4779
done
 
4780
  done
 
4781
IFS=$as_save_IFS
 
4782
 
 
4783
fi
 
4784
fi
 
4785
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4786
if test -n "$DUMPBIN"; then
 
4787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4788
$as_echo "$DUMPBIN" >&6; }
 
4789
else
 
4790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4791
$as_echo "no" >&6; }
 
4792
fi
 
4793
 
 
4794
 
 
4795
    test -n "$DUMPBIN" && break
 
4796
  done
 
4797
fi
 
4798
if test -z "$DUMPBIN"; then
 
4799
  ac_ct_DUMPBIN=$DUMPBIN
 
4800
  for ac_prog in dumpbin "link -dump"
 
4801
do
 
4802
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4803
set dummy $ac_prog; ac_word=$2
 
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4805
$as_echo_n "checking for $ac_word... " >&6; }
 
4806
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4807
  $as_echo_n "(cached) " >&6
 
4808
else
 
4809
  if test -n "$ac_ct_DUMPBIN"; then
 
4810
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4811
else
 
4812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4813
for as_dir in $PATH
 
4814
do
 
4815
  IFS=$as_save_IFS
 
4816
  test -z "$as_dir" && as_dir=.
 
4817
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4818
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4819
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4820
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4821
    break 2
 
4822
  fi
 
4823
done
 
4824
  done
 
4825
IFS=$as_save_IFS
 
4826
 
 
4827
fi
 
4828
fi
 
4829
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4830
if test -n "$ac_ct_DUMPBIN"; then
 
4831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4832
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4833
else
 
4834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4835
$as_echo "no" >&6; }
 
4836
fi
 
4837
 
 
4838
 
 
4839
  test -n "$ac_ct_DUMPBIN" && break
 
4840
done
 
4841
 
 
4842
  if test "x$ac_ct_DUMPBIN" = x; then
 
4843
    DUMPBIN=":"
 
4844
  else
 
4845
    case $cross_compiling:$ac_tool_warned in
 
4846
yes:)
 
4847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4849
ac_tool_warned=yes ;;
 
4850
esac
 
4851
    DUMPBIN=$ac_ct_DUMPBIN
 
4852
  fi
 
4853
fi
 
4854
 
 
4855
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4856
    *COFF*)
 
4857
      DUMPBIN="$DUMPBIN -symbols"
 
4858
      ;;
 
4859
    *)
 
4860
      DUMPBIN=:
 
4861
      ;;
 
4862
    esac
 
4863
  fi
 
4864
 
 
4865
  if test "$DUMPBIN" != ":"; then
 
4866
    NM="$DUMPBIN"
 
4867
  fi
 
4868
fi
 
4869
test -z "$NM" && NM=nm
 
4870
 
 
4871
 
 
4872
 
 
4873
 
 
4874
 
 
4875
 
 
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4877
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4878
if test "${lt_cv_nm_interface+set}" = set; then :
 
4879
  $as_echo_n "(cached) " >&6
 
4880
else
 
4881
  lt_cv_nm_interface="BSD nm"
 
4882
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4883
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4884
  (eval "$ac_compile" 2>conftest.err)
 
4885
  cat conftest.err >&5
 
4886
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4887
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4888
  cat conftest.err >&5
 
4889
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4890
  cat conftest.out >&5
 
4891
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4892
    lt_cv_nm_interface="MS dumpbin"
 
4893
  fi
 
4894
  rm -f conftest*
 
4895
fi
 
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4897
$as_echo "$lt_cv_nm_interface" >&6; }
 
4898
 
 
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4447
4900
$as_echo_n "checking whether ln -s works... " >&6; }
4448
4901
LN_S=$as_ln_s
4449
4902
if test "$LN_S" = "ln -s"; then
4450
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4451
4904
$as_echo "yes" >&6; }
4452
4905
else
4453
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4454
4907
$as_echo "no, using $LN_S" >&6; }
4455
4908
fi
4456
4909
 
4457
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4910
# find the maximum length of command line arguments
 
4911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4912
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4913
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4914
  $as_echo_n "(cached) " >&6
 
4915
else
 
4916
    i=0
 
4917
  teststring="ABCD"
 
4918
 
 
4919
  case $build_os in
 
4920
  msdosdjgpp*)
 
4921
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4922
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4923
    # during glob expansion).  Even if it were fixed, the result of this
 
4924
    # check would be larger than it should be.
 
4925
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4926
    ;;
 
4927
 
 
4928
  gnu*)
 
4929
    # Under GNU Hurd, this test is not required because there is
 
4930
    # no limit to the length of command line arguments.
 
4931
    # Libtool will interpret -1 as no limit whatsoever
 
4932
    lt_cv_sys_max_cmd_len=-1;
 
4933
    ;;
 
4934
 
 
4935
  cygwin* | mingw* | cegcc*)
 
4936
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4937
    # about 5 minutes as the teststring grows exponentially.
 
4938
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4939
    # you end up with a "frozen" computer, even though with patience
 
4940
    # the test eventually succeeds (with a max line length of 256k).
 
4941
    # Instead, let's just punt: use the minimum linelength reported by
 
4942
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4943
    lt_cv_sys_max_cmd_len=8192;
 
4944
    ;;
 
4945
 
 
4946
  mint*)
 
4947
    # On MiNT this can take a long time and run out of memory.
 
4948
    lt_cv_sys_max_cmd_len=8192;
 
4949
    ;;
 
4950
 
 
4951
  amigaos*)
 
4952
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4953
    # So we just punt and use a minimum line length of 8192.
 
4954
    lt_cv_sys_max_cmd_len=8192;
 
4955
    ;;
 
4956
 
 
4957
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4958
    # This has been around since 386BSD, at least.  Likely further.
 
4959
    if test -x /sbin/sysctl; then
 
4960
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4961
    elif test -x /usr/sbin/sysctl; then
 
4962
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4963
    else
 
4964
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4965
    fi
 
4966
    # And add a safety zone
 
4967
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4968
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4969
    ;;
 
4970
 
 
4971
  interix*)
 
4972
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4973
    lt_cv_sys_max_cmd_len=196608
 
4974
    ;;
 
4975
 
 
4976
  osf*)
 
4977
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4978
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4979
    # nice to cause kernel panics so lets avoid the loop below.
 
4980
    # First set a reasonable default.
 
4981
    lt_cv_sys_max_cmd_len=16384
 
4982
    #
 
4983
    if test -x /sbin/sysconfig; then
 
4984
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4985
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4986
      esac
 
4987
    fi
 
4988
    ;;
 
4989
  sco3.2v5*)
 
4990
    lt_cv_sys_max_cmd_len=102400
 
4991
    ;;
 
4992
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4993
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4994
    if test -n "$kargmax"; then
 
4995
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4996
    else
 
4997
      lt_cv_sys_max_cmd_len=32768
 
4998
    fi
 
4999
    ;;
 
5000
  *)
 
5001
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5002
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5003
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5004
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5005
    else
 
5006
      # Make teststring a little bigger before we do anything with it.
 
5007
      # a 1K string should be a reasonable start.
 
5008
      for i in 1 2 3 4 5 6 7 8 ; do
 
5009
        teststring=$teststring$teststring
 
5010
      done
 
5011
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5012
      # If test is not a shell built-in, we'll probably end up computing a
 
5013
      # maximum length that is only half of the actual maximum length, but
 
5014
      # we can't tell.
 
5015
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5016
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
5017
              test $i != 17 # 1/2 MB should be enough
 
5018
      do
 
5019
        i=`expr $i + 1`
 
5020
        teststring=$teststring$teststring
 
5021
      done
 
5022
      # Only check the string length outside the loop.
 
5023
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5024
      teststring=
 
5025
      # Add a significant safety factor because C++ compilers can tack on
 
5026
      # massive amounts of additional arguments before passing them to the
 
5027
      # linker.  It appears as though 1/2 is a usable value.
 
5028
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5029
    fi
 
5030
    ;;
 
5031
  esac
 
5032
 
 
5033
fi
 
5034
 
 
5035
if test -n $lt_cv_sys_max_cmd_len ; then
 
5036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5037
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5038
else
 
5039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5040
$as_echo "none" >&6; }
 
5041
fi
 
5042
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5043
 
 
5044
 
 
5045
 
 
5046
 
 
5047
 
 
5048
 
 
5049
: ${CP="cp -f"}
 
5050
: ${MV="mv -f"}
 
5051
: ${RM="rm -f"}
 
5052
 
 
5053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5054
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5055
# Try some XSI features
 
5056
xsi_shell=no
 
5057
( _lt_dummy="a/b/c"
 
5058
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5059
      = c,a/b,, \
 
5060
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5061
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5062
  && xsi_shell=yes
 
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5064
$as_echo "$xsi_shell" >&6; }
 
5065
 
 
5066
 
 
5067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5068
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5069
lt_shell_append=no
 
5070
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5071
    >/dev/null 2>&1 \
 
5072
  && lt_shell_append=yes
 
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5074
$as_echo "$lt_shell_append" >&6; }
 
5075
 
 
5076
 
 
5077
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5078
  lt_unset=unset
 
5079
else
 
5080
  lt_unset=false
 
5081
fi
 
5082
 
 
5083
 
 
5084
 
 
5085
 
 
5086
 
 
5087
# test EBCDIC or ASCII
 
5088
case `echo X|tr X '\101'` in
 
5089
 A) # ASCII based system
 
5090
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5091
  lt_SP2NL='tr \040 \012'
 
5092
  lt_NL2SP='tr \015\012 \040\040'
 
5093
  ;;
 
5094
 *) # EBCDIC based system
 
5095
  lt_SP2NL='tr \100 \n'
 
5096
  lt_NL2SP='tr \r\n \100\100'
 
5097
  ;;
 
5098
esac
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5109
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5110
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5111
  $as_echo_n "(cached) " >&6
 
5112
else
 
5113
  lt_cv_ld_reload_flag='-r'
 
5114
fi
 
5115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5116
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5117
reload_flag=$lt_cv_ld_reload_flag
 
5118
case $reload_flag in
 
5119
"" | " "*) ;;
 
5120
*) reload_flag=" $reload_flag" ;;
 
5121
esac
 
5122
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5123
case $host_os in
 
5124
  darwin*)
 
5125
    if test "$GCC" = yes; then
 
5126
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5127
    else
 
5128
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5129
    fi
 
5130
    ;;
 
5131
esac
 
5132
 
 
5133
 
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
 
5139
 
 
5140
 
 
5141
if test -n "$ac_tool_prefix"; then
 
5142
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5143
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5145
$as_echo_n "checking for $ac_word... " >&6; }
 
5146
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5147
  $as_echo_n "(cached) " >&6
 
5148
else
 
5149
  if test -n "$OBJDUMP"; then
 
5150
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5151
else
 
5152
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5153
for as_dir in $PATH
 
5154
do
 
5155
  IFS=$as_save_IFS
 
5156
  test -z "$as_dir" && as_dir=.
 
5157
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5158
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5159
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5160
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5161
    break 2
 
5162
  fi
 
5163
done
 
5164
  done
 
5165
IFS=$as_save_IFS
 
5166
 
 
5167
fi
 
5168
fi
 
5169
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5170
if test -n "$OBJDUMP"; then
 
5171
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5172
$as_echo "$OBJDUMP" >&6; }
 
5173
else
 
5174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5175
$as_echo "no" >&6; }
 
5176
fi
 
5177
 
 
5178
 
 
5179
fi
 
5180
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5181
  ac_ct_OBJDUMP=$OBJDUMP
 
5182
  # Extract the first word of "objdump", so it can be a program name with args.
 
5183
set dummy objdump; ac_word=$2
 
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5185
$as_echo_n "checking for $ac_word... " >&6; }
 
5186
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5187
  $as_echo_n "(cached) " >&6
 
5188
else
 
5189
  if test -n "$ac_ct_OBJDUMP"; then
 
5190
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5191
else
 
5192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5193
for as_dir in $PATH
 
5194
do
 
5195
  IFS=$as_save_IFS
 
5196
  test -z "$as_dir" && as_dir=.
 
5197
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5199
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5200
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5201
    break 2
 
5202
  fi
 
5203
done
 
5204
  done
 
5205
IFS=$as_save_IFS
 
5206
 
 
5207
fi
 
5208
fi
 
5209
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5210
if test -n "$ac_ct_OBJDUMP"; then
 
5211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5212
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5213
else
 
5214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5215
$as_echo "no" >&6; }
 
5216
fi
 
5217
 
 
5218
  if test "x$ac_ct_OBJDUMP" = x; then
 
5219
    OBJDUMP="false"
 
5220
  else
 
5221
    case $cross_compiling:$ac_tool_warned in
 
5222
yes:)
 
5223
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5224
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5225
ac_tool_warned=yes ;;
 
5226
esac
 
5227
    OBJDUMP=$ac_ct_OBJDUMP
 
5228
  fi
 
5229
else
 
5230
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5231
fi
 
5232
 
 
5233
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5234
 
 
5235
 
 
5236
 
 
5237
 
 
5238
 
 
5239
 
 
5240
 
 
5241
 
 
5242
 
 
5243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4458
5244
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4459
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5245
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4460
5246
  $as_echo_n "(cached) " >&6
4461
5247
else
4462
5248
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4498
5284
  # Base MSYS/MinGW do not provide the 'file' command needed by
4499
5285
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4500
5286
  # unless we find 'file', for example because we are cross-compiling.
4501
 
  if ( file / ) >/dev/null 2>&1; then
 
5287
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5288
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4502
5289
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4503
5290
    lt_cv_file_magic_cmd='func_win32_libid'
4504
5291
  else
4505
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5292
    # Keep this pattern in sync with the one in func_win32_libid.
 
5293
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4506
5294
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4507
5295
  fi
4508
5296
  ;;
4509
5297
 
 
5298
cegcc*)
 
5299
  # use the weaker test based on 'objdump'. See mingw*.
 
5300
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5301
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5302
  ;;
 
5303
 
4510
5304
darwin* | rhapsody*)
4511
5305
  lt_cv_deplibs_check_method=pass_all
4512
5306
  ;;
4513
5307
 
4514
5308
freebsd* | dragonfly*)
4515
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5309
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4516
5310
    case $host_cpu in
4517
5311
    i*86 )
4518
5312
      # Not sure whether the presence of OpenBSD here was a mistake.
4531
5325
  lt_cv_deplibs_check_method=pass_all
4532
5326
  ;;
4533
5327
 
 
5328
haiku*)
 
5329
  lt_cv_deplibs_check_method=pass_all
 
5330
  ;;
 
5331
 
4534
5332
hpux10.20* | hpux11*)
4535
5333
  lt_cv_file_magic_cmd=/usr/bin/file
4536
5334
  case $host_cpu in
4539
5337
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4540
5338
    ;;
4541
5339
  hppa*64*)
4542
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5340
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
4543
5341
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4544
5342
    ;;
4545
5343
  *)
4546
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5344
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4547
5345
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4548
5346
    ;;
4549
5347
  esac
4565
5363
  ;;
4566
5364
 
4567
5365
# This must be Linux ELF.
4568
 
linux* | k*bsd*-gnu)
 
5366
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4569
5367
  lt_cv_deplibs_check_method=pass_all
4570
5368
  ;;
4571
5369
 
4572
5370
netbsd*)
4573
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5371
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4574
5372
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4575
5373
  else
4576
5374
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4583
5381
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4584
5382
  ;;
4585
5383
 
4586
 
nto-qnx*)
4587
 
  lt_cv_deplibs_check_method=unknown
 
5384
*nto* | *qnx*)
 
5385
  lt_cv_deplibs_check_method=pass_all
4588
5386
  ;;
4589
5387
 
4590
5388
openbsd*)
4591
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5389
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4592
5390
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4593
5391
  else
4594
5392
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4607
5405
  lt_cv_deplibs_check_method=pass_all
4608
5406
  ;;
4609
5407
 
 
5408
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5409
  lt_cv_deplibs_check_method=pass_all
 
5410
  ;;
 
5411
 
4610
5412
sysv4 | sysv4.3*)
4611
5413
  case $host_vendor in
4612
5414
  motorola)
4634
5436
  esac
4635
5437
  ;;
4636
5438
 
4637
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5439
tpf*)
4638
5440
  lt_cv_deplibs_check_method=pass_all
4639
5441
  ;;
4640
5442
esac
4641
5443
 
4642
5444
fi
4643
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4644
5446
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4645
5447
file_magic_cmd=$lt_cv_file_magic_cmd
4646
5448
deplibs_check_method=$lt_cv_deplibs_check_method
4649
5451
 
4650
5452
 
4651
5453
 
 
5454
 
 
5455
 
 
5456
 
 
5457
 
 
5458
 
 
5459
 
 
5460
 
 
5461
 
 
5462
if test -n "$ac_tool_prefix"; then
 
5463
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5464
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5466
$as_echo_n "checking for $ac_word... " >&6; }
 
5467
if test "${ac_cv_prog_AR+set}" = set; then :
 
5468
  $as_echo_n "(cached) " >&6
 
5469
else
 
5470
  if test -n "$AR"; then
 
5471
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5472
else
 
5473
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5474
for as_dir in $PATH
 
5475
do
 
5476
  IFS=$as_save_IFS
 
5477
  test -z "$as_dir" && as_dir=.
 
5478
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5479
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5480
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5481
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5482
    break 2
 
5483
  fi
 
5484
done
 
5485
  done
 
5486
IFS=$as_save_IFS
 
5487
 
 
5488
fi
 
5489
fi
 
5490
AR=$ac_cv_prog_AR
 
5491
if test -n "$AR"; then
 
5492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5493
$as_echo "$AR" >&6; }
 
5494
else
 
5495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5496
$as_echo "no" >&6; }
 
5497
fi
 
5498
 
 
5499
 
 
5500
fi
 
5501
if test -z "$ac_cv_prog_AR"; then
 
5502
  ac_ct_AR=$AR
 
5503
  # Extract the first word of "ar", so it can be a program name with args.
 
5504
set dummy ar; ac_word=$2
 
5505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5506
$as_echo_n "checking for $ac_word... " >&6; }
 
5507
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5508
  $as_echo_n "(cached) " >&6
 
5509
else
 
5510
  if test -n "$ac_ct_AR"; then
 
5511
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5512
else
 
5513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5514
for as_dir in $PATH
 
5515
do
 
5516
  IFS=$as_save_IFS
 
5517
  test -z "$as_dir" && as_dir=.
 
5518
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5519
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5520
    ac_cv_prog_ac_ct_AR="ar"
 
5521
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5522
    break 2
 
5523
  fi
 
5524
done
 
5525
  done
 
5526
IFS=$as_save_IFS
 
5527
 
 
5528
fi
 
5529
fi
 
5530
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5531
if test -n "$ac_ct_AR"; then
 
5532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5533
$as_echo "$ac_ct_AR" >&6; }
 
5534
else
 
5535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5536
$as_echo "no" >&6; }
 
5537
fi
 
5538
 
 
5539
  if test "x$ac_ct_AR" = x; then
 
5540
    AR="false"
 
5541
  else
 
5542
    case $cross_compiling:$ac_tool_warned in
 
5543
yes:)
 
5544
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5545
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5546
ac_tool_warned=yes ;;
 
5547
esac
 
5548
    AR=$ac_ct_AR
 
5549
  fi
 
5550
else
 
5551
  AR="$ac_cv_prog_AR"
 
5552
fi
 
5553
 
 
5554
test -z "$AR" && AR=ar
 
5555
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5556
 
 
5557
 
 
5558
 
 
5559
 
 
5560
 
 
5561
 
 
5562
 
 
5563
 
 
5564
 
 
5565
 
 
5566
 
 
5567
if test -n "$ac_tool_prefix"; then
 
5568
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5569
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5571
$as_echo_n "checking for $ac_word... " >&6; }
 
5572
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5573
  $as_echo_n "(cached) " >&6
 
5574
else
 
5575
  if test -n "$STRIP"; then
 
5576
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5577
else
 
5578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5579
for as_dir in $PATH
 
5580
do
 
5581
  IFS=$as_save_IFS
 
5582
  test -z "$as_dir" && as_dir=.
 
5583
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5585
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5586
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5587
    break 2
 
5588
  fi
 
5589
done
 
5590
  done
 
5591
IFS=$as_save_IFS
 
5592
 
 
5593
fi
 
5594
fi
 
5595
STRIP=$ac_cv_prog_STRIP
 
5596
if test -n "$STRIP"; then
 
5597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5598
$as_echo "$STRIP" >&6; }
 
5599
else
 
5600
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5601
$as_echo "no" >&6; }
 
5602
fi
 
5603
 
 
5604
 
 
5605
fi
 
5606
if test -z "$ac_cv_prog_STRIP"; then
 
5607
  ac_ct_STRIP=$STRIP
 
5608
  # Extract the first word of "strip", so it can be a program name with args.
 
5609
set dummy strip; ac_word=$2
 
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5611
$as_echo_n "checking for $ac_word... " >&6; }
 
5612
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5613
  $as_echo_n "(cached) " >&6
 
5614
else
 
5615
  if test -n "$ac_ct_STRIP"; then
 
5616
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5617
else
 
5618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5619
for as_dir in $PATH
 
5620
do
 
5621
  IFS=$as_save_IFS
 
5622
  test -z "$as_dir" && as_dir=.
 
5623
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5624
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5625
    ac_cv_prog_ac_ct_STRIP="strip"
 
5626
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5627
    break 2
 
5628
  fi
 
5629
done
 
5630
  done
 
5631
IFS=$as_save_IFS
 
5632
 
 
5633
fi
 
5634
fi
 
5635
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5636
if test -n "$ac_ct_STRIP"; then
 
5637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5638
$as_echo "$ac_ct_STRIP" >&6; }
 
5639
else
 
5640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5641
$as_echo "no" >&6; }
 
5642
fi
 
5643
 
 
5644
  if test "x$ac_ct_STRIP" = x; then
 
5645
    STRIP=":"
 
5646
  else
 
5647
    case $cross_compiling:$ac_tool_warned in
 
5648
yes:)
 
5649
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5650
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5651
ac_tool_warned=yes ;;
 
5652
esac
 
5653
    STRIP=$ac_ct_STRIP
 
5654
  fi
 
5655
else
 
5656
  STRIP="$ac_cv_prog_STRIP"
 
5657
fi
 
5658
 
 
5659
test -z "$STRIP" && STRIP=:
 
5660
 
 
5661
 
 
5662
 
 
5663
 
 
5664
 
 
5665
 
 
5666
if test -n "$ac_tool_prefix"; then
 
5667
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5668
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5670
$as_echo_n "checking for $ac_word... " >&6; }
 
5671
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5672
  $as_echo_n "(cached) " >&6
 
5673
else
 
5674
  if test -n "$RANLIB"; then
 
5675
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5676
else
 
5677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5678
for as_dir in $PATH
 
5679
do
 
5680
  IFS=$as_save_IFS
 
5681
  test -z "$as_dir" && as_dir=.
 
5682
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5684
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5685
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5686
    break 2
 
5687
  fi
 
5688
done
 
5689
  done
 
5690
IFS=$as_save_IFS
 
5691
 
 
5692
fi
 
5693
fi
 
5694
RANLIB=$ac_cv_prog_RANLIB
 
5695
if test -n "$RANLIB"; then
 
5696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5697
$as_echo "$RANLIB" >&6; }
 
5698
else
 
5699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5700
$as_echo "no" >&6; }
 
5701
fi
 
5702
 
 
5703
 
 
5704
fi
 
5705
if test -z "$ac_cv_prog_RANLIB"; then
 
5706
  ac_ct_RANLIB=$RANLIB
 
5707
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5708
set dummy ranlib; ac_word=$2
 
5709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5710
$as_echo_n "checking for $ac_word... " >&6; }
 
5711
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5712
  $as_echo_n "(cached) " >&6
 
5713
else
 
5714
  if test -n "$ac_ct_RANLIB"; then
 
5715
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5716
else
 
5717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5718
for as_dir in $PATH
 
5719
do
 
5720
  IFS=$as_save_IFS
 
5721
  test -z "$as_dir" && as_dir=.
 
5722
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5724
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5725
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5726
    break 2
 
5727
  fi
 
5728
done
 
5729
  done
 
5730
IFS=$as_save_IFS
 
5731
 
 
5732
fi
 
5733
fi
 
5734
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5735
if test -n "$ac_ct_RANLIB"; then
 
5736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5737
$as_echo "$ac_ct_RANLIB" >&6; }
 
5738
else
 
5739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5740
$as_echo "no" >&6; }
 
5741
fi
 
5742
 
 
5743
  if test "x$ac_ct_RANLIB" = x; then
 
5744
    RANLIB=":"
 
5745
  else
 
5746
    case $cross_compiling:$ac_tool_warned in
 
5747
yes:)
 
5748
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5750
ac_tool_warned=yes ;;
 
5751
esac
 
5752
    RANLIB=$ac_ct_RANLIB
 
5753
  fi
 
5754
else
 
5755
  RANLIB="$ac_cv_prog_RANLIB"
 
5756
fi
 
5757
 
 
5758
test -z "$RANLIB" && RANLIB=:
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
 
 
5764
 
 
5765
# Determine commands to create old-style static archives.
 
5766
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5767
old_postinstall_cmds='chmod 644 $oldlib'
 
5768
old_postuninstall_cmds=
 
5769
 
 
5770
if test -n "$RANLIB"; then
 
5771
  case $host_os in
 
5772
  openbsd*)
 
5773
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5774
    ;;
 
5775
  *)
 
5776
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5777
    ;;
 
5778
  esac
 
5779
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5780
fi
 
5781
 
 
5782
case $host_os in
 
5783
  darwin*)
 
5784
    lock_old_archive_extraction=yes ;;
 
5785
  *)
 
5786
    lock_old_archive_extraction=no ;;
 
5787
esac
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
 
5798
 
 
5799
 
 
5800
 
 
5801
 
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
 
 
5813
 
 
5814
 
 
5815
 
 
5816
 
 
5817
 
 
5818
 
 
5819
 
 
5820
 
 
5821
 
 
5822
 
 
5823
 
 
5824
 
 
5825
 
 
5826
 
4652
5827
# If no C compiler was specified, use CC.
4653
5828
LTCC=${LTCC-"$CC"}
4654
5829
 
4659
5834
compiler=$CC
4660
5835
 
4661
5836
 
4662
 
# Check whether --enable-libtool-lock was given.
4663
 
if test "${enable_libtool_lock+set}" = set; then
4664
 
  enableval=$enable_libtool_lock;
4665
 
fi
4666
 
 
4667
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4668
 
 
4669
 
# Some flags need to be propagated to the compiler or linker for good
4670
 
# libtool support.
4671
 
case $host in
4672
 
ia64-*-hpux*)
4673
 
  # Find out which ABI we are using.
4674
 
  echo 'int i;' > conftest.$ac_ext
4675
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4676
 
  (eval $ac_compile) 2>&5
4677
 
  ac_status=$?
4678
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
 
  (exit $ac_status); }; then
4680
 
    case `/usr/bin/file conftest.$ac_objext` in
4681
 
    *ELF-32*)
4682
 
      HPUX_IA64_MODE="32"
4683
 
      ;;
4684
 
    *ELF-64*)
4685
 
      HPUX_IA64_MODE="64"
4686
 
      ;;
4687
 
    esac
4688
 
  fi
4689
 
  rm -rf conftest*
4690
 
  ;;
4691
 
*-*-irix6*)
4692
 
  # Find out which ABI we are using.
4693
 
  echo '#line 4693 "configure"' > conftest.$ac_ext
4694
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4695
 
  (eval $ac_compile) 2>&5
4696
 
  ac_status=$?
4697
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698
 
  (exit $ac_status); }; then
4699
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4700
 
    case `/usr/bin/file conftest.$ac_objext` in
4701
 
    *32-bit*)
4702
 
      LD="${LD-ld} -melf32bsmip"
4703
 
      ;;
4704
 
    *N32*)
4705
 
      LD="${LD-ld} -melf32bmipn32"
4706
 
      ;;
4707
 
    *64-bit*)
4708
 
      LD="${LD-ld} -melf64bmip"
4709
 
      ;;
4710
 
    esac
4711
 
   else
4712
 
    case `/usr/bin/file conftest.$ac_objext` in
4713
 
    *32-bit*)
4714
 
      LD="${LD-ld} -32"
4715
 
      ;;
4716
 
    *N32*)
4717
 
      LD="${LD-ld} -n32"
4718
 
      ;;
4719
 
    *64-bit*)
4720
 
      LD="${LD-ld} -64"
4721
 
      ;;
4722
 
    esac
4723
 
   fi
4724
 
  fi
4725
 
  rm -rf conftest*
4726
 
  ;;
4727
 
 
4728
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4729
 
s390*-*linux*|sparc*-*linux*)
4730
 
  # Find out which ABI we are using.
4731
 
  echo 'int i;' > conftest.$ac_ext
4732
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733
 
  (eval $ac_compile) 2>&5
4734
 
  ac_status=$?
4735
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736
 
  (exit $ac_status); }; then
4737
 
    case `/usr/bin/file conftest.o` in
4738
 
    *32-bit*)
4739
 
      case $host in
4740
 
        x86_64-*kfreebsd*-gnu)
4741
 
          LD="${LD-ld} -m elf_i386_fbsd"
4742
 
          ;;
4743
 
        x86_64-*linux*)
4744
 
          LD="${LD-ld} -m elf_i386"
4745
 
          ;;
4746
 
        ppc64-*linux*|powerpc64-*linux*)
4747
 
          LD="${LD-ld} -m elf32ppclinux"
4748
 
          ;;
4749
 
        s390x-*linux*)
4750
 
          LD="${LD-ld} -m elf_s390"
4751
 
          ;;
4752
 
        sparc64-*linux*)
4753
 
          LD="${LD-ld} -m elf32_sparc"
4754
 
          ;;
4755
 
      esac
4756
 
      ;;
4757
 
    *64-bit*)
4758
 
      libsuff=64
4759
 
      case $host in
4760
 
        x86_64-*kfreebsd*-gnu)
4761
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4762
 
          ;;
4763
 
        x86_64-*linux*)
4764
 
          LD="${LD-ld} -m elf_x86_64"
4765
 
          ;;
4766
 
        ppc*-*linux*|powerpc*-*linux*)
4767
 
          LD="${LD-ld} -m elf64ppc"
4768
 
          ;;
4769
 
        s390*-*linux*)
4770
 
          LD="${LD-ld} -m elf64_s390"
4771
 
          ;;
4772
 
        sparc*-*linux*)
4773
 
          LD="${LD-ld} -m elf64_sparc"
4774
 
          ;;
4775
 
      esac
4776
 
      ;;
4777
 
    esac
4778
 
  fi
4779
 
  rm -rf conftest*
4780
 
  ;;
4781
 
 
4782
 
*-*-sco3.2v5*)
4783
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4784
 
  SAVE_CFLAGS="$CFLAGS"
4785
 
  CFLAGS="$CFLAGS -belf"
4786
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4787
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4788
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4789
 
  $as_echo_n "(cached) " >&6
4790
 
else
4791
 
  ac_ext=c
4792
 
ac_cpp='$CPP $CPPFLAGS'
4793
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4794
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4795
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4796
 
 
4797
 
     cat >conftest.$ac_ext <<_ACEOF
4798
 
/* confdefs.h.  */
4799
 
_ACEOF
4800
 
cat confdefs.h >>conftest.$ac_ext
4801
 
cat >>conftest.$ac_ext <<_ACEOF
4802
 
/* end confdefs.h.  */
4803
 
 
4804
 
int
4805
 
main ()
4806
 
{
4807
 
 
4808
 
  ;
4809
 
  return 0;
4810
 
}
4811
 
_ACEOF
4812
 
rm -f conftest.$ac_objext conftest$ac_exeext
4813
 
if { (ac_try="$ac_link"
4814
 
case "(($ac_try" in
4815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816
 
  *) ac_try_echo=$ac_try;;
4817
 
esac
4818
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4819
 
$as_echo "$ac_try_echo") >&5
4820
 
  (eval "$ac_link") 2>conftest.er1
4821
 
  ac_status=$?
4822
 
  grep -v '^ *+' conftest.er1 >conftest.err
4823
 
  rm -f conftest.er1
4824
 
  cat conftest.err >&5
4825
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826
 
  (exit $ac_status); } && {
4827
 
         test -z "$ac_c_werror_flag" ||
4828
 
         test ! -s conftest.err
4829
 
       } && test -s conftest$ac_exeext && {
4830
 
         test "$cross_compiling" = yes ||
4831
 
         $as_test_x conftest$ac_exeext
4832
 
       }; then
4833
 
  lt_cv_cc_needs_belf=yes
4834
 
else
4835
 
  $as_echo "$as_me: failed program was:" >&5
4836
 
sed 's/^/| /' conftest.$ac_ext >&5
4837
 
 
4838
 
        lt_cv_cc_needs_belf=no
4839
 
fi
4840
 
 
4841
 
rm -rf conftest.dSYM
4842
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4843
 
      conftest$ac_exeext conftest.$ac_ext
4844
 
     ac_ext=c
4845
 
ac_cpp='$CPP $CPPFLAGS'
4846
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4849
 
 
4850
 
fi
4851
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4852
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
4853
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4854
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4855
 
    CFLAGS="$SAVE_CFLAGS"
4856
 
  fi
4857
 
  ;;
4858
 
sparc*-*solaris*)
4859
 
  # Find out which ABI we are using.
4860
 
  echo 'int i;' > conftest.$ac_ext
4861
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4862
 
  (eval $ac_compile) 2>&5
4863
 
  ac_status=$?
4864
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865
 
  (exit $ac_status); }; then
4866
 
    case `/usr/bin/file conftest.o` in
4867
 
    *64-bit*)
4868
 
      case $lt_cv_prog_gnu_ld in
4869
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4870
 
      *)
4871
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4872
 
          LD="${LD-ld} -64"
4873
 
        fi
4874
 
        ;;
4875
 
      esac
4876
 
      ;;
4877
 
    esac
4878
 
  fi
4879
 
  rm -rf conftest*
4880
 
  ;;
4881
 
 
4882
 
 
4883
 
esac
4884
 
 
4885
 
need_locks="$enable_libtool_lock"
4886
 
 
4887
 
 
4888
 
ac_ext=c
4889
 
ac_cpp='$CPP $CPPFLAGS'
4890
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4893
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4894
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4895
 
# On Suns, sometimes $CPP names a directory.
4896
 
if test -n "$CPP" && test -d "$CPP"; then
4897
 
  CPP=
4898
 
fi
4899
 
if test -z "$CPP"; then
4900
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4901
 
  $as_echo_n "(cached) " >&6
4902
 
else
4903
 
      # Double quotes because CPP needs to be expanded
4904
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4905
 
    do
4906
 
      ac_preproc_ok=false
4907
 
for ac_c_preproc_warn_flag in '' yes
4908
 
do
4909
 
  # Use a header file that comes with gcc, so configuring glibc
4910
 
  # with a fresh cross-compiler works.
4911
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4912
 
  # <limits.h> exists even on freestanding compilers.
4913
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4914
 
  # not just through cpp. "Syntax error" is here to catch this case.
4915
 
  cat >conftest.$ac_ext <<_ACEOF
4916
 
/* confdefs.h.  */
4917
 
_ACEOF
4918
 
cat confdefs.h >>conftest.$ac_ext
4919
 
cat >>conftest.$ac_ext <<_ACEOF
4920
 
/* end confdefs.h.  */
4921
 
#ifdef __STDC__
4922
 
# include <limits.h>
4923
 
#else
4924
 
# include <assert.h>
4925
 
#endif
4926
 
                     Syntax error
4927
 
_ACEOF
4928
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4929
 
case "(($ac_try" in
4930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4931
 
  *) ac_try_echo=$ac_try;;
4932
 
esac
4933
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4934
 
$as_echo "$ac_try_echo") >&5
4935
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4936
 
  ac_status=$?
4937
 
  grep -v '^ *+' conftest.er1 >conftest.err
4938
 
  rm -f conftest.er1
4939
 
  cat conftest.err >&5
4940
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941
 
  (exit $ac_status); } >/dev/null && {
4942
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4943
 
         test ! -s conftest.err
4944
 
       }; then
4945
 
  :
4946
 
else
4947
 
  $as_echo "$as_me: failed program was:" >&5
4948
 
sed 's/^/| /' conftest.$ac_ext >&5
4949
 
 
4950
 
  # Broken: fails on valid input.
4951
 
continue
4952
 
fi
4953
 
 
4954
 
rm -f conftest.err conftest.$ac_ext
4955
 
 
4956
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4957
 
  # can be detected and how.
4958
 
  cat >conftest.$ac_ext <<_ACEOF
4959
 
/* confdefs.h.  */
4960
 
_ACEOF
4961
 
cat confdefs.h >>conftest.$ac_ext
4962
 
cat >>conftest.$ac_ext <<_ACEOF
4963
 
/* end confdefs.h.  */
4964
 
#include <ac_nonexistent.h>
4965
 
_ACEOF
4966
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4967
 
case "(($ac_try" in
4968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4969
 
  *) ac_try_echo=$ac_try;;
4970
 
esac
4971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4972
 
$as_echo "$ac_try_echo") >&5
4973
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4974
 
  ac_status=$?
4975
 
  grep -v '^ *+' conftest.er1 >conftest.err
4976
 
  rm -f conftest.er1
4977
 
  cat conftest.err >&5
4978
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979
 
  (exit $ac_status); } >/dev/null && {
4980
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4981
 
         test ! -s conftest.err
4982
 
       }; then
4983
 
  # Broken: success on invalid input.
4984
 
continue
4985
 
else
4986
 
  $as_echo "$as_me: failed program was:" >&5
4987
 
sed 's/^/| /' conftest.$ac_ext >&5
4988
 
 
4989
 
  # Passes both tests.
4990
 
ac_preproc_ok=:
4991
 
break
4992
 
fi
4993
 
 
4994
 
rm -f conftest.err conftest.$ac_ext
4995
 
 
4996
 
done
4997
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4998
 
rm -f conftest.err conftest.$ac_ext
4999
 
if $ac_preproc_ok; then
5000
 
  break
5001
 
fi
5002
 
 
5003
 
    done
5004
 
    ac_cv_prog_CPP=$CPP
5005
 
 
5006
 
fi
5007
 
  CPP=$ac_cv_prog_CPP
5008
 
else
5009
 
  ac_cv_prog_CPP=$CPP
5010
 
fi
5011
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
5012
 
$as_echo "$CPP" >&6; }
5013
 
ac_preproc_ok=false
5014
 
for ac_c_preproc_warn_flag in '' yes
5015
 
do
5016
 
  # Use a header file that comes with gcc, so configuring glibc
5017
 
  # with a fresh cross-compiler works.
5018
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5019
 
  # <limits.h> exists even on freestanding compilers.
5020
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5021
 
  # not just through cpp. "Syntax error" is here to catch this case.
5022
 
  cat >conftest.$ac_ext <<_ACEOF
5023
 
/* confdefs.h.  */
5024
 
_ACEOF
5025
 
cat confdefs.h >>conftest.$ac_ext
5026
 
cat >>conftest.$ac_ext <<_ACEOF
5027
 
/* end confdefs.h.  */
5028
 
#ifdef __STDC__
5029
 
# include <limits.h>
5030
 
#else
5031
 
# include <assert.h>
5032
 
#endif
5033
 
                     Syntax error
5034
 
_ACEOF
5035
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5036
 
case "(($ac_try" in
5037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5038
 
  *) ac_try_echo=$ac_try;;
5039
 
esac
5040
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5041
 
$as_echo "$ac_try_echo") >&5
5042
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5043
 
  ac_status=$?
5044
 
  grep -v '^ *+' conftest.er1 >conftest.err
5045
 
  rm -f conftest.er1
5046
 
  cat conftest.err >&5
5047
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048
 
  (exit $ac_status); } >/dev/null && {
5049
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5050
 
         test ! -s conftest.err
5051
 
       }; then
5052
 
  :
5053
 
else
5054
 
  $as_echo "$as_me: failed program was:" >&5
5055
 
sed 's/^/| /' conftest.$ac_ext >&5
5056
 
 
5057
 
  # Broken: fails on valid input.
5058
 
continue
5059
 
fi
5060
 
 
5061
 
rm -f conftest.err conftest.$ac_ext
5062
 
 
5063
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5064
 
  # can be detected and how.
5065
 
  cat >conftest.$ac_ext <<_ACEOF
5066
 
/* confdefs.h.  */
5067
 
_ACEOF
5068
 
cat confdefs.h >>conftest.$ac_ext
5069
 
cat >>conftest.$ac_ext <<_ACEOF
5070
 
/* end confdefs.h.  */
5071
 
#include <ac_nonexistent.h>
5072
 
_ACEOF
5073
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5074
 
case "(($ac_try" in
5075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5076
 
  *) ac_try_echo=$ac_try;;
5077
 
esac
5078
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5079
 
$as_echo "$ac_try_echo") >&5
5080
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5081
 
  ac_status=$?
5082
 
  grep -v '^ *+' conftest.er1 >conftest.err
5083
 
  rm -f conftest.er1
5084
 
  cat conftest.err >&5
5085
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086
 
  (exit $ac_status); } >/dev/null && {
5087
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5088
 
         test ! -s conftest.err
5089
 
       }; then
5090
 
  # Broken: success on invalid input.
5091
 
continue
5092
 
else
5093
 
  $as_echo "$as_me: failed program was:" >&5
5094
 
sed 's/^/| /' conftest.$ac_ext >&5
5095
 
 
5096
 
  # Passes both tests.
5097
 
ac_preproc_ok=:
5098
 
break
5099
 
fi
5100
 
 
5101
 
rm -f conftest.err conftest.$ac_ext
5102
 
 
5103
 
done
5104
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5105
 
rm -f conftest.err conftest.$ac_ext
5106
 
if $ac_preproc_ok; then
5107
 
  :
5108
 
else
5109
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5110
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5111
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5112
 
See \`config.log' for more details." >&5
5113
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5114
 
See \`config.log' for more details." >&2;}
5115
 
   { (exit 1); exit 1; }; }; }
5116
 
fi
5117
 
 
5118
 
ac_ext=c
5119
 
ac_cpp='$CPP $CPPFLAGS'
5120
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5123
 
 
5124
 
 
5125
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5126
 
$as_echo_n "checking for ANSI C header files... " >&6; }
5127
 
if test "${ac_cv_header_stdc+set}" = set; then
5128
 
  $as_echo_n "(cached) " >&6
5129
 
else
5130
 
  cat >conftest.$ac_ext <<_ACEOF
5131
 
/* confdefs.h.  */
5132
 
_ACEOF
5133
 
cat confdefs.h >>conftest.$ac_ext
5134
 
cat >>conftest.$ac_ext <<_ACEOF
5135
 
/* end confdefs.h.  */
5136
 
#include <stdlib.h>
5137
 
#include <stdarg.h>
5138
 
#include <string.h>
5139
 
#include <float.h>
5140
 
 
5141
 
int
5142
 
main ()
5143
 
{
5144
 
 
5145
 
  ;
5146
 
  return 0;
5147
 
}
5148
 
_ACEOF
5149
 
rm -f conftest.$ac_objext
5150
 
if { (ac_try="$ac_compile"
5151
 
case "(($ac_try" in
5152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5153
 
  *) ac_try_echo=$ac_try;;
5154
 
esac
5155
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5156
 
$as_echo "$ac_try_echo") >&5
5157
 
  (eval "$ac_compile") 2>conftest.er1
5158
 
  ac_status=$?
5159
 
  grep -v '^ *+' conftest.er1 >conftest.err
5160
 
  rm -f conftest.er1
5161
 
  cat conftest.err >&5
5162
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163
 
  (exit $ac_status); } && {
5164
 
         test -z "$ac_c_werror_flag" ||
5165
 
         test ! -s conftest.err
5166
 
       } && test -s conftest.$ac_objext; then
5167
 
  ac_cv_header_stdc=yes
5168
 
else
5169
 
  $as_echo "$as_me: failed program was:" >&5
5170
 
sed 's/^/| /' conftest.$ac_ext >&5
5171
 
 
5172
 
        ac_cv_header_stdc=no
5173
 
fi
5174
 
 
5175
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176
 
 
5177
 
if test $ac_cv_header_stdc = yes; then
5178
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5179
 
  cat >conftest.$ac_ext <<_ACEOF
5180
 
/* confdefs.h.  */
5181
 
_ACEOF
5182
 
cat confdefs.h >>conftest.$ac_ext
5183
 
cat >>conftest.$ac_ext <<_ACEOF
5184
 
/* end confdefs.h.  */
5185
 
#include <string.h>
5186
 
 
5187
 
_ACEOF
5188
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5189
 
  $EGREP "memchr" >/dev/null 2>&1; then
5190
 
  :
5191
 
else
5192
 
  ac_cv_header_stdc=no
5193
 
fi
5194
 
rm -f conftest*
5195
 
 
5196
 
fi
5197
 
 
5198
 
if test $ac_cv_header_stdc = yes; then
5199
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5200
 
  cat >conftest.$ac_ext <<_ACEOF
5201
 
/* confdefs.h.  */
5202
 
_ACEOF
5203
 
cat confdefs.h >>conftest.$ac_ext
5204
 
cat >>conftest.$ac_ext <<_ACEOF
5205
 
/* end confdefs.h.  */
5206
 
#include <stdlib.h>
5207
 
 
5208
 
_ACEOF
5209
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210
 
  $EGREP "free" >/dev/null 2>&1; then
5211
 
  :
5212
 
else
5213
 
  ac_cv_header_stdc=no
5214
 
fi
5215
 
rm -f conftest*
5216
 
 
5217
 
fi
5218
 
 
5219
 
if test $ac_cv_header_stdc = yes; then
5220
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5221
 
  if test "$cross_compiling" = yes; then
5222
 
  :
5223
 
else
5224
 
  cat >conftest.$ac_ext <<_ACEOF
5225
 
/* confdefs.h.  */
5226
 
_ACEOF
5227
 
cat confdefs.h >>conftest.$ac_ext
5228
 
cat >>conftest.$ac_ext <<_ACEOF
5229
 
/* end confdefs.h.  */
5230
 
#include <ctype.h>
5231
 
#include <stdlib.h>
5232
 
#if ((' ' & 0x0FF) == 0x020)
5233
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5234
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5235
 
#else
5236
 
# define ISLOWER(c) \
5237
 
                   (('a' <= (c) && (c) <= 'i') \
5238
 
                     || ('j' <= (c) && (c) <= 'r') \
5239
 
                     || ('s' <= (c) && (c) <= 'z'))
5240
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5241
 
#endif
5242
 
 
5243
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5244
 
int
5245
 
main ()
5246
 
{
5247
 
  int i;
5248
 
  for (i = 0; i < 256; i++)
5249
 
    if (XOR (islower (i), ISLOWER (i))
5250
 
        || toupper (i) != TOUPPER (i))
5251
 
      return 2;
5252
 
  return 0;
5253
 
}
5254
 
_ACEOF
5255
 
rm -f conftest$ac_exeext
5256
 
if { (ac_try="$ac_link"
5257
 
case "(($ac_try" in
5258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5259
 
  *) ac_try_echo=$ac_try;;
5260
 
esac
5261
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5262
 
$as_echo "$ac_try_echo") >&5
5263
 
  (eval "$ac_link") 2>&5
5264
 
  ac_status=$?
5265
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5267
 
  { (case "(($ac_try" in
5268
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269
 
  *) ac_try_echo=$ac_try;;
5270
 
esac
5271
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5272
 
$as_echo "$ac_try_echo") >&5
5273
 
  (eval "$ac_try") 2>&5
5274
 
  ac_status=$?
5275
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276
 
  (exit $ac_status); }; }; then
5277
 
  :
5278
 
else
5279
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5280
 
$as_echo "$as_me: failed program was:" >&5
5281
 
sed 's/^/| /' conftest.$ac_ext >&5
5282
 
 
5283
 
( exit $ac_status )
5284
 
ac_cv_header_stdc=no
5285
 
fi
5286
 
rm -rf conftest.dSYM
5287
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5288
 
fi
5289
 
 
5290
 
 
5291
 
fi
5292
 
fi
5293
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5294
 
$as_echo "$ac_cv_header_stdc" >&6; }
5295
 
if test $ac_cv_header_stdc = yes; then
5296
 
 
5297
 
cat >>confdefs.h <<\_ACEOF
5298
 
#define STDC_HEADERS 1
5299
 
_ACEOF
5300
 
 
5301
 
fi
5302
 
 
5303
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5304
 
 
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5314
 
                  inttypes.h stdint.h unistd.h
5315
 
do
5316
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5317
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5318
 
$as_echo_n "checking for $ac_header... " >&6; }
5319
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5320
 
  $as_echo_n "(cached) " >&6
5321
 
else
5322
 
  cat >conftest.$ac_ext <<_ACEOF
5323
 
/* confdefs.h.  */
5324
 
_ACEOF
5325
 
cat confdefs.h >>conftest.$ac_ext
5326
 
cat >>conftest.$ac_ext <<_ACEOF
5327
 
/* end confdefs.h.  */
5328
 
$ac_includes_default
5329
 
 
5330
 
#include <$ac_header>
5331
 
_ACEOF
5332
 
rm -f conftest.$ac_objext
5333
 
if { (ac_try="$ac_compile"
5334
 
case "(($ac_try" in
5335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5336
 
  *) ac_try_echo=$ac_try;;
5337
 
esac
5338
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5339
 
$as_echo "$ac_try_echo") >&5
5340
 
  (eval "$ac_compile") 2>conftest.er1
5341
 
  ac_status=$?
5342
 
  grep -v '^ *+' conftest.er1 >conftest.err
5343
 
  rm -f conftest.er1
5344
 
  cat conftest.err >&5
5345
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346
 
  (exit $ac_status); } && {
5347
 
         test -z "$ac_c_werror_flag" ||
5348
 
         test ! -s conftest.err
5349
 
       } && test -s conftest.$ac_objext; then
5350
 
  eval "$as_ac_Header=yes"
5351
 
else
5352
 
  $as_echo "$as_me: failed program was:" >&5
5353
 
sed 's/^/| /' conftest.$ac_ext >&5
5354
 
 
5355
 
        eval "$as_ac_Header=no"
5356
 
fi
5357
 
 
5358
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359
 
fi
5360
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5361
 
                 $as_echo "$as_val"'`
5362
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5363
 
$as_echo "$ac_res" >&6; }
5364
 
as_val=`eval 'as_val=${'$as_ac_Header'}
5365
 
                 $as_echo "$as_val"'`
5366
 
   if test "x$as_val" = x""yes; then
5367
 
  cat >>confdefs.h <<_ACEOF
5368
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5369
 
_ACEOF
5370
 
 
5371
 
fi
5372
 
 
5373
 
done
5374
 
 
5375
 
 
5376
 
 
5377
 
for ac_header in dlfcn.h
5378
 
do
5379
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5380
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5381
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5382
 
$as_echo_n "checking for $ac_header... " >&6; }
5383
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5384
 
  $as_echo_n "(cached) " >&6
5385
 
fi
5386
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5387
 
                 $as_echo "$as_val"'`
5388
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5389
 
$as_echo "$ac_res" >&6; }
5390
 
else
5391
 
  # Is the header compilable?
5392
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5393
 
$as_echo_n "checking $ac_header usability... " >&6; }
5394
 
cat >conftest.$ac_ext <<_ACEOF
5395
 
/* confdefs.h.  */
5396
 
_ACEOF
5397
 
cat confdefs.h >>conftest.$ac_ext
5398
 
cat >>conftest.$ac_ext <<_ACEOF
5399
 
/* end confdefs.h.  */
5400
 
$ac_includes_default
5401
 
#include <$ac_header>
5402
 
_ACEOF
5403
 
rm -f conftest.$ac_objext
5404
 
if { (ac_try="$ac_compile"
5405
 
case "(($ac_try" in
5406
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407
 
  *) ac_try_echo=$ac_try;;
5408
 
esac
5409
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5410
 
$as_echo "$ac_try_echo") >&5
5411
 
  (eval "$ac_compile") 2>conftest.er1
5412
 
  ac_status=$?
5413
 
  grep -v '^ *+' conftest.er1 >conftest.err
5414
 
  rm -f conftest.er1
5415
 
  cat conftest.err >&5
5416
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); } && {
5418
 
         test -z "$ac_c_werror_flag" ||
5419
 
         test ! -s conftest.err
5420
 
       } && test -s conftest.$ac_objext; then
5421
 
  ac_header_compiler=yes
5422
 
else
5423
 
  $as_echo "$as_me: failed program was:" >&5
5424
 
sed 's/^/| /' conftest.$ac_ext >&5
5425
 
 
5426
 
        ac_header_compiler=no
5427
 
fi
5428
 
 
5429
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5430
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5431
 
$as_echo "$ac_header_compiler" >&6; }
5432
 
 
5433
 
# Is the header present?
5434
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5435
 
$as_echo_n "checking $ac_header presence... " >&6; }
5436
 
cat >conftest.$ac_ext <<_ACEOF
5437
 
/* confdefs.h.  */
5438
 
_ACEOF
5439
 
cat confdefs.h >>conftest.$ac_ext
5440
 
cat >>conftest.$ac_ext <<_ACEOF
5441
 
/* end confdefs.h.  */
5442
 
#include <$ac_header>
5443
 
_ACEOF
5444
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5445
 
case "(($ac_try" in
5446
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5447
 
  *) ac_try_echo=$ac_try;;
5448
 
esac
5449
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5450
 
$as_echo "$ac_try_echo") >&5
5451
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5452
 
  ac_status=$?
5453
 
  grep -v '^ *+' conftest.er1 >conftest.err
5454
 
  rm -f conftest.er1
5455
 
  cat conftest.err >&5
5456
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457
 
  (exit $ac_status); } >/dev/null && {
5458
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5459
 
         test ! -s conftest.err
5460
 
       }; then
5461
 
  ac_header_preproc=yes
5462
 
else
5463
 
  $as_echo "$as_me: failed program was:" >&5
5464
 
sed 's/^/| /' conftest.$ac_ext >&5
5465
 
 
5466
 
  ac_header_preproc=no
5467
 
fi
5468
 
 
5469
 
rm -f conftest.err conftest.$ac_ext
5470
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5471
 
$as_echo "$ac_header_preproc" >&6; }
5472
 
 
5473
 
# So?  What about this header?
5474
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5475
 
  yes:no: )
5476
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5477
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5478
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5479
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5480
 
    ac_header_preproc=yes
5481
 
    ;;
5482
 
  no:yes:* )
5483
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5484
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5485
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5486
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5487
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5488
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5489
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5490
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5491
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5492
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5493
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5494
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5495
 
    ( cat <<\_ASBOX
5496
 
## ------------------------------------------- ##
5497
 
## Report this to pixman@lists.freedesktop.org ##
5498
 
## ------------------------------------------- ##
5499
 
_ASBOX
5500
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5501
 
    ;;
5502
 
esac
5503
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5504
 
$as_echo_n "checking for $ac_header... " >&6; }
5505
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5506
 
  $as_echo_n "(cached) " >&6
5507
 
else
5508
 
  eval "$as_ac_Header=\$ac_header_preproc"
5509
 
fi
5510
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5511
 
                 $as_echo "$as_val"'`
5512
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5513
 
$as_echo "$ac_res" >&6; }
5514
 
 
5515
 
fi
5516
 
as_val=`eval 'as_val=${'$as_ac_Header'}
5517
 
                 $as_echo "$as_val"'`
5518
 
   if test "x$as_val" = x""yes; then
5519
 
  cat >>confdefs.h <<_ACEOF
5520
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5521
 
_ACEOF
5522
 
 
5523
 
fi
5524
 
 
5525
 
done
5526
 
 
5527
 
ac_ext=cpp
5528
 
ac_cpp='$CXXCPP $CPPFLAGS'
5529
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5530
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5531
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5532
 
if test -z "$CXX"; then
5533
 
  if test -n "$CCC"; then
5534
 
    CXX=$CCC
5535
 
  else
5536
 
    if test -n "$ac_tool_prefix"; then
5537
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5538
 
  do
5539
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5540
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5541
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5542
 
$as_echo_n "checking for $ac_word... " >&6; }
5543
 
if test "${ac_cv_prog_CXX+set}" = set; then
5544
 
  $as_echo_n "(cached) " >&6
5545
 
else
5546
 
  if test -n "$CXX"; then
5547
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5548
 
else
5549
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550
 
for as_dir in $PATH
5551
 
do
5552
 
  IFS=$as_save_IFS
5553
 
  test -z "$as_dir" && as_dir=.
5554
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5555
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5557
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558
 
    break 2
5559
 
  fi
5560
 
done
5561
 
done
5562
 
IFS=$as_save_IFS
5563
 
 
5564
 
fi
5565
 
fi
5566
 
CXX=$ac_cv_prog_CXX
5567
 
if test -n "$CXX"; then
5568
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5569
 
$as_echo "$CXX" >&6; }
5570
 
else
5571
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5572
 
$as_echo "no" >&6; }
5573
 
fi
5574
 
 
5575
 
 
5576
 
    test -n "$CXX" && break
5577
 
  done
5578
 
fi
5579
 
if test -z "$CXX"; then
5580
 
  ac_ct_CXX=$CXX
5581
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5582
 
do
5583
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5584
 
set dummy $ac_prog; ac_word=$2
5585
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5586
 
$as_echo_n "checking for $ac_word... " >&6; }
5587
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5588
 
  $as_echo_n "(cached) " >&6
5589
 
else
5590
 
  if test -n "$ac_ct_CXX"; then
5591
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5592
 
else
5593
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594
 
for as_dir in $PATH
5595
 
do
5596
 
  IFS=$as_save_IFS
5597
 
  test -z "$as_dir" && as_dir=.
5598
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5599
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5601
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602
 
    break 2
5603
 
  fi
5604
 
done
5605
 
done
5606
 
IFS=$as_save_IFS
5607
 
 
5608
 
fi
5609
 
fi
5610
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5611
 
if test -n "$ac_ct_CXX"; then
5612
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5613
 
$as_echo "$ac_ct_CXX" >&6; }
5614
 
else
5615
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5616
 
$as_echo "no" >&6; }
5617
 
fi
5618
 
 
5619
 
 
5620
 
  test -n "$ac_ct_CXX" && break
5621
 
done
5622
 
 
5623
 
  if test "x$ac_ct_CXX" = x; then
5624
 
    CXX="g++"
5625
 
  else
5626
 
    case $cross_compiling:$ac_tool_warned in
5627
 
yes:)
5628
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5629
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5630
 
ac_tool_warned=yes ;;
5631
 
esac
5632
 
    CXX=$ac_ct_CXX
5633
 
  fi
5634
 
fi
5635
 
 
5636
 
  fi
5637
 
fi
5638
 
# Provide some information about the compiler.
5639
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5640
 
set X $ac_compile
5641
 
ac_compiler=$2
5642
 
{ (ac_try="$ac_compiler --version >&5"
5643
 
case "(($ac_try" in
5644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5645
 
  *) ac_try_echo=$ac_try;;
5646
 
esac
5647
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5648
 
$as_echo "$ac_try_echo") >&5
5649
 
  (eval "$ac_compiler --version >&5") 2>&5
5650
 
  ac_status=$?
5651
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652
 
  (exit $ac_status); }
5653
 
{ (ac_try="$ac_compiler -v >&5"
5654
 
case "(($ac_try" in
5655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656
 
  *) ac_try_echo=$ac_try;;
5657
 
esac
5658
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5659
 
$as_echo "$ac_try_echo") >&5
5660
 
  (eval "$ac_compiler -v >&5") 2>&5
5661
 
  ac_status=$?
5662
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663
 
  (exit $ac_status); }
5664
 
{ (ac_try="$ac_compiler -V >&5"
5665
 
case "(($ac_try" in
5666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5667
 
  *) ac_try_echo=$ac_try;;
5668
 
esac
5669
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5670
 
$as_echo "$ac_try_echo") >&5
5671
 
  (eval "$ac_compiler -V >&5") 2>&5
5672
 
  ac_status=$?
5673
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674
 
  (exit $ac_status); }
5675
 
 
5676
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5677
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5678
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5679
 
  $as_echo_n "(cached) " >&6
5680
 
else
5681
 
  cat >conftest.$ac_ext <<_ACEOF
5682
 
/* confdefs.h.  */
5683
 
_ACEOF
5684
 
cat confdefs.h >>conftest.$ac_ext
5685
 
cat >>conftest.$ac_ext <<_ACEOF
5686
 
/* end confdefs.h.  */
5687
 
 
5688
 
int
5689
 
main ()
5690
 
{
5691
 
#ifndef __GNUC__
5692
 
       choke me
5693
 
#endif
5694
 
 
5695
 
  ;
5696
 
  return 0;
5697
 
}
5698
 
_ACEOF
5699
 
rm -f conftest.$ac_objext
5700
 
if { (ac_try="$ac_compile"
5701
 
case "(($ac_try" in
5702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703
 
  *) ac_try_echo=$ac_try;;
5704
 
esac
5705
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5706
 
$as_echo "$ac_try_echo") >&5
5707
 
  (eval "$ac_compile") 2>conftest.er1
5708
 
  ac_status=$?
5709
 
  grep -v '^ *+' conftest.er1 >conftest.err
5710
 
  rm -f conftest.er1
5711
 
  cat conftest.err >&5
5712
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713
 
  (exit $ac_status); } && {
5714
 
         test -z "$ac_cxx_werror_flag" ||
5715
 
         test ! -s conftest.err
5716
 
       } && test -s conftest.$ac_objext; then
5717
 
  ac_compiler_gnu=yes
5718
 
else
5719
 
  $as_echo "$as_me: failed program was:" >&5
5720
 
sed 's/^/| /' conftest.$ac_ext >&5
5721
 
 
5722
 
        ac_compiler_gnu=no
5723
 
fi
5724
 
 
5725
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5726
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5727
 
 
5728
 
fi
5729
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5730
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5731
 
if test $ac_compiler_gnu = yes; then
5732
 
  GXX=yes
5733
 
else
5734
 
  GXX=
5735
 
fi
5736
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5737
 
ac_save_CXXFLAGS=$CXXFLAGS
5738
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5739
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5740
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5741
 
  $as_echo_n "(cached) " >&6
5742
 
else
5743
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5744
 
   ac_cxx_werror_flag=yes
5745
 
   ac_cv_prog_cxx_g=no
5746
 
   CXXFLAGS="-g"
5747
 
   cat >conftest.$ac_ext <<_ACEOF
5748
 
/* confdefs.h.  */
5749
 
_ACEOF
5750
 
cat confdefs.h >>conftest.$ac_ext
5751
 
cat >>conftest.$ac_ext <<_ACEOF
5752
 
/* end confdefs.h.  */
5753
 
 
5754
 
int
5755
 
main ()
5756
 
{
5757
 
 
5758
 
  ;
5759
 
  return 0;
5760
 
}
5761
 
_ACEOF
5762
 
rm -f conftest.$ac_objext
5763
 
if { (ac_try="$ac_compile"
5764
 
case "(($ac_try" in
5765
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5766
 
  *) ac_try_echo=$ac_try;;
5767
 
esac
5768
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5769
 
$as_echo "$ac_try_echo") >&5
5770
 
  (eval "$ac_compile") 2>conftest.er1
5771
 
  ac_status=$?
5772
 
  grep -v '^ *+' conftest.er1 >conftest.err
5773
 
  rm -f conftest.er1
5774
 
  cat conftest.err >&5
5775
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776
 
  (exit $ac_status); } && {
5777
 
         test -z "$ac_cxx_werror_flag" ||
5778
 
         test ! -s conftest.err
5779
 
       } && test -s conftest.$ac_objext; then
5780
 
  ac_cv_prog_cxx_g=yes
5781
 
else
5782
 
  $as_echo "$as_me: failed program was:" >&5
5783
 
sed 's/^/| /' conftest.$ac_ext >&5
5784
 
 
5785
 
        CXXFLAGS=""
5786
 
      cat >conftest.$ac_ext <<_ACEOF
5787
 
/* confdefs.h.  */
5788
 
_ACEOF
5789
 
cat confdefs.h >>conftest.$ac_ext
5790
 
cat >>conftest.$ac_ext <<_ACEOF
5791
 
/* end confdefs.h.  */
5792
 
 
5793
 
int
5794
 
main ()
5795
 
{
5796
 
 
5797
 
  ;
5798
 
  return 0;
5799
 
}
5800
 
_ACEOF
5801
 
rm -f conftest.$ac_objext
5802
 
if { (ac_try="$ac_compile"
5803
 
case "(($ac_try" in
5804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5805
 
  *) ac_try_echo=$ac_try;;
5806
 
esac
5807
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5808
 
$as_echo "$ac_try_echo") >&5
5809
 
  (eval "$ac_compile") 2>conftest.er1
5810
 
  ac_status=$?
5811
 
  grep -v '^ *+' conftest.er1 >conftest.err
5812
 
  rm -f conftest.er1
5813
 
  cat conftest.err >&5
5814
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815
 
  (exit $ac_status); } && {
5816
 
         test -z "$ac_cxx_werror_flag" ||
5817
 
         test ! -s conftest.err
5818
 
       } && test -s conftest.$ac_objext; then
5819
 
  :
5820
 
else
5821
 
  $as_echo "$as_me: failed program was:" >&5
5822
 
sed 's/^/| /' conftest.$ac_ext >&5
5823
 
 
5824
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5825
 
         CXXFLAGS="-g"
5826
 
         cat >conftest.$ac_ext <<_ACEOF
5827
 
/* confdefs.h.  */
5828
 
_ACEOF
5829
 
cat confdefs.h >>conftest.$ac_ext
5830
 
cat >>conftest.$ac_ext <<_ACEOF
5831
 
/* end confdefs.h.  */
5832
 
 
5833
 
int
5834
 
main ()
5835
 
{
5836
 
 
5837
 
  ;
5838
 
  return 0;
5839
 
}
5840
 
_ACEOF
5841
 
rm -f conftest.$ac_objext
5842
 
if { (ac_try="$ac_compile"
5843
 
case "(($ac_try" in
5844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5845
 
  *) ac_try_echo=$ac_try;;
5846
 
esac
5847
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5848
 
$as_echo "$ac_try_echo") >&5
5849
 
  (eval "$ac_compile") 2>conftest.er1
5850
 
  ac_status=$?
5851
 
  grep -v '^ *+' conftest.er1 >conftest.err
5852
 
  rm -f conftest.er1
5853
 
  cat conftest.err >&5
5854
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855
 
  (exit $ac_status); } && {
5856
 
         test -z "$ac_cxx_werror_flag" ||
5857
 
         test ! -s conftest.err
5858
 
       } && test -s conftest.$ac_objext; then
5859
 
  ac_cv_prog_cxx_g=yes
5860
 
else
5861
 
  $as_echo "$as_me: failed program was:" >&5
5862
 
sed 's/^/| /' conftest.$ac_ext >&5
5863
 
 
5864
 
 
5865
 
fi
5866
 
 
5867
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5868
 
fi
5869
 
 
5870
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5871
 
fi
5872
 
 
5873
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5874
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5875
 
fi
5876
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5877
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5878
 
if test "$ac_test_CXXFLAGS" = set; then
5879
 
  CXXFLAGS=$ac_save_CXXFLAGS
5880
 
elif test $ac_cv_prog_cxx_g = yes; then
5881
 
  if test "$GXX" = yes; then
5882
 
    CXXFLAGS="-g -O2"
5883
 
  else
5884
 
    CXXFLAGS="-g"
5885
 
  fi
5886
 
else
5887
 
  if test "$GXX" = yes; then
5888
 
    CXXFLAGS="-O2"
5889
 
  else
5890
 
    CXXFLAGS=
5891
 
  fi
5892
 
fi
5893
 
ac_ext=cpp
5894
 
ac_cpp='$CXXCPP $CPPFLAGS'
5895
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5896
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5898
 
 
5899
 
depcc="$CXX"  am_compiler_list=
5900
 
 
5901
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5902
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5903
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5904
 
  $as_echo_n "(cached) " >&6
5905
 
else
5906
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5907
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5908
 
  # making bogus files that we don't know about and never remove.  For
5909
 
  # instance it was reported that on HP-UX the gcc test will end up
5910
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5911
 
  # in D'.
5912
 
  mkdir conftest.dir
5913
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5914
 
  # using a relative directory.
5915
 
  cp "$am_depcomp" conftest.dir
5916
 
  cd conftest.dir
5917
 
  # We will build objects and dependencies in a subdirectory because
5918
 
  # it helps to detect inapplicable dependency modes.  For instance
5919
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5920
 
  # side effect of compilation, but ICC will put the dependencies in
5921
 
  # the current directory while Tru64 will put them in the object
5922
 
  # directory.
5923
 
  mkdir sub
5924
 
 
5925
 
  am_cv_CXX_dependencies_compiler_type=none
5926
 
  if test "$am_compiler_list" = ""; then
5927
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5928
 
  fi
5929
 
  am__universal=false
5930
 
  case " $depcc " in #(
5931
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5932
 
     esac
5933
 
 
5934
 
  for depmode in $am_compiler_list; do
5935
 
    # Setup a source with many dependencies, because some compilers
5936
 
    # like to wrap large dependency lists on column 80 (with \), and
5937
 
    # we should not choose a depcomp mode which is confused by this.
5938
 
    #
5939
 
    # We need to recreate these files for each test, as the compiler may
5940
 
    # overwrite some of them when testing with obscure command lines.
5941
 
    # This happens at least with the AIX C compiler.
5942
 
    : > sub/conftest.c
5943
 
    for i in 1 2 3 4 5 6; do
5944
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5945
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5946
 
      # Solaris 8's {/usr,}/bin/sh.
5947
 
      touch sub/conftst$i.h
5948
 
    done
5949
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5950
 
 
5951
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5952
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5953
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5954
 
    # versions had trouble with output in subdirs
5955
 
    am__obj=sub/conftest.${OBJEXT-o}
5956
 
    am__minus_obj="-o $am__obj"
5957
 
    case $depmode in
5958
 
    gcc)
5959
 
      # This depmode causes a compiler race in universal mode.
5960
 
      test "$am__universal" = false || continue
5961
 
      ;;
5962
 
    nosideeffect)
5963
 
      # after this tag, mechanisms are not by side-effect, so they'll
5964
 
      # only be used when explicitly requested
5965
 
      if test "x$enable_dependency_tracking" = xyes; then
5966
 
        continue
5967
 
      else
5968
 
        break
5969
 
      fi
5970
 
      ;;
5971
 
    msvisualcpp | msvcmsys)
5972
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5973
 
      # not run yet.  These depmodes are late enough in the game, and
5974
 
      # so weak that their functioning should not be impacted.
5975
 
      am__obj=conftest.${OBJEXT-o}
5976
 
      am__minus_obj=
5977
 
      ;;
5978
 
    none) break ;;
5979
 
    esac
5980
 
    if depmode=$depmode \
5981
 
       source=sub/conftest.c object=$am__obj \
5982
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5983
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5984
 
         >/dev/null 2>conftest.err &&
5985
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5986
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5987
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5988
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5989
 
      # icc doesn't choke on unknown options, it will just issue warnings
5990
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5991
 
      # that says an option was ignored or not supported.
5992
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5993
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5994
 
      # The diagnosis changed in icc 8.0:
5995
 
      #   icc: Command line remark: option '-MP' not supported
5996
 
      if (grep 'ignoring option' conftest.err ||
5997
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5998
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5999
 
        break
6000
 
      fi
6001
 
    fi
6002
 
  done
6003
 
 
6004
 
  cd ..
6005
 
  rm -rf conftest.dir
6006
 
else
6007
 
  am_cv_CXX_dependencies_compiler_type=none
6008
 
fi
6009
 
 
6010
 
fi
6011
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6012
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6013
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6014
 
 
6015
 
 if
6016
 
  test "x$enable_dependency_tracking" != xno \
6017
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6018
 
  am__fastdepCXX_TRUE=
6019
 
  am__fastdepCXX_FALSE='#'
6020
 
else
6021
 
  am__fastdepCXX_TRUE='#'
6022
 
  am__fastdepCXX_FALSE=
6023
 
fi
6024
 
 
6025
 
 
6026
 
 
6027
 
 
6028
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6029
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6030
 
    (test "X$CXX" != "Xg++"))) ; then
6031
 
  ac_ext=cpp
6032
 
ac_cpp='$CXXCPP $CPPFLAGS'
6033
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6034
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6035
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6036
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6037
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6038
 
if test -z "$CXXCPP"; then
6039
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6040
 
  $as_echo_n "(cached) " >&6
6041
 
else
6042
 
      # Double quotes because CXXCPP needs to be expanded
6043
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6044
 
    do
6045
 
      ac_preproc_ok=false
6046
 
for ac_cxx_preproc_warn_flag in '' yes
6047
 
do
6048
 
  # Use a header file that comes with gcc, so configuring glibc
6049
 
  # with a fresh cross-compiler works.
6050
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6051
 
  # <limits.h> exists even on freestanding compilers.
6052
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6053
 
  # not just through cpp. "Syntax error" is here to catch this case.
6054
 
  cat >conftest.$ac_ext <<_ACEOF
6055
 
/* confdefs.h.  */
6056
 
_ACEOF
6057
 
cat confdefs.h >>conftest.$ac_ext
6058
 
cat >>conftest.$ac_ext <<_ACEOF
6059
 
/* end confdefs.h.  */
6060
 
#ifdef __STDC__
6061
 
# include <limits.h>
6062
 
#else
6063
 
# include <assert.h>
6064
 
#endif
6065
 
                     Syntax error
6066
 
_ACEOF
6067
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6068
 
case "(($ac_try" in
6069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6070
 
  *) ac_try_echo=$ac_try;;
6071
 
esac
6072
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6073
 
$as_echo "$ac_try_echo") >&5
6074
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6075
 
  ac_status=$?
6076
 
  grep -v '^ *+' conftest.er1 >conftest.err
6077
 
  rm -f conftest.er1
6078
 
  cat conftest.err >&5
6079
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080
 
  (exit $ac_status); } >/dev/null && {
6081
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6082
 
         test ! -s conftest.err
6083
 
       }; then
6084
 
  :
6085
 
else
6086
 
  $as_echo "$as_me: failed program was:" >&5
6087
 
sed 's/^/| /' conftest.$ac_ext >&5
6088
 
 
6089
 
  # Broken: fails on valid input.
6090
 
continue
6091
 
fi
6092
 
 
6093
 
rm -f conftest.err conftest.$ac_ext
6094
 
 
6095
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6096
 
  # can be detected and how.
6097
 
  cat >conftest.$ac_ext <<_ACEOF
6098
 
/* confdefs.h.  */
6099
 
_ACEOF
6100
 
cat confdefs.h >>conftest.$ac_ext
6101
 
cat >>conftest.$ac_ext <<_ACEOF
6102
 
/* end confdefs.h.  */
6103
 
#include <ac_nonexistent.h>
6104
 
_ACEOF
6105
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6106
 
case "(($ac_try" in
6107
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6108
 
  *) ac_try_echo=$ac_try;;
6109
 
esac
6110
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6111
 
$as_echo "$ac_try_echo") >&5
6112
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6113
 
  ac_status=$?
6114
 
  grep -v '^ *+' conftest.er1 >conftest.err
6115
 
  rm -f conftest.er1
6116
 
  cat conftest.err >&5
6117
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118
 
  (exit $ac_status); } >/dev/null && {
6119
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6120
 
         test ! -s conftest.err
6121
 
       }; then
6122
 
  # Broken: success on invalid input.
6123
 
continue
6124
 
else
6125
 
  $as_echo "$as_me: failed program was:" >&5
6126
 
sed 's/^/| /' conftest.$ac_ext >&5
6127
 
 
6128
 
  # Passes both tests.
6129
 
ac_preproc_ok=:
6130
 
break
6131
 
fi
6132
 
 
6133
 
rm -f conftest.err conftest.$ac_ext
6134
 
 
6135
 
done
6136
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6137
 
rm -f conftest.err conftest.$ac_ext
6138
 
if $ac_preproc_ok; then
6139
 
  break
6140
 
fi
6141
 
 
6142
 
    done
6143
 
    ac_cv_prog_CXXCPP=$CXXCPP
6144
 
 
6145
 
fi
6146
 
  CXXCPP=$ac_cv_prog_CXXCPP
6147
 
else
6148
 
  ac_cv_prog_CXXCPP=$CXXCPP
6149
 
fi
6150
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
6151
 
$as_echo "$CXXCPP" >&6; }
6152
 
ac_preproc_ok=false
6153
 
for ac_cxx_preproc_warn_flag in '' yes
6154
 
do
6155
 
  # Use a header file that comes with gcc, so configuring glibc
6156
 
  # with a fresh cross-compiler works.
6157
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6158
 
  # <limits.h> exists even on freestanding compilers.
6159
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6160
 
  # not just through cpp. "Syntax error" is here to catch this case.
6161
 
  cat >conftest.$ac_ext <<_ACEOF
6162
 
/* confdefs.h.  */
6163
 
_ACEOF
6164
 
cat confdefs.h >>conftest.$ac_ext
6165
 
cat >>conftest.$ac_ext <<_ACEOF
6166
 
/* end confdefs.h.  */
6167
 
#ifdef __STDC__
6168
 
# include <limits.h>
6169
 
#else
6170
 
# include <assert.h>
6171
 
#endif
6172
 
                     Syntax error
6173
 
_ACEOF
6174
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6175
 
case "(($ac_try" in
6176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6177
 
  *) ac_try_echo=$ac_try;;
6178
 
esac
6179
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6180
 
$as_echo "$ac_try_echo") >&5
6181
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6182
 
  ac_status=$?
6183
 
  grep -v '^ *+' conftest.er1 >conftest.err
6184
 
  rm -f conftest.er1
6185
 
  cat conftest.err >&5
6186
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187
 
  (exit $ac_status); } >/dev/null && {
6188
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6189
 
         test ! -s conftest.err
6190
 
       }; then
6191
 
  :
6192
 
else
6193
 
  $as_echo "$as_me: failed program was:" >&5
6194
 
sed 's/^/| /' conftest.$ac_ext >&5
6195
 
 
6196
 
  # Broken: fails on valid input.
6197
 
continue
6198
 
fi
6199
 
 
6200
 
rm -f conftest.err conftest.$ac_ext
6201
 
 
6202
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6203
 
  # can be detected and how.
6204
 
  cat >conftest.$ac_ext <<_ACEOF
6205
 
/* confdefs.h.  */
6206
 
_ACEOF
6207
 
cat confdefs.h >>conftest.$ac_ext
6208
 
cat >>conftest.$ac_ext <<_ACEOF
6209
 
/* end confdefs.h.  */
6210
 
#include <ac_nonexistent.h>
6211
 
_ACEOF
6212
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6213
 
case "(($ac_try" in
6214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215
 
  *) ac_try_echo=$ac_try;;
6216
 
esac
6217
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6218
 
$as_echo "$ac_try_echo") >&5
6219
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6220
 
  ac_status=$?
6221
 
  grep -v '^ *+' conftest.er1 >conftest.err
6222
 
  rm -f conftest.er1
6223
 
  cat conftest.err >&5
6224
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225
 
  (exit $ac_status); } >/dev/null && {
6226
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6227
 
         test ! -s conftest.err
6228
 
       }; then
6229
 
  # Broken: success on invalid input.
6230
 
continue
6231
 
else
6232
 
  $as_echo "$as_me: failed program was:" >&5
6233
 
sed 's/^/| /' conftest.$ac_ext >&5
6234
 
 
6235
 
  # Passes both tests.
6236
 
ac_preproc_ok=:
6237
 
break
6238
 
fi
6239
 
 
6240
 
rm -f conftest.err conftest.$ac_ext
6241
 
 
6242
 
done
6243
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6244
 
rm -f conftest.err conftest.$ac_ext
6245
 
if $ac_preproc_ok; then
6246
 
  :
6247
 
else
6248
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6249
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6250
 
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6251
 
See \`config.log' for more details." >&5
6252
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6253
 
See \`config.log' for more details." >&2;}
6254
 
   { (exit 1); exit 1; }; }; }
6255
 
fi
6256
 
 
6257
 
ac_ext=cpp
6258
 
ac_cpp='$CXXCPP $CPPFLAGS'
6259
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6260
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6261
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6262
 
 
6263
 
fi
6264
 
 
6265
 
 
6266
 
ac_ext=f
6267
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6268
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6269
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6270
 
if test -n "$ac_tool_prefix"; then
6271
 
  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
6272
 
  do
6273
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6274
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6275
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6276
 
$as_echo_n "checking for $ac_word... " >&6; }
6277
 
if test "${ac_cv_prog_F77+set}" = set; then
6278
 
  $as_echo_n "(cached) " >&6
6279
 
else
6280
 
  if test -n "$F77"; then
6281
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6282
 
else
6283
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284
 
for as_dir in $PATH
6285
 
do
6286
 
  IFS=$as_save_IFS
6287
 
  test -z "$as_dir" && as_dir=.
6288
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6289
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6291
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6292
 
    break 2
6293
 
  fi
6294
 
done
6295
 
done
6296
 
IFS=$as_save_IFS
6297
 
 
6298
 
fi
6299
 
fi
6300
 
F77=$ac_cv_prog_F77
6301
 
if test -n "$F77"; then
6302
 
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
6303
 
$as_echo "$F77" >&6; }
6304
 
else
6305
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6306
 
$as_echo "no" >&6; }
6307
 
fi
6308
 
 
6309
 
 
6310
 
    test -n "$F77" && break
6311
 
  done
6312
 
fi
6313
 
if test -z "$F77"; then
6314
 
  ac_ct_F77=$F77
6315
 
  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
6316
 
do
6317
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6318
 
set dummy $ac_prog; ac_word=$2
6319
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6320
 
$as_echo_n "checking for $ac_word... " >&6; }
6321
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6322
 
  $as_echo_n "(cached) " >&6
6323
 
else
6324
 
  if test -n "$ac_ct_F77"; then
6325
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6326
 
else
6327
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328
 
for as_dir in $PATH
6329
 
do
6330
 
  IFS=$as_save_IFS
6331
 
  test -z "$as_dir" && as_dir=.
6332
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6333
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6335
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6336
 
    break 2
6337
 
  fi
6338
 
done
6339
 
done
6340
 
IFS=$as_save_IFS
6341
 
 
6342
 
fi
6343
 
fi
6344
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6345
 
if test -n "$ac_ct_F77"; then
6346
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6347
 
$as_echo "$ac_ct_F77" >&6; }
6348
 
else
6349
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6350
 
$as_echo "no" >&6; }
6351
 
fi
6352
 
 
6353
 
 
6354
 
  test -n "$ac_ct_F77" && break
6355
 
done
6356
 
 
6357
 
  if test "x$ac_ct_F77" = x; then
6358
 
    F77=""
6359
 
  else
6360
 
    case $cross_compiling:$ac_tool_warned in
6361
 
yes:)
6362
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6363
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364
 
ac_tool_warned=yes ;;
6365
 
esac
6366
 
    F77=$ac_ct_F77
6367
 
  fi
6368
 
fi
6369
 
 
6370
 
 
6371
 
# Provide some information about the compiler.
6372
 
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6373
 
set X $ac_compile
6374
 
ac_compiler=$2
6375
 
{ (ac_try="$ac_compiler --version >&5"
6376
 
case "(($ac_try" in
6377
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6378
 
  *) ac_try_echo=$ac_try;;
6379
 
esac
6380
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6381
 
$as_echo "$ac_try_echo") >&5
6382
 
  (eval "$ac_compiler --version >&5") 2>&5
6383
 
  ac_status=$?
6384
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385
 
  (exit $ac_status); }
6386
 
{ (ac_try="$ac_compiler -v >&5"
6387
 
case "(($ac_try" in
6388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6389
 
  *) ac_try_echo=$ac_try;;
6390
 
esac
6391
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6392
 
$as_echo "$ac_try_echo") >&5
6393
 
  (eval "$ac_compiler -v >&5") 2>&5
6394
 
  ac_status=$?
6395
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396
 
  (exit $ac_status); }
6397
 
{ (ac_try="$ac_compiler -V >&5"
6398
 
case "(($ac_try" in
6399
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6400
 
  *) ac_try_echo=$ac_try;;
6401
 
esac
6402
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6403
 
$as_echo "$ac_try_echo") >&5
6404
 
  (eval "$ac_compiler -V >&5") 2>&5
6405
 
  ac_status=$?
6406
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407
 
  (exit $ac_status); }
6408
 
rm -f a.out
6409
 
 
6410
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6411
 
# input file.  (Note that this only needs to work for GNU compilers.)
6412
 
ac_save_ext=$ac_ext
6413
 
ac_ext=F
6414
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6415
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6416
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6417
 
  $as_echo_n "(cached) " >&6
6418
 
else
6419
 
  cat >conftest.$ac_ext <<_ACEOF
6420
 
      program main
6421
 
#ifndef __GNUC__
6422
 
       choke me
6423
 
#endif
6424
 
 
6425
 
      end
6426
 
_ACEOF
6427
 
rm -f conftest.$ac_objext
6428
 
if { (ac_try="$ac_compile"
6429
 
case "(($ac_try" in
6430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6431
 
  *) ac_try_echo=$ac_try;;
6432
 
esac
6433
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6434
 
$as_echo "$ac_try_echo") >&5
6435
 
  (eval "$ac_compile") 2>conftest.er1
6436
 
  ac_status=$?
6437
 
  grep -v '^ *+' conftest.er1 >conftest.err
6438
 
  rm -f conftest.er1
6439
 
  cat conftest.err >&5
6440
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441
 
  (exit $ac_status); } && {
6442
 
         test -z "$ac_f77_werror_flag" ||
6443
 
         test ! -s conftest.err
6444
 
       } && test -s conftest.$ac_objext; then
6445
 
  ac_compiler_gnu=yes
6446
 
else
6447
 
  $as_echo "$as_me: failed program was:" >&5
6448
 
sed 's/^/| /' conftest.$ac_ext >&5
6449
 
 
6450
 
        ac_compiler_gnu=no
6451
 
fi
6452
 
 
6453
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6454
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6455
 
 
6456
 
fi
6457
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6458
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6459
 
ac_ext=$ac_save_ext
6460
 
ac_test_FFLAGS=${FFLAGS+set}
6461
 
ac_save_FFLAGS=$FFLAGS
6462
 
FFLAGS=
6463
 
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6464
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
6465
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6466
 
  $as_echo_n "(cached) " >&6
6467
 
else
6468
 
  FFLAGS=-g
6469
 
cat >conftest.$ac_ext <<_ACEOF
6470
 
      program main
6471
 
 
6472
 
      end
6473
 
_ACEOF
6474
 
rm -f conftest.$ac_objext
6475
 
if { (ac_try="$ac_compile"
6476
 
case "(($ac_try" in
6477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6478
 
  *) ac_try_echo=$ac_try;;
6479
 
esac
6480
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6481
 
$as_echo "$ac_try_echo") >&5
6482
 
  (eval "$ac_compile") 2>conftest.er1
6483
 
  ac_status=$?
6484
 
  grep -v '^ *+' conftest.er1 >conftest.err
6485
 
  rm -f conftest.er1
6486
 
  cat conftest.err >&5
6487
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488
 
  (exit $ac_status); } && {
6489
 
         test -z "$ac_f77_werror_flag" ||
6490
 
         test ! -s conftest.err
6491
 
       } && test -s conftest.$ac_objext; then
6492
 
  ac_cv_prog_f77_g=yes
6493
 
else
6494
 
  $as_echo "$as_me: failed program was:" >&5
6495
 
sed 's/^/| /' conftest.$ac_ext >&5
6496
 
 
6497
 
        ac_cv_prog_f77_g=no
6498
 
fi
6499
 
 
6500
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6501
 
 
6502
 
fi
6503
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6504
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
6505
 
if test "$ac_test_FFLAGS" = set; then
6506
 
  FFLAGS=$ac_save_FFLAGS
6507
 
elif test $ac_cv_prog_f77_g = yes; then
6508
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6509
 
    FFLAGS="-g -O2"
6510
 
  else
6511
 
    FFLAGS="-g"
6512
 
  fi
6513
 
else
6514
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6515
 
    FFLAGS="-O2"
6516
 
  else
6517
 
    FFLAGS=
6518
 
  fi
6519
 
fi
6520
 
 
6521
 
if test $ac_compiler_gnu = yes; then
6522
 
  G77=yes
6523
 
else
6524
 
  G77=
6525
 
fi
6526
 
ac_ext=c
6527
 
ac_cpp='$CPP $CPPFLAGS'
6528
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6529
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6530
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6531
 
 
6532
 
 
6533
 
 
6534
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6535
 
# find the maximum length of command line arguments
6536
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6537
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6538
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6539
 
  $as_echo_n "(cached) " >&6
6540
 
else
6541
 
    i=0
6542
 
  teststring="ABCD"
6543
 
 
6544
 
  case $build_os in
6545
 
  msdosdjgpp*)
6546
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6547
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6548
 
    # during glob expansion).  Even if it were fixed, the result of this
6549
 
    # check would be larger than it should be.
6550
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6551
 
    ;;
6552
 
 
6553
 
  gnu*)
6554
 
    # Under GNU Hurd, this test is not required because there is
6555
 
    # no limit to the length of command line arguments.
6556
 
    # Libtool will interpret -1 as no limit whatsoever
6557
 
    lt_cv_sys_max_cmd_len=-1;
6558
 
    ;;
6559
 
 
6560
 
  cygwin* | mingw*)
6561
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6562
 
    # about 5 minutes as the teststring grows exponentially.
6563
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6564
 
    # you end up with a "frozen" computer, even though with patience
6565
 
    # the test eventually succeeds (with a max line length of 256k).
6566
 
    # Instead, let's just punt: use the minimum linelength reported by
6567
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6568
 
    lt_cv_sys_max_cmd_len=8192;
6569
 
    ;;
6570
 
 
6571
 
  amigaos*)
6572
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6573
 
    # So we just punt and use a minimum line length of 8192.
6574
 
    lt_cv_sys_max_cmd_len=8192;
6575
 
    ;;
6576
 
 
6577
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6578
 
    # This has been around since 386BSD, at least.  Likely further.
6579
 
    if test -x /sbin/sysctl; then
6580
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6581
 
    elif test -x /usr/sbin/sysctl; then
6582
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6583
 
    else
6584
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6585
 
    fi
6586
 
    # And add a safety zone
6587
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6588
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6589
 
    ;;
6590
 
 
6591
 
  interix*)
6592
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6593
 
    lt_cv_sys_max_cmd_len=196608
6594
 
    ;;
6595
 
 
6596
 
  osf*)
6597
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6598
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6599
 
    # nice to cause kernel panics so lets avoid the loop below.
6600
 
    # First set a reasonable default.
6601
 
    lt_cv_sys_max_cmd_len=16384
6602
 
    #
6603
 
    if test -x /sbin/sysconfig; then
6604
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6605
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6606
 
      esac
6607
 
    fi
6608
 
    ;;
6609
 
  sco3.2v5*)
6610
 
    lt_cv_sys_max_cmd_len=102400
6611
 
    ;;
6612
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6613
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6614
 
    if test -n "$kargmax"; then
6615
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6616
 
    else
6617
 
      lt_cv_sys_max_cmd_len=32768
6618
 
    fi
6619
 
    ;;
6620
 
  *)
6621
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6622
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6623
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6624
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6625
 
    else
6626
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6627
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6628
 
               = "XX$teststring") >/dev/null 2>&1 &&
6629
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6630
 
              lt_cv_sys_max_cmd_len=$new_result &&
6631
 
              test $i != 17 # 1/2 MB should be enough
6632
 
      do
6633
 
        i=`expr $i + 1`
6634
 
        teststring=$teststring$teststring
6635
 
      done
6636
 
      teststring=
6637
 
      # Add a significant safety factor because C++ compilers can tack on massive
6638
 
      # amounts of additional arguments before passing them to the linker.
6639
 
      # It appears as though 1/2 is a usable value.
6640
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6641
 
    fi
6642
 
    ;;
6643
 
  esac
6644
 
 
6645
 
fi
6646
 
 
6647
 
if test -n $lt_cv_sys_max_cmd_len ; then
6648
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6649
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6650
 
else
6651
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
6652
 
$as_echo "none" >&6; }
6653
 
fi
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
5837
# Check for command to grab the raw symbol name followed by C symbol from nm.
6660
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6661
5839
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6662
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
5840
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6663
5841
  $as_echo_n "(cached) " >&6
6664
5842
else
6665
5843
 
6672
5850
# Regexp to match symbols that can be accessed directly from C.
6673
5851
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6674
5852
 
6675
 
# Transform an extracted symbol line into a proper C declaration
6676
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6677
 
 
6678
 
# Transform an extracted symbol line into symbol name and symbol address
6679
 
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'"
6680
 
 
6681
5853
# Define system-specific variables.
6682
5854
case $host_os in
6683
5855
aix*)
6684
5856
  symcode='[BCDT]'
6685
5857
  ;;
6686
 
cygwin* | mingw* | pw32*)
 
5858
cygwin* | mingw* | pw32* | cegcc*)
6687
5859
  symcode='[ABCDGISTW]'
6688
5860
  ;;
6689
 
hpux*) # Its linker distinguishes data from code symbols
 
5861
hpux*)
6690
5862
  if test "$host_cpu" = ia64; then
6691
5863
    symcode='[ABCDEGRST]'
6692
5864
  fi
6693
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6694
 
  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'"
6695
 
  ;;
6696
 
linux* | k*bsd*-gnu)
6697
 
  if test "$host_cpu" = ia64; then
6698
 
    symcode='[ABCDGIRSTW]'
6699
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6700
 
    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'"
6701
 
  fi
6702
5865
  ;;
6703
5866
irix* | nonstopux*)
6704
5867
  symcode='[BCDEGRST]'
6723
5886
  ;;
6724
5887
esac
6725
5888
 
 
5889
# If we're using GNU nm, then use its standard symbol codes.
 
5890
case `$NM -V 2>&1` in
 
5891
*GNU* | *'with BFD'*)
 
5892
  symcode='[ABCDGIRSTW]' ;;
 
5893
esac
 
5894
 
 
5895
# Transform an extracted symbol line into a proper C declaration.
 
5896
# Some systems (esp. on ia64) link data and code symbols differently,
 
5897
# so use this general approach.
 
5898
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5899
 
 
5900
# Transform an extracted symbol line into symbol name and symbol address
 
5901
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5902
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
5903
 
6726
5904
# Handle CRLF in mingw tool chain
6727
5905
opt_cr=
6728
5906
case $build_os in
6729
5907
mingw*)
6730
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5908
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6731
5909
  ;;
6732
5910
esac
6733
5911
 
6734
 
# If we're using GNU nm, then use its standard symbol codes.
6735
 
case `$NM -V 2>&1` in
6736
 
*GNU* | *'with BFD'*)
6737
 
  symcode='[ABCDGIRSTW]' ;;
6738
 
esac
6739
 
 
6740
 
# Try without a prefix undercore, then with it.
 
5912
# Try without a prefix underscore, then with it.
6741
5913
for ac_symprfx in "" "_"; do
6742
5914
 
6743
5915
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6744
5916
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6745
5917
 
6746
5918
  # Write the raw and C identifiers.
6747
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5919
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5920
    # Fake it for dumpbin and say T for any non-static function
 
5921
    # and D for any global variable.
 
5922
    # Also find C++ and __fastcall symbols from MSVC++,
 
5923
    # which start with @ or ?.
 
5924
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5925
"     {last_section=section; section=\$ 3};"\
 
5926
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5927
"     \$ 0!~/External *\|/{next};"\
 
5928
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5929
"     {if(hide[section]) next};"\
 
5930
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5931
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5932
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5933
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5934
"     ' prfx=^$ac_symprfx"
 
5935
  else
 
5936
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5937
  fi
6748
5938
 
6749
5939
  # Check to see that the pipe works correctly.
6750
5940
  pipe_works=no
6751
5941
 
6752
5942
  rm -f conftest*
6753
 
  cat > conftest.$ac_ext <<EOF
 
5943
  cat > conftest.$ac_ext <<_LT_EOF
6754
5944
#ifdef __cplusplus
6755
5945
extern "C" {
6756
5946
#endif
6757
5947
char nm_test_var;
6758
 
void nm_test_func(){}
 
5948
void nm_test_func(void);
 
5949
void nm_test_func(void){}
6759
5950
#ifdef __cplusplus
6760
5951
}
6761
5952
#endif
6762
5953
int main(){nm_test_var='a';nm_test_func();return(0);}
6763
 
EOF
 
5954
_LT_EOF
6764
5955
 
6765
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5956
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6766
5957
  (eval $ac_compile) 2>&5
6767
5958
  ac_status=$?
6768
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769
 
  (exit $ac_status); }; then
 
5959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5960
  test $ac_status = 0; }; then
6770
5961
    # Now try to grab the symbols.
6771
5962
    nlist=conftest.nm
6772
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6773
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5963
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5964
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6774
5965
  ac_status=$?
6775
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776
 
  (exit $ac_status); } && test -s "$nlist"; then
 
5966
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5967
  test $ac_status = 0; } && test -s "$nlist"; then
6777
5968
      # Try sorting and uniquifying the output.
6778
5969
      if sort "$nlist" | uniq > "$nlist"T; then
6779
5970
        mv -f "$nlist"T "$nlist"
6782
5973
      fi
6783
5974
 
6784
5975
      # Make sure that we snagged all the symbols we need.
6785
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6786
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6787
 
          cat <<EOF > conftest.$ac_ext
 
5976
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5977
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5978
          cat <<_LT_EOF > conftest.$ac_ext
6788
5979
#ifdef __cplusplus
6789
5980
extern "C" {
6790
5981
#endif
6791
5982
 
6792
 
EOF
 
5983
_LT_EOF
6793
5984
          # Now generate the symbol file.
6794
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6795
 
 
6796
 
          cat <<EOF >> conftest.$ac_ext
6797
 
#if defined (__STDC__) && __STDC__
6798
 
# define lt_ptr_t void *
6799
 
#else
6800
 
# define lt_ptr_t char *
6801
 
# define const
6802
 
#endif
6803
 
 
6804
 
/* The mapping between symbol names and symbols. */
 
5985
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5986
 
 
5987
          cat <<_LT_EOF >> conftest.$ac_ext
 
5988
 
 
5989
/* The mapping between symbol names and symbols.  */
6805
5990
const struct {
6806
5991
  const char *name;
6807
 
  lt_ptr_t address;
 
5992
  void       *address;
6808
5993
}
6809
 
lt_preloaded_symbols[] =
 
5994
lt__PROGRAM__LTX_preloaded_symbols[] =
6810
5995
{
6811
 
EOF
6812
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6813
 
          cat <<\EOF >> conftest.$ac_ext
6814
 
  {0, (lt_ptr_t) 0}
 
5996
  { "@PROGRAM@", (void *) 0 },
 
5997
_LT_EOF
 
5998
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5999
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6000
  {0, (void *) 0}
6815
6001
};
6816
6002
 
 
6003
/* This works around a problem in FreeBSD linker */
 
6004
#ifdef FREEBSD_WORKAROUND
 
6005
static const void *lt_preloaded_setup() {
 
6006
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6007
}
 
6008
#endif
 
6009
 
6817
6010
#ifdef __cplusplus
6818
6011
}
6819
6012
#endif
6820
 
EOF
 
6013
_LT_EOF
6821
6014
          # Now try linking the two files.
6822
6015
          mv conftest.$ac_objext conftstm.$ac_objext
6823
6016
          lt_save_LIBS="$LIBS"
6824
6017
          lt_save_CFLAGS="$CFLAGS"
6825
6018
          LIBS="conftstm.$ac_objext"
6826
6019
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6827
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6020
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6828
6021
  (eval $ac_link) 2>&5
6829
6022
  ac_status=$?
6830
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6023
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6024
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6832
6025
            pipe_works=yes
6833
6026
          fi
6834
6027
          LIBS="$lt_save_LIBS"
6862
6055
  lt_cv_sys_global_symbol_to_cdecl=
6863
6056
fi
6864
6057
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6865
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6866
6059
$as_echo "failed" >&6; }
6867
6060
else
6868
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6869
6062
$as_echo "ok" >&6; }
6870
6063
fi
6871
6064
 
6872
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
6873
 
$as_echo_n "checking for objdir... " >&6; }
6874
 
if test "${lt_cv_objdir+set}" = set; then
6875
 
  $as_echo_n "(cached) " >&6
6876
 
else
6877
 
  rm -f .libs 2>/dev/null
6878
 
mkdir .libs 2>/dev/null
6879
 
if test -d .libs; then
6880
 
  lt_cv_objdir=.libs
6881
 
else
6882
 
  # MS-DOS does not allow filenames that begin with a dot.
6883
 
  lt_cv_objdir=_libs
6884
 
fi
6885
 
rmdir .libs 2>/dev/null
6886
 
fi
6887
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6888
 
$as_echo "$lt_cv_objdir" >&6; }
6889
 
objdir=$lt_cv_objdir
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
 
case $host_os in
6896
 
aix3*)
6897
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6898
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6899
 
  # vanish in a puff of smoke.
6900
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6901
 
    COLLECT_NAMES=
6902
 
    export COLLECT_NAMES
6903
 
  fi
6904
 
  ;;
6905
 
esac
6906
 
 
6907
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6908
 
# metacharacters that are still active within double-quoted strings.
6909
 
Xsed='sed -e 1s/^X//'
6910
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6911
 
 
6912
 
# Same as above, but do not quote variable references.
6913
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6914
 
 
6915
 
# Sed substitution to delay expansion of an escaped shell variable in a
6916
 
# double_quote_subst'ed string.
6917
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6918
 
 
6919
 
# Sed substitution to avoid accidental globbing in evaled expressions
6920
 
no_glob_subst='s/\*/\\\*/g'
6921
 
 
6922
 
# Constants:
6923
 
rm="rm -f"
6924
 
 
6925
 
# Global variables:
6926
 
default_ofile=libtool
6927
 
can_build_shared=yes
6928
 
 
6929
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6930
 
# which needs '.lib').
6931
 
libext=a
6932
 
ltmain="$ac_aux_dir/ltmain.sh"
6933
 
ofile="$default_ofile"
6934
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6935
 
 
6936
 
if test -n "$ac_tool_prefix"; then
6937
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6938
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6939
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6940
 
$as_echo_n "checking for $ac_word... " >&6; }
6941
 
if test "${ac_cv_prog_AR+set}" = set; then
6942
 
  $as_echo_n "(cached) " >&6
6943
 
else
6944
 
  if test -n "$AR"; then
6945
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6946
 
else
6947
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948
 
for as_dir in $PATH
6949
 
do
6950
 
  IFS=$as_save_IFS
6951
 
  test -z "$as_dir" && as_dir=.
6952
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6953
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6955
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6956
 
    break 2
6957
 
  fi
6958
 
done
6959
 
done
6960
 
IFS=$as_save_IFS
6961
 
 
6962
 
fi
6963
 
fi
6964
 
AR=$ac_cv_prog_AR
6965
 
if test -n "$AR"; then
6966
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
6967
 
$as_echo "$AR" >&6; }
6968
 
else
6969
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6970
 
$as_echo "no" >&6; }
6971
 
fi
6972
 
 
6973
 
 
6974
 
fi
6975
 
if test -z "$ac_cv_prog_AR"; then
6976
 
  ac_ct_AR=$AR
6977
 
  # Extract the first word of "ar", so it can be a program name with args.
6978
 
set dummy ar; ac_word=$2
6979
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6980
 
$as_echo_n "checking for $ac_word... " >&6; }
6981
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6982
 
  $as_echo_n "(cached) " >&6
6983
 
else
6984
 
  if test -n "$ac_ct_AR"; then
6985
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6986
 
else
6987
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988
 
for as_dir in $PATH
6989
 
do
6990
 
  IFS=$as_save_IFS
6991
 
  test -z "$as_dir" && as_dir=.
6992
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6993
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6994
 
    ac_cv_prog_ac_ct_AR="ar"
6995
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6996
 
    break 2
6997
 
  fi
6998
 
done
6999
 
done
7000
 
IFS=$as_save_IFS
7001
 
 
7002
 
fi
7003
 
fi
7004
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7005
 
if test -n "$ac_ct_AR"; then
7006
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7007
 
$as_echo "$ac_ct_AR" >&6; }
7008
 
else
7009
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7010
 
$as_echo "no" >&6; }
7011
 
fi
7012
 
 
7013
 
  if test "x$ac_ct_AR" = x; then
7014
 
    AR="false"
7015
 
  else
7016
 
    case $cross_compiling:$ac_tool_warned in
7017
 
yes:)
7018
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7019
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020
 
ac_tool_warned=yes ;;
7021
 
esac
7022
 
    AR=$ac_ct_AR
7023
 
  fi
7024
 
else
7025
 
  AR="$ac_cv_prog_AR"
7026
 
fi
7027
 
 
7028
 
if test -n "$ac_tool_prefix"; then
7029
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7030
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7031
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7032
 
$as_echo_n "checking for $ac_word... " >&6; }
7033
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7034
 
  $as_echo_n "(cached) " >&6
7035
 
else
7036
 
  if test -n "$RANLIB"; then
7037
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7038
 
else
7039
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040
 
for as_dir in $PATH
7041
 
do
7042
 
  IFS=$as_save_IFS
7043
 
  test -z "$as_dir" && as_dir=.
7044
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7045
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7047
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7048
 
    break 2
7049
 
  fi
7050
 
done
7051
 
done
7052
 
IFS=$as_save_IFS
7053
 
 
7054
 
fi
7055
 
fi
7056
 
RANLIB=$ac_cv_prog_RANLIB
7057
 
if test -n "$RANLIB"; then
7058
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7059
 
$as_echo "$RANLIB" >&6; }
7060
 
else
7061
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7062
 
$as_echo "no" >&6; }
7063
 
fi
7064
 
 
7065
 
 
7066
 
fi
7067
 
if test -z "$ac_cv_prog_RANLIB"; then
7068
 
  ac_ct_RANLIB=$RANLIB
7069
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7070
 
set dummy ranlib; ac_word=$2
7071
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7072
 
$as_echo_n "checking for $ac_word... " >&6; }
7073
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7074
 
  $as_echo_n "(cached) " >&6
7075
 
else
7076
 
  if test -n "$ac_ct_RANLIB"; then
7077
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7078
 
else
7079
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080
 
for as_dir in $PATH
7081
 
do
7082
 
  IFS=$as_save_IFS
7083
 
  test -z "$as_dir" && as_dir=.
7084
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7085
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7087
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7088
 
    break 2
7089
 
  fi
7090
 
done
7091
 
done
7092
 
IFS=$as_save_IFS
7093
 
 
7094
 
fi
7095
 
fi
7096
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7097
 
if test -n "$ac_ct_RANLIB"; then
7098
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7099
 
$as_echo "$ac_ct_RANLIB" >&6; }
7100
 
else
7101
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7102
 
$as_echo "no" >&6; }
7103
 
fi
7104
 
 
7105
 
  if test "x$ac_ct_RANLIB" = x; then
7106
 
    RANLIB=":"
7107
 
  else
7108
 
    case $cross_compiling:$ac_tool_warned in
7109
 
yes:)
7110
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7111
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112
 
ac_tool_warned=yes ;;
7113
 
esac
7114
 
    RANLIB=$ac_ct_RANLIB
7115
 
  fi
7116
 
else
7117
 
  RANLIB="$ac_cv_prog_RANLIB"
7118
 
fi
7119
 
 
7120
 
if test -n "$ac_tool_prefix"; then
7121
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7122
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7123
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7124
 
$as_echo_n "checking for $ac_word... " >&6; }
7125
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7126
 
  $as_echo_n "(cached) " >&6
7127
 
else
7128
 
  if test -n "$STRIP"; then
7129
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7130
 
else
7131
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132
 
for as_dir in $PATH
7133
 
do
7134
 
  IFS=$as_save_IFS
7135
 
  test -z "$as_dir" && as_dir=.
7136
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7137
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7138
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7139
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7140
 
    break 2
7141
 
  fi
7142
 
done
7143
 
done
7144
 
IFS=$as_save_IFS
7145
 
 
7146
 
fi
7147
 
fi
7148
 
STRIP=$ac_cv_prog_STRIP
7149
 
if test -n "$STRIP"; then
7150
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7151
 
$as_echo "$STRIP" >&6; }
7152
 
else
7153
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7154
 
$as_echo "no" >&6; }
7155
 
fi
7156
 
 
7157
 
 
7158
 
fi
7159
 
if test -z "$ac_cv_prog_STRIP"; then
7160
 
  ac_ct_STRIP=$STRIP
7161
 
  # Extract the first word of "strip", so it can be a program name with args.
7162
 
set dummy strip; ac_word=$2
7163
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7164
 
$as_echo_n "checking for $ac_word... " >&6; }
7165
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7166
 
  $as_echo_n "(cached) " >&6
7167
 
else
7168
 
  if test -n "$ac_ct_STRIP"; then
7169
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7170
 
else
7171
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172
 
for as_dir in $PATH
7173
 
do
7174
 
  IFS=$as_save_IFS
7175
 
  test -z "$as_dir" && as_dir=.
7176
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7177
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7178
 
    ac_cv_prog_ac_ct_STRIP="strip"
7179
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7180
 
    break 2
7181
 
  fi
7182
 
done
7183
 
done
7184
 
IFS=$as_save_IFS
7185
 
 
7186
 
fi
7187
 
fi
7188
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7189
 
if test -n "$ac_ct_STRIP"; then
7190
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7191
 
$as_echo "$ac_ct_STRIP" >&6; }
7192
 
else
7193
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7194
 
$as_echo "no" >&6; }
7195
 
fi
7196
 
 
7197
 
  if test "x$ac_ct_STRIP" = x; then
7198
 
    STRIP=":"
7199
 
  else
7200
 
    case $cross_compiling:$ac_tool_warned in
7201
 
yes:)
7202
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7203
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204
 
ac_tool_warned=yes ;;
7205
 
esac
7206
 
    STRIP=$ac_ct_STRIP
7207
 
  fi
7208
 
else
7209
 
  STRIP="$ac_cv_prog_STRIP"
7210
 
fi
7211
 
 
7212
 
 
7213
 
old_CC="$CC"
7214
 
old_CFLAGS="$CFLAGS"
7215
 
 
7216
 
# Set sane defaults for various variables
7217
 
test -z "$AR" && AR=ar
7218
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7219
 
test -z "$AS" && AS=as
7220
 
test -z "$CC" && CC=cc
7221
 
test -z "$LTCC" && LTCC=$CC
7222
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7223
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7224
 
test -z "$LD" && LD=ld
7225
 
test -z "$LN_S" && LN_S="ln -s"
7226
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7227
 
test -z "$NM" && NM=nm
7228
 
test -z "$SED" && SED=sed
7229
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7230
 
test -z "$RANLIB" && RANLIB=:
7231
 
test -z "$STRIP" && STRIP=:
7232
 
test -z "$ac_objext" && ac_objext=o
7233
 
 
7234
 
# Determine commands to create old-style static archives.
7235
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7236
 
old_postinstall_cmds='chmod 644 $oldlib'
7237
 
old_postuninstall_cmds=
7238
 
 
7239
 
if test -n "$RANLIB"; then
7240
 
  case $host_os in
7241
 
  openbsd*)
7242
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7243
 
    ;;
7244
 
  *)
7245
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7246
 
    ;;
7247
 
  esac
7248
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7249
 
fi
7250
 
 
7251
 
for cc_temp in $compiler""; do
7252
 
  case $cc_temp in
7253
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7254
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7255
 
    \-*) ;;
7256
 
    *) break;;
7257
 
  esac
7258
 
done
7259
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7260
 
 
7261
 
 
7262
 
# Only perform the check for file, if the check method requires it
7263
 
case $deplibs_check_method in
7264
 
file_magic*)
7265
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7266
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7267
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7268
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7269
 
  $as_echo_n "(cached) " >&6
7270
 
else
7271
 
  case $MAGIC_CMD in
7272
 
[\\/*] |  ?:[\\/]*)
7273
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7274
 
  ;;
7275
 
*)
7276
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7277
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7278
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7279
 
  for ac_dir in $ac_dummy; do
7280
 
    IFS="$lt_save_ifs"
7281
 
    test -z "$ac_dir" && ac_dir=.
7282
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7283
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7284
 
      if test -n "$file_magic_test_file"; then
7285
 
        case $deplibs_check_method in
7286
 
        "file_magic "*)
7287
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7288
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7289
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7290
 
            $EGREP "$file_magic_regex" > /dev/null; then
7291
 
            :
7292
 
          else
7293
 
            cat <<EOF 1>&2
7294
 
 
7295
 
*** Warning: the command libtool uses to detect shared libraries,
7296
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7297
 
*** The result is that libtool may fail to recognize shared libraries
7298
 
*** as such.  This will affect the creation of libtool libraries that
7299
 
*** depend on shared libraries, but programs linked with such libtool
7300
 
*** libraries will work regardless of this problem.  Nevertheless, you
7301
 
*** may want to report the problem to your system manager and/or to
7302
 
*** bug-libtool@gnu.org
7303
 
 
7304
 
EOF
7305
 
          fi ;;
7306
 
        esac
7307
 
      fi
7308
 
      break
7309
 
    fi
7310
 
  done
7311
 
  IFS="$lt_save_ifs"
7312
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7313
 
  ;;
7314
 
esac
7315
 
fi
7316
 
 
7317
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7318
 
if test -n "$MAGIC_CMD"; then
7319
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7320
 
$as_echo "$MAGIC_CMD" >&6; }
7321
 
else
7322
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7323
 
$as_echo "no" >&6; }
7324
 
fi
7325
 
 
7326
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7327
 
  if test -n "$ac_tool_prefix"; then
7328
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
7329
 
$as_echo_n "checking for file... " >&6; }
7330
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7331
 
  $as_echo_n "(cached) " >&6
7332
 
else
7333
 
  case $MAGIC_CMD in
7334
 
[\\/*] |  ?:[\\/]*)
7335
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7336
 
  ;;
7337
 
*)
7338
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7339
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7340
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7341
 
  for ac_dir in $ac_dummy; do
7342
 
    IFS="$lt_save_ifs"
7343
 
    test -z "$ac_dir" && ac_dir=.
7344
 
    if test -f $ac_dir/file; then
7345
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7346
 
      if test -n "$file_magic_test_file"; then
7347
 
        case $deplibs_check_method in
7348
 
        "file_magic "*)
7349
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7350
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7351
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7352
 
            $EGREP "$file_magic_regex" > /dev/null; then
7353
 
            :
7354
 
          else
7355
 
            cat <<EOF 1>&2
7356
 
 
7357
 
*** Warning: the command libtool uses to detect shared libraries,
7358
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7359
 
*** The result is that libtool may fail to recognize shared libraries
7360
 
*** as such.  This will affect the creation of libtool libraries that
7361
 
*** depend on shared libraries, but programs linked with such libtool
7362
 
*** libraries will work regardless of this problem.  Nevertheless, you
7363
 
*** may want to report the problem to your system manager and/or to
7364
 
*** bug-libtool@gnu.org
7365
 
 
7366
 
EOF
7367
 
          fi ;;
7368
 
        esac
7369
 
      fi
7370
 
      break
7371
 
    fi
7372
 
  done
7373
 
  IFS="$lt_save_ifs"
7374
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7375
 
  ;;
7376
 
esac
7377
 
fi
7378
 
 
7379
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7380
 
if test -n "$MAGIC_CMD"; then
7381
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7382
 
$as_echo "$MAGIC_CMD" >&6; }
7383
 
else
7384
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7385
 
$as_echo "no" >&6; }
7386
 
fi
7387
 
 
7388
 
  else
7389
 
    MAGIC_CMD=:
7390
 
  fi
7391
 
fi
7392
 
 
7393
 
  fi
7394
 
  ;;
7395
 
esac
 
6065
 
 
6066
 
 
6067
 
 
6068
 
 
6069
 
 
6070
 
 
6071
 
 
6072
 
 
6073
 
 
6074
 
 
6075
 
 
6076
 
 
6077
 
 
6078
 
 
6079
 
 
6080
 
 
6081
 
 
6082
 
 
6083
 
 
6084
 
 
6085
 
 
6086
 
 
6087
# Check whether --enable-libtool-lock was given.
 
6088
if test "${enable_libtool_lock+set}" = set; then :
 
6089
  enableval=$enable_libtool_lock;
 
6090
fi
 
6091
 
 
6092
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6093
 
 
6094
# Some flags need to be propagated to the compiler or linker for good
 
6095
# libtool support.
 
6096
case $host in
 
6097
ia64-*-hpux*)
 
6098
  # Find out which ABI we are using.
 
6099
  echo 'int i;' > conftest.$ac_ext
 
6100
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6101
  (eval $ac_compile) 2>&5
 
6102
  ac_status=$?
 
6103
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6104
  test $ac_status = 0; }; then
 
6105
    case `/usr/bin/file conftest.$ac_objext` in
 
6106
      *ELF-32*)
 
6107
        HPUX_IA64_MODE="32"
 
6108
        ;;
 
6109
      *ELF-64*)
 
6110
        HPUX_IA64_MODE="64"
 
6111
        ;;
 
6112
    esac
 
6113
  fi
 
6114
  rm -rf conftest*
 
6115
  ;;
 
6116
*-*-irix6*)
 
6117
  # Find out which ABI we are using.
 
6118
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6119
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6120
  (eval $ac_compile) 2>&5
 
6121
  ac_status=$?
 
6122
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6123
  test $ac_status = 0; }; then
 
6124
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6125
      case `/usr/bin/file conftest.$ac_objext` in
 
6126
        *32-bit*)
 
6127
          LD="${LD-ld} -melf32bsmip"
 
6128
          ;;
 
6129
        *N32*)
 
6130
          LD="${LD-ld} -melf32bmipn32"
 
6131
          ;;
 
6132
        *64-bit*)
 
6133
          LD="${LD-ld} -melf64bmip"
 
6134
        ;;
 
6135
      esac
 
6136
    else
 
6137
      case `/usr/bin/file conftest.$ac_objext` in
 
6138
        *32-bit*)
 
6139
          LD="${LD-ld} -32"
 
6140
          ;;
 
6141
        *N32*)
 
6142
          LD="${LD-ld} -n32"
 
6143
          ;;
 
6144
        *64-bit*)
 
6145
          LD="${LD-ld} -64"
 
6146
          ;;
 
6147
      esac
 
6148
    fi
 
6149
  fi
 
6150
  rm -rf conftest*
 
6151
  ;;
 
6152
 
 
6153
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6154
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6155
  # Find out which ABI we are using.
 
6156
  echo 'int i;' > conftest.$ac_ext
 
6157
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6158
  (eval $ac_compile) 2>&5
 
6159
  ac_status=$?
 
6160
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6161
  test $ac_status = 0; }; then
 
6162
    case `/usr/bin/file conftest.o` in
 
6163
      *32-bit*)
 
6164
        case $host in
 
6165
          x86_64-*kfreebsd*-gnu)
 
6166
            LD="${LD-ld} -m elf_i386_fbsd"
 
6167
            ;;
 
6168
          x86_64-*linux*)
 
6169
            LD="${LD-ld} -m elf_i386"
 
6170
            ;;
 
6171
          ppc64-*linux*|powerpc64-*linux*)
 
6172
            LD="${LD-ld} -m elf32ppclinux"
 
6173
            ;;
 
6174
          s390x-*linux*)
 
6175
            LD="${LD-ld} -m elf_s390"
 
6176
            ;;
 
6177
          sparc64-*linux*)
 
6178
            LD="${LD-ld} -m elf32_sparc"
 
6179
            ;;
 
6180
        esac
 
6181
        ;;
 
6182
      *64-bit*)
 
6183
        case $host in
 
6184
          x86_64-*kfreebsd*-gnu)
 
6185
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6186
            ;;
 
6187
          x86_64-*linux*)
 
6188
            LD="${LD-ld} -m elf_x86_64"
 
6189
            ;;
 
6190
          ppc*-*linux*|powerpc*-*linux*)
 
6191
            LD="${LD-ld} -m elf64ppc"
 
6192
            ;;
 
6193
          s390*-*linux*|s390*-*tpf*)
 
6194
            LD="${LD-ld} -m elf64_s390"
 
6195
            ;;
 
6196
          sparc*-*linux*)
 
6197
            LD="${LD-ld} -m elf64_sparc"
 
6198
            ;;
 
6199
        esac
 
6200
        ;;
 
6201
    esac
 
6202
  fi
 
6203
  rm -rf conftest*
 
6204
  ;;
 
6205
 
 
6206
*-*-sco3.2v5*)
 
6207
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6208
  SAVE_CFLAGS="$CFLAGS"
 
6209
  CFLAGS="$CFLAGS -belf"
 
6210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6211
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6212
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6213
  $as_echo_n "(cached) " >&6
 
6214
else
 
6215
  ac_ext=c
 
6216
ac_cpp='$CPP $CPPFLAGS'
 
6217
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6218
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6219
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6220
 
 
6221
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6222
/* end confdefs.h.  */
 
6223
 
 
6224
int
 
6225
main ()
 
6226
{
 
6227
 
 
6228
  ;
 
6229
  return 0;
 
6230
}
 
6231
_ACEOF
 
6232
if ac_fn_c_try_link "$LINENO"; then :
 
6233
  lt_cv_cc_needs_belf=yes
 
6234
else
 
6235
  lt_cv_cc_needs_belf=no
 
6236
fi
 
6237
rm -f core conftest.err conftest.$ac_objext \
 
6238
    conftest$ac_exeext conftest.$ac_ext
 
6239
     ac_ext=c
 
6240
ac_cpp='$CPP $CPPFLAGS'
 
6241
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6242
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6243
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6244
 
 
6245
fi
 
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6247
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6248
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6249
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6250
    CFLAGS="$SAVE_CFLAGS"
 
6251
  fi
 
6252
  ;;
 
6253
sparc*-*solaris*)
 
6254
  # Find out which ABI we are using.
 
6255
  echo 'int i;' > conftest.$ac_ext
 
6256
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6257
  (eval $ac_compile) 2>&5
 
6258
  ac_status=$?
 
6259
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6260
  test $ac_status = 0; }; then
 
6261
    case `/usr/bin/file conftest.o` in
 
6262
    *64-bit*)
 
6263
      case $lt_cv_prog_gnu_ld in
 
6264
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6265
      *)
 
6266
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6267
          LD="${LD-ld} -64"
 
6268
        fi
 
6269
        ;;
 
6270
      esac
 
6271
      ;;
 
6272
    esac
 
6273
  fi
 
6274
  rm -rf conftest*
 
6275
  ;;
 
6276
esac
 
6277
 
 
6278
need_locks="$enable_libtool_lock"
7396
6279
 
7397
6280
 
7398
6281
  case $host_os in
7400
6283
    if test -n "$ac_tool_prefix"; then
7401
6284
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7402
6285
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7403
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404
6287
$as_echo_n "checking for $ac_word... " >&6; }
7405
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6288
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7406
6289
  $as_echo_n "(cached) " >&6
7407
6290
else
7408
6291
  if test -n "$DSYMUTIL"; then
7413
6296
do
7414
6297
  IFS=$as_save_IFS
7415
6298
  test -z "$as_dir" && as_dir=.
7416
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6299
    for ac_exec_ext in '' $ac_executable_extensions; do
7417
6300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418
6301
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7419
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6302
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420
6303
    break 2
7421
6304
  fi
7422
6305
done
7423
 
done
 
6306
  done
7424
6307
IFS=$as_save_IFS
7425
6308
 
7426
6309
fi
7427
6310
fi
7428
6311
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7429
6312
if test -n "$DSYMUTIL"; then
7430
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7431
6314
$as_echo "$DSYMUTIL" >&6; }
7432
6315
else
7433
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434
6317
$as_echo "no" >&6; }
7435
6318
fi
7436
6319
 
7440
6323
  ac_ct_DSYMUTIL=$DSYMUTIL
7441
6324
  # Extract the first word of "dsymutil", so it can be a program name with args.
7442
6325
set dummy dsymutil; ac_word=$2
7443
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444
6327
$as_echo_n "checking for $ac_word... " >&6; }
7445
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6328
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7446
6329
  $as_echo_n "(cached) " >&6
7447
6330
else
7448
6331
  if test -n "$ac_ct_DSYMUTIL"; then
7453
6336
do
7454
6337
  IFS=$as_save_IFS
7455
6338
  test -z "$as_dir" && as_dir=.
7456
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6339
    for ac_exec_ext in '' $ac_executable_extensions; do
7457
6340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458
6341
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7459
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460
6343
    break 2
7461
6344
  fi
7462
6345
done
7463
 
done
 
6346
  done
7464
6347
IFS=$as_save_IFS
7465
6348
 
7466
6349
fi
7467
6350
fi
7468
6351
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7469
6352
if test -n "$ac_ct_DSYMUTIL"; then
7470
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7471
6354
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7472
6355
else
7473
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474
6357
$as_echo "no" >&6; }
7475
6358
fi
7476
6359
 
7479
6362
  else
7480
6363
    case $cross_compiling:$ac_tool_warned in
7481
6364
yes:)
7482
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483
6366
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484
6367
ac_tool_warned=yes ;;
7485
6368
esac
7492
6375
    if test -n "$ac_tool_prefix"; then
7493
6376
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7494
6377
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7495
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496
6379
$as_echo_n "checking for $ac_word... " >&6; }
7497
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6380
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7498
6381
  $as_echo_n "(cached) " >&6
7499
6382
else
7500
6383
  if test -n "$NMEDIT"; then
7505
6388
do
7506
6389
  IFS=$as_save_IFS
7507
6390
  test -z "$as_dir" && as_dir=.
7508
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6391
    for ac_exec_ext in '' $ac_executable_extensions; do
7509
6392
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7510
6393
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7511
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6394
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512
6395
    break 2
7513
6396
  fi
7514
6397
done
7515
 
done
 
6398
  done
7516
6399
IFS=$as_save_IFS
7517
6400
 
7518
6401
fi
7519
6402
fi
7520
6403
NMEDIT=$ac_cv_prog_NMEDIT
7521
6404
if test -n "$NMEDIT"; then
7522
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7523
6406
$as_echo "$NMEDIT" >&6; }
7524
6407
else
7525
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526
6409
$as_echo "no" >&6; }
7527
6410
fi
7528
6411
 
7532
6415
  ac_ct_NMEDIT=$NMEDIT
7533
6416
  # Extract the first word of "nmedit", so it can be a program name with args.
7534
6417
set dummy nmedit; ac_word=$2
7535
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536
6419
$as_echo_n "checking for $ac_word... " >&6; }
7537
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6420
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7538
6421
  $as_echo_n "(cached) " >&6
7539
6422
else
7540
6423
  if test -n "$ac_ct_NMEDIT"; then
7545
6428
do
7546
6429
  IFS=$as_save_IFS
7547
6430
  test -z "$as_dir" && as_dir=.
7548
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6431
    for ac_exec_ext in '' $ac_executable_extensions; do
7549
6432
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550
6433
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7551
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6434
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552
6435
    break 2
7553
6436
  fi
7554
6437
done
7555
 
done
 
6438
  done
7556
6439
IFS=$as_save_IFS
7557
6440
 
7558
6441
fi
7559
6442
fi
7560
6443
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7561
6444
if test -n "$ac_ct_NMEDIT"; then
7562
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7563
6446
$as_echo "$ac_ct_NMEDIT" >&6; }
7564
6447
else
7565
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566
6449
$as_echo "no" >&6; }
7567
6450
fi
7568
6451
 
7571
6454
  else
7572
6455
    case $cross_compiling:$ac_tool_warned in
7573
6456
yes:)
7574
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6457
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7575
6458
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7576
6459
ac_tool_warned=yes ;;
7577
6460
esac
7581
6464
  NMEDIT="$ac_cv_prog_NMEDIT"
7582
6465
fi
7583
6466
 
7584
 
 
7585
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6467
    if test -n "$ac_tool_prefix"; then
 
6468
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6469
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6471
$as_echo_n "checking for $ac_word... " >&6; }
 
6472
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6473
  $as_echo_n "(cached) " >&6
 
6474
else
 
6475
  if test -n "$LIPO"; then
 
6476
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6477
else
 
6478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6479
for as_dir in $PATH
 
6480
do
 
6481
  IFS=$as_save_IFS
 
6482
  test -z "$as_dir" && as_dir=.
 
6483
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6484
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6485
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6486
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6487
    break 2
 
6488
  fi
 
6489
done
 
6490
  done
 
6491
IFS=$as_save_IFS
 
6492
 
 
6493
fi
 
6494
fi
 
6495
LIPO=$ac_cv_prog_LIPO
 
6496
if test -n "$LIPO"; then
 
6497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6498
$as_echo "$LIPO" >&6; }
 
6499
else
 
6500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6501
$as_echo "no" >&6; }
 
6502
fi
 
6503
 
 
6504
 
 
6505
fi
 
6506
if test -z "$ac_cv_prog_LIPO"; then
 
6507
  ac_ct_LIPO=$LIPO
 
6508
  # Extract the first word of "lipo", so it can be a program name with args.
 
6509
set dummy lipo; ac_word=$2
 
6510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6511
$as_echo_n "checking for $ac_word... " >&6; }
 
6512
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6513
  $as_echo_n "(cached) " >&6
 
6514
else
 
6515
  if test -n "$ac_ct_LIPO"; then
 
6516
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6517
else
 
6518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6519
for as_dir in $PATH
 
6520
do
 
6521
  IFS=$as_save_IFS
 
6522
  test -z "$as_dir" && as_dir=.
 
6523
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6524
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6525
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6526
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6527
    break 2
 
6528
  fi
 
6529
done
 
6530
  done
 
6531
IFS=$as_save_IFS
 
6532
 
 
6533
fi
 
6534
fi
 
6535
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6536
if test -n "$ac_ct_LIPO"; then
 
6537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6538
$as_echo "$ac_ct_LIPO" >&6; }
 
6539
else
 
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6541
$as_echo "no" >&6; }
 
6542
fi
 
6543
 
 
6544
  if test "x$ac_ct_LIPO" = x; then
 
6545
    LIPO=":"
 
6546
  else
 
6547
    case $cross_compiling:$ac_tool_warned in
 
6548
yes:)
 
6549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6551
ac_tool_warned=yes ;;
 
6552
esac
 
6553
    LIPO=$ac_ct_LIPO
 
6554
  fi
 
6555
else
 
6556
  LIPO="$ac_cv_prog_LIPO"
 
6557
fi
 
6558
 
 
6559
    if test -n "$ac_tool_prefix"; then
 
6560
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6561
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6563
$as_echo_n "checking for $ac_word... " >&6; }
 
6564
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6565
  $as_echo_n "(cached) " >&6
 
6566
else
 
6567
  if test -n "$OTOOL"; then
 
6568
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6569
else
 
6570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6571
for as_dir in $PATH
 
6572
do
 
6573
  IFS=$as_save_IFS
 
6574
  test -z "$as_dir" && as_dir=.
 
6575
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6576
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6577
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6578
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6579
    break 2
 
6580
  fi
 
6581
done
 
6582
  done
 
6583
IFS=$as_save_IFS
 
6584
 
 
6585
fi
 
6586
fi
 
6587
OTOOL=$ac_cv_prog_OTOOL
 
6588
if test -n "$OTOOL"; then
 
6589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6590
$as_echo "$OTOOL" >&6; }
 
6591
else
 
6592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6593
$as_echo "no" >&6; }
 
6594
fi
 
6595
 
 
6596
 
 
6597
fi
 
6598
if test -z "$ac_cv_prog_OTOOL"; then
 
6599
  ac_ct_OTOOL=$OTOOL
 
6600
  # Extract the first word of "otool", so it can be a program name with args.
 
6601
set dummy otool; ac_word=$2
 
6602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6603
$as_echo_n "checking for $ac_word... " >&6; }
 
6604
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6605
  $as_echo_n "(cached) " >&6
 
6606
else
 
6607
  if test -n "$ac_ct_OTOOL"; then
 
6608
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6609
else
 
6610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6611
for as_dir in $PATH
 
6612
do
 
6613
  IFS=$as_save_IFS
 
6614
  test -z "$as_dir" && as_dir=.
 
6615
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6617
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6618
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6619
    break 2
 
6620
  fi
 
6621
done
 
6622
  done
 
6623
IFS=$as_save_IFS
 
6624
 
 
6625
fi
 
6626
fi
 
6627
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6628
if test -n "$ac_ct_OTOOL"; then
 
6629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6630
$as_echo "$ac_ct_OTOOL" >&6; }
 
6631
else
 
6632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6633
$as_echo "no" >&6; }
 
6634
fi
 
6635
 
 
6636
  if test "x$ac_ct_OTOOL" = x; then
 
6637
    OTOOL=":"
 
6638
  else
 
6639
    case $cross_compiling:$ac_tool_warned in
 
6640
yes:)
 
6641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6643
ac_tool_warned=yes ;;
 
6644
esac
 
6645
    OTOOL=$ac_ct_OTOOL
 
6646
  fi
 
6647
else
 
6648
  OTOOL="$ac_cv_prog_OTOOL"
 
6649
fi
 
6650
 
 
6651
    if test -n "$ac_tool_prefix"; then
 
6652
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6653
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6655
$as_echo_n "checking for $ac_word... " >&6; }
 
6656
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6657
  $as_echo_n "(cached) " >&6
 
6658
else
 
6659
  if test -n "$OTOOL64"; then
 
6660
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6661
else
 
6662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6663
for as_dir in $PATH
 
6664
do
 
6665
  IFS=$as_save_IFS
 
6666
  test -z "$as_dir" && as_dir=.
 
6667
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6668
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6669
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6670
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6671
    break 2
 
6672
  fi
 
6673
done
 
6674
  done
 
6675
IFS=$as_save_IFS
 
6676
 
 
6677
fi
 
6678
fi
 
6679
OTOOL64=$ac_cv_prog_OTOOL64
 
6680
if test -n "$OTOOL64"; then
 
6681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
6682
$as_echo "$OTOOL64" >&6; }
 
6683
else
 
6684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6685
$as_echo "no" >&6; }
 
6686
fi
 
6687
 
 
6688
 
 
6689
fi
 
6690
if test -z "$ac_cv_prog_OTOOL64"; then
 
6691
  ac_ct_OTOOL64=$OTOOL64
 
6692
  # Extract the first word of "otool64", so it can be a program name with args.
 
6693
set dummy otool64; ac_word=$2
 
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6695
$as_echo_n "checking for $ac_word... " >&6; }
 
6696
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6697
  $as_echo_n "(cached) " >&6
 
6698
else
 
6699
  if test -n "$ac_ct_OTOOL64"; then
 
6700
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6701
else
 
6702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6703
for as_dir in $PATH
 
6704
do
 
6705
  IFS=$as_save_IFS
 
6706
  test -z "$as_dir" && as_dir=.
 
6707
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6708
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6709
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6710
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6711
    break 2
 
6712
  fi
 
6713
done
 
6714
  done
 
6715
IFS=$as_save_IFS
 
6716
 
 
6717
fi
 
6718
fi
 
6719
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6720
if test -n "$ac_ct_OTOOL64"; then
 
6721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
6722
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6723
else
 
6724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6725
$as_echo "no" >&6; }
 
6726
fi
 
6727
 
 
6728
  if test "x$ac_ct_OTOOL64" = x; then
 
6729
    OTOOL64=":"
 
6730
  else
 
6731
    case $cross_compiling:$ac_tool_warned in
 
6732
yes:)
 
6733
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6734
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6735
ac_tool_warned=yes ;;
 
6736
esac
 
6737
    OTOOL64=$ac_ct_OTOOL64
 
6738
  fi
 
6739
else
 
6740
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6741
fi
 
6742
 
 
6743
 
 
6744
 
 
6745
 
 
6746
 
 
6747
 
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
 
6757
 
 
6758
 
 
6759
 
 
6760
 
 
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
 
 
6769
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7586
6770
$as_echo_n "checking for -single_module linker flag... " >&6; }
7587
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6771
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7588
6772
  $as_echo_n "(cached) " >&6
7589
6773
else
7590
6774
  lt_cv_apple_cc_single_mod=no
7591
6775
      if test -z "${LT_MULTI_MODULE}"; then
7592
 
   # By default we will add the -single_module flag. You can override
7593
 
   # by either setting the environment variable LT_MULTI_MODULE
7594
 
   # non-empty at configure time, or by adding -multi_module to the
7595
 
   # link flags.
7596
 
   echo "int foo(void){return 1;}" > conftest.c
7597
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7598
 
     -dynamiclib ${wl}-single_module conftest.c
7599
 
   if test -f libconftest.dylib; then
7600
 
     lt_cv_apple_cc_single_mod=yes
7601
 
     rm -rf libconftest.dylib*
7602
 
   fi
7603
 
   rm conftest.c
 
6776
        # By default we will add the -single_module flag. You can override
 
6777
        # by either setting the environment variable LT_MULTI_MODULE
 
6778
        # non-empty at configure time, or by adding -multi_module to the
 
6779
        # link flags.
 
6780
        rm -rf libconftest.dylib*
 
6781
        echo "int foo(void){return 1;}" > conftest.c
 
6782
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6783
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6784
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6785
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6786
        _lt_result=$?
 
6787
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6788
          lt_cv_apple_cc_single_mod=yes
 
6789
        else
 
6790
          cat conftest.err >&5
 
6791
        fi
 
6792
        rm -rf libconftest.dylib*
 
6793
        rm -f conftest.*
7604
6794
      fi
7605
6795
fi
7606
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7607
6797
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7608
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6798
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7609
6799
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7610
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6800
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7611
6801
  $as_echo_n "(cached) " >&6
7612
6802
else
7613
6803
  lt_cv_ld_exported_symbols_list=no
7614
6804
      save_LDFLAGS=$LDFLAGS
7615
6805
      echo "_main" > conftest.sym
7616
6806
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7617
 
      cat >conftest.$ac_ext <<_ACEOF
7618
 
/* confdefs.h.  */
7619
 
_ACEOF
7620
 
cat confdefs.h >>conftest.$ac_ext
7621
 
cat >>conftest.$ac_ext <<_ACEOF
 
6807
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7622
6808
/* end confdefs.h.  */
7623
6809
 
7624
6810
int
7629
6815
  return 0;
7630
6816
}
7631
6817
_ACEOF
7632
 
rm -f conftest.$ac_objext conftest$ac_exeext
7633
 
if { (ac_try="$ac_link"
7634
 
case "(($ac_try" in
7635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7636
 
  *) ac_try_echo=$ac_try;;
7637
 
esac
7638
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7639
 
$as_echo "$ac_try_echo") >&5
7640
 
  (eval "$ac_link") 2>conftest.er1
7641
 
  ac_status=$?
7642
 
  grep -v '^ *+' conftest.er1 >conftest.err
7643
 
  rm -f conftest.er1
7644
 
  cat conftest.err >&5
7645
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646
 
  (exit $ac_status); } && {
7647
 
         test -z "$ac_c_werror_flag" ||
7648
 
         test ! -s conftest.err
7649
 
       } && test -s conftest$ac_exeext && {
7650
 
         test "$cross_compiling" = yes ||
7651
 
         $as_test_x conftest$ac_exeext
7652
 
       }; then
 
6818
if ac_fn_c_try_link "$LINENO"; then :
7653
6819
  lt_cv_ld_exported_symbols_list=yes
7654
6820
else
7655
 
  $as_echo "$as_me: failed program was:" >&5
7656
 
sed 's/^/| /' conftest.$ac_ext >&5
7657
 
 
7658
 
        lt_cv_ld_exported_symbols_list=no
7659
 
fi
7660
 
 
7661
 
rm -rf conftest.dSYM
7662
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7663
 
      conftest$ac_exeext conftest.$ac_ext
7664
 
   LDFLAGS="$save_LDFLAGS"
7665
 
 
7666
 
fi
7667
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6821
  lt_cv_ld_exported_symbols_list=no
 
6822
fi
 
6823
rm -f core conftest.err conftest.$ac_objext \
 
6824
    conftest$ac_exeext conftest.$ac_ext
 
6825
        LDFLAGS="$save_LDFLAGS"
 
6826
 
 
6827
fi
 
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7668
6829
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6830
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6831
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6832
if test "${lt_cv_ld_force_load+set}" = set; then :
 
6833
  $as_echo_n "(cached) " >&6
 
6834
else
 
6835
  lt_cv_ld_force_load=no
 
6836
      cat > conftest.c << _LT_EOF
 
6837
int forced_loaded() { return 2;}
 
6838
_LT_EOF
 
6839
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
6840
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
6841
      echo "$AR cru libconftest.a conftest.o" >&5
 
6842
      $AR cru libconftest.a conftest.o 2>&5
 
6843
      echo "$RANLIB libconftest.a" >&5
 
6844
      $RANLIB libconftest.a 2>&5
 
6845
      cat > conftest.c << _LT_EOF
 
6846
int main() { return 0;}
 
6847
_LT_EOF
 
6848
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
6849
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
6850
      _lt_result=$?
 
6851
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
6852
        lt_cv_ld_force_load=yes
 
6853
      else
 
6854
        cat conftest.err >&5
 
6855
      fi
 
6856
        rm -f conftest.err libconftest.a conftest conftest.c
 
6857
        rm -rf conftest.dSYM
 
6858
 
 
6859
fi
 
6860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
6861
$as_echo "$lt_cv_ld_force_load" >&6; }
7669
6862
    case $host_os in
7670
 
    rhapsody* | darwin1.[0123])
 
6863
    rhapsody* | darwin1.[012])
7671
6864
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7672
6865
    darwin1.*)
7673
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7674
 
    darwin*)
 
6866
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6867
    darwin*) # darwin 5.x on
7675
6868
      # if running on 10.5 or later, the deployment target defaults
7676
6869
      # to the OS version, if on x86, and 10.4, the deployment
7677
6870
      # target defaults to 10.4. Don't you love it?
7678
6871
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7679
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7680
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7681
 
   10.[012]*)
7682
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7683
 
   10.*)
7684
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6872
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6873
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6874
        10.[012]*)
 
6875
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6876
        10.*)
 
6877
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7685
6878
      esac
7686
6879
    ;;
7687
6880
  esac
7691
6884
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7692
6885
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7693
6886
    else
7694
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
6887
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7695
6888
    fi
7696
 
    if test "$DSYMUTIL" != ":"; then
7697
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
6889
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
6890
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7698
6891
    else
7699
6892
      _lt_dsymutil=
7700
6893
    fi
7701
6894
    ;;
7702
6895
  esac
7703
6896
 
7704
 
 
7705
 
enable_dlopen=no
7706
 
enable_win32_dll=no
7707
 
 
7708
 
# Check whether --enable-libtool-lock was given.
7709
 
if test "${enable_libtool_lock+set}" = set; then
7710
 
  enableval=$enable_libtool_lock;
7711
 
fi
7712
 
 
7713
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6897
ac_ext=c
 
6898
ac_cpp='$CPP $CPPFLAGS'
 
6899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6900
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6901
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
6903
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6904
# On Suns, sometimes $CPP names a directory.
 
6905
if test -n "$CPP" && test -d "$CPP"; then
 
6906
  CPP=
 
6907
fi
 
6908
if test -z "$CPP"; then
 
6909
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6910
  $as_echo_n "(cached) " >&6
 
6911
else
 
6912
      # Double quotes because CPP needs to be expanded
 
6913
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6914
    do
 
6915
      ac_preproc_ok=false
 
6916
for ac_c_preproc_warn_flag in '' yes
 
6917
do
 
6918
  # Use a header file that comes with gcc, so configuring glibc
 
6919
  # with a fresh cross-compiler works.
 
6920
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6921
  # <limits.h> exists even on freestanding compilers.
 
6922
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6923
  # not just through cpp. "Syntax error" is here to catch this case.
 
6924
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6925
/* end confdefs.h.  */
 
6926
#ifdef __STDC__
 
6927
# include <limits.h>
 
6928
#else
 
6929
# include <assert.h>
 
6930
#endif
 
6931
                     Syntax error
 
6932
_ACEOF
 
6933
if ac_fn_c_try_cpp "$LINENO"; then :
 
6934
 
 
6935
else
 
6936
  # Broken: fails on valid input.
 
6937
continue
 
6938
fi
 
6939
rm -f conftest.err conftest.$ac_ext
 
6940
 
 
6941
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6942
  # can be detected and how.
 
6943
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6944
/* end confdefs.h.  */
 
6945
#include <ac_nonexistent.h>
 
6946
_ACEOF
 
6947
if ac_fn_c_try_cpp "$LINENO"; then :
 
6948
  # Broken: success on invalid input.
 
6949
continue
 
6950
else
 
6951
  # Passes both tests.
 
6952
ac_preproc_ok=:
 
6953
break
 
6954
fi
 
6955
rm -f conftest.err conftest.$ac_ext
 
6956
 
 
6957
done
 
6958
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6959
rm -f conftest.err conftest.$ac_ext
 
6960
if $ac_preproc_ok; then :
 
6961
  break
 
6962
fi
 
6963
 
 
6964
    done
 
6965
    ac_cv_prog_CPP=$CPP
 
6966
 
 
6967
fi
 
6968
  CPP=$ac_cv_prog_CPP
 
6969
else
 
6970
  ac_cv_prog_CPP=$CPP
 
6971
fi
 
6972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
6973
$as_echo "$CPP" >&6; }
 
6974
ac_preproc_ok=false
 
6975
for ac_c_preproc_warn_flag in '' yes
 
6976
do
 
6977
  # Use a header file that comes with gcc, so configuring glibc
 
6978
  # with a fresh cross-compiler works.
 
6979
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6980
  # <limits.h> exists even on freestanding compilers.
 
6981
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6982
  # not just through cpp. "Syntax error" is here to catch this case.
 
6983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6984
/* end confdefs.h.  */
 
6985
#ifdef __STDC__
 
6986
# include <limits.h>
 
6987
#else
 
6988
# include <assert.h>
 
6989
#endif
 
6990
                     Syntax error
 
6991
_ACEOF
 
6992
if ac_fn_c_try_cpp "$LINENO"; then :
 
6993
 
 
6994
else
 
6995
  # Broken: fails on valid input.
 
6996
continue
 
6997
fi
 
6998
rm -f conftest.err conftest.$ac_ext
 
6999
 
 
7000
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7001
  # can be detected and how.
 
7002
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7003
/* end confdefs.h.  */
 
7004
#include <ac_nonexistent.h>
 
7005
_ACEOF
 
7006
if ac_fn_c_try_cpp "$LINENO"; then :
 
7007
  # Broken: success on invalid input.
 
7008
continue
 
7009
else
 
7010
  # Passes both tests.
 
7011
ac_preproc_ok=:
 
7012
break
 
7013
fi
 
7014
rm -f conftest.err conftest.$ac_ext
 
7015
 
 
7016
done
 
7017
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7018
rm -f conftest.err conftest.$ac_ext
 
7019
if $ac_preproc_ok; then :
 
7020
 
 
7021
else
 
7022
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7023
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7024
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7025
See \`config.log' for more details" "$LINENO" 5; }
 
7026
fi
 
7027
 
 
7028
ac_ext=c
 
7029
ac_cpp='$CPP $CPPFLAGS'
 
7030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7031
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7032
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7033
 
 
7034
 
 
7035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7036
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7037
if test "${ac_cv_header_stdc+set}" = set; then :
 
7038
  $as_echo_n "(cached) " >&6
 
7039
else
 
7040
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7041
/* end confdefs.h.  */
 
7042
#include <stdlib.h>
 
7043
#include <stdarg.h>
 
7044
#include <string.h>
 
7045
#include <float.h>
 
7046
 
 
7047
int
 
7048
main ()
 
7049
{
 
7050
 
 
7051
  ;
 
7052
  return 0;
 
7053
}
 
7054
_ACEOF
 
7055
if ac_fn_c_try_compile "$LINENO"; then :
 
7056
  ac_cv_header_stdc=yes
 
7057
else
 
7058
  ac_cv_header_stdc=no
 
7059
fi
 
7060
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7061
 
 
7062
if test $ac_cv_header_stdc = yes; then
 
7063
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7064
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7065
/* end confdefs.h.  */
 
7066
#include <string.h>
 
7067
 
 
7068
_ACEOF
 
7069
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7070
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7071
 
 
7072
else
 
7073
  ac_cv_header_stdc=no
 
7074
fi
 
7075
rm -f conftest*
 
7076
 
 
7077
fi
 
7078
 
 
7079
if test $ac_cv_header_stdc = yes; then
 
7080
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7081
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7082
/* end confdefs.h.  */
 
7083
#include <stdlib.h>
 
7084
 
 
7085
_ACEOF
 
7086
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7087
  $EGREP "free" >/dev/null 2>&1; then :
 
7088
 
 
7089
else
 
7090
  ac_cv_header_stdc=no
 
7091
fi
 
7092
rm -f conftest*
 
7093
 
 
7094
fi
 
7095
 
 
7096
if test $ac_cv_header_stdc = yes; then
 
7097
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7098
  if test "$cross_compiling" = yes; then :
 
7099
  :
 
7100
else
 
7101
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7102
/* end confdefs.h.  */
 
7103
#include <ctype.h>
 
7104
#include <stdlib.h>
 
7105
#if ((' ' & 0x0FF) == 0x020)
 
7106
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7107
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7108
#else
 
7109
# define ISLOWER(c) \
 
7110
                   (('a' <= (c) && (c) <= 'i') \
 
7111
                     || ('j' <= (c) && (c) <= 'r') \
 
7112
                     || ('s' <= (c) && (c) <= 'z'))
 
7113
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7114
#endif
 
7115
 
 
7116
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7117
int
 
7118
main ()
 
7119
{
 
7120
  int i;
 
7121
  for (i = 0; i < 256; i++)
 
7122
    if (XOR (islower (i), ISLOWER (i))
 
7123
        || toupper (i) != TOUPPER (i))
 
7124
      return 2;
 
7125
  return 0;
 
7126
}
 
7127
_ACEOF
 
7128
if ac_fn_c_try_run "$LINENO"; then :
 
7129
 
 
7130
else
 
7131
  ac_cv_header_stdc=no
 
7132
fi
 
7133
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7134
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7135
fi
 
7136
 
 
7137
fi
 
7138
fi
 
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7140
$as_echo "$ac_cv_header_stdc" >&6; }
 
7141
if test $ac_cv_header_stdc = yes; then
 
7142
 
 
7143
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7144
 
 
7145
fi
 
7146
 
 
7147
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7148
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7149
                  inttypes.h stdint.h unistd.h
 
7150
do :
 
7151
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7152
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7153
"
 
7154
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7155
  cat >>confdefs.h <<_ACEOF
 
7156
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7157
_ACEOF
 
7158
 
 
7159
fi
 
7160
 
 
7161
done
 
7162
 
 
7163
 
 
7164
for ac_header in dlfcn.h
 
7165
do :
 
7166
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7167
"
 
7168
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7169
  cat >>confdefs.h <<_ACEOF
 
7170
#define HAVE_DLFCN_H 1
 
7171
_ACEOF
 
7172
 
 
7173
fi
 
7174
 
 
7175
done
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
# Set options
 
7182
 
 
7183
 
 
7184
 
 
7185
        enable_dlopen=no
 
7186
 
 
7187
 
 
7188
  enable_win32_dll=no
 
7189
 
 
7190
 
 
7191
            # Check whether --enable-shared was given.
 
7192
if test "${enable_shared+set}" = set; then :
 
7193
  enableval=$enable_shared; p=${PACKAGE-default}
 
7194
    case $enableval in
 
7195
    yes) enable_shared=yes ;;
 
7196
    no) enable_shared=no ;;
 
7197
    *)
 
7198
      enable_shared=no
 
7199
      # Look at the argument we got.  We use all the common list separators.
 
7200
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7201
      for pkg in $enableval; do
 
7202
        IFS="$lt_save_ifs"
 
7203
        if test "X$pkg" = "X$p"; then
 
7204
          enable_shared=yes
 
7205
        fi
 
7206
      done
 
7207
      IFS="$lt_save_ifs"
 
7208
      ;;
 
7209
    esac
 
7210
else
 
7211
  enable_shared=yes
 
7212
fi
 
7213
 
 
7214
 
 
7215
 
 
7216
 
 
7217
 
 
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
  # Check whether --enable-static was given.
 
7223
if test "${enable_static+set}" = set; then :
 
7224
  enableval=$enable_static; p=${PACKAGE-default}
 
7225
    case $enableval in
 
7226
    yes) enable_static=yes ;;
 
7227
    no) enable_static=no ;;
 
7228
    *)
 
7229
     enable_static=no
 
7230
      # Look at the argument we got.  We use all the common list separators.
 
7231
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7232
      for pkg in $enableval; do
 
7233
        IFS="$lt_save_ifs"
 
7234
        if test "X$pkg" = "X$p"; then
 
7235
          enable_static=yes
 
7236
        fi
 
7237
      done
 
7238
      IFS="$lt_save_ifs"
 
7239
      ;;
 
7240
    esac
 
7241
else
 
7242
  enable_static=yes
 
7243
fi
 
7244
 
 
7245
 
 
7246
 
 
7247
 
 
7248
 
 
7249
 
 
7250
 
 
7251
 
7714
7252
 
7715
7253
 
7716
7254
# Check whether --with-pic was given.
7717
 
if test "${with_pic+set}" = set; then
 
7255
if test "${with_pic+set}" = set; then :
7718
7256
  withval=$with_pic; pic_mode="$withval"
7719
7257
else
7720
7258
  pic_mode=default
7721
7259
fi
7722
7260
 
 
7261
 
7723
7262
test -z "$pic_mode" && pic_mode=default
7724
7263
 
 
7264
 
 
7265
 
 
7266
 
 
7267
 
 
7268
 
 
7269
 
 
7270
  # Check whether --enable-fast-install was given.
 
7271
if test "${enable_fast_install+set}" = set; then :
 
7272
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7273
    case $enableval in
 
7274
    yes) enable_fast_install=yes ;;
 
7275
    no) enable_fast_install=no ;;
 
7276
    *)
 
7277
      enable_fast_install=no
 
7278
      # Look at the argument we got.  We use all the common list separators.
 
7279
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7280
      for pkg in $enableval; do
 
7281
        IFS="$lt_save_ifs"
 
7282
        if test "X$pkg" = "X$p"; then
 
7283
          enable_fast_install=yes
 
7284
        fi
 
7285
      done
 
7286
      IFS="$lt_save_ifs"
 
7287
      ;;
 
7288
    esac
 
7289
else
 
7290
  enable_fast_install=yes
 
7291
fi
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
# This can be used to rebuild libtool when needed
 
7304
LIBTOOL_DEPS="$ltmain"
 
7305
 
 
7306
# Always use our own libtool.
 
7307
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
 
 
7330
 
 
7331
 
 
7332
 
 
7333
 
 
7334
test -z "$LN_S" && LN_S="ln -s"
 
7335
 
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
if test -n "${ZSH_VERSION+set}" ; then
 
7350
   setopt NO_GLOB_SUBST
 
7351
fi
 
7352
 
 
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7354
$as_echo_n "checking for objdir... " >&6; }
 
7355
if test "${lt_cv_objdir+set}" = set; then :
 
7356
  $as_echo_n "(cached) " >&6
 
7357
else
 
7358
  rm -f .libs 2>/dev/null
 
7359
mkdir .libs 2>/dev/null
 
7360
if test -d .libs; then
 
7361
  lt_cv_objdir=.libs
 
7362
else
 
7363
  # MS-DOS does not allow filenames that begin with a dot.
 
7364
  lt_cv_objdir=_libs
 
7365
fi
 
7366
rmdir .libs 2>/dev/null
 
7367
fi
 
7368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7369
$as_echo "$lt_cv_objdir" >&6; }
 
7370
objdir=$lt_cv_objdir
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
cat >>confdefs.h <<_ACEOF
 
7377
#define LT_OBJDIR "$lt_cv_objdir/"
 
7378
_ACEOF
 
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
case $host_os in
 
7384
aix3*)
 
7385
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7386
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7387
  # vanish in a puff of smoke.
 
7388
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7389
    COLLECT_NAMES=
 
7390
    export COLLECT_NAMES
 
7391
  fi
 
7392
  ;;
 
7393
esac
 
7394
 
 
7395
# Global variables:
 
7396
ofile=libtool
 
7397
can_build_shared=yes
 
7398
 
 
7399
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7400
# which needs '.lib').
 
7401
libext=a
 
7402
 
 
7403
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7404
 
 
7405
old_CC="$CC"
 
7406
old_CFLAGS="$CFLAGS"
 
7407
 
 
7408
# Set sane defaults for various variables
 
7409
test -z "$CC" && CC=cc
 
7410
test -z "$LTCC" && LTCC=$CC
 
7411
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7412
test -z "$LD" && LD=ld
 
7413
test -z "$ac_objext" && ac_objext=o
 
7414
 
 
7415
for cc_temp in $compiler""; do
 
7416
  case $cc_temp in
 
7417
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7418
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7419
    \-*) ;;
 
7420
    *) break;;
 
7421
  esac
 
7422
done
 
7423
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7424
 
 
7425
 
 
7426
# Only perform the check for file, if the check method requires it
 
7427
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7428
case $deplibs_check_method in
 
7429
file_magic*)
 
7430
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7431
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7432
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7433
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7434
  $as_echo_n "(cached) " >&6
 
7435
else
 
7436
  case $MAGIC_CMD in
 
7437
[\\/*] |  ?:[\\/]*)
 
7438
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7439
  ;;
 
7440
*)
 
7441
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7442
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7443
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7444
  for ac_dir in $ac_dummy; do
 
7445
    IFS="$lt_save_ifs"
 
7446
    test -z "$ac_dir" && ac_dir=.
 
7447
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7448
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7449
      if test -n "$file_magic_test_file"; then
 
7450
        case $deplibs_check_method in
 
7451
        "file_magic "*)
 
7452
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7453
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7454
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7455
            $EGREP "$file_magic_regex" > /dev/null; then
 
7456
            :
 
7457
          else
 
7458
            cat <<_LT_EOF 1>&2
 
7459
 
 
7460
*** Warning: the command libtool uses to detect shared libraries,
 
7461
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7462
*** The result is that libtool may fail to recognize shared libraries
 
7463
*** as such.  This will affect the creation of libtool libraries that
 
7464
*** depend on shared libraries, but programs linked with such libtool
 
7465
*** libraries will work regardless of this problem.  Nevertheless, you
 
7466
*** may want to report the problem to your system manager and/or to
 
7467
*** bug-libtool@gnu.org
 
7468
 
 
7469
_LT_EOF
 
7470
          fi ;;
 
7471
        esac
 
7472
      fi
 
7473
      break
 
7474
    fi
 
7475
  done
 
7476
  IFS="$lt_save_ifs"
 
7477
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7478
  ;;
 
7479
esac
 
7480
fi
 
7481
 
 
7482
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7483
if test -n "$MAGIC_CMD"; then
 
7484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7485
$as_echo "$MAGIC_CMD" >&6; }
 
7486
else
 
7487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7488
$as_echo "no" >&6; }
 
7489
fi
 
7490
 
 
7491
 
 
7492
 
 
7493
 
 
7494
 
 
7495
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7496
  if test -n "$ac_tool_prefix"; then
 
7497
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7498
$as_echo_n "checking for file... " >&6; }
 
7499
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7500
  $as_echo_n "(cached) " >&6
 
7501
else
 
7502
  case $MAGIC_CMD in
 
7503
[\\/*] |  ?:[\\/]*)
 
7504
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7505
  ;;
 
7506
*)
 
7507
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7508
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7509
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7510
  for ac_dir in $ac_dummy; do
 
7511
    IFS="$lt_save_ifs"
 
7512
    test -z "$ac_dir" && ac_dir=.
 
7513
    if test -f $ac_dir/file; then
 
7514
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7515
      if test -n "$file_magic_test_file"; then
 
7516
        case $deplibs_check_method in
 
7517
        "file_magic "*)
 
7518
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7519
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7520
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7521
            $EGREP "$file_magic_regex" > /dev/null; then
 
7522
            :
 
7523
          else
 
7524
            cat <<_LT_EOF 1>&2
 
7525
 
 
7526
*** Warning: the command libtool uses to detect shared libraries,
 
7527
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7528
*** The result is that libtool may fail to recognize shared libraries
 
7529
*** as such.  This will affect the creation of libtool libraries that
 
7530
*** depend on shared libraries, but programs linked with such libtool
 
7531
*** libraries will work regardless of this problem.  Nevertheless, you
 
7532
*** may want to report the problem to your system manager and/or to
 
7533
*** bug-libtool@gnu.org
 
7534
 
 
7535
_LT_EOF
 
7536
          fi ;;
 
7537
        esac
 
7538
      fi
 
7539
      break
 
7540
    fi
 
7541
  done
 
7542
  IFS="$lt_save_ifs"
 
7543
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7544
  ;;
 
7545
esac
 
7546
fi
 
7547
 
 
7548
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7549
if test -n "$MAGIC_CMD"; then
 
7550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7551
$as_echo "$MAGIC_CMD" >&6; }
 
7552
else
 
7553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7554
$as_echo "no" >&6; }
 
7555
fi
 
7556
 
 
7557
 
 
7558
  else
 
7559
    MAGIC_CMD=:
 
7560
  fi
 
7561
fi
 
7562
 
 
7563
  fi
 
7564
  ;;
 
7565
esac
 
7566
 
7725
7567
# Use C for the default configuration in the libtool script
7726
 
tagname=
 
7568
 
7727
7569
lt_save_CC="$CC"
7728
7570
ac_ext=c
7729
7571
ac_cpp='$CPP $CPPFLAGS'
7746
7588
lt_simple_link_test_code='int main(){return(0);}'
7747
7589
 
7748
7590
 
 
7591
 
 
7592
 
 
7593
 
 
7594
 
 
7595
 
7749
7596
# If no C compiler was specified, use CC.
7750
7597
LTCC=${LTCC-"$CC"}
7751
7598
 
7755
7602
# Allow CC to be a program name with arguments.
7756
7603
compiler=$CC
7757
7604
 
 
7605
# Save the default compiler, since it gets overwritten when the other
 
7606
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7607
compiler_DEFAULT=$CC
7758
7608
 
7759
7609
# save warnings/boilerplate of simple test code
7760
7610
ac_outfile=conftest.$ac_objext
7761
7611
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7762
7612
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7763
7613
_lt_compiler_boilerplate=`cat conftest.err`
7764
 
$rm conftest*
 
7614
$RM conftest*
7765
7615
 
7766
7616
ac_outfile=conftest.$ac_objext
7767
7617
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7768
7618
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7769
7619
_lt_linker_boilerplate=`cat conftest.err`
7770
 
$rm -r conftest*
7771
 
 
7772
 
 
 
7620
$RM -r conftest*
 
7621
 
 
7622
 
 
7623
if test -n "$compiler"; then
7773
7624
 
7774
7625
lt_prog_compiler_no_builtin_flag=
7775
7626
 
7776
7627
if test "$GCC" = yes; then
7777
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7778
 
 
7779
 
 
7780
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7628
  case $cc_basename in
 
7629
  nvcc*)
 
7630
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7631
  *)
 
7632
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7633
  esac
 
7634
 
 
7635
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7781
7636
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7782
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7637
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7783
7638
  $as_echo_n "(cached) " >&6
7784
7639
else
7785
7640
  lt_cv_prog_compiler_rtti_exceptions=no
7786
 
  ac_outfile=conftest.$ac_objext
 
7641
   ac_outfile=conftest.$ac_objext
7787
7642
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7788
7643
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7789
7644
   # Insert the option either (1) after the last *FLAGS variable, or
7795
7650
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7796
7651
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7797
7652
   -e 's:$: $lt_compiler_flag:'`
7798
 
   (eval echo "\"\$as_me:7798: $lt_compile\"" >&5)
 
7653
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7799
7654
   (eval "$lt_compile" 2>conftest.err)
7800
7655
   ac_status=$?
7801
7656
   cat conftest.err >&5
7802
 
   echo "$as_me:7802: \$? = $ac_status" >&5
 
7657
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803
7658
   if (exit $ac_status) && test -s "$ac_outfile"; then
7804
7659
     # The compiler can only warn and ignore the option if not recognized
7805
7660
     # So say no if there are warnings other than the usual output.
7806
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7661
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7807
7662
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7808
7663
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7809
7664
       lt_cv_prog_compiler_rtti_exceptions=yes
7810
7665
     fi
7811
7666
   fi
7812
 
   $rm conftest*
 
7667
   $RM conftest*
7813
7668
 
7814
7669
fi
7815
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7816
7671
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7817
7672
 
7818
7673
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7823
7678
 
7824
7679
fi
7825
7680
 
7826
 
lt_prog_compiler_wl=
 
7681
 
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
  lt_prog_compiler_wl=
7827
7687
lt_prog_compiler_pic=
7828
7688
lt_prog_compiler_static=
7829
7689
 
7830
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7831
7691
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7832
7692
 
7833
7693
  if test "$GCC" = yes; then
7844
7704
      ;;
7845
7705
 
7846
7706
    amigaos*)
7847
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7848
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7849
 
      # like `-m68040'.
7850
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7707
      case $host_cpu in
 
7708
      powerpc)
 
7709
            # see comment about AmigaOS4 .so support
 
7710
            lt_prog_compiler_pic='-fPIC'
 
7711
        ;;
 
7712
      m68k)
 
7713
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7714
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7715
            # like `-m68040'.
 
7716
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7717
        ;;
 
7718
      esac
7851
7719
      ;;
7852
7720
 
7853
7721
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7854
7722
      # PIC is the default for these OSes.
7855
7723
      ;;
7856
7724
 
7857
 
    mingw* | cygwin* | pw32* | os2*)
 
7725
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7858
7726
      # This hack is so that the source file can tell whether it is being
7859
7727
      # built for inclusion in a dll (and should export symbols for example).
7860
7728
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7868
7736
      lt_prog_compiler_pic='-fno-common'
7869
7737
      ;;
7870
7738
 
 
7739
    haiku*)
 
7740
      # PIC is the default for Haiku.
 
7741
      # The "-static" flag exists, but is broken.
 
7742
      lt_prog_compiler_static=
 
7743
      ;;
 
7744
 
 
7745
    hpux*)
 
7746
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7747
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7748
      # sets the default TLS model and affects inlining.
 
7749
      case $host_cpu in
 
7750
      hppa*64*)
 
7751
        # +Z the default
 
7752
        ;;
 
7753
      *)
 
7754
        lt_prog_compiler_pic='-fPIC'
 
7755
        ;;
 
7756
      esac
 
7757
      ;;
 
7758
 
7871
7759
    interix[3-9]*)
7872
7760
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7873
7761
      # Instead, we relocate shared libraries at runtime.
7880
7768
      enable_shared=no
7881
7769
      ;;
7882
7770
 
 
7771
    *nto* | *qnx*)
 
7772
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7773
      # it will coredump.
 
7774
      lt_prog_compiler_pic='-fPIC -shared'
 
7775
      ;;
 
7776
 
7883
7777
    sysv4*MP*)
7884
7778
      if test -d /usr/nec; then
7885
7779
        lt_prog_compiler_pic=-Kconform_pic
7886
7780
      fi
7887
7781
      ;;
7888
7782
 
7889
 
    hpux*)
7890
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7891
 
      # not for PA HP-UX.
7892
 
      case $host_cpu in
7893
 
      hppa*64*|ia64*)
7894
 
        # +Z the default
7895
 
        ;;
7896
 
      *)
7897
 
        lt_prog_compiler_pic='-fPIC'
7898
 
        ;;
7899
 
      esac
7900
 
      ;;
7901
 
 
7902
7783
    *)
7903
7784
      lt_prog_compiler_pic='-fPIC'
7904
7785
      ;;
7905
7786
    esac
 
7787
 
 
7788
    case $cc_basename in
 
7789
    nvcc*) # Cuda Compiler Driver 2.2
 
7790
      lt_prog_compiler_wl='-Xlinker '
 
7791
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7792
      ;;
 
7793
    esac
7906
7794
  else
7907
7795
    # PORTME Check for flag to pass linker flags through the system compiler.
7908
7796
    case $host_os in
7915
7803
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7916
7804
      fi
7917
7805
      ;;
7918
 
      darwin*)
7919
 
        # PIC is the default on this platform
7920
 
        # Common symbols not allowed in MH_DYLIB files
7921
 
       case $cc_basename in
7922
 
         xlc*)
7923
 
         lt_prog_compiler_pic='-qnocommon'
7924
 
         lt_prog_compiler_wl='-Wl,'
7925
 
         ;;
7926
 
       esac
7927
 
       ;;
7928
7806
 
7929
 
    mingw* | cygwin* | pw32* | os2*)
 
7807
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7930
7808
      # This hack is so that the source file can tell whether it is being
7931
7809
      # built for inclusion in a dll (and should export symbols for example).
7932
7810
      lt_prog_compiler_pic='-DDLL_EXPORT'
7954
7832
      lt_prog_compiler_static='-non_shared'
7955
7833
      ;;
7956
7834
 
7957
 
    newsos6)
7958
 
      lt_prog_compiler_pic='-KPIC'
7959
 
      lt_prog_compiler_static='-Bstatic'
7960
 
      ;;
7961
 
 
7962
 
    linux* | k*bsd*-gnu)
 
7835
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7963
7836
      case $cc_basename in
7964
 
      icc* | ecc*)
 
7837
      # old Intel for x86_64 which still supported -KPIC.
 
7838
      ecc*)
7965
7839
        lt_prog_compiler_wl='-Wl,'
7966
7840
        lt_prog_compiler_pic='-KPIC'
7967
7841
        lt_prog_compiler_static='-static'
7968
7842
        ;;
7969
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7843
      # icc used to be incompatible with GCC.
 
7844
      # ICC 10 doesn't accept -KPIC any more.
 
7845
      icc* | ifort*)
 
7846
        lt_prog_compiler_wl='-Wl,'
 
7847
        lt_prog_compiler_pic='-fPIC'
 
7848
        lt_prog_compiler_static='-static'
 
7849
        ;;
 
7850
      # Lahey Fortran 8.1.
 
7851
      lf95*)
 
7852
        lt_prog_compiler_wl='-Wl,'
 
7853
        lt_prog_compiler_pic='--shared'
 
7854
        lt_prog_compiler_static='--static'
 
7855
        ;;
 
7856
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7970
7857
        # Portland Group compilers (*not* the Pentium gcc compiler,
7971
7858
        # which looks to be a dead project)
7972
7859
        lt_prog_compiler_wl='-Wl,'
7978
7865
        # All Alpha code is PIC.
7979
7866
        lt_prog_compiler_static='-non_shared'
7980
7867
        ;;
 
7868
      xl* | bgxl* | bgf* | mpixl*)
 
7869
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
7870
        lt_prog_compiler_wl='-Wl,'
 
7871
        lt_prog_compiler_pic='-qpic'
 
7872
        lt_prog_compiler_static='-qstaticlink'
 
7873
        ;;
7981
7874
      *)
7982
 
        case `$CC -V 2>&1 | sed 5q` in
 
7875
        case `$CC -V 2>&1 | sed 5q` in
 
7876
        *Sun\ F* | *Sun*Fortran*)
 
7877
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7878
          lt_prog_compiler_pic='-KPIC'
 
7879
          lt_prog_compiler_static='-Bstatic'
 
7880
          lt_prog_compiler_wl=''
 
7881
          ;;
7983
7882
        *Sun\ C*)
7984
7883
          # Sun C 5.9
7985
7884
          lt_prog_compiler_pic='-KPIC'
7986
7885
          lt_prog_compiler_static='-Bstatic'
7987
7886
          lt_prog_compiler_wl='-Wl,'
7988
7887
          ;;
7989
 
        *Sun\ F*)
7990
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7991
 
          lt_prog_compiler_pic='-KPIC'
7992
 
          lt_prog_compiler_static='-Bstatic'
7993
 
          lt_prog_compiler_wl=''
7994
 
          ;;
7995
7888
        esac
7996
7889
        ;;
7997
7890
      esac
7998
7891
      ;;
7999
7892
 
 
7893
    newsos6)
 
7894
      lt_prog_compiler_pic='-KPIC'
 
7895
      lt_prog_compiler_static='-Bstatic'
 
7896
      ;;
 
7897
 
 
7898
    *nto* | *qnx*)
 
7899
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7900
      # it will coredump.
 
7901
      lt_prog_compiler_pic='-fPIC -shared'
 
7902
      ;;
 
7903
 
8000
7904
    osf3* | osf4* | osf5*)
8001
7905
      lt_prog_compiler_wl='-Wl,'
8002
7906
      # All OSF/1 code is PIC.
8011
7915
      lt_prog_compiler_pic='-KPIC'
8012
7916
      lt_prog_compiler_static='-Bstatic'
8013
7917
      case $cc_basename in
8014
 
      f77* | f90* | f95*)
 
7918
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8015
7919
        lt_prog_compiler_wl='-Qoption ld ';;
8016
7920
      *)
8017
7921
        lt_prog_compiler_wl='-Wl,';;
8059
7963
    esac
8060
7964
  fi
8061
7965
 
8062
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7966
case $host_os in
 
7967
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7968
  *djgpp*)
 
7969
    lt_prog_compiler_pic=
 
7970
    ;;
 
7971
  *)
 
7972
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7973
    ;;
 
7974
esac
 
7975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8063
7976
$as_echo "$lt_prog_compiler_pic" >&6; }
8064
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
8065
7983
#
8066
7984
# Check to make sure the PIC flag actually works.
8067
7985
#
8068
7986
if test -n "$lt_prog_compiler_pic"; then
8069
 
 
8070
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7987
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8071
7988
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8072
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7989
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8073
7990
  $as_echo_n "(cached) " >&6
8074
7991
else
8075
7992
  lt_cv_prog_compiler_pic_works=no
8076
 
  ac_outfile=conftest.$ac_objext
 
7993
   ac_outfile=conftest.$ac_objext
8077
7994
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8078
7995
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8079
7996
   # Insert the option either (1) after the last *FLAGS variable, or
8085
8002
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8086
8003
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8087
8004
   -e 's:$: $lt_compiler_flag:'`
8088
 
   (eval echo "\"\$as_me:8088: $lt_compile\"" >&5)
 
8005
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8089
8006
   (eval "$lt_compile" 2>conftest.err)
8090
8007
   ac_status=$?
8091
8008
   cat conftest.err >&5
8092
 
   echo "$as_me:8092: \$? = $ac_status" >&5
 
8009
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093
8010
   if (exit $ac_status) && test -s "$ac_outfile"; then
8094
8011
     # The compiler can only warn and ignore the option if not recognized
8095
8012
     # So say no if there are warnings other than the usual output.
8096
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8013
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8097
8014
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8098
8015
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8099
8016
       lt_cv_prog_compiler_pic_works=yes
8100
8017
     fi
8101
8018
   fi
8102
 
   $rm conftest*
 
8019
   $RM conftest*
8103
8020
 
8104
8021
fi
8105
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8106
8023
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8107
8024
 
8108
8025
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8116
8033
fi
8117
8034
 
8118
8035
fi
8119
 
case $host_os in
8120
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8121
 
  *djgpp*)
8122
 
    lt_prog_compiler_pic=
8123
 
    ;;
8124
 
  *)
8125
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8126
 
    ;;
8127
 
esac
 
8036
 
 
8037
 
 
8038
 
 
8039
 
 
8040
 
8128
8041
 
8129
8042
#
8130
8043
# Check to make sure the static flag actually works.
8131
8044
#
8132
8045
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8133
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8134
8047
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8135
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8048
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8136
8049
  $as_echo_n "(cached) " >&6
8137
8050
else
8138
8051
  lt_cv_prog_compiler_static_works=no
8145
8058
     if test -s conftest.err; then
8146
8059
       # Append any errors to the config.log.
8147
8060
       cat conftest.err 1>&5
8148
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8061
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8149
8062
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8150
8063
       if diff conftest.exp conftest.er2 >/dev/null; then
8151
8064
         lt_cv_prog_compiler_static_works=yes
8154
8067
       lt_cv_prog_compiler_static_works=yes
8155
8068
     fi
8156
8069
   fi
8157
 
   $rm -r conftest*
 
8070
   $RM -r conftest*
8158
8071
   LDFLAGS="$save_LDFLAGS"
8159
8072
 
8160
8073
fi
8161
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8162
8075
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8163
8076
 
8164
8077
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8168
8081
fi
8169
8082
 
8170
8083
 
8171
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8172
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8173
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8174
 
  $as_echo_n "(cached) " >&6
8175
 
else
8176
 
  lt_cv_prog_compiler_c_o=no
8177
 
   $rm -r conftest 2>/dev/null
8178
 
   mkdir conftest
8179
 
   cd conftest
8180
 
   mkdir out
8181
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8182
 
 
8183
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8184
 
   # Insert the option either (1) after the last *FLAGS variable, or
8185
 
   # (2) before a word containing "conftest.", or (3) at the end.
8186
 
   # Note that $ac_compile itself does not contain backslashes and begins
8187
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8188
 
   lt_compile=`echo "$ac_compile" | $SED \
8189
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8190
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8191
 
   -e 's:$: $lt_compiler_flag:'`
8192
 
   (eval echo "\"\$as_me:8192: $lt_compile\"" >&5)
8193
 
   (eval "$lt_compile" 2>out/conftest.err)
8194
 
   ac_status=$?
8195
 
   cat out/conftest.err >&5
8196
 
   echo "$as_me:8196: \$? = $ac_status" >&5
8197
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8198
 
   then
8199
 
     # The compiler can only warn and ignore the option if not recognized
8200
 
     # So say no if there are warnings
8201
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8202
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8203
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8204
 
       lt_cv_prog_compiler_c_o=yes
8205
 
     fi
8206
 
   fi
8207
 
   chmod u+w . 2>&5
8208
 
   $rm conftest*
8209
 
   # SGI C++ compiler will create directory out/ii_files/ for
8210
 
   # template instantiation
8211
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8212
 
   $rm out/* && rmdir out
8213
 
   cd ..
8214
 
   rmdir conftest
8215
 
   $rm conftest*
8216
 
 
8217
 
fi
8218
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8219
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8084
 
 
8085
 
 
8086
 
 
8087
 
 
8088
 
 
8089
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8090
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8091
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8092
  $as_echo_n "(cached) " >&6
 
8093
else
 
8094
  lt_cv_prog_compiler_c_o=no
 
8095
   $RM -r conftest 2>/dev/null
 
8096
   mkdir conftest
 
8097
   cd conftest
 
8098
   mkdir out
 
8099
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8100
 
 
8101
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8102
   # Insert the option either (1) after the last *FLAGS variable, or
 
8103
   # (2) before a word containing "conftest.", or (3) at the end.
 
8104
   # Note that $ac_compile itself does not contain backslashes and begins
 
8105
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8106
   lt_compile=`echo "$ac_compile" | $SED \
 
8107
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8108
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8109
   -e 's:$: $lt_compiler_flag:'`
 
8110
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8111
   (eval "$lt_compile" 2>out/conftest.err)
 
8112
   ac_status=$?
 
8113
   cat out/conftest.err >&5
 
8114
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8115
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8116
   then
 
8117
     # The compiler can only warn and ignore the option if not recognized
 
8118
     # So say no if there are warnings
 
8119
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8120
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8121
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8122
       lt_cv_prog_compiler_c_o=yes
 
8123
     fi
 
8124
   fi
 
8125
   chmod u+w . 2>&5
 
8126
   $RM conftest*
 
8127
   # SGI C++ compiler will create directory out/ii_files/ for
 
8128
   # template instantiation
 
8129
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8130
   $RM out/* && rmdir out
 
8131
   cd ..
 
8132
   $RM -r conftest
 
8133
   $RM conftest*
 
8134
 
 
8135
fi
 
8136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8137
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8138
 
 
8139
 
 
8140
 
 
8141
 
 
8142
 
 
8143
 
 
8144
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8145
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8146
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8147
  $as_echo_n "(cached) " >&6
 
8148
else
 
8149
  lt_cv_prog_compiler_c_o=no
 
8150
   $RM -r conftest 2>/dev/null
 
8151
   mkdir conftest
 
8152
   cd conftest
 
8153
   mkdir out
 
8154
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8155
 
 
8156
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8157
   # Insert the option either (1) after the last *FLAGS variable, or
 
8158
   # (2) before a word containing "conftest.", or (3) at the end.
 
8159
   # Note that $ac_compile itself does not contain backslashes and begins
 
8160
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8161
   lt_compile=`echo "$ac_compile" | $SED \
 
8162
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8163
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8164
   -e 's:$: $lt_compiler_flag:'`
 
8165
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8166
   (eval "$lt_compile" 2>out/conftest.err)
 
8167
   ac_status=$?
 
8168
   cat out/conftest.err >&5
 
8169
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8170
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8171
   then
 
8172
     # The compiler can only warn and ignore the option if not recognized
 
8173
     # So say no if there are warnings
 
8174
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8175
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8176
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8177
       lt_cv_prog_compiler_c_o=yes
 
8178
     fi
 
8179
   fi
 
8180
   chmod u+w . 2>&5
 
8181
   $RM conftest*
 
8182
   # SGI C++ compiler will create directory out/ii_files/ for
 
8183
   # template instantiation
 
8184
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8185
   $RM out/* && rmdir out
 
8186
   cd ..
 
8187
   $RM -r conftest
 
8188
   $RM conftest*
 
8189
 
 
8190
fi
 
8191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8192
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8193
 
 
8194
 
8220
8195
 
8221
8196
 
8222
8197
hard_links="nottested"
8223
8198
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8224
8199
  # do not overwrite the value of need_locks provided by the user
8225
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8200
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8226
8201
$as_echo_n "checking if we can lock with hard links... " >&6; }
8227
8202
  hard_links=yes
8228
 
  $rm conftest*
 
8203
  $RM conftest*
8229
8204
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8230
8205
  touch conftest.a
8231
8206
  ln conftest.a conftest.b 2>&5 || hard_links=no
8232
8207
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8233
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8234
8209
$as_echo "$hard_links" >&6; }
8235
8210
  if test "$hard_links" = no; then
8236
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8211
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8237
8212
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8238
8213
    need_locks=warn
8239
8214
  fi
8241
8216
  need_locks=no
8242
8217
fi
8243
8218
 
8244
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8245
8225
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8246
8226
 
8247
8227
  runpath_var=
8248
8228
  allow_undefined_flag=
8249
 
  enable_shared_with_static_runtimes=no
 
8229
  always_export_symbols=no
8250
8230
  archive_cmds=
8251
8231
  archive_expsym_cmds=
8252
 
  old_archive_From_new_cmds=
8253
 
  old_archive_from_expsyms_cmds=
 
8232
  compiler_needs_object=no
 
8233
  enable_shared_with_static_runtimes=no
8254
8234
  export_dynamic_flag_spec=
8255
 
  whole_archive_flag_spec=
8256
 
  thread_safe_flag_spec=
 
8235
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8236
  hardcode_automatic=no
 
8237
  hardcode_direct=no
 
8238
  hardcode_direct_absolute=no
8257
8239
  hardcode_libdir_flag_spec=
8258
8240
  hardcode_libdir_flag_spec_ld=
8259
8241
  hardcode_libdir_separator=
8260
 
  hardcode_direct=no
8261
8242
  hardcode_minus_L=no
8262
8243
  hardcode_shlibpath_var=unsupported
 
8244
  inherit_rpath=no
8263
8245
  link_all_deplibs=unknown
8264
 
  hardcode_automatic=no
8265
8246
  module_cmds=
8266
8247
  module_expsym_cmds=
8267
 
  always_export_symbols=no
8268
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8248
  old_archive_from_new_cmds=
 
8249
  old_archive_from_expsyms_cmds=
 
8250
  thread_safe_flag_spec=
 
8251
  whole_archive_flag_spec=
8269
8252
  # include_expsyms should be a list of space-separated symbols to be *always*
8270
8253
  # included in the symbol list
8271
8254
  include_expsyms=
8281
8264
  # preloaded symbol tables.
8282
8265
  # Exclude shared library initialization/finalization symbols.
8283
8266
  extract_expsyms_cmds=
8284
 
  # Just being paranoid about ensuring that cc_basename is set.
8285
 
  for cc_temp in $compiler""; do
8286
 
  case $cc_temp in
8287
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8288
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8289
 
    \-*) ;;
8290
 
    *) break;;
8291
 
  esac
8292
 
done
8293
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8294
8267
 
8295
8268
  case $host_os in
8296
 
  cygwin* | mingw* | pw32*)
 
8269
  cygwin* | mingw* | pw32* | cegcc*)
8297
8270
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8298
8271
    # When not using gcc, we currently assume that we are using
8299
8272
    # Microsoft Visual C++.
8311
8284
  esac
8312
8285
 
8313
8286
  ld_shlibs=yes
 
8287
 
 
8288
  # On some targets, GNU ld is compatible enough with the native linker
 
8289
  # that we're better off using the native interface for both.
 
8290
  lt_use_gnu_ld_interface=no
8314
8291
  if test "$with_gnu_ld" = yes; then
 
8292
    case $host_os in
 
8293
      aix*)
 
8294
        # The AIX port of GNU ld has always aspired to compatibility
 
8295
        # with the native linker.  However, as the warning in the GNU ld
 
8296
        # block says, versions before 2.19.5* couldn't really create working
 
8297
        # shared libraries, regardless of the interface used.
 
8298
        case `$LD -v 2>&1` in
 
8299
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8300
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8301
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8302
          *)
 
8303
            lt_use_gnu_ld_interface=yes
 
8304
            ;;
 
8305
        esac
 
8306
        ;;
 
8307
      *)
 
8308
        lt_use_gnu_ld_interface=yes
 
8309
        ;;
 
8310
    esac
 
8311
  fi
 
8312
 
 
8313
  if test "$lt_use_gnu_ld_interface" = yes; then
8315
8314
    # If archive_cmds runs LD, not CC, wlarc should be empty
8316
8315
    wlarc='${wl}'
8317
8316
 
8319
8318
    # are reset later if shared libraries are not supported. Putting them
8320
8319
    # here allows them to be overridden if necessary.
8321
8320
    runpath_var=LD_RUN_PATH
8322
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8321
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8323
8322
    export_dynamic_flag_spec='${wl}--export-dynamic'
8324
8323
    # ancient GNU ld didn't support --whole-archive et. al.
8325
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8326
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8327
 
      else
8328
 
        whole_archive_flag_spec=
 
8324
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8325
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8326
    else
 
8327
      whole_archive_flag_spec=
8329
8328
    fi
8330
8329
    supports_anon_versioning=no
8331
 
    case `$LD -v 2>/dev/null` in
 
8330
    case `$LD -v 2>&1` in
 
8331
      *GNU\ gold*) supports_anon_versioning=yes ;;
8332
8332
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8333
8333
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8334
8334
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8342
8342
      # On AIX/PPC, the GNU linker is very broken
8343
8343
      if test "$host_cpu" != ia64; then
8344
8344
        ld_shlibs=no
8345
 
        cat <<EOF 1>&2
 
8345
        cat <<_LT_EOF 1>&2
8346
8346
 
8347
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8347
*** Warning: the GNU linker, at least up to release 2.19, is reported
8348
8348
*** to be unable to reliably create shared libraries on AIX.
8349
8349
*** Therefore, libtool is disabling shared libraries support.  If you
8350
 
*** really care for shared libraries, you may want to modify your PATH
8351
 
*** so that a non-GNU linker is found, and then restart.
 
8350
*** really care for shared libraries, you may want to install binutils
 
8351
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8352
*** You will then need to restart the configuration process.
8352
8353
 
8353
 
EOF
 
8354
_LT_EOF
8354
8355
      fi
8355
8356
      ;;
8356
8357
 
8357
8358
    amigaos*)
8358
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8359
 
      hardcode_libdir_flag_spec='-L$libdir'
8360
 
      hardcode_minus_L=yes
8361
 
 
8362
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8363
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8364
 
      # to version 4, is to share data among multiple programs linked
8365
 
      # with the same dynamic library.  Since this doesn't match the
8366
 
      # behavior of shared libraries on other platforms, we can't use
8367
 
      # them.
8368
 
      ld_shlibs=no
 
8359
      case $host_cpu in
 
8360
      powerpc)
 
8361
            # see comment about AmigaOS4 .so support
 
8362
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8363
            archive_expsym_cmds=''
 
8364
        ;;
 
8365
      m68k)
 
8366
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8367
            hardcode_libdir_flag_spec='-L$libdir'
 
8368
            hardcode_minus_L=yes
 
8369
        ;;
 
8370
      esac
8369
8371
      ;;
8370
8372
 
8371
8373
    beos*)
8372
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8374
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8373
8375
        allow_undefined_flag=unsupported
8374
8376
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8375
8377
        # support --undefined.  This deserves some investigation.  FIXME
8379
8381
      fi
8380
8382
      ;;
8381
8383
 
8382
 
    cygwin* | mingw* | pw32*)
8383
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8384
    cygwin* | mingw* | pw32* | cegcc*)
 
8385
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8384
8386
      # as there is no search path for DLLs.
8385
8387
      hardcode_libdir_flag_spec='-L$libdir'
 
8388
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8386
8389
      allow_undefined_flag=unsupported
8387
8390
      always_export_symbols=no
8388
8391
      enable_shared_with_static_runtimes=yes
8389
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8392
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8390
8393
 
8391
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8394
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8392
8395
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8393
8396
        # If the export-symbols file already is a .def file (1st line
8394
8397
        # is EXPORTS), use it as is; otherwise, prepend...
8404
8407
      fi
8405
8408
      ;;
8406
8409
 
 
8410
    haiku*)
 
8411
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8412
      link_all_deplibs=yes
 
8413
      ;;
 
8414
 
8407
8415
    interix[3-9]*)
8408
8416
      hardcode_direct=no
8409
8417
      hardcode_shlibpath_var=no
8419
8427
      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'
8420
8428
      ;;
8421
8429
 
8422
 
    gnu* | linux* | k*bsd*-gnu)
8423
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8430
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
8431
      tmp_diet=no
 
8432
      if test "$host_os" = linux-dietlibc; then
 
8433
        case $cc_basename in
 
8434
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8435
        esac
 
8436
      fi
 
8437
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8438
         && test "$tmp_diet" = no
 
8439
      then
8424
8440
        tmp_addflag=
 
8441
        tmp_sharedflag='-shared'
8425
8442
        case $cc_basename,$host_cpu in
8426
 
        pgcc*)                          # Portland Group C compiler
8427
 
          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'
 
8443
        pgcc*)                          # Portland Group C compiler
 
8444
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8428
8445
          tmp_addflag=' $pic_flag'
8429
8446
          ;;
8430
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8431
 
          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'
 
8447
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8448
                                        # Portland Group f77 and f90 compilers
 
8449
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8432
8450
          tmp_addflag=' $pic_flag -Mnomain' ;;
8433
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8451
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8434
8452
          tmp_addflag=' -i_dynamic' ;;
8435
8453
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8436
8454
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8437
8455
        ifc* | ifort*)                  # Intel Fortran compiler
8438
8456
          tmp_addflag=' -nofor_main' ;;
 
8457
        lf95*)                          # Lahey Fortran 8.1
 
8458
          whole_archive_flag_spec=
 
8459
          tmp_sharedflag='--shared' ;;
 
8460
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
8461
          tmp_sharedflag='-qmkshrobj'
 
8462
          tmp_addflag= ;;
 
8463
        nvcc*)  # Cuda Compiler Driver 2.2
 
8464
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8465
          compiler_needs_object=yes
 
8466
          ;;
8439
8467
        esac
8440
8468
        case `$CC -V 2>&1 | sed 5q` in
8441
8469
        *Sun\ C*)                       # Sun C 5.9
8442
 
          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'
 
8470
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8471
          compiler_needs_object=yes
8443
8472
          tmp_sharedflag='-G' ;;
8444
8473
        *Sun\ F*)                       # Sun Fortran 8.3
8445
8474
          tmp_sharedflag='-G' ;;
8446
 
        *)
8447
 
          tmp_sharedflag='-shared' ;;
8448
8475
        esac
8449
8476
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8450
8477
 
8451
 
        if test $supports_anon_versioning = yes; then
8452
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8453
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8454
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8455
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8456
 
        fi
 
8478
        if test "x$supports_anon_versioning" = xyes; then
 
8479
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8480
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8481
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8482
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8483
        fi
 
8484
 
 
8485
        case $cc_basename in
 
8486
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8487
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8488
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8489
          hardcode_libdir_flag_spec=
 
8490
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8491
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
8492
          if test "x$supports_anon_versioning" = xyes; then
 
8493
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8494
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8495
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8496
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8497
          fi
 
8498
          ;;
 
8499
        esac
8457
8500
      else
8458
 
        ld_shlibs=no
 
8501
        ld_shlibs=no
8459
8502
      fi
8460
8503
      ;;
8461
8504
 
8462
8505
    netbsd*)
8463
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8506
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8464
8507
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8465
8508
        wlarc=
8466
8509
      else
8470
8513
      ;;
8471
8514
 
8472
8515
    solaris*)
8473
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8516
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8474
8517
        ld_shlibs=no
8475
 
        cat <<EOF 1>&2
 
8518
        cat <<_LT_EOF 1>&2
8476
8519
 
8477
8520
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8478
8521
*** create shared libraries on Solaris systems.  Therefore, libtool
8481
8524
*** your PATH or compiler configuration so that the native linker is
8482
8525
*** used, and then restart.
8483
8526
 
8484
 
EOF
8485
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8527
_LT_EOF
 
8528
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8486
8529
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8487
8530
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8488
8531
      else
8506
8549
_LT_EOF
8507
8550
        ;;
8508
8551
        *)
8509
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8510
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8511
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8512
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8552
          # For security reasons, it is highly recommended that you always
 
8553
          # use absolute paths for naming shared libraries, and exclude the
 
8554
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8555
          # requires that you compile everything twice, which is a pain.
 
8556
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8557
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8558
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8559
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8513
8560
          else
8514
8561
            ld_shlibs=no
8515
8562
          fi
8525
8572
      ;;
8526
8573
 
8527
8574
    *)
8528
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8575
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8529
8576
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8530
8577
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8531
8578
      else
8567
8614
      else
8568
8615
        # If we're using GNU nm, then we don't want the "-C" option.
8569
8616
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8570
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8571
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
8617
        # Also, AIX nm treats weak defined symbols like other global
 
8618
        # defined symbols, whereas GNU nm marks them as "W".
 
8619
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8620
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8572
8621
        else
8573
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
8622
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8574
8623
        fi
8575
8624
        aix_use_runtimelinking=no
8576
8625
 
8579
8628
        # need to do runtime linking.
8580
8629
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8581
8630
          for ld_flag in $LDFLAGS; do
8582
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8583
 
            aix_use_runtimelinking=yes
8584
 
            break
8585
 
          fi
 
8631
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8632
            aix_use_runtimelinking=yes
 
8633
            break
 
8634
          fi
8586
8635
          done
8587
8636
          ;;
8588
8637
        esac
8599
8648
 
8600
8649
      archive_cmds=''
8601
8650
      hardcode_direct=yes
 
8651
      hardcode_direct_absolute=yes
8602
8652
      hardcode_libdir_separator=':'
8603
8653
      link_all_deplibs=yes
 
8654
      file_list_spec='${wl}-f,'
8604
8655
 
8605
8656
      if test "$GCC" = yes; then
8606
8657
        case $host_os in aix4.[012]|aix4.[012].*)
8607
8658
        # We only want to do this on AIX 4.2 and lower, the check
8608
8659
        # below for broken collect2 doesn't work under 4.3+
8609
8660
          collect2name=`${CC} -print-prog-name=collect2`
8610
 
          if test -f "$collect2name" && \
8611
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8661
          if test -f "$collect2name" &&
 
8662
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8612
8663
          then
8613
 
          # We have reworked collect2
8614
 
          :
 
8664
          # We have reworked collect2
 
8665
          :
8615
8666
          else
8616
 
          # We have old collect2
8617
 
          hardcode_direct=unsupported
8618
 
          # It fails to find uninstalled libraries when the uninstalled
8619
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8620
 
          # to unsupported forces relinking
8621
 
          hardcode_minus_L=yes
8622
 
          hardcode_libdir_flag_spec='-L$libdir'
8623
 
          hardcode_libdir_separator=
 
8667
          # We have old collect2
 
8668
          hardcode_direct=unsupported
 
8669
          # It fails to find uninstalled libraries when the uninstalled
 
8670
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8671
          # to unsupported forces relinking
 
8672
          hardcode_minus_L=yes
 
8673
          hardcode_libdir_flag_spec='-L$libdir'
 
8674
          hardcode_libdir_separator=
8624
8675
          fi
8625
8676
          ;;
8626
8677
        esac
8631
8682
      else
8632
8683
        # not using gcc
8633
8684
        if test "$host_cpu" = ia64; then
8634
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8635
 
        # chokes on -Wl,-G. The following line is correct:
 
8685
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8686
        # chokes on -Wl,-G. The following line is correct:
8636
8687
          shared_flag='-G'
8637
8688
        else
8638
8689
          if test "$aix_use_runtimelinking" = yes; then
8643
8694
        fi
8644
8695
      fi
8645
8696
 
 
8697
      export_dynamic_flag_spec='${wl}-bexpall'
8646
8698
      # It seems that -bexpall does not export symbols beginning with
8647
8699
      # underscore (_), so it is better to generate a list of symbols to export.
8648
8700
      always_export_symbols=yes
8650
8702
        # Warning - without using the other runtime loading flags (-brtl),
8651
8703
        # -berok will link without error, but may produce a broken library.
8652
8704
        allow_undefined_flag='-berok'
8653
 
       # Determine the default libpath from the value encoded in an empty executable.
8654
 
       cat >conftest.$ac_ext <<_ACEOF
8655
 
/* confdefs.h.  */
8656
 
_ACEOF
8657
 
cat confdefs.h >>conftest.$ac_ext
8658
 
cat >>conftest.$ac_ext <<_ACEOF
 
8705
        # Determine the default libpath from the value encoded in an
 
8706
        # empty executable.
 
8707
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659
8708
/* end confdefs.h.  */
8660
8709
 
8661
8710
int
8666
8715
  return 0;
8667
8716
}
8668
8717
_ACEOF
8669
 
rm -f conftest.$ac_objext conftest$ac_exeext
8670
 
if { (ac_try="$ac_link"
8671
 
case "(($ac_try" in
8672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8673
 
  *) ac_try_echo=$ac_try;;
8674
 
esac
8675
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8676
 
$as_echo "$ac_try_echo") >&5
8677
 
  (eval "$ac_link") 2>conftest.er1
8678
 
  ac_status=$?
8679
 
  grep -v '^ *+' conftest.er1 >conftest.err
8680
 
  rm -f conftest.er1
8681
 
  cat conftest.err >&5
8682
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683
 
  (exit $ac_status); } && {
8684
 
         test -z "$ac_c_werror_flag" ||
8685
 
         test ! -s conftest.err
8686
 
       } && test -s conftest$ac_exeext && {
8687
 
         test "$cross_compiling" = yes ||
8688
 
         $as_test_x conftest$ac_exeext
8689
 
       }; then
 
8718
if ac_fn_c_try_link "$LINENO"; then :
8690
8719
 
8691
8720
lt_aix_libpath_sed='
8692
8721
    /Import File Strings/,/^$/ {
8700
8729
if test -z "$aix_libpath"; then
8701
8730
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8702
8731
fi
8703
 
else
8704
 
  $as_echo "$as_me: failed program was:" >&5
8705
 
sed 's/^/| /' conftest.$ac_ext >&5
8706
 
 
8707
 
 
8708
8732
fi
8709
 
 
8710
 
rm -rf conftest.dSYM
8711
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8712
 
      conftest$ac_exeext conftest.$ac_ext
 
8733
rm -f core conftest.err conftest.$ac_objext \
 
8734
    conftest$ac_exeext conftest.$ac_ext
8713
8735
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8714
8736
 
8715
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8716
 
        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"
8717
 
       else
 
8737
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8738
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8739
      else
8718
8740
        if test "$host_cpu" = ia64; then
8719
8741
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8720
8742
          allow_undefined_flag="-z nodefs"
8721
8743
          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"
8722
8744
        else
8723
 
         # Determine the default libpath from the value encoded in an empty executable.
8724
 
         cat >conftest.$ac_ext <<_ACEOF
8725
 
/* confdefs.h.  */
8726
 
_ACEOF
8727
 
cat confdefs.h >>conftest.$ac_ext
8728
 
cat >>conftest.$ac_ext <<_ACEOF
 
8745
         # Determine the default libpath from the value encoded in an
 
8746
         # empty executable.
 
8747
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729
8748
/* end confdefs.h.  */
8730
8749
 
8731
8750
int
8736
8755
  return 0;
8737
8756
}
8738
8757
_ACEOF
8739
 
rm -f conftest.$ac_objext conftest$ac_exeext
8740
 
if { (ac_try="$ac_link"
8741
 
case "(($ac_try" in
8742
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743
 
  *) ac_try_echo=$ac_try;;
8744
 
esac
8745
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8746
 
$as_echo "$ac_try_echo") >&5
8747
 
  (eval "$ac_link") 2>conftest.er1
8748
 
  ac_status=$?
8749
 
  grep -v '^ *+' conftest.er1 >conftest.err
8750
 
  rm -f conftest.er1
8751
 
  cat conftest.err >&5
8752
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753
 
  (exit $ac_status); } && {
8754
 
         test -z "$ac_c_werror_flag" ||
8755
 
         test ! -s conftest.err
8756
 
       } && test -s conftest$ac_exeext && {
8757
 
         test "$cross_compiling" = yes ||
8758
 
         $as_test_x conftest$ac_exeext
8759
 
       }; then
 
8758
if ac_fn_c_try_link "$LINENO"; then :
8760
8759
 
8761
8760
lt_aix_libpath_sed='
8762
8761
    /Import File Strings/,/^$/ {
8770
8769
if test -z "$aix_libpath"; then
8771
8770
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8772
8771
fi
8773
 
else
8774
 
  $as_echo "$as_me: failed program was:" >&5
8775
 
sed 's/^/| /' conftest.$ac_ext >&5
8776
 
 
8777
 
 
8778
8772
fi
8779
 
 
8780
 
rm -rf conftest.dSYM
8781
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8782
 
      conftest$ac_exeext conftest.$ac_ext
 
8773
rm -f core conftest.err conftest.$ac_objext \
 
8774
    conftest$ac_exeext conftest.$ac_ext
8783
8775
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8784
8776
 
8785
8777
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8787
8779
          # -berok will link without error, but may produce a broken library.
8788
8780
          no_undefined_flag=' ${wl}-bernotok'
8789
8781
          allow_undefined_flag=' ${wl}-berok'
8790
 
          # Exported symbols can be pulled into shared objects from archives
8791
 
          whole_archive_flag_spec='$convenience'
 
8782
          if test "$with_gnu_ld" = yes; then
 
8783
            # We only use this code for GNU lds that support --whole-archive.
 
8784
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8785
          else
 
8786
            # Exported symbols can be pulled into shared objects from archives
 
8787
            whole_archive_flag_spec='$convenience'
 
8788
          fi
8792
8789
          archive_cmds_need_lc=yes
8793
8790
          # This is similar to how AIX traditionally builds its shared libraries.
8794
8791
          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'
8797
8794
      ;;
8798
8795
 
8799
8796
    amigaos*)
8800
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8801
 
      hardcode_libdir_flag_spec='-L$libdir'
8802
 
      hardcode_minus_L=yes
8803
 
      # see comment about different semantics on the GNU ld section
8804
 
      ld_shlibs=no
 
8797
      case $host_cpu in
 
8798
      powerpc)
 
8799
            # see comment about AmigaOS4 .so support
 
8800
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8801
            archive_expsym_cmds=''
 
8802
        ;;
 
8803
      m68k)
 
8804
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8805
            hardcode_libdir_flag_spec='-L$libdir'
 
8806
            hardcode_minus_L=yes
 
8807
        ;;
 
8808
      esac
8805
8809
      ;;
8806
8810
 
8807
8811
    bsdi[45]*)
8808
8812
      export_dynamic_flag_spec=-rdynamic
8809
8813
      ;;
8810
8814
 
8811
 
    cygwin* | mingw* | pw32*)
 
8815
    cygwin* | mingw* | pw32* | cegcc*)
8812
8816
      # When not using gcc, we currently assume that we are using
8813
8817
      # Microsoft Visual C++.
8814
8818
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8820
8824
      # Tell ltmain to make .dll files, not .so files.
8821
8825
      shrext_cmds=".dll"
8822
8826
      # FIXME: Setting linknames here is a bad hack.
8823
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8827
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8824
8828
      # The linker will automatically build a .lib file if we build a DLL.
8825
 
      old_archive_From_new_cmds='true'
 
8829
      old_archive_from_new_cmds='true'
8826
8830
      # FIXME: Should let the user specify the lib program.
8827
8831
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8828
8832
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8830
8834
      ;;
8831
8835
 
8832
8836
    darwin* | rhapsody*)
8833
 
      case $host_os in
8834
 
        rhapsody* | darwin1.[012])
8835
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8836
 
         ;;
8837
 
       *) # Darwin 1.3 on
8838
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8839
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8840
 
         else
8841
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8842
 
             10.[012])
8843
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8844
 
               ;;
8845
 
             10.*)
8846
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8847
 
               ;;
8848
 
           esac
8849
 
         fi
8850
 
         ;;
8851
 
      esac
8852
 
      archive_cmds_need_lc=no
8853
 
      hardcode_direct=no
8854
 
      hardcode_automatic=yes
8855
 
      hardcode_shlibpath_var=unsupported
8856
 
      whole_archive_flag_spec=''
8857
 
      link_all_deplibs=yes
8858
 
    if test "$GCC" = yes ; then
8859
 
        output_verbose_link_cmd='echo'
8860
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8861
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8862
 
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8863
 
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8864
 
    else
8865
 
      case $cc_basename in
8866
 
        xlc*)
8867
 
         output_verbose_link_cmd='echo'
8868
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8869
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8870
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8871
 
         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}'
8872
 
          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}'
8873
 
          ;;
8874
 
       *)
8875
 
         ld_shlibs=no
8876
 
          ;;
8877
 
      esac
8878
 
    fi
 
8837
 
 
8838
 
 
8839
  archive_cmds_need_lc=no
 
8840
  hardcode_direct=no
 
8841
  hardcode_automatic=yes
 
8842
  hardcode_shlibpath_var=unsupported
 
8843
  if test "$lt_cv_ld_force_load" = "yes"; then
 
8844
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
8845
  else
 
8846
    whole_archive_flag_spec=''
 
8847
  fi
 
8848
  link_all_deplibs=yes
 
8849
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8850
  case $cc_basename in
 
8851
     ifort*) _lt_dar_can_shared=yes ;;
 
8852
     *) _lt_dar_can_shared=$GCC ;;
 
8853
  esac
 
8854
  if test "$_lt_dar_can_shared" = "yes"; then
 
8855
    output_verbose_link_cmd=func_echo_all
 
8856
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8857
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8858
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
8859
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
8860
 
 
8861
  else
 
8862
  ld_shlibs=no
 
8863
  fi
 
8864
 
8879
8865
      ;;
8880
8866
 
8881
8867
    dgux*)
8917
8903
 
8918
8904
    hpux9*)
8919
8905
      if test "$GCC" = yes; then
8920
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
8906
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8921
8907
      else
8922
 
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
8908
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8923
8909
      fi
8924
8910
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8925
8911
      hardcode_libdir_separator=:
8932
8918
      ;;
8933
8919
 
8934
8920
    hpux10*)
8935
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8921
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8936
8922
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8937
8923
      else
8938
8924
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8939
8925
      fi
8940
8926
      if test "$with_gnu_ld" = no; then
8941
8927
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8928
        hardcode_libdir_flag_spec_ld='+b $libdir'
8942
8929
        hardcode_libdir_separator=:
8943
 
 
8944
8930
        hardcode_direct=yes
 
8931
        hardcode_direct_absolute=yes
8945
8932
        export_dynamic_flag_spec='${wl}-E'
8946
 
 
8947
8933
        # hardcode_minus_L: Not really in the search PATH,
8948
8934
        # but as the default location of the library.
8949
8935
        hardcode_minus_L=yes
8951
8937
      ;;
8952
8938
 
8953
8939
    hpux11*)
8954
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8940
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8955
8941
        case $host_cpu in
8956
8942
        hppa*64*)
8957
8943
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8958
8944
          ;;
8959
8945
        ia64*)
8960
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8946
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8961
8947
          ;;
8962
8948
        *)
8963
8949
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8972
8958
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8973
8959
          ;;
8974
8960
        *)
8975
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8961
 
 
8962
          # Older versions of the 11.00 compiler do not understand -b yet
 
8963
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
8964
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
8965
$as_echo_n "checking if $CC understands -b... " >&6; }
 
8966
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
8967
  $as_echo_n "(cached) " >&6
 
8968
else
 
8969
  lt_cv_prog_compiler__b=no
 
8970
   save_LDFLAGS="$LDFLAGS"
 
8971
   LDFLAGS="$LDFLAGS -b"
 
8972
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8973
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8974
     # The linker can only warn and ignore the option if not recognized
 
8975
     # So say no if there are warnings
 
8976
     if test -s conftest.err; then
 
8977
       # Append any errors to the config.log.
 
8978
       cat conftest.err 1>&5
 
8979
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8980
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8981
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8982
         lt_cv_prog_compiler__b=yes
 
8983
       fi
 
8984
     else
 
8985
       lt_cv_prog_compiler__b=yes
 
8986
     fi
 
8987
   fi
 
8988
   $RM -r conftest*
 
8989
   LDFLAGS="$save_LDFLAGS"
 
8990
 
 
8991
fi
 
8992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
8993
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
8994
 
 
8995
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
8996
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8997
else
 
8998
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8999
fi
 
9000
 
8976
9001
          ;;
8977
9002
        esac
8978
9003
      fi
8982
9007
 
8983
9008
        case $host_cpu in
8984
9009
        hppa*64*|ia64*)
8985
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8986
9010
          hardcode_direct=no
8987
9011
          hardcode_shlibpath_var=no
8988
9012
          ;;
8989
9013
        *)
8990
9014
          hardcode_direct=yes
 
9015
          hardcode_direct_absolute=yes
8991
9016
          export_dynamic_flag_spec='${wl}-E'
8992
9017
 
8993
9018
          # hardcode_minus_L: Not really in the search PATH,
9000
9025
 
9001
9026
    irix5* | irix6* | nonstopux*)
9002
9027
      if test "$GCC" = yes; then
9003
 
        archive_cmds='$CC -shared $libobjs $deplibs $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'
 
9028
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9029
        # Try to use the -exported_symbol ld option, if it does not
 
9030
        # work, assume that -exports_file does not work either and
 
9031
        # implicitly export all symbols.
 
9032
        save_LDFLAGS="$LDFLAGS"
 
9033
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9034
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9035
/* end confdefs.h.  */
 
9036
int foo(void) {}
 
9037
_ACEOF
 
9038
if ac_fn_c_try_link "$LINENO"; then :
 
9039
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9040
 
 
9041
fi
 
9042
rm -f core conftest.err conftest.$ac_objext \
 
9043
    conftest$ac_exeext conftest.$ac_ext
 
9044
        LDFLAGS="$save_LDFLAGS"
9004
9045
      else
9005
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9006
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9046
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9047
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9007
9048
      fi
 
9049
      archive_cmds_need_lc='no'
9008
9050
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9009
9051
      hardcode_libdir_separator=:
 
9052
      inherit_rpath=yes
9010
9053
      link_all_deplibs=yes
9011
9054
      ;;
9012
9055
 
9013
9056
    netbsd*)
9014
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9057
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9015
9058
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9016
9059
      else
9017
9060
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9029
9072
      hardcode_shlibpath_var=no
9030
9073
      ;;
9031
9074
 
 
9075
    *nto* | *qnx*)
 
9076
      ;;
 
9077
 
9032
9078
    openbsd*)
9033
9079
      if test -f /usr/libexec/ld.so; then
9034
9080
        hardcode_direct=yes
9035
9081
        hardcode_shlibpath_var=no
9036
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9082
        hardcode_direct_absolute=yes
 
9083
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9037
9084
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9038
9085
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9039
9086
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9049
9096
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9050
9097
             ;;
9051
9098
          esac
9052
 
        fi
 
9099
        fi
9053
9100
      else
9054
9101
        ld_shlibs=no
9055
9102
      fi
9059
9106
      hardcode_libdir_flag_spec='-L$libdir'
9060
9107
      hardcode_minus_L=yes
9061
9108
      allow_undefined_flag=unsupported
9062
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9063
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9109
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9110
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9064
9111
      ;;
9065
9112
 
9066
9113
    osf3*)
9067
9114
      if test "$GCC" = yes; then
9068
9115
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9069
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
 
9116
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9070
9117
      else
9071
9118
        allow_undefined_flag=' -expect_unresolved \*'
9072
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
9119
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9073
9120
      fi
 
9121
      archive_cmds_need_lc='no'
9074
9122
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9075
9123
      hardcode_libdir_separator=:
9076
9124
      ;;
9078
9126
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9079
9127
      if test "$GCC" = yes; then
9080
9128
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9081
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
 
9129
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9082
9130
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9083
9131
      else
9084
9132
        allow_undefined_flag=' -expect_unresolved \*'
9085
 
        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'
9086
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9087
 
        $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'
 
9133
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9134
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 
9135
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9088
9136
 
9089
9137
        # Both c and cxx compiler support -rpath directly
9090
9138
        hardcode_libdir_flag_spec='-rpath $libdir'
9091
9139
      fi
 
9140
      archive_cmds_need_lc='no'
9092
9141
      hardcode_libdir_separator=:
9093
9142
      ;;
9094
9143
 
9095
9144
    solaris*)
9096
 
      no_undefined_flag=' -z text'
 
9145
      no_undefined_flag=' -z defs'
9097
9146
      if test "$GCC" = yes; then
9098
9147
        wlarc='${wl}'
9099
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9100
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9101
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9148
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9149
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9150
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9102
9151
      else
9103
 
        wlarc=''
9104
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9105
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9106
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9152
        case `$CC -V 2>&1` in
 
9153
        *"Compilers 5.0"*)
 
9154
          wlarc=''
 
9155
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9156
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9157
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9158
          ;;
 
9159
        *)
 
9160
          wlarc='${wl}'
 
9161
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9162
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9163
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9164
          ;;
 
9165
        esac
9107
9166
      fi
9108
9167
      hardcode_libdir_flag_spec='-R$libdir'
9109
9168
      hardcode_shlibpath_var=no
9113
9172
        # The compiler driver will combine and reorder linker options,
9114
9173
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9115
9174
        # but is careful enough not to reorder.
9116
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9175
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9117
9176
        if test "$GCC" = yes; then
9118
9177
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9119
9178
        else
9202
9261
      allow_undefined_flag='${wl}-z,nodefs'
9203
9262
      archive_cmds_need_lc=no
9204
9263
      hardcode_shlibpath_var=no
9205
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9264
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9206
9265
      hardcode_libdir_separator=':'
9207
9266
      link_all_deplibs=yes
9208
9267
      export_dynamic_flag_spec='${wl}-Bexport'
9209
9268
      runpath_var='LD_RUN_PATH'
9210
9269
 
9211
9270
      if test "$GCC" = yes; then
9212
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9213
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9271
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9272
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9214
9273
      else
9215
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9216
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9274
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9275
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9217
9276
      fi
9218
9277
      ;;
9219
9278
 
9227
9286
      ld_shlibs=no
9228
9287
      ;;
9229
9288
    esac
 
9289
 
 
9290
    if test x$host_vendor = xsni; then
 
9291
      case $host in
 
9292
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9293
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9294
        ;;
 
9295
      esac
 
9296
    fi
9230
9297
  fi
9231
9298
 
9232
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9233
9300
$as_echo "$ld_shlibs" >&6; }
9234
9301
test "$ld_shlibs" = no && can_build_shared=no
9235
9302
 
 
9303
with_gnu_ld=$with_gnu_ld
 
9304
 
 
9305
 
 
9306
 
 
9307
 
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
 
 
9315
 
 
9316
 
 
9317
 
 
9318
 
9236
9319
#
9237
9320
# Do we need to explicitly link libc?
9238
9321
#
9250
9333
      # Test whether the compiler implicitly links with -lc since on some
9251
9334
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9252
9335
      # to ld, don't add -lc before -lgcc.
9253
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9336
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9254
9337
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9255
 
      $rm conftest*
9256
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9338
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
9339
  $as_echo_n "(cached) " >&6
 
9340
else
 
9341
  $RM conftest*
 
9342
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9257
9343
 
9258
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9344
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9259
9345
  (eval $ac_compile) 2>&5
9260
9346
  ac_status=$?
9261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262
 
  (exit $ac_status); } 2>conftest.err; then
9263
 
        soname=conftest
9264
 
        lib=conftest
9265
 
        libobjs=conftest.$ac_objext
9266
 
        deplibs=
9267
 
        wl=$lt_prog_compiler_wl
9268
 
        pic_flag=$lt_prog_compiler_pic
9269
 
        compiler_flags=-v
9270
 
        linker_flags=-v
9271
 
        verstring=
9272
 
        output_objdir=.
9273
 
        libname=conftest
9274
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9275
 
        allow_undefined_flag=
9276
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9277
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9347
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9348
  test $ac_status = 0; } 2>conftest.err; then
 
9349
          soname=conftest
 
9350
          lib=conftest
 
9351
          libobjs=conftest.$ac_objext
 
9352
          deplibs=
 
9353
          wl=$lt_prog_compiler_wl
 
9354
          pic_flag=$lt_prog_compiler_pic
 
9355
          compiler_flags=-v
 
9356
          linker_flags=-v
 
9357
          verstring=
 
9358
          output_objdir=.
 
9359
          libname=conftest
 
9360
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9361
          allow_undefined_flag=
 
9362
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9363
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9278
9364
  ac_status=$?
9279
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280
 
  (exit $ac_status); }
9281
 
        then
9282
 
          archive_cmds_need_lc=no
9283
 
        else
9284
 
          archive_cmds_need_lc=yes
9285
 
        fi
9286
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9287
 
      else
9288
 
        cat conftest.err 1>&5
9289
 
      fi
9290
 
      $rm conftest*
9291
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9292
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9365
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9366
  test $ac_status = 0; }
 
9367
          then
 
9368
            lt_cv_archive_cmds_need_lc=no
 
9369
          else
 
9370
            lt_cv_archive_cmds_need_lc=yes
 
9371
          fi
 
9372
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9373
        else
 
9374
          cat conftest.err 1>&5
 
9375
        fi
 
9376
        $RM conftest*
 
9377
 
 
9378
fi
 
9379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9380
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9381
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9293
9382
      ;;
9294
9383
    esac
9295
9384
  fi
9296
9385
  ;;
9297
9386
esac
9298
9387
 
9299
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
 
 
9398
 
 
9399
 
 
9400
 
 
9401
 
 
9402
 
 
9403
 
 
9404
 
 
9405
 
 
9406
 
 
9407
 
 
9408
 
 
9409
 
 
9410
 
 
9411
 
 
9412
 
 
9413
 
 
9414
 
 
9415
 
 
9416
 
 
9417
 
 
9418
 
 
9419
 
 
9420
 
 
9421
 
 
9422
 
 
9423
 
 
9424
 
 
9425
 
 
9426
 
 
9427
 
 
9428
 
 
9429
 
 
9430
 
 
9431
 
 
9432
 
 
9433
 
 
9434
 
 
9435
 
 
9436
 
 
9437
 
 
9438
 
 
9439
 
 
9440
 
 
9441
 
 
9442
 
 
9443
 
 
9444
 
 
9445
 
 
9446
 
 
9447
 
 
9448
 
 
9449
 
 
9450
 
 
9451
 
 
9452
 
 
9453
 
 
9454
 
 
9455
 
 
9456
 
 
9457
 
 
9458
 
 
9459
 
 
9460
 
 
9461
 
 
9462
 
 
9463
 
 
9464
 
 
9465
 
 
9466
 
 
9467
 
 
9468
 
 
9469
 
 
9470
 
 
9471
 
 
9472
 
 
9473
 
 
9474
 
 
9475
 
 
9476
 
 
9477
 
 
9478
 
 
9479
 
 
9480
 
 
9481
 
 
9482
 
 
9483
 
 
9484
 
 
9485
 
 
9486
 
 
9487
 
 
9488
 
 
9489
 
 
9490
 
 
9491
 
 
9492
 
 
9493
 
 
9494
 
 
9495
 
 
9496
 
 
9497
 
 
9498
 
 
9499
 
 
9500
 
 
9501
 
 
9502
 
 
9503
 
 
9504
 
 
9505
 
 
9506
 
 
9507
 
 
9508
 
 
9509
 
 
9510
 
 
9511
 
 
9512
 
 
9513
 
 
9514
 
 
9515
 
 
9516
 
 
9517
 
 
9518
 
 
9519
 
 
9520
 
 
9521
 
 
9522
 
 
9523
 
 
9524
 
 
9525
 
 
9526
 
 
9527
 
 
9528
 
 
9529
 
 
9530
 
 
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
 
 
9536
 
 
9537
 
 
9538
 
 
9539
 
 
9540
 
 
9541
 
 
9542
 
 
9543
 
 
9544
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9300
9545
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9301
 
library_names_spec=
9302
 
libname_spec='lib$name'
9303
 
soname_spec=
9304
 
shrext_cmds=".so"
9305
 
postinstall_cmds=
9306
 
postuninstall_cmds=
9307
 
finish_cmds=
9308
 
finish_eval=
9309
 
shlibpath_var=
9310
 
shlibpath_overrides_runpath=unknown
9311
 
version_type=none
9312
 
dynamic_linker="$host_os ld.so"
9313
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9314
9546
 
9315
9547
if test "$GCC" = yes; then
9316
9548
  case $host_os in
9317
9549
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9318
9550
    *) lt_awk_arg="/^libraries:/" ;;
9319
9551
  esac
9320
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9321
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
9552
  case $host_os in
 
9553
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9554
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9555
  esac
 
9556
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9557
  case $lt_search_path_spec in
 
9558
  *\;*)
9322
9559
    # if the path contains ";" then we assume it to be the separator
9323
9560
    # otherwise default to the standard path separator (i.e. ":") - it is
9324
9561
    # assumed that no part of a normal pathname contains ";" but that should
9325
9562
    # okay in the real world where ";" in dirpaths is itself problematic.
9326
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9327
 
  else
9328
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9329
 
  fi
 
9563
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9564
    ;;
 
9565
  *)
 
9566
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9567
    ;;
 
9568
  esac
9330
9569
  # Ok, now we have the path, separated by spaces, we can step through it
9331
9570
  # and add multilib dir if necessary.
9332
9571
  lt_tmp_lt_search_path_spec=
9339
9578
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9340
9579
    fi
9341
9580
  done
9342
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9581
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9343
9582
BEGIN {RS=" "; FS="/|\n";} {
9344
9583
  lt_foo="";
9345
9584
  lt_count=0;
9359
9598
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9360
9599
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9361
9600
}'`
9362
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9601
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9602
  # for these hosts.
 
9603
  case $host_os in
 
9604
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9605
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9606
  esac
 
9607
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9363
9608
else
9364
9609
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9365
9610
fi
 
9611
library_names_spec=
 
9612
libname_spec='lib$name'
 
9613
soname_spec=
 
9614
shrext_cmds=".so"
 
9615
postinstall_cmds=
 
9616
postuninstall_cmds=
 
9617
finish_cmds=
 
9618
finish_eval=
 
9619
shlibpath_var=
 
9620
shlibpath_overrides_runpath=unknown
 
9621
version_type=none
 
9622
dynamic_linker="$host_os ld.so"
 
9623
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9366
9624
need_lib_prefix=unknown
9367
9625
hardcode_into_libs=no
9368
9626
 
9399
9657
      aix4 | aix4.[01] | aix4.[01].*)
9400
9658
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9401
9659
           echo ' yes '
9402
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9660
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9403
9661
        :
9404
9662
      else
9405
9663
        can_build_shared=no
9425
9683
  ;;
9426
9684
 
9427
9685
amigaos*)
9428
 
  library_names_spec='$libname.ixlibrary $libname.a'
9429
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9430
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9686
  case $host_cpu in
 
9687
  powerpc)
 
9688
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9689
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9690
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9691
    ;;
 
9692
  m68k)
 
9693
    library_names_spec='$libname.ixlibrary $libname.a'
 
9694
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9695
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9696
    ;;
 
9697
  esac
9431
9698
  ;;
9432
9699
 
9433
9700
beos*)
9450
9717
  # libtool to hard-code these into programs
9451
9718
  ;;
9452
9719
 
9453
 
cygwin* | mingw* | pw32*)
 
9720
cygwin* | mingw* | pw32* | cegcc*)
9454
9721
  version_type=windows
9455
9722
  shrext_cmds=".dll"
9456
9723
  need_version=no
9457
9724
  need_lib_prefix=no
9458
9725
 
9459
9726
  case $GCC,$host_os in
9460
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9727
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9461
9728
    library_names_spec='$libname.dll.a'
9462
9729
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9463
9730
    postinstall_cmds='base_file=`basename \${file}`~
9464
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9731
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9465
9732
      dldir=$destdir/`dirname \$dlpath`~
9466
9733
      test -d \$dldir || mkdir -p \$dldir~
9467
9734
      $install_prog $dir/$dlname \$dldir/$dlname~
9468
 
      chmod a+x \$dldir/$dlname'
 
9735
      chmod a+x \$dldir/$dlname~
 
9736
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9737
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9738
      fi'
9469
9739
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9470
9740
      dlpath=$dir/\$dldll~
9471
 
       $rm \$dlpath'
 
9741
       $RM \$dlpath'
9472
9742
    shlibpath_overrides_runpath=yes
9473
9743
 
9474
9744
    case $host_os in
9475
9745
    cygwin*)
9476
9746
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9477
9747
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9478
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9748
 
 
9749
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9479
9750
      ;;
9480
 
    mingw*)
 
9751
    mingw* | cegcc*)
9481
9752
      # MinGW DLLs use traditional 'lib' prefix
9482
9753
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9483
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9484
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9485
 
        # It is most probably a Windows format PATH printed by
9486
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9487
 
        # path with ; separators, and with drive letters. We can handle the
9488
 
        # drive letters (cygwin fileutils understands them), so leave them,
9489
 
        # especially as we might pass files found there to a mingw objdump,
9490
 
        # which wouldn't understand a cygwinified path. Ahh.
9491
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9492
 
      else
9493
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9494
 
      fi
9495
9754
      ;;
9496
9755
    pw32*)
9497
9756
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9514
9773
  version_type=darwin
9515
9774
  need_lib_prefix=no
9516
9775
  need_version=no
9517
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9776
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9518
9777
  soname_spec='${libname}${release}${major}$shared_ext'
9519
9778
  shlibpath_overrides_runpath=yes
9520
9779
  shlibpath_var=DYLD_LIBRARY_PATH
9591
9850
  hardcode_into_libs=yes
9592
9851
  ;;
9593
9852
 
 
9853
haiku*)
 
9854
  version_type=linux
 
9855
  need_lib_prefix=no
 
9856
  need_version=no
 
9857
  dynamic_linker="$host_os runtime_loader"
 
9858
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9859
  soname_spec='${libname}${release}${shared_ext}$major'
 
9860
  shlibpath_var=LIBRARY_PATH
 
9861
  shlibpath_overrides_runpath=yes
 
9862
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
9863
  hardcode_into_libs=yes
 
9864
  ;;
 
9865
 
9594
9866
hpux9* | hpux10* | hpux11*)
9595
9867
  # Give a soname corresponding to the major version so that dld.sl refuses to
9596
9868
  # link against other versions.
9613
9885
    fi
9614
9886
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9615
9887
    ;;
9616
 
   hppa*64*)
9617
 
     shrext_cmds='.sl'
9618
 
     hardcode_into_libs=yes
9619
 
     dynamic_linker="$host_os dld.sl"
9620
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9621
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9622
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9623
 
     soname_spec='${libname}${release}${shared_ext}$major'
9624
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9625
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9626
 
     ;;
9627
 
   *)
 
9888
  hppa*64*)
 
9889
    shrext_cmds='.sl'
 
9890
    hardcode_into_libs=yes
 
9891
    dynamic_linker="$host_os dld.sl"
 
9892
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9893
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9894
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9895
    soname_spec='${libname}${release}${shared_ext}$major'
 
9896
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9897
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9898
    ;;
 
9899
  *)
9628
9900
    shrext_cmds='.sl'
9629
9901
    dynamic_linker="$host_os dld.sl"
9630
9902
    shlibpath_var=SHLIB_PATH
9633
9905
    soname_spec='${libname}${release}${shared_ext}$major'
9634
9906
    ;;
9635
9907
  esac
9636
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9908
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9637
9909
  postinstall_cmds='chmod 555 $lib'
 
9910
  # or fails outright, so override atomically:
 
9911
  install_override_mode=555
9638
9912
  ;;
9639
9913
 
9640
9914
interix[3-9]*)
9692
9966
  ;;
9693
9967
 
9694
9968
# This must be Linux ELF.
9695
 
linux* | k*bsd*-gnu)
 
9969
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9696
9970
  version_type=linux
9697
9971
  need_lib_prefix=no
9698
9972
  need_version=no
9701
9975
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9702
9976
  shlibpath_var=LD_LIBRARY_PATH
9703
9977
  shlibpath_overrides_runpath=no
 
9978
 
 
9979
  # Some binutils ld are patched to set DT_RUNPATH
 
9980
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
9981
  $as_echo_n "(cached) " >&6
 
9982
else
 
9983
  lt_cv_shlibpath_overrides_runpath=no
 
9984
    save_LDFLAGS=$LDFLAGS
 
9985
    save_libdir=$libdir
 
9986
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9987
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9988
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9989
/* end confdefs.h.  */
 
9990
 
 
9991
int
 
9992
main ()
 
9993
{
 
9994
 
 
9995
  ;
 
9996
  return 0;
 
9997
}
 
9998
_ACEOF
 
9999
if ac_fn_c_try_link "$LINENO"; then :
 
10000
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10001
  lt_cv_shlibpath_overrides_runpath=yes
 
10002
fi
 
10003
fi
 
10004
rm -f core conftest.err conftest.$ac_objext \
 
10005
    conftest$ac_exeext conftest.$ac_ext
 
10006
    LDFLAGS=$save_LDFLAGS
 
10007
    libdir=$save_libdir
 
10008
 
 
10009
fi
 
10010
 
 
10011
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
10012
 
9704
10013
  # This implies no fast_install, which is unacceptable.
9705
10014
  # Some rework will be needed to allow for fast_install
9706
10015
  # before this can be enabled.
9707
10016
  hardcode_into_libs=yes
9708
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9709
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10017
 
 
10018
  # Add ABI-specific directories to the system library path.
 
10019
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9710
10020
 
9711
10021
  # Append ld.so.conf contents to the search path
9712
10022
  if test -f /etc/ld.so.conf; then
9713
 
    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' ' '`
 
10023
    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;s/"//g;/^$/d' | tr '\n' ' '`
9714
10024
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10025
 
9715
10026
  fi
9716
10027
 
9717
10028
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9727
10038
  version_type=sunos
9728
10039
  need_lib_prefix=no
9729
10040
  need_version=no
9730
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10041
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9731
10042
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9732
10043
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9733
10044
    dynamic_linker='NetBSD (a.out) ld.so'
9748
10059
  shlibpath_overrides_runpath=yes
9749
10060
  ;;
9750
10061
 
9751
 
nto-qnx*)
9752
 
  version_type=linux
 
10062
*nto* | *qnx*)
 
10063
  version_type=qnx
9753
10064
  need_lib_prefix=no
9754
10065
  need_version=no
9755
10066
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9756
10067
  soname_spec='${libname}${release}${shared_ext}$major'
9757
10068
  shlibpath_var=LD_LIBRARY_PATH
9758
 
  shlibpath_overrides_runpath=yes
 
10069
  shlibpath_overrides_runpath=no
 
10070
  hardcode_into_libs=yes
 
10071
  dynamic_linker='ldqnx.so'
9759
10072
  ;;
9760
10073
 
9761
10074
openbsd*)
9764
10077
  need_lib_prefix=no
9765
10078
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9766
10079
  case $host_os in
9767
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9768
 
    *)                         need_version=no  ;;
 
10080
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10081
    *)                          need_version=no  ;;
9769
10082
  esac
9770
10083
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9771
10084
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9772
10085
  shlibpath_var=LD_LIBRARY_PATH
9773
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10086
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9774
10087
    case $host_os in
9775
10088
      openbsd2.[89] | openbsd2.[89].*)
9776
10089
        shlibpath_overrides_runpath=no
9842
10155
    sni)
9843
10156
      shlibpath_overrides_runpath=no
9844
10157
      need_lib_prefix=no
9845
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9846
10158
      runpath_var=LD_RUN_PATH
9847
10159
      ;;
9848
10160
    siemens)
9873
10185
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9874
10186
  soname_spec='${libname}${release}${shared_ext}$major'
9875
10187
  shlibpath_var=LD_LIBRARY_PATH
 
10188
  shlibpath_overrides_runpath=yes
9876
10189
  hardcode_into_libs=yes
9877
10190
  if test "$with_gnu_ld" = yes; then
9878
10191
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9879
 
    shlibpath_overrides_runpath=no
9880
10192
  else
9881
10193
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9882
 
    shlibpath_overrides_runpath=yes
9883
10194
    case $host_os in
9884
10195
      sco3.2v5*)
9885
10196
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9889
10200
  sys_lib_dlsearch_path_spec='/usr/lib'
9890
10201
  ;;
9891
10202
 
 
10203
tpf*)
 
10204
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10205
  version_type=linux
 
10206
  need_lib_prefix=no
 
10207
  need_version=no
 
10208
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10209
  shlibpath_var=LD_LIBRARY_PATH
 
10210
  shlibpath_overrides_runpath=no
 
10211
  hardcode_into_libs=yes
 
10212
  ;;
 
10213
 
9892
10214
uts4*)
9893
10215
  version_type=linux
9894
10216
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900
10222
  dynamic_linker=no
9901
10223
  ;;
9902
10224
esac
9903
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9904
10226
$as_echo "$dynamic_linker" >&6; }
9905
10227
test "$dynamic_linker" = no && can_build_shared=no
9906
10228
 
9907
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9908
 
  $as_echo_n "(cached) " >&6
9909
 
else
9910
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9911
 
fi
9912
 
 
9913
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9914
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9915
 
  $as_echo_n "(cached) " >&6
9916
 
else
9917
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9918
 
fi
9919
 
 
9920
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9921
 
 
9922
10229
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9923
10230
if test "$GCC" = yes; then
9924
10231
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9925
10232
fi
9926
10233
 
9927
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10234
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10235
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10236
fi
 
10237
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10238
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10239
fi
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9928
10333
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9929
10334
hardcode_action=
9930
 
if test -n "$hardcode_libdir_flag_spec" || \
9931
 
   test -n "$runpath_var" || \
 
10335
if test -n "$hardcode_libdir_flag_spec" ||
 
10336
   test -n "$runpath_var" ||
9932
10337
   test "X$hardcode_automatic" = "Xyes" ; then
9933
10338
 
9934
 
  # We can hardcode non-existant directories.
 
10339
  # We can hardcode non-existent directories.
9935
10340
  if test "$hardcode_direct" != no &&
9936
10341
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9937
10342
     # have to relink, otherwise we might link with an installed library
9938
10343
     # when we should be linking with a yet-to-be-installed one
9939
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10344
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9940
10345
     test "$hardcode_minus_L" != no; then
9941
10346
    # Linking always hardcodes the temporary library directory.
9942
10347
    hardcode_action=relink
9949
10354
  # directories.
9950
10355
  hardcode_action=unsupported
9951
10356
fi
9952
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9953
10358
$as_echo "$hardcode_action" >&6; }
9954
10359
 
9955
 
if test "$hardcode_action" = relink; then
 
10360
if test "$hardcode_action" = relink ||
 
10361
   test "$inherit_rpath" = yes; then
9956
10362
  # Fast installation is not supported
9957
10363
  enable_fast_install=no
9958
10364
elif test "$shlibpath_overrides_runpath" = yes ||
9961
10367
  enable_fast_install=needless
9962
10368
fi
9963
10369
 
9964
 
striplib=
9965
 
old_striplib=
9966
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9967
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
9968
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9969
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9970
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9971
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
9972
 
$as_echo "yes" >&6; }
9973
 
else
9974
 
# FIXME - insert some real tests, host_os isn't really good enough
9975
 
  case $host_os in
9976
 
   darwin*)
9977
 
       if test -n "$STRIP" ; then
9978
 
         striplib="$STRIP -x"
9979
 
         old_striplib="$STRIP -S"
9980
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
9981
 
$as_echo "yes" >&6; }
9982
 
       else
9983
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9984
 
$as_echo "no" >&6; }
9985
 
fi
9986
 
       ;;
9987
 
   *)
9988
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9989
 
$as_echo "no" >&6; }
9990
 
    ;;
9991
 
  esac
9992
 
fi
9993
 
 
9994
 
if test "x$enable_dlopen" != xyes; then
 
10370
 
 
10371
 
 
10372
 
 
10373
 
 
10374
 
 
10375
  if test "x$enable_dlopen" != xyes; then
9995
10376
  enable_dlopen=unknown
9996
10377
  enable_dlopen_self=unknown
9997
10378
  enable_dlopen_self_static=unknown
10006
10387
    lt_cv_dlopen_self=yes
10007
10388
    ;;
10008
10389
 
10009
 
  mingw* | pw32*)
 
10390
  mingw* | pw32* | cegcc*)
10010
10391
    lt_cv_dlopen="LoadLibrary"
10011
10392
    lt_cv_dlopen_libs=
10012
 
   ;;
 
10393
    ;;
10013
10394
 
10014
10395
  cygwin*)
10015
10396
    lt_cv_dlopen="dlopen"
10016
10397
    lt_cv_dlopen_libs=
10017
 
   ;;
 
10398
    ;;
10018
10399
 
10019
10400
  darwin*)
10020
10401
  # if libdl is installed we need to link against it
10021
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10402
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10022
10403
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10023
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10404
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10024
10405
  $as_echo_n "(cached) " >&6
10025
10406
else
10026
10407
  ac_check_lib_save_LIBS=$LIBS
10027
10408
LIBS="-ldl  $LIBS"
10028
 
cat >conftest.$ac_ext <<_ACEOF
10029
 
/* confdefs.h.  */
10030
 
_ACEOF
10031
 
cat confdefs.h >>conftest.$ac_ext
10032
 
cat >>conftest.$ac_ext <<_ACEOF
 
10409
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033
10410
/* end confdefs.h.  */
10034
10411
 
10035
10412
/* Override any GCC internal prototype to avoid an error.
10047
10424
  return 0;
10048
10425
}
10049
10426
_ACEOF
10050
 
rm -f conftest.$ac_objext conftest$ac_exeext
10051
 
if { (ac_try="$ac_link"
10052
 
case "(($ac_try" in
10053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10054
 
  *) ac_try_echo=$ac_try;;
10055
 
esac
10056
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10057
 
$as_echo "$ac_try_echo") >&5
10058
 
  (eval "$ac_link") 2>conftest.er1
10059
 
  ac_status=$?
10060
 
  grep -v '^ *+' conftest.er1 >conftest.err
10061
 
  rm -f conftest.er1
10062
 
  cat conftest.err >&5
10063
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064
 
  (exit $ac_status); } && {
10065
 
         test -z "$ac_c_werror_flag" ||
10066
 
         test ! -s conftest.err
10067
 
       } && test -s conftest$ac_exeext && {
10068
 
         test "$cross_compiling" = yes ||
10069
 
         $as_test_x conftest$ac_exeext
10070
 
       }; then
 
10427
if ac_fn_c_try_link "$LINENO"; then :
10071
10428
  ac_cv_lib_dl_dlopen=yes
10072
10429
else
10073
 
  $as_echo "$as_me: failed program was:" >&5
10074
 
sed 's/^/| /' conftest.$ac_ext >&5
10075
 
 
10076
 
        ac_cv_lib_dl_dlopen=no
 
10430
  ac_cv_lib_dl_dlopen=no
10077
10431
fi
10078
 
 
10079
 
rm -rf conftest.dSYM
10080
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10081
 
      conftest$ac_exeext conftest.$ac_ext
 
10432
rm -f core conftest.err conftest.$ac_objext \
 
10433
    conftest$ac_exeext conftest.$ac_ext
10082
10434
LIBS=$ac_check_lib_save_LIBS
10083
10435
fi
10084
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10085
10437
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10086
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10438
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10087
10439
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10088
10440
else
10089
10441
 
10093
10445
 
10094
10446
fi
10095
10447
 
10096
 
   ;;
 
10448
    ;;
10097
10449
 
10098
10450
  *)
10099
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10100
 
$as_echo_n "checking for shl_load... " >&6; }
10101
 
if test "${ac_cv_func_shl_load+set}" = set; then
10102
 
  $as_echo_n "(cached) " >&6
10103
 
else
10104
 
  cat >conftest.$ac_ext <<_ACEOF
10105
 
/* confdefs.h.  */
10106
 
_ACEOF
10107
 
cat confdefs.h >>conftest.$ac_ext
10108
 
cat >>conftest.$ac_ext <<_ACEOF
10109
 
/* end confdefs.h.  */
10110
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10111
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10112
 
#define shl_load innocuous_shl_load
10113
 
 
10114
 
/* System header to define __stub macros and hopefully few prototypes,
10115
 
    which can conflict with char shl_load (); below.
10116
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10117
 
    <limits.h> exists even on freestanding compilers.  */
10118
 
 
10119
 
#ifdef __STDC__
10120
 
# include <limits.h>
10121
 
#else
10122
 
# include <assert.h>
10123
 
#endif
10124
 
 
10125
 
#undef shl_load
10126
 
 
10127
 
/* Override any GCC internal prototype to avoid an error.
10128
 
   Use char because int might match the return type of a GCC
10129
 
   builtin and then its argument prototype would still apply.  */
10130
 
#ifdef __cplusplus
10131
 
extern "C"
10132
 
#endif
10133
 
char shl_load ();
10134
 
/* The GNU C library defines this for functions which it implements
10135
 
    to always fail with ENOSYS.  Some functions are actually named
10136
 
    something starting with __ and the normal name is an alias.  */
10137
 
#if defined __stub_shl_load || defined __stub___shl_load
10138
 
choke me
10139
 
#endif
10140
 
 
10141
 
int
10142
 
main ()
10143
 
{
10144
 
return shl_load ();
10145
 
  ;
10146
 
  return 0;
10147
 
}
10148
 
_ACEOF
10149
 
rm -f conftest.$ac_objext conftest$ac_exeext
10150
 
if { (ac_try="$ac_link"
10151
 
case "(($ac_try" in
10152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10153
 
  *) ac_try_echo=$ac_try;;
10154
 
esac
10155
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10156
 
$as_echo "$ac_try_echo") >&5
10157
 
  (eval "$ac_link") 2>conftest.er1
10158
 
  ac_status=$?
10159
 
  grep -v '^ *+' conftest.er1 >conftest.err
10160
 
  rm -f conftest.er1
10161
 
  cat conftest.err >&5
10162
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163
 
  (exit $ac_status); } && {
10164
 
         test -z "$ac_c_werror_flag" ||
10165
 
         test ! -s conftest.err
10166
 
       } && test -s conftest$ac_exeext && {
10167
 
         test "$cross_compiling" = yes ||
10168
 
         $as_test_x conftest$ac_exeext
10169
 
       }; then
10170
 
  ac_cv_func_shl_load=yes
10171
 
else
10172
 
  $as_echo "$as_me: failed program was:" >&5
10173
 
sed 's/^/| /' conftest.$ac_ext >&5
10174
 
 
10175
 
        ac_cv_func_shl_load=no
10176
 
fi
10177
 
 
10178
 
rm -rf conftest.dSYM
10179
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10180
 
      conftest$ac_exeext conftest.$ac_ext
10181
 
fi
10182
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10183
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10184
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10451
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10452
if test "x$ac_cv_func_shl_load" = x""yes; then :
10185
10453
  lt_cv_dlopen="shl_load"
10186
10454
else
10187
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10455
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10188
10456
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10189
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10457
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10190
10458
  $as_echo_n "(cached) " >&6
10191
10459
else
10192
10460
  ac_check_lib_save_LIBS=$LIBS
10193
10461
LIBS="-ldld  $LIBS"
10194
 
cat >conftest.$ac_ext <<_ACEOF
10195
 
/* confdefs.h.  */
10196
 
_ACEOF
10197
 
cat confdefs.h >>conftest.$ac_ext
10198
 
cat >>conftest.$ac_ext <<_ACEOF
 
10462
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199
10463
/* end confdefs.h.  */
10200
10464
 
10201
10465
/* Override any GCC internal prototype to avoid an error.
10213
10477
  return 0;
10214
10478
}
10215
10479
_ACEOF
10216
 
rm -f conftest.$ac_objext conftest$ac_exeext
10217
 
if { (ac_try="$ac_link"
10218
 
case "(($ac_try" in
10219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10220
 
  *) ac_try_echo=$ac_try;;
10221
 
esac
10222
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10223
 
$as_echo "$ac_try_echo") >&5
10224
 
  (eval "$ac_link") 2>conftest.er1
10225
 
  ac_status=$?
10226
 
  grep -v '^ *+' conftest.er1 >conftest.err
10227
 
  rm -f conftest.er1
10228
 
  cat conftest.err >&5
10229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230
 
  (exit $ac_status); } && {
10231
 
         test -z "$ac_c_werror_flag" ||
10232
 
         test ! -s conftest.err
10233
 
       } && test -s conftest$ac_exeext && {
10234
 
         test "$cross_compiling" = yes ||
10235
 
         $as_test_x conftest$ac_exeext
10236
 
       }; then
 
10480
if ac_fn_c_try_link "$LINENO"; then :
10237
10481
  ac_cv_lib_dld_shl_load=yes
10238
10482
else
10239
 
  $as_echo "$as_me: failed program was:" >&5
10240
 
sed 's/^/| /' conftest.$ac_ext >&5
10241
 
 
10242
 
        ac_cv_lib_dld_shl_load=no
 
10483
  ac_cv_lib_dld_shl_load=no
10243
10484
fi
10244
 
 
10245
 
rm -rf conftest.dSYM
10246
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10247
 
      conftest$ac_exeext conftest.$ac_ext
 
10485
rm -f core conftest.err conftest.$ac_objext \
 
10486
    conftest$ac_exeext conftest.$ac_ext
10248
10487
LIBS=$ac_check_lib_save_LIBS
10249
10488
fi
10250
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10251
10490
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10252
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10491
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10253
10492
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10254
10493
else
10255
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10256
 
$as_echo_n "checking for dlopen... " >&6; }
10257
 
if test "${ac_cv_func_dlopen+set}" = set; then
10258
 
  $as_echo_n "(cached) " >&6
10259
 
else
10260
 
  cat >conftest.$ac_ext <<_ACEOF
10261
 
/* confdefs.h.  */
10262
 
_ACEOF
10263
 
cat confdefs.h >>conftest.$ac_ext
10264
 
cat >>conftest.$ac_ext <<_ACEOF
10265
 
/* end confdefs.h.  */
10266
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10267
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10268
 
#define dlopen innocuous_dlopen
10269
 
 
10270
 
/* System header to define __stub macros and hopefully few prototypes,
10271
 
    which can conflict with char dlopen (); below.
10272
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10273
 
    <limits.h> exists even on freestanding compilers.  */
10274
 
 
10275
 
#ifdef __STDC__
10276
 
# include <limits.h>
10277
 
#else
10278
 
# include <assert.h>
10279
 
#endif
10280
 
 
10281
 
#undef dlopen
10282
 
 
10283
 
/* Override any GCC internal prototype to avoid an error.
10284
 
   Use char because int might match the return type of a GCC
10285
 
   builtin and then its argument prototype would still apply.  */
10286
 
#ifdef __cplusplus
10287
 
extern "C"
10288
 
#endif
10289
 
char dlopen ();
10290
 
/* The GNU C library defines this for functions which it implements
10291
 
    to always fail with ENOSYS.  Some functions are actually named
10292
 
    something starting with __ and the normal name is an alias.  */
10293
 
#if defined __stub_dlopen || defined __stub___dlopen
10294
 
choke me
10295
 
#endif
10296
 
 
10297
 
int
10298
 
main ()
10299
 
{
10300
 
return dlopen ();
10301
 
  ;
10302
 
  return 0;
10303
 
}
10304
 
_ACEOF
10305
 
rm -f conftest.$ac_objext conftest$ac_exeext
10306
 
if { (ac_try="$ac_link"
10307
 
case "(($ac_try" in
10308
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10309
 
  *) ac_try_echo=$ac_try;;
10310
 
esac
10311
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10312
 
$as_echo "$ac_try_echo") >&5
10313
 
  (eval "$ac_link") 2>conftest.er1
10314
 
  ac_status=$?
10315
 
  grep -v '^ *+' conftest.er1 >conftest.err
10316
 
  rm -f conftest.er1
10317
 
  cat conftest.err >&5
10318
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319
 
  (exit $ac_status); } && {
10320
 
         test -z "$ac_c_werror_flag" ||
10321
 
         test ! -s conftest.err
10322
 
       } && test -s conftest$ac_exeext && {
10323
 
         test "$cross_compiling" = yes ||
10324
 
         $as_test_x conftest$ac_exeext
10325
 
       }; then
10326
 
  ac_cv_func_dlopen=yes
10327
 
else
10328
 
  $as_echo "$as_me: failed program was:" >&5
10329
 
sed 's/^/| /' conftest.$ac_ext >&5
10330
 
 
10331
 
        ac_cv_func_dlopen=no
10332
 
fi
10333
 
 
10334
 
rm -rf conftest.dSYM
10335
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10336
 
      conftest$ac_exeext conftest.$ac_ext
10337
 
fi
10338
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10339
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10340
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10494
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10495
if test "x$ac_cv_func_dlopen" = x""yes; then :
10341
10496
  lt_cv_dlopen="dlopen"
10342
10497
else
10343
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10498
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10344
10499
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10345
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10500
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10346
10501
  $as_echo_n "(cached) " >&6
10347
10502
else
10348
10503
  ac_check_lib_save_LIBS=$LIBS
10349
10504
LIBS="-ldl  $LIBS"
10350
 
cat >conftest.$ac_ext <<_ACEOF
10351
 
/* confdefs.h.  */
10352
 
_ACEOF
10353
 
cat confdefs.h >>conftest.$ac_ext
10354
 
cat >>conftest.$ac_ext <<_ACEOF
 
10505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355
10506
/* end confdefs.h.  */
10356
10507
 
10357
10508
/* Override any GCC internal prototype to avoid an error.
10369
10520
  return 0;
10370
10521
}
10371
10522
_ACEOF
10372
 
rm -f conftest.$ac_objext conftest$ac_exeext
10373
 
if { (ac_try="$ac_link"
10374
 
case "(($ac_try" in
10375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10376
 
  *) ac_try_echo=$ac_try;;
10377
 
esac
10378
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10379
 
$as_echo "$ac_try_echo") >&5
10380
 
  (eval "$ac_link") 2>conftest.er1
10381
 
  ac_status=$?
10382
 
  grep -v '^ *+' conftest.er1 >conftest.err
10383
 
  rm -f conftest.er1
10384
 
  cat conftest.err >&5
10385
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386
 
  (exit $ac_status); } && {
10387
 
         test -z "$ac_c_werror_flag" ||
10388
 
         test ! -s conftest.err
10389
 
       } && test -s conftest$ac_exeext && {
10390
 
         test "$cross_compiling" = yes ||
10391
 
         $as_test_x conftest$ac_exeext
10392
 
       }; then
 
10523
if ac_fn_c_try_link "$LINENO"; then :
10393
10524
  ac_cv_lib_dl_dlopen=yes
10394
10525
else
10395
 
  $as_echo "$as_me: failed program was:" >&5
10396
 
sed 's/^/| /' conftest.$ac_ext >&5
10397
 
 
10398
 
        ac_cv_lib_dl_dlopen=no
 
10526
  ac_cv_lib_dl_dlopen=no
10399
10527
fi
10400
 
 
10401
 
rm -rf conftest.dSYM
10402
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10403
 
      conftest$ac_exeext conftest.$ac_ext
 
10528
rm -f core conftest.err conftest.$ac_objext \
 
10529
    conftest$ac_exeext conftest.$ac_ext
10404
10530
LIBS=$ac_check_lib_save_LIBS
10405
10531
fi
10406
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10407
10533
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10408
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10534
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10409
10535
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10410
10536
else
10411
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10537
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10412
10538
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10413
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10539
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10414
10540
  $as_echo_n "(cached) " >&6
10415
10541
else
10416
10542
  ac_check_lib_save_LIBS=$LIBS
10417
10543
LIBS="-lsvld  $LIBS"
10418
 
cat >conftest.$ac_ext <<_ACEOF
10419
 
/* confdefs.h.  */
10420
 
_ACEOF
10421
 
cat confdefs.h >>conftest.$ac_ext
10422
 
cat >>conftest.$ac_ext <<_ACEOF
 
10544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423
10545
/* end confdefs.h.  */
10424
10546
 
10425
10547
/* Override any GCC internal prototype to avoid an error.
10437
10559
  return 0;
10438
10560
}
10439
10561
_ACEOF
10440
 
rm -f conftest.$ac_objext conftest$ac_exeext
10441
 
if { (ac_try="$ac_link"
10442
 
case "(($ac_try" in
10443
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10444
 
  *) ac_try_echo=$ac_try;;
10445
 
esac
10446
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10447
 
$as_echo "$ac_try_echo") >&5
10448
 
  (eval "$ac_link") 2>conftest.er1
10449
 
  ac_status=$?
10450
 
  grep -v '^ *+' conftest.er1 >conftest.err
10451
 
  rm -f conftest.er1
10452
 
  cat conftest.err >&5
10453
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454
 
  (exit $ac_status); } && {
10455
 
         test -z "$ac_c_werror_flag" ||
10456
 
         test ! -s conftest.err
10457
 
       } && test -s conftest$ac_exeext && {
10458
 
         test "$cross_compiling" = yes ||
10459
 
         $as_test_x conftest$ac_exeext
10460
 
       }; then
 
10562
if ac_fn_c_try_link "$LINENO"; then :
10461
10563
  ac_cv_lib_svld_dlopen=yes
10462
10564
else
10463
 
  $as_echo "$as_me: failed program was:" >&5
10464
 
sed 's/^/| /' conftest.$ac_ext >&5
10465
 
 
10466
 
        ac_cv_lib_svld_dlopen=no
 
10565
  ac_cv_lib_svld_dlopen=no
10467
10566
fi
10468
 
 
10469
 
rm -rf conftest.dSYM
10470
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10471
 
      conftest$ac_exeext conftest.$ac_ext
 
10567
rm -f core conftest.err conftest.$ac_objext \
 
10568
    conftest$ac_exeext conftest.$ac_ext
10472
10569
LIBS=$ac_check_lib_save_LIBS
10473
10570
fi
10474
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10475
10572
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10476
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10573
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10477
10574
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10478
10575
else
10479
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10576
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10480
10577
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10481
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10578
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10482
10579
  $as_echo_n "(cached) " >&6
10483
10580
else
10484
10581
  ac_check_lib_save_LIBS=$LIBS
10485
10582
LIBS="-ldld  $LIBS"
10486
 
cat >conftest.$ac_ext <<_ACEOF
10487
 
/* confdefs.h.  */
10488
 
_ACEOF
10489
 
cat confdefs.h >>conftest.$ac_ext
10490
 
cat >>conftest.$ac_ext <<_ACEOF
 
10583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491
10584
/* end confdefs.h.  */
10492
10585
 
10493
10586
/* Override any GCC internal prototype to avoid an error.
10505
10598
  return 0;
10506
10599
}
10507
10600
_ACEOF
10508
 
rm -f conftest.$ac_objext conftest$ac_exeext
10509
 
if { (ac_try="$ac_link"
10510
 
case "(($ac_try" in
10511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10512
 
  *) ac_try_echo=$ac_try;;
10513
 
esac
10514
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10515
 
$as_echo "$ac_try_echo") >&5
10516
 
  (eval "$ac_link") 2>conftest.er1
10517
 
  ac_status=$?
10518
 
  grep -v '^ *+' conftest.er1 >conftest.err
10519
 
  rm -f conftest.er1
10520
 
  cat conftest.err >&5
10521
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522
 
  (exit $ac_status); } && {
10523
 
         test -z "$ac_c_werror_flag" ||
10524
 
         test ! -s conftest.err
10525
 
       } && test -s conftest$ac_exeext && {
10526
 
         test "$cross_compiling" = yes ||
10527
 
         $as_test_x conftest$ac_exeext
10528
 
       }; then
 
10601
if ac_fn_c_try_link "$LINENO"; then :
10529
10602
  ac_cv_lib_dld_dld_link=yes
10530
10603
else
10531
 
  $as_echo "$as_me: failed program was:" >&5
10532
 
sed 's/^/| /' conftest.$ac_ext >&5
10533
 
 
10534
 
        ac_cv_lib_dld_dld_link=no
 
10604
  ac_cv_lib_dld_dld_link=no
10535
10605
fi
10536
 
 
10537
 
rm -rf conftest.dSYM
10538
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10539
 
      conftest$ac_exeext conftest.$ac_ext
 
10606
rm -f core conftest.err conftest.$ac_objext \
 
10607
    conftest$ac_exeext conftest.$ac_ext
10540
10608
LIBS=$ac_check_lib_save_LIBS
10541
10609
fi
10542
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10543
10611
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10544
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10612
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10545
10613
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10546
10614
fi
10547
10615
 
10580
10648
    save_LIBS="$LIBS"
10581
10649
    LIBS="$lt_cv_dlopen_libs $LIBS"
10582
10650
 
10583
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10651
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10584
10652
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10585
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10653
if test "${lt_cv_dlopen_self+set}" = set; then :
10586
10654
  $as_echo_n "(cached) " >&6
10587
10655
else
10588
10656
          if test "$cross_compiling" = yes; then :
10590
10658
else
10591
10659
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592
10660
  lt_status=$lt_dlunknown
10593
 
  cat > conftest.$ac_ext <<EOF
10594
 
#line 10594 "configure"
 
10661
  cat > conftest.$ac_ext <<_LT_EOF
 
10662
#line $LINENO "configure"
10595
10663
#include "confdefs.h"
10596
10664
 
10597
10665
#if HAVE_DLFCN_H
10632
10700
#  endif
10633
10701
#endif
10634
10702
 
10635
 
#ifdef __cplusplus
10636
 
extern "C" void exit (int);
 
10703
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10704
   correspondingly for the symbols needed.  */
 
10705
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10706
void fnord () __attribute__((visibility("default")));
10637
10707
#endif
10638
10708
 
10639
 
void fnord() { int i=42;}
 
10709
void fnord () { int i=42; }
10640
10710
int main ()
10641
10711
{
10642
10712
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10645
10715
  if (self)
10646
10716
    {
10647
10717
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10648
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10718
      else
 
10719
        {
 
10720
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10721
          else puts (dlerror ());
 
10722
        }
10649
10723
      /* dlclose (self); */
10650
10724
    }
10651
10725
  else
10652
10726
    puts (dlerror ());
10653
10727
 
10654
 
    exit (status);
 
10728
  return status;
10655
10729
}
10656
 
EOF
10657
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10730
_LT_EOF
 
10731
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10658
10732
  (eval $ac_link) 2>&5
10659
10733
  ac_status=$?
10660
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10735
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10662
10736
    (./conftest; exit; ) >&5 2>/dev/null
10663
10737
    lt_status=$?
10664
10738
    case x$lt_status in
10675
10749
 
10676
10750
 
10677
10751
fi
10678
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10679
10753
$as_echo "$lt_cv_dlopen_self" >&6; }
10680
10754
 
10681
10755
    if test "x$lt_cv_dlopen_self" = xyes; then
10682
10756
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10683
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10757
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10684
10758
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10685
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10759
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10686
10760
  $as_echo_n "(cached) " >&6
10687
10761
else
10688
10762
          if test "$cross_compiling" = yes; then :
10690
10764
else
10691
10765
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10692
10766
  lt_status=$lt_dlunknown
10693
 
  cat > conftest.$ac_ext <<EOF
10694
 
#line 10694 "configure"
 
10767
  cat > conftest.$ac_ext <<_LT_EOF
 
10768
#line $LINENO "configure"
10695
10769
#include "confdefs.h"
10696
10770
 
10697
10771
#if HAVE_DLFCN_H
10732
10806
#  endif
10733
10807
#endif
10734
10808
 
10735
 
#ifdef __cplusplus
10736
 
extern "C" void exit (int);
 
10809
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10810
   correspondingly for the symbols needed.  */
 
10811
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10812
void fnord () __attribute__((visibility("default")));
10737
10813
#endif
10738
10814
 
10739
 
void fnord() { int i=42;}
 
10815
void fnord () { int i=42; }
10740
10816
int main ()
10741
10817
{
10742
10818
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10745
10821
  if (self)
10746
10822
    {
10747
10823
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10748
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10824
      else
 
10825
        {
 
10826
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10827
          else puts (dlerror ());
 
10828
        }
10749
10829
      /* dlclose (self); */
10750
10830
    }
10751
10831
  else
10752
10832
    puts (dlerror ());
10753
10833
 
10754
 
    exit (status);
 
10834
  return status;
10755
10835
}
10756
 
EOF
10757
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10836
_LT_EOF
 
10837
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10758
10838
  (eval $ac_link) 2>&5
10759
10839
  ac_status=$?
10760
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10840
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10841
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10762
10842
    (./conftest; exit; ) >&5 2>/dev/null
10763
10843
    lt_status=$?
10764
10844
    case x$lt_status in
10775
10855
 
10776
10856
 
10777
10857
fi
10778
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10779
10859
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10780
10860
    fi
10781
10861
 
10797
10877
fi
10798
10878
 
10799
10879
 
10800
 
# Report which library types will actually be built
10801
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10802
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10803
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10804
 
$as_echo "$can_build_shared" >&6; }
10805
 
 
10806
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10807
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
10808
 
test "$can_build_shared" = "no" && enable_shared=no
10809
 
 
10810
 
# On AIX, shared libraries and static libraries use the same namespace, and
10811
 
# are all built from PIC.
10812
 
case $host_os in
10813
 
aix3*)
10814
 
  test "$enable_shared" = yes && enable_static=no
10815
 
  if test -n "$RANLIB"; then
10816
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10817
 
    postinstall_cmds='$RANLIB $lib'
10818
 
  fi
10819
 
  ;;
10820
 
 
10821
 
aix[4-9]*)
10822
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10823
 
    test "$enable_shared" = yes && enable_static=no
10824
 
  fi
10825
 
    ;;
10826
 
esac
10827
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10828
 
$as_echo "$enable_shared" >&6; }
10829
 
 
10830
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10831
 
$as_echo_n "checking whether to build static libraries... " >&6; }
10832
 
# Make sure either enable_shared or enable_static is yes.
10833
 
test "$enable_shared" = yes || enable_static=yes
10834
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10835
 
$as_echo "$enable_static" >&6; }
10836
 
 
10837
 
# The else clause should only fire when bootstrapping the
10838
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10839
 
# with your package, and you will get complaints that there are
10840
 
# no rules to generate ltmain.sh.
10841
 
if test -f "$ltmain"; then
10842
 
  # See if we are running on zsh, and set the options which allow our commands through
10843
 
  # without removal of \ escapes.
10844
 
  if test -n "${ZSH_VERSION+set}" ; then
10845
 
    setopt NO_GLOB_SUBST
10846
 
  fi
10847
 
  # Now quote all the things that may contain metacharacters while being
10848
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10849
 
  # variables and quote the copies for generation of the libtool script.
10850
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10851
 
    SED SHELL STRIP \
10852
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10853
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10854
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10855
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10856
 
    lt_cv_sys_global_symbol_to_c_name_address \
10857
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10858
 
    old_postinstall_cmds old_postuninstall_cmds \
10859
 
    compiler \
10860
 
    CC \
10861
 
    LD \
10862
 
    lt_prog_compiler_wl \
10863
 
    lt_prog_compiler_pic \
10864
 
    lt_prog_compiler_static \
10865
 
    lt_prog_compiler_no_builtin_flag \
10866
 
    export_dynamic_flag_spec \
10867
 
    thread_safe_flag_spec \
10868
 
    whole_archive_flag_spec \
10869
 
    enable_shared_with_static_runtimes \
10870
 
    old_archive_cmds \
10871
 
    old_archive_from_new_cmds \
10872
 
    predep_objects \
10873
 
    postdep_objects \
10874
 
    predeps \
10875
 
    postdeps \
10876
 
    compiler_lib_search_path \
10877
 
    compiler_lib_search_dirs \
10878
 
    archive_cmds \
10879
 
    archive_expsym_cmds \
10880
 
    postinstall_cmds \
10881
 
    postuninstall_cmds \
10882
 
    old_archive_from_expsyms_cmds \
10883
 
    allow_undefined_flag \
10884
 
    no_undefined_flag \
10885
 
    export_symbols_cmds \
10886
 
    hardcode_libdir_flag_spec \
10887
 
    hardcode_libdir_flag_spec_ld \
10888
 
    hardcode_libdir_separator \
10889
 
    hardcode_automatic \
10890
 
    module_cmds \
10891
 
    module_expsym_cmds \
10892
 
    lt_cv_prog_compiler_c_o \
10893
 
    fix_srcfile_path \
10894
 
    exclude_expsyms \
10895
 
    include_expsyms; do
10896
 
 
10897
 
    case $var in
10898
 
    old_archive_cmds | \
10899
 
    old_archive_from_new_cmds | \
10900
 
    archive_cmds | \
10901
 
    archive_expsym_cmds | \
10902
 
    module_cmds | \
10903
 
    module_expsym_cmds | \
10904
 
    old_archive_from_expsyms_cmds | \
10905
 
    export_symbols_cmds | \
10906
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10907
 
    postinstall_cmds | postuninstall_cmds | \
10908
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10909
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10910
 
      # Double-quote double-evaled strings.
10911
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10912
 
      ;;
10913
 
    *)
10914
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10915
 
      ;;
10916
 
    esac
10917
 
  done
10918
 
 
10919
 
  case $lt_echo in
10920
 
  *'\$0 --fallback-echo"')
10921
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10922
 
    ;;
10923
 
  esac
10924
 
 
10925
 
cfgfile="${ofile}T"
10926
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10927
 
  $rm -f "$cfgfile"
10928
 
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10929
 
$as_echo "$as_me: creating $ofile" >&6;}
10930
 
 
10931
 
  cat <<__EOF__ >> "$cfgfile"
10932
 
#! $SHELL
10933
 
 
10934
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10935
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10936
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10937
 
#
10938
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10939
 
# Free Software Foundation, Inc.
10940
 
#
10941
 
# This file is part of GNU Libtool:
10942
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10943
 
#
10944
 
# This program is free software; you can redistribute it and/or modify
10945
 
# it under the terms of the GNU General Public License as published by
10946
 
# the Free Software Foundation; either version 2 of the License, or
10947
 
# (at your option) any later version.
10948
 
#
10949
 
# This program is distributed in the hope that it will be useful, but
10950
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10951
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10952
 
# General Public License for more details.
10953
 
#
10954
 
# You should have received a copy of the GNU General Public License
10955
 
# along with this program; if not, write to the Free Software
10956
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10957
 
#
10958
 
# As a special exception to the GNU General Public License, if you
10959
 
# distribute this file as part of a program that contains a
10960
 
# configuration script generated by Autoconf, you may include it under
10961
 
# the same distribution terms that you use for the rest of that program.
10962
 
 
10963
 
# A sed program that does not truncate output.
10964
 
SED=$lt_SED
10965
 
 
10966
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10967
 
Xsed="$SED -e 1s/^X//"
10968
 
 
10969
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10970
 
# if CDPATH is set.
10971
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10972
 
 
10973
 
# The names of the tagged configurations supported by this script.
10974
 
available_tags=
10975
 
 
10976
 
# ### BEGIN LIBTOOL CONFIG
10977
 
 
10978
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10979
 
 
10980
 
# Shell to use when invoking shell scripts.
10981
 
SHELL=$lt_SHELL
10982
 
 
10983
 
# Whether or not to build shared libraries.
10984
 
build_libtool_libs=$enable_shared
10985
 
 
10986
 
# Whether or not to build static libraries.
10987
 
build_old_libs=$enable_static
10988
 
 
10989
 
# Whether or not to add -lc for building shared libraries.
10990
 
build_libtool_need_lc=$archive_cmds_need_lc
10991
 
 
10992
 
# Whether or not to disallow shared libs when runtime libs are static
10993
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10994
 
 
10995
 
# Whether or not to optimize for fast installation.
10996
 
fast_install=$enable_fast_install
10997
 
 
10998
 
# The host system.
10999
 
host_alias=$host_alias
11000
 
host=$host
11001
 
host_os=$host_os
11002
 
 
11003
 
# The build system.
11004
 
build_alias=$build_alias
11005
 
build=$build
11006
 
build_os=$build_os
11007
 
 
11008
 
# An echo program that does not interpret backslashes.
11009
 
echo=$lt_echo
11010
 
 
11011
 
# The archiver.
11012
 
AR=$lt_AR
11013
 
AR_FLAGS=$lt_AR_FLAGS
11014
 
 
11015
 
# A C compiler.
11016
 
LTCC=$lt_LTCC
11017
 
 
11018
 
# LTCC compiler flags.
11019
 
LTCFLAGS=$lt_LTCFLAGS
11020
 
 
11021
 
# A language-specific compiler.
11022
 
CC=$lt_compiler
11023
 
 
11024
 
# Is the compiler the GNU C compiler?
11025
 
with_gcc=$GCC
11026
 
 
11027
 
# An ERE matcher.
11028
 
EGREP=$lt_EGREP
11029
 
 
11030
 
# The linker used to build libraries.
11031
 
LD=$lt_LD
11032
 
 
11033
 
# Whether we need hard or soft links.
11034
 
LN_S=$lt_LN_S
11035
 
 
11036
 
# A BSD-compatible nm program.
11037
 
NM=$lt_NM
11038
 
 
11039
 
# A symbol stripping program
11040
 
STRIP=$lt_STRIP
11041
 
 
11042
 
# Used to examine libraries when file_magic_cmd begins "file"
11043
 
MAGIC_CMD=$MAGIC_CMD
11044
 
 
11045
 
# Used on cygwin: DLL creation program.
11046
 
DLLTOOL="$DLLTOOL"
11047
 
 
11048
 
# Used on cygwin: object dumper.
11049
 
OBJDUMP="$OBJDUMP"
11050
 
 
11051
 
# Used on cygwin: assembler.
11052
 
AS="$AS"
11053
 
 
11054
 
# The name of the directory that contains temporary libtool files.
11055
 
objdir=$objdir
11056
 
 
11057
 
# How to create reloadable object files.
11058
 
reload_flag=$lt_reload_flag
11059
 
reload_cmds=$lt_reload_cmds
11060
 
 
11061
 
# How to pass a linker flag through the compiler.
11062
 
wl=$lt_lt_prog_compiler_wl
11063
 
 
11064
 
# Object file suffix (normally "o").
11065
 
objext="$ac_objext"
11066
 
 
11067
 
# Old archive suffix (normally "a").
11068
 
libext="$libext"
11069
 
 
11070
 
# Shared library suffix (normally ".so").
11071
 
shrext_cmds='$shrext_cmds'
11072
 
 
11073
 
# Executable file suffix (normally "").
11074
 
exeext="$exeext"
11075
 
 
11076
 
# Additional compiler flags for building library objects.
11077
 
pic_flag=$lt_lt_prog_compiler_pic
11078
 
pic_mode=$pic_mode
11079
 
 
11080
 
# What is the maximum length of a command?
11081
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11082
 
 
11083
 
# Does compiler simultaneously support -c and -o options?
11084
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11085
 
 
11086
 
# Must we lock files when doing compilation?
11087
 
need_locks=$lt_need_locks
11088
 
 
11089
 
# Do we need the lib prefix for modules?
11090
 
need_lib_prefix=$need_lib_prefix
11091
 
 
11092
 
# Do we need a version for libraries?
11093
 
need_version=$need_version
11094
 
 
11095
 
# Whether dlopen is supported.
11096
 
dlopen_support=$enable_dlopen
11097
 
 
11098
 
# Whether dlopen of programs is supported.
11099
 
dlopen_self=$enable_dlopen_self
11100
 
 
11101
 
# Whether dlopen of statically linked programs is supported.
11102
 
dlopen_self_static=$enable_dlopen_self_static
11103
 
 
11104
 
# Compiler flag to prevent dynamic linking.
11105
 
link_static_flag=$lt_lt_prog_compiler_static
11106
 
 
11107
 
# Compiler flag to turn off builtin functions.
11108
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11109
 
 
11110
 
# Compiler flag to allow reflexive dlopens.
11111
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11112
 
 
11113
 
# Compiler flag to generate shared objects directly from archives.
11114
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11115
 
 
11116
 
# Compiler flag to generate thread-safe objects.
11117
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11118
 
 
11119
 
# Library versioning type.
11120
 
version_type=$version_type
11121
 
 
11122
 
# Format of library name prefix.
11123
 
libname_spec=$lt_libname_spec
11124
 
 
11125
 
# List of archive names.  First name is the real one, the rest are links.
11126
 
# The last name is the one that the linker finds with -lNAME.
11127
 
library_names_spec=$lt_library_names_spec
11128
 
 
11129
 
# The coded name of the library, if different from the real name.
11130
 
soname_spec=$lt_soname_spec
11131
 
 
11132
 
# Commands used to build and install an old-style archive.
11133
 
RANLIB=$lt_RANLIB
11134
 
old_archive_cmds=$lt_old_archive_cmds
11135
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11136
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11137
 
 
11138
 
# Create an old-style archive from a shared archive.
11139
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11140
 
 
11141
 
# Create a temporary old-style archive to link instead of a shared archive.
11142
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11143
 
 
11144
 
# Commands used to build and install a shared archive.
11145
 
archive_cmds=$lt_archive_cmds
11146
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11147
 
postinstall_cmds=$lt_postinstall_cmds
11148
 
postuninstall_cmds=$lt_postuninstall_cmds
11149
 
 
11150
 
# Commands used to build a loadable module (assumed same as above if empty)
11151
 
module_cmds=$lt_module_cmds
11152
 
module_expsym_cmds=$lt_module_expsym_cmds
11153
 
 
11154
 
# Commands to strip libraries.
11155
 
old_striplib=$lt_old_striplib
11156
 
striplib=$lt_striplib
11157
 
 
11158
 
# Dependencies to place before the objects being linked to create a
11159
 
# shared library.
11160
 
predep_objects=$lt_predep_objects
11161
 
 
11162
 
# Dependencies to place after the objects being linked to create a
11163
 
# shared library.
11164
 
postdep_objects=$lt_postdep_objects
11165
 
 
11166
 
# Dependencies to place before the objects being linked to create a
11167
 
# shared library.
11168
 
predeps=$lt_predeps
11169
 
 
11170
 
# Dependencies to place after the objects being linked to create a
11171
 
# shared library.
11172
 
postdeps=$lt_postdeps
11173
 
 
11174
 
# The directories searched by this compiler when creating a shared
11175
 
# library
11176
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11177
 
 
11178
 
# The library search path used internally by the compiler when linking
11179
 
# a shared library.
11180
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11181
 
 
11182
 
# Method to check whether dependent libraries are shared objects.
11183
 
deplibs_check_method=$lt_deplibs_check_method
11184
 
 
11185
 
# Command to use when deplibs_check_method == file_magic.
11186
 
file_magic_cmd=$lt_file_magic_cmd
11187
 
 
11188
 
# Flag that allows shared libraries with undefined symbols to be built.
11189
 
allow_undefined_flag=$lt_allow_undefined_flag
11190
 
 
11191
 
# Flag that forces no undefined symbols.
11192
 
no_undefined_flag=$lt_no_undefined_flag
11193
 
 
11194
 
# Commands used to finish a libtool library installation in a directory.
11195
 
finish_cmds=$lt_finish_cmds
11196
 
 
11197
 
# Same as above, but a single script fragment to be evaled but not shown.
11198
 
finish_eval=$lt_finish_eval
11199
 
 
11200
 
# Take the output of nm and produce a listing of raw symbols and C names.
11201
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11202
 
 
11203
 
# Transform the output of nm in a proper C declaration
11204
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11205
 
 
11206
 
# Transform the output of nm in a C name address pair
11207
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11208
 
 
11209
 
# This is the shared library runtime path variable.
11210
 
runpath_var=$runpath_var
11211
 
 
11212
 
# This is the shared library path variable.
11213
 
shlibpath_var=$shlibpath_var
11214
 
 
11215
 
# Is shlibpath searched before the hard-coded library search path?
11216
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11217
 
 
11218
 
# How to hardcode a shared library path into an executable.
11219
 
hardcode_action=$hardcode_action
11220
 
 
11221
 
# Whether we should hardcode library paths into libraries.
11222
 
hardcode_into_libs=$hardcode_into_libs
11223
 
 
11224
 
# Flag to hardcode \$libdir into a binary during linking.
11225
 
# This must work even if \$libdir does not exist.
11226
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11227
 
 
11228
 
# If ld is used when linking, flag to hardcode \$libdir into
11229
 
# a binary during linking. This must work even if \$libdir does
11230
 
# not exist.
11231
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11232
 
 
11233
 
# Whether we need a single -rpath flag with a separated argument.
11234
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11235
 
 
11236
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11237
 
# resulting binary.
11238
 
hardcode_direct=$hardcode_direct
11239
 
 
11240
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11241
 
# resulting binary.
11242
 
hardcode_minus_L=$hardcode_minus_L
11243
 
 
11244
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11245
 
# the resulting binary.
11246
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11247
 
 
11248
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11249
 
# and all subsequent libraries and executables linked against it.
11250
 
hardcode_automatic=$hardcode_automatic
11251
 
 
11252
 
# Variables whose values should be saved in libtool wrapper scripts and
11253
 
# restored at relink time.
11254
 
variables_saved_for_relink="$variables_saved_for_relink"
11255
 
 
11256
 
# Whether libtool must link a program against all its dependency libraries.
11257
 
link_all_deplibs=$link_all_deplibs
11258
 
 
11259
 
# Compile-time system search path for libraries
11260
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11261
 
 
11262
 
# Run-time system search path for libraries
11263
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11264
 
 
11265
 
# Fix the shell variable \$srcfile for the compiler.
11266
 
fix_srcfile_path=$lt_fix_srcfile_path
11267
 
 
11268
 
# Set to yes if exported symbols are required.
11269
 
always_export_symbols=$always_export_symbols
11270
 
 
11271
 
# The commands to list exported symbols.
11272
 
export_symbols_cmds=$lt_export_symbols_cmds
11273
 
 
11274
 
# The commands to extract the exported symbol list from a shared archive.
11275
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11276
 
 
11277
 
# Symbols that should not be listed in the preloaded symbols.
11278
 
exclude_expsyms=$lt_exclude_expsyms
11279
 
 
11280
 
# Symbols that must always be exported.
11281
 
include_expsyms=$lt_include_expsyms
11282
 
 
11283
 
# ### END LIBTOOL CONFIG
11284
 
 
11285
 
__EOF__
11286
 
 
11287
 
 
11288
 
  case $host_os in
11289
 
  aix3*)
11290
 
    cat <<\EOF >> "$cfgfile"
11291
 
 
11292
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11293
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11294
 
# vanish in a puff of smoke.
11295
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11296
 
  COLLECT_NAMES=
11297
 
  export COLLECT_NAMES
11298
 
fi
11299
 
EOF
11300
 
    ;;
11301
 
  esac
11302
 
 
11303
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11304
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11305
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11306
 
  # is reportedly fixed, but why not run on old versions too?
11307
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11308
 
 
11309
 
  mv -f "$cfgfile" "$ofile" || \
11310
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11311
 
  chmod +x "$ofile"
11312
 
 
11313
 
else
11314
 
  # If there is no Makefile yet, we rely on a make rule to execute
11315
 
  # `config.status --recheck' to rerun these tests and create the
11316
 
  # libtool script then.
11317
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11318
 
  if test -f "$ltmain_in"; then
11319
 
    test -f Makefile && make "$ltmain"
11320
 
  fi
11321
 
fi
11322
 
 
11323
 
 
11324
 
ac_ext=c
11325
 
ac_cpp='$CPP $CPPFLAGS'
11326
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11327
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11328
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11329
 
 
11330
 
CC="$lt_save_CC"
11331
 
 
11332
 
 
11333
 
# Check whether --with-tags was given.
11334
 
if test "${with_tags+set}" = set; then
11335
 
  withval=$with_tags; tagnames="$withval"
11336
 
fi
11337
 
 
11338
 
 
11339
 
if test -f "$ltmain" && test -n "$tagnames"; then
11340
 
  if test ! -f "${ofile}"; then
11341
 
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11342
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11343
 
  fi
11344
 
 
11345
 
  if test -z "$LTCC"; then
11346
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11347
 
    if test -z "$LTCC"; then
11348
 
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11349
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11350
 
    else
11351
 
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11352
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11353
 
    fi
11354
 
  fi
11355
 
  if test -z "$LTCFLAGS"; then
11356
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11357
 
  fi
11358
 
 
11359
 
  # Extract list of available tagged configurations in $ofile.
11360
 
  # Note that this assumes the entire list is on one line.
11361
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11362
 
 
11363
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11364
 
  for tagname in $tagnames; do
11365
 
    IFS="$lt_save_ifs"
11366
 
    # Check whether tagname contains only valid characters
11367
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11368
 
    "") ;;
11369
 
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11370
 
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11371
 
   { (exit 1); exit 1; }; }
11372
 
        ;;
11373
 
    esac
11374
 
 
11375
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11376
 
    then
11377
 
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11378
 
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11379
 
   { (exit 1); exit 1; }; }
11380
 
    fi
11381
 
 
11382
 
    # Update the list of available tags.
11383
 
    if test -n "$tagname"; then
11384
 
      echo appending configuration tag \"$tagname\" to $ofile
11385
 
 
11386
 
      case $tagname in
11387
 
      CXX)
11388
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11389
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11390
 
            (test "X$CXX" != "Xg++"))) ; then
11391
 
          ac_ext=cpp
11392
 
ac_cpp='$CXXCPP $CPPFLAGS'
11393
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11394
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11395
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
archive_cmds_need_lc_CXX=no
11401
 
allow_undefined_flag_CXX=
11402
 
always_export_symbols_CXX=no
11403
 
archive_expsym_cmds_CXX=
11404
 
export_dynamic_flag_spec_CXX=
11405
 
hardcode_direct_CXX=no
11406
 
hardcode_libdir_flag_spec_CXX=
11407
 
hardcode_libdir_flag_spec_ld_CXX=
11408
 
hardcode_libdir_separator_CXX=
11409
 
hardcode_minus_L_CXX=no
11410
 
hardcode_shlibpath_var_CXX=unsupported
11411
 
hardcode_automatic_CXX=no
11412
 
module_cmds_CXX=
11413
 
module_expsym_cmds_CXX=
11414
 
link_all_deplibs_CXX=unknown
11415
 
old_archive_cmds_CXX=$old_archive_cmds
11416
 
no_undefined_flag_CXX=
11417
 
whole_archive_flag_spec_CXX=
11418
 
enable_shared_with_static_runtimes_CXX=no
11419
 
 
11420
 
# Dependencies to place before and after the object being linked:
11421
 
predep_objects_CXX=
11422
 
postdep_objects_CXX=
11423
 
predeps_CXX=
11424
 
postdeps_CXX=
11425
 
compiler_lib_search_path_CXX=
11426
 
compiler_lib_search_dirs_CXX=
11427
 
 
11428
 
# Source file extension for C++ test sources.
11429
 
ac_ext=cpp
11430
 
 
11431
 
# Object file extension for compiled C++ test sources.
11432
 
objext=o
11433
 
objext_CXX=$objext
11434
 
 
11435
 
# Code to be used in simple compile tests
11436
 
lt_simple_compile_test_code="int some_variable = 0;"
11437
 
 
11438
 
# Code to be used in simple link tests
11439
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11440
 
 
11441
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11442
 
 
11443
 
# If no C compiler was specified, use CC.
11444
 
LTCC=${LTCC-"$CC"}
11445
 
 
11446
 
# If no C compiler flags were specified, use CFLAGS.
11447
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11448
 
 
11449
 
# Allow CC to be a program name with arguments.
11450
 
compiler=$CC
11451
 
 
11452
 
 
11453
 
# save warnings/boilerplate of simple test code
11454
 
ac_outfile=conftest.$ac_objext
11455
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11456
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11457
 
_lt_compiler_boilerplate=`cat conftest.err`
11458
 
$rm conftest*
11459
 
 
11460
 
ac_outfile=conftest.$ac_objext
11461
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11462
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11463
 
_lt_linker_boilerplate=`cat conftest.err`
11464
 
$rm -r conftest*
11465
 
 
11466
 
 
11467
 
# Allow CC to be a program name with arguments.
11468
 
lt_save_CC=$CC
11469
 
lt_save_LD=$LD
11470
 
lt_save_GCC=$GCC
11471
 
GCC=$GXX
11472
 
lt_save_with_gnu_ld=$with_gnu_ld
11473
 
lt_save_path_LD=$lt_cv_path_LD
11474
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11475
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11476
 
else
11477
 
  $as_unset lt_cv_prog_gnu_ld
11478
 
fi
11479
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11480
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11481
 
else
11482
 
  $as_unset lt_cv_path_LD
11483
 
fi
11484
 
test -z "${LDCXX+set}" || LD=$LDCXX
11485
 
CC=${CXX-"c++"}
11486
 
compiler=$CC
11487
 
compiler_CXX=$CC
11488
 
for cc_temp in $compiler""; do
11489
 
  case $cc_temp in
11490
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11491
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11492
 
    \-*) ;;
11493
 
    *) break;;
11494
 
  esac
11495
 
done
11496
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11497
 
 
11498
 
 
11499
 
# We don't want -fno-exception wen compiling C++ code, so set the
11500
 
# no_builtin_flag separately
11501
 
if test "$GXX" = yes; then
11502
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11503
 
else
11504
 
  lt_prog_compiler_no_builtin_flag_CXX=
11505
 
fi
11506
 
 
11507
 
if test "$GXX" = yes; then
11508
 
  # Set up default GNU C++ configuration
11509
 
 
11510
 
 
11511
 
# Check whether --with-gnu-ld was given.
11512
 
if test "${with_gnu_ld+set}" = set; then
11513
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11514
 
else
11515
 
  with_gnu_ld=no
11516
 
fi
11517
 
 
11518
 
ac_prog=ld
11519
 
if test "$GCC" = yes; then
11520
 
  # Check if gcc -print-prog-name=ld gives a path.
11521
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11522
 
$as_echo_n "checking for ld used by $CC... " >&6; }
11523
 
  case $host in
11524
 
  *-*-mingw*)
11525
 
    # gcc leaves a trailing carriage return which upsets mingw
11526
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11527
 
  *)
11528
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11529
 
  esac
11530
 
  case $ac_prog in
11531
 
    # Accept absolute paths.
11532
 
    [\\/]* | ?:[\\/]*)
11533
 
      re_direlt='/[^/][^/]*/\.\./'
11534
 
      # Canonicalize the pathname of ld
11535
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11536
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11537
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11538
 
      done
11539
 
      test -z "$LD" && LD="$ac_prog"
11540
 
      ;;
11541
 
  "")
11542
 
    # If it fails, then pretend we aren't using GCC.
11543
 
    ac_prog=ld
11544
 
    ;;
11545
 
  *)
11546
 
    # If it is relative, then search for the first ld in PATH.
11547
 
    with_gnu_ld=unknown
11548
 
    ;;
11549
 
  esac
11550
 
elif test "$with_gnu_ld" = yes; then
11551
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11552
 
$as_echo_n "checking for GNU ld... " >&6; }
11553
 
else
11554
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11555
 
$as_echo_n "checking for non-GNU ld... " >&6; }
11556
 
fi
11557
 
if test "${lt_cv_path_LD+set}" = set; then
11558
 
  $as_echo_n "(cached) " >&6
11559
 
else
11560
 
  if test -z "$LD"; then
11561
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11562
 
  for ac_dir in $PATH; do
11563
 
    IFS="$lt_save_ifs"
11564
 
    test -z "$ac_dir" && ac_dir=.
11565
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11566
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11567
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11568
 
      # but apparently some variants of GNU ld only accept -v.
11569
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11570
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11571
 
      *GNU* | *'with BFD'*)
11572
 
        test "$with_gnu_ld" != no && break
11573
 
        ;;
11574
 
      *)
11575
 
        test "$with_gnu_ld" != yes && break
11576
 
        ;;
11577
 
      esac
11578
 
    fi
11579
 
  done
11580
 
  IFS="$lt_save_ifs"
11581
 
else
11582
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11583
 
fi
11584
 
fi
11585
 
 
11586
 
LD="$lt_cv_path_LD"
11587
 
if test -n "$LD"; then
11588
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
11589
 
$as_echo "$LD" >&6; }
11590
 
else
11591
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11592
 
$as_echo "no" >&6; }
11593
 
fi
11594
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11595
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11596
 
   { (exit 1); exit 1; }; }
11597
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11598
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11599
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11600
 
  $as_echo_n "(cached) " >&6
11601
 
else
11602
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11603
 
case `$LD -v 2>&1 </dev/null` in
11604
 
*GNU* | *'with BFD'*)
11605
 
  lt_cv_prog_gnu_ld=yes
11606
 
  ;;
11607
 
*)
11608
 
  lt_cv_prog_gnu_ld=no
11609
 
  ;;
11610
 
esac
11611
 
fi
11612
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11613
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11614
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11615
 
 
11616
 
 
11617
 
 
11618
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11619
 
  # archiving commands below assume that GNU ld is being used.
11620
 
  if test "$with_gnu_ld" = yes; then
11621
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11622
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11623
 
 
11624
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11625
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11626
 
 
11627
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11628
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11629
 
    #     investigate it a little bit more. (MM)
11630
 
    wlarc='${wl}'
11631
 
 
11632
 
    # ancient GNU ld didn't support --whole-archive et. al.
11633
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11634
 
        grep 'no-whole-archive' > /dev/null; then
11635
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11636
 
    else
11637
 
      whole_archive_flag_spec_CXX=
11638
 
    fi
11639
 
  else
11640
 
    with_gnu_ld=no
11641
 
    wlarc=
11642
 
 
11643
 
    # A generic and very simple default shared library creation
11644
 
    # command for GNU C++ for the case where it uses the native
11645
 
    # linker, instead of GNU ld.  If possible, this setting should
11646
 
    # overridden to take advantage of the native linker features on
11647
 
    # the platform it is being used on.
11648
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11649
 
  fi
11650
 
 
11651
 
  # Commands to make compiler produce verbose output that lists
11652
 
  # what "hidden" libraries, object files and flags are used when
11653
 
  # linking a shared library.
11654
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11655
 
 
11656
 
else
11657
 
  GXX=no
11658
 
  with_gnu_ld=no
11659
 
  wlarc=
11660
 
fi
11661
 
 
11662
 
# PORTME: fill in a description of your system's C++ link characteristics
11663
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11664
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11665
 
ld_shlibs_CXX=yes
11666
 
case $host_os in
11667
 
  aix3*)
11668
 
    # FIXME: insert proper C++ library support
11669
 
    ld_shlibs_CXX=no
11670
 
    ;;
11671
 
  aix[4-9]*)
11672
 
    if test "$host_cpu" = ia64; then
11673
 
      # On IA64, the linker does run time linking by default, so we don't
11674
 
      # have to do anything special.
11675
 
      aix_use_runtimelinking=no
11676
 
      exp_sym_flag='-Bexport'
11677
 
      no_entry_flag=""
11678
 
    else
11679
 
      aix_use_runtimelinking=no
11680
 
 
11681
 
      # Test if we are trying to use run time linking or normal
11682
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11683
 
      # need to do runtime linking.
11684
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11685
 
        for ld_flag in $LDFLAGS; do
11686
 
          case $ld_flag in
11687
 
          *-brtl*)
11688
 
            aix_use_runtimelinking=yes
11689
 
            break
11690
 
            ;;
11691
 
          esac
11692
 
        done
11693
 
        ;;
11694
 
      esac
11695
 
 
11696
 
      exp_sym_flag='-bexport'
11697
 
      no_entry_flag='-bnoentry'
11698
 
    fi
11699
 
 
11700
 
    # When large executables or shared objects are built, AIX ld can
11701
 
    # have problems creating the table of contents.  If linking a library
11702
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11703
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11704
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11705
 
 
11706
 
    archive_cmds_CXX=''
11707
 
    hardcode_direct_CXX=yes
11708
 
    hardcode_libdir_separator_CXX=':'
11709
 
    link_all_deplibs_CXX=yes
11710
 
 
11711
 
    if test "$GXX" = yes; then
11712
 
      case $host_os in aix4.[012]|aix4.[012].*)
11713
 
      # We only want to do this on AIX 4.2 and lower, the check
11714
 
      # below for broken collect2 doesn't work under 4.3+
11715
 
        collect2name=`${CC} -print-prog-name=collect2`
11716
 
        if test -f "$collect2name" && \
11717
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11718
 
        then
11719
 
          # We have reworked collect2
11720
 
          :
11721
 
        else
11722
 
          # We have old collect2
11723
 
          hardcode_direct_CXX=unsupported
11724
 
          # It fails to find uninstalled libraries when the uninstalled
11725
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11726
 
          # to unsupported forces relinking
11727
 
          hardcode_minus_L_CXX=yes
11728
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11729
 
          hardcode_libdir_separator_CXX=
11730
 
        fi
11731
 
        ;;
11732
 
      esac
11733
 
      shared_flag='-shared'
11734
 
      if test "$aix_use_runtimelinking" = yes; then
11735
 
        shared_flag="$shared_flag "'${wl}-G'
11736
 
      fi
11737
 
    else
11738
 
      # not using gcc
11739
 
      if test "$host_cpu" = ia64; then
11740
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11741
 
        # chokes on -Wl,-G. The following line is correct:
11742
 
        shared_flag='-G'
11743
 
      else
11744
 
        if test "$aix_use_runtimelinking" = yes; then
11745
 
          shared_flag='${wl}-G'
11746
 
        else
11747
 
          shared_flag='${wl}-bM:SRE'
11748
 
        fi
11749
 
      fi
11750
 
    fi
11751
 
 
11752
 
    # It seems that -bexpall does not export symbols beginning with
11753
 
    # underscore (_), so it is better to generate a list of symbols to export.
11754
 
    always_export_symbols_CXX=yes
11755
 
    if test "$aix_use_runtimelinking" = yes; then
11756
 
      # Warning - without using the other runtime loading flags (-brtl),
11757
 
      # -berok will link without error, but may produce a broken library.
11758
 
      allow_undefined_flag_CXX='-berok'
11759
 
      # Determine the default libpath from the value encoded in an empty executable.
11760
 
      cat >conftest.$ac_ext <<_ACEOF
11761
 
/* confdefs.h.  */
11762
 
_ACEOF
11763
 
cat confdefs.h >>conftest.$ac_ext
11764
 
cat >>conftest.$ac_ext <<_ACEOF
11765
 
/* end confdefs.h.  */
11766
 
 
11767
 
int
11768
 
main ()
11769
 
{
11770
 
 
11771
 
  ;
11772
 
  return 0;
11773
 
}
11774
 
_ACEOF
11775
 
rm -f conftest.$ac_objext conftest$ac_exeext
11776
 
if { (ac_try="$ac_link"
11777
 
case "(($ac_try" in
11778
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11779
 
  *) ac_try_echo=$ac_try;;
11780
 
esac
11781
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11782
 
$as_echo "$ac_try_echo") >&5
11783
 
  (eval "$ac_link") 2>conftest.er1
11784
 
  ac_status=$?
11785
 
  grep -v '^ *+' conftest.er1 >conftest.err
11786
 
  rm -f conftest.er1
11787
 
  cat conftest.err >&5
11788
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789
 
  (exit $ac_status); } && {
11790
 
         test -z "$ac_cxx_werror_flag" ||
11791
 
         test ! -s conftest.err
11792
 
       } && test -s conftest$ac_exeext && {
11793
 
         test "$cross_compiling" = yes ||
11794
 
         $as_test_x conftest$ac_exeext
11795
 
       }; then
11796
 
 
11797
 
lt_aix_libpath_sed='
11798
 
    /Import File Strings/,/^$/ {
11799
 
        /^0/ {
11800
 
            s/^0  *\(.*\)$/\1/
11801
 
            p
11802
 
        }
11803
 
    }'
11804
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11805
 
# Check for a 64-bit object if we didn't find anything.
11806
 
if test -z "$aix_libpath"; then
11807
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11808
 
fi
11809
 
else
11810
 
  $as_echo "$as_me: failed program was:" >&5
11811
 
sed 's/^/| /' conftest.$ac_ext >&5
11812
 
 
11813
 
 
11814
 
fi
11815
 
 
11816
 
rm -rf conftest.dSYM
11817
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11818
 
      conftest$ac_exeext conftest.$ac_ext
11819
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11820
 
 
11821
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11822
 
 
11823
 
      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"
11824
 
     else
11825
 
      if test "$host_cpu" = ia64; then
11826
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11827
 
        allow_undefined_flag_CXX="-z nodefs"
11828
 
        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"
11829
 
      else
11830
 
        # Determine the default libpath from the value encoded in an empty executable.
11831
 
        cat >conftest.$ac_ext <<_ACEOF
11832
 
/* confdefs.h.  */
11833
 
_ACEOF
11834
 
cat confdefs.h >>conftest.$ac_ext
11835
 
cat >>conftest.$ac_ext <<_ACEOF
11836
 
/* end confdefs.h.  */
11837
 
 
11838
 
int
11839
 
main ()
11840
 
{
11841
 
 
11842
 
  ;
11843
 
  return 0;
11844
 
}
11845
 
_ACEOF
11846
 
rm -f conftest.$ac_objext conftest$ac_exeext
11847
 
if { (ac_try="$ac_link"
11848
 
case "(($ac_try" in
11849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11850
 
  *) ac_try_echo=$ac_try;;
11851
 
esac
11852
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11853
 
$as_echo "$ac_try_echo") >&5
11854
 
  (eval "$ac_link") 2>conftest.er1
11855
 
  ac_status=$?
11856
 
  grep -v '^ *+' conftest.er1 >conftest.err
11857
 
  rm -f conftest.er1
11858
 
  cat conftest.err >&5
11859
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860
 
  (exit $ac_status); } && {
11861
 
         test -z "$ac_cxx_werror_flag" ||
11862
 
         test ! -s conftest.err
11863
 
       } && test -s conftest$ac_exeext && {
11864
 
         test "$cross_compiling" = yes ||
11865
 
         $as_test_x conftest$ac_exeext
11866
 
       }; then
11867
 
 
11868
 
lt_aix_libpath_sed='
11869
 
    /Import File Strings/,/^$/ {
11870
 
        /^0/ {
11871
 
            s/^0  *\(.*\)$/\1/
11872
 
            p
11873
 
        }
11874
 
    }'
11875
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11876
 
# Check for a 64-bit object if we didn't find anything.
11877
 
if test -z "$aix_libpath"; then
11878
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11879
 
fi
11880
 
else
11881
 
  $as_echo "$as_me: failed program was:" >&5
11882
 
sed 's/^/| /' conftest.$ac_ext >&5
11883
 
 
11884
 
 
11885
 
fi
11886
 
 
11887
 
rm -rf conftest.dSYM
11888
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11889
 
      conftest$ac_exeext conftest.$ac_ext
11890
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11891
 
 
11892
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11893
 
        # Warning - without using the other run time loading flags,
11894
 
        # -berok will link without error, but may produce a broken library.
11895
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11896
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11897
 
        # Exported symbols can be pulled into shared objects from archives
11898
 
        whole_archive_flag_spec_CXX='$convenience'
11899
 
        archive_cmds_need_lc_CXX=yes
11900
 
        # This is similar to how AIX traditionally builds its shared libraries.
11901
 
        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'
11902
 
      fi
11903
 
    fi
11904
 
    ;;
11905
 
 
11906
 
  beos*)
11907
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11908
 
      allow_undefined_flag_CXX=unsupported
11909
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11910
 
      # support --undefined.  This deserves some investigation.  FIXME
11911
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11912
 
    else
11913
 
      ld_shlibs_CXX=no
11914
 
    fi
11915
 
    ;;
11916
 
 
11917
 
  chorus*)
11918
 
    case $cc_basename in
11919
 
      *)
11920
 
        # FIXME: insert proper C++ library support
11921
 
        ld_shlibs_CXX=no
11922
 
        ;;
11923
 
    esac
11924
 
    ;;
11925
 
 
11926
 
  cygwin* | mingw* | pw32*)
11927
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11928
 
    # as there is no search path for DLLs.
11929
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11930
 
    allow_undefined_flag_CXX=unsupported
11931
 
    always_export_symbols_CXX=no
11932
 
    enable_shared_with_static_runtimes_CXX=yes
11933
 
 
11934
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11935
 
      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'
11936
 
      # If the export-symbols file already is a .def file (1st line
11937
 
      # is EXPORTS), use it as is; otherwise, prepend...
11938
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11939
 
        cp $export_symbols $output_objdir/$soname.def;
11940
 
      else
11941
 
        echo EXPORTS > $output_objdir/$soname.def;
11942
 
        cat $export_symbols >> $output_objdir/$soname.def;
11943
 
      fi~
11944
 
      $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'
11945
 
    else
11946
 
      ld_shlibs_CXX=no
11947
 
    fi
11948
 
  ;;
11949
 
      darwin* | rhapsody*)
11950
 
      archive_cmds_need_lc_CXX=no
11951
 
      hardcode_direct_CXX=no
11952
 
      hardcode_automatic_CXX=yes
11953
 
      hardcode_shlibpath_var_CXX=unsupported
11954
 
      whole_archive_flag_spec_CXX=''
11955
 
      link_all_deplibs_CXX=yes
11956
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11957
 
      if test "$GXX" = yes ; then
11958
 
      output_verbose_link_cmd='echo'
11959
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11960
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11961
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11962
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11963
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11964
 
        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${_lt_dsymutil}"
11965
 
        archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11966
 
      fi
11967
 
      else
11968
 
      case $cc_basename in
11969
 
        xlc*)
11970
 
         output_verbose_link_cmd='echo'
11971
 
          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'
11972
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11973
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11974
 
          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}'
11975
 
          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}'
11976
 
          ;;
11977
 
       *)
11978
 
         ld_shlibs_CXX=no
11979
 
          ;;
11980
 
      esac
11981
 
      fi
11982
 
        ;;
11983
 
 
11984
 
  dgux*)
11985
 
    case $cc_basename in
11986
 
      ec++*)
11987
 
        # FIXME: insert proper C++ library support
11988
 
        ld_shlibs_CXX=no
11989
 
        ;;
11990
 
      ghcx*)
11991
 
        # Green Hills C++ Compiler
11992
 
        # FIXME: insert proper C++ library support
11993
 
        ld_shlibs_CXX=no
11994
 
        ;;
11995
 
      *)
11996
 
        # FIXME: insert proper C++ library support
11997
 
        ld_shlibs_CXX=no
11998
 
        ;;
11999
 
    esac
12000
 
    ;;
12001
 
  freebsd[12]*)
12002
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12003
 
    ld_shlibs_CXX=no
12004
 
    ;;
12005
 
  freebsd-elf*)
12006
 
    archive_cmds_need_lc_CXX=no
12007
 
    ;;
12008
 
  freebsd* | dragonfly*)
12009
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12010
 
    # conventions
12011
 
    ld_shlibs_CXX=yes
12012
 
    ;;
12013
 
  gnu*)
12014
 
    ;;
12015
 
  hpux9*)
12016
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12017
 
    hardcode_libdir_separator_CXX=:
12018
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12019
 
    hardcode_direct_CXX=yes
12020
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12021
 
                                # but as the default
12022
 
                                # location of the library.
12023
 
 
12024
 
    case $cc_basename in
12025
 
    CC*)
12026
 
      # FIXME: insert proper C++ library support
12027
 
      ld_shlibs_CXX=no
12028
 
      ;;
12029
 
    aCC*)
12030
 
      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'
12031
 
      # Commands to make compiler produce verbose output that lists
12032
 
      # what "hidden" libraries, object files and flags are used when
12033
 
      # linking a shared library.
12034
 
      #
12035
 
      # There doesn't appear to be a way to prevent this compiler from
12036
 
      # explicitly linking system object files so we need to strip them
12037
 
      # from the output so that they don't get included in the library
12038
 
      # dependencies.
12039
 
      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'
12040
 
      ;;
12041
 
    *)
12042
 
      if test "$GXX" = yes; then
12043
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
12044
 
      else
12045
 
        # FIXME: insert proper C++ library support
12046
 
        ld_shlibs_CXX=no
12047
 
      fi
12048
 
      ;;
12049
 
    esac
12050
 
    ;;
12051
 
  hpux10*|hpux11*)
12052
 
    if test $with_gnu_ld = no; then
12053
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12054
 
      hardcode_libdir_separator_CXX=:
12055
 
 
12056
 
      case $host_cpu in
12057
 
      hppa*64*|ia64*) ;;
12058
 
      *)
12059
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12060
 
        ;;
12061
 
      esac
12062
 
    fi
12063
 
    case $host_cpu in
12064
 
    hppa*64*|ia64*)
12065
 
      hardcode_direct_CXX=no
12066
 
      hardcode_shlibpath_var_CXX=no
12067
 
      ;;
12068
 
    *)
12069
 
      hardcode_direct_CXX=yes
12070
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12071
 
                                              # but as the default
12072
 
                                              # location of the library.
12073
 
      ;;
12074
 
    esac
12075
 
 
12076
 
    case $cc_basename in
12077
 
      CC*)
12078
 
        # FIXME: insert proper C++ library support
12079
 
        ld_shlibs_CXX=no
12080
 
        ;;
12081
 
      aCC*)
12082
 
        case $host_cpu in
12083
 
        hppa*64*)
12084
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12085
 
          ;;
12086
 
        ia64*)
12087
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12088
 
          ;;
12089
 
        *)
12090
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12091
 
          ;;
12092
 
        esac
12093
 
        # Commands to make compiler produce verbose output that lists
12094
 
        # what "hidden" libraries, object files and flags are used when
12095
 
        # linking a shared library.
12096
 
        #
12097
 
        # There doesn't appear to be a way to prevent this compiler from
12098
 
        # explicitly linking system object files so we need to strip them
12099
 
        # from the output so that they don't get included in the library
12100
 
        # dependencies.
12101
 
        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'
12102
 
        ;;
12103
 
      *)
12104
 
        if test "$GXX" = yes; then
12105
 
          if test $with_gnu_ld = no; then
12106
 
            case $host_cpu in
12107
 
            hppa*64*)
12108
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12109
 
              ;;
12110
 
            ia64*)
12111
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12112
 
              ;;
12113
 
            *)
12114
 
              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'
12115
 
              ;;
12116
 
            esac
12117
 
          fi
12118
 
        else
12119
 
          # FIXME: insert proper C++ library support
12120
 
          ld_shlibs_CXX=no
12121
 
        fi
12122
 
        ;;
12123
 
    esac
12124
 
    ;;
12125
 
  interix[3-9]*)
12126
 
    hardcode_direct_CXX=no
12127
 
    hardcode_shlibpath_var_CXX=no
12128
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12129
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12130
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12131
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12132
 
    # default) and relocated if they conflict, which is a slow very memory
12133
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12134
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12135
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12136
 
    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'
12137
 
    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'
12138
 
    ;;
12139
 
  irix5* | irix6*)
12140
 
    case $cc_basename in
12141
 
      CC*)
12142
 
        # SGI C++
12143
 
        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'
12144
 
 
12145
 
        # Archives containing C++ object files must be created using
12146
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12147
 
        # necessary to make sure instantiated templates are included
12148
 
        # in the archive.
12149
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12150
 
        ;;
12151
 
      *)
12152
 
        if test "$GXX" = yes; then
12153
 
          if test "$with_gnu_ld" = no; then
12154
 
            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'
12155
 
          else
12156
 
            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'
12157
 
          fi
12158
 
        fi
12159
 
        link_all_deplibs_CXX=yes
12160
 
        ;;
12161
 
    esac
12162
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12163
 
    hardcode_libdir_separator_CXX=:
12164
 
    ;;
12165
 
  linux* | k*bsd*-gnu)
12166
 
    case $cc_basename in
12167
 
      KCC*)
12168
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12169
 
 
12170
 
        # KCC will only create a shared library if the output file
12171
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12172
 
        # to its proper name (with version) after linking.
12173
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12174
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12175
 
        # Commands to make compiler produce verbose output that lists
12176
 
        # what "hidden" libraries, object files and flags are used when
12177
 
        # linking a shared library.
12178
 
        #
12179
 
        # There doesn't appear to be a way to prevent this compiler from
12180
 
        # explicitly linking system object files so we need to strip them
12181
 
        # from the output so that they don't get included in the library
12182
 
        # dependencies.
12183
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12184
 
 
12185
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12186
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12187
 
 
12188
 
        # Archives containing C++ object files must be created using
12189
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12190
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12191
 
        ;;
12192
 
      icpc*)
12193
 
        # Intel C++
12194
 
        with_gnu_ld=yes
12195
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12196
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12197
 
        # earlier do not add the objects themselves.
12198
 
        case `$CC -V 2>&1` in
12199
 
        *"Version 7."*)
12200
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12201
 
          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'
12202
 
          ;;
12203
 
        *)  # Version 8.0 or newer
12204
 
          tmp_idyn=
12205
 
          case $host_cpu in
12206
 
            ia64*) tmp_idyn=' -i_dynamic';;
12207
 
          esac
12208
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12209
 
          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'
12210
 
          ;;
12211
 
        esac
12212
 
        archive_cmds_need_lc_CXX=no
12213
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12214
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12215
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12216
 
        ;;
12217
 
      pgCC* | pgcpp*)
12218
 
        # Portland Group C++ compiler
12219
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12220
 
        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'
12221
 
 
12222
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12223
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12224
 
        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'
12225
 
        ;;
12226
 
      cxx*)
12227
 
        # Compaq C++
12228
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12229
 
        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'
12230
 
 
12231
 
        runpath_var=LD_RUN_PATH
12232
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12233
 
        hardcode_libdir_separator_CXX=:
12234
 
 
12235
 
        # Commands to make compiler produce verbose output that lists
12236
 
        # what "hidden" libraries, object files and flags are used when
12237
 
        # linking a shared library.
12238
 
        #
12239
 
        # There doesn't appear to be a way to prevent this compiler from
12240
 
        # explicitly linking system object files so we need to strip them
12241
 
        # from the output so that they don't get included in the library
12242
 
        # dependencies.
12243
 
        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'
12244
 
        ;;
12245
 
      *)
12246
 
        case `$CC -V 2>&1 | sed 5q` in
12247
 
        *Sun\ C*)
12248
 
          # Sun C++ 5.9
12249
 
          no_undefined_flag_CXX=' -zdefs'
12250
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12251
 
          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'
12252
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12253
 
          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'
12254
 
 
12255
 
          # Not sure whether something based on
12256
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12257
 
          # would be better.
12258
 
          output_verbose_link_cmd='echo'
12259
 
 
12260
 
          # Archives containing C++ object files must be created using
12261
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12262
 
          # necessary to make sure instantiated templates are included
12263
 
          # in the archive.
12264
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12265
 
          ;;
12266
 
        esac
12267
 
        ;;
12268
 
    esac
12269
 
    ;;
12270
 
  lynxos*)
12271
 
    # FIXME: insert proper C++ library support
12272
 
    ld_shlibs_CXX=no
12273
 
    ;;
12274
 
  m88k*)
12275
 
    # FIXME: insert proper C++ library support
12276
 
    ld_shlibs_CXX=no
12277
 
    ;;
12278
 
  mvs*)
12279
 
    case $cc_basename in
12280
 
      cxx*)
12281
 
        # FIXME: insert proper C++ library support
12282
 
        ld_shlibs_CXX=no
12283
 
        ;;
12284
 
      *)
12285
 
        # FIXME: insert proper C++ library support
12286
 
        ld_shlibs_CXX=no
12287
 
        ;;
12288
 
    esac
12289
 
    ;;
12290
 
  netbsd*)
12291
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12292
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12293
 
      wlarc=
12294
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12295
 
      hardcode_direct_CXX=yes
12296
 
      hardcode_shlibpath_var_CXX=no
12297
 
    fi
12298
 
    # Workaround some broken pre-1.5 toolchains
12299
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12300
 
    ;;
12301
 
  openbsd2*)
12302
 
    # C++ shared libraries are fairly broken
12303
 
    ld_shlibs_CXX=no
12304
 
    ;;
12305
 
  openbsd*)
12306
 
    if test -f /usr/libexec/ld.so; then
12307
 
      hardcode_direct_CXX=yes
12308
 
      hardcode_shlibpath_var_CXX=no
12309
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12310
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12311
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12312
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12313
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12314
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315
 
      fi
12316
 
      output_verbose_link_cmd='echo'
12317
 
    else
12318
 
      ld_shlibs_CXX=no
12319
 
    fi
12320
 
    ;;
12321
 
  osf3*)
12322
 
    case $cc_basename in
12323
 
      KCC*)
12324
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12325
 
 
12326
 
        # KCC will only create a shared library if the output file
12327
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12328
 
        # to its proper name (with version) after linking.
12329
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12330
 
 
12331
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12332
 
        hardcode_libdir_separator_CXX=:
12333
 
 
12334
 
        # Archives containing C++ object files must be created using
12335
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12336
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12337
 
 
12338
 
        ;;
12339
 
      RCC*)
12340
 
        # Rational C++ 2.4.1
12341
 
        # FIXME: insert proper C++ library support
12342
 
        ld_shlibs_CXX=no
12343
 
        ;;
12344
 
      cxx*)
12345
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12346
 
        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'
12347
 
 
12348
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12349
 
        hardcode_libdir_separator_CXX=:
12350
 
 
12351
 
        # Commands to make compiler produce verbose output that lists
12352
 
        # what "hidden" libraries, object files and flags are used when
12353
 
        # linking a shared library.
12354
 
        #
12355
 
        # There doesn't appear to be a way to prevent this compiler from
12356
 
        # explicitly linking system object files so we need to strip them
12357
 
        # from the output so that they don't get included in the library
12358
 
        # dependencies.
12359
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
12360
 
        ;;
12361
 
      *)
12362
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12363
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12364
 
          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'
12365
 
 
12366
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12367
 
          hardcode_libdir_separator_CXX=:
12368
 
 
12369
 
          # Commands to make compiler produce verbose output that lists
12370
 
          # what "hidden" libraries, object files and flags are used when
12371
 
          # linking a shared library.
12372
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12373
 
 
12374
 
        else
12375
 
          # FIXME: insert proper C++ library support
12376
 
          ld_shlibs_CXX=no
12377
 
        fi
12378
 
        ;;
12379
 
    esac
12380
 
    ;;
12381
 
  osf4* | osf5*)
12382
 
    case $cc_basename in
12383
 
      KCC*)
12384
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12385
 
 
12386
 
        # KCC will only create a shared library if the output file
12387
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12388
 
        # to its proper name (with version) after linking.
12389
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12390
 
 
12391
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12392
 
        hardcode_libdir_separator_CXX=:
12393
 
 
12394
 
        # Archives containing C++ object files must be created using
12395
 
        # the KAI C++ compiler.
12396
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12397
 
        ;;
12398
 
      RCC*)
12399
 
        # Rational C++ 2.4.1
12400
 
        # FIXME: insert proper C++ library support
12401
 
        ld_shlibs_CXX=no
12402
 
        ;;
12403
 
      cxx*)
12404
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12405
 
        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'
12406
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12407
 
          echo "-hidden">> $lib.exp~
12408
 
          $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~
12409
 
          $rm $lib.exp'
12410
 
 
12411
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12412
 
        hardcode_libdir_separator_CXX=:
12413
 
 
12414
 
        # Commands to make compiler produce verbose output that lists
12415
 
        # what "hidden" libraries, object files and flags are used when
12416
 
        # linking a shared library.
12417
 
        #
12418
 
        # There doesn't appear to be a way to prevent this compiler from
12419
 
        # explicitly linking system object files so we need to strip them
12420
 
        # from the output so that they don't get included in the library
12421
 
        # dependencies.
12422
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
12423
 
        ;;
12424
 
      *)
12425
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12426
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12427
 
         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'
12428
 
 
12429
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12430
 
          hardcode_libdir_separator_CXX=:
12431
 
 
12432
 
          # Commands to make compiler produce verbose output that lists
12433
 
          # what "hidden" libraries, object files and flags are used when
12434
 
          # linking a shared library.
12435
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12436
 
 
12437
 
        else
12438
 
          # FIXME: insert proper C++ library support
12439
 
          ld_shlibs_CXX=no
12440
 
        fi
12441
 
        ;;
12442
 
    esac
12443
 
    ;;
12444
 
  psos*)
12445
 
    # FIXME: insert proper C++ library support
12446
 
    ld_shlibs_CXX=no
12447
 
    ;;
12448
 
  sunos4*)
12449
 
    case $cc_basename in
12450
 
      CC*)
12451
 
        # Sun C++ 4.x
12452
 
        # FIXME: insert proper C++ library support
12453
 
        ld_shlibs_CXX=no
12454
 
        ;;
12455
 
      lcc*)
12456
 
        # Lucid
12457
 
        # FIXME: insert proper C++ library support
12458
 
        ld_shlibs_CXX=no
12459
 
        ;;
12460
 
      *)
12461
 
        # FIXME: insert proper C++ library support
12462
 
        ld_shlibs_CXX=no
12463
 
        ;;
12464
 
    esac
12465
 
    ;;
12466
 
  solaris*)
12467
 
    case $cc_basename in
12468
 
      CC*)
12469
 
        # Sun C++ 4.2, 5.x and Centerline C++
12470
 
        archive_cmds_need_lc_CXX=yes
12471
 
        no_undefined_flag_CXX=' -zdefs'
12472
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12473
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12474
 
        $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'
12475
 
 
12476
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12477
 
        hardcode_shlibpath_var_CXX=no
12478
 
        case $host_os in
12479
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12480
 
          *)
12481
 
            # The compiler driver will combine and reorder linker options,
12482
 
            # but understands `-z linker_flag'.
12483
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12484
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12485
 
            ;;
12486
 
        esac
12487
 
        link_all_deplibs_CXX=yes
12488
 
 
12489
 
        output_verbose_link_cmd='echo'
12490
 
 
12491
 
        # Archives containing C++ object files must be created using
12492
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12493
 
        # necessary to make sure instantiated templates are included
12494
 
        # in the archive.
12495
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12496
 
        ;;
12497
 
      gcx*)
12498
 
        # Green Hills C++ Compiler
12499
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12500
 
 
12501
 
        # The C++ compiler must be used to create the archive.
12502
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12503
 
        ;;
12504
 
      *)
12505
 
        # GNU C++ compiler with Solaris linker
12506
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12507
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12508
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12509
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12510
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12511
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12512
 
 
12513
 
            # Commands to make compiler produce verbose output that lists
12514
 
            # what "hidden" libraries, object files and flags are used when
12515
 
            # linking a shared library.
12516
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12517
 
          else
12518
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12519
 
            # platform.
12520
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12521
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12522
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12523
 
 
12524
 
            # Commands to make compiler produce verbose output that lists
12525
 
            # what "hidden" libraries, object files and flags are used when
12526
 
            # linking a shared library.
12527
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12528
 
          fi
12529
 
 
12530
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12531
 
          case $host_os in
12532
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12533
 
          *)
12534
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12535
 
            ;;
12536
 
          esac
12537
 
        fi
12538
 
        ;;
12539
 
    esac
12540
 
    ;;
12541
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12542
 
    no_undefined_flag_CXX='${wl}-z,text'
12543
 
    archive_cmds_need_lc_CXX=no
12544
 
    hardcode_shlibpath_var_CXX=no
12545
 
    runpath_var='LD_RUN_PATH'
12546
 
 
12547
 
    case $cc_basename in
12548
 
      CC*)
12549
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12550
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12551
 
        ;;
12552
 
      *)
12553
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12554
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12555
 
        ;;
12556
 
    esac
12557
 
    ;;
12558
 
  sysv5* | sco3.2v5* | sco5v6*)
12559
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12560
 
    # link with -lc, and that would cause any symbols used from libc to
12561
 
    # always be unresolved, which means just about no library would
12562
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12563
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12564
 
    # as -z defs.
12565
 
    # For security reasons, it is highly recommended that you always
12566
 
    # use absolute paths for naming shared libraries, and exclude the
12567
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12568
 
    # requires that you compile everything twice, which is a pain.
12569
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12570
 
    # non-empty value in the environment.  Most likely only useful for
12571
 
    # creating official distributions of packages.
12572
 
    # This is a hack until libtool officially supports absolute path
12573
 
    # names for shared libraries.
12574
 
    no_undefined_flag_CXX='${wl}-z,text'
12575
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12576
 
    archive_cmds_need_lc_CXX=no
12577
 
    hardcode_shlibpath_var_CXX=no
12578
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12579
 
    hardcode_libdir_separator_CXX=':'
12580
 
    link_all_deplibs_CXX=yes
12581
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12582
 
    runpath_var='LD_RUN_PATH'
12583
 
 
12584
 
    case $cc_basename in
12585
 
      CC*)
12586
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12587
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12588
 
        ;;
12589
 
      *)
12590
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12591
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12592
 
        ;;
12593
 
    esac
12594
 
    ;;
12595
 
  tandem*)
12596
 
    case $cc_basename in
12597
 
      NCC*)
12598
 
        # NonStop-UX NCC 3.20
12599
 
        # FIXME: insert proper C++ library support
12600
 
        ld_shlibs_CXX=no
12601
 
        ;;
12602
 
      *)
12603
 
        # FIXME: insert proper C++ library support
12604
 
        ld_shlibs_CXX=no
12605
 
        ;;
12606
 
    esac
12607
 
    ;;
12608
 
  vxworks*)
12609
 
    # FIXME: insert proper C++ library support
12610
 
    ld_shlibs_CXX=no
12611
 
    ;;
12612
 
  *)
12613
 
    # FIXME: insert proper C++ library support
12614
 
    ld_shlibs_CXX=no
12615
 
    ;;
12616
 
esac
12617
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12618
 
$as_echo "$ld_shlibs_CXX" >&6; }
12619
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12620
 
 
12621
 
GCC_CXX="$GXX"
12622
 
LD_CXX="$LD"
12623
 
 
12624
 
cat > conftest.$ac_ext <<EOF
12625
 
class Foo
12626
 
{
12627
 
public:
12628
 
  Foo (void) { a = 0; }
12629
 
private:
12630
 
  int a;
12631
 
};
12632
 
EOF
12633
 
 
12634
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635
 
  (eval $ac_compile) 2>&5
12636
 
  ac_status=$?
12637
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638
 
  (exit $ac_status); }; then
12639
 
  # Parse the compiler output and extract the necessary
12640
 
  # objects, libraries and library flags.
12641
 
 
12642
 
  # Sentinel used to keep track of whether or not we are before
12643
 
  # the conftest object file.
12644
 
  pre_test_object_deps_done=no
12645
 
 
12646
 
  # The `*' in the case matches for architectures that use `case' in
12647
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12648
 
  # eval without this substitution.
12649
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12650
 
 
12651
 
  for p in `eval $output_verbose_link_cmd`; do
12652
 
    case $p in
12653
 
 
12654
 
    -L* | -R* | -l*)
12655
 
       # Some compilers place space between "-{L,R}" and the path.
12656
 
       # Remove the space.
12657
 
       if test $p = "-L" \
12658
 
          || test $p = "-R"; then
12659
 
         prev=$p
12660
 
         continue
12661
 
       else
12662
 
         prev=
12663
 
       fi
12664
 
 
12665
 
       if test "$pre_test_object_deps_done" = no; then
12666
 
         case $p in
12667
 
         -L* | -R*)
12668
 
           # Internal compiler library paths should come after those
12669
 
           # provided the user.  The postdeps already come after the
12670
 
           # user supplied libs so there is no need to process them.
12671
 
           if test -z "$compiler_lib_search_path_CXX"; then
12672
 
             compiler_lib_search_path_CXX="${prev}${p}"
12673
 
           else
12674
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12675
 
           fi
12676
 
           ;;
12677
 
         # The "-l" case would never come before the object being
12678
 
         # linked, so don't bother handling this case.
12679
 
         esac
12680
 
       else
12681
 
         if test -z "$postdeps_CXX"; then
12682
 
           postdeps_CXX="${prev}${p}"
12683
 
         else
12684
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12685
 
         fi
12686
 
       fi
12687
 
       ;;
12688
 
 
12689
 
    *.$objext)
12690
 
       # This assumes that the test object file only shows up
12691
 
       # once in the compiler output.
12692
 
       if test "$p" = "conftest.$objext"; then
12693
 
         pre_test_object_deps_done=yes
12694
 
         continue
12695
 
       fi
12696
 
 
12697
 
       if test "$pre_test_object_deps_done" = no; then
12698
 
         if test -z "$predep_objects_CXX"; then
12699
 
           predep_objects_CXX="$p"
12700
 
         else
12701
 
           predep_objects_CXX="$predep_objects_CXX $p"
12702
 
         fi
12703
 
       else
12704
 
         if test -z "$postdep_objects_CXX"; then
12705
 
           postdep_objects_CXX="$p"
12706
 
         else
12707
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12708
 
         fi
12709
 
       fi
12710
 
       ;;
12711
 
 
12712
 
    *) ;; # Ignore the rest.
12713
 
 
12714
 
    esac
12715
 
  done
12716
 
 
12717
 
  # Clean up.
12718
 
  rm -f a.out a.exe
12719
 
else
12720
 
  echo "libtool.m4: error: problem compiling CXX test program"
12721
 
fi
12722
 
 
12723
 
$rm -f confest.$objext
12724
 
 
12725
 
compiler_lib_search_dirs_CXX=
12726
 
if test -n "$compiler_lib_search_path_CXX"; then
12727
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12728
 
fi
12729
 
 
12730
 
# PORTME: override above test on systems where it is broken
12731
 
case $host_os in
12732
 
interix[3-9]*)
12733
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12734
 
  # hack all around it, let's just trust "g++" to DTRT.
12735
 
  predep_objects_CXX=
12736
 
  postdep_objects_CXX=
12737
 
  postdeps_CXX=
12738
 
  ;;
12739
 
 
12740
 
linux*)
12741
 
  case `$CC -V 2>&1 | sed 5q` in
12742
 
  *Sun\ C*)
12743
 
    # Sun C++ 5.9
12744
 
    #
12745
 
    # The more standards-conforming stlport4 library is
12746
 
    # incompatible with the Cstd library. Avoid specifying
12747
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12748
 
    # -library=stlport4 depends on it.
12749
 
    case " $CXX $CXXFLAGS " in
12750
 
    *" -library=stlport4 "*)
12751
 
      solaris_use_stlport4=yes
12752
 
      ;;
12753
 
    esac
12754
 
    if test "$solaris_use_stlport4" != yes; then
12755
 
      postdeps_CXX='-library=Cstd -library=Crun'
12756
 
    fi
12757
 
    ;;
12758
 
  esac
12759
 
  ;;
12760
 
 
12761
 
solaris*)
12762
 
  case $cc_basename in
12763
 
  CC*)
12764
 
    # The more standards-conforming stlport4 library is
12765
 
    # incompatible with the Cstd library. Avoid specifying
12766
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12767
 
    # -library=stlport4 depends on it.
12768
 
    case " $CXX $CXXFLAGS " in
12769
 
    *" -library=stlport4 "*)
12770
 
      solaris_use_stlport4=yes
12771
 
      ;;
12772
 
    esac
12773
 
 
12774
 
    # Adding this requires a known-good setup of shared libraries for
12775
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12776
 
    # archive will be linked into the output, leading to subtle bugs.
12777
 
    if test "$solaris_use_stlport4" != yes; then
12778
 
      postdeps_CXX='-library=Cstd -library=Crun'
12779
 
    fi
12780
 
    ;;
12781
 
  esac
12782
 
  ;;
12783
 
esac
12784
 
 
12785
 
case " $postdeps_CXX " in
12786
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12787
 
esac
12788
 
 
12789
 
lt_prog_compiler_wl_CXX=
12790
 
lt_prog_compiler_pic_CXX=
12791
 
lt_prog_compiler_static_CXX=
12792
 
 
12793
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12794
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12795
 
 
12796
 
  # C++ specific cases for pic, static, wl, etc.
12797
 
  if test "$GXX" = yes; then
12798
 
    lt_prog_compiler_wl_CXX='-Wl,'
12799
 
    lt_prog_compiler_static_CXX='-static'
12800
 
 
12801
 
    case $host_os in
12802
 
    aix*)
12803
 
      # All AIX code is PIC.
12804
 
      if test "$host_cpu" = ia64; then
12805
 
        # AIX 5 now supports IA64 processor
12806
 
        lt_prog_compiler_static_CXX='-Bstatic'
12807
 
      fi
12808
 
      ;;
12809
 
    amigaos*)
12810
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12811
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12812
 
      # like `-m68040'.
12813
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12814
 
      ;;
12815
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12816
 
      # PIC is the default for these OSes.
12817
 
      ;;
12818
 
    mingw* | cygwin* | os2* | pw32*)
12819
 
      # This hack is so that the source file can tell whether it is being
12820
 
      # built for inclusion in a dll (and should export symbols for example).
12821
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12822
 
      # (--disable-auto-import) libraries
12823
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12824
 
      ;;
12825
 
    darwin* | rhapsody*)
12826
 
      # PIC is the default on this platform
12827
 
      # Common symbols not allowed in MH_DYLIB files
12828
 
      lt_prog_compiler_pic_CXX='-fno-common'
12829
 
      ;;
12830
 
    *djgpp*)
12831
 
      # DJGPP does not support shared libraries at all
12832
 
      lt_prog_compiler_pic_CXX=
12833
 
      ;;
12834
 
    interix[3-9]*)
12835
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12836
 
      # Instead, we relocate shared libraries at runtime.
12837
 
      ;;
12838
 
    sysv4*MP*)
12839
 
      if test -d /usr/nec; then
12840
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12841
 
      fi
12842
 
      ;;
12843
 
    hpux*)
12844
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12845
 
      # not for PA HP-UX.
12846
 
      case $host_cpu in
12847
 
      hppa*64*|ia64*)
12848
 
        ;;
12849
 
      *)
12850
 
        lt_prog_compiler_pic_CXX='-fPIC'
12851
 
        ;;
12852
 
      esac
12853
 
      ;;
12854
 
    *)
12855
 
      lt_prog_compiler_pic_CXX='-fPIC'
12856
 
      ;;
12857
 
    esac
12858
 
  else
12859
 
    case $host_os in
12860
 
      aix[4-9]*)
12861
 
        # All AIX code is PIC.
12862
 
        if test "$host_cpu" = ia64; then
12863
 
          # AIX 5 now supports IA64 processor
12864
 
          lt_prog_compiler_static_CXX='-Bstatic'
12865
 
        else
12866
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12867
 
        fi
12868
 
        ;;
12869
 
      chorus*)
12870
 
        case $cc_basename in
12871
 
        cxch68*)
12872
 
          # Green Hills C++ Compiler
12873
 
          # _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"
12874
 
          ;;
12875
 
        esac
12876
 
        ;;
12877
 
       darwin*)
12878
 
         # PIC is the default on this platform
12879
 
         # Common symbols not allowed in MH_DYLIB files
12880
 
         case $cc_basename in
12881
 
           xlc*)
12882
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12883
 
           lt_prog_compiler_wl_CXX='-Wl,'
12884
 
           ;;
12885
 
         esac
12886
 
       ;;
12887
 
      dgux*)
12888
 
        case $cc_basename in
12889
 
          ec++*)
12890
 
            lt_prog_compiler_pic_CXX='-KPIC'
12891
 
            ;;
12892
 
          ghcx*)
12893
 
            # Green Hills C++ Compiler
12894
 
            lt_prog_compiler_pic_CXX='-pic'
12895
 
            ;;
12896
 
          *)
12897
 
            ;;
12898
 
        esac
12899
 
        ;;
12900
 
      freebsd* | dragonfly*)
12901
 
        # FreeBSD uses GNU C++
12902
 
        ;;
12903
 
      hpux9* | hpux10* | hpux11*)
12904
 
        case $cc_basename in
12905
 
          CC*)
12906
 
            lt_prog_compiler_wl_CXX='-Wl,'
12907
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12908
 
            if test "$host_cpu" != ia64; then
12909
 
              lt_prog_compiler_pic_CXX='+Z'
12910
 
            fi
12911
 
            ;;
12912
 
          aCC*)
12913
 
            lt_prog_compiler_wl_CXX='-Wl,'
12914
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12915
 
            case $host_cpu in
12916
 
            hppa*64*|ia64*)
12917
 
              # +Z the default
12918
 
              ;;
12919
 
            *)
12920
 
              lt_prog_compiler_pic_CXX='+Z'
12921
 
              ;;
12922
 
            esac
12923
 
            ;;
12924
 
          *)
12925
 
            ;;
12926
 
        esac
12927
 
        ;;
12928
 
      interix*)
12929
 
        # This is c89, which is MS Visual C++ (no shared libs)
12930
 
        # Anyone wants to do a port?
12931
 
        ;;
12932
 
      irix5* | irix6* | nonstopux*)
12933
 
        case $cc_basename in
12934
 
          CC*)
12935
 
            lt_prog_compiler_wl_CXX='-Wl,'
12936
 
            lt_prog_compiler_static_CXX='-non_shared'
12937
 
            # CC pic flag -KPIC is the default.
12938
 
            ;;
12939
 
          *)
12940
 
            ;;
12941
 
        esac
12942
 
        ;;
12943
 
      linux* | k*bsd*-gnu)
12944
 
        case $cc_basename in
12945
 
          KCC*)
12946
 
            # KAI C++ Compiler
12947
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12948
 
            lt_prog_compiler_pic_CXX='-fPIC'
12949
 
            ;;
12950
 
          icpc* | ecpc*)
12951
 
            # Intel C++
12952
 
            lt_prog_compiler_wl_CXX='-Wl,'
12953
 
            lt_prog_compiler_pic_CXX='-KPIC'
12954
 
            lt_prog_compiler_static_CXX='-static'
12955
 
            ;;
12956
 
          pgCC* | pgcpp*)
12957
 
            # Portland Group C++ compiler.
12958
 
            lt_prog_compiler_wl_CXX='-Wl,'
12959
 
            lt_prog_compiler_pic_CXX='-fpic'
12960
 
            lt_prog_compiler_static_CXX='-Bstatic'
12961
 
            ;;
12962
 
          cxx*)
12963
 
            # Compaq C++
12964
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12965
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12966
 
            lt_prog_compiler_pic_CXX=
12967
 
            lt_prog_compiler_static_CXX='-non_shared'
12968
 
            ;;
12969
 
          *)
12970
 
            case `$CC -V 2>&1 | sed 5q` in
12971
 
            *Sun\ C*)
12972
 
              # Sun C++ 5.9
12973
 
              lt_prog_compiler_pic_CXX='-KPIC'
12974
 
              lt_prog_compiler_static_CXX='-Bstatic'
12975
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12976
 
              ;;
12977
 
            esac
12978
 
            ;;
12979
 
        esac
12980
 
        ;;
12981
 
      lynxos*)
12982
 
        ;;
12983
 
      m88k*)
12984
 
        ;;
12985
 
      mvs*)
12986
 
        case $cc_basename in
12987
 
          cxx*)
12988
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12989
 
            ;;
12990
 
          *)
12991
 
            ;;
12992
 
        esac
12993
 
        ;;
12994
 
      netbsd*)
12995
 
        ;;
12996
 
      osf3* | osf4* | osf5*)
12997
 
        case $cc_basename in
12998
 
          KCC*)
12999
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13000
 
            ;;
13001
 
          RCC*)
13002
 
            # Rational C++ 2.4.1
13003
 
            lt_prog_compiler_pic_CXX='-pic'
13004
 
            ;;
13005
 
          cxx*)
13006
 
            # Digital/Compaq C++
13007
 
            lt_prog_compiler_wl_CXX='-Wl,'
13008
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13009
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13010
 
            lt_prog_compiler_pic_CXX=
13011
 
            lt_prog_compiler_static_CXX='-non_shared'
13012
 
            ;;
13013
 
          *)
13014
 
            ;;
13015
 
        esac
13016
 
        ;;
13017
 
      psos*)
13018
 
        ;;
13019
 
      solaris*)
13020
 
        case $cc_basename in
13021
 
          CC*)
13022
 
            # Sun C++ 4.2, 5.x and Centerline C++
13023
 
            lt_prog_compiler_pic_CXX='-KPIC'
13024
 
            lt_prog_compiler_static_CXX='-Bstatic'
13025
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13026
 
            ;;
13027
 
          gcx*)
13028
 
            # Green Hills C++ Compiler
13029
 
            lt_prog_compiler_pic_CXX='-PIC'
13030
 
            ;;
13031
 
          *)
13032
 
            ;;
13033
 
        esac
13034
 
        ;;
13035
 
      sunos4*)
13036
 
        case $cc_basename in
13037
 
          CC*)
13038
 
            # Sun C++ 4.x
13039
 
            lt_prog_compiler_pic_CXX='-pic'
13040
 
            lt_prog_compiler_static_CXX='-Bstatic'
13041
 
            ;;
13042
 
          lcc*)
13043
 
            # Lucid
13044
 
            lt_prog_compiler_pic_CXX='-pic'
13045
 
            ;;
13046
 
          *)
13047
 
            ;;
13048
 
        esac
13049
 
        ;;
13050
 
      tandem*)
13051
 
        case $cc_basename in
13052
 
          NCC*)
13053
 
            # NonStop-UX NCC 3.20
13054
 
            lt_prog_compiler_pic_CXX='-KPIC'
13055
 
            ;;
13056
 
          *)
13057
 
            ;;
13058
 
        esac
13059
 
        ;;
13060
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13061
 
        case $cc_basename in
13062
 
          CC*)
13063
 
            lt_prog_compiler_wl_CXX='-Wl,'
13064
 
            lt_prog_compiler_pic_CXX='-KPIC'
13065
 
            lt_prog_compiler_static_CXX='-Bstatic'
13066
 
            ;;
13067
 
        esac
13068
 
        ;;
13069
 
      vxworks*)
13070
 
        ;;
13071
 
      *)
13072
 
        lt_prog_compiler_can_build_shared_CXX=no
13073
 
        ;;
13074
 
    esac
13075
 
  fi
13076
 
 
13077
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13078
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13079
 
 
13080
 
#
13081
 
# Check to make sure the PIC flag actually works.
13082
 
#
13083
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13084
 
 
13085
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13086
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13087
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13088
 
  $as_echo_n "(cached) " >&6
13089
 
else
13090
 
  lt_cv_prog_compiler_pic_works_CXX=no
13091
 
  ac_outfile=conftest.$ac_objext
13092
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13093
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13094
 
   # Insert the option either (1) after the last *FLAGS variable, or
13095
 
   # (2) before a word containing "conftest.", or (3) at the end.
13096
 
   # Note that $ac_compile itself does not contain backslashes and begins
13097
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13098
 
   # The option is referenced via a variable to avoid confusing sed.
13099
 
   lt_compile=`echo "$ac_compile" | $SED \
13100
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13101
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13102
 
   -e 's:$: $lt_compiler_flag:'`
13103
 
   (eval echo "\"\$as_me:13103: $lt_compile\"" >&5)
13104
 
   (eval "$lt_compile" 2>conftest.err)
13105
 
   ac_status=$?
13106
 
   cat conftest.err >&5
13107
 
   echo "$as_me:13107: \$? = $ac_status" >&5
13108
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13109
 
     # The compiler can only warn and ignore the option if not recognized
13110
 
     # So say no if there are warnings other than the usual output.
13111
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13112
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13113
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13114
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13115
 
     fi
13116
 
   fi
13117
 
   $rm conftest*
13118
 
 
13119
 
fi
13120
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13121
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13122
 
 
13123
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13124
 
    case $lt_prog_compiler_pic_CXX in
13125
 
     "" | " "*) ;;
13126
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13127
 
     esac
13128
 
else
13129
 
    lt_prog_compiler_pic_CXX=
13130
 
     lt_prog_compiler_can_build_shared_CXX=no
13131
 
fi
13132
 
 
13133
 
fi
13134
 
case $host_os in
13135
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13136
 
  *djgpp*)
13137
 
    lt_prog_compiler_pic_CXX=
13138
 
    ;;
13139
 
  *)
13140
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13141
 
    ;;
13142
 
esac
13143
 
 
13144
 
#
13145
 
# Check to make sure the static flag actually works.
13146
 
#
13147
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13148
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13149
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13150
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13151
 
  $as_echo_n "(cached) " >&6
13152
 
else
13153
 
  lt_cv_prog_compiler_static_works_CXX=no
13154
 
   save_LDFLAGS="$LDFLAGS"
13155
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13156
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13157
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13158
 
     # The linker can only warn and ignore the option if not recognized
13159
 
     # So say no if there are warnings
13160
 
     if test -s conftest.err; then
13161
 
       # Append any errors to the config.log.
13162
 
       cat conftest.err 1>&5
13163
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13164
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13165
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13166
 
         lt_cv_prog_compiler_static_works_CXX=yes
13167
 
       fi
13168
 
     else
13169
 
       lt_cv_prog_compiler_static_works_CXX=yes
13170
 
     fi
13171
 
   fi
13172
 
   $rm -r conftest*
13173
 
   LDFLAGS="$save_LDFLAGS"
13174
 
 
13175
 
fi
13176
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13177
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13178
 
 
13179
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13180
 
    :
13181
 
else
13182
 
    lt_prog_compiler_static_CXX=
13183
 
fi
13184
 
 
13185
 
 
13186
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13187
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13188
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13189
 
  $as_echo_n "(cached) " >&6
13190
 
else
13191
 
  lt_cv_prog_compiler_c_o_CXX=no
13192
 
   $rm -r conftest 2>/dev/null
13193
 
   mkdir conftest
13194
 
   cd conftest
13195
 
   mkdir out
13196
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13197
 
 
13198
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13199
 
   # Insert the option either (1) after the last *FLAGS variable, or
13200
 
   # (2) before a word containing "conftest.", or (3) at the end.
13201
 
   # Note that $ac_compile itself does not contain backslashes and begins
13202
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13203
 
   lt_compile=`echo "$ac_compile" | $SED \
13204
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13205
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13206
 
   -e 's:$: $lt_compiler_flag:'`
13207
 
   (eval echo "\"\$as_me:13207: $lt_compile\"" >&5)
13208
 
   (eval "$lt_compile" 2>out/conftest.err)
13209
 
   ac_status=$?
13210
 
   cat out/conftest.err >&5
13211
 
   echo "$as_me:13211: \$? = $ac_status" >&5
13212
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13213
 
   then
13214
 
     # The compiler can only warn and ignore the option if not recognized
13215
 
     # So say no if there are warnings
13216
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13217
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13218
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13219
 
       lt_cv_prog_compiler_c_o_CXX=yes
13220
 
     fi
13221
 
   fi
13222
 
   chmod u+w . 2>&5
13223
 
   $rm conftest*
13224
 
   # SGI C++ compiler will create directory out/ii_files/ for
13225
 
   # template instantiation
13226
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13227
 
   $rm out/* && rmdir out
13228
 
   cd ..
13229
 
   rmdir conftest
13230
 
   $rm conftest*
13231
 
 
13232
 
fi
13233
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13234
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13235
 
 
13236
 
 
13237
 
hard_links="nottested"
13238
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13239
 
  # do not overwrite the value of need_locks provided by the user
13240
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13241
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
13242
 
  hard_links=yes
13243
 
  $rm conftest*
13244
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13245
 
  touch conftest.a
13246
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13247
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13248
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13249
 
$as_echo "$hard_links" >&6; }
13250
 
  if test "$hard_links" = no; then
13251
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13252
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13253
 
    need_locks=warn
13254
 
  fi
13255
 
else
13256
 
  need_locks=no
13257
 
fi
13258
 
 
13259
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13260
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13261
 
 
13262
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13263
 
  case $host_os in
13264
 
  aix[4-9]*)
13265
 
    # If we're using GNU nm, then we don't want the "-C" option.
13266
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13267
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13268
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13269
 
    else
13270
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13271
 
    fi
13272
 
    ;;
13273
 
  pw32*)
13274
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13275
 
  ;;
13276
 
  cygwin* | mingw*)
13277
 
    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'
13278
 
  ;;
13279
 
  *)
13280
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13281
 
  ;;
13282
 
  esac
13283
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13284
 
 
13285
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13286
 
$as_echo "$ld_shlibs_CXX" >&6; }
13287
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13288
 
 
13289
 
#
13290
 
# Do we need to explicitly link libc?
13291
 
#
13292
 
case "x$archive_cmds_need_lc_CXX" in
13293
 
x|xyes)
13294
 
  # Assume -lc should be added
13295
 
  archive_cmds_need_lc_CXX=yes
13296
 
 
13297
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13298
 
    case $archive_cmds_CXX in
13299
 
    *'~'*)
13300
 
      # FIXME: we may have to deal with multi-command sequences.
13301
 
      ;;
13302
 
    '$CC '*)
13303
 
      # Test whether the compiler implicitly links with -lc since on some
13304
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13305
 
      # to ld, don't add -lc before -lgcc.
13306
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13307
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13308
 
      $rm conftest*
13309
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13310
 
 
13311
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13312
 
  (eval $ac_compile) 2>&5
13313
 
  ac_status=$?
13314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315
 
  (exit $ac_status); } 2>conftest.err; then
13316
 
        soname=conftest
13317
 
        lib=conftest
13318
 
        libobjs=conftest.$ac_objext
13319
 
        deplibs=
13320
 
        wl=$lt_prog_compiler_wl_CXX
13321
 
        pic_flag=$lt_prog_compiler_pic_CXX
13322
 
        compiler_flags=-v
13323
 
        linker_flags=-v
13324
 
        verstring=
13325
 
        output_objdir=.
13326
 
        libname=conftest
13327
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13328
 
        allow_undefined_flag_CXX=
13329
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13330
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13331
 
  ac_status=$?
13332
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333
 
  (exit $ac_status); }
13334
 
        then
13335
 
          archive_cmds_need_lc_CXX=no
13336
 
        else
13337
 
          archive_cmds_need_lc_CXX=yes
13338
 
        fi
13339
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13340
 
      else
13341
 
        cat conftest.err 1>&5
13342
 
      fi
13343
 
      $rm conftest*
13344
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13345
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13346
 
      ;;
13347
 
    esac
13348
 
  fi
13349
 
  ;;
13350
 
esac
13351
 
 
13352
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13353
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13354
 
library_names_spec=
13355
 
libname_spec='lib$name'
13356
 
soname_spec=
13357
 
shrext_cmds=".so"
13358
 
postinstall_cmds=
13359
 
postuninstall_cmds=
13360
 
finish_cmds=
13361
 
finish_eval=
13362
 
shlibpath_var=
13363
 
shlibpath_overrides_runpath=unknown
13364
 
version_type=none
13365
 
dynamic_linker="$host_os ld.so"
13366
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13367
 
 
13368
 
need_lib_prefix=unknown
13369
 
hardcode_into_libs=no
13370
 
 
13371
 
# when you set need_version to no, make sure it does not cause -set_version
13372
 
# flags to be left without arguments
13373
 
need_version=unknown
13374
 
 
13375
 
case $host_os in
13376
 
aix3*)
13377
 
  version_type=linux
13378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13379
 
  shlibpath_var=LIBPATH
13380
 
 
13381
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13382
 
  soname_spec='${libname}${release}${shared_ext}$major'
13383
 
  ;;
13384
 
 
13385
 
aix[4-9]*)
13386
 
  version_type=linux
13387
 
  need_lib_prefix=no
13388
 
  need_version=no
13389
 
  hardcode_into_libs=yes
13390
 
  if test "$host_cpu" = ia64; then
13391
 
    # AIX 5 supports IA64
13392
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13393
 
    shlibpath_var=LD_LIBRARY_PATH
13394
 
  else
13395
 
    # With GCC up to 2.95.x, collect2 would create an import file
13396
 
    # for dependence libraries.  The import file would start with
13397
 
    # the line `#! .'.  This would cause the generated library to
13398
 
    # depend on `.', always an invalid library.  This was fixed in
13399
 
    # development snapshots of GCC prior to 3.0.
13400
 
    case $host_os in
13401
 
      aix4 | aix4.[01] | aix4.[01].*)
13402
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13403
 
           echo ' yes '
13404
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13405
 
        :
13406
 
      else
13407
 
        can_build_shared=no
13408
 
      fi
13409
 
      ;;
13410
 
    esac
13411
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13412
 
    # soname into executable. Probably we can add versioning support to
13413
 
    # collect2, so additional links can be useful in future.
13414
 
    if test "$aix_use_runtimelinking" = yes; then
13415
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13416
 
      # instead of lib<name>.a to let people know that these are not
13417
 
      # typical AIX shared libraries.
13418
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13419
 
    else
13420
 
      # We preserve .a as extension for shared libraries through AIX4.2
13421
 
      # and later when we are not doing run time linking.
13422
 
      library_names_spec='${libname}${release}.a $libname.a'
13423
 
      soname_spec='${libname}${release}${shared_ext}$major'
13424
 
    fi
13425
 
    shlibpath_var=LIBPATH
13426
 
  fi
13427
 
  ;;
13428
 
 
13429
 
amigaos*)
13430
 
  library_names_spec='$libname.ixlibrary $libname.a'
13431
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13432
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13433
 
  ;;
13434
 
 
13435
 
beos*)
13436
 
  library_names_spec='${libname}${shared_ext}'
13437
 
  dynamic_linker="$host_os ld.so"
13438
 
  shlibpath_var=LIBRARY_PATH
13439
 
  ;;
13440
 
 
13441
 
bsdi[45]*)
13442
 
  version_type=linux
13443
 
  need_version=no
13444
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13445
 
  soname_spec='${libname}${release}${shared_ext}$major'
13446
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13447
 
  shlibpath_var=LD_LIBRARY_PATH
13448
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13449
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13450
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13451
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13452
 
  # libtool to hard-code these into programs
13453
 
  ;;
13454
 
 
13455
 
cygwin* | mingw* | pw32*)
13456
 
  version_type=windows
13457
 
  shrext_cmds=".dll"
13458
 
  need_version=no
13459
 
  need_lib_prefix=no
13460
 
 
13461
 
  case $GCC,$host_os in
13462
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13463
 
    library_names_spec='$libname.dll.a'
13464
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13465
 
    postinstall_cmds='base_file=`basename \${file}`~
13466
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13467
 
      dldir=$destdir/`dirname \$dlpath`~
13468
 
      test -d \$dldir || mkdir -p \$dldir~
13469
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13470
 
      chmod a+x \$dldir/$dlname'
13471
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13472
 
      dlpath=$dir/\$dldll~
13473
 
       $rm \$dlpath'
13474
 
    shlibpath_overrides_runpath=yes
13475
 
 
13476
 
    case $host_os in
13477
 
    cygwin*)
13478
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13479
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13480
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13481
 
      ;;
13482
 
    mingw*)
13483
 
      # MinGW DLLs use traditional 'lib' prefix
13484
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13485
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13486
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13487
 
        # It is most probably a Windows format PATH printed by
13488
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13489
 
        # path with ; separators, and with drive letters. We can handle the
13490
 
        # drive letters (cygwin fileutils understands them), so leave them,
13491
 
        # especially as we might pass files found there to a mingw objdump,
13492
 
        # which wouldn't understand a cygwinified path. Ahh.
13493
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13494
 
      else
13495
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13496
 
      fi
13497
 
      ;;
13498
 
    pw32*)
13499
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13500
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13501
 
      ;;
13502
 
    esac
13503
 
    ;;
13504
 
 
13505
 
  *)
13506
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13507
 
    ;;
13508
 
  esac
13509
 
  dynamic_linker='Win32 ld.exe'
13510
 
  # FIXME: first we should search . and the directory the executable is in
13511
 
  shlibpath_var=PATH
13512
 
  ;;
13513
 
 
13514
 
darwin* | rhapsody*)
13515
 
  dynamic_linker="$host_os dyld"
13516
 
  version_type=darwin
13517
 
  need_lib_prefix=no
13518
 
  need_version=no
13519
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13520
 
  soname_spec='${libname}${release}${major}$shared_ext'
13521
 
  shlibpath_overrides_runpath=yes
13522
 
  shlibpath_var=DYLD_LIBRARY_PATH
13523
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13524
 
 
13525
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13526
 
  ;;
13527
 
 
13528
 
dgux*)
13529
 
  version_type=linux
13530
 
  need_lib_prefix=no
13531
 
  need_version=no
13532
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13533
 
  soname_spec='${libname}${release}${shared_ext}$major'
13534
 
  shlibpath_var=LD_LIBRARY_PATH
13535
 
  ;;
13536
 
 
13537
 
freebsd1*)
13538
 
  dynamic_linker=no
13539
 
  ;;
13540
 
 
13541
 
freebsd* | dragonfly*)
13542
 
  # DragonFly does not have aout.  When/if they implement a new
13543
 
  # versioning mechanism, adjust this.
13544
 
  if test -x /usr/bin/objformat; then
13545
 
    objformat=`/usr/bin/objformat`
13546
 
  else
13547
 
    case $host_os in
13548
 
    freebsd[123]*) objformat=aout ;;
13549
 
    *) objformat=elf ;;
13550
 
    esac
13551
 
  fi
13552
 
  version_type=freebsd-$objformat
13553
 
  case $version_type in
13554
 
    freebsd-elf*)
13555
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13556
 
      need_version=no
13557
 
      need_lib_prefix=no
13558
 
      ;;
13559
 
    freebsd-*)
13560
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13561
 
      need_version=yes
13562
 
      ;;
13563
 
  esac
13564
 
  shlibpath_var=LD_LIBRARY_PATH
13565
 
  case $host_os in
13566
 
  freebsd2*)
13567
 
    shlibpath_overrides_runpath=yes
13568
 
    ;;
13569
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13570
 
    shlibpath_overrides_runpath=yes
13571
 
    hardcode_into_libs=yes
13572
 
    ;;
13573
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13574
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13575
 
    shlibpath_overrides_runpath=no
13576
 
    hardcode_into_libs=yes
13577
 
    ;;
13578
 
  *) # from 4.6 on, and DragonFly
13579
 
    shlibpath_overrides_runpath=yes
13580
 
    hardcode_into_libs=yes
13581
 
    ;;
13582
 
  esac
13583
 
  ;;
13584
 
 
13585
 
gnu*)
13586
 
  version_type=linux
13587
 
  need_lib_prefix=no
13588
 
  need_version=no
13589
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13590
 
  soname_spec='${libname}${release}${shared_ext}$major'
13591
 
  shlibpath_var=LD_LIBRARY_PATH
13592
 
  hardcode_into_libs=yes
13593
 
  ;;
13594
 
 
13595
 
hpux9* | hpux10* | hpux11*)
13596
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13597
 
  # link against other versions.
13598
 
  version_type=sunos
13599
 
  need_lib_prefix=no
13600
 
  need_version=no
13601
 
  case $host_cpu in
13602
 
  ia64*)
13603
 
    shrext_cmds='.so'
13604
 
    hardcode_into_libs=yes
13605
 
    dynamic_linker="$host_os dld.so"
13606
 
    shlibpath_var=LD_LIBRARY_PATH
13607
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13608
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13609
 
    soname_spec='${libname}${release}${shared_ext}$major'
13610
 
    if test "X$HPUX_IA64_MODE" = X32; then
13611
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13612
 
    else
13613
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13614
 
    fi
13615
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13616
 
    ;;
13617
 
   hppa*64*)
13618
 
     shrext_cmds='.sl'
13619
 
     hardcode_into_libs=yes
13620
 
     dynamic_linker="$host_os dld.sl"
13621
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13622
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13623
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13624
 
     soname_spec='${libname}${release}${shared_ext}$major'
13625
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13626
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13627
 
     ;;
13628
 
   *)
13629
 
    shrext_cmds='.sl'
13630
 
    dynamic_linker="$host_os dld.sl"
13631
 
    shlibpath_var=SHLIB_PATH
13632
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13633
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13634
 
    soname_spec='${libname}${release}${shared_ext}$major'
13635
 
    ;;
13636
 
  esac
13637
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13638
 
  postinstall_cmds='chmod 555 $lib'
13639
 
  ;;
13640
 
 
13641
 
interix[3-9]*)
13642
 
  version_type=linux
13643
 
  need_lib_prefix=no
13644
 
  need_version=no
13645
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13646
 
  soname_spec='${libname}${release}${shared_ext}$major'
13647
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13648
 
  shlibpath_var=LD_LIBRARY_PATH
13649
 
  shlibpath_overrides_runpath=no
13650
 
  hardcode_into_libs=yes
13651
 
  ;;
13652
 
 
13653
 
irix5* | irix6* | nonstopux*)
13654
 
  case $host_os in
13655
 
    nonstopux*) version_type=nonstopux ;;
13656
 
    *)
13657
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13658
 
                version_type=linux
13659
 
        else
13660
 
                version_type=irix
13661
 
        fi ;;
13662
 
  esac
13663
 
  need_lib_prefix=no
13664
 
  need_version=no
13665
 
  soname_spec='${libname}${release}${shared_ext}$major'
13666
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13667
 
  case $host_os in
13668
 
  irix5* | nonstopux*)
13669
 
    libsuff= shlibsuff=
13670
 
    ;;
13671
 
  *)
13672
 
    case $LD in # libtool.m4 will add one of these switches to LD
13673
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13674
 
      libsuff= shlibsuff= libmagic=32-bit;;
13675
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13676
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13677
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13678
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13679
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13680
 
    esac
13681
 
    ;;
13682
 
  esac
13683
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13684
 
  shlibpath_overrides_runpath=no
13685
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13686
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13687
 
  hardcode_into_libs=yes
13688
 
  ;;
13689
 
 
13690
 
# No shared lib support for Linux oldld, aout, or coff.
13691
 
linux*oldld* | linux*aout* | linux*coff*)
13692
 
  dynamic_linker=no
13693
 
  ;;
13694
 
 
13695
 
# This must be Linux ELF.
13696
 
linux* | k*bsd*-gnu)
13697
 
  version_type=linux
13698
 
  need_lib_prefix=no
13699
 
  need_version=no
13700
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13701
 
  soname_spec='${libname}${release}${shared_ext}$major'
13702
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13703
 
  shlibpath_var=LD_LIBRARY_PATH
13704
 
  shlibpath_overrides_runpath=no
13705
 
  # This implies no fast_install, which is unacceptable.
13706
 
  # Some rework will be needed to allow for fast_install
13707
 
  # before this can be enabled.
13708
 
  hardcode_into_libs=yes
13709
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13710
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13711
 
 
13712
 
  # Append ld.so.conf contents to the search path
13713
 
  if test -f /etc/ld.so.conf; then
13714
 
    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' ' '`
13715
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13716
 
  fi
13717
 
 
13718
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13719
 
  # powerpc, because MkLinux only supported shared libraries with the
13720
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13721
 
  # most powerpc-linux boxes support dynamic linking these days and
13722
 
  # people can always --disable-shared, the test was removed, and we
13723
 
  # assume the GNU/Linux dynamic linker is in use.
13724
 
  dynamic_linker='GNU/Linux ld.so'
13725
 
  ;;
13726
 
 
13727
 
netbsd*)
13728
 
  version_type=sunos
13729
 
  need_lib_prefix=no
13730
 
  need_version=no
13731
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13732
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13733
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13734
 
    dynamic_linker='NetBSD (a.out) ld.so'
13735
 
  else
13736
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13737
 
    soname_spec='${libname}${release}${shared_ext}$major'
13738
 
    dynamic_linker='NetBSD ld.elf_so'
13739
 
  fi
13740
 
  shlibpath_var=LD_LIBRARY_PATH
13741
 
  shlibpath_overrides_runpath=yes
13742
 
  hardcode_into_libs=yes
13743
 
  ;;
13744
 
 
13745
 
newsos6)
13746
 
  version_type=linux
13747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13748
 
  shlibpath_var=LD_LIBRARY_PATH
13749
 
  shlibpath_overrides_runpath=yes
13750
 
  ;;
13751
 
 
13752
 
nto-qnx*)
13753
 
  version_type=linux
13754
 
  need_lib_prefix=no
13755
 
  need_version=no
13756
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13757
 
  soname_spec='${libname}${release}${shared_ext}$major'
13758
 
  shlibpath_var=LD_LIBRARY_PATH
13759
 
  shlibpath_overrides_runpath=yes
13760
 
  ;;
13761
 
 
13762
 
openbsd*)
13763
 
  version_type=sunos
13764
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13765
 
  need_lib_prefix=no
13766
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13767
 
  case $host_os in
13768
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13769
 
    *)                         need_version=no  ;;
13770
 
  esac
13771
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13772
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13773
 
  shlibpath_var=LD_LIBRARY_PATH
13774
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13775
 
    case $host_os in
13776
 
      openbsd2.[89] | openbsd2.[89].*)
13777
 
        shlibpath_overrides_runpath=no
13778
 
        ;;
13779
 
      *)
13780
 
        shlibpath_overrides_runpath=yes
13781
 
        ;;
13782
 
      esac
13783
 
  else
13784
 
    shlibpath_overrides_runpath=yes
13785
 
  fi
13786
 
  ;;
13787
 
 
13788
 
os2*)
13789
 
  libname_spec='$name'
13790
 
  shrext_cmds=".dll"
13791
 
  need_lib_prefix=no
13792
 
  library_names_spec='$libname${shared_ext} $libname.a'
13793
 
  dynamic_linker='OS/2 ld.exe'
13794
 
  shlibpath_var=LIBPATH
13795
 
  ;;
13796
 
 
13797
 
osf3* | osf4* | osf5*)
13798
 
  version_type=osf
13799
 
  need_lib_prefix=no
13800
 
  need_version=no
13801
 
  soname_spec='${libname}${release}${shared_ext}$major'
13802
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13803
 
  shlibpath_var=LD_LIBRARY_PATH
13804
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13805
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13806
 
  ;;
13807
 
 
13808
 
rdos*)
13809
 
  dynamic_linker=no
13810
 
  ;;
13811
 
 
13812
 
solaris*)
13813
 
  version_type=linux
13814
 
  need_lib_prefix=no
13815
 
  need_version=no
13816
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13817
 
  soname_spec='${libname}${release}${shared_ext}$major'
13818
 
  shlibpath_var=LD_LIBRARY_PATH
13819
 
  shlibpath_overrides_runpath=yes
13820
 
  hardcode_into_libs=yes
13821
 
  # ldd complains unless libraries are executable
13822
 
  postinstall_cmds='chmod +x $lib'
13823
 
  ;;
13824
 
 
13825
 
sunos4*)
13826
 
  version_type=sunos
13827
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13828
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13829
 
  shlibpath_var=LD_LIBRARY_PATH
13830
 
  shlibpath_overrides_runpath=yes
13831
 
  if test "$with_gnu_ld" = yes; then
13832
 
    need_lib_prefix=no
13833
 
  fi
13834
 
  need_version=yes
13835
 
  ;;
13836
 
 
13837
 
sysv4 | sysv4.3*)
13838
 
  version_type=linux
13839
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13840
 
  soname_spec='${libname}${release}${shared_ext}$major'
13841
 
  shlibpath_var=LD_LIBRARY_PATH
13842
 
  case $host_vendor in
13843
 
    sni)
13844
 
      shlibpath_overrides_runpath=no
13845
 
      need_lib_prefix=no
13846
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13847
 
      runpath_var=LD_RUN_PATH
13848
 
      ;;
13849
 
    siemens)
13850
 
      need_lib_prefix=no
13851
 
      ;;
13852
 
    motorola)
13853
 
      need_lib_prefix=no
13854
 
      need_version=no
13855
 
      shlibpath_overrides_runpath=no
13856
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13857
 
      ;;
13858
 
  esac
13859
 
  ;;
13860
 
 
13861
 
sysv4*MP*)
13862
 
  if test -d /usr/nec ;then
13863
 
    version_type=linux
13864
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13865
 
    soname_spec='$libname${shared_ext}.$major'
13866
 
    shlibpath_var=LD_LIBRARY_PATH
13867
 
  fi
13868
 
  ;;
13869
 
 
13870
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13871
 
  version_type=freebsd-elf
13872
 
  need_lib_prefix=no
13873
 
  need_version=no
13874
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13875
 
  soname_spec='${libname}${release}${shared_ext}$major'
13876
 
  shlibpath_var=LD_LIBRARY_PATH
13877
 
  hardcode_into_libs=yes
13878
 
  if test "$with_gnu_ld" = yes; then
13879
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13880
 
    shlibpath_overrides_runpath=no
13881
 
  else
13882
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13883
 
    shlibpath_overrides_runpath=yes
13884
 
    case $host_os in
13885
 
      sco3.2v5*)
13886
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13887
 
        ;;
13888
 
    esac
13889
 
  fi
13890
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13891
 
  ;;
13892
 
 
13893
 
uts4*)
13894
 
  version_type=linux
13895
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13896
 
  soname_spec='${libname}${release}${shared_ext}$major'
13897
 
  shlibpath_var=LD_LIBRARY_PATH
13898
 
  ;;
13899
 
 
13900
 
*)
13901
 
  dynamic_linker=no
13902
 
  ;;
13903
 
esac
13904
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13905
 
$as_echo "$dynamic_linker" >&6; }
13906
 
test "$dynamic_linker" = no && can_build_shared=no
13907
 
 
13908
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13909
 
  $as_echo_n "(cached) " >&6
13910
 
else
13911
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13912
 
fi
13913
 
 
13914
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13915
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13916
 
  $as_echo_n "(cached) " >&6
13917
 
else
13918
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13919
 
fi
13920
 
 
13921
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13922
 
 
13923
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13924
 
if test "$GCC" = yes; then
13925
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13926
 
fi
13927
 
 
13928
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13929
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13930
 
hardcode_action_CXX=
13931
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13932
 
   test -n "$runpath_var_CXX" || \
13933
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13934
 
 
13935
 
  # We can hardcode non-existant directories.
13936
 
  if test "$hardcode_direct_CXX" != no &&
13937
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13938
 
     # have to relink, otherwise we might link with an installed library
13939
 
     # when we should be linking with a yet-to-be-installed one
13940
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13941
 
     test "$hardcode_minus_L_CXX" != no; then
13942
 
    # Linking always hardcodes the temporary library directory.
13943
 
    hardcode_action_CXX=relink
13944
 
  else
13945
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13946
 
    hardcode_action_CXX=immediate
13947
 
  fi
13948
 
else
13949
 
  # We cannot hardcode anything, or else we can only hardcode existing
13950
 
  # directories.
13951
 
  hardcode_action_CXX=unsupported
13952
 
fi
13953
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13954
 
$as_echo "$hardcode_action_CXX" >&6; }
13955
 
 
13956
 
if test "$hardcode_action_CXX" = relink; then
13957
 
  # Fast installation is not supported
13958
 
  enable_fast_install=no
13959
 
elif test "$shlibpath_overrides_runpath" = yes ||
13960
 
     test "$enable_shared" = no; then
13961
 
  # Fast installation is not necessary
13962
 
  enable_fast_install=needless
13963
 
fi
13964
 
 
13965
 
 
13966
 
# The else clause should only fire when bootstrapping the
13967
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13968
 
# with your package, and you will get complaints that there are
13969
 
# no rules to generate ltmain.sh.
13970
 
if test -f "$ltmain"; then
13971
 
  # See if we are running on zsh, and set the options which allow our commands through
13972
 
  # without removal of \ escapes.
13973
 
  if test -n "${ZSH_VERSION+set}" ; then
13974
 
    setopt NO_GLOB_SUBST
13975
 
  fi
13976
 
  # Now quote all the things that may contain metacharacters while being
13977
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13978
 
  # variables and quote the copies for generation of the libtool script.
13979
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13980
 
    SED SHELL STRIP \
13981
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13982
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13983
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13984
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13985
 
    lt_cv_sys_global_symbol_to_c_name_address \
13986
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13987
 
    old_postinstall_cmds old_postuninstall_cmds \
13988
 
    compiler_CXX \
13989
 
    CC_CXX \
13990
 
    LD_CXX \
13991
 
    lt_prog_compiler_wl_CXX \
13992
 
    lt_prog_compiler_pic_CXX \
13993
 
    lt_prog_compiler_static_CXX \
13994
 
    lt_prog_compiler_no_builtin_flag_CXX \
13995
 
    export_dynamic_flag_spec_CXX \
13996
 
    thread_safe_flag_spec_CXX \
13997
 
    whole_archive_flag_spec_CXX \
13998
 
    enable_shared_with_static_runtimes_CXX \
13999
 
    old_archive_cmds_CXX \
14000
 
    old_archive_from_new_cmds_CXX \
14001
 
    predep_objects_CXX \
14002
 
    postdep_objects_CXX \
14003
 
    predeps_CXX \
14004
 
    postdeps_CXX \
14005
 
    compiler_lib_search_path_CXX \
14006
 
    compiler_lib_search_dirs_CXX \
14007
 
    archive_cmds_CXX \
14008
 
    archive_expsym_cmds_CXX \
14009
 
    postinstall_cmds_CXX \
14010
 
    postuninstall_cmds_CXX \
14011
 
    old_archive_from_expsyms_cmds_CXX \
14012
 
    allow_undefined_flag_CXX \
14013
 
    no_undefined_flag_CXX \
14014
 
    export_symbols_cmds_CXX \
14015
 
    hardcode_libdir_flag_spec_CXX \
14016
 
    hardcode_libdir_flag_spec_ld_CXX \
14017
 
    hardcode_libdir_separator_CXX \
14018
 
    hardcode_automatic_CXX \
14019
 
    module_cmds_CXX \
14020
 
    module_expsym_cmds_CXX \
14021
 
    lt_cv_prog_compiler_c_o_CXX \
14022
 
    fix_srcfile_path_CXX \
14023
 
    exclude_expsyms_CXX \
14024
 
    include_expsyms_CXX; do
14025
 
 
14026
 
    case $var in
14027
 
    old_archive_cmds_CXX | \
14028
 
    old_archive_from_new_cmds_CXX | \
14029
 
    archive_cmds_CXX | \
14030
 
    archive_expsym_cmds_CXX | \
14031
 
    module_cmds_CXX | \
14032
 
    module_expsym_cmds_CXX | \
14033
 
    old_archive_from_expsyms_cmds_CXX | \
14034
 
    export_symbols_cmds_CXX | \
14035
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14036
 
    postinstall_cmds | postuninstall_cmds | \
14037
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14038
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14039
 
      # Double-quote double-evaled strings.
14040
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14041
 
      ;;
14042
 
    *)
14043
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14044
 
      ;;
14045
 
    esac
14046
 
  done
14047
 
 
14048
 
  case $lt_echo in
14049
 
  *'\$0 --fallback-echo"')
14050
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14051
 
    ;;
14052
 
  esac
14053
 
 
14054
 
cfgfile="$ofile"
14055
 
 
14056
 
  cat <<__EOF__ >> "$cfgfile"
14057
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14058
 
 
14059
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14060
 
 
14061
 
# Shell to use when invoking shell scripts.
14062
 
SHELL=$lt_SHELL
14063
 
 
14064
 
# Whether or not to build shared libraries.
14065
 
build_libtool_libs=$enable_shared
14066
 
 
14067
 
# Whether or not to build static libraries.
14068
 
build_old_libs=$enable_static
14069
 
 
14070
 
# Whether or not to add -lc for building shared libraries.
14071
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14072
 
 
14073
 
# Whether or not to disallow shared libs when runtime libs are static
14074
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14075
 
 
14076
 
# Whether or not to optimize for fast installation.
14077
 
fast_install=$enable_fast_install
14078
 
 
14079
 
# The host system.
14080
 
host_alias=$host_alias
14081
 
host=$host
14082
 
host_os=$host_os
14083
 
 
14084
 
# The build system.
14085
 
build_alias=$build_alias
14086
 
build=$build
14087
 
build_os=$build_os
14088
 
 
14089
 
# An echo program that does not interpret backslashes.
14090
 
echo=$lt_echo
14091
 
 
14092
 
# The archiver.
14093
 
AR=$lt_AR
14094
 
AR_FLAGS=$lt_AR_FLAGS
14095
 
 
14096
 
# A C compiler.
14097
 
LTCC=$lt_LTCC
14098
 
 
14099
 
# LTCC compiler flags.
14100
 
LTCFLAGS=$lt_LTCFLAGS
14101
 
 
14102
 
# A language-specific compiler.
14103
 
CC=$lt_compiler_CXX
14104
 
 
14105
 
# Is the compiler the GNU C compiler?
14106
 
with_gcc=$GCC_CXX
14107
 
 
14108
 
# An ERE matcher.
14109
 
EGREP=$lt_EGREP
14110
 
 
14111
 
# The linker used to build libraries.
14112
 
LD=$lt_LD_CXX
14113
 
 
14114
 
# Whether we need hard or soft links.
14115
 
LN_S=$lt_LN_S
14116
 
 
14117
 
# A BSD-compatible nm program.
14118
 
NM=$lt_NM
14119
 
 
14120
 
# A symbol stripping program
14121
 
STRIP=$lt_STRIP
14122
 
 
14123
 
# Used to examine libraries when file_magic_cmd begins "file"
14124
 
MAGIC_CMD=$MAGIC_CMD
14125
 
 
14126
 
# Used on cygwin: DLL creation program.
14127
 
DLLTOOL="$DLLTOOL"
14128
 
 
14129
 
# Used on cygwin: object dumper.
14130
 
OBJDUMP="$OBJDUMP"
14131
 
 
14132
 
# Used on cygwin: assembler.
14133
 
AS="$AS"
14134
 
 
14135
 
# The name of the directory that contains temporary libtool files.
14136
 
objdir=$objdir
14137
 
 
14138
 
# How to create reloadable object files.
14139
 
reload_flag=$lt_reload_flag
14140
 
reload_cmds=$lt_reload_cmds
14141
 
 
14142
 
# How to pass a linker flag through the compiler.
14143
 
wl=$lt_lt_prog_compiler_wl_CXX
14144
 
 
14145
 
# Object file suffix (normally "o").
14146
 
objext="$ac_objext"
14147
 
 
14148
 
# Old archive suffix (normally "a").
14149
 
libext="$libext"
14150
 
 
14151
 
# Shared library suffix (normally ".so").
14152
 
shrext_cmds='$shrext_cmds'
14153
 
 
14154
 
# Executable file suffix (normally "").
14155
 
exeext="$exeext"
14156
 
 
14157
 
# Additional compiler flags for building library objects.
14158
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14159
 
pic_mode=$pic_mode
14160
 
 
14161
 
# What is the maximum length of a command?
14162
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14163
 
 
14164
 
# Does compiler simultaneously support -c and -o options?
14165
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14166
 
 
14167
 
# Must we lock files when doing compilation?
14168
 
need_locks=$lt_need_locks
14169
 
 
14170
 
# Do we need the lib prefix for modules?
14171
 
need_lib_prefix=$need_lib_prefix
14172
 
 
14173
 
# Do we need a version for libraries?
14174
 
need_version=$need_version
14175
 
 
14176
 
# Whether dlopen is supported.
14177
 
dlopen_support=$enable_dlopen
14178
 
 
14179
 
# Whether dlopen of programs is supported.
14180
 
dlopen_self=$enable_dlopen_self
14181
 
 
14182
 
# Whether dlopen of statically linked programs is supported.
14183
 
dlopen_self_static=$enable_dlopen_self_static
14184
 
 
14185
 
# Compiler flag to prevent dynamic linking.
14186
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14187
 
 
14188
 
# Compiler flag to turn off builtin functions.
14189
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14190
 
 
14191
 
# Compiler flag to allow reflexive dlopens.
14192
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14193
 
 
14194
 
# Compiler flag to generate shared objects directly from archives.
14195
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14196
 
 
14197
 
# Compiler flag to generate thread-safe objects.
14198
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14199
 
 
14200
 
# Library versioning type.
14201
 
version_type=$version_type
14202
 
 
14203
 
# Format of library name prefix.
14204
 
libname_spec=$lt_libname_spec
14205
 
 
14206
 
# List of archive names.  First name is the real one, the rest are links.
14207
 
# The last name is the one that the linker finds with -lNAME.
14208
 
library_names_spec=$lt_library_names_spec
14209
 
 
14210
 
# The coded name of the library, if different from the real name.
14211
 
soname_spec=$lt_soname_spec
14212
 
 
14213
 
# Commands used to build and install an old-style archive.
14214
 
RANLIB=$lt_RANLIB
14215
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14216
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14217
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14218
 
 
14219
 
# Create an old-style archive from a shared archive.
14220
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14221
 
 
14222
 
# Create a temporary old-style archive to link instead of a shared archive.
14223
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14224
 
 
14225
 
# Commands used to build and install a shared archive.
14226
 
archive_cmds=$lt_archive_cmds_CXX
14227
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14228
 
postinstall_cmds=$lt_postinstall_cmds
14229
 
postuninstall_cmds=$lt_postuninstall_cmds
14230
 
 
14231
 
# Commands used to build a loadable module (assumed same as above if empty)
14232
 
module_cmds=$lt_module_cmds_CXX
14233
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14234
 
 
14235
 
# Commands to strip libraries.
14236
 
old_striplib=$lt_old_striplib
14237
 
striplib=$lt_striplib
14238
 
 
14239
 
# Dependencies to place before the objects being linked to create a
14240
 
# shared library.
14241
 
predep_objects=$lt_predep_objects_CXX
14242
 
 
14243
 
# Dependencies to place after the objects being linked to create a
14244
 
# shared library.
14245
 
postdep_objects=$lt_postdep_objects_CXX
14246
 
 
14247
 
# Dependencies to place before the objects being linked to create a
14248
 
# shared library.
14249
 
predeps=$lt_predeps_CXX
14250
 
 
14251
 
# Dependencies to place after the objects being linked to create a
14252
 
# shared library.
14253
 
postdeps=$lt_postdeps_CXX
14254
 
 
14255
 
# The directories searched by this compiler when creating a shared
14256
 
# library
14257
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14258
 
 
14259
 
# The library search path used internally by the compiler when linking
14260
 
# a shared library.
14261
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14262
 
 
14263
 
# Method to check whether dependent libraries are shared objects.
14264
 
deplibs_check_method=$lt_deplibs_check_method
14265
 
 
14266
 
# Command to use when deplibs_check_method == file_magic.
14267
 
file_magic_cmd=$lt_file_magic_cmd
14268
 
 
14269
 
# Flag that allows shared libraries with undefined symbols to be built.
14270
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14271
 
 
14272
 
# Flag that forces no undefined symbols.
14273
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14274
 
 
14275
 
# Commands used to finish a libtool library installation in a directory.
14276
 
finish_cmds=$lt_finish_cmds
14277
 
 
14278
 
# Same as above, but a single script fragment to be evaled but not shown.
14279
 
finish_eval=$lt_finish_eval
14280
 
 
14281
 
# Take the output of nm and produce a listing of raw symbols and C names.
14282
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14283
 
 
14284
 
# Transform the output of nm in a proper C declaration
14285
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14286
 
 
14287
 
# Transform the output of nm in a C name address pair
14288
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14289
 
 
14290
 
# This is the shared library runtime path variable.
14291
 
runpath_var=$runpath_var
14292
 
 
14293
 
# This is the shared library path variable.
14294
 
shlibpath_var=$shlibpath_var
14295
 
 
14296
 
# Is shlibpath searched before the hard-coded library search path?
14297
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14298
 
 
14299
 
# How to hardcode a shared library path into an executable.
14300
 
hardcode_action=$hardcode_action_CXX
14301
 
 
14302
 
# Whether we should hardcode library paths into libraries.
14303
 
hardcode_into_libs=$hardcode_into_libs
14304
 
 
14305
 
# Flag to hardcode \$libdir into a binary during linking.
14306
 
# This must work even if \$libdir does not exist.
14307
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14308
 
 
14309
 
# If ld is used when linking, flag to hardcode \$libdir into
14310
 
# a binary during linking. This must work even if \$libdir does
14311
 
# not exist.
14312
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14313
 
 
14314
 
# Whether we need a single -rpath flag with a separated argument.
14315
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14316
 
 
14317
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14318
 
# resulting binary.
14319
 
hardcode_direct=$hardcode_direct_CXX
14320
 
 
14321
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14322
 
# resulting binary.
14323
 
hardcode_minus_L=$hardcode_minus_L_CXX
14324
 
 
14325
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14326
 
# the resulting binary.
14327
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14328
 
 
14329
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14330
 
# and all subsequent libraries and executables linked against it.
14331
 
hardcode_automatic=$hardcode_automatic_CXX
14332
 
 
14333
 
# Variables whose values should be saved in libtool wrapper scripts and
14334
 
# restored at relink time.
14335
 
variables_saved_for_relink="$variables_saved_for_relink"
14336
 
 
14337
 
# Whether libtool must link a program against all its dependency libraries.
14338
 
link_all_deplibs=$link_all_deplibs_CXX
14339
 
 
14340
 
# Compile-time system search path for libraries
14341
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14342
 
 
14343
 
# Run-time system search path for libraries
14344
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14345
 
 
14346
 
# Fix the shell variable \$srcfile for the compiler.
14347
 
fix_srcfile_path=$lt_fix_srcfile_path
14348
 
 
14349
 
# Set to yes if exported symbols are required.
14350
 
always_export_symbols=$always_export_symbols_CXX
14351
 
 
14352
 
# The commands to list exported symbols.
14353
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14354
 
 
14355
 
# The commands to extract the exported symbol list from a shared archive.
14356
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14357
 
 
14358
 
# Symbols that should not be listed in the preloaded symbols.
14359
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14360
 
 
14361
 
# Symbols that must always be exported.
14362
 
include_expsyms=$lt_include_expsyms_CXX
14363
 
 
14364
 
# ### END LIBTOOL TAG CONFIG: $tagname
14365
 
 
14366
 
__EOF__
14367
 
 
14368
 
 
14369
 
else
14370
 
  # If there is no Makefile yet, we rely on a make rule to execute
14371
 
  # `config.status --recheck' to rerun these tests and create the
14372
 
  # libtool script then.
14373
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14374
 
  if test -f "$ltmain_in"; then
14375
 
    test -f Makefile && make "$ltmain"
14376
 
  fi
14377
 
fi
14378
 
 
14379
 
 
14380
 
ac_ext=c
14381
 
ac_cpp='$CPP $CPPFLAGS'
14382
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14383
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14384
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14385
 
 
14386
 
CC=$lt_save_CC
14387
 
LDCXX=$LD
14388
 
LD=$lt_save_LD
14389
 
GCC=$lt_save_GCC
14390
 
with_gnu_ldcxx=$with_gnu_ld
14391
 
with_gnu_ld=$lt_save_with_gnu_ld
14392
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14393
 
lt_cv_path_LD=$lt_save_path_LD
14394
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14395
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14396
 
 
14397
 
        else
14398
 
          tagname=""
14399
 
        fi
14400
 
        ;;
14401
 
 
14402
 
      F77)
14403
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14404
 
 
14405
 
ac_ext=f
14406
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14407
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14408
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14409
 
 
14410
 
 
14411
 
archive_cmds_need_lc_F77=no
14412
 
allow_undefined_flag_F77=
14413
 
always_export_symbols_F77=no
14414
 
archive_expsym_cmds_F77=
14415
 
export_dynamic_flag_spec_F77=
14416
 
hardcode_direct_F77=no
14417
 
hardcode_libdir_flag_spec_F77=
14418
 
hardcode_libdir_flag_spec_ld_F77=
14419
 
hardcode_libdir_separator_F77=
14420
 
hardcode_minus_L_F77=no
14421
 
hardcode_automatic_F77=no
14422
 
module_cmds_F77=
14423
 
module_expsym_cmds_F77=
14424
 
link_all_deplibs_F77=unknown
14425
 
old_archive_cmds_F77=$old_archive_cmds
14426
 
no_undefined_flag_F77=
14427
 
whole_archive_flag_spec_F77=
14428
 
enable_shared_with_static_runtimes_F77=no
14429
 
 
14430
 
# Source file extension for f77 test sources.
14431
 
ac_ext=f
14432
 
 
14433
 
# Object file extension for compiled f77 test sources.
14434
 
objext=o
14435
 
objext_F77=$objext
14436
 
 
14437
 
# Code to be used in simple compile tests
14438
 
lt_simple_compile_test_code="\
14439
 
      subroutine t
14440
 
      return
14441
 
      end
14442
 
"
14443
 
 
14444
 
# Code to be used in simple link tests
14445
 
lt_simple_link_test_code="\
14446
 
      program t
14447
 
      end
14448
 
"
14449
 
 
14450
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14451
 
 
14452
 
# If no C compiler was specified, use CC.
14453
 
LTCC=${LTCC-"$CC"}
14454
 
 
14455
 
# If no C compiler flags were specified, use CFLAGS.
14456
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14457
 
 
14458
 
# Allow CC to be a program name with arguments.
14459
 
compiler=$CC
14460
 
 
14461
 
 
14462
 
# save warnings/boilerplate of simple test code
14463
 
ac_outfile=conftest.$ac_objext
14464
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14465
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14466
 
_lt_compiler_boilerplate=`cat conftest.err`
14467
 
$rm conftest*
14468
 
 
14469
 
ac_outfile=conftest.$ac_objext
14470
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14471
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14472
 
_lt_linker_boilerplate=`cat conftest.err`
14473
 
$rm -r conftest*
14474
 
 
14475
 
 
14476
 
# Allow CC to be a program name with arguments.
14477
 
lt_save_CC="$CC"
14478
 
CC=${F77-"f77"}
14479
 
compiler=$CC
14480
 
compiler_F77=$CC
14481
 
for cc_temp in $compiler""; do
14482
 
  case $cc_temp in
14483
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14484
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14485
 
    \-*) ;;
14486
 
    *) break;;
14487
 
  esac
14488
 
done
14489
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14490
 
 
14491
 
 
14492
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14493
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14494
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14495
 
$as_echo "$can_build_shared" >&6; }
14496
 
 
14497
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14498
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
14499
 
test "$can_build_shared" = "no" && enable_shared=no
14500
 
 
14501
 
# On AIX, shared libraries and static libraries use the same namespace, and
14502
 
# are all built from PIC.
14503
 
case $host_os in
14504
 
aix3*)
14505
 
  test "$enable_shared" = yes && enable_static=no
14506
 
  if test -n "$RANLIB"; then
14507
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14508
 
    postinstall_cmds='$RANLIB $lib'
14509
 
  fi
14510
 
  ;;
14511
 
aix[4-9]*)
14512
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14513
 
    test "$enable_shared" = yes && enable_static=no
14514
 
  fi
14515
 
  ;;
14516
 
esac
14517
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14518
 
$as_echo "$enable_shared" >&6; }
14519
 
 
14520
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14521
 
$as_echo_n "checking whether to build static libraries... " >&6; }
14522
 
# Make sure either enable_shared or enable_static is yes.
14523
 
test "$enable_shared" = yes || enable_static=yes
14524
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14525
 
$as_echo "$enable_static" >&6; }
14526
 
 
14527
 
GCC_F77="$G77"
14528
 
LD_F77="$LD"
14529
 
 
14530
 
lt_prog_compiler_wl_F77=
14531
 
lt_prog_compiler_pic_F77=
14532
 
lt_prog_compiler_static_F77=
14533
 
 
14534
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14535
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14536
 
 
14537
 
  if test "$GCC" = yes; then
14538
 
    lt_prog_compiler_wl_F77='-Wl,'
14539
 
    lt_prog_compiler_static_F77='-static'
14540
 
 
14541
 
    case $host_os in
14542
 
      aix*)
14543
 
      # All AIX code is PIC.
14544
 
      if test "$host_cpu" = ia64; then
14545
 
        # AIX 5 now supports IA64 processor
14546
 
        lt_prog_compiler_static_F77='-Bstatic'
14547
 
      fi
14548
 
      ;;
14549
 
 
14550
 
    amigaos*)
14551
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14552
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14553
 
      # like `-m68040'.
14554
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14555
 
      ;;
14556
 
 
14557
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14558
 
      # PIC is the default for these OSes.
14559
 
      ;;
14560
 
 
14561
 
    mingw* | cygwin* | pw32* | os2*)
14562
 
      # This hack is so that the source file can tell whether it is being
14563
 
      # built for inclusion in a dll (and should export symbols for example).
14564
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14565
 
      # (--disable-auto-import) libraries
14566
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14567
 
      ;;
14568
 
 
14569
 
    darwin* | rhapsody*)
14570
 
      # PIC is the default on this platform
14571
 
      # Common symbols not allowed in MH_DYLIB files
14572
 
      lt_prog_compiler_pic_F77='-fno-common'
14573
 
      ;;
14574
 
 
14575
 
    interix[3-9]*)
14576
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14577
 
      # Instead, we relocate shared libraries at runtime.
14578
 
      ;;
14579
 
 
14580
 
    msdosdjgpp*)
14581
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14582
 
      # on systems that don't support them.
14583
 
      lt_prog_compiler_can_build_shared_F77=no
14584
 
      enable_shared=no
14585
 
      ;;
14586
 
 
14587
 
    sysv4*MP*)
14588
 
      if test -d /usr/nec; then
14589
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14590
 
      fi
14591
 
      ;;
14592
 
 
14593
 
    hpux*)
14594
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14595
 
      # not for PA HP-UX.
14596
 
      case $host_cpu in
14597
 
      hppa*64*|ia64*)
14598
 
        # +Z the default
14599
 
        ;;
14600
 
      *)
14601
 
        lt_prog_compiler_pic_F77='-fPIC'
14602
 
        ;;
14603
 
      esac
14604
 
      ;;
14605
 
 
14606
 
    *)
14607
 
      lt_prog_compiler_pic_F77='-fPIC'
14608
 
      ;;
14609
 
    esac
14610
 
  else
14611
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14612
 
    case $host_os in
14613
 
    aix*)
14614
 
      lt_prog_compiler_wl_F77='-Wl,'
14615
 
      if test "$host_cpu" = ia64; then
14616
 
        # AIX 5 now supports IA64 processor
14617
 
        lt_prog_compiler_static_F77='-Bstatic'
14618
 
      else
14619
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14620
 
      fi
14621
 
      ;;
14622
 
      darwin*)
14623
 
        # PIC is the default on this platform
14624
 
        # Common symbols not allowed in MH_DYLIB files
14625
 
       case $cc_basename in
14626
 
         xlc*)
14627
 
         lt_prog_compiler_pic_F77='-qnocommon'
14628
 
         lt_prog_compiler_wl_F77='-Wl,'
14629
 
         ;;
14630
 
       esac
14631
 
       ;;
14632
 
 
14633
 
    mingw* | cygwin* | pw32* | os2*)
14634
 
      # This hack is so that the source file can tell whether it is being
14635
 
      # built for inclusion in a dll (and should export symbols for example).
14636
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14637
 
      ;;
14638
 
 
14639
 
    hpux9* | hpux10* | hpux11*)
14640
 
      lt_prog_compiler_wl_F77='-Wl,'
14641
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14642
 
      # not for PA HP-UX.
14643
 
      case $host_cpu in
14644
 
      hppa*64*|ia64*)
14645
 
        # +Z the default
14646
 
        ;;
14647
 
      *)
14648
 
        lt_prog_compiler_pic_F77='+Z'
14649
 
        ;;
14650
 
      esac
14651
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14652
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14653
 
      ;;
14654
 
 
14655
 
    irix5* | irix6* | nonstopux*)
14656
 
      lt_prog_compiler_wl_F77='-Wl,'
14657
 
      # PIC (with -KPIC) is the default.
14658
 
      lt_prog_compiler_static_F77='-non_shared'
14659
 
      ;;
14660
 
 
14661
 
    newsos6)
14662
 
      lt_prog_compiler_pic_F77='-KPIC'
14663
 
      lt_prog_compiler_static_F77='-Bstatic'
14664
 
      ;;
14665
 
 
14666
 
    linux* | k*bsd*-gnu)
14667
 
      case $cc_basename in
14668
 
      icc* | ecc*)
14669
 
        lt_prog_compiler_wl_F77='-Wl,'
14670
 
        lt_prog_compiler_pic_F77='-KPIC'
14671
 
        lt_prog_compiler_static_F77='-static'
14672
 
        ;;
14673
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14674
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14675
 
        # which looks to be a dead project)
14676
 
        lt_prog_compiler_wl_F77='-Wl,'
14677
 
        lt_prog_compiler_pic_F77='-fpic'
14678
 
        lt_prog_compiler_static_F77='-Bstatic'
14679
 
        ;;
14680
 
      ccc*)
14681
 
        lt_prog_compiler_wl_F77='-Wl,'
14682
 
        # All Alpha code is PIC.
14683
 
        lt_prog_compiler_static_F77='-non_shared'
14684
 
        ;;
14685
 
      *)
14686
 
        case `$CC -V 2>&1 | sed 5q` in
14687
 
        *Sun\ C*)
14688
 
          # Sun C 5.9
14689
 
          lt_prog_compiler_pic_F77='-KPIC'
14690
 
          lt_prog_compiler_static_F77='-Bstatic'
14691
 
          lt_prog_compiler_wl_F77='-Wl,'
14692
 
          ;;
14693
 
        *Sun\ F*)
14694
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14695
 
          lt_prog_compiler_pic_F77='-KPIC'
14696
 
          lt_prog_compiler_static_F77='-Bstatic'
14697
 
          lt_prog_compiler_wl_F77=''
14698
 
          ;;
14699
 
        esac
14700
 
        ;;
14701
 
      esac
14702
 
      ;;
14703
 
 
14704
 
    osf3* | osf4* | osf5*)
14705
 
      lt_prog_compiler_wl_F77='-Wl,'
14706
 
      # All OSF/1 code is PIC.
14707
 
      lt_prog_compiler_static_F77='-non_shared'
14708
 
      ;;
14709
 
 
14710
 
    rdos*)
14711
 
      lt_prog_compiler_static_F77='-non_shared'
14712
 
      ;;
14713
 
 
14714
 
    solaris*)
14715
 
      lt_prog_compiler_pic_F77='-KPIC'
14716
 
      lt_prog_compiler_static_F77='-Bstatic'
14717
 
      case $cc_basename in
14718
 
      f77* | f90* | f95*)
14719
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14720
 
      *)
14721
 
        lt_prog_compiler_wl_F77='-Wl,';;
14722
 
      esac
14723
 
      ;;
14724
 
 
14725
 
    sunos4*)
14726
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14727
 
      lt_prog_compiler_pic_F77='-PIC'
14728
 
      lt_prog_compiler_static_F77='-Bstatic'
14729
 
      ;;
14730
 
 
14731
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14732
 
      lt_prog_compiler_wl_F77='-Wl,'
14733
 
      lt_prog_compiler_pic_F77='-KPIC'
14734
 
      lt_prog_compiler_static_F77='-Bstatic'
14735
 
      ;;
14736
 
 
14737
 
    sysv4*MP*)
14738
 
      if test -d /usr/nec ;then
14739
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14740
 
        lt_prog_compiler_static_F77='-Bstatic'
14741
 
      fi
14742
 
      ;;
14743
 
 
14744
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14745
 
      lt_prog_compiler_wl_F77='-Wl,'
14746
 
      lt_prog_compiler_pic_F77='-KPIC'
14747
 
      lt_prog_compiler_static_F77='-Bstatic'
14748
 
      ;;
14749
 
 
14750
 
    unicos*)
14751
 
      lt_prog_compiler_wl_F77='-Wl,'
14752
 
      lt_prog_compiler_can_build_shared_F77=no
14753
 
      ;;
14754
 
 
14755
 
    uts4*)
14756
 
      lt_prog_compiler_pic_F77='-pic'
14757
 
      lt_prog_compiler_static_F77='-Bstatic'
14758
 
      ;;
14759
 
 
14760
 
    *)
14761
 
      lt_prog_compiler_can_build_shared_F77=no
14762
 
      ;;
14763
 
    esac
14764
 
  fi
14765
 
 
14766
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14767
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
14768
 
 
14769
 
#
14770
 
# Check to make sure the PIC flag actually works.
14771
 
#
14772
 
if test -n "$lt_prog_compiler_pic_F77"; then
14773
 
 
14774
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14775
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14776
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14777
 
  $as_echo_n "(cached) " >&6
14778
 
else
14779
 
  lt_cv_prog_compiler_pic_works_F77=no
14780
 
  ac_outfile=conftest.$ac_objext
14781
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14782
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14783
 
   # Insert the option either (1) after the last *FLAGS variable, or
14784
 
   # (2) before a word containing "conftest.", or (3) at the end.
14785
 
   # Note that $ac_compile itself does not contain backslashes and begins
14786
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14787
 
   # The option is referenced via a variable to avoid confusing sed.
14788
 
   lt_compile=`echo "$ac_compile" | $SED \
14789
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14790
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14791
 
   -e 's:$: $lt_compiler_flag:'`
14792
 
   (eval echo "\"\$as_me:14792: $lt_compile\"" >&5)
14793
 
   (eval "$lt_compile" 2>conftest.err)
14794
 
   ac_status=$?
14795
 
   cat conftest.err >&5
14796
 
   echo "$as_me:14796: \$? = $ac_status" >&5
14797
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14798
 
     # The compiler can only warn and ignore the option if not recognized
14799
 
     # So say no if there are warnings other than the usual output.
14800
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14801
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14802
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14803
 
       lt_cv_prog_compiler_pic_works_F77=yes
14804
 
     fi
14805
 
   fi
14806
 
   $rm conftest*
14807
 
 
14808
 
fi
14809
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14810
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14811
 
 
14812
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14813
 
    case $lt_prog_compiler_pic_F77 in
14814
 
     "" | " "*) ;;
14815
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14816
 
     esac
14817
 
else
14818
 
    lt_prog_compiler_pic_F77=
14819
 
     lt_prog_compiler_can_build_shared_F77=no
14820
 
fi
14821
 
 
14822
 
fi
14823
 
case $host_os in
14824
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14825
 
  *djgpp*)
14826
 
    lt_prog_compiler_pic_F77=
14827
 
    ;;
14828
 
  *)
14829
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14830
 
    ;;
14831
 
esac
14832
 
 
14833
 
#
14834
 
# Check to make sure the static flag actually works.
14835
 
#
14836
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14837
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14838
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14839
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14840
 
  $as_echo_n "(cached) " >&6
14841
 
else
14842
 
  lt_cv_prog_compiler_static_works_F77=no
14843
 
   save_LDFLAGS="$LDFLAGS"
14844
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14845
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14846
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14847
 
     # The linker can only warn and ignore the option if not recognized
14848
 
     # So say no if there are warnings
14849
 
     if test -s conftest.err; then
14850
 
       # Append any errors to the config.log.
14851
 
       cat conftest.err 1>&5
14852
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14853
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14854
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14855
 
         lt_cv_prog_compiler_static_works_F77=yes
14856
 
       fi
14857
 
     else
14858
 
       lt_cv_prog_compiler_static_works_F77=yes
14859
 
     fi
14860
 
   fi
14861
 
   $rm -r conftest*
14862
 
   LDFLAGS="$save_LDFLAGS"
14863
 
 
14864
 
fi
14865
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14866
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14867
 
 
14868
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14869
 
    :
14870
 
else
14871
 
    lt_prog_compiler_static_F77=
14872
 
fi
14873
 
 
14874
 
 
14875
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14876
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14877
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14878
 
  $as_echo_n "(cached) " >&6
14879
 
else
14880
 
  lt_cv_prog_compiler_c_o_F77=no
14881
 
   $rm -r conftest 2>/dev/null
14882
 
   mkdir conftest
14883
 
   cd conftest
14884
 
   mkdir out
14885
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14886
 
 
14887
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14888
 
   # Insert the option either (1) after the last *FLAGS variable, or
14889
 
   # (2) before a word containing "conftest.", or (3) at the end.
14890
 
   # Note that $ac_compile itself does not contain backslashes and begins
14891
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14892
 
   lt_compile=`echo "$ac_compile" | $SED \
14893
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14894
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14895
 
   -e 's:$: $lt_compiler_flag:'`
14896
 
   (eval echo "\"\$as_me:14896: $lt_compile\"" >&5)
14897
 
   (eval "$lt_compile" 2>out/conftest.err)
14898
 
   ac_status=$?
14899
 
   cat out/conftest.err >&5
14900
 
   echo "$as_me:14900: \$? = $ac_status" >&5
14901
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14902
 
   then
14903
 
     # The compiler can only warn and ignore the option if not recognized
14904
 
     # So say no if there are warnings
14905
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14906
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14907
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14908
 
       lt_cv_prog_compiler_c_o_F77=yes
14909
 
     fi
14910
 
   fi
14911
 
   chmod u+w . 2>&5
14912
 
   $rm conftest*
14913
 
   # SGI C++ compiler will create directory out/ii_files/ for
14914
 
   # template instantiation
14915
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14916
 
   $rm out/* && rmdir out
14917
 
   cd ..
14918
 
   rmdir conftest
14919
 
   $rm conftest*
14920
 
 
14921
 
fi
14922
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14923
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14924
 
 
14925
 
 
14926
 
hard_links="nottested"
14927
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14928
 
  # do not overwrite the value of need_locks provided by the user
14929
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14930
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
14931
 
  hard_links=yes
14932
 
  $rm conftest*
14933
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14934
 
  touch conftest.a
14935
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14936
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14937
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14938
 
$as_echo "$hard_links" >&6; }
14939
 
  if test "$hard_links" = no; then
14940
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14941
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14942
 
    need_locks=warn
14943
 
  fi
14944
 
else
14945
 
  need_locks=no
14946
 
fi
14947
 
 
14948
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14949
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14950
 
 
14951
 
  runpath_var=
14952
 
  allow_undefined_flag_F77=
14953
 
  enable_shared_with_static_runtimes_F77=no
14954
 
  archive_cmds_F77=
14955
 
  archive_expsym_cmds_F77=
14956
 
  old_archive_From_new_cmds_F77=
14957
 
  old_archive_from_expsyms_cmds_F77=
14958
 
  export_dynamic_flag_spec_F77=
14959
 
  whole_archive_flag_spec_F77=
14960
 
  thread_safe_flag_spec_F77=
14961
 
  hardcode_libdir_flag_spec_F77=
14962
 
  hardcode_libdir_flag_spec_ld_F77=
14963
 
  hardcode_libdir_separator_F77=
14964
 
  hardcode_direct_F77=no
14965
 
  hardcode_minus_L_F77=no
14966
 
  hardcode_shlibpath_var_F77=unsupported
14967
 
  link_all_deplibs_F77=unknown
14968
 
  hardcode_automatic_F77=no
14969
 
  module_cmds_F77=
14970
 
  module_expsym_cmds_F77=
14971
 
  always_export_symbols_F77=no
14972
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14973
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14974
 
  # included in the symbol list
14975
 
  include_expsyms_F77=
14976
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14977
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14978
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14979
 
  # as well as any symbol that contains `d'.
14980
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14981
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14982
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14983
 
  # the symbol is explicitly referenced.  Since portable code cannot
14984
 
  # rely on this symbol name, it's probably fine to never include it in
14985
 
  # preloaded symbol tables.
14986
 
  # Exclude shared library initialization/finalization symbols.
14987
 
  extract_expsyms_cmds=
14988
 
  # Just being paranoid about ensuring that cc_basename is set.
14989
 
  for cc_temp in $compiler""; do
14990
 
  case $cc_temp in
14991
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14992
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14993
 
    \-*) ;;
14994
 
    *) break;;
14995
 
  esac
14996
 
done
14997
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14998
 
 
14999
 
  case $host_os in
15000
 
  cygwin* | mingw* | pw32*)
15001
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15002
 
    # When not using gcc, we currently assume that we are using
15003
 
    # Microsoft Visual C++.
15004
 
    if test "$GCC" != yes; then
15005
 
      with_gnu_ld=no
15006
 
    fi
15007
 
    ;;
15008
 
  interix*)
15009
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15010
 
    with_gnu_ld=yes
15011
 
    ;;
15012
 
  openbsd*)
15013
 
    with_gnu_ld=no
15014
 
    ;;
15015
 
  esac
15016
 
 
15017
 
  ld_shlibs_F77=yes
15018
 
  if test "$with_gnu_ld" = yes; then
15019
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15020
 
    wlarc='${wl}'
15021
 
 
15022
 
    # Set some defaults for GNU ld with shared library support. These
15023
 
    # are reset later if shared libraries are not supported. Putting them
15024
 
    # here allows them to be overridden if necessary.
15025
 
    runpath_var=LD_RUN_PATH
15026
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15027
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15028
 
    # ancient GNU ld didn't support --whole-archive et. al.
15029
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15030
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15031
 
      else
15032
 
        whole_archive_flag_spec_F77=
15033
 
    fi
15034
 
    supports_anon_versioning=no
15035
 
    case `$LD -v 2>/dev/null` in
15036
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15037
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15038
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15039
 
      *\ 2.11.*) ;; # other 2.11 versions
15040
 
      *) supports_anon_versioning=yes ;;
15041
 
    esac
15042
 
 
15043
 
    # See if GNU ld supports shared libraries.
15044
 
    case $host_os in
15045
 
    aix[3-9]*)
15046
 
      # On AIX/PPC, the GNU linker is very broken
15047
 
      if test "$host_cpu" != ia64; then
15048
 
        ld_shlibs_F77=no
15049
 
        cat <<EOF 1>&2
15050
 
 
15051
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15052
 
*** to be unable to reliably create shared libraries on AIX.
15053
 
*** Therefore, libtool is disabling shared libraries support.  If you
15054
 
*** really care for shared libraries, you may want to modify your PATH
15055
 
*** so that a non-GNU linker is found, and then restart.
15056
 
 
15057
 
EOF
15058
 
      fi
15059
 
      ;;
15060
 
 
15061
 
    amigaos*)
15062
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15063
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15064
 
      hardcode_minus_L_F77=yes
15065
 
 
15066
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15067
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15068
 
      # to version 4, is to share data among multiple programs linked
15069
 
      # with the same dynamic library.  Since this doesn't match the
15070
 
      # behavior of shared libraries on other platforms, we can't use
15071
 
      # them.
15072
 
      ld_shlibs_F77=no
15073
 
      ;;
15074
 
 
15075
 
    beos*)
15076
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15077
 
        allow_undefined_flag_F77=unsupported
15078
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15079
 
        # support --undefined.  This deserves some investigation.  FIXME
15080
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15081
 
      else
15082
 
        ld_shlibs_F77=no
15083
 
      fi
15084
 
      ;;
15085
 
 
15086
 
    cygwin* | mingw* | pw32*)
15087
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15088
 
      # as there is no search path for DLLs.
15089
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15090
 
      allow_undefined_flag_F77=unsupported
15091
 
      always_export_symbols_F77=no
15092
 
      enable_shared_with_static_runtimes_F77=yes
15093
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15094
 
 
15095
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15096
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15097
 
        # If the export-symbols file already is a .def file (1st line
15098
 
        # is EXPORTS), use it as is; otherwise, prepend...
15099
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15100
 
          cp $export_symbols $output_objdir/$soname.def;
15101
 
        else
15102
 
          echo EXPORTS > $output_objdir/$soname.def;
15103
 
          cat $export_symbols >> $output_objdir/$soname.def;
15104
 
        fi~
15105
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15106
 
      else
15107
 
        ld_shlibs_F77=no
15108
 
      fi
15109
 
      ;;
15110
 
 
15111
 
    interix[3-9]*)
15112
 
      hardcode_direct_F77=no
15113
 
      hardcode_shlibpath_var_F77=no
15114
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15115
 
      export_dynamic_flag_spec_F77='${wl}-E'
15116
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15117
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15118
 
      # default) and relocated if they conflict, which is a slow very memory
15119
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15120
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15121
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15122
 
      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'
15123
 
      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'
15124
 
      ;;
15125
 
 
15126
 
    gnu* | linux* | k*bsd*-gnu)
15127
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15128
 
        tmp_addflag=
15129
 
        case $cc_basename,$host_cpu in
15130
 
        pgcc*)                          # Portland Group C compiler
15131
 
          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'
15132
 
          tmp_addflag=' $pic_flag'
15133
 
          ;;
15134
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15135
 
          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'
15136
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15137
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15138
 
          tmp_addflag=' -i_dynamic' ;;
15139
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15140
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15141
 
        ifc* | ifort*)                  # Intel Fortran compiler
15142
 
          tmp_addflag=' -nofor_main' ;;
15143
 
        esac
15144
 
        case `$CC -V 2>&1 | sed 5q` in
15145
 
        *Sun\ C*)                       # Sun C 5.9
15146
 
          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'
15147
 
          tmp_sharedflag='-G' ;;
15148
 
        *Sun\ F*)                       # Sun Fortran 8.3
15149
 
          tmp_sharedflag='-G' ;;
15150
 
        *)
15151
 
          tmp_sharedflag='-shared' ;;
15152
 
        esac
15153
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15154
 
 
15155
 
        if test $supports_anon_versioning = yes; then
15156
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15157
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15158
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15159
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15160
 
        fi
15161
 
      else
15162
 
        ld_shlibs_F77=no
15163
 
      fi
15164
 
      ;;
15165
 
 
15166
 
    netbsd*)
15167
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15168
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15169
 
        wlarc=
15170
 
      else
15171
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15172
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15173
 
      fi
15174
 
      ;;
15175
 
 
15176
 
    solaris*)
15177
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15178
 
        ld_shlibs_F77=no
15179
 
        cat <<EOF 1>&2
15180
 
 
15181
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15182
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15183
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15184
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15185
 
*** your PATH or compiler configuration so that the native linker is
15186
 
*** used, and then restart.
15187
 
 
15188
 
EOF
15189
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15190
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15191
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15192
 
      else
15193
 
        ld_shlibs_F77=no
15194
 
      fi
15195
 
      ;;
15196
 
 
15197
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15198
 
      case `$LD -v 2>&1` in
15199
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15200
 
        ld_shlibs_F77=no
15201
 
        cat <<_LT_EOF 1>&2
15202
 
 
15203
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15204
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15205
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15206
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15207
 
*** your PATH or compiler configuration so that the native linker is
15208
 
*** used, and then restart.
15209
 
 
15210
 
_LT_EOF
15211
 
        ;;
15212
 
        *)
15213
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15214
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15215
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15216
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15217
 
          else
15218
 
            ld_shlibs_F77=no
15219
 
          fi
15220
 
        ;;
15221
 
      esac
15222
 
      ;;
15223
 
 
15224
 
    sunos4*)
15225
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15226
 
      wlarc=
15227
 
      hardcode_direct_F77=yes
15228
 
      hardcode_shlibpath_var_F77=no
15229
 
      ;;
15230
 
 
15231
 
    *)
15232
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15233
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15234
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15235
 
      else
15236
 
        ld_shlibs_F77=no
15237
 
      fi
15238
 
      ;;
15239
 
    esac
15240
 
 
15241
 
    if test "$ld_shlibs_F77" = no; then
15242
 
      runpath_var=
15243
 
      hardcode_libdir_flag_spec_F77=
15244
 
      export_dynamic_flag_spec_F77=
15245
 
      whole_archive_flag_spec_F77=
15246
 
    fi
15247
 
  else
15248
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15249
 
    case $host_os in
15250
 
    aix3*)
15251
 
      allow_undefined_flag_F77=unsupported
15252
 
      always_export_symbols_F77=yes
15253
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15254
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15255
 
      # are no directories specified by -L.
15256
 
      hardcode_minus_L_F77=yes
15257
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15258
 
        # Neither direct hardcoding nor static linking is supported with a
15259
 
        # broken collect2.
15260
 
        hardcode_direct_F77=unsupported
15261
 
      fi
15262
 
      ;;
15263
 
 
15264
 
    aix[4-9]*)
15265
 
      if test "$host_cpu" = ia64; then
15266
 
        # On IA64, the linker does run time linking by default, so we don't
15267
 
        # have to do anything special.
15268
 
        aix_use_runtimelinking=no
15269
 
        exp_sym_flag='-Bexport'
15270
 
        no_entry_flag=""
15271
 
      else
15272
 
        # If we're using GNU nm, then we don't want the "-C" option.
15273
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15274
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15275
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15276
 
        else
15277
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15278
 
        fi
15279
 
        aix_use_runtimelinking=no
15280
 
 
15281
 
        # Test if we are trying to use run time linking or normal
15282
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15283
 
        # need to do runtime linking.
15284
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15285
 
          for ld_flag in $LDFLAGS; do
15286
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15287
 
            aix_use_runtimelinking=yes
15288
 
            break
15289
 
          fi
15290
 
          done
15291
 
          ;;
15292
 
        esac
15293
 
 
15294
 
        exp_sym_flag='-bexport'
15295
 
        no_entry_flag='-bnoentry'
15296
 
      fi
15297
 
 
15298
 
      # When large executables or shared objects are built, AIX ld can
15299
 
      # have problems creating the table of contents.  If linking a library
15300
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15301
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15302
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15303
 
 
15304
 
      archive_cmds_F77=''
15305
 
      hardcode_direct_F77=yes
15306
 
      hardcode_libdir_separator_F77=':'
15307
 
      link_all_deplibs_F77=yes
15308
 
 
15309
 
      if test "$GCC" = yes; then
15310
 
        case $host_os in aix4.[012]|aix4.[012].*)
15311
 
        # We only want to do this on AIX 4.2 and lower, the check
15312
 
        # below for broken collect2 doesn't work under 4.3+
15313
 
          collect2name=`${CC} -print-prog-name=collect2`
15314
 
          if test -f "$collect2name" && \
15315
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15316
 
          then
15317
 
          # We have reworked collect2
15318
 
          :
15319
 
          else
15320
 
          # We have old collect2
15321
 
          hardcode_direct_F77=unsupported
15322
 
          # It fails to find uninstalled libraries when the uninstalled
15323
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15324
 
          # to unsupported forces relinking
15325
 
          hardcode_minus_L_F77=yes
15326
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15327
 
          hardcode_libdir_separator_F77=
15328
 
          fi
15329
 
          ;;
15330
 
        esac
15331
 
        shared_flag='-shared'
15332
 
        if test "$aix_use_runtimelinking" = yes; then
15333
 
          shared_flag="$shared_flag "'${wl}-G'
15334
 
        fi
15335
 
      else
15336
 
        # not using gcc
15337
 
        if test "$host_cpu" = ia64; then
15338
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15339
 
        # chokes on -Wl,-G. The following line is correct:
15340
 
          shared_flag='-G'
15341
 
        else
15342
 
          if test "$aix_use_runtimelinking" = yes; then
15343
 
            shared_flag='${wl}-G'
15344
 
          else
15345
 
            shared_flag='${wl}-bM:SRE'
15346
 
          fi
15347
 
        fi
15348
 
      fi
15349
 
 
15350
 
      # It seems that -bexpall does not export symbols beginning with
15351
 
      # underscore (_), so it is better to generate a list of symbols to export.
15352
 
      always_export_symbols_F77=yes
15353
 
      if test "$aix_use_runtimelinking" = yes; then
15354
 
        # Warning - without using the other runtime loading flags (-brtl),
15355
 
        # -berok will link without error, but may produce a broken library.
15356
 
        allow_undefined_flag_F77='-berok'
15357
 
       # Determine the default libpath from the value encoded in an empty executable.
15358
 
       cat >conftest.$ac_ext <<_ACEOF
15359
 
      program main
15360
 
 
15361
 
      end
15362
 
_ACEOF
15363
 
rm -f conftest.$ac_objext conftest$ac_exeext
15364
 
if { (ac_try="$ac_link"
15365
 
case "(($ac_try" in
15366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367
 
  *) ac_try_echo=$ac_try;;
15368
 
esac
15369
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15370
 
$as_echo "$ac_try_echo") >&5
15371
 
  (eval "$ac_link") 2>conftest.er1
15372
 
  ac_status=$?
15373
 
  grep -v '^ *+' conftest.er1 >conftest.err
15374
 
  rm -f conftest.er1
15375
 
  cat conftest.err >&5
15376
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377
 
  (exit $ac_status); } && {
15378
 
         test -z "$ac_f77_werror_flag" ||
15379
 
         test ! -s conftest.err
15380
 
       } && test -s conftest$ac_exeext && {
15381
 
         test "$cross_compiling" = yes ||
15382
 
         $as_test_x conftest$ac_exeext
15383
 
       }; then
15384
 
 
15385
 
lt_aix_libpath_sed='
15386
 
    /Import File Strings/,/^$/ {
15387
 
        /^0/ {
15388
 
            s/^0  *\(.*\)$/\1/
15389
 
            p
15390
 
        }
15391
 
    }'
15392
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15393
 
# Check for a 64-bit object if we didn't find anything.
15394
 
if test -z "$aix_libpath"; then
15395
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15396
 
fi
15397
 
else
15398
 
  $as_echo "$as_me: failed program was:" >&5
15399
 
sed 's/^/| /' conftest.$ac_ext >&5
15400
 
 
15401
 
 
15402
 
fi
15403
 
 
15404
 
rm -rf conftest.dSYM
15405
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15406
 
      conftest$ac_exeext conftest.$ac_ext
15407
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15408
 
 
15409
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15410
 
        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"
15411
 
       else
15412
 
        if test "$host_cpu" = ia64; then
15413
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15414
 
          allow_undefined_flag_F77="-z nodefs"
15415
 
          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"
15416
 
        else
15417
 
         # Determine the default libpath from the value encoded in an empty executable.
15418
 
         cat >conftest.$ac_ext <<_ACEOF
15419
 
      program main
15420
 
 
15421
 
      end
15422
 
_ACEOF
15423
 
rm -f conftest.$ac_objext conftest$ac_exeext
15424
 
if { (ac_try="$ac_link"
15425
 
case "(($ac_try" in
15426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427
 
  *) ac_try_echo=$ac_try;;
15428
 
esac
15429
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15430
 
$as_echo "$ac_try_echo") >&5
15431
 
  (eval "$ac_link") 2>conftest.er1
15432
 
  ac_status=$?
15433
 
  grep -v '^ *+' conftest.er1 >conftest.err
15434
 
  rm -f conftest.er1
15435
 
  cat conftest.err >&5
15436
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437
 
  (exit $ac_status); } && {
15438
 
         test -z "$ac_f77_werror_flag" ||
15439
 
         test ! -s conftest.err
15440
 
       } && test -s conftest$ac_exeext && {
15441
 
         test "$cross_compiling" = yes ||
15442
 
         $as_test_x conftest$ac_exeext
15443
 
       }; then
15444
 
 
15445
 
lt_aix_libpath_sed='
15446
 
    /Import File Strings/,/^$/ {
15447
 
        /^0/ {
15448
 
            s/^0  *\(.*\)$/\1/
15449
 
            p
15450
 
        }
15451
 
    }'
15452
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15453
 
# Check for a 64-bit object if we didn't find anything.
15454
 
if test -z "$aix_libpath"; then
15455
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15456
 
fi
15457
 
else
15458
 
  $as_echo "$as_me: failed program was:" >&5
15459
 
sed 's/^/| /' conftest.$ac_ext >&5
15460
 
 
15461
 
 
15462
 
fi
15463
 
 
15464
 
rm -rf conftest.dSYM
15465
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15466
 
      conftest$ac_exeext conftest.$ac_ext
15467
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15468
 
 
15469
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15470
 
          # Warning - without using the other run time loading flags,
15471
 
          # -berok will link without error, but may produce a broken library.
15472
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15473
 
          allow_undefined_flag_F77=' ${wl}-berok'
15474
 
          # Exported symbols can be pulled into shared objects from archives
15475
 
          whole_archive_flag_spec_F77='$convenience'
15476
 
          archive_cmds_need_lc_F77=yes
15477
 
          # This is similar to how AIX traditionally builds its shared libraries.
15478
 
          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'
15479
 
        fi
15480
 
      fi
15481
 
      ;;
15482
 
 
15483
 
    amigaos*)
15484
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15485
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15486
 
      hardcode_minus_L_F77=yes
15487
 
      # see comment about different semantics on the GNU ld section
15488
 
      ld_shlibs_F77=no
15489
 
      ;;
15490
 
 
15491
 
    bsdi[45]*)
15492
 
      export_dynamic_flag_spec_F77=-rdynamic
15493
 
      ;;
15494
 
 
15495
 
    cygwin* | mingw* | pw32*)
15496
 
      # When not using gcc, we currently assume that we are using
15497
 
      # Microsoft Visual C++.
15498
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15499
 
      # no search path for DLLs.
15500
 
      hardcode_libdir_flag_spec_F77=' '
15501
 
      allow_undefined_flag_F77=unsupported
15502
 
      # Tell ltmain to make .lib files, not .a files.
15503
 
      libext=lib
15504
 
      # Tell ltmain to make .dll files, not .so files.
15505
 
      shrext_cmds=".dll"
15506
 
      # FIXME: Setting linknames here is a bad hack.
15507
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15508
 
      # The linker will automatically build a .lib file if we build a DLL.
15509
 
      old_archive_From_new_cmds_F77='true'
15510
 
      # FIXME: Should let the user specify the lib program.
15511
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15512
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15513
 
      enable_shared_with_static_runtimes_F77=yes
15514
 
      ;;
15515
 
 
15516
 
    darwin* | rhapsody*)
15517
 
      case $host_os in
15518
 
        rhapsody* | darwin1.[012])
15519
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15520
 
         ;;
15521
 
       *) # Darwin 1.3 on
15522
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15523
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15524
 
         else
15525
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15526
 
             10.[012])
15527
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15528
 
               ;;
15529
 
             10.*)
15530
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15531
 
               ;;
15532
 
           esac
15533
 
         fi
15534
 
         ;;
15535
 
      esac
15536
 
      archive_cmds_need_lc_F77=no
15537
 
      hardcode_direct_F77=no
15538
 
      hardcode_automatic_F77=yes
15539
 
      hardcode_shlibpath_var_F77=unsupported
15540
 
      whole_archive_flag_spec_F77=''
15541
 
      link_all_deplibs_F77=yes
15542
 
    if test "$GCC" = yes ; then
15543
 
        output_verbose_link_cmd='echo'
15544
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15545
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15546
 
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15547
 
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15548
 
    else
15549
 
      case $cc_basename in
15550
 
        xlc*)
15551
 
         output_verbose_link_cmd='echo'
15552
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15553
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15554
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15555
 
         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}'
15556
 
          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}'
15557
 
          ;;
15558
 
       *)
15559
 
         ld_shlibs_F77=no
15560
 
          ;;
15561
 
      esac
15562
 
    fi
15563
 
      ;;
15564
 
 
15565
 
    dgux*)
15566
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15567
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15568
 
      hardcode_shlibpath_var_F77=no
15569
 
      ;;
15570
 
 
15571
 
    freebsd1*)
15572
 
      ld_shlibs_F77=no
15573
 
      ;;
15574
 
 
15575
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15576
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15577
 
    # does not break anything, and helps significantly (at the cost of a little
15578
 
    # extra space).
15579
 
    freebsd2.2*)
15580
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15581
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15582
 
      hardcode_direct_F77=yes
15583
 
      hardcode_shlibpath_var_F77=no
15584
 
      ;;
15585
 
 
15586
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15587
 
    freebsd2*)
15588
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15589
 
      hardcode_direct_F77=yes
15590
 
      hardcode_minus_L_F77=yes
15591
 
      hardcode_shlibpath_var_F77=no
15592
 
      ;;
15593
 
 
15594
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15595
 
    freebsd* | dragonfly*)
15596
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15597
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15598
 
      hardcode_direct_F77=yes
15599
 
      hardcode_shlibpath_var_F77=no
15600
 
      ;;
15601
 
 
15602
 
    hpux9*)
15603
 
      if test "$GCC" = yes; then
15604
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15605
 
      else
15606
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15607
 
      fi
15608
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15609
 
      hardcode_libdir_separator_F77=:
15610
 
      hardcode_direct_F77=yes
15611
 
 
15612
 
      # hardcode_minus_L: Not really in the search PATH,
15613
 
      # but as the default location of the library.
15614
 
      hardcode_minus_L_F77=yes
15615
 
      export_dynamic_flag_spec_F77='${wl}-E'
15616
 
      ;;
15617
 
 
15618
 
    hpux10*)
15619
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15620
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15621
 
      else
15622
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15623
 
      fi
15624
 
      if test "$with_gnu_ld" = no; then
15625
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15626
 
        hardcode_libdir_separator_F77=:
15627
 
 
15628
 
        hardcode_direct_F77=yes
15629
 
        export_dynamic_flag_spec_F77='${wl}-E'
15630
 
 
15631
 
        # hardcode_minus_L: Not really in the search PATH,
15632
 
        # but as the default location of the library.
15633
 
        hardcode_minus_L_F77=yes
15634
 
      fi
15635
 
      ;;
15636
 
 
15637
 
    hpux11*)
15638
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15639
 
        case $host_cpu in
15640
 
        hppa*64*)
15641
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15642
 
          ;;
15643
 
        ia64*)
15644
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15645
 
          ;;
15646
 
        *)
15647
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15648
 
          ;;
15649
 
        esac
15650
 
      else
15651
 
        case $host_cpu in
15652
 
        hppa*64*)
15653
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15654
 
          ;;
15655
 
        ia64*)
15656
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15657
 
          ;;
15658
 
        *)
15659
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15660
 
          ;;
15661
 
        esac
15662
 
      fi
15663
 
      if test "$with_gnu_ld" = no; then
15664
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15665
 
        hardcode_libdir_separator_F77=:
15666
 
 
15667
 
        case $host_cpu in
15668
 
        hppa*64*|ia64*)
15669
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15670
 
          hardcode_direct_F77=no
15671
 
          hardcode_shlibpath_var_F77=no
15672
 
          ;;
15673
 
        *)
15674
 
          hardcode_direct_F77=yes
15675
 
          export_dynamic_flag_spec_F77='${wl}-E'
15676
 
 
15677
 
          # hardcode_minus_L: Not really in the search PATH,
15678
 
          # but as the default location of the library.
15679
 
          hardcode_minus_L_F77=yes
15680
 
          ;;
15681
 
        esac
15682
 
      fi
15683
 
      ;;
15684
 
 
15685
 
    irix5* | irix6* | nonstopux*)
15686
 
      if test "$GCC" = yes; then
15687
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $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'
15688
 
      else
15689
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15690
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15691
 
      fi
15692
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15693
 
      hardcode_libdir_separator_F77=:
15694
 
      link_all_deplibs_F77=yes
15695
 
      ;;
15696
 
 
15697
 
    netbsd*)
15698
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15699
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15700
 
      else
15701
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15702
 
      fi
15703
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15704
 
      hardcode_direct_F77=yes
15705
 
      hardcode_shlibpath_var_F77=no
15706
 
      ;;
15707
 
 
15708
 
    newsos6)
15709
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15710
 
      hardcode_direct_F77=yes
15711
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15712
 
      hardcode_libdir_separator_F77=:
15713
 
      hardcode_shlibpath_var_F77=no
15714
 
      ;;
15715
 
 
15716
 
    openbsd*)
15717
 
      if test -f /usr/libexec/ld.so; then
15718
 
        hardcode_direct_F77=yes
15719
 
        hardcode_shlibpath_var_F77=no
15720
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15721
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15722
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15723
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15724
 
          export_dynamic_flag_spec_F77='${wl}-E'
15725
 
        else
15726
 
          case $host_os in
15727
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15728
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15729
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15730
 
             ;;
15731
 
           *)
15732
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15733
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15734
 
             ;;
15735
 
          esac
15736
 
        fi
15737
 
      else
15738
 
        ld_shlibs_F77=no
15739
 
      fi
15740
 
      ;;
15741
 
 
15742
 
    os2*)
15743
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15744
 
      hardcode_minus_L_F77=yes
15745
 
      allow_undefined_flag_F77=unsupported
15746
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15747
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15748
 
      ;;
15749
 
 
15750
 
    osf3*)
15751
 
      if test "$GCC" = yes; then
15752
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15753
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
15754
 
      else
15755
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15756
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15757
 
      fi
15758
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15759
 
      hardcode_libdir_separator_F77=:
15760
 
      ;;
15761
 
 
15762
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15763
 
      if test "$GCC" = yes; then
15764
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15765
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
15766
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15767
 
      else
15768
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15769
 
        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'
15770
 
        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~
15771
 
        $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'
15772
 
 
15773
 
        # Both c and cxx compiler support -rpath directly
15774
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15775
 
      fi
15776
 
      hardcode_libdir_separator_F77=:
15777
 
      ;;
15778
 
 
15779
 
    solaris*)
15780
 
      no_undefined_flag_F77=' -z text'
15781
 
      if test "$GCC" = yes; then
15782
 
        wlarc='${wl}'
15783
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15784
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15785
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15786
 
      else
15787
 
        wlarc=''
15788
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15789
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15790
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15791
 
      fi
15792
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15793
 
      hardcode_shlibpath_var_F77=no
15794
 
      case $host_os in
15795
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15796
 
      *)
15797
 
        # The compiler driver will combine and reorder linker options,
15798
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15799
 
        # but is careful enough not to reorder.
15800
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15801
 
        if test "$GCC" = yes; then
15802
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15803
 
        else
15804
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15805
 
        fi
15806
 
        ;;
15807
 
      esac
15808
 
      link_all_deplibs_F77=yes
15809
 
      ;;
15810
 
 
15811
 
    sunos4*)
15812
 
      if test "x$host_vendor" = xsequent; then
15813
 
        # Use $CC to link under sequent, because it throws in some extra .o
15814
 
        # files that make .init and .fini sections work.
15815
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15816
 
      else
15817
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15818
 
      fi
15819
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15820
 
      hardcode_direct_F77=yes
15821
 
      hardcode_minus_L_F77=yes
15822
 
      hardcode_shlibpath_var_F77=no
15823
 
      ;;
15824
 
 
15825
 
    sysv4)
15826
 
      case $host_vendor in
15827
 
        sni)
15828
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15829
 
          hardcode_direct_F77=yes # is this really true???
15830
 
        ;;
15831
 
        siemens)
15832
 
          ## LD is ld it makes a PLAMLIB
15833
 
          ## CC just makes a GrossModule.
15834
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15835
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15836
 
          hardcode_direct_F77=no
15837
 
        ;;
15838
 
        motorola)
15839
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15840
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15841
 
        ;;
15842
 
      esac
15843
 
      runpath_var='LD_RUN_PATH'
15844
 
      hardcode_shlibpath_var_F77=no
15845
 
      ;;
15846
 
 
15847
 
    sysv4.3*)
15848
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15849
 
      hardcode_shlibpath_var_F77=no
15850
 
      export_dynamic_flag_spec_F77='-Bexport'
15851
 
      ;;
15852
 
 
15853
 
    sysv4*MP*)
15854
 
      if test -d /usr/nec; then
15855
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15856
 
        hardcode_shlibpath_var_F77=no
15857
 
        runpath_var=LD_RUN_PATH
15858
 
        hardcode_runpath_var=yes
15859
 
        ld_shlibs_F77=yes
15860
 
      fi
15861
 
      ;;
15862
 
 
15863
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15864
 
      no_undefined_flag_F77='${wl}-z,text'
15865
 
      archive_cmds_need_lc_F77=no
15866
 
      hardcode_shlibpath_var_F77=no
15867
 
      runpath_var='LD_RUN_PATH'
15868
 
 
15869
 
      if test "$GCC" = yes; then
15870
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15871
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15872
 
      else
15873
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15874
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15875
 
      fi
15876
 
      ;;
15877
 
 
15878
 
    sysv5* | sco3.2v5* | sco5v6*)
15879
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15880
 
      # link with -lc, and that would cause any symbols used from libc to
15881
 
      # always be unresolved, which means just about no library would
15882
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15883
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15884
 
      # as -z defs.
15885
 
      no_undefined_flag_F77='${wl}-z,text'
15886
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15887
 
      archive_cmds_need_lc_F77=no
15888
 
      hardcode_shlibpath_var_F77=no
15889
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15890
 
      hardcode_libdir_separator_F77=':'
15891
 
      link_all_deplibs_F77=yes
15892
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15893
 
      runpath_var='LD_RUN_PATH'
15894
 
 
15895
 
      if test "$GCC" = yes; then
15896
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15897
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15898
 
      else
15899
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15900
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15901
 
      fi
15902
 
      ;;
15903
 
 
15904
 
    uts4*)
15905
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15906
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15907
 
      hardcode_shlibpath_var_F77=no
15908
 
      ;;
15909
 
 
15910
 
    *)
15911
 
      ld_shlibs_F77=no
15912
 
      ;;
15913
 
    esac
15914
 
  fi
15915
 
 
15916
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15917
 
$as_echo "$ld_shlibs_F77" >&6; }
15918
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15919
 
 
15920
 
#
15921
 
# Do we need to explicitly link libc?
15922
 
#
15923
 
case "x$archive_cmds_need_lc_F77" in
15924
 
x|xyes)
15925
 
  # Assume -lc should be added
15926
 
  archive_cmds_need_lc_F77=yes
15927
 
 
15928
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15929
 
    case $archive_cmds_F77 in
15930
 
    *'~'*)
15931
 
      # FIXME: we may have to deal with multi-command sequences.
15932
 
      ;;
15933
 
    '$CC '*)
15934
 
      # Test whether the compiler implicitly links with -lc since on some
15935
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15936
 
      # to ld, don't add -lc before -lgcc.
15937
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15938
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15939
 
      $rm conftest*
15940
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15941
 
 
15942
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943
 
  (eval $ac_compile) 2>&5
15944
 
  ac_status=$?
15945
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946
 
  (exit $ac_status); } 2>conftest.err; then
15947
 
        soname=conftest
15948
 
        lib=conftest
15949
 
        libobjs=conftest.$ac_objext
15950
 
        deplibs=
15951
 
        wl=$lt_prog_compiler_wl_F77
15952
 
        pic_flag=$lt_prog_compiler_pic_F77
15953
 
        compiler_flags=-v
15954
 
        linker_flags=-v
15955
 
        verstring=
15956
 
        output_objdir=.
15957
 
        libname=conftest
15958
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15959
 
        allow_undefined_flag_F77=
15960
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15961
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15962
 
  ac_status=$?
15963
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964
 
  (exit $ac_status); }
15965
 
        then
15966
 
          archive_cmds_need_lc_F77=no
15967
 
        else
15968
 
          archive_cmds_need_lc_F77=yes
15969
 
        fi
15970
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15971
 
      else
15972
 
        cat conftest.err 1>&5
15973
 
      fi
15974
 
      $rm conftest*
15975
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15976
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
15977
 
      ;;
15978
 
    esac
15979
 
  fi
15980
 
  ;;
15981
 
esac
15982
 
 
15983
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15984
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15985
 
library_names_spec=
15986
 
libname_spec='lib$name'
15987
 
soname_spec=
15988
 
shrext_cmds=".so"
15989
 
postinstall_cmds=
15990
 
postuninstall_cmds=
15991
 
finish_cmds=
15992
 
finish_eval=
15993
 
shlibpath_var=
15994
 
shlibpath_overrides_runpath=unknown
15995
 
version_type=none
15996
 
dynamic_linker="$host_os ld.so"
15997
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15998
 
 
15999
 
need_lib_prefix=unknown
16000
 
hardcode_into_libs=no
16001
 
 
16002
 
# when you set need_version to no, make sure it does not cause -set_version
16003
 
# flags to be left without arguments
16004
 
need_version=unknown
16005
 
 
16006
 
case $host_os in
16007
 
aix3*)
16008
 
  version_type=linux
16009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16010
 
  shlibpath_var=LIBPATH
16011
 
 
16012
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16013
 
  soname_spec='${libname}${release}${shared_ext}$major'
16014
 
  ;;
16015
 
 
16016
 
aix[4-9]*)
16017
 
  version_type=linux
16018
 
  need_lib_prefix=no
16019
 
  need_version=no
16020
 
  hardcode_into_libs=yes
16021
 
  if test "$host_cpu" = ia64; then
16022
 
    # AIX 5 supports IA64
16023
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16024
 
    shlibpath_var=LD_LIBRARY_PATH
16025
 
  else
16026
 
    # With GCC up to 2.95.x, collect2 would create an import file
16027
 
    # for dependence libraries.  The import file would start with
16028
 
    # the line `#! .'.  This would cause the generated library to
16029
 
    # depend on `.', always an invalid library.  This was fixed in
16030
 
    # development snapshots of GCC prior to 3.0.
16031
 
    case $host_os in
16032
 
      aix4 | aix4.[01] | aix4.[01].*)
16033
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16034
 
           echo ' yes '
16035
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16036
 
        :
16037
 
      else
16038
 
        can_build_shared=no
16039
 
      fi
16040
 
      ;;
16041
 
    esac
16042
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16043
 
    # soname into executable. Probably we can add versioning support to
16044
 
    # collect2, so additional links can be useful in future.
16045
 
    if test "$aix_use_runtimelinking" = yes; then
16046
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16047
 
      # instead of lib<name>.a to let people know that these are not
16048
 
      # typical AIX shared libraries.
16049
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050
 
    else
16051
 
      # We preserve .a as extension for shared libraries through AIX4.2
16052
 
      # and later when we are not doing run time linking.
16053
 
      library_names_spec='${libname}${release}.a $libname.a'
16054
 
      soname_spec='${libname}${release}${shared_ext}$major'
16055
 
    fi
16056
 
    shlibpath_var=LIBPATH
16057
 
  fi
16058
 
  ;;
16059
 
 
16060
 
amigaos*)
16061
 
  library_names_spec='$libname.ixlibrary $libname.a'
16062
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16063
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16064
 
  ;;
16065
 
 
16066
 
beos*)
16067
 
  library_names_spec='${libname}${shared_ext}'
16068
 
  dynamic_linker="$host_os ld.so"
16069
 
  shlibpath_var=LIBRARY_PATH
16070
 
  ;;
16071
 
 
16072
 
bsdi[45]*)
16073
 
  version_type=linux
16074
 
  need_version=no
16075
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16076
 
  soname_spec='${libname}${release}${shared_ext}$major'
16077
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16078
 
  shlibpath_var=LD_LIBRARY_PATH
16079
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16080
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16081
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16082
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16083
 
  # libtool to hard-code these into programs
16084
 
  ;;
16085
 
 
16086
 
cygwin* | mingw* | pw32*)
16087
 
  version_type=windows
16088
 
  shrext_cmds=".dll"
16089
 
  need_version=no
16090
 
  need_lib_prefix=no
16091
 
 
16092
 
  case $GCC,$host_os in
16093
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16094
 
    library_names_spec='$libname.dll.a'
16095
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16096
 
    postinstall_cmds='base_file=`basename \${file}`~
16097
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16098
 
      dldir=$destdir/`dirname \$dlpath`~
16099
 
      test -d \$dldir || mkdir -p \$dldir~
16100
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16101
 
      chmod a+x \$dldir/$dlname'
16102
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16103
 
      dlpath=$dir/\$dldll~
16104
 
       $rm \$dlpath'
16105
 
    shlibpath_overrides_runpath=yes
16106
 
 
16107
 
    case $host_os in
16108
 
    cygwin*)
16109
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16110
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16111
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16112
 
      ;;
16113
 
    mingw*)
16114
 
      # MinGW DLLs use traditional 'lib' prefix
16115
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16116
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16117
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16118
 
        # It is most probably a Windows format PATH printed by
16119
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16120
 
        # path with ; separators, and with drive letters. We can handle the
16121
 
        # drive letters (cygwin fileutils understands them), so leave them,
16122
 
        # especially as we might pass files found there to a mingw objdump,
16123
 
        # which wouldn't understand a cygwinified path. Ahh.
16124
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16125
 
      else
16126
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16127
 
      fi
16128
 
      ;;
16129
 
    pw32*)
16130
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16131
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16132
 
      ;;
16133
 
    esac
16134
 
    ;;
16135
 
 
16136
 
  *)
16137
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16138
 
    ;;
16139
 
  esac
16140
 
  dynamic_linker='Win32 ld.exe'
16141
 
  # FIXME: first we should search . and the directory the executable is in
16142
 
  shlibpath_var=PATH
16143
 
  ;;
16144
 
 
16145
 
darwin* | rhapsody*)
16146
 
  dynamic_linker="$host_os dyld"
16147
 
  version_type=darwin
16148
 
  need_lib_prefix=no
16149
 
  need_version=no
16150
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16151
 
  soname_spec='${libname}${release}${major}$shared_ext'
16152
 
  shlibpath_overrides_runpath=yes
16153
 
  shlibpath_var=DYLD_LIBRARY_PATH
16154
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16155
 
 
16156
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16157
 
  ;;
16158
 
 
16159
 
dgux*)
16160
 
  version_type=linux
16161
 
  need_lib_prefix=no
16162
 
  need_version=no
16163
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16164
 
  soname_spec='${libname}${release}${shared_ext}$major'
16165
 
  shlibpath_var=LD_LIBRARY_PATH
16166
 
  ;;
16167
 
 
16168
 
freebsd1*)
16169
 
  dynamic_linker=no
16170
 
  ;;
16171
 
 
16172
 
freebsd* | dragonfly*)
16173
 
  # DragonFly does not have aout.  When/if they implement a new
16174
 
  # versioning mechanism, adjust this.
16175
 
  if test -x /usr/bin/objformat; then
16176
 
    objformat=`/usr/bin/objformat`
16177
 
  else
16178
 
    case $host_os in
16179
 
    freebsd[123]*) objformat=aout ;;
16180
 
    *) objformat=elf ;;
16181
 
    esac
16182
 
  fi
16183
 
  version_type=freebsd-$objformat
16184
 
  case $version_type in
16185
 
    freebsd-elf*)
16186
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16187
 
      need_version=no
16188
 
      need_lib_prefix=no
16189
 
      ;;
16190
 
    freebsd-*)
16191
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16192
 
      need_version=yes
16193
 
      ;;
16194
 
  esac
16195
 
  shlibpath_var=LD_LIBRARY_PATH
16196
 
  case $host_os in
16197
 
  freebsd2*)
16198
 
    shlibpath_overrides_runpath=yes
16199
 
    ;;
16200
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16201
 
    shlibpath_overrides_runpath=yes
16202
 
    hardcode_into_libs=yes
16203
 
    ;;
16204
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16205
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16206
 
    shlibpath_overrides_runpath=no
16207
 
    hardcode_into_libs=yes
16208
 
    ;;
16209
 
  *) # from 4.6 on, and DragonFly
16210
 
    shlibpath_overrides_runpath=yes
16211
 
    hardcode_into_libs=yes
16212
 
    ;;
16213
 
  esac
16214
 
  ;;
16215
 
 
16216
 
gnu*)
16217
 
  version_type=linux
16218
 
  need_lib_prefix=no
16219
 
  need_version=no
16220
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16221
 
  soname_spec='${libname}${release}${shared_ext}$major'
16222
 
  shlibpath_var=LD_LIBRARY_PATH
16223
 
  hardcode_into_libs=yes
16224
 
  ;;
16225
 
 
16226
 
hpux9* | hpux10* | hpux11*)
16227
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16228
 
  # link against other versions.
16229
 
  version_type=sunos
16230
 
  need_lib_prefix=no
16231
 
  need_version=no
16232
 
  case $host_cpu in
16233
 
  ia64*)
16234
 
    shrext_cmds='.so'
16235
 
    hardcode_into_libs=yes
16236
 
    dynamic_linker="$host_os dld.so"
16237
 
    shlibpath_var=LD_LIBRARY_PATH
16238
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16239
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16240
 
    soname_spec='${libname}${release}${shared_ext}$major'
16241
 
    if test "X$HPUX_IA64_MODE" = X32; then
16242
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16243
 
    else
16244
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16245
 
    fi
16246
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16247
 
    ;;
16248
 
   hppa*64*)
16249
 
     shrext_cmds='.sl'
16250
 
     hardcode_into_libs=yes
16251
 
     dynamic_linker="$host_os dld.sl"
16252
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16253
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16254
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16255
 
     soname_spec='${libname}${release}${shared_ext}$major'
16256
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16257
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16258
 
     ;;
16259
 
   *)
16260
 
    shrext_cmds='.sl'
16261
 
    dynamic_linker="$host_os dld.sl"
16262
 
    shlibpath_var=SHLIB_PATH
16263
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16264
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16265
 
    soname_spec='${libname}${release}${shared_ext}$major'
16266
 
    ;;
16267
 
  esac
16268
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16269
 
  postinstall_cmds='chmod 555 $lib'
16270
 
  ;;
16271
 
 
16272
 
interix[3-9]*)
16273
 
  version_type=linux
16274
 
  need_lib_prefix=no
16275
 
  need_version=no
16276
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16277
 
  soname_spec='${libname}${release}${shared_ext}$major'
16278
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16279
 
  shlibpath_var=LD_LIBRARY_PATH
16280
 
  shlibpath_overrides_runpath=no
16281
 
  hardcode_into_libs=yes
16282
 
  ;;
16283
 
 
16284
 
irix5* | irix6* | nonstopux*)
16285
 
  case $host_os in
16286
 
    nonstopux*) version_type=nonstopux ;;
16287
 
    *)
16288
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16289
 
                version_type=linux
16290
 
        else
16291
 
                version_type=irix
16292
 
        fi ;;
16293
 
  esac
16294
 
  need_lib_prefix=no
16295
 
  need_version=no
16296
 
  soname_spec='${libname}${release}${shared_ext}$major'
16297
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16298
 
  case $host_os in
16299
 
  irix5* | nonstopux*)
16300
 
    libsuff= shlibsuff=
16301
 
    ;;
16302
 
  *)
16303
 
    case $LD in # libtool.m4 will add one of these switches to LD
16304
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16305
 
      libsuff= shlibsuff= libmagic=32-bit;;
16306
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16307
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16308
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16309
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16310
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16311
 
    esac
16312
 
    ;;
16313
 
  esac
16314
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16315
 
  shlibpath_overrides_runpath=no
16316
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16317
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16318
 
  hardcode_into_libs=yes
16319
 
  ;;
16320
 
 
16321
 
# No shared lib support for Linux oldld, aout, or coff.
16322
 
linux*oldld* | linux*aout* | linux*coff*)
16323
 
  dynamic_linker=no
16324
 
  ;;
16325
 
 
16326
 
# This must be Linux ELF.
16327
 
linux* | k*bsd*-gnu)
16328
 
  version_type=linux
16329
 
  need_lib_prefix=no
16330
 
  need_version=no
16331
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16332
 
  soname_spec='${libname}${release}${shared_ext}$major'
16333
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16334
 
  shlibpath_var=LD_LIBRARY_PATH
16335
 
  shlibpath_overrides_runpath=no
16336
 
  # This implies no fast_install, which is unacceptable.
16337
 
  # Some rework will be needed to allow for fast_install
16338
 
  # before this can be enabled.
16339
 
  hardcode_into_libs=yes
16340
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16341
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16342
 
 
16343
 
  # Append ld.so.conf contents to the search path
16344
 
  if test -f /etc/ld.so.conf; then
16345
 
    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' ' '`
16346
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16347
 
  fi
16348
 
 
16349
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16350
 
  # powerpc, because MkLinux only supported shared libraries with the
16351
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16352
 
  # most powerpc-linux boxes support dynamic linking these days and
16353
 
  # people can always --disable-shared, the test was removed, and we
16354
 
  # assume the GNU/Linux dynamic linker is in use.
16355
 
  dynamic_linker='GNU/Linux ld.so'
16356
 
  ;;
16357
 
 
16358
 
netbsd*)
16359
 
  version_type=sunos
16360
 
  need_lib_prefix=no
16361
 
  need_version=no
16362
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16363
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16364
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16365
 
    dynamic_linker='NetBSD (a.out) ld.so'
16366
 
  else
16367
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16368
 
    soname_spec='${libname}${release}${shared_ext}$major'
16369
 
    dynamic_linker='NetBSD ld.elf_so'
16370
 
  fi
16371
 
  shlibpath_var=LD_LIBRARY_PATH
16372
 
  shlibpath_overrides_runpath=yes
16373
 
  hardcode_into_libs=yes
16374
 
  ;;
16375
 
 
16376
 
newsos6)
16377
 
  version_type=linux
16378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16379
 
  shlibpath_var=LD_LIBRARY_PATH
16380
 
  shlibpath_overrides_runpath=yes
16381
 
  ;;
16382
 
 
16383
 
nto-qnx*)
16384
 
  version_type=linux
16385
 
  need_lib_prefix=no
16386
 
  need_version=no
16387
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16388
 
  soname_spec='${libname}${release}${shared_ext}$major'
16389
 
  shlibpath_var=LD_LIBRARY_PATH
16390
 
  shlibpath_overrides_runpath=yes
16391
 
  ;;
16392
 
 
16393
 
openbsd*)
16394
 
  version_type=sunos
16395
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16396
 
  need_lib_prefix=no
16397
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16398
 
  case $host_os in
16399
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16400
 
    *)                         need_version=no  ;;
16401
 
  esac
16402
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16403
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16404
 
  shlibpath_var=LD_LIBRARY_PATH
16405
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16406
 
    case $host_os in
16407
 
      openbsd2.[89] | openbsd2.[89].*)
16408
 
        shlibpath_overrides_runpath=no
16409
 
        ;;
16410
 
      *)
16411
 
        shlibpath_overrides_runpath=yes
16412
 
        ;;
16413
 
      esac
16414
 
  else
16415
 
    shlibpath_overrides_runpath=yes
16416
 
  fi
16417
 
  ;;
16418
 
 
16419
 
os2*)
16420
 
  libname_spec='$name'
16421
 
  shrext_cmds=".dll"
16422
 
  need_lib_prefix=no
16423
 
  library_names_spec='$libname${shared_ext} $libname.a'
16424
 
  dynamic_linker='OS/2 ld.exe'
16425
 
  shlibpath_var=LIBPATH
16426
 
  ;;
16427
 
 
16428
 
osf3* | osf4* | osf5*)
16429
 
  version_type=osf
16430
 
  need_lib_prefix=no
16431
 
  need_version=no
16432
 
  soname_spec='${libname}${release}${shared_ext}$major'
16433
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16434
 
  shlibpath_var=LD_LIBRARY_PATH
16435
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16436
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16437
 
  ;;
16438
 
 
16439
 
rdos*)
16440
 
  dynamic_linker=no
16441
 
  ;;
16442
 
 
16443
 
solaris*)
16444
 
  version_type=linux
16445
 
  need_lib_prefix=no
16446
 
  need_version=no
16447
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16448
 
  soname_spec='${libname}${release}${shared_ext}$major'
16449
 
  shlibpath_var=LD_LIBRARY_PATH
16450
 
  shlibpath_overrides_runpath=yes
16451
 
  hardcode_into_libs=yes
16452
 
  # ldd complains unless libraries are executable
16453
 
  postinstall_cmds='chmod +x $lib'
16454
 
  ;;
16455
 
 
16456
 
sunos4*)
16457
 
  version_type=sunos
16458
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16459
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16460
 
  shlibpath_var=LD_LIBRARY_PATH
16461
 
  shlibpath_overrides_runpath=yes
16462
 
  if test "$with_gnu_ld" = yes; then
16463
 
    need_lib_prefix=no
16464
 
  fi
16465
 
  need_version=yes
16466
 
  ;;
16467
 
 
16468
 
sysv4 | sysv4.3*)
16469
 
  version_type=linux
16470
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16471
 
  soname_spec='${libname}${release}${shared_ext}$major'
16472
 
  shlibpath_var=LD_LIBRARY_PATH
16473
 
  case $host_vendor in
16474
 
    sni)
16475
 
      shlibpath_overrides_runpath=no
16476
 
      need_lib_prefix=no
16477
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16478
 
      runpath_var=LD_RUN_PATH
16479
 
      ;;
16480
 
    siemens)
16481
 
      need_lib_prefix=no
16482
 
      ;;
16483
 
    motorola)
16484
 
      need_lib_prefix=no
16485
 
      need_version=no
16486
 
      shlibpath_overrides_runpath=no
16487
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16488
 
      ;;
16489
 
  esac
16490
 
  ;;
16491
 
 
16492
 
sysv4*MP*)
16493
 
  if test -d /usr/nec ;then
16494
 
    version_type=linux
16495
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16496
 
    soname_spec='$libname${shared_ext}.$major'
16497
 
    shlibpath_var=LD_LIBRARY_PATH
16498
 
  fi
16499
 
  ;;
16500
 
 
16501
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16502
 
  version_type=freebsd-elf
16503
 
  need_lib_prefix=no
16504
 
  need_version=no
16505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16506
 
  soname_spec='${libname}${release}${shared_ext}$major'
16507
 
  shlibpath_var=LD_LIBRARY_PATH
16508
 
  hardcode_into_libs=yes
16509
 
  if test "$with_gnu_ld" = yes; then
16510
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16511
 
    shlibpath_overrides_runpath=no
16512
 
  else
16513
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16514
 
    shlibpath_overrides_runpath=yes
16515
 
    case $host_os in
16516
 
      sco3.2v5*)
16517
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16518
 
        ;;
16519
 
    esac
16520
 
  fi
16521
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16522
 
  ;;
16523
 
 
16524
 
uts4*)
16525
 
  version_type=linux
16526
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16527
 
  soname_spec='${libname}${release}${shared_ext}$major'
16528
 
  shlibpath_var=LD_LIBRARY_PATH
16529
 
  ;;
16530
 
 
16531
 
*)
16532
 
  dynamic_linker=no
16533
 
  ;;
16534
 
esac
16535
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16536
 
$as_echo "$dynamic_linker" >&6; }
16537
 
test "$dynamic_linker" = no && can_build_shared=no
16538
 
 
16539
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16540
 
  $as_echo_n "(cached) " >&6
16541
 
else
16542
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16543
 
fi
16544
 
 
16545
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16546
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16547
 
  $as_echo_n "(cached) " >&6
16548
 
else
16549
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16550
 
fi
16551
 
 
16552
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16553
 
 
16554
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16555
 
if test "$GCC" = yes; then
16556
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16557
 
fi
16558
 
 
16559
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16560
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16561
 
hardcode_action_F77=
16562
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16563
 
   test -n "$runpath_var_F77" || \
16564
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16565
 
 
16566
 
  # We can hardcode non-existant directories.
16567
 
  if test "$hardcode_direct_F77" != no &&
16568
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16569
 
     # have to relink, otherwise we might link with an installed library
16570
 
     # when we should be linking with a yet-to-be-installed one
16571
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16572
 
     test "$hardcode_minus_L_F77" != no; then
16573
 
    # Linking always hardcodes the temporary library directory.
16574
 
    hardcode_action_F77=relink
16575
 
  else
16576
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16577
 
    hardcode_action_F77=immediate
16578
 
  fi
16579
 
else
16580
 
  # We cannot hardcode anything, or else we can only hardcode existing
16581
 
  # directories.
16582
 
  hardcode_action_F77=unsupported
16583
 
fi
16584
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16585
 
$as_echo "$hardcode_action_F77" >&6; }
16586
 
 
16587
 
if test "$hardcode_action_F77" = relink; then
16588
 
  # Fast installation is not supported
16589
 
  enable_fast_install=no
16590
 
elif test "$shlibpath_overrides_runpath" = yes ||
16591
 
     test "$enable_shared" = no; then
16592
 
  # Fast installation is not necessary
16593
 
  enable_fast_install=needless
16594
 
fi
16595
 
 
16596
 
 
16597
 
# The else clause should only fire when bootstrapping the
16598
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16599
 
# with your package, and you will get complaints that there are
16600
 
# no rules to generate ltmain.sh.
16601
 
if test -f "$ltmain"; then
16602
 
  # See if we are running on zsh, and set the options which allow our commands through
16603
 
  # without removal of \ escapes.
16604
 
  if test -n "${ZSH_VERSION+set}" ; then
16605
 
    setopt NO_GLOB_SUBST
16606
 
  fi
16607
 
  # Now quote all the things that may contain metacharacters while being
16608
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16609
 
  # variables and quote the copies for generation of the libtool script.
16610
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16611
 
    SED SHELL STRIP \
16612
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16613
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16614
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16615
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16616
 
    lt_cv_sys_global_symbol_to_c_name_address \
16617
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16618
 
    old_postinstall_cmds old_postuninstall_cmds \
16619
 
    compiler_F77 \
16620
 
    CC_F77 \
16621
 
    LD_F77 \
16622
 
    lt_prog_compiler_wl_F77 \
16623
 
    lt_prog_compiler_pic_F77 \
16624
 
    lt_prog_compiler_static_F77 \
16625
 
    lt_prog_compiler_no_builtin_flag_F77 \
16626
 
    export_dynamic_flag_spec_F77 \
16627
 
    thread_safe_flag_spec_F77 \
16628
 
    whole_archive_flag_spec_F77 \
16629
 
    enable_shared_with_static_runtimes_F77 \
16630
 
    old_archive_cmds_F77 \
16631
 
    old_archive_from_new_cmds_F77 \
16632
 
    predep_objects_F77 \
16633
 
    postdep_objects_F77 \
16634
 
    predeps_F77 \
16635
 
    postdeps_F77 \
16636
 
    compiler_lib_search_path_F77 \
16637
 
    compiler_lib_search_dirs_F77 \
16638
 
    archive_cmds_F77 \
16639
 
    archive_expsym_cmds_F77 \
16640
 
    postinstall_cmds_F77 \
16641
 
    postuninstall_cmds_F77 \
16642
 
    old_archive_from_expsyms_cmds_F77 \
16643
 
    allow_undefined_flag_F77 \
16644
 
    no_undefined_flag_F77 \
16645
 
    export_symbols_cmds_F77 \
16646
 
    hardcode_libdir_flag_spec_F77 \
16647
 
    hardcode_libdir_flag_spec_ld_F77 \
16648
 
    hardcode_libdir_separator_F77 \
16649
 
    hardcode_automatic_F77 \
16650
 
    module_cmds_F77 \
16651
 
    module_expsym_cmds_F77 \
16652
 
    lt_cv_prog_compiler_c_o_F77 \
16653
 
    fix_srcfile_path_F77 \
16654
 
    exclude_expsyms_F77 \
16655
 
    include_expsyms_F77; do
16656
 
 
16657
 
    case $var in
16658
 
    old_archive_cmds_F77 | \
16659
 
    old_archive_from_new_cmds_F77 | \
16660
 
    archive_cmds_F77 | \
16661
 
    archive_expsym_cmds_F77 | \
16662
 
    module_cmds_F77 | \
16663
 
    module_expsym_cmds_F77 | \
16664
 
    old_archive_from_expsyms_cmds_F77 | \
16665
 
    export_symbols_cmds_F77 | \
16666
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16667
 
    postinstall_cmds | postuninstall_cmds | \
16668
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16669
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16670
 
      # Double-quote double-evaled strings.
16671
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16672
 
      ;;
16673
 
    *)
16674
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16675
 
      ;;
16676
 
    esac
16677
 
  done
16678
 
 
16679
 
  case $lt_echo in
16680
 
  *'\$0 --fallback-echo"')
16681
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16682
 
    ;;
16683
 
  esac
16684
 
 
16685
 
cfgfile="$ofile"
16686
 
 
16687
 
  cat <<__EOF__ >> "$cfgfile"
16688
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16689
 
 
16690
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16691
 
 
16692
 
# Shell to use when invoking shell scripts.
16693
 
SHELL=$lt_SHELL
16694
 
 
16695
 
# Whether or not to build shared libraries.
16696
 
build_libtool_libs=$enable_shared
16697
 
 
16698
 
# Whether or not to build static libraries.
16699
 
build_old_libs=$enable_static
16700
 
 
16701
 
# Whether or not to add -lc for building shared libraries.
16702
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16703
 
 
16704
 
# Whether or not to disallow shared libs when runtime libs are static
16705
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16706
 
 
16707
 
# Whether or not to optimize for fast installation.
16708
 
fast_install=$enable_fast_install
16709
 
 
16710
 
# The host system.
16711
 
host_alias=$host_alias
16712
 
host=$host
16713
 
host_os=$host_os
16714
 
 
16715
 
# The build system.
16716
 
build_alias=$build_alias
16717
 
build=$build
16718
 
build_os=$build_os
16719
 
 
16720
 
# An echo program that does not interpret backslashes.
16721
 
echo=$lt_echo
16722
 
 
16723
 
# The archiver.
16724
 
AR=$lt_AR
16725
 
AR_FLAGS=$lt_AR_FLAGS
16726
 
 
16727
 
# A C compiler.
16728
 
LTCC=$lt_LTCC
16729
 
 
16730
 
# LTCC compiler flags.
16731
 
LTCFLAGS=$lt_LTCFLAGS
16732
 
 
16733
 
# A language-specific compiler.
16734
 
CC=$lt_compiler_F77
16735
 
 
16736
 
# Is the compiler the GNU C compiler?
16737
 
with_gcc=$GCC_F77
16738
 
 
16739
 
# An ERE matcher.
16740
 
EGREP=$lt_EGREP
16741
 
 
16742
 
# The linker used to build libraries.
16743
 
LD=$lt_LD_F77
16744
 
 
16745
 
# Whether we need hard or soft links.
16746
 
LN_S=$lt_LN_S
16747
 
 
16748
 
# A BSD-compatible nm program.
16749
 
NM=$lt_NM
16750
 
 
16751
 
# A symbol stripping program
16752
 
STRIP=$lt_STRIP
16753
 
 
16754
 
# Used to examine libraries when file_magic_cmd begins "file"
16755
 
MAGIC_CMD=$MAGIC_CMD
16756
 
 
16757
 
# Used on cygwin: DLL creation program.
16758
 
DLLTOOL="$DLLTOOL"
16759
 
 
16760
 
# Used on cygwin: object dumper.
16761
 
OBJDUMP="$OBJDUMP"
16762
 
 
16763
 
# Used on cygwin: assembler.
16764
 
AS="$AS"
16765
 
 
16766
 
# The name of the directory that contains temporary libtool files.
16767
 
objdir=$objdir
16768
 
 
16769
 
# How to create reloadable object files.
16770
 
reload_flag=$lt_reload_flag
16771
 
reload_cmds=$lt_reload_cmds
16772
 
 
16773
 
# How to pass a linker flag through the compiler.
16774
 
wl=$lt_lt_prog_compiler_wl_F77
16775
 
 
16776
 
# Object file suffix (normally "o").
16777
 
objext="$ac_objext"
16778
 
 
16779
 
# Old archive suffix (normally "a").
16780
 
libext="$libext"
16781
 
 
16782
 
# Shared library suffix (normally ".so").
16783
 
shrext_cmds='$shrext_cmds'
16784
 
 
16785
 
# Executable file suffix (normally "").
16786
 
exeext="$exeext"
16787
 
 
16788
 
# Additional compiler flags for building library objects.
16789
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16790
 
pic_mode=$pic_mode
16791
 
 
16792
 
# What is the maximum length of a command?
16793
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16794
 
 
16795
 
# Does compiler simultaneously support -c and -o options?
16796
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16797
 
 
16798
 
# Must we lock files when doing compilation?
16799
 
need_locks=$lt_need_locks
16800
 
 
16801
 
# Do we need the lib prefix for modules?
16802
 
need_lib_prefix=$need_lib_prefix
16803
 
 
16804
 
# Do we need a version for libraries?
16805
 
need_version=$need_version
16806
 
 
16807
 
# Whether dlopen is supported.
16808
 
dlopen_support=$enable_dlopen
16809
 
 
16810
 
# Whether dlopen of programs is supported.
16811
 
dlopen_self=$enable_dlopen_self
16812
 
 
16813
 
# Whether dlopen of statically linked programs is supported.
16814
 
dlopen_self_static=$enable_dlopen_self_static
16815
 
 
16816
 
# Compiler flag to prevent dynamic linking.
16817
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16818
 
 
16819
 
# Compiler flag to turn off builtin functions.
16820
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16821
 
 
16822
 
# Compiler flag to allow reflexive dlopens.
16823
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16824
 
 
16825
 
# Compiler flag to generate shared objects directly from archives.
16826
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16827
 
 
16828
 
# Compiler flag to generate thread-safe objects.
16829
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16830
 
 
16831
 
# Library versioning type.
16832
 
version_type=$version_type
16833
 
 
16834
 
# Format of library name prefix.
16835
 
libname_spec=$lt_libname_spec
16836
 
 
16837
 
# List of archive names.  First name is the real one, the rest are links.
16838
 
# The last name is the one that the linker finds with -lNAME.
16839
 
library_names_spec=$lt_library_names_spec
16840
 
 
16841
 
# The coded name of the library, if different from the real name.
16842
 
soname_spec=$lt_soname_spec
16843
 
 
16844
 
# Commands used to build and install an old-style archive.
16845
 
RANLIB=$lt_RANLIB
16846
 
old_archive_cmds=$lt_old_archive_cmds_F77
16847
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16848
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16849
 
 
16850
 
# Create an old-style archive from a shared archive.
16851
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16852
 
 
16853
 
# Create a temporary old-style archive to link instead of a shared archive.
16854
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16855
 
 
16856
 
# Commands used to build and install a shared archive.
16857
 
archive_cmds=$lt_archive_cmds_F77
16858
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16859
 
postinstall_cmds=$lt_postinstall_cmds
16860
 
postuninstall_cmds=$lt_postuninstall_cmds
16861
 
 
16862
 
# Commands used to build a loadable module (assumed same as above if empty)
16863
 
module_cmds=$lt_module_cmds_F77
16864
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16865
 
 
16866
 
# Commands to strip libraries.
16867
 
old_striplib=$lt_old_striplib
16868
 
striplib=$lt_striplib
16869
 
 
16870
 
# Dependencies to place before the objects being linked to create a
16871
 
# shared library.
16872
 
predep_objects=$lt_predep_objects_F77
16873
 
 
16874
 
# Dependencies to place after the objects being linked to create a
16875
 
# shared library.
16876
 
postdep_objects=$lt_postdep_objects_F77
16877
 
 
16878
 
# Dependencies to place before the objects being linked to create a
16879
 
# shared library.
16880
 
predeps=$lt_predeps_F77
16881
 
 
16882
 
# Dependencies to place after the objects being linked to create a
16883
 
# shared library.
16884
 
postdeps=$lt_postdeps_F77
16885
 
 
16886
 
# The directories searched by this compiler when creating a shared
16887
 
# library
16888
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16889
 
 
16890
 
# The library search path used internally by the compiler when linking
16891
 
# a shared library.
16892
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16893
 
 
16894
 
# Method to check whether dependent libraries are shared objects.
16895
 
deplibs_check_method=$lt_deplibs_check_method
16896
 
 
16897
 
# Command to use when deplibs_check_method == file_magic.
16898
 
file_magic_cmd=$lt_file_magic_cmd
16899
 
 
16900
 
# Flag that allows shared libraries with undefined symbols to be built.
16901
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16902
 
 
16903
 
# Flag that forces no undefined symbols.
16904
 
no_undefined_flag=$lt_no_undefined_flag_F77
16905
 
 
16906
 
# Commands used to finish a libtool library installation in a directory.
16907
 
finish_cmds=$lt_finish_cmds
16908
 
 
16909
 
# Same as above, but a single script fragment to be evaled but not shown.
16910
 
finish_eval=$lt_finish_eval
16911
 
 
16912
 
# Take the output of nm and produce a listing of raw symbols and C names.
16913
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16914
 
 
16915
 
# Transform the output of nm in a proper C declaration
16916
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16917
 
 
16918
 
# Transform the output of nm in a C name address pair
16919
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16920
 
 
16921
 
# This is the shared library runtime path variable.
16922
 
runpath_var=$runpath_var
16923
 
 
16924
 
# This is the shared library path variable.
16925
 
shlibpath_var=$shlibpath_var
16926
 
 
16927
 
# Is shlibpath searched before the hard-coded library search path?
16928
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16929
 
 
16930
 
# How to hardcode a shared library path into an executable.
16931
 
hardcode_action=$hardcode_action_F77
16932
 
 
16933
 
# Whether we should hardcode library paths into libraries.
16934
 
hardcode_into_libs=$hardcode_into_libs
16935
 
 
16936
 
# Flag to hardcode \$libdir into a binary during linking.
16937
 
# This must work even if \$libdir does not exist.
16938
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16939
 
 
16940
 
# If ld is used when linking, flag to hardcode \$libdir into
16941
 
# a binary during linking. This must work even if \$libdir does
16942
 
# not exist.
16943
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16944
 
 
16945
 
# Whether we need a single -rpath flag with a separated argument.
16946
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16947
 
 
16948
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16949
 
# resulting binary.
16950
 
hardcode_direct=$hardcode_direct_F77
16951
 
 
16952
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16953
 
# resulting binary.
16954
 
hardcode_minus_L=$hardcode_minus_L_F77
16955
 
 
16956
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16957
 
# the resulting binary.
16958
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16959
 
 
16960
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16961
 
# and all subsequent libraries and executables linked against it.
16962
 
hardcode_automatic=$hardcode_automatic_F77
16963
 
 
16964
 
# Variables whose values should be saved in libtool wrapper scripts and
16965
 
# restored at relink time.
16966
 
variables_saved_for_relink="$variables_saved_for_relink"
16967
 
 
16968
 
# Whether libtool must link a program against all its dependency libraries.
16969
 
link_all_deplibs=$link_all_deplibs_F77
16970
 
 
16971
 
# Compile-time system search path for libraries
16972
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16973
 
 
16974
 
# Run-time system search path for libraries
16975
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16976
 
 
16977
 
# Fix the shell variable \$srcfile for the compiler.
16978
 
fix_srcfile_path=$lt_fix_srcfile_path
16979
 
 
16980
 
# Set to yes if exported symbols are required.
16981
 
always_export_symbols=$always_export_symbols_F77
16982
 
 
16983
 
# The commands to list exported symbols.
16984
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16985
 
 
16986
 
# The commands to extract the exported symbol list from a shared archive.
16987
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16988
 
 
16989
 
# Symbols that should not be listed in the preloaded symbols.
16990
 
exclude_expsyms=$lt_exclude_expsyms_F77
16991
 
 
16992
 
# Symbols that must always be exported.
16993
 
include_expsyms=$lt_include_expsyms_F77
16994
 
 
16995
 
# ### END LIBTOOL TAG CONFIG: $tagname
16996
 
 
16997
 
__EOF__
16998
 
 
16999
 
 
17000
 
else
17001
 
  # If there is no Makefile yet, we rely on a make rule to execute
17002
 
  # `config.status --recheck' to rerun these tests and create the
17003
 
  # libtool script then.
17004
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17005
 
  if test -f "$ltmain_in"; then
17006
 
    test -f Makefile && make "$ltmain"
17007
 
  fi
17008
 
fi
17009
 
 
17010
 
 
17011
 
ac_ext=c
17012
 
ac_cpp='$CPP $CPPFLAGS'
17013
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17016
 
 
17017
 
CC="$lt_save_CC"
17018
 
 
17019
 
        else
17020
 
          tagname=""
17021
 
        fi
17022
 
        ;;
17023
 
 
17024
 
      GCJ)
17025
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17026
 
 
17027
 
 
17028
 
# Source file extension for Java test sources.
17029
 
ac_ext=java
17030
 
 
17031
 
# Object file extension for compiled Java test sources.
17032
 
objext=o
17033
 
objext_GCJ=$objext
17034
 
 
17035
 
# Code to be used in simple compile tests
17036
 
lt_simple_compile_test_code="class foo {}"
17037
 
 
17038
 
# Code to be used in simple link tests
17039
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17040
 
 
17041
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17042
 
 
17043
 
# If no C compiler was specified, use CC.
17044
 
LTCC=${LTCC-"$CC"}
17045
 
 
17046
 
# If no C compiler flags were specified, use CFLAGS.
17047
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17048
 
 
17049
 
# Allow CC to be a program name with arguments.
17050
 
compiler=$CC
17051
 
 
17052
 
 
17053
 
# save warnings/boilerplate of simple test code
17054
 
ac_outfile=conftest.$ac_objext
17055
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17056
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17057
 
_lt_compiler_boilerplate=`cat conftest.err`
17058
 
$rm conftest*
17059
 
 
17060
 
ac_outfile=conftest.$ac_objext
17061
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17062
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17063
 
_lt_linker_boilerplate=`cat conftest.err`
17064
 
$rm -r conftest*
17065
 
 
17066
 
 
17067
 
# Allow CC to be a program name with arguments.
17068
 
lt_save_CC="$CC"
17069
 
CC=${GCJ-"gcj"}
17070
 
compiler=$CC
17071
 
compiler_GCJ=$CC
17072
 
for cc_temp in $compiler""; do
17073
 
  case $cc_temp in
17074
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17075
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17076
 
    \-*) ;;
17077
 
    *) break;;
17078
 
  esac
17079
 
done
17080
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17081
 
 
17082
 
 
17083
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17084
 
archive_cmds_need_lc_GCJ=no
17085
 
 
17086
 
old_archive_cmds_GCJ=$old_archive_cmds
17087
 
 
17088
 
 
17089
 
lt_prog_compiler_no_builtin_flag_GCJ=
17090
 
 
17091
 
if test "$GCC" = yes; then
17092
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17093
 
 
17094
 
 
17095
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17096
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17097
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17098
 
  $as_echo_n "(cached) " >&6
17099
 
else
17100
 
  lt_cv_prog_compiler_rtti_exceptions=no
17101
 
  ac_outfile=conftest.$ac_objext
17102
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17103
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17104
 
   # Insert the option either (1) after the last *FLAGS variable, or
17105
 
   # (2) before a word containing "conftest.", or (3) at the end.
17106
 
   # Note that $ac_compile itself does not contain backslashes and begins
17107
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17108
 
   # The option is referenced via a variable to avoid confusing sed.
17109
 
   lt_compile=`echo "$ac_compile" | $SED \
17110
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17111
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17112
 
   -e 's:$: $lt_compiler_flag:'`
17113
 
   (eval echo "\"\$as_me:17113: $lt_compile\"" >&5)
17114
 
   (eval "$lt_compile" 2>conftest.err)
17115
 
   ac_status=$?
17116
 
   cat conftest.err >&5
17117
 
   echo "$as_me:17117: \$? = $ac_status" >&5
17118
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17119
 
     # The compiler can only warn and ignore the option if not recognized
17120
 
     # So say no if there are warnings other than the usual output.
17121
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17122
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17123
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17124
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17125
 
     fi
17126
 
   fi
17127
 
   $rm conftest*
17128
 
 
17129
 
fi
17130
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17131
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17132
 
 
17133
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17134
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17135
 
else
17136
 
    :
17137
 
fi
17138
 
 
17139
 
fi
17140
 
 
17141
 
lt_prog_compiler_wl_GCJ=
17142
 
lt_prog_compiler_pic_GCJ=
17143
 
lt_prog_compiler_static_GCJ=
17144
 
 
17145
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17146
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17147
 
 
17148
 
  if test "$GCC" = yes; then
17149
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17150
 
    lt_prog_compiler_static_GCJ='-static'
17151
 
 
17152
 
    case $host_os in
17153
 
      aix*)
17154
 
      # All AIX code is PIC.
17155
 
      if test "$host_cpu" = ia64; then
17156
 
        # AIX 5 now supports IA64 processor
17157
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17158
 
      fi
17159
 
      ;;
17160
 
 
17161
 
    amigaos*)
17162
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17163
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17164
 
      # like `-m68040'.
17165
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17166
 
      ;;
17167
 
 
17168
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17169
 
      # PIC is the default for these OSes.
17170
 
      ;;
17171
 
 
17172
 
    mingw* | cygwin* | pw32* | os2*)
17173
 
      # This hack is so that the source file can tell whether it is being
17174
 
      # built for inclusion in a dll (and should export symbols for example).
17175
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17176
 
      # (--disable-auto-import) libraries
17177
 
 
17178
 
      ;;
17179
 
 
17180
 
    darwin* | rhapsody*)
17181
 
      # PIC is the default on this platform
17182
 
      # Common symbols not allowed in MH_DYLIB files
17183
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17184
 
      ;;
17185
 
 
17186
 
    interix[3-9]*)
17187
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17188
 
      # Instead, we relocate shared libraries at runtime.
17189
 
      ;;
17190
 
 
17191
 
    msdosdjgpp*)
17192
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17193
 
      # on systems that don't support them.
17194
 
      lt_prog_compiler_can_build_shared_GCJ=no
17195
 
      enable_shared=no
17196
 
      ;;
17197
 
 
17198
 
    sysv4*MP*)
17199
 
      if test -d /usr/nec; then
17200
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17201
 
      fi
17202
 
      ;;
17203
 
 
17204
 
    hpux*)
17205
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17206
 
      # not for PA HP-UX.
17207
 
      case $host_cpu in
17208
 
      hppa*64*|ia64*)
17209
 
        # +Z the default
17210
 
        ;;
17211
 
      *)
17212
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17213
 
        ;;
17214
 
      esac
17215
 
      ;;
17216
 
 
17217
 
    *)
17218
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17219
 
      ;;
17220
 
    esac
17221
 
  else
17222
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17223
 
    case $host_os in
17224
 
    aix*)
17225
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17226
 
      if test "$host_cpu" = ia64; then
17227
 
        # AIX 5 now supports IA64 processor
17228
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17229
 
      else
17230
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17231
 
      fi
17232
 
      ;;
17233
 
      darwin*)
17234
 
        # PIC is the default on this platform
17235
 
        # Common symbols not allowed in MH_DYLIB files
17236
 
       case $cc_basename in
17237
 
         xlc*)
17238
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17239
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17240
 
         ;;
17241
 
       esac
17242
 
       ;;
17243
 
 
17244
 
    mingw* | cygwin* | pw32* | os2*)
17245
 
      # This hack is so that the source file can tell whether it is being
17246
 
      # built for inclusion in a dll (and should export symbols for example).
17247
 
 
17248
 
      ;;
17249
 
 
17250
 
    hpux9* | hpux10* | hpux11*)
17251
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17252
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17253
 
      # not for PA HP-UX.
17254
 
      case $host_cpu in
17255
 
      hppa*64*|ia64*)
17256
 
        # +Z the default
17257
 
        ;;
17258
 
      *)
17259
 
        lt_prog_compiler_pic_GCJ='+Z'
17260
 
        ;;
17261
 
      esac
17262
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17263
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17264
 
      ;;
17265
 
 
17266
 
    irix5* | irix6* | nonstopux*)
17267
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17268
 
      # PIC (with -KPIC) is the default.
17269
 
      lt_prog_compiler_static_GCJ='-non_shared'
17270
 
      ;;
17271
 
 
17272
 
    newsos6)
17273
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17274
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17275
 
      ;;
17276
 
 
17277
 
    linux* | k*bsd*-gnu)
17278
 
      case $cc_basename in
17279
 
      icc* | ecc*)
17280
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17281
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17282
 
        lt_prog_compiler_static_GCJ='-static'
17283
 
        ;;
17284
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17285
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17286
 
        # which looks to be a dead project)
17287
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17288
 
        lt_prog_compiler_pic_GCJ='-fpic'
17289
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17290
 
        ;;
17291
 
      ccc*)
17292
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17293
 
        # All Alpha code is PIC.
17294
 
        lt_prog_compiler_static_GCJ='-non_shared'
17295
 
        ;;
17296
 
      *)
17297
 
        case `$CC -V 2>&1 | sed 5q` in
17298
 
        *Sun\ C*)
17299
 
          # Sun C 5.9
17300
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17301
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17302
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17303
 
          ;;
17304
 
        *Sun\ F*)
17305
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17306
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17307
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17308
 
          lt_prog_compiler_wl_GCJ=''
17309
 
          ;;
17310
 
        esac
17311
 
        ;;
17312
 
      esac
17313
 
      ;;
17314
 
 
17315
 
    osf3* | osf4* | osf5*)
17316
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17317
 
      # All OSF/1 code is PIC.
17318
 
      lt_prog_compiler_static_GCJ='-non_shared'
17319
 
      ;;
17320
 
 
17321
 
    rdos*)
17322
 
      lt_prog_compiler_static_GCJ='-non_shared'
17323
 
      ;;
17324
 
 
17325
 
    solaris*)
17326
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17327
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17328
 
      case $cc_basename in
17329
 
      f77* | f90* | f95*)
17330
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17331
 
      *)
17332
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17333
 
      esac
17334
 
      ;;
17335
 
 
17336
 
    sunos4*)
17337
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17338
 
      lt_prog_compiler_pic_GCJ='-PIC'
17339
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17340
 
      ;;
17341
 
 
17342
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17343
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17344
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17345
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17346
 
      ;;
17347
 
 
17348
 
    sysv4*MP*)
17349
 
      if test -d /usr/nec ;then
17350
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17351
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17352
 
      fi
17353
 
      ;;
17354
 
 
17355
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17356
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17357
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17358
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17359
 
      ;;
17360
 
 
17361
 
    unicos*)
17362
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17363
 
      lt_prog_compiler_can_build_shared_GCJ=no
17364
 
      ;;
17365
 
 
17366
 
    uts4*)
17367
 
      lt_prog_compiler_pic_GCJ='-pic'
17368
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17369
 
      ;;
17370
 
 
17371
 
    *)
17372
 
      lt_prog_compiler_can_build_shared_GCJ=no
17373
 
      ;;
17374
 
    esac
17375
 
  fi
17376
 
 
17377
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17378
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17379
 
 
17380
 
#
17381
 
# Check to make sure the PIC flag actually works.
17382
 
#
17383
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17384
 
 
17385
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17386
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17387
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17388
 
  $as_echo_n "(cached) " >&6
17389
 
else
17390
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17391
 
  ac_outfile=conftest.$ac_objext
17392
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17393
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17394
 
   # Insert the option either (1) after the last *FLAGS variable, or
17395
 
   # (2) before a word containing "conftest.", or (3) at the end.
17396
 
   # Note that $ac_compile itself does not contain backslashes and begins
17397
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17398
 
   # The option is referenced via a variable to avoid confusing sed.
17399
 
   lt_compile=`echo "$ac_compile" | $SED \
17400
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17401
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17402
 
   -e 's:$: $lt_compiler_flag:'`
17403
 
   (eval echo "\"\$as_me:17403: $lt_compile\"" >&5)
17404
 
   (eval "$lt_compile" 2>conftest.err)
17405
 
   ac_status=$?
17406
 
   cat conftest.err >&5
17407
 
   echo "$as_me:17407: \$? = $ac_status" >&5
17408
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17409
 
     # The compiler can only warn and ignore the option if not recognized
17410
 
     # So say no if there are warnings other than the usual output.
17411
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17412
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17413
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17414
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17415
 
     fi
17416
 
   fi
17417
 
   $rm conftest*
17418
 
 
17419
 
fi
17420
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17421
 
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17422
 
 
17423
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17424
 
    case $lt_prog_compiler_pic_GCJ in
17425
 
     "" | " "*) ;;
17426
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17427
 
     esac
17428
 
else
17429
 
    lt_prog_compiler_pic_GCJ=
17430
 
     lt_prog_compiler_can_build_shared_GCJ=no
17431
 
fi
17432
 
 
17433
 
fi
17434
 
case $host_os in
17435
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17436
 
  *djgpp*)
17437
 
    lt_prog_compiler_pic_GCJ=
17438
 
    ;;
17439
 
  *)
17440
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17441
 
    ;;
17442
 
esac
17443
 
 
17444
 
#
17445
 
# Check to make sure the static flag actually works.
17446
 
#
17447
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17448
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17449
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17450
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17451
 
  $as_echo_n "(cached) " >&6
17452
 
else
17453
 
  lt_cv_prog_compiler_static_works_GCJ=no
17454
 
   save_LDFLAGS="$LDFLAGS"
17455
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17456
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17457
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17458
 
     # The linker can only warn and ignore the option if not recognized
17459
 
     # So say no if there are warnings
17460
 
     if test -s conftest.err; then
17461
 
       # Append any errors to the config.log.
17462
 
       cat conftest.err 1>&5
17463
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17464
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17465
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17466
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17467
 
       fi
17468
 
     else
17469
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17470
 
     fi
17471
 
   fi
17472
 
   $rm -r conftest*
17473
 
   LDFLAGS="$save_LDFLAGS"
17474
 
 
17475
 
fi
17476
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17477
 
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17478
 
 
17479
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17480
 
    :
17481
 
else
17482
 
    lt_prog_compiler_static_GCJ=
17483
 
fi
17484
 
 
17485
 
 
17486
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17487
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17488
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17489
 
  $as_echo_n "(cached) " >&6
17490
 
else
17491
 
  lt_cv_prog_compiler_c_o_GCJ=no
17492
 
   $rm -r conftest 2>/dev/null
17493
 
   mkdir conftest
17494
 
   cd conftest
17495
 
   mkdir out
17496
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17497
 
 
17498
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17499
 
   # Insert the option either (1) after the last *FLAGS variable, or
17500
 
   # (2) before a word containing "conftest.", or (3) at the end.
17501
 
   # Note that $ac_compile itself does not contain backslashes and begins
17502
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17503
 
   lt_compile=`echo "$ac_compile" | $SED \
17504
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17505
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17506
 
   -e 's:$: $lt_compiler_flag:'`
17507
 
   (eval echo "\"\$as_me:17507: $lt_compile\"" >&5)
17508
 
   (eval "$lt_compile" 2>out/conftest.err)
17509
 
   ac_status=$?
17510
 
   cat out/conftest.err >&5
17511
 
   echo "$as_me:17511: \$? = $ac_status" >&5
17512
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17513
 
   then
17514
 
     # The compiler can only warn and ignore the option if not recognized
17515
 
     # So say no if there are warnings
17516
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17517
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17518
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17519
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17520
 
     fi
17521
 
   fi
17522
 
   chmod u+w . 2>&5
17523
 
   $rm conftest*
17524
 
   # SGI C++ compiler will create directory out/ii_files/ for
17525
 
   # template instantiation
17526
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17527
 
   $rm out/* && rmdir out
17528
 
   cd ..
17529
 
   rmdir conftest
17530
 
   $rm conftest*
17531
 
 
17532
 
fi
17533
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17534
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17535
 
 
17536
 
 
17537
 
hard_links="nottested"
17538
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17539
 
  # do not overwrite the value of need_locks provided by the user
17540
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17541
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
17542
 
  hard_links=yes
17543
 
  $rm conftest*
17544
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17545
 
  touch conftest.a
17546
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17547
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17548
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17549
 
$as_echo "$hard_links" >&6; }
17550
 
  if test "$hard_links" = no; then
17551
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17552
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17553
 
    need_locks=warn
17554
 
  fi
17555
 
else
17556
 
  need_locks=no
17557
 
fi
17558
 
 
17559
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17560
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17561
 
 
17562
 
  runpath_var=
17563
 
  allow_undefined_flag_GCJ=
17564
 
  enable_shared_with_static_runtimes_GCJ=no
17565
 
  archive_cmds_GCJ=
17566
 
  archive_expsym_cmds_GCJ=
17567
 
  old_archive_From_new_cmds_GCJ=
17568
 
  old_archive_from_expsyms_cmds_GCJ=
17569
 
  export_dynamic_flag_spec_GCJ=
17570
 
  whole_archive_flag_spec_GCJ=
17571
 
  thread_safe_flag_spec_GCJ=
17572
 
  hardcode_libdir_flag_spec_GCJ=
17573
 
  hardcode_libdir_flag_spec_ld_GCJ=
17574
 
  hardcode_libdir_separator_GCJ=
17575
 
  hardcode_direct_GCJ=no
17576
 
  hardcode_minus_L_GCJ=no
17577
 
  hardcode_shlibpath_var_GCJ=unsupported
17578
 
  link_all_deplibs_GCJ=unknown
17579
 
  hardcode_automatic_GCJ=no
17580
 
  module_cmds_GCJ=
17581
 
  module_expsym_cmds_GCJ=
17582
 
  always_export_symbols_GCJ=no
17583
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17584
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17585
 
  # included in the symbol list
17586
 
  include_expsyms_GCJ=
17587
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17588
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17589
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17590
 
  # as well as any symbol that contains `d'.
17591
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17592
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17593
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17594
 
  # the symbol is explicitly referenced.  Since portable code cannot
17595
 
  # rely on this symbol name, it's probably fine to never include it in
17596
 
  # preloaded symbol tables.
17597
 
  # Exclude shared library initialization/finalization symbols.
17598
 
  extract_expsyms_cmds=
17599
 
  # Just being paranoid about ensuring that cc_basename is set.
17600
 
  for cc_temp in $compiler""; do
17601
 
  case $cc_temp in
17602
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17603
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17604
 
    \-*) ;;
17605
 
    *) break;;
17606
 
  esac
17607
 
done
17608
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17609
 
 
17610
 
  case $host_os in
17611
 
  cygwin* | mingw* | pw32*)
17612
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17613
 
    # When not using gcc, we currently assume that we are using
17614
 
    # Microsoft Visual C++.
17615
 
    if test "$GCC" != yes; then
17616
 
      with_gnu_ld=no
17617
 
    fi
17618
 
    ;;
17619
 
  interix*)
17620
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17621
 
    with_gnu_ld=yes
17622
 
    ;;
17623
 
  openbsd*)
17624
 
    with_gnu_ld=no
17625
 
    ;;
17626
 
  esac
17627
 
 
17628
 
  ld_shlibs_GCJ=yes
17629
 
  if test "$with_gnu_ld" = yes; then
17630
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17631
 
    wlarc='${wl}'
17632
 
 
17633
 
    # Set some defaults for GNU ld with shared library support. These
17634
 
    # are reset later if shared libraries are not supported. Putting them
17635
 
    # here allows them to be overridden if necessary.
17636
 
    runpath_var=LD_RUN_PATH
17637
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17638
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17639
 
    # ancient GNU ld didn't support --whole-archive et. al.
17640
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17641
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17642
 
      else
17643
 
        whole_archive_flag_spec_GCJ=
17644
 
    fi
17645
 
    supports_anon_versioning=no
17646
 
    case `$LD -v 2>/dev/null` in
17647
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17648
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17649
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17650
 
      *\ 2.11.*) ;; # other 2.11 versions
17651
 
      *) supports_anon_versioning=yes ;;
17652
 
    esac
17653
 
 
17654
 
    # See if GNU ld supports shared libraries.
17655
 
    case $host_os in
17656
 
    aix[3-9]*)
17657
 
      # On AIX/PPC, the GNU linker is very broken
17658
 
      if test "$host_cpu" != ia64; then
17659
 
        ld_shlibs_GCJ=no
17660
 
        cat <<EOF 1>&2
17661
 
 
17662
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17663
 
*** to be unable to reliably create shared libraries on AIX.
17664
 
*** Therefore, libtool is disabling shared libraries support.  If you
17665
 
*** really care for shared libraries, you may want to modify your PATH
17666
 
*** so that a non-GNU linker is found, and then restart.
17667
 
 
17668
 
EOF
17669
 
      fi
17670
 
      ;;
17671
 
 
17672
 
    amigaos*)
17673
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17674
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17675
 
      hardcode_minus_L_GCJ=yes
17676
 
 
17677
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17678
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17679
 
      # to version 4, is to share data among multiple programs linked
17680
 
      # with the same dynamic library.  Since this doesn't match the
17681
 
      # behavior of shared libraries on other platforms, we can't use
17682
 
      # them.
17683
 
      ld_shlibs_GCJ=no
17684
 
      ;;
17685
 
 
17686
 
    beos*)
17687
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17688
 
        allow_undefined_flag_GCJ=unsupported
17689
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17690
 
        # support --undefined.  This deserves some investigation.  FIXME
17691
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17692
 
      else
17693
 
        ld_shlibs_GCJ=no
17694
 
      fi
17695
 
      ;;
17696
 
 
17697
 
    cygwin* | mingw* | pw32*)
17698
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17699
 
      # as there is no search path for DLLs.
17700
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17701
 
      allow_undefined_flag_GCJ=unsupported
17702
 
      always_export_symbols_GCJ=no
17703
 
      enable_shared_with_static_runtimes_GCJ=yes
17704
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17705
 
 
17706
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17707
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17708
 
        # If the export-symbols file already is a .def file (1st line
17709
 
        # is EXPORTS), use it as is; otherwise, prepend...
17710
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17711
 
          cp $export_symbols $output_objdir/$soname.def;
17712
 
        else
17713
 
          echo EXPORTS > $output_objdir/$soname.def;
17714
 
          cat $export_symbols >> $output_objdir/$soname.def;
17715
 
        fi~
17716
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17717
 
      else
17718
 
        ld_shlibs_GCJ=no
17719
 
      fi
17720
 
      ;;
17721
 
 
17722
 
    interix[3-9]*)
17723
 
      hardcode_direct_GCJ=no
17724
 
      hardcode_shlibpath_var_GCJ=no
17725
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17726
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17727
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17728
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17729
 
      # default) and relocated if they conflict, which is a slow very memory
17730
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17731
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17732
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17733
 
      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'
17734
 
      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'
17735
 
      ;;
17736
 
 
17737
 
    gnu* | linux* | k*bsd*-gnu)
17738
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17739
 
        tmp_addflag=
17740
 
        case $cc_basename,$host_cpu in
17741
 
        pgcc*)                          # Portland Group C compiler
17742
 
          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'
17743
 
          tmp_addflag=' $pic_flag'
17744
 
          ;;
17745
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17746
 
          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'
17747
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17748
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17749
 
          tmp_addflag=' -i_dynamic' ;;
17750
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17751
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17752
 
        ifc* | ifort*)                  # Intel Fortran compiler
17753
 
          tmp_addflag=' -nofor_main' ;;
17754
 
        esac
17755
 
        case `$CC -V 2>&1 | sed 5q` in
17756
 
        *Sun\ C*)                       # Sun C 5.9
17757
 
          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'
17758
 
          tmp_sharedflag='-G' ;;
17759
 
        *Sun\ F*)                       # Sun Fortran 8.3
17760
 
          tmp_sharedflag='-G' ;;
17761
 
        *)
17762
 
          tmp_sharedflag='-shared' ;;
17763
 
        esac
17764
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17765
 
 
17766
 
        if test $supports_anon_versioning = yes; then
17767
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17768
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17769
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17770
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17771
 
        fi
17772
 
      else
17773
 
        ld_shlibs_GCJ=no
17774
 
      fi
17775
 
      ;;
17776
 
 
17777
 
    netbsd*)
17778
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17779
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17780
 
        wlarc=
17781
 
      else
17782
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17783
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17784
 
      fi
17785
 
      ;;
17786
 
 
17787
 
    solaris*)
17788
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17789
 
        ld_shlibs_GCJ=no
17790
 
        cat <<EOF 1>&2
17791
 
 
17792
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17793
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17794
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17795
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17796
 
*** your PATH or compiler configuration so that the native linker is
17797
 
*** used, and then restart.
17798
 
 
17799
 
EOF
17800
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17801
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17802
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17803
 
      else
17804
 
        ld_shlibs_GCJ=no
17805
 
      fi
17806
 
      ;;
17807
 
 
17808
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17809
 
      case `$LD -v 2>&1` in
17810
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17811
 
        ld_shlibs_GCJ=no
17812
 
        cat <<_LT_EOF 1>&2
17813
 
 
17814
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17815
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17816
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17817
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17818
 
*** your PATH or compiler configuration so that the native linker is
17819
 
*** used, and then restart.
17820
 
 
17821
 
_LT_EOF
17822
 
        ;;
17823
 
        *)
17824
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17825
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17826
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17827
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17828
 
          else
17829
 
            ld_shlibs_GCJ=no
17830
 
          fi
17831
 
        ;;
17832
 
      esac
17833
 
      ;;
17834
 
 
17835
 
    sunos4*)
17836
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17837
 
      wlarc=
17838
 
      hardcode_direct_GCJ=yes
17839
 
      hardcode_shlibpath_var_GCJ=no
17840
 
      ;;
17841
 
 
17842
 
    *)
17843
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17844
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17845
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17846
 
      else
17847
 
        ld_shlibs_GCJ=no
17848
 
      fi
17849
 
      ;;
17850
 
    esac
17851
 
 
17852
 
    if test "$ld_shlibs_GCJ" = no; then
17853
 
      runpath_var=
17854
 
      hardcode_libdir_flag_spec_GCJ=
17855
 
      export_dynamic_flag_spec_GCJ=
17856
 
      whole_archive_flag_spec_GCJ=
17857
 
    fi
17858
 
  else
17859
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17860
 
    case $host_os in
17861
 
    aix3*)
17862
 
      allow_undefined_flag_GCJ=unsupported
17863
 
      always_export_symbols_GCJ=yes
17864
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17865
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17866
 
      # are no directories specified by -L.
17867
 
      hardcode_minus_L_GCJ=yes
17868
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17869
 
        # Neither direct hardcoding nor static linking is supported with a
17870
 
        # broken collect2.
17871
 
        hardcode_direct_GCJ=unsupported
17872
 
      fi
17873
 
      ;;
17874
 
 
17875
 
    aix[4-9]*)
17876
 
      if test "$host_cpu" = ia64; then
17877
 
        # On IA64, the linker does run time linking by default, so we don't
17878
 
        # have to do anything special.
17879
 
        aix_use_runtimelinking=no
17880
 
        exp_sym_flag='-Bexport'
17881
 
        no_entry_flag=""
17882
 
      else
17883
 
        # If we're using GNU nm, then we don't want the "-C" option.
17884
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17885
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17886
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17887
 
        else
17888
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17889
 
        fi
17890
 
        aix_use_runtimelinking=no
17891
 
 
17892
 
        # Test if we are trying to use run time linking or normal
17893
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17894
 
        # need to do runtime linking.
17895
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17896
 
          for ld_flag in $LDFLAGS; do
17897
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17898
 
            aix_use_runtimelinking=yes
17899
 
            break
17900
 
          fi
17901
 
          done
17902
 
          ;;
17903
 
        esac
17904
 
 
17905
 
        exp_sym_flag='-bexport'
17906
 
        no_entry_flag='-bnoentry'
17907
 
      fi
17908
 
 
17909
 
      # When large executables or shared objects are built, AIX ld can
17910
 
      # have problems creating the table of contents.  If linking a library
17911
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17912
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17913
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17914
 
 
17915
 
      archive_cmds_GCJ=''
17916
 
      hardcode_direct_GCJ=yes
17917
 
      hardcode_libdir_separator_GCJ=':'
17918
 
      link_all_deplibs_GCJ=yes
17919
 
 
17920
 
      if test "$GCC" = yes; then
17921
 
        case $host_os in aix4.[012]|aix4.[012].*)
17922
 
        # We only want to do this on AIX 4.2 and lower, the check
17923
 
        # below for broken collect2 doesn't work under 4.3+
17924
 
          collect2name=`${CC} -print-prog-name=collect2`
17925
 
          if test -f "$collect2name" && \
17926
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17927
 
          then
17928
 
          # We have reworked collect2
17929
 
          :
17930
 
          else
17931
 
          # We have old collect2
17932
 
          hardcode_direct_GCJ=unsupported
17933
 
          # It fails to find uninstalled libraries when the uninstalled
17934
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17935
 
          # to unsupported forces relinking
17936
 
          hardcode_minus_L_GCJ=yes
17937
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17938
 
          hardcode_libdir_separator_GCJ=
17939
 
          fi
17940
 
          ;;
17941
 
        esac
17942
 
        shared_flag='-shared'
17943
 
        if test "$aix_use_runtimelinking" = yes; then
17944
 
          shared_flag="$shared_flag "'${wl}-G'
17945
 
        fi
17946
 
      else
17947
 
        # not using gcc
17948
 
        if test "$host_cpu" = ia64; then
17949
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17950
 
        # chokes on -Wl,-G. The following line is correct:
17951
 
          shared_flag='-G'
17952
 
        else
17953
 
          if test "$aix_use_runtimelinking" = yes; then
17954
 
            shared_flag='${wl}-G'
17955
 
          else
17956
 
            shared_flag='${wl}-bM:SRE'
17957
 
          fi
17958
 
        fi
17959
 
      fi
17960
 
 
17961
 
      # It seems that -bexpall does not export symbols beginning with
17962
 
      # underscore (_), so it is better to generate a list of symbols to export.
17963
 
      always_export_symbols_GCJ=yes
17964
 
      if test "$aix_use_runtimelinking" = yes; then
17965
 
        # Warning - without using the other runtime loading flags (-brtl),
17966
 
        # -berok will link without error, but may produce a broken library.
17967
 
        allow_undefined_flag_GCJ='-berok'
17968
 
       # Determine the default libpath from the value encoded in an empty executable.
17969
 
       cat >conftest.$ac_ext <<_ACEOF
17970
 
/* confdefs.h.  */
17971
 
_ACEOF
17972
 
cat confdefs.h >>conftest.$ac_ext
17973
 
cat >>conftest.$ac_ext <<_ACEOF
17974
 
/* end confdefs.h.  */
17975
 
 
17976
 
int
17977
 
main ()
17978
 
{
17979
 
 
17980
 
  ;
17981
 
  return 0;
17982
 
}
17983
 
_ACEOF
17984
 
rm -f conftest.$ac_objext conftest$ac_exeext
17985
 
if { (ac_try="$ac_link"
17986
 
case "(($ac_try" in
17987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988
 
  *) ac_try_echo=$ac_try;;
17989
 
esac
17990
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17991
 
$as_echo "$ac_try_echo") >&5
17992
 
  (eval "$ac_link") 2>conftest.er1
17993
 
  ac_status=$?
17994
 
  grep -v '^ *+' conftest.er1 >conftest.err
17995
 
  rm -f conftest.er1
17996
 
  cat conftest.err >&5
17997
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998
 
  (exit $ac_status); } && {
17999
 
         test -z "$ac_c_werror_flag" ||
18000
 
         test ! -s conftest.err
18001
 
       } && test -s conftest$ac_exeext && {
18002
 
         test "$cross_compiling" = yes ||
18003
 
         $as_test_x conftest$ac_exeext
18004
 
       }; then
18005
 
 
18006
 
lt_aix_libpath_sed='
18007
 
    /Import File Strings/,/^$/ {
18008
 
        /^0/ {
18009
 
            s/^0  *\(.*\)$/\1/
18010
 
            p
18011
 
        }
18012
 
    }'
18013
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18014
 
# Check for a 64-bit object if we didn't find anything.
18015
 
if test -z "$aix_libpath"; then
18016
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18017
 
fi
18018
 
else
18019
 
  $as_echo "$as_me: failed program was:" >&5
18020
 
sed 's/^/| /' conftest.$ac_ext >&5
18021
 
 
18022
 
 
18023
 
fi
18024
 
 
18025
 
rm -rf conftest.dSYM
18026
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18027
 
      conftest$ac_exeext conftest.$ac_ext
18028
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18029
 
 
18030
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18031
 
        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"
18032
 
       else
18033
 
        if test "$host_cpu" = ia64; then
18034
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18035
 
          allow_undefined_flag_GCJ="-z nodefs"
18036
 
          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"
18037
 
        else
18038
 
         # Determine the default libpath from the value encoded in an empty executable.
18039
 
         cat >conftest.$ac_ext <<_ACEOF
18040
 
/* confdefs.h.  */
18041
 
_ACEOF
18042
 
cat confdefs.h >>conftest.$ac_ext
18043
 
cat >>conftest.$ac_ext <<_ACEOF
18044
 
/* end confdefs.h.  */
18045
 
 
18046
 
int
18047
 
main ()
18048
 
{
18049
 
 
18050
 
  ;
18051
 
  return 0;
18052
 
}
18053
 
_ACEOF
18054
 
rm -f conftest.$ac_objext conftest$ac_exeext
18055
 
if { (ac_try="$ac_link"
18056
 
case "(($ac_try" in
18057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058
 
  *) ac_try_echo=$ac_try;;
18059
 
esac
18060
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18061
 
$as_echo "$ac_try_echo") >&5
18062
 
  (eval "$ac_link") 2>conftest.er1
18063
 
  ac_status=$?
18064
 
  grep -v '^ *+' conftest.er1 >conftest.err
18065
 
  rm -f conftest.er1
18066
 
  cat conftest.err >&5
18067
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068
 
  (exit $ac_status); } && {
18069
 
         test -z "$ac_c_werror_flag" ||
18070
 
         test ! -s conftest.err
18071
 
       } && test -s conftest$ac_exeext && {
18072
 
         test "$cross_compiling" = yes ||
18073
 
         $as_test_x conftest$ac_exeext
18074
 
       }; then
18075
 
 
18076
 
lt_aix_libpath_sed='
18077
 
    /Import File Strings/,/^$/ {
18078
 
        /^0/ {
18079
 
            s/^0  *\(.*\)$/\1/
18080
 
            p
18081
 
        }
18082
 
    }'
18083
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18084
 
# Check for a 64-bit object if we didn't find anything.
18085
 
if test -z "$aix_libpath"; then
18086
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18087
 
fi
18088
 
else
18089
 
  $as_echo "$as_me: failed program was:" >&5
18090
 
sed 's/^/| /' conftest.$ac_ext >&5
18091
 
 
18092
 
 
18093
 
fi
18094
 
 
18095
 
rm -rf conftest.dSYM
18096
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18097
 
      conftest$ac_exeext conftest.$ac_ext
18098
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18099
 
 
18100
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18101
 
          # Warning - without using the other run time loading flags,
18102
 
          # -berok will link without error, but may produce a broken library.
18103
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18104
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18105
 
          # Exported symbols can be pulled into shared objects from archives
18106
 
          whole_archive_flag_spec_GCJ='$convenience'
18107
 
          archive_cmds_need_lc_GCJ=yes
18108
 
          # This is similar to how AIX traditionally builds its shared libraries.
18109
 
          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'
18110
 
        fi
18111
 
      fi
18112
 
      ;;
18113
 
 
18114
 
    amigaos*)
18115
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18116
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18117
 
      hardcode_minus_L_GCJ=yes
18118
 
      # see comment about different semantics on the GNU ld section
18119
 
      ld_shlibs_GCJ=no
18120
 
      ;;
18121
 
 
18122
 
    bsdi[45]*)
18123
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18124
 
      ;;
18125
 
 
18126
 
    cygwin* | mingw* | pw32*)
18127
 
      # When not using gcc, we currently assume that we are using
18128
 
      # Microsoft Visual C++.
18129
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18130
 
      # no search path for DLLs.
18131
 
      hardcode_libdir_flag_spec_GCJ=' '
18132
 
      allow_undefined_flag_GCJ=unsupported
18133
 
      # Tell ltmain to make .lib files, not .a files.
18134
 
      libext=lib
18135
 
      # Tell ltmain to make .dll files, not .so files.
18136
 
      shrext_cmds=".dll"
18137
 
      # FIXME: Setting linknames here is a bad hack.
18138
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18139
 
      # The linker will automatically build a .lib file if we build a DLL.
18140
 
      old_archive_From_new_cmds_GCJ='true'
18141
 
      # FIXME: Should let the user specify the lib program.
18142
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18143
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18144
 
      enable_shared_with_static_runtimes_GCJ=yes
18145
 
      ;;
18146
 
 
18147
 
    darwin* | rhapsody*)
18148
 
      case $host_os in
18149
 
        rhapsody* | darwin1.[012])
18150
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18151
 
         ;;
18152
 
       *) # Darwin 1.3 on
18153
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18154
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18155
 
         else
18156
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18157
 
             10.[012])
18158
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18159
 
               ;;
18160
 
             10.*)
18161
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18162
 
               ;;
18163
 
           esac
18164
 
         fi
18165
 
         ;;
18166
 
      esac
18167
 
      archive_cmds_need_lc_GCJ=no
18168
 
      hardcode_direct_GCJ=no
18169
 
      hardcode_automatic_GCJ=yes
18170
 
      hardcode_shlibpath_var_GCJ=unsupported
18171
 
      whole_archive_flag_spec_GCJ=''
18172
 
      link_all_deplibs_GCJ=yes
18173
 
    if test "$GCC" = yes ; then
18174
 
        output_verbose_link_cmd='echo'
18175
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18176
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18177
 
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18178
 
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18179
 
    else
18180
 
      case $cc_basename in
18181
 
        xlc*)
18182
 
         output_verbose_link_cmd='echo'
18183
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18184
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18185
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18186
 
         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}'
18187
 
          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}'
18188
 
          ;;
18189
 
       *)
18190
 
         ld_shlibs_GCJ=no
18191
 
          ;;
18192
 
      esac
18193
 
    fi
18194
 
      ;;
18195
 
 
18196
 
    dgux*)
18197
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18198
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18199
 
      hardcode_shlibpath_var_GCJ=no
18200
 
      ;;
18201
 
 
18202
 
    freebsd1*)
18203
 
      ld_shlibs_GCJ=no
18204
 
      ;;
18205
 
 
18206
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18207
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18208
 
    # does not break anything, and helps significantly (at the cost of a little
18209
 
    # extra space).
18210
 
    freebsd2.2*)
18211
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18212
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18213
 
      hardcode_direct_GCJ=yes
18214
 
      hardcode_shlibpath_var_GCJ=no
18215
 
      ;;
18216
 
 
18217
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18218
 
    freebsd2*)
18219
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18220
 
      hardcode_direct_GCJ=yes
18221
 
      hardcode_minus_L_GCJ=yes
18222
 
      hardcode_shlibpath_var_GCJ=no
18223
 
      ;;
18224
 
 
18225
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18226
 
    freebsd* | dragonfly*)
18227
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18228
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18229
 
      hardcode_direct_GCJ=yes
18230
 
      hardcode_shlibpath_var_GCJ=no
18231
 
      ;;
18232
 
 
18233
 
    hpux9*)
18234
 
      if test "$GCC" = yes; then
18235
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18236
 
      else
18237
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18238
 
      fi
18239
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18240
 
      hardcode_libdir_separator_GCJ=:
18241
 
      hardcode_direct_GCJ=yes
18242
 
 
18243
 
      # hardcode_minus_L: Not really in the search PATH,
18244
 
      # but as the default location of the library.
18245
 
      hardcode_minus_L_GCJ=yes
18246
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18247
 
      ;;
18248
 
 
18249
 
    hpux10*)
18250
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18251
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18252
 
      else
18253
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18254
 
      fi
18255
 
      if test "$with_gnu_ld" = no; then
18256
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18257
 
        hardcode_libdir_separator_GCJ=:
18258
 
 
18259
 
        hardcode_direct_GCJ=yes
18260
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18261
 
 
18262
 
        # hardcode_minus_L: Not really in the search PATH,
18263
 
        # but as the default location of the library.
18264
 
        hardcode_minus_L_GCJ=yes
18265
 
      fi
18266
 
      ;;
18267
 
 
18268
 
    hpux11*)
18269
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18270
 
        case $host_cpu in
18271
 
        hppa*64*)
18272
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18273
 
          ;;
18274
 
        ia64*)
18275
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18276
 
          ;;
18277
 
        *)
18278
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18279
 
          ;;
18280
 
        esac
18281
 
      else
18282
 
        case $host_cpu in
18283
 
        hppa*64*)
18284
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18285
 
          ;;
18286
 
        ia64*)
18287
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18288
 
          ;;
18289
 
        *)
18290
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18291
 
          ;;
18292
 
        esac
18293
 
      fi
18294
 
      if test "$with_gnu_ld" = no; then
18295
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18296
 
        hardcode_libdir_separator_GCJ=:
18297
 
 
18298
 
        case $host_cpu in
18299
 
        hppa*64*|ia64*)
18300
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18301
 
          hardcode_direct_GCJ=no
18302
 
          hardcode_shlibpath_var_GCJ=no
18303
 
          ;;
18304
 
        *)
18305
 
          hardcode_direct_GCJ=yes
18306
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18307
 
 
18308
 
          # hardcode_minus_L: Not really in the search PATH,
18309
 
          # but as the default location of the library.
18310
 
          hardcode_minus_L_GCJ=yes
18311
 
          ;;
18312
 
        esac
18313
 
      fi
18314
 
      ;;
18315
 
 
18316
 
    irix5* | irix6* | nonstopux*)
18317
 
      if test "$GCC" = yes; then
18318
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $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'
18319
 
      else
18320
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18321
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18322
 
      fi
18323
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18324
 
      hardcode_libdir_separator_GCJ=:
18325
 
      link_all_deplibs_GCJ=yes
18326
 
      ;;
18327
 
 
18328
 
    netbsd*)
18329
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18330
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18331
 
      else
18332
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18333
 
      fi
18334
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18335
 
      hardcode_direct_GCJ=yes
18336
 
      hardcode_shlibpath_var_GCJ=no
18337
 
      ;;
18338
 
 
18339
 
    newsos6)
18340
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18341
 
      hardcode_direct_GCJ=yes
18342
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18343
 
      hardcode_libdir_separator_GCJ=:
18344
 
      hardcode_shlibpath_var_GCJ=no
18345
 
      ;;
18346
 
 
18347
 
    openbsd*)
18348
 
      if test -f /usr/libexec/ld.so; then
18349
 
        hardcode_direct_GCJ=yes
18350
 
        hardcode_shlibpath_var_GCJ=no
18351
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18352
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18353
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18354
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18355
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18356
 
        else
18357
 
          case $host_os in
18358
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18359
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18360
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18361
 
             ;;
18362
 
           *)
18363
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18364
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18365
 
             ;;
18366
 
          esac
18367
 
        fi
18368
 
      else
18369
 
        ld_shlibs_GCJ=no
18370
 
      fi
18371
 
      ;;
18372
 
 
18373
 
    os2*)
18374
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18375
 
      hardcode_minus_L_GCJ=yes
18376
 
      allow_undefined_flag_GCJ=unsupported
18377
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18378
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18379
 
      ;;
18380
 
 
18381
 
    osf3*)
18382
 
      if test "$GCC" = yes; then
18383
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18384
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
18385
 
      else
18386
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18387
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18388
 
      fi
18389
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18390
 
      hardcode_libdir_separator_GCJ=:
18391
 
      ;;
18392
 
 
18393
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18394
 
      if test "$GCC" = yes; then
18395
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18396
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
18397
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18398
 
      else
18399
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18400
 
        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'
18401
 
        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~
18402
 
        $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'
18403
 
 
18404
 
        # Both c and cxx compiler support -rpath directly
18405
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18406
 
      fi
18407
 
      hardcode_libdir_separator_GCJ=:
18408
 
      ;;
18409
 
 
18410
 
    solaris*)
18411
 
      no_undefined_flag_GCJ=' -z text'
18412
 
      if test "$GCC" = yes; then
18413
 
        wlarc='${wl}'
18414
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18415
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18416
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18417
 
      else
18418
 
        wlarc=''
18419
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18420
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18421
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18422
 
      fi
18423
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18424
 
      hardcode_shlibpath_var_GCJ=no
18425
 
      case $host_os in
18426
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18427
 
      *)
18428
 
        # The compiler driver will combine and reorder linker options,
18429
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18430
 
        # but is careful enough not to reorder.
18431
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18432
 
        if test "$GCC" = yes; then
18433
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18434
 
        else
18435
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18436
 
        fi
18437
 
        ;;
18438
 
      esac
18439
 
      link_all_deplibs_GCJ=yes
18440
 
      ;;
18441
 
 
18442
 
    sunos4*)
18443
 
      if test "x$host_vendor" = xsequent; then
18444
 
        # Use $CC to link under sequent, because it throws in some extra .o
18445
 
        # files that make .init and .fini sections work.
18446
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18447
 
      else
18448
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18449
 
      fi
18450
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18451
 
      hardcode_direct_GCJ=yes
18452
 
      hardcode_minus_L_GCJ=yes
18453
 
      hardcode_shlibpath_var_GCJ=no
18454
 
      ;;
18455
 
 
18456
 
    sysv4)
18457
 
      case $host_vendor in
18458
 
        sni)
18459
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18460
 
          hardcode_direct_GCJ=yes # is this really true???
18461
 
        ;;
18462
 
        siemens)
18463
 
          ## LD is ld it makes a PLAMLIB
18464
 
          ## CC just makes a GrossModule.
18465
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18466
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18467
 
          hardcode_direct_GCJ=no
18468
 
        ;;
18469
 
        motorola)
18470
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18471
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18472
 
        ;;
18473
 
      esac
18474
 
      runpath_var='LD_RUN_PATH'
18475
 
      hardcode_shlibpath_var_GCJ=no
18476
 
      ;;
18477
 
 
18478
 
    sysv4.3*)
18479
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18480
 
      hardcode_shlibpath_var_GCJ=no
18481
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18482
 
      ;;
18483
 
 
18484
 
    sysv4*MP*)
18485
 
      if test -d /usr/nec; then
18486
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18487
 
        hardcode_shlibpath_var_GCJ=no
18488
 
        runpath_var=LD_RUN_PATH
18489
 
        hardcode_runpath_var=yes
18490
 
        ld_shlibs_GCJ=yes
18491
 
      fi
18492
 
      ;;
18493
 
 
18494
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18495
 
      no_undefined_flag_GCJ='${wl}-z,text'
18496
 
      archive_cmds_need_lc_GCJ=no
18497
 
      hardcode_shlibpath_var_GCJ=no
18498
 
      runpath_var='LD_RUN_PATH'
18499
 
 
18500
 
      if test "$GCC" = yes; then
18501
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18502
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18503
 
      else
18504
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18505
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18506
 
      fi
18507
 
      ;;
18508
 
 
18509
 
    sysv5* | sco3.2v5* | sco5v6*)
18510
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18511
 
      # link with -lc, and that would cause any symbols used from libc to
18512
 
      # always be unresolved, which means just about no library would
18513
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18514
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18515
 
      # as -z defs.
18516
 
      no_undefined_flag_GCJ='${wl}-z,text'
18517
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18518
 
      archive_cmds_need_lc_GCJ=no
18519
 
      hardcode_shlibpath_var_GCJ=no
18520
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18521
 
      hardcode_libdir_separator_GCJ=':'
18522
 
      link_all_deplibs_GCJ=yes
18523
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18524
 
      runpath_var='LD_RUN_PATH'
18525
 
 
18526
 
      if test "$GCC" = yes; then
18527
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18528
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18529
 
      else
18530
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18531
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18532
 
      fi
18533
 
      ;;
18534
 
 
18535
 
    uts4*)
18536
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18537
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18538
 
      hardcode_shlibpath_var_GCJ=no
18539
 
      ;;
18540
 
 
18541
 
    *)
18542
 
      ld_shlibs_GCJ=no
18543
 
      ;;
18544
 
    esac
18545
 
  fi
18546
 
 
18547
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18548
 
$as_echo "$ld_shlibs_GCJ" >&6; }
18549
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18550
 
 
18551
 
#
18552
 
# Do we need to explicitly link libc?
18553
 
#
18554
 
case "x$archive_cmds_need_lc_GCJ" in
18555
 
x|xyes)
18556
 
  # Assume -lc should be added
18557
 
  archive_cmds_need_lc_GCJ=yes
18558
 
 
18559
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18560
 
    case $archive_cmds_GCJ in
18561
 
    *'~'*)
18562
 
      # FIXME: we may have to deal with multi-command sequences.
18563
 
      ;;
18564
 
    '$CC '*)
18565
 
      # Test whether the compiler implicitly links with -lc since on some
18566
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18567
 
      # to ld, don't add -lc before -lgcc.
18568
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18569
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18570
 
      $rm conftest*
18571
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18572
 
 
18573
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18574
 
  (eval $ac_compile) 2>&5
18575
 
  ac_status=$?
18576
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577
 
  (exit $ac_status); } 2>conftest.err; then
18578
 
        soname=conftest
18579
 
        lib=conftest
18580
 
        libobjs=conftest.$ac_objext
18581
 
        deplibs=
18582
 
        wl=$lt_prog_compiler_wl_GCJ
18583
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18584
 
        compiler_flags=-v
18585
 
        linker_flags=-v
18586
 
        verstring=
18587
 
        output_objdir=.
18588
 
        libname=conftest
18589
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18590
 
        allow_undefined_flag_GCJ=
18591
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18592
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18593
 
  ac_status=$?
18594
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595
 
  (exit $ac_status); }
18596
 
        then
18597
 
          archive_cmds_need_lc_GCJ=no
18598
 
        else
18599
 
          archive_cmds_need_lc_GCJ=yes
18600
 
        fi
18601
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18602
 
      else
18603
 
        cat conftest.err 1>&5
18604
 
      fi
18605
 
      $rm conftest*
18606
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18607
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18608
 
      ;;
18609
 
    esac
18610
 
  fi
18611
 
  ;;
18612
 
esac
18613
 
 
18614
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18615
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
18616
 
library_names_spec=
18617
 
libname_spec='lib$name'
18618
 
soname_spec=
18619
 
shrext_cmds=".so"
18620
 
postinstall_cmds=
18621
 
postuninstall_cmds=
18622
 
finish_cmds=
18623
 
finish_eval=
18624
 
shlibpath_var=
18625
 
shlibpath_overrides_runpath=unknown
18626
 
version_type=none
18627
 
dynamic_linker="$host_os ld.so"
18628
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18629
 
 
18630
 
need_lib_prefix=unknown
18631
 
hardcode_into_libs=no
18632
 
 
18633
 
# when you set need_version to no, make sure it does not cause -set_version
18634
 
# flags to be left without arguments
18635
 
need_version=unknown
18636
 
 
18637
 
case $host_os in
18638
 
aix3*)
18639
 
  version_type=linux
18640
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18641
 
  shlibpath_var=LIBPATH
18642
 
 
18643
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18644
 
  soname_spec='${libname}${release}${shared_ext}$major'
18645
 
  ;;
18646
 
 
18647
 
aix[4-9]*)
18648
 
  version_type=linux
18649
 
  need_lib_prefix=no
18650
 
  need_version=no
18651
 
  hardcode_into_libs=yes
18652
 
  if test "$host_cpu" = ia64; then
18653
 
    # AIX 5 supports IA64
18654
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18655
 
    shlibpath_var=LD_LIBRARY_PATH
18656
 
  else
18657
 
    # With GCC up to 2.95.x, collect2 would create an import file
18658
 
    # for dependence libraries.  The import file would start with
18659
 
    # the line `#! .'.  This would cause the generated library to
18660
 
    # depend on `.', always an invalid library.  This was fixed in
18661
 
    # development snapshots of GCC prior to 3.0.
18662
 
    case $host_os in
18663
 
      aix4 | aix4.[01] | aix4.[01].*)
18664
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18665
 
           echo ' yes '
18666
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18667
 
        :
18668
 
      else
18669
 
        can_build_shared=no
18670
 
      fi
18671
 
      ;;
18672
 
    esac
18673
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18674
 
    # soname into executable. Probably we can add versioning support to
18675
 
    # collect2, so additional links can be useful in future.
18676
 
    if test "$aix_use_runtimelinking" = yes; then
18677
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18678
 
      # instead of lib<name>.a to let people know that these are not
18679
 
      # typical AIX shared libraries.
18680
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18681
 
    else
18682
 
      # We preserve .a as extension for shared libraries through AIX4.2
18683
 
      # and later when we are not doing run time linking.
18684
 
      library_names_spec='${libname}${release}.a $libname.a'
18685
 
      soname_spec='${libname}${release}${shared_ext}$major'
18686
 
    fi
18687
 
    shlibpath_var=LIBPATH
18688
 
  fi
18689
 
  ;;
18690
 
 
18691
 
amigaos*)
18692
 
  library_names_spec='$libname.ixlibrary $libname.a'
18693
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18694
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18695
 
  ;;
18696
 
 
18697
 
beos*)
18698
 
  library_names_spec='${libname}${shared_ext}'
18699
 
  dynamic_linker="$host_os ld.so"
18700
 
  shlibpath_var=LIBRARY_PATH
18701
 
  ;;
18702
 
 
18703
 
bsdi[45]*)
18704
 
  version_type=linux
18705
 
  need_version=no
18706
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18707
 
  soname_spec='${libname}${release}${shared_ext}$major'
18708
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18709
 
  shlibpath_var=LD_LIBRARY_PATH
18710
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18711
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18712
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18713
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18714
 
  # libtool to hard-code these into programs
18715
 
  ;;
18716
 
 
18717
 
cygwin* | mingw* | pw32*)
18718
 
  version_type=windows
18719
 
  shrext_cmds=".dll"
18720
 
  need_version=no
18721
 
  need_lib_prefix=no
18722
 
 
18723
 
  case $GCC,$host_os in
18724
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18725
 
    library_names_spec='$libname.dll.a'
18726
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18727
 
    postinstall_cmds='base_file=`basename \${file}`~
18728
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18729
 
      dldir=$destdir/`dirname \$dlpath`~
18730
 
      test -d \$dldir || mkdir -p \$dldir~
18731
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18732
 
      chmod a+x \$dldir/$dlname'
18733
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18734
 
      dlpath=$dir/\$dldll~
18735
 
       $rm \$dlpath'
18736
 
    shlibpath_overrides_runpath=yes
18737
 
 
18738
 
    case $host_os in
18739
 
    cygwin*)
18740
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18741
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18742
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18743
 
      ;;
18744
 
    mingw*)
18745
 
      # MinGW DLLs use traditional 'lib' prefix
18746
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18747
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18748
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18749
 
        # It is most probably a Windows format PATH printed by
18750
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18751
 
        # path with ; separators, and with drive letters. We can handle the
18752
 
        # drive letters (cygwin fileutils understands them), so leave them,
18753
 
        # especially as we might pass files found there to a mingw objdump,
18754
 
        # which wouldn't understand a cygwinified path. Ahh.
18755
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18756
 
      else
18757
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18758
 
      fi
18759
 
      ;;
18760
 
    pw32*)
18761
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18762
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18763
 
      ;;
18764
 
    esac
18765
 
    ;;
18766
 
 
18767
 
  *)
18768
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18769
 
    ;;
18770
 
  esac
18771
 
  dynamic_linker='Win32 ld.exe'
18772
 
  # FIXME: first we should search . and the directory the executable is in
18773
 
  shlibpath_var=PATH
18774
 
  ;;
18775
 
 
18776
 
darwin* | rhapsody*)
18777
 
  dynamic_linker="$host_os dyld"
18778
 
  version_type=darwin
18779
 
  need_lib_prefix=no
18780
 
  need_version=no
18781
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18782
 
  soname_spec='${libname}${release}${major}$shared_ext'
18783
 
  shlibpath_overrides_runpath=yes
18784
 
  shlibpath_var=DYLD_LIBRARY_PATH
18785
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18786
 
 
18787
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18788
 
  ;;
18789
 
 
18790
 
dgux*)
18791
 
  version_type=linux
18792
 
  need_lib_prefix=no
18793
 
  need_version=no
18794
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18795
 
  soname_spec='${libname}${release}${shared_ext}$major'
18796
 
  shlibpath_var=LD_LIBRARY_PATH
18797
 
  ;;
18798
 
 
18799
 
freebsd1*)
18800
 
  dynamic_linker=no
18801
 
  ;;
18802
 
 
18803
 
freebsd* | dragonfly*)
18804
 
  # DragonFly does not have aout.  When/if they implement a new
18805
 
  # versioning mechanism, adjust this.
18806
 
  if test -x /usr/bin/objformat; then
18807
 
    objformat=`/usr/bin/objformat`
18808
 
  else
18809
 
    case $host_os in
18810
 
    freebsd[123]*) objformat=aout ;;
18811
 
    *) objformat=elf ;;
18812
 
    esac
18813
 
  fi
18814
 
  version_type=freebsd-$objformat
18815
 
  case $version_type in
18816
 
    freebsd-elf*)
18817
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18818
 
      need_version=no
18819
 
      need_lib_prefix=no
18820
 
      ;;
18821
 
    freebsd-*)
18822
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18823
 
      need_version=yes
18824
 
      ;;
18825
 
  esac
18826
 
  shlibpath_var=LD_LIBRARY_PATH
18827
 
  case $host_os in
18828
 
  freebsd2*)
18829
 
    shlibpath_overrides_runpath=yes
18830
 
    ;;
18831
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18832
 
    shlibpath_overrides_runpath=yes
18833
 
    hardcode_into_libs=yes
18834
 
    ;;
18835
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18836
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18837
 
    shlibpath_overrides_runpath=no
18838
 
    hardcode_into_libs=yes
18839
 
    ;;
18840
 
  *) # from 4.6 on, and DragonFly
18841
 
    shlibpath_overrides_runpath=yes
18842
 
    hardcode_into_libs=yes
18843
 
    ;;
18844
 
  esac
18845
 
  ;;
18846
 
 
18847
 
gnu*)
18848
 
  version_type=linux
18849
 
  need_lib_prefix=no
18850
 
  need_version=no
18851
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18852
 
  soname_spec='${libname}${release}${shared_ext}$major'
18853
 
  shlibpath_var=LD_LIBRARY_PATH
18854
 
  hardcode_into_libs=yes
18855
 
  ;;
18856
 
 
18857
 
hpux9* | hpux10* | hpux11*)
18858
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18859
 
  # link against other versions.
18860
 
  version_type=sunos
18861
 
  need_lib_prefix=no
18862
 
  need_version=no
18863
 
  case $host_cpu in
18864
 
  ia64*)
18865
 
    shrext_cmds='.so'
18866
 
    hardcode_into_libs=yes
18867
 
    dynamic_linker="$host_os dld.so"
18868
 
    shlibpath_var=LD_LIBRARY_PATH
18869
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18870
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18871
 
    soname_spec='${libname}${release}${shared_ext}$major'
18872
 
    if test "X$HPUX_IA64_MODE" = X32; then
18873
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18874
 
    else
18875
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18876
 
    fi
18877
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18878
 
    ;;
18879
 
   hppa*64*)
18880
 
     shrext_cmds='.sl'
18881
 
     hardcode_into_libs=yes
18882
 
     dynamic_linker="$host_os dld.sl"
18883
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18884
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18885
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18886
 
     soname_spec='${libname}${release}${shared_ext}$major'
18887
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18888
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18889
 
     ;;
18890
 
   *)
18891
 
    shrext_cmds='.sl'
18892
 
    dynamic_linker="$host_os dld.sl"
18893
 
    shlibpath_var=SHLIB_PATH
18894
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18895
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18896
 
    soname_spec='${libname}${release}${shared_ext}$major'
18897
 
    ;;
18898
 
  esac
18899
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18900
 
  postinstall_cmds='chmod 555 $lib'
18901
 
  ;;
18902
 
 
18903
 
interix[3-9]*)
18904
 
  version_type=linux
18905
 
  need_lib_prefix=no
18906
 
  need_version=no
18907
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18908
 
  soname_spec='${libname}${release}${shared_ext}$major'
18909
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18910
 
  shlibpath_var=LD_LIBRARY_PATH
18911
 
  shlibpath_overrides_runpath=no
18912
 
  hardcode_into_libs=yes
18913
 
  ;;
18914
 
 
18915
 
irix5* | irix6* | nonstopux*)
18916
 
  case $host_os in
18917
 
    nonstopux*) version_type=nonstopux ;;
18918
 
    *)
18919
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18920
 
                version_type=linux
18921
 
        else
18922
 
                version_type=irix
18923
 
        fi ;;
18924
 
  esac
18925
 
  need_lib_prefix=no
18926
 
  need_version=no
18927
 
  soname_spec='${libname}${release}${shared_ext}$major'
18928
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18929
 
  case $host_os in
18930
 
  irix5* | nonstopux*)
18931
 
    libsuff= shlibsuff=
18932
 
    ;;
18933
 
  *)
18934
 
    case $LD in # libtool.m4 will add one of these switches to LD
18935
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18936
 
      libsuff= shlibsuff= libmagic=32-bit;;
18937
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18938
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18939
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18940
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18941
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18942
 
    esac
18943
 
    ;;
18944
 
  esac
18945
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18946
 
  shlibpath_overrides_runpath=no
18947
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18948
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18949
 
  hardcode_into_libs=yes
18950
 
  ;;
18951
 
 
18952
 
# No shared lib support for Linux oldld, aout, or coff.
18953
 
linux*oldld* | linux*aout* | linux*coff*)
18954
 
  dynamic_linker=no
18955
 
  ;;
18956
 
 
18957
 
# This must be Linux ELF.
18958
 
linux* | k*bsd*-gnu)
18959
 
  version_type=linux
18960
 
  need_lib_prefix=no
18961
 
  need_version=no
18962
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18963
 
  soname_spec='${libname}${release}${shared_ext}$major'
18964
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18965
 
  shlibpath_var=LD_LIBRARY_PATH
18966
 
  shlibpath_overrides_runpath=no
18967
 
  # This implies no fast_install, which is unacceptable.
18968
 
  # Some rework will be needed to allow for fast_install
18969
 
  # before this can be enabled.
18970
 
  hardcode_into_libs=yes
18971
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18972
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18973
 
 
18974
 
  # Append ld.so.conf contents to the search path
18975
 
  if test -f /etc/ld.so.conf; then
18976
 
    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' ' '`
18977
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18978
 
  fi
18979
 
 
18980
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18981
 
  # powerpc, because MkLinux only supported shared libraries with the
18982
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18983
 
  # most powerpc-linux boxes support dynamic linking these days and
18984
 
  # people can always --disable-shared, the test was removed, and we
18985
 
  # assume the GNU/Linux dynamic linker is in use.
18986
 
  dynamic_linker='GNU/Linux ld.so'
18987
 
  ;;
18988
 
 
18989
 
netbsd*)
18990
 
  version_type=sunos
18991
 
  need_lib_prefix=no
18992
 
  need_version=no
18993
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18994
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18995
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18996
 
    dynamic_linker='NetBSD (a.out) ld.so'
18997
 
  else
18998
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18999
 
    soname_spec='${libname}${release}${shared_ext}$major'
19000
 
    dynamic_linker='NetBSD ld.elf_so'
19001
 
  fi
19002
 
  shlibpath_var=LD_LIBRARY_PATH
19003
 
  shlibpath_overrides_runpath=yes
19004
 
  hardcode_into_libs=yes
19005
 
  ;;
19006
 
 
19007
 
newsos6)
19008
 
  version_type=linux
19009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19010
 
  shlibpath_var=LD_LIBRARY_PATH
19011
 
  shlibpath_overrides_runpath=yes
19012
 
  ;;
19013
 
 
19014
 
nto-qnx*)
19015
 
  version_type=linux
19016
 
  need_lib_prefix=no
19017
 
  need_version=no
19018
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19019
 
  soname_spec='${libname}${release}${shared_ext}$major'
19020
 
  shlibpath_var=LD_LIBRARY_PATH
19021
 
  shlibpath_overrides_runpath=yes
19022
 
  ;;
19023
 
 
19024
 
openbsd*)
19025
 
  version_type=sunos
19026
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19027
 
  need_lib_prefix=no
19028
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19029
 
  case $host_os in
19030
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19031
 
    *)                         need_version=no  ;;
19032
 
  esac
19033
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19034
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19035
 
  shlibpath_var=LD_LIBRARY_PATH
19036
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19037
 
    case $host_os in
19038
 
      openbsd2.[89] | openbsd2.[89].*)
19039
 
        shlibpath_overrides_runpath=no
19040
 
        ;;
19041
 
      *)
19042
 
        shlibpath_overrides_runpath=yes
19043
 
        ;;
19044
 
      esac
19045
 
  else
19046
 
    shlibpath_overrides_runpath=yes
19047
 
  fi
19048
 
  ;;
19049
 
 
19050
 
os2*)
19051
 
  libname_spec='$name'
19052
 
  shrext_cmds=".dll"
19053
 
  need_lib_prefix=no
19054
 
  library_names_spec='$libname${shared_ext} $libname.a'
19055
 
  dynamic_linker='OS/2 ld.exe'
19056
 
  shlibpath_var=LIBPATH
19057
 
  ;;
19058
 
 
19059
 
osf3* | osf4* | osf5*)
19060
 
  version_type=osf
19061
 
  need_lib_prefix=no
19062
 
  need_version=no
19063
 
  soname_spec='${libname}${release}${shared_ext}$major'
19064
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19065
 
  shlibpath_var=LD_LIBRARY_PATH
19066
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19067
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19068
 
  ;;
19069
 
 
19070
 
rdos*)
19071
 
  dynamic_linker=no
19072
 
  ;;
19073
 
 
19074
 
solaris*)
19075
 
  version_type=linux
19076
 
  need_lib_prefix=no
19077
 
  need_version=no
19078
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19079
 
  soname_spec='${libname}${release}${shared_ext}$major'
19080
 
  shlibpath_var=LD_LIBRARY_PATH
19081
 
  shlibpath_overrides_runpath=yes
19082
 
  hardcode_into_libs=yes
19083
 
  # ldd complains unless libraries are executable
19084
 
  postinstall_cmds='chmod +x $lib'
19085
 
  ;;
19086
 
 
19087
 
sunos4*)
19088
 
  version_type=sunos
19089
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19090
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19091
 
  shlibpath_var=LD_LIBRARY_PATH
19092
 
  shlibpath_overrides_runpath=yes
19093
 
  if test "$with_gnu_ld" = yes; then
19094
 
    need_lib_prefix=no
19095
 
  fi
19096
 
  need_version=yes
19097
 
  ;;
19098
 
 
19099
 
sysv4 | sysv4.3*)
19100
 
  version_type=linux
19101
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19102
 
  soname_spec='${libname}${release}${shared_ext}$major'
19103
 
  shlibpath_var=LD_LIBRARY_PATH
19104
 
  case $host_vendor in
19105
 
    sni)
19106
 
      shlibpath_overrides_runpath=no
19107
 
      need_lib_prefix=no
19108
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19109
 
      runpath_var=LD_RUN_PATH
19110
 
      ;;
19111
 
    siemens)
19112
 
      need_lib_prefix=no
19113
 
      ;;
19114
 
    motorola)
19115
 
      need_lib_prefix=no
19116
 
      need_version=no
19117
 
      shlibpath_overrides_runpath=no
19118
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19119
 
      ;;
19120
 
  esac
19121
 
  ;;
19122
 
 
19123
 
sysv4*MP*)
19124
 
  if test -d /usr/nec ;then
19125
 
    version_type=linux
19126
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19127
 
    soname_spec='$libname${shared_ext}.$major'
19128
 
    shlibpath_var=LD_LIBRARY_PATH
19129
 
  fi
19130
 
  ;;
19131
 
 
19132
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19133
 
  version_type=freebsd-elf
19134
 
  need_lib_prefix=no
19135
 
  need_version=no
19136
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19137
 
  soname_spec='${libname}${release}${shared_ext}$major'
19138
 
  shlibpath_var=LD_LIBRARY_PATH
19139
 
  hardcode_into_libs=yes
19140
 
  if test "$with_gnu_ld" = yes; then
19141
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19142
 
    shlibpath_overrides_runpath=no
19143
 
  else
19144
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19145
 
    shlibpath_overrides_runpath=yes
19146
 
    case $host_os in
19147
 
      sco3.2v5*)
19148
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19149
 
        ;;
19150
 
    esac
19151
 
  fi
19152
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19153
 
  ;;
19154
 
 
19155
 
uts4*)
19156
 
  version_type=linux
19157
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19158
 
  soname_spec='${libname}${release}${shared_ext}$major'
19159
 
  shlibpath_var=LD_LIBRARY_PATH
19160
 
  ;;
19161
 
 
19162
 
*)
19163
 
  dynamic_linker=no
19164
 
  ;;
19165
 
esac
19166
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19167
 
$as_echo "$dynamic_linker" >&6; }
19168
 
test "$dynamic_linker" = no && can_build_shared=no
19169
 
 
19170
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19171
 
  $as_echo_n "(cached) " >&6
19172
 
else
19173
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19174
 
fi
19175
 
 
19176
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19177
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19178
 
  $as_echo_n "(cached) " >&6
19179
 
else
19180
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19181
 
fi
19182
 
 
19183
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19184
 
 
19185
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19186
 
if test "$GCC" = yes; then
19187
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19188
 
fi
19189
 
 
19190
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19191
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19192
 
hardcode_action_GCJ=
19193
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19194
 
   test -n "$runpath_var_GCJ" || \
19195
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19196
 
 
19197
 
  # We can hardcode non-existant directories.
19198
 
  if test "$hardcode_direct_GCJ" != no &&
19199
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19200
 
     # have to relink, otherwise we might link with an installed library
19201
 
     # when we should be linking with a yet-to-be-installed one
19202
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19203
 
     test "$hardcode_minus_L_GCJ" != no; then
19204
 
    # Linking always hardcodes the temporary library directory.
19205
 
    hardcode_action_GCJ=relink
19206
 
  else
19207
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19208
 
    hardcode_action_GCJ=immediate
19209
 
  fi
19210
 
else
19211
 
  # We cannot hardcode anything, or else we can only hardcode existing
19212
 
  # directories.
19213
 
  hardcode_action_GCJ=unsupported
19214
 
fi
19215
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19216
 
$as_echo "$hardcode_action_GCJ" >&6; }
19217
 
 
19218
 
if test "$hardcode_action_GCJ" = relink; then
19219
 
  # Fast installation is not supported
19220
 
  enable_fast_install=no
19221
 
elif test "$shlibpath_overrides_runpath" = yes ||
19222
 
     test "$enable_shared" = no; then
19223
 
  # Fast installation is not necessary
19224
 
  enable_fast_install=needless
19225
 
fi
19226
 
 
19227
 
 
19228
 
# The else clause should only fire when bootstrapping the
19229
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19230
 
# with your package, and you will get complaints that there are
19231
 
# no rules to generate ltmain.sh.
19232
 
if test -f "$ltmain"; then
19233
 
  # See if we are running on zsh, and set the options which allow our commands through
19234
 
  # without removal of \ escapes.
19235
 
  if test -n "${ZSH_VERSION+set}" ; then
19236
 
    setopt NO_GLOB_SUBST
19237
 
  fi
19238
 
  # Now quote all the things that may contain metacharacters while being
19239
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19240
 
  # variables and quote the copies for generation of the libtool script.
19241
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19242
 
    SED SHELL STRIP \
19243
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19244
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19245
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19246
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19247
 
    lt_cv_sys_global_symbol_to_c_name_address \
19248
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19249
 
    old_postinstall_cmds old_postuninstall_cmds \
19250
 
    compiler_GCJ \
19251
 
    CC_GCJ \
19252
 
    LD_GCJ \
19253
 
    lt_prog_compiler_wl_GCJ \
19254
 
    lt_prog_compiler_pic_GCJ \
19255
 
    lt_prog_compiler_static_GCJ \
19256
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19257
 
    export_dynamic_flag_spec_GCJ \
19258
 
    thread_safe_flag_spec_GCJ \
19259
 
    whole_archive_flag_spec_GCJ \
19260
 
    enable_shared_with_static_runtimes_GCJ \
19261
 
    old_archive_cmds_GCJ \
19262
 
    old_archive_from_new_cmds_GCJ \
19263
 
    predep_objects_GCJ \
19264
 
    postdep_objects_GCJ \
19265
 
    predeps_GCJ \
19266
 
    postdeps_GCJ \
19267
 
    compiler_lib_search_path_GCJ \
19268
 
    compiler_lib_search_dirs_GCJ \
19269
 
    archive_cmds_GCJ \
19270
 
    archive_expsym_cmds_GCJ \
19271
 
    postinstall_cmds_GCJ \
19272
 
    postuninstall_cmds_GCJ \
19273
 
    old_archive_from_expsyms_cmds_GCJ \
19274
 
    allow_undefined_flag_GCJ \
19275
 
    no_undefined_flag_GCJ \
19276
 
    export_symbols_cmds_GCJ \
19277
 
    hardcode_libdir_flag_spec_GCJ \
19278
 
    hardcode_libdir_flag_spec_ld_GCJ \
19279
 
    hardcode_libdir_separator_GCJ \
19280
 
    hardcode_automatic_GCJ \
19281
 
    module_cmds_GCJ \
19282
 
    module_expsym_cmds_GCJ \
19283
 
    lt_cv_prog_compiler_c_o_GCJ \
19284
 
    fix_srcfile_path_GCJ \
19285
 
    exclude_expsyms_GCJ \
19286
 
    include_expsyms_GCJ; do
19287
 
 
19288
 
    case $var in
19289
 
    old_archive_cmds_GCJ | \
19290
 
    old_archive_from_new_cmds_GCJ | \
19291
 
    archive_cmds_GCJ | \
19292
 
    archive_expsym_cmds_GCJ | \
19293
 
    module_cmds_GCJ | \
19294
 
    module_expsym_cmds_GCJ | \
19295
 
    old_archive_from_expsyms_cmds_GCJ | \
19296
 
    export_symbols_cmds_GCJ | \
19297
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19298
 
    postinstall_cmds | postuninstall_cmds | \
19299
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19300
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19301
 
      # Double-quote double-evaled strings.
19302
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19303
 
      ;;
19304
 
    *)
19305
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19306
 
      ;;
19307
 
    esac
19308
 
  done
19309
 
 
19310
 
  case $lt_echo in
19311
 
  *'\$0 --fallback-echo"')
19312
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19313
 
    ;;
19314
 
  esac
19315
 
 
19316
 
cfgfile="$ofile"
19317
 
 
19318
 
  cat <<__EOF__ >> "$cfgfile"
19319
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19320
 
 
19321
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19322
 
 
19323
 
# Shell to use when invoking shell scripts.
19324
 
SHELL=$lt_SHELL
19325
 
 
19326
 
# Whether or not to build shared libraries.
19327
 
build_libtool_libs=$enable_shared
19328
 
 
19329
 
# Whether or not to build static libraries.
19330
 
build_old_libs=$enable_static
19331
 
 
19332
 
# Whether or not to add -lc for building shared libraries.
19333
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19334
 
 
19335
 
# Whether or not to disallow shared libs when runtime libs are static
19336
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19337
 
 
19338
 
# Whether or not to optimize for fast installation.
19339
 
fast_install=$enable_fast_install
19340
 
 
19341
 
# The host system.
19342
 
host_alias=$host_alias
19343
 
host=$host
19344
 
host_os=$host_os
19345
 
 
19346
 
# The build system.
19347
 
build_alias=$build_alias
19348
 
build=$build
19349
 
build_os=$build_os
19350
 
 
19351
 
# An echo program that does not interpret backslashes.
19352
 
echo=$lt_echo
19353
 
 
19354
 
# The archiver.
19355
 
AR=$lt_AR
19356
 
AR_FLAGS=$lt_AR_FLAGS
19357
 
 
19358
 
# A C compiler.
19359
 
LTCC=$lt_LTCC
19360
 
 
19361
 
# LTCC compiler flags.
19362
 
LTCFLAGS=$lt_LTCFLAGS
19363
 
 
19364
 
# A language-specific compiler.
19365
 
CC=$lt_compiler_GCJ
19366
 
 
19367
 
# Is the compiler the GNU C compiler?
19368
 
with_gcc=$GCC_GCJ
19369
 
 
19370
 
# An ERE matcher.
19371
 
EGREP=$lt_EGREP
19372
 
 
19373
 
# The linker used to build libraries.
19374
 
LD=$lt_LD_GCJ
19375
 
 
19376
 
# Whether we need hard or soft links.
19377
 
LN_S=$lt_LN_S
19378
 
 
19379
 
# A BSD-compatible nm program.
19380
 
NM=$lt_NM
19381
 
 
19382
 
# A symbol stripping program
19383
 
STRIP=$lt_STRIP
19384
 
 
19385
 
# Used to examine libraries when file_magic_cmd begins "file"
19386
 
MAGIC_CMD=$MAGIC_CMD
19387
 
 
19388
 
# Used on cygwin: DLL creation program.
19389
 
DLLTOOL="$DLLTOOL"
19390
 
 
19391
 
# Used on cygwin: object dumper.
19392
 
OBJDUMP="$OBJDUMP"
19393
 
 
19394
 
# Used on cygwin: assembler.
19395
 
AS="$AS"
19396
 
 
19397
 
# The name of the directory that contains temporary libtool files.
19398
 
objdir=$objdir
19399
 
 
19400
 
# How to create reloadable object files.
19401
 
reload_flag=$lt_reload_flag
19402
 
reload_cmds=$lt_reload_cmds
19403
 
 
19404
 
# How to pass a linker flag through the compiler.
19405
 
wl=$lt_lt_prog_compiler_wl_GCJ
19406
 
 
19407
 
# Object file suffix (normally "o").
19408
 
objext="$ac_objext"
19409
 
 
19410
 
# Old archive suffix (normally "a").
19411
 
libext="$libext"
19412
 
 
19413
 
# Shared library suffix (normally ".so").
19414
 
shrext_cmds='$shrext_cmds'
19415
 
 
19416
 
# Executable file suffix (normally "").
19417
 
exeext="$exeext"
19418
 
 
19419
 
# Additional compiler flags for building library objects.
19420
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19421
 
pic_mode=$pic_mode
19422
 
 
19423
 
# What is the maximum length of a command?
19424
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19425
 
 
19426
 
# Does compiler simultaneously support -c and -o options?
19427
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19428
 
 
19429
 
# Must we lock files when doing compilation?
19430
 
need_locks=$lt_need_locks
19431
 
 
19432
 
# Do we need the lib prefix for modules?
19433
 
need_lib_prefix=$need_lib_prefix
19434
 
 
19435
 
# Do we need a version for libraries?
19436
 
need_version=$need_version
19437
 
 
19438
 
# Whether dlopen is supported.
19439
 
dlopen_support=$enable_dlopen
19440
 
 
19441
 
# Whether dlopen of programs is supported.
19442
 
dlopen_self=$enable_dlopen_self
19443
 
 
19444
 
# Whether dlopen of statically linked programs is supported.
19445
 
dlopen_self_static=$enable_dlopen_self_static
19446
 
 
19447
 
# Compiler flag to prevent dynamic linking.
19448
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19449
 
 
19450
 
# Compiler flag to turn off builtin functions.
19451
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19452
 
 
19453
 
# Compiler flag to allow reflexive dlopens.
19454
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19455
 
 
19456
 
# Compiler flag to generate shared objects directly from archives.
19457
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19458
 
 
19459
 
# Compiler flag to generate thread-safe objects.
19460
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19461
 
 
19462
 
# Library versioning type.
19463
 
version_type=$version_type
19464
 
 
19465
 
# Format of library name prefix.
19466
 
libname_spec=$lt_libname_spec
19467
 
 
19468
 
# List of archive names.  First name is the real one, the rest are links.
19469
 
# The last name is the one that the linker finds with -lNAME.
19470
 
library_names_spec=$lt_library_names_spec
19471
 
 
19472
 
# The coded name of the library, if different from the real name.
19473
 
soname_spec=$lt_soname_spec
19474
 
 
19475
 
# Commands used to build and install an old-style archive.
19476
 
RANLIB=$lt_RANLIB
19477
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19478
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19479
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19480
 
 
19481
 
# Create an old-style archive from a shared archive.
19482
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19483
 
 
19484
 
# Create a temporary old-style archive to link instead of a shared archive.
19485
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19486
 
 
19487
 
# Commands used to build and install a shared archive.
19488
 
archive_cmds=$lt_archive_cmds_GCJ
19489
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19490
 
postinstall_cmds=$lt_postinstall_cmds
19491
 
postuninstall_cmds=$lt_postuninstall_cmds
19492
 
 
19493
 
# Commands used to build a loadable module (assumed same as above if empty)
19494
 
module_cmds=$lt_module_cmds_GCJ
19495
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19496
 
 
19497
 
# Commands to strip libraries.
19498
 
old_striplib=$lt_old_striplib
19499
 
striplib=$lt_striplib
19500
 
 
19501
 
# Dependencies to place before the objects being linked to create a
19502
 
# shared library.
19503
 
predep_objects=$lt_predep_objects_GCJ
19504
 
 
19505
 
# Dependencies to place after the objects being linked to create a
19506
 
# shared library.
19507
 
postdep_objects=$lt_postdep_objects_GCJ
19508
 
 
19509
 
# Dependencies to place before the objects being linked to create a
19510
 
# shared library.
19511
 
predeps=$lt_predeps_GCJ
19512
 
 
19513
 
# Dependencies to place after the objects being linked to create a
19514
 
# shared library.
19515
 
postdeps=$lt_postdeps_GCJ
19516
 
 
19517
 
# The directories searched by this compiler when creating a shared
19518
 
# library
19519
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19520
 
 
19521
 
# The library search path used internally by the compiler when linking
19522
 
# a shared library.
19523
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19524
 
 
19525
 
# Method to check whether dependent libraries are shared objects.
19526
 
deplibs_check_method=$lt_deplibs_check_method
19527
 
 
19528
 
# Command to use when deplibs_check_method == file_magic.
19529
 
file_magic_cmd=$lt_file_magic_cmd
19530
 
 
19531
 
# Flag that allows shared libraries with undefined symbols to be built.
19532
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19533
 
 
19534
 
# Flag that forces no undefined symbols.
19535
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19536
 
 
19537
 
# Commands used to finish a libtool library installation in a directory.
19538
 
finish_cmds=$lt_finish_cmds
19539
 
 
19540
 
# Same as above, but a single script fragment to be evaled but not shown.
19541
 
finish_eval=$lt_finish_eval
19542
 
 
19543
 
# Take the output of nm and produce a listing of raw symbols and C names.
19544
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19545
 
 
19546
 
# Transform the output of nm in a proper C declaration
19547
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19548
 
 
19549
 
# Transform the output of nm in a C name address pair
19550
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19551
 
 
19552
 
# This is the shared library runtime path variable.
19553
 
runpath_var=$runpath_var
19554
 
 
19555
 
# This is the shared library path variable.
19556
 
shlibpath_var=$shlibpath_var
19557
 
 
19558
 
# Is shlibpath searched before the hard-coded library search path?
19559
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19560
 
 
19561
 
# How to hardcode a shared library path into an executable.
19562
 
hardcode_action=$hardcode_action_GCJ
19563
 
 
19564
 
# Whether we should hardcode library paths into libraries.
19565
 
hardcode_into_libs=$hardcode_into_libs
19566
 
 
19567
 
# Flag to hardcode \$libdir into a binary during linking.
19568
 
# This must work even if \$libdir does not exist.
19569
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19570
 
 
19571
 
# If ld is used when linking, flag to hardcode \$libdir into
19572
 
# a binary during linking. This must work even if \$libdir does
19573
 
# not exist.
19574
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19575
 
 
19576
 
# Whether we need a single -rpath flag with a separated argument.
19577
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19578
 
 
19579
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19580
 
# resulting binary.
19581
 
hardcode_direct=$hardcode_direct_GCJ
19582
 
 
19583
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19584
 
# resulting binary.
19585
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19586
 
 
19587
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19588
 
# the resulting binary.
19589
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19590
 
 
19591
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19592
 
# and all subsequent libraries and executables linked against it.
19593
 
hardcode_automatic=$hardcode_automatic_GCJ
19594
 
 
19595
 
# Variables whose values should be saved in libtool wrapper scripts and
19596
 
# restored at relink time.
19597
 
variables_saved_for_relink="$variables_saved_for_relink"
19598
 
 
19599
 
# Whether libtool must link a program against all its dependency libraries.
19600
 
link_all_deplibs=$link_all_deplibs_GCJ
19601
 
 
19602
 
# Compile-time system search path for libraries
19603
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19604
 
 
19605
 
# Run-time system search path for libraries
19606
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19607
 
 
19608
 
# Fix the shell variable \$srcfile for the compiler.
19609
 
fix_srcfile_path=$lt_fix_srcfile_path
19610
 
 
19611
 
# Set to yes if exported symbols are required.
19612
 
always_export_symbols=$always_export_symbols_GCJ
19613
 
 
19614
 
# The commands to list exported symbols.
19615
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19616
 
 
19617
 
# The commands to extract the exported symbol list from a shared archive.
19618
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19619
 
 
19620
 
# Symbols that should not be listed in the preloaded symbols.
19621
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19622
 
 
19623
 
# Symbols that must always be exported.
19624
 
include_expsyms=$lt_include_expsyms_GCJ
19625
 
 
19626
 
# ### END LIBTOOL TAG CONFIG: $tagname
19627
 
 
19628
 
__EOF__
19629
 
 
19630
 
 
19631
 
else
19632
 
  # If there is no Makefile yet, we rely on a make rule to execute
19633
 
  # `config.status --recheck' to rerun these tests and create the
19634
 
  # libtool script then.
19635
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19636
 
  if test -f "$ltmain_in"; then
19637
 
    test -f Makefile && make "$ltmain"
19638
 
  fi
19639
 
fi
19640
 
 
19641
 
 
19642
 
ac_ext=c
19643
 
ac_cpp='$CPP $CPPFLAGS'
19644
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19645
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19646
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19647
 
 
19648
 
CC="$lt_save_CC"
19649
 
 
19650
 
        else
19651
 
          tagname=""
19652
 
        fi
19653
 
        ;;
19654
 
 
19655
 
      RC)
19656
 
 
19657
 
 
19658
 
# Source file extension for RC test sources.
19659
 
ac_ext=rc
19660
 
 
19661
 
# Object file extension for compiled RC test sources.
19662
 
objext=o
19663
 
objext_RC=$objext
19664
 
 
19665
 
# Code to be used in simple compile tests
19666
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19667
 
 
19668
 
# Code to be used in simple link tests
19669
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19670
 
 
19671
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19672
 
 
19673
 
# If no C compiler was specified, use CC.
19674
 
LTCC=${LTCC-"$CC"}
19675
 
 
19676
 
# If no C compiler flags were specified, use CFLAGS.
19677
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19678
 
 
19679
 
# Allow CC to be a program name with arguments.
19680
 
compiler=$CC
19681
 
 
19682
 
 
19683
 
# save warnings/boilerplate of simple test code
19684
 
ac_outfile=conftest.$ac_objext
19685
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19686
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19687
 
_lt_compiler_boilerplate=`cat conftest.err`
19688
 
$rm conftest*
19689
 
 
19690
 
ac_outfile=conftest.$ac_objext
19691
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19692
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19693
 
_lt_linker_boilerplate=`cat conftest.err`
19694
 
$rm -r conftest*
19695
 
 
19696
 
 
19697
 
# Allow CC to be a program name with arguments.
19698
 
lt_save_CC="$CC"
19699
 
CC=${RC-"windres"}
19700
 
compiler=$CC
19701
 
compiler_RC=$CC
19702
 
for cc_temp in $compiler""; do
19703
 
  case $cc_temp in
19704
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19705
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19706
 
    \-*) ;;
19707
 
    *) break;;
19708
 
  esac
19709
 
done
19710
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19711
 
 
19712
 
lt_cv_prog_compiler_c_o_RC=yes
19713
 
 
19714
 
# The else clause should only fire when bootstrapping the
19715
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19716
 
# with your package, and you will get complaints that there are
19717
 
# no rules to generate ltmain.sh.
19718
 
if test -f "$ltmain"; then
19719
 
  # See if we are running on zsh, and set the options which allow our commands through
19720
 
  # without removal of \ escapes.
19721
 
  if test -n "${ZSH_VERSION+set}" ; then
19722
 
    setopt NO_GLOB_SUBST
19723
 
  fi
19724
 
  # Now quote all the things that may contain metacharacters while being
19725
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19726
 
  # variables and quote the copies for generation of the libtool script.
19727
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19728
 
    SED SHELL STRIP \
19729
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19730
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19731
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19732
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19733
 
    lt_cv_sys_global_symbol_to_c_name_address \
19734
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19735
 
    old_postinstall_cmds old_postuninstall_cmds \
19736
 
    compiler_RC \
19737
 
    CC_RC \
19738
 
    LD_RC \
19739
 
    lt_prog_compiler_wl_RC \
19740
 
    lt_prog_compiler_pic_RC \
19741
 
    lt_prog_compiler_static_RC \
19742
 
    lt_prog_compiler_no_builtin_flag_RC \
19743
 
    export_dynamic_flag_spec_RC \
19744
 
    thread_safe_flag_spec_RC \
19745
 
    whole_archive_flag_spec_RC \
19746
 
    enable_shared_with_static_runtimes_RC \
19747
 
    old_archive_cmds_RC \
19748
 
    old_archive_from_new_cmds_RC \
19749
 
    predep_objects_RC \
19750
 
    postdep_objects_RC \
19751
 
    predeps_RC \
19752
 
    postdeps_RC \
19753
 
    compiler_lib_search_path_RC \
19754
 
    compiler_lib_search_dirs_RC \
19755
 
    archive_cmds_RC \
19756
 
    archive_expsym_cmds_RC \
19757
 
    postinstall_cmds_RC \
19758
 
    postuninstall_cmds_RC \
19759
 
    old_archive_from_expsyms_cmds_RC \
19760
 
    allow_undefined_flag_RC \
19761
 
    no_undefined_flag_RC \
19762
 
    export_symbols_cmds_RC \
19763
 
    hardcode_libdir_flag_spec_RC \
19764
 
    hardcode_libdir_flag_spec_ld_RC \
19765
 
    hardcode_libdir_separator_RC \
19766
 
    hardcode_automatic_RC \
19767
 
    module_cmds_RC \
19768
 
    module_expsym_cmds_RC \
19769
 
    lt_cv_prog_compiler_c_o_RC \
19770
 
    fix_srcfile_path_RC \
19771
 
    exclude_expsyms_RC \
19772
 
    include_expsyms_RC; do
19773
 
 
19774
 
    case $var in
19775
 
    old_archive_cmds_RC | \
19776
 
    old_archive_from_new_cmds_RC | \
19777
 
    archive_cmds_RC | \
19778
 
    archive_expsym_cmds_RC | \
19779
 
    module_cmds_RC | \
19780
 
    module_expsym_cmds_RC | \
19781
 
    old_archive_from_expsyms_cmds_RC | \
19782
 
    export_symbols_cmds_RC | \
19783
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19784
 
    postinstall_cmds | postuninstall_cmds | \
19785
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19786
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19787
 
      # Double-quote double-evaled strings.
19788
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19789
 
      ;;
19790
 
    *)
19791
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19792
 
      ;;
19793
 
    esac
19794
 
  done
19795
 
 
19796
 
  case $lt_echo in
19797
 
  *'\$0 --fallback-echo"')
19798
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19799
 
    ;;
19800
 
  esac
19801
 
 
19802
 
cfgfile="$ofile"
19803
 
 
19804
 
  cat <<__EOF__ >> "$cfgfile"
19805
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19806
 
 
19807
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19808
 
 
19809
 
# Shell to use when invoking shell scripts.
19810
 
SHELL=$lt_SHELL
19811
 
 
19812
 
# Whether or not to build shared libraries.
19813
 
build_libtool_libs=$enable_shared
19814
 
 
19815
 
# Whether or not to build static libraries.
19816
 
build_old_libs=$enable_static
19817
 
 
19818
 
# Whether or not to add -lc for building shared libraries.
19819
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19820
 
 
19821
 
# Whether or not to disallow shared libs when runtime libs are static
19822
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19823
 
 
19824
 
# Whether or not to optimize for fast installation.
19825
 
fast_install=$enable_fast_install
19826
 
 
19827
 
# The host system.
19828
 
host_alias=$host_alias
19829
 
host=$host
19830
 
host_os=$host_os
19831
 
 
19832
 
# The build system.
19833
 
build_alias=$build_alias
19834
 
build=$build
19835
 
build_os=$build_os
19836
 
 
19837
 
# An echo program that does not interpret backslashes.
19838
 
echo=$lt_echo
19839
 
 
19840
 
# The archiver.
19841
 
AR=$lt_AR
19842
 
AR_FLAGS=$lt_AR_FLAGS
19843
 
 
19844
 
# A C compiler.
19845
 
LTCC=$lt_LTCC
19846
 
 
19847
 
# LTCC compiler flags.
19848
 
LTCFLAGS=$lt_LTCFLAGS
19849
 
 
19850
 
# A language-specific compiler.
19851
 
CC=$lt_compiler_RC
19852
 
 
19853
 
# Is the compiler the GNU C compiler?
19854
 
with_gcc=$GCC_RC
19855
 
 
19856
 
# An ERE matcher.
19857
 
EGREP=$lt_EGREP
19858
 
 
19859
 
# The linker used to build libraries.
19860
 
LD=$lt_LD_RC
19861
 
 
19862
 
# Whether we need hard or soft links.
19863
 
LN_S=$lt_LN_S
19864
 
 
19865
 
# A BSD-compatible nm program.
19866
 
NM=$lt_NM
19867
 
 
19868
 
# A symbol stripping program
19869
 
STRIP=$lt_STRIP
19870
 
 
19871
 
# Used to examine libraries when file_magic_cmd begins "file"
19872
 
MAGIC_CMD=$MAGIC_CMD
19873
 
 
19874
 
# Used on cygwin: DLL creation program.
19875
 
DLLTOOL="$DLLTOOL"
19876
 
 
19877
 
# Used on cygwin: object dumper.
19878
 
OBJDUMP="$OBJDUMP"
19879
 
 
19880
 
# Used on cygwin: assembler.
19881
 
AS="$AS"
19882
 
 
19883
 
# The name of the directory that contains temporary libtool files.
19884
 
objdir=$objdir
19885
 
 
19886
 
# How to create reloadable object files.
19887
 
reload_flag=$lt_reload_flag
19888
 
reload_cmds=$lt_reload_cmds
19889
 
 
19890
 
# How to pass a linker flag through the compiler.
19891
 
wl=$lt_lt_prog_compiler_wl_RC
19892
 
 
19893
 
# Object file suffix (normally "o").
19894
 
objext="$ac_objext"
19895
 
 
19896
 
# Old archive suffix (normally "a").
19897
 
libext="$libext"
19898
 
 
19899
 
# Shared library suffix (normally ".so").
19900
 
shrext_cmds='$shrext_cmds'
19901
 
 
19902
 
# Executable file suffix (normally "").
19903
 
exeext="$exeext"
19904
 
 
19905
 
# Additional compiler flags for building library objects.
19906
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19907
 
pic_mode=$pic_mode
19908
 
 
19909
 
# What is the maximum length of a command?
19910
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19911
 
 
19912
 
# Does compiler simultaneously support -c and -o options?
19913
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19914
 
 
19915
 
# Must we lock files when doing compilation?
19916
 
need_locks=$lt_need_locks
19917
 
 
19918
 
# Do we need the lib prefix for modules?
19919
 
need_lib_prefix=$need_lib_prefix
19920
 
 
19921
 
# Do we need a version for libraries?
19922
 
need_version=$need_version
19923
 
 
19924
 
# Whether dlopen is supported.
19925
 
dlopen_support=$enable_dlopen
19926
 
 
19927
 
# Whether dlopen of programs is supported.
19928
 
dlopen_self=$enable_dlopen_self
19929
 
 
19930
 
# Whether dlopen of statically linked programs is supported.
19931
 
dlopen_self_static=$enable_dlopen_self_static
19932
 
 
19933
 
# Compiler flag to prevent dynamic linking.
19934
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19935
 
 
19936
 
# Compiler flag to turn off builtin functions.
19937
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19938
 
 
19939
 
# Compiler flag to allow reflexive dlopens.
19940
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19941
 
 
19942
 
# Compiler flag to generate shared objects directly from archives.
19943
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19944
 
 
19945
 
# Compiler flag to generate thread-safe objects.
19946
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19947
 
 
19948
 
# Library versioning type.
19949
 
version_type=$version_type
19950
 
 
19951
 
# Format of library name prefix.
19952
 
libname_spec=$lt_libname_spec
19953
 
 
19954
 
# List of archive names.  First name is the real one, the rest are links.
19955
 
# The last name is the one that the linker finds with -lNAME.
19956
 
library_names_spec=$lt_library_names_spec
19957
 
 
19958
 
# The coded name of the library, if different from the real name.
19959
 
soname_spec=$lt_soname_spec
19960
 
 
19961
 
# Commands used to build and install an old-style archive.
19962
 
RANLIB=$lt_RANLIB
19963
 
old_archive_cmds=$lt_old_archive_cmds_RC
19964
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19965
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19966
 
 
19967
 
# Create an old-style archive from a shared archive.
19968
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19969
 
 
19970
 
# Create a temporary old-style archive to link instead of a shared archive.
19971
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19972
 
 
19973
 
# Commands used to build and install a shared archive.
19974
 
archive_cmds=$lt_archive_cmds_RC
19975
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19976
 
postinstall_cmds=$lt_postinstall_cmds
19977
 
postuninstall_cmds=$lt_postuninstall_cmds
19978
 
 
19979
 
# Commands used to build a loadable module (assumed same as above if empty)
19980
 
module_cmds=$lt_module_cmds_RC
19981
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19982
 
 
19983
 
# Commands to strip libraries.
19984
 
old_striplib=$lt_old_striplib
19985
 
striplib=$lt_striplib
19986
 
 
19987
 
# Dependencies to place before the objects being linked to create a
19988
 
# shared library.
19989
 
predep_objects=$lt_predep_objects_RC
19990
 
 
19991
 
# Dependencies to place after the objects being linked to create a
19992
 
# shared library.
19993
 
postdep_objects=$lt_postdep_objects_RC
19994
 
 
19995
 
# Dependencies to place before the objects being linked to create a
19996
 
# shared library.
19997
 
predeps=$lt_predeps_RC
19998
 
 
19999
 
# Dependencies to place after the objects being linked to create a
20000
 
# shared library.
20001
 
postdeps=$lt_postdeps_RC
20002
 
 
20003
 
# The directories searched by this compiler when creating a shared
20004
 
# library
20005
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20006
 
 
20007
 
# The library search path used internally by the compiler when linking
20008
 
# a shared library.
20009
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20010
 
 
20011
 
# Method to check whether dependent libraries are shared objects.
20012
 
deplibs_check_method=$lt_deplibs_check_method
20013
 
 
20014
 
# Command to use when deplibs_check_method == file_magic.
20015
 
file_magic_cmd=$lt_file_magic_cmd
20016
 
 
20017
 
# Flag that allows shared libraries with undefined symbols to be built.
20018
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20019
 
 
20020
 
# Flag that forces no undefined symbols.
20021
 
no_undefined_flag=$lt_no_undefined_flag_RC
20022
 
 
20023
 
# Commands used to finish a libtool library installation in a directory.
20024
 
finish_cmds=$lt_finish_cmds
20025
 
 
20026
 
# Same as above, but a single script fragment to be evaled but not shown.
20027
 
finish_eval=$lt_finish_eval
20028
 
 
20029
 
# Take the output of nm and produce a listing of raw symbols and C names.
20030
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20031
 
 
20032
 
# Transform the output of nm in a proper C declaration
20033
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20034
 
 
20035
 
# Transform the output of nm in a C name address pair
20036
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20037
 
 
20038
 
# This is the shared library runtime path variable.
20039
 
runpath_var=$runpath_var
20040
 
 
20041
 
# This is the shared library path variable.
20042
 
shlibpath_var=$shlibpath_var
20043
 
 
20044
 
# Is shlibpath searched before the hard-coded library search path?
20045
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20046
 
 
20047
 
# How to hardcode a shared library path into an executable.
20048
 
hardcode_action=$hardcode_action_RC
20049
 
 
20050
 
# Whether we should hardcode library paths into libraries.
20051
 
hardcode_into_libs=$hardcode_into_libs
20052
 
 
20053
 
# Flag to hardcode \$libdir into a binary during linking.
20054
 
# This must work even if \$libdir does not exist.
20055
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20056
 
 
20057
 
# If ld is used when linking, flag to hardcode \$libdir into
20058
 
# a binary during linking. This must work even if \$libdir does
20059
 
# not exist.
20060
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20061
 
 
20062
 
# Whether we need a single -rpath flag with a separated argument.
20063
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20064
 
 
20065
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20066
 
# resulting binary.
20067
 
hardcode_direct=$hardcode_direct_RC
20068
 
 
20069
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20070
 
# resulting binary.
20071
 
hardcode_minus_L=$hardcode_minus_L_RC
20072
 
 
20073
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20074
 
# the resulting binary.
20075
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20076
 
 
20077
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20078
 
# and all subsequent libraries and executables linked against it.
20079
 
hardcode_automatic=$hardcode_automatic_RC
20080
 
 
20081
 
# Variables whose values should be saved in libtool wrapper scripts and
20082
 
# restored at relink time.
20083
 
variables_saved_for_relink="$variables_saved_for_relink"
20084
 
 
20085
 
# Whether libtool must link a program against all its dependency libraries.
20086
 
link_all_deplibs=$link_all_deplibs_RC
20087
 
 
20088
 
# Compile-time system search path for libraries
20089
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20090
 
 
20091
 
# Run-time system search path for libraries
20092
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20093
 
 
20094
 
# Fix the shell variable \$srcfile for the compiler.
20095
 
fix_srcfile_path=$lt_fix_srcfile_path
20096
 
 
20097
 
# Set to yes if exported symbols are required.
20098
 
always_export_symbols=$always_export_symbols_RC
20099
 
 
20100
 
# The commands to list exported symbols.
20101
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20102
 
 
20103
 
# The commands to extract the exported symbol list from a shared archive.
20104
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20105
 
 
20106
 
# Symbols that should not be listed in the preloaded symbols.
20107
 
exclude_expsyms=$lt_exclude_expsyms_RC
20108
 
 
20109
 
# Symbols that must always be exported.
20110
 
include_expsyms=$lt_include_expsyms_RC
20111
 
 
20112
 
# ### END LIBTOOL TAG CONFIG: $tagname
20113
 
 
20114
 
__EOF__
20115
 
 
20116
 
 
20117
 
else
20118
 
  # If there is no Makefile yet, we rely on a make rule to execute
20119
 
  # `config.status --recheck' to rerun these tests and create the
20120
 
  # libtool script then.
20121
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20122
 
  if test -f "$ltmain_in"; then
20123
 
    test -f Makefile && make "$ltmain"
20124
 
  fi
20125
 
fi
20126
 
 
20127
 
 
20128
 
ac_ext=c
20129
 
ac_cpp='$CPP $CPPFLAGS'
20130
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20133
 
 
20134
 
CC="$lt_save_CC"
20135
 
 
20136
 
        ;;
20137
 
 
20138
 
      *)
20139
 
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20140
 
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20141
 
   { (exit 1); exit 1; }; }
20142
 
        ;;
20143
 
      esac
20144
 
 
20145
 
      # Append the new tag name to the list of available tags.
20146
 
      if test -n "$tagname" ; then
20147
 
      available_tags="$available_tags $tagname"
20148
 
    fi
20149
 
    fi
20150
 
  done
20151
 
  IFS="$lt_save_ifs"
20152
 
 
20153
 
  # Now substitute the updated list of available tags.
20154
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20155
 
    mv "${ofile}T" "$ofile"
20156
 
    chmod +x "$ofile"
20157
 
  else
20158
 
    rm -f "${ofile}T"
20159
 
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20160
 
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20161
 
   { (exit 1); exit 1; }; }
20162
 
  fi
20163
 
fi
20164
 
 
20165
 
 
20166
 
 
20167
 
# This can be used to rebuild libtool when needed
20168
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20169
 
 
20170
 
# Always use our own libtool.
20171
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20172
 
 
20173
 
# Prevent multiple expansion
20174
 
 
20175
 
 
20176
 
 
20177
 
 
20178
 
 
20179
 
 
20180
 
 
20181
 
 
20182
 
 
20183
 
 
20184
 
 
20185
 
 
20186
 
 
20187
 
 
20188
 
 
20189
 
 
20190
 
 
20191
 
 
20192
 
 
 
10880
 
 
10881
 
 
10882
 
 
10883
 
 
10884
 
 
10885
 
 
10886
 
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
 
 
10892
 
 
10893
 
 
10894
 
 
10895
striplib=
 
10896
old_striplib=
 
10897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
10898
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10899
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10900
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10901
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10903
$as_echo "yes" >&6; }
 
10904
else
 
10905
# FIXME - insert some real tests, host_os isn't really good enough
 
10906
  case $host_os in
 
10907
  darwin*)
 
10908
    if test -n "$STRIP" ; then
 
10909
      striplib="$STRIP -x"
 
10910
      old_striplib="$STRIP -S"
 
10911
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10912
$as_echo "yes" >&6; }
 
10913
    else
 
10914
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10915
$as_echo "no" >&6; }
 
10916
    fi
 
10917
    ;;
 
10918
  *)
 
10919
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10920
$as_echo "no" >&6; }
 
10921
    ;;
 
10922
  esac
 
10923
fi
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
  # Report which library types will actually be built
 
10937
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
10938
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
10940
$as_echo "$can_build_shared" >&6; }
 
10941
 
 
10942
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
10943
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
10944
  test "$can_build_shared" = "no" && enable_shared=no
 
10945
 
 
10946
  # On AIX, shared libraries and static libraries use the same namespace, and
 
10947
  # are all built from PIC.
 
10948
  case $host_os in
 
10949
  aix3*)
 
10950
    test "$enable_shared" = yes && enable_static=no
 
10951
    if test -n "$RANLIB"; then
 
10952
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10953
      postinstall_cmds='$RANLIB $lib'
 
10954
    fi
 
10955
    ;;
 
10956
 
 
10957
  aix[4-9]*)
 
10958
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10959
      test "$enable_shared" = yes && enable_static=no
 
10960
    fi
 
10961
    ;;
 
10962
  esac
 
10963
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
10964
$as_echo "$enable_shared" >&6; }
 
10965
 
 
10966
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
10967
$as_echo_n "checking whether to build static libraries... " >&6; }
 
10968
  # Make sure either enable_shared or enable_static is yes.
 
10969
  test "$enable_shared" = yes || enable_static=yes
 
10970
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
10971
$as_echo "$enable_static" >&6; }
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
fi
 
10977
ac_ext=c
 
10978
ac_cpp='$CPP $CPPFLAGS'
 
10979
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10980
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10981
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10982
 
 
10983
CC="$lt_save_CC"
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
        ac_config_commands="$ac_config_commands libtool"
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
# Only expand once:
20193
11003
 
20194
11004
 
20195
11005
for ac_func in getisax
20196
 
do
20197
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20198
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20199
 
$as_echo_n "checking for $ac_func... " >&6; }
20200
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20201
 
  $as_echo_n "(cached) " >&6
20202
 
else
20203
 
  cat >conftest.$ac_ext <<_ACEOF
20204
 
/* confdefs.h.  */
20205
 
_ACEOF
20206
 
cat confdefs.h >>conftest.$ac_ext
20207
 
cat >>conftest.$ac_ext <<_ACEOF
20208
 
/* end confdefs.h.  */
20209
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20210
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20211
 
#define $ac_func innocuous_$ac_func
20212
 
 
20213
 
/* System header to define __stub macros and hopefully few prototypes,
20214
 
    which can conflict with char $ac_func (); below.
20215
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20216
 
    <limits.h> exists even on freestanding compilers.  */
20217
 
 
20218
 
#ifdef __STDC__
20219
 
# include <limits.h>
20220
 
#else
20221
 
# include <assert.h>
20222
 
#endif
20223
 
 
20224
 
#undef $ac_func
20225
 
 
20226
 
/* Override any GCC internal prototype to avoid an error.
20227
 
   Use char because int might match the return type of a GCC
20228
 
   builtin and then its argument prototype would still apply.  */
20229
 
#ifdef __cplusplus
20230
 
extern "C"
20231
 
#endif
20232
 
char $ac_func ();
20233
 
/* The GNU C library defines this for functions which it implements
20234
 
    to always fail with ENOSYS.  Some functions are actually named
20235
 
    something starting with __ and the normal name is an alias.  */
20236
 
#if defined __stub_$ac_func || defined __stub___$ac_func
20237
 
choke me
20238
 
#endif
20239
 
 
20240
 
int
20241
 
main ()
20242
 
{
20243
 
return $ac_func ();
20244
 
  ;
20245
 
  return 0;
20246
 
}
20247
 
_ACEOF
20248
 
rm -f conftest.$ac_objext conftest$ac_exeext
20249
 
if { (ac_try="$ac_link"
20250
 
case "(($ac_try" in
20251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20252
 
  *) ac_try_echo=$ac_try;;
20253
 
esac
20254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20255
 
$as_echo "$ac_try_echo") >&5
20256
 
  (eval "$ac_link") 2>conftest.er1
20257
 
  ac_status=$?
20258
 
  grep -v '^ *+' conftest.er1 >conftest.err
20259
 
  rm -f conftest.er1
20260
 
  cat conftest.err >&5
20261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262
 
  (exit $ac_status); } && {
20263
 
         test -z "$ac_c_werror_flag" ||
20264
 
         test ! -s conftest.err
20265
 
       } && test -s conftest$ac_exeext && {
20266
 
         test "$cross_compiling" = yes ||
20267
 
         $as_test_x conftest$ac_exeext
20268
 
       }; then
20269
 
  eval "$as_ac_var=yes"
20270
 
else
20271
 
  $as_echo "$as_me: failed program was:" >&5
20272
 
sed 's/^/| /' conftest.$ac_ext >&5
20273
 
 
20274
 
        eval "$as_ac_var=no"
20275
 
fi
20276
 
 
20277
 
rm -rf conftest.dSYM
20278
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20279
 
      conftest$ac_exeext conftest.$ac_ext
20280
 
fi
20281
 
ac_res=`eval 'as_val=${'$as_ac_var'}
20282
 
                 $as_echo "$as_val"'`
20283
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20284
 
$as_echo "$ac_res" >&6; }
20285
 
as_val=`eval 'as_val=${'$as_ac_var'}
20286
 
                 $as_echo "$as_val"'`
20287
 
   if test "x$as_val" = x""yes; then
 
11006
do :
 
11007
  ac_fn_c_check_func "$LINENO" "getisax" "ac_cv_func_getisax"
 
11008
if test "x$ac_cv_func_getisax" = x""yes; then :
20288
11009
  cat >>confdefs.h <<_ACEOF
20289
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11010
#define HAVE_GETISAX 1
20290
11011
_ACEOF
20291
11012
 
20292
11013
fi
20293
11014
done
20294
11015
 
20295
 
 
20296
 
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
11016
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20297
11017
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20298
 
if test "${ac_cv_c_bigendian+set}" = set; then
 
11018
if test "${ac_cv_c_bigendian+set}" = set; then :
20299
11019
  $as_echo_n "(cached) " >&6
20300
11020
else
20301
11021
  ac_cv_c_bigendian=unknown
20302
11022
    # See if we're dealing with a universal compiler.
20303
 
    cat >conftest.$ac_ext <<_ACEOF
20304
 
/* confdefs.h.  */
20305
 
_ACEOF
20306
 
cat confdefs.h >>conftest.$ac_ext
20307
 
cat >>conftest.$ac_ext <<_ACEOF
 
11023
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20308
11024
/* end confdefs.h.  */
20309
11025
#ifndef __APPLE_CC__
20310
11026
               not a universal capable compiler
20312
11028
             typedef int dummy;
20313
11029
 
20314
11030
_ACEOF
20315
 
rm -f conftest.$ac_objext
20316
 
if { (ac_try="$ac_compile"
20317
 
case "(($ac_try" in
20318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20319
 
  *) ac_try_echo=$ac_try;;
20320
 
esac
20321
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20322
 
$as_echo "$ac_try_echo") >&5
20323
 
  (eval "$ac_compile") 2>conftest.er1
20324
 
  ac_status=$?
20325
 
  grep -v '^ *+' conftest.er1 >conftest.err
20326
 
  rm -f conftest.er1
20327
 
  cat conftest.err >&5
20328
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329
 
  (exit $ac_status); } && {
20330
 
         test -z "$ac_c_werror_flag" ||
20331
 
         test ! -s conftest.err
20332
 
       } && test -s conftest.$ac_objext; then
 
11031
if ac_fn_c_try_compile "$LINENO"; then :
20333
11032
 
20334
11033
        # Check for potential -arch flags.  It is not universal unless
20335
 
        # there are some -arch flags.  Note that *ppc* also matches
20336
 
        # ppc64.  This check is also rather less than ideal.
20337
 
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
20338
 
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
20339
 
        esac
20340
 
else
20341
 
  $as_echo "$as_me: failed program was:" >&5
20342
 
sed 's/^/| /' conftest.$ac_ext >&5
20343
 
 
20344
 
 
 
11034
        # there are at least two -arch flags with different values.
 
11035
        ac_arch=
 
11036
        ac_prev=
 
11037
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
11038
         if test -n "$ac_prev"; then
 
11039
           case $ac_word in
 
11040
             i?86 | x86_64 | ppc | ppc64)
 
11041
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
11042
                 ac_arch=$ac_word
 
11043
               else
 
11044
                 ac_cv_c_bigendian=universal
 
11045
                 break
 
11046
               fi
 
11047
               ;;
 
11048
           esac
 
11049
           ac_prev=
 
11050
         elif test "x$ac_word" = "x-arch"; then
 
11051
           ac_prev=arch
 
11052
         fi
 
11053
       done
20345
11054
fi
20346
 
 
20347
11055
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20348
11056
    if test $ac_cv_c_bigendian = unknown; then
20349
11057
      # See if sys/param.h defines the BYTE_ORDER macro.
20350
 
      cat >conftest.$ac_ext <<_ACEOF
20351
 
/* confdefs.h.  */
20352
 
_ACEOF
20353
 
cat confdefs.h >>conftest.$ac_ext
20354
 
cat >>conftest.$ac_ext <<_ACEOF
 
11058
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20355
11059
/* end confdefs.h.  */
20356
11060
#include <sys/types.h>
20357
11061
             #include <sys/param.h>
20369
11073
  return 0;
20370
11074
}
20371
11075
_ACEOF
20372
 
rm -f conftest.$ac_objext
20373
 
if { (ac_try="$ac_compile"
20374
 
case "(($ac_try" in
20375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376
 
  *) ac_try_echo=$ac_try;;
20377
 
esac
20378
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20379
 
$as_echo "$ac_try_echo") >&5
20380
 
  (eval "$ac_compile") 2>conftest.er1
20381
 
  ac_status=$?
20382
 
  grep -v '^ *+' conftest.er1 >conftest.err
20383
 
  rm -f conftest.er1
20384
 
  cat conftest.err >&5
20385
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386
 
  (exit $ac_status); } && {
20387
 
         test -z "$ac_c_werror_flag" ||
20388
 
         test ! -s conftest.err
20389
 
       } && test -s conftest.$ac_objext; then
 
11076
if ac_fn_c_try_compile "$LINENO"; then :
20390
11077
  # It does; now see whether it defined to BIG_ENDIAN or not.
20391
 
         cat >conftest.$ac_ext <<_ACEOF
20392
 
/* confdefs.h.  */
20393
 
_ACEOF
20394
 
cat confdefs.h >>conftest.$ac_ext
20395
 
cat >>conftest.$ac_ext <<_ACEOF
 
11078
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20396
11079
/* end confdefs.h.  */
20397
11080
#include <sys/types.h>
20398
11081
                #include <sys/param.h>
20408
11091
  return 0;
20409
11092
}
20410
11093
_ACEOF
20411
 
rm -f conftest.$ac_objext
20412
 
if { (ac_try="$ac_compile"
20413
 
case "(($ac_try" in
20414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415
 
  *) ac_try_echo=$ac_try;;
20416
 
esac
20417
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20418
 
$as_echo "$ac_try_echo") >&5
20419
 
  (eval "$ac_compile") 2>conftest.er1
20420
 
  ac_status=$?
20421
 
  grep -v '^ *+' conftest.er1 >conftest.err
20422
 
  rm -f conftest.er1
20423
 
  cat conftest.err >&5
20424
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425
 
  (exit $ac_status); } && {
20426
 
         test -z "$ac_c_werror_flag" ||
20427
 
         test ! -s conftest.err
20428
 
       } && test -s conftest.$ac_objext; then
 
11094
if ac_fn_c_try_compile "$LINENO"; then :
20429
11095
  ac_cv_c_bigendian=yes
20430
11096
else
20431
 
  $as_echo "$as_me: failed program was:" >&5
20432
 
sed 's/^/| /' conftest.$ac_ext >&5
20433
 
 
20434
 
        ac_cv_c_bigendian=no
 
11097
  ac_cv_c_bigendian=no
20435
11098
fi
20436
 
 
20437
11099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438
 
else
20439
 
  $as_echo "$as_me: failed program was:" >&5
20440
 
sed 's/^/| /' conftest.$ac_ext >&5
20441
 
 
20442
 
 
20443
11100
fi
20444
 
 
20445
11101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446
11102
    fi
20447
11103
    if test $ac_cv_c_bigendian = unknown; then
20448
11104
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
20449
 
      cat >conftest.$ac_ext <<_ACEOF
20450
 
/* confdefs.h.  */
20451
 
_ACEOF
20452
 
cat confdefs.h >>conftest.$ac_ext
20453
 
cat >>conftest.$ac_ext <<_ACEOF
 
11105
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20454
11106
/* end confdefs.h.  */
20455
11107
#include <limits.h>
20456
11108
 
20465
11117
  return 0;
20466
11118
}
20467
11119
_ACEOF
20468
 
rm -f conftest.$ac_objext
20469
 
if { (ac_try="$ac_compile"
20470
 
case "(($ac_try" in
20471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20472
 
  *) ac_try_echo=$ac_try;;
20473
 
esac
20474
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20475
 
$as_echo "$ac_try_echo") >&5
20476
 
  (eval "$ac_compile") 2>conftest.er1
20477
 
  ac_status=$?
20478
 
  grep -v '^ *+' conftest.er1 >conftest.err
20479
 
  rm -f conftest.er1
20480
 
  cat conftest.err >&5
20481
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482
 
  (exit $ac_status); } && {
20483
 
         test -z "$ac_c_werror_flag" ||
20484
 
         test ! -s conftest.err
20485
 
       } && test -s conftest.$ac_objext; then
 
11120
if ac_fn_c_try_compile "$LINENO"; then :
20486
11121
  # It does; now see whether it defined to _BIG_ENDIAN or not.
20487
 
         cat >conftest.$ac_ext <<_ACEOF
20488
 
/* confdefs.h.  */
20489
 
_ACEOF
20490
 
cat confdefs.h >>conftest.$ac_ext
20491
 
cat >>conftest.$ac_ext <<_ACEOF
 
11122
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492
11123
/* end confdefs.h.  */
20493
11124
#include <limits.h>
20494
11125
 
20503
11134
  return 0;
20504
11135
}
20505
11136
_ACEOF
20506
 
rm -f conftest.$ac_objext
20507
 
if { (ac_try="$ac_compile"
20508
 
case "(($ac_try" in
20509
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510
 
  *) ac_try_echo=$ac_try;;
20511
 
esac
20512
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20513
 
$as_echo "$ac_try_echo") >&5
20514
 
  (eval "$ac_compile") 2>conftest.er1
20515
 
  ac_status=$?
20516
 
  grep -v '^ *+' conftest.er1 >conftest.err
20517
 
  rm -f conftest.er1
20518
 
  cat conftest.err >&5
20519
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520
 
  (exit $ac_status); } && {
20521
 
         test -z "$ac_c_werror_flag" ||
20522
 
         test ! -s conftest.err
20523
 
       } && test -s conftest.$ac_objext; then
 
11137
if ac_fn_c_try_compile "$LINENO"; then :
20524
11138
  ac_cv_c_bigendian=yes
20525
11139
else
20526
 
  $as_echo "$as_me: failed program was:" >&5
20527
 
sed 's/^/| /' conftest.$ac_ext >&5
20528
 
 
20529
 
        ac_cv_c_bigendian=no
 
11140
  ac_cv_c_bigendian=no
20530
11141
fi
20531
 
 
20532
11142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20533
 
else
20534
 
  $as_echo "$as_me: failed program was:" >&5
20535
 
sed 's/^/| /' conftest.$ac_ext >&5
20536
 
 
20537
 
 
20538
11143
fi
20539
 
 
20540
11144
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20541
11145
    fi
20542
11146
    if test $ac_cv_c_bigendian = unknown; then
20543
11147
      # Compile a test program.
20544
 
      if test "$cross_compiling" = yes; then
 
11148
      if test "$cross_compiling" = yes; then :
20545
11149
  # Try to guess by grepping values from an object file.
20546
 
         cat >conftest.$ac_ext <<_ACEOF
20547
 
/* confdefs.h.  */
20548
 
_ACEOF
20549
 
cat confdefs.h >>conftest.$ac_ext
20550
 
cat >>conftest.$ac_ext <<_ACEOF
 
11150
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20551
11151
/* end confdefs.h.  */
20552
11152
short int ascii_mm[] =
20553
11153
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20573
11173
  return 0;
20574
11174
}
20575
11175
_ACEOF
20576
 
rm -f conftest.$ac_objext
20577
 
if { (ac_try="$ac_compile"
20578
 
case "(($ac_try" in
20579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580
 
  *) ac_try_echo=$ac_try;;
20581
 
esac
20582
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20583
 
$as_echo "$ac_try_echo") >&5
20584
 
  (eval "$ac_compile") 2>conftest.er1
20585
 
  ac_status=$?
20586
 
  grep -v '^ *+' conftest.er1 >conftest.err
20587
 
  rm -f conftest.er1
20588
 
  cat conftest.err >&5
20589
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590
 
  (exit $ac_status); } && {
20591
 
         test -z "$ac_c_werror_flag" ||
20592
 
         test ! -s conftest.err
20593
 
       } && test -s conftest.$ac_objext; then
 
11176
if ac_fn_c_try_compile "$LINENO"; then :
20594
11177
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
20595
11178
              ac_cv_c_bigendian=yes
20596
11179
            fi
20602
11185
                ac_cv_c_bigendian=unknown
20603
11186
              fi
20604
11187
            fi
20605
 
else
20606
 
  $as_echo "$as_me: failed program was:" >&5
20607
 
sed 's/^/| /' conftest.$ac_ext >&5
20608
 
 
20609
 
 
20610
11188
fi
20611
 
 
20612
11189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20613
11190
else
20614
 
  cat >conftest.$ac_ext <<_ACEOF
20615
 
/* confdefs.h.  */
20616
 
_ACEOF
20617
 
cat confdefs.h >>conftest.$ac_ext
20618
 
cat >>conftest.$ac_ext <<_ACEOF
 
11191
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20619
11192
/* end confdefs.h.  */
20620
11193
$ac_includes_default
20621
11194
int
20635
11208
  return 0;
20636
11209
}
20637
11210
_ACEOF
20638
 
rm -f conftest$ac_exeext
20639
 
if { (ac_try="$ac_link"
20640
 
case "(($ac_try" in
20641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20642
 
  *) ac_try_echo=$ac_try;;
20643
 
esac
20644
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20645
 
$as_echo "$ac_try_echo") >&5
20646
 
  (eval "$ac_link") 2>&5
20647
 
  ac_status=$?
20648
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20650
 
  { (case "(($ac_try" in
20651
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652
 
  *) ac_try_echo=$ac_try;;
20653
 
esac
20654
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20655
 
$as_echo "$ac_try_echo") >&5
20656
 
  (eval "$ac_try") 2>&5
20657
 
  ac_status=$?
20658
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659
 
  (exit $ac_status); }; }; then
 
11211
if ac_fn_c_try_run "$LINENO"; then :
20660
11212
  ac_cv_c_bigendian=no
20661
11213
else
20662
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
20663
 
$as_echo "$as_me: failed program was:" >&5
20664
 
sed 's/^/| /' conftest.$ac_ext >&5
20665
 
 
20666
 
( exit $ac_status )
20667
 
ac_cv_c_bigendian=yes
20668
 
fi
20669
 
rm -rf conftest.dSYM
20670
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20671
 
fi
20672
 
 
 
11214
  ac_cv_c_bigendian=yes
 
11215
fi
 
11216
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11217
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11218
fi
20673
11219
 
20674
11220
    fi
20675
11221
fi
20676
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
11222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20677
11223
$as_echo "$ac_cv_c_bigendian" >&6; }
20678
11224
 case $ac_cv_c_bigendian in #(
20679
11225
   yes)
20680
 
     cat >>confdefs.h <<\_ACEOF
20681
 
#define WORDS_BIGENDIAN 1
20682
 
_ACEOF
 
11226
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20683
11227
;; #(
20684
11228
   no)
20685
11229
      ;; #(
20686
11230
   universal)
20687
11231
 
20688
 
cat >>confdefs.h <<\_ACEOF
20689
 
#define AC_APPLE_UNIVERSAL_BUILD 1
20690
 
_ACEOF
 
11232
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
20691
11233
 
20692
11234
     ;; #(
20693
11235
   *)
20694
 
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
20695
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20696
 
$as_echo "$as_me: error: unknown endianness
20697
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20698
 
   { (exit 1); exit 1; }; } ;;
 
11236
     as_fn_error $? "unknown endianness
 
11237
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
20699
11238
 esac
20700
11239
 
20701
 
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
11240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20702
11241
$as_echo_n "checking for inline... " >&6; }
20703
 
if test "${ac_cv_c_inline+set}" = set; then
 
11242
if test "${ac_cv_c_inline+set}" = set; then :
20704
11243
  $as_echo_n "(cached) " >&6
20705
11244
else
20706
11245
  ac_cv_c_inline=no
20707
11246
for ac_kw in inline __inline__ __inline; do
20708
 
  cat >conftest.$ac_ext <<_ACEOF
20709
 
/* confdefs.h.  */
20710
 
_ACEOF
20711
 
cat confdefs.h >>conftest.$ac_ext
20712
 
cat >>conftest.$ac_ext <<_ACEOF
 
11247
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20713
11248
/* end confdefs.h.  */
20714
11249
#ifndef __cplusplus
20715
11250
typedef int foo_t;
20718
11253
#endif
20719
11254
 
20720
11255
_ACEOF
20721
 
rm -f conftest.$ac_objext
20722
 
if { (ac_try="$ac_compile"
20723
 
case "(($ac_try" in
20724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20725
 
  *) ac_try_echo=$ac_try;;
20726
 
esac
20727
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20728
 
$as_echo "$ac_try_echo") >&5
20729
 
  (eval "$ac_compile") 2>conftest.er1
20730
 
  ac_status=$?
20731
 
  grep -v '^ *+' conftest.er1 >conftest.err
20732
 
  rm -f conftest.er1
20733
 
  cat conftest.err >&5
20734
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735
 
  (exit $ac_status); } && {
20736
 
         test -z "$ac_c_werror_flag" ||
20737
 
         test ! -s conftest.err
20738
 
       } && test -s conftest.$ac_objext; then
 
11256
if ac_fn_c_try_compile "$LINENO"; then :
20739
11257
  ac_cv_c_inline=$ac_kw
20740
 
else
20741
 
  $as_echo "$as_me: failed program was:" >&5
20742
 
sed 's/^/| /' conftest.$ac_ext >&5
20743
 
 
20744
 
 
20745
11258
fi
20746
 
 
20747
11259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20748
11260
  test "$ac_cv_c_inline" != no && break
20749
11261
done
20750
11262
 
20751
11263
fi
20752
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
11264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20753
11265
$as_echo "$ac_cv_c_inline" >&6; }
20754
11266
 
20755
 
 
20756
11267
case $ac_cv_c_inline in
20757
11268
  inline | yes) ;;
20758
11269
  *)
20774
11285
WERROR=
20775
11286
for w in -Werror -errwarn; do
20776
11287
    if test "z$WERROR" = "z"; then
20777
 
        { $as_echo "$as_me:$LINENO: checking whether the compiler supports $w" >&5
 
11288
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports $w" >&5
20778
11289
$as_echo_n "checking whether the compiler supports $w... " >&6; }
20779
11290
                save_CFLAGS="$CFLAGS"
20780
11291
        save_LDFLAGS="$LDFLAGS"
20783
11294
        LDFLAGS=""
20784
11295
        LIBS=""
20785
11296
        CFLAGS=$w
20786
 
        cat >conftest.$ac_ext <<_ACEOF
20787
 
/* confdefs.h.  */
20788
 
_ACEOF
20789
 
cat confdefs.h >>conftest.$ac_ext
20790
 
cat >>conftest.$ac_ext <<_ACEOF
 
11297
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20791
11298
/* end confdefs.h.  */
20792
11299
int main(int c, char **v) { (void)c; (void)v; return 0; }
20793
11300
_ACEOF
20794
 
rm -f conftest.$ac_objext conftest$ac_exeext
20795
 
if { (ac_try="$ac_link"
20796
 
case "(($ac_try" in
20797
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20798
 
  *) ac_try_echo=$ac_try;;
20799
 
esac
20800
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20801
 
$as_echo "$ac_try_echo") >&5
20802
 
  (eval "$ac_link") 2>conftest.er1
20803
 
  ac_status=$?
20804
 
  grep -v '^ *+' conftest.er1 >conftest.err
20805
 
  rm -f conftest.er1
20806
 
  cat conftest.err >&5
20807
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808
 
  (exit $ac_status); } && {
20809
 
         test -z "$ac_c_werror_flag" ||
20810
 
         test ! -s conftest.err
20811
 
       } && test -s conftest$ac_exeext && {
20812
 
         test "$cross_compiling" = yes ||
20813
 
         $as_test_x conftest$ac_exeext
20814
 
       }; then
 
11301
if ac_fn_c_try_link "$LINENO"; then :
20815
11302
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
20816
11303
                 pixman_cc_flag=yes
20817
11304
else
20818
 
  $as_echo "$as_me: failed program was:" >&5
20819
 
sed 's/^/| /' conftest.$ac_ext >&5
20820
 
 
20821
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
11305
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
20822
11306
                 pixman_cc_flag=no
20823
11307
fi
20824
 
 
20825
 
rm -rf conftest.dSYM
20826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20827
 
      conftest$ac_exeext conftest.$ac_ext
 
11308
rm -f core conftest.err conftest.$ac_objext \
 
11309
    conftest$ac_exeext conftest.$ac_ext
20828
11310
 
20829
11311
        if test "x$pixman_cc_stderr" != "x"; then
20830
11312
                pixman_cc_flag=no
20839
11321
        LDFLAGS="$save_LDFLAGS"
20840
11322
        LIBS="$save_LIBS"
20841
11323
 
20842
 
        { $as_echo "$as_me:$LINENO: result: $yesno" >&5
 
11324
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yesno" >&5
20843
11325
$as_echo "$yesno" >&6; }
20844
11326
    fi
20845
11327
done
20850
11332
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20851
11333
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20852
11334
# This bug is HP SR number 8606223364.
20853
 
{ $as_echo "$as_me:$LINENO: checking size of long" >&5
 
11335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20854
11336
$as_echo_n "checking size of long... " >&6; }
20855
 
if test "${ac_cv_sizeof_long+set}" = set; then
 
11337
if test "${ac_cv_sizeof_long+set}" = set; then :
20856
11338
  $as_echo_n "(cached) " >&6
20857
11339
else
20858
 
  if test "$cross_compiling" = yes; then
20859
 
  # Depending upon the size, compute the lo and hi bounds.
20860
 
cat >conftest.$ac_ext <<_ACEOF
20861
 
/* confdefs.h.  */
20862
 
_ACEOF
20863
 
cat confdefs.h >>conftest.$ac_ext
20864
 
cat >>conftest.$ac_ext <<_ACEOF
20865
 
/* end confdefs.h.  */
20866
 
$ac_includes_default
20867
 
int
20868
 
main ()
20869
 
{
20870
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
20871
 
test_array [0] = 0
20872
 
 
20873
 
  ;
20874
 
  return 0;
20875
 
}
20876
 
_ACEOF
20877
 
rm -f conftest.$ac_objext
20878
 
if { (ac_try="$ac_compile"
20879
 
case "(($ac_try" in
20880
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881
 
  *) ac_try_echo=$ac_try;;
20882
 
esac
20883
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20884
 
$as_echo "$ac_try_echo") >&5
20885
 
  (eval "$ac_compile") 2>conftest.er1
20886
 
  ac_status=$?
20887
 
  grep -v '^ *+' conftest.er1 >conftest.err
20888
 
  rm -f conftest.er1
20889
 
  cat conftest.err >&5
20890
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891
 
  (exit $ac_status); } && {
20892
 
         test -z "$ac_c_werror_flag" ||
20893
 
         test ! -s conftest.err
20894
 
       } && test -s conftest.$ac_objext; then
20895
 
  ac_lo=0 ac_mid=0
20896
 
  while :; do
20897
 
    cat >conftest.$ac_ext <<_ACEOF
20898
 
/* confdefs.h.  */
20899
 
_ACEOF
20900
 
cat confdefs.h >>conftest.$ac_ext
20901
 
cat >>conftest.$ac_ext <<_ACEOF
20902
 
/* end confdefs.h.  */
20903
 
$ac_includes_default
20904
 
int
20905
 
main ()
20906
 
{
20907
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
20908
 
test_array [0] = 0
20909
 
 
20910
 
  ;
20911
 
  return 0;
20912
 
}
20913
 
_ACEOF
20914
 
rm -f conftest.$ac_objext
20915
 
if { (ac_try="$ac_compile"
20916
 
case "(($ac_try" in
20917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918
 
  *) ac_try_echo=$ac_try;;
20919
 
esac
20920
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20921
 
$as_echo "$ac_try_echo") >&5
20922
 
  (eval "$ac_compile") 2>conftest.er1
20923
 
  ac_status=$?
20924
 
  grep -v '^ *+' conftest.er1 >conftest.err
20925
 
  rm -f conftest.er1
20926
 
  cat conftest.err >&5
20927
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928
 
  (exit $ac_status); } && {
20929
 
         test -z "$ac_c_werror_flag" ||
20930
 
         test ! -s conftest.err
20931
 
       } && test -s conftest.$ac_objext; then
20932
 
  ac_hi=$ac_mid; break
20933
 
else
20934
 
  $as_echo "$as_me: failed program was:" >&5
20935
 
sed 's/^/| /' conftest.$ac_ext >&5
20936
 
 
20937
 
        ac_lo=`expr $ac_mid + 1`
20938
 
                        if test $ac_lo -le $ac_mid; then
20939
 
                          ac_lo= ac_hi=
20940
 
                          break
20941
 
                        fi
20942
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
20943
 
fi
20944
 
 
20945
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20946
 
  done
20947
 
else
20948
 
  $as_echo "$as_me: failed program was:" >&5
20949
 
sed 's/^/| /' conftest.$ac_ext >&5
20950
 
 
20951
 
        cat >conftest.$ac_ext <<_ACEOF
20952
 
/* confdefs.h.  */
20953
 
_ACEOF
20954
 
cat confdefs.h >>conftest.$ac_ext
20955
 
cat >>conftest.$ac_ext <<_ACEOF
20956
 
/* end confdefs.h.  */
20957
 
$ac_includes_default
20958
 
int
20959
 
main ()
20960
 
{
20961
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
20962
 
test_array [0] = 0
20963
 
 
20964
 
  ;
20965
 
  return 0;
20966
 
}
20967
 
_ACEOF
20968
 
rm -f conftest.$ac_objext
20969
 
if { (ac_try="$ac_compile"
20970
 
case "(($ac_try" in
20971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972
 
  *) ac_try_echo=$ac_try;;
20973
 
esac
20974
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20975
 
$as_echo "$ac_try_echo") >&5
20976
 
  (eval "$ac_compile") 2>conftest.er1
20977
 
  ac_status=$?
20978
 
  grep -v '^ *+' conftest.er1 >conftest.err
20979
 
  rm -f conftest.er1
20980
 
  cat conftest.err >&5
20981
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982
 
  (exit $ac_status); } && {
20983
 
         test -z "$ac_c_werror_flag" ||
20984
 
         test ! -s conftest.err
20985
 
       } && test -s conftest.$ac_objext; then
20986
 
  ac_hi=-1 ac_mid=-1
20987
 
  while :; do
20988
 
    cat >conftest.$ac_ext <<_ACEOF
20989
 
/* confdefs.h.  */
20990
 
_ACEOF
20991
 
cat confdefs.h >>conftest.$ac_ext
20992
 
cat >>conftest.$ac_ext <<_ACEOF
20993
 
/* end confdefs.h.  */
20994
 
$ac_includes_default
20995
 
int
20996
 
main ()
20997
 
{
20998
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
20999
 
test_array [0] = 0
21000
 
 
21001
 
  ;
21002
 
  return 0;
21003
 
}
21004
 
_ACEOF
21005
 
rm -f conftest.$ac_objext
21006
 
if { (ac_try="$ac_compile"
21007
 
case "(($ac_try" in
21008
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21009
 
  *) ac_try_echo=$ac_try;;
21010
 
esac
21011
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21012
 
$as_echo "$ac_try_echo") >&5
21013
 
  (eval "$ac_compile") 2>conftest.er1
21014
 
  ac_status=$?
21015
 
  grep -v '^ *+' conftest.er1 >conftest.err
21016
 
  rm -f conftest.er1
21017
 
  cat conftest.err >&5
21018
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019
 
  (exit $ac_status); } && {
21020
 
         test -z "$ac_c_werror_flag" ||
21021
 
         test ! -s conftest.err
21022
 
       } && test -s conftest.$ac_objext; then
21023
 
  ac_lo=$ac_mid; break
21024
 
else
21025
 
  $as_echo "$as_me: failed program was:" >&5
21026
 
sed 's/^/| /' conftest.$ac_ext >&5
21027
 
 
21028
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
21029
 
                        if test $ac_mid -le $ac_hi; then
21030
 
                          ac_lo= ac_hi=
21031
 
                          break
21032
 
                        fi
21033
 
                        ac_mid=`expr 2 '*' $ac_mid`
21034
 
fi
21035
 
 
21036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037
 
  done
21038
 
else
21039
 
  $as_echo "$as_me: failed program was:" >&5
21040
 
sed 's/^/| /' conftest.$ac_ext >&5
21041
 
 
21042
 
        ac_lo= ac_hi=
21043
 
fi
21044
 
 
21045
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21046
 
fi
21047
 
 
21048
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049
 
# Binary search between lo and hi bounds.
21050
 
while test "x$ac_lo" != "x$ac_hi"; do
21051
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21052
 
  cat >conftest.$ac_ext <<_ACEOF
21053
 
/* confdefs.h.  */
21054
 
_ACEOF
21055
 
cat confdefs.h >>conftest.$ac_ext
21056
 
cat >>conftest.$ac_ext <<_ACEOF
21057
 
/* end confdefs.h.  */
21058
 
$ac_includes_default
21059
 
int
21060
 
main ()
21061
 
{
21062
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
21063
 
test_array [0] = 0
21064
 
 
21065
 
  ;
21066
 
  return 0;
21067
 
}
21068
 
_ACEOF
21069
 
rm -f conftest.$ac_objext
21070
 
if { (ac_try="$ac_compile"
21071
 
case "(($ac_try" in
21072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073
 
  *) ac_try_echo=$ac_try;;
21074
 
esac
21075
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21076
 
$as_echo "$ac_try_echo") >&5
21077
 
  (eval "$ac_compile") 2>conftest.er1
21078
 
  ac_status=$?
21079
 
  grep -v '^ *+' conftest.er1 >conftest.err
21080
 
  rm -f conftest.er1
21081
 
  cat conftest.err >&5
21082
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083
 
  (exit $ac_status); } && {
21084
 
         test -z "$ac_c_werror_flag" ||
21085
 
         test ! -s conftest.err
21086
 
       } && test -s conftest.$ac_objext; then
21087
 
  ac_hi=$ac_mid
21088
 
else
21089
 
  $as_echo "$as_me: failed program was:" >&5
21090
 
sed 's/^/| /' conftest.$ac_ext >&5
21091
 
 
21092
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
21093
 
fi
21094
 
 
21095
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21096
 
done
21097
 
case $ac_lo in
21098
 
?*) ac_cv_sizeof_long=$ac_lo;;
21099
 
'') if test "$ac_cv_type_long" = yes; then
21100
 
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21101
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21102
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21103
 
See \`config.log' for more details." >&5
21104
 
$as_echo "$as_me: error: cannot compute sizeof (long)
21105
 
See \`config.log' for more details." >&2;}
21106
 
   { (exit 77); exit 77; }; }; }
21107
 
   else
21108
 
     ac_cv_sizeof_long=0
21109
 
   fi ;;
21110
 
esac
21111
 
else
21112
 
  cat >conftest.$ac_ext <<_ACEOF
21113
 
/* confdefs.h.  */
21114
 
_ACEOF
21115
 
cat confdefs.h >>conftest.$ac_ext
21116
 
cat >>conftest.$ac_ext <<_ACEOF
21117
 
/* end confdefs.h.  */
21118
 
$ac_includes_default
21119
 
static long int longval () { return (long int) (sizeof (long)); }
21120
 
static unsigned long int ulongval () { return (long int) (sizeof (long)); }
21121
 
#include <stdio.h>
21122
 
#include <stdlib.h>
21123
 
int
21124
 
main ()
21125
 
{
21126
 
 
21127
 
  FILE *f = fopen ("conftest.val", "w");
21128
 
  if (! f)
21129
 
    return 1;
21130
 
  if (((long int) (sizeof (long))) < 0)
21131
 
    {
21132
 
      long int i = longval ();
21133
 
      if (i != ((long int) (sizeof (long))))
21134
 
        return 1;
21135
 
      fprintf (f, "%ld", i);
21136
 
    }
21137
 
  else
21138
 
    {
21139
 
      unsigned long int i = ulongval ();
21140
 
      if (i != ((long int) (sizeof (long))))
21141
 
        return 1;
21142
 
      fprintf (f, "%lu", i);
21143
 
    }
21144
 
  /* Do not output a trailing newline, as this causes \r\n confusion
21145
 
     on some platforms.  */
21146
 
  return ferror (f) || fclose (f) != 0;
21147
 
 
21148
 
  ;
21149
 
  return 0;
21150
 
}
21151
 
_ACEOF
21152
 
rm -f conftest$ac_exeext
21153
 
if { (ac_try="$ac_link"
21154
 
case "(($ac_try" in
21155
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156
 
  *) ac_try_echo=$ac_try;;
21157
 
esac
21158
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21159
 
$as_echo "$ac_try_echo") >&5
21160
 
  (eval "$ac_link") 2>&5
21161
 
  ac_status=$?
21162
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21164
 
  { (case "(($ac_try" in
21165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166
 
  *) ac_try_echo=$ac_try;;
21167
 
esac
21168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21169
 
$as_echo "$ac_try_echo") >&5
21170
 
  (eval "$ac_try") 2>&5
21171
 
  ac_status=$?
21172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173
 
  (exit $ac_status); }; }; then
21174
 
  ac_cv_sizeof_long=`cat conftest.val`
21175
 
else
21176
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
21177
 
$as_echo "$as_me: failed program was:" >&5
21178
 
sed 's/^/| /' conftest.$ac_ext >&5
21179
 
 
21180
 
( exit $ac_status )
21181
 
if test "$ac_cv_type_long" = yes; then
21182
 
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21183
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21184
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21185
 
See \`config.log' for more details." >&5
21186
 
$as_echo "$as_me: error: cannot compute sizeof (long)
21187
 
See \`config.log' for more details." >&2;}
21188
 
   { (exit 77); exit 77; }; }; }
 
11340
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
 
11341
 
 
11342
else
 
11343
  if test "$ac_cv_type_long" = yes; then
 
11344
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11345
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11346
as_fn_error 77 "cannot compute sizeof (long)
 
11347
See \`config.log' for more details" "$LINENO" 5; }
21189
11348
   else
21190
11349
     ac_cv_sizeof_long=0
21191
11350
   fi
21192
11351
fi
21193
 
rm -rf conftest.dSYM
21194
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21195
 
fi
21196
 
rm -f conftest.val
21197
 
fi
21198
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
11352
 
 
11353
fi
 
11354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
21199
11355
$as_echo "$ac_cv_sizeof_long" >&6; }
21200
11356
 
21201
11357
 
21207
11363
 
21208
11364
 
21209
11365
# Checks for Sun Studio compilers
21210
 
{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
21211
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
21212
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
21213
 
  $as_echo_n "(cached) " >&6
21214
 
else
21215
 
  cat >conftest.$ac_ext <<_ACEOF
21216
 
/* confdefs.h.  */
21217
 
_ACEOF
21218
 
cat confdefs.h >>conftest.$ac_ext
21219
 
cat >>conftest.$ac_ext <<_ACEOF
21220
 
/* end confdefs.h.  */
21221
 
$ac_includes_default
21222
 
int
21223
 
main ()
21224
 
{
21225
 
#ifndef __SUNPRO_C
21226
 
  (void) __SUNPRO_C;
21227
 
#endif
21228
 
 
21229
 
  ;
21230
 
  return 0;
21231
 
}
21232
 
_ACEOF
21233
 
rm -f conftest.$ac_objext
21234
 
if { (ac_try="$ac_compile"
21235
 
case "(($ac_try" in
21236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21237
 
  *) ac_try_echo=$ac_try;;
21238
 
esac
21239
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21240
 
$as_echo "$ac_try_echo") >&5
21241
 
  (eval "$ac_compile") 2>conftest.er1
21242
 
  ac_status=$?
21243
 
  grep -v '^ *+' conftest.er1 >conftest.err
21244
 
  rm -f conftest.er1
21245
 
  cat conftest.err >&5
21246
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247
 
  (exit $ac_status); } && {
21248
 
         test -z "$ac_c_werror_flag" ||
21249
 
         test ! -s conftest.err
21250
 
       } && test -s conftest.$ac_objext; then
21251
 
  ac_cv_have_decl___SUNPRO_C=yes
21252
 
else
21253
 
  $as_echo "$as_me: failed program was:" >&5
21254
 
sed 's/^/| /' conftest.$ac_ext >&5
21255
 
 
21256
 
        ac_cv_have_decl___SUNPRO_C=no
21257
 
fi
21258
 
 
21259
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260
 
fi
21261
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
21262
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
21263
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
11366
ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
11367
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
21264
11368
  SUNCC="yes"
21265
11369
else
21266
11370
  SUNCC="no"
21267
11371
fi
21268
11372
 
21269
 
{ $as_echo "$as_me:$LINENO: checking whether __amd64 is declared" >&5
21270
 
$as_echo_n "checking whether __amd64 is declared... " >&6; }
21271
 
if test "${ac_cv_have_decl___amd64+set}" = set; then
21272
 
  $as_echo_n "(cached) " >&6
21273
 
else
21274
 
  cat >conftest.$ac_ext <<_ACEOF
21275
 
/* confdefs.h.  */
21276
 
_ACEOF
21277
 
cat confdefs.h >>conftest.$ac_ext
21278
 
cat >>conftest.$ac_ext <<_ACEOF
21279
 
/* end confdefs.h.  */
21280
 
$ac_includes_default
21281
 
int
21282
 
main ()
21283
 
{
21284
 
#ifndef __amd64
21285
 
  (void) __amd64;
21286
 
#endif
21287
 
 
21288
 
  ;
21289
 
  return 0;
21290
 
}
21291
 
_ACEOF
21292
 
rm -f conftest.$ac_objext
21293
 
if { (ac_try="$ac_compile"
21294
 
case "(($ac_try" in
21295
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21296
 
  *) ac_try_echo=$ac_try;;
21297
 
esac
21298
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21299
 
$as_echo "$ac_try_echo") >&5
21300
 
  (eval "$ac_compile") 2>conftest.er1
21301
 
  ac_status=$?
21302
 
  grep -v '^ *+' conftest.er1 >conftest.err
21303
 
  rm -f conftest.er1
21304
 
  cat conftest.err >&5
21305
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306
 
  (exit $ac_status); } && {
21307
 
         test -z "$ac_c_werror_flag" ||
21308
 
         test ! -s conftest.err
21309
 
       } && test -s conftest.$ac_objext; then
21310
 
  ac_cv_have_decl___amd64=yes
21311
 
else
21312
 
  $as_echo "$as_me: failed program was:" >&5
21313
 
sed 's/^/| /' conftest.$ac_ext >&5
21314
 
 
21315
 
        ac_cv_have_decl___amd64=no
21316
 
fi
21317
 
 
21318
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319
 
fi
21320
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___amd64" >&5
21321
 
$as_echo "$ac_cv_have_decl___amd64" >&6; }
21322
 
if test "x$ac_cv_have_decl___amd64" = x""yes; then
 
11373
ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
 
11374
if test "x$ac_cv_have_decl___amd64" = x""yes; then :
21323
11375
  AMD64_ABI="yes"
21324
11376
else
21325
11377
  AMD64_ABI="no"
21346
11398
 
21347
11399
 
21348
11400
 
21349
 
LT_VERSION_INFO="23:2:23"
 
11401
LT_VERSION_INFO="23:6:23"
21350
11402
 
21351
11403
PIXMAN_VERSION_MAJOR=0
21352
11404
 
21353
11405
PIXMAN_VERSION_MINOR=23
21354
11406
 
21355
 
PIXMAN_VERSION_MICRO=2
 
11407
PIXMAN_VERSION_MICRO=6
21356
11408
 
21357
11409
 
21358
11410
 
21359
11411
 
21360
11412
# Check for dependencies
21361
11413
 
21362
 
        { $as_echo "$as_me:$LINENO: checking whether the compiler supports -Wall" >&5
 
11414
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
21363
11415
$as_echo_n "checking whether the compiler supports -Wall... " >&6; }
21364
11416
                save_CFLAGS="$CFLAGS"
21365
11417
        save_LDFLAGS="$LDFLAGS"
21368
11420
        LDFLAGS=""
21369
11421
        LIBS=""
21370
11422
        CFLAGS="$WERROR -Wall"
21371
 
        cat >conftest.$ac_ext <<_ACEOF
21372
 
/* confdefs.h.  */
21373
 
_ACEOF
21374
 
cat confdefs.h >>conftest.$ac_ext
21375
 
cat >>conftest.$ac_ext <<_ACEOF
 
11423
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21376
11424
/* end confdefs.h.  */
21377
11425
 
21378
11426
                 int main(int c, char **v) { (void)c; (void)v; return 0; }
21379
11427
 
21380
11428
_ACEOF
21381
 
rm -f conftest.$ac_objext conftest$ac_exeext
21382
 
if { (ac_try="$ac_link"
21383
 
case "(($ac_try" in
21384
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21385
 
  *) ac_try_echo=$ac_try;;
21386
 
esac
21387
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21388
 
$as_echo "$ac_try_echo") >&5
21389
 
  (eval "$ac_link") 2>conftest.er1
21390
 
  ac_status=$?
21391
 
  grep -v '^ *+' conftest.er1 >conftest.err
21392
 
  rm -f conftest.er1
21393
 
  cat conftest.err >&5
21394
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395
 
  (exit $ac_status); } && {
21396
 
         test -z "$ac_c_werror_flag" ||
21397
 
         test ! -s conftest.err
21398
 
       } && test -s conftest$ac_exeext && {
21399
 
         test "$cross_compiling" = yes ||
21400
 
         $as_test_x conftest$ac_exeext
21401
 
       }; then
 
11429
if ac_fn_c_try_link "$LINENO"; then :
21402
11430
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21403
11431
                 pixman_cc_flag=yes
21404
11432
else
21405
 
  $as_echo "$as_me: failed program was:" >&5
21406
 
sed 's/^/| /' conftest.$ac_ext >&5
21407
 
 
21408
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
11433
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21409
11434
                 pixman_cc_flag=no
21410
11435
fi
21411
 
 
21412
 
rm -rf conftest.dSYM
21413
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21414
 
      conftest$ac_exeext conftest.$ac_ext
 
11436
rm -f core conftest.err conftest.$ac_objext \
 
11437
    conftest$ac_exeext conftest.$ac_ext
21415
11438
 
21416
11439
        if test "x$pixman_cc_stderr" != "x"; then
21417
11440
                pixman_cc_flag=no
21429
11452
        if test "x$_yesno" = xyes; then
21430
11453
           CFLAGS="$CFLAGS -Wall"
21431
11454
        fi
21432
 
        { $as_echo "$as_me:$LINENO: result: $_yesno" >&5
 
11455
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5
21433
11456
$as_echo "$_yesno" >&6; }
21434
11457
 
21435
 
        { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
 
11458
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
21436
11459
$as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
21437
11460
                save_CFLAGS="$CFLAGS"
21438
11461
        save_LDFLAGS="$LDFLAGS"
21441
11464
        LDFLAGS=""
21442
11465
        LIBS=""
21443
11466
        CFLAGS="$WERROR -fno-strict-aliasing"
21444
 
        cat >conftest.$ac_ext <<_ACEOF
21445
 
/* confdefs.h.  */
21446
 
_ACEOF
21447
 
cat confdefs.h >>conftest.$ac_ext
21448
 
cat >>conftest.$ac_ext <<_ACEOF
 
11467
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21449
11468
/* end confdefs.h.  */
21450
11469
 
21451
11470
                 int main(int c, char **v) { (void)c; (void)v; return 0; }
21452
11471
 
21453
11472
_ACEOF
21454
 
rm -f conftest.$ac_objext conftest$ac_exeext
21455
 
if { (ac_try="$ac_link"
21456
 
case "(($ac_try" in
21457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21458
 
  *) ac_try_echo=$ac_try;;
21459
 
esac
21460
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21461
 
$as_echo "$ac_try_echo") >&5
21462
 
  (eval "$ac_link") 2>conftest.er1
21463
 
  ac_status=$?
21464
 
  grep -v '^ *+' conftest.er1 >conftest.err
21465
 
  rm -f conftest.er1
21466
 
  cat conftest.err >&5
21467
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468
 
  (exit $ac_status); } && {
21469
 
         test -z "$ac_c_werror_flag" ||
21470
 
         test ! -s conftest.err
21471
 
       } && test -s conftest$ac_exeext && {
21472
 
         test "$cross_compiling" = yes ||
21473
 
         $as_test_x conftest$ac_exeext
21474
 
       }; then
 
11473
if ac_fn_c_try_link "$LINENO"; then :
21475
11474
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21476
11475
                 pixman_cc_flag=yes
21477
11476
else
21478
 
  $as_echo "$as_me: failed program was:" >&5
21479
 
sed 's/^/| /' conftest.$ac_ext >&5
21480
 
 
21481
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
11477
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21482
11478
                 pixman_cc_flag=no
21483
11479
fi
21484
 
 
21485
 
rm -rf conftest.dSYM
21486
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21487
 
      conftest$ac_exeext conftest.$ac_ext
 
11480
rm -f core conftest.err conftest.$ac_objext \
 
11481
    conftest$ac_exeext conftest.$ac_ext
21488
11482
 
21489
11483
        if test "x$pixman_cc_stderr" != "x"; then
21490
11484
                pixman_cc_flag=no
21502
11496
        if test "x$_yesno" = xyes; then
21503
11497
           CFLAGS="$CFLAGS -fno-strict-aliasing"
21504
11498
        fi
21505
 
        { $as_echo "$as_me:$LINENO: result: $_yesno" >&5
 
11499
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5
21506
11500
$as_echo "$_yesno" >&6; }
21507
11501
 
21508
11502
 
21509
11503
# Extract the first word of "perl", so it can be a program name with args.
21510
11504
set dummy perl; ac_word=$2
21511
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21512
11506
$as_echo_n "checking for $ac_word... " >&6; }
21513
 
if test "${ac_cv_path_PERL+set}" = set; then
 
11507
if test "${ac_cv_path_PERL+set}" = set; then :
21514
11508
  $as_echo_n "(cached) " >&6
21515
11509
else
21516
11510
  case $PERL in
21523
11517
do
21524
11518
  IFS=$as_save_IFS
21525
11519
  test -z "$as_dir" && as_dir=.
21526
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11520
    for ac_exec_ext in '' $ac_executable_extensions; do
21527
11521
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21528
11522
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
21529
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11523
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21530
11524
    break 2
21531
11525
  fi
21532
11526
done
21533
 
done
 
11527
  done
21534
11528
IFS=$as_save_IFS
21535
11529
 
21536
11530
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
21539
11533
fi
21540
11534
PERL=$ac_cv_path_PERL
21541
11535
if test -n "$PERL"; then
21542
 
  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
 
11536
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
21543
11537
$as_echo "$PERL" >&6; }
21544
11538
else
21545
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21546
11540
$as_echo "no" >&6; }
21547
11541
fi
21548
11542
 
21549
11543
 
21550
11544
if test "x$PERL" = xno; then
21551
 
    { { $as_echo "$as_me:$LINENO: error: Perl is required to build pixman." >&5
21552
 
$as_echo "$as_me: error: Perl is required to build pixman." >&2;}
21553
 
   { (exit 1); exit 1; }; }
 
11545
    as_fn_error $? "Perl is required to build pixman." "$LINENO" 5
21554
11546
fi
21555
11547
 
21556
11548
 
21560
11552
 
21561
11553
  OPENMP_CFLAGS=
21562
11554
  # Check whether --enable-openmp was given.
21563
 
if test "${enable_openmp+set}" = set; then
 
11555
if test "${enable_openmp+set}" = set; then :
21564
11556
  enableval=$enable_openmp;
21565
11557
fi
21566
11558
 
21567
11559
  if test "$enable_openmp" != no; then
21568
 
    { $as_echo "$as_me:$LINENO: checking for $CC option to support OpenMP" >&5
 
11560
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to support OpenMP" >&5
21569
11561
$as_echo_n "checking for $CC option to support OpenMP... " >&6; }
21570
 
if test "${ac_cv_prog_c_openmp+set}" = set; then
 
11562
if test "${ac_cv_prog_c_openmp+set}" = set; then :
21571
11563
  $as_echo_n "(cached) " >&6
21572
11564
else
21573
 
  cat >conftest.$ac_ext <<_ACEOF
 
11565
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11566
/* end confdefs.h.  */
21574
11567
 
21575
11568
#ifndef _OPENMP
21576
11569
 choke me
21579
11572
int main () { return omp_get_num_threads (); }
21580
11573
 
21581
11574
_ACEOF
21582
 
rm -f conftest.$ac_objext conftest$ac_exeext
21583
 
if { (ac_try="$ac_link"
21584
 
case "(($ac_try" in
21585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586
 
  *) ac_try_echo=$ac_try;;
21587
 
esac
21588
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21589
 
$as_echo "$ac_try_echo") >&5
21590
 
  (eval "$ac_link") 2>conftest.er1
21591
 
  ac_status=$?
21592
 
  grep -v '^ *+' conftest.er1 >conftest.err
21593
 
  rm -f conftest.er1
21594
 
  cat conftest.err >&5
21595
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596
 
  (exit $ac_status); } && {
21597
 
         test -z "$ac_c_werror_flag" ||
21598
 
         test ! -s conftest.err
21599
 
       } && test -s conftest$ac_exeext && {
21600
 
         test "$cross_compiling" = yes ||
21601
 
         $as_test_x conftest$ac_exeext
21602
 
       }; then
 
11575
if ac_fn_c_try_link "$LINENO"; then :
21603
11576
  ac_cv_prog_c_openmp='none needed'
21604
11577
else
21605
 
  $as_echo "$as_me: failed program was:" >&5
21606
 
sed 's/^/| /' conftest.$ac_ext >&5
21607
 
 
21608
 
        ac_cv_prog_c_openmp='unsupported'
 
11578
  ac_cv_prog_c_openmp='unsupported'
21609
11579
                                                                                                          for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do
21610
11580
            ac_save_CFLAGS=$CFLAGS
21611
11581
            CFLAGS="$CFLAGS $ac_option"
21612
 
            cat >conftest.$ac_ext <<_ACEOF
 
11582
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11583
/* end confdefs.h.  */
21613
11584
 
21614
11585
#ifndef _OPENMP
21615
11586
 choke me
21618
11589
int main () { return omp_get_num_threads (); }
21619
11590
 
21620
11591
_ACEOF
21621
 
rm -f conftest.$ac_objext conftest$ac_exeext
21622
 
if { (ac_try="$ac_link"
21623
 
case "(($ac_try" in
21624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21625
 
  *) ac_try_echo=$ac_try;;
21626
 
esac
21627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21628
 
$as_echo "$ac_try_echo") >&5
21629
 
  (eval "$ac_link") 2>conftest.er1
21630
 
  ac_status=$?
21631
 
  grep -v '^ *+' conftest.er1 >conftest.err
21632
 
  rm -f conftest.er1
21633
 
  cat conftest.err >&5
21634
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635
 
  (exit $ac_status); } && {
21636
 
         test -z "$ac_c_werror_flag" ||
21637
 
         test ! -s conftest.err
21638
 
       } && test -s conftest$ac_exeext && {
21639
 
         test "$cross_compiling" = yes ||
21640
 
         $as_test_x conftest$ac_exeext
21641
 
       }; then
 
11592
if ac_fn_c_try_link "$LINENO"; then :
21642
11593
  ac_cv_prog_c_openmp=$ac_option
21643
 
else
21644
 
  $as_echo "$as_me: failed program was:" >&5
21645
 
sed 's/^/| /' conftest.$ac_ext >&5
21646
 
 
21647
 
 
21648
11594
fi
21649
 
 
21650
 
rm -rf conftest.dSYM
21651
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21652
 
      conftest$ac_exeext conftest.$ac_ext
 
11595
rm -f core conftest.err conftest.$ac_objext \
 
11596
    conftest$ac_exeext conftest.$ac_ext
21653
11597
            CFLAGS=$ac_save_CFLAGS
21654
11598
            if test "$ac_cv_prog_c_openmp" != unsupported; then
21655
11599
              break
21656
11600
            fi
21657
11601
          done
21658
11602
fi
21659
 
 
21660
 
rm -rf conftest.dSYM
21661
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21662
 
      conftest$ac_exeext conftest.$ac_ext
 
11603
rm -f core conftest.err conftest.$ac_objext \
 
11604
    conftest$ac_exeext conftest.$ac_ext
21663
11605
fi
21664
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_c_openmp" >&5
 
11606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_c_openmp" >&5
21665
11607
$as_echo "$ac_cv_prog_c_openmp" >&6; }
21666
11608
    case $ac_cv_prog_c_openmp in #(
21667
11609
      "none needed" | unsupported)
21668
 
        ;; #(
 
11610
        ;; #(
21669
11611
      *)
21670
 
        OPENMP_CFLAGS=$ac_cv_prog_c_openmp ;;
 
11612
        OPENMP_CFLAGS=$ac_cv_prog_c_openmp ;;
21671
11613
    esac
21672
11614
  fi
21673
11615
 
21674
11616
 
21675
11617
 
21676
11618
if test "x$enable_openmp" = "xyes" && test "x$ac_cv_prog_c_openmp" = "xunsupported" ; then
21677
 
  { $as_echo "$as_me:$LINENO: WARNING: OpenMP support requested but found unsupported" >&5
 
11619
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenMP support requested but found unsupported" >&5
21678
11620
$as_echo "$as_me: WARNING: OpenMP support requested but found unsupported" >&2;}
21679
11621
fi
21680
11622
 
21688
11630
        LDFLAGS=""
21689
11631
        LIBS=""
21690
11632
        CFLAGS="$OPENMP_CFLAGS" LDFLAGS="$OPENMP_CFLAGS"
21691
 
        cat >conftest.$ac_ext <<_ACEOF
21692
 
/* confdefs.h.  */
21693
 
_ACEOF
21694
 
cat confdefs.h >>conftest.$ac_ext
21695
 
cat >>conftest.$ac_ext <<_ACEOF
 
11633
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21696
11634
/* end confdefs.h.  */
21697
11635
  #include <stdio.h>
21698
11636
 
21728
11666
  }
21729
11667
 
21730
11668
_ACEOF
21731
 
rm -f conftest.$ac_objext conftest$ac_exeext
21732
 
if { (ac_try="$ac_link"
21733
 
case "(($ac_try" in
21734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21735
 
  *) ac_try_echo=$ac_try;;
21736
 
esac
21737
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21738
 
$as_echo "$ac_try_echo") >&5
21739
 
  (eval "$ac_link") 2>conftest.er1
21740
 
  ac_status=$?
21741
 
  grep -v '^ *+' conftest.er1 >conftest.err
21742
 
  rm -f conftest.er1
21743
 
  cat conftest.err >&5
21744
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745
 
  (exit $ac_status); } && {
21746
 
         test -z "$ac_c_werror_flag" ||
21747
 
         test ! -s conftest.err
21748
 
       } && test -s conftest$ac_exeext && {
21749
 
         test "$cross_compiling" = yes ||
21750
 
         $as_test_x conftest$ac_exeext
21751
 
       }; then
 
11669
if ac_fn_c_try_link "$LINENO"; then :
21752
11670
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21753
11671
                 pixman_cc_flag=yes
21754
11672
else
21755
 
  $as_echo "$as_me: failed program was:" >&5
21756
 
sed 's/^/| /' conftest.$ac_ext >&5
21757
 
 
21758
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
11673
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21759
11674
                 pixman_cc_flag=no
21760
11675
fi
21761
 
 
21762
 
rm -rf conftest.dSYM
21763
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21764
 
      conftest$ac_exeext conftest.$ac_ext
 
11676
rm -f core conftest.err conftest.$ac_objext \
 
11677
    conftest$ac_exeext conftest.$ac_ext
21765
11678
 
21766
11679
        if test "x$pixman_cc_stderr" != "x"; then
21767
11680
                pixman_cc_flag=no
21778
11691
 
21779
11692
  if test "x$have_openmp" = "xyes" ; then
21780
11693
 
21781
 
cat >>confdefs.h <<\_ACEOF
21782
 
#define USE_OPENMP 1
21783
 
_ACEOF
 
11694
$as_echo "#define USE_OPENMP 1" >>confdefs.h
21784
11695
 
21785
11696
  fi
21786
11697
fi
21787
11698
 
21788
11699
 
21789
11700
 
21790
 
        { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fvisibility=hidden" >&5
 
11701
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
21791
11702
$as_echo_n "checking whether the compiler supports -fvisibility=hidden... " >&6; }
21792
11703
                save_CFLAGS="$CFLAGS"
21793
11704
        save_LDFLAGS="$LDFLAGS"
21796
11707
        LDFLAGS=""
21797
11708
        LIBS=""
21798
11709
        CFLAGS="$WERROR -fvisibility=hidden"
21799
 
        cat >conftest.$ac_ext <<_ACEOF
21800
 
/* confdefs.h.  */
21801
 
_ACEOF
21802
 
cat confdefs.h >>conftest.$ac_ext
21803
 
cat >>conftest.$ac_ext <<_ACEOF
 
11710
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21804
11711
/* end confdefs.h.  */
21805
11712
#if defined(__GNUC__) && (__GNUC__ >= 4)
21806
11713
#ifdef _WIN32
21813
11720
                 int main(int c, char **v) { (void)c; (void)v; return 0; }
21814
11721
 
21815
11722
_ACEOF
21816
 
rm -f conftest.$ac_objext conftest$ac_exeext
21817
 
if { (ac_try="$ac_link"
21818
 
case "(($ac_try" in
21819
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820
 
  *) ac_try_echo=$ac_try;;
21821
 
esac
21822
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21823
 
$as_echo "$ac_try_echo") >&5
21824
 
  (eval "$ac_link") 2>conftest.er1
21825
 
  ac_status=$?
21826
 
  grep -v '^ *+' conftest.er1 >conftest.err
21827
 
  rm -f conftest.er1
21828
 
  cat conftest.err >&5
21829
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830
 
  (exit $ac_status); } && {
21831
 
         test -z "$ac_c_werror_flag" ||
21832
 
         test ! -s conftest.err
21833
 
       } && test -s conftest$ac_exeext && {
21834
 
         test "$cross_compiling" = yes ||
21835
 
         $as_test_x conftest$ac_exeext
21836
 
       }; then
 
11723
if ac_fn_c_try_link "$LINENO"; then :
21837
11724
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21838
11725
                 pixman_cc_flag=yes
21839
11726
else
21840
 
  $as_echo "$as_me: failed program was:" >&5
21841
 
sed 's/^/| /' conftest.$ac_ext >&5
21842
 
 
21843
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
11727
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21844
11728
                 pixman_cc_flag=no
21845
11729
fi
21846
 
 
21847
 
rm -rf conftest.dSYM
21848
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21849
 
      conftest$ac_exeext conftest.$ac_ext
 
11730
rm -f core conftest.err conftest.$ac_objext \
 
11731
    conftest$ac_exeext conftest.$ac_ext
21850
11732
 
21851
11733
        if test "x$pixman_cc_stderr" != "x"; then
21852
11734
                pixman_cc_flag=no
21864
11746
        if test "x$_yesno" = xyes; then
21865
11747
           CFLAGS="$CFLAGS -fvisibility=hidden"
21866
11748
        fi
21867
 
        { $as_echo "$as_me:$LINENO: result: $_yesno" >&5
 
11749
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5
21868
11750
$as_echo "$_yesno" >&6; }
21869
11751
 
21870
11752
 
21871
 
        { $as_echo "$as_me:$LINENO: checking whether the compiler supports -xldscope=hidden" >&5
 
11753
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -xldscope=hidden" >&5
21872
11754
$as_echo_n "checking whether the compiler supports -xldscope=hidden... " >&6; }
21873
11755
                save_CFLAGS="$CFLAGS"
21874
11756
        save_LDFLAGS="$LDFLAGS"
21877
11759
        LDFLAGS=""
21878
11760
        LIBS=""
21879
11761
        CFLAGS="$WERROR -xldscope=hidden"
21880
 
        cat >conftest.$ac_ext <<_ACEOF
21881
 
/* confdefs.h.  */
21882
 
_ACEOF
21883
 
cat confdefs.h >>conftest.$ac_ext
21884
 
cat >>conftest.$ac_ext <<_ACEOF
 
11762
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21885
11763
/* end confdefs.h.  */
21886
11764
#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
21887
11765
#else
21891
11769
                 int main(int c, char **v) { (void)c; (void)v; return 0; }
21892
11770
 
21893
11771
_ACEOF
21894
 
rm -f conftest.$ac_objext conftest$ac_exeext
21895
 
if { (ac_try="$ac_link"
21896
 
case "(($ac_try" in
21897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898
 
  *) ac_try_echo=$ac_try;;
21899
 
esac
21900
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21901
 
$as_echo "$ac_try_echo") >&5
21902
 
  (eval "$ac_link") 2>conftest.er1
21903
 
  ac_status=$?
21904
 
  grep -v '^ *+' conftest.er1 >conftest.err
21905
 
  rm -f conftest.er1
21906
 
  cat conftest.err >&5
21907
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908
 
  (exit $ac_status); } && {
21909
 
         test -z "$ac_c_werror_flag" ||
21910
 
         test ! -s conftest.err
21911
 
       } && test -s conftest$ac_exeext && {
21912
 
         test "$cross_compiling" = yes ||
21913
 
         $as_test_x conftest$ac_exeext
21914
 
       }; then
 
11772
if ac_fn_c_try_link "$LINENO"; then :
21915
11773
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21916
11774
                 pixman_cc_flag=yes
21917
11775
else
21918
 
  $as_echo "$as_me: failed program was:" >&5
21919
 
sed 's/^/| /' conftest.$ac_ext >&5
21920
 
 
21921
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
11776
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
21922
11777
                 pixman_cc_flag=no
21923
11778
fi
21924
 
 
21925
 
rm -rf conftest.dSYM
21926
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21927
 
      conftest$ac_exeext conftest.$ac_ext
 
11779
rm -f core conftest.err conftest.$ac_objext \
 
11780
    conftest$ac_exeext conftest.$ac_ext
21928
11781
 
21929
11782
        if test "x$pixman_cc_stderr" != "x"; then
21930
11783
                pixman_cc_flag=no
21942
11795
        if test "x$_yesno" = xyes; then
21943
11796
           CFLAGS="$CFLAGS -xldscope=hidden"
21944
11797
        fi
21945
 
        { $as_echo "$as_me:$LINENO: result: $_yesno" >&5
 
11798
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5
21946
11799
$as_echo "$_yesno" >&6; }
21947
11800
 
21948
11801
 
21961
11814
fi
21962
11815
 
21963
11816
have_mmx_intrinsics=no
21964
 
{ $as_echo "$as_me:$LINENO: checking whether to use MMX intrinsics" >&5
 
11817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use MMX intrinsics" >&5
21965
11818
$as_echo_n "checking whether to use MMX intrinsics... " >&6; }
21966
11819
xserver_save_CFLAGS=$CFLAGS
21967
11820
CFLAGS="$MMX_CFLAGS $CFLAGS"
21968
 
cat >conftest.$ac_ext <<_ACEOF
21969
 
/* confdefs.h.  */
21970
 
_ACEOF
21971
 
cat confdefs.h >>conftest.$ac_ext
21972
 
cat >>conftest.$ac_ext <<_ACEOF
 
11821
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21973
11822
/* end confdefs.h.  */
21974
11823
 
21975
11824
#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4))
21981
11830
    return _mm_cvtsi64_si32 (v);
21982
11831
}
21983
11832
_ACEOF
21984
 
rm -f conftest.$ac_objext
21985
 
if { (ac_try="$ac_compile"
21986
 
case "(($ac_try" in
21987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988
 
  *) ac_try_echo=$ac_try;;
21989
 
esac
21990
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21991
 
$as_echo "$ac_try_echo") >&5
21992
 
  (eval "$ac_compile") 2>conftest.er1
21993
 
  ac_status=$?
21994
 
  grep -v '^ *+' conftest.er1 >conftest.err
21995
 
  rm -f conftest.er1
21996
 
  cat conftest.err >&5
21997
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998
 
  (exit $ac_status); } && {
21999
 
         test -z "$ac_c_werror_flag" ||
22000
 
         test ! -s conftest.err
22001
 
       } && test -s conftest.$ac_objext; then
 
11833
if ac_fn_c_try_compile "$LINENO"; then :
22002
11834
  have_mmx_intrinsics=yes
22003
 
else
22004
 
  $as_echo "$as_me: failed program was:" >&5
22005
 
sed 's/^/| /' conftest.$ac_ext >&5
22006
 
 
22007
 
 
22008
11835
fi
22009
 
 
22010
11836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22011
11837
CFLAGS=$xserver_save_CFLAGS
22012
11838
 
22013
11839
# Check whether --enable-mmx was given.
22014
 
if test "${enable_mmx+set}" = set; then
 
11840
if test "${enable_mmx+set}" = set; then :
22015
11841
  enableval=$enable_mmx; enable_mmx=$enableval
22016
11842
else
22017
11843
  enable_mmx=auto
22024
11850
 
22025
11851
if test $have_mmx_intrinsics = yes ; then
22026
11852
 
22027
 
cat >>confdefs.h <<\_ACEOF
22028
 
#define USE_MMX 1
22029
 
_ACEOF
 
11853
$as_echo "#define USE_X86_MMX 1" >>confdefs.h
22030
11854
 
22031
11855
else
22032
11856
   MMX_CFLAGS=
22033
11857
fi
22034
11858
 
22035
 
{ $as_echo "$as_me:$LINENO: result: $have_mmx_intrinsics" >&5
 
11859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mmx_intrinsics" >&5
22036
11860
$as_echo "$have_mmx_intrinsics" >&6; }
22037
11861
if test $enable_mmx = yes && test $have_mmx_intrinsics = no ; then
22038
 
   { { $as_echo "$as_me:$LINENO: error: MMX intrinsics not detected" >&5
22039
 
$as_echo "$as_me: error: MMX intrinsics not detected" >&2;}
22040
 
   { (exit 1); exit 1; }; }
 
11862
   as_fn_error $? "x86 MMX intrinsics not detected" "$LINENO" 5
22041
11863
fi
22042
11864
 
22043
11865
 if test $have_mmx_intrinsics = yes; then
22044
 
  USE_MMX_TRUE=
22045
 
  USE_MMX_FALSE='#'
 
11866
  USE_X86_MMX_TRUE=
 
11867
  USE_X86_MMX_FALSE='#'
22046
11868
else
22047
 
  USE_MMX_TRUE='#'
22048
 
  USE_MMX_FALSE=
 
11869
  USE_X86_MMX_TRUE='#'
 
11870
  USE_X86_MMX_FALSE=
22049
11871
fi
22050
11872
 
22051
11873
 
22062
11884
fi
22063
11885
 
22064
11886
have_sse2_intrinsics=no
22065
 
{ $as_echo "$as_me:$LINENO: checking whether to use SSE2 intrinsics" >&5
 
11887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SSE2 intrinsics" >&5
22066
11888
$as_echo_n "checking whether to use SSE2 intrinsics... " >&6; }
22067
11889
xserver_save_CFLAGS=$CFLAGS
22068
11890
CFLAGS="$SSE2_CFLAGS $CFLAGS"
22069
11891
 
22070
 
cat >conftest.$ac_ext <<_ACEOF
22071
 
/* confdefs.h.  */
22072
 
_ACEOF
22073
 
cat confdefs.h >>conftest.$ac_ext
22074
 
cat >>conftest.$ac_ext <<_ACEOF
 
11892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22075
11893
/* end confdefs.h.  */
22076
11894
 
22077
11895
#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 2))
22088
11906
    return 0;
22089
11907
}
22090
11908
_ACEOF
22091
 
rm -f conftest.$ac_objext
22092
 
if { (ac_try="$ac_compile"
22093
 
case "(($ac_try" in
22094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22095
 
  *) ac_try_echo=$ac_try;;
22096
 
esac
22097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22098
 
$as_echo "$ac_try_echo") >&5
22099
 
  (eval "$ac_compile") 2>conftest.er1
22100
 
  ac_status=$?
22101
 
  grep -v '^ *+' conftest.er1 >conftest.err
22102
 
  rm -f conftest.er1
22103
 
  cat conftest.err >&5
22104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105
 
  (exit $ac_status); } && {
22106
 
         test -z "$ac_c_werror_flag" ||
22107
 
         test ! -s conftest.err
22108
 
       } && test -s conftest.$ac_objext; then
 
11909
if ac_fn_c_try_compile "$LINENO"; then :
22109
11910
  have_sse2_intrinsics=yes
22110
 
else
22111
 
  $as_echo "$as_me: failed program was:" >&5
22112
 
sed 's/^/| /' conftest.$ac_ext >&5
22113
 
 
22114
 
 
22115
11911
fi
22116
 
 
22117
11912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118
11913
CFLAGS=$xserver_save_CFLAGS
22119
11914
 
22120
11915
# Check whether --enable-sse2 was given.
22121
 
if test "${enable_sse2+set}" = set; then
 
11916
if test "${enable_sse2+set}" = set; then :
22122
11917
  enableval=$enable_sse2; enable_sse2=$enableval
22123
11918
else
22124
11919
  enable_sse2=auto
22131
11926
 
22132
11927
if test $have_sse2_intrinsics = yes ; then
22133
11928
 
22134
 
cat >>confdefs.h <<\_ACEOF
22135
 
#define USE_SSE2 1
22136
 
_ACEOF
 
11929
$as_echo "#define USE_SSE2 1" >>confdefs.h
22137
11930
 
22138
11931
fi
22139
11932
 
22140
 
{ $as_echo "$as_me:$LINENO: result: $have_sse2_intrinsics" >&5
 
11933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sse2_intrinsics" >&5
22141
11934
$as_echo "$have_sse2_intrinsics" >&6; }
22142
11935
if test $enable_sse2 = yes && test $have_sse2_intrinsics = no ; then
22143
 
   { { $as_echo "$as_me:$LINENO: error: SSE2 intrinsics not detected" >&5
22144
 
$as_echo "$as_me: error: SSE2 intrinsics not detected" >&2;}
22145
 
   { (exit 1); exit 1; }; }
 
11936
   as_fn_error $? "SSE2 intrinsics not detected" "$LINENO" 5
22146
11937
fi
22147
11938
 
22148
11939
 if test $have_sse2_intrinsics = yes; then
22162
11953
      # Not all linkers grok the mapfile format so we check for that first.
22163
11954
      if test "$AMD64_ABI" = "no" ; then
22164
11955
         use_hwcap_mapfile=no
22165
 
         { $as_echo "$as_me:$LINENO: checking whether to use a hardware capability map file" >&5
 
11956
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use a hardware capability map file" >&5
22166
11957
$as_echo_n "checking whether to use a hardware capability map file... " >&6; }
22167
11958
         hwcap_save_LDFLAGS="$LDFLAGS"
22168
11959
         HWCAP_LDFLAGS='-Wl,-M,$(srcdir)/solaris-hwcap.mapfile'
22169
11960
         LDFLAGS="$LDFLAGS -Wl,-M,pixman/solaris-hwcap.mapfile"
22170
 
         cat >conftest.$ac_ext <<_ACEOF
22171
 
/* confdefs.h.  */
22172
 
_ACEOF
22173
 
cat confdefs.h >>conftest.$ac_ext
22174
 
cat >>conftest.$ac_ext <<_ACEOF
 
11961
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22175
11962
/* end confdefs.h.  */
22176
11963
int main() { return 0; }
22177
11964
_ACEOF
22178
 
rm -f conftest.$ac_objext conftest$ac_exeext
22179
 
if { (ac_try="$ac_link"
22180
 
case "(($ac_try" in
22181
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182
 
  *) ac_try_echo=$ac_try;;
22183
 
esac
22184
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22185
 
$as_echo "$ac_try_echo") >&5
22186
 
  (eval "$ac_link") 2>conftest.er1
22187
 
  ac_status=$?
22188
 
  grep -v '^ *+' conftest.er1 >conftest.err
22189
 
  rm -f conftest.er1
22190
 
  cat conftest.err >&5
22191
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192
 
  (exit $ac_status); } && {
22193
 
         test -z "$ac_c_werror_flag" ||
22194
 
         test ! -s conftest.err
22195
 
       } && test -s conftest$ac_exeext && {
22196
 
         test "$cross_compiling" = yes ||
22197
 
         $as_test_x conftest$ac_exeext
22198
 
       }; then
 
11965
if ac_fn_c_try_link "$LINENO"; then :
22199
11966
  use_hwcap_mapfile=yes
22200
11967
else
22201
 
  $as_echo "$as_me: failed program was:" >&5
22202
 
sed 's/^/| /' conftest.$ac_ext >&5
22203
 
 
22204
 
        HWCAP_LDFLAGS=""
 
11968
  HWCAP_LDFLAGS=""
22205
11969
fi
22206
 
 
22207
 
rm -rf conftest.dSYM
22208
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22209
 
      conftest$ac_exeext conftest.$ac_ext
 
11970
rm -f core conftest.err conftest.$ac_objext \
 
11971
    conftest$ac_exeext conftest.$ac_ext
22210
11972
         LDFLAGS="$hwcap_save_LDFLAGS"
22211
 
         { $as_echo "$as_me:$LINENO: result: $use_hwcap_mapfile" >&5
 
11973
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hwcap_mapfile" >&5
22212
11974
$as_echo "$use_hwcap_mapfile" >&6; }
22213
11975
      fi
22214
11976
      if test "x$MMX_LDFLAGS" = "x" ; then
22232
11994
fi
22233
11995
 
22234
11996
have_vmx_intrinsics=no
22235
 
{ $as_echo "$as_me:$LINENO: checking whether to use VMX/Altivec intrinsics" >&5
 
11997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use VMX/Altivec intrinsics" >&5
22236
11998
$as_echo_n "checking whether to use VMX/Altivec intrinsics... " >&6; }
22237
11999
xserver_save_CFLAGS=$CFLAGS
22238
12000
CFLAGS="$VMX_CFLAGS $CFLAGS"
22239
 
cat >conftest.$ac_ext <<_ACEOF
22240
 
/* confdefs.h.  */
22241
 
_ACEOF
22242
 
cat confdefs.h >>conftest.$ac_ext
22243
 
cat >>conftest.$ac_ext <<_ACEOF
 
12001
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22244
12002
/* end confdefs.h.  */
22245
12003
 
22246
12004
#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4))
22253
12011
    return 0;
22254
12012
}
22255
12013
_ACEOF
22256
 
rm -f conftest.$ac_objext
22257
 
if { (ac_try="$ac_compile"
22258
 
case "(($ac_try" in
22259
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260
 
  *) ac_try_echo=$ac_try;;
22261
 
esac
22262
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22263
 
$as_echo "$ac_try_echo") >&5
22264
 
  (eval "$ac_compile") 2>conftest.er1
22265
 
  ac_status=$?
22266
 
  grep -v '^ *+' conftest.er1 >conftest.err
22267
 
  rm -f conftest.er1
22268
 
  cat conftest.err >&5
22269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270
 
  (exit $ac_status); } && {
22271
 
         test -z "$ac_c_werror_flag" ||
22272
 
         test ! -s conftest.err
22273
 
       } && test -s conftest.$ac_objext; then
 
12014
if ac_fn_c_try_compile "$LINENO"; then :
22274
12015
  have_vmx_intrinsics=yes
22275
 
else
22276
 
  $as_echo "$as_me: failed program was:" >&5
22277
 
sed 's/^/| /' conftest.$ac_ext >&5
22278
 
 
22279
 
 
22280
12016
fi
22281
 
 
22282
12017
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283
12018
CFLAGS=$xserver_save_CFLAGS
22284
12019
 
22285
12020
# Check whether --enable-vmx was given.
22286
 
if test "${enable_vmx+set}" = set; then
 
12021
if test "${enable_vmx+set}" = set; then :
22287
12022
  enableval=$enable_vmx; enable_vmx=$enableval
22288
12023
else
22289
12024
  enable_vmx=auto
22296
12031
 
22297
12032
if test $have_vmx_intrinsics = yes ; then
22298
12033
 
22299
 
cat >>confdefs.h <<\_ACEOF
22300
 
#define USE_VMX 1
22301
 
_ACEOF
 
12034
$as_echo "#define USE_VMX 1" >>confdefs.h
22302
12035
 
22303
12036
else
22304
12037
   VMX_CFLAGS=
22305
12038
fi
22306
12039
 
22307
 
{ $as_echo "$as_me:$LINENO: result: $have_vmx_intrinsics" >&5
 
12040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_vmx_intrinsics" >&5
22308
12041
$as_echo "$have_vmx_intrinsics" >&6; }
22309
12042
if test $enable_vmx = yes && test $have_vmx_intrinsics = no ; then
22310
 
   { { $as_echo "$as_me:$LINENO: error: VMX intrinsics not detected" >&5
22311
 
$as_echo "$as_me: error: VMX intrinsics not detected" >&2;}
22312
 
   { (exit 1); exit 1; }; }
 
12043
   as_fn_error $? "VMX intrinsics not detected" "$LINENO" 5
22313
12044
fi
22314
12045
 
22315
12046
 
22324
12055
 
22325
12056
 
22326
12057
have_arm_simd=no
22327
 
{ $as_echo "$as_me:$LINENO: checking whether to use ARM SIMD assembler" >&5
 
12058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ARM SIMD assembler" >&5
22328
12059
$as_echo_n "checking whether to use ARM SIMD assembler... " >&6; }
22329
12060
xserver_save_CFLAGS=$CFLAGS
22330
12061
CFLAGS="-x assembler-with-cpp $CFLAGS"
22331
 
cat >conftest.$ac_ext <<_ACEOF
22332
 
/* confdefs.h.  */
22333
 
_ACEOF
22334
 
cat confdefs.h >>conftest.$ac_ext
22335
 
cat >>conftest.$ac_ext <<_ACEOF
 
12062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22336
12063
/* end confdefs.h.  */
22337
12064
 
22338
12065
.text
22346
12073
pld [r0]
22347
12074
uqadd8 r0, r0, r0
22348
12075
_ACEOF
22349
 
rm -f conftest.$ac_objext
22350
 
if { (ac_try="$ac_compile"
22351
 
case "(($ac_try" in
22352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353
 
  *) ac_try_echo=$ac_try;;
22354
 
esac
22355
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22356
 
$as_echo "$ac_try_echo") >&5
22357
 
  (eval "$ac_compile") 2>conftest.er1
22358
 
  ac_status=$?
22359
 
  grep -v '^ *+' conftest.er1 >conftest.err
22360
 
  rm -f conftest.er1
22361
 
  cat conftest.err >&5
22362
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363
 
  (exit $ac_status); } && {
22364
 
         test -z "$ac_c_werror_flag" ||
22365
 
         test ! -s conftest.err
22366
 
       } && test -s conftest.$ac_objext; then
 
12076
if ac_fn_c_try_compile "$LINENO"; then :
22367
12077
  have_arm_simd=yes
22368
 
else
22369
 
  $as_echo "$as_me: failed program was:" >&5
22370
 
sed 's/^/| /' conftest.$ac_ext >&5
22371
 
 
22372
 
 
22373
12078
fi
22374
 
 
22375
12079
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22376
12080
CFLAGS=$xserver_save_CFLAGS
22377
12081
 
22378
12082
# Check whether --enable-arm-simd was given.
22379
 
if test "${enable_arm_simd+set}" = set; then
 
12083
if test "${enable_arm_simd+set}" = set; then :
22380
12084
  enableval=$enable_arm_simd; enable_arm_simd=$enableval
22381
12085
else
22382
12086
  enable_arm_simd=auto
22389
12093
 
22390
12094
if test $have_arm_simd = yes ; then
22391
12095
 
22392
 
cat >>confdefs.h <<\_ACEOF
22393
 
#define USE_ARM_SIMD 1
22394
 
_ACEOF
 
12096
$as_echo "#define USE_ARM_SIMD 1" >>confdefs.h
22395
12097
 
22396
12098
fi
22397
12099
 
22404
12106
fi
22405
12107
 
22406
12108
 
22407
 
{ $as_echo "$as_me:$LINENO: result: $have_arm_simd" >&5
 
12109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_arm_simd" >&5
22408
12110
$as_echo "$have_arm_simd" >&6; }
22409
12111
if test $enable_arm_simd = yes && test $have_arm_simd = no ; then
22410
 
   { { $as_echo "$as_me:$LINENO: error: ARM SIMD intrinsics not detected" >&5
22411
 
$as_echo "$as_me: error: ARM SIMD intrinsics not detected" >&2;}
22412
 
   { (exit 1); exit 1; }; }
 
12112
   as_fn_error $? "ARM SIMD intrinsics not detected" "$LINENO" 5
22413
12113
fi
22414
12114
 
22415
12115
have_arm_neon=no
22416
 
{ $as_echo "$as_me:$LINENO: checking whether to use ARM NEON assembler" >&5
 
12116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ARM NEON assembler" >&5
22417
12117
$as_echo_n "checking whether to use ARM NEON assembler... " >&6; }
22418
12118
xserver_save_CFLAGS=$CFLAGS
22419
12119
CFLAGS="-x assembler-with-cpp $CFLAGS"
22420
 
cat >conftest.$ac_ext <<_ACEOF
22421
 
/* confdefs.h.  */
22422
 
_ACEOF
22423
 
cat confdefs.h >>conftest.$ac_ext
22424
 
cat >>conftest.$ac_ext <<_ACEOF
 
12120
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22425
12121
/* end confdefs.h.  */
22426
12122
 
22427
12123
.text
22437
12133
pld [r0]
22438
12134
vmovn.u16 d0, q0
22439
12135
_ACEOF
22440
 
rm -f conftest.$ac_objext
22441
 
if { (ac_try="$ac_compile"
22442
 
case "(($ac_try" in
22443
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444
 
  *) ac_try_echo=$ac_try;;
22445
 
esac
22446
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22447
 
$as_echo "$ac_try_echo") >&5
22448
 
  (eval "$ac_compile") 2>conftest.er1
22449
 
  ac_status=$?
22450
 
  grep -v '^ *+' conftest.er1 >conftest.err
22451
 
  rm -f conftest.er1
22452
 
  cat conftest.err >&5
22453
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454
 
  (exit $ac_status); } && {
22455
 
         test -z "$ac_c_werror_flag" ||
22456
 
         test ! -s conftest.err
22457
 
       } && test -s conftest.$ac_objext; then
 
12136
if ac_fn_c_try_compile "$LINENO"; then :
22458
12137
  have_arm_neon=yes
22459
 
else
22460
 
  $as_echo "$as_me: failed program was:" >&5
22461
 
sed 's/^/| /' conftest.$ac_ext >&5
22462
 
 
22463
 
 
22464
12138
fi
22465
 
 
22466
12139
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467
12140
CFLAGS=$xserver_save_CFLAGS
22468
12141
 
22469
12142
# Check whether --enable-arm-neon was given.
22470
 
if test "${enable_arm_neon+set}" = set; then
 
12143
if test "${enable_arm_neon+set}" = set; then :
22471
12144
  enableval=$enable_arm_neon; enable_arm_neon=$enableval
22472
12145
else
22473
12146
  enable_arm_neon=auto
22480
12153
 
22481
12154
if test $have_arm_neon = yes ; then
22482
12155
 
22483
 
cat >>confdefs.h <<\_ACEOF
22484
 
#define USE_ARM_NEON 1
22485
 
_ACEOF
 
12156
$as_echo "#define USE_ARM_NEON 1" >>confdefs.h
22486
12157
 
22487
12158
fi
22488
12159
 
22495
12166
fi
22496
12167
 
22497
12168
 
22498
 
{ $as_echo "$as_me:$LINENO: result: $have_arm_neon" >&5
 
12169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_arm_neon" >&5
22499
12170
$as_echo "$have_arm_neon" >&6; }
22500
12171
if test $enable_arm_neon = yes && test $have_arm_neon = no ; then
22501
 
   { { $as_echo "$as_me:$LINENO: error: ARM NEON intrinsics not detected" >&5
22502
 
$as_echo "$as_me: error: ARM NEON intrinsics not detected" >&2;}
22503
 
   { (exit 1); exit 1; }; }
22504
 
fi
 
12172
   as_fn_error $? "ARM NEON intrinsics not detected" "$LINENO" 5
 
12173
fi
 
12174
 
 
12175
 
 
12176
if test "x$IWMMXT_CFLAGS" = "x" ; then
 
12177
   IWMMXT_CFLAGS="-march=iwmmxt -flax-vector-conversions -Winline"
 
12178
fi
 
12179
 
 
12180
have_iwmmxt_intrinsics=no
 
12181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ARM IWMMXT intrinsics" >&5
 
12182
$as_echo_n "checking whether to use ARM IWMMXT intrinsics... " >&6; }
 
12183
xserver_save_CFLAGS=$CFLAGS
 
12184
CFLAGS="$IWMMXT_CFLAGS $CFLAGS"
 
12185
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12186
/* end confdefs.h.  */
 
12187
 
 
12188
#ifndef __arm__
 
12189
#error "IWMMXT is only available on ARM"
 
12190
#endif
 
12191
#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6))
 
12192
#error "Need GCC >= 4.6 for IWMMXT intrinsics"
 
12193
#endif
 
12194
#include <mmintrin.h>
 
12195
int main () {
 
12196
        union {
 
12197
                __m64 v;
 
12198
                char c[8];
 
12199
        } a = { .c = {1, 2, 3, 4, 5, 6, 7, 8} };
 
12200
        int b = 4;
 
12201
        __m64 c = _mm_srli_si64 (a.v, b);
 
12202
}
 
12203
_ACEOF
 
12204
if ac_fn_c_try_compile "$LINENO"; then :
 
12205
  have_iwmmxt_intrinsics=yes
 
12206
fi
 
12207
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12208
CFLAGS=$xserver_save_CFLAGS
 
12209
 
 
12210
# Check whether --enable-arm-iwmmxt was given.
 
12211
if test "${enable_arm_iwmmxt+set}" = set; then :
 
12212
  enableval=$enable_arm_iwmmxt; enable_iwmmxt=$enableval
 
12213
else
 
12214
  enable_iwmmxt=auto
 
12215
fi
 
12216
 
 
12217
 
 
12218
if test $enable_iwmmxt = no ; then
 
12219
   have_iwmmxt_intrinsics=disabled
 
12220
fi
 
12221
 
 
12222
if test $have_iwmmxt_intrinsics = yes ; then
 
12223
 
 
12224
$as_echo "#define USE_ARM_IWMMXT 1" >>confdefs.h
 
12225
 
 
12226
else
 
12227
   IWMMXT_CFLAGS=
 
12228
fi
 
12229
 
 
12230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_iwmmxt_intrinsics" >&5
 
12231
$as_echo "$have_iwmmxt_intrinsics" >&6; }
 
12232
if test $enable_iwmmxt = yes && test $have_iwmmxt_intrinsics = no ; then
 
12233
   as_fn_error $? "IWMMXT intrinsics not detected" "$LINENO" 5
 
12234
fi
 
12235
 
 
12236
 if test $have_iwmmxt_intrinsics = yes; then
 
12237
  USE_ARM_IWMMXT_TRUE=
 
12238
  USE_ARM_IWMMXT_FALSE='#'
 
12239
else
 
12240
  USE_ARM_IWMMXT_TRUE='#'
 
12241
  USE_ARM_IWMMXT_FALSE=
 
12242
fi
 
12243
 
22505
12244
 
22506
12245
 
22507
12246
have_gcc_inline_asm=no
22508
 
{ $as_echo "$as_me:$LINENO: checking whether to use GNU-style inline assembler" >&5
 
12247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use GNU-style inline assembler" >&5
22509
12248
$as_echo_n "checking whether to use GNU-style inline assembler... " >&6; }
22510
 
cat >conftest.$ac_ext <<_ACEOF
22511
 
/* confdefs.h.  */
22512
 
_ACEOF
22513
 
cat confdefs.h >>conftest.$ac_ext
22514
 
cat >>conftest.$ac_ext <<_ACEOF
 
12249
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22515
12250
/* end confdefs.h.  */
22516
12251
 
22517
12252
int main () {
22520
12255
    return 0;
22521
12256
}
22522
12257
_ACEOF
22523
 
rm -f conftest.$ac_objext
22524
 
if { (ac_try="$ac_compile"
22525
 
case "(($ac_try" in
22526
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527
 
  *) ac_try_echo=$ac_try;;
22528
 
esac
22529
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22530
 
$as_echo "$ac_try_echo") >&5
22531
 
  (eval "$ac_compile") 2>conftest.er1
22532
 
  ac_status=$?
22533
 
  grep -v '^ *+' conftest.er1 >conftest.err
22534
 
  rm -f conftest.er1
22535
 
  cat conftest.err >&5
22536
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537
 
  (exit $ac_status); } && {
22538
 
         test -z "$ac_c_werror_flag" ||
22539
 
         test ! -s conftest.err
22540
 
       } && test -s conftest.$ac_objext; then
 
12258
if ac_fn_c_try_compile "$LINENO"; then :
22541
12259
  have_gcc_inline_asm=yes
22542
 
else
22543
 
  $as_echo "$as_me: failed program was:" >&5
22544
 
sed 's/^/| /' conftest.$ac_ext >&5
22545
 
 
22546
 
 
22547
12260
fi
22548
 
 
22549
12261
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22550
12262
 
22551
12263
# Check whether --enable-gcc-inline-asm was given.
22552
 
if test "${enable_gcc_inline_asm+set}" = set; then
 
12264
if test "${enable_gcc_inline_asm+set}" = set; then :
22553
12265
  enableval=$enable_gcc_inline_asm; enable_gcc_inline_asm=$enableval
22554
12266
else
22555
12267
  enable_gcc_inline_asm=auto
22562
12274
 
22563
12275
if test $have_gcc_inline_asm = yes ; then
22564
12276
 
22565
 
cat >>confdefs.h <<\_ACEOF
22566
 
#define USE_GCC_INLINE_ASM 1
22567
 
_ACEOF
 
12277
$as_echo "#define USE_GCC_INLINE_ASM 1" >>confdefs.h
22568
12278
 
22569
12279
fi
22570
12280
 
22571
 
{ $as_echo "$as_me:$LINENO: result: $have_gcc_inline_asm" >&5
 
12281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_inline_asm" >&5
22572
12282
$as_echo "$have_gcc_inline_asm" >&6; }
22573
12283
if test $enable_gcc_inline_asm = yes && test $have_gcc_inline_asm = no ; then
22574
 
   { { $as_echo "$as_me:$LINENO: error: GNU-style inline assembler not detected" >&5
22575
 
$as_echo "$as_me: error: GNU-style inline assembler not detected" >&2;}
22576
 
   { (exit 1); exit 1; }; }
 
12284
   as_fn_error $? "GNU-style inline assembler not detected" "$LINENO" 5
22577
12285
fi
22578
12286
 
22579
12287
 if test $have_gcc_inline_asm = yes; then
22587
12295
 
22588
12296
 
22589
12297
# Check whether --enable-static-testprogs was given.
22590
 
if test "${enable_static_testprogs+set}" = set; then
 
12298
if test "${enable_static_testprogs+set}" = set; then :
22591
12299
  enableval=$enable_static_testprogs; enable_static_testprogs=$enableval
22592
12300
else
22593
12301
  enable_static_testprogs=no
22602
12310
 
22603
12311
 
22604
12312
# Check whether --enable-timers was given.
22605
 
if test "${enable_timers+set}" = set; then
 
12313
if test "${enable_timers+set}" = set; then :
22606
12314
  enableval=$enable_timers; enable_timers=$enableval
22607
12315
else
22608
12316
  enable_timers=no
22611
12319
 
22612
12320
if test $enable_timers = yes ; then
22613
12321
 
22614
 
cat >>confdefs.h <<\_ACEOF
22615
 
#define PIXMAN_TIMERS 1
22616
 
_ACEOF
 
12322
$as_echo "#define PIXMAN_TIMERS 1" >>confdefs.h
22617
12323
 
22618
12324
fi
22619
12325
 
22620
12326
 
22621
12327
 
22622
12328
# Check whether --enable-gtk was given.
22623
 
if test "${enable_gtk+set}" = set; then
 
12329
if test "${enable_gtk+set}" = set; then :
22624
12330
  enableval=$enable_gtk; enable_gtk=$enableval
22625
12331
else
22626
12332
  enable_gtk=auto
22629
12335
 
22630
12336
 
22631
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
22632
12343
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22633
12344
        if test -n "$ac_tool_prefix"; then
22634
12345
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22635
12346
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22636
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22637
12348
$as_echo_n "checking for $ac_word... " >&6; }
22638
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12349
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22639
12350
  $as_echo_n "(cached) " >&6
22640
12351
else
22641
12352
  case $PKG_CONFIG in
22648
12359
do
22649
12360
  IFS=$as_save_IFS
22650
12361
  test -z "$as_dir" && as_dir=.
22651
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12362
    for ac_exec_ext in '' $ac_executable_extensions; do
22652
12363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22653
12364
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22654
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12365
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22655
12366
    break 2
22656
12367
  fi
22657
12368
done
22658
 
done
 
12369
  done
22659
12370
IFS=$as_save_IFS
22660
12371
 
22661
12372
  ;;
22663
12374
fi
22664
12375
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22665
12376
if test -n "$PKG_CONFIG"; then
22666
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22667
12378
$as_echo "$PKG_CONFIG" >&6; }
22668
12379
else
22669
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22670
12381
$as_echo "no" >&6; }
22671
12382
fi
22672
12383
 
22676
12387
  ac_pt_PKG_CONFIG=$PKG_CONFIG
22677
12388
  # Extract the first word of "pkg-config", so it can be a program name with args.
22678
12389
set dummy pkg-config; ac_word=$2
22679
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22680
12391
$as_echo_n "checking for $ac_word... " >&6; }
22681
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12392
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22682
12393
  $as_echo_n "(cached) " >&6
22683
12394
else
22684
12395
  case $ac_pt_PKG_CONFIG in
22691
12402
do
22692
12403
  IFS=$as_save_IFS
22693
12404
  test -z "$as_dir" && as_dir=.
22694
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12405
    for ac_exec_ext in '' $ac_executable_extensions; do
22695
12406
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22696
12407
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22697
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12408
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22698
12409
    break 2
22699
12410
  fi
22700
12411
done
22701
 
done
 
12412
  done
22702
12413
IFS=$as_save_IFS
22703
12414
 
22704
12415
  ;;
22706
12417
fi
22707
12418
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22708
12419
if test -n "$ac_pt_PKG_CONFIG"; then
22709
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12420
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22710
12421
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
22711
12422
else
22712
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12423
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22713
12424
$as_echo "no" >&6; }
22714
12425
fi
22715
12426
 
22718
12429
  else
22719
12430
    case $cross_compiling:$ac_tool_warned in
22720
12431
yes:)
22721
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12432
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22722
12433
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22723
12434
ac_tool_warned=yes ;;
22724
12435
esac
22731
12442
fi
22732
12443
if test -n "$PKG_CONFIG"; then
22733
12444
        _pkg_min_version=0.9.0
22734
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12445
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22735
12446
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22736
12447
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22737
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12448
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22738
12449
$as_echo "yes" >&6; }
22739
12450
        else
22740
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12451
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22741
12452
$as_echo "no" >&6; }
22742
12453
                PKG_CONFIG=""
22743
12454
        fi
22744
 
 
22745
12455
fi
22746
12456
 
22747
12457
if test $enable_gtk = yes ; then
22748
 
 
22749
 
{ $as_echo "$as_me:$LINENO: checking for pixman_version_string in -lpixman-1" >&5
 
12458
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman_version_string in -lpixman-1" >&5
22750
12459
$as_echo_n "checking for pixman_version_string in -lpixman-1... " >&6; }
22751
 
if test "${ac_cv_lib_pixman_1_pixman_version_string+set}" = set; then
 
12460
if test "${ac_cv_lib_pixman_1_pixman_version_string+set}" = set; then :
22752
12461
  $as_echo_n "(cached) " >&6
22753
12462
else
22754
12463
  ac_check_lib_save_LIBS=$LIBS
22755
12464
LIBS="-lpixman-1  $LIBS"
22756
 
cat >conftest.$ac_ext <<_ACEOF
22757
 
/* confdefs.h.  */
22758
 
_ACEOF
22759
 
cat confdefs.h >>conftest.$ac_ext
22760
 
cat >>conftest.$ac_ext <<_ACEOF
 
12465
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22761
12466
/* end confdefs.h.  */
22762
12467
 
22763
12468
/* Override any GCC internal prototype to avoid an error.
22775
12480
  return 0;
22776
12481
}
22777
12482
_ACEOF
22778
 
rm -f conftest.$ac_objext conftest$ac_exeext
22779
 
if { (ac_try="$ac_link"
22780
 
case "(($ac_try" in
22781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22782
 
  *) ac_try_echo=$ac_try;;
22783
 
esac
22784
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22785
 
$as_echo "$ac_try_echo") >&5
22786
 
  (eval "$ac_link") 2>conftest.er1
22787
 
  ac_status=$?
22788
 
  grep -v '^ *+' conftest.er1 >conftest.err
22789
 
  rm -f conftest.er1
22790
 
  cat conftest.err >&5
22791
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792
 
  (exit $ac_status); } && {
22793
 
         test -z "$ac_c_werror_flag" ||
22794
 
         test ! -s conftest.err
22795
 
       } && test -s conftest$ac_exeext && {
22796
 
         test "$cross_compiling" = yes ||
22797
 
         $as_test_x conftest$ac_exeext
22798
 
       }; then
 
12483
if ac_fn_c_try_link "$LINENO"; then :
22799
12484
  ac_cv_lib_pixman_1_pixman_version_string=yes
22800
12485
else
22801
 
  $as_echo "$as_me: failed program was:" >&5
22802
 
sed 's/^/| /' conftest.$ac_ext >&5
22803
 
 
22804
 
        ac_cv_lib_pixman_1_pixman_version_string=no
 
12486
  ac_cv_lib_pixman_1_pixman_version_string=no
22805
12487
fi
22806
 
 
22807
 
rm -rf conftest.dSYM
22808
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22809
 
      conftest$ac_exeext conftest.$ac_ext
 
12488
rm -f core conftest.err conftest.$ac_objext \
 
12489
    conftest$ac_exeext conftest.$ac_ext
22810
12490
LIBS=$ac_check_lib_save_LIBS
22811
12491
fi
22812
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pixman_1_pixman_version_string" >&5
 
12492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pixman_1_pixman_version_string" >&5
22813
12493
$as_echo "$ac_cv_lib_pixman_1_pixman_version_string" >&6; }
22814
 
if test "x$ac_cv_lib_pixman_1_pixman_version_string" = x""yes; then
 
12494
if test "x$ac_cv_lib_pixman_1_pixman_version_string" = x""yes; then :
22815
12495
  cat >>confdefs.h <<_ACEOF
22816
12496
#define HAVE_LIBPIXMAN_1 1
22817
12497
_ACEOF
22822
12502
 
22823
12503
 
22824
12504
pkg_failed=no
22825
 
{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
 
12505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
22826
12506
$as_echo_n "checking for GTK... " >&6; }
22827
12507
 
22828
12508
if test -n "$GTK_CFLAGS"; then
22829
12509
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
22830
12510
 elif test -n "$PKG_CONFIG"; then
22831
12511
    if test -n "$PKG_CONFIG" && \
22832
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\"") >&5
 
12512
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\""; } >&5
22833
12513
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 pixman-1") 2>&5
22834
12514
  ac_status=$?
22835
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836
 
  (exit $ac_status); }; then
 
12515
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12516
  test $ac_status = 0; }; then
22837
12517
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 pixman-1" 2>/dev/null`
 
12518
                      test "x$?" != "x0" && pkg_failed=yes
22838
12519
else
22839
12520
  pkg_failed=yes
22840
12521
fi
22845
12526
    pkg_cv_GTK_LIBS="$GTK_LIBS"
22846
12527
 elif test -n "$PKG_CONFIG"; then
22847
12528
    if test -n "$PKG_CONFIG" && \
22848
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\"") >&5
 
12529
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\""; } >&5
22849
12530
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 pixman-1") 2>&5
22850
12531
  ac_status=$?
22851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852
 
  (exit $ac_status); }; then
 
12532
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12533
  test $ac_status = 0; }; then
22853
12534
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 pixman-1" 2>/dev/null`
 
12535
                      test "x$?" != "x0" && pkg_failed=yes
22854
12536
else
22855
12537
  pkg_failed=yes
22856
12538
fi
22861
12543
 
22862
12544
 
22863
12545
if test $pkg_failed = yes; then
 
12546
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12547
$as_echo "no" >&6; }
22864
12548
 
22865
12549
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22866
12550
        _pkg_short_errors_supported=yes
22868
12552
        _pkg_short_errors_supported=no
22869
12553
fi
22870
12554
        if test $_pkg_short_errors_supported = yes; then
22871
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 pixman-1" 2>&1`
 
12555
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 pixman-1" 2>&1`
22872
12556
        else
22873
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 pixman-1" 2>&1`
 
12557
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 pixman-1" 2>&1`
22874
12558
        fi
22875
12559
        # Put the nasty error message in config.log where it belongs
22876
12560
        echo "$GTK_PKG_ERRORS" >&5
22877
12561
 
22878
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 pixman-1) were not met:
22879
 
 
22880
 
$GTK_PKG_ERRORS
22881
 
 
22882
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22883
 
installed software in a non-standard prefix.
22884
 
 
22885
 
Alternatively, you may set the environment variables GTK_CFLAGS
22886
 
and GTK_LIBS to avoid the need to call pkg-config.
22887
 
See the pkg-config man page for more details.
22888
 
" >&5
22889
 
$as_echo "$as_me: error: Package requirements (gtk+-2.0 pixman-1) were not met:
22890
 
 
22891
 
$GTK_PKG_ERRORS
22892
 
 
22893
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22894
 
installed software in a non-standard prefix.
22895
 
 
22896
 
Alternatively, you may set the environment variables GTK_CFLAGS
22897
 
and GTK_LIBS to avoid the need to call pkg-config.
22898
 
See the pkg-config man page for more details.
22899
 
" >&2;}
22900
 
   { (exit 1); exit 1; }; }
 
12562
        as_fn_error $? "Package requirements (gtk+-2.0 pixman-1) were not met:
 
12563
 
 
12564
$GTK_PKG_ERRORS
 
12565
 
 
12566
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12567
installed software in a non-standard prefix.
 
12568
 
 
12569
Alternatively, you may set the environment variables GTK_CFLAGS
 
12570
and GTK_LIBS to avoid the need to call pkg-config.
 
12571
See the pkg-config man page for more details." "$LINENO" 5
22901
12572
elif test $pkg_failed = untried; then
22902
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12573
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12574
$as_echo "no" >&6; }
 
12575
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22903
12576
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22904
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
22905
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22906
 
path to pkg-config.
22907
 
 
22908
 
Alternatively, you may set the environment variables GTK_CFLAGS
22909
 
and GTK_LIBS to avoid the need to call pkg-config.
22910
 
See the pkg-config man page for more details.
22911
 
 
22912
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22913
 
See \`config.log' for more details." >&5
22914
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
22915
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22916
 
path to pkg-config.
22917
 
 
22918
 
Alternatively, you may set the environment variables GTK_CFLAGS
22919
 
and GTK_LIBS to avoid the need to call pkg-config.
22920
 
See the pkg-config man page for more details.
22921
 
 
22922
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22923
 
See \`config.log' for more details." >&2;}
22924
 
   { (exit 1); exit 1; }; }; }
 
12577
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12578
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12579
path to pkg-config.
 
12580
 
 
12581
Alternatively, you may set the environment variables GTK_CFLAGS
 
12582
and GTK_LIBS to avoid the need to call pkg-config.
 
12583
See the pkg-config man page for more details.
 
12584
 
 
12585
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12586
See \`config.log' for more details" "$LINENO" 5; }
22925
12587
else
22926
12588
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
22927
12589
        GTK_LIBS=$pkg_cv_GTK_LIBS
22928
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12590
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22929
12591
$as_echo "yes" >&6; }
22930
 
        :
 
12592
 
22931
12593
fi
22932
12594
fi
22933
12595
 
22934
12596
if test $enable_gtk = auto ; then
22935
 
   { $as_echo "$as_me:$LINENO: checking for pixman_version_string in -lpixman-1" >&5
 
12597
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman_version_string in -lpixman-1" >&5
22936
12598
$as_echo_n "checking for pixman_version_string in -lpixman-1... " >&6; }
22937
 
if test "${ac_cv_lib_pixman_1_pixman_version_string+set}" = set; then
 
12599
if test "${ac_cv_lib_pixman_1_pixman_version_string+set}" = set; then :
22938
12600
  $as_echo_n "(cached) " >&6
22939
12601
else
22940
12602
  ac_check_lib_save_LIBS=$LIBS
22941
12603
LIBS="-lpixman-1  $LIBS"
22942
 
cat >conftest.$ac_ext <<_ACEOF
22943
 
/* confdefs.h.  */
22944
 
_ACEOF
22945
 
cat confdefs.h >>conftest.$ac_ext
22946
 
cat >>conftest.$ac_ext <<_ACEOF
 
12604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22947
12605
/* end confdefs.h.  */
22948
12606
 
22949
12607
/* Override any GCC internal prototype to avoid an error.
22961
12619
  return 0;
22962
12620
}
22963
12621
_ACEOF
22964
 
rm -f conftest.$ac_objext conftest$ac_exeext
22965
 
if { (ac_try="$ac_link"
22966
 
case "(($ac_try" in
22967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22968
 
  *) ac_try_echo=$ac_try;;
22969
 
esac
22970
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22971
 
$as_echo "$ac_try_echo") >&5
22972
 
  (eval "$ac_link") 2>conftest.er1
22973
 
  ac_status=$?
22974
 
  grep -v '^ *+' conftest.er1 >conftest.err
22975
 
  rm -f conftest.er1
22976
 
  cat conftest.err >&5
22977
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978
 
  (exit $ac_status); } && {
22979
 
         test -z "$ac_c_werror_flag" ||
22980
 
         test ! -s conftest.err
22981
 
       } && test -s conftest$ac_exeext && {
22982
 
         test "$cross_compiling" = yes ||
22983
 
         $as_test_x conftest$ac_exeext
22984
 
       }; then
 
12622
if ac_fn_c_try_link "$LINENO"; then :
22985
12623
  ac_cv_lib_pixman_1_pixman_version_string=yes
22986
12624
else
22987
 
  $as_echo "$as_me: failed program was:" >&5
22988
 
sed 's/^/| /' conftest.$ac_ext >&5
22989
 
 
22990
 
        ac_cv_lib_pixman_1_pixman_version_string=no
 
12625
  ac_cv_lib_pixman_1_pixman_version_string=no
22991
12626
fi
22992
 
 
22993
 
rm -rf conftest.dSYM
22994
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22995
 
      conftest$ac_exeext conftest.$ac_ext
 
12627
rm -f core conftest.err conftest.$ac_objext \
 
12628
    conftest$ac_exeext conftest.$ac_ext
22996
12629
LIBS=$ac_check_lib_save_LIBS
22997
12630
fi
22998
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pixman_1_pixman_version_string" >&5
 
12631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pixman_1_pixman_version_string" >&5
22999
12632
$as_echo "$ac_cv_lib_pixman_1_pixman_version_string" >&6; }
23000
 
if test "x$ac_cv_lib_pixman_1_pixman_version_string" = x""yes; then
 
12633
if test "x$ac_cv_lib_pixman_1_pixman_version_string" = x""yes; then :
23001
12634
  enable_gtk=auto
23002
12635
else
23003
12636
  enable_gtk=no
23008
12641
if test $enable_gtk = auto ; then
23009
12642
 
23010
12643
pkg_failed=no
23011
 
{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
 
12644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
23012
12645
$as_echo_n "checking for GTK... " >&6; }
23013
12646
 
23014
12647
if test -n "$GTK_CFLAGS"; then
23015
12648
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23016
12649
 elif test -n "$PKG_CONFIG"; then
23017
12650
    if test -n "$PKG_CONFIG" && \
23018
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\"") >&5
 
12651
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\""; } >&5
23019
12652
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 pixman-1") 2>&5
23020
12653
  ac_status=$?
23021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022
 
  (exit $ac_status); }; then
 
12654
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12655
  test $ac_status = 0; }; then
23023
12656
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 pixman-1" 2>/dev/null`
 
12657
                      test "x$?" != "x0" && pkg_failed=yes
23024
12658
else
23025
12659
  pkg_failed=yes
23026
12660
fi
23031
12665
    pkg_cv_GTK_LIBS="$GTK_LIBS"
23032
12666
 elif test -n "$PKG_CONFIG"; then
23033
12667
    if test -n "$PKG_CONFIG" && \
23034
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\"") >&5
 
12668
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 pixman-1\""; } >&5
23035
12669
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 pixman-1") 2>&5
23036
12670
  ac_status=$?
23037
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038
 
  (exit $ac_status); }; then
 
12671
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12672
  test $ac_status = 0; }; then
23039
12673
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 pixman-1" 2>/dev/null`
 
12674
                      test "x$?" != "x0" && pkg_failed=yes
23040
12675
else
23041
12676
  pkg_failed=yes
23042
12677
fi
23047
12682
 
23048
12683
 
23049
12684
if test $pkg_failed = yes; then
 
12685
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12686
$as_echo "no" >&6; }
23050
12687
 
23051
12688
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23052
12689
        _pkg_short_errors_supported=yes
23054
12691
        _pkg_short_errors_supported=no
23055
12692
fi
23056
12693
        if test $_pkg_short_errors_supported = yes; then
23057
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 pixman-1" 2>&1`
 
12694
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 pixman-1" 2>&1`
23058
12695
        else
23059
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 pixman-1" 2>&1`
 
12696
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 pixman-1" 2>&1`
23060
12697
        fi
23061
12698
        # Put the nasty error message in config.log where it belongs
23062
12699
        echo "$GTK_PKG_ERRORS" >&5
23063
12700
 
23064
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
23065
 
$as_echo "no" >&6; }
23066
 
                enable_gtk=no
 
12701
        enable_gtk=no
23067
12702
elif test $pkg_failed = untried; then
 
12703
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12704
$as_echo "no" >&6; }
23068
12705
        enable_gtk=no
23069
12706
else
23070
12707
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23071
12708
        GTK_LIBS=$pkg_cv_GTK_LIBS
23072
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12709
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23073
12710
$as_echo "yes" >&6; }
23074
12711
        enable_gtk=yes
23075
12712
fi
23090
12727
 
23091
12728
 
23092
12729
 
23093
 
{ $as_echo "$as_me:$LINENO: checking for posix_memalign" >&5
23094
 
$as_echo_n "checking for posix_memalign... " >&6; }
23095
 
if test "${ac_cv_func_posix_memalign+set}" = set; then
23096
 
  $as_echo_n "(cached) " >&6
23097
 
else
23098
 
  cat >conftest.$ac_ext <<_ACEOF
23099
 
/* confdefs.h.  */
23100
 
_ACEOF
23101
 
cat confdefs.h >>conftest.$ac_ext
23102
 
cat >>conftest.$ac_ext <<_ACEOF
23103
 
/* end confdefs.h.  */
23104
 
/* Define posix_memalign to an innocuous variant, in case <limits.h> declares posix_memalign.
23105
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23106
 
#define posix_memalign innocuous_posix_memalign
23107
 
 
23108
 
/* System header to define __stub macros and hopefully few prototypes,
23109
 
    which can conflict with char posix_memalign (); below.
23110
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23111
 
    <limits.h> exists even on freestanding compilers.  */
23112
 
 
23113
 
#ifdef __STDC__
23114
 
# include <limits.h>
23115
 
#else
23116
 
# include <assert.h>
23117
 
#endif
23118
 
 
23119
 
#undef posix_memalign
23120
 
 
23121
 
/* Override any GCC internal prototype to avoid an error.
23122
 
   Use char because int might match the return type of a GCC
23123
 
   builtin and then its argument prototype would still apply.  */
23124
 
#ifdef __cplusplus
23125
 
extern "C"
23126
 
#endif
23127
 
char posix_memalign ();
23128
 
/* The GNU C library defines this for functions which it implements
23129
 
    to always fail with ENOSYS.  Some functions are actually named
23130
 
    something starting with __ and the normal name is an alias.  */
23131
 
#if defined __stub_posix_memalign || defined __stub___posix_memalign
23132
 
choke me
23133
 
#endif
23134
 
 
23135
 
int
23136
 
main ()
23137
 
{
23138
 
return posix_memalign ();
23139
 
  ;
23140
 
  return 0;
23141
 
}
23142
 
_ACEOF
23143
 
rm -f conftest.$ac_objext conftest$ac_exeext
23144
 
if { (ac_try="$ac_link"
23145
 
case "(($ac_try" in
23146
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147
 
  *) ac_try_echo=$ac_try;;
23148
 
esac
23149
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23150
 
$as_echo "$ac_try_echo") >&5
23151
 
  (eval "$ac_link") 2>conftest.er1
23152
 
  ac_status=$?
23153
 
  grep -v '^ *+' conftest.er1 >conftest.err
23154
 
  rm -f conftest.er1
23155
 
  cat conftest.err >&5
23156
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157
 
  (exit $ac_status); } && {
23158
 
         test -z "$ac_c_werror_flag" ||
23159
 
         test ! -s conftest.err
23160
 
       } && test -s conftest$ac_exeext && {
23161
 
         test "$cross_compiling" = yes ||
23162
 
         $as_test_x conftest$ac_exeext
23163
 
       }; then
23164
 
  ac_cv_func_posix_memalign=yes
23165
 
else
23166
 
  $as_echo "$as_me: failed program was:" >&5
23167
 
sed 's/^/| /' conftest.$ac_ext >&5
23168
 
 
23169
 
        ac_cv_func_posix_memalign=no
23170
 
fi
23171
 
 
23172
 
rm -rf conftest.dSYM
23173
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23174
 
      conftest$ac_exeext conftest.$ac_ext
23175
 
fi
23176
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_posix_memalign" >&5
23177
 
$as_echo "$ac_cv_func_posix_memalign" >&6; }
23178
 
if test "x$ac_cv_func_posix_memalign" = x""yes; then
 
12730
ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
 
12731
if test "x$ac_cv_func_posix_memalign" = x""yes; then :
23179
12732
  have_posix_memalign=yes
23180
12733
else
23181
12734
  have_posix_memalign=no
23183
12736
 
23184
12737
if test x$have_posix_memalign = xyes; then
23185
12738
 
23186
 
cat >>confdefs.h <<\_ACEOF
23187
 
#define HAVE_POSIX_MEMALIGN 1
23188
 
_ACEOF
23189
 
 
23190
 
fi
23191
 
 
23192
 
{ $as_echo "$as_me:$LINENO: checking for sigaction" >&5
23193
 
$as_echo_n "checking for sigaction... " >&6; }
23194
 
if test "${ac_cv_func_sigaction+set}" = set; then
23195
 
  $as_echo_n "(cached) " >&6
23196
 
else
23197
 
  cat >conftest.$ac_ext <<_ACEOF
23198
 
/* confdefs.h.  */
23199
 
_ACEOF
23200
 
cat confdefs.h >>conftest.$ac_ext
23201
 
cat >>conftest.$ac_ext <<_ACEOF
23202
 
/* end confdefs.h.  */
23203
 
/* Define sigaction to an innocuous variant, in case <limits.h> declares sigaction.
23204
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23205
 
#define sigaction innocuous_sigaction
23206
 
 
23207
 
/* System header to define __stub macros and hopefully few prototypes,
23208
 
    which can conflict with char sigaction (); below.
23209
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23210
 
    <limits.h> exists even on freestanding compilers.  */
23211
 
 
23212
 
#ifdef __STDC__
23213
 
# include <limits.h>
23214
 
#else
23215
 
# include <assert.h>
23216
 
#endif
23217
 
 
23218
 
#undef sigaction
23219
 
 
23220
 
/* Override any GCC internal prototype to avoid an error.
23221
 
   Use char because int might match the return type of a GCC
23222
 
   builtin and then its argument prototype would still apply.  */
23223
 
#ifdef __cplusplus
23224
 
extern "C"
23225
 
#endif
23226
 
char sigaction ();
23227
 
/* The GNU C library defines this for functions which it implements
23228
 
    to always fail with ENOSYS.  Some functions are actually named
23229
 
    something starting with __ and the normal name is an alias.  */
23230
 
#if defined __stub_sigaction || defined __stub___sigaction
23231
 
choke me
23232
 
#endif
23233
 
 
23234
 
int
23235
 
main ()
23236
 
{
23237
 
return sigaction ();
23238
 
  ;
23239
 
  return 0;
23240
 
}
23241
 
_ACEOF
23242
 
rm -f conftest.$ac_objext conftest$ac_exeext
23243
 
if { (ac_try="$ac_link"
23244
 
case "(($ac_try" in
23245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23246
 
  *) ac_try_echo=$ac_try;;
23247
 
esac
23248
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23249
 
$as_echo "$ac_try_echo") >&5
23250
 
  (eval "$ac_link") 2>conftest.er1
23251
 
  ac_status=$?
23252
 
  grep -v '^ *+' conftest.er1 >conftest.err
23253
 
  rm -f conftest.er1
23254
 
  cat conftest.err >&5
23255
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256
 
  (exit $ac_status); } && {
23257
 
         test -z "$ac_c_werror_flag" ||
23258
 
         test ! -s conftest.err
23259
 
       } && test -s conftest$ac_exeext && {
23260
 
         test "$cross_compiling" = yes ||
23261
 
         $as_test_x conftest$ac_exeext
23262
 
       }; then
23263
 
  ac_cv_func_sigaction=yes
23264
 
else
23265
 
  $as_echo "$as_me: failed program was:" >&5
23266
 
sed 's/^/| /' conftest.$ac_ext >&5
23267
 
 
23268
 
        ac_cv_func_sigaction=no
23269
 
fi
23270
 
 
23271
 
rm -rf conftest.dSYM
23272
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23273
 
      conftest$ac_exeext conftest.$ac_ext
23274
 
fi
23275
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_sigaction" >&5
23276
 
$as_echo "$ac_cv_func_sigaction" >&6; }
23277
 
if test "x$ac_cv_func_sigaction" = x""yes; then
 
12739
$as_echo "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h
 
12740
 
 
12741
fi
 
12742
 
 
12743
ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
 
12744
if test "x$ac_cv_func_sigaction" = x""yes; then :
23278
12745
  have_sigaction=yes
23279
12746
else
23280
12747
  have_sigaction=no
23282
12749
 
23283
12750
if test x$have_sigaction = xyes; then
23284
12751
 
23285
 
cat >>confdefs.h <<\_ACEOF
23286
 
#define HAVE_SIGACTION 1
23287
 
_ACEOF
23288
 
 
23289
 
fi
23290
 
 
23291
 
{ $as_echo "$as_me:$LINENO: checking for alarm" >&5
23292
 
$as_echo_n "checking for alarm... " >&6; }
23293
 
if test "${ac_cv_func_alarm+set}" = set; then
23294
 
  $as_echo_n "(cached) " >&6
23295
 
else
23296
 
  cat >conftest.$ac_ext <<_ACEOF
23297
 
/* confdefs.h.  */
23298
 
_ACEOF
23299
 
cat confdefs.h >>conftest.$ac_ext
23300
 
cat >>conftest.$ac_ext <<_ACEOF
23301
 
/* end confdefs.h.  */
23302
 
/* Define alarm to an innocuous variant, in case <limits.h> declares alarm.
23303
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23304
 
#define alarm innocuous_alarm
23305
 
 
23306
 
/* System header to define __stub macros and hopefully few prototypes,
23307
 
    which can conflict with char alarm (); below.
23308
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23309
 
    <limits.h> exists even on freestanding compilers.  */
23310
 
 
23311
 
#ifdef __STDC__
23312
 
# include <limits.h>
23313
 
#else
23314
 
# include <assert.h>
23315
 
#endif
23316
 
 
23317
 
#undef alarm
23318
 
 
23319
 
/* Override any GCC internal prototype to avoid an error.
23320
 
   Use char because int might match the return type of a GCC
23321
 
   builtin and then its argument prototype would still apply.  */
23322
 
#ifdef __cplusplus
23323
 
extern "C"
23324
 
#endif
23325
 
char alarm ();
23326
 
/* The GNU C library defines this for functions which it implements
23327
 
    to always fail with ENOSYS.  Some functions are actually named
23328
 
    something starting with __ and the normal name is an alias.  */
23329
 
#if defined __stub_alarm || defined __stub___alarm
23330
 
choke me
23331
 
#endif
23332
 
 
23333
 
int
23334
 
main ()
23335
 
{
23336
 
return alarm ();
23337
 
  ;
23338
 
  return 0;
23339
 
}
23340
 
_ACEOF
23341
 
rm -f conftest.$ac_objext conftest$ac_exeext
23342
 
if { (ac_try="$ac_link"
23343
 
case "(($ac_try" in
23344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345
 
  *) ac_try_echo=$ac_try;;
23346
 
esac
23347
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23348
 
$as_echo "$ac_try_echo") >&5
23349
 
  (eval "$ac_link") 2>conftest.er1
23350
 
  ac_status=$?
23351
 
  grep -v '^ *+' conftest.er1 >conftest.err
23352
 
  rm -f conftest.er1
23353
 
  cat conftest.err >&5
23354
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355
 
  (exit $ac_status); } && {
23356
 
         test -z "$ac_c_werror_flag" ||
23357
 
         test ! -s conftest.err
23358
 
       } && test -s conftest$ac_exeext && {
23359
 
         test "$cross_compiling" = yes ||
23360
 
         $as_test_x conftest$ac_exeext
23361
 
       }; then
23362
 
  ac_cv_func_alarm=yes
23363
 
else
23364
 
  $as_echo "$as_me: failed program was:" >&5
23365
 
sed 's/^/| /' conftest.$ac_ext >&5
23366
 
 
23367
 
        ac_cv_func_alarm=no
23368
 
fi
23369
 
 
23370
 
rm -rf conftest.dSYM
23371
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23372
 
      conftest$ac_exeext conftest.$ac_ext
23373
 
fi
23374
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alarm" >&5
23375
 
$as_echo "$ac_cv_func_alarm" >&6; }
23376
 
if test "x$ac_cv_func_alarm" = x""yes; then
 
12752
$as_echo "#define HAVE_SIGACTION 1" >>confdefs.h
 
12753
 
 
12754
fi
 
12755
 
 
12756
ac_fn_c_check_func "$LINENO" "alarm" "ac_cv_func_alarm"
 
12757
if test "x$ac_cv_func_alarm" = x""yes; then :
23377
12758
  have_alarm=yes
23378
12759
else
23379
12760
  have_alarm=no
23381
12762
 
23382
12763
if test x$have_alarm = xyes; then
23383
12764
 
23384
 
cat >>confdefs.h <<\_ACEOF
23385
 
#define HAVE_ALARM 1
23386
 
_ACEOF
23387
 
 
23388
 
fi
23389
 
 
23390
 
if test "${ac_cv_header_sys_mman_h+set}" = set; then
23391
 
  { $as_echo "$as_me:$LINENO: checking for sys/mman.h" >&5
23392
 
$as_echo_n "checking for sys/mman.h... " >&6; }
23393
 
if test "${ac_cv_header_sys_mman_h+set}" = set; then
23394
 
  $as_echo_n "(cached) " >&6
23395
 
fi
23396
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
23397
 
$as_echo "$ac_cv_header_sys_mman_h" >&6; }
23398
 
else
23399
 
  # Is the header compilable?
23400
 
{ $as_echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
23401
 
$as_echo_n "checking sys/mman.h usability... " >&6; }
23402
 
cat >conftest.$ac_ext <<_ACEOF
23403
 
/* confdefs.h.  */
23404
 
_ACEOF
23405
 
cat confdefs.h >>conftest.$ac_ext
23406
 
cat >>conftest.$ac_ext <<_ACEOF
23407
 
/* end confdefs.h.  */
23408
 
$ac_includes_default
23409
 
#include <sys/mman.h>
23410
 
_ACEOF
23411
 
rm -f conftest.$ac_objext
23412
 
if { (ac_try="$ac_compile"
23413
 
case "(($ac_try" in
23414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23415
 
  *) ac_try_echo=$ac_try;;
23416
 
esac
23417
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23418
 
$as_echo "$ac_try_echo") >&5
23419
 
  (eval "$ac_compile") 2>conftest.er1
23420
 
  ac_status=$?
23421
 
  grep -v '^ *+' conftest.er1 >conftest.err
23422
 
  rm -f conftest.er1
23423
 
  cat conftest.err >&5
23424
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425
 
  (exit $ac_status); } && {
23426
 
         test -z "$ac_c_werror_flag" ||
23427
 
         test ! -s conftest.err
23428
 
       } && test -s conftest.$ac_objext; then
23429
 
  ac_header_compiler=yes
23430
 
else
23431
 
  $as_echo "$as_me: failed program was:" >&5
23432
 
sed 's/^/| /' conftest.$ac_ext >&5
23433
 
 
23434
 
        ac_header_compiler=no
23435
 
fi
23436
 
 
23437
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23438
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23439
 
$as_echo "$ac_header_compiler" >&6; }
23440
 
 
23441
 
# Is the header present?
23442
 
{ $as_echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
23443
 
$as_echo_n "checking sys/mman.h presence... " >&6; }
23444
 
cat >conftest.$ac_ext <<_ACEOF
23445
 
/* confdefs.h.  */
23446
 
_ACEOF
23447
 
cat confdefs.h >>conftest.$ac_ext
23448
 
cat >>conftest.$ac_ext <<_ACEOF
23449
 
/* end confdefs.h.  */
23450
 
#include <sys/mman.h>
23451
 
_ACEOF
23452
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23453
 
case "(($ac_try" in
23454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455
 
  *) ac_try_echo=$ac_try;;
23456
 
esac
23457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23458
 
$as_echo "$ac_try_echo") >&5
23459
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23460
 
  ac_status=$?
23461
 
  grep -v '^ *+' conftest.er1 >conftest.err
23462
 
  rm -f conftest.er1
23463
 
  cat conftest.err >&5
23464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465
 
  (exit $ac_status); } >/dev/null && {
23466
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23467
 
         test ! -s conftest.err
23468
 
       }; then
23469
 
  ac_header_preproc=yes
23470
 
else
23471
 
  $as_echo "$as_me: failed program was:" >&5
23472
 
sed 's/^/| /' conftest.$ac_ext >&5
23473
 
 
23474
 
  ac_header_preproc=no
23475
 
fi
23476
 
 
23477
 
rm -f conftest.err conftest.$ac_ext
23478
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23479
 
$as_echo "$ac_header_preproc" >&6; }
23480
 
 
23481
 
# So?  What about this header?
23482
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23483
 
  yes:no: )
23484
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
23485
 
$as_echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23486
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
23487
 
$as_echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
23488
 
    ac_header_preproc=yes
23489
 
    ;;
23490
 
  no:yes:* )
23491
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
23492
 
$as_echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
23493
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h:     check for missing prerequisite headers?" >&5
23494
 
$as_echo "$as_me: WARNING: sys/mman.h:     check for missing prerequisite headers?" >&2;}
23495
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
23496
 
$as_echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
23497
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h:     section \"Present But Cannot Be Compiled\"" >&5
23498
 
$as_echo "$as_me: WARNING: sys/mman.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23499
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
23500
 
$as_echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
23501
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
23502
 
$as_echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
23503
 
    ( cat <<\_ASBOX
23504
 
## ------------------------------------------- ##
23505
 
## Report this to pixman@lists.freedesktop.org ##
23506
 
## ------------------------------------------- ##
23507
 
_ASBOX
23508
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23509
 
    ;;
23510
 
esac
23511
 
{ $as_echo "$as_me:$LINENO: checking for sys/mman.h" >&5
23512
 
$as_echo_n "checking for sys/mman.h... " >&6; }
23513
 
if test "${ac_cv_header_sys_mman_h+set}" = set; then
23514
 
  $as_echo_n "(cached) " >&6
23515
 
else
23516
 
  ac_cv_header_sys_mman_h=$ac_header_preproc
23517
 
fi
23518
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
23519
 
$as_echo "$ac_cv_header_sys_mman_h" >&6; }
23520
 
 
23521
 
fi
23522
 
if test "x$ac_cv_header_sys_mman_h" = x""yes; then
23523
 
 
23524
 
cat >>confdefs.h <<\_ACEOF
23525
 
#define HAVE_SYS_MMAN_H 1
23526
 
_ACEOF
23527
 
 
23528
 
fi
23529
 
 
23530
 
 
23531
 
 
23532
 
{ $as_echo "$as_me:$LINENO: checking for mmap" >&5
23533
 
$as_echo_n "checking for mmap... " >&6; }
23534
 
if test "${ac_cv_func_mmap+set}" = set; then
23535
 
  $as_echo_n "(cached) " >&6
23536
 
else
23537
 
  cat >conftest.$ac_ext <<_ACEOF
23538
 
/* confdefs.h.  */
23539
 
_ACEOF
23540
 
cat confdefs.h >>conftest.$ac_ext
23541
 
cat >>conftest.$ac_ext <<_ACEOF
23542
 
/* end confdefs.h.  */
23543
 
/* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
23544
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23545
 
#define mmap innocuous_mmap
23546
 
 
23547
 
/* System header to define __stub macros and hopefully few prototypes,
23548
 
    which can conflict with char mmap (); below.
23549
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23550
 
    <limits.h> exists even on freestanding compilers.  */
23551
 
 
23552
 
#ifdef __STDC__
23553
 
# include <limits.h>
23554
 
#else
23555
 
# include <assert.h>
23556
 
#endif
23557
 
 
23558
 
#undef mmap
23559
 
 
23560
 
/* Override any GCC internal prototype to avoid an error.
23561
 
   Use char because int might match the return type of a GCC
23562
 
   builtin and then its argument prototype would still apply.  */
23563
 
#ifdef __cplusplus
23564
 
extern "C"
23565
 
#endif
23566
 
char mmap ();
23567
 
/* The GNU C library defines this for functions which it implements
23568
 
    to always fail with ENOSYS.  Some functions are actually named
23569
 
    something starting with __ and the normal name is an alias.  */
23570
 
#if defined __stub_mmap || defined __stub___mmap
23571
 
choke me
23572
 
#endif
23573
 
 
23574
 
int
23575
 
main ()
23576
 
{
23577
 
return mmap ();
23578
 
  ;
23579
 
  return 0;
23580
 
}
23581
 
_ACEOF
23582
 
rm -f conftest.$ac_objext conftest$ac_exeext
23583
 
if { (ac_try="$ac_link"
23584
 
case "(($ac_try" in
23585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586
 
  *) ac_try_echo=$ac_try;;
23587
 
esac
23588
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23589
 
$as_echo "$ac_try_echo") >&5
23590
 
  (eval "$ac_link") 2>conftest.er1
23591
 
  ac_status=$?
23592
 
  grep -v '^ *+' conftest.er1 >conftest.err
23593
 
  rm -f conftest.er1
23594
 
  cat conftest.err >&5
23595
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596
 
  (exit $ac_status); } && {
23597
 
         test -z "$ac_c_werror_flag" ||
23598
 
         test ! -s conftest.err
23599
 
       } && test -s conftest$ac_exeext && {
23600
 
         test "$cross_compiling" = yes ||
23601
 
         $as_test_x conftest$ac_exeext
23602
 
       }; then
23603
 
  ac_cv_func_mmap=yes
23604
 
else
23605
 
  $as_echo "$as_me: failed program was:" >&5
23606
 
sed 's/^/| /' conftest.$ac_ext >&5
23607
 
 
23608
 
        ac_cv_func_mmap=no
23609
 
fi
23610
 
 
23611
 
rm -rf conftest.dSYM
23612
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23613
 
      conftest$ac_exeext conftest.$ac_ext
23614
 
fi
23615
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
23616
 
$as_echo "$ac_cv_func_mmap" >&6; }
23617
 
if test "x$ac_cv_func_mmap" = x""yes; then
 
12765
$as_echo "#define HAVE_ALARM 1" >>confdefs.h
 
12766
 
 
12767
fi
 
12768
 
 
12769
ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
 
12770
if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
 
12771
 
 
12772
$as_echo "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
 
12773
 
 
12774
fi
 
12775
 
 
12776
 
 
12777
 
 
12778
ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
 
12779
if test "x$ac_cv_func_mmap" = x""yes; then :
23618
12780
  have_mmap=yes
23619
12781
else
23620
12782
  have_mmap=no
23622
12784
 
23623
12785
if test x$have_mmap = xyes; then
23624
12786
 
23625
 
cat >>confdefs.h <<\_ACEOF
23626
 
#define HAVE_MMAP 1
23627
 
_ACEOF
23628
 
 
23629
 
fi
23630
 
 
23631
 
{ $as_echo "$as_me:$LINENO: checking for mprotect" >&5
23632
 
$as_echo_n "checking for mprotect... " >&6; }
23633
 
if test "${ac_cv_func_mprotect+set}" = set; then
23634
 
  $as_echo_n "(cached) " >&6
23635
 
else
23636
 
  cat >conftest.$ac_ext <<_ACEOF
23637
 
/* confdefs.h.  */
23638
 
_ACEOF
23639
 
cat confdefs.h >>conftest.$ac_ext
23640
 
cat >>conftest.$ac_ext <<_ACEOF
23641
 
/* end confdefs.h.  */
23642
 
/* Define mprotect to an innocuous variant, in case <limits.h> declares mprotect.
23643
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23644
 
#define mprotect innocuous_mprotect
23645
 
 
23646
 
/* System header to define __stub macros and hopefully few prototypes,
23647
 
    which can conflict with char mprotect (); below.
23648
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23649
 
    <limits.h> exists even on freestanding compilers.  */
23650
 
 
23651
 
#ifdef __STDC__
23652
 
# include <limits.h>
23653
 
#else
23654
 
# include <assert.h>
23655
 
#endif
23656
 
 
23657
 
#undef mprotect
23658
 
 
23659
 
/* Override any GCC internal prototype to avoid an error.
23660
 
   Use char because int might match the return type of a GCC
23661
 
   builtin and then its argument prototype would still apply.  */
23662
 
#ifdef __cplusplus
23663
 
extern "C"
23664
 
#endif
23665
 
char mprotect ();
23666
 
/* The GNU C library defines this for functions which it implements
23667
 
    to always fail with ENOSYS.  Some functions are actually named
23668
 
    something starting with __ and the normal name is an alias.  */
23669
 
#if defined __stub_mprotect || defined __stub___mprotect
23670
 
choke me
23671
 
#endif
23672
 
 
23673
 
int
23674
 
main ()
23675
 
{
23676
 
return mprotect ();
23677
 
  ;
23678
 
  return 0;
23679
 
}
23680
 
_ACEOF
23681
 
rm -f conftest.$ac_objext conftest$ac_exeext
23682
 
if { (ac_try="$ac_link"
23683
 
case "(($ac_try" in
23684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685
 
  *) ac_try_echo=$ac_try;;
23686
 
esac
23687
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23688
 
$as_echo "$ac_try_echo") >&5
23689
 
  (eval "$ac_link") 2>conftest.er1
23690
 
  ac_status=$?
23691
 
  grep -v '^ *+' conftest.er1 >conftest.err
23692
 
  rm -f conftest.er1
23693
 
  cat conftest.err >&5
23694
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695
 
  (exit $ac_status); } && {
23696
 
         test -z "$ac_c_werror_flag" ||
23697
 
         test ! -s conftest.err
23698
 
       } && test -s conftest$ac_exeext && {
23699
 
         test "$cross_compiling" = yes ||
23700
 
         $as_test_x conftest$ac_exeext
23701
 
       }; then
23702
 
  ac_cv_func_mprotect=yes
23703
 
else
23704
 
  $as_echo "$as_me: failed program was:" >&5
23705
 
sed 's/^/| /' conftest.$ac_ext >&5
23706
 
 
23707
 
        ac_cv_func_mprotect=no
23708
 
fi
23709
 
 
23710
 
rm -rf conftest.dSYM
23711
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23712
 
      conftest$ac_exeext conftest.$ac_ext
23713
 
fi
23714
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
23715
 
$as_echo "$ac_cv_func_mprotect" >&6; }
23716
 
if test "x$ac_cv_func_mprotect" = x""yes; then
 
12787
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
 
12788
 
 
12789
fi
 
12790
 
 
12791
ac_fn_c_check_func "$LINENO" "mprotect" "ac_cv_func_mprotect"
 
12792
if test "x$ac_cv_func_mprotect" = x""yes; then :
23717
12793
  have_mprotect=yes
23718
12794
else
23719
12795
  have_mprotect=no
23721
12797
 
23722
12798
if test x$have_mprotect = xyes; then
23723
12799
 
23724
 
cat >>confdefs.h <<\_ACEOF
23725
 
#define HAVE_MPROTECT 1
23726
 
_ACEOF
23727
 
 
23728
 
fi
23729
 
 
23730
 
{ $as_echo "$as_me:$LINENO: checking for getpagesize" >&5
23731
 
$as_echo_n "checking for getpagesize... " >&6; }
23732
 
if test "${ac_cv_func_getpagesize+set}" = set; then
23733
 
  $as_echo_n "(cached) " >&6
23734
 
else
23735
 
  cat >conftest.$ac_ext <<_ACEOF
23736
 
/* confdefs.h.  */
23737
 
_ACEOF
23738
 
cat confdefs.h >>conftest.$ac_ext
23739
 
cat >>conftest.$ac_ext <<_ACEOF
23740
 
/* end confdefs.h.  */
23741
 
/* Define getpagesize to an innocuous variant, in case <limits.h> declares getpagesize.
23742
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23743
 
#define getpagesize innocuous_getpagesize
23744
 
 
23745
 
/* System header to define __stub macros and hopefully few prototypes,
23746
 
    which can conflict with char getpagesize (); below.
23747
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23748
 
    <limits.h> exists even on freestanding compilers.  */
23749
 
 
23750
 
#ifdef __STDC__
23751
 
# include <limits.h>
23752
 
#else
23753
 
# include <assert.h>
23754
 
#endif
23755
 
 
23756
 
#undef getpagesize
23757
 
 
23758
 
/* Override any GCC internal prototype to avoid an error.
23759
 
   Use char because int might match the return type of a GCC
23760
 
   builtin and then its argument prototype would still apply.  */
23761
 
#ifdef __cplusplus
23762
 
extern "C"
23763
 
#endif
23764
 
char getpagesize ();
23765
 
/* The GNU C library defines this for functions which it implements
23766
 
    to always fail with ENOSYS.  Some functions are actually named
23767
 
    something starting with __ and the normal name is an alias.  */
23768
 
#if defined __stub_getpagesize || defined __stub___getpagesize
23769
 
choke me
23770
 
#endif
23771
 
 
23772
 
int
23773
 
main ()
23774
 
{
23775
 
return getpagesize ();
23776
 
  ;
23777
 
  return 0;
23778
 
}
23779
 
_ACEOF
23780
 
rm -f conftest.$ac_objext conftest$ac_exeext
23781
 
if { (ac_try="$ac_link"
23782
 
case "(($ac_try" in
23783
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23784
 
  *) ac_try_echo=$ac_try;;
23785
 
esac
23786
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23787
 
$as_echo "$ac_try_echo") >&5
23788
 
  (eval "$ac_link") 2>conftest.er1
23789
 
  ac_status=$?
23790
 
  grep -v '^ *+' conftest.er1 >conftest.err
23791
 
  rm -f conftest.er1
23792
 
  cat conftest.err >&5
23793
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794
 
  (exit $ac_status); } && {
23795
 
         test -z "$ac_c_werror_flag" ||
23796
 
         test ! -s conftest.err
23797
 
       } && test -s conftest$ac_exeext && {
23798
 
         test "$cross_compiling" = yes ||
23799
 
         $as_test_x conftest$ac_exeext
23800
 
       }; then
23801
 
  ac_cv_func_getpagesize=yes
23802
 
else
23803
 
  $as_echo "$as_me: failed program was:" >&5
23804
 
sed 's/^/| /' conftest.$ac_ext >&5
23805
 
 
23806
 
        ac_cv_func_getpagesize=no
23807
 
fi
23808
 
 
23809
 
rm -rf conftest.dSYM
23810
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23811
 
      conftest$ac_exeext conftest.$ac_ext
23812
 
fi
23813
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
23814
 
$as_echo "$ac_cv_func_getpagesize" >&6; }
23815
 
if test "x$ac_cv_func_getpagesize" = x""yes; then
 
12800
$as_echo "#define HAVE_MPROTECT 1" >>confdefs.h
 
12801
 
 
12802
fi
 
12803
 
 
12804
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
 
12805
if test "x$ac_cv_func_getpagesize" = x""yes; then :
23816
12806
  have_getpagesize=yes
23817
12807
else
23818
12808
  have_getpagesize=no
23820
12810
 
23821
12811
if test x$have_getpagesize = xyes; then
23822
12812
 
23823
 
cat >>confdefs.h <<\_ACEOF
23824
 
#define HAVE_GETPAGESIZE 1
23825
 
_ACEOF
23826
 
 
23827
 
fi
23828
 
 
23829
 
if test "${ac_cv_header_fenv_h+set}" = set; then
23830
 
  { $as_echo "$as_me:$LINENO: checking for fenv.h" >&5
23831
 
$as_echo_n "checking for fenv.h... " >&6; }
23832
 
if test "${ac_cv_header_fenv_h+set}" = set; then
23833
 
  $as_echo_n "(cached) " >&6
23834
 
fi
23835
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fenv_h" >&5
23836
 
$as_echo "$ac_cv_header_fenv_h" >&6; }
23837
 
else
23838
 
  # Is the header compilable?
23839
 
{ $as_echo "$as_me:$LINENO: checking fenv.h usability" >&5
23840
 
$as_echo_n "checking fenv.h usability... " >&6; }
23841
 
cat >conftest.$ac_ext <<_ACEOF
23842
 
/* confdefs.h.  */
23843
 
_ACEOF
23844
 
cat confdefs.h >>conftest.$ac_ext
23845
 
cat >>conftest.$ac_ext <<_ACEOF
23846
 
/* end confdefs.h.  */
23847
 
$ac_includes_default
23848
 
#include <fenv.h>
23849
 
_ACEOF
23850
 
rm -f conftest.$ac_objext
23851
 
if { (ac_try="$ac_compile"
23852
 
case "(($ac_try" in
23853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23854
 
  *) ac_try_echo=$ac_try;;
23855
 
esac
23856
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23857
 
$as_echo "$ac_try_echo") >&5
23858
 
  (eval "$ac_compile") 2>conftest.er1
23859
 
  ac_status=$?
23860
 
  grep -v '^ *+' conftest.er1 >conftest.err
23861
 
  rm -f conftest.er1
23862
 
  cat conftest.err >&5
23863
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864
 
  (exit $ac_status); } && {
23865
 
         test -z "$ac_c_werror_flag" ||
23866
 
         test ! -s conftest.err
23867
 
       } && test -s conftest.$ac_objext; then
23868
 
  ac_header_compiler=yes
23869
 
else
23870
 
  $as_echo "$as_me: failed program was:" >&5
23871
 
sed 's/^/| /' conftest.$ac_ext >&5
23872
 
 
23873
 
        ac_header_compiler=no
23874
 
fi
23875
 
 
23876
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23878
 
$as_echo "$ac_header_compiler" >&6; }
23879
 
 
23880
 
# Is the header present?
23881
 
{ $as_echo "$as_me:$LINENO: checking fenv.h presence" >&5
23882
 
$as_echo_n "checking fenv.h presence... " >&6; }
23883
 
cat >conftest.$ac_ext <<_ACEOF
23884
 
/* confdefs.h.  */
23885
 
_ACEOF
23886
 
cat confdefs.h >>conftest.$ac_ext
23887
 
cat >>conftest.$ac_ext <<_ACEOF
23888
 
/* end confdefs.h.  */
23889
 
#include <fenv.h>
23890
 
_ACEOF
23891
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23892
 
case "(($ac_try" in
23893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894
 
  *) ac_try_echo=$ac_try;;
23895
 
esac
23896
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23897
 
$as_echo "$ac_try_echo") >&5
23898
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23899
 
  ac_status=$?
23900
 
  grep -v '^ *+' conftest.er1 >conftest.err
23901
 
  rm -f conftest.er1
23902
 
  cat conftest.err >&5
23903
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904
 
  (exit $ac_status); } >/dev/null && {
23905
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23906
 
         test ! -s conftest.err
23907
 
       }; then
23908
 
  ac_header_preproc=yes
23909
 
else
23910
 
  $as_echo "$as_me: failed program was:" >&5
23911
 
sed 's/^/| /' conftest.$ac_ext >&5
23912
 
 
23913
 
  ac_header_preproc=no
23914
 
fi
23915
 
 
23916
 
rm -f conftest.err conftest.$ac_ext
23917
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23918
 
$as_echo "$ac_header_preproc" >&6; }
23919
 
 
23920
 
# So?  What about this header?
23921
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23922
 
  yes:no: )
23923
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h: accepted by the compiler, rejected by the preprocessor!" >&5
23924
 
$as_echo "$as_me: WARNING: fenv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23925
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h: proceeding with the compiler's result" >&5
23926
 
$as_echo "$as_me: WARNING: fenv.h: proceeding with the compiler's result" >&2;}
23927
 
    ac_header_preproc=yes
23928
 
    ;;
23929
 
  no:yes:* )
23930
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h: present but cannot be compiled" >&5
23931
 
$as_echo "$as_me: WARNING: fenv.h: present but cannot be compiled" >&2;}
23932
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h:     check for missing prerequisite headers?" >&5
23933
 
$as_echo "$as_me: WARNING: fenv.h:     check for missing prerequisite headers?" >&2;}
23934
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h: see the Autoconf documentation" >&5
23935
 
$as_echo "$as_me: WARNING: fenv.h: see the Autoconf documentation" >&2;}
23936
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h:     section \"Present But Cannot Be Compiled\"" >&5
23937
 
$as_echo "$as_me: WARNING: fenv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23938
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h: proceeding with the preprocessor's result" >&5
23939
 
$as_echo "$as_me: WARNING: fenv.h: proceeding with the preprocessor's result" >&2;}
23940
 
    { $as_echo "$as_me:$LINENO: WARNING: fenv.h: in the future, the compiler will take precedence" >&5
23941
 
$as_echo "$as_me: WARNING: fenv.h: in the future, the compiler will take precedence" >&2;}
23942
 
    ( cat <<\_ASBOX
23943
 
## ------------------------------------------- ##
23944
 
## Report this to pixman@lists.freedesktop.org ##
23945
 
## ------------------------------------------- ##
23946
 
_ASBOX
23947
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23948
 
    ;;
23949
 
esac
23950
 
{ $as_echo "$as_me:$LINENO: checking for fenv.h" >&5
23951
 
$as_echo_n "checking for fenv.h... " >&6; }
23952
 
if test "${ac_cv_header_fenv_h+set}" = set; then
23953
 
  $as_echo_n "(cached) " >&6
23954
 
else
23955
 
  ac_cv_header_fenv_h=$ac_header_preproc
23956
 
fi
23957
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fenv_h" >&5
23958
 
$as_echo "$ac_cv_header_fenv_h" >&6; }
23959
 
 
23960
 
fi
23961
 
if test "x$ac_cv_header_fenv_h" = x""yes; then
23962
 
 
23963
 
cat >>confdefs.h <<\_ACEOF
23964
 
#define HAVE_FENV_H 1
23965
 
_ACEOF
23966
 
 
23967
 
fi
23968
 
 
23969
 
 
23970
 
 
23971
 
{ $as_echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
 
12813
$as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h
 
12814
 
 
12815
fi
 
12816
 
 
12817
ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
 
12818
if test "x$ac_cv_header_fenv_h" = x""yes; then :
 
12819
 
 
12820
$as_echo "#define HAVE_FENV_H 1" >>confdefs.h
 
12821
 
 
12822
fi
 
12823
 
 
12824
 
 
12825
 
 
12826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
23972
12827
$as_echo_n "checking for feenableexcept in -lm... " >&6; }
23973
 
if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
 
12828
if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
23974
12829
  $as_echo_n "(cached) " >&6
23975
12830
else
23976
12831
  ac_check_lib_save_LIBS=$LIBS
23977
12832
LIBS="-lm  $LIBS"
23978
 
cat >conftest.$ac_ext <<_ACEOF
23979
 
/* confdefs.h.  */
23980
 
_ACEOF
23981
 
cat confdefs.h >>conftest.$ac_ext
23982
 
cat >>conftest.$ac_ext <<_ACEOF
 
12833
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23983
12834
/* end confdefs.h.  */
23984
12835
 
23985
12836
/* Override any GCC internal prototype to avoid an error.
23997
12848
  return 0;
23998
12849
}
23999
12850
_ACEOF
24000
 
rm -f conftest.$ac_objext conftest$ac_exeext
24001
 
if { (ac_try="$ac_link"
24002
 
case "(($ac_try" in
24003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004
 
  *) ac_try_echo=$ac_try;;
24005
 
esac
24006
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24007
 
$as_echo "$ac_try_echo") >&5
24008
 
  (eval "$ac_link") 2>conftest.er1
24009
 
  ac_status=$?
24010
 
  grep -v '^ *+' conftest.er1 >conftest.err
24011
 
  rm -f conftest.er1
24012
 
  cat conftest.err >&5
24013
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014
 
  (exit $ac_status); } && {
24015
 
         test -z "$ac_c_werror_flag" ||
24016
 
         test ! -s conftest.err
24017
 
       } && test -s conftest$ac_exeext && {
24018
 
         test "$cross_compiling" = yes ||
24019
 
         $as_test_x conftest$ac_exeext
24020
 
       }; then
 
12851
if ac_fn_c_try_link "$LINENO"; then :
24021
12852
  ac_cv_lib_m_feenableexcept=yes
24022
12853
else
24023
 
  $as_echo "$as_me: failed program was:" >&5
24024
 
sed 's/^/| /' conftest.$ac_ext >&5
24025
 
 
24026
 
        ac_cv_lib_m_feenableexcept=no
 
12854
  ac_cv_lib_m_feenableexcept=no
24027
12855
fi
24028
 
 
24029
 
rm -rf conftest.dSYM
24030
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24031
 
      conftest$ac_exeext conftest.$ac_ext
 
12856
rm -f core conftest.err conftest.$ac_objext \
 
12857
    conftest$ac_exeext conftest.$ac_ext
24032
12858
LIBS=$ac_check_lib_save_LIBS
24033
12859
fi
24034
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
 
12860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24035
12861
$as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24036
 
if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then
 
12862
if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24037
12863
  have_feenableexcept=yes
24038
12864
else
24039
12865
  have_feenableexcept=no
24041
12867
 
24042
12868
if test x$have_feenableexcept = xyes; then
24043
12869
 
24044
 
cat >>confdefs.h <<\_ACEOF
24045
 
#define HAVE_FEENABLEEXCEPT 1
24046
 
_ACEOF
24047
 
 
24048
 
fi
24049
 
 
24050
 
{ $as_echo "$as_me:$LINENO: checking for gettimeofday" >&5
24051
 
$as_echo_n "checking for gettimeofday... " >&6; }
24052
 
if test "${ac_cv_func_gettimeofday+set}" = set; then
24053
 
  $as_echo_n "(cached) " >&6
24054
 
else
24055
 
  cat >conftest.$ac_ext <<_ACEOF
24056
 
/* confdefs.h.  */
24057
 
_ACEOF
24058
 
cat confdefs.h >>conftest.$ac_ext
24059
 
cat >>conftest.$ac_ext <<_ACEOF
24060
 
/* end confdefs.h.  */
24061
 
/* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday.
24062
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24063
 
#define gettimeofday innocuous_gettimeofday
24064
 
 
24065
 
/* System header to define __stub macros and hopefully few prototypes,
24066
 
    which can conflict with char gettimeofday (); below.
24067
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24068
 
    <limits.h> exists even on freestanding compilers.  */
24069
 
 
24070
 
#ifdef __STDC__
24071
 
# include <limits.h>
24072
 
#else
24073
 
# include <assert.h>
24074
 
#endif
24075
 
 
24076
 
#undef gettimeofday
24077
 
 
24078
 
/* Override any GCC internal prototype to avoid an error.
24079
 
   Use char because int might match the return type of a GCC
24080
 
   builtin and then its argument prototype would still apply.  */
24081
 
#ifdef __cplusplus
24082
 
extern "C"
24083
 
#endif
24084
 
char gettimeofday ();
24085
 
/* The GNU C library defines this for functions which it implements
24086
 
    to always fail with ENOSYS.  Some functions are actually named
24087
 
    something starting with __ and the normal name is an alias.  */
24088
 
#if defined __stub_gettimeofday || defined __stub___gettimeofday
24089
 
choke me
24090
 
#endif
24091
 
 
24092
 
int
24093
 
main ()
24094
 
{
24095
 
return gettimeofday ();
24096
 
  ;
24097
 
  return 0;
24098
 
}
24099
 
_ACEOF
24100
 
rm -f conftest.$ac_objext conftest$ac_exeext
24101
 
if { (ac_try="$ac_link"
24102
 
case "(($ac_try" in
24103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24104
 
  *) ac_try_echo=$ac_try;;
24105
 
esac
24106
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24107
 
$as_echo "$ac_try_echo") >&5
24108
 
  (eval "$ac_link") 2>conftest.er1
24109
 
  ac_status=$?
24110
 
  grep -v '^ *+' conftest.er1 >conftest.err
24111
 
  rm -f conftest.er1
24112
 
  cat conftest.err >&5
24113
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114
 
  (exit $ac_status); } && {
24115
 
         test -z "$ac_c_werror_flag" ||
24116
 
         test ! -s conftest.err
24117
 
       } && test -s conftest$ac_exeext && {
24118
 
         test "$cross_compiling" = yes ||
24119
 
         $as_test_x conftest$ac_exeext
24120
 
       }; then
24121
 
  ac_cv_func_gettimeofday=yes
24122
 
else
24123
 
  $as_echo "$as_me: failed program was:" >&5
24124
 
sed 's/^/| /' conftest.$ac_ext >&5
24125
 
 
24126
 
        ac_cv_func_gettimeofday=no
24127
 
fi
24128
 
 
24129
 
rm -rf conftest.dSYM
24130
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24131
 
      conftest$ac_exeext conftest.$ac_ext
24132
 
fi
24133
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
24134
 
$as_echo "$ac_cv_func_gettimeofday" >&6; }
24135
 
if test "x$ac_cv_func_gettimeofday" = x""yes; then
 
12870
$as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
 
12871
 
 
12872
fi
 
12873
 
 
12874
ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
 
12875
if test "x$ac_cv_func_gettimeofday" = x""yes; then :
24136
12876
  have_gettimeofday=yes
24137
12877
else
24138
12878
  have_gettimeofday=no
24139
12879
fi
24140
12880
 
24141
 
if test "${ac_cv_header_sys_time_h+set}" = set; then
24142
 
  { $as_echo "$as_me:$LINENO: checking for sys/time.h" >&5
24143
 
$as_echo_n "checking for sys/time.h... " >&6; }
24144
 
if test "${ac_cv_header_sys_time_h+set}" = set; then
24145
 
  $as_echo_n "(cached) " >&6
24146
 
fi
24147
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5
24148
 
$as_echo "$ac_cv_header_sys_time_h" >&6; }
24149
 
else
24150
 
  # Is the header compilable?
24151
 
{ $as_echo "$as_me:$LINENO: checking sys/time.h usability" >&5
24152
 
$as_echo_n "checking sys/time.h usability... " >&6; }
24153
 
cat >conftest.$ac_ext <<_ACEOF
24154
 
/* confdefs.h.  */
24155
 
_ACEOF
24156
 
cat confdefs.h >>conftest.$ac_ext
24157
 
cat >>conftest.$ac_ext <<_ACEOF
24158
 
/* end confdefs.h.  */
24159
 
$ac_includes_default
24160
 
#include <sys/time.h>
24161
 
_ACEOF
24162
 
rm -f conftest.$ac_objext
24163
 
if { (ac_try="$ac_compile"
24164
 
case "(($ac_try" in
24165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24166
 
  *) ac_try_echo=$ac_try;;
24167
 
esac
24168
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24169
 
$as_echo "$ac_try_echo") >&5
24170
 
  (eval "$ac_compile") 2>conftest.er1
24171
 
  ac_status=$?
24172
 
  grep -v '^ *+' conftest.er1 >conftest.err
24173
 
  rm -f conftest.er1
24174
 
  cat conftest.err >&5
24175
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176
 
  (exit $ac_status); } && {
24177
 
         test -z "$ac_c_werror_flag" ||
24178
 
         test ! -s conftest.err
24179
 
       } && test -s conftest.$ac_objext; then
24180
 
  ac_header_compiler=yes
24181
 
else
24182
 
  $as_echo "$as_me: failed program was:" >&5
24183
 
sed 's/^/| /' conftest.$ac_ext >&5
24184
 
 
24185
 
        ac_header_compiler=no
24186
 
fi
24187
 
 
24188
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24189
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24190
 
$as_echo "$ac_header_compiler" >&6; }
24191
 
 
24192
 
# Is the header present?
24193
 
{ $as_echo "$as_me:$LINENO: checking sys/time.h presence" >&5
24194
 
$as_echo_n "checking sys/time.h presence... " >&6; }
24195
 
cat >conftest.$ac_ext <<_ACEOF
24196
 
/* confdefs.h.  */
24197
 
_ACEOF
24198
 
cat confdefs.h >>conftest.$ac_ext
24199
 
cat >>conftest.$ac_ext <<_ACEOF
24200
 
/* end confdefs.h.  */
24201
 
#include <sys/time.h>
24202
 
_ACEOF
24203
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24204
 
case "(($ac_try" in
24205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24206
 
  *) ac_try_echo=$ac_try;;
24207
 
esac
24208
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24209
 
$as_echo "$ac_try_echo") >&5
24210
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24211
 
  ac_status=$?
24212
 
  grep -v '^ *+' conftest.er1 >conftest.err
24213
 
  rm -f conftest.er1
24214
 
  cat conftest.err >&5
24215
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216
 
  (exit $ac_status); } >/dev/null && {
24217
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24218
 
         test ! -s conftest.err
24219
 
       }; then
24220
 
  ac_header_preproc=yes
24221
 
else
24222
 
  $as_echo "$as_me: failed program was:" >&5
24223
 
sed 's/^/| /' conftest.$ac_ext >&5
24224
 
 
24225
 
  ac_header_preproc=no
24226
 
fi
24227
 
 
24228
 
rm -f conftest.err conftest.$ac_ext
24229
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24230
 
$as_echo "$ac_header_preproc" >&6; }
24231
 
 
24232
 
# So?  What about this header?
24233
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24234
 
  yes:no: )
24235
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5
24236
 
$as_echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24237
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5
24238
 
$as_echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;}
24239
 
    ac_header_preproc=yes
24240
 
    ;;
24241
 
  no:yes:* )
24242
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5
24243
 
$as_echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;}
24244
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5
24245
 
$as_echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;}
24246
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5
24247
 
$as_echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;}
24248
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5
24249
 
$as_echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;}
24250
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5
24251
 
$as_echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;}
24252
 
    { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5
24253
 
$as_echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;}
24254
 
    ( cat <<\_ASBOX
24255
 
## ------------------------------------------- ##
24256
 
## Report this to pixman@lists.freedesktop.org ##
24257
 
## ------------------------------------------- ##
24258
 
_ASBOX
24259
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24260
 
    ;;
24261
 
esac
24262
 
{ $as_echo "$as_me:$LINENO: checking for sys/time.h" >&5
24263
 
$as_echo_n "checking for sys/time.h... " >&6; }
24264
 
if test "${ac_cv_header_sys_time_h+set}" = set; then
24265
 
  $as_echo_n "(cached) " >&6
24266
 
else
24267
 
  ac_cv_header_sys_time_h=$ac_header_preproc
24268
 
fi
24269
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5
24270
 
$as_echo "$ac_cv_header_sys_time_h" >&6; }
24271
 
 
24272
 
fi
24273
 
if test "x$ac_cv_header_sys_time_h" = x""yes; then
 
12881
ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
 
12882
if test "x$ac_cv_header_sys_time_h" = x""yes; then :
24274
12883
  have_sys_time_h=yes
24275
12884
else
24276
12885
  have_sys_time_h=no
24279
12888
 
24280
12889
if test x$have_gettimeofday = xyes && test x$have_sys_time_h = xyes; then
24281
12890
 
24282
 
cat >>confdefs.h <<\_ACEOF
24283
 
#define HAVE_GETTIMEOFDAY 1
24284
 
_ACEOF
 
12891
$as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
24285
12892
 
24286
12893
fi
24287
12894
 
24288
12895
 
24289
12896
support_for__thread=no
24290
12897
 
24291
 
{ $as_echo "$as_me:$LINENO: checking for __thread" >&5
 
12898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
24292
12899
$as_echo_n "checking for __thread... " >&6; }
24293
 
cat >conftest.$ac_ext <<_ACEOF
24294
 
/* confdefs.h.  */
24295
 
_ACEOF
24296
 
cat confdefs.h >>conftest.$ac_ext
24297
 
cat >>conftest.$ac_ext <<_ACEOF
 
12900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24298
12901
/* end confdefs.h.  */
24299
12902
 
24300
12903
#if defined(__MINGW32__) && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
24307
12910
int main () { x = 123; return x; }
24308
12911
 
24309
12912
_ACEOF
24310
 
rm -f conftest.$ac_objext conftest$ac_exeext
24311
 
if { (ac_try="$ac_link"
24312
 
case "(($ac_try" in
24313
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24314
 
  *) ac_try_echo=$ac_try;;
24315
 
esac
24316
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24317
 
$as_echo "$ac_try_echo") >&5
24318
 
  (eval "$ac_link") 2>conftest.er1
24319
 
  ac_status=$?
24320
 
  grep -v '^ *+' conftest.er1 >conftest.err
24321
 
  rm -f conftest.er1
24322
 
  cat conftest.err >&5
24323
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324
 
  (exit $ac_status); } && {
24325
 
         test -z "$ac_c_werror_flag" ||
24326
 
         test ! -s conftest.err
24327
 
       } && test -s conftest$ac_exeext && {
24328
 
         test "$cross_compiling" = yes ||
24329
 
         $as_test_x conftest$ac_exeext
24330
 
       }; then
 
12913
if ac_fn_c_try_link "$LINENO"; then :
24331
12914
  support_for__thread=yes
24332
 
else
24333
 
  $as_echo "$as_me: failed program was:" >&5
24334
 
sed 's/^/| /' conftest.$ac_ext >&5
24335
 
 
24336
 
 
24337
12915
fi
24338
 
 
24339
 
rm -rf conftest.dSYM
24340
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24341
 
      conftest$ac_exeext conftest.$ac_ext
 
12916
rm -f core conftest.err conftest.$ac_objext \
 
12917
    conftest$ac_exeext conftest.$ac_ext
24342
12918
 
24343
12919
if test $support_for__thread = yes; then
24344
12920
 
24345
 
cat >>confdefs.h <<\_ACEOF
24346
 
#define TOOLCHAIN_SUPPORTS__THREAD /**/
24347
 
_ACEOF
 
12921
$as_echo "#define TOOLCHAIN_SUPPORTS__THREAD /**/" >>confdefs.h
24348
12922
 
24349
12923
fi
24350
12924
 
24351
 
{ $as_echo "$as_me:$LINENO: result: $support_for__thread" >&5
 
12925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $support_for__thread" >&5
24352
12926
$as_echo "$support_for__thread" >&6; }
24353
12927
 
24354
12928
 
24359
12933
if test $support_for__thread = no; then
24360
12934
    support_for_pthread_setspecific=no
24361
12935
 
24362
 
    { $as_echo "$as_me:$LINENO: checking for pthread_setspecific" >&5
 
12936
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific" >&5
24363
12937
$as_echo_n "checking for pthread_setspecific... " >&6; }
24364
12938
 
24365
12939
        if test "z$support_for_pthread_setspecific" != "zyes"; then
24370
12944
        LDFLAGS=""
24371
12945
        LIBS=""
24372
12946
        CFLAGS="-D_REENTRANT"; LIBS="-lpthread"
24373
 
        cat >conftest.$ac_ext <<_ACEOF
24374
 
/* confdefs.h.  */
24375
 
_ACEOF
24376
 
cat confdefs.h >>conftest.$ac_ext
24377
 
cat >>conftest.$ac_ext <<_ACEOF
24378
 
/* end confdefs.h.  */
24379
 
/* confdefs.h.  */
24380
 
_ACEOF
24381
 
cat confdefs.h >>conftest.$ac_ext
24382
 
cat >>conftest.$ac_ext <<_ACEOF
 
12947
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24383
12948
/* end confdefs.h.  */
24384
12949
#include <stdlib.h>
24385
12950
#include <pthread.h>
24415
12980
}
24416
12981
 
24417
12982
_ACEOF
24418
 
rm -f conftest.$ac_objext conftest$ac_exeext
24419
 
if { (ac_try="$ac_link"
24420
 
case "(($ac_try" in
24421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24422
 
  *) ac_try_echo=$ac_try;;
24423
 
esac
24424
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24425
 
$as_echo "$ac_try_echo") >&5
24426
 
  (eval "$ac_link") 2>conftest.er1
24427
 
  ac_status=$?
24428
 
  grep -v '^ *+' conftest.er1 >conftest.err
24429
 
  rm -f conftest.er1
24430
 
  cat conftest.err >&5
24431
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432
 
  (exit $ac_status); } && {
24433
 
         test -z "$ac_c_werror_flag" ||
24434
 
         test ! -s conftest.err
24435
 
       } && test -s conftest$ac_exeext && {
24436
 
         test "$cross_compiling" = yes ||
24437
 
         $as_test_x conftest$ac_exeext
24438
 
       }; then
 
12983
if ac_fn_c_try_link "$LINENO"; then :
24439
12984
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
24440
12985
                 pixman_cc_flag=yes
24441
12986
else
24442
 
  $as_echo "$as_me: failed program was:" >&5
24443
 
sed 's/^/| /' conftest.$ac_ext >&5
24444
 
 
24445
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
12987
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
24446
12988
                 pixman_cc_flag=no
24447
12989
fi
24448
 
 
24449
 
rm -rf conftest.dSYM
24450
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24451
 
      conftest$ac_exeext conftest.$ac_ext
 
12990
rm -f core conftest.err conftest.$ac_objext \
 
12991
    conftest$ac_exeext conftest.$ac_ext
24452
12992
 
24453
12993
        if test "x$pixman_cc_stderr" != "x"; then
24454
12994
                pixman_cc_flag=no
24476
13016
        LDFLAGS=""
24477
13017
        LIBS=""
24478
13018
        CFLAGS="-pthread"; LDFLAGS="-pthread"
24479
 
        cat >conftest.$ac_ext <<_ACEOF
24480
 
/* confdefs.h.  */
24481
 
_ACEOF
24482
 
cat confdefs.h >>conftest.$ac_ext
24483
 
cat >>conftest.$ac_ext <<_ACEOF
24484
 
/* end confdefs.h.  */
24485
 
/* confdefs.h.  */
24486
 
_ACEOF
24487
 
cat confdefs.h >>conftest.$ac_ext
24488
 
cat >>conftest.$ac_ext <<_ACEOF
 
13019
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24489
13020
/* end confdefs.h.  */
24490
13021
#include <stdlib.h>
24491
13022
#include <pthread.h>
24521
13052
}
24522
13053
 
24523
13054
_ACEOF
24524
 
rm -f conftest.$ac_objext conftest$ac_exeext
24525
 
if { (ac_try="$ac_link"
24526
 
case "(($ac_try" in
24527
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24528
 
  *) ac_try_echo=$ac_try;;
24529
 
esac
24530
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24531
 
$as_echo "$ac_try_echo") >&5
24532
 
  (eval "$ac_link") 2>conftest.er1
24533
 
  ac_status=$?
24534
 
  grep -v '^ *+' conftest.er1 >conftest.err
24535
 
  rm -f conftest.er1
24536
 
  cat conftest.err >&5
24537
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538
 
  (exit $ac_status); } && {
24539
 
         test -z "$ac_c_werror_flag" ||
24540
 
         test ! -s conftest.err
24541
 
       } && test -s conftest$ac_exeext && {
24542
 
         test "$cross_compiling" = yes ||
24543
 
         $as_test_x conftest$ac_exeext
24544
 
       }; then
 
13055
if ac_fn_c_try_link "$LINENO"; then :
24545
13056
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
24546
13057
                 pixman_cc_flag=yes
24547
13058
else
24548
 
  $as_echo "$as_me: failed program was:" >&5
24549
 
sed 's/^/| /' conftest.$ac_ext >&5
24550
 
 
24551
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
13059
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
24552
13060
                 pixman_cc_flag=no
24553
13061
fi
24554
 
 
24555
 
rm -rf conftest.dSYM
24556
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24557
 
      conftest$ac_exeext conftest.$ac_ext
 
13062
rm -f core conftest.err conftest.$ac_objext \
 
13063
    conftest$ac_exeext conftest.$ac_ext
24558
13064
 
24559
13065
        if test "x$pixman_cc_stderr" != "x"; then
24560
13066
                pixman_cc_flag=no
24582
13088
        LDFLAGS=""
24583
13089
        LIBS=""
24584
13090
        CFLAGS="-D_REENTRANT"; LDFLAGS="-lroot"
24585
 
        cat >conftest.$ac_ext <<_ACEOF
24586
 
/* confdefs.h.  */
24587
 
_ACEOF
24588
 
cat confdefs.h >>conftest.$ac_ext
24589
 
cat >>conftest.$ac_ext <<_ACEOF
24590
 
/* end confdefs.h.  */
24591
 
/* confdefs.h.  */
24592
 
_ACEOF
24593
 
cat confdefs.h >>conftest.$ac_ext
24594
 
cat >>conftest.$ac_ext <<_ACEOF
 
13091
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595
13092
/* end confdefs.h.  */
24596
13093
#include <stdlib.h>
24597
13094
#include <pthread.h>
24627
13124
}
24628
13125
 
24629
13126
_ACEOF
24630
 
rm -f conftest.$ac_objext conftest$ac_exeext
24631
 
if { (ac_try="$ac_link"
24632
 
case "(($ac_try" in
24633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24634
 
  *) ac_try_echo=$ac_try;;
24635
 
esac
24636
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24637
 
$as_echo "$ac_try_echo") >&5
24638
 
  (eval "$ac_link") 2>conftest.er1
24639
 
  ac_status=$?
24640
 
  grep -v '^ *+' conftest.er1 >conftest.err
24641
 
  rm -f conftest.er1
24642
 
  cat conftest.err >&5
24643
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644
 
  (exit $ac_status); } && {
24645
 
         test -z "$ac_c_werror_flag" ||
24646
 
         test ! -s conftest.err
24647
 
       } && test -s conftest$ac_exeext && {
24648
 
         test "$cross_compiling" = yes ||
24649
 
         $as_test_x conftest$ac_exeext
24650
 
       }; then
 
13127
if ac_fn_c_try_link "$LINENO"; then :
24651
13128
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
24652
13129
                 pixman_cc_flag=yes
24653
13130
else
24654
 
  $as_echo "$as_me: failed program was:" >&5
24655
 
sed 's/^/| /' conftest.$ac_ext >&5
24656
 
 
24657
 
        pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
 
13131
  pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
24658
13132
                 pixman_cc_flag=no
24659
13133
fi
24660
 
 
24661
 
rm -rf conftest.dSYM
24662
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24663
 
      conftest$ac_exeext conftest.$ac_ext
 
13134
rm -f core conftest.err conftest.$ac_objext \
 
13135
    conftest$ac_exeext conftest.$ac_ext
24664
13136
 
24665
13137
        if test "x$pixman_cc_stderr" != "x"; then
24666
13138
                pixman_cc_flag=no
24684
13156
    if test $support_for_pthread_setspecific = yes; then
24685
13157
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24686
13158
 
24687
 
cat >>confdefs.h <<\_ACEOF
24688
 
#define HAVE_PTHREAD_SETSPECIFIC /**/
24689
 
_ACEOF
 
13159
$as_echo "#define HAVE_PTHREAD_SETSPECIFIC /**/" >>confdefs.h
24690
13160
 
24691
13161
    fi
24692
13162
 
24693
 
    { $as_echo "$as_me:$LINENO: result: $support_for_pthread_setspecific" >&5
 
13163
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $support_for_pthread_setspecific" >&5
24694
13164
$as_echo "$support_for_pthread_setspecific" >&6; };
24695
13165
fi
24696
13166
 
24702
13172
 
24703
13173
support_for_attribute_constructor=no
24704
13174
 
24705
 
{ $as_echo "$as_me:$LINENO: checking for __attribute__((constructor))" >&5
 
13175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((constructor))" >&5
24706
13176
$as_echo_n "checking for __attribute__((constructor))... " >&6; }
24707
 
cat >conftest.$ac_ext <<_ACEOF
24708
 
/* confdefs.h.  */
24709
 
_ACEOF
24710
 
cat confdefs.h >>conftest.$ac_ext
24711
 
cat >>conftest.$ac_ext <<_ACEOF
 
13177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712
13178
/* end confdefs.h.  */
24713
13179
 
24714
13180
#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7))
24723
13189
#endif
24724
13190
 
24725
13191
_ACEOF
24726
 
rm -f conftest.$ac_objext conftest$ac_exeext
24727
 
if { (ac_try="$ac_link"
24728
 
case "(($ac_try" in
24729
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24730
 
  *) ac_try_echo=$ac_try;;
24731
 
esac
24732
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24733
 
$as_echo "$ac_try_echo") >&5
24734
 
  (eval "$ac_link") 2>conftest.er1
24735
 
  ac_status=$?
24736
 
  grep -v '^ *+' conftest.er1 >conftest.err
24737
 
  rm -f conftest.er1
24738
 
  cat conftest.err >&5
24739
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740
 
  (exit $ac_status); } && {
24741
 
         test -z "$ac_c_werror_flag" ||
24742
 
         test ! -s conftest.err
24743
 
       } && test -s conftest$ac_exeext && {
24744
 
         test "$cross_compiling" = yes ||
24745
 
         $as_test_x conftest$ac_exeext
24746
 
       }; then
 
13192
if ac_fn_c_try_link "$LINENO"; then :
24747
13193
  support_for_attribute_constructor=yes
24748
 
else
24749
 
  $as_echo "$as_me: failed program was:" >&5
24750
 
sed 's/^/| /' conftest.$ac_ext >&5
24751
 
 
24752
 
 
24753
13194
fi
24754
 
 
24755
 
rm -rf conftest.dSYM
24756
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24757
 
      conftest$ac_exeext conftest.$ac_ext
 
13195
rm -f core conftest.err conftest.$ac_objext \
 
13196
    conftest$ac_exeext conftest.$ac_ext
24758
13197
 
24759
13198
if test x$support_for_attribute_constructor = xyes; then
24760
13199
 
24761
 
cat >>confdefs.h <<\_ACEOF
24762
 
#define TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR /**/
24763
 
_ACEOF
 
13200
$as_echo "#define TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR /**/" >>confdefs.h
24764
13201
 
24765
13202
fi
24766
13203
 
24767
 
{ $as_echo "$as_me:$LINENO: result: $support_for_attribute_constructor" >&5
 
13204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $support_for_attribute_constructor" >&5
24768
13205
$as_echo "$support_for_attribute_constructor" >&6; }
24769
13206
 
24770
13207
 
 
13208
 
 
13209
 
 
13210
pkg_failed=no
 
13211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
 
13212
$as_echo_n "checking for PNG... " >&6; }
 
13213
 
 
13214
if test -n "$PNG_CFLAGS"; then
 
13215
    pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
 
13216
 elif test -n "$PKG_CONFIG"; then
 
13217
    if test -n "$PKG_CONFIG" && \
 
13218
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
 
13219
  ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
 
13220
  ac_status=$?
 
13221
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13222
  test $ac_status = 0; }; then
 
13223
  pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
 
13224
                      test "x$?" != "x0" && pkg_failed=yes
 
13225
else
 
13226
  pkg_failed=yes
 
13227
fi
 
13228
 else
 
13229
    pkg_failed=untried
 
13230
fi
 
13231
if test -n "$PNG_LIBS"; then
 
13232
    pkg_cv_PNG_LIBS="$PNG_LIBS"
 
13233
 elif test -n "$PKG_CONFIG"; then
 
13234
    if test -n "$PKG_CONFIG" && \
 
13235
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
 
13236
  ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
 
13237
  ac_status=$?
 
13238
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13239
  test $ac_status = 0; }; then
 
13240
  pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
 
13241
                      test "x$?" != "x0" && pkg_failed=yes
 
13242
else
 
13243
  pkg_failed=yes
 
13244
fi
 
13245
 else
 
13246
    pkg_failed=untried
 
13247
fi
 
13248
 
 
13249
 
 
13250
 
 
13251
if test $pkg_failed = yes; then
 
13252
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13253
$as_echo "no" >&6; }
 
13254
 
 
13255
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13256
        _pkg_short_errors_supported=yes
 
13257
else
 
13258
        _pkg_short_errors_supported=no
 
13259
fi
 
13260
        if test $_pkg_short_errors_supported = yes; then
 
13261
                PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1`
 
13262
        else
 
13263
                PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1`
 
13264
        fi
 
13265
        # Put the nasty error message in config.log where it belongs
 
13266
        echo "$PNG_PKG_ERRORS" >&5
 
13267
 
 
13268
        have_libpng=no
 
13269
elif test $pkg_failed = untried; then
 
13270
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13271
$as_echo "no" >&6; }
 
13272
        have_libpng=no
 
13273
else
 
13274
        PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
 
13275
        PNG_LIBS=$pkg_cv_PNG_LIBS
 
13276
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13277
$as_echo "yes" >&6; }
 
13278
        have_libpng=yes
 
13279
fi
 
13280
 
 
13281
if test x$have_libpng = xyes; then
 
13282
 
 
13283
$as_echo "#define HAVE_LIBPNG 1" >>confdefs.h
 
13284
 
 
13285
fi
 
13286
 
 
13287
 
 
13288
 
24771
13289
ac_config_files="$ac_config_files pixman-1.pc pixman-1-uninstalled.pc Makefile pixman/Makefile pixman/pixman-version.h demos/Makefile test/Makefile"
24772
13290
 
24773
13291
cat >confcache <<\_ACEOF
24797
13315
    case $ac_val in #(
24798
13316
    *${as_nl}*)
24799
13317
      case $ac_var in #(
24800
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13318
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24801
13319
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24802
13320
      esac
24803
13321
      case $ac_var in #(
24804
13322
      _ | IFS | as_nl) ;; #(
24805
13323
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24806
 
      *) $as_unset $ac_var ;;
 
13324
      *) { eval $ac_var=; unset $ac_var;} ;;
24807
13325
      esac ;;
24808
13326
    esac
24809
13327
  done
24811
13329
  (set) 2>&1 |
24812
13330
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
24813
13331
    *${as_nl}ac_space=\ *)
24814
 
      # `set' does not quote correctly, so add quotes (double-quote
24815
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13332
      # `set' does not quote correctly, so add quotes: double-quote
 
13333
      # substitution turns \\\\ into \\, and sed turns \\ into \.
24816
13334
      sed -n \
24817
13335
        "s/'/'\\\\''/g;
24818
13336
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24835
13353
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24836
13354
  if test -w "$cache_file"; then
24837
13355
    test "x$cache_file" != "x/dev/null" &&
24838
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13356
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24839
13357
$as_echo "$as_me: updating cache $cache_file" >&6;}
24840
13358
    cat confcache >$cache_file
24841
13359
  else
24842
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13360
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24843
13361
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24844
13362
  fi
24845
13363
fi
24853
13371
 
24854
13372
ac_libobjs=
24855
13373
ac_ltlibobjs=
 
13374
U=
24856
13375
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24857
13376
  # 1. Remove the extension, and $U if already installed.
24858
13377
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24859
13378
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24860
13379
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24861
13380
  #    will be set to the directory where LIBOBJS objects are built.
24862
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24863
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
13381
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13382
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
24864
13383
done
24865
13384
LIBOBJS=$ac_libobjs
24866
13385
 
24876
13395
fi
24877
13396
 
24878
13397
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24879
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24880
 
Usually this means the macro was only invoked conditionally." >&5
24881
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
24882
 
Usually this means the macro was only invoked conditionally." >&2;}
24883
 
   { (exit 1); exit 1; }; }
 
13398
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
13399
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24884
13400
fi
24885
13401
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24886
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24887
 
Usually this means the macro was only invoked conditionally." >&5
24888
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24889
 
Usually this means the macro was only invoked conditionally." >&2;}
24890
 
   { (exit 1); exit 1; }; }
 
13402
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13403
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24891
13404
fi
24892
13405
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
24893
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
24894
 
Usually this means the macro was only invoked conditionally." >&5
24895
 
$as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
24896
 
Usually this means the macro was only invoked conditionally." >&2;}
24897
 
   { (exit 1); exit 1; }; }
24898
 
fi
24899
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24900
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24901
 
Usually this means the macro was only invoked conditionally." >&5
24902
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24903
 
Usually this means the macro was only invoked conditionally." >&2;}
24904
 
   { (exit 1); exit 1; }; }
 
13406
  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
 
13407
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24905
13408
fi
24906
13409
 
24907
 
if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
24908
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_MMX\" was never defined.
24909
 
Usually this means the macro was only invoked conditionally." >&5
24910
 
$as_echo "$as_me: error: conditional \"USE_MMX\" was never defined.
24911
 
Usually this means the macro was only invoked conditionally." >&2;}
24912
 
   { (exit 1); exit 1; }; }
 
13410
if test -z "${USE_X86_MMX_TRUE}" && test -z "${USE_X86_MMX_FALSE}"; then
 
13411
  as_fn_error $? "conditional \"USE_X86_MMX\" was never defined.
 
13412
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24913
13413
fi
24914
13414
if test -z "${USE_SSE2_TRUE}" && test -z "${USE_SSE2_FALSE}"; then
24915
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SSE2\" was never defined.
24916
 
Usually this means the macro was only invoked conditionally." >&5
24917
 
$as_echo "$as_me: error: conditional \"USE_SSE2\" was never defined.
24918
 
Usually this means the macro was only invoked conditionally." >&2;}
24919
 
   { (exit 1); exit 1; }; }
 
13415
  as_fn_error $? "conditional \"USE_SSE2\" was never defined.
 
13416
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24920
13417
fi
24921
13418
if test -z "${USE_VMX_TRUE}" && test -z "${USE_VMX_FALSE}"; then
24922
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_VMX\" was never defined.
24923
 
Usually this means the macro was only invoked conditionally." >&5
24924
 
$as_echo "$as_me: error: conditional \"USE_VMX\" was never defined.
24925
 
Usually this means the macro was only invoked conditionally." >&2;}
24926
 
   { (exit 1); exit 1; }; }
 
13419
  as_fn_error $? "conditional \"USE_VMX\" was never defined.
 
13420
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24927
13421
fi
24928
13422
if test -z "${USE_ARM_SIMD_TRUE}" && test -z "${USE_ARM_SIMD_FALSE}"; then
24929
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ARM_SIMD\" was never defined.
24930
 
Usually this means the macro was only invoked conditionally." >&5
24931
 
$as_echo "$as_me: error: conditional \"USE_ARM_SIMD\" was never defined.
24932
 
Usually this means the macro was only invoked conditionally." >&2;}
24933
 
   { (exit 1); exit 1; }; }
 
13423
  as_fn_error $? "conditional \"USE_ARM_SIMD\" was never defined.
 
13424
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24934
13425
fi
24935
13426
if test -z "${USE_ARM_NEON_TRUE}" && test -z "${USE_ARM_NEON_FALSE}"; then
24936
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ARM_NEON\" was never defined.
24937
 
Usually this means the macro was only invoked conditionally." >&5
24938
 
$as_echo "$as_me: error: conditional \"USE_ARM_NEON\" was never defined.
24939
 
Usually this means the macro was only invoked conditionally." >&2;}
24940
 
   { (exit 1); exit 1; }; }
 
13427
  as_fn_error $? "conditional \"USE_ARM_NEON\" was never defined.
 
13428
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13429
fi
 
13430
if test -z "${USE_ARM_IWMMXT_TRUE}" && test -z "${USE_ARM_IWMMXT_FALSE}"; then
 
13431
  as_fn_error $? "conditional \"USE_ARM_IWMMXT\" was never defined.
 
13432
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24941
13433
fi
24942
13434
if test -z "${USE_GCC_INLINE_ASM_TRUE}" && test -z "${USE_GCC_INLINE_ASM_FALSE}"; then
24943
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GCC_INLINE_ASM\" was never defined.
24944
 
Usually this means the macro was only invoked conditionally." >&5
24945
 
$as_echo "$as_me: error: conditional \"USE_GCC_INLINE_ASM\" was never defined.
24946
 
Usually this means the macro was only invoked conditionally." >&2;}
24947
 
   { (exit 1); exit 1; }; }
 
13435
  as_fn_error $? "conditional \"USE_GCC_INLINE_ASM\" was never defined.
 
13436
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24948
13437
fi
24949
13438
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
24950
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
24951
 
Usually this means the macro was only invoked conditionally." >&5
24952
 
$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
24953
 
Usually this means the macro was only invoked conditionally." >&2;}
24954
 
   { (exit 1); exit 1; }; }
 
13439
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
 
13440
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24955
13441
fi
24956
13442
 
24957
13443
: ${CONFIG_STATUS=./config.status}
24958
13444
ac_write_fail=0
24959
13445
ac_clean_files_save=$ac_clean_files
24960
13446
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24961
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13447
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24962
13448
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24963
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13449
as_write_fail=0
 
13450
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24964
13451
#! $SHELL
24965
13452
# Generated by $as_me.
24966
13453
# Run this file to recreate the current configuration.
24970
13457
debug=false
24971
13458
ac_cs_recheck=false
24972
13459
ac_cs_silent=false
 
13460
 
24973
13461
SHELL=\${CONFIG_SHELL-$SHELL}
24974
 
_ACEOF
24975
 
 
24976
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24977
 
## --------------------- ##
24978
 
## M4sh Initialization.  ##
24979
 
## --------------------- ##
 
13462
export SHELL
 
13463
_ASEOF
 
13464
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13465
## -------------------- ##
 
13466
## M4sh Initialization. ##
 
13467
## -------------------- ##
24980
13468
 
24981
13469
# Be more Bourne compatible
24982
13470
DUALCASE=1; export DUALCASE # for MKS sh
24983
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13471
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24984
13472
  emulate sh
24985
13473
  NULLCMD=:
24986
13474
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24988
13476
  alias -g '${1+"$@"}'='"$@"'
24989
13477
  setopt NO_GLOB_SUBST
24990
13478
else
24991
 
  case `(set -o) 2>/dev/null` in
24992
 
  *posix*) set -o posix ;;
 
13479
  case `(set -o) 2>/dev/null` in #(
 
13480
  *posix*) :
 
13481
    set -o posix ;; #(
 
13482
  *) :
 
13483
     ;;
24993
13484
esac
24994
 
 
24995
13485
fi
24996
13486
 
24997
13487
 
24998
 
 
24999
 
 
25000
 
# PATH needs CR
25001
 
# Avoid depending upon Character Ranges.
25002
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25003
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25004
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25005
 
as_cr_digits='0123456789'
25006
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
25007
 
 
25008
13488
as_nl='
25009
13489
'
25010
13490
export as_nl
25012
13492
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25013
13493
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25014
13494
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25015
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13495
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13496
# but without wasting forks for bash or zsh.
 
13497
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13498
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13499
  as_echo='print -r --'
 
13500
  as_echo_n='print -rn --'
 
13501
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25016
13502
  as_echo='printf %s\n'
25017
13503
  as_echo_n='printf %s'
25018
13504
else
25023
13509
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25024
13510
    as_echo_n_body='eval
25025
13511
      arg=$1;
25026
 
      case $arg in
 
13512
      case $arg in #(
25027
13513
      *"$as_nl"*)
25028
13514
        expr "X$arg" : "X\\(.*\\)$as_nl";
25029
13515
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25046
13532
  }
25047
13533
fi
25048
13534
 
25049
 
# Support unset when possible.
25050
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25051
 
  as_unset=unset
25052
 
else
25053
 
  as_unset=false
25054
 
fi
25055
 
 
25056
13535
 
25057
13536
# IFS
25058
13537
# We need space, tab and new line, in precisely that order.  Quoting is
25062
13541
IFS=" ""        $as_nl"
25063
13542
 
25064
13543
# Find who we are.  Look in the path if we contain no directory separator.
25065
 
case $0 in
 
13544
case $0 in #((
25066
13545
  *[\\/]* ) as_myself=$0 ;;
25067
13546
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25068
13547
for as_dir in $PATH
25069
13548
do
25070
13549
  IFS=$as_save_IFS
25071
13550
  test -z "$as_dir" && as_dir=.
25072
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25073
 
done
 
13551
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13552
  done
25074
13553
IFS=$as_save_IFS
25075
13554
 
25076
13555
     ;;
25082
13561
fi
25083
13562
if test ! -f "$as_myself"; then
25084
13563
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25085
 
  { (exit 1); exit 1; }
 
13564
  exit 1
25086
13565
fi
25087
13566
 
25088
 
# Work around bugs in pre-3.0 UWIN ksh.
25089
 
for as_var in ENV MAIL MAILPATH
25090
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
13567
# Unset variables that we do not need and which cause bugs (e.g. in
 
13568
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13569
# suppresses any "Segmentation fault" message there.  '((' could
 
13570
# trigger a bug in pdksh 5.2.14.
 
13571
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13572
do eval test x\${$as_var+set} = xset \
 
13573
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25091
13574
done
25092
13575
PS1='$ '
25093
13576
PS2='> '
25099
13582
LANGUAGE=C
25100
13583
export LANGUAGE
25101
13584
 
25102
 
# Required to use basename.
 
13585
# CDPATH.
 
13586
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13587
 
 
13588
 
 
13589
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13590
# ----------------------------------------
 
13591
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13592
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13593
# script with STATUS, using 1 if that was 0.
 
13594
as_fn_error ()
 
13595
{
 
13596
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13597
  if test "$4"; then
 
13598
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13599
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
13600
  fi
 
13601
  $as_echo "$as_me: error: $2" >&2
 
13602
  as_fn_exit $as_status
 
13603
} # as_fn_error
 
13604
 
 
13605
 
 
13606
# as_fn_set_status STATUS
 
13607
# -----------------------
 
13608
# Set $? to STATUS, without forking.
 
13609
as_fn_set_status ()
 
13610
{
 
13611
  return $1
 
13612
} # as_fn_set_status
 
13613
 
 
13614
# as_fn_exit STATUS
 
13615
# -----------------
 
13616
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13617
as_fn_exit ()
 
13618
{
 
13619
  set +e
 
13620
  as_fn_set_status $1
 
13621
  exit $1
 
13622
} # as_fn_exit
 
13623
 
 
13624
# as_fn_unset VAR
 
13625
# ---------------
 
13626
# Portably unset VAR.
 
13627
as_fn_unset ()
 
13628
{
 
13629
  { eval $1=; unset $1;}
 
13630
}
 
13631
as_unset=as_fn_unset
 
13632
# as_fn_append VAR VALUE
 
13633
# ----------------------
 
13634
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13635
# advantage of any shell optimizations that allow amortized linear growth over
 
13636
# repeated appends, instead of the typical quadratic growth present in naive
 
13637
# implementations.
 
13638
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13639
  eval 'as_fn_append ()
 
13640
  {
 
13641
    eval $1+=\$2
 
13642
  }'
 
13643
else
 
13644
  as_fn_append ()
 
13645
  {
 
13646
    eval $1=\$$1\$2
 
13647
  }
 
13648
fi # as_fn_append
 
13649
 
 
13650
# as_fn_arith ARG...
 
13651
# ------------------
 
13652
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13653
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13654
# must be portable across $(()) and expr.
 
13655
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13656
  eval 'as_fn_arith ()
 
13657
  {
 
13658
    as_val=$(( $* ))
 
13659
  }'
 
13660
else
 
13661
  as_fn_arith ()
 
13662
  {
 
13663
    as_val=`expr "$@" || test $? -eq 1`
 
13664
  }
 
13665
fi # as_fn_arith
 
13666
 
 
13667
 
25103
13668
if expr a : '\(a\)' >/dev/null 2>&1 &&
25104
13669
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25105
13670
  as_expr=expr
25113
13678
  as_basename=false
25114
13679
fi
25115
13680
 
 
13681
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13682
  as_dirname=dirname
 
13683
else
 
13684
  as_dirname=false
 
13685
fi
25116
13686
 
25117
 
# Name of the executable.
25118
13687
as_me=`$as_basename -- "$0" ||
25119
13688
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25120
13689
         X"$0" : 'X\(//\)$' \| \
25134
13703
          }
25135
13704
          s/.*/./; q'`
25136
13705
 
25137
 
# CDPATH.
25138
 
$as_unset CDPATH
25139
 
 
25140
 
 
25141
 
 
25142
 
  as_lineno_1=$LINENO
25143
 
  as_lineno_2=$LINENO
25144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
25145
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25146
 
 
25147
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25148
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
25149
 
  # line-number line after each line using $LINENO; the second 'sed'
25150
 
  # does the real work.  The second script uses 'N' to pair each
25151
 
  # line-number line with the line containing $LINENO, and appends
25152
 
  # trailing '-' during substitution so that $LINENO is not a special
25153
 
  # case at line end.
25154
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25155
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
25156
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
25157
 
  sed -n '
25158
 
    p
25159
 
    /[$]LINENO/=
25160
 
  ' <$as_myself |
25161
 
    sed '
25162
 
      s/[$]LINENO.*/&-/
25163
 
      t lineno
25164
 
      b
25165
 
      :lineno
25166
 
      N
25167
 
      :loop
25168
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25169
 
      t loop
25170
 
      s/-\n.*//
25171
 
    ' >$as_me.lineno &&
25172
 
  chmod +x "$as_me.lineno" ||
25173
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25174
 
   { (exit 1); exit 1; }; }
25175
 
 
25176
 
  # Don't try to exec as it changes $[0], causing all sort of problems
25177
 
  # (the dirname of $[0] is not the place where we might find the
25178
 
  # original and so on.  Autoconf is especially sensitive to this).
25179
 
  . "./$as_me.lineno"
25180
 
  # Exit status is that of the last command.
25181
 
  exit
25182
 
}
25183
 
 
25184
 
 
25185
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25186
 
  as_dirname=dirname
25187
 
else
25188
 
  as_dirname=false
25189
 
fi
 
13706
# Avoid depending upon Character Ranges.
 
13707
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
13708
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
13709
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
13710
as_cr_digits='0123456789'
 
13711
as_cr_alnum=$as_cr_Letters$as_cr_digits
25190
13712
 
25191
13713
ECHO_C= ECHO_N= ECHO_T=
25192
 
case `echo -n x` in
 
13714
case `echo -n x` in #(((((
25193
13715
-n*)
25194
 
  case `echo 'x\c'` in
 
13716
  case `echo 'xy\c'` in
25195
13717
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25196
 
  *)   ECHO_C='\c';;
 
13718
  xy)  ECHO_C='\c';;
 
13719
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
13720
       ECHO_T=' ';;
25197
13721
  esac;;
25198
13722
*)
25199
13723
  ECHO_N='-n';;
25200
13724
esac
25201
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
25202
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25203
 
  as_expr=expr
25204
 
else
25205
 
  as_expr=false
25206
 
fi
25207
13725
 
25208
13726
rm -f conf$$ conf$$.exe conf$$.file
25209
13727
if test -d conf$$.dir; then
25232
13750
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25233
13751
rmdir conf$$.dir 2>/dev/null
25234
13752
 
 
13753
 
 
13754
# as_fn_mkdir_p
 
13755
# -------------
 
13756
# Create "$as_dir" as a directory, including parents if necessary.
 
13757
as_fn_mkdir_p ()
 
13758
{
 
13759
 
 
13760
  case $as_dir in #(
 
13761
  -*) as_dir=./$as_dir;;
 
13762
  esac
 
13763
  test -d "$as_dir" || eval $as_mkdir_p || {
 
13764
    as_dirs=
 
13765
    while :; do
 
13766
      case $as_dir in #(
 
13767
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
13768
      *) as_qdir=$as_dir;;
 
13769
      esac
 
13770
      as_dirs="'$as_qdir' $as_dirs"
 
13771
      as_dir=`$as_dirname -- "$as_dir" ||
 
13772
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13773
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13774
         X"$as_dir" : 'X\(//\)$' \| \
 
13775
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13776
$as_echo X"$as_dir" |
 
13777
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13778
            s//\1/
 
13779
            q
 
13780
          }
 
13781
          /^X\(\/\/\)[^/].*/{
 
13782
            s//\1/
 
13783
            q
 
13784
          }
 
13785
          /^X\(\/\/\)$/{
 
13786
            s//\1/
 
13787
            q
 
13788
          }
 
13789
          /^X\(\/\).*/{
 
13790
            s//\1/
 
13791
            q
 
13792
          }
 
13793
          s/.*/./; q'`
 
13794
      test -d "$as_dir" && break
 
13795
    done
 
13796
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13797
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
13798
 
 
13799
 
 
13800
} # as_fn_mkdir_p
25235
13801
if mkdir -p . 2>/dev/null; then
25236
 
  as_mkdir_p=:
 
13802
  as_mkdir_p='mkdir -p "$as_dir"'
25237
13803
else
25238
13804
  test -d ./-p && rmdir ./-p
25239
13805
  as_mkdir_p=false
25252
13818
      if test -d "$1"; then
25253
13819
        test -d "$1/.";
25254
13820
      else
25255
 
        case $1 in
 
13821
        case $1 in #(
25256
13822
        -*)set "./$1";;
25257
13823
        esac;
25258
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
13824
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25259
13825
        ???[sx]*):;;*)false;;esac;fi
25260
13826
    '\'' sh
25261
13827
  '
25270
13836
 
25271
13837
 
25272
13838
exec 6>&1
 
13839
## ----------------------------------- ##
 
13840
## Main body of $CONFIG_STATUS script. ##
 
13841
## ----------------------------------- ##
 
13842
_ASEOF
 
13843
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25273
13844
 
25274
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
13845
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13846
# Save the log message, to keep $0 and so on meaningful, and to
25275
13847
# report actual input values of CONFIG_FILES etc. instead of their
25276
13848
# values after options handling.
25277
13849
ac_log="
25278
 
This file was extended by pixman $as_me 0.23.2, which was
25279
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
13850
This file was extended by pixman $as_me 0.23.6, which was
 
13851
generated by GNU Autoconf 2.66.  Invocation command line was
25280
13852
 
25281
13853
  CONFIG_FILES    = $CONFIG_FILES
25282
13854
  CONFIG_HEADERS  = $CONFIG_HEADERS
25308
13880
 
25309
13881
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25310
13882
ac_cs_usage="\
25311
 
\`$as_me' instantiates files from templates according to the
25312
 
current configuration.
 
13883
\`$as_me' instantiates files and other configuration actions
 
13884
from templates according to the current configuration.  Unless the files
 
13885
and actions are specified as TAGs, all are instantiated by default.
25313
13886
 
25314
 
Usage: $0 [OPTION]... [FILE]...
 
13887
Usage: $0 [OPTION]... [TAG]...
25315
13888
 
25316
13889
  -h, --help       print this help, then exit
25317
13890
  -V, --version    print version number and configuration settings, then exit
 
13891
      --config     print configuration, then exit
25318
13892
  -q, --quiet, --silent
25319
13893
                   do not print progress messages
25320
13894
  -d, --debug      don't remove temporary files
25333
13907
Configuration commands:
25334
13908
$config_commands
25335
13909
 
25336
 
Report bugs to <bug-autoconf@gnu.org>."
 
13910
Report bugs to <pixman@lists.freedesktop.org>."
25337
13911
 
25338
13912
_ACEOF
25339
13913
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13914
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25340
13915
ac_cs_version="\\
25341
 
pixman config.status 0.23.2
25342
 
configured by $0, generated by GNU Autoconf 2.63,
25343
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13916
pixman config.status 0.23.6
 
13917
configured by $0, generated by GNU Autoconf 2.66,
 
13918
  with options \\"\$ac_cs_config\\"
25344
13919
 
25345
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
13920
Copyright (C) 2010 Free Software Foundation, Inc.
25346
13921
This config.status script is free software; the Free Software Foundation
25347
13922
gives unlimited permission to copy, distribute and modify it."
25348
13923
 
25378
13953
    ac_cs_recheck=: ;;
25379
13954
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25380
13955
    $as_echo "$ac_cs_version"; exit ;;
 
13956
  --config | --confi | --conf | --con | --co | --c )
 
13957
    $as_echo "$ac_cs_config"; exit ;;
25381
13958
  --debug | --debu | --deb | --de | --d | -d )
25382
13959
    debug=: ;;
25383
13960
  --file | --fil | --fi | --f )
25385
13962
    case $ac_optarg in
25386
13963
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25387
13964
    esac
25388
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
13965
    as_fn_append CONFIG_FILES " '$ac_optarg'"
25389
13966
    ac_need_defaults=false;;
25390
13967
  --header | --heade | --head | --hea )
25391
13968
    $ac_shift
25392
13969
    case $ac_optarg in
25393
13970
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25394
13971
    esac
25395
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
13972
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25396
13973
    ac_need_defaults=false;;
25397
13974
  --he | --h)
25398
13975
    # Conflict between --help and --header
25399
 
    { $as_echo "$as_me: error: ambiguous option: $1
25400
 
Try \`$0 --help' for more information." >&2
25401
 
   { (exit 1); exit 1; }; };;
 
13976
    as_fn_error $? "ambiguous option: \`$1'
 
13977
Try \`$0 --help' for more information.";;
25402
13978
  --help | --hel | -h )
25403
13979
    $as_echo "$ac_cs_usage"; exit ;;
25404
13980
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25406
13982
    ac_cs_silent=: ;;
25407
13983
 
25408
13984
  # This is an error.
25409
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
25410
 
Try \`$0 --help' for more information." >&2
25411
 
   { (exit 1); exit 1; }; } ;;
 
13985
  -*) as_fn_error $? "unrecognized option: \`$1'
 
13986
Try \`$0 --help' for more information." ;;
25412
13987
 
25413
 
  *) ac_config_targets="$ac_config_targets $1"
 
13988
  *) as_fn_append ac_config_targets " $1"
25414
13989
     ac_need_defaults=false ;;
25415
13990
 
25416
13991
  esac
25453
14028
#
25454
14029
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25455
14030
 
 
14031
 
 
14032
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14033
# if CDPATH is set.
 
14034
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14035
 
 
14036
sed_quote_subst='$sed_quote_subst'
 
14037
double_quote_subst='$double_quote_subst'
 
14038
delay_variable_subst='$delay_variable_subst'
 
14039
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14040
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14041
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14042
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14043
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14044
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14045
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14046
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14047
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14048
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14049
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14050
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14051
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14052
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14053
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14054
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14055
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14056
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14057
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14058
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14059
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14060
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14061
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14062
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14063
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14064
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14065
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14066
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14067
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14068
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14069
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14070
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14071
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14072
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14073
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14074
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14075
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14076
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14077
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14078
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14079
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14080
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14081
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14082
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14083
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14084
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14085
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14086
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14087
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14088
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14089
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14090
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14091
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14092
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14093
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14094
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14095
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14096
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14097
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14098
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14099
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14100
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14101
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14102
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14103
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14104
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14105
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14106
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14107
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14108
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14109
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14110
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14111
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14112
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14113
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14114
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14115
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14116
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14117
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14118
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14119
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
14120
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14121
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14122
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14123
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14124
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14125
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14126
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14127
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14128
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
14129
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14130
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14131
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14132
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14133
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14134
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14135
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14136
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14137
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14138
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14139
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14140
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14141
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14142
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14143
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14144
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14145
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14146
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14147
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14148
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14149
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14150
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14151
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14152
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14153
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14154
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14155
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14156
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14157
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14158
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
14159
 
 
14160
LTCC='$LTCC'
 
14161
LTCFLAGS='$LTCFLAGS'
 
14162
compiler='$compiler_DEFAULT'
 
14163
 
 
14164
# A function that is used when there is no print builtin or printf.
 
14165
func_fallback_echo ()
 
14166
{
 
14167
  eval 'cat <<_LTECHO_EOF
 
14168
\$1
 
14169
_LTECHO_EOF'
 
14170
}
 
14171
 
 
14172
# Quote evaled strings.
 
14173
for var in SHELL \
 
14174
ECHO \
 
14175
SED \
 
14176
GREP \
 
14177
EGREP \
 
14178
FGREP \
 
14179
LD \
 
14180
NM \
 
14181
LN_S \
 
14182
lt_SP2NL \
 
14183
lt_NL2SP \
 
14184
reload_flag \
 
14185
OBJDUMP \
 
14186
deplibs_check_method \
 
14187
file_magic_cmd \
 
14188
AR \
 
14189
AR_FLAGS \
 
14190
STRIP \
 
14191
RANLIB \
 
14192
CC \
 
14193
CFLAGS \
 
14194
compiler \
 
14195
lt_cv_sys_global_symbol_pipe \
 
14196
lt_cv_sys_global_symbol_to_cdecl \
 
14197
lt_cv_sys_global_symbol_to_c_name_address \
 
14198
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14199
lt_prog_compiler_no_builtin_flag \
 
14200
lt_prog_compiler_wl \
 
14201
lt_prog_compiler_pic \
 
14202
lt_prog_compiler_static \
 
14203
lt_cv_prog_compiler_c_o \
 
14204
need_locks \
 
14205
DSYMUTIL \
 
14206
NMEDIT \
 
14207
LIPO \
 
14208
OTOOL \
 
14209
OTOOL64 \
 
14210
shrext_cmds \
 
14211
export_dynamic_flag_spec \
 
14212
whole_archive_flag_spec \
 
14213
compiler_needs_object \
 
14214
with_gnu_ld \
 
14215
allow_undefined_flag \
 
14216
no_undefined_flag \
 
14217
hardcode_libdir_flag_spec \
 
14218
hardcode_libdir_flag_spec_ld \
 
14219
hardcode_libdir_separator \
 
14220
fix_srcfile_path \
 
14221
exclude_expsyms \
 
14222
include_expsyms \
 
14223
file_list_spec \
 
14224
variables_saved_for_relink \
 
14225
libname_spec \
 
14226
library_names_spec \
 
14227
soname_spec \
 
14228
install_override_mode \
 
14229
finish_eval \
 
14230
old_striplib \
 
14231
striplib; do
 
14232
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14233
    *[\\\\\\\`\\"\\\$]*)
 
14234
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14235
      ;;
 
14236
    *)
 
14237
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14238
      ;;
 
14239
    esac
 
14240
done
 
14241
 
 
14242
# Double-quote double-evaled strings.
 
14243
for var in reload_cmds \
 
14244
old_postinstall_cmds \
 
14245
old_postuninstall_cmds \
 
14246
old_archive_cmds \
 
14247
extract_expsyms_cmds \
 
14248
old_archive_from_new_cmds \
 
14249
old_archive_from_expsyms_cmds \
 
14250
archive_cmds \
 
14251
archive_expsym_cmds \
 
14252
module_cmds \
 
14253
module_expsym_cmds \
 
14254
export_symbols_cmds \
 
14255
prelink_cmds \
 
14256
postinstall_cmds \
 
14257
postuninstall_cmds \
 
14258
finish_cmds \
 
14259
sys_lib_search_path_spec \
 
14260
sys_lib_dlsearch_path_spec; do
 
14261
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14262
    *[\\\\\\\`\\"\\\$]*)
 
14263
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14264
      ;;
 
14265
    *)
 
14266
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14267
      ;;
 
14268
    esac
 
14269
done
 
14270
 
 
14271
ac_aux_dir='$ac_aux_dir'
 
14272
xsi_shell='$xsi_shell'
 
14273
lt_shell_append='$lt_shell_append'
 
14274
 
 
14275
# See if we are running on zsh, and set the options which allow our
 
14276
# commands through without removal of \ escapes INIT.
 
14277
if test -n "\${ZSH_VERSION+set}" ; then
 
14278
   setopt NO_GLOB_SUBST
 
14279
fi
 
14280
 
 
14281
 
 
14282
    PACKAGE='$PACKAGE'
 
14283
    VERSION='$VERSION'
 
14284
    TIMESTAMP='$TIMESTAMP'
 
14285
    RM='$RM'
 
14286
    ofile='$ofile'
 
14287
 
 
14288
 
 
14289
 
 
14290
 
25456
14291
_ACEOF
25457
14292
 
25458
14293
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25463
14298
  case $ac_config_target in
25464
14299
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25465
14300
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
14301
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25466
14302
    "pixman-1.pc") CONFIG_FILES="$CONFIG_FILES pixman-1.pc" ;;
25467
14303
    "pixman-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pixman-1-uninstalled.pc" ;;
25468
14304
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25471
14307
    "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
25472
14308
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
25473
14309
 
25474
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25475
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25476
 
   { (exit 1); exit 1; }; };;
 
14310
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25477
14311
  esac
25478
14312
done
25479
14313
 
25500
14334
  trap 'exit_status=$?
25501
14335
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25502
14336
' 0
25503
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14337
  trap 'as_fn_exit 1' 1 2 13 15
25504
14338
}
25505
14339
# Create a (secure) tmp directory for tmp files.
25506
14340
 
25511
14345
{
25512
14346
  tmp=./conf$$-$RANDOM
25513
14347
  (umask 077 && mkdir "$tmp")
25514
 
} ||
25515
 
{
25516
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
25517
 
   { (exit 1); exit 1; }
25518
 
}
 
14348
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
25519
14349
 
25520
14350
# Set up the scripts for CONFIG_FILES section.
25521
14351
# No need to generate them if there are no CONFIG_FILES.
25523
14353
if test -n "$CONFIG_FILES"; then
25524
14354
 
25525
14355
 
25526
 
ac_cr='
 
 
b"'"
 
14356
ac_cr=`echo X | tr X '\015'`
 
14357
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14358
# But we know of no other shell where ac_cr would be empty at this
 
14359
# point, so we can use a bashism as a fallback.
 
14360
if test "x$ac_cr" = x; then
 
14361
  eval ac_cr=\$\'\\r\'
 
14362
fi
25527
14363
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25528
14364
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25529
14365
  ac_cs_awk_cr='\\r'
25540
14376
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25541
14377
  echo "_ACEOF"
25542
14378
} >conf$$subs.sh ||
25543
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25544
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25545
 
   { (exit 1); exit 1; }; }
25546
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14379
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14380
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25547
14381
ac_delim='%!_!# '
25548
14382
for ac_last_try in false false false false false :; do
25549
14383
  . ./conf$$subs.sh ||
25550
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25551
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25552
 
   { (exit 1); exit 1; }; }
 
14384
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25553
14385
 
25554
14386
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
25555
14387
  if test $ac_delim_n = $ac_delim_num; then
25556
14388
    break
25557
14389
  elif $ac_last_try; then
25558
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25559
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25560
 
   { (exit 1); exit 1; }; }
 
14390
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
25561
14391
  else
25562
14392
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25563
14393
  fi
25579
14409
t delim
25580
14410
:nl
25581
14411
h
25582
 
s/\(.\{148\}\).*/\1/
 
14412
s/\(.\{148\}\)..*/\1/
25583
14413
t more1
25584
14414
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
25585
14415
p
25593
14423
t nl
25594
14424
:delim
25595
14425
h
25596
 
s/\(.\{148\}\).*/\1/
 
14426
s/\(.\{148\}\)..*/\1/
25597
14427
t more2
25598
14428
s/["\\]/\\&/g; s/^/"/; s/$/"/
25599
14429
p
25646
14476
else
25647
14477
  cat
25648
14478
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
25649
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
25650
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
25651
 
   { (exit 1); exit 1; }; }
 
14479
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
25652
14480
_ACEOF
25653
14481
 
25654
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
25655
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14482
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
14483
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
25656
14484
# trailing colons and then remove the whole line if VPATH becomes empty
25657
14485
# (actually we leave an empty line to preserve line numbers).
25658
14486
if test "x$srcdir" = x.; then
25659
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
25660
 
s/:*\$(srcdir):*/:/
25661
 
s/:*\${srcdir}:*/:/
25662
 
s/:*@srcdir@:*/:/
25663
 
s/^\([^=]*=[     ]*\):*/\1/
 
14487
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
14488
h
 
14489
s///
 
14490
s/^/:/
 
14491
s/[      ]*$/:/
 
14492
s/:\$(srcdir):/:/g
 
14493
s/:\${srcdir}:/:/g
 
14494
s/:@srcdir@:/:/g
 
14495
s/^:*//
25664
14496
s/:*$//
 
14497
x
 
14498
s/\(=[   ]*\).*/\1/
 
14499
G
 
14500
s/\n//
25665
14501
s/^[^=]*=[       ]*$//
25666
14502
}'
25667
14503
fi
25689
14525
  if test -z "$ac_t"; then
25690
14526
    break
25691
14527
  elif $ac_last_try; then
25692
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
25693
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
25694
 
   { (exit 1); exit 1; }; }
 
14528
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
25695
14529
  else
25696
14530
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25697
14531
  fi
25776
14610
_ACAWK
25777
14611
_ACEOF
25778
14612
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25779
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
25780
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
25781
 
   { (exit 1); exit 1; }; }
 
14613
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
25782
14614
fi # test -n "$CONFIG_HEADERS"
25783
14615
 
25784
14616
 
25791
14623
  esac
25792
14624
  case $ac_mode$ac_tag in
25793
14625
  :[FHL]*:*);;
25794
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
25795
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
25796
 
   { (exit 1); exit 1; }; };;
 
14626
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
25797
14627
  :[FH]-) ac_tag=-:-;;
25798
14628
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25799
14629
  esac
25821
14651
           [\\/$]*) false;;
25822
14652
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25823
14653
           esac ||
25824
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25825
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25826
 
   { (exit 1); exit 1; }; };;
 
14654
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25827
14655
      esac
25828
14656
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25829
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
14657
      as_fn_append ac_file_inputs " '$ac_f'"
25830
14658
    done
25831
14659
 
25832
14660
    # Let's still pretend it is `configure' which instantiates (i.e., don't
25837
14665
        `' by configure.'
25838
14666
    if test x"$ac_file" != x-; then
25839
14667
      configure_input="$ac_file.  $configure_input"
25840
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14668
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25841
14669
$as_echo "$as_me: creating $ac_file" >&6;}
25842
14670
    fi
25843
14671
    # Neutralize special characters interpreted by sed in replacement strings.
25850
14678
 
25851
14679
    case $ac_tag in
25852
14680
    *:-:* | *:-) cat >"$tmp/stdin" \
25853
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25854
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
25855
 
   { (exit 1); exit 1; }; } ;;
 
14681
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
25856
14682
    esac
25857
14683
    ;;
25858
14684
  esac
25880
14706
            q
25881
14707
          }
25882
14708
          s/.*/./; q'`
25883
 
  { as_dir="$ac_dir"
25884
 
  case $as_dir in #(
25885
 
  -*) as_dir=./$as_dir;;
25886
 
  esac
25887
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25888
 
    as_dirs=
25889
 
    while :; do
25890
 
      case $as_dir in #(
25891
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25892
 
      *) as_qdir=$as_dir;;
25893
 
      esac
25894
 
      as_dirs="'$as_qdir' $as_dirs"
25895
 
      as_dir=`$as_dirname -- "$as_dir" ||
25896
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25897
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
25898
 
         X"$as_dir" : 'X\(//\)$' \| \
25899
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25900
 
$as_echo X"$as_dir" |
25901
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25902
 
            s//\1/
25903
 
            q
25904
 
          }
25905
 
          /^X\(\/\/\)[^/].*/{
25906
 
            s//\1/
25907
 
            q
25908
 
          }
25909
 
          /^X\(\/\/\)$/{
25910
 
            s//\1/
25911
 
            q
25912
 
          }
25913
 
          /^X\(\/\).*/{
25914
 
            s//\1/
25915
 
            q
25916
 
          }
25917
 
          s/.*/./; q'`
25918
 
      test -d "$as_dir" && break
25919
 
    done
25920
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25921
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25922
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25923
 
   { (exit 1); exit 1; }; }; }
 
14709
  as_dir="$ac_dir"; as_fn_mkdir_p
25924
14710
  ac_builddir=.
25925
14711
 
25926
14712
case "$ac_dir" in
25977
14763
# If the template does not know about datarootdir, expand it.
25978
14764
# FIXME: This hack should be removed a few years after 2.60.
25979
14765
ac_datarootdir_hack=; ac_datarootdir_seen=
25980
 
 
25981
14766
ac_sed_dataroot='
25982
14767
/datarootdir/ {
25983
14768
  p
25987
14772
/@docdir@/p
25988
14773
/@infodir@/p
25989
14774
/@localedir@/p
25990
 
/@mandir@/p
25991
 
'
 
14775
/@mandir@/p'
25992
14776
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25993
14777
*datarootdir*) ac_datarootdir_seen=yes;;
25994
14778
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25995
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14779
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25996
14780
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25997
14781
_ACEOF
25998
14782
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26002
14786
  s&@infodir@&$infodir&g
26003
14787
  s&@localedir@&$localedir&g
26004
14788
  s&@mandir@&$mandir&g
26005
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
14789
  s&\\\${datarootdir}&$datarootdir&g' ;;
26006
14790
esac
26007
14791
_ACEOF
26008
14792
 
26031
14815
$ac_datarootdir_hack
26032
14816
"
26033
14817
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26034
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26035
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
26036
 
   { (exit 1); exit 1; }; }
 
14818
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26037
14819
 
26038
14820
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26039
14821
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26040
14822
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26041
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26042
 
which seems to be undefined.  Please make sure it is defined." >&5
 
14823
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14824
which seems to be undefined.  Please make sure it is defined" >&5
26043
14825
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26044
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14826
which seems to be undefined.  Please make sure it is defined" >&2;}
26045
14827
 
26046
14828
  rm -f "$tmp/stdin"
26047
14829
  case $ac_file in
26048
14830
  -) cat "$tmp/out" && rm -f "$tmp/out";;
26049
14831
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26050
14832
  esac \
26051
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26052
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
26053
 
   { (exit 1); exit 1; }; }
 
14833
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26054
14834
 ;;
26055
14835
  :H)
26056
14836
  #
26061
14841
      $as_echo "/* $configure_input  */" \
26062
14842
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26063
14843
    } >"$tmp/config.h" \
26064
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26065
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
26066
 
   { (exit 1); exit 1; }; }
 
14844
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26067
14845
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26068
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14846
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26069
14847
$as_echo "$as_me: $ac_file is unchanged" >&6;}
26070
14848
    else
26071
14849
      rm -f "$ac_file"
26072
14850
      mv "$tmp/config.h" "$ac_file" \
26073
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26074
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
26075
 
   { (exit 1); exit 1; }; }
 
14851
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26076
14852
    fi
26077
14853
  else
26078
14854
    $as_echo "/* $configure_input  */" \
26079
14855
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26080
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
26081
 
$as_echo "$as_me: error: could not create -" >&2;}
26082
 
   { (exit 1); exit 1; }; }
 
14856
      || as_fn_error $? "could not create -" "$LINENO" 5
26083
14857
  fi
26084
14858
# Compute "$ac_file"'s index in $config_headers.
26085
14859
_am_arg="$ac_file"
26117
14891
          s/.*/./; q'`/stamp-h$_am_stamp_count
26118
14892
 ;;
26119
14893
 
26120
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14894
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26121
14895
$as_echo "$as_me: executing $ac_file commands" >&6;}
26122
14896
 ;;
26123
14897
  esac
26212
14986
            q
26213
14987
          }
26214
14988
          s/.*/./; q'`
26215
 
      { as_dir=$dirpart/$fdir
26216
 
  case $as_dir in #(
26217
 
  -*) as_dir=./$as_dir;;
26218
 
  esac
26219
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26220
 
    as_dirs=
26221
 
    while :; do
26222
 
      case $as_dir in #(
26223
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26224
 
      *) as_qdir=$as_dir;;
26225
 
      esac
26226
 
      as_dirs="'$as_qdir' $as_dirs"
26227
 
      as_dir=`$as_dirname -- "$as_dir" ||
26228
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26229
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
26230
 
         X"$as_dir" : 'X\(//\)$' \| \
26231
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26232
 
$as_echo X"$as_dir" |
26233
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26234
 
            s//\1/
26235
 
            q
26236
 
          }
26237
 
          /^X\(\/\/\)[^/].*/{
26238
 
            s//\1/
26239
 
            q
26240
 
          }
26241
 
          /^X\(\/\/\)$/{
26242
 
            s//\1/
26243
 
            q
26244
 
          }
26245
 
          /^X\(\/\).*/{
26246
 
            s//\1/
26247
 
            q
26248
 
          }
26249
 
          s/.*/./; q'`
26250
 
      test -d "$as_dir" && break
26251
 
    done
26252
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
26253
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26254
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26255
 
   { (exit 1); exit 1; }; }; }
 
14989
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
26256
14990
      # echo "creating $dirpart/$file"
26257
14991
      echo '# dummy' > "$dirpart/$file"
26258
14992
    done
26259
14993
  done
26260
14994
}
26261
14995
 ;;
 
14996
    "libtool":C)
 
14997
 
 
14998
    # See if we are running on zsh, and set the options which allow our
 
14999
    # commands through without removal of \ escapes.
 
15000
    if test -n "${ZSH_VERSION+set}" ; then
 
15001
      setopt NO_GLOB_SUBST
 
15002
    fi
 
15003
 
 
15004
    cfgfile="${ofile}T"
 
15005
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15006
    $RM "$cfgfile"
 
15007
 
 
15008
    cat <<_LT_EOF >> "$cfgfile"
 
15009
#! $SHELL
 
15010
 
 
15011
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15012
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15013
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15014
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15015
#
 
15016
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15017
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
15018
#                 Inc.
 
15019
#   Written by Gordon Matzigkeit, 1996
 
15020
#
 
15021
#   This file is part of GNU Libtool.
 
15022
#
 
15023
# GNU Libtool is free software; you can redistribute it and/or
 
15024
# modify it under the terms of the GNU General Public License as
 
15025
# published by the Free Software Foundation; either version 2 of
 
15026
# the License, or (at your option) any later version.
 
15027
#
 
15028
# As a special exception to the GNU General Public License,
 
15029
# if you distribute this file as part of a program or library that
 
15030
# is built using GNU Libtool, you may include this file under the
 
15031
# same distribution terms that you use for the rest of that program.
 
15032
#
 
15033
# GNU Libtool is distributed in the hope that it will be useful,
 
15034
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15035
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15036
# GNU General Public License for more details.
 
15037
#
 
15038
# You should have received a copy of the GNU General Public License
 
15039
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15040
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15041
# obtained by writing to the Free Software Foundation, Inc.,
 
15042
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15043
 
 
15044
 
 
15045
# The names of the tagged configurations supported by this script.
 
15046
available_tags=""
 
15047
 
 
15048
# ### BEGIN LIBTOOL CONFIG
 
15049
 
 
15050
# Which release of libtool.m4 was used?
 
15051
macro_version=$macro_version
 
15052
macro_revision=$macro_revision
 
15053
 
 
15054
# Whether or not to build shared libraries.
 
15055
build_libtool_libs=$enable_shared
 
15056
 
 
15057
# Whether or not to build static libraries.
 
15058
build_old_libs=$enable_static
 
15059
 
 
15060
# What type of objects to build.
 
15061
pic_mode=$pic_mode
 
15062
 
 
15063
# Whether or not to optimize for fast installation.
 
15064
fast_install=$enable_fast_install
 
15065
 
 
15066
# Shell to use when invoking shell scripts.
 
15067
SHELL=$lt_SHELL
 
15068
 
 
15069
# An echo program that protects backslashes.
 
15070
ECHO=$lt_ECHO
 
15071
 
 
15072
# The host system.
 
15073
host_alias=$host_alias
 
15074
host=$host
 
15075
host_os=$host_os
 
15076
 
 
15077
# The build system.
 
15078
build_alias=$build_alias
 
15079
build=$build
 
15080
build_os=$build_os
 
15081
 
 
15082
# A sed program that does not truncate output.
 
15083
SED=$lt_SED
 
15084
 
 
15085
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
15086
Xsed="\$SED -e 1s/^X//"
 
15087
 
 
15088
# A grep program that handles long lines.
 
15089
GREP=$lt_GREP
 
15090
 
 
15091
# An ERE matcher.
 
15092
EGREP=$lt_EGREP
 
15093
 
 
15094
# A literal string matcher.
 
15095
FGREP=$lt_FGREP
 
15096
 
 
15097
# A BSD- or MS-compatible name lister.
 
15098
NM=$lt_NM
 
15099
 
 
15100
# Whether we need soft or hard links.
 
15101
LN_S=$lt_LN_S
 
15102
 
 
15103
# What is the maximum length of a command?
 
15104
max_cmd_len=$max_cmd_len
 
15105
 
 
15106
# Object file suffix (normally "o").
 
15107
objext=$ac_objext
 
15108
 
 
15109
# Executable file suffix (normally "").
 
15110
exeext=$exeext
 
15111
 
 
15112
# whether the shell understands "unset".
 
15113
lt_unset=$lt_unset
 
15114
 
 
15115
# turn spaces into newlines.
 
15116
SP2NL=$lt_lt_SP2NL
 
15117
 
 
15118
# turn newlines into spaces.
 
15119
NL2SP=$lt_lt_NL2SP
 
15120
 
 
15121
# An object symbol dumper.
 
15122
OBJDUMP=$lt_OBJDUMP
 
15123
 
 
15124
# Method to check whether dependent libraries are shared objects.
 
15125
deplibs_check_method=$lt_deplibs_check_method
 
15126
 
 
15127
# Command to use when deplibs_check_method == "file_magic".
 
15128
file_magic_cmd=$lt_file_magic_cmd
 
15129
 
 
15130
# The archiver.
 
15131
AR=$lt_AR
 
15132
AR_FLAGS=$lt_AR_FLAGS
 
15133
 
 
15134
# A symbol stripping program.
 
15135
STRIP=$lt_STRIP
 
15136
 
 
15137
# Commands used to install an old-style archive.
 
15138
RANLIB=$lt_RANLIB
 
15139
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15140
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15141
 
 
15142
# Whether to use a lock for old archive extraction.
 
15143
lock_old_archive_extraction=$lock_old_archive_extraction
 
15144
 
 
15145
# A C compiler.
 
15146
LTCC=$lt_CC
 
15147
 
 
15148
# LTCC compiler flags.
 
15149
LTCFLAGS=$lt_CFLAGS
 
15150
 
 
15151
# Take the output of nm and produce a listing of raw symbols and C names.
 
15152
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15153
 
 
15154
# Transform the output of nm in a proper C declaration.
 
15155
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15156
 
 
15157
# Transform the output of nm in a C name address pair.
 
15158
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15159
 
 
15160
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15161
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15162
 
 
15163
# The name of the directory that contains temporary libtool files.
 
15164
objdir=$objdir
 
15165
 
 
15166
# Used to examine libraries when file_magic_cmd begins with "file".
 
15167
MAGIC_CMD=$MAGIC_CMD
 
15168
 
 
15169
# Must we lock files when doing compilation?
 
15170
need_locks=$lt_need_locks
 
15171
 
 
15172
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15173
DSYMUTIL=$lt_DSYMUTIL
 
15174
 
 
15175
# Tool to change global to local symbols on Mac OS X.
 
15176
NMEDIT=$lt_NMEDIT
 
15177
 
 
15178
# Tool to manipulate fat objects and archives on Mac OS X.
 
15179
LIPO=$lt_LIPO
 
15180
 
 
15181
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15182
OTOOL=$lt_OTOOL
 
15183
 
 
15184
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15185
OTOOL64=$lt_OTOOL64
 
15186
 
 
15187
# Old archive suffix (normally "a").
 
15188
libext=$libext
 
15189
 
 
15190
# Shared library suffix (normally ".so").
 
15191
shrext_cmds=$lt_shrext_cmds
 
15192
 
 
15193
# The commands to extract the exported symbol list from a shared archive.
 
15194
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15195
 
 
15196
# Variables whose values should be saved in libtool wrapper scripts and
 
15197
# restored at link time.
 
15198
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15199
 
 
15200
# Do we need the "lib" prefix for modules?
 
15201
need_lib_prefix=$need_lib_prefix
 
15202
 
 
15203
# Do we need a version for libraries?
 
15204
need_version=$need_version
 
15205
 
 
15206
# Library versioning type.
 
15207
version_type=$version_type
 
15208
 
 
15209
# Shared library runtime path variable.
 
15210
runpath_var=$runpath_var
 
15211
 
 
15212
# Shared library path variable.
 
15213
shlibpath_var=$shlibpath_var
 
15214
 
 
15215
# Is shlibpath searched before the hard-coded library search path?
 
15216
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15217
 
 
15218
# Format of library name prefix.
 
15219
libname_spec=$lt_libname_spec
 
15220
 
 
15221
# List of archive names.  First name is the real one, the rest are links.
 
15222
# The last name is the one that the linker finds with -lNAME
 
15223
library_names_spec=$lt_library_names_spec
 
15224
 
 
15225
# The coded name of the library, if different from the real name.
 
15226
soname_spec=$lt_soname_spec
 
15227
 
 
15228
# Permission mode override for installation of shared libraries.
 
15229
install_override_mode=$lt_install_override_mode
 
15230
 
 
15231
# Command to use after installation of a shared archive.
 
15232
postinstall_cmds=$lt_postinstall_cmds
 
15233
 
 
15234
# Command to use after uninstallation of a shared archive.
 
15235
postuninstall_cmds=$lt_postuninstall_cmds
 
15236
 
 
15237
# Commands used to finish a libtool library installation in a directory.
 
15238
finish_cmds=$lt_finish_cmds
 
15239
 
 
15240
# As "finish_cmds", except a single script fragment to be evaled but
 
15241
# not shown.
 
15242
finish_eval=$lt_finish_eval
 
15243
 
 
15244
# Whether we should hardcode library paths into libraries.
 
15245
hardcode_into_libs=$hardcode_into_libs
 
15246
 
 
15247
# Compile-time system search path for libraries.
 
15248
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15249
 
 
15250
# Run-time system search path for libraries.
 
15251
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15252
 
 
15253
# Whether dlopen is supported.
 
15254
dlopen_support=$enable_dlopen
 
15255
 
 
15256
# Whether dlopen of programs is supported.
 
15257
dlopen_self=$enable_dlopen_self
 
15258
 
 
15259
# Whether dlopen of statically linked programs is supported.
 
15260
dlopen_self_static=$enable_dlopen_self_static
 
15261
 
 
15262
# Commands to strip libraries.
 
15263
old_striplib=$lt_old_striplib
 
15264
striplib=$lt_striplib
 
15265
 
 
15266
 
 
15267
# The linker used to build libraries.
 
15268
LD=$lt_LD
 
15269
 
 
15270
# How to create reloadable object files.
 
15271
reload_flag=$lt_reload_flag
 
15272
reload_cmds=$lt_reload_cmds
 
15273
 
 
15274
# Commands used to build an old-style archive.
 
15275
old_archive_cmds=$lt_old_archive_cmds
 
15276
 
 
15277
# A language specific compiler.
 
15278
CC=$lt_compiler
 
15279
 
 
15280
# Is the compiler the GNU compiler?
 
15281
with_gcc=$GCC
 
15282
 
 
15283
# Compiler flag to turn off builtin functions.
 
15284
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15285
 
 
15286
# How to pass a linker flag through the compiler.
 
15287
wl=$lt_lt_prog_compiler_wl
 
15288
 
 
15289
# Additional compiler flags for building library objects.
 
15290
pic_flag=$lt_lt_prog_compiler_pic
 
15291
 
 
15292
# Compiler flag to prevent dynamic linking.
 
15293
link_static_flag=$lt_lt_prog_compiler_static
 
15294
 
 
15295
# Does compiler simultaneously support -c and -o options?
 
15296
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15297
 
 
15298
# Whether or not to add -lc for building shared libraries.
 
15299
build_libtool_need_lc=$archive_cmds_need_lc
 
15300
 
 
15301
# Whether or not to disallow shared libs when runtime libs are static.
 
15302
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15303
 
 
15304
# Compiler flag to allow reflexive dlopens.
 
15305
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15306
 
 
15307
# Compiler flag to generate shared objects directly from archives.
 
15308
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15309
 
 
15310
# Whether the compiler copes with passing no objects directly.
 
15311
compiler_needs_object=$lt_compiler_needs_object
 
15312
 
 
15313
# Create an old-style archive from a shared archive.
 
15314
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15315
 
 
15316
# Create a temporary old-style archive to link instead of a shared archive.
 
15317
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15318
 
 
15319
# Commands used to build a shared archive.
 
15320
archive_cmds=$lt_archive_cmds
 
15321
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15322
 
 
15323
# Commands used to build a loadable module if different from building
 
15324
# a shared archive.
 
15325
module_cmds=$lt_module_cmds
 
15326
module_expsym_cmds=$lt_module_expsym_cmds
 
15327
 
 
15328
# Whether we are building with GNU ld or not.
 
15329
with_gnu_ld=$lt_with_gnu_ld
 
15330
 
 
15331
# Flag that allows shared libraries with undefined symbols to be built.
 
15332
allow_undefined_flag=$lt_allow_undefined_flag
 
15333
 
 
15334
# Flag that enforces no undefined symbols.
 
15335
no_undefined_flag=$lt_no_undefined_flag
 
15336
 
 
15337
# Flag to hardcode \$libdir into a binary during linking.
 
15338
# This must work even if \$libdir does not exist
 
15339
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15340
 
 
15341
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
15342
# during linking.  This must work even if \$libdir does not exist.
 
15343
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
15344
 
 
15345
# Whether we need a single "-rpath" flag with a separated argument.
 
15346
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15347
 
 
15348
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15349
# DIR into the resulting binary.
 
15350
hardcode_direct=$hardcode_direct
 
15351
 
 
15352
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15353
# DIR into the resulting binary and the resulting library dependency is
 
15354
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15355
# library is relocated.
 
15356
hardcode_direct_absolute=$hardcode_direct_absolute
 
15357
 
 
15358
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15359
# into the resulting binary.
 
15360
hardcode_minus_L=$hardcode_minus_L
 
15361
 
 
15362
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15363
# into the resulting binary.
 
15364
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15365
 
 
15366
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15367
# into the library and all subsequent libraries and executables linked
 
15368
# against it.
 
15369
hardcode_automatic=$hardcode_automatic
 
15370
 
 
15371
# Set to yes if linker adds runtime paths of dependent libraries
 
15372
# to runtime path list.
 
15373
inherit_rpath=$inherit_rpath
 
15374
 
 
15375
# Whether libtool must link a program against all its dependency libraries.
 
15376
link_all_deplibs=$link_all_deplibs
 
15377
 
 
15378
# Fix the shell variable \$srcfile for the compiler.
 
15379
fix_srcfile_path=$lt_fix_srcfile_path
 
15380
 
 
15381
# Set to "yes" if exported symbols are required.
 
15382
always_export_symbols=$always_export_symbols
 
15383
 
 
15384
# The commands to list exported symbols.
 
15385
export_symbols_cmds=$lt_export_symbols_cmds
 
15386
 
 
15387
# Symbols that should not be listed in the preloaded symbols.
 
15388
exclude_expsyms=$lt_exclude_expsyms
 
15389
 
 
15390
# Symbols that must always be exported.
 
15391
include_expsyms=$lt_include_expsyms
 
15392
 
 
15393
# Commands necessary for linking programs (against libraries) with templates.
 
15394
prelink_cmds=$lt_prelink_cmds
 
15395
 
 
15396
# Specify filename containing input files.
 
15397
file_list_spec=$lt_file_list_spec
 
15398
 
 
15399
# How to hardcode a shared library path into an executable.
 
15400
hardcode_action=$hardcode_action
 
15401
 
 
15402
# ### END LIBTOOL CONFIG
 
15403
 
 
15404
_LT_EOF
 
15405
 
 
15406
  case $host_os in
 
15407
  aix3*)
 
15408
    cat <<\_LT_EOF >> "$cfgfile"
 
15409
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15410
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15411
# vanish in a puff of smoke.
 
15412
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15413
  COLLECT_NAMES=
 
15414
  export COLLECT_NAMES
 
15415
fi
 
15416
_LT_EOF
 
15417
    ;;
 
15418
  esac
 
15419
 
 
15420
 
 
15421
ltmain="$ac_aux_dir/ltmain.sh"
 
15422
 
 
15423
 
 
15424
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15425
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15426
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15427
  # is reportedly fixed, but why not run on old versions too?
 
15428
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
15429
    || (rm -f "$cfgfile"; exit 1)
 
15430
 
 
15431
  case $xsi_shell in
 
15432
  yes)
 
15433
    cat << \_LT_EOF >> "$cfgfile"
 
15434
 
 
15435
# func_dirname file append nondir_replacement
 
15436
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15437
# otherwise set result to NONDIR_REPLACEMENT.
 
15438
func_dirname ()
 
15439
{
 
15440
  case ${1} in
 
15441
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15442
    *  ) func_dirname_result="${3}" ;;
 
15443
  esac
 
15444
}
 
15445
 
 
15446
# func_basename file
 
15447
func_basename ()
 
15448
{
 
15449
  func_basename_result="${1##*/}"
 
15450
}
 
15451
 
 
15452
# func_dirname_and_basename file append nondir_replacement
 
15453
# perform func_basename and func_dirname in a single function
 
15454
# call:
 
15455
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
15456
#             add APPEND to the result, otherwise set result
 
15457
#             to NONDIR_REPLACEMENT.
 
15458
#             value returned in "$func_dirname_result"
 
15459
#   basename: Compute filename of FILE.
 
15460
#             value retuned in "$func_basename_result"
 
15461
# Implementation must be kept synchronized with func_dirname
 
15462
# and func_basename. For efficiency, we do not delegate to
 
15463
# those functions but instead duplicate the functionality here.
 
15464
func_dirname_and_basename ()
 
15465
{
 
15466
  case ${1} in
 
15467
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15468
    *  ) func_dirname_result="${3}" ;;
 
15469
  esac
 
15470
  func_basename_result="${1##*/}"
 
15471
}
 
15472
 
 
15473
# func_stripname prefix suffix name
 
15474
# strip PREFIX and SUFFIX off of NAME.
 
15475
# PREFIX and SUFFIX must not contain globbing or regex special
 
15476
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15477
# dot (in which case that matches only a dot).
 
15478
func_stripname ()
 
15479
{
 
15480
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
15481
  # positional parameters, so assign one to ordinary parameter first.
 
15482
  func_stripname_result=${3}
 
15483
  func_stripname_result=${func_stripname_result#"${1}"}
 
15484
  func_stripname_result=${func_stripname_result%"${2}"}
 
15485
}
 
15486
 
 
15487
# func_opt_split
 
15488
func_opt_split ()
 
15489
{
 
15490
  func_opt_split_opt=${1%%=*}
 
15491
  func_opt_split_arg=${1#*=}
 
15492
}
 
15493
 
 
15494
# func_lo2o object
 
15495
func_lo2o ()
 
15496
{
 
15497
  case ${1} in
 
15498
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
15499
    *)    func_lo2o_result=${1} ;;
 
15500
  esac
 
15501
}
 
15502
 
 
15503
# func_xform libobj-or-source
 
15504
func_xform ()
 
15505
{
 
15506
  func_xform_result=${1%.*}.lo
 
15507
}
 
15508
 
 
15509
# func_arith arithmetic-term...
 
15510
func_arith ()
 
15511
{
 
15512
  func_arith_result=$(( $* ))
 
15513
}
 
15514
 
 
15515
# func_len string
 
15516
# STRING may not start with a hyphen.
 
15517
func_len ()
 
15518
{
 
15519
  func_len_result=${#1}
 
15520
}
 
15521
 
 
15522
_LT_EOF
 
15523
    ;;
 
15524
  *) # Bourne compatible functions.
 
15525
    cat << \_LT_EOF >> "$cfgfile"
 
15526
 
 
15527
# func_dirname file append nondir_replacement
 
15528
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15529
# otherwise set result to NONDIR_REPLACEMENT.
 
15530
func_dirname ()
 
15531
{
 
15532
  # Extract subdirectory from the argument.
 
15533
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
 
15534
  if test "X$func_dirname_result" = "X${1}"; then
 
15535
    func_dirname_result="${3}"
 
15536
  else
 
15537
    func_dirname_result="$func_dirname_result${2}"
 
15538
  fi
 
15539
}
 
15540
 
 
15541
# func_basename file
 
15542
func_basename ()
 
15543
{
 
15544
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
 
15545
}
 
15546
 
 
15547
 
 
15548
# func_stripname prefix suffix name
 
15549
# strip PREFIX and SUFFIX off of NAME.
 
15550
# PREFIX and SUFFIX must not contain globbing or regex special
 
15551
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15552
# dot (in which case that matches only a dot).
 
15553
# func_strip_suffix prefix name
 
15554
func_stripname ()
 
15555
{
 
15556
  case ${2} in
 
15557
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
15558
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
15559
  esac
 
15560
}
 
15561
 
 
15562
# sed scripts:
 
15563
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
15564
my_sed_long_arg='1s/^-[^=]*=//'
 
15565
 
 
15566
# func_opt_split
 
15567
func_opt_split ()
 
15568
{
 
15569
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
15570
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
 
15571
}
 
15572
 
 
15573
# func_lo2o object
 
15574
func_lo2o ()
 
15575
{
 
15576
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
 
15577
}
 
15578
 
 
15579
# func_xform libobj-or-source
 
15580
func_xform ()
 
15581
{
 
15582
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
 
15583
}
 
15584
 
 
15585
# func_arith arithmetic-term...
 
15586
func_arith ()
 
15587
{
 
15588
  func_arith_result=`expr "$@"`
 
15589
}
 
15590
 
 
15591
# func_len string
 
15592
# STRING may not start with a hyphen.
 
15593
func_len ()
 
15594
{
 
15595
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
15596
}
 
15597
 
 
15598
_LT_EOF
 
15599
esac
 
15600
 
 
15601
case $lt_shell_append in
 
15602
  yes)
 
15603
    cat << \_LT_EOF >> "$cfgfile"
 
15604
 
 
15605
# func_append var value
 
15606
# Append VALUE to the end of shell variable VAR.
 
15607
func_append ()
 
15608
{
 
15609
  eval "$1+=\$2"
 
15610
}
 
15611
_LT_EOF
 
15612
    ;;
 
15613
  *)
 
15614
    cat << \_LT_EOF >> "$cfgfile"
 
15615
 
 
15616
# func_append var value
 
15617
# Append VALUE to the end of shell variable VAR.
 
15618
func_append ()
 
15619
{
 
15620
  eval "$1=\$$1\$2"
 
15621
}
 
15622
 
 
15623
_LT_EOF
 
15624
    ;;
 
15625
  esac
 
15626
 
 
15627
 
 
15628
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
15629
    || (rm -f "$cfgfile"; exit 1)
 
15630
 
 
15631
  mv -f "$cfgfile" "$ofile" ||
 
15632
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15633
  chmod +x "$ofile"
 
15634
 
 
15635
 ;;
26262
15636
 
26263
15637
  esac
26264
15638
done # for ac_tag
26265
15639
 
26266
15640
 
26267
 
{ (exit 0); exit 0; }
 
15641
as_fn_exit 0
26268
15642
_ACEOF
26269
 
chmod +x $CONFIG_STATUS
26270
15643
ac_clean_files=$ac_clean_files_save
26271
15644
 
26272
15645
test $ac_write_fail = 0 ||
26273
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26274
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26275
 
   { (exit 1); exit 1; }; }
 
15646
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
26276
15647
 
26277
15648
 
26278
15649
# configure is writing to config.log, and then calls config.status.
26293
15664
  exec 5>>config.log
26294
15665
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26295
15666
  # would make configure fail if this is the last instruction.
26296
 
  $ac_cs_success || { (exit 1); exit 1; }
 
15667
  $ac_cs_success || as_fn_exit 1
26297
15668
fi
26298
15669
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26299
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15670
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26300
15671
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26301
15672
fi
26302
15673