~ubuntu-branches/ubuntu/utopic/libopenraw/utopic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): David Paleino
  • Date: 2012-03-10 08:57:09 UTC
  • mto: (7.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: package-import@ubuntu.com-20120310085709-zuimi0xsth01nfkc
Tags: upstream-0.0.9
ImportĀ upstreamĀ versionĀ 0.0.9

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.
 
3
# Generated by GNU Autoconf 2.68 for libopenraw 0.0.9.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
33
fi
28
34
 
29
35
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
36
as_nl='
41
37
'
42
38
export as_nl
44
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
50
  as_echo='printf %s\n'
49
51
  as_echo_n='printf %s'
50
52
else
55
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
58
    as_echo_n_body='eval
57
59
      arg=$1;
58
 
      case $arg in
 
60
      case $arg in #(
59
61
      *"$as_nl"*)
60
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
80
  }
79
81
fi
80
82
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
83
 
89
84
# IFS
90
85
# We need space, tab and new line, in precisely that order.  Quoting is
94
89
IFS=" ""        $as_nl"
95
90
 
96
91
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
92
as_myself=
 
93
case $0 in #((
98
94
  *[\\/]* ) as_myself=$0 ;;
99
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
96
for as_dir in $PATH
101
97
do
102
98
  IFS=$as_save_IFS
103
99
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
101
  done
106
102
IFS=$as_save_IFS
107
103
 
108
104
     ;;
114
110
fi
115
111
if test ! -f "$as_myself"; then
116
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
113
  exit 1
118
114
fi
119
115
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
116
# Unset variables that we do not need and which cause bugs (e.g. in
 
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
118
# suppresses any "Segmentation fault" message there.  '((' could
 
119
# trigger a bug in pdksh 5.2.14.
 
120
for as_var in BASH_ENV ENV MAIL MAILPATH
 
121
do eval test x\${$as_var+set} = xset \
 
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
123
done
124
124
PS1='$ '
125
125
PS2='> '
131
131
LANGUAGE=C
132
132
export LANGUAGE
133
133
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
134
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
136
 
173
137
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
139
  emulate sh
 
140
  NULLCMD=:
 
141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
142
  # is contrary to our usage.  Disable this feature.
 
143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
144
  setopt NO_GLOB_SUBST
 
145
else
 
146
  case \`(set -o) 2>/dev/null\` in #(
 
147
  *posix*) :
 
148
    set -o posix ;; #(
 
149
  *) :
 
150
     ;;
 
151
esac
 
152
fi
 
153
"
 
154
  as_required="as_fn_return () { (exit \$1); }
 
155
as_fn_success () { as_fn_return 0; }
 
156
as_fn_failure () { as_fn_return 1; }
 
157
as_fn_ret_success () { return 0; }
 
158
as_fn_ret_failure () { return 1; }
 
159
 
 
160
exitcode=0
 
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
166
 
 
167
else
 
168
  exitcode=1; echo positional parameters were not saved.
 
169
fi
 
170
test x\$exitcode = x0 || exit 1"
 
171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
175
 
 
176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    PATH=/empty FPATH=/empty; export PATH FPATH
 
181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
183
test \$(( 1 + 1 )) = 2 || exit 1"
 
184
  if (eval "$as_required") 2>/dev/null; then :
175
185
  as_have_required=yes
176
186
else
177
187
  as_have_required=no
178
188
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
189
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
190
 
 
191
else
 
192
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
193
as_found=false
241
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
195
do
243
196
  IFS=$as_save_IFS
244
197
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
198
  as_found=:
 
199
  case $as_dir in #(
246
200
         /*)
247
201
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
202
             # Try only shells that exist, to save several forks.
 
203
             as_shell=$as_dir/$as_base
 
204
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
205
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$as_shell as_have_required=yes
 
207
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  break 2
 
209
fi
 
210
fi
249
211
           done;;
250
212
       esac
 
213
  as_found=false
251
214
done
 
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
216
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
217
  CONFIG_SHELL=$SHELL as_have_required=yes
 
218
fi; }
252
219
IFS=$as_save_IFS
253
220
 
254
221
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
222
      if test "x$CONFIG_SHELL" != x; then :
 
223
  # We cannot yet assume a decent shell, so we have to provide a
 
224
        # neutralization value for shells without unset; and this also
 
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
 
227
        BASH_ENV=/dev/null
 
228
        ENV=/dev/null
 
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
230
        export CONFIG_SHELL
366
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
 
fi
368
 
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
238
fi
 
239
 
 
240
    if test x$as_have_required = xno; then :
 
241
  $as_echo "$0: This script requires a shell more modern than all"
 
242
  $as_echo "$0: the shells that I found on your system."
 
243
  if test x${ZSH_VERSION+set} = xset ; then
 
244
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
245
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
246
  else
 
247
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
248
$0: including any error possibly output before this
 
249
$0: message. Then install a modern shell, or manually run
 
250
$0: the script under such a shell if you do have one."
 
251
  fi
 
252
  exit 1
 
253
fi
 
254
fi
 
255
fi
 
256
SHELL=${CONFIG_SHELL-/bin/sh}
 
257
export SHELL
 
258
# Unset more variables known to interfere with behavior of common tools.
 
259
CLICOLOR_FORCE= GREP_OPTIONS=
 
260
unset CLICOLOR_FORCE GREP_OPTIONS
 
261
 
 
262
## --------------------- ##
 
263
## M4sh Shell Functions. ##
 
264
## --------------------- ##
 
265
# as_fn_unset VAR
 
266
# ---------------
 
267
# Portably unset VAR.
 
268
as_fn_unset ()
 
269
{
 
270
  { eval $1=; unset $1;}
 
271
}
 
272
as_unset=as_fn_unset
 
273
 
 
274
# as_fn_set_status STATUS
 
275
# -----------------------
 
276
# Set $? to STATUS, without forking.
 
277
as_fn_set_status ()
 
278
{
 
279
  return $1
 
280
} # as_fn_set_status
 
281
 
 
282
# as_fn_exit STATUS
 
283
# -----------------
 
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
285
as_fn_exit ()
 
286
{
 
287
  set +e
 
288
  as_fn_set_status $1
 
289
  exit $1
 
290
} # as_fn_exit
 
291
 
 
292
# as_fn_mkdir_p
 
293
# -------------
 
294
# Create "$as_dir" as a directory, including parents if necessary.
 
295
as_fn_mkdir_p ()
 
296
{
 
297
 
 
298
  case $as_dir in #(
 
299
  -*) as_dir=./$as_dir;;
 
300
  esac
 
301
  test -d "$as_dir" || eval $as_mkdir_p || {
 
302
    as_dirs=
 
303
    while :; do
 
304
      case $as_dir in #(
 
305
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
306
      *) as_qdir=$as_dir;;
 
307
      esac
 
308
      as_dirs="'$as_qdir' $as_dirs"
 
309
      as_dir=`$as_dirname -- "$as_dir" ||
 
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
311
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
312
         X"$as_dir" : 'X\(//\)$' \| \
 
313
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
314
$as_echo X"$as_dir" |
 
315
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)[^/].*/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)$/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\).*/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          s/.*/./; q'`
 
332
      test -d "$as_dir" && break
 
333
    done
 
334
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
335
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
336
 
 
337
 
 
338
} # as_fn_mkdir_p
 
339
# as_fn_append VAR VALUE
 
340
# ----------------------
 
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
342
# advantage of any shell optimizations that allow amortized linear growth over
 
343
# repeated appends, instead of the typical quadratic growth present in naive
 
344
# implementations.
 
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
346
  eval 'as_fn_append ()
 
347
  {
 
348
    eval $1+=\$2
 
349
  }'
 
350
else
 
351
  as_fn_append ()
 
352
  {
 
353
    eval $1=\$$1\$2
 
354
  }
 
355
fi # as_fn_append
 
356
 
 
357
# as_fn_arith ARG...
 
358
# ------------------
 
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
361
# must be portable across $(()) and expr.
 
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
363
  eval 'as_fn_arith ()
 
364
  {
 
365
    as_val=$(( $* ))
 
366
  }'
 
367
else
 
368
  as_fn_arith ()
 
369
  {
 
370
    as_val=`expr "$@" || test $? -eq 1`
 
371
  }
 
372
fi # as_fn_arith
 
373
 
 
374
 
 
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
376
# ----------------------------------------
 
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
379
# script with STATUS, using 1 if that was 0.
 
380
as_fn_error ()
 
381
{
 
382
  as_status=$1; test $as_status -eq 0 && as_status=1
 
383
  if test "$4"; then
 
384
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
385
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
386
  fi
 
387
  $as_echo "$as_me: error: $2" >&2
 
388
  as_fn_exit $as_status
 
389
} # as_fn_error
 
390
 
 
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
392
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
393
  as_expr=expr
 
394
else
 
395
  as_expr=false
 
396
fi
 
397
 
 
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
399
  as_basename=basename
 
400
else
 
401
  as_basename=false
 
402
fi
 
403
 
 
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
405
  as_dirname=dirname
 
406
else
 
407
  as_dirname=false
 
408
fi
 
409
 
 
410
as_me=`$as_basename -- "$0" ||
 
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
412
         X"$0" : 'X\(//\)$' \| \
 
413
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
414
$as_echo X/"$0" |
 
415
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\/\)$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\).*/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          s/.*/./; q'`
 
428
 
 
429
# Avoid depending upon Character Ranges.
 
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
433
as_cr_digits='0123456789'
 
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
435
 
 
436
 
 
437
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
438
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
439
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
440
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
441
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
442
  sed -n '
459
443
    p
460
444
    /[$]LINENO/=
471
455
      s/-\n.*//
472
456
    ' >$as_me.lineno &&
473
457
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
458
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
459
 
477
460
  # Don't try to exec as it changes $[0], causing all sort of problems
478
461
  # (the dirname of $[0] is not the place where we might find the
482
465
  exit
483
466
}
484
467
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
468
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
469
case `echo -n x` in #(((((
494
470
-n*)
495
 
  case `echo 'x\c'` in
 
471
  case `echo 'xy\c'` in
496
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
473
  xy)  ECHO_C='\c';;
 
474
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
475
       ECHO_T=' ';;
498
476
  esac;;
499
477
*)
500
478
  ECHO_N='-n';;
501
479
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
480
 
509
481
rm -f conf$$ conf$$.exe conf$$.file
510
482
if test -d conf$$.dir; then
534
506
rmdir conf$$.dir 2>/dev/null
535
507
 
536
508
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
509
  as_mkdir_p='mkdir -p "$as_dir"'
538
510
else
539
511
  test -d ./-p && rmdir ./-p
540
512
  as_mkdir_p=false
553
525
      if test -d "$1"; then
554
526
        test -d "$1/.";
555
527
      else
556
 
        case $1 in
 
528
        case $1 in #(
557
529
        -*)set "./$1";;
558
530
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
531
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
532
        ???[sx]*):;;*)false;;esac;fi
561
533
    '\'' sh
562
534
  '
569
541
# Sed expression to map a string onto a valid variable name.
570
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
543
 
572
 
 
573
 
 
574
 
 
575
 
# Check that we are running under the correct shell.
576
544
SHELL=${CONFIG_SHELL-/bin/sh}
577
545
 
578
 
case X$lt_ECHO in
579
 
X*--fallback-echo)
580
 
  # Remove one level of quotation (which was required for Make).
581
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
582
 
  ;;
583
 
esac
584
 
 
585
 
ECHO=${lt_ECHO-echo}
586
 
if test "X$1" = X--no-reexec; then
587
 
  # Discard the --no-reexec flag, and continue.
588
 
  shift
589
 
elif test "X$1" = X--fallback-echo; then
590
 
  # Avoid inline document here, it may be left over
591
 
  :
592
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593
 
  # Yippee, $ECHO works!
594
 
  :
595
 
else
596
 
  # Restart under the correct shell.
597
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
598
 
fi
599
 
 
600
 
if test "X$1" = X--fallback-echo; then
601
 
  # used as fallback echo
602
 
  shift
603
 
  cat <<_LT_EOF
604
 
$*
605
 
_LT_EOF
606
 
  exit 0
607
 
fi
608
 
 
609
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
610
 
# if CDPATH is set.
611
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
612
 
 
613
 
if test -z "$lt_ECHO"; then
614
 
  if test "X${echo_test_string+set}" != Xset; then
615
 
    # find a string as large as possible, as long as the shell can cope with it
616
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
620
 
      then
621
 
        break
622
 
      fi
623
 
    done
624
 
  fi
625
 
 
626
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
    :
630
 
  else
631
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
632
 
    # backslashes.  This makes it impossible to quote backslashes using
633
 
    #   echo "$something" | sed 's/\\/\\\\/g'
634
 
    #
635
 
    # So, first we look for a working echo in the user's PATH.
636
 
 
637
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638
 
    for dir in $PATH /usr/ucb; do
639
 
      IFS="$lt_save_ifs"
640
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
        ECHO="$dir/echo"
645
 
        break
646
 
      fi
647
 
    done
648
 
    IFS="$lt_save_ifs"
649
 
 
650
 
    if test "X$ECHO" = Xecho; then
651
 
      # We didn't find a better echo, so look for alternatives.
652
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
655
 
        # This shell has a builtin print -r that does the trick.
656
 
        ECHO='print -r'
657
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
659
 
        # If we have ksh, try running configure again with it.
660
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661
 
        export ORIGINAL_CONFIG_SHELL
662
 
        CONFIG_SHELL=/bin/ksh
663
 
        export CONFIG_SHELL
664
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
665
 
      else
666
 
        # Try using printf.
667
 
        ECHO='printf %s\n'
668
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
671
 
          # Cool, printf works
672
 
          :
673
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674
 
             test "X$echo_testing_string" = 'X\t' &&
675
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
677
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
678
 
          export CONFIG_SHELL
679
 
          SHELL="$CONFIG_SHELL"
680
 
          export SHELL
681
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
682
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683
 
             test "X$echo_testing_string" = 'X\t' &&
684
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
686
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
687
 
        else
688
 
          # maybe with a smaller string...
689
 
          prev=:
690
 
 
691
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
693
 
            then
694
 
              break
695
 
            fi
696
 
            prev="$cmd"
697
 
          done
698
 
 
699
 
          if test "$prev" != 'sed 50q "$0"'; then
700
 
            echo_test_string=`eval $prev`
701
 
            export echo_test_string
702
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
703
 
          else
704
 
            # Oops.  We lost completely, so just stick with echo.
705
 
            ECHO=echo
706
 
          fi
707
 
        fi
708
 
      fi
709
 
    fi
710
 
  fi
711
 
fi
712
 
 
713
 
# Copy echo and quote the copy suitably for passing to libtool from
714
 
# the Makefile, instead of quoting the original, which is used later.
715
 
lt_ECHO=$ECHO
716
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
718
 
fi
719
 
 
720
 
 
721
 
 
722
 
 
723
 
exec 7<&0 </dev/null 6>&1
 
546
 
 
547
test -n "$DJDIR" || exec 7<&0 </dev/null
 
548
exec 6>&1
724
549
 
725
550
# Name of the host.
726
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
727
552
# so uname gets run too.
728
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
729
554
 
738
563
subdirs=
739
564
MFLAGS=
740
565
MAKEFLAGS=
741
 
SHELL=${CONFIG_SHELL-/bin/sh}
742
566
 
743
567
# Identity of this package.
744
 
PACKAGE_NAME=
745
 
PACKAGE_TARNAME=
746
 
PACKAGE_VERSION=
747
 
PACKAGE_STRING=
748
 
PACKAGE_BUGREPORT=
 
568
PACKAGE_NAME='libopenraw'
 
569
PACKAGE_TARNAME='libopenraw'
 
570
PACKAGE_VERSION='0.0.9'
 
571
PACKAGE_STRING='libopenraw 0.0.9'
 
572
PACKAGE_BUGREPORT=''
 
573
PACKAGE_URL=''
749
574
 
750
 
ac_unique_file="include/libopenraw/libopenraw.h"
751
575
# Factoring default headers for most tests.
752
576
ac_includes_default="\
753
577
#include <stdio.h>
784
608
# include <unistd.h>
785
609
#endif"
786
610
 
787
 
ac_subst_vars='LTLIBOBJS
 
611
ac_func_list=
 
612
ac_subst_vars='am__EXEEXT_FALSE
 
613
am__EXEEXT_TRUE
 
614
LTLIBOBJS
788
615
LIBOBJS
789
616
SHAVE_SAVED_CXX
790
617
SHAVE_SAVED_CC
803
630
CURL_CFLAGS
804
631
LIBXML_LIBS
805
632
LIBXML_CFLAGS
 
633
PKG_CONFIG_LIBDIR
 
634
PKG_CONFIG_PATH
806
635
PKG_CONFIG
807
636
BOOST_UNIT_TEST_FRAMEWORK_LIBS
808
637
BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS
816
645
LIPO
817
646
NMEDIT
818
647
DSYMUTIL
819
 
lt_ECHO
 
648
MANIFEST_TOOL
820
649
RANLIB
 
650
ac_ct_AR
821
651
AR
 
652
DLLTOOL
822
653
OBJDUMP
823
654
LN_S
824
655
NM
925
756
program_transform_name
926
757
prefix
927
758
exec_prefix
 
759
PACKAGE_URL
928
760
PACKAGE_BUGREPORT
929
761
PACKAGE_STRING
930
762
PACKAGE_VERSION
942
774
with_pic
943
775
enable_fast_install
944
776
with_gnu_ld
 
777
with_sysroot
945
778
enable_libtool_lock
946
779
with_darwinports
947
780
with_fink
962
795
CCC
963
796
CXXCPP
964
797
PKG_CONFIG
 
798
PKG_CONFIG_PATH
 
799
PKG_CONFIG_LIBDIR
965
800
LIBXML_CFLAGS
966
801
LIBXML_LIBS
967
802
CURL_CFLAGS
1010
845
localstatedir='${prefix}/var'
1011
846
includedir='${prefix}/include'
1012
847
oldincludedir='/usr/include'
1013
 
docdir='${datarootdir}/doc/${PACKAGE}'
 
848
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1014
849
infodir='${datarootdir}/info'
1015
850
htmldir='${docdir}'
1016
851
dvidir='${docdir}'
1032
867
  fi
1033
868
 
1034
869
  case $ac_option in
1035
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1036
 
  *)    ac_optarg=yes ;;
 
870
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
871
  *=)   ac_optarg= ;;
 
872
  *)    ac_optarg=yes ;;
1037
873
  esac
1038
874
 
1039
875
  # Accept the important Cygnus configure options, so we can diagnose typos.
1078
914
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1079
915
    # Reject names that are not valid shell variable names.
1080
916
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1082
 
   { (exit 1); exit 1; }; }
 
917
      as_fn_error $? "invalid feature name: $ac_useropt"
1083
918
    ac_useropt_orig=$ac_useropt
1084
919
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085
920
    case $ac_user_opts in
1105
940
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1106
941
    # Reject names that are not valid shell variable names.
1107
942
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1109
 
   { (exit 1); exit 1; }; }
 
943
      as_fn_error $? "invalid feature name: $ac_useropt"
1110
944
    ac_useropt_orig=$ac_useropt
1111
945
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112
946
    case $ac_user_opts in
1310
1144
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1311
1145
    # Reject names that are not valid shell variable names.
1312
1146
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1313
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1314
 
   { (exit 1); exit 1; }; }
 
1147
      as_fn_error $? "invalid package name: $ac_useropt"
1315
1148
    ac_useropt_orig=$ac_useropt
1316
1149
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317
1150
    case $ac_user_opts in
1327
1160
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1328
1161
    # Reject names that are not valid shell variable names.
1329
1162
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1330
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1331
 
   { (exit 1); exit 1; }; }
 
1163
      as_fn_error $? "invalid package name: $ac_useropt"
1332
1164
    ac_useropt_orig=$ac_useropt
1333
1165
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1334
1166
    case $ac_user_opts in
1358
1190
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1359
1191
    x_libraries=$ac_optarg ;;
1360
1192
 
1361
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1362
 
Try \`$0 --help' for more information." >&2
1363
 
   { (exit 1); exit 1; }; }
 
1193
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1194
Try \`$0 --help' for more information"
1364
1195
    ;;
1365
1196
 
1366
1197
  *=*)
1367
1198
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1368
1199
    # Reject names that are not valid shell variable names.
1369
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1370
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1371
 
   { (exit 1); exit 1; }; }
 
1200
    case $ac_envvar in #(
 
1201
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1202
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1203
    esac
1372
1204
    eval $ac_envvar=\$ac_optarg
1373
1205
    export $ac_envvar ;;
1374
1206
 
1377
1209
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1378
1210
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379
1211
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1380
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1212
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1381
1213
    ;;
1382
1214
 
1383
1215
  esac
1385
1217
 
1386
1218
if test -n "$ac_prev"; then
1387
1219
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1388
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1389
 
   { (exit 1); exit 1; }; }
 
1220
  as_fn_error $? "missing argument to $ac_option"
1390
1221
fi
1391
1222
 
1392
1223
if test -n "$ac_unrecognized_opts"; then
1393
1224
  case $enable_option_checking in
1394
1225
    no) ;;
1395
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1396
 
   { (exit 1); exit 1; }; } ;;
 
1226
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1397
1227
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1398
1228
  esac
1399
1229
fi
1416
1246
    [\\/$]* | ?:[\\/]* )  continue;;
1417
1247
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1418
1248
  esac
1419
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1420
 
   { (exit 1); exit 1; }; }
 
1249
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1421
1250
done
1422
1251
 
1423
1252
# There might be people who depend on the old broken behavior: `$host'
1431
1260
if test "x$host_alias" != x; then
1432
1261
  if test "x$build_alias" = x; then
1433
1262
    cross_compiling=maybe
1434
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1435
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1263
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1264
    If a cross compiler is detected then cross compile mode will be used" >&2
1436
1265
  elif test "x$build_alias" != "x$host_alias"; then
1437
1266
    cross_compiling=yes
1438
1267
  fi
1447
1276
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1448
1277
ac_ls_di=`ls -di .` &&
1449
1278
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1450
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1451
 
   { (exit 1); exit 1; }; }
 
1279
  as_fn_error $? "working directory cannot be determined"
1452
1280
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1453
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1454
 
   { (exit 1); exit 1; }; }
 
1281
  as_fn_error $? "pwd does not report name of working directory"
1455
1282
 
1456
1283
 
1457
1284
# Find the source files, if location was not specified.
1490
1317
fi
1491
1318
if test ! -r "$srcdir/$ac_unique_file"; then
1492
1319
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1493
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1494
 
   { (exit 1); exit 1; }; }
 
1320
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1495
1321
fi
1496
1322
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1497
1323
ac_abs_confdir=`(
1498
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1499
 
   { (exit 1); exit 1; }; }
 
1324
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1500
1325
        pwd)`
1501
1326
# When building in place, set srcdir=.
1502
1327
if test "$ac_abs_confdir" = "$ac_pwd"; then
1522
1347
  # Omit some internal or obsolete options to make the list less imposing.
1523
1348
  # This message is too long to be a string in the A/UX 3.1 sh.
1524
1349
  cat <<_ACEOF
1525
 
\`configure' configures this package to adapt to many kinds of systems.
 
1350
\`configure' configures libopenraw 0.0.9 to adapt to many kinds of systems.
1526
1351
 
1527
1352
Usage: $0 [OPTION]... [VAR=VALUE]...
1528
1353
 
1536
1361
      --help=short        display options specific to this package
1537
1362
      --help=recursive    display the short help of all the included packages
1538
1363
  -V, --version           display version information and exit
1539
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1364
  -q, --quiet, --silent   do not print \`checking ...' messages
1540
1365
      --cache-file=FILE   cache test results in FILE [disabled]
1541
1366
  -C, --config-cache      alias for \`--cache-file=config.cache'
1542
1367
  -n, --no-create         do not create output files
1570
1395
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1571
1396
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1572
1397
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1573
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1398
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libopenraw]
1574
1399
  --htmldir=DIR           html documentation [DOCDIR]
1575
1400
  --dvidir=DIR            dvi documentation [DOCDIR]
1576
1401
  --pdfdir=DIR            pdf documentation [DOCDIR]
1591
1416
fi
1592
1417
 
1593
1418
if test -n "$ac_init_help"; then
1594
 
 
 
1419
  case $ac_init_help in
 
1420
     short | recursive ) echo "Configuration of libopenraw 0.0.9:";;
 
1421
   esac
1595
1422
  cat <<\_ACEOF
1596
1423
 
1597
1424
Optional Features:
1615
1442
  --with-pic              try to use only PIC/non-PIC objects [default=use
1616
1443
                          both]
1617
1444
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1445
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1446
                        (or the compiler's sysroot if not specified).
1618
1447
  --with-darwinports     add /opt/local/... to CPP/LDFLAGS (Mac OSX)
1619
1448
  --with-fink          add /sw/... to CPP/LDFLAGS (Mac OSX)
1620
1449
  --with-boost=DIR        prefix of Boost version >= 1.33.0 [guess]
1625
1454
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1626
1455
              nonstandard directory <lib dir>
1627
1456
  LIBS        libraries to pass to the linker, e.g. -l<library>
1628
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1457
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1629
1458
              you have headers in a nonstandard directory <include dir>
1630
1459
  CPP         C preprocessor
1631
1460
  CXX         C++ compiler command
1632
1461
  CXXFLAGS    C++ compiler flags
1633
1462
  CXXCPP      C++ preprocessor
1634
1463
  PKG_CONFIG  path to pkg-config utility
 
1464
  PKG_CONFIG_PATH
 
1465
              directories to add to pkg-config's search path
 
1466
  PKG_CONFIG_LIBDIR
 
1467
              path overriding pkg-config's built-in search path
1635
1468
  LIBXML_CFLAGS
1636
1469
              C compiler flags for LIBXML, overriding pkg-config
1637
1470
  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1649
1482
Use these variables to override the choices made by `configure' or to help
1650
1483
it to find libraries and programs with nonstandard names/locations.
1651
1484
 
 
1485
Report bugs to the package provider.
1652
1486
_ACEOF
1653
1487
ac_status=$?
1654
1488
fi
1711
1545
test -n "$ac_init_help" && exit $ac_status
1712
1546
if $ac_init_version; then
1713
1547
  cat <<\_ACEOF
1714
 
configure
1715
 
generated by GNU Autoconf 2.63
 
1548
libopenraw configure 0.0.9
 
1549
generated by GNU Autoconf 2.68
1716
1550
 
1717
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1718
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1551
Copyright (C) 2010 Free Software Foundation, Inc.
1719
1552
This configure script is free software; the Free Software Foundation
1720
1553
gives unlimited permission to copy, distribute and modify it.
1721
1554
_ACEOF
1722
1555
  exit
1723
1556
fi
 
1557
 
 
1558
## ------------------------ ##
 
1559
## Autoconf initialization. ##
 
1560
## ------------------------ ##
 
1561
 
 
1562
# ac_fn_c_try_compile LINENO
 
1563
# --------------------------
 
1564
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1565
ac_fn_c_try_compile ()
 
1566
{
 
1567
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1568
  rm -f conftest.$ac_objext
 
1569
  if { { ac_try="$ac_compile"
 
1570
case "(($ac_try" in
 
1571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1572
  *) ac_try_echo=$ac_try;;
 
1573
esac
 
1574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1575
$as_echo "$ac_try_echo"; } >&5
 
1576
  (eval "$ac_compile") 2>conftest.err
 
1577
  ac_status=$?
 
1578
  if test -s conftest.err; then
 
1579
    grep -v '^ *+' conftest.err >conftest.er1
 
1580
    cat conftest.er1 >&5
 
1581
    mv -f conftest.er1 conftest.err
 
1582
  fi
 
1583
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1584
  test $ac_status = 0; } && {
 
1585
         test -z "$ac_c_werror_flag" ||
 
1586
         test ! -s conftest.err
 
1587
       } && test -s conftest.$ac_objext; then :
 
1588
  ac_retval=0
 
1589
else
 
1590
  $as_echo "$as_me: failed program was:" >&5
 
1591
sed 's/^/| /' conftest.$ac_ext >&5
 
1592
 
 
1593
        ac_retval=1
 
1594
fi
 
1595
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1596
  as_fn_set_status $ac_retval
 
1597
 
 
1598
} # ac_fn_c_try_compile
 
1599
 
 
1600
# ac_fn_c_try_cpp LINENO
 
1601
# ----------------------
 
1602
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1603
ac_fn_c_try_cpp ()
 
1604
{
 
1605
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1606
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1607
case "(($ac_try" in
 
1608
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1609
  *) ac_try_echo=$ac_try;;
 
1610
esac
 
1611
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1612
$as_echo "$ac_try_echo"; } >&5
 
1613
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1614
  ac_status=$?
 
1615
  if test -s conftest.err; then
 
1616
    grep -v '^ *+' conftest.err >conftest.er1
 
1617
    cat conftest.er1 >&5
 
1618
    mv -f conftest.er1 conftest.err
 
1619
  fi
 
1620
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1621
  test $ac_status = 0; } > conftest.i && {
 
1622
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1623
         test ! -s conftest.err
 
1624
       }; then :
 
1625
  ac_retval=0
 
1626
else
 
1627
  $as_echo "$as_me: failed program was:" >&5
 
1628
sed 's/^/| /' conftest.$ac_ext >&5
 
1629
 
 
1630
    ac_retval=1
 
1631
fi
 
1632
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1633
  as_fn_set_status $ac_retval
 
1634
 
 
1635
} # ac_fn_c_try_cpp
 
1636
 
 
1637
# ac_fn_cxx_try_compile LINENO
 
1638
# ----------------------------
 
1639
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1640
ac_fn_cxx_try_compile ()
 
1641
{
 
1642
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1643
  rm -f conftest.$ac_objext
 
1644
  if { { ac_try="$ac_compile"
 
1645
case "(($ac_try" in
 
1646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1647
  *) ac_try_echo=$ac_try;;
 
1648
esac
 
1649
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1650
$as_echo "$ac_try_echo"; } >&5
 
1651
  (eval "$ac_compile") 2>conftest.err
 
1652
  ac_status=$?
 
1653
  if test -s conftest.err; then
 
1654
    grep -v '^ *+' conftest.err >conftest.er1
 
1655
    cat conftest.er1 >&5
 
1656
    mv -f conftest.er1 conftest.err
 
1657
  fi
 
1658
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1659
  test $ac_status = 0; } && {
 
1660
         test -z "$ac_cxx_werror_flag" ||
 
1661
         test ! -s conftest.err
 
1662
       } && test -s conftest.$ac_objext; then :
 
1663
  ac_retval=0
 
1664
else
 
1665
  $as_echo "$as_me: failed program was:" >&5
 
1666
sed 's/^/| /' conftest.$ac_ext >&5
 
1667
 
 
1668
        ac_retval=1
 
1669
fi
 
1670
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1671
  as_fn_set_status $ac_retval
 
1672
 
 
1673
} # ac_fn_cxx_try_compile
 
1674
 
 
1675
# ac_fn_c_try_link LINENO
 
1676
# -----------------------
 
1677
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1678
ac_fn_c_try_link ()
 
1679
{
 
1680
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1681
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1682
  if { { ac_try="$ac_link"
 
1683
case "(($ac_try" in
 
1684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1685
  *) ac_try_echo=$ac_try;;
 
1686
esac
 
1687
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1688
$as_echo "$ac_try_echo"; } >&5
 
1689
  (eval "$ac_link") 2>conftest.err
 
1690
  ac_status=$?
 
1691
  if test -s conftest.err; then
 
1692
    grep -v '^ *+' conftest.err >conftest.er1
 
1693
    cat conftest.er1 >&5
 
1694
    mv -f conftest.er1 conftest.err
 
1695
  fi
 
1696
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1697
  test $ac_status = 0; } && {
 
1698
         test -z "$ac_c_werror_flag" ||
 
1699
         test ! -s conftest.err
 
1700
       } && test -s conftest$ac_exeext && {
 
1701
         test "$cross_compiling" = yes ||
 
1702
         $as_test_x conftest$ac_exeext
 
1703
       }; then :
 
1704
  ac_retval=0
 
1705
else
 
1706
  $as_echo "$as_me: failed program was:" >&5
 
1707
sed 's/^/| /' conftest.$ac_ext >&5
 
1708
 
 
1709
        ac_retval=1
 
1710
fi
 
1711
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1712
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1713
  # interfere with the next link command; also delete a directory that is
 
1714
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1715
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1716
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1717
  as_fn_set_status $ac_retval
 
1718
 
 
1719
} # ac_fn_c_try_link
 
1720
 
 
1721
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1722
# -------------------------------------------------------
 
1723
# Tests whether HEADER exists and can be compiled using the include files in
 
1724
# INCLUDES, setting the cache variable VAR accordingly.
 
1725
ac_fn_c_check_header_compile ()
 
1726
{
 
1727
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1728
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1729
$as_echo_n "checking for $2... " >&6; }
 
1730
if eval \${$3+:} false; then :
 
1731
  $as_echo_n "(cached) " >&6
 
1732
else
 
1733
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1734
/* end confdefs.h.  */
 
1735
$4
 
1736
#include <$2>
 
1737
_ACEOF
 
1738
if ac_fn_c_try_compile "$LINENO"; then :
 
1739
  eval "$3=yes"
 
1740
else
 
1741
  eval "$3=no"
 
1742
fi
 
1743
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1744
fi
 
1745
eval ac_res=\$$3
 
1746
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1747
$as_echo "$ac_res" >&6; }
 
1748
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1749
 
 
1750
} # ac_fn_c_check_header_compile
 
1751
 
 
1752
# ac_fn_c_try_run LINENO
 
1753
# ----------------------
 
1754
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1755
# that executables *can* be run.
 
1756
ac_fn_c_try_run ()
 
1757
{
 
1758
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1759
  if { { ac_try="$ac_link"
 
1760
case "(($ac_try" in
 
1761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1762
  *) ac_try_echo=$ac_try;;
 
1763
esac
 
1764
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1765
$as_echo "$ac_try_echo"; } >&5
 
1766
  (eval "$ac_link") 2>&5
 
1767
  ac_status=$?
 
1768
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1769
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1770
  { { case "(($ac_try" in
 
1771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1772
  *) ac_try_echo=$ac_try;;
 
1773
esac
 
1774
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1775
$as_echo "$ac_try_echo"; } >&5
 
1776
  (eval "$ac_try") 2>&5
 
1777
  ac_status=$?
 
1778
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1779
  test $ac_status = 0; }; }; then :
 
1780
  ac_retval=0
 
1781
else
 
1782
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1783
       $as_echo "$as_me: failed program was:" >&5
 
1784
sed 's/^/| /' conftest.$ac_ext >&5
 
1785
 
 
1786
       ac_retval=$ac_status
 
1787
fi
 
1788
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1789
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1790
  as_fn_set_status $ac_retval
 
1791
 
 
1792
} # ac_fn_c_try_run
 
1793
 
 
1794
# ac_fn_c_check_func LINENO FUNC VAR
 
1795
# ----------------------------------
 
1796
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1797
ac_fn_c_check_func ()
 
1798
{
 
1799
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1800
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1801
$as_echo_n "checking for $2... " >&6; }
 
1802
if eval \${$3+:} false; then :
 
1803
  $as_echo_n "(cached) " >&6
 
1804
else
 
1805
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1806
/* end confdefs.h.  */
 
1807
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1808
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1809
#define $2 innocuous_$2
 
1810
 
 
1811
/* System header to define __stub macros and hopefully few prototypes,
 
1812
    which can conflict with char $2 (); below.
 
1813
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1814
    <limits.h> exists even on freestanding compilers.  */
 
1815
 
 
1816
#ifdef __STDC__
 
1817
# include <limits.h>
 
1818
#else
 
1819
# include <assert.h>
 
1820
#endif
 
1821
 
 
1822
#undef $2
 
1823
 
 
1824
/* Override any GCC internal prototype to avoid an error.
 
1825
   Use char because int might match the return type of a GCC
 
1826
   builtin and then its argument prototype would still apply.  */
 
1827
#ifdef __cplusplus
 
1828
extern "C"
 
1829
#endif
 
1830
char $2 ();
 
1831
/* The GNU C library defines this for functions which it implements
 
1832
    to always fail with ENOSYS.  Some functions are actually named
 
1833
    something starting with __ and the normal name is an alias.  */
 
1834
#if defined __stub_$2 || defined __stub___$2
 
1835
choke me
 
1836
#endif
 
1837
 
 
1838
int
 
1839
main ()
 
1840
{
 
1841
return $2 ();
 
1842
  ;
 
1843
  return 0;
 
1844
}
 
1845
_ACEOF
 
1846
if ac_fn_c_try_link "$LINENO"; then :
 
1847
  eval "$3=yes"
 
1848
else
 
1849
  eval "$3=no"
 
1850
fi
 
1851
rm -f core conftest.err conftest.$ac_objext \
 
1852
    conftest$ac_exeext conftest.$ac_ext
 
1853
fi
 
1854
eval ac_res=\$$3
 
1855
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1856
$as_echo "$ac_res" >&6; }
 
1857
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1858
 
 
1859
} # ac_fn_c_check_func
 
1860
 
 
1861
# ac_fn_cxx_try_cpp LINENO
 
1862
# ------------------------
 
1863
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1864
ac_fn_cxx_try_cpp ()
 
1865
{
 
1866
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1867
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1868
case "(($ac_try" in
 
1869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1870
  *) ac_try_echo=$ac_try;;
 
1871
esac
 
1872
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1873
$as_echo "$ac_try_echo"; } >&5
 
1874
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1875
  ac_status=$?
 
1876
  if test -s conftest.err; then
 
1877
    grep -v '^ *+' conftest.err >conftest.er1
 
1878
    cat conftest.er1 >&5
 
1879
    mv -f conftest.er1 conftest.err
 
1880
  fi
 
1881
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1882
  test $ac_status = 0; } > conftest.i && {
 
1883
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1884
         test ! -s conftest.err
 
1885
       }; then :
 
1886
  ac_retval=0
 
1887
else
 
1888
  $as_echo "$as_me: failed program was:" >&5
 
1889
sed 's/^/| /' conftest.$ac_ext >&5
 
1890
 
 
1891
    ac_retval=1
 
1892
fi
 
1893
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1894
  as_fn_set_status $ac_retval
 
1895
 
 
1896
} # ac_fn_cxx_try_cpp
 
1897
 
 
1898
# ac_fn_cxx_try_link LINENO
 
1899
# -------------------------
 
1900
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1901
ac_fn_cxx_try_link ()
 
1902
{
 
1903
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1904
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1905
  if { { ac_try="$ac_link"
 
1906
case "(($ac_try" in
 
1907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1908
  *) ac_try_echo=$ac_try;;
 
1909
esac
 
1910
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1911
$as_echo "$ac_try_echo"; } >&5
 
1912
  (eval "$ac_link") 2>conftest.err
 
1913
  ac_status=$?
 
1914
  if test -s conftest.err; then
 
1915
    grep -v '^ *+' conftest.err >conftest.er1
 
1916
    cat conftest.er1 >&5
 
1917
    mv -f conftest.er1 conftest.err
 
1918
  fi
 
1919
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1920
  test $ac_status = 0; } && {
 
1921
         test -z "$ac_cxx_werror_flag" ||
 
1922
         test ! -s conftest.err
 
1923
       } && test -s conftest$ac_exeext && {
 
1924
         test "$cross_compiling" = yes ||
 
1925
         $as_test_x conftest$ac_exeext
 
1926
       }; then :
 
1927
  ac_retval=0
 
1928
else
 
1929
  $as_echo "$as_me: failed program was:" >&5
 
1930
sed 's/^/| /' conftest.$ac_ext >&5
 
1931
 
 
1932
        ac_retval=1
 
1933
fi
 
1934
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1935
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1936
  # interfere with the next link command; also delete a directory that is
 
1937
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1938
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1939
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1940
  as_fn_set_status $ac_retval
 
1941
 
 
1942
} # ac_fn_cxx_try_link
 
1943
 
 
1944
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1945
# ---------------------------------------------------------
 
1946
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1947
# the include files in INCLUDES and setting the cache variable VAR
 
1948
# accordingly.
 
1949
ac_fn_cxx_check_header_mongrel ()
 
1950
{
 
1951
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1952
  if eval \${$3+:} false; then :
 
1953
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1954
$as_echo_n "checking for $2... " >&6; }
 
1955
if eval \${$3+:} false; then :
 
1956
  $as_echo_n "(cached) " >&6
 
1957
fi
 
1958
eval ac_res=\$$3
 
1959
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1960
$as_echo "$ac_res" >&6; }
 
1961
else
 
1962
  # Is the header compilable?
 
1963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1964
$as_echo_n "checking $2 usability... " >&6; }
 
1965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1966
/* end confdefs.h.  */
 
1967
$4
 
1968
#include <$2>
 
1969
_ACEOF
 
1970
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1971
  ac_header_compiler=yes
 
1972
else
 
1973
  ac_header_compiler=no
 
1974
fi
 
1975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1977
$as_echo "$ac_header_compiler" >&6; }
 
1978
 
 
1979
# Is the header present?
 
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1981
$as_echo_n "checking $2 presence... " >&6; }
 
1982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1983
/* end confdefs.h.  */
 
1984
#include <$2>
 
1985
_ACEOF
 
1986
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
1987
  ac_header_preproc=yes
 
1988
else
 
1989
  ac_header_preproc=no
 
1990
fi
 
1991
rm -f conftest.err conftest.i conftest.$ac_ext
 
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1993
$as_echo "$ac_header_preproc" >&6; }
 
1994
 
 
1995
# So?  What about this header?
 
1996
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
1997
  yes:no: )
 
1998
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1999
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2000
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2001
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2002
    ;;
 
2003
  no:yes:* )
 
2004
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2005
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2006
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2007
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2008
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2009
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2010
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2011
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2012
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2013
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2014
    ;;
 
2015
esac
 
2016
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2017
$as_echo_n "checking for $2... " >&6; }
 
2018
if eval \${$3+:} false; then :
 
2019
  $as_echo_n "(cached) " >&6
 
2020
else
 
2021
  eval "$3=\$ac_header_compiler"
 
2022
fi
 
2023
eval ac_res=\$$3
 
2024
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2025
$as_echo "$ac_res" >&6; }
 
2026
fi
 
2027
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2028
 
 
2029
} # ac_fn_cxx_check_header_mongrel
 
2030
 
 
2031
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2032
# -------------------------------------------------------
 
2033
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2034
# the include files in INCLUDES and setting the cache variable VAR
 
2035
# accordingly.
 
2036
ac_fn_c_check_header_mongrel ()
 
2037
{
 
2038
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2039
  if eval \${$3+:} false; then :
 
2040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2041
$as_echo_n "checking for $2... " >&6; }
 
2042
if eval \${$3+:} false; then :
 
2043
  $as_echo_n "(cached) " >&6
 
2044
fi
 
2045
eval ac_res=\$$3
 
2046
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2047
$as_echo "$ac_res" >&6; }
 
2048
else
 
2049
  # Is the header compilable?
 
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2051
$as_echo_n "checking $2 usability... " >&6; }
 
2052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2053
/* end confdefs.h.  */
 
2054
$4
 
2055
#include <$2>
 
2056
_ACEOF
 
2057
if ac_fn_c_try_compile "$LINENO"; then :
 
2058
  ac_header_compiler=yes
 
2059
else
 
2060
  ac_header_compiler=no
 
2061
fi
 
2062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2064
$as_echo "$ac_header_compiler" >&6; }
 
2065
 
 
2066
# Is the header present?
 
2067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2068
$as_echo_n "checking $2 presence... " >&6; }
 
2069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2070
/* end confdefs.h.  */
 
2071
#include <$2>
 
2072
_ACEOF
 
2073
if ac_fn_c_try_cpp "$LINENO"; then :
 
2074
  ac_header_preproc=yes
 
2075
else
 
2076
  ac_header_preproc=no
 
2077
fi
 
2078
rm -f conftest.err conftest.i conftest.$ac_ext
 
2079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2080
$as_echo "$ac_header_preproc" >&6; }
 
2081
 
 
2082
# So?  What about this header?
 
2083
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2084
  yes:no: )
 
2085
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2086
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2087
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2088
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2089
    ;;
 
2090
  no:yes:* )
 
2091
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2092
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2093
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2094
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2095
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2096
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2097
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2098
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2099
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2100
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2101
    ;;
 
2102
esac
 
2103
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2104
$as_echo_n "checking for $2... " >&6; }
 
2105
if eval \${$3+:} false; then :
 
2106
  $as_echo_n "(cached) " >&6
 
2107
else
 
2108
  eval "$3=\$ac_header_compiler"
 
2109
fi
 
2110
eval ac_res=\$$3
 
2111
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2112
$as_echo "$ac_res" >&6; }
 
2113
fi
 
2114
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2115
 
 
2116
} # ac_fn_c_check_header_mongrel
1724
2117
cat >config.log <<_ACEOF
1725
2118
This file contains any messages produced by compilers while
1726
2119
running configure, to aid debugging if configure makes a mistake.
1727
2120
 
1728
 
It was created by $as_me, which was
1729
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2121
It was created by libopenraw $as_me 0.0.9, which was
 
2122
generated by GNU Autoconf 2.68.  Invocation command line was
1730
2123
 
1731
2124
  $ $0 $@
1732
2125
 
1762
2155
do
1763
2156
  IFS=$as_save_IFS
1764
2157
  test -z "$as_dir" && as_dir=.
1765
 
  $as_echo "PATH: $as_dir"
1766
 
done
 
2158
    $as_echo "PATH: $as_dir"
 
2159
  done
1767
2160
IFS=$as_save_IFS
1768
2161
 
1769
2162
} >&5
1800
2193
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1801
2194
    esac
1802
2195
    case $ac_pass in
1803
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2196
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1804
2197
    2)
1805
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2198
      as_fn_append ac_configure_args1 " '$ac_arg'"
1806
2199
      if test $ac_must_keep_next = true; then
1807
2200
        ac_must_keep_next=false # Got value, back to normal.
1808
2201
      else
1818
2211
          -* ) ac_must_keep_next=true ;;
1819
2212
        esac
1820
2213
      fi
1821
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2214
      as_fn_append ac_configure_args " '$ac_arg'"
1822
2215
      ;;
1823
2216
    esac
1824
2217
  done
1825
2218
done
1826
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1827
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2219
{ ac_configure_args0=; unset ac_configure_args0;}
 
2220
{ ac_configure_args1=; unset ac_configure_args1;}
1828
2221
 
1829
2222
# When interrupted or exit'd, cleanup temporary files, and complete
1830
2223
# config.log.  We remove comments because anyway the quotes in there
1836
2229
  {
1837
2230
    echo
1838
2231
 
1839
 
    cat <<\_ASBOX
1840
 
## ---------------- ##
 
2232
    $as_echo "## ---------------- ##
1841
2233
## Cache variables. ##
1842
 
## ---------------- ##
1843
 
_ASBOX
 
2234
## ---------------- ##"
1844
2235
    echo
1845
2236
    # The following way of writing the cache mishandles newlines in values,
1846
2237
(
1849
2240
    case $ac_val in #(
1850
2241
    *${as_nl}*)
1851
2242
      case $ac_var in #(
1852
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2243
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1853
2244
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1854
2245
      esac
1855
2246
      case $ac_var in #(
1856
2247
      _ | IFS | as_nl) ;; #(
1857
2248
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1858
 
      *) $as_unset $ac_var ;;
 
2249
      *) { eval $ac_var=; unset $ac_var;} ;;
1859
2250
      esac ;;
1860
2251
    esac
1861
2252
  done
1874
2265
)
1875
2266
    echo
1876
2267
 
1877
 
    cat <<\_ASBOX
1878
 
## ----------------- ##
 
2268
    $as_echo "## ----------------- ##
1879
2269
## Output variables. ##
1880
 
## ----------------- ##
1881
 
_ASBOX
 
2270
## ----------------- ##"
1882
2271
    echo
1883
2272
    for ac_var in $ac_subst_vars
1884
2273
    do
1891
2280
    echo
1892
2281
 
1893
2282
    if test -n "$ac_subst_files"; then
1894
 
      cat <<\_ASBOX
1895
 
## ------------------- ##
 
2283
      $as_echo "## ------------------- ##
1896
2284
## File substitutions. ##
1897
 
## ------------------- ##
1898
 
_ASBOX
 
2285
## ------------------- ##"
1899
2286
      echo
1900
2287
      for ac_var in $ac_subst_files
1901
2288
      do
1909
2296
    fi
1910
2297
 
1911
2298
    if test -s confdefs.h; then
1912
 
      cat <<\_ASBOX
1913
 
## ----------- ##
 
2299
      $as_echo "## ----------- ##
1914
2300
## confdefs.h. ##
1915
 
## ----------- ##
1916
 
_ASBOX
 
2301
## ----------- ##"
1917
2302
      echo
1918
2303
      cat confdefs.h
1919
2304
      echo
1927
2312
    exit $exit_status
1928
2313
' 0
1929
2314
for ac_signal in 1 2 13 15; do
1930
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2315
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1931
2316
done
1932
2317
ac_signal=0
1933
2318
 
1934
2319
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1935
2320
rm -f -r conftest* confdefs.h
1936
2321
 
 
2322
$as_echo "/* confdefs.h */" > confdefs.h
 
2323
 
1937
2324
# Predefined preprocessor variables.
1938
2325
 
1939
2326
cat >>confdefs.h <<_ACEOF
1940
2327
#define PACKAGE_NAME "$PACKAGE_NAME"
1941
2328
_ACEOF
1942
2329
 
1943
 
 
1944
2330
cat >>confdefs.h <<_ACEOF
1945
2331
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1946
2332
_ACEOF
1947
2333
 
1948
 
 
1949
2334
cat >>confdefs.h <<_ACEOF
1950
2335
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1951
2336
_ACEOF
1952
2337
 
1953
 
 
1954
2338
cat >>confdefs.h <<_ACEOF
1955
2339
#define PACKAGE_STRING "$PACKAGE_STRING"
1956
2340
_ACEOF
1957
2341
 
1958
 
 
1959
2342
cat >>confdefs.h <<_ACEOF
1960
2343
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1961
2344
_ACEOF
1962
2345
 
 
2346
cat >>confdefs.h <<_ACEOF
 
2347
#define PACKAGE_URL "$PACKAGE_URL"
 
2348
_ACEOF
 
2349
 
1963
2350
 
1964
2351
# Let the site file select an alternate cache file if it wants to.
1965
2352
# Prefer an explicitly selected file to automatically selected ones.
1966
2353
ac_site_file1=NONE
1967
2354
ac_site_file2=NONE
1968
2355
if test -n "$CONFIG_SITE"; then
1969
 
  ac_site_file1=$CONFIG_SITE
 
2356
  # We do not want a PATH search for config.site.
 
2357
  case $CONFIG_SITE in #((
 
2358
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2359
    */*) ac_site_file1=$CONFIG_SITE;;
 
2360
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2361
  esac
1970
2362
elif test "x$prefix" != xNONE; then
1971
2363
  ac_site_file1=$prefix/share/config.site
1972
2364
  ac_site_file2=$prefix/etc/config.site
1977
2369
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1978
2370
do
1979
2371
  test "x$ac_site_file" = xNONE && continue
1980
 
  if test -r "$ac_site_file"; then
1981
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2372
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2373
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1982
2374
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1983
2375
    sed 's/^/| /' "$ac_site_file" >&5
1984
 
    . "$ac_site_file"
 
2376
    . "$ac_site_file" \
 
2377
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2379
as_fn_error $? "failed to load site script $ac_site_file
 
2380
See \`config.log' for more details" "$LINENO" 5; }
1985
2381
  fi
1986
2382
done
1987
2383
 
1988
2384
if test -r "$cache_file"; then
1989
 
  # Some versions of bash will fail to source /dev/null (special
1990
 
  # files actually), so we avoid doing that.
1991
 
  if test -f "$cache_file"; then
1992
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2385
  # Some versions of bash will fail to source /dev/null (special files
 
2386
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2387
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2388
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1993
2389
$as_echo "$as_me: loading cache $cache_file" >&6;}
1994
2390
    case $cache_file in
1995
2391
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1997
2393
    esac
1998
2394
  fi
1999
2395
else
2000
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2396
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2001
2397
$as_echo "$as_me: creating cache $cache_file" >&6;}
2002
2398
  >$cache_file
2003
2399
fi
2004
2400
 
 
2401
as_fn_append ac_func_list " get_current_dir_name"
2005
2402
# Check that the precious variables saved in the cache have kept the same
2006
2403
# value.
2007
2404
ac_cache_corrupted=false
2012
2409
  eval ac_new_val=\$ac_env_${ac_var}_value
2013
2410
  case $ac_old_set,$ac_new_set in
2014
2411
    set,)
2015
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2412
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2016
2413
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2017
2414
      ac_cache_corrupted=: ;;
2018
2415
    ,set)
2019
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2416
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2020
2417
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2021
2418
      ac_cache_corrupted=: ;;
2022
2419
    ,);;
2026
2423
        ac_old_val_w=`echo x $ac_old_val`
2027
2424
        ac_new_val_w=`echo x $ac_new_val`
2028
2425
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2029
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2426
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2030
2427
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2031
2428
          ac_cache_corrupted=:
2032
2429
        else
2033
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2430
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2034
2431
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2035
2432
          eval $ac_var=\$ac_old_val
2036
2433
        fi
2037
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2434
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2038
2435
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2039
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2436
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2040
2437
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2041
2438
      fi;;
2042
2439
  esac
2048
2445
    esac
2049
2446
    case " $ac_configure_args " in
2050
2447
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2051
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2448
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2052
2449
    esac
2053
2450
  fi
2054
2451
done
2055
2452
if $ac_cache_corrupted; then
2056
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2453
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2057
2454
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2058
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2455
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2059
2456
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2060
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2061
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2062
 
   { (exit 1); exit 1; }; }
 
2457
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2063
2458
fi
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
 
2459
## -------------------- ##
 
2460
## Main body of script. ##
 
2461
## -------------------- ##
2080
2462
 
2081
2463
ac_ext=c
2082
2464
ac_cpp='$CPP $CPPFLAGS'
2088
2470
ac_config_headers="$ac_config_headers config.h"
2089
2471
 
2090
2472
 
2091
 
am__api_version='1.10'
 
2473
am__api_version='1.11'
2092
2474
 
2093
2475
ac_aux_dir=
2094
2476
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2107
2489
  fi
2108
2490
done
2109
2491
if test -z "$ac_aux_dir"; then
2110
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2111
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2112
 
   { (exit 1); exit 1; }; }
 
2492
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2113
2493
fi
2114
2494
 
2115
2495
# These three variables are undocumented and unsupported,
2135
2515
# OS/2's system install, which has a completely different semantic
2136
2516
# ./install, which can be erroneously created by make from ./install.sh.
2137
2517
# Reject install programs that cannot install multiple files.
2138
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2139
2519
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2140
2520
if test -z "$INSTALL"; then
2141
 
if test "${ac_cv_path_install+set}" = set; then
 
2521
if ${ac_cv_path_install+:} false; then :
2142
2522
  $as_echo_n "(cached) " >&6
2143
2523
else
2144
2524
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146
2526
do
2147
2527
  IFS=$as_save_IFS
2148
2528
  test -z "$as_dir" && as_dir=.
2149
 
  # Account for people who put trailing slashes in PATH elements.
2150
 
case $as_dir/ in
2151
 
  ./ | .// | /cC/* | \
 
2529
    # Account for people who put trailing slashes in PATH elements.
 
2530
case $as_dir/ in #((
 
2531
  ./ | .// | /[cC]/* | \
2152
2532
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2153
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2533
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2154
2534
  /usr/ucb/* ) ;;
2155
2535
  *)
2156
2536
    # OSF1 and SCO ODT 3.0 have their own names for install.
2187
2567
    ;;
2188
2568
esac
2189
2569
 
2190
 
done
 
2570
  done
2191
2571
IFS=$as_save_IFS
2192
2572
 
2193
2573
rm -rf conftest.one conftest.two conftest.dir
2203
2583
    INSTALL=$ac_install_sh
2204
2584
  fi
2205
2585
fi
2206
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2207
2587
$as_echo "$INSTALL" >&6; }
2208
2588
 
2209
2589
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2214
2594
 
2215
2595
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2216
2596
 
2217
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2218
2598
$as_echo_n "checking whether build environment is sane... " >&6; }
2219
2599
# Just in case
2220
2600
sleep 1
2221
2601
echo timestamp > conftest.file
 
2602
# Reject unsafe characters in $srcdir or the absolute working directory
 
2603
# name.  Accept space and tab only in the latter.
 
2604
am_lf='
 
2605
'
 
2606
case `pwd` in
 
2607
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2608
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2609
esac
 
2610
case $srcdir in
 
2611
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2612
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2613
esac
 
2614
 
2222
2615
# Do `set' in a subshell so we don't clobber the current shell's
2223
2616
# arguments.  Must try -L first in case configure is actually a
2224
2617
# symlink; some systems play weird games with the mod time of symlinks
2225
2618
# (eg FreeBSD returns the mod time of the symlink's containing
2226
2619
# directory).
2227
2620
if (
2228
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2621
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2229
2622
   if test "$*" = "X"; then
2230
2623
      # -L didn't work.
2231
 
      set X `ls -t $srcdir/configure conftest.file`
 
2624
      set X `ls -t "$srcdir/configure" conftest.file`
2232
2625
   fi
2233
2626
   rm -f conftest.file
2234
2627
   if test "$*" != "X $srcdir/configure conftest.file" \
2238
2631
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2239
2632
      # broken ls alias from the environment.  This has actually
2240
2633
      # happened.  Such a system could not be considered "sane".
2241
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2242
 
alias in your environment" >&5
2243
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2244
 
alias in your environment" >&2;}
2245
 
   { (exit 1); exit 1; }; }
 
2634
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2635
alias in your environment" "$LINENO" 5
2246
2636
   fi
2247
2637
 
2248
2638
   test "$2" = conftest.file
2251
2641
   # Ok.
2252
2642
   :
2253
2643
else
2254
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2255
 
Check your system clock" >&5
2256
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2257
 
Check your system clock" >&2;}
2258
 
   { (exit 1); exit 1; }; }
 
2644
   as_fn_error $? "newly created file is older than distributed files!
 
2645
Check your system clock" "$LINENO" 5
2259
2646
fi
2260
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2261
2648
$as_echo "yes" >&6; }
2262
2649
test "$program_prefix" != NONE &&
2263
2650
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2272
2659
# expand $ac_aux_dir to an absolute path
2273
2660
am_aux_dir=`cd $ac_aux_dir && pwd`
2274
2661
 
2275
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2662
if test x"${MISSING+set}" != xset; then
 
2663
  case $am_aux_dir in
 
2664
  *\ * | *\     *)
 
2665
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2666
  *)
 
2667
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2668
  esac
 
2669
fi
2276
2670
# Use eval to expand $SHELL
2277
2671
if eval "$MISSING --run true"; then
2278
2672
  am_missing_run="$MISSING --run "
2279
2673
else
2280
2674
  am_missing_run=
2281
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2675
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2282
2676
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2283
2677
fi
2284
2678
 
2285
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2679
if test x"${install_sh}" != xset; then
 
2680
  case $am_aux_dir in
 
2681
  *\ * | *\     *)
 
2682
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2683
  *)
 
2684
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2685
  esac
 
2686
fi
 
2687
 
 
2688
# Installed binaries are usually stripped using `strip' when the user
 
2689
# run `make install-strip'.  However `strip' might not be the right
 
2690
# tool to use in cross-compilation environments, therefore Automake
 
2691
# will honor the `STRIP' environment variable to overrule this program.
 
2692
if test "$cross_compiling" != no; then
 
2693
  if test -n "$ac_tool_prefix"; then
 
2694
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2695
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2697
$as_echo_n "checking for $ac_word... " >&6; }
 
2698
if ${ac_cv_prog_STRIP+:} false; then :
 
2699
  $as_echo_n "(cached) " >&6
 
2700
else
 
2701
  if test -n "$STRIP"; then
 
2702
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2703
else
 
2704
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2705
for as_dir in $PATH
 
2706
do
 
2707
  IFS=$as_save_IFS
 
2708
  test -z "$as_dir" && as_dir=.
 
2709
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2710
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2711
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2712
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2713
    break 2
 
2714
  fi
 
2715
done
 
2716
  done
 
2717
IFS=$as_save_IFS
 
2718
 
 
2719
fi
 
2720
fi
 
2721
STRIP=$ac_cv_prog_STRIP
 
2722
if test -n "$STRIP"; then
 
2723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2724
$as_echo "$STRIP" >&6; }
 
2725
else
 
2726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2727
$as_echo "no" >&6; }
 
2728
fi
 
2729
 
 
2730
 
 
2731
fi
 
2732
if test -z "$ac_cv_prog_STRIP"; then
 
2733
  ac_ct_STRIP=$STRIP
 
2734
  # Extract the first word of "strip", so it can be a program name with args.
 
2735
set dummy strip; ac_word=$2
 
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2737
$as_echo_n "checking for $ac_word... " >&6; }
 
2738
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2739
  $as_echo_n "(cached) " >&6
 
2740
else
 
2741
  if test -n "$ac_ct_STRIP"; then
 
2742
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2743
else
 
2744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2745
for as_dir in $PATH
 
2746
do
 
2747
  IFS=$as_save_IFS
 
2748
  test -z "$as_dir" && as_dir=.
 
2749
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2751
    ac_cv_prog_ac_ct_STRIP="strip"
 
2752
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2753
    break 2
 
2754
  fi
 
2755
done
 
2756
  done
 
2757
IFS=$as_save_IFS
 
2758
 
 
2759
fi
 
2760
fi
 
2761
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2762
if test -n "$ac_ct_STRIP"; then
 
2763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2764
$as_echo "$ac_ct_STRIP" >&6; }
 
2765
else
 
2766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2767
$as_echo "no" >&6; }
 
2768
fi
 
2769
 
 
2770
  if test "x$ac_ct_STRIP" = x; then
 
2771
    STRIP=":"
 
2772
  else
 
2773
    case $cross_compiling:$ac_tool_warned in
 
2774
yes:)
 
2775
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2776
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2777
ac_tool_warned=yes ;;
 
2778
esac
 
2779
    STRIP=$ac_ct_STRIP
 
2780
  fi
 
2781
else
 
2782
  STRIP="$ac_cv_prog_STRIP"
 
2783
fi
 
2784
 
 
2785
fi
 
2786
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2787
 
 
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2286
2789
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2287
2790
if test -z "$MKDIR_P"; then
2288
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2791
  if ${ac_cv_path_mkdir+:} false; then :
2289
2792
  $as_echo_n "(cached) " >&6
2290
2793
else
2291
2794
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293
2796
do
2294
2797
  IFS=$as_save_IFS
2295
2798
  test -z "$as_dir" && as_dir=.
2296
 
  for ac_prog in mkdir gmkdir; do
 
2799
    for ac_prog in mkdir gmkdir; do
2297
2800
         for ac_exec_ext in '' $ac_executable_extensions; do
2298
2801
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2299
2802
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2305
2808
           esac
2306
2809
         done
2307
2810
       done
2308
 
done
 
2811
  done
2309
2812
IFS=$as_save_IFS
2310
2813
 
2311
2814
fi
2312
2815
 
 
2816
  test -d ./--version && rmdir ./--version
2313
2817
  if test "${ac_cv_path_mkdir+set}" = set; then
2314
2818
    MKDIR_P="$ac_cv_path_mkdir -p"
2315
2819
  else
2317
2821
    # value for MKDIR_P within a source directory, because that will
2318
2822
    # break other packages using the cache if that directory is
2319
2823
    # removed, or if the value is a relative name.
2320
 
    test -d ./--version && rmdir ./--version
2321
2824
    MKDIR_P="$ac_install_sh -d"
2322
2825
  fi
2323
2826
fi
2324
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2325
2828
$as_echo "$MKDIR_P" >&6; }
2326
2829
 
2327
2830
mkdir_p="$MKDIR_P"
2334
2837
do
2335
2838
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2336
2839
set dummy $ac_prog; ac_word=$2
2337
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338
2841
$as_echo_n "checking for $ac_word... " >&6; }
2339
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2842
if ${ac_cv_prog_AWK+:} false; then :
2340
2843
  $as_echo_n "(cached) " >&6
2341
2844
else
2342
2845
  if test -n "$AWK"; then
2347
2850
do
2348
2851
  IFS=$as_save_IFS
2349
2852
  test -z "$as_dir" && as_dir=.
2350
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2853
    for ac_exec_ext in '' $ac_executable_extensions; do
2351
2854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352
2855
    ac_cv_prog_AWK="$ac_prog"
2353
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2856
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2354
2857
    break 2
2355
2858
  fi
2356
2859
done
2357
 
done
 
2860
  done
2358
2861
IFS=$as_save_IFS
2359
2862
 
2360
2863
fi
2361
2864
fi
2362
2865
AWK=$ac_cv_prog_AWK
2363
2866
if test -n "$AWK"; then
2364
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2365
2868
$as_echo "$AWK" >&6; }
2366
2869
else
2367
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368
2871
$as_echo "no" >&6; }
2369
2872
fi
2370
2873
 
2372
2875
  test -n "$AWK" && break
2373
2876
done
2374
2877
 
2375
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2376
2879
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2377
2880
set x ${MAKE-make}
2378
2881
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2379
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2882
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2380
2883
  $as_echo_n "(cached) " >&6
2381
2884
else
2382
2885
  cat >conftest.make <<\_ACEOF
2384
2887
all:
2385
2888
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2386
2889
_ACEOF
2387
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2890
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2388
2891
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2389
2892
  *@@@%%%=?*=@@@%%%*)
2390
2893
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2394
2897
rm -f conftest.make
2395
2898
fi
2396
2899
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2397
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2398
2901
$as_echo "yes" >&6; }
2399
2902
  SET_MAKE=
2400
2903
else
2401
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2402
2905
$as_echo "no" >&6; }
2403
2906
  SET_MAKE="MAKE=${MAKE-make}"
2404
2907
fi
2418
2921
  am__isrc=' -I$(srcdir)'
2419
2922
  # test to see if srcdir already configured
2420
2923
  if test -f $srcdir/config.status; then
2421
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2422
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2423
 
   { (exit 1); exit 1; }; }
 
2924
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2424
2925
  fi
2425
2926
fi
2426
2927
 
2435
2936
 
2436
2937
 
2437
2938
# Define the identity of the package.
2438
 
 PACKAGE=libopenraw
2439
 
 VERSION=0.0.8
 
2939
 PACKAGE='libopenraw'
 
2940
 VERSION='0.0.9'
2440
2941
 
2441
2942
 
2442
2943
cat >>confdefs.h <<_ACEOF
2464
2965
 
2465
2966
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2466
2967
 
2467
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2468
 
 
2469
 
# Installed binaries are usually stripped using `strip' when the user
2470
 
# run `make install-strip'.  However `strip' might not be the right
2471
 
# tool to use in cross-compilation environments, therefore Automake
2472
 
# will honor the `STRIP' environment variable to overrule this program.
2473
 
if test "$cross_compiling" != no; then
2474
 
  if test -n "$ac_tool_prefix"; then
2475
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2476
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2477
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2478
 
$as_echo_n "checking for $ac_word... " >&6; }
2479
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2480
 
  $as_echo_n "(cached) " >&6
2481
 
else
2482
 
  if test -n "$STRIP"; then
2483
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2484
 
else
2485
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486
 
for as_dir in $PATH
2487
 
do
2488
 
  IFS=$as_save_IFS
2489
 
  test -z "$as_dir" && as_dir=.
2490
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2491
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2493
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494
 
    break 2
2495
 
  fi
2496
 
done
2497
 
done
2498
 
IFS=$as_save_IFS
2499
 
 
2500
 
fi
2501
 
fi
2502
 
STRIP=$ac_cv_prog_STRIP
2503
 
if test -n "$STRIP"; then
2504
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2505
 
$as_echo "$STRIP" >&6; }
2506
 
else
2507
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2508
 
$as_echo "no" >&6; }
2509
 
fi
2510
 
 
2511
 
 
2512
 
fi
2513
 
if test -z "$ac_cv_prog_STRIP"; then
2514
 
  ac_ct_STRIP=$STRIP
2515
 
  # Extract the first word of "strip", so it can be a program name with args.
2516
 
set dummy strip; ac_word=$2
2517
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2518
 
$as_echo_n "checking for $ac_word... " >&6; }
2519
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2520
 
  $as_echo_n "(cached) " >&6
2521
 
else
2522
 
  if test -n "$ac_ct_STRIP"; then
2523
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2524
 
else
2525
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526
 
for as_dir in $PATH
2527
 
do
2528
 
  IFS=$as_save_IFS
2529
 
  test -z "$as_dir" && as_dir=.
2530
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2531
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532
 
    ac_cv_prog_ac_ct_STRIP="strip"
2533
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534
 
    break 2
2535
 
  fi
2536
 
done
2537
 
done
2538
 
IFS=$as_save_IFS
2539
 
 
2540
 
fi
2541
 
fi
2542
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2543
 
if test -n "$ac_ct_STRIP"; then
2544
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2545
 
$as_echo "$ac_ct_STRIP" >&6; }
2546
 
else
2547
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2548
 
$as_echo "no" >&6; }
2549
 
fi
2550
 
 
2551
 
  if test "x$ac_ct_STRIP" = x; then
2552
 
    STRIP=":"
2553
 
  else
2554
 
    case $cross_compiling:$ac_tool_warned in
2555
 
yes:)
2556
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2557
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2558
 
ac_tool_warned=yes ;;
2559
 
esac
2560
 
    STRIP=$ac_ct_STRIP
2561
 
  fi
2562
 
else
2563
 
  STRIP="$ac_cv_prog_STRIP"
2564
 
fi
2565
 
 
2566
 
fi
2567
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2568
 
 
2569
2968
# We need awk for the "check" target.  The system "awk" is bad on
2570
2969
# some platforms.
2571
2970
# Always define AMTAR for backward compatibility.
2578
2977
 
2579
2978
 
2580
2979
 
2581
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2980
 
 
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2582
2982
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2583
2983
    # Check whether --enable-maintainer-mode was given.
2584
 
if test "${enable_maintainer_mode+set}" = set; then
 
2984
if test "${enable_maintainer_mode+set}" = set; then :
2585
2985
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2586
2986
else
2587
2987
  USE_MAINTAINER_MODE=no
2588
2988
fi
2589
2989
 
2590
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2591
2991
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2592
2992
   if test $USE_MAINTAINER_MODE = yes; then
2593
2993
  MAINTAINER_MODE_TRUE=
2602
3002
 
2603
3003
 
2604
3004
 
2605
 
LIBOPENRAW_REVISION=2
2606
 
 
2607
 
LIBOPENRAW_AGE=5
2608
 
 
2609
 
LIBOPENRAW_CURRENT=6
 
3005
LIBOPENRAW_REVISION=0
 
3006
 
 
3007
LIBOPENRAW_AGE=6
 
3008
 
 
3009
LIBOPENRAW_CURRENT=7
2610
3010
 
2611
3011
LIBOPENRAW_CURRENT_MIN=`expr $LIBOPENRAW_CURRENT - $LIBOPENRAW_AGE`
2612
3012
 
2631
3031
if test -n "$ac_tool_prefix"; then
2632
3032
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2633
3033
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2634
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635
3035
$as_echo_n "checking for $ac_word... " >&6; }
2636
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3036
if ${ac_cv_prog_CC+:} false; then :
2637
3037
  $as_echo_n "(cached) " >&6
2638
3038
else
2639
3039
  if test -n "$CC"; then
2644
3044
do
2645
3045
  IFS=$as_save_IFS
2646
3046
  test -z "$as_dir" && as_dir=.
2647
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3047
    for ac_exec_ext in '' $ac_executable_extensions; do
2648
3048
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649
3049
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2650
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3050
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651
3051
    break 2
2652
3052
  fi
2653
3053
done
2654
 
done
 
3054
  done
2655
3055
IFS=$as_save_IFS
2656
3056
 
2657
3057
fi
2658
3058
fi
2659
3059
CC=$ac_cv_prog_CC
2660
3060
if test -n "$CC"; then
2661
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2662
3062
$as_echo "$CC" >&6; }
2663
3063
else
2664
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665
3065
$as_echo "no" >&6; }
2666
3066
fi
2667
3067
 
2671
3071
  ac_ct_CC=$CC
2672
3072
  # Extract the first word of "gcc", so it can be a program name with args.
2673
3073
set dummy gcc; ac_word=$2
2674
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675
3075
$as_echo_n "checking for $ac_word... " >&6; }
2676
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3076
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2677
3077
  $as_echo_n "(cached) " >&6
2678
3078
else
2679
3079
  if test -n "$ac_ct_CC"; then
2684
3084
do
2685
3085
  IFS=$as_save_IFS
2686
3086
  test -z "$as_dir" && as_dir=.
2687
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3087
    for ac_exec_ext in '' $ac_executable_extensions; do
2688
3088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689
3089
    ac_cv_prog_ac_ct_CC="gcc"
2690
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3090
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691
3091
    break 2
2692
3092
  fi
2693
3093
done
2694
 
done
 
3094
  done
2695
3095
IFS=$as_save_IFS
2696
3096
 
2697
3097
fi
2698
3098
fi
2699
3099
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2700
3100
if test -n "$ac_ct_CC"; then
2701
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2702
3102
$as_echo "$ac_ct_CC" >&6; }
2703
3103
else
2704
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705
3105
$as_echo "no" >&6; }
2706
3106
fi
2707
3107
 
2710
3110
  else
2711
3111
    case $cross_compiling:$ac_tool_warned in
2712
3112
yes:)
2713
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2714
3114
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2715
3115
ac_tool_warned=yes ;;
2716
3116
esac
2724
3124
          if test -n "$ac_tool_prefix"; then
2725
3125
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2726
3126
set dummy ${ac_tool_prefix}cc; ac_word=$2
2727
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728
3128
$as_echo_n "checking for $ac_word... " >&6; }
2729
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3129
if ${ac_cv_prog_CC+:} false; then :
2730
3130
  $as_echo_n "(cached) " >&6
2731
3131
else
2732
3132
  if test -n "$CC"; then
2737
3137
do
2738
3138
  IFS=$as_save_IFS
2739
3139
  test -z "$as_dir" && as_dir=.
2740
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3140
    for ac_exec_ext in '' $ac_executable_extensions; do
2741
3141
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742
3142
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2743
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3143
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744
3144
    break 2
2745
3145
  fi
2746
3146
done
2747
 
done
 
3147
  done
2748
3148
IFS=$as_save_IFS
2749
3149
 
2750
3150
fi
2751
3151
fi
2752
3152
CC=$ac_cv_prog_CC
2753
3153
if test -n "$CC"; then
2754
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2755
3155
$as_echo "$CC" >&6; }
2756
3156
else
2757
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758
3158
$as_echo "no" >&6; }
2759
3159
fi
2760
3160
 
2764
3164
if test -z "$CC"; then
2765
3165
  # Extract the first word of "cc", so it can be a program name with args.
2766
3166
set dummy cc; ac_word=$2
2767
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768
3168
$as_echo_n "checking for $ac_word... " >&6; }
2769
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3169
if ${ac_cv_prog_CC+:} false; then :
2770
3170
  $as_echo_n "(cached) " >&6
2771
3171
else
2772
3172
  if test -n "$CC"; then
2778
3178
do
2779
3179
  IFS=$as_save_IFS
2780
3180
  test -z "$as_dir" && as_dir=.
2781
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3181
    for ac_exec_ext in '' $ac_executable_extensions; do
2782
3182
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783
3183
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2784
3184
       ac_prog_rejected=yes
2785
3185
       continue
2786
3186
     fi
2787
3187
    ac_cv_prog_CC="cc"
2788
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3188
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789
3189
    break 2
2790
3190
  fi
2791
3191
done
2792
 
done
 
3192
  done
2793
3193
IFS=$as_save_IFS
2794
3194
 
2795
3195
if test $ac_prog_rejected = yes; then
2808
3208
fi
2809
3209
CC=$ac_cv_prog_CC
2810
3210
if test -n "$CC"; then
2811
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2812
3212
$as_echo "$CC" >&6; }
2813
3213
else
2814
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815
3215
$as_echo "no" >&6; }
2816
3216
fi
2817
3217
 
2823
3223
  do
2824
3224
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2825
3225
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2826
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827
3227
$as_echo_n "checking for $ac_word... " >&6; }
2828
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3228
if ${ac_cv_prog_CC+:} false; then :
2829
3229
  $as_echo_n "(cached) " >&6
2830
3230
else
2831
3231
  if test -n "$CC"; then
2836
3236
do
2837
3237
  IFS=$as_save_IFS
2838
3238
  test -z "$as_dir" && as_dir=.
2839
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3239
    for ac_exec_ext in '' $ac_executable_extensions; do
2840
3240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841
3241
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2842
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3242
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843
3243
    break 2
2844
3244
  fi
2845
3245
done
2846
 
done
 
3246
  done
2847
3247
IFS=$as_save_IFS
2848
3248
 
2849
3249
fi
2850
3250
fi
2851
3251
CC=$ac_cv_prog_CC
2852
3252
if test -n "$CC"; then
2853
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2854
3254
$as_echo "$CC" >&6; }
2855
3255
else
2856
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3256
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857
3257
$as_echo "no" >&6; }
2858
3258
fi
2859
3259
 
2867
3267
do
2868
3268
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2869
3269
set dummy $ac_prog; ac_word=$2
2870
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871
3271
$as_echo_n "checking for $ac_word... " >&6; }
2872
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3272
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2873
3273
  $as_echo_n "(cached) " >&6
2874
3274
else
2875
3275
  if test -n "$ac_ct_CC"; then
2880
3280
do
2881
3281
  IFS=$as_save_IFS
2882
3282
  test -z "$as_dir" && as_dir=.
2883
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3283
    for ac_exec_ext in '' $ac_executable_extensions; do
2884
3284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885
3285
    ac_cv_prog_ac_ct_CC="$ac_prog"
2886
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3286
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887
3287
    break 2
2888
3288
  fi
2889
3289
done
2890
 
done
 
3290
  done
2891
3291
IFS=$as_save_IFS
2892
3292
 
2893
3293
fi
2894
3294
fi
2895
3295
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2896
3296
if test -n "$ac_ct_CC"; then
2897
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2898
3298
$as_echo "$ac_ct_CC" >&6; }
2899
3299
else
2900
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901
3301
$as_echo "no" >&6; }
2902
3302
fi
2903
3303
 
2910
3310
  else
2911
3311
    case $cross_compiling:$ac_tool_warned in
2912
3312
yes:)
2913
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2914
3314
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2915
3315
ac_tool_warned=yes ;;
2916
3316
esac
2921
3321
fi
2922
3322
 
2923
3323
 
2924
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3324
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2925
3325
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2926
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2927
 
See \`config.log' for more details." >&5
2928
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2929
 
See \`config.log' for more details." >&2;}
2930
 
   { (exit 1); exit 1; }; }; }
 
3326
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3327
See \`config.log' for more details" "$LINENO" 5; }
2931
3328
 
2932
3329
# Provide some information about the compiler.
2933
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3330
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2934
3331
set X $ac_compile
2935
3332
ac_compiler=$2
2936
 
{ (ac_try="$ac_compiler --version >&5"
2937
 
case "(($ac_try" in
2938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939
 
  *) ac_try_echo=$ac_try;;
2940
 
esac
2941
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2942
 
$as_echo "$ac_try_echo") >&5
2943
 
  (eval "$ac_compiler --version >&5") 2>&5
2944
 
  ac_status=$?
2945
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946
 
  (exit $ac_status); }
2947
 
{ (ac_try="$ac_compiler -v >&5"
2948
 
case "(($ac_try" in
2949
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950
 
  *) ac_try_echo=$ac_try;;
2951
 
esac
2952
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2953
 
$as_echo "$ac_try_echo") >&5
2954
 
  (eval "$ac_compiler -v >&5") 2>&5
2955
 
  ac_status=$?
2956
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957
 
  (exit $ac_status); }
2958
 
{ (ac_try="$ac_compiler -V >&5"
2959
 
case "(($ac_try" in
2960
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
 
  *) ac_try_echo=$ac_try;;
2962
 
esac
2963
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2964
 
$as_echo "$ac_try_echo") >&5
2965
 
  (eval "$ac_compiler -V >&5") 2>&5
2966
 
  ac_status=$?
2967
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
 
  (exit $ac_status); }
 
3333
for ac_option in --version -v -V -qversion; do
 
3334
  { { ac_try="$ac_compiler $ac_option >&5"
 
3335
case "(($ac_try" in
 
3336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3337
  *) ac_try_echo=$ac_try;;
 
3338
esac
 
3339
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3340
$as_echo "$ac_try_echo"; } >&5
 
3341
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3342
  ac_status=$?
 
3343
  if test -s conftest.err; then
 
3344
    sed '10a\
 
3345
... rest of stderr output deleted ...
 
3346
         10q' conftest.err >conftest.er1
 
3347
    cat conftest.er1 >&5
 
3348
  fi
 
3349
  rm -f conftest.er1 conftest.err
 
3350
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3351
  test $ac_status = 0; }
 
3352
done
2969
3353
 
2970
 
cat >conftest.$ac_ext <<_ACEOF
2971
 
/* confdefs.h.  */
2972
 
_ACEOF
2973
 
cat confdefs.h >>conftest.$ac_ext
2974
 
cat >>conftest.$ac_ext <<_ACEOF
 
3354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975
3355
/* end confdefs.h.  */
2976
3356
 
2977
3357
int
2987
3367
# Try to create an executable without -o first, disregard a.out.
2988
3368
# It will help us diagnose broken compilers, and finding out an intuition
2989
3369
# of exeext.
2990
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2991
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3371
$as_echo_n "checking whether the C compiler works... " >&6; }
2992
3372
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2993
3373
 
2994
3374
# The possible output files:
3004
3384
done
3005
3385
rm -f $ac_rmfiles
3006
3386
 
3007
 
if { (ac_try="$ac_link_default"
 
3387
if { { ac_try="$ac_link_default"
3008
3388
case "(($ac_try" in
3009
3389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010
3390
  *) ac_try_echo=$ac_try;;
3011
3391
esac
3012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3013
 
$as_echo "$ac_try_echo") >&5
 
3392
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3393
$as_echo "$ac_try_echo"; } >&5
3014
3394
  (eval "$ac_link_default") 2>&5
3015
3395
  ac_status=$?
3016
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017
 
  (exit $ac_status); }; then
 
3396
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3397
  test $ac_status = 0; }; then :
3018
3398
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3019
3399
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3020
3400
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3031
3411
        # certainly right.
3032
3412
        break;;
3033
3413
    *.* )
3034
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3414
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3035
3415
        then :; else
3036
3416
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3037
3417
        fi
3050
3430
else
3051
3431
  ac_file=''
3052
3432
fi
 
3433
if test -z "$ac_file"; then :
 
3434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3435
$as_echo "no" >&6; }
 
3436
$as_echo "$as_me: failed program was:" >&5
 
3437
sed 's/^/| /' conftest.$ac_ext >&5
3053
3438
 
3054
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3439
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3440
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3441
as_fn_error 77 "C compiler cannot create executables
 
3442
See \`config.log' for more details" "$LINENO" 5; }
 
3443
else
 
3444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3445
$as_echo "yes" >&6; }
 
3446
fi
 
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3448
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3055
3450
$as_echo "$ac_file" >&6; }
3056
 
if test -z "$ac_file"; then
3057
 
  $as_echo "$as_me: failed program was:" >&5
3058
 
sed 's/^/| /' conftest.$ac_ext >&5
3059
 
 
3060
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3061
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3063
 
See \`config.log' for more details." >&5
3064
 
$as_echo "$as_me: error: C compiler cannot create executables
3065
 
See \`config.log' for more details." >&2;}
3066
 
   { (exit 77); exit 77; }; }; }
3067
 
fi
3068
 
 
3069
3451
ac_exeext=$ac_cv_exeext
3070
3452
 
3071
 
# Check that the compiler produces executables we can run.  If not, either
3072
 
# the compiler is broken, or we cross compile.
3073
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3074
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3075
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3076
 
# If not cross compiling, check that we can run a simple program.
3077
 
if test "$cross_compiling" != yes; then
3078
 
  if { ac_try='./$ac_file'
3079
 
  { (case "(($ac_try" in
3080
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081
 
  *) ac_try_echo=$ac_try;;
3082
 
esac
3083
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084
 
$as_echo "$ac_try_echo") >&5
3085
 
  (eval "$ac_try") 2>&5
3086
 
  ac_status=$?
3087
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
 
  (exit $ac_status); }; }; then
3089
 
    cross_compiling=no
3090
 
  else
3091
 
    if test "$cross_compiling" = maybe; then
3092
 
        cross_compiling=yes
3093
 
    else
3094
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3095
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3097
 
If you meant to cross compile, use \`--host'.
3098
 
See \`config.log' for more details." >&5
3099
 
$as_echo "$as_me: error: cannot run C compiled programs.
3100
 
If you meant to cross compile, use \`--host'.
3101
 
See \`config.log' for more details." >&2;}
3102
 
   { (exit 1); exit 1; }; }; }
3103
 
    fi
3104
 
  fi
3105
 
fi
3106
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3107
 
$as_echo "yes" >&6; }
3108
 
 
3109
3453
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3110
3454
ac_clean_files=$ac_clean_files_save
3111
 
# Check that the compiler produces executables we can run.  If not, either
3112
 
# the compiler is broken, or we cross compile.
3113
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3114
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3115
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3116
 
$as_echo "$cross_compiling" >&6; }
3117
 
 
3118
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3119
3456
$as_echo_n "checking for suffix of executables... " >&6; }
3120
 
if { (ac_try="$ac_link"
 
3457
if { { ac_try="$ac_link"
3121
3458
case "(($ac_try" in
3122
3459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123
3460
  *) ac_try_echo=$ac_try;;
3124
3461
esac
3125
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3126
 
$as_echo "$ac_try_echo") >&5
 
3462
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3463
$as_echo "$ac_try_echo"; } >&5
3127
3464
  (eval "$ac_link") 2>&5
3128
3465
  ac_status=$?
3129
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130
 
  (exit $ac_status); }; then
 
3466
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3467
  test $ac_status = 0; }; then :
3131
3468
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3132
3469
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3133
3470
# work properly (i.e., refer to `conftest.exe'), while it won't with
3142
3479
  esac
3143
3480
done
3144
3481
else
3145
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3482
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146
3483
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3148
 
See \`config.log' for more details." >&5
3149
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3150
 
See \`config.log' for more details." >&2;}
3151
 
   { (exit 1); exit 1; }; }; }
 
3484
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3485
See \`config.log' for more details" "$LINENO" 5; }
3152
3486
fi
3153
 
 
3154
 
rm -f conftest$ac_cv_exeext
3155
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3487
rm -f conftest conftest$ac_cv_exeext
 
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3156
3489
$as_echo "$ac_cv_exeext" >&6; }
3157
3490
 
3158
3491
rm -f conftest.$ac_ext
3159
3492
EXEEXT=$ac_cv_exeext
3160
3493
ac_exeext=$EXEEXT
3161
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3495
/* end confdefs.h.  */
 
3496
#include <stdio.h>
 
3497
int
 
3498
main ()
 
3499
{
 
3500
FILE *f = fopen ("conftest.out", "w");
 
3501
 return ferror (f) || fclose (f) != 0;
 
3502
 
 
3503
  ;
 
3504
  return 0;
 
3505
}
 
3506
_ACEOF
 
3507
ac_clean_files="$ac_clean_files conftest.out"
 
3508
# Check that the compiler produces executables we can run.  If not, either
 
3509
# the compiler is broken, or we cross compile.
 
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3511
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3512
if test "$cross_compiling" != yes; then
 
3513
  { { ac_try="$ac_link"
 
3514
case "(($ac_try" in
 
3515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3516
  *) ac_try_echo=$ac_try;;
 
3517
esac
 
3518
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3519
$as_echo "$ac_try_echo"; } >&5
 
3520
  (eval "$ac_link") 2>&5
 
3521
  ac_status=$?
 
3522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3523
  test $ac_status = 0; }
 
3524
  if { ac_try='./conftest$ac_cv_exeext'
 
3525
  { { case "(($ac_try" in
 
3526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3527
  *) ac_try_echo=$ac_try;;
 
3528
esac
 
3529
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3530
$as_echo "$ac_try_echo"; } >&5
 
3531
  (eval "$ac_try") 2>&5
 
3532
  ac_status=$?
 
3533
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3534
  test $ac_status = 0; }; }; then
 
3535
    cross_compiling=no
 
3536
  else
 
3537
    if test "$cross_compiling" = maybe; then
 
3538
        cross_compiling=yes
 
3539
    else
 
3540
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3541
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3542
as_fn_error $? "cannot run C compiled programs.
 
3543
If you meant to cross compile, use \`--host'.
 
3544
See \`config.log' for more details" "$LINENO" 5; }
 
3545
    fi
 
3546
  fi
 
3547
fi
 
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3549
$as_echo "$cross_compiling" >&6; }
 
3550
 
 
3551
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3552
ac_clean_files=$ac_clean_files_save
 
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3162
3554
$as_echo_n "checking for suffix of object files... " >&6; }
3163
 
if test "${ac_cv_objext+set}" = set; then
 
3555
if ${ac_cv_objext+:} false; then :
3164
3556
  $as_echo_n "(cached) " >&6
3165
3557
else
3166
 
  cat >conftest.$ac_ext <<_ACEOF
3167
 
/* confdefs.h.  */
3168
 
_ACEOF
3169
 
cat confdefs.h >>conftest.$ac_ext
3170
 
cat >>conftest.$ac_ext <<_ACEOF
 
3558
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171
3559
/* end confdefs.h.  */
3172
3560
 
3173
3561
int
3179
3567
}
3180
3568
_ACEOF
3181
3569
rm -f conftest.o conftest.obj
3182
 
if { (ac_try="$ac_compile"
 
3570
if { { ac_try="$ac_compile"
3183
3571
case "(($ac_try" in
3184
3572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185
3573
  *) ac_try_echo=$ac_try;;
3186
3574
esac
3187
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3188
 
$as_echo "$ac_try_echo") >&5
 
3575
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3576
$as_echo "$ac_try_echo"; } >&5
3189
3577
  (eval "$ac_compile") 2>&5
3190
3578
  ac_status=$?
3191
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192
 
  (exit $ac_status); }; then
 
3579
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3580
  test $ac_status = 0; }; then :
3193
3581
  for ac_file in conftest.o conftest.obj conftest.*; do
3194
3582
  test -f "$ac_file" || continue;
3195
3583
  case $ac_file in
3202
3590
  $as_echo "$as_me: failed program was:" >&5
3203
3591
sed 's/^/| /' conftest.$ac_ext >&5
3204
3592
 
3205
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3593
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206
3594
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3208
 
See \`config.log' for more details." >&5
3209
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3210
 
See \`config.log' for more details." >&2;}
3211
 
   { (exit 1); exit 1; }; }; }
 
3595
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3596
See \`config.log' for more details" "$LINENO" 5; }
3212
3597
fi
3213
 
 
3214
3598
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3215
3599
fi
3216
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3217
3601
$as_echo "$ac_cv_objext" >&6; }
3218
3602
OBJEXT=$ac_cv_objext
3219
3603
ac_objext=$OBJEXT
3220
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3221
3605
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3222
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3606
if ${ac_cv_c_compiler_gnu+:} false; then :
3223
3607
  $as_echo_n "(cached) " >&6
3224
3608
else
3225
 
  cat >conftest.$ac_ext <<_ACEOF
3226
 
/* confdefs.h.  */
3227
 
_ACEOF
3228
 
cat confdefs.h >>conftest.$ac_ext
3229
 
cat >>conftest.$ac_ext <<_ACEOF
 
3609
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230
3610
/* end confdefs.h.  */
3231
3611
 
3232
3612
int
3240
3620
  return 0;
3241
3621
}
3242
3622
_ACEOF
3243
 
rm -f conftest.$ac_objext
3244
 
if { (ac_try="$ac_compile"
3245
 
case "(($ac_try" in
3246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247
 
  *) ac_try_echo=$ac_try;;
3248
 
esac
3249
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3250
 
$as_echo "$ac_try_echo") >&5
3251
 
  (eval "$ac_compile") 2>conftest.er1
3252
 
  ac_status=$?
3253
 
  grep -v '^ *+' conftest.er1 >conftest.err
3254
 
  rm -f conftest.er1
3255
 
  cat conftest.err >&5
3256
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257
 
  (exit $ac_status); } && {
3258
 
         test -z "$ac_c_werror_flag" ||
3259
 
         test ! -s conftest.err
3260
 
       } && test -s conftest.$ac_objext; then
 
3623
if ac_fn_c_try_compile "$LINENO"; then :
3261
3624
  ac_compiler_gnu=yes
3262
3625
else
3263
 
  $as_echo "$as_me: failed program was:" >&5
3264
 
sed 's/^/| /' conftest.$ac_ext >&5
3265
 
 
3266
 
        ac_compiler_gnu=no
 
3626
  ac_compiler_gnu=no
3267
3627
fi
3268
 
 
3269
3628
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270
3629
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3271
3630
 
3272
3631
fi
3273
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3274
3633
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3275
3634
if test $ac_compiler_gnu = yes; then
3276
3635
  GCC=yes
3279
3638
fi
3280
3639
ac_test_CFLAGS=${CFLAGS+set}
3281
3640
ac_save_CFLAGS=$CFLAGS
3282
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3283
3642
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3284
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3643
if ${ac_cv_prog_cc_g+:} false; then :
3285
3644
  $as_echo_n "(cached) " >&6
3286
3645
else
3287
3646
  ac_save_c_werror_flag=$ac_c_werror_flag
3288
3647
   ac_c_werror_flag=yes
3289
3648
   ac_cv_prog_cc_g=no
3290
3649
   CFLAGS="-g"
3291
 
   cat >conftest.$ac_ext <<_ACEOF
3292
 
/* confdefs.h.  */
3293
 
_ACEOF
3294
 
cat confdefs.h >>conftest.$ac_ext
3295
 
cat >>conftest.$ac_ext <<_ACEOF
 
3650
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296
3651
/* end confdefs.h.  */
3297
3652
 
3298
3653
int
3303
3658
  return 0;
3304
3659
}
3305
3660
_ACEOF
3306
 
rm -f conftest.$ac_objext
3307
 
if { (ac_try="$ac_compile"
3308
 
case "(($ac_try" in
3309
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310
 
  *) ac_try_echo=$ac_try;;
3311
 
esac
3312
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3313
 
$as_echo "$ac_try_echo") >&5
3314
 
  (eval "$ac_compile") 2>conftest.er1
3315
 
  ac_status=$?
3316
 
  grep -v '^ *+' conftest.er1 >conftest.err
3317
 
  rm -f conftest.er1
3318
 
  cat conftest.err >&5
3319
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320
 
  (exit $ac_status); } && {
3321
 
         test -z "$ac_c_werror_flag" ||
3322
 
         test ! -s conftest.err
3323
 
       } && test -s conftest.$ac_objext; then
 
3661
if ac_fn_c_try_compile "$LINENO"; then :
3324
3662
  ac_cv_prog_cc_g=yes
3325
3663
else
3326
 
  $as_echo "$as_me: failed program was:" >&5
3327
 
sed 's/^/| /' conftest.$ac_ext >&5
3328
 
 
3329
 
        CFLAGS=""
3330
 
      cat >conftest.$ac_ext <<_ACEOF
3331
 
/* confdefs.h.  */
3332
 
_ACEOF
3333
 
cat confdefs.h >>conftest.$ac_ext
3334
 
cat >>conftest.$ac_ext <<_ACEOF
 
3664
  CFLAGS=""
 
3665
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335
3666
/* end confdefs.h.  */
3336
3667
 
3337
3668
int
3342
3673
  return 0;
3343
3674
}
3344
3675
_ACEOF
3345
 
rm -f conftest.$ac_objext
3346
 
if { (ac_try="$ac_compile"
3347
 
case "(($ac_try" in
3348
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349
 
  *) ac_try_echo=$ac_try;;
3350
 
esac
3351
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3352
 
$as_echo "$ac_try_echo") >&5
3353
 
  (eval "$ac_compile") 2>conftest.er1
3354
 
  ac_status=$?
3355
 
  grep -v '^ *+' conftest.er1 >conftest.err
3356
 
  rm -f conftest.er1
3357
 
  cat conftest.err >&5
3358
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359
 
  (exit $ac_status); } && {
3360
 
         test -z "$ac_c_werror_flag" ||
3361
 
         test ! -s conftest.err
3362
 
       } && test -s conftest.$ac_objext; then
3363
 
  :
 
3676
if ac_fn_c_try_compile "$LINENO"; then :
 
3677
 
3364
3678
else
3365
 
  $as_echo "$as_me: failed program was:" >&5
3366
 
sed 's/^/| /' conftest.$ac_ext >&5
3367
 
 
3368
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3679
  ac_c_werror_flag=$ac_save_c_werror_flag
3369
3680
         CFLAGS="-g"
3370
 
         cat >conftest.$ac_ext <<_ACEOF
3371
 
/* confdefs.h.  */
3372
 
_ACEOF
3373
 
cat confdefs.h >>conftest.$ac_ext
3374
 
cat >>conftest.$ac_ext <<_ACEOF
 
3681
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375
3682
/* end confdefs.h.  */
3376
3683
 
3377
3684
int
3382
3689
  return 0;
3383
3690
}
3384
3691
_ACEOF
3385
 
rm -f conftest.$ac_objext
3386
 
if { (ac_try="$ac_compile"
3387
 
case "(($ac_try" in
3388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389
 
  *) ac_try_echo=$ac_try;;
3390
 
esac
3391
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3392
 
$as_echo "$ac_try_echo") >&5
3393
 
  (eval "$ac_compile") 2>conftest.er1
3394
 
  ac_status=$?
3395
 
  grep -v '^ *+' conftest.er1 >conftest.err
3396
 
  rm -f conftest.er1
3397
 
  cat conftest.err >&5
3398
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
 
  (exit $ac_status); } && {
3400
 
         test -z "$ac_c_werror_flag" ||
3401
 
         test ! -s conftest.err
3402
 
       } && test -s conftest.$ac_objext; then
 
3692
if ac_fn_c_try_compile "$LINENO"; then :
3403
3693
  ac_cv_prog_cc_g=yes
3404
 
else
3405
 
  $as_echo "$as_me: failed program was:" >&5
3406
 
sed 's/^/| /' conftest.$ac_ext >&5
3407
 
 
3408
 
 
3409
 
fi
3410
 
 
3411
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412
 
fi
3413
 
 
3414
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415
 
fi
3416
 
 
 
3694
fi
 
3695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3696
fi
 
3697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3698
fi
3417
3699
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418
3700
   ac_c_werror_flag=$ac_save_c_werror_flag
3419
3701
fi
3420
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3421
3703
$as_echo "$ac_cv_prog_cc_g" >&6; }
3422
3704
if test "$ac_test_CFLAGS" = set; then
3423
3705
  CFLAGS=$ac_save_CFLAGS
3434
3716
    CFLAGS=
3435
3717
  fi
3436
3718
fi
3437
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3438
3720
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3439
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3721
if ${ac_cv_prog_cc_c89+:} false; then :
3440
3722
  $as_echo_n "(cached) " >&6
3441
3723
else
3442
3724
  ac_cv_prog_cc_c89=no
3443
3725
ac_save_CC=$CC
3444
 
cat >conftest.$ac_ext <<_ACEOF
3445
 
/* confdefs.h.  */
3446
 
_ACEOF
3447
 
cat confdefs.h >>conftest.$ac_ext
3448
 
cat >>conftest.$ac_ext <<_ACEOF
 
3726
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449
3727
/* end confdefs.h.  */
3450
3728
#include <stdarg.h>
3451
3729
#include <stdio.h>
3502
3780
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3503
3781
do
3504
3782
  CC="$ac_save_CC $ac_arg"
3505
 
  rm -f conftest.$ac_objext
3506
 
if { (ac_try="$ac_compile"
3507
 
case "(($ac_try" in
3508
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509
 
  *) ac_try_echo=$ac_try;;
3510
 
esac
3511
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3512
 
$as_echo "$ac_try_echo") >&5
3513
 
  (eval "$ac_compile") 2>conftest.er1
3514
 
  ac_status=$?
3515
 
  grep -v '^ *+' conftest.er1 >conftest.err
3516
 
  rm -f conftest.er1
3517
 
  cat conftest.err >&5
3518
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519
 
  (exit $ac_status); } && {
3520
 
         test -z "$ac_c_werror_flag" ||
3521
 
         test ! -s conftest.err
3522
 
       } && test -s conftest.$ac_objext; then
 
3783
  if ac_fn_c_try_compile "$LINENO"; then :
3523
3784
  ac_cv_prog_cc_c89=$ac_arg
3524
 
else
3525
 
  $as_echo "$as_me: failed program was:" >&5
3526
 
sed 's/^/| /' conftest.$ac_ext >&5
3527
 
 
3528
 
 
3529
3785
fi
3530
 
 
3531
3786
rm -f core conftest.err conftest.$ac_objext
3532
3787
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3533
3788
done
3538
3793
# AC_CACHE_VAL
3539
3794
case "x$ac_cv_prog_cc_c89" in
3540
3795
  x)
3541
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3796
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3542
3797
$as_echo "none needed" >&6; } ;;
3543
3798
  xno)
3544
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3799
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3545
3800
$as_echo "unsupported" >&6; } ;;
3546
3801
  *)
3547
3802
    CC="$CC $ac_cv_prog_cc_c89"
3548
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3803
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3549
3804
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3550
3805
esac
 
3806
if test "x$ac_cv_prog_cc_c89" != xno; then :
3551
3807
 
 
3808
fi
3552
3809
 
3553
3810
ac_ext=c
3554
3811
ac_cpp='$CPP $CPPFLAGS'
3563
3820
am_make=${MAKE-make}
3564
3821
cat > confinc << 'END'
3565
3822
am__doit:
3566
 
        @echo done
 
3823
        @echo this is the am__doit target
3567
3824
.PHONY: am__doit
3568
3825
END
3569
3826
# If we don't find an include directive, just comment out the code.
3570
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3571
3828
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3572
3829
am__include="#"
3573
3830
am__quote=
3574
3831
_am_result=none
3575
3832
# First try GNU make style include.
3576
3833
echo "include confinc" > confmf
3577
 
# We grep out `Entering directory' and `Leaving directory'
3578
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3579
 
# In particular we don't look at `^make:' because GNU make might
3580
 
# be invoked under some other name (usually "gmake"), in which
3581
 
# case it prints its new name instead of `make'.
3582
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3583
 
   am__include=include
3584
 
   am__quote=
3585
 
   _am_result=GNU
3586
 
fi
 
3834
# Ignore all kinds of additional output from `make'.
 
3835
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3836
*the\ am__doit\ target*)
 
3837
  am__include=include
 
3838
  am__quote=
 
3839
  _am_result=GNU
 
3840
  ;;
 
3841
esac
3587
3842
# Now try BSD make style include.
3588
3843
if test "$am__include" = "#"; then
3589
3844
   echo '.include "confinc"' > confmf
3590
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3591
 
      am__include=.include
3592
 
      am__quote="\""
3593
 
      _am_result=BSD
3594
 
   fi
 
3845
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3846
   *the\ am__doit\ target*)
 
3847
     am__include=.include
 
3848
     am__quote="\""
 
3849
     _am_result=BSD
 
3850
     ;;
 
3851
   esac
3595
3852
fi
3596
3853
 
3597
3854
 
3598
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3599
3856
$as_echo "$_am_result" >&6; }
3600
3857
rm -f confinc confmf
3601
3858
 
3602
3859
# Check whether --enable-dependency-tracking was given.
3603
 
if test "${enable_dependency_tracking+set}" = set; then
 
3860
if test "${enable_dependency_tracking+set}" = set; then :
3604
3861
  enableval=$enable_dependency_tracking;
3605
3862
fi
3606
3863
 
3620
3877
 
3621
3878
depcc="$CC"   am_compiler_list=
3622
3879
 
3623
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3624
3881
$as_echo_n "checking dependency style of $depcc... " >&6; }
3625
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3882
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3626
3883
  $as_echo_n "(cached) " >&6
3627
3884
else
3628
3885
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3648
3905
  if test "$am_compiler_list" = ""; then
3649
3906
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3650
3907
  fi
 
3908
  am__universal=false
 
3909
  case " $depcc " in #(
 
3910
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3911
     esac
 
3912
 
3651
3913
  for depmode in $am_compiler_list; do
3652
3914
    # Setup a source with many dependencies, because some compilers
3653
3915
    # like to wrap large dependency lists on column 80 (with \), and
3665
3927
    done
3666
3928
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3667
3929
 
 
3930
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3931
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3932
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3933
    # versions had trouble with output in subdirs
 
3934
    am__obj=sub/conftest.${OBJEXT-o}
 
3935
    am__minus_obj="-o $am__obj"
3668
3936
    case $depmode in
 
3937
    gcc)
 
3938
      # This depmode causes a compiler race in universal mode.
 
3939
      test "$am__universal" = false || continue
 
3940
      ;;
3669
3941
    nosideeffect)
3670
3942
      # after this tag, mechanisms are not by side-effect, so they'll
3671
3943
      # only be used when explicitly requested
3675
3947
        break
3676
3948
      fi
3677
3949
      ;;
 
3950
    msvisualcpp | msvcmsys)
 
3951
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3952
      # not run yet.  These depmodes are late enough in the game, and
 
3953
      # so weak that their functioning should not be impacted.
 
3954
      am__obj=conftest.${OBJEXT-o}
 
3955
      am__minus_obj=
 
3956
      ;;
3678
3957
    none) break ;;
3679
3958
    esac
3680
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3681
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3682
 
    # handle `-M -o', and we need to detect this.
3683
3959
    if depmode=$depmode \
3684
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3960
       source=sub/conftest.c object=$am__obj \
3685
3961
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3686
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3962
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3687
3963
         >/dev/null 2>conftest.err &&
3688
3964
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3689
3965
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3690
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3966
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3691
3967
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3692
3968
      # icc doesn't choke on unknown options, it will just issue warnings
3693
3969
      # or remarks (even with -Werror).  So we grep stderr for any message
3711
3987
fi
3712
3988
 
3713
3989
fi
3714
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3715
3991
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3716
3992
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3717
3993
 
3731
4007
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3732
4008
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3733
4009
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3734
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3735
4011
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3736
4012
# On Suns, sometimes $CPP names a directory.
3737
4013
if test -n "$CPP" && test -d "$CPP"; then
3738
4014
  CPP=
3739
4015
fi
3740
4016
if test -z "$CPP"; then
3741
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4017
  if ${ac_cv_prog_CPP+:} false; then :
3742
4018
  $as_echo_n "(cached) " >&6
3743
4019
else
3744
4020
      # Double quotes because CPP needs to be expanded
3753
4029
  # <limits.h> exists even on freestanding compilers.
3754
4030
  # On the NeXT, cc -E runs the code through the compiler's parser,
3755
4031
  # not just through cpp. "Syntax error" is here to catch this case.
3756
 
  cat >conftest.$ac_ext <<_ACEOF
3757
 
/* confdefs.h.  */
3758
 
_ACEOF
3759
 
cat confdefs.h >>conftest.$ac_ext
3760
 
cat >>conftest.$ac_ext <<_ACEOF
 
4032
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761
4033
/* end confdefs.h.  */
3762
4034
#ifdef __STDC__
3763
4035
# include <limits.h>
3766
4038
#endif
3767
4039
                     Syntax error
3768
4040
_ACEOF
3769
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3770
 
case "(($ac_try" in
3771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772
 
  *) ac_try_echo=$ac_try;;
3773
 
esac
3774
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3775
 
$as_echo "$ac_try_echo") >&5
3776
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3777
 
  ac_status=$?
3778
 
  grep -v '^ *+' conftest.er1 >conftest.err
3779
 
  rm -f conftest.er1
3780
 
  cat conftest.err >&5
3781
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782
 
  (exit $ac_status); } >/dev/null && {
3783
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3784
 
         test ! -s conftest.err
3785
 
       }; then
3786
 
  :
 
4041
if ac_fn_c_try_cpp "$LINENO"; then :
 
4042
 
3787
4043
else
3788
 
  $as_echo "$as_me: failed program was:" >&5
3789
 
sed 's/^/| /' conftest.$ac_ext >&5
3790
 
 
3791
4044
  # Broken: fails on valid input.
3792
4045
continue
3793
4046
fi
3794
 
 
3795
 
rm -f conftest.err conftest.$ac_ext
 
4047
rm -f conftest.err conftest.i conftest.$ac_ext
3796
4048
 
3797
4049
  # OK, works on sane cases.  Now check whether nonexistent headers
3798
4050
  # can be detected and how.
3799
 
  cat >conftest.$ac_ext <<_ACEOF
3800
 
/* confdefs.h.  */
3801
 
_ACEOF
3802
 
cat confdefs.h >>conftest.$ac_ext
3803
 
cat >>conftest.$ac_ext <<_ACEOF
 
4051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804
4052
/* end confdefs.h.  */
3805
4053
#include <ac_nonexistent.h>
3806
4054
_ACEOF
3807
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3808
 
case "(($ac_try" in
3809
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810
 
  *) ac_try_echo=$ac_try;;
3811
 
esac
3812
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3813
 
$as_echo "$ac_try_echo") >&5
3814
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3815
 
  ac_status=$?
3816
 
  grep -v '^ *+' conftest.er1 >conftest.err
3817
 
  rm -f conftest.er1
3818
 
  cat conftest.err >&5
3819
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820
 
  (exit $ac_status); } >/dev/null && {
3821
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3822
 
         test ! -s conftest.err
3823
 
       }; then
 
4055
if ac_fn_c_try_cpp "$LINENO"; then :
3824
4056
  # Broken: success on invalid input.
3825
4057
continue
3826
4058
else
3827
 
  $as_echo "$as_me: failed program was:" >&5
3828
 
sed 's/^/| /' conftest.$ac_ext >&5
3829
 
 
3830
4059
  # Passes both tests.
3831
4060
ac_preproc_ok=:
3832
4061
break
3833
4062
fi
3834
 
 
3835
 
rm -f conftest.err conftest.$ac_ext
 
4063
rm -f conftest.err conftest.i conftest.$ac_ext
3836
4064
 
3837
4065
done
3838
4066
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3839
 
rm -f conftest.err conftest.$ac_ext
3840
 
if $ac_preproc_ok; then
 
4067
rm -f conftest.i conftest.err conftest.$ac_ext
 
4068
if $ac_preproc_ok; then :
3841
4069
  break
3842
4070
fi
3843
4071
 
3849
4077
else
3850
4078
  ac_cv_prog_CPP=$CPP
3851
4079
fi
3852
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3853
4081
$as_echo "$CPP" >&6; }
3854
4082
ac_preproc_ok=false
3855
4083
for ac_c_preproc_warn_flag in '' yes
3860
4088
  # <limits.h> exists even on freestanding compilers.
3861
4089
  # On the NeXT, cc -E runs the code through the compiler's parser,
3862
4090
  # not just through cpp. "Syntax error" is here to catch this case.
3863
 
  cat >conftest.$ac_ext <<_ACEOF
3864
 
/* confdefs.h.  */
3865
 
_ACEOF
3866
 
cat confdefs.h >>conftest.$ac_ext
3867
 
cat >>conftest.$ac_ext <<_ACEOF
 
4091
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868
4092
/* end confdefs.h.  */
3869
4093
#ifdef __STDC__
3870
4094
# include <limits.h>
3873
4097
#endif
3874
4098
                     Syntax error
3875
4099
_ACEOF
3876
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3877
 
case "(($ac_try" in
3878
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879
 
  *) ac_try_echo=$ac_try;;
3880
 
esac
3881
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3882
 
$as_echo "$ac_try_echo") >&5
3883
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3884
 
  ac_status=$?
3885
 
  grep -v '^ *+' conftest.er1 >conftest.err
3886
 
  rm -f conftest.er1
3887
 
  cat conftest.err >&5
3888
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889
 
  (exit $ac_status); } >/dev/null && {
3890
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3891
 
         test ! -s conftest.err
3892
 
       }; then
3893
 
  :
 
4100
if ac_fn_c_try_cpp "$LINENO"; then :
 
4101
 
3894
4102
else
3895
 
  $as_echo "$as_me: failed program was:" >&5
3896
 
sed 's/^/| /' conftest.$ac_ext >&5
3897
 
 
3898
4103
  # Broken: fails on valid input.
3899
4104
continue
3900
4105
fi
3901
 
 
3902
 
rm -f conftest.err conftest.$ac_ext
 
4106
rm -f conftest.err conftest.i conftest.$ac_ext
3903
4107
 
3904
4108
  # OK, works on sane cases.  Now check whether nonexistent headers
3905
4109
  # can be detected and how.
3906
 
  cat >conftest.$ac_ext <<_ACEOF
3907
 
/* confdefs.h.  */
3908
 
_ACEOF
3909
 
cat confdefs.h >>conftest.$ac_ext
3910
 
cat >>conftest.$ac_ext <<_ACEOF
 
4110
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911
4111
/* end confdefs.h.  */
3912
4112
#include <ac_nonexistent.h>
3913
4113
_ACEOF
3914
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3915
 
case "(($ac_try" in
3916
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917
 
  *) ac_try_echo=$ac_try;;
3918
 
esac
3919
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3920
 
$as_echo "$ac_try_echo") >&5
3921
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3922
 
  ac_status=$?
3923
 
  grep -v '^ *+' conftest.er1 >conftest.err
3924
 
  rm -f conftest.er1
3925
 
  cat conftest.err >&5
3926
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927
 
  (exit $ac_status); } >/dev/null && {
3928
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3929
 
         test ! -s conftest.err
3930
 
       }; then
 
4114
if ac_fn_c_try_cpp "$LINENO"; then :
3931
4115
  # Broken: success on invalid input.
3932
4116
continue
3933
4117
else
3934
 
  $as_echo "$as_me: failed program was:" >&5
3935
 
sed 's/^/| /' conftest.$ac_ext >&5
3936
 
 
3937
4118
  # Passes both tests.
3938
4119
ac_preproc_ok=:
3939
4120
break
3940
4121
fi
3941
 
 
3942
 
rm -f conftest.err conftest.$ac_ext
 
4122
rm -f conftest.err conftest.i conftest.$ac_ext
3943
4123
 
3944
4124
done
3945
4125
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3946
 
rm -f conftest.err conftest.$ac_ext
3947
 
if $ac_preproc_ok; then
3948
 
  :
 
4126
rm -f conftest.i conftest.err conftest.$ac_ext
 
4127
if $ac_preproc_ok; then :
 
4128
 
3949
4129
else
3950
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4130
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3951
4131
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3952
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3953
 
See \`config.log' for more details." >&5
3954
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3955
 
See \`config.log' for more details." >&2;}
3956
 
   { (exit 1); exit 1; }; }; }
 
4132
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4133
See \`config.log' for more details" "$LINENO" 5; }
3957
4134
fi
3958
4135
 
3959
4136
ac_ext=c
3976
4153
  do
3977
4154
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3978
4155
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3979
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980
4157
$as_echo_n "checking for $ac_word... " >&6; }
3981
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
4158
if ${ac_cv_prog_CXX+:} false; then :
3982
4159
  $as_echo_n "(cached) " >&6
3983
4160
else
3984
4161
  if test -n "$CXX"; then
3989
4166
do
3990
4167
  IFS=$as_save_IFS
3991
4168
  test -z "$as_dir" && as_dir=.
3992
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4169
    for ac_exec_ext in '' $ac_executable_extensions; do
3993
4170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994
4171
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3995
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996
4173
    break 2
3997
4174
  fi
3998
4175
done
3999
 
done
 
4176
  done
4000
4177
IFS=$as_save_IFS
4001
4178
 
4002
4179
fi
4003
4180
fi
4004
4181
CXX=$ac_cv_prog_CXX
4005
4182
if test -n "$CXX"; then
4006
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
4183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4007
4184
$as_echo "$CXX" >&6; }
4008
4185
else
4009
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010
4187
$as_echo "no" >&6; }
4011
4188
fi
4012
4189
 
4020
4197
do
4021
4198
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4022
4199
set dummy $ac_prog; ac_word=$2
4023
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024
4201
$as_echo_n "checking for $ac_word... " >&6; }
4025
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
4202
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4026
4203
  $as_echo_n "(cached) " >&6
4027
4204
else
4028
4205
  if test -n "$ac_ct_CXX"; then
4033
4210
do
4034
4211
  IFS=$as_save_IFS
4035
4212
  test -z "$as_dir" && as_dir=.
4036
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4213
    for ac_exec_ext in '' $ac_executable_extensions; do
4037
4214
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038
4215
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4039
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4216
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4040
4217
    break 2
4041
4218
  fi
4042
4219
done
4043
 
done
 
4220
  done
4044
4221
IFS=$as_save_IFS
4045
4222
 
4046
4223
fi
4047
4224
fi
4048
4225
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4049
4226
if test -n "$ac_ct_CXX"; then
4050
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
4227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4051
4228
$as_echo "$ac_ct_CXX" >&6; }
4052
4229
else
4053
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054
4231
$as_echo "no" >&6; }
4055
4232
fi
4056
4233
 
4063
4240
  else
4064
4241
    case $cross_compiling:$ac_tool_warned in
4065
4242
yes:)
4066
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4067
4244
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4068
4245
ac_tool_warned=yes ;;
4069
4246
esac
4074
4251
  fi
4075
4252
fi
4076
4253
# Provide some information about the compiler.
4077
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
4254
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4078
4255
set X $ac_compile
4079
4256
ac_compiler=$2
4080
 
{ (ac_try="$ac_compiler --version >&5"
4081
 
case "(($ac_try" in
4082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083
 
  *) ac_try_echo=$ac_try;;
4084
 
esac
4085
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4086
 
$as_echo "$ac_try_echo") >&5
4087
 
  (eval "$ac_compiler --version >&5") 2>&5
4088
 
  ac_status=$?
4089
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
 
  (exit $ac_status); }
4091
 
{ (ac_try="$ac_compiler -v >&5"
4092
 
case "(($ac_try" in
4093
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094
 
  *) ac_try_echo=$ac_try;;
4095
 
esac
4096
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4097
 
$as_echo "$ac_try_echo") >&5
4098
 
  (eval "$ac_compiler -v >&5") 2>&5
4099
 
  ac_status=$?
4100
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101
 
  (exit $ac_status); }
4102
 
{ (ac_try="$ac_compiler -V >&5"
4103
 
case "(($ac_try" in
4104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105
 
  *) ac_try_echo=$ac_try;;
4106
 
esac
4107
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4108
 
$as_echo "$ac_try_echo") >&5
4109
 
  (eval "$ac_compiler -V >&5") 2>&5
4110
 
  ac_status=$?
4111
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
 
  (exit $ac_status); }
 
4257
for ac_option in --version -v -V -qversion; do
 
4258
  { { ac_try="$ac_compiler $ac_option >&5"
 
4259
case "(($ac_try" in
 
4260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4261
  *) ac_try_echo=$ac_try;;
 
4262
esac
 
4263
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4264
$as_echo "$ac_try_echo"; } >&5
 
4265
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4266
  ac_status=$?
 
4267
  if test -s conftest.err; then
 
4268
    sed '10a\
 
4269
... rest of stderr output deleted ...
 
4270
         10q' conftest.err >conftest.er1
 
4271
    cat conftest.er1 >&5
 
4272
  fi
 
4273
  rm -f conftest.er1 conftest.err
 
4274
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4275
  test $ac_status = 0; }
 
4276
done
4113
4277
 
4114
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
4278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4115
4279
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4116
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
4280
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4117
4281
  $as_echo_n "(cached) " >&6
4118
4282
else
4119
 
  cat >conftest.$ac_ext <<_ACEOF
4120
 
/* confdefs.h.  */
4121
 
_ACEOF
4122
 
cat confdefs.h >>conftest.$ac_ext
4123
 
cat >>conftest.$ac_ext <<_ACEOF
 
4283
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124
4284
/* end confdefs.h.  */
4125
4285
 
4126
4286
int
4134
4294
  return 0;
4135
4295
}
4136
4296
_ACEOF
4137
 
rm -f conftest.$ac_objext
4138
 
if { (ac_try="$ac_compile"
4139
 
case "(($ac_try" in
4140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4141
 
  *) ac_try_echo=$ac_try;;
4142
 
esac
4143
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4144
 
$as_echo "$ac_try_echo") >&5
4145
 
  (eval "$ac_compile") 2>conftest.er1
4146
 
  ac_status=$?
4147
 
  grep -v '^ *+' conftest.er1 >conftest.err
4148
 
  rm -f conftest.er1
4149
 
  cat conftest.err >&5
4150
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151
 
  (exit $ac_status); } && {
4152
 
         test -z "$ac_cxx_werror_flag" ||
4153
 
         test ! -s conftest.err
4154
 
       } && test -s conftest.$ac_objext; then
 
4297
if ac_fn_cxx_try_compile "$LINENO"; then :
4155
4298
  ac_compiler_gnu=yes
4156
4299
else
4157
 
  $as_echo "$as_me: failed program was:" >&5
4158
 
sed 's/^/| /' conftest.$ac_ext >&5
4159
 
 
4160
 
        ac_compiler_gnu=no
 
4300
  ac_compiler_gnu=no
4161
4301
fi
4162
 
 
4163
4302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164
4303
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4165
4304
 
4166
4305
fi
4167
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
4306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4168
4307
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4169
4308
if test $ac_compiler_gnu = yes; then
4170
4309
  GXX=yes
4173
4312
fi
4174
4313
ac_test_CXXFLAGS=${CXXFLAGS+set}
4175
4314
ac_save_CXXFLAGS=$CXXFLAGS
4176
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
4315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4177
4316
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4178
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
4317
if ${ac_cv_prog_cxx_g+:} false; then :
4179
4318
  $as_echo_n "(cached) " >&6
4180
4319
else
4181
4320
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4182
4321
   ac_cxx_werror_flag=yes
4183
4322
   ac_cv_prog_cxx_g=no
4184
4323
   CXXFLAGS="-g"
4185
 
   cat >conftest.$ac_ext <<_ACEOF
4186
 
/* confdefs.h.  */
4187
 
_ACEOF
4188
 
cat confdefs.h >>conftest.$ac_ext
4189
 
cat >>conftest.$ac_ext <<_ACEOF
 
4324
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190
4325
/* end confdefs.h.  */
4191
4326
 
4192
4327
int
4197
4332
  return 0;
4198
4333
}
4199
4334
_ACEOF
4200
 
rm -f conftest.$ac_objext
4201
 
if { (ac_try="$ac_compile"
4202
 
case "(($ac_try" in
4203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4204
 
  *) ac_try_echo=$ac_try;;
4205
 
esac
4206
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4207
 
$as_echo "$ac_try_echo") >&5
4208
 
  (eval "$ac_compile") 2>conftest.er1
4209
 
  ac_status=$?
4210
 
  grep -v '^ *+' conftest.er1 >conftest.err
4211
 
  rm -f conftest.er1
4212
 
  cat conftest.err >&5
4213
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214
 
  (exit $ac_status); } && {
4215
 
         test -z "$ac_cxx_werror_flag" ||
4216
 
         test ! -s conftest.err
4217
 
       } && test -s conftest.$ac_objext; then
 
4335
if ac_fn_cxx_try_compile "$LINENO"; then :
4218
4336
  ac_cv_prog_cxx_g=yes
4219
4337
else
4220
 
  $as_echo "$as_me: failed program was:" >&5
4221
 
sed 's/^/| /' conftest.$ac_ext >&5
4222
 
 
4223
 
        CXXFLAGS=""
4224
 
      cat >conftest.$ac_ext <<_ACEOF
4225
 
/* confdefs.h.  */
4226
 
_ACEOF
4227
 
cat confdefs.h >>conftest.$ac_ext
4228
 
cat >>conftest.$ac_ext <<_ACEOF
 
4338
  CXXFLAGS=""
 
4339
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229
4340
/* end confdefs.h.  */
4230
4341
 
4231
4342
int
4236
4347
  return 0;
4237
4348
}
4238
4349
_ACEOF
4239
 
rm -f conftest.$ac_objext
4240
 
if { (ac_try="$ac_compile"
4241
 
case "(($ac_try" in
4242
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243
 
  *) ac_try_echo=$ac_try;;
4244
 
esac
4245
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4246
 
$as_echo "$ac_try_echo") >&5
4247
 
  (eval "$ac_compile") 2>conftest.er1
4248
 
  ac_status=$?
4249
 
  grep -v '^ *+' conftest.er1 >conftest.err
4250
 
  rm -f conftest.er1
4251
 
  cat conftest.err >&5
4252
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253
 
  (exit $ac_status); } && {
4254
 
         test -z "$ac_cxx_werror_flag" ||
4255
 
         test ! -s conftest.err
4256
 
       } && test -s conftest.$ac_objext; then
4257
 
  :
 
4350
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4351
 
4258
4352
else
4259
 
  $as_echo "$as_me: failed program was:" >&5
4260
 
sed 's/^/| /' conftest.$ac_ext >&5
4261
 
 
4262
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4353
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4263
4354
         CXXFLAGS="-g"
4264
 
         cat >conftest.$ac_ext <<_ACEOF
4265
 
/* confdefs.h.  */
4266
 
_ACEOF
4267
 
cat confdefs.h >>conftest.$ac_ext
4268
 
cat >>conftest.$ac_ext <<_ACEOF
 
4355
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269
4356
/* end confdefs.h.  */
4270
4357
 
4271
4358
int
4276
4363
  return 0;
4277
4364
}
4278
4365
_ACEOF
4279
 
rm -f conftest.$ac_objext
4280
 
if { (ac_try="$ac_compile"
4281
 
case "(($ac_try" in
4282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283
 
  *) ac_try_echo=$ac_try;;
4284
 
esac
4285
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4286
 
$as_echo "$ac_try_echo") >&5
4287
 
  (eval "$ac_compile") 2>conftest.er1
4288
 
  ac_status=$?
4289
 
  grep -v '^ *+' conftest.er1 >conftest.err
4290
 
  rm -f conftest.er1
4291
 
  cat conftest.err >&5
4292
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293
 
  (exit $ac_status); } && {
4294
 
         test -z "$ac_cxx_werror_flag" ||
4295
 
         test ! -s conftest.err
4296
 
       } && test -s conftest.$ac_objext; then
 
4366
if ac_fn_cxx_try_compile "$LINENO"; then :
4297
4367
  ac_cv_prog_cxx_g=yes
4298
 
else
4299
 
  $as_echo "$as_me: failed program was:" >&5
4300
 
sed 's/^/| /' conftest.$ac_ext >&5
4301
 
 
4302
 
 
4303
 
fi
4304
 
 
4305
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306
 
fi
4307
 
 
4308
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309
 
fi
4310
 
 
 
4368
fi
 
4369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4370
fi
 
4371
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4372
fi
4311
4373
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312
4374
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4313
4375
fi
4314
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4315
4377
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4316
4378
if test "$ac_test_CXXFLAGS" = set; then
4317
4379
  CXXFLAGS=$ac_save_CXXFLAGS
4336
4398
 
4337
4399
depcc="$CXX"  am_compiler_list=
4338
4400
 
4339
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4340
4402
$as_echo_n "checking dependency style of $depcc... " >&6; }
4341
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
4403
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4342
4404
  $as_echo_n "(cached) " >&6
4343
4405
else
4344
4406
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4364
4426
  if test "$am_compiler_list" = ""; then
4365
4427
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4366
4428
  fi
 
4429
  am__universal=false
 
4430
  case " $depcc " in #(
 
4431
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4432
     esac
 
4433
 
4367
4434
  for depmode in $am_compiler_list; do
4368
4435
    # Setup a source with many dependencies, because some compilers
4369
4436
    # like to wrap large dependency lists on column 80 (with \), and
4381
4448
    done
4382
4449
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4383
4450
 
 
4451
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4452
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4453
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4454
    # versions had trouble with output in subdirs
 
4455
    am__obj=sub/conftest.${OBJEXT-o}
 
4456
    am__minus_obj="-o $am__obj"
4384
4457
    case $depmode in
 
4458
    gcc)
 
4459
      # This depmode causes a compiler race in universal mode.
 
4460
      test "$am__universal" = false || continue
 
4461
      ;;
4385
4462
    nosideeffect)
4386
4463
      # after this tag, mechanisms are not by side-effect, so they'll
4387
4464
      # only be used when explicitly requested
4391
4468
        break
4392
4469
      fi
4393
4470
      ;;
 
4471
    msvisualcpp | msvcmsys)
 
4472
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4473
      # not run yet.  These depmodes are late enough in the game, and
 
4474
      # so weak that their functioning should not be impacted.
 
4475
      am__obj=conftest.${OBJEXT-o}
 
4476
      am__minus_obj=
 
4477
      ;;
4394
4478
    none) break ;;
4395
4479
    esac
4396
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4397
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4398
 
    # handle `-M -o', and we need to detect this.
4399
4480
    if depmode=$depmode \
4400
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4481
       source=sub/conftest.c object=$am__obj \
4401
4482
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4402
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4483
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4403
4484
         >/dev/null 2>conftest.err &&
4404
4485
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4405
4486
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4406
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4487
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4407
4488
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4408
4489
      # icc doesn't choke on unknown options, it will just issue warnings
4409
4490
      # or remarks (even with -Werror).  So we grep stderr for any message
4427
4508
fi
4428
4509
 
4429
4510
fi
4430
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4431
4512
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4432
4513
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4433
4514
 
4442
4523
fi
4443
4524
 
4444
4525
 
4445
 
# Find a good install program.  We prefer a C program (faster),
4446
 
# so one script is as good as another.  But avoid the broken or
4447
 
# incompatible versions:
4448
 
# SysV /etc/install, /usr/sbin/install
4449
 
# SunOS /usr/etc/install
4450
 
# IRIX /sbin/install
4451
 
# AIX /bin/install
4452
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
4453
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4454
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4455
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4456
 
# OS/2's system install, which has a completely different semantic
4457
 
# ./install, which can be erroneously created by make from ./install.sh.
4458
 
# Reject install programs that cannot install multiple files.
4459
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4460
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4461
 
if test -z "$INSTALL"; then
4462
 
if test "${ac_cv_path_install+set}" = set; then
4463
 
  $as_echo_n "(cached) " >&6
4464
 
else
4465
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466
 
for as_dir in $PATH
4467
 
do
4468
 
  IFS=$as_save_IFS
4469
 
  test -z "$as_dir" && as_dir=.
4470
 
  # Account for people who put trailing slashes in PATH elements.
4471
 
case $as_dir/ in
4472
 
  ./ | .// | /cC/* | \
4473
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4474
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4475
 
  /usr/ucb/* ) ;;
4476
 
  *)
4477
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
4478
 
    # Don't use installbsd from OSF since it installs stuff as root
4479
 
    # by default.
4480
 
    for ac_prog in ginstall scoinst install; do
4481
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4482
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4483
 
          if test $ac_prog = install &&
4484
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4485
 
            # AIX install.  It has an incompatible calling convention.
4486
 
            :
4487
 
          elif test $ac_prog = install &&
4488
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4489
 
            # program-specific install script used by HP pwplus--don't use.
4490
 
            :
4491
 
          else
4492
 
            rm -rf conftest.one conftest.two conftest.dir
4493
 
            echo one > conftest.one
4494
 
            echo two > conftest.two
4495
 
            mkdir conftest.dir
4496
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4497
 
              test -s conftest.one && test -s conftest.two &&
4498
 
              test -s conftest.dir/conftest.one &&
4499
 
              test -s conftest.dir/conftest.two
4500
 
            then
4501
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4502
 
              break 3
4503
 
            fi
4504
 
          fi
4505
 
        fi
4506
 
      done
4507
 
    done
4508
 
    ;;
4509
 
esac
4510
 
 
4511
 
done
4512
 
IFS=$as_save_IFS
4513
 
 
4514
 
rm -rf conftest.one conftest.two conftest.dir
4515
 
 
4516
 
fi
4517
 
  if test "${ac_cv_path_install+set}" = set; then
4518
 
    INSTALL=$ac_cv_path_install
4519
 
  else
4520
 
    # As a last resort, use the slow shell script.  Don't cache a
4521
 
    # value for INSTALL within a source directory, because that will
4522
 
    # break other packages using the cache if that directory is
4523
 
    # removed, or if the value is a relative name.
4524
 
    INSTALL=$ac_install_sh
4525
 
  fi
4526
 
fi
4527
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4528
 
$as_echo "$INSTALL" >&6; }
4529
 
 
4530
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4531
 
# It thinks the first close brace ends the variable substitution.
4532
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4533
 
 
4534
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4535
 
 
4536
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4537
4526
 
4538
4527
case `pwd` in
4539
4528
  *\ * | *\     *)
4540
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4529
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4541
4530
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4542
4531
esac
4543
4532
 
4544
4533
 
4545
4534
 
4546
 
macro_version='2.2.6'
4547
 
macro_revision='1.3012'
 
4535
macro_version='2.4'
 
4536
macro_revision='1.3293'
4548
4537
 
4549
4538
 
4550
4539
 
4562
4551
 
4563
4552
# Make sure we can run config.sub.
4564
4553
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4565
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4566
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4567
 
   { (exit 1); exit 1; }; }
 
4554
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4568
4555
 
4569
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4570
4557
$as_echo_n "checking build system type... " >&6; }
4571
 
if test "${ac_cv_build+set}" = set; then
 
4558
if ${ac_cv_build+:} false; then :
4572
4559
  $as_echo_n "(cached) " >&6
4573
4560
else
4574
4561
  ac_build_alias=$build_alias
4575
4562
test "x$ac_build_alias" = x &&
4576
4563
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4577
4564
test "x$ac_build_alias" = x &&
4578
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4579
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4580
 
   { (exit 1); exit 1; }; }
 
4565
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4581
4566
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4582
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4583
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4584
 
   { (exit 1); exit 1; }; }
 
4567
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4585
4568
 
4586
4569
fi
4587
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4588
4571
$as_echo "$ac_cv_build" >&6; }
4589
4572
case $ac_cv_build in
4590
4573
*-*-*) ;;
4591
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4592
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4593
 
   { (exit 1); exit 1; }; };;
 
4574
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4594
4575
esac
4595
4576
build=$ac_cv_build
4596
4577
ac_save_IFS=$IFS; IFS='-'
4606
4587
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4607
4588
 
4608
4589
 
4609
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4610
4591
$as_echo_n "checking host system type... " >&6; }
4611
 
if test "${ac_cv_host+set}" = set; then
 
4592
if ${ac_cv_host+:} false; then :
4612
4593
  $as_echo_n "(cached) " >&6
4613
4594
else
4614
4595
  if test "x$host_alias" = x; then
4615
4596
  ac_cv_host=$ac_cv_build
4616
4597
else
4617
4598
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4618
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4619
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4620
 
   { (exit 1); exit 1; }; }
 
4599
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4621
4600
fi
4622
4601
 
4623
4602
fi
4624
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4625
4604
$as_echo "$ac_cv_host" >&6; }
4626
4605
case $ac_cv_host in
4627
4606
*-*-*) ;;
4628
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4629
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4630
 
   { (exit 1); exit 1; }; };;
 
4607
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4631
4608
esac
4632
4609
host=$ac_cv_host
4633
4610
ac_save_IFS=$IFS; IFS='-'
4643
4620
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4644
4621
 
4645
4622
 
4646
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4623
# Backslashify metacharacters that are still active within
 
4624
# double-quoted strings.
 
4625
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4626
 
 
4627
# Same as above, but do not quote variable references.
 
4628
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4629
 
 
4630
# Sed substitution to delay expansion of an escaped shell variable in a
 
4631
# double_quote_subst'ed string.
 
4632
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4633
 
 
4634
# Sed substitution to delay expansion of an escaped single quote.
 
4635
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4636
 
 
4637
# Sed substitution to avoid accidental globbing in evaled expressions
 
4638
no_glob_subst='s/\*/\\\*/g'
 
4639
 
 
4640
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4641
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4642
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4643
 
 
4644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4645
$as_echo_n "checking how to print strings... " >&6; }
 
4646
# Test print first, because it will be a builtin if present.
 
4647
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4648
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4649
  ECHO='print -r --'
 
4650
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4651
  ECHO='printf %s\n'
 
4652
else
 
4653
  # Use this function as a fallback that always works.
 
4654
  func_fallback_echo ()
 
4655
  {
 
4656
    eval 'cat <<_LTECHO_EOF
 
4657
$1
 
4658
_LTECHO_EOF'
 
4659
  }
 
4660
  ECHO='func_fallback_echo'
 
4661
fi
 
4662
 
 
4663
# func_echo_all arg...
 
4664
# Invoke $ECHO with all args, space-separated.
 
4665
func_echo_all ()
 
4666
{
 
4667
    $ECHO ""
 
4668
}
 
4669
 
 
4670
case "$ECHO" in
 
4671
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4672
$as_echo "printf" >&6; } ;;
 
4673
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4674
$as_echo "print -r" >&6; } ;;
 
4675
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4676
$as_echo "cat" >&6; } ;;
 
4677
esac
 
4678
 
 
4679
 
 
4680
 
 
4681
 
 
4682
 
 
4683
 
 
4684
 
 
4685
 
 
4686
 
 
4687
 
 
4688
 
 
4689
 
 
4690
 
 
4691
 
 
4692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4647
4693
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4648
 
if test "${ac_cv_path_SED+set}" = set; then
 
4694
if ${ac_cv_path_SED+:} false; then :
4649
4695
  $as_echo_n "(cached) " >&6
4650
4696
else
4651
4697
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4653
4699
       ac_script="$ac_script$as_nl$ac_script"
4654
4700
     done
4655
4701
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4656
 
     $as_unset ac_script || ac_script=
 
4702
     { ac_script=; unset ac_script;}
4657
4703
     if test -z "$SED"; then
4658
4704
  ac_path_SED_found=false
4659
4705
  # Loop through the user's path and test for each of PROGNAME-LIST
4662
4708
do
4663
4709
  IFS=$as_save_IFS
4664
4710
  test -z "$as_dir" && as_dir=.
4665
 
  for ac_prog in sed gsed; do
 
4711
    for ac_prog in sed gsed; do
4666
4712
    for ac_exec_ext in '' $ac_executable_extensions; do
4667
4713
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4668
4714
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4682
4728
    $as_echo '' >> "conftest.nl"
4683
4729
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4684
4730
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4685
 
    ac_count=`expr $ac_count + 1`
 
4731
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4686
4732
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4687
4733
      # Best one so far, save it but keep looking for a better one
4688
4734
      ac_cv_path_SED="$ac_path_SED"
4697
4743
      $ac_path_SED_found && break 3
4698
4744
    done
4699
4745
  done
4700
 
done
 
4746
  done
4701
4747
IFS=$as_save_IFS
4702
4748
  if test -z "$ac_cv_path_SED"; then
4703
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4704
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4705
 
   { (exit 1); exit 1; }; }
 
4749
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4706
4750
  fi
4707
4751
else
4708
4752
  ac_cv_path_SED=$SED
4709
4753
fi
4710
4754
 
4711
4755
fi
4712
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4713
4757
$as_echo "$ac_cv_path_SED" >&6; }
4714
4758
 SED="$ac_cv_path_SED"
4715
4759
  rm -f conftest.sed
4727
4771
 
4728
4772
 
4729
4773
 
4730
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4731
4775
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4732
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4776
if ${ac_cv_path_GREP+:} false; then :
4733
4777
  $as_echo_n "(cached) " >&6
4734
4778
else
4735
4779
  if test -z "$GREP"; then
4740
4784
do
4741
4785
  IFS=$as_save_IFS
4742
4786
  test -z "$as_dir" && as_dir=.
4743
 
  for ac_prog in grep ggrep; do
 
4787
    for ac_prog in grep ggrep; do
4744
4788
    for ac_exec_ext in '' $ac_executable_extensions; do
4745
4789
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4746
4790
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4760
4804
    $as_echo 'GREP' >> "conftest.nl"
4761
4805
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4762
4806
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4763
 
    ac_count=`expr $ac_count + 1`
 
4807
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4764
4808
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4765
4809
      # Best one so far, save it but keep looking for a better one
4766
4810
      ac_cv_path_GREP="$ac_path_GREP"
4775
4819
      $ac_path_GREP_found && break 3
4776
4820
    done
4777
4821
  done
4778
 
done
 
4822
  done
4779
4823
IFS=$as_save_IFS
4780
4824
  if test -z "$ac_cv_path_GREP"; then
4781
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4782
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4783
 
   { (exit 1); exit 1; }; }
 
4825
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4784
4826
  fi
4785
4827
else
4786
4828
  ac_cv_path_GREP=$GREP
4787
4829
fi
4788
4830
 
4789
4831
fi
4790
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4791
4833
$as_echo "$ac_cv_path_GREP" >&6; }
4792
4834
 GREP="$ac_cv_path_GREP"
4793
4835
 
4794
4836
 
4795
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4796
4838
$as_echo_n "checking for egrep... " >&6; }
4797
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4839
if ${ac_cv_path_EGREP+:} false; then :
4798
4840
  $as_echo_n "(cached) " >&6
4799
4841
else
4800
4842
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4808
4850
do
4809
4851
  IFS=$as_save_IFS
4810
4852
  test -z "$as_dir" && as_dir=.
4811
 
  for ac_prog in egrep; do
 
4853
    for ac_prog in egrep; do
4812
4854
    for ac_exec_ext in '' $ac_executable_extensions; do
4813
4855
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4814
4856
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828
4870
    $as_echo 'EGREP' >> "conftest.nl"
4829
4871
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4830
4872
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4831
 
    ac_count=`expr $ac_count + 1`
 
4873
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4832
4874
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4833
4875
      # Best one so far, save it but keep looking for a better one
4834
4876
      ac_cv_path_EGREP="$ac_path_EGREP"
4843
4885
      $ac_path_EGREP_found && break 3
4844
4886
    done
4845
4887
  done
4846
 
done
 
4888
  done
4847
4889
IFS=$as_save_IFS
4848
4890
  if test -z "$ac_cv_path_EGREP"; then
4849
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4850
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4851
 
   { (exit 1); exit 1; }; }
 
4891
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4852
4892
  fi
4853
4893
else
4854
4894
  ac_cv_path_EGREP=$EGREP
4856
4896
 
4857
4897
   fi
4858
4898
fi
4859
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4860
4900
$as_echo "$ac_cv_path_EGREP" >&6; }
4861
4901
 EGREP="$ac_cv_path_EGREP"
4862
4902
 
4863
4903
 
4864
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4865
4905
$as_echo_n "checking for fgrep... " >&6; }
4866
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4906
if ${ac_cv_path_FGREP+:} false; then :
4867
4907
  $as_echo_n "(cached) " >&6
4868
4908
else
4869
4909
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4877
4917
do
4878
4918
  IFS=$as_save_IFS
4879
4919
  test -z "$as_dir" && as_dir=.
4880
 
  for ac_prog in fgrep; do
 
4920
    for ac_prog in fgrep; do
4881
4921
    for ac_exec_ext in '' $ac_executable_extensions; do
4882
4922
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4883
4923
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4897
4937
    $as_echo 'FGREP' >> "conftest.nl"
4898
4938
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4899
4939
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4900
 
    ac_count=`expr $ac_count + 1`
 
4940
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4901
4941
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4902
4942
      # Best one so far, save it but keep looking for a better one
4903
4943
      ac_cv_path_FGREP="$ac_path_FGREP"
4912
4952
      $ac_path_FGREP_found && break 3
4913
4953
    done
4914
4954
  done
4915
 
done
 
4955
  done
4916
4956
IFS=$as_save_IFS
4917
4957
  if test -z "$ac_cv_path_FGREP"; then
4918
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4919
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4920
 
   { (exit 1); exit 1; }; }
 
4958
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4921
4959
  fi
4922
4960
else
4923
4961
  ac_cv_path_FGREP=$FGREP
4925
4963
 
4926
4964
   fi
4927
4965
fi
4928
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4929
4967
$as_echo "$ac_cv_path_FGREP" >&6; }
4930
4968
 FGREP="$ac_cv_path_FGREP"
4931
4969
 
4951
4989
 
4952
4990
 
4953
4991
# Check whether --with-gnu-ld was given.
4954
 
if test "${with_gnu_ld+set}" = set; then
 
4992
if test "${with_gnu_ld+set}" = set; then :
4955
4993
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4956
4994
else
4957
4995
  with_gnu_ld=no
4960
4998
ac_prog=ld
4961
4999
if test "$GCC" = yes; then
4962
5000
  # Check if gcc -print-prog-name=ld gives a path.
4963
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5001
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4964
5002
$as_echo_n "checking for ld used by $CC... " >&6; }
4965
5003
  case $host in
4966
5004
  *-*-mingw*)
4990
5028
    ;;
4991
5029
  esac
4992
5030
elif test "$with_gnu_ld" = yes; then
4993
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5031
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4994
5032
$as_echo_n "checking for GNU ld... " >&6; }
4995
5033
else
4996
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4997
5035
$as_echo_n "checking for non-GNU ld... " >&6; }
4998
5036
fi
4999
 
if test "${lt_cv_path_LD+set}" = set; then
 
5037
if ${lt_cv_path_LD+:} false; then :
5000
5038
  $as_echo_n "(cached) " >&6
5001
5039
else
5002
5040
  if test -z "$LD"; then
5027
5065
 
5028
5066
LD="$lt_cv_path_LD"
5029
5067
if test -n "$LD"; then
5030
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5068
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5031
5069
$as_echo "$LD" >&6; }
5032
5070
else
5033
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034
5072
$as_echo "no" >&6; }
5035
5073
fi
5036
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5037
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5038
 
   { (exit 1); exit 1; }; }
5039
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5074
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
5075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5040
5076
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5041
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5077
if ${lt_cv_prog_gnu_ld+:} false; then :
5042
5078
  $as_echo_n "(cached) " >&6
5043
5079
else
5044
5080
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5051
5087
  ;;
5052
5088
esac
5053
5089
fi
5054
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5055
5091
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5056
5092
with_gnu_ld=$lt_cv_prog_gnu_ld
5057
5093
 
5063
5099
 
5064
5100
 
5065
5101
 
5066
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5067
5103
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5068
 
if test "${lt_cv_path_NM+set}" = set; then
 
5104
if ${lt_cv_path_NM+:} false; then :
5069
5105
  $as_echo_n "(cached) " >&6
5070
5106
else
5071
5107
  if test -n "$NM"; then
5112
5148
  : ${lt_cv_path_NM=no}
5113
5149
fi
5114
5150
fi
5115
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5116
5152
$as_echo "$lt_cv_path_NM" >&6; }
5117
5153
if test "$lt_cv_path_NM" != "no"; then
5118
5154
  NM="$lt_cv_path_NM"
5119
5155
else
5120
5156
  # Didn't find any BSD compatible name lister, look for dumpbin.
5121
 
  if test -n "$ac_tool_prefix"; then
5122
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5157
  if test -n "$DUMPBIN"; then :
 
5158
    # Let the user override the test.
 
5159
  else
 
5160
    if test -n "$ac_tool_prefix"; then
 
5161
  for ac_prog in dumpbin "link -dump"
5123
5162
  do
5124
5163
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5125
5164
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5126
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127
5166
$as_echo_n "checking for $ac_word... " >&6; }
5128
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5167
if ${ac_cv_prog_DUMPBIN+:} false; then :
5129
5168
  $as_echo_n "(cached) " >&6
5130
5169
else
5131
5170
  if test -n "$DUMPBIN"; then
5136
5175
do
5137
5176
  IFS=$as_save_IFS
5138
5177
  test -z "$as_dir" && as_dir=.
5139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5178
    for ac_exec_ext in '' $ac_executable_extensions; do
5140
5179
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141
5180
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5142
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5181
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143
5182
    break 2
5144
5183
  fi
5145
5184
done
5146
 
done
 
5185
  done
5147
5186
IFS=$as_save_IFS
5148
5187
 
5149
5188
fi
5150
5189
fi
5151
5190
DUMPBIN=$ac_cv_prog_DUMPBIN
5152
5191
if test -n "$DUMPBIN"; then
5153
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5154
5193
$as_echo "$DUMPBIN" >&6; }
5155
5194
else
5156
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157
5196
$as_echo "no" >&6; }
5158
5197
fi
5159
5198
 
5163
5202
fi
5164
5203
if test -z "$DUMPBIN"; then
5165
5204
  ac_ct_DUMPBIN=$DUMPBIN
5166
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5205
  for ac_prog in dumpbin "link -dump"
5167
5206
do
5168
5207
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5169
5208
set dummy $ac_prog; ac_word=$2
5170
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171
5210
$as_echo_n "checking for $ac_word... " >&6; }
5172
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5211
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5173
5212
  $as_echo_n "(cached) " >&6
5174
5213
else
5175
5214
  if test -n "$ac_ct_DUMPBIN"; then
5180
5219
do
5181
5220
  IFS=$as_save_IFS
5182
5221
  test -z "$as_dir" && as_dir=.
5183
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5222
    for ac_exec_ext in '' $ac_executable_extensions; do
5184
5223
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185
5224
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5186
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5225
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187
5226
    break 2
5188
5227
  fi
5189
5228
done
5190
 
done
 
5229
  done
5191
5230
IFS=$as_save_IFS
5192
5231
 
5193
5232
fi
5194
5233
fi
5195
5234
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5196
5235
if test -n "$ac_ct_DUMPBIN"; then
5197
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5198
5237
$as_echo "$ac_ct_DUMPBIN" >&6; }
5199
5238
else
5200
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201
5240
$as_echo "no" >&6; }
5202
5241
fi
5203
5242
 
5210
5249
  else
5211
5250
    case $cross_compiling:$ac_tool_warned in
5212
5251
yes:)
5213
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214
5253
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215
5254
ac_tool_warned=yes ;;
5216
5255
esac
5218
5257
  fi
5219
5258
fi
5220
5259
 
 
5260
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5261
    *COFF*)
 
5262
      DUMPBIN="$DUMPBIN -symbols"
 
5263
      ;;
 
5264
    *)
 
5265
      DUMPBIN=:
 
5266
      ;;
 
5267
    esac
 
5268
  fi
5221
5269
 
5222
5270
  if test "$DUMPBIN" != ":"; then
5223
5271
    NM="$DUMPBIN"
5230
5278
 
5231
5279
 
5232
5280
 
5233
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5234
5282
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5235
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5283
if ${lt_cv_nm_interface+:} false; then :
5236
5284
  $as_echo_n "(cached) " >&6
5237
5285
else
5238
5286
  lt_cv_nm_interface="BSD nm"
5239
5287
  echo "int some_variable = 0;" > conftest.$ac_ext
5240
 
  (eval echo "\"\$as_me:5240: $ac_compile\"" >&5)
 
5288
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5241
5289
  (eval "$ac_compile" 2>conftest.err)
5242
5290
  cat conftest.err >&5
5243
 
  (eval echo "\"\$as_me:5243: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5291
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5244
5292
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5245
5293
  cat conftest.err >&5
5246
 
  (eval echo "\"\$as_me:5246: output\"" >&5)
 
5294
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5247
5295
  cat conftest.out >&5
5248
5296
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5249
5297
    lt_cv_nm_interface="MS dumpbin"
5250
5298
  fi
5251
5299
  rm -f conftest*
5252
5300
fi
5253
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5254
5302
$as_echo "$lt_cv_nm_interface" >&6; }
5255
5303
 
5256
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5257
5305
$as_echo_n "checking whether ln -s works... " >&6; }
5258
5306
LN_S=$as_ln_s
5259
5307
if test "$LN_S" = "ln -s"; then
5260
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5261
5309
$as_echo "yes" >&6; }
5262
5310
else
5263
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5264
5312
$as_echo "no, using $LN_S" >&6; }
5265
5313
fi
5266
5314
 
5267
5315
# find the maximum length of command line arguments
5268
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5269
5317
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5270
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5318
if ${lt_cv_sys_max_cmd_len+:} false; then :
5271
5319
  $as_echo_n "(cached) " >&6
5272
5320
else
5273
5321
    i=0
5300
5348
    lt_cv_sys_max_cmd_len=8192;
5301
5349
    ;;
5302
5350
 
 
5351
  mint*)
 
5352
    # On MiNT this can take a long time and run out of memory.
 
5353
    lt_cv_sys_max_cmd_len=8192;
 
5354
    ;;
 
5355
 
5303
5356
  amigaos*)
5304
5357
    # On AmigaOS with pdksh, this test takes hours, literally.
5305
5358
    # So we just punt and use a minimum line length of 8192.
5364
5417
      # If test is not a shell built-in, we'll probably end up computing a
5365
5418
      # maximum length that is only half of the actual maximum length, but
5366
5419
      # we can't tell.
5367
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5368
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5420
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5421
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5369
5422
              test $i != 17 # 1/2 MB should be enough
5370
5423
      do
5371
5424
        i=`expr $i + 1`
5385
5438
fi
5386
5439
 
5387
5440
if test -n $lt_cv_sys_max_cmd_len ; then
5388
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5389
5442
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5390
5443
else
5391
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5392
5445
$as_echo "none" >&6; }
5393
5446
fi
5394
5447
max_cmd_len=$lt_cv_sys_max_cmd_len
5402
5455
: ${MV="mv -f"}
5403
5456
: ${RM="rm -f"}
5404
5457
 
5405
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5406
5459
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5407
5460
# Try some XSI features
5408
5461
xsi_shell=no
5409
5462
( _lt_dummy="a/b/c"
5410
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5411
 
      = c,a/b,, \
 
5463
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5464
      = c,a/b,b/c, \
5412
5465
    && eval 'test $(( 1 + 1 )) -eq 2 \
5413
5466
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5414
5467
  && xsi_shell=yes
5415
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5416
5469
$as_echo "$xsi_shell" >&6; }
5417
5470
 
5418
5471
 
5419
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5420
5473
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5421
5474
lt_shell_append=no
5422
5475
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5423
5476
    >/dev/null 2>&1 \
5424
5477
  && lt_shell_append=yes
5425
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5426
5479
$as_echo "$lt_shell_append" >&6; }
5427
5480
 
5428
5481
 
5457
5510
 
5458
5511
 
5459
5512
 
5460
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5514
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5515
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5516
  $as_echo_n "(cached) " >&6
 
5517
else
 
5518
  case $host in
 
5519
  *-*-mingw* )
 
5520
    case $build in
 
5521
      *-*-mingw* ) # actually msys
 
5522
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5523
        ;;
 
5524
      *-*-cygwin* )
 
5525
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5526
        ;;
 
5527
      * ) # otherwise, assume *nix
 
5528
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5529
        ;;
 
5530
    esac
 
5531
    ;;
 
5532
  *-*-cygwin* )
 
5533
    case $build in
 
5534
      *-*-mingw* ) # actually msys
 
5535
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5536
        ;;
 
5537
      *-*-cygwin* )
 
5538
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5539
        ;;
 
5540
      * ) # otherwise, assume *nix
 
5541
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5542
        ;;
 
5543
    esac
 
5544
    ;;
 
5545
  * ) # unhandled hosts (and "normal" native builds)
 
5546
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5547
    ;;
 
5548
esac
 
5549
 
 
5550
fi
 
5551
 
 
5552
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5554
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5555
 
 
5556
 
 
5557
 
 
5558
 
 
5559
 
 
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5561
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5562
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5563
  $as_echo_n "(cached) " >&6
 
5564
else
 
5565
  #assume ordinary cross tools, or native build.
 
5566
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5567
case $host in
 
5568
  *-*-mingw* )
 
5569
    case $build in
 
5570
      *-*-mingw* ) # actually msys
 
5571
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5572
        ;;
 
5573
    esac
 
5574
    ;;
 
5575
esac
 
5576
 
 
5577
fi
 
5578
 
 
5579
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5581
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
 
5587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5461
5588
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5462
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5589
if ${lt_cv_ld_reload_flag+:} false; then :
5463
5590
  $as_echo_n "(cached) " >&6
5464
5591
else
5465
5592
  lt_cv_ld_reload_flag='-r'
5466
5593
fi
5467
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5468
5595
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5469
5596
reload_flag=$lt_cv_ld_reload_flag
5470
5597
case $reload_flag in
5473
5600
esac
5474
5601
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5475
5602
case $host_os in
 
5603
  cygwin* | mingw* | pw32* | cegcc*)
 
5604
    if test "$GCC" != yes; then
 
5605
      reload_cmds=false
 
5606
    fi
 
5607
    ;;
5476
5608
  darwin*)
5477
5609
    if test "$GCC" = yes; then
5478
5610
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5493
5625
if test -n "$ac_tool_prefix"; then
5494
5626
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5495
5627
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5496
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497
5629
$as_echo_n "checking for $ac_word... " >&6; }
5498
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5630
if ${ac_cv_prog_OBJDUMP+:} false; then :
5499
5631
  $as_echo_n "(cached) " >&6
5500
5632
else
5501
5633
  if test -n "$OBJDUMP"; then
5506
5638
do
5507
5639
  IFS=$as_save_IFS
5508
5640
  test -z "$as_dir" && as_dir=.
5509
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5641
    for ac_exec_ext in '' $ac_executable_extensions; do
5510
5642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511
5643
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5512
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5644
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513
5645
    break 2
5514
5646
  fi
5515
5647
done
5516
 
done
 
5648
  done
5517
5649
IFS=$as_save_IFS
5518
5650
 
5519
5651
fi
5520
5652
fi
5521
5653
OBJDUMP=$ac_cv_prog_OBJDUMP
5522
5654
if test -n "$OBJDUMP"; then
5523
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5524
5656
$as_echo "$OBJDUMP" >&6; }
5525
5657
else
5526
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527
5659
$as_echo "no" >&6; }
5528
5660
fi
5529
5661
 
5533
5665
  ac_ct_OBJDUMP=$OBJDUMP
5534
5666
  # Extract the first word of "objdump", so it can be a program name with args.
5535
5667
set dummy objdump; ac_word=$2
5536
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537
5669
$as_echo_n "checking for $ac_word... " >&6; }
5538
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5670
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5539
5671
  $as_echo_n "(cached) " >&6
5540
5672
else
5541
5673
  if test -n "$ac_ct_OBJDUMP"; then
5546
5678
do
5547
5679
  IFS=$as_save_IFS
5548
5680
  test -z "$as_dir" && as_dir=.
5549
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5681
    for ac_exec_ext in '' $ac_executable_extensions; do
5550
5682
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551
5683
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5552
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5684
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553
5685
    break 2
5554
5686
  fi
5555
5687
done
5556
 
done
 
5688
  done
5557
5689
IFS=$as_save_IFS
5558
5690
 
5559
5691
fi
5560
5692
fi
5561
5693
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5562
5694
if test -n "$ac_ct_OBJDUMP"; then
5563
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5564
5696
$as_echo "$ac_ct_OBJDUMP" >&6; }
5565
5697
else
5566
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567
5699
$as_echo "no" >&6; }
5568
5700
fi
5569
5701
 
5572
5704
  else
5573
5705
    case $cross_compiling:$ac_tool_warned in
5574
5706
yes:)
5575
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5707
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576
5708
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577
5709
ac_tool_warned=yes ;;
5578
5710
esac
5592
5724
 
5593
5725
 
5594
5726
 
5595
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5596
5728
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5597
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5729
if ${lt_cv_deplibs_check_method+:} false; then :
5598
5730
  $as_echo_n "(cached) " >&6
5599
5731
else
5600
5732
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5636
5768
  # Base MSYS/MinGW do not provide the 'file' command needed by
5637
5769
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5638
5770
  # unless we find 'file', for example because we are cross-compiling.
5639
 
  if ( file / ) >/dev/null 2>&1; then
 
5771
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5772
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5640
5773
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5641
5774
    lt_cv_file_magic_cmd='func_win32_libid'
5642
5775
  else
5643
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5776
    # Keep this pattern in sync with the one in func_win32_libid.
 
5777
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5644
5778
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5645
5779
  fi
5646
5780
  ;;
5647
5781
 
5648
 
cegcc)
 
5782
cegcc*)
5649
5783
  # use the weaker test based on 'objdump'. See mingw*.
5650
5784
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5651
5785
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5675
5809
  lt_cv_deplibs_check_method=pass_all
5676
5810
  ;;
5677
5811
 
 
5812
haiku*)
 
5813
  lt_cv_deplibs_check_method=pass_all
 
5814
  ;;
 
5815
 
5678
5816
hpux10.20* | hpux11*)
5679
5817
  lt_cv_file_magic_cmd=/usr/bin/file
5680
5818
  case $host_cpu in
5683
5821
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5684
5822
    ;;
5685
5823
  hppa*64*)
5686
 
    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]'
 
5824
    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]'
5687
5825
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5688
5826
    ;;
5689
5827
  *)
5690
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5828
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5691
5829
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5692
5830
    ;;
5693
5831
  esac
5709
5847
  ;;
5710
5848
 
5711
5849
# This must be Linux ELF.
5712
 
linux* | k*bsd*-gnu)
 
5850
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5713
5851
  lt_cv_deplibs_check_method=pass_all
5714
5852
  ;;
5715
5853
 
5788
5926
esac
5789
5927
 
5790
5928
fi
5791
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5792
5930
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5931
 
 
5932
file_magic_glob=
 
5933
want_nocaseglob=no
 
5934
if test "$build" = "$host"; then
 
5935
  case $host_os in
 
5936
  mingw* | pw32*)
 
5937
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5938
      want_nocaseglob=yes
 
5939
    else
 
5940
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5941
    fi
 
5942
    ;;
 
5943
  esac
 
5944
fi
 
5945
 
5793
5946
file_magic_cmd=$lt_cv_file_magic_cmd
5794
5947
deplibs_check_method=$lt_cv_deplibs_check_method
5795
5948
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5805
5958
 
5806
5959
 
5807
5960
 
5808
 
if test -n "$ac_tool_prefix"; then
5809
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5810
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5811
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5812
 
$as_echo_n "checking for $ac_word... " >&6; }
5813
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
 
 
5966
 
 
5967
 
 
5968
 
 
5969
 
 
5970
 
 
5971
if test -n "$ac_tool_prefix"; then
 
5972
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5973
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5975
$as_echo_n "checking for $ac_word... " >&6; }
 
5976
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5977
  $as_echo_n "(cached) " >&6
 
5978
else
 
5979
  if test -n "$DLLTOOL"; then
 
5980
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5981
else
 
5982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5983
for as_dir in $PATH
 
5984
do
 
5985
  IFS=$as_save_IFS
 
5986
  test -z "$as_dir" && as_dir=.
 
5987
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5988
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5989
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5990
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5991
    break 2
 
5992
  fi
 
5993
done
 
5994
  done
 
5995
IFS=$as_save_IFS
 
5996
 
 
5997
fi
 
5998
fi
 
5999
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6000
if test -n "$DLLTOOL"; then
 
6001
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6002
$as_echo "$DLLTOOL" >&6; }
 
6003
else
 
6004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6005
$as_echo "no" >&6; }
 
6006
fi
 
6007
 
 
6008
 
 
6009
fi
 
6010
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6011
  ac_ct_DLLTOOL=$DLLTOOL
 
6012
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6013
set dummy dlltool; ac_word=$2
 
6014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6015
$as_echo_n "checking for $ac_word... " >&6; }
 
6016
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6017
  $as_echo_n "(cached) " >&6
 
6018
else
 
6019
  if test -n "$ac_ct_DLLTOOL"; then
 
6020
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6021
else
 
6022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6023
for as_dir in $PATH
 
6024
do
 
6025
  IFS=$as_save_IFS
 
6026
  test -z "$as_dir" && as_dir=.
 
6027
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6028
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6029
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6030
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6031
    break 2
 
6032
  fi
 
6033
done
 
6034
  done
 
6035
IFS=$as_save_IFS
 
6036
 
 
6037
fi
 
6038
fi
 
6039
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6040
if test -n "$ac_ct_DLLTOOL"; then
 
6041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6042
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6043
else
 
6044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6045
$as_echo "no" >&6; }
 
6046
fi
 
6047
 
 
6048
  if test "x$ac_ct_DLLTOOL" = x; then
 
6049
    DLLTOOL="false"
 
6050
  else
 
6051
    case $cross_compiling:$ac_tool_warned in
 
6052
yes:)
 
6053
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6054
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6055
ac_tool_warned=yes ;;
 
6056
esac
 
6057
    DLLTOOL=$ac_ct_DLLTOOL
 
6058
  fi
 
6059
else
 
6060
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6061
fi
 
6062
 
 
6063
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6064
 
 
6065
 
 
6066
 
 
6067
 
 
6068
 
 
6069
 
 
6070
 
 
6071
 
 
6072
 
 
6073
 
 
6074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6075
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6076
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6077
  $as_echo_n "(cached) " >&6
 
6078
else
 
6079
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6080
 
 
6081
case $host_os in
 
6082
cygwin* | mingw* | pw32* | cegcc*)
 
6083
  # two different shell functions defined in ltmain.sh
 
6084
  # decide which to use based on capabilities of $DLLTOOL
 
6085
  case `$DLLTOOL --help 2>&1` in
 
6086
  *--identify-strict*)
 
6087
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6088
    ;;
 
6089
  *)
 
6090
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6091
    ;;
 
6092
  esac
 
6093
  ;;
 
6094
*)
 
6095
  # fallback: assume linklib IS sharedlib
 
6096
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6097
  ;;
 
6098
esac
 
6099
 
 
6100
fi
 
6101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6102
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6103
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6104
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
if test -n "$ac_tool_prefix"; then
 
6114
  for ac_prog in ar
 
6115
  do
 
6116
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6117
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6119
$as_echo_n "checking for $ac_word... " >&6; }
 
6120
if ${ac_cv_prog_AR+:} false; then :
5814
6121
  $as_echo_n "(cached) " >&6
5815
6122
else
5816
6123
  if test -n "$AR"; then
5821
6128
do
5822
6129
  IFS=$as_save_IFS
5823
6130
  test -z "$as_dir" && as_dir=.
5824
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6131
    for ac_exec_ext in '' $ac_executable_extensions; do
5825
6132
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5827
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6133
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
6134
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828
6135
    break 2
5829
6136
  fi
5830
6137
done
5831
 
done
 
6138
  done
5832
6139
IFS=$as_save_IFS
5833
6140
 
5834
6141
fi
5835
6142
fi
5836
6143
AR=$ac_cv_prog_AR
5837
6144
if test -n "$AR"; then
5838
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5839
6146
$as_echo "$AR" >&6; }
5840
6147
else
5841
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842
6149
$as_echo "no" >&6; }
5843
6150
fi
5844
6151
 
5845
6152
 
 
6153
    test -n "$AR" && break
 
6154
  done
5846
6155
fi
5847
 
if test -z "$ac_cv_prog_AR"; then
 
6156
if test -z "$AR"; then
5848
6157
  ac_ct_AR=$AR
5849
 
  # Extract the first word of "ar", so it can be a program name with args.
5850
 
set dummy ar; ac_word=$2
5851
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6158
  for ac_prog in ar
 
6159
do
 
6160
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6161
set dummy $ac_prog; ac_word=$2
 
6162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852
6163
$as_echo_n "checking for $ac_word... " >&6; }
5853
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6164
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5854
6165
  $as_echo_n "(cached) " >&6
5855
6166
else
5856
6167
  if test -n "$ac_ct_AR"; then
5861
6172
do
5862
6173
  IFS=$as_save_IFS
5863
6174
  test -z "$as_dir" && as_dir=.
5864
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6175
    for ac_exec_ext in '' $ac_executable_extensions; do
5865
6176
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866
 
    ac_cv_prog_ac_ct_AR="ar"
5867
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6177
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
6178
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868
6179
    break 2
5869
6180
  fi
5870
6181
done
5871
 
done
 
6182
  done
5872
6183
IFS=$as_save_IFS
5873
6184
 
5874
6185
fi
5875
6186
fi
5876
6187
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5877
6188
if test -n "$ac_ct_AR"; then
5878
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5879
6190
$as_echo "$ac_ct_AR" >&6; }
5880
6191
else
5881
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882
6193
$as_echo "no" >&6; }
5883
6194
fi
5884
6195
 
 
6196
 
 
6197
  test -n "$ac_ct_AR" && break
 
6198
done
 
6199
 
5885
6200
  if test "x$ac_ct_AR" = x; then
5886
6201
    AR="false"
5887
6202
  else
5888
6203
    case $cross_compiling:$ac_tool_warned in
5889
6204
yes:)
5890
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6205
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891
6206
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892
6207
ac_tool_warned=yes ;;
5893
6208
esac
5894
6209
    AR=$ac_ct_AR
5895
6210
  fi
5896
 
else
5897
 
  AR="$ac_cv_prog_AR"
5898
 
fi
5899
 
 
5900
 
test -z "$AR" && AR=ar
5901
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5902
 
 
5903
 
 
5904
 
 
5905
 
 
 
6211
fi
 
6212
 
 
6213
: ${AR=ar}
 
6214
: ${AR_FLAGS=cru}
 
6215
 
 
6216
 
 
6217
 
 
6218
 
 
6219
 
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6227
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6228
if ${lt_cv_ar_at_file+:} false; then :
 
6229
  $as_echo_n "(cached) " >&6
 
6230
else
 
6231
  lt_cv_ar_at_file=no
 
6232
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6233
/* end confdefs.h.  */
 
6234
 
 
6235
int
 
6236
main ()
 
6237
{
 
6238
 
 
6239
  ;
 
6240
  return 0;
 
6241
}
 
6242
_ACEOF
 
6243
if ac_fn_c_try_compile "$LINENO"; then :
 
6244
  echo conftest.$ac_objext > conftest.lst
 
6245
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6246
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6247
  (eval $lt_ar_try) 2>&5
 
6248
  ac_status=$?
 
6249
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6250
  test $ac_status = 0; }
 
6251
      if test "$ac_status" -eq 0; then
 
6252
        # Ensure the archiver fails upon bogus file names.
 
6253
        rm -f conftest.$ac_objext libconftest.a
 
6254
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6255
  (eval $lt_ar_try) 2>&5
 
6256
  ac_status=$?
 
6257
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6258
  test $ac_status = 0; }
 
6259
        if test "$ac_status" -ne 0; then
 
6260
          lt_cv_ar_at_file=@
 
6261
        fi
 
6262
      fi
 
6263
      rm -f conftest.* libconftest.a
 
6264
 
 
6265
fi
 
6266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6267
 
 
6268
fi
 
6269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6270
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6271
 
 
6272
if test "x$lt_cv_ar_at_file" = xno; then
 
6273
  archiver_list_spec=
 
6274
else
 
6275
  archiver_list_spec=$lt_cv_ar_at_file
 
6276
fi
5906
6277
 
5907
6278
 
5908
6279
 
5913
6284
if test -n "$ac_tool_prefix"; then
5914
6285
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5915
6286
set dummy ${ac_tool_prefix}strip; ac_word=$2
5916
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917
6288
$as_echo_n "checking for $ac_word... " >&6; }
5918
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6289
if ${ac_cv_prog_STRIP+:} false; then :
5919
6290
  $as_echo_n "(cached) " >&6
5920
6291
else
5921
6292
  if test -n "$STRIP"; then
5926
6297
do
5927
6298
  IFS=$as_save_IFS
5928
6299
  test -z "$as_dir" && as_dir=.
5929
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6300
    for ac_exec_ext in '' $ac_executable_extensions; do
5930
6301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5931
6302
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5932
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6303
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933
6304
    break 2
5934
6305
  fi
5935
6306
done
5936
 
done
 
6307
  done
5937
6308
IFS=$as_save_IFS
5938
6309
 
5939
6310
fi
5940
6311
fi
5941
6312
STRIP=$ac_cv_prog_STRIP
5942
6313
if test -n "$STRIP"; then
5943
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6314
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5944
6315
$as_echo "$STRIP" >&6; }
5945
6316
else
5946
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947
6318
$as_echo "no" >&6; }
5948
6319
fi
5949
6320
 
5953
6324
  ac_ct_STRIP=$STRIP
5954
6325
  # Extract the first word of "strip", so it can be a program name with args.
5955
6326
set dummy strip; ac_word=$2
5956
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957
6328
$as_echo_n "checking for $ac_word... " >&6; }
5958
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6329
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5959
6330
  $as_echo_n "(cached) " >&6
5960
6331
else
5961
6332
  if test -n "$ac_ct_STRIP"; then
5966
6337
do
5967
6338
  IFS=$as_save_IFS
5968
6339
  test -z "$as_dir" && as_dir=.
5969
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6340
    for ac_exec_ext in '' $ac_executable_extensions; do
5970
6341
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5971
6342
    ac_cv_prog_ac_ct_STRIP="strip"
5972
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6343
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973
6344
    break 2
5974
6345
  fi
5975
6346
done
5976
 
done
 
6347
  done
5977
6348
IFS=$as_save_IFS
5978
6349
 
5979
6350
fi
5980
6351
fi
5981
6352
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5982
6353
if test -n "$ac_ct_STRIP"; then
5983
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5984
6355
$as_echo "$ac_ct_STRIP" >&6; }
5985
6356
else
5986
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987
6358
$as_echo "no" >&6; }
5988
6359
fi
5989
6360
 
5992
6363
  else
5993
6364
    case $cross_compiling:$ac_tool_warned in
5994
6365
yes:)
5995
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5996
6367
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5997
6368
ac_tool_warned=yes ;;
5998
6369
esac
6012
6383
if test -n "$ac_tool_prefix"; then
6013
6384
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6014
6385
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6015
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016
6387
$as_echo_n "checking for $ac_word... " >&6; }
6017
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6388
if ${ac_cv_prog_RANLIB+:} false; then :
6018
6389
  $as_echo_n "(cached) " >&6
6019
6390
else
6020
6391
  if test -n "$RANLIB"; then
6025
6396
do
6026
6397
  IFS=$as_save_IFS
6027
6398
  test -z "$as_dir" && as_dir=.
6028
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6399
    for ac_exec_ext in '' $ac_executable_extensions; do
6029
6400
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030
6401
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6031
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6402
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032
6403
    break 2
6033
6404
  fi
6034
6405
done
6035
 
done
 
6406
  done
6036
6407
IFS=$as_save_IFS
6037
6408
 
6038
6409
fi
6039
6410
fi
6040
6411
RANLIB=$ac_cv_prog_RANLIB
6041
6412
if test -n "$RANLIB"; then
6042
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6043
6414
$as_echo "$RANLIB" >&6; }
6044
6415
else
6045
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046
6417
$as_echo "no" >&6; }
6047
6418
fi
6048
6419
 
6052
6423
  ac_ct_RANLIB=$RANLIB
6053
6424
  # Extract the first word of "ranlib", so it can be a program name with args.
6054
6425
set dummy ranlib; ac_word=$2
6055
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056
6427
$as_echo_n "checking for $ac_word... " >&6; }
6057
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6428
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6058
6429
  $as_echo_n "(cached) " >&6
6059
6430
else
6060
6431
  if test -n "$ac_ct_RANLIB"; then
6065
6436
do
6066
6437
  IFS=$as_save_IFS
6067
6438
  test -z "$as_dir" && as_dir=.
6068
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6439
    for ac_exec_ext in '' $ac_executable_extensions; do
6069
6440
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070
6441
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6071
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6442
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072
6443
    break 2
6073
6444
  fi
6074
6445
done
6075
 
done
 
6446
  done
6076
6447
IFS=$as_save_IFS
6077
6448
 
6078
6449
fi
6079
6450
fi
6080
6451
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6081
6452
if test -n "$ac_ct_RANLIB"; then
6082
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6083
6454
$as_echo "$ac_ct_RANLIB" >&6; }
6084
6455
else
6085
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086
6457
$as_echo "no" >&6; }
6087
6458
fi
6088
6459
 
6091
6462
  else
6092
6463
    case $cross_compiling:$ac_tool_warned in
6093
6464
yes:)
6094
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6465
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095
6466
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096
6467
ac_tool_warned=yes ;;
6097
6468
esac
6125
6496
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6126
6497
fi
6127
6498
 
 
6499
case $host_os in
 
6500
  darwin*)
 
6501
    lock_old_archive_extraction=yes ;;
 
6502
  *)
 
6503
    lock_old_archive_extraction=no ;;
 
6504
esac
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
6128
6511
 
6129
6512
 
6130
6513
 
6169
6552
 
6170
6553
 
6171
6554
# Check for command to grab the raw symbol name followed by C symbol from nm.
6172
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6173
6556
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6174
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6557
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6175
6558
  $as_echo_n "(cached) " >&6
6176
6559
else
6177
6560
 
6232
6615
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6233
6616
 
6234
6617
# Transform an extracted symbol line into symbol name and symbol address
6235
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6236
 
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'"
 
6618
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6619
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'"
6237
6620
 
6238
6621
# Handle CRLF in mingw tool chain
6239
6622
opt_cr=
6269
6652
  else
6270
6653
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6271
6654
  fi
 
6655
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6272
6656
 
6273
6657
  # Check to see that the pipe works correctly.
6274
6658
  pipe_works=no
6287
6671
int main(){nm_test_var='a';nm_test_func();return(0);}
6288
6672
_LT_EOF
6289
6673
 
6290
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6674
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6291
6675
  (eval $ac_compile) 2>&5
6292
6676
  ac_status=$?
6293
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294
 
  (exit $ac_status); }; then
 
6677
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6678
  test $ac_status = 0; }; then
6295
6679
    # Now try to grab the symbols.
6296
6680
    nlist=conftest.nm
6297
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6298
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6681
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6682
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6299
6683
  ac_status=$?
6300
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6685
  test $ac_status = 0; } && test -s "$nlist"; then
6302
6686
      # Try sorting and uniquifying the output.
6303
6687
      if sort "$nlist" | uniq > "$nlist"T; then
6304
6688
        mv -f "$nlist"T "$nlist"
6310
6694
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6311
6695
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6312
6696
          cat <<_LT_EOF > conftest.$ac_ext
 
6697
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6698
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6699
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6700
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6701
# define LT_DLSYM_CONST
 
6702
#elif defined(__osf__)
 
6703
/* This system does not cope well with relocations in const data.  */
 
6704
# define LT_DLSYM_CONST
 
6705
#else
 
6706
# define LT_DLSYM_CONST const
 
6707
#endif
 
6708
 
6313
6709
#ifdef __cplusplus
6314
6710
extern "C" {
6315
6711
#endif
6321
6717
          cat <<_LT_EOF >> conftest.$ac_ext
6322
6718
 
6323
6719
/* The mapping between symbol names and symbols.  */
6324
 
const struct {
 
6720
LT_DLSYM_CONST struct {
6325
6721
  const char *name;
6326
6722
  void       *address;
6327
6723
}
6347
6743
_LT_EOF
6348
6744
          # Now try linking the two files.
6349
6745
          mv conftest.$ac_objext conftstm.$ac_objext
6350
 
          lt_save_LIBS="$LIBS"
6351
 
          lt_save_CFLAGS="$CFLAGS"
 
6746
          lt_globsym_save_LIBS=$LIBS
 
6747
          lt_globsym_save_CFLAGS=$CFLAGS
6352
6748
          LIBS="conftstm.$ac_objext"
6353
6749
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6354
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6750
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6355
6751
  (eval $ac_link) 2>&5
6356
6752
  ac_status=$?
6357
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6753
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6754
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6359
6755
            pipe_works=yes
6360
6756
          fi
6361
 
          LIBS="$lt_save_LIBS"
6362
 
          CFLAGS="$lt_save_CFLAGS"
 
6757
          LIBS=$lt_globsym_save_LIBS
 
6758
          CFLAGS=$lt_globsym_save_CFLAGS
6363
6759
        else
6364
6760
          echo "cannot find nm_test_func in $nlist" >&5
6365
6761
        fi
6389
6785
  lt_cv_sys_global_symbol_to_cdecl=
6390
6786
fi
6391
6787
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6392
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6393
6789
$as_echo "failed" >&6; }
6394
6790
else
6395
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6396
6792
$as_echo "ok" >&6; }
6397
6793
fi
6398
6794
 
6399
 
 
6400
 
 
6401
 
 
6402
 
 
6403
 
 
6404
 
 
6405
 
 
6406
 
 
6407
 
 
6408
 
 
6409
 
 
6410
 
 
6411
 
 
6412
 
 
6413
 
 
6414
 
 
6415
 
 
 
6795
# Response file support.
 
6796
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6797
  nm_file_list_spec='@'
 
6798
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6799
  nm_file_list_spec='@'
 
6800
fi
 
6801
 
 
6802
 
 
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
 
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6829
$as_echo_n "checking for sysroot... " >&6; }
 
6830
 
 
6831
# Check whether --with-sysroot was given.
 
6832
if test "${with_sysroot+set}" = set; then :
 
6833
  withval=$with_sysroot;
 
6834
else
 
6835
  with_sysroot=no
 
6836
fi
 
6837
 
 
6838
 
 
6839
lt_sysroot=
 
6840
case ${with_sysroot} in #(
 
6841
 yes)
 
6842
   if test "$GCC" = yes; then
 
6843
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6844
   fi
 
6845
   ;; #(
 
6846
 /*)
 
6847
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6848
   ;; #(
 
6849
 no|'')
 
6850
   ;; #(
 
6851
 *)
 
6852
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6853
$as_echo "${with_sysroot}" >&6; }
 
6854
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6855
   ;;
 
6856
esac
 
6857
 
 
6858
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6859
$as_echo "${lt_sysroot:-no}" >&6; }
6416
6860
 
6417
6861
 
6418
6862
 
6419
6863
 
6420
6864
 
6421
6865
# Check whether --enable-libtool-lock was given.
6422
 
if test "${enable_libtool_lock+set}" = set; then
 
6866
if test "${enable_libtool_lock+set}" = set; then :
6423
6867
  enableval=$enable_libtool_lock;
6424
6868
fi
6425
6869
 
6431
6875
ia64-*-hpux*)
6432
6876
  # Find out which ABI we are using.
6433
6877
  echo 'int i;' > conftest.$ac_ext
6434
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6878
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6435
6879
  (eval $ac_compile) 2>&5
6436
6880
  ac_status=$?
6437
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438
 
  (exit $ac_status); }; then
 
6881
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6882
  test $ac_status = 0; }; then
6439
6883
    case `/usr/bin/file conftest.$ac_objext` in
6440
6884
      *ELF-32*)
6441
6885
        HPUX_IA64_MODE="32"
6449
6893
  ;;
6450
6894
*-*-irix6*)
6451
6895
  # Find out which ABI we are using.
6452
 
  echo '#line 6452 "configure"' > conftest.$ac_ext
6453
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6896
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6897
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6454
6898
  (eval $ac_compile) 2>&5
6455
6899
  ac_status=$?
6456
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457
 
  (exit $ac_status); }; then
 
6900
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6901
  test $ac_status = 0; }; then
6458
6902
    if test "$lt_cv_prog_gnu_ld" = yes; then
6459
6903
      case `/usr/bin/file conftest.$ac_objext` in
6460
6904
        *32-bit*)
6488
6932
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6489
6933
  # Find out which ABI we are using.
6490
6934
  echo 'int i;' > conftest.$ac_ext
6491
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6935
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6492
6936
  (eval $ac_compile) 2>&5
6493
6937
  ac_status=$?
6494
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495
 
  (exit $ac_status); }; then
 
6938
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6939
  test $ac_status = 0; }; then
6496
6940
    case `/usr/bin/file conftest.o` in
6497
6941
      *32-bit*)
6498
6942
        case $host in
6541
6985
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6542
6986
  SAVE_CFLAGS="$CFLAGS"
6543
6987
  CFLAGS="$CFLAGS -belf"
6544
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6988
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6545
6989
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6546
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6990
if ${lt_cv_cc_needs_belf+:} false; then :
6547
6991
  $as_echo_n "(cached) " >&6
6548
6992
else
6549
6993
  ac_ext=c
6552
6996
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6553
6997
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6554
6998
 
6555
 
     cat >conftest.$ac_ext <<_ACEOF
6556
 
/* confdefs.h.  */
6557
 
_ACEOF
6558
 
cat confdefs.h >>conftest.$ac_ext
6559
 
cat >>conftest.$ac_ext <<_ACEOF
 
6999
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6560
7000
/* end confdefs.h.  */
6561
7001
 
6562
7002
int
6567
7007
  return 0;
6568
7008
}
6569
7009
_ACEOF
6570
 
rm -f conftest.$ac_objext conftest$ac_exeext
6571
 
if { (ac_try="$ac_link"
6572
 
case "(($ac_try" in
6573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6574
 
  *) ac_try_echo=$ac_try;;
6575
 
esac
6576
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6577
 
$as_echo "$ac_try_echo") >&5
6578
 
  (eval "$ac_link") 2>conftest.er1
6579
 
  ac_status=$?
6580
 
  grep -v '^ *+' conftest.er1 >conftest.err
6581
 
  rm -f conftest.er1
6582
 
  cat conftest.err >&5
6583
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584
 
  (exit $ac_status); } && {
6585
 
         test -z "$ac_c_werror_flag" ||
6586
 
         test ! -s conftest.err
6587
 
       } && test -s conftest$ac_exeext && {
6588
 
         test "$cross_compiling" = yes ||
6589
 
         $as_test_x conftest$ac_exeext
6590
 
       }; then
 
7010
if ac_fn_c_try_link "$LINENO"; then :
6591
7011
  lt_cv_cc_needs_belf=yes
6592
7012
else
6593
 
  $as_echo "$as_me: failed program was:" >&5
6594
 
sed 's/^/| /' conftest.$ac_ext >&5
6595
 
 
6596
 
        lt_cv_cc_needs_belf=no
 
7013
  lt_cv_cc_needs_belf=no
6597
7014
fi
6598
 
 
6599
 
rm -rf conftest.dSYM
6600
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6601
 
      conftest$ac_exeext conftest.$ac_ext
 
7015
rm -f core conftest.err conftest.$ac_objext \
 
7016
    conftest$ac_exeext conftest.$ac_ext
6602
7017
     ac_ext=c
6603
7018
ac_cpp='$CPP $CPPFLAGS'
6604
7019
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6606
7021
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6607
7022
 
6608
7023
fi
6609
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6610
7025
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6611
7026
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6612
7027
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6616
7031
sparc*-*solaris*)
6617
7032
  # Find out which ABI we are using.
6618
7033
  echo 'int i;' > conftest.$ac_ext
6619
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7034
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6620
7035
  (eval $ac_compile) 2>&5
6621
7036
  ac_status=$?
6622
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623
 
  (exit $ac_status); }; then
 
7037
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7038
  test $ac_status = 0; }; then
6624
7039
    case `/usr/bin/file conftest.o` in
6625
7040
    *64-bit*)
6626
7041
      case $lt_cv_prog_gnu_ld in
6640
7055
 
6641
7056
need_locks="$enable_libtool_lock"
6642
7057
 
 
7058
if test -n "$ac_tool_prefix"; then
 
7059
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7060
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7062
$as_echo_n "checking for $ac_word... " >&6; }
 
7063
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7064
  $as_echo_n "(cached) " >&6
 
7065
else
 
7066
  if test -n "$MANIFEST_TOOL"; then
 
7067
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7068
else
 
7069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7070
for as_dir in $PATH
 
7071
do
 
7072
  IFS=$as_save_IFS
 
7073
  test -z "$as_dir" && as_dir=.
 
7074
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7076
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7078
    break 2
 
7079
  fi
 
7080
done
 
7081
  done
 
7082
IFS=$as_save_IFS
 
7083
 
 
7084
fi
 
7085
fi
 
7086
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7087
if test -n "$MANIFEST_TOOL"; then
 
7088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7089
$as_echo "$MANIFEST_TOOL" >&6; }
 
7090
else
 
7091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7092
$as_echo "no" >&6; }
 
7093
fi
 
7094
 
 
7095
 
 
7096
fi
 
7097
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7098
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7099
  # Extract the first word of "mt", so it can be a program name with args.
 
7100
set dummy mt; ac_word=$2
 
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7102
$as_echo_n "checking for $ac_word... " >&6; }
 
7103
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7104
  $as_echo_n "(cached) " >&6
 
7105
else
 
7106
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7107
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7108
else
 
7109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7110
for as_dir in $PATH
 
7111
do
 
7112
  IFS=$as_save_IFS
 
7113
  test -z "$as_dir" && as_dir=.
 
7114
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7115
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7116
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7117
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7118
    break 2
 
7119
  fi
 
7120
done
 
7121
  done
 
7122
IFS=$as_save_IFS
 
7123
 
 
7124
fi
 
7125
fi
 
7126
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7127
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7128
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7129
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7130
else
 
7131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7132
$as_echo "no" >&6; }
 
7133
fi
 
7134
 
 
7135
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7136
    MANIFEST_TOOL=":"
 
7137
  else
 
7138
    case $cross_compiling:$ac_tool_warned in
 
7139
yes:)
 
7140
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7141
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7142
ac_tool_warned=yes ;;
 
7143
esac
 
7144
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7145
  fi
 
7146
else
 
7147
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7148
fi
 
7149
 
 
7150
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7152
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7153
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7154
  $as_echo_n "(cached) " >&6
 
7155
else
 
7156
  lt_cv_path_mainfest_tool=no
 
7157
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7158
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7159
  cat conftest.err >&5
 
7160
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7161
    lt_cv_path_mainfest_tool=yes
 
7162
  fi
 
7163
  rm -f conftest*
 
7164
fi
 
7165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7166
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7167
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7168
  MANIFEST_TOOL=:
 
7169
fi
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
6643
7175
 
6644
7176
  case $host_os in
6645
7177
    rhapsody* | darwin*)
6646
7178
    if test -n "$ac_tool_prefix"; then
6647
7179
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6648
7180
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6649
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650
7182
$as_echo_n "checking for $ac_word... " >&6; }
6651
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7183
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6652
7184
  $as_echo_n "(cached) " >&6
6653
7185
else
6654
7186
  if test -n "$DSYMUTIL"; then
6659
7191
do
6660
7192
  IFS=$as_save_IFS
6661
7193
  test -z "$as_dir" && as_dir=.
6662
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7194
    for ac_exec_ext in '' $ac_executable_extensions; do
6663
7195
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664
7196
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6665
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7197
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666
7198
    break 2
6667
7199
  fi
6668
7200
done
6669
 
done
 
7201
  done
6670
7202
IFS=$as_save_IFS
6671
7203
 
6672
7204
fi
6673
7205
fi
6674
7206
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6675
7207
if test -n "$DSYMUTIL"; then
6676
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6677
7209
$as_echo "$DSYMUTIL" >&6; }
6678
7210
else
6679
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680
7212
$as_echo "no" >&6; }
6681
7213
fi
6682
7214
 
6686
7218
  ac_ct_DSYMUTIL=$DSYMUTIL
6687
7219
  # Extract the first word of "dsymutil", so it can be a program name with args.
6688
7220
set dummy dsymutil; ac_word=$2
6689
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690
7222
$as_echo_n "checking for $ac_word... " >&6; }
6691
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7223
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6692
7224
  $as_echo_n "(cached) " >&6
6693
7225
else
6694
7226
  if test -n "$ac_ct_DSYMUTIL"; then
6699
7231
do
6700
7232
  IFS=$as_save_IFS
6701
7233
  test -z "$as_dir" && as_dir=.
6702
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7234
    for ac_exec_ext in '' $ac_executable_extensions; do
6703
7235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704
7236
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6705
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706
7238
    break 2
6707
7239
  fi
6708
7240
done
6709
 
done
 
7241
  done
6710
7242
IFS=$as_save_IFS
6711
7243
 
6712
7244
fi
6713
7245
fi
6714
7246
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6715
7247
if test -n "$ac_ct_DSYMUTIL"; then
6716
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6717
7249
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6718
7250
else
6719
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720
7252
$as_echo "no" >&6; }
6721
7253
fi
6722
7254
 
6725
7257
  else
6726
7258
    case $cross_compiling:$ac_tool_warned in
6727
7259
yes:)
6728
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7260
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729
7261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730
7262
ac_tool_warned=yes ;;
6731
7263
esac
6738
7270
    if test -n "$ac_tool_prefix"; then
6739
7271
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6740
7272
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6741
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742
7274
$as_echo_n "checking for $ac_word... " >&6; }
6743
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7275
if ${ac_cv_prog_NMEDIT+:} false; then :
6744
7276
  $as_echo_n "(cached) " >&6
6745
7277
else
6746
7278
  if test -n "$NMEDIT"; then
6751
7283
do
6752
7284
  IFS=$as_save_IFS
6753
7285
  test -z "$as_dir" && as_dir=.
6754
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7286
    for ac_exec_ext in '' $ac_executable_extensions; do
6755
7287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756
7288
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6757
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7289
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758
7290
    break 2
6759
7291
  fi
6760
7292
done
6761
 
done
 
7293
  done
6762
7294
IFS=$as_save_IFS
6763
7295
 
6764
7296
fi
6765
7297
fi
6766
7298
NMEDIT=$ac_cv_prog_NMEDIT
6767
7299
if test -n "$NMEDIT"; then
6768
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6769
7301
$as_echo "$NMEDIT" >&6; }
6770
7302
else
6771
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772
7304
$as_echo "no" >&6; }
6773
7305
fi
6774
7306
 
6778
7310
  ac_ct_NMEDIT=$NMEDIT
6779
7311
  # Extract the first word of "nmedit", so it can be a program name with args.
6780
7312
set dummy nmedit; ac_word=$2
6781
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782
7314
$as_echo_n "checking for $ac_word... " >&6; }
6783
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7315
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6784
7316
  $as_echo_n "(cached) " >&6
6785
7317
else
6786
7318
  if test -n "$ac_ct_NMEDIT"; then
6791
7323
do
6792
7324
  IFS=$as_save_IFS
6793
7325
  test -z "$as_dir" && as_dir=.
6794
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7326
    for ac_exec_ext in '' $ac_executable_extensions; do
6795
7327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6796
7328
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6797
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7329
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798
7330
    break 2
6799
7331
  fi
6800
7332
done
6801
 
done
 
7333
  done
6802
7334
IFS=$as_save_IFS
6803
7335
 
6804
7336
fi
6805
7337
fi
6806
7338
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6807
7339
if test -n "$ac_ct_NMEDIT"; then
6808
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6809
7341
$as_echo "$ac_ct_NMEDIT" >&6; }
6810
7342
else
6811
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812
7344
$as_echo "no" >&6; }
6813
7345
fi
6814
7346
 
6817
7349
  else
6818
7350
    case $cross_compiling:$ac_tool_warned in
6819
7351
yes:)
6820
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7352
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821
7353
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822
7354
ac_tool_warned=yes ;;
6823
7355
esac
6830
7362
    if test -n "$ac_tool_prefix"; then
6831
7363
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6832
7364
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6833
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834
7366
$as_echo_n "checking for $ac_word... " >&6; }
6835
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7367
if ${ac_cv_prog_LIPO+:} false; then :
6836
7368
  $as_echo_n "(cached) " >&6
6837
7369
else
6838
7370
  if test -n "$LIPO"; then
6843
7375
do
6844
7376
  IFS=$as_save_IFS
6845
7377
  test -z "$as_dir" && as_dir=.
6846
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7378
    for ac_exec_ext in '' $ac_executable_extensions; do
6847
7379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848
7380
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6849
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7381
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850
7382
    break 2
6851
7383
  fi
6852
7384
done
6853
 
done
 
7385
  done
6854
7386
IFS=$as_save_IFS
6855
7387
 
6856
7388
fi
6857
7389
fi
6858
7390
LIPO=$ac_cv_prog_LIPO
6859
7391
if test -n "$LIPO"; then
6860
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6861
7393
$as_echo "$LIPO" >&6; }
6862
7394
else
6863
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864
7396
$as_echo "no" >&6; }
6865
7397
fi
6866
7398
 
6870
7402
  ac_ct_LIPO=$LIPO
6871
7403
  # Extract the first word of "lipo", so it can be a program name with args.
6872
7404
set dummy lipo; ac_word=$2
6873
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874
7406
$as_echo_n "checking for $ac_word... " >&6; }
6875
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7407
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6876
7408
  $as_echo_n "(cached) " >&6
6877
7409
else
6878
7410
  if test -n "$ac_ct_LIPO"; then
6883
7415
do
6884
7416
  IFS=$as_save_IFS
6885
7417
  test -z "$as_dir" && as_dir=.
6886
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7418
    for ac_exec_ext in '' $ac_executable_extensions; do
6887
7419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6888
7420
    ac_cv_prog_ac_ct_LIPO="lipo"
6889
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890
7422
    break 2
6891
7423
  fi
6892
7424
done
6893
 
done
 
7425
  done
6894
7426
IFS=$as_save_IFS
6895
7427
 
6896
7428
fi
6897
7429
fi
6898
7430
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6899
7431
if test -n "$ac_ct_LIPO"; then
6900
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6901
7433
$as_echo "$ac_ct_LIPO" >&6; }
6902
7434
else
6903
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904
7436
$as_echo "no" >&6; }
6905
7437
fi
6906
7438
 
6909
7441
  else
6910
7442
    case $cross_compiling:$ac_tool_warned in
6911
7443
yes:)
6912
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7444
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6913
7445
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6914
7446
ac_tool_warned=yes ;;
6915
7447
esac
6922
7454
    if test -n "$ac_tool_prefix"; then
6923
7455
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6924
7456
set dummy ${ac_tool_prefix}otool; ac_word=$2
6925
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926
7458
$as_echo_n "checking for $ac_word... " >&6; }
6927
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7459
if ${ac_cv_prog_OTOOL+:} false; then :
6928
7460
  $as_echo_n "(cached) " >&6
6929
7461
else
6930
7462
  if test -n "$OTOOL"; then
6935
7467
do
6936
7468
  IFS=$as_save_IFS
6937
7469
  test -z "$as_dir" && as_dir=.
6938
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7470
    for ac_exec_ext in '' $ac_executable_extensions; do
6939
7471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6940
7472
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6941
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7473
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942
7474
    break 2
6943
7475
  fi
6944
7476
done
6945
 
done
 
7477
  done
6946
7478
IFS=$as_save_IFS
6947
7479
 
6948
7480
fi
6949
7481
fi
6950
7482
OTOOL=$ac_cv_prog_OTOOL
6951
7483
if test -n "$OTOOL"; then
6952
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6953
7485
$as_echo "$OTOOL" >&6; }
6954
7486
else
6955
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956
7488
$as_echo "no" >&6; }
6957
7489
fi
6958
7490
 
6962
7494
  ac_ct_OTOOL=$OTOOL
6963
7495
  # Extract the first word of "otool", so it can be a program name with args.
6964
7496
set dummy otool; ac_word=$2
6965
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966
7498
$as_echo_n "checking for $ac_word... " >&6; }
6967
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7499
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6968
7500
  $as_echo_n "(cached) " >&6
6969
7501
else
6970
7502
  if test -n "$ac_ct_OTOOL"; then
6975
7507
do
6976
7508
  IFS=$as_save_IFS
6977
7509
  test -z "$as_dir" && as_dir=.
6978
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7510
    for ac_exec_ext in '' $ac_executable_extensions; do
6979
7511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6980
7512
    ac_cv_prog_ac_ct_OTOOL="otool"
6981
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7513
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982
7514
    break 2
6983
7515
  fi
6984
7516
done
6985
 
done
 
7517
  done
6986
7518
IFS=$as_save_IFS
6987
7519
 
6988
7520
fi
6989
7521
fi
6990
7522
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6991
7523
if test -n "$ac_ct_OTOOL"; then
6992
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6993
7525
$as_echo "$ac_ct_OTOOL" >&6; }
6994
7526
else
6995
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996
7528
$as_echo "no" >&6; }
6997
7529
fi
6998
7530
 
7001
7533
  else
7002
7534
    case $cross_compiling:$ac_tool_warned in
7003
7535
yes:)
7004
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7536
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7005
7537
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7006
7538
ac_tool_warned=yes ;;
7007
7539
esac
7014
7546
    if test -n "$ac_tool_prefix"; then
7015
7547
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7016
7548
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7017
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018
7550
$as_echo_n "checking for $ac_word... " >&6; }
7019
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7551
if ${ac_cv_prog_OTOOL64+:} false; then :
7020
7552
  $as_echo_n "(cached) " >&6
7021
7553
else
7022
7554
  if test -n "$OTOOL64"; then
7027
7559
do
7028
7560
  IFS=$as_save_IFS
7029
7561
  test -z "$as_dir" && as_dir=.
7030
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7562
    for ac_exec_ext in '' $ac_executable_extensions; do
7031
7563
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032
7564
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7033
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7565
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034
7566
    break 2
7035
7567
  fi
7036
7568
done
7037
 
done
 
7569
  done
7038
7570
IFS=$as_save_IFS
7039
7571
 
7040
7572
fi
7041
7573
fi
7042
7574
OTOOL64=$ac_cv_prog_OTOOL64
7043
7575
if test -n "$OTOOL64"; then
7044
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7576
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7045
7577
$as_echo "$OTOOL64" >&6; }
7046
7578
else
7047
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7579
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048
7580
$as_echo "no" >&6; }
7049
7581
fi
7050
7582
 
7054
7586
  ac_ct_OTOOL64=$OTOOL64
7055
7587
  # Extract the first word of "otool64", so it can be a program name with args.
7056
7588
set dummy otool64; ac_word=$2
7057
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058
7590
$as_echo_n "checking for $ac_word... " >&6; }
7059
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7591
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7060
7592
  $as_echo_n "(cached) " >&6
7061
7593
else
7062
7594
  if test -n "$ac_ct_OTOOL64"; then
7067
7599
do
7068
7600
  IFS=$as_save_IFS
7069
7601
  test -z "$as_dir" && as_dir=.
7070
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7602
    for ac_exec_ext in '' $ac_executable_extensions; do
7071
7603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7072
7604
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7073
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7605
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074
7606
    break 2
7075
7607
  fi
7076
7608
done
7077
 
done
 
7609
  done
7078
7610
IFS=$as_save_IFS
7079
7611
 
7080
7612
fi
7081
7613
fi
7082
7614
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7083
7615
if test -n "$ac_ct_OTOOL64"; then
7084
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7085
7617
$as_echo "$ac_ct_OTOOL64" >&6; }
7086
7618
else
7087
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088
7620
$as_echo "no" >&6; }
7089
7621
fi
7090
7622
 
7093
7625
  else
7094
7626
    case $cross_compiling:$ac_tool_warned in
7095
7627
yes:)
7096
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7628
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7097
7629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7098
7630
ac_tool_warned=yes ;;
7099
7631
esac
7129
7661
 
7130
7662
 
7131
7663
 
7132
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7664
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7133
7665
$as_echo_n "checking for -single_module linker flag... " >&6; }
7134
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7666
if ${lt_cv_apple_cc_single_mod+:} false; then :
7135
7667
  $as_echo_n "(cached) " >&6
7136
7668
else
7137
7669
  lt_cv_apple_cc_single_mod=no
7156
7688
        rm -f conftest.*
7157
7689
      fi
7158
7690
fi
7159
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7160
7692
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7161
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7693
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7162
7694
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7163
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7695
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7164
7696
  $as_echo_n "(cached) " >&6
7165
7697
else
7166
7698
  lt_cv_ld_exported_symbols_list=no
7167
7699
      save_LDFLAGS=$LDFLAGS
7168
7700
      echo "_main" > conftest.sym
7169
7701
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7170
 
      cat >conftest.$ac_ext <<_ACEOF
7171
 
/* confdefs.h.  */
7172
 
_ACEOF
7173
 
cat confdefs.h >>conftest.$ac_ext
7174
 
cat >>conftest.$ac_ext <<_ACEOF
 
7702
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175
7703
/* end confdefs.h.  */
7176
7704
 
7177
7705
int
7182
7710
  return 0;
7183
7711
}
7184
7712
_ACEOF
7185
 
rm -f conftest.$ac_objext conftest$ac_exeext
7186
 
if { (ac_try="$ac_link"
7187
 
case "(($ac_try" in
7188
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7189
 
  *) ac_try_echo=$ac_try;;
7190
 
esac
7191
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7192
 
$as_echo "$ac_try_echo") >&5
7193
 
  (eval "$ac_link") 2>conftest.er1
7194
 
  ac_status=$?
7195
 
  grep -v '^ *+' conftest.er1 >conftest.err
7196
 
  rm -f conftest.er1
7197
 
  cat conftest.err >&5
7198
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199
 
  (exit $ac_status); } && {
7200
 
         test -z "$ac_c_werror_flag" ||
7201
 
         test ! -s conftest.err
7202
 
       } && test -s conftest$ac_exeext && {
7203
 
         test "$cross_compiling" = yes ||
7204
 
         $as_test_x conftest$ac_exeext
7205
 
       }; then
 
7713
if ac_fn_c_try_link "$LINENO"; then :
7206
7714
  lt_cv_ld_exported_symbols_list=yes
7207
7715
else
7208
 
  $as_echo "$as_me: failed program was:" >&5
7209
 
sed 's/^/| /' conftest.$ac_ext >&5
7210
 
 
7211
 
        lt_cv_ld_exported_symbols_list=no
 
7716
  lt_cv_ld_exported_symbols_list=no
7212
7717
fi
7213
 
 
7214
 
rm -rf conftest.dSYM
7215
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7216
 
      conftest$ac_exeext conftest.$ac_ext
 
7718
rm -f core conftest.err conftest.$ac_objext \
 
7719
    conftest$ac_exeext conftest.$ac_ext
7217
7720
        LDFLAGS="$save_LDFLAGS"
7218
7721
 
7219
7722
fi
7220
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7221
7724
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7725
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7726
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7727
if ${lt_cv_ld_force_load+:} false; then :
 
7728
  $as_echo_n "(cached) " >&6
 
7729
else
 
7730
  lt_cv_ld_force_load=no
 
7731
      cat > conftest.c << _LT_EOF
 
7732
int forced_loaded() { return 2;}
 
7733
_LT_EOF
 
7734
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7735
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7736
      echo "$AR cru libconftest.a conftest.o" >&5
 
7737
      $AR cru libconftest.a conftest.o 2>&5
 
7738
      echo "$RANLIB libconftest.a" >&5
 
7739
      $RANLIB libconftest.a 2>&5
 
7740
      cat > conftest.c << _LT_EOF
 
7741
int main() { return 0;}
 
7742
_LT_EOF
 
7743
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7744
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7745
      _lt_result=$?
 
7746
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7747
        lt_cv_ld_force_load=yes
 
7748
      else
 
7749
        cat conftest.err >&5
 
7750
      fi
 
7751
        rm -f conftest.err libconftest.a conftest conftest.c
 
7752
        rm -rf conftest.dSYM
 
7753
 
 
7754
fi
 
7755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7756
$as_echo "$lt_cv_ld_force_load" >&6; }
7222
7757
    case $host_os in
7223
7758
    rhapsody* | darwin1.[012])
7224
7759
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7246
7781
    else
7247
7782
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7248
7783
    fi
7249
 
    if test "$DSYMUTIL" != ":"; then
 
7784
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7250
7785
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7251
7786
    else
7252
7787
      _lt_dsymutil=
7255
7790
  esac
7256
7791
 
7257
7792
 
7258
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7259
7794
$as_echo_n "checking for ANSI C header files... " >&6; }
7260
 
if test "${ac_cv_header_stdc+set}" = set; then
 
7795
if ${ac_cv_header_stdc+:} false; then :
7261
7796
  $as_echo_n "(cached) " >&6
7262
7797
else
7263
 
  cat >conftest.$ac_ext <<_ACEOF
7264
 
/* confdefs.h.  */
7265
 
_ACEOF
7266
 
cat confdefs.h >>conftest.$ac_ext
7267
 
cat >>conftest.$ac_ext <<_ACEOF
 
7798
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268
7799
/* end confdefs.h.  */
7269
7800
#include <stdlib.h>
7270
7801
#include <stdarg.h>
7279
7810
  return 0;
7280
7811
}
7281
7812
_ACEOF
7282
 
rm -f conftest.$ac_objext
7283
 
if { (ac_try="$ac_compile"
7284
 
case "(($ac_try" in
7285
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7286
 
  *) ac_try_echo=$ac_try;;
7287
 
esac
7288
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7289
 
$as_echo "$ac_try_echo") >&5
7290
 
  (eval "$ac_compile") 2>conftest.er1
7291
 
  ac_status=$?
7292
 
  grep -v '^ *+' conftest.er1 >conftest.err
7293
 
  rm -f conftest.er1
7294
 
  cat conftest.err >&5
7295
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296
 
  (exit $ac_status); } && {
7297
 
         test -z "$ac_c_werror_flag" ||
7298
 
         test ! -s conftest.err
7299
 
       } && test -s conftest.$ac_objext; then
 
7813
if ac_fn_c_try_compile "$LINENO"; then :
7300
7814
  ac_cv_header_stdc=yes
7301
7815
else
7302
 
  $as_echo "$as_me: failed program was:" >&5
7303
 
sed 's/^/| /' conftest.$ac_ext >&5
7304
 
 
7305
 
        ac_cv_header_stdc=no
 
7816
  ac_cv_header_stdc=no
7306
7817
fi
7307
 
 
7308
7818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7309
7819
 
7310
7820
if test $ac_cv_header_stdc = yes; then
7311
7821
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7312
 
  cat >conftest.$ac_ext <<_ACEOF
7313
 
/* confdefs.h.  */
7314
 
_ACEOF
7315
 
cat confdefs.h >>conftest.$ac_ext
7316
 
cat >>conftest.$ac_ext <<_ACEOF
 
7822
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317
7823
/* end confdefs.h.  */
7318
7824
#include <string.h>
7319
7825
 
7320
7826
_ACEOF
7321
7827
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7322
 
  $EGREP "memchr" >/dev/null 2>&1; then
7323
 
  :
 
7828
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7829
 
7324
7830
else
7325
7831
  ac_cv_header_stdc=no
7326
7832
fi
7330
7836
 
7331
7837
if test $ac_cv_header_stdc = yes; then
7332
7838
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7333
 
  cat >conftest.$ac_ext <<_ACEOF
7334
 
/* confdefs.h.  */
7335
 
_ACEOF
7336
 
cat confdefs.h >>conftest.$ac_ext
7337
 
cat >>conftest.$ac_ext <<_ACEOF
 
7839
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7338
7840
/* end confdefs.h.  */
7339
7841
#include <stdlib.h>
7340
7842
 
7341
7843
_ACEOF
7342
7844
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7343
 
  $EGREP "free" >/dev/null 2>&1; then
7344
 
  :
 
7845
  $EGREP "free" >/dev/null 2>&1; then :
 
7846
 
7345
7847
else
7346
7848
  ac_cv_header_stdc=no
7347
7849
fi
7351
7853
 
7352
7854
if test $ac_cv_header_stdc = yes; then
7353
7855
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7354
 
  if test "$cross_compiling" = yes; then
 
7856
  if test "$cross_compiling" = yes; then :
7355
7857
  :
7356
7858
else
7357
 
  cat >conftest.$ac_ext <<_ACEOF
7358
 
/* confdefs.h.  */
7359
 
_ACEOF
7360
 
cat confdefs.h >>conftest.$ac_ext
7361
 
cat >>conftest.$ac_ext <<_ACEOF
 
7859
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362
7860
/* end confdefs.h.  */
7363
7861
#include <ctype.h>
7364
7862
#include <stdlib.h>
7385
7883
  return 0;
7386
7884
}
7387
7885
_ACEOF
7388
 
rm -f conftest$ac_exeext
7389
 
if { (ac_try="$ac_link"
7390
 
case "(($ac_try" in
7391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7392
 
  *) ac_try_echo=$ac_try;;
7393
 
esac
7394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7395
 
$as_echo "$ac_try_echo") >&5
7396
 
  (eval "$ac_link") 2>&5
7397
 
  ac_status=$?
7398
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7400
 
  { (case "(($ac_try" in
7401
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7402
 
  *) ac_try_echo=$ac_try;;
7403
 
esac
7404
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7405
 
$as_echo "$ac_try_echo") >&5
7406
 
  (eval "$ac_try") 2>&5
7407
 
  ac_status=$?
7408
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409
 
  (exit $ac_status); }; }; then
7410
 
  :
 
7886
if ac_fn_c_try_run "$LINENO"; then :
 
7887
 
7411
7888
else
7412
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7413
 
$as_echo "$as_me: failed program was:" >&5
7414
 
sed 's/^/| /' conftest.$ac_ext >&5
7415
 
 
7416
 
( exit $ac_status )
7417
 
ac_cv_header_stdc=no
7418
 
fi
7419
 
rm -rf conftest.dSYM
7420
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7421
 
fi
7422
 
 
7423
 
 
7424
 
fi
7425
 
fi
7426
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7889
  ac_cv_header_stdc=no
 
7890
fi
 
7891
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7892
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7893
fi
 
7894
 
 
7895
fi
 
7896
fi
 
7897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7427
7898
$as_echo "$ac_cv_header_stdc" >&6; }
7428
7899
if test $ac_cv_header_stdc = yes; then
7429
7900
 
7430
 
cat >>confdefs.h <<\_ACEOF
7431
 
#define STDC_HEADERS 1
7432
 
_ACEOF
 
7901
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7433
7902
 
7434
7903
fi
7435
7904
 
7436
7905
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7437
 
 
7438
 
 
7439
 
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
7906
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7447
7907
                  inttypes.h stdint.h unistd.h
7448
 
do
7449
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7450
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7451
 
$as_echo_n "checking for $ac_header... " >&6; }
7452
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7453
 
  $as_echo_n "(cached) " >&6
7454
 
else
7455
 
  cat >conftest.$ac_ext <<_ACEOF
7456
 
/* confdefs.h.  */
7457
 
_ACEOF
7458
 
cat confdefs.h >>conftest.$ac_ext
7459
 
cat >>conftest.$ac_ext <<_ACEOF
7460
 
/* end confdefs.h.  */
7461
 
$ac_includes_default
7462
 
 
7463
 
#include <$ac_header>
7464
 
_ACEOF
7465
 
rm -f conftest.$ac_objext
7466
 
if { (ac_try="$ac_compile"
7467
 
case "(($ac_try" in
7468
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7469
 
  *) ac_try_echo=$ac_try;;
7470
 
esac
7471
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7472
 
$as_echo "$ac_try_echo") >&5
7473
 
  (eval "$ac_compile") 2>conftest.er1
7474
 
  ac_status=$?
7475
 
  grep -v '^ *+' conftest.er1 >conftest.err
7476
 
  rm -f conftest.er1
7477
 
  cat conftest.err >&5
7478
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479
 
  (exit $ac_status); } && {
7480
 
         test -z "$ac_c_werror_flag" ||
7481
 
         test ! -s conftest.err
7482
 
       } && test -s conftest.$ac_objext; then
7483
 
  eval "$as_ac_Header=yes"
7484
 
else
7485
 
  $as_echo "$as_me: failed program was:" >&5
7486
 
sed 's/^/| /' conftest.$ac_ext >&5
7487
 
 
7488
 
        eval "$as_ac_Header=no"
7489
 
fi
7490
 
 
7491
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7492
 
fi
7493
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7494
 
                 $as_echo "$as_val"'`
7495
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7496
 
$as_echo "$ac_res" >&6; }
7497
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7498
 
                 $as_echo "$as_val"'`
7499
 
   if test "x$as_val" = x""yes; then
 
7908
do :
 
7909
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7910
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7911
"
 
7912
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7500
7913
  cat >>confdefs.h <<_ACEOF
7501
7914
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7502
7915
_ACEOF
7506
7919
done
7507
7920
 
7508
7921
 
7509
 
 
7510
7922
for ac_header in dlfcn.h
7511
 
do
7512
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7513
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7514
 
$as_echo_n "checking for $ac_header... " >&6; }
7515
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7516
 
  $as_echo_n "(cached) " >&6
7517
 
else
7518
 
  cat >conftest.$ac_ext <<_ACEOF
7519
 
/* confdefs.h.  */
7520
 
_ACEOF
7521
 
cat confdefs.h >>conftest.$ac_ext
7522
 
cat >>conftest.$ac_ext <<_ACEOF
7523
 
/* end confdefs.h.  */
7524
 
$ac_includes_default
7525
 
 
7526
 
#include <$ac_header>
7527
 
_ACEOF
7528
 
rm -f conftest.$ac_objext
7529
 
if { (ac_try="$ac_compile"
7530
 
case "(($ac_try" in
7531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7532
 
  *) ac_try_echo=$ac_try;;
7533
 
esac
7534
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7535
 
$as_echo "$ac_try_echo") >&5
7536
 
  (eval "$ac_compile") 2>conftest.er1
7537
 
  ac_status=$?
7538
 
  grep -v '^ *+' conftest.er1 >conftest.err
7539
 
  rm -f conftest.er1
7540
 
  cat conftest.err >&5
7541
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542
 
  (exit $ac_status); } && {
7543
 
         test -z "$ac_c_werror_flag" ||
7544
 
         test ! -s conftest.err
7545
 
       } && test -s conftest.$ac_objext; then
7546
 
  eval "$as_ac_Header=yes"
7547
 
else
7548
 
  $as_echo "$as_me: failed program was:" >&5
7549
 
sed 's/^/| /' conftest.$ac_ext >&5
7550
 
 
7551
 
        eval "$as_ac_Header=no"
7552
 
fi
7553
 
 
7554
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7555
 
fi
7556
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7557
 
                 $as_echo "$as_val"'`
7558
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7559
 
$as_echo "$ac_res" >&6; }
7560
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7561
 
                 $as_echo "$as_val"'`
7562
 
   if test "x$as_val" = x""yes; then
 
7923
do :
 
7924
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7925
"
 
7926
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7563
7927
  cat >>confdefs.h <<_ACEOF
7564
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7565
 
_ACEOF
7566
 
 
7567
 
fi
7568
 
 
7569
 
done
7570
 
 
7571
 
 
7572
 
 
7573
 
ac_ext=cpp
7574
 
ac_cpp='$CXXCPP $CPPFLAGS'
7575
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7576
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7577
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7578
 
if test -z "$CXX"; then
7579
 
  if test -n "$CCC"; then
7580
 
    CXX=$CCC
7581
 
  else
7582
 
    if test -n "$ac_tool_prefix"; then
7583
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7584
 
  do
7585
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7586
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7587
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7588
 
$as_echo_n "checking for $ac_word... " >&6; }
7589
 
if test "${ac_cv_prog_CXX+set}" = set; then
7590
 
  $as_echo_n "(cached) " >&6
7591
 
else
7592
 
  if test -n "$CXX"; then
7593
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7594
 
else
7595
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596
 
for as_dir in $PATH
7597
 
do
7598
 
  IFS=$as_save_IFS
7599
 
  test -z "$as_dir" && as_dir=.
7600
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7601
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7603
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7604
 
    break 2
7605
 
  fi
7606
 
done
7607
 
done
7608
 
IFS=$as_save_IFS
7609
 
 
7610
 
fi
7611
 
fi
7612
 
CXX=$ac_cv_prog_CXX
7613
 
if test -n "$CXX"; then
7614
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
7615
 
$as_echo "$CXX" >&6; }
7616
 
else
7617
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7618
 
$as_echo "no" >&6; }
7619
 
fi
7620
 
 
7621
 
 
7622
 
    test -n "$CXX" && break
7623
 
  done
7624
 
fi
7625
 
if test -z "$CXX"; then
7626
 
  ac_ct_CXX=$CXX
7627
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7628
 
do
7629
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7630
 
set dummy $ac_prog; ac_word=$2
7631
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7632
 
$as_echo_n "checking for $ac_word... " >&6; }
7633
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7634
 
  $as_echo_n "(cached) " >&6
7635
 
else
7636
 
  if test -n "$ac_ct_CXX"; then
7637
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7638
 
else
7639
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640
 
for as_dir in $PATH
7641
 
do
7642
 
  IFS=$as_save_IFS
7643
 
  test -z "$as_dir" && as_dir=.
7644
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7645
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7646
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7647
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7648
 
    break 2
7649
 
  fi
7650
 
done
7651
 
done
7652
 
IFS=$as_save_IFS
7653
 
 
7654
 
fi
7655
 
fi
7656
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7657
 
if test -n "$ac_ct_CXX"; then
7658
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7659
 
$as_echo "$ac_ct_CXX" >&6; }
7660
 
else
7661
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7662
 
$as_echo "no" >&6; }
7663
 
fi
7664
 
 
7665
 
 
7666
 
  test -n "$ac_ct_CXX" && break
7667
 
done
7668
 
 
7669
 
  if test "x$ac_ct_CXX" = x; then
7670
 
    CXX="g++"
7671
 
  else
7672
 
    case $cross_compiling:$ac_tool_warned in
7673
 
yes:)
7674
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7675
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7676
 
ac_tool_warned=yes ;;
7677
 
esac
7678
 
    CXX=$ac_ct_CXX
7679
 
  fi
7680
 
fi
7681
 
 
7682
 
  fi
7683
 
fi
7684
 
# Provide some information about the compiler.
7685
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7686
 
set X $ac_compile
7687
 
ac_compiler=$2
7688
 
{ (ac_try="$ac_compiler --version >&5"
7689
 
case "(($ac_try" in
7690
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7691
 
  *) ac_try_echo=$ac_try;;
7692
 
esac
7693
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7694
 
$as_echo "$ac_try_echo") >&5
7695
 
  (eval "$ac_compiler --version >&5") 2>&5
7696
 
  ac_status=$?
7697
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698
 
  (exit $ac_status); }
7699
 
{ (ac_try="$ac_compiler -v >&5"
7700
 
case "(($ac_try" in
7701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7702
 
  *) ac_try_echo=$ac_try;;
7703
 
esac
7704
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7705
 
$as_echo "$ac_try_echo") >&5
7706
 
  (eval "$ac_compiler -v >&5") 2>&5
7707
 
  ac_status=$?
7708
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709
 
  (exit $ac_status); }
7710
 
{ (ac_try="$ac_compiler -V >&5"
7711
 
case "(($ac_try" in
7712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7713
 
  *) ac_try_echo=$ac_try;;
7714
 
esac
7715
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7716
 
$as_echo "$ac_try_echo") >&5
7717
 
  (eval "$ac_compiler -V >&5") 2>&5
7718
 
  ac_status=$?
7719
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720
 
  (exit $ac_status); }
7721
 
 
7722
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7723
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7724
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7725
 
  $as_echo_n "(cached) " >&6
7726
 
else
7727
 
  cat >conftest.$ac_ext <<_ACEOF
7728
 
/* confdefs.h.  */
7729
 
_ACEOF
7730
 
cat confdefs.h >>conftest.$ac_ext
7731
 
cat >>conftest.$ac_ext <<_ACEOF
7732
 
/* end confdefs.h.  */
7733
 
 
7734
 
int
7735
 
main ()
7736
 
{
7737
 
#ifndef __GNUC__
7738
 
       choke me
7739
 
#endif
7740
 
 
7741
 
  ;
7742
 
  return 0;
7743
 
}
7744
 
_ACEOF
7745
 
rm -f conftest.$ac_objext
7746
 
if { (ac_try="$ac_compile"
7747
 
case "(($ac_try" in
7748
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7749
 
  *) ac_try_echo=$ac_try;;
7750
 
esac
7751
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7752
 
$as_echo "$ac_try_echo") >&5
7753
 
  (eval "$ac_compile") 2>conftest.er1
7754
 
  ac_status=$?
7755
 
  grep -v '^ *+' conftest.er1 >conftest.err
7756
 
  rm -f conftest.er1
7757
 
  cat conftest.err >&5
7758
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759
 
  (exit $ac_status); } && {
7760
 
         test -z "$ac_cxx_werror_flag" ||
7761
 
         test ! -s conftest.err
7762
 
       } && test -s conftest.$ac_objext; then
7763
 
  ac_compiler_gnu=yes
7764
 
else
7765
 
  $as_echo "$as_me: failed program was:" >&5
7766
 
sed 's/^/| /' conftest.$ac_ext >&5
7767
 
 
7768
 
        ac_compiler_gnu=no
7769
 
fi
7770
 
 
7771
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7772
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7773
 
 
7774
 
fi
7775
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7776
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7777
 
if test $ac_compiler_gnu = yes; then
7778
 
  GXX=yes
7779
 
else
7780
 
  GXX=
7781
 
fi
7782
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7783
 
ac_save_CXXFLAGS=$CXXFLAGS
7784
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7785
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7786
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
7787
 
  $as_echo_n "(cached) " >&6
7788
 
else
7789
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7790
 
   ac_cxx_werror_flag=yes
7791
 
   ac_cv_prog_cxx_g=no
7792
 
   CXXFLAGS="-g"
7793
 
   cat >conftest.$ac_ext <<_ACEOF
7794
 
/* confdefs.h.  */
7795
 
_ACEOF
7796
 
cat confdefs.h >>conftest.$ac_ext
7797
 
cat >>conftest.$ac_ext <<_ACEOF
7798
 
/* end confdefs.h.  */
7799
 
 
7800
 
int
7801
 
main ()
7802
 
{
7803
 
 
7804
 
  ;
7805
 
  return 0;
7806
 
}
7807
 
_ACEOF
7808
 
rm -f conftest.$ac_objext
7809
 
if { (ac_try="$ac_compile"
7810
 
case "(($ac_try" in
7811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7812
 
  *) ac_try_echo=$ac_try;;
7813
 
esac
7814
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7815
 
$as_echo "$ac_try_echo") >&5
7816
 
  (eval "$ac_compile") 2>conftest.er1
7817
 
  ac_status=$?
7818
 
  grep -v '^ *+' conftest.er1 >conftest.err
7819
 
  rm -f conftest.er1
7820
 
  cat conftest.err >&5
7821
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822
 
  (exit $ac_status); } && {
7823
 
         test -z "$ac_cxx_werror_flag" ||
7824
 
         test ! -s conftest.err
7825
 
       } && test -s conftest.$ac_objext; then
7826
 
  ac_cv_prog_cxx_g=yes
7827
 
else
7828
 
  $as_echo "$as_me: failed program was:" >&5
7829
 
sed 's/^/| /' conftest.$ac_ext >&5
7830
 
 
7831
 
        CXXFLAGS=""
7832
 
      cat >conftest.$ac_ext <<_ACEOF
7833
 
/* confdefs.h.  */
7834
 
_ACEOF
7835
 
cat confdefs.h >>conftest.$ac_ext
7836
 
cat >>conftest.$ac_ext <<_ACEOF
7837
 
/* end confdefs.h.  */
7838
 
 
7839
 
int
7840
 
main ()
7841
 
{
7842
 
 
7843
 
  ;
7844
 
  return 0;
7845
 
}
7846
 
_ACEOF
7847
 
rm -f conftest.$ac_objext
7848
 
if { (ac_try="$ac_compile"
7849
 
case "(($ac_try" in
7850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7851
 
  *) ac_try_echo=$ac_try;;
7852
 
esac
7853
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7854
 
$as_echo "$ac_try_echo") >&5
7855
 
  (eval "$ac_compile") 2>conftest.er1
7856
 
  ac_status=$?
7857
 
  grep -v '^ *+' conftest.er1 >conftest.err
7858
 
  rm -f conftest.er1
7859
 
  cat conftest.err >&5
7860
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861
 
  (exit $ac_status); } && {
7862
 
         test -z "$ac_cxx_werror_flag" ||
7863
 
         test ! -s conftest.err
7864
 
       } && test -s conftest.$ac_objext; then
7865
 
  :
7866
 
else
7867
 
  $as_echo "$as_me: failed program was:" >&5
7868
 
sed 's/^/| /' conftest.$ac_ext >&5
7869
 
 
7870
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7871
 
         CXXFLAGS="-g"
7872
 
         cat >conftest.$ac_ext <<_ACEOF
7873
 
/* confdefs.h.  */
7874
 
_ACEOF
7875
 
cat confdefs.h >>conftest.$ac_ext
7876
 
cat >>conftest.$ac_ext <<_ACEOF
7877
 
/* end confdefs.h.  */
7878
 
 
7879
 
int
7880
 
main ()
7881
 
{
7882
 
 
7883
 
  ;
7884
 
  return 0;
7885
 
}
7886
 
_ACEOF
7887
 
rm -f conftest.$ac_objext
7888
 
if { (ac_try="$ac_compile"
7889
 
case "(($ac_try" in
7890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7891
 
  *) ac_try_echo=$ac_try;;
7892
 
esac
7893
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7894
 
$as_echo "$ac_try_echo") >&5
7895
 
  (eval "$ac_compile") 2>conftest.er1
7896
 
  ac_status=$?
7897
 
  grep -v '^ *+' conftest.er1 >conftest.err
7898
 
  rm -f conftest.er1
7899
 
  cat conftest.err >&5
7900
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901
 
  (exit $ac_status); } && {
7902
 
         test -z "$ac_cxx_werror_flag" ||
7903
 
         test ! -s conftest.err
7904
 
       } && test -s conftest.$ac_objext; then
7905
 
  ac_cv_prog_cxx_g=yes
7906
 
else
7907
 
  $as_echo "$as_me: failed program was:" >&5
7908
 
sed 's/^/| /' conftest.$ac_ext >&5
7909
 
 
7910
 
 
7911
 
fi
7912
 
 
7913
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7914
 
fi
7915
 
 
7916
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7917
 
fi
7918
 
 
7919
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7920
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7921
 
fi
7922
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7923
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7924
 
if test "$ac_test_CXXFLAGS" = set; then
7925
 
  CXXFLAGS=$ac_save_CXXFLAGS
7926
 
elif test $ac_cv_prog_cxx_g = yes; then
7927
 
  if test "$GXX" = yes; then
7928
 
    CXXFLAGS="-g -O2"
7929
 
  else
7930
 
    CXXFLAGS="-g"
7931
 
  fi
7932
 
else
7933
 
  if test "$GXX" = yes; then
7934
 
    CXXFLAGS="-O2"
7935
 
  else
7936
 
    CXXFLAGS=
7937
 
  fi
7938
 
fi
7939
 
ac_ext=c
7940
 
ac_cpp='$CPP $CPPFLAGS'
7941
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7942
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7943
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7944
 
 
7945
 
depcc="$CXX"  am_compiler_list=
7946
 
 
7947
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7948
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
7949
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7950
 
  $as_echo_n "(cached) " >&6
7951
 
else
7952
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7953
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7954
 
  # making bogus files that we don't know about and never remove.  For
7955
 
  # instance it was reported that on HP-UX the gcc test will end up
7956
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7957
 
  # in D'.
7958
 
  mkdir conftest.dir
7959
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7960
 
  # using a relative directory.
7961
 
  cp "$am_depcomp" conftest.dir
7962
 
  cd conftest.dir
7963
 
  # We will build objects and dependencies in a subdirectory because
7964
 
  # it helps to detect inapplicable dependency modes.  For instance
7965
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7966
 
  # side effect of compilation, but ICC will put the dependencies in
7967
 
  # the current directory while Tru64 will put them in the object
7968
 
  # directory.
7969
 
  mkdir sub
7970
 
 
7971
 
  am_cv_CXX_dependencies_compiler_type=none
7972
 
  if test "$am_compiler_list" = ""; then
7973
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7974
 
  fi
7975
 
  for depmode in $am_compiler_list; do
7976
 
    # Setup a source with many dependencies, because some compilers
7977
 
    # like to wrap large dependency lists on column 80 (with \), and
7978
 
    # we should not choose a depcomp mode which is confused by this.
7979
 
    #
7980
 
    # We need to recreate these files for each test, as the compiler may
7981
 
    # overwrite some of them when testing with obscure command lines.
7982
 
    # This happens at least with the AIX C compiler.
7983
 
    : > sub/conftest.c
7984
 
    for i in 1 2 3 4 5 6; do
7985
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7986
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7987
 
      # Solaris 8's {/usr,}/bin/sh.
7988
 
      touch sub/conftst$i.h
7989
 
    done
7990
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7991
 
 
7992
 
    case $depmode in
7993
 
    nosideeffect)
7994
 
      # after this tag, mechanisms are not by side-effect, so they'll
7995
 
      # only be used when explicitly requested
7996
 
      if test "x$enable_dependency_tracking" = xyes; then
7997
 
        continue
7998
 
      else
7999
 
        break
8000
 
      fi
8001
 
      ;;
8002
 
    none) break ;;
8003
 
    esac
8004
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8005
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8006
 
    # handle `-M -o', and we need to detect this.
8007
 
    if depmode=$depmode \
8008
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8009
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8010
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8011
 
         >/dev/null 2>conftest.err &&
8012
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8013
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8014
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8015
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8016
 
      # icc doesn't choke on unknown options, it will just issue warnings
8017
 
      # or remarks (even with -Werror).  So we grep stderr for any message
8018
 
      # that says an option was ignored or not supported.
8019
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
8020
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
8021
 
      # The diagnosis changed in icc 8.0:
8022
 
      #   icc: Command line remark: option '-MP' not supported
8023
 
      if (grep 'ignoring option' conftest.err ||
8024
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8025
 
        am_cv_CXX_dependencies_compiler_type=$depmode
8026
 
        break
8027
 
      fi
8028
 
    fi
8029
 
  done
8030
 
 
8031
 
  cd ..
8032
 
  rm -rf conftest.dir
8033
 
else
8034
 
  am_cv_CXX_dependencies_compiler_type=none
8035
 
fi
8036
 
 
8037
 
fi
8038
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8039
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8040
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8041
 
 
8042
 
 if
8043
 
  test "x$enable_dependency_tracking" != xno \
8044
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8045
 
  am__fastdepCXX_TRUE=
8046
 
  am__fastdepCXX_FALSE='#'
8047
 
else
8048
 
  am__fastdepCXX_TRUE='#'
8049
 
  am__fastdepCXX_FALSE=
8050
 
fi
8051
 
 
8052
 
 
8053
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8054
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8055
 
    (test "X$CXX" != "Xg++"))) ; then
8056
 
  ac_ext=cpp
8057
 
ac_cpp='$CXXCPP $CPPFLAGS'
8058
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8059
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8060
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8061
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8062
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8063
 
if test -z "$CXXCPP"; then
8064
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8065
 
  $as_echo_n "(cached) " >&6
8066
 
else
8067
 
      # Double quotes because CXXCPP needs to be expanded
8068
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
8069
 
    do
8070
 
      ac_preproc_ok=false
8071
 
for ac_cxx_preproc_warn_flag in '' yes
8072
 
do
8073
 
  # Use a header file that comes with gcc, so configuring glibc
8074
 
  # with a fresh cross-compiler works.
8075
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8076
 
  # <limits.h> exists even on freestanding compilers.
8077
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8078
 
  # not just through cpp. "Syntax error" is here to catch this case.
8079
 
  cat >conftest.$ac_ext <<_ACEOF
8080
 
/* confdefs.h.  */
8081
 
_ACEOF
8082
 
cat confdefs.h >>conftest.$ac_ext
8083
 
cat >>conftest.$ac_ext <<_ACEOF
8084
 
/* end confdefs.h.  */
8085
 
#ifdef __STDC__
8086
 
# include <limits.h>
8087
 
#else
8088
 
# include <assert.h>
8089
 
#endif
8090
 
                     Syntax error
8091
 
_ACEOF
8092
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8093
 
case "(($ac_try" in
8094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095
 
  *) ac_try_echo=$ac_try;;
8096
 
esac
8097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8098
 
$as_echo "$ac_try_echo") >&5
8099
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8100
 
  ac_status=$?
8101
 
  grep -v '^ *+' conftest.er1 >conftest.err
8102
 
  rm -f conftest.er1
8103
 
  cat conftest.err >&5
8104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105
 
  (exit $ac_status); } >/dev/null && {
8106
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8107
 
         test ! -s conftest.err
8108
 
       }; then
8109
 
  :
8110
 
else
8111
 
  $as_echo "$as_me: failed program was:" >&5
8112
 
sed 's/^/| /' conftest.$ac_ext >&5
8113
 
 
8114
 
  # Broken: fails on valid input.
8115
 
continue
8116
 
fi
8117
 
 
8118
 
rm -f conftest.err conftest.$ac_ext
8119
 
 
8120
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8121
 
  # can be detected and how.
8122
 
  cat >conftest.$ac_ext <<_ACEOF
8123
 
/* confdefs.h.  */
8124
 
_ACEOF
8125
 
cat confdefs.h >>conftest.$ac_ext
8126
 
cat >>conftest.$ac_ext <<_ACEOF
8127
 
/* end confdefs.h.  */
8128
 
#include <ac_nonexistent.h>
8129
 
_ACEOF
8130
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8131
 
case "(($ac_try" in
8132
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8133
 
  *) ac_try_echo=$ac_try;;
8134
 
esac
8135
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8136
 
$as_echo "$ac_try_echo") >&5
8137
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8138
 
  ac_status=$?
8139
 
  grep -v '^ *+' conftest.er1 >conftest.err
8140
 
  rm -f conftest.er1
8141
 
  cat conftest.err >&5
8142
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143
 
  (exit $ac_status); } >/dev/null && {
8144
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8145
 
         test ! -s conftest.err
8146
 
       }; then
8147
 
  # Broken: success on invalid input.
8148
 
continue
8149
 
else
8150
 
  $as_echo "$as_me: failed program was:" >&5
8151
 
sed 's/^/| /' conftest.$ac_ext >&5
8152
 
 
8153
 
  # Passes both tests.
8154
 
ac_preproc_ok=:
8155
 
break
8156
 
fi
8157
 
 
8158
 
rm -f conftest.err conftest.$ac_ext
8159
 
 
8160
 
done
8161
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8162
 
rm -f conftest.err conftest.$ac_ext
8163
 
if $ac_preproc_ok; then
8164
 
  break
8165
 
fi
8166
 
 
8167
 
    done
8168
 
    ac_cv_prog_CXXCPP=$CXXCPP
8169
 
 
8170
 
fi
8171
 
  CXXCPP=$ac_cv_prog_CXXCPP
8172
 
else
8173
 
  ac_cv_prog_CXXCPP=$CXXCPP
8174
 
fi
8175
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
8176
 
$as_echo "$CXXCPP" >&6; }
8177
 
ac_preproc_ok=false
8178
 
for ac_cxx_preproc_warn_flag in '' yes
8179
 
do
8180
 
  # Use a header file that comes with gcc, so configuring glibc
8181
 
  # with a fresh cross-compiler works.
8182
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8183
 
  # <limits.h> exists even on freestanding compilers.
8184
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8185
 
  # not just through cpp. "Syntax error" is here to catch this case.
8186
 
  cat >conftest.$ac_ext <<_ACEOF
8187
 
/* confdefs.h.  */
8188
 
_ACEOF
8189
 
cat confdefs.h >>conftest.$ac_ext
8190
 
cat >>conftest.$ac_ext <<_ACEOF
8191
 
/* end confdefs.h.  */
8192
 
#ifdef __STDC__
8193
 
# include <limits.h>
8194
 
#else
8195
 
# include <assert.h>
8196
 
#endif
8197
 
                     Syntax error
8198
 
_ACEOF
8199
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8200
 
case "(($ac_try" in
8201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8202
 
  *) ac_try_echo=$ac_try;;
8203
 
esac
8204
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8205
 
$as_echo "$ac_try_echo") >&5
8206
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8207
 
  ac_status=$?
8208
 
  grep -v '^ *+' conftest.er1 >conftest.err
8209
 
  rm -f conftest.er1
8210
 
  cat conftest.err >&5
8211
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212
 
  (exit $ac_status); } >/dev/null && {
8213
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8214
 
         test ! -s conftest.err
8215
 
       }; then
8216
 
  :
8217
 
else
8218
 
  $as_echo "$as_me: failed program was:" >&5
8219
 
sed 's/^/| /' conftest.$ac_ext >&5
8220
 
 
8221
 
  # Broken: fails on valid input.
8222
 
continue
8223
 
fi
8224
 
 
8225
 
rm -f conftest.err conftest.$ac_ext
8226
 
 
8227
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8228
 
  # can be detected and how.
8229
 
  cat >conftest.$ac_ext <<_ACEOF
8230
 
/* confdefs.h.  */
8231
 
_ACEOF
8232
 
cat confdefs.h >>conftest.$ac_ext
8233
 
cat >>conftest.$ac_ext <<_ACEOF
8234
 
/* end confdefs.h.  */
8235
 
#include <ac_nonexistent.h>
8236
 
_ACEOF
8237
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8238
 
case "(($ac_try" in
8239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8240
 
  *) ac_try_echo=$ac_try;;
8241
 
esac
8242
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8243
 
$as_echo "$ac_try_echo") >&5
8244
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8245
 
  ac_status=$?
8246
 
  grep -v '^ *+' conftest.er1 >conftest.err
8247
 
  rm -f conftest.er1
8248
 
  cat conftest.err >&5
8249
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250
 
  (exit $ac_status); } >/dev/null && {
8251
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8252
 
         test ! -s conftest.err
8253
 
       }; then
8254
 
  # Broken: success on invalid input.
8255
 
continue
8256
 
else
8257
 
  $as_echo "$as_me: failed program was:" >&5
8258
 
sed 's/^/| /' conftest.$ac_ext >&5
8259
 
 
8260
 
  # Passes both tests.
8261
 
ac_preproc_ok=:
8262
 
break
8263
 
fi
8264
 
 
8265
 
rm -f conftest.err conftest.$ac_ext
8266
 
 
8267
 
done
8268
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8269
 
rm -f conftest.err conftest.$ac_ext
8270
 
if $ac_preproc_ok; then
8271
 
  :
8272
 
else
8273
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8274
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8275
 
_lt_caught_CXX_error=yes; }
8276
 
fi
8277
 
 
8278
 
ac_ext=c
8279
 
ac_cpp='$CPP $CPPFLAGS'
8280
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8281
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8282
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8283
 
 
8284
 
else
8285
 
  _lt_caught_CXX_error=yes
8286
 
fi
 
7928
#define HAVE_DLFCN_H 1
 
7929
_ACEOF
 
7930
 
 
7931
fi
 
7932
 
 
7933
done
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
func_stripname_cnf ()
 
7939
{
 
7940
  case ${2} in
 
7941
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
7942
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
7943
  esac
 
7944
} # func_stripname_cnf
8287
7945
 
8288
7946
 
8289
7947
 
8300
7958
 
8301
7959
 
8302
7960
            # Check whether --enable-shared was given.
8303
 
if test "${enable_shared+set}" = set; then
 
7961
if test "${enable_shared+set}" = set; then :
8304
7962
  enableval=$enable_shared; p=${PACKAGE-default}
8305
7963
    case $enableval in
8306
7964
    yes) enable_shared=yes ;;
8331
7989
 
8332
7990
 
8333
7991
  # Check whether --enable-static was given.
8334
 
if test "${enable_static+set}" = set; then
 
7992
if test "${enable_static+set}" = set; then :
8335
7993
  enableval=$enable_static; p=${PACKAGE-default}
8336
7994
    case $enableval in
8337
7995
    yes) enable_static=yes ;;
8363
8021
 
8364
8022
 
8365
8023
# Check whether --with-pic was given.
8366
 
if test "${with_pic+set}" = set; then
 
8024
if test "${with_pic+set}" = set; then :
8367
8025
  withval=$with_pic; pic_mode="$withval"
8368
8026
else
8369
8027
  pic_mode=default
8379
8037
 
8380
8038
 
8381
8039
  # Check whether --enable-fast-install was given.
8382
 
if test "${enable_fast_install+set}" = set; then
 
8040
if test "${enable_fast_install+set}" = set; then :
8383
8041
  enableval=$enable_fast_install; p=${PACKAGE-default}
8384
8042
    case $enableval in
8385
8043
    yes) enable_fast_install=yes ;;
8441
8099
 
8442
8100
 
8443
8101
 
 
8102
 
8444
8103
test -z "$LN_S" && LN_S="ln -s"
8445
8104
 
8446
8105
 
8460
8119
   setopt NO_GLOB_SUBST
8461
8120
fi
8462
8121
 
8463
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8464
8123
$as_echo_n "checking for objdir... " >&6; }
8465
 
if test "${lt_cv_objdir+set}" = set; then
 
8124
if ${lt_cv_objdir+:} false; then :
8466
8125
  $as_echo_n "(cached) " >&6
8467
8126
else
8468
8127
  rm -f .libs 2>/dev/null
8475
8134
fi
8476
8135
rmdir .libs 2>/dev/null
8477
8136
fi
8478
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8479
8138
$as_echo "$lt_cv_objdir" >&6; }
8480
8139
objdir=$lt_cv_objdir
8481
8140
 
8490
8149
 
8491
8150
 
8492
8151
 
8493
 
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
 
 
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
 
 
8505
 
 
8506
8152
case $host_os in
8507
8153
aix3*)
8508
8154
  # AIX sometimes has problems with the GCC collect2 program.  For some
8515
8161
  ;;
8516
8162
esac
8517
8163
 
8518
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8519
 
# metacharacters that are still active within double-quoted strings.
8520
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8521
 
 
8522
 
# Same as above, but do not quote variable references.
8523
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8524
 
 
8525
 
# Sed substitution to delay expansion of an escaped shell variable in a
8526
 
# double_quote_subst'ed string.
8527
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8528
 
 
8529
 
# Sed substitution to delay expansion of an escaped single quote.
8530
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8531
 
 
8532
 
# Sed substitution to avoid accidental globbing in evaled expressions
8533
 
no_glob_subst='s/\*/\\\*/g'
8534
 
 
8535
8164
# Global variables:
8536
8165
ofile=libtool
8537
8166
can_build_shared=yes
8560
8189
    *) break;;
8561
8190
  esac
8562
8191
done
8563
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8192
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8564
8193
 
8565
8194
 
8566
8195
# Only perform the check for file, if the check method requires it
8568
8197
case $deplibs_check_method in
8569
8198
file_magic*)
8570
8199
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8571
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8200
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8572
8201
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8573
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8202
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8574
8203
  $as_echo_n "(cached) " >&6
8575
8204
else
8576
8205
  case $MAGIC_CMD in
8621
8250
 
8622
8251
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8623
8252
if test -n "$MAGIC_CMD"; then
8624
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8625
8254
$as_echo "$MAGIC_CMD" >&6; }
8626
8255
else
8627
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8256
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8628
8257
$as_echo "no" >&6; }
8629
8258
fi
8630
8259
 
8634
8263
 
8635
8264
if test -z "$lt_cv_path_MAGIC_CMD"; then
8636
8265
  if test -n "$ac_tool_prefix"; then
8637
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8266
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8638
8267
$as_echo_n "checking for file... " >&6; }
8639
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8268
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8640
8269
  $as_echo_n "(cached) " >&6
8641
8270
else
8642
8271
  case $MAGIC_CMD in
8687
8316
 
8688
8317
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8689
8318
if test -n "$MAGIC_CMD"; then
8690
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8319
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8691
8320
$as_echo "$MAGIC_CMD" >&6; }
8692
8321
else
8693
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694
8323
$as_echo "no" >&6; }
8695
8324
fi
8696
8325
 
8769
8398
lt_prog_compiler_no_builtin_flag=
8770
8399
 
8771
8400
if test "$GCC" = yes; then
8772
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8401
  case $cc_basename in
 
8402
  nvcc*)
 
8403
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8404
  *)
 
8405
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8406
  esac
8773
8407
 
8774
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8408
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8775
8409
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8776
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8410
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8777
8411
  $as_echo_n "(cached) " >&6
8778
8412
else
8779
8413
  lt_cv_prog_compiler_rtti_exceptions=no
8789
8423
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8790
8424
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8791
8425
   -e 's:$: $lt_compiler_flag:'`
8792
 
   (eval echo "\"\$as_me:8792: $lt_compile\"" >&5)
 
8426
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8793
8427
   (eval "$lt_compile" 2>conftest.err)
8794
8428
   ac_status=$?
8795
8429
   cat conftest.err >&5
8796
 
   echo "$as_me:8796: \$? = $ac_status" >&5
 
8430
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797
8431
   if (exit $ac_status) && test -s "$ac_outfile"; then
8798
8432
     # The compiler can only warn and ignore the option if not recognized
8799
8433
     # So say no if there are warnings other than the usual output.
8800
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8434
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8801
8435
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802
8436
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8803
8437
       lt_cv_prog_compiler_rtti_exceptions=yes
8806
8440
   $RM conftest*
8807
8441
 
8808
8442
fi
8809
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8810
8444
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8811
8445
 
8812
8446
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8826
8460
lt_prog_compiler_pic=
8827
8461
lt_prog_compiler_static=
8828
8462
 
8829
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8830
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8831
8463
 
8832
8464
  if test "$GCC" = yes; then
8833
8465
    lt_prog_compiler_wl='-Wl,'
8875
8507
      lt_prog_compiler_pic='-fno-common'
8876
8508
      ;;
8877
8509
 
 
8510
    haiku*)
 
8511
      # PIC is the default for Haiku.
 
8512
      # The "-static" flag exists, but is broken.
 
8513
      lt_prog_compiler_static=
 
8514
      ;;
 
8515
 
8878
8516
    hpux*)
8879
8517
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8880
8518
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8917
8555
      lt_prog_compiler_pic='-fPIC'
8918
8556
      ;;
8919
8557
    esac
 
8558
 
 
8559
    case $cc_basename in
 
8560
    nvcc*) # Cuda Compiler Driver 2.2
 
8561
      lt_prog_compiler_wl='-Xlinker '
 
8562
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8563
      ;;
 
8564
    esac
8920
8565
  else
8921
8566
    # PORTME Check for flag to pass linker flags through the system compiler.
8922
8567
    case $host_os in
8958
8603
      lt_prog_compiler_static='-non_shared'
8959
8604
      ;;
8960
8605
 
8961
 
    linux* | k*bsd*-gnu)
 
8606
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8962
8607
      case $cc_basename in
8963
8608
      # old Intel for x86_64 which still supported -KPIC.
8964
8609
      ecc*)
8979
8624
        lt_prog_compiler_pic='--shared'
8980
8625
        lt_prog_compiler_static='--static'
8981
8626
        ;;
8982
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8627
      nagfor*)
 
8628
        # NAG Fortran compiler
 
8629
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8630
        lt_prog_compiler_pic='-PIC'
 
8631
        lt_prog_compiler_static='-Bstatic'
 
8632
        ;;
 
8633
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8983
8634
        # Portland Group compilers (*not* the Pentium gcc compiler,
8984
8635
        # which looks to be a dead project)
8985
8636
        lt_prog_compiler_wl='-Wl,'
8991
8642
        # All Alpha code is PIC.
8992
8643
        lt_prog_compiler_static='-non_shared'
8993
8644
        ;;
8994
 
      xl*)
8995
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8645
      xl* | bgxl* | bgf* | mpixl*)
 
8646
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8996
8647
        lt_prog_compiler_wl='-Wl,'
8997
8648
        lt_prog_compiler_pic='-qpic'
8998
8649
        lt_prog_compiler_static='-qstaticlink'
8999
8650
        ;;
9000
8651
      *)
9001
8652
        case `$CC -V 2>&1 | sed 5q` in
 
8653
        *Sun\ F* | *Sun*Fortran*)
 
8654
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8655
          lt_prog_compiler_pic='-KPIC'
 
8656
          lt_prog_compiler_static='-Bstatic'
 
8657
          lt_prog_compiler_wl=''
 
8658
          ;;
9002
8659
        *Sun\ C*)
9003
8660
          # Sun C 5.9
9004
8661
          lt_prog_compiler_pic='-KPIC'
9005
8662
          lt_prog_compiler_static='-Bstatic'
9006
8663
          lt_prog_compiler_wl='-Wl,'
9007
8664
          ;;
9008
 
        *Sun\ F*)
9009
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9010
 
          lt_prog_compiler_pic='-KPIC'
9011
 
          lt_prog_compiler_static='-Bstatic'
9012
 
          lt_prog_compiler_wl=''
9013
 
          ;;
9014
8665
        esac
9015
8666
        ;;
9016
8667
      esac
9041
8692
      lt_prog_compiler_pic='-KPIC'
9042
8693
      lt_prog_compiler_static='-Bstatic'
9043
8694
      case $cc_basename in
9044
 
      f77* | f90* | f95*)
 
8695
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9045
8696
        lt_prog_compiler_wl='-Qoption ld ';;
9046
8697
      *)
9047
8698
        lt_prog_compiler_wl='-Wl,';;
9098
8749
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9099
8750
    ;;
9100
8751
esac
9101
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9102
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
 
8752
 
 
8753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8754
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8755
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8756
  $as_echo_n "(cached) " >&6
 
8757
else
 
8758
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8759
fi
 
8760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8761
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8762
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9108
8763
 
9109
8764
#
9110
8765
# Check to make sure the PIC flag actually works.
9111
8766
#
9112
8767
if test -n "$lt_prog_compiler_pic"; then
9113
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8768
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9114
8769
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9115
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8770
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9116
8771
  $as_echo_n "(cached) " >&6
9117
8772
else
9118
8773
  lt_cv_prog_compiler_pic_works=no
9128
8783
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9129
8784
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9130
8785
   -e 's:$: $lt_compiler_flag:'`
9131
 
   (eval echo "\"\$as_me:9131: $lt_compile\"" >&5)
 
8786
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9132
8787
   (eval "$lt_compile" 2>conftest.err)
9133
8788
   ac_status=$?
9134
8789
   cat conftest.err >&5
9135
 
   echo "$as_me:9135: \$? = $ac_status" >&5
 
8790
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136
8791
   if (exit $ac_status) && test -s "$ac_outfile"; then
9137
8792
     # The compiler can only warn and ignore the option if not recognized
9138
8793
     # So say no if there are warnings other than the usual output.
9139
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8794
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9140
8795
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9141
8796
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9142
8797
       lt_cv_prog_compiler_pic_works=yes
9145
8800
   $RM conftest*
9146
8801
 
9147
8802
fi
9148
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9149
8804
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9150
8805
 
9151
8806
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9165
8820
 
9166
8821
 
9167
8822
 
 
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
9168
8828
#
9169
8829
# Check to make sure the static flag actually works.
9170
8830
#
9171
8831
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9172
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9173
8833
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9174
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8834
if ${lt_cv_prog_compiler_static_works+:} false; then :
9175
8835
  $as_echo_n "(cached) " >&6
9176
8836
else
9177
8837
  lt_cv_prog_compiler_static_works=no
9184
8844
     if test -s conftest.err; then
9185
8845
       # Append any errors to the config.log.
9186
8846
       cat conftest.err 1>&5
9187
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8847
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9188
8848
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9189
8849
       if diff conftest.exp conftest.er2 >/dev/null; then
9190
8850
         lt_cv_prog_compiler_static_works=yes
9197
8857
   LDFLAGS="$save_LDFLAGS"
9198
8858
 
9199
8859
fi
9200
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9201
8861
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9202
8862
 
9203
8863
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9212
8872
 
9213
8873
 
9214
8874
 
9215
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9216
8876
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9217
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8877
if ${lt_cv_prog_compiler_c_o+:} false; then :
9218
8878
  $as_echo_n "(cached) " >&6
9219
8879
else
9220
8880
  lt_cv_prog_compiler_c_o=no
9233
8893
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9234
8894
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9235
8895
   -e 's:$: $lt_compiler_flag:'`
9236
 
   (eval echo "\"\$as_me:9236: $lt_compile\"" >&5)
 
8896
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9237
8897
   (eval "$lt_compile" 2>out/conftest.err)
9238
8898
   ac_status=$?
9239
8899
   cat out/conftest.err >&5
9240
 
   echo "$as_me:9240: \$? = $ac_status" >&5
 
8900
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241
8901
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9242
8902
   then
9243
8903
     # The compiler can only warn and ignore the option if not recognized
9244
8904
     # So say no if there are warnings
9245
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8905
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9246
8906
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9247
8907
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9248
8908
       lt_cv_prog_compiler_c_o=yes
9259
8919
   $RM conftest*
9260
8920
 
9261
8921
fi
9262
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9263
8923
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9264
8924
 
9265
8925
 
9267
8927
 
9268
8928
 
9269
8929
 
9270
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8930
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9271
8931
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9272
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8932
if ${lt_cv_prog_compiler_c_o+:} false; then :
9273
8933
  $as_echo_n "(cached) " >&6
9274
8934
else
9275
8935
  lt_cv_prog_compiler_c_o=no
9288
8948
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9289
8949
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9290
8950
   -e 's:$: $lt_compiler_flag:'`
9291
 
   (eval echo "\"\$as_me:9291: $lt_compile\"" >&5)
 
8951
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9292
8952
   (eval "$lt_compile" 2>out/conftest.err)
9293
8953
   ac_status=$?
9294
8954
   cat out/conftest.err >&5
9295
 
   echo "$as_me:9295: \$? = $ac_status" >&5
 
8955
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296
8956
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9297
8957
   then
9298
8958
     # The compiler can only warn and ignore the option if not recognized
9299
8959
     # So say no if there are warnings
9300
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8960
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9301
8961
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9302
8962
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9303
8963
       lt_cv_prog_compiler_c_o=yes
9314
8974
   $RM conftest*
9315
8975
 
9316
8976
fi
9317
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9318
8978
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9319
8979
 
9320
8980
 
9323
8983
hard_links="nottested"
9324
8984
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9325
8985
  # do not overwrite the value of need_locks provided by the user
9326
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8986
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9327
8987
$as_echo_n "checking if we can lock with hard links... " >&6; }
9328
8988
  hard_links=yes
9329
8989
  $RM conftest*
9331
8991
  touch conftest.a
9332
8992
  ln conftest.a conftest.b 2>&5 || hard_links=no
9333
8993
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9334
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8994
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9335
8995
$as_echo "$hard_links" >&6; }
9336
8996
  if test "$hard_links" = no; then
9337
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8997
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9338
8998
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9339
8999
    need_locks=warn
9340
9000
  fi
9347
9007
 
9348
9008
 
9349
9009
 
9350
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9010
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9351
9011
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9352
9012
 
9353
9013
  runpath_var=
9410
9070
  esac
9411
9071
 
9412
9072
  ld_shlibs=yes
 
9073
 
 
9074
  # On some targets, GNU ld is compatible enough with the native linker
 
9075
  # that we're better off using the native interface for both.
 
9076
  lt_use_gnu_ld_interface=no
9413
9077
  if test "$with_gnu_ld" = yes; then
 
9078
    case $host_os in
 
9079
      aix*)
 
9080
        # The AIX port of GNU ld has always aspired to compatibility
 
9081
        # with the native linker.  However, as the warning in the GNU ld
 
9082
        # block says, versions before 2.19.5* couldn't really create working
 
9083
        # shared libraries, regardless of the interface used.
 
9084
        case `$LD -v 2>&1` in
 
9085
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9086
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9087
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9088
          *)
 
9089
            lt_use_gnu_ld_interface=yes
 
9090
            ;;
 
9091
        esac
 
9092
        ;;
 
9093
      *)
 
9094
        lt_use_gnu_ld_interface=yes
 
9095
        ;;
 
9096
    esac
 
9097
  fi
 
9098
 
 
9099
  if test "$lt_use_gnu_ld_interface" = yes; then
9414
9100
    # If archive_cmds runs LD, not CC, wlarc should be empty
9415
9101
    wlarc='${wl}'
9416
9102
 
9428
9114
    fi
9429
9115
    supports_anon_versioning=no
9430
9116
    case `$LD -v 2>&1` in
 
9117
      *GNU\ gold*) supports_anon_versioning=yes ;;
9431
9118
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9432
9119
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9433
9120
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9443
9130
        ld_shlibs=no
9444
9131
        cat <<_LT_EOF 1>&2
9445
9132
 
9446
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9133
*** Warning: the GNU linker, at least up to release 2.19, is reported
9447
9134
*** to be unable to reliably create shared libraries on AIX.
9448
9135
*** Therefore, libtool is disabling shared libraries support.  If you
9449
 
*** really care for shared libraries, you may want to modify your PATH
9450
 
*** so that a non-GNU linker is found, and then restart.
 
9136
*** really care for shared libraries, you may want to install binutils
 
9137
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9138
*** You will then need to restart the configuration process.
9451
9139
 
9452
9140
_LT_EOF
9453
9141
      fi
9483
9171
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9484
9172
      # as there is no search path for DLLs.
9485
9173
      hardcode_libdir_flag_spec='-L$libdir'
 
9174
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9486
9175
      allow_undefined_flag=unsupported
9487
9176
      always_export_symbols=no
9488
9177
      enable_shared_with_static_runtimes=yes
9489
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9178
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9179
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9490
9180
 
9491
9181
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9492
9182
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9504
9194
      fi
9505
9195
      ;;
9506
9196
 
 
9197
    haiku*)
 
9198
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9199
      link_all_deplibs=yes
 
9200
      ;;
 
9201
 
9507
9202
    interix[3-9]*)
9508
9203
      hardcode_direct=no
9509
9204
      hardcode_shlibpath_var=no
9519
9214
      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'
9520
9215
      ;;
9521
9216
 
9522
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9217
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9523
9218
      tmp_diet=no
9524
9219
      if test "$host_os" = linux-dietlibc; then
9525
9220
        case $cc_basename in
9529
9224
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9530
9225
         && test "$tmp_diet" = no
9531
9226
      then
9532
 
        tmp_addflag=
 
9227
        tmp_addflag=' $pic_flag'
9533
9228
        tmp_sharedflag='-shared'
9534
9229
        case $cc_basename,$host_cpu in
9535
9230
        pgcc*)                          # Portland Group C compiler
9536
 
          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'
 
9231
          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'
9537
9232
          tmp_addflag=' $pic_flag'
9538
9233
          ;;
9539
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9540
 
          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'
 
9234
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9235
                                        # Portland Group f77 and f90 compilers
 
9236
          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'
9541
9237
          tmp_addflag=' $pic_flag -Mnomain' ;;
9542
9238
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9543
9239
          tmp_addflag=' -i_dynamic' ;;
9548
9244
        lf95*)                          # Lahey Fortran 8.1
9549
9245
          whole_archive_flag_spec=
9550
9246
          tmp_sharedflag='--shared' ;;
9551
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9247
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9552
9248
          tmp_sharedflag='-qmkshrobj'
9553
9249
          tmp_addflag= ;;
 
9250
        nvcc*)  # Cuda Compiler Driver 2.2
 
9251
          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'
 
9252
          compiler_needs_object=yes
 
9253
          ;;
9554
9254
        esac
9555
9255
        case `$CC -V 2>&1 | sed 5q` in
9556
9256
        *Sun\ C*)                       # Sun C 5.9
9557
 
          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'
 
9257
          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'
9558
9258
          compiler_needs_object=yes
9559
9259
          tmp_sharedflag='-G' ;;
9560
9260
        *Sun\ F*)                       # Sun Fortran 8.3
9570
9270
        fi
9571
9271
 
9572
9272
        case $cc_basename in
9573
 
        xlf*)
 
9273
        xlf* | bgf* | bgxlf* | mpixlf*)
9574
9274
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9575
9275
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9576
9276
          hardcode_libdir_flag_spec=
9577
9277
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9578
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9278
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9579
9279
          if test "x$supports_anon_versioning" = xyes; then
9580
9280
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9581
9281
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9582
9282
              echo "local: *; };" >> $output_objdir/$libname.ver~
9583
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9283
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9584
9284
          fi
9585
9285
          ;;
9586
9286
        esac
9594
9294
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9595
9295
        wlarc=
9596
9296
      else
9597
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9598
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9297
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9298
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9599
9299
      fi
9600
9300
      ;;
9601
9301
 
9613
9313
 
9614
9314
_LT_EOF
9615
9315
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9616
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9617
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9316
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9317
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9618
9318
      else
9619
9319
        ld_shlibs=no
9620
9320
      fi
9660
9360
 
9661
9361
    *)
9662
9362
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9663
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9363
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9364
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9665
9365
      else
9666
9366
        ld_shlibs=no
9667
9367
      fi
9701
9401
      else
9702
9402
        # If we're using GNU nm, then we don't want the "-C" option.
9703
9403
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9404
        # Also, AIX nm treats weak defined symbols like other global
 
9405
        # defined symbols, whereas GNU nm marks them as "W".
9704
9406
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9705
 
          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'
 
9407
          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'
9706
9408
        else
9707
9409
          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'
9708
9410
        fi
9789
9491
        allow_undefined_flag='-berok'
9790
9492
        # Determine the default libpath from the value encoded in an
9791
9493
        # empty executable.
9792
 
        cat >conftest.$ac_ext <<_ACEOF
9793
 
/* confdefs.h.  */
9794
 
_ACEOF
9795
 
cat confdefs.h >>conftest.$ac_ext
9796
 
cat >>conftest.$ac_ext <<_ACEOF
 
9494
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9495
  aix_libpath=$lt_cv_aix_libpath
 
9496
else
 
9497
  if ${lt_cv_aix_libpath_+:} false; then :
 
9498
  $as_echo_n "(cached) " >&6
 
9499
else
 
9500
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797
9501
/* end confdefs.h.  */
9798
9502
 
9799
9503
int
9804
9508
  return 0;
9805
9509
}
9806
9510
_ACEOF
9807
 
rm -f conftest.$ac_objext conftest$ac_exeext
9808
 
if { (ac_try="$ac_link"
9809
 
case "(($ac_try" in
9810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811
 
  *) ac_try_echo=$ac_try;;
9812
 
esac
9813
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9814
 
$as_echo "$ac_try_echo") >&5
9815
 
  (eval "$ac_link") 2>conftest.er1
9816
 
  ac_status=$?
9817
 
  grep -v '^ *+' conftest.er1 >conftest.err
9818
 
  rm -f conftest.er1
9819
 
  cat conftest.err >&5
9820
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821
 
  (exit $ac_status); } && {
9822
 
         test -z "$ac_c_werror_flag" ||
9823
 
         test ! -s conftest.err
9824
 
       } && test -s conftest$ac_exeext && {
9825
 
         test "$cross_compiling" = yes ||
9826
 
         $as_test_x conftest$ac_exeext
9827
 
       }; then
9828
 
 
9829
 
lt_aix_libpath_sed='
9830
 
    /Import File Strings/,/^$/ {
9831
 
        /^0/ {
9832
 
            s/^0  *\(.*\)$/\1/
9833
 
            p
9834
 
        }
9835
 
    }'
9836
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9837
 
# Check for a 64-bit object if we didn't find anything.
9838
 
if test -z "$aix_libpath"; then
9839
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9840
 
fi
9841
 
else
9842
 
  $as_echo "$as_me: failed program was:" >&5
9843
 
sed 's/^/| /' conftest.$ac_ext >&5
9844
 
 
9845
 
 
9846
 
fi
9847
 
 
9848
 
rm -rf conftest.dSYM
9849
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9850
 
      conftest$ac_exeext conftest.$ac_ext
9851
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9511
if ac_fn_c_try_link "$LINENO"; then :
 
9512
 
 
9513
  lt_aix_libpath_sed='
 
9514
      /Import File Strings/,/^$/ {
 
9515
          /^0/ {
 
9516
              s/^0  *\([^ ]*\) *$/\1/
 
9517
              p
 
9518
          }
 
9519
      }'
 
9520
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9521
  # Check for a 64-bit object if we didn't find anything.
 
9522
  if test -z "$lt_cv_aix_libpath_"; then
 
9523
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9524
  fi
 
9525
fi
 
9526
rm -f core conftest.err conftest.$ac_objext \
 
9527
    conftest$ac_exeext conftest.$ac_ext
 
9528
  if test -z "$lt_cv_aix_libpath_"; then
 
9529
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9530
  fi
 
9531
 
 
9532
fi
 
9533
 
 
9534
  aix_libpath=$lt_cv_aix_libpath_
 
9535
fi
9852
9536
 
9853
9537
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9854
 
        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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9538
        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"
9855
9539
      else
9856
9540
        if test "$host_cpu" = ia64; then
9857
9541
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9860
9544
        else
9861
9545
         # Determine the default libpath from the value encoded in an
9862
9546
         # empty executable.
9863
 
         cat >conftest.$ac_ext <<_ACEOF
9864
 
/* confdefs.h.  */
9865
 
_ACEOF
9866
 
cat confdefs.h >>conftest.$ac_ext
9867
 
cat >>conftest.$ac_ext <<_ACEOF
 
9547
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9548
  aix_libpath=$lt_cv_aix_libpath
 
9549
else
 
9550
  if ${lt_cv_aix_libpath_+:} false; then :
 
9551
  $as_echo_n "(cached) " >&6
 
9552
else
 
9553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868
9554
/* end confdefs.h.  */
9869
9555
 
9870
9556
int
9875
9561
  return 0;
9876
9562
}
9877
9563
_ACEOF
9878
 
rm -f conftest.$ac_objext conftest$ac_exeext
9879
 
if { (ac_try="$ac_link"
9880
 
case "(($ac_try" in
9881
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9882
 
  *) ac_try_echo=$ac_try;;
9883
 
esac
9884
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9885
 
$as_echo "$ac_try_echo") >&5
9886
 
  (eval "$ac_link") 2>conftest.er1
9887
 
  ac_status=$?
9888
 
  grep -v '^ *+' conftest.er1 >conftest.err
9889
 
  rm -f conftest.er1
9890
 
  cat conftest.err >&5
9891
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892
 
  (exit $ac_status); } && {
9893
 
         test -z "$ac_c_werror_flag" ||
9894
 
         test ! -s conftest.err
9895
 
       } && test -s conftest$ac_exeext && {
9896
 
         test "$cross_compiling" = yes ||
9897
 
         $as_test_x conftest$ac_exeext
9898
 
       }; then
9899
 
 
9900
 
lt_aix_libpath_sed='
9901
 
    /Import File Strings/,/^$/ {
9902
 
        /^0/ {
9903
 
            s/^0  *\(.*\)$/\1/
9904
 
            p
9905
 
        }
9906
 
    }'
9907
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9908
 
# Check for a 64-bit object if we didn't find anything.
9909
 
if test -z "$aix_libpath"; then
9910
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9911
 
fi
9912
 
else
9913
 
  $as_echo "$as_me: failed program was:" >&5
9914
 
sed 's/^/| /' conftest.$ac_ext >&5
9915
 
 
9916
 
 
9917
 
fi
9918
 
 
9919
 
rm -rf conftest.dSYM
9920
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9921
 
      conftest$ac_exeext conftest.$ac_ext
9922
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9564
if ac_fn_c_try_link "$LINENO"; then :
 
9565
 
 
9566
  lt_aix_libpath_sed='
 
9567
      /Import File Strings/,/^$/ {
 
9568
          /^0/ {
 
9569
              s/^0  *\([^ ]*\) *$/\1/
 
9570
              p
 
9571
          }
 
9572
      }'
 
9573
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9574
  # Check for a 64-bit object if we didn't find anything.
 
9575
  if test -z "$lt_cv_aix_libpath_"; then
 
9576
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9577
  fi
 
9578
fi
 
9579
rm -f core conftest.err conftest.$ac_objext \
 
9580
    conftest$ac_exeext conftest.$ac_ext
 
9581
  if test -z "$lt_cv_aix_libpath_"; then
 
9582
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9583
  fi
 
9584
 
 
9585
fi
 
9586
 
 
9587
  aix_libpath=$lt_cv_aix_libpath_
 
9588
fi
9923
9589
 
9924
9590
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9925
9591
          # Warning - without using the other run time loading flags,
9926
9592
          # -berok will link without error, but may produce a broken library.
9927
9593
          no_undefined_flag=' ${wl}-bernotok'
9928
9594
          allow_undefined_flag=' ${wl}-berok'
9929
 
          # Exported symbols can be pulled into shared objects from archives
9930
 
          whole_archive_flag_spec='$convenience'
 
9595
          if test "$with_gnu_ld" = yes; then
 
9596
            # We only use this code for GNU lds that support --whole-archive.
 
9597
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9598
          else
 
9599
            # Exported symbols can be pulled into shared objects from archives
 
9600
            whole_archive_flag_spec='$convenience'
 
9601
          fi
9931
9602
          archive_cmds_need_lc=yes
9932
9603
          # This is similar to how AIX traditionally builds its shared libraries.
9933
9604
          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'
9959
9630
      # Microsoft Visual C++.
9960
9631
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9961
9632
      # no search path for DLLs.
9962
 
      hardcode_libdir_flag_spec=' '
9963
 
      allow_undefined_flag=unsupported
9964
 
      # Tell ltmain to make .lib files, not .a files.
9965
 
      libext=lib
9966
 
      # Tell ltmain to make .dll files, not .so files.
9967
 
      shrext_cmds=".dll"
9968
 
      # FIXME: Setting linknames here is a bad hack.
9969
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9970
 
      # The linker will automatically build a .lib file if we build a DLL.
9971
 
      old_archive_from_new_cmds='true'
9972
 
      # FIXME: Should let the user specify the lib program.
9973
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9974
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9975
 
      enable_shared_with_static_runtimes=yes
 
9633
      case $cc_basename in
 
9634
      cl*)
 
9635
        # Native MSVC
 
9636
        hardcode_libdir_flag_spec=' '
 
9637
        allow_undefined_flag=unsupported
 
9638
        always_export_symbols=yes
 
9639
        file_list_spec='@'
 
9640
        # Tell ltmain to make .lib files, not .a files.
 
9641
        libext=lib
 
9642
        # Tell ltmain to make .dll files, not .so files.
 
9643
        shrext_cmds=".dll"
 
9644
        # FIXME: Setting linknames here is a bad hack.
 
9645
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9646
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9647
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9648
          else
 
9649
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9650
          fi~
 
9651
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9652
          linknames='
 
9653
        # The linker will not automatically build a static lib if we build a DLL.
 
9654
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9655
        enable_shared_with_static_runtimes=yes
 
9656
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9657
        # Don't use ranlib
 
9658
        old_postinstall_cmds='chmod 644 $oldlib'
 
9659
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9660
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9661
          case $lt_outputfile in
 
9662
            *.exe|*.EXE) ;;
 
9663
            *)
 
9664
              lt_outputfile="$lt_outputfile.exe"
 
9665
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9666
              ;;
 
9667
          esac~
 
9668
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9669
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9670
            $RM "$lt_outputfile.manifest";
 
9671
          fi'
 
9672
        ;;
 
9673
      *)
 
9674
        # Assume MSVC wrapper
 
9675
        hardcode_libdir_flag_spec=' '
 
9676
        allow_undefined_flag=unsupported
 
9677
        # Tell ltmain to make .lib files, not .a files.
 
9678
        libext=lib
 
9679
        # Tell ltmain to make .dll files, not .so files.
 
9680
        shrext_cmds=".dll"
 
9681
        # FIXME: Setting linknames here is a bad hack.
 
9682
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9683
        # The linker will automatically build a .lib file if we build a DLL.
 
9684
        old_archive_from_new_cmds='true'
 
9685
        # FIXME: Should let the user specify the lib program.
 
9686
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9687
        enable_shared_with_static_runtimes=yes
 
9688
        ;;
 
9689
      esac
9976
9690
      ;;
9977
9691
 
9978
9692
    darwin* | rhapsody*)
9982
9696
  hardcode_direct=no
9983
9697
  hardcode_automatic=yes
9984
9698
  hardcode_shlibpath_var=unsupported
9985
 
  whole_archive_flag_spec=''
 
9699
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9700
    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\"`'
 
9701
  else
 
9702
    whole_archive_flag_spec=''
 
9703
  fi
9986
9704
  link_all_deplibs=yes
9987
9705
  allow_undefined_flag="$_lt_dar_allow_undefined"
9988
9706
  case $cc_basename in
9990
9708
     *) _lt_dar_can_shared=$GCC ;;
9991
9709
  esac
9992
9710
  if test "$_lt_dar_can_shared" = "yes"; then
9993
 
    output_verbose_link_cmd=echo
 
9711
    output_verbose_link_cmd=func_echo_all
9994
9712
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9995
9713
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9996
9714
    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}"
10033
9751
 
10034
9752
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10035
9753
    freebsd* | dragonfly*)
10036
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9754
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10037
9755
      hardcode_libdir_flag_spec='-R$libdir'
10038
9756
      hardcode_direct=yes
10039
9757
      hardcode_shlibpath_var=no
10041
9759
 
10042
9760
    hpux9*)
10043
9761
      if test "$GCC" = yes; then
10044
 
        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'
 
9762
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10045
9763
      else
10046
9764
        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'
10047
9765
      fi
10056
9774
      ;;
10057
9775
 
10058
9776
    hpux10*)
10059
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10060
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9777
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9778
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10061
9779
      else
10062
9780
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10063
9781
      fi
10075
9793
      ;;
10076
9794
 
10077
9795
    hpux11*)
10078
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9796
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10079
9797
        case $host_cpu in
10080
9798
        hppa*64*)
10081
9799
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10082
9800
          ;;
10083
9801
        ia64*)
10084
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9802
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10085
9803
          ;;
10086
9804
        *)
10087
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9805
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10088
9806
          ;;
10089
9807
        esac
10090
9808
      else
10096
9814
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10097
9815
          ;;
10098
9816
        *)
10099
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9817
 
 
9818
          # Older versions of the 11.00 compiler do not understand -b yet
 
9819
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9820
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9821
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9822
if ${lt_cv_prog_compiler__b+:} false; then :
 
9823
  $as_echo_n "(cached) " >&6
 
9824
else
 
9825
  lt_cv_prog_compiler__b=no
 
9826
   save_LDFLAGS="$LDFLAGS"
 
9827
   LDFLAGS="$LDFLAGS -b"
 
9828
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9829
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9830
     # The linker can only warn and ignore the option if not recognized
 
9831
     # So say no if there are warnings
 
9832
     if test -s conftest.err; then
 
9833
       # Append any errors to the config.log.
 
9834
       cat conftest.err 1>&5
 
9835
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9836
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9837
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9838
         lt_cv_prog_compiler__b=yes
 
9839
       fi
 
9840
     else
 
9841
       lt_cv_prog_compiler__b=yes
 
9842
     fi
 
9843
   fi
 
9844
   $RM -r conftest*
 
9845
   LDFLAGS="$save_LDFLAGS"
 
9846
 
 
9847
fi
 
9848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9849
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9850
 
 
9851
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9852
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9853
else
 
9854
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9855
fi
 
9856
 
10100
9857
          ;;
10101
9858
        esac
10102
9859
      fi
10124
9881
 
10125
9882
    irix5* | irix6* | nonstopux*)
10126
9883
      if test "$GCC" = yes; then
10127
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9884
        archive_cmds='$CC -shared $pic_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'
10128
9885
        # Try to use the -exported_symbol ld option, if it does not
10129
9886
        # work, assume that -exports_file does not work either and
10130
9887
        # implicitly export all symbols.
10131
 
        save_LDFLAGS="$LDFLAGS"
10132
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10133
 
        cat >conftest.$ac_ext <<_ACEOF
10134
 
int foo(void) {}
 
9888
        # This should be the same for all languages, so no per-tag cache variable.
 
9889
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9890
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9891
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9892
  $as_echo_n "(cached) " >&6
 
9893
else
 
9894
  save_LDFLAGS="$LDFLAGS"
 
9895
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9896
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9897
/* end confdefs.h.  */
 
9898
int foo (void) { return 0; }
10135
9899
_ACEOF
10136
 
rm -f conftest.$ac_objext conftest$ac_exeext
10137
 
if { (ac_try="$ac_link"
10138
 
case "(($ac_try" in
10139
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10140
 
  *) ac_try_echo=$ac_try;;
10141
 
esac
10142
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10143
 
$as_echo "$ac_try_echo") >&5
10144
 
  (eval "$ac_link") 2>conftest.er1
10145
 
  ac_status=$?
10146
 
  grep -v '^ *+' conftest.er1 >conftest.err
10147
 
  rm -f conftest.er1
10148
 
  cat conftest.err >&5
10149
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150
 
  (exit $ac_status); } && {
10151
 
         test -z "$ac_c_werror_flag" ||
10152
 
         test ! -s conftest.err
10153
 
       } && test -s conftest$ac_exeext && {
10154
 
         test "$cross_compiling" = yes ||
10155
 
         $as_test_x conftest$ac_exeext
10156
 
       }; then
10157
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10158
 
 
 
9900
if ac_fn_c_try_link "$LINENO"; then :
 
9901
  lt_cv_irix_exported_symbol=yes
10159
9902
else
10160
 
  $as_echo "$as_me: failed program was:" >&5
10161
 
sed 's/^/| /' conftest.$ac_ext >&5
10162
 
 
10163
 
 
10164
 
fi
10165
 
 
10166
 
rm -rf conftest.dSYM
10167
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10168
 
      conftest$ac_exeext conftest.$ac_ext
10169
 
        LDFLAGS="$save_LDFLAGS"
 
9903
  lt_cv_irix_exported_symbol=no
 
9904
fi
 
9905
rm -f core conftest.err conftest.$ac_objext \
 
9906
    conftest$ac_exeext conftest.$ac_ext
 
9907
           LDFLAGS="$save_LDFLAGS"
 
9908
fi
 
9909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9910
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9911
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9912
          archive_expsym_cmds='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9913
        fi
10170
9914
      else
10171
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10172
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9915
        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'
 
9916
        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'
10173
9917
      fi
10174
9918
      archive_cmds_need_lc='no'
10175
9919
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10231
9975
      hardcode_libdir_flag_spec='-L$libdir'
10232
9976
      hardcode_minus_L=yes
10233
9977
      allow_undefined_flag=unsupported
10234
 
      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'
 
9978
      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'
10235
9979
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10236
9980
      ;;
10237
9981
 
10238
9982
    osf3*)
10239
9983
      if test "$GCC" = yes; then
10240
9984
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10241
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9985
        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'
10242
9986
      else
10243
9987
        allow_undefined_flag=' -expect_unresolved \*'
10244
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9988
        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'
10245
9989
      fi
10246
9990
      archive_cmds_need_lc='no'
10247
9991
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10251
9995
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10252
9996
      if test "$GCC" = yes; then
10253
9997
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10254
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9998
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_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'
10255
9999
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10256
10000
      else
10257
10001
        allow_undefined_flag=' -expect_unresolved \*'
10258
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10002
        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'
10259
10003
        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~
10260
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
10004
        $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'
10261
10005
 
10262
10006
        # Both c and cxx compiler support -rpath directly
10263
10007
        hardcode_libdir_flag_spec='-rpath $libdir'
10270
10014
      no_undefined_flag=' -z defs'
10271
10015
      if test "$GCC" = yes; then
10272
10016
        wlarc='${wl}'
10273
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10017
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10274
10018
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10275
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10019
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10276
10020
      else
10277
10021
        case `$CC -V 2>&1` in
10278
10022
        *"Compilers 5.0"*)
10421
10165
    fi
10422
10166
  fi
10423
10167
 
10424
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10425
10169
$as_echo "$ld_shlibs" >&6; }
10426
10170
test "$ld_shlibs" = no && can_build_shared=no
10427
10171
 
10458
10202
      # Test whether the compiler implicitly links with -lc since on some
10459
10203
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10460
10204
      # to ld, don't add -lc before -lgcc.
10461
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10205
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10462
10206
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10463
 
      $RM conftest*
10464
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10207
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10208
  $as_echo_n "(cached) " >&6
 
10209
else
 
10210
  $RM conftest*
 
10211
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10465
10212
 
10466
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10213
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10467
10214
  (eval $ac_compile) 2>&5
10468
10215
  ac_status=$?
10469
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470
 
  (exit $ac_status); } 2>conftest.err; then
10471
 
        soname=conftest
10472
 
        lib=conftest
10473
 
        libobjs=conftest.$ac_objext
10474
 
        deplibs=
10475
 
        wl=$lt_prog_compiler_wl
10476
 
        pic_flag=$lt_prog_compiler_pic
10477
 
        compiler_flags=-v
10478
 
        linker_flags=-v
10479
 
        verstring=
10480
 
        output_objdir=.
10481
 
        libname=conftest
10482
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10483
 
        allow_undefined_flag=
10484
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10216
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10217
  test $ac_status = 0; } 2>conftest.err; then
 
10218
          soname=conftest
 
10219
          lib=conftest
 
10220
          libobjs=conftest.$ac_objext
 
10221
          deplibs=
 
10222
          wl=$lt_prog_compiler_wl
 
10223
          pic_flag=$lt_prog_compiler_pic
 
10224
          compiler_flags=-v
 
10225
          linker_flags=-v
 
10226
          verstring=
 
10227
          output_objdir=.
 
10228
          libname=conftest
 
10229
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10230
          allow_undefined_flag=
 
10231
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10485
10232
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10486
10233
  ac_status=$?
10487
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488
 
  (exit $ac_status); }
10489
 
        then
10490
 
          archive_cmds_need_lc=no
10491
 
        else
10492
 
          archive_cmds_need_lc=yes
10493
 
        fi
10494
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10495
 
      else
10496
 
        cat conftest.err 1>&5
10497
 
      fi
10498
 
      $RM conftest*
10499
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10500
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10234
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10235
  test $ac_status = 0; }
 
10236
          then
 
10237
            lt_cv_archive_cmds_need_lc=no
 
10238
          else
 
10239
            lt_cv_archive_cmds_need_lc=yes
 
10240
          fi
 
10241
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10242
        else
 
10243
          cat conftest.err 1>&5
 
10244
        fi
 
10245
        $RM conftest*
 
10246
 
 
10247
fi
 
10248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10249
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10250
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10501
10251
      ;;
10502
10252
    esac
10503
10253
  fi
10660
10410
 
10661
10411
 
10662
10412
 
10663
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10413
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10664
10414
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10665
10415
 
10666
10416
if test "$GCC" = yes; then
10668
10418
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10669
10419
    *) lt_awk_arg="/^libraries:/" ;;
10670
10420
  esac
10671
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10672
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10421
  case $host_os in
 
10422
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10423
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10424
  esac
 
10425
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10426
  case $lt_search_path_spec in
 
10427
  *\;*)
10673
10428
    # if the path contains ";" then we assume it to be the separator
10674
10429
    # otherwise default to the standard path separator (i.e. ":") - it is
10675
10430
    # assumed that no part of a normal pathname contains ";" but that should
10676
10431
    # okay in the real world where ";" in dirpaths is itself problematic.
10677
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10678
 
  else
10679
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10680
 
  fi
 
10432
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10433
    ;;
 
10434
  *)
 
10435
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10436
    ;;
 
10437
  esac
10681
10438
  # Ok, now we have the path, separated by spaces, we can step through it
10682
10439
  # and add multilib dir if necessary.
10683
10440
  lt_tmp_lt_search_path_spec=
10690
10447
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10691
10448
    fi
10692
10449
  done
10693
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10450
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10694
10451
BEGIN {RS=" "; FS="/|\n";} {
10695
10452
  lt_foo="";
10696
10453
  lt_count=0;
10710
10467
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10711
10468
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10712
10469
}'`
10713
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10470
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10471
  # for these hosts.
 
10472
  case $host_os in
 
10473
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10474
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10475
  esac
 
10476
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10714
10477
else
10715
10478
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10716
10479
fi
10798
10561
  m68k)
10799
10562
    library_names_spec='$libname.ixlibrary $libname.a'
10800
10563
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10801
 
    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'
 
10564
    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'
10802
10565
    ;;
10803
10566
  esac
10804
10567
  ;;
10829
10592
  need_version=no
10830
10593
  need_lib_prefix=no
10831
10594
 
10832
 
  case $GCC,$host_os in
10833
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10595
  case $GCC,$cc_basename in
 
10596
  yes,*)
 
10597
    # gcc
10834
10598
    library_names_spec='$libname.dll.a'
10835
10599
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10836
10600
    postinstall_cmds='base_file=`basename \${file}`~
10851
10615
    cygwin*)
10852
10616
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10853
10617
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10854
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10618
 
 
10619
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10855
10620
      ;;
10856
10621
    mingw* | cegcc*)
10857
10622
      # MinGW DLLs use traditional 'lib' prefix
10858
10623
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10859
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10860
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10861
 
        # It is most probably a Windows format PATH printed by
10862
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10863
 
        # path with ; separators, and with drive letters. We can handle the
10864
 
        # drive letters (cygwin fileutils understands them), so leave them,
10865
 
        # especially as we might pass files found there to a mingw objdump,
10866
 
        # which wouldn't understand a cygwinified path. Ahh.
10867
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10868
 
      else
10869
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10870
 
      fi
10871
10624
      ;;
10872
10625
    pw32*)
10873
10626
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10874
10627
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10875
10628
      ;;
10876
10629
    esac
 
10630
    dynamic_linker='Win32 ld.exe'
 
10631
    ;;
 
10632
 
 
10633
  *,cl*)
 
10634
    # Native MSVC
 
10635
    libname_spec='$name'
 
10636
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10637
    library_names_spec='${libname}.dll.lib'
 
10638
 
 
10639
    case $build_os in
 
10640
    mingw*)
 
10641
      sys_lib_search_path_spec=
 
10642
      lt_save_ifs=$IFS
 
10643
      IFS=';'
 
10644
      for lt_path in $LIB
 
10645
      do
 
10646
        IFS=$lt_save_ifs
 
10647
        # Let DOS variable expansion print the short 8.3 style file name.
 
10648
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10649
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10650
      done
 
10651
      IFS=$lt_save_ifs
 
10652
      # Convert to MSYS style.
 
10653
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10654
      ;;
 
10655
    cygwin*)
 
10656
      # Convert to unix form, then to dos form, then back to unix form
 
10657
      # but this time dos style (no spaces!) so that the unix form looks
 
10658
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10659
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10660
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10661
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10662
      ;;
 
10663
    *)
 
10664
      sys_lib_search_path_spec="$LIB"
 
10665
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10666
        # It is most probably a Windows format PATH.
 
10667
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10668
      else
 
10669
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10670
      fi
 
10671
      # FIXME: find the short name or the path components, as spaces are
 
10672
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10673
      ;;
 
10674
    esac
 
10675
 
 
10676
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10677
    postinstall_cmds='base_file=`basename \${file}`~
 
10678
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10679
      dldir=$destdir/`dirname \$dlpath`~
 
10680
      test -d \$dldir || mkdir -p \$dldir~
 
10681
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10682
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10683
      dlpath=$dir/\$dldll~
 
10684
       $RM \$dlpath'
 
10685
    shlibpath_overrides_runpath=yes
 
10686
    dynamic_linker='Win32 link.exe'
10877
10687
    ;;
10878
10688
 
10879
10689
  *)
 
10690
    # Assume MSVC wrapper
10880
10691
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10692
    dynamic_linker='Win32 ld.exe'
10881
10693
    ;;
10882
10694
  esac
10883
 
  dynamic_linker='Win32 ld.exe'
10884
10695
  # FIXME: first we should search . and the directory the executable is in
10885
10696
  shlibpath_var=PATH
10886
10697
  ;;
10967
10778
  hardcode_into_libs=yes
10968
10779
  ;;
10969
10780
 
 
10781
haiku*)
 
10782
  version_type=linux
 
10783
  need_lib_prefix=no
 
10784
  need_version=no
 
10785
  dynamic_linker="$host_os runtime_loader"
 
10786
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10787
  soname_spec='${libname}${release}${shared_ext}$major'
 
10788
  shlibpath_var=LIBRARY_PATH
 
10789
  shlibpath_overrides_runpath=yes
 
10790
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10791
  hardcode_into_libs=yes
 
10792
  ;;
 
10793
 
10970
10794
hpux9* | hpux10* | hpux11*)
10971
10795
  # Give a soname corresponding to the major version so that dld.sl refuses to
10972
10796
  # link against other versions.
11009
10833
    soname_spec='${libname}${release}${shared_ext}$major'
11010
10834
    ;;
11011
10835
  esac
11012
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10836
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11013
10837
  postinstall_cmds='chmod 555 $lib'
 
10838
  # or fails outright, so override atomically:
 
10839
  install_override_mode=555
11014
10840
  ;;
11015
10841
 
11016
10842
interix[3-9]*)
11068
10894
  ;;
11069
10895
 
11070
10896
# This must be Linux ELF.
11071
 
linux* | k*bsd*-gnu)
 
10897
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11072
10898
  version_type=linux
11073
10899
  need_lib_prefix=no
11074
10900
  need_version=no
11077
10903
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11078
10904
  shlibpath_var=LD_LIBRARY_PATH
11079
10905
  shlibpath_overrides_runpath=no
 
10906
 
11080
10907
  # Some binutils ld are patched to set DT_RUNPATH
11081
 
  save_LDFLAGS=$LDFLAGS
11082
 
  save_libdir=$libdir
11083
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11084
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11085
 
  cat >conftest.$ac_ext <<_ACEOF
11086
 
/* confdefs.h.  */
11087
 
_ACEOF
11088
 
cat confdefs.h >>conftest.$ac_ext
11089
 
cat >>conftest.$ac_ext <<_ACEOF
 
10908
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10909
  $as_echo_n "(cached) " >&6
 
10910
else
 
10911
  lt_cv_shlibpath_overrides_runpath=no
 
10912
    save_LDFLAGS=$LDFLAGS
 
10913
    save_libdir=$libdir
 
10914
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10915
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10916
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090
10917
/* end confdefs.h.  */
11091
10918
 
11092
10919
int
11097
10924
  return 0;
11098
10925
}
11099
10926
_ACEOF
11100
 
rm -f conftest.$ac_objext conftest$ac_exeext
11101
 
if { (ac_try="$ac_link"
11102
 
case "(($ac_try" in
11103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11104
 
  *) ac_try_echo=$ac_try;;
11105
 
esac
11106
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11107
 
$as_echo "$ac_try_echo") >&5
11108
 
  (eval "$ac_link") 2>conftest.er1
11109
 
  ac_status=$?
11110
 
  grep -v '^ *+' conftest.er1 >conftest.err
11111
 
  rm -f conftest.er1
11112
 
  cat conftest.err >&5
11113
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114
 
  (exit $ac_status); } && {
11115
 
         test -z "$ac_c_werror_flag" ||
11116
 
         test ! -s conftest.err
11117
 
       } && test -s conftest$ac_exeext && {
11118
 
         test "$cross_compiling" = yes ||
11119
 
         $as_test_x conftest$ac_exeext
11120
 
       }; then
11121
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11122
 
  shlibpath_overrides_runpath=yes
11123
 
fi
11124
 
 
11125
 
else
11126
 
  $as_echo "$as_me: failed program was:" >&5
11127
 
sed 's/^/| /' conftest.$ac_ext >&5
11128
 
 
11129
 
 
11130
 
fi
11131
 
 
11132
 
rm -rf conftest.dSYM
11133
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11134
 
      conftest$ac_exeext conftest.$ac_ext
11135
 
  LDFLAGS=$save_LDFLAGS
11136
 
  libdir=$save_libdir
 
10927
if ac_fn_c_try_link "$LINENO"; then :
 
10928
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10929
  lt_cv_shlibpath_overrides_runpath=yes
 
10930
fi
 
10931
fi
 
10932
rm -f core conftest.err conftest.$ac_objext \
 
10933
    conftest$ac_exeext conftest.$ac_ext
 
10934
    LDFLAGS=$save_LDFLAGS
 
10935
    libdir=$save_libdir
 
10936
 
 
10937
fi
 
10938
 
 
10939
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11137
10940
 
11138
10941
  # This implies no fast_install, which is unacceptable.
11139
10942
  # Some rework will be needed to allow for fast_install
11145
10948
 
11146
10949
  # Append ld.so.conf contents to the search path
11147
10950
  if test -f /etc/ld.so.conf; then
11148
 
    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' ' '`
 
10951
    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' ' '`
11149
10952
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10953
 
11150
10954
  fi
11151
10955
 
11152
10956
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11346
11150
  dynamic_linker=no
11347
11151
  ;;
11348
11152
esac
11349
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11350
11154
$as_echo "$dynamic_linker" >&6; }
11351
11155
test "$dynamic_linker" = no && can_build_shared=no
11352
11156
 
11448
11252
 
11449
11253
 
11450
11254
 
11451
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11452
11261
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11453
11262
hardcode_action=
11454
11263
if test -n "$hardcode_libdir_flag_spec" ||
11473
11282
  # directories.
11474
11283
  hardcode_action=unsupported
11475
11284
fi
11476
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11477
11286
$as_echo "$hardcode_action" >&6; }
11478
11287
 
11479
11288
if test "$hardcode_action" = relink ||
11518
11327
 
11519
11328
  darwin*)
11520
11329
  # if libdl is installed we need to link against it
11521
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11330
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11522
11331
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11523
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11332
if ${ac_cv_lib_dl_dlopen+:} false; then :
11524
11333
  $as_echo_n "(cached) " >&6
11525
11334
else
11526
11335
  ac_check_lib_save_LIBS=$LIBS
11527
11336
LIBS="-ldl  $LIBS"
11528
 
cat >conftest.$ac_ext <<_ACEOF
11529
 
/* confdefs.h.  */
11530
 
_ACEOF
11531
 
cat confdefs.h >>conftest.$ac_ext
11532
 
cat >>conftest.$ac_ext <<_ACEOF
 
11337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533
11338
/* end confdefs.h.  */
11534
11339
 
11535
11340
/* Override any GCC internal prototype to avoid an error.
11547
11352
  return 0;
11548
11353
}
11549
11354
_ACEOF
11550
 
rm -f conftest.$ac_objext conftest$ac_exeext
11551
 
if { (ac_try="$ac_link"
11552
 
case "(($ac_try" in
11553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11554
 
  *) ac_try_echo=$ac_try;;
11555
 
esac
11556
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11557
 
$as_echo "$ac_try_echo") >&5
11558
 
  (eval "$ac_link") 2>conftest.er1
11559
 
  ac_status=$?
11560
 
  grep -v '^ *+' conftest.er1 >conftest.err
11561
 
  rm -f conftest.er1
11562
 
  cat conftest.err >&5
11563
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564
 
  (exit $ac_status); } && {
11565
 
         test -z "$ac_c_werror_flag" ||
11566
 
         test ! -s conftest.err
11567
 
       } && test -s conftest$ac_exeext && {
11568
 
         test "$cross_compiling" = yes ||
11569
 
         $as_test_x conftest$ac_exeext
11570
 
       }; then
 
11355
if ac_fn_c_try_link "$LINENO"; then :
11571
11356
  ac_cv_lib_dl_dlopen=yes
11572
11357
else
11573
 
  $as_echo "$as_me: failed program was:" >&5
11574
 
sed 's/^/| /' conftest.$ac_ext >&5
11575
 
 
11576
 
        ac_cv_lib_dl_dlopen=no
 
11358
  ac_cv_lib_dl_dlopen=no
11577
11359
fi
11578
 
 
11579
 
rm -rf conftest.dSYM
11580
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11581
 
      conftest$ac_exeext conftest.$ac_ext
 
11360
rm -f core conftest.err conftest.$ac_objext \
 
11361
    conftest$ac_exeext conftest.$ac_ext
11582
11362
LIBS=$ac_check_lib_save_LIBS
11583
11363
fi
11584
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11585
11365
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11586
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11366
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11587
11367
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11588
11368
else
11589
11369
 
11596
11376
    ;;
11597
11377
 
11598
11378
  *)
11599
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11600
 
$as_echo_n "checking for shl_load... " >&6; }
11601
 
if test "${ac_cv_func_shl_load+set}" = set; then
11602
 
  $as_echo_n "(cached) " >&6
11603
 
else
11604
 
  cat >conftest.$ac_ext <<_ACEOF
11605
 
/* confdefs.h.  */
11606
 
_ACEOF
11607
 
cat confdefs.h >>conftest.$ac_ext
11608
 
cat >>conftest.$ac_ext <<_ACEOF
11609
 
/* end confdefs.h.  */
11610
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11611
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11612
 
#define shl_load innocuous_shl_load
11613
 
 
11614
 
/* System header to define __stub macros and hopefully few prototypes,
11615
 
    which can conflict with char shl_load (); below.
11616
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11617
 
    <limits.h> exists even on freestanding compilers.  */
11618
 
 
11619
 
#ifdef __STDC__
11620
 
# include <limits.h>
11621
 
#else
11622
 
# include <assert.h>
11623
 
#endif
11624
 
 
11625
 
#undef shl_load
11626
 
 
11627
 
/* Override any GCC internal prototype to avoid an error.
11628
 
   Use char because int might match the return type of a GCC
11629
 
   builtin and then its argument prototype would still apply.  */
11630
 
#ifdef __cplusplus
11631
 
extern "C"
11632
 
#endif
11633
 
char shl_load ();
11634
 
/* The GNU C library defines this for functions which it implements
11635
 
    to always fail with ENOSYS.  Some functions are actually named
11636
 
    something starting with __ and the normal name is an alias.  */
11637
 
#if defined __stub_shl_load || defined __stub___shl_load
11638
 
choke me
11639
 
#endif
11640
 
 
11641
 
int
11642
 
main ()
11643
 
{
11644
 
return shl_load ();
11645
 
  ;
11646
 
  return 0;
11647
 
}
11648
 
_ACEOF
11649
 
rm -f conftest.$ac_objext conftest$ac_exeext
11650
 
if { (ac_try="$ac_link"
11651
 
case "(($ac_try" in
11652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11653
 
  *) ac_try_echo=$ac_try;;
11654
 
esac
11655
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11656
 
$as_echo "$ac_try_echo") >&5
11657
 
  (eval "$ac_link") 2>conftest.er1
11658
 
  ac_status=$?
11659
 
  grep -v '^ *+' conftest.er1 >conftest.err
11660
 
  rm -f conftest.er1
11661
 
  cat conftest.err >&5
11662
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663
 
  (exit $ac_status); } && {
11664
 
         test -z "$ac_c_werror_flag" ||
11665
 
         test ! -s conftest.err
11666
 
       } && test -s conftest$ac_exeext && {
11667
 
         test "$cross_compiling" = yes ||
11668
 
         $as_test_x conftest$ac_exeext
11669
 
       }; then
11670
 
  ac_cv_func_shl_load=yes
11671
 
else
11672
 
  $as_echo "$as_me: failed program was:" >&5
11673
 
sed 's/^/| /' conftest.$ac_ext >&5
11674
 
 
11675
 
        ac_cv_func_shl_load=no
11676
 
fi
11677
 
 
11678
 
rm -rf conftest.dSYM
11679
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11680
 
      conftest$ac_exeext conftest.$ac_ext
11681
 
fi
11682
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11683
 
$as_echo "$ac_cv_func_shl_load" >&6; }
11684
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11379
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11380
if test "x$ac_cv_func_shl_load" = xyes; then :
11685
11381
  lt_cv_dlopen="shl_load"
11686
11382
else
11687
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11383
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11688
11384
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11689
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11385
if ${ac_cv_lib_dld_shl_load+:} false; then :
11690
11386
  $as_echo_n "(cached) " >&6
11691
11387
else
11692
11388
  ac_check_lib_save_LIBS=$LIBS
11693
11389
LIBS="-ldld  $LIBS"
11694
 
cat >conftest.$ac_ext <<_ACEOF
11695
 
/* confdefs.h.  */
11696
 
_ACEOF
11697
 
cat confdefs.h >>conftest.$ac_ext
11698
 
cat >>conftest.$ac_ext <<_ACEOF
 
11390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11699
11391
/* end confdefs.h.  */
11700
11392
 
11701
11393
/* Override any GCC internal prototype to avoid an error.
11713
11405
  return 0;
11714
11406
}
11715
11407
_ACEOF
11716
 
rm -f conftest.$ac_objext conftest$ac_exeext
11717
 
if { (ac_try="$ac_link"
11718
 
case "(($ac_try" in
11719
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11720
 
  *) ac_try_echo=$ac_try;;
11721
 
esac
11722
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11723
 
$as_echo "$ac_try_echo") >&5
11724
 
  (eval "$ac_link") 2>conftest.er1
11725
 
  ac_status=$?
11726
 
  grep -v '^ *+' conftest.er1 >conftest.err
11727
 
  rm -f conftest.er1
11728
 
  cat conftest.err >&5
11729
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730
 
  (exit $ac_status); } && {
11731
 
         test -z "$ac_c_werror_flag" ||
11732
 
         test ! -s conftest.err
11733
 
       } && test -s conftest$ac_exeext && {
11734
 
         test "$cross_compiling" = yes ||
11735
 
         $as_test_x conftest$ac_exeext
11736
 
       }; then
 
11408
if ac_fn_c_try_link "$LINENO"; then :
11737
11409
  ac_cv_lib_dld_shl_load=yes
11738
11410
else
11739
 
  $as_echo "$as_me: failed program was:" >&5
11740
 
sed 's/^/| /' conftest.$ac_ext >&5
11741
 
 
11742
 
        ac_cv_lib_dld_shl_load=no
 
11411
  ac_cv_lib_dld_shl_load=no
11743
11412
fi
11744
 
 
11745
 
rm -rf conftest.dSYM
11746
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11747
 
      conftest$ac_exeext conftest.$ac_ext
 
11413
rm -f core conftest.err conftest.$ac_objext \
 
11414
    conftest$ac_exeext conftest.$ac_ext
11748
11415
LIBS=$ac_check_lib_save_LIBS
11749
11416
fi
11750
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11751
11418
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11752
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11419
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11753
11420
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11754
11421
else
11755
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11756
 
$as_echo_n "checking for dlopen... " >&6; }
11757
 
if test "${ac_cv_func_dlopen+set}" = set; then
11758
 
  $as_echo_n "(cached) " >&6
11759
 
else
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
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11767
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11768
 
#define dlopen innocuous_dlopen
11769
 
 
11770
 
/* System header to define __stub macros and hopefully few prototypes,
11771
 
    which can conflict with char dlopen (); below.
11772
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11773
 
    <limits.h> exists even on freestanding compilers.  */
11774
 
 
11775
 
#ifdef __STDC__
11776
 
# include <limits.h>
11777
 
#else
11778
 
# include <assert.h>
11779
 
#endif
11780
 
 
11781
 
#undef dlopen
11782
 
 
11783
 
/* Override any GCC internal prototype to avoid an error.
11784
 
   Use char because int might match the return type of a GCC
11785
 
   builtin and then its argument prototype would still apply.  */
11786
 
#ifdef __cplusplus
11787
 
extern "C"
11788
 
#endif
11789
 
char dlopen ();
11790
 
/* The GNU C library defines this for functions which it implements
11791
 
    to always fail with ENOSYS.  Some functions are actually named
11792
 
    something starting with __ and the normal name is an alias.  */
11793
 
#if defined __stub_dlopen || defined __stub___dlopen
11794
 
choke me
11795
 
#endif
11796
 
 
11797
 
int
11798
 
main ()
11799
 
{
11800
 
return dlopen ();
11801
 
  ;
11802
 
  return 0;
11803
 
}
11804
 
_ACEOF
11805
 
rm -f conftest.$ac_objext conftest$ac_exeext
11806
 
if { (ac_try="$ac_link"
11807
 
case "(($ac_try" in
11808
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11809
 
  *) ac_try_echo=$ac_try;;
11810
 
esac
11811
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11812
 
$as_echo "$ac_try_echo") >&5
11813
 
  (eval "$ac_link") 2>conftest.er1
11814
 
  ac_status=$?
11815
 
  grep -v '^ *+' conftest.er1 >conftest.err
11816
 
  rm -f conftest.er1
11817
 
  cat conftest.err >&5
11818
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819
 
  (exit $ac_status); } && {
11820
 
         test -z "$ac_c_werror_flag" ||
11821
 
         test ! -s conftest.err
11822
 
       } && test -s conftest$ac_exeext && {
11823
 
         test "$cross_compiling" = yes ||
11824
 
         $as_test_x conftest$ac_exeext
11825
 
       }; then
11826
 
  ac_cv_func_dlopen=yes
11827
 
else
11828
 
  $as_echo "$as_me: failed program was:" >&5
11829
 
sed 's/^/| /' conftest.$ac_ext >&5
11830
 
 
11831
 
        ac_cv_func_dlopen=no
11832
 
fi
11833
 
 
11834
 
rm -rf conftest.dSYM
11835
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11836
 
      conftest$ac_exeext conftest.$ac_ext
11837
 
fi
11838
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11839
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11840
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11422
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11423
if test "x$ac_cv_func_dlopen" = xyes; then :
11841
11424
  lt_cv_dlopen="dlopen"
11842
11425
else
11843
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11426
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11844
11427
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11845
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11428
if ${ac_cv_lib_dl_dlopen+:} false; then :
11846
11429
  $as_echo_n "(cached) " >&6
11847
11430
else
11848
11431
  ac_check_lib_save_LIBS=$LIBS
11849
11432
LIBS="-ldl  $LIBS"
11850
 
cat >conftest.$ac_ext <<_ACEOF
11851
 
/* confdefs.h.  */
11852
 
_ACEOF
11853
 
cat confdefs.h >>conftest.$ac_ext
11854
 
cat >>conftest.$ac_ext <<_ACEOF
 
11433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855
11434
/* end confdefs.h.  */
11856
11435
 
11857
11436
/* Override any GCC internal prototype to avoid an error.
11869
11448
  return 0;
11870
11449
}
11871
11450
_ACEOF
11872
 
rm -f conftest.$ac_objext conftest$ac_exeext
11873
 
if { (ac_try="$ac_link"
11874
 
case "(($ac_try" in
11875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11876
 
  *) ac_try_echo=$ac_try;;
11877
 
esac
11878
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11879
 
$as_echo "$ac_try_echo") >&5
11880
 
  (eval "$ac_link") 2>conftest.er1
11881
 
  ac_status=$?
11882
 
  grep -v '^ *+' conftest.er1 >conftest.err
11883
 
  rm -f conftest.er1
11884
 
  cat conftest.err >&5
11885
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886
 
  (exit $ac_status); } && {
11887
 
         test -z "$ac_c_werror_flag" ||
11888
 
         test ! -s conftest.err
11889
 
       } && test -s conftest$ac_exeext && {
11890
 
         test "$cross_compiling" = yes ||
11891
 
         $as_test_x conftest$ac_exeext
11892
 
       }; then
 
11451
if ac_fn_c_try_link "$LINENO"; then :
11893
11452
  ac_cv_lib_dl_dlopen=yes
11894
11453
else
11895
 
  $as_echo "$as_me: failed program was:" >&5
11896
 
sed 's/^/| /' conftest.$ac_ext >&5
11897
 
 
11898
 
        ac_cv_lib_dl_dlopen=no
 
11454
  ac_cv_lib_dl_dlopen=no
11899
11455
fi
11900
 
 
11901
 
rm -rf conftest.dSYM
11902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11903
 
      conftest$ac_exeext conftest.$ac_ext
 
11456
rm -f core conftest.err conftest.$ac_objext \
 
11457
    conftest$ac_exeext conftest.$ac_ext
11904
11458
LIBS=$ac_check_lib_save_LIBS
11905
11459
fi
11906
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11907
11461
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11908
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11462
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11909
11463
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11910
11464
else
11911
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11465
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11912
11466
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11913
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11467
if ${ac_cv_lib_svld_dlopen+:} false; then :
11914
11468
  $as_echo_n "(cached) " >&6
11915
11469
else
11916
11470
  ac_check_lib_save_LIBS=$LIBS
11917
11471
LIBS="-lsvld  $LIBS"
11918
 
cat >conftest.$ac_ext <<_ACEOF
11919
 
/* confdefs.h.  */
11920
 
_ACEOF
11921
 
cat confdefs.h >>conftest.$ac_ext
11922
 
cat >>conftest.$ac_ext <<_ACEOF
 
11472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923
11473
/* end confdefs.h.  */
11924
11474
 
11925
11475
/* Override any GCC internal prototype to avoid an error.
11937
11487
  return 0;
11938
11488
}
11939
11489
_ACEOF
11940
 
rm -f conftest.$ac_objext conftest$ac_exeext
11941
 
if { (ac_try="$ac_link"
11942
 
case "(($ac_try" in
11943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11944
 
  *) ac_try_echo=$ac_try;;
11945
 
esac
11946
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11947
 
$as_echo "$ac_try_echo") >&5
11948
 
  (eval "$ac_link") 2>conftest.er1
11949
 
  ac_status=$?
11950
 
  grep -v '^ *+' conftest.er1 >conftest.err
11951
 
  rm -f conftest.er1
11952
 
  cat conftest.err >&5
11953
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954
 
  (exit $ac_status); } && {
11955
 
         test -z "$ac_c_werror_flag" ||
11956
 
         test ! -s conftest.err
11957
 
       } && test -s conftest$ac_exeext && {
11958
 
         test "$cross_compiling" = yes ||
11959
 
         $as_test_x conftest$ac_exeext
11960
 
       }; then
 
11490
if ac_fn_c_try_link "$LINENO"; then :
11961
11491
  ac_cv_lib_svld_dlopen=yes
11962
11492
else
11963
 
  $as_echo "$as_me: failed program was:" >&5
11964
 
sed 's/^/| /' conftest.$ac_ext >&5
11965
 
 
11966
 
        ac_cv_lib_svld_dlopen=no
 
11493
  ac_cv_lib_svld_dlopen=no
11967
11494
fi
11968
 
 
11969
 
rm -rf conftest.dSYM
11970
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11971
 
      conftest$ac_exeext conftest.$ac_ext
 
11495
rm -f core conftest.err conftest.$ac_objext \
 
11496
    conftest$ac_exeext conftest.$ac_ext
11972
11497
LIBS=$ac_check_lib_save_LIBS
11973
11498
fi
11974
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11975
11500
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11976
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11501
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11977
11502
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11978
11503
else
11979
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11504
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11980
11505
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11981
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11506
if ${ac_cv_lib_dld_dld_link+:} false; then :
11982
11507
  $as_echo_n "(cached) " >&6
11983
11508
else
11984
11509
  ac_check_lib_save_LIBS=$LIBS
11985
11510
LIBS="-ldld  $LIBS"
11986
 
cat >conftest.$ac_ext <<_ACEOF
11987
 
/* confdefs.h.  */
11988
 
_ACEOF
11989
 
cat confdefs.h >>conftest.$ac_ext
11990
 
cat >>conftest.$ac_ext <<_ACEOF
 
11511
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991
11512
/* end confdefs.h.  */
11992
11513
 
11993
11514
/* Override any GCC internal prototype to avoid an error.
12005
11526
  return 0;
12006
11527
}
12007
11528
_ACEOF
12008
 
rm -f conftest.$ac_objext conftest$ac_exeext
12009
 
if { (ac_try="$ac_link"
12010
 
case "(($ac_try" in
12011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12012
 
  *) ac_try_echo=$ac_try;;
12013
 
esac
12014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12015
 
$as_echo "$ac_try_echo") >&5
12016
 
  (eval "$ac_link") 2>conftest.er1
12017
 
  ac_status=$?
12018
 
  grep -v '^ *+' conftest.er1 >conftest.err
12019
 
  rm -f conftest.er1
12020
 
  cat conftest.err >&5
12021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022
 
  (exit $ac_status); } && {
12023
 
         test -z "$ac_c_werror_flag" ||
12024
 
         test ! -s conftest.err
12025
 
       } && test -s conftest$ac_exeext && {
12026
 
         test "$cross_compiling" = yes ||
12027
 
         $as_test_x conftest$ac_exeext
12028
 
       }; then
 
11529
if ac_fn_c_try_link "$LINENO"; then :
12029
11530
  ac_cv_lib_dld_dld_link=yes
12030
11531
else
12031
 
  $as_echo "$as_me: failed program was:" >&5
12032
 
sed 's/^/| /' conftest.$ac_ext >&5
12033
 
 
12034
 
        ac_cv_lib_dld_dld_link=no
 
11532
  ac_cv_lib_dld_dld_link=no
12035
11533
fi
12036
 
 
12037
 
rm -rf conftest.dSYM
12038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12039
 
      conftest$ac_exeext conftest.$ac_ext
 
11534
rm -f core conftest.err conftest.$ac_objext \
 
11535
    conftest$ac_exeext conftest.$ac_ext
12040
11536
LIBS=$ac_check_lib_save_LIBS
12041
11537
fi
12042
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12043
11539
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12044
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11540
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12045
11541
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12046
11542
fi
12047
11543
 
12080
11576
    save_LIBS="$LIBS"
12081
11577
    LIBS="$lt_cv_dlopen_libs $LIBS"
12082
11578
 
12083
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11579
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12084
11580
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12085
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11581
if ${lt_cv_dlopen_self+:} false; then :
12086
11582
  $as_echo_n "(cached) " >&6
12087
11583
else
12088
11584
          if test "$cross_compiling" = yes; then :
12091
11587
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12092
11588
  lt_status=$lt_dlunknown
12093
11589
  cat > conftest.$ac_ext <<_LT_EOF
12094
 
#line 12094 "configure"
 
11590
#line $LINENO "configure"
12095
11591
#include "confdefs.h"
12096
11592
 
12097
11593
#if HAVE_DLFCN_H
12132
11628
#  endif
12133
11629
#endif
12134
11630
 
12135
 
void fnord() { int i=42;}
 
11631
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11632
   correspondingly for the symbols needed.  */
 
11633
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11634
int fnord () __attribute__((visibility("default")));
 
11635
#endif
 
11636
 
 
11637
int fnord () { return 42; }
12136
11638
int main ()
12137
11639
{
12138
11640
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12141
11643
  if (self)
12142
11644
    {
12143
11645
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12144
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11646
      else
 
11647
        {
 
11648
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11649
          else puts (dlerror ());
 
11650
        }
12145
11651
      /* dlclose (self); */
12146
11652
    }
12147
11653
  else
12150
11656
  return status;
12151
11657
}
12152
11658
_LT_EOF
12153
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11659
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12154
11660
  (eval $ac_link) 2>&5
12155
11661
  ac_status=$?
12156
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11662
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11663
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12158
11664
    (./conftest; exit; ) >&5 2>/dev/null
12159
11665
    lt_status=$?
12160
11666
    case x$lt_status in
12171
11677
 
12172
11678
 
12173
11679
fi
12174
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12175
11681
$as_echo "$lt_cv_dlopen_self" >&6; }
12176
11682
 
12177
11683
    if test "x$lt_cv_dlopen_self" = xyes; then
12178
11684
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12179
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11685
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12180
11686
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12181
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11687
if ${lt_cv_dlopen_self_static+:} false; then :
12182
11688
  $as_echo_n "(cached) " >&6
12183
11689
else
12184
11690
          if test "$cross_compiling" = yes; then :
12187
11693
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12188
11694
  lt_status=$lt_dlunknown
12189
11695
  cat > conftest.$ac_ext <<_LT_EOF
12190
 
#line 12190 "configure"
 
11696
#line $LINENO "configure"
12191
11697
#include "confdefs.h"
12192
11698
 
12193
11699
#if HAVE_DLFCN_H
12228
11734
#  endif
12229
11735
#endif
12230
11736
 
12231
 
void fnord() { int i=42;}
 
11737
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11738
   correspondingly for the symbols needed.  */
 
11739
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11740
int fnord () __attribute__((visibility("default")));
 
11741
#endif
 
11742
 
 
11743
int fnord () { return 42; }
12232
11744
int main ()
12233
11745
{
12234
11746
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12237
11749
  if (self)
12238
11750
    {
12239
11751
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12240
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11752
      else
 
11753
        {
 
11754
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11755
          else puts (dlerror ());
 
11756
        }
12241
11757
      /* dlclose (self); */
12242
11758
    }
12243
11759
  else
12246
11762
  return status;
12247
11763
}
12248
11764
_LT_EOF
12249
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11765
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12250
11766
  (eval $ac_link) 2>&5
12251
11767
  ac_status=$?
12252
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11768
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11769
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12254
11770
    (./conftest; exit; ) >&5 2>/dev/null
12255
11771
    lt_status=$?
12256
11772
    case x$lt_status in
12267
11783
 
12268
11784
 
12269
11785
fi
12270
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12271
11787
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12272
11788
    fi
12273
11789
 
12306
11822
 
12307
11823
striplib=
12308
11824
old_striplib=
12309
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12310
11826
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12311
11827
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12312
11828
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12313
11829
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12314
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12315
11831
$as_echo "yes" >&6; }
12316
11832
else
12317
11833
# FIXME - insert some real tests, host_os isn't really good enough
12320
11836
    if test -n "$STRIP" ; then
12321
11837
      striplib="$STRIP -x"
12322
11838
      old_striplib="$STRIP -S"
12323
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11839
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12324
11840
$as_echo "yes" >&6; }
12325
11841
    else
12326
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11842
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12327
11843
$as_echo "no" >&6; }
12328
11844
    fi
12329
11845
    ;;
12330
11846
  *)
12331
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11847
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12332
11848
$as_echo "no" >&6; }
12333
11849
    ;;
12334
11850
  esac
12346
11862
 
12347
11863
 
12348
11864
  # Report which library types will actually be built
12349
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11865
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12350
11866
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12351
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12352
11868
$as_echo "$can_build_shared" >&6; }
12353
11869
 
12354
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11870
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12355
11871
$as_echo_n "checking whether to build shared libraries... " >&6; }
12356
11872
  test "$can_build_shared" = "no" && enable_shared=no
12357
11873
 
12372
11888
    fi
12373
11889
    ;;
12374
11890
  esac
12375
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12376
11892
$as_echo "$enable_shared" >&6; }
12377
11893
 
12378
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11894
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12379
11895
$as_echo_n "checking whether to build static libraries... " >&6; }
12380
11896
  # Make sure either enable_shared or enable_static is yes.
12381
11897
  test "$enable_shared" = yes || enable_static=yes
12382
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12383
11899
$as_echo "$enable_static" >&6; }
12384
11900
 
12385
11901
 
12394
11910
 
12395
11911
CC="$lt_save_CC"
12396
11912
 
 
11913
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11914
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11915
    (test "X$CXX" != "Xg++"))) ; then
 
11916
  ac_ext=cpp
 
11917
ac_cpp='$CXXCPP $CPPFLAGS'
 
11918
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11919
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11920
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
11922
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
11923
if test -z "$CXXCPP"; then
 
11924
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
11925
  $as_echo_n "(cached) " >&6
 
11926
else
 
11927
      # Double quotes because CXXCPP needs to be expanded
 
11928
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
11929
    do
 
11930
      ac_preproc_ok=false
 
11931
for ac_cxx_preproc_warn_flag in '' yes
 
11932
do
 
11933
  # Use a header file that comes with gcc, so configuring glibc
 
11934
  # with a fresh cross-compiler works.
 
11935
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11936
  # <limits.h> exists even on freestanding compilers.
 
11937
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
11938
  # not just through cpp. "Syntax error" is here to catch this case.
 
11939
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11940
/* end confdefs.h.  */
 
11941
#ifdef __STDC__
 
11942
# include <limits.h>
 
11943
#else
 
11944
# include <assert.h>
 
11945
#endif
 
11946
                     Syntax error
 
11947
_ACEOF
 
11948
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11949
 
 
11950
else
 
11951
  # Broken: fails on valid input.
 
11952
continue
 
11953
fi
 
11954
rm -f conftest.err conftest.i conftest.$ac_ext
 
11955
 
 
11956
  # OK, works on sane cases.  Now check whether nonexistent headers
 
11957
  # can be detected and how.
 
11958
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11959
/* end confdefs.h.  */
 
11960
#include <ac_nonexistent.h>
 
11961
_ACEOF
 
11962
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11963
  # Broken: success on invalid input.
 
11964
continue
 
11965
else
 
11966
  # Passes both tests.
 
11967
ac_preproc_ok=:
 
11968
break
 
11969
fi
 
11970
rm -f conftest.err conftest.i conftest.$ac_ext
 
11971
 
 
11972
done
 
11973
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
11974
rm -f conftest.i conftest.err conftest.$ac_ext
 
11975
if $ac_preproc_ok; then :
 
11976
  break
 
11977
fi
 
11978
 
 
11979
    done
 
11980
    ac_cv_prog_CXXCPP=$CXXCPP
 
11981
 
 
11982
fi
 
11983
  CXXCPP=$ac_cv_prog_CXXCPP
 
11984
else
 
11985
  ac_cv_prog_CXXCPP=$CXXCPP
 
11986
fi
 
11987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
11988
$as_echo "$CXXCPP" >&6; }
 
11989
ac_preproc_ok=false
 
11990
for ac_cxx_preproc_warn_flag in '' yes
 
11991
do
 
11992
  # Use a header file that comes with gcc, so configuring glibc
 
11993
  # with a fresh cross-compiler works.
 
11994
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11995
  # <limits.h> exists even on freestanding compilers.
 
11996
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
11997
  # not just through cpp. "Syntax error" is here to catch this case.
 
11998
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11999
/* end confdefs.h.  */
 
12000
#ifdef __STDC__
 
12001
# include <limits.h>
 
12002
#else
 
12003
# include <assert.h>
 
12004
#endif
 
12005
                     Syntax error
 
12006
_ACEOF
 
12007
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12008
 
 
12009
else
 
12010
  # Broken: fails on valid input.
 
12011
continue
 
12012
fi
 
12013
rm -f conftest.err conftest.i conftest.$ac_ext
 
12014
 
 
12015
  # OK, works on sane cases.  Now check whether nonexistent headers
 
12016
  # can be detected and how.
 
12017
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12018
/* end confdefs.h.  */
 
12019
#include <ac_nonexistent.h>
 
12020
_ACEOF
 
12021
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12022
  # Broken: success on invalid input.
 
12023
continue
 
12024
else
 
12025
  # Passes both tests.
 
12026
ac_preproc_ok=:
 
12027
break
 
12028
fi
 
12029
rm -f conftest.err conftest.i conftest.$ac_ext
 
12030
 
 
12031
done
 
12032
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
12033
rm -f conftest.i conftest.err conftest.$ac_ext
 
12034
if $ac_preproc_ok; then :
 
12035
 
 
12036
else
 
12037
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12038
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12039
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
12040
See \`config.log' for more details" "$LINENO" 5; }
 
12041
fi
 
12042
 
 
12043
ac_ext=c
 
12044
ac_cpp='$CPP $CPPFLAGS'
 
12045
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12046
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12047
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12048
 
 
12049
else
 
12050
  _lt_caught_CXX_error=yes
 
12051
fi
12397
12052
 
12398
12053
ac_ext=cpp
12399
12054
ac_cpp='$CXXCPP $CPPFLAGS'
12420
12075
module_expsym_cmds_CXX=
12421
12076
link_all_deplibs_CXX=unknown
12422
12077
old_archive_cmds_CXX=$old_archive_cmds
 
12078
reload_flag_CXX=$reload_flag
 
12079
reload_cmds_CXX=$reload_cmds
12423
12080
no_undefined_flag_CXX=
12424
12081
whole_archive_flag_spec_CXX=
12425
12082
enable_shared_with_static_runtimes_CXX=no
12475
12132
 
12476
12133
  # Allow CC to be a program name with arguments.
12477
12134
  lt_save_CC=$CC
 
12135
  lt_save_CFLAGS=$CFLAGS
12478
12136
  lt_save_LD=$LD
12479
12137
  lt_save_GCC=$GCC
12480
12138
  GCC=$GXX
12492
12150
  fi
12493
12151
  test -z "${LDCXX+set}" || LD=$LDCXX
12494
12152
  CC=${CXX-"c++"}
 
12153
  CFLAGS=$CXXFLAGS
12495
12154
  compiler=$CC
12496
12155
  compiler_CXX=$CC
12497
12156
  for cc_temp in $compiler""; do
12502
12161
    *) break;;
12503
12162
  esac
12504
12163
done
12505
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12164
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12506
12165
 
12507
12166
 
12508
12167
  if test -n "$compiler"; then
12520
12179
 
12521
12180
 
12522
12181
# Check whether --with-gnu-ld was given.
12523
 
if test "${with_gnu_ld+set}" = set; then
 
12182
if test "${with_gnu_ld+set}" = set; then :
12524
12183
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12525
12184
else
12526
12185
  with_gnu_ld=no
12529
12188
ac_prog=ld
12530
12189
if test "$GCC" = yes; then
12531
12190
  # Check if gcc -print-prog-name=ld gives a path.
12532
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
12191
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12533
12192
$as_echo_n "checking for ld used by $CC... " >&6; }
12534
12193
  case $host in
12535
12194
  *-*-mingw*)
12559
12218
    ;;
12560
12219
  esac
12561
12220
elif test "$with_gnu_ld" = yes; then
12562
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
12221
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12563
12222
$as_echo_n "checking for GNU ld... " >&6; }
12564
12223
else
12565
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
12224
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12566
12225
$as_echo_n "checking for non-GNU ld... " >&6; }
12567
12226
fi
12568
 
if test "${lt_cv_path_LD+set}" = set; then
 
12227
if ${lt_cv_path_LD+:} false; then :
12569
12228
  $as_echo_n "(cached) " >&6
12570
12229
else
12571
12230
  if test -z "$LD"; then
12596
12255
 
12597
12256
LD="$lt_cv_path_LD"
12598
12257
if test -n "$LD"; then
12599
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
12258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12600
12259
$as_echo "$LD" >&6; }
12601
12260
else
12602
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603
12262
$as_echo "no" >&6; }
12604
12263
fi
12605
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12606
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12607
 
   { (exit 1); exit 1; }; }
12608
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
12264
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
12265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12609
12266
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12610
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
12267
if ${lt_cv_prog_gnu_ld+:} false; then :
12611
12268
  $as_echo_n "(cached) " >&6
12612
12269
else
12613
12270
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12620
12277
  ;;
12621
12278
esac
12622
12279
fi
12623
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
12280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12624
12281
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12625
12282
with_gnu_ld=$lt_cv_prog_gnu_ld
12626
12283
 
12633
12290
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12634
12291
      # archiving commands below assume that GNU ld is being used.
12635
12292
      if test "$with_gnu_ld" = yes; then
12636
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12637
 
        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'
 
12293
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12294
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12638
12295
 
12639
12296
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12640
12297
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12666
12323
      # Commands to make compiler produce verbose output that lists
12667
12324
      # what "hidden" libraries, object files and flags are used when
12668
12325
      # linking a shared library.
12669
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12326
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12670
12327
 
12671
12328
    else
12672
12329
      GXX=no
12675
12332
    fi
12676
12333
 
12677
12334
    # PORTME: fill in a description of your system's C++ link characteristics
12678
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12335
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12679
12336
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12680
12337
    ld_shlibs_CXX=yes
12681
12338
    case $host_os in
12776
12433
          allow_undefined_flag_CXX='-berok'
12777
12434
          # Determine the default libpath from the value encoded in an empty
12778
12435
          # executable.
12779
 
          cat >conftest.$ac_ext <<_ACEOF
12780
 
/* confdefs.h.  */
12781
 
_ACEOF
12782
 
cat confdefs.h >>conftest.$ac_ext
12783
 
cat >>conftest.$ac_ext <<_ACEOF
 
12436
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12437
  aix_libpath=$lt_cv_aix_libpath
 
12438
else
 
12439
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12440
  $as_echo_n "(cached) " >&6
 
12441
else
 
12442
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784
12443
/* end confdefs.h.  */
12785
12444
 
12786
12445
int
12791
12450
  return 0;
12792
12451
}
12793
12452
_ACEOF
12794
 
rm -f conftest.$ac_objext conftest$ac_exeext
12795
 
if { (ac_try="$ac_link"
12796
 
case "(($ac_try" in
12797
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12798
 
  *) ac_try_echo=$ac_try;;
12799
 
esac
12800
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12801
 
$as_echo "$ac_try_echo") >&5
12802
 
  (eval "$ac_link") 2>conftest.er1
12803
 
  ac_status=$?
12804
 
  grep -v '^ *+' conftest.er1 >conftest.err
12805
 
  rm -f conftest.er1
12806
 
  cat conftest.err >&5
12807
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808
 
  (exit $ac_status); } && {
12809
 
         test -z "$ac_cxx_werror_flag" ||
12810
 
         test ! -s conftest.err
12811
 
       } && test -s conftest$ac_exeext && {
12812
 
         test "$cross_compiling" = yes ||
12813
 
         $as_test_x conftest$ac_exeext
12814
 
       }; then
12815
 
 
12816
 
lt_aix_libpath_sed='
12817
 
    /Import File Strings/,/^$/ {
12818
 
        /^0/ {
12819
 
            s/^0  *\(.*\)$/\1/
12820
 
            p
12821
 
        }
12822
 
    }'
12823
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12824
 
# Check for a 64-bit object if we didn't find anything.
12825
 
if test -z "$aix_libpath"; then
12826
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12827
 
fi
12828
 
else
12829
 
  $as_echo "$as_me: failed program was:" >&5
12830
 
sed 's/^/| /' conftest.$ac_ext >&5
12831
 
 
12832
 
 
12833
 
fi
12834
 
 
12835
 
rm -rf conftest.dSYM
12836
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12837
 
      conftest$ac_exeext conftest.$ac_ext
12838
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12453
if ac_fn_cxx_try_link "$LINENO"; then :
 
12454
 
 
12455
  lt_aix_libpath_sed='
 
12456
      /Import File Strings/,/^$/ {
 
12457
          /^0/ {
 
12458
              s/^0  *\([^ ]*\) *$/\1/
 
12459
              p
 
12460
          }
 
12461
      }'
 
12462
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12463
  # Check for a 64-bit object if we didn't find anything.
 
12464
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12465
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12466
  fi
 
12467
fi
 
12468
rm -f core conftest.err conftest.$ac_objext \
 
12469
    conftest$ac_exeext conftest.$ac_ext
 
12470
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12471
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12472
  fi
 
12473
 
 
12474
fi
 
12475
 
 
12476
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12477
fi
12839
12478
 
12840
12479
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12841
12480
 
12842
 
          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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
12481
          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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12843
12482
        else
12844
12483
          if test "$host_cpu" = ia64; then
12845
12484
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12848
12487
          else
12849
12488
            # Determine the default libpath from the value encoded in an
12850
12489
            # empty executable.
12851
 
            cat >conftest.$ac_ext <<_ACEOF
12852
 
/* confdefs.h.  */
12853
 
_ACEOF
12854
 
cat confdefs.h >>conftest.$ac_ext
12855
 
cat >>conftest.$ac_ext <<_ACEOF
 
12490
            if test "${lt_cv_aix_libpath+set}" = set; then
 
12491
  aix_libpath=$lt_cv_aix_libpath
 
12492
else
 
12493
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12494
  $as_echo_n "(cached) " >&6
 
12495
else
 
12496
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856
12497
/* end confdefs.h.  */
12857
12498
 
12858
12499
int
12863
12504
  return 0;
12864
12505
}
12865
12506
_ACEOF
12866
 
rm -f conftest.$ac_objext conftest$ac_exeext
12867
 
if { (ac_try="$ac_link"
12868
 
case "(($ac_try" in
12869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12870
 
  *) ac_try_echo=$ac_try;;
12871
 
esac
12872
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12873
 
$as_echo "$ac_try_echo") >&5
12874
 
  (eval "$ac_link") 2>conftest.er1
12875
 
  ac_status=$?
12876
 
  grep -v '^ *+' conftest.er1 >conftest.err
12877
 
  rm -f conftest.er1
12878
 
  cat conftest.err >&5
12879
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880
 
  (exit $ac_status); } && {
12881
 
         test -z "$ac_cxx_werror_flag" ||
12882
 
         test ! -s conftest.err
12883
 
       } && test -s conftest$ac_exeext && {
12884
 
         test "$cross_compiling" = yes ||
12885
 
         $as_test_x conftest$ac_exeext
12886
 
       }; then
12887
 
 
12888
 
lt_aix_libpath_sed='
12889
 
    /Import File Strings/,/^$/ {
12890
 
        /^0/ {
12891
 
            s/^0  *\(.*\)$/\1/
12892
 
            p
12893
 
        }
12894
 
    }'
12895
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12896
 
# Check for a 64-bit object if we didn't find anything.
12897
 
if test -z "$aix_libpath"; then
12898
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12899
 
fi
12900
 
else
12901
 
  $as_echo "$as_me: failed program was:" >&5
12902
 
sed 's/^/| /' conftest.$ac_ext >&5
12903
 
 
12904
 
 
12905
 
fi
12906
 
 
12907
 
rm -rf conftest.dSYM
12908
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12909
 
      conftest$ac_exeext conftest.$ac_ext
12910
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12507
if ac_fn_cxx_try_link "$LINENO"; then :
 
12508
 
 
12509
  lt_aix_libpath_sed='
 
12510
      /Import File Strings/,/^$/ {
 
12511
          /^0/ {
 
12512
              s/^0  *\([^ ]*\) *$/\1/
 
12513
              p
 
12514
          }
 
12515
      }'
 
12516
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12517
  # Check for a 64-bit object if we didn't find anything.
 
12518
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12519
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12520
  fi
 
12521
fi
 
12522
rm -f core conftest.err conftest.$ac_objext \
 
12523
    conftest$ac_exeext conftest.$ac_ext
 
12524
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12525
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12526
  fi
 
12527
 
 
12528
fi
 
12529
 
 
12530
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12531
fi
12911
12532
 
12912
12533
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12913
12534
            # Warning - without using the other run time loading flags,
12914
12535
            # -berok will link without error, but may produce a broken library.
12915
12536
            no_undefined_flag_CXX=' ${wl}-bernotok'
12916
12537
            allow_undefined_flag_CXX=' ${wl}-berok'
12917
 
            # Exported symbols can be pulled into shared objects from archives
12918
 
            whole_archive_flag_spec_CXX='$convenience'
 
12538
            if test "$with_gnu_ld" = yes; then
 
12539
              # We only use this code for GNU lds that support --whole-archive.
 
12540
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12541
            else
 
12542
              # Exported symbols can be pulled into shared objects from archives
 
12543
              whole_archive_flag_spec_CXX='$convenience'
 
12544
            fi
12919
12545
            archive_cmds_need_lc_CXX=yes
12920
12546
            # This is similar to how AIX traditionally builds its shared
12921
12547
            # libraries.
12945
12571
        ;;
12946
12572
 
12947
12573
      cygwin* | mingw* | pw32* | cegcc*)
12948
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12949
 
        # as there is no search path for DLLs.
12950
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12951
 
        allow_undefined_flag_CXX=unsupported
12952
 
        always_export_symbols_CXX=no
12953
 
        enable_shared_with_static_runtimes_CXX=yes
 
12574
        case $GXX,$cc_basename in
 
12575
        ,cl* | no,cl*)
 
12576
          # Native MSVC
 
12577
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
12578
          # no search path for DLLs.
 
12579
          hardcode_libdir_flag_spec_CXX=' '
 
12580
          allow_undefined_flag_CXX=unsupported
 
12581
          always_export_symbols_CXX=yes
 
12582
          file_list_spec_CXX='@'
 
12583
          # Tell ltmain to make .lib files, not .a files.
 
12584
          libext=lib
 
12585
          # Tell ltmain to make .dll files, not .so files.
 
12586
          shrext_cmds=".dll"
 
12587
          # FIXME: Setting linknames here is a bad hack.
 
12588
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
12589
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12590
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
12591
            else
 
12592
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
12593
            fi~
 
12594
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
12595
            linknames='
 
12596
          # The linker will not automatically build a static lib if we build a DLL.
 
12597
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
12598
          enable_shared_with_static_runtimes_CXX=yes
 
12599
          # Don't use ranlib
 
12600
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
12601
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
12602
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
12603
            case $lt_outputfile in
 
12604
              *.exe|*.EXE) ;;
 
12605
              *)
 
12606
                lt_outputfile="$lt_outputfile.exe"
 
12607
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
12608
                ;;
 
12609
            esac~
 
12610
            func_to_tool_file "$lt_outputfile"~
 
12611
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
12612
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
12613
              $RM "$lt_outputfile.manifest";
 
12614
            fi'
 
12615
          ;;
 
12616
        *)
 
12617
          # g++
 
12618
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12619
          # as there is no search path for DLLs.
 
12620
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12621
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
12622
          allow_undefined_flag_CXX=unsupported
 
12623
          always_export_symbols_CXX=no
 
12624
          enable_shared_with_static_runtimes_CXX=yes
12954
12625
 
12955
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12956
 
          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'
12957
 
          # If the export-symbols file already is a .def file (1st line
12958
 
          # is EXPORTS), use it as is; otherwise, prepend...
12959
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12960
 
            cp $export_symbols $output_objdir/$soname.def;
12961
 
          else
12962
 
            echo EXPORTS > $output_objdir/$soname.def;
12963
 
            cat $export_symbols >> $output_objdir/$soname.def;
12964
 
          fi~
12965
 
          $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'
12966
 
        else
12967
 
          ld_shlibs_CXX=no
12968
 
        fi
12969
 
        ;;
 
12626
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12627
            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'
 
12628
            # If the export-symbols file already is a .def file (1st line
 
12629
            # is EXPORTS), use it as is; otherwise, prepend...
 
12630
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12631
              cp $export_symbols $output_objdir/$soname.def;
 
12632
            else
 
12633
              echo EXPORTS > $output_objdir/$soname.def;
 
12634
              cat $export_symbols >> $output_objdir/$soname.def;
 
12635
            fi~
 
12636
            $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'
 
12637
          else
 
12638
            ld_shlibs_CXX=no
 
12639
          fi
 
12640
          ;;
 
12641
        esac
 
12642
        ;;
12970
12643
      darwin* | rhapsody*)
12971
12644
 
12972
12645
 
12974
12647
  hardcode_direct_CXX=no
12975
12648
  hardcode_automatic_CXX=yes
12976
12649
  hardcode_shlibpath_var_CXX=unsupported
12977
 
  whole_archive_flag_spec_CXX=''
 
12650
  if test "$lt_cv_ld_force_load" = "yes"; then
 
12651
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
12652
  else
 
12653
    whole_archive_flag_spec_CXX=''
 
12654
  fi
12978
12655
  link_all_deplibs_CXX=yes
12979
12656
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12980
12657
  case $cc_basename in
12982
12659
     *) _lt_dar_can_shared=$GCC ;;
12983
12660
  esac
12984
12661
  if test "$_lt_dar_can_shared" = "yes"; then
12985
 
    output_verbose_link_cmd=echo
 
12662
    output_verbose_link_cmd=func_echo_all
12986
12663
    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}"
12987
12664
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12988
12665
    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}"
13035
12712
      gnu*)
13036
12713
        ;;
13037
12714
 
 
12715
      haiku*)
 
12716
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12717
        link_all_deplibs_CXX=yes
 
12718
        ;;
 
12719
 
13038
12720
      hpux9*)
13039
12721
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13040
12722
        hardcode_libdir_separator_CXX=:
13059
12741
            # explicitly linking system object files so we need to strip them
13060
12742
            # from the output so that they don't get included in the library
13061
12743
            # dependencies.
13062
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12744
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13063
12745
            ;;
13064
12746
          *)
13065
12747
            if test "$GXX" = yes; then
13066
 
              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'
 
12748
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13067
12749
            else
13068
12750
              # FIXME: insert proper C++ library support
13069
12751
              ld_shlibs_CXX=no
13124
12806
            # explicitly linking system object files so we need to strip them
13125
12807
            # from the output so that they don't get included in the library
13126
12808
            # dependencies.
13127
 
            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 "X$list" | $Xsed'
 
12809
            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; func_echo_all "$list"'
13128
12810
            ;;
13129
12811
          *)
13130
12812
            if test "$GXX" = yes; then
13134
12816
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135
12817
                    ;;
13136
12818
                  ia64*)
13137
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12819
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13138
12820
                    ;;
13139
12821
                  *)
13140
 
                    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'
 
12822
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13141
12823
                    ;;
13142
12824
                esac
13143
12825
              fi
13167
12849
        case $cc_basename in
13168
12850
          CC*)
13169
12851
            # SGI C++
13170
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12852
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13171
12853
 
13172
12854
            # Archives containing C++ object files must be created using
13173
12855
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13178
12860
          *)
13179
12861
            if test "$GXX" = yes; then
13180
12862
              if test "$with_gnu_ld" = no; then
13181
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12863
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13182
12864
              else
13183
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
12865
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13184
12866
              fi
13185
12867
            fi
13186
12868
            link_all_deplibs_CXX=yes
13191
12873
        inherit_rpath_CXX=yes
13192
12874
        ;;
13193
12875
 
13194
 
      linux* | k*bsd*-gnu)
 
12876
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13195
12877
        case $cc_basename in
13196
12878
          KCC*)
13197
12879
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13209
12891
            # explicitly linking system object files so we need to strip them
13210
12892
            # from the output so that they don't get included in the library
13211
12893
            # dependencies.
13212
 
            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 "X$list" | $Xsed'
 
12894
            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; func_echo_all "$list"'
13213
12895
 
13214
12896
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13215
12897
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13246
12928
          pgCC* | pgcpp*)
13247
12929
            # Portland Group C++ compiler
13248
12930
            case `$CC -V` in
13249
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12931
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13250
12932
              prelink_cmds_CXX='tpldir=Template.dir~
13251
12933
                rm -rf $tpldir~
13252
12934
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13253
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12935
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13254
12936
              old_archive_cmds_CXX='tpldir=Template.dir~
13255
12937
                rm -rf $tpldir~
13256
12938
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13257
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12939
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13258
12940
                $RANLIB $oldlib'
13259
12941
              archive_cmds_CXX='tpldir=Template.dir~
13260
12942
                rm -rf $tpldir~
13261
12943
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13262
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12944
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13263
12945
              archive_expsym_cmds_CXX='tpldir=Template.dir~
13264
12946
                rm -rf $tpldir~
13265
12947
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13266
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12948
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13267
12949
              ;;
13268
 
            *) # Version 6 will use weak symbols
 
12950
            *) # Version 6 and above use weak symbols
13269
12951
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13270
12952
              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'
13271
12953
              ;;
13273
12955
 
13274
12956
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13275
12957
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13276
 
            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'
 
12958
            whole_archive_flag_spec_CXX='${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'
13277
12959
            ;;
13278
12960
          cxx*)
13279
12961
            # Compaq C++
13292
12974
            # explicitly linking system object files so we need to strip them
13293
12975
            # from the output so that they don't get included in the library
13294
12976
            # dependencies.
13295
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 
12977
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
13296
12978
            ;;
13297
 
          xl*)
 
12979
          xl* | mpixl* | bgxl*)
13298
12980
            # IBM XL 8.0 on PPC, with GNU ld
13299
12981
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13300
12982
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13314
12996
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13315
12997
              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'
13316
12998
              hardcode_libdir_flag_spec_CXX='-R$libdir'
13317
 
              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'
 
12999
              whole_archive_flag_spec_CXX='${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'
13318
13000
              compiler_needs_object_CXX=yes
13319
13001
 
13320
13002
              # Not sure whether something based on
13321
13003
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13322
13004
              # would be better.
13323
 
              output_verbose_link_cmd='echo'
 
13005
              output_verbose_link_cmd='func_echo_all'
13324
13006
 
13325
13007
              # Archives containing C++ object files must be created using
13326
13008
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13389
13071
            export_dynamic_flag_spec_CXX='${wl}-E'
13390
13072
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13391
13073
          fi
13392
 
          output_verbose_link_cmd=echo
 
13074
          output_verbose_link_cmd=func_echo_all
13393
13075
        else
13394
13076
          ld_shlibs_CXX=no
13395
13077
        fi
13424
13106
            case $host in
13425
13107
              osf3*)
13426
13108
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13427
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13109
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13428
13110
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13429
13111
                ;;
13430
13112
              *)
13431
13113
                allow_undefined_flag_CXX=' -expect_unresolved \*'
13432
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13114
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13433
13115
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13434
13116
                  echo "-hidden">> $lib.exp~
13435
 
                  $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
13117
                  $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~
13436
13118
                  $RM $lib.exp'
13437
13119
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13438
13120
                ;;
13448
13130
            # explicitly linking system object files so we need to strip them
13449
13131
            # from the output so that they don't get included in the library
13450
13132
            # dependencies.
13451
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 
13133
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
13452
13134
            ;;
13453
13135
          *)
13454
13136
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13455
13137
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13456
13138
              case $host in
13457
13139
                osf3*)
13458
 
                  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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13140
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13459
13141
                  ;;
13460
13142
                *)
13461
 
                  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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13143
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13462
13144
                  ;;
13463
13145
              esac
13464
13146
 
13468
13150
              # Commands to make compiler produce verbose output that lists
13469
13151
              # what "hidden" libraries, object files and flags are used when
13470
13152
              # linking a shared library.
13471
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13153
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13472
13154
 
13473
13155
            else
13474
13156
              # FIXME: insert proper C++ library support
13504
13186
 
13505
13187
      solaris*)
13506
13188
        case $cc_basename in
13507
 
          CC*)
 
13189
          CC* | sunCC*)
13508
13190
            # Sun C++ 4.2, 5.x and Centerline C++
13509
13191
            archive_cmds_need_lc_CXX=yes
13510
13192
            no_undefined_flag_CXX=' -zdefs'
13525
13207
            esac
13526
13208
            link_all_deplibs_CXX=yes
13527
13209
 
13528
 
            output_verbose_link_cmd='echo'
 
13210
            output_verbose_link_cmd='func_echo_all'
13529
13211
 
13530
13212
            # Archives containing C++ object files must be created using
13531
13213
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13545
13227
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13546
13228
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13547
13229
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13548
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13230
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13549
13231
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13550
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13232
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13551
13233
 
13552
13234
                # Commands to make compiler produce verbose output that lists
13553
13235
                # what "hidden" libraries, object files and flags are used when
13554
13236
                # linking a shared library.
13555
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13237
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13556
13238
              else
13557
13239
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13558
13240
                # platform.
13563
13245
                # Commands to make compiler produce verbose output that lists
13564
13246
                # what "hidden" libraries, object files and flags are used when
13565
13247
                # linking a shared library.
13566
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13248
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13567
13249
              fi
13568
13250
 
13569
13251
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13617
13299
          CC*)
13618
13300
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13619
13301
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13302
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
13303
              '"$old_archive_cmds_CXX"
 
13304
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
13305
              '"$reload_cmds_CXX"
13620
13306
            ;;
13621
13307
          *)
13622
13308
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13650
13336
        ;;
13651
13337
    esac
13652
13338
 
13653
 
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13339
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13654
13340
$as_echo "$ld_shlibs_CXX" >&6; }
13655
13341
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13656
13342
 
13678
13364
};
13679
13365
_LT_EOF
13680
13366
 
13681
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13367
 
 
13368
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13369
case "$CC $CFLAGS " in #(
 
13370
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13371
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13372
esac
 
13373
 
 
13374
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13682
13375
  (eval $ac_compile) 2>&5
13683
13376
  ac_status=$?
13684
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685
 
  (exit $ac_status); }; then
 
13377
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13378
  test $ac_status = 0; }; then
13686
13379
  # Parse the compiler output and extract the necessary
13687
13380
  # objects, libraries and library flags.
13688
13381
 
13691
13384
  pre_test_object_deps_done=no
13692
13385
 
13693
13386
  for p in `eval "$output_verbose_link_cmd"`; do
13694
 
    case $p in
 
13387
    case ${prev}${p} in
13695
13388
 
13696
13389
    -L* | -R* | -l*)
13697
13390
       # Some compilers place space between "-{L,R}" and the path.
13700
13393
          test $p = "-R"; then
13701
13394
         prev=$p
13702
13395
         continue
13703
 
       else
13704
 
         prev=
13705
13396
       fi
13706
13397
 
 
13398
       # Expand the sysroot to ease extracting the directories later.
 
13399
       if test -z "$prev"; then
 
13400
         case $p in
 
13401
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13402
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13403
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13404
         esac
 
13405
       fi
 
13406
       case $p in
 
13407
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13408
       esac
13707
13409
       if test "$pre_test_object_deps_done" = no; then
13708
 
         case $p in
13709
 
         -L* | -R*)
 
13410
         case ${prev} in
 
13411
         -L | -R)
13710
13412
           # Internal compiler library paths should come after those
13711
13413
           # provided the user.  The postdeps already come after the
13712
13414
           # user supplied libs so there is no need to process them.
13726
13428
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13727
13429
         fi
13728
13430
       fi
 
13431
       prev=
13729
13432
       ;;
13730
13433
 
 
13434
    *.lto.$objext) ;; # Ignore GCC LTO objects
13731
13435
    *.$objext)
13732
13436
       # This assumes that the test object file only shows up
13733
13437
       # once in the compiler output.
13763
13467
fi
13764
13468
 
13765
13469
$RM -f confest.$objext
 
13470
CFLAGS=$_lt_libdeps_save_CFLAGS
13766
13471
 
13767
13472
# PORTME: override above test on systems where it is broken
13768
13473
case $host_os in
13798
13503
 
13799
13504
solaris*)
13800
13505
  case $cc_basename in
13801
 
  CC*)
 
13506
  CC* | sunCC*)
13802
13507
    # The more standards-conforming stlport4 library is
13803
13508
    # incompatible with the Cstd library. Avoid specifying
13804
13509
    # it if it's in CXXFLAGS. Ignore libCrun as
13863
13568
lt_prog_compiler_pic_CXX=
13864
13569
lt_prog_compiler_static_CXX=
13865
13570
 
13866
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13867
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13868
13571
 
13869
13572
  # C++ specific cases for pic, static, wl, etc.
13870
13573
  if test "$GXX" = yes; then
13914
13617
      # DJGPP does not support shared libraries at all
13915
13618
      lt_prog_compiler_pic_CXX=
13916
13619
      ;;
 
13620
    haiku*)
 
13621
      # PIC is the default for Haiku.
 
13622
      # The "-static" flag exists, but is broken.
 
13623
      lt_prog_compiler_static_CXX=
 
13624
      ;;
13917
13625
    interix[3-9]*)
13918
13626
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13919
13627
      # Instead, we relocate shared libraries at runtime.
13963
13671
          ;;
13964
13672
        esac
13965
13673
        ;;
 
13674
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
13675
        # This hack is so that the source file can tell whether it is being
 
13676
        # built for inclusion in a dll (and should export symbols for example).
 
13677
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13678
        ;;
13966
13679
      dgux*)
13967
13680
        case $cc_basename in
13968
13681
          ec++*)
14019
13732
            ;;
14020
13733
        esac
14021
13734
        ;;
14022
 
      linux* | k*bsd*-gnu)
 
13735
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14023
13736
        case $cc_basename in
14024
13737
          KCC*)
14025
13738
            # KAI C++ Compiler
14052
13765
            lt_prog_compiler_pic_CXX=
14053
13766
            lt_prog_compiler_static_CXX='-non_shared'
14054
13767
            ;;
14055
 
          xlc* | xlC*)
14056
 
            # IBM XL 8.0 on PPC
 
13768
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
13769
            # IBM XL 8.0, 9.0 on PPC and BlueGene
14057
13770
            lt_prog_compiler_wl_CXX='-Wl,'
14058
13771
            lt_prog_compiler_pic_CXX='-qpic'
14059
13772
            lt_prog_compiler_static_CXX='-qstaticlink'
14115
13828
        ;;
14116
13829
      solaris*)
14117
13830
        case $cc_basename in
14118
 
          CC*)
 
13831
          CC* | sunCC*)
14119
13832
            # Sun C++ 4.2, 5.x and Centerline C++
14120
13833
            lt_prog_compiler_pic_CXX='-KPIC'
14121
13834
            lt_prog_compiler_static_CXX='-Bstatic'
14180
13893
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14181
13894
    ;;
14182
13895
esac
14183
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14184
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14185
 
 
14186
 
 
 
13896
 
 
13897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13898
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13899
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
13900
  $as_echo_n "(cached) " >&6
 
13901
else
 
13902
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
13903
fi
 
13904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
13905
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
13906
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14187
13907
 
14188
13908
#
14189
13909
# Check to make sure the PIC flag actually works.
14190
13910
#
14191
13911
if test -n "$lt_prog_compiler_pic_CXX"; then
14192
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13912
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14193
13913
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14194
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
13914
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14195
13915
  $as_echo_n "(cached) " >&6
14196
13916
else
14197
13917
  lt_cv_prog_compiler_pic_works_CXX=no
14207
13927
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14208
13928
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14209
13929
   -e 's:$: $lt_compiler_flag:'`
14210
 
   (eval echo "\"\$as_me:14210: $lt_compile\"" >&5)
 
13930
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14211
13931
   (eval "$lt_compile" 2>conftest.err)
14212
13932
   ac_status=$?
14213
13933
   cat conftest.err >&5
14214
 
   echo "$as_me:14214: \$? = $ac_status" >&5
 
13934
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215
13935
   if (exit $ac_status) && test -s "$ac_outfile"; then
14216
13936
     # The compiler can only warn and ignore the option if not recognized
14217
13937
     # So say no if there are warnings other than the usual output.
14218
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13938
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14219
13939
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14220
13940
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14221
13941
       lt_cv_prog_compiler_pic_works_CXX=yes
14224
13944
   $RM conftest*
14225
13945
 
14226
13946
fi
14227
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14228
13948
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14229
13949
 
14230
13950
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14241
13961
 
14242
13962
 
14243
13963
 
 
13964
 
 
13965
 
14244
13966
#
14245
13967
# Check to make sure the static flag actually works.
14246
13968
#
14247
13969
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14248
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14249
13971
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14250
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
13972
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14251
13973
  $as_echo_n "(cached) " >&6
14252
13974
else
14253
13975
  lt_cv_prog_compiler_static_works_CXX=no
14260
13982
     if test -s conftest.err; then
14261
13983
       # Append any errors to the config.log.
14262
13984
       cat conftest.err 1>&5
14263
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13985
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14264
13986
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14265
13987
       if diff conftest.exp conftest.er2 >/dev/null; then
14266
13988
         lt_cv_prog_compiler_static_works_CXX=yes
14273
13995
   LDFLAGS="$save_LDFLAGS"
14274
13996
 
14275
13997
fi
14276
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14277
13999
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14278
14000
 
14279
14001
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14285
14007
 
14286
14008
 
14287
14009
 
14288
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14010
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14289
14011
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14290
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
14012
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14291
14013
  $as_echo_n "(cached) " >&6
14292
14014
else
14293
14015
  lt_cv_prog_compiler_c_o_CXX=no
14306
14028
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14307
14029
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14308
14030
   -e 's:$: $lt_compiler_flag:'`
14309
 
   (eval echo "\"\$as_me:14309: $lt_compile\"" >&5)
 
14031
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14310
14032
   (eval "$lt_compile" 2>out/conftest.err)
14311
14033
   ac_status=$?
14312
14034
   cat out/conftest.err >&5
14313
 
   echo "$as_me:14313: \$? = $ac_status" >&5
 
14035
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314
14036
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14315
14037
   then
14316
14038
     # The compiler can only warn and ignore the option if not recognized
14317
14039
     # So say no if there are warnings
14318
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14040
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14319
14041
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14320
14042
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14321
14043
       lt_cv_prog_compiler_c_o_CXX=yes
14332
14054
   $RM conftest*
14333
14055
 
14334
14056
fi
14335
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14336
14058
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14337
14059
 
14338
14060
 
14339
14061
 
14340
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14062
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14341
14063
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14342
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
14064
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14343
14065
  $as_echo_n "(cached) " >&6
14344
14066
else
14345
14067
  lt_cv_prog_compiler_c_o_CXX=no
14358
14080
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14359
14081
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14360
14082
   -e 's:$: $lt_compiler_flag:'`
14361
 
   (eval echo "\"\$as_me:14361: $lt_compile\"" >&5)
 
14083
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14362
14084
   (eval "$lt_compile" 2>out/conftest.err)
14363
14085
   ac_status=$?
14364
14086
   cat out/conftest.err >&5
14365
 
   echo "$as_me:14365: \$? = $ac_status" >&5
 
14087
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366
14088
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14367
14089
   then
14368
14090
     # The compiler can only warn and ignore the option if not recognized
14369
14091
     # So say no if there are warnings
14370
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14092
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14371
14093
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14372
14094
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14373
14095
       lt_cv_prog_compiler_c_o_CXX=yes
14384
14106
   $RM conftest*
14385
14107
 
14386
14108
fi
14387
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14388
14110
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14389
14111
 
14390
14112
 
14393
14115
hard_links="nottested"
14394
14116
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14395
14117
  # do not overwrite the value of need_locks provided by the user
14396
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14397
14119
$as_echo_n "checking if we can lock with hard links... " >&6; }
14398
14120
  hard_links=yes
14399
14121
  $RM conftest*
14401
14123
  touch conftest.a
14402
14124
  ln conftest.a conftest.b 2>&5 || hard_links=no
14403
14125
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14404
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14405
14127
$as_echo "$hard_links" >&6; }
14406
14128
  if test "$hard_links" = no; then
14407
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14129
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14408
14130
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14409
14131
    need_locks=warn
14410
14132
  fi
14414
14136
 
14415
14137
 
14416
14138
 
14417
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14139
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14418
14140
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14419
14141
 
14420
14142
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14143
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14421
14144
  case $host_os in
14422
14145
  aix[4-9]*)
14423
14146
    # If we're using GNU nm, then we don't want the "-C" option.
14424
14147
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14148
    # Also, AIX nm treats weak defined symbols like other global defined
 
14149
    # symbols, whereas GNU nm marks them as "W".
14425
14150
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14426
 
      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'
 
14151
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14427
14152
    else
14428
14153
      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'
14429
14154
    fi
14430
14155
    ;;
14431
14156
  pw32*)
14432
14157
    export_symbols_cmds_CXX="$ltdll_cmds"
14433
 
  ;;
 
14158
    ;;
14434
14159
  cygwin* | mingw* | cegcc*)
14435
 
    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'
14436
 
  ;;
 
14160
    case $cc_basename in
 
14161
    cl*) ;;
 
14162
    *)
 
14163
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
14164
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14165
      ;;
 
14166
    esac
 
14167
    ;;
14437
14168
  *)
14438
14169
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14439
 
  ;;
 
14170
    ;;
14440
14171
  esac
14441
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14442
14172
 
14443
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14444
14174
$as_echo "$ld_shlibs_CXX" >&6; }
14445
14175
test "$ld_shlibs_CXX" = no && can_build_shared=no
14446
14176
 
14468
14198
      # Test whether the compiler implicitly links with -lc since on some
14469
14199
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14470
14200
      # to ld, don't add -lc before -lgcc.
14471
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14201
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14472
14202
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14473
 
      $RM conftest*
14474
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14203
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
14204
  $as_echo_n "(cached) " >&6
 
14205
else
 
14206
  $RM conftest*
 
14207
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14475
14208
 
14476
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14209
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14477
14210
  (eval $ac_compile) 2>&5
14478
14211
  ac_status=$?
14479
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480
 
  (exit $ac_status); } 2>conftest.err; then
14481
 
        soname=conftest
14482
 
        lib=conftest
14483
 
        libobjs=conftest.$ac_objext
14484
 
        deplibs=
14485
 
        wl=$lt_prog_compiler_wl_CXX
14486
 
        pic_flag=$lt_prog_compiler_pic_CXX
14487
 
        compiler_flags=-v
14488
 
        linker_flags=-v
14489
 
        verstring=
14490
 
        output_objdir=.
14491
 
        libname=conftest
14492
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14493
 
        allow_undefined_flag_CXX=
14494
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
14212
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14213
  test $ac_status = 0; } 2>conftest.err; then
 
14214
          soname=conftest
 
14215
          lib=conftest
 
14216
          libobjs=conftest.$ac_objext
 
14217
          deplibs=
 
14218
          wl=$lt_prog_compiler_wl_CXX
 
14219
          pic_flag=$lt_prog_compiler_pic_CXX
 
14220
          compiler_flags=-v
 
14221
          linker_flags=-v
 
14222
          verstring=
 
14223
          output_objdir=.
 
14224
          libname=conftest
 
14225
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14226
          allow_undefined_flag_CXX=
 
14227
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14495
14228
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14496
14229
  ac_status=$?
14497
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498
 
  (exit $ac_status); }
14499
 
        then
14500
 
          archive_cmds_need_lc_CXX=no
14501
 
        else
14502
 
          archive_cmds_need_lc_CXX=yes
14503
 
        fi
14504
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14505
 
      else
14506
 
        cat conftest.err 1>&5
14507
 
      fi
14508
 
      $RM conftest*
14509
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14510
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
14230
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14231
  test $ac_status = 0; }
 
14232
          then
 
14233
            lt_cv_archive_cmds_need_lc_CXX=no
 
14234
          else
 
14235
            lt_cv_archive_cmds_need_lc_CXX=yes
 
14236
          fi
 
14237
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14238
        else
 
14239
          cat conftest.err 1>&5
 
14240
        fi
 
14241
        $RM conftest*
 
14242
 
 
14243
fi
 
14244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
14245
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
14246
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14511
14247
      ;;
14512
14248
    esac
14513
14249
  fi
14577
14313
 
14578
14314
 
14579
14315
 
14580
 
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14316
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14581
14317
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14582
14318
 
14583
14319
library_names_spec=
14664
14400
  m68k)
14665
14401
    library_names_spec='$libname.ixlibrary $libname.a'
14666
14402
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14667
 
    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'
 
14403
    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'
14668
14404
    ;;
14669
14405
  esac
14670
14406
  ;;
14695
14431
  need_version=no
14696
14432
  need_lib_prefix=no
14697
14433
 
14698
 
  case $GCC,$host_os in
14699
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14434
  case $GCC,$cc_basename in
 
14435
  yes,*)
 
14436
    # gcc
14700
14437
    library_names_spec='$libname.dll.a'
14701
14438
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14702
14439
    postinstall_cmds='base_file=`basename \${file}`~
14717
14454
    cygwin*)
14718
14455
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14719
14456
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14720
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14457
 
14721
14458
      ;;
14722
14459
    mingw* | cegcc*)
14723
14460
      # MinGW DLLs use traditional 'lib' prefix
14724
14461
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14725
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14726
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14727
 
        # It is most probably a Windows format PATH printed by
14728
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14729
 
        # path with ; separators, and with drive letters. We can handle the
14730
 
        # drive letters (cygwin fileutils understands them), so leave them,
14731
 
        # especially as we might pass files found there to a mingw objdump,
14732
 
        # which wouldn't understand a cygwinified path. Ahh.
14733
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14734
 
      else
14735
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14736
 
      fi
14737
14462
      ;;
14738
14463
    pw32*)
14739
14464
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14740
14465
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14741
14466
      ;;
14742
14467
    esac
 
14468
    dynamic_linker='Win32 ld.exe'
 
14469
    ;;
 
14470
 
 
14471
  *,cl*)
 
14472
    # Native MSVC
 
14473
    libname_spec='$name'
 
14474
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14475
    library_names_spec='${libname}.dll.lib'
 
14476
 
 
14477
    case $build_os in
 
14478
    mingw*)
 
14479
      sys_lib_search_path_spec=
 
14480
      lt_save_ifs=$IFS
 
14481
      IFS=';'
 
14482
      for lt_path in $LIB
 
14483
      do
 
14484
        IFS=$lt_save_ifs
 
14485
        # Let DOS variable expansion print the short 8.3 style file name.
 
14486
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
14487
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
14488
      done
 
14489
      IFS=$lt_save_ifs
 
14490
      # Convert to MSYS style.
 
14491
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
14492
      ;;
 
14493
    cygwin*)
 
14494
      # Convert to unix form, then to dos form, then back to unix form
 
14495
      # but this time dos style (no spaces!) so that the unix form looks
 
14496
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
14497
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
14498
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
14499
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14500
      ;;
 
14501
    *)
 
14502
      sys_lib_search_path_spec="$LIB"
 
14503
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14504
        # It is most probably a Windows format PATH.
 
14505
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14506
      else
 
14507
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14508
      fi
 
14509
      # FIXME: find the short name or the path components, as spaces are
 
14510
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
14511
      ;;
 
14512
    esac
 
14513
 
 
14514
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14515
    postinstall_cmds='base_file=`basename \${file}`~
 
14516
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14517
      dldir=$destdir/`dirname \$dlpath`~
 
14518
      test -d \$dldir || mkdir -p \$dldir~
 
14519
      $install_prog $dir/$dlname \$dldir/$dlname'
 
14520
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14521
      dlpath=$dir/\$dldll~
 
14522
       $RM \$dlpath'
 
14523
    shlibpath_overrides_runpath=yes
 
14524
    dynamic_linker='Win32 link.exe'
14743
14525
    ;;
14744
14526
 
14745
14527
  *)
 
14528
    # Assume MSVC wrapper
14746
14529
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14530
    dynamic_linker='Win32 ld.exe'
14747
14531
    ;;
14748
14532
  esac
14749
 
  dynamic_linker='Win32 ld.exe'
14750
14533
  # FIXME: first we should search . and the directory the executable is in
14751
14534
  shlibpath_var=PATH
14752
14535
  ;;
14832
14615
  hardcode_into_libs=yes
14833
14616
  ;;
14834
14617
 
 
14618
haiku*)
 
14619
  version_type=linux
 
14620
  need_lib_prefix=no
 
14621
  need_version=no
 
14622
  dynamic_linker="$host_os runtime_loader"
 
14623
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14624
  soname_spec='${libname}${release}${shared_ext}$major'
 
14625
  shlibpath_var=LIBRARY_PATH
 
14626
  shlibpath_overrides_runpath=yes
 
14627
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
14628
  hardcode_into_libs=yes
 
14629
  ;;
 
14630
 
14835
14631
hpux9* | hpux10* | hpux11*)
14836
14632
  # Give a soname corresponding to the major version so that dld.sl refuses to
14837
14633
  # link against other versions.
14874
14670
    soname_spec='${libname}${release}${shared_ext}$major'
14875
14671
    ;;
14876
14672
  esac
14877
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14673
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14878
14674
  postinstall_cmds='chmod 555 $lib'
 
14675
  # or fails outright, so override atomically:
 
14676
  install_override_mode=555
14879
14677
  ;;
14880
14678
 
14881
14679
interix[3-9]*)
14933
14731
  ;;
14934
14732
 
14935
14733
# This must be Linux ELF.
14936
 
linux* | k*bsd*-gnu)
 
14734
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14937
14735
  version_type=linux
14938
14736
  need_lib_prefix=no
14939
14737
  need_version=no
14942
14740
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14943
14741
  shlibpath_var=LD_LIBRARY_PATH
14944
14742
  shlibpath_overrides_runpath=no
 
14743
 
14945
14744
  # Some binutils ld are patched to set DT_RUNPATH
14946
 
  save_LDFLAGS=$LDFLAGS
14947
 
  save_libdir=$libdir
14948
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14949
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14950
 
  cat >conftest.$ac_ext <<_ACEOF
14951
 
/* confdefs.h.  */
14952
 
_ACEOF
14953
 
cat confdefs.h >>conftest.$ac_ext
14954
 
cat >>conftest.$ac_ext <<_ACEOF
 
14745
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
14746
  $as_echo_n "(cached) " >&6
 
14747
else
 
14748
  lt_cv_shlibpath_overrides_runpath=no
 
14749
    save_LDFLAGS=$LDFLAGS
 
14750
    save_libdir=$libdir
 
14751
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14752
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14753
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955
14754
/* end confdefs.h.  */
14956
14755
 
14957
14756
int
14962
14761
  return 0;
14963
14762
}
14964
14763
_ACEOF
14965
 
rm -f conftest.$ac_objext conftest$ac_exeext
14966
 
if { (ac_try="$ac_link"
14967
 
case "(($ac_try" in
14968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14969
 
  *) ac_try_echo=$ac_try;;
14970
 
esac
14971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14972
 
$as_echo "$ac_try_echo") >&5
14973
 
  (eval "$ac_link") 2>conftest.er1
14974
 
  ac_status=$?
14975
 
  grep -v '^ *+' conftest.er1 >conftest.err
14976
 
  rm -f conftest.er1
14977
 
  cat conftest.err >&5
14978
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979
 
  (exit $ac_status); } && {
14980
 
         test -z "$ac_cxx_werror_flag" ||
14981
 
         test ! -s conftest.err
14982
 
       } && test -s conftest$ac_exeext && {
14983
 
         test "$cross_compiling" = yes ||
14984
 
         $as_test_x conftest$ac_exeext
14985
 
       }; then
14986
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14987
 
  shlibpath_overrides_runpath=yes
14988
 
fi
14989
 
 
14990
 
else
14991
 
  $as_echo "$as_me: failed program was:" >&5
14992
 
sed 's/^/| /' conftest.$ac_ext >&5
14993
 
 
14994
 
 
14995
 
fi
14996
 
 
14997
 
rm -rf conftest.dSYM
14998
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14999
 
      conftest$ac_exeext conftest.$ac_ext
15000
 
  LDFLAGS=$save_LDFLAGS
15001
 
  libdir=$save_libdir
 
14764
if ac_fn_cxx_try_link "$LINENO"; then :
 
14765
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14766
  lt_cv_shlibpath_overrides_runpath=yes
 
14767
fi
 
14768
fi
 
14769
rm -f core conftest.err conftest.$ac_objext \
 
14770
    conftest$ac_exeext conftest.$ac_ext
 
14771
    LDFLAGS=$save_LDFLAGS
 
14772
    libdir=$save_libdir
 
14773
 
 
14774
fi
 
14775
 
 
14776
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15002
14777
 
15003
14778
  # This implies no fast_install, which is unacceptable.
15004
14779
  # Some rework will be needed to allow for fast_install
15010
14785
 
15011
14786
  # Append ld.so.conf contents to the search path
15012
14787
  if test -f /etc/ld.so.conf; then
15013
 
    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' ' '`
 
14788
    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' ' '`
15014
14789
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
14790
 
15015
14791
  fi
15016
14792
 
15017
14793
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15211
14987
  dynamic_linker=no
15212
14988
  ;;
15213
14989
esac
15214
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15215
14991
$as_echo "$dynamic_linker" >&6; }
15216
14992
test "$dynamic_linker" = no && can_build_shared=no
15217
14993
 
15262
15038
 
15263
15039
 
15264
15040
 
15265
 
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15041
 
 
15042
 
 
15043
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15266
15044
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15267
15045
hardcode_action_CXX=
15268
15046
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15287
15065
  # directories.
15288
15066
  hardcode_action_CXX=unsupported
15289
15067
fi
15290
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15291
15069
$as_echo "$hardcode_action_CXX" >&6; }
15292
15070
 
15293
15071
if test "$hardcode_action_CXX" = relink ||
15309
15087
  fi # test -n "$compiler"
15310
15088
 
15311
15089
  CC=$lt_save_CC
 
15090
  CFLAGS=$lt_save_CFLAGS
15312
15091
  LDCXX=$LD
15313
15092
  LD=$lt_save_LD
15314
15093
  GCC=$lt_save_GCC
15357
15136
 
15358
15137
 
15359
15138
# Check whether --with-darwinports was given.
15360
 
if test "${with_darwinports+set}" = set; then
 
15139
if test "${with_darwinports+set}" = set; then :
15361
15140
  withval=$with_darwinports;
15362
15141
        if test "x$withval" != "xno"; then
15363
15142
                CPPFLAGS="$CPPFLAGS -I/opt/local/include"
15369
15148
 
15370
15149
 
15371
15150
# Check whether --with-fink was given.
15372
 
if test "${with_fink+set}" = set; then
 
15151
if test "${with_fink+set}" = set; then :
15373
15152
  withval=$with_fink;
15374
15153
        if test "x$withval" != "xno"; then
15375
15154
                CPPFLAGS="$CPPFLAGS -I/sw/include"
15385
15164
     boost_version_subminor=0
15386
15165
 
15387
15166
# Check whether --with-boost was given.
15388
 
if test "${with_boost+set}" = set; then
 
15167
if test "${with_boost+set}" = set; then :
15389
15168
  withval=$with_boost;
15390
15169
fi
15391
15170
DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
15392
15171
 
15393
 
  { $as_echo "$as_me:$LINENO: checking for Boost headers version >= 1.33.0" >&5
 
15172
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= 1.33.0" >&5
15394
15173
$as_echo_n "checking for Boost headers version >= 1.33.0... " >&6; }
15395
 
if test "${boost_cv_inc_path+set}" = set; then
 
15174
if ${boost_cv_inc_path+:} false; then :
15396
15175
  $as_echo_n "(cached) " >&6
15397
15176
else
15398
15177
  boost_cv_inc_path=no
15417
15196
      test -e "$boost_inc/boost/version.hpp" || continue
15418
15197
      boost_save_CPPFLAGS=$CPPFLAGS
15419
15198
      test x"$boost_inc" != x && CPPFLAGS="$CPPFLAGS -I$boost_inc"
15420
 
      cat >conftest.$ac_ext <<_ACEOF
15421
 
/* confdefs.h.  */
15422
 
_ACEOF
15423
 
cat confdefs.h >>conftest.$ac_ext
15424
 
cat >>conftest.$ac_ext <<_ACEOF
 
15199
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15425
15200
/* end confdefs.h.  */
15426
15201
#include <boost/version.hpp>
15427
15202
#ifndef BOOST_VERSION
15444
15219
  return 0;
15445
15220
}
15446
15221
_ACEOF
15447
 
rm -f conftest.$ac_objext
15448
 
if { (ac_try="$ac_compile"
15449
 
case "(($ac_try" in
15450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15451
 
  *) ac_try_echo=$ac_try;;
15452
 
esac
15453
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15454
 
$as_echo "$ac_try_echo") >&5
15455
 
  (eval "$ac_compile") 2>conftest.er1
15456
 
  ac_status=$?
15457
 
  grep -v '^ *+' conftest.er1 >conftest.err
15458
 
  rm -f conftest.er1
15459
 
  cat conftest.err >&5
15460
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461
 
  (exit $ac_status); } && {
15462
 
         test -z "$ac_cxx_werror_flag" ||
15463
 
         test ! -s conftest.err
15464
 
       } && test -s conftest.$ac_objext; then
 
15222
if ac_fn_cxx_try_compile "$LINENO"; then :
15465
15223
  boost_cv_inc_path=yes
15466
15224
else
15467
 
  $as_echo "$as_me: failed program was:" >&5
15468
 
sed 's/^/| /' conftest.$ac_ext >&5
15469
 
 
15470
 
        boost_cv_version=no
 
15225
  boost_cv_version=no
15471
15226
fi
15472
 
 
15473
15227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474
15228
      CPPFLAGS=$boost_save_CPPFLAGS
15475
15229
      if test x"$boost_cv_inc_path" = xyes; then
15486
15240
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487
15241
 
15488
15242
fi
15489
 
{ $as_echo "$as_me:$LINENO: result: $boost_cv_inc_path" >&5
 
15243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
15490
15244
$as_echo "$boost_cv_inc_path" >&6; }
15491
15245
    case $boost_cv_inc_path in #(
15492
15246
      no)
15493
 
        { { $as_echo "$as_me:$LINENO: error: Could not find Boost headers version >= 1.33.0" >&5
15494
 
$as_echo "$as_me: error: Could not find Boost headers version >= 1.33.0" >&2;}
15495
 
   { (exit 1); exit 1; }; }
 
15247
        as_fn_error $? "Could not find Boost headers version >= 1.33.0" "$LINENO" 5
15496
15248
        ;;#(
15497
15249
      yes)
15498
15250
        BOOST_CPPFLAGS=
15501
15253
        BOOST_CPPFLAGS="-I$boost_cv_inc_path"
15502
15254
        ;;
15503
15255
    esac
15504
 
  { $as_echo "$as_me:$LINENO: checking for Boost's header version" >&5
 
15256
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
15505
15257
$as_echo_n "checking for Boost's header version... " >&6; }
15506
 
if test "${boost_cv_lib_version+set}" = set; then
 
15258
if ${boost_cv_lib_version+:} false; then :
15507
15259
  $as_echo_n "(cached) " >&6
15508
15260
else
15509
15261
      boost_cv_lib_version=unknown
15513
15265
      && boost_cv_lib_version=`sed "$boost_sed_version" "$boost_version_hpp"`
15514
15266
 
15515
15267
fi
15516
 
{ $as_echo "$as_me:$LINENO: result: $boost_cv_lib_version" >&5
 
15268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
15517
15269
$as_echo "$boost_cv_lib_version" >&6; }
15518
15270
 
15519
 
{ $as_echo "$as_me:$LINENO: checking for the toolset name used by Boost for $CXX" >&5
 
15271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
15520
15272
$as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
15521
 
if test "${boost_cv_lib_tag+set}" = set; then
 
15273
if ${boost_cv_lib_tag+:} false; then :
15522
15274
  $as_echo_n "(cached) " >&6
15523
15275
else
15524
15276
  ac_ext=cpp
15568
15320
  do
15569
15321
    boost_tag_test=`expr "X$i" : 'X\([^@]*\) @ '`
15570
15322
    boost_tag=`expr "X$i" : 'X[^@]* @ \(.*\)'`
15571
 
    cat >conftest.$ac_ext <<_ACEOF
15572
 
/* confdefs.h.  */
15573
 
_ACEOF
15574
 
cat confdefs.h >>conftest.$ac_ext
15575
 
cat >>conftest.$ac_ext <<_ACEOF
 
15323
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576
15324
/* end confdefs.h.  */
15577
15325
 
15578
15326
#if $boost_tag_test
15589
15337
  return 0;
15590
15338
}
15591
15339
_ACEOF
15592
 
rm -f conftest.$ac_objext
15593
 
if { (ac_try="$ac_compile"
15594
 
case "(($ac_try" in
15595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596
 
  *) ac_try_echo=$ac_try;;
15597
 
esac
15598
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15599
 
$as_echo "$ac_try_echo") >&5
15600
 
  (eval "$ac_compile") 2>conftest.er1
15601
 
  ac_status=$?
15602
 
  grep -v '^ *+' conftest.er1 >conftest.err
15603
 
  rm -f conftest.er1
15604
 
  cat conftest.err >&5
15605
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606
 
  (exit $ac_status); } && {
15607
 
         test -z "$ac_cxx_werror_flag" ||
15608
 
         test ! -s conftest.err
15609
 
       } && test -s conftest.$ac_objext; then
 
15340
if ac_fn_cxx_try_compile "$LINENO"; then :
15610
15341
  boost_cv_lib_tag=$boost_tag; break
15611
 
else
15612
 
  $as_echo "$as_me: failed program was:" >&5
15613
 
sed 's/^/| /' conftest.$ac_ext >&5
15614
 
 
15615
 
 
15616
15342
fi
15617
 
 
15618
15343
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619
15344
  done
15620
15345
ac_ext=c
15624
15349
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625
15350
 
15626
15351
fi
15627
 
{ $as_echo "$as_me:$LINENO: result: $boost_cv_lib_tag" >&5
 
15352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
15628
15353
$as_echo "$boost_cv_lib_tag" >&6; }
15629
15354
  if test x"$boost_cv_lib_tag" = xunknown; then
15630
 
    { $as_echo "$as_me:$LINENO: WARNING: could not figure out which toolset name to use for $CXX" >&5
 
15355
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which toolset name to use for $CXX" >&5
15631
15356
$as_echo "$as_me: WARNING: could not figure out which toolset name to use for $CXX" >&2;}
15632
15357
    boost_cv_lib_tag=
15633
15358
  fi
15634
15359
 
15635
15360
# Check whether we do better use `mt' even though we weren't ask to.
15636
 
cat >conftest.$ac_ext <<_ACEOF
15637
 
/* confdefs.h.  */
15638
 
_ACEOF
15639
 
cat confdefs.h >>conftest.$ac_ext
15640
 
cat >>conftest.$ac_ext <<_ACEOF
 
15361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641
15362
/* end confdefs.h.  */
15642
15363
 
15643
15364
#if defined _REENTRANT || defined _MT || defined __MT__
15654
15375
  return 0;
15655
15376
}
15656
15377
_ACEOF
15657
 
rm -f conftest.$ac_objext
15658
 
if { (ac_try="$ac_compile"
15659
 
case "(($ac_try" in
15660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15661
 
  *) ac_try_echo=$ac_try;;
15662
 
esac
15663
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15664
 
$as_echo "$ac_try_echo") >&5
15665
 
  (eval "$ac_compile") 2>conftest.er1
15666
 
  ac_status=$?
15667
 
  grep -v '^ *+' conftest.er1 >conftest.err
15668
 
  rm -f conftest.er1
15669
 
  cat conftest.err >&5
15670
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671
 
  (exit $ac_status); } && {
15672
 
         test -z "$ac_c_werror_flag" ||
15673
 
         test ! -s conftest.err
15674
 
       } && test -s conftest.$ac_objext; then
 
15378
if ac_fn_c_try_compile "$LINENO"; then :
15675
15379
  boost_guess_use_mt=:
15676
15380
else
15677
 
  $as_echo "$as_me: failed program was:" >&5
15678
 
sed 's/^/| /' conftest.$ac_ext >&5
15679
 
 
15680
 
        boost_guess_use_mt=false
 
15381
  boost_guess_use_mt=false
15681
15382
fi
15682
 
 
15683
15383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15684
15384
 
15685
15385
 
15695
15395
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15696
15396
boost_save_CPPFLAGS=$CPPFLAGS
15697
15397
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
15698
 
if test "${ac_cv_header_boost_test_unit_test_hpp+set}" = set; then
15699
 
  { $as_echo "$as_me:$LINENO: checking for boost/test/unit_test.hpp" >&5
15700
 
$as_echo_n "checking for boost/test/unit_test.hpp... " >&6; }
15701
 
if test "${ac_cv_header_boost_test_unit_test_hpp+set}" = set; then
15702
 
  $as_echo_n "(cached) " >&6
15703
 
fi
15704
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_test_unit_test_hpp" >&5
15705
 
$as_echo "$ac_cv_header_boost_test_unit_test_hpp" >&6; }
15706
 
else
15707
 
  # Is the header compilable?
15708
 
{ $as_echo "$as_me:$LINENO: checking boost/test/unit_test.hpp usability" >&5
15709
 
$as_echo_n "checking boost/test/unit_test.hpp usability... " >&6; }
15710
 
cat >conftest.$ac_ext <<_ACEOF
15711
 
/* confdefs.h.  */
15712
 
_ACEOF
15713
 
cat confdefs.h >>conftest.$ac_ext
15714
 
cat >>conftest.$ac_ext <<_ACEOF
15715
 
/* end confdefs.h.  */
15716
 
$ac_includes_default
15717
 
#include <boost/test/unit_test.hpp>
15718
 
_ACEOF
15719
 
rm -f conftest.$ac_objext
15720
 
if { (ac_try="$ac_compile"
15721
 
case "(($ac_try" in
15722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15723
 
  *) ac_try_echo=$ac_try;;
15724
 
esac
15725
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15726
 
$as_echo "$ac_try_echo") >&5
15727
 
  (eval "$ac_compile") 2>conftest.er1
15728
 
  ac_status=$?
15729
 
  grep -v '^ *+' conftest.er1 >conftest.err
15730
 
  rm -f conftest.er1
15731
 
  cat conftest.err >&5
15732
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733
 
  (exit $ac_status); } && {
15734
 
         test -z "$ac_cxx_werror_flag" ||
15735
 
         test ! -s conftest.err
15736
 
       } && test -s conftest.$ac_objext; then
15737
 
  ac_header_compiler=yes
15738
 
else
15739
 
  $as_echo "$as_me: failed program was:" >&5
15740
 
sed 's/^/| /' conftest.$ac_ext >&5
15741
 
 
15742
 
        ac_header_compiler=no
15743
 
fi
15744
 
 
15745
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15746
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15747
 
$as_echo "$ac_header_compiler" >&6; }
15748
 
 
15749
 
# Is the header present?
15750
 
{ $as_echo "$as_me:$LINENO: checking boost/test/unit_test.hpp presence" >&5
15751
 
$as_echo_n "checking boost/test/unit_test.hpp presence... " >&6; }
15752
 
cat >conftest.$ac_ext <<_ACEOF
15753
 
/* confdefs.h.  */
15754
 
_ACEOF
15755
 
cat confdefs.h >>conftest.$ac_ext
15756
 
cat >>conftest.$ac_ext <<_ACEOF
15757
 
/* end confdefs.h.  */
15758
 
#include <boost/test/unit_test.hpp>
15759
 
_ACEOF
15760
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15761
 
case "(($ac_try" in
15762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15763
 
  *) ac_try_echo=$ac_try;;
15764
 
esac
15765
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15766
 
$as_echo "$ac_try_echo") >&5
15767
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15768
 
  ac_status=$?
15769
 
  grep -v '^ *+' conftest.er1 >conftest.err
15770
 
  rm -f conftest.er1
15771
 
  cat conftest.err >&5
15772
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773
 
  (exit $ac_status); } >/dev/null && {
15774
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15775
 
         test ! -s conftest.err
15776
 
       }; then
15777
 
  ac_header_preproc=yes
15778
 
else
15779
 
  $as_echo "$as_me: failed program was:" >&5
15780
 
sed 's/^/| /' conftest.$ac_ext >&5
15781
 
 
15782
 
  ac_header_preproc=no
15783
 
fi
15784
 
 
15785
 
rm -f conftest.err conftest.$ac_ext
15786
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15787
 
$as_echo "$ac_header_preproc" >&6; }
15788
 
 
15789
 
# So?  What about this header?
15790
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15791
 
  yes:no: )
15792
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
15793
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
15794
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp: proceeding with the compiler's result" >&5
15795
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp: proceeding with the compiler's result" >&2;}
15796
 
    ac_header_preproc=yes
15797
 
    ;;
15798
 
  no:yes:* )
15799
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp: present but cannot be compiled" >&5
15800
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp: present but cannot be compiled" >&2;}
15801
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp:     check for missing prerequisite headers?" >&5
15802
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp:     check for missing prerequisite headers?" >&2;}
15803
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp: see the Autoconf documentation" >&5
15804
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp: see the Autoconf documentation" >&2;}
15805
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp:     section \"Present But Cannot Be Compiled\"" >&5
15806
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
15807
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp: proceeding with the preprocessor's result" >&5
15808
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp: proceeding with the preprocessor's result" >&2;}
15809
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/test/unit_test.hpp: in the future, the compiler will take precedence" >&5
15810
 
$as_echo "$as_me: WARNING: boost/test/unit_test.hpp: in the future, the compiler will take precedence" >&2;}
15811
 
 
15812
 
    ;;
15813
 
esac
15814
 
{ $as_echo "$as_me:$LINENO: checking for boost/test/unit_test.hpp" >&5
15815
 
$as_echo_n "checking for boost/test/unit_test.hpp... " >&6; }
15816
 
if test "${ac_cv_header_boost_test_unit_test_hpp+set}" = set; then
15817
 
  $as_echo_n "(cached) " >&6
15818
 
else
15819
 
  ac_cv_header_boost_test_unit_test_hpp=$ac_header_preproc
15820
 
fi
15821
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_test_unit_test_hpp" >&5
15822
 
$as_echo "$ac_cv_header_boost_test_unit_test_hpp" >&6; }
15823
 
 
15824
 
fi
15825
 
if test "x$ac_cv_header_boost_test_unit_test_hpp" = x""yes; then
15826
 
 
15827
 
cat >>confdefs.h <<\_ACEOF
15828
 
#define HAVE_BOOST_TEST_UNIT_TEST_HPP 1
15829
 
_ACEOF
15830
 
 
15831
 
else
15832
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/test/unit_test.hpp" >&5
15833
 
$as_echo "$as_me: error: cannot find boost/test/unit_test.hpp" >&2;}
15834
 
   { (exit 1); exit 1; }; }
 
15398
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/test/unit_test.hpp" "ac_cv_header_boost_test_unit_test_hpp" "$ac_includes_default"
 
15399
if test "x$ac_cv_header_boost_test_unit_test_hpp" = xyes; then :
 
15400
 
 
15401
$as_echo "#define HAVE_BOOST_TEST_UNIT_TEST_HPP 1" >>confdefs.h
 
15402
 
 
15403
else
 
15404
  as_fn_error $? "cannot find boost/test/unit_test.hpp" "$LINENO" 5
15835
15405
fi
15836
15406
 
15837
15407
 
15851
15421
# usually installed.  If we can't find the standard variants, we try to
15852
15422
# enforce -mt (for instance on MacOSX, libboost_threads.dylib doesn't exist
15853
15423
# but there's -obviously- libboost_threads-mt.dylib).
15854
 
{ $as_echo "$as_me:$LINENO: checking for the Boost unit_test_framework library" >&5
 
15424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost unit_test_framework library" >&5
15855
15425
$as_echo_n "checking for the Boost unit_test_framework library... " >&6; }
15856
 
if test "${boost_cv_lib_unit_test_framework+set}" = set; then
 
15426
if ${boost_cv_lib_unit_test_framework+:} false; then :
15857
15427
  $as_echo_n "(cached) " >&6
15858
15428
else
15859
15429
  boost_cv_lib_unit_test_framework=no
15870
15440
  # Look for the abs path the static archive.
15871
15441
  # $libext is computed by Libtool but let's make sure it's non empty.
15872
15442
  test -z "$libext" &&
15873
 
    { { $as_echo "$as_me:$LINENO: error: the libext variable is empty, did you invoke Libtool?" >&5
15874
 
$as_echo "$as_me: error: the libext variable is empty, did you invoke Libtool?" >&2;}
15875
 
   { (exit 1); exit 1; }; }
 
15443
    as_fn_error $? "the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
15876
15444
  boost_save_ac_objext=$ac_objext
15877
15445
  # Generate the test file.
15878
 
  cat >conftest.$ac_ext <<_ACEOF
15879
 
/* confdefs.h.  */
15880
 
_ACEOF
15881
 
cat confdefs.h >>conftest.$ac_ext
15882
 
cat >>conftest.$ac_ext <<_ACEOF
 
15446
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883
15447
/* end confdefs.h.  */
15884
15448
#include <boost/test/unit_test.hpp>
15885
15449
  using boost::unit_test::test_suite; test_suite* init_unit_test_suite( int argc, char ** argv ) { return NULL;}
15891
15455
  return 0;
15892
15456
}
15893
15457
_ACEOF
15894
 
  rm -f conftest.$ac_objext
15895
 
if { (ac_try="$ac_compile"
15896
 
case "(($ac_try" in
15897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15898
 
  *) ac_try_echo=$ac_try;;
15899
 
esac
15900
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15901
 
$as_echo "$ac_try_echo") >&5
15902
 
  (eval "$ac_compile") 2>conftest.er1
15903
 
  ac_status=$?
15904
 
  grep -v '^ *+' conftest.er1 >conftest.err
15905
 
  rm -f conftest.er1
15906
 
  cat conftest.err >&5
15907
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908
 
  (exit $ac_status); } && {
15909
 
         test -z "$ac_cxx_werror_flag" ||
15910
 
         test ! -s conftest.err
15911
 
       } && test -s conftest.$ac_objext; then
 
15458
  if ac_fn_cxx_try_compile "$LINENO"; then :
15912
15459
  ac_objext=do_not_rm_me_plz
15913
15460
else
15914
 
  $as_echo "$as_me: failed program was:" >&5
15915
 
sed 's/^/| /' conftest.$ac_ext >&5
15916
 
 
15917
 
        { { $as_echo "$as_me:$LINENO: error: Cannot compile a test that uses Boost unit_test_framework" >&5
15918
 
$as_echo "$as_me: error: Cannot compile a test that uses Boost unit_test_framework" >&2;}
15919
 
   { (exit 1); exit 1; }; }
 
15461
  as_fn_error $? "Cannot compile a test that uses Boost unit_test_framework" "$LINENO" 5
15920
15462
fi
15921
 
 
15922
15463
rm -f core conftest.err conftest.$ac_objext
15923
15464
  ac_objext=$boost_save_ac_objext
15924
15465
  boost_failed_libs=
15966
15507
# If we already have a .o, re-use it.  We change $ac_ext so that $ac_link
15967
15508
# tries to link the existing object file instead of compiling from source.
15968
15509
test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
15969
 
  $as_echo "$as_me:$LINENO: re-using the existing conftest.$ac_objext" >&5
15970
 
if { (ac_try="$ac_link"
 
15510
  $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
 
15511
if { { ac_try="$ac_link"
15971
15512
case "(($ac_try" in
15972
15513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973
15514
  *) ac_try_echo=$ac_try;;
15974
15515
esac
15975
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15976
 
$as_echo "$ac_try_echo") >&5
15977
 
  (eval "$ac_link") 2>conftest.er1
 
15516
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15517
$as_echo "$ac_try_echo"; } >&5
 
15518
  (eval "$ac_link") 2>conftest.err
15978
15519
  ac_status=$?
15979
 
  grep -v '^ *+' conftest.er1 >conftest.err
15980
 
  rm -f conftest.er1
15981
 
  cat conftest.err >&5
15982
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983
 
  (exit $ac_status); } && {
 
15520
  if test -s conftest.err; then
 
15521
    grep -v '^ *+' conftest.err >conftest.er1
 
15522
    cat conftest.er1 >&5
 
15523
    mv -f conftest.er1 conftest.err
 
15524
  fi
 
15525
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15526
  test $ac_status = 0; } && {
15984
15527
         test -z "$ac_cxx_werror_flag" ||
15985
15528
         test ! -s conftest.err
15986
15529
       } && test -s conftest$ac_exeext && {
15987
15530
         test "$cross_compiling" = yes ||
15988
15531
         $as_executable_p conftest$ac_exeext
15989
 
       }; then
 
15532
       }; then :
15990
15533
  boost_cv_lib_unit_test_framework=yes
15991
15534
else
15992
15535
  if $boost_use_source; then
15996
15539
       fi
15997
15540
       boost_cv_lib_unit_test_framework=no
15998
15541
fi
15999
 
 
16000
15542
rm -f core conftest.err conftest_ipa8_conftest.oo \
16001
15543
      conftest$ac_exeext
16002
15544
      ac_objext=$boost_save_ac_objext
16017
15559
rm -f conftest.$ac_objext
16018
15560
 
16019
15561
fi
16020
 
{ $as_echo "$as_me:$LINENO: result: $boost_cv_lib_unit_test_framework" >&5
 
15562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_unit_test_framework" >&5
16021
15563
$as_echo "$boost_cv_lib_unit_test_framework" >&6; }
16022
15564
case $boost_cv_lib_unit_test_framework in #(
16023
 
  no) { { $as_echo "$as_me:$LINENO: error: Could not find the flags to link with Boost unit_test_framework" >&5
16024
 
$as_echo "$as_me: error: Could not find the flags to link with Boost unit_test_framework" >&2;}
16025
 
   { (exit 1); exit 1; }; }
 
15565
  no) as_fn_error $? "Could not find the flags to link with Boost unit_test_framework" "$LINENO" 5
16026
15566
    ;;
16027
15567
esac
16028
15568
BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS=$boost_cv_lib_unit_test_framework_LDFLAGS
16044
15584
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16045
15585
boost_save_CPPFLAGS=$CPPFLAGS
16046
15586
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16047
 
if test "${ac_cv_header_boost_scoped_ptr_hpp+set}" = set; then
16048
 
  { $as_echo "$as_me:$LINENO: checking for boost/scoped_ptr.hpp" >&5
16049
 
$as_echo_n "checking for boost/scoped_ptr.hpp... " >&6; }
16050
 
if test "${ac_cv_header_boost_scoped_ptr_hpp+set}" = set; then
16051
 
  $as_echo_n "(cached) " >&6
16052
 
fi
16053
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_scoped_ptr_hpp" >&5
16054
 
$as_echo "$ac_cv_header_boost_scoped_ptr_hpp" >&6; }
16055
 
else
16056
 
  # Is the header compilable?
16057
 
{ $as_echo "$as_me:$LINENO: checking boost/scoped_ptr.hpp usability" >&5
16058
 
$as_echo_n "checking boost/scoped_ptr.hpp usability... " >&6; }
16059
 
cat >conftest.$ac_ext <<_ACEOF
16060
 
/* confdefs.h.  */
16061
 
_ACEOF
16062
 
cat confdefs.h >>conftest.$ac_ext
16063
 
cat >>conftest.$ac_ext <<_ACEOF
16064
 
/* end confdefs.h.  */
16065
 
$ac_includes_default
16066
 
#include <boost/scoped_ptr.hpp>
16067
 
_ACEOF
16068
 
rm -f conftest.$ac_objext
16069
 
if { (ac_try="$ac_compile"
16070
 
case "(($ac_try" in
16071
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072
 
  *) ac_try_echo=$ac_try;;
16073
 
esac
16074
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16075
 
$as_echo "$ac_try_echo") >&5
16076
 
  (eval "$ac_compile") 2>conftest.er1
16077
 
  ac_status=$?
16078
 
  grep -v '^ *+' conftest.er1 >conftest.err
16079
 
  rm -f conftest.er1
16080
 
  cat conftest.err >&5
16081
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082
 
  (exit $ac_status); } && {
16083
 
         test -z "$ac_cxx_werror_flag" ||
16084
 
         test ! -s conftest.err
16085
 
       } && test -s conftest.$ac_objext; then
16086
 
  ac_header_compiler=yes
16087
 
else
16088
 
  $as_echo "$as_me: failed program was:" >&5
16089
 
sed 's/^/| /' conftest.$ac_ext >&5
16090
 
 
16091
 
        ac_header_compiler=no
16092
 
fi
16093
 
 
16094
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16095
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16096
 
$as_echo "$ac_header_compiler" >&6; }
16097
 
 
16098
 
# Is the header present?
16099
 
{ $as_echo "$as_me:$LINENO: checking boost/scoped_ptr.hpp presence" >&5
16100
 
$as_echo_n "checking boost/scoped_ptr.hpp presence... " >&6; }
16101
 
cat >conftest.$ac_ext <<_ACEOF
16102
 
/* confdefs.h.  */
16103
 
_ACEOF
16104
 
cat confdefs.h >>conftest.$ac_ext
16105
 
cat >>conftest.$ac_ext <<_ACEOF
16106
 
/* end confdefs.h.  */
16107
 
#include <boost/scoped_ptr.hpp>
16108
 
_ACEOF
16109
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16110
 
case "(($ac_try" in
16111
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112
 
  *) ac_try_echo=$ac_try;;
16113
 
esac
16114
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16115
 
$as_echo "$ac_try_echo") >&5
16116
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16117
 
  ac_status=$?
16118
 
  grep -v '^ *+' conftest.er1 >conftest.err
16119
 
  rm -f conftest.er1
16120
 
  cat conftest.err >&5
16121
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122
 
  (exit $ac_status); } >/dev/null && {
16123
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16124
 
         test ! -s conftest.err
16125
 
       }; then
16126
 
  ac_header_preproc=yes
16127
 
else
16128
 
  $as_echo "$as_me: failed program was:" >&5
16129
 
sed 's/^/| /' conftest.$ac_ext >&5
16130
 
 
16131
 
  ac_header_preproc=no
16132
 
fi
16133
 
 
16134
 
rm -f conftest.err conftest.$ac_ext
16135
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16136
 
$as_echo "$ac_header_preproc" >&6; }
16137
 
 
16138
 
# So?  What about this header?
16139
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16140
 
  yes:no: )
16141
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16142
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16143
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp: proceeding with the compiler's result" >&5
16144
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp: proceeding with the compiler's result" >&2;}
16145
 
    ac_header_preproc=yes
16146
 
    ;;
16147
 
  no:yes:* )
16148
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp: present but cannot be compiled" >&5
16149
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp: present but cannot be compiled" >&2;}
16150
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp:     check for missing prerequisite headers?" >&5
16151
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp:     check for missing prerequisite headers?" >&2;}
16152
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp: see the Autoconf documentation" >&5
16153
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp: see the Autoconf documentation" >&2;}
16154
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16155
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16156
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp: proceeding with the preprocessor's result" >&5
16157
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp: proceeding with the preprocessor's result" >&2;}
16158
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/scoped_ptr.hpp: in the future, the compiler will take precedence" >&5
16159
 
$as_echo "$as_me: WARNING: boost/scoped_ptr.hpp: in the future, the compiler will take precedence" >&2;}
16160
 
 
16161
 
    ;;
16162
 
esac
16163
 
{ $as_echo "$as_me:$LINENO: checking for boost/scoped_ptr.hpp" >&5
16164
 
$as_echo_n "checking for boost/scoped_ptr.hpp... " >&6; }
16165
 
if test "${ac_cv_header_boost_scoped_ptr_hpp+set}" = set; then
16166
 
  $as_echo_n "(cached) " >&6
16167
 
else
16168
 
  ac_cv_header_boost_scoped_ptr_hpp=$ac_header_preproc
16169
 
fi
16170
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_scoped_ptr_hpp" >&5
16171
 
$as_echo "$ac_cv_header_boost_scoped_ptr_hpp" >&6; }
16172
 
 
16173
 
fi
16174
 
if test "x$ac_cv_header_boost_scoped_ptr_hpp" = x""yes; then
16175
 
 
16176
 
cat >>confdefs.h <<\_ACEOF
16177
 
#define HAVE_BOOST_SCOPED_PTR_HPP 1
16178
 
_ACEOF
16179
 
 
16180
 
else
16181
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/scoped_ptr.hpp" >&5
16182
 
$as_echo "$as_me: error: cannot find boost/scoped_ptr.hpp" >&2;}
16183
 
   { (exit 1); exit 1; }; }
16184
 
fi
16185
 
 
16186
 
 
16187
 
CPPFLAGS=$boost_save_CPPFLAGS
16188
 
ac_ext=c
16189
 
ac_cpp='$CPP $CPPFLAGS'
16190
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16191
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16192
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16193
 
 
16194
 
ac_ext=cpp
16195
 
ac_cpp='$CXXCPP $CPPFLAGS'
16196
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16197
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16198
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16199
 
boost_save_CPPFLAGS=$CPPFLAGS
16200
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16201
 
if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
16202
 
  { $as_echo "$as_me:$LINENO: checking for boost/shared_ptr.hpp" >&5
16203
 
$as_echo_n "checking for boost/shared_ptr.hpp... " >&6; }
16204
 
if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
16205
 
  $as_echo_n "(cached) " >&6
16206
 
fi
16207
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_shared_ptr_hpp" >&5
16208
 
$as_echo "$ac_cv_header_boost_shared_ptr_hpp" >&6; }
16209
 
else
16210
 
  # Is the header compilable?
16211
 
{ $as_echo "$as_me:$LINENO: checking boost/shared_ptr.hpp usability" >&5
16212
 
$as_echo_n "checking boost/shared_ptr.hpp usability... " >&6; }
16213
 
cat >conftest.$ac_ext <<_ACEOF
16214
 
/* confdefs.h.  */
16215
 
_ACEOF
16216
 
cat confdefs.h >>conftest.$ac_ext
16217
 
cat >>conftest.$ac_ext <<_ACEOF
16218
 
/* end confdefs.h.  */
16219
 
$ac_includes_default
16220
 
#include <boost/shared_ptr.hpp>
16221
 
_ACEOF
16222
 
rm -f conftest.$ac_objext
16223
 
if { (ac_try="$ac_compile"
16224
 
case "(($ac_try" in
16225
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16226
 
  *) ac_try_echo=$ac_try;;
16227
 
esac
16228
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16229
 
$as_echo "$ac_try_echo") >&5
16230
 
  (eval "$ac_compile") 2>conftest.er1
16231
 
  ac_status=$?
16232
 
  grep -v '^ *+' conftest.er1 >conftest.err
16233
 
  rm -f conftest.er1
16234
 
  cat conftest.err >&5
16235
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236
 
  (exit $ac_status); } && {
16237
 
         test -z "$ac_cxx_werror_flag" ||
16238
 
         test ! -s conftest.err
16239
 
       } && test -s conftest.$ac_objext; then
16240
 
  ac_header_compiler=yes
16241
 
else
16242
 
  $as_echo "$as_me: failed program was:" >&5
16243
 
sed 's/^/| /' conftest.$ac_ext >&5
16244
 
 
16245
 
        ac_header_compiler=no
16246
 
fi
16247
 
 
16248
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16250
 
$as_echo "$ac_header_compiler" >&6; }
16251
 
 
16252
 
# Is the header present?
16253
 
{ $as_echo "$as_me:$LINENO: checking boost/shared_ptr.hpp presence" >&5
16254
 
$as_echo_n "checking boost/shared_ptr.hpp presence... " >&6; }
16255
 
cat >conftest.$ac_ext <<_ACEOF
16256
 
/* confdefs.h.  */
16257
 
_ACEOF
16258
 
cat confdefs.h >>conftest.$ac_ext
16259
 
cat >>conftest.$ac_ext <<_ACEOF
16260
 
/* end confdefs.h.  */
16261
 
#include <boost/shared_ptr.hpp>
16262
 
_ACEOF
16263
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16264
 
case "(($ac_try" in
16265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16266
 
  *) ac_try_echo=$ac_try;;
16267
 
esac
16268
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16269
 
$as_echo "$ac_try_echo") >&5
16270
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16271
 
  ac_status=$?
16272
 
  grep -v '^ *+' conftest.er1 >conftest.err
16273
 
  rm -f conftest.er1
16274
 
  cat conftest.err >&5
16275
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276
 
  (exit $ac_status); } >/dev/null && {
16277
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16278
 
         test ! -s conftest.err
16279
 
       }; then
16280
 
  ac_header_preproc=yes
16281
 
else
16282
 
  $as_echo "$as_me: failed program was:" >&5
16283
 
sed 's/^/| /' conftest.$ac_ext >&5
16284
 
 
16285
 
  ac_header_preproc=no
16286
 
fi
16287
 
 
16288
 
rm -f conftest.err conftest.$ac_ext
16289
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16290
 
$as_echo "$ac_header_preproc" >&6; }
16291
 
 
16292
 
# So?  What about this header?
16293
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16294
 
  yes:no: )
16295
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16296
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16297
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result" >&5
16298
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result" >&2;}
16299
 
    ac_header_preproc=yes
16300
 
    ;;
16301
 
  no:yes:* )
16302
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: present but cannot be compiled" >&5
16303
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp: present but cannot be compiled" >&2;}
16304
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp:     check for missing prerequisite headers?" >&5
16305
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp:     check for missing prerequisite headers?" >&2;}
16306
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation" >&5
16307
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation" >&2;}
16308
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16309
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16310
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: proceeding with the preprocessor's result" >&5
16311
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp: proceeding with the preprocessor's result" >&2;}
16312
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: in the future, the compiler will take precedence" >&5
16313
 
$as_echo "$as_me: WARNING: boost/shared_ptr.hpp: in the future, the compiler will take precedence" >&2;}
16314
 
 
16315
 
    ;;
16316
 
esac
16317
 
{ $as_echo "$as_me:$LINENO: checking for boost/shared_ptr.hpp" >&5
16318
 
$as_echo_n "checking for boost/shared_ptr.hpp... " >&6; }
16319
 
if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
16320
 
  $as_echo_n "(cached) " >&6
16321
 
else
16322
 
  ac_cv_header_boost_shared_ptr_hpp=$ac_header_preproc
16323
 
fi
16324
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_shared_ptr_hpp" >&5
16325
 
$as_echo "$ac_cv_header_boost_shared_ptr_hpp" >&6; }
16326
 
 
16327
 
fi
16328
 
if test "x$ac_cv_header_boost_shared_ptr_hpp" = x""yes; then
16329
 
 
16330
 
cat >>confdefs.h <<\_ACEOF
16331
 
#define HAVE_BOOST_SHARED_PTR_HPP 1
16332
 
_ACEOF
16333
 
 
16334
 
else
16335
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/shared_ptr.hpp" >&5
16336
 
$as_echo "$as_me: error: cannot find boost/shared_ptr.hpp" >&2;}
16337
 
   { (exit 1); exit 1; }; }
16338
 
fi
16339
 
 
16340
 
 
16341
 
CPPFLAGS=$boost_save_CPPFLAGS
16342
 
ac_ext=c
16343
 
ac_cpp='$CPP $CPPFLAGS'
16344
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16345
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16346
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16347
 
 
16348
 
 
16349
 
ac_ext=cpp
16350
 
ac_cpp='$CXXCPP $CPPFLAGS'
16351
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16352
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16353
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16354
 
boost_save_CPPFLAGS=$CPPFLAGS
16355
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16356
 
if test "${ac_cv_header_boost_algorithm_string_hpp+set}" = set; then
16357
 
  { $as_echo "$as_me:$LINENO: checking for boost/algorithm/string.hpp" >&5
16358
 
$as_echo_n "checking for boost/algorithm/string.hpp... " >&6; }
16359
 
if test "${ac_cv_header_boost_algorithm_string_hpp+set}" = set; then
16360
 
  $as_echo_n "(cached) " >&6
16361
 
fi
16362
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_algorithm_string_hpp" >&5
16363
 
$as_echo "$ac_cv_header_boost_algorithm_string_hpp" >&6; }
16364
 
else
16365
 
  # Is the header compilable?
16366
 
{ $as_echo "$as_me:$LINENO: checking boost/algorithm/string.hpp usability" >&5
16367
 
$as_echo_n "checking boost/algorithm/string.hpp usability... " >&6; }
16368
 
cat >conftest.$ac_ext <<_ACEOF
16369
 
/* confdefs.h.  */
16370
 
_ACEOF
16371
 
cat confdefs.h >>conftest.$ac_ext
16372
 
cat >>conftest.$ac_ext <<_ACEOF
16373
 
/* end confdefs.h.  */
16374
 
$ac_includes_default
16375
 
#include <boost/algorithm/string.hpp>
16376
 
_ACEOF
16377
 
rm -f conftest.$ac_objext
16378
 
if { (ac_try="$ac_compile"
16379
 
case "(($ac_try" in
16380
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16381
 
  *) ac_try_echo=$ac_try;;
16382
 
esac
16383
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16384
 
$as_echo "$ac_try_echo") >&5
16385
 
  (eval "$ac_compile") 2>conftest.er1
16386
 
  ac_status=$?
16387
 
  grep -v '^ *+' conftest.er1 >conftest.err
16388
 
  rm -f conftest.er1
16389
 
  cat conftest.err >&5
16390
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391
 
  (exit $ac_status); } && {
16392
 
         test -z "$ac_cxx_werror_flag" ||
16393
 
         test ! -s conftest.err
16394
 
       } && test -s conftest.$ac_objext; then
16395
 
  ac_header_compiler=yes
16396
 
else
16397
 
  $as_echo "$as_me: failed program was:" >&5
16398
 
sed 's/^/| /' conftest.$ac_ext >&5
16399
 
 
16400
 
        ac_header_compiler=no
16401
 
fi
16402
 
 
16403
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16405
 
$as_echo "$ac_header_compiler" >&6; }
16406
 
 
16407
 
# Is the header present?
16408
 
{ $as_echo "$as_me:$LINENO: checking boost/algorithm/string.hpp presence" >&5
16409
 
$as_echo_n "checking boost/algorithm/string.hpp presence... " >&6; }
16410
 
cat >conftest.$ac_ext <<_ACEOF
16411
 
/* confdefs.h.  */
16412
 
_ACEOF
16413
 
cat confdefs.h >>conftest.$ac_ext
16414
 
cat >>conftest.$ac_ext <<_ACEOF
16415
 
/* end confdefs.h.  */
16416
 
#include <boost/algorithm/string.hpp>
16417
 
_ACEOF
16418
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16419
 
case "(($ac_try" in
16420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421
 
  *) ac_try_echo=$ac_try;;
16422
 
esac
16423
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16424
 
$as_echo "$ac_try_echo") >&5
16425
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16426
 
  ac_status=$?
16427
 
  grep -v '^ *+' conftest.er1 >conftest.err
16428
 
  rm -f conftest.er1
16429
 
  cat conftest.err >&5
16430
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431
 
  (exit $ac_status); } >/dev/null && {
16432
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16433
 
         test ! -s conftest.err
16434
 
       }; then
16435
 
  ac_header_preproc=yes
16436
 
else
16437
 
  $as_echo "$as_me: failed program was:" >&5
16438
 
sed 's/^/| /' conftest.$ac_ext >&5
16439
 
 
16440
 
  ac_header_preproc=no
16441
 
fi
16442
 
 
16443
 
rm -f conftest.err conftest.$ac_ext
16444
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16445
 
$as_echo "$ac_header_preproc" >&6; }
16446
 
 
16447
 
# So?  What about this header?
16448
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16449
 
  yes:no: )
16450
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16451
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16452
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp: proceeding with the compiler's result" >&5
16453
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp: proceeding with the compiler's result" >&2;}
16454
 
    ac_header_preproc=yes
16455
 
    ;;
16456
 
  no:yes:* )
16457
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp: present but cannot be compiled" >&5
16458
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp: present but cannot be compiled" >&2;}
16459
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp:     check for missing prerequisite headers?" >&5
16460
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp:     check for missing prerequisite headers?" >&2;}
16461
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp: see the Autoconf documentation" >&5
16462
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp: see the Autoconf documentation" >&2;}
16463
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16464
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16465
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp: proceeding with the preprocessor's result" >&5
16466
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp: proceeding with the preprocessor's result" >&2;}
16467
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/algorithm/string.hpp: in the future, the compiler will take precedence" >&5
16468
 
$as_echo "$as_me: WARNING: boost/algorithm/string.hpp: in the future, the compiler will take precedence" >&2;}
16469
 
 
16470
 
    ;;
16471
 
esac
16472
 
{ $as_echo "$as_me:$LINENO: checking for boost/algorithm/string.hpp" >&5
16473
 
$as_echo_n "checking for boost/algorithm/string.hpp... " >&6; }
16474
 
if test "${ac_cv_header_boost_algorithm_string_hpp+set}" = set; then
16475
 
  $as_echo_n "(cached) " >&6
16476
 
else
16477
 
  ac_cv_header_boost_algorithm_string_hpp=$ac_header_preproc
16478
 
fi
16479
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_algorithm_string_hpp" >&5
16480
 
$as_echo "$ac_cv_header_boost_algorithm_string_hpp" >&6; }
16481
 
 
16482
 
fi
16483
 
if test "x$ac_cv_header_boost_algorithm_string_hpp" = x""yes; then
16484
 
 
16485
 
cat >>confdefs.h <<\_ACEOF
16486
 
#define HAVE_BOOST_ALGORITHM_STRING_HPP 1
16487
 
_ACEOF
16488
 
 
16489
 
else
16490
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/algorithm/string.hpp" >&5
16491
 
$as_echo "$as_me: error: cannot find boost/algorithm/string.hpp" >&2;}
16492
 
   { (exit 1); exit 1; }; }
16493
 
fi
16494
 
 
16495
 
 
16496
 
CPPFLAGS=$boost_save_CPPFLAGS
16497
 
ac_ext=c
16498
 
ac_cpp='$CPP $CPPFLAGS'
16499
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16502
 
 
16503
 
 
16504
 
ac_ext=cpp
16505
 
ac_cpp='$CXXCPP $CPPFLAGS'
16506
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16507
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16508
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16509
 
boost_save_CPPFLAGS=$CPPFLAGS
16510
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16511
 
if test "${ac_cv_header_boost_bind_hpp+set}" = set; then
16512
 
  { $as_echo "$as_me:$LINENO: checking for boost/bind.hpp" >&5
16513
 
$as_echo_n "checking for boost/bind.hpp... " >&6; }
16514
 
if test "${ac_cv_header_boost_bind_hpp+set}" = set; then
16515
 
  $as_echo_n "(cached) " >&6
16516
 
fi
16517
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_bind_hpp" >&5
16518
 
$as_echo "$ac_cv_header_boost_bind_hpp" >&6; }
16519
 
else
16520
 
  # Is the header compilable?
16521
 
{ $as_echo "$as_me:$LINENO: checking boost/bind.hpp usability" >&5
16522
 
$as_echo_n "checking boost/bind.hpp usability... " >&6; }
16523
 
cat >conftest.$ac_ext <<_ACEOF
16524
 
/* confdefs.h.  */
16525
 
_ACEOF
16526
 
cat confdefs.h >>conftest.$ac_ext
16527
 
cat >>conftest.$ac_ext <<_ACEOF
16528
 
/* end confdefs.h.  */
16529
 
$ac_includes_default
16530
 
#include <boost/bind.hpp>
16531
 
_ACEOF
16532
 
rm -f conftest.$ac_objext
16533
 
if { (ac_try="$ac_compile"
16534
 
case "(($ac_try" in
16535
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16536
 
  *) ac_try_echo=$ac_try;;
16537
 
esac
16538
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16539
 
$as_echo "$ac_try_echo") >&5
16540
 
  (eval "$ac_compile") 2>conftest.er1
16541
 
  ac_status=$?
16542
 
  grep -v '^ *+' conftest.er1 >conftest.err
16543
 
  rm -f conftest.er1
16544
 
  cat conftest.err >&5
16545
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546
 
  (exit $ac_status); } && {
16547
 
         test -z "$ac_cxx_werror_flag" ||
16548
 
         test ! -s conftest.err
16549
 
       } && test -s conftest.$ac_objext; then
16550
 
  ac_header_compiler=yes
16551
 
else
16552
 
  $as_echo "$as_me: failed program was:" >&5
16553
 
sed 's/^/| /' conftest.$ac_ext >&5
16554
 
 
16555
 
        ac_header_compiler=no
16556
 
fi
16557
 
 
16558
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16559
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16560
 
$as_echo "$ac_header_compiler" >&6; }
16561
 
 
16562
 
# Is the header present?
16563
 
{ $as_echo "$as_me:$LINENO: checking boost/bind.hpp presence" >&5
16564
 
$as_echo_n "checking boost/bind.hpp presence... " >&6; }
16565
 
cat >conftest.$ac_ext <<_ACEOF
16566
 
/* confdefs.h.  */
16567
 
_ACEOF
16568
 
cat confdefs.h >>conftest.$ac_ext
16569
 
cat >>conftest.$ac_ext <<_ACEOF
16570
 
/* end confdefs.h.  */
16571
 
#include <boost/bind.hpp>
16572
 
_ACEOF
16573
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16574
 
case "(($ac_try" in
16575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16576
 
  *) ac_try_echo=$ac_try;;
16577
 
esac
16578
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16579
 
$as_echo "$ac_try_echo") >&5
16580
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16581
 
  ac_status=$?
16582
 
  grep -v '^ *+' conftest.er1 >conftest.err
16583
 
  rm -f conftest.er1
16584
 
  cat conftest.err >&5
16585
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586
 
  (exit $ac_status); } >/dev/null && {
16587
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16588
 
         test ! -s conftest.err
16589
 
       }; then
16590
 
  ac_header_preproc=yes
16591
 
else
16592
 
  $as_echo "$as_me: failed program was:" >&5
16593
 
sed 's/^/| /' conftest.$ac_ext >&5
16594
 
 
16595
 
  ac_header_preproc=no
16596
 
fi
16597
 
 
16598
 
rm -f conftest.err conftest.$ac_ext
16599
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16600
 
$as_echo "$ac_header_preproc" >&6; }
16601
 
 
16602
 
# So?  What about this header?
16603
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16604
 
  yes:no: )
16605
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16606
 
$as_echo "$as_me: WARNING: boost/bind.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16607
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp: proceeding with the compiler's result" >&5
16608
 
$as_echo "$as_me: WARNING: boost/bind.hpp: proceeding with the compiler's result" >&2;}
16609
 
    ac_header_preproc=yes
16610
 
    ;;
16611
 
  no:yes:* )
16612
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp: present but cannot be compiled" >&5
16613
 
$as_echo "$as_me: WARNING: boost/bind.hpp: present but cannot be compiled" >&2;}
16614
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp:     check for missing prerequisite headers?" >&5
16615
 
$as_echo "$as_me: WARNING: boost/bind.hpp:     check for missing prerequisite headers?" >&2;}
16616
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp: see the Autoconf documentation" >&5
16617
 
$as_echo "$as_me: WARNING: boost/bind.hpp: see the Autoconf documentation" >&2;}
16618
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16619
 
$as_echo "$as_me: WARNING: boost/bind.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16620
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp: proceeding with the preprocessor's result" >&5
16621
 
$as_echo "$as_me: WARNING: boost/bind.hpp: proceeding with the preprocessor's result" >&2;}
16622
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/bind.hpp: in the future, the compiler will take precedence" >&5
16623
 
$as_echo "$as_me: WARNING: boost/bind.hpp: in the future, the compiler will take precedence" >&2;}
16624
 
 
16625
 
    ;;
16626
 
esac
16627
 
{ $as_echo "$as_me:$LINENO: checking for boost/bind.hpp" >&5
16628
 
$as_echo_n "checking for boost/bind.hpp... " >&6; }
16629
 
if test "${ac_cv_header_boost_bind_hpp+set}" = set; then
16630
 
  $as_echo_n "(cached) " >&6
16631
 
else
16632
 
  ac_cv_header_boost_bind_hpp=$ac_header_preproc
16633
 
fi
16634
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_bind_hpp" >&5
16635
 
$as_echo "$ac_cv_header_boost_bind_hpp" >&6; }
16636
 
 
16637
 
fi
16638
 
if test "x$ac_cv_header_boost_bind_hpp" = x""yes; then
16639
 
 
16640
 
cat >>confdefs.h <<\_ACEOF
16641
 
#define HAVE_BOOST_BIND_HPP 1
16642
 
_ACEOF
16643
 
 
16644
 
else
16645
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/bind.hpp" >&5
16646
 
$as_echo "$as_me: error: cannot find boost/bind.hpp" >&2;}
16647
 
   { (exit 1); exit 1; }; }
16648
 
fi
16649
 
 
16650
 
 
16651
 
CPPFLAGS=$boost_save_CPPFLAGS
16652
 
ac_ext=c
16653
 
ac_cpp='$CPP $CPPFLAGS'
16654
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16655
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16656
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16657
 
 
16658
 
ac_ext=cpp
16659
 
ac_cpp='$CXXCPP $CPPFLAGS'
16660
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16661
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16662
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16663
 
boost_save_CPPFLAGS=$CPPFLAGS
16664
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16665
 
if test "${ac_cv_header_boost_variant_variant_fwd_hpp+set}" = set; then
16666
 
  { $as_echo "$as_me:$LINENO: checking for boost/variant/variant_fwd.hpp" >&5
16667
 
$as_echo_n "checking for boost/variant/variant_fwd.hpp... " >&6; }
16668
 
if test "${ac_cv_header_boost_variant_variant_fwd_hpp+set}" = set; then
16669
 
  $as_echo_n "(cached) " >&6
16670
 
fi
16671
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_variant_variant_fwd_hpp" >&5
16672
 
$as_echo "$ac_cv_header_boost_variant_variant_fwd_hpp" >&6; }
16673
 
else
16674
 
  # Is the header compilable?
16675
 
{ $as_echo "$as_me:$LINENO: checking boost/variant/variant_fwd.hpp usability" >&5
16676
 
$as_echo_n "checking boost/variant/variant_fwd.hpp usability... " >&6; }
16677
 
cat >conftest.$ac_ext <<_ACEOF
16678
 
/* confdefs.h.  */
16679
 
_ACEOF
16680
 
cat confdefs.h >>conftest.$ac_ext
16681
 
cat >>conftest.$ac_ext <<_ACEOF
16682
 
/* end confdefs.h.  */
16683
 
$ac_includes_default
16684
 
#include <boost/variant/variant_fwd.hpp>
16685
 
_ACEOF
16686
 
rm -f conftest.$ac_objext
16687
 
if { (ac_try="$ac_compile"
16688
 
case "(($ac_try" in
16689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16690
 
  *) ac_try_echo=$ac_try;;
16691
 
esac
16692
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16693
 
$as_echo "$ac_try_echo") >&5
16694
 
  (eval "$ac_compile") 2>conftest.er1
16695
 
  ac_status=$?
16696
 
  grep -v '^ *+' conftest.er1 >conftest.err
16697
 
  rm -f conftest.er1
16698
 
  cat conftest.err >&5
16699
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700
 
  (exit $ac_status); } && {
16701
 
         test -z "$ac_cxx_werror_flag" ||
16702
 
         test ! -s conftest.err
16703
 
       } && test -s conftest.$ac_objext; then
16704
 
  ac_header_compiler=yes
16705
 
else
16706
 
  $as_echo "$as_me: failed program was:" >&5
16707
 
sed 's/^/| /' conftest.$ac_ext >&5
16708
 
 
16709
 
        ac_header_compiler=no
16710
 
fi
16711
 
 
16712
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16713
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16714
 
$as_echo "$ac_header_compiler" >&6; }
16715
 
 
16716
 
# Is the header present?
16717
 
{ $as_echo "$as_me:$LINENO: checking boost/variant/variant_fwd.hpp presence" >&5
16718
 
$as_echo_n "checking boost/variant/variant_fwd.hpp presence... " >&6; }
16719
 
cat >conftest.$ac_ext <<_ACEOF
16720
 
/* confdefs.h.  */
16721
 
_ACEOF
16722
 
cat confdefs.h >>conftest.$ac_ext
16723
 
cat >>conftest.$ac_ext <<_ACEOF
16724
 
/* end confdefs.h.  */
16725
 
#include <boost/variant/variant_fwd.hpp>
16726
 
_ACEOF
16727
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16728
 
case "(($ac_try" in
16729
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16730
 
  *) ac_try_echo=$ac_try;;
16731
 
esac
16732
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16733
 
$as_echo "$ac_try_echo") >&5
16734
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16735
 
  ac_status=$?
16736
 
  grep -v '^ *+' conftest.er1 >conftest.err
16737
 
  rm -f conftest.er1
16738
 
  cat conftest.err >&5
16739
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740
 
  (exit $ac_status); } >/dev/null && {
16741
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16742
 
         test ! -s conftest.err
16743
 
       }; then
16744
 
  ac_header_preproc=yes
16745
 
else
16746
 
  $as_echo "$as_me: failed program was:" >&5
16747
 
sed 's/^/| /' conftest.$ac_ext >&5
16748
 
 
16749
 
  ac_header_preproc=no
16750
 
fi
16751
 
 
16752
 
rm -f conftest.err conftest.$ac_ext
16753
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16754
 
$as_echo "$ac_header_preproc" >&6; }
16755
 
 
16756
 
# So?  What about this header?
16757
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16758
 
  yes:no: )
16759
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16760
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16761
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp: proceeding with the compiler's result" >&5
16762
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp: proceeding with the compiler's result" >&2;}
16763
 
    ac_header_preproc=yes
16764
 
    ;;
16765
 
  no:yes:* )
16766
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp: present but cannot be compiled" >&5
16767
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp: present but cannot be compiled" >&2;}
16768
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp:     check for missing prerequisite headers?" >&5
16769
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp:     check for missing prerequisite headers?" >&2;}
16770
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp: see the Autoconf documentation" >&5
16771
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp: see the Autoconf documentation" >&2;}
16772
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16773
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16774
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp: proceeding with the preprocessor's result" >&5
16775
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp: proceeding with the preprocessor's result" >&2;}
16776
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant/variant_fwd.hpp: in the future, the compiler will take precedence" >&5
16777
 
$as_echo "$as_me: WARNING: boost/variant/variant_fwd.hpp: in the future, the compiler will take precedence" >&2;}
16778
 
 
16779
 
    ;;
16780
 
esac
16781
 
{ $as_echo "$as_me:$LINENO: checking for boost/variant/variant_fwd.hpp" >&5
16782
 
$as_echo_n "checking for boost/variant/variant_fwd.hpp... " >&6; }
16783
 
if test "${ac_cv_header_boost_variant_variant_fwd_hpp+set}" = set; then
16784
 
  $as_echo_n "(cached) " >&6
16785
 
else
16786
 
  ac_cv_header_boost_variant_variant_fwd_hpp=$ac_header_preproc
16787
 
fi
16788
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_variant_variant_fwd_hpp" >&5
16789
 
$as_echo "$ac_cv_header_boost_variant_variant_fwd_hpp" >&6; }
16790
 
 
16791
 
fi
16792
 
if test "x$ac_cv_header_boost_variant_variant_fwd_hpp" = x""yes; then
16793
 
 
16794
 
cat >>confdefs.h <<\_ACEOF
16795
 
#define HAVE_BOOST_VARIANT_VARIANT_FWD_HPP 1
16796
 
_ACEOF
16797
 
 
16798
 
else
16799
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/variant/variant_fwd.hpp" >&5
16800
 
$as_echo "$as_me: error: cannot find boost/variant/variant_fwd.hpp" >&2;}
16801
 
   { (exit 1); exit 1; }; }
16802
 
fi
16803
 
 
16804
 
 
16805
 
CPPFLAGS=$boost_save_CPPFLAGS
16806
 
ac_ext=c
16807
 
ac_cpp='$CPP $CPPFLAGS'
16808
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16809
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16810
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16811
 
 
16812
 
ac_ext=cpp
16813
 
ac_cpp='$CXXCPP $CPPFLAGS'
16814
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16815
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16816
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16817
 
boost_save_CPPFLAGS=$CPPFLAGS
16818
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16819
 
if test "${ac_cv_header_boost_variant_hpp+set}" = set; then
16820
 
  { $as_echo "$as_me:$LINENO: checking for boost/variant.hpp" >&5
16821
 
$as_echo_n "checking for boost/variant.hpp... " >&6; }
16822
 
if test "${ac_cv_header_boost_variant_hpp+set}" = set; then
16823
 
  $as_echo_n "(cached) " >&6
16824
 
fi
16825
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_variant_hpp" >&5
16826
 
$as_echo "$ac_cv_header_boost_variant_hpp" >&6; }
16827
 
else
16828
 
  # Is the header compilable?
16829
 
{ $as_echo "$as_me:$LINENO: checking boost/variant.hpp usability" >&5
16830
 
$as_echo_n "checking boost/variant.hpp usability... " >&6; }
16831
 
cat >conftest.$ac_ext <<_ACEOF
16832
 
/* confdefs.h.  */
16833
 
_ACEOF
16834
 
cat confdefs.h >>conftest.$ac_ext
16835
 
cat >>conftest.$ac_ext <<_ACEOF
16836
 
/* end confdefs.h.  */
16837
 
$ac_includes_default
16838
 
#include <boost/variant.hpp>
16839
 
_ACEOF
16840
 
rm -f conftest.$ac_objext
16841
 
if { (ac_try="$ac_compile"
16842
 
case "(($ac_try" in
16843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16844
 
  *) ac_try_echo=$ac_try;;
16845
 
esac
16846
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16847
 
$as_echo "$ac_try_echo") >&5
16848
 
  (eval "$ac_compile") 2>conftest.er1
16849
 
  ac_status=$?
16850
 
  grep -v '^ *+' conftest.er1 >conftest.err
16851
 
  rm -f conftest.er1
16852
 
  cat conftest.err >&5
16853
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854
 
  (exit $ac_status); } && {
16855
 
         test -z "$ac_cxx_werror_flag" ||
16856
 
         test ! -s conftest.err
16857
 
       } && test -s conftest.$ac_objext; then
16858
 
  ac_header_compiler=yes
16859
 
else
16860
 
  $as_echo "$as_me: failed program was:" >&5
16861
 
sed 's/^/| /' conftest.$ac_ext >&5
16862
 
 
16863
 
        ac_header_compiler=no
16864
 
fi
16865
 
 
16866
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16867
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16868
 
$as_echo "$ac_header_compiler" >&6; }
16869
 
 
16870
 
# Is the header present?
16871
 
{ $as_echo "$as_me:$LINENO: checking boost/variant.hpp presence" >&5
16872
 
$as_echo_n "checking boost/variant.hpp presence... " >&6; }
16873
 
cat >conftest.$ac_ext <<_ACEOF
16874
 
/* confdefs.h.  */
16875
 
_ACEOF
16876
 
cat confdefs.h >>conftest.$ac_ext
16877
 
cat >>conftest.$ac_ext <<_ACEOF
16878
 
/* end confdefs.h.  */
16879
 
#include <boost/variant.hpp>
16880
 
_ACEOF
16881
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16882
 
case "(($ac_try" in
16883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16884
 
  *) ac_try_echo=$ac_try;;
16885
 
esac
16886
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16887
 
$as_echo "$ac_try_echo") >&5
16888
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16889
 
  ac_status=$?
16890
 
  grep -v '^ *+' conftest.er1 >conftest.err
16891
 
  rm -f conftest.er1
16892
 
  cat conftest.err >&5
16893
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894
 
  (exit $ac_status); } >/dev/null && {
16895
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16896
 
         test ! -s conftest.err
16897
 
       }; then
16898
 
  ac_header_preproc=yes
16899
 
else
16900
 
  $as_echo "$as_me: failed program was:" >&5
16901
 
sed 's/^/| /' conftest.$ac_ext >&5
16902
 
 
16903
 
  ac_header_preproc=no
16904
 
fi
16905
 
 
16906
 
rm -f conftest.err conftest.$ac_ext
16907
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16908
 
$as_echo "$ac_header_preproc" >&6; }
16909
 
 
16910
 
# So?  What about this header?
16911
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16912
 
  yes:no: )
16913
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16914
 
$as_echo "$as_me: WARNING: boost/variant.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16915
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp: proceeding with the compiler's result" >&5
16916
 
$as_echo "$as_me: WARNING: boost/variant.hpp: proceeding with the compiler's result" >&2;}
16917
 
    ac_header_preproc=yes
16918
 
    ;;
16919
 
  no:yes:* )
16920
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp: present but cannot be compiled" >&5
16921
 
$as_echo "$as_me: WARNING: boost/variant.hpp: present but cannot be compiled" >&2;}
16922
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp:     check for missing prerequisite headers?" >&5
16923
 
$as_echo "$as_me: WARNING: boost/variant.hpp:     check for missing prerequisite headers?" >&2;}
16924
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp: see the Autoconf documentation" >&5
16925
 
$as_echo "$as_me: WARNING: boost/variant.hpp: see the Autoconf documentation" >&2;}
16926
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16927
 
$as_echo "$as_me: WARNING: boost/variant.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16928
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp: proceeding with the preprocessor's result" >&5
16929
 
$as_echo "$as_me: WARNING: boost/variant.hpp: proceeding with the preprocessor's result" >&2;}
16930
 
    { $as_echo "$as_me:$LINENO: WARNING: boost/variant.hpp: in the future, the compiler will take precedence" >&5
16931
 
$as_echo "$as_me: WARNING: boost/variant.hpp: in the future, the compiler will take precedence" >&2;}
16932
 
 
16933
 
    ;;
16934
 
esac
16935
 
{ $as_echo "$as_me:$LINENO: checking for boost/variant.hpp" >&5
16936
 
$as_echo_n "checking for boost/variant.hpp... " >&6; }
16937
 
if test "${ac_cv_header_boost_variant_hpp+set}" = set; then
16938
 
  $as_echo_n "(cached) " >&6
16939
 
else
16940
 
  ac_cv_header_boost_variant_hpp=$ac_header_preproc
16941
 
fi
16942
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_boost_variant_hpp" >&5
16943
 
$as_echo "$ac_cv_header_boost_variant_hpp" >&6; }
16944
 
 
16945
 
fi
16946
 
if test "x$ac_cv_header_boost_variant_hpp" = x""yes; then
16947
 
 
16948
 
cat >>confdefs.h <<\_ACEOF
16949
 
#define HAVE_BOOST_VARIANT_HPP 1
16950
 
_ACEOF
16951
 
 
16952
 
else
16953
 
  { { $as_echo "$as_me:$LINENO: error: cannot find boost/variant.hpp" >&5
16954
 
$as_echo "$as_me: error: cannot find boost/variant.hpp" >&2;}
16955
 
   { (exit 1); exit 1; }; }
16956
 
fi
16957
 
 
16958
 
 
16959
 
CPPFLAGS=$boost_save_CPPFLAGS
16960
 
ac_ext=c
16961
 
ac_cpp='$CPP $CPPFLAGS'
16962
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16963
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16964
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16965
 
 
16966
 
 
16967
 
ac_ext=c
16968
 
ac_cpp='$CPP $CPPFLAGS'
16969
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16972
 
 
16973
 
if test "${ac_cv_header_jpeglib_h+set}" = set; then
16974
 
  { $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
16975
 
$as_echo_n "checking for jpeglib.h... " >&6; }
16976
 
if test "${ac_cv_header_jpeglib_h+set}" = set; then
16977
 
  $as_echo_n "(cached) " >&6
16978
 
fi
16979
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
16980
 
$as_echo "$ac_cv_header_jpeglib_h" >&6; }
16981
 
else
16982
 
  # Is the header compilable?
16983
 
{ $as_echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
16984
 
$as_echo_n "checking jpeglib.h usability... " >&6; }
16985
 
cat >conftest.$ac_ext <<_ACEOF
16986
 
/* confdefs.h.  */
16987
 
_ACEOF
16988
 
cat confdefs.h >>conftest.$ac_ext
16989
 
cat >>conftest.$ac_ext <<_ACEOF
16990
 
/* end confdefs.h.  */
16991
 
$ac_includes_default
16992
 
#include <jpeglib.h>
16993
 
_ACEOF
16994
 
rm -f conftest.$ac_objext
16995
 
if { (ac_try="$ac_compile"
16996
 
case "(($ac_try" in
16997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16998
 
  *) ac_try_echo=$ac_try;;
16999
 
esac
17000
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17001
 
$as_echo "$ac_try_echo") >&5
17002
 
  (eval "$ac_compile") 2>conftest.er1
17003
 
  ac_status=$?
17004
 
  grep -v '^ *+' conftest.er1 >conftest.err
17005
 
  rm -f conftest.er1
17006
 
  cat conftest.err >&5
17007
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008
 
  (exit $ac_status); } && {
17009
 
         test -z "$ac_c_werror_flag" ||
17010
 
         test ! -s conftest.err
17011
 
       } && test -s conftest.$ac_objext; then
17012
 
  ac_header_compiler=yes
17013
 
else
17014
 
  $as_echo "$as_me: failed program was:" >&5
17015
 
sed 's/^/| /' conftest.$ac_ext >&5
17016
 
 
17017
 
        ac_header_compiler=no
17018
 
fi
17019
 
 
17020
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17022
 
$as_echo "$ac_header_compiler" >&6; }
17023
 
 
17024
 
# Is the header present?
17025
 
{ $as_echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
17026
 
$as_echo_n "checking jpeglib.h presence... " >&6; }
17027
 
cat >conftest.$ac_ext <<_ACEOF
17028
 
/* confdefs.h.  */
17029
 
_ACEOF
17030
 
cat confdefs.h >>conftest.$ac_ext
17031
 
cat >>conftest.$ac_ext <<_ACEOF
17032
 
/* end confdefs.h.  */
17033
 
#include <jpeglib.h>
17034
 
_ACEOF
17035
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17036
 
case "(($ac_try" in
17037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17038
 
  *) ac_try_echo=$ac_try;;
17039
 
esac
17040
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17041
 
$as_echo "$ac_try_echo") >&5
17042
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17043
 
  ac_status=$?
17044
 
  grep -v '^ *+' conftest.er1 >conftest.err
17045
 
  rm -f conftest.er1
17046
 
  cat conftest.err >&5
17047
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048
 
  (exit $ac_status); } >/dev/null && {
17049
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17050
 
         test ! -s conftest.err
17051
 
       }; then
17052
 
  ac_header_preproc=yes
17053
 
else
17054
 
  $as_echo "$as_me: failed program was:" >&5
17055
 
sed 's/^/| /' conftest.$ac_ext >&5
17056
 
 
17057
 
  ac_header_preproc=no
17058
 
fi
17059
 
 
17060
 
rm -f conftest.err conftest.$ac_ext
17061
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17062
 
$as_echo "$ac_header_preproc" >&6; }
17063
 
 
17064
 
# So?  What about this header?
17065
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17066
 
  yes:no: )
17067
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
17068
 
$as_echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17069
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
17070
 
$as_echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
17071
 
    ac_header_preproc=yes
17072
 
    ;;
17073
 
  no:yes:* )
17074
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
17075
 
$as_echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
17076
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&5
17077
 
$as_echo "$as_me: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&2;}
17078
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
17079
 
$as_echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
17080
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&5
17081
 
$as_echo "$as_me: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
17082
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
17083
 
$as_echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
17084
 
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
17085
 
$as_echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
17086
 
 
17087
 
    ;;
17088
 
esac
17089
 
{ $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
17090
 
$as_echo_n "checking for jpeglib.h... " >&6; }
17091
 
if test "${ac_cv_header_jpeglib_h+set}" = set; then
17092
 
  $as_echo_n "(cached) " >&6
17093
 
else
17094
 
  ac_cv_header_jpeglib_h=$ac_header_preproc
17095
 
fi
17096
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
17097
 
$as_echo "$ac_cv_header_jpeglib_h" >&6; }
17098
 
 
17099
 
fi
17100
 
if test "x$ac_cv_header_jpeglib_h" = x""yes; then
17101
 
  :
17102
 
else
17103
 
  { { $as_echo "$as_me:$LINENO: error: jpeglib headers not found" >&5
17104
 
$as_echo "$as_me: error: jpeglib headers not found" >&2;}
17105
 
   { (exit 1); exit 1; }; }
17106
 
fi
 
15587
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/scoped_ptr.hpp" "ac_cv_header_boost_scoped_ptr_hpp" "$ac_includes_default"
 
15588
if test "x$ac_cv_header_boost_scoped_ptr_hpp" = xyes; then :
 
15589
 
 
15590
$as_echo "#define HAVE_BOOST_SCOPED_PTR_HPP 1" >>confdefs.h
 
15591
 
 
15592
else
 
15593
  as_fn_error $? "cannot find boost/scoped_ptr.hpp" "$LINENO" 5
 
15594
fi
 
15595
 
 
15596
 
 
15597
CPPFLAGS=$boost_save_CPPFLAGS
 
15598
ac_ext=c
 
15599
ac_cpp='$CPP $CPPFLAGS'
 
15600
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15601
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15602
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15603
 
 
15604
ac_ext=cpp
 
15605
ac_cpp='$CXXCPP $CPPFLAGS'
 
15606
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15607
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15608
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15609
boost_save_CPPFLAGS=$CPPFLAGS
 
15610
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
 
15611
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
 
15612
if test "x$ac_cv_header_boost_shared_ptr_hpp" = xyes; then :
 
15613
 
 
15614
$as_echo "#define HAVE_BOOST_SHARED_PTR_HPP 1" >>confdefs.h
 
15615
 
 
15616
else
 
15617
  as_fn_error $? "cannot find boost/shared_ptr.hpp" "$LINENO" 5
 
15618
fi
 
15619
 
 
15620
 
 
15621
CPPFLAGS=$boost_save_CPPFLAGS
 
15622
ac_ext=c
 
15623
ac_cpp='$CPP $CPPFLAGS'
 
15624
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15625
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15626
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15627
 
 
15628
 
 
15629
ac_ext=cpp
 
15630
ac_cpp='$CXXCPP $CPPFLAGS'
 
15631
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15632
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15633
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15634
boost_save_CPPFLAGS=$CPPFLAGS
 
15635
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
 
15636
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/algorithm/string.hpp" "ac_cv_header_boost_algorithm_string_hpp" "$ac_includes_default"
 
15637
if test "x$ac_cv_header_boost_algorithm_string_hpp" = xyes; then :
 
15638
 
 
15639
$as_echo "#define HAVE_BOOST_ALGORITHM_STRING_HPP 1" >>confdefs.h
 
15640
 
 
15641
else
 
15642
  as_fn_error $? "cannot find boost/algorithm/string.hpp" "$LINENO" 5
 
15643
fi
 
15644
 
 
15645
 
 
15646
CPPFLAGS=$boost_save_CPPFLAGS
 
15647
ac_ext=c
 
15648
ac_cpp='$CPP $CPPFLAGS'
 
15649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15652
 
 
15653
 
 
15654
ac_ext=cpp
 
15655
ac_cpp='$CXXCPP $CPPFLAGS'
 
15656
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15657
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15658
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15659
boost_save_CPPFLAGS=$CPPFLAGS
 
15660
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
 
15661
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/bind.hpp" "ac_cv_header_boost_bind_hpp" "$ac_includes_default"
 
15662
if test "x$ac_cv_header_boost_bind_hpp" = xyes; then :
 
15663
 
 
15664
$as_echo "#define HAVE_BOOST_BIND_HPP 1" >>confdefs.h
 
15665
 
 
15666
else
 
15667
  as_fn_error $? "cannot find boost/bind.hpp" "$LINENO" 5
 
15668
fi
 
15669
 
 
15670
 
 
15671
CPPFLAGS=$boost_save_CPPFLAGS
 
15672
ac_ext=c
 
15673
ac_cpp='$CPP $CPPFLAGS'
 
15674
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15675
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15676
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15677
 
 
15678
ac_ext=cpp
 
15679
ac_cpp='$CXXCPP $CPPFLAGS'
 
15680
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15681
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15682
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15683
boost_save_CPPFLAGS=$CPPFLAGS
 
15684
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
 
15685
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/variant/variant_fwd.hpp" "ac_cv_header_boost_variant_variant_fwd_hpp" "$ac_includes_default"
 
15686
if test "x$ac_cv_header_boost_variant_variant_fwd_hpp" = xyes; then :
 
15687
 
 
15688
$as_echo "#define HAVE_BOOST_VARIANT_VARIANT_FWD_HPP 1" >>confdefs.h
 
15689
 
 
15690
else
 
15691
  as_fn_error $? "cannot find boost/variant/variant_fwd.hpp" "$LINENO" 5
 
15692
fi
 
15693
 
 
15694
 
 
15695
CPPFLAGS=$boost_save_CPPFLAGS
 
15696
ac_ext=c
 
15697
ac_cpp='$CPP $CPPFLAGS'
 
15698
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15699
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15700
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15701
 
 
15702
ac_ext=cpp
 
15703
ac_cpp='$CXXCPP $CPPFLAGS'
 
15704
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15705
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15706
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15707
boost_save_CPPFLAGS=$CPPFLAGS
 
15708
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
 
15709
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/variant.hpp" "ac_cv_header_boost_variant_hpp" "$ac_includes_default"
 
15710
if test "x$ac_cv_header_boost_variant_hpp" = xyes; then :
 
15711
 
 
15712
$as_echo "#define HAVE_BOOST_VARIANT_HPP 1" >>confdefs.h
 
15713
 
 
15714
else
 
15715
  as_fn_error $? "cannot find boost/variant.hpp" "$LINENO" 5
 
15716
fi
 
15717
 
 
15718
 
 
15719
CPPFLAGS=$boost_save_CPPFLAGS
 
15720
ac_ext=c
 
15721
ac_cpp='$CPP $CPPFLAGS'
 
15722
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15723
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15724
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15725
 
 
15726
 
 
15727
ac_ext=c
 
15728
ac_cpp='$CPP $CPPFLAGS'
 
15729
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15730
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15731
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15732
 
 
15733
ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
 
15734
if test "x$ac_cv_header_jpeglib_h" = xyes; then :
 
15735
 
 
15736
else
 
15737
  as_fn_error $? "jpeglib headers not found" "$LINENO" 5
 
15738
fi
 
15739
 
 
15740
 
 
15741
 
 
15742
 
17107
15743
 
17108
15744
 
17109
15745
 
17112
15748
        if test -n "$ac_tool_prefix"; then
17113
15749
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17114
15750
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17115
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17116
15752
$as_echo_n "checking for $ac_word... " >&6; }
17117
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
15753
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17118
15754
  $as_echo_n "(cached) " >&6
17119
15755
else
17120
15756
  case $PKG_CONFIG in
17127
15763
do
17128
15764
  IFS=$as_save_IFS
17129
15765
  test -z "$as_dir" && as_dir=.
17130
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15766
    for ac_exec_ext in '' $ac_executable_extensions; do
17131
15767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17132
15768
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17133
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15769
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17134
15770
    break 2
17135
15771
  fi
17136
15772
done
17137
 
done
 
15773
  done
17138
15774
IFS=$as_save_IFS
17139
15775
 
17140
15776
  ;;
17142
15778
fi
17143
15779
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17144
15780
if test -n "$PKG_CONFIG"; then
17145
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
15781
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17146
15782
$as_echo "$PKG_CONFIG" >&6; }
17147
15783
else
17148
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17149
15785
$as_echo "no" >&6; }
17150
15786
fi
17151
15787
 
17155
15791
  ac_pt_PKG_CONFIG=$PKG_CONFIG
17156
15792
  # Extract the first word of "pkg-config", so it can be a program name with args.
17157
15793
set dummy pkg-config; ac_word=$2
17158
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17159
15795
$as_echo_n "checking for $ac_word... " >&6; }
17160
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
15796
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17161
15797
  $as_echo_n "(cached) " >&6
17162
15798
else
17163
15799
  case $ac_pt_PKG_CONFIG in
17170
15806
do
17171
15807
  IFS=$as_save_IFS
17172
15808
  test -z "$as_dir" && as_dir=.
17173
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15809
    for ac_exec_ext in '' $ac_executable_extensions; do
17174
15810
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17175
15811
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17176
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15812
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17177
15813
    break 2
17178
15814
  fi
17179
15815
done
17180
 
done
 
15816
  done
17181
15817
IFS=$as_save_IFS
17182
15818
 
17183
15819
  ;;
17185
15821
fi
17186
15822
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17187
15823
if test -n "$ac_pt_PKG_CONFIG"; then
17188
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
15824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17189
15825
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17190
15826
else
17191
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15827
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17192
15828
$as_echo "no" >&6; }
17193
15829
fi
17194
15830
 
17197
15833
  else
17198
15834
    case $cross_compiling:$ac_tool_warned in
17199
15835
yes:)
17200
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17201
15837
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17202
15838
ac_tool_warned=yes ;;
17203
15839
esac
17210
15846
fi
17211
15847
if test -n "$PKG_CONFIG"; then
17212
15848
        _pkg_min_version=0.9.0
17213
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
15849
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17214
15850
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17215
15851
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17216
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15852
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17217
15853
$as_echo "yes" >&6; }
17218
15854
        else
17219
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
15855
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17220
15856
$as_echo "no" >&6; }
17221
15857
                PKG_CONFIG=""
17222
15858
        fi
17223
 
 
17224
15859
fi
17225
15860
 
17226
15861
pkg_failed=no
17227
 
{ $as_echo "$as_me:$LINENO: checking for LIBXML" >&5
 
15862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
17228
15863
$as_echo_n "checking for LIBXML... " >&6; }
17229
15864
 
17230
15865
if test -n "$LIBXML_CFLAGS"; then
17231
15866
    pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
17232
15867
 elif test -n "$PKG_CONFIG"; then
17233
15868
    if test -n "$PKG_CONFIG" && \
17234
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\"") >&5
 
15869
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
17235
15870
  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
17236
15871
  ac_status=$?
17237
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238
 
  (exit $ac_status); }; then
 
15872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15873
  test $ac_status = 0; }; then
17239
15874
  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5.0" 2>/dev/null`
17240
15875
else
17241
15876
  pkg_failed=yes
17247
15882
    pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
17248
15883
 elif test -n "$PKG_CONFIG"; then
17249
15884
    if test -n "$PKG_CONFIG" && \
17250
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\"") >&5
 
15885
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
17251
15886
  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
17252
15887
  ac_status=$?
17253
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254
 
  (exit $ac_status); }; then
 
15888
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15889
  test $ac_status = 0; }; then
17255
15890
  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5.0" 2>/dev/null`
17256
15891
else
17257
15892
  pkg_failed=yes
17263
15898
 
17264
15899
 
17265
15900
if test $pkg_failed = yes; then
 
15901
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15902
$as_echo "no" >&6; }
17266
15903
 
17267
15904
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17268
15905
        _pkg_short_errors_supported=yes
17277
15914
        # Put the nasty error message in config.log where it belongs
17278
15915
        echo "$LIBXML_PKG_ERRORS" >&5
17279
15916
 
17280
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libxml-2.0 >= 2.5.0) were not met:
17281
 
 
17282
 
$LIBXML_PKG_ERRORS
17283
 
 
17284
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17285
 
installed software in a non-standard prefix.
17286
 
 
17287
 
Alternatively, you may set the environment variables LIBXML_CFLAGS
17288
 
and LIBXML_LIBS to avoid the need to call pkg-config.
17289
 
See the pkg-config man page for more details.
17290
 
" >&5
17291
 
$as_echo "$as_me: error: Package requirements (libxml-2.0 >= 2.5.0) were not met:
17292
 
 
17293
 
$LIBXML_PKG_ERRORS
17294
 
 
17295
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17296
 
installed software in a non-standard prefix.
17297
 
 
17298
 
Alternatively, you may set the environment variables LIBXML_CFLAGS
17299
 
and LIBXML_LIBS to avoid the need to call pkg-config.
17300
 
See the pkg-config man page for more details.
17301
 
" >&2;}
17302
 
   { (exit 1); exit 1; }; }
 
15917
        as_fn_error $? "Package requirements (libxml-2.0 >= 2.5.0) were not met:
 
15918
 
 
15919
$LIBXML_PKG_ERRORS
 
15920
 
 
15921
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15922
installed software in a non-standard prefix.
 
15923
 
 
15924
Alternatively, you may set the environment variables LIBXML_CFLAGS
 
15925
and LIBXML_LIBS to avoid the need to call pkg-config.
 
15926
See the pkg-config man page for more details." "$LINENO" 5
 
15927
 
17303
15928
elif test $pkg_failed = untried; then
17304
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15929
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15930
$as_echo "no" >&6; }
 
15931
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17305
15932
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17306
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
17307
 
is in your PATH or set the PKG_CONFIG environment variable to the full
17308
 
path to pkg-config.
17309
 
 
17310
 
Alternatively, you may set the environment variables LIBXML_CFLAGS
17311
 
and LIBXML_LIBS to avoid the need to call pkg-config.
17312
 
See the pkg-config man page for more details.
17313
 
 
17314
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17315
 
See \`config.log' for more details." >&5
17316
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
17317
 
is in your PATH or set the PKG_CONFIG environment variable to the full
17318
 
path to pkg-config.
17319
 
 
17320
 
Alternatively, you may set the environment variables LIBXML_CFLAGS
17321
 
and LIBXML_LIBS to avoid the need to call pkg-config.
17322
 
See the pkg-config man page for more details.
17323
 
 
17324
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17325
 
See \`config.log' for more details." >&2;}
17326
 
   { (exit 1); exit 1; }; }; }
 
15933
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15934
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15935
path to pkg-config.
 
15936
 
 
15937
Alternatively, you may set the environment variables LIBXML_CFLAGS
 
15938
and LIBXML_LIBS to avoid the need to call pkg-config.
 
15939
See the pkg-config man page for more details.
 
15940
 
 
15941
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15942
See \`config.log' for more details" "$LINENO" 5; }
 
15943
 
17327
15944
else
17328
15945
        LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
17329
15946
        LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
17330
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15947
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17331
15948
$as_echo "yes" >&6; }
17332
 
        :
 
15949
 
17333
15950
fi
17334
15951
 
17335
15952
 
17336
15953
pkg_failed=no
17337
 
{ $as_echo "$as_me:$LINENO: checking for CURL" >&5
 
15954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
17338
15955
$as_echo_n "checking for CURL... " >&6; }
17339
15956
 
17340
15957
if test -n "$CURL_CFLAGS"; then
17341
15958
    pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
17342
15959
 elif test -n "$PKG_CONFIG"; then
17343
15960
    if test -n "$PKG_CONFIG" && \
17344
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
 
15961
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
17345
15962
  ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
17346
15963
  ac_status=$?
17347
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348
 
  (exit $ac_status); }; then
 
15964
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15965
  test $ac_status = 0; }; then
17349
15966
  pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
17350
15967
else
17351
15968
  pkg_failed=yes
17357
15974
    pkg_cv_CURL_LIBS="$CURL_LIBS"
17358
15975
 elif test -n "$PKG_CONFIG"; then
17359
15976
    if test -n "$PKG_CONFIG" && \
17360
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
 
15977
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
17361
15978
  ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
17362
15979
  ac_status=$?
17363
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364
 
  (exit $ac_status); }; then
 
15980
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15981
  test $ac_status = 0; }; then
17365
15982
  pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
17366
15983
else
17367
15984
  pkg_failed=yes
17373
15990
 
17374
15991
 
17375
15992
if test $pkg_failed = yes; then
 
15993
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15994
$as_echo "no" >&6; }
17376
15995
 
17377
15996
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17378
15997
        _pkg_short_errors_supported=yes
17387
16006
        # Put the nasty error message in config.log where it belongs
17388
16007
        echo "$CURL_PKG_ERRORS" >&5
17389
16008
 
17390
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16009
        HAVE_CURL=no
 
16010
elif test $pkg_failed = untried; then
 
16011
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17391
16012
$as_echo "no" >&6; }
17392
 
                HAVE_CURL=no
17393
 
elif test $pkg_failed = untried; then
17394
16013
        HAVE_CURL=no
17395
16014
else
17396
16015
        CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
17397
16016
        CURL_LIBS=$pkg_cv_CURL_LIBS
17398
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16017
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17399
16018
$as_echo "yes" >&6; }
17400
16019
 
17401
 
cat >>confdefs.h <<\_ACEOF
17402
 
#define HAVE_CURL 1
17403
 
_ACEOF
 
16020
$as_echo "#define HAVE_CURL 1" >>confdefs.h
17404
16021
 
17405
16022
                        HAVE_CURL=yes
17406
16023
fi
17407
16024
 
 
16025
 
 
16026
 
 
16027
  for ac_func in $ac_func_list
 
16028
do :
 
16029
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16030
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
16031
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
16032
  cat >>confdefs.h <<_ACEOF
 
16033
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16034
_ACEOF
 
16035
 
 
16036
fi
 
16037
done
 
16038
 
 
16039
 
 
16040
 
 
16041
 
 
16042
 
17408
16043
#
17409
16044
#
17410
16045
# Check whether --enable-gnome was given.
17411
 
if test "${enable_gnome+set}" = set; then
 
16046
if test "${enable_gnome+set}" = set; then :
17412
16047
  enableval=$enable_gnome;
17413
16048
else
17414
16049
  enable_gnome=yes
17424
16059
   HAVE_LIBGLIB=no
17425
16060
 
17426
16061
pkg_failed=no
17427
 
{ $as_echo "$as_me:$LINENO: checking for LIBGLIB" >&5
 
16062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLIB" >&5
17428
16063
$as_echo_n "checking for LIBGLIB... " >&6; }
17429
16064
 
17430
16065
if test -n "$LIBGLIB_CFLAGS"; then
17431
16066
    pkg_cv_LIBGLIB_CFLAGS="$LIBGLIB_CFLAGS"
17432
16067
 elif test -n "$PKG_CONFIG"; then
17433
16068
    if test -n "$PKG_CONFIG" && \
17434
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$LIBGLIB_REQUIRED\"") >&5
 
16069
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$LIBGLIB_REQUIRED\""; } >&5
17435
16070
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $LIBGLIB_REQUIRED") 2>&5
17436
16071
  ac_status=$?
17437
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438
 
  (exit $ac_status); }; then
 
16072
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16073
  test $ac_status = 0; }; then
17439
16074
  pkg_cv_LIBGLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $LIBGLIB_REQUIRED" 2>/dev/null`
17440
16075
else
17441
16076
  pkg_failed=yes
17447
16082
    pkg_cv_LIBGLIB_LIBS="$LIBGLIB_LIBS"
17448
16083
 elif test -n "$PKG_CONFIG"; then
17449
16084
    if test -n "$PKG_CONFIG" && \
17450
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$LIBGLIB_REQUIRED\"") >&5
 
16085
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$LIBGLIB_REQUIRED\""; } >&5
17451
16086
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $LIBGLIB_REQUIRED") 2>&5
17452
16087
  ac_status=$?
17453
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454
 
  (exit $ac_status); }; then
 
16088
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16089
  test $ac_status = 0; }; then
17455
16090
  pkg_cv_LIBGLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $LIBGLIB_REQUIRED" 2>/dev/null`
17456
16091
else
17457
16092
  pkg_failed=yes
17463
16098
 
17464
16099
 
17465
16100
if test $pkg_failed = yes; then
 
16101
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16102
$as_echo "no" >&6; }
17466
16103
 
17467
16104
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17468
16105
        _pkg_short_errors_supported=yes
17477
16114
        # Put the nasty error message in config.log where it belongs
17478
16115
        echo "$LIBGLIB_PKG_ERRORS" >&5
17479
16116
 
17480
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16117
        HAVE_LIBGLIB=no
 
16118
elif test $pkg_failed = untried; then
 
16119
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17481
16120
$as_echo "no" >&6; }
17482
 
                HAVE_LIBGLIB=no
17483
 
elif test $pkg_failed = untried; then
17484
16121
        HAVE_LIBGLIB=no
17485
16122
else
17486
16123
        LIBGLIB_CFLAGS=$pkg_cv_LIBGLIB_CFLAGS
17487
16124
        LIBGLIB_LIBS=$pkg_cv_LIBGLIB_LIBS
17488
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16125
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17489
16126
$as_echo "yes" >&6; }
17490
16127
 
17491
 
cat >>confdefs.h <<\_ACEOF
17492
 
#define HAVE_LIBGLIB 1
17493
 
_ACEOF
 
16128
$as_echo "#define HAVE_LIBGLIB 1" >>confdefs.h
17494
16129
 
17495
16130
                     HAVE_LIBGLIB=yes
17496
16131
fi
17499
16134
   if test x$HAVE_LIBGLIB = xyes ; then
17500
16135
 
17501
16136
pkg_failed=no
17502
 
{ $as_echo "$as_me:$LINENO: checking for LIBGDKPIXBUF" >&5
 
16137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGDKPIXBUF" >&5
17503
16138
$as_echo_n "checking for LIBGDKPIXBUF... " >&6; }
17504
16139
 
17505
16140
if test -n "$LIBGDKPIXBUF_CFLAGS"; then
17506
16141
    pkg_cv_LIBGDKPIXBUF_CFLAGS="$LIBGDKPIXBUF_CFLAGS"
17507
16142
 elif test -n "$PKG_CONFIG"; then
17508
16143
    if test -n "$PKG_CONFIG" && \
17509
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= \$LIBGDKPIXBUF_REQUIRED\"") >&5
 
16144
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= \$LIBGDKPIXBUF_REQUIRED\""; } >&5
17510
16145
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= $LIBGDKPIXBUF_REQUIRED") 2>&5
17511
16146
  ac_status=$?
17512
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513
 
  (exit $ac_status); }; then
 
16147
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16148
  test $ac_status = 0; }; then
17514
16149
  pkg_cv_LIBGDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= $LIBGDKPIXBUF_REQUIRED" 2>/dev/null`
17515
16150
else
17516
16151
  pkg_failed=yes
17522
16157
    pkg_cv_LIBGDKPIXBUF_LIBS="$LIBGDKPIXBUF_LIBS"
17523
16158
 elif test -n "$PKG_CONFIG"; then
17524
16159
    if test -n "$PKG_CONFIG" && \
17525
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= \$LIBGDKPIXBUF_REQUIRED\"") >&5
 
16160
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= \$LIBGDKPIXBUF_REQUIRED\""; } >&5
17526
16161
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= $LIBGDKPIXBUF_REQUIRED") 2>&5
17527
16162
  ac_status=$?
17528
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529
 
  (exit $ac_status); }; then
 
16163
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16164
  test $ac_status = 0; }; then
17530
16165
  pkg_cv_LIBGDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= $LIBGDKPIXBUF_REQUIRED" 2>/dev/null`
17531
16166
else
17532
16167
  pkg_failed=yes
17538
16173
 
17539
16174
 
17540
16175
if test $pkg_failed = yes; then
 
16176
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16177
$as_echo "no" >&6; }
17541
16178
 
17542
16179
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17543
16180
        _pkg_short_errors_supported=yes
17552
16189
        # Put the nasty error message in config.log where it belongs
17553
16190
        echo "$LIBGDKPIXBUF_PKG_ERRORS" >&5
17554
16191
 
17555
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16192
        HAVE_LIBGDKPIXBUF=no
 
16193
elif test $pkg_failed = untried; then
 
16194
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556
16195
$as_echo "no" >&6; }
17557
 
                HAVE_LIBGDKPIXBUF=no
17558
 
elif test $pkg_failed = untried; then
17559
16196
        HAVE_LIBGDKPIXBUF=no
17560
16197
else
17561
16198
        LIBGDKPIXBUF_CFLAGS=$pkg_cv_LIBGDKPIXBUF_CFLAGS
17562
16199
        LIBGDKPIXBUF_LIBS=$pkg_cv_LIBGDKPIXBUF_LIBS
17563
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16200
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17564
16201
$as_echo "yes" >&6; }
17565
16202
 
17566
 
cat >>confdefs.h <<\_ACEOF
17567
 
#define HAVE_LIBGDKPIXBUF 1
17568
 
_ACEOF
 
16203
$as_echo "#define HAVE_LIBGDKPIXBUF 1" >>confdefs.h
17569
16204
 
17570
 
                      GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
17571
 
                      GDK_PIXBUF_DIR="gtk-2.0/$GTK_VERSION/loaders"
 
16205
                      GDK_PIXBUF_DIR=`$PKG_CONFIG --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0`
 
16206
                                                                        if test -z "$GDK_PIXBUF_DIR" ; then
 
16207
                                GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
 
16208
                                GDK_PIXBUF_DIR="$libdir/gtk-2.0/$GTK_VERSION/loaders"
 
16209
                        fi
17572
16210
 
17573
16211
                      HAVE_LIBGDKPIXBUF=yes
17574
16212
fi
17575
16213
   else
17576
 
      { $as_echo "$as_me:$LINENO: WARNING: glib-2.0 missing, ignore GdkPixbuf support." >&5
 
16214
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: glib-2.0 missing, ignore GdkPixbuf support." >&5
17577
16215
$as_echo "$as_me: WARNING: glib-2.0 missing, ignore GdkPixbuf support." >&2;}
17578
16216
   fi
17579
16217
   if test x$HAVE_LIBGDKPIXBUF = xyes ; then
17583
16221
   fi
17584
16222
else
17585
16223
   HAVE_GNOME=no
17586
 
   { $as_echo "$as_me:$LINENO: checking for Gnome" >&5
 
16224
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gnome" >&5
17587
16225
$as_echo_n "checking for Gnome... " >&6; }
17588
 
   { $as_echo "$as_me:$LINENO: result: disabled" >&5
 
16226
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
17589
16227
$as_echo "disabled" >&6; }
17590
16228
fi
17591
16229
 
17598
16236
fi
17599
16237
 
17600
16238
 
17601
 
{ $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Wextra" >&5
 
16239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wextra" >&5
17602
16240
$as_echo_n "checking CFLAGS for gcc -Wextra... " >&6; }
17603
 
if test "${ac_cv_cflags_gcc_option__Wextra+set}" = set; then
 
16241
if ${ac_cv_cflags_gcc_option__Wextra+:} false; then :
17604
16242
  $as_echo_n "(cached) " >&6
17605
16243
else
17606
16244
  ac_cv_cflags_gcc_option__Wextra="no, unknown"
17614
16252
 ac_save_CFLAGS="$CFLAGS"
17615
16253
for ac_arg in "-pedantic -Werror % -Wextra"     "-pedantic % -Wextra %% no, obsolete"     #
17616
16254
do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17617
 
   cat >conftest.$ac_ext <<_ACEOF
17618
 
/* confdefs.h.  */
17619
 
_ACEOF
17620
 
cat confdefs.h >>conftest.$ac_ext
17621
 
cat >>conftest.$ac_ext <<_ACEOF
 
16255
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622
16256
/* end confdefs.h.  */
17623
16257
 
17624
16258
int
17629
16263
  return 0;
17630
16264
}
17631
16265
_ACEOF
17632
 
rm -f conftest.$ac_objext
17633
 
if { (ac_try="$ac_compile"
17634
 
case "(($ac_try" in
17635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17636
 
  *) ac_try_echo=$ac_try;;
17637
 
esac
17638
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17639
 
$as_echo "$ac_try_echo") >&5
17640
 
  (eval "$ac_compile") 2>conftest.er1
17641
 
  ac_status=$?
17642
 
  grep -v '^ *+' conftest.er1 >conftest.err
17643
 
  rm -f conftest.er1
17644
 
  cat conftest.err >&5
17645
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646
 
  (exit $ac_status); } && {
17647
 
         test -z "$ac_c_werror_flag" ||
17648
 
         test ! -s conftest.err
17649
 
       } && test -s conftest.$ac_objext; then
 
16266
if ac_fn_c_try_compile "$LINENO"; then :
17650
16267
  ac_cv_cflags_gcc_option__Wextra=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17651
 
else
17652
 
  $as_echo "$as_me: failed program was:" >&5
17653
 
sed 's/^/| /' conftest.$ac_ext >&5
17654
 
 
17655
 
 
17656
16268
fi
17657
 
 
17658
16269
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659
16270
done
17660
16271
 CFLAGS="$ac_save_CFLAGS"
17666
16277
 
17667
16278
 
17668
16279
fi
17669
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Wextra" >&5
 
16280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wextra" >&5
17670
16281
$as_echo "$ac_cv_cflags_gcc_option__Wextra" >&6; }
17671
16282
case ".$ac_cv_cflags_gcc_option__Wextra" in
17672
16283
     .ok|.ok,*)  ;;
17673
16284
   .|.no|.no,*)  ;;
17674
16285
   *)
17675
16286
   if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wextra " 2>&1 >/dev/null
17676
 
   then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wextra") >&5
 
16287
   then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wextra"; } >&5
17677
16288
  (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wextra) 2>&5
17678
16289
  ac_status=$?
17679
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680
 
  (exit $ac_status); }
17681
 
   else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wextra\"") >&5
 
16290
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16291
  test $ac_status = 0; }
 
16292
   else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wextra\""; } >&5
17682
16293
  (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wextra") 2>&5
17683
16294
  ac_status=$?
17684
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685
 
  (exit $ac_status); }
 
16295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16296
  test $ac_status = 0; }
17686
16297
                      CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wextra"
17687
16298
   fi
17688
16299
 ;;
17689
16300
esac
17690
16301
 
17691
 
{ $as_echo "$as_me:$LINENO: checking CXXFLAGS for gcc -Wextra" >&5
 
16302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for gcc -Wextra" >&5
17692
16303
$as_echo_n "checking CXXFLAGS for gcc -Wextra... " >&6; }
17693
 
if test "${ac_cv_cxxflags_gcc_option__Wextra+set}" = set; then
 
16304
if ${ac_cv_cxxflags_gcc_option__Wextra+:} false; then :
17694
16305
  $as_echo_n "(cached) " >&6
17695
16306
else
17696
16307
  ac_cv_cxxflags_gcc_option__Wextra="no, unknown"
17704
16315
 ac_save_CXXFLAGS="$CXXFLAGS"
17705
16316
for ac_arg in "-pedantic -Werror % -Wextra"     "-pedantic % -Wextra %% no, obsolete"     #
17706
16317
do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17707
 
   cat >conftest.$ac_ext <<_ACEOF
17708
 
/* confdefs.h.  */
17709
 
_ACEOF
17710
 
cat confdefs.h >>conftest.$ac_ext
17711
 
cat >>conftest.$ac_ext <<_ACEOF
 
16318
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712
16319
/* end confdefs.h.  */
17713
16320
 
17714
16321
int
17719
16326
  return 0;
17720
16327
}
17721
16328
_ACEOF
17722
 
rm -f conftest.$ac_objext
17723
 
if { (ac_try="$ac_compile"
17724
 
case "(($ac_try" in
17725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726
 
  *) ac_try_echo=$ac_try;;
17727
 
esac
17728
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17729
 
$as_echo "$ac_try_echo") >&5
17730
 
  (eval "$ac_compile") 2>conftest.er1
17731
 
  ac_status=$?
17732
 
  grep -v '^ *+' conftest.er1 >conftest.err
17733
 
  rm -f conftest.er1
17734
 
  cat conftest.err >&5
17735
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736
 
  (exit $ac_status); } && {
17737
 
         test -z "$ac_cxx_werror_flag" ||
17738
 
         test ! -s conftest.err
17739
 
       } && test -s conftest.$ac_objext; then
 
16329
if ac_fn_cxx_try_compile "$LINENO"; then :
17740
16330
  ac_cv_cxxflags_gcc_option__Wextra=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17741
 
else
17742
 
  $as_echo "$as_me: failed program was:" >&5
17743
 
sed 's/^/| /' conftest.$ac_ext >&5
17744
 
 
17745
 
 
17746
16331
fi
17747
 
 
17748
16332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749
16333
done
17750
16334
 CXXFLAGS="$ac_save_CXXFLAGS"
17756
16340
 
17757
16341
 
17758
16342
fi
17759
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Wextra" >&5
 
16343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Wextra" >&5
17760
16344
$as_echo "$ac_cv_cxxflags_gcc_option__Wextra" >&6; }
17761
16345
case ".$ac_cv_cxxflags_gcc_option__Wextra" in
17762
16346
     .ok|.ok,*)  ;;
17763
16347
   .|.no|.no,*)  ;;
17764
16348
   *)
17765
16349
   if echo " $CXXFLAGS " | grep " $ac_cv_cxxflags_gcc_option__Wextra " 2>&1 >/dev/null
17766
 
   then { ($as_echo "$as_me:$LINENO: : CXXFLAGS does contain \$ac_cv_cxxflags_gcc_option__Wextra") >&5
 
16350
   then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS does contain \$ac_cv_cxxflags_gcc_option__Wextra"; } >&5
17767
16351
  (: CXXFLAGS does contain $ac_cv_cxxflags_gcc_option__Wextra) 2>&5
17768
16352
  ac_status=$?
17769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770
 
  (exit $ac_status); }
17771
 
   else { ($as_echo "$as_me:$LINENO: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_gcc_option__Wextra\"") >&5
 
16353
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16354
  test $ac_status = 0; }
 
16355
   else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_gcc_option__Wextra\""; } >&5
17772
16356
  (: CXXFLAGS="$CXXFLAGS $ac_cv_cxxflags_gcc_option__Wextra") 2>&5
17773
16357
  ac_status=$?
17774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775
 
  (exit $ac_status); }
 
16358
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16359
  test $ac_status = 0; }
17776
16360
                      CXXFLAGS="$CXXFLAGS $ac_cv_cxxflags_gcc_option__Wextra"
17777
16361
   fi
17778
16362
 ;;
17792
16376
 
17793
16377
# Extract the first word of "sed", so it can be a program name with args.
17794
16378
set dummy sed; ac_word=$2
17795
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17796
16380
$as_echo_n "checking for $ac_word... " >&6; }
17797
 
if test "${ac_cv_prog_SED+set}" = set; then
 
16381
if ${ac_cv_prog_SED+:} false; then :
17798
16382
  $as_echo_n "(cached) " >&6
17799
16383
else
17800
16384
  if test -n "$SED"; then
17805
16389
do
17806
16390
  IFS=$as_save_IFS
17807
16391
  test -z "$as_dir" && as_dir=.
17808
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16392
    for ac_exec_ext in '' $ac_executable_extensions; do
17809
16393
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17810
16394
    ac_cv_prog_SED="sed"
17811
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16395
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17812
16396
    break 2
17813
16397
  fi
17814
16398
done
17815
 
done
 
16399
  done
17816
16400
IFS=$as_save_IFS
17817
16401
 
17818
16402
  test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="false"
17820
16404
fi
17821
16405
SED=$ac_cv_prog_SED
17822
16406
if test -n "$SED"; then
17823
 
  { $as_echo "$as_me:$LINENO: result: $SED" >&5
 
16407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
17824
16408
$as_echo "$SED" >&6; }
17825
16409
else
17826
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17827
16411
$as_echo "no" >&6; }
17828
16412
fi
17829
16413
 
17871
16455
    case $ac_val in #(
17872
16456
    *${as_nl}*)
17873
16457
      case $ac_var in #(
17874
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
16458
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17875
16459
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17876
16460
      esac
17877
16461
      case $ac_var in #(
17878
16462
      _ | IFS | as_nl) ;; #(
17879
16463
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17880
 
      *) $as_unset $ac_var ;;
 
16464
      *) { eval $ac_var=; unset $ac_var;} ;;
17881
16465
      esac ;;
17882
16466
    esac
17883
16467
  done
17885
16469
  (set) 2>&1 |
17886
16470
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17887
16471
    *${as_nl}ac_space=\ *)
17888
 
      # `set' does not quote correctly, so add quotes (double-quote
17889
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
16472
      # `set' does not quote correctly, so add quotes: double-quote
 
16473
      # substitution turns \\\\ into \\, and sed turns \\ into \.
17890
16474
      sed -n \
17891
16475
        "s/'/'\\\\''/g;
17892
16476
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17908
16492
     :end' >>confcache
17909
16493
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17910
16494
  if test -w "$cache_file"; then
17911
 
    test "x$cache_file" != "x/dev/null" &&
17912
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
16495
    if test "x$cache_file" != "x/dev/null"; then
 
16496
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17913
16497
$as_echo "$as_me: updating cache $cache_file" >&6;}
17914
 
    cat confcache >$cache_file
 
16498
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
16499
        cat confcache >"$cache_file"
 
16500
      else
 
16501
        case $cache_file in #(
 
16502
        */* | ?:*)
 
16503
          mv -f confcache "$cache_file"$$ &&
 
16504
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
16505
        *)
 
16506
          mv -f confcache "$cache_file" ;;
 
16507
        esac
 
16508
      fi
 
16509
    fi
17915
16510
  else
17916
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
16511
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17917
16512
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17918
16513
  fi
17919
16514
fi
17927
16522
 
17928
16523
ac_libobjs=
17929
16524
ac_ltlibobjs=
 
16525
U=
17930
16526
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17931
16527
  # 1. Remove the extension, and $U if already installed.
17932
16528
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17933
16529
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17934
16530
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17935
16531
  #    will be set to the directory where LIBOBJS objects are built.
17936
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17937
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
16532
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
16533
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17938
16534
done
17939
16535
LIBOBJS=$ac_libobjs
17940
16536
 
17941
16537
LTLIBOBJS=$ac_ltlibobjs
17942
16538
 
17943
16539
 
 
16540
 if test -n "$EXEEXT"; then
 
16541
  am__EXEEXT_TRUE=
 
16542
  am__EXEEXT_FALSE='#'
 
16543
else
 
16544
  am__EXEEXT_TRUE='#'
 
16545
  am__EXEEXT_FALSE=
 
16546
fi
 
16547
 
17944
16548
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17945
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17946
 
Usually this means the macro was only invoked conditionally." >&5
17947
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17948
 
Usually this means the macro was only invoked conditionally." >&2;}
17949
 
   { (exit 1); exit 1; }; }
 
16549
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
16550
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17950
16551
fi
17951
16552
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17952
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17953
 
Usually this means the macro was only invoked conditionally." >&5
17954
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17955
 
Usually this means the macro was only invoked conditionally." >&2;}
17956
 
   { (exit 1); exit 1; }; }
 
16553
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
16554
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17957
16555
fi
17958
16556
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17959
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17960
 
Usually this means the macro was only invoked conditionally." >&5
17961
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17962
 
Usually this means the macro was only invoked conditionally." >&2;}
17963
 
   { (exit 1); exit 1; }; }
17964
 
fi
17965
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17966
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17967
 
Usually this means the macro was only invoked conditionally." >&5
17968
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17969
 
Usually this means the macro was only invoked conditionally." >&2;}
17970
 
   { (exit 1); exit 1; }; }
17971
 
fi
17972
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17973
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17974
 
Usually this means the macro was only invoked conditionally." >&5
17975
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17976
 
Usually this means the macro was only invoked conditionally." >&2;}
17977
 
   { (exit 1); exit 1; }; }
 
16557
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
16558
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16559
fi
 
16560
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
16561
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
16562
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17978
16563
fi
17979
16564
if test -z "${BUILD_GNOME_SUPPORT_TRUE}" && test -z "${BUILD_GNOME_SUPPORT_FALSE}"; then
17980
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GNOME_SUPPORT\" was never defined.
17981
 
Usually this means the macro was only invoked conditionally." >&5
17982
 
$as_echo "$as_me: error: conditional \"BUILD_GNOME_SUPPORT\" was never defined.
17983
 
Usually this means the macro was only invoked conditionally." >&2;}
17984
 
   { (exit 1); exit 1; }; }
 
16565
  as_fn_error $? "conditional \"BUILD_GNOME_SUPPORT\" was never defined.
 
16566
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17985
16567
fi
17986
16568
 
17987
 
: ${CONFIG_STATUS=./config.status}
 
16569
: "${CONFIG_STATUS=./config.status}"
17988
16570
ac_write_fail=0
17989
16571
ac_clean_files_save=$ac_clean_files
17990
16572
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17991
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
16573
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17992
16574
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17993
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16575
as_write_fail=0
 
16576
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17994
16577
#! $SHELL
17995
16578
# Generated by $as_me.
17996
16579
# Run this file to recreate the current configuration.
18000
16583
debug=false
18001
16584
ac_cs_recheck=false
18002
16585
ac_cs_silent=false
 
16586
 
18003
16587
SHELL=\${CONFIG_SHELL-$SHELL}
18004
 
_ACEOF
18005
 
 
18006
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18007
 
## --------------------- ##
18008
 
## M4sh Initialization.  ##
18009
 
## --------------------- ##
 
16588
export SHELL
 
16589
_ASEOF
 
16590
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
16591
## -------------------- ##
 
16592
## M4sh Initialization. ##
 
16593
## -------------------- ##
18010
16594
 
18011
16595
# Be more Bourne compatible
18012
16596
DUALCASE=1; export DUALCASE # for MKS sh
18013
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16597
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18014
16598
  emulate sh
18015
16599
  NULLCMD=:
18016
16600
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18018
16602
  alias -g '${1+"$@"}'='"$@"'
18019
16603
  setopt NO_GLOB_SUBST
18020
16604
else
18021
 
  case `(set -o) 2>/dev/null` in
18022
 
  *posix*) set -o posix ;;
 
16605
  case `(set -o) 2>/dev/null` in #(
 
16606
  *posix*) :
 
16607
    set -o posix ;; #(
 
16608
  *) :
 
16609
     ;;
18023
16610
esac
18024
 
 
18025
16611
fi
18026
16612
 
18027
16613
 
18028
 
 
18029
 
 
18030
 
# PATH needs CR
18031
 
# Avoid depending upon Character Ranges.
18032
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18033
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18034
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18035
 
as_cr_digits='0123456789'
18036
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
18037
 
 
18038
16614
as_nl='
18039
16615
'
18040
16616
export as_nl
18042
16618
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18043
16619
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18044
16620
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18045
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16621
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
16622
# but without wasting forks for bash or zsh.
 
16623
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
16624
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16625
  as_echo='print -r --'
 
16626
  as_echo_n='print -rn --'
 
16627
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18046
16628
  as_echo='printf %s\n'
18047
16629
  as_echo_n='printf %s'
18048
16630
else
18053
16635
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18054
16636
    as_echo_n_body='eval
18055
16637
      arg=$1;
18056
 
      case $arg in
 
16638
      case $arg in #(
18057
16639
      *"$as_nl"*)
18058
16640
        expr "X$arg" : "X\\(.*\\)$as_nl";
18059
16641
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18076
16658
  }
18077
16659
fi
18078
16660
 
18079
 
# Support unset when possible.
18080
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18081
 
  as_unset=unset
18082
 
else
18083
 
  as_unset=false
18084
 
fi
18085
 
 
18086
16661
 
18087
16662
# IFS
18088
16663
# We need space, tab and new line, in precisely that order.  Quoting is
18092
16667
IFS=" ""        $as_nl"
18093
16668
 
18094
16669
# Find who we are.  Look in the path if we contain no directory separator.
18095
 
case $0 in
 
16670
as_myself=
 
16671
case $0 in #((
18096
16672
  *[\\/]* ) as_myself=$0 ;;
18097
16673
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18098
16674
for as_dir in $PATH
18099
16675
do
18100
16676
  IFS=$as_save_IFS
18101
16677
  test -z "$as_dir" && as_dir=.
18102
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18103
 
done
 
16678
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16679
  done
18104
16680
IFS=$as_save_IFS
18105
16681
 
18106
16682
     ;;
18112
16688
fi
18113
16689
if test ! -f "$as_myself"; then
18114
16690
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18115
 
  { (exit 1); exit 1; }
 
16691
  exit 1
18116
16692
fi
18117
16693
 
18118
 
# Work around bugs in pre-3.0 UWIN ksh.
18119
 
for as_var in ENV MAIL MAILPATH
18120
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16694
# Unset variables that we do not need and which cause bugs (e.g. in
 
16695
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
16696
# suppresses any "Segmentation fault" message there.  '((' could
 
16697
# trigger a bug in pdksh 5.2.14.
 
16698
for as_var in BASH_ENV ENV MAIL MAILPATH
 
16699
do eval test x\${$as_var+set} = xset \
 
16700
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18121
16701
done
18122
16702
PS1='$ '
18123
16703
PS2='> '
18129
16709
LANGUAGE=C
18130
16710
export LANGUAGE
18131
16711
 
18132
 
# Required to use basename.
 
16712
# CDPATH.
 
16713
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16714
 
 
16715
 
 
16716
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
16717
# ----------------------------------------
 
16718
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
16719
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
16720
# script with STATUS, using 1 if that was 0.
 
16721
as_fn_error ()
 
16722
{
 
16723
  as_status=$1; test $as_status -eq 0 && as_status=1
 
16724
  if test "$4"; then
 
16725
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16726
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
16727
  fi
 
16728
  $as_echo "$as_me: error: $2" >&2
 
16729
  as_fn_exit $as_status
 
16730
} # as_fn_error
 
16731
 
 
16732
 
 
16733
# as_fn_set_status STATUS
 
16734
# -----------------------
 
16735
# Set $? to STATUS, without forking.
 
16736
as_fn_set_status ()
 
16737
{
 
16738
  return $1
 
16739
} # as_fn_set_status
 
16740
 
 
16741
# as_fn_exit STATUS
 
16742
# -----------------
 
16743
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16744
as_fn_exit ()
 
16745
{
 
16746
  set +e
 
16747
  as_fn_set_status $1
 
16748
  exit $1
 
16749
} # as_fn_exit
 
16750
 
 
16751
# as_fn_unset VAR
 
16752
# ---------------
 
16753
# Portably unset VAR.
 
16754
as_fn_unset ()
 
16755
{
 
16756
  { eval $1=; unset $1;}
 
16757
}
 
16758
as_unset=as_fn_unset
 
16759
# as_fn_append VAR VALUE
 
16760
# ----------------------
 
16761
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16762
# advantage of any shell optimizations that allow amortized linear growth over
 
16763
# repeated appends, instead of the typical quadratic growth present in naive
 
16764
# implementations.
 
16765
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16766
  eval 'as_fn_append ()
 
16767
  {
 
16768
    eval $1+=\$2
 
16769
  }'
 
16770
else
 
16771
  as_fn_append ()
 
16772
  {
 
16773
    eval $1=\$$1\$2
 
16774
  }
 
16775
fi # as_fn_append
 
16776
 
 
16777
# as_fn_arith ARG...
 
16778
# ------------------
 
16779
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16780
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16781
# must be portable across $(()) and expr.
 
16782
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16783
  eval 'as_fn_arith ()
 
16784
  {
 
16785
    as_val=$(( $* ))
 
16786
  }'
 
16787
else
 
16788
  as_fn_arith ()
 
16789
  {
 
16790
    as_val=`expr "$@" || test $? -eq 1`
 
16791
  }
 
16792
fi # as_fn_arith
 
16793
 
 
16794
 
18133
16795
if expr a : '\(a\)' >/dev/null 2>&1 &&
18134
16796
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18135
16797
  as_expr=expr
18143
16805
  as_basename=false
18144
16806
fi
18145
16807
 
 
16808
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16809
  as_dirname=dirname
 
16810
else
 
16811
  as_dirname=false
 
16812
fi
18146
16813
 
18147
 
# Name of the executable.
18148
16814
as_me=`$as_basename -- "$0" ||
18149
16815
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18150
16816
         X"$0" : 'X\(//\)$' \| \
18164
16830
          }
18165
16831
          s/.*/./; q'`
18166
16832
 
18167
 
# CDPATH.
18168
 
$as_unset CDPATH
18169
 
 
18170
 
 
18171
 
 
18172
 
  as_lineno_1=$LINENO
18173
 
  as_lineno_2=$LINENO
18174
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
18175
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18176
 
 
18177
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18178
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
18179
 
  # line-number line after each line using $LINENO; the second 'sed'
18180
 
  # does the real work.  The second script uses 'N' to pair each
18181
 
  # line-number line with the line containing $LINENO, and appends
18182
 
  # trailing '-' during substitution so that $LINENO is not a special
18183
 
  # case at line end.
18184
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18185
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
18186
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
18187
 
  sed -n '
18188
 
    p
18189
 
    /[$]LINENO/=
18190
 
  ' <$as_myself |
18191
 
    sed '
18192
 
      s/[$]LINENO.*/&-/
18193
 
      t lineno
18194
 
      b
18195
 
      :lineno
18196
 
      N
18197
 
      :loop
18198
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18199
 
      t loop
18200
 
      s/-\n.*//
18201
 
    ' >$as_me.lineno &&
18202
 
  chmod +x "$as_me.lineno" ||
18203
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18204
 
   { (exit 1); exit 1; }; }
18205
 
 
18206
 
  # Don't try to exec as it changes $[0], causing all sort of problems
18207
 
  # (the dirname of $[0] is not the place where we might find the
18208
 
  # original and so on.  Autoconf is especially sensitive to this).
18209
 
  . "./$as_me.lineno"
18210
 
  # Exit status is that of the last command.
18211
 
  exit
18212
 
}
18213
 
 
18214
 
 
18215
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18216
 
  as_dirname=dirname
18217
 
else
18218
 
  as_dirname=false
18219
 
fi
 
16833
# Avoid depending upon Character Ranges.
 
16834
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16835
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16836
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16837
as_cr_digits='0123456789'
 
16838
as_cr_alnum=$as_cr_Letters$as_cr_digits
18220
16839
 
18221
16840
ECHO_C= ECHO_N= ECHO_T=
18222
 
case `echo -n x` in
 
16841
case `echo -n x` in #(((((
18223
16842
-n*)
18224
 
  case `echo 'x\c'` in
 
16843
  case `echo 'xy\c'` in
18225
16844
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18226
 
  *)   ECHO_C='\c';;
 
16845
  xy)  ECHO_C='\c';;
 
16846
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16847
       ECHO_T=' ';;
18227
16848
  esac;;
18228
16849
*)
18229
16850
  ECHO_N='-n';;
18230
16851
esac
18231
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
18232
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18233
 
  as_expr=expr
18234
 
else
18235
 
  as_expr=false
18236
 
fi
18237
16852
 
18238
16853
rm -f conf$$ conf$$.exe conf$$.file
18239
16854
if test -d conf$$.dir; then
18262
16877
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18263
16878
rmdir conf$$.dir 2>/dev/null
18264
16879
 
 
16880
 
 
16881
# as_fn_mkdir_p
 
16882
# -------------
 
16883
# Create "$as_dir" as a directory, including parents if necessary.
 
16884
as_fn_mkdir_p ()
 
16885
{
 
16886
 
 
16887
  case $as_dir in #(
 
16888
  -*) as_dir=./$as_dir;;
 
16889
  esac
 
16890
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16891
    as_dirs=
 
16892
    while :; do
 
16893
      case $as_dir in #(
 
16894
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16895
      *) as_qdir=$as_dir;;
 
16896
      esac
 
16897
      as_dirs="'$as_qdir' $as_dirs"
 
16898
      as_dir=`$as_dirname -- "$as_dir" ||
 
16899
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16900
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16901
         X"$as_dir" : 'X\(//\)$' \| \
 
16902
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16903
$as_echo X"$as_dir" |
 
16904
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16905
            s//\1/
 
16906
            q
 
16907
          }
 
16908
          /^X\(\/\/\)[^/].*/{
 
16909
            s//\1/
 
16910
            q
 
16911
          }
 
16912
          /^X\(\/\/\)$/{
 
16913
            s//\1/
 
16914
            q
 
16915
          }
 
16916
          /^X\(\/\).*/{
 
16917
            s//\1/
 
16918
            q
 
16919
          }
 
16920
          s/.*/./; q'`
 
16921
      test -d "$as_dir" && break
 
16922
    done
 
16923
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
16924
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
16925
 
 
16926
 
 
16927
} # as_fn_mkdir_p
18265
16928
if mkdir -p . 2>/dev/null; then
18266
 
  as_mkdir_p=:
 
16929
  as_mkdir_p='mkdir -p "$as_dir"'
18267
16930
else
18268
16931
  test -d ./-p && rmdir ./-p
18269
16932
  as_mkdir_p=false
18282
16945
      if test -d "$1"; then
18283
16946
        test -d "$1/.";
18284
16947
      else
18285
 
        case $1 in
 
16948
        case $1 in #(
18286
16949
        -*)set "./$1";;
18287
16950
        esac;
18288
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
16951
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18289
16952
        ???[sx]*):;;*)false;;esac;fi
18290
16953
    '\'' sh
18291
16954
  '
18300
16963
 
18301
16964
 
18302
16965
exec 6>&1
 
16966
## ----------------------------------- ##
 
16967
## Main body of $CONFIG_STATUS script. ##
 
16968
## ----------------------------------- ##
 
16969
_ASEOF
 
16970
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18303
16971
 
18304
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
16972
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16973
# Save the log message, to keep $0 and so on meaningful, and to
18305
16974
# report actual input values of CONFIG_FILES etc. instead of their
18306
16975
# values after options handling.
18307
16976
ac_log="
18308
 
This file was extended by $as_me, which was
18309
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
16977
This file was extended by libopenraw $as_me 0.0.9, which was
 
16978
generated by GNU Autoconf 2.68.  Invocation command line was
18310
16979
 
18311
16980
  CONFIG_FILES    = $CONFIG_FILES
18312
16981
  CONFIG_HEADERS  = $CONFIG_HEADERS
18338
17007
 
18339
17008
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18340
17009
ac_cs_usage="\
18341
 
\`$as_me' instantiates files from templates according to the
18342
 
current configuration.
 
17010
\`$as_me' instantiates files and other configuration actions
 
17011
from templates according to the current configuration.  Unless the files
 
17012
and actions are specified as TAGs, all are instantiated by default.
18343
17013
 
18344
 
Usage: $0 [OPTION]... [FILE]...
 
17014
Usage: $0 [OPTION]... [TAG]...
18345
17015
 
18346
17016
  -h, --help       print this help, then exit
18347
17017
  -V, --version    print version number and configuration settings, then exit
 
17018
      --config     print configuration, then exit
18348
17019
  -q, --quiet, --silent
18349
17020
                   do not print progress messages
18350
17021
  -d, --debug      don't remove temporary files
18363
17034
Configuration commands:
18364
17035
$config_commands
18365
17036
 
18366
 
Report bugs to <bug-autoconf@gnu.org>."
 
17037
Report bugs to the package provider."
18367
17038
 
18368
17039
_ACEOF
18369
17040
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17041
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18370
17042
ac_cs_version="\\
18371
 
config.status
18372
 
configured by $0, generated by GNU Autoconf 2.63,
18373
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17043
libopenraw config.status 0.0.9
 
17044
configured by $0, generated by GNU Autoconf 2.68,
 
17045
  with options \\"\$ac_cs_config\\"
18374
17046
 
18375
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
17047
Copyright (C) 2010 Free Software Foundation, Inc.
18376
17048
This config.status script is free software; the Free Software Foundation
18377
17049
gives unlimited permission to copy, distribute and modify it."
18378
17050
 
18390
17062
while test $# != 0
18391
17063
do
18392
17064
  case $1 in
18393
 
  --*=*)
 
17065
  --*=?*)
18394
17066
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18395
17067
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18396
17068
    ac_shift=:
18397
17069
    ;;
 
17070
  --*=)
 
17071
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
17072
    ac_optarg=
 
17073
    ac_shift=:
 
17074
    ;;
18398
17075
  *)
18399
17076
    ac_option=$1
18400
17077
    ac_optarg=$2
18408
17085
    ac_cs_recheck=: ;;
18409
17086
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18410
17087
    $as_echo "$ac_cs_version"; exit ;;
 
17088
  --config | --confi | --conf | --con | --co | --c )
 
17089
    $as_echo "$ac_cs_config"; exit ;;
18411
17090
  --debug | --debu | --deb | --de | --d | -d )
18412
17091
    debug=: ;;
18413
17092
  --file | --fil | --fi | --f )
18414
17093
    $ac_shift
18415
17094
    case $ac_optarg in
18416
17095
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17096
    '') as_fn_error $? "missing file argument" ;;
18417
17097
    esac
18418
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
17098
    as_fn_append CONFIG_FILES " '$ac_optarg'"
18419
17099
    ac_need_defaults=false;;
18420
17100
  --header | --heade | --head | --hea )
18421
17101
    $ac_shift
18422
17102
    case $ac_optarg in
18423
17103
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18424
17104
    esac
18425
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
17105
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18426
17106
    ac_need_defaults=false;;
18427
17107
  --he | --h)
18428
17108
    # Conflict between --help and --header
18429
 
    { $as_echo "$as_me: error: ambiguous option: $1
18430
 
Try \`$0 --help' for more information." >&2
18431
 
   { (exit 1); exit 1; }; };;
 
17109
    as_fn_error $? "ambiguous option: \`$1'
 
17110
Try \`$0 --help' for more information.";;
18432
17111
  --help | --hel | -h )
18433
17112
    $as_echo "$ac_cs_usage"; exit ;;
18434
17113
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18436
17115
    ac_cs_silent=: ;;
18437
17116
 
18438
17117
  # This is an error.
18439
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
18440
 
Try \`$0 --help' for more information." >&2
18441
 
   { (exit 1); exit 1; }; } ;;
 
17118
  -*) as_fn_error $? "unrecognized option: \`$1'
 
17119
Try \`$0 --help' for more information." ;;
18442
17120
 
18443
 
  *) ac_config_targets="$ac_config_targets $1"
 
17121
  *) as_fn_append ac_config_targets " $1"
18444
17122
     ac_need_defaults=false ;;
18445
17123
 
18446
17124
  esac
18491
17169
sed_quote_subst='$sed_quote_subst'
18492
17170
double_quote_subst='$double_quote_subst'
18493
17171
delay_variable_subst='$delay_variable_subst'
18494
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18495
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18496
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18497
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18498
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18499
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18500
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18501
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18502
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18503
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18504
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18505
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18506
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18507
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18508
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18509
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18510
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18511
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18512
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18513
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18514
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18515
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18516
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18517
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18518
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18519
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18520
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18521
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18522
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18523
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18524
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18525
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18526
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18527
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18528
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18529
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18530
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18531
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18532
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18533
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18534
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18535
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18536
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18537
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18538
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18539
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18540
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18541
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18542
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18543
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18544
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18545
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18546
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18547
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18548
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18549
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18550
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18551
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18552
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18553
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18554
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18555
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18556
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18557
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18558
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18559
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18560
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18561
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18562
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18563
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18564
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18565
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18566
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18567
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18568
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18569
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18570
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18571
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18572
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18573
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18574
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18575
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18576
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18577
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18578
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18579
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18580
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18581
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18582
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18583
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18584
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18585
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18586
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18587
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18588
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18589
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18590
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18591
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18592
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18593
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18594
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18595
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18596
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18597
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18598
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18599
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18600
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18601
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18602
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18603
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18604
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18605
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18606
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18607
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18608
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18609
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18610
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18611
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18612
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
18613
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18614
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18615
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
18616
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
18617
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
18618
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18619
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18620
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18621
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18622
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18623
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18624
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18625
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18626
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18627
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18628
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18629
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18630
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18631
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18632
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18633
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18634
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18635
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18636
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18637
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18638
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18639
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18640
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18641
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18642
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18643
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18644
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18645
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18646
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18647
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18648
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18649
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18650
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18651
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18652
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18653
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18654
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18655
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18656
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18657
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18658
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18659
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18660
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18661
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18662
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18663
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18664
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17172
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
17173
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
17174
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
17175
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
17176
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
17177
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
17178
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
17179
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
17180
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
17181
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
17182
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
17183
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
17184
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
17185
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
17186
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
17187
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
17188
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
17189
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
17190
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
17191
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
17192
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
17193
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
17194
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
17195
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
17196
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
17197
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
17198
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
17199
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
17200
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
17201
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
17202
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
17203
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
17204
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
17205
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
17206
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
17207
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
17208
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
17209
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
17210
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
17211
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
17212
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
17213
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
17214
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
17215
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
17216
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17217
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17218
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17219
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
17220
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
17221
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
17222
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
17223
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
17224
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
17225
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
17226
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
17227
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"`'
 
17228
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17229
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
17230
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
17231
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
17232
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
17233
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
17234
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
17235
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
17236
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
17237
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
17238
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
17239
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
17240
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
17241
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
17242
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
17243
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
17244
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
17245
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
17246
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17247
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
17248
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
17249
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17250
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17251
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
17252
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
17253
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17254
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17255
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17256
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
17257
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17258
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
17259
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17260
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17261
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17262
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
17263
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
17264
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
17265
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
17266
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
17267
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17268
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
17269
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
17270
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
17271
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
17272
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
17273
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
17274
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
17275
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
17276
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
17277
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17278
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
17279
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
17280
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
17281
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
17282
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
17283
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17284
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
17285
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
17286
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
17287
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
17288
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
17289
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17290
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17291
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
17292
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
17293
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
17294
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
17295
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
17296
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
17297
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
17298
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
17299
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
17300
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
17301
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
17302
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
17303
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
17304
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
17305
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
17306
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
17307
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
17308
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
17309
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
17310
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17311
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17312
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
17313
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
17314
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
17315
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
17316
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
17317
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
17318
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
17319
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
17320
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
17321
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
17322
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
17323
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
17324
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17325
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17326
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17327
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17328
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17329
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17330
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
17331
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
17332
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
17333
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
17334
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
17335
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
17336
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
17337
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
17338
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
17339
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
17340
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
17341
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
17342
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
17343
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
17344
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17345
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
17346
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
17347
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17348
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
17349
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
17350
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
17351
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
17352
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
17353
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
17354
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
17355
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
17356
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18665
17357
 
18666
17358
LTCC='$LTCC'
18667
17359
LTCFLAGS='$LTCFLAGS'
18668
17360
compiler='$compiler_DEFAULT'
18669
17361
 
 
17362
# A function that is used when there is no print builtin or printf.
 
17363
func_fallback_echo ()
 
17364
{
 
17365
  eval 'cat <<_LTECHO_EOF
 
17366
\$1
 
17367
_LTECHO_EOF'
 
17368
}
 
17369
 
18670
17370
# Quote evaled strings.
18671
 
for var in SED \
 
17371
for var in SHELL \
 
17372
ECHO \
 
17373
SED \
18672
17374
GREP \
18673
17375
EGREP \
18674
17376
FGREP \
18681
17383
OBJDUMP \
18682
17384
deplibs_check_method \
18683
17385
file_magic_cmd \
 
17386
file_magic_glob \
 
17387
want_nocaseglob \
 
17388
DLLTOOL \
 
17389
sharedlib_from_linklib_cmd \
18684
17390
AR \
18685
17391
AR_FLAGS \
 
17392
archiver_list_spec \
18686
17393
STRIP \
18687
17394
RANLIB \
18688
17395
CC \
18692
17399
lt_cv_sys_global_symbol_to_cdecl \
18693
17400
lt_cv_sys_global_symbol_to_c_name_address \
18694
17401
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18695
 
SHELL \
18696
 
ECHO \
 
17402
nm_file_list_spec \
18697
17403
lt_prog_compiler_no_builtin_flag \
 
17404
lt_prog_compiler_pic \
18698
17405
lt_prog_compiler_wl \
18699
 
lt_prog_compiler_pic \
18700
17406
lt_prog_compiler_static \
18701
17407
lt_cv_prog_compiler_c_o \
18702
17408
need_locks \
 
17409
MANIFEST_TOOL \
18703
17410
DSYMUTIL \
18704
17411
NMEDIT \
18705
17412
LIPO \
18715
17422
hardcode_libdir_flag_spec \
18716
17423
hardcode_libdir_flag_spec_ld \
18717
17424
hardcode_libdir_separator \
18718
 
fix_srcfile_path \
18719
17425
exclude_expsyms \
18720
17426
include_expsyms \
18721
17427
file_list_spec \
18723
17429
libname_spec \
18724
17430
library_names_spec \
18725
17431
soname_spec \
 
17432
install_override_mode \
18726
17433
finish_eval \
18727
17434
old_striplib \
18728
17435
striplib \
18733
17440
postdeps \
18734
17441
compiler_lib_search_path \
18735
17442
LD_CXX \
 
17443
reload_flag_CXX \
18736
17444
compiler_CXX \
18737
17445
lt_prog_compiler_no_builtin_flag_CXX \
 
17446
lt_prog_compiler_pic_CXX \
18738
17447
lt_prog_compiler_wl_CXX \
18739
 
lt_prog_compiler_pic_CXX \
18740
17448
lt_prog_compiler_static_CXX \
18741
17449
lt_cv_prog_compiler_c_o_CXX \
18742
17450
export_dynamic_flag_spec_CXX \
18748
17456
hardcode_libdir_flag_spec_CXX \
18749
17457
hardcode_libdir_flag_spec_ld_CXX \
18750
17458
hardcode_libdir_separator_CXX \
18751
 
fix_srcfile_path_CXX \
18752
17459
exclude_expsyms_CXX \
18753
17460
include_expsyms_CXX \
18754
17461
file_list_spec_CXX \
18758
17465
predeps_CXX \
18759
17466
postdeps_CXX \
18760
17467
compiler_lib_search_path_CXX; do
18761
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17468
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18762
17469
    *[\\\\\\\`\\"\\\$]*)
18763
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17470
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18764
17471
      ;;
18765
17472
    *)
18766
17473
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18782
17489
module_expsym_cmds \
18783
17490
export_symbols_cmds \
18784
17491
prelink_cmds \
 
17492
postlink_cmds \
18785
17493
postinstall_cmds \
18786
17494
postuninstall_cmds \
18787
17495
finish_cmds \
18788
17496
sys_lib_search_path_spec \
18789
17497
sys_lib_dlsearch_path_spec \
 
17498
reload_cmds_CXX \
18790
17499
old_archive_cmds_CXX \
18791
17500
old_archive_from_new_cmds_CXX \
18792
17501
old_archive_from_expsyms_cmds_CXX \
18795
17504
module_cmds_CXX \
18796
17505
module_expsym_cmds_CXX \
18797
17506
export_symbols_cmds_CXX \
18798
 
prelink_cmds_CXX; do
18799
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17507
prelink_cmds_CXX \
 
17508
postlink_cmds_CXX; do
 
17509
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18800
17510
    *[\\\\\\\`\\"\\\$]*)
18801
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17511
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18802
17512
      ;;
18803
17513
    *)
18804
17514
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18806
17516
    esac
18807
17517
done
18808
17518
 
18809
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
18810
 
case \$lt_ECHO in
18811
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18812
 
  ;;
18813
 
esac
18814
 
 
18815
17519
ac_aux_dir='$ac_aux_dir'
18816
17520
xsi_shell='$xsi_shell'
18817
17521
lt_shell_append='$lt_shell_append'
18867
17571
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18868
17572
    "demo/Makefile") CONFIG_FILES="$CONFIG_FILES demo/Makefile" ;;
18869
17573
 
18870
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18871
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18872
 
   { (exit 1); exit 1; }; };;
 
17574
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18873
17575
  esac
18874
17576
done
18875
17577
 
18892
17594
# after its creation but before its name has been assigned to `$tmp'.
18893
17595
$debug ||
18894
17596
{
18895
 
  tmp=
 
17597
  tmp= ac_tmp=
18896
17598
  trap 'exit_status=$?
18897
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
17599
  : "${ac_tmp:=$tmp}"
 
17600
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18898
17601
' 0
18899
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
17602
  trap 'as_fn_exit 1' 1 2 13 15
18900
17603
}
18901
17604
# Create a (secure) tmp directory for tmp files.
18902
17605
 
18903
17606
{
18904
17607
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18905
 
  test -n "$tmp" && test -d "$tmp"
 
17608
  test -d "$tmp"
18906
17609
}  ||
18907
17610
{
18908
17611
  tmp=./conf$$-$RANDOM
18909
17612
  (umask 077 && mkdir "$tmp")
18910
 
} ||
18911
 
{
18912
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
18913
 
   { (exit 1); exit 1; }
18914
 
}
 
17613
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
17614
ac_tmp=$tmp
18915
17615
 
18916
17616
# Set up the scripts for CONFIG_FILES section.
18917
17617
# No need to generate them if there are no CONFIG_FILES.
18919
17619
if test -n "$CONFIG_FILES"; then
18920
17620
 
18921
17621
 
18922
 
ac_cr='
 
 
b"'"
 
17622
ac_cr=`echo X | tr X '\015'`
 
17623
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
17624
# But we know of no other shell where ac_cr would be empty at this
 
17625
# point, so we can use a bashism as a fallback.
 
17626
if test "x$ac_cr" = x; then
 
17627
  eval ac_cr=\$\'\\r\'
 
17628
fi
18923
17629
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18924
17630
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18925
17631
  ac_cs_awk_cr='\\r'
18927
17633
  ac_cs_awk_cr=$ac_cr
18928
17634
fi
18929
17635
 
18930
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
17636
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18931
17637
_ACEOF
18932
17638
 
18933
17639
 
18936
17642
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18937
17643
  echo "_ACEOF"
18938
17644
} >conf$$subs.sh ||
18939
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18940
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18941
 
   { (exit 1); exit 1; }; }
18942
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17645
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
17646
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18943
17647
ac_delim='%!_!# '
18944
17648
for ac_last_try in false false false false false :; do
18945
17649
  . ./conf$$subs.sh ||
18946
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18947
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18948
 
   { (exit 1); exit 1; }; }
 
17650
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18949
17651
 
18950
17652
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18951
17653
  if test $ac_delim_n = $ac_delim_num; then
18952
17654
    break
18953
17655
  elif $ac_last_try; then
18954
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18955
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18956
 
   { (exit 1); exit 1; }; }
 
17656
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18957
17657
  else
18958
17658
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18959
17659
  fi
18961
17661
rm -f conf$$subs.sh
18962
17662
 
18963
17663
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18964
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
17664
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18965
17665
_ACEOF
18966
17666
sed -n '
18967
17667
h
18975
17675
t delim
18976
17676
:nl
18977
17677
h
18978
 
s/\(.\{148\}\).*/\1/
 
17678
s/\(.\{148\}\)..*/\1/
18979
17679
t more1
18980
17680
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18981
17681
p
18989
17689
t nl
18990
17690
:delim
18991
17691
h
18992
 
s/\(.\{148\}\).*/\1/
 
17692
s/\(.\{148\}\)..*/\1/
18993
17693
t more2
18994
17694
s/["\\]/\\&/g; s/^/"/; s/$/"/
18995
17695
p
19009
17709
rm -f conf$$subs.awk
19010
17710
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19011
17711
_ACAWK
19012
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
17712
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19013
17713
  for (key in S) S_is_set[key] = 1
19014
17714
  FS = ""
19015
17715
 
19041
17741
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19042
17742
else
19043
17743
  cat
19044
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19045
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
19046
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
19047
 
   { (exit 1); exit 1; }; }
 
17744
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
17745
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19048
17746
_ACEOF
19049
17747
 
19050
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19051
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
17748
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
17749
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19052
17750
# trailing colons and then remove the whole line if VPATH becomes empty
19053
17751
# (actually we leave an empty line to preserve line numbers).
19054
17752
if test "x$srcdir" = x.; then
19055
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
19056
 
s/:*\$(srcdir):*/:/
19057
 
s/:*\${srcdir}:*/:/
19058
 
s/:*@srcdir@:*/:/
19059
 
s/^\([^=]*=[     ]*\):*/\1/
 
17753
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
17754
h
 
17755
s///
 
17756
s/^/:/
 
17757
s/[      ]*$/:/
 
17758
s/:\$(srcdir):/:/g
 
17759
s/:\${srcdir}:/:/g
 
17760
s/:@srcdir@:/:/g
 
17761
s/^:*//
19060
17762
s/:*$//
 
17763
x
 
17764
s/\(=[   ]*\).*/\1/
 
17765
G
 
17766
s/\n//
19061
17767
s/^[^=]*=[       ]*$//
19062
17768
}'
19063
17769
fi
19069
17775
# No need to generate them if there are no CONFIG_HEADERS.
19070
17776
# This happens for instance with `./config.status Makefile'.
19071
17777
if test -n "$CONFIG_HEADERS"; then
19072
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17778
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19073
17779
BEGIN {
19074
17780
_ACEOF
19075
17781
 
19081
17787
# handling of long lines.
19082
17788
ac_delim='%!_!# '
19083
17789
for ac_last_try in false false :; do
19084
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19085
 
  if test -z "$ac_t"; then
 
17790
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
17791
  if test -z "$ac_tt"; then
19086
17792
    break
19087
17793
  elif $ac_last_try; then
19088
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
19089
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
19090
 
   { (exit 1); exit 1; }; }
 
17794
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19091
17795
  else
19092
17796
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19093
17797
  fi
19172
17876
_ACAWK
19173
17877
_ACEOF
19174
17878
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19175
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19176
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19177
 
   { (exit 1); exit 1; }; }
 
17879
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19178
17880
fi # test -n "$CONFIG_HEADERS"
19179
17881
 
19180
17882
 
19187
17889
  esac
19188
17890
  case $ac_mode$ac_tag in
19189
17891
  :[FHL]*:*);;
19190
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19191
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19192
 
   { (exit 1); exit 1; }; };;
 
17892
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19193
17893
  :[FH]-) ac_tag=-:-;;
19194
17894
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19195
17895
  esac
19208
17908
    for ac_f
19209
17909
    do
19210
17910
      case $ac_f in
19211
 
      -) ac_f="$tmp/stdin";;
 
17911
      -) ac_f="$ac_tmp/stdin";;
19212
17912
      *) # Look for the file first in the build tree, then in the source tree
19213
17913
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
19214
17914
         # because $ac_f cannot contain `:'.
19217
17917
           [\\/$]*) false;;
19218
17918
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19219
17919
           esac ||
19220
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19221
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19222
 
   { (exit 1); exit 1; }; };;
 
17920
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19223
17921
      esac
19224
17922
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19225
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
17923
      as_fn_append ac_file_inputs " '$ac_f'"
19226
17924
    done
19227
17925
 
19228
17926
    # Let's still pretend it is `configure' which instantiates (i.e., don't
19233
17931
        `' by configure.'
19234
17932
    if test x"$ac_file" != x-; then
19235
17933
      configure_input="$ac_file.  $configure_input"
19236
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
17934
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19237
17935
$as_echo "$as_me: creating $ac_file" >&6;}
19238
17936
    fi
19239
17937
    # Neutralize special characters interpreted by sed in replacement strings.
19245
17943
    esac
19246
17944
 
19247
17945
    case $ac_tag in
19248
 
    *:-:* | *:-) cat >"$tmp/stdin" \
19249
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19250
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19251
 
   { (exit 1); exit 1; }; } ;;
 
17946
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
17947
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19252
17948
    esac
19253
17949
    ;;
19254
17950
  esac
19276
17972
            q
19277
17973
          }
19278
17974
          s/.*/./; q'`
19279
 
  { as_dir="$ac_dir"
19280
 
  case $as_dir in #(
19281
 
  -*) as_dir=./$as_dir;;
19282
 
  esac
19283
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19284
 
    as_dirs=
19285
 
    while :; do
19286
 
      case $as_dir in #(
19287
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19288
 
      *) as_qdir=$as_dir;;
19289
 
      esac
19290
 
      as_dirs="'$as_qdir' $as_dirs"
19291
 
      as_dir=`$as_dirname -- "$as_dir" ||
19292
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19293
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19294
 
         X"$as_dir" : 'X\(//\)$' \| \
19295
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19296
 
$as_echo X"$as_dir" |
19297
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19298
 
            s//\1/
19299
 
            q
19300
 
          }
19301
 
          /^X\(\/\/\)[^/].*/{
19302
 
            s//\1/
19303
 
            q
19304
 
          }
19305
 
          /^X\(\/\/\)$/{
19306
 
            s//\1/
19307
 
            q
19308
 
          }
19309
 
          /^X\(\/\).*/{
19310
 
            s//\1/
19311
 
            q
19312
 
          }
19313
 
          s/.*/./; q'`
19314
 
      test -d "$as_dir" && break
19315
 
    done
19316
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19317
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19318
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19319
 
   { (exit 1); exit 1; }; }; }
 
17975
  as_dir="$ac_dir"; as_fn_mkdir_p
19320
17976
  ac_builddir=.
19321
17977
 
19322
17978
case "$ac_dir" in
19373
18029
# If the template does not know about datarootdir, expand it.
19374
18030
# FIXME: This hack should be removed a few years after 2.60.
19375
18031
ac_datarootdir_hack=; ac_datarootdir_seen=
19376
 
 
19377
18032
ac_sed_dataroot='
19378
18033
/datarootdir/ {
19379
18034
  p
19383
18038
/@docdir@/p
19384
18039
/@infodir@/p
19385
18040
/@localedir@/p
19386
 
/@mandir@/p
19387
 
'
 
18041
/@mandir@/p'
19388
18042
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19389
18043
*datarootdir*) ac_datarootdir_seen=yes;;
19390
18044
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19391
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18045
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19392
18046
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19393
18047
_ACEOF
19394
18048
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19398
18052
  s&@infodir@&$infodir&g
19399
18053
  s&@localedir@&$localedir&g
19400
18054
  s&@mandir@&$mandir&g
19401
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
18055
  s&\\\${datarootdir}&$datarootdir&g' ;;
19402
18056
esac
19403
18057
_ACEOF
19404
18058
 
19426
18080
s&@MKDIR_P@&$ac_MKDIR_P&;t t
19427
18081
$ac_datarootdir_hack
19428
18082
"
19429
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19430
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19431
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19432
 
   { (exit 1); exit 1; }; }
 
18083
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
18084
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19433
18085
 
19434
18086
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19435
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19436
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19437
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19438
 
which seems to be undefined.  Please make sure it is defined." >&5
 
18087
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
18088
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
18089
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
18090
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18091
which seems to be undefined.  Please make sure it is defined" >&5
19439
18092
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19440
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
18093
which seems to be undefined.  Please make sure it is defined" >&2;}
19441
18094
 
19442
 
  rm -f "$tmp/stdin"
 
18095
  rm -f "$ac_tmp/stdin"
19443
18096
  case $ac_file in
19444
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
19445
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
18097
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
18098
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19446
18099
  esac \
19447
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19448
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19449
 
   { (exit 1); exit 1; }; }
 
18100
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19450
18101
 ;;
19451
18102
  :H)
19452
18103
  #
19455
18106
  if test x"$ac_file" != x-; then
19456
18107
    {
19457
18108
      $as_echo "/* $configure_input  */" \
19458
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19459
 
    } >"$tmp/config.h" \
19460
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19461
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19462
 
   { (exit 1); exit 1; }; }
19463
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19464
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18109
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
18110
    } >"$ac_tmp/config.h" \
 
18111
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
18112
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
18113
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19465
18114
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19466
18115
    else
19467
18116
      rm -f "$ac_file"
19468
 
      mv "$tmp/config.h" "$ac_file" \
19469
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19470
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19471
 
   { (exit 1); exit 1; }; }
 
18117
      mv "$ac_tmp/config.h" "$ac_file" \
 
18118
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19472
18119
    fi
19473
18120
  else
19474
18121
    $as_echo "/* $configure_input  */" \
19475
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19476
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19477
 
$as_echo "$as_me: error: could not create -" >&2;}
19478
 
   { (exit 1); exit 1; }; }
 
18122
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
18123
      || as_fn_error $? "could not create -" "$LINENO" 5
19479
18124
  fi
19480
18125
# Compute "$ac_file"'s index in $config_headers.
19481
18126
_am_arg="$ac_file"
19513
18158
          s/.*/./; q'`/stamp-h$_am_stamp_count
19514
18159
 ;;
19515
18160
 
19516
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18161
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19517
18162
$as_echo "$as_me: executing $ac_file commands" >&6;}
19518
18163
 ;;
19519
18164
  esac
19520
18165
 
19521
18166
 
19522
18167
  case $ac_file$ac_mode in
19523
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
19524
 
# are listed without --file.  Let's play safe and only enable the eval
19525
 
# if we detect the quoting.
19526
 
case $CONFIG_FILES in
19527
 
*\'*) eval set x "$CONFIG_FILES" ;;
19528
 
*)   set x $CONFIG_FILES ;;
19529
 
esac
19530
 
shift
19531
 
for mf
19532
 
do
19533
 
  # Strip MF so we end up with the name of the file.
19534
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
19535
 
  # Check whether this is an Automake generated Makefile or not.
19536
 
  # We used to match only the files named `Makefile.in', but
19537
 
  # some people rename them; so instead we look at the file content.
19538
 
  # Grep'ing the first line is not enough: some people post-process
19539
 
  # each Makefile.in and add a new line on top of each file to say so.
19540
 
  # Grep'ing the whole file is not good either: AIX grep has a line
19541
 
  # limit of 2048, but all sed's we know have understand at least 4000.
19542
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19543
 
    dirpart=`$as_dirname -- "$mf" ||
 
18168
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
18169
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
18170
  # are listed without --file.  Let's play safe and only enable the eval
 
18171
  # if we detect the quoting.
 
18172
  case $CONFIG_FILES in
 
18173
  *\'*) eval set x "$CONFIG_FILES" ;;
 
18174
  *)   set x $CONFIG_FILES ;;
 
18175
  esac
 
18176
  shift
 
18177
  for mf
 
18178
  do
 
18179
    # Strip MF so we end up with the name of the file.
 
18180
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
18181
    # Check whether this is an Automake generated Makefile or not.
 
18182
    # We used to match only the files named `Makefile.in', but
 
18183
    # some people rename them; so instead we look at the file content.
 
18184
    # Grep'ing the first line is not enough: some people post-process
 
18185
    # each Makefile.in and add a new line on top of each file to say so.
 
18186
    # Grep'ing the whole file is not good either: AIX grep has a line
 
18187
    # limit of 2048, but all sed's we know have understand at least 4000.
 
18188
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
18189
      dirpart=`$as_dirname -- "$mf" ||
19544
18190
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19545
18191
         X"$mf" : 'X\(//\)[^/]' \| \
19546
18192
         X"$mf" : 'X\(//\)$' \| \
19563
18209
            q
19564
18210
          }
19565
18211
          s/.*/./; q'`
19566
 
  else
19567
 
    continue
19568
 
  fi
19569
 
  # Extract the definition of DEPDIR, am__include, and am__quote
19570
 
  # from the Makefile without running `make'.
19571
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19572
 
  test -z "$DEPDIR" && continue
19573
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
19574
 
  test -z "am__include" && continue
19575
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19576
 
  # When using ansi2knr, U may be empty or an underscore; expand it
19577
 
  U=`sed -n 's/^U = //p' < "$mf"`
19578
 
  # Find all dependency output files, they are included files with
19579
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
19580
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
19581
 
  # expansion.
19582
 
  for file in `sed -n "
19583
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19584
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19585
 
    # Make sure the directory exists.
19586
 
    test -f "$dirpart/$file" && continue
19587
 
    fdir=`$as_dirname -- "$file" ||
 
18212
    else
 
18213
      continue
 
18214
    fi
 
18215
    # Extract the definition of DEPDIR, am__include, and am__quote
 
18216
    # from the Makefile without running `make'.
 
18217
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
18218
    test -z "$DEPDIR" && continue
 
18219
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
18220
    test -z "am__include" && continue
 
18221
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
18222
    # When using ansi2knr, U may be empty or an underscore; expand it
 
18223
    U=`sed -n 's/^U = //p' < "$mf"`
 
18224
    # Find all dependency output files, they are included files with
 
18225
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
18226
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
18227
    # expansion.
 
18228
    for file in `sed -n "
 
18229
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
18230
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
18231
      # Make sure the directory exists.
 
18232
      test -f "$dirpart/$file" && continue
 
18233
      fdir=`$as_dirname -- "$file" ||
19588
18234
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19589
18235
         X"$file" : 'X\(//\)[^/]' \| \
19590
18236
         X"$file" : 'X\(//\)$' \| \
19607
18253
            q
19608
18254
          }
19609
18255
          s/.*/./; q'`
19610
 
    { as_dir=$dirpart/$fdir
19611
 
  case $as_dir in #(
19612
 
  -*) as_dir=./$as_dir;;
19613
 
  esac
19614
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19615
 
    as_dirs=
19616
 
    while :; do
19617
 
      case $as_dir in #(
19618
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19619
 
      *) as_qdir=$as_dir;;
19620
 
      esac
19621
 
      as_dirs="'$as_qdir' $as_dirs"
19622
 
      as_dir=`$as_dirname -- "$as_dir" ||
19623
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19624
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19625
 
         X"$as_dir" : 'X\(//\)$' \| \
19626
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19627
 
$as_echo X"$as_dir" |
19628
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19629
 
            s//\1/
19630
 
            q
19631
 
          }
19632
 
          /^X\(\/\/\)[^/].*/{
19633
 
            s//\1/
19634
 
            q
19635
 
          }
19636
 
          /^X\(\/\/\)$/{
19637
 
            s//\1/
19638
 
            q
19639
 
          }
19640
 
          /^X\(\/\).*/{
19641
 
            s//\1/
19642
 
            q
19643
 
          }
19644
 
          s/.*/./; q'`
19645
 
      test -d "$as_dir" && break
 
18256
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
18257
      # echo "creating $dirpart/$file"
 
18258
      echo '# dummy' > "$dirpart/$file"
19646
18259
    done
19647
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19648
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19649
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19650
 
   { (exit 1); exit 1; }; }; }
19651
 
    # echo "creating $dirpart/$file"
19652
 
    echo '# dummy' > "$dirpart/$file"
19653
18260
  done
19654
 
done
 
18261
}
19655
18262
 ;;
19656
18263
    "libtool":C)
19657
18264
 
19674
18281
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19675
18282
#
19676
18283
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19677
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
18284
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
18285
#                 Inc.
19678
18286
#   Written by Gordon Matzigkeit, 1996
19679
18287
#
19680
18288
#   This file is part of GNU Libtool.
19722
18330
# Whether or not to optimize for fast installation.
19723
18331
fast_install=$enable_fast_install
19724
18332
 
 
18333
# Shell to use when invoking shell scripts.
 
18334
SHELL=$lt_SHELL
 
18335
 
 
18336
# An echo program that protects backslashes.
 
18337
ECHO=$lt_ECHO
 
18338
 
19725
18339
# The host system.
19726
18340
host_alias=$host_alias
19727
18341
host=$host
19771
18385
# turn newlines into spaces.
19772
18386
NL2SP=$lt_lt_NL2SP
19773
18387
 
19774
 
# How to create reloadable object files.
19775
 
reload_flag=$lt_reload_flag
19776
 
reload_cmds=$lt_reload_cmds
 
18388
# convert \$build file names to \$host format.
 
18389
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
18390
 
 
18391
# convert \$build files to toolchain format.
 
18392
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19777
18393
 
19778
18394
# An object symbol dumper.
19779
18395
OBJDUMP=$lt_OBJDUMP
19781
18397
# Method to check whether dependent libraries are shared objects.
19782
18398
deplibs_check_method=$lt_deplibs_check_method
19783
18399
 
19784
 
# Command to use when deplibs_check_method == "file_magic".
 
18400
# Command to use when deplibs_check_method = "file_magic".
19785
18401
file_magic_cmd=$lt_file_magic_cmd
19786
18402
 
 
18403
# How to find potential files when deplibs_check_method = "file_magic".
 
18404
file_magic_glob=$lt_file_magic_glob
 
18405
 
 
18406
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
18407
want_nocaseglob=$lt_want_nocaseglob
 
18408
 
 
18409
# DLL creation program.
 
18410
DLLTOOL=$lt_DLLTOOL
 
18411
 
 
18412
# Command to associate shared and link libraries.
 
18413
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
18414
 
19787
18415
# The archiver.
19788
18416
AR=$lt_AR
 
18417
 
 
18418
# Flags to create an archive.
19789
18419
AR_FLAGS=$lt_AR_FLAGS
19790
18420
 
 
18421
# How to feed a file listing to the archiver.
 
18422
archiver_list_spec=$lt_archiver_list_spec
 
18423
 
19791
18424
# A symbol stripping program.
19792
18425
STRIP=$lt_STRIP
19793
18426
 
19796
18429
old_postinstall_cmds=$lt_old_postinstall_cmds
19797
18430
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19798
18431
 
 
18432
# Whether to use a lock for old archive extraction.
 
18433
lock_old_archive_extraction=$lock_old_archive_extraction
 
18434
 
19799
18435
# A C compiler.
19800
18436
LTCC=$lt_CC
19801
18437
 
19814
18450
# Transform the output of nm in a C name address pair when lib prefix is needed.
19815
18451
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19816
18452
 
 
18453
# Specify filename containing input files for \$NM.
 
18454
nm_file_list_spec=$lt_nm_file_list_spec
 
18455
 
 
18456
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
18457
lt_sysroot=$lt_sysroot
 
18458
 
19817
18459
# The name of the directory that contains temporary libtool files.
19818
18460
objdir=$objdir
19819
18461
 
19820
 
# Shell to use when invoking shell scripts.
19821
 
SHELL=$lt_SHELL
19822
 
 
19823
 
# An echo program that does not interpret backslashes.
19824
 
ECHO=$lt_ECHO
19825
 
 
19826
18462
# Used to examine libraries when file_magic_cmd begins with "file".
19827
18463
MAGIC_CMD=$MAGIC_CMD
19828
18464
 
19829
18465
# Must we lock files when doing compilation?
19830
18466
need_locks=$lt_need_locks
19831
18467
 
 
18468
# Manifest tool.
 
18469
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
18470
 
19832
18471
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19833
18472
DSYMUTIL=$lt_DSYMUTIL
19834
18473
 
19885
18524
# The coded name of the library, if different from the real name.
19886
18525
soname_spec=$lt_soname_spec
19887
18526
 
 
18527
# Permission mode override for installation of shared libraries.
 
18528
install_override_mode=$lt_install_override_mode
 
18529
 
19888
18530
# Command to use after installation of a shared archive.
19889
18531
postinstall_cmds=$lt_postinstall_cmds
19890
18532
 
19924
18566
# The linker used to build libraries.
19925
18567
LD=$lt_LD
19926
18568
 
 
18569
# How to create reloadable object files.
 
18570
reload_flag=$lt_reload_flag
 
18571
reload_cmds=$lt_reload_cmds
 
18572
 
19927
18573
# Commands used to build an old-style archive.
19928
18574
old_archive_cmds=$lt_old_archive_cmds
19929
18575
 
19936
18582
# Compiler flag to turn off builtin functions.
19937
18583
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19938
18584
 
 
18585
# Additional compiler flags for building library objects.
 
18586
pic_flag=$lt_lt_prog_compiler_pic
 
18587
 
19939
18588
# How to pass a linker flag through the compiler.
19940
18589
wl=$lt_lt_prog_compiler_wl
19941
18590
 
19942
 
# Additional compiler flags for building library objects.
19943
 
pic_flag=$lt_lt_prog_compiler_pic
19944
 
 
19945
18591
# Compiler flag to prevent dynamic linking.
19946
18592
link_static_flag=$lt_lt_prog_compiler_static
19947
18593
 
20028
18674
# Whether libtool must link a program against all its dependency libraries.
20029
18675
link_all_deplibs=$link_all_deplibs
20030
18676
 
20031
 
# Fix the shell variable \$srcfile for the compiler.
20032
 
fix_srcfile_path=$lt_fix_srcfile_path
20033
 
 
20034
18677
# Set to "yes" if exported symbols are required.
20035
18678
always_export_symbols=$always_export_symbols
20036
18679
 
20046
18689
# Commands necessary for linking programs (against libraries) with templates.
20047
18690
prelink_cmds=$lt_prelink_cmds
20048
18691
 
 
18692
# Commands necessary for finishing linking programs.
 
18693
postlink_cmds=$lt_postlink_cmds
 
18694
 
20049
18695
# Specify filename containing input files.
20050
18696
file_list_spec=$lt_file_list_spec
20051
18697
 
20092
18738
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20093
18739
  # text mode, it properly converts lines to CR/LF.  This bash problem
20094
18740
  # is reportedly fixed, but why not run on old versions too?
20095
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20096
 
    || (rm -f "$cfgfile"; exit 1)
20097
 
 
20098
 
  case $xsi_shell in
20099
 
  yes)
20100
 
    cat << \_LT_EOF >> "$cfgfile"
20101
 
 
20102
 
# func_dirname file append nondir_replacement
20103
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20104
 
# otherwise set result to NONDIR_REPLACEMENT.
20105
 
func_dirname ()
20106
 
{
20107
 
  case ${1} in
20108
 
    */*) func_dirname_result="${1%/*}${2}" ;;
20109
 
    *  ) func_dirname_result="${3}" ;;
20110
 
  esac
20111
 
}
20112
 
 
20113
 
# func_basename file
20114
 
func_basename ()
20115
 
{
20116
 
  func_basename_result="${1##*/}"
20117
 
}
20118
 
 
20119
 
# func_dirname_and_basename file append nondir_replacement
20120
 
# perform func_basename and func_dirname in a single function
20121
 
# call:
20122
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
20123
 
#             add APPEND to the result, otherwise set result
20124
 
#             to NONDIR_REPLACEMENT.
20125
 
#             value returned in "$func_dirname_result"
20126
 
#   basename: Compute filename of FILE.
20127
 
#             value retuned in "$func_basename_result"
20128
 
# Implementation must be kept synchronized with func_dirname
20129
 
# and func_basename. For efficiency, we do not delegate to
20130
 
# those functions but instead duplicate the functionality here.
20131
 
func_dirname_and_basename ()
20132
 
{
20133
 
  case ${1} in
20134
 
    */*) func_dirname_result="${1%/*}${2}" ;;
20135
 
    *  ) func_dirname_result="${3}" ;;
20136
 
  esac
20137
 
  func_basename_result="${1##*/}"
20138
 
}
20139
 
 
20140
 
# func_stripname prefix suffix name
20141
 
# strip PREFIX and SUFFIX off of NAME.
20142
 
# PREFIX and SUFFIX must not contain globbing or regex special
20143
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
20144
 
# dot (in which case that matches only a dot).
20145
 
func_stripname ()
20146
 
{
20147
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20148
 
  # positional parameters, so assign one to ordinary parameter first.
20149
 
  func_stripname_result=${3}
20150
 
  func_stripname_result=${func_stripname_result#"${1}"}
20151
 
  func_stripname_result=${func_stripname_result%"${2}"}
20152
 
}
20153
 
 
20154
 
# func_opt_split
20155
 
func_opt_split ()
20156
 
{
20157
 
  func_opt_split_opt=${1%%=*}
20158
 
  func_opt_split_arg=${1#*=}
20159
 
}
20160
 
 
20161
 
# func_lo2o object
20162
 
func_lo2o ()
20163
 
{
20164
 
  case ${1} in
20165
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20166
 
    *)    func_lo2o_result=${1} ;;
20167
 
  esac
20168
 
}
20169
 
 
20170
 
# func_xform libobj-or-source
20171
 
func_xform ()
20172
 
{
20173
 
  func_xform_result=${1%.*}.lo
20174
 
}
20175
 
 
20176
 
# func_arith arithmetic-term...
20177
 
func_arith ()
20178
 
{
20179
 
  func_arith_result=$(( $* ))
20180
 
}
20181
 
 
20182
 
# func_len string
20183
 
# STRING may not start with a hyphen.
20184
 
func_len ()
20185
 
{
20186
 
  func_len_result=${#1}
20187
 
}
20188
 
 
20189
 
_LT_EOF
20190
 
    ;;
20191
 
  *) # Bourne compatible functions.
20192
 
    cat << \_LT_EOF >> "$cfgfile"
20193
 
 
20194
 
# func_dirname file append nondir_replacement
20195
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20196
 
# otherwise set result to NONDIR_REPLACEMENT.
20197
 
func_dirname ()
20198
 
{
20199
 
  # Extract subdirectory from the argument.
20200
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20201
 
  if test "X$func_dirname_result" = "X${1}"; then
20202
 
    func_dirname_result="${3}"
20203
 
  else
20204
 
    func_dirname_result="$func_dirname_result${2}"
20205
 
  fi
20206
 
}
20207
 
 
20208
 
# func_basename file
20209
 
func_basename ()
20210
 
{
20211
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20212
 
}
20213
 
 
20214
 
 
20215
 
# func_stripname prefix suffix name
20216
 
# strip PREFIX and SUFFIX off of NAME.
20217
 
# PREFIX and SUFFIX must not contain globbing or regex special
20218
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
20219
 
# dot (in which case that matches only a dot).
20220
 
# func_strip_suffix prefix name
20221
 
func_stripname ()
20222
 
{
20223
 
  case ${2} in
20224
 
    .*) func_stripname_result=`$ECHO "X${3}" \
20225
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20226
 
    *)  func_stripname_result=`$ECHO "X${3}" \
20227
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20228
 
  esac
20229
 
}
20230
 
 
20231
 
# sed scripts:
20232
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20233
 
my_sed_long_arg='1s/^-[^=]*=//'
20234
 
 
20235
 
# func_opt_split
20236
 
func_opt_split ()
20237
 
{
20238
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20239
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20240
 
}
20241
 
 
20242
 
# func_lo2o object
20243
 
func_lo2o ()
20244
 
{
20245
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20246
 
}
20247
 
 
20248
 
# func_xform libobj-or-source
20249
 
func_xform ()
20250
 
{
20251
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20252
 
}
20253
 
 
20254
 
# func_arith arithmetic-term...
20255
 
func_arith ()
20256
 
{
20257
 
  func_arith_result=`expr "$@"`
20258
 
}
20259
 
 
20260
 
# func_len string
20261
 
# STRING may not start with a hyphen.
20262
 
func_len ()
20263
 
{
20264
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20265
 
}
20266
 
 
20267
 
_LT_EOF
20268
 
esac
20269
 
 
20270
 
case $lt_shell_append in
20271
 
  yes)
20272
 
    cat << \_LT_EOF >> "$cfgfile"
20273
 
 
20274
 
# func_append var value
20275
 
# Append VALUE to the end of shell variable VAR.
20276
 
func_append ()
20277
 
{
20278
 
  eval "$1+=\$2"
20279
 
}
20280
 
_LT_EOF
20281
 
    ;;
20282
 
  *)
20283
 
    cat << \_LT_EOF >> "$cfgfile"
20284
 
 
20285
 
# func_append var value
20286
 
# Append VALUE to the end of shell variable VAR.
20287
 
func_append ()
20288
 
{
20289
 
  eval "$1=\$$1\$2"
20290
 
}
20291
 
 
20292
 
_LT_EOF
20293
 
    ;;
20294
 
  esac
20295
 
 
20296
 
 
20297
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20298
 
    || (rm -f "$cfgfile"; exit 1)
20299
 
 
20300
 
  mv -f "$cfgfile" "$ofile" ||
 
18741
  sed '$q' "$ltmain" >> "$cfgfile" \
 
18742
     || (rm -f "$cfgfile"; exit 1)
 
18743
 
 
18744
  if test x"$xsi_shell" = xyes; then
 
18745
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
18746
func_dirname ()\
 
18747
{\
 
18748
\    case ${1} in\
 
18749
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18750
\      *  ) func_dirname_result="${3}" ;;\
 
18751
\    esac\
 
18752
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
18753
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18754
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18755
test 0 -eq $? || _lt_function_replace_fail=:
 
18756
 
 
18757
 
 
18758
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
18759
func_basename ()\
 
18760
{\
 
18761
\    func_basename_result="${1##*/}"\
 
18762
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18763
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18764
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18765
test 0 -eq $? || _lt_function_replace_fail=:
 
18766
 
 
18767
 
 
18768
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
18769
func_dirname_and_basename ()\
 
18770
{\
 
18771
\    case ${1} in\
 
18772
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18773
\      *  ) func_dirname_result="${3}" ;;\
 
18774
\    esac\
 
18775
\    func_basename_result="${1##*/}"\
 
18776
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18777
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18778
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18779
test 0 -eq $? || _lt_function_replace_fail=:
 
18780
 
 
18781
 
 
18782
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
18783
func_stripname ()\
 
18784
{\
 
18785
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
18786
\    # positional parameters, so assign one to ordinary parameter first.\
 
18787
\    func_stripname_result=${3}\
 
18788
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
18789
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
18790
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
18791
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18792
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18793
test 0 -eq $? || _lt_function_replace_fail=:
 
18794
 
 
18795
 
 
18796
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
18797
func_split_long_opt ()\
 
18798
{\
 
18799
\    func_split_long_opt_name=${1%%=*}\
 
18800
\    func_split_long_opt_arg=${1#*=}\
 
18801
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18802
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18803
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18804
test 0 -eq $? || _lt_function_replace_fail=:
 
18805
 
 
18806
 
 
18807
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
18808
func_split_short_opt ()\
 
18809
{\
 
18810
\    func_split_short_opt_arg=${1#??}\
 
18811
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
18812
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18813
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18814
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18815
test 0 -eq $? || _lt_function_replace_fail=:
 
18816
 
 
18817
 
 
18818
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
18819
func_lo2o ()\
 
18820
{\
 
18821
\    case ${1} in\
 
18822
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
18823
\      *)    func_lo2o_result=${1} ;;\
 
18824
\    esac\
 
18825
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
18826
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18827
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18828
test 0 -eq $? || _lt_function_replace_fail=:
 
18829
 
 
18830
 
 
18831
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
18832
func_xform ()\
 
18833
{\
 
18834
    func_xform_result=${1%.*}.lo\
 
18835
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
18836
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18837
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18838
test 0 -eq $? || _lt_function_replace_fail=:
 
18839
 
 
18840
 
 
18841
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
18842
func_arith ()\
 
18843
{\
 
18844
    func_arith_result=$(( $* ))\
 
18845
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
18846
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18847
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18848
test 0 -eq $? || _lt_function_replace_fail=:
 
18849
 
 
18850
 
 
18851
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
18852
func_len ()\
 
18853
{\
 
18854
    func_len_result=${#1}\
 
18855
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
18856
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18857
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18858
test 0 -eq $? || _lt_function_replace_fail=:
 
18859
 
 
18860
fi
 
18861
 
 
18862
if test x"$lt_shell_append" = xyes; then
 
18863
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
18864
func_append ()\
 
18865
{\
 
18866
    eval "${1}+=\\${2}"\
 
18867
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
18868
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18869
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18870
test 0 -eq $? || _lt_function_replace_fail=:
 
18871
 
 
18872
 
 
18873
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
18874
func_append_quoted ()\
 
18875
{\
 
18876
\    func_quote_for_eval "${2}"\
 
18877
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
18878
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
18879
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18880
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18881
test 0 -eq $? || _lt_function_replace_fail=:
 
18882
 
 
18883
 
 
18884
  # Save a `func_append' function call where possible by direct use of '+='
 
18885
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
18886
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18887
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18888
  test 0 -eq $? || _lt_function_replace_fail=:
 
18889
else
 
18890
  # Save a `func_append' function call even when '+=' is not available
 
18891
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
18892
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18893
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18894
  test 0 -eq $? || _lt_function_replace_fail=:
 
18895
fi
 
18896
 
 
18897
if test x"$_lt_function_replace_fail" = x":"; then
 
18898
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
18899
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
18900
fi
 
18901
 
 
18902
 
 
18903
   mv -f "$cfgfile" "$ofile" ||
20301
18904
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20302
18905
  chmod +x "$ofile"
20303
18906
 
20309
18912
# The linker used to build libraries.
20310
18913
LD=$lt_LD_CXX
20311
18914
 
 
18915
# How to create reloadable object files.
 
18916
reload_flag=$lt_reload_flag_CXX
 
18917
reload_cmds=$lt_reload_cmds_CXX
 
18918
 
20312
18919
# Commands used to build an old-style archive.
20313
18920
old_archive_cmds=$lt_old_archive_cmds_CXX
20314
18921
 
20321
18928
# Compiler flag to turn off builtin functions.
20322
18929
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20323
18930
 
 
18931
# Additional compiler flags for building library objects.
 
18932
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
18933
 
20324
18934
# How to pass a linker flag through the compiler.
20325
18935
wl=$lt_lt_prog_compiler_wl_CXX
20326
18936
 
20327
 
# Additional compiler flags for building library objects.
20328
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
20329
 
 
20330
18937
# Compiler flag to prevent dynamic linking.
20331
18938
link_static_flag=$lt_lt_prog_compiler_static_CXX
20332
18939
 
20413
19020
# Whether libtool must link a program against all its dependency libraries.
20414
19021
link_all_deplibs=$link_all_deplibs_CXX
20415
19022
 
20416
 
# Fix the shell variable \$srcfile for the compiler.
20417
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
20418
 
 
20419
19023
# Set to "yes" if exported symbols are required.
20420
19024
always_export_symbols=$always_export_symbols_CXX
20421
19025
 
20431
19035
# Commands necessary for linking programs (against libraries) with templates.
20432
19036
prelink_cmds=$lt_prelink_cmds_CXX
20433
19037
 
 
19038
# Commands necessary for finishing linking programs.
 
19039
postlink_cmds=$lt_postlink_cmds_CXX
 
19040
 
20434
19041
# Specify filename containing input files.
20435
19042
file_list_spec=$lt_file_list_spec_CXX
20436
19043
 
20460
19067
done # for ac_tag
20461
19068
 
20462
19069
 
20463
 
{ (exit 0); exit 0; }
 
19070
as_fn_exit 0
20464
19071
_ACEOF
20465
 
chmod +x $CONFIG_STATUS
20466
19072
ac_clean_files=$ac_clean_files_save
20467
19073
 
20468
19074
test $ac_write_fail = 0 ||
20469
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20470
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20471
 
   { (exit 1); exit 1; }; }
 
19075
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20472
19076
 
20473
19077
 
20474
19078
# configure is writing to config.log, and then calls config.status.
20489
19093
  exec 5>>config.log
20490
19094
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20491
19095
  # would make configure fail if this is the last instruction.
20492
 
  $ac_cs_success || { (exit 1); exit 1; }
 
19096
  $ac_cs_success || as_fn_exit 1
20493
19097
fi
20494
19098
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20495
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19099
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20496
19100
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20497
19101
fi
20498
19102